/* Global visual polish loaded after page-specific styles. */
:root,
[data-theme="xinyi"] {
  --gq-polish-red: #8f1833;
  --gq-polish-red-deep: #5f1020;
  --gq-polish-gold: #c99a3c;
  --gq-polish-gold-soft: rgba(201, 154, 60, 0.16);
  --gq-polish-line: rgba(191, 144, 70, 0.28);
  --gq-polish-paper: #fffaf0;
  --gq-polish-ink: #2e1b19;
  --gq-polish-muted: #6d5146;
  --gq-polish-shadow: 0 18px 48px rgba(82, 38, 20, 0.08);
  --gq-polish-shadow-soft: 0 10px 28px rgba(82, 38, 20, 0.055);
}

html {
  scroll-behavior: smooth;
}

body {
  overflow-x: hidden;
  color: var(--gq-polish-ink);
  background:
    linear-gradient(180deg, #fffdf8 0%, #fff8ed 46%, #fbf0df 100%) fixed;
}

body::before {
  position: fixed !important;
  top: 52vh !important;
  right: auto !important;
  bottom: auto !important;
  left: 50% !important;
  width: clamp(360px, 38vw, 560px);
  aspect-ratio: 1;
  background:
    url("../../images/common/gqcc-logo.png") center / contain no-repeat !important;
  opacity: 0.075 !important;
  mix-blend-mode: multiply;
  transform: translate(-50%, -50%);
}

img,
video,
canvas {
  max-width: 100%;
}

.site-header {
  border-bottom: 1px solid rgba(201, 154, 60, 0.24) !important;
  background: rgba(255, 253, 248, 0.9) !important;
  box-shadow: 0 8px 24px rgba(82, 38, 20, 0.055) !important;
  backdrop-filter: blur(18px) saturate(1.08);
}

.site-header::after {
  height: 1px;
  opacity: 0.55;
  background: linear-gradient(90deg, transparent, rgba(143, 24, 51, 0.2), rgba(201, 154, 60, 0.34), transparent);
}

.header-inner {
  min-height: 70px;
}

.brand {
  gap: 0.72rem;
}

.brand-logo {
  box-shadow: 0 8px 18px rgba(95, 16, 32, 0.13), 0 0 0 4px rgba(201, 154, 60, 0.06) !important;
}

.brand-title {
  color: var(--gq-polish-red-deep) !important;
  font-weight: 800;
}

.brand-sub {
  color: rgba(46, 27, 25, 0.64) !important;
  font-size: 0.76rem;
}

.site-nav ul {
  gap: 0.12rem clamp(0.55rem, 0.9vw, 0.95rem) !important;
}

.site-nav a {
  position: relative;
  padding-block: 0.58rem 0.56rem;
  color: #3f2a24 !important;
  font-size: 0.9rem;
  font-weight: 700;
  border-bottom: 0 !important;
}

.site-nav a::after {
  content: "";
  position: absolute;
  left: 50%;
  right: 50%;
  bottom: 0.28rem;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--gq-polish-red), var(--gq-polish-gold));
  transition: left 180ms ease, right 180ms ease, opacity 180ms ease;
  opacity: 0;
}

.site-nav a:hover::after,
.site-nav a.active::after {
  left: 0.12rem;
  right: 0.12rem;
  opacity: 1;
}

.site-nav a:hover,
.site-nav a.active {
  color: var(--gq-polish-red) !important;
}

