/* =============================== Loads AFTER mirrored Next.js CSS so only minimal overrides here. =============================== */
/* ===== Cicrim overrides (static parity) ===== */
/* 1) Container + baseline typography (match the dev layout you liked) */
:root {
  --container-max: 1200px;
  --nav-right-offset: 48px;   /* adjust as needed */
}

.container,
.section .container {
  max-width: var(--container-max) !important;
  margin-inline: auto !important;
  padding-inline: 24px !important;
}

html {
  font-size: 16px !important;
}

body {
  line-height: 1.55;
}

h1 {
  line-height: 1.15;
  letter-spacing: -0.01em;
}

/* 2) Header: keep brand crisp and show desktop nav on wide screens */
.navbar-brand img,
.navbar-brand svg {
  height: 40px;
  width: auto;
  display: block;
}

@media (min-width: 1024px) {
  .primary-nav {
    display: flex !important;
  }
  header .nav-toggle,
  header [aria-label="Toggle navigation"] {
    display: none !important;
  }
}

/* 3) Font-face fixes (use your local copies so metrics match) */
@font-face {
  font-family: Sora;
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/assets/media/7fa2591841978b94-s.woff2") format("woff2");
}
@font-face {
  font-family: Sora;
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("/assets/media/2314da4445066e13-s.p.woff2") format("woff2");
}

body {
  font-family: Sora, system-ui, -apple-system, "Segoe UI", Roboto, Arial,
    sans-serif;
}

/* 4) Make sure images never collapse */
picture > img,
.card img,
.c-card img {
  display: block !important;
  width: 100% !important;
  height: auto !important;
  object-fit: cover;
}

/* Override default .card img scaling for the Independence/Ethics cards */
.card.flex-row .pt-3 img {
  width: 60px !important;
  height: 60px !important;
  object-fit: contain !important;
}

/* 5) Optional: flatten cards & remove hover motion (keeps things calm) */
.card,
.c-card {
  border-radius: 0 !important;
  box-shadow: none !important;
  transition: none !important;
}
.card:hover,
.c-card:hover {
  transform: none !important;
}

/* 6) Hide any leftover loaders */
.loading,
.Loader,
.spinner,
[aria-busy="true"] {
  display: none !important;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

/* Accessibility helpers */
.skip-link {
  position: absolute;
  left: -9999px;
  top: auto;
}
.skip-link:focus {
  left: 8px;
  top: 8px;
  z-index: 10000;
  background: #fff;
  padding: 8px 12px;
  border: 1px solid #e5e7eb;
}

/* Header scaffolding (mirrored CSS will provide exact look) */
.site-header {
  position: sticky;
  top: 0;
  background: #fff;
  z-index: 1000;
}
.utility-bar {
  border-bottom: 1px solid #e5e7eb;
}
.utility-inner {
  display: flex;
  gap: 16px;
  align-items: center;
  justify-content: space-between;
  padding: 8px 0;
}
.utility-nav ul {
  display: flex;
  gap: 16px;
  list-style: none;
  margin: 0;
  padding: 0;
  flex-wrap: wrap;
}
.nav-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 0;
}
.primary-nav ul {
  display: flex;
  gap: 28px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav-toggle {
  display: none;
}

/* Hero */
.bt-hero {
  position: relative;
  overflow: hidden;
}

/* Desktop default (BT-sized hero) */
.bt-hero-media {
  width: 100%;
  height: 46vh;            /* ⬅ desktop height restored */
  object-fit: cover;
  display: block;
}

/* Mobile-only taller hero */
@media (max-width: 768px) {
  .bt-hero-media {
    height: 70vh;          /* ⬅ mobile height only */
  }
}

/* Overlay tint (same behavior as other pages) */
.bt-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(0, 0, 0, 0.35),
    rgba(0, 0, 0, 0.35)
  );
  z-index: 1;
}

/* Hero content sits above overlay */
.bt-hero-content {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 8vh;
  color: #fff;
  z-index: 2;
}

.bt-hero h1 {
  font-size: 44px;
  line-height: 1.15;
  margin: 0 0 12px;
}


/* Cards */
.bt-cards .card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 16px;
}
.card {
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
  transition: transform 0.24s ease, box-shadow 0.24s ease;
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.12);
}
.card img {
  aspect-ratio: 16/9;
  object-fit: cover;
}
.card h3 {
  font-size: 20px;
  line-height: 1.3;
  margin: 12px 16px;
}

/* Stream list */
.stream-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.stream-card img {
  aspect-ratio: 16/9;
  object-fit: cover;
  border-radius: 12px;
}
.stream-card .meta {
  font-size: 13px;
  color: #475569;
  margin: 10px 0 6px;
}

/* CTA band */
.bt-cta {
  display: flex;
  gap: 16px;
  align-items: center;
  justify-content: flex-start;
  padding: 24px 0;
}

/* Footer */
.site-footer {
  background: #0f1114;
  color: #cfd3d7;
  margin-top: 48px;
}
.footer-top {
  padding: 32px 0;
}
.footer-nav ul {
  columns: 3;
  gap: 24px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.footer-legal {
  font-size: 12px;
  opacity: 0.9;
  padding: 16px 0 32px;
}

/* Responsive */
@media (max-width: 1200px) {
  .bt-cards .card-grid,
  .stream-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 1024px) {
  .primary-nav {
    display: none;
  }
  .nav-toggle {
    display: block;
  }
}
@media (max-width: 768px) {
  .bt-hero h1 {
    font-size: 34px;
  }
  .bt-cards .card-grid,
  .stream-grid {
    grid-template-columns: 1fr;
  }
  .footer-nav ul {
    columns: 1;
  }
}
@media (max-width: 576px) {
  :root {
    --gutter: 16px;
  }
}
@media (max-width: 390px) {
  .bt-hero h1 {
    font-size: 28px;
  }
}

/* --- Quick parity patch for local snapshot --- */
html,
body {
  background: #fff;
  color: #2b303a;
}
a {
  color: #00b7b3;
}
.btn.btn-primary {
  background: #00b7b3;
  color: #fff;
  border-color: transparent;
}
.site-header {
  background: #0f1114;
}

/* header band tint */
.utility-bar {
  background: #0b0c0f;
  color: #cfd3d7;
}
.utility-bar a {
  color: #cfd3d7;
}
.nav-bar .logo img {
  display: block;
}

/* Cards/images that looked blank because aspect box showed but img not sized */
.card img,
.stream-card img {
  width: 100%;
  height: auto;
  object-fit: cover;
}

/* Container spacing to match live feel */
.container {
  max-width: 1280px;
  padding: 0 24px;
  margin: 0 auto;
}

/* Headline scale roughly matching live */
.bt-hero h1 {
  font-size: 44px;
  line-height: 1.15;
  font-weight: 700;
  letter-spacing: 0;
}

/* Make sure our hero overlay isnâ€™t too strong */
.bt-hero-overlay {
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.35), rgba(0, 0, 0, 0.35));
}

/* Buttons */
.btn {
  border-radius: 999px;
  font-weight: 600;
  padding: 12px 20px;
}

/* Show only the active tab pane */
.tab-content .tab-pane {
  display: none;
}
.tab-content .tab-pane.active.show {
  display: block;
}

/* ===== Brand tokens ===== */
:root {
  --cicrim-green: #0f766e; /* navbar background */
  --cicrim-dark: #2b303a; /* ad bar background (the dark gray) */
  --nav-shadow: 0 2px 10px rgba(0, 0, 0, 0.18);
}

