﻿/* Generated grouped CSS. Edit source split files, then regenerate if needed. */

/* === layout_max_gr6.15-contact-form.css === */
.gr-contact-module {
  width: min(100%, 1080px);
  margin: 56px auto;
}

/* About page admin content */
.gr-about-page {
  width: min(1240px, calc(100% - 32px));
  margin: 0 auto 86px;
  color: inherit;
}

.gr-about-hero {
  position: relative;
  max-width: 980px;
  margin: 48px auto 64px;
  padding: clamp(30px, 4vw, 54px);
  border-left: 2px solid rgba(26, 142, 227, .75);
  background: linear-gradient(90deg, rgba(26, 142, 227, .11), rgba(18, 18, 18, 0) 72%);
  text-align: left;
}

.gr-about-hero::after {
  content: "";
  position: absolute;
  right: 10%;
  bottom: 10%;
  width: 160px;
  height: 1px;
  background: rgba(255, 255, 255, .2);
}

.gr-about-kicker {
  margin: 0 0 10px;
  color: #1a8ee3;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  text-indent: 0;
}

.gr-about-hero h1 {
  margin: 0 0 22px;
  color: #fff;
  font-size: clamp(52px, 7vw, 92px);
  font-weight: 400;
  line-height: 1.02;
}

.gr-about-lead {
  margin: 0 0 16px;
  max-width: 840px;
  color: rgba(255, 255, 255, .86);
  font-size: clamp(18px, 2vw, 24px);
  line-height: 1.62;
  text-indent: 0;
}

.gr-about-section {
  margin: 54px 0;
}

.gr-about-panel,
.gr-about-card,
.gr-about-approach,
.gr-about-cta {
  border: 1px solid rgba(255, 255, 255, .12);
  background: linear-gradient(145deg, rgba(28, 28, 28, .72), rgba(12, 12, 12, .56));
  box-shadow: 0 22px 54px rgba(0, 0, 0, .28);
  backdrop-filter: blur(8px);
  border-radius: 8px;
}

.gr-about-panel {
  position: relative;
  padding: clamp(28px, 4vw, 48px);
  overflow: hidden;
}

.gr-about-panel::before,
.gr-about-approach::before,
.gr-about-cta::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 3px;
  background: linear-gradient(180deg, rgba(26, 142, 227, .85), rgba(26, 142, 227, 0));
}

.gr-about-section h2 {
  margin: 0 0 22px;
  color: #fff;
  font-size: clamp(30px, 4vw, 48px);
  font-weight: 400;
  line-height: 1.12;
}

.gr-about-section p {
  margin: 0 0 18px;
  color: rgba(255, 255, 255, .8);
  font-size: 17px;
  line-height: 1.72;
  text-indent: 0;
}

.gr-about-section p:last-child {
  margin-bottom: 0;
}

.gr-about-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 16px;
}

.gr-about-card {
  position: relative;
  min-height: 190px;
  padding: 26px 22px 24px;
  overflow: hidden;
  transition: transform .22s ease, border-color .22s ease, background .22s ease, box-shadow .22s ease;
}

.gr-about-card::before {
  content: "";
  position: absolute;
  top: 18px;
  right: 18px;
  width: 34px;
  height: 34px;
  border: 1px solid rgba(26, 142, 227, .34);
  border-radius: 50%;
  opacity: .75;
}

.gr-about-card::after {
  content: "";
  position: absolute;
  right: 34px;
  top: 35px;
  width: 46px;
  height: 1px;
  background: rgba(26, 142, 227, .34);
}

.gr-about-card:hover {
  transform: translateY(-5px);
  border-color: rgba(26, 142, 227, .5);
  background: linear-gradient(145deg, rgba(34, 34, 34, .86), rgba(14, 14, 14, .68));
  box-shadow: 0 26px 60px rgba(0, 0, 0, .36);
}

.gr-about-card h3 {
  margin: 0 0 12px;
  color: #fff;
  font-size: 22px;
  font-weight: 400;
  line-height: 1.18;
}

.gr-about-card p {
  margin: 0;
  font-size: 15px;
  line-height: 1.62;
}

.gr-about-approach {
  position: relative;
  padding: clamp(28px, 4vw, 46px);
  text-align: center;
  overflow: hidden;
}

.gr-about-approach p {
  max-width: 860px;
  margin-left: auto;
  margin-right: auto;
  font-size: clamp(18px, 2vw, 23px);
}

.gr-about-offer {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
}

.gr-about-offer span {
  display: block;
  padding: 20px 16px;
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: 6px;
  background: linear-gradient(135deg, rgba(26, 142, 227, .11), rgba(255, 255, 255, .035));
  color: rgba(255, 255, 255, .88);
  font-size: 16px;
  line-height: 1.4;
  text-align: center;
}

.gr-about-cta {
  position: relative;
  max-width: 920px;
  margin: 52px auto 0;
  padding: clamp(28px, 4vw, 46px);
  text-align: center;
  overflow: hidden;
}

.gr-about-cta p {
  max-width: 720px;
  margin: 0 auto 24px;
  color: rgba(255, 255, 255, .84);
  font-size: clamp(18px, 2vw, 23px);
  line-height: 1.62;
  text-indent: 0;
}

.gr-about-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}

.gr-about-actions a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 11px 18px;
  border: 1px solid rgba(26, 142, 227, .45);
  border-radius: 6px;
  background: rgba(26, 142, 227, .14);
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
  transition: background .2s ease, border-color .2s ease, transform .2s ease;
}

.gr-about-actions a:hover {
  background: rgba(26, 142, 227, .28);
  border-color: rgba(26, 142, 227, .8);
  transform: translateY(-1px);
}

@media (max-width: 1100px) {
  .gr-about-grid,
  .gr-about-offer {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

}

@media (max-width: 680px) {
  .gr-about-page {
    width: min(100%, calc(100% - 24px));
    margin-bottom: 50px;
  }

  .gr-about-hero {
    margin: 30px auto 38px;
    text-align: left;
  }

  .gr-about-grid,
  .gr-about-offer {
    grid-template-columns: 1fr;
  }

  .gr-about-panel,
  .gr-about-card,
  .gr-about-approach,
  .gr-about-cta {
    border-radius: 6px;
  }

  .gr-about-card {
    min-height: 0;
  }

  .gr-about-approach,
  .gr-about-cta {
    text-align: left;
  }

  .gr-about-actions a {
    width: 100%;
  }
}

/* Absolute final fix: homepage tablet logo must not crop. */
@media screen and (min-width: 901px) and (max-width: 1220px) and (hover: hover) and (pointer: fine) {
  body.is-homepage.has-home-hero #header .nav-logo,
  #body.is-homepage.has-home-hero #header .nav-logo,
  body.is-homepage.has-home-hero #header.is-hero-fade-ready .nav-logo,
  #body.is-homepage.has-home-hero #header.is-hero-fade-ready .nav-logo {
    width: 190px !important;
    height: 108px !important;
    margin: 16px 0 0 max(38px, calc((100vw - 1180px) / 2 + 22px)) !important;
    background-size: contain !important;
    background-position: center center !important;
    background-repeat: no-repeat !important;
  }
}

/* =========================================================
   RESPONSIVE CHROME BASE - FINAL
   mobile <= 900px, tablet 901-1220px, desktop >= 1221px.
   Keep this block at the very end of this file.
   ========================================================= */

@media screen and (max-width: 900px) {
  body.is-homepage.has-home-hero #header .nav-logo,
  #body.is-homepage.has-home-hero #header .nav-logo,
  body.is-shared-hero-page #header .nav-logo,
  #body.is-shared-hero-page #header .nav-logo,
  body.is-article-page #header .nav-logo,
  #body.is-article-page #header .nav-logo {
    position: fixed !important;
    top: 26px !important;
    left: 50px !important;
    float: none !important;
    width: 100px !important;
    height: 68px !important;
    margin: 0 !important;
    background-size: contain !important;
    background-position: center center !important;
    background-repeat: no-repeat !important;
    z-index: 7002 !important;
  }

  body.is-homepage.has-home-hero #header .navbar .nav-btn,
  #body.is-homepage.has-home-hero #header .navbar .nav-btn,
  body.is-shared-hero-page #header .navbar .nav-btn,
  #body.is-shared-hero-page #header .navbar .nav-btn,
  body.is-article-page #header .navbar .nav-btn,
  #body.is-article-page #header .navbar .nav-btn {
    display: flex !important;
    position: fixed !important;
    top: 50px !important;
    right: -50px !important;
    height: 50px !important;
    max-width: 120px !important;
    z-index: 7004 !important;
  }
}

@media screen and (min-width: 901px) and (max-width: 1220px) {
  body.is-homepage.has-home-hero #header .nav-logo,
  #body.is-homepage.has-home-hero #header .nav-logo,
  body.is-shared-hero-page #header .nav-logo,
  #body.is-shared-hero-page #header .nav-logo,
  body.is-article-page #header .nav-logo,
  #body.is-article-page #header .nav-logo {
    position: relative !important;
    top: auto !important;
    left: auto !important;
    float: left !important;
    width: 150px !important;
    height: 100px !important;
    margin: 4px 0 0 max(42px, calc((100vw - 1180px) / 2 + 24px)) !important;
    transform: none !important;
    background-size: contain !important;
    background-position: center center !important;
    background-repeat: no-repeat !important;
    z-index: 7002 !important;
  }

  body.is-homepage.has-home-hero #header .navbar .nav-btn,
  #body.is-homepage.has-home-hero #header .navbar .nav-btn,
  body.is-shared-hero-page #header .navbar .nav-btn,
  #body.is-shared-hero-page #header .navbar .nav-btn,
  body.is-article-page #header .navbar .nav-btn,
  #body.is-article-page #header .navbar .nav-btn {
    display: flex !important;
    position: fixed !important;
    top: 64px !important;
    right: -46px !important;
    height: 50px !important;
    max-width: 120px !important;
    transform: none !important;
    z-index: 7004 !important;
  }

  body.is-homepage.has-home-hero #header .navbar #nav-check,
  #body.is-homepage.has-home-hero #header .navbar #nav-check,
  body.is-shared-hero-page #header .navbar #nav-check,
  #body.is-shared-hero-page #header .navbar #nav-check,
  body.is-article-page #header .navbar #nav-check,
  #body.is-article-page #header .navbar #nav-check {
    display: block !important;
    position: fixed !important;
    top: 64px !important;
    right: 0 !important;
    width: 74px !important;
    height: 54px !important;
    opacity: 0 !important;
    z-index: 7005 !important;
    cursor: pointer !important;
  }

  body.is-homepage.has-home-hero #header .navbar .box-item,
  #body.is-homepage.has-home-hero #header .navbar .box-item,
  body.is-shared-hero-page #header .navbar .box-item,
  #body.is-shared-hero-page #header .navbar .box-item,
  body.is-article-page #header .navbar .box-item,
  #body.is-article-page #header .navbar .box-item {
    position: fixed !important;
    top: 138px !important;
    left: 50% !important;
    right: auto !important;
    width: min(420px, calc(100vw - 32px)) !important;
    max-width: calc(100vw - 32px) !important;
    height: 0 !important;
    max-height: calc(100vh - 158px) !important;
    overflow: hidden !important;
    opacity: 0 !important;
    pointer-events: none !important;
    transform: translateX(-50%) !important;
    z-index: 7003 !important;
  }

  body.is-homepage.has-home-hero #header .navbar #nav-check:checked ~ .box-item,
  #body.is-homepage.has-home-hero #header .navbar #nav-check:checked ~ .box-item,
  body.is-shared-hero-page #header .navbar #nav-check:checked ~ .box-item,
  #body.is-shared-hero-page #header .navbar #nav-check:checked ~ .box-item,
  body.is-article-page #header .navbar #nav-check:checked ~ .box-item,
  #body.is-article-page #header .navbar #nav-check:checked ~ .box-item {
    display: block !important;
    height: auto !important;
    min-height: 220px !important;
    max-height: calc(100vh - 158px) !important;
    overflow-y: auto !important;
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
  }

  body.is-homepage.has-home-hero .article-hero-stage--home .article-hero-copy,
  #body.is-homepage.has-home-hero .article-hero-stage--home .article-hero-copy {
    top: 218px !important;
    left: 50% !important;
    right: auto !important;
    width: min(760px, calc(100vw - 96px)) !important;
    transform: translateX(-50%) !important;
    text-align: center !important;
  }
}

@media screen and (min-width: 1221px) {
  body.is-homepage.has-home-hero #header .nav-logo,
  #body.is-homepage.has-home-hero #header .nav-logo,
  body.is-shared-hero-page #header .nav-logo,
  #body.is-shared-hero-page #header .nav-logo,
  body.is-article-page #header .nav-logo,
  #body.is-article-page #header .nav-logo {
    position: relative !important;
    top: auto !important;
    left: auto !important;
    float: left !important;
    width: 219px !important;
    height: 146px !important;
    margin: 0 !important;
    background-size: contain !important;
    background-position: center center !important;
    background-repeat: no-repeat !important;
  }

  body.is-homepage.has-home-hero #header .navbar .nav-btn,
  #body.is-homepage.has-home-hero #header .navbar .nav-btn,
  body.is-shared-hero-page #header .navbar .nav-btn,
  #body.is-shared-hero-page #header .navbar .nav-btn,
  body.is-article-page #header .navbar .nav-btn,
  #body.is-article-page #header .navbar .nav-btn {
    display: none !important;
  }
}

/* Tablet logo hard position: margin does not affect this header layout reliably. */
@media screen and (min-width: 901px) and (max-width: 1220px) {
  body.is-homepage.has-home-hero #header .nav-logo,
  #body.is-homepage.has-home-hero #header .nav-logo,
  body.is-shared-hero-page #header .nav-logo,
  #body.is-shared-hero-page #header .nav-logo,
  body.is-article-page #header .nav-logo,
  #body.is-article-page #header .nav-logo {
    position: fixed !important;
    top: 10px !important;
    left: max(42px, calc((100vw - 1180px) / 2 + 24px)) !important;
    float: none !important;
    width: 150px !important;
    height: 100px !important;
    margin: 0 !important;
    background-size: contain !important;
    background-position: center center !important;
    background-repeat: no-repeat !important;
    z-index: 7002 !important;
  }
}

/* =========================================================
   RESPONSIVE CHROME BASE
   One source of truth for header/logo/menu/hero sizing:
   mobile <= 900px, tablet 901-1220px, desktop >= 1221px.
   ========================================================= */

/* Mobile */
@media screen and (max-width: 900px) {
  body.is-homepage.has-home-hero #header .nav-logo,
  #body.is-homepage.has-home-hero #header .nav-logo,
  body.is-shared-hero-page #header .nav-logo,
  #body.is-shared-hero-page #header .nav-logo,
  body.is-article-page #header .nav-logo,
  #body.is-article-page #header .nav-logo {
    position: fixed !important;
    top: 26px !important;
    left: 50px !important;
    float: none !important;
    width: 100px !important;
    height: 68px !important;
    margin: 0 !important;
    background-size: contain !important;
    background-position: center center !important;
    background-repeat: no-repeat !important;
    z-index: 7002 !important;
  }

  body.is-homepage.has-home-hero #header .navbar .nav-btn,
  #body.is-homepage.has-home-hero #header .navbar .nav-btn,
  body.is-shared-hero-page #header .navbar .nav-btn,
  #body.is-shared-hero-page #header .navbar .nav-btn,
  body.is-article-page #header .navbar .nav-btn,
  #body.is-article-page #header .navbar .nav-btn {
    display: flex !important;
    position: fixed !important;
    top: 50px !important;
    right: -50px !important;
    height: 50px !important;
    max-width: 120px !important;
    z-index: 7004 !important;
  }
}

/* Tablet / compact desktop */
@media screen and (min-width: 901px) and (max-width: 1220px) {
  body.is-homepage.has-home-hero #header .nav-logo,
  #body.is-homepage.has-home-hero #header .nav-logo,
  body.is-shared-hero-page #header .nav-logo,
  #body.is-shared-hero-page #header .nav-logo,
  body.is-article-page #header .nav-logo,
  #body.is-article-page #header .nav-logo {
    position: relative !important;
    top: auto !important;
    left: auto !important;
    float: left !important;
    width: 150px !important;
    height: 100px !important;
    margin: 4px 0 0 max(42px, calc((100vw - 1180px) / 2 + 24px)) !important;
    transform: none !important;
    background-size: contain !important;
    background-position: center center !important;
    background-repeat: no-repeat !important;
    z-index: 7002 !important;
  }

  body.is-homepage.has-home-hero #header .navbar .nav-btn,
  #body.is-homepage.has-home-hero #header .navbar .nav-btn,
  body.is-shared-hero-page #header .navbar .nav-btn,
  #body.is-shared-hero-page #header .navbar .nav-btn,
  body.is-article-page #header .navbar .nav-btn,
  #body.is-article-page #header .navbar .nav-btn {
    display: flex !important;
    position: fixed !important;
    top: 64px !important;
    right: -46px !important;
    height: 50px !important;
    max-width: 120px !important;
    transform: none !important;
    z-index: 7004 !important;
  }

  body.is-homepage.has-home-hero #header .navbar #nav-check,
  #body.is-homepage.has-home-hero #header .navbar #nav-check,
  body.is-shared-hero-page #header .navbar #nav-check,
  #body.is-shared-hero-page #header .navbar #nav-check,
  body.is-article-page #header .navbar #nav-check,
  #body.is-article-page #header .navbar #nav-check {
    display: block !important;
    position: fixed !important;
    top: 64px !important;
    right: 0 !important;
    width: 74px !important;
    height: 54px !important;
    opacity: 0 !important;
    z-index: 7005 !important;
    cursor: pointer !important;
  }

  body.is-homepage.has-home-hero #header .navbar .box-item,
  #body.is-homepage.has-home-hero #header .navbar .box-item,
  body.is-shared-hero-page #header .navbar .box-item,
  #body.is-shared-hero-page #header .navbar .box-item,
  body.is-article-page #header .navbar .box-item,
  #body.is-article-page #header .navbar .box-item {
    position: fixed !important;
    top: 138px !important;
    left: 50% !important;
    right: auto !important;
    width: min(420px, calc(100vw - 32px)) !important;
    max-width: calc(100vw - 32px) !important;
    height: 0 !important;
    max-height: calc(100vh - 158px) !important;
    overflow: hidden !important;
    opacity: 0 !important;
    pointer-events: none !important;
    transform: translateX(-50%) !important;
    z-index: 7003 !important;
  }

  body.is-homepage.has-home-hero #header .navbar #nav-check:checked ~ .box-item,
  #body.is-homepage.has-home-hero #header .navbar #nav-check:checked ~ .box-item,
  body.is-shared-hero-page #header .navbar #nav-check:checked ~ .box-item,
  #body.is-shared-hero-page #header .navbar #nav-check:checked ~ .box-item,
  body.is-article-page #header .navbar #nav-check:checked ~ .box-item,
  #body.is-article-page #header .navbar #nav-check:checked ~ .box-item {
    display: block !important;
    height: auto !important;
    min-height: 220px !important;
    max-height: calc(100vh - 158px) !important;
    overflow-y: auto !important;
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
  }

  body.is-homepage.has-home-hero .article-hero-stage--home .article-hero-copy,
  #body.is-homepage.has-home-hero .article-hero-stage--home .article-hero-copy {
    top: 218px !important;
    left: 50% !important;
    right: auto !important;
    width: min(760px, calc(100vw - 96px)) !important;
    transform: translateX(-50%) !important;
    text-align: center !important;
  }
}

/* Desktop */
@media screen and (min-width: 1221px) {
  body.is-homepage.has-home-hero #header .nav-logo,
  #body.is-homepage.has-home-hero #header .nav-logo,
  body.is-shared-hero-page #header .nav-logo,
  #body.is-shared-hero-page #header .nav-logo,
  body.is-article-page #header .nav-logo,
  #body.is-article-page #header .nav-logo {
    position: relative !important;
    top: auto !important;
    left: auto !important;
    float: left !important;
    width: 219px !important;
    height: 146px !important;
    margin: 0 !important;
    background-size: contain !important;
    background-position: center center !important;
    background-repeat: no-repeat !important;
  }

  body.is-homepage.has-home-hero #header .navbar .nav-btn,
  #body.is-homepage.has-home-hero #header .navbar .nav-btn,
  body.is-shared-hero-page #header .navbar .nav-btn,
  #body.is-shared-hero-page #header .navbar .nav-btn,
  body.is-article-page #header .navbar .nav-btn,
  #body.is-article-page #header .navbar .nav-btn {
    display: none !important;
  }
}

/* =========================================================
   RESPONSIVE CHROME BASE
   One source of truth for header/logo/menu/hero sizing:
   mobile <= 900px, tablet 901-1220px, desktop >= 1221px.
   ========================================================= */

/* Mobile */
@media screen and (max-width: 900px) {
  body.is-homepage.has-home-hero #header .nav-logo,
  #body.is-homepage.has-home-hero #header .nav-logo,
  body.is-shared-hero-page #header .nav-logo,
  #body.is-shared-hero-page #header .nav-logo,
  body.is-article-page #header .nav-logo,
  #body.is-article-page #header .nav-logo {
    position: fixed !important;
    top: 26px !important;
    left: 50px !important;
    float: none !important;
    width: 100px !important;
    height: 68px !important;
    margin: 0 !important;
    background-size: contain !important;
    background-position: center center !important;
    background-repeat: no-repeat !important;
    z-index: 7002 !important;
  }

  body.is-homepage.has-home-hero #header .navbar .nav-btn,
  #body.is-homepage.has-home-hero #header .navbar .nav-btn,
  body.is-shared-hero-page #header .navbar .nav-btn,
  #body.is-shared-hero-page #header .navbar .nav-btn,
  body.is-article-page #header .navbar .nav-btn,
  #body.is-article-page #header .navbar .nav-btn {
    display: flex !important;
    position: fixed !important;
    top: 50px !important;
    right: -50px !important;
    height: 50px !important;
    max-width: 120px !important;
    z-index: 7004 !important;
  }
}

/* Tablet / compact desktop */
@media screen and (min-width: 901px) and (max-width: 1220px) {
  body.is-homepage.has-home-hero #header .nav-logo,
  #body.is-homepage.has-home-hero #header .nav-logo,
  body.is-shared-hero-page #header .nav-logo,
  #body.is-shared-hero-page #header .nav-logo,
  body.is-article-page #header .nav-logo,
  #body.is-article-page #header .nav-logo {
    position: relative !important;
    top: auto !important;
    left: auto !important;
    float: left !important;
    width: 150px !important;
    height: 100px !important;
    margin: 4px 0 0 max(42px, calc((100vw - 1180px) / 2 + 24px)) !important;
    transform: none !important;
    background-size: contain !important;
    background-position: center center !important;
    background-repeat: no-repeat !important;
    z-index: 7002 !important;
  }

  body.is-homepage.has-home-hero #header .navbar .nav-btn,
  #body.is-homepage.has-home-hero #header .navbar .nav-btn,
  body.is-shared-hero-page #header .navbar .nav-btn,
  #body.is-shared-hero-page #header .navbar .nav-btn,
  body.is-article-page #header .navbar .nav-btn,
  #body.is-article-page #header .navbar .nav-btn {
    display: flex !important;
    position: fixed !important;
    top: 64px !important;
    right: -46px !important;
    height: 50px !important;
    max-width: 120px !important;
    transform: none !important;
    z-index: 7004 !important;
  }

  body.is-homepage.has-home-hero #header .navbar #nav-check,
  #body.is-homepage.has-home-hero #header .navbar #nav-check,
  body.is-shared-hero-page #header .navbar #nav-check,
  #body.is-shared-hero-page #header .navbar #nav-check,
  body.is-article-page #header .navbar #nav-check,
  #body.is-article-page #header .navbar #nav-check {
    display: block !important;
    position: fixed !important;
    top: 64px !important;
    right: 0 !important;
    width: 74px !important;
    height: 54px !important;
    opacity: 0 !important;
    z-index: 7005 !important;
    cursor: pointer !important;
  }

  body.is-homepage.has-home-hero #header .navbar .box-item,
  #body.is-homepage.has-home-hero #header .navbar .box-item,
  body.is-shared-hero-page #header .navbar .box-item,
  #body.is-shared-hero-page #header .navbar .box-item,
  body.is-article-page #header .navbar .box-item,
  #body.is-article-page #header .navbar .box-item {
    position: fixed !important;
    top: 138px !important;
    left: 50% !important;
    right: auto !important;
    width: min(420px, calc(100vw - 32px)) !important;
    max-width: calc(100vw - 32px) !important;
    height: 0 !important;
    max-height: calc(100vh - 158px) !important;
    overflow: hidden !important;
    opacity: 0 !important;
    pointer-events: none !important;
    transform: translateX(-50%) !important;
    z-index: 7003 !important;
  }

  body.is-homepage.has-home-hero #header .navbar #nav-check:checked ~ .box-item,
  #body.is-homepage.has-home-hero #header .navbar #nav-check:checked ~ .box-item,
  body.is-shared-hero-page #header .navbar #nav-check:checked ~ .box-item,
  #body.is-shared-hero-page #header .navbar #nav-check:checked ~ .box-item,
  body.is-article-page #header .navbar #nav-check:checked ~ .box-item,
  #body.is-article-page #header .navbar #nav-check:checked ~ .box-item {
    display: block !important;
    height: auto !important;
    min-height: 220px !important;
    max-height: calc(100vh - 158px) !important;
    overflow-y: auto !important;
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
  }

  body.is-homepage.has-home-hero .article-hero-stage--home .article-hero-copy,
  #body.is-homepage.has-home-hero .article-hero-stage--home .article-hero-copy {
    top: 218px !important;
    left: 50% !important;
    right: auto !important;
    width: min(760px, calc(100vw - 96px)) !important;
    transform: translateX(-50%) !important;
    text-align: center !important;
  }
}

/* Desktop */
@media screen and (min-width: 1221px) {
  body.is-homepage.has-home-hero #header .nav-logo,
  #body.is-homepage.has-home-hero #header .nav-logo,
  body.is-shared-hero-page #header .nav-logo,
  #body.is-shared-hero-page #header .nav-logo,
  body.is-article-page #header .nav-logo,
  #body.is-article-page #header .nav-logo {
    position: relative !important;
    top: auto !important;
    left: auto !important;
    float: left !important;
    width: 219px !important;
    height: 146px !important;
    margin: 0 !important;
    background-size: contain !important;
    background-position: center center !important;
    background-repeat: no-repeat !important;
  }

  body.is-homepage.has-home-hero #header .navbar .nav-btn,
  #body.is-homepage.has-home-hero #header .navbar .nav-btn,
  body.is-shared-hero-page #header .navbar .nav-btn,
  #body.is-shared-hero-page #header .navbar .nav-btn,
  body.is-article-page #header .navbar .nav-btn,
  #body.is-article-page #header .navbar .nav-btn {
    display: none !important;
  }
}

.gr-contact-module__inner {
  position: relative;
  padding: 36px;
  background: linear-gradient(180deg, rgba(28, 28, 28, 0.96), rgba(18, 18, 18, 0.98));
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.28);
  overflow: hidden;
}

.gr-contact-module__inner::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 3px;
  background: linear-gradient(90deg, #118ef5, #43b1ff 35%, #f4b140 100%);
}

.gr-contact-module__intro {
  max-width: 720px;
  margin: 0 auto 34px;
  text-align: center;
}

/* Homepage tablet/compact desktop: keep only one hero headline and prevent feature overlap. */
@media screen and (min-width: 901px) and (max-width: 1220px) and (hover: hover) and (pointer: fine) {
  body.is-homepage.has-home-hero .article-hero-stage--home .article-hero-title-slot,
  #body.is-homepage.has-home-hero .article-hero-stage--home .article-hero-title-slot,
  body.is-homepage.has-home-hero .article-hero-stage--home .article-hero-title-slot h1,
  #body.is-homepage.has-home-hero .article-hero-stage--home .article-hero-title-slot h1,
  body.is-homepage.has-home-hero .article-hero-stage--home .article-hero-description,
  #body.is-homepage.has-home-hero .article-hero-stage--home .article-hero-description {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
  }

  body.is-homepage.has-home-hero .article-hero-stage--home .article-hero-copy,
  #body.is-homepage.has-home-hero .article-hero-stage--home .article-hero-copy {
    top: 218px !important;
    left: 50% !important;
    right: auto !important;
    width: min(760px, calc(100vw - 96px)) !important;
    transform: translateX(-50%) !important;
    text-align: center !important;
    z-index: 980 !important;
  }

  body.is-homepage.has-home-hero .article-hero-stage--home .article-hero-title-slot h1,
  #body.is-homepage.has-home-hero .article-hero-stage--home .article-hero-title-slot h1 {
    width: 100% !important;
    font-size: clamp(36px, 4.8vw, 56px) !important;
    line-height: 1.04 !important;
    text-align: center !important;
  }

  body.is-homepage.has-home-hero .article-hero-stage--home .article-hero-description,
  #body.is-homepage.has-home-hero .article-hero-stage--home .article-hero-description {
    width: min(640px, 100%) !important;
    margin: 14px auto 0 !important;
    font-size: clamp(14px, 1.45vw, 17px) !important;
    line-height: 1.45 !important;
    text-align: center !important;
  }

  body.is-homepage.has-home-hero .home-hero-intro,
  #body.is-homepage.has-home-hero .home-hero-intro {
    display: block !important;
    width: min(94%, 980px) !important;
    margin: 30px auto 42px !important;
    padding: 0 !important;
    position: relative !important;
    z-index: 40 !important;
  }

  body.is-homepage.has-home-hero .home-hero-intro > .home-hero-copy,
  #body.is-homepage.has-home-hero .home-hero-intro > .home-hero-copy {
    display: none !important;
  }

  body.is-homepage.has-home-hero .home-hero-features,
  #body.is-homepage.has-home-hero .home-hero-features {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 24px !important;
    width: 100% !important;
    max-width: 900px !important;
    margin: 0 auto !important;
    align-items: start !important;
  }

  body.is-homepage.has-home-hero .home-hero-feature,
  #body.is-homepage.has-home-hero .home-hero-feature {
    min-width: 0 !important;
    text-align: center !important;
  }

  body.is-homepage.has-home-hero .home-hero-feature::before,
  #body.is-homepage.has-home-hero .home-hero-feature::before {
    width: 42px !important;
    height: 42px !important;
    margin: 0 auto 12px !important;
  }

  body.is-homepage.has-home-hero .home-hero-feature-title,
  #body.is-homepage.has-home-hero .home-hero-feature-title {
    display: block !important;
    max-width: 100% !important;
    margin: 0 0 8px !important;
    font-size: clamp(22px, 2.35vw, 30px) !important;
    line-height: 1.06 !important;
    letter-spacing: 0 !important;
    text-align: center !important;
    white-space: normal !important;
    overflow-wrap: anywhere !important;
  }

  body.is-homepage.has-home-hero .home-hero-feature-text,
  #body.is-homepage.has-home-hero .home-hero-feature-text {
    font-size: clamp(13px, 1.35vw, 15px) !important;
    line-height: 1.45 !important;
    text-align: center !important;
  }

  body.is-homepage.has-home-hero #header .nav-logo,
  #body.is-homepage.has-home-hero #header .nav-logo,
  body.is-homepage.has-home-hero #header.is-hero-fade-ready .nav-logo,
  #body.is-homepage.has-home-hero #header.is-hero-fade-ready .nav-logo {
    position: relative !important;
    top: auto !important;
    left: auto !important;
    float: left !important;
    width: 150px !important;
    height: 100px !important;
    margin: 20px 0 0 max(46px, calc((100vw - 1180px) / 2 + 28px)) !important;
    transform: none !important;
    background-size: contain !important;
    background-position: center !important;
    background-repeat: no-repeat !important;
    z-index: 7002 !important;
  }

  body.is-homepage.has-home-hero #header .navbar .nav-btn,
  #body.is-homepage.has-home-hero #header .navbar .nav-btn,
  body.is-homepage.has-home-hero #header.is-hero-fade-ready .navbar .nav-btn,
  #body.is-homepage.has-home-hero #header.is-hero-fade-ready .navbar .nav-btn {
    display: flex !important;
    position: fixed !important;
    top: 64px !important;
    right: -46px !important;
    height: 50px !important;
    max-width: 120px !important;
    transform: none !important;
    z-index: 7004 !important;
  }

  body.is-homepage.has-home-hero #header .navbar #nav-check,
  #body.is-homepage.has-home-hero #header .navbar #nav-check,
  body.is-homepage.has-home-hero #header.is-hero-fade-ready .navbar #nav-check,
  #body.is-homepage.has-home-hero #header.is-hero-fade-ready .navbar #nav-check {
    display: block !important;
    position: fixed !important;
    top: 64px !important;
    right: 0 !important;
    width: 74px !important;
    height: 54px !important;
    opacity: 0 !important;
    z-index: 7005 !important;
    cursor: pointer !important;
  }

  body.is-homepage.has-home-hero #header .navbar .box-item,
  #body.is-homepage.has-home-hero #header .navbar .box-item,
  body.is-homepage.has-home-hero #header.is-hero-fade-ready .navbar .box-item,
  #body.is-homepage.has-home-hero #header.is-hero-fade-ready .navbar .box-item {
    position: fixed !important;
    top: 138px !important;
    left: 50% !important;
    right: auto !important;
    width: min(420px, calc(100vw - 32px)) !important;
    max-width: calc(100vw - 32px) !important;
    height: 0 !important;
    max-height: calc(100vh - 158px) !important;
    overflow: hidden !important;
    opacity: 0 !important;
    pointer-events: none !important;
    transform: translateX(-50%) !important;
    z-index: 7003 !important;
  }

  body.is-homepage.has-home-hero #header .navbar #nav-check:checked ~ .box-item,
  #body.is-homepage.has-home-hero #header .navbar #nav-check:checked ~ .box-item,
  body.is-homepage.has-home-hero #header.is-hero-fade-ready .navbar #nav-check:checked ~ .box-item,
  #body.is-homepage.has-home-hero #header.is-hero-fade-ready .navbar #nav-check:checked ~ .box-item {
    display: block !important;
    height: auto !important;
    min-height: 220px !important;
    max-height: calc(100vh - 158px) !important;
    overflow-y: auto !important;
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
  }
}