.site-nav .nav-join-link {
  min-height: 2.28rem;
  padding: 0.42rem 0.9rem;
  color: #fffaf2 !important;
  background: linear-gradient(135deg, #7f152d 0%, #9b1e3c 58%, #bf8126 100%) !important;
  border: 1px solid rgba(234, 196, 115, 0.52) !important;
  box-shadow: 0 10px 24px rgba(143, 24, 51, 0.22) !important;
}

.site-nav .nav-join-link::after {
  content: none;
}

.site-search {
  border-radius: 999px;
}

.site-search-input {
  min-height: 2.42rem;
  border-color: rgba(201, 154, 60, 0.34) !important;
  background: rgba(255, 253, 248, 0.78) !important;
}

.site-search-submit {
  min-height: 2.1rem;
  background: linear-gradient(135deg, #7f152d, #9b1e3c 60%, #bc8025) !important;
  box-shadow: 0 8px 20px rgba(143, 24, 51, 0.2) !important;
}

.page-hero {
  isolation: isolate;
  border-bottom: 1px solid rgba(201, 154, 60, 0.18);
}

.page-hero:not(.policy-hero):not(.team-video-hero)::before,
.page-hero:not(.policy-hero):not(.team-video-hero)::after,
.page-hero > .particle-canvas {
  display: none !important;
  content: none !important;
  opacity: 0 !important;
}

.page-hero .container {
  position: relative;
  z-index: 2;
}

.page-hero .breadcrumb {
  margin-bottom: 0.85rem;
  color: rgba(95, 16, 32, 0.82) !important;
  font-size: 0.92rem;
  font-weight: 700;
}

.page-hero h1 {
  color: var(--gq-polish-red-deep) !important;
  letter-spacing: 0 !important;
  text-shadow: none !important;
}

.page-hero .lead {
  color: #3f302c !important;
  line-height: 1.92;
  text-shadow: none !important;
}

.page-hero h1::after,
.hero h1::after {
  box-shadow: none !important;
}

.team-video-hero .team-hero-copy .breadcrumb,
.team-video-hero .team-hero-copy h1,
.team-video-hero .team-hero-copy .lead {
  text-shadow:
    0 2px 8px rgba(20, 12, 10, 0.72),
    0 14px 34px rgba(20, 12, 10, 0.38) !important;
}

.team-video-hero .team-hero-copy .breadcrumb,
.team-video-hero .team-hero-copy .breadcrumb a {
  color: rgba(255, 244, 224, 0.96) !important;
}

.team-video-hero .team-hero-copy h1 {
  color: #fff5e7 !important;
}

.team-video-hero .team-hero-copy .lead {
  color: rgba(255, 250, 241, 0.94) !important;
}

.section {
  padding-block: clamp(3rem, 5vw, 5.4rem);
}

main > .container,
.legal-single {
  gap: clamp(1.4rem, 2.8vw, 2.45rem) !important;
}

.content-block,
.legal-panel,
.support-panel,
.overview-panel,
.overview-console,
.policy-toolbar,
.policy-section,
.join-intro-panel,
.mechanism-card,
.dept-card,
.risk-card,
.case-panel,
.case-note,
.method-card,
.event-card,
.route-card,
.spirit-card,
.culture-card,
.metric-card,
.charity-metric,
.team-metric,
.support-metric,
.member-card,
.card,
.case-card,
.news-feature-card,
.news-channel-card,
.directory-module-card,
.malaysia-case-card,
.table-wrap {
  border: 1px solid var(--gq-polish-line) !important;
  border-radius: 8px !important;
  background:
    linear-gradient(180deg, rgba(255, 253, 248, 0.98), rgba(255, 249, 240, 0.94)) !important;
  box-shadow: var(--gq-polish-shadow-soft) !important;
  backdrop-filter: none !important;
}

.content-block,
.overview-console,
.policy-toolbar,
.join-intro-panel,
.support-panel {
  box-shadow: var(--gq-polish-shadow) !important;
}

.content-block > h2,
.section-title h2 {
  align-items: center;
  color: var(--gq-polish-red) !important;
  letter-spacing: 0 !important;
}

.content-block > h2::before,
.section-title h2::before {
  width: 0.42rem !important;
  height: 1.08em !important;
  margin-right: 0.56rem !important;
  border-radius: 999px;
  background: linear-gradient(180deg, #edce78, #c99a3c 46%, #8f1833) !important;
}

.content-block > h2::after,
.section-title h2::after {
  background: linear-gradient(90deg, rgba(201, 154, 60, 0.46), rgba(143, 24, 51, 0.1), transparent) !important;
}

.content-block p,
.content-block li,
.case-panel p,
.case-note p,
.method-card p,
.mechanism-card p,
.risk-card p,
.dept-card p {
  color: #4d3731;
  line-height: 1.86;
}

.card:hover,
.case-card:hover,
.member-card:hover,
.news-feature-card:hover,
.news-channel-card:hover,
.directory-module-card:hover,
.malaysia-case-card:hover,
.method-card:hover,
.case-note:hover {
  transform: translateY(-2px);
  border-color: rgba(201, 154, 60, 0.52) !important;
  box-shadow: 0 16px 36px rgba(82, 38, 20, 0.09) !important;
}

.btn,
.btn-primary,
.btn-secondary,
.btn-outline,
.policy-hero-actions a,
.join-intro-actions a {
  min-height: 2.85rem;
  border-radius: 8px !important;
  font-weight: 800;
}

.btn-primary,
.policy-hero-actions .btn-primary,
.join-intro-actions .btn-primary {
  background: linear-gradient(135deg, #7f152d 0%, #9b1e3c 58%, #bf8126 100%) !important;
  border-color: rgba(234, 196, 115, 0.45) !important;
  box-shadow: 0 12px 28px rgba(143, 24, 51, 0.22) !important;
}

.btn-outline,
.btn-secondary,
.policy-hero-actions .btn-outline,
.join-intro-actions .btn-outline {
  color: var(--gq-polish-red) !important;
  border-color: rgba(143, 24, 51, 0.24) !important;
  background: rgba(255, 253, 248, 0.62) !important;
}

.case-card {
  overflow: hidden;
}

.case-card img,
.photo-grid-2x2 img,
.photo-pair img,
.overview-section-visual img,
.news-feature-card img,
.team-photo {
  display: block;
  filter: saturate(0.96) contrast(1.02);
  background: #f8efe2;
}

.case-card figcaption {
  color: #4d3731;
  background: rgba(255, 253, 248, 0.92);
}

table {
  border-color: rgba(201, 154, 60, 0.28);
}

th {
  background: linear-gradient(135deg, #6f132a, #941b38) !important;
}

td {
  background: rgba(255, 253, 248, 0.72);
}

tr:nth-child(even) td {
  background: rgba(201, 154, 60, 0.06) !important;
}

/* Unified table polish across public pages. */
.table-wrap {
  overflow-x: auto !important;
  overflow-y: hidden !important;
}

main table,
.content-block table,
.table-wrap table,
.compact-table,
.support-table {
  width: 100% !important;
  border-collapse: separate !important;
  border-spacing: 0 !important;
  background:
    linear-gradient(180deg, rgba(255, 253, 248, 0.98), rgba(255, 248, 236, 0.92)) !important;
}

main table th,
main table td,
.content-block table th,
.content-block table td,
.table-wrap table th,
.table-wrap table td,
.compact-table th,
.compact-table td,
.support-table th,
.support-table td {
  padding: clamp(0.72rem, 1vw, 0.92rem) clamp(0.78rem, 1.2vw, 1rem) !important;
  border-color: rgba(196, 143, 62, 0.22) !important;
  color: #40302b !important;
  line-height: 1.66 !important;
  text-align: center !important;
  vertical-align: middle !important;
}

main table th,
.content-block table th,
.table-wrap table th,
.compact-table th,
.support-table th {
  color: #fff8ec !important;
  font-weight: 900 !important;
  background:
    linear-gradient(135deg, #71142b 0%, #941b38 64%, #b97928 100%) !important;
  box-shadow: inset 0 -1px 0 rgba(255, 244, 214, 0.18);
}

main table td,
.content-block table td,
.table-wrap table td,
.compact-table td,
.support-table td {
  background: rgba(255, 253, 248, 0.78) !important;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.35);
}

main table tr:nth-child(even) td,
.content-block table tr:nth-child(even) td,
.table-wrap table tr:nth-child(even) td,
.compact-table tr:nth-child(even) td,
.support-table tr:nth-child(even) td {
  background: rgba(255, 247, 232, 0.92) !important;
}

main table td:first-child,
.content-block table td:first-child,
.table-wrap table td:first-child,
.compact-table td:first-child,
.support-table td:first-child {
  color: var(--gq-polish-red) !important;
  font-weight: 800 !important;
}

main table td::before,
.content-block table td::before,
.table-wrap table td::before,
.compact-table td::before,
.support-table td::before {
  text-align: center !important;
}

.site-footer {
  border-top: 1px solid rgba(234, 196, 115, 0.18);
  background:
    radial-gradient(circle at 15% 0%, rgba(201, 154, 60, 0.18), transparent 26rem),
    linear-gradient(135deg, #220b12, #3f101c 58%, #261016) !important;
}

@media (max-width: 980px) {
  .header-inner {
    min-height: 64px;
  }

  .site-search {
    max-width: min(42vw, 220px);
  }
}

@media (max-width: 768px) {
  body::before {
    width: clamp(260px, 72vw, 360px);
    opacity: 0.055 !important;
  }

  .site-header {
    backdrop-filter: blur(12px) saturate(1.05);
  }

  .site-search {
    max-width: none;
  }

  .site-nav a {
    padding: 0.72rem 0;
  }

  .page-hero {
    padding-block: 2.4rem 2.15rem;
  }

  .page-hero h1 {
    max-width: 10em;
    font-size: clamp(2.15rem, 10vw, 2.85rem) !important;
    line-height: 1.16 !important;
    word-break: keep-all !important;
  }

  .page-hero .breadcrumb {
    margin-bottom: 0.55rem;
  }

  .page-hero .lead {
    font-size: 0.98rem;
    line-height: 1.82;
  }

  .section {
    padding-block: 2.45rem;
  }

  .content-block,
  .legal-panel,
  .support-panel,
  .overview-panel,
  .overview-console,
  .policy-toolbar,
  .join-intro-panel {
    padding: 1rem !important;
  }
}

/* Unified inner-page banner: same scale as the social-service page, with text pulled to the upper-left. */
.page-hero,
.page-hero.about-hero,
.page-hero.policy-hero,
.page-hero.team-video-hero,
.join-page-hero {
  min-height: 560px !important;
  padding-block: 0 !important;
  overflow: hidden !important;
}

.page-hero::before,
.page-hero.about-hero::before,
.page-hero.policy-hero::before,
.page-hero.team-video-hero::before,
.join-page-hero::before {
  content: "" !important;
  position: absolute;
  inset: 0;
  z-index: 1;
  display: block !important;
  pointer-events: none;
  opacity: 1 !important;
  background:
    linear-gradient(90deg, rgba(255, 253, 248, 0.99) 0%, rgba(255, 253, 248, 0.96) 38%, rgba(255, 253, 248, 0.7) 58%, rgba(255, 253, 248, 0.22) 82%, rgba(255, 253, 248, 0.08) 100%),
    linear-gradient(180deg, rgba(255, 253, 248, 0.22) 0%, rgba(255, 248, 238, 0.34) 100%) !important;
}

.page-hero::after,
.page-hero.about-hero::after,
.page-hero.policy-hero::after,
.page-hero.team-video-hero::after,
.join-page-hero::after {
  content: "" !important;
  position: absolute;
  inset: auto 0 0;
  z-index: 1;
  display: block !important;
  height: 96px;
  pointer-events: none;
  opacity: 1 !important;
  background:
    linear-gradient(180deg, rgba(255, 253, 248, 0), rgba(255, 250, 242, 0.94)),
    linear-gradient(106deg, transparent 0 58%, rgba(201, 154, 60, 0.14) 58.4% 62%, transparent 62.4% 100%) !important;
}

.page-hero > .particle-canvas {
  display: none !important;
}

.page-hero > .container,
.page-hero.about-hero .about-hero-inner,
.page-hero.team-video-hero > .container,
.join-page-hero .join-hero-grid {
  position: relative !important;
  z-index: 2 !important;
  min-height: 560px !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: flex-start !important;
  justify-content: flex-start !important;
  align-content: flex-start !important;
  gap: 0 !important;
  padding-top: clamp(3rem, 5vw, 4.8rem) !important;
  padding-bottom: clamp(2rem, 3vw, 3rem) !important;
}

.page-hero .breadcrumb,
.page-hero .eyebrow,
.page-hero.policy-hero .eyebrow,
.page-hero.about-hero .breadcrumb,
.page-hero.team-video-hero .team-hero-copy .breadcrumb,
.join-page-hero .breadcrumb {
  position: static !important;
  transform: none !important;
  width: auto !important;
  max-width: min(720px, 64vw) !important;
  margin: 0 0 1rem !important;
  color: rgba(95, 16, 32, 0.88) !important;
  font-size: 0.94rem !important;
  font-weight: 800 !important;
  line-height: 1.5 !important;
  letter-spacing: 0 !important;
  text-align: left !important;
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.54) !important;
}

.page-hero .breadcrumb a,
.page-hero.team-video-hero .team-hero-copy .breadcrumb a,
.join-page-hero .breadcrumb a {
  color: inherit !important;
}

.page-hero h1,
.page-hero.about-hero h1,
.page-hero.team-video-hero .team-hero-copy h1,
.join-page-hero h1 {
  width: min(760px, 64vw) !important;
  max-width: min(760px, 64vw) !important;
  margin: 0 0 1.35rem !important;
  color: var(--gq-polish-red-deep) !important;
  font-family: var(--font-serif) !important;
  font-size: clamp(3rem, 5.05vw, 4.25rem) !important;
  font-weight: 600 !important;
  line-height: 1.12 !important;
  letter-spacing: 0 !important;
  text-align: left !important;
  text-wrap: balance;
  text-shadow:
    0 1px 0 rgba(255, 255, 255, 0.62),
    0 14px 34px rgba(95, 16, 32, 0.08) !important;
}

.page-hero h1::after,
.page-hero.about-hero h1::after,
.page-hero.team-video-hero .team-hero-copy h1::after,
.join-page-hero h1::after {
  content: "" !important;
  display: block !important;
  width: 112px !important;
  height: 3px !important;
  margin-top: 1.2rem !important;
  border-radius: 999px !important;
  background: linear-gradient(90deg, var(--gq-polish-red), var(--gq-polish-gold)) !important;
  box-shadow: none !important;
}

.team-hero-copy::after,
.about-hero-rule {
  display: none !important;
  content: none !important;
}

.page-hero .lead,
.page-hero.about-hero .lead,
.page-hero.team-video-hero .team-hero-copy .lead,
.join-page-hero .lead {
  width: min(760px, 64vw) !important;
  max-width: min(760px, 64vw) !important;
  margin: 0 !important;
  color: #3f302c !important;
  font-size: 1.04rem !important;
  font-weight: 500 !important;
  line-height: 1.92 !important;
  letter-spacing: 0 !important;
  text-align: left !important;
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.56) !important;
}

.about-hero-copy,
.team-hero-copy,
.join-hero-copy {
  width: min(760px, 64vw) !important;
  max-width: min(760px, 64vw) !important;
  padding: 0 !important;
  background: none !important;
  border: 0 !important;
  box-shadow: none !important;
  backdrop-filter: none !important;
}

.about-hero-media,
.about-hero-architecture,
.join-hero-principles,
.join-application-desk {
  display: none !important;
}

.policy-hero-actions,
.join-hero-actions {
  margin-top: 2.25rem !important;
}

@media (max-width: 980px) {
  .page-hero,
  .page-hero.about-hero,
  .page-hero.policy-hero,
  .page-hero.team-video-hero,
  .join-page-hero,
  .page-hero > .container,
  .page-hero.about-hero .about-hero-inner,
  .page-hero.team-video-hero > .container,
  .join-page-hero .join-hero-grid {
    min-height: 520px !important;
  }

  .page-hero > .container,
  .page-hero.about-hero .about-hero-inner,
  .page-hero.team-video-hero > .container,
  .join-page-hero .join-hero-grid {
    padding-top: clamp(2.4rem, 6vw, 3.4rem) !important;
  }

  .page-hero h1,
  .page-hero.about-hero h1,
  .page-hero.team-video-hero .team-hero-copy h1,
  .join-page-hero h1 {
    width: min(100%, 680px) !important;
    max-width: min(100%, 680px) !important;
    font-size: clamp(2.45rem, 8vw, 3.35rem) !important;
  }

  .page-hero .lead,
  .page-hero.about-hero .lead,
  .page-hero.team-video-hero .team-hero-copy .lead,
  .join-page-hero .lead,
  .about-hero-copy,
  .team-hero-copy,
  .join-hero-copy {
    width: min(100%, 680px) !important;
    max-width: min(100%, 680px) !important;
  }
}

@media (max-width: 640px) {
  .page-hero,
  .page-hero.about-hero,
  .page-hero.policy-hero,
  .page-hero.team-video-hero,
  .join-page-hero,
  .page-hero > .container,
  .page-hero.about-hero .about-hero-inner,
  .page-hero.team-video-hero > .container,
  .join-page-hero .join-hero-grid {
    min-height: 460px !important;
  }

  .page-hero::before,
  .page-hero.about-hero::before,
  .page-hero.policy-hero::before,
  .page-hero.team-video-hero::before,
  .join-page-hero::before {
    background:
      linear-gradient(180deg, rgba(255, 253, 248, 0.96) 0%, rgba(255, 253, 248, 0.9) 46%, rgba(255, 250, 242, 0.62) 100%),
      linear-gradient(90deg, rgba(255, 253, 248, 0.96), rgba(255, 253, 248, 0.54)) !important;
  }

  .page-hero > .container,
  .page-hero.about-hero .about-hero-inner,
  .page-hero.team-video-hero > .container,
  .join-page-hero .join-hero-grid {
    padding-top: 1.65rem !important;
    padding-bottom: 2rem !important;
  }

  .page-hero .breadcrumb,
  .page-hero .eyebrow,
  .page-hero.policy-hero .eyebrow,
  .page-hero.about-hero .breadcrumb,
  .page-hero.team-video-hero .team-hero-copy .breadcrumb,
  .join-page-hero .breadcrumb {
    max-width: 100% !important;
    margin-bottom: 0.72rem !important;
    font-size: 0.86rem !important;
  }

  .page-hero h1,
  .page-hero.about-hero h1,
  .page-hero.team-video-hero .team-hero-copy h1,
  .join-page-hero h1 {
    width: 100% !important;
    max-width: 10em !important;
    margin-bottom: 1rem !important;
    font-size: clamp(2.1rem, 10vw, 2.75rem) !important;
    line-height: 1.16 !important;
  }

  .page-hero h1::after,
  .page-hero.about-hero h1::after,
  .page-hero.team-video-hero .team-hero-copy h1::after,
  .join-page-hero h1::after {
    width: 82px !important;
    margin-top: 0.9rem !important;
  }

  .page-hero .lead,
  .page-hero.about-hero .lead,
  .page-hero.team-video-hero .team-hero-copy .lead,
  .join-page-hero .lead {
    width: 100% !important;
    max-width: 100% !important;
    font-size: 0.98rem !important;
    line-height: 1.82 !important;
  }

  .about-hero-copy,
  .team-hero-copy,
  .join-hero-copy {
    width: 100% !important;
    max-width: 100% !important;
  }

  .policy-hero-actions,
  .join-hero-actions {
    margin-top: 1.45rem !important;
  }
}

/* Chamber culture uses motion as the banner image. */
.page-hero.team-video-hero {
  background: #211612 url("../../images/team/team-hero-cover.webp") center center / cover no-repeat !important;
}

.page-hero.team-video-hero::before {
  background:
    linear-gradient(90deg, rgba(19, 13, 10, 0.78) 0%, rgba(38, 25, 19, 0.62) 38%, rgba(38, 25, 19, 0.26) 68%, rgba(38, 25, 19, 0.08) 100%),
    linear-gradient(180deg, rgba(8, 12, 18, 0.22) 0%, rgba(8, 12, 18, 0.32) 100%) !important;
}

.page-hero.team-video-hero::after {
  height: 112px;
  background: linear-gradient(180deg, rgba(255, 250, 242, 0), rgba(255, 250, 242, 0.9)) !important;
}

.page-hero.team-video-hero .team-hero-video {
  display: block !important;
  z-index: 0 !important;
  opacity: 1 !important;
  filter: saturate(1.04) contrast(1.03);
}

.page-hero.team-video-hero .team-hero-copy .breadcrumb,
.page-hero.team-video-hero .team-hero-copy .breadcrumb a {
  color: rgba(255, 242, 221, 0.94) !important;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.46) !important;
}

.page-hero.team-video-hero .team-hero-copy h1 {
  color: #fff6e9 !important;
  text-shadow:
    0 2px 10px rgba(0, 0, 0, 0.52),
    0 18px 42px rgba(0, 0, 0, 0.42) !important;
}

.page-hero.team-video-hero .team-hero-copy h1::after {
  background: linear-gradient(90deg, #d7a84e, #f4df9c) !important;
}

.page-hero.team-video-hero .team-hero-copy .lead {
  color: rgba(255, 249, 238, 0.92) !important;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.46) !important;
}

@media (max-width: 640px) {
  .page-hero.team-video-hero::before {
    background:
      linear-gradient(180deg, rgba(20, 13, 10, 0.78) 0%, rgba(30, 20, 16, 0.64) 46%, rgba(30, 20, 16, 0.32) 100%),
      linear-gradient(90deg, rgba(20, 13, 10, 0.68), rgba(20, 13, 10, 0.2)) !important;
  }
}

/* Inner page banner refinement. Homepage hero is intentionally untouched. */
.page-hero {
  --inner-hero-image: url("../../images/common/official-hero-bg.svg");
  --inner-hero-position: center center;
  --inner-hero-size: cover;
  --inner-hero-height: clamp(500px, 42vw, 590px);
  position: relative !important;
  min-height: var(--inner-hero-height) !important;
  padding-block: 0 !important;
  overflow: hidden !important;
  isolation: isolate;
  border-bottom: 1px solid rgba(201, 154, 60, 0.26) !important;
  background: #201512 var(--inner-hero-image) var(--inner-hero-position) / var(--inner-hero-size) no-repeat !important;
}

.page-hero.policy-hero {
  --inner-hero-image: url("../../images/policy/policy-hero-government.png");
  --inner-hero-position: 72% 48%;
}

.page-hero.about-hero {
  --inner-hero-image: url("../../images/about/about-hero-meeting.png");
  --inner-hero-position: 70% 42%;
}

.page-hero.organization-hero {
  --inner-hero-image: url("../../images/organization/organization-hero-cover-user-final.png");
  --inner-hero-position: 58% 50%;
}

.page-hero.charity-hero {
  --inner-hero-image: url("../../images/about/about-hero-charity.png");
  --inner-hero-position: 70% 48%;
}

.page-hero.support-hero {
  --inner-hero-image: url("../../images/support/support-hero-ai.png");
  --inner-hero-position: 68% 52%;
}

.page-hero.investment-hero {
  --inner-hero-image: url("../../images/investment/investment-hero-ai.png");
  --inner-hero-position: 64% 50%;
}

.page-hero.join-page-hero {
  --inner-hero-image: url("../../images/join/gqcc-join-application-detailed.png");
  --inner-hero-position: 72% center;
}

.page-hero.team-video-hero {
  --inner-hero-image: url("../../images/team/team-hero-cover.webp");
  --inner-hero-position: center center;
}

.page-hero.legal-hero,
.page-hero.terms-hero,
.page-hero.privacy-hero {
  --inner-hero-image: url("../../images/common/official-hero-bg.svg");
  --inner-hero-position: center center;
  background-color: #fffaf0 !important;
}

.page-hero::before {
  content: "" !important;
  position: absolute;
  inset: 0;
  z-index: 1;
  display: block !important;
  pointer-events: none;
  opacity: 1 !important;
  background:
    linear-gradient(90deg, rgba(18, 12, 10, 0.82) 0%, rgba(36, 24, 20, 0.7) 38%, rgba(36, 24, 20, 0.32) 68%, rgba(36, 24, 20, 0.08) 100%),
    linear-gradient(180deg, rgba(8, 10, 14, 0.18) 0%, rgba(8, 10, 14, 0.34) 100%) !important;
}

.page-hero::after {
  content: "" !important;
  position: absolute;
  inset: auto 0 0;
  z-index: 1;
  display: block !important;
  height: clamp(86px, 9vw, 126px);
  pointer-events: none;
  opacity: 1 !important;
  background: linear-gradient(180deg, rgba(255, 250, 242, 0), rgba(255, 250, 242, 0.94)) !important;
}

.page-hero.legal-hero::before,
.page-hero.terms-hero::before,
.page-hero.privacy-hero::before {
  background:
    linear-gradient(90deg, rgba(255, 253, 248, 0.97) 0%, rgba(255, 253, 248, 0.92) 47%, rgba(255, 250, 242, 0.66) 72%, rgba(255, 250, 242, 0.18) 100%),
    linear-gradient(180deg, rgba(255, 253, 248, 0.22), rgba(255, 244, 225, 0.34)) !important;
}

.page-hero > .particle-canvas {
  display: none !important;
}

.page-hero > .container,
.page-hero.about-hero .about-hero-inner,
.page-hero.team-video-hero > .container,
.page-hero.join-page-hero .join-hero-grid {
  position: relative !important;
  z-index: 2 !important;
  min-height: var(--inner-hero-height) !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: flex-start !important;
  justify-content: center !important;
  gap: 0 !important;
  padding-top: clamp(2.25rem, 4.2vw, 4rem) !important;
  padding-bottom: clamp(2.75rem, 4.5vw, 4.6rem) !important;
}

.page-hero .breadcrumb,
.page-hero .eyebrow,
.page-hero.team-video-hero .team-hero-copy .breadcrumb,
.page-hero.join-page-hero .breadcrumb {
  width: auto !important;
  max-width: min(720px, 64vw) !important;
  margin: 0 0 1rem !important;
  color: rgba(255, 239, 212, 0.94) !important;
  font-size: 0.94rem !important;
  font-weight: 850 !important;
  line-height: 1.48 !important;
  letter-spacing: 0 !important;
  text-align: left !important;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.44) !important;
}

.page-hero .breadcrumb a,
.page-hero.team-video-hero .team-hero-copy .breadcrumb a,
.page-hero.join-page-hero .breadcrumb a {
  color: inherit !important;
}

.page-hero h1,
.page-hero.team-video-hero .team-hero-copy h1,
.page-hero.join-page-hero h1 {
  width: min(790px, 65vw) !important;
  max-width: min(790px, 65vw) !important;
  margin: 0 0 1.18rem !important;
  color: #fff6e9 !important;
  font-family: var(--font-serif) !important;
  font-size: clamp(2.85rem, 4.75vw, 4.55rem) !important;
  font-weight: 600 !important;
  line-height: 1.1 !important;
  letter-spacing: 0 !important;
  text-align: left !important;
  overflow-wrap: break-word;
  text-shadow:
    0 2px 10px rgba(0, 0, 0, 0.5),
    0 18px 42px rgba(0, 0, 0, 0.38) !important;
}

.page-hero h1::after,
.page-hero.team-video-hero .team-hero-copy h1::after,
.page-hero.join-page-hero h1::after {
  content: "" !important;
  display: block !important;
  width: 116px !important;
  height: 3px !important;
  margin-top: 1.18rem !important;
  border-radius: 999px !important;
  background: linear-gradient(90deg, #d7a84e, #f4df9c) !important;
  box-shadow: none !important;
}

.page-hero .lead,
.page-hero.team-video-hero .team-hero-copy .lead,
.page-hero.join-page-hero .lead {
  width: min(760px, 64vw) !important;
  max-width: min(760px, 64vw) !important;
  margin: 0 !important;
  color: rgba(255, 249, 238, 0.93) !important;
  font-size: 1.04rem !important;
  font-weight: 520 !important;
  line-height: 1.92 !important;
  letter-spacing: 0 !important;
  text-align: left !important;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.42) !important;
}

.page-hero.legal-hero .breadcrumb,
.page-hero.terms-hero .breadcrumb,
.page-hero.privacy-hero .breadcrumb {
  color: rgba(95, 16, 32, 0.86) !important;
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.68) !important;
}

.page-hero.legal-hero h1,
.page-hero.terms-hero h1,
.page-hero.privacy-hero h1 {
  color: var(--gq-polish-red-deep) !important;
  text-shadow:
    0 1px 0 rgba(255, 255, 255, 0.7),
    0 14px 34px rgba(95, 16, 32, 0.08) !important;
}

.page-hero.legal-hero h1::after,
.page-hero.terms-hero h1::after,
.page-hero.privacy-hero h1::after {
  background: linear-gradient(90deg, var(--gq-polish-red), var(--gq-polish-gold)) !important;
}

.page-hero.legal-hero .lead,
.page-hero.terms-hero .lead,
.page-hero.privacy-hero .lead {
  color: #3f302c !important;
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.58) !important;
}