/* ===== Force navbar to Cicrim green (beat mirrored CSS) ===== */
header.fixed-top .navbar,
header.fixed-top .navbar.bg-dark,
header.fixed-top .navbar.text-invert {
  background-color: var(--cicrim-green) !important;
  box-shadow: var(--nav-shadow);
}

/* Navbar links/buttons should be legible on green */
header.fixed-top .navbar a,
header.fixed-top .navbar .btn,
header.fixed-top .navbar .nav-link {
  color: #ffffff !important;
}
header.fixed-top .navbar .btn.btn-outline,
header.fixed-top .navbar .btn.btn-outline-dark {
  border-color: #ffffff !important;
  color: #ffffff !important;
}

/* ===== Ad / announcement bar at the very top ===== */
.ad-bar {
  background: var(--cicrim-dark) !important;
  color: #fff;
  width: 100%;
  overflow: hidden; /* use max-height for reliable transitions */
  max-height: 64px; /* adjust banner height here */
  transition: max-height 0.35s ease, opacity 0.35s ease;
  will-change: max-height, opacity;
  position: relative; /* keep it above hero but below navbar */
  z-index: 1001;
}
.ad-inner {
  padding: 10px 24px;
}
.ad-bar .ad-link {
  color: #fff;
  text-decoration: none;
}
.ad-bar .ad-link:hover {
  text-decoration: underline;
}
.ad-bar .ad-close {
  appearance: none;
  border: 0;
  background: transparent;
  color: #fff;
  font-size: 20px;
  line-height: 1;
  padding: 4px 8px;
  cursor: pointer;
  opacity: 0.85;
}
.ad-bar .ad-close:hover {
  opacity: 1;
}

/* Collapsed state */
.ad-bar.is-collapsed {
  max-height: 0;
  opacity: 0;
  pointer-events: none;
}
.ad-bar.is-collapsed .ad-inner {
  padding-top: 0;
  padding-bottom: 0;
}

/* ===== Mega dropdown look ===== */
.c-navpanel-body {
  background: #1c2026; /* darker than page body */
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.c-title {
  margin: 6px 0 10px;
  font-size: 14px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  opacity: 0.85;
}

/* Row (keeps scroll snap from earlier) */
.c-carousel {
  display: flex;
  gap: 18px;
  overflow: auto;
  padding: 10px 6px 4px;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
}

/* IMAGE CARD (whole card is a link) */
.c-card {
  --w: 300px;
  scroll-snap-align: start;
  min-width: var(--w);
  max-width: var(--w);
  border-radius: 12px;
  overflow: hidden;
  display: block;
  position: relative;
  text-decoration: none;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.25);
  background: #0f1114;
  transition: transform 0.18s ease, box-shadow 0.18s ease, filter 0.18s ease;
}
.c-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 32px rgba(0, 0, 0, 0.32);
}

/* Image fills card */
.c-card img {
  display: block;
  width: 100%;
  height: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
  filter: brightness(0.85);
}
.c-card:hover img {
  filter: brightness(0.95);
}

/* Bottom caption with gradient like the reference */
.c-card-caption {
  position: absolute;
  inset: auto 0 0 0;
  padding: 14px 14px 12px;
  background: linear-gradient(
    180deg,
    rgba(0, 0, 0, 0) 0%,
    rgba(0, 0, 0, 0.55) 52%,
    rgba(0, 0, 0, 0.75) 100%
  );
}
.c-card-title {
  color: #fff;
  font-weight: 800;
  line-height: 1.15;
  font-size: 18px;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.45);
}

/* Arrows like the screenshot (white circular buttons floating left/right) */
.c-navbtns {
  position: relative;
  height: 0;
}
.c-prev,
.c-next {
  position: absolute;
  top: -145px; /* sits vertically centered over cards row */
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: none;
  background: #fff;
  color: #111;
  cursor: pointer;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.25);
}
.c-prev {
  left: -6px;
}
.c-next {
  right: -6px;
}
.c-prev:hover,
.c-next:hover {
  transform: scale(1.05);
}
.c-prev:active,
.c-next:active {
  transform: scale(0.98);
}

/* Mobile tweaks */
@media (max-width: 768px) {
  .c-card {
    --w: 240px;
  }
  .c-prev,
  .c-next {
    display: none;
  }
}

/* === Dropdown shell (must be present) === */
.c-navpanel {
  position: fixed;
  left: 0;
  right: 0;
  top: 0;
  display: none; /* hidden until .open is added */
  z-index: 3000; /* above page & header */
}
.c-navpanel.open {
  display: block;
}
.c-navpanel-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.35);
}
.c-panel[hidden] {
  display: none !important;
}

/* ensure the body is also fixed and above header */
.c-navpanel-body {
  position: fixed;
  left: 0;
  right: 0;
  background: #1c2026;
  color: #fff;
  z-index: 3001;
}

/* Force the hero to render even without Next.js */
.bt-hero {
  position: relative;
  min-height: 56vh;
}
.bt-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url("/assets/images/banking.jpg") center/cover no-repeat;
  z-index: 0;
}

/* hide any swapped <img> */
.bt-hero .bt-hero-content,
.bt-hero .bt-hero-overlay {
  position: relative;
  z-index: 1;
}

/* Ad band base */
.ad-slot {
  min-height: 90px; /* room for leaderboard/responsive */
  display: grid;
  place-items: center;
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: 8px;
}
/* Fallback look while you wire ads */
.ad-fallback {
  display: flex;
  gap: 12px;
  align-items: center;
  color: #6b7280;
  font-weight: 600;
}
.ad-fallback span {
  letter-spacing: 0.02em;
  text-transform: uppercase;
  font-size: 0.825rem;
}

.btn-pill {
  background: var(--cicrim-green);
  color: #fff;
  border-radius: 999px;
  padding: 10px 18px;
  font-weight: 600;
  border: 1px solid transparent;
}
.btn-pill:hover {
  background: #2b303a;
  color: #fff;
}

/* Kill the old fly-in (if any other sections still have that class) */
.js-flyin-animate {
  opacity: 1 !important;
  visibility: visible !important;
  transform: none !important;
}

/* --- Footer watermark (Cicrim cloud + bank) --- */
.site-footer {
  position: relative;
  overflow: hidden;
}
.site-footer .footer-top,
.site-footer .footer-legal {
  position: relative;
  z-index: 1;
}
/* Base teal cloud layer */
.site-footer::before {
  content: "";
  position: absolute;
  inset: auto 0 -6rem 0; /* sits slightly below the content */
  height: min(38vw, 420px); /* responsive height */
  background: url("/assets/images/footer-cloud-bank.png") center bottom /
    contain no-repeat;
  opacity: 0.1; /* overall subtlety of the teal */
  filter: saturate(115%) contrast(105%); /* keep teal present but soft */
  pointer-events: none;
  z-index: 0;
}
/* Highlight the white bank glyph so itâ€™s legible */
.site-footer::after {
  content: "";
  position: absolute;
  inset: auto 0 -6rem 0;
  height: min(38vw, 420px);
  background: url("/assets/images/footer-cloud-bank.png") center bottom /
    contain no-repeat;
  mix-blend-mode: screen; /* lift lights over the dark footer */
  opacity: 0.18; /* strength of the white pop */
  filter: grayscale(100%) brightness(145%) contrast(120%); /* keep bank icon crisp */
  pointer-events: none;
  z-index: 0;
}
/* Light theme safeguard (if footer background is light, reduce effect) */
@media (prefers-color-scheme: light) {
  .site-footer::after {
    opacity: 0.12;
  }
  .site-footer::before {
    opacity: 0.08;
  }
}