.gr-contact-module__eyebrow {
  margin: 0 0 10px;
  color: #2ea7ff;
  font: 400 13px/1 'Cal Sans', Arial, Helvetica, sans-serif;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.gr-contact-module__title {
  margin: 0;
  color: #fff;
  font-family: 'Cal Sans', Arial, Helvetica, sans-serif;
  font-size: clamp(44px, 6vw, 72px);
  font-weight: 700;
  line-height: 1.02;
}

.gr-contact-module__text {
  margin: 18px auto 0;
  max-width: 66ch;
  color: rgba(255, 255, 255, 0.78);
  font-size: 17px;
  line-height: 1.72;
  text-align: center;
  text-indent: 0;
}

.gr-contact-module__flash {
  margin: 0 0 18px;
  padding: 14px 18px;
  color: #fff;
  background: rgba(17, 142, 245, 0.18);
  border-left: 4px solid #2ea7ff;
}

.gr-contact-module__flash.is-success {
  background: rgba(41, 138, 91, 0.18);
  border-left-color: #44d08d;
}

.gr-contact-module__flash.is-warning {
  background: rgba(244, 177, 64, 0.16);
  border-left-color: #f4b140;
}

.gr-contact-module__flash.is-error {
  background: rgba(220, 58, 58, 0.16);
  border-left-color: #ff6868;
}

.gr-contact-form {
  display: grid;
  gap: 22px;
}

.gr-contact-form__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.gr-contact-form__field {
  display: grid;
  gap: 10px;
}

.gr-contact-form__field--full {
  grid-column: 1 / -1;
}

.gr-contact-form__field span,
.gr-contact-form__upload-label {
  color: #fff;
  font: 400 17px/1.2 'Cal Sans', Arial, Helvetica, sans-serif;
}

.gr-contact-form__upload-note {
  display: block;
  margin-top: 6px;
  color: rgba(255, 255, 255, 0.6);
  font-size: 14px;
  line-height: 1.5;
}

.gr-contact-form input[type="text"],
.gr-contact-form input[type="email"],
.gr-contact-form textarea {
  width: 100%;
  min-height: 58px;
  padding: 16px 18px;
  color: #fff;
  background: rgba(14, 14, 14, 0.92);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 0;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
  box-sizing: border-box;
}

.gr-contact-form textarea {
  min-height: 180px;
  resize: vertical;
}

.gr-contact-form input[type="text"]:focus,
.gr-contact-form input[type="email"]:focus,
.gr-contact-form textarea:focus,
.gr-contact-form input[type="file"]:focus {
  border-color: #2ea7ff;
  box-shadow: 0 0 0 2px rgba(46, 167, 255, 0.14);
}

.gr-contact-form input[type="file"] {
  width: 100%;
  padding: 14px 16px;
  color: #fff;
  background: rgba(14, 14, 14, 0.92);
  border: 1px dashed rgba(255, 255, 255, 0.18);
  box-sizing: border-box;
}

.gr-contact-form__files {
  margin-top: -8px;
  color: rgba(255, 255, 255, 0.68);
  font-size: 14px;
  line-height: 1.5;
  word-break: break-word;
}

.gr-contact-form__captcha {
  display: flex;
  justify-content: flex-start;
}

.gr-contact-form__field--captcha .cimage {
  display: block;
  margin-top: 12px;
}

.gr-contact-form__footer {
  display: grid;
  gap: 14px;
  justify-items: start;
}

.gr-contact-form__submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 0 28px;
  color: #fff;
  background: linear-gradient(135deg, #0099ff, #0066cc);
  border: 0;
  border-radius: 8px;
  box-shadow: 0 12px 28px rgba(0, 77, 153, 0.34);
  font: 400 20px/1 'Cal Sans', Arial, Helvetica, sans-serif;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
}

.gr-contact-form__submit:hover,
.gr-contact-form__submit:focus {
  transform: translateY(-1px);
  filter: brightness(1.06);
  box-shadow: 0 14px 34px rgba(0, 77, 153, 0.42);
}

.gr-contact-form__progress {
  width: min(100%, 360px);
  height: 8px;
  background: rgba(255, 255, 255, 0.08);
  overflow: hidden;
}

.gr-contact-form__progress span {
  display: block;
  width: 0;
  height: 100%;
  background: linear-gradient(90deg, #2ea7ff, #79c7ff);
  transition: width 0.18s ease;
}

.gr-contact-form__trap {
  position: absolute !important;
  left: -9999px !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

.gr-contact-form__field--captcha small {
  display: block;
  margin-top: 8px;
  color: rgba(255, 255, 255, .58);
  font-size: 13px;
  line-height: 1.45;
}

@media (max-width: 900px) {
  .gr-contact-module {
    margin: 40px auto;
  }

  .gr-contact-module__inner {
    padding: 24px 20px;
  }

  .gr-contact-form__grid {
    grid-template-columns: 1fr;
  }

  .gr-contact-form__footer {
    justify-items: stretch;
  }

  .gr-contact-form__submit,
  .gr-contact-form__progress {
    width: 100%;
  }
}

.gr-contact-page {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto 72px;
  color: inherit;
}

.gr-contact-intro {
  max-width: 820px;
  margin: 42px auto 38px;
  text-align: center;
}

.gr-contact-kicker {
  margin: 0 0 10px;
  color: #1a8ee3;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  text-indent: 0;
}

.gr-contact-intro h1 {
  margin: 0 0 18px;
  color: #fff;
  font-size: clamp(42px, 6vw, 76px);
  line-height: 1.02;
  font-weight: 400;
}

.gr-contact-intro p {
  margin: 0 auto;
  max-width: 760px;
  color: rgba(255, 255, 255, .84);
  font-size: clamp(17px, 2vw, 22px);
  line-height: 1.65;
  text-indent: 0;
}

.gr-contact-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 18px;
  margin: 42px 0;
}

.gr-contact-card,
.gr-contact-form-block,
.gr-contact-cta {
  border: 1px solid rgba(255, 255, 255, .12);
  background: rgba(18, 18, 18, .62);
  box-shadow: 0 18px 42px rgba(0, 0, 0, .24);
  backdrop-filter: blur(8px);
}

.gr-contact-card {
  min-height: 220px;
  padding: 24px 22px;
  border-radius: 8px;
  transition: transform .22s ease, border-color .22s ease, background .22s ease;
}

.gr-contact-card:hover {
  transform: translateY(-4px);
  border-color: rgba(26, 142, 227, .45);
  background: rgba(24, 24, 24, .78);
}

.gr-contact-card h2,
.gr-contact-form-block h2 {
  margin: 0 0 14px;
  color: #fff;
  font-size: 26px;
  line-height: 1.15;
  font-weight: 400;
}

.gr-contact-card p,
.gr-contact-form-block p,
.gr-contact-cta p {
  margin: 0 0 20px;
  color: rgba(255, 255, 255, .78);
  font-size: 15px;
  line-height: 1.65;
  text-indent: 0;
}

.gr-contact-card a,
.gr-contact-cta a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 10px 16px;
  border: 1px solid rgba(26, 142, 227, .45);
  border-radius: 6px;
  background: rgba(26, 142, 227, .14);
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
  transition: background .2s ease, border-color .2s ease, transform .2s ease;
}

.gr-contact-card a:hover,
.gr-contact-cta a:hover {
  background: rgba(26, 142, 227, .28);
  border-color: rgba(26, 142, 227, .8);
  transform: translateY(-1px);
}

.gr-contact-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.gr-contact-form-block {
  margin: 54px auto 34px;
  padding: clamp(26px, 4vw, 46px);
  border-radius: 8px;
  scroll-margin-top: 140px;
}

.gr-contact-form-block h2,
.gr-contact-form-block p {
  text-align: center;
}

.gr-contact-cta {
  max-width: 860px;
  margin: 42px auto 0;
  padding: clamp(26px, 4vw, 44px);
  border-radius: 8px;
  text-align: center;
}

.gr-contact-cta p {
  max-width: 680px;
  margin: 0 auto 24px;
  font-size: clamp(17px, 2vw, 22px);
}

@media (max-width: 1180px) {
  .gr-contact-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .gr-contact-card:last-child {
    grid-column: 1 / -1;
  }
}

@media (max-width: 680px) {
  .gr-contact-page {
    width: min(100%, calc(100% - 24px));
    margin-bottom: 48px;
  }

  .gr-contact-intro {
    margin-top: 28px;
    text-align: left;
  }

  .gr-contact-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .gr-contact-card,
  .gr-contact-form-block,
  .gr-contact-cta {
    border-radius: 6px;
  }

  .gr-contact-card {
    min-height: 0;
    padding: 22px 18px;
  }

  .gr-contact-card:last-child {
    grid-column: auto;
  }

  .gr-contact-form-block h2,
  .gr-contact-form-block p,
  .gr-contact-cta {
    text-align: left;
  }

  .gr-contact-cta a {
    width: 100%;
  }
}


/* === layout_max_gr6.16-archive-index.css === */
.gr-archive-index {
  width: min(100%, 1700px);
  margin: 24px auto 72px;
}

.gr-archive-index__hero {
  display: grid;
  grid-template-columns: minmax(0, 1.7fr) minmax(280px, .8fr);
  gap: 24px;
  align-items: end;
  margin-bottom: 26px;
}

.gr-archive-index__eyebrow {
  margin: 0 0 10px;
  color: #2ea7ff;
  font: 400 13px/1 'Cal Sans', Arial, Helvetica, sans-serif;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.gr-archive-index__title {
  margin: 0;
  color: #ffffff;
  font: 400 clamp(34px, 4vw, 58px)/1.03 'Cal Sans', Arial, Helvetica, sans-serif;
}

.gr-archive-index__text {
  margin: 16px 0 0;
  max-width: 68ch;
  color: rgba(255, 255, 255, .78);
  font-size: 17px;
  line-height: 1.72;
}

.gr-archive-index__stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.gr-archive-index__stat {
  padding: 18px 18px 16px;
  background: linear-gradient(180deg, rgba(32, 34, 38, .98), rgba(18, 18, 18, .98));
  border: 1px solid rgba(255, 255, 255, .08);
  box-shadow: 0 18px 34px rgba(0, 0, 0, .24);
}

.gr-archive-index__stat-number {
  display: block;
  color: #fff;
  font: 400 clamp(28px, 3.2vw, 42px)/1 'Cal Sans', Arial, Helvetica, sans-serif;
}

.gr-archive-index__stat-label {
  display: block;
  margin-top: 8px;
  color: rgba(255, 255, 255, .62);
  font-size: 13px;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.gr-archive-index__toolbar {
  display: flex;
  gap: 14px;
  align-items: end;
  margin-bottom: 28px;
}

.gr-archive-index__search {
  flex: 1 1 auto;
  display: grid;
  gap: 10px;
}

.gr-archive-index__search span {
  color: #fff;
  font: 400 16px/1.2 'Cal Sans', Arial, Helvetica, sans-serif;
}

.gr-archive-index__search input {
  width: 100%;
  min-height: 58px;
  padding: 0 18px;
  color: #fff;
  background: rgba(14, 14, 14, .92);
  border: 1px solid rgba(255, 255, 255, .12);
  outline: none;
  box-sizing: border-box;
  transition: border-color .2s ease, box-shadow .2s ease;
}

.gr-archive-index__search input:focus {
  border-color: #2ea7ff;
  box-shadow: 0 0 0 2px rgba(46, 167, 255, .14);
}

.gr-archive-index__clear {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 58px;
  padding: 0 22px;
  color: #fff;
  background: rgba(255, 255, 255, .08);
  border: 1px solid rgba(255, 255, 255, .12);
  font: 400 16px/1 'Cal Sans', Arial, Helvetica, sans-serif;
  cursor: pointer;
  transition: background .2s ease, border-color .2s ease;
}

.gr-archive-index__clear:hover,
.gr-archive-index__clear:focus {
  background: rgba(46, 167, 255, .16);
  border-color: rgba(46, 167, 255, .42);
}

.gr-archive-index__years {
  display: grid;
  gap: 18px;
}

.gr-archive-year {
  padding: 22px;
  background: linear-gradient(180deg, rgba(28, 28, 28, .98), rgba(18, 18, 18, .98));
  border: 1px solid rgba(255, 255, 255, .08);
  box-shadow: 0 18px 34px rgba(0, 0, 0, .24);
}

.gr-archive-year__header {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 18px;
}

.gr-archive-year__title {
  margin: 0;
  color: #ffffff;
  font: 400 clamp(28px, 3vw, 40px)/1 'Cal Sans', Arial, Helvetica, sans-serif;
}

.gr-archive-year__meta {
  margin: 8px 0 0;
  color: rgba(255, 255, 255, .62);
  font-size: 14px;
}

.gr-archive-year__months {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.gr-archive-month {
  background: rgba(255, 255, 255, .03);
  border: 1px solid rgba(255, 255, 255, .06);
}

.gr-archive-month__summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 16px 18px;
  color: #fff;
  cursor: pointer;
  list-style: none;
}

.gr-archive-month__summary::-webkit-details-marker {
  display: none;
}

.gr-archive-month__name {
  font: 400 22px/1.1 'Cal Sans', Arial, Helvetica, sans-serif;
}

.gr-archive-month__count {
  display: inline-flex;
  min-width: 34px;
  height: 34px;
  align-items: center;
  justify-content: center;
  padding: 0 10px;
  color: #fff;
  background: rgba(46, 167, 255, .18);
  border: 1px solid rgba(46, 167, 255, .3);
  font: 400 15px/1 'Cal Sans', Arial, Helvetica, sans-serif;
}

.gr-archive-month__list {
  margin: 0;
  padding: 0 18px 18px;
  list-style: none;
}

.gr-archive-article + .gr-archive-article {
  margin-top: 8px;
}

.gr-archive-article__link {
  display: block;
  padding: 14px 16px;
  text-decoration: none;
  background: rgba(255, 255, 255, .04);
  border: 1px solid rgba(255, 255, 255, .06);
  transition: transform .2s ease, border-color .2s ease, background .2s ease;
}

.gr-archive-article__link:hover,
.gr-archive-article__link:focus {
  transform: translateY(-1px);
  background: rgba(46, 167, 255, .11);
  border-color: rgba(46, 167, 255, .34);
}

.gr-archive-article__title {
  display: block;
  color: #f7fbff;
  font: 400 20px/1.28 'Cal Sans', Arial, Helvetica, sans-serif;
}

.gr-archive-article__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 10px;
}

.gr-archive-article__date,
.gr-archive-article__category {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 10px;
  color: rgba(255, 255, 255, .78);
  background: rgba(255, 255, 255, .06);
  border: 1px solid rgba(255, 255, 255, .08);
  font-size: 13px;
}

.gr-archive-index__no-results,
.gr-archive-index__empty {
  margin: 18px 0 0;
  color: rgba(255, 255, 255, .78);
  font-size: 16px;
}

@media (max-width: 1100px) {
  .gr-archive-index__hero,
  .gr-archive-year__months {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .gr-archive-index {
    margin: 20px auto 48px;
  }

  .gr-archive-index__toolbar {
    flex-direction: column;
    align-items: stretch;
  }

  .gr-archive-index__clear {
    width: 100%;
  }

  .gr-archive-year {
    padding: 18px;
  }

  .gr-archive-month__summary {
    padding: 14px 16px;
  }

  .gr-archive-month__name {
    font-size: 20px;
  }

  .gr-archive-month__list {
    padding: 0 16px 16px;
  }

  .gr-archive-article__title {
    font-size: 18px;
  }
}


/* === layout_max_gr6.17-services-page.css === */
body.t-page.p-nabidka-sluzeb .foto-service-block,
body.t-page.p-nabidka-sluzeb .service-contact-block {
  width: min(92%, 1200px);
  margin: 42px auto 56px;
}

body.t-page.p-nabidka-sluzeb .foto-service-block {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
  gap: 46px;
  align-items: center;
}

body.t-page.p-nabidka-sluzeb .foto-service-kicker {
  margin: 0 0 10px;
  color: #1a8ee3;
  font-family: 'Cal Sans', Arial, sans-serif;
  font-size: 14px;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0;
}

body.t-page.p-nabidka-sluzeb .foto-service-block h2,
body.t-page.p-nabidka-sluzeb .service-contact-block h2 {
  margin: 0 0 18px;
  color: #ffffff;
  font-family: 'Cal Sans', Arial, sans-serif;
  font-size: clamp(34px, 5vw, 54px);
  line-height: 1.02;
  font-weight: 400;
  letter-spacing: 0;
  text-align: left;
}

body.t-page.p-nabidka-sluzeb .foto-service-copy p,
body.t-page.p-nabidka-sluzeb .service-contact-head p {
  margin: 0 0 18px;
  color: #d7d7d7;
  font-size: 17px;
  line-height: 1.8;
}

body.t-page.p-nabidka-sluzeb .foto-service-copy strong,
body.t-page.p-nabidka-sluzeb .service-contact-head strong {
  color: #4eb6ff !important;
  font-weight: 700;
}

body.t-page.p-nabidka-sluzeb .foto-service-media {
  text-align: center;
}

body.t-page.p-nabidka-sluzeb .foto-service-media a {
  display: block;
  text-decoration: none;
}

body.t-page.p-nabidka-sluzeb .foto-service-media img {
  display: block;
  width: 100%;
  max-width: 520px;
  margin: 0 auto;
  height: auto;
  transition: transform .25s ease;
}

body.t-page.p-nabidka-sluzeb .foto-service-media img:hover {
  transform: translateY(-2px);
}

body.t-page.p-nabidka-sluzeb .foto-service-actions {
  margin-top: 28px;
  text-align: left;
}

body.t-page.p-nabidka-sluzeb .foto-service-btn,
body.t-page.p-nabidka-sluzeb .service-contact-block .contact-form-submit,
body.t-page.p-nabidka-sluzeb .service-contact-block button[type="submit"],
body.t-page.p-nabidka-sluzeb .service-contact-block input[type="submit"],
body.t-page.p-nabidka-sluzeb .service-contact-block .gr-contact-form__submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 12px 24px;
  background: #1a8ee3;
  color: #ffffff !important;
  font-family: 'Cal Sans', Arial, sans-serif;
  font-size: 18px;
  font-weight: 400;
  text-decoration: none !important;
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 8px;
  box-shadow: none;
  transition: background .2s ease, transform .2s ease;
}

body.t-page.p-nabidka-sluzeb .foto-service-btn:hover,
body.t-page.p-nabidka-sluzeb .service-contact-block .contact-form-submit:hover,
body.t-page.p-nabidka-sluzeb .service-contact-block button[type="submit"]:hover,
body.t-page.p-nabidka-sluzeb .service-contact-block input[type="submit"]:hover,
body.t-page.p-nabidka-sluzeb .service-contact-block .gr-contact-form__submit:hover {
  background: #33aaff;
  transform: translateY(-1px);
}

body.t-page.p-nabidka-sluzeb .service-contact-block {
  padding-top: 8px;
  border-top: 1px solid rgba(255,255,255,.08);
}

body.t-page.p-nabidka-sluzeb .service-contact-head {
  max-width: 900px;
  margin-bottom: 30px;
}

body.t-page.p-nabidka-sluzeb .service-contact-block .gr-contact-module__intro {
  display: none;
}

body.t-page.p-nabidka-sluzeb .service-contact-block .gr-contact-module,
body.t-page.p-nabidka-sluzeb .service-contact-block .gr-contact-module__inner,
body.t-page.p-nabidka-sluzeb .service-contact-block .gr-contact-form,
body.t-page.p-nabidka-sluzeb .service-contact-block form {
  width: 100%;
  max-width: 100%;
}

body.t-page.p-nabidka-sluzeb .service-contact-block input,
body.t-page.p-nabidka-sluzeb .service-contact-block textarea,
body.t-page.p-nabidka-sluzeb .service-contact-block select {
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.12);
  color: #ffffff;
  border-radius: 8px;
}

body.t-page.p-nabidka-sluzeb .service-contact-block input:focus,
body.t-page.p-nabidka-sluzeb .service-contact-block textarea:focus,
body.t-page.p-nabidka-sluzeb .service-contact-block select:focus {
  border-color: #1a8ee3;
  box-shadow: 0 0 0 2px rgba(26,142,227,.18);
}

body.t-page.p-nabidka-sluzeb .service-contact-block .form-message {
  display: none;
  position: fixed;
  top: 25px;
  right: 25px;
  background: #1f2328;
  padding: 18px 24px;
  border-radius: 8px;
  color: #fff;
  border-left: 4px solid #1a8ee3;
  box-shadow: 0 10px 28px rgba(0,0,0,.35);
  opacity: 0;
  transform: translateY(-20px);
  transition: .4s ease;
  z-index: 9999;
}

body.t-page.p-nabidka-sluzeb .service-contact-block .form-message.show {
  opacity: 1;
  transform: translateY(0);
}

body.t-page.p-nabidka-sluzeb .service-contact-block .close-message {
  float: right;
  cursor: pointer;
  font-size: 22px;
  margin-left: 10px;
  color: #fff;
}

@media (max-width: 900px) {
  body.t-page.p-nabidka-sluzeb .foto-service-block {
    grid-template-columns: 1fr;
    gap: 28px;
    align-items: start;
  }

  body.t-page.p-nabidka-sluzeb .foto-service-block,
  body.t-page.p-nabidka-sluzeb .service-contact-block {
    width: min(94%, 1200px);
    margin: 30px auto 42px;
  }

  body.t-page.p-nabidka-sluzeb .foto-service-copy p,
  body.t-page.p-nabidka-sluzeb .service-contact-head p {
    font-size: 16px;
    line-height: 1.7;
  }

  body.t-page.p-nabidka-sluzeb .foto-service-media img {
    max-width: 100%;
  }

  body.t-page.p-nabidka-sluzeb .foto-service-actions {
    text-align: left;
  }

  body.t-page.p-nabidka-sluzeb .foto-service-btn,
  body.t-page.p-nabidka-sluzeb .service-contact-block .contact-form-submit,
  body.t-page.p-nabidka-sluzeb .service-contact-block button[type="submit"],
  body.t-page.p-nabidka-sluzeb .service-contact-block input[type="submit"],
  body.t-page.p-nabidka-sluzeb .service-contact-block .gr-contact-form__submit {
    width: 100%;
  }
}


/* === layout_max_gr6.18-search-form.css === */
form.searchform {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 12px;
  width: min(100%, 760px);
  margin: 18px auto 26px;
}

form.searchform input[type="search"],
form.searchform .search-query {
  flex: 1 1 320px;
  min-height: 54px;
  padding: 0 18px;
  background: rgba(255, 255, 255, .04);
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 8px;
  color: #ffffff;
  font-size: 16px;
  line-height: 1;
  box-shadow: none;
  outline: none;
  transition: border-color .2s ease, box-shadow .2s ease, background .2s ease;
}

form.searchform input[type="search"]::placeholder,
form.searchform .search-query::placeholder {
  color: #9da8b3;
}

form.searchform input[type="search"]:focus,
form.searchform .search-query:focus {
  border-color: #1a8ee3;
  background: rgba(255, 255, 255, .05);
  box-shadow: 0 0 0 2px rgba(26, 142, 227, .18);
}

form.searchform input[type="submit"],
form.searchform button[type="submit"] {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 148px;
  min-height: 54px;
  padding: 0 24px;
  background: #1a8ee3;
  border: 1px solid rgba(255, 255, 255, .08);
  border-radius: 8px;
  color: #ffffff !important;
  font-family: 'Cal Sans', Arial, sans-serif;
  font-size: 18px;
  font-weight: 400;
  line-height: 1;
  text-decoration: none !important;
  box-shadow: none;
  cursor: pointer;
  transition: background .2s ease, transform .2s ease, border-color .2s ease;
}

form.searchform input[type="submit"]:hover,
form.searchform input[type="submit"]:focus,
form.searchform button[type="submit"]:hover,
form.searchform button[type="submit"]:focus {
  background: #33aaff;
  border-color: rgba(78, 182, 255, .35);
  transform: translateY(-1px);
}

@media (max-width: 700px) {
  form.searchform {
    width: 100%;
    gap: 10px;
  }

  form.searchform input[type="search"],
  form.searchform .search-query,
  form.searchform input[type="submit"],
  form.searchform button[type="submit"] {
    width: 100%;
  }

  form.searchform input[type="submit"],
  form.searchform button[type="submit"] {
    min-width: 0;
  }
}


/* === article-inline-photos.css === */
/* Article photos should behave like compact thumbnails, not full-width blocks. */
.article-content {
  overflow-wrap: break-word;
}

.article-content p:has(> a.article-inline-photo) {
  display: block;
  text-align: center;
  margin: 28px auto;
  max-width: 100%;
}

.article-content p > a.article-inline-photo {
  display: inline-block;
  width: min(220px, calc((100% - 28px) / 3));
  max-width: 100%;
  margin: 0 5px 12px;
  vertical-align: top;
}

.article-content p > a.article-inline-photo img:not([style*="width"]):not([width]) {
  display: block;
  box-sizing: border-box;
  width: 100% !important;
  max-width: 100% !important;
  height: auto !important;
  margin: 0 !important;
  object-fit: contain;
}

/* About page admin content */
.gr-about-page {
  width: min(1240px, calc(100% - 32px));
  margin: 0 auto 86px;
  color: inherit;
}

.gr-about-hero {
  position: relative;
  max-width: 980px;
  margin: 48px auto 64px;
  padding: clamp(30px, 4vw, 54px);
  border-left: 2px solid rgba(26, 142, 227, .75);
  background: linear-gradient(90deg, rgba(26, 142, 227, .11), rgba(18, 18, 18, 0) 72%);
  text-align: left;
}

.gr-about-hero::after {
  content: "";
  position: absolute;
  right: 10%;
  bottom: 10%;
  width: 160px;
  height: 1px;
  background: rgba(255, 255, 255, .2);
}

.gr-about-kicker {
  margin: 0 0 10px;
  color: #1a8ee3;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  text-indent: 0;
}

.gr-about-hero h1 {
  margin: 0 0 22px;
  color: #fff;
  font-size: clamp(52px, 7vw, 92px);
  font-weight: 400;
  line-height: 1.02;
}

.gr-about-lead {
  margin: 0 0 16px;
  max-width: 840px;
  color: rgba(255, 255, 255, .86);
  font-size: clamp(18px, 2vw, 24px);
  line-height: 1.62;
  text-indent: 0;
}

.gr-about-section {
  margin: 54px 0;
}

.gr-about-panel,
.gr-about-card,
.gr-about-approach,
.gr-about-cta {
  border: 1px solid rgba(255, 255, 255, .12);
  background: linear-gradient(145deg, rgba(28, 28, 28, .72), rgba(12, 12, 12, .56));
  box-shadow: 0 22px 54px rgba(0, 0, 0, .28);
  backdrop-filter: blur(8px);
  border-radius: 8px;
}

.gr-about-panel {
  position: relative;
  padding: clamp(28px, 4vw, 48px);
  overflow: hidden;
}

.gr-about-panel::before,
.gr-about-approach::before,
.gr-about-cta::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 3px;
  background: linear-gradient(180deg, rgba(26, 142, 227, .85), rgba(26, 142, 227, 0));
}

.gr-about-section h2 {
  margin: 0 0 22px;
  color: #fff;
  font-size: clamp(30px, 4vw, 48px);
  font-weight: 400;
  line-height: 1.12;
}

.gr-about-section p {
  margin: 0 0 18px;
  color: rgba(255, 255, 255, .8);
  font-size: 17px;
  line-height: 1.72;
  text-indent: 0;
}

.gr-about-section p:last-child {
  margin-bottom: 0;
}

.gr-about-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 16px;
}

.gr-about-card {
  position: relative;
  min-height: 190px;
  padding: 26px 22px 24px;
  overflow: hidden;
  transition: transform .22s ease, border-color .22s ease, background .22s ease, box-shadow .22s ease;
}

.gr-about-card::before {
  content: "";
  position: absolute;
  top: 18px;
  right: 18px;
  width: 34px;
  height: 34px;
  border: 1px solid rgba(26, 142, 227, .34);
  border-radius: 50%;
  opacity: .75;
}

.gr-about-card::after {
  content: "";
  position: absolute;
  right: 34px;
  top: 35px;
  width: 46px;
  height: 1px;
  background: rgba(26, 142, 227, .34);
}

.gr-about-card:hover {
  transform: translateY(-5px);
  border-color: rgba(26, 142, 227, .5);
  background: linear-gradient(145deg, rgba(34, 34, 34, .86), rgba(14, 14, 14, .68));
  box-shadow: 0 26px 60px rgba(0, 0, 0, .36);
}

.gr-about-card h3 {
  margin: 0 0 12px;
  color: #fff;
  font-size: 22px;
  font-weight: 400;
  line-height: 1.18;
}

.gr-about-card p {
  margin: 0;
  font-size: 15px;
  line-height: 1.62;
}

.gr-about-approach {
  position: relative;
  padding: clamp(28px, 4vw, 46px);
  text-align: center;
  overflow: hidden;
}

.gr-about-approach p {
  max-width: 860px;
  margin-left: auto;
  margin-right: auto;
  font-size: clamp(18px, 2vw, 23px);
}

.gr-about-offer {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
}

.gr-about-offer span {
  display: block;
  padding: 20px 16px;
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: 6px;
  background: linear-gradient(135deg, rgba(26, 142, 227, .11), rgba(255, 255, 255, .035));
  color: rgba(255, 255, 255, .88);
  font-size: 16px;
  line-height: 1.4;
  text-align: center;
}

.gr-about-cta {
  position: relative;
  max-width: 920px;
  margin: 52px auto 0;
  padding: clamp(28px, 4vw, 46px);
  text-align: center;
  overflow: hidden;
}

.gr-about-cta p {
  max-width: 720px;
  margin: 0 auto 24px;
  color: rgba(255, 255, 255, .84);
  font-size: clamp(18px, 2vw, 23px);
  line-height: 1.62;
  text-indent: 0;
}

.gr-about-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}

.gr-about-actions a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 11px 18px;
  border: 1px solid rgba(26, 142, 227, .45);
  border-radius: 6px;
  background: rgba(26, 142, 227, .14);
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
  transition: background .2s ease, border-color .2s ease, transform .2s ease;
}

.gr-about-actions a:hover {
  background: rgba(26, 142, 227, .28);
  border-color: rgba(26, 142, 227, .8);
  transform: translateY(-1px);
}

@media (max-width: 1100px) {
  .gr-about-grid,
  .gr-about-offer {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

}

@media (max-width: 680px) {
  .gr-about-page {
    width: min(100%, calc(100% - 24px));
    margin-bottom: 50px;
  }

  .gr-about-hero {
    margin: 30px auto 38px;
    text-align: left;
  }

  .gr-about-grid,
  .gr-about-offer {
    grid-template-columns: 1fr;
  }

  .gr-about-panel,
  .gr-about-card,
  .gr-about-approach,
  .gr-about-cta {
    border-radius: 6px;
  }

  .gr-about-card {
    min-height: 0;
  }

  .gr-about-approach,
  .gr-about-cta {
    text-align: left;
  }

  .gr-about-actions a {
    width: 100%;
  }
}

.article-content p > a.article-inline-photo img[style*="width"],
.article-content p > a.article-inline-photo img[width] {
  display: block;
  box-sizing: border-box;
  max-width: 100% !important;
  height: auto !important;
  margin: 0 auto !important;
  object-fit: contain;
}

.article-content .gallery {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: center;
  gap: 12px;
  max-width: 100%;
  margin: 32px auto;
}

.article-content .gallery .paging {
  flex: 1 0 100%;
  margin: 0 0 10px;
}

.article-content .gallery a {
  flex: 0 1 180px;
  max-width: calc((100% - 24px) / 3);
}

.article-content .gallery a img {
  display: block;
  box-sizing: border-box;
  width: 100% !important;
  max-width: 100% !important;
  height: auto !important;
  margin: 0 !important;
}

.hcm-gallery-block,
.article-content .hcm-gallery-block {
  --hcm-gallery-gap: 14px;
  display: block !important;
  width: 100% !important;
  max-width: 100% !important;
  margin: 34px auto !important;
  text-align: center !important;
}

.hcm-gallery-paging,
.article-content .hcm-gallery-paging {
  display: block !important;
  width: 100% !important;
  max-width: 100% !important;
  margin: 0 auto 18px !important;
  text-align: center !important;
  clear: both !important;
}

.hcm-gallery-paging-bottom,
.article-content .hcm-gallery-paging-bottom {
  margin: 18px auto 0 !important;
}

.hcm-gallery-masonry,
.article-content .hcm-gallery-masonry {
  column-width: var(--hcm-gallery-thumb-width, 220px) !important;
  column-gap: var(--hcm-gallery-gap, 14px) !important;
  display: block !important;
  width: min(100%, var(--hcm-gallery-max-width, 1390px)) !important;
  max-width: min(100%, var(--hcm-gallery-max-width, 1390px)) !important;
  margin: 0 auto !important;
  text-align: center !important;
}

.hcm-gallery-masonry .paging,
.article-content .hcm-gallery-masonry .paging {
  break-inside: avoid !important;
  display: block !important;
  margin: 0 0 16px !important;
}

.hcm-gallery-masonry .hcm-gallery-item,
.article-content .hcm-gallery-masonry .hcm-gallery-item {
  break-inside: avoid !important;
  display: inline-block !important;
  width: var(--hcm-gallery-thumb-width, 220px) !important;
  max-width: 100% !important;
  margin: 0 0 var(--hcm-gallery-gap, 14px) !important;
  vertical-align: top !important;
}

.hcm-gallery-masonry .hcm-gallery-item img,
.article-content .hcm-gallery-masonry .hcm-gallery-item img {
  display: block;
  width: 100% !important;
  max-width: 100% !important;
  height: auto !important;
  border-radius: 6px;
  border: 2px solid #242424;
  background: #111;
  transition: border-color .25s ease, filter .25s ease, transform .25s ease;
}

.hcm-gallery-masonry .hcm-gallery-item:hover img,
.article-content .hcm-gallery-masonry .hcm-gallery-item:hover img {
  border-color: #666;
  filter: brightness(1.08);
  transform: translateY(-1px);
}

.article-content img.article-img-center,
.article-content img.article-img-wide {
  float: none !important;
  display: block;
  height: auto;
  margin: 24px auto;
}

.article-content img.article-img-center {
  max-width: min(680px, 100%);
}

.article-content img.article-img-wide {
  width: 100%;
  max-width: 100%;
}

.article-content img.article-img-left,
.article-content img[style*="float: left"],
.article-content img[style*="float:left"] {
  float: left;
  max-width: min(42%, 340px);
  height: auto;
  margin: 6px 22px 16px 0;
}

.article-content img.article-img-right,
.article-content img[style*="float: right"],
.article-content img[style*="float:right"] {
  float: right;
  max-width: min(42%, 340px);
  height: auto;
  margin: 6px 0 16px 22px;
}

@media (max-width: 780px) {
  .article-content p > a.article-inline-photo,
  .article-content .gallery a {
    width: min(46%, 220px);
    max-width: 46%;
  }

  .hcm-gallery-block,
  .article-content .hcm-gallery-block {
    --hcm-gallery-gap: 14px;
  }

  .hcm-gallery-masonry,
  .article-content .hcm-gallery-masonry {
    column-width: min(var(--hcm-gallery-thumb-width, 220px), 46vw) !important;
    column-gap: var(--hcm-gallery-gap, 14px) !important;
    width: min(100%, var(--hcm-gallery-max-width, 688px)) !important;
    max-width: min(100%, var(--hcm-gallery-max-width, 688px)) !important;
  }

  .hcm-gallery-masonry .hcm-gallery-item,
  .article-content .hcm-gallery-masonry .hcm-gallery-item {
    width: min(var(--hcm-gallery-thumb-width, 220px), 46vw) !important;
    max-width: 46vw !important;
    margin-bottom: var(--hcm-gallery-gap, 14px) !important;
  }

  .article-content img.article-img-left,
  .article-content img.article-img-right,
  .article-content img[style*="float: left"],
  .article-content img[style*="float:left"],
  .article-content img[style*="float: right"],
  .article-content img[style*="float:right"] {
    float: none;
    display: block;
    max-width: 100%;
    margin: 18px auto;
  }
}

body.is-article-page .kontent_1 > h1 {
	width: min(980px, 100%) !important;
	margin-bottom: 30px !important;
	font-family: 'Cal Sans', Arial, Helvetica, sans-serif !important;
	color: #fff4e6 !important;
	font-size: clamp(38px, 5.6vw, 76px) !important;
	line-height: 0.98 !important;
	font-weight: 300 !important;
}

body.is-article-page .article-perex {
  position: relative;
  display: flex !important;
  flex-direction: row-reverse;
  align-items: stretch;
  gap: 0;
  width: min(1120px, 100%) !important;
  min-width: 0 !important;
  margin: 0 0 56px !important;
  padding: 58px 0 0 min(44px, 4vw) !important;
  overflow: hidden;
  color: #eaf7ff !important;
  font-family: 'Quicksand', Arial, Helvetica, sans-serif;
  font-size: clamp(18px, 1.65vw, 24px) !important;
  font-style: normal !important;
  font-weight: 400;
  line-height: 1.68 !important;
  text-align: left !important;
  background:
    linear-gradient(135deg, rgba(6, 24, 41, .96), rgba(18, 22, 28, .94)),
    radial-gradient(780px 320px at 0% 0%, rgba(26, 142, 227, .22), rgba(26, 142, 227, 0) 70%);
  border: 1px solid rgba(66, 183, 255, .24);
  border-radius: 12px;
  box-shadow: 0 28px 70px rgba(0, 0, 0, .42);
}

body.is-article-page .article-perex::before {
  content: 'Fotopribeh';
  position: absolute;
  top: 22px;
  left: 28px;
  z-index: 2;
  color: #42b7ff;
  font-family: 'Quicksand', Arial, Helvetica, sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .14em;
  line-height: 1;
  text-transform: uppercase;
}

body.is-article-page .article-perex::after {
  content: '';
  position: absolute;
  right: 50%;
  bottom: 0;
  left: 28px;
  height: 3px;
  background: linear-gradient(90deg, #42b7ff, rgba(66, 183, 255, 0));
}

body.is-article-page .article-perex-image {
  float: none !important;
  flex: 0 0 min(50%, 540px);
  display: block !important;
  width: min(50%, 540px) !important;
  max-width: 540px !important;
  min-height: 360px;
  height: auto !important;
  margin: -58px 0 0 !important;
  object-fit: cover;
  border: 0 !important;
  border-radius: 0 !important;
  filter: grayscale(10%) contrast(1.04) brightness(.92) !important;
  -webkit-filter: grayscale(10%) contrast(1.04) brightness(.92) !important;
}

body.is-article-page .article-perex > :not(img) {
  padding-right: min(44px, 4vw);
  padding-bottom: 42px;
}

body.is-article-page .article-content .article-lead,
body.is-article-page .article-content .article-note,
body.is-article-page .article-content .article-photo-tip {
  box-sizing: border-box;
  width: min(860px, 100%);
  margin: 30px auto;
  font-family: 'Quicksand', Arial, Helvetica, sans-serif;
}

body.is-article-page .article-content .article-lead {
  color: #f3e7d7;
  font-size: clamp(18px, 1.7vw, 24px);
  line-height: 1.7;
}

body.is-article-page .article-content .article-note,
body.is-article-page .article-content .article-photo-tip {
  position: relative;
  padding: 22px 26px 22px 30px;
  color: #efe3d2;
  background:
    linear-gradient(135deg, rgba(62, 51, 39, .96), rgba(30, 29, 27, .96)),
    radial-gradient(520px 220px at 0% 0%, rgba(217, 168, 102, .22), rgba(217, 168, 102, 0));
  border: 1px solid rgba(217, 168, 102, .26);
  border-radius: 10px;
  box-shadow: 0 18px 42px rgba(0, 0, 0, .24);
}

body.is-article-page .article-content .article-note::before,
body.is-article-page .article-content .article-photo-tip::before {
  position: absolute;
  top: -10px;
  left: 22px;
  padding: 4px 9px;
  color: #1e1b18;
  background: #d9a866;
  border-radius: 4px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .12em;
  line-height: 1;
  text-transform: uppercase;
}

body.is-article-page .article-content .article-note::before {
  content: 'Poznamka';
}

body.is-article-page .article-content .article-photo-tip::before {
  content: 'Foto tip';
}

body.is-article-page .article-content .article-section-title {
  position: relative;
  width: min(860px, 100%);
  margin: 52px auto 18px;
  padding-top: 20px;
  color: #fff4e6;
  font-family: 'Quicksand', Arial, Helvetica, sans-serif;
  font-size: clamp(25px, 3vw, 38px);
  line-height: 1.12;
  letter-spacing: 0;
}

body.is-article-page .article-content .article-section-title::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 70px;
  height: 3px;
  background: linear-gradient(90deg, #d9a866, rgba(217, 168, 102, 0));
  border-radius: 999px;
}

body.is-article-page .article-content .article-gallery-intro {
  width: min(860px, 100%);
  margin: 42px auto 18px;
  color: #d9a866;
  font-family: 'Quicksand', Arial, Helvetica, sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .14em;
  line-height: 1.35;
  text-transform: uppercase;
}

body.is-article-page .article-content .article-final {
  width: min(860px, 100%);
  margin: 42px auto 34px;
  padding: 0 0 0 22px;
  color: #fff4e6;
  font-size: clamp(19px, 1.8vw, 25px);
  line-height: 1.55;
  border-left: 3px solid #d9a866;
}

body.is-article-page .article-content .article-chapter {
  position: relative;
  left: 50%;
  box-sizing: border-box;
  width: min(1120px, calc(100vw - 48px));
  margin: 56px 0;
  padding: clamp(28px, 4vw, 54px);
  transform: translateX(-50%);
  color: #efe3d2;
  background:
    linear-gradient(135deg, rgba(42, 35, 29, .98), rgba(18, 18, 18, .98)),
    radial-gradient(680px 280px at 0% 0%, rgba(217, 168, 102, .24), rgba(217, 168, 102, 0));
  border-top: 1px solid rgba(217, 168, 102, .24);
  border-bottom: 1px solid rgba(217, 168, 102, .18);
}

body.is-article-page .article-content .article-chapter h3 {
  width: min(820px, 100%);
  margin: 0 auto 18px;
  color: #fff4e6;
  font-family: 'Quicksand', Arial, Helvetica, sans-serif;
  font-size: clamp(30px, 4vw, 54px);
  line-height: 1.04;
  letter-spacing: 0;
}

body.is-article-page .article-content .article-chapter p {
  width: min(820px, 100%);
  margin-right: auto;
  margin-left: auto;
}

body.is-article-page .article-content .article-photo-break {
  position: relative;
  left: 50%;
  width: min(1180px, calc(100vw - 48px));
  margin: 52px 0;
  transform: translateX(-50%);
}

body.is-article-page .article-content .article-photo-break a,
body.is-article-page .article-content .article-photo-break img {
  display: block;
}

body.is-article-page .article-content .article-photo-break img {
  width: 100% !important;
  max-width: 100% !important;
  height: clamp(320px, 52vw, 640px) !important;
  margin: 0 !important;
  object-fit: cover;
  border: 0 !important;
  border-radius: 10px;
  filter: contrast(1.04) brightness(.94);
}

body.is-article-page .article-content .article-photo-caption {
  width: min(820px, 100%);
  margin: -30px auto 46px;
  padding: 12px 16px;
  color: #1f1b17;
  background: rgba(233, 216, 190, .92);
  border-left: 3px solid #d9a866;
  border-radius: 4px;
  font-family: 'Quicksand', Arial, Helvetica, sans-serif;
  font-size: 14px;
  line-height: 1.55;
}

body.is-article-page .article-content .article-photo-slider {
  position: relative;
  left: 50%;
  box-sizing: border-box;
  width: min(1180px, calc(100vw - 48px));
  margin: 44px 0 56px;
  padding: 18px;
  overflow-x: auto;
  overflow-y: hidden;
  transform: translateX(-50%);
  scroll-snap-type: x mandatory;
  scrollbar-color: #d9a866 #1b1b1b;
  background:
    linear-gradient(135deg, rgba(34, 30, 26, .98), rgba(14, 14, 14, .98)),
    radial-gradient(520px 240px at 0% 0%, rgba(217, 168, 102, .2), rgba(217, 168, 102, 0));
  border: 1px solid rgba(217, 168, 102, .22);
  border-radius: 12px;
  box-shadow: 0 22px 55px rgba(0, 0, 0, .3);
  white-space: nowrap;
}

body.is-article-page .article-content .article-photo-slider::before {
  content: 'Posun fotky do strany';
  display: block;
  margin: 0 0 14px;
  color: #d9a866;
  font-family: 'Quicksand', Arial, Helvetica, sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .14em;
  line-height: 1;
  text-transform: uppercase;
  white-space: normal;
}

body.is-article-page .article-content .article-photo-slider a {
  display: inline-block !important;
  width: min(76vw, 720px) !important;
  margin: 0 14px 0 0 !important;
  vertical-align: top;
  scroll-snap-align: center;
  white-space: normal;
}

body.is-article-page .article-content .article-photo-slider a:last-child {
  margin-right: 0 !important;
}

body.is-article-page .article-content .article-photo-slider img {
  display: block;
  width: 100% !important;
  max-width: 100% !important;
  height: clamp(260px, 42vw, 520px) !important;
  margin: 0 !important;
  object-fit: cover;
  border: 0 !important;
  border-radius: 8px;
  filter: contrast(1.03) brightness(.95);
  transition: filter .25s ease, transform .25s ease;
}

body.is-article-page .article-content .article-photo-slider a:hover img {
  filter: contrast(1.08) brightness(1);
  transform: translateY(-2px);
}

@media (max-width: 900px) {
  body.is-article-page .article-perex {
    display: block !important;
    padding: 0 !important;
  }

  body.is-article-page .article-perex::before {
    top: auto;
    bottom: 26px;
    left: 22px;
  }

  body.is-article-page .article-perex::after {
    right: 22px;
    left: 22px;
  }

  body.is-article-page .article-perex-image {
    width: 90% !important;
    max-width: 90% !important;
    min-height: 260px;
    margin: 0 !important;
  }

  body.is-article-page .kontent_1 > h1 {
    font-size: clamp(34px, 11vw, 54px) !important;
  }

  body.is-article-page .article-content .article-chapter,
  body.is-article-page .article-content .article-photo-break,
  body.is-article-page .article-content .article-photo-slider {
    width: calc(100vw - 28px);
  }

  body.is-article-page .article-content .article-photo-slider {
    padding: 14px;
  }

  body.is-article-page .article-content .article-photo-slider a {
    width: min(82vw, 520px) !important;
  }
}

/* Article layout refresh: wider, calmer, closer to the homepage visual language. */
body.is-article-page #hlavni_kont,
#body.is-article-page #hlavni_kont,
body.is-article-page .kontent_1,
#body.is-article-page .kontent_1 {
  width: min(80vw, 1600px) !important;
  max-width: 1600px !important;
  margin-right: auto !important;
  margin-left: auto !important;
}

body.is-article-page .article-navigation,
#body.is-article-page .article-navigation {
  display: none !important;
}