.about-hero-copy,
.team-hero-copy,
.join-hero-copy {
  width: min(790px, 65vw) !important;
  max-width: min(790px, 65vw) !important;
  padding: 0 !important;
  background: none !important;
  border: 0 !important;
  box-shadow: none !important;
  backdrop-filter: none !important;
}

.about-hero-media,
.about-hero-architecture,
.join-hero-principles,
.join-application-desk,
.org-hero-map {
  display: none !important;
}

.policy-hero-actions,
.join-hero-actions {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 0.76rem !important;
  margin-top: 2rem !important;
}

.policy-hero-actions .btn-outline,
.join-hero-actions .btn-outline {
  color: #fff7ed !important;
  border-color: rgba(255, 239, 205, 0.58) !important;
  background: rgba(255, 250, 242, 0.12) !important;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08) !important;
  backdrop-filter: blur(10px);
}

@media (max-width: 980px) {
  .page-hero {
    --inner-hero-height: 510px;
  }

  .page-hero h1,
  .page-hero.team-video-hero .team-hero-copy h1,
  .page-hero.join-page-hero h1 {
    width: min(100%, 680px) !important;
    max-width: min(100%, 680px) !important;
    font-size: clamp(2.4rem, 7.8vw, 3.35rem) !important;
  }

  .page-hero .lead,
  .page-hero.team-video-hero .team-hero-copy .lead,
  .page-hero.join-page-hero .lead,
  .about-hero-copy,
  .team-hero-copy,
  .join-hero-copy {
    width: min(100%, 680px) !important;
    max-width: min(100%, 680px) !important;
  }
}

@media (max-width: 640px) {
  .page-hero {
    --inner-hero-height: 450px;
  }

  .page-hero.policy-hero {
    --inner-hero-position: 61% center;
  }

  .page-hero.about-hero {
    --inner-hero-position: 58% center;
  }

  .page-hero.organization-hero {
    --inner-hero-position: 58% center;
  }

  .page-hero.charity-hero {
    --inner-hero-position: 56% center;
  }

  .page-hero.support-hero,
  .page-hero.investment-hero,
  .page-hero.join-page-hero {
    --inner-hero-position: 62% center;
  }

  .page-hero::before {
    background:
      linear-gradient(180deg, rgba(18, 12, 10, 0.82) 0%, rgba(26, 17, 14, 0.7) 52%, rgba(26, 17, 14, 0.42) 100%),
      linear-gradient(90deg, rgba(18, 12, 10, 0.66), rgba(18, 12, 10, 0.18)) !important;
  }

  .page-hero.legal-hero::before,
  .page-hero.terms-hero::before,
  .page-hero.privacy-hero::before {
    background:
      linear-gradient(180deg, rgba(255, 253, 248, 0.97) 0%, rgba(255, 253, 248, 0.9) 54%, rgba(255, 250, 242, 0.64) 100%),
      linear-gradient(90deg, rgba(255, 253, 248, 0.94), rgba(255, 253, 248, 0.42)) !important;
  }

  .page-hero > .container,
  .page-hero.about-hero .about-hero-inner,
  .page-hero.team-video-hero > .container,
  .page-hero.join-page-hero .join-hero-grid {
    padding-top: 1.45rem !important;
    padding-bottom: 2.3rem !important;
  }

  .page-hero .breadcrumb,
  .page-hero .eyebrow,
  .page-hero.team-video-hero .team-hero-copy .breadcrumb,
  .page-hero.join-page-hero .breadcrumb {
    max-width: 100% !important;
    margin-bottom: 0.72rem !important;
    font-size: 0.86rem !important;
  }

  .page-hero h1,
  .page-hero.team-video-hero .team-hero-copy h1,
  .page-hero.join-page-hero h1 {
    width: 100% !important;
    max-width: 10.5em !important;
    margin-bottom: 0.95rem !important;
    font-size: clamp(2rem, 9.4vw, 2.7rem) !important;
    line-height: 1.16 !important;
  }

  .page-hero h1::after,
  .page-hero.team-video-hero .team-hero-copy h1::after,
  .page-hero.join-page-hero h1::after {
    width: 82px !important;
    margin-top: 0.88rem !important;
  }

  .page-hero .lead,
  .page-hero.team-video-hero .team-hero-copy .lead,
  .page-hero.join-page-hero .lead {
    width: 100% !important;
    max-width: 100% !important;
    font-size: 0.96rem !important;
    line-height: 1.78 !important;
  }

  .policy-hero-actions,
  .join-hero-actions {
    margin-top: 1.35rem !important;
  }
}

/* Bright original assets keep dark copy instead of forced white type. */
.page-hero.policy-hero::before,
.page-hero.support-hero::before,
.page-hero.investment-hero::before,
.page-hero.join-page-hero::before {
  background:
    linear-gradient(90deg, rgba(255, 253, 248, 0.96) 0%, rgba(255, 253, 248, 0.88) 44%, rgba(255, 250, 242, 0.58) 72%, rgba(255, 250, 242, 0.12) 100%),
    linear-gradient(180deg, rgba(255, 253, 248, 0.16), rgba(255, 244, 225, 0.3)) !important;
}

.page-hero.policy-hero .eyebrow,
.page-hero.support-hero .breadcrumb,
.page-hero.investment-hero .breadcrumb,
.page-hero.join-page-hero .breadcrumb {
  color: rgba(95, 16, 32, 0.9) !important;
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.7) !important;
}

.page-hero.policy-hero h1,
.page-hero.support-hero h1,
.page-hero.investment-hero h1,
.page-hero.join-page-hero h1 {
  color: var(--gq-polish-red-deep) !important;
  text-shadow:
    0 1px 0 rgba(255, 255, 255, 0.7),
    0 14px 34px rgba(95, 16, 32, 0.08) !important;
}

