/**
 * @file
 * FlexyWEB theme styles.
 *
 * Modernised version of the original www.flexyweb.cz design: red header,
 * blue hero banner, dark tools bar, content with a right sidebar and a dark
 * footer. Layout relies on the Bootstrap 5 grid of the bootstrap5 base theme.
 */

:root {
  --fw-red: #c40607;
  --fw-red-bright: #e40205;
  --fw-red-dark: #6e0000;
  --fw-blue: #004c79;
  --fw-blue-light: #1aa3d6;
  --fw-blue-dark: #003048;
  --fw-heading: #2a3338;
  --fw-text: #3d464c;
  --fw-muted: #6b757b;
  --fw-border: #e3e7ea;
  --fw-surface: #f4f6f8;
  --fw-radius: 0.6rem;
  --fw-shadow: 0 0.35rem 1.25rem rgba(0, 30, 50, 0.08);
  --bs-link-color: var(--fw-red);
  --bs-link-color-rgb: 196, 6, 7;
  --bs-link-hover-color: var(--fw-red-dark);
  --bs-link-hover-color-rgb: 110, 0, 0;
}

body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  margin: 0;
  color: var(--fw-text);
  background: #fff;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 1rem;
  line-height: 1.65;
}
.dialog-off-canvas-main-canvas {
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}
h1, h2, h3, h4, h5, h6 {
  color: var(--fw-heading);
  font-weight: 600;
  line-height: 1.25;
}
a {
  color: var(--fw-red);
  text-underline-offset: 0.15em;
}
a:hover,
a:focus {
  color: var(--fw-red-dark);
}

/* == Header == */
.fw-header {
  position: relative;
  z-index: 10;
  background: linear-gradient(180deg, var(--fw-red-dark) 0%, #a50204 55%, var(--fw-red) 100%);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.18);
}
.fw-header__inner {
  min-height: 5rem;
}
.fw-header .block {
  margin: 0;
}
.fw-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.75rem 0;
  margin: 0;
  color: #fff;
  text-decoration: none;
}
.fw-brand:hover,
.fw-brand:focus {
  color: #fff;
}
.fw-brand__arrow {
  flex: 0 0 auto;
  color: rgba(255, 255, 255, 0.85);
  transition: transform 0.2s ease;
}
.fw-brand:hover .fw-brand__arrow {
  transform: translate(2px, 2px);
}
.fw-brand__text {
  display: flex;
  flex-direction: column;
  line-height: 1;
}
.fw-brand__name {
  font-size: 1.9rem;
  font-weight: 400;
  letter-spacing: 0.04em;
}
.fw-brand__name strong {
  font-weight: 800;
}
.fw-brand__slogan {
  margin-top: 0.3rem;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-align: right;
  opacity: 0.9;
}
.fw-header__toggler {
  border-color: rgba(255, 255, 255, 0.45);
}
.fw-header__toggler:focus {
  box-shadow: 0 0 0 0.2rem rgba(255, 255, 255, 0.35);
}
.fw-mainnav .navbar-nav {
  gap: 0.25rem;
}
.fw-mainnav .nav-link {
  position: relative;
  padding: 0.6rem 1rem !important;
  color: #fff !important;
  font-weight: 600;
  border-radius: 999px;
  transition: background-color 0.15s ease;
}
.fw-mainnav .nav-link:hover,
.fw-mainnav .nav-link:focus {
  background: rgba(255, 255, 255, 0.14);
}
.fw-mainnav .nav-link.active,
.fw-mainnav .nav-link.is-active {
  background: rgba(0, 0, 0, 0.22);
}

