/*!
Styles Copied o
*/

/* ── CSS CUSTOM PROPERTIES ───────────────────────────── */
/* ============================================================
   TRILLIUM HEALTH — Design System Stylesheet
   Based on UI Kit r2
   ============================================================ */

/* ------------------------------------------------------------
   Google Fonts Import — Prata + Poppins
   ------------------------------------------------------------ */
@import url('https://fonts.googleapis.com/css2?family=Prata&family=Poppins:wght@300;400;500;600;700&display=swap');

/* ------------------------------------------------------------
   CSS Custom Properties (Design Tokens)
   ------------------------------------------------------------ */
:root {
  /* Colors */
  --color-dark-teal:       #2E7A8A;
  --color-light-teal:      #38A1B7;
  --color-adjusted-purple: #8B5EA1;
  --color-adjusted-pink:   #C73876;
  --color-adjusted-yellow: #F2BA40;
  --color-light-gray:      #F7F7F7;
  --color-dark-gray:       #505056;

  /* Typography — Font Families */
  --font-display: 'Prata', Georgia, serif;
  --font-body:    'Poppins', Helvetica, Arial, sans-serif;

  /* Typography — Sizes */
  --text-h1:         3rem;       /* 48px */
  --text-h2:         2.5rem;     /* 40px */
  --text-h3:         2rem;       /* 32px */
  --text-h4:         1.375rem;     /* 22px */
  --text-eyebrow:    1rem;       /* 16px */
  --text-lead:       1.5rem;     /* 24px */
  --text-body:       1rem;       /* 16px */
  --text-body-sm:    0.875rem;   /* 14px */
  --text-cta:        1.4375rem;  /* 23px */
  --text-footer-nav: 1.125rem;   /* 18px */

  /* Typography — Line Heights */
  --lh-h1: 1.2;
  --lh-h2: 1.3;  /* per spec */

  /* Spacing */
  --space-xs:  0.25rem;
  --space-sm:  0.5rem;
  --space-md:  1rem;
  --space-lg:  2rem;
  --space-xl:  4rem;

  /* Transitions */
  --transition-base: 0.2s ease;
}

/* ------------------------------------------------------------
   Base Reset & Body
   ------------------------------------------------------------ */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: var(--font-body);
  font-weight: 300;
  font-size: var(--text-body);
  line-height: 1.6;
  color: var(--color-dark-gray);
  background-color: #ffffff;
}

@media (min-width: 1660px) {
    .container,.container-lg,.container-md,.container-sm,.container-xl,.container-xxl {
        max-width:1560px
    }
}

/* ------------------------------------------------------------
   Typography — Headings
   ------------------------------------------------------------ */

/* H1 — Prata Regular 48px, light teal */
h1,
.h1 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: var(--text-h1);
  line-height: var(--lh-h1);
  color: var(--color-light-teal);
}

/* H2 — Prata Regular 40px, light teal */
h2,
.h2 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: var(--text-h2);
  line-height: var(--lh-h2);
  color: var(--color-light-teal);
}

/* H3 — Prata Regular 32px, light teal */
h3,
.h3 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: var(--text-h3);
  color: var(--color-light-teal);
}

/* H4 — Poppins Medium 28px, dark teal */
h4,
.h4 {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: var(--text-h4);
  color: var(--color-dark-teal);
}

/* Eyebrow — Poppins Bold 16px uppercase, adjusted purple */
.eyebrow {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: var(--text-eyebrow);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-adjusted-purple);
}

/* Lead — Poppins Medium 24px, dark gray */
.lead, .is-style-lead {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: var(--text-lead);
  color: var(--color-dark-gray);
}

/* Body — Poppins Light 16px, dark gray */
body {
  font-family: var(--font-body);
  font-weight: 300;
  font-size: var(--text-body);
  color: var(--color-dark-gray);
}

/* Body Small — Poppins Light 14px, dark gray */
.body-small,
small, .has-small-font-size {
  font-family: var(--font-body);
  font-weight: 300;
  font-size: var(--text-body-sm) !important;
  color: var(--color-dark-gray);
}

.site-main {
  /*font-size: 1.4em;*/
}

b, strong {
  font-weight: 700;
}

/* ------------------------------------------------------------
   Text Links
   ------------------------------------------------------------ */

/* In-context body link */
a {
  color: var(--color-dark-teal);
  text-decoration: underline;
  transition: color var(--transition-base);
}

a:hover {
  color: var(--color-adjusted-pink);
}