.page-hero.policy-hero h1::after,
.page-hero.support-hero h1::after,
.page-hero.investment-hero h1::after,
.page-hero.join-page-hero h1::after {
  background: linear-gradient(90deg, var(--gq-polish-red), var(--gq-polish-gold)) !important;
}

.page-hero.policy-hero .lead,
.page-hero.support-hero .lead,
.page-hero.investment-hero .lead,
.page-hero.join-page-hero .lead {
  color: #3f302c !important;
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.58) !important;
}

.page-hero.support-hero h1,
.page-hero.support-hero .lead,
.page-hero.investment-hero h1,
.page-hero.investment-hero .lead {
  width: min(100%, 680px) !important;
  max-width: min(100%, 680px) !important;
}

.page-hero.policy-hero .btn-outline,
.page-hero.join-page-hero .btn-outline {
  color: var(--gq-polish-red) !important;
  border-color: rgba(143, 24, 51, 0.24) !important;
  background: rgba(255, 253, 248, 0.68) !important;
  box-shadow: none !important;
}

.page-hero.join-page-hero {
  background:
    linear-gradient(90deg, rgba(255, 251, 243, 0.98) 0%, rgba(255, 251, 243, 0.94) 48%, rgba(255, 247, 232, 0.86) 100%),
    repeating-linear-gradient(135deg, rgba(201, 149, 50, 0.09) 0 1px, transparent 1px 24px) !important;
}

@media (min-width: 861px) {
  .page-hero.join-page-hero .join-hero-grid {
    display: grid !important;
    grid-template-columns: minmax(0, 0.92fr) minmax(340px, 0.58fr) !important;
    gap: clamp(1.4rem, 3vw, 3rem) !important;
    align-items: center !important;
  }

  .page-hero.join-page-hero .join-application-desk {
    display: block !important;
    align-self: center;
    width: min(100%, 430px);
    padding: 0.9rem !important;
    border-color: rgba(202, 156, 72, 0.34) !important;
    background: linear-gradient(180deg, rgba(255, 253, 248, 0.97), rgba(255, 246, 229, 0.94)) !important;
    box-shadow: 0 22px 48px rgba(75, 31, 14, 0.12) !important;
  }

  .page-hero.join-page-hero .join-hero-copy,
  .page-hero.join-page-hero h1,
  .page-hero.join-page-hero .lead {
    width: min(100%, 650px) !important;
    max-width: min(100%, 650px) !important;
  }
}

@media (max-width: 860px) {
  .page-hero.join-page-hero .join-application-desk {
    display: none !important;
  }
}

/* Banner typography pass: let each title breathe instead of forcing one rigid line. */
.page-hero h1,
.page-hero.team-video-hero .team-hero-copy h1,
.page-hero.join-page-hero h1 {
  font-size: clamp(2.55rem, 4.28vw, 4.12rem) !important;
  line-height: 1.15 !important;
  text-wrap: balance;
  word-break: keep-all !important;
  overflow-wrap: normal !important;
}

.page-hero .lead,
.page-hero.team-video-hero .team-hero-copy .lead,
.page-hero.join-page-hero .lead {
  max-width: min(43rem, 56vw) !important;
  font-size: clamp(0.98rem, 1.08vw, 1.08rem) !important;
  line-height: 1.86 !important;
}

.page-hero .breadcrumb,
.page-hero .eyebrow,
.page-hero.team-video-hero .team-hero-copy .breadcrumb,
.page-hero.join-page-hero .breadcrumb {
  margin-bottom: 0.78rem !important;
}

.page-hero h1::after,
.page-hero.team-video-hero .team-hero-copy h1::after,
.page-hero.join-page-hero h1::after {
  margin-top: 1rem !important;
}

.page-hero.policy-hero h1 {
  max-width: 7em !important;
}

.page-hero.about-hero h1 {
  max-width: 5.8em !important;
}

.page-hero.organization-hero h1 {
  max-width: 8.6em !important;
}

.page-hero.charity-hero h1 {
  max-width: 8.8em !important;
}

.page-hero.team-video-hero .team-hero-copy h1 {
  max-width: 5.7em !important;
}

.page-hero.support-hero h1,
.page-hero.investment-hero h1 {
  max-width: 8.4em !important;
}

.page-hero.join-page-hero h1 {
  max-width: 7.4em !important;
}

.page-hero.legal-hero h1,
.page-hero.terms-hero h1,
.page-hero.privacy-hero h1 {
  max-width: 7.5em !important;
}

.page-hero.organization-hero .lead,
.page-hero.charity-hero .lead,
.page-hero.team-video-hero .team-hero-copy .lead {
  max-width: min(41rem, 54vw) !important;
}

.page-hero.support-hero .lead,
.page-hero.investment-hero .lead,
.page-hero.join-page-hero .lead {
  max-width: min(38rem, 50vw) !important;
}

@media (min-width: 981px) {
  .page-hero.charity-hero h1,
  .page-hero.team-video-hero .team-hero-copy h1 {
    font-size: clamp(2.8rem, 4.1vw, 4rem) !important;
  }

  .page-hero.support-hero h1,
  .page-hero.investment-hero h1,
  .page-hero.organization-hero h1 {
    font-size: clamp(2.7rem, 3.9vw, 3.9rem) !important;
  }
}

@media (max-width: 980px) {
  .page-hero h1,
  .page-hero.team-video-hero .team-hero-copy h1,
  .page-hero.join-page-hero h1 {
    max-width: 10em !important;
    font-size: clamp(2.35rem, 7.2vw, 3.2rem) !important;
    line-height: 1.18 !important;
  }

  .page-hero.about-hero h1,
  .page-hero.team-video-hero .team-hero-copy h1 {
    max-width: 6.1em !important;
  }

  .page-hero .lead,
  .page-hero.team-video-hero .team-hero-copy .lead,
  .page-hero.join-page-hero .lead {
    max-width: min(100%, 38rem) !important;
    line-height: 1.8 !important;
  }
}

@media (max-width: 640px) {
  .page-hero h1,
  .page-hero.team-video-hero .team-hero-copy h1,
  .page-hero.join-page-hero h1 {
    max-width: 9em !important;
    font-size: clamp(1.92rem, 8.7vw, 2.55rem) !important;
    line-height: 1.2 !important;
  }

  .page-hero.about-hero h1,
  .page-hero.team-video-hero .team-hero-copy h1 {
    max-width: 6.2em !important;
  }

  .page-hero.organization-hero h1,
  .page-hero.support-hero h1,
  .page-hero.investment-hero h1 {
    max-width: 6.55em !important;
  }

  .page-hero .lead,
  .page-hero.team-video-hero .team-hero-copy .lead,
  .page-hero.join-page-hero .lead {
    max-width: 100% !important;
    font-size: 0.95rem !important;
    line-height: 1.76 !important;
  }
}

/* Banner lead copy pass: shorter line lengths and calmer rhythm under titles. */
.page-hero .lead,
.page-hero.team-video-hero .team-hero-copy .lead,
.page-hero.join-page-hero .lead {
  width: auto !important;
  max-width: min(35.5rem, 46vw) !important;
  font-size: clamp(0.96rem, 0.98vw, 1.02rem) !important;
  line-height: 1.96 !important;
  text-wrap: pretty;
  word-break: keep-all !important;
  overflow-wrap: normal !important;
}

.page-hero.about-hero .lead,
.page-hero.policy-hero .lead,
.page-hero.legal-hero .lead,
.page-hero.terms-hero .lead,
.page-hero.privacy-hero .lead {
  max-width: min(38rem, 50vw) !important;
}

.page-hero.organization-hero .lead,
.page-hero.charity-hero .lead,
.page-hero.team-video-hero .team-hero-copy .lead {
  max-width: min(34rem, 45vw) !important;
}

.page-hero.support-hero .lead,
.page-hero.investment-hero .lead,
.page-hero.join-page-hero .lead {
  max-width: min(33rem, 43vw) !important;
}

.page-hero.organization-hero .lead,
.page-hero.charity-hero .lead,
.page-hero.team-video-hero .team-hero-copy .lead {
  text-shadow:
    0 2px 10px rgba(20, 12, 10, 0.56),
    0 10px 28px rgba(20, 12, 10, 0.34) !important;
}

.page-hero.policy-hero .lead,
.page-hero.support-hero .lead,
.page-hero.investment-hero .lead,
.page-hero.join-page-hero .lead,
.page-hero.legal-hero .lead,
.page-hero.terms-hero .lead,
.page-hero.privacy-hero .lead {
  color: rgba(63, 48, 44, 0.94) !important;
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.64) !important;
}

@media (max-width: 980px) {
  .page-hero .lead,
  .page-hero.team-video-hero .team-hero-copy .lead,
  .page-hero.join-page-hero .lead {
    max-width: min(100%, 34rem) !important;
    font-size: 0.97rem !important;
    line-height: 1.84 !important;
  }
}

@media (max-width: 640px) {
  .page-hero .lead,
  .page-hero.team-video-hero .team-hero-copy .lead,
  .page-hero.join-page-hero .lead {
    max-width: min(100%, 21.5rem) !important;
    font-size: 0.94rem !important;
    line-height: 1.78 !important;
  }

  .page-hero.organization-hero .lead,
  .page-hero.charity-hero .lead,
  .page-hero.support-hero .lead,
  .page-hero.investment-hero .lead {
    max-width: min(100%, 20.5rem) !important;
  }
}

/* Inner-page banner placement: keep copy anchored in the upper-left. */
.page-hero > .container,
.page-hero.about-hero .about-hero-inner,
.page-hero.team-video-hero > .container,
.page-hero.join-page-hero .join-hero-grid,
.join-page-hero .join-hero-grid {
  justify-content: flex-start !important;
  align-items: flex-start !important;
  padding-top: clamp(2.55rem, 4.2vw, 3.9rem) !important;
  padding-bottom: clamp(2.2rem, 3.8vw, 3.2rem) !important;
}

@media (min-width: 981px) {
  .page-hero.policy-hero > .container {
    padding-top: clamp(2.35rem, 3.7vw, 3.45rem) !important;
  }

  .page-hero.about-hero .about-hero-inner {
    padding-top: clamp(2.8rem, 4.5vw, 4.15rem) !important;
  }

  .page-hero.organization-hero > .container,
  .page-hero.charity-hero > .container,
  .page-hero.team-video-hero > .container,
  .page-hero.support-hero > .container,
  .page-hero.investment-hero > .container {
    padding-top: clamp(2.35rem, 3.9vw, 3.65rem) !important;
  }

  .page-hero.legal-hero > .container,
  .page-hero.terms-hero > .container,
  .page-hero.privacy-hero > .container {
    padding-top: clamp(2.9rem, 4.8vw, 4.5rem) !important;
  }
}

@media (max-width: 980px) {
  .page-hero > .container,
  .page-hero.about-hero .about-hero-inner,
  .page-hero.team-video-hero > .container,
  .page-hero.join-page-hero .join-hero-grid,
  .join-page-hero .join-hero-grid {
    padding-top: clamp(1.5rem, 5.4vw, 2.35rem) !important;
  }
}

@media (max-width: 640px) {
  .page-hero > .container,
  .page-hero.about-hero .about-hero-inner,
  .page-hero.team-video-hero > .container,
  .page-hero.join-page-hero .join-hero-grid,
  .join-page-hero .join-hero-grid {
    padding-top: 1.15rem !important;
  }
}

/* Inner-page banner height: compact, unified rhythm for every non-home page. */
:root {
  --gq-inner-banner-height: 470px;
  --gq-inner-banner-height-tablet: 470px;
  --gq-inner-banner-height-mobile: 480px;
}

.page-hero,
.page-hero.about-hero,
.page-hero.policy-hero,
.page-hero.team-video-hero,
.page-hero.join-page-hero,
.join-page-hero,
.page-hero > .container,
.page-hero.about-hero .about-hero-inner,
.page-hero.team-video-hero > .container,
.page-hero.join-page-hero .join-hero-grid,
.join-page-hero .join-hero-grid {
  height: var(--gq-inner-banner-height) !important;
  min-height: var(--gq-inner-banner-height) !important;
}

@media (max-width: 980px) {
  .page-hero,
  .page-hero.about-hero,
  .page-hero.policy-hero,
  .page-hero.team-video-hero,
  .page-hero.join-page-hero,
  .join-page-hero,
  .page-hero > .container,
  .page-hero.about-hero .about-hero-inner,
  .page-hero.team-video-hero > .container,
  .page-hero.join-page-hero .join-hero-grid,
  .join-page-hero .join-hero-grid {
    height: var(--gq-inner-banner-height-tablet) !important;
    min-height: var(--gq-inner-banner-height-tablet) !important;
  }
}