/* force brand mark visible in the header */
.navbar-brand {
  color: #fff !important;
}
.navbar-brand svg,
.navbar-brand svg * {
  fill: #fff !important;
  stroke: none !important;
  opacity: 1 !important;
}
.navbar-brand svg {
  height: 32px;
  width: auto;
  display: block;
}

.c-navpanel {
  position: fixed;
  left: 0;
  right: 0;
  top: 0;
  display: none;
  z-index: 3000;
}
.c-navpanel.open {
  display: block;
}
.c-navpanel-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.35);
}
.c-navpanel-body {
  position: fixed;
  left: 0;
  right: 0;
  background: #1c2026;
  color: #fff;
  z-index: 3001;
}

:root {
  --cicrim-green: #0f766e;
  --cicrim-dark: #2b303a;
}

/* pill + primary look unified */
.btn.btn-pill,
.btn.btn-primary {
  background: var(--cicrim-green);
  color: #fff;
  border: 1px solid transparent;
  border-radius: 999px;
  padding: 10px 18px;
  font-weight: 600;
}
.btn.btn-pill:hover,
.btn.btn-primary:hover {
  background: var(--cicrim-dark);
  color: #2b303a !important;
}
/* pill in dark sections -> hover light gray */
.dark .btn.btn-pill:hover,
.bg-gray-900 .btn.btn-pill:hover {
  background: #cfd3d7;
  color: #111;
}
/* outline flavor that turns dark on hover */
.btn.btn-outline,
.btn.btn-outline-dark {
  background: transparent;
  color: #111;
  border: 1px solid #111;
  border-radius: 999px;
  padding: 10px 18px;
  font-weight: 600;
}
.btn.btn-outline:hover,
.btn.btn-outline-dark:hover {
  background: var(--cicrim-dark);
  color: #fff;
  border-color: var(--cicrim-dark);
}

/* three-up grids on tablet+ */
@media (min-width: 768px) {
  .section.white .row.row-cols-1.row-cols-md-3.g-4 > .col,
  .section.gray .row.row-cols-1.row-cols-md-3.g-4 > .col {
    flex: 0 0 33.333% !important;
    max-width: 33.333% !important;
  }
  /* tame card media so they don't balloon */
  .section.white .card img,
  .section.gray .card img {
    width: 100%;
    height: auto;
    object-fit: cover;
  }
}

.nowrap {
  white-space: nowrap !important;
}

.site-footer .footer-top a {
  white-space: nowrap !important;
  display: inline-block;
  overflow-wrap: normal;
  word-break: normal;
}

/* TOP TEST AD BAND: force white bg + Cicrim green text (override inline white) */
header.fixed-top > .overflow-hidden{
  background:#fff !important;
  color:#0F766E !important;
}
header.fixed-top > .overflow-hidden *{
  color:#0F766E !important;
}

/* Make the ad band slide and the navbar offset respond */
:root{
  --ad-height: 64px;     /* adjust if you want a taller ad band */
  --header-top: 64px;    /* initial navbar offset (= ad height) */
}
header.fixed-top > .overflow-hidden{
  position:fixed; top:0; left:0; right:0;
  height:var(--ad-height);
  transform:translateY(0);
  transition:transform .25s ease;
  z-index:1001;
}
header.fixed-top > .overflow-hidden.ad-hidden{ transform:translateY(-100%); }

/* Navbar slides under/over the band */
header.fixed-top{
  position:fixed !important;
  top:var(--header-top) !important;
  transition:top .25s ease;
  width:100%;
  z-index:1000;
}

/* Center the test ad text in the top band */
header.fixed-top > .overflow-hidden{
  display:flex; align-items:center; justify-content:center;
}
header.fixed-top > .overflow-hidden .row{ justify-content:center; }
header.fixed-top > .overflow-hidden p{ margin:0; }

/* Mobile: add a bit of space to the left of the logo */
@media (max-width: 991.98px){
  header.fixed-top .navbar{
    padding-left: 16px !important;   /* tweak: 12â€“20px to taste */
  }
}

@media (min-width: 1024px) {
    header.fixed-top .primary-nav {
        margin-left: auto;
        margin-right: var(--nav-right-offset);
        flex-wrap: nowrap;
    }
}

@media (min-width: 1024px) {
    header.fixed-top .primary-nav .nav-link {
        font-size: 14px;
        font-weight: 400;       /* non-bold */
        padding-left: 12px;
        padding-right: 12px;
    }
}

@media (min-width: 1024px) {
    header.fixed-top .navbar-brand img {
        height: 40px;
    }
}
@media (max-width: 1023.98px) {
    header.fixed-top .navbar-brand {
        padding-left: 16px;
    }
}