/* Text CTA — 23pt, dark teal, underline, arrow */
.text-cta {
  font-family: var(--font-body);
  font-size: var(--text-cta);
  font-weight: 500;
  color: var(--color-dark-teal);
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
  transition: color var(--transition-base);
}

.text-cta::after {
  content: ' >';
}

.text-cta:hover {
  color: var(--color-adjusted-pink);
}

/* Secondary nav item */
.nav-item-secondary {
  font-family: var(--font-body);
  font-size: var(--text-body);
  color: var(--color-dark-teal);
  text-decoration: none;
  transition: color var(--transition-base);
}

.nav-item-secondary:hover {
  color: var(--color-adjusted-pink);
}

/* ------------------------------------------------------------
   Buttons
   ------------------------------------------------------------ */


.wp-block-buttons {
  margin-bottom: 15px;
}

/* Shared base */
.btn, .wp-block-button__link.wp-element-button {
  display: inline-block;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: var(--text-eyebrow); /* 16px */
  border-radius: 0;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 0.75rem 1.75rem;
  border: 2px solid transparent;
  cursor: pointer;
  transition: background-color var(--transition-base),
              color var(--transition-base),
              border-color var(--transition-base);
}

/* Primary button — dark teal fill */
.btn-primary, .wp-block-button__link.wp-element-button {
  background-color: var(--color-dark-teal);
  color: #ffffff;
  border-color: var(--color-dark-teal);
}

.btn-primary:hover, .wp-block-button__link.wp-element-button:hover {
  background-color: var(--color-adjusted-pink);
  border-color: var(--color-adjusted-pink);
  color: #ffffff;
}

/* Secondary button — yellow fill */
.btn-secondary {
  background-color: var(--color-adjusted-yellow);
  color: var(--color-dark-gray);
  border-color: var(--color-adjusted-yellow);
}

.btn-secondary:hover {
  background-color: transparent;
  border-color: var(--color-adjusted-yellow);
  color: var(--color-dark-gray);
}

.wp-block-button__link.has-black-color.has-white-background-color.wp-element-button {
  border: none !important;
}

.wp-block-button__link.has-black-color.has-white-background-color.wp-element-button:hover {
  background: var(--color-dark-teal) !important;
  color: white !important;
}

.page-id-34 .header-middle .cta-buttons .btn-cta:nth-child(2), .parent-foundation .header-middle .cta-buttons .btn-cta:nth-child(2) {
  background: var(--color-dark-teal) !important;
  color: white !important;
}

/* ------------------------------------------------------------
   Footer
   ------------------------------------------------------------ */
.footer {
  background-color: var(--color-dark-gray);
  color: #ffffff;
  padding: var(--space-xl) var(--space-lg);
}

/* Primary footer heading — Prata, adjusted yellow, 23pt */
.footer-h1 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: var(--text-cta);
  color: var(--color-adjusted-yellow);
  margin-bottom: var(--space-sm);
}

/* Secondary footer nav — Poppins Bold 18pt, white, uppercase */
.footer-nav-secondary {
  list-style: none;
}

.footer-nav-secondary a,
.footer-nav-secondary-item {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: var(--text-footer-nav);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #ffffff;
  text-decoration: none;
  transition: color var(--transition-base);
}

.footer-nav-secondary a:hover,
.footer-nav-secondary-item:hover {
  color: var(--color-adjusted-yellow);
}

/* Tertiary footer nav — Poppins 18pt lowercase */
.footer-nav-tertiary {
  list-style: none;
}

.footer-main img {
  max-width: 100%;
  height: auto;
  max-height: 150px;
}

.footer-nav-tertiary a,
.footer-nav-tertiary-item {
  font-family: var(--font-body);
  font-weight: 300;
  font-size: var(--text-footer-nav);
  color: #ffffff;
  text-decoration: none;
  text-transform: none;
  transition: color var(--transition-base);
}

.footer-links > li > a, .footer-links > li {
  color: var(--color-adjusted-yellow);
  display: block;
  font-weight: 400;
  font-size: var(--text-lead);
  text-transform: lowercase;
  margin-bottom: 25px;
}

.footer-links > li > ul {
  padding-left: 0;
  list-style: none;
  margin-bottom: 25px;

  li {
    margin-bottom: 10px;
    line-height: 1;

    ul {
      padding-left:0;
      margin-bottom: 10px;

      li {
        list-style: none;
        margin-bottom: 0;
        line-height: 1.3;

        a {
          font-weight: 400;
          text-transform: none;
          font-size: 16px;
        }
      }
    }
  }
  a {
    color: white;
    font-weight: 400;
    text-transform: uppercase;
  }
}