body.is-article-page .article-perex,
#body.is-article-page .article-perex {
  position: relative;
  display: flex !important;
  flex-direction: row-reverse;
  align-items: center;
  justify-content: space-between;
  gap: clamp(36px, 5vw, 90px);
  width: min(80vw, 1600px) !important;
  max-width: 1600px !important;
  min-width: 0 !important;
  margin: clamp(42px, 5vw, 76px) auto clamp(74px, 8vw, 130px) !important;
  padding: 0 !important;
  overflow: visible;
  color: #f7fbff !important;
  font-family: 'Quicksand', Arial, Helvetica, sans-serif;

  font-style: normal !important;
  font-weight: 400;
  line-height: 1.58 !important;
  text-align: left !important;
  background: none !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
}

body.is-article-page .article-perex::before,
body.is-article-page .article-perex::after,
#body.is-article-page .article-perex::before,
#body.is-article-page .article-perex::after {
  content: none !important;
  display: none !important;
}

body.is-article-page .article-perex-image,
#body.is-article-page .article-perex-image {
  float: none !important;
  flex: 0 0 min(48%, 760px);
  display: block !important;
  width: min(48%, 760px) !important;
  max-width: 760px !important;
  min-height: clamp(360px, 34vw, 560px);
  height: clamp(360px, 34vw, 560px) !important;
  margin: 0 !important;
  object-fit: cover;
  border: 0 !important;
  border-radius: 8px !important;
  filter: grayscale(12%) contrast(1.04) brightness(.95) !important;
  -webkit-filter: grayscale(12%) contrast(1.04) brightness(.95) !important;
  box-shadow: 0 28px 72px rgba(0, 0, 0, .36);
}

body.is-article-page .article-content,
#body.is-article-page .article-content {
  width: min(80vw, 1600px) !important;
  max-width: 1600px !important;
  margin: 0 auto !important;
  color: #dfe8f0 !important;
  font-size: clamp(18px, 1.15vw, 22px);
  line-height: 1.92;
}

body.is-article-page .article-content p,
#body.is-article-page .article-content p {
  width: min(980px, 100%);
  margin-right: auto;
  margin-left: auto;
  color: #dfe8f0;
}

body.is-article-page .article-content .article-lead,
body.is-article-page .article-content .article-note,
body.is-article-page .article-content .article-photo-tip,
body.is-article-page .article-content .article-section-title,
body.is-article-page .article-content .article-gallery-intro,
body.is-article-page .article-content .article-final,
#body.is-article-page .article-content .article-lead,
#body.is-article-page .article-content .article-note,
#body.is-article-page .article-content .article-photo-tip,
#body.is-article-page .article-content .article-section-title,
#body.is-article-page .article-content .article-gallery-intro,
#body.is-article-page .article-content .article-final {
  width: min(980px, 100%) !important;
}

body.is-article-page .article-content .article-lead,
#body.is-article-page .article-content .article-lead {
  color: #f7fbff !important;
  font-size: clamp(22px, 1.7vw, 30px);
  line-height: 1.72;
}

body.is-article-page .article-content h2,
body.is-article-page .article-content h3,
body.is-article-page .article-content .article-section-title,
#body.is-article-page .article-content h2,
#body.is-article-page .article-content h3,
#body.is-article-page .article-content .article-section-title {
  color: #f7fbff !important;
}

body.is-article-page .article-content .article-section-title::before,
#body.is-article-page .article-content .article-section-title::before {
  background: linear-gradient(90deg, #42b7ff, rgba(66, 183, 255, 0)) !important;
}

body.is-article-page .article-content .article-gallery-intro,
#body.is-article-page .article-content .article-gallery-intro {
  color: #42b7ff !important;
}

body.is-article-page .article-content .article-note,
body.is-article-page .article-content .article-photo-tip,
#body.is-article-page .article-content .article-note,
#body.is-article-page .article-content .article-photo-tip {
  color: #eaf7ff !important;
  background: rgba(255, 255, 255, .035) !important;
  border: 1px solid rgba(66, 183, 255, .22) !important;
  box-shadow: none !important;
}

body.is-article-page .article-content .article-note::before,
body.is-article-page .article-content .article-photo-tip::before,
#body.is-article-page .article-content .article-note::before,
#body.is-article-page .article-content .article-photo-tip::before {
  color: #071b2c !important;
  background: #42b7ff !important;
}

body.is-article-page .article-content .article-final,
#body.is-article-page .article-content .article-final {
  color: #f7fbff !important;
  border-left-color: #42b7ff !important;
}

body.is-article-page .gallery-wrap,
body.is-article-page .article-content .gallery-wrap,
body.is-article-page .article-content .article-photo-break,
body.is-article-page .article-content .gallery-modern,
body.is-article-page .article-content .gallery-full,
body.is-article-page .article-content .gallery3,
#body.is-article-page .gallery-wrap,
#body.is-article-page .article-content .gallery-wrap,
#body.is-article-page .article-content .article-photo-break,
#body.is-article-page .article-content .gallery-modern,
#body.is-article-page .article-content .gallery-full,
#body.is-article-page .article-content .gallery3 {
  position: relative;
  left: 50%;
  box-sizing: border-box;
  width: min(80vw, 1600px) !important;
  max-width: 1600px !important;
  margin: clamp(54px, 6vw, 110px) 0 !important;
  transform: translateX(-50%);
}

body.is-article-page .gallery-wrap img,
body.is-article-page .article-content .gallery-wrap img,
body.is-article-page .article-content .article-photo-break img,
body.is-article-page .article-content .gallery-modern img,
body.is-article-page .article-content .gallery-full img,
body.is-article-page .article-content .gallery3 img,
#body.is-article-page .gallery-wrap img,
#body.is-article-page .article-content .gallery-wrap img,
#body.is-article-page .article-content .article-photo-break img,
#body.is-article-page .article-content .gallery-modern img,
#body.is-article-page .article-content .gallery-full img,
#body.is-article-page .article-content .gallery3 img {
  border-radius: 8px !important;
}

body.is-article-page .article-content .gallery-wrap a.article-wide-lead-image,
#body.is-article-page .article-content .gallery-wrap a.article-wide-lead-image {
  display: block !important;
  width: 100% !important;
  margin: 0 0 18px !important;
}

body.is-article-page .article-content .gallery-wrap a.article-wide-lead-image img,
#body.is-article-page .article-content .gallery-wrap a.article-wide-lead-image img {
  display: block;
  width: 100% !important;
  max-width: 100% !important;
  height: clamp(420px, 54vw, 780px) !important;
  object-fit: cover;
}

@media (max-width: 900px) {
  body.is-article-page #hlavni_kont,
  #body.is-article-page #hlavni_kont,
  body.is-article-page .kontent_1,
  #body.is-article-page .kontent_1,
  body.is-article-page .article-content,
  #body.is-article-page .article-content,
  body.is-article-page .article-perex,
  #body.is-article-page .article-perex,
  body.is-article-page .gallery-wrap,
  body.is-article-page .article-content .gallery-wrap,
  body.is-article-page .article-content .article-photo-break,
  body.is-article-page .article-content .gallery-modern,
  body.is-article-page .article-content .gallery-full,
  body.is-article-page .article-content .gallery3,
  #body.is-article-page .gallery-wrap,
  #body.is-article-page .article-content .gallery-wrap,
  #body.is-article-page .article-content .article-photo-break,
  #body.is-article-page .article-content .gallery-modern,
  #body.is-article-page .article-content .gallery-full,
  #body.is-article-page .article-content .gallery3 {
    width: calc(100vw - 28px) !important;
  }

  body.is-article-page .article-perex,
  #body.is-article-page .article-perex {
    display: block !important;
    margin-top: 34px !important;
    font-size: clamp(19px, 5vw, 25px) !important;
  }

  body.is-article-page .article-perex-image,
  #body.is-article-page .article-perex-image {
    width: 90% !important;
    max-width: 90% !important;
    height: clamp(260px, 70vw, 430px) !important;
    min-height: 0;
    margin: 0 0 24px !important;
  }
}


/* Article typography polish: calmer modern reading scale. */
body.is-article-page .article-hero-copy,
#body.is-article-page .article-hero-copy {
  box-sizing: border-box;
  width: min(1500px, calc(100vw - 64px)) !important;
  max-width: min(1500px, calc(100vw - 64px)) !important;
}

body.is-article-page .article-hero-title-slot h1,
#body.is-article-page .article-hero-title-slot h1 {
  width: min(1450px, 100%) !important;
  max-width: min(1450px, 100%) !important;
  font-size: clamp(50px, 4.6vw, 82px) !important;
  line-height: 1.1 !important;
  overflow-wrap: anywhere;
  text-wrap: balance;
  white-space: normal !important;
  max-height: none !important;
}

body.is-article-page #hlavni_kont,
#body.is-article-page #hlavni_kont,
body.is-article-page .kontent_1,
#body.is-article-page .kontent_1 {
  width: min(90vw, 1240px) !important;
  max-width: 1240px !important;
}

body.is-article-page .article-perex,
#body.is-article-page .article-perex {
  display: grid !important;
  grid-template-columns: minmax(0, 0.92fr) minmax(360px, 0.9fr);
  align-items: center;
  gap: clamp(30px, 4vw, 58px);
  width: min(90vw, 1180px) !important;
  max-width: 1180px !important;
  margin: clamp(34px, 4vw, 58px) auto clamp(52px, 6vw, 86px) !important;
  color: #edf6ff !important;
  font-size: clamp(18px, 1.35vw, 21px) !important;
  line-height: 1.72 !important;
  letter-spacing: 0 !important;
}

body.is-article-page .article-perex-image,
#body.is-article-page .article-perex-image {
  grid-column: 2;
  grid-row: 1;
  width: 100% !important;
  max-width: 560px !important;
  height: clamp(300px, 27vw, 430px) !important;
  min-height: 0 !important;
  justify-self: end;
  border-radius: 8px !important;
  box-shadow: 0 24px 56px rgba(0, 0, 0, .34) !important;
}

body.is-article-page .article-content,
#body.is-article-page .article-content {
  width: min(90vw, 1180px) !important;
  max-width: 1180px !important;
  font-size: 17px !important;
  line-height: 1.76 !important;
}

body.is-article-page .article-content p,
#body.is-article-page .article-content p {
  width: min(820px, 100%) !important;
  margin-top: 0 !important;
  margin-bottom: 1.25em !important;
  color: #dbe7ef !important;
}

body.is-article-page .article-content h2,
body.is-article-page .article-content h3,
#body.is-article-page .article-content h2,
#body.is-article-page .article-content h3 {
  width: min(820px, 100%) !important;
  margin: 2.1em 0 .85em !important;
  padding-left: 0 !important;
  color: #f7fbff !important;
  font-family: 'Cal Sans', Arial, Helvetica, sans-serif !important;
  font-size: 48px !important;
  font-weight: 400 !important;
  line-height: 1.2 !important;
  letter-spacing: 0 !important;
  text-align: left !important;
}

body.is-article-page .article-content .article-lead,
#body.is-article-page .article-content .article-lead {
  font-size: clamp(19px, 1.55vw, 24px) !important;
  line-height: 1.62 !important;
}

body.is-article-page .article-content .article-note,
body.is-article-page .article-content .article-photo-tip,
body.is-article-page .article-content .article-final,
#body.is-article-page .article-content .article-note,
#body.is-article-page .article-content .article-photo-tip,
#body.is-article-page .article-content .article-final {
  width: min(900px, 100%) !important;
  padding: clamp(20px, 2.5vw, 32px) !important;
  border-radius: 8px !important;
  font-size: 16px !important;
  line-height: 1.7 !important;
}

@media (max-width: 900px) {
  body.is-article-page .article-hero-copy,
  #body.is-article-page .article-hero-copy {
    left: 20px !important;
    right: 20px !important;
    max-width: calc(100vw - 40px);
  }

  body.is-article-page .article-hero-title-slot h1,
  #body.is-article-page .article-hero-title-slot h1 {
    max-width: calc(100vw - 40px) !important;
    font-size: clamp(26px, 7.4vw, 36px) !important;
    line-height: 1.1 !important;
    white-space: normal !important;
    max-height: none !important;
  }

  body.is-article-page .article-perex,
  #body.is-article-page .article-perex {
    display: flex !important;
    flex-direction: column !important;
    gap: 24px;
    width: calc(100vw - 40px) !important;
    margin: 34px auto 48px !important;
    font-size: 17px !important;
    line-height: 1.65 !important;
  }

  body.is-article-page .article-perex-image,
  #body.is-article-page .article-perex-image {
    order: -1;
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
    aspect-ratio: 4 / 3;
  }

  body.is-article-page .article-content,
  #body.is-article-page .article-content {
    width: calc(100vw - 40px) !important;
    font-size: 16px !important;
    line-height: 1.72 !important;
  }

  body.is-article-page .article-content h2,
  body.is-article-page .article-content h3,
  #body.is-article-page .article-content h2,
  #body.is-article-page .article-content h3 {
    font-size: clamp(22px, 6vw, 28px) !important;
  }
}
/* Article mobile overflow guard. */
@media (max-width: 900px) {
  html:has(#body.is-article-page),
  html:has(#body.is-article-page) body,
  #body.is-article-page {
    max-width: 100vw;
    overflow-x: hidden !important;
  }

  body.is-article-page .article-hero-nav,
  #body.is-article-page .article-hero-nav {
    box-sizing: border-box;
    max-width: 100% !important;
    white-space: normal !important;
    overflow-wrap: anywhere;
  }

  body.is-article-page .article-perex > :not(img),
  #body.is-article-page .article-perex > :not(img) {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
  }

  body.is-article-page .article-perex,
  body.is-article-page .article-content,
  body.is-article-page .article-content p,
  #body.is-article-page .article-perex,
  #body.is-article-page .article-content,
  #body.is-article-page .article-content p {
    box-sizing: border-box;
    overflow-wrap: break-word;
  }
}
/* Article polish pass 2: perex states and mobile gallery masonry. */
body.is-article-page .article-perex:not(:has(.article-perex-image)),
#body.is-article-page .article-perex:not(:has(.article-perex-image)) {
  display: block !important;
  width: min(820px, calc(100vw - 48px)) !important;
  max-width: 820px !important;
  margin-right: auto !important;
  margin-left: auto !important;
}

body.is-article-page .article-perex:not(:has(.article-perex-image)) > :not(img),
#body.is-article-page .article-perex:not(:has(.article-perex-image)) > :not(img) {
  width: 100% !important;
  max-width: 100% !important;
}

@media (max-width: 900px) {
  body.is-article-page .article-perex-image,
  #body.is-article-page .article-perex-image {
    align-self: center !important;
    justify-self: center !important;
    margin-right: auto !important;
    margin-left: auto !important;
    object-fit: cover;
	width: 90%;
  }

  body.is-article-page .article-gallery,
  #body.is-article-page .article-gallery {
    width: calc(100vw - 28px) !important;
    max-width: calc(100vw - 28px) !important;
    margin-right: auto !important;
    margin-left: auto !important;
  }

  body.is-article-page .article-gallery--masonry .article-gallery__grid,
  #body.is-article-page .article-gallery--masonry .article-gallery__grid {
    display: block !important;
    column-count: 2 !important;
    column-gap: 10px !important;
    width: 100% !important;
    max-width: 100% !important;
  }

  body.is-article-page .article-gallery--masonry .article-gallery__item,
  #body.is-article-page .article-gallery--masonry .article-gallery__item {
    display: inline-block !important;
    width: 100% !important;
    margin: 0 0 10px !important;
    break-inside: avoid;
    page-break-inside: avoid;
  }

  body.is-article-page .article-gallery--masonry .article-gallery__link,
  #body.is-article-page .article-gallery--masonry .article-gallery__link,
  body.is-article-page .article-gallery--masonry .article-gallery__item img,
  #body.is-article-page .article-gallery--masonry .article-gallery__item img {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
  }

  body.is-article-page .article-gallery--masonry .article-gallery__item img,
  #body.is-article-page .article-gallery--masonry .article-gallery__item img {
    height: auto !important;
    object-fit: cover;
    border-radius: 8px !important;
  }
}
/* Article mobile gallery: force compact two-column masonry for every article gallery mode. */
@media (max-width: 900px) {
  body.is-article-page .article-gallery .article-gallery__grid,
  #body.is-article-page .article-gallery .article-gallery__grid {
    display: block !important;
    column-count: 2 !important;
    column-gap: 10px !important;
    width: 100% !important;
    max-width: 100% !important;
  }

  body.is-article-page .article-gallery .article-gallery__item,
  #body.is-article-page .article-gallery .article-gallery__item {
    display: inline-block !important;
    box-sizing: border-box !important;
    width: 100% !important;
    margin: 0 0 10px !important;
    break-inside: avoid;
    page-break-inside: avoid;
  }
}
/* Article mobile header chrome: match homepage header image and logo placement. */
@media (max-width: 900px) {
  body.is-article-page #header::before,
  #body.is-article-page #header::before {
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 160px !important;
    transform: none !important;
    background-image: url(header_mini.webp) !important;
    background-size: 120% auto !important;
    background-position: center top !important;
    background-repeat: no-repeat !important;
    filter: none !important;
  }

  body.is-article-page #header .nav-logo,
  #body.is-article-page #header .nav-logo {
    position: relative !important;
    top: auto !important;
    left: 30px !important;
    float: none !important;
    width: 100px !important;
    height: 68px !important;
    margin-top: 0 !important;
    margin-left: 30px !important;
    transform: none !important;
    background-image: url(logo_max2.webp) !important;
    background-size: 100px 68px !important;
    background-position: center center !important;
    background-repeat: no-repeat !important;
  }
}
/* Article mobile header crop must start at the top, like homepage. */
@media (max-width: 900px) {
  body.is-article-page #header,
  #body.is-article-page #header {
    background-position: center top !important;
  }

  body.is-article-page #header::before,
  #body.is-article-page #header::before {
    background-position: center top !important;
    background-size: 120% auto !important;
  }
}
/* Article mobile header: prevent top crop. */
@media (max-width: 900px) {
  body.is-article-page #body,
  #body.is-article-page {
    top: 0 !important;
    margin-bottom: 0 !important;
  }
}
/* Article mobile logo: align with homepage header. */
@media (max-width: 900px) {
  body.is-article-page #header .nav-logo,
  #body.is-article-page #header .nav-logo {
    left: 0 !important;
    margin-top: -39px !important;
    margin-left: 30px !important;
  }
}
/* Article fixed chrome with independently scrolling hero. */
body.is-article-page #header,
#body.is-article-page #header {
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  z-index: 666 !important;
  display: block !important;
  width: 100% !important;
  height: 321px !important;
  min-height: 0 !important;
  max-height: 321px !important;
  overflow: visible !important;
  isolation: auto !important;
  background: url(header.webp) top center / contain no-repeat !important;
  box-shadow: none !important;
}

body.is-article-page #header.is-hero-fade-ready,
#body.is-article-page #header.is-hero-fade-ready,
body.is-article-page #header:not(.is-hero-fade-ready),
#body.is-article-page #header:not(.is-hero-fade-ready) {
  background: url(header.webp) top center / contain no-repeat !important;
}

body.is-article-page #header::before,
body.is-article-page #header::after,
#body.is-article-page #header::before,
#body.is-article-page #header::after {
  content: none !important;
  display: none !important;
}

body.is-article-page .article-hero-stage,
#body.is-article-page .article-hero-stage {
  position: relative;
  isolation: isolate;
  display: block;
  width: 100%;
  height: 600px;
  min-height: 600px;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(0, 0, 0, .95) 0%, rgba(0, 0, 0, .65) 45%, rgba(0, 0, 0, 0) 100%),
    linear-gradient(90deg, rgba(0, 0, 0, .75) 0%, rgba(0, 0, 0, .2) 20%, rgba(0, 0, 0, 0) 50%, rgba(0, 0, 0, .2) 80%, rgba(0, 0, 0, .75) 100%),
    var(--article-hero-image, url(header.webp)) center center / cover no-repeat;
}

body.is-article-page .article-hero-stage.is-hero-fade-ready,
#body.is-article-page .article-hero-stage.is-hero-fade-ready {
  background: #121212;
}

body.is-article-page .article-hero-stage .article-hero-bg,
#body.is-article-page .article-hero-stage .article-hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background-position: center center;
  background-size: cover;
  background-repeat: no-repeat;
  opacity: 0;
  transform: scale(1.02);
  transition: opacity 1800ms ease-in-out, transform 10800ms ease-out;
  pointer-events: none;
  will-change: opacity, transform;
}

body.is-homepage.has-home-hero .article-hero-stage--home .article-hero-bg,
#body.is-homepage.has-home-hero .article-hero-stage--home .article-hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background-position: center center;
  background-size: cover;
  background-repeat: no-repeat;
  opacity: 0;
  transform: scale(1.01);
  transition: opacity 4200ms ease-in-out, transform 16000ms ease-out;
  pointer-events: none;
  will-change: opacity, transform;
}

body.is-article-page .article-hero-stage .article-hero-bg.is-active,
#body.is-article-page .article-hero-stage .article-hero-bg.is-active {
  opacity: 1;
  transform: scale(1.045);
}

body.is-homepage.has-home-hero .article-hero-stage--home .article-hero-bg.is-active,
#body.is-homepage.has-home-hero .article-hero-stage--home .article-hero-bg.is-active {
  opacity: 1;
  transform: scale(1.025);
}

body.is-article-page .article-hero-stage .article-hero-vignette,
#body.is-article-page .article-hero-stage .article-hero-vignette {
  position: absolute;
  inset: 0;
  z-index: 2;
  background:
    linear-gradient(180deg, rgba(0, 0, 0, .95) 0%, rgba(0, 0, 0, .65) 45%, rgba(0, 0, 0, 0) 100%),
    linear-gradient(90deg, rgba(0, 0, 0, .75) 0%, rgba(0, 0, 0, .2) 20%, rgba(0, 0, 0, 0) 50%, rgba(0, 0, 0, .2) 80%, rgba(0, 0, 0, .75) 100%),
    linear-gradient(180deg, rgba(0, 0, 0, 0) 62%, #121212 100%);
  pointer-events: none;
}

body.is-homepage.has-home-hero .article-hero-stage--home .article-hero-vignette,
#body.is-homepage.has-home-hero .article-hero-stage--home .article-hero-vignette {
  position: absolute;
  inset: 0;
  z-index: 2;
  background:
    linear-gradient(180deg, rgba(0, 0, 0, .95) 0%, rgba(0, 0, 0, .65) 45%, rgba(0, 0, 0, 0) 100%),
    linear-gradient(90deg, rgba(0, 0, 0, .75) 0%, rgba(0, 0, 0, .2) 20%, rgba(0, 0, 0, 0) 50%, rgba(0, 0, 0, .2) 80%, rgba(0, 0, 0, .75) 100%),
    linear-gradient(180deg, rgba(0, 0, 0, 0) 62%, #121212 100%);
  pointer-events: none;
}

@media (max-width: 1200px) {
  body.is-article-page #header,
  #body.is-article-page #header {
    height: 220px !important;
    max-height: 220px !important;
    background-size: auto 220px !important;
  }
}

@media (max-width: 900px) {
  body.is-article-page #header,
  #body.is-article-page #header {
    height: 180px !important;
    min-height: 0 !important;
    max-height: 180px !important;
    background-image: url(header_mini.webp) !important;
    background-size: 120% auto !important;
    background-position: center top !important;
  }

  body.is-article-page .article-hero-stage,
  #body.is-article-page .article-hero-stage {
    height: 420px;
    min-height: 420px;
  }
}
/* Article WYSIWYG images: wider text column and calmer floats. */

body.is-article-page .article-content img.article-img-left,
body.is-article-page .article-content img[align="left"],
body.is-article-page .article-content img[style*="float: left"],
body.is-article-page .article-content img[style*="float:left"],
#body.is-article-page .article-content img.article-img-left,
#body.is-article-page .article-content img[align="left"],
#body.is-article-page .article-content img[style*="float: left"],
#body.is-article-page .article-content img[style*="float:left"] {
  float: left !important;
  max-width: min(34%, 320px) !important;
  height: auto !important;
  margin: 6px 30px 20px 0 !important;
}

body.is-article-page .article-content img.article-img-right,
body.is-article-page .article-content img[align="right"],
body.is-article-page .article-content img[style*="float: right"],
body.is-article-page .article-content img[style*="float:right"],
#body.is-article-page .article-content img.article-img-right,
#body.is-article-page .article-content img[align="right"],
#body.is-article-page .article-content img[style*="float: right"],
#body.is-article-page .article-content img[style*="float:right"] {
  float: right !important;
  max-width: min(34%, 320px) !important;
  height: auto !important;
  margin: 6px 0 20px 30px !important;
}

@media (max-width: 780px) {
  body.is-article-page .article-content img.article-img-left,
  body.is-article-page .article-content img[align="left"],
  body.is-article-page .article-content img[style*="float: left"],
  body.is-article-page .article-content img[style*="float:left"],
  #body.is-article-page .article-content img.article-img-left,
  #body.is-article-page .article-content img[align="left"],
  #body.is-article-page .article-content img[style*="float: left"],
  #body.is-article-page .article-content img[style*="float:left"] {
    float: left !important;
    width: auto !important;
    max-width: min(42vw, 150px) !important;
    height: auto !important;
    margin: 4px 16px 12px 0 !important;
  }

  body.is-article-page .article-content img.article-img-right,
  body.is-article-page .article-content img[align="right"],
  body.is-article-page .article-content img[style*="float: right"],
  body.is-article-page .article-content img[style*="float:right"],
  #body.is-article-page .article-content img.article-img-right,
  #body.is-article-page .article-content img[align="right"],
  #body.is-article-page .article-content img[style*="float: right"],
  #body.is-article-page .article-content img[style*="float:right"] {
    float: right !important;
    width: auto !important;
    max-width: min(42vw, 150px) !important;
    height: auto !important;
    margin: 4px 0 12px 16px !important;
  }
}

@media (max-width: 1200px) {
  body.is-article-page .article-content img.article-img-left,
  body.is-article-page .article-content img.article-img-right,
  body.is-article-page .article-content img[align="left"],
  body.is-article-page .article-content img[align="right"],
  body.is-article-page .article-content img[style*="float: left"],
  body.is-article-page .article-content img[style*="float:left"],
  body.is-article-page .article-content img[style*="float: right"],
  body.is-article-page .article-content img[style*="float:right"],
  #body.is-article-page .article-content img.article-img-left,
  #body.is-article-page .article-content img.article-img-right,
  #body.is-article-page .article-content img[align="left"],
  #body.is-article-page .article-content img[align="right"],
  #body.is-article-page .article-content img[style*="float: left"],
  #body.is-article-page .article-content img[style*="float:left"],
  #body.is-article-page .article-content img[style*="float: right"],
  #body.is-article-page .article-content img[style*="float:right"] {
    float: none !important;
    display: block !important;
    clear: both !important;
    width: auto !important;
    max-width: min(100%, 420px) !important;
    margin: 18px auto !important;
  }

  body.is-article-page #hlavni_kont,
  #body.is-article-page #hlavni_kont {
    display: block !important;
    width: calc(100vw - 28px) !important;
    max-width: calc(100vw - 28px) !important;
    margin-left: auto !important;
    margin-right: auto !important;
  }

  body.is-article-page .kontent_1,
  #body.is-article-page .kontent_1,
  body.is-article-page .article-content,
  #body.is-article-page .article-content {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    margin-left: auto !important;
    margin-right: auto !important;
  }

  body.is-article-page .article-content > p,
  body.is-article-page .article-content > h2,
  body.is-article-page .article-content > h3,
  body.is-article-page .article-content > ul,
  body.is-article-page .article-content > ol,
  #body.is-article-page .article-content > p,
  #body.is-article-page .article-content > h2,
  #body.is-article-page .article-content > h3,
  #body.is-article-page .article-content > ul,
  #body.is-article-page .article-content > ol {
    margin-left: auto !important;
    margin-right: auto !important;
  }

  body.is-article-page .article-perex,
  #body.is-article-page .article-perex {
    display: flex !important;
    flex-direction: column !important;
    width: calc(100vw - 40px) !important;
    max-width: calc(100vw - 40px) !important;
    margin-left: auto !important;
    margin-right: auto !important;
  }

  body.is-article-page .article-perex-image,
  #body.is-article-page .article-perex-image {
    align-self: center !important;
    justify-self: center !important;
    margin-left: auto !important;
    margin-right: auto !important;
  }

  body.is-article-page .boxik,
  #body.is-article-page .boxik {
    float: none !important;
    width: 100% !important;
    max-width: 420px !important;
    min-width: 0 !important;
    margin: 32px auto 0 !important;
  }
}