/* nav item styles: active button stays white and bold; inactive buttons turn grey */
.primary-nav .nav-link { color: #fff; font-weight: 400; transition: color 0.2s; }
.primary-nav .nav-link.active { color: #fff; font-weight: 700; }
.primary-nav .nav-link:not(.active) { color: #adb5bd; }
/*.primary-nav .nav-link:hover { color: var(--cicrim-dark); }*/

/* Nav link base state: grey and normal weight */
header.fixed-top .primary-nav .nav-link {
  color: #ffffff !important;   /* grey */
  font-weight: 400 !important;
  transition: color 0.2s ease;
}

/* Active menu item: white and bold */
header.fixed-top .primary-nav .nav-link.active {
  color: #ffffff !important;   /* white */
  font-weight: 600 !important;
}

/* Inactive items stay grey when a dropdown is open 
header.fixed-top .primary-nav.dropdown-active .nav-link:not(.active) {
  color: var(--cicrim-dark) !important;
  font-weight: 400 !important;
}*/

/* Hover state: dark grey 
header.fixed-top .primary-nav .nav-link:hover {
  color: var(--cicrim-dark) !important;
}*/


/* Base nav item: white text, normal weight */
.primary-nav .nav-link {
  color: #fff;
  font-weight: 400;
  position: relative;
  padding-bottom: 4px; /* space for underline */
}

/* On hover: darken the text (optional) 
.primary-nav .nav-link:hover {
  color: var(--cicrim-dark);
}*/

/* Active nav item: bold white text */
.primary-nav .nav-link.active {
  font-weight: 600;
}

/* Positioning context for the underline */
.primary-nav .nav-label {
  position: relative;
  display: inline-block;
}

/* Underline: hidden by default (scaleX(0)) */
.primary-nav .nav-label::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  height: 2px;
  width: 100%;
  background-color: currentColor;
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.3s ease;
}

/* Show the underline when the parent nav link has .active */
.primary-nav .nav-link.active .nav-label::after {
  transform: scaleX(1);
}

/* ========== Drawer basics ========== */
/* Drawer container: Cicrim green background */
.drawer {
  position: fixed;
  top: 0;
  right: 0;
  width: 80vw;
  max-width: 360px;
  height: 100vh;
  background-color: var(--cicrim-green);
  color: #fff;
  transform: translateX(100%);
  transition: transform 0.4s ease;
  box-shadow: 0 0 12px rgba(0,0,0,0.5);
  z-index: 3000;
}

/* Drawer open state */
.drawer.open { transform: translateX(0); }

/* Search bar styling */
.drawer-search {
  padding: 16px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.drawer-search input.form-control {
  background-color: #005c58;
  color: #fff;
  border: none;
  border-radius: 0;
  height: 42px;
}
.drawer-search input.form-control::placeholder {
  color: #cbd5e1;
}
.drawer-search button {
  background: transparent;
  border: none;
  padding: 0;
}
.drawer-search button img {
  width: 20px;
  height: 20px;
}

/* Drawer header */
.drawer-header {
  padding: 16px;
  border-bottom: 1px solid rgba(255,255,255,0.12);
}
.drawer-header .drawer-title img {
  height: 40px;
}
.drawer-header .btn-close {
  font-size: 2rem;
  color: #fff;
  background: transparent;
  border: none;
}

/* Primary menu items */
.drawer-item > .drawer-toggle,
.drawer-item > a {
  background: none;
  border: none;
  color: #fff;
  font-weight: 600;
  padding: 16px;
  display: flex;
  align-items: center;
  width: 100%;
  text-decoration: none;
  cursor: pointer;
}
.drawer-item > .drawer-toggle:hover,
.drawer-item > a:hover {
  color: var(--cicrim-dark);
  background: rgba(255,255,255,0.1);
}

/* Arrow indicator */
.drawer-toggle .arrow {
  margin-left: auto;
  border: solid currentColor;
  border-width: 0 2px 2px 0;
  padding: 5px;
  transform: rotate(45deg);
  transition: transform 0.2s;
}
/* Rotate arrow when expanded */
.drawer-toggle[aria-expanded="true"] .arrow {
  transform: rotate(-135deg);
}

/* Sublist styles */
.drawer-sublist {
  display: none;
  background-color: #cfd3d7;  /* lighter grey background for sublists */
  padding: 0;
}
.drawer-sublist.show {
  display: block;
}
.drawer-sublink {
  display: block;
  padding: 12px 24px;
  font-weight: 500;
  color: var(--cicrim-dark);
  text-decoration: none;
}
.drawer-sublink:hover {
  color: var(--cicrim-green);
  background-color: rgba(0,0,0,0.1);
}

/* Secondary menu separation and styling */
.drawer-menu-secondary {
  margin-top: 200px; /* separation from primary items */
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 0;
}
.drawer-secondary-link {
  display: block;
  padding: 14px 16px;
  color: #fff;
  font-weight: 200;
  text-decoration: none;
}
.drawer-secondary-link:hover {
  color: var(--cicrim-dark);
  background-color: rgba(255,255,255,0.1);
}

/* Hamburger lines and hover */
.hamburger-line {
  display: block;
  width: 25px;
  height: 3px;
  margin-bottom: 4px;
  background-color: #fff;
  transition: background-color 0.3s;
}
#mobile-menu-open:hover .hamburger-line {
  background-color: var(--cicrim-dark);
}

/* Hide default list bullets */
.drawer-menu,
.drawer-menu-secondary,
.drawer-sublist {
  list-style: none;
  margin: 0;
}

.hero-progress {
  display: none !important;
}

.swiper-slide .mt-3.me-3 {
  margin-right: 0.5rem !important; /* half the default */
  flex-grow: 1;
}

.nav.nav-pills .nav-link.active {
  background-color: #0f766e;
  color: #fff;
}

#case-more-toggle svg {
  transition: transform 0.25s ease;
}

#case-more-toggle[aria-expanded="true"] svg {
  transform: rotate(180deg);
}

/* Override btn-primary hover for dark sections */
.btn-primary:hover,
.btn-primary:focus {
  background-color: #f7f7f7 !important;  /* light grey */
  border-color: #f7f7f7 !important;
}

/* Card rail inside Swiper */
.section .swiper-slide {
  height: auto;
}

.section .swiper-slide .card {
  height: 100%;
}

.section .swiper-slide .card img {
  height: 240px;     /* adjust to your design */
  width: 100%;
  object-fit: cover;
}

/* Ensure card titles align flush left with body text */
.card-title {
  margin-left: 0 !important;   /* remove Bootstrapâ€™s inherited offset */
  margin-right: 0 !important;
  margin-top: 0.25rem;         /* keep a little breathing room if you like */
  text-align: left;            /* enforce left alignment */
}

/* Button (the <a>) â€” owns sizing, padding, shrink + icon containment */
.industry-spotlight-cta .btn.rounded-pill {
  position: relative;
  display: inline-flex;            /* shrink to content */
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 1.25rem;
  padding-right: 1.5rem;          /* room for the arrow */
  overflow: hidden;               /* keep icon from spilling */
  white-space: nowrap;            /* never wrap; shrink instead */
  font-size: clamp(0.82rem, 2.4vw, 1rem); /* responsive text size */
}

/* Inner wrapper â€” just keep it compact; no grid behavior */
.industry-spotlight-cta .btn.rounded-pill .d-inline-flex {
  width: auto;
}

/* Arrow should not be absolutely positioned by global styles */
.industry-spotlight-cta .btn.rounded-pill svg {
  position: static !important;
  flex: 0 0 auto;
  margin-left: 0;
  transform: none !important;
}

/* Safety: if some utility adds absolute to a direct child */
.industry-spotlight-cta .btn.rounded-pill > .position-absolute {
  position: static !important;
}
/* Audit and Assurance CTA hover */
.audit-assurance-cta .btn.btn-primary {
  background-color: #0f766e; /* Cicrim green normal */
  color: #fff;               /* keep text white */
}

.audit-assurance-cta .btn.btn-primary:hover,
.audit-assurance-cta .btn.btn-primary:focus {
  background-color: #1a1a1a !important; /* dark grey on hover */
  border-color: #1a1a1a !important;
  color: #fff !important;               /* force text to stay white */
}

/* Industry Spotlight CTA hover */
.industry-spotlight-cta .btn.btn-primary {
  background-color: #0f766e; /* Cicrim green normal */
  color: #fff;
}

.industry-spotlight-cta .btn.btn-primary:hover,
.industry-spotlight-cta .btn.btn-primary:focus {
  background-color: #f7f7f7 !important; /* light grey */
  border-color: #f7f7f7 !important;
  color: #111 !important;               /* dark text like other section */
}

/* affects only buttons with this exact class */
.cta-dark-hover:hover,
.cta-dark-hover:focus {
  background-color: #1a1a1a !important;
  border-color: #1a1a1a !important;
  color: #fff !important;
}

/* --- Contact Form --- */
/* Contact form width: align left edge with H1 while staying centered */
.bt-form { max-width: min(100%, 980px); } /* mobile/tablet defaults */

/* Bootstrap-style containers:
   xl (â‰¥1200px) â‰ˆ 1140px, xxl (â‰¥1400px) â‰ˆ 1320px.
   Match those so the form left edge = H1 left edge. */
@media (min-width: 1200px){
  .contact-wrap .bt-form{ max-width: 1140px; }  /* align with .container at xl */
}
@media (min-width: 1400px){
  .contact-wrap .bt-form{ max-width: 1320px; }  /* align with .container-xxl */
}
.bt-grid{
  display:grid;
  grid-template-columns:repeat(12,1fr);
  column-gap:24px; /* horizontal spacing */
  row-gap:16px;    /* vertical spacing */
}
.bt-col-12{grid-column:span 12; overflow:hidden;}   /* NEW: overflow helps dropdown menu obey box width */
.bt-col-6{grid-column:span 6;  overflow:hidden;}   /* NEW */
.bt-col-4{grid-column:span 4;  overflow:hidden;}   /* NEW */