@media (max-width: 640px) {
  .page-hero,
  .page-hero.about-hero,
  .page-hero.policy-hero,
  .page-hero.team-video-hero,
  .page-hero.join-page-hero,
  .join-page-hero,
  .page-hero > .container,
  .page-hero.about-hero .about-hero-inner,
  .page-hero.team-video-hero > .container,
  .page-hero.join-page-hero .join-hero-grid,
  .join-page-hero .join-hero-grid {
    height: var(--gq-inner-banner-height-mobile) !important;
    min-height: var(--gq-inner-banner-height-mobile) !important;
  }
}

/* Final inner-banner composition: copy, imagery, and existing CTA buttons. */
.page-hero,
.page-hero.about-hero,
.page-hero.policy-hero,
.page-hero.organization-hero,
.page-hero.charity-hero,
.page-hero.support-hero,
.page-hero.investment-hero,
.page-hero.legal-hero,
.page-hero.terms-hero,
.page-hero.privacy-hero {
  background-position: var(--inner-hero-position, center center) !important;
  background-size: cover !important;
}

.page-hero.policy-hero {
  --inner-hero-position: 74% 48%;
}

.page-hero.about-hero {
  --inner-hero-position: 72% 46%;
}

.page-hero.organization-hero {
  --inner-hero-position: 62% 50%;
}

.page-hero.charity-hero {
  --inner-hero-position: 66% 48%;
}

.page-hero.support-hero {
  --inner-hero-position: 64% 51%;
}

.page-hero.investment-hero {
  --inner-hero-position: 66% 50%;
}

.page-hero.legal-hero,
.page-hero.terms-hero,
.page-hero.privacy-hero {
  --inner-hero-position: 76% 50%;
}

.page-hero.team-video-hero .team-hero-video {
  object-position: 58% 50% !important;
}

.page-hero::before,
.page-hero.about-hero::before,
.page-hero.policy-hero::before,
.page-hero.team-video-hero::before,
.page-hero.join-page-hero::before,
.join-page-hero::before {
  pointer-events: none;
}

.page-hero.organization-hero::before,
.page-hero.charity-hero::before,
.page-hero.team-video-hero::before {
  background:
    linear-gradient(90deg, rgba(24, 16, 14, 0.82) 0%, rgba(38, 24, 20, 0.7) 30%, rgba(38, 24, 20, 0.36) 54%, rgba(38, 24, 20, 0.08) 78%, rgba(38, 24, 20, 0.02) 100%),
    linear-gradient(180deg, rgba(12, 10, 9, 0.12) 0%, rgba(12, 10, 9, 0.2) 100%) !important;
}

.page-hero.about-hero::before,
.page-hero.policy-hero::before,
.page-hero.support-hero::before,
.page-hero.investment-hero::before,
.page-hero.join-page-hero::before,
.join-page-hero::before,
.page-hero.legal-hero::before,
.page-hero.terms-hero::before,
.page-hero.privacy-hero::before {
  background:
    linear-gradient(90deg, rgba(255, 253, 248, 0.98) 0%, rgba(255, 253, 248, 0.94) 34%, rgba(255, 250, 242, 0.68) 55%, rgba(255, 250, 242, 0.18) 78%, rgba(255, 250, 242, 0.04) 100%),
    linear-gradient(180deg, rgba(255, 253, 248, 0.1), rgba(248, 235, 210, 0.2)) !important;
}

.page-hero::after,
.page-hero.about-hero::after,
.page-hero.policy-hero::after,
.page-hero.team-video-hero::after,
.page-hero.join-page-hero::after,
.join-page-hero::after {
  height: clamp(6rem, 12vw, 9rem) !important;
  background: linear-gradient(180deg, rgba(255, 250, 242, 0), rgba(255, 250, 242, 0.92)) !important;
}

.page-hero > .container,
.page-hero.about-hero .about-hero-inner,
.page-hero.team-video-hero > .container,
.page-hero.join-page-hero .join-hero-grid,
.join-page-hero .join-hero-grid {
  max-width: 1180px !important;
  padding-inline: clamp(2rem, 4.2vw, 4.1rem) !important;
  padding-top: clamp(3.15rem, 5vw, 4.8rem) !important;
}

.page-hero.about-hero .about-hero-copy,
.page-hero.team-video-hero .team-hero-copy,
.page-hero.join-page-hero .join-hero-copy {
  width: min(100%, 620px) !important;
  max-width: min(100%, 620px) !important;
}

.page-hero .breadcrumb,
.page-hero .eyebrow,
.page-hero.team-video-hero .team-hero-copy .breadcrumb,
.page-hero.join-page-hero .breadcrumb {
  max-width: min(100%, 620px) !important;
  margin-bottom: 0.86rem !important;
  font-size: 0.92rem !important;
  line-height: 1.55 !important;
}

.page-hero .breadcrumb::before,
.page-hero .eyebrow::before,
.page-hero.team-video-hero .team-hero-copy .breadcrumb::before,
.page-hero.join-page-hero .breadcrumb::before {
  content: "";
  display: inline-block;
  width: 18px;
  height: 2px;
  margin-right: 0.5rem;
  vertical-align: middle;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--gq-polish-red), var(--gq-polish-gold));
}

.page-hero.organization-hero .breadcrumb::before,
.page-hero.charity-hero .breadcrumb::before,
.page-hero.team-video-hero .team-hero-copy .breadcrumb::before {
  background: linear-gradient(90deg, #fff2c8, var(--gq-polish-gold));
}

.page-hero h1,
.page-hero.team-video-hero .team-hero-copy h1,
.page-hero.join-page-hero h1 {
  margin-bottom: 1rem !important;
  text-wrap: balance;
}

.page-hero h1::after,
.page-hero.team-video-hero .team-hero-copy h1::after,
.page-hero.join-page-hero h1::after {
  width: 104px !important;
  height: 3px !important;
  margin-top: 1rem !important;
}

.page-hero .lead,
.page-hero.team-video-hero .team-hero-copy .lead,
.page-hero.join-page-hero .lead {
  max-width: min(34rem, 44vw) !important;
  margin-top: 0 !important;
  font-size: clamp(0.97rem, 1vw, 1.04rem) !important;
  line-height: 1.92 !important;
}

.page-hero.policy-hero .lead,
.page-hero.about-hero .lead,
.page-hero.legal-hero .lead,
.page-hero.terms-hero .lead,
.page-hero.privacy-hero .lead {
  max-width: min(37rem, 48vw) !important;
}

.page-hero.support-hero .lead,
.page-hero.investment-hero .lead,
.page-hero.join-page-hero .lead {
  max-width: min(32.5rem, 42vw) !important;
}

.page-hero.organization-hero .lead,
.page-hero.charity-hero .lead,
.page-hero.team-video-hero .team-hero-copy .lead {
  max-width: min(33.5rem, 44vw) !important;
}

.page-hero .policy-hero-actions,
.page-hero.join-page-hero .join-hero-actions {
  display: flex !important;
  flex-wrap: wrap !important;
  align-items: center !important;
  gap: 0.82rem !important;
  margin-top: clamp(1.45rem, 2vw, 2rem) !important;
}

.page-hero .policy-hero-actions .btn,
.page-hero.join-page-hero .join-hero-actions .btn {
  min-width: 9.25rem !important;
  min-height: 2.9rem !important;
  padding: 0.78rem 1.2rem !important;
  border-radius: 8px !important;
  font-size: 0.94rem !important;
  font-weight: 800 !important;
  line-height: 1.1 !important;
  justify-content: center !important;
  box-shadow: none !important;
}

.page-hero .policy-hero-actions .btn-primary,
.page-hero.join-page-hero .join-hero-actions .btn-primary {
  color: #fffaf2 !important;
  border-color: rgba(231, 197, 122, 0.52) !important;
  background: linear-gradient(135deg, #7f152d 0%, #9c1f3c 58%, #bf8126 100%) !important;
  box-shadow: 0 14px 30px rgba(143, 24, 51, 0.2) !important;
}

.page-hero .policy-hero-actions .btn-outline,
.page-hero.join-page-hero .join-hero-actions .btn-outline {
  color: var(--gq-polish-red-deep) !important;
  border-color: rgba(143, 24, 51, 0.26) !important;
  background: rgba(255, 253, 248, 0.68) !important;
}

.page-hero .policy-hero-actions .btn:hover,
.page-hero.join-page-hero .join-hero-actions .btn:hover {
  transform: translateY(-1px);
}

.page-hero.join-page-hero .join-application-desk {
  margin-top: 0.25rem !important;
  justify-self: end !important;
}

@media (min-width: 861px) {
  .page-hero.join-page-hero .join-hero-grid {
    grid-template-columns: minmax(0, 0.88fr) minmax(320px, 0.52fr) !important;
    gap: clamp(2rem, 5vw, 4.4rem) !important;
  }
}

@media (max-width: 980px) {
  .page-hero.policy-hero {
    --inner-hero-position: 66% 50%;
  }

  .page-hero.about-hero,
  .page-hero.organization-hero,
  .page-hero.charity-hero,
  .page-hero.support-hero,
  .page-hero.investment-hero,
  .page-hero.legal-hero,
  .page-hero.terms-hero,
  .page-hero.privacy-hero {
    --inner-hero-position: 58% 50%;
  }

  .page-hero > .container,
  .page-hero.about-hero .about-hero-inner,
  .page-hero.team-video-hero > .container,
  .page-hero.join-page-hero .join-hero-grid,
  .join-page-hero .join-hero-grid {
    padding-inline: clamp(1.15rem, 4vw, 2rem) !important;
    padding-top: clamp(1.65rem, 4.8vw, 2.4rem) !important;
  }

  .page-hero .lead,
  .page-hero.team-video-hero .team-hero-copy .lead,
  .page-hero.join-page-hero .lead {
    max-width: min(100%, 35rem) !important;
    font-size: 0.97rem !important;
    line-height: 1.82 !important;
  }

  .page-hero .policy-hero-actions .btn,
  .page-hero.join-page-hero .join-hero-actions .btn {
    min-width: 8.8rem !important;
  }
}

@media (max-width: 640px) {
  .page-hero.policy-hero,
  .page-hero.about-hero,
  .page-hero.organization-hero,
  .page-hero.charity-hero,
  .page-hero.support-hero,
  .page-hero.investment-hero,
  .page-hero.legal-hero,
  .page-hero.terms-hero,
  .page-hero.privacy-hero {
    --inner-hero-position: center top;
  }

  .page-hero.team-video-hero .team-hero-video {
    object-position: center center !important;
  }

  .page-hero.organization-hero::before,
  .page-hero.charity-hero::before,
  .page-hero.team-video-hero::before {
    background:
      linear-gradient(90deg, rgba(26, 17, 14, 0.78), rgba(26, 17, 14, 0.34)),
      linear-gradient(180deg, rgba(26, 17, 14, 0.34), rgba(26, 17, 14, 0.08)) !important;
  }

  .page-hero.about-hero::before,
  .page-hero.policy-hero::before,
  .page-hero.support-hero::before,
  .page-hero.investment-hero::before,
  .page-hero.join-page-hero::before,
  .join-page-hero::before,
  .page-hero.legal-hero::before,
  .page-hero.terms-hero::before,
  .page-hero.privacy-hero::before {
    background:
      linear-gradient(90deg, rgba(255, 253, 248, 0.94), rgba(255, 253, 248, 0.5)),
      linear-gradient(180deg, rgba(255, 253, 248, 0.72), rgba(255, 250, 242, 0.2)) !important;
  }

  .page-hero .breadcrumb,
  .page-hero .eyebrow,
  .page-hero.team-video-hero .team-hero-copy .breadcrumb,
  .page-hero.join-page-hero .breadcrumb {
    margin-bottom: 0.64rem !important;
    font-size: 0.86rem !important;
  }

  .page-hero .lead,
  .page-hero.team-video-hero .team-hero-copy .lead,
  .page-hero.join-page-hero .lead {
    max-width: min(100%, 21.5rem) !important;
    font-size: 0.94rem !important;
    line-height: 1.76 !important;
  }

  .page-hero .policy-hero-actions,
  .page-hero.join-page-hero .join-hero-actions {
    width: min(100%, 21.5rem);
    gap: 0.64rem !important;
    margin-top: 1.15rem !important;
  }

  .page-hero .policy-hero-actions .btn,
  .page-hero.join-page-hero .join-hero-actions .btn {
    flex: 1 1 100%;
    width: 100%;
    min-height: 2.78rem !important;
  }
}

/* Final responsive tidy-up for inner banner copy and CTAs. */
.page-hero.policy-hero .eyebrow {
  display: block !important;
  opacity: 1 !important;
  filter: none !important;
  transform: none !important;
}

.page-hero .policy-hero-actions .btn,
.page-hero.join-page-hero .join-hero-actions .btn {
  position: relative;
  z-index: 1;
  overflow: hidden;
}

.page-hero .policy-hero-actions .btn-primary::before,
.page-hero.join-page-hero .join-hero-actions .btn-primary::before {
  content: "";
  position: absolute;
  inset: 1px;
  z-index: -1;
  border-radius: inherit;
  background: linear-gradient(135deg, #82162e 0%, #a51f3f 54%, #c7872d 100%);
}

@media (max-width: 640px) {
  .page-hero.policy-hero .lead,
  .page-hero.about-hero .lead,
  .page-hero.organization-hero .lead,
  .page-hero.charity-hero .lead,
  .page-hero.support-hero .lead,
  .page-hero.investment-hero .lead,
  .page-hero.legal-hero .lead,
  .page-hero.terms-hero .lead,
  .page-hero.privacy-hero .lead,
  .page-hero.team-video-hero .team-hero-copy .lead,
  .page-hero.join-page-hero .lead {
    width: min(100%, 21.5rem) !important;
    max-width: min(100%, 21.5rem) !important;
  }

  .page-hero.policy-hero .eyebrow {
    width: min(100%, 21.5rem) !important;
    margin-bottom: 0.64rem !important;
  }
}

/* Inner banner sample lock: all non-home pages follow the about-page reference. */
.page-hero,
.page-hero.about-hero,
.page-hero.policy-hero,
.page-hero.organization-hero,
.page-hero.charity-hero,
.page-hero.support-hero,
.page-hero.investment-hero,
.page-hero.legal-hero,
.page-hero.terms-hero,
.page-hero.privacy-hero,
.page-hero.team-video-hero,
.page-hero.join-page-hero,
.join-page-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background-color: #fffaf2 !important;
  border-bottom: 1px solid rgba(188, 137, 48, 0.28);
  box-shadow: none !important;
}

.page-hero::before,
.page-hero.about-hero::before,
.page-hero.policy-hero::before,
.page-hero.organization-hero::before,
.page-hero.charity-hero::before,
.page-hero.support-hero::before,
.page-hero.investment-hero::before,
.page-hero.legal-hero::before,
.page-hero.terms-hero::before,
.page-hero.privacy-hero::before,
.page-hero.team-video-hero::before,
.page-hero.join-page-hero::before,
.join-page-hero::before {
  content: "" !important;
  position: absolute;
  inset: 0;
  z-index: 1;
  display: block !important;
  opacity: 1 !important;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(255, 253, 248, 1) 0%, rgba(255, 253, 248, 0.99) 30%, rgba(255, 253, 248, 0.82) 48%, rgba(255, 253, 248, 0.42) 68%, rgba(255, 253, 248, 0.08) 100%),
    radial-gradient(circle at 49% 46%, rgba(255, 253, 248, 0.84) 0%, rgba(255, 253, 248, 0.58) 20%, rgba(255, 253, 248, 0) 45%),
    linear-gradient(180deg, rgba(255, 250, 242, 0.08), rgba(255, 250, 242, 0.18)) !important;
}

.page-hero::after,
.page-hero.about-hero::after,
.page-hero.policy-hero::after,
.page-hero.organization-hero::after,
.page-hero.charity-hero::after,
.page-hero.support-hero::after,
.page-hero.investment-hero::after,
.page-hero.legal-hero::after,
.page-hero.terms-hero::after,
.page-hero.privacy-hero::after,
.page-hero.team-video-hero::after,
.page-hero.join-page-hero::after,
.join-page-hero::after {
  content: "" !important;
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 1;
  display: block !important;
  height: 34% !important;
  opacity: 1 !important;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(255, 250, 242, 0), rgba(255, 250, 242, 0.94)) !important;
}