/* == Hero banner == */
.fw-hero {
  position: relative;
  overflow: hidden;
  color: #fff;
  background: linear-gradient(100deg, var(--fw-blue-dark) 0%, var(--fw-blue) 45%, #0a7fb3 75%, var(--fw-blue-light) 100%);
}
.fw-hero::after {
  content: "";
  position: absolute;
  inset: 0 0 0 auto;
  width: min(60%, 640px);
  background: url("../images/hero-globe.jpg") right center / cover no-repeat;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 45%);
  mask-image: linear-gradient(90deg, transparent 0%, #000 45%);
  opacity: 0.9;
  pointer-events: none;
}
.fw-hero__inner {
  position: relative;
  z-index: 1;
  padding-top: 1.4rem;
  padding-bottom: 1.4rem;
}
.fw-hero__text {
  max-width: 36rem;
}
.fw-hero__title {
  margin: 0 0 0.5rem;
  color: #fff;
  font-size: clamp(1.7rem, 1.2rem + 2vw, 2.6rem);
  font-weight: 700;
}
.fw-hero__title--small {
  font-size: 1.25rem;
}
.fw-hero__title--small::before {
  content: "";
  display: inline-block;
  width: 0.8em;
  height: 0.8em;
  margin-right: 0.45rem;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23e40205' d='M5.3 3.9 3.9 5.3l11.3 11.3H8v2h10.6V8h-2v7.2z'/%3E%3C/svg%3E") center / contain no-repeat;
  vertical-align: -0.05em;
}
.fw-hero__lead {
  color: rgba(255, 255, 255, 0.88);
}
.fw-hero--front .fw-hero__inner {
  padding-top: 3.5rem;
  padding-bottom: 3.5rem;
}
.fw-hero--front .fw-hero__lead {
  margin-bottom: 1.5rem;
  font-size: 1.1rem;
}
.fw-hero__eyebrow {
  margin-bottom: 0.5rem;
  color: #9fdcf3;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.fw-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}
.fw-btn {
  padding: 0.65rem 1.4rem;
  font-weight: 600;
  border-radius: 999px;
}
.fw-btn--primary {
  color: #fff;
  background: var(--fw-red-bright);
  border: 2px solid var(--fw-red-bright);
}
.fw-btn--primary:hover,
.fw-btn--primary:focus {
  color: #fff;
  background: var(--fw-red-dark);
  border-color: var(--fw-red-dark);
}
.fw-btn--ghost {
  color: #fff;
  background: transparent;
  border: 2px solid rgba(255, 255, 255, 0.7);
}
.fw-btn--ghost:hover,
.fw-btn--ghost:focus {
  color: var(--fw-blue);
  background: #fff;
  border-color: #fff;
}

/* == Tools bar (tagline, search, sitemap, print) == */
.fw-tools {
  padding: 0.55rem 0;
  color: #fff;
  background: var(--fw-blue-dark);
  font-size: 0.92rem;
}
.fw-tools__tagline a {
  color: #fff;
  font-weight: 600;
}
.fw-tools__tagline a:hover,
.fw-tools__tagline a:focus {
  color: #9fdcf3;
}
.fw-tools .block {
  margin: 0;
}
.fw-tools__search form,
.fw-tools__search .form-actions,
.fw-tools__search .js-form-item {
  display: flex;
  align-items: center;
  margin: 0;
}
.fw-tools__search .form-control {
  width: 200px;
  max-width: 100%;
  height: 2rem;
  padding: 0.2rem 0.75rem;
  font-size: 0.9rem;
  color: #fff;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 999px;
}
.fw-tools__search .form-control::placeholder {
  color: rgba(255, 255, 255, 0.7);
}
.fw-tools__search .form-control:focus {
  color: var(--fw-text);
  background: #fff;
  border-color: #fff;
  box-shadow: 0 0 0 0.2rem rgba(26, 163, 214, 0.45);
}
.fw-tools__search .form-control:focus::placeholder {
  color: var(--fw-muted);
}
/* Icon-only submit; the "Hledat" text stays for screen readers. */
.fw-tools__search .fw-search-submit {
  width: 2rem;
  height: 2rem;
  margin: 0 0 0 0.25rem;
  padding: 0;
  overflow: hidden;
  color: transparent;
  font-size: 0;
  border: 0;
  background: transparent url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23ffffff'%3E%3Cpath d='M11.742 10.344a6.5 6.5 0 1 0-1.397 1.398h-.001c.03.04.062.078.098.115l3.85 3.85a1 1 0 0 0 1.415-1.414l-3.85-3.85a1.007 1.007 0 0 0-.115-.1zM12 6.5a5.5 5.5 0 1 1-11 0 5.5 5.5 0 0 1 11 0z'/%3E%3C/svg%3E") center / 17px no-repeat;
  cursor: pointer;
}
.fw-tools__search .fw-search-submit:hover,
.fw-tools__search .fw-search-submit:focus {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%239fdcf3'%3E%3Cpath d='M11.742 10.344a6.5 6.5 0 1 0-1.397 1.398h-.001c.03.04.062.078.098.115l3.85 3.85a1 1 0 0 0 1.415-1.414l-3.85-3.85a1.007 1.007 0 0 0-.115-.1zM12 6.5a5.5 5.5 0 1 1-11 0 5.5 5.5 0 0 1 11 0z'/%3E%3C/svg%3E");
}
.fw-tools__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  padding: 0;
  color: #fff;
  background: none;
  border: 0;
  border-radius: 50%;
  cursor: pointer;
}
.fw-tools__icon:hover,
.fw-tools__icon:focus {
  color: #fff;
  background: rgba(255, 255, 255, 0.15);
}

/* == Main content == */
.fw-main {
  padding: 2.25rem 0 3rem;
  background: linear-gradient(180deg, var(--fw-surface) 0, #fff 7rem);
}
/* The base theme pads the content region; align it with the page title. */
.fw-content .region-content {
  padding: 0;
}
.fw-content h1,
.fw-content .page-title {
  margin-bottom: 1.25rem;
  font-size: clamp(1.6rem, 1.3rem + 1vw, 2.1rem);
  font-weight: 700;
}
.fw-content h1::after {
  content: "";
  display: block;
  width: 3rem;
  height: 0.25rem;
  margin-top: 0.6rem;
  background: var(--fw-red-bright);
  border-radius: 2px;
}
.fw-content .node__content,
.fw-content .field--name-body {
  overflow-wrap: anywhere;
}
.fw-content .field--name-body h2 {
  margin: 1.75rem 0 0.75rem;
  font-size: 1.35rem;
}
.fw-content .field--name-body ul {
  padding-left: 0;
  list-style: none;
}
.fw-content .field--name-body ul li {
  position: relative;
  margin-bottom: 0.35rem;
  padding-left: 1.6rem;
}
.fw-content .field--name-body ul li::before {
  content: "";
  position: absolute;
  top: 0.45em;
  left: 0;
  width: 1rem;
  height: 1rem;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23c40607'%3E%3Cpath d='M13.485 1.431a1.473 1.473 0 0 1 2.104 2.062l-7.84 9.801a1.473 1.473 0 0 1-2.12.04L.431 8.138a1.473 1.473 0 0 1 2.084-2.083l4.111 4.112 6.82-8.69a.486.486 0 0 1 .04-.045z'/%3E%3C/svg%3E") center / 0.75rem no-repeat;
}
.fw-content img {
  max-width: 100%;
  height: auto;
}
/* Reference cards (built from the legacy table by flexyweb_import). */
.fw-references {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(14rem, 1fr));
  gap: 1.25rem;
  margin: 0.5rem 0 1.5rem;
}
.fw-reference {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--fw-border);
  border-radius: var(--fw-radius);
  box-shadow: var(--fw-shadow);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.fw-reference:hover {
  box-shadow: 0 0.6rem 1.6rem rgba(0, 30, 50, 0.14);
  transform: translateY(-2px);
}
.fw-reference__image {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 9.5rem;
  padding: 0.75rem;
  background: var(--fw-surface);
  border-bottom: 1px solid var(--fw-border);
}
.fw-reference__image img {
  max-height: 100%;
  width: auto !important;
  margin: 0 !important;
  border: 0 !important;
  border-radius: 0.25rem;
  box-shadow: 0 0.15rem 0.5rem rgba(0, 0, 0, 0.12);
}
.fw-reference__text {
  padding: 0.9rem 1rem 0.5rem;
  font-size: 0.92rem;
  line-height: 1.55;
  overflow-wrap: anywhere;
}
.fw-reference__text p {
  margin-bottom: 0.5rem;
}
.fw-reference__text strong {
  color: var(--fw-heading);
}

/* Reference articles listed by the flexyweb_references view (cards by tag). */
.fw-references-view .view-content {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(15rem, 1fr));
  gap: 1.25rem;
}
.fw-references-view .view-content > h3 {
  grid-column: 1 / -1;
  margin: 1.5rem 0 0;
  font-size: 1.4rem;
}
.fw-references-view .view-content > h3:first-child {
  margin-top: 0.5rem;
}
.fw-references-view .fw-reference > * {
  padding: 0 1rem;
}
.fw-references-view .views-field-field-image {
  padding: 0;
  border-bottom: 1px solid var(--fw-border);
}
.fw-references-view .views-field-field-image img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  object-position: top;
}
.fw-references-view .views-field-title h3 {
  margin: 0.9rem 0 0.35rem;
  font-size: 1.05rem;
}
.fw-references-view .views-field-title h3 a {
  color: var(--fw-heading);
  text-decoration: none;
}
.fw-references-view .views-field-title h3 a:hover,
.fw-references-view .views-field-title h3 a:focus {
  color: var(--fw-red);
}
.fw-references-view .views-field-body {
  font-size: 0.92rem;
  line-height: 1.55;
}
.fw-references-view .views-field-body p {
  margin-bottom: 0.5rem;
}
.fw-references-view .views-field-field-odkaz {
  margin-top: auto;
  padding-bottom: 0.9rem;
  font-size: 0.92rem;
  overflow-wrap: anywhere;
}