@media (max-width: 900px) {
  body.is-article-page #article-info,
  #body.is-article-page #article-info,
  body.is-article-page .article-footer,
  #body.is-article-page .article-footer {
    box-sizing: border-box !important;
    display: block !important;
    width: calc(100vw - 28px) !important;
    max-width: calc(100vw - 28px) !important;
    margin: 32px auto 0 !important;
    overflow-x: hidden !important;
  }

  body.is-article-page #article-info table,
  #body.is-article-page #article-info table {
    width: 100% !important;
    max-width: 100% !important;
    table-layout: fixed !important;
  }

  body.is-article-page #article-info tbody,
  body.is-article-page #article-info tr,
  body.is-article-page #article-info td,
  #body.is-article-page #article-info tbody,
  #body.is-article-page #article-info tr,
  #body.is-article-page #article-info td {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }

  body.is-article-page #article-info td,
  #body.is-article-page #article-info td,
  body.is-article-page #article-info .article-info,
  #body.is-article-page #article-info .article-info,
  body.is-article-page #article-info .article-info li,
  #body.is-article-page #article-info .article-info li {
    white-space: normal !important;
    overflow-wrap: anywhere !important;
    word-break: break-word !important;
  }

  body.is-article-page #article-info,
  #body.is-article-page #article-info {
    border-collapse: separate !important;
    border-spacing: 0 !important;
    background: none !important;
  }

  body.is-article-page #article-info > tbody > tr,
  body.is-article-page #article-info > tr,
  #body.is-article-page #article-info > tbody > tr,
  #body.is-article-page #article-info > tr {
    display: grid !important;
    gap: 14px !important;
  }

  body.is-article-page #article-info > tbody > tr > td,
  body.is-article-page #article-info > tr > td,
  #body.is-article-page #article-info > tbody > tr > td,
  #body.is-article-page #article-info > tr > td {
    padding: 18px 18px 16px !important;
    border: 1px solid #2a2a2a !important;
    border-radius: 8px !important;
    background: linear-gradient(180deg, rgba(30, 30, 30, .98) 0%, rgba(18, 18, 18, 1) 100%) !important;
    box-shadow: 0 14px 30px rgba(0, 0, 0, .22) !important;
  }

  body.is-article-page #article-info .article-info,
  #body.is-article-page #article-info .article-info {
    margin: 0 !important;
    padding: 0 !important;
    list-style: none !important;
  }

  body.is-article-page #article-info .article-info li,
  #body.is-article-page #article-info .article-info li {
    display: grid !important;
    gap: 4px !important;
    padding: 10px 0 !important;
    border-bottom: 1px solid rgba(255, 255, 255, .08) !important;
    color: #e5edf3 !important;
    font-size: 15px !important;
    line-height: 1.45 !important;
    letter-spacing: 0 !important;
  }

  body.is-article-page #article-info .article-info li:last-child,
  #body.is-article-page #article-info .article-info li:last-child {
    border-bottom: 0 !important;
    padding-bottom: 0 !important;
  }

  body.is-article-page #article-info .article-info li strong,
  #body.is-article-page #article-info .article-info li b,
  #body.is-article-page #article-info .article-info li strong,
  #body.is-article-page #article-info .article-info li b {
    display: block !important;
    color: #33a0ff !important;
    font-family: 'Cal Sans', Arial, Helvetica, sans-serif !important;
    font-size: 13px !important;
    font-weight: 400 !important;
    line-height: 1.1 !important;
    letter-spacing: 0 !important;
    text-transform: uppercase !important;
  }

  body.is-article-page #article-info .article-info a,
  #body.is-article-page #article-info .article-info a {
    color: #f7fbff !important;
    text-decoration: none !important;
  }

  body.is-article-page #article-info .user-link,
  #body.is-article-page #article-info .user-link {
    display: inline-flex !important;
    align-items: center !important;
    gap: 8px !important;
  }

  body.is-article-page #article-info > tbody > tr > td > strong,
  body.is-article-page #article-info > tr > td > strong,
  #body.is-article-page #article-info > tbody > tr > td > strong,
  #body.is-article-page #article-info > tr > td > strong {
    display: block !important;
    margin: 0 0 14px !important;
    color: #33a0ff !important;
    font-family: 'Cal Sans', Arial, Helvetica, sans-serif !important;
    font-size: 14px !important;
    font-weight: 400 !important;
    line-height: 1.1 !important;
    text-transform: uppercase !important;
  }

  body.is-article-page #article-info form,
  #body.is-article-page #article-info form {
    margin: 0 !important;
  }

  body.is-article-page #article-info .article-rating,
  #body.is-article-page #article-info .article-rating {
    display: table !important;
    width: 70% !important;
    min-width: 260px !important;
    max-width: 360px !important;
    margin: 8px auto 0 !important;
    table-layout: fixed !important;
    border-collapse: separate !important;
    border-spacing: 10px 12px !important;
  }

  body.is-article-page #article-info .article-rating tr,
  #body.is-article-page #article-info .article-rating tr {
    display: table-row !important;
  }

  body.is-article-page #article-info .article-rating td,
  #body.is-article-page #article-info .article-rating td {
    display: table-cell !important;
    width: auto !important;
    padding: 0 !important;
    border: 0 !important;
    background: none !important;
    box-shadow: none !important;
    text-align: center !important;
    vertical-align: middle !important;
    color: #dfeaf3 !important;
    font-size: 16px !important;
    font-family: 'Cal Sans', Arial, Helvetica, sans-serif !important;
  }

  body.is-article-page #article-info .article-rating td[rowspan],
  #body.is-article-page #article-info .article-rating td[rowspan] {
    width: 80px !important;
    min-width: 80px !important;
    max-width: 80px !important;
  }

  body.is-article-page #article-info .article-rating tr:last-child td,
  #body.is-article-page #article-info .article-rating tr:last-child td {
    text-align: center !important;
  }

  body.is-article-page #article-info .article-rating img.icon,
  #body.is-article-page #article-info .article-rating img.icon {
    width: 80px !important;
    height: auto !important;
    max-width: none !important;
    object-fit: contain !important;
    display: block !important;
    margin: 0 auto !important;
  }

  body.is-article-page #article-info .article-rating input[type="radio"],
  #body.is-article-page #article-info .article-rating input[type="submit"],
  #body.is-article-page #article-info .article-rating input[type="radio"],
  #body.is-article-page #article-info .article-rating input[type="submit"] {
    margin: 0 !important;
  }

  body.is-article-page #article-info .article-rating input[type="radio"],
  #body.is-article-page #article-info .article-rating input[type="radio"] {
    width: 24px !important;
    height: 24px !important;
    accent-color: #33a0ff !important;
    transform: scale(1.14);
    cursor: pointer;
  }

  body.is-article-page #article-info .article-rating input[type="submit"],
  #body.is-article-page #article-info .article-rating input[type="submit"] {
    width: 70% !important;
    min-width: 180px !important;
    max-width: 240px !important;
    min-height: 48px !important;
    padding: 12px 18px !important;
    border: 1px solid #2e8edf !important;
    border-radius: 8px !important;
    background: linear-gradient(180deg, #3eabff 0%, #227fd6 100%) !important;
    color: #ffffff !important;
    font-family: 'Cal Sans', Arial, Helvetica, sans-serif !important;
    font-size: 16px !important;
    line-height: 1 !important;
    letter-spacing: 0 !important;
    box-shadow: 0 14px 28px rgba(9, 85, 150, .34) !important;
    display: inline-block !important;
    margin: 0 auto !important;
  }
}


@media (min-width: 901px) {
  body.is-article-page #article-info .article-rating input[type="radio"],
  #body.is-article-page #article-info .article-rating input[type="radio"] {
    width: 22px !important;
    height: 22px !important;
    accent-color: #33a0ff !important;
    transform: scale(1.2);
    cursor: pointer;
  }

  body.is-article-page #article-info .article-rating td,
  #body.is-article-page #article-info .article-rating td {
    padding: 2px 6px !important;
  }

  body.is-article-page #article-info .article-rating,
  #body.is-article-page #article-info .article-rating {
    margin: 10px auto 0 !important;
    border-spacing: 10px 12px !important;
  }

  body.is-article-page #article-info .article-rating input[type="submit"],
  #body.is-article-page #article-info .article-rating input[type="submit"] {
    width: 70% !important;
    min-width: 180px !important;
    max-width: 240px !important;
    min-height: 48px !important;
    padding: 12px 18px !important;
    border: 1px solid #2e8edf !important;
    border-radius: 8px !important;
    background: linear-gradient(180deg, #3eabff 0%, #227fd6 100%) !important;
    color: #ffffff !important;
    font-family: 'Cal Sans', Arial, Helvetica, sans-serif !important;
    font-size: 16px !important;
    line-height: 1 !important;
    letter-spacing: 0 !important;
    box-shadow: 0 14px 28px rgba(9, 85, 150, .34) !important;
    display: inline-block !important;
    margin: 0 auto !important;
  }

  body.is-article-page #article-info .article-rating tr:last-child td,
  #body.is-article-page #article-info .article-rating tr:last-child td {
    text-align: center !important;
  }
}

/* Article rating: keep the same visual language on all breakpoints. */
body.is-article-page #article-info > tbody > tr > td:last-child,
body.is-article-page #article-info > tr > td:last-child,
#body.is-article-page #article-info > tbody > tr > td:last-child,
#body.is-article-page #article-info > tr > td:last-child {
  text-align: center !important;
}

body.is-article-page #article-info,
#body.is-article-page #article-info,
body.is-article-page .article-footer,
#body.is-article-page .article-footer {
  box-sizing: border-box !important;
  border-collapse: separate !important;
  border-spacing: 0 !important;
  background: none !important;
}

body.is-article-page #article-info > tbody > tr,
body.is-article-page #article-info > tr,
#body.is-article-page #article-info > tbody > tr,
#body.is-article-page #article-info > tr {
  display: grid !important;
  gap: 14px !important;
}

@media (min-width: 901px) {
  body.is-article-page #article-info > tbody > tr,
  body.is-article-page #article-info > tr,
  #body.is-article-page #article-info > tbody > tr,
  #body.is-article-page #article-info > tr {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) !important;
    align-items: stretch !important;
  }

  body.is-article-page #article-info > tbody > tr > td,
  body.is-article-page #article-info > tr > td,
  #body.is-article-page #article-info > tbody > tr > td,
  #body.is-article-page #article-info > tr > td {
    height: 100% !important;
  }
}

body.is-article-page #article-info > tbody > tr > td,
body.is-article-page #article-info > tr > td,
#body.is-article-page #article-info > tbody > tr > td,
#body.is-article-page #article-info > tr > td {
  padding: 18px 18px 16px !important;
  border: 1px solid #2a2a2a !important;
  border-radius: 8px !important;
  background: linear-gradient(180deg, rgba(30, 30, 30, .98) 0%, rgba(18, 18, 18, 1) 100%) !important;
  box-shadow: 0 14px 30px rgba(0, 0, 0, .22) !important;
}

body.is-article-page #article-info .article-info,
#body.is-article-page #article-info .article-info {
  margin: 0 !important;
  padding: 0 !important;
  list-style: none !important;
}

body.is-article-page #article-info .article-info li,
#body.is-article-page #article-info .article-info li {
  display: grid !important;
  gap: 4px !important;
  padding: 10px 0 !important;
  border-bottom: 1px solid rgba(255, 255, 255, .08) !important;
  color: #e5edf3 !important;
  font-size: 15px !important;
  line-height: 1.45 !important;
  letter-spacing: 0 !important;
}

body.is-article-page #article-info .article-info li:last-child,
#body.is-article-page #article-info .article-info li:last-child {
  border-bottom: 0 !important;
  padding-bottom: 0 !important;
}

body.is-article-page #article-info .article-info li strong,
body.is-article-page #article-info .article-info li b,
#body.is-article-page #article-info .article-info li strong,
#body.is-article-page #article-info .article-info li b {
  display: block !important;
  color: #33a0ff !important;
  font-family: 'Cal Sans', Arial, Helvetica, sans-serif !important;
  font-size: 13px !important;
  font-weight: 400 !important;
  line-height: 1.1 !important;
  letter-spacing: 0 !important;
  text-transform: uppercase !important;
}

body.is-article-page #article-info .article-info a,
#body.is-article-page #article-info .article-info a {
  color: #f7fbff !important;
  text-decoration: none !important;
}

body.is-article-page #article-info .user-link,
#body.is-article-page #article-info .user-link {
  display: inline-flex !important;
  align-items: center !important;
  gap: 8px !important;
}

body.is-article-page #article-info > tbody > tr > td > strong,
body.is-article-page #article-info > tr > td > strong,
#body.is-article-page #article-info > tbody > tr > td > strong,
#body.is-article-page #article-info > tr > td > strong {
  display: block !important;
  margin: 0 0 14px !important;
  color: #33a0ff !important;
  font-family: 'Cal Sans', Arial, Helvetica, sans-serif !important;
  font-size: 14px !important;
  font-weight: 400 !important;
  line-height: 1.1 !important;
  text-transform: uppercase !important;
}

body.is-article-page #article-info .article-rating,
#body.is-article-page #article-info .article-rating {
  display: table !important;
  width: auto !important;
  min-width: 0 !important;
  max-width: none !important;
  margin: 12px auto 0 !important;
  table-layout: auto !important;
  border-collapse: separate !important;
  border-spacing: 10px 12px !important;
}

body.is-article-page #article-info .article-rating tr,
#body.is-article-page #article-info .article-rating tr {
  display: table-row !important;
}

body.is-article-page #article-info .article-rating td,
#body.is-article-page #article-info .article-rating td {
  display: table-cell !important;
  width: auto !important;
  padding: 2px 6px !important;
  border: 0 !important;
  background: none !important;
  box-shadow: none !important;
  text-align: center !important;
  vertical-align: middle !important;
  color: #dfeaf3 !important;
  font-size: 16px !important;
  font-family: 'Cal Sans', Arial, Helvetica, sans-serif !important;
}

body.is-article-page #article-info .article-rating td[rowspan],
#body.is-article-page #article-info .article-rating td[rowspan] {
  width: 80px !important;
  min-width: 80px !important;
  max-width: 80px !important;
}

body.is-article-page #article-info .article-rating img.icon,
#body.is-article-page #article-info .article-rating img.icon {
  width: 80px !important;
  height: auto !important;
  max-width: none !important;
  object-fit: contain !important;
  display: block !important;
  margin: 0 auto !important;
}

body.is-article-page #article-info .article-rating input[type="radio"],
#body.is-article-page #article-info .article-rating input[type="radio"] {
  width: 24px !important;
  height: 24px !important;
  accent-color: #33a0ff !important;
  transform: scale(1.14) !important;
  cursor: pointer !important;
  margin: 0 !important;
}

body.is-article-page #article-info .article-rating input[type="submit"],
#body.is-article-page #article-info .article-rating input[type="submit"] {
  width: 220px !important;
  min-width: 220px !important;
  max-width: 220px !important;
  min-height: 48px !important;
  padding: 12px 18px !important;
  border: 1px solid #2e8edf !important;
  border-radius: 8px !important;
  background: linear-gradient(180deg, #3eabff 0%, #227fd6 100%) !important;
  color: #ffffff !important;
  font-family: 'Cal Sans', Arial, Helvetica, sans-serif !important;
  font-size: 16px !important;
  line-height: 1 !important;
  letter-spacing: 0 !important;
  box-shadow: 0 14px 28px rgba(9, 85, 150, .34) !important;
  display: inline-block !important;
  margin: 0 auto !important;
}

body.is-article-page #article-info .article-rating tr:last-child td,
#body.is-article-page #article-info .article-rating tr:last-child td {
  text-align: center !important;
}
/* Article header scrolls on desktop, stays fixed only on mobile. */
@media (min-width: 901px) {
  body.is-article-page #header,
  #body.is-article-page #header {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
  }
}

@media (max-width: 900px) {
  body.is-article-page #header,
  #body.is-article-page #header {
    position: fixed !important;
  }
}
/* Article hero vignette should fade into the page background color. */
body.is-article-page .article-hero-stage,
#body.is-article-page .article-hero-stage {
  background:
    linear-gradient(180deg, rgba(18, 18, 18, .95) 0%, rgba(18, 18, 18, .65) 45%, rgba(18, 18, 18, 0) 100%),
    linear-gradient(90deg, rgba(18, 18, 18, .75) 0%, rgba(18, 18, 18, .2) 20%, rgba(18, 18, 18, 0) 50%, rgba(18, 18, 18, .2) 80%, rgba(18, 18, 18, .75) 100%),
    var(--article-hero-image, url(header.webp)) center center / cover no-repeat !important;
}

body.is-article-page .article-hero-stage .article-hero-vignette,
#body.is-article-page .article-hero-stage .article-hero-vignette {
  background:
    linear-gradient(180deg, rgba(18, 18, 18, .95) 0%, rgba(18, 18, 18, .65) 45%, rgba(18, 18, 18, 0) 100%),
    linear-gradient(90deg, rgba(18, 18, 18, .75) 0%, rgba(18, 18, 18, .2) 20%, rgba(18, 18, 18, 0) 50%, rgba(18, 18, 18, .2) 80%, rgba(18, 18, 18, .75) 100%),
    linear-gradient(180deg, rgba(18, 18, 18, 0) 62%, #121212 100%) !important;
}
/* Article desktop header: match homepage header size. */
@media (min-width: 1201px) {
  body.is-article-page #header,
  #body.is-article-page #header,
  body.is-article-page #header.is-hero-fade-ready,
  #body.is-article-page #header.is-hero-fade-ready,
  body.is-article-page #header:not(.is-hero-fade-ready),
  #body.is-article-page #header:not(.is-hero-fade-ready) {
    height: 321px !important;
    min-height: 0 !important;
    max-height: 321px !important;
    background-image: url(header.webp) !important;
    background-size: auto !important;
    background-position: center center !important;
    background-repeat: no-repeat !important;
  }
}
/* Article mobile header: match homepage header size. */
@media (max-width: 900px) {
  body.is-article-page #header,
  #body.is-article-page #header,
  body.is-article-page #header.is-hero-fade-ready,
  #body.is-article-page #header.is-hero-fade-ready,
  body.is-article-page #header:not(.is-hero-fade-ready),
  #body.is-article-page #header:not(.is-hero-fade-ready) {
    height: 160px !important;
    min-height: 0 !important;
    max-height: 160px !important;
    background-image: url(header_mini.webp) !important;
    background-size: 120% auto !important;
    background-position: center top !important;
    background-repeat: no-repeat !important;
  }
}
/* Article desktop header vertical offset: align with homepage. */
@media (min-width: 901px) {
  body.is-article-page #body,
  #body.is-article-page {
    top: 0 !important;
    margin-bottom: 0 !important;
  }
}

/* Article text area width: 90 percent, capped at 1700px. */
@media (min-width: 901px) {
  body.is-article-page #hlavni_kont,
  #body.is-article-page #hlavni_kont,
  body.is-article-page .kontent_1,
  #body.is-article-page .kontent_1 {
    width: 100% !important;
    max-width: 1700px !important;
    margin-left: auto !important;
    margin-right: auto !important;
  }

  body.is-article-page .article-content,
  #body.is-article-page .article-content {
    width: 90% !important;
    max-width: 1700px !important;
    margin-left: auto !important;
    margin-right: auto !important;
  }

  html body.is-article-page .kontent_1 .article-content > p,
  html #body.is-article-page .kontent_1 .article-content > p {
    box-sizing: border-box !important;
    width: 100% !important;
    max-width: none !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
  }
}
/* Keep article footer aligned with the article text area. */
@media (min-width: 901px) {
  body.is-article-page #article-info,
  #body.is-article-page #article-info,
  body.is-article-page .article-footer,
  #body.is-article-page .article-footer {
    box-sizing: border-box !important;
    width: 90% !important;
    max-width: 1700px !important;
    margin: 42px auto 0 !important;
    table-layout: auto !important;
  }

  body.is-article-page #article-info td,
  #body.is-article-page #article-info td {
    width: auto !important;
    vertical-align: top !important;
  }

  body.is-article-page #article-info .article-info,
  #body.is-article-page #article-info .article-info {
    box-sizing: border-box !important;
    width: auto !important;
    max-width: 100% !important;
    margin: 0 !important;
    padding-left: 0 !important;
    list-style: none !important;
  }

  body.is-article-page #article-info .article-info li,
  #body.is-article-page #article-info .article-info li {
    width: auto !important;
    max-width: none !important;
    white-space: normal !important;
  }
}

/* Homepage mobile: match article header chrome and keep hero headline visible. */
@media (max-width: 900px) {
  body.is-homepage.has-home-hero #header,
  #body.is-homepage.has-home-hero #header {
    height: 320px !important;
    min-height: 320px !important;
    max-height: none !important;
    overflow: visible !important;
  }

  body.is-homepage.has-home-hero #header::before,
  #body.is-homepage.has-home-hero #header::before {
    content: "" !important;
    display: block !important;
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 160px !important;
    transform: none !important;
    background-image: url(header_mini.webp) !important;
    background-size: 120% auto !important;
    background-position: center top !important;
    background-repeat: no-repeat !important;
    z-index: 3 !important;
    pointer-events: none !important;
  }

  body.is-homepage.has-home-hero #header .nav-logo,
  #body.is-homepage.has-home-hero #header .nav-logo {
    position: relative !important;
    top: auto !important;
    left: 0 !important;
    float: none !important;
    width: 100px !important;
    height: 68px !important;
    margin-top: -39px !important;
    margin-left: 30px !important;
    background-size: 100px 68px !important;
    z-index: 930 !important;
  }

  body.is-homepage.has-home-hero .article-hero-stage--home .article-hero-title-slot,
  #body.is-homepage.has-home-hero .article-hero-stage--home .article-hero-title-slot,
  body.is-homepage.has-home-hero .article-hero-stage--home .article-hero-title-slot h1,
  #body.is-homepage.has-home-hero .article-hero-stage--home .article-hero-title-slot h1,
  body.is-homepage.has-home-hero .article-hero-stage--home .article-hero-description,
  #body.is-homepage.has-home-hero .article-hero-stage--home .article-hero-description {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
  }

  body.is-homepage.has-home-hero .article-hero-stage--home,
  #body.is-homepage.has-home-hero .article-hero-stage--home,
  body.is-homepage.has-home-hero .article-hero-stage--home .article-hero-copy,
  #body.is-homepage.has-home-hero .article-hero-stage--home .article-hero-copy {
    z-index: 980 !important;
  }
}


/* Homepage mobile: force the hero H1 itself to render visibly. */
@media (max-width: 900px) {
  #body.is-homepage.has-home-hero .article-hero-stage--home .article-hero-copy,
  body.homepage #body.is-homepage.has-home-hero .article-hero-stage--home .article-hero-copy {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    overflow: visible !important;
  }

  #body.is-homepage.has-home-hero .article-hero-stage--home .article-hero-title-slot,
  body.homepage #body.is-homepage.has-home-hero .article-hero-stage--home .article-hero-title-slot {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    width: 100% !important;
    height: auto !important;
    max-height: none !important;
    overflow: visible !important;
    margin: 0 !important;
    padding: 0 !important;
    position: relative !important;
    z-index: 2051 !important;
  }

  #body.is-homepage.has-home-hero .article-hero-stage--home .article-hero-title-slot h1,
  body.homepage #body.is-homepage.has-home-hero .article-hero-stage--home .article-hero-title-slot h1 {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    color: #ffffff !important;
    font-family: 'Cal Sans', Arial, Helvetica, sans-serif !important;
    font-size: clamp(30px, 9vw, 42px) !important;
    line-height: 1.04 !important;
    font-weight: 400 !important;
    letter-spacing: 0 !important;
    width: 100% !important;
    max-width: calc(100vw - 40px) !important;
    height: auto !important;
    max-height: none !important;
    margin: 4px 0 8px !important;
    padding: 0 !important;
    text-align: left !important;
    position: relative !important;
    z-index: 2052 !important;
    overflow: visible !important;
    text-indent: 0 !important;
    transform: none !important;
  }
}

/* Homepage hero H1: keep visible on mobile/tablet widths. */
@media (max-width: 1200px) {
  #body.is-homepage.has-home-hero .article-hero-stage--home .article-hero-title-slot,
  body.homepage #body.is-homepage.has-home-hero .article-hero-stage--home .article-hero-title-slot,
  #body.is-homepage.has-home-hero .article-hero-stage--home .article-hero-title-slot h1,
  body.homepage #body.is-homepage.has-home-hero .article-hero-stage--home .article-hero-title-slot h1,
  #body.is-homepage.has-home-hero .article-hero-stage--home .article-hero-description,
  body.homepage #body.is-homepage.has-home-hero .article-hero-stage--home .article-hero-description {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    height: auto !important;
    max-height: none !important;
    overflow: visible !important;
  }

  #body.is-homepage.has-home-hero .article-hero-stage--home .article-hero-title-slot h1,
  body.homepage #body.is-homepage.has-home-hero .article-hero-stage--home .article-hero-title-slot h1 {
    color: #ffffff !important;
    font-family: 'Cal Sans', Arial, Helvetica, sans-serif !important;
    font-size: clamp(30px, 9vw, 42px) !important;
    line-height: 1.04 !important;
    font-weight: 400 !important;
    margin: 4px 0 8px !important;
    text-align: left !important;
    position: relative !important;
    z-index: 2052 !important;
  }
}


/* Homepage mobile: place visible hero text below the fixed header artwork. */
@media (max-width: 900px) {
  #body.is-homepage.has-home-hero .article-hero-stage--home .article-hero-copy,
  body.homepage #body.is-homepage.has-home-hero .article-hero-stage--home .article-hero-copy {
    top: 178px !important;
    bottom: auto !important;
    left: 20px !important;
    right: 20px !important;
    transform: none !important;
    text-align: left !important;
    max-width: calc(100vw - 40px) !important;
  }
}

/* Homepage mobile: avoid duplicate hero heading in the content flow. */
@media (max-width: 900px) {
  body.homepage #body.is-homepage.has-home-hero .home-hero-intro > .home-hero-copy,
  #body.is-homepage.has-home-hero .home-hero-intro > .home-hero-copy {
    display: none !important;
  }
}



/* Homepage mobile: fit the hero H1 inside the viewport. */
@media (max-width: 900px) {
  #body.is-homepage.has-home-hero .article-hero-stage--home .article-hero-title-slot h1,
  body.homepage #body.is-homepage.has-home-hero .article-hero-stage--home .article-hero-title-slot h1 {
    font-size: clamp(28px, 8vw, 36px) !important;
    max-width: calc(100vw - 40px) !important;
    overflow-wrap: normal !important;
    word-break: normal !important;
  }
}


/* Homepage mobile: menu panel above content without moving the hero. */
@media (max-width: 900px) {
  body.homepage #body.is-homepage.has-home-hero #header,
  #body.is-homepage.has-home-hero #header,
  body.homepage #body.is-homepage.has-home-hero #header .navbar,
  #body.is-homepage.has-home-hero #header .navbar {
    overflow: visible !important;
  }

  body.homepage #body.is-homepage.has-home-hero #header .navbar .nav-btn,
  #body.is-homepage.has-home-hero #header .navbar .nav-btn {
    z-index: 6001 !important;
  }

  body.homepage #body.is-homepage.has-home-hero #header .navbar #nav-check:checked ~ .box-item,
  #body.is-homepage.has-home-hero #header .navbar #nav-check:checked ~ .box-item {
    position: fixed !important;
    top: 84px !important;
    left: 50% !important;
    right: auto !important;
    width: min(340px, calc(100vw - 28px)) !important;
    max-width: calc(100vw - 28px) !important;
    height: auto !important;
    max-height: calc(100svh - 100px) !important;
    margin: 0 !important;
    padding: 8px !important;
    transform: translateX(-50%) !important;
    overflow-x: hidden !important;
    overflow-y: auto !important;
    box-sizing: border-box !important;
    z-index: 6000 !important;
    background: rgba(18, 18, 18, .96) !important;
    border: 1px solid rgba(255, 255, 255, .12) !important;
    border-radius: 8px !important;
    box-shadow: 0 18px 46px rgba(0, 0, 0, .7) !important;
  }

  body.homepage #body.is-homepage.has-home-hero #header .navbar #nav-check:checked ~ .box-item ul.menu.level-0,
  #body.is-homepage.has-home-hero #header .navbar #nav-check:checked ~ .box-item ul.menu.level-0 {
    position: relative !important;
    left: auto !important;
    right: auto !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
  }
}


/* Homepage mobile: opened menu covers hero text cleanly. */
@media (max-width: 900px) {
  body.homepage #body.is-homepage.has-home-hero #header .navbar #nav-check:checked ~ .box-item,
  #body.is-homepage.has-home-hero #header .navbar #nav-check:checked ~ .box-item {
    z-index: 9000 !important;
    background: #121212 !important;
  }

  body.homepage #body.is-homepage.has-home-hero #header .navbar #nav-check:checked ~ .box-item ul.menu,
  #body.is-homepage.has-home-hero #header .navbar #nav-check:checked ~ .box-item ul.menu,
  body.homepage #body.is-homepage.has-home-hero #header .navbar #nav-check:checked ~ .box-item li,
  #body.is-homepage.has-home-hero #header .navbar #nav-check:checked ~ .box-item li {
    position: relative !important;
    z-index: 9001 !important;
  }

  body.homepage #body.is-homepage.has-home-hero:has(#nav-check:checked) .article-hero-stage--home .article-hero-copy,
  #body.is-homepage.has-home-hero:has(#nav-check:checked) .article-hero-stage--home .article-hero-copy {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    pointer-events: none !important;
  }
}





/* Homepage mobile: center opened submenu links. */
@media (max-width: 900px) {
  body.homepage #body.is-homepage.has-home-hero #header .navbar #nav-check:checked ~ .box-item .menu-dropdown-list,
  #body.is-homepage.has-home-hero #header .navbar #nav-check:checked ~ .box-item .menu-dropdown-list,
  body.homepage #body.is-homepage.has-home-hero #header .navbar #nav-check:checked ~ .box-item .menu li ul,
  #body.is-homepage.has-home-hero #header .navbar #nav-check:checked ~ .box-item .menu li ul {
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    left: auto !important;
    right: auto !important;
    text-align: center !important;
  }

  body.homepage #body.is-homepage.has-home-hero #header .navbar #nav-check:checked ~ .box-item .menu-dropdown-list li,
  #body.is-homepage.has-home-hero #header .navbar #nav-check:checked ~ .box-item .menu-dropdown-list li,
  body.homepage #body.is-homepage.has-home-hero #header .navbar #nav-check:checked ~ .box-item .menu li ul li,
  #body.is-homepage.has-home-hero #header .navbar #nav-check:checked ~ .box-item .menu li ul li {
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    text-align: center !important;
  }

  body.homepage #body.is-homepage.has-home-hero #header .navbar #nav-check:checked ~ .box-item .menu-dropdown-list a,
  #body.is-homepage.has-home-hero #header .navbar #nav-check:checked ~ .box-item .menu-dropdown-list a,
  body.homepage #body.is-homepage.has-home-hero #header .navbar #nav-check:checked ~ .box-item .menu li ul a,
  #body.is-homepage.has-home-hero #header .navbar #nav-check:checked ~ .box-item .menu li ul a {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 100% !important;
    box-sizing: border-box !important;
    margin: 0 !important;
    padding-left: 8px !important;
    padding-right: 8px !important;
    text-align: center !important;
    text-indent: 0 !important;
  }
}

/* Mobile: fix only the header chrome; keep existing layer order. */
@media (max-width: 900px) {
  body.is-homepage.has-home-hero #header,
  #body.is-homepage.has-home-hero #header,
  body.is-article-page #header,
  #body.is-article-page #header,
  body.is-shared-hero-page #header,
  #body.is-shared-hero-page #header {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    width: 100% !important;
    overflow: visible !important;
    background-position: center top !important;
  }
}

/* Homepage mobile: match article/shared fixed header chrome. */
@media (max-width: 900px) {
  body.is-homepage.has-home-hero #header,
  #body.is-homepage.has-home-hero #header {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    width: 100% !important;
    height: 180px !important;
    min-height: 0 !important;
    max-height: 180px !important;
    overflow: visible !important;
    background-image: url(header_mini.webp) !important;
    background-size: 120% auto !important;
    background-position: center top !important;
    background-repeat: no-repeat !important;
  }

  body.is-homepage.has-home-hero #header::before,
  #body.is-homepage.has-home-hero #header::before {
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 180px !important;
    transform: none !important;
    background-image: url(header_mini.webp) !important;
    background-size: 120% auto !important;
    background-position: center top !important;
    background-repeat: no-repeat !important;
  }

  body.is-homepage.has-home-hero #header .nav-logo,
  #body.is-homepage.has-home-hero #header .nav-logo {
    position: relative !important;
    top: auto !important;
    left: 0 !important;
    float: none !important;
    width: 100px !important;
    height: 68px !important;
    margin-top: -39px !important;
    margin-left: 30px !important;
    transform: none !important;
    background-image: url(logo_max2.webp) !important;
    background-size: 100px 68px !important;
    background-position: center center !important;
    background-repeat: no-repeat !important;
  }
}


/* Homepage mobile: make hero scroll in normal document flow. */
@media (max-width: 900px) {
  body.is-homepage.has-home-hero .article-hero-stage--home,
  #body.is-homepage.has-home-hero .article-hero-stage--home {
    position: relative !important;
    inset: auto !important;
    display: block !important;
    width: 100% !important;
    height: 420px !important;
    min-height: 420px !important;
    margin: 0 !important;
    overflow: hidden !important;
    pointer-events: auto !important;
    background:
      linear-gradient(180deg, rgba(0, 0, 0, .72) 0%, rgba(0, 0, 0, .22) 48%, #121212 100%),
      var(--article-hero-image, var(--shared-hero-image, url(header.webp))) center center / cover no-repeat !important;
  }

  body.is-homepage.has-home-hero .article-hero-stage--home .article-hero-copy,
  #body.is-homepage.has-home-hero .article-hero-stage--home .article-hero-copy {
    position: absolute !important;
    left: 20px !important;
    right: 20px !important;
    top: auto !important;
    bottom: 28px !important;
    width: auto !important;
    transform: none !important;
    text-align: left !important;
  }

  body.is-homepage.has-home-hero .home-hero-intro,
  #body.is-homepage.has-home-hero .home-hero-intro {
    margin-top: 0 !important;
  }
}