.page-hero > .container,
.page-hero.about-hero .about-hero-inner,
.page-hero.team-video-hero > .container,
.page-hero.join-page-hero .join-hero-grid,
.join-page-hero .join-hero-grid {
  position: relative;
  z-index: 2;
  max-width: 1180px !important;
  padding-inline: clamp(2rem, 4.2vw, 4.1rem) !important;
  padding-top: clamp(3.05rem, 4.8vw, 3.75rem) !important;
  align-items: flex-start !important;
}

.page-hero.about-hero .about-hero-copy,
.page-hero.team-video-hero .team-hero-copy,
.page-hero.join-page-hero .join-hero-copy {
  width: min(100%, 600px) !important;
  max-width: min(100%, 600px) !important;
}

.page-hero .breadcrumb,
.page-hero .eyebrow,
.page-hero.team-video-hero .team-hero-copy .breadcrumb,
.page-hero.join-page-hero .breadcrumb {
  display: block !important;
  width: fit-content !important;
  max-width: min(100%, 36rem) !important;
  margin: 0 0 1.02rem !important;
  color: rgba(101, 18, 39, 0.92) !important;
  font-size: 0.92rem !important;
  font-weight: 800 !important;
  line-height: 1.45 !important;
  opacity: 1 !important;
  filter: none !important;
  transform: none !important;
}

.page-hero .breadcrumb a,
.page-hero .eyebrow a,
.page-hero.join-page-hero .breadcrumb a {
  color: inherit !important;
}

.page-hero .breadcrumb::before,
.page-hero .eyebrow::before,
.page-hero.team-video-hero .team-hero-copy .breadcrumb::before,
.page-hero.join-page-hero .breadcrumb::before {
  width: 16px !important;
  height: 2px !important;
  margin-right: 0.52rem !important;
  background: linear-gradient(90deg, #9a1933, #d49a31) !important;
}

.page-hero h1,
.page-hero.team-video-hero .team-hero-copy h1,
.page-hero.join-page-hero h1 {
  max-width: min(100%, 30.5rem) !important;
  margin: 0 0 1.12rem !important;
  color: #651227 !important;
  font-size: clamp(3rem, 4.85vw, 4.05rem) !important;
  line-height: 1.09 !important;
  font-weight: 700 !important;
  letter-spacing: 0 !important;
  text-shadow: none !important;
  text-wrap: balance;
}

.page-hero.investment-hero h1,
.page-hero.charity-hero h1,
.page-hero.organization-hero h1,
.page-hero.team-video-hero .team-hero-copy h1 {
  max-width: min(100%, 29rem) !important;
}

.page-hero h1::after,
.page-hero.team-video-hero .team-hero-copy h1::after,
.page-hero.join-page-hero h1::after {
  width: 100px !important;
  height: 3px !important;
  margin-top: 1.08rem !important;
  border-radius: 999px !important;
  background: linear-gradient(90deg, #9a1933 0%, #d69b31 100%) !important;
  box-shadow: none !important;
}

.page-hero .lead,
.page-hero.team-video-hero .team-hero-copy .lead,
.page-hero.join-page-hero .lead {
  width: min(100%, 37rem) !important;
  max-width: min(100%, 37rem) !important;
  margin: 0 !important;
  color: #40322e !important;
  font-size: clamp(0.98rem, 1vw, 1.04rem) !important;
  font-weight: 500 !important;
  line-height: 1.85 !important;
  text-shadow: none !important;
}

.page-hero.support-hero .lead,
.page-hero.investment-hero .lead,
.page-hero.organization-hero .lead,
.page-hero.charity-hero .lead,
.page-hero.team-video-hero .team-hero-copy .lead,
.page-hero.join-page-hero .lead {
  max-width: min(100%, 34.5rem) !important;
}

.page-hero .policy-hero-actions,
.page-hero.join-page-hero .join-hero-actions {
  gap: 0.82rem !important;
  margin-top: 1.16rem !important;
}

.page-hero .policy-hero-actions .btn,
.page-hero.join-page-hero .join-hero-actions .btn {
  min-width: 9.1rem !important;
  min-height: 2.75rem !important;
  padding: 0.72rem 1.16rem !important;
  border-radius: 7px !important;
  font-size: 0.93rem !important;
  line-height: 1.12 !important;
}

.page-hero .policy-hero-actions .btn-primary,
.page-hero.join-page-hero .join-hero-actions .btn-primary {
  border-color: rgba(207, 151, 47, 0.42) !important;
  background: linear-gradient(135deg, #9f1738 0%, #8e1732 55%, #d08423 100%) !important;
  box-shadow: 0 14px 30px rgba(130, 22, 48, 0.18) !important;
}

.page-hero .policy-hero-actions .btn-outline,
.page-hero.join-page-hero .join-hero-actions .btn-outline {
  color: #651227 !important;
  border-color: rgba(128, 42, 56, 0.22) !important;
  background: rgba(255, 253, 248, 0.74) !important;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.42) !important;
}

.page-hero.team-video-hero .team-hero-video {
  opacity: 0.82 !important;
  filter: saturate(0.9) contrast(0.94) brightness(1.08) !important;
}

.page-hero.join-page-hero .join-hero-grid {
  grid-template-columns: minmax(0, 0.9fr) minmax(280px, 0.48fr) !important;
  gap: clamp(2rem, 4.2vw, 4rem) !important;
}

.page-hero.join-page-hero .join-application-desk {
  width: min(100%, 360px) !important;
  max-width: 360px !important;
  margin-top: -0.18rem !important;
  padding: 0.72rem !important;
  justify-self: end !important;
  border-color: rgba(202, 156, 72, 0.24) !important;
  background: rgba(255, 253, 248, 0.72) !important;
  box-shadow: 0 18px 42px rgba(75, 31, 14, 0.08) !important;
}

.page-hero.join-page-hero .join-desk-head {
  padding: 0.1rem 0.16rem 0.56rem !important;
}

.page-hero.join-page-hero .join-desk-head span {
  font-size: 0.68rem !important;
}

.page-hero.join-page-hero .join-desk-head strong {
  font-size: 1.05rem !important;
}

.page-hero.join-page-hero .join-desk-visual {
  margin-top: 0.64rem !important;
}

.page-hero.join-page-hero .join-desk-steps {
  gap: 0 !important;
  margin-top: 0.58rem !important;
}

.page-hero.join-page-hero .join-desk-steps span {
  padding: 0.48rem 0.32rem !important;
  font-size: 0.72rem !important;
  line-height: 1.2 !important;
}

@media (max-width: 980px) {
  .page-hero > .container,
  .page-hero.about-hero .about-hero-inner,
  .page-hero.team-video-hero > .container,
  .page-hero.join-page-hero .join-hero-grid,
  .join-page-hero .join-hero-grid {
    padding-inline: clamp(1.35rem, 4.2vw, 2.1rem) !important;
    padding-top: clamp(2.2rem, 5vw, 3rem) !important;
  }

  .page-hero h1,
  .page-hero.team-video-hero .team-hero-copy h1,
  .page-hero.join-page-hero h1 {
    max-width: min(100%, 28rem) !important;
    font-size: clamp(2.75rem, 7.4vw, 3.6rem) !important;
    line-height: 1.08 !important;
  }

  .page-hero .lead,
  .page-hero.team-video-hero .team-hero-copy .lead,
  .page-hero.join-page-hero .lead {
    max-width: min(100%, 32rem) !important;
    line-height: 1.78 !important;
  }

  .page-hero.join-page-hero .join-application-desk {
    display: none !important;
  }

  .page-hero.join-page-hero .join-hero-grid {
    grid-template-columns: 1fr !important;
  }
}

@media (max-width: 640px) {
  .page-hero,
  .page-hero.about-hero,
  .page-hero.policy-hero,
  .page-hero.organization-hero,
  .page-hero.charity-hero,
  .page-hero.support-hero,
  .page-hero.investment-hero,
  .page-hero.legal-hero,
  .page-hero.terms-hero,
  .page-hero.privacy-hero,
  .page-hero.team-video-hero,
  .page-hero.join-page-hero,
  .join-page-hero {
    background-position: 62% center !important;
  }

  .page-hero::before,
  .page-hero.about-hero::before,
  .page-hero.policy-hero::before,
  .page-hero.organization-hero::before,
  .page-hero.charity-hero::before,
  .page-hero.support-hero::before,
  .page-hero.investment-hero::before,
  .page-hero.legal-hero::before,
  .page-hero.terms-hero::before,
  .page-hero.privacy-hero::before,
  .page-hero.team-video-hero::before,
  .page-hero.join-page-hero::before,
  .join-page-hero::before {
    background:
      linear-gradient(90deg, rgba(255, 253, 248, 0.98), rgba(255, 253, 248, 0.76)),
      linear-gradient(180deg, rgba(255, 253, 248, 0.84), rgba(255, 250, 242, 0.24)) !important;
  }

  .page-hero > .container,
  .page-hero.about-hero .about-hero-inner,
  .page-hero.team-video-hero > .container,
  .page-hero.join-page-hero .join-hero-grid,
  .join-page-hero .join-hero-grid {
    padding-inline: 1.72rem !important;
    padding-top: 2.15rem !important;
  }

  .page-hero .breadcrumb,
  .page-hero .eyebrow,
  .page-hero.team-video-hero .team-hero-copy .breadcrumb,
  .page-hero.join-page-hero .breadcrumb {
    max-width: min(100%, 21.5rem) !important;
    margin-bottom: 0.78rem !important;
    font-size: 0.86rem !important;
  }

  .page-hero h1,
  .page-hero.team-video-hero .team-hero-copy h1,
  .page-hero.join-page-hero h1 {
    max-width: min(100%, 21.5rem) !important;
    margin-bottom: 1rem !important;
    font-size: clamp(2.25rem, 11vw, 3.15rem) !important;
    line-height: 1.08 !important;
  }

  .page-hero h1::after,
  .page-hero.team-video-hero .team-hero-copy h1::after,
  .page-hero.join-page-hero h1::after {
    width: 84px !important;
    margin-top: 0.84rem !important;
  }

  .page-hero .lead,
  .page-hero.team-video-hero .team-hero-copy .lead,
  .page-hero.join-page-hero .lead {
    width: min(100%, 21.5rem) !important;
    max-width: min(100%, 21.5rem) !important;
    font-size: 0.94rem !important;
    line-height: 1.72 !important;
  }

  .page-hero .policy-hero-actions,
  .page-hero.join-page-hero .join-hero-actions {
    width: min(100%, 21.5rem) !important;
    margin-top: 1rem !important;
  }
}

/* Re-enable the reference fade layers that earlier high-specificity polish hid. */
.page-hero.page-hero.about-hero::before,
.page-hero.page-hero.organization-hero::before,
.page-hero.page-hero.charity-hero::before,
.page-hero.page-hero.support-hero::before,
.page-hero.page-hero.investment-hero::before,
.page-hero.page-hero.legal-hero::before,
.page-hero.page-hero.terms-hero::before,
.page-hero.page-hero.privacy-hero::before,
.page-hero.page-hero.join-page-hero::before,
.join-page-hero.join-page-hero::before {
  content: "" !important;
  display: block !important;
  opacity: 1 !important;
}

.page-hero.page-hero.about-hero::after,
.page-hero.page-hero.organization-hero::after,
.page-hero.page-hero.charity-hero::after,
.page-hero.page-hero.support-hero::after,
.page-hero.page-hero.investment-hero::after,
.page-hero.page-hero.legal-hero::after,
.page-hero.page-hero.terms-hero::after,
.page-hero.page-hero.privacy-hero::after,
.page-hero.page-hero.join-page-hero::after,
.join-page-hero.join-page-hero::after {
  content: "" !important;
  display: block !important;
  opacity: 1 !important;
}

/* Keep banner body copy clean: the reference only uses the title underline. */
.page-hero .lead::after,
.page-hero.team-video-hero .team-hero-copy .lead::after,
.page-hero.join-page-hero .lead::after {
  content: none !important;
  display: none !important;
}

.page-hero.organization-hero .lead,
.page-hero.support-hero .lead,
.page-hero.investment-hero .lead,
.page-hero.charity-hero .lead,
.page-hero.team-video-hero .team-hero-copy .lead {
  max-width: min(100%, 32.5rem) !important;
  line-height: 1.78 !important;
}

/* Match organization and charity banner typography to the rest of the inner pages. */
.page-hero.organization-hero .breadcrumb,
.page-hero.charity-hero .breadcrumb {
  color: rgba(95, 16, 32, 0.9) !important;
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.68) !important;
}

.page-hero.organization-hero h1,
.page-hero.charity-hero h1 {
  color: #5f1020 !important;
  font-size: clamp(2.7rem, 4.28vw, 3.95rem) !important;
  font-weight: 700 !important;
  line-height: 1.09 !important;
  text-shadow:
    0 1px 0 rgba(255, 255, 255, 0.68),
    0 14px 34px rgba(95, 16, 32, 0.08) !important;
}

.page-hero.organization-hero h1 {
  max-width: min(100%, 34rem) !important;
}

.page-hero.charity-hero h1 {
  max-width: min(100%, 30rem) !important;
}

.page-hero.organization-hero .lead,
.page-hero.charity-hero .lead {
  color: rgba(63, 48, 44, 0.94) !important;
  font-size: clamp(0.98rem, 1vw, 1.04rem) !important;
  font-weight: 500 !important;
  line-height: 1.8 !important;
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.64) !important;
}

