﻿@charset "UTF-8";
/*
  Taswyaat website styles.
  Edit assets/scss/style.scss first, then regenerate/copy this compiled CSS.
  Main areas: global layout, shared header/footer, home hero/market ticker,
  cards/tables/forms, CMS-driven rules pages, education/news/board/calculator pages,
  responsive breakpoints, and dark/light theme overrides.
*/
html {
  min-height: 100%;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

/* Base document layout: global font, page height, and sticky-footer structure. */
body {
  color: #22242a;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  font-family: "Josefin Sans", "Trebuchet MS", Arial, sans-serif;
  font-size: 16px;
  letter-spacing: 0;
  margin: 0;
  padding-top: 100px;
}

body > main {
  flex: 1 0 auto;
}

.container,
.container-fluid {
  margin-left: auto;
  margin-right: auto;
  padding-left: 24px;
  padding-right: 24px;
  width: 100%;
}

.container {
  max-width: 1280px;
}

.row {
  display: flex;
  flex-wrap: wrap;
  margin-left: -12px;
  margin-right: -12px;
}

.row > * {
  padding-left: 12px;
  padding-right: 12px;
  width: 100%;
}

.g-5 {
  row-gap: 48px;
}

.text-center {
  text-align: center;
}

.w-100 {
  width: 100%;
}

.table-responsive {
  overflow-x: auto;
}

.table {
  border-collapse: collapse;
  width: 100%;
}

.form-control {
  display: block;
  width: 100%;
}

.navbar {
  align-items: center;
  display: flex;
}

.navbar-nav {
  display: flex;
  list-style: none;
  margin: 0;
  padding-left: 0;
}

.navbar-collapse {
  flex-basis: 100%;
  flex-grow: 1;
}

.navbar-toggler {
  display: none;
}

.ms-lg-auto {
  margin-left: auto;
}

.accordion-collapse.collapse:not(.show) {
  display: none;
}

.accordion-button {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  border: 0;
  text-align: left;
  width: 100%;
}

@media (min-width: 768px) {
  .col-md-3 {
    flex: 0 0 auto;
    width: 25%;
  }
  .col-md-4 {
    flex: 0 0 auto;
    width: 33.333333%;
  }
  .col-md-6 {
    flex: 0 0 auto;
    width: 50%;
  }
}
@media (min-width: 992px) {
  .col-lg-5 {
    flex: 0 0 auto;
    width: 41.666667%;
  }
  .col-lg-6 {
    flex: 0 0 auto;
    width: 50%;
  }
  .col-lg-7 {
    flex: 0 0 auto;
    width: 58.333333%;
  }
}
a {
  color: #07a9b4;
}

.site-header {
  background: #fff;
  border-bottom: 1px solid #dedede;
  min-height: 100px;
  left: 0;
  position: fixed;
  right: 0;
  top: 0;
  z-index: 10;
}

.site-header .navbar {
  min-height: 100px;
}

.site-header .container-fluid {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
}

.nav-container {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  max-width: none;
  padding-left: 36px;
  padding-right: 36px;
}

.brand-logo {
  left: 50%;
  position: absolute;
  top: 14px;
  transform: translateX(-50%);
}

.brand-logo img {
  display: block;
  height: 76px;
  -o-object-fit: contain;
  object-fit: contain;
  width: auto;
}

.navbar-nav {
  gap: 30px;
  width: 100%;
}

.navbar-nav .nav-item:last-child {
  margin-left: auto;
}

.nav-link-item {
  color: #0d1116;
  display: inline-block;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 2px;
  padding: 0 0 7px;
  text-transform: uppercase;
}

.nav-link-item.active,
.nav-link-item:hover {
  color: #0d1116;
  border-bottom: 2px solid #07a9b4;
}

@media (min-width: 992px) {
  .navbar-collapse {
    display: flex;
  }
}
.hero-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 600px;
  width: 100%;
}

.hero-image {
  background: url("../images/hero-banner.png") center center/cover no-repeat;
}

.hero-panel {
  align-items: center;
  background: #161616;
  color: #fff;
  display: flex;
  justify-content: center;
  text-align: center;
}

.hero-panel h1,
.hero-panel p,
.hero-panel span {
  font-family: "Josefin Sans", Arial, sans-serif;
  font-weight: 900;
  letter-spacing: 5px;
  line-height: 1.2;
  text-transform: uppercase;
}

.hero-panel h1 {
  font-size: 42px;
  margin-bottom: 45px;
}

.hero-panel p,
.hero-panel span {
  font-size: 42px;
  margin-bottom: 25px;
}

.btn-teal {
  background: #07a9b4;
  border: 0;
  border-radius: 999px;
  color: #091216;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 1px;
  min-height: 56px;
  min-width: 92px;
  padding: 12px 24px;
  text-transform: uppercase;
}

.btn-teal:hover {
  background: #048f99;
  color: #fff;
}

.section-block {
  padding: 62px 0;
}

.feature-section {
  overflow: hidden;
}

.feature-section .container {
  max-width: 1280px;
}

.feature-section .row {
  --bs-gutter-x: 72px;
}

.section-muted {
  background: #f4f4f4;
}

.content-narrow {
  max-width: 1100px;
}

.section-title {
  color: #07a9b4;
  font-family: "Josefin Sans", Arial, sans-serif;
  font-weight: 800;
  letter-spacing: 7px;
  line-height: 1.28;
  text-transform: uppercase;
  font-size: 42px;
  margin: 0 auto 52px;
  max-width: 980px;
  text-align: center;
}

.title-dark {
  color: #151515;
}

.section-kicker {
  color: #4f535a;
  font-size: 14px;
  margin: -30px 0 35px;
  text-align: center;
}

.round-feature {
  height: 100%;
  padding: 0 18px;
}

.round-feature img {
  aspect-ratio: 1;
  border-radius: 50%;
  display: block;
  margin: 0 auto 34px;
  -o-object-fit: cover;
  object-fit: cover;
  width: min(330px, 100%);
}

.round-feature h3 {
  color: #202027;
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 24px;
}

.round-feature p {
  color: #4f535a;
  font-size: 18px;
  line-height: 1.8;
  margin: 0 auto;
  max-width: 370px;
}

#about .container {
  max-width: 990px;
}

#about .round-feature {
  padding: 0 10px;
}

#about .round-feature img {
  margin-bottom: 26px;
  width: min(275px, 100%);
}

#about .round-feature h3 {
  font-size: 18px;
  margin-bottom: 20px;
}

#about .round-feature p {
  font-size: 13px;
  line-height: 1.8;
  max-width: 270px;
}

.reveal-card {
  align-items: center;
  display: flex;
  flex-direction: column;
}

.more-content {
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transition: max-height 0.25s ease, opacity 0.25s ease;
}

.more-content p {
  color: #5b6068;
}

.reveal-card.is-open .more-content {
  max-height: 180px;
  opacity: 1;
}

.link-button {
  background: none;
  border: 0;
  color: #07a9b4;
  font-size: 13px;
  font-weight: 800;
  margin-top: 12px;
}

.faq-wrap {
  margin-left: auto;
  margin-right: auto;
  max-width: 820px;
  width: 100%;
}

.subscribe-section > .container,
.contact-section > .container {
  max-width: 1280px;
}

.faq-list .accordion-item {
  background: transparent;
  border: 0;
  border-bottom: 1px solid #dadada;
}

.faq-list .accordion-button {
  background: transparent;
  box-shadow: none;
  color: #2e3035;
  font-size: 24px;
  font-weight: 400;
  padding: 20px 0 24px;
}

.faq-list .accordion-button:hover,
.faq-list .accordion-button:not(.collapsed) {
  color: rgb(1, 125, 135);
}

.faq-list .accordion-button::after {
  background-image: none;
  color: inherit;
  content: "v";
  font-size: 18px;
  height: auto;
  line-height: 1;
  transform: none;
  width: auto;
}

.faq-list .accordion-button:not(.collapsed)::after {
  transform: rotate(180deg);
}

.faq-list .accordion-body {
  color: #4f535a;
  font-size: 17px;
  padding: 0 0 20px;
}

.subscribe-section {
  text-align: center;
}

.subscribe-form {
  align-items: center;
  display: flex;
  gap: 22px;
  justify-content: center;
  margin: 0 auto;
  max-width: 720px;
}

.subscribe-form .form-control {
  border: 0;
  border-radius: 0;
  height: 38px;
}

.contact-wrap {
  max-width: 910px;
}

.contact-section h3,
.contact-section h4 {
  color: #1f2025;
  font-size: 15px;
  font-weight: 800;
  margin-bottom: 20px;
}

.contact-form .form-control {
  background: #f1f1f1;
  border: 0;
  border-radius: 0;
  font-size: 13px;
  margin-bottom: 10px;
  padding: 13px 15px;
}

.recaptcha-note {
  color: #4f535a;
  font-size: 10px;
  line-height: 1.5;
  margin-top: 18px;
  text-align: center;
}

.contact-details {
  color: #4f535a;
  font-size: 13px;
  line-height: 1.8;
}

.page-intro p {
  color: #000;
  font-family: "Josefin Sans", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.7;
}

.document-section p {
  color: #101010;
  font-family: "Josefin Sans", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.7;
  margin: 0 auto 90px;
  max-width: 1060px;
}

.download-row {
  align-items: center;
  background: #fff;
  color: #171717;
  display: flex;
  font-size: 16px;
  font-weight: 700;
  justify-content: flex-start;
  margin: 0 auto;
  max-width: 660px;
  padding: 18px 28px;
  text-decoration: none;
}

.download-action {
  color: #07a9b4;
  font-weight: 800;
}

.table-container {
  max-width: 1080px;
}

.data-table {
  border: 1px solid #d8dce2;
  margin: 0 auto;
}

.data-table th {
  background: #07a9b4;
  color: #fff;
  font-family: "Josefin Sans", Arial, sans-serif;
  font-weight: 700;
}

.data-table td {
  color: #1f2228;
  font-family: "Josefin Sans", Arial, sans-serif;
}

.data-table th,
.data-table td {
  border-color: #d8dce2;
  padding: 15px 18px;
}

.data-table tbody tr:nth-child(even) td {
  background: #f5f7fa;
}

.carbon-intro h1 {
  color: #050505;
  font-size: 29px;
  font-weight: 500;
  margin-bottom: 35px;
}

.carbon-intro p {
  color: #3d4650;
  font-family: "Josefin Sans", Arial, sans-serif;
  font-size: 20px;
  line-height: 1.55;
  margin: 0 auto;
  max-width: 820px;
}

.carbon-rules {
  min-height: 425px;
}

.carbon-rules p {
  color: #3b414a;
  font-size: 21px;
  line-height: 1.5;
  margin: 0 auto 44px;
  max-width: 680px;
}

.cookie-box {
  background: #07a9b4;
  border-radius: 4px;
  bottom: 32px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
  color: #0e1418;
  max-width: 320px;
  padding: 22px 24px;
  position: fixed;
  right: 22px;
  z-index: 50;
}

.cookie-box h2 {
  font-size: 18px;
  font-weight: 800;
  margin-bottom: 12px;
}

.cookie-box p {
  font-size: 13px;
  font-weight: 700;
  line-height: 1.55;
  margin-bottom: 18px;
}

.cookie-box button {
  background: #171717;
  border: 0;
  border-radius: 999px;
  color: #fff;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 1px;
  padding: 12px 20px;
  text-transform: uppercase;
  width: 100%;
}

.site-footer {
  background: #111;
  color: #b8bdc7;
  padding: 70px 0;
}

.footer-inner {
  align-items: center;
  display: flex;
  justify-content: flex-start;
  max-width: 980px;
}

.footer-inner p {
  margin: 0;
}

.powered {
  text-align: center;
}

.carbon-footer {
  padding: 78px 0;
}

@media (max-width: 991.98px) {
  body {
    padding-top: 92px;
  }
  .site-header,
  .site-header .navbar {
    min-height: 92px;
  }
  .brand-logo img {
    height: 68px;
  }
  .brand-logo {
    position: static;
    transform: none;
  }
  .navbar-collapse {
    background: #fff;
    flex-basis: 100%;
    display: none;
    margin-top: 18px;
    order: 3;
    padding: 20px 0;
    text-align: right;
  }
  .navbar-collapse.show {
    display: block;
  }
  .navbar-toggler {
    background: transparent;
    border: 1px solid #cfcfcf;
    border-radius: 4px;
    display: block;
    margin-left: auto;
    order: 2;
    padding: 8px 10px;
  }
  .navbar-toggler-icon {
    background: linear-gradient(#111, #111) center 25%/24px 2px no-repeat, linear-gradient(#111, #111) center 50%/24px 2px no-repeat, linear-gradient(#111, #111) center 75%/24px 2px no-repeat;
    display: block;
    height: 24px;
    width: 24px;
  }
  .navbar-nav {
    display: block;
    gap: 0;
  }
  .navbar-nav .nav-item:last-child {
    margin-left: 0;
  }
  .nav-link-item {
    font-size: 13px;
    letter-spacing: 2px;
    margin: 10px 0 10px auto;
  }
  .hero-split {
    grid-template-columns: 1fr;
    min-height: auto;
  }
  .hero-image {
    min-height: 50vh;
  }
  .hero-panel {
    min-height: 50vh;
  }
  .section-title {
    font-size: 30px;
    letter-spacing: 4px;
  }
}
@media (max-width: 767.98px) {
  .section-block {
    padding: 52px 0;
  }
  .hero-panel h1 {
    font-size: 24px;
  }
  .hero-panel p {
    font-size: 22px;
  }
  .subscribe-form,
  .download-row,
  .footer-inner {
    align-items: stretch;
    flex-direction: column;
    gap: 16px;
    text-align: center;
  }
  .cookie-box {
    bottom: 16px;
    left: 16px;
    max-width: none;
    right: 16px;
  }
  .carbon-intro p,
  .carbon-rules p {
    font-size: 17px;
  }
}
/* Modern concept redesign */
:root {
  --modern-teal: #007d87;
  --modern-teal-bright: #08a8b3;
  --modern-dark: #042b35;
  --modern-ink: #10202c;
  --modern-muted: #f4f7f8;
  --modern-line: #dbe8eb;
  --modern-shadow: 0 18px 45px rgba(2, 51, 61, 0.12);
}

.modern-site {
  background: #fff;
  color: var(--modern-ink);
  overflow-x: hidden;
  padding-top: 94px;
}

/* Shared header/navigation: desktop nav, mobile collapse, logo, CTA, and scroll state. */
.modern-header {
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid var(--modern-line);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.04);
  left: 0;
  min-height: 94px;
  position: fixed;
  right: 0;
  top: 0;
  z-index: 100;
}

.modern-header .navbar {
  min-height: 94px;
  padding: 0;
}

.modern-nav {
  align-items: center;
  display: flex;
  gap: 24px;
  justify-content: flex-start;
  max-width: 1280px;
}

.modern-header .navbar-collapse {
  flex-grow: 0;
}

.modern-logo {
  align-items: center;
  color: var(--modern-ink);
  display: inline-flex;
  gap: 10px;
  min-width: 178px;
  text-decoration: none;
}

.modern-logo img {
  display: block;
  height: 70px;
  -o-object-fit: contain;
  object-fit: contain;
}

.modern-logo-copy {
  display: grid;
  line-height: 1.05;
}

.modern-logo-copy strong {
  color: var(--modern-ink);
  font-size: 18px;
  font-weight: 800;
}

.modern-logo-copy small {
  color: #53636c;
  font-size: 11px;
  font-weight: 600;
}

.modern-nav-links {
  align-items: center;
  gap: clamp(8px, 1vw, 16px);
  margin-left: auto !important;
  width: auto;
}

.modern-nav-links .nav-link {
  color: var(--modern-ink);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.02em;
  padding: 8px 0;
  position: relative;
  text-decoration: none;
  text-transform: uppercase;
}

.modern-nav-links .nav-link::after {
  background: var(--modern-teal-bright);
  bottom: 0;
  content: "";
  height: 2px;
  left: 0;
  position: absolute;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.2s ease;
  width: 100%;
}

.modern-nav-links .nav-link:hover,
.modern-nav-links .nav-link.active {
  color: var(--modern-teal);
}

.modern-nav-links .nav-link:hover::after,
.modern-nav-links .nav-link.active::after {
  transform: scaleX(1);
}

.modern-nav-cta {
  align-items: center;
  background: var(--modern-teal);
  border-radius: 6px;
  color: #fff;
  display: inline-flex;
  font-size: 12px;
  font-weight: 800;
  min-height: 38px;
  padding: 0 20px;
  text-transform: uppercase;
  white-space: nowrap;
}

.modern-nav-cta:hover {
  background: #035f67;
  color: #fff;
}

/* Home hero: background artwork, headline copy, latest-news preview, market panel, and ticker. */
.modern-hero {
  min-height: 600px;
  overflow: hidden;
  position: relative;
}

/* Inner page heroes: compact banners used by all pages except home. */
.modern-page-hero {
  background: linear-gradient(90deg, rgba(4, 43, 53, 0.94), rgba(4, 43, 53, 0.72)), url("../images/hero-banner.png") center/cover no-repeat;
  color: #fff;
  overflow: hidden;
  padding: 90px 0 76px;
  position: relative;
}

.modern-page-hero .container {
  position: relative;
  z-index: 1;
}

.modern-page-hero p {
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 20px;
}

.modern-page-hero h1 {
  font-size: 42px;
  font-weight: 800;
  line-height: 1.15;
  margin: 0;
  text-transform: uppercase;
}

.carbon-hero {
  background: linear-gradient(90deg, rgba(4, 43, 53, 0.94), rgba(4, 43, 53, 0.72)), url("../images/carbon_credit.png") center/cover no-repeat;
}

.modern-hero-bg {
  background: linear-gradient(90deg, rgba(4, 43, 53, 0.92) 0%, rgba(4, 43, 53, 0.72) 38%, rgba(4, 43, 53, 0.08) 100%), url("../images/hero-banner.png");
  inset: 0;
  position: absolute;
  background-size: cover;
  background-position: center;
}

.modern-hero-content {
  align-items: center;
  display: flex;
  min-height: 500px;
  position: relative;
  z-index: 1;
}

.hero-copy {
  color: #fff;
}

.hero-copy h1 {
  font-size: 54px;
  font-weight: 800;
  letter-spacing: 0;
  line-height: 1.08;
  margin: 0 0 18px;
  text-transform: uppercase;
}

.hero-copy p {
  font-size: 18px;
  line-height: 1.7;
  margin-bottom: 24px;
}

.hero-kicker {
  color: var(--modern-teal-bright);
  font-size: 20px !important;
  font-weight: 700;
  letter-spacing: 0.04em;
  line-height: 1.2 !important;
  margin-bottom: 12px !important;
  text-transform: uppercase;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.modern-site .btn-teal {
  align-items: center;
  background: var(--modern-teal);
  border-radius: 6px;
  color: #fff;
  display: inline-flex;
  font-size: 13px;
  justify-content: center;
  min-height: 46px;
  padding: 0 24px;
  text-decoration: none;
}

.hero-actions a,
.btn-outline-teal,
.modern-nav-cta {
  text-decoration: none;
}

/* Value strip: service promise cards under the hero. */
.value-strip {
  background: #fff;
  padding: 26px 0 20px;
}

.value-card {
  align-items: center;
  background: #fff;
  border-right: 1px solid var(--modern-line);
  display: grid;
  gap: 8px 14px;
  grid-template-columns: auto 1fr;
  min-height: 92px;
  padding: 16px 18px;
}

.value-card h3 {
  font-size: 14px;
  font-weight: 800;
  margin: 0;
  text-transform: uppercase;
}

.value-card p {
  color: #53636c;
  font-size: 13px;
  line-height: 1.5;
  margin: 0;
}

.value-icon {
  align-items: center;
  background: #eef8f9;
  border-radius: 50%;
  color: var(--modern-teal);
  display: flex;
  font-weight: 800;
  height: 44px;
  justify-content: center;
  width: 44px;
}

.modern-section {
  padding: 54px 0;
}

.section-heading {
  text-align: center;
}

.section-heading h2 {
  color: var(--modern-teal);
  font-size: 26px;
  font-weight: 800;
  letter-spacing: 0.08em;
  margin-bottom: 28px;
  text-transform: uppercase;
}

.modern-card,
.modern-panel,
.newsletter-card,
.contact-info-card {
  background: #fff;
  border: 1px solid var(--modern-line);
  border-radius: 12px;
  box-shadow: var(--modern-shadow);
}

.team-card {
  min-height: 340px;
  overflow: hidden;
  position: relative;
}

.team-card img {
  height: 145px;
  -o-object-fit: cover;
  object-fit: cover;
  width: 100%;
}

.team-card .card-body {
  padding: 18px 22px 22px;
}

.team-card h3 {
  font-size: 15px;
  font-weight: 800;
  text-transform: uppercase;
}

.team-card p {
  color: #53636c;
  font-size: 13px;
  line-height: 1.6;
}

.team-card a {
  color: var(--modern-teal);
  font-size: 13px;
  font-weight: 800;
  text-decoration: none;
}

.team-badge {
  align-items: center;
  background: var(--modern-teal);
  border: 4px solid #fff;
  border-radius: 50%;
  color: #fff;
  display: flex;
  font-size: 12px;
  font-weight: 800;
  height: 48px;
  justify-content: center;
  position: absolute;
  right: 22px;
  top: 120px;
  width: 48px;
}

.modern-panel {
  height: 100%;
  padding: 18px;
}

.modern-panel h2 {
  color: var(--modern-teal);
  font-size: 18px;
  font-weight: 800;
  margin-bottom: 18px;
  text-transform: uppercase;
}

.modern-panel h3 {
  color: var(--modern-ink);
  font-size: 13px;
  font-weight: 800;
  margin-bottom: 12px;
}

.modern-intro {
  margin: 0 auto 34px;
  max-width: 980px;
  text-align: center;
}

.modern-intro h2 {
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 20px;
}

.modern-intro p {
  color: #53636c;
  font-size: 16px;
  line-height: 1.8;
}

.board-hero {
  background: linear-gradient(90deg, rgba(0, 50, 58, 0.92), rgba(0, 116, 124, 0.7)), url("../images/hero-banner.png") center/cover no-repeat;
}

.board-section {
  background: radial-gradient(circle at 15% 12%, rgba(0, 169, 181, 0.08), transparent 30%), linear-gradient(180deg, #ffffff 0%, #f6fafb 100%);
}

.board-intro {
  max-width: 820px;
}

.board-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.board-card {
  background: #fff;
  border: 1px solid rgba(0, 126, 135, 0.16);
  border-radius: 18px;
  box-shadow: 0 18px 48px rgba(7, 31, 38, 0.08);
  display: flex;
  flex-direction: column;
  min-height: 100%;
  overflow: hidden;
  position: relative;
}

.board-card::before {
  content: "";
  height: 4px;
  inset: 0 0 auto;
  position: absolute;
}

.board-card img {
  aspect-ratio: 4/4.5;
  background: #edf4f5;
  -o-object-fit: cover;
  object-fit: cover;
  -o-object-position: center top;
  object-position: center top;
  width: 100%;
}

.board-card-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 8px;
  padding: 24px;
}

.board-card-body span {
  color: var(--modern-teal-dark);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.board-card-body h2 {
  color: var(--modern-ink);
  font-size: 25px;
  font-weight: 800;
  line-height: 1.16;
  margin: 0;
}

.board-card-featured {
  background: linear-gradient(180deg, #ffffff 0%, #f2fbfc 100%);
}

.rule-panel {
  margin: 0 auto 28px;
  max-width: 1060px;
}

.rule-panel h2 {
  font-size: 24px;
  letter-spacing: 0.04em;
  text-align: center;
}

.rule-panel p {
  color: #53636c;
  font-size: 16px;
  line-height: 1.8;
  margin: 0 auto 22px;
  max-width: 860px;
  text-align: center;
}

.rule-panel .document-link {
  margin-left: auto;
  margin-right: auto;
  max-width: 720px;
}

.document-link {
  align-items: center;
  border: 1px solid var(--modern-line);
  border-radius: 8px;
  color: var(--modern-ink);
  display: flex;
  justify-content: flex-start;
  margin-bottom: 12px;
  padding: 14px 16px;
  text-decoration: none;
}

.document-link strong {
  color: var(--modern-teal);
  font-size: 12px;
}

.btn-outline-teal {
  border: 1px solid var(--modern-teal);
  border-radius: 6px;
  color: var(--modern-teal);
  font-size: 12px;
  font-weight: 800;
  margin-top: 10px;
  padding: 11px 18px;
  text-transform: uppercase;
}

.modern-table {
  border-collapse: collapse;
  font-size: 13px;
  width: 100%;
}

.modern-table th {
  background: var(--modern-teal);
  color: #fff;
  font-weight: 700;
  padding: 10px;
}

.modern-table td {
  border: 1px solid var(--modern-line);
  padding: 10px;
}

.modern-accordion .accordion-item {
  border: 1px solid var(--modern-line);
  border-radius: 8px;
  margin-bottom: 12px;
  overflow: hidden;
}

.modern-accordion .accordion-button {
  background: #fff;
  color: var(--modern-ink);
  font-size: 14px;
  font-weight: 700;
  padding: 16px 18px;
}

.modern-accordion .accordion-button:hover,
.modern-accordion .accordion-button:not(.collapsed) {
  color: var(--modern-teal);
}

.modern-accordion .accordion-body {
  color: #53636c;
  font-size: 14px;
  line-height: 1.7;
  padding: 0 18px 18px;
}

.about-preview {
  align-items: center;
  display: grid;
  gap: 24px;
  grid-template-columns: 1.4fr 0.8fr;
}

.about-preview p {
  color: #53636c;
  line-height: 1.7;
}

.about-preview img {
  border-radius: 10px;
  height: 220px;
  -o-object-fit: cover;
  object-fit: cover;
  width: 100%;
}

.newsletter-section {
  padding: 26px 0;
}

.newsletter-card {
  align-items: center;
  background: linear-gradient(90deg, var(--modern-teal), #06434d);
  color: #fff;
  display: flex;
  gap: 24px;
  justify-content: space-between;
  padding: 26px 34px;
}

.newsletter-card h2 {
  font-size: 24px;
  font-weight: 800;
  text-transform: uppercase;
}

.newsletter-card p {
  margin: 0;
}

.newsletter-card.js-reveal {
  opacity: 1;
  transform: none;
}

.newsletter-form {
  display: flex;
  gap: 12px;
  min-width: min(480px, 100%);
}

.newsletter-form input {
  border: 0;
  border-radius: 6px;
  flex: 1;
  min-height: 46px;
  padding: 0 16px;
}

/* Contact section: form controls, contact information card, and responsive spacing. */
.contact-modern {
  background: linear-gradient(180deg, #fff 0%, rgba(236, 246, 248, 0.9) 100%);
}

.contact-modern h2 {
  color: var(--modern-teal);
  font-size: 28px;
  font-weight: 800;
  margin-bottom: 22px;
  text-transform: uppercase;
}

.modern-form {
  display: grid;
  gap: 12px;
}

.modern-form input,
.modern-form textarea {
  border: 1px solid var(--modern-line);
  border-radius: 8px;
  padding: 14px 16px;
  background: #fff;
  color: #000;
}

.modern-form input:focus,
.modern-form textarea:focus {
  border-color: var(--modern-teal);
  outline: none;
}

.contact-info-card {
  background: linear-gradient(rgba(4, 43, 53, 0.82), rgba(4, 43, 53, 0.82)), url("../images/about-why.jpg") center/cover no-repeat;
  color: #fff;
  min-height: 100%;
  padding: 36px;
}

.contact-info-card h3 {
  font-size: 24px;
  font-weight: 800;
  margin-bottom: 24px;
  text-transform: uppercase;
}

.contact-info-card a {
  color: #fff;
}

/* Shared footer: footer alignment, logo sizing, and copyright text. */
.modern-footer {
  background: #032b35;
  color: #d8eef1;
  padding: 28px 0;
}

.modern-footer .footer-inner {
  align-items: center;
  display: flex;
  justify-content: flex-start;
  max-width: 1280px;
}

.modern-footer img {
  filter: brightness(0) invert(1);
  height: 48px;
  -o-object-fit: contain;
  object-fit: contain;
}

.modern-footer p {
  margin: 0;
}

@media (max-width: 991.98px) {
  .modern-site {
    padding-top: 82px;
  }
  .modern-header,
  .modern-header .navbar {
    min-height: 82px;
  }
  .modern-header .navbar-collapse {
    background: #fff;
    border: 1px solid var(--modern-line);
    border-radius: 12px;
    box-shadow: var(--modern-shadow);
    flex-basis: 100%;
    margin-top: 12px;
    padding: 8px 16px 16px;
    width: 100%;
  }
  .modern-header .navbar-collapse.show,
  .modern-header .navbar-collapse.collapsing {
    display: block;
  }
  .modern-nav {
    gap: 0;
  }
  .modern-logo {
    min-width: 0;
  }
  .modern-logo img {
    height: 50px;
  }
  .modern-logo-copy strong {
    font-size: 16px;
  }
  .modern-logo-copy small {
    font-size: 10px;
  }
  .modern-nav-links {
    align-items: flex-start !important;
    gap: 4px;
    margin-left: 0 !important;
    padding: 8px 0 0;
    width: 100%;
  }
  .modern-nav-links .nav-item,
  .modern-nav-links .nav-link,
  .modern-nav-cta {
    width: 100%;
  }
  .modern-nav-links .nav-link {
    border-bottom: 1px solid var(--modern-line);
    padding: 13px 0;
  }
  .modern-nav-links .nav-link::after {
    display: none;
  }
  .modern-nav-cta {
    justify-content: center;
    margin-top: 12px;
  }
  .hero-copy h1 {
    font-size: 38px;
  }
  .modern-hero,
  .modern-hero-content {
    min-height: 560px;
  }
  .newsletter-card,
  .about-preview {
    display: block;
  }
  .board-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .board-card img {
    height: 320px;
  }
  .newsletter-form {
    margin-top: 18px;
    min-width: 0;
  }
}
@media (max-width: 767.98px) {
  .hero-copy h1 {
    font-size: 30px;
  }
  .modern-section {
    padding: 42px 0;
  }
  .board-grid {
    grid-template-columns: 1fr;
  }
  .board-card img {
    height: auto;
    max-height: 420px;
  }
  .board-card-body h2 {
    font-size: 23px;
  }
  .newsletter-form {
    display: grid;
  }
  .modern-footer .footer-inner {
    gap: 18px;
  }
}
/* Homepage refinement overrides */
.value-strip {
  margin-top: -46px;
  padding: 0 0 28px;
  position: relative;
  z-index: 3;
}

.hero-bottom-grid {
  align-items: stretch;
  display: grid;
  gap: 24px;
  grid-template-columns: minmax(0, 0.95fr) minmax(420px, 1.05fr);
}

.value-grid {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.value-card {
  border: 1px solid var(--modern-line);
  border-radius: 12px;
  min-height: 126px;
  padding: 22px;
  box-shadow: 0 16px 36px rgba(7, 44, 54, 0.08);
}

.hero-market-card {
  margin-top: -34px;
  overflow: visible;
}

.hero-market-card .btn-outline-teal {
  margin-top: 18px;
}

.market-mini-grid {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.team-section .row > [class*=col-],
.about-card-grid > [class*=col-] {
  display: flex;
}

.team-card,
.about-card-modern {
  display: flex;
  flex-direction: column;
  height: 100%;
  width: 100%;
}

.team-card .card-body,
.about-card-modern .card-body {
  display: flex;
  flex: 1;
  flex-direction: column;
}

.resources-panel {
  padding: 18px;
}

.resources-grid {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(3, minmax(0, 3fr));
}

.faq-panel {
  margin: 0 auto;
  max-width: 980px;
}

.about-heading {
  margin-top: 46px;
}

.about-card-modern {
  overflow: hidden;
}

.about-card-modern img {
  height: 190px;
  -o-object-fit: cover;
  object-fit: cover;
  width: 100%;
}

.about-card-modern .card-body {
  padding: 24px;
}

.about-card-modern h3 {
  color: var(--modern-ink);
  font-size: 18px;
  font-weight: 800;
  margin-bottom: 12px;
}

.about-card-modern p {
  color: #53636c;
  font-size: 14px;
  line-height: 1.75;
  margin: 0;
}

.about-card-modern a {
  color: var(--modern-teal);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.about-card-modern a:hover {
  color: var(--modern-teal-bright);
}

@media (max-width: 991.98px) {
  .hero-bottom-grid {
    grid-template-columns: 1fr;
  }
  .hero-market-card {
    margin-top: 0;
  }
}
@media (max-width: 767.98px) {
  .value-grid,
  .market-mini-grid,
  .resources-grid {
    grid-template-columns: 3fr;
  }
}
/* Mockup-aligned homepage sections */
.value-strip {
  margin-top: 0;
  padding: 34px 0;
  background: linear-gradient(90deg, #f8fcfd 0%, #fff 48%, #f4fbfc 100%);
  border-bottom: 1px solid var(--modern-line);
}

.value-strip .value-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
}

.value-strip .value-card {
  align-items: center;
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  display: grid;
  gap: 16px;
  grid-template-columns: 58px minmax(0, 1fr);
  min-height: 86px;
  padding: 0 30px;
}

.value-strip .value-card + .value-card {
  border-left: 1px solid var(--modern-line);
}

.value-strip .value-icon {
  background: #fff;
  box-shadow: 0 12px 28px rgba(7, 44, 54, 0.1);
  height: 58px;
  width: 58px;
}

.value-icon svg,
.team-badge svg,
.section-icon svg {
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
  height: 24px;
  width: 24px;
}

.value-icon svg {
  color: var(--modern-teal);
  height: 30px;
  width: 30px;
}

/* Our team section: circular media cards and responsive layout. */
.team-section {
  background: #fff;
}

.team-section .row {
  row-gap: 24px;
}

.team-card {
  display: grid;
  grid-template-columns: 42% minmax(0, 1fr);
  min-height: 190px;
  overflow: hidden;
}

.team-media {
  height: 100%;
  min-height: 190px;
}

.team-card .team-media img {
  height: 100%;
  -o-object-fit: cover;
  object-fit: cover;
  width: 100%;
}

.team-card > img {
  display: none;
}

.team-card .card-body {
  justify-content: center;
  padding: 26px 28px 24px 42px;
}

.team-card h3 {
  margin-bottom: 10px;
}

.team-card p {
  margin-bottom: 16px;
}

.team-card a {
  align-items: center;
  color: var(--modern-teal);
  display: inline-flex;
  font-size: 13px;
  font-weight: 800;
  gap: 8px;
  margin-top: auto;
  text-decoration: none;
}

.team-badge {
  color: #fff;
  height: 62px;
  left: calc(42% - 31px);
  right: auto;
  top: 50%;
  transform: translateY(-50%);
  width: 62px;
  z-index: 2;
}

.team-badge svg {
  height: 28px;
  width: 28px;
}

.resources-panel,
.market-panel {
  background: linear-gradient(135deg, #fff 0%, #f7fcfd 100%);
}

.resources-panel {
  display: flex;
  flex-direction: column;
}

.document-link {
  background: #fff;
}

.panel-actions {
  display: flex;
  justify-content: end;
  margin-top: 18px;
}

.panel-actions-end {
  justify-content: flex-end;
  margin-top: auto;
  padding-top: 18px;
}

.market-panel .market-mini-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.section-icon {
  align-items: center;
  color: var(--modern-teal);
  display: inline-flex;
  margin-right: 8px;
  vertical-align: -4px;
}

.faq-about-section .container {
  display: grid;
  gap: 26px;
  grid-template-columns: minmax(0, 0.72fr) minmax(0, 1.28fr);
}

.faq-panel {
  align-self: start;
  height: auto;
  max-width: none;
}

/* About and FAQ panels: company story, highlights, accordion questions, and decorative visuals. */
.about-story-panel {
  align-items: center;
  align-self: start;
  display: grid;
  gap: 28px;
  height: auto;
  grid-template-columns: minmax(0, 1fr) 190px;
  overflow: hidden;
  position: relative;
}

.about-story-copy p {
  color: #53636c;
  font-size: 14px;
  line-height: 1.75;
}

.about-story-copy a {
  color: var(--modern-teal);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.about-highlights {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin: 20px 0 8px;
}

.about-highlights div {
  background: #f7fbfc;
  border: 1px solid var(--modern-line);
  border-radius: 10px;
  padding: 14px;
}

.about-highlights strong,
.about-highlights span {
  display: block;
}

.about-highlights strong {
  color: var(--modern-teal);
  font-size: 13px;
  margin-bottom: 6px;
  text-transform: uppercase;
}

.about-highlights span {
  color: #53636c;
  font-size: 13px;
  line-height: 1.6;
}

.about-story-visual {
  align-self: stretch;
  border-radius: 16px;
  max-height: 320px;
  min-height: 260px;
  overflow: hidden;
}

.about-story-visual img {
  height: 100%;
  -o-object-fit: cover;
  object-fit: cover;
  width: 100%;
}

@media (max-width: 1199.98px) {
  .value-strip .value-grid,
  .market-panel .market-mini-grid,
  .faq-about-section .container {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .value-strip .value-card:nth-child(3) {
    border-left: 0;
  }
}
@media (max-width: 991.98px) {
  .team-card {
    grid-template-columns: 38% minmax(0, 1fr);
  }
  .team-badge {
    left: calc(38% - 31px);
  }
  .faq-about-section .container,
  .about-story-panel {
    grid-template-columns: 1fr;
  }
  .about-story-visual {
    min-height: 220px;
  }
}
@media (max-width: 767.98px) {
  .value-strip .value-grid,
  .market-panel .market-mini-grid,
  .about-highlights {
    grid-template-columns: 1fr;
  }
  .value-strip .value-card,
  .value-strip .value-card + .value-card,
  .value-strip .value-card:nth-child(3) {
    border-left: 0;
    border-bottom: 1px solid var(--modern-line);
    padding: 18px 0;
  }
  .team-card {
    grid-template-columns: 1fr;
  }
  .team-media {
    min-height: 210px;
  }
  .team-badge {
    left: 28px;
    top: 184px;
    transform: none;
  }
  .team-card .card-body {
    padding: 34px 24px 24px;
  }
}
/* FAQ and About section enhancements */
.faq-about-section {
  padding: 64px 0;
}

.faq-about-section .container {
  align-items: start;
  gap: 30px;
}

.faq-panel,
.about-story-panel {
  box-shadow: 0 22px 60px rgba(0, 126, 135, 0.12);
}

.faq-panel {
  padding: 30px;
}

.panel-title-row {
  align-items: flex-start;
  display: flex;
  gap: 18px;
  justify-content: flex-start;
  margin-bottom: 4px;
}

.panel-eyebrow {
  color: var(--modern-teal);
  display: block;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  margin-bottom: 4px;
  text-transform: uppercase;
}

.panel-eyebrow-pdf {
  color: #fff;
  display: block;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  margin-bottom: 4px;
  text-transform: uppercase;
}

.panel-title-row h2,
.about-story-copy h2 {
  align-items: center;
  color: var(--modern-teal);
  display: flex;
  font-size: 20px;
  font-weight: 800;
  line-height: 1.2;
  margin: 0;
  text-transform: uppercase;
}

.panel-lead {
  color: #60727b;
  font-size: 14px;
  line-height: 1.6;
  margin: 0 0 20px;
}

.mini-link {
  align-items: center;
  color: var(--modern-teal);
  display: inline-flex;
  flex: 0 0 auto;
  font-size: 12px;
  font-weight: 800;
  gap: 6px;
  margin-top: 28px;
  text-decoration: none;
  text-transform: uppercase;
}

.modern-accordion .accordion-item {
  background: #fff;
  border: 1px solid rgba(0, 125, 135, 0.14);
  border-radius: 10px;
  box-shadow: 0 10px 28px rgba(7, 44, 54, 0.05);
}

.modern-accordion .accordion-button {
  border-radius: 10px;
  font-size: 15px;
  min-height: 54px;
}

.modern-accordion .accordion-button::after {
  filter: sepia(1) saturate(8) hue-rotate(130deg);
}

.modern-accordion .accordion-button:not(.collapsed) {
  background: #f2fbfc;
  box-shadow: none;
}

.modern-accordion .accordion-body {
  background: #fff;
  border-top: 1px solid rgba(0, 125, 135, 0.1);
  padding: 16px 18px 20px;
}

.about-story-panel {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.96), rgba(246, 252, 253, 0.96)), linear-gradient(135deg, rgba(0, 125, 135, 0.08), transparent);
  padding: 30px;
}

.about-story-copy h2 {
  margin-bottom: 16px;
}

.about-story-copy p {
  margin-bottom: 0;
}

.about-highlights div {
  background: #fff;
  box-shadow: 0 12px 28px rgba(7, 44, 54, 0.06);
}

.about-story-visual {
  box-shadow: 0 18px 42px rgba(3, 43, 53, 0.14);
  position: relative;
}

.about-story-visual::after {
  background: linear-gradient(180deg, transparent 44%, rgba(3, 43, 53, 0.72));
  content: "";
  inset: 0;
  position: absolute;
}

.about-visual-card {
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid rgba(255, 255, 255, 0.6);
  border-radius: 12px;
  bottom: 16px;
  box-shadow: 0 14px 34px rgba(3, 43, 53, 0.18);
  left: 16px;
  padding: 12px 14px;
  position: absolute;
  right: 16px;
  z-index: 1;
}

.about-visual-card strong,
.about-visual-card span {
  display: block;
}

.about-visual-card strong {
  color: var(--modern-teal);
  font-size: 12px;
  text-transform: uppercase;
}

.about-visual-card span {
  color: var(--modern-ink);
  font-size: 16px;
  font-weight: 800;
}

@media (max-width: 767.98px) {
  .faq-about-section {
    padding: 44px 0;
  }
  .panel-title-row {
    display: block;
  }
  .mini-link {
    margin-top: 10px;
  }
  .faq-panel,
  .about-story-panel {
    padding: 22px;
  }
}
/* Full-width market data tables */
.market-data-section {
  background: #f6f7f8;
  padding: 54px 0 58px;
}

.market-data-section .container {
  display: grid;
  gap: 28px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  max-width: 1280px;
}

.market-data-block + .market-data-block {
  margin-top: 0;
}

.market-data-block,
.market-table-wrap {
  min-width: 0;
}

.market-data-block h2 {
  color: var(--modern-teal);
  font-size: clamp(18px, 1.7vw, 18px);
  font-weight: 800;
  letter-spacing: 0.05em;
  line-height: 1.2;
  margin: 0 0 18px;
  text-align: center;
  text-transform: uppercase;
}

.market-table-wrap {
  overflow-x: auto;
  border-radius: 12px;
}

.market-data-table {
  border-collapse: collapse;
  font-size: 14px;
  line-height: 1.35;
  margin: 0 auto;
  min-width: 0;
  width: 100%;
}

.market-data-table th {
  background: var(--modern-teal);
  border: 1px solid var(--modern-teal);
  color: #fff;
  font-weight: 700;
  padding: 10px;
  text-align: left;
}

.market-data-table td {
  background: #fff;
  border: 1px solid var(--modern-line);
  color: var(--modern-ink);
  padding: 10px;
}

.market-data-table tbody tr:nth-child(even):not(.table-group-row) td {
  background: #f5f7fa;
}

.market-data-table .table-group-row td {
  background: #eef3f5;
  color: var(--modern-ink);
  font-weight: 700;
}

@media (max-width: 767.98px) {
  .market-data-section {
    padding: 44px 0 52px;
  }
  .market-data-section .container {
    grid-template-columns: 1fr;
  }
  .market-data-block + .market-data-block {
    margin-top: 24px;
  }
  .market-data-block h2 {
    margin-bottom: 18px;
  }
  .market-data-table {
    font-size: 15px;
    min-width: 680px;
  }
}
/* Full-width FAQ and organized About layout */
.faq-about-section .container {
  display: block;
  max-width: 1280px !important;
  width: calc(100% - 48px);
}

.faq-panel {
  margin-bottom: 30px;
  width: 100%;
}

.faq-panel .modern-accordion {
  display: grid;
  gap: 12px;
  grid-template-columns: 1fr;
}

.faq-panel .modern-accordion .accordion-item {
  margin-bottom: 0;
}

.about-story-panel {
  grid-template-columns: minmax(0, 1fr) 300px;
  width: 100%;
}

.about-content-grid {
  display: grid;
  gap: 22px;
  grid-template-columns: minmax(0, 1.25fr) minmax(260px, 0.75fr);
}

.about-profile {
  background: #fff;
  border: 1px solid rgba(0, 125, 135, 0.14);
  border-radius: 12px;
  padding: 22px;
}

.about-profile .panel-eyebrow {
  margin-bottom: 12px;
}

.about-highlights {
  align-content: stretch;
  grid-template-columns: 1fr;
  margin: 0;
}

.about-story-visual {
  max-height: none;
  min-height: 100%;
}

@media (max-width: 1199.98px) {
  .about-story-panel {
    grid-template-columns: 1fr;
  }
  .about-story-visual {
    min-height: 300px;
  }
}
@media (max-width: 991.98px) {
  .about-content-grid {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 767.98px) {
  .faq-panel {
    margin-bottom: 22px;
  }
  .about-profile {
    padding: 18px;
  }
}

/* Derivatives/carbon table sections: fees, members, document cards, and table wrappers. */
.clearing-static-section {
  background: radial-gradient(circle at top left, rgba(8, 168, 179, 0.1), transparent 34%), linear-gradient(180deg, #f7fbfc 0%, #fff 100%);
  border-top: 1px solid rgba(0, 125, 135, 0.1);
  margin: 44px calc(50% - 50vw) 0;
  padding: 52px calc(50vw - 50% + 24px) 58px;
}

.clearing-section-heading {
  margin: 0 auto 28px;
  max-width: 880px;
  text-align: center;
}

.clearing-section-heading h2 {
  color: var(--modern-teal);
  font-size: clamp(26px, 3vw, 38px);
  font-weight: 900;
  letter-spacing: 0.09em;
  line-height: 1.16;
  margin: 0;
  text-transform: uppercase;
}

.clearing-section-heading h2::after {
  background: var(--modern-teal-bright);
  border-radius: 999px;
  content: "";
  display: block;
  height: 3px;
  margin: 18px auto 0;
  width: 76px;
}

.clearing-table-wrap {
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(0, 125, 135, 0.14);
  border-radius: 18px;
  box-shadow: 0 20px 50px rgba(7, 44, 54, 0.08);
  overflow-x: auto;
  padding: 12px;
}

.clearing-info-table {
  border-collapse: separate;
  border-spacing: 0;
  font-size: 14px;
  line-height: 1.45;
  min-width: 980px;
  overflow: hidden;
  width: 100%;
}

.clearing-info-table th {
  background: #edf8fa;
  border: 0;
  border-bottom: 1px solid rgba(0, 125, 135, 0.18);
  color: var(--modern-teal);
  font-weight: 900;
  letter-spacing: 0.03em;
  padding: 16px 18px;
  text-align: left;
  text-transform: uppercase;
  vertical-align: middle;
}

.clearing-info-table th:first-child,
.clearing-info-table td:first-child {
  text-align: left;
  width: 72px;
}

.clearing-info-table td {
  background: #fff;
  border: 0;
  border-bottom: 1px solid rgba(0, 125, 135, 0.12);
  color: #0c2530;
  padding: 16px 18px;
  vertical-align: middle;
  text-align: left;
}

.clearing-info-table tbody tr:last-child td {
  border-bottom: 0;
}

.clearing-info-table tbody tr:nth-child(even) td {
  background: #f7fbfc;
}

.clearing-info-table tbody tr:hover td {
  background: #eef9fb;
}

.clearing-info-table td:nth-child(2) {
  color: var(--modern-ink);
  font-weight: 400;
}

.clearing-info-table a {
  align-items: center;
  background: rgba(8, 168, 179, 0.08);
  border: 1px solid rgba(8, 168, 179, 0.18);
  border-radius: 999px;
  color: var(--modern-teal);
  display: inline-flex;
  font-size: 13px;
  font-weight: 800;
  max-width: 100%;
  overflow-wrap: anywhere;
  padding: 7px 12px;
  text-decoration: none;
}

.clearing-info-table a:hover {
  background: var(--modern-teal);
  color: #fff;
}

.clearing-fees-table th:nth-child(2),
.clearing-fees-table td:nth-child(2) {
  width: 290px;
}

.clearing-table-note {
  background: rgba(255, 255, 255, 0.84);
  border: 1px solid rgba(0, 125, 135, 0.14);
  border-radius: 14px;
  color: #314955;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.65;
  margin: 22px auto 0;
  max-width: 940px;
  padding: 16px 20px;
  text-align: center;
}

.clearing-document-section {
  margin-top: 34px;
}

.clearing-document-card {
  align-items: center;
  background: linear-gradient(135deg, rgba(4, 43, 53, 0.96), rgba(0, 125, 135, 0.9)), radial-gradient(circle at top right, rgba(255, 255, 255, 0.16), transparent 38%);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 20px;
  box-shadow: 0 22px 55px rgba(7, 31, 38, 0.16);
  color: #fff;
  display: flex;
  gap: 22px;
  justify-content: space-between;
  overflow: hidden;
  padding: 28px;
  position: relative;
}

.clearing-document-card::before {
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 50%;
  content: "";
  height: 160px;
  position: absolute;
  right: -54px;
  top: -64px;
  width: 160px;
}

.clearing-document-card > * {
  position: relative;
  z-index: 1;
}

.clearing-document-card h2 {
  color: #fff;
  font-size: clamp(22px, 2.2vw, 30px);
  font-weight: 900;
  margin: 6px 0 8px;
}

.clearing-document-card p {
  color: rgba(255, 255, 255, 0.78);
  margin: 0 0 8px;
}

.clearing-document-card strong {
  color: #fff;
  display: block;
  font-size: 16px;
}

.clearing-document-actions {
  display: flex;
  flex: 0 0 auto;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: flex-end;
}

.clearing-document-actions .modern-outline-btn {
  border-color: rgba(255, 255, 255, 0.7);
  color: #fff;
}

.clearing-document-actions .modern-outline-btn:hover {
  background: #fff;
  color: var(--modern-teal);
}

.clearing-members-section {
  margin-top: 34px;
}

.clearing-members-table th:nth-child(2),
.clearing-members-table td:nth-child(2) {
  width: 120px;
}

.clearing-members-table th:nth-child(4),
.clearing-members-table td:nth-child(4) {
  width: 34%;
}

.table-sort-button {
  align-items: center;
  background: transparent;
  border: 0;
  color: inherit;
  cursor: pointer;
  display: inline-flex;
  font: inherit;
  font-weight: 900;
  gap: 8px;
  letter-spacing: inherit;
  padding: 0;
  text-align: inherit;
  text-transform: inherit;
}

.table-sort-button::after {
  border-bottom: 4px solid currentColor;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-top: 4px solid currentColor;
  content: "";
  flex: 0 0 auto;
  height: 12px;
  opacity: 0.72;
  width: 8px;
}

.table-sort-button[data-sort-direction=asc]::after {
  border-bottom: 7px solid currentColor;
  border-top: 0;
  height: 0;
  opacity: 1;
}

.table-sort-button[data-sort-direction=desc]::after {
  border-bottom: 0;
  border-top: 7px solid currentColor;
  height: 0;
  opacity: 1;
}

.table-sort-button[data-sort-direction=asc],
.table-sort-button[data-sort-direction=desc] {
  color: #77f5ff;
}

.table-sort-button:hover,
.table-sort-button:focus-visible {
  color: #77f5ff;
  outline: 0;
}

.table-sort-button:focus-visible {
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;
}

@media (max-width: 767.98px) {
  .clearing-static-section {
    margin-top: 34px;
    padding-bottom: 42px;
    padding-top: 38px;
  }
  .clearing-section-heading h2 {
    font-size: 26px;
    letter-spacing: 0.06em;
  }
  .clearing-table-wrap {
    border-radius: 14px;
    padding: 8px;
  }
  .clearing-info-table {
    font-size: 14px;
    min-width: 820px;
  }
  .clearing-info-table th,
  .clearing-info-table td {
    padding: 14px;
  }
  .clearing-document-card {
    align-items: flex-start;
    flex-direction: column;
    padding: 22px;
  }
  .clearing-document-actions {
    justify-content: flex-start;
    width: 100%;
  }
}
/* Clearing rules reader */

/* Rules panels: PDF actions, language tabs, collapse button, and rule accordions. */
.rules-document-panel {
  text-align: left;
}

.rules-header p {
  margin-bottom: 0;
}

.rules-header a:hover {
  background: var(--modern-teal);
  color: #fff;
}

.rules-collapse-actions {
  display: flex;
  justify-content: center;
  margin: 26px 0 0;
}

.rules-collapse-toggle {
  align-items: center;
  background: var(--modern-teal);
  border: 1px solid var(--modern-teal);
  border-radius: 999px;
  box-shadow: 0 14px 28px rgba(0, 125, 135, 0.18);
  color: #fff;
  display: inline-flex;
  font-size: 13px;
  font-weight: 900;
  gap: 10px;
  letter-spacing: 0.04em;
  min-height: 44px;
  padding: 10px 22px;
  text-transform: uppercase;
}

.rules-collapse-toggle::after {
  border: solid currentColor;
  border-width: 0 2px 2px 0;
  content: "";
  height: 8px;
  transform: rotate(-135deg) translateY(-2px);
  transition: transform 0.22s ease;
  width: 8px;
}

.rules-collapse-toggle:hover,
.rules-collapse-toggle:focus-visible {
  background: #006d76;
  border-color: #006d76;
  color: #fff;
}

.rules-collapse-toggle.is-collapsed {
  background: #fff;
  color: var(--modern-teal);
}

.rules-collapse-toggle.is-collapsed::after {
  transform: rotate(45deg) translateY(-2px);
}

.rules-panel-collapse {
  padding-top: 1px;
}

.rules-tabs {
  background: #f3f8f9;
  border: 1px solid var(--modern-line);
  border-radius: 999px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin: 30px auto;
  max-width: 420px;
  padding: 4px;
}

.rules-tab {
  background: transparent;
  border: 0;
  border-radius: 999px;
  color: var(--modern-ink);
  font-weight: 800;
  min-height: 44px;
  padding: 0 20px;
}

.rules-tab.is-active {
  background: var(--modern-teal);
  box-shadow: 0 12px 24px rgba(0, 125, 135, 0.18);
  color: #fff;
}

.rules-tab-panel {
  display: none;
}

.rules-tab-panel.is-active {
  display: block;
}

.rules-accordion {
  display: grid;
  gap: 12px;
}

.rules-part-label {
  background: linear-gradient(90deg, rgba(0, 125, 135, 0.12), rgba(0, 125, 135, 0.03));
  border: 1px solid rgba(0, 125, 135, 0.16);
  border-radius: 10px;
  color: var(--modern-teal);
  font-size: 16px;
  font-weight: 800;
  margin-top: 10px;
  padding: 16px 18px;
}

.rules-accordion .accordion-item {
  border: 1px solid var(--modern-line);
  border-radius: 10px;
  box-shadow: 0 10px 26px rgba(7, 44, 54, 0.05);
  overflow: hidden;
}

.rules-accordion .accordion-button {
  align-items: center;
  background: #fff;
  color: var(--modern-ink);
  display: flex;
  gap: 18px;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.4;
  padding: 18px 20px;
}

.rules-accordion .accordion-button span {
  color: var(--modern-teal);
  flex: 0 0 auto;
  font-weight: 800;
}

.rules-accordion .accordion-button strong {
  font-weight: 800;
}

.rules-accordion .accordion-button:not(.collapsed) {
  background: #f4fbfc;
  color: var(--modern-teal);
  box-shadow: none;
}

.rules-article-body {
  color: #4f6068;
  font-size: 15px;
  line-height: 1.8;
  padding: 20px;
  white-space: pre-line;
}

.rules-accordion-rtl .accordion-button {
  direction: rtl;
  text-align: right;
}

#rulesArabicPanel .rules-part-label {
  direction: rtl;
  text-align: right;
}

.rules-accordion-rtl .rules-article-body {
  direction: rtl;
  font-size: 16px;
  text-align: right;
  white-space: pre-line;
}

@media (max-width: 767.98px) {
  .rules-header {
    display: block;
  }
  .rules-header .btn {
    margin-top: 18px;
  }
  .rules-tabs {
    margin: 24px 0;
    max-width: none;
  }
  .rules-accordion .accordion-button {
    align-items: flex-start;
    display: block;
  }
  .rules-accordion .accordion-button span {
    display: block;
    margin-bottom: 6px;
  }
}
.risk-example-title {
  color: var(--modern-teal);
  font-size: 16px;
  font-weight: 800;
  margin: 24px 0 12px;
}

.risk-example-table-wrap {
  margin-top: 12px;
  overflow-x: auto;
}

.risk-example-table {
  border-collapse: collapse;
  font-size: 13px;
  line-height: 1.35;
  min-width: 980px;
  width: 100%;
}

.risk-example-table th {
  background: var(--modern-teal);
  border: 1px solid var(--modern-teal);
  color: #fff;
  font-weight: 700;
  padding: 10px;
  text-align: center;
  vertical-align: middle;
}

.risk-example-table td {
  background: #fff;
  border: 1px solid var(--modern-line);
  color: var(--modern-ink);
  padding: 10px;
  text-align: center;
  vertical-align: middle;
}

.risk-example-table tbody tr:nth-child(even) td {
  background: #f5f7fa;
}

.risk-after-table {
  color: #4f6068;
  font-size: 14px;
  line-height: 1.75;
  margin: 18px 0 0;
  white-space: pre-line;
}

@keyframes heroFloatIn {
  from {
    opacity: 0;
    transform: translate3d(0, 26px, 0) scale(0.98);
  }
  to {
    opacity: 1;
    transform: translate3d(0, 0, 0) scale(1);
  }
}
@keyframes softPulse {
  0%, 100% {
    box-shadow: 0 18px 48px rgba(7, 31, 38, 0.08);
  }
  50% {
    box-shadow: 0 24px 64px rgba(0, 126, 135, 0.18);
  }
}
.modern-hero .hero-copy,
.modern-page-hero .container {
  animation: heroFloatIn 0.9s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.modern-hero::after,
.modern-page-hero::after {
  background: linear-gradient(105deg, transparent 25%, rgba(255, 255, 255, 0.22) 45%, transparent 65%);
  content: "";
  inset: 0;
  pointer-events: none;
  position: absolute;
  transform: translateX(-120%);
}

.modern-hero::after {
  animation: heroSweep 3.8s ease-out both;
}

.modern-page-hero::after {
  animation: heroSweep 2.8s ease-out both;
}

@keyframes heroSweep {
  to {
    transform: translateX(120%);
  }
}
.js-reveal {
  opacity: 0;
  transform: translate3d(0, 34px, 0);
  transition: clip-path 0.72s cubic-bezier(0.22, 1, 0.36, 1), filter 0.72s ease, opacity 0.72s ease, transform 0.72s cubic-bezier(0.22, 1, 0.36, 1);
  transition-delay: var(--reveal-delay, 0ms);
  will-change: opacity, transform;
}

.js-reveal.is-visible {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}

.modern-panel,
.modern-card,
.value-card,
.board-card,
.market-table-wrap,
.contact-info-card,
.newsletter-card {
  transition: box-shadow 0.28s ease, border-color 0.28s ease, transform 0.28s ease;
}

.modern-panel:hover,
.modern-card:hover,
.value-card:hover,
.board-card:hover,
.market-table-wrap:hover,
.contact-info-card:hover,
.newsletter-card:hover {
  border-color: rgba(0, 126, 135, 0.28);
  box-shadow: 0 24px 70px rgba(7, 31, 38, 0.13);
  transform: translateY(-6px);
}

.value-card .value-icon,
.team-badge,
.board-card::before,
.btn,
.modern-nav-cta {
  transition: box-shadow 0.28s ease, filter 0.28s ease, transform 0.28s ease;
}

.value-card:hover .value-icon,
.team-card:hover .team-badge {
  box-shadow: 0 16px 36px rgba(0, 126, 135, 0.28);
  transform: translateY(-2px) scale(1.06);
}

.board-card:hover::before {
  animation: softPulse 1.4s ease-in-out infinite;
}

.btn:hover,
.modern-nav-cta:hover {
  filter: saturate(1.08);
  transform: translateY(-1px);
}

.rules-accordion .accordion-item {
  transition: border-color 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease;
}

.rules-accordion .accordion-item:hover {
  border-color: rgba(0, 126, 135, 0.24);
  box-shadow: 0 14px 34px rgba(7, 31, 38, 0.08);
  transform: translateY(-2px);
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.001ms !important;
  }
  .js-reveal {
    opacity: 1;
    transform: none;
  }
}
/* Homepage navigation, resources, and motion refinements */
.modern-header {
  background: rgba(255, 255, 255, 0.88);
  border-bottom: 1px solid rgba(0, 126, 135, 0.08);
  box-shadow: 0 12px 34px rgba(7, 31, 38, 0.08);
  backdrop-filter: blur(18px);
}

.modern-header .navbar {
  padding: 10px 0;
}

.modern-nav {
  padding: 10px 18px;
}

.modern-logo {
  min-width: 144px;
}

.modern-logo img {
  height: 46px;
}

.modern-logo-copy strong {
  font-size: 16px;
}

.modern-logo-copy small {
  font-size: 10px;
}

.modern-nav-links {
  background: #f7fbfc;
  border: 1px solid rgba(0, 126, 135, 0.1);
  border-radius: 999px;
  gap: 2px;
  padding: 5px;
}

.modern-nav-links .nav-link {
  border-radius: 999px;
  font-size: 10px;
  letter-spacing: 0.04em;
  padding: 10px 11px;
}

.modern-nav-links .nav-link::after {
  display: none;
}

.modern-nav-links .nav-link:hover,
.modern-nav-links .nav-link.active {
  background: #fff;
  box-shadow: 0 8px 20px rgba(7, 31, 38, 0.08);
  color: var(--modern-teal-dark);
}

.modern-nav-cta {
  background: linear-gradient(135deg, var(--modern-teal), #005e68);
  border-radius: 999px;
  box-shadow: 0 12px 26px rgba(0, 126, 135, 0.22);
  min-height: 42px;
  padding: 0 18px;
}

.resources-section {
  background: linear-gradient(180deg, #ffffff 0%, #f4fafb 100%);
  padding-top: 34px;
}

.resources-section .resources-panel {
  border: 1px solid rgba(0, 126, 135, 0.14);
  border-radius: 24px;
  box-shadow: 0 24px 70px rgba(7, 31, 38, 0.1);
  padding: clamp(26px, 4vw, 44px);
}

.resources-heading {
  align-items: center;
  display: flex;
  gap: 20px;
  justify-content: flex-start;
  margin-bottom: 26px;
}

.resources-heading h2 {
  margin: 8px 0 0;
}

.resources-section .resources-grid {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.resources-section .document-link {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(244, 251, 252, 0.96));
  border: 1px solid rgba(0, 126, 135, 0.14);
  border-radius: 18px;
  box-shadow: 0 16px 38px rgba(7, 31, 38, 0.08);
  min-height: 118px;
  padding: 22px;
  display: flex;
  justify-content: space-between;
}

.resources-section .document-link strong {
  background: rgba(0, 126, 135, 0.1);
  border-radius: 999px;
  color: var(--modern-teal-dark);
  padding: 8px 12px;
}

.js-reveal.reveal-left {
  transform: translate3d(-42px, 18px, 0);
}

.js-reveal.reveal-right {
  transform: translate3d(42px, 18px, 0);
}

.js-reveal.reveal-zoom {
  transform: translate3d(0, 24px, 0) scale(0.94);
}

.js-reveal.reveal-soft {
  filter: blur(8px);
  transform: translate3d(0, 20px, 0);
}

.js-reveal.is-visible {
  filter: blur(0);
  transform: translate3d(0, 0, 0) scale(1);
}

@media (max-width: 1199.98px) {
  .modern-nav {
    border-radius: 16px;
  }
  .modern-nav-links {
    background: transparent;
    border: 0;
    border-radius: 0;
  }
}
@media (max-width: 991.98px) {
  .resources-section .resources-grid {
    grid-template-columns: 1fr;
  }
  .resources-heading {
    align-items: flex-start;
    flex-direction: column;
  }
}
@media (max-width: 767.98px) {
  .faq-panel .accordion-button {
    padding: 18px;
  }
  .faq-panel .accordion-body {
    padding: 0 18px 20px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .js-reveal,
  .js-reveal.reveal-left,
  .js-reveal.reveal-right,
  .js-reveal.reveal-zoom,
  .js-reveal.reveal-soft {
    filter: none;
    opacity: 1;
    transform: none;
  }
}
/* FAQ roadmap and richer reveal variants */
.faq-panel {
  background: #fff;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  color: var(--modern-ink);
  margin-bottom: 40px;
  overflow: visible;
  padding: clamp(18px, 3vw, 34px) 0;
}

.faq-panel::before {
  display: none;
}

.faq-panel:hover {
  border-color: transparent;
  box-shadow: none;
  transform: none;
}

.faq-roadmap,
.about-roadmap {
  min-width: 0;
}

.faq-roadmap-copy .panel-eyebrow {
  color: var(--modern-teal);
  display: inline-block;
  font-size: 15px;
  font-weight: 800;
  letter-spacing: 0.34em;
  margin-bottom: 26px;
  text-transform: uppercase;
}

.faq-roadmap-copy h2 {
  color: #05090d;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(40px, 4.6vw, 66px);
  font-weight: 800;
  letter-spacing: 0;
  line-height: 1.05;
  margin: 0 0 32px;
}

.faq-roadmap-list {
  display: block;
}

.faq-roadmap-list .faq-step + .faq-step {
  margin-top: clamp(28px, 4vw, 54px);
}

.faq-panel .faq-step {
  background: transparent;
  border: 0;
  box-shadow: none;
  overflow: visible;
}

.faq-panel .faq-step.js-reveal {
  clip-path: none;
  opacity: 1;
  transform: none;
}

.faq-panel .faq-step .accordion-button {
  align-items: center;
  background: transparent;
  box-shadow: none;
  color: #03080c;
  display: grid;
  gap: clamp(22px, 4vw, 22px);
  grid-template-columns: 154px minmax(0, 1fr) 22px;
  padding: 0;
}

.faq-panel .faq-step .accordion-button::after {
  background-color: rgba(0, 126, 135, 0.08);
  border-radius: 50%;
  background-position: center;
  height: 34px;
  justify-self: end;
  width: 34px;
}

.faq-panel .faq-step .accordion-button span {
  background: transparent;
  border: 0;
  color: #07a9b4;
  display: block;
  flex: unset;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(76px, 9vw, 85px);
  font-weight: 500;
  height: auto;
  line-height: 0.82;
  width: auto;
}

.faq-panel .faq-step .accordion-button strong {
  color: #05090d;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(22px, 2vw, 22px);
  font-weight: 800;
  line-height: 1.15;
}

.faq-panel .faq-step .accordion-button:not(.collapsed) {
  background: transparent;
  color: #05090d;
}

.faq-panel .faq-step .accordion-body {
  color: #8c98a1;
  font-size: 18px;
  line-height: 1.9;
  margin-left: calc(154px + clamp(5px, 4vw, 5px));
  max-width: 620px;
  padding: 12px 0 0;
  white-space: pre-line;
}

.faq-roadmap-visual {
  min-height: 520px;
  position: relative;
}

.faq-roadmap-visual img {
  aspect-ratio: 1/1;
  border-radius: 56% 44% 58% 42%/46% 58% 42% 54%;
  box-shadow: 0 28px 90px rgba(7, 31, 38, 0.16);
  height: min(520px, 42vw);
  min-height: 360px;
  -o-object-fit: cover;
  object-fit: cover;
  -o-object-position: center;
  object-position: center;
  position: absolute;
  right: 0%;
  top: 42px;
  width: min(520px, 42vw);
}

.faq-roadmap-visual.js-reveal,
.faq-roadmap-copy.js-reveal,
.about-story-visual.js-reveal,
.about-highlights .js-reveal {
  clip-path: none;
  opacity: 1;
  transform: none;
}

.about-story-panel {
  display: block;
  overflow: visible;
}

.about-story-panel.js-reveal {
  opacity: 1;
  transform: none;
}

.about-story-panel:hover {
  border-color: rgba(0, 126, 135, 0.14);
  box-shadow: 0 22px 60px rgba(0, 126, 135, 0.12);
  transform: none;
}

.about-story-copy > .panel-eyebrow {
  color: var(--modern-teal);
  display: inline-block;
  font-size: 15px;
  font-weight: 800;
  letter-spacing: 0.34em;
  margin-bottom: 18px;
  text-transform: uppercase;
}

.about-story-copy h2 {
  color: var(--modern-teal);
  font-size: clamp(18px, 1.7vw, 18px);
  letter-spacing: 0;
  margin-bottom: 24px;
}

.about-content-grid {
  display: flex;
}

.about-profile,
.about-highlights div {
  border: 1px solid rgba(0, 126, 135, 0.12);
  border-radius: 18px;
  box-shadow: 0 16px 44px rgba(7, 31, 38, 0.08);
}

.about-profile {
  height: 100%;
}

.about-highlights {
  display: flex;
  flex-direction: column;
  gap: 14px;
  height: 100%;
  margin: 0;
}

.about-highlights div {
  flex: 1;
}

.about-story-visual {
  border-radius: 56% 44% 58% 42%/46% 58% 42% 54%;
  height: 420px;
  min-height: 420px;
}

.about-story-visual img {
  display: block;
  height: 100%;
  min-height: 100%;
  -o-object-fit: cover;
  object-fit: cover;
  width: 100%;
}

.faq-roadmap-visual .shape {
  position: absolute;
  z-index: 2;
}

.shape-ring {
  border: 8px solid #50e59b;
  border-radius: 50%;
  height: 112px;
  right: 4%;
  top: 18px;
  width: 112px;
}

.shape-dot {
  background: rgba(0, 126, 135, 0.12);
  border-radius: 50%;
  height: 58px;
  left: 2%;
  top: 88px;
  width: 58px;
}

.shape-square {
  background: #ffe86a;
  height: 22px;
  left: 26%;
  top: 20px;
  width: 22px;
}

.shape-triangle {
  border-bottom: 48px solid rgba(0, 126, 135, 0.58);
  border-left: 25px solid transparent;
  border-right: 25px solid transparent;
  bottom: 100px;
  left: 16%;
}

.faq-roadmap-visual.is-visible .shape-ring,
.faq-roadmap-visual.is-visible .shape-dot,
.faq-roadmap-visual.is-visible .shape-square,
.faq-roadmap-visual.is-visible .shape-triangle {
  animation: shapeDrift 5s ease-in-out infinite;
}

.faq-roadmap-visual.is-visible .shape-dot {
  animation-delay: 0.4s;
}

.faq-roadmap-visual.is-visible .shape-square {
  animation-delay: 0.8s;
}

.faq-roadmap-visual.is-visible .shape-triangle {
  animation-delay: 1.2s;
}

@keyframes shapeDrift {
  0%, 100% {
    transform: translate3d(0, 0, 0) rotate(0deg);
  }
  50% {
    transform: translate3d(0, -14px, 0) rotate(7deg);
  }
}
.js-reveal.reveal-clip {
  clip-path: inset(0 0 100% 0 round 18px);
  transform: translate3d(0, 16px, 0);
}

.js-reveal.reveal-tilt {
  transform: perspective(900px) rotateX(9deg) translate3d(0, 28px, 0);
  transform-origin: center top;
}

.js-reveal.reveal-rise {
  transform: translate3d(0, 56px, 0) scaleY(0.96);
  transform-origin: center bottom;
}

.js-reveal.reveal-clip.is-visible {
  clip-path: inset(0 0 0 0 round 18px);
}

.js-reveal.reveal-tilt.is-visible,
.js-reveal.reveal-rise.is-visible {
  transform: perspective(900px) rotateX(0deg) translate3d(0, 0, 0) scaleY(1);
}

@media (max-width: 991.98px) {
  .faq-roadmap-visual {
    min-height: 420px;
  }
  .faq-roadmap-visual img {
    height: 420px;
    left: 50%;
    right: auto;
    transform: translateX(-50%);
    width: 420px;
  }
  .about-story-copy h2 {
    font-size: 38px;
  }
  .about-story-visual {
    height: 360px;
    min-height: 360px;
  }
}
@media (max-width: 767.98px) {
  .faq-about-section .container {
    padding-left: 16px;
    padding-right: 16px;
    width: 100%;
  }
  .faq-panel,
  .about-story-panel {
    padding: 18px;
  }
  .faq-roadmap,
  .about-roadmap,
  .about-content-grid {
    --bs-gutter-x: 0;
    --bs-gutter-y: 1.75rem;
    margin-left: 0;
    margin-right: 0;
    margin-top: 0;
  }
  .faq-roadmap > *,
  .about-roadmap > *,
  .about-content-grid > * {
    padding-left: 0;
    padding-right: 0;
  }
  .faq-roadmap-copy .panel-eyebrow,
  .about-story-copy > .panel-eyebrow {
    font-size: 11px;
    letter-spacing: 0.18em;
    margin-bottom: 14px;
  }
  .faq-roadmap-copy p,
  .about-story-copy p {
    font-size: 15px;
    line-height: 1.7;
  }
  .faq-panel .faq-step .accordion-button {
    gap: 12px;
    grid-template-columns: 64px minmax(0, 1fr) 28px;
  }
  .faq-panel .faq-step .accordion-button span {
    font-size: 44px;
  }
  .faq-panel .faq-step .accordion-button strong {
    font-size: 18px;
    line-height: 1.25;
  }
  .faq-panel .faq-step .accordion-body {
    font-size: 16px;
    margin-left: 76px;
  }
  .faq-roadmap-visual {
    min-height: 330px;
  }
  .faq-roadmap-visual img {
    height: 320px;
    min-height: 0;
    width: min(320px, 100%);
  }
  .about-story-copy h2 {
    font-size: 32px;
  }
  .about-story-visual {
    height: 300px;
    min-height: 300px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .js-reveal.reveal-clip,
  .js-reveal.reveal-tilt,
  .js-reveal.reveal-rise {
    clip-path: none;
    filter: none;
    opacity: 1;
    transform: none;
  }
  .faq-roadmap-visual .shape {
    animation: none !important;
  }
}
/* Current homepage polish: navbar, hero focus, and team cards */
.modern-header {
  background: rgba(255, 255, 255, 0.92);
  border-bottom: 1px solid rgba(0, 126, 135, 0.12);
  box-shadow: 0 16px 46px rgba(7, 31, 38, 0.1);
  backdrop-filter: blur(18px);
}

.modern-header .navbar {
  min-height: 82px;
  padding: 8px 0;
}

.modern-site {
  padding-top: 82px;
}

.modern-nav {
  border: 1px solid rgba(0, 126, 135, 0.12);
  border-radius: 20px;
  gap: 18px;
  padding: 10px 16px;
}

.modern-logo {
  min-width: 144px;
}

.modern-logo img {
  height: 82px;
}

.modern-nav-links {
  background: #f5fafb;
  border: 1px solid rgba(0, 126, 135, 0.1);
  border-radius: 999px;
  gap: 2px;
  padding: 5px;
}

.modern-nav-links .nav-link {
  border-radius: 999px;
  color: #20313a;
  font-size: 10px;
  letter-spacing: 0.03em;
  line-height: 1.2;
  padding: 10px 11px;
}

.modern-nav-links .nav-link::after {
  display: none;
}

.modern-nav-links .nav-link:hover,
.modern-nav-links .nav-link.active {
  background: #fff;
  box-shadow: 0 8px 20px rgba(7, 31, 38, 0.08);
  color: var(--modern-teal);
}

.modern-nav-cta {
  border-radius: 999px;
  box-shadow: 0 12px 26px rgba(0, 126, 135, 0.22);
  font-size: 10px;
  min-height: 38px;
  padding: 0 16px;
}

.modern-hero,
.modern-hero-content {
  min-height: clamp(560px, 72vh, 760px);
}

.modern-hero-bg {
  background: linear-gradient(90deg, rgba(4, 43, 53, 0.94) 0%, rgba(4, 43, 53, 0.74) 36%, rgba(4, 43, 53, 0.18) 66%, rgba(4, 43, 53, 0.02) 100%), url("../images/hero-banner.png") 72% center/cover no-repeat;
}

.team-section {
  background: radial-gradient(circle at 12% 8%, rgba(0, 126, 135, 0.08), transparent 30%), linear-gradient(180deg, #fff 0%, #f6fbfc 100%);
}

.team-section .section-heading h2 {
  color: var(--modern-teal);
  font-size: clamp(18px, 1.7vw, 56px);
  letter-spacing: 0.04em;
  margin-bottom: 34px;
}

.team-section .row > [class*=col-] {
  display: flex;
}

.team-card {
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid rgba(0, 126, 135, 0.12);
  border-radius: 22px;
  box-shadow: 0 22px 58px rgba(7, 31, 38, 0.1);
  display: flex !important;
  flex-direction: column !important;
  grid-template-columns: none !important;
  min-height: 100%;
  overflow: hidden;
  position: relative;
  width: 100%;
}

.team-card::before {
  background: linear-gradient(90deg, var(--modern-teal), var(--modern-teal-bright));
  content: "";
  height: 4px;
  left: 0;
  position: absolute;
  right: 0;
  top: 0;
}

.team-media {
  height: 250px;
  min-height: 250px;
  overflow: hidden;
  width: 100%;
}

.team-card .team-media img {
  display: block;
  height: 100%;
  -o-object-fit: cover;
  object-fit: cover;
  transform: scale(1.02);
  transition: transform 0.5s ease;
  width: 100%;
}

.team-card:hover .team-media img {
  transform: scale(1.08);
}

.team-badge {
  align-items: center;
  background: linear-gradient(135deg, var(--modern-teal), #035f67);
  border: 6px solid #fff;
  border-radius: 50%;
  box-shadow: 0 14px 32px rgba(0, 126, 135, 0.28);
  color: #fff;
  display: flex;
  height: 68px;
  justify-content: center;
  left: auto;
  right: 26px;
  top: 216px;
  transform: none !important;
  width: 68px;
  z-index: 2;
}

.team-badge svg {
  height: 30px;
  width: 30px;
}

.team-card .card-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  justify-content: flex-start;
  padding: 34px 30px 30px;
}

.team-card h3 {
  color: #071f26;
  font-size: 18px;
  letter-spacing: 0.04em;
  margin-bottom: 14px;
}

.team-card p {
  color: #53636c;
  font-size: 16px;
  line-height: 1.75;
  margin: 0;
}

.team-card:hover {
  border-color: rgba(0, 126, 135, 0.24);
  box-shadow: 0 30px 80px rgba(7, 31, 38, 0.14);
  transform: translateY(-6px);
}

@media (max-width: 1199.98px) {
  .modern-nav {
    border-radius: 18px;
  }
  .modern-nav-links {
    background: transparent;
    border: 0;
    border-radius: 0;
    gap: 0;
    padding: 0;
  }
  .modern-nav-links .nav-link {
    padding: 9px 8px;
  }
}
@media (max-width: 991.98px) {
  .modern-header .navbar-collapse.show,
  .modern-header .navbar-collapse.collapsing {
    background: #fff;
    border: 1px solid rgba(0, 126, 135, 0.12);
    border-radius: 18px;
    box-shadow: 0 18px 44px rgba(7, 31, 38, 0.12);
    margin-top: 12px;
    padding: 12px;
  }
  .modern-nav-links .nav-link,
  .modern-nav-cta {
    justify-content: center;
    min-height: 42px;
    width: 100%;
  }
  .modern-hero-bg {
    background: linear-gradient(90deg, rgba(4, 43, 53, 0.94), rgba(4, 43, 53, 0.44)), url("../images/hero-banner.png") 70% center/cover no-repeat;
  }
  .team-media {
    height: 220px;
    min-height: 220px;
  }
  .team-badge {
    top: 186px;
  }
}
@media (max-width: 767.98px) {
  .modern-header .navbar,
  .modern-header {
    min-height: 76px;
  }
  .modern-site {
    padding-top: 76px;
  }
  .modern-nav {
    border-radius: 0;
    border-left: 0;
    border-right: 0;
    padding: 8px 16px;
  }
  .modern-logo img {
    height: 54px;
  }
  .modern-hero,
  .modern-hero-content {
    min-height: 620px;
  }
  .modern-hero-bg {
    background: linear-gradient(180deg, rgba(4, 43, 53, 0.88), rgba(4, 43, 53, 0.58)), url("../images/hero-banner.png") 74% center/cover no-repeat;
  }
  .hero-copy h1 {
    font-size: 36px;
  }
  .hero-copy p {
    font-size: 16px;
  }
  .hero-kicker {
    font-size: 18px !important;
  }
  .team-card {
    border-radius: 18px;
  }
  .team-media {
    height: 235px;
    min-height: 235px;
  }
  .team-badge {
    height: 60px;
    right: 22px;
    top: 205px;
    width: 60px;
  }
  .team-card .card-body {
    padding: 32px 24px 26px;
  }
}
/* Transparent navbar overlay and scroll state */
body.modern-site:has(.modern-hero) {
  padding-top: 0;
}

.modern-header {
  background: transparent;
  border-bottom-color: transparent;
  box-shadow: none;
  backdrop-filter: none;
  transition: background-color 0.28s ease, border-color 0.28s ease, box-shadow 0.28s ease, backdrop-filter 0.28s ease;
}

.modern-header.is-scrolled,
.modern-header:has(.navbar-collapse.show),
.modern-header:has(.navbar-collapse.collapsing) {
  background: rgba(255, 255, 255, 0.94);
  border-bottom-color: rgba(0, 126, 135, 0.12);
  box-shadow: 0 16px 46px rgba(7, 31, 38, 0.1);
  backdrop-filter: blur(18px);
}

.modern-nav {
  background: transparent;
  border-color: transparent;
  box-shadow: none;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: clamp(16px, 2.3vw, 34px);
  transition: background-color 0.28s ease, border-color 0.28s ease, box-shadow 0.28s ease;
}

.modern-logo {
  grid-column: 1;
  margin: 0;
  min-width: 122px;
}

.modern-header .navbar-toggler {
  justify-self: end;
}

.modern-header .navbar-collapse {
  grid-column: 2;
  justify-self: center;
  width: 100%;
}

.modern-nav-links {
  background: transparent;
  border: 0;
  box-shadow: none;
  display: flex;
  gap: clamp(2px, 0.35vw, 8px);
  justify-content: center;
  padding: 0;
  width: 100%;
}

.modern-nav-links .nav-link {
  color: rgba(255, 255, 255, 0.94);
  font-size: 10px;
  font-weight: 700;
  padding: 11px 10px;
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.42);
}

.modern-nav-links .nav-link:hover,
.modern-nav-links .nav-link.active {
  background: rgba(255, 255, 255, 0.16);
  box-shadow: none;
  color: #fff;
}

.modern-header.is-scrolled .modern-nav-links .nav-link,
.modern-header:has(.navbar-collapse.show) .modern-nav-links .nav-link,
.modern-header:has(.navbar-collapse.collapsing) .modern-nav-links .nav-link {
  color: #20313a;
  text-shadow: none;
}

.modern-header.is-scrolled .modern-nav-links .nav-link:hover,
.modern-header.is-scrolled .modern-nav-links .nav-link.active,
.modern-header:has(.navbar-collapse.show) .modern-nav-links .nav-link:hover,
.modern-header:has(.navbar-collapse.show) .modern-nav-links .nav-link.active,
.modern-header:has(.navbar-collapse.collapsing) .modern-nav-links .nav-link:hover,
.modern-header:has(.navbar-collapse.collapsing) .modern-nav-links .nav-link.active {
  background: #fff;
  box-shadow: 0 8px 20px rgba(7, 31, 38, 0.08);
  color: var(--modern-teal);
}

.modern-nav-button {
  grid-column: 3;
  justify-self: end;
  white-space: nowrap;
}

.modern-nav-cta {
  align-items: center;
  background: var(--modern-teal);
  color: #fff;
  display: inline-flex;
  justify-content: center;
}

.modern-nav-cta:hover {
  background: #05636b;
  color: #fff;
  transform: translateY(-1px);
}

@media (min-width: 1200px) {
  .modern-nav-links .nav-link {
    font-size: 11px;
    padding-inline: 12px;
  }
}
@media (max-width: 1199.98px) and (min-width: 992px) {
  .modern-nav {
    gap: 12px;
    padding-inline: 12px;
  }
  .modern-logo {
    min-width: 106px;
  }
  .modern-logo img {
    height: 82px;
  }
  .modern-nav-links .nav-link {
    font-size: 9px;
    padding-inline: 7px;
  }
  .modern-nav-cta {
    padding-inline: 13px;
  }
}
@media (max-width: 991.98px) {
  body.modern-site:has(.modern-hero) {
    padding-top: 76px;
  }
  .modern-header {
    background: rgba(255, 255, 255, 0.94);
    border-bottom-color: rgba(0, 126, 135, 0.12);
    box-shadow: 0 12px 34px rgba(7, 31, 38, 0.08);
    backdrop-filter: blur(18px);
  }
  .modern-nav {
    display: flex;
    gap: 12px;
  }
  .modern-header .navbar-collapse {
    width: 100%;
  }
  .modern-nav-links {
    align-items: stretch !important;
    justify-content: flex-start;
  }
  .modern-nav-links .nav-link {
    color: #20313a;
    font-size: 12px;
    text-align: center;
    text-shadow: none;
  }
  .modern-nav-button {
    display: none;
  }
  .modern-nav-links::after {
    content: "";
    display: none;
  }
  .modern-header .navbar-collapse.show .modern-nav-links::after,
  .modern-header .navbar-collapse.collapsing .modern-nav-links::after {
    content: "";
  }
}
/* Final navbar transparency override */
body.modern-site:has(.modern-hero) .modern-header:not(.is-scrolled):not(:has(.navbar-collapse.show)):not(:has(.navbar-collapse.collapsing)) {
  background-color: transparent !important;
  background-image: none !important;
  border-bottom-color: transparent !important;
  box-shadow: none !important;
  backdrop-filter: none !important;
}

body.modern-site:has(.modern-hero) .modern-header:not(.is-scrolled):not(:has(.navbar-collapse.show)):not(:has(.navbar-collapse.collapsing)) .modern-nav {
  background-color: transparent !important;
  background-image: none !important;
  border-color: transparent !important;
  box-shadow: none !important;
}

/* Navbar consistency across home and inner pages */
body.modern-site:has(.modern-page-hero) {
  padding-top: 0;
}

body.modern-site:has(.modern-page-hero) .modern-header:not(.is-scrolled):not(:has(.navbar-collapse.show)):not(:has(.navbar-collapse.collapsing)) {
  background-color: transparent !important;
  background-image: none !important;
  border-bottom-color: transparent !important;
  box-shadow: none !important;
  backdrop-filter: none !important;
}

body.modern-site:has(.modern-page-hero) .modern-header:not(.is-scrolled):not(:has(.navbar-collapse.show)):not(:has(.navbar-collapse.collapsing)) .modern-nav {
  background-color: transparent !important;
  background-image: none !important;
  border-color: transparent !important;
  box-shadow: none !important;
}

body.modern-site:has(.modern-page-hero) .modern-header:not(.is-scrolled):not(:has(.navbar-collapse.show)):not(:has(.navbar-collapse.collapsing)) .modern-nav-links .nav-link {
  color: rgba(255, 255, 255, 0.94);
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.42);
}

body.modern-site:has(.modern-page-hero) .modern-header:not(.is-scrolled):not(:has(.navbar-collapse.show)):not(:has(.navbar-collapse.collapsing)) .modern-nav-links .nav-link:hover,
body.modern-site:has(.modern-page-hero) .modern-header:not(.is-scrolled):not(:has(.navbar-collapse.show)):not(:has(.navbar-collapse.collapsing)) .modern-nav-links .nav-link.active {
  background: rgba(255, 255, 255, 0.16);
  color: #fff;
}

@media (max-width: 991.98px) {
  body.modern-site:has(.modern-page-hero) {
    padding-top: 76px;
  }
}
/* Split FAQ and About into separate sections */
.faq-about-section {
  background: #fff;
  padding: 72px 0 56px;
}

.faq-about-section .container,
.about-story-section .container {
  max-width: 1280px !important;
  width: calc(100% - 48px);
}

.faq-about-section .faq-panel {
  margin-bottom: 0;
}

.about-story-section {
  background: #f6f7f8;
  padding: 72px 0;
}

.about-story-section .about-story-panel {
  background: #f6f7f8 !important;
  background-image: none !important;
  border-color: transparent;
  box-shadow: none;
  margin: 0;
  width: 100%;
}

.about-story-section .about-story-panel:hover {
  border-color: transparent;
  box-shadow: none;
}

@media (max-width: 767.98px) {
  .faq-about-section,
  .about-story-section {
    padding: 48px 0;
  }
  .faq-about-section .container,
  .about-story-section .container {
    padding-left: 16px;
    padding-right: 16px;
    width: 100%;
  }
}
/* Premium template-inspired homepage hero */
.template-hero {
  background: #001819;
  min-height: clamp(760px, 100vh, 920px);
  overflow: hidden;
  padding-top: 92px;
  position: relative;
}

.template-hero::before {
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px), linear-gradient(180deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 80px 80px;
  content: "";
  inset: 0;
  opacity: 0.18;
  pointer-events: none;
  position: absolute;
  z-index: 1;
}

.template-hero::after {
  background: radial-gradient(circle at 50% 38%, rgba(0, 169, 181, 0.2), transparent 42%);
  content: "";
  inset: 0;
  pointer-events: none;
  position: absolute;
  z-index: 1;
}

.template-hero .modern-hero-bg {
  background: linear-gradient(90deg, rgba(0, 18, 19, 0.2), rgba(0, 24, 26, 0.2) 46%, rgba(0, 18, 19, 0.3)), linear-gradient(180deg, rgba(0, 0, 0, 0.28), rgba(0, 0, 0, 0.58)), url("../images/hero-banner.png") 72% center/cover no-repeat;
  filter: saturate(0.72) contrast(1.08);
}

.template-hero .modern-hero-content {
  align-items: center;
  justify-content: center;
  min-height: calc(clamp(760px, 100vh, 920px) - 170px);
  padding-bottom: 130px;
  padding-top: 70px;
  text-align: left;
}

.template-hero .hero-copy {
  align-items: center;
  display: flex;
  flex-direction: column;
  margin-inline: auto;
  position: relative;
  z-index: 4;
}

.hero-badge {
  align-items: center;
  background: rgba(0, 126, 135, 0.12);
  border: 1px dashed rgba(255, 255, 255, 0.25);
  border-radius: 7px;
  color: #f7fbfc;
  display: inline-flex;
  font-size: 13px;
  font-weight: 800;
  gap: 8px;
  letter-spacing: 0.08em;
  margin-bottom: 28px;
  padding: 8px 14px;
  text-transform: uppercase;
}

.hero-badge span {
  color: var(--modern-teal-bright);
}

.template-hero .hero-copy h1 {
  color: #fff;
  font-size: clamp(46px, 6.3vw, 50px);
  font-weight: 800;
  letter-spacing: -0.015em;
  line-height: 0.98;
  margin: 0 0 24px;
  max-width: 1030px;
  text-transform: none;
}

.template-hero .hero-kicker {
  color: var(--modern-teal-bright);
  font-size: clamp(22px, 2.1vw, 28px) !important;
  font-weight: 700;
  letter-spacing: 0.05em;
  margin-bottom: 18px;
  text-transform: uppercase;
}

.template-hero .hero-copy p:not(.hero-kicker) {
  color: rgba(255, 255, 255, 0.78);
  font-size: 18px;
  line-height: 1.75;
  margin-bottom: 28px;
  max-width: 720px;
}

.hero-actions {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: center;
  margin-bottom: 72px;
}

.hero-primary-btn,
.hero-secondary-btn {
  align-items: center;
  border-radius: 999px;
  display: inline-flex;
  font-size: 15px;
  font-weight: 800;
  gap: 12px;
  min-height: 56px;
  padding: 0 24px;
}

.hero-primary-btn {
  background: var(--modern-teal);
  color: #fff;
  box-shadow: 0 18px 44px rgba(0, 126, 135, 0.32);
}

.hero-primary-btn span {
  align-items: center;
  background: #04292f;
  border-radius: 50%;
  display: inline-flex;
  height: 38px;
  justify-content: center;
  width: 38px;
}

.hero-secondary-btn {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.32);
  color: #fff;
}

.hero-primary-btn:hover,
.hero-secondary-btn:hover {
  color: #fff;
  transform: translateY(-2px);
}

.hero-feature-row {
  border-bottom: 1px dashed rgba(255, 255, 255, 0.2);
  border-top: 1px dashed rgba(255, 255, 255, 0.2);
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-inline: auto;
  max-width: 860px;
  width: 100%;
}

.hero-feature-item {
  align-items: center;
  border-left: 1px dashed rgba(255, 255, 255, 0.18);
  color: #fff;
  display: grid;
  gap: 2px 14px;
  grid-template-columns: 54px minmax(0, 1fr);
  min-height: 106px;
  padding: 18px 22px;
  text-align: left;
}

.hero-feature-item:first-child {
  border-left: 0;
}

.hero-feature-icon {
  align-items: center;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 50%;
  color: #dff8fa;
  display: inline-flex;
  grid-row: span 2;
  height: 54px;
  justify-content: center;
  width: 54px;
}

.hero-feature-icon svg {
  fill: none;
  height: 26px;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
  width: 26px;
}

.hero-feature-item strong {
  font-size: 17px;
  line-height: 1.2;
}

.hero-feature-item small {
  color: rgba(255, 255, 255, 0.68);
  font-size: 13px;
  line-height: 1.35;
}

.hero-preview {
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 8px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.35);
  height: 210px;
  overflow: hidden;
  position: absolute;
  width: 330px;
  z-index: 2;
}

.hero-preview::after {
  background: linear-gradient(180deg, rgba(0, 126, 135, 0.15), rgba(0, 18, 19, 0.68));
  content: "";
  inset: 0;
  position: absolute;
}

.hero-preview img {
  height: 100%;
  -o-object-fit: cover;
  object-fit: cover;
  width: 100%;
}

.hero-preview-left {
  left: -44px;
}

.hero-preview-right {
  right: -44px;
}

.hero-preview-top {
  top: 34%;
}

.hero-preview-bottom {
  bottom: 84px;
}

.hero-preview-left.hero-preview-bottom {
  width: 360px;
  height: 225px;
}

.hero-preview-right.hero-preview-bottom {
  width: 360px;
  height: 225px;
}

.hero-topic-strip {
  background: var(--modern-teal);
  bottom: 0;
  color: #fff;
  left: 0;
  overflow: hidden;
  position: absolute;
  right: 0;
  z-index: 5;
}

.hero-topic-track {
  align-items: center;
  animation: heroTopicMove 70s linear infinite;
  display: flex;
  gap: clamp(46px, 6vw, 86px);
  min-height: 74px;
  white-space: nowrap;
  width: -moz-max-content;
  width: max-content;
  -webkit-animation: heroTopicMove 70s linear infinite;
}

.hero-topic-track span {
  align-items: center;
  display: inline-flex;
  font-size: clamp(18px, 2vw, 30px);
  font-weight: 800;
  gap: 18px;
}

.hero-topic-track span::before {
  content: "";
  font-size: 16px;
  opacity: 0.92;
}

@keyframes heroTopicMove {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}
.value-strip-secondary {
  display: none;
}

@media (max-width: 1199.98px) {
  .hero-preview {
    opacity: 0.34;
    transform: scale(0.86);
  }
  .hero-preview-left {
    left: -120px;
  }
  .hero-preview-right {
    right: -120px;
  }
}
@media (max-width: 991.98px) {
  .template-hero {
    min-height: 760px;
    padding-top: 76px;
  }
  .template-hero .modern-hero-content {
    min-height: 684px;
    padding-bottom: 100px;
    padding-top: 42px;
  }
  .hero-preview {
    display: none;
  }
  .hero-feature-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    max-width: 620px;
  }
  .hero-feature-item:nth-child(3) {
    border-left: 0;
  }
}
@media (max-width: 575.98px) {
  .template-hero {
    min-height: 820px;
  }
  .template-hero .hero-copy h1 {
    font-size: 42px;
  }
  .template-hero .hero-copy p:not(.hero-kicker) {
    font-size: 16px;
  }
  .hero-actions {
    margin-bottom: 34px;
  }
  .hero-primary-btn,
  .hero-secondary-btn {
    width: 100%;
    justify-content: center;
  }
  .hero-feature-row {
    grid-template-columns: 1fr;
  }
  .hero-feature-item,
  .hero-feature-item:nth-child(3) {
    border-left: 0;
    border-top: 1px dashed rgba(255, 255, 255, 0.18);
    min-height: 86px;
  }
  .hero-feature-item:first-child {
    border-top: 0;
  }
}
/* Mobile tightening for template-inspired hero */
@media (max-width: 575.98px) {
  .template-hero {
    min-height: 780px;
  }
  .template-hero .modern-hero-content {
    min-height: 704px;
    padding-bottom: 92px;
    padding-top: 48px;
  }
  .hero-badge {
    font-size: 11px;
    margin-bottom: 18px;
    padding: 7px 10px;
  }
  .template-hero .hero-copy h1 {
    font-size: 38px;
    line-height: 1.04;
    margin-bottom: 16px;
  }
  .template-hero .hero-kicker {
    font-size: 18px !important;
    margin-bottom: 12px;
  }
  .template-hero .hero-copy p:not(.hero-kicker) {
    font-size: 15px;
    line-height: 1.55;
    margin-bottom: 18px;
  }
  .hero-actions {
    gap: 10px;
    margin-bottom: 24px;
    width: 100%;
  }
  .hero-primary-btn,
  .hero-secondary-btn {
    min-height: 48px;
    width: auto;
  }
  .hero-feature-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .hero-feature-item,
  .hero-feature-item:nth-child(3) {
    border-left: 1px dashed rgba(255, 255, 255, 0.18);
    border-top: 1px dashed rgba(255, 255, 255, 0.18);
    display: flex;
    flex-direction: column;
    gap: 7px;
    min-height: 112px;
    padding: 14px 10px;
    text-align: center;
  }
  .hero-feature-item:nth-child(odd) {
    border-left: 0;
  }
  .hero-feature-item:nth-child(-n+2) {
    border-top: 0;
  }
  .hero-feature-icon {
    height: 42px;
    width: 42px;
  }
  .hero-feature-icon svg {
    height: 21px;
    width: 21px;
  }
  .hero-feature-item strong {
    font-size: 14px;
  }
  .hero-feature-item small {
    font-size: 11px;
  }
  .hero-topic-track {
    min-height: 58px;
  }
  .hero-topic-track span {
    font-size: 18px;
  }
}
/* Alternate About story shape */
.about-story-section {
  background: radial-gradient(circle at 8% 18%, rgba(0, 126, 135, 0.08), transparent 30%), #f6f7f8;
  overflow: hidden;
  position: relative;
}

.about-story-section::before {
  background: linear-gradient(180deg, rgba(0, 126, 135, 0.08), transparent);
  border-radius: 50%;
  content: "";
  height: 520px;
  pointer-events: none;
  position: absolute;
  right: -180px;
  top: 40px;
  width: 520px;
}

.about-story-section .about-story-panel {
  background: transparent !important;
  padding: 0;
  position: relative;
  z-index: 1;
}

.about-story-section .about-roadmap {
  align-items: stretch !important;
  background: transparent;
  --bs-gutter-x: 2rem;
}

.about-story-section .about-story-copy {
  border-radius: 32px 32px 32px 8px;
  box-shadow: 0 28px 80px rgba(7, 31, 38, 0.1);
  padding: clamp(28px, 4vw, 54px);
  position: relative;
  z-index: 2;
}

.about-story-section .about-story-copy::before {
  background: linear-gradient(180deg, var(--modern-teal), var(--modern-teal-bright));
  border-radius: 999px;
  content: "";
  height: 92px;
  left: 0;
  position: absolute;
  top: 54px;
  transform: translateX(-50%);
  width: 8px;
}

.about-story-section .about-story-copy > h2 {
  font-size: clamp(34px, 4vw, 56px);
  letter-spacing: 0.02em;
  margin-bottom: 24px;
}

.about-story-section .about-content-grid {
  align-items: stretch;
}

.about-story-section .about-profile {
  background: linear-gradient(180deg, #ffffff 0%, #f8fbfc 100%);
  border: 0;
  border-radius: 22px;
  box-shadow: inset 0 0 0 1px rgba(0, 126, 135, 0.1);
  height: 100%;
  padding: 18px;
}

.about-story-section .about-profile p {
  color: #44535b;
  font-size: 16px;
  line-height: 1.85;
  margin: 0;
}

.about-story-section .about-highlights {
  display: grid;
  gap: 16px;
  height: 100%;
  margin: 0;
}

.about-story-section .about-highlights div {
  background: #036574;
  border: 0;
  border-radius: 22px;
  box-shadow: 0 18px 44px rgba(0, 31, 36, 0.16);
  color: #fff;
  overflow: hidden;
  padding: 24px;
  position: relative;
}

.about-story-section .about-highlights div::after {
  background: radial-gradient(circle, rgba(0, 169, 181, 0.3), transparent 62%);
  content: "";
  height: 140px;
  position: absolute;
  right: -72px;
  top: -72px;
  width: 140px;
}

.about-story-section .about-highlights strong {
  color: #fff;
  font-size: 15px;
  letter-spacing: 0.08em;
  margin-bottom: 10px;
}

.about-story-section .about-highlights span {
  color: rgba(255, 255, 255, 0.72);
  font-size: 14px;
  line-height: 1.72;
}

.about-story-section .about-story-visual {
  background: #00282e;
  border-radius: 42px 10px 42px 42px;
  box-shadow: 0 34px 90px rgba(0, 31, 36, 0.22);
  height: 100%;
  min-height: 560px;
  overflow: hidden;
  position: relative;
}

.about-story-section .about-story-visual::before {
  border: 1px dashed rgba(255, 255, 255, 0.28);
  border-radius: 34px;
  content: "";
  inset: 20px;
  pointer-events: none;
  position: absolute;
  z-index: 2;
}

.about-story-section .about-story-visual::after {
  background: linear-gradient(180deg, rgba(0, 31, 36, 0.05), rgba(0, 31, 36, 0.74)), radial-gradient(circle at 70% 18%, rgba(0, 169, 181, 0.28), transparent 34%);
  content: "";
  inset: 0;
  position: absolute;
  z-index: 1;
}

.about-story-section .about-story-visual img {
  display: block;
  height: 100%;
  min-height: 100%;
  -o-object-fit: cover;
  object-fit: cover;
  transform: scale(1.04);
  width: 100%;
}

@media (max-width: 1199.98px) {
  .about-story-section .about-story-visual {
    min-height: 380px;
  }
}
@media (max-width: 991.98px) {
  .about-story-section .about-story-copy {
    border-radius: 28px;
  }
  .about-story-section .about-story-copy::before {
    display: none;
  }
  .about-story-section .about-story-visual {
    border-radius: 28px;
    min-height: 340px;
  }
}
@media (max-width: 767.98px) {
  .about-story-section .about-story-copy {
    padding: 24px;
  }
  .about-story-section .about-profile,
  .about-story-section .about-highlights div {
    border-radius: 18px;
    padding: 20px;
  }
  .about-story-section .about-story-visual {
    min-height: 280px;
  }
}
/* News listing page */

/* News pages: listing/detail hero adjustments and listing layout foundations. */
.news-page-hero {
  background: linear-gradient(90deg, rgba(0, 31, 36, 0.92), rgba(0, 70, 78, 0.72)), url("../images/hero-banner.png") 72% center/cover no-repeat;
}

.news-listing-section {
  background: #f6f7f8;
}

.news-listing-section .container {
  max-width: 1280px !important;
  width: calc(100% - 48px);
}

.news-listing-head {
  align-items: end;
  display: flex;
  gap: 30px;
  justify-content: flex-start;
  margin-bottom: 34px;
}

.news-listing-head h2 {
  color: #071f26;
  font-size: clamp(34px, 4vw, 56px);
  font-weight: 800;
  margin: 8px 0 0;
}

.news-listing-head p {
  color: #53636c;
  font-size: 17px;
  line-height: 1.7;
  margin: 0;
  max-width: 470px;
}

.news-grid {
  display: grid;
  gap: 22px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.news-card {
  background: #fff;
  border: 1px solid rgba(0, 126, 135, 0.12);
  border-radius: 20px;
  box-shadow: 0 18px 48px rgba(7, 31, 38, 0.08);
  color: inherit;
  display: flex;
  flex-direction: column;
  min-height: 280px;
  overflow: hidden;
  padding: 26px;
  position: relative;
  text-decoration: none;
  transition: border-color 0.24s ease, box-shadow 0.24s ease, transform 0.24s ease;
}

.news-card::before {
  background: linear-gradient(90deg, var(--modern-teal), var(--modern-teal-bright));
  content: "";
  height: 4px;
  left: 0;
  position: absolute;
  right: 0;
  top: 0;
}

.news-card:hover {
  border-color: rgba(0, 126, 135, 0.28);
  box-shadow: 0 26px 70px rgba(7, 31, 38, 0.13);
  transform: translateY(-5px);
}

.news-card-meta {
  align-items: center;
  color: #6b7c84;
  display: flex;
  font-size: 13px;
  font-weight: 700;
  gap: 10px;
  justify-content: flex-start;
  margin-bottom: 18px;
}

.news-card-meta span {
  background: rgba(0, 126, 135, 0.09);
  border-radius: 999px;
  color: var(--modern-teal);
  padding: 7px 10px 5px;
}

.news-card h3 {
  color: #071f26;
  font-size: 22px;
  font-weight: 800;
  line-height: 1.25;
  margin: 0 0 14px;
}

.news-card p {
  color: #53636c;
  font-size: 15px;
  line-height: 1.75;
  margin: 0 0 22px;
}

.news-card-link {
  color: var(--modern-teal);
  display: inline-flex;
  font-size: 14px;
  font-weight: 800;
  margin-top: auto;
  text-decoration: none;
  text-align: end;
}

.news-card-link::after {
  content: " ->";
}

.news-pagination {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  margin-top: 42px;
}

.news-page-btn {
  align-items: center;
  background: #fff;
  border: 1px solid rgba(0, 126, 135, 0.18);
  border-radius: 999px;
  color: #20313a;
  display: inline-flex;
  font-size: 14px;
  font-weight: 800;
  justify-content: center;
  min-height: 42px;
  min-width: 42px;
  padding: 0 16px;
  transition: background-color 0.22s ease, border-color 0.22s ease, color 0.22s ease, transform 0.22s ease;
}

.news-page-btn:hover:not(:disabled),
.news-page-btn.is-active {
  background: var(--modern-teal);
  border-color: var(--modern-teal);
  color: #fff;
  transform: translateY(-2px);
}

.news-page-btn:disabled {
  cursor: not-allowed;
  opacity: 0.45;
}

@media (max-width: 991.98px) {
  .news-listing-head {
    align-items: start;
    flex-direction: column;
  }
  .news-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 767.98px) {
  .news-listing-section .container {
    width: 100%;
  }
  .news-grid {
    grid-template-columns: 1fr;
  }
  .news-card {
    min-height: auto;
    padding: 22px;
  }
}
/* News detail page */
.news-detail-section {
  background: #f6f7f8;
}

.news-detail-section .container {
  max-width: 980px !important;
  width: calc(100% - 48px);
}

.news-detail-card {
  background: #fff;
  border: 1px solid rgba(0, 126, 135, 0.12);
  border-radius: 28px;
  box-shadow: 0 24px 70px rgba(7, 31, 38, 0.1);
  padding: clamp(28px, 5vw, 64px);
  position: relative;
}

.news-detail-card::before {
  background: linear-gradient(90deg, var(--modern-teal), var(--modern-teal-bright));
  border-radius: 28px 28px 0 0;
  content: "";
  height: 6px;
  left: 0;
  position: absolute;
  right: 0;
  top: 0;
}

.news-back-link {
  color: var(--modern-teal);
  display: inline-flex;
  font-size: 14px;
  font-weight: 800;
  margin-bottom: 26px;
  text-decoration: none;
}

.news-back-link::before {
  content: "<- ";
}

.news-detail-meta {
  align-items: center;
  color: #6b7c84;
  display: flex;
  flex-wrap: wrap;
  font-size: 14px;
  font-weight: 700;
  gap: 14px;
  margin-bottom: 18px;
}

.news-detail-meta span {
  background: rgba(0, 126, 135, 0.09);
  border-radius: 999px;
  color: var(--modern-teal);
  padding: 8px 12px 6px;
}

.news-detail-card h2 {
  color: #071f26;
  font-size: clamp(34px, 5vw, 58px);
  font-weight: 800;
  line-height: 1.08;
  margin: 0 0 28px;
}

.news-detail-body {
  border-top: 1px solid rgba(0, 126, 135, 0.12);
  padding-top: 48px;
}

.news-detail-body p {
  color: #44535b;
  font-size: 18px;
  line-height: 1.9;
  margin: 0 0 20px;
}

@media (max-width: 767.98px) {
  .news-detail-section .container {
    width: 100%;
  }
  .news-detail-card {
    border-radius: 22px;
  }
  .news-detail-body p {
    font-size: 16px;
  }
}
.contract-code-button {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  background: rgba(0, 126, 135, 0.08);
  border: 1px solid rgba(0, 126, 135, 0.24);
  border-radius: 999px;
  color: #fff;
  cursor: pointer;
  font: inherit;
  font-weight: 800;
  line-height: 1;
  padding: 8px 12px;
  transition: background-color 0.22s ease, border-color 0.22s ease, color 0.22s ease, transform 0.22s ease;
  font-family: "Inter", "Segoe UI", Arial, sans-serif;
  letter-spacing: 0;
  font-variant-numeric: tabular-nums;
  font-feature-settings: "tnum";
}

.contract-code-button:hover,
.contract-code-button:focus-visible {
  background: var(--modern-teal);
  border-color: var(--modern-teal);
  color: #fff;
  outline: 0;
  transform: translateY(-1px);
}

.contract-details-modal .modal-content {
  border: 1px solid rgba(0, 126, 135, 0.18);
  border-radius: 14px;
  box-shadow: 0 22px 70px rgba(7, 31, 38, 0.2);
  overflow: hidden;
}

.contract-details-modal .modal-header {
  align-items: flex-start;
  background: linear-gradient(135deg, #02363e 0%, #007e87 100%);
  border: 0;
  color: #fff;
  padding: 18px 24px;
}

.contract-details-modal .btn-close {
  filter: invert(1) grayscale(1) brightness(2);
  opacity: 0.9;
}

.contract-modal-kicker {
  color: rgba(255, 255, 255, 0.72);
  display: block;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.14em;
  margin-bottom: 4px;
  text-transform: uppercase;
}

.contract-details-modal .modal-title {
  font-size: clamp(21px, 2.4vw, 28px);
  font-weight: 800;
  line-height: 1.15;
  margin: 0;
}

.contract-details-modal .modal-body {
  background: #f6f7f8;
  padding: 18px;
}

.contract-details-grid {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.contract-detail-card {
  background: #fff;
  border: 1px solid var(--modern-line);
  border-radius: 10px;
  box-shadow: 0 10px 24px rgba(7, 31, 38, 0.05);
  overflow: hidden;
}

.contract-detail-card h3 {
  background: #eef7f8;
  color: var(--modern-teal);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.05em;
  margin: 0;
  padding: 10px 14px;
  text-transform: uppercase;
}

.contract-detail-card dl {
  margin: 0;
}

.contract-detail-row {
  display: grid;
  gap: 10px;
  grid-template-columns: minmax(150px, 180px) minmax(0, 1fr);
  padding: 8px 14px;
}

.contract-detail-row + .contract-detail-row {
  border-top: 1px solid var(--modern-line);
}

.contract-detail-row dt,
.contract-detail-row dd {
  margin: 0;
}

.contract-detail-row dt {
  color: #667782;
  font-weight: 700;
}

.contract-detail-row dd {
  color: var(--modern-ink);
  font-weight: 700;
  overflow-wrap: anywhere;
}

@media (max-width: 991.98px) {
  .contract-details-grid {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 575.98px) {
  .contract-details-modal .modal-header,
  .contract-details-modal .modal-body {
    padding: 18px 14px;
  }
  .contract-detail-row {
    grid-template-columns: 1fr;
    gap: 3px;
  }
}
.contract-details-accordion {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.contract-details-accordion .contract-detail-card {
  background: #fff;
  border: 1px solid var(--modern-line);
  border-radius: 10px;
  box-shadow: 0 8px 22px rgba(7, 31, 38, 0.05);
  overflow: hidden;
}

.contract-details-accordion .accordion-header {
  margin: 0;
}

.contract-details-accordion .accordion-button {
  align-items: center;
  background: #eef7f8;
  box-shadow: none;
  color: var(--modern-teal);
  display: flex;
  font-size: 14px;
  font-weight: 800;
  gap: 12px;
  justify-content: flex-start;
  letter-spacing: 0.05em;
  min-height: 46px;
  padding: 10px 14px;
  text-transform: uppercase;
}

.contract-details-accordion .accordion-button:not(.collapsed) {
  color: var(--modern-teal);
}

.contract-details-accordion .accordion-button::after {
  flex: 0 0 auto;
  margin-left: 10px;
}

.contract-detail-title {
  min-width: 0;
}

.contract-details-accordion .accordion-body {
  background: #fff;
  padding: 0;
}

.contract-details-accordion dl {
  margin: 0;
}

.contract-details-accordion .contract-detail-row {
  grid-template-columns: minmax(150px, 180px) minmax(0, 1fr);
  padding: 9px 14px;
}

.contract-details-accordion .contract-detail-row {
  align-items: center;
  min-height: 0;
  padding: 7px 14px;
}

.contract-details-accordion .contract-detail-row dt,
.contract-details-accordion .contract-detail-row dd {
  font-size: 14px;
  line-height: 1.25;
}

.contract-details-accordion .contract-detail-row dt {
  color: #5c6f79;
}

.contract-details-accordion .contract-detail-row dd {
  color: #06151d;
}

.contract-details-accordion dl {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.contract-details-accordion .contract-detail-row {
  border-top: 1px solid var(--modern-line);
  grid-template-columns: minmax(150px, 180px) minmax(0, 1fr);
}

.contract-details-accordion .contract-detail-row + .contract-detail-row {
  border-top: 1px solid var(--modern-line);
}

.contract-details-accordion .contract-detail-row:nth-child(1),
.contract-details-accordion .contract-detail-row:nth-child(2) {
  border-top: 0;
}

.contract-details-accordion .contract-detail-row:nth-child(odd) {
  border-right: 1px solid var(--modern-line);
}

.contract-details-accordion .accordion-button::after {
  margin-left: auto;
}

@media (max-width: 575.98px) {
  .contract-details-accordion dl {
    grid-template-columns: 1fr;
  }
  .contract-details-accordion .contract-detail-row:nth-child(2) {
    border-top: 1px solid var(--modern-line);
  }
  .contract-details-accordion .contract-detail-row:nth-child(odd) {
    border-right: 0;
  }
}
.contract-details-accordion .accordion-body > div {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin: 0;
  padding: 8px;
}

.contract-details-accordion .contract-detail-row,
.contract-details-accordion .contract-detail-row + .contract-detail-row,
.contract-details-accordion .contract-detail-row:nth-child(odd),
.contract-details-accordion .contract-detail-row:nth-child(1),
.contract-details-accordion .contract-detail-row:nth-child(2) {
  border: 0;
}

.contract-details-accordion .contract-detail-row {
  align-items: start;
  background: transparent;
  display: grid;
  gap: 8px;
  grid-template-columns: minmax(140px, 0.38fr) minmax(0, 0.62fr);
  min-height: 0;
  padding: 7px 10px;
}

.contract-detail-label,
.contract-detail-value {
  display: block;
  font-size: 14px;
  line-height: 1.35;
  font-family: "Inter", "Segoe UI", Arial, sans-serif;
  font-variant-numeric: tabular-nums;
  font-feature-settings: "tnum";
}

.contract-detail-label {
  color: #637783;
  font-weight: 700;
}

.contract-detail-value {
  color: #06151d;
  font-weight: 800;
  overflow-wrap: anywhere;
}

@media (max-width: 575.98px) {
  .contract-details-accordion .accordion-body > div {
    grid-template-columns: 1fr;
  }
  .contract-details-accordion .contract-detail-row {
    grid-template-columns: 1fr;
    gap: 3px;
  }
}
/* Dark dashboard Market Data redesign */
.market-dashboard-section {
  background: radial-gradient(circle at 78% 14%, rgba(9, 169, 180, 0.16) 0 12%, transparent 36%), linear-gradient(135deg, #062c31 0%, #06464d 46%, #04252a 100%);
  color: #fff;
  overflow: hidden;
  padding: clamp(70px, 7vw, 104px) 0 clamp(72px, 7vw, 108px);
  position: relative;
}

.market-dashboard-section::before,
.market-dashboard-section::after {
  border: 1px solid rgba(9, 169, 180, 0.18);
  border-radius: 50%;
  content: "";
  height: 720px;
  position: absolute;
  right: -170px;
  top: -300px;
  width: 720px;
}

.market-dashboard-section::after {
  height: 520px;
  opacity: 0.65;
  right: 70px;
  top: -200px;
  width: 520px;
}

.market-wave-layer {
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  position: absolute;
}

.market-wave-layer span {
  animation: marketWaveDrift 18s linear infinite;
  background: linear-gradient(90deg, transparent, rgba(9, 169, 180, 0.45), transparent);
  height: 1px;
  left: -15%;
  opacity: 0.55;
  position: absolute;
  transform: rotate(-7deg);
  width: 70%;
}

.market-wave-layer span:nth-child(1) {
  bottom: 14%;
}

.market-wave-layer span:nth-child(2) {
  animation-duration: 23s;
  bottom: 20%;
  left: 12%;
  opacity: 0.34;
  width: 55%;
}

.market-wave-layer span:nth-child(3) {
  animation-duration: 28s;
  bottom: 8%;
  left: 48%;
  opacity: 0.28;
  width: 48%;
}

@keyframes marketWaveDrift {
  0% {
    transform: translate3d(-18%, 0, 0) rotate(-7deg);
  }
  100% {
    transform: translate3d(42%, -18px, 0) rotate(-7deg);
  }
}
.market-dashboard-section .container,
.market-dashboard-heading {
  position: relative;
  z-index: 1;
}

.market-dashboard-heading {
  align-items: flex-start;
  margin: 0 auto 28px;
  max-width: 1280px;
  padding: 0 24px;
  text-align: left;
}

.market-dashboard-heading .section-kicker {
  color: #20c4ce;
  display: inline-block;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.18em;
  margin-bottom: 12px;
  text-transform: uppercase;
}

.market-dashboard-heading h2 {
  color: #fff;
  font-size: clamp(38px, 5vw, 64px);
  letter-spacing: 0.02em;
  line-height: 0.96;
  margin: 0;
  text-align: left;
}

.market-dashboard-heading p {
  color: rgba(231, 249, 250, 0.78);
  font-size: clamp(17px, 1.55vw, 22px);
  margin: 12px 0 0;
  max-width: 760px;
}

.market-kpi-row {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin-top: 34px;
}

.market-kpi-card {
  backdrop-filter: blur(12px);
  background: rgba(13, 113, 121, 0.55);
  border: 1px solid rgba(116, 226, 233, 0.25);
  border-radius: 16px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08), 0 18px 42px rgba(0, 0, 0, 0.16);
  min-width: min(190px, 100%);
  padding: 20px 22px 18px;
}

.market-kpi-card span {
  color: rgba(232, 255, 255, 0.72);
  display: block;
  font-size: 15px;
  margin-bottom: 8px;
}

.market-kpi-card strong {
  color: #fff;
  display: block;
  font-size: 42px;
  font-weight: 800;
  line-height: 1;
}

.market-dashboard-section .container {
  align-items: start;
  gap: clamp(32px, 5vw, 72px);
}

.market-dashboard-section .market-data-block h2 {
  color: #07a9b4;
  font-size: clamp(22px, 2.1vw, 28px);
  letter-spacing: 0.08em;
  margin-bottom: 20px;
  text-align: left;
}

.market-dashboard-section .market-table-wrap {
  background: rgba(241, 252, 253, 0.96);
  border: 1px solid rgba(105, 218, 225, 0.22);
  border-radius: 14px;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.2);
  overflow: hidden;
}

.market-dashboard-section .market-data-table {
  background: #fff;
  font-size: 17px;
}

.market-dashboard-section .market-data-table th {
  background: #07898d;
  border-color: #07898d;
  color: #fff;
  font-size: 16px;
  letter-spacing: 0.02em;
  padding: 18px 24px;
}

.market-dashboard-section .market-data-table td {
  border-color: rgba(0, 126, 135, 0.18);
  color: #071c22;
  padding: 16px 24px;
}

.market-dashboard-section .market-data-table tbody tr:nth-child(even):not(.table-group-row) td {
  background: #f3fafb;
}

.market-dashboard-section .market-data-table .table-group-row td {
  background: #e7f3f5;
  color: #071c22;
  font-size: 17px;
  font-weight: 800;
  letter-spacing: 0.02em;
}

.market-dashboard-section .contract-code-button {
  background: #dcf5f7;
  border-color: rgba(7, 169, 180, 0.42);
  color: #007e87;
  font-size: 17px;
  padding: 9px 16px;
}

.market-row-animate {
  opacity: 0;
  transform: translate3d(var(--market-row-x, -36px), 0, 0);
  transition: opacity 0.62s ease, transform 0.72s cubic-bezier(0.22, 1, 0.36, 1);
  transition-delay: var(--market-row-delay, 0ms);
}

.market-row-animate.market-row-from-right {
  --market-row-x: 36px;
}

.market-dashboard-section.is-visible .market-row-animate {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}

@media (max-width: 991.98px) {
  .market-dashboard-section .container {
    grid-template-columns: 1fr;
  }
  .market-dashboard-section .market-data-block h2,
  .market-dashboard-heading,
  .market-dashboard-heading h2 {
    text-align: left;
  }
}
@media (max-width: 767.98px) {
  .market-dashboard-heading {
    padding: 0 18px;
  }
  .market-kpi-row {
    gap: 12px;
  }
  .market-kpi-card {
    flex: 1 1 140px;
    min-width: 0;
    padding: 16px;
  }
  .market-kpi-card strong {
    font-size: 34px;
  }
  .market-dashboard-section .market-data-table {
    min-width: 760px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .market-wave-layer span,
  .market-row-animate {
    animation: none !important;
    opacity: 1;
    transform: none !important;
    transition: none !important;
  }
}
.market-dashboard-section .market-table-wrap {
  overflow-x: hidden;
}

@media (max-width: 767.98px) {
  .market-dashboard-section .market-table-wrap {
    overflow-x: auto;
  }
}
/* Footer spacing refinement */
.modern-footer {
  padding: 22px 0;
}

.modern-footer .footer-inner {
  gap: 28px;
  justify-content: flex-start;
  padding-left: 24px;
  padding-right: 24px;
}

.modern-footer img {
  flex: 0 0 auto;
  height: 44px;
}

.modern-footer p {
  color: rgba(216, 238, 241, 0.88);
  font-size: 14px;
  line-height: 1.45;
}

@media (max-width: 767.98px) {
  .modern-footer {
    padding: 18px 0;
  }
  .modern-footer .footer-inner {
    align-items: center;
    gap: 10px;
    padding-left: 18px;
    padding-right: 18px;
    text-align: center;
  }
  .modern-footer img {
    height: 38px;
  }
  .modern-footer p {
    font-size: 12px;
    line-height: 1.45;
    max-width: 320px;
  }
}
.modern-footer .footer-inner {
  justify-content: center;
} 
/* Combined hero + market data redesign */
.template-hero {
  min-height: clamp(740px, 100vh, 900px) !important;
}

.template-hero .modern-hero-content {
  align-items: start !important;
  display: grid !important;
  gap: clamp(32px, 5vw, 76px) !important;
  grid-template-columns: minmax(0, 0.98fr) minmax(360px, 0.72fr) !important;
  justify-content: stretch !important;
  min-height: calc(clamp(740px, 100vh, 900px) - 150px) !important;
  padding-bottom: 108px !important;
  padding-top: 118px !important;
}

.template-hero .hero-copy {
  align-items: flex-start !important;
  margin-inline: 0 !important;
  text-align: left !important;
}

.template-hero .hero-copy h1 {
  font-size: clamp(48px, 5.2vw, 50px) !important;
  line-height: 1 !important;
  max-width: 760px !important;
}

.template-hero .hero-copy p:not(.hero-kicker) {
  max-width: 680px !important;
}

.template-hero .hero-actions {
  justify-content: flex-start !important;
  margin-bottom: 0 !important;
}

/* Hero market data panel: KPI cards, contracts table, date pill, and calculator CTA. */
.hero-market-panel {
  backdrop-filter: blur(22px);
  background: transparent;
  border: 1px solid rgba(111, 233, 240, 0.22);
  border-radius: 24px;
  box-shadow: 0 34px 90px rgba(0, 0, 0, 0.34);
  color: #fff;
  overflow: hidden;
  padding: clamp(20px, 2.6vw, 34px);
  position: relative;
  z-index: 4;
}

.hero-market-panel::before {
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px), linear-gradient(180deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 44px 44px;
  content: "";
  inset: 0;
  opacity: 0.24;
  pointer-events: none;
  position: absolute;
}

.hero-market-panel > * {
  position: relative;
  z-index: 1;
}

.hero-market-panel-head {
  align-items: flex-start;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 22px;
}

.hero-market-panel-head span,
.hero-market-table-title span,
.hero-market-kpis span {
  color: rgba(221, 251, 252, 0.72);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero-market-panel-head strong {
  color: var(--modern-teal-bright);
  font-size: 15px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero-market-kpis {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-bottom: 24px;
}

.hero-market-kpis div {
  background: transparent;
  border: 1px solid rgba(137, 236, 242, 0.18);
  border-radius: 16px;
  padding: 14px 12px;
}

.hero-market-kpis strong {
  color: #fff;
  display: block;
  font-size: clamp(26px, 3vw, 40px);
  font-weight: 800;
  line-height: 1;
  margin-top: 8px;
}

.hero-market-table-wrap {
  background: transparent;
  border: 1px solid rgba(133, 229, 235, 0.24);
  border-radius: 18px;
  color: #fff;
  overflow: hidden;
}

.hero-market-table-title {
  align-items: center;
  background: transparent;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 16px;
}

.hero-market-table-title span {
  color: #fff;
}

.hero-market-table-title a {
  color: #fff;
  font-size: 13px;
  font-weight: 800;
  text-decoration: none;
}

.hero-market-table {
  border-collapse: collapse;
  font-size: 14px;
  margin: 0;
  width: 100%;
}

.hero-market-table th,
.hero-market-table td {
  border-top: 1px solid rgba(0, 126, 135, 0.12);
  padding: 12px 16px;
  vertical-align: middle;
}

.hero-market-table th {
  color: #007e87;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.hero-market-table td {
  color: #fff;
  font-weight: 800;
}

.hero-preview {
  opacity: 0.14 !important;
  z-index: 1 !important;
}

@media (max-width: 1199.98px) {
  .template-hero .modern-hero-content {
    grid-template-columns: 1fr !important;
    padding-top: 94px !important;
  }
  .template-hero .hero-copy {
    align-items: center !important;
    margin-inline: auto !important;
    text-align: center !important;
  }
  .template-hero .hero-actions {
    justify-content: center !important;
  }
  .hero-market-panel {
    margin-inline: auto;
    max-width: 760px;
    width: 100%;
  }
}
@media (max-width: 767.98px) {
  .template-hero {
    min-height: auto !important;
  }
  .template-hero .modern-hero-content {
    min-height: 0 !important;
    padding-bottom: 88px !important;
    padding-top: 46px !important;
  }
  .hero-market-kpis {
    grid-template-columns: 1fr;
  }
  .hero-market-table {
    font-size: 12px;
  }
  .hero-market-table th,
  .hero-market-table td {
    padding: 10px 8px;
  }
}
/* Compact combined hero sizing */
.template-hero {
  min-height: clamp(620px, 84vh, 760px) !important;
}

.template-hero .modern-hero-content {
  min-height: calc(clamp(620px, 84vh, 760px) - 118px) !important;
  padding-bottom: 86px !important;
  padding-top: 94px !important;
  margin-left: 70px;
  margin-right: 70px;
}

.template-hero .hero-copy h1 {
  font-size: clamp(42px, 4.6vw, 46px) !important;
  margin-bottom: 18px !important;
}

.template-hero .hero-kicker {
  font-size: clamp(18px, 1.7vw, 22px) !important;
  margin-bottom: 12px !important;
}

.template-hero .hero-copy p:not(.hero-kicker) {
  font-size: 16px !important;
  line-height: 1.6 !important;
  margin-bottom: 20px !important;
}

.hero-badge {
  margin-bottom: 18px !important;
}

.hero-primary-btn,
.hero-secondary-btn {
  min-height: 50px !important;
}

.hero-primary-btn span {
  height: 34px !important;
  width: 34px !important;
}

.hero-market-panel {
  padding: clamp(18px, 2vw, 26px) !important;
}

.hero-market-panel-head {
  margin-bottom: 16px !important;
}

.hero-market-kpis {
  margin-bottom: 18px !important;
}

.hero-market-kpis div {
  padding: 12px 10px !important;
}

.hero-market-kpis strong {
  font-size: clamp(24px, 2.4vw, 34px) !important;
}

.hero-market-table th,
.hero-market-table td {
  padding: 10px 14px !important;
}

.hero-topic-track {
  min-height: 58px !important;
}

.hero-topic-track span {
  font-size: clamp(16px, 1.6vw, 24px) !important;
}

@media (max-width: 1199.98px) {
  .template-hero .modern-hero-content {
    padding-top: 72px !important;
    margin-left: 70px;
    margin-right: 70px;
  }
}
@media (max-width: 767.98px) {
  .template-hero .modern-hero-content {
    padding-bottom: 76px !important;
    padding-top: 34px !important;
    margin-left: 30px;
    margin-right: 30px;
  }
}
/* Hero ticker update: market IM and prices, no preview images */
.hero-preview {
  display: none !important;
}

/* Hero ticker: scrolling contract chips, trend states, hover highlight, and empty-state styling. */
.hero-market-ticker {
  background: linear-gradient(90deg, #007e87 0%, #049aa5 48%, #00656d 100%) !important;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
}

.hero-market-ticker .hero-topic-track {
  gap: clamp(28px, 4vw, 54px) !important;
  min-height: 54px !important;
}

.hero-market-ticker .hero-topic-track span {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  color: #fff;
  font-size: clamp(13px, 1.2vw, 17px) !important;
  font-weight: 800;
  gap: 10px !important;
  padding: 8px 14px;
  white-space: nowrap;
}

.hero-market-ticker .hero-topic-track span::before {
  color: #dffbff;
  content: "IM" !important;
  font-size: 11px !important;
  font-weight: 900;
  opacity: 1 !important;
}

@media (max-width: 767.98px) {
  .hero-market-ticker .hero-topic-track {
    min-height: 50px !important;
  }
  .hero-market-ticker .hero-topic-track span {
    font-size: 12px !important;
    padding: 7px 11px;
  }
}
/* Stock-market style hero ticker */
.hero-market-ticker {
  background: linear-gradient(90deg, rgba(0, 17, 20, 0.96), rgba(0, 84, 91, 0.96) 45%, rgba(0, 17, 20, 0.96)) !important;
  border-top: 1px solid rgba(110, 238, 246, 0.2);
  box-shadow: 0 -18px 44px rgba(0, 0, 0, 0.22);
}

.hero-market-ticker::before,
.hero-market-ticker::after {
  content: "";
  pointer-events: none;
  position: absolute;
  top: 0;
  bottom: 0;
  width: 120px;
  z-index: 2;
}

.hero-market-ticker::before {
  left: 0;
  background: linear-gradient(90deg, #001114, rgba(0, 17, 20, 0));
}

.hero-market-ticker::after {
  right: 0;
  background: linear-gradient(270deg, #001114, rgba(0, 17, 20, 0));
}

.hero-market-ticker .hero-topic-track {
  animation-duration: 70s !important;
  gap: 12px !important;
  min-height: 58px !important;
  padding-inline: 18px;
}

.hero-market-ticker .hero-topic-track span {
  align-items: center;
  background: rgba(255, 255, 255, 0.045) !important;
  border: 1px solid rgba(118, 233, 240, 0.2) !important;
  border-radius: 6px !important;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.07);
  color: #eaffff !important;
  display: inline-flex;
  font-family: "Josefin Sans", sans-serif;
  font-size: clamp(12px, 1vw, 15px) !important;
  font-weight: 800 !important;
  gap: 10px !important;
  letter-spacing: 0.02em;
  min-height: 38px;
  padding: 8px 12px !important;
  position: relative;
  text-transform: uppercase;
}

.hero-market-ticker .hero-topic-track span::before {
  background: rgba(37, 225, 193, 0.12);
  border: 1px solid rgba(37, 225, 193, 0.35);
  border-radius: 4px;
  color: #62ffe8;
  content: "LIVE" !important;
  font-size: 9px !important;
  font-weight: 900;
  letter-spacing: 0.08em;
  line-height: 1;
  padding: 4px 5px;
}

.hero-market-ticker .hero-topic-track span::after {
  color: #62ffe8;
  content: "";
  font-size: 10px;
  line-height: 1;
  opacity: 0.9;
}

@media (max-width: 767.98px) {
  .hero-market-ticker::before,
  .hero-market-ticker::after {
    width: 52px;
  }
  .hero-market-ticker .hero-topic-track {
    gap: 8px !important;
    min-height: 52px !important;
    padding-inline: 10px;
  }
  .hero-market-ticker .hero-topic-track span {
    font-size: 11px !important;
    min-height: 34px;
    padding: 7px 9px !important;
  }
}
/* Refined market ticker text structure */
.hero-market-ticker .hero-topic-track span {
  gap: 8px !important;
}

.hero-market-ticker .hero-topic-track span b {
  color: #ffffff;
  font-size: 1em;
  font-weight: 900;
  letter-spacing: 0.04em;
  font-family: "Inter", "Segoe UI", Arial, sans-serif;
  font-variant-numeric: tabular-nums;
  font-feature-settings: "tnum";
}

.hero-market-ticker .hero-topic-track span small {
  background: rgba(98, 255, 232, 0.12);
  border: 1px solid rgba(98, 255, 232, 0.28);
  border-radius: 4px;
  color: #62ffe8;
  font-size: 9px;
  font-weight: 900;
  letter-spacing: 0.08em;
  line-height: 1;
  padding: 4px 5px;
}

.hero-market-ticker .hero-topic-track span em {
  color: #dffbff;
  font-style: normal;
  font-weight: 800;
}

.hero-market-ticker .hero-topic-track span::before {
  content: "CONTRACT" !important;
}

@media (max-width: 767.98px) {
  .hero-market-ticker .hero-topic-track span {
    gap: 6px !important;
  }
  .hero-market-ticker .hero-topic-track span small {
    font-size: 8px;
    padding: 3px 4px;
  }
}
/* Hero market snapshot IM column refinement */
.hero-market-table td:nth-child(2) {
  color: #fff;
  font-weight: 800;
}

.hero-market-table th,
.hero-market-table td {
  padding-inline: 10px !important;
}

@media (max-width: 575.98px) {
  .hero-market-table {
    font-size: 11px !important;
  }
  .hero-market-table th,
  .hero-market-table td {
    padding-inline: 5px !important;
  }
}
/* Hero contracts table replaces standalone market data section */
.hero-market-panel {
  max-height: none !important;
}

.hero-market-table-title {
  justify-content: flex-start !important;
}

.hero-market-table {
  font-size: 13px !important;
}

.hero-market-table th,
.hero-market-table td {
  padding-block: 9px !important;
}

@media (min-width: 1200px) {
  .hero-market-panel {
    align-self: start;
  }
}
@media (max-width: 767.98px) {
  .hero-market-table-wrap {
    overflow-x: auto;
  }
  .hero-market-table {
    min-width: 520px;
  }
}
/* Responsive hero contracts table fix */
.hero-market-table {
  table-layout: fixed;
}

.hero-market-table th,
.hero-market-table td {
  overflow-wrap: anywhere;
  white-space: normal;
}

.hero-market-table th:nth-child(1),
.hero-market-table td:nth-child(1) {
  width: 34%;
}

.hero-market-table th:nth-child(2),
.hero-market-table td:nth-child(2) {
  width: 16%;
}

.hero-market-table th:nth-child(3),
.hero-market-table td:nth-child(3) {
  width: 26%;
}

.hero-market-table th:nth-child(4),
.hero-market-table td:nth-child(4) {
  width: 24%;
}

@media (max-width: 767.98px) {
  .hero-market-panel {
    border-radius: 18px !important;
    padding: 12px !important;
  }
  .hero-market-panel-head {
    gap: 10px !important;
    margin-bottom: 12px !important;
  }
  .hero-market-kpis {
    gap: 8px !important;
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    margin-bottom: 12px !important;
  }
  .hero-market-kpis div {
    border-radius: 12px !important;
    padding: 9px 6px !important;
  }
  .hero-market-kpis span {
    font-size: 8px !important;
    letter-spacing: 0.04em !important;
  }
  .hero-market-kpis strong {
    font-size: 20px !important;
  }
  .hero-market-table-wrap {
    overflow: hidden !important;
  }
  .hero-market-table-title {
    padding: 10px 8px !important;
  }
  .hero-market-table {
    display: table !important;
    font-size: 10px !important;
    min-width: 0 !important;
    table-layout: fixed !important;
    width: 100% !important;
  }
  .hero-market-table thead {
    display: table-header-group !important;
    height: auto !important;
    opacity: 1 !important;
    overflow: visible !important;
    pointer-events: auto !important;
    position: static !important;
    width: auto !important;
  }
  .hero-market-table tbody {
    display: table-row-group !important;
    padding: 0 !important;
  }
  .hero-market-table tr {
    background: transparent !important;
    border: 0 !important;
    border-radius: 0 !important;
    display: table-row !important;
    padding: 0 !important;
  }
  .hero-market-table th,
  .hero-market-table td {
    border-top: 1px solid rgba(133, 229, 235, 0.16) !important;
    display: table-cell !important;
    line-height: 1.25 !important;
    padding: 7px 3px !important;
    text-align: left !important;
    vertical-align: middle !important;
    width: auto !important;
  }
  .hero-market-table th {
    font-size: 8px !important;
    letter-spacing: 0.02em !important;
  }
  .hero-market-table td {
    font-size: 9px !important;
  }
  .hero-market-table td:first-child {
    color: #6ff0f2;
    font-size: 8.8px !important;
  }
  .hero-market-table td::before {
    content: none !important;
  }
}
@media (max-width: 390px) {
  .hero-market-table th,
  .hero-market-table td {
    padding-inline: 2px !important;
  }
  .hero-market-table th {
    font-size: 7.5px !important;
  }
  .hero-market-table td {
    font-size: 8.4px !important;
  }
  .hero-market-table td:first-child {
    font-size: 8px !important;
  }
}
/* Hero ticker: show only contract values */
.hero-market-ticker .hero-topic-track span::before,
.hero-market-ticker .hero-topic-track span::after {
  content: none !important;
  display: none !important;
}

/* Homepage latest news carousel */
.latest-news-section {
  background: radial-gradient(circle at 50% 14%, rgba(0, 169, 180, 0.22), transparent 34%), radial-gradient(circle at 16% 82%, rgba(0, 126, 135, 0.2), transparent 34%), linear-gradient(135deg, #031d22 0%, #074f5a 50%, #03252b 100%);
  color: #eaffff;
  overflow: hidden;
  padding: clamp(64px, 7vw, 64px) 0 clamp(70px, 7vw, 112px);
  position: relative;
}

.latest-news-section::before,
.latest-news-section::after {
  border: 1px solid rgba(44, 225, 235, 0.18);
  border-radius: 50%;
  content: "";
  height: 480px;
  pointer-events: none;
  position: absolute;
  width: 900px;
  z-index: 0;
}

.latest-news-section::before {
  bottom: -300px;
  left: -120px;
  transform: rotate(8deg);
}

.latest-news-section::after {
  bottom: -320px;
  right: -140px;
  transform: rotate(-10deg);
}

.latest-news-section .container {
  max-width: 1500px !important;
  position: relative;
  width: calc(100% - 64px);
  z-index: 1;
  padding-right: 64px;
  padding-left: 64px;
}

.latest-news-head {
  display: block;
  margin: 0 auto clamp(36px, 4vw, 58px);
  max-width: 720px;
  text-align: center;
}

.latest-news-head h2 {
  color: #f2fbff;
  font-size: clamp(40px, 4.5vw, 64px);
  font-weight: 800;
  line-height: 1.05;
  margin: 0;
  text-shadow: 0 8px 26px rgba(0, 0, 0, 0.28);
}

.latest-news-head p {
  color: rgba(234, 255, 255, 0.72);
  font-size: clamp(18px, 1.8vw, 26px);
  line-height: 1.5;
  margin: 18px 0 0;
}

.latest-news-head::after {
  background: var(--modern-teal-bright);
  content: "";
  display: block;
  height: 3px;
  margin: 22px auto 0;
  width: 86px;
}

.latest-news-all {
  align-items: center;
  background: rgba(0, 169, 180, 0.16);
  border: 1px solid rgba(80, 235, 242, 0.42);
  border-radius: 999px;
  color: #eaffff;
  display: inline-flex;
  font-size: 13px;
  font-weight: 800;
  min-height: 44px;
  padding: 12px 22px 10px;
  position: absolute;
  right: 0;
  text-decoration: none;
  text-transform: uppercase;
  top: 10px;
  white-space: nowrap;
}

.latest-news-all:hover {
  background: var(--modern-teal);
  border-color: var(--modern-teal-bright);
  color: #fff;
  transform: translateY(-2px);
}

.latest-news-shell {
  overflow: visible;
  padding: 0 clamp(56px, 5vw, 82px);
  position: relative;
}

.latest-news-track {
  display: flex;
  transition: transform 0.55s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: transform;
}

.latest-news-slide {
  flex: 0 0 100%;
  min-width: 100%;
}

.latest-news-card {
  background: linear-gradient(180deg, rgba(4, 65, 75, 0.98), rgba(3, 41, 48, 0.98));
  border: 1px solid rgba(52, 224, 234, 0.36);
  border-radius: 20px;
  box-shadow: 0 24px 55px rgba(0, 0, 0, 0.28);
  color: #eaffff;
  height: 100%;
  min-height: 520px;
  overflow: hidden;
  padding: 0;
}

.latest-news-card::before {
  content: none;
}

.latest-news-card:hover {
  border-color: rgba(94, 245, 250, 0.65);
  box-shadow: 0 34px 80px rgba(0, 0, 0, 0.34);
  transform: translateY(-7px);
}

.latest-news-visual {
  align-items: flex-end;
  background: radial-gradient(circle at 72% 20%, rgba(75, 245, 249, 0.38), transparent 26%), linear-gradient(135deg, rgba(2, 28, 34, 0.25), rgba(0, 169, 180, 0.15)), repeating-linear-gradient(90deg, rgba(113, 248, 252, 0.1) 0 1px, transparent 1px 24px), linear-gradient(135deg, #064650 0%, #092e36 100%);
  display: flex;
  min-height: 210px;
  padding: 24px;
  position: relative;
}

.latest-news-visual::before {
  background: linear-gradient(135deg, transparent 0 46%, rgba(56, 240, 245, 0.26) 47% 49%, transparent 50%), radial-gradient(circle, rgba(74, 240, 248, 0.8) 0 2px, transparent 3px);
  background-size: 72px 72px, 22px 22px;
  content: "";
  inset: 0;
  opacity: 0.42;
  position: absolute;
}

.latest-news-visual span {
  background: linear-gradient(135deg, var(--modern-teal), #05c7d1);
  border-radius: 999px;
  color: #fff;
  font-size: 13px;
  font-weight: 800;
  padding: 10px 16px 8px;
  position: relative;
  text-transform: uppercase;
  z-index: 1;
}

.latest-news-card .news-card-meta {
  color: rgba(234, 255, 255, 0.66);
  font-size: 16px;
  margin: 0;
  padding: 26px 26px 0;
}

.latest-news-card .news-card-meta span {
  display: none;
}

.latest-news-card h3 {
  color: #fff;
  font-size: clamp(21px, 1.6vw, 27px);
  line-height: 1.25;
  margin: 20px 0 0;
  padding: 0 26px;
}

.latest-news-card p {
  color: rgba(234, 255, 255, 0.72);
  font-size: 17px;
  line-height: 1.7;
  margin: 0;
  padding: 20px 26px 26px;
}

.latest-news-card a {
  color: var(--modern-teal-bright);
  font-size: 17px;
  margin: auto 0 0;
  padding: 0 26px 28px;
  text-align: left;
}

.latest-news-card a::after {
  content: " ->";
}

.latest-news-controls {
  align-items: center;
  display: contents;
}

.latest-news-controls > button {
  align-items: center;
  appearance: none;
  background: var(--modern-teal);
  border: 1px solid rgba(94, 245, 250, 0.4);
  border-radius: 50%;
  color: #fff;
  display: inline-flex;
  font-size: 42px;
  font-weight: 700;
  height: 68px;
  justify-content: center;
  line-height: 1;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  transition: background 0.22s ease, border-color 0.22s ease, transform 0.22s ease;
  width: 68px;
  z-index: 4;
}

.latest-news-controls > button:hover {
  background: #05b8c3;
  border-color: var(--modern-teal-bright);
  transform: translateY(-50%) scale(1.05);
}

.latest-news-controls > button[data-latest-news-prev] {
  left: 0;
}

.latest-news-controls > button[data-latest-news-next] {
  right: 0;
}

.latest-news-dots {
  align-items: center;
  bottom: -54px;
  display: flex;
  gap: 16px;
  justify-content: center;
  left: 50%;
  position: absolute;
  transform: translateX(-50%);
  z-index: 3;
}

.latest-news-dots button {
  appearance: none;
  background: rgba(234, 255, 255, 0.28);
  border: 0;
  border-radius: 50%;
  height: 16px;
  padding: 0;
  transition: background 0.22s ease, transform 0.22s ease;
  width: 16px;
}

.latest-news-dots button:hover,
.latest-news-dots button.is-active {
  background: var(--modern-teal-bright);
  transform: scale(1.12);
}

@media (max-width: 1199.98px) {
  .latest-news-card {
    min-height: 500px;
  }
}
@media (max-width: 767.98px) {
  .latest-news-section .container {
    width: 100%;
  }
  .latest-news-all {
    margin-top: 24px;
    position: static;
  }
  .latest-news-shell {
    padding: 0 46px;
  }
  .latest-news-controls > button {
    height: 46px;
    font-size: 30px;
    width: 46px;
  }
  .latest-news-card {
    min-height: auto;
  }
  .latest-news-visual {
    min-height: 170px;
  }
}
/* Latest news loop sizing refinement */
.latest-news-shell {
  overflow: hidden;
}

.latest-news-track {
  gap: 26px;
}

.latest-news-item {
  flex: 0 0 calc((100% - 78px) / 4);
  min-width: 0;
}

.latest-news-card {
  min-height: 520px;
}

.latest-news-visual {
  min-height: 220px;
}

.latest-news-card .news-card-meta {
  padding-top: 24px;
}

.latest-news-card p {
  min-height: 118px;
}

@media (max-width: 1199.98px) {
  .latest-news-track {
    gap: 24px;
  }
  .latest-news-item {
    flex-basis: calc((100% - 24px) / 2);
  }
}
@media (max-width: 767.98px) {
  .latest-news-shell {
    padding-left: 42px;
    padding-right: 42px;
  }
  .latest-news-track {
    gap: 16px;
  }
  .latest-news-item {
    flex-basis: 100%;
  }
  .latest-news-card h3,
  .latest-news-card p {
    min-height: 0;
  }
}
/* Latest news reference proportions */
.latest-news-shell {
  padding-left: 0 !important;
  padding-right: 0 !important;
}

.latest-news-controls > button[data-latest-news-prev] {
  left: -82px;
}

.latest-news-controls > button[data-latest-news-next] {
  right: -82px;
}

.latest-news-card {
  height: 540px;
  min-height: 540px;
}

.latest-news-visual {
  min-height: 190px;
}

.latest-news-card .news-card-meta {
  font-size: 15px;
  padding: 22px 24px 0;
}

.latest-news-card h3 {
  display: -webkit-box;
  font-size: clamp(20px, 1.35vw, 24px);
  line-height: 1.25;
  margin-top: 18px;
  overflow: hidden;
  padding-left: 24px;
  padding-right: 24px;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.latest-news-card p {
  display: -webkit-box;
  font-size: 16px;
  line-height: 1.65;
  min-height: 82px;
  overflow: hidden;
  padding: 16px 24px 20px;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

.latest-news-card a {
  font-size: 16px;
  padding: 0 24px 26px;
}

@media (max-width: 767.98px) {
  .latest-news-shell {
    margin-left: 42px;
    margin-right: 42px;
    padding-left: 0 !important;
    padding-right: 0 !important;
  }
  .latest-news-controls > button[data-latest-news-prev] {
    left: -54px;
  }
  .latest-news-controls > button[data-latest-news-next] {
    right: -54px;
  }
  .latest-news-card {
    height: 520px;
    min-height: 520px;
  }
  .latest-news-visual {
    min-height: 165px;
  }
}
/* Latest news visible controls */
.latest-news-shell {
  overflow: visible !important;
}

.latest-news-viewport {
  overflow: hidden;
  width: 100%;
}

.latest-news-controls > button,
.latest-news-dots {
  opacity: 1;
  visibility: visible;
}

@media (max-width: 767.98px) {
  .latest-news-dots {
    bottom: -42px;
  }
}
/* Latest news text-only cards */
.latest-news-card {
  justify-content: flex-start;
  min-height: 360px;
  height: 360px;
  padding-top: 0;
}

.latest-news-card .news-card-meta {
  padding-top: 30px;
}

.latest-news-card .news-card-meta span {
  display: inline-flex;
}

.latest-news-visual {
  display: none !important;
}

.latest-news-card p {
  min-height: 96px;
}

@media (max-width: 767.98px) {
  .latest-news-card {
    height: 330px;
    min-height: 330px;
  }
  .latest-news-card .news-card-meta {
    font-size: 13px;
    padding: 22px 20px 0;
  }
  .latest-news-card h3 {
    font-size: 20px;
    min-height: 52px;
    padding-left: 20px;
    padding-right: 20px;
  }
  .latest-news-card p {
    font-size: 14px;
    line-height: 1.55;
    min-height: 66px;
    padding: 14px 20px 18px;
    -webkit-line-clamp: 2;
  }
  .latest-news-card a {
    font-size: 15px;
    padding: 0 20px 22px;
  }
}
/* Expert team and about/FAQ redesign */
.team-section {
  background: radial-gradient(circle at 50% 18%, rgba(0, 126, 135, 0.08), transparent 32%), linear-gradient(180deg, #ffffff 0%, #f7fbfc 100%) !important;
  overflow: hidden;
  padding: clamp(70px, 7vw, 104px) 0 62px;
  position: relative;
}

.team-section .container {
  max-width: 1180px !important;
}

.team-section .section-heading {
  margin: 0 auto 44px;
  max-width: 680px;
  position: relative;
  text-align: center;
}

.team-section .section-heading::before {
  color: var(--modern-teal);
  display: block;
  font-size: 18px;
  font-weight: 800;
  letter-spacing: 0.14em;
  margin-bottom: 10px;
  text-transform: uppercase;
}

.team-section .section-heading h2 {
  color: #081c34 !important;
  font-size: clamp(46px, 5vw, 68px) !important;
  font-weight: 900;
  letter-spacing: 0.04em;
  margin: 0;
  position: relative;
}

.team-section .section-heading h2::after {
  background: var(--modern-teal-bright);
  bottom: 2px;
  content: "";
  height: 10px;
  left: 54%;
  opacity: 0.55;
  position: absolute;
  width: 44px;
  z-index: -1;
}

.team-section .section-heading::after {
  color: #586577;
  display: block;
  font-size: 20px;
  font-weight: 400;
  line-height: 1.5;
  margin: 22px auto 0;
  max-width: 520px;
}

.team-section .row {
  align-items: start;
  position: relative;
}

.team-section .row::before {
  background: linear-gradient(90deg, transparent, rgba(0, 169, 180, 0.35), transparent);
  content: "";
  height: 2px;
  left: 18%;
  position: absolute;
  right: 18%;
  top: 145px;
  z-index: 0;
}

.team-section .row > [class*=col-] {
  display: block !important;
  position: relative;
  z-index: 1;
}

.team-card {
  align-items: center;
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  display: flex !important;
  min-height: 0 !important;
  overflow: visible !important;
  padding: 0 14px;
  text-align: center;
  transform: none !important;
}

.team-card::before,
.team-card::after {
  display: none !important;
}

.team-media {
  aspect-ratio: 1;
  background: #fff;
  border: 2px solid rgba(0, 169, 180, 0.75);
  border-radius: 50%;
  box-shadow: 0 22px 60px rgba(7, 31, 38, 0.12);
  height: auto !important;
  margin: 0 auto 34px;
  min-height: 0 !important;
  overflow: visible;
  padding: 18px;
  position: relative;
  width: min(260px, 86%);
}

.team-media::before,
.team-media::after {
  border: 2px solid var(--modern-teal-bright);
  border-bottom-color: transparent;
  border-left-color: transparent;
  border-radius: 50%;
  content: "";
  inset: -18px;
  pointer-events: none;
  position: absolute;
  transform: rotate(-26deg);
}

.team-media::after {
  border-style: dotted;
  inset: -28px;
  opacity: 0.7;
  transform: rotate(28deg);
}

.team-card .team-media img {
  border-radius: 50%;
  height: 100% !important;
  object-fit: cover;
  transform: none !important;
  width: 100%;
}

.team-badge {
  background: linear-gradient(135deg, #058b98, #034e5b) !important;
  border: 7px solid #fff !important;
  box-shadow: 0 18px 42px rgba(0, 126, 135, 0.28) !important;
  height: 80px !important;
  left: auto !important;
  right: 50% !important;
  top: 196px !important;
  transform: translateX(106px) !important;
  width: 80px !important;
}

.team-badge svg {
  height: 36px !important;
  width: 36px !important;
}

.team-card .card-body {
  display: block !important;
  padding: 0 !important;
}

.team-card h3 {
  color: #081c34 !important;
  font-size: 24px !important;
  font-weight: 900 !important;
  letter-spacing: 0.04em;
  margin: 0 0 18px !important;
  position: relative;
}

.team-card h3::after {
  background: var(--modern-teal-bright);
  content: "";
  display: block;
  height: 2px;
  margin: 11px auto 0;
  width: 58px;
}

.team-card p {
  color: #586577 !important;
  font-size: 18px !important;
  line-height: 1.55 !important;
  margin: 0 auto !important;
  max-width: 300px;
}

.expert-about-section {
  background: radial-gradient(circle at 8% 24%, rgba(0, 126, 135, 0.08), transparent 32%), linear-gradient(180deg, #f6fbfc 0%, #eef8fa 100%) !important;
  overflow: hidden;
  padding: 70px 0 88px !important;
  position: relative;
}

.expert-about-section .container {
  max-width: 1280px !important;
  width: calc(100% - 48px);
}

.expert-about-panel {
  background: radial-gradient(circle at 88% 8%, rgba(0, 126, 135, 0.12), transparent 26%), linear-gradient(135deg, rgba(255, 255, 255, 0.96), rgba(241, 250, 251, 0.96)) !important;
  border: 1px solid rgba(0, 126, 135, 0.12) !important;
  border-radius: 34px !important;
  box-shadow: 0 30px 90px rgba(7, 31, 38, 0.12) !important;
  overflow: hidden;
  padding: clamp(30px, 5vw, 70px) !important;
  position: relative;
}

.expert-about-panel::before {
  background: radial-gradient(circle, rgba(0, 169, 180, 0.24) 0 2px, transparent 3px);
  background-size: 18px 18px;
  content: "";
  height: 130px;
  left: 48%;
  opacity: 0.65;
  position: absolute;
  top: 70px;
  width: 130px;
}

.expert-about-grid {
  display: grid;
  gap: clamp(42px, 6vw, 82px);
  grid-template-columns: minmax(0, 1.05fr) minmax(420px, 0.95fr);
  position: relative;
  z-index: 1;
}

.expert-about-copy h2,
.expert-faq-wrap .faq-roadmap-copy > h2 {
  color: #081c34 !important;
  font-size: clamp(38px, 4vw, 54px) !important;
  font-weight: 900 !important;
  letter-spacing: 0.02em;
  line-height: 1.05;
  margin: 0 0 26px !important;
  text-transform: uppercase;
}

.expert-about-copy .section-icon {
  background: transparent;
  color: var(--modern-teal);
  height: 34px;
  margin-right: 16px;
  width: 34px;
}

.expert-about-copy .section-icon svg {
  height: 28px;
  width: 28px;
}

.expert-about-copy .about-profile {
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  padding: 0 !important;
}

.expert-about-copy .about-profile .panel-eyebrow {
  display: none;
}

.expert-about-copy .about-profile p {
  color: #17243a !important;
  font-size: 18px !important;
  line-height: 1.72 !important;
  max-width: 620px;
}

.expert-about-copy .about-profile a {
  color: var(--modern-teal);
  font-weight: 800;
}

.expert-about-copy .about-highlights {
  display: grid;
  gap: 28px;
  margin: 48px 0 0 !important;
}

.expert-about-copy .about-highlights div {
  align-items: center;
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  display: grid;
  gap: 22px;
  grid-template-columns: 92px minmax(0, 1fr);
  padding: 0 !important;
}

.expert-about-copy .about-highlights div::before {
  align-items: center;
  background: linear-gradient(135deg, #078d9a, #045766);
  border: 6px solid #fff;
  border-radius: 50%;
  box-shadow: 0 18px 42px rgba(0, 126, 135, 0.24);
  color: #fff;
  content: "01";
  display: flex;
  font-size: 34px;
  font-weight: 900;
  height: 88px;
  justify-content: center;
  width: 88px;
}

.expert-about-copy .about-highlights strong {
  color: #081c34 !important;
  font-size: 21px !important;
  letter-spacing: 0 !important;
  margin: 0 0 6px !important;
  text-transform: none !important;
}

.expert-about-copy .about-highlights span {
  color: #17243a !important;
  font-size: 16px !important;
  line-height: 1.55 !important;
}

.expert-faq-wrap {
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  margin: 0 !important;
  padding: 0 !important;
}

.expert-faq-wrap .panel-eyebrow {
  color: var(--modern-teal) !important;
  font-size: 18px !important;
  letter-spacing: 0.08em !important;
  margin: 0 !important;
}

.expert-faq-wrap .faq-roadmap-copy > p {
  display: none;
}

.expert-faq-wrap .faq-roadmap-list {
  display: grid !important;
  gap: 18px !important;
  margin-top: 34px;
}

.expert-faq-wrap .faq-step {
  background: #fff !important;
  border: 1px solid rgba(0, 126, 135, 0.14) !important;
  border-radius: 18px !important;
  box-shadow: 0 16px 42px rgba(7, 31, 38, 0.08) !important;
  overflow: hidden !important;
}

.expert-faq-wrap .faq-step + .faq-step {
  margin-top: 0 !important;
}

.expert-faq-wrap .faq-step .accordion-button {
  align-items: center !important;
  background: #fff !important;
  display: grid !important;
  gap: 18px !important;
  grid-template-columns: 58px minmax(0, 1fr) 28px !important;
  padding: 20px 22px !important;
}

.expert-faq-wrap .faq-step .accordion-button span {
  align-items: center !important;
  background: linear-gradient(135deg, #078d9a, #045766) !important;
  border-radius: 50% !important;
  color: #fff !important;
  display: flex !important;
  font-family: inherit !important;
  font-size: 18px !important;
  font-weight: 900 !important;
  height: 48px !important;
  justify-content: center !important;
  line-height: 1 !important;
  width: 48px !important;
}

.expert-faq-wrap .faq-step .accordion-button strong {
  color: #081c34 !important;
  font-family: inherit !important;
  font-size: 18px !important;
  font-weight: 900 !important;
  line-height: 1.25 !important;
}

.expert-faq-wrap .faq-step .accordion-button::after {
  align-items: center;
  background: rgba(0, 125, 135, 0.1) !important;
  background-image: none !important;
  border-radius: 50%;
  color: var(--modern-teal) !important;
  content: "+" !important;
  display: flex;
  font-size: 24px;
  font-weight: 900;
  height: 32px !important;
  justify-content: center;
  line-height: 1;
  margin-left: auto;
  transform: none !important;
  width: 32px !important;
}

.expert-faq-wrap .faq-step .accordion-button:not(.collapsed)::after {
  background: var(--modern-teal) !important;
  color: #fff !important;
  content: "-" !important;
}

.expert-faq-wrap .faq-step .accordion-body {
  background: #eaf6f8;
  border-radius: 14px;
  color: #17243a !important;
  font-size: 16px !important;
  line-height: 1.55 !important;
  margin: 0 22px 20px 98px !important;
  max-width: none !important;
  padding: 20px 22px !important;
  white-space: pre-line;
}

.expert-help-card {
  align-items: center;
  background: linear-gradient(135deg, #006a78, #008b99);
  border-radius: 22px;
  box-shadow: 0 24px 60px rgba(0, 89, 99, 0.26);
  color: #fff;
  display: grid;
  gap: 28px;
  grid-template-columns: 96px minmax(0, 1fr) auto;
  margin: 56px auto 0;
  max-width: 860px;
  padding: 24px 34px;
  position: relative;
  z-index: 2;
}

.expert-help-icon {
  align-items: center;
  background: #fff;
  border-radius: 50%;
  color: var(--modern-teal);
  display: flex;
  height: 78px;
  justify-content: center;
  width: 78px;
}

.expert-help-icon svg {
  height: 36px;
  width: 36px;
}

.expert-help-card strong,
.expert-help-card span {
  display: block;
}

.expert-help-card strong {
  font-size: 24px;
  margin-bottom: 6px;
}

.expert-help-card span {
  color: rgba(255, 255, 255, 0.78);
  font-size: 16px;
}

.expert-help-card a {
  align-items: center;
  border: 1px solid rgba(255, 255, 255, 0.75);
  border-radius: 999px;
  color: #fff;
  display: inline-flex;
  font-weight: 800;
  gap: 12px;
  min-height: 54px;
  padding: 0 28px;
  text-decoration: none;
}

.expert-about-panel > .about-story-visual {
  height: 1px !important;
  min-height: 0 !important;
  opacity: 0;
  overflow: hidden;
  pointer-events: none;
  position: absolute;
  width: 1px;
}

@media (max-width: 1199.98px) {
  .expert-about-grid {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 991.98px) {
  .team-section .row::before {
    display: none;
  }
  .team-badge {
    top: 184px !important;
  }
}
@media (max-width: 767.98px) {
  .team-media {
    width: min(230px, 82%);
  }
  .team-badge {
    height: 68px !important;
    top: 176px !important;
    transform: translateX(92px) !important;
    width: 68px !important;
  }
  .expert-about-section .container {
    width: 100%;
  }
  .expert-about-panel {
    border-radius: 24px !important;
    padding: 24px !important;
  }
  .expert-about-copy .about-highlights div {
    grid-template-columns: 74px minmax(0, 1fr);
  }
  .expert-about-copy .about-highlights div::before {
    height: 68px;
    width: 68px;
  }
  .expert-faq-wrap .faq-step .accordion-button {
    grid-template-columns: 48px minmax(0, 1fr) 20px !important;
    padding: 16px !important;
  }
  .expert-faq-wrap .faq-step .accordion-body {
    margin: 0 16px 16px !important;
  }
  .expert-help-card {
    grid-template-columns: 1fr;
    justify-items: start;
    padding: 24px;
  }
}
/* Expert About/FAQ layout fixes */
.expert-about-copy .about-content-grid,
.expert-about-copy .about-content-grid.row {
  display: block !important;
  margin: 0 !important;
}

.expert-about-copy .about-content-grid > [class*=col-] {
  max-width: none !important;
  padding: 0 !important;
  width: 100% !important;
}

.expert-about-copy .about-highlights {
  max-width: 620px;
}

.expert-about-copy .about-profile,
.expert-about-copy .about-highlights {
  height: auto !important;
}

.expert-about-panel::before {
  pointer-events: none;
}

.expert-about-copy {
  min-width: 0;
}

.expert-faq-wrap {
  min-width: 0;
}

.expert-faq-wrap .faq-roadmap-copy {
  min-width: 0;
}

.expert-faq-wrap .faq-step .accordion-body {
  margin-left: 88px !important;
}

@media (min-width: 1200px) {
  .expert-about-grid {
    align-items: start;
    grid-template-columns: minmax(0, 1fr) minmax(420px, 0.86fr);
  }
}
@media (max-width: 767.98px) {
  .expert-about-copy .about-profile p {
    font-size: 15px !important;
    line-height: 1.65 !important;
  }
  .expert-about-copy .about-highlights {
    gap: 20px;
    margin-top: 34px !important;
  }
  .expert-faq-wrap .faq-step .accordion-button {
    gap: 12px !important;
    grid-template-columns: 44px minmax(0, 1fr) 18px !important;
  }
  .expert-faq-wrap .faq-step .accordion-button span {
    font-size: 16px !important;
    height: 42px !important;
    width: 42px !important;
  }
  .expert-faq-wrap .faq-step .accordion-button strong {
    font-size: 16px !important;
  }
}
/* Expert About/FAQ content stability fixes */
.expert-about-copy .about-highlights div {
  grid-template-columns: 82px minmax(0, 1fr) !important;
}

.expert-about-copy .about-highlights span {
  display: -webkit-box !important;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 4;
}

@media (max-width: 767.98px) {
  .expert-about-copy .about-highlights div {
    gap: 14px;
    grid-template-columns: 58px minmax(0, 1fr) !important;
  }
  .expert-about-copy .about-highlights div::before {
    font-size: 24px;
    height: 54px;
    width: 54px;
  }
  .expert-about-copy .about-highlights strong {
    font-size: 17px !important;
  }
  .expert-about-copy .about-highlights span {
    font-size: 14px !important;
    line-height: 1.5 !important;
    -webkit-line-clamp: 3;
  }
  .expert-faq-wrap .faq-step .accordion-body {
    margin: 0 16px 16px !important;
    width: auto !important;
  }
}
/* About highlights and CTA SVG final polish */
.expert-about-copy .about-highlights {
  max-width: 680px;
}

.expert-about-copy .about-highlights div {
  align-items: start !important;
  grid-template-columns: 76px minmax(0, 1fr) !important;
}

.expert-about-copy .about-highlights div::before {
  align-items: center;
  content: "01" !important;
  display: flex;
  flex: 0 0 auto;
  font-family: Arial, sans-serif;
  font-size: 34px;
  font-weight: 800;
  height: 72px !important;
  justify-content: center;
  line-height: 1;
  width: 72px !important;
}

.expert-about-copy .about-highlights div:nth-child(2)::before {
  content: "02" !important;
}

.expert-about-copy .about-highlights div:nth-child(3)::before {
  content: "03" !important;
}

.expert-about-copy .about-highlights span {
  -webkit-line-clamp: 5;
}

.expert-help-icon svg,
.expert-help-icon svg path {
  fill: none !important;
  stroke: currentColor !important;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8px;
}

@media (max-width: 767.98px) {
  .expert-about-copy .about-highlights {
    gap: 18px;
  }
  .expert-about-copy .about-highlights div {
    grid-template-columns: 58px minmax(0, 1fr) !important;
  }
  .expert-about-copy .about-highlights div::before {
    font-size: 26px;
    height: 54px !important;
    width: 54px !important;
  }
  .expert-help-icon svg {
    height: 32px;
    width: 32px;
  }
}
/* About highlight height and help icon color correction */
.expert-about-copy .about-highlights {
  align-content: start !important;
  height: auto !important;
}

.expert-about-copy .about-highlights div {
  height: auto !important;
  min-height: 0 !important;
}

.expert-help-card .expert-help-icon {
  color: var(--modern-teal) !important;
}

.expert-help-card .expert-help-icon svg,
.expert-help-card .expert-help-icon svg path {
  stroke: currentColor !important;
}

/* Stop legacy flex stretch from inflating About highlight rows */
.expert-about-copy .about-highlights {
  grid-auto-rows: auto !important;
  grid-template-rows: none !important;
}

.expert-about-copy .about-highlights div {
  align-self: start !important;
  flex: 0 0 auto !important;
}

/* Reset legacy min-height for the expert About panel only */
.expert-about-copy .about-highlights {
  min-height: 0 !important;
}

/* Use flex for the expert About highlights to avoid inherited grid row stretching */
.expert-about-copy .about-highlights {
  display: flex !important;
  flex-direction: column !important;
  gap: 28px !important;
}

.expert-about-copy .about-highlights div {
  flex: 0 0 auto !important;
}

@media (max-width: 767.98px) {
  .expert-about-copy .about-highlights {
    gap: 18px !important;
  }
}
/* Correct grid placement inside About highlight items */
.expert-about-copy .about-highlights div::before {
  grid-column: 1;
  grid-row: 1/span 2;
}

.expert-about-copy .about-highlights strong,
.expert-about-copy .about-highlights span {
  grid-column: 2;
}

.expert-about-copy .about-highlights strong {
  grid-row: 1;
}

.expert-about-copy .about-highlights span {
  display: block !important;
  grid-row: 2;
}

/* Seamless hero market ticker loop */
.hero-market-ticker .hero-topic-track {
  gap: 0 !important;
}

.hero-topic-group {
  align-items: center;
  display: inline-flex;
  flex: 0 0 auto;
  gap: 12px;
  padding-right: 12px;
  white-space: nowrap;
}

@media (max-width: 767.98px) {
  .hero-topic-group {
    gap: 8px;
    padding-right: 8px;
  }
}
.hero-market-ticker .hero-topic-track span {
  transition: background-color 0.24s ease, border-color 0.24s ease, box-shadow 0.24s ease, color 0.24s ease, transform 0.24s ease;
}

.hero-market-ticker .hero-topic-track span:hover,
.hero-market-ticker .hero-topic-track span:focus-within {
  background: rgba(8, 168, 179, 0.24) !important;
  border-color: rgba(119, 245, 255, 0.62) !important;
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.24), 0 0 0 1px rgba(119, 245, 255, 0.18) inset;
  color: #ffffff !important;
  transform: translateY(-2px);
}

.hero-market-ticker .hero-topic-track span:hover b,
.hero-market-ticker .hero-topic-track span:hover small,
.hero-market-ticker .hero-topic-track span:hover em,
.hero-market-ticker .hero-topic-track span:focus-within b,
.hero-market-ticker .hero-topic-track span:focus-within small,
.hero-market-ticker .hero-topic-track span:focus-within em {
  color: #ffffff !important;
}

@media (max-width: 767.98px) {
  .hero-topic-track {
    animation-duration: 70s;
  }
  .hero-market-ticker .hero-topic-track {
    animation-duration: 70s !important;
  }
}
/* Final compact hero height */
@media (min-width: 1200px) {
  .template-hero {
    min-height: clamp(560px, 76vh, 680px) !important;
  }
  .template-hero .modern-hero-content {
    min-height: calc(clamp(560px, 76vh, 680px) - 96px) !important;
    padding-bottom: 70px !important;
    padding-top: 76px !important;
  }
  .template-hero .hero-copy h1 {
    font-size: clamp(38px, 4.1vw, 36px) !important;
    margin-bottom: 14px !important;
  }
  .template-hero .hero-kicker {
    font-size: clamp(17px, 1.45vw, 20px) !important;
    margin-bottom: 10px !important;
  }
  .template-hero .hero-copy p:not(.hero-kicker) {
    font-size: 15px !important;
    line-height: 1.55 !important;
    margin-bottom: 18px !important;
  }
  .hero-badge {
    margin-bottom: 14px !important;
  }
  .hero-market-panel {
    padding: 18px 18px 8px 16px !important;
  }
  .hero-market-panel-head {
    margin-bottom: 12px !important;
  }
  .hero-market-kpis {
    margin-bottom: 14px !important;
  }
  .hero-market-kpis div {
    padding: 10px 8px !important;
  }
  .hero-market-kpis strong {
    font-size: clamp(22px, 2vw, 30px) !important;
  }
  .hero-market-table-title {
    padding: 10px 14px !important;
  }
  .hero-market-table th,
  .hero-market-table td {
    padding-block: 7px !important;
  }
}
@media (min-width: 768px) and (max-width: 1199.98px) {
  .template-hero {
    min-height: auto !important;
  }
  .template-hero .modern-hero-content {
    padding-bottom: 86px !important;
    padding-top: 46px !important;
  }
}
/* Hero market table supports CMS responses with or without Date column */
.hero-market-table th:nth-child(1),
.hero-market-table td:nth-child(1) {
  width: 42%;
}

.hero-market-table th:nth-child(2),
.hero-market-table td:nth-child(2) {
  width: 24%;
}

.hero-market-table th:nth-child(3),
.hero-market-table td:nth-child(3) {
  width: 34%;
}

.hero-market-table:has(th:nth-child(4)) th:nth-child(1),
.hero-market-table:has(th:nth-child(4)) td:nth-child(1) {
  width: 34%;
}

.hero-market-table:has(th:nth-child(4)) th:nth-child(2),
.hero-market-table:has(th:nth-child(4)) td:nth-child(2) {
  width: 16%;
}

.hero-market-table:has(th:nth-child(4)) th:nth-child(3),
.hero-market-table:has(th:nth-child(4)) td:nth-child(3) {
  width: 26%;
}

.hero-market-table:has(th:nth-child(4)) th:nth-child(4),
.hero-market-table:has(th:nth-child(4)) td:nth-child(4) {
  width: 24%;
}

/* Hero ticker IM/DSP movement arrows */
.hero-market-ticker .hero-ticker-trend {
  align-items: center;
  border-radius: 999px;
  display: inline-flex;
  font-size: 10px;
  font-style: normal;
  font-weight: 900;
  height: 18px;
  justify-content: center;
  line-height: 1;
  margin-left: -4px;
  width: 18px;
}

.hero-market-ticker .hero-ticker-trend-up {
  background: rgba(23, 220, 146, 0.14);
  color: #2effa7;
}

.hero-market-ticker .hero-ticker-trend-down {
  background: rgba(255, 86, 86, 0.14);
  color: #ff6666;
}

@media (max-width: 767.98px) {
  .hero-market-ticker .hero-ticker-trend {
    font-size: 8px;
    height: 15px;
    width: 15px;
  }
}
.hero-market-ticker .hero-ticker-trend-flat {
  background: rgba(255, 255, 255, 0.08);
  color: rgba(223, 251, 255, 0.72);
}

/* Hero market table CMS group rows */
.hero-market-table .hero-market-group-row td,
.hero-market-table .hero-market-group-row td:first-child {
  background: rgba(133, 229, 235, 0.1) !important;
  border-top: 1px solid rgba(133, 229, 235, 0.22) !important;
  color: #7df4f6 !important;
  font-size: 11px !important;
  font-weight: 900 !important;
  letter-spacing: 0.08em !important;
  padding-block: 8px !important;
  text-transform: uppercase;
  width: auto !important;
}

@media (max-width: 575.98px) {
  .hero-market-table .hero-market-group-row td,
  .hero-market-table .hero-market-group-row td:first-child {
    font-size: 8px !important;
    padding-block: 6px !important;
  }
}
/* Mobile hero market table alignment */
@media (max-width: 767.98px) {
  .hero-market-table th,
  .hero-market-table td {
    text-align: center !important;
  }
  .hero-market-table .hero-market-group-row td,
  .hero-market-table .hero-market-group-row td:first-child {
    text-align: left !important;
  }
}
/* Hero market table global alignment */
.hero-market-table th,
.hero-market-table td {
  text-align: center !important;
}

.hero-market-table .hero-market-group-row td,
.hero-market-table .hero-market-group-row td:first-child {
  text-align: left !important;
}

/* News category colors and meta alignment */
.news-card-meta {
  justify-content: space-between !important;
  width: 100%;
}

.news-card-meta time {
  margin-left: auto;
  text-align: right;
  white-space: nowrap;
}

.news-card-meta .news-category-badge,
.news-category-badge {
  align-items: center;
  border: 1px solid transparent;
  display: inline-flex;
  gap: 6px;
  line-height: 1;
  white-space: nowrap;
}

.news-card-meta .news-category-badge::before,
.news-category-badge::before {
  border-radius: 50%;
  content: "";
  flex: 0 0 auto;
  height: 7px;
  width: 7px;
}

.news-category-risk {
  background: rgba(225, 42, 42, 0.12) !important;
  border-color: rgba(225, 42, 42, 0.24) !important;
  color: #d92828 !important;
}

.news-category-risk::before {
  background: #e12a2a;
}

.news-category-carbon {
  background: rgba(21, 166, 91, 0.13) !important;
  border-color: rgba(21, 166, 91, 0.25) !important;
  color: #0d9b55 !important;
}

.news-category-carbon::before {
  background: #15a65b;
}

.news-category-market {
  background: rgba(29, 112, 216, 0.13) !important;
  border-color: rgba(29, 112, 216, 0.25) !important;
  color: #1d70d8 !important;
}

.news-category-market::before {
  background: #1d70d8;
}

.news-category-membership {
  background: rgba(126, 69, 214, 0.13) !important;
  border-color: rgba(126, 69, 214, 0.25) !important;
  color: #7e45d6 !important;
}

.news-category-membership::before {
  background: #7e45d6;
}

.latest-news-card .news-card-meta .news-category-badge {
  color: inherit;
}

/* Compact hero contract table */
.hero-market-table-wrap {
  border-radius: 14px !important;
}

.hero-market-table-title {
  padding: 10px 14px !important;
}

.hero-market-table-title span {
  font-size: 11px !important;
  letter-spacing: 0.06em !important;
}

.hero-market-table {
  font-size: 11px !important;
}

.hero-market-table th {
  font-size: 10px !important;
  letter-spacing: 0.04em !important;
}

.hero-market-table th,
.hero-market-table td {
  line-height: 1.2 !important;
  padding: 7px 8px !important;
}

.hero-market-table .hero-market-group-row td,
.hero-market-table .hero-market-group-row td:first-child {
  font-size: 9px !important;
  letter-spacing: 0.06em !important;
  padding: 6px 8px !important;
}

@media (max-width: 767.98px) {
  .hero-market-table-title {
    padding: 8px 8px !important;
  }
  .hero-market-table {
    font-size: 9px !important;
  }
  .hero-market-table th {
    font-size: 7.5px !important;
  }
  .hero-market-table th,
  .hero-market-table td {
    padding: 5px 2px !important;
  }
  .hero-market-table .hero-market-group-row td,
  .hero-market-table .hero-market-group-row td:first-child {
    font-size: 7.5px !important;
    padding: 5px 4px !important;
  }
}
/* Narrow hero contract table panel */
@media (min-width: 1200px) {
  .hero-market-panel {
    justify-self: end !important;
    max-width: 520px !important;
    width: 100% !important;
  }
}
@media (min-width: 768px) and (max-width: 1199.98px) {
  .hero-market-panel {
    max-width: 620px !important;
    width: 100% !important;
  }
}
/* Contract calculator page */
.hero-market-calc-action {
  display: flex;
  justify-content: end;
  padding: 10px 0px 0px 0px;
}

.hero-market-calc-btn {
  border: 1px solid rgba(20, 214, 222, 0.55);
  border-radius: 999px;
  background: linear-gradient(135deg, #00a6ad, #007d87);
  color: #ffffff !important;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  box-shadow: 0 14px 28px rgba(0, 125, 135, 0.22);
}
.hero-market-calc-btn:hover, .hero-market-calc-btn:focus {
  border-color: rgba(255, 255, 255, 0.8);
  background: linear-gradient(135deg, #16c3ca, #008f98);
  transform: translateY(-2px);
}

/* Contract calculator page: hero, form layout, calculator panels, and chart areas. */
.calculator-page-hero {
  background: linear-gradient(90deg, rgba(4, 43, 53, 0.94), rgba(4, 43, 53, 0.7)), url("../images/hero-banner.png") 70% center/cover no-repeat;
}

.calculator-section {
  background: radial-gradient(circle at 12% 8%, rgba(0, 166, 173, 0.09), transparent 34%), #f6f7f8;
}

.calculator-intro {
  max-width: 820px;
  margin: 0 auto 28px;
  text-align: center;
}
.calculator-intro h2 {
  color: #062233;
  font-size: clamp(34px, 4vw, 52px);
  font-weight: 800;
  letter-spacing: 0.02em;
  margin: 10px 0;
}
.calculator-intro p {
  color: #4f6472;
  font-size: 18px;
  line-height: 1.7;
  margin: 0;
}

.calculator-page .card-panel,
.calculator-page .calculator-panel {
  max-width: 1180px;
  margin-inline: auto;
}
.calculator-page .calculator-card,
.calculator-page .panel-body,
.calculator-page .panel-header {
  border: 1px solid rgba(0, 125, 135, 0.16);
  box-shadow: 0 18px 52px rgba(6, 34, 51, 0.08);
}
.calculator-page .calculator-card {
  margin-bottom: 18px;
  padding: 22px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.92);
}
.calculator-page .form-label {
  color: #41596a;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.calculator-page .form-control,
.calculator-page .form-select {
  min-height: 46px;
  border: 1px solid rgba(0, 125, 135, 0.18);
  border-radius: 12px;
  color: #062233;
  font-size: 16px;
  font-weight: 700;
}
.calculator-page .form-control:focus,
.calculator-page .form-select:focus {
  border-color: rgba(0, 166, 173, 0.64);
  box-shadow: 0 0 0 0.2rem rgba(0, 166, 173, 0.13);
}
.calculator-page .form-control[readonly],
.calculator-page .form-select[readonly] {
  background: #f7fbfc;
}
.calculator-page .form-control.lg {
  font-size: 20px;
}
.calculator-page .form-control.md {
  font-size: 18px;
}
.calculator-page .form-control.font-red {
  color: #dc3545 !important;
}
.calculator-page .price-mode-group {
  display: flex;
  width: 100%;
  min-height: 46px;
  margin-top: 25px;
  overflow: hidden;
  border: 1px solid rgba(0, 125, 135, 0.2);
  border-radius: 999px;
  background: #ffffff;
}
.calculator-page .price-mode-group button {
  flex: 1;
  border: 0;
  background: transparent;
  color: #526b79;
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
}
.calculator-page .price-mode-group button.active {
  background: #007d87;
  color: #ffffff;
}
.calculator-page .calculator-icons {
  display: flex;
  align-items: center;
  gap: 10px;
  padding-top: 48px;
}
.calculator-page .icon-btn {
  display: inline-flex;
  width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(0, 125, 135, 0.1);
  color: #007d87;
  cursor: pointer;
  transition: 0.2s ease;
  user-select: none;
}
.calculator-page .icon-btn:hover {
  background: #007d87;
  color: #ffffff;
  transform: translateY(-2px);
}
.calculator-page .contract-detail {
  display: flex;
  min-height: 48px;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin: 18px 0 0;
  padding: 12px;
  border: 1px solid rgba(0, 125, 135, 0.16);
  border-radius: 14px;
  background: #edf8f9;
}
.calculator-page .contract-detail.sticky {
  position: fixed;
  top: 86px;
  right: 16px;
  left: 16px;
  z-index: 1000;
  max-width: calc(100% - 32px);
  margin: 0 auto;
  box-shadow: 0 16px 44px rgba(6, 34, 51, 0.16);
}
.calculator-page .contract-detail label {
  margin: 0;
  padding: 6px 10px;
  border-radius: 999px;
  background: #ffffff;
  color: #41596a;
  font-size: 13px;
  white-space: nowrap;
}
.calculator-page .contract-detail .max_price {
  background: #007d87;
  color: #ffffff;
}
.calculator-page .expansion-wrap {
  margin-bottom: 16px;
}
.calculator-page .panel-header {
  display: flex;
  align-items: center;
  padding: 18px 22px;
  border-radius: 16px;
  background: #ffffff;
  cursor: pointer;
  user-select: none;
}
.calculator-page .panel-header h5 {
  margin: 0;
  color: #062233;
  font-size: 18px;
  font-weight: 800;
}
.calculator-page .panel-header .chevron {
  margin-left: auto;
  color: #007d87;
  transition: transform 0.2s ease;
}
.calculator-page .panel-header.open {
  border-radius: 16px 16px 0 0;
}
.calculator-page .panel-header.open .chevron {
  transform: rotate(180deg);
}
.calculator-page .panel-body {
  display: none;
  padding: 22px;
  border-top: 0;
  border-radius: 0 0 16px 16px;
  background: #ffffff;
}
.calculator-page .panel-body.open {
  display: block;
}
.calculator-page .btn-calc {
  min-height: 50px;
  border: 0;
  border-radius: 999px;
  background: linear-gradient(135deg, #00a6ad, #007d87);
  color: #ffffff;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.calculator-page .btn-calc:hover, .calculator-page .btn-calc:focus {
  background: linear-gradient(135deg, #16c3ca, #008f98);
  color: #ffffff;
}
.calculator-page .hint,
.calculator-page .error-note {
  margin-top: 12px;
  color: #5d7482;
  font-size: 14px;
}
.calculator-page .error-note {
  color: #dc3545;
}
.calculator-page .input-with-warn {
  position: relative;
}
.calculator-page .input-with-warn .warn-icon {
  position: absolute;
  top: 39px;
  right: 12px;
  color: #f59f00;
  cursor: help;
}
.calculator-page .chart-wrap {
  min-height: 240px;
  margin-top: 12px;
  padding: 12px;
  border: 1px solid rgba(0, 125, 135, 0.14);
  border-radius: 16px;
  background: #f7fbfc;
}
.calculator-page .chart-wrap.hidden {
  display: none;
}
.calculator-page #chart_bar,
.calculator-page #chart_donut {
  width: 100%;
  height: 260px;
}
.calculator-page #chart_donut {
  height: 340px;
}
.calculator-page .modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 3000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 18px;
  background: rgba(0, 23, 29, 0.62);
}
.calculator-page .modal-overlay.open {
  display: flex;
}
.calculator-page .modal-box {
  width: 100%;
  max-width: 620px;
  max-height: 90vh;
  overflow-y: auto;
  padding: 24px;
  border-radius: 18px;
  background: #ffffff;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.24);
}
.calculator-page .modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
  padding: 0;
  border: 0;
}
.calculator-page .modal-header h2 {
  margin: 0;
  color: #062233;
  font-size: 22px;
  font-weight: 800;
}
.calculator-page .specs-table {
  overflow: hidden;
  border: 1px solid rgba(0, 125, 135, 0.14);
  border-radius: 14px;
}
.calculator-page .specs-table .row {
  margin: 0;
  border-bottom: 1px solid rgba(0, 125, 135, 0.1);
}
.calculator-page .specs-table .row:last-child {
  border-bottom: 0;
}
.calculator-page .specs-table .col-6 {
  padding: 11px 14px;
}
.calculator-page .specs-table .header-cell {
  background: #edf8f9;
  color: #007d87;
  font-weight: 800;
}
.calculator-page .d-none-imp {
  display: none !important;
}

@media (min-width: 992px) {
  .calculator-page #chart_bar_wrap {
    display: block !important;
  }
  .calculator-page #chart_donut_wrap {
    display: none !important;
  }
}
@media (max-width: 991.98px) {
  .calculator-page .price-mode-group {
    margin-top: 0;
  }
  .calculator-page .calculator-icons {
    padding-top: 0;
  }
  .calculator-page #chart_bar_wrap {
    display: none !important;
  }
  .calculator-page #chart_donut_wrap {
    display: block !important;
  }
}
@media (max-width: 767.98px) {
  .hero-market-calc-action {
    padding: 10px 8px 12px;
  }
  .hero-market-calc-btn {
    min-height: 34px;
    min-width: 118px;
    font-size: 10px;
  }
  .calculator-page .calculator-intro p {
    font-size: 15px;
  }
  .calculator-page .calculator-card,
  .calculator-page .panel-body,
  .calculator-page .panel-header {
    padding: 16px;
  }
  .calculator-page .hide-on-mobile {
    display: none !important;
  }
}
/* Calculator structured modern layout */
.calculator-page {
  background: #f6f7f8;
}
.calculator-page .calculator-workspace {
  padding: 62px 0 70px;
  background: radial-gradient(circle at 12% 8%, rgba(0, 166, 173, 0.09), transparent 34%), #f6f7f8;
}
.calculator-page .calculator-container {
  max-width: 1280px;
  padding-right: 18px;
  padding-left: 18px;
}
.calculator-page .calculator-page-title {
  margin: 0 auto 28px;
  color: #062233;
  font-size: clamp(34px, 4vw, 52px);
  font-weight: 800;
  letter-spacing: 0.02em;
  text-align: center;
}

@media (max-width: 991.98px) {
  .calculator-page .calculator-workspace {
    padding-top: 48px;
  }
}
@media (max-width: 767.98px) {
  .calculator-page .calculator-workspace {
    padding: 36px 0 42px;
  }
  .calculator-page .calculator-container {
    padding-right: 12px;
    padding-left: 12px;
  }
  .calculator-page .calculator-page-title {
    margin-bottom: 20px;
    font-size: 30px;
  }
}
/* calculator mobile page hero starts under transparent nav */
@media (max-width: 991.98px) {
  body.modern-site.calculator-page:has(.modern-page-hero) {
    padding-top: 0;
  }
}
/* Calculator form and modal polish */
.calculator-page .calculator-card > .row {
  align-items: end !important;
}
@media (min-width: 1200px) {
  .calculator-page .calculator-card .form-label {
    white-space: nowrap;
  }
  .calculator-page .calculator-card .form-control,
  .calculator-page .calculator-card .form-select {
    min-height: 48px;
  }
  .calculator-page .calculator-card .price-mode-group {
    margin-top: 0;
  }
  .calculator-page .calculator-card .calculator-icons {
    justify-content: flex-end;
    padding-top: 0;
    padding-bottom: 3px;
  }
}
.calculator-page .contract-detail,
.calculator-page .contract-detail.sticky {
  position: static !important;
  inset: auto !important;
  z-index: auto !important;
  max-width: none !important;
  width: 100% !important;
  margin: 18px 0 0 !important;
  box-shadow: none !important;
}
.calculator-page .contract-detail {
  justify-content: flex-start;
  gap: 8px;
  padding: 14px;
  border: 1px solid rgba(0, 125, 135, 0.18);
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(0, 166, 173, 0.08), rgba(255, 255, 255, 0.95)), #ffffff;
}
.calculator-page .contract-detail label {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 7px 12px;
  border: 1px solid rgba(0, 125, 135, 0.12);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.86);
  color: #41596a;
  font-size: 13px;
  box-shadow: 0 8px 18px rgba(6, 34, 51, 0.05);
}
.calculator-page .contract-detail label b {
  margin-right: 4px;
  color: #062233;
}
.calculator-page .contract-detail .max_price {
  border-color: rgba(0, 125, 135, 0.28);
  background: #007d87;
  color: #ffffff;
}
.calculator-page .contract-detail .max_price b {
  color: #ffffff;
}
.calculator-page #specs_modal .modal-box {
  max-width: 760px;
  border: 1px solid rgba(0, 166, 173, 0.2);
  background: radial-gradient(circle at 0 0, rgba(0, 166, 173, 0.12), transparent 38%), #ffffff;
}
.calculator-page #specs_modal #specs_title {
  margin-bottom: 18px !important;
  color: #007d87;
  font-size: 16px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.calculator-page #specs_modal .specs-table {
  border: 0;
  border-radius: 18px;
  background: #ffffff;
  box-shadow: 0 16px 40px rgba(6, 34, 51, 0.08);
}
.calculator-page #specs_modal .specs-table .row {
  align-items: stretch;
  border-bottom: 1px solid rgba(0, 125, 135, 0.08);
}
.calculator-page #specs_modal .specs-table .col-6 {
  display: flex;
  align-items: center;
  min-height: 46px;
  padding: 12px 16px;
  color: #062233;
  font-size: 15px;
}
.calculator-page #specs_modal .specs-table .header-cell {
  background: #edf8f9;
  color: #007d87;
  font-weight: 800;
}
.calculator-page #price_modal #btn_tp_calc {
  min-width: 150px;
  border: 0;
  border-radius: 999px;
  background: linear-gradient(135deg, #00a6ad, #007d87);
  color: #ffffff;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.calculator-page #price_modal #btn_tp_calc:hover, .calculator-page #price_modal #btn_tp_calc:focus {
  background: linear-gradient(135deg, #16c3ca, #008f98);
  color: #ffffff;
}
.calculator-page #price_modal .col-md-4.mt-2:has(#btn_tp_calc) {
  display: flex;
  justify-content: flex-end;
  width: 100%;
}

@media (max-width: 767.98px) {
  .calculator-page .calculator-card > .row > [class*=col-] {
    width: 100%;
    flex: 0 0 100%;
  }
  .calculator-page .calculator-icons {
    justify-content: flex-start;
  }
  .calculator-page .contract-detail {
    display: none !important;
  }
  .calculator-page #price_modal .col-md-4.mt-2:has(#btn_tp_calc) {
    justify-content: stretch;
  }
  .calculator-page #price_modal #btn_tp_calc {
    width: 100%;
  }
}
/* Calculator deterministic desktop input row */
@media (min-width: 1200px) {
  .calculator-page .calculator-card > .row > [class*=col-] {
    flex: 0 0 auto;
  }
  .calculator-page .calculator-card > .row > [class*=col-]:nth-child(1) {
    width: 33.333333%;
  }
  .calculator-page .calculator-card > .row > [class*=col-]:nth-child(2),
  .calculator-page .calculator-card > .row > [class*=col-]:nth-child(6) {
    width: 8.333333%;
  }
  .calculator-page .calculator-card > .row > [class*=col-]:nth-child(3),
  .calculator-page .calculator-card > .row > [class*=col-]:nth-child(4),
  .calculator-page .calculator-card > .row > [class*=col-]:nth-child(5) {
    width: 16.666667%;
  }
}
/* Calculator user-owned values and scrolling specs modal */
.calculator-page #specs_modal .modal-box {
  display: flex;
  max-height: min(760px, 90vh);
  flex-direction: column;
  overflow: hidden;
}
.calculator-page #specs_modal .modal-header {
  flex: 0 0 auto;
}
.calculator-page #specs_modal .modal-scroll-body {
  min-height: 0;
  overflow-y: auto;
  padding-right: 4px;
  scrollbar-color: rgba(0, 125, 135, 0.45) rgba(0, 125, 135, 0.08);
  scrollbar-width: thin;
}
.calculator-page #specs_modal .modal-scroll-body::-webkit-scrollbar {
  width: 8px;
}
.calculator-page #specs_modal .modal-scroll-body::-webkit-scrollbar-track {
  border-radius: 999px;
  background: rgba(0, 125, 135, 0.08);
}
.calculator-page #specs_modal .modal-scroll-body::-webkit-scrollbar-thumb {
  border-radius: 999px;
  background: rgba(0, 125, 135, 0.45);
}

/* Home hero fit: keep desktop composition visible on compact screens such as Nest Hub. */
@media (min-width: 992px) and (max-width: 1199.98px) {
  .template-hero {
    min-height: min(100svh, 680px) !important;
  }
  .template-hero .modern-hero-content {
    grid-template-columns: minmax(0, 0.95fr) minmax(350px, 0.8fr) !important;
    gap: clamp(22px, 3vw, 38px) !important;
    min-height: calc(min(100svh, 680px) - 58px) !important;
    padding-top: 86px !important;
    padding-bottom: 70px !important;
    margin-inline: clamp(28px, 5vw, 70px) !important;
  }
  .template-hero .hero-copy {
    align-items: flex-start !important;
    margin-inline: 0 !important;
    text-align: left !important;
  }
  .template-hero .hero-actions {
    justify-content: flex-start !important;
  }
  .hero-market-panel {
    justify-self: end;
    max-width: 500px !important;
    width: 100%;
  }
}
@media (min-width: 992px) and (max-height: 720px) {
  .template-hero {
    min-height: 100svh !important;
    overflow: hidden;
  }
  .template-hero .modern-hero-content {
    min-height: calc(100svh - 54px) !important;
    padding-top: 76px !important;
    padding-bottom: 56px !important;
  }
  .template-hero .hero-badge {
    margin-bottom: 12px !important;
    padding-block: 8px !important;
  }
  .template-hero .hero-copy h1 {
    font-size: clamp(36px, 5vw, 36px) !important;
    margin-bottom: 12px !important;
  }
  .template-hero .hero-kicker {
    font-size: clamp(18px, 2.2vw, 20px) !important;
    margin-bottom: 8px !important;
  }
  .template-hero .hero-copy p:not(.hero-kicker) {
    font-size: 14px !important;
    line-height: 1.5 !important;
    margin-bottom: 14px !important;
    max-width: 590px !important;
  }
  .template-hero .hero-actions {
    margin-top: 10px !important;
  }
  .template-hero .hero-primary-btn,
  .template-hero .hero-secondary-btn {
    min-height: 44px !important;
    padding: 10px 18px !important;
  }
  .hero-market-panel {
    border-radius: 18px !important;
    max-width: 460px !important;
    padding: 16px 18px 8px 18px !important;
  }
  .hero-market-panel-head {
    margin-bottom: 10px !important;
  }
  .hero-market-kpis {
    gap: 8px !important;
    margin-bottom: 10px !important;
  }
  .hero-market-kpis div {
    border-radius: 12px !important;
    padding: 9px 8px !important;
  }
  .hero-market-kpis strong {
    font-size: 24px !important;
    margin-top: 4px !important;
  }
  .hero-market-table-title {
    padding: 9px 12px !important;
  }
  .hero-market-table {
    font-size: 11px !important;
  }
  .hero-market-table th,
  .hero-market-table td {
    line-height: 1.2 !important;
    padding: 6px 8px !important;
  }
  .hero-market-calc-action {
    padding: 10px 0px 0px 0px !important;
  }
  .hero-market-calc-btn {
    min-height: 36px !important;
    padding: 8px 16px !important;
  }
  .hero-market-ticker .hero-topic-track {
    min-height: 50px !important;
  }
}
@media (min-width: 1200px) and (max-height: 760px) {
  .template-hero {
    min-height: 100svh !important;
    overflow: hidden;
  }
  .template-hero .modern-hero-content {
    min-height: calc(100svh - 54px) !important;
    padding-top: 82px !important;
    padding-bottom: 58px !important;
  }
  .template-hero .hero-copy h1 {
    font-size: clamp(44px, 4.5vw, 46px) !important;
  }
  .hero-market-panel {
    max-width: 520px !important;
    padding: 18px 18px 8px 18px !important;
  }
}
/* Final compact desktop correction: include hero padding inside the available height. */
@media (min-width: 992px) and (max-height: 720px) {
  .template-hero .modern-hero-content {
    box-sizing: border-box !important;
    min-height: calc(100svh - 50px) !important;
    padding-top: 70px !important;
    padding-bottom: 44px !important;
  }
  .hero-market-panel-head span,
  .hero-market-table-title span,
  .hero-market-kpis span {
    font-size: 10px !important;
  }
  .hero-market-panel-head strong {
    font-size: 12px !important;
  }
  .hero-market-kpis div {
    min-height: 0 !important;
    padding: 7px 6px !important;
  }
  .hero-market-kpis strong {
    font-size: 20px !important;
  }
  .hero-market-table-title {
    min-height: 0 !important;
    padding: 7px 10px !important;
  }
  .hero-market-table th,
  .hero-market-table td {
    font-size: 10px !important;
    padding: 4px 7px !important;
  }
  .hero-market-table tr,
  .hero-market-table .market-group-row,
  .hero-market-table .hero-market-group-row {
    min-height: 0 !important;
  }
  .hero-market-table td[colspan],
  .hero-market-table .market-group-row td,
  .hero-market-table .hero-market-group-row td {
    padding-block: 5px !important;
  }
  .hero-market-calc-action {
    padding: 6px 8px !important;
  }
  .hero-market-calc-btn {
    font-size: 10px !important;
    min-height: 30px !important;
    padding: 6px 14px !important;
  }
}
/* Nest Hub hero table compression: keep the ticker in view without changing mobile layout. */
@media (min-width: 992px) and (max-height: 720px) {
  .template-hero .modern-hero-content {
    min-height: calc(100svh - 50px) !important;
    padding-top: 54px !important;
    padding-bottom: 30px !important;
  }
  .template-hero .hero-copy h1 {
    font-size: clamp(34px, 4.25vw, 40px) !important;
  }
  .template-hero .hero-copy p:not(.hero-kicker) {
    max-width: 540px !important;
  }
  .hero-market-panel {
    max-width: 430px !important;
    padding: 10px !important;
  }
  .hero-market-panel-head {
    margin-bottom: 8px !important;
  }
  .hero-market-kpis {
    margin-bottom: 8px !important;
  }
  .hero-market-kpis div {
    padding: 5px !important;
  }
  .hero-market-kpis strong {
    font-size: 18px !important;
  }
  .hero-market-table-title {
    padding: 6px 8px !important;
  }
  .hero-market-table th,
  .hero-market-table td {
    font-size: 9px !important;
    line-height: 1.15 !important;
    padding: 3px 6px !important;
  }
  .hero-market-table .contract-code-button {
    border-radius: 5px !important;
    font-size: 9px !important;
    line-height: 1 !important;
    padding: 4px 6px !important;
  }
  .hero-market-calc-action {
    padding: 4px 6px !important;
  }
  .hero-market-calc-btn {
    font-size: 9px !important;
    min-height: 26px !important;
    padding: 4px 12px !important;
  }
}
/* Nest Hub final fit: reserve enough vertical room for the full market ticker. */
@media (min-width: 992px) and (max-height: 720px) {
  .template-hero .modern-hero-content {
    min-height: calc(100svh - 92px) !important;
  }
  .hero-market-ticker .hero-topic-track {
    min-height: 48px !important;
  }
}
/* Short desktop hero fit: use compact market panel so ticker remains visible. */
@media (min-width: 1200px) and (max-height: 820px) {
  .template-hero {
    min-height: 100svh !important;
    overflow: hidden;
  }
  .template-hero .modern-hero-content {
    box-sizing: border-box !important;
    min-height: calc(100svh - 92px) !important;
    padding-top: 78px !important;
    padding-bottom: 38px !important;
  }
  .template-hero .hero-copy h1 {
    font-size: clamp(42px, 4.2vw, 42px) !important;
  }
  .template-hero .hero-copy p:not(.hero-kicker) {
    font-size: 15px !important;
    line-height: 1.5 !important;
    margin-bottom: 14px !important;
  }
  .hero-market-panel {
    max-width: 500px !important;
    padding: 12px !important;
  }
  .hero-market-panel-head {
    margin-bottom: 8px !important;
  }
  .hero-market-kpis {
    gap: 8px !important;
    margin-bottom: 8px !important;
  }
  .hero-market-kpis div {
    min-height: 0 !important;
    padding: 6px !important;
  }
  .hero-market-kpis strong {
    font-size: 20px !important;
    margin-top: 4px !important;
  }
  .hero-market-table-title {
    padding: 7px 10px !important;
  }
  .hero-market-table th,
  .hero-market-table td {
    font-size: 10px !important;
    line-height: 1.15 !important;
    padding: 4px 7px !important;
  }
  .hero-market-table .contract-code-button {
    font-size: 10px !important;
    line-height: 1 !important;
    padding: 4px 7px !important;
  }
  .hero-market-calc-action {
    padding: 5px 8px !important;
  }
  .hero-market-calc-btn {
    font-size: 10px !important;
    min-height: 28px !important;
    padding: 5px 14px !important;
  }
  .hero-market-ticker .hero-topic-track {
    min-height: 50px !important;
  }
}
/* Tablet navbar fit: iPad Mini, iPad Air, Surface Pro portrait widths. */
@media (min-width: 768px) and (max-width: 991.98px) {
  body.modern-site:has(.modern-hero),
  body.modern-site:has(.modern-page-hero) {
    padding-top: 82px;
  }
  .modern-header {
    min-height: 82px;
  }
  .modern-nav {
    align-items: center;
    min-height: 74px;
    padding: 10px 22px !important;
  }
  .modern-logo {
    min-width: 94px !important;
  }
  .modern-logo img {
    height: 58px !important;
    max-height: 58px !important;
    object-fit: contain;
    width: auto !important;
  }
  .modern-header .navbar-toggler {
    align-items: center;
    display: inline-flex;
    height: 38px;
    justify-content: center;
    padding: 7px 10px;
    width: 42px;
  }
  .modern-header .navbar-collapse.show,
  .modern-header .navbar-collapse.collapsing {
    margin-top: 10px;
  }
}
/* Contract calculator navbar should follow the same responsive spacing as all inner pages. */
@media (max-width: 991.98px) {
  body.modern-site.calculator-page:has(.modern-page-hero) {
    padding-top: 76px !important;
  }
}
@media (min-width: 768px) and (max-width: 991.98px) {
  body.modern-site.calculator-page:has(.modern-page-hero) {
    padding-top: 82px !important;
  }
}
/* Calculator contract details remain visible and readable on small screens. */
@media (max-width: 767.98px) {
  .calculator-page .contract-detail:not(.d-none-imp),
  .calculator-page .contract-detail.hide-on-mobile:not(.d-none-imp) {
    display: grid !important;
    grid-template-columns: 1fr;
    gap: 8px;
    margin-top: 14px !important;
    padding: 12px !important;
    border-radius: 14px;
  }
  .calculator-page .contract-detail label {
    display: grid;
    grid-template-columns: minmax(96px, 0.45fr) minmax(0, 1fr);
    align-items: center;
    gap: 8px;
    width: 100%;
    min-height: 0;
    margin: 0;
    padding: 9px 10px;
    border-radius: 10px;
    white-space: normal;
    box-shadow: 0 6px 14px rgba(6, 34, 51, 0.04);
  }
  .calculator-page .contract-detail label b {
    margin-right: 0;
    color: #506472;
    font-size: 12px;
    line-height: 1.25;
  }
  .calculator-page .contract-detail label span {
    min-width: 0;
    color: #06151d;
    font-size: 13px;
    font-weight: 800;
    line-height: 1.25;
    overflow-wrap: anywhere;
    text-align: right;
  }
  .calculator-page .contract-detail .max_price {
    background: linear-gradient(135deg, #007d87, #009da8);
    color: #ffffff;
  }
  .calculator-page .contract-detail .max_price b,
  .calculator-page .contract-detail .max_price span {
    color: #ffffff;
  }
}
@media (max-width: 390px) {
  .calculator-page .contract-detail label {
    grid-template-columns: 1fr;
    gap: 3px;
  }
  .calculator-page .contract-detail label span {
    text-align: left;
  }
}
/* Keep mobile contract detail compact on standard phone widths. */
@media (min-width: 361px) and (max-width: 767.98px) {
  .calculator-page .contract-detail label {
    grid-template-columns: minmax(96px, 0.45fr) minmax(0, 1fr) !important;
    gap: 8px !important;
  }
  .calculator-page .contract-detail label span {
    text-align: right !important;
  }
}
@media (max-width: 360px) {
  .calculator-page .contract-detail label {
    grid-template-columns: 1fr !important;
    gap: 3px !important;
  }
  .calculator-page .contract-detail label span {
    text-align: left !important;
  }
}
/* Compact highlighted Max/Price rows in mobile contract details. */
@media (max-width: 767.98px) {
  .calculator-page .contract-detail .max_price {
    display: flex !important;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    min-height: 36px;
  }
  .calculator-page .contract-detail .max_price span {
    flex: 1 1 auto;
    min-width: 0;
    text-align: right !important;
  }
}
/* Education page */

/* Awareness page: tabs, documents, video embeds, image carousel, and lightbox. */
.education-page-hero {
  background: linear-gradient(90deg, rgba(4, 43, 53, 0.94), rgba(4, 43, 53, 0.62)), url("../images/hero-banner.png") 70% center/cover no-repeat;
}

.education-section {
  background: radial-gradient(circle at 10% 10%, rgba(0, 166, 173, 0.09), transparent 30%), radial-gradient(circle at 90% 20%, rgba(0, 126, 135, 0.08), transparent 30%), #f6f7f8;
}

.education-head {
  max-width: 820px;
  margin: 0 auto 32px;
  text-align: center;
}
.education-head h2 {
  margin: 8px 0 10px;
  color: #062233;
  font-size: clamp(38px, 4.5vw, 60px);
  font-weight: 800;
  letter-spacing: 0.02em;
}
.education-head p {
  margin: 0;
  color: #526674;
  font-size: clamp(16px, 1.4vw, 19px);
  line-height: 1.7;
}

.education-tabs {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin: 0 auto 28px;
  padding: 8px;
  border: 1px solid rgba(0, 125, 135, 0.15);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 18px 45px rgba(6, 34, 51, 0.08);
  width: fit-content;
  max-width: 100%;
}
.education-tabs .nav-link {
  min-width: 148px;
  border: 0;
  border-radius: 999px;
  color: #41596a;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.04em;
  padding: 12px 22px 10px;
  text-transform: uppercase;
}
.education-tabs .nav-link:hover, .education-tabs .nav-link.active {
  background: linear-gradient(135deg, #00a6ad, #007d87);
  color: #ffffff;
  box-shadow: 0 12px 24px rgba(0, 125, 135, 0.22);
}

.education-tab-content {
  padding: clamp(22px, 3vw, 34px);
  border: 1px solid rgba(0, 125, 135, 0.14);
  border-radius: 26px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 28px 70px rgba(6, 34, 51, 0.08);
}

.education-panel-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 24px;
  padding-bottom: 18px;
  border-bottom: 1px solid rgba(0, 125, 135, 0.12);
}
.education-panel-head h3 {
  margin: 0 0 6px;
  color: #062233;
  font-size: clamp(24px, 2.8vw, 34px);
  font-weight: 800;
}
.education-panel-head p {
  max-width: 650px;
  margin: 0;
  color: #5b6d78;
  font-size: 16px;
  line-height: 1.6;
}
.education-panel-head > span {
  flex: 0 0 auto;
  border: 1px solid rgba(0, 125, 135, 0.18);
  border-radius: 999px;
  background: #edf8f9;
  color: #007d87;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.06em;
  padding: 9px 14px 7px;
  text-transform: uppercase;
}

.education-resource-card,
.education-media-card {
  height: 100%;
  border: 1px solid rgba(0, 125, 135, 0.13);
  border-radius: 18px;
  background: #ffffff;
  box-shadow: 0 18px 42px rgba(6, 34, 51, 0.07);
  transition: transform 0.24s ease, box-shadow 0.24s ease, border-color 0.24s ease;
}
.education-resource-card:hover,
.education-media-card:hover {
  border-color: rgba(0, 166, 173, 0.34);
  box-shadow: 0 28px 58px rgba(6, 34, 51, 0.11);
  transform: translateY(-5px);
}

.education-resource-card {
  display: flex;
  gap: 16px;
  padding: 18px;
}
.education-resource-card h4 {
  margin: 5px 0 8px;
  color: #062233;
  font-size: 20px;
  font-weight: 800;
  line-height: 1.25;
}
.education-resource-card p {
  margin: 0 0 14px;
  color: #5a6c78;
  font-size: 15px;
  line-height: 1.55;
}
.education-resource-card a,
.education-resource-card .education-muted-link {
  color: #007d87;
  font-size: 13px;
  font-weight: 800;
  text-decoration: none;
  text-transform: uppercase;
}
.education-resource-card.is-coming-soon {
  background: linear-gradient(135deg, #ffffff, #f3fbfc);
}

.education-resource-icon {
  display: inline-flex;
  flex: 0 0 54px;
  width: 54px;
  height: 54px;
  align-items: center;
  justify-content: center;
  border-radius: 16px;
  background: #007d87;
  color: #ffffff;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.06em;
}
.education-resource-icon.pdf {
  background: linear-gradient(135deg, #007d87, #00a6ad);
}
.education-resource-icon.doc {
  background: linear-gradient(135deg, #254f8f, #2f7ed8);
}
.education-resource-icon.ppt {
  background: linear-gradient(135deg, #b65a22, #f28a33);
}
.education-resource-icon.video {
  background: linear-gradient(135deg, #5f2b8a, #9a55d6);
}

.education-resource-type {
  color: #007d87;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.education-media-card {
  overflow: hidden;
}
.education-media-card img {
  width: 100%;
  height: 210px;
  object-fit: cover;
}

.education-video-card {
  min-height: 100%;
}

.education-media-frame {
  position: relative;
  overflow: hidden;
  background: #062233;
  aspect-ratio: 16/9;
}
.education-media-frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.education-media-body {
  padding: 18px;
}
.education-media-body h4 {
  margin: 6px 0 8px;
  color: #062233;
  font-size: 20px;
  font-weight: 800;
}
.education-media-body p {
  margin: 0;
  color: #5a6c78;
  font-size: 15px;
  line-height: 1.6;
}

@media (max-width: 991.98px) {
  .education-panel-head {
    align-items: flex-start;
    flex-direction: column;
  }
}
@media (max-width: 575.98px) {
  .education-tabs {
    width: 100%;
    border-radius: 18px;
  }
  .education-tabs .nav-item {
    flex: 1 1 0;
  }
  .education-tabs .nav-link {
    width: 100%;
    min-width: 0;
    padding-inline: 12px;
    font-size: 12px;
  }
  .education-tab-content {
    padding: 16px;
    border-radius: 18px;
  }
  .education-resource-card {
    flex-direction: column;
  }
  .education-media-card img {
    height: 180px;
  }
}
/* Education media grouping */
.education-media-groups {
  display: flex;
  flex-direction: column;
  gap: clamp(24px, 3vw, 34px);
}

.education-media-group {
  padding: clamp(18px, 2.4vw, 26px);
  border: 1px solid rgba(0, 125, 135, 0.12);
  border-radius: 22px;
  background: radial-gradient(circle at 0 0, rgba(0, 166, 173, 0.08), transparent 34%), #ffffff;
}

.education-media-group-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 18px;
}
.education-media-group-head h4 {
  margin: 5px 0 0;
  color: #062233;
  font-size: clamp(22px, 2.4vw, 30px);
  font-weight: 800;
  line-height: 1.18;
}
.education-media-group-head p {
  max-width: 520px;
  margin: 0;
  color: #5a6c78;
  font-size: 15px;
  line-height: 1.6;
  text-align: right;
}

.education-video-link-card {
  display: flex;
  height: 100%;
  gap: 16px;
  padding: 18px;
  border: 1px solid rgba(0, 125, 135, 0.14);
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(0, 125, 135, 0.08), rgba(255, 255, 255, 0.96)), #ffffff;
  box-shadow: 0 18px 42px rgba(6, 34, 51, 0.07);
  transition: transform 0.24s ease, box-shadow 0.24s ease, border-color 0.24s ease;
}
.education-video-link-card:hover {
  border-color: rgba(0, 166, 173, 0.36);
  box-shadow: 0 28px 58px rgba(6, 34, 51, 0.11);
  transform: translateY(-5px);
}
.education-video-link-card h5 {
  margin: 5px 0 8px;
  color: #062233;
  font-size: 20px;
  font-weight: 800;
  line-height: 1.25;
}
.education-video-link-card p {
  margin: 0 0 14px;
  color: #5a6c78;
  font-size: 15px;
  line-height: 1.55;
}
.education-video-link-card a {
  color: #007d87;
  font-size: 13px;
  font-weight: 800;
  text-decoration: none;
  text-transform: uppercase;
}

.education-play-icon {
  display: inline-flex;
  flex: 0 0 54px;
  width: 54px;
  height: 54px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: linear-gradient(135deg, #00a6ad, #007d87);
  color: #ffffff;
  font-size: 20px;
  box-shadow: 0 14px 28px rgba(0, 125, 135, 0.22);
}

.education-upload-card {
  overflow: hidden;
}

.education-upload-preview {
  display: flex;
  min-height: 210px;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(0, 125, 135, 0.92), rgba(4, 43, 53, 0.96)), repeating-linear-gradient(135deg, rgba(255, 255, 255, 0.12) 0 1px, transparent 1px 14px);
}
.education-upload-preview span {
  display: inline-flex;
  width: 72px;
  height: 72px;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 20px;
  color: #ffffff;
  font-weight: 900;
  letter-spacing: 0.08em;
}

@media (max-width: 767.98px) {
  .education-media-group-head {
    align-items: flex-start;
    flex-direction: column;
  }
  .education-media-group-head p {
    text-align: left;
  }
  .education-video-link-card {
    flex-direction: column;
  }
}
/* Education media player and gallery */
.education-video-trigger {
  display: flex;
  width: 100%;
  height: 100%;
  gap: 16px;
  padding: 0;
  border: 0;
  background: transparent;
  color: inherit;
  text-align: left;
}

.education-video-copy {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.education-video-title {
  display: block;
  margin: 5px 0 8px;
  color: #062233;
  font-size: 20px;
  font-weight: 800;
  line-height: 1.25;
}

.education-video-desc {
  display: block;
  margin-bottom: 14px;
  color: #5a6c78;
  font-size: 15px;
  line-height: 1.55;
}

.education-video-action {
  color: #007d87;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.education-play-icon span {
  display: block;
  width: 0;
  height: 0;
  margin-left: 4px;
  border-top: 9px solid transparent;
  border-bottom: 9px solid transparent;
  border-left: 14px solid #ffffff;
}

.education-direct-video {
  display: block;
  width: 100%;
  max-height: 440px;
  background: #032f38;
  object-fit: cover;
}

.education-image-slider {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid rgba(0, 125, 135, 0.14);
  border-radius: 24px;
  background: #062233;
  box-shadow: 0 24px 60px rgba(6, 34, 51, 0.12);
}
.education-image-slider .carousel-inner {
  order: 1;
}
.education-image-slider .carousel-item {
  min-height: clamp(320px, 44vw, 560px);
  position: relative;
  width: 100%;
}
.education-image-slider .carousel-item img {
  display: block;
  height: auto;
  max-height: clamp(320px, 44vw, 560px);
  object-fit: contain;
  object-position: center;
  width: 100%;
}
.education-image-slider .carousel-item::after {
  content: none;
}
.education-image-slider .carousel-item img {
  cursor: zoom-in;
}
.education-image-slider .carousel-control-prev,
.education-image-slider .carousel-control-next {
  width: 64px;
  opacity: 1;
}
.education-image-slider .carousel-control-prev-icon,
.education-image-slider .carousel-control-next-icon {
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 50%;
  background-size: 46%;
  background-color: rgba(0, 125, 135, 0.82);
}
.education-image-slider .carousel-indicators {
  gap: 8px;
  margin: 14px 0 0;
  order: 2;
  position: static;
}
.education-image-slider .carousel-indicators button {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.55);
}
.education-image-slider .carousel-indicators button.active {
  width: 28px;
  border-radius: 999px;
  background-color: #00c5cf;
}

.education-slide-caption {
  backdrop-filter: blur(16px);
  background: rgba(2, 32, 39, 0.76);
  border: 1px solid rgba(125, 232, 238, 0.22);
  border-radius: 16px;
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.22);
  color: #ffffff;
  margin: 14px clamp(16px, 2.4vw, 28px) 58px;
  max-width: none;
  padding: clamp(14px, 2vw, 20px);
  position: relative;
  width: calc(100% - clamp(16px, 2.4vw, 28px) * 2);
  z-index: 2;
}
.education-slide-caption span {
  background: rgba(0, 154, 166, 0.92);
  border-radius: 999px;
  display: none;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.1em;
  margin-bottom: 8px;
  padding: 5px 10px;
  text-transform: uppercase;
}
.education-slide-caption h5 {
  color: #ffffff;
  font-size: clamp(18px, 2vw, 24px);
  font-weight: 900;
  line-height: 1.12;
  margin: 0 0 6px;
}
.education-slide-caption p {
  color: rgba(255, 255, 255, 0.86);
  font-size: clamp(12px, 1.2vw, 14px);
  line-height: 1.45;
  margin: 0;
}

.education-image-slider .carousel-item .education-slide-caption {
  display: none;
}

.education-carousel-control-row {
  display: contents;
}

.education-carousel-caption-panel {
  background: rgba(2, 32, 39, 0.76);
  border-top: 1px solid rgba(125, 232, 238, 0.18);
  color: #fff;
  order: 3;
  padding: 14px clamp(16px, 2.4vw, 28px) 20px;
  text-align: center;
}

.education-carousel-caption-panel h5 {
  color: #fff;
  font-size: clamp(18px, 2vw, 24px);
  font-weight: 900;
  line-height: 1.15;
  margin: 0;
}

.education-carousel-caption-panel p {
  color: rgba(255, 255, 255, 0.78);
  font-size: clamp(12px, 1.2vw, 14px);
  line-height: 1.45;
  margin: 6px auto 0;
  max-width: 720px;
}

.education-image-lightbox {
  align-items: center;
  background: rgba(1, 18, 22, 0.92);
  display: none;
  inset: 0;
  justify-content: center;
  padding: clamp(18px, 4vw, 48px);
  position: fixed;
  z-index: 1300;
}

.education-image-lightbox.is-open {
  display: flex;
}

.education-image-lightbox img {
  border-radius: 14px;
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.42);
  max-height: 92vh;
  max-width: 96vw;
  object-fit: contain;
}

.education-image-lightbox button {
  align-items: center;
  background: var(--modern-teal);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 999px;
  color: #fff;
  display: inline-flex;
  font-size: 24px;
  height: 44px;
  justify-content: center;
  line-height: 1;
  position: absolute;
  right: clamp(16px, 3vw, 34px);
  top: clamp(16px, 3vw, 34px);
  width: 44px;
}

.education-video-modal {
  position: fixed;
  z-index: 1080;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
}
.education-video-modal.is-open {
  display: flex;
}

.education-video-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(2, 22, 28, 0.78);
  backdrop-filter: blur(10px);
}

.education-video-modal-dialog {
  position: relative;
  z-index: 1;
  width: min(100%, 980px);
  overflow: hidden;
  border: 1px solid rgba(0, 166, 173, 0.24);
  border-radius: 24px;
  background: #ffffff;
  box-shadow: 0 32px 90px rgba(2, 22, 28, 0.34);
}

.education-video-modal-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 22px;
  border-bottom: 1px solid rgba(0, 125, 135, 0.12);
}
.education-video-modal-head h3 {
  margin: 0;
  color: #062233;
  font-size: 22px;
  font-weight: 900;
}

.education-video-modal-close {
  display: inline-flex;
  width: 40px;
  height: 40px;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 50%;
  background: #007d87;
  color: #ffffff;
  font-size: 18px;
  font-weight: 900;
}

.education-video-modal-frame {
  aspect-ratio: 16/9;
  background: #031c23;
}
.education-video-modal-frame iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}

@media (max-width: 767.98px) {
  .education-video-trigger {
    flex-direction: column;
  }
  .education-image-slider .carousel-item {
    min-height: 0;
  }
  .education-image-slider .carousel-item img {
    max-height: none;
  }
  .education-image-slider .carousel-control-prev,
  .education-image-slider .carousel-control-next {
    position: static;
    inset: auto;
    flex: 0 0 44px;
    height: 44px;
    width: 48px;
    transform: none;
  }
  .education-image-slider .carousel-control-prev-icon,
  .education-image-slider .carousel-control-next-icon {
    width: 38px;
    height: 38px;
  }
  .education-image-slider .carousel-indicators {
    flex: 0 1 auto;
    margin: 0;
    min-width: 0;
  }
  .education-carousel-control-row {
    align-items: center;
    display: flex;
    gap: 12px;
    justify-content: center;
    order: 2;
    padding: 14px 16px 0;
  }
  .education-slide-caption {
    margin: 12px 14px 52px;
    width: calc(100% - 28px);
  }
  .education-slide-caption h5 {
    font-size: 20px;
  }
  .education-slide-caption p {
    font-size: 14px;
  }
  .education-video-modal {
    padding: 12px;
  }
  .education-video-modal-head {
    padding: 14px 16px;
  }
  .education-video-modal-head h3 {
    font-size: 18px;
  }
}
.education-media-group.is-image-gallery {
  padding-bottom: 0;
}
.education-media-group.is-image-gallery .education-image-slider {
  margin-right: calc(clamp(18px, 2.4vw, 26px) * -1);
  margin-left: calc(clamp(18px, 2.4vw, 26px) * -1);
  border-right: 0;
  border-bottom: 0;
  border-left: 0;
  border-radius: 0 0 22px 22px;
}

/* Education inline external videos */
.education-embed-card {
  display: block;
  padding: 0;
  overflow: hidden;
}

.education-external-video {
  aspect-ratio: 16/9;
  width: 100%;
  background: #031c23;
}
.education-external-video iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}

.education-embed-card .education-media-body {
  padding: 18px;
}

/* PDF viewer page */

/* PDF viewer page: document frame, toolbar, back link, and unavailable message. */
.pdf-viewer-page {
  background: #f6f8f9;
}

.pdf-viewer-hero {
  min-height: 320px;
}

.pdf-viewer-section {
  padding-top: clamp(34px, 5vw, 64px);
}

.pdf-viewer-shell {
  overflow: hidden;
  border: 1px solid rgba(0, 125, 135, 0.16);
  border-radius: 24px;
  background: #ffffff;
  box-shadow: 0 24px 70px rgba(6, 34, 51, 0.1);
}

.pdf-viewer-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: clamp(18px, 3vw, 28px);
  border-bottom: 1px solid rgba(0, 125, 135, 0.12);
  background: radial-gradient(circle at 0 0, rgba(0, 166, 173, 0.08), transparent 32%), #ffffff;
}
.pdf-viewer-toolbar h2 {
  margin: 6px 0 0;
  color: #062233;
  font-size: clamp(24px, 3vw, 36px);
  font-weight: 900;
}

.pdf-viewer-frame {
  display: block;
  width: 100%;
  height: min(78vh, 920px);
  min-height: 620px;
  border: 0;
  background: #eef4f6;
}

.pdf-viewer-error {
  margin: 24px;
  padding: 18px;
  border: 1px solid rgba(0, 125, 135, 0.2);
  border-radius: 16px;
  background: rgba(0, 125, 135, 0.08);
  color: #062233;
  font-weight: 800;
  text-align: center;
}

@media (max-width: 767.98px) {
  .pdf-viewer-toolbar {
    align-items: flex-start;
    flex-direction: column;
  }
  .pdf-viewer-frame {
    height: 72vh;
    min-height: 520px;
  }
}
/* Education Office document downloads */
.education-office-card .education-download-link {
  display: inline-flex;
  min-height: 38px;
  align-items: center;
  justify-content: center;
  margin-top: 4px;
  padding: 9px 16px;
  border: 1px solid rgba(0, 125, 135, 0.2);
  border-radius: 999px;
  background: #007d87;
  color: #ffffff;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.04em;
  text-decoration: none;
  text-transform: uppercase;
  transition: transform 0.22s ease, box-shadow 0.22s ease, background 0.22s ease;
}
.education-office-card .education-download-link:hover {
  background: #005f68;
  box-shadow: 0 12px 24px rgba(0, 125, 135, 0.2);
  color: #ffffff;
  transform: translateY(-2px);
}
.education-office-card .education-download-link.is-disabled {
  cursor: not-allowed;
  border-color: rgba(90, 108, 120, 0.18);
  background: #e8eef0;
  color: #73828c;
  box-shadow: none;
  transform: none;
}

/* Education PDF card actions */
.education-document-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 4px;
}
.education-document-actions a {
  display: inline-flex;
  min-height: 36px;
  align-items: center;
  justify-content: center;
  padding: 8px 14px;
  border: 1px solid rgba(0, 125, 135, 0.2);
  border-radius: 999px;
  color: #007d87;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.04em;
  text-decoration: none;
  text-transform: uppercase;
  transition: transform 0.22s ease, box-shadow 0.22s ease, background 0.22s ease, color 0.22s ease;
}
.education-document-actions a:first-child {
  background: #007d87;
  color: #ffffff;
}
.education-document-actions a:hover {
  background: #005f68;
  box-shadow: 0 12px 24px rgba(0, 125, 135, 0.18);
  color: #ffffff;
  transform: translateY(-2px);
}

/* CMS skeleton loaders for live content */
@keyframes cmsSkeletonShimmer {
  0% {
    transform: translateX(-100%);
  }
  100% {
    transform: translateX(100%);
  }
}

/* CMS loading and unavailable states: skeleton shimmer, retry cards, and failure messages. */
.cms-skeleton {
  min-height: 160px;
  overflow: hidden !important;
  pointer-events: none;
  position: relative !important;
}

.cms-skeleton > * {
  opacity: 0 !important;
}

.cms-skeleton::before,
.cms-skeleton::after {
  content: "";
  inset: 0;
  position: absolute;
  z-index: 20;
}

.cms-skeleton::before {
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.34), transparent), linear-gradient(135deg, rgba(0, 126, 135, 0.14), rgba(255, 255, 255, 0.78)), rgba(241, 248, 249, 0.92);
  border: 1px solid rgba(0, 126, 135, 0.16);
  border-radius: inherit;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.55);
}

.cms-skeleton::after {
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.72), transparent);
  transform: translateX(-100%);
  animation: cmsSkeletonShimmer 1.35s ease-in-out infinite;
}

.modern-hero .hero-copy.cms-skeleton {
  border-radius: 24px;
  min-height: 360px;
}

.hero-market-panel.cms-skeleton {
  min-height: 430px;
}

.hero-feature-row.cms-skeleton {
  border-radius: 20px;
  min-height: 118px;
}

.latest-news-head.cms-skeleton,
.team-section .section-heading.cms-skeleton {
  border-radius: 18px;
  min-height: 120px;
}

.latest-news-shell.cms-skeleton {
  border-radius: 24px;
  min-height: 390px;
}

.team-section .row.cms-skeleton {
  border-radius: 28px;
  min-height: 440px;
}

.faq-panel.cms-skeleton,
.about-story-panel.cms-skeleton {
  border-radius: 28px;
  min-height: 520px;
}

.resources-panel.cms-skeleton,
.newsletter-card.cms-skeleton,
.contact-modern .row.cms-skeleton {
  border-radius: 24px;
  min-height: 220px;
}

@media (max-width: 991.98px) {
  .modern-hero .hero-copy.cms-skeleton,
  .hero-market-panel.cms-skeleton,
  .latest-news-shell.cms-skeleton,
  .team-section .row.cms-skeleton,
  .faq-panel.cms-skeleton,
  .about-story-panel.cms-skeleton {
    min-height: 320px;
  }
}
@media (max-width: 575.98px) {
  .modern-hero .hero-copy.cms-skeleton,
  .hero-market-panel.cms-skeleton,
  .latest-news-shell.cms-skeleton,
  .team-section .row.cms-skeleton,
  .faq-panel.cms-skeleton,
  .about-story-panel.cms-skeleton {
    min-height: 260px;
  }
  .latest-news-head.cms-skeleton,
  .team-section .section-heading.cms-skeleton,
  .hero-feature-row.cms-skeleton,
  .resources-panel.cms-skeleton,
  .newsletter-card.cms-skeleton,
  .contact-modern .row.cms-skeleton {
    min-height: 150px;
  }
}
/* Hero market table clarity enhancements */
.hero-market-table-title {
  align-items: center;
  flex-wrap: wrap;
}

.hero-market-table-title .hero-market-table-label {
  color: #ffffff;
  font-weight: 900;
}

.hero-market-date-pill {
  align-items: center;
  background: rgba(125, 244, 246, 0.14);
  border: 1px solid rgba(125, 244, 246, 0.34);
  border-radius: 999px;
  box-shadow: 0 10px 24px rgba(0, 126, 135, 0.18);
  color: #c9feff;
  display: inline-flex;
  font-size: 14px;
  font-weight: 900;
  gap: 6px;
  letter-spacing: 0.08em;
  line-height: 1;
  padding: 7px 10px;
  text-transform: uppercase;
  white-space: nowrap;
}

.hero-market-date-pill::before {
  background: #22d3d7;
  border-radius: 50%;
  box-shadow: 0 0 0 4px rgba(34, 211, 215, 0.12);
  content: "";
  height: 7px;
  width: 7px;
  margin: 5px;
}

.hero-market-table th {
  background: transparent !important;
  border-top: 1px solid rgba(133, 229, 235, 0.24) !important;
  color: #7df4f6 !important;
  font-weight: 900 !important;
  letter-spacing: 0.08em !important;
  text-transform: uppercase;
}

.hero-market-table .hero-market-group-row td,
.hero-market-table .hero-market-group-row td:first-child {
  background: rgba(133, 229, 235, 0.12) !important;
  border-top: 1px solid rgba(133, 229, 235, 0.24) !important;
  color: #7df4f6 !important;
  font-weight: 900 !important;
  text-transform: uppercase;
}

.hero-market-table .contract-code-button {
  align-items: center;
  background: rgba(125, 244, 246, 0.13);
  border-color: rgba(125, 244, 246, 0.38);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.06), 0 8px 18px rgba(0, 126, 135, 0.16);
  color: #e6feff;
  display: inline-flex;
  gap: 6px;
  justify-content: center;
  min-height: 28px;
  text-decoration: none;
}

.hero-market-table .contract-code-button::after {
  align-items: center;
  background: rgba(0, 126, 135, 0.8);
  border-radius: 50%;
  color: #ffffff;
  content: "->";
  display: inline-flex;
  font-size: 9px;
  height: 16px;
  justify-content: center;
  line-height: 1;
  width: 16px;
}

.hero-market-table .contract-code-button:hover,
.hero-market-table .contract-code-button:focus-visible {
  background: #00a6b0;
  border-color: #8dfcff;
  box-shadow: 0 12px 24px rgba(0, 166, 176, 0.25);
  color: #ffffff;
}

@media (max-width: 767.98px) {
  .hero-market-table-title {
    justify-content: center;
  }
  .hero-market-date-pill {
    font-size: 8px;
    padding: 6px 8px;
  }
  .hero-market-table .contract-code-button {
    gap: 4px;
    min-height: 24px;
    padding-inline: 7px;
  }
  .hero-market-table .contract-code-button::after {
    font-size: 8px;
    height: 14px;
    width: 14px;
  }
}
/* Contract calculator pending-order panel layout */
.calculator-page .pending-order-panel {
  padding: 24px;
}

.calculator-page .pending-order-panel > .row {
  --bs-gutter-x: 24px;
}

.calculator-page .pending-metrics {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.calculator-page .pending-order-panel .pending-field {
  display: flex;
  flex-direction: column;
}

.calculator-page .pending-order-panel .form-label {
  line-height: 1.25;
  margin-bottom: 8px;
  min-height: 18px;
}

.calculator-page .pending-chart.chart-wrap {
  margin-top: 16px;
}

@media (min-width: 768px) {
  .calculator-page .pending-inputs > .pending-field,
  .calculator-page .pending-results > .pending-field {
    flex: 0 0 auto;
    width: 50%;
  }
}
@media (min-width: 992px) {
  .calculator-page .pending-order-panel .pending-metrics {
    flex: 0 0 auto;
    width: 33.333333%;
  }
  .calculator-page .pending-order-panel .pending-main {
    flex: 0 0 auto;
    width: 66.666667%;
  }
}
@media (min-width: 1200px) {
  .calculator-page .pending-order-panel .pending-metrics {
    width: 25%;
  }
  .calculator-page .pending-order-panel .pending-main {
    width: 75%;
  }
  .calculator-page .pending-inputs > .pending-field {
    flex: 0 0 auto;
    width: 25%;
  }
  .calculator-page .pending-results > .pending-field {
    flex: 0 0 auto;
    width: 33.333333%;
  }
}
@media (max-width: 991.98px) {
  .calculator-page .pending-order-panel {
    padding: 18px;
  }
}
.cms-unavailable {
  align-items: flex-start;
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid rgba(0, 126, 135, 0.28);
  border-radius: 16px;
  box-shadow: 0 18px 42px rgba(0, 38, 43, 0.1);
  color: #243746;
  display: flex;
  flex-direction: column;
  gap: 8px;
  justify-content: center;
  min-height: 120px;
  padding: 22px;
  text-align: left;
  width: 100%;
}

.cms-unavailable strong {
  color: #007e87;
  font-size: 18px;
  font-weight: 900;
}

.cms-unavailable span {
  color: #526877;
  font-size: 15px;
  line-height: 1.6;
}

.cms-retry-button {
  background: #007e87;
  border: 0;
  border-radius: 999px;
  color: #ffffff;
  cursor: pointer;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.04em;
  margin-top: 8px;
  min-height: 38px;
  padding: 10px 18px;
  text-transform: uppercase;
}

.cms-retry-button:hover,
.cms-retry-button:focus-visible {
  background: #069faa;
}

.hero-market-ticker .cms-unavailable,
.hero-topic-track .cms-unavailable {
  align-items: center;
  backdrop-filter: blur(16px);
  background: linear-gradient(135deg, rgba(5, 72, 78, 0.9), rgba(0, 29, 34, 0.94)), radial-gradient(circle at 12% 30%, rgba(125, 244, 246, 0.16), transparent 30%);
  border-color: rgba(125, 244, 246, 0.34);
  border-radius: 16px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.22), inset 0 1px 0 rgba(255, 255, 255, 0.08);
  color: #ffffff;
  display: grid;
  gap: 6px 18px;
  grid-template-columns: auto minmax(0, 1fr) auto;
  margin: 0 auto;
  max-width: 820px;
  min-height: 56px;
  padding: 12px 14px 12px 16px;
}

.hero-market-ticker .hero-topic-track:has(.cms-unavailable),
.hero-topic-track:has(.cms-unavailable) {
  animation: none !important;
  justify-content: center;
  min-height: 74px !important;
  padding: 8px 16px !important;
  transform: none !important;
}

.hero-market-ticker .cms-unavailable::before,
.hero-topic-track .cms-unavailable::before {
  align-items: center;
  background: rgba(125, 244, 246, 0.12);
  border: 1px solid rgba(125, 244, 246, 0.3);
  border-radius: 14px;
  color: #7df4f6;
  content: "!";
  display: inline-flex;
  font-size: 18px;
  font-weight: 900;
  height: 40px;
  justify-content: center;
  line-height: 1;
  width: 40px;
}

.hero-market-ticker .cms-unavailable strong,
.hero-topic-track .cms-unavailable strong {
  color: #7df4f6;
  font-size: 13px;
  grid-column: 2;
  letter-spacing: 0.03em;
  line-height: 1.2;
  text-transform: uppercase;
}

.hero-market-ticker .cms-unavailable span,
.hero-topic-track .cms-unavailable span {
  color: rgba(255, 255, 255, 0.82);
  font-size: 13px;
  font-weight: 700;
  grid-column: 2;
  line-height: 1.35;
  text-transform: none;
}

.hero-market-ticker .cms-unavailable .cms-retry-button,
.hero-topic-track .cms-unavailable .cms-retry-button {
  align-self: center;
  background: #09a0aa;
  border: 1px solid rgba(125, 244, 246, 0.28);
  box-shadow: 0 10px 22px rgba(0, 126, 135, 0.24);
  grid-column: 3;
  grid-row: 1/span 2;
  margin: 0;
  min-height: 38px;
  min-width: 92px;
  padding: 9px 16px;
}

.hero-market-ticker .cms-unavailable .cms-retry-button:hover,
.hero-market-ticker .cms-unavailable .cms-retry-button:focus-visible,
.hero-topic-track .cms-unavailable .cms-retry-button:hover,
.hero-topic-track .cms-unavailable .cms-retry-button:focus-visible {
  background: #13bcc7;
  box-shadow: 0 12px 26px rgba(0, 126, 135, 0.32), 0 0 0 3px rgba(125, 244, 246, 0.16);
}

@media (max-width: 575.98px) {
  .hero-market-ticker .hero-topic-track:has(.cms-unavailable),
  .hero-topic-track:has(.cms-unavailable) {
    min-height: 126px !important;
    padding-inline: 12px !important;
  }
  .hero-market-ticker .cms-unavailable,
  .hero-topic-track .cms-unavailable {
    grid-template-columns: auto minmax(0, 1fr);
    max-width: calc(100vw - 24px);
    padding: 12px;
  }
  .hero-market-ticker .cms-unavailable .cms-retry-button,
  .hero-topic-track .cms-unavailable .cms-retry-button {
    grid-column: 1/-1;
    grid-row: auto;
    justify-self: stretch;
  }
}
html[data-theme=light] .hero-market-ticker .cms-unavailable,
html[data-theme=light] .hero-topic-track .cms-unavailable {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.96), rgba(239, 250, 251, 0.94)), radial-gradient(circle at 12% 30%, rgba(0, 126, 135, 0.1), transparent 30%);
  border-color: rgba(0, 126, 135, 0.2);
  box-shadow: 0 16px 34px rgba(7, 44, 54, 0.1), inset 0 1px 0 rgba(255, 255, 255, 0.9);
  color: #10202c;
}

html[data-theme=light] .hero-market-ticker .cms-unavailable::before,
html[data-theme=light] .hero-topic-track .cms-unavailable::before {
  background: rgba(0, 126, 135, 0.08);
  border-color: rgba(0, 126, 135, 0.2);
  color: #007e87;
}

html[data-theme=light] .hero-market-ticker .cms-unavailable strong,
html[data-theme=light] .hero-topic-track .cms-unavailable strong {
  color: #007e87;
}

html[data-theme=light] .hero-market-ticker .cms-unavailable span,
html[data-theme=light] .hero-topic-track .cms-unavailable span {
  color: #526877;
}

.news-grid > .cms-unavailable,
.news-grid > .news-empty-state {
  grid-column: 1/-1;
}

.news-listing-section .cms-unavailable {
  align-items: center;
  background: radial-gradient(circle at 18% 22%, rgba(0, 126, 135, 0.12), transparent 34%), #ffffff;
  border-color: rgba(0, 126, 135, 0.22);
  min-height: 260px;
  padding: clamp(28px, 5vw, 52px);
  text-align: center;
}

.news-listing-section .cms-unavailable::before {
  align-items: center;
  background: linear-gradient(135deg, var(--modern-teal), var(--modern-teal-bright));
  border-radius: 50%;
  box-shadow: 0 18px 38px rgba(0, 126, 135, 0.22);
  color: #ffffff;
  content: "!";
  display: inline-flex;
  font-size: 28px;
  font-weight: 900;
  height: 64px;
  justify-content: center;
  margin-bottom: 8px;
  width: 64px;
}

.news-listing-section .cms-unavailable strong {
  color: #071f26;
  font-size: clamp(22px, 3vw, 30px);
}

.news-listing-section .cms-unavailable span {
  max-width: 560px;
}

.news-listing-section .cms-retry-button {
  min-width: 128px;
}

.calculator-card .cms-unavailable {
  margin-top: 18px;
}

/* Nest Hub viewport: keep ticker fully visible without changing navbar. */
@media (min-width: 992px) and (max-width: 1199.98px) and (max-height: 720px) {
  .template-hero {
    height: 100svh !important;
    min-height: 100svh !important;
    overflow: hidden;
  }
  .template-hero .modern-hero-content {
    min-height: calc(100svh - 92px) !important;
  }
  .hero-market-panel {
    padding: 8px !important;
    transform: translateY(-18px);
  }
  .hero-market-panel-head {
    margin-bottom: 6px !important;
  }
  .hero-market-kpis {
    gap: 6px !important;
    margin-bottom: 6px !important;
  }
  .hero-market-kpis div {
    padding: 5px 6px !important;
  }
  .hero-market-kpis strong {
    font-size: 18px !important;
  }
  .hero-market-table-title {
    padding: 5px 8px !important;
  }
  .hero-market-table th,
  .hero-market-table td {
    font-size: 9px !important;
    line-height: 1.05 !important;
    padding: 2px 5px !important;
  }
  .hero-market-table td[colspan],
  .hero-market-table .market-group-row td,
  .hero-market-table .hero-market-group-row td {
    padding-block: 3px !important;
  }
  .hero-market-table .contract-code-button {
    min-height: 20px !important;
    padding: 3px 6px !important;
  }
  .hero-market-calc-action {
    padding: 4px 7px !important;
  }
  .hero-market-calc-btn {
    min-height: 24px !important;
    padding: 4px 12px !important;
  }
}
/* Site theme toggle and light mode */

/* Theme toggle: dark/light switch control and responsive placement. */
.theme-toggle {
  align-items: center;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 999px;
  color: #fff;
  display: inline-flex;
  font-size: 11px;
  font-weight: 900;
  gap: 8px;
  grid-column: 3;
  justify-self: end;
  letter-spacing: 0.04em;
  min-height: 38px;
  padding: 8px 12px 8px 14px;
  text-transform: uppercase;
  transition: background-color 0.22s ease, border-color 0.22s ease, color 0.22s ease, transform 0.22s ease;
  white-space: nowrap;
}

.theme-toggle i {
  background: var(--modern-teal-bright);
  border-radius: 50%;
  box-shadow: 0 0 0 4px rgba(8, 168, 179, 0.16);
  display: block;
  height: 10px;
  width: 10px;
}

.theme-toggle:hover,
.theme-toggle:focus-visible {
  background: rgba(255, 255, 255, 0.2);
  color: #fff;
  transform: translateY(-1px);
}

.modern-header.is-scrolled .theme-toggle,
.modern-header:has(.navbar-collapse.show) .theme-toggle,
.modern-header:has(.navbar-collapse.collapsing) .theme-toggle {
  background: #f3fbfc;
  border-color: rgba(0, 125, 135, 0.18);
  color: var(--modern-teal);
}

@media (min-width: 992px) {
  .modern-nav {
    grid-template-columns: auto minmax(0, 1fr) auto auto;
  }
  .modern-nav-button {
    grid-column: 4;
  }
}
@media (max-width: 991.98px) {
  .theme-toggle {
    grid-column: 2;
    grid-row: 1;
    justify-self: end;
    margin-right: 54px;
  }
  .modern-header .navbar-toggler {
    grid-column: 3;
    grid-row: 1;
  }
}
@media (max-width: 575.98px) {
  .theme-toggle {
    font-size: 0;
    gap: 0;
    min-height: 36px;
    min-width: 42px;
    padding: 8px;
  }
  .theme-toggle i {
    height: 12px;
    width: 12px;
  }
}
html[data-theme=light] {
  color-scheme: light;
  --modern-dark: #f7fbfc;
  --modern-ink: #10202c;
  --modern-muted: #f7fafb;
  --modern-line: #d7e8eb;
  --modern-shadow: 0 18px 45px rgba(7, 44, 54, 0.1);
}

html[data-theme=light] body.modern-site {
  background: #f7fbfc;
  color: #10202c;
}

html[data-theme=light] .modern-header:not(.is-scrolled):not(:has(.navbar-collapse.show)):not(:has(.navbar-collapse.collapsing)) {
  background: rgba(255, 255, 255, 0.02);
}

html[data-theme=light] .modern-header:not(.is-scrolled):not(:has(.navbar-collapse.show)):not(:has(.navbar-collapse.collapsing)) .modern-nav-links .nav-link {
  color: #17303a;
  text-shadow: 0 2px 16px rgba(255, 255, 255, 0.55);
}

html[data-theme=light] .modern-header:not(.is-scrolled):not(:has(.navbar-collapse.show)):not(:has(.navbar-collapse.collapsing)) .modern-nav-links .nav-link:hover,
html[data-theme=light] .modern-header:not(.is-scrolled):not(:has(.navbar-collapse.show)):not(:has(.navbar-collapse.collapsing)) .modern-nav-links .nav-link.active {
  background: rgba(255, 255, 255, 0.72);
  color: var(--modern-teal);
}

html[data-theme=light] .modern-header:not(.is-scrolled):not(:has(.navbar-collapse.show)):not(:has(.navbar-collapse.collapsing)) .theme-toggle {
  background: rgba(255, 255, 255, 0.72);
  border-color: rgba(0, 125, 135, 0.16);
  color: var(--modern-teal);
}

html[data-theme=light] .modern-hero-bg {
  background: linear-gradient(90deg, rgba(247, 252, 253, 0.96) 0%, rgba(247, 252, 253, 0.82) 40%, rgba(247, 252, 253, 0.26) 100%), url("../images/hero-banner-light.png") center/cover no-repeat;
}

html[data-theme=light] .template-hero {
  background: #f7fbfc;
}

html[data-theme=light] .hero-copy,
html[data-theme=light] .hero-copy h1 {
  color: #10202c;
  text-shadow: none;
}

html[data-theme=light] .hero-copy p {
  color: #314955;
}

html[data-theme=light] .hero-badge {
  background: rgba(255, 255, 255, 0.78);
  border-color: rgba(0, 125, 135, 0.18);
  color: var(--modern-teal);
}

html[data-theme=light] .hero-market-panel {
  background: rgba(255, 255, 255, 0.78);
  border-color: rgba(0, 125, 135, 0.18);
  box-shadow: 0 28px 70px rgba(7, 44, 54, 0.14);
  color: #10202c;
}

html[data-theme=light] .hero-market-panel-head span,
html[data-theme=light] .hero-market-table-title span,
html[data-theme=light] .hero-market-kpis span {
  color: #5c737d;
}

html[data-theme=light] .hero-market-kpis div,
html[data-theme=light] .hero-market-table-wrap {
  background: rgba(255, 255, 255, 0.64);
  border-color: rgba(0, 125, 135, 0.16);
}

html[data-theme=light] .hero-market-kpis strong,
html[data-theme=light] .hero-market-table td,
html[data-theme=light] .hero-market-table-title span,
html[data-theme=light] .hero-market-table-title a {
  color: #10202c;
}

html[data-theme=light] .hero-market-table th {
  color: var(--modern-teal);
}

html[data-theme=light] .hero-market-table th,
html[data-theme=light] .hero-market-table td {
  border-top-color: rgba(0, 125, 135, 0.12);
}

html[data-theme=light] .hero-market-table .hero-market-group-row td,
html[data-theme=light] .hero-market-table .market-group-row td {
  background: rgba(0, 125, 135, 0.08);
  color: var(--modern-teal);
}

html[data-theme=light] .hero-market-table .contract-code-button {
  background: rgba(0, 125, 135, 0.1);
  color: var(--modern-teal);
}

html[data-theme=light] .hero-market-ticker {
  background: rgba(255, 255, 255, 0.86);
  border-color: rgba(0, 125, 135, 0.16);
  box-shadow: 0 -12px 34px rgba(7, 44, 54, 0.08);
}

html[data-theme=light] .hero-market-ticker .hero-topic-track span {
  background: rgba(255, 255, 255, 0.9);
  border-color: rgba(0, 125, 135, 0.18);
  color: #10202c;
}

html[data-theme=light] .latest-news-section {
  background: radial-gradient(circle at 50% 14%, rgba(0, 169, 180, 0.16), transparent 34%), radial-gradient(circle at 16% 82%, rgba(0, 126, 135, 0.12), transparent 34%), linear-gradient(135deg, #f6fbfc 0%, #e9f6f8 52%, #f9fcfd 100%);
  color: #10202c;
}

html[data-theme=light] .latest-news-head h2,
html[data-theme=light] .latest-news-card,
html[data-theme=light] .latest-news-card h3 {
  color: #10202c;
  text-shadow: none;
}

html[data-theme=light] .latest-news-head p,
html[data-theme=light] .latest-news-card p {
  color: #536c76;
}

html[data-theme=light] .latest-news-card {
  background: rgba(255, 255, 255, 0.86);
  border-color: rgba(0, 125, 135, 0.18);
  box-shadow: 0 22px 52px rgba(7, 44, 54, 0.1);
}

html[data-theme=light] .latest-news-controls > button {
  background: #fff;
  border-color: rgba(0, 125, 135, 0.18);
  color: var(--modern-teal);
}

html[data-theme=light] .modern-card,
html[data-theme=light] .modern-panel,
html[data-theme=light] .faq-panel,
html[data-theme=light] .about-story-panel,
html[data-theme=light] .resources-panel,
html[data-theme=light] .market-panel,
html[data-theme=light] .newsletter-card,
html[data-theme=light] .contact-info-card {
  background-color: rgba(255, 255, 255, 0.92);
  border-color: rgba(0, 125, 135, 0.14);
}

html[data-theme=light] .modern-footer {
  background: linear-gradient(135deg, #f7fbfc, #e7f5f7);
  border-top: 1px solid rgba(0, 125, 135, 0.12);
  color: #314955;
}

html[data-theme=light] .modern-footer img {
  filter: none;
}

/* Light theme final contrast fixes */
html[data-theme=light] .template-hero .hero-copy p:not(.hero-kicker),
html[data-theme=light] .hero-copy p:not(.hero-kicker) {
  color: #314955 !important;
  text-shadow: none !important;
}

html[data-theme=light] .hero-kicker {
  color: var(--modern-teal) !important;
  text-shadow: none !important;
}

html[data-theme=light] .hero-market-ticker {
  background: rgba(255, 255, 255, 0.92) !important;
  border-color: rgba(0, 125, 135, 0.18) !important;
  box-shadow: 0 -12px 34px rgba(7, 44, 54, 0.08) !important;
}

html[data-theme=light] .hero-market-ticker::before,
html[data-theme=light] .hero-market-ticker::after {
  background: linear-gradient(90deg, #f7fbfc, rgba(247, 251, 252, 0)) !important;
}

html[data-theme=light] .hero-market-ticker::after {
  background: linear-gradient(270deg, #f7fbfc, rgba(247, 251, 252, 0)) !important;
}

html[data-theme=light] .hero-market-ticker .hero-topic-track span,
html[data-theme=light] .hero-market-ticker .hero-topic-track b,
html[data-theme=light] .hero-market-ticker .hero-topic-track small,
html[data-theme=light] .hero-market-ticker .hero-topic-track em {
  color: #10202c !important;
}

html[data-theme=light] .hero-market-ticker .hero-ticker-trend-flat {
  background: rgba(16, 32, 44, 0.08) !important;
  color: #536c76 !important;
}

/* Light theme comfort palette */
html[data-theme=light] {
  --light-bg: #f3f7f8;
  --light-surface: rgba(250, 253, 253, 0.92);
  --light-surface-solid: #fbfdfd;
  --light-ink: #18323a;
  --light-muted-text: #526a72;
  --light-teal: #087f87;
  --light-teal-soft: #dff2f4;
  --light-line: rgba(8, 127, 135, 0.14);
  --light-shadow: 0 18px 42px rgba(24, 50, 58, 0.08);
}

html[data-theme=light] body.modern-site {
  background: var(--light-bg);
  color: var(--light-ink);
}

html[data-theme=light] .modern-hero-bg {
  background: linear-gradient(90deg, rgba(243, 247, 248, 0.95) 0%, rgba(243, 247, 248, 0.78) 28%, rgba(243, 247, 248, 0.3) 47%), url("../images/hero-banner-light.png") center/cover no-repeat;
}

html[data-theme=light] .hero-copy,
html[data-theme=light] .hero-copy h1 {
  color: var(--light-ink) !important;
}

html[data-theme=light] .template-hero .hero-copy p:not(.hero-kicker),
html[data-theme=light] .hero-copy p:not(.hero-kicker) {
  color: var(--light-muted-text) !important;
}

html[data-theme=light] .hero-kicker,
html[data-theme=light] .hero-market-panel-head strong,
html[data-theme=light] .section-heading h2,
html[data-theme=light] .clearing-section-heading h2 {
  color: var(--light-teal) !important;
}

html[data-theme=light] .hero-badge,
html[data-theme=light] .theme-toggle,
html[data-theme=light] .modern-header.is-scrolled .theme-toggle,
html[data-theme=light] .modern-header:has(.navbar-collapse.show) .theme-toggle,
html[data-theme=light] .modern-header:has(.navbar-collapse.collapsing) .theme-toggle {
  background: rgba(251, 253, 253, 0.82);
  border-color: var(--light-line);
  color: var(--light-teal);
  box-shadow: 0 10px 26px rgba(24, 50, 58, 0.07);
}

html[data-theme=light] .modern-header.is-scrolled,
html[data-theme=light] .modern-header:has(.navbar-collapse.show),
html[data-theme=light] .modern-header:has(.navbar-collapse.collapsing) {
  background: rgba(251, 253, 253, 0.9);
  border-bottom-color: var(--light-line);
  box-shadow: 0 14px 34px rgba(24, 50, 58, 0.07);
}

html[data-theme=light] .modern-header:not(.is-scrolled):not(:has(.navbar-collapse.show)):not(:has(.navbar-collapse.collapsing)) .modern-nav-links .nav-link {
  color: #26444d;
  text-shadow: 0 2px 12px rgba(255, 255, 255, 0.42);
}

html[data-theme=light] .modern-nav-links .nav-link:hover,
html[data-theme=light] .modern-nav-links .nav-link.active,
html[data-theme=light] .modern-header.is-scrolled .modern-nav-links .nav-link:hover,
html[data-theme=light] .modern-header.is-scrolled .modern-nav-links .nav-link.active {
  background: var(--light-teal-soft);
  color: var(--light-teal);
}

html[data-theme=light] .hero-market-panel,
html[data-theme=light] .modern-card,
html[data-theme=light] .modern-panel,
html[data-theme=light] .faq-panel,
html[data-theme=light] .about-story-panel,
html[data-theme=light] .resources-panel,
html[data-theme=light] .market-panel,
html[data-theme=light] .newsletter-card,
html[data-theme=light] .contact-info-card,
html[data-theme=light] .clearing-table-wrap {
  background: var(--light-surface);
  border-color: var(--light-line);
  box-shadow: var(--light-shadow);
}

html[data-theme=light] .hero-market-panel::before {
  opacity: 0.1;
}

html[data-theme=light] .hero-market-kpis div,
html[data-theme=light] .hero-market-table-wrap,
html[data-theme=light] .hero-market-ticker .hero-topic-track span,
html[data-theme=light] .about-highlights div,
html[data-theme=light] .modern-accordion .accordion-item {
  background: rgba(251, 253, 253, 0.76) !important;
  border-color: var(--light-line) !important;
}

html[data-theme=light] .hero-market-ticker {
  background: rgba(246, 250, 251, 0.94) !important;
  border-color: var(--light-line) !important;
  box-shadow: 0 -10px 26px rgba(24, 50, 58, 0.06) !important;
}

html[data-theme=light] .hero-market-ticker::before {
  background: linear-gradient(90deg, var(--light-bg), rgba(243, 247, 248, 0)) !important;
}

html[data-theme=light] .hero-market-ticker::after {
  background: linear-gradient(270deg, var(--light-bg), rgba(243, 247, 248, 0)) !important;
}

html[data-theme=light] .hero-market-ticker .hero-topic-track span:hover,
html[data-theme=light] .hero-market-ticker .hero-topic-track span:focus-within {
  background: #ffffff !important;
  border-color: rgba(8, 127, 135, 0.42) !important;
  box-shadow: 0 14px 30px rgba(24, 50, 58, 0.12), 0 0 0 1px rgba(8, 127, 135, 0.1) inset;
  color: var(--light-teal) !important;
}

html[data-theme=light] .hero-market-ticker .hero-topic-track span:hover b,
html[data-theme=light] .hero-market-ticker .hero-topic-track span:hover small,
html[data-theme=light] .hero-market-ticker .hero-topic-track span:hover em,
html[data-theme=light] .hero-market-ticker .hero-topic-track span:focus-within b,
html[data-theme=light] .hero-market-ticker .hero-topic-track span:focus-within small,
html[data-theme=light] .hero-market-ticker .hero-topic-track span:focus-within em {
  color: var(--light-teal) !important;
}

html[data-theme=light] .latest-news-section {
  background: radial-gradient(circle at 50% 14%, rgba(8, 127, 135, 0.1), transparent 34%), radial-gradient(circle at 16% 82%, rgba(8, 127, 135, 0.08), transparent 34%), linear-gradient(135deg, #f3f7f8 0%, #eaf3f5 52%, #f7fafb 100%);
}

html[data-theme=light] .latest-news-card {
  background: rgba(251, 253, 253, 0.9);
  border-color: var(--light-line);
  box-shadow: 0 18px 40px rgba(24, 50, 58, 0.08);
}

html[data-theme=light] .latest-news-card:hover {
  border-color: rgba(8, 127, 135, 0.28);
  box-shadow: 0 24px 52px rgba(24, 50, 58, 0.11);
}

html[data-theme=light] .clearing-static-section,
html[data-theme=light] .value-strip,
html[data-theme=light] .market-data-section {
  background: radial-gradient(circle at top left, rgba(8, 127, 135, 0.07), transparent 34%), linear-gradient(180deg, #f4f8f9 0%, #fbfdfd 100%);
}

html[data-theme=light] .clearing-info-table th {
  background: #e9f5f6;
  color: var(--light-teal);
}

html[data-theme=light] .clearing-info-table td,
html[data-theme=light] .market-data-table td {
  background: #fbfdfd;
  color: var(--light-ink);
}

html[data-theme=light] .clearing-info-table tbody tr:nth-child(even) td,
html[data-theme=light] .market-data-table tbody tr:nth-child(even):not(.table-group-row) td {
  background: #f3f8f9;
}

html[data-theme=light] .modern-footer {
  background: linear-gradient(135deg, #eef6f7, #f8fbfb);
  color: var(--light-muted-text);
}

/* Light theme hero market table colors */
html[data-theme=light] .hero-market-table-title .hero-market-table-label {
  color: var(--light-ink) !important;
}

html[data-theme=light] .hero-market-date-pill {
  background: #e7f3f4 !important;
  border-color: rgba(8, 127, 135, 0.18) !important;
  box-shadow: none !important;
  color: #446069 !important;
}

html[data-theme=light] .hero-market-date-pill::before {
  background: var(--light-teal) !important;
  box-shadow: 0 0 0 4px rgba(8, 127, 135, 0.1) !important;
}

html[data-theme=light] .hero-market-table-wrap {
  background: #f8fbfb !important;
  border-color: rgba(8, 127, 135, 0.16) !important;
}

html[data-theme=light] .hero-market-table th {
  background: #eef6f7 !important;
  border-top-color: rgba(8, 127, 135, 0.12) !important;
  color: #5d747b !important;
}

html[data-theme=light] .hero-market-table td {
  background: #fbfdfd !important;
  border-top-color: rgba(8, 127, 135, 0.1) !important;
  color: var(--light-ink) !important;
}

html[data-theme=light] .hero-market-table tbody tr:nth-child(even):not(.hero-market-group-row) td {
  background: #f4f9fa !important;
}

html[data-theme=light] .hero-market-table .hero-market-group-row td,
html[data-theme=light] .hero-market-table .hero-market-group-row td:first-child,
html[data-theme=light] .hero-market-table .market-group-row td,
html[data-theme=light] .hero-market-table .market-group-row td:first-child {
  background: #e7f3f4 !important;
  border-top-color: rgba(8, 127, 135, 0.14) !important;
  color: var(--light-teal) !important;
}

html[data-theme=light] .hero-market-table .contract-code-button {
  background: #eaf5f6 !important;
  border-color: rgba(8, 127, 135, 0.22) !important;
  box-shadow: none !important;
  color: var(--light-teal) !important;
}

html[data-theme=light] .hero-market-table .contract-code-button::after {
  background: var(--light-teal) !important;
  color: #ffffff !important;
}

html[data-theme=light] .hero-market-table .contract-code-button:hover,
html[data-theme=light] .hero-market-table .contract-code-button:focus-visible {
  background: var(--light-teal) !important;
  border-color: var(--light-teal) !important;
  box-shadow: 0 10px 22px rgba(8, 127, 135, 0.14) !important;
  color: #ffffff !important;
}

/* Light theme buttons, contact, and footer polish */
html[data-theme=light] .btn-teal,
html[data-theme=light] .modern-site .btn-teal,
html[data-theme=light] .modern-nav-cta,
html[data-theme=light] .hero-market-calc-btn,
html[data-theme=light] .modern-form button,
html[data-theme=light] .contact-modern button[type=submit] {
  background: #087f87 !important;
  border-color: #087f87 !important;
  box-shadow: 0 12px 24px rgba(8, 127, 135, 0.13) !important;
  color: #ffffff !important;
}

html[data-theme=light] .btn-teal:hover,
html[data-theme=light] .modern-site .btn-teal:hover,
html[data-theme=light] .modern-nav-cta:hover,
html[data-theme=light] .hero-market-calc-btn:hover,
html[data-theme=light] .modern-form button[type=submit]:hover,
html[data-theme=light] .contact-modern button[type=submit]:hover {
  background: #066d75 !important;
  border-color: #066d75 !important;
  box-shadow: 0 14px 28px rgba(8, 127, 135, 0.18) !important;
  color: #ffffff !important;
}

html[data-theme=light] .btn-outline-teal,
html[data-theme=light] .modern-outline-btn,
html[data-theme=light] .latest-news-all,
html[data-theme=light] .mini-link {
  background: rgba(251, 253, 253, 0.82) !important;
  border-color: rgba(8, 127, 135, 0.24) !important;
  box-shadow: 0 10px 22px rgba(24, 50, 58, 0.06) !important;
  color: #087f87 !important;
}

html[data-theme=light] .btn-outline-teal:hover,
html[data-theme=light] .modern-outline-btn:hover,
html[data-theme=light] .latest-news-all:hover,
html[data-theme=light] .mini-link:hover {
  background: #e2f1f3 !important;
  border-color: rgba(8, 127, 135, 0.32) !important;
  color: #066d75 !important;
}

html[data-theme=light] .contact-modern {
  background: radial-gradient(circle at 82% 18%, rgba(8, 127, 135, 0.08), transparent 34%), linear-gradient(180deg, #f4f8f9 0%, #eef6f7 100%) !important;
  color: var(--light-ink);
}

html[data-theme=light] .contact-modern h2,
html[data-theme=light] .contact-modern h3,
html[data-theme=light] .contact-modern h4 {
  color: var(--light-ink);
}

html[data-theme=light] .modern-form input,
html[data-theme=light] .modern-form textarea,
html[data-theme=light] .contact-form .form-control,
html[data-theme=light] .newsletter-form input {
  background: #fbfdfd !important;
  border: 1px solid rgba(8, 127, 135, 0.16) !important;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8) !important;
  color: var(--light-ink) !important;
}

html[data-theme=light] .modern-form input::placeholder,
html[data-theme=light] .modern-form textarea::placeholder,
html[data-theme=light] .contact-form .form-control::placeholder,
html[data-theme=light] .newsletter-form input::placeholder {
  color: #7a9097 !important;
}

html[data-theme=light] .modern-form input:focus,
html[data-theme=light] .modern-form textarea:focus,
html[data-theme=light] .contact-form .form-control:focus,
html[data-theme=light] .newsletter-form input:focus {
  background: #ffffff !important;
  border-color: rgba(8, 127, 135, 0.46) !important;
  box-shadow: 0 0 0 4px rgba(8, 127, 135, 0.1) !important;
  outline: 0 !important;
}

html[data-theme=light] .contact-info-card {
  background: linear-gradient(135deg, rgba(250, 253, 253, 0.9), rgba(232, 244, 246, 0.88)), url("../images/about-why.jpg") center/cover no-repeat !important;
  border-color: rgba(8, 127, 135, 0.16) !important;
  box-shadow: 0 18px 42px rgba(24, 50, 58, 0.1) !important;
  color: var(--light-ink) !important;
}

html[data-theme=light] .contact-info-card h3,
html[data-theme=light] .contact-info-card strong,
html[data-theme=light] .contact-info-card a {
  color: var(--light-ink) !important;
}

html[data-theme=light] .contact-info-card a:hover {
  color: #087f87 !important;
}

html[data-theme=light] .recaptcha-note,
html[data-theme=light] .contact-details,
html[data-theme=light] .contact-modern p,
html[data-theme=light] .contact-modern span {
  color: var(--light-muted-text) !important;
}

html[data-theme=light] .newsletter-card {
  background: linear-gradient(135deg, #087f87, #0d5961) !important;
  box-shadow: 0 18px 42px rgba(8, 127, 135, 0.14) !important;
  color: #ffffff !important;
}

html[data-theme=light] .newsletter-card p,
html[data-theme=light] .newsletter-card h2 {
  color: #ffffff !important;
}

html[data-theme=light] .modern-footer {
  background-color: #eef6f7 !important;
  background-image: linear-gradient(135deg, #eef6f7 0%, #f8fbfb 100%) !important;
  border-top: 1px solid rgba(8, 127, 135, 0.14) !important;
  color: var(--light-muted-text) !important;
}

html[data-theme=light] .modern-footer p {
  color: #526a72 !important;
}

html[data-theme=light] .modern-footer img {
  filter: none !important;
  opacity: 0.9;
}

/* Theme toggle switch redesign */
.theme-toggle {
  --toggle-track: rgba(5, 29, 35, 0.78);
  --toggle-border: rgba(99, 228, 235, 0.2);
  --toggle-knob: #22343b;
  --toggle-icon: #d7f8fa;
  --toggle-shadow: 0 12px 26px rgba(0, 0, 0, 0.22);
  align-items: center;
  background: var(--toggle-track) !important;
  border: 1px solid var(--toggle-border) !important;
  border-radius: 999px;
  box-shadow: var(--toggle-shadow) !important;
  color: transparent !important;
  display: inline-flex;
  grid-column: 3;
  height: 38px;
  justify-self: end;
  min-height: 38px;
  overflow: hidden;
  padding: 4px !important;
  position: relative;
  transition: background-color 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease;
  width: 72px;
}

.theme-toggle span {
  border: 0;
  clip: rect(0 0 0 0);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute;
  white-space: nowrap;
  width: 1px;
}

.theme-toggle::before {
  background: linear-gradient(135deg, rgba(8, 127, 135, 0.28), rgba(8, 127, 135, 0.08));
  border-radius: inherit;
  content: "";
  inset: 4px;
  opacity: 0.4;
  position: absolute;
  transition: opacity 0.25s ease;
}

.theme-toggle i {
  align-items: center;
  background: var(--toggle-knob) !important;
  border-radius: 50%;
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.24) !important;
  display: flex;
  height: 30px;
  justify-content: center;
  position: relative;
  transform: translateX(30px);
  transition: background-color 0.25s ease, box-shadow 0.25s ease, transform 0.28s cubic-bezier(0.22, 1, 0.36, 1);
  width: 30px;
  z-index: 1;
}

.theme-toggle i::before {
  background: var(--toggle-icon);
  border-radius: 50%;
  content: "";
  display: block;
  height: 14px;
  position: relative;
  width: 14px;
}

.theme-toggle i::after {
  background: var(--toggle-knob);
  border-radius: 50%;
  content: "";
  height: 14px;
  position: absolute;
  right: 9px;
  top: 6px;
  transition: opacity 0.22s ease;
  width: 14px;
}

.theme-toggle:hover,
.theme-toggle:focus-visible {
  transform: translateY(-1px);
}

.theme-toggle:focus-visible {
  outline: 3px solid rgba(8, 168, 179, 0.28);
  outline-offset: 3px;
}

html[data-theme=light] .theme-toggle,
html[data-theme=light] .modern-header:not(.is-scrolled):not(:has(.navbar-collapse.show)):not(:has(.navbar-collapse.collapsing)) .theme-toggle,
html[data-theme=light] .modern-header.is-scrolled .theme-toggle,
html[data-theme=light] .modern-header:has(.navbar-collapse.show) .theme-toggle,
html[data-theme=light] .modern-header:has(.navbar-collapse.collapsing) .theme-toggle {
  --toggle-track: #eef6f7;
  --toggle-border: rgba(8, 127, 135, 0.2);
  --toggle-knob: #d8eef1;
  --toggle-icon: #087f87;
  --toggle-shadow: 0 10px 24px rgba(24, 50, 58, 0.09);
}

html[data-theme=light] .theme-toggle::before {
  opacity: 0.12;
}

html[data-theme=light] .theme-toggle i {
  transform: translateX(0);
}

html[data-theme=light] .theme-toggle i::before {
  background: #087f87;
  box-shadow: 0 -8px 0 -5px #087f87, 0 8px 0 -5px #087f87, 8px 0 0 -5px #087f87, -8px 0 0 -5px #087f87, 6px 6px 0 -5px #087f87, -6px 6px 0 -5px #087f87, 6px -6px 0 -5px #087f87, -6px -6px 0 -5px #087f87;
  height: 12px;
  width: 12px;
}

html[data-theme=light] .theme-toggle i::after {
  opacity: 0;
}

@media (max-width: 1199.98px) and (min-width: 992px) {
  .theme-toggle {
    height: 36px;
    min-height: 36px;
    width: 66px;
  }
  .theme-toggle i {
    height: 28px;
    transform: translateX(26px);
    width: 28px;
  }
  html[data-theme=light] .theme-toggle i {
    transform: translateX(0);
  }
}
@media (max-width: 991.98px) {
  .theme-toggle {
    grid-column: 2;
    grid-row: 1;
    height: 36px;
    justify-self: end;
    margin-right: 54px;
    min-height: 36px;
    min-width: 0;
    width: 66px;
  }
  .theme-toggle i {
    height: 28px;
    transform: translateX(26px);
    width: 28px;
  }
  html[data-theme=light] .theme-toggle i {
    transform: translateX(0);
  }
}
@media (max-width: 575.98px) {
  .theme-toggle {
    height: 34px;
    margin-right: 50px;
    min-height: 34px;
    width: 60px;
  }
  .theme-toggle i {
    height: 26px;
    transform: translateX(22px);
    width: 26px;
  }
  html[data-theme=light] .theme-toggle i {
    transform: translateX(0);
  }
}
/* Theme toggle sizing guard */
.theme-toggle {
  flex: 0 0 72px !important;
  max-width: 72px !important;
  min-width: 72px !important;
  width: 72px !important;
}

.theme-toggle i {
  transform: translateX(34px) !important;
}

html[data-theme=light] .theme-toggle i {
  transform: translateX(0) !important;
}

@media (max-width: 1199.98px) and (min-width: 992px) {
  .theme-toggle {
    flex-basis: 66px !important;
    max-width: 66px !important;
    min-width: 66px !important;
    width: 66px !important;
  }
  .theme-toggle i {
    transform: translateX(30px) !important;
  }
  html[data-theme=light] .theme-toggle i {
    transform: translateX(0) !important;
  }
}
@media (max-width: 575.98px) {
  .theme-toggle {
    flex-basis: 60px !important;
    max-width: 60px !important;
    min-width: 60px !important;
    width: 60px !important;
  }
  .theme-toggle i {
    transform: translateX(26px) !important;
  }
  html[data-theme=light] .theme-toggle i {
    transform: translateX(0) !important;
  }
}
/* Mobile navbar theme control alignment */
@media (max-width: 991.98px) {
  .modern-nav {
    display: flex;
    flex-wrap: wrap;
  }
  .modern-logo {
    margin-right: auto;
    order: 1;
  }
  .theme-toggle {
    margin-left: auto !important;
    margin-right: 10px !important;
    order: 2;
  }
  .navbar-toggler {
    flex: 0 0 auto;
    margin-left: 0 !important;
    order: 3;
  }
  .modern-header .navbar-collapse {
    flex-basis: 100%;
    order: 4;
  }
  .modern-nav-button {
    order: 5;
  }
}
@media (max-width: 575.98px) {
  .theme-toggle {
    margin-right: 8px !important;
  }
}
/* Keep mobile theme switch tight beside menu button */
@media (max-width: 991.98px) {
  .modern-nav {
    column-gap: 0 !important;
    row-gap: 0 !important;
  }
  .theme-toggle {
    margin-right: 8px !important;
  }
}
/* Desktop hero viewport fit: keep market ticker visible on every screen wider than 992px. */
@media (min-width: 992px) {
  .template-hero {
    height: 100svh !important;
    min-height: 600px !important;
    max-height: 100svh !important;
  }
  .template-hero .modern-hero-content {
    box-sizing: border-box !important;
    min-height: calc(100svh - 92px) !important;
    padding-top: clamp(52px, 7svh, 86px) !important;
    padding-bottom: clamp(62px, 8svh, 92px) !important;
  }
  .hero-market-ticker {
    min-height: 48px;
  }
  .hero-market-ticker .hero-topic-track {
    min-height: 48px !important;
  }
}
@media (min-width: 992px) and (max-width: 1199.98px) {
  .template-hero .modern-hero-content {
    padding-top: clamp(46px, 6svh, 50px) !important;
    padding-bottom: 56px !important;
  }
  .template-hero .hero-copy h1 {
    font-size: clamp(32px, 4.7vw, 32px) !important;
  }
  .template-hero .hero-kicker {
    font-size: clamp(20px, 2.2vw, 22px) !important;
  }
  .template-hero .hero-copy p:not(.hero-kicker) {
    font-size: 15px !important;
    line-height: 1.55 !important;
    margin-bottom: 16px !important;
  }
  .hero-market-panel {
    max-width: 430px !important;
    padding: 12px !important;
  }
  .hero-market-panel-head,
  .hero-market-kpis {
    margin-bottom: 8px !important;
  }
  .hero-market-kpis {
    gap: 8px !important;
  }
  .hero-market-kpis div {
    min-height: 0 !important;
    padding: 6px !important;
  }
  .hero-market-kpis strong {
    font-size: 20px !important;
    margin-top: 4px !important;
  }
  .hero-market-table-title {
    min-height: 0 !important;
    padding: 6px 9px !important;
  }
  .hero-market-table th,
  .hero-market-table td {
    font-size: 9px !important;
    line-height: 1.12 !important;
    padding: 3px 6px !important;
  }
  .hero-market-table .contract-code-button {
    font-size: 9px !important;
    line-height: 1 !important;
    padding: 4px 6px !important;
  }
  .hero-market-calc-action {
    padding: 8px 0px 0px 0px !important;
  }
  .hero-market-calc-btn {
    font-size: 9px !important;
    min-height: 26px !important;
    padding: 4px 12px !important;
  }
}
/* Extra compact desktop hero for very short screens above 992px. */
@media (min-width: 992px) and (max-height: 640px) {
  .template-hero .modern-hero-content {
    padding-top: 10px !important;
    padding-bottom: 50px !important;
  }
  .template-hero .hero-copy h1 {
    font-size: clamp(32px, 4.3vw, 32px) !important;
  }
  .template-hero .hero-kicker {
    font-size: clamp(18px, 2vw, 20px) !important;
    margin-bottom: 8px !important;
  }
  .template-hero .hero-copy p:not(.hero-kicker) {
    font-size: 14px !important;
    line-height: 1.45 !important;
    margin-bottom: 12px !important;
  }
  .hero-actions .btn,
  .hero-primary-btn {
    min-height: 44px !important;
    padding: 8px 16px !important;
  }
  .hero-market-panel {
    padding: 8px !important;
  }
  .hero-market-kpis div {
    padding: 4px !important;
  }
  .hero-market-kpis strong {
    font-size: 17px !important;
  }
  .hero-market-table-title {
    padding: 5px 8px !important;
  }
  .hero-market-table th,
  .hero-market-table td {
    font-size: 8px !important;
    padding: 2px 5px !important;
  }
  .hero-market-table .contract-code-button {
    font-size: 8px !important;
    padding: 3px 5px !important;
  }
  .hero-market-calc-action {
    padding: 3px 5px !important;
  }
  .hero-market-calc-btn {
    font-size: 8px !important;
    min-height: 24px !important;
    padding: 3px 10px !important;
  }
}
/* Subpage theme coverage */
html[data-theme=light] body.modern-site {
  background: var(--light-bg) !important;
  color: var(--light-ink) !important;
}

html[data-theme=light] .modern-page-hero,
html[data-theme=light] .board-hero,
html[data-theme=light] .news-page-hero,
html[data-theme=light] .calculator-page-hero,
html[data-theme=light] .education-page-hero {
  background: linear-gradient(90deg, rgba(235, 248, 250, 0.76), rgba(224, 242, 245, 0.42)), url("../images/hero-banner-light.png") center center/cover no-repeat !important;
  box-shadow: inset 0 -90px 80px rgba(243, 247, 248, 0.58);
  color: var(--light-ink) !important;
}

html[data-theme=light] .modern-page-hero::after,
html[data-theme=light] .board-hero::after,
html[data-theme=light] .news-page-hero::after,
html[data-theme=light] .calculator-page-hero::after,
html[data-theme=light] .education-page-hero::after {
  opacity: 0.18 !important;
}

html[data-theme=light] .modern-page-hero h1,
html[data-theme=light] .modern-page-hero p,
html[data-theme=light] .modern-page-hero a,
html[data-theme=light] .board-hero h1,
html[data-theme=light] .board-hero p,
html[data-theme=light] .news-page-hero h1,
html[data-theme=light] .news-page-hero p,
html[data-theme=light] .calculator-page-hero h1,
html[data-theme=light] .calculator-page-hero p,
html[data-theme=light] .education-page-hero h1,
html[data-theme=light] .education-page-hero p {
  color: var(--light-ink) !important;
  text-shadow: none !important;
}

html[data-theme=light] .modern-section,
html[data-theme=light] .board-section,
html[data-theme=light] .news-listing-section,
html[data-theme=light] .news-detail-section,
html[data-theme=light] .calculator-section,
html[data-theme=light] .calculator-page,
html[data-theme=light] .education-section,
html[data-theme=light] .clearing-static-section {
  background: radial-gradient(circle at 12% 8%, rgba(8, 127, 135, 0.07), transparent 34%), var(--light-bg) !important;
  color: var(--light-ink) !important;
}

html[data-theme=light] .modern-panel,
html[data-theme=light] .modern-card,
html[data-theme=light] .rule-panel,
html[data-theme=light] .rules-document-panel,
html[data-theme=light] .rules-accordion .accordion-item,
html[data-theme=light] .board-card,
html[data-theme=light] .news-card,
html[data-theme=light] .news-detail-card,
html[data-theme=light] .education-tab-content,
html[data-theme=light] .education-resource-card,
html[data-theme=light] .education-media-card,
html[data-theme=light] .education-media-group,
html[data-theme=light] .education-video-link-card,
html[data-theme=light] .education-image-slider,
html[data-theme=light] .calculator-card,
html[data-theme=light] .calculator-panel,
html[data-theme=light] .card-panel,
html[data-theme=light] .contract-detail-card,
html[data-theme=light] .contract-details-accordion .contract-detail-card,
html[data-theme=light] .clearing-table-wrap,
html[data-theme=light] .clearing-table-note {
  background: rgba(251, 253, 253, 0.92) !important;
  border-color: var(--light-line) !important;
  box-shadow: 0 18px 46px rgba(24, 50, 58, 0.08) !important;
  color: var(--light-ink) !important;
}

html[data-theme=light] .rules-tabs,
html[data-theme=light] .education-tabs {
  background: #eaf4f5 !important;
  border-color: var(--light-line) !important;
}

html[data-theme=light] .rules-tab,
html[data-theme=light] .education-tab {
  color: var(--light-ink) !important;
}

html[data-theme=light] .rules-tab.is-active,
html[data-theme=light] .education-tab.is-active,
html[data-theme=light] .rules-collapse-toggle {
  background: var(--light-teal) !important;
  border-color: var(--light-teal) !important;
  color: #ffffff !important;
}

html[data-theme=light] .rules-collapse-toggle.is-collapsed {
  background: #ffffff !important;
  border-color: rgba(8, 127, 135, 0.22) !important;
  color: var(--light-teal) !important;
}

html[data-theme=light] .rules-part-label,
html[data-theme=light] .rules-accordion .accordion-button,
html[data-theme=light] .rules-accordion .accordion-button:not(.collapsed),
html[data-theme=light] .contract-details-accordion .accordion-button {
  background: #eef7f8 !important;
  color: var(--light-ink) !important;
}

html[data-theme=light] .rules-article-body,
html[data-theme=light] .rule-panel p,
html[data-theme=light] .modern-panel p,
html[data-theme=light] .news-card p,
html[data-theme=light] .news-detail-card p,
html[data-theme=light] .education-head p,
html[data-theme=light] .education-media-body p,
html[data-theme=light] .calculator-intro p,
html[data-theme=light] .board-card-body p,
html[data-theme=light] .clearing-section-heading p {
  color: var(--light-muted-text) !important;
}

html[data-theme=light] .modern-panel h2,
html[data-theme=light] .modern-panel h3,
html[data-theme=light] .news-listing-head h2,
html[data-theme=light] .news-card h3,
html[data-theme=light] .news-detail-card h1,
html[data-theme=light] .education-head h2,
html[data-theme=light] .education-panel-head h2,
html[data-theme=light] .education-resource-card h3,
html[data-theme=light] .education-media-body h3,
html[data-theme=light] .calculator-card h2,
html[data-theme=light] .board-card-body h2,
html[data-theme=light] .clearing-section-heading h2 {
  color: var(--light-ink) !important;
}

html[data-theme=light] .rule-panel h2,
html[data-theme=light] .rules-accordion .accordion-button span,
html[data-theme=light] .rules-part-label,
html[data-theme=light] .education-resource-type,
html[data-theme=light] .education-video-action,
html[data-theme=light] .news-card a,
html[data-theme=light] .news-card-link,
html[data-theme=light] .news-back-link,
html[data-theme=light] .clearing-info-table a,
html[data-theme=light] .board-card-body span {
  color: var(--light-teal) !important;
}

html[data-theme=light] .clearing-info-table th,
html[data-theme=light] .clearing-info-table td {
  background: #ffffff !important;
  border-bottom-color: rgba(8, 127, 135, 0.12) !important;
  color: var(--light-ink) !important;
}

html[data-theme=light] .clearing-info-table th,
html[data-theme=light] .clearing-info-table tbody tr:nth-child(even) td,
html[data-theme=light] .clearing-info-table tbody tr:hover td {
  background: #eef7f8 !important;
}

html[data-theme=light] .table-sort-button:hover,
html[data-theme=light] .table-sort-button:focus-visible,
html[data-theme=light] .table-sort-button[data-sort-direction=asc],
html[data-theme=light] .table-sort-button[data-sort-direction=desc] {
  color: var(--modern-teal) !important;
}

html[data-theme=light] .clearing-document-card {
  background: linear-gradient(135deg, #087f87, #0a5961) !important;
  color: #ffffff !important;
}

html[data-theme=light] .clearing-document-card h2,
html[data-theme=light] .clearing-document-card p,
html[data-theme=light] .clearing-document-card strong {
  color: #ffffff !important;
}

html[data-theme=light] .calculator-page input,
html[data-theme=light] .calculator-page select,
html[data-theme=light] .calculator-page textarea,
html[data-theme=light] .education-section input,
html[data-theme=light] .education-section select,
html[data-theme=light] .education-section textarea {
  background: #ffffff !important;
  border-color: rgba(8, 127, 135, 0.18) !important;
  color: var(--light-ink) !important;
}

html[data-theme=light] .contract-detail-label,
html[data-theme=light] .contract-detail-row dt {
  color: #5f7580 !important;
}

html[data-theme=light] .contract-detail-value,
html[data-theme=light] .contract-detail-row dd {
  color: var(--light-ink) !important;
}

html[data-theme=light] .pdf-viewer-shell {
  background: var(--light-bg) !important;
  color: var(--light-ink) !important;
}

html[data-theme=light] .pdf-viewer-toolbar {
  background: rgba(251, 253, 253, 0.94) !important;
  border-color: var(--light-line) !important;
  color: var(--light-ink) !important;
}

html[data-theme=light] body.modern-site:has(.modern-page-hero) .modern-header:not(.is-scrolled):not(:has(.navbar-collapse.show)):not(:has(.navbar-collapse.collapsing)) .modern-nav-links .nav-link,
html[data-theme=light] .modern-header:not(.is-scrolled):not(:has(.navbar-collapse.show)):not(:has(.navbar-collapse.collapsing)) .modern-nav-links .nav-link {
  color: #16313a !important;
  text-shadow: 0 2px 14px rgba(255, 255, 255, 0.68) !important;
}

html[data-theme=light] body.modern-site:has(.modern-page-hero) .modern-header:not(.is-scrolled):not(:has(.navbar-collapse.show)):not(:has(.navbar-collapse.collapsing)) .modern-nav-links .nav-link:hover,
html[data-theme=light] body.modern-site:has(.modern-page-hero) .modern-header:not(.is-scrolled):not(:has(.navbar-collapse.show)):not(:has(.navbar-collapse.collapsing)) .modern-nav-links .nav-link.active,
html[data-theme=light] .modern-header:not(.is-scrolled):not(:has(.navbar-collapse.show)):not(:has(.navbar-collapse.collapsing)) .modern-nav-links .nav-link:hover,
html[data-theme=light] .modern-header:not(.is-scrolled):not(:has(.navbar-collapse.show)):not(:has(.navbar-collapse.collapsing)) .modern-nav-links .nav-link.active {
  background: rgba(255, 255, 255, 0.72) !important;
  color: var(--light-teal) !important;
  text-shadow: none !important;
}

html[data-theme=light] .carbon-hero {
  background: linear-gradient(90deg, rgba(235, 248, 250, 0.78), rgba(224, 242, 245, 0.48)), url("../images/carbon_credit.png") center/cover no-repeat !important;
}

/* Board members Bootstrap grid */

/* Board members page: responsive Bootstrap grid cards and member detail modal. */
.board-members-grid-wrap {
  margin: clamp(32px, 5vw, 64px) auto 0;
  max-width: 1120px;
  position: relative;
}

.board-members-grid {
  align-items: stretch;
  justify-content: center;
}

.board-members-grid > [class*=col] {
  display: flex;
  justify-content: center;
  flex: 0 0 100%;
  max-width: 100%;
  width: 100%;
}

.board-member-card {
  aspect-ratio: 0.72;
  background: linear-gradient(180deg, rgba(238, 248, 249, 0.85), rgba(7, 31, 38, 0.08));
  border: 0;
  border-radius: 26px;
  box-shadow: 0 22px 55px rgba(7, 31, 38, 0.12);
  cursor: pointer;
  max-width: 330px;
  overflow: hidden;
  position: relative;
  transform: translateY(0);
  transition: box-shadow 0.28s ease, transform 0.28s ease;
  width: 100%;
}

.board-member-card::after {
  background: none !important;
  border: 0 !important;
  content: none !important;
  display: none !important;
}

.board-member-card img {
  display: block;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  transition: transform 0.45s ease;
  width: 100%;
}

.board-member-card:hover,
.board-member-card:focus-visible {
  box-shadow: 0 30px 70px rgba(0, 126, 135, 0.24);
  outline: 0;
  transform: translateY(-8px);
}

.board-member-card:hover img,
.board-member-card:focus-visible img {
  transform: scale(1.045);
}

.board-member-overlay {
  background: linear-gradient(180deg, rgba(5, 24, 29, 0) 0%, rgba(5, 24, 29, 0.72) 58%, rgba(5, 24, 29, 0.92) 100%);
  bottom: 0;
  color: #fff;
  left: 0;
  padding: 92px 22px 24px;
  position: absolute;
  right: 0;
  z-index: 1;
  text-align: center;
}

.board-member-overlay::after {
  background: none !important;
  border: 0 !important;
  content: none !important;
  display: none !important;
}

.board-member-overlay h3 {
  color: #fff;
  font-size: clamp(22px, 2vw, 30px);
  font-weight: 800;
  letter-spacing: 0;
  line-height: 1.05;
  margin: 0 0 8px;
}

.board-member-overlay p {
  color: rgba(255, 255, 255, 0.78);
  font-size: 15px;
  font-weight: 600;
  margin: 0;
}

.board-member-modal .modal-dialog {
  max-width: min(1040px, 100vw - 32px);
}

.board-member-modal .modal-content,
html[data-theme=dark] .board-member-modal .modal-content,
html[data-theme=light] .board-member-modal .modal-content {
  background: #fff;
  border: 1px solid rgba(0, 126, 135, 0.16);
  border-radius: 22px;
  box-shadow: 0 32px 90px rgba(7, 31, 38, 0.28);
  color: #071c22;
  overflow: hidden;
}

.board-member-modal-close {
  background-color: rgba(255, 255, 255, 0.94);
  border-radius: 999px;
  box-shadow: 0 10px 24px rgba(7, 31, 38, 0.16);
  opacity: 1;
  padding: 12px;
  position: absolute;
  right: 18px;
  top: 18px;
  z-index: 3;
}

.board-member-modal-grid {
  display: grid;
  grid-template-columns: minmax(320px, 0.92fr) minmax(0, 1fr);
  min-height: 590px;
}

.board-member-modal-image {
  background: linear-gradient(180deg, #e8f5f7, #b9d8dd);
  min-height: 590px;
  overflow: hidden;
}

.board-member-modal-image img {
  display: block;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  width: 100%;
}

.board-member-modal-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
  padding: clamp(34px, 5vw, 62px);
}

.board-member-modal-copy h2 {
  color: #061b21;
  font-size: clamp(32px, 5.2vw, 32px);
  font-weight: 800;
  letter-spacing: 0;
  line-height: 0.96;
  margin: 0 0 10px;
}

.board-member-modal-copy span {
  color: var(--modern-teal);
  display: block;
  font-size: clamp(20px, 2.1vw, 20px);
  font-weight: 700;
  line-height: 1.15;
  margin-bottom: 28px;
}

.board-member-modal-copy p {
  color: #102d36;
  font-size: clamp(18px, 1.5vw, 19px);
  line-height: 1.58;
  margin: 0;
  max-height: 380px;
  overflow-y: auto;
  padding-right: 18px;
}

.board-member-modal-copy p::-webkit-scrollbar {
  width: 5px;
}

.board-member-modal-copy p::-webkit-scrollbar-thumb {
  background: var(--modern-teal);
  border-radius: 999px;
}

.board-member-modal-copy p::-webkit-scrollbar-track {
  background: #e3edf0;
  border-radius: 999px;
}

html[data-theme=light] .board-member-card {
  background: linear-gradient(180deg, #f7fcfd, #e8f3f5);
  box-shadow: 0 20px 48px rgba(4, 63, 72, 0.12);
}

/* Board page compact viewport fit */
body.board-page .board-section {
  padding: clamp(22px, 3vw, 36px) 0;
}

body.board-page .board-intro {
  margin-bottom: clamp(14px, 2vw, 22px);
  max-width: 760px;
}

body.board-page .board-intro h2 {
  font-size: clamp(22px, 2vw, 26px);
  margin-bottom: 8px;
}

body.board-page .board-intro p {
  font-size: 14px;
  line-height: 1.45;
}

body.board-page .board-members-grid-wrap {
  margin-top: 0;
  max-width: 980px;
}

body.board-page .board-members-grid {
  --bs-gutter-x: 1rem;
  --bs-gutter-y: 1rem;
}

body.board-page .board-member-card {
  aspect-ratio: 0.76;
  max-width: 230px;
}

body.board-page .board-member-overlay {
  padding: 16px;
  text-align: center;
}

body.board-page .board-member-overlay h3 {
  font-size: clamp(16px, 1.4vw, 16px);
  margin-bottom: 4px;
}

body.board-page .board-member-overlay p {
  font-size: 12px;
}

@media (min-width: 768px) {
  .board-members-grid > [class*=col] {
    flex-basis: 50%;
    max-width: 50%;
    width: 50%;
  }
}
@media (min-width: 992px) {
  .board-members-grid > [class*=col] {
    flex-basis: 33.333333%;
    max-width: 33.333333%;
    width: 33.333333%;
  }
}
@media (max-width: 991.98px) {
  .board-member-card {
    max-width: 300px;
    min-height: 360px;
  }
  .board-member-modal-grid {
    grid-template-columns: 1fr;
    min-height: 0;
  }
  .board-member-modal-image {
    min-height: 390px;
  }
  .board-member-modal-copy {
    padding: 32px 26px 34px;
  }
  .board-member-modal-copy p {
    max-height: 260px;
  }
}
@media (max-width: 575.98px) {
  .board-member-card {
    aspect-ratio: 0.78;
    max-width: min(280px, 100%);
    min-height: 330px;
  }
  .board-member-modal .modal-dialog {
    max-width: calc(100vw - 18px);
  }
  .board-member-modal-image {
    min-height: 330px;
  }
}
/* Page hero image mapping */
body.modern-site {
  --page-hero-image-dark: url("../images/hero-banner.png");
  --page-hero-image-light: url("../images/hero-banner-light.png");
  --page-hero-position: center center;
}

body.derivatives-page {
  --page-hero-image-dark: url("../images/derivatives-hero.png");
  --page-hero-image-light: url("../images/derivatives-hero-light.png");
  --page-hero-position: center center;
}

body.risk-page {
  --page-hero-image-dark: url("../images/risk-hero.png");
  --page-hero-image-light: url("../images/risk-hero-light.png");
  --page-hero-position: center center;
}

body.carbon-page {
  --page-hero-image-dark: url("../images/carbon_credit.png");
  --page-hero-image-light: url("../images/carbon_credit.png");
  --page-hero-position: center center;
}

body.board-page {
  --page-hero-image-dark: url("../images/board-hero.png");
  --page-hero-image-light: url("../images/board-hero-light.png");
  --page-hero-position: center center;
}

body.education-page {
  --page-hero-image-dark: url("../images/education-hero.png");
  --page-hero-image-light: url("../images/education-hero-light.png");
  --page-hero-position: center center;
}

body.news-page,
body.news-detail-page {
  --page-hero-image-dark: url("../images/news-hero.png");
  --page-hero-image-light: url("../images/news-hero-light.png");
  --page-hero-position: center center;
}

.modern-page-hero,
.carbon-hero,
.board-hero,
.news-page-hero,
.calculator-page-hero,
.education-page-hero {
  background: linear-gradient(90deg, rgba(4, 43, 53, 0.94), rgba(4, 43, 53, 0.62)), var(--page-hero-image-dark) var(--page-hero-position)/cover no-repeat !important;
  min-height: clamp(180px, 20vw, 240px);
}

html[data-theme=light] .modern-page-hero,
html[data-theme=light] .carbon-hero,
html[data-theme=light] .board-hero,
html[data-theme=light] .news-page-hero,
html[data-theme=light] .calculator-page-hero,
html[data-theme=light] .education-page-hero {
  background: linear-gradient(90deg, rgba(235, 248, 250, 0.78), rgba(224, 242, 245, 0.36)), var(--page-hero-image-light) var(--page-hero-position)/cover no-repeat !important;
}

@media (max-width: 767.98px) {
  .modern-page-hero,
  .carbon-hero,
  .board-hero,
  .news-page-hero,
  .calculator-page-hero,
  .education-page-hero {
    background-position: center center !important;
    min-height: 240px;
  }
}
/* Inner page hero navbar clearance */
body.modern-site:has(.modern-page-hero) .modern-page-hero {
  padding-top: clamp(96px, 9vw, 122px) !important;
  padding-bottom: clamp(26px, 3vw, 42px) !important;
}

body.modern-site:has(.modern-page-hero) .modern-page-hero p {
  font-size: 12px;
  margin-bottom: 10px;
}

body.modern-site:has(.modern-page-hero) .modern-page-hero h1 {
  font-size: clamp(28px, 3vw, 38px);
  line-height: 1.05;
}

body.modern-site:has(.modern-page-hero) .modern-page-hero::before {
  background: linear-gradient(180deg, rgba(0, 23, 28, 0.72) 0%, rgba(0, 23, 28, 0.28) 38%, rgba(0, 23, 28, 0) 72%);
  content: "";
  inset: 0 0 auto;
  height: 145px;
  pointer-events: none;
  position: absolute;
  z-index: 0;
}

html[data-theme=light] body.modern-site:has(.modern-page-hero) .modern-page-hero::before {
  background: linear-gradient(180deg, rgba(232, 248, 250, 0.92) 0%, rgba(232, 248, 250, 0.46) 48%, rgba(232, 248, 250, 0) 100%);
}

body.modern-site:has(.modern-page-hero) .modern-page-hero .container {
  margin-top: 0 !important;
}

@media (max-width: 991.98px) {
  body.modern-site:has(.modern-page-hero) .modern-page-hero {
    padding-top: 72px !important;
  }
  body.modern-site:has(.modern-page-hero) .modern-page-hero::before {
    height: 92px;
  }
}
/* Clearing member links: keep hover readable in light mode */
html[data-theme=light] .clearing-info-table a:hover,
html[data-theme=light] .clearing-info-table a:focus-visible {
  background: var(--modern-teal) !important;
  border-color: var(--modern-teal) !important;
  color: #ffffff !important;
}

/* Home hero market panel final structure */
.hero-market-heading-copy {
  display: grid;
  gap: 6px;
}

.hero-market-panel-head .hero-market-heading-copy strong {
  color: var(--modern-teal-bright);
  font-size: 15px;
  font-weight: 900;
  letter-spacing: 0.09em;
  line-height: 1;
  text-transform: uppercase;
}

.hero-market-panel-head .hero-market-heading-copy span {
  color: rgba(221, 251, 252, 0.78);
  display: block;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero-market-panel-head > .hero-market-date-pill {
  margin-left: auto;
}

.hero-market-kpis {
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr) !important;
  align-items: stretch;
}

.hero-market-kpi-main,
.hero-market-kpi-stack {
  min-width: 0;
}

.hero-market-kpi-main {
  align-items: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 112px;
}

.hero-market-kpi-stack {
  display: grid;
  gap: 10px;
}

.hero-market-kpi-stack > div {
  align-items: center;
  display: flex;
  justify-content: space-between;
  min-height: 51px;
}

.hero-market-kpi-stack > div strong {
  margin-top: 0;
}

.hero-market-table .contract-code-button {
  width: 130px;
  padding-inline: 11px 8px;
}

.hero-market-table .contract-code-button::after {
  content: "->" !important;
}

.hero-market-calc-action {
  padding-top: 8px;
}

.hero-market-calc-btn {
  align-items: center;
  display: inline-flex;
  gap: 9px;
  min-height: 30px;
  padding: 6px 10px !important;
}

.hero-market-calc-icon {
  border: 2px solid currentColor;
  border-radius: 4px;
  display: inline-grid;
  flex: 0 0 auto;
  gap: 2px;
  grid-template-columns: repeat(2, 4px);
  height: 17px;
  place-content: center;
  width: 17px;
}

.hero-market-calc-icon::before,
.hero-market-calc-icon::after {
  background: currentColor;
  border-radius: 1px;
  box-shadow: 6px 0 0 currentColor, 0 6px 0 currentColor, 6px 6px 0 currentColor;
  content: "";
  height: 3px;
  width: 3px;
}

.hero-market-calc-icon::after {
  display: none;
}

.derivatives-risk-panel {
  margin-top: clamp(28px, 4vw, 48px);
}

html[data-theme=light] .hero-actions .hero-primary-btn:hover,
html[data-theme=light] .hero-actions .hero-primary-btn:focus-visible {
  color: #087f87 !important;
}

html[data-theme=light] .hero-actions .hero-primary-btn:hover span,
html[data-theme=light] .hero-actions .hero-primary-btn:focus-visible span {
  background: rgba(1, 36, 43, 0.9) !important;
  color: #ffffff !important;
}

html[data-theme=light] .hero-market-panel-head .hero-market-heading-copy strong {
  color: #087f87;
}

html[data-theme=light] .hero-market-panel-head .hero-market-heading-copy span {
  color: #58727a;
}

@media (max-width: 767.98px) {
  .hero-market-panel-head {
    align-items: flex-start;
  }
  .hero-market-kpis {
    grid-template-columns: 1fr !important;
  }
  .hero-market-kpi-main {
    min-height: 86px;
  }
  .hero-market-table .contract-code-button {
    min-width: 102px;
  }
}
/* Fold-size hero market panel polish */
@media (max-width: 380px) {
  .hero-market-panel {
    border-radius: 16px !important;
    margin-inline: auto !important;
    max-width: 292px !important;
    padding: 12px 10px !important;
  }
  .hero-market-panel-head {
    align-items: flex-start !important;
    gap: 8px !important;
    margin-bottom: 10px !important;
  }
  .hero-market-panel-head .hero-market-heading-copy {
    gap: 3px;
    min-width: 0;
  }
  .hero-market-panel-head .hero-market-heading-copy strong {
    font-size: 14px;
    letter-spacing: 0.08em;
  }
  .hero-market-panel-head .hero-market-heading-copy span {
    font-size: 11px;
    line-height: 1.25;
  }
  .hero-market-panel-head > .hero-market-date-pill {
    flex: 0 0 auto;
    font-size: 7px !important;
    min-height: 24px;
    padding: 5px 8px !important;
  }
  .hero-market-kpis {
    gap: 8px !important;
    margin-bottom: 9px !important;
  }
  .hero-market-kpi-main {
    min-height: 72px !important;
  }
  .hero-market-kpi-stack {
    gap: 7px !important;
  }
  .hero-market-kpi-stack > div {
    min-height: 41px !important;
  }
  .hero-market-kpis div {
    border-radius: 12px !important;
    padding: 8px 9px !important;
  }
  .hero-market-kpis span {
    font-size: 7.5px !important;
    letter-spacing: 0.03em !important;
  }
  .hero-market-kpis strong {
    font-size: 20px !important;
    line-height: 1 !important;
  }
  .hero-market-table-wrap {
    border-radius: 12px !important;
  }
  .hero-market-table {
    font-size: 8px !important;
    table-layout: fixed !important;
  }
  .hero-market-table th,
  .hero-market-table td {
    padding: 5px 2px !important;
  }
  .hero-market-table th {
    font-size: 6.8px !important;
    letter-spacing: 0.01em !important;
  }
  .hero-market-table td {
    font-size: 7.5px !important;
  }
  .hero-market-table .hero-market-group-row td,
  .hero-market-table .hero-market-group-row td:first-child {
    font-size: 7px !important;
    padding-block: 5px !important;
  }
  .hero-market-table .contract-code-button {
    border-radius: 999px !important;
    font-size: 6.8px !important;
    min-height: 24px !important;
    min-width: 0 !important;
    padding: 4px 5px !important;
    width: 92px !important;
  }
  .hero-market-table .contract-code-button::after {
    font-size: 8px !important;
    height: 15px !important;
    width: 15px !important;
  }
  .hero-market-calc-action {
    padding-top: 7px !important;
  }
  .hero-market-calc-btn {
    font-size: 8px !important;
    min-height: 28px;
    padding: 5px 9px !important;
  }
}
/* News & announcements grouped CMS design */

/* News filters: category tabs, subcategory chips, date filters, and compact controls. */
.news-filter-panel {
  margin: 0 0 30px;
}

.news-category-tabs {
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(0, 125, 135, 0.15);
  border-radius: 999px;
  box-shadow: 0 14px 34px rgba(6, 34, 51, 0.07);
  display: flex;
  gap: 6px;
  justify-content: center;
  margin: 0 auto 18px;
  max-width: 100%;
  padding: 6px;
  width: fit-content;
}

.news-filter-controls {
  align-items: center;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(0, 126, 135, 0.12);
  border-radius: 18px;
  box-shadow: 0 14px 36px rgba(7, 31, 38, 0.06);
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: space-between;
  padding: 12px;
}

.news-subcategory-filter,
.news-date-filter {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.news-tab-btn,
.news-filter-chip {
  appearance: none;
  background: rgba(255, 255, 255, 0.86);
  border: 1px solid rgba(0, 126, 135, 0.18);
  border-radius: 999px;
  color: #17333a;
  font-size: 12px;
  font-weight: 800;
  min-height: 34px;
  padding: 8px 14px 6px;
  transition: background 0.22s ease, border-color 0.22s ease, color 0.22s ease, transform 0.22s ease;
}

.news-tab-btn {
  border: 0;
  font-size: 12px;
  letter-spacing: 0.04em;
  min-width: 118px;
  padding: 9px 16px 7px;
  text-transform: uppercase;
}

.news-filter-chip {
  min-height: 30px;
  padding: 7px 12px 5px;
}

.news-tab-btn:hover,
.news-tab-btn.is-active,
.news-filter-chip:hover,
.news-filter-chip.is-active {
  background: var(--modern-teal);
  border-color: var(--modern-teal);
  color: #fff;
  transform: translateY(-2px);
}

.news-date-filter label {
  color: #52656d;
  display: grid;
  font-size: 11px;
  font-weight: 800;
  gap: 4px;
  text-transform: uppercase;
}

.news-date-filter input {
  background: #fff;
  border: 1px solid rgba(0, 126, 135, 0.16);
  border-radius: 12px;
  color: #112b32;
  font: inherit;
  font-size: 12px;
  min-height: 36px;
  padding: 7px 10px;
}

.news-date-filter input::-webkit-calendar-picker-indicator {
  cursor: pointer;
  filter: invert(31%) sepia(81%) saturate(1104%) hue-rotate(146deg) brightness(89%) contrast(98%);
  opacity: 0.86;
}

.news-date-filter input:hover::-webkit-calendar-picker-indicator {
  opacity: 1;
}

.news-card-cover {
  aspect-ratio: 16/9;
  background: linear-gradient(135deg, rgba(0, 126, 135, 0.14), rgba(5, 199, 209, 0.09));
  margin: -26px -26px 22px;
  overflow: hidden;
}

.news-card-cover img,
.news-detail-cover-wrap img,
.latest-news-visual img {
  display: block;
  height: 100%;
  object-fit: cover;
  width: 100%;
}

.news-card-body {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
}

.news-subcategory-badge {
  align-items: center;
  background: rgba(0, 126, 135, 0.08);
  border: 1px solid rgba(0, 126, 135, 0.16);
  border-radius: 999px;
  color: var(--modern-teal);
  display: inline-flex;
  font-size: 12px;
  font-weight: 800;
  padding: 7px 10px 5px;
}

.news-card-meta .news-subcategory-carbon,
.news-detail-meta .news-subcategory-carbon,
.news-subcategory-carbon {
  background: rgba(21, 166, 91, 0.12);
  border-color: rgba(21, 166, 91, 0.24);
  color: #0d9b55;
}

.news-card-meta .news-subcategory-derivatives,
.news-detail-meta .news-subcategory-derivatives,
.news-subcategory-derivatives {
  background: rgba(29, 112, 216, 0.12);
  border-color: rgba(29, 112, 216, 0.24);
  color: #1d70d8;
}

.news-card-meta .news-subcategory-default,
.news-detail-meta .news-subcategory-default,
.news-subcategory-default {
  background: rgba(0, 126, 135, 0.1);
  border-color: rgba(0, 126, 135, 0.2);
  color: var(--modern-teal);
}

/* Homepage latest news list */
.latest-news-section {
  margin-top: -1px;
  padding: clamp(32px, 4vw, 58px) 0 clamp(44px, 5vw, 72px);
}

.latest-news-section .container {
  max-width: 1500px !important;
}

.latest-news-head {
  align-items: flex-end;
  display: flex;
  justify-content: space-between;
  margin: 0 0 18px;
  max-width: 560px;
  text-align: left;
}

.latest-news-head h2 {
  color: var(--modern-teal-bright);
  font-size: clamp(20px, 2vw, 28px);
  letter-spacing: 0.08em;
  line-height: 1.2;
  text-shadow: none;
  text-transform: uppercase;
}

.latest-news-head p,
.latest-news-head::after {
  display: none;
}

.latest-news-all {
  margin-top: 24px;
  position: static;
}

.latest-news-shell {
  align-items: stretch;
  display: grid;
  gap: clamp(28px, 4vw, 70px);
  grid-template-columns: minmax(320px, 0.84fr) minmax(360px, 1.16fr);
  overflow: visible !important;
  padding: 0 !important;
}

.latest-news-list {
  display: grid;
  gap: 0;
  position: relative;
}

.latest-news-row {
  align-items: flex-start;
  border-bottom: 1px solid rgba(72, 224, 232, 0.2);
  display: grid;
  gap: 22px;
  grid-template-columns: 48px 1fr;
  padding: 18px 0 18px;
  position: relative;
}

.latest-news-row::before {
  background: var(--modern-teal-bright);
  content: "";
  height: calc(100% - 26px);
  left: 0;
  position: absolute;
  top: 13px;
  width: 4px;
}

.latest-news-date-icon {
  align-items: center;
  color: var(--modern-teal-bright);
  display: inline-flex;
  height: 34px;
  justify-content: center;
  margin-left: 16px;
  margin-top: 5px;
  width: 34px;
}

.latest-news-date-icon svg {
  fill: none;
  height: 28px;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
  width: 28px;
}

.latest-news-row-body time {
  color: var(--modern-teal-bright);
  display: block;
  font-size: 15px;
  font-weight: 800;
  letter-spacing: 0.04em;
  margin-bottom: 6px;
  text-transform: uppercase;
}

.latest-news-row-body h3 {
  color: #fff;
  font-size: clamp(18px, 1.5vw, 24px);
  font-weight: 800;
  line-height: 1.22;
  margin: 0;
}

.latest-news-row-body p {
  color: rgba(234, 255, 255, 0.82);
  display: -webkit-box;
  font-size: clamp(15px, 1.05vw, 18px);
  line-height: 1.45;
  margin: 7px 0 0;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.latest-news-row-body a {
  color: var(--modern-teal-bright);
  display: inline-flex;
  font-size: 16px;
  font-weight: 800;
  margin-top: 6px;
  text-decoration: none;
}

.latest-news-row-body a::after {
  content: " ->";
  margin-left: 4px;
}

.latest-news-row-body a:hover {
  color: #fff;
}

.latest-news-visual-panel {
  align-self: stretch;
  background: linear-gradient(90deg, rgba(3, 29, 34, 0.2), rgba(3, 29, 34, 0.92)), url("../images/hero-banner.png") center right/cover no-repeat;
  min-height: 420px;
  position: relative;
}

.latest-news-visual-panel::after {
  background: radial-gradient(circle at 46% 50%, rgba(89, 245, 248, 0.14), transparent 28%), linear-gradient(180deg, transparent 0%, rgba(3, 29, 34, 0.32) 100%);
  content: "";
  inset: 0;
  pointer-events: none;
  position: absolute;
}

html[data-theme=light] .latest-news-section {
  background: radial-gradient(circle at 12% 14%, rgba(0, 169, 180, 0.12), transparent 28%), linear-gradient(135deg, #f7fcfd 0%, #eef8f9 100%);
  color: var(--modern-dark);
}

html[data-theme=light] .latest-news-head h2,
html[data-theme=light] .latest-news-row-body time,
html[data-theme=light] .latest-news-row-body a,
html[data-theme=light] .latest-news-date-icon {
  color: var(--modern-teal);
}

html[data-theme=light] .latest-news-row-body h3 {
  color: #102a33;
}

html[data-theme=light] .latest-news-row-body p {
  color: #526673;
}

html[data-theme=light] .latest-news-row {
  border-color: rgba(0, 126, 135, 0.18);
}

html[data-theme=light] .latest-news-row-body a:hover {
  color: #054e56;
}

html[data-theme=light] .latest-news-visual-panel {
  background: linear-gradient(90deg, rgba(247, 252, 253, 0.1), rgba(247, 252, 253, 0.75)), url("../images/hero-banner-light.png") center right/cover no-repeat;
}

@media (max-width: 991.98px) {
  .latest-news-section .container {
    width: calc(100% - 32px);
  }
  .latest-news-head {
    align-items: flex-start;
    display: block;
    max-width: none;
  }
  .latest-news-shell {
    grid-template-columns: 1fr;
  }
  .latest-news-visual-panel {
    display: none;
  }
}
@media (max-width: 575.98px) {
  .latest-news-row {
    gap: 14px;
    grid-template-columns: 40px 1fr;
  }
  .latest-news-row-body time {
    font-size: 13px;
  }
  .latest-news-row-body h3 {
    font-size: 18px;
  }
  .latest-news-row-body p {
    font-size: 14px;
  }
}
.hero-latest-news {
  background: rgba(0, 36, 42, 0.52) !important;
  backdrop-filter: blur(18px);
  border: 1px solid rgba(44, 225, 235, 0.18);
  border-radius: 22px;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.18);
  color: #eaffff;
  margin-top: clamp(22px, 2.6vw, 34px);
  overflow: visible;
  padding: clamp(14px, 1.4vw, 18px) !important;
  position: relative;
  width: min(100%, 720px);
}

.hero-latest-news::before,
.hero-latest-news::after {
  content: none !important;
}

.hero-latest-news .latest-news-head {
  align-items: center;
  display: flex;
  gap: 14px;
  justify-content: space-between;
  margin-bottom: 10px;
  max-width: none;
}

.hero-latest-news .latest-news-head h2 {
  color: var(--modern-teal-bright);
  font-size: clamp(15px, 1.2vw, 20px);
  letter-spacing: 0.1em;
  margin: 0;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.hero-latest-news .latest-news-head > div {
  align-items: center;
  display: flex;
  flex: 1 1 0;
  gap: 14px;
  min-width: 0;
}

.hero-latest-news .latest-news-head > div::after {
  background: rgba(44, 225, 235, 0.75);
  content: "";
  flex: 1 1 auto;
  height: 1px;
  min-width: 42px;
}

.hero-latest-news .latest-news-all {
  align-items: center;
  background: linear-gradient(180deg, rgba(64, 188, 196, 0.28), rgba(0, 125, 135, 0.2));
  border: 1px solid rgba(112, 230, 238, 0.42);
  border-radius: 999px;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.06);
  color: #eaffff;
  display: inline-flex;
  flex: 0 0 auto;
  font-size: 12px;
  font-weight: 800;
  justify-content: center;
  line-height: 1.1;
  min-height: 30px;
  margin: 0;
  padding: 7px 13px;
  text-transform: uppercase;
  white-space: nowrap;
}

.hero-latest-news .latest-news-all::after {
  align-items: center;
  background: rgba(0, 154, 166, 0.95);
  border-radius: 50%;
  color: #fff;
  content: "->";
  display: inline-flex;
  font-size: 11px;
  height: 18px;
  justify-content: center;
  margin-left: 8px;
  width: 18px;
}

.hero-latest-news .latest-news-all:hover {
  background: linear-gradient(180deg, rgba(0, 154, 166, 0.86), rgba(0, 125, 135, 0.72));
  border-color: rgba(112, 230, 238, 0.9);
  color: #fff;
  transform: none;
}

.hero-latest-news .latest-news-shell {
  align-items: start;
  display: block;
  gap: 0;
}

.hero-latest-news .latest-news-list {
  align-items: start;
  gap: 0;
}

.hero-latest-news .latest-news-row {
  align-self: start;
  gap: 14px;
  grid-template-columns: 46px 1fr;
  padding: 10px 0;
}

.hero-latest-news .latest-news-row::before {
  height: calc(100% - 18px);
  top: 9px;
  width: 3px;
}

.hero-latest-news .latest-news-date-icon {
  height: 28px;
  margin-left: 14px;
  margin-top: 3px;
  width: 28px;
}

.hero-latest-news .latest-news-date-icon svg {
  height: 22px;
  width: 22px;
}

.hero-latest-news .latest-news-row-body time {
  font-size: 12px;
  margin-bottom: 4px;
}

.hero-latest-news .latest-news-row-body h3 {
  display: -webkit-box;
  font-size: clamp(14px, 1.04vw, 16px);
  line-height: 1.2;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.hero-latest-news .latest-news-row-body p {
  font-size: clamp(12px, 0.82vw, 13px);
  line-height: 1.32;
  margin-top: 5px;
  -webkit-line-clamp: 2;
}

.template-hero .hero-latest-news .latest-news-row-body p:not(.hero-kicker),
.modern-hero .hero-latest-news .latest-news-row-body p {
  color: rgba(234, 255, 255, 0.82);
  font-size: clamp(12px, 0.82vw, 13px);
  line-height: 1.32;
  margin: 5px 0 0;
  max-width: none;
}

.hero-latest-news .latest-news-row-body a {
  font-size: 13px;
  margin-top: 5px;
}

.hero-latest-news .latest-news-row-body {
  min-width: 0;
}

.hero-latest-news .latest-news-visual-panel {
  display: none;
}

html[data-theme=light] .hero-latest-news {
  background: rgba(255, 255, 255, 0.74) !important;
  border-color: rgba(0, 125, 135, 0.16);
  box-shadow: 0 18px 55px rgba(0, 70, 78, 0.12);
}

html[data-theme=light] .hero-latest-news .latest-news-row-body a:hover {
  color: #063d45;
}

@media (max-width: 1199.98px) {
  .hero-latest-news {
    width: 100%;
  }
  .hero-latest-news .latest-news-head {
    gap: 10px;
  }
  .hero-latest-news .latest-news-head h2 {
    font-size: clamp(14px, 1.45vw, 17px);
    letter-spacing: 0.08em;
  }
  .hero-latest-news .latest-news-head > div::after {
    min-width: 18px;
  }
  .hero-latest-news .latest-news-all {
    font-size: 0;
    min-height: 32px;
    padding: 7px 12px;
  }
  .hero-latest-news .latest-news-all::before {
    content: "View All";
    font-size: 12px;
  }
}
@media (max-width: 1399.98px) {
  .hero-latest-news .latest-news-all {
    font-size: 0;
    min-height: 32px;
    padding: 7px 12px;
  }
  .hero-latest-news .latest-news-all::before {
    content: "View All";
    font-size: 12px;
  }
}
@media (max-width: 991.98px) {
  .hero-latest-news {
    max-width: 100%;
    width: 100%;
  }
  .hero-latest-news .latest-news-head > div {
    display: flex;
  }
  .hero-latest-news .latest-news-all {
    font-size: 0;
    min-height: 32px;
    padding: 7px 12px;
  }
  .template-hero .hero-latest-news .latest-news-row {
    padding: 8px 0;
  }
  .template-hero .hero-latest-news .latest-news-row:nth-child(n+3) {
    display: none;
  }
}
@media (max-width: 575.98px) {
  .hero-latest-news {
    margin-top: 20px;
    width: 100%;
  }
  .hero-latest-news .latest-news-head h2 {
    font-size: 15px;
  }
  .hero-latest-news .latest-news-row {
    grid-template-columns: 36px 1fr;
    padding: 8px 0;
  }
  .hero-latest-news .latest-news-date-icon {
    height: 24px;
    margin-left: 10px;
    width: 24px;
  }
  .hero-latest-news .latest-news-date-icon svg {
    height: 20px;
    width: 20px;
  }
  .template-hero .hero-latest-news .latest-news-row-body p,
  .template-hero .hero-latest-news .latest-news-row-body p:not(.hero-kicker) {
    display: none;
  }
  .template-hero .hero-latest-news .latest-news-row-body h3 {
    -webkit-line-clamp: 2;
  }
  .hero-latest-news .latest-news-all {
    margin-left: 46px;
    margin-top: 8px;
  }
}
.news-category-news {
  background: rgba(0, 126, 135, 0.12) !important;
  border-color: rgba(0, 126, 135, 0.24) !important;
  color: var(--modern-teal) !important;
}

.news-category-news::before {
  background: var(--modern-teal);
}

.news-category-announcement {
  background: rgba(245, 158, 11, 0.15) !important;
  border-color: rgba(245, 158, 11, 0.3) !important;
  color: #b46b00 !important;
}

.news-category-announcement::before {
  background: #f59e0b;
}

.news-detail-cover-wrap {
  aspect-ratio: 16/8;
  border-radius: 22px;
  margin: 0 0 28px;
  overflow: hidden;
}

.news-detail-body a,
.news-detail-link-list a {
  color: var(--modern-teal);
  font-weight: 800;
  overflow-wrap: anywhere;
}

.news-detail-links,
.news-detail-file {
  border-top: 1px solid rgba(0, 126, 135, 0.12);
  margin-top: 28px;
  padding-top: 26px;
}

.news-detail-links h3,
.news-detail-file h3 {
  color: #071f26;
  font-size: 22px;
  font-weight: 800;
  margin: 0 0 14px;
}

.news-detail-link-list,
.news-detail-file-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.news-detail-link-list a,
.news-detail-file-actions a {
  align-items: center;
  border: 1px solid rgba(0, 126, 135, 0.18);
  border-radius: 999px;
  display: inline-flex;
  min-height: 42px;
  padding: 10px 16px 8px;
  text-decoration: none;
}

.latest-news-visual {
  display: block !important;
  min-height: 164px;
  padding: 0;
}

.latest-news-card {
  height: 440px;
  min-height: 440px;
}

.latest-news-card .news-card-meta {
  padding-top: 18px;
}

.latest-news-card p {
  min-height: 74px;
}

@media (max-width: 991.98px) {
  .news-filter-controls {
    align-items: stretch;
    flex-direction: column;
  }
}
@media (max-width: 767.98px) {
  .news-filter-controls {
    border-radius: 18px;
    gap: 10px;
    padding: 10px;
  }
  .news-category-tabs {
    border-radius: 999px;
    justify-content: flex-start;
    overflow-x: auto;
    padding: 5px;
    scrollbar-width: none;
    width: 100%;
  }
  .news-category-tabs::-webkit-scrollbar {
    display: none;
  }
  .news-tab-btn {
    flex: 0 0 auto;
    min-width: auto;
    width: auto;
  }
  .news-date-filter {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    width: 100%;
  }
  .news-date-filter input {
    width: 100%;
  }
  .news-detail-cover-wrap {
    aspect-ratio: 16/10;
    border-radius: 16px;
  }
  .latest-news-card {
    height: 410px;
    min-height: 410px;
  }
}
html[data-theme=dark] .news-listing-section,
html[data-theme=dark] .news-detail-section {
  background: #f6f7f8;
}

/* Final hero news compactness overrides */
.template-hero .hero-copy h1 {
  font-size: clamp(30px, 3.6vw, 36px) !important;
  line-height: 1.02 !important;
}

.template-hero .hero-copy .hero-kicker {
  font-size: clamp(16px, 1.45vw, 18px) !important;
  line-height: 1.14 !important;
}

.template-hero .hero-primary-btn {
  font-size: 14px !important;
  min-height: 44px !important;
  padding: 9px 18px !important;
}

.template-hero .hero-primary-btn svg {
  height: 14px;
  width: 14px;
}

.template-hero .hero-latest-news {
  width: min(100%, 720px);
}

.template-hero .hero-latest-news .latest-news-head h2 {
  font-size: clamp(13px, 0.95vw, 16px) !important;
}

.template-hero .hero-latest-news .latest-news-row {
  align-self: start;
  gap: 14px;
  grid-template-columns: 44px 1fr;
  padding: 7px 0;
}

.template-hero .hero-latest-news .latest-news-row-body h3 {
  display: -webkit-box;
  font-size: clamp(13px, 0.9vw, 15px);
  line-height: 1.18;
  margin: 0;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.template-hero .hero-latest-news .latest-news-row-body p,
.template-hero .hero-latest-news .latest-news-row-body p:not(.hero-kicker),
html[data-theme=light] .template-hero .hero-latest-news .latest-news-row-body p:not(.hero-kicker) {
  display: -webkit-box;
  font-size: 11px !important;
  line-height: 1.24 !important;
  margin: 4px 0 0 !important;
  min-height: 0 !important;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.template-hero .hero-latest-news .latest-news-row-body time {
  font-size: 12px;
  line-height: 1.2;
  margin-bottom: 4px;
}

.template-hero .hero-latest-news .latest-news-row-body a {
  font-size: 13px;
  line-height: 1.2;
  margin-top: 5px;
}

/* Responsive hero copy/news fit */
@media (max-width: 1199.98px) {
  .template-hero .hero-copy h1 {
    font-size: clamp(30px, 4.4vw, 36px) !important;
    line-height: 1.04 !important;
  }
  .template-hero .hero-copy .hero-kicker {
    font-size: clamp(16px, 2.4vw, 18px) !important;
    line-height: 1.15 !important;
  }
  .template-hero .hero-copy > p:not(.hero-kicker) {
    font-size: clamp(14px, 1.55vw, 17px) !important;
    line-height: 1.42 !important;
    max-width: 620px !important;
  }
}
@media (max-width: 991.98px) {
  .template-hero .hero-copy h1 {
    font-size: clamp(28px, 5vw, 38px) !important;
  }
  .template-hero .hero-copy .hero-kicker {
    font-size: clamp(16px, 3.4vw, 18px) !important;
  }
  .template-hero .hero-copy > p:not(.hero-kicker) {
    font-size: 14px !important;
    line-height: 1.38 !important;
  }
  .template-hero .hero-latest-news {
    max-height: 285px;
    overflow-y: auto;
    overscroll-behavior: contain;
    padding-right: 8px !important;
    scrollbar-color: rgba(44, 225, 235, 0.72) rgba(255, 255, 255, 0.08);
    scrollbar-width: thin;
  }
  .template-hero .hero-latest-news::-webkit-scrollbar {
    width: 6px;
  }
  .template-hero .hero-latest-news::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.08);
    border-radius: 999px;
  }
  .template-hero .hero-latest-news::-webkit-scrollbar-thumb {
    background: rgba(44, 225, 235, 0.72);
    border-radius: 999px;
  }
}
@media (max-width: 575.98px) {
  .template-hero .hero-copy h1 {
    font-size: clamp(25px, 7.2vw, 28px) !important;
  }
  .template-hero .hero-copy .hero-kicker {
    font-size: clamp(15px, 4.6vw, 17px) !important;
  }
  .template-hero .hero-copy > p:not(.hero-kicker) {
    font-size: 13px !important;
    line-height: 1.35 !important;
  }
  .template-hero .hero-latest-news {
    max-height: 220px;
  }
}
/* Final responsive hero guardrails: keep short desktop and fold screens readable. */
@media (min-width: 992px) and (max-height: 820px) {
  .template-hero .hero-latest-news {
    margin-top: clamp(14px, 2svh, 22px);
    max-height: clamp(64px, 100svh - 536px, 330px);
    overflow-y: auto;
    padding-right: 8px !important;
    scrollbar-color: rgba(44, 225, 235, 0.72) rgba(255, 255, 255, 0.08);
    scrollbar-width: thin;
  }
  .template-hero .hero-latest-news .latest-news-head {
    margin-bottom: 8px;
  }
  .template-hero .hero-latest-news .latest-news-head h2 {
    font-size: clamp(16px, 1.7vw, 22px);
  }
  .template-hero .hero-latest-news .latest-news-head > div {
    gap: 12px;
  }
  .template-hero .hero-latest-news .latest-news-row {
    gap: 11px;
    grid-template-columns: 34px 1fr;
    padding: 6px 0;
  }
  .template-hero .hero-latest-news .latest-news-date-icon {
    height: 28px;
    margin-left: 5px;
    width: 28px;
  }
  .template-hero .hero-latest-news .latest-news-date-icon svg {
    height: 20px;
    width: 20px;
  }
  .template-hero .hero-latest-news .latest-news-row-body h3 {
    font-size: clamp(12px, 1vw, 14px);
    line-height: 1.14;
  }
  .template-hero .hero-latest-news .latest-news-row-body p,
  .template-hero .hero-latest-news .latest-news-row-body p:not(.hero-kicker) {
    display: none !important;
  }
  .template-hero .hero-latest-news .latest-news-row-body time {
    font-size: 11px;
    margin-bottom: 3px;
  }
  .template-hero .hero-latest-news .latest-news-row-body a {
    font-size: 12px;
    margin-top: 4px;
  }
}
@media (min-width: 992px) and (max-height: 640px) {
  .template-hero .hero-latest-news {
    max-height: clamp(170px, 100svh - 380px, 200px);
  }
  .template-hero .hero-latest-news .latest-news-row {
    padding-block: 5px;
  }
  .template-hero .hero-latest-news .latest-news-row:nth-child(n+3) {
    display: none !important;
  }
}
@media (min-width: 992px) and (max-height: 850px) {
  .template-hero .hero-copy {
    max-width: min(100%, 640px) !important;
  }
  .template-hero .hero-copy h1 {
    font-size: clamp(30px, 3vw, 36px) !important;
    line-height: 1.04 !important;
    margin-bottom: 10px !important;
    max-width: 620px;
  }
  .template-hero .hero-copy .hero-kicker {
    font-size: clamp(17px, 1.75vw, 19px) !important;
    line-height: 1.12 !important;
    margin-bottom: 8px !important;
  }
  .template-hero .hero-copy > p:not(.hero-kicker) {
    font-size: clamp(13px, 1.05vw, 15px) !important;
    line-height: 1.42 !important;
    margin-bottom: 12px !important;
    max-width: 570px !important;
  }
  .template-hero .hero-actions {
    margin-top: 8px !important;
  }
  .template-hero .hero-primary-btn,
  .template-hero .hero-secondary-btn {
    min-height: 42px !important;
    padding: 8px 16px !important;
  }
}
@media (min-width: 992px) and (min-height: 721px) and (max-height: 850px) {
  .template-hero .hero-latest-news {
    max-height: clamp(180px, 100svh - 525px, 310px);
    overflow-y: auto;
    padding-right: 8px !important;
    scrollbar-color: rgba(44, 225, 235, 0.72) rgba(255, 255, 255, 0.08);
    scrollbar-width: thin;
  }
}
@media (max-width: 767.98px) {
  .template-hero .modern-hero-content {
    margin-inline: auto !important;
    width: calc(100vw - 48px) !important;
  }
  .template-hero .hero-copy,
  .template-hero .hero-latest-news,
  .hero-market-panel {
    max-width: 100% !important;
    min-width: 0 !important;
    width: 100% !important;
  }
  .hero-market-panel-head,
  .hero-market-kpis,
  .hero-market-table-wrap {
    max-width: 100% !important;
    min-width: 0 !important;
    width: 100% !important;
  }
  .hero-market-table-wrap {
    max-height: 360px;
    overflow-y: auto !important;
  }
}
@media (max-width: 380px) {
  .template-hero .modern-hero-content {
    width: calc(100vw - 40px) !important;
  }
  .template-hero .hero-copy,
  .template-hero .hero-latest-news {
    max-width: 100% !important;
    width: 100% !important;
  }
  .template-hero .hero-latest-news {
    max-height: 185px;
  }
  .hero-market-panel {
    max-width: 100% !important;
    width: 100% !important;
  }
  .hero-market-table-wrap {
    max-height: 250px;
  }
}
@media (max-width: 411.98px) {
  .template-hero .modern-hero-content {
    grid-template-columns: minmax(0, 1fr) !important;
  }
  .template-hero .hero-copy,
  .template-hero .hero-latest-news,
  .hero-market-panel {
    max-width: 100% !important;
    width: 100% !important;
  }
  .hero-market-panel-head,
  .hero-market-kpis,
  .hero-market-table-wrap {
    max-width: 100% !important;
    width: 100% !important;
  }
}