/* Homepage mobile: keep the first article card featured, make the rest compact. */
@media (max-width: 900px) {
  body.homepage .home-articles-top .gr-articles-cards__row,
  body.homepage .kontent_1 .gr-articles-cards__row,
  #body.is-homepage .home-articles-top .gr-articles-cards__row,
  #body.is-homepage .kontent_1 .gr-articles-cards__row {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 14px !important;
    align-items: stretch !important;
  }

  body.homepage .home-articles-top .gr-articles-cards__row > .gr-article-card:first-child,
  body.homepage .kontent_1 .gr-articles-cards__row > .gr-article-card:first-child,
  #body.is-homepage .home-articles-top .gr-articles-cards__row > .gr-article-card:first-child,
  #body.is-homepage .kontent_1 .gr-articles-cards__row > .gr-article-card:first-child {
    grid-column: 1 / -1 !important;
  }

  body.homepage .home-articles-top .gr-articles-cards__row > .gr-article-card:not(:first-child),
  body.homepage .kontent_1 .gr-articles-cards__row > .gr-article-card:not(:first-child),
  #body.is-homepage .home-articles-top .gr-articles-cards__row > .gr-article-card:not(:first-child),
  #body.is-homepage .kontent_1 .gr-articles-cards__row > .gr-article-card:not(:first-child) {
    min-width: 0 !important;
    border-radius: 8px !important;
  }

  body.homepage .home-articles-top .gr-articles-cards__row > .gr-article-card:not(:first-child) .gr-article-card__media,
  body.homepage .kontent_1 .gr-articles-cards__row > .gr-article-card:not(:first-child) .gr-article-card__media,
  #body.is-homepage .home-articles-top .gr-articles-cards__row > .gr-article-card:not(:first-child) .gr-article-card__media,
  #body.is-homepage .kontent_1 .gr-articles-cards__row > .gr-article-card:not(:first-child) .gr-article-card__media {
    aspect-ratio: 4 / 3 !important;
  }

  body.homepage .home-articles-top .gr-articles-cards__row > .gr-article-card:not(:first-child) .gr-article-card__media img,
  body.homepage .kontent_1 .gr-articles-cards__row > .gr-article-card:not(:first-child) .gr-article-card__media img,
  #body.is-homepage .home-articles-top .gr-articles-cards__row > .gr-article-card:not(:first-child) .gr-article-card__media img,
  #body.is-homepage .kontent_1 .gr-articles-cards__row > .gr-article-card:not(:first-child) .gr-article-card__media img {
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    max-width: none !important;
    object-fit: cover !important;
    object-position: center center !important;
    margin: 0 !important;
  }

  body.homepage .home-articles-top .gr-articles-cards__row > .gr-article-card:not(:first-child) .gr-article-card__body,
  body.homepage .kontent_1 .gr-articles-cards__row > .gr-article-card:not(:first-child) .gr-article-card__body,
  #body.is-homepage .home-articles-top .gr-articles-cards__row > .gr-article-card:not(:first-child) .gr-article-card__body,
  #body.is-homepage .kontent_1 .gr-articles-cards__row > .gr-article-card:not(:first-child) .gr-article-card__body {
    padding: 10px 10px 12px !important;
    gap: 6px !important;
  }

  body.homepage .home-articles-top .gr-articles-cards__row > .gr-article-card:not(:first-child) .gr-article-card__date,
  body.homepage .kontent_1 .gr-articles-cards__row > .gr-article-card:not(:first-child) .gr-article-card__date,
  #body.is-homepage .home-articles-top .gr-articles-cards__row > .gr-article-card:not(:first-child) .gr-article-card__date,
  #body.is-homepage .kontent_1 .gr-articles-cards__row > .gr-article-card:not(:first-child) .gr-article-card__date {
    left: 8px !important;
    top: 8px !important;
    width: 42px !important;
    min-height: 56px !important;
    padding: 5px 4px !important;
  }

  body.homepage .home-articles-top .gr-articles-cards__row > .gr-article-card:not(:first-child) .gr-article-card__day,
  body.homepage .kontent_1 .gr-articles-cards__row > .gr-article-card:not(:first-child) .gr-article-card__day,
  #body.is-homepage .home-articles-top .gr-articles-cards__row > .gr-article-card:not(:first-child) .gr-article-card__day,
  #body.is-homepage .kontent_1 .gr-articles-cards__row > .gr-article-card:not(:first-child) .gr-article-card__day {
    font-size: 17px !important;
    line-height: 1 !important;
  }

  body.homepage .home-articles-top .gr-articles-cards__row > .gr-article-card:not(:first-child) .gr-article-card__month,
  body.homepage .kontent_1 .gr-articles-cards__row > .gr-article-card:not(:first-child) .gr-article-card__month,
  #body.is-homepage .home-articles-top .gr-articles-cards__row > .gr-article-card:not(:first-child) .gr-article-card__month,
  #body.is-homepage .kontent_1 .gr-articles-cards__row > .gr-article-card:not(:first-child) .gr-article-card__month,
  body.homepage .home-articles-top .gr-articles-cards__row > .gr-article-card:not(:first-child) .gr-article-card__year,
  body.homepage .kontent_1 .gr-articles-cards__row > .gr-article-card:not(:first-child) .gr-article-card__year,
  #body.is-homepage .home-articles-top .gr-articles-cards__row > .gr-article-card:not(:first-child) .gr-article-card__year,
  #body.is-homepage .kontent_1 .gr-articles-cards__row > .gr-article-card:not(:first-child) .gr-article-card__year {
    font-size: 9px !important;
    line-height: 1.05 !important;
  }

  body.homepage .home-articles-top .gr-articles-cards__row > .gr-article-card:not(:first-child) .gr-article-card__category,
  body.homepage .kontent_1 .gr-articles-cards__row > .gr-article-card:not(:first-child) .gr-article-card__category,
  #body.is-homepage .home-articles-top .gr-articles-cards__row > .gr-article-card:not(:first-child) .gr-article-card__category,
  #body.is-homepage .kontent_1 .gr-articles-cards__row > .gr-article-card:not(:first-child) .gr-article-card__category {
    font-size: 9px !important;
    line-height: 1.2 !important;
    letter-spacing: .03em !important;
  }

  body.homepage .home-articles-top .gr-articles-cards__row > .gr-article-card:not(:first-child) .gr-article-card__title,
  body.homepage .home-articles-top .gr-articles-cards__row > .gr-article-card:not(:first-child) .gr-article-card__title a,
  body.homepage .kontent_1 .gr-articles-cards__row > .gr-article-card:not(:first-child) .gr-article-card__title,
  body.homepage .kontent_1 .gr-articles-cards__row > .gr-article-card:not(:first-child) .gr-article-card__title a,
  #body.is-homepage .home-articles-top .gr-articles-cards__row > .gr-article-card:not(:first-child) .gr-article-card__title,
  #body.is-homepage .home-articles-top .gr-articles-cards__row > .gr-article-card:not(:first-child) .gr-article-card__title a,
  #body.is-homepage .kontent_1 .gr-articles-cards__row > .gr-article-card:not(:first-child) .gr-article-card__title,
  #body.is-homepage .kontent_1 .gr-articles-cards__row > .gr-article-card:not(:first-child) .gr-article-card__title a {
    font-size: clamp(15px, 4.3vw, 18px) !important;
    line-height: 1.1 !important;
    letter-spacing: -.4px !important;
  }

  body.homepage .home-articles-top .gr-articles-cards__row > .gr-article-card:not(:first-child) .gr-article-card__perex,
  body.homepage .home-articles-top .gr-articles-cards__row > .gr-article-card:not(:first-child) .gr-article-card__meta,
  body.homepage .home-articles-top .gr-articles-cards__row > .gr-article-card:not(:first-child) .gr-article-card__more,
  body.homepage .kontent_1 .gr-articles-cards__row > .gr-article-card:not(:first-child) .gr-article-card__perex,
  body.homepage .kontent_1 .gr-articles-cards__row > .gr-article-card:not(:first-child) .gr-article-card__meta,
  body.homepage .kontent_1 .gr-articles-cards__row > .gr-article-card:not(:first-child) .gr-article-card__more,
  #body.is-homepage .home-articles-top .gr-articles-cards__row > .gr-article-card:not(:first-child) .gr-article-card__perex,
  #body.is-homepage .home-articles-top .gr-articles-cards__row > .gr-article-card:not(:first-child) .gr-article-card__meta,
  #body.is-homepage .home-articles-top .gr-articles-cards__row > .gr-article-card:not(:first-child) .gr-article-card__more,
  #body.is-homepage .kontent_1 .gr-articles-cards__row > .gr-article-card:not(:first-child) .gr-article-card__perex,
  #body.is-homepage .kontent_1 .gr-articles-cards__row > .gr-article-card:not(:first-child) .gr-article-card__meta,
  #body.is-homepage .kontent_1 .gr-articles-cards__row > .gr-article-card:not(:first-child) .gr-article-card__more {
    display: none !important;
  }
}

/* Homepage hero rotation: keep crossfade layers above the static fallback image. */
body.is-homepage.has-home-hero .article-hero-stage--home.is-hero-fade-ready .article-hero-bg,
#body.is-homepage.has-home-hero .article-hero-stage--home.is-hero-fade-ready .article-hero-bg {
  z-index: 1 !important;
  opacity: 0;
}

body.is-homepage.has-home-hero .article-hero-stage--home.is-hero-fade-ready .article-hero-bg.is-active,
#body.is-homepage.has-home-hero .article-hero-stage--home.is-hero-fade-ready .article-hero-bg.is-active {
  opacity: 1 !important;
}

body.is-homepage.has-home-hero .article-hero-stage--home.is-hero-fade-ready .article-hero-vignette,
#body.is-homepage.has-home-hero .article-hero-stage--home.is-hero-fade-ready .article-hero-vignette {
  z-index: 2 !important;
}

body.is-homepage.has-home-hero .article-hero-stage--home.is-hero-fade-ready .article-hero-copy,
#body.is-homepage.has-home-hero .article-hero-stage--home.is-hero-fade-ready .article-hero-copy {
  z-index: 3 !important;
}

/* Homepage hero rotation lives inside the header background. */
body.is-homepage.has-home-hero #header.is-hero-fade-ready,
#body.is-homepage.has-home-hero #header.is-hero-fade-ready {
  background: #121212 !important;
}

body.is-homepage.has-home-hero #header.is-hero-fade-ready .article-hero-bg,
#body.is-homepage.has-home-hero #header.is-hero-fade-ready .article-hero-bg {
  z-index: 0 !important;
}

body.is-homepage.has-home-hero #header.is-hero-fade-ready .article-hero-bg.is-active,
#body.is-homepage.has-home-hero #header.is-hero-fade-ready .article-hero-bg.is-active {
  opacity: 1 !important;
}

body.is-homepage.has-home-hero #header.is-hero-fade-ready .article-hero-vignette,
#body.is-homepage.has-home-hero #header.is-hero-fade-ready .article-hero-vignette {
  position: absolute !important;
  inset: 0 !important;
  z-index: 1 !important;
  display: block !important;
  background:
    linear-gradient(180deg, rgba(0, 0, 0, .9) 0%, rgba(0, 0, 0, .48) 48%, rgba(0, 0, 0, 0) 100%),
    linear-gradient(90deg, rgba(0, 0, 0, .65) 0%, rgba(0, 0, 0, .15) 22%, rgba(0, 0, 0, 0) 50%, rgba(0, 0, 0, .15) 78%, rgba(0, 0, 0, .65) 100%) !important;
  pointer-events: none !important;
}

@media (min-width: 901px) and (hover: hover) and (pointer: fine) {
  body.is-homepage.has-home-hero #header.is-hero-fade-ready::after,
  #body.is-homepage.has-home-hero #header.is-hero-fade-ready::after {
    content: "" !important;
    position: absolute !important;
    inset: 0 !important;
    z-index: 2 !important;
    display: block !important;
    background: url(header.webp) top center / min(90%, 1749px) auto no-repeat !important;
    pointer-events: none !important;
  }

  body.is-homepage.has-home-hero #header.is-hero-fade-ready #colOne,
  #body.is-homepage.has-home-hero #header.is-hero-fade-ready #colOne {
    position: relative !important;
    z-index: 4 !important;
  }
}

/* Homepage/mobile article card typography: keep intended fonts after bundling. */
.gr-articles-cards .gr-article-card__title,
.gr-articles-cards .gr-article-card__title a,
.gr-articles-cards .gr-article-card__title a:hover,
body.homepage .gr-articles-cards .gr-article-card__title,
body.homepage .gr-articles-cards .gr-article-card__title a,
#body.is-homepage .gr-articles-cards .gr-article-card__title,
#body.is-homepage .gr-articles-cards .gr-article-card__title a {
  font-family: 'Cal Sans', Arial, Helvetica, sans-serif !important;
}

@media (max-width: 900px) {
  body.homepage .home-articles-top .gr-articles-cards__row .gr-article-card__title,
  body.homepage .home-articles-top .gr-articles-cards__row .gr-article-card__title a,
  body.homepage .kontent_1 .gr-articles-cards__row .gr-article-card__title,
  body.homepage .kontent_1 .gr-articles-cards__row .gr-article-card__title a,
  #body.is-homepage .home-articles-top .gr-articles-cards__row .gr-article-card__title,
  #body.is-homepage .home-articles-top .gr-articles-cards__row .gr-article-card__title a,
  #body.is-homepage .kontent_1 .gr-articles-cards__row .gr-article-card__title,
  #body.is-homepage .kontent_1 .gr-articles-cards__row .gr-article-card__title a {
    font-family: 'Cal Sans', Arial, Helvetica, sans-serif !important;
  }
}

/* Article mobile hero text: keep breadcrumbs, kicker and H1 inside the hero. */
@media (max-width: 900px) {
  body.is-article-page .article-hero-stage,
  #body.is-article-page .article-hero-stage {
    position: relative !important;
    height: 420px !important;
    min-height: 420px !important;
    margin: 0 !important;
    overflow: hidden !important;
  }

  body.is-article-page .article-hero-copy,
  #body.is-article-page .article-hero-copy {
    position: absolute !important;
    top: auto !important;
    right: 18px !important;
    bottom: 34px !important;
    left: 18px !important;
    width: auto !important;
    max-width: calc(100vw - 36px) !important;
    margin: 0 !important;
    padding: 0 !important;
    transform: none !important;
    z-index: 8 !important;
  }

  body.is-article-page .article-hero-nav,
  #body.is-article-page .article-hero-nav {
    max-width: 100% !important;
    margin: 0 0 10px !important;
  }

  body.is-article-page .article-hero-kicker,
  #body.is-article-page .article-hero-kicker {
    margin: 0 0 8px !important;
  }

  body.is-article-page .article-hero-title-slot h1,
  #body.is-article-page .article-hero-title-slot h1 {
    max-width: calc(100vw - 36px) !important;
    font-size: clamp(27px, 7.6vw, 38px) !important;
    line-height: 1.06 !important;
  }
}

/* Article perex final layout: stable text/image block after late article overrides. */
body.is-article-page .article-perex,
#body.is-article-page .article-perex {
  box-sizing: border-box !important;
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 520px) !important;
  align-items: center !important;
  gap: clamp(28px, 4vw, 58px) !important;
  width: min(90vw, 1180px) !important;
  max-width: 1180px !important;
  margin: clamp(34px, 4vw, 58px) auto clamp(52px, 6vw, 86px) !important;
  padding: 0 !important;
  overflow: visible !important;
  color: #edf6ff !important;
  font-family: 'Quicksand', Arial, Helvetica, sans-serif !important;
  font-size: clamp(18px, 1.25vw, 21px) !important;
  font-style: normal !important;
  font-weight: 400 !important;
  line-height: 1.72 !important;
  letter-spacing: 0 !important;
  text-align: left !important;
  background: none !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
}

body.is-article-page .article-perex::before,
body.is-article-page .article-perex::after,
#body.is-article-page .article-perex::before,
#body.is-article-page .article-perex::after {
  content: none !important;
  display: none !important;
}

body.is-article-page .article-perex > :not(.article-perex-image):not(img),
#body.is-article-page .article-perex > :not(.article-perex-image):not(img) {
  box-sizing: border-box !important;
  grid-column: 1 !important;
  min-width: 0 !important;
  width: 100% !important;
  max-width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
}

body.is-article-page .article-perex p,
#body.is-article-page .article-perex p {
  margin: 0 0 1em !important;
}

body.is-article-page .article-perex p:last-child,
#body.is-article-page .article-perex p:last-child {
  margin-bottom: 0 !important;
}

body.is-article-page .article-perex-image,
body.is-article-page .article-perex > img,
#body.is-article-page .article-perex-image,
#body.is-article-page .article-perex > img {
  box-sizing: border-box !important;
  float: none !important;
  grid-column: 2 !important;
  grid-row: 1 / span 6 !important;
  justify-self: end !important;
  align-self: center !important;
  display: block !important;
  width: 100% !important;
  max-width: 520px !important;
  height: clamp(280px, 25vw, 420px) !important;
  min-height: 0 !important;
  margin: 0 !important;
  object-fit: cover !important;
  border: 0 !important;
  border-radius: 8px !important;
  filter: grayscale(12%) contrast(1.04) brightness(.95) !important;
  -webkit-filter: grayscale(12%) contrast(1.04) brightness(.95) !important;
  box-shadow: 0 24px 56px rgba(0, 0, 0, .34) !important;
}

body.is-article-page .article-perex:not(:has(img)),
#body.is-article-page .article-perex:not(:has(img)) {
  display: block !important;
  width: min(90vw, 900px) !important;
  max-width: 900px !important;
}

@media (max-width: 900px) {
  body.is-article-page .article-perex,
  #body.is-article-page .article-perex {
    display: flex !important;
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 22px !important;
    width: calc(100vw - 40px) !important;
    max-width: calc(100vw - 40px) !important;
    margin: 34px auto 48px !important;
    font-size: 17px !important;
    line-height: 1.65 !important;
  }

  body.is-article-page .article-perex-image,
  body.is-article-page .article-perex > img,
  #body.is-article-page .article-perex-image,
  #body.is-article-page .article-perex > img {
    order: -1 !important;
    align-self: center !important;
    width: min(100%, 520px) !important;
    max-width: min(100%, 520px) !important;
    height: auto !important;
    aspect-ratio: 4 / 3 !important;
    margin: 0 auto !important;
    object-fit: cover !important;
  }
}

/* Respect image dimensions set in the WYSIWYG editor inside article text. */
body.is-article-page .article-content img[style*="width"],
body.is-article-page .article-content img[width],
#body.is-article-page .article-content img[style*="width"],
#body.is-article-page .article-content img[width] {
  max-width: 100% !important;
  height: auto !important;
}

body.is-article-page .article-content img[style*="width"][style*="float: left"],
body.is-article-page .article-content img[width][align="left"],
body.is-article-page .article-content img[width][style*="float:left"],
body.is-article-page .article-content img[width][style*="float: left"],
#body.is-article-page .article-content img[style*="width"][style*="float: left"],
#body.is-article-page .article-content img[width][align="left"],
#body.is-article-page .article-content img[width][style*="float:left"],
#body.is-article-page .article-content img[width][style*="float: left"] {
  float: left !important;
  margin: 6px 30px 20px 0 !important;
}

body.is-article-page .article-content img[style*="width"][style*="float: right"],
body.is-article-page .article-content img[width][align="right"],
body.is-article-page .article-content img[width][style*="float:right"],
body.is-article-page .article-content img[width][style*="float: right"],
#body.is-article-page .article-content img[style*="width"][style*="float: right"],
#body.is-article-page .article-content img[width][align="right"],
#body.is-article-page .article-content img[width][style*="float:right"],
#body.is-article-page .article-content img[width][style*="float: right"] {
  float: right !important;
  margin: 6px 0 20px 30px !important;
}

@media (max-width: 780px) {
  body.is-article-page .article-content img[style*="width"][style*="float: left"],
  body.is-article-page .article-content img[style*="width"][style*="float:left"],
  body.is-article-page .article-content img[style*="width"][style*="float: right"],
  body.is-article-page .article-content img[style*="width"][style*="float:right"],
  body.is-article-page .article-content img[width][align="left"],
  body.is-article-page .article-content img[width][align="right"],
  #body.is-article-page .article-content img[style*="width"][style*="float: left"],
  #body.is-article-page .article-content img[style*="width"][style*="float:left"],
  #body.is-article-page .article-content img[style*="width"][style*="float: right"],
  #body.is-article-page .article-content img[style*="width"][style*="float:right"],
  #body.is-article-page .article-content img[width][align="left"],
  #body.is-article-page .article-content img[width][align="right"] {
    max-width: min(100%, 150px) !important;
    height: auto !important;
  }
}

/* Article gallery heading. */
body.is-article-page .article-gallery__title,
#body.is-article-page .article-gallery__title {
  display: block !important;
  width: min(90vw, 1180px) !important;
  max-width: 1180px !important;
  margin: 0 auto clamp(28px, 4vw, 48px) !important;
  padding: 0 !important;
  color: #f7fbff !important;
  font-family: 'Cal Sans', Arial, Helvetica, sans-serif !important;
  font-size: clamp(34px, 4.4vw, 64px) !important;
  font-weight: 400 !important;
  line-height: 1.08 !important;
  letter-spacing: 0 !important;
  text-align: center !important;
  text-transform: none !important;
  filter: none !important;
  -webkit-filter: none !important;
}

/* Article-uploaded galleries use a softer black-and-white tint. */
body.is-article-page .gallery-wrap,
body.is-article-page .gallery-wrap *,
body.is-article-page .article-gallery,
body.is-article-page .article-gallery *,
body.is-article-page .article-gallery__link,
body.is-article-page .article-gallery__link *,
body.is-article-page .gallery-modern,
body.is-article-page .gallery-modern *,
body.is-article-page .gallery-full,
body.is-article-page .gallery-full *,
body.is-article-page .gallery3,
body.is-article-page .gallery3 *,
#body.is-article-page .gallery-wrap,
#body.is-article-page .gallery-wrap *,
#body.is-article-page .article-gallery,
#body.is-article-page .article-gallery *,
#body.is-article-page .article-gallery__link,
#body.is-article-page .article-gallery__link *,
#body.is-article-page .gallery-modern,
#body.is-article-page .gallery-modern *,
#body.is-article-page .gallery-full,
#body.is-article-page .gallery-full *,
#body.is-article-page .gallery3,
#body.is-article-page .gallery3 *,
body.is-article-page .gallery-wrap:hover,
body.is-article-page .gallery-wrap *:hover,
body.is-article-page .article-gallery:hover,
body.is-article-page .article-gallery *:hover,
body.is-article-page .article-gallery__link:hover,
body.is-article-page .article-gallery__link *:hover,
body.is-article-page .gallery-modern:hover,
body.is-article-page .gallery-modern *:hover,
body.is-article-page .gallery-full:hover,
body.is-article-page .gallery-full *:hover,
body.is-article-page .gallery3:hover,
body.is-article-page .gallery3 *:hover,
#body.is-article-page .gallery-wrap:hover,
#body.is-article-page .gallery-wrap *:hover,
#body.is-article-page .article-gallery:hover,
#body.is-article-page .article-gallery *:hover,
#body.is-article-page .article-gallery__link:hover,
#body.is-article-page .article-gallery__link *:hover,
#body.is-article-page .gallery-modern:hover,
#body.is-article-page .gallery-modern *:hover,
#body.is-article-page .gallery-full:hover,
#body.is-article-page .gallery-full *:hover,
#body.is-article-page .gallery3:hover,
#body.is-article-page .gallery3 *:hover,
body.is-article-page .gallery-wrap img,
body.is-article-page .article-content .gallery-wrap img,
body.is-article-page .article-gallery img,
body.is-article-page .article-content .article-gallery img,
body.is-article-page .article-gallery__link img,
body.is-article-page .article-content .article-gallery__link img,
body.is-article-page .gallery-modern img,
body.is-article-page .article-content .gallery-modern img,
body.is-article-page .gallery-full img,
body.is-article-page .article-content .gallery-full img,
body.is-article-page .gallery3 img,
body.is-article-page .article-content .gallery3 img,
#body.is-article-page .gallery-wrap img,
#body.is-article-page .article-content .gallery-wrap img,
#body.is-article-page .article-gallery img,
#body.is-article-page .article-content .article-gallery img,
#body.is-article-page .article-gallery__link img,
#body.is-article-page .article-content .article-gallery__link img,
#body.is-article-page .gallery-modern img,
#body.is-article-page .article-content .gallery-modern img,
#body.is-article-page .gallery-full img,
#body.is-article-page .article-content .gallery-full img,
#body.is-article-page .gallery3 img,
#body.is-article-page .article-content .gallery3 img {
  filter: grayscale(50%) !important;
  -webkit-filter: grayscale(50%) !important;
}

body.is-article-page .gallery-wrap:hover,
body.is-article-page .gallery-wrap *:hover,
body.is-article-page .article-gallery:hover,
body.is-article-page .article-gallery *:hover,
body.is-article-page .article-gallery__link:hover,
body.is-article-page .article-gallery__link *:hover,
body.is-article-page .gallery-modern:hover,
body.is-article-page .gallery-modern *:hover,
body.is-article-page .gallery-full:hover,
body.is-article-page .gallery-full *:hover,
body.is-article-page .gallery3:hover,
body.is-article-page .gallery3 *:hover,
#body.is-article-page .gallery-wrap:hover,
#body.is-article-page .gallery-wrap *:hover,
#body.is-article-page .article-gallery:hover,
#body.is-article-page .article-gallery *:hover,
#body.is-article-page .article-gallery__link:hover,
#body.is-article-page .article-gallery__link *:hover,
#body.is-article-page .gallery-modern:hover,
#body.is-article-page .gallery-modern *:hover,
#body.is-article-page .gallery-full:hover,
#body.is-article-page .gallery-full *:hover,
#body.is-article-page .gallery3:hover,
#body.is-article-page .gallery3 *:hover {
  filter: none !important;
  -webkit-filter: none !important;
}

body.is-article-page .article-gallery__title,
#body.is-article-page .article-gallery__title,
body.is-article-page .article-gallery__title:hover,
#body.is-article-page .article-gallery__title:hover {
  filter: none !important;
  -webkit-filter: none !important;
}

/* Article Facebook sharing block. */
body.is-article-page .article-share,
#body.is-article-page .article-share {
  box-sizing: border-box !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 18px !important;
  width: min(90vw, 1180px) !important;
  max-width: 1180px !important;
  margin: clamp(34px, 5vw, 64px) auto !important;
  padding: 20px 22px !important;
  color: #dfe8f0 !important;
  background: linear-gradient(135deg, rgba(18, 24, 32, .96), rgba(10, 14, 20, .96)) !important;
  border: 1px solid rgba(66, 183, 255, .22) !important;
  border-radius: 8px !important;
  box-shadow: 0 18px 44px rgba(0, 0, 0, .28) !important;
}

body.is-article-page .article-share__label,
#body.is-article-page .article-share__label {
  color: #f7fbff !important;
  font-family: 'Cal Sans', Arial, Helvetica, sans-serif !important;
  font-size: clamp(22px, 2.2vw, 34px) !important;
  font-weight: 400 !important;
  line-height: 1.1 !important;
}

body.is-article-page .article-share__button,
#body.is-article-page .article-share__button {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 10px !important;
  min-height: 52px !important;
  padding: 13px 22px !important;
  color: #fff !important;
  font-family: 'Quicksand', Arial, Helvetica, sans-serif !important;
  font-size: 16px !important;
  font-weight: 700 !important;
  line-height: 1 !important;
  text-decoration: none !important;
  background: #1877f2 !important;
  border: 0 !important;
  border-radius: 8px !important;
  box-shadow: 0 14px 28px rgba(24, 119, 242, .28) !important;
  transition: transform .18s ease, background-color .18s ease, box-shadow .18s ease !important;
}

body.is-article-page .article-share__button:hover,
#body.is-article-page .article-share__button:hover {
  color: #fff !important;
  background: #0f67d8 !important;
  transform: translateY(-1px) !important;
  box-shadow: 0 18px 34px rgba(24, 119, 242, .34) !important;
}

body.is-article-page .article-share__icon,
#body.is-article-page .article-share__icon {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 24px !important;
  height: 24px !important;
  color: #1877f2 !important;
  font-family: Arial, Helvetica, sans-serif !important;
  font-size: 20px !important;
  font-weight: 700 !important;
  background: #fff !important;
  border-radius: 999px !important;
}

@media (max-width: 780px) {
  body.is-article-page .article-share,
  #body.is-article-page .article-share {
    flex-direction: column !important;
    align-items: stretch !important;
    width: calc(100vw - 40px) !important;
    max-width: calc(100vw - 40px) !important;
    padding: 18px !important;
    text-align: center !important;
  }

  body.is-article-page .article-share__button,
  #body.is-article-page .article-share__button {
    width: 100% !important;
  }
}

/* Keep the gallery frame clean; apply only a 50 percent grayscale tint to photos. */
body.is-article-page .gallery-wrap,
body.is-article-page .article-gallery,
body.is-article-page .article-gallery__grid,
body.is-article-page .article-gallery__item,
body.is-article-page .article-gallery__link,
body.is-article-page .gallery-modern,
body.is-article-page .gallery-full,
body.is-article-page .gallery3,
#body.is-article-page .gallery-wrap,
#body.is-article-page .article-gallery,
#body.is-article-page .article-gallery__grid,
#body.is-article-page .article-gallery__item,
#body.is-article-page .article-gallery__link,
#body.is-article-page .gallery-modern,
#body.is-article-page .gallery-full,
#body.is-article-page .gallery3 {
  filter: none !important;
  -webkit-filter: none !important;
}

body.is-article-page .gallery-wrap img,
body.is-article-page .article-gallery img,
body.is-article-page .article-gallery__link img,
body.is-article-page .gallery-modern img,
body.is-article-page .gallery-full img,
body.is-article-page .gallery3 img,
#body.is-article-page .gallery-wrap img,
#body.is-article-page .article-gallery img,
#body.is-article-page .article-gallery__link img,
#body.is-article-page .gallery-modern img,
#body.is-article-page .gallery-full img,
#body.is-article-page .gallery3 img {
  filter: grayscale(50%) !important;
  -webkit-filter: grayscale(50%) !important;
}

/* Keep the article rating fully visible and centered on narrow screens. */
@media (max-width: 780px) {
  body.is-article-page #article-info,
  #body.is-article-page #article-info {
    overflow-x: visible !important;
  }

  body.is-article-page #article-info form,
  #body.is-article-page #article-info form {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 auto !important;
  }

  body.is-article-page #article-info .article-rating,
  #body.is-article-page #article-info .article-rating {
    display: table !important;
    width: auto !important;
    min-width: 0 !important;
    max-width: calc(100vw - 72px) !important;
    margin: 12px auto 0 !important;
    table-layout: fixed !important;
    border-spacing: 3px 10px !important;
    transform: none !important;
  }

  body.is-article-page #article-info .article-rating td,
  #body.is-article-page #article-info .article-rating td {
    width: auto !important;
    min-width: 0 !important;
    max-width: none !important;
    padding: 0 1px !important;
    text-align: center !important;
    overflow: visible !important;
  }

  body.is-article-page #article-info .article-rating td[rowspan],
  #body.is-article-page #article-info .article-rating td[rowspan] {
    width: 56px !important;
    min-width: 56px !important;
    max-width: 56px !important;
    padding: 0 2px !important;
  }

  body.is-article-page #article-info .article-rating img.icon,
  #body.is-article-page #article-info .article-rating img.icon {
    width: 56px !important;
    max-width: 56px !important;
    height: auto !important;
    display: block !important;
    margin: 0 auto !important;
  }

  body.is-article-page #article-info .article-rating input[type="radio"],
  #body.is-article-page #article-info .article-rating input[type="radio"] {
    width: 20px !important;
    height: 20px !important;
    transform: scale(1.08) !important;
  }

  body.is-article-page #article-info .article-rating tr:last-child td,
  #body.is-article-page #article-info .article-rating tr:last-child td {
    text-align: center !important;
    padding-top: 6px !important;
  }

  body.is-article-page #article-info .article-rating input[type="submit"],
  #body.is-article-page #article-info .article-rating input[type="submit"] {
    width: min(220px, 100%) !important;
    min-width: 0 !important;
    max-width: 220px !important;
    margin: 0 auto !important;
  }
}

/* Shared hero slideshow controls. */
body .article-hero-dots,
#body .article-hero-dots {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 8px !important;
  width: 100% !important;
  margin: 18px auto 0 !important;
  padding: 0 !important;
  text-align: center !important;
  position: relative !important;
  z-index: 20 !important;
}

body .article-hero-dot,
#body .article-hero-dot {
  appearance: none !important;
  -webkit-appearance: none !important;
  display: block !important;
  width: 14px !important;
  height: 14px !important;
  min-width: 14px !important;
  min-height: 14px !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 1px solid rgba(255, 255, 255, .42) !important;
  border-radius: 2px !important;
  background: rgba(255, 255, 255, .18) !important;
  box-shadow: 0 6px 18px rgba(0, 0, 0, .28) !important;
  color: transparent !important;
  font-size: 0 !important;
  line-height: 0 !important;
  opacity: .72 !important;
  cursor: pointer !important;
  transition: background-color .2s ease, border-color .2s ease, opacity .2s ease, transform .2s ease !important;
}

body .article-hero-dot:hover,
#body .article-hero-dot:hover {
  background: rgba(255, 255, 255, .34) !important;
  border-color: rgba(255, 255, 255, .62) !important;
  opacity: .9 !important;
}

body .article-hero-dot.is-active,
#body .article-hero-dot.is-active {
  background: rgba(0, 153, 255, .78) !important;
  border-color: rgba(93, 190, 255, .9) !important;
  opacity: 1 !important;
  transform: scale(1.08) !important;
}

@media (max-width: 780px) {
  body .article-hero-dots,
  #body .article-hero-dots {
    gap: 7px !important;
    margin-top: 12px !important;
  }

  body .article-hero-dot,
  #body .article-hero-dot {
    width: 12px !important;
    height: 12px !important;
    min-width: 12px !important;
    min-height: 12px !important;
    background: rgba(255, 255, 255, .14) !important;
    border-color: rgba(255, 255, 255, .34) !important;
    opacity: .64 !important;
  }

  body .article-hero-dot.is-active,
  #body .article-hero-dot.is-active {
    background: rgba(0, 153, 255, .62) !important;
    border-color: rgba(88, 188, 255, .78) !important;
    opacity: .9 !important;
  }
}

/* Desktop homepage: the rotating hero image belongs to the header only. */
@media (min-width: 901px) and (hover: hover) and (pointer: fine) {
  body.is-homepage.has-home-hero,
  body.is-homepage.has-home-hero #body,
  #body.is-homepage.has-home-hero {
    overflow-x: hidden !important;
  }

  body.is-homepage.has-home-hero #header.is-hero-fade-ready,
  #body.is-homepage.has-home-hero #header.is-hero-fade-ready {
    overflow: hidden !important;
    isolation: isolate !important;
  }

  body.is-homepage.has-home-hero #header.is-hero-fade-ready > .article-hero-bg,
  #body.is-homepage.has-home-hero #header.is-hero-fade-ready > .article-hero-bg {
    inset: 0 !important;
    width: 100% !important;
    height: 100% !important;
    max-width: 100% !important;
    transform-origin: center center !important;
  }

  body.is-homepage.has-home-hero .article-hero-stage--home,
  #body.is-homepage.has-home-hero .article-hero-stage--home {
    background: transparent !important;
    overflow: visible !important;
  }

  body.is-homepage.has-home-hero .article-hero-stage--home::before,
  body.is-homepage.has-home-hero .article-hero-stage--home::after,
  #body.is-homepage.has-home-hero .article-hero-stage--home::before,
  #body.is-homepage.has-home-hero .article-hero-stage--home::after {
    content: none !important;
    display: none !important;
  }
}

/* Soften homepage hero photos and blend their edges into the page. */
body.is-homepage.has-home-hero #header.is-hero-fade-ready > .article-hero-bg,
#body.is-homepage.has-home-hero #header.is-hero-fade-ready > .article-hero-bg,
body.is-homepage.has-home-hero .article-hero-stage--home.is-hero-fade-ready > .article-hero-bg,
#body.is-homepage.has-home-hero .article-hero-stage--home.is-hero-fade-ready > .article-hero-bg {
  filter: blur(2.4px) saturate(10%) brightness(88%) !important;
  -webkit-filter: blur(2.4px) saturate(10%) brightness(88%) !important;
}

body.is-homepage.has-home-hero #header.is-hero-fade-ready > .article-hero-vignette,
#body.is-homepage.has-home-hero #header.is-hero-fade-ready > .article-hero-vignette,
body.is-homepage.has-home-hero .article-hero-stage--home.is-hero-fade-ready > .article-hero-vignette,
#body.is-homepage.has-home-hero .article-hero-stage--home.is-hero-fade-ready > .article-hero-vignette {
  position: absolute !important;
  inset: 0 !important;
  z-index: 2 !important;
  display: block !important;
  pointer-events: none !important;
  background:
    linear-gradient(180deg, rgba(18, 18, 18, .72) 0%, rgba(18, 18, 18, .34) 18%, rgba(18, 18, 18, 0) 42%),
    linear-gradient(0deg, #121212 0%, rgba(18, 18, 18, .72) 16%, rgba(18, 18, 18, 0) 48%),
    linear-gradient(90deg, rgba(18, 18, 18, .82) 0%, rgba(18, 18, 18, .28) 16%, rgba(18, 18, 18, 0) 36%, rgba(18, 18, 18, 0) 64%, rgba(18, 18, 18, .28) 84%, rgba(18, 18, 18, .82) 100%),
    rgba(0, 0, 0, .16) !important;
}

/* Homepage does not need breadcrumbs in the hero. */
body.is-homepage.has-home-hero .article-hero-stage--home .article-hero-nav,
#body.is-homepage.has-home-hero .article-hero-stage--home .article-hero-nav {
  display: none !important;
}

@media (max-width: 780px) {
  body.homepage.is-homepage.has-home-hero .article-hero-stage--home .article-hero-nav,
  body.is-homepage.has-home-hero .article-hero-stage--home .article-hero-nav,
  body.homepage #body.is-homepage.has-home-hero .article-hero-stage--home .article-hero-nav,
  #body.is-homepage.has-home-hero .article-hero-stage--home .article-hero-nav {
    display: none !important;
    visibility: hidden !important;
    height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow: hidden !important;
  }

  body.homepage.is-homepage.has-home-hero .article-hero-stage--home,
  body.is-homepage.has-home-hero .article-hero-stage--home,
  body.homepage #body.is-homepage.has-home-hero .article-hero-stage--home,
  #body.is-homepage.has-home-hero .article-hero-stage--home {
    margin-bottom: 22px !important;
  }

  body.homepage.is-homepage.has-home-hero .article-hero-stage--home .article-hero-dots,
  body.is-homepage.has-home-hero .article-hero-stage--home .article-hero-dots,
  body.homepage #body.is-homepage.has-home-hero .article-hero-stage--home .article-hero-dots,
  #body.is-homepage.has-home-hero .article-hero-stage--home .article-hero-dots {
    display: flex !important;
    justify-content: center !important;
    width: 100% !important;
    margin: 12px auto 0 !important;
  }
}