/* Reference article page. */
.node--type-article .field--name-field-image img {
  display: block;
  max-width: 100%;
  height: auto;
  margin-bottom: 1.25rem;
  border: 1px solid var(--fw-border);
  border-radius: var(--fw-radius);
  box-shadow: var(--fw-shadow);
}
.node--type-article .field--label-inline {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-bottom: 0.4rem;
}
.node--type-article .field--label-inline .field__label {
  font-weight: 600;
}
.node--type-article .field--label-inline .field__label::after {
  content: ":";
}

/* Legacy tables of the same type that were not converted to cards. */
.fw-content table.table-default {
  width: 100% !important;
  border-collapse: separate;
  border-spacing: 0.75rem;
}
.fw-content table.table-default td {
  width: 33.333%;
  padding: 0.25rem 0.5rem !important;
  vertical-align: top;
  font-size: 0.92rem;
}
.fw-content table.table-default td img {
  margin: 0.25rem 0 !important;
  border: 1px solid var(--fw-border) !important;
  border-radius: 0.4rem;
  box-shadow: var(--fw-shadow);
}
.fw-content .breadcrumb {
  margin-bottom: 0.75rem;
  font-size: 0.85rem;
}

/* == Front page: service tiles == */
.fw-featured {
  margin-bottom: 2.5rem;
}
.fw-featured h2 {
  margin-bottom: 1.25rem;
  font-size: 1.6rem;
  text-align: center;
}
.fw-featured ul {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(15rem, 1fr));
  gap: 1rem;
  margin: 0;
  padding: 0;
  list-style: none;
}
.fw-featured li {
  margin: 0;
}
.fw-featured li a {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  height: 100%;
  padding: 1.1rem 1.25rem;
  color: var(--fw-heading);
  font-weight: 600;
  text-decoration: none;
  background: #fff;
  border: 1px solid var(--fw-border);
  border-left: 4px solid var(--fw-red-bright);
  border-radius: var(--fw-radius);
  box-shadow: var(--fw-shadow);
  transition: transform 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease;
}
.fw-featured li a::after {
  content: "→";
  margin-left: auto;
  color: var(--fw-red-bright);
  transition: transform 0.15s ease;
}
.fw-featured li a:hover,
.fw-featured li a:focus {
  border-left-color: var(--fw-blue);
  box-shadow: 0 0.6rem 1.6rem rgba(0, 30, 50, 0.14);
  transform: translateY(-2px);
}
.fw-featured li a:hover::after {
  transform: translateX(3px);
}