.footer-nav-tertiary a:hover,
.footer-nav-tertiary-item:hover {
  color: var(--color-adjusted-yellow);
}

/* Patient Portal button (footer) — secondary style on dark bg */
.btn-patient-portal {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: var(--text-eyebrow);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background-color: var(--color-adjusted-yellow);
  color: var(--color-dark-gray);
  padding: 0.5rem 1.25rem;
  cursor: pointer;
  text-decoration: none;
  transition: background-color var(--transition-base),
              color var(--transition-base);
}

.btn-patient-portal:hover {
  color: var(--color-adjusted-yellow);
  background-color: transparent;
  border: 2px solid var(--color-adjusted-yellow);
}

@media (max-width: 991px) {
  .trillium-footer {
    text-align: center;
  }
  .after-footer-logo, .badge-col .row {
    display: flex;
    justify-content: center;
  }
  .badge-col {
    margin-bottom: 25px;
  }
}

/* Stacked columns (WordPress stacks below 782px): space them vertically */
@media (max-width: 781px) {
  .wp-block-columns {
    column-gap: 0;
    row-gap: 2.5rem;
  }
}

@media (max-width: 992px) {
  .main-nav .nav-link {
    font-size: 16px;
  }
}

@media (max-width: 1200px) {
  .logo-ctas-header {
    justify-content: center !important;
  }
}

.header-middle {
  padding: 15px 0;
}


/* ------------------------------------------------------------
   Utility Classes
   ------------------------------------------------------------ */