/* Final homepage hero contract: keep desktop and mobile from fighting. */
@media (min-width: 901px) and (hover: hover) and (pointer: fine) {
  html,
  body,
  body.is-homepage.has-home-hero,
  body.is-homepage.has-home-hero #body,
  #body.is-homepage.has-home-hero {
    overflow-x: hidden !important;
  }

  body.is-homepage.has-home-hero #header,
  #body.is-homepage.has-home-hero #header {
    position: relative !important;
    height: 600px !important;
    min-height: 600px !important;
    max-height: 600px !important;
    overflow: hidden !important;
    isolation: isolate !important;
  }

  body.is-homepage.has-home-hero #header.is-hero-fade-ready > .article-hero-bg,
  #body.is-homepage.has-home-hero #header.is-hero-fade-ready > .article-hero-bg {
    position: absolute !important;
    inset: 0 !important;
    width: 100% !important;
    height: 100% !important;
    max-width: 100% !important;
    transform: none !important;
    transform-origin: center center !important;
  }

  body.is-homepage.has-home-hero #header.is-hero-fade-ready > .article-hero-vignette,
  #body.is-homepage.has-home-hero #header.is-hero-fade-ready > .article-hero-vignette {
    position: absolute !important;
    inset: 0 !important;
    display: block !important;
  }

  body.is-homepage.has-home-hero .article-hero-stage--home,
  #body.is-homepage.has-home-hero .article-hero-stage--home {
    position: absolute !important;
    inset: 0 !important;
    width: 100% !important;
    height: 600px !important;
    min-height: 0 !important;
    margin: 0 !important;
    overflow: visible !important;
    background: transparent !important;
    pointer-events: none !important;
    z-index: 700 !important;
  }

  body.is-homepage.has-home-hero .article-hero-stage--home > .article-hero-bg,
  body.is-homepage.has-home-hero .article-hero-stage--home > .article-hero-vignette,
  #body.is-homepage.has-home-hero .article-hero-stage--home > .article-hero-bg,
  #body.is-homepage.has-home-hero .article-hero-stage--home > .article-hero-vignette {
    display: none !important;
  }

  body.is-homepage.has-home-hero .article-hero-stage--home .article-hero-copy,
  #body.is-homepage.has-home-hero .article-hero-stage--home .article-hero-copy {
    pointer-events: auto !important;
  }
}

@media (max-width: 900px) {
  body.is-homepage.has-home-hero #header,
  #body.is-homepage.has-home-hero #header {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    width: 100% !important;
    height: 180px !important;
    min-height: 0 !important;
    max-height: 180px !important;
    overflow: visible !important;
    isolation: auto !important;
  }

  body.is-homepage.has-home-hero #header > .article-hero-bg,
  body.is-homepage.has-home-hero #header > .article-hero-vignette,
  #body.is-homepage.has-home-hero #header > .article-hero-bg,
  #body.is-homepage.has-home-hero #header > .article-hero-vignette {
    display: none !important;
  }

  body.is-homepage.has-home-hero .article-hero-stage--home,
  #body.is-homepage.has-home-hero .article-hero-stage--home {
    position: relative !important;
    inset: auto !important;
    display: block !important;
    width: 100% !important;
    height: 420px !important;
    min-height: 420px !important;
    margin: 24px 0 22px !important;
    overflow: hidden !important;
    background:
      linear-gradient(180deg, rgba(18, 18, 18, .72) 0%, rgba(18, 18, 18, .22) 48%, #121212 100%),
      var(--article-hero-image, var(--shared-hero-image, url(header.webp))) center center / cover no-repeat !important;
    pointer-events: auto !important;
    z-index: 980 !important;
  }

  body.is-homepage.has-home-hero .article-hero-stage--home.is-hero-fade-ready,
  #body.is-homepage.has-home-hero .article-hero-stage--home.is-hero-fade-ready {
    background: #121212 !important;
  }

  body.is-homepage.has-home-hero .article-hero-stage--home > .article-hero-bg,
  #body.is-homepage.has-home-hero .article-hero-stage--home > .article-hero-bg {
    display: block !important;
    position: absolute !important;
    inset: 0 !important;
    width: 100% !important;
    height: 100% !important;
    transform: none !important;
  }

  body.is-homepage.has-home-hero .article-hero-stage--home > .article-hero-vignette,
  #body.is-homepage.has-home-hero .article-hero-stage--home > .article-hero-vignette {
    display: block !important;
    position: absolute !important;
    inset: 0 !important;
  }

  body.is-homepage.has-home-hero .article-hero-stage--home .article-hero-nav,
  #body.is-homepage.has-home-hero .article-hero-stage--home .article-hero-nav {
    display: none !important;
    visibility: hidden !important;
    height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow: hidden !important;
  }

  body.is-homepage.has-home-hero .article-hero-stage--home .article-hero-copy,
  #body.is-homepage.has-home-hero .article-hero-stage--home .article-hero-copy {
    position: absolute !important;
    left: 20px !important;
    right: 20px !important;
    top: auto !important;
    bottom: 28px !important;
    width: auto !important;
    max-width: calc(100vw - 40px) !important;
    transform: none !important;
    text-align: left !important;
    overflow: visible !important;
    z-index: 3 !important;
  }

  body.is-homepage.has-home-hero .article-hero-stage--home .article-hero-dots,
  #body.is-homepage.has-home-hero .article-hero-stage--home .article-hero-dots {
    display: flex !important;
    justify-content: center !important;
    width: 100% !important;
    margin: 12px auto 0 !important;
  }
}

/* Mobile homepage: show the whole hero below the fixed header. */
@media (max-width: 900px) {
  body.homepage.is-homepage.has-home-hero .article-hero-stage--home,
  body.is-homepage.has-home-hero .article-hero-stage--home,
  body.homepage #body.is-homepage.has-home-hero .article-hero-stage--home,
  #body.is-homepage.has-home-hero .article-hero-stage--home {
    margin-top: 24px !important;
  }
}

/* Desktop homepage: keep overlay below header artwork and navigation. */
@media (min-width: 901px) and (hover: hover) and (pointer: fine) {
  body.is-homepage.has-home-hero #header.is-hero-fade-ready > .article-hero-bg,
  #body.is-homepage.has-home-hero #header.is-hero-fade-ready > .article-hero-bg {
    z-index: 0 !important;
  }

  body.is-homepage.has-home-hero #header.is-hero-fade-ready > .article-hero-vignette,
  #body.is-homepage.has-home-hero #header.is-hero-fade-ready > .article-hero-vignette {
    z-index: 1 !important;
  }

  body.is-homepage.has-home-hero #header.is-hero-fade-ready::after,
  #body.is-homepage.has-home-hero #header.is-hero-fade-ready::after {
    content: none !important;
    display: none !important;
    background: none !important;
  }

  body.is-homepage.has-home-hero #header.is-hero-fade-ready::before,
  #body.is-homepage.has-home-hero #header.is-hero-fade-ready::before {
    z-index: 20 !important;
  }

  body.is-homepage.has-home-hero #header.is-hero-fade-ready #colOne,
  #body.is-homepage.has-home-hero #header.is-hero-fade-ready #colOne,
  body.is-homepage.has-home-hero #header.is-hero-fade-ready #rame,
  #body.is-homepage.has-home-hero #header.is-hero-fade-ready #rame,
  body.is-homepage.has-home-hero #header.is-hero-fade-ready header,
  #body.is-homepage.has-home-hero #header.is-hero-fade-ready header,
  body.is-homepage.has-home-hero #header.is-hero-fade-ready .navbar,
  #body.is-homepage.has-home-hero #header.is-hero-fade-ready .navbar,
  body.is-homepage.has-home-hero #header.is-hero-fade-ready .nav-header,
  #body.is-homepage.has-home-hero #header.is-hero-fade-ready .nav-header,
  body.is-homepage.has-home-hero #header.is-hero-fade-ready .nav-logo,
  #body.is-homepage.has-home-hero #header.is-hero-fade-ready .nav-logo,
  body.is-homepage.has-home-hero #header.is-hero-fade-ready .box-item,
  #body.is-homepage.has-home-hero #header.is-hero-fade-ready .box-item {
    position: relative !important;
    z-index: 30 !important;
  }
}

/* Final mobile-only homepage hero position. Keep desktop untouched. */
@media (max-width: 900px), (hover: none) and (pointer: coarse) {
  body.homepage.is-homepage.has-home-hero .article-hero-stage--home,
  body.is-homepage.has-home-hero .article-hero-stage--home,
  body.homepage #body.is-homepage.has-home-hero .article-hero-stage--home,
  #body.is-homepage.has-home-hero .article-hero-stage--home {
    margin-top: 0 !important;
  }
}

/* Desktop homepage: never let the hero overlay cover header.webp, logo or menu. */
@media (min-width: 901px) and (hover: hover) and (pointer: fine) {
  body.is-homepage.has-home-hero #header.is-hero-fade-ready > .article-hero-vignette,
  #body.is-homepage.has-home-hero #header.is-hero-fade-ready > .article-hero-vignette {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    background: none !important;
    pointer-events: none !important;
  }

  body.is-homepage.has-home-hero #header.is-hero-fade-ready > .article-hero-bg,
  #body.is-homepage.has-home-hero #header.is-hero-fade-ready > .article-hero-bg {
    filter: blur(2.4px) saturate(10%) brightness(58%) !important;
    -webkit-filter: blur(2.4px) saturate(10%) brightness(58%) !important;
  }

  body.is-homepage.has-home-hero #header.is-hero-fade-ready > .article-hero-bg::after,
  #body.is-homepage.has-home-hero #header.is-hero-fade-ready > .article-hero-bg::after {
    content: "" !important;
    position: absolute !important;
    inset: 0 !important;
    display: block !important;
    pointer-events: none !important;
    background:
      linear-gradient(180deg, rgba(18, 18, 18, .56) 0%, rgba(18, 18, 18, .22) 18%, rgba(18, 18, 18, 0) 42%),
      linear-gradient(0deg, #121212 0%, rgba(18, 18, 18, .76) 16%, rgba(18, 18, 18, 0) 50%),
      linear-gradient(90deg, rgba(18, 18, 18, .72) 0%, rgba(18, 18, 18, .22) 15%, rgba(18, 18, 18, 0) 36%, rgba(18, 18, 18, 0) 64%, rgba(18, 18, 18, .22) 85%, rgba(18, 18, 18, .72) 100%) !important;
  }
}

/* Mobile/touch homepage: overlay belongs only inside the scrollable hero image. */
@media (max-width: 900px), (hover: none) and (pointer: coarse) {
  body.is-homepage.has-home-hero .article-hero-stage--home > .article-hero-bg,
  #body.is-homepage.has-home-hero .article-hero-stage--home > .article-hero-bg {
    filter: blur(2.4px) saturate(10%) brightness(78%) !important;
    -webkit-filter: blur(2.4px) saturate(10%) brightness(78%) !important;
  }

  body.is-homepage.has-home-hero .article-hero-stage--home > .article-hero-vignette,
  #body.is-homepage.has-home-hero .article-hero-stage--home > .article-hero-vignette {
    display: block !important;
    background:
      linear-gradient(180deg, rgba(18, 18, 18, .54) 0%, rgba(18, 18, 18, .22) 18%, rgba(18, 18, 18, 0) 42%),
      linear-gradient(0deg, #121212 0%, rgba(18, 18, 18, .76) 18%, rgba(18, 18, 18, 0) 52%),
      linear-gradient(90deg, rgba(18, 18, 18, .62) 0%, rgba(18, 18, 18, .18) 18%, rgba(18, 18, 18, 0) 38%, rgba(18, 18, 18, 0) 62%, rgba(18, 18, 18, .18) 82%, rgba(18, 18, 18, .62) 100%) !important;
  }
}

/* Homepage chrome: hero upload must not move logo or hamburger. */
@media (max-width: 900px), (hover: none) and (pointer: coarse) {
  body.homepage #header,
  body.is-homepage #header,
  body.homepage #body #header,
  #body.is-homepage #header,
  body.homepage.has-home-hero #header,
  body.is-homepage.has-home-hero #header,
  #body.is-homepage.has-home-hero #header,
  body.homepage.has-home-hero #header.is-hero-fade-ready,
  body.is-homepage.has-home-hero #header.is-hero-fade-ready,
  #body.is-homepage.has-home-hero #header.is-hero-fade-ready {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    width: 100% !important;
    height: 180px !important;
    min-height: 0 !important;
    max-height: 180px !important;
    overflow: visible !important;
    background-image: url(header_mini.webp) !important;
    background-size: 120% auto !important;
    background-position: center top !important;
    background-repeat: no-repeat !important;
    z-index: 2000 !important;
  }

  body.homepage #header .nav-logo,
  body.is-homepage #header .nav-logo,
  body.homepage #body #header .nav-logo,
  #body.is-homepage #header .nav-logo,
  body.homepage.has-home-hero #header .nav-logo,
  body.is-homepage.has-home-hero #header .nav-logo,
  #body.is-homepage.has-home-hero #header .nav-logo,
  body.homepage.has-home-hero #header.is-hero-fade-ready .nav-logo,
  body.is-homepage.has-home-hero #header.is-hero-fade-ready .nav-logo,
  #body.is-homepage.has-home-hero #header.is-hero-fade-ready .nav-logo {
    position: fixed !important;
    top: 26px !important;
    left: 50px !important;
    float: none !important;
    width: 100px !important;
    height: 68px !important;
    margin-top: 0 !important;
    margin-left: 0 !important;
    transform: none !important;
    background-image: url(logo_max2.webp) !important;
    background-size: 100px 68px !important;
    background-position: center center !important;
    background-repeat: no-repeat !important;
    z-index: 6002 !important;
  }

  body.homepage #header .navbar .nav-btn,
  body.is-homepage #header .navbar .nav-btn,
  body.homepage #body #header .navbar .nav-btn,
  #body.is-homepage #header .navbar .nav-btn,
  body.homepage.has-home-hero #header .navbar .nav-btn,
  body.is-homepage.has-home-hero #header .navbar .nav-btn,
  #body.is-homepage.has-home-hero #header .navbar .nav-btn,
  body.homepage.has-home-hero #header.is-hero-fade-ready .navbar .nav-btn,
  body.is-homepage.has-home-hero #header.is-hero-fade-ready .navbar .nav-btn,
  #body.is-homepage.has-home-hero #header.is-hero-fade-ready .navbar .nav-btn {
    display: flex !important;
    position: fixed !important;
    top: 50px !important;
    right: -50px !important;
    height: 50px !important;
    max-width: 120px !important;
    transform: none !important;
    z-index: 6001 !important;
  }
}

@media (min-width: 901px) and (hover: hover) and (pointer: fine) {
  body.homepage #header .nav-logo,
  body.is-homepage #header .nav-logo,
  body.homepage #body #header .nav-logo,
  #body.is-homepage #header .nav-logo,
  body.homepage.has-home-hero #header .nav-logo,
  body.is-homepage.has-home-hero #header .nav-logo,
  #body.is-homepage.has-home-hero #header .nav-logo,
  body.homepage.has-home-hero #header.is-hero-fade-ready .nav-logo,
  body.is-homepage.has-home-hero #header.is-hero-fade-ready .nav-logo,
  #body.is-homepage.has-home-hero #header.is-hero-fade-ready .nav-logo {
    position: relative !important;
    top: auto !important;
    left: auto !important;
    float: left !important;
    width: 219px !important;
    height: 146px !important;
    margin-top: -33px !important;
    margin-left: 255px !important;
    transform: none !important;
    background-image: url(logo_max2.webp) !important;
    background-size: 219px 146px !important;
    background-position: center center !important;
    background-repeat: no-repeat !important;
    z-index: 930 !important;
  }

  body.homepage #header .navbar .nav-btn,
  body.is-homepage #header .navbar .nav-btn,
  body.homepage #body #header .navbar .nav-btn,
  #body.is-homepage #header .navbar .nav-btn,
  body.homepage.has-home-hero #header .navbar .nav-btn,
  body.is-homepage.has-home-hero #header .navbar .nav-btn,
  #body.is-homepage.has-home-hero #header .navbar .nav-btn,
  body.homepage.has-home-hero #header.is-hero-fade-ready .navbar .nav-btn,
  body.is-homepage.has-home-hero #header.is-hero-fade-ready .navbar .nav-btn,
  #body.is-homepage.has-home-hero #header.is-hero-fade-ready .navbar .nav-btn {
    display: none !important;
  }
}

/* Shared pages mobile: match homepage header image size and placement. */
@media (max-width: 900px), (hover: none) and (pointer: coarse) {
  body.is-shared-hero-page #header,
  #body.is-shared-hero-page #header {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    width: 100% !important;
    height: 180px !important;
    min-height: 0 !important;
    max-height: 180px !important;
    overflow: visible !important;
    background-image: url(header_mini.webp) !important;
    background-size: 120% auto !important;
    background-position: center top !important;
    background-repeat: no-repeat !important;
  }

  body.is-shared-hero-page #header::before,
  #body.is-shared-hero-page #header::before {
    content: "" !important;
    display: block !important;
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 180px !important;
    transform: none !important;
    background-image: url(header_mini.webp) !important;
    background-size: 120% auto !important;
    background-position: center top !important;
    background-repeat: no-repeat !important;
    pointer-events: none !important;
  }

  body.is-shared-hero-page #header .nav-logo,
  #body.is-shared-hero-page #header .nav-logo {
    position: fixed !important;
    top: 26px !important;
    left: 50px !important;
    float: none !important;
    width: 100px !important;
    height: 68px !important;
    margin-top: 0 !important;
    margin-left: 0 !important;
    transform: none !important;
    background-image: url(logo_max2.webp) !important;
    background-size: 100px 68px !important;
    background-position: center center !important;
    background-repeat: no-repeat !important;
    z-index: 6002 !important;
  }
}

/* Desktop homepage hero overlay: fade into the site background, not pure black. */
@media (min-width: 901px) and (hover: hover) and (pointer: fine) {
  body.is-homepage.has-home-hero #header.is-hero-fade-ready > .article-hero-bg::after,
  #body.is-homepage.has-home-hero #header.is-hero-fade-ready > .article-hero-bg::after {
    content: "" !important;
    position: absolute !important;
    inset: 0 !important;
    display: block !important;
    pointer-events: none !important;
    background:
      linear-gradient(180deg, rgba(18, 18, 18, .56) 0%, rgba(18, 18, 18, .22) 18%, rgba(18, 18, 18, 0) 42%),
      linear-gradient(0deg, #1f1f1f 0%, rgba(31, 31, 31, .86) 14%, rgba(31, 31, 31, .46) 30%, rgba(18, 18, 18, 0) 54%),
      linear-gradient(90deg, rgba(18, 18, 18, .72) 0%, rgba(18, 18, 18, .22) 15%, rgba(18, 18, 18, 0) 36%, rgba(18, 18, 18, 0) 64%, rgba(18, 18, 18, .22) 85%, rgba(18, 18, 18, .72) 100%) !important;
  }
}

/* Touch tablet override: enlarged mobile chrome, desktop stays untouched. */
@media screen and (min-width: 781px) and (max-width: 1200px) and (hover: none),
       screen and (min-width: 781px) and (max-width: 1200px) and (pointer: coarse) {
  body.is-homepage.has-home-hero #header,
  #body.is-homepage.has-home-hero #header,
  body.is-shared-hero-page #header,
  #body.is-shared-hero-page #header,
  body.is-article-page #header,
  #body.is-article-page #header {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    width: 100% !important;
    height: 220px !important;
    min-height: 0 !important;
    max-height: 220px !important;
    overflow: visible !important;
    background-image: url(header_mini.webp) !important;
    background-size: 120% auto !important;
    background-position: center top !important;
    background-repeat: no-repeat !important;
    z-index: 2000 !important;
  }

  body.is-homepage.has-home-hero #header::before,
  #body.is-homepage.has-home-hero #header::before,
  body.is-shared-hero-page #header::before,
  #body.is-shared-hero-page #header::before,
  body.is-article-page #header::before,
  #body.is-article-page #header::before {
    content: "" !important;
    display: block !important;
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 220px !important;
    transform: none !important;
    background-image: url(header_mini.webp) !important;
    background-size: 120% auto !important;
    background-position: center top !important;
    background-repeat: no-repeat !important;
    pointer-events: none !important;
  }

  body.is-homepage.has-home-hero #header .nav-logo,
  #body.is-homepage.has-home-hero #header .nav-logo,
  body.is-shared-hero-page #header .nav-logo,
  #body.is-shared-hero-page #header .nav-logo,
  body.is-article-page #header .nav-logo,
  #body.is-article-page #header .nav-logo {
    position: fixed !important;
    top: 36px !important;
    left: clamp(62px, 8vw, 96px) !important;
    float: none !important;
    width: 150px !important;
    height: 100px !important;
    margin: 0 !important;
    transform: none !important;
    background-image: url(logo_max2.webp) !important;
    background-size: 150px 100px !important;
    background-position: center center !important;
    background-repeat: no-repeat !important;
    z-index: 6002 !important;
  }

  body.is-homepage.has-home-hero #header .navbar .nav-btn,
  #body.is-homepage.has-home-hero #header .navbar .nav-btn,
  body.is-shared-hero-page #header .navbar .nav-btn,
  #body.is-shared-hero-page #header .navbar .nav-btn,
  body.is-article-page #header .navbar .nav-btn,
  #body.is-article-page #header .navbar .nav-btn {
    display: flex !important;
    position: fixed !important;
    top: 70px !important;
    right: -46px !important;
    height: 50px !important;
    max-width: 120px !important;
    transform: none !important;
    z-index: 6001 !important;
  }

  body.is-homepage.has-home-hero #header .navbar .box-item,
  #body.is-homepage.has-home-hero #header .navbar .box-item,
  body.is-shared-hero-page #header .navbar .box-item,
  #body.is-shared-hero-page #header .navbar .box-item,
  body.is-article-page #header .navbar .box-item,
  #body.is-article-page #header .navbar .box-item {
    top: 220px !important;
    z-index: 6000 !important;
  }

  body.is-homepage.has-home-hero .article-hero-stage--home,
  #body.is-homepage.has-home-hero .article-hero-stage--home,
  body.is-shared-hero-page .article-hero-stage,
  #body.is-shared-hero-page .article-hero-stage,
  body.is-article-page .article-hero-stage,
  #body.is-article-page .article-hero-stage {
    height: 520px !important;
    min-height: 520px !important;
  }
}

/* Mid desktop: avoid duplicate homepage hero title between desktop and tablet widths. */
@media screen and (min-width: 901px) and (max-width: 1200px) and (hover: hover) and (pointer: fine) {
  body.is-homepage.has-home-hero .article-hero-stage--home .article-hero-title-slot,
  #body.is-homepage.has-home-hero .article-hero-stage--home .article-hero-title-slot,
  body.is-homepage.has-home-hero .article-hero-stage--home .article-hero-description,
  #body.is-homepage.has-home-hero .article-hero-stage--home .article-hero-description {
    display: none !important;
    visibility: hidden !important;
  }
}

/* Mid desktop: when desktop menu no longer fits, use the hamburger menu. */
@media screen and (min-width: 901px) and (max-width: 1200px) and (hover: hover) and (pointer: fine) {
  body.is-homepage.has-home-hero #header .navbar .nav-btn,
  #body.is-homepage.has-home-hero #header .navbar .nav-btn,
  body.is-shared-hero-page #header .navbar .nav-btn,
  #body.is-shared-hero-page #header .navbar .nav-btn,
  body.is-article-page #header .navbar .nav-btn,
  #body.is-article-page #header .navbar .nav-btn {
    display: flex !important;
    position: fixed !important;
    top: 70px !important;
    right: -46px !important;
    height: 50px !important;
    max-width: 120px !important;
    transform: none !important;
    z-index: 7001 !important;
  }

  body.is-homepage.has-home-hero #header .navbar .box-item,
  #body.is-homepage.has-home-hero #header .navbar .box-item,
  body.is-shared-hero-page #header .navbar .box-item,
  #body.is-shared-hero-page #header .navbar .box-item,
  body.is-article-page #header .navbar .box-item,
  #body.is-article-page #header .navbar .box-item {
    position: fixed !important;
    top: 150px !important;
    left: 50% !important;
    right: auto !important;
    width: min(420px, calc(100vw - 32px)) !important;
    max-width: calc(100vw - 32px) !important;
    height: 0 !important;
    max-height: calc(100vh - 170px) !important;
    overflow: hidden !important;
    opacity: 0 !important;
    pointer-events: none !important;
    transform: translateX(-50%) !important;
    z-index: 7000 !important;
  }

  body.is-homepage.has-home-hero #header .navbar #nav-check,
  #body.is-homepage.has-home-hero #header .navbar #nav-check,
  body.is-shared-hero-page #header .navbar #nav-check,
  #body.is-shared-hero-page #header .navbar #nav-check,
  body.is-article-page #header .navbar #nav-check,
  #body.is-article-page #header .navbar #nav-check {
    position: fixed !important;
    top: 70px !important;
    right: 0 !important;
    display: block !important;
    width: 74px !important;
    height: 54px !important;
    opacity: 0 !important;
    z-index: 7002 !important;
    cursor: pointer !important;
  }

  body.is-homepage.has-home-hero #header .navbar #nav-check:checked ~ .box-item,
  #body.is-homepage.has-home-hero #header .navbar #nav-check:checked ~ .box-item,
  body.is-shared-hero-page #header .navbar #nav-check:checked ~ .box-item,
  #body.is-shared-hero-page #header .navbar #nav-check:checked ~ .box-item,
  body.is-article-page #header .navbar #nav-check:checked ~ .box-item,
  #body.is-article-page #header .navbar #nav-check:checked ~ .box-item {
    display: block !important;
    height: auto !important;
    min-height: 220px !important;
    max-height: calc(100vh - 170px) !important;
    overflow-y: auto !important;
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
  }

  body.is-homepage.has-home-hero #header .navbar .box-item ul.menu,
  #body.is-homepage.has-home-hero #header .navbar .box-item ul.menu,
  body.is-shared-hero-page #header .navbar .box-item ul.menu,
  #body.is-shared-hero-page #header .navbar .box-item ul.menu,
  body.is-article-page #header .navbar .box-item ul.menu,
  #body.is-article-page #header .navbar .box-item ul.menu {
    display: flex !important;
    flex-direction: column !important;
    align-items: stretch !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 10px !important;
  }
}



/* GR contact page admin content styles. Kept here because production loads article-inline-photos.css. */
.gr-contact-page {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto 72px;
  color: inherit;
}

.gr-contact-intro {
  max-width: 820px;
  margin: 42px auto 38px;
  text-align: center;
}

/* Homepage feature icons: keep icons visible even when admin content omits icon spans. */
body.t-page.homepage .home-hero-feature::before,
body.is-homepage .home-hero-feature::before,
#body.is-homepage .home-hero-feature::before {
  content: "";
  display: block;
  width: 42px;
  height: 42px;
  margin: 0 0 10px;
  background-color: #1a8ee3;
}

body.t-page.homepage .home-hero-feature:nth-child(1)::before,
body.is-homepage .home-hero-feature:nth-child(1)::before,
#body.is-homepage .home-hero-feature:nth-child(1)::before {
  -webkit-mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><path d='M14.5 4h-5L7 7H4a2 2 0 0 0-2 2v8a2 2 0 0 0 2 2h16a2 2 0 0 0 2-2V9a2 2 0 0 0-2-2h-3l-2.5-3z'/><circle cx='12' cy='13' r='3.5'/></svg>") center/contain no-repeat;
          mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><path d='M14.5 4h-5L7 7H4a2 2 0 0 0-2 2v8a2 2 0 0 0 2 2h16a2 2 0 0 0 2-2V9a2 2 0 0 0-2-2h-3l-2.5-3z'/><circle cx='12' cy='13' r='3.5'/></svg>") center/contain no-repeat;
}

body.t-page.homepage .home-hero-feature:nth-child(2)::before,
body.is-homepage .home-hero-feature:nth-child(2)::before,
#body.is-homepage .home-hero-feature:nth-child(2)::before {
  -webkit-mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><circle cx='12' cy='12' r='9'/><path d='M3 12h18'/><path d='M12 3a14 14 0 0 1 0 18'/><path d='M12 3a14 14 0 0 0 0 18'/></svg>") center/contain no-repeat;
          mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><circle cx='12' cy='12' r='9'/><path d='M3 12h18'/><path d='M12 3a14 14 0 0 1 0 18'/><path d='M12 3a14 14 0 0 0 0 18'/></svg>") center/contain no-repeat;
}

body.t-page.homepage .home-hero-feature:nth-child(3)::before,
body.is-homepage .home-hero-feature:nth-child(3)::before,
#body.is-homepage .home-hero-feature:nth-child(3)::before {
  -webkit-mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><path d='M8 3h8l4 4v14H8a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2z'/><path d='M16 3v5h5'/><path d='M10 12h6'/><path d='M10 16h6'/></svg>") center/contain no-repeat;
          mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><path d='M8 3h8l4 4v14H8a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2z'/><path d='M16 3v5h5'/><path d='M10 12h6'/><path d='M10 16h6'/></svg>") center/contain no-repeat;
}

@media (max-width: 900px) {
  body.t-page.homepage .home-hero-feature::before,
  body.is-homepage .home-hero-feature::before,
  #body.is-homepage .home-hero-feature::before {
    width: 34px;
    height: 34px;
    margin: 0 auto 8px;
  }
}

.gr-contact-module__intro {
  max-width: 720px;
  margin: 0 auto 34px;
  text-align: center;
}

.gr-contact-module__title {
  margin: 0;
  color: #fff;
  font-family: 'Cal Sans', Arial, Helvetica, sans-serif;
  font-size: clamp(44px, 6vw, 72px);
  font-weight: 700;
  line-height: 1.02;
}

.gr-contact-module__text {
  margin: 18px auto 0;
  max-width: 66ch;
  color: rgba(255, 255, 255, 0.78);
  font-size: 17px;
  line-height: 1.72;
  text-align: center;
  text-indent: 0;
}

.gr-contact-form__trap {
  position: absolute !important;
  left: -9999px !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

.gr-contact-form__field--captcha small {
  display: block;
  margin-top: 8px;
  color: rgba(255, 255, 255, .58);
  font-size: 13px;
  line-height: 1.45;
}

.gr-contact-kicker {
  margin: 0 0 10px;
  color: #1a8ee3;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  text-indent: 0;
}

.gr-contact-intro h1 {
  margin: 0 0 18px;
  color: #fff;
  font-size: clamp(42px, 6vw, 76px);
  line-height: 1.02;
  font-weight: 400;
}

.gr-contact-intro p {
  margin: 0 auto;
  max-width: 760px;
  color: rgba(255, 255, 255, .84);
  font-size: clamp(17px, 2vw, 22px);
  line-height: 1.65;
  text-indent: 0;
}

.gr-contact-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 18px;
  margin: 42px 0;
}

.gr-contact-card,
.gr-contact-form-block,
.gr-contact-cta {
  border: 1px solid rgba(255, 255, 255, .12);
  background: rgba(18, 18, 18, .62);
  box-shadow: 0 18px 42px rgba(0, 0, 0, .24);
  backdrop-filter: blur(8px);
}

.gr-contact-card {
  min-height: 220px;
  padding: 24px 22px;
  border-radius: 8px;
  transition: transform .22s ease, border-color .22s ease, background .22s ease;
}

.gr-contact-card:hover {
  transform: translateY(-4px);
  border-color: rgba(26, 142, 227, .45);
  background: rgba(24, 24, 24, .78);
}

.gr-contact-card h2,
.gr-contact-form-block h2 {
  margin: 0 0 14px;
  color: #fff;
  font-size: 26px;
  line-height: 1.15;
  font-weight: 400;
}

.gr-contact-card p,
.gr-contact-form-block p,
.gr-contact-cta p {
  margin: 0 0 20px;
  color: rgba(255, 255, 255, .78);
  font-size: 15px;
  line-height: 1.65;
  text-indent: 0;
}

.gr-contact-card a,
.gr-contact-cta a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 10px 16px;
  border: 1px solid rgba(26, 142, 227, .45);
  border-radius: 6px;
  background: rgba(26, 142, 227, .14);
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
  transition: background .2s ease, border-color .2s ease, transform .2s ease;
}

.gr-contact-card a:hover,
.gr-contact-cta a:hover {
  background: rgba(26, 142, 227, .28);
  border-color: rgba(26, 142, 227, .8);
  transform: translateY(-1px);
}

.gr-contact-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.gr-contact-form-block {
  margin: 54px auto 34px;
  padding: clamp(26px, 4vw, 46px);
  border-radius: 8px;
  scroll-margin-top: 140px;
}

.gr-contact-form-block h2,
.gr-contact-form-block p {
  text-align: center;
}

.gr-contact-cta {
  max-width: 860px;
  margin: 42px auto 0;
  padding: clamp(26px, 4vw, 44px);
  border-radius: 8px;
  text-align: center;
}

.gr-contact-cta p {
  max-width: 680px;
  margin: 0 auto 24px;
  font-size: clamp(17px, 2vw, 22px);
}

@media (max-width: 1180px) {
  .gr-contact-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .gr-contact-card:last-child {
    grid-column: 1 / -1;
  }
}

@media (max-width: 680px) {
  .gr-contact-page {
    width: min(100%, calc(100% - 24px));
    margin-bottom: 48px;
  }

  .gr-contact-intro {
    margin-top: 28px;
    text-align: left;
  }

  .gr-contact-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .gr-contact-card,
  .gr-contact-form-block,
  .gr-contact-cta {
    border-radius: 6px;
  }

  .gr-contact-card {
    min-height: 0;
    padding: 22px 18px;
  }

  .gr-contact-card:last-child {
    grid-column: auto;
  }

  .gr-contact-form-block h2,
  .gr-contact-form-block p,
  .gr-contact-cta {
    text-align: left;
  }

  .gr-contact-cta a {
    width: 100%;
  }
}

/* System login page */
body.t-module.m-login #hlavni_kont,
body.m-login #hlavni_kont {
  width: min(100%, calc(100% - 32px)) !important;
  max-width: 1180px !important;
  margin: 46px auto 84px !important;
}

body.t-module.m-login .kontent_1,
body.m-login .kontent_1 {
  position: relative;
  box-sizing: border-box;
  width: min(620px, 100%) !important;
  max-width: 620px !important;
  margin: 0 auto !important;
  padding: clamp(30px, 4vw, 50px) !important;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 8px;
  background: linear-gradient(145deg, rgba(28, 28, 28, .78), rgba(12, 12, 12, .66));
  box-shadow: 0 24px 60px rgba(0, 0, 0, .34);
  color: rgba(255, 255, 255, .84);
  backdrop-filter: blur(8px);
}

body.t-module.m-login .kontent_1::before,
body.m-login .kontent_1::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 4px;
  background: linear-gradient(90deg, transparent, rgba(0, 156, 255, .95), transparent);
}

body.t-module.m-login .kontent_1 h1,
body.m-login .kontent_1 h1 {
  margin: 0 0 28px !important;
  color: #fff !important;
  font-family: "Cal Sans", "Oswald", Arial, sans-serif !important;
  font-size: clamp(38px, 5vw, 58px) !important;
  font-weight: 400 !important;
  line-height: 1.02 !important;
  letter-spacing: 0 !important;
  text-align: center;
}

body.t-module.m-login .login_form,
body.m-login .login_form {
  margin: 0;
}

body.t-module.m-login .login_form table,
body.t-module.m-login .login_form tbody,
body.t-module.m-login .login_form tr,
body.t-module.m-login .login_form th,
body.t-module.m-login .login_form td,
body.m-login .login_form table,
body.m-login .login_form tbody,
body.m-login .login_form tr,
body.m-login .login_form th,
body.m-login .login_form td {
  display: block;
  box-sizing: border-box;
  width: 100% !important;
  border: 0 !important;
  background: transparent !important;
}

body.t-module.m-login .login_form tr,
body.m-login .login_form tr {
  margin: 0 0 18px;
}

body.t-module.m-login .login_form th,
body.m-login .login_form th {
  padding: 0 0 8px !important;
  color: #169eea !important;
  font-size: 13px !important;
  font-weight: 700 !important;
  line-height: 1.3 !important;
  text-align: left !important;
  text-transform: uppercase;
  letter-spacing: .08em;
}

