.gardow-site {
  min-width: 320px;
}

.skip-link {
  position: fixed;
  z-index: 9999;
  top: 0.75rem;
  left: 0.75rem;
  padding: 0.75rem 1rem;
  color: #fff;
  background: var(--blue);
  transform: translateY(-150%);
}

.skip-link:focus {
  transform: translateY(0);
}

.nav-links a.active {
  color: var(--blue);
}

/* Joomla menu output: the hierarchy remains editable in the administrator. */
.nav-links .mod-menu {
  display: flex;
  align-items: stretch;
  margin: 0;
  padding: 0;
  list-style: none;
}

.nav-links .mod-menu > li,
.nav-links .mod-menu__sub > li {
  position: relative;
  list-style: none;
}

.nav-links .mod-menu > li > a,
.nav-links .mod-menu > li > span {
  display: flex;
  align-items: center;
  min-height: 42px;
}

.nav-links .mod-menu > li.deeper > a {
  padding-right: 1.65rem;
}

.nav-links .mod-menu__toggle-sub {
  position: absolute;
  z-index: 2;
  top: 50%;
  right: 0.35rem;
  width: 1rem;
  height: 1rem;
  padding: 0;
  color: currentColor;
  background: transparent;
  border: 0;
  transform: translateY(-50%);
  cursor: pointer;
}

.nav-links .icon-chevron-down::before {
  content: '▾';
  display: block;
  font-size: 0.7rem;
  line-height: 1;
}

.nav-links .visually-hidden {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

.nav-links .mod-menu__sub {
  display: none;
  position: absolute;
  z-index: 120;
  top: 100%;
  left: 0;
  min-width: 260px;
  margin: 0;
  padding: 0.45rem 0;
  background: #fff;
  border: 1px solid var(--border);
  border-top: 3px solid var(--blue);
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.16);
  list-style: none;
}

.nav-links .mod-menu__sub .mod-menu__sub {
  top: -0.45rem;
  left: 100%;
}

.nav-links li:hover > .mod-menu__sub,
.nav-links li:focus-within > .mod-menu__sub {
  display: block;
}

.nav-links .mod-menu__sub a {
  display: block;
  padding: 0.75rem 1rem;
  border: 0;
  border-bottom: 1px solid var(--border);
  white-space: normal;
}

.nav-links .mod-menu__sub li:last-child > a {
  border-bottom: 0;
}

.nav-links .mod-menu__sub li:first-child > a {
  border-left: 0;
}

.nav-links .current > a,
.nav-links .active > a,
.nav-links a[aria-current='page'] {
  color: #fff;
  background: var(--dark);
}

.nav-links .mod-menu > li:last-child > a {
  color: #fff;
  background: var(--blue);
}

.nav-links .mod-menu > li:last-child > a:hover,
.nav-links .mod-menu > li:last-child.current > a {
  background: var(--blue-hover);
}

@media (max-width: 1400px) and (min-width: 769px) {
  .site-nav {
    padding-right: 1rem;
    padding-left: 1rem;
  }

  .site-nav .nav-logo {
    font-size: 1.1rem;
  }

  .nav-links a {
    padding-right: 0.55rem;
    padding-left: 0.55rem;
    font-size: 0.7rem;
  }

  .nav-links .mod-menu > li.deeper > a {
    padding-right: 1.4rem;
  }
}

.system-message-container {
  width: min(1180px, calc(100% - 2rem));
  margin: 1rem auto;
}

.inner-hero {
  overflow: hidden;
  position: relative;
  color: #fff;
  background: var(--dark);
  border-top: 1px solid #334155;
}

.inner-hero::after {
  content: '';
  position: absolute;
  inset: 0 0 0 auto;
  width: 32%;
  background: linear-gradient(135deg, transparent 0 38%, rgba(37, 99, 235, 0.2) 38% 70%, rgba(37, 99, 235, 0.52) 70%);
  pointer-events: none;
}

.inner-hero__inner {
  max-width: 1320px;
  min-height: 430px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 260px;
  gap: 4rem;
  align-items: center;
  padding-top: 4.5rem;
  padding-bottom: 4.5rem;
}

.inner-hero h1 {
  max-width: 900px;
  margin-top: 1.4rem;
  color: #fff;
  font-size: clamp(2.25rem, 4.5vw, 4rem);
  font-weight: 900;
  line-height: 0.98;
  letter-spacing: -0.05em;
  text-transform: uppercase;
  overflow-wrap: break-word;
  word-break: normal;
  hyphens: auto;
}

.inner-hero__lead {
  max-width: 780px;
  margin-top: 1.75rem;
  color: #a9b7ca;
  font-size: 1.02rem;
  line-height: 1.75;
}

.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  color: #7f91a9;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.breadcrumbs a {
  color: #a9b7ca;
  text-decoration: none;
}

.inner-hero .hero-tag {
  margin: 1.5rem 0 0;
}

.inner-hero__mark {
  position: relative;
  z-index: 1;
  min-height: 230px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.5rem;
  background: var(--blue);
}

.inner-hero__mark span {
  font-size: 5.5rem;
  font-weight: 900;
  line-height: 0.82;
  letter-spacing: -0.08em;
}