.text-light-teal     { color: var(--color-light-teal); }
.text-dark-teal      { color: var(--color-dark-teal); }
.text-purple         { color: var(--color-adjusted-purple); }
.text-pink           { color: var(--color-adjusted-pink); }
.text-yellow         { color: var(--color-adjusted-yellow); }
.text-dark-gray      { color: var(--color-dark-gray); }
.text-white          { color: #ffffff; }

.bg-light-gray       { background-color: var(--color-light-gray); }
.bg-dark-gray        { background-color: var(--color-dark-gray); }
.bg-dark-teal        { background-color: var(--color-dark-teal); }
.bg-light-teal       { background-color: var(--color-light-teal); }


/* ── 2. MIDDLE ROW ───────────────────────────────────── */
.header-middle {
  background: #fff;
  padding: 1.3rem 1rem 1.1rem;
}
.header-middle .logo img,
.header-middle .custom-logo {
  height: 120px;
  width: auto;
}

@media (max-width: 575px) {
  .header-middle .cta-buttons .btn-cta {
    width: 49%;
  }
}

/* "Para Español?" link */
.espanol-link {
  font-size: 1rem;
  color: var(--text);
  text-decoration: underline;
  white-space: nowrap;
}
.espanol-link:hover { color: var(--color-light-teal); }

/* CTA buttons */
.btn-cta {
  font-size: .92rem;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
  border: 1px solid var(--color-dark-teal);
  color: var(--color-dark-teal);
  background: #fff;
  padding: .5rem 1.1rem;
  border-radius: 0;
  white-space: nowrap;
}
.btn-cta:hover {
  background: var(--color-dark-teal);
  color: white;
  border-color: var(--color-dark-teal);
}
.btn-cta.donate {
  background: var(--color-dark-teal);
  border-color: var(--color-dark-teal);
  color: #fff;
}
.btn-cta.donate:hover, .wp-block-button__link.has-white-background-color:hover {
  background: var(--color-light-teal) !important;
  border-color: var(--color-light-teal) !important;
  color: #fff !important;
}

/* Language translator (GTranslate) — matches .btn-cta */
.gtranslate_wrapper .gt_selector {
  -webkit-appearance: none;
  appearance: none;
  font-family: inherit;
  font-size: .92rem;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
  line-height: 1.5;
  color: #fff;
  background: var(--color-dark-teal) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='none' stroke='%23fff' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m2 5 6 6 6-6'/%3E%3C/svg%3E") no-repeat right .75rem center / 12px 12px;
  border: 1px solid var(--color-dark-teal);
  border-radius: 0;
  padding: .5rem 2.25rem .5rem 1rem;
  cursor: pointer;
}
.gtranslate_wrapper .gt_selector:hover {
  background-color: var(--color-light-teal);
  border-color: var(--color-light-teal);
}
/* Keep the open option list readable */
.gtranslate_wrapper .gt_selector option {
  color: var(--color-dark-gray);
  background: #fff;
}
.gtranslate_wrapper .gt_selector:focus-visible {
  outline: 2px solid var(--color-light-teal);
  outline-offset: 2px;
}

/* ── 3. NAV BAR ──────────────────────────────────────── */
.main-nav {
  background: #f1f1f1;
  margin-top: 15px;
  padding: 0;
}
.main-nav .navbar-nav {
  width: 100%;
  justify-content: space-evenly;
}
.main-nav .nav-link {
  font-size: 18px;
  font-weight: 700;
  letter-spacing: .07em;
  text-transform: uppercase;
  color: var(--color-dark-gray) !important;
  padding: 1rem .6rem;
  white-space: nowrap;
  position: relative;
}

/* Underline for active states */
.main-nav .nav-item > .nav-link.active::before {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 3px;
  background: var(--color-light-teal);
  transform: scaleX(0);
  transition: transform .2s ease;
}
.main-nav .nav-item > .nav-link.active { color: var(--color-light-teal); }
.main-nav .nav-item > .nav-link.active::before { transform: scaleX(1); }

/* Main Navigation - filled background + white text */
.main-nav .nav-item:hover > .nav-link {
  background: #2d8091;
  color: #fff !important;
}
.main-nav .nav-item.dropdown > .nav-link:focus,
.main-nav .nav-item.dropdown > .nav-link:active,
.main-nav .nav-item.dropdown > .nav-link:focus-visible {
  outline: none;
  box-shadow: none;
}

/* Remove Bootstrap default caret */
.main-nav .nav-link::after { display: none; }

.page-contact-us .main-nav .nav-item > .nav-link.active::before, .page-foundation .main-nav .nav-item > .nav-link.active::before  {
  display: none;
}

/* ── ANIMATED DROPDOWN ───────────────────────────────── */
.main-nav .dropdown-menu {
  display: block;
  visibility: hidden;
  opacity: 0;
  transform: translateY(-8px);
  transition: opacity .22s ease, transform .22s ease, visibility 0s .22s;
  pointer-events: none;

  border: none;
  border-top: 3px solid var(--color-light-teal);
  border-radius: 0 0 4px 4px;
  box-shadow: 0 6px 20px rgba(0,0,0,.12);
  min-width: 220px;
  padding: .5rem 0;
  margin-top: 0;
}
.main-nav .dropdown-menu.show,
.main-nav .nav-item:hover > .dropdown-menu {
  visibility: visible;
  opacity: 1;
  transform: translateY(0);
  transition: opacity .22s ease, transform .22s ease, visibility 0s 0s;
  pointer-events: auto;
}
.main-nav .dropdown-item {
  font-size: .92rem;
  font-weight: 500;
  color: var(--color-dark-gray);
  padding: .55rem 1.25rem;
  letter-spacing: .01em;
}
.main-nav .dropdown-item:hover, .dropdown-item.active, .dropdown-item:active {
  background: #f0f8f9;
  color: var(--color-light-teal);
  padding-left: 1.5rem;
  transition: padding-left .15s ease;
}
.main-nav .dropdown-divider { margin: .35rem 0; }

/* Tablet: tighten the nav so all top-level items fit on one row */
@media (min-width: 768px) and (max-width: 991.98px) {
  .main-nav .nav-link {
    font-size: 14px;
    letter-spacing: .03em;
    padding-left: .5rem;
    padding-right: .5rem;
  }
}

/* Keep dropdown open on hover (desktop) */
@media (min-width: 768px) {
  .main-nav .nav-item:hover > .dropdown-menu { display: block; }

  /* Open the last dropdown leftward so its hidden menu can't overflow the page
     (not :last-child — mobile-only menu items follow it) */
  .main-nav .navbar-nav > .nav-item:nth-last-child(1 of .dropdown) > .dropdown-menu {
    left: auto;
    right: 0;
  }

  .is-style-reversed {
    flex-direction: row-reverse;
  }
}

@media (min-width: 992px) {
    .navbar .nav-item.dropdown:hover .dropdown-menu {
        display: block;
        margin-top: 0; /* Prevents a gap that breaks the hover state */
    }
}

/* ── MOBILE MENU (Bootstrap offcanvas) ──────────────── */
.menu-toggle {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  flex-shrink: 0;
  font-size: .9rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: #fff;
  background: var(--color-dark-teal);
  border: 1px solid var(--color-dark-teal);
  border-radius: 0;
  padding: .5rem .9rem;
}
.menu-toggle .bi { font-size: 1.5rem; line-height: 1; }
.menu-toggle:hover,
.menu-toggle:focus-visible {
  background: var(--color-light-teal);
  border-color: var(--color-light-teal);
  color: #fff;
}

/* Desktop: offcanvas renders inline, let the menu fill the bar */
@media (min-width: 768px) {
  .main-nav .offcanvas-body { flex-grow: 1; }
}

@media (max-width: 767.98px) {
  /* Nav bar itself is empty on mobile; the panel slides in from the right */
  .main-nav { margin: 0; padding: 0 !important; background: transparent; }

  .main-nav .offcanvas { max-width: 85vw; }
  .main-nav .offcanvas-header { border-bottom: 3px solid var(--color-light-teal); }
  .main-nav .offcanvas-title {
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: .07em;
    text-transform: uppercase;
    margin: 0;
  }
  .main-nav .offcanvas-body { padding: 0 0 1.5rem; }

  .main-nav .navbar-nav { justify-content: flex-start; }
  .main-nav .nav-item { border-bottom: 1px solid #e5e5e5; }
  .main-nav .nav-link { padding: .9rem 1.25rem; white-space: normal; }
  .main-nav .nav-item > .nav-link.active::before { display: none; }

  /* Parent link navigates; chevron button expands/collapses the submenu */
  .main-nav .nav-item.dropdown { display: flex; flex-wrap: wrap; }
  .main-nav .nav-item.dropdown > .nav-link { flex: 1 1 0; min-width: 0; }
  .main-nav .nav-item.dropdown > .dropdown-menu { flex: 0 0 calc(100% - 1rem); }
  .main-nav .submenu-toggle {
    flex: 0 0 3.5rem;
    align-self: stretch;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    border: 0;
    border-left: 1px solid #e5e5e5;
    color: var(--color-dark-gray);
  }
  .main-nav .submenu-toggle .bi { transition: transform .2s ease; }
  .main-nav .submenu-toggle[aria-expanded="true"] .bi { transform: rotate(180deg); }
  .main-nav .dropdown-menu.show { display: block; }

  .offcanvas-extras { padding: 1.25rem 1.25rem 0; }
  .offcanvas-extras .gt_selector { width: 100%; padding-top: .65rem; padding-bottom: .65rem; }
}

/* Subnavigation Styles */
.sub-nav {
  border-bottom: 1px solid var(--color-light-gray);
  padding: 0;
}
.sub-nav__list {
  gap: .25rem 2rem;
}
.sub-nav__list .nav-link {
  font-weight: 700;
  text-transform: uppercase;
  padding: .75rem 0;
  color: var(--color-dark-gray);
  border-bottom: 2px solid transparent;
}
.sub-nav__list .nav-link:hover, .sub-nav__list .nav-link.active {
  border-bottom: 2px solid var(--color-dark-teal);
  color: var(--color-dark-teal);
}
.sub-nav__list .btn-primary .nav-link {
  color: white;
  padding: 10px 25px;
  border: none !important;
}
@media (max-width: 767.98px) {
  .sub-nav { padding: .5rem 0; }
  .sub-nav__list { gap: 0 1.25rem; }
  .sub-nav__list .nav-link { font-size: .9rem; padding: .5rem 0; }
  .sub-nav__list .nav-link:hover, .sub-nav__list .nav-link.active { border-bottom: 2px solid transparent; }
}

/* Homepage Mast */

#mast {
  height: 70vh;
  display: flex;
  align-items: center;
  background-repeat: no-repeat;
  background-position: center center;
  background-size: cover;
}

/* Page Masts */

#mast.page-mast, #mast.page-mast.mast-large {
  height: auto;
  min-height: 35vh;
}
#mast.page-mast.mast-medium {
  min-height: 25vh;
}
#mast.page-mast.mast-small {
  min-height: 15vh;
}