body.t-module.m-login .login_form tr:last-child th,
body.m-login .login_form tr:last-child th {
  display: none;
}

body.t-module.m-login .login_form td,
body.m-login .login_form td {
  padding: 0 !important;
}

body.t-module.m-login .login_form input[type="text"],
body.t-module.m-login .login_form input[type="password"],
body.m-login .login_form input[type="text"],
body.m-login .login_form input[type="password"] {
  box-sizing: border-box;
  width: 100% !important;
  max-width: none !important;
  min-height: 50px;
  padding: 14px 16px !important;
  border: 1px solid rgba(255, 255, 255, .14) !important;
  border-radius: 6px !important;
  background: rgba(255, 255, 255, .07) !important;
  color: #fff !important;
  font-size: 17px !important;
  outline: none;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .04);
  transition: border-color .2s ease, background .2s ease, box-shadow .2s ease;
}

body.t-module.m-login .login_form input[type="text"]:focus,
body.t-module.m-login .login_form input[type="password"]:focus,
body.m-login .login_form input[type="text"]:focus,
body.m-login .login_form input[type="password"]:focus {
  border-color: rgba(0, 156, 255, .85) !important;
  background: rgba(255, 255, 255, .1) !important;
  box-shadow: 0 0 0 3px rgba(0, 156, 255, .16);
}

body.t-module.m-login .login_form input[type="submit"],
body.m-login .login_form input[type="submit"] {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 52px;
  padding: 13px 22px !important;
  border: 0 !important;
  border-radius: 6px !important;
  background: linear-gradient(135deg, #009cff, #006dca) !important;
  color: #fff !important;
  font-family: "Cal Sans", "Oswald", Arial, sans-serif !important;
  font-size: 20px !important;
  font-weight: 400 !important;
  line-height: 1 !important;
  text-align: center;
  cursor: pointer;
  box-shadow: 0 14px 28px rgba(0, 0, 0, .28);
  transition: transform .2s ease, filter .2s ease, box-shadow .2s ease;
}

body.t-module.m-login .login_form input[type="submit"]:hover,
body.m-login .login_form input[type="submit"]:hover {
  transform: translateY(-1px);
  filter: brightness(1.08);
  box-shadow: 0 18px 34px rgba(0, 0, 0, .34);
}

body.t-module.m-login .login_form label,
body.m-login .login_form label {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-top: 15px;
  color: rgba(255, 255, 255, .7);
  font-size: 15px;
  line-height: 1.35;
}

body.t-module.m-login .login_form input[type="checkbox"],
body.m-login .login_form input[type="checkbox"] {
  width: 19px;
  height: 19px;
  margin: 0;
  accent-color: #009cff;
}

body.t-module.m-login .login-form-links,
body.m-login .login-form-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  margin: 28px 0 0 !important;
  padding: 0 !important;
  list-style: none !important;
}

body.t-module.m-login .login-form-links li,
body.m-login .login-form-links li {
  margin: 0 !important;
  padding: 0 !important;
}

body.t-module.m-login .login-form-links a,
body.m-login .login-form-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 10px 16px;
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 6px;
  background: rgba(255, 255, 255, .05);
  color: rgba(255, 255, 255, .82) !important;
  font-size: 15px;
  line-height: 1.2;
  text-decoration: none !important;
  transition: border-color .2s ease, background .2s ease, color .2s ease;
}

body.t-module.m-login .login-form-links a:hover,
body.m-login .login-form-links a:hover {
  border-color: rgba(0, 156, 255, .55);
  background: rgba(0, 156, 255, .12);
  color: #fff !important;
}

@media (max-width: 680px) {
  body.t-module.m-login #hlavni_kont,
  body.m-login #hlavni_kont {
    width: min(100%, calc(100% - 24px)) !important;
    margin: 28px auto 56px !important;
  }

  body.t-module.m-login .kontent_1,
  body.m-login .kontent_1 {
    padding: 28px 18px 24px !important;
    border-radius: 6px;
  }

  body.t-module.m-login .kontent_1 h1,
  body.m-login .kontent_1 h1 {
    margin-bottom: 24px !important;
    font-size: 38px !important;
  }

  body.t-module.m-login .login-form-links,
  body.m-login .login-form-links {
    flex-direction: column;
  }

  body.t-module.m-login .login-form-links a,
  body.m-login .login-form-links a {
    width: 100%;
  }
}

/* System profile page */
body.t-module.m-profile #hlavni_kont,
body.m-profile #hlavni_kont {
  width: min(100%, calc(100% - 32px)) !important;
  max-width: 1180px !important;
  margin: 46px auto 84px !important;
}

body.t-module.m-profile .kontent_1,
body.m-profile .kontent_1 {
  position: relative;
  box-sizing: border-box;
  width: min(860px, 100%) !important;
  max-width: 860px !important;
  margin: 0 auto !important;
  padding: clamp(30px, 4vw, 52px) !important;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 8px;
  background: linear-gradient(145deg, rgba(28, 28, 28, .78), rgba(12, 12, 12, .66));
  box-shadow: 0 24px 60px rgba(0, 0, 0, .34);
  color: rgba(255, 255, 255, .84);
  backdrop-filter: blur(8px);
}

body.t-module.m-profile .kontent_1::before,
body.m-profile .kontent_1::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 4px;
  background: linear-gradient(90deg, transparent, rgba(0, 156, 255, .95), transparent);
}

body.t-module.m-profile .kontent_1 h1,
body.m-profile .kontent_1 h1 {
  margin: 0 0 30px !important;
  color: #fff !important;
  font-family: "Cal Sans", "Oswald", Arial, sans-serif !important;
  font-size: clamp(38px, 5vw, 58px) !important;
  font-weight: 400 !important;
  line-height: 1.04 !important;
  letter-spacing: 0 !important;
  text-align: center;
}

body.t-module.m-profile .profiletable,
body.t-module.m-profile .profiletable tbody,
body.t-module.m-profile .profiletable tr,
body.t-module.m-profile .profiletable th,
body.t-module.m-profile .profiletable td,
body.m-profile .profiletable,
body.m-profile .profiletable tbody,
body.m-profile .profiletable tr,
body.m-profile .profiletable th,
body.m-profile .profiletable td {
  box-sizing: border-box;
  border: 0 !important;
  background: transparent !important;
}

body.t-module.m-profile .kontent_1 > .profiletable,
body.m-profile .kontent_1 > .profiletable {
  width: 100% !important;
  margin: 0 !important;
}

body.t-module.m-profile .kontent_1 > .profiletable > tbody > tr,
body.m-profile .kontent_1 > .profiletable > tbody > tr {
  display: grid;
  grid-template-columns: 170px minmax(0, 1fr);
  gap: 30px;
  align-items: start;
}

body.t-module.m-profile .avatartd,
body.m-profile .avatartd {
  width: 170px !important;
  padding: 0 !important;
}

body.t-module.m-profile .avatartd a,
body.m-profile .avatartd a {
  display: grid;
  place-items: center;
  width: 150px;
  aspect-ratio: 1;
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 50%;
  background: radial-gradient(circle at 35% 25%, rgba(0, 156, 255, .34), rgba(255, 255, 255, .06) 38%, rgba(0, 0, 0, .32) 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .08), 0 18px 42px rgba(0, 0, 0, .28);
  text-decoration: none !important;
}

body.t-module.m-profile .avatartd a::before,
body.m-profile .avatartd a::before {
  content: "GR";
  color: #fff;
  font-family: "Cal Sans", "Oswald", Arial, sans-serif;
  font-size: 46px;
  font-weight: 400;
  line-height: 1;
  letter-spacing: 0;
}

body.t-module.m-profile .avatartd .avatar,
body.m-profile .avatartd .avatar {
  display: none !important;
}

body.t-module.m-profile .profiletable .profiletable,
body.m-profile .profiletable .profiletable {
  width: 100% !important;
  border-collapse: separate !important;
  border-spacing: 0 10px !important;
}

body.t-module.m-profile .profiletable .profiletable tr,
body.m-profile .profiletable .profiletable tr,
body.t-module.m-profile .kontent_1 > .profiletable + .profile-hr + .profiletable tr,
body.m-profile .kontent_1 > .profiletable + .profile-hr + .profiletable tr {
  display: grid;
  grid-template-columns: minmax(150px, .42fr) minmax(0, 1fr);
  gap: 18px;
  align-items: center;
  padding: 13px 16px;
  border: 1px solid rgba(255, 255, 255, .09);
  border-radius: 7px;
  background: rgba(255, 255, 255, .045) !important;
}

body.t-module.m-profile .profiletable th,
body.m-profile .profiletable th {
  width: auto !important;
  padding: 0 !important;
  color: #169eea !important;
  font-size: 12px !important;
  font-weight: 700 !important;
  line-height: 1.35 !important;
  text-align: left !important;
  text-transform: uppercase;
  letter-spacing: .08em;
}

body.t-module.m-profile .profiletable td,
body.m-profile .profiletable td {
  width: auto !important;
  padding: 0 !important;
  color: rgba(255, 255, 255, .88);
  font-size: 17px;
  line-height: 1.45;
}

body.t-module.m-profile .profiletable a,
body.m-profile .profiletable a {
  color: #55c1ff !important;
  text-decoration: none !important;
}

body.t-module.m-profile .profiletable a:hover,
body.m-profile .profiletable a:hover {
  color: #fff !important;
}

body.t-module.m-profile .text-icon,
body.m-profile .text-icon {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

body.t-module.m-profile .text-icon .icon,
body.m-profile .text-icon .icon {
  width: 18px;
  height: 18px;
}

body.t-module.m-profile .profile-hr,
body.m-profile .profile-hr {
  margin: 28px 0 !important;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .16), transparent);
}

body.t-module.m-profile .profile-hr hr,
body.m-profile .profile-hr hr {
  display: none;
}

body.t-module.m-profile .kontent_1 > .profile-hr + .profiletable,
body.m-profile .kontent_1 > .profile-hr + .profiletable {
  width: 100% !important;
  border-collapse: separate !important;
  border-spacing: 0 10px !important;
}

@media (max-width: 760px) {
  body.t-module.m-profile #hlavni_kont,
  body.m-profile #hlavni_kont {
    width: min(100%, calc(100% - 24px)) !important;
    margin: 28px auto 56px !important;
  }

  body.t-module.m-profile .kontent_1,
  body.m-profile .kontent_1 {
    padding: 28px 18px 24px !important;
    border-radius: 6px;
  }

  body.t-module.m-profile .kontent_1 h1,
  body.m-profile .kontent_1 h1 {
    margin-bottom: 24px !important;
    font-size: 36px !important;
  }

  body.t-module.m-profile .kontent_1 > .profiletable > tbody > tr,
  body.m-profile .kontent_1 > .profiletable > tbody > tr {
    grid-template-columns: 1fr;
    gap: 20px;
    justify-items: center;
  }

  body.t-module.m-profile .avatartd,
  body.m-profile .avatartd {
    width: auto !important;
  }

  body.t-module.m-profile .avatartd a,
  body.m-profile .avatartd a {
    width: 128px;
  }

  body.t-module.m-profile .profiletable .profiletable tr,
  body.m-profile .profiletable .profiletable tr,
  body.t-module.m-profile .kontent_1 > .profiletable + .profile-hr + .profiletable tr,
  body.m-profile .kontent_1 > .profiletable + .profile-hr + .profiletable tr {
    grid-template-columns: 1fr;
    gap: 6px;
    padding: 14px;
  }

  body.t-module.m-profile .profiletable th,
  body.m-profile .profiletable th,
  body.t-module.m-profile .profiletable td,
  body.m-profile .profiletable td {
    text-align: center !important;
  }

  body.t-module.m-profile .text-icon,
  body.m-profile .text-icon {
    justify-content: center;
  }
}

/* System registration page */
body.t-module.m-reg #hlavni_kont,
body.m-reg #hlavni_kont {
  width: min(100%, calc(100% - 32px)) !important;
  max-width: 1180px !important;
  margin: 46px auto 84px !important;
}

body.t-module.m-reg .kontent_1,
body.m-reg .kontent_1 {
  position: relative;
  box-sizing: border-box;
  width: min(720px, 100%) !important;
  max-width: 720px !important;
  margin: 0 auto !important;
  padding: clamp(30px, 4vw, 52px) !important;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 8px;
  background: linear-gradient(145deg, rgba(28, 28, 28, .78), rgba(12, 12, 12, .66));
  box-shadow: 0 24px 60px rgba(0, 0, 0, .34);
  color: rgba(255, 255, 255, .84);
  backdrop-filter: blur(8px);
}

body.t-module.m-reg .kontent_1::before,
body.m-reg .kontent_1::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 4px;
  background: linear-gradient(90deg, transparent, rgba(0, 156, 255, .95), transparent);
}

body.t-module.m-reg .kontent_1 h1,
body.m-reg .kontent_1 h1 {
  margin: 0 0 20px !important;
  color: #fff !important;
  font-family: "Cal Sans", "Oswald", Arial, sans-serif !important;
  font-size: clamp(38px, 5vw, 58px) !important;
  font-weight: 400 !important;
  line-height: 1.04 !important;
  letter-spacing: 0 !important;
  text-align: center;
}

body.t-module.m-reg .kontent_1 .bborder,
body.m-reg .kontent_1 .bborder {
  max-width: 560px;
  margin: 0 auto 28px !important;
  padding: 0 0 22px !important;
  border: 0 !important;
  color: rgba(255, 255, 255, .72);
  font-size: 16px;
  line-height: 1.65;
  text-align: center;
}

body.t-module.m-reg form,
body.m-reg form {
  margin: 0;
}

body.t-module.m-reg form table,
body.t-module.m-reg form tbody,
body.t-module.m-reg form tr,
body.t-module.m-reg form th,
body.t-module.m-reg form td,
body.m-reg form table,
body.m-reg form tbody,
body.m-reg form tr,
body.m-reg form th,
body.m-reg form td {
  display: block;
  box-sizing: border-box;
  width: 100% !important;
  border: 0 !important;
  background: transparent !important;
}

body.t-module.m-reg form tr,
body.m-reg form tr {
  margin: 0 0 18px;
}

body.t-module.m-reg form th,
body.m-reg form th {
  padding: 0 0 8px !important;
  color: #169eea !important;
  font-size: 13px !important;
  font-weight: 700 !important;
  line-height: 1.3 !important;
  text-align: left !important;
  text-transform: uppercase;
  letter-spacing: .08em;
}

body.t-module.m-reg form tr:last-child th,
body.m-reg form tr:last-child th {
  display: none;
}

body.t-module.m-reg form td,
body.m-reg form td {
  padding: 0 !important;
}

body.t-module.m-reg form input[type="text"],
body.t-module.m-reg form input[type="password"],
body.t-module.m-reg form input[type="email"],
body.t-module.m-reg form select,
body.m-reg form input[type="text"],
body.m-reg form input[type="password"],
body.m-reg form input[type="email"],
body.m-reg form select {
  box-sizing: border-box;
  width: 100% !important;
  max-width: none !important;
  min-height: 50px;
  padding: 14px 16px !important;
  border: 1px solid rgba(255, 255, 255, .14) !important;
  border-radius: 6px !important;
  background: rgba(255, 255, 255, .07) !important;
  color: #fff !important;
  font-size: 17px !important;
  outline: none;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .04);
  transition: border-color .2s ease, background .2s ease, box-shadow .2s ease;
}

body.t-module.m-reg form input[type="text"]:focus,
body.t-module.m-reg form input[type="password"]:focus,
body.t-module.m-reg form input[type="email"]:focus,
body.t-module.m-reg form select:focus,
body.m-reg form input[type="text"]:focus,
body.m-reg form input[type="password"]:focus,
body.m-reg form input[type="email"]:focus,
body.m-reg form select:focus {
  border-color: rgba(0, 156, 255, .85) !important;
  background: rgba(255, 255, 255, .1) !important;
  box-shadow: 0 0 0 3px rgba(0, 156, 255, .16);
}

body.t-module.m-reg form input[type="submit"],
body.m-reg form input[type="submit"] {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 52px;
  padding: 13px 22px !important;
  border: 0 !important;
  border-radius: 6px !important;
  background: linear-gradient(135deg, #009cff, #006dca) !important;
  color: #fff !important;
  font-family: "Cal Sans", "Oswald", Arial, sans-serif !important;
  font-size: 20px !important;
  font-weight: 400 !important;
  line-height: 1 !important;
  text-align: center;
  cursor: pointer;
  box-shadow: 0 14px 28px rgba(0, 0, 0, .28);
  transition: transform .2s ease, filter .2s ease, box-shadow .2s ease;
}

body.t-module.m-reg form input[type="submit"]:hover,
body.m-reg form input[type="submit"]:hover {
  transform: translateY(-1px);
  filter: brightness(1.08);
  box-shadow: 0 18px 34px rgba(0, 0, 0, .34);
}

body.t-module.m-reg form label,
body.m-reg form label {
  display: inline-flex;
  align-items: flex-start;
  gap: 10px;
  color: rgba(255, 255, 255, .72);
  font-size: 15px;
  line-height: 1.45;
}

body.t-module.m-reg form input[type="checkbox"],
body.m-reg form input[type="checkbox"] {
  flex: 0 0 auto;
  width: 19px;
  height: 19px;
  margin: 2px 0 0;
  accent-color: #009cff;
}

body.t-module.m-reg .gr-reg-antispam,
body.m-reg .gr-reg-antispam {
  position: relative;
}

body.t-module.m-reg .gr-reg-antispam small,
body.m-reg .gr-reg-antispam small {
  display: block;
  margin-top: 8px;
  color: rgba(255, 255, 255, .58);
  font-size: 13px;
  line-height: 1.45;
}

body.t-module.m-reg .gr-reg-trap,
body.m-reg .gr-reg-trap {
  position: absolute !important;
  left: -9999px !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

body.t-module.m-reg form h2,
body.m-reg form h2 {
  margin: 0 0 16px !important;
  color: #fff !important;
  font-family: "Cal Sans", "Oswald", Arial, sans-serif !important;
  font-size: clamp(28px, 4vw, 42px) !important;
  font-weight: 400 !important;
  line-height: 1.08 !important;
  letter-spacing: 0 !important;
  text-align: center;
}

body.t-module.m-reg .gr-reg-rules,
body.m-reg .gr-reg-rules {
  max-height: 280px;
  margin: 0 0 18px;
  padding: 18px;
  overflow: auto;
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: 7px;
  background: rgba(255, 255, 255, .045);
  color: rgba(255, 255, 255, .72);
  scrollbar-color: rgba(0, 156, 255, .55) rgba(255, 255, 255, .06);
}

body.t-module.m-reg .gr-reg-rules p,
body.m-reg .gr-reg-rules p {
  margin: 0 0 12px !important;
  font-size: 15px;
  line-height: 1.65;
}

body.t-module.m-reg .gr-reg-rules p:last-child,
body.m-reg .gr-reg-rules p:last-child {
  margin-bottom: 0 !important;
}

body.t-module.m-reg .gr-reg-rules a,
body.m-reg .gr-reg-rules a {
  color: #55c1ff !important;
  text-decoration: none !important;
}

body.t-module.m-reg .gr-reg-rules + p,
body.m-reg .gr-reg-rules + p {
  margin: 0 !important;
  text-align: center;
}

@media (max-width: 680px) {
  body.t-module.m-reg #hlavni_kont,
  body.m-reg #hlavni_kont {
    width: min(100%, calc(100% - 24px)) !important;
    margin: 28px auto 56px !important;
  }

  body.t-module.m-reg .kontent_1,
  body.m-reg .kontent_1 {
    padding: 28px 18px 24px !important;
    border-radius: 6px;
  }

  body.t-module.m-reg .kontent_1 h1,
  body.m-reg .kontent_1 h1 {
    font-size: 38px !important;
  }

  body.t-module.m-reg .kontent_1 .bborder,
  body.m-reg .kontent_1 .bborder {
    text-align: left;
  }

  body.t-module.m-reg form h2,
  body.m-reg form h2,
  body.t-module.m-reg .gr-reg-rules + p,
  body.m-reg .gr-reg-rules + p {
    text-align: left;
  }

  body.t-module.m-reg .gr-reg-rules,
  body.m-reg .gr-reg-rules {
    max-height: 340px;
    padding: 15px;
  }
}

/* System messages page */
body.t-module.m-messages #hlavni_kont,
body.m-messages #hlavni_kont {
  width: min(100%, calc(100% - 32px)) !important;
  max-width: 1180px !important;
  margin: 46px auto 84px !important;
}

body.t-module.m-messages .kontent_1,
body.m-messages .kontent_1 {
  position: relative;
  box-sizing: border-box;
  width: min(960px, 100%) !important;
  max-width: 960px !important;
  margin: 0 auto !important;
  padding: clamp(30px, 4vw, 52px) !important;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 8px;
  background: linear-gradient(145deg, rgba(28, 28, 28, .78), rgba(12, 12, 12, .66));
  box-shadow: 0 24px 60px rgba(0, 0, 0, .34);
  color: rgba(255, 255, 255, .84);
  backdrop-filter: blur(8px);
}

body.t-module.m-messages .kontent_1::before,
body.m-messages .kontent_1::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 4px;
  background: linear-gradient(90deg, transparent, rgba(0, 156, 255, .95), transparent);
}

body.t-module.m-messages .kontent_1 h1,
body.m-messages .kontent_1 h1 {
  margin: 0 0 30px !important;
  color: #fff !important;
  font-family: "Cal Sans", "Oswald", Arial, sans-serif !important;
  font-size: clamp(38px, 5vw, 58px) !important;
  font-weight: 400 !important;
  line-height: 1.04 !important;
  letter-spacing: 0 !important;
  text-align: center;
}

body.t-module.m-messages .messages-menu,
body.m-messages .messages-menu {
  display: flex;
  justify-content: flex-end;
  margin: 0 0 18px !important;
}

body.t-module.m-messages .messages-menu .button,
body.m-messages .messages-menu .button,
body.t-module.m-messages form input[type="submit"],
body.m-messages form input[type="submit"],
body.t-module.m-messages button,
body.m-messages button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 11px 18px !important;
  border: 0 !important;
  border-radius: 6px !important;
  background: linear-gradient(135deg, #009cff, #006dca) !important;
  color: #fff !important;
  font-family: "Cal Sans", "Oswald", Arial, sans-serif !important;
  font-size: 17px !important;
  font-weight: 400 !important;
  line-height: 1 !important;
  text-decoration: none !important;
  cursor: pointer;
  box-shadow: 0 12px 24px rgba(0, 0, 0, .26);
  transition: transform .2s ease, filter .2s ease, box-shadow .2s ease;
}

body.t-module.m-messages .messages-menu .button:hover,
body.m-messages .messages-menu .button:hover,
body.t-module.m-messages form input[type="submit"]:hover,
body.m-messages form input[type="submit"]:hover,
body.t-module.m-messages button:hover,
body.m-messages button:hover {
  transform: translateY(-1px);
  filter: brightness(1.08);
  box-shadow: 0 16px 30px rgba(0, 0, 0, .32);
}

body.t-module.m-messages .messages-menu .icon,
body.m-messages .messages-menu .icon {
  width: 18px;
  height: 18px;
  margin-right: 8px;
  filter: brightness(0) invert(1);
}

body.t-module.m-messages .messages-table,
body.m-messages .messages-table {
  width: 100% !important;
  border-collapse: separate !important;
  border-spacing: 0 10px !important;
  border: 0 !important;
  background: transparent !important;
}

body.t-module.m-messages .messages-table thead tr,
body.m-messages .messages-table thead tr {
  background: transparent !important;
}

body.t-module.m-messages .messages-table th,
body.t-module.m-messages .messages-table td,
body.m-messages .messages-table th,
body.m-messages .messages-table td {
  border: 0 !important;
  background: transparent !important;
}

body.t-module.m-messages .messages-table thead th,
body.t-module.m-messages .messages-table thead td,
body.m-messages .messages-table thead th,
body.m-messages .messages-table thead td {
  padding: 0 14px 8px !important;
  color: #169eea !important;
  font-size: 12px !important;
  font-weight: 700 !important;
  line-height: 1.35 !important;
  text-align: left !important;
  text-transform: uppercase;
  letter-spacing: .08em;
}

body.t-module.m-messages .messages-table tbody tr,
body.m-messages .messages-table tbody tr {
  background: rgba(255, 255, 255, .045) !important;
  transition: background .2s ease, transform .2s ease;
}

body.t-module.m-messages .messages-table tbody tr:hover,
body.m-messages .messages-table tbody tr:hover {
  background: rgba(255, 255, 255, .075) !important;
  transform: translateY(-1px);
}

body.t-module.m-messages .messages-table tbody td,
body.m-messages .messages-table tbody td {
  padding: 15px 14px !important;
  color: rgba(255, 255, 255, .82);
  font-size: 15px;
  line-height: 1.45;
  vertical-align: middle;
}

body.t-module.m-messages .messages-table tbody td:first-child,
body.m-messages .messages-table tbody td:first-child {
  width: 44px;
  border-radius: 7px 0 0 7px;
  text-align: center;
}

body.t-module.m-messages .messages-table tbody td:last-child,
body.m-messages .messages-table tbody td:last-child {
  border-radius: 0 7px 7px 0;
}

body.t-module.m-messages .messages-table a,
body.m-messages .messages-table a {
  color: rgba(255, 255, 255, .9) !important;
  text-decoration: none !important;
}

body.t-module.m-messages .messages-table a:hover,
body.m-messages .messages-table a:hover {
  color: #55c1ff !important;
}

body.t-module.m-messages .messages-table a.notread,
body.m-messages .messages-table a.notread {
  color: #55c1ff !important;
  font-weight: 700;
}

body.t-module.m-messages .messages-table a.notread::before,
body.m-messages .messages-table a.notread::before {
  content: "";
  display: inline-block;
  width: 8px;
  height: 8px;
  margin-right: 8px;
  border-radius: 50%;
  background: #009cff;
  box-shadow: 0 0 12px rgba(0, 156, 255, .75);
  vertical-align: middle;
}

body.t-module.m-messages .messages-table small,
body.m-messages .messages-table small {
  color: rgba(255, 255, 255, .5);
}

body.t-module.m-messages .messages-table tfoot td,
body.m-messages .messages-table tfoot td {
  padding: 18px 0 0 !important;
}

body.t-module.m-messages .messages-hr,
body.m-messages .messages-hr {
  margin: 8px 0 18px !important;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .16), transparent);
}

body.t-module.m-messages .messages-hr hr,
body.m-messages .messages-hr hr {
  display: none;
}

body.t-module.m-messages .messages-table tfoot select,
body.m-messages .messages-table tfoot select,
body.t-module.m-messages form input[type="text"],
body.t-module.m-messages form textarea,
body.m-messages form input[type="text"],
body.m-messages form textarea {
  box-sizing: border-box;
  max-width: none !important;
  min-height: 48px;
  padding: 13px 15px !important;
  border: 1px solid rgba(255, 255, 255, .14) !important;
  border-radius: 6px !important;
  background: rgba(255, 255, 255, .07) !important;
  color: #fff !important;
  font-size: 16px !important;
  outline: none;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .04);
  transition: border-color .2s ease, background .2s ease, box-shadow .2s ease;
}

body.t-module.m-messages .messages-table tfoot select,
body.m-messages .messages-table tfoot select {
  width: min(320px, 100%) !important;
  margin-right: 10px;
}

body.t-module.m-messages .messages-table tfoot select option,
body.m-messages .messages-table tfoot select option {
  background: #121212;
  color: #fff;
}

body.t-module.m-messages form input[type="text"],
body.t-module.m-messages form textarea,
body.m-messages form input[type="text"],
body.m-messages form textarea {
  width: 100% !important;
}

body.t-module.m-messages form textarea,
body.m-messages form textarea {
  min-height: 170px;
  resize: vertical;
}

body.t-module.m-messages .messages-table tfoot select:focus,
body.m-messages .messages-table tfoot select:focus,
body.t-module.m-messages form input[type="text"]:focus,
body.t-module.m-messages form textarea:focus,
body.m-messages form input[type="text"]:focus,
body.m-messages form textarea:focus {
  border-color: rgba(0, 156, 255, .85) !important;
  background: rgba(255, 255, 255, .1) !important;
  box-shadow: 0 0 0 3px rgba(0, 156, 255, .16);
}

body.t-module.m-messages form:not([name="messages"]) table,
body.t-module.m-messages form:not([name="messages"]) tbody,
body.t-module.m-messages form:not([name="messages"]) tr,
body.t-module.m-messages form:not([name="messages"]) th,
body.t-module.m-messages form:not([name="messages"]) td,
body.m-messages form:not([name="messages"]) table,
body.m-messages form:not([name="messages"]) tbody,
body.m-messages form:not([name="messages"]) tr,
body.m-messages form:not([name="messages"]) th,
body.m-messages form:not([name="messages"]) td {
  display: block;
  box-sizing: border-box;
  width: 100% !important;
  border: 0 !important;
  background: transparent !important;
}

body.t-module.m-messages form:not([name="messages"]) tr,
body.m-messages form:not([name="messages"]) tr {
  margin: 0 0 18px;
}

body.t-module.m-messages form:not([name="messages"]) th,
body.m-messages form:not([name="messages"]) th {
  padding: 0 0 8px !important;
  color: #169eea !important;
  font-size: 13px !important;
  font-weight: 700 !important;
  line-height: 1.3 !important;
  text-align: left !important;
  text-transform: uppercase;
  letter-spacing: .08em;
}

body.t-module.m-messages form:not([name="messages"]) td,
body.m-messages form:not([name="messages"]) td {
  padding: 0 !important;
}

body.t-module.m-messages .topic,
body.m-messages .topic {
  margin: 0 0 28px;
}

body.t-module.m-messages .topic .post,
body.m-messages .topic .post,
body.t-module.m-messages .post,
body.m-messages .post {
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: 7px;
  background: rgba(255, 255, 255, .045);
}

@media (max-width: 760px) {
  body.t-module.m-messages #hlavni_kont,
  body.m-messages #hlavni_kont {
    width: min(100%, calc(100% - 24px)) !important;
    margin: 28px auto 56px !important;
  }

  body.t-module.m-messages .kontent_1,
  body.m-messages .kontent_1 {
    padding: 28px 18px 24px !important;
    border-radius: 6px;
  }

  body.t-module.m-messages .kontent_1 h1,
  body.m-messages .kontent_1 h1 {
    margin-bottom: 24px !important;
    font-size: 36px !important;
  }

  body.t-module.m-messages .messages-menu,
  body.m-messages .messages-menu {
    justify-content: stretch;
  }

  body.t-module.m-messages .messages-menu .button,
  body.m-messages .messages-menu .button {
    width: 100%;
  }

  body.t-module.m-messages .messages-table,
  body.t-module.m-messages .messages-table tbody,
  body.t-module.m-messages .messages-table tr,
  body.t-module.m-messages .messages-table td,
  body.m-messages .messages-table,
  body.m-messages .messages-table tbody,
  body.m-messages .messages-table tr,
  body.m-messages .messages-table td {
    display: block;
    width: 100% !important;
    box-sizing: border-box;
  }

  body.t-module.m-messages .messages-table thead,
  body.m-messages .messages-table thead {
    display: none;
  }

  body.t-module.m-messages .messages-table tbody tr,
  body.m-messages .messages-table tbody tr {
    margin: 0 0 12px;
    padding: 14px;
    border: 1px solid rgba(255, 255, 255, .09);
    border-radius: 7px;
  }

  body.t-module.m-messages .messages-table tbody td,
  body.m-messages .messages-table tbody td {
    padding: 4px 0 !important;
    text-align: left !important;
  }

  body.t-module.m-messages .messages-table tbody td:first-child,
  body.t-module.m-messages .messages-table tbody td:last-child,
  body.m-messages .messages-table tbody td:first-child,
  body.m-messages .messages-table tbody td:last-child {
    border-radius: 0;
  }

  body.t-module.m-messages .messages-table tbody td:first-child,
  body.m-messages .messages-table tbody td:first-child {
    width: 100% !important;
    text-align: right !important;
  }

  body.t-module.m-messages .messages-table tfoot,
  body.t-module.m-messages .messages-table tfoot tr,
  body.t-module.m-messages .messages-table tfoot td,
  body.m-messages .messages-table tfoot,
  body.m-messages .messages-table tfoot tr,
  body.m-messages .messages-table tfoot td {
    display: block;
    width: 100% !important;
  }

  body.t-module.m-messages .messages-table tfoot select,
  body.m-messages .messages-table tfoot select {
    width: 100% !important;
    margin: 0 0 10px;
  }

  body.t-module.m-messages .messages-table tfoot input[type="submit"],
  body.m-messages .messages-table tfoot input[type="submit"] {
    width: 100%;
  }
}

/* Footer cookie link should feel like a footer link, not a primary button. */
.gr-footer-bottom .gr-footer-cookie-link,
.gr-footer-cookie-link {
  display: inline-flex !important;
  align-items: center;
  min-height: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  color: rgba(255, 255, 255, .6) !important;
  font: inherit !important;
  line-height: inherit !important;
  text-decoration: none !important;
  box-shadow: none !important;
  cursor: pointer;
}

.gr-footer-bottom .gr-footer-cookie-link:hover,
.gr-footer-cookie-link:hover {
  background: transparent !important;
  color: #55c1ff !important;
  transform: none !important;
  box-shadow: none !important;
}

/* System user settings page */
body.t-module.m-settings #hlavni_kont,
body.m-settings #hlavni_kont {
  width: min(100%, calc(100% - 32px)) !important;
  max-width: 1180px !important;
  margin: 46px auto 84px !important;
}

body.t-module.m-settings .kontent_1,
body.m-settings .kontent_1 {
  position: relative;
  box-sizing: border-box;
  width: min(960px, 100%) !important;
  max-width: 960px !important;
  margin: 0 auto !important;
  padding: clamp(30px, 4vw, 52px) !important;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 8px;
  background: linear-gradient(145deg, rgba(28, 28, 28, .78), rgba(12, 12, 12, .66));
  box-shadow: 0 24px 60px rgba(0, 0, 0, .34);
  color: rgba(255, 255, 255, .84);
  backdrop-filter: blur(8px);
}

body.t-module.m-settings .kontent_1::before,
body.m-settings .kontent_1::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 4px;
  background: linear-gradient(90deg, transparent, rgba(0, 156, 255, .95), transparent);
}

body.t-module.m-settings .kontent_1 h1,
body.m-settings .kontent_1 h1 {
  margin: 0 0 30px !important;
  color: #fff !important;
  font-family: "Cal Sans", "Oswald", Arial, sans-serif !important;
  font-size: clamp(38px, 5vw, 58px) !important;
  font-weight: 400 !important;
  line-height: 1.04 !important;
  letter-spacing: 0 !important;
  text-align: center;
}

body.t-module.m-settings .user-settings-actions,
body.m-settings .user-settings-actions {
  max-width: 760px;
  margin: 0 auto;
}

body.t-module.m-settings .user-settings-actions p,
body.m-settings .user-settings-actions p {
  max-width: 620px;
  margin: 0 auto 28px !important;
  color: rgba(255, 255, 255, .72);
  font-size: 16px;
  line-height: 1.65;
  text-align: center;
}

body.t-module.m-settings .user-settings-actions ul,
body.m-settings .user-settings-actions ul {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin: 0 !important;
  padding: 0 !important;
  list-style: none !important;
}

body.t-module.m-settings .user-settings-actions li,
body.m-settings .user-settings-actions li {
  margin: 0 !important;
  padding: 0 !important;
}

body.t-module.m-settings .user-settings-actions a,
body.m-settings .user-settings-actions a {
  display: flex;
  align-items: center;
  min-height: 78px;
  padding: 20px;
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: 7px;
  background: rgba(255, 255, 255, .045);
  color: rgba(255, 255, 255, .86) !important;
  font-family: "Cal Sans", "Oswald", Arial, sans-serif;
  font-size: 23px;
  font-weight: 400;
  line-height: 1.12;
  letter-spacing: 0;
  text-decoration: none !important;
  transition: border-color .2s ease, background .2s ease, color .2s ease, transform .2s ease;
}

body.t-module.m-settings .user-settings-actions a::before,
body.m-settings .user-settings-actions a::before {
  content: "";
  flex: 0 0 auto;
  width: 10px;
  height: 10px;
  margin-right: 13px;
  border-radius: 50%;
  background: #009cff;
  box-shadow: 0 0 16px rgba(0, 156, 255, .55);
}