/* == Sidebar == */
/* Menu blocks render as <nav> without the "block" class. */
.fw-sidebar .region > .block,
.fw-sidebar .region > nav {
  margin-bottom: 1.5rem;
  padding: 1.25rem 1.25rem 1rem;
  background: #fff;
  border: 1px solid var(--fw-border);
  border-radius: var(--fw-radius);
  box-shadow: var(--fw-shadow);
}
.fw-sidebar h2 {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.85rem;
  font-size: 1.2rem;
}
.fw-sidebar h2::before {
  content: "";
  flex: 0 0 auto;
  width: 1.1rem;
  height: 1.1rem;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23e40205' d='M5.3 3.9 3.9 5.3l11.3 11.3H8v2h10.6V8h-2v7.2z'/%3E%3C/svg%3E") center / contain no-repeat;
}
.fw-sidebar ul {
  margin: 0;
  padding: 0;
  list-style: none;
}
.fw-sidebar li {
  margin: 0;
  border-top: 1px solid var(--fw-border);
}
.fw-sidebar li:first-child {
  border-top: 0;
}
.fw-sidebar li a,
.fw-sidebar .navbar-nav .nav-link {
  display: block;
  padding: 0.45rem 0 0.45rem 1.4rem;
  color: var(--fw-text);
  text-decoration: none;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23c40607'%3E%3Cpath d='M13.485 1.431a1.473 1.473 0 0 1 2.104 2.062l-7.84 9.801a1.473 1.473 0 0 1-2.12.04L.431 8.138a1.473 1.473 0 0 1 2.084-2.083l4.111 4.112 6.82-8.69a.486.486 0 0 1 .04-.045z'/%3E%3C/svg%3E") left center / 0.7rem no-repeat;
  transition: color 0.15s ease, padding 0.15s ease;
}
.fw-sidebar li a:hover,
.fw-sidebar li a:focus,
.fw-sidebar li a.is-active,
.fw-sidebar .navbar-nav .nav-link:hover,
.fw-sidebar .navbar-nav .nav-link.is-active {
  padding-left: 1.6rem;
  color: var(--fw-red);
}
.fw-sidebar__promo {
  position: relative;
  display: block;
  overflow: hidden;
  border-radius: var(--fw-radius);
  box-shadow: var(--fw-shadow);
  text-decoration: none;
}
.fw-sidebar__promo img {
  display: block;
  width: 100%;
  height: 6.5rem;
  object-fit: cover;
}
.fw-sidebar__promo span {
  position: absolute;
  right: 0.75rem;
  bottom: 0.6rem;
  padding: 0.25rem 0.75rem;
  color: #fff;
  font-size: 0.85rem;
  font-weight: 600;
  background: var(--fw-red-bright);
  border-radius: 999px;
}