.inner-hero__mark small {
  margin-top: 1.2rem;
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.72rem;
  line-height: 1.5;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.article-main {
  background: var(--bg);
}

.article-shell {
  padding-top: clamp(3.5rem, 7vw, 7rem);
  padding-bottom: clamp(3.5rem, 7vw, 7rem);
}

.article-shell > article {
  max-width: 1020px;
}

.article-shell h1,
.article-shell h2,
.article-shell h3,
.article-shell h4 {
  color: var(--dark);
  font-weight: 900;
  line-height: 1.12;
  letter-spacing: -0.025em;
  overflow-wrap: anywhere;
}

.article-shell h1,
.article-shell h2 {
  margin: 3.8rem 0 1.4rem;
  font-size: clamp(1.75rem, 3.4vw, 2.7rem);
  text-transform: uppercase;
}

.article-shell h1:first-child,
.article-shell h2:first-child,
.article-shell .item-page > h2:first-child,
.article-shell .blog > h2:first-child {
  margin-top: 0;
}

.article-shell h3 {
  margin: 2.5rem 0 1rem;
  font-size: 1.3rem;
  text-transform: uppercase;
}

.article-shell p,
.article-shell li,
.article-shell dd,
.article-shell td,
.article-shell th,
.article-shell label {
  color: #475569;
  line-height: 1.78;
}

.article-shell p + p {
  margin-top: 1rem;
}

.article-shell ul,
.article-shell ol {
  margin: 1.25rem 0;
  padding-left: 1.35rem;
}

.article-shell a {
  color: var(--blue);
  text-underline-offset: 0.2em;
}

.article-shell strong {
  color: var(--dark);
}

.article-shell img {
  max-width: 100%;
  height: auto;
}

.article-shell table {
  width: 100%;
  margin: 1.75rem 0;
  border-collapse: collapse;
  background: #fff;
}

.article-shell th,
.article-shell td {
  padding: 0.8rem 0.9rem;
  border: 1px solid var(--border);
  text-align: left;
  vertical-align: top;
}

.article-shell th {
  color: var(--dark);
  background: #eef2f7;
  font-weight: 800;
}

.article-shell input,
.article-shell select,
.article-shell textarea,
.article-shell button {
  max-width: 100%;
  font: inherit;
}

.article-shell input,
.article-shell select,
.article-shell textarea {
  padding: 0.75rem;
  border: 1px solid var(--border);
  background: #fff;
}

.article-shell button,
.article-shell input[type='submit'] {
  padding: 0.8rem 1.3rem;
  color: #fff;
  background: var(--blue);
  border: 0;
  font-weight: 800;
  cursor: pointer;
}

.legacy-hidden-copy {
  display: inline !important;
  color: inherit !important;
  font-size: inherit !important;
  line-height: inherit !important;
}

.seo-intro {
  margin-bottom: 0.75rem;
}

.seo-additional {
  margin: 0 0 1.5rem;
  padding: 0.9rem 1rem;
  border: 1px solid var(--border);
  border-radius: 0.45rem;
  background: #f7f9fa;
}

.seo-additional summary {
  color: var(--blue);
  font-weight: 750;
  cursor: pointer;
}

.seo-additional[open] summary {
  margin-bottom: 0.75rem;
}

.seo-additional p:last-child {
  margin-bottom: 0;
}

.home-content .container {
  width: min(1180px, calc(100% - 3rem));
}

.error-page {
  min-height: 100vh;
  display: grid;
  place-content: center;
  gap: 1.2rem;
  padding: 2rem;
  text-align: center;
}

.error-page h1 {
  font-size: clamp(2rem, 6vw, 4.5rem);
  font-weight: 900;
  text-transform: uppercase;
}

@media (max-width: 900px) {
  .inner-hero__inner {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .inner-hero__mark {
    display: none;
  }

  .inner-hero::after {
    width: 45%;
    opacity: 0.55;
  }
}

@media (max-width: 768px) {
  .nav-links.open {
    align-items: stretch;
    max-height: calc(100vh - 70px);
    overflow-y: auto;
  }

  .nav-links.open .mod-menu {
    width: 100%;
    flex-direction: column;
    align-items: stretch;
  }

  .nav-links.open .mod-menu > li > a,
  .nav-links.open .mod-menu > li > span {
    min-height: 0;
  }

  .nav-links.open .mod-menu__toggle-sub {
    display: none;
  }

  .nav-links.open .mod-menu__sub,
  .nav-links.open .mod-menu__sub .mod-menu__sub {
    display: block;
    position: static;
    min-width: 0;
    padding: 0 0 0 1rem;
    background: #f8fafc;
    border: 0;
    box-shadow: none;
  }

  .nav-links.open .mod-menu > li:last-child > a {
    color: #fff;
    background: var(--blue);
  }
}

@media (max-width: 600px) {
  .inner-hero__inner {
    min-height: 360px;
    padding-top: 3rem;
    padding-bottom: 3rem;
  }

  .article-shell table {
    display: block;
    overflow-x: auto;
  }

  .home-content .container {
    width: min(100% - 2rem, 1180px);
  }
}