/* Inputs/labels spacing look */
.bt-form label{
  display:block;
  font-weight:400;              /* CHANGED: was 600 (no bold) */
  font-size:15px;               /* NEW: match BT body size */
  margin-bottom:.35rem;
}
.bt-form .form-control,
.bt-form .form-select,
.bt-form textarea{
  width:100%;
  height:44px;
  padding:.5rem .75rem;
  font-size:15px;               /* NEW: match BT body size */
  box-sizing:border-box;        /* NEW: keeps control + dropdown width consistent */
}
.bt-form textarea{height:auto;}

/* Stack gracefully on tablets/phones */
@media (max-width: 991.98px){
  .bt-col-6,.bt-col-4{grid-column:span 12}
  .bt-grid{column-gap:16px}
}

/* Visual rhythm under the H1 (matches reference spacing) */
.bt-form { margin-top: 1.25rem; }

/* Rounded fields + dark gray borders (matches footer tone) */
.bt-form .form-control,
.bt-form .form-select,
.bt-form textarea,
.contact-wrap .form-control,
.contact-wrap .form-select,
.contact-wrap textarea {
  border-radius: 10px !important;   /* rounded corners */
  border-color: #2b303a !important; /* footer dark gray */
  box-shadow: none !important;
}

/* Focus */
.bt-form .form-control:focus,
.bt-form .form-select:focus,
.bt-form textarea:focus,
.contact-wrap .form-control:focus,
.contact-wrap .form-select:focus,
.contact-wrap textarea:focus {
  border-color: #0B1526 !important; /* slightly darker on focus */
  outline: 0;
}

/* Cicrim checkbox styling */
.contact-wrap .form-check-input:checked {
  background-color: #0F766E;   /* Cicrim green */
  border-color: #0F766E;
}
.contact-wrap .form-check-input:focus {
  box-shadow: 0 0 0 .2rem rgba(15,118,110,.2);
  border-color: #0F766E;
}

/* ===== Contact form: Submit button hover color ===== */
/* Keep default (Cicrim green) at rest, turn footer-dark on hover/focus/active */
.contact-wrap .btn.btn-primary {
  background-color: #0F766E;   /* your Cicrim green */
  border-color:     #0F766E;
  color: #fff;
}

.contact-wrap .btn.btn-primary:hover,
.contact-wrap .btn.btn-primary:focus,
.contact-wrap .btn.btn-primary:active,
.contact-wrap .btn.btn-primary:focus-visible {
  background-color: #2b303a !important;  /* same dark grey as footer */
  border-color:     #2b303a !important;
  color: #fff !important;
  box-shadow: none !important;           /* no blue/white focus glow */
}

/* (Optional) keep disabled state consistent, not white */
.contact-wrap .btn.btn-primary:disabled,
.contact-wrap .btn.btn-primary.disabled {
  background-color: #0F766E;   /* stay green, dim via opacity if you like */
  border-color:     #0F766E;
  opacity: .45;
  cursor: not-allowed;
}

/* ===== Contact form: checkboxes â€” remove glow & use Cicrim green fill ===== */
.contact-wrap .form-check-input:checked {
  background-color: #0F766E;   /* Cicrim green fill */
  border-color:     #0F766E;
}

/* No glow on focus */
.contact-wrap .form-check-input:focus,
.contact-wrap .form-check-input:focus-visible {
  box-shadow: none !important; /* kill the light green/blue halo */
  outline: none !important;
}

/* ===== Cicrim Nav: Search behavior ===== */
header .navbar { position: relative; } /* overlay uses navbar as positioning context */

/* Icon-only hover to darken toward #2b303a */
.navbar .nav-search-toggle { background: transparent !important; }
.navbar .nav-search-toggle img { transition: filter .18s ease, opacity .18s ease; }
.navbar .nav-search-toggle:hover img,
.navbar .nav-search-toggle:focus img {
  filter: brightness(0) saturate(100%) invert(18%) sepia(7%) saturate(350%) hue-rotate(162deg) brightness(92%) contrast(92%);
  opacity: .95;
}

/* Overlay fills navbar; z-index above top band */
#nav-search-layer {
  position: absolute;
  inset: 0;
  z-index: 1200;
}

/* Green search bar (left/right set by JS) */
.nav-search-inner {
  position: absolute;
  height: 40px;
  display: flex;
  align-items: center;
  background: #0F766E;
  border: 2px solid #fff;
}
.nav-search-input {
  flex: 1;
  height: 100%;
  border: 0;
  outline: 0;
  background: #0F766E;
  color: #fff;
  padding: 0 16px;
  font-size: 20px;
}
.nav-search-input::placeholder { color: rgba(255,255,255,.85); }

/* â€œXâ€ placed by JS over the original icon */
#nav-search-close {
  position: absolute;
  top: 0;
  height: 100%;
  background: transparent;
  border: 0;
  color: #fff;
  font-size: 32px;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* When open, hide underlying nav and magnifier */
.navbar.nav-open .primary-nav { visibility: hidden; }
.navbar.nav-open .nav-search-toggle { visibility: hidden; }

/* Small screens: let JS own the horizontal position */
@media (max-width: 991.98px){
  .nav-search-inner { height: 38px; } /* no margin-inline here */
  .nav-search-input { font-size: 18px; }
}

/* High-contrast focus */
.nav-search-input:focus-visible,
#nav-search-close:focus-visible,
.navbar .nav-search-toggle:focus { outline: 2px solid #fff; outline-offset: 2px; }

/* ===== Nav Search: Suggest Panel ===== */
#nav-search-suggest {
  position: absolute;
  left: 0; right: 0;
  top: 100%;
  z-index: 1200;                  /* above nav */
  background: #0F766E;
  color: #fff;
  border-top: 1px solid #fff;
  padding: 8px 0;
  display: block; /* visible by default; JS toggles [hidden] */
}
#nav-search-suggest[hidden]{ display: none; }