/* == Sitemap (view flexyweb_sitemap) == */
.fw-sitemap__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(16rem, 1fr));
  gap: 1.25rem;
  margin-bottom: 1.5rem;
}
.fw-sitemap__heading {
  margin: 1rem 0 1rem;
  font-size: 1.4rem;
}
.fw-sitemap__card {
  padding: 0;
}
.fw-sitemap__title {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.6rem;
  font-size: 1.1rem;
}
.fw-sitemap__count {
  margin-left: auto;
  padding: 0.05rem 0.55rem;
  color: var(--fw-muted);
  font-size: 0.8rem;
  font-weight: 600;
  background: var(--fw-surface);
  border-radius: 999px;
}
.fw-sitemap__card ul {
  margin: 0;
  padding: 0;
  list-style: none;
}
.fw-sitemap__card .item-list ul {
  margin: 0;
}
.fw-sitemap__card li {
  margin: 0;
  border-top: 1px solid var(--fw-border);
}
.fw-sitemap__card li:first-child {
  border-top: 0;
}
.fw-sitemap__card li a {
  display: block;
  padding: 0.4rem 0 0.4rem 1.3rem;
  color: var(--fw-text);
  font-size: 0.95rem;
  text-decoration: none;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23e40205' d='M5.3 3.9 3.9 5.3l11.3 11.3H8v2h10.6V8h-2v7.2z'/%3E%3C/svg%3E") left center / 0.75rem no-repeat;
  transition: color 0.15s ease, padding 0.15s ease;
}
.fw-sitemap__card li a:hover,
.fw-sitemap__card li a:focus {
  padding-left: 1.5rem;
  color: var(--fw-red);
}