/* Modal for Team Members */

.team-member-photo .card-img-top {
    height: auto;
}
.team-member-trigger {
    text-decoration: none;
}

/* ── RESPONSIVE ──────────────────────────────────────── */
@media (max-width: 1400px) {
  .first-footer-links {
    padding-left: 60px;
  }
}
@media (max-width: 992px) {
  footer .social-icons, .first-footer-links {
    padding-left: 0 !important;
  }
  .main-nav {
    padding: 10px 0;
  }
  #mast {
    background: url(/wp-content/uploads/2026/06/MW081120TH_0435_homepage-2100w.jpg) no-repeat right center / cover;
    height: 40vh;
  }
  #mast .white-box {
    max-width: 100%;
  }
}
@media (max-width: 767px) {
  #mast.page-mast { padding-top: 2.5rem; padding-bottom: 2.5rem; }
  .header-middle .logo img,
  .header-middle .custom-logo { height: 62px; }
  .btn-cta { font-size: .82rem; padding: .45rem .75rem; }
  .main-nav .dropdown-menu {
    display: none;
    visibility: visible; opacity: 1; transform: none;
    transition: none; pointer-events: auto;
    box-shadow: none; border-top: none;
    border-left: 3px solid var(--color-light-teal);
    margin-left: 1rem;
  }
  .is-style-reversed {
      /*flex-direction: column-reverse;*/
      flex-direction: row-reverse;
  }
}
@media (max-width: 575px) {
  .cta-buttons { flex-wrap: wrap; justify-content: flex-end !important; }
  .btn-cta { font-size: .78rem; padding: .4rem .6rem; }
}