/* Site-wide layout refinement pass: preserve content, improve wrapping and touch comfort. */
:root {
  --gq-touch-min: 2.5rem;
  --gq-mobile-break: 1120px;
}

.site-nav a,
.site-nav .nav-join-link {
  white-space: nowrap;
  word-break: keep-all;
}

.content-block > h2,
.legal-panel h2,
.section-title h2,
.content-block h3,
.legal-panel h3,
.case-panel h3,
.case-note h3,
.directory-hero-card h3,
.directory-module-card h3 {
  overflow-wrap: anywhere;
  text-wrap: balance;
}

.content-block p,
.content-block li,
.legal-panel p,
.legal-panel li,
.case-panel p,
.case-note p,
.directory-hero-card p,
.directory-module-card p {
  text-wrap: pretty;
}

.content-block > h3:not(:first-child),
.legal-panel h3:not(:first-child),
.case-panel h3:not(:first-child),
.case-note h3:not(:first-child) {
  padding-top: 1rem;
  border-top: 1px solid rgba(201, 154, 60, 0.18);
}

.footer-bottom-inline a,
.footer-legal-nav a,
.site-footer li a,
.page-hero .breadcrumb a,
.page-hero .eyebrow a,
.news-ticker a,
.policy-topic-nav a,
.policy-toolbelt .policy-topic-nav a,
.policy-quick-grid a,
.directory-fast-links a {
  min-height: var(--gq-touch-min) !important;
}

.footer-bottom-inline a,
.footer-legal-nav a,
.site-footer li a,
.page-hero .breadcrumb a,
.page-hero .eyebrow a,
.news-ticker a {
  display: inline-flex;
  align-items: center;
  padding-inline: 0.18rem;
}

.policy-topic-nav a,
.policy-toolbelt .policy-topic-nav a,
.policy-quick-grid a {
  align-items: center;
  line-height: 1.35;
}

.source-note a,
.data-note a {
  display: inline-flex;
  align-items: center;
  min-height: 2.25rem;
  padding-inline: 0.08rem;
  text-underline-offset: 0.2em;
}

.directory-hero-card,
.directory-module-card {
  min-height: auto;
}

.directory-hero-card p,
.directory-module-card p {
  display: block;
  overflow: visible;
}

img.is-broken {
  display: none !important;
}

.has-image-fallback {
  position: relative;
}

.image-fallback-visual {
  position: relative;
  display: grid;
  place-content: center;
  gap: 0.42rem;
  width: 100%;
  min-height: clamp(160px, 24vw, 280px);
  padding: clamp(1.1rem, 2vw, 1.55rem);
  overflow: hidden;
  color: var(--gq-polish-red-deep);
  text-align: center;
  border: 1px solid rgba(201, 154, 60, 0.28);
  border-radius: inherit;
  background:
    linear-gradient(135deg, rgba(255, 253, 248, 0.94), rgba(255, 246, 232, 0.9)),
    url("../../images/common/gqcc-logo-transparent.png") center / min(42%, 150px) auto no-repeat;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.62);
}

.image-fallback-visual::before {
  content: "";
  position: absolute;
  inset: 12px;
  border: 1px solid rgba(201, 154, 60, 0.16);
  border-radius: 6px;
  pointer-events: none;
}

.image-fallback-visual span {
  position: relative;
  z-index: 1;
  font-size: clamp(0.95rem, 1.2vw, 1.08rem);
  font-weight: 800;
  letter-spacing: 0.08em;
}

.image-fallback-visual small {
  position: relative;
  z-index: 1;
  max-width: 26em;
  color: rgba(77, 55, 49, 0.76);
  font-size: 0.82rem;
  line-height: 1.55;
}

@media (max-width: 1120px) {
  .site-header {
    height: auto !important;
  }

  .header-inner {
    position: relative;
    min-height: var(--nav-h);
    height: auto !important;
    gap: 0.68rem !important;
    padding-block: 0.45rem;
  }

  .brand {
    flex: 1 1 auto;
    min-width: 13rem;
  }

  .site-search {
    flex: 0 1 210px !important;
    min-width: 170px !important;
    max-width: min(32vw, 230px) !important;
  }

  .nav-toggle {
    position: relative;
    display: inline-flex !important;
    flex: 0 0 auto;
    align-items: center;
    justify-content: center;
    width: 2.75rem;
    height: 2.5rem;
    padding: 0 !important;
    color: var(--gq-polish-red-deep) !important;
    background: rgba(255, 253, 248, 0.88) !important;
    border: 1px solid rgba(143, 24, 51, 0.2) !important;
    border-radius: 999px !important;
    box-shadow: 0 8px 18px rgba(82, 38, 20, 0.08);
    font-size: 0 !important;
  }

  .nav-toggle::before,
  .nav-toggle::after {
    content: "";
    position: absolute;
    width: 1.1rem;
    height: 2px;
    border-radius: 999px;
    background: currentColor;
    transition: transform 180ms ease, box-shadow 180ms ease;
  }

  .nav-toggle::before {
    box-shadow: 0 -6px 0 currentColor, 0 6px 0 currentColor;
  }

  .nav-toggle::after {
    opacity: 0;
  }

  .nav-toggle[aria-expanded="true"]::before {
    box-shadow: none;
    transform: rotate(45deg);
  }

  .nav-toggle[aria-expanded="true"]::after {
    opacity: 1;
    transform: rotate(-45deg);
  }

  .site-nav {
    position: absolute !important;
    top: calc(100% - 0.2rem) !important;
    right: 0 !important;
    left: 0 !important;
    z-index: 160;
    display: none !important;
    padding: 0.72rem !important;
    background:
      linear-gradient(180deg, rgba(255, 253, 248, 0.98), rgba(255, 249, 240, 0.96)) !important;
    border: 1px solid rgba(201, 154, 60, 0.28) !important;
    border-radius: 8px !important;
    box-shadow: 0 18px 46px rgba(82, 38, 20, 0.16) !important;
  }

  .site-nav.open {
    display: block !important;
  }

  .site-nav ul {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.45rem !important;
    align-items: stretch !important;
  }

  .site-nav li {
    min-width: 0;
  }

  .site-nav a {
    display: flex !important;
    align-items: center;
    justify-content: center;
    min-height: 2.55rem;
    padding: 0.58rem 0.7rem !important;
    border-radius: 7px;
    background: rgba(255, 255, 255, 0.55);
    text-align: center;
    white-space: normal;
  }

  .site-nav a::after {
    bottom: 0.22rem !important;
  }

  .site-nav .nav-join-link {
    min-height: 2.55rem !important;
    margin: 0 !important;
    border-radius: 7px !important;
  }
}

@media (max-width: 760px) {
  .header-inner {
    padding-block: 0.55rem;
  }

  .brand {
    min-width: 0;
  }

  .site-search {
    order: 4;
    flex: 1 0 100% !important;
    max-width: none !important;
  }

  .site-nav {
    top: 100% !important;
  }

  .site-nav ul {
    grid-template-columns: 1fr;
  }

  .site-nav a {
    justify-content: flex-start;
    min-height: 2.75rem;
    padding-inline: 0.9rem !important;
    text-align: left;
  }

  main > .container,
  .legal-single {
    gap: 1.35rem !important;
  }

  .content-block,
  .legal-panel,
  .case-panel,
  .case-note,
  .support-panel,
  .overview-console,
  .policy-toolbelt,
  .join-intro-panel {
    padding: 1.08rem !important;
  }

  .content-block > h2,
  .legal-panel h2,
  .section-title h2 {
    display: flex !important;
    align-items: flex-start !important;
    gap: 0.54rem !important;
    font-size: clamp(1.28rem, 6vw, 1.68rem) !important;
    line-height: 1.32 !important;
  }

  .content-block > h2::before,
  .section-title h2::before {
    flex: 0 0 auto;
    margin-top: 0.14em !important;
  }

  .content-block > h2::after,
  .section-title h2::after {
    display: none !important;
  }

  .content-block h3,
  .legal-panel h3,
  .case-panel h3,
  .case-note h3 {
    font-size: clamp(1.06rem, 4.6vw, 1.28rem);
    line-height: 1.42;
  }

  .content-block p,
  .content-block li,
  .legal-panel p,
  .legal-panel li,
  .case-panel p,
  .case-note p {
    line-height: 1.78 !important;
  }

  .legal-panel ul,
  .legal-panel ol,
  .content-block ul,
  .content-block ol {
    padding-left: 1.08rem;
  }

  .footer-bottom-inline {
    gap: 0.35rem 0.72rem !important;
  }

  .footer-bottom-inline .footer-copy {
    flex-basis: 100%;
    text-align: center;
  }

  .footer-bottom-inline a,
  .footer-legal-nav a {
    min-height: 2.35rem !important;
  }

  .policy-toolbelt .policy-topic-nav,
  .policy-toolbelt .policy-quick-grid {
    grid-template-columns: 1fr !important;
  }

  .policy-topic-nav a,
  .policy-toolbelt .policy-topic-nav a,
  .policy-quick-grid a {
    justify-content: space-between !important;
    min-height: 2.65rem !important;
    text-align: left !important;
  }

  .image-fallback-visual {
    min-height: 180px;
  }
}