/* == Forms (contact form) == */
.fw-content .form-control,
.fw-content .form-select {
  border-radius: 0.4rem;
}
.fw-content .form-control:focus {
  border-color: var(--fw-blue-light);
  box-shadow: 0 0 0 0.2rem rgba(26, 163, 214, 0.25);
}
.fw-content .form-actions .btn-primary,
.fw-content .form-actions .button--primary,
.fw-content input[type="submit"].form-submit {
  padding: 0.55rem 1.6rem;
  color: #fff;
  font-weight: 600;
  background: var(--fw-red-bright);
  border: 0;
  border-radius: 999px;
}
.fw-content .form-actions .btn-primary:hover,
.fw-content input[type="submit"].form-submit:hover {
  background: var(--fw-red-dark);
}

/* == Footer == */
.fw-footer {
  color: rgba(255, 255, 255, 0.75);
  background: #1e272c;
  font-size: 0.92rem;
}
.fw-footer__cols {
  padding: 2.25rem 0 1rem;
}
.fw-footer h2 {
  margin-bottom: 0.75rem;
  color: #fff;
  font-size: 1.05rem;
}
.fw-footer a {
  color: #fff;
}
.fw-footer a:hover,
.fw-footer a:focus {
  color: #9fdcf3;
}
.fw-footer p {
  margin-bottom: 0.3rem;
}
.fw-footer ul {
  margin: 0;
  padding: 0;
  list-style: none;
}
.fw-footer li {
  margin-bottom: 0.3rem;
}
.fw-footer li a {
  text-decoration: none;
}
.fw-footer .navbar-nav .nav-link {
  padding: 0;
  color: #fff;
}
.fw-footer .navbar-nav .nav-link:hover,
.fw-footer .navbar-nav .nav-link:focus {
  color: #9fdcf3;
}
.fw-copyright {
  padding: 1rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 0.85rem;
}

/* == Responsive == */
@media (max-width: 991.98px) {
  .fw-mainnav {
    padding-bottom: 0.75rem;
  }
  .fw-mainnav .nav-link {
    border-radius: 0.4rem;
  }
  .fw-hero::after {
    width: 75%;
    opacity: 0.45;
  }
}
@media (max-width: 575.98px) {
  .fw-brand__name {
    font-size: 1.55rem;
  }
  .fw-hero--front .fw-hero__inner {
    padding-top: 2.25rem;
    padding-bottom: 2.25rem;
  }
  .fw-tools__actions,
  .fw-tools__search {
    flex: 1 1 auto;
  }
  .fw-tools__search form,
  .fw-tools__search .js-form-item,
  .fw-tools__search .form-control {
    width: 100%;
  }
  .fw-tools__search .js-form-item {
    flex: 1 1 auto;
  }
  /* Reference table: one column on phones. */
  .fw-content table.table-default,
  .fw-content table.table-default tbody,
  .fw-content table.table-default tr,
  .fw-content table.table-default td {
    display: block;
    width: 100% !important;
  }
}

/* == Print: only the page content == */
@media print {
  body {
    font-size: 11pt;
    padding-top: 0 !important;
    background: #fff !important;
  }
  .fw-header,
  .fw-hero,
  .fw-tools,
  .fw-featured,
  .fw-sidebar,
  .fw-footer,
  .fw-content .breadcrumb,
  .fw-content nav[aria-label="breadcrumb"],
  .fw-content [data-drupal-messages],
  .fw-content .tabs,
  .fw-content .nav-tabs,
  .fw-content .action-links,
  .fw-content .contextual,
  #toolbar-administration,
  .skip-link {
    display: none !important;
  }
  .fw-main {
    padding: 0 !important;
    background: none !important;
  }
  .fw-content {
    flex: 0 0 100% !important;
    max-width: 100% !important;
    width: 100% !important;
  }
  .fw-content h1::after {
    display: none;
  }
  .fw-content a {
    color: #000;
    text-decoration: none;
  }
  .fw-content img {
    max-width: 100% !important;
    box-shadow: none !important;
    break-inside: avoid;
  }
  h1, h2, h3 {
    break-after: avoid;
  }
}