/* ═══════════════════════════════════════════════════
   FOOTER
════════════════════════════════════════════════════ */
 
/* ── Overall footer background ──────────────────── */
.trillium-footer {
  background: var(--color-dark-gray);
  color: white;
  font-family: 'Poppins', sans-serif;
}
 
/* ── Logo ────────────────────────────────────────── */
.footer-logo-img,
.trillium-footer .custom-logo {
  height: 140px;
  width: auto;
}
 
/* ── Address block ───────────────────────────────── */
.footer-address {
  font-style: normal;
  font-size: .95rem;
  line-height: 1.6;
  color: #e0e0e0;
}
.footer-address p { margin-bottom: .6rem; }
.footer-address a {
  color: #e0e0e0;
  text-decoration: underline;
}
.footer-address a:hover { color: #fff; }
 
/* ── Footer links column ─────────────────────────── */
.footer-links { margin: 0; padding: 0; }
.footer-links li { margin-bottom: .65rem; }
.footer-links li a,
.footer-links a {
  text-decoration: none;
  font-size: 18px;
}
.footer-links li a:hover,
.footer-links a:hover { color: #fff; text-decoration: underline; text-decoration-color: var(--color-adjusted-yellow);}

.footer-links > li > a {
  font-size: var(--text-cta);
}
.footer-links > li {
  font-size: var(--text-cta);
  margin-bottom: 25px;
}
.footer-links > li > p {
  margin-bottom: 25px;
}
 
/* WP adds a wrapping <ul> with class menu — target it too */
.trillium-footer .menu {
  list-style: none;
  margin: 0;
  padding: 0;
}



@media (min-width: 1600px) {
  .after-footer-logo {
    padding-left: 120px;
  }
}
@media (min-width: 1400px) {
  .after-footer-logo {
    padding-left: 100px;
  }
}
 
/* ── Social icons ────────────────────────────────── */
.social-icons {
  flex-wrap: wrap;
}
.social-icons a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 2px solid #fff;
  color: #fff;
  font-size: 1.1rem;
  text-decoration: none;
  transition: background .2s, color .2s;
}
.social-icons a:hover {
  background: var(--color-adjusted-yellow);
  color: var(--color-dark-gray);
}
 
/* ── Accreditation badges ────────────────────────── */
.badge-img {
  height: 90px;
  width: auto;
  object-fit: contain;
}
.badge-img--tall {
  height: 110px;
}
 
/* ── Disclaimer bar ──────────────────────────────── */
.footer-disclaimer {
  border-top: 1px solid rgba(255,255,255,.15);
  border-bottom: 1px solid rgba(255,255,255,.15);
}
.footer-disclaimer p {
  font-size: .9rem;
  color: #e0e0e0;
  line-height: 1.7;
}
.footer-disclaimer a {
  color: #e0e0e0;
  text-decoration: underline;
}
.footer-disclaimer a:hover { color: #fff; }
 
/* ── Bottom bar ──────────────────────────────────── */
.footer-bottom {
  font-size: .85rem;
  color: #ccc;
}
.footer-bottom .credit-link {
  color: #ccc;
  text-decoration: underline;
}
.footer-bottom .credit-link:hover { color: #fff; }
 
/* ── Responsive ──────────────────────────────────── */
@media (max-width: 991px) {
  .social-icons { justify-content: flex-start !important; }
  .badges-grid .d-flex { justify-content: flex-start !important; }
}
@media (max-width: 575px) {
  .badge-img      { height: 70px; }
  .badge-img--tall { height: 85px; }
}

/* ═══════════════════════════════════════════════════
   HOMEPAGE — Accelm Redesign
════════════════════════════════════════════════════ */


/* Shared utilities */
.th-section-label {
  display: inline-block;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--color-light-teal);
  margin-bottom: 1rem;
}
 
.th-btn {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  font-size: .88rem;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
  padding: .7rem 1.6rem;
  border-radius: 100px;
  text-decoration: none;
  transition: all .2s ease;
  white-space: nowrap;
}
.th-btn--white  { background: #fff; color: var(--color-dark-teal); }
.th-btn--white:hover  { background: var(--color-light-teal); color: #fff; }
.th-btn--ghost  { background: transparent; color: #fff; border: 2px solid rgba(255,255,255,.6); }
.th-btn--ghost:hover  { background: rgba(255,255,255,.15); color: #fff; border-color: #fff; }
.th-btn--color-light-teal   { background: var(--color-light-teal); color: #fff; }
.th-btn--color-light-teal:hover   { background: var(--color-dark-teal); color: #fff; }
 
/* Scroll reveal */
.reveal-section { opacity: 0; transform: translateY(32px); transition: opacity .65s ease, transform .65s ease; }
.reveal-section.is-visible { opacity: 1; transform: translateY(0); }


/* Article - Hover  */

.listing article>a {
    display: block;
    text-decoration: none;
    color: inherit;
    transition: box-shadow .25s;
    background: #f8f9fa
}

.listing article>a .dynamic-media {
    transition: transform 1s
}

.listing article>a:focus,.listing article>a:hover {
    box-shadow: 0 0 .25em rgba(0,0,0,.2)
}

.listing article>a:focus .dynamic-media,.listing article>a:hover .dynamic-media {
    transform: scale(1.05)
}

.listing article>a:focus .title .icon,.listing article>a:hover .title .icon {
    opacity: 1;
    transform: translatex(0)
}

.listing article>a .title {
    color: var(--color-light-teal);
    padding: 1em;
}

.listing article>a .title:after {
    content: "icon-angle-right";
    display: none
}

.listing article>a .title .icon {
    width: 1em;
    height: 2em;
    margin-left: 1px;
    margin-right: -1em;
    opacity: 0;
    transform: translatex(10px);
    transition: all .25s;
    fill: var(--color-light-teal);
}

.listing article .media-wrapper {
    position: relative;
    overflow: hidden
}

.listing .title {
    margin: 0;
    font-size: 1.4em;
    text-transform: lowercase;
}

.listing article .cover > div {
    background-position: center;
    background-size: cover;
}
 
/* ── 1. HERO ─────────────────────────────────────── */
.th-hero {
  position: relative;
  width: 100%;
  height: clamp(480px, 72vh, 760px);
  overflow: hidden;
  background: #0d2b30;
}
.th-hero__media {
  position: absolute;
  inset: 0;
}
.th-hero__video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 25%;
  display: block;
}
.th-hero__gradient {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    105deg,
    rgba(13,43,48,.82) 0%,
    rgba(13,43,48,.55) 45%,
    rgba(13,43,48,.1) 100%
  );
}
.th-hero__content {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: flex-end;
  padding-bottom: clamp(2.5rem, 6vw, 5rem);
  z-index: 2;
}
.th-hero__eyebrow {
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: rgba(255,255,255,.65);
  margin-bottom: .85rem;
}
.th-hero__heading {
  font-size: clamp(2.8rem, 6.5vw, 5.5rem);
  font-weight: 400;
  font-style: italic;
  color: #fff;
  line-height: 1.08;
  margin-bottom: 2rem;
  max-width: 16ch;
}
.th-hero__glass {
  display: inline-flex;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
  background: rgba(255,255,255,.1);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,.2);
  border-radius: 100px;
  padding: .7rem 1rem .7rem 1.5rem;
}
.th-hero__glass > span {
  font-size: .9rem;
  color: rgba(255,255,255,.9);
  font-weight: 500;
}
.th-hero__glass-actions {
  display: flex;
  gap: .6rem;
  flex-wrap: wrap;
}
 
/* ── 2. INTRO ────────────────────────────────────── */
.th-intro {
  padding: clamp(4rem, 8vw, 7rem) 0;
  background: #fff;
}
.th-intro__inner {
  max-width: 820px;
}
.th-intro__heading {
  font-size: clamp(1.7rem, 3.5vw, 2.8rem);
  font-weight: 600;
  color: #0d2b30;
  line-height: 1.2;
  margin-bottom: 1.2rem;
}
.th-intro__body {
  font-size: 1.05rem;
  color: #555;
  line-height: 1.8;
  max-width: 65ch;
}

/* Breadcrumb Styles */

.title-bc {
  border-bottom: 1px solid #e3e3e3;

  h1 {
    color: var(--color-dark-gray);
  }
}


/* Gutenberg related class styles */

.has-light-gray-background-color:where(.wp-block-columns.has-background) {
  padding: 0;
}

.has-light-gray-background-color, .wp-block-group.is-style-full-width, .wp-block-columns.has-background {
  position: relative;
  padding: 40px 0;
  margin-bottom: 0;
}

.wp-block-group.is-style-full-width::before, .wp-block-columns.has-background::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100vw;
  height: 100%;
  background: inherit;
  z-index: -1;
}

.single .wp-block-group.is-style-full-width::before, .single .wp-block-columns.has-background::before {
  content: none;
}
.single .wp-block-group.is-style-full-width, .single .wp-block-columns.has-background {
  padding: 25px;
}

.wp-block-cover.is-style-full-width {
    width: 100vw !important;
    position: relative !important;
    left: 50% !important;
    right: 50% !important;
    margin-left: -50vw !important;
    margin-right: -50vw !important;
    max-width: 100vw !important;
    box-sizing: border-box !important;
}

@media (min-width: 1400px) { 
  .wp-block-cover__inner-container {
    max-width: 1320px;
  }
}

.has-adjusted-purple-background-color:where(.wp-block-columns.has-background) {
  padding: 0;
}

.has-adjusted-purple-background-color {
  position: relative;
  padding: 40px 0 30px;
}
.has-adjusted-purple-background-color:where(.wp-block-columns.has-background)::before, .has-adjusted-purple-background-color:where(.wp-block-group)::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100vw;
    height: 100%;
    background: var(--color-adjusted-purple);
    z-index: -1;
}

.has-dark-teal-background-color {
    position: relative;
    padding: 40px 0 30px;
}
.has-dark-teal-background-color:where(.wp-block-columns.has-background)::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100vw;
    height: 100%;
    background: var(--color-dark-teal);
    z-index: -1;
}

iframe {
  max-width: 100%;
}

/* Video embeds (YouTube, Vimeo, etc.) fill their container at the video's aspect ratio */
.wp-block-embed.is-type-video iframe {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
}
.wp-block-embed.wp-embed-aspect-4-3 iframe { aspect-ratio: 4 / 3; }
.wp-block-embed.wp-embed-aspect-1-1 iframe { aspect-ratio: 1 / 1; }
.wp-block-embed.wp-embed-aspect-9-16 iframe { aspect-ratio: 9 / 16; }

/* ── RESOURCES ──────────────────────────────────── */

.archive-sidebar {
  background: var(--color-light-gray);

  .title {
    background: var(--color-dark-teal);
    color: white;
    padding: 15px;

    h4 {
      color: white;
      margin-bottom: 0;
    }
  }

  li {
    display: block;
    padding: 10px 15px;
    width: 100%;
  }

  .children {
    padding: 0;
    margin: 0;

    li {
      padding-left: 15px;
    }

    li::before {
      content: "▶";
      font-size: 12px;
      padding-right: 10px;
    }
  }

  li:last-child {
    border-bottom: none;
  }
}


/* ── RESPONSIVE ──────────────────────────────────── */
@media (max-width: 991px) {
  .th-bento {
    grid-template-columns: repeat(3, 1fr);
    grid-auto-rows: 180px;
  }
  .th-ceo__grid { grid-template-columns: 1fr; }
  .th-ceo__photo { aspect-ratio: 16/9; object-position: center 20%; max-height: 380px; }
  .th-stats__grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 767px) {
  .th-hero { height: clamp(380px, 70vw, 500px); }
  .th-hero__glass { border-radius: 16px; padding: 1rem 1.2rem; }
  .th-bento {
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: 160px;
  }
  .th-bento__card--wide { grid-column: span 2; }
  .th-bento__card--tall { grid-row: span 1; }
  .th-ceo__bg-label { display: none; }

}
@media (max-width: 575px) {
  .th-bento { grid-template-columns: 1fr 1fr; grid-auto-rows: 140px; gap: 8px; }
  .th-stats__grid { grid-template-columns: 1fr 1fr; gap: 1.5rem; }
}


.has-text-align-center {
  text-align: center;
}
