/* ═══════════════════════════════════════════════════════════════════════════
   LAC theme 2027 — site frame (header, sticky menu, mobile menu, footer, CTA)
   Restyles the existing markup only: no links, IDs or script hooks change.
   Every rule starts with "html body" so it wins over the theme's and the
   includes' own !important rules regardless of load order.
   Brand: Green #10AC84 · Black #111111 · Red #D60000 · White · Poppins
   ═══════════════════════════════════════════════════════════════════════════ */

html body {
  --lf-green: #10AC84; --lf-green-dark: #087D60; --lf-green-light: #E7F6F0;
  --lf-black: #111111; --lf-red: #D60000; --lf-line: #E5E5E5; --lf-muted: #5C5C5C;
  --lf-soft: #CCCCCC; --lf-dark-2: #1C1C1C; --lf-dark-line: #2E2E2E;
  --lf-head: Poppins, Arial, Helvetica, sans-serif;
  --lf-shadow: 0 18px 40px rgba(0,0,0,.12);
  background: #F7F7F7 !important;
}

/* ───────────────────────── Top bar ───────────────────────── */
html body header.stick .topbar {
  background: var(--lf-black) !important; padding: 0 !important; border-bottom: 1px solid #222 !important;
}
html body header.stick .topbar-inner { min-height: 40px !important; }
html body header.stick .topbar-info-list > li,
html body header.stick .topbar-info-list > li a,
html body header.stick .topbar-links > li,
html body header.stick .topbar-links > li > a {
  color: var(--lf-soft) !important; font-size: 13px !important; font-weight: 500 !important;
  font-family: var(--lf-head) !important; text-transform: none !important; letter-spacing: 0 !important;
}
html body header.stick .topbar-info-list > li a:hover,
html body header.stick .topbar-links > li > a:hover { color: #FFFFFF !important; }
html body header.stick .topbar-info-list > li i,
html body header.stick .topbar-links > li > a > i { color: #8A8A8A !important; }
html body header.stick .topbar-links > li:not(:first-child)::before { background: #3A3A3A !important; color: #3A3A3A !important; }
html body header.stick .topbar a.lac-register-btn,
html body .rspn-hdr a.lac-register-btn {
  background: var(--lf-green) !important; color: #FFFFFF !important; border-radius: 999px !important;
  padding: 5px 14px !important; border: 0 !important; line-height: 1.4 !important;
}
html body header.stick .topbar a.lac-register-btn i,
html body .rspn-hdr a.lac-register-btn i { color: #FFFFFF !important; }
html body header.stick .topbar a.lac-register-btn:hover { background: var(--lf-green-dark) !important; }

/* member / account dropdown (top bar) */
html body .member-dropdown-menu {
  background: #FFFFFF !important; border: 1px solid #EFEFEF !important; border-radius: 14px !important;
  box-shadow: var(--lf-shadow) !important; padding: 8px !important; border-top-width: 1px !important; min-width: 220px !important;
}
html body .member-dropdown-menu li a {
  color: var(--lf-black) !important; border-radius: 10px !important; padding: 9px 12px !important;
  font-family: var(--lf-head) !important; font-size: 14px !important; font-weight: 500 !important;
}
html body .member-dropdown-menu li a i { color: var(--lf-green-dark) !important; }
html body .member-dropdown-menu li a:hover { background: var(--lf-green-light) !important; color: var(--lf-green-dark) !important; }
html body .member-dropdown-menu .dropdown-divider { border-top-color: var(--lf-line) !important; }

/* ───────────────────────── Main header bar ───────────────────────── */
html body header.stick .logo-info-bar-wrap {
  background: #FFFFFF !important; border-bottom: 1px solid var(--lf-line) !important; box-shadow: none !important;
}
html body header.stick .logo-info-bar-inner { padding: 12px 0 !important; min-height: 84px !important; }
html body header.stick .logo img,
html body .sticky-menu .logo img { max-height: 60px !important; width: auto !important; height: auto !important; }

html body header.stick nav > div > ul > li,
html body .sticky-menu nav > div > ul > li {
  margin-right: 4px !important; text-transform: none !important; line-height: 1 !important;
}
html body header.stick nav > div > ul > li + li::before,
html body .sticky-menu nav > div > ul > li + li::before { display: none !important; }
html body header.stick nav > div > ul > li > a,
html body .sticky-menu nav > div > ul > li > a {
  display: inline-flex !important; align-items: center !important; min-height: 44px !important;
  padding: 0 12px !important; border-radius: 999px !important; border: 0 !important;
  font-family: var(--lf-head) !important; font-size: 14.5px !important; font-weight: 500 !important;
  color: var(--lf-black) !important; text-transform: none !important; letter-spacing: 0 !important;
  line-height: 1 !important; white-space: nowrap !important; background: transparent !important;
}
html body header.stick nav > div > ul > li.menu-item-has-children > a,
html body .sticky-menu nav > div > ul > li.menu-item-has-children > a { padding-right: 28px !important; }
html body header.stick nav > div > ul > li.menu-item-has-children > a::before,
html body .sticky-menu nav > div > ul > li.menu-item-has-children > a::before {
  right: 12px !important; top: 50% !important; transform: translateY(-50%) !important;
  font-size: 11px !important; color: #9A9A9A !important;
}
html body header.stick nav > div > ul > li > a:hover,
html body header.stick nav > div > ul > li:hover > a,
html body .sticky-menu nav > div > ul > li > a:hover,
html body .sticky-menu nav > div > ul > li:hover > a { background: #F3F3F3 !important; color: var(--lf-black) !important; }
html body header.stick nav > div > ul > li.active > a,
html body header.stick nav > div > ul > li.current > a { color: var(--lf-red) !important; }
html body header.stick nav > div > ul > li > a .lac-nav-icon,
html body .sticky-menu nav > div > ul > li > a .lac-nav-icon { display: none !important; }

/* dropdown panels */
html body header.stick nav > div ul ul,
html body .sticky-menu nav > div ul ul {
  background: #FFFFFF !important; border: 1px solid #EFEFEF !important; border-radius: 16px !important;
  box-shadow: var(--lf-shadow) !important; padding: 8px !important; margin-top: 6px !important; min-width: 250px !important;
}
html body header.stick nav > div ul ul ul,
html body .sticky-menu nav > div ul ul ul { margin-top: 0 !important; margin-left: 6px !important; }
html body header.stick nav > div ul ul li,
html body .sticky-menu nav > div ul ul li { border: 0 !important; line-height: 1.35 !important; }
html body header.stick nav > div ul ul li + li,
html body .sticky-menu nav > div ul ul li + li { border-top: 0 !important; }
html body header.stick nav > div ul ul li a,
html body .sticky-menu nav > div ul ul li a {
  background: transparent !important; border-radius: 10px !important; padding: 9px 12px !important;
  font-family: var(--lf-head) !important; font-size: 14px !important; font-weight: 500 !important;
  color: var(--lf-black) !important; text-transform: none !important; white-space: normal !important;
  display: flex !important; align-items: center !important; gap: 10px !important;
}
html body header.stick nav > div ul ul li a::before,
html body .sticky-menu nav > div ul ul li a::before { display: none !important; }
html body header.stick nav > div ul ul li:hover > a,
html body header.stick nav > div ul ul li a:focus,
html body .sticky-menu nav > div ul ul li:hover > a,
html body .sticky-menu nav > div ul ul li a:focus {
  background: var(--lf-green-light) !important; color: var(--lf-green-dark) !important; padding-left: 12px !important;
}
html body header.stick nav > div ul ul li a .lac-nav-icon,
html body .sticky-menu nav > div ul ul li a .lac-nav-icon {
  display: inline-flex !important; width: 18px !important; justify-content: center !important;
  color: var(--lf-green-dark) !important; font-size: 13px !important; margin: 0 !important;
}

/* Donate + language */
html body header.stick .donate-nav-btn,
html body .sticky-menu .donate-nav-btn {
  background: var(--lf-green) !important; color: #FFFFFF !important; border: 0 !important;
  border-radius: 999px !important; min-height: 44px !important; padding: 0 20px !important;
  display: inline-flex !important; align-items: center !important; gap: 8px !important;
  font-family: var(--lf-head) !important; font-size: 14px !important; font-weight: 600 !important;
  box-shadow: none !important; text-transform: none !important; line-height: 1 !important;
}
html body header.stick .donate-nav-btn:hover,
html body .sticky-menu .donate-nav-btn:hover { background: var(--lf-green-dark) !important; }
html body header.stick .donate-nav-btn::before, html body header.stick .donate-nav-btn::after,
html body .sticky-menu .donate-nav-btn::before, html body .sticky-menu .donate-nav-btn::after { display: none !important; }
html body .language-dropdown { margin-left: 10px !important; }
html body .language-dropdown > a,
html body .language-dropdown-toggle {
  background: #FFFFFF !important; color: var(--lf-black) !important; border: 1.5px solid var(--lf-line) !important;
  border-radius: 999px !important; min-height: 44px !important; padding: 0 14px !important;
  display: inline-flex !important; align-items: center !important; gap: 8px !important;
  font-family: var(--lf-head) !important; font-size: 14px !important; font-weight: 600 !important; line-height: 1 !important;
  box-shadow: none !important; cursor: pointer;
}
html body .language-dropdown > a:hover,
html body .language-dropdown-toggle:hover { border-color: var(--lf-black) !important; background: #FFFFFF !important; color: var(--lf-black) !important; }
html body .language-dropdown-toggle .lang-flag { border-radius: 3px; }
html body .language-dropdown-menu {
  background: #FFFFFF !important; border: 1px solid #EFEFEF !important; border-radius: 14px !important;
  box-shadow: var(--lf-shadow) !important; padding: 6px !important; margin-top: 6px !important; border-top-width: 1px !important;
}
html body .language-dropdown-menu li a {
  color: var(--lf-black) !important; border-radius: 10px !important; padding: 9px 12px !important;
  font-family: var(--lf-head) !important; font-size: 14px !important; font-weight: 500 !important; background: transparent !important;
}
html body .language-dropdown-menu li a:hover,
html body .language-dropdown-menu li a.active { background: var(--lf-green-light) !important; color: var(--lf-green-dark) !important; }

/* Sticky bar */
html body .sticky-menu {
  background: rgba(255,255,255,.97) !important; border-bottom: 1px solid var(--lf-line) !important;
  box-shadow: 0 8px 30px rgba(0,0,0,.08) !important; backdrop-filter: saturate(1.2) blur(6px);
}
html body .sticky-menu-inner { min-height: 72px !important; }
html body .sticky-menu nav > div > ul > li { line-height: 1 !important; }

/* ───────────────────────── Mobile header + menu ───────────────────────── */
html body .rspn-hdr { background: #FFFFFF !important; box-shadow: 0 1px 0 var(--lf-line) !important; }
html body .rspn-hdr .rspn-mdbr { background: var(--lf-black) !important; }
html body .rspn-hdr .rspn-mdbr .topbar-links > li,
html body .rspn-hdr .rspn-mdbr .topbar-links > li > a {
  color: var(--lf-soft) !important; font-family: var(--lf-head) !important; font-size: 13px !important; font-weight: 500 !important;
}
html body .rspn-hdr .rspn-mdbr .topbar-links > li > a i { color: #8A8A8A !important; }
html body .rspn-hdr .lg-mn { background: #FFFFFF !important; padding-top: 12px !important; padding-bottom: 12px !important; }
html body .rspn-hdr .lg-mn .logo img { max-height: 46px !important; width: auto !important; }
html body .rspn-hdr .rspn-mnu-btn {
  width: 48px !important; height: 48px !important; border-radius: 12px !important;
  background: #F1F1F1 !important; color: var(--lf-black) !important; display: inline-flex !important;
  align-items: center !important; justify-content: center !important; font-size: 18px !important; line-height: 1 !important;
}
html body .rspn-hdr .rspn-mnu-btn i { color: var(--lf-black) !important; }

html body .rsnp-mnu {
  background: #FFFFFF !important; box-shadow: 0 0 60px rgba(0,0,0,.25) !important;
  font-family: var(--lf-head) !important; padding: 72px 20px 28px !important;
}
html body .rsnp-mnu .rspn-mnu-cls {
  width: 48px !important; height: 48px !important; border-radius: 12px !important; background: #F1F1F1 !important;
  color: var(--lf-black) !important; display: inline-flex !important; align-items: center !important;
  justify-content: center !important; font-size: 18px !important; top: 14px !important; right: 16px !important; left: auto !important;
}
html body .rsnp-mnu .rspn-mnu-cls i { color: var(--lf-black) !important; }
html body .rsnp-mnu > ul > li { border-bottom: 1px solid #EBEBEB !important; border-top: 0 !important; }
html body .rsnp-mnu > ul > li > a {
  display: flex !important; align-items: center !important; justify-content: flex-start !important; gap: 12px !important;
  min-height: 56px !important; padding: 0 !important; color: var(--lf-black) !important; background: transparent !important;
  font-family: var(--lf-head) !important; font-size: 18px !important; font-weight: 600 !important;
  text-transform: none !important; letter-spacing: 0 !important;
}
html body .rsnp-mnu > ul > li > a .lac-nav-icon,
html body .rsnp-mnu ul ul li a .lac-nav-icon {
  width: 22px !important; text-align: center !important; color: var(--lf-green-dark) !important; font-size: 15px !important; margin: 0 !important;
}
html body .rsnp-mnu > ul > li.menu-item-has-children.active > a { color: var(--lf-red) !important; }
html body .rsnp-mnu ul ul {
  border-left: 2px solid var(--lf-line) !important; margin: 0 0 12px 10px !important; padding: 0 0 0 14px !important; background: transparent !important;
}
html body .rsnp-mnu ul ul li { border: 0 !important; }
html body .rsnp-mnu ul ul li a {
  display: flex !important; align-items: center !important; gap: 10px !important; min-height: 44px !important;
  padding: 0 !important; color: var(--lf-black) !important; background: transparent !important;
  font-family: var(--lf-head) !important; font-size: 15.5px !important; font-weight: 500 !important; text-transform: none !important;
}
html body .rsnp-mnu ul ul li a:hover { color: var(--lf-green-dark) !important; }
html body .rsnp-mnu .donate-nav-btn,
html body .rsnp-mnu .lac-mobile-join-btn {
  display: flex !important; align-items: center !important; justify-content: center !important; gap: 8px !important;
  min-height: 52px !important; border-radius: 999px !important; width: 100% !important;
  font-family: var(--lf-head) !important; font-size: 16px !important; font-weight: 600 !important; text-transform: none !important;
  box-shadow: none !important;
}
html body .rsnp-mnu .donate-nav-btn { background: var(--lf-green) !important; color: #FFFFFF !important; border: 0 !important; }
html body .rsnp-mnu .lac-mobile-join-btn { background: #FFFFFF !important; color: var(--lf-black) !important; border: 1.5px solid var(--lf-black) !important; }
html body .rsnp-mnu .donate-nav-btn::before, html body .rsnp-mnu .donate-nav-btn::after,
html body .rsnp-mnu .lac-mobile-join-btn::before, html body .rsnp-mnu .lac-mobile-join-btn::after { display: none !important; }
html body .rsnp-mnu .mobile-lang-switch,
html body .rsnp-mnu .mobile-language-switch { gap: 6px !important; }
html body .rsnp-mnu a[href*="lang=en"], html body .rsnp-mnu a[href*="lang=fr"] {
  display: inline-flex !important; align-items: center !important; justify-content: center !important;
  min-width: 56px !important; min-height: 40px !important; border-radius: 999px !important; padding: 0 12px !important;
  background: #F1F1F1 !important; color: var(--lf-black) !important; font-weight: 600 !important; font-size: 14px !important;
}
html body .rsnp-mnu a[href*="lang="].active { background: var(--lf-black) !important; color: #FFFFFF !important; }
html body .rsnp-mnu .mobile-lang-separator { display: none !important; }

/* ───────────────────────── Shared CTA band (site-cta.php) ───────────────────────── */
html body .lac-cta-section .lac-cta-wrap {
  background: var(--lf-black) !important; border-radius: 28px !important; border-top: 4px solid var(--lf-red) !important;
  box-shadow: 0 24px 50px rgba(0,0,0,.18) !important; overflow: hidden !important;
}
html body .lac-cta-section .lac-cta-map { opacity: .35 !important; }
html body .lac-cta-section h2,
html body .lac-cta-section h3 { font-family: var(--lf-head) !important; color: #FFFFFF !important; letter-spacing: -0.02em !important; }
html body .lac-cta-section p { color: var(--lf-soft) !important; }
html body .lac-cta-section a.thm-btn,
html body .lac-cta-section .lac-cta-btn,
html body .lac-cta-section a[class*="btn"] {
  background: var(--lf-green) !important; color: #FFFFFF !important; border: 0 !important; border-radius: 999px !important;
  font-family: var(--lf-head) !important; font-weight: 600 !important; box-shadow: none !important;
}
html body .lac-cta-section a.thm-btn:hover,
html body .lac-cta-section .lac-cta-btn:hover,
html body .lac-cta-section a[class*="btn"]:hover { background: var(--lf-green-dark) !important; }
html body .lac-cta-section a[class*="btn"] * { color: #FFFFFF !important; }

/* ───────────────────────── Footer ───────────────────────── */
html body footer:has(> .lac-footer-bg) { background: var(--lf-black) !important; }
html body footer .lac-footer-bg { background: var(--lf-black) !important; padding-top: 80px !important; padding-bottom: 24px !important; }
html body footer .lac-footer-bg::before, html body footer .lac-footer-bg::after { opacity: 0 !important; }
html body footer .widget h3 {
  font-family: var(--lf-head) !important; font-size: 15px !important; font-weight: 600 !important; color: #FFFFFF !important;
  text-transform: none !important; letter-spacing: 0 !important; margin-bottom: 18px !important;
}
html body footer .widget h3::before, html body footer .widget h3::after { display: none !important; }
html body footer .widget p, html body footer .widget li, html body footer .widget span { color: #B9B9B9 !important; font-size: 15px !important; line-height: 1.6 !important; }
html body footer .widget a { color: var(--lf-soft) !important; text-decoration: none !important; transition: color .15s; }
html body footer .widget a:hover { color: #FFFFFF !important; }
html body footer .widget ul li { margin-bottom: 10px !important; }
html body footer .widget ul li a i, html body footer .widget p i { color: var(--lf-green) !important; }
html body footer .widget .logo img { max-width: 170px !important; height: auto !important; }
html body footer .social-links2 a {
  width: 40px !important; height: 40px !important; border-radius: 999px !important; background: var(--lf-dark-2) !important;
  border: 1px solid var(--lf-dark-line) !important; display: inline-flex !important; align-items: center !important;
  justify-content: center !important; margin-right: 6px !important; color: #FFFFFF !important;
}
html body footer .social-links2 a:hover { background: var(--lf-green) !important; border-color: var(--lf-green) !important; }
html body footer .social-links2 a svg, html body footer .social-links2 a img { max-width: 18px !important; max-height: 18px !important; }

/* footer newsletter form */
html body footer #newsletter input[type="text"],
html body footer #newsletter input[type="email"] {
  background: var(--lf-dark-2) !important; border: 1px solid #333333 !important; border-radius: 12px !important;
  color: #FFFFFF !important; height: 48px !important; padding: 0 16px !important; font-size: 15px !important;
  box-shadow: none !important; margin-bottom: 10px !important; text-align: left !important;
}
html body footer #newsletter input::placeholder { color: #8A8A8A !important; }
html body footer #newsletter input:focus { border-color: var(--lf-green) !important; outline: none !important; box-shadow: 0 0 0 3px rgba(16,172,132,.25) !important; }
html body footer #newsletter .newsletter-lang-choice { justify-content: flex-start !important; text-align: left !important; margin: 2px 0 12px !important; }
html body footer #newsletter .newsletter-lang-choice label { color: var(--lf-soft) !important; font-weight: 500 !important; }
html body footer #newsletter .newsletter-lang-choice input { accent-color: var(--lf-green); }
html body footer #newsletter button[type="submit"] {
  background: var(--lf-green) !important; color: #FFFFFF !important; border: 0 !important; border-radius: 12px !important;
  height: 48px !important; width: 100% !important; font-family: var(--lf-head) !important; font-weight: 600 !important;
  font-size: 15px !important; box-shadow: none !important; text-transform: none !important;
}
html body footer #newsletter button[type="submit"]:hover { background: var(--lf-green-dark) !important; }
html body footer #newsletter button[type="submit"]::before, html body footer #newsletter button[type="submit"]::after { display: none !important; }

/* bottom corporate bar */
html body .lac-corp-bar { background: var(--lf-black) !important; border-top: 1px solid #262626 !important; }
html body .lac-corp-bar, html body .lac-corp-bar span, html body .lac-corp-bar strong { color: #9A9A9A !important; font-size: 13px !important; }
html body .lac-corp-bar strong { color: #CCCCCC !important; }
html body .lac-corp-bar a { color: #B9B9B9 !important; font-size: 13px !important; }
html body .lac-corp-bar a:hover { color: #FFFFFF !important; }

/* ───────────────────────── Land acknowledgement dialog ───────────────────────── */
html body .lac-land-modal-card {
  border-radius: 24px !important; border-top: 5px solid var(--lf-green) !important; box-shadow: 0 30px 70px rgba(0,0,0,.3) !important;
}
html body .lac-land-modal-card h2, html body .lac-land-modal-card h3 { font-family: var(--lf-head) !important; }
html body .lac-land-modal-card button {
  border-radius: 999px !important; background: var(--lf-green) !important; border: 0 !important; color: #FFFFFF !important;
  font-family: var(--lf-head) !important; font-weight: 600 !important; min-height: 48px !important; padding: 0 28px !important;
}

/* ───────────────────────── Two-row desktop header ─────────────────────────
   Row 1: logo · Donate · language.  Row 2: the full-width menu.
   The wrappers between the bar and its items are flattened with display:contents
   so the existing markup (and every script hook) stays exactly as it is. */
@media (min-width: 1036px) {
  html body header.stick .logo-info-bar-inner {
    display: grid !important; grid-template-columns: auto 1fr auto auto; grid-template-areas: "logo . donate lang" "nav nav nav nav";
    column-gap: 10px !important; row-gap: 0 !important; padding: 0 !important; min-height: 0 !important; align-items: center !important;
  }
  html body header.stick .top-info-wrap,
  html body header.stick .top-info-wrap > .menu-wrap,
  html body header.stick .top-info-wrap > .menu-wrap > .container,
  html body header.stick .top-info-wrap > .menu-wrap > .container > nav { display: contents !important; }
  html body header.stick .logo-social { grid-area: logo; padding: 14px 0 !important; }
  html body header.stick .donate-nav-btn { grid-area: donate; margin: 0 !important; justify-self: end; }
  html body header.stick .language-dropdown { grid-area: lang; margin: 0 !important; }
  html body header.stick .header-left {
    grid-area: nav; border-top: 1px solid #EFEFEF; padding: 6px 0 !important; display: flex !important; justify-content: flex-start;
    margin: 0 -8px !important;
  }
  html body header.stick .lac-desktop-nav { display: flex !important; flex-wrap: nowrap !important; gap: 2px; width: auto !important; }
  html body header.stick .lac-desktop-nav > li:has(> a[href="/index.php"]),
  html body .sticky-menu .lac-desktop-nav > li:has(> a[href="/index.php"]) { display: none !important; }
  html body header.stick .logo img { max-height: 54px !important; }
}
@media (min-width: 1036px) and (max-width: 1279px) {
  html body header.stick nav > div > ul > li > a,
  html body .sticky-menu nav > div > ul > li > a { font-size: 13.5px !important; padding: 0 8px !important; }
  html body header.stick nav > div > ul > li.menu-item-has-children > a,
  html body .sticky-menu nav > div > ul > li.menu-item-has-children > a { padding-right: 22px !important; }
  html body header.stick nav > div > ul > li.menu-item-has-children > a::before,
  html body .sticky-menu nav > div > ul > li.menu-item-has-children > a::before { right: 7px !important; }
}

/* Sticky bar: menu first; the logo only where it fits */
html body .sticky-menu .logo img { max-height: 40px !important; }
@media (max-width: 1439px) { html body .sticky-menu .logo { display: none !important; } }
@media (max-width: 1279px) { html body .sticky-menu .donate-nav-btn { display: none !important; } }
html body .sticky-menu-inner { justify-content: space-between !important; flex-wrap: nowrap !important; }
html body .sticky-menu nav { width: 100% !important; justify-content: space-between !important; }
html body .sticky-menu .lac-desktop-nav { flex-wrap: nowrap !important; }

/* Top-bar dividers: hairlines instead of blocks */
html body header.stick .topbar-links > li:not(:first-child)::before,
html body .rspn-hdr .topbar-links > li:not(:first-child)::before {
  width: 1px !important; height: 14px !important; top: 50% !important; transform: translateY(-50%) !important;
  background: #3A3A3A !important; content: "" !important;
}
/* 992–1199px already uses the phone menu (rule in site-header-1.php); hide the
   desktop top bar there too so two top bars are never stacked. */
@media (max-width: 1199.98px) {
  html body header.stick { display: none !important; }
}
html body .rspn-hdr .lg-mn .logo img { max-width: 210px !important; max-height: 48px !important; }

/* Mobile panel: beat the include's own (dark-panel) rules, which use 2-class selectors */
html body .rsnp-mnu.rsnp-mnu, html.lac-chromium-ui body .rsnp-mnu.rsnp-mnu {
  width: 360px !important; max-width: 90vw !important; padding: 76px 18px 28px !important;
}
html body .rsnp-mnu.rsnp-mnu > ul > li, html.lac-chromium-ui body .rsnp-mnu.rsnp-mnu > ul > li {
  margin: 0 !important; border-radius: 0 !important; overflow: visible !important; background: transparent !important;
}
html body .rsnp-mnu.rsnp-mnu > ul > li > a, html.lac-chromium-ui body .rsnp-mnu.rsnp-mnu > ul > li > a {
  min-height: 56px !important; padding: 8px 36px 8px 0 !important; font-size: 17px !important; gap: 12px !important;
  color: var(--lf-black) !important; background: transparent !important;
}
html body .rsnp-mnu.rsnp-mnu > ul > li > a .lac-nav-icon, html.lac-chromium-ui body .rsnp-mnu.rsnp-mnu > ul > li > a .lac-nav-icon {
  flex: 0 0 38px !important; width: 38px !important; height: 38px !important; min-width: 38px !important;
  border-radius: 12px !important; background: var(--lf-green-light) !important; color: var(--lf-green-dark) !important; font-size: 15px !important;
}
html body .rsnp-mnu.rsnp-mnu li.menu-item-has-children.active > a { color: var(--lf-red) !important; }
html body .rsnp-mnu.rsnp-mnu li.menu-item-has-children > a::before { color: #9A9A9A !important; right: 4px !important; }
html body .rsnp-mnu.rsnp-mnu li.menu-item-has-children > ul, html.lac-chromium-ui body .rsnp-mnu.rsnp-mnu li.menu-item-has-children > ul {
  margin: 0 0 12px 18px !important; padding: 2px 0 2px 14px !important; border-left: 2px solid var(--lf-line) !important;
  border-radius: 0 !important; background: transparent !important;
}
html body .rsnp-mnu.rsnp-mnu li.menu-item-has-children > ul > li + li { border-top: 0 !important; }
html body .rsnp-mnu.rsnp-mnu li.menu-item-has-children > ul > li > a, html.lac-chromium-ui body .rsnp-mnu.rsnp-mnu li.menu-item-has-children > ul > li > a {
  min-height: 44px !important; padding: 6px 28px 6px 6px !important; gap: 10px !important; border-radius: 10px !important;
  color: var(--lf-black) !important; background: transparent !important; font-size: 15.5px !important; font-weight: 500 !important;
}
html body .rsnp-mnu.rsnp-mnu li.menu-item-has-children > ul > li > a:hover,
html body .rsnp-mnu.rsnp-mnu li.menu-item-has-children > ul > li > a:focus { background: var(--lf-green-light) !important; color: var(--lf-green-dark) !important; }
html body .rsnp-mnu.rsnp-mnu li.menu-item-has-children > ul > li > a .lac-nav-icon, html.lac-chromium-ui body .rsnp-mnu.rsnp-mnu li.menu-item-has-children > ul > li > a .lac-nav-icon {
  width: 28px !important; height: 28px !important; min-width: 28px !important; border-radius: 8px !important;
  background: #F1F1F1 !important; color: var(--lf-green-dark) !important; font-size: 12px !important;
}
html body .rsnp-mnu.rsnp-mnu .lac-migration-assistant-link > a { background: var(--lf-green-light) !important; color: var(--lf-green-dark) !important; font-weight: 600 !important; }
html body .rsnp-mnu.rsnp-mnu .lac-migration-assistant-link > a .lac-nav-icon { background: var(--lf-green) !important; color: #FFFFFF !important; }
html body .rsnp-mnu.rsnp-mnu .donate-nav-btn, html body .rsnp-mnu.rsnp-mnu .lac-mobile-join-btn,
html.lac-chromium-ui body .rsnp-mnu.rsnp-mnu .donate-nav-btn, html.lac-chromium-ui body .rsnp-mnu.rsnp-mnu .lac-mobile-join-btn {
  min-height: 50px !important; font-size: 15px !important; padding: 0 16px !important;
}
html body .rsnp-mnu.rsnp-mnu .mobile-language-switcher { border-top: 1px solid var(--lf-line) !important; gap: 8px !important; margin-top: 14px !important; padding-top: 14px !important; }
html body .rsnp-mnu.rsnp-mnu .mobile-language-switcher a { color: var(--lf-black) !important; }
html body .rsnp-mnu.rsnp-mnu .mobile-language-switcher a.active { color: #FFFFFF !important; }
html body header.stick nav > div ul ul li a .lac-nav-icon.lac-nav-icon,
html body .sticky-menu nav > div ul ul li a .lac-nav-icon.lac-nav-icon {
  background: transparent !important; border-radius: 0 !important; box-shadow: none !important; height: auto !important; min-width: 0 !important;
}

/* ───────────────────────── Cookie banner + preferences ───────────────────────── */
html body #lac-cookie-banner { border-radius: 20px !important; box-shadow: 0 24px 60px rgba(0,0,0,.35) !important; }
html body #lac-cookie-banner button,
html body #lac-cookie-panel button { border-radius: 999px !important; font-family: var(--lf-head) !important; min-height: 40px !important; }
html body #lac-cookie-banner button[onclick^="lacCookieAcceptAll"],
html body #lac-cookie-panel button[onclick^="lacCookieSaveCustom"] { background: var(--lf-green) !important; color: #FFFFFF !important; }
html body #lac-cookie-banner button[onclick^="lacCookieAcceptAll"]:hover,
html body #lac-cookie-panel button[onclick^="lacCookieSaveCustom"]:hover { background: var(--lf-green-dark) !important; }
html body #lac-cookie-banner a { color: #6FE0BD !important; }

/* ═════════════════════ Stage 3 — page heroes (all hero variants) ═════════════════════ */
html body .lac-banner, html body .hist-banner, html body .lfc-banner, html body .gr-banner, html body .es-banner,
html body .svc-banner, html body .sv-hero, html body .so-hero, html body .sp-hero,
html body .dd-banner, html body .comm-banner, html body .bd-hero {
  background: var(--lf-black) !important; padding: 72px 0 76px !important; border: 0 !important;
}
html body .lac-banner::before, html body .hist-banner::before, html body .lfc-banner::before, html body .gr-banner::before,
html body .es-banner::before, html body .svc-banner::before, html body .sv-hero::before, html body .so-hero::before,
html body .sp-hero::before, html body .dd-banner::before, html body .comm-banner::before, html body .bd-hero::before, html body .lac-banner::after, html body .hist-banner::after, html body .lfc-banner::after,
html body .gr-banner::after, html body .es-banner::after, html body .svc-banner::after, html body .sv-hero::after,
html body .so-hero::after, html body .sp-hero::after { opacity: 0 !important; background: none !important; }

html body :is(.lac-banner, .hist-banner, .lfc-banner, .gr-banner, .es-banner, .svc-banner, .sv-hero, .so-hero, .sp-hero, .dd-banner, .comm-banner, .bd-hero) h1 {
  font-family: var(--lf-head) !important; font-weight: 700 !important; font-size: 46px !important; line-height: 1.1 !important;
  letter-spacing: -0.02em !important; color: #FFFFFF !important; margin: 6px 0 14px !important; max-width: 900px;
}
html body :is(.lac-banner, .hist-banner, .lfc-banner, .gr-banner, .es-banner, .svc-banner, .sv-hero, .so-hero, .sp-hero, .dd-banner, .comm-banner, .bd-hero) h1 i {
  color: var(--lf-green) !important; font-size: .62em !important; vertical-align: .18em; margin-right: .3em !important;
}
html body :is(.lac-banner, .hist-banner, .lfc-banner, .gr-banner, .es-banner, .svc-banner, .sv-hero, .so-hero, .sp-hero, .dd-banner, .comm-banner, .bd-hero) h1 span { color: var(--lf-green) !important; }
html body :is(.lac-banner, .hist-banner, .lfc-banner, .gr-banner, .es-banner, .svc-banner, .sv-hero, .so-hero, .sp-hero, .dd-banner, .comm-banner, .bd-hero) p,
html body :is(.lac-banner, .hist-banner, .lfc-banner, .gr-banner, .es-banner, .svc-banner, .sv-hero, .so-hero, .sp-hero, .dd-banner, .comm-banner, .bd-hero) .sp-rich-text {
  color: var(--lf-soft) !important; font-size: 18px !important; line-height: 1.6 !important; max-width: 720px;
}
/* badges → eyebrow line */
html body :is(.lac-banner, .hist-banner, .lfc-banner, .gr-banner, .es-banner, .svc-banner, .sv-hero, .so-hero, .sp-hero, .dd-banner, .comm-banner, .bd-hero)
  :is(.lac-badge, .home-badge, .svc-badge, .es-badge, .sp-badge, .so-kicker, .sv-kicker, .lfc-initiative-badge, .gr-initiative-badge) {
  display: inline-flex !important; align-items: center !important; gap: 10px !important; background: transparent !important;
  border: 0 !important; padding: 0 !important; border-radius: 0 !important; box-shadow: none !important; margin: 0 0 14px !important;
  color: var(--lf-green) !important; font-family: var(--lf-head) !important; font-size: 13px !important; font-weight: 600 !important;
  letter-spacing: .08em !important; text-transform: uppercase !important;
}
html body :is(.lac-banner, .hist-banner, .lfc-banner, .gr-banner, .es-banner, .svc-banner, .sv-hero, .so-hero, .sp-hero, .dd-banner, .comm-banner, .bd-hero)
  :is(.lac-badge, .home-badge, .svc-badge, .es-badge, .sp-badge, .so-kicker, .sv-kicker, .lfc-initiative-badge, .gr-initiative-badge)::before {
  content: "" !important; display: inline-block !important; width: 28px; height: 2px; background: var(--lf-red); position: static !important;
}
html body :is(.lac-banner, .hist-banner, .lfc-banner, .gr-banner, .es-banner, .svc-banner, .sv-hero, .so-hero, .sp-hero, .dd-banner, .comm-banner, .bd-hero)
  :is(.lac-badge, .home-badge, .svc-badge, .es-badge, .sp-badge, .so-kicker, .sv-kicker, .lfc-initiative-badge, .gr-initiative-badge) i { display: none !important; }
/* breadcrumb */
html body :is(.lac-banner, .hist-banner, .lfc-banner, .gr-banner, .es-banner, .svc-banner) :is(.lac-breadcrumb, .svc-breadcrumb, .es-breadcrumb) {
  font-size: 13px !important; margin: 0 0 18px !important; gap: 8px !important;
}
html body :is(.lac-banner, .hist-banner, .lfc-banner, .gr-banner, .es-banner, .svc-banner) :is(.lac-breadcrumb, .svc-breadcrumb, .es-breadcrumb) a { color: #9A9A9A !important; }
html body :is(.lac-banner, .hist-banner, .lfc-banner, .gr-banner, .es-banner, .svc-banner) :is(.lac-breadcrumb, .svc-breadcrumb, .es-breadcrumb) a:hover { color: #FFFFFF !important; }
html body :is(.lac-banner, .hist-banner, .lfc-banner, .gr-banner, .es-banner, .svc-banner) :is(.lac-breadcrumb, .svc-breadcrumb, .es-breadcrumb) :is(.current, span:last-child) { color: #FFFFFF !important; }
html body :is(.lac-banner, .hist-banner, .lfc-banner, .gr-banner, .es-banner, .svc-banner) :is(.lac-breadcrumb, .svc-breadcrumb, .es-breadcrumb) .sep { color: #4A4A4A !important; }
@media (max-width: 767px) {
  html body :is(.lac-banner, .hist-banner, .lfc-banner, .gr-banner, .es-banner, .svc-banner, .sv-hero, .so-hero, .sp-hero, .dd-banner, .comm-banner, .bd-hero) { padding: 48px 0 52px !important; }
  html body :is(.lac-banner, .hist-banner, .lfc-banner, .gr-banner, .es-banner, .svc-banner, .sv-hero, .so-hero, .sp-hero, .dd-banner, .comm-banner, .bd-hero) h1 { font-size: 32px !important; }
  html body :is(.lac-banner, .hist-banner, .lfc-banner, .gr-banner, .es-banner, .svc-banner, .sv-hero, .so-hero, .sp-hero, .dd-banner, .comm-banner, .bd-hero) p { font-size: 16px !important; }
}

/* hero buttons (all pages) */
html body :is(.lac-banner, .hist-banner, .lfc-banner, .gr-banner, .es-banner, .svc-banner, .sv-hero, .so-hero, .sp-hero, .dd-banner, .comm-banner, .bd-hero) a:is(.lac-btn, .lfc-btn-primary, .lfc-btn-outline, .gr-btn-primary, .gr-btn-outline, .so-btn, .sp-btn, .lac-btn-green),
html body .lac-banner > .container > a[href]:not(.lac-breadcrumb a) {
  display: inline-flex !important; align-items: center !important; gap: 10px !important; min-height: 50px !important;
  padding: 0 24px !important; border-radius: 999px !important; font-family: var(--lf-head) !important;
  font-weight: 600 !important; font-size: 15px !important; text-decoration: none !important; box-shadow: none !important;
  background: var(--lf-green) !important; color: #FFFFFF !important; border: 1.5px solid transparent !important;
}
html body :is(.lac-banner, .hist-banner, .lfc-banner, .gr-banner, .es-banner, .svc-banner, .sv-hero, .so-hero, .sp-hero, .dd-banner, .comm-banner, .bd-hero) a:is(.lac-btn-outline, .lfc-btn-outline, .gr-btn-outline, .so-btn-outline, .sp-outline) {
  background: transparent !important; border-color: #4A4A4A !important; color: #FFFFFF !important;
}
html body :is(.lac-banner, .hist-banner, .lfc-banner, .gr-banner, .es-banner, .svc-banner, .sv-hero, .so-hero, .sp-hero, .dd-banner, .comm-banner, .bd-hero) a:is(.lac-btn-outline, .lfc-btn-outline, .gr-btn-outline, .so-btn-outline, .sp-outline):hover { border-color: #FFFFFF !important; }
html body :is(.lac-banner, .hist-banner, .lfc-banner, .gr-banner, .es-banner, .svc-banner, .sv-hero, .so-hero, .sp-hero, .dd-banner, .comm-banner, .bd-hero) a:is(.lac-btn-primary, .lfc-btn-primary, .gr-btn-primary, .so-btn-primary, .sp-primary, .lac-btn-green):hover { background: var(--lf-green-dark) !important; }

/* shared card header: flat black instead of the dark-red gradient (all pages) */
html body .lac-card-head { background: var(--lf-black) !important; }
html body .lac-card-head h2 { font-family: var(--lf-head) !important; }
html body :is(.lac-banner, .hist-banner, .lfc-banner, .gr-banner, .es-banner, .svc-banner) :is(.lac-breadcrumb, .svc-breadcrumb, .es-breadcrumb) {
  padding: 0 !important; width: auto !important; background: none !important; box-shadow: none !important; justify-content: flex-start !important;
}
/* Hero with a lone link button (e.g. About → Our History): tagline first, then the button */
html body .lac-banner > .container:has(> a[href]) { display: flex !important; flex-direction: column !important; align-items: flex-start !important; }
html body .lac-banner > .container:has(> a[href]) > p { order: 4; margin-bottom: 22px !important; }
html body .lac-banner > .container:has(> a[href]) > a[href] { order: 5; }

/* ── Dropdown hover: invisible bridge over the gap + short grace delay before closing ── */
html body header.stick nav > div > ul > li > ul::after,
html body .sticky-menu nav > div > ul > li > ul::after {
  content: "" !important; position: absolute !important; left: -8px; right: -8px; top: -16px; height: 16px; background: transparent !important;
}
html body header.stick nav > div ul ul ul::after,
html body .sticky-menu nav > div ul ul ul::after {
  content: "" !important; position: absolute !important; top: -8px; bottom: -8px; left: -16px; width: 16px; background: transparent !important;
}
html body header.stick nav > div ul li.menu-item-has-children > ul,
html body header.stick nav > div ul li.menu-item-has-children > ul > li,
html body .sticky-menu nav > div ul li.menu-item-has-children > ul,
html body .sticky-menu nav > div ul li.menu-item-has-children > ul > li {
  transition: opacity .15s ease .25s, visibility 0s linear .4s, margin-top .15s ease .25s !important;
}
html body header.stick nav > div ul li.menu-item-has-children:hover > ul,
html body header.stick nav > div ul li.menu-item-has-children:hover > ul > li,
html body .sticky-menu nav > div ul li.menu-item-has-children:hover > ul,
html body .sticky-menu nav > div ul li.menu-item-has-children:hover > ul > li {
  transition: opacity .15s ease 0s, visibility 0s linear 0s, margin-top .15s ease 0s !important;
}
/* member menu (top bar): restore the hover bridge */
html body .member-dropdown-menu::before {
  content: ""; position: absolute; left: 0; right: 0; top: -12px; height: 12px;
}

/* ═════════════════════ Stage 4 — Open Source Library ═════════════════════ */
html body .library-banner, html body .ld-banner { background: var(--lf-black) !important; padding: 72px 0 76px !important; }
html body .library-banner::before, html body .ld-banner::before { opacity: 0 !important; background: none !important; }
html body .library-banner h1 { font-family: var(--lf-head) !important; font-weight: 700 !important; font-size: 46px !important; letter-spacing: -0.02em; line-height: 1.1 !important; }
html body .library-banner h1 i { color: var(--lf-green) !important; font-size: .62em !important; vertical-align: .18em; }
html body .library-banner p { color: var(--lf-soft) !important; font-size: 18px !important; line-height: 1.6 !important; }
html body .library-banner .badge-canadian {
  background: transparent !important; padding: 0 !important; border-radius: 0 !important; color: var(--lf-green) !important;
  font-family: var(--lf-head) !important; font-size: 13px !important; font-weight: 600 !important; letter-spacing: .08em; text-transform: uppercase;
  display: inline-flex !important; align-items: center; gap: 10px; margin-bottom: 14px !important;
}
html body .library-banner .badge-canadian i { display: none; }
html body .library-banner .badge-canadian::before { content: ""; width: 28px; height: 2px; background: var(--lf-red); display: inline-block; }
/* hero search bar — same look as the homepage library search */
html body .lib-search-wrap {
  max-width: 640px !important; border: 0 !important; border-radius: 16px !important; background: #FFFFFF !important;
  box-shadow: 0 18px 45px rgba(0,0,0,.25) !important; padding: 6px !important; overflow: visible !important; gap: 6px;
}
html body .lib-search-wrap input { height: 52px; padding: 0 16px !important; font-size: 16px !important; color: var(--lf-black) !important; border-radius: 12px; }
html body .lib-search-wrap button {
  height: 52px; min-width: 56px; border-radius: 12px !important; background: var(--lf-green) !important; color: #FFFFFF !important; padding: 0 20px !important;
}
html body .lib-search-wrap button:hover { background: var(--lf-green-dark) !important; }

/* sidebar filters */
html body .lib-filter-card { border-radius: 20px !important; box-shadow: 0 10px 30px rgba(0,0,0,.06) !important; border: 1px solid #EFEFEF !important; }
html body .lib-filter-card .card-head { background: #FFFFFF !important; color: var(--lf-black) !important; font-family: var(--lf-head) !important; font-weight: 600 !important; font-size: 15px !important; letter-spacing: 0 !important; padding: 18px 20px 6px !important; }
html body .lib-filter-card .card-head i { color: var(--lf-green-dark) !important; }
html body .lib-filter-link { border-radius: 10px !important; font-size: 14.5px !important; color: var(--lf-black) !important; }
html body .lib-filter-link:hover, html body .lib-filter-link.active { background: var(--lf-green-light) !important; color: var(--lf-green-dark) !important; }
/* sort bar + pagination */
html body .lib-sort-bar { border-radius: 16px !important; box-shadow: 0 10px 30px rgba(0,0,0,.06) !important; border: 1px solid #EFEFEF !important; }
html body .lib-sort-bar .sort-links a { border-radius: 999px !important; }
html body .lib-sort-bar .sort-links a.active, html body .lib-page-btn.active { background: var(--lf-black) !important; border-color: var(--lf-black) !important; color: #FFFFFF !important; }
html body .lib-page-btn { border-radius: 999px !important; min-width: 40px; min-height: 40px; }
/* cards */
html body .lib-card { border-radius: 20px !important; border: 1px solid #EFEFEF !important; border-top: 1px solid #EFEFEF !important; box-shadow: 0 10px 30px rgba(0,0,0,.06) !important; transition: transform .2s, box-shadow .2s; }
html body .lib-card:hover { transform: translateY(-2px); box-shadow: 0 18px 40px rgba(0,0,0,.10) !important; }
html body .lib-card-title { font-family: var(--lf-head) !important; font-weight: 600 !important; }
html body .lib-card-logo-placeholder, html body .ld-hero-logo-ph { background: var(--lf-green-light) !important; color: var(--lf-green-dark) !important; font-family: var(--lf-head) !important; }
html body .lib-card-badge.badge-featured, html body .ld-badge.featured { background: var(--lf-black) !important; color: #FFFFFF !important; }
html body .lib-card-badge.badge-featured i, html body .ld-badge.featured i { color: #FFD15C !important; }
html body .lib-tag, html body .ld-tag { border-radius: 999px !important; background: #F1F1F1 !important; color: var(--lf-black) !important; }
html body .lib-tag:hover, html body .ld-tag:hover { background: var(--lf-green-light) !important; color: var(--lf-green-dark) !important; }
html body .lib-link-btn, html body .ld-link-btn {
  border-radius: 999px !important; background: #FFFFFF !important; color: var(--lf-black) !important; border: 1.5px solid #D9D9D9 !important;
  font-family: var(--lf-head) !important; font-weight: 600 !important;
}
html body .lib-link-btn:hover, html body .ld-link-btn:hover { border-color: var(--lf-black) !important; }
html body .lib-link-btn[href*="/open-source/"], html body .ld-link-btn.website, html body .ld-link-btn.download, html body .lib-link-btn.btn-download {
  background: var(--lf-green) !important; border-color: var(--lf-green) !important; color: #FFFFFF !important;
}
html body .lib-link-btn[href*="/open-source/"]:hover, html body .ld-link-btn.website:hover, html body .ld-link-btn.download:hover, html body .lib-link-btn.btn-download:hover { background: var(--lf-green-dark) !important; }
html body .lib-link-btn *, html body .ld-link-btn * { color: inherit !important; }

/* "Linux alternatives to …" box */
html body .lib-alt-box {
  background: #FFFFFF; border: 1px solid #EFEFEF; border-top: 5px solid var(--lf-green); border-radius: 24px;
  box-shadow: 0 18px 45px rgba(0,0,0,.08); padding: 28px; margin: 0 0 22px;
}
html body .lib-alt-eyebrow { margin: 0 0 6px !important; color: var(--lf-red) !important; font-family: var(--lf-head); font-size: 12.5px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; }
html body .lib-alt-title { font-family: var(--lf-head) !important; font-size: 28px !important; font-weight: 700 !important; letter-spacing: -0.02em; margin: 0 0 18px !important; color: var(--lf-black) !important; }
html body .lib-alt-title span { color: var(--lf-green-dark); }
html body .lib-alt-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 12px; }
html body .lib-alt-card {
  display: flex; gap: 14px; align-items: flex-start; padding: 14px; border-radius: 16px; background: #F7F7F7;
  color: var(--lf-black) !important; text-decoration: none !important; transition: background .15s, transform .15s;
}
html body .lib-alt-card:hover { background: var(--lf-green-light); transform: translateY(-2px); }
html body .lib-alt-card img, html body .lib-alt-letter { flex: none; width: 46px; height: 46px; border-radius: 12px; object-fit: contain; background: #FFFFFF; }
html body .lib-alt-letter { display: inline-flex; align-items: center; justify-content: center; font-family: var(--lf-head); font-weight: 700; color: var(--lf-green-dark); }
html body .lib-alt-body { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
html body .lib-alt-body strong { font-family: var(--lf-head); font-size: 16px; }
html body .lib-alt-body em { font-style: normal; font-size: 12.5px; color: var(--lf-green-dark); font-weight: 600; }
html body .lib-alt-body span { font-size: 13.5px; color: var(--lf-muted); line-height: 1.45; }
/* no results */
html body .lib-empty { background: #FFFFFF; border-radius: 24px; box-shadow: 0 10px 30px rgba(0,0,0,.06); padding: 44px 28px !important; }
html body .lib-empty .lib-dym { font-size: 17px; margin: 6px 0 12px; }
html body .lib-empty .lib-dym a { color: var(--lf-green-dark); font-weight: 700; }
html body .lib-empty-cats { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin: 18px 0; }
html body .lib-empty-cats a { padding: 8px 14px; border-radius: 999px; background: #F1F1F1; color: var(--lf-black) !important; font-size: 14px; font-weight: 500; text-decoration: none !important; }
html body .lib-empty-cats a:hover { background: var(--lf-green-light); color: var(--lf-green-dark) !important; }
html body .lib-empty-suggest a { color: var(--lf-red) !important; font-weight: 600; }

/* project page */
html body .ld-main, html body .ld-sidebar > * { border-radius: 20px !important; box-shadow: 0 10px 30px rgba(0,0,0,.06) !important; border: 1px solid #EFEFEF; }
html body .ld-hero h1, html body .ld-banner h1 { font-family: var(--lf-head) !important; font-weight: 700 !important; letter-spacing: -0.02em; }
html body .ld-related-card { border-radius: 16px !important; box-shadow: 0 10px 30px rgba(0,0,0,.06) !important; transition: transform .2s; }
html body .ld-related-card:hover { transform: translateY(-2px); }
html body .ld-alt { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 16px; }
html body .ld-alt-label { font-size: 13px; font-weight: 600; color: var(--lf-muted); margin-right: 4px; }
html body .ld-alt-chip { padding: 6px 12px; border-radius: 999px; background: var(--lf-green-light); color: var(--lf-green-dark) !important; font-weight: 600; font-size: 13.5px; text-decoration: none !important; }
html body .ld-alt-chip:hover { background: var(--lf-green); color: #FFFFFF !important; }
html body .ld-like-btn { border-radius: 999px !important; }

/* ───── Instant suggestions dropdown (homepage + library) ───── */
.lac-suggest {
  position: absolute; left: 0; right: 0; top: calc(100% + 8px); z-index: 50; background: #FFFFFF; border: 1px solid #EFEFEF;
  border-radius: 16px; box-shadow: 0 24px 50px rgba(0,0,0,.16); padding: 6px; max-height: 420px; overflow-y: auto; text-align: left;
  font-family: Poppins, Arial, Helvetica, sans-serif;
}
.lac-suggest[hidden] { display: none !important; }
.lac-suggest-opt {
  display: flex; flex-direction: column; gap: 2px; padding: 10px 12px; border-radius: 10px; color: #111111 !important; text-decoration: none !important;
}
.lac-suggest-opt.is-active, .lac-suggest-opt:hover { background: #E7F6F0; }
.lac-suggest-name { font-weight: 600; font-size: 15px; display: inline-flex; align-items: center; gap: 8px; }
.lac-suggest-badge { font-size: 11px; font-weight: 700; color: #087D60; background: #E7F6F0; border-radius: 999px; padding: 1px 8px; }
.lac-suggest-opt.is-active .lac-suggest-badge, .lac-suggest-opt:hover .lac-suggest-badge { background: #FFFFFF; }
.lac-suggest-meta { font-size: 12.5px; color: #5C5C5C; font-weight: 400; }
.lac-suggest-alt { background: #F7F7F7; margin-bottom: 4px; border-left: 3px solid #10AC84; }
.lac-suggest-alt-title { font-size: 14px; font-weight: 500; }
.lac-suggest-alt-title strong { color: #087D60; }
.lac-suggest-all { border-top: 1px solid #EFEFEF; border-radius: 0 0 10px 10px; margin-top: 4px; font-size: 14px; font-weight: 600; color: #D60000 !important; }
.lac-suggest-empty { padding: 12px; font-size: 14px; color: #5C5C5C; }
.lac-suggest-live { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
@media (max-width: 760px) {
  html body .library-banner h1 { font-size: 32px !important; }
  html body .lib-alt-box { padding: 20px; }
  html body .lib-alt-title { font-size: 22px !important; }
}
/* let the suggestions list hang over the content below the library hero */
html body .library-banner { overflow: visible !important; position: relative !important; z-index: 20 !important; }
html body .library-banner .lib-search-wrap { position: relative; }

/* Stage 4: distro detail — theme makes <main>/<section> flex rows, so give blocks full width */
html body .dd-banner, html body .dd-wrap { flex: 0 0 100% !important; width: 100% !important; }
html body .dd-wrap { max-width: 980px !important; margin-left: auto !important; margin-right: auto !important; }
html body section.dd-card { display: block !important; border-radius: 20px !important; box-shadow: 0 10px 30px rgba(0,0,0,.06) !important; border: 1px solid #EFEFEF; }
html body .dd-btn { border-radius: 999px !important; padding: 10px 20px !important; }
html body .dd-primary { background: var(--lf-green, #10AC84) !important; }
html body .dd-item { border-radius: 12px !important; }
/* business directory: hero is a rounded card inside the wrap */
html body .bd-hero { width: 100% !important; border-radius: 20px !important; }
html body .bd-wrap { flex: 0 0 100% !important; width: 100% !important; max-width: 1140px !important; margin-left: auto !important; margin-right: auto !important; }
html body .bd-hero { padding: 44px 40px !important; min-height: 0 !important; }
html body .bd-card { border-radius: 20px !important; box-shadow: 0 10px 30px rgba(0,0,0,.06) !important; border: 1px solid #EFEFEF !important; }
html body .bd-link { display: inline-block; background: #10AC84 !important; color: #fff !important; border-radius: 999px !important; padding: 8px 18px !important; font-weight: 600; text-decoration: none !important; }

/* Stage 4: listing and detail cards — Version C soft cards and pill buttons */
html body :is(.post-box, .event-card, .event-detail-box, .d-card, .d-rank-card, .job-card, .jobs-sidebar-card, .jd-sidebar-card, .comm-card, .comm-filter-card, .lac-card, .province-card, .step-card, .book-card, .forum-cat-card, .forum-sidebar-card, .thread-card, .post-card, .no-events-box, .lac-share-box) {
  border-radius: 20px !important; box-shadow: 0 10px 30px rgba(0,0,0,.06) !important; border: 1px solid #EFEFEF !important; overflow: hidden;
}
html body :is(.post-box, .event-card, .d-card, .job-card, .comm-card, .book-card, .forum-cat-card, .thread-card, .province-card) { transition: transform .2s ease, box-shadow .2s ease !important; }
html body :is(.post-box, .event-card, .d-card, .job-card, .comm-card, .book-card, .forum-cat-card, .thread-card, .province-card):hover { transform: translateY(-3px); box-shadow: 0 16px 38px rgba(0,0,0,.10) !important; }
html body :is(.event-btn, .d-btn, .d-view-btn, .apply-btn, .job-search-btn, .lac-btn, .comm-link-btn, .btn-meetup, .btn-website, .book-btn, .btn-new-thread, .btn-new, .btn-submit, .getin-touch-btn, .d-page-btn) { border-radius: 999px !important; font-family: 'Poppins', sans-serif; }
html body :is(.d-btn-teal, .lac-btn-primary, .apply-btn, .job-search-btn, .btn-new-thread, .btn-new, .btn-submit) { background: #10AC84 !important; border-color: #10AC84 !important; color: #fff !important; }
html body :is(.d-btn-teal, .lac-btn-primary, .apply-btn, .job-search-btn, .btn-new-thread, .btn-new, .btn-submit):hover { background: #0E9673 !important; border-color: #0E9673 !important; }
html body :is(.lac-card-head, .comm-card-header .card-head, .forum-sidebar-card .card-head) { border-radius: 0 !important; }
html body .event-meta-item, html body .d-meta-item { border-radius: 12px !important; }
/* Theme buttons: brand green pills (red stays for logo accents only) */
html body .thm-btn.thm-bg:not(.lacx *) { background: #10AC84 !important; border-color: #10AC84 !important; color: #fff !important; border-radius: 999px !important; }
html body .thm-btn.thm-bg:not(.lacx *):hover { background: #0E9673 !important; }
html body .thm-btn.thm-bg:not(.lacx *)::before, html body .thm-btn.thm-bg:not(.lacx *)::after { background: #0E9673 !important; }
/* Older theme CTA (blog detail, account settings): match the black CTA band */
html body .getin-touch-wrap { background: #111111 !important; border-radius: 24px !important; box-shadow: 0 14px 40px rgba(0,0,0,.18) !important; border-top: 3px solid #D60000 !important; }
html body .getin-touch-wrap::before, html body .getin-touch-wrap .fixed-bg { display: none !important; }
html body .getin-touch-wrap h2 { color: #fff !important; font-family: 'Poppins', sans-serif !important; font-weight: 700 !important; }
html body .getin-touch-btn a.thm-btn { background: #10AC84 !important; box-shadow: none !important; border-radius: 999px !important; color: #fff !important; }
html body .getin-touch-btn a.thm-btn:hover { background: #0E9673 !important; }
html body header.bd-hero { display: block !important; position: static !important; }
@media (max-width: 767px) { html body .bd-hero { padding: 30px 22px !important; } }
/* Phone top strip: keep each link on one line (French labels are longer) */
html body .rspn-mdbr .rspn-scil .topbar-links { flex-wrap: nowrap !important; justify-content: flex-end !important; width: 100%; }
html body .rspn-mdbr .rspn-scil .topbar-links > li { padding: 0 9px !important; white-space: nowrap !important; }
html body .rspn-mdbr .rspn-scil .topbar-links > li > a { white-space: nowrap !important; font-size: 12px !important; display: inline-flex !important; align-items: center; gap: 5px; }

/* "fa-maple-leaf" is a Font Awesome Pro icon; show the free Canadian maple leaf wherever it is still used (e.g. saved settings) */
html body .fa-maple-leaf::before { content: "\f785" !important; font-family: "Font Awesome 5 Brands" !important; font-weight: 400 !important; }

/* ===================== Stage 6a: About menu pages (about, team, history) ===================== */
/* About — intro */
html body .about-wrap.style2 .about-image img { border-radius: 20px !important; box-shadow: 0 14px 40px rgba(0,0,0,.10) !important; aspect-ratio: 16/9; object-fit: cover; }
html body .about-wrap.style2 .about-desc h2 { font-family: 'Poppins', sans-serif !important; font-weight: 700 !important; color: #111 !important; font-size: clamp(1.6rem, 2.6vw, 2.2rem) !important; line-height: 1.2 !important; margin: 6px 0 18px !important; }
html body .about-wrap.style2 .about-desc h2 span { color: #D60000 !important; }
html body .about-wrap.style2 .about-desc p { color: #444 !important; font-size: 1rem !important; line-height: 1.8 !important; }
html body .about-wrap.style2 .about-desc br { display: none; }
html body .about-wrap.style2 .about-desc p + p { margin-top: 14px !important; }
html body .lac-org-card { border-radius: 20px !important; box-shadow: 0 14px 40px rgba(0,0,0,.08) !important; border: 1px solid #EFEFEF !important; overflow: hidden; position: sticky; top: 110px; }
html body .lac-org-card-header { background: #111 !important; border-radius: 0 !important; }
html body .lac-org-card-header i { color: #10AC84 !important; }
html body .lac-org-contact-icon { background: #E7F7F2 !important; color: #10AC84 !important; border-radius: 12px !important; }

/* About — land acknowledgement: calm light card instead of a dark photo band */
html body .lac-land-acknowledgement-band > div { background: #F6F7F8 !important; }
html body .lac-land-acknowledgement-band .fixed-bg { display: none !important; }
html body .lac-land-acknowledgement-band > div::before, html body .lac-land-acknowledgement-band > div::after { display: none !important; }
html body .lac-land-acknowledgement-band .banner-inner { background: #fff; border-radius: 24px; box-shadow: 0 14px 40px rgba(0,0,0,.07); padding: 48px 56px; text-align: left; position: relative; border-top: 4px solid #D60000; }
html body .lac-land-acknowledgement-band .banner-inner::before { content: "\f785"; font-family: "Font Awesome 5 Brands"; font-weight: 400; display: inline-flex; align-items: center; justify-content: center; width: 52px; height: 52px; border-radius: 16px; background: #FDECEC; color: #D60000; font-size: 1.5rem; margin-bottom: 18px; }
html body .lac-land-acknowledgement-band .banner-inner h2 { color: #111 !important; font-family: 'Poppins', sans-serif !important; font-weight: 700 !important; font-size: 1.8rem !important; }
html body .lac-land-acknowledgement-band .banner-inner p { color: #444 !important; }

/* About — vision & mission as two soft cards */
html body .lac-vm-section { margin-bottom: 0 !important; }
html body .lac-vm-section > div { background: #fff !important; padding-top: 70px !important; padding-bottom: 90px !important; }
html body .lac-vm-section .fixed-bg { display: none !important; }
html body .lac-vm-section > div::before, html body .lac-vm-section > div::after { display: none !important; }
html body .lac-vm-section .row { row-gap: 24px; }
html body .lac-vm-section .row > div { display: flex; }
html body .lac-vm-section .banner-inner { display: block !important; width: 100%; background: #fff; border: 1px solid #EFEFEF; border-radius: 20px; box-shadow: 0 10px 30px rgba(0,0,0,.06); padding: 40px 36px; text-align: left; transition: transform .2s ease, box-shadow .2s ease; }
html body .lac-vm-section .banner-inner:hover { transform: translateY(-3px); box-shadow: 0 16px 38px rgba(0,0,0,.10); }
html body .lac-vm-section .banner-inner::before { font-family: "Font Awesome 5 Free"; font-weight: 900; display: inline-flex; align-items: center; justify-content: center; width: 52px; height: 52px; border-radius: 16px; background: #E7F7F2; color: #10AC84; font-size: 1.35rem; margin-bottom: 18px; }
html body .lac-vm-section .row > div:first-child .banner-inner::before { content: "\f06e"; }
html body .lac-vm-section .row > div:last-child .banner-inner::before { content: "\f140"; }
html body .lac-vm-section .banner-inner h2 { color: #111 !important; font-family: 'Poppins', sans-serif !important; font-weight: 700 !important; font-size: 1.6rem !important; }
html body .lac-vm-section .banner-inner p { color: #555 !important; margin-top: 12px !important; line-height: 1.75 !important; }
html body .lac-connections-section { background: #F6F7F8 !important; }
html body .lac-connections-section .lac-logo-card { border-radius: 20px !important; border-color: #EFEFEF !important; }

/* Team */
html body .team-section-head ~ .member-grid, html body .lac-section .member-grid { gap: 26px !important; }
html body section.lac-section:has(.member-grid) { background: #F6F7F8 !important; }
html body .team-section-head:not(:first-child) { border-top: 0 !important; padding-top: 0 !important; margin-top: 72px !important; }
html body .team-eyebrow::before, html body .team-eyebrow::after { display: none !important; }
html body .team-eyebrow span { color: #10AC84 !important; letter-spacing: .18em !important; display: inline-flex; align-items: center; gap: 10px; }
html body .team-eyebrow span::before { content: ""; width: 22px; height: 2px; background: #D60000; display: inline-block; }
html body .team-section-head h2 { font-family: 'Poppins', sans-serif !important; }
html body .member-card { background: #fff !important; border: 1px solid #EFEFEF !important; border-radius: 20px !important; box-shadow: 0 10px 30px rgba(0,0,0,.06) !important; padding: 28px 18px 24px !important; width: 220px !important; transition: transform .2s ease, box-shadow .2s ease !important; }
html body .member-card:hover { transform: translateY(-4px); box-shadow: 0 16px 38px rgba(0,0,0,.10) !important; }
html body .member-photo-wrap { width: 116px !important; height: 116px !important; margin-bottom: 16px !important; }
html body .member-avatar, html body .member-avatar-ph { width: 116px !important; height: 116px !important; box-shadow: 0 0 0 4px #fff, 0 0 0 6px #E7F7F2; }
html body .member-card:hover .member-avatar, html body .member-card:hover .member-avatar-ph { box-shadow: 0 0 0 4px #fff, 0 0 0 6px #10AC84; }
html body .member-avatar-ph { background: #E7F7F2 !important; color: #10AC84 !important; }
html body .member-name { font-family: 'Poppins', sans-serif !important; font-weight: 700 !important; color: #111 !important; font-size: 1rem !important; }
html body .member-position { display: inline-block; margin-top: 8px; background: #F3F4F5; color: #555 !important; border-radius: 999px; padding: 4px 12px; font-size: .78rem !important; }
html body .member-hover-arrow { background: #10AC84 !important; }
@media (max-width: 480px) { html body .member-card { width: calc(50% - 13px) !important; padding: 22px 10px 18px !important; } html body .member-photo-wrap, html body .member-avatar, html body .member-avatar-ph { width: 92px !important; height: 92px !important; } }
html body .tm-modal-inner { border-radius: 24px !important; }

/* History — timeline */
html body .hist-section { background: #F6F7F8 !important; }
html body .timeline::before { background: #DADDE0 !important; width: 2px !important; }
html body .tl-year-badge { font-family: 'Poppins', sans-serif; box-shadow: 0 6px 18px rgba(0,0,0,.18) !important; }
html body .tl-card { border-radius: 20px !important; box-shadow: 0 10px 30px rgba(0,0,0,.06) !important; border: 1px solid #EFEFEF; padding: 22px 24px !important; }
html body .tl-card:hover { box-shadow: 0 16px 38px rgba(0,0,0,.10) !important; }
html body .tl-featured .tl-card { border-top: 1px solid #EFEFEF !important; box-shadow: 0 10px 30px rgba(0,0,0,.06), inset 0 3px 0 #10AC84 !important; }
html body .tl-icon { border-radius: 14px !important; }
html body .tl-title { font-family: 'Poppins', sans-serif; font-weight: 700 !important; font-size: 1rem !important; }
html body .tl-star { border-radius: 999px !important; top: -10px !important; }
html body .tl-dot { box-shadow: 0 0 0 4px #F6F7F8, 0 2px 8px rgba(0,0,0,.2) !important; }
@media (min-width: 768px) {
  html body .tl-item.tl-side-left { flex-direction: row !important; }
  html body .tl-item.tl-side-right { flex-direction: row-reverse !important; }
  html body .tl-item.tl-side-left .tl-card { margin: 0 40px 0 0 !important; }
  html body .tl-item.tl-side-right .tl-card { margin: 0 0 0 40px !important; }
  html body .tl-item.tl-side-left .tl-card::after { content: ''; position: absolute; right: -10px; left: auto !important; top: 20px; border: 10px solid transparent; border-left-color: #fff; border-right: none; }
  html body .tl-item.tl-side-right .tl-card::after { content: ''; position: absolute; left: -10px; right: auto !important; top: 20px; border: 10px solid transparent; border-right-color: #fff; border-left: none; }
}
@media (max-width: 767px) { html body .lac-land-acknowledgement-band .banner-inner { padding: 32px 24px; } html body .lac-vm-section .banner-inner { padding: 30px 24px; } }
html body .lac-land-acknowledgement-band .banner-inner { display: block !important; width: 100%; max-width: 900px; margin: 0 auto; }
@media (max-width: 991px) { html body .lac-org-card { position: static !important; } }

/* ───────── One-row desktop header (logo · menu · Donate · language), like the sticky bar ─────────
   Used from 1440px wide; narrower desktops keep the two-row layout above. Menu text is sized so
   English and French both fit on one line. */
@media (min-width: 1440px) {
  html body header.stick .logo-info-bar-inner { grid-template-columns: auto 1fr auto auto !important; grid-template-areas: "logo nav donate lang" !important; column-gap: 12px !important; }
  html body header.stick .header-left { border-top: 0 !important; padding: 0 !important; margin: 0 !important; justify-content: center !important; min-width: 0; }
  html body header.stick .logo-social { padding: 16px 0 !important; }
  html body header.stick .logo img { max-height: 46px !important; }
  html body header.stick nav > div > ul > li > a { font-size: 13px !important; padding: 0 7px !important; }
  html body header.stick nav > div > ul > li.menu-item-has-children > a { padding-right: 19px !important; }
  html body header.stick nav > div > ul > li.menu-item-has-children > a::before { right: 4px !important; }
  html[lang^="fr"] body header.stick nav > div > ul > li > a { font-size: 12.5px !important; padding: 0 5px !important; }
  html[lang^="fr"] body header.stick nav > div > ul > li.menu-item-has-children > a { padding-right: 17px !important; }
  html[lang^="fr"] body header.stick .donate-nav-btn a { padding-left: 16px !important; padding-right: 16px !important; }
}
@media (min-width: 1600px) {
  html body header.stick nav > div > ul > li > a { font-size: 14.5px !important; padding: 0 10px !important; }
  html body header.stick nav > div > ul > li.menu-item-has-children > a { padding-right: 23px !important; }
  html body header.stick nav > div > ul > li.menu-item-has-children > a::before { right: 7px !important; }
  html[lang^="fr"] body header.stick nav > div > ul > li > a { font-size: 13.5px !important; padding: 0 7px !important; }
  html[lang^="fr"] body header.stick nav > div > ul > li.menu-item-has-children > a { padding-right: 20px !important; }
}
/* French two-row layout between 1200 and 1439px: slightly smaller text so the menu stays inside the page */
@media (min-width: 1036px) and (max-width: 1439px) {
  html[lang^="fr"] body header.stick nav > div > ul > li > a { font-size: 13px !important; padding: 0 7px !important; }
  html[lang^="fr"] body header.stick nav > div > ul > li.menu-item-has-children > a { padding-right: 19px !important; }
  html[lang^="fr"] body header.stick nav > div > ul > li.menu-item-has-children > a::before { right: 5px !important; }
}
@media (min-width: 1440px) and (max-width: 1599px) {
  html body header.stick nav > div > ul > li > a { padding: 0 6px !important; }
  html[lang^="fr"] body header.stick nav > div > ul > li > a { font-size: 12px !important; padding: 0 4px !important; }
  html[lang^="fr"] body header.stick nav > div > ul > li.menu-item-has-children > a { padding-right: 16px !important; }
}
@media (min-width: 1600px) { html[lang^="fr"] body header.stick nav > div > ul > li > a { padding: 0 6px !important; } }
@media (min-width: 1440px) and (max-width: 1599px) { html body header.stick .logo img { max-height: 40px !important; } html body header.stick .logo-info-bar-inner { column-gap: 10px !important; } }
@media (min-width: 1600px) { html[lang^="fr"] body header.stick nav > div > ul > li > a { padding: 0 5px !important; } }

/* ═════════ All page heroes: same look as the homepage hero (green glow + map of Canada) ═════════ */
html body :is(.lac-banner, .hist-banner, .lfc-banner, .gr-banner, .es-banner, .svc-banner, .sv-hero, .so-hero, .sp-hero, .dd-banner, .comm-banner, .bd-hero, .library-banner, .ld-banner) {
  position: relative !important; overflow: hidden !important; isolation: isolate;
  background: radial-gradient(ellipse 60% 120% at 78% 50%, rgba(16,172,132,.28) 0%, rgba(16,172,132,0) 70%),
              linear-gradient(115deg, #151515 0%, #1B2723 50%, #12382E 100%) !important;
}
html body :is(.lac-banner, .hist-banner, .lfc-banner, .gr-banner, .es-banner, .svc-banner, .sv-hero, .so-hero, .sp-hero, .dd-banner, .comm-banner, .bd-hero, .library-banner, .ld-banner)::before {
  content: "" !important; position: absolute !important; z-index: -1 !important; pointer-events: none;
  top: -6% !important; bottom: -6% !important; left: auto !important; right: 5% !important; width: 40% !important; height: auto !important; inset-inline-start: auto;
  background: url("/assets/images/canada-map.svg") center / contain no-repeat !important;
  opacity: .24 !important; display: block !important; transform: none !important;
}
html body :is(.lac-banner, .hist-banner, .lfc-banner, .gr-banner, .es-banner, .svc-banner, .sv-hero, .so-hero, .sp-hero, .dd-banner, .comm-banner, .bd-hero, .library-banner, .ld-banner)::after {
  content: "" !important; position: absolute !important; inset: 0 !important; z-index: -1 !important; pointer-events: none; display: block !important;
  opacity: 1 !important; transform: none !important;
  background: radial-gradient(rgba(255,255,255,.07) 1px, transparent 1.2px) 0 0 / 26px 26px !important;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 65%); mask-image: linear-gradient(90deg, transparent 0%, #000 65%);
}
@media (max-width: 767px) {
  html body :is(.lac-banner, .hist-banner, .lfc-banner, .gr-banner, .es-banner, .svc-banner, .sv-hero, .so-hero, .sp-hero, .dd-banner, .comm-banner, .bd-hero, .library-banner, .ld-banner)::before {
    width: 85% !important; right: -22% !important; opacity: .14 !important;
  }
}
/* The library search suggestions must be able to drop below the hero */
html body .library-banner { overflow: visible !important; }
html body .library-banner::before { top: 0 !important; bottom: 0 !important; }
/* Sign-in / account heroes get the same look */
html body :is(.lac-auth-hero, .sd-hero, .rq-hero) {
  position: relative !important; overflow: hidden !important; isolation: isolate;
  background: radial-gradient(ellipse 60% 120% at 78% 50%, rgba(16,172,132,.28) 0%, rgba(16,172,132,0) 70%),
              linear-gradient(115deg, #151515 0%, #1B2723 50%, #12382E 100%) !important;
}
html body :is(.lac-auth-hero, .sd-hero, .rq-hero)::before {
  content: "" !important; position: absolute !important; z-index: -1 !important; pointer-events: none; display: block !important;
  top: -6% !important; bottom: -6% !important; left: auto !important; right: 5% !important; width: 40% !important; height: auto !important;
  background: url("/assets/images/canada-map.svg") center / contain no-repeat !important; opacity: .24 !important; transform: none !important;
}
html body :is(.lac-auth-hero, .sd-hero, .rq-hero)::after {
  content: "" !important; position: absolute !important; inset: 0 !important; z-index: -1 !important; pointer-events: none; display: block !important; opacity: 1 !important;
  background: radial-gradient(rgba(255,255,255,.07) 1px, transparent 1.2px) 0 0 / 26px 26px !important;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 65%); mask-image: linear-gradient(90deg, transparent 0%, #000 65%);
}
@media (max-width: 767px) { html body :is(.lac-auth-hero, .sd-hero, .rq-hero)::before { width: 85% !important; right: -22% !important; opacity: .14 !important; } }

/* ═════════════════════ Modern footer (all pages) ═════════════════════ */
html body footer:has(> .lac-footer-bg) { position: relative; overflow: hidden; isolation: isolate; background: #111 !important; }
html body footer:has(> .lac-footer-bg)::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: radial-gradient(ellipse 55% 70% at 88% 100%, rgba(16,172,132,.22) 0%, rgba(16,172,132,0) 70%),
              radial-gradient(ellipse 40% 50% at 0% 0%, rgba(214,0,0,.08) 0%, rgba(214,0,0,0) 70%);
}
html body footer:has(> .lac-footer-bg)::after {
  content: ""; position: absolute; z-index: -1; pointer-events: none; right: -4%; bottom: -10%; width: 46%; height: 115%;
  background: url("/assets/images/canada-map.svg") right bottom / contain no-repeat; opacity: .06;
}
html body footer .lac-footer-bg { background: transparent !important; padding-top: 72px !important; padding-bottom: 40px !important; border-top: 3px solid transparent; }
html body footer:has(> .lac-footer-bg) > .lac-footer-bg { box-shadow: inset 0 3px 0 0 #10AC84; }

/* four columns: brand · links · contact · newsletter */
@media (min-width: 992px) {
  html body footer .footer-data > .row { display: grid !important; grid-template-columns: 1.3fr .85fr 1fr 1.35fr; gap: 48px; margin: 0 !important; }
  html body footer .footer-data > .row > [class*="col-"] { max-width: none !important; width: auto !important; flex: none !important; padding: 0 !important; }
}
@media (min-width: 576px) and (max-width: 991px) {
  html body footer .footer-data > .row { display: grid !important; grid-template-columns: 1fr 1fr; gap: 40px 32px; margin: 0 !important; }
  html body footer .footer-data > .row > [class*="col-"] { max-width: none !important; width: auto !important; flex: none !important; padding: 0 !important; }
}
@media (max-width: 575px) { html body footer .footer-data > .row > [class*="col-"] { margin-bottom: 34px; } }

/* headings: white with a short green rule */
html body footer .widget h3 { font-size: 13px !important; font-weight: 700 !important; letter-spacing: .14em !important; text-transform: uppercase !important; color: #fff !important; margin-bottom: 22px !important; display: flex; align-items: center; gap: 10px; }
html body footer .widget h3::after { content: "" !important; display: block !important; width: 26px; height: 2px; background: #10AC84; border-radius: 2px; position: static !important; opacity: 1 !important; }

/* brand column */
html body footer .widget .logo img { max-width: 150px !important; }
html body footer .widget .logo { margin-bottom: 18px !important; }
html body footer .footer-data .widget > p.mb-0 { max-width: 340px; font-size: 14.5px !important; color: #A8A8A8 !important; }
html body footer .social-links2 { display: flex !important; flex-wrap: wrap; gap: 10px; margin-top: 22px !important; }
html body footer .social-links2 a { margin: 0 !important; width: 42px !important; height: 42px !important; border-radius: 14px !important; background: rgba(255,255,255,.05) !important; border: 1px solid rgba(255,255,255,.10) !important; transition: background .15s, border-color .15s, transform .15s !important; }
html body footer .social-links2 a:hover { background: #10AC84 !important; border-color: #10AC84 !important; transform: translateY(-2px); }

/* quick links: no arrows, slide on hover */
html body footer .widget ul li { margin-bottom: 12px !important; }
html body footer .widget ul li a i { display: none !important; }
html body footer .widget ul li a { display: inline-flex; align-items: center; gap: 8px; color: #C9C9C9 !important; font-size: 15px !important; transition: color .15s, transform .15s !important; }
html body footer .widget ul li a::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: #3A3A3A; transition: background .15s; }
html body footer .widget ul li a:hover { color: #fff !important; transform: translateX(3px); }
html body footer .widget ul li a:hover::before { background: #10AC84; }

/* contact: icon chips */
html body footer .widget > p:has(> i) { display: flex !important; align-items: center; gap: 12px; margin-bottom: 14px !important; }
html body footer .widget > p:has(> i) > i { flex: 0 0 38px; width: 38px; height: 38px; border-radius: 12px; background: rgba(16,172,132,.14); color: #10AC84 !important; display: inline-flex; align-items: center; justify-content: center; font-size: 16px; }
html body footer .widget > p:has(> i) > i::before { margin: 0 !important; font-size: 16px !important; }
html body footer .widget > p:has(> i) a { color: #E0E0E0 !important; font-size: 15px !important; word-break: break-word; }

/* newsletter as a card */
html body footer .widget:has(#newsletter) { background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.09); border-radius: 22px; padding: 26px 24px 24px; -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
html body footer .widget:has(#newsletter) > p { font-size: 14px !important; color: #A8A8A8 !important; margin-bottom: 16px !important; }
html body footer #newsletter .row { margin: 0 !important; }
html body footer #newsletter .row > [class*="col-"] { padding: 0 !important; }
html body footer #newsletter input[type="text"], html body footer #newsletter input[type="email"] { border-radius: 999px !important; background: rgba(0,0,0,.35) !important; border-color: rgba(255,255,255,.12) !important; padding: 0 20px !important; }
html body footer #newsletter .newsletter-lang-choice { display: inline-flex !important; gap: 4px !important; padding: 4px !important; background: rgba(0,0,0,.35); border: 1px solid rgba(255,255,255,.12); border-radius: 999px; margin: 2px 0 14px !important; }
html body footer #newsletter .newsletter-lang-choice label { position: relative; margin: 0 !important; padding: 6px 14px !important; border-radius: 999px; cursor: pointer; font-size: 13px !important; color: #B9B9B9 !important; transition: background .15s, color .15s; }
html body footer #newsletter .newsletter-lang-choice label input { position: absolute; opacity: 0; width: 1px; height: 1px; }
html body footer #newsletter .newsletter-lang-choice label:has(input:checked) { background: #10AC84; color: #fff !important; }
html body footer #newsletter .newsletter-lang-choice label:has(input:focus-visible) { outline: 2px solid #6FE0BD; outline-offset: 2px; }
html body footer #newsletter button[type="submit"] { border-radius: 999px !important; }

/* bottom bar */
html body .lac-corp-bar { background: rgba(0,0,0,.25) !important; border-top: 1px solid rgba(255,255,255,.08) !important; }
html body .lac-corp-bar a { transition: color .15s; }
html body footer #newsletter .newsletter-lang-choice { display: flex !important; width: 100%; }
html body footer #newsletter .newsletter-lang-choice label { flex: 1 1 0; text-align: center; }
html body footer #newsletter .newsletter-lang-choice label { display: inline-flex !important; justify-content: center; align-items: center; }
html body:has(.lac-cta-section) footer .lac-footer-bg { padding-top: 118px !important; }

/* ═════════════════════ Stage 6b: Events menu pages ═════════════════════ */
/* Canadian / International switch as one segmented control (events + event map) */
html body .event-scope-tabs { display: inline-flex !important; gap: 4px !important; padding: 5px; background: #fff; border-radius: 999px; box-shadow: 0 8px 26px rgba(0,0,0,.08); border: 1px solid #EFEFEF; flex-wrap: nowrap !important; max-width: 100%; }
html body .events-title:has(.event-scope-tabs), html body .lac-section .row:has(> .event-scope-tabs) { text-align: center; }
html body .event-scope-tab { border: 0 !important; border-radius: 999px !important; background: transparent !important; color: #444 !important; padding: 10px 20px !important; font-family: 'Poppins', sans-serif; font-weight: 600 !important; font-size: 14px !important; white-space: nowrap; transition: background .15s, color .15s; }
html body .event-scope-tab:hover { color: #111 !important; background: #F3F4F5 !important; }
html body .event-scope-tab.active { background: #111 !important; color: #fff !important; }
@media (max-width: 575px) { html body .event-scope-tab { padding: 9px 12px !important; font-size: 12.5px !important; white-space: normal; } }

/* Event cards */
html body section:has(.event-card) { background: #F6F7F8; }
html body .event-card { border-radius: 20px !important; border: 1px solid #EFEFEF !important; box-shadow: 0 10px 30px rgba(0,0,0,.06) !important; display: flex !important; flex-direction: column; }
html body .event-img { height: auto !important; aspect-ratio: 16 / 9; }
html body .ev-cal { position: absolute; top: 14px; left: 14px; width: 54px; border-radius: 14px; background: #fff; box-shadow: 0 6px 18px rgba(0,0,0,.18); text-align: center; overflow: hidden; line-height: 1; font-family: 'Poppins', sans-serif; }
html body .ev-cal b { display: block; background: #D60000; color: #fff; font-size: 10.5px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; padding: 5px 0 4px; }
html body .ev-cal i { display: block; font-style: normal; color: #111; font-size: 22px; font-weight: 700; padding: 6px 0 8px; }
html body .event-content { display: flex; flex-direction: column; flex: 1; padding: 20px 22px 18px !important; }
html body .event-content h3 { font-family: 'Poppins', sans-serif !important; font-weight: 700 !important; font-size: 1.08rem !important; line-height: 1.35 !important; color: #111 !important; margin-bottom: 12px !important; }
html body .event-date { background: #E7F7F2 !important; color: #0B7A5E !important; border-radius: 999px !important; padding: 5px 12px !important; font-weight: 600 !important; }
html body .event-date i { color: #10AC84 !important; }
html body .event-location { margin-top: 10px !important; color: #555 !important; }
html body .event-countdown { margin-top: 10px; color: #777; font-size: .82rem; }
html body .event-link { margin-top: auto !important; padding-top: 16px !important; border-top: 1px solid #F0F0F0; display: flex !important; align-items: center; justify-content: space-between; flex-direction: row-reverse; color: #111 !important; font-weight: 600 !important; font-family: 'Poppins', sans-serif; }
html body .event-link i { width: 32px; height: 32px; border-radius: 50%; background: #F3F4F5; color: #111; display: inline-flex; align-items: center; justify-content: center; transition: background .15s, color .15s, transform .15s; }
html body .event-card:hover .event-link i { background: #10AC84; color: #fff; transform: translateX(2px); }
html body .no-events-box { background: #fff !important; border-radius: 20px !important; border: 1px dashed #D8DCDF !important; box-shadow: none !important; padding: 44px 24px !important; text-align: center; }
html body .no-events-box h3 { font-family: 'Poppins', sans-serif !important; }

/* Event detail */
html body .event-detail-section { background: #F6F7F8; }
html body .event-detail-box { border-top: 0 !important; border-radius: 24px !important; border: 1px solid #EFEFEF !important; box-shadow: 0 14px 40px rgba(0,0,0,.08) !important; }
html body .event-detail-image { height: auto !important; aspect-ratio: 21 / 9; }
html body .event-detail-content h2 { font-family: 'Poppins', sans-serif !important; letter-spacing: -0.01em; }
html body .event-meta-wrap { gap: 12px !important; }
html body .event-meta-item { border: 1px solid #EFEFEF !important; border-left: 1px solid #EFEFEF !important; border-radius: 16px !important; background: #fff !important; padding: 16px 16px 16px 64px !important; position: relative; min-height: 72px; display: flex; flex-direction: column; justify-content: center; }
html body .event-meta-item::before { font-family: "Font Awesome 5 Free"; font-weight: 900; position: absolute; left: 14px; top: 50%; transform: translateY(-50%); width: 38px; height: 38px; border-radius: 12px; background: #E7F7F2; color: #10AC84; display: flex; align-items: center; justify-content: center; font-size: 15px; content: "\f005"; }
html body .event-meta-item:nth-child(1)::before { content: "\f133"; }
html body .event-meta-item:nth-child(2)::before { content: "\f017"; }
html body .event-meta-item:nth-child(3)::before { content: "\f3c5"; }
html body .event-meta-item:nth-child(4)::before { content: "\f007"; }
html body .event-meta-item:nth-child(5)::before { content: "\f3ff"; }
html body .event-meta-item strong { color: #8A8A8A !important; margin-bottom: 3px !important; }
html body .event-meta-item span { color: #111 !important; font-weight: 600; }
html body .event-description h3 { font-family: 'Poppins', sans-serif !important; font-weight: 700 !important; }
html body .event-description { color: #444; line-height: 1.8; }
html body .event-actions { gap: 10px; }
html body .event-btn { border-radius: 999px !important; font-family: 'Poppins', sans-serif; font-weight: 600 !important; }
html body .event-back-link { display: inline-flex; align-items: center; gap: 6px; color: #555 !important; font-weight: 600; }
html body .event-back-link:hover { color: #10AC84 !important; }
@media (max-width: 767px) { html body .event-detail-image { aspect-ratio: 16 / 9; } html body .event-detail-content { padding: 26px 20px !important; } }

/* Event map */
html body .lac-section:has(.map-filters) { background: #F6F7F8; }
html body .map-filters { background: #fff; border: 1px solid #EFEFEF; border-radius: 999px; padding: 8px 10px 8px 18px; box-shadow: 0 8px 26px rgba(0,0,0,.06); display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
html body .map-filters select { border-radius: 999px !important; border: 1px solid #E3E6E8 !important; height: 38px; padding: 0 14px !important; background-color: #F6F7F8 !important; }
html body #lac-event-map, html body .lac-section .leaflet-container, html body .lac-section [id*="map"]:not(script) { border-radius: 20px !important; overflow: hidden; }
html body .events-list-wrap { background: #fff; border: 1px solid #EFEFEF; border-radius: 20px; box-shadow: 0 10px 30px rgba(0,0,0,.06); padding: 14px !important; }
html body .event-list-card { border-radius: 14px !important; border: 1px solid #F0F0F0 !important; transition: background .15s, border-color .15s; }
html body .event-list-card:hover { border-color: #10AC84 !important; background: #FAFFFD !important; }
html body .event-list-card .ev-date { background: #fff !important; border: 1px solid #EFEFEF; box-shadow: 0 4px 12px rgba(0,0,0,.08); border-radius: 12px !important; padding: 0 !important; overflow: hidden; min-width: 50px !important; }
html body .event-list-card .ev-date .day { color: #111; padding: 6px 0 2px; order: 2; }
html body .event-list-card .ev-date .mon { background: #D60000; color: #fff; padding: 3px 0; font-weight: 700; }
html body .event-list-card .ev-date { display: flex; flex-direction: column; }
html body .lac-popup .pop-btn { border-radius: 999px !important; }

/* Submit an event: form card */
html body .lac-card:has(.event-quill) { border-radius: 24px !important; border: 1px solid #EFEFEF; box-shadow: 0 14px 40px rgba(0,0,0,.08) !important; }
html body .lac-card:has(.event-quill) .lac-card-head { background: #111 !important; padding: 22px 30px !important; }
html body .lac-card:has(.event-quill) .lac-card-body { padding: 30px 34px !important; }
html body .lac-card:has(.event-quill) .lac-field-section { color: #10AC84 !important; font-size: .72rem !important; letter-spacing: .14em !important; border-bottom: 0 !important; margin: 30px 0 14px !important; display: flex; align-items: center; gap: 12px; }
html body .lac-card:has(.event-quill) .lac-field-section::after { content: ""; flex: 1; height: 1px; background: #EFEFEF; }
html body .lac-card:has(.event-quill) .lac-field-section:first-child { margin-top: 0 !important; }
html body .lac-card:has(.event-quill) .lac-label { color: #333 !important; font-size: .84rem !important; }
html body .lac-card:has(.event-quill) :is(.lac-input, .lac-select):not([type=file]):not([type=radio]):not([type=checkbox]) { border-radius: 12px !important; border: 1px solid #E3E6E8 !important; background: #FAFAFA !important; min-height: 46px; }
html body .lac-card:has(.event-quill) :is(.lac-input, .lac-select):focus { border-color: #10AC84 !important; background: #fff !important; box-shadow: 0 0 0 3px rgba(16,172,132,.18) !important; }
html body .lac-card:has(.event-quill) .ql-toolbar { border-radius: 12px 12px 0 0 !important; border-color: #E3E6E8 !important; }
html body .lac-card:has(.event-quill) .ql-container { border-radius: 0 0 12px 12px !important; border-color: #E3E6E8 !important; }
html body .lac-card:has(.event-quill) .lac-btn { border-radius: 999px !important; padding: 12px 26px !important; }
html body .lac-card:has(.event-quill) .lac-btn-primary { background: #10AC84 !important; box-shadow: none !important; }
html body .lac-card:has(.event-quill) .lac-btn-primary:hover { background: #0E9673 !important; }
html body section:has(.lac-card .event-quill) { background: #F6F7F8; }
@media (max-width: 600px) { html body .lac-card:has(.event-quill) .lac-card-body { padding: 22px 18px !important; } }
@media (max-width: 767px) { html body .map-filters { border-radius: 20px; padding: 12px; } }

/* ═════════════════════ Local Chapters page ═════════════════════ */
html body .ch-page { background: #F6F7F8 !important; padding-top: 56px !important; padding-bottom: 80px !important; }
html body .ch-page .container { display: flex; flex-direction: column; gap: 28px; }
html body .ch-btn { display: inline-flex; align-items: center; gap: 9px; padding: 13px 24px; border-radius: 999px; font-family: 'Poppins', sans-serif; font-weight: 600; font-size: 15px; text-decoration: none !important; transition: background .15s, border-color .15s, transform .15s; line-height: 1.2; }
html body .ch-btn:hover { transform: translateY(-1px); }
html body .ch-btn-green { background: #10AC84; color: #fff !important; border: 1px solid #10AC84; }
html body .ch-btn-green:hover { background: #0E9673; border-color: #0E9673; }
html body .ch-btn-ghost { background: #fff; color: #111 !important; border: 1px solid #DADDE0; }
html body .ch-btn-ghost:hover { border-color: #111; }
html body .ch-btn-sm { padding: 10px 18px; font-size: 14px; margin-top: 18px; }
html body .ch-actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* intro */
html body .ch-intro { display: grid; grid-template-columns: 1.5fr 1fr; gap: 28px; align-items: stretch; }
html body .ch-intro-text { background: #fff; border: 1px solid #EFEFEF; border-radius: 24px; box-shadow: 0 14px 40px rgba(0,0,0,.06); padding: 44px 44px 40px; }
html body .ch-eyebrow { display: inline-flex; align-items: center; gap: 10px; color: #10AC84; font-size: 12px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; margin-bottom: 14px; }
html body .ch-eyebrow::before { content: ""; width: 22px; height: 2px; background: #D60000; }
html body .ch-intro-text h2 { font-family: 'Poppins', sans-serif !important; font-weight: 700 !important; font-size: clamp(1.6rem, 2.4vw, 2.2rem) !important; line-height: 1.2 !important; color: #111 !important; margin: 0 0 16px !important; letter-spacing: -0.01em; }
html body .ch-intro-text p { color: #555; font-size: 1.02rem; line-height: 1.75; margin: 0 0 26px; max-width: 640px; }
html body .ch-intro-stats { position: relative; overflow: hidden; isolation: isolate; border-radius: 24px; padding: 34px 30px; display: flex; flex-direction: column; justify-content: center; gap: 22px;
  background: radial-gradient(ellipse 80% 80% at 80% 30%, rgba(16,172,132,.30) 0%, rgba(16,172,132,0) 70%), linear-gradient(140deg, #151515 0%, #1B2723 55%, #12382E 100%); box-shadow: 0 14px 40px rgba(0,0,0,.14); }
html body .ch-intro-stats::before { content: ""; position: absolute; inset: 8% -8% 8% 18%; z-index: -1; background: url("/assets/images/canada-map.svg") center / contain no-repeat; opacity: .18; }
html body .ch-stat { display: flex; align-items: center; gap: 16px; }
html body .ch-stat b { flex: 0 0 64px; height: 64px; border-radius: 18px; display: flex; align-items: center; justify-content: center; font-family: 'Poppins', sans-serif; font-size: 28px; font-weight: 700; color: #fff; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.14); }
html body .ch-stat-active b { background: #10AC84; border-color: #10AC84; }
html body .ch-stat-pending b { color: #F5B041; }
html body .ch-stat span { color: #D8D8D8; font-size: 15px; line-height: 1.4; }

/* section blocks */
html body .ch-block { background: #fff; border: 1px solid #EFEFEF; border-radius: 24px; box-shadow: 0 14px 40px rgba(0,0,0,.06); padding: 34px 34px 36px; }
html body .ch-block-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 16px; margin-bottom: 24px; }
html body .ch-block-head h2 { font-family: 'Poppins', sans-serif !important; font-weight: 700 !important; font-size: 1.5rem !important; color: #111 !important; margin: 0 !important; }
html body .ch-block-head p { margin: 6px 0 0; color: #777; font-size: .92rem; }
html body .ch-legend { display: flex; flex-wrap: wrap; gap: 8px; }
html body .ch-leg { display: inline-flex; align-items: center; gap: 7px; padding: 6px 12px; border-radius: 999px; background: #F6F7F8; font-size: 12.5px; font-weight: 600; color: #444; }
html body .ch-leg::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: #B8BDC2; }
html body .ch-leg-active::before { background: #10AC84; }
html body .ch-leg-pending::before { background: #F39C12; }

/* province tiles */
html body .ch-page .province-grid { padding: 0 !important; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)) !important; gap: 14px !important; }
html body .ch-page .province-card { background: #fff !important; border: 1px solid #EBEDEF !important; border-radius: 18px !important; padding: 18px 12px 16px !important; box-shadow: none; position: relative; width: 100%; }
html body .ch-page .province-card .prov-abbr { font-family: 'Poppins', sans-serif !important; font-size: 1.7rem !important; font-weight: 700 !important; color: #C9CDD1 !important; letter-spacing: .02em; margin-bottom: 2px !important; }
html body .ch-page .province-card .prov-name { color: #333 !important; font-size: .82rem !important; font-weight: 600 !important; }
html body .ch-page .province-card .prov-count { color: #888 !important; font-weight: 500 !important; font-size: .76rem !important; }
html body .ch-page .province-card .prov-status { display: inline-flex; align-items: center; gap: 5px; margin-top: 10px !important; padding: 4px 10px; border-radius: 999px; background: #F3F4F5; color: #777 !important; font-size: .7rem !important; font-weight: 600 !important; }
html body .ch-page .province-card .prov-status i { display: none; }
html body .ch-page .province-card .prov-status::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: #B8BDC2; }
html body .ch-page .province-card.active { border: 1px solid #10AC84 !important; box-shadow: 0 10px 26px rgba(16,172,132,.16); }
html body .ch-page .province-card.active .prov-abbr { color: #10AC84 !important; }
html body .ch-page .province-card.active .prov-status { background: #E7F7F2; color: #0B7A5E !important; }
html body .ch-page .province-card.active .prov-status::before { background: #10AC84; }
html body .ch-page .province-card.pending .prov-abbr { color: #F39C12 !important; }
html body .ch-page .province-card.pending .prov-status { background: #FEF3E2; color: #A6620B !important; }
html body .ch-page .province-card.pending .prov-status::before { background: #F39C12; }
html body .ch-page :is(a, button).province-card:hover { transform: translateY(-3px); border-color: #10AC84 !important; box-shadow: 0 14px 30px rgba(0,0,0,.08); }
html body .ch-page :is(a, button).province-card::after { content: "\f061"; font-family: "Font Awesome 5 Free"; font-weight: 900; position: absolute; top: 12px; right: 12px; font-size: 11px; color: #10AC84; }

/* steps */
html body .ch-page .steps-grid { gap: 18px !important; counter-reset: none; }
html body .ch-page .step-card { border-radius: 20px !important; border: 1px solid #EBEDEF !important; box-shadow: none !important; padding: 26px 24px 26px !important; background: #FAFBFB !important; display: flex; flex-direction: column; align-items: flex-start; }
html body .ch-page .step-top { display: flex; align-items: center; gap: 12px; margin-bottom: 18px; width: 100%; }
html body .ch-page .step-num { position: static !important; width: 34px !important; height: 34px !important; border-radius: 50% !important; background: #111 !important; color: #fff !important; font-family: 'Poppins', sans-serif; font-weight: 700 !important; font-size: .9rem !important; display: inline-flex !important; align-items: center; justify-content: center; flex: 0 0 34px; }
html body .ch-page .step-icon { width: 46px; height: 46px; border-radius: 14px; background: #E7F7F2; color: #10AC84 !important; display: inline-flex; align-items: center; justify-content: center; font-size: 1.25rem !important; margin: 0 0 0 auto !important; }
html body .ch-page .step-card h4 { font-family: 'Poppins', sans-serif !important; font-size: 1.05rem !important; font-weight: 700 !important; margin-bottom: 8px !important; }
html body .ch-page .step-card p { font-size: .92rem !important; color: #666 !important; line-height: 1.7 !important; }
html body .ch-tip { margin-top: 20px; display: flex; gap: 14px; align-items: flex-start; background: #F6FBF9; border: 1px solid #D7EFE7; border-radius: 18px; padding: 18px 20px; }
html body .ch-tip-icon { flex: 0 0 38px; height: 38px; border-radius: 12px; background: #10AC84; color: #fff; display: inline-flex; align-items: center; justify-content: center; }
html body .ch-tip p { margin: 0; color: #444; font-size: .94rem; line-height: 1.7; }
html body .ch-tip strong { color: #111; }

/* call to action */
html body .ch-page .cta-band { border-radius: 24px !important; padding: 40px 44px !important; isolation: isolate;
  background: radial-gradient(ellipse 60% 120% at 85% 50%, rgba(16,172,132,.30) 0%, rgba(16,172,132,0) 70%), linear-gradient(115deg, #151515 0%, #1B2723 50%, #12382E 100%) !important; }
html body .ch-page .cta-band::before { background: url("/assets/images/canada-map.svg") right center / contain no-repeat !important; opacity: .14 !important; inset: -10% 2% -10% 50% !important; }
html body .ch-page .cta-band-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; }
html body .ch-cta-text { flex: 1 1 460px; }
html body .ch-cta-text h3 { color: #fff !important; font-family: 'Poppins', sans-serif !important; font-weight: 700 !important; font-size: 1.5rem !important; margin: 0 0 10px !important; }
html body .ch-cta-text p { color: #CFCFCF !important; margin: 0; line-height: 1.7; max-width: 640px; }
html body .ch-page .cta-band .ch-btn-ghost { background: rgba(255,255,255,.08); color: #fff !important; border-color: rgba(255,255,255,.25); }
html body .ch-page .cta-band .ch-btn-ghost:hover { border-color: #fff; }

@media (max-width: 991px) { html body .ch-intro { grid-template-columns: 1fr; } }
@media (max-width: 768px) {
  html body .ch-intro-text, html body .ch-block { padding: 26px 20px; border-radius: 20px; }
  html body .ch-page .cta-band { padding: 30px 22px !important; }
  html body .ch-page .province-grid { grid-template-columns: repeat(2, 1fr) !important; }
  html body .ch-page .steps-grid { grid-template-columns: 1fr !important; }
}
html body .chapter-popup { border-radius: 24px !important; }
html body .chapter-popup-btn { border-radius: 999px !important; }
@media (min-width: 1200px) { html body .ch-page .province-grid { grid-template-columns: repeat(7, 1fr) !important; } }
html body .ch-intro-stats { gap: 16px !important; padding: 30px 28px !important; }
html body .ch-stat b { flex-basis: 58px !important; height: 58px !important; font-size: 25px !important; }
html body .ch-stat-total b { background: #fff !important; color: #111 !important; border-color: #fff !important; }
html body .ch-stat-active b { background: rgba(16,172,132,.18) !important; border-color: #10AC84 !important; color: #6FE0BD !important; }
html body .ch-stat-total span { color: #fff !important; font-weight: 600; }

/* ═════════════════════ Our Sponsors page ═════════════════════ */
html body .spx-page { background: #F6F7F8 !important; padding-top: 56px !important; padding-bottom: 80px !important; }
html body .spx-page .container { display: flex; flex-direction: column; gap: 28px; max-width: 1200px; }
html body .spx-btn { display: inline-flex; align-items: center; gap: 9px; padding: 13px 24px; border-radius: 999px; font-family: 'Poppins', sans-serif; font-weight: 600; font-size: 15px; text-decoration: none !important; transition: background .15s, border-color .15s, transform .15s; line-height: 1.2; white-space: nowrap; }
html body .spx-btn:hover { transform: translateY(-1px); }
html body .spx-btn-green { background: #10AC84; color: #fff !important; border: 1px solid #10AC84; }
html body .spx-btn-green:hover { background: #0E9673; border-color: #0E9673; }
html body .spx-btn-ghost { background: #fff; color: #111 !important; border: 1px solid #DADDE0; }
html body .spx-btn-ghost:hover { border-color: #111; }
html body .spx-btn-ghost-dark { background: rgba(255,255,255,.08); color: #fff !important; border: 1px solid rgba(255,255,255,.25); }
html body .spx-btn-ghost-dark:hover { border-color: #fff; }
html body .spx-btn-sm { padding: 9px 16px; font-size: 13.5px; }
html body .spx-actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* intro */
html body .spx-intro { display: grid; grid-template-columns: 1.35fr 1fr; gap: 28px; }
html body .spx-intro-text { background: #fff; border: 1px solid #EFEFEF; border-radius: 24px; box-shadow: 0 14px 40px rgba(0,0,0,.06); padding: 44px; display: flex; flex-direction: column; justify-content: center; }
html body .spx-pill { align-self: flex-start; display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px; border-radius: 999px; background: #E7F7F2; color: #0B7A5E; font-size: 12.5px; font-weight: 700; margin-bottom: 18px; }
html body .spx-pill .sp-dot { width: 8px; height: 8px; border-radius: 50%; background: #10AC84; box-shadow: 0 0 0 4px rgba(16,172,132,.2); }
html body .spx-intro-text h2 { font-family: 'Poppins', sans-serif !important; font-weight: 700 !important; font-size: clamp(1.6rem, 2.4vw, 2.2rem) !important; line-height: 1.2 !important; color: #111 !important; margin: 0 0 14px !important; }
html body .spx-intro-text p { color: #555; font-size: 1.02rem; line-height: 1.75; margin: 0 0 26px; }
html body .spx-why { position: relative; overflow: hidden; isolation: isolate; border-radius: 24px; padding: 34px 32px; color: #fff;
  background: radial-gradient(ellipse 80% 80% at 80% 20%, rgba(16,172,132,.30) 0%, rgba(16,172,132,0) 70%), linear-gradient(140deg, #151515 0%, #1B2723 55%, #12382E 100%); box-shadow: 0 14px 40px rgba(0,0,0,.14); }
html body .spx-why::before { content: ""; position: absolute; inset: 6% -10% 6% 25%; z-index: -1; background: url("/assets/images/canada-map.svg") center / contain no-repeat; opacity: .14; }
html body .spx-why h3 { color: #fff !important; font-family: 'Poppins', sans-serif !important; font-weight: 700 !important; font-size: 1.15rem !important; margin: 0 0 20px !important; }
html body .spx-why ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 16px; }
html body .spx-why li { display: flex; gap: 14px; align-items: flex-start; }
html body .spx-why li > i { flex: 0 0 40px; height: 40px; border-radius: 12px; background: rgba(16,172,132,.18); border: 1px solid rgba(16,172,132,.45); color: #6FE0BD; display: inline-flex; align-items: center; justify-content: center; font-size: 15px; }
html body .spx-why li b { display: block; font-family: 'Poppins', sans-serif; font-weight: 600; font-size: 15px; color: #fff; margin-bottom: 2px; }
html body .spx-why li span { color: #C9C9C9; font-size: 14px; line-height: 1.55; }

/* blocks */
html body .spx-block { background: #fff; border: 1px solid #EFEFEF; border-radius: 24px; box-shadow: 0 14px 40px rgba(0,0,0,.06); padding: 34px; }
html body .spx-block-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 14px; margin-bottom: 22px; }
html body .spx-block-head h2 { font-family: 'Poppins', sans-serif !important; font-weight: 700 !important; font-size: 1.45rem !important; color: #111 !important; margin: 0 !important; text-align: left !important; }
html body .spx-block-head p { margin: 6px 0 0 !important; color: #777; font-size: .92rem; text-align: left !important; }
html body .spx-soon { display: inline-flex; align-items: center; gap: 7px; padding: 6px 12px; border-radius: 999px; background: #F3F4F5; color: #666; font-size: 12.5px; font-weight: 600; }

/* tiers */
html body .spx-tiers { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
html body .spx-tier { --tc: #C9A227; --tb: #FBF5E1; position: relative; border: 1px solid #EBEDEF; border-radius: 20px; padding: 26px 24px; background: #fff; overflow: hidden; }
html body .spx-tier::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 4px; background: var(--tc); }
html body .spx-tier.silver { --tc: #9AA4AE; --tb: #F0F2F4; }
html body .spx-tier.bronze { --tc: #B4703A; --tb: #F8EDE4; }
html body .spx-tier-icon { width: 48px; height: 48px; border-radius: 14px; background: var(--tb); color: var(--tc); display: inline-flex; align-items: center; justify-content: center; font-size: 1.2rem; margin-bottom: 16px; }
html body .spx-tier h4 { font-family: 'Poppins', sans-serif !important; font-weight: 700 !important; font-size: 1.1rem !important; color: #111 !important; margin: 0 0 6px !important; }
html body .spx-tier p { margin: 0; color: #666; font-size: .92rem; line-height: 1.6; }

/* business members */
html body .spx-members { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 16px; }
html body .spx-member { border: 1px solid #EBEDEF; border-radius: 20px; padding: 22px 20px; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 8px; transition: transform .15s, box-shadow .15s, border-color .15s; }
html body .spx-member:hover { transform: translateY(-3px); box-shadow: 0 14px 30px rgba(0,0,0,.08); border-color: #10AC84; }
html body .spx-member.is-premium { border-color: #10AC84; background: linear-gradient(180deg, #F3FCF8 0%, #fff 60%); }
html body .spx-member-logo { height: 80px; width: 100%; display: flex; align-items: center; justify-content: center; margin-bottom: 6px; }
html body .spx-member-logo img { max-width: 170px; max-height: 76px; object-fit: contain; }
html body .spx-member-logo span { width: 64px; height: 64px; border-radius: 18px; background: #E7F7F2; color: #10AC84; font-family: 'Poppins', sans-serif; font-weight: 700; font-size: 1.6rem; display: inline-flex; align-items: center; justify-content: center; }
html body .spx-member-name { font-family: 'Poppins', sans-serif; font-weight: 700; color: #111; font-size: 1rem; }
html body .spx-member-name a { color: #111 !important; text-decoration: none !important; }
html body .spx-member-name a i { font-size: .7em; color: #10AC84; margin-left: 3px; }
html body .spx-member-tier { display: inline-block; padding: 4px 12px; border-radius: 999px; background: #F3F4F5; color: #555; font-size: 12px; font-weight: 600; }
html body .spx-member.is-premium .spx-member-tier { background: #E7F7F2; color: #0B7A5E; }

/* sponsors + donors */
html body .spx-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
html body .spx-recog .sp-support-list { display: flex; flex-direction: column; gap: 10px; }
html body .spx-recog .sp-supporter { display: flex; align-items: center; justify-content: space-between; gap: 12px; border: 1px solid #EBEDEF !important; border-radius: 16px !important; padding: 14px 16px !important; background: #fff !important; box-shadow: none !important; }
html body .spx-recog .sp-supporter-name { font-family: 'Poppins', sans-serif; font-weight: 600; color: #111; }
html body .spx-recog .sp-supporter-meta { color: #888; font-size: .82rem; }
html body .spx-recog .sp-supporter-amount { font-family: 'Poppins', sans-serif; font-weight: 700; color: #0B7A5E; background: #E7F7F2; border-radius: 999px; padding: 4px 12px; font-size: .88rem; }
html body .spx-recog .sp-empty-list { border: 1px dashed #D8DCDF !important; border-radius: 18px !important; background: #FAFBFB !important; padding: 34px 20px 30px !important; text-align: center; color: #777 !important; font-size: .95rem; }
html body .spx-recog .sp-empty-list::before { content: "\f004"; font-family: "Font Awesome 5 Free"; font-weight: 900; display: flex; align-items: center; justify-content: center; width: 46px; height: 46px; margin: 0 auto 12px; border-radius: 14px; background: #E7F7F2; color: #10AC84; font-size: 18px; }
html body .spx-pair > .spx-recog:first-child .sp-empty-list::before { content: "\f005"; }

/* closing CTA */
html body .spx-cta { position: relative; overflow: hidden; isolation: isolate; border-radius: 24px; padding: 40px 44px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px;
  background: radial-gradient(ellipse 60% 120% at 85% 50%, rgba(16,172,132,.30) 0%, rgba(16,172,132,0) 70%), linear-gradient(115deg, #151515 0%, #1B2723 50%, #12382E 100%); box-shadow: 0 14px 40px rgba(0,0,0,.14); }
html body .spx-cta::before { content: ""; position: absolute; inset: -10% 2% -10% 50%; z-index: -1; background: url("/assets/images/canada-map.svg") right center / contain no-repeat; opacity: .14; }
html body .spx-cta-text { flex: 1 1 420px; }
html body .spx-cta h3 { color: #fff !important; font-family: 'Poppins', sans-serif !important; font-weight: 700 !important; font-size: 1.5rem !important; margin: 0 0 8px !important; }
html body .spx-cta p { color: #CFCFCF !important; margin: 0; line-height: 1.7; }

@media (max-width: 991px) { html body .spx-intro, html body .spx-pair { grid-template-columns: 1fr; } }
@media (max-width: 768px) {
  html body .spx-intro-text, html body .spx-block, html body .spx-why { padding: 26px 20px; border-radius: 20px; }
  html body .spx-cta { padding: 30px 22px; }
  html body .spx-tiers { grid-template-columns: 1fr; }
  html body .spx-btn { white-space: normal; }
}

/* ═════════════════════ Event detail: image on top, content + sticky sidebar ═════════════════════ */
html body .event-detail-section { background: #F6F7F8 !important; padding: 48px 0 80px !important; }
html body .evd { max-width: 1200px; margin: 0 auto; display: flex; flex-direction: column; gap: 28px; }
html body .evd .event-detail-image { height: auto !important; aspect-ratio: auto !important; border-radius: 24px; overflow: hidden; box-shadow: 0 14px 40px rgba(0,0,0,.10); background: #111; }
html body .evd .event-detail-image img { width: 100% !important; height: auto !important; max-height: none !important; object-fit: contain !important; display: block; }
html body .evd-grid { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 28px; align-items: start; }
html body .evd-main { background: #fff; border: 1px solid #EFEFEF; border-radius: 24px; box-shadow: 0 14px 40px rgba(0,0,0,.06); padding: 40px 44px; min-width: 0; }
html body .evd-main h2 { font-family: 'Poppins', sans-serif !important; font-weight: 700 !important; font-size: clamp(1.6rem, 2.6vw, 2.2rem) !important; line-height: 1.2 !important; color: #111 !important; margin: 0 0 22px !important; letter-spacing: -0.01em; }
html body .evd-main .event-description { border-top: 1px solid #F0F0F0; padding-top: 22px; margin: 0 !important; }
html body .evd-main .event-description h3 { font-size: 1.15rem !important; margin-bottom: 12px !important; }
html body .evd-main .event-description img { max-width: 100%; height: auto; border-radius: 14px; }
html body .evd-back { margin-top: 26px; }
html body .evd-side { position: sticky; top: 110px; }
html body .evd-card { background: #fff; border: 1px solid #EFEFEF; border-radius: 24px; box-shadow: 0 14px 40px rgba(0,0,0,.08); padding: 10px 22px 24px; }
/* meta as a clean list in the sidebar */
html body .evd-card .event-meta-wrap { display: flex !important; flex-direction: column; gap: 0 !important; margin: 0 0 18px !important; }
html body .evd-card .event-meta-item { border: 0 !important; border-bottom: 1px solid #F0F0F0 !important; border-radius: 0 !important; background: transparent !important; padding: 16px 0 16px 54px !important; min-height: 0 !important; }
html body .evd-card .event-meta-item:last-child { border-bottom: 0 !important; }
html body .evd-card .event-meta-item::before { left: 0 !important; }
html body .evd-card .event-meta-item strong { font-size: .7rem !important; }
html body .evd-card .event-meta-item span { font-size: .96rem !important; line-height: 1.45; }
/* registration boxes inside the card */
html body .evd-card > div[style*="border-radius:10px"] { border-radius: 16px !important; }
html body .evd-card .event-btn { display: flex !important; justify-content: center; align-items: center; width: 100%; padding: 13px 18px !important; background: #10AC84 !important; color: #fff !important; text-align: center; margin-top: 4px; }
html body .evd-card .event-btn:hover { background: #0E9673 !important; }
html body .evd-card .event-actions { display: flex; flex-direction: column; gap: 10px; margin: 0 !important; }
html body .evd-card .event-actions:empty, html body .evd-card .event-actions:not(:has(a)) { display: none; }
html body .evd-card .event-actions .event-btn { background: #111 !important; }
html body .evd-card .event-actions .event-btn:hover { background: #333 !important; }
@media (max-width: 991px) {
  html body .evd-grid { grid-template-columns: 1fr; }
  html body .evd-side { position: static; order: -1; }
}
@media (max-width: 767px) {
  html body .evd-main { padding: 26px 20px; border-radius: 20px; }
  html body .evd .event-detail-image { border-radius: 18px; }
}
html body .evd-main .event-description, html body .evd-main .event-description p, html body .evd-main .event-description li { font-size: 1rem !important; line-height: 1.8 !important; color: #444 !important; }

/* ═════════════════════ Events list page ═════════════════════ */
html body .evl-page { background: #F6F7F8 !important; padding: 40px 0 80px !important; }
html body .evl-page .container { display: flex; flex-direction: column; gap: 26px; max-width: 1200px; }
html body .evl-btn { display: inline-flex; align-items: center; gap: 9px; padding: 12px 22px; border-radius: 999px; font-family: 'Poppins', sans-serif; font-weight: 600; font-size: 14.5px; text-decoration: none !important; transition: background .15s, border-color .15s, transform .15s; line-height: 1.2; }
html body .evl-btn-green { background: #10AC84; color: #fff !important; border: 1px solid #10AC84; }
html body .evl-btn-green:hover { background: #0E9673; }
html body .evl-btn-ghost { background: #fff; color: #111 !important; border: 1px solid #DADDE0; }
html body .evl-btn-ghost:hover { border-color: #111; }
html body .evl-actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }

html body .evl-toolbar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px; }
html body .evl-toolbar .event-scope-tabs { margin: 0 !important; }
html body .evl-count { color: #555; font-size: 15px; }
html body .evl-count b { font-family: 'Poppins', sans-serif; color: #111; font-size: 18px; margin-right: 2px; }

/* featured next event */
html body .evl-featured { display: grid; grid-template-columns: 1.15fr 1fr; background: #fff; border: 1px solid #EFEFEF; border-radius: 24px; overflow: hidden; box-shadow: 0 14px 40px rgba(0,0,0,.08); text-decoration: none !important; color: inherit; transition: transform .2s, box-shadow .2s; }
html body .evl-featured:hover { transform: translateY(-3px); box-shadow: 0 20px 46px rgba(0,0,0,.12); }
html body .evl-featured-img { position: relative; background: #111; aspect-ratio: 16 / 9; height: 100%; min-height: 100%; }
html body .evl-featured-img img { width: 100%; height: 100%; object-fit: cover; display: block; position: absolute; inset: 0; }
html body .evl-featured-body { padding: 36px 38px; display: flex; flex-direction: column; justify-content: center; gap: 14px; }
html body .evl-next { align-self: flex-start; display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px; border-radius: 999px; background: #FDECEC; color: #B00000; font-size: 12.5px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; }
html body .evl-dot { width: 8px; height: 8px; border-radius: 50%; background: #D60000; box-shadow: 0 0 0 4px rgba(214,0,0,.15); }
html body .evl-featured-body h2 { font-family: 'Poppins', sans-serif !important; font-weight: 700 !important; font-size: clamp(1.5rem, 2.4vw, 2rem) !important; line-height: 1.2 !important; color: #111 !important; margin: 0 !important; }
html body .evl-facts { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
html body .evl-facts li { display: flex; align-items: center; gap: 10px; color: #444; font-size: 15.5px; }
html body .evl-facts i { width: 30px; height: 30px; border-radius: 10px; background: #E7F7F2; color: #10AC84; display: inline-flex; align-items: center; justify-content: center; font-size: 13px; }
html body .evl-countdown { color: #777; font-size: .9rem; margin: 0 !important; }
html body .evl-featured-cta { align-self: flex-start; margin-top: 6px; }

/* month groups */
html body .evl-month { font-family: 'Poppins', sans-serif !important; font-weight: 700 !important; font-size: 1.15rem !important; color: #111 !important; margin: 10px 0 -8px !important; display: flex; align-items: center; gap: 14px; text-transform: capitalize; }
html body .evl-month::after { content: ""; flex: 1; height: 1px; background: #E3E6E8; }
html body .evl-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
html body .evl-card { text-decoration: none !important; color: inherit; height: 100%; }
html body .evl-card .event-link { margin-top: auto; }
html body .evl-ph { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; background: linear-gradient(135deg, #1B2723, #12382E); color: rgba(255,255,255,.5); font-size: 2.2rem; }

/* pagination */
html body .evl-pagination { display: flex; justify-content: center; gap: 6px; }
html body .evl-pagination a, html body .evl-pagination span { min-width: 42px; height: 42px; padding: 0 12px; border-radius: 999px; display: inline-flex; align-items: center; justify-content: center; background: #fff; border: 1px solid #E3E6E8; color: #333; font-weight: 600; text-decoration: none !important; }
html body .evl-pagination a:hover { border-color: #111; }
html body .evl-pagination .is-current { background: #111; border-color: #111; color: #fff; }

/* empty state */
html body .evl-empty { background: #fff; border: 1px dashed #D8DCDF; border-radius: 24px; padding: 54px 24px; text-align: center; }
html body .evl-empty-icon { width: 60px; height: 60px; margin: 0 auto 16px; border-radius: 18px; background: #E7F7F2; color: #10AC84; display: flex; align-items: center; justify-content: center; font-size: 1.5rem; }
html body .evl-empty h3 { font-family: 'Poppins', sans-serif !important; font-weight: 700 !important; margin: 0 0 8px !important; }
html body .evl-empty p { color: #666; margin: 0 0 22px; }

/* promos */
html body .evl-promos { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; margin-top: 10px; }
html body .evl-promo { display: flex; align-items: center; gap: 18px; padding: 26px 28px; border-radius: 22px; background: #fff; border: 1px solid #EFEFEF; box-shadow: 0 10px 30px rgba(0,0,0,.05); text-decoration: none !important; color: inherit; transition: transform .15s, border-color .15s; }
html body .evl-promo:hover { transform: translateY(-2px); border-color: #10AC84; }
html body .evl-promo-map { position: relative; overflow: hidden; isolation: isolate; border: 0; background: radial-gradient(ellipse 70% 120% at 85% 50%, rgba(16,172,132,.30) 0%, rgba(16,172,132,0) 70%), linear-gradient(115deg, #151515 0%, #1B2723 55%, #12382E 100%); }
html body .evl-promo-map::before { content: ""; position: absolute; inset: -20% -5% -20% 45%; z-index: -1; background: url("/assets/images/canada-map.svg") center / contain no-repeat; opacity: .18; }
html body .evl-promo-map h3, html body .evl-promo-map .evl-promo-arrow { color: #fff !important; }
html body .evl-promo-map p { color: #CFCFCF !important; }
html body .evl-promo-icon { flex: 0 0 52px; height: 52px; border-radius: 16px; background: #E7F7F2; color: #10AC84; display: inline-flex; align-items: center; justify-content: center; font-size: 1.3rem; }
html body .evl-promo-map .evl-promo-icon { background: rgba(16,172,132,.2); color: #6FE0BD; border: 1px solid rgba(16,172,132,.45); }
html body .evl-promo h3 { font-family: 'Poppins', sans-serif !important; font-weight: 700 !important; font-size: 1.08rem !important; margin: 0 0 4px !important; color: #111 !important; }
html body .evl-promo p { margin: 0; color: #666; font-size: .92rem; line-height: 1.55; }
html body .evl-promo > div { flex: 1; }
html body .evl-promo-arrow { color: #111; transition: transform .15s; }
html body .evl-promo:hover .evl-promo-arrow { transform: translateX(3px); }

@media (max-width: 991px) {
  html body .evl-featured { grid-template-columns: 1fr; }
  html body .evl-featured-img { height: auto; }
  html body .evl-grid { grid-template-columns: repeat(2, 1fr); }
  html body .evl-promos { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  html body .evl-grid { grid-template-columns: 1fr; }
  html body .evl-featured-body { padding: 24px 20px; }
  html body .evl-toolbar { justify-content: center; }
}
/* events list: smaller cards, three per row, a lone card stays centred */
html body .evl-grid { display: flex !important; flex-wrap: wrap; justify-content: center; gap: 22px; }
html body .evl-grid > .evl-card { flex: 0 1 calc((100% - 44px) / 3); max-width: 360px; }
html body .evl-card .event-img { aspect-ratio: 16 / 9; }
html body .evl-card .event-content { padding: 16px 18px 14px !important; }
html body .evl-card .event-content h3 { font-size: 1rem !important; margin-bottom: 10px !important; }
html body .evl-month { justify-content: center; text-align: center; }
html body .evl-month::before { content: ""; flex: 1; height: 1px; background: #E3E6E8; }
@media (max-width: 991px) { html body .evl-grid > .evl-card { flex-basis: calc((100% - 22px) / 2); } }
@media (max-width: 600px) { html body .evl-grid > .evl-card { flex-basis: 100%; max-width: 420px; } }
/* bottom cards: proper buttons instead of an arrow */
html body .evl-promo { align-items: flex-start; }
html body .evl-promo .evl-btn { margin-top: 16px; }
html body .evl-btn-dark { background: #111; color: #fff !important; border: 1px solid #111; }
html body .evl-promo:hover .evl-btn-dark { background: #333; }
html body .evl-promo:hover .evl-btn-green { background: #0E9673; }
html body .evl-promo.evl-promo-map h3 { color: #fff !important; }
html body .evl-promo.evl-promo-map p { color: #CFCFCF !important; }

/* ═════════════════════ Forum (index, category, thread, new thread) ═════════════════════ */
html body .lac-section:has(.forum-cat-card), html body .lac-section:has(.thread-card), html body .lac-section:has(.post-card), html body .lac-section:has(.form-card), html body .lac-section:has(> .container > .breadcrumb-bar) { background: #F6F7F8 !important; }
/* sign-in notice */
html body .lac-section [style*="#fff3cd"] { background: #fff !important; border: 1px solid #D7EFE7 !important; border-left: 4px solid #10AC84 !important; border-radius: 16px !important; padding: 16px 20px !important; color: #444 !important; }
html body .lac-section [style*="#fff3cd"] i { color: #10AC84 !important; }
/* category cards */
html body .forum-cat-card { display: flex !important; align-items: center; gap: 18px; background: #fff !important; border: 1px solid #EFEFEF !important; border-radius: 20px !important; padding: 20px 22px !important; box-shadow: 0 10px 30px rgba(0,0,0,.05) !important; margin-bottom: 14px !important; transition: transform .15s, box-shadow .15s, border-color .15s !important; text-decoration: none !important; }
html body .forum-cat-card:hover { transform: translateY(-2px); border-color: #10AC84 !important; box-shadow: 0 16px 36px rgba(0,0,0,.08) !important; }
html body .forum-cat-icon { width: 54px !important; height: 54px !important; flex: 0 0 54px; border-radius: 16px !important; background: #E7F7F2 !important; color: #10AC84 !important; display: flex !important; align-items: center; justify-content: center; font-size: 1.35rem !important; }
html body .forum-cat-card:hover .forum-cat-icon { background: #10AC84 !important; color: #fff !important; }
html body .forum-cat-body h3 { font-family: 'Poppins', sans-serif !important; font-weight: 700 !important; font-size: 1.08rem !important; color: #111 !important; margin: 0 0 4px !important; }
html body .forum-cat-body p { color: #666 !important; font-size: .9rem !important; margin: 0 !important; }
html body .forum-cat-stats { text-align: center; min-width: 74px; padding: 8px 12px; border-radius: 14px; background: #F6F7F8; }
html body .forum-cat-stats .num { display: block; font-family: 'Poppins', sans-serif; font-weight: 700; font-size: 1.35rem !important; color: #111 !important; line-height: 1.1; }
html body .forum-cat-stats .lbl { font-size: .72rem !important; color: #888 !important; text-transform: uppercase; letter-spacing: .06em; }
/* recent activity */
html body .lac-section h2:has(.fa-clock) { font-family: 'Poppins', sans-serif !important; font-size: 1.2rem !important; margin: 36px 0 14px !important; }
html body .thread-row { background: #fff !important; border: 1px solid #EFEFEF !important; border-radius: 16px !important; padding: 14px 18px !important; margin-bottom: 10px !important; display: flex; align-items: center; gap: 14px; box-shadow: none !important; }
html body .thread-row:hover { border-color: #10AC84 !important; }
html body .th-icon { width: 38px !important; height: 38px !important; flex: 0 0 38px; border-radius: 12px !important; background: #F3F4F5 !important; color: #777 !important; display: flex !important; align-items: center; justify-content: center; }
html body .thread-row:has(.fa-check) .th-icon { background: #E7F7F2 !important; color: #10AC84 !important; }
html body .th-title { flex: 1; min-width: 0; }
html body .th-title a { font-family: 'Poppins', sans-serif; font-weight: 600 !important; color: #111 !important; }
html body .th-meta { color: #888 !important; font-size: .8rem !important; }
html body .th-stats { padding: 4px 10px; border-radius: 999px; background: #F6F7F8; color: #555 !important; font-size: .82rem; font-weight: 600; white-space: nowrap; }
/* badges */
html body .badge-solved { background: #E7F7F2 !important; color: #0B7A5E !important; border-radius: 999px !important; padding: 3px 10px !important; font-weight: 700; font-size: .7rem !important; }
html body .badge-pinned { background: #FEF3E2 !important; color: #A6620B !important; border-radius: 999px !important; padding: 3px 10px !important; font-weight: 700; }
html body .badge-locked { background: #FDECEC !important; color: #B00000 !important; border-radius: 999px !important; padding: 3px 10px !important; font-weight: 700; }
/* sidebar */
html body .forum-sidebar-card { background: #fff !important; border: 1px solid #EFEFEF !important; border-radius: 20px !important; box-shadow: 0 10px 30px rgba(0,0,0,.05) !important; overflow: hidden; margin-bottom: 18px !important; }
html body .forum-sidebar-card .card-head { background: #fff !important; color: #111 !important; font-family: 'Poppins', sans-serif; font-weight: 700 !important; font-size: 1rem !important; padding: 18px 20px 6px !important; border: 0 !important; }
html body .forum-sidebar-card .card-head i { color: #10AC84 !important; }
html body .forum-sidebar-card .card-body { padding: 10px 20px 20px !important; }
html body .forum-sidebar-card .card-body:has(.stat-item) { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
html body .stat-item { flex-direction: column-reverse; align-items: flex-start !important; gap: 2px; border: 0 !important; background: #F6F7F8; border-radius: 14px; padding: 12px 14px !important; font-size: .78rem !important; color: #777; }
html body .stat-item .val { font-family: 'Poppins', sans-serif; font-size: 1.35rem; color: #111 !important; line-height: 1.1; }
html body .btn-new-thread, html body .btn-new, html body .forum-sidebar-card a[class*="btn"] { border-radius: 999px !important; background: #10AC84 !important; color: #fff !important; font-family: 'Poppins', sans-serif; font-weight: 600 !important; padding: 11px 20px !important; border: 0 !important; display: inline-flex !important; align-items: center; justify-content: center; gap: 8px; text-decoration: none !important; }
html body .btn-new-thread:hover, html body .btn-new:hover { background: #0E9673 !important; }

/* category page: thread list */
html body .thread-card { background: #fff !important; border: 1px solid #EFEFEF !important; border-radius: 18px !important; padding: 16px 20px !important; margin-bottom: 12px !important; box-shadow: 0 8px 24px rgba(0,0,0,.04) !important; display: flex !important; align-items: center; gap: 16px; transition: border-color .15s, transform .15s; }
html body .thread-card:hover { border-color: #10AC84 !important; transform: translateY(-1px); }
html body .thread-avatar, html body .thread-avatar-ph, html body .post-avatar, html body .post-avatar-ph { border-radius: 50% !important; }
html body .thread-avatar-ph, html body .post-avatar-ph { background: #E7F7F2 !important; color: #10AC84 !important; font-family: 'Poppins', sans-serif; font-weight: 700 !important; }
html body .thread-title { font-family: 'Poppins', sans-serif; font-weight: 600 !important; font-size: 1rem !important; color: #111 !important; }
html body .thread-title:hover { color: #10AC84 !important; }
html body .thread-meta { display: flex; flex-wrap: wrap; gap: 6px 12px; align-items: center; color: #888 !important; font-size: .8rem !important; margin-top: 4px; }
html body .thread-stats { text-align: center; min-width: 74px; padding: 8px 12px; border-radius: 14px; background: #F6F7F8; color: #888; font-size: .74rem; }
html body .thread-stats .big { display: block; font-family: 'Poppins', sans-serif; font-weight: 700; font-size: 1.3rem !important; color: #111 !important; }
html body .lac-section .pagination { gap: 6px; }
html body .lac-section .pagination a, html body .lac-section .pagination span { border-radius: 999px !important; min-width: 40px; height: 40px; display: inline-flex !important; align-items: center; justify-content: center; border: 1px solid #E3E6E8 !important; background: #fff !important; color: #333 !important; }
html body .lac-section .pagination .active, html body .lac-section .pagination .active a { background: #111 !important; border-color: #111 !important; color: #fff !important; }
html body .lac-section:has(.thread-card) div[style*="#f7f7f7"] { background: #fff !important; border: 1px dashed #D8DCDF !important; border-radius: 20px !important; }

/* thread page header = page hero */
html body .thread-title-bar { position: relative; overflow: hidden; isolation: isolate; border: 0 !important; padding: 54px 0 50px !important;
  background: radial-gradient(ellipse 60% 120% at 78% 50%, rgba(16,172,132,.28) 0%, rgba(16,172,132,0) 70%), linear-gradient(115deg, #151515 0%, #1B2723 50%, #12382E 100%) !important; }
html body .thread-title-bar::before { content: ""; position: absolute; z-index: -1; top: -6%; bottom: -6%; right: 5%; width: 40%; background: url("/assets/images/canada-map.svg") center / contain no-repeat; opacity: .24; }
html body .thread-title-bar h1 { color: #fff !important; font-family: 'Poppins', sans-serif !important; font-size: clamp(1.5rem, 2.6vw, 2.2rem) !important; line-height: 1.25 !important; max-width: 900px; }
html body .thread-title-bar h1 + div { color: #BDBDBD !important; font-size: .86rem !important; margin-top: 10px !important; }
html body .thread-title-bar h1 + div i { color: #10AC84; }
html body .thread-title-bar h1 span { border-radius: 999px !important; }
html body .ft-crumbs { font-size: .84rem; color: #9A9A9A; margin-bottom: 14px; }
html body .ft-crumbs a { color: #BDBDBD !important; text-decoration: none; }
html body .ft-crumbs a:hover { color: #fff !important; }
html body .ft-crumbs span { color: #fff !important; }
/* posts */
html body .solved-bar { background: #E7F7F2 !important; border: 1px solid #C5EBDD !important; color: #0B7A5E !important; border-radius: 16px !important; padding: 14px 18px !important; display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; font-weight: 600; }
html body .btn-toggle-solved { border-radius: 999px !important; }
html body .post-card { background: #fff !important; border: 1px solid #EFEFEF !important; border-radius: 20px !important; box-shadow: 0 10px 30px rgba(0,0,0,.05) !important; padding: 24px 26px !important; margin-bottom: 16px !important; }
html body .post-card.is-op { border-top: 4px solid #111 !important; }
html body .post-card.is-solution { border: 1px solid #10AC84 !important; background: #FAFFFD !important; box-shadow: 0 12px 32px rgba(16,172,132,.12) !important; }
html body .solution-badge { background: #10AC84 !important; color: #fff !important; border-radius: 999px !important; padding: 5px 12px !important; font-weight: 700; font-size: .75rem; }
html body .post-author-info .name { font-family: 'Poppins', sans-serif; font-weight: 700 !important; color: #111 !important; }
html body .post-author-info .meta { color: #999 !important; font-size: .78rem !important; }
html body .post-body { color: #333 !important; font-size: .98rem !important; line-height: 1.75 !important; }
html body .post-actions { border-top: 1px solid #F0F0F0; padding-top: 12px; margin-top: 14px; display: flex; flex-wrap: wrap; gap: 8px; }
html body .post-actions button, html body .post-actions a, html body .btn-like, html body .btn-mark-sol { border-radius: 999px !important; }
html body .btn-like.liked { background: #E7F7F2 !important; color: #0B7A5E !important; border-color: #10AC84 !important; }
/* reply + new thread forms */
html body .reply-form, html body .form-card { background: #fff !important; border: 1px solid #EFEFEF !important; border-radius: 20px !important; box-shadow: 0 10px 30px rgba(0,0,0,.05) !important; }
html body .form-card { padding: 30px 32px !important; }
html body .lac-section .bb-toolbar { border-radius: 12px 12px 0 0 !important; background: #F6F7F8 !important; border-color: #E3E6E8 !important; }
html body .lac-section .bb-btn { border-radius: 8px !important; }
html body .lac-section textarea, html body .form-card .form-control { border-radius: 12px !important; border-color: #E3E6E8 !important; }
html body .lac-section textarea:focus, html body .form-card .form-control:focus { border-color: #10AC84 !important; box-shadow: 0 0 0 3px rgba(16,172,132,.18) !important; outline: none; }
html body .lac-section .bb-toolbar + textarea { border-radius: 0 0 12px 12px !important; }
html body .btn-submit { border-radius: 999px !important; background: #10AC84 !important; border: 0 !important; color: #fff !important; font-family: 'Poppins', sans-serif; font-weight: 600 !important; padding: 11px 24px !important; }
html body .btn-submit:hover { background: #0E9673 !important; }
html body .bb-ref { border-radius: 16px !important; }
@media (max-width: 600px) {
  html body .forum-cat-card { padding: 16px !important; gap: 12px; }
  html body .forum-cat-stats, html body .thread-stats { min-width: 58px; padding: 6px 8px; }
  html body .post-card { padding: 18px !important; }
}
html body .solved-bar { justify-content: flex-start !important; }
html body .solved-bar form { margin-left: auto !important; }
html body section:has(.forum-cat-card) { background: #F6F7F8 !important; }

/* ═════════════════════ Community menu pages (groups, submit, member blog, jobs, chapter news, chapter apply, refurbished computers, directories) ═════════════════════ */
/* page backgrounds */
html body :is(.comm-section, .submit-section, .rc-form-section, .rc-steps) { background: #F6F7F8 !important; }
html body .lac-section:has(:is(.chapter-news-wrap, .member-grid, .member-list, .article-card, .search-wrap, .jobs-layout, .job-search-bar, .ca-form-wrap, .dir-toolbar, .filter-card)) { background: #F6F7F8 !important; }
html body .rc-eligibility { background: #fff !important; padding: 64px 0 !important; }

/* cards: white, rounded, soft shadow */
html body :is(.comm-filter-card, .submit-card, .sidebar-card, .jobs-sidebar-card, .filter-card, .chapter-news-card, .chapter-news-empty, .ca-form-wrap, .rc-form-wrap, .comm-card, .article-card, .job-card, .member-card, .member-list-item, .no-jobs, .comm-empty, .job-search-bar, .rc-step-card) {
  background: #fff !important; border: 1px solid #EFEFEF !important; border-radius: 20px !important;
  box-shadow: 0 10px 30px rgba(0,0,0,.05) !important; }
html body :is(.comm-filter-card, .submit-card, .sidebar-card, .jobs-sidebar-card, .filter-card, .comm-card, .article-card, .member-card) { overflow: hidden; }
html body :is(.comm-card, .article-card, .job-card, .member-card, .member-list-item, .chapter-news-card) { transition: transform .15s, border-color .15s, box-shadow .15s !important; }
html body :is(.comm-card, .article-card, .job-card, .member-card, .member-list-item, .chapter-news-card):hover { transform: translateY(-2px); border-color: #10AC84 !important; box-shadow: 0 16px 36px rgba(0,0,0,.08) !important; }

/* card headings: white instead of black bars, green icon */
html body :is(.comm-filter-card, .sidebar-card, .filter-card) .card-head,
html body .submit-card-head, html body .jobs-sidebar-head, html body .jobs-sidebar-card .jobs-sidebar-head[style] {
  background: #fff !important; color: #111 !important; font-family: 'Poppins', sans-serif !important; font-weight: 700 !important;
  font-size: 1rem !important; padding: 20px 22px 8px !important; border: 0 !important; letter-spacing: 0 !important; text-transform: none !important; }
html body .jobs-sidebar-head h4, html body .jobs-sidebar-head h4[style] { color: #111 !important; font-family: 'Poppins', sans-serif !important; font-weight: 700 !important; font-size: 1rem !important; margin: 0 !important; }
html body :is(.card-head, .submit-card-head, .jobs-sidebar-head) i { color: #10AC84 !important; margin-right: 8px; }
html body .submit-card-head { font-size: 1.12rem !important; padding: 26px 30px 6px !important; display: flex; align-items: center; }
html body .submit-card-head i { width: 38px; height: 38px; border-radius: 12px; background: #E7F7F2; display: inline-flex !important; align-items: center; justify-content: center; font-size: .95rem; margin-right: 12px !important; }
html body .submit-card-body { padding: 14px 30px 26px !important; }
html body .submit-card { margin-bottom: 22px !important; }

/* form section labels inside one long form (chapter apply, refurbished computers) */
html body :is(.ca-section-label, .rc-section-label) {
  background: none !important; color: #111 !important; margin: 34px 0 18px !important; padding: 0 0 12px !important;
  border-bottom: 1px solid #EFEFEF !important; font-family: 'Poppins', sans-serif !important; font-size: 1.05rem !important;
  font-weight: 700 !important; text-transform: none !important; letter-spacing: 0 !important; }
html body :is(.ca-section-label, .rc-section-label):first-of-type { margin-top: 8px !important; }
html body :is(.ca-section-label, .rc-section-label) i { width: 34px; height: 34px; border-radius: 11px; background: #E7F7F2; color: #10AC84 !important; display: inline-flex; align-items: center; justify-content: center; font-size: .85rem; }
html body :is(.ca-form-wrap, .rc-form-wrap) { border-radius: 24px !important; padding: 40px 44px !important; }
html body .rc-form-wrap h2 { font-family: 'Poppins', sans-serif !important; font-weight: 700 !important; }

/* inputs */
html body :is(.submit-card, .ca-form-wrap, .rc-form-wrap) :is(.form-control, .ca-input, .rc-input, select, textarea),
html body :is(.job-search-input, .search-wrap input, .comm-search-wrap input, .per-page-select) {
  border: 1px solid #E3E6E8 !important; border-radius: 12px !important; background: #fff !important; min-height: 46px; padding: 10px 14px !important;
  font-size: .95rem !important; color: #222 !important; box-shadow: none !important; transition: border-color .15s, box-shadow .15s; }
html body :is(.submit-card, .ca-form-wrap, .rc-form-wrap) textarea { min-height: 110px; }
html body :is(.submit-card, .ca-form-wrap, .rc-form-wrap) :is(.form-control, .ca-input, .rc-input, select, textarea):focus,
html body :is(.job-search-input, .search-wrap input, .comm-search-wrap input):focus { border-color: #10AC84 !important; box-shadow: 0 0 0 3px rgba(16,172,132,.18) !important; outline: none !important; }
html body :is(.submit-card .form-label, .ca-field label, .rc-field label) { font-size: .86rem !important; font-weight: 600 !important; color: #333 !important; margin-bottom: 6px !important; }
html body :is(.form-hint) { color: #888 !important; font-size: .78rem !important; }
html body :is(.ca-toggle-row, .rc-toggle-row) { background: #F6F7F8 !important; border: 1px solid #EFEFEF !important; border-radius: 14px !important; }

/* primary buttons: green pill */
html body :is(.btn-submit, .ca-submit-btn, .rc-submit-btn, .job-search-btn, .btn-write, .apply-btn, .comm-link-btn.btn-website, .bd-link, .member-list-view) {
  background: #10AC84 !important; border: 1px solid #10AC84 !important; color: #fff !important; border-radius: 999px !important;
  font-family: 'Poppins', sans-serif !important; font-weight: 600 !important; box-shadow: none !important; transition: background .15s, transform .15s !important; }
html body :is(.btn-submit, .ca-submit-btn, .rc-submit-btn) { padding: 14px 30px !important; font-size: 1rem !important; }
html body :is(.btn-submit, .ca-submit-btn, .rc-submit-btn, .job-search-btn, .btn-write, .apply-btn, .comm-link-btn.btn-website, .bd-link, .member-list-view):hover { background: #0E9673 !important; border-color: #0E9673 !important; transform: translateY(-1px); }
html body :is(.search-wrap, .comm-search-wrap) button { background: #10AC84 !important; border-color: #10AC84 !important; color: #fff !important; border-radius: 0 12px 12px 0 !important; }
html body :is(.search-wrap, .comm-search-wrap) input { border-radius: 12px 0 0 12px !important; }
html body .comm-search-wrap input { border: 0 !important; }
html body .comm-search-wrap { border-radius: 999px !important; overflow: hidden; box-shadow: 0 10px 30px rgba(0,0,0,.25) !important; }
html body .comm-search-wrap input { border-radius: 0 !important; padding-left: 22px !important; }
html body .comm-search-wrap button { border-radius: 0 !important; padding: 0 22px !important; }

/* filter links (side lists) */
html body :is(.comm-filter-link, .filter-link, .quick-search-link) { border-radius: 10px !important; padding: 8px 12px !important; color: #444 !important; border: 0 !important; }
html body :is(.comm-filter-link, .filter-link, .quick-search-link):hover { background: #F6F7F8 !important; color: #111 !important; }
html body :is(.comm-filter-link, .filter-link).active { background: #E7F7F2 !important; color: #0B7A5E !important; font-weight: 600; }
html body :is(.comm-filter-card, .filter-card) .card-body, html body .jobs-sidebar-body, html body .sidebar-card .card-body { padding: 8px 14px 18px !important; }
html body .quick-search-link i { color: #10AC84 !important; }

/* sort bars, pagination, toolbars */
html body :is(.comm-sort-bar, .dir-toolbar) { background: #fff !important; border: 1px solid #EFEFEF !important; border-radius: 16px !important; padding: 12px 18px !important; box-shadow: none !important; }
html body :is(.comm-sort-bar .sort-links a, .view-toggle a) { border-radius: 999px !important; }
html body :is(.comm-sort-bar .sort-links a.active, .view-toggle a.active) { background: #10AC84 !important; border-color: #10AC84 !important; color: #fff !important; }
html body :is(.comm-page-btn, .dir-page-btn, .chapter-news-page, .job-pgn a, .job-pgn span, .lac-section .pagination a, .lac-section .pagination span) { border-radius: 12px !important; border: 1px solid #E3E6E8 !important; background: #fff !important; color: #333 !important; min-width: 40px; }
html body :is(.comm-page-btn.active, .dir-page-btn.active, .chapter-news-page.active, .job-pgn .cur, .lac-section .pagination .active) { background: #10AC84 !important; border-color: #10AC84 !important; color: #fff !important; }

/* community group cards: brand gradient + map instead of blue placeholder */
html body .comm-card-img-placeholder { position: relative; overflow: hidden; height: 128px !important;
  background: radial-gradient(ellipse 70% 90% at 80% 30%, rgba(16,172,132,.35), rgba(16,172,132,0) 70%), linear-gradient(115deg, #151515, #1B2723 55%, #12382E) !important; }
html body .comm-card-img-placeholder::before { content: ""; position: absolute; inset: 10% -5% 10% 35%; background: url("/assets/images/canada-map.svg") center / contain no-repeat; opacity: .16; }
html body .comm-card-img-placeholder i { position: relative; color: rgba(255,255,255,.55) !important; font-size: 2.4rem !important; }
html body .comm-card-avatar { border-radius: 14px !important; background: #E7F7F2 !important; color: #10AC84 !important; border: 3px solid #fff !important; }
html body .comm-card-title { font-family: 'Poppins', sans-serif !important; font-weight: 700 !important; }
html body .comm-card-footer { border-top: 1px solid #F0F0F0 !important; background: #fff !important; }
html body :is(.comm-tag, .skill-tag, .article-tag, .job-pill, .tag-cloud a) { border-radius: 999px !important; background: #F3F4F5 !important; border: 0 !important; color: #444 !important; }
html body :is(.comm-type-badge) { border-radius: 999px !important; background: #E7F7F2 !important; color: #0B7A5E !important; border: 0 !important; }

/* blog listing */
html body .post-box { background: #fff !important; border: 1px solid #EFEFEF !important; border-radius: 20px !important; overflow: hidden; box-shadow: 0 10px 30px rgba(0,0,0,.05) !important; text-align: left !important; transition: transform .15s, border-color .15s; }
html body .post-box:hover { transform: translateY(-2px); border-color: #10AC84 !important; }
html body .post-box .post-img { aspect-ratio: 16 / 9; overflow: hidden; position: relative;
  background: radial-gradient(ellipse 70% 90% at 80% 30%, rgba(16,172,132,.35), rgba(16,172,132,0) 70%), url("/assets/images/canada-map.svg") 85% 50% / 55% no-repeat, linear-gradient(115deg, #151515, #1B2723 55%, #12382E) !important; }
html body .post-box .post-img img { width: 100%; height: 100%; object-fit: cover; }
html body .post-box .post-info { padding: 20px 22px 22px !important; }
html body .post-box .post-info h3, html body .post-box .post-info h3 a { font-family: 'Poppins', sans-serif !important; font-weight: 700 !important; font-size: 1.08rem !important; line-height: 1.35 !important; color: #111 !important; }
html body .post-box .post-info h3 a:hover { color: #10AC84 !important; }
html body .post-info-bottom { color: #888 !important; font-size: .8rem !important; display: flex; flex-wrap: wrap; gap: 6px 14px; }
html body .post-info-bottom i { color: #10AC84 !important; }
html body .widget2 { background: #fff !important; border: 1px solid #EFEFEF !important; border-radius: 20px !important; box-shadow: 0 10px 30px rgba(0,0,0,.05) !important; padding: 22px !important; }
html body .widget2 + .widget2 { margin-top: 20px !important; }
html body .widget2 > h3 { font-family: 'Poppins', sans-serif !important; font-size: 1.05rem !important; font-weight: 700 !important; }
html body .widget2 > form input { border: 1px solid #E3E6E8 !important; border-radius: 12px !important; }

/* chapter news */
html body .chapter-news-card { padding: 26px 30px !important; }
html body .chapter-news-card h2 { font-family: 'Poppins', sans-serif !important; font-weight: 700 !important; font-size: 1.3rem !important; color: #111 !important; }
html body .chapter-news-logo-placeholder { border-radius: 14px !important; background: #E7F7F2 !important; color: #10AC84 !important; }
html body .chapter-news-date { background: #F6F7F8 !important; border-radius: 999px !important; padding: 4px 12px !important; }
html body .chapter-news-link { color: #10AC84 !important; font-weight: 600 !important; }

/* jobs */
html body .job-search-bar { padding: 14px !important; }
html body .job-logo, html body .job-logo-ph { border-radius: 14px !important; }
html body .job-title a { font-family: 'Poppins', sans-serif !important; font-weight: 700 !important; color: #111 !important; }

/* refurbished computers */
html body .rc-step-card { border-top: 0 !important; padding: 28px 24px !important; }
html body .rc-step-num { background: #10AC84 !important; color: #fff !important; border-radius: 14px !important; }
html body .rc-step-card h4 { font-family: 'Poppins', sans-serif !important; }
html body .rc-elig-item { background: #F6F7F8 !important; border: 1px solid #EFEFEF !important; border-left: 0 !important; border-radius: 14px !important; padding: 14px 16px !important; }

/* member directory */
html body :is(.member-avatar, .member-avatar-ph) { border: 3px solid #E7F7F2 !important; }
html body .member-name { font-family: 'Poppins', sans-serif !important; font-weight: 700 !important; }

/* business directory */
html body .bd-section { background: #F6F7F8 !important; padding: 56px 0 80px !important; }
html body .bd-section .bd-grid { gap: 22px !important; }
html body .bd-card { border-radius: 20px !important; border: 1px solid #EFEFEF !important; box-shadow: 0 10px 30px rgba(0,0,0,.05) !important; padding: 26px !important; display: flex; flex-direction: column; transition: transform .15s, border-color .15s; }
html body .bd-card:hover { transform: translateY(-2px); border-color: #10AC84 !important; }
html body .bd-card.premium { border-top: 4px solid #10AC84 !important; }
html body .bd-card h2 { font-family: 'Poppins', sans-serif !important; font-weight: 700 !important; font-size: 1.2rem !important; color: #111 !important; }
html body .bd-card .bd-link { margin-top: auto; align-self: flex-start; padding: 10px 20px !important; }
html body .bd-tag { display: inline-block; align-self: flex-start; background: #E7F7F2; color: #0B7A5E !important; border-radius: 999px; padding: 4px 12px; font-size: .72rem !important; }
html body .bd-logo-ph { width: 56px; height: 56px; border-radius: 16px; background: #E7F7F2; color: #10AC84; display: flex; align-items: center; justify-content: center; font-size: 1.3rem; margin-bottom: 14px; }
html body .bd-empty { background: #fff; border: 1px solid #EFEFEF; border-radius: 20px; padding: 56px 24px; text-align: center; color: #777; }
html body .bd-empty i { display: block; font-size: 2.2rem; color: #10AC84; margin-bottom: 12px; }
@media (max-width: 767px) {
  html body :is(.ca-form-wrap, .rc-form-wrap) { padding: 26px 20px !important; }
  html body .submit-card-head { padding: 22px 20px 6px !important; }
  html body .submit-card-body { padding: 12px 20px 22px !important; }
}
/* blog sidebar: beat the page's own heavy grey card rules */
html body main aside.sidebar-wrap .widget2 { background: #fff !important; border: 1px solid #EFEFEF !important; border-radius: 20px !important; box-shadow: 0 10px 30px rgba(0,0,0,.05) !important; padding: 24px !important; margin-bottom: 20px !important; }
html body main aside.sidebar-wrap .widget2 :is(form, .blog-widget-post-list, .recent-posts-list, ul) { background: transparent !important; }
html body main aside.sidebar-wrap .widget2 h3 { font-family: 'Poppins', sans-serif !important; font-size: 1.05rem !important; font-weight: 700 !important; color: #111 !important; }
html body main aside.sidebar-wrap .category_widget ul li a { background: #F3F4F5 !important; color: #333 !important; border-radius: 999px !important; }
html body main aside.sidebar-wrap .category_widget ul li a:hover { background: #10AC84 !important; color: #fff !important; }
/* mobile top bar: French labels are longer, keep them inside narrow phones */
@media (max-width: 420px) {
  html body .rspn-mdbr .rspn-scil { overflow: hidden; }
  html body .rspn-mdbr .rspn-scil .topbar-links > li { padding: 0 6px !important; }
  html body .rspn-mdbr .rspn-scil .topbar-links > li > a { font-size: 11.5px !important; }
}

/* ═════════════════════ Library menu pages (library, detail, guidelines, submit; distributions, detail, guidelines, submit) ═════════════════════ */
html body :is(.library-section, .ld-body) { background: #F6F7F8 !important; }
html body:has(.distros-wrap, .dd-wrap, .ls-layout, .ds-layout) { background: #F6F7F8 !important; }

/* library listing */
html body .lib-filter-card { background: #fff !important; border: 1px solid #EFEFEF !important; border-radius: 20px !important; box-shadow: 0 10px 30px rgba(0,0,0,.05) !important; overflow: hidden; }
html body .lib-filter-card .card-head { background: #fff !important; color: #111 !important; font-family: 'Poppins', sans-serif !important; font-weight: 700 !important; font-size: 1rem !important; padding: 20px 22px 8px !important; border: 0 !important; }
html body .lib-filter-card .card-head i { color: #10AC84 !important; margin-right: 8px; }
html body .lib-filter-card .card-body { padding: 8px 14px 18px !important; }
html body .lib-filter-link { border-radius: 10px !important; padding: 8px 12px !important; color: #444 !important; }
html body .lib-filter-link:hover { background: #F6F7F8 !important; color: #111 !important; }
html body .lib-filter-link.active { background: #E7F7F2 !important; color: #0B7A5E !important; font-weight: 600; }
html body .lib-card { border: 1px solid #EFEFEF !important; border-top: 1px solid #EFEFEF !important; border-radius: 20px !important; box-shadow: 0 10px 30px rgba(0,0,0,.05) !important; margin-bottom: 20px !important; transition: transform .15s, border-color .15s, box-shadow .15s !important; }
html body .lib-card:hover { transform: translateY(-2px) !important; border-color: #10AC84 !important; box-shadow: 0 16px 36px rgba(0,0,0,.08) !important; }
html body .lib-card-header { padding: 22px 24px 6px !important; }
html body .lib-card-body { padding: 6px 24px 14px !important; }
html body .lib-card-footer { padding: 12px 24px !important; border-top: 1px solid #F0F0F0 !important; background: #fff !important; }
html body .lib-card-logo, html body .lib-card-logo-placeholder { border-radius: 14px !important; }
html body .lib-card-logo-placeholder { background: #E7F7F2 !important; color: #10AC84 !important; }
html body .lib-card-title, html body .lib-card-title a { font-family: 'Poppins', sans-serif !important; font-weight: 700 !important; color: #111 !important; }
html body .lib-tag { border-radius: 999px !important; background: #F3F4F5 !important; color: #444 !important; border: 0 !important; }
html body .lib-link-btn { border-radius: 999px !important; }
html body .lib-link-btn.btn-download { background: #10AC84 !important; border-color: #10AC84 !important; color: #fff !important; }
html body :is(.lib-sort-bar, .lib-toolbar) { background: #fff !important; border: 1px solid #EFEFEF !important; border-radius: 16px !important; padding: 12px 18px !important; }

/* library detail */
html body :is(.ld-main, .ld-section) { border-radius: 20px !important; }
html body .ld-section { background: #fff !important; border: 1px solid #EFEFEF !important; box-shadow: 0 10px 30px rgba(0,0,0,.05) !important; padding: 26px 28px !important; margin-bottom: 20px !important; }
html body .ld-main > .ld-section:last-child { margin-bottom: 0 !important; }
html body .ld-section-title { font-family: 'Poppins', sans-serif !important; font-weight: 700 !important; font-size: 1.02rem !important; color: #111 !important; text-transform: none !important; letter-spacing: 0 !important; }
html body .ld-section-title i { width: 32px; height: 32px; border-radius: 10px; background: #E7F7F2; color: #10AC84 !important; display: inline-flex !important; align-items: center; justify-content: center; font-size: .8rem; margin-right: 6px; }
html body .ld-link-btn { border-radius: 999px !important; padding: 10px 18px !important; }
html body .ld-link-btn.website, html body .ld-link-btn.download { background: #10AC84 !important; border-color: #10AC84 !important; color: #fff !important; }
html body .ld-info-item { background: #F6F7F8; border-radius: 12px; padding: 10px 12px; }
html body .ld-related-card { background: #fff !important; border: 1px solid #EFEFEF !important; border-radius: 16px !important; box-shadow: none !important; transition: border-color .15s, transform .15s; }
html body .ld-related-card:hover { border-color: #10AC84 !important; transform: translateY(-2px); }
html body .ld-hero-logo, html body .ld-hero-logo-ph { border-radius: 16px !important; }
html body .ld-tag { border-radius: 999px !important; }

/* distributions listing: wider, three cards per row by default */
html body .distros-wrap { max-width: 1280px !important; width: 100% !important; padding: 40px 20px 80px !important; }
html body .d-layout { grid-template-columns: 1fr 280px !important; gap: 28px !important; }
html body .d-search-bar { border: 1px solid #EFEFEF !important; border-radius: 16px !important; box-shadow: none !important; }
html body .d-search-bar input { border-radius: 999px !important; }
html body .d-view-btn.active { background: #10AC84 !important; border-color: #10AC84 !important; color: #fff !important; }
html body .d-card { border: 1px solid #EFEFEF !important; border-radius: 20px !important; box-shadow: 0 10px 30px rgba(0,0,0,.05) !important; transition: transform .15s, border-color .15s, box-shadow .15s !important; }
html body .d-card:hover { transform: translateY(-2px); border-color: #10AC84 !important; box-shadow: 0 16px 36px rgba(0,0,0,.08) !important; }
html body .d-logo, html body .d-logo-ph { border-radius: 14px !important; }
html body .d-name { font-family: 'Poppins', sans-serif !important; font-weight: 700 !important; }
html body .d-cards-wrap.grid-mode { grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)) !important; gap: 20px !important; }
html body .d-rank-card { border: 1px solid #EFEFEF !important; border-radius: 20px !important; box-shadow: 0 10px 30px rgba(0,0,0,.05) !important; }
html body .d-rank-head { background: #fff !important; color: #111 !important; font-family: 'Poppins', sans-serif !important; font-size: 1rem !important; padding: 20px 20px 8px !important; }
html body .d-rank-head i { color: #10AC84 !important; }
html body .d-rank-num { color: #10AC84 !important; }
html body .d-pagination a, html body .d-pagination span { border-radius: 12px !important; }
html body .d-pagination .active, html body .d-pagination a.active { background: #10AC84 !important; border-color: #10AC84 !important; color: #fff !important; }
@media (max-width: 900px) { html body .d-layout { grid-template-columns: 1fr !important; } }

/* distribution detail */
html body .dd-wrap { max-width: 1100px !important; width: 100% !important; padding: 44px 20px 80px !important; }
html body .dd-card { border: 1px solid #EFEFEF !important; border-radius: 24px !important; box-shadow: 0 10px 30px rgba(0,0,0,.05) !important; padding: 36px 40px !important; }
html body .dd-title { font-family: 'Poppins', sans-serif !important; font-weight: 700 !important; }
html body .dd-logo { border-radius: 18px !important; }
html body .dd-item { background: #F6F7F8 !important; border: 1px solid #EFEFEF; border-radius: 14px !important; padding: 14px 16px !important; }
html body .dd-desc { font-size: 1.02rem; margin-top: 18px; }
html body .dd-btn { border-radius: 999px !important; padding: 12px 22px !important; font-family: 'Poppins', sans-serif !important; font-weight: 600 !important; }
html body .dd-primary { background: #10AC84 !important; }
html body .dd-secondary { background: #fff !important; color: #111 !important; border: 1px solid #DADDE0 !important; }
html body .dd-secondary:hover { border-color: #111 !important; }
@media (max-width: 600px) { html body .dd-card { padding: 24px 20px !important; } }

/* submit forms (library + distributions) */
html body :is(.ls-card, .ds-card) { background: #fff !important; border: 1px solid #EFEFEF !important; border-radius: 24px !important; box-shadow: 0 10px 30px rgba(0,0,0,.05) !important; padding: 32px 36px !important; margin-bottom: 22px !important; }
html body :is(.ls-sec, .ds-section-label) { color: #111 !important; font-family: 'Poppins', sans-serif !important; font-size: 1.05rem !important; font-weight: 700 !important; text-transform: none !important; letter-spacing: 0 !important; margin: 4px 0 18px !important; padding-bottom: 12px !important; gap: 12px !important; }
html body :is(.ls-sec, .ds-section-label) i { width: 34px; height: 34px; border-radius: 11px; background: #E7F7F2; color: #10AC84 !important; display: inline-flex !important; align-items: center; justify-content: center; font-size: .85rem; }
html body :is(.ls-label, .ds-label) { font-size: .86rem !important; font-weight: 600 !important; color: #333 !important; }
html body :is(.ls-input, .ls-select, .ls-textarea, .ds-input, .ds-select, .ds-textarea) { border: 1px solid #E3E6E8 !important; border-radius: 12px !important; min-height: 46px; padding: 10px 14px !important; font-size: .95rem !important; background: #fff !important; }
html body :is(.ls-input, .ls-select, .ls-textarea, .ds-input, .ds-select, .ds-textarea):focus { border-color: #10AC84 !important; box-shadow: 0 0 0 3px rgba(16,172,132,.18) !important; outline: none !important; }
html body :is(.ls-check) { border-radius: 12px !important; }
html body :is(.ls-submit, .ds-submit) { border-radius: 999px !important; padding: 15px 30px !important; font-family: 'Poppins', sans-serif !important; font-weight: 600 !important; font-size: 1rem !important; background: #10AC84 !important; border: 0 !important; transition: background .15s, transform .15s !important; }
html body :is(.ls-submit, .ds-submit):hover { background: #0E9673 !important; transform: translateY(-1px); }
html body :is(.ls-sidebar, .ds-sidebar-card) { background: #fff !important; border: 1px solid #EFEFEF !important; border-radius: 20px !important; box-shadow: 0 10px 30px rgba(0,0,0,.05) !important; padding: 22px !important; margin-bottom: 18px !important; }
html body :is(.ls-sidebar, .ds-sidebar-card) h4 { font-family: 'Poppins', sans-serif !important; font-size: 1rem !important; font-weight: 700 !important; }
html body :is(.ls-sidebar, .ds-sidebar-card) h4 i { color: #10AC84 !important; }
/* the first sidebar box ("before you submit"): brand hero look instead of black-red */
html body :is(.ls-sidebar, .ds-sidebar-card)[style] { position: relative; overflow: hidden; border: 0 !important;
  background: radial-gradient(ellipse 80% 70% at 85% 15%, rgba(16,172,132,.32), rgba(16,172,132,0) 70%), linear-gradient(115deg, #151515, #1B2723 55%, #12382E) !important; }
html body :is(.ls-sidebar, .ds-sidebar-card)[style] h4 { color: #fff !important; }
html body :is(.ls-sidebar, .ds-sidebar-card)[style] li { color: rgba(255,255,255,.82) !important; }
html body :is(.ls-checklist, .ds-checklist) li i { color: #10AC84 !important; }
html body :is(.ls-success, .ds-success) { border-radius: 24px !important; }
@media (max-width: 767px) { html body :is(.ls-card, .ds-card) { padding: 24px 20px !important; } }
/* cookie banner: let the three buttons wrap on narrow phones (French labels are longer) */
@media (max-width: 520px) {
  html body #lac-cookie-banner > div > div:last-child { flex-shrink: 1 !important; width: 100%; }
  html body #lac-cookie-banner > div > div:last-child > button { flex: 1 1 auto; }
}
/* library listing: wider page, cards three per row (like the distributions) */
@media (min-width: 1200px) { html body .library-section > .container { max-width: 1320px !important; } }
html body .lib-cards-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); gap: 20px; align-items: stretch; margin-bottom: 8px; }
html body .lib-cards-grid > .lib-card { margin-bottom: 0 !important; height: 100%; }
html body .lib-cards-grid .lib-card-body { flex: 1 1 auto; }
html body .lib-cards-grid .lib-card-desc { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
html body .lib-cards-grid .lib-card-footer { display: flex !important; flex-direction: column !important; align-items: stretch !important; gap: 10px !important; }
html body .lib-cards-grid .lib-card-links { display: flex !important; flex-wrap: wrap !important; gap: 6px !important; justify-content: flex-start !important; }
/* card header in the grid: logo + name on one line, details underneath at full width;
   the small "Verified" pill replaces the large ribbon image, which needs the width */
html body .lib-cards-grid .lib-status-badge { display: none !important; }
html body .lib-cards-grid .lib-mobile-status-badge { display: inline-flex !important; background: #E7F7F2 !important; color: #0B7A5E !important; border-radius: 999px !important; }
html body .lib-cards-grid .lib-card-header { display: grid !important; grid-template-columns: 52px 1fr; column-gap: 14px; row-gap: 12px; align-items: center !important; padding: 22px 22px 14px !important; }
html body .lib-cards-grid .lib-card-header > div:not(.lib-logo-wrap) { display: contents; }
html body .lib-cards-grid .lib-logo-wrap { grid-column: 1; grid-row: 1; }
html body .lib-cards-grid .lib-card-header > div > div:first-child { grid-column: 2; grid-row: 1; min-width: 0; gap: 6px !important; }
html body .lib-cards-grid .lib-card-meta { grid-column: 1 / -1; grid-row: 2; gap: 4px 12px !important; font-size: .78rem !important; }
html body .lib-cards-grid :is(.lib-card-logo, .lib-card-logo-placeholder) { width: 52px !important; height: 52px !important; }
html body .lib-cards-grid .lib-card-title { width: 100%; margin: 0 !important; font-size: 1.12rem !important; }
/* sticky sidebars must stop below the sticky site header */
html body .d-sidebar { top: 104px !important; }
html body .lib-sidebar { top: 104px !important; }

/* ═════════════════════ Business directory (full layout) ═════════════════════ */
html body .bd-intro { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; background: #fff; border: 1px solid #EFEFEF; border-radius: 24px; box-shadow: 0 10px 30px rgba(0,0,0,.05); padding: 24px 30px; margin: -96px 0 28px; position: relative; z-index: 2; }
html body .bd-stats { display: flex; gap: 36px; flex-wrap: wrap; }
html body .bd-stat b { display: block; font-family: 'Poppins', sans-serif; font-size: 2rem; font-weight: 700; color: #111; line-height: 1.1; }
html body .bd-stat span { font-size: .82rem; color: #777; }
html body .bd-intro-cta { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
html body .bd-intro-cta p { margin: 0; color: #555; font-size: .92rem; max-width: 240px; }
html body .bd-btn { display: inline-flex; align-items: center; gap: 8px; background: #10AC84; color: #fff !important; border-radius: 999px; padding: 11px 22px; font-family: 'Poppins', sans-serif; font-weight: 600; font-size: .9rem; text-decoration: none !important; transition: background .15s, transform .15s; }
html body .bd-btn:hover { background: #0E9673; transform: translateY(-1px); }
html body .bd-toolbar { display: flex; gap: 14px 18px; align-items: center; flex-wrap: wrap; margin-bottom: 30px; }
html body .bd-search { flex: 1 1 320px; position: relative; }
html body .bd-search i { position: absolute; left: 18px; top: 50%; transform: translateY(-50%); color: #10AC84; }
html body .bd-search input { width: 100%; height: 50px; border: 1px solid #E3E6E8; border-radius: 999px; padding: 0 20px 0 46px; background: #fff; font-size: .95rem; outline: none; transition: border-color .15s, box-shadow .15s; }
html body .bd-search input:focus { border-color: #10AC84; box-shadow: 0 0 0 3px rgba(16,172,132,.18); }
html body .bd-provs { display: flex; flex-wrap: wrap; gap: 8px; }
html body .bd-prov { border: 1px solid #E3E6E8; background: #fff; color: #444; border-radius: 999px; padding: 8px 16px; font-size: .84rem; font-weight: 500; cursor: pointer; transition: all .15s; }
html body .bd-prov:hover { border-color: #10AC84; color: #0B7A5E; }
html body .bd-prov.active { background: #10AC84; border-color: #10AC84; color: #fff; }
html body .bd-group-title { font-family: 'Poppins', sans-serif; font-size: 1.15rem !important; font-weight: 700; color: #111; margin: 8px 0 16px !important; display: flex; align-items: center; gap: 10px; }
html body .bd-group-title i { width: 34px; height: 34px; border-radius: 11px; background: #E7F7F2; color: #10AC84; display: inline-flex; align-items: center; justify-content: center; font-size: .85rem; }
html body section.bd-section .bd-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)) !important; gap: 22px !important; margin-bottom: 40px; }
html body section.bd-section .bd-grid-sponsors { grid-template-columns: 1fr !important; }
html body section.bd-section .bd-card { display: flex !important; flex-direction: column; gap: 18px; padding: 26px !important; margin: 0 !important; border-top: 1px solid #EFEFEF !important; }
html body section.bd-section .bd-card[hidden], html body section.bd-section .bd-grid[hidden], html body .bd-group-title[hidden], html body .bd-noresults[hidden] { display: none !important; }
html body section.bd-section .bd-card-logo { height: 96px; border-radius: 16px; background: #F6F7F8; border: 1px solid #EFEFEF; display: flex; align-items: center; justify-content: center; padding: 14px; flex-shrink: 0; }
html body section.bd-section .bd-card-logo img { max-width: 100%; max-height: 100%; object-fit: contain; display: block; }
html body section.bd-section .bd-card-initial { width: 56px; height: 56px; border-radius: 16px; background: #E7F7F2; color: #10AC84; font-family: 'Poppins', sans-serif; font-weight: 700; font-size: 1.5rem; display: flex; align-items: center; justify-content: center; }
html body section.bd-section .bd-card-main { display: flex; flex-direction: column; flex: 1 1 auto; min-width: 0; }
html body section.bd-section .bd-card-pills { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 10px; }
html body .bd-pill { display: inline-flex; align-items: center; gap: 6px; background: #F3F4F5; color: #555; border-radius: 999px; padding: 4px 12px; font-size: .75rem; font-weight: 500; }
html body .bd-pill i { color: #10AC84; }
html body .bd-pill-sponsor { background: #E7F7F2; color: #0B7A5E; font-weight: 600; }
html body section.bd-section .bd-card-name { font-family: 'Poppins', sans-serif !important; font-size: 1.2rem !important; font-weight: 700 !important; color: #111 !important; margin: 0 0 8px !important; }
html body section.bd-section .bd-card-desc { color: #555; line-height: 1.65; font-size: .93rem; max-height: calc(1.65em * 3); overflow: hidden; }
html body section.bd-section .bd-card-desc p { margin: 0; color: inherit !important; }
html body section.bd-section .bd-card.bd-open .bd-card-desc { max-height: none; }
html body .bd-more { align-self: flex-start; background: none; border: 0; padding: 6px 0 0; color: #10AC84; font-weight: 600; font-size: .85rem; cursor: pointer; }
html body .bd-more .bd-more-close { display: none; }
html body section.bd-section .bd-card.bd-open .bd-more .bd-more-open { display: none; }
html body section.bd-section .bd-card.bd-open .bd-more .bd-more-close { display: inline; }
html body .bd-more i { transition: transform .2s; font-size: .75rem; }
html body section.bd-section .bd-card.bd-open .bd-more i { transform: rotate(180deg); }
html body section.bd-section .bd-card-actions { margin-top: auto; padding-top: 18px; }
html body .bd-nolink { font-size: .82rem; color: #999; }
/* sponsors: wide horizontal card */
html body section.bd-section .bd-card-sponsor { flex-direction: row; align-items: stretch; gap: 30px; padding: 30px !important; border: 1px solid #CFEFE5 !important; background: linear-gradient(135deg, #fff 60%, #F1FBF8) !important; }
html body section.bd-section .bd-card-sponsor .bd-card-logo { width: 260px; height: auto; min-height: 150px; background: #fff; }
html body section.bd-section .bd-card-sponsor .bd-card-name { font-size: 1.45rem !important; }
html body section.bd-section .bd-card-sponsor .bd-card-desc { max-height: calc(1.65em * 4); font-size: .98rem; }
html body section.bd-section { padding-top: 0 !important; }
html body .lac-banner:has(+ .bd-section) { padding-bottom: 140px !important; }
@media (max-width: 767px) {
  html body .bd-intro { margin-top: -70px; padding: 20px; }
  html body .bd-stats { gap: 22px; }
  html body .bd-stat b { font-size: 1.6rem; }
  html body section.bd-section .bd-card-sponsor { flex-direction: column; gap: 18px; padding: 24px !important; }
  html body section.bd-section .bd-card-sponsor .bd-card-logo { width: 100%; min-height: 110px; }
  html body .lac-banner:has(+ .bd-section) { padding-bottom: 110px !important; }
}
@media (max-width: 767px) {
  html body .bd-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; width: 100%; }
  html body .bd-stat span { font-size: .72rem; display: block; line-height: 1.3; }
  html body .bd-intro-cta { width: 100%; }
}

/* ═════════════════════ DistroWatch ranking: hits + trend ═════════════════════ */
html body .d-rank-sub { display: block; font-family: 'Open Sans', sans-serif; font-weight: 400; font-size: .75rem; color: #888; margin-top: 2px; }
html body a.d-rank-row { text-decoration: none !important; color: inherit; }
html body a.d-rank-row:hover { background: #F6F7F8 !important; }
html body .d-rank-row { gap: 10px !important; }
html body .d-rank-num { width: 30px !important; text-align: left !important; }
html body .d-rank-ext { font-size: .62rem; color: #aaa; margin-left: 3px; }
html body .d-rank-hits { font-size: .76rem; color: #666; font-variant-numeric: tabular-nums; flex-shrink: 0; }
html body .dw-trend { display: inline-flex; align-items: center; justify-content: center; width: 18px; height: 18px; border-radius: 6px; font-size: .72rem; flex-shrink: 0; }
html body .dw-trend.up { background: #E7F7F2; color: #0B9E78; }
html body .dw-trend.down { background: #FDECEC; color: #D60000; }
html body .dw-trend.same { background: #F1F2F3; color: #999; font-size: .55rem; }
html body .d-rank-updated { font-size: .72rem; color: #999; text-align: center; padding: 8px 12px 0; }
html body .d-rank-updated i { color: #10AC84; margin-right: 4px; }
html body .d-dw-pill { display: inline-flex; align-items: center; gap: 6px; background: #FFF7E6; color: #8A5A00; border-radius: 999px; padding: 3px 6px 3px 11px; font-size: .72rem; font-weight: 600; white-space: nowrap; }
html body .d-dw-pill > i { color: #F39C12; font-size: .68rem; }
html body .d-dw-pill-sep { opacity: .5; margin: 0 1px; }
html body .d-dw-pill .dw-trend { width: 16px; height: 16px; }
html body .d-dw-pill { max-width: 100%; white-space: normal; flex-wrap: wrap; row-gap: 2px; }

/* ═════════════════════ Distro of the Month spotlight (distributions.php) ═════════════════════ */
html body .dotm { position: relative; overflow: hidden; display: flex; gap: 30px; align-items: center; border-radius: 24px; padding: 32px 36px; margin-bottom: 26px; color: #fff;
  background: radial-gradient(ellipse 60% 90% at 90% 20%, rgba(16,172,132,.38), rgba(16,172,132,0) 70%), linear-gradient(115deg, #151515, #1B2723 55%, #12382E); box-shadow: 0 16px 40px rgba(0,0,0,.12); }
html body .dotm::before { content: ""; position: absolute; inset: 0 -10% 0 45%; background: url("/assets/images/canada-map.svg") center / contain no-repeat; opacity: .10; pointer-events: none; }
html body .dotm > * { position: relative; }
html body .dotm-logo { flex: 0 0 140px; height: 140px; border-radius: 24px; background: #fff; display: flex; align-items: center; justify-content: center; padding: 18px; box-shadow: 0 10px 30px rgba(0,0,0,.25); }
html body .dotm-logo img { max-width: 100%; max-height: 100%; object-fit: contain; }
html body .dotm-logo span { font-family: 'Poppins', sans-serif; font-weight: 700; font-size: 3rem; color: #10AC84; }
html body .dotm-body { flex: 1 1 auto; min-width: 0; }
html body .dotm-kicker { display: inline-flex; align-items: center; gap: 8px; background: rgba(243,156,18,.16); color: #FFC766; border-radius: 999px; padding: 5px 14px; font-size: .78rem; font-weight: 600; letter-spacing: .02em; margin-bottom: 12px; }
html body .dotm-name { font-family: 'Poppins', sans-serif !important; font-weight: 700 !important; font-size: 2rem !important; color: #fff !important; margin: 0 0 8px !important; }
html body .dotm-desc { color: rgba(255,255,255,.78) !important; font-size: .98rem; line-height: 1.65; margin: 0 0 16px; max-width: 640px; }
html body .dotm-facts { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 20px; }
html body .dotm-facts span { background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.12); border-radius: 12px; padding: 7px 12px; font-size: .84rem; color: #fff; }
html body .dotm-facts b { display: block; font-size: .66rem; font-weight: 600; text-transform: uppercase; letter-spacing: .06em; color: rgba(255,255,255,.55); margin-bottom: 1px; }
html body .dotm-actions { display: flex; flex-wrap: wrap; gap: 10px; }
html body .dotm-btn { display: inline-flex; align-items: center; gap: 8px; background: #10AC84; color: #fff !important; border-radius: 999px; padding: 11px 22px; font-family: 'Poppins', sans-serif; font-weight: 600; font-size: .9rem; text-decoration: none !important; transition: background .15s, transform .15s; }
html body .dotm-btn:hover { background: #0E9673; transform: translateY(-1px); }
html body .dotm-btn-ghost { background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.3); }
html body .dotm-btn-ghost:hover { background: rgba(255,255,255,.16); }
@media (max-width: 767px) {
  html body .dotm { flex-direction: column; align-items: flex-start; padding: 24px 22px; gap: 18px; }
  html body .dotm-logo { flex-basis: auto; width: 96px; height: 96px; }
  html body .dotm-name { font-size: 1.6rem !important; }
}

/* ═════════════════════ Stage 3: Linux for Canada, Services, Learning Centre, Resources ═════════════════════ */
/* heroes that didn't have the map look yet */
html body :is(.lac-mr-hero, .lma-hero, .lc-hero) {
  position: relative !important; overflow: hidden !important; isolation: isolate;
  background: radial-gradient(ellipse 60% 120% at 78% 50%, rgba(16,172,132,.28) 0%, rgba(16,172,132,0) 70%), linear-gradient(115deg, #151515 0%, #1B2723 50%, #12382E 100%) !important; }
html body :is(.lac-mr-hero, .lma-hero, .lc-hero)::before {
  content: "" !important; position: absolute !important; z-index: -1 !important; pointer-events: none; display: block !important;
  top: -6% !important; bottom: -6% !important; left: auto !important; right: 5% !important; width: 40% !important; height: auto !important;
  background: url("/assets/images/canada-map.svg") center / contain no-repeat !important; opacity: .24 !important; transform: none !important; border-radius: 0 !important; }
html body :is(.lac-mr-hero, .lma-hero, .lc-hero)::after {
  content: "" !important; position: absolute !important; inset: 0 !important; z-index: -1 !important; pointer-events: none; display: block !important; opacity: 1 !important;
  width: auto !important; height: auto !important; border-radius: 0 !important;
  background: radial-gradient(rgba(255,255,255,.07) 1px, transparent 1.2px) 0 0 / 26px 26px !important;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 65%); mask-image: linear-gradient(90deg, transparent 0%, #000 65%); }
@media (max-width: 767px) { html body :is(.lac-mr-hero, .lma-hero, .lc-hero)::before { width: 85% !important; right: -22% !important; opacity: .14 !important; } }
html body :is(.lma-hero, .lc-hero) { padding: 72px 0 60px !important; color: #fff; border-radius: 0 !important; margin: 0 !important; }
html body :is(.lma-hero, .lc-hero) h1 { color: #fff !important; font-family: 'Poppins', sans-serif !important; font-weight: 700 !important; font-size: clamp(2rem, 4vw, 2.9rem) !important; margin: 0 0 12px !important; }
html body :is(.lma-hero, .lc-hero) p { color: rgba(255,255,255,.75) !important; font-size: 1.05rem !important; max-width: 640px; margin: 0 !important; }
html body .lc-hero .lc-pill { display: inline-flex !important; align-items: center; gap: 10px; background: none !important; color: #10AC84 !important; padding: 0 !important; font-size: .78rem !important; font-weight: 700 !important; letter-spacing: .12em; margin-bottom: 14px; }
html body .lc-hero .lc-pill::before { content: ""; width: 28px; height: 2px; background: #D60000; }
html body .lma-hero .lac-badge { background: none !important; color: #10AC84 !important; padding: 0 !important; font-size: .78rem !important; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 14px !important; display: inline-flex !important; gap: 8px; align-items: center; }
html body .lma-hero .lac-breadcrumb { display: flex; gap: 8px; font-size: .85rem; margin-bottom: 14px; flex-wrap: wrap; }
html body .lma-hero .lac-breadcrumb a { color: rgba(255,255,255,.6) !important; }
html body .lma-hero .lac-breadcrumb .sep { color: rgba(255,255,255,.3); }
html body .lma-hero .lac-breadcrumb .current { color: #fff; font-weight: 600; }
html body .lma { padding-top: 40px !important; }

/* one card style for all these pages: white, rounded, soft shadow, no coloured top bars */
html body :is(.lfc-pillar-card, .gr-objective-card, .es-card, .sv-card, .ds-card, .so-audience-card, .so-pillar, .so-step-card, .lcc-course, .lcc-info, .book-card, .lcc-side) {
  background: #fff !important; border: 1px solid #EFEFEF !important; border-top: 1px solid #EFEFEF !important; border-radius: 20px !important;
  box-shadow: 0 10px 30px rgba(0,0,0,.05) !important; transition: transform .15s, border-color .15s, box-shadow .15s !important; }
html body :is(.lfc-pillar-card, .gr-objective-card, .es-card, .sv-card, .ds-card, .so-audience-card, .so-pillar, .lcc-course, .book-card):hover {
  transform: translateY(-3px) !important; border-color: #10AC84 !important; box-shadow: 0 16px 36px rgba(0,0,0,.08) !important; }
html body .sv-card-top { display: none !important; }
html body .sv-card-body { padding: 28px !important; }
html body :is(.sv-card h2, .es-card h3, .gr-objective-card h3, .lfc-pillar-card h3, .ds-card h3, .so-pillar-body h3, .lcc-content h3, .book-title) { font-family: 'Poppins', sans-serif !important; font-weight: 700 !important; color: #111 !important; }
/* icon chips: soft green tile */
html body :is(.sv-icon, .es-icon, .ds-icon, .so-audience-icon) { background: #E7F7F2 !important; color: #10AC84 !important; border-radius: 14px !important; box-shadow: none !important; }
html body :is(.sv-icon, .es-icon, .ds-icon, .so-audience-icon) i { color: #10AC84 !important; }
html body :is(.sv-link, .so-audience-apply) { color: #10AC84 !important; font-weight: 600 !important; }

/* school outreach pillars: white header with a green number chip instead of black/green/red bars */
html body .so-pillar .so-pillar-head { background: #fff !important; color: #111 !important; padding: 22px 22px 0 !important; }
html body .so-pillar .so-number { background: #10AC84; color: #fff !important; border-radius: 12px; min-width: 40px; height: 40px; display: inline-flex; align-items: center; justify-content: center; font-family: 'Poppins', sans-serif; font-weight: 700; font-size: .9rem; }
html body .so-pillar.red .so-number { background: #111; }
html body .so-pillar.dark .so-number { background: #111; }
html body .so-pillar .so-pillar-head i { color: #10AC84 !important; background: #E7F7F2; width: 40px; height: 40px; border-radius: 12px; display: inline-flex; align-items: center; justify-content: center; }
html body .so-pillar-body { padding: 16px 22px 24px !important; }

/* dark feature boxes and CTA bands: hero colours instead of flat black */
html body :is(.lfc-cta, .gr-cta, .ds-quote, .so-feature, .es-flow, .prof-hero) {
  position: relative; overflow: hidden; isolation: isolate; border-left: 0 !important;
  background: radial-gradient(ellipse 60% 120% at 85% 40%, rgba(16,172,132,.30) 0%, rgba(16,172,132,0) 70%), linear-gradient(115deg, #151515 0%, #1B2723 55%, #12382E 100%) !important; }
html body :is(.ds-quote, .so-feature, .es-flow, .prof-hero) { border-radius: 24px !important; }
html body :is(.lfc-cta, .gr-cta, .so-feature, .es-flow)::after { content: ""; position: absolute; z-index: -1; inset: -10% 0 -10% 55%; background: url("/assets/images/canada-map.svg") center / contain no-repeat; opacity: .10; pointer-events: none; }
html body .es-step { background: rgba(255,255,255,.07) !important; border: 1px solid rgba(255,255,255,.12) !important; border-radius: 14px !important; }

/* stats strips */
html body :is(.so-stat, .lfc-stat, .gr-stat) { border-radius: 18px !important; }

/* buttons */
html body :is(.lcc-course-link, .lcc-small-btn, .so-btn-primary, .book-btn, .lac-mr-button) { border-radius: 999px !important; color: #fff !important; background: #10AC84 !important; border: 1px solid #10AC84 !important; font-family: 'Poppins', sans-serif; font-weight: 600 !important; padding: 10px 20px !important; }
html body :is(.lcc-small-btn.lcc-outline, .lac-mr-button.secondary) { background: #fff !important; color: #111 !important; border: 1px solid #DADDE0 !important; }
html body :is(.lcc-course-link, .lcc-small-btn, .so-btn-primary, .book-btn, .lac-mr-button):hover { background: #0E9673 !important; border-color: #0E9673 !important; }
html body :is(.lcc-small-btn.lcc-outline, .lac-mr-button.secondary):hover { background: #F6F7F8 !important; border-color: #111 !important; }

/* learning centre */
html body .lc-page { background: #F6F7F8 !important; padding: 48px 0 80px !important; }
html body .lcc-side { padding: 24px !important; top: 104px !important; }
html body .lcc-side nav a { border-radius: 10px !important; }
html body .lcc-side-note { background: #E7F7F2 !important; border-radius: 14px !important; }
html body .lcc-course { overflow: hidden; }
html body .lcc-cover { background: radial-gradient(ellipse 70% 90% at 80% 30%, rgba(16,172,132,.35), rgba(16,172,132,0) 70%), linear-gradient(115deg, #151515, #1B2723 55%, #12382E) !important; position: relative; }
html body .lcc-level { border-radius: 999px !important; }
html body .lcc-section-heading h2, html body .lcc-info h2 { font-family: 'Poppins', sans-serif !important; font-weight: 700 !important; }
html body .lcc-info { padding: 28px 30px !important; }
html body .lcc-steps > div { background: #F6F7F8 !important; border-radius: 14px !important; }

/* members-only and professional resource pages */
html body .lac-mr-denied { background: #fff !important; border: 1px solid #EFEFEF !important; border-radius: 24px !important; box-shadow: 0 10px 30px rgba(0,0,0,.05) !important; padding: 36px 40px !important; }

/* migration assistant: panels in the same card style */
html body .lma .panel, html body .lma .processing-card { background: #fff !important; border: 1px solid #EFEFEF !important; border-radius: 24px !important; box-shadow: 0 10px 30px rgba(0,0,0,.05) !important; }
html body .lma .go { border-radius: 999px !important; }
html body:has(.lma) { background: #F6F7F8 !important; }

/* books */
html body .book-card { overflow: hidden; }
html body .books-empty { background: #fff !important; border: 1px solid #EFEFEF !important; border-radius: 20px !important; }
/* Linux for Canada interest form: white card heading instead of the black bar */
html body .lfc-form-section { background: #F6F7F8 !important; }
html body .lfc-form-wrap .lac-card { background: #fff !important; border: 1px solid #EFEFEF !important; border-radius: 24px !important; box-shadow: 0 10px 30px rgba(0,0,0,.05) !important; overflow: hidden; }
html body .lfc-form-wrap .lac-card-head { background: #fff !important; color: #111 !important; font-family: 'Poppins', sans-serif !important; font-size: 1.12rem !important; font-weight: 700 !important; padding: 26px 30px 6px !important; border: 0 !important; }
html body .lfc-form-wrap .lac-card-head i { color: #10AC84 !important; }
html body .lfc-form-wrap .lac-card-body { padding: 14px 30px 30px !important; }
html body .lfc-form-wrap :is(input[type=text], input[type=email], select, textarea) { border: 1px solid #E3E6E8 !important; border-radius: 12px !important; min-height: 46px; padding: 10px 14px !important; }
html body .lfc-form-wrap :is(input[type=text], input[type=email], select, textarea):focus { border-color: #10AC84 !important; box-shadow: 0 0 0 3px rgba(16,172,132,.18) !important; outline: none !important; }
html body .lfc-form-wrap button[type=submit] { border-radius: 999px !important; }
html body .lfc-form-wrap .lac-card-head h2 { color: #111 !important; font-family: 'Poppins', sans-serif !important; font-size: 1.12rem !important; font-weight: 700 !important; margin: 0 !important; display: flex; align-items: center; gap: 10px; }
/* "fa-users-class" is a Font Awesome Pro icon and shows nothing with the free font: draw the chalkboard icon instead */
html body .fa-users-class::before { content: "\f51b"; }

/* ═════════════════════ Stage 4: forms and member account pages ═════════════════════ */
html body:has(.lac-auth-shell, .auth-wrap, .cb-wrap, .dash-layout, .settings-box) { background: #F6F7F8 !important; }

/* shared card (lac-modern .lac-card): white heading with a green icon instead of the black-red bar */
html body .lac-card { background: #fff !important; border: 1px solid #EFEFEF !important; border-radius: 24px !important; box-shadow: 0 10px 30px rgba(0,0,0,.05) !important; overflow: hidden; }
html body .lac-card-head { background: #fff !important; padding: 24px 28px 4px !important; border: 0 !important; }
html body .lac-card-head h2, html body .lac-card-head h3 { color: #111 !important; font-family: 'Poppins', sans-serif !important; font-size: 1.12rem !important; font-weight: 700 !important; display: flex; align-items: center; gap: 12px; margin: 0 !important; }
html body .lac-card-head h2 i, html body .lac-card-head h3 i { width: 36px; height: 36px; border-radius: 11px; background: #E7F7F2; color: #10AC84 !important; display: inline-flex !important; align-items: center; justify-content: center; font-size: .85rem; margin: 0 !important; flex-shrink: 0; }
html body .lac-card-head p, html body .lac-card-head small { color: #888 !important; margin: 6px 0 0 48px !important; font-size: .82rem !important; }
html body .lac-card-body { padding: 18px 28px 28px !important; }

/* form fields inside cards and member pages */
html body :is(.lac-card, .settings-box, .cb-card, .lac-auth-card, .auth-main) :is(input[type=text], input[type=email], input[type=tel], input[type=url], input[type=password], input[type=number], input[type=date], input[type=time], input:not([type]), select, textarea):not(.ql-container *) {
  border: 1px solid #E3E6E8 !important; border-radius: 12px !important; min-height: 46px; padding: 10px 14px !important; background: #fff !important; font-size: .95rem !important; box-shadow: none !important; transition: border-color .15s, box-shadow .15s; }
html body :is(.lac-card, .settings-box, .cb-card, .lac-auth-card, .auth-main) textarea { min-height: 110px; }
html body :is(.lac-card, .settings-box, .cb-card, .lac-auth-card, .auth-main) :is(input, select, textarea):focus { border-color: #10AC84 !important; box-shadow: 0 0 0 3px rgba(16,172,132,.18) !important; outline: none !important; }
html body :is(.lac-card, .settings-box, .cb-card) label { font-weight: 600; color: #333; font-size: .86rem; }

/* login / register */
html body .auth-wrap { border-radius: 24px !important; box-shadow: 0 20px 60px rgba(0,0,0,.10) !important; border: 1px solid #EFEFEF; }
html body .auth-side { isolation: isolate; background: radial-gradient(ellipse 90% 70% at 80% 10%, rgba(16,172,132,.32), rgba(16,172,132,0) 70%), linear-gradient(160deg, #151515 0%, #1B2723 55%, #12382E 100%) !important; }
html body .auth-side::before { background: url("/assets/images/canada-map.svg") center 85% / 120% auto no-repeat !important; opacity: .12 !important; }
html body .auth-tab.active { color: #10AC84 !important; border-bottom-color: #10AC84 !important; }
html body :is(.auth-submit, .twofa-btn.primary) { background: #10AC84 !important; border-radius: 999px !important; font-family: 'Poppins', sans-serif; font-weight: 600 !important; transition: background .15s, transform .15s; }
html body :is(.auth-submit, .twofa-btn.primary):hover { background: #0E9673 !important; transform: translateY(-1px); }
html body .auth-main :is(input[type=text], input[type=email], input[type=password]) { min-height: 48px; }

/* forgot / reset password */
html body .lac-auth-card { border-radius: 24px !important; border: 1px solid #EFEFEF !important; box-shadow: 0 10px 30px rgba(0,0,0,.06) !important; overflow: hidden; }
html body .lac-auth-card-head { background: #fff !important; color: #111 !important; padding: 28px 30px 6px !important; }
html body .lac-auth-card-head :is(h2, h3, strong) { color: #111 !important; font-family: 'Poppins', sans-serif !important; }
html body .lac-auth-card-head p { color: #777 !important; }
html body .lac-auth-icon { background: #E7F7F2 !important; color: #10AC84 !important; border-radius: 14px !important; box-shadow: none !important; }
html body .lac-auth-icon i { color: #10AC84 !important; }
html body .lac-auth-btn { background: #10AC84 !important; box-shadow: none !important; border-radius: 999px !important; font-family: 'Poppins', sans-serif; font-weight: 600 !important; }
html body .lac-auth-btn:hover { background: #0E9673 !important; }

/* member dashboard */
html body .profile-card-head { position: relative; isolation: isolate; overflow: hidden; background: radial-gradient(ellipse 90% 90% at 80% 10%, rgba(16,172,132,.32), rgba(16,172,132,0) 70%), linear-gradient(135deg, #151515, #1B2723 55%, #12382E) !important; }
html body .profile-avatar-ph { background: #10AC84 !important; }
html body .ev-date-box { background: #10AC84 !important; }
html body :is(.profile-card, .dash-card, .dash-section, .quick-actions, .dash-sidebar-card) { border-radius: 20px !important; border: 1px solid #EFEFEF !important; box-shadow: 0 10px 30px rgba(0,0,0,.05) !important; overflow: hidden; }
html body .action-btn { border-radius: 14px !important; transition: border-color .15s, transform .15s, background .15s !important; }
html body .action-btn:hover { border-color: #10AC84 !important; background: #F1FBF8 !important; transform: translateY(-2px); }

/* manage profile */
html body .avatar-card-head { background: #fff !important; color: #111 !important; padding: 22px 22px 4px !important; }
html body .avatar-card-head :is(h2, h3, h4, span) { color: #111 !important; }
html body .avatar-card-head i { color: #10AC84 !important; }

/* account settings */
html body .settings-box { border-radius: 24px !important; border: 1px solid #EFEFEF !important; box-shadow: 0 10px 30px rgba(0,0,0,.05) !important; overflow: hidden; background: #fff !important; }
html body .settings-box-head { background: #fff !important; color: #111 !important; font-family: 'Poppins', sans-serif !important; font-size: 1.08rem !important; padding: 24px 28px 6px !important; border: 0 !important; }
html body .settings-box-head i { color: #10AC84 !important; }
html body .settings-btn { background: #10AC84 !important; border-radius: 999px !important; font-family: 'Poppins', sans-serif; font-weight: 600 !important; }
html body .settings-btn:hover { background: #0E9673 !important; }

/* my business profile */
html body .cb-wrap { margin-top: 40px !important; }
html body .cb-card { border-radius: 24px !important; border: 1px solid #EFEFEF !important; box-shadow: 0 10px 30px rgba(0,0,0,.05) !important; padding: 28px 32px !important; }
html body .cb-card h2 { font-family: 'Poppins', sans-serif !important; font-weight: 700 !important; }
html body .cb-btn { background: #10AC84 !important; color: #fff !important; border: 0 !important; border-radius: 999px !important; padding: 11px 24px !important; font-weight: 600 !important; }
html body .cb-alert { border-radius: 14px !important; }

/* contact info list and support info card */
html body .lac-card :is(.contact-item, .info-item) i { color: #10AC84 !important; }
@media (max-width: 767px) {
  html body .lac-card-head { padding: 20px 20px 4px !important; }
  html body .lac-card-body { padding: 14px 20px 22px !important; }
  html body .lac-card-head p, html body .lac-card-head small { margin-left: 0 !important; }
}
html body .lac-card:has(.event-quill) .lac-card-head { background: #fff !important; padding: 26px 30px 6px !important; }
html body .lac-card:has(.event-quill) .lac-card-head :is(h2, h3) { color: #111 !important; }
html body .lac-card:has(.event-quill) .lac-card-head p { color: #888 !important; }
/* login on phones: short welcome strip so the form is visible right away */
@media (max-width: 767px) {
  html body .auth-side { padding: 22px 24px !important; }
  html body .auth-side-content > :is(p, ul) { display: none !important; }
  html body .auth-side h2 { font-size: 1.25rem !important; margin: 4px 0 0 !important; }
  html body .auth-main { padding: 26px 22px !important; }
}

/* ═════════════════════ Stage 5.1: membership plans ═════════════════════ */
html body .mp-intro { max-width: 900px !important; }
html body .mp-intro h2 { font-family: 'Poppins', sans-serif !important; font-weight: 700 !important; }
html body .billing-switch { background: #fff !important; box-shadow: none !important; border: 1px solid #E3E6E8; }
html body .mp-tab { border: 1px solid #E3E6E8 !important; font-weight: 600 !important; font-family: 'Poppins', sans-serif; }
html body .mp-tab.active { background: #10AC84 !important; border-color: #10AC84 !important; color: #fff !important; box-shadow: 0 8px 20px rgba(16,172,132,.25) !important; }
/* the "Compare all plans" link above the cards */
html body .mp-group-panel > div[style*="text-align:right"] > a { border-radius: 999px !important; background: #fff !important; color: #111 !important; border: 1px solid #DADDE0 !important; }
html body .mp-group-panel > div[style*="text-align:right"] > a:hover { border-color: #10AC84 !important; color: #0B7A5E !important; }
html body .mp-group-panel > div[style*="text-align:right"] > a i { color: #10AC84; }
/* cards: centred rows of three, so a last row of one or two sits in the middle */
html body .mp-grid { display: flex !important; flex-wrap: wrap; justify-content: center; gap: 24px !important; }
html body .mp-grid > div { flex: 0 1 calc((100% - 48px) / 3); min-width: 280px; }
@media (max-width: 991px) { html body .mp-grid > div { flex-basis: calc((100% - 24px) / 2); } }
@media (max-width: 640px) { html body .mp-grid > div { flex-basis: 100%; min-width: 0; } }
html body .mp-card { border: 1px solid #EFEFEF !important; border-top: 1px solid #EFEFEF !important; border-radius: 24px !important; box-shadow: 0 10px 30px rgba(0,0,0,.05) !important; transition: transform .15s, box-shadow .15s, border-color .15s !important; }
html body .mp-card:hover { transform: translateY(-4px) !important; border-color: var(--plan-color, #10AC84) !important; box-shadow: 0 18px 40px rgba(0,0,0,.09) !important; }
/* a plan with a tag (e.g. "Most popular", "Limited") stands out */
html body .mp-card-featured { border: 2px solid var(--plan-color, #10AC84) !important; box-shadow: 0 18px 44px rgba(0,0,0,.10) !important; }
html body .mp-tag { border-radius: 999px !important; padding: 5px 12px !important; letter-spacing: .06em !important; font-size: .68rem !important; }
html body .mp-card-head { padding: 30px 30px 20px !important; border-bottom: 0 !important; }
html body .mp-card-icon { border-radius: 14px !important; width: 50px !important; height: 50px !important; }
html body .mp-card-name { font-family: 'Poppins', sans-serif !important; font-weight: 700 !important; font-size: 1.25rem !important; }
html body .mp-price-row { margin: 0 30px; padding: 18px 0 !important; border-top: 1px solid #F0F0F0; border-bottom: 1px solid #F0F0F0 !important; }
html body .mp-price { font-family: 'Poppins', sans-serif !important; font-weight: 700 !important; font-size: 2.2rem !important; color: #111 !important; letter-spacing: -.02em; }
html body .mp-period { color: #888 !important; }
html body .mp-benefits { padding: 18px 30px !important; }
html body .mp-benefits li { border-bottom: 0 !important; padding: 6px 0 !important; font-size: .88rem !important; }
html body .mp-card-foot { padding: 8px 30px 30px !important; }
html body .mp-btn { border-radius: 999px !important; font-family: 'Poppins', sans-serif; font-weight: 600 !important; padding: 13px !important; transition: transform .15s, opacity .15s !important; }
html body .mp-btn:hover { transform: translateY(-1px); opacity: .92 !important; }
/* the Compare button: quiet outline so the main button leads */
html body .mp-btn.mp-btn-compare { background: #fff !important; color: #444 !important; border: 1px solid #DADDE0 !important; padding: 10px !important; font-size: .82rem !important; }
html body .mp-btn.mp-btn-compare:hover { border-color: #111 !important; color: #111 !important; }
html body .mp-btn.mp-btn-compare i { color: var(--plan-color, #10AC84); }
/* "Why become a sponsor" box on the Business tab: hero colours */
html body .mp-sponsor-why { position: relative; overflow: hidden; isolation: isolate; border-radius: 24px !important; padding: 28px 32px !important;
  background: radial-gradient(ellipse 60% 120% at 85% 40%, rgba(16,172,132,.30) 0%, rgba(16,172,132,0) 70%), linear-gradient(115deg, #151515 0%, #1B2723 55%, #12382E 100%) !important; }
html body .mp-sponsor-why::after { content: ""; position: absolute; z-index: -1; inset: -20% 0 -20% 60%; background: url("/assets/images/canada-map.svg") center / contain no-repeat; opacity: .10; }
html body .mp-sponsor-why > a { border-radius: 999px !important; }
html body .mp-empty { border-radius: 20px !important; }

/* ═════════════════════ Stage 5.2: compare plans + my membership ═════════════════════ */
html body .mc-tab { border-radius: 999px !important; font-family: 'Poppins', sans-serif; font-weight: 600 !important; }
html body .mc-tab.active { background: #10AC84 !important; border-color: #10AC84 !important; color: #fff !important; }
html body .mc-section h2 { font-family: 'Poppins', sans-serif !important; font-weight: 700 !important; border-bottom: 0 !important; }
html body .mc-table-wrap { border-radius: 24px !important; border: 1px solid #EFEFEF; box-shadow: 0 10px 30px rgba(0,0,0,.05) !important; background: #fff; }
html body .mc-table thead th { position: sticky; top: 0; background: #fff; z-index: 2; }
html body .mc-plan-head { padding: 24px 12px 18px !important; }
html body .mc-plan-head .plan-name { font-family: 'Poppins', sans-serif !important; font-weight: 700 !important; font-size: .95rem !important; }
html body .mc-plan-head .plan-price { font-family: 'Poppins', sans-serif !important; font-weight: 700 !important; font-size: 1.5rem !important; }
html body .mc-plan-head .popular-tag { border-radius: 999px !important; padding: 3px 10px !important; }
html body .mc-table tbody td { padding: 12px 14px !important; border-bottom: 1px solid #F3F4F5 !important; font-size: .86rem !important; }
html body .mc-table tbody td:first-child { padding-left: 26px !important; color: #333 !important; }
html body .mc-table tbody tr:nth-child(even) td { background: #FAFBFB; }
html body .mc-table tbody tr:hover td { background: #F1FBF8 !important; }
html body .mc-col-highlight { background: #F1FBF8 !important; }
html body .mc-check { color: #10AC84 !important; }
html body .mc-table tfoot td { padding: 22px 12px !important; border-top: 1px solid #EFEFEF !important; }
html body .mc-btn { border-radius: 999px !important; padding: 10px 20px !important; font-family: 'Poppins', sans-serif; font-weight: 600 !important; font-size: .82rem !important; transition: transform .15s, opacity .15s !important; }
html body .mc-btn:hover { transform: translateY(-1px); }
html body .mc-links a { font-weight: 600; }
html body :is(.mc-mobile-plan) { border-radius: 20px !important; border: 1px solid #EFEFEF !important; box-shadow: 0 10px 30px rgba(0,0,0,.05) !important; overflow: hidden; }
html body .mc-section + div[style*="border-radius:12px"], html body .lac-section div[style*="box-shadow:0 2px 12px rgba(0,0,0,.06)"] { border-radius: 20px !important; border: 1px solid #EFEFEF; box-shadow: none !important; }

/* my membership (membership.php) */
html body .mem-card { border-radius: 24px !important; border: 1px solid #EFEFEF; box-shadow: 0 10px 30px rgba(0,0,0,.05) !important; }
html body .mem-card-head { position: relative; isolation: isolate; overflow: hidden; padding: 24px 28px !important;
  background: radial-gradient(ellipse 70% 120% at 85% 30%, rgba(16,172,132,.32), rgba(16,172,132,0) 70%), linear-gradient(115deg, #151515, #1B2723 55%, #12382E) !important; }
html body .mem-card-head::after { content: ""; position: absolute; z-index: -1; inset: -30% 0 -30% 62%; background: url("/assets/images/canada-map.svg") center / contain no-repeat; opacity: .12; }
html body .mem-card-head .head-icon { border-radius: 14px !important; background: rgba(16,172,132,.18) !important; border-color: rgba(16,172,132,.35) !important; color: #10AC84; }
html body .mem-card-head .head-title { font-family: 'Poppins', sans-serif !important; font-size: 1.12rem !important; }
html body .mem-wrap .status-strip { border-radius: 0 !important; }
html body .mem-wrap .status-pill { border-radius: 999px !important; }
html body .mem-wrap .detail-row { padding-left: 28px !important; padding-right: 28px !important; }
html body .mem-wrap .dr-label i { color: #10AC84 !important; }
html body .mem-wrap .membership-manage { border-radius: 18px !important; }
html body .mem-wrap .lac-btn { border-radius: 999px !important; font-family: 'Poppins', sans-serif; font-weight: 600 !important; }
html body .mem-wrap .lac-btn.primary { background: #10AC84 !important; color: #fff !important; }
html body .mem-wrap .lac-btn.primary:hover { background: #0E9673 !important; }
html body .mem-wrap .lac-btn.success { background: #10AC84 !important; }
html body .mem-wrap .lac-btn.danger { border-radius: 999px !important; }
html body .mem-wrap :is(.subscription-alert, .subscription-warning, .subscription-note) { border-radius: 14px !important; }

/* ═════════════════════ Stage 5.3: store (shop, category, product) ═════════════════════ */
html body .section-title { font-family: 'Poppins', sans-serif !important; font-weight: 700 !important; font-size: 1.35rem !important; }
html body .section-title i { width: 36px; height: 36px; border-radius: 11px; background: #E7F7F2; color: #10AC84 !important; display: inline-flex; align-items: center; justify-content: center; font-size: .85rem; }
/* product cards */
html body :is(.prod-card, .related-card) { border-radius: 20px !important; border: 1px solid #EFEFEF; box-shadow: 0 10px 30px rgba(0,0,0,.05) !important; transition: transform .15s, border-color .15s, box-shadow .15s !important; }
html body :is(.prod-card, .related-card):hover { transform: translateY(-3px) !important; border-color: #10AC84; box-shadow: 0 16px 36px rgba(0,0,0,.08) !important; }
html body .prod-img { height: auto !important; aspect-ratio: 1 / 1; background: #F6F7F8 !important; }
html body .prod-body { padding: 16px 18px 18px !important; }
html body .prod-name { font-family: 'Poppins', sans-serif !important; font-weight: 600 !important; font-size: .98rem !important; line-height: 1.35 !important; }
html body .prod-price .now, html body .rc-price { font-family: 'Poppins', sans-serif; font-weight: 700 !important; }
html body .prod-cat-tag { color: #10AC84 !important; letter-spacing: .08em; }
html body .save-badge { border-radius: 999px !important; }
html body .featured-row { gap: 22px !important; padding: 6px 4px 14px !important; }
html body .featured-row .prod-card { flex: 0 0 250px !important; }
html body .featured-nav { background: #fff !important; color: #111 !important; border: 1px solid #E3E6E8 !important; box-shadow: 0 6px 18px rgba(0,0,0,.08) !important; border-radius: 50% !important; }
html body .featured-nav:hover { border-color: #10AC84 !important; color: #10AC84 !important; }
@media (max-width: 991px) { html body .prod-grid { grid-template-columns: repeat(2, 1fr) !important; gap: 16px !important; } }
/* shop by category: bigger image tiles */
html body .cat-tile-strip { grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)) !important; gap: 20px !important; }
html body .cat-tile { height: 170px !important; border-radius: 20px !important; box-shadow: 0 10px 30px rgba(0,0,0,.08) !important; }
html body .cat-tile .cat-tile-overlay { padding: 16px 18px !important; background: linear-gradient(0deg, rgba(10,25,20,.82), rgba(10,25,20,0)) !important; }
html body .cat-tile .cat-tile-name { font-family: 'Poppins', sans-serif; font-weight: 700 !important; font-size: 1.05rem !important; }
html body .cat-tile.cat-tile-all { background: radial-gradient(ellipse 80% 100% at 85% 20%, rgba(16,172,132,.4), rgba(16,172,132,0) 70%), linear-gradient(115deg, #151515, #1B2723 55%, #12382E) !important; }
/* category chips */
html body .cat-chip { border-radius: 999px !important; border: 1px solid #E3E6E8 !important; background: #fff !important; color: #444 !important; font-weight: 500 !important; }
html body .cat-chip:hover { border-color: #10AC84 !important; color: #0B7A5E !important; }
html body .cat-chip.active { background: #10AC84 !important; border-color: #10AC84 !important; color: #fff !important; }
/* product page */
html body .pd-grid { background: #fff; border: 1px solid #EFEFEF; border-radius: 24px !important; box-shadow: 0 10px 30px rgba(0,0,0,.05) !important; }
html body .pd-img { border-radius: 18px !important; background: #F6F7F8 !important; overflow: hidden; }
html body .pd-thumb { border-radius: 12px !important; }
html body .pd-name { font-family: 'Poppins', sans-serif !important; font-weight: 700 !important; font-size: 1.9rem !important; }
html body .pd-price { font-family: 'Poppins', sans-serif; }
html body .pd-cat-tag { color: #10AC84 !important; }
html body .qty-box { border-radius: 999px !important; overflow: hidden; border: 1px solid #E3E6E8 !important; }
html body .variant-select { border-radius: 12px !important; border: 1px solid #E3E6E8 !important; min-height: 44px; }
html body .add-cart-btn { border-radius: 999px !important; padding: 12px 26px !important; font-family: 'Poppins', sans-serif; font-weight: 600 !important; background: #10AC84 !important; border-color: #10AC84 !important; }
html body .add-cart-btn:hover:not([disabled]) { background: #0E9673 !important; }
html body .pd-notice { border-radius: 14px !important; }
html body .related-title { font-family: 'Poppins', sans-serif !important; font-weight: 700 !important; }
/* floating cart button */
html body .cart-fab { background: #10AC84 !important; box-shadow: 0 10px 26px rgba(16,172,132,.35) !important; transition: transform .15s, background .15s !important; }
html body .cart-fab:hover { background: #0E9673 !important; transform: translateY(-2px); }
html body .cart-fab .badge { background: #111 !important; }
html body :is(.store-intro-card, .store-empty) { border-radius: 20px !important; border: 1px solid #EFEFEF; box-shadow: none !important; }
html body .qty-row { flex-wrap: wrap; gap: 12px !important; }
html body .add-cart-btn { white-space: nowrap; }

/* ═════════════════════ Stage 5.4: cart ═════════════════════ */
html body .cart-layout { grid-template-columns: 1fr 360px !important; grid-template-rows: auto 1fr; column-gap: 28px !important; row-gap: 14px !important; }
html body .cart-layout > .cart-card { grid-column: 1; grid-row: 1; }
html body .cart-layout > .cart-continue { grid-column: 1; grid-row: 2; align-self: start; justify-self: start; display: inline-flex; align-items: center; gap: 8px; color: #444 !important; font-weight: 600; font-size: .9rem; text-decoration: none !important; padding: 8px 4px; }
html body .cart-layout > .cart-continue:hover { color: #10AC84 !important; }
html body .cart-layout > .summary-card { grid-column: 2; grid-row: 1 / span 2; }
@media (max-width: 900px) {
  html body .cart-layout { grid-template-columns: 1fr !important; }
  html body .cart-layout > .summary-card { grid-column: 1; grid-row: 3; }
}
html body :is(.cart-card, .summary-card, .cart-empty) { border-radius: 24px !important; border: 1px solid #EFEFEF; box-shadow: 0 10px 30px rgba(0,0,0,.05) !important; }
html body .summary-card { top: 104px !important; padding: 28px !important; }
html body .cart-row { padding: 20px 26px !important; gap: 18px !important; }
html body :is(.cart-thumb, .cart-thumb-ph) { width: 76px !important; height: 76px !important; border-radius: 16px !important; background: #F6F7F8 !important; border: 1px solid #EFEFEF; }
html body .cart-item-name { font-family: 'Poppins', sans-serif; font-weight: 600 !important; font-size: 1rem !important; }
html body .cart-item-name a:hover { color: #10AC84 !important; }
html body .cart-item-type { color: #10AC84 !important; font-weight: 600; letter-spacing: .08em !important; }
html body .cart-qty-box { border: 1px solid #E3E6E8 !important; border-radius: 999px !important; }
html body .cart-qty-box button { background: #fff !important; width: 34px !important; }
html body .cart-qty-box button:hover { background: #F1FBF8 !important; color: #10AC84; }
html body .cart-line-price { font-family: 'Poppins', sans-serif; font-weight: 700 !important; font-size: 1rem !important; }
html body .cart-remove { width: 34px; height: 34px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; }
html body .cart-remove:hover { background: #FDECEC; color: #D60000 !important; }
html body .summary-total { font-family: 'Poppins', sans-serif; font-weight: 700 !important; font-size: 1.3rem !important; }
html body .checkout-btn { border-radius: 999px !important; padding: 15px !important; font-family: 'Poppins', sans-serif; font-weight: 600 !important; font-size: 1rem !important; box-shadow: 0 10px 24px rgba(16,172,132,.25); transition: transform .15s, background .15s !important; }
html body .checkout-btn:hover { transform: translateY(-1px); }
html body .email-capture input { border: 1px solid #E3E6E8 !important; border-radius: 12px !important; min-height: 44px; }
html body .email-capture input:focus { border-color: #10AC84 !important; box-shadow: 0 0 0 3px rgba(16,172,132,.18); outline: none; }
html body .email-capture button { border-radius: 999px !important; background: #fff !important; border: 1px solid #DADDE0 !important; min-height: 42px; }
html body .email-capture button:hover { border-color: #111 !important; }
html body .saved-banner { border-radius: 14px !important; }
@media (max-width: 600px) {
  html body .cart-row { flex-wrap: wrap; padding: 18px !important; }
  html body .cart-item-meta { flex-basis: calc(100% - 100px); }
}

/* ═════════════════════ Stage 5.5: checkout + order confirmation ═════════════════════ */
html body .co-layout { grid-template-columns: 1fr 370px !important; gap: 28px !important; counter-reset: costep; }
@media (max-width: 991px) { html body .co-layout { grid-template-columns: 1fr !important; } }
html body .co-card { border-radius: 24px !important; border: 1px solid #EFEFEF; box-shadow: 0 10px 30px rgba(0,0,0,.05) !important; padding: 28px 30px !important; margin-bottom: 22px !important; }
/* numbered steps: 1 contact & address, 2 shipping, 3 payment */
html body .co-card h3 { font-family: 'Poppins', sans-serif !important; font-weight: 700 !important; font-size: 1.12rem !important; display: flex; align-items: center; gap: 12px; margin-bottom: 20px !important; }
html body .co-card h3 > i { display: none !important; }
html body .co-card h3::before { counter-increment: costep; content: counter(costep); width: 34px; height: 34px; border-radius: 50%; background: #10AC84; color: #fff; display: inline-flex; align-items: center; justify-content: center; font-size: .9rem; flex-shrink: 0; }
html body .co-form-grid { gap: 16px 18px !important; }
html body .co-form-grid label { font-size: .84rem !important; font-weight: 600 !important; color: #333 !important; }
html body .co-form-grid :is(input, select) { border: 1px solid #E3E6E8 !important; border-radius: 12px !important; min-height: 46px; padding: 10px 14px !important; font-size: .95rem !important; transition: border-color .15s, box-shadow .15s; }
html body .co-form-grid :is(input, select):focus { border-color: #10AC84 !important; box-shadow: 0 0 0 3px rgba(16,172,132,.18) !important; outline: none !important; }
html body .co-form-grid input[readonly], html body .co-form-grid input:disabled { background: #F6F7F8 !important; }
html body .canada-only-note { color: #888 !important; }
html body .ship-rate-btn { background: #fff !important; color: #111 !important; border: 1px solid #DADDE0 !important; border-radius: 999px !important; padding: 9px 18px !important; font-weight: 600 !important; }
html body .ship-rate-btn:hover:not(:disabled) { border-color: #10AC84 !important; color: #0B7A5E !important; }
html body .ship-rate-btn i { color: #10AC84; }
html body .ship-option { border: 1px solid #E3E6E8 !important; border-radius: 14px !important; padding: 14px 16px !important; transition: border-color .15s, background .15s; }
html body .ship-option:hover { border-color: #10AC84 !important; }
html body .ship-option.selected { border: 2px solid #10AC84 !important; background: #F1FBF8 !important; }
html body .ship-option input { accent-color: #10AC84; }
html body #card-container, html body .card-element { border-radius: 14px !important; }
html body .summary-card { border-radius: 24px !important; border: 1px solid #EFEFEF; box-shadow: 0 10px 30px rgba(0,0,0,.05) !important; padding: 28px !important; top: 104px !important; }
html body .summary-card h3 { font-family: 'Poppins', sans-serif !important; font-weight: 700 !important; }
html body .summary-total { font-family: 'Poppins', sans-serif; font-weight: 700 !important; font-size: 1.3rem !important; }
html body .pay-btn { border-radius: 999px !important; padding: 15px !important; font-family: 'Poppins', sans-serif; font-weight: 600 !important; font-size: 1rem !important; box-shadow: 0 10px 24px rgba(16,172,132,.25); transition: transform .15s, background .15s !important; }
html body .pay-btn:hover:not(:disabled) { transform: translateY(-1px); }
html body .pay-btn:disabled { box-shadow: none; }
html body .co-error { border-radius: 14px !important; }
/* shared confirmation layout (first used on the order confirmation): hero, then a status card overlapping it */
html body .lac-conf-hero { padding: 64px 0 120px !important; }
html body .lac-conf-hero h1 { color: #fff !important; font-family: 'Poppins', sans-serif !important; font-weight: 700 !important; font-size: clamp(1.9rem, 4vw, 2.6rem) !important; margin: 0 !important; }
html body .lac-conf-section { background: #F6F7F8 !important; padding-top: 0 !important; }
html body .lac-conf-section .conf-card { position: relative; margin-top: -84px !important; border-radius: 28px !important; border: 1px solid #EFEFEF; box-shadow: 0 20px 50px rgba(0,0,0,.08) !important; padding: 48px 48px 44px !important; max-width: 680px !important; }
html body .conf-card > i.fa-check-circle, html body .conf-card > .fas:first-child { font-size: 0 !important; width: 84px; height: 84px; border-radius: 50%; background: #E7F7F2; display: inline-flex !important; align-items: center; justify-content: center; margin-bottom: 18px; box-shadow: 0 0 0 10px #F1FBF8; }
html body .conf-card > i.fa-check-circle::before, html body .conf-card > .fas:first-child::before { font-size: 2.4rem; color: #10AC84; }
html body .conf-card h1 { font-family: 'Poppins', sans-serif !important; font-weight: 700 !important; font-size: 1.8rem !important; }
html body .conf-order { display: inline-block; background: #F6F7F8; border-radius: 999px; padding: 6px 16px !important; margin: 6px 0 18px !important; }
html body .conf-table { text-align: left; }
html body .conf-table td, html body .conf-table th { padding: 12px 4px !important; border-color: #F0F0F0 !important; }
html body .conf-table tr:last-child td { font-family: 'Poppins', sans-serif; font-size: 1.15rem; }
html body .conf-downloads { border-radius: 16px !important; }
html body .conf-btn { display: inline-flex !important; align-items: center; gap: 8px; background: #10AC84 !important; border-radius: 999px !important; padding: 13px 28px !important; font-family: 'Poppins', sans-serif; font-weight: 600 !important; transition: background .15s, transform .15s; }
html body .conf-btn:hover { background: #0E9673 !important; color: #fff !important; transform: translateY(-1px); }
@media (max-width: 600px) { html body .lac-conf-section .conf-card { padding: 34px 22px !important; border-radius: 22px !important; } }
html body .lac-conf-hero .lac-breadcrumb { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-size: .85rem; margin-bottom: 14px; }
html body .lac-conf-hero .lac-breadcrumb a { color: rgba(255,255,255,.6) !important; text-decoration: none; }
html body .lac-conf-hero .lac-breadcrumb .sep { color: rgba(255,255,255,.3); }
html body .lac-conf-hero .lac-breadcrumb .current { color: #fff; font-weight: 600; }

/* ═════════════════════ Stage 5.6: card donation (donate-live.php) ═════════════════════ */
html body .donate-grid { grid-template-columns: 340px 1fr !important; gap: 28px !important; }
@media (max-width: 991px) { html body .donate-grid { grid-template-columns: 1fr !important; } html body .donate-grid > div:first-child { order: 2; } }
/* "Why donate?" and the hardware / books boxes: hero colours instead of black-red */
html body .donate-sidebar-card { position: relative; overflow: hidden; isolation: isolate; border-radius: 24px !important; padding: 30px 26px !important; top: 104px !important; box-shadow: 0 14px 36px rgba(0,0,0,.12) !important;
  background: radial-gradient(ellipse 90% 70% at 85% 10%, rgba(16,172,132,.32), rgba(16,172,132,0) 70%), linear-gradient(160deg, #151515 0%, #1B2723 55%, #12382E 100%) !important; }
html body .donate-sidebar-card::after { content: ""; position: absolute; z-index: -1; inset: 40% -20% -10% 0; background: url("/assets/images/canada-map.svg") center / contain no-repeat; opacity: .10; }
html body .donate-sidebar-card h3 { font-family: 'Poppins', sans-serif !important; font-weight: 700 !important; }
html body .donate-sidebar-card h3 i { color: #10AC84 !important; }
html body .donate-grid a[href^="donate-hardware"] > div, html body .donate-grid a[href^="donate-books"] > div {
  border-radius: 20px !important; box-shadow: 0 10px 26px rgba(0,0,0,.12) !important; transition: transform .15s;
  background: linear-gradient(115deg, #151515 0%, #1B2723 55%, #12382E 100%) !important; }
html body .donate-grid a[href^="donate-hardware"]:hover > div, html body .donate-grid a[href^="donate-books"]:hover > div { transform: translateY(-2px); }
/* main card */
html body .donate-grid .lac-card { border-radius: 24px !important; }
html body .donate-method-tab { border-radius: 999px !important; border: 1px solid #E3E6E8 !important; font-family: 'Poppins', sans-serif; font-weight: 600 !important; }
html body .donate-method-tab.active { background: #10AC84 !important; border-color: #10AC84 !important; color: #fff !important; box-shadow: 0 8px 20px rgba(16,172,132,.25) !important; }
html body .donate-preset { border-radius: 999px !important; border: 1px solid #E3E6E8 !important; font-family: 'Poppins', sans-serif; font-weight: 600 !important; padding: 11px 8px !important; }
html body .donate-preset.active { background: #10AC84 !important; border-color: #10AC84 !important; color: #fff !important; box-shadow: 0 8px 20px rgba(16,172,132,.25) !important; }
html body .donate-field label { text-transform: none !important; letter-spacing: 0 !important; font-size: .86rem !important; font-weight: 600 !important; }
html body .lac-input-donate, html body .donate-amount-wrap { border: 1px solid #E3E6E8 !important; border-radius: 12px !important; background: #fff !important; min-height: 46px; }
html body .donate-amount-input { font-family: 'Poppins', sans-serif; font-size: 1.2rem !important; font-weight: 700 !important; }
html body .donate-currency { color: #10AC84 !important; padding-left: 14px; font-weight: 700; }
html body .donate-square-element { border-radius: 12px !important; }
html body .donate-submit-btn { border-radius: 999px !important; padding: 16px !important; font-family: 'Poppins', sans-serif; font-weight: 600 !important; font-size: 1.05rem !important; background: #10AC84 !important; box-shadow: 0 10px 24px rgba(16,172,132,.25); }
html body .donate-error { border-radius: 14px !important; }
html body :is(.etransfer-card, .etransfer-email, .etransfer-step) { border-radius: 16px !important; }
html body .etransfer-step-num { background: #10AC84 !important; color: #fff !important; border-radius: 50% !important; }
html body .etransfer-copy-btn { border-radius: 999px !important; }
html body .donate-success-icon { color: #10AC84 !important; }
html body .donate-sidebar-card { position: relative !important; top: auto !important; }
html body .donate-amount-wrap { display: flex; align-items: center; overflow: hidden; }
html body .donate-amount-wrap .donate-amount-input, html body .donate-amount-wrap input { border: 0 !important; box-shadow: none !important; outline: 0; background: transparent !important; }
html body .donate-amount-wrap:focus-within, html body .lac-input-donate:focus { border-color: #10AC84 !important; box-shadow: 0 0 0 3px rgba(16,172,132,.15) !important; }
html body .donate-amount-wrap .donate-amount-input:focus { box-shadow: none !important; border: 0 !important; }
@media (max-width: 600px) { html body .donate-method-tab { white-space: normal !important; line-height: 1.2 !important; text-align: center; font-size: 12px !important; padding: 10px 10px !important; min-height: 46px; } }
html body .donate-amount-wrap #donate-amount { border: 0 !important; box-shadow: none !important; background: transparent !important; min-height: 44px; }

/* ═════════════════════ Stage 5.7: hardware & book donations ═════════════════════ */
/* hardware: how it works */
html body .hw-steps { grid-template-columns: repeat(2, 1fr) !important; gap: 22px 16px !important; }
html body .hw-step { border-radius: 20px !important; border: 1px solid #EFEFEF !important; box-shadow: 0 10px 30px rgba(0,0,0,.05) !important; padding: 26px 20px 22px !important; text-align: left !important; }
html body .hw-step-num { left: 20px !important; transform: none !important; background: #10AC84 !important; width: 30px !important; height: 30px !important; font-family: 'Poppins', sans-serif; font-weight: 700 !important; box-shadow: 0 6px 14px rgba(16,172,132,.3); }
html body .hw-step-icon { width: 46px; height: 46px; border-radius: 14px; background: #E7F7F2; color: #10AC84 !important; display: flex; align-items: center; justify-content: center; font-size: 1.15rem !important; margin: 6px 0 14px !important; }
html body .hw-step h4 { font-family: 'Poppins', sans-serif; font-size: 1rem !important; font-weight: 700 !important; color: #111 !important; margin: 0 0 6px !important; }
html body .hw-step p { font-size: .86rem !important; color: #666 !important; line-height: 1.6 !important; }
html body .lac-section h2:has(+ .hw-steps) { font-family: 'Poppins', sans-serif; font-size: 1.25rem !important; font-weight: 700 !important; }
/* who benefits */
html body .beneficiary-grid { grid-template-columns: repeat(2, 1fr) !important; }
html body .beneficiary-card { background: #F6F7F8 !important; border: 1px solid #EFEFEF !important; border-radius: 16px !important; padding: 16px !important; }
html body .beneficiary-icon { border-radius: 12px !important; background: #E7F7F2 !important; color: #10AC84 !important; }
html body .beneficiary-card h5 { font-family: 'Poppins', sans-serif; font-size: .92rem !important; font-weight: 600 !important; }
html body .beneficiary-card p { font-size: .82rem !important; color: #666 !important; }
/* note box: hero colours instead of black-red */
html body .hw-notice { border-radius: 20px !important; padding: 22px 24px !important; box-shadow: 0 10px 26px rgba(0,0,0,.12);
  background: radial-gradient(ellipse 90% 70% at 90% 0%, rgba(16,172,132,.28), rgba(16,172,132,0) 70%), linear-gradient(115deg, #151515 0%, #1B2723 55%, #12382E 100%) !important; }
html body .hw-notice i { color: #10AC84 !important; }
/* form */
html body #hw-donate-form .lac-field-section { color: #0B7A5E !important; letter-spacing: .06em; }
html body #hw-donate-form input[type=file], html body .bd-wrap input[type=file] { width: 100%; border: 1px dashed #C9D3D0 !important; border-radius: 14px !important; padding: 14px !important; background: #F6F7F8 !important; font-size: .85rem; cursor: pointer; }
html body :is(#hw-donate-form, .bd-wrap) input[type=file]::file-selector-button { border: 0; border-radius: 999px; background: #10AC84; color: #fff; font-weight: 600; padding: 7px 16px; margin-right: 12px; cursor: pointer; }
html body .donor-toggle-row { background: #F6F7F8 !important; border: 1px solid #EFEFEF !important; border-radius: 14px !important; }
html body .ios-toggle input:checked + .ios-toggle-slider { background: #10AC84 !important; }
html body #hw-submit-btn { border-radius: 999px !important; padding: 15px !important; font-family: 'Poppins', sans-serif; font-weight: 600 !important; box-shadow: 0 10px 24px rgba(16,172,132,.25); }
@media (max-width: 575px) { html body .hw-steps, html body .beneficiary-grid { grid-template-columns: 1fr !important; } }

/* books */
html body .bk-hero + .bd-wrap { padding-top: 40px !important; }
html body .bd-wrap .bd-grid { gap: 24px !important; margin-top: 0 !important; }
html body .bd-wrap .bd-card { border-radius: 24px !important; padding: 30px !important; border: 1px solid #EFEFEF !important; box-shadow: 0 10px 30px rgba(0,0,0,.05) !important; }
html body .bd-wrap .bd-card h2 { font-family: 'Poppins', sans-serif; font-size: 1.2rem !important; font-weight: 700 !important; display: flex; align-items: center; gap: 12px; margin-bottom: 14px !important; }
html body .bd-wrap .bd-card h2 i { width: 40px; height: 40px; border-radius: 12px; background: #E7F7F2; color: #10AC84 !important; display: inline-flex; align-items: center; justify-content: center; font-size: 1rem; flex-shrink: 0; }
html body .bd-wrap .bd-card h2 i.fa-building { background: #FDECEC; color: #D60000 !important; }
html body .bd-wrap .bd-card > p { color: #555; line-height: 1.7; }
html body .bd-wrap .bd-list li { font-size: .9rem; color: #333; }
html body .bd-wrap .bd-note { border: 0 !important; border-left: 4px solid #D60000 !important; background: #FFF6F6 !important; border-radius: 14px !important; color: #555; line-height: 1.6; }
html body .bd-wrap .bd-form { margin-top: 24px !important; }
html body .bd-wrap .bd-section { background: none !important; padding: 24px 0 0 !important; margin-top: 24px !important; border-top: 1px solid #EFEFEF !important; }
html body .bd-wrap form > .bd-section:first-of-type { border-top: 0 !important; margin-top: 4px !important; padding-top: 0 !important; }
html body .bd-wrap .bd-section h3 { font-family: 'Poppins', sans-serif; font-size: .78rem !important; font-weight: 600 !important; text-transform: uppercase; letter-spacing: .06em; color: #0B7A5E !important; margin-bottom: 16px !important; }
html body .bd-wrap .bd-label { font-size: .86rem !important; font-weight: 600 !important; color: #222; margin-bottom: 6px !important; }
html body .bd-wrap :is(.bd-input, .bd-select, .bd-textarea):not([type=file]) { border: 1px solid #E3E6E8 !important; border-radius: 12px !important; padding: 11px 14px !important; min-height: 46px; font-size: .95rem; transition: border-color .15s, box-shadow .15s; }
html body .bd-wrap :is(.bd-input, .bd-select, .bd-textarea):focus { border-color: #10AC84 !important; box-shadow: 0 0 0 3px rgba(16,172,132,.15) !important; outline: 0; }
html body .bd-wrap .modebox label { border-radius: 999px !important; border: 1px solid #E3E6E8 !important; background: #fff !important; padding: 10px 18px !important; font-weight: 500; display: inline-flex; align-items: center; gap: 8px; }
html body .bd-wrap .modebox label:has(input:checked) { border-color: #10AC84 !important; background: #E7F7F2 !important; color: #0B7A5E; font-weight: 600; }
html body .bd-wrap .modebox input, html body .bd-wrap input[type=checkbox] { accent-color: #10AC84; }
html body .bd-wrap .book-row { border-radius: 16px !important; background: #F6F7F8 !important; border: 1px solid #EFEFEF !important; padding: 16px 16px 14px !important; position: relative; }
html body .bd-wrap .remove-row { position: absolute; top: 8px; right: 10px; float: none !important; width: 28px; height: 28px; border-radius: 50%; color: #D60000 !important; font-size: 1.1rem; line-height: 1; }
html body .bd-wrap .remove-row:hover { background: #FDECEC; }
html body .bd-wrap .bd-btn { border-radius: 999px !important; padding: 11px 22px !important; font-family: 'Poppins', sans-serif; font-weight: 600 !important; }
html body .bd-wrap .bd-btn-light { background: #fff !important; color: #0B7A5E !important; border: 1px solid #10AC84 !important; }
html body .bd-wrap .bd-btn-light:hover { background: #E7F7F2 !important; }
html body .bd-wrap .bd-btn-dark, html body .bd-wrap .bd-btn-primary { background: #10AC84 !important; color: #fff !important; }
html body .bd-wrap button.bd-btn-primary[type=submit] { width: 100%; justify-content: center; padding: 15px !important; font-size: 1.02rem; box-shadow: 0 10px 24px rgba(16,172,132,.25); }
html body .bd-wrap .bd-success { border-radius: 16px !important; }
html body .bd-wrap .bd-error { border-radius: 14px !important; }
@media (max-width: 767px) { html body .bd-wrap .bd-card { padding: 22px 18px !important; } }

/* ═════════════════════ Confirmation pages (shared) ═════════════════════ */
/* old template page title (grey photo banner) → site hero; applies to every page still using it */
html body section > .dark-layer3:has(> .container > .page-top-wrap) { padding: 64px 0 !important; overflow: hidden; isolation: isolate;
  background: radial-gradient(ellipse 60% 90% at 85% 20%, rgba(16,172,132,.28), rgba(16,172,132,0) 70%), linear-gradient(115deg, #151515 0%, #1B2723 55%, #12382E 100%) !important; }
html body section > .dark-layer3:has(> .container > .page-top-wrap)::before { content: ""; position: absolute; inset: 0; z-index: -1; opacity: .35 !important; background: url("/assets/images/canada-map.svg") right 6% center / auto 120% no-repeat !important; }
html body section > .dark-layer3:has(> .container > .page-top-wrap) > .fixed-bg { display: none !important; }
html body .page-top-wrap { display: flex; flex-direction: column-reverse; align-items: flex-start; gap: 14px; }
html body .page-top-wrap h1 { color: #fff !important; font-family: 'Poppins', sans-serif !important; font-weight: 700 !important; font-size: clamp(1.9rem, 4vw, 2.6rem) !important; margin: 0 !important; }
html body .page-top-wrap .breadcrumb { background: none !important; padding: 0 !important; margin: 0 !important; font-size: .85rem; display: flex; flex-wrap: wrap; gap: 8px; }
html body .page-top-wrap .breadcrumb-item, html body .page-top-wrap .breadcrumb-item a { color: rgba(255,255,255,.6) !important; text-decoration: none; }
html body .page-top-wrap .breadcrumb-item.active { color: #fff !important; font-weight: 600; }
html body .page-top-wrap .breadcrumb-item + .breadcrumb-item { padding-left: 0 !important; }
html body .page-top-wrap .breadcrumb-item + .breadcrumb-item::before { content: "/" !important; font-family: inherit !important; color: rgba(255,255,255,.3) !important; padding-right: 8px !important; float: none !important; }
/* confirmation sections after the banner: leave room for the overlapping card */
html body section:has(> .dark-layer3 > .container > .page-top-wrap):has(+ :is(.success-section, .activation-section, .newsletter-page-section, .event-admin-section)) > .dark-layer3 { padding-bottom: 140px !important; }
html body :is(.success-section, .activation-section, .newsletter-page-section, .event-admin-section, .lac-verification-wrap) { background: #F6F7F8 !important; padding: 0 0 90px !important; min-height: 0 !important; display: block !important; }
html body .success-section > br { display: none; }
html body .lac-banner:has(+ .lac-verification-wrap) { padding-bottom: 140px !important; }

/* the card */
html body :is(.success-box, .activation-box, .newsletter-page-section .newsletter-card, .event-admin-section .event-admin-box, .lac-verification-card, .lac-conf-card, .osw-ex-confirm) {
  position: relative; z-index: 2; max-width: 640px !important; width: 100%; margin: -84px auto 0 !important; background: #fff !important; border: 1px solid #EFEFEF !important;
  border-radius: 28px !important; box-shadow: 0 20px 50px rgba(0,0,0,.08) !important; padding: 48px 44px 44px !important; text-align: center !important; }
html body .lac-verification-card .lac-card-body { padding: 0 !important; }
html body .lac-conf-section .unsub-wrap { max-width: 640px !important; margin: 0 auto !important; padding: 0 !important; }
html body :is(.success-box, .activation-box, .newsletter-card, .event-admin-box, .lac-verification-card, .lac-conf-card, .osw-ex-confirm) :is(h1, h2) {
  font-family: 'Poppins', sans-serif !important; font-weight: 700 !important; font-size: clamp(1.35rem, 3vw, 1.75rem) !important; color: #111 !important; line-height: 1.3 !important; margin: 0 0 12px !important; }
html body :is(.success-box, .activation-box, .newsletter-card, .event-admin-box, .lac-verification-card, .lac-conf-card, .osw-ex-confirm) p { color: #555 !important; font-size: 1rem !important; line-height: 1.7 !important; margin: 0 0 14px !important; }
html body :is(.success-box, .activation-box, .newsletter-card, .event-admin-box, .lac-verification-card, .lac-conf-card, .osw-ex-confirm) p strong { color: #111; }
/* icon bubble */
html body :is(.lac-conf-icon, .activation-box .icon, .unsub-card > i.icon, .unsub-icon, .lac-verification-icon, .osw-ex-check),
html body :is(.success-box, .newsletter-card, .event-admin-box)::before {
  width: 84px !important; height: 84px !important; border-radius: 50% !important; background: #E7F7F2 !important; color: #10AC84 !important; box-shadow: 0 0 0 10px #F1FBF8;
  display: flex !important; align-items: center; justify-content: center; margin: 0 auto 26px !important; font-size: 2.2rem !important; line-height: 1 !important; }
html body :is(.success-box, .newsletter-card, .event-admin-box)::before { font-family: "Font Awesome 5 Free", "Font Awesome 6 Free"; font-weight: 900; content: "\f0e0"; }
html body .event-admin-box::before { content: "\f00c" !important; }
html body :is(.unsub-icon, .lac-conf-icon) i { font-size: inherit !important; color: inherit !important; margin: 0 !important; }
html body .unsub-card > i.icon::before { font-size: 2.2rem; }
html body :is(.activation-box.error .icon, .unsub-card > i.icon.err, .unsub-icon.err, .lac-verification-icon.error, .lac-conf-requires_payment_method .lac-conf-icon, .lac-conf-canceled .lac-conf-icon) {
  background: #FDECEC !important; color: #D60000 !important; box-shadow: 0 0 0 10px #FFF6F6; }
html body :is(.lac-conf-unknown, .lac-conf-processing) .lac-conf-icon { background: #F3F4F5 !important; color: #555 !important; box-shadow: 0 0 0 10px #F8F9FA; }
html body .conf-card > .lac-conf-icon + * { margin-top: 0; }
/* buttons inside the cards */
html body :is(.success-box, .activation-box, .newsletter-card, .event-admin-box, .lac-verification-card, .lac-conf-card, .osw-ex-confirm) :is(.thm-btn, .btn-login, .event-admin-btn, .lac-verification-back, .osw-btn-primary, .unsub-btn, a.conf-btn) {
  display: inline-flex !important; align-items: center; justify-content: center; gap: 8px; background: #10AC84 !important; color: #fff !important; border: 0 !important; border-radius: 999px !important;
  padding: 13px 28px !important; font-family: 'Poppins', sans-serif; font-weight: 600 !important; font-size: .95rem !important; text-decoration: none !important; box-shadow: 0 10px 22px rgba(16,172,132,.22) !important; margin: 8px 4px 0 !important; transition: background .15s, transform .15s; }
html body :is(.success-box, .activation-box, .newsletter-card, .event-admin-box, .lac-verification-card, .lac-conf-card, .osw-ex-confirm) :is(.thm-btn, .btn-login, .event-admin-btn, .lac-verification-back, .osw-btn-primary, .unsub-btn, a.conf-btn):hover { background: #0E9673 !important; transform: translateY(-1px); }
html body :is(.success-box, .activation-box, .newsletter-card, .event-admin-box, .lac-conf-card) .thm-btn::before { display: none !important; }
html body :is(.success-box, .activation-box, .newsletter-card, .event-admin-box, .lac-conf-card) .thm-btn i { position: static !important; margin: 0 !important; transform: none !important; font-size: .8rem; }
html body .unsub-card .unsub-btn { background: #D60000 !important; box-shadow: 0 10px 22px rgba(214,0,0,.18) !important; }
html body .unsub-card .unsub-btn:hover { background: #B00000 !important; }
html body :is(.activation-box .btn-back, .event-admin-box .back-link) { display: inline-flex !important; align-items: center; gap: 6px; border: 1px solid #DDE3E1 !important; background: #fff !important; color: #333 !important; border-radius: 999px !important; padding: 12px 24px !important; font-weight: 600 !important; text-decoration: none !important; margin: 8px 4px 0 !important; }
html body :is(.activation-box .btn-back, .event-admin-box .back-link):hover { border-color: #10AC84 !important; color: #0B7A5E !important; }
html body .event-admin-box .event-admin-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; }
/* small parts */
html body .unsub-email { background: #F6F7F8 !important; border-radius: 999px !important; padding: 8px 18px !important; font-weight: 600 !important; }
html body .success-box p[style] { font-size: .86rem !important; color: #888 !important; background: #F6F7F8; border-radius: 14px; padding: 14px 18px; margin-top: 18px !important; }
html body .newsletter-card form { text-align: left; margin-top: 18px; }
html body .newsletter-card form label { display: block; font-weight: 600; font-size: .88rem; margin: 14px 0 6px; }
html body .newsletter-card form :is(select, textarea) { width: 100%; border: 1px solid #E3E6E8 !important; border-radius: 12px !important; padding: 11px 14px !important; background: #fff; }
html body .newsletter-card form button { margin-top: 18px !important; width: 100%; }
html body .unsub-card p[style] a, html body .lac-conf-card a:not([class]) { color: #0B7A5E; font-weight: 600; }
/* certificate check */
html body .lc-verify { text-align: left !important; }
html body .lc-verify .lac-conf-icon { margin-bottom: 26px !important; }
html body .lc-verify-form label { display: block; font-weight: 600; font-size: .9rem; margin-bottom: 8px; }
html body .lc-verify-row { display: flex; gap: 10px; flex-wrap: wrap; }
html body .lc-verify-row input { flex: 1 1 260px; min-height: 50px; border: 1px solid #E3E6E8; border-radius: 999px; padding: 0 20px; font-family: ui-monospace, monospace; font-size: .92rem; }
html body .lc-verify-row input:focus { outline: 0; border-color: #10AC84; box-shadow: 0 0 0 3px rgba(16,172,132,.15); }
html body .lc-verify-row .conf-btn { margin: 0 !important; border: 0; color: #fff; }
html body .lc-verify-result { margin-top: 22px; border-radius: 18px; padding: 18px 20px; font-weight: 600; }
html body .lc-verify-result.bad { background: #FFF6F6; color: #B00000; border: 1px solid #F6D2D2; }
html body .lc-verify-result.ok { background: #F1FBF8; border: 1px solid #CDEFE4; }
html body .lc-verify-result.ok h2 { color: #0B7A5E !important; font-size: 1.15rem !important; margin-bottom: 14px !important; }
html body .lc-verify-result dl { display: grid; grid-template-columns: max-content 1fr; gap: 8px 18px; margin: 0; font-weight: 400; }
html body .lc-verify-result dt { color: #777; font-weight: 500; }
html body .lc-verify-result dd { margin: 0; color: #111; font-weight: 600; }
html body .lc-verify-back { margin: 22px 0 0 !important; font-size: .9rem !important; }
html body .lc-verify-back a { color: #0B7A5E; font-weight: 600; text-decoration: none; }
/* Open Source Week exhibitor confirmation (no hero of its own) */
html body .osw-ex-section:has(.osw-ex-confirm) { background: radial-gradient(ellipse 60% 50% at 85% 0%, rgba(16,172,132,.28), rgba(16,172,132,0) 70%), linear-gradient(180deg, #151515 0, #1B2723 220px, #12382E 300px, #F6F7F8 300px) !important; padding: 140px 0 90px !important; }
@media (max-width: 600px) {
  html body :is(.success-box, .activation-box, .newsletter-page-section .newsletter-card, .event-admin-section .event-admin-box, .lac-verification-card, .lac-conf-card, .osw-ex-confirm) { padding: 36px 22px 30px !important; border-radius: 22px !important; }
  html body :is(.success-box, .activation-box, .newsletter-card, .event-admin-box, .lac-verification-card, .lac-conf-card, .osw-ex-confirm) :is(.thm-btn, .btn-login, .event-admin-btn, .lac-verification-back, .osw-btn-primary, .unsub-btn, a.conf-btn, .btn-back, .back-link) { width: 100%; }
  html body section > .dark-layer3:has(> .container > .page-top-wrap) { padding: 44px 0 !important; }
}
html body .page-top-wrap ol.breadcrumb li.breadcrumb-item { font-size: .85rem !important; font-family: inherit !important; }
html body .page-top-wrap ol.breadcrumb li.breadcrumb-item + li.breadcrumb-item { margin-left: 0 !important; padding-left: 0 !important; }
html body .page-top-wrap ol.breadcrumb li.breadcrumb-item + li.breadcrumb-item::before { position: static !important; display: inline-block; font-weight: 400 !important; }
html body .tfa-icon { background: #E7F7F2 !important; color: #10AC84 !important; border: 0 !important; box-shadow: 0 0 0 8px #F1FBF8 !important; }
html body .tfa-icon i { color: #10AC84 !important; }
html body :is(.success-section, .activation-section, .newsletter-page-section, .event-admin-section) { padding-left: 16px !important; padding-right: 16px !important; }
html body .conf-card.lc-verify, html body .conf-card.lc-verify .lc-verify-result h2 { text-align: left !important; }

/* ═════════════════════ Stage 6.1: employer portal ═════════════════════ */
html body :is(.ep-card, .ep-sidebar, .ep-sidenav, .ep-job-card, .ep-stat) { border-radius: 20px !important; border: 1px solid #EFEFEF !important; box-shadow: 0 10px 30px rgba(0,0,0,.05) !important; }
html body .ep-sidenav { padding: 22px 16px !important; }
html body .ep-nav-link { border-radius: 12px !important; }
html body .ep-company-name, html body .ep-card-title, html body .ep-job-title, html body .ep-name { font-family: 'Poppins', sans-serif !important; font-weight: 600 !important; }
/* stat tiles: one calm style instead of four coloured top borders */
html body .ep-stats { gap: 14px !important; }
html body .ep-stat { border-top: 1px solid #EFEFEF !important; padding: 18px 16px !important; text-align: left !important; }
html body .ep-stat .num { font-family: 'Poppins', sans-serif !important; font-weight: 700 !important; font-size: 1.8rem !important; color: #111 !important; }
html body .ep-stat:first-child .num { color: #10AC84 !important; }
html body .ep-stat .lbl { color: #777 !important; letter-spacing: .06em !important; font-weight: 600 !important; }
/* "2 new" badge was squeezed into an 18px circle */
html body .ep-unread-badge { width: auto !important; height: auto !important; border-radius: 999px !important; padding: 2px 9px !important; background: #D60000 !important; font-size: .68rem !important; white-space: nowrap; }
html body .ep-new-badge { border-radius: 999px !important; background: #D60000 !important; padding: 2px 8px !important; }
html body .ep-unread-badge.ep-nav-badge, html body .ep-nav-link .ep-unread-badge { min-width: 20px; justify-content: center; }
/* chips and statuses */
html body :is(.ep-chip, .ep-status) { border-radius: 999px !important; padding: 3px 11px !important; }
/* buttons */
html body .ep-btn { border-radius: 999px !important; padding: 9px 16px !important; font-family: 'Poppins', sans-serif; font-weight: 600 !important; font-size: .8rem !important; }
html body .ep-btn.outline, html body .ep-btn.dl { background: #fff !important; border: 1px solid #DDE3E1 !important; color: #333 !important; }
html body .ep-btn.outline:hover, html body .ep-btn.dl:hover { border-color: #10AC84 !important; color: #0B7A5E !important; }
html body .ep-btn.danger { background: #fff !important; border: 1px solid #F3C6C6 !important; color: #B00000 !important; }
html body .ep-btn.danger:hover { background: #FFF6F6 !important; }
html body :is(.ep-btn.primary, .ep-btn.save) { background: #10AC84 !important; }
html body .ep-submit { border-radius: 999px !important; padding: 14px 26px !important; font-family: 'Poppins', sans-serif; font-weight: 600 !important; box-shadow: 0 10px 22px rgba(16,172,132,.22); }
html body .ep-submit:hover { background: #0E9673 !important; }
/* form fields */
html body :is(.ep-input, .ep-select, .ep-textarea) { border: 1px solid #E3E6E8 !important; border-radius: 12px !important; background: #fff !important; min-height: 46px; padding: 11px 14px !important; font-size: .92rem !important; }
html body .ep-textarea { min-height: 110px; }
html body :is(.ep-input, .ep-select, .ep-textarea):focus { border-color: #10AC84 !important; box-shadow: 0 0 0 3px rgba(16,172,132,.15) !important; }
html body .ep-label { font-size: .86rem !important; font-weight: 600 !important; color: #222 !important; }
html body .ep-sec { color: #0B7A5E !important; font-weight: 600 !important; letter-spacing: .08em !important; }
html body .ep-sec i { color: #10AC84 !important; }
html body .ep-toolbar .ep-select { min-height: 44px; border-radius: 999px !important; padding: 0 38px 0 16px !important; }
html body .ep-card .ep-action-select, html body .ep-actions .ep-select { border-radius: 12px !important; }
html body :is(.ep-error, .ep-success) { border-radius: 14px !important; }
html body .ep-card input[type=file] { border: 1px dashed #C9D3D0 !important; border-radius: 14px !important; padding: 12px !important; background: #F6F7F8 !important; width: 100%; }
html body .ep-card input[type=file]::file-selector-button { border: 0; border-radius: 999px; background: #10AC84; color: #fff; font-weight: 600; padding: 7px 16px; margin-right: 12px; cursor: pointer; }
/* applications list: green left edge kept, rounder */
html body .ep-card[style*="border-left"], html body .ep-card.unread { border-radius: 20px !important; }
/* register: "Why post here?" box in hero colours instead of black-red */
html body .ep-sidebar[style*="linear-gradient"] { background: radial-gradient(ellipse 90% 70% at 90% 0%, rgba(16,172,132,.28), rgba(16,172,132,0) 70%), linear-gradient(140deg, #151515 0%, #1B2723 55%, #12382E 100%) !important; border: 0 !important; }
html body .ep-sidebar[style*="linear-gradient"] ul { color: rgba(255,255,255,.75) !important; }
/* post-a-job editor tabs and translate buttons */
html body .editor-tab { border-radius: 999px !important; }
html body .btn-translate { border-radius: 999px !important; }
html body .quill-wrap, html body .quill-wrap .ql-toolbar, html body .quill-wrap .ql-container { border-color: #E3E6E8 !important; }
html body .quill-wrap .ql-toolbar { border-radius: 12px 12px 0 0 !important; }
html body .quill-wrap .ql-container { border-radius: 0 0 12px 12px !important; }
html body .ep-check-label input { accent-color: #10AC84; }
@media (max-width: 767px) { html body :is(.ep-card, .ep-sidebar, .ep-sidenav) { padding: 22px 18px !important; } }
/* school outreach "Our Vision": compact audience cards so the section has no empty band */
@media (min-width: 992px) {
  html body .so-section .col-lg-5 .so-audience-card { display: grid !important; grid-template-columns: 46px 1fr; column-gap: 16px; align-items: start; padding: 18px 20px !important; }
  html body .so-section .col-lg-5 .so-audience-card .so-audience-icon { grid-row: 1 / span 3; width: 46px !important; height: 46px !important; margin: 0 !important; }
  html body .so-section .col-lg-5 .so-audience-card h3 { margin: 0 0 2px !important; font-size: 1.02rem !important; }
  html body .so-section .col-lg-5 .so-audience-card p { margin: 0 0 4px !important; font-size: .9rem !important; line-height: 1.5 !important; }
  html body .so-section .col-lg-5 .so-audience-card a { font-size: .88rem; }
  html body .so-section .col-lg-5 .row > [class*="col-"] { margin-bottom: 12px !important; }
  html body .so-section .col-lg-5 .row > [class*="col-"]:last-child { margin-bottom: 0 !important; }
}

/* ═════════════════════ Stage 6.2: chapter portal ═════════════════════ */
html body :is(.cp-card, .res, .ug-card) { border-radius: 20px !important; border: 1px solid #EFEFEF !important; border-top: 1px solid #EFEFEF !important; box-shadow: 0 10px 30px rgba(0,0,0,.05) !important; }
html body .cp-login .cp-card, html body .ug-login-wrap .ug-card { padding: 34px 32px !important; }
/* dashboard */
html body .cp-top h2 { font-family: 'Poppins', sans-serif !important; font-weight: 700 !important; }
html body .cp-top .lac-btn { border-radius: 999px !important; background: #fff !important; border: 1px solid #DDE3E1 !important; color: #333 !important; padding: 8px 16px !important; font-weight: 600 !important; font-size: .85rem !important; }
html body .cp-top .lac-btn:hover { border-color: #10AC84 !important; color: #0B7A5E !important; }
html body .cp-stats { gap: 14px !important; }
html body .cp-stat { text-align: left !important; padding: 18px 20px !important; }
html body .cp-stat :is(strong, b, .num, h3, div:first-child) { font-family: 'Poppins', sans-serif; }
html body a.cp-card { display: block; transition: transform .15s, box-shadow .15s, border-color .15s; }
html body a.cp-card:hover { transform: translateY(-2px); border-color: #CDEFE4 !important; box-shadow: 0 16px 36px rgba(0,0,0,.08) !important; }
html body .cp-card .cp-icon { width: 46px; height: 46px; border-radius: 14px; background: #E7F7F2; display: inline-flex; align-items: center; justify-content: center; font-size: 1.1rem !important; }
html body .cp-card h3, html body .res h3 { font-family: 'Poppins', sans-serif !important; font-weight: 600 !important; font-size: 1.05rem !important; }
/* resources */
html body .res i { width: 46px; height: 46px; border-radius: 14px; background: #E7F7F2; display: inline-flex !important; align-items: center; justify-content: center; font-size: 1.15rem !important; margin-bottom: 10px; }
html body .res :is(a.lac-btn, .lac-btn) { border-radius: 999px !important; }
/* login and forms */
html body :is(.cp-input) { border: 1px solid #E3E6E8 !important; border-radius: 12px !important; min-height: 46px; }
html body .cp-input:focus { outline: 0; border-color: #10AC84 !important; box-shadow: 0 0 0 3px rgba(16,172,132,.15) !important; }
html body .cp-btn { border-radius: 999px !important; padding: 14px !important; font-family: 'Poppins', sans-serif; font-weight: 600 !important; box-shadow: 0 10px 22px rgba(16,172,132,.22); }
html body :is(.cp-error, .ug-error, .ug-success, .ug-forced-note) { border-radius: 14px !important; }
/* list rows and small buttons (shared with the user group portal pages) */
html body .ug-btn-sm { border-radius: 999px !important; padding: 7px 14px !important; font-weight: 600 !important; }
html body .ug-btn-grey { background: #fff !important; border: 1px solid #DDE3E1 !important; color: #333 !important; }
html body .ug-btn-red { background: #fff !important; border: 1px solid #F3C6C6 !important; color: #B00000 !important; }
html body .ug-back, html body .lac-section > .container > a[href="chapter-dashboard.php"] { display: inline-flex; align-items: center; gap: 6px; color: #0B7A5E !important; font-weight: 600; font-size: .88rem; text-decoration: none; }
html body .ug-event-thumb { border-radius: 12px !important; }
/* officers & access page (chapter-users.php) */
html body .lac-section .box:has(> .box-head) { border-radius: 20px !important; border: 1px solid #EFEFEF; box-shadow: 0 10px 30px rgba(0,0,0,.05) !important; margin-top: 22px !important; }
html body .lac-section .box > .box-head { background: #fff !important; color: #111 !important; font-family: 'Poppins', sans-serif; font-weight: 600 !important; font-size: 1.02rem; padding: 18px 22px !important; border-bottom: 1px solid #F0F0F0; display: flex; align-items: center; gap: 10px; }
html body .lac-section .box > .box-head i { width: 34px; height: 34px; border-radius: 11px; background: #E7F7F2; color: #10AC84; display: inline-flex; align-items: center; justify-content: center; font-size: .9rem; }
html body .lac-section .box .field label { font-size: .84rem !important; font-weight: 600 !important; color: #222; }
html body .lac-section .box .field :is(input, select) { border: 1px solid #E3E6E8 !important; border-radius: 12px !important; min-height: 46px; padding: 10px 14px !important; }
html body .lac-section .box .field :is(input, select):focus { outline: 0; border-color: #10AC84 !important; box-shadow: 0 0 0 3px rgba(16,172,132,.15); }
html body .lac-section .box .grid button[type=submit], html body .lac-section .box .grid .lac-btn { border-radius: 999px !important; min-height: 46px; }
html body .lac-section .box th { background: #F6F7F8 !important; color: #777 !important; font-weight: 600 !important; letter-spacing: .05em; }
html body .lac-section .box td { vertical-align: middle; }
html body .lac-section .box .mini { width: 34px; height: 34px; padding: 0 !important; border-radius: 10px !important; background: #fff !important; border: 1px solid #E3E6E8 !important; display: inline-flex; align-items: center; justify-content: center; transition: background .15s, border-color .15s; }
html body .lac-section .box .mini.edit { color: #10AC84 !important; }
html body .lac-section .box .mini.suspend { color: #666 !important; }
html body .lac-section .box .mini.reset { color: #C77700 !important; }
html body .lac-section .box .mini.delete { color: #D60000 !important; }
html body .lac-section .box .mini:hover { background: #F6F7F8 !important; border-color: #C9D3D0 !important; }
html body .lac-section .box .mini.delete:hover { background: #FFF6F6 !important; border-color: #F3C6C6 !important; }
html body .lac-section .box .role { border-radius: 999px !important; }
html body .lac-section .box ~ .flash, html body .lac-section .flash { border-radius: 14px !important; }
/* public chapter page: header card in the site's dark green instead of black-red */
html body .chapter-hero-card { border-radius: 24px !important; border: 1px solid #EFEFEF; box-shadow: 0 10px 30px rgba(0,0,0,.06) !important; }
html body .chapter-hero-head { background: radial-gradient(ellipse 70% 90% at 90% 10%, rgba(16,172,132,.30), rgba(16,172,132,0) 70%), linear-gradient(115deg, #151515 0%, #1B2723 55%, #12382E 100%) !important; }
html body .chapter-logo-wrap, html body .chapter-logo { border-radius: 18px !important; }
html body .contact-tile { border-radius: 18px !important; }
html body .cp-stat { background: #fff !important; border-radius: 20px !important; border: 1px solid #EFEFEF !important; box-shadow: 0 10px 30px rgba(0,0,0,.05) !important; }
html body .cp-stat strong { display: block; font-family: 'Poppins', sans-serif; font-weight: 700; font-size: 1.8rem; line-height: 1.1; color: #111; }
html body .cp-stat:first-child strong { color: #10AC84; }
html body .cp-stat span { color: #777; font-size: .8rem; font-weight: 600; letter-spacing: .05em; text-transform: uppercase; }
@media (max-width: 600px) { html body .cp-stats { grid-template-columns: 1fr 1fr !important; gap: 10px !important; } html body .cp-stat { padding: 14px 16px !important; } html body .cp-stat strong { font-size: 1.5rem; } }
html body .lac-section .box .field select { background-color: #fff !important; }

/* ═════ Member directory: cards fill their column (the 220px team-card width is for the About page);
   two cards per row on phones, one only on very narrow screens ═════ */
html body .member-grid-item > .member-card { width: 100% !important; min-width: 0; }
@media (max-width: 575px) {
  html body .lac-section .member-grid { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; gap: 12px !important; }
  html body .member-grid-item { min-width: 0; }
  html body .member-grid-item > .member-card { padding: 36px 10px 16px !important; border-radius: 18px !important; }
  html body .member-grid-item .staff-badge, html body .member-grid-item .mentor-badge { top: 9px !important; font-size: .62rem !important; padding: 3px 8px !important; }
  html body .member-grid-item .staff-badge { left: 9px !important; }
  html body .member-grid-item .mentor-badge { right: 9px !important; }
  html body .member-grid-item :is(.member-avatar, .member-avatar-ph, .member-photo-wrap) { width: 78px !important; height: 78px !important; margin-bottom: 10px !important; }
  html body .member-grid-item .member-avatar-ph { font-size: 1.6rem !important; }
  html body .member-grid-item .member-name { font-size: .92rem !important; line-height: 1.25; overflow-wrap: anywhere; }
  html body .member-grid-item .pass-badge-inline { font-size: .58rem !important; padding: 2px 7px !important; white-space: normal; }
  html body .member-grid-item .staff-position { font-size: .74rem !important; }
  html body .member-grid-item .member-location { font-size: .72rem !important; margin-bottom: 8px !important; }
  html body .member-grid-item .member-bio { font-size: .76rem !important; -webkit-line-clamp: 3 !important; margin-bottom: 10px !important; }
  html body .member-grid-item .member-skills { gap: 4px !important; margin-bottom: 10px !important; }
  html body .member-grid-item .skill-tag { font-size: .64rem !important; padding: 2px 7px !important; }
  html body .member-grid-item .skill-tag:nth-child(n+4) { display: none !important; }   /* the profile shows them all */
  html body .member-grid-item .member-stats { gap: 10px !important; font-size: .7rem !important; margin-bottom: 8px !important; }
  html body .member-grid-item .member-links { gap: 6px !important; flex-wrap: wrap; }
  html body .member-grid-item .member-links a { width: 30px !important; height: 30px !important; font-size: .8rem !important; }
}
@media (max-width: 339px) {
  html body .lac-section .member-grid { grid-template-columns: 1fr !important; }
}

/* ═════ Sign-in code pages (verify-2fa.php, verify-2fa-app.php): six digit boxes fit narrow phones ═════ */
@media (max-width: 480px) {
  html body .code-inputs { gap: 6px !important; justify-content: center; }
  html body .code-inputs .code-digit { width: 38px !important; height: 46px !important; font-size: 1.15rem !important; padding: 0 !important; }
}