body.t-module.m-settings .user-settings-actions a:hover,
body.m-settings .user-settings-actions a:hover {
  border-color: rgba(0, 156, 255, .45);
  background: rgba(0, 156, 255, .1);
  color: #fff !important;
  transform: translateY(-1px);
}

body.t-module.m-settings form,
body.m-settings form {
  margin: 0;
}

body.t-module.m-settings fieldset,
body.m-settings fieldset {
  margin: 0 0 24px !important;
  padding: 0 !important;
  border: 0 !important;
}

body.t-module.m-settings legend,
body.m-settings legend {
  width: 100%;
  margin: 0 0 22px !important;
  padding: 0 !important;
  color: #fff !important;
  font-family: "Cal Sans", "Oswald", Arial, sans-serif !important;
  font-size: clamp(28px, 4vw, 42px) !important;
  font-weight: 400 !important;
  line-height: 1.08 !important;
  letter-spacing: 0 !important;
  text-align: center;
}

body.t-module.m-settings .profiletable,
body.t-module.m-settings .profiletable tbody,
body.t-module.m-settings .profiletable tr,
body.t-module.m-settings .profiletable th,
body.t-module.m-settings .profiletable td,
body.m-settings .profiletable,
body.m-settings .profiletable tbody,
body.m-settings .profiletable tr,
body.m-settings .profiletable th,
body.m-settings .profiletable td {
  display: block;
  box-sizing: border-box;
  width: 100% !important;
  border: 0 !important;
  background: transparent !important;
}

body.t-module.m-settings .profiletable tr,
body.m-settings .profiletable tr {
  margin: 0 0 18px;
}

body.t-module.m-settings .profiletable th,
body.m-settings .profiletable th {
  padding: 0 0 8px !important;
  color: #169eea !important;
  font-size: 13px !important;
  font-weight: 700 !important;
  line-height: 1.3 !important;
  text-align: left !important;
  text-transform: uppercase;
  letter-spacing: .08em;
}

body.t-module.m-settings .profiletable td,
body.m-settings .profiletable td {
  padding: 0 !important;
  color: rgba(255, 255, 255, .76);
}

body.t-module.m-settings .profiletable input[type="text"],
body.t-module.m-settings .profiletable input[type="password"],
body.t-module.m-settings .profiletable input[type="email"],
body.t-module.m-settings .profiletable input[type="file"],
body.t-module.m-settings .profiletable textarea,
body.t-module.m-settings .profiletable select,
body.m-settings .profiletable input[type="text"],
body.m-settings .profiletable input[type="password"],
body.m-settings .profiletable input[type="email"],
body.m-settings .profiletable input[type="file"],
body.m-settings .profiletable textarea,
body.m-settings .profiletable select {
  box-sizing: border-box;
  width: 100% !important;
  max-width: none !important;
  min-height: 50px;
  padding: 14px 16px !important;
  border: 1px solid rgba(255, 255, 255, .14) !important;
  border-radius: 6px !important;
  background: rgba(255, 255, 255, .07) !important;
  color: #fff !important;
  font-size: 17px !important;
  outline: none;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .04);
  transition: border-color .2s ease, background .2s ease, box-shadow .2s ease;
}

body.t-module.m-settings .profiletable textarea,
body.m-settings .profiletable textarea {
  min-height: 170px;
  resize: vertical;
}

body.t-module.m-settings .profiletable input[type="file"],
body.m-settings .profiletable input[type="file"] {
  padding: 12px !important;
}

body.t-module.m-settings .profiletable input[type="text"]:focus,
body.t-module.m-settings .profiletable input[type="password"]:focus,
body.t-module.m-settings .profiletable input[type="email"]:focus,
body.t-module.m-settings .profiletable input[type="file"]:focus,
body.t-module.m-settings .profiletable textarea:focus,
body.t-module.m-settings .profiletable select:focus,
body.m-settings .profiletable input[type="text"]:focus,
body.m-settings .profiletable input[type="password"]:focus,
body.m-settings .profiletable input[type="email"]:focus,
body.m-settings .profiletable input[type="file"]:focus,
body.m-settings .profiletable textarea:focus,
body.m-settings .profiletable select:focus {
  border-color: rgba(0, 156, 255, .85) !important;
  background: rgba(255, 255, 255, .1) !important;
  box-shadow: 0 0 0 3px rgba(0, 156, 255, .16);
}

body.t-module.m-settings .profiletable label,
body.m-settings .profiletable label {
  display: inline-flex;
  align-items: flex-start;
  gap: 10px;
  color: rgba(255, 255, 255, .72);
  font-size: 15px;
  line-height: 1.45;
}

body.t-module.m-settings .profiletable input[type="checkbox"],
body.m-settings .profiletable input[type="checkbox"] {
  flex: 0 0 auto;
  width: 19px;
  height: 19px;
  margin: 2px 0 0;
  accent-color: #009cff;
}

body.t-module.m-settings .hint,
body.m-settings .hint,
body.t-module.m-settings .profiletable p,
body.m-settings .profiletable p {
  color: rgba(255, 255, 255, .58);
  font-size: 14px;
  line-height: 1.55;
}

body.t-module.m-settings .profiletable .avatar,
body.m-settings .profiletable .avatar {
  max-width: 120px;
  height: auto;
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 50%;
  background: rgba(255, 255, 255, .06);
}

body.t-module.m-settings form > input[type="submit"],
body.t-module.m-settings form > input[type="reset"],
body.m-settings form > input[type="submit"],
body.m-settings form > input[type="reset"] {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  margin: 0 10px 0 0;
  padding: 13px 22px !important;
  border: 0 !important;
  border-radius: 6px !important;
  color: #fff !important;
  font-family: "Cal Sans", "Oswald", Arial, sans-serif !important;
  font-size: 19px !important;
  font-weight: 400 !important;
  line-height: 1 !important;
  text-align: center;
  cursor: pointer;
  transition: transform .2s ease, filter .2s ease, box-shadow .2s ease, background .2s ease;
}

body.t-module.m-settings form > input[type="submit"],
body.m-settings form > input[type="submit"] {
  background: linear-gradient(135deg, #009cff, #006dca) !important;
  box-shadow: 0 14px 28px rgba(0, 0, 0, .28);
}

body.t-module.m-settings form > input[type="reset"],
body.m-settings form > input[type="reset"] {
  border: 1px solid rgba(255, 255, 255, .12) !important;
  background: rgba(255, 255, 255, .06) !important;
  color: rgba(255, 255, 255, .78) !important;
}

body.t-module.m-settings form > input[type="submit"]:hover,
body.t-module.m-settings form > input[type="reset"]:hover,
body.m-settings form > input[type="submit"]:hover,
body.m-settings form > input[type="reset"]:hover {
  transform: translateY(-1px);
  filter: brightness(1.08);
  box-shadow: 0 18px 34px rgba(0, 0, 0, .34);
}

body.t-module.m-settings .posts-form-buttons,
body.m-settings .posts-form-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  padding: 10px !important;
  border: 1px solid rgba(255, 255, 255, .09);
  border-radius: 6px;
  background: rgba(255, 255, 255, .045);
}

@media (max-width: 760px) {
  body.t-module.m-settings #hlavni_kont,
  body.m-settings #hlavni_kont {
    width: min(100%, calc(100% - 24px)) !important;
    margin: 28px auto 56px !important;
  }

  body.t-module.m-settings .kontent_1,
  body.m-settings .kontent_1 {
    padding: 28px 18px 24px !important;
    border-radius: 6px;
  }

  body.t-module.m-settings .kontent_1 h1,
  body.m-settings .kontent_1 h1 {
    margin-bottom: 24px !important;
    font-size: 36px !important;
  }

  body.t-module.m-settings .user-settings-actions p,
  body.m-settings .user-settings-actions p,
  body.t-module.m-settings legend,
  body.m-settings legend {
    text-align: left;
  }

  body.t-module.m-settings .user-settings-actions ul,
  body.m-settings .user-settings-actions ul {
    grid-template-columns: 1fr;
  }

  body.t-module.m-settings .user-settings-actions a,
  body.m-settings .user-settings-actions a {
    min-height: 64px;
    padding: 17px;
    font-size: 21px;
  }

  body.t-module.m-settings form > input[type="submit"],
  body.t-module.m-settings form > input[type="reset"],
  body.m-settings form > input[type="submit"],
  body.m-settings form > input[type="reset"] {
    width: 100%;
    margin: 0 0 10px;
  }
}

/* Masonry galleries: varied tile rhythm instead of identical image boxes. */
.gr-galimg-masonry .gr-galimg-masonry__item,
.article-gallery--masonry .article-gallery__item {
  --gr-masonry-tile-height: 260px;
}

.gr-galimg-masonry .gr-galimg-masonry__item:nth-child(6n + 1),
.article-gallery--masonry .article-gallery__item:nth-child(6n + 1) {
  --gr-masonry-tile-height: 220px;
}

.gr-galimg-masonry .gr-galimg-masonry__item:nth-child(6n + 2),
.article-gallery--masonry .article-gallery__item:nth-child(6n + 2) {
  --gr-masonry-tile-height: 280px;
}

.gr-galimg-masonry .gr-galimg-masonry__item:nth-child(6n + 3),
.article-gallery--masonry .article-gallery__item:nth-child(6n + 3) {
  --gr-masonry-tile-height: 320px;
}

.gr-galimg-masonry .gr-galimg-masonry__item:nth-child(6n + 4),
.article-gallery--masonry .article-gallery__item:nth-child(6n + 4) {
  --gr-masonry-tile-height: 240px;
}

.gr-galimg-masonry .gr-galimg-masonry__item:nth-child(6n + 5),
.article-gallery--masonry .article-gallery__item:nth-child(6n + 5) {
  --gr-masonry-tile-height: 300px;
}

.gr-galimg-masonry .gr-galimg-masonry__media,
.article-gallery--masonry .article-gallery__link {
  height: var(--gr-masonry-tile-height) !important;
  min-height: 220px;
  max-height: 320px;
  aspect-ratio: auto !important;
}

.gr-galimg-masonry .gr-galimg-masonry__media a,
.gr-galimg-masonry .gr-galimg-masonry__media a:hover,
.article-gallery--masonry .article-gallery__link {
  height: var(--gr-masonry-tile-height) !important;
}

.gr-galimg-masonry .gr-galimg-masonry__item img,
.article-gallery--masonry .article-gallery__link img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
}

@media (max-width: 780px) {
  .gr-galimg-masonry .gr-galimg-masonry__item,
  .article-gallery--masonry .article-gallery__item {
    --gr-masonry-tile-height: 210px;
  }

  .gr-galimg-masonry .gr-galimg-masonry__item:nth-child(6n + 1),
  .article-gallery--masonry .article-gallery__item:nth-child(6n + 1) {
    --gr-masonry-tile-height: 170px;
  }

  .gr-galimg-masonry .gr-galimg-masonry__item:nth-child(6n + 2),
  .article-gallery--masonry .article-gallery__item:nth-child(6n + 2) {
    --gr-masonry-tile-height: 220px;
  }

  .gr-galimg-masonry .gr-galimg-masonry__item:nth-child(6n + 3),
  .article-gallery--masonry .article-gallery__item:nth-child(6n + 3) {
    --gr-masonry-tile-height: 250px;
  }

  .gr-galimg-masonry .gr-galimg-masonry__item:nth-child(6n + 4),
  .article-gallery--masonry .article-gallery__item:nth-child(6n + 4) {
    --gr-masonry-tile-height: 190px;
  }

  .gr-galimg-masonry .gr-galimg-masonry__item:nth-child(6n + 5),
  .article-gallery--masonry .article-gallery__item:nth-child(6n + 5) {
    --gr-masonry-tile-height: 235px;
  }

  .gr-galimg-masonry .gr-galimg-masonry__media,
  .article-gallery--masonry .article-gallery__link {
    min-height: 170px;
    max-height: 250px;
  }
}

/* Masonry galleries: mosaic layout with large and small tiles. */
.gr-galimg-masonry,
.article-gallery--masonry .article-gallery__grid {
  display: grid !important;
  grid-template-columns: repeat(12, minmax(0, 1fr)) !important;
  grid-auto-rows: 82px !important;
  grid-auto-flow: dense !important;
  gap: 16px !important;
  column-count: auto !important;
  column-gap: 16px !important;
}

.gr-galimg-masonry .gr-galimg-masonry__item,
.article-gallery--masonry .article-gallery__item {
  display: block !important;
  width: auto !important;
  min-width: 0 !important;
  max-width: none !important;
  height: auto !important;
  margin: 0 !important;
  break-inside: auto !important;
  grid-column: span 3;
  grid-row: span 2;
}

.gr-galimg-masonry .gr-galimg-masonry__item:nth-child(8n + 1),
.article-gallery--masonry .article-gallery__item:nth-child(8n + 1) {
  grid-column: span 6;
  grid-row: span 4;
}

.gr-galimg-masonry .gr-galimg-masonry__item:nth-child(8n + 2),
.article-gallery--masonry .article-gallery__item:nth-child(8n + 2),
.gr-galimg-masonry .gr-galimg-masonry__item:nth-child(8n + 3),
.article-gallery--masonry .article-gallery__item:nth-child(8n + 3),
.gr-galimg-masonry .gr-galimg-masonry__item:nth-child(8n + 4),
.article-gallery--masonry .article-gallery__item:nth-child(8n + 4),
.gr-galimg-masonry .gr-galimg-masonry__item:nth-child(8n + 5),
.article-gallery--masonry .article-gallery__item:nth-child(8n + 5) {
  grid-column: span 3;
  grid-row: span 2;
}

.gr-galimg-masonry .gr-galimg-masonry__item:nth-child(8n + 6),
.article-gallery--masonry .article-gallery__item:nth-child(8n + 6),
.gr-galimg-masonry .gr-galimg-masonry__item:nth-child(8n + 7),
.article-gallery--masonry .article-gallery__item:nth-child(8n + 7),
.gr-galimg-masonry .gr-galimg-masonry__item:nth-child(8n + 8),
.article-gallery--masonry .article-gallery__item:nth-child(8n + 8) {
  grid-column: span 4;
  grid-row: span 3;
}

.gr-galimg-masonry .gr-galimg-masonry__media,
.gr-galimg-masonry .gr-galimg-masonry__media a,
.gr-galimg-masonry .gr-galimg-masonry__media a:hover,
.article-gallery--masonry .article-gallery__link {
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  min-height: 0 !important;
  max-height: none !important;
  aspect-ratio: auto !important;
}

.gr-galimg-masonry .gr-galimg-masonry__item img,
.article-gallery--masonry .article-gallery__link img {
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
}

body.is-article-page .article-gallery--masonry .article-gallery__link img,
#body.is-article-page .article-gallery--masonry .article-gallery__link img {
  filter: none !important;
  -webkit-filter: none !important;
}

@media (max-width: 980px) {
  .gr-galimg-masonry,
  .article-gallery--masonry .article-gallery__grid {
    grid-template-columns: repeat(6, minmax(0, 1fr)) !important;
    grid-auto-rows: 70px !important;
    gap: 12px !important;
    column-gap: 12px !important;
  }

  .gr-galimg-masonry .gr-galimg-masonry__item,
  .article-gallery--masonry .article-gallery__item,
  .gr-galimg-masonry .gr-galimg-masonry__item:nth-child(n),
  .article-gallery--masonry .article-gallery__item:nth-child(n) {
    grid-column: span 3;
    grid-row: span 2;
  }

  .gr-galimg-masonry .gr-galimg-masonry__item:nth-child(8n + 1),
  .article-gallery--masonry .article-gallery__item:nth-child(8n + 1),
  .gr-galimg-masonry .gr-galimg-masonry__item:nth-child(8n + 5),
  .article-gallery--masonry .article-gallery__item:nth-child(8n + 5) {
    grid-column: span 6;
    grid-row: span 3;
  }

  .gr-galimg-masonry .gr-galimg-masonry__item:nth-child(8n + 3),
  .article-gallery--masonry .article-gallery__item:nth-child(8n + 3),
  .gr-galimg-masonry .gr-galimg-masonry__item:nth-child(8n + 4),
  .article-gallery--masonry .article-gallery__item:nth-child(8n + 4) {
    grid-column: span 3;
    grid-row: span 2;
  }

}

@media (max-width: 620px) {
  .gr-galimg-masonry,
  .article-gallery--masonry .article-gallery__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    grid-auto-rows: 92px !important;
    gap: 10px !important;
    column-gap: 10px !important;
  }

  .gr-galimg-masonry .gr-galimg-masonry__item,
  .article-gallery--masonry .article-gallery__item,
  .gr-galimg-masonry .gr-galimg-masonry__item:nth-child(n),
  .article-gallery--masonry .article-gallery__item:nth-child(n) {
    grid-column: span 1;
    grid-row: span 2;
  }

  .gr-galimg-masonry .gr-galimg-masonry__item:nth-child(6n + 1),
  .article-gallery--masonry .article-gallery__item:nth-child(6n + 1),
  .gr-galimg-masonry .gr-galimg-masonry__item:nth-child(6n + 4),
  .article-gallery--masonry .article-gallery__item:nth-child(6n + 4) {
    grid-column: span 2;
    grid-row: span 3;
  }

  .gr-galimg-masonry .gr-galimg-masonry__item:nth-child(6n + 3),
  .article-gallery--masonry .article-gallery__item:nth-child(6n + 3) {
    grid-column: span 1;
    grid-row: span 1;
  }

}

/* Article gallery mobile: match the homepage/gallery masonry rhythm. */
@media (max-width: 620px) {
  body.is-article-page .article-gallery--masonry .article-gallery__grid,
  #body.is-article-page .article-gallery--masonry .article-gallery__grid {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    grid-auto-rows: 92px !important;
    grid-auto-flow: dense !important;
    gap: 10px !important;
    column-count: auto !important;
    column-gap: 10px !important;
    width: 100% !important;
    max-width: 100% !important;
  }

  body.is-article-page .article-gallery--masonry .article-gallery__item,
  #body.is-article-page .article-gallery--masonry .article-gallery__item,
  body.is-article-page .article-gallery--masonry .article-gallery__item:nth-child(n),
  #body.is-article-page .article-gallery--masonry .article-gallery__item:nth-child(n) {
    display: block !important;
    width: auto !important;
    max-width: none !important;
    margin: 0 !important;
    break-inside: auto !important;
    grid-column: span 1 !important;
    grid-row: span 2 !important;
  }

  body.is-article-page .article-gallery--masonry .article-gallery__item:nth-child(6n + 1),
  #body.is-article-page .article-gallery--masonry .article-gallery__item:nth-child(6n + 1),
  body.is-article-page .article-gallery--masonry .article-gallery__item:nth-child(6n + 4),
  #body.is-article-page .article-gallery--masonry .article-gallery__item:nth-child(6n + 4) {
    grid-column: span 2 !important;
    grid-row: span 3 !important;
  }

  body.is-article-page .article-gallery--masonry .article-gallery__item:nth-child(6n + 3),
  #body.is-article-page .article-gallery--masonry .article-gallery__item:nth-child(6n + 3) {
    grid-column: span 1 !important;
    grid-row: span 1 !important;
  }

  body.is-article-page .article-gallery--masonry .article-gallery__link,
  #body.is-article-page .article-gallery--masonry .article-gallery__link {
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    min-height: 0 !important;
    max-height: none !important;
    aspect-ratio: auto !important;
  }

body.is-article-page .article-gallery--masonry .article-gallery__item img,
#body.is-article-page .article-gallery--masonry .article-gallery__item img {
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  max-width: none !important;
  object-fit: cover !important;
  border-radius: 8px !important;
  filter: none !important;
  -webkit-filter: none !important;
}
}

/* Final homepage tablet/compact desktop override. Must stay after gallery/module styles. */
@media screen and (min-width: 901px) and (max-width: 1220px) and (hover: hover) and (pointer: fine) {
  body.is-homepage.has-home-hero .article-hero-stage--home .article-hero-title-slot,
  #body.is-homepage.has-home-hero .article-hero-stage--home .article-hero-title-slot,
  body.is-homepage.has-home-hero .article-hero-stage--home .article-hero-title-slot h1,
  #body.is-homepage.has-home-hero .article-hero-stage--home .article-hero-title-slot h1,
  body.is-homepage.has-home-hero .article-hero-stage--home .article-hero-description,
  #body.is-homepage.has-home-hero .article-hero-stage--home .article-hero-description {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
  }

  body.is-homepage.has-home-hero .article-hero-stage--home .article-hero-copy,
  #body.is-homepage.has-home-hero .article-hero-stage--home .article-hero-copy {
    top: 218px !important;
    left: 50% !important;
    right: auto !important;
    width: min(760px, calc(100vw - 96px)) !important;
    transform: translateX(-50%) !important;
    text-align: center !important;
    z-index: 980 !important;
  }

  body.is-homepage.has-home-hero .article-hero-stage--home .article-hero-title-slot h1,
  #body.is-homepage.has-home-hero .article-hero-stage--home .article-hero-title-slot h1 {
    width: 100% !important;
    font-size: clamp(36px, 4.8vw, 56px) !important;
    line-height: 1.04 !important;
    text-align: center !important;
  }

  body.is-homepage.has-home-hero .article-hero-stage--home .article-hero-description,
  #body.is-homepage.has-home-hero .article-hero-stage--home .article-hero-description {
    width: min(640px, 100%) !important;
    margin: 14px auto 0 !important;
    font-size: clamp(14px, 1.45vw, 17px) !important;
    line-height: 1.45 !important;
    text-align: center !important;
  }

  body.is-homepage.has-home-hero .home-hero-intro,
  #body.is-homepage.has-home-hero .home-hero-intro {
    display: block !important;
    width: min(94%, 980px) !important;
    margin: 30px auto 42px !important;
    padding: 0 !important;
    position: relative !important;
    z-index: 40 !important;
  }

  body.is-homepage.has-home-hero .home-hero-intro > .home-hero-copy,
  #body.is-homepage.has-home-hero .home-hero-intro > .home-hero-copy {
    display: none !important;
  }

  body.is-homepage.has-home-hero .home-hero-features,
  #body.is-homepage.has-home-hero .home-hero-features {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 24px !important;
    width: 100% !important;
    max-width: 900px !important;
    margin: 0 auto !important;
    align-items: start !important;
  }

  body.is-homepage.has-home-hero .home-hero-feature,
  #body.is-homepage.has-home-hero .home-hero-feature {
    min-width: 0 !important;
    text-align: center !important;
  }

  body.is-homepage.has-home-hero .home-hero-feature::before,
  #body.is-homepage.has-home-hero .home-hero-feature::before {
    width: 42px !important;
    height: 42px !important;
    margin: 0 auto 12px !important;
  }

  body.is-homepage.has-home-hero .home-hero-feature-title,
  #body.is-homepage.has-home-hero .home-hero-feature-title {
    display: block !important;
    max-width: 100% !important;
    margin: 0 0 8px !important;
    font-size: clamp(22px, 2.35vw, 30px) !important;
    line-height: 1.06 !important;
    letter-spacing: 0 !important;
    text-align: center !important;
    white-space: normal !important;
    overflow-wrap: anywhere !important;
  }

  body.is-homepage.has-home-hero .home-hero-feature-text,
  #body.is-homepage.has-home-hero .home-hero-feature-text {
    font-size: clamp(13px, 1.35vw, 15px) !important;
    line-height: 1.45 !important;
    text-align: center !important;
  }
}

/* Final homepage tablet/compact desktop chrome: smaller logo and visible hamburger. */
@media screen and (min-width: 901px) and (max-width: 1220px) and (hover: hover) and (pointer: fine) {
  body.is-homepage.has-home-hero #header .nav-logo,
  #body.is-homepage.has-home-hero #header .nav-logo,
  body.is-homepage.has-home-hero #header.is-hero-fade-ready .nav-logo,
  #body.is-homepage.has-home-hero #header.is-hero-fade-ready .nav-logo {
    position: relative !important;
    top: auto !important;
    left: auto !important;
    float: left !important;
    width: 150px !important;
    height: 100px !important;
    margin: 20px 0 0 max(46px, calc((100vw - 1180px) / 2 + 28px)) !important;
    transform: none !important;
    z-index: 7002 !important;
  }

  body.is-homepage.has-home-hero #header .navbar .nav-btn,
  #body.is-homepage.has-home-hero #header .navbar .nav-btn,
  body.is-homepage.has-home-hero #header.is-hero-fade-ready .navbar .nav-btn,
  #body.is-homepage.has-home-hero #header.is-hero-fade-ready .navbar .nav-btn {
    display: flex !important;
    position: fixed !important;
    top: 64px !important;
    right: -46px !important;
    height: 50px !important;
    max-width: 120px !important;
    transform: none !important;
    z-index: 7004 !important;
  }

  body.is-homepage.has-home-hero #header .navbar #nav-check,
  #body.is-homepage.has-home-hero #header .navbar #nav-check,
  body.is-homepage.has-home-hero #header.is-hero-fade-ready .navbar #nav-check,
  #body.is-homepage.has-home-hero #header.is-hero-fade-ready .navbar #nav-check {
    display: block !important;
    position: fixed !important;
    top: 64px !important;
    right: 0 !important;
    width: 74px !important;
    height: 54px !important;
    opacity: 0 !important;
    z-index: 7005 !important;
    cursor: pointer !important;
  }

  body.is-homepage.has-home-hero #header .navbar .box-item,
  #body.is-homepage.has-home-hero #header .navbar .box-item,
  body.is-homepage.has-home-hero #header.is-hero-fade-ready .navbar .box-item,
  #body.is-homepage.has-home-hero #header.is-hero-fade-ready .navbar .box-item {
    position: fixed !important;
    top: 138px !important;
    left: 50% !important;
    right: auto !important;
    width: min(420px, calc(100vw - 32px)) !important;
    max-width: calc(100vw - 32px) !important;
    height: 0 !important;
    max-height: calc(100vh - 158px) !important;
    overflow: hidden !important;
    opacity: 0 !important;
    pointer-events: none !important;
    transform: translateX(-50%) !important;
    z-index: 7003 !important;
  }

  body.is-homepage.has-home-hero #header .navbar #nav-check:checked ~ .box-item,
  #body.is-homepage.has-home-hero #header .navbar #nav-check:checked ~ .box-item,
  body.is-homepage.has-home-hero #header.is-hero-fade-ready .navbar #nav-check:checked ~ .box-item,
  #body.is-homepage.has-home-hero #header.is-hero-fade-ready .navbar #nav-check:checked ~ .box-item {
    display: block !important;
    height: auto !important;
    min-height: 220px !important;
    max-height: calc(100vh - 158px) !important;
    overflow-y: auto !important;
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
  }
}



/* Absolute final fix: homepage tablet logo must not crop. */
@media screen and (min-width: 901px) and (max-width: 1220px) and (hover: hover) and (pointer: fine) {
  body.is-homepage.has-home-hero #header .nav-logo,
  #body.is-homepage.has-home-hero #header .nav-logo,
  body.is-homepage.has-home-hero #header.is-hero-fade-ready .nav-logo,
  #body.is-homepage.has-home-hero #header.is-hero-fade-ready .nav-logo {
    width: 190px !important;
    height: 108px !important;
    margin: 16px 0 0 max(38px, calc((100vw - 1180px) / 2 + 22px)) !important;
    background-size: contain !important;
    background-position: center center !important;
    background-repeat: no-repeat !important;
  }
}

/* =========================================================
   RESPONSIVE CHROME BASE - TRUE END
   mobile <= 900px, tablet 901-1220px, desktop >= 1221px.
   ========================================================= */
@media screen and (max-width: 900px) {
  body.is-homepage.has-home-hero #header .nav-logo,
  #body.is-homepage.has-home-hero #header .nav-logo,
  body.is-shared-hero-page #header .nav-logo,
  #body.is-shared-hero-page #header .nav-logo,
  body.is-article-page #header .nav-logo,
  #body.is-article-page #header .nav-logo {
    position: fixed !important;
    top: 26px !important;
    left: 50px !important;
    float: none !important;
    width: 100px !important;
    height: 68px !important;
    margin: 0 !important;
    background-size: contain !important;
    background-position: center center !important;
    background-repeat: no-repeat !important;
    z-index: 7002 !important;
  }

  body.is-homepage.has-home-hero #header .navbar .nav-btn,
  #body.is-homepage.has-home-hero #header .navbar .nav-btn,
  body.is-shared-hero-page #header .navbar .nav-btn,
  #body.is-shared-hero-page #header .navbar .nav-btn,
  body.is-article-page #header .navbar .nav-btn,
  #body.is-article-page #header .navbar .nav-btn {
    display: flex !important;
    position: fixed !important;
    top: 50px !important;
    right: -50px !important;
    height: 50px !important;
    max-width: 120px !important;
    z-index: 7004 !important;
  }
}

@media screen and (min-width: 901px) and (max-width: 1220px) {
  body.is-homepage.has-home-hero #header .nav-logo,
  #body.is-homepage.has-home-hero #header .nav-logo,
  body.is-shared-hero-page #header .nav-logo,
  #body.is-shared-hero-page #header .nav-logo,
  body.is-article-page #header .nav-logo,
  #body.is-article-page #header .nav-logo {
    position: relative !important;
    top: auto !important;
    left: auto !important;
    float: left !important;
    width: 150px !important;
    height: 100px !important;
    margin: 4px 0 0 max(42px, calc((100vw - 1180px) / 2 + 24px)) !important;
    transform: none !important;
    background-size: contain !important;
    background-position: center center !important;
    background-repeat: no-repeat !important;
    z-index: 7002 !important;
  }

  body.is-homepage.has-home-hero #header .navbar .nav-btn,
  #body.is-homepage.has-home-hero #header .navbar .nav-btn,
  body.is-shared-hero-page #header .navbar .nav-btn,
  #body.is-shared-hero-page #header .navbar .nav-btn,
  body.is-article-page #header .navbar .nav-btn,
  #body.is-article-page #header .navbar .nav-btn {
    display: flex !important;
    position: fixed !important;
    top: 64px !important;
    right: -46px !important;
    height: 50px !important;
    max-width: 120px !important;
    transform: none !important;
    z-index: 7004 !important;
  }

  body.is-homepage.has-home-hero #header .navbar #nav-check,
  #body.is-homepage.has-home-hero #header .navbar #nav-check,
  body.is-shared-hero-page #header .navbar #nav-check,
  #body.is-shared-hero-page #header .navbar #nav-check,
  body.is-article-page #header .navbar #nav-check,
  #body.is-article-page #header .navbar #nav-check {
    display: block !important;
    position: fixed !important;
    top: 64px !important;
    right: 0 !important;
    width: 74px !important;
    height: 54px !important;
    opacity: 0 !important;
    z-index: 7005 !important;
    cursor: pointer !important;
  }

  body.is-homepage.has-home-hero #header .navbar .box-item,
  #body.is-homepage.has-home-hero #header .navbar .box-item,
  body.is-shared-hero-page #header .navbar .box-item,
  #body.is-shared-hero-page #header .navbar .box-item,
  body.is-article-page #header .navbar .box-item,
  #body.is-article-page #header .navbar .box-item {
    position: fixed !important;
    top: 138px !important;
    left: 50% !important;
    right: auto !important;
    width: min(420px, calc(100vw - 32px)) !important;
    max-width: calc(100vw - 32px) !important;
    height: 0 !important;
    max-height: calc(100vh - 158px) !important;
    overflow: hidden !important;
    opacity: 0 !important;
    pointer-events: none !important;
    transform: translateX(-50%) !important;
    z-index: 7003 !important;
  }

  body.is-homepage.has-home-hero #header .navbar #nav-check:checked ~ .box-item,
  #body.is-homepage.has-home-hero #header .navbar #nav-check:checked ~ .box-item,
  body.is-shared-hero-page #header .navbar #nav-check:checked ~ .box-item,
  #body.is-shared-hero-page #header .navbar #nav-check:checked ~ .box-item,
  body.is-article-page #header .navbar #nav-check:checked ~ .box-item,
  #body.is-article-page #header .navbar #nav-check:checked ~ .box-item {
    display: block !important;
    height: auto !important;
    min-height: 220px !important;
    max-height: calc(100vh - 158px) !important;
    overflow-y: auto !important;
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
  }

  body.is-homepage.has-home-hero .article-hero-stage--home .article-hero-copy,
  #body.is-homepage.has-home-hero .article-hero-stage--home .article-hero-copy {
    top: 218px !important;
    left: 50% !important;
    right: auto !important;
    width: min(760px, calc(100vw - 96px)) !important;
    transform: translateX(-50%) !important;
    text-align: center !important;
  }
}

@media screen and (min-width: 1221px) {
  body.is-homepage.has-home-hero #header .nav-logo,
  #body.is-homepage.has-home-hero #header .nav-logo,
  body.is-shared-hero-page #header .nav-logo,
  #body.is-shared-hero-page #header .nav-logo,
  body.is-article-page #header .nav-logo,
  #body.is-article-page #header .nav-logo {
    position: relative !important;
    top: auto !important;
    left: auto !important;
    float: left !important;
    width: 219px !important;
    height: 146px !important;
    margin: 0 !important;
    background-size: contain !important;
    background-position: center center !important;
    background-repeat: no-repeat !important;
  }

  body.is-homepage.has-home-hero #header .navbar .nav-btn,
  #body.is-homepage.has-home-hero #header .navbar .nav-btn,
  body.is-shared-hero-page #header .navbar .nav-btn,
  #body.is-shared-hero-page #header .navbar .nav-btn,
  body.is-article-page #header .navbar .nav-btn,
  #body.is-article-page #header .navbar .nav-btn {
    display: none !important;
  }
}


/* Tablet logo hard position - TRUE END. */
@media screen and (min-width: 901px) and (max-width: 1220px) {
  body.is-homepage.has-home-hero #header .nav-logo,
  #body.is-homepage.has-home-hero #header .nav-logo,
  body.is-shared-hero-page #header .nav-logo,
  #body.is-shared-hero-page #header .nav-logo,
  body.is-article-page #header .nav-logo,
  #body.is-article-page #header .nav-logo {
    position: fixed !important;
    top: 10px !important;
    left: max(42px, calc((100vw - 1180px) / 2 + 24px)) !important;
    float: none !important;
    width: 150px !important;
    height: 100px !important;
    margin: 0 !important;
    background-size: contain !important;
    background-position: center center !important;
    background-repeat: no-repeat !important;
    z-index: 7002 !important;
  }
}

/* Tablet logo visual alignment - homepage vs article/shared. */
@media screen and (min-width: 901px) and (max-width: 1220px) {
  body.is-homepage.has-home-hero #header .nav-logo,
  #body.is-homepage.has-home-hero #header .nav-logo {
    position: fixed !important;
    top: 0 !important;
    left: max(42px, calc((100vw - 1180px) / 2 + 24px)) !important;
    float: none !important;
    width: 150px !important;
    height: 100px !important;
    margin: 0 !important;
    background-size: contain !important;
    background-position: center center !important;
    background-repeat: no-repeat !important;
    z-index: 7002 !important;
  }

  body.is-shared-hero-page #header .nav-logo,
  #body.is-shared-hero-page #header .nav-logo,
  body.is-article-page #header .nav-logo,
  #body.is-article-page #header .nav-logo {
    position: fixed !important;
    top: 28px !important;
    left: max(42px, calc((100vw - 1180px) / 2 + 24px)) !important;
    float: none !important;
    width: 150px !important;
    height: 100px !important;
    margin: 0 !important;
    background-size: contain !important;
    background-position: center center !important;
    background-repeat: no-repeat !important;
    z-index: 7002 !important;
  }
}

/* Tablet logo alignment for wider tablet landscape widths. */
@media screen and (min-width: 901px) and (max-width: 1366px) {
  body.is-homepage #header .nav-logo,
  body.is-homepage.has-home-hero #header .nav-logo,
  #body.is-homepage #header .nav-logo,
  #body.is-homepage.has-home-hero #header .nav-logo {
    position: fixed !important;
    top: 0 !important;
    left: max(42px, calc((100vw - 1180px) / 2 + 24px)) !important;
    float: none !important;
    width: 150px !important;
    height: 100px !important;
    margin: 0 !important;
    background-size: contain !important;
    background-position: center center !important;
    background-repeat: no-repeat !important;
    z-index: 7002 !important;
  }

  body.is-shared-hero-page #header .nav-logo,
  #body.is-shared-hero-page #header .nav-logo,
  body.is-article-page #header .nav-logo,
  #body.is-article-page #header .nav-logo {
    position: fixed !important;
    top: 28px !important;
    left: max(42px, calc((100vw - 1180px) / 2 + 24px)) !important;
    float: none !important;
    width: 150px !important;
    height: 100px !important;
    margin: 0 !important;
    background-size: contain !important;
    background-position: center center !important;
    background-repeat: no-repeat !important;
    z-index: 7002 !important;
  }
}