.nav-search-suggest .suggest-row {
  display: block;
  padding: 12px 24px;
  text-decoration: none;
  color: #fff;
  line-height: 1.35;
}
.nav-search-suggest .suggest-row:hover,
.nav-search-suggest .suggest-row.is-active {
  background: rgba(255,255,255,.10);
}
.nav-search-suggest .suggest-title { font-weight: 700; }
.nav-search-suggest .suggest-url   { font-size: .85rem; color: #DFA; } /* minty hint */
.nav-search-suggest mark           { background: transparent; color: #fff; text-decoration: underline; font-weight: 700; }
.nav-search-suggest .suggest-query { color: #E5E7EB; border-bottom: 1px solid rgba(255,255,255,.25); }

/* Hide the magnifier while the overlay is open */
.navbar.nav-open .nav-search-toggle {
  visibility: hidden !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

/* Light gray body area for results */
.search-main{
  background:#f3f4f6;           /* light gray like BT content band */
  padding: 32px 0 48px;
}

/* Grid: results left, filter right */
.search-grid{
  display:grid;
  grid-template-columns: minmax(0,1fr) 320px;  /* content | filter column */
  gap: 32px;
}

/* Results column stays on left */
.search-results{}

/* Right filter column with white card, sticky under header */
.search-filters{ position: relative; }
.search-filters .filters-card{
  position: sticky;
  top: calc(var(--header-offset, 0px) + 24px);
  background:#fff;              /* white card like BT */
  border:1px solid #e5e7eb;
  border-radius:8px;
  padding:16px;
}

/* Optional: on narrower screens, stack */
@media (max-width: 991.98px){
  .search-grid{ grid-template-columns: 1fr; }
  .search-filters .filters-card{ position: static; }
}

/* Header spacing + logo size */
@media (min-width:1200px){
  header.fixed-top .navbar > .d-flex > .overflow-x-auto.d-flex{
    margin-left:auto !important; justify-content:flex-end !important;
  }
}
@media (min-width:768px){
  header.fixed-top .navbar{ padding-left:var(--nav-right-offset); padding-right:var(--nav-right-offset); }
  header.fixed-top .primary-nav .nav-link{ font-size:14px; font-weight:400; padding-left:6px; padding-right:6px; }
  header.fixed-top .primary-nav{ gap:.5rem; }
}
@media (min-width:1024px){
  header.fixed-top .navbar{ padding-top:.75rem; padding-bottom:.75rem; }
  header.fixed-top .navbar-brand img{ height:60px; }
}

/* Primary nav + mega menu */
.primary-nav{ display:flex; align-items:center; flex-wrap:nowrap; gap:24px; }
.primary-nav .nav-item{ position:relative; display:flex; align-items:center; }
.primary-nav .nav-item .mega-menu{ display:none; position:absolute; top:100%; left:0; right:0; padding: 0 32px 24px; background-color:#0F766E; z-index:1000; }
.primary-nav .nav-item.open > .mega-menu{ display:block; border-top: 1px solid rgba(255,255,255,0.15); padding-top: 12px; }
.mega-menu-wrapper{ position:absolute; left:0; right:0; top:100%; background:#0F766E; display:none; z-index:1000; padding: 0; }
.mega-menu-wrapper.open{ display:block; }
.mega-menu{ display:none; padding-top: 0; border-top: none; }
.mega-menu.active{ display:block; }
.mega-menu .carousel{ display:flex; gap:24px; overflow-x:auto; scroll-snap-type:x mandatory; -ms-overflow-style:none; scrollbar-width:none; padding: 0 32px; }
.mega-menu .carousel::-webkit-scrollbar{ display:none; }
.mega-menu .carousel-card { flex:0 0 300px; color:#fff; scroll-snap-align:start; cursor:pointer; }
.mega-menu .carousel-card img { width:100%; height:180px; object-fit:cover; border-radius:0; margin-bottom: 10px; padding-top: 5px; }
.mega-menu .carousel { padding-left: 32px; padding-right: 32px; }
.mega-menu .card-label { display: block; font-size: 1.0rem; font-weight: 500; color: #ffffff; text-transform: uppercase; letter-spacing: 0.05em; padding-bottom: 10px; padding-top: 25px; margin-bottom: 8px; border-bottom: 1px solid #ffffff; }
.mega-menu { border-top: 1px solid rgba(255, 255, 255, 0.15); }
.mega-menu .card-title { font-size: 1.4rem; font-weight: 600; line-height: 1.3; min-height: calc(1.3em * 4); max-height: calc(1.3em * 4); overflow: hidden; display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; margin-top: 8px; padding-top: 5px; color: #fff;}
.mega-menu .c-navbtns{ display:flex; gap:8px; justify-content:flex-end; padding:12px 32px 0; }
.mega-menu .c-prev,.mega-menu .c-next{ background:transparent; border:1px solid rgba(255,255,255,.35); border-radius:999px; padding:4px 10px; color:#fff; }
.mega-menu .c-prev,.mega-menu .c-next { width: 3.5rem !important; height: 3.5rem !important; border-radius: 50%; background: #ffffff; color: #003d3e; border: none; display: flex; align-items: center; justify-content: center; position: absolute; top: -145px; transform: translateY(-50%); z-index: 1; }

/* Position the previous button on the far left and next button on the far right */
.mega-menu .c-prev { left: 20px; }
.mega-menu .c-next { right: 20px; }

/* Swiper scrollbar hide */
.swiper .swiper-wrapper{ scrollbar-width:none; -ms-overflow-style:none; }
.swiper .swiper-wrapper::-webkit-scrollbar{ display:none; }

/* Global nav search overlay */
.nav-search-layer{ position:relative; height:0; }
.nav-search-inner{
  position:absolute; z-index:2000;
  display:flex; align-items:center; gap:.5rem;
  height:44px; padding:0 .75rem;
  background:#ffffff; border-radius:9999px; box-shadow:0 8px 24px rgba(0,0,0,.18);
}
.nav-search-input{
  appearance:none; border:none; outline:none;
  font-size:16px; width:100%; background:transparent;
}
.nav-search-close{
  position:absolute; top:0; right:0;
  color:#fff; font-size:22px; background:transparent; border:0; cursor:pointer;
}
.nav-open .nav-search-toggle{ opacity:.25; }

/* Suggestions panel */
.nav-search-suggest{
  position:absolute; z-index:1999;
  left:0; right:0; margin-top:8px;
  background:#fff; box-shadow:0 8px 24px rgba(0,0,0,.18);
  border-radius:12px; padding:.5rem; max-height:380px; overflow:auto;
}
.suggest-row{ display:block; padding:.6rem .75rem; text-decoration:none; color:#0b1720; border-radius:8px; }
.suggest-row:hover, .suggest-row.is-active{ background:#f3f5f6; }
.suggest-title{ font-weight:600; margin-bottom:2px; }
.suggest-url{ font-size:.8rem; color:#6b7280; }
.suggest-snippet{ font-size:.9rem; color:#323a45; }
.suggest-query{ color:#0F766E; font-weight:600; }

   
    
      @media (min-width:1200px){
        header.fixed-top .navbar > .d-flex > .overflow-x-auto.d-flex{
          margin-left:auto !important; justify-content:flex-end !important;
        }
      }
      
      /* 1. Symmetric padding for logo and search icon on desktop (>768px).  
           Use the same nav‑right offset on the left to give the logo equal breathing room. */
        @media (min-width: 768px) {
          header.fixed-top .navbar {
            padding-left: var(--nav-right-offset);
            padding-right: var(--nav-right-offset);
          }
        }
        
        /* 2. Increase the navbar height and enlarge the logo on desktop (>1024px).  
           Adding top/bottom padding roughly doubles the bar’s height while keeping the content centred,
           and the logo height is increased from 40px to 60px for a more prominent desktop presence. */
        @media (min-width: 1024px) {
          header.fixed-top .navbar {
            padding-top: 0.75rem;   /* adds ~12px top padding */
            padding-bottom: 0.75rem;/* adds ~12px bottom padding */
          }
          header.fixed-top .navbar-brand img {
            height: 60px;
          }
        }
        
        /* 3. Keep menu text sizes consistent across breakpoints and reduce spacing.  
           The 14px size and normal weight defined for ≥1024px screens:contentReference[oaicite:3]{index=3} 
           are applied from 768px upwards.  Padding on each link is halved from 12px to 6px, 
           and the flex gap is reduced from 1 rem to 0.5 rem, cutting the space between items roughly in half. */
        @media (min-width: 768px) {
          header.fixed-top .primary-nav .nav-link {
            font-size: 14px;
            font-weight: 400;
            padding-left: 6px;
            padding-right: 6px;
          }
          header.fixed-top .primary-nav {
            gap: 0.5rem;
          }
        }
   
      /* Ensure the primary-nav container is flex-only on desktop */
      .primary-nav {
        display: flex;
        align-items: center;
        flex-wrap: nowrap;
        gap: 24px;
      }
    
      /* Each nav item must be relative so the dropdown can be absolutely positioned */
      .primary-nav .nav-item {
        position: relative;
        display: flex;
        align-items: center;
      }
    
      /* Dropdown panel: hidden by default */
      .primary-nav .nav-item .mega-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        padding: 24px 32px;
        background-color: #0F766E;
        z-index: 1000;
      }
    
      /* Show the dropdown when the nav-item has .open */
      .primary-nav .nav-item.open > .mega-menu {
        display: block;
      }
    

  
    /* Keep the autoplay bar, hide the native slide scrollbar */
    .swiper .swiper-wrapper {
      /* hide scrollbars in Firefox */
      scrollbar-width: none;
      /* hide scrollbars in Edge/IE */
      -ms-overflow-style: none;
    }
    .swiper .swiper-wrapper::-webkit-scrollbar {
      /* hide scrollbars in Chrome/Safari/Opera */
      display: none;
    }

      /* Page chrome */
      .search-page { margin-top:61px; }
      .search-hero { background:#0f766e; color:#fff; padding:32px 0; padding-bottom: calc(32px + 30px) !important; } /* keep your green hero */
      .search-hero .query { font-size:40px; font-weight:800; margin:8px 0 0; }
      .search-hero .count { opacity:.8; letter-spacing:.08em; text-transform:uppercase; }
    
      /* Light-gray content band (override the white section bg) */
      .search-page .section.white.bg-white { background:#cfd3d7; }  /* <- change from white to light gray */
    
      .search-layout { display:grid; grid-template-columns: 1fr 320px; gap:32px; align-items: stretch; }
      @media (max-width: 991.98px){ .search-layout { grid-template-columns: 1fr; } }
    
      /* Card grid (unchanged) */
      .results-grid { display:grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap:24px; }
      @media (max-width: 1199.98px){ .results-grid { grid-template-columns: repeat(2,minmax(0,1fr)); } }
      @media (max-width: 640px){ .results-grid { grid-template-columns: 1fr; } }
    
      .result-card { background:#fff; border:1px solid #e5e7eb; padding:16px; display:flex; flex-direction:column; }
      .result-type { font-size:.75rem; letter-spacing:.08em; text-transform:uppercase; color:#6b7280; margin-bottom:6px; }
      .result-title { font-weight:700; margin:0 0 8px; }
      .result-snippet { color:#374151; line-height:1.5; margin:0 0 10px; }
      .result-url { font-size:.85rem; color:#0f766e; word-break:break-all; }
      .result-card a { text-decoration:none; }
      .result-card a:hover .result-title { text-decoration:underline; }
    
      /* Filters rail: make the CARD sticky & WHITE (wrapper is not sticky) */
      .filters { position: static; align-self: stretch; justify-self: end; }      /* <- was sticky: move stickiness to .panel */
      .filters .panel {
        position: static !important;
        margin: 0;
        height: 100%;
        display: flex; 
        flex-direction: column;
        top: 96px;                                          /* clears fixed header; adjust if needed */
        background:#fff;                                    /* <- WHITE card, not gray */
        border:none !important; 
        border-radius:8px;
        padding:16px;
      }
      .filters h3 { font-size:1rem; margin:0 0 12px; }
      .filters .group { border-top:1px solid #e5e7eb; padding-top:12px; margin-top:12px; }
      .filters .group summary { cursor:pointer; font-weight:600; }
      .filters .checkbox { display:flex; align-items:center; gap:8px; margin:8px 0; }
      .filters .checkbox input { width:16px; height:16px; accent-color:#0F766E; }
    
      /* Highlights */
      mark { background: #fff3b0; padding:0 .1em; }
    
      /* “No results” */
      .empty { padding:40px 0; color:#6b7280; }
      
      /* ----- Responsive navigation adjustments ----- */
@media (min-width:1200px) {
  header.fixed-top .navbar > .d-flex > .overflow-x-auto.d-flex {
    margin-left: auto !important;
    justify-content: flex-end !important;
  }
}
@media (min-width: 768px) {
  header.fixed-top .navbar {
    padding-left: var(--nav-right-offset);
    padding-right: var(--nav-right-offset);
  }
}
@media (min-width: 1024px) {
  header.fixed-top .navbar {
    padding-top: 0.75rem;
    padding-bottom: 0.75rem;
  }
  header.fixed-top .navbar-brand img {
    height: 60px;
  }
}
@media (min-width: 768px) {
  header.fixed-top .primary-nav .nav-link {
    font-size: 14px;
    font-weight: 400;
    padding-left: 6px;
    padding-right: 6px;
  }
  header.fixed-top .primary-nav {
    gap: 0.5rem;
  }
}
@media (min-width: 992px) {
  .position-relative.overlay {
    margin-top: 0;
  }
}
.position-relative.overlay.pt-7,
.position-relative.overlay.pt-lg-8 {
  padding-top: 200px !important;
}

/* ----- Search results / page-specific styling ----- */
.search-page { margin-top: 61px; }
.search-hero { background: #0f766e; color: #fff; padding: 32px 0; padding-bottom: calc(32px + 30px) !important; }
.search-hero .query { font-size: 40px; font-weight: 800; margin: 8px 0 0; }
.search-hero .count { opacity: .8; letter-spacing: .08em; text-transform: uppercase; }
.search-page .section.white.bg-white { background: #cfd3d7; }
.search-layout { display: grid; grid-template-columns: 1fr 320px; gap: 32px; align-items: stretch; }
@media (max-width: 991.98px) {
  .search-layout { grid-template-columns: 1fr; }
}
.results-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
@media (max-width: 1199.98px) {
  .results-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  .results-grid { grid-template-columns: 1fr; }
}
.result-card {
  background: #fff;
  border: 1px solid #e5e7eb;
  padding: 16px;
  display: flex;
  flex-direction: column;
}
.result-type {
  font-size: .75rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: #6b7280;
  margin-bottom: 6px;
}
.result-title { font-weight: 700; margin: 0 0 8px; }
.result-snippet { color: #374151; line-height: 1.5; margin: 0 0 10px; }
.result-url {
  font-size: .85rem;
  color: #0f766e;
  word-break: break-all;
}
.result-card a { text-decoration: none; }
.result-card a:hover .result-title { text-decoration: underline; }
.filters { position: static; align-self: stretch; justify-self: end; }
.filters .panel {
  position: static !important;
  margin: 0;
  height: 100%;
  display: flex;
  flex-direction: column;
  top: 96px;
  background: #fff;
  border: none !important;
  border-radius: 8px;
  padding: 16px;
}
.filters h3 { font-size: 1rem; margin: 0 0 12px; }
.filters .group { border-top: 1px solid #e5e7eb; padding-top: 12px; margin-top: 12px; }
.filters .group summary { cursor: pointer; font-weight: 600; }
.filters .checkbox {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 8px 0;
}
.filters .checkbox input {
  width: 16px;
  height: 16px;
  accent-color: #0F766E;
}
mark { background: #fff3b0; padding: 0 .1em; }
.empty { padding: 40px 0; color: #6b7280; }

/* ----- Search overlay adjustments ----- */
#nav-search-layer {
  background: #0f766e;
  padding: 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow: none;
}
#mobile-drawer .drawer-header { display: none; }
#mobile-team { margin-bottom: 1.5rem; }
.drawer-menu-secondary { margin-top: 1.5rem; }

/* ----- Mobile drawer ----- */
#mobile-drawer {
  display: block !important;
  position: fixed;
  right: 0;
  left: auto;
  top: 64px;
  width: 80%;
  max-width: 320px;
  bottom: 0;
  transform: translateX(100%);
  transition: transform 0.3s ease-in-out;
  overflow-y: auto;
  background: #0f766e;
  border-top: 1px solid rgba(255,255,255,0.15);
  box-shadow: none;
  z-index: 1050;
}
#mobile-drawer.open {
  transform: translateX(0);
}
#mobile-drawer.collapsed {
  transform: translateX(100%);
  visibility: visible !important;
}

/* ----- Hamburger icon animation ----- */
.mobile-hamburger {
  position: relative;
  width: 50px;
  height: 55px;
  cursor: pointer;
}
.mobile-hamburger:before,
.mobile-hamburger:after {
  content: '';
  position: absolute;
  left: 0;
  width: calc(100% - 15px);
  height: 2px;
  background-color: #ffffff;
  transition: transform 0.3s ease, top 0.3s ease;
  transform-origin: center;
}
.mobile-hamburger:before { top: 12px; }
.mobile-hamburger:after { top: 32px; }
.mobile-hamburger-inner {
  position: absolute;
  top: 22px;
  left: 0;
  width: calc(100% - 15px);
  height: 2px;
  background-color: #ffffff;
  transition: opacity 0.3s ease;
}
.mobile-hamburger.open .mobile-hamburger-inner { opacity: 0; }
.mobile-hamburger.open:before {
  transform: translateY(10px) rotate(45deg);
}
.mobile-hamburger.open:after {
  transform: translateY(-10px) rotate(-45deg);
}

/* ----- Search field styling ----- */
.nav-search-inner {
  display: flex;
  align-items: center;
  background: #0f766e;
  border: 2px solid #ffffff;
  border-radius: 0;
  padding: 0.25rem 0.75rem;
}
.nav-search-input {
  flex: 1;
  background: #0f766e;
  color: #ffffff;
  border: none !important;
  padding: 0;
  outline: none;
}
.nav-search-input::placeholder {
  color: rgba(255,255,255,0.75);
}
.nav-search-input:focus {
  outline: none !important;
  box-shadow: none !important;
  border: none !important;
}
#site-search-input,
#site-search-input:focus {
  border: none !important;
  box-shadow: none !important;
  outline: none !important;
}
.nav-search-inner:focus-within {
  box-shadow: none !important;
}

/* ----- Suggestions dropdown ----- */
#nav-search-suggest {
  background: #0f766e;
  border-top: 1px solid rgba(255,255,255,0.15);
  margin-top: 0;
  padding: 0.25rem 0.75rem;
  border-radius: 0;
}
#nav-search-suggest a {
  color: #ffffff;
  text-decoration: none;
  display: block;
  padding: 0.375rem 0;
}
#nav-search-suggest a:hover {
  background: rgba(255,255,255,0.1);
}

/* Hide the mobile drawer entirely on desktop */
@media (min-width: 992px) {
  #mobile-drawer { display: none; }
}

/* Remove shadows from the navbar and search overlay */
.navbar,
#nav-search-layer {
  box-shadow: none !important;
}

/* Adjust close icon styling */
.nav-search-close {
  font-size: 1.5rem;
  line-height: 1;
  color: #ffffff;
  background: transparent;
  border: none;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 55px;
  margin-right: 0;
}

/* Ensure the navbar sits above the drawer and has a minimum height */
header .navbar {
  z-index: 1070;
  min-height: 55px;
}

/* Mobile navbar padding */
@media (max-width: 991.98px) {
  header .navbar {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
  }
  #mobile-menu-open,
  #nav-search-toggle {
    margin-right: 0;
  }
}

/* Style the mobile drawer search input */
#mobile-search {
  background: transparent;
  border: 2px solid #ffffff;
  border-radius: 0;
  color: #ffffff;
}
#mobile-search::placeholder {
  color: rgba(255,255,255,0.7);
}

/* =======================================================
   Compliance Training Webinar thumbnail (SHAP & Fair-Lending)
   Make it match the Baker Tilly style
   ======================================================= */

/* Reduce the vertical gap under the hero on this page */
#compliance-training-webinar .section.white.bg-white:first-of-type {
  padding-top: 2.5rem !important;  /* pull body up closer to hero */
}

/* Thumbnail container: size + alignment */
#compliance-training-webinar .webinar-thumbnail {
  position: relative;
  max-width: 640px;      /* similar width to Baker Tilly video tile */
  margin: 0 0 2rem 0;    /* left-aligned (no auto margins) */
}

/* Make the image fill just that 640px block */
#compliance-training-webinar .webinar-thumbnail img {
  display: block;
  width: 100%;
  height: auto;
}

/* Clickable area as a block so overlay works */
#compliance-training-webinar .webinar-thumbnail-link {
  display: block;
  position: relative;
}

/* Play button: semi-transparent circle in the center */
#compliance-training-webinar .webinar-play-button {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 110px;
  height: 110px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.55);
}

/* White triangle (play icon) inside the circle */
#compliance-training-webinar .webinar-play-button::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-35%, -50%);  /* nudge triangle to center visually */
  border-style: solid;
  border-width: 18px 0 18px 32px;
  border-color: transparent transparent transparent #ffffff;
}

/* Optional: subtle hover effect */
#compliance-training-webinar .webinar-thumbnail-link:hover .webinar-play-button {
  background: rgba(0, 0, 0, 0.7);
}

/* ===========================
   Legal Updates: 90-day section
   =========================== */

.section-90days {
  /* match the dark gray feel of the footer */
  background-color: #222831; /* tweak if your footer gray is different */
}

.section-90days-inner {
  /* slightly wider than normal container */
  max-width: 1200px;
}

/* base text + borders white */
.section-90days,
.section-90days p,
.section-90days h2,
.section-90days h3,
.section-90days .accordion-item,
.section-90days .accordion-button,
.section-90days .accordion-body {
  color: #ffffff;
}

/* override accordion backgrounds */
.section-90days .accordion-item,
.section-90days .accordion-button,
.section-90days .accordion-body {
  background-color: transparent;
}

/* border lines inside the accordion */
.section-90days .accordion-item {
  border-color: rgba(255, 255, 255, 0.25);
}

/* accordion button specific tweaks */
.section-90days-button {
  border-bottom: 1px solid rgba(255, 255, 255, 0.25);
  padding-left: 0;
  padding-right: 0;
}

/* collapse caret arrow -> white */
.section-90days .accordion-button::after {
  filter: invert(1); /* turn default dark svg arrow to white */
}

/* remove default focus outline color */
.section-90days .accordion-button:focus {
  box-shadow: none;
}

/* body spacing */
.section-90days-body {
  padding-left: 0;
  padding-right: 0;
}

/* ===========================
   Legal Updates: Relevant themes
   =========================== */

#legal-updates-article .card img {
  object-fit: cover;
}

/* keep show-more button subtle */
#legal-updates-article button.btn.btn-link[data-bs-target="#theme4-more"] {
  text-transform: lowercase;
}

/* ===========================
   Legal Updates: Related insights
   =========================== */

/* ensure cards don't become abnormally tall */
.section.gray.bg-gray-400 .swiper-slide .card {
  height: 100%;
}
.section.gray.bg-gray-400 .swiper-slide .card-body {
  padding-bottom: 2rem;
}

.hero-bleed {
  min-height: 70vh;
}
@media (min-width: 992px) {
  .hero-bleed { min-height: 68vh; }

}
:root {
  --bs-primary: #0F766E; /* Cicrim green */
}

.form-check-input:checked {
  background-color: #0F766E;
  border-color: #0F766E;
}

.form-check-input:focus {
  border-color: #0F766E;
  box-shadow: 0 0 0 0.15rem rgba(15, 118, 110, 0.35);
}