/* Final mobile override layer: header search, search results, and home first view. */
:root {
  --gq-mobile-search-h: 38px;
  --gq-mobile-soft-card: 0 18px 42px rgba(82, 38, 20, 0.14);
}

@media (max-width: 760px) {
  .site-header {
    background: rgba(255, 253, 248, 0.97) !important;
    box-shadow: 0 8px 22px rgba(82, 38, 20, 0.075) !important;
  }

  .header-inner {
    min-height: 58px !important;
    row-gap: 0.42rem !important;
    padding-block: 0.42rem !important;
  }

  .brand {
    gap: 0.5rem !important;
  }

  .brand-title {
    font-size: 1.08rem !important;
    line-height: 1.14 !important;
  }

  .brand-sub {
    font-size: 0.62rem !important;
    letter-spacing: 0.08em !important;
  }

  .brand-logo {
    width: 36px !important;
    height: 36px !important;
  }

  .nav-toggle {
    width: 2.48rem !important;
    height: 2.32rem !important;
  }

  .site-search {
    order: 4;
    flex: 1 0 100% !important;
    min-width: 0 !important;
    max-width: none !important;
  }

  .site-search-input {
    height: var(--gq-mobile-search-h) !important;
    min-height: var(--gq-mobile-search-h) !important;
    padding: 0 3.45rem 0 0.86rem !important;
    border-color: rgba(201, 154, 60, 0.38) !important;
    background: rgba(255, 253, 248, 0.96) !important;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.75), 0 6px 18px rgba(82, 38, 20, 0.055) !important;
    font-size: 0.86rem !important;
  }

  .site-search-input:focus {
    border-color: rgba(143, 24, 51, 0.36) !important;
    box-shadow: 0 0 0 3px rgba(143, 24, 51, 0.09), 0 8px 22px rgba(82, 38, 20, 0.08) !important;
  }

  .site-search-submit {
    top: 4px !important;
    right: 4px !important;
    height: 30px !important;
    min-height: 30px !important;
    padding-inline: 0.72rem !important;
    font-size: 0.78rem !important;
    line-height: 30px !important;
  }

  .site-search-results {
    top: calc(100% + 0.42rem) !important;
    right: 0 !important;
    left: 0 !important;
    width: 100% !important;
    max-height: min(46svh, 340px) !important;
    padding: 0.34rem !important;
    overflow: auto !important;
    border: 1px solid rgba(201, 154, 60, 0.32) !important;
    border-radius: 12px !important;
    background:
      linear-gradient(180deg, rgba(255, 253, 248, 0.99), rgba(255, 249, 240, 0.985)) !important;
    box-shadow: var(--gq-mobile-soft-card) !important;
    z-index: 320 !important;
    overscroll-behavior: contain;
  }

  .site-search-result,
  .site-search-empty {
    border-radius: 9px !important;
  }

  .site-search-result {
    position: relative;
    padding: 0.68rem 2rem 0.7rem 0.72rem !important;
    border: 1px solid transparent;
    color: #3f2a24 !important;
    background: rgba(255, 255, 255, 0.5);
  }

  .site-search-result + .site-search-result {
    margin-top: 0.22rem;
  }

  .site-search-result::before {
    content: "";
    position: absolute;
    top: 0.75rem;
    bottom: 0.75rem;
    left: 0;
    width: 3px;
    border-radius: 999px;
    background: linear-gradient(180deg, var(--gq-polish-red), var(--gq-polish-gold));
    opacity: 0;
    transition: opacity 160ms ease;
  }

  .site-search-result::after {
    content: "";
    position: absolute;
    top: 50%;
    right: 0.82rem;
    width: 0.42rem;
    height: 0.42rem;
    border-top: 1px solid rgba(143, 24, 51, 0.55);
    border-right: 1px solid rgba(143, 24, 51, 0.55);
    transform: translateY(-50%) rotate(45deg);
  }

  .site-search-result:hover,
  .site-search-result.is-active {
    border-color: rgba(201, 154, 60, 0.32) !important;
    background: rgba(255, 248, 235, 0.9) !important;
  }

  .site-search-result:hover::before,
  .site-search-result.is-active::before {
    opacity: 1;
  }

  .site-search-result strong {
    display: -webkit-box !important;
    margin-bottom: 0.14rem !important;
    overflow: hidden;
    color: var(--gq-polish-red-deep) !important;
    font-size: 0.88rem !important;
    line-height: 1.36 !important;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 1;
  }

  .site-search-result span {
    display: -webkit-box !important;
    overflow: hidden;
    color: rgba(63, 42, 36, 0.7) !important;
    font-size: 0.76rem !important;
    line-height: 1.5 !important;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
  }

  .site-search-empty {
    padding: 0.76rem 0.82rem !important;
    color: rgba(63, 42, 36, 0.66) !important;
    font-size: 0.82rem !important;
    line-height: 1.55 !important;
    background: rgba(255, 255, 255, 0.54);
  }

  .home-page .home-news-hero,
  .home-cover {
    min-height: auto !important;
  }

  .home-page .home-news-hero .container,
  .home-cover .container {
    padding-top: clamp(1.35rem, 5vw, 1.85rem) !important;
    padding-bottom: clamp(1.45rem, 6vw, 2.05rem) !important;
  }

  .home-cover-layout,
  .news-hero-layout,
  .home-hero-layout {
    display: grid !important;
    grid-template-columns: 1fr !important;
    align-items: start !important;
    gap: 1rem !important;
  }

  .home-hero-copy,
  .news-hero-copy {
    max-width: 100% !important;
  }

  .cover-kicker {
    min-height: 0 !important;
    margin-bottom: 0.62rem !important;
    padding: 0.25rem 0.62rem 0.25rem 0.28rem !important;
    gap: 0.42rem !important;
    border-radius: 999px !important;
    box-shadow: 0 8px 18px rgba(82, 38, 20, 0.055) !important;
    font-size: 0.74rem !important;
    line-height: 1.35 !important;
  }

  .cover-mini-logo {
    width: 28px !important;
    height: 28px !important;
  }

  .news-hero-copy h1,
  .home-cover h1 {
    margin-bottom: 0.46rem !important;
    font-size: clamp(2.02rem, 10vw, 2.74rem) !important;
    line-height: 1.08 !important;
    letter-spacing: 0 !important;
    white-space: normal !important;
  }

  .home-cover .hero-en,
  .hero-en {
    margin-bottom: 0.46rem !important;
    font-size: 0.7rem !important;
    line-height: 1.42 !important;
    letter-spacing: 0.08em !important;
  }

  .home-cover .hero-motto,
  .hero .hero-motto {
    margin: 0.56rem 0 0 !important;
    padding: 0.62rem 0.74rem !important;
    max-width: 100% !important;
    border-left-width: 3px !important;
    background: rgba(255, 253, 248, 0.72) !important;
    box-shadow: 0 10px 24px rgba(82, 38, 20, 0.055) !important;
    font-size: 0.86rem !important;
    line-height: 1.62 !important;
  }

  .home-hero-actions {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.52rem !important;
    width: 100% !important;
    margin-top: 0.82rem !important;
  }

  .home-hero-actions .btn {
    min-width: 0 !important;
    min-height: 40px !important;
    padding: 0.54rem 0.5rem !important;
    border-radius: 999px !important;
    font-size: 0.84rem !important;
    line-height: 1.25 !important;
    white-space: normal !important;
  }

  .news-ticker-section {
    margin-top: 0 !important;
    padding-top: 0.55rem !important;
  }

  .news-ticker {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: stretch !important;
    gap: 0.42rem !important;
    padding: 0.68rem 0.72rem !important;
    border-radius: 10px !important;
    box-shadow: 0 10px 26px rgba(82, 38, 20, 0.08) !important;
  }

  .news-ticker strong {
    grid-column: 1 / -1;
    padding-bottom: 0.42rem !important;
    font-size: 0.84rem !important;
    line-height: 1.3 !important;
  }

  .news-ticker a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 2rem !important;
    padding: 0.34rem 0.6rem !important;
    border-radius: 999px;
    background: rgba(255, 253, 248, 0.7);
    border: 1px solid rgba(201, 154, 60, 0.2);
    font-size: 0.78rem !important;
    line-height: 1.25 !important;
    text-align: center;
  }
}

@media (max-width: 380px) {
  .home-hero-actions {
    grid-template-columns: 1fr !important;
  }
}

/* Home key channel bar: gold moving marquee. */
.home-page .news-ticker-section {
  margin-top: -0.7rem !important;
}

.home-page .news-ticker-section .container {
  width: 100% !important;
  max-width: none !important;
}

.home-page .news-ticker {
  --gq-ticker-bg: #c99a3a;
  --gq-ticker-bg-deep: #b98527;
  --gq-ticker-text: #533314;
  --gq-ticker-star: rgba(113, 73, 22, 0.42);
  --gq-ticker-duration: 28s;
  position: relative;
  display: flex !important;
  flex-direction: row !important;
  align-items: center !important;
  gap: 0 !important;
  min-height: 48px;
  padding: 0 !important;
  overflow: hidden !important;
  border: 1px solid rgba(143, 92, 20, 0.36) !important;
  border-radius: 3px !important;
  background:
    linear-gradient(180deg, rgba(217, 172, 68, 0.98), rgba(195, 142, 45, 0.98)) !important;
  box-shadow: inset 0 1px 0 rgba(255, 235, 163, 0.42) !important;
  scrollbar-width: none;
}

.home-page .news-ticker::-webkit-scrollbar {
  display: none;
}

.home-page .news-ticker::before,
.home-page .news-ticker::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  z-index: 2;
  width: clamp(26px, 5vw, 64px);
  pointer-events: none;
}

.home-page .news-ticker::before {
  left: 0;
  background: linear-gradient(90deg, var(--gq-ticker-bg), rgba(201, 154, 58, 0));
}

.home-page .news-ticker::after {
  right: 0;
  background: linear-gradient(270deg, var(--gq-ticker-bg-deep), rgba(201, 154, 58, 0));
}

.home-page .news-ticker-track {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  width: max-content;
  min-width: 100%;
  padding-right: clamp(2.8rem, 7vw, 5.4rem);
  animation: gq-home-ticker-marquee var(--gq-ticker-duration) linear infinite;
  will-change: transform;
}

.home-page .news-ticker strong,
.home-page .news-ticker a {
  position: relative;
  display: inline-flex !important;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  min-height: 48px !important;
  padding: 0 clamp(1.1rem, 2.1vw, 2rem) !important;
  color: var(--gq-ticker-text) !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  font-size: clamp(0.9rem, 1.04vw, 1.02rem);
  font-weight: 800;
  letter-spacing: 0.01em;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  white-space: nowrap;
}

.home-page .news-ticker strong {
  color: var(--gq-polish-red-deep) !important;
}

.home-page .news-ticker-track > *::after {
  content: "";
  position: absolute;
  top: 50%;
  right: -0.2rem;
  width: 7px;
  height: 7px;
  border-radius: 1px;
  background: var(--gq-ticker-star);
  box-shadow: 0 0 0 1px rgba(255, 225, 137, 0.16);
  transform: translateY(-50%) rotate(45deg);
}

.home-page .news-ticker a:hover,
.home-page .news-ticker a:focus-visible {
  color: var(--gq-polish-red-deep) !important;
}

@keyframes gq-home-ticker-marquee {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-100%);
  }
}

@media (prefers-reduced-motion: reduce) {
  .home-page .news-ticker-track {
    animation: none;
  }
}

@media (max-width: 760px) {
  .home-page .news-ticker-section {
    margin-top: 0 !important;
    padding-top: 0.55rem !important;
  }

  .home-page .news-ticker {
    min-height: 42px;
    border-radius: 6px !important;
  }

  .home-page .news-ticker-track {
    --gq-ticker-duration: 22s;
    padding-right: 2.2rem;
  }

  .home-page .news-ticker strong,
  .home-page .news-ticker a {
    min-height: 42px !important;
    padding-inline: 1rem !important;
    font-size: 0.84rem !important;
  }

  .home-page .news-ticker-track > *::after {
    right: -0.12rem;
    width: 6px;
    height: 6px;
  }
}
