/* =====================================================================
   CBYD Site Development — custom.css
---------------------------------------------------------------------
   Version: v15.6.70 — Canon Restoration (Final)
   Date: 2025-10-20

   Canon Rules:
   • No duplicate systems
   • No accidental overrides
   • No experimental styles
   • Behavior-preserving cleanup only

   Authoritative Canon Owner: Meg Askey
===================================================================== */

/* =========================================================
   BASE COLORS AND TYPOGRAPHY
========================================================= */

body {
  background-color: #f9f9f9;
  color: #2b2b2b;
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
}

a {
  color: #4E9D2D;
}

a:hover,
a:focus {
  color: #4E9D2D;
  text-decoration: none;
}

/* =========================================================
   HERO SLIDESHOW (LOCKED / HOME ONLY)
   Scope: #cbydHero — DOES NOT AFFECT HUB HEADERS
========================================================= */

#cbydHero {
  position: relative;
  margin-bottom: 0;
}

/* -----------------------------------------
   Slide container
----------------------------------------- */

.hero-slide {
  position: relative;
  height: 475px;
  overflow: hidden;
}

/* Only apply background behavior to slide images */

.hero-slide picture img {
  object-fit: cover;
  height: 475px;
  width: 100%;
}

/* -----------------------------------------
   Overlay
----------------------------------------- */

.slide-overlay {
  background-color: rgba(17, 22, 19, 0.1);
  position: absolute;
  inset: 0;
  z-index: 1;
}

/* Darker overlays for slides 3 & 4 */

#cbydHero .carousel-item:nth-child(3) .slide-overlay,
#cbydHero .carousel-item:nth-child(4) .slide-overlay {
  background-color: rgba(17, 22, 19, 0.3);
}

/* -----------------------------------------
   Caption positioning (perfect centering)
----------------------------------------- */

.carousel-caption {
  bottom: auto;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
}

/* -----------------------------------------
   Typography
----------------------------------------- */

.carousel-caption h1 {
  font-size: 5rem;
  font-weight: 700;
  text-transform: none;
}

.carousel-caption p {
  font-size: 1.25rem;
  font-weight: 300;
}

@media (max-width: 575.98px) {
  .carousel-caption h1 {
    font-size: 3rem;
  }
}

/* -----------------------------------------
   Controls
----------------------------------------- */

.carousel-control-prev-icon,
.carousel-control-next-icon {
  background-size: 100% 100%;
  filter: invert(100%) brightness(200%);
}

/* -----------------------------------------
   Slide card stackers (Slide 3)
----------------------------------------- */

.card-stack {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: center;
  margin-top: 1rem;
}

.card-row {
  display: flex;
  gap: 2rem;
  justify-content: center;
  flex-wrap: wrap;
}

.cta-card {
  background: #fff;
  color: #111;
  padding: 1rem 2rem;
  border-radius: 0.5rem;
  font-size: 1.1rem;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  max-width: 400px;
}

.cta-card i {
  font-size: 1.5rem;
  color: #669900;
}

.cta-card:hover {
  background: #f0f0f0;
  transform: translateY(-2px);
}

/* -----------------------------------------
   Slide 2 image sizing
----------------------------------------- */

#cbydHero .carousel-item:nth-child(2) .row {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 2rem;
}

#cbydHero .carousel-item:nth-child(2) .slide-laptop {
  max-width: 85%;
}

@media (min-width: 768px) {
  #cbydHero .carousel-item:nth-child(2) .slide-laptop {
    max-width: 420px;
  }
}

/* =========================================================
   BREAKFAST SLIDE (3a) — visual refinement
========================================================= */

/* Tape */

.hero-slide--breakfast .hero-tape {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 1833px;
  z-index: 3;
}

/* Panel */

.hero-slide--breakfast .hero-callout {
  background: rgba(102,153,0,.92);
  padding: 2rem 3rem;
  border-radius: 8px;
  box-shadow: 0 14px 30px rgba(0,0,0,.35);
  max-width: 900px;
  margin: auto;
}

/* Headline refinement */

.hero-slide--breakfast h1 {
  font-size: 4rem;
  line-height: 1.1;
  margin-bottom: .5rem;
}

/* Subheading */

.hero-slide--breakfast .fst-italic {
  font-size: 1.2rem;
  opacity: .9;
}

/* Event list */

.hero-slide--breakfast p.small {
  font-size: .95rem;
  line-height: 1.45;
  margin-top: .75rem;
}

/* CTA button */

.hero-slide--breakfast .btn-success {
  background: #fff;
  border: none;
  color: #669900;
  font-weight: 700;
  padding: .6rem 1.4rem;
  margin-top: .8rem;
}

.hero-slide--breakfast .btn-success:hover {
  background: #f4f4f4;
}

/* Sign placement */

.hero-slide--breakfast .hero-sign {
  position: absolute;
  right: calc(50% - 450px);
  top: 40%;
  width: 120px;
  height: auto;
  z-index: 4;
  transform: rotate(45deg);
}

/* Responsive correction */

@media (max-width: 1200px) {

  .hero-slide--breakfast .hero-sign {
    display: none;
  }

}
/* =========================================================
   SECONDARY NAVIGATION (GREEN BAND)
========================================================= */

#secondary-navigation {
  background-color: #4E9D2D;
  padding: 0.5rem 0;
}

#secondary-navigation ul {
  display: flex;
  gap: 0.5rem;
  margin: 0;
  padding: 0;
}

#secondary-navigation .secondary-nav-link {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 600;
  font-size: 0.95rem;
  color: #fff;
  padding: 0.35rem 0.5rem;
  border-radius: 0.25rem;
  text-decoration: none;
  transition: background-color 0.2s ease, color 0.2s ease;
}

#secondary-navigation .secondary-nav-link:hover,
#secondary-navigation .secondary-nav-link:focus {
  background-color: #7ab21b;
  color: #111;
}

/* =========================================================
   NUMBER ROLL / STATS
========================================================= */

#number-roll {
  padding: 3rem 0;
}

#number-roll .stat-number {
  font-size: 3.25rem;
  font-weight: 800;
  color: #4E9D2D;
}

#number-roll .stat-number::after {
  content: "";
  display: block;
  width: 56px;
  height: 3px;
  margin: 0.5rem auto 0;
  background: #cfe8b5;
}

#number-roll .stat-label {
  font-size: 1rem;
  color: #2b2b2b;
}

/* =========================================================
   INTRO STATEMENT (Borderless, Canon)
========================================================= */

#intro-statement {
  background: #fff;
  text-align: center;
}

#intro-statement > .container {
  max-width: 800px;
  margin: 0 auto;
  padding: 3.25rem 2rem 3rem;
  position: relative;
}

#intro-statement > .container::after {
  content: "";
  position: absolute;
  left: 10%;
  right: 10%;
  bottom: -2px;
  height: 14px;
  box-shadow: 0 12px 16px -12px rgba(0,0,0,0.12);
  border-radius: 999px;
}

#intro-statement img {
  max-width: 180px;
  transform: translateY(-14px);
  margin-bottom: .25rem;
}

#intro-statement h2 {
  font-size: 2rem;
  font-weight: 800;
}

#intro-statement h2::after {
  content: "";
  display: block;
  width: 50px;
  height: 3px;
  margin: .5rem auto 0;
  background: #cfe8b5;
}

#intro-statement p {
  max-width: 720px;
  margin: 0 auto;
  font-size: 1.15rem;
  line-height: 1.75;
  color: #3a3a3a;
}
/* =========================================================
   VIDEO BLOCK (Full-Width Band)
========================================================= */

#video-block {
  background: #4E9D2D;
  padding: 3rem 0;
}

#video-block .container {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

@media (min-width: 768px) {
  #video-block .container {
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 3rem;
  }
}

#video-block .video-text-box {
  background: #fff;
  padding: 1.75rem 1.5rem;
  border-radius: .75rem;
  box-shadow: 0 10px 28px rgba(0,0,0,0.12);
  max-width: 520px;
}

#video-block .video-text-box h3 {
  font-weight: 800;
}

#video-block .video-text-box h3::after {
  content: "";
  display: block;
  width: 56px;
  height: 3px;
  margin-top: .5rem;
  background: #cfe8b5;
}

#video-block .btn-watch-video {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .6rem .9rem;
  border-radius: .5rem;
  font-weight: 700;
  background: #4E9D2D;
  color: #fff;
  text-decoration: none;
}

#video-block .video-launch {
  max-width: 640px;
  border-radius: .75rem;
  overflow: hidden;
  box-shadow: 0 16px 36px rgba(0,0,0,0.22);
}

/* =========================================================
   USER CARDS
   Plain, text-forward cards (no background images)
========================================================= */

#user-cards .row {
  row-gap: 2rem;
}

#user-cards .user-card {
  position: relative;
  display: block;
  height: 100%;
  min-height: 220px;
  color: #212529;
  background-color: #f5f5f5;
  border: 1px solid #e6e6e6;
  border-radius: .75rem;
  box-shadow: 0 4px 12px rgba(0,0,0,0.06);
  transition: transform .25s ease, box-shadow .25s ease;
  overflow: visible;
  isolation: isolate;
}

#user-cards .user-card::before {
  z-index: 0;
}

#user-cards .user-card-body {
  display: block;
  position: relative;
  z-index: 1;
  padding: 2.25rem 2.25rem 2rem;
}

#user-cards .user-card-title {
  font-size: 2.1rem;
  font-weight: 800;
  color: #212529;
  margin-top: 0;
}

#user-cards .user-card-title::after {
  content: "";
  display: block;
  width: 44px;
  height: 3px;
  background: #cfe8b5;
  margin-top: .35rem;
}

#user-cards .user-card-text {
  color: #212529;
}

#user-cards .user-card-cta {
  color: #4E9D2D;
}

#user-cards .user-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.10);
}

/* =========================================================
   BULLETIN BOARD (Triptych)
========================================================= */

#bulletin-board {
  background-color: #f0f2f3;
}

#bulletin-board .bb-grid {
  display: flex;
  gap: 2.25rem;
  justify-content: center;
  align-items: stretch;
  flex-wrap: nowrap;
}

#bulletin-board .bb-card {
  background: #fff;
  border-radius: .75rem;
  padding: 2rem 1.75rem;
  border: 1px solid rgba(0,0,0,.04);
  box-shadow: 0 6px 18px rgba(0,0,0,.08);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 290px;
  transition: transform .25s ease, box-shadow .25s ease;
}

#bulletin-board .bb-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 28px rgba(0,0,0,.12);
}

#bulletin-board .bb-title {
  font-size: 1.5rem;
  font-weight: 800;
  color: #4E9D2D;
  margin-bottom: .75rem;
}

#bulletin-board .bb-card {
  flex: 1 1 20%;
  max-width: 20%;
}

#bulletin-board .bb-card.bb-feature {
  flex: 1 1 60%;
  max-width: 60%;
  min-height: 420px;
  padding: 2.5rem 2rem;
  border: 1px solid #e9ecef;
  box-shadow: 0 14px 34px rgba(0,0,0,.12);
}

#bulletin-board .bb-card.bb-feature .bb-title {
  font-size: 2rem;
}

#bulletin-board .bb-card.bb-feature .bb-title::after {
  content: "";
  display: block;
  width: 64px;
  height: 3px;
  margin-top: .5rem;
  background: #cfe8b5;
}

@media (max-width: 991.98px) {
  #bulletin-board .bb-grid {
    flex-wrap: wrap;
  }

  #bulletin-board .bb-card,
  #bulletin-board .bb-card.bb-feature {
    max-width: 100%;
    flex-basis: 100%;
  }
}

/* =========================================================
   SUPPORTING ORGANIZATIONS — CANON ALIGNED
========================================================= */

#supporting-orgs,
#supporting-organizations {
  background: #fff;
  border-top: 2px solid #e9ecef;
  border-bottom: 2px solid #e9ecef;
}

#supporting-orgs .org-logo {
  padding: 0 1.25rem;
}

#supporting-orgs .org-logo img {
  max-height: 95px;
  object-fit: contain;
  opacity: .95;
  transition: transform .25s ease, filter .25s ease;
}

#supporting-orgs .org-logo img:hover {
  transform: scale(1.08);
  opacity: 1;
  filter: brightness(1.05) contrast(1.02);
}

/* =========================================================
   TOOLS & RESOURCES (Simple Cards)
========================================================= */

#tools-resources {
  background: #f7faf6;
  border-top: 2px solid #e9ecef;
  border-bottom: 2px solid #e9ecef;
  padding-top: var(--pad-sm);
  padding-bottom: var(--pad-sm);
}

@media (min-width: 768px) {
  #tools-resources {
    padding-top: var(--pad-md);
    padding-bottom: var(--pad-md);
  }
}

/* =========================================================
   PRIMARY CTA BUTTON — CANON (GLOBAL)
========================================================= */

.btn-cbyd {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: #4E9D2D;
  color: #ffffff !important;
  border: 2px solid #4E9D2D;
  border-radius: 0.375rem;
  font-weight: 700;
  line-height: 1.2;
  padding: 0.6rem 1rem;
  text-decoration: none;
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.btn-cbyd:hover,
.btn-cbyd:focus {
  background-color: #ffffff;
  color: #4E9D2D !important;
  text-decoration: none;
}

.btn-cbyd:active {
  background-color: #ffffff;
  color: #4E9D2D !important;
}

/* =========================================================
   SCARD SYSTEM — UNIVERSAL SIMPLE CARD COMPONENT
========================================================= */

.scard {
  background: #fff;
  border-radius: .75rem;
  overflow: hidden;
  border: 1px solid #e5e7eb;
  box-shadow: 0 6px 18px rgba(0,0,0,.06);
  transition: transform .22s ease, box-shadow .22s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.scard-body {
  padding: 1.25rem 1.25rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: .5rem;
}

.scard-title {
  font-weight: 700;
  color: #2b2b2b;
}

.scard-subtitle {
  color: #555;
}

/* =========================================================
   SIDECAR — NOTES, LISTS, EMPHASIS (EMERGENT CANON)
========================================================= */

.note-timing {
  background: #f7faf6;
  padding: 1rem 1.25rem;
  border-radius: .5rem;
  font-size: 0.95rem;
}

.list-green i {
  color: #4E9D2D;
}

.list-steps {
  padding-left: 1.25rem;
}

.list-steps li {
  margin-bottom: .75rem;
}
/* =========================================================
   QUICK LINKS — Canon Card System
========================================================= */

#quick-links {
  background: #fff;
  border-top: 2px solid #e9ecef;
  border-bottom: 2px solid #e9ecef;
  padding-top: var(--pad-sm);
  padding-bottom: var(--pad-sm);
}

@media (min-width: 768px) {
  #quick-links {
    padding-top: var(--pad-md);
    padding-bottom: var(--pad-md);
  }
}

/* QL Card — Base */
.ql-card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .75rem;
  padding: 1.25rem 1rem;
  text-decoration: none;
  background: #fff;
  color: #2b2b2b;
  border-radius: .75rem;
  border: 1px solid #e5e7eb;
  box-shadow: 0 6px 16px rgba(0,0,0,.06);
  transition: transform .2s ease, box-shadow .2s ease;
  height: 100%;
}

.ql-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 28px rgba(0,0,0,.12);
  text-decoration: none;
}

/* Icon bubble */
.ql-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 999px;
  background: #f3f7ef;
  color: #4E9D2D;
  font-size: 1.75rem;
  transition: background .2s ease, color .2s ease;
}

.ql-card:hover .ql-icon {
  background: #e4efd7;
  color: #557a00;
}

/* Label */
.ql-label {
  font-size: .95rem;
  font-weight: 600;
  color: #2b2b2b;
  text-align: center;
  line-height: 1.3;
}

/* =========================================================
   HEADER OFFSET — Tablet Safety
========================================================= */

@media (max-width: 1199.98px) {
  #sp-main-body {
    padding-top: 3rem;
  }
}

/* =========================================================
   UNIVERSAL SECTION HEADERS
========================================================= */

.section-head {
  text-align: center;
  margin-bottom: 1.5rem;
}

.section-title {
  font-size: 2.125rem;
  font-weight: 800;
  color: #2b2b2b;
  letter-spacing: .3px;
}

.section-title::after {
  content: "";
  display: block;
  width: 64px;
  height: 3px;
  margin: .6rem auto 0;
  background: #cfe8b5;
}

.section-subtitle {
  color: #5b5b5b;
  max-width: 60ch;
  margin: .5rem auto 0;
}

/* =========================================================
   SHINE MINI (Underline Animation)
========================================================= */

.section-title::after {
  background-size: 200% 100%;
  animation: cbyd-underline 6s linear infinite;
}

@keyframes cbyd-underline {
  to {
    background-position: 200% 0;
  }
}

/* =========================================================
   CARD GLOSS
========================================================= */

.rt-card::before,
.ql-card::before,
.user-card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(
    180deg,
    rgba(255,255,255,.06),
    rgba(255,255,255,0) 38%
  );
  opacity: 0;
  transition: opacity .25s ease;
  pointer-events: none;
}

/* =========================================================
   FOCUS-VISIBLE CANON
========================================================= */

a:focus-visible,
.rt-card:focus-visible,
.ql-card:focus-visible,
.user-card:focus-visible {
  outline: 3px solid #cfe8b5;
  outline-offset: 3px;
}

/* =========================================================
   TOP BAR — SOCIAL ICONS (CANON)
========================================================= */

#sp-top-bar {
  background-color: #4E9D2D;
}

#sp-top-bar .sp-column {
  line-height: 1;
}

.topbar-social {
  display: inline-flex;
  align-items: center;
  gap: 0.9rem;
}

.topbar-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
}

#sp-top-bar .topbar-social i {
  color: #ffffff;
  font-size: 1.15rem;
  transition: opacity 0.2s ease;
}

#sp-top-bar .topbar-social a:hover i,
#sp-top-bar .topbar-social a:focus i {
  opacity: 0.85;
}
/* ---------------------------------------------------------
   HEADER COLLAPSE SAFETY — Tablet Guard
--------------------------------------------------------- */

@media (max-width: 1199.98px) {
  nav.sp-megamenu-wrapper .sp-megamenu-parent > li > a.menu-button {
    padding-inline: 0.5rem !important;
    font-size: 0.9rem;
  }
}

/* ---------------------------------------------------------
   NAV HANDOFF — Early Hamburger Support
--------------------------------------------------------- */

@media (max-width: 1199.98px) {
  nav.sp-megamenu-wrapper {
    display: none;
  }
}

/* =========================================================
   PHOENIX NAV CANON — Desktop Caret + Hamburger Behavior
========================================================= */

/* Remove Helix default icons / togglers */
nav.sp-megamenu-wrapper .sp-megamenu-parent > li.sp-has-child i,
nav.sp-megamenu-wrapper .sp-megamenu-parent > li.sp-has-child .menu-toggler {
  display: none !important;
}

/* Remove built-in Helix pseudo carets */
nav.sp-megamenu-wrapper .sp-megamenu-parent > li.sp-has-child > a::before,
nav.sp-megamenu-wrapper .sp-megamenu-parent > li.sp-has-child > span::before,
nav.sp-megamenu-wrapper .sp-megamenu-parent > li.sp-has-child > a::after,
nav.sp-megamenu-wrapper .sp-megamenu-parent > li.sp-has-child > span::after {
  content: none !important;
  display: none !important;
}

/* Desktop caret injection */
@media (min-width: 992px) {

  nav.sp-megamenu-wrapper .sp-megamenu-parent > li > a {
    padding-inline: 1.1rem;
  }

  nav.sp-megamenu-wrapper .sp-megamenu-parent > li.sp-has-child > a,
  nav.sp-megamenu-wrapper .sp-megamenu-parent > li.sp-has-child > span {
    position: relative;
    padding-right: 18px;
    font-weight: 600;
    color: #2b2b2b !important;
  }

  nav.sp-megamenu-wrapper .sp-megamenu-parent > li.sp-has-child > a::after,
  nav.sp-megamenu-wrapper .sp-megamenu-parent > li.sp-has-child > span::after {
    content: "" !important;
    position: absolute !important;
    right: 2px !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    width: 0;
    height: 0;
    border-left: 5px solid transparent !important;
    border-right: 5px solid transparent !important;
    border-top: 6px solid currentColor !important;
    display: block !important;
  }

  nav.sp-megamenu-wrapper .sp-megamenu-parent > li.sp-has-child:hover > a::after,
  nav.sp-megamenu-wrapper .sp-megamenu-parent > li.sp-has-child:hover > span::after {
    transform: translateY(-50%) rotate(180deg) !important;
  }
}

/* Root parent links clickable */
.sp-megamenu-parent .sp-has-child > a {
  pointer-events: auto !important;
}

/* Menu state colors */
.sp-megamenu-parent > li > a {
  color: #2b2b2b !important;
  font-weight: 600;
}

.sp-megamenu-parent > li.active > a {
  color: #4E9D2D !important;
  font-weight: 700;
}

/* Primary action menu item */
nav.sp-megamenu-wrapper .sp-megamenu-parent > li.menu-button > a {
  border: 2px solid #4E9D2D;
  border-radius: 0.375rem;
  padding: 0.4rem 0.75rem;
  color: #4E9D2D !important;
  font-weight: 700;
  line-height: 1.2;
  transition: background-color 0.2s ease, color 0.2s ease;
}

nav.sp-megamenu-wrapper .sp-megamenu-parent > li.menu-button > a:hover,
nav.sp-megamenu-wrapper .sp-megamenu-parent > li.menu-button > a:focus {
  background-color: #4E9D2D;
  color: #ffffff !important;
}

nav.sp-megamenu-wrapper .sp-megamenu-parent > li.menu-button.active > a,
nav.sp-megamenu-wrapper .sp-megamenu-parent > li.menu-button > a[aria-current="page"] {
  background-color: #4E9D2D;
  color: #ffffff !important;
}

/* =========================================================
   PHOENIX SPACING CANON
========================================================= */

:root {
  --pad-sm: 3rem;
  --pad-md: 4.25rem;
  --pad-lg: 5.25rem;
}

#intro-statement .container,
#video-block .container,
#user-cards .container,
#bulletin-board .container,
#supporting-orgs .container,
#supporting-organizations .container,
#tools-resources .container,
#resource-tiles .container,
#quick-links .container {
  padding-top: var(--pad-sm);
  padding-bottom: var(--pad-sm);
}

@media (min-width: 768px) {
  #intro-statement .container,
  #video-block .container,
  #user-cards .container,
  #bulletin-board .container,
  #supporting-orgs .container,
  #supporting-organizations .container,
  #tools-resources .container,
  #resource-tiles .container,
  #quick-links .container {
    padding-top: var(--pad-md);
    padding-bottom: var(--pad-md);
  }
}

@media (min-width: 1200px) {
  #intro-statement .container,
  #video-block .container,
  #user-cards .container,
  #bulletin-board .container,
  #supporting-orgs .container,
  #supporting-organizations .container,
  #tools-resources .container,
  #resource-tiles .container,
  #quick-links .container {
    padding-top: var(--pad-lg);
    padding-bottom: var(--pad-lg);
  }
}
/* =========================================================
   CBYD HUB / INTERIOR HERO CANON
========================================================= */

:root {
  --hub-hero-h-sm: 260px;
  --hub-hero-h-md: 360px;
  --hub-hero-h-lg: 460px;
}

.page-head.page-head--hero {
  position: relative;
  background-size: cover;
  background-repeat: no-repeat;
  background-position: bottom center;
  color: #fff;
}

.page-head.page-head--hero .page-head-veil {
  position: relative;
  height: var(--hub-hero-h-sm);
  display: flex;
  align-items: center;
  overflow: hidden;
  padding-block: 2rem;
}

@media (min-width: 768px) {
  .page-head.page-head--hero .page-head-veil {
    height: var(--hub-hero-h-md);
    padding-block: 2.5rem;
  }
}

@media (min-width: 1200px) {
  .page-head.page-head--hero .page-head-veil {
    height: var(--hub-hero-h-lg);
    padding-block: 3rem;
  }
}

.page-head.page-head--hero .page-head-veil::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    linear-gradient(
      90deg,
      rgba(0,0,0,0.35) 0%,
      rgba(0,0,0,0.22) 40%,
      rgba(0,0,0,0.08) 72%,
      rgba(0,0,0,0) 100%
    ),
    linear-gradient(
      180deg,
      rgba(0,0,0,0.15) 0%,
      rgba(0,0,0,0.28) 55%,
      rgba(0,0,0,0.40) 100%
    );
}

.page-head.page-head--hero .container {
  position: relative;
  z-index: 1;
  max-width: 1200px;
}

.page-head.page-head--hero h1 {
  font-weight: 800;
  font-size: 2.5rem;
  line-height: 1.2;
  margin-bottom: .5rem;
  color: #fff;
}

.page-head.page-head--hero .lead {
  font-size: 1.125rem;
  line-height: 1.6;
  max-width: 58ch;
  color: #fff;
}

@media (max-width: 768px) {
  .page-head.page-head--hero h1 {
    font-size: 2rem;
  }

  .page-head.page-head--hero .lead {
    font-size: 1rem;
  }
}

.page-head.page-head--hero picture,
.page-head.page-head--hero img {
  display: none !important;
}

/* =========================================================
   HUB BACKGROUND IMAGES — RESPONSIVE
========================================================= */

/* Excavator */
#excavator-hub.page-head.page-head--hero {
  background-image: url("https://cdn.pelicancorp.com/images/CBYD/25-CBYD-excavator-head-sm.jpg");
}

@media (min-width: 768px) {
  #excavator-hub.page-head.page-head--hero {
    background-image: url("https://cdn.pelicancorp.com/images/CBYD/25-CBYD-excavator-head-md.jpg");
  }
}

@media (min-width: 1200px) {
  #excavator-hub.page-head.page-head--hero {
    background-image: url("https://cdn.pelicancorp.com/images/CBYD/25-CBYD-excavator-head-lg.jpg");
  }
}

/* Utility */
#utility-hub.page-head.page-head--hero {
  background-image: url("https://cdn.pelicancorp.com/images/CBYD/25-CBYD-utility-head-sm.jpg");
}

@media (min-width: 768px) {
  #utility-hub.page-head.page-head--hero {
    background-image: url("https://cdn.pelicancorp.com/images/CBYD/25-CBYD-utility-head-md.jpg");
  }
}

@media (min-width: 1200px) {
  #utility-hub.page-head.page-head--hero {
    background-image: url("https://cdn.pelicancorp.com/images/CBYD/25-CBYD-utility-head-lg.jpg");
  }
}

/* Homeowner */
#homeowner-hub.page-head.page-head--hero {
  background-image: url("https://cdn.pelicancorp.com/images/CBYD/25-CBYD-homeowner-head-sm.jpg");
}

@media (min-width: 768px) {
  #homeowner-hub.page-head.page-head--hero {
    background-image: url("https://cdn.pelicancorp.com/images/CBYD/25-CBYD-homeowner-head-md.jpg");
  }
}

@media (min-width: 1200px) {
  #homeowner-hub.page-head.page-head--hero {
    background-image: url("https://cdn.pelicancorp.com/images/CBYD/25-CBYD-homeowner-head-lg.jpg");
  }
}

/* Resources */
#resources-hub.page-head.page-head--hero {
  background-image: url("https://cdn.pelicancorp.com/images/CBYD/25-CBYD-resources-head-sm.jpg");
}

@media (min-width: 768px) {
  #resources-hub.page-head.page-head--hero {
    background-image: url("https://cdn.pelicancorp.com/images/CBYD/25-CBYD-resources-head-md.jpg");
  }
}

@media (min-width: 1200px) {
  #resources-hub.page-head.page-head--hero {
    background-image: url("https://cdn.pelicancorp.com/images/CBYD/25-CBYD-resources-head-lg.jpg");
  }
}

/* Damage */
#damage-hub.page-head.page-head--hero {
  background-image: url("https://cdn.pelicancorp.com/images/CBYD/25-CBYD-damage-head-sm.jpg");
}

@media (min-width: 768px) {
  #damage-hub.page-head.page-head--hero {
    background-image: url("https://cdn.pelicancorp.com/images/CBYD/25-CBYD-damage-head-md.jpg");
  }
}

@media (min-width: 1200px) {
  #damage-hub.page-head.page-head--hero {
    background-image: url("https://cdn.pelicancorp.com/images/CBYD/25-CBYD-damage-head-lg.jpg");
  }
}

/* News */
#news-hub.page-head.page-head--hero {
  background-image: url("https://cdn.pelicancorp.com/images/CBYD/25-CBYD-news-head-sm.jpg");
}

@media (min-width: 768px) {
  #news-hub.page-head.page-head--hero {
    background-image: url("https://cdn.pelicancorp.com/images/CBYD/25-CBYD-news-head-md.jpg");
  }
}

@media (min-width: 1200px) {
  #news-hub.page-head.page-head--hero {
    background-image: url("https://cdn.pelicancorp.com/images/CBYD/25-CBYD-news-head-lg.jpg");
  }
}

/* Contact */
#contact-hub.page-head.page-head--hero {
  background-image: url("https://cdn.pelicancorp.com/images/CBYD/25-CBYD-contact-head-sm.jpg");
}

@media (min-width: 768px) {
  #contact-hub.page-head.page-head--hero {
    background-image: url("https://cdn.pelicancorp.com/images/CBYD/25-CBYD-contact-head-md.jpg");
  }
}

@media (min-width: 1200px) {
  #contact-hub.page-head.page-head--hero {
    background-image: url("https://cdn.pelicancorp.com/images/CBYD/25-CBYD-contact-head-lg.jpg");
  }
}
/* ---------------------------------------------------------
   RESOURCES DROPDOWN — DIRECTORY LINKS
--------------------------------------------------------- */

/* Indent all resource links after the heading */
nav.sp-megamenu-wrapper
.sp-dropdown-items
.sp-menu-item:has(.sp-menu-heading)
~ .sp-menu-item > a {
  padding-left: 1.25rem;
}

/* Hairline above the first resource link */
nav.sp-megamenu-wrapper
.sp-dropdown-items
.sp-menu-item:has(.sp-menu-heading)
+ .sp-menu-item {
  border-top: 0.5px solid rgba(0,0,0,0.15); /* subtle hairline */
  margin-top: 0.25rem;
  padding-top: 0.25rem;
}

/* ---------------------------------------------------------
   PRIMARY ACTION MENU ITEM — Damage Reporting
--------------------------------------------------------- */

nav.sp-megamenu-wrapper
.sp-megamenu-parent > li > a.menu-button {
  display: inline-flex;
  align-items: center;
  padding: 0.35rem 0.8rem !important;
  margin-inline: 0.25rem;
  border: 1.75px solid #4E9D2D !important;
  border-radius: 0.375rem;
  color: #4E9D2D !important;
  font-weight: 700;
  line-height: 1.2;
  box-sizing: border-box;
  transition:
    background-color 0.2s ease,
    color 0.2s ease,
    border-color 0.2s ease;
}

nav.sp-megamenu-wrapper
.sp-megamenu-parent > li > a.menu-button:hover,
nav.sp-megamenu-wrapper
.sp-megamenu-parent > li > a.menu-button:focus {
  background-color: #4E9D2D;
  color: #ffffff !important;
  text-decoration: none;
}

nav.sp-megamenu-wrapper
.sp-megamenu-parent > li.active > a.menu-button,
nav.sp-megamenu-wrapper
.sp-megamenu-parent > li > a.menu-button[aria-current="page"] {
  background-color: #4E9D2D;
  color: #ffffff !important;
}

/* =========================================================
   TOOLBOX TALKS — FILTERS & SEARCH
========================================================= */

#toolbox-talks-filters input[type="search"] {
  max-width: 420px;
}

/* =========================================================
   TOOLBOX TALKS — FILTER TABS (Underline Model)
========================================================= */

.tt-filter-tab {
  appearance: none;
  -webkit-appearance: none;
  background: transparent;
  border: 0;
  padding: 0;
  margin: 0;
  box-shadow: none;
  cursor: pointer;
  text-align: left;
  display: inline-flex;
  flex-direction: column;
  color: inherit;
}

.tt-filter-label {
  display: block;
  font-weight: 600;
  color: #000;
  margin-bottom: 4px;
}

.tt-filter-bar {
  display: block;
  width: 100%;
  height: 4px;
  border-radius: 2px;
  background-color: currentColor;
  opacity: 0.25;
  transition: opacity 0.15s ease;
}

.tt-filter-tab.active .tt-filter-bar {
  opacity: 1;
}

.tt-filter-tab:hover .tt-filter-bar {
  opacity: 0.6;
}

.tt-filter-tab[data-filter="all"] {
  color: #000;
}

.tt-filter-tab[data-filter="all"] .tt-filter-bar {
  background-color: #d1d5db;
  opacity: 0.6;
}

/* =========================================================
   TOOLBOX TALKS — CATEGORY COLOR VARIABLES
========================================================= */

:root {
  --tt-before-digging: #0641cb;
  --tt-during-excavation: #ff9500;
  --tt-excavation-methods: #6b007b;
  --tt-damage-response: #D31a38;
}

.tt-before-digging { color: var(--tt-before-digging); }
.tt-during-excavation { color: var(--tt-during-excavation); }
.tt-excavation-methods { color: var(--tt-excavation-methods); }
.tt-damage-response { color: var(--tt-damage-response); }

/* =========================================================
   TOOLBOX TALKS — CARDS
========================================================= */

.toolbox-card .card {
  position: relative;
  border-radius: 0.75rem;
  border: 1px solid #e5e7eb;
  box-shadow: 0 6px 18px rgba(0,0,0,.06);
  transition: transform .2s ease, box-shadow .2s ease;
}

.toolbox-card .card:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(0,0,0,.12);
}

.toolbox-card h3 {
  line-height: 1.35;
}

/* =========================================================
   TOOLBOX TALKS — META
========================================================= */

.toolbox-meta {
  font-size: 0.875rem;
  font-weight: 500;
  color: #6b7280;
}

.toolbox-meta.tt-before-digging {
  color: var(--tt-before-digging);
}

.toolbox-meta.tt-during-excavation {
  color: var(--tt-during-excavation);
}

.toolbox-meta.tt-excavation-methods {
  color: var(--tt-excavation-methods);
}

.toolbox-meta.tt-damage-response {
  color: var(--tt-damage-response);
}

/* =========================================================
   TOOLBOX TALKS — SUMMARY
========================================================= */

.toolbox-card .collapse {
  border-top: 1px solid #e9ecef;
  padding-top: 0.75rem;
}

.toolbox-card .collapse p {
  line-height: 1.6;
}

.toolbox-card .card-body .d-flex.mt-auto {
  align-items: center;
}

/* =========================================================
   TOOLBOX TALKS — EMPTY STATE
========================================================= */

#toolbox-empty {
  max-width: 480px;
  margin-inline: auto;
}

/* =========================================================
   TOOLBOX TALKS — REDUCED MOTION
========================================================= */

@media (prefers-reduced-motion: reduce) {
  .toolbox-card .card,
  .btn-cbyd-primary {
    transition: none;
    transform: none !important;
  }
}
/* =========================================================
   NEWS — Back to Top (Canon-Safe)
========================================================= */

.news-back-to-top {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #4E9D2D;
  text-decoration: none;
  margin-top: 1.5rem;
}

.news-back-to-top i {
  font-size: 2.5rem;
  line-height: 1;
}

.news-back-to-top:hover,
.news-back-to-top:focus {
  color: #557a00;
}

.news-divider {
  margin: 3rem 0;
  border: 0;
  border-top: 1px solid #e9ecef;
}

/* =========================================================
   ARCHIVE CARDS — Neutral Base (Canon)
   Scope:
   • Shared structure for News, Events, Video
   • No type assumptions
   • No visual signaling (ribbons, icons, media)
   • Types layer on top via [data-type]
========================================================= */

.archive-card {
  height: 100%;
}

.archive-card .card {
  position: relative;
  height: 100%;
  background-color: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 0.5rem;
  display: flex;
  flex-direction: column;
}

.archive-card .card-body {
  padding: 1.25rem 1.5rem;
  display: flex;
  flex-direction: column;
}

.archive-card h3 {
  line-height: 1.35;
  margin-bottom: 0.5rem;
}

.archive-card p {
  margin-bottom: 0.5rem;
}

.archive-card .small {
  line-height: 1.4;
}

/* Hover parity with other card systems */
.archive-card .card {
  transition: transform .2s ease, box-shadow .2s ease;
}

.archive-card .card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.10);
}

/* Accessibility */
.archive-card a:focus-visible {
  outline: 3px solid #cfe8b5;
  outline-offset: 3px;
}

@media (prefers-reduced-motion: reduce) {
  .archive-card .card {
    transition: none;
    transform: none !important;
  }
}

/* =========================================================
   NEWS — Article Page (Editorial Surface)
   NOTE:
   • Single-article layout (non-archive)
   • Constrained reading width
   • No hero dependency
   • Quiet, typographic emphasis
========================================================= */

.news-article {
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
  padding: 3rem 1.25rem 4rem;
}

.news-article-header {
  margin-bottom: 2rem;
}

.news-article-title {
  font-size: 2.25rem;
  font-weight: 800;
  line-height: 1.25;
  margin-bottom: 0.5rem;
}

.news-article-meta {
  font-size: 0.9rem;
  color: #6b7280;
}

.news-article-content p {
  font-size: 1.05rem;
  line-height: 1.75;
  margin-bottom: 1.25rem;
  color: #2b2b2b;
}

.news-article-tools {
  margin-top: 3rem;
}

.news-article-back {
  font-weight: 600;
  color: #4E9D2D;
  text-decoration: none;
}

.news-article-back:hover,
.news-article-back:focus {
  text-decoration: underline;
}

/* Reduced motion parity */
@media (prefers-reduced-motion: reduce) {
  .news-article {
    scroll-behavior: auto;
  }
}

/* =========================================================
   EVENTS — Archive Cards & Month Ribbon (Canon-Aligned)
   NOTE:
   • Events are a specialized archive-card
   • Visual treatment remains unchanged
   • event-card is now an alias, not a standalone system
========================================================= */

/* Base Event Card
   Alias to archive-card for Events only */
.archive-card[data-type="event"] .card,
.event-card .card {
  position: relative;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 0.5rem;
  background-color: #ffffff;
  height: 100%;
}

.archive-card[data-type="event"] .card-body,
.event-card .card-body {
  padding: 1.25rem 1.5rem;
}

.archive-card[data-type="event"] h3,
.event-card h3 {
  line-height: 1.35;
  margin-bottom: 0.5rem;
}

.archive-card[data-type="event"] p,
.event-card p {
  margin-bottom: 0.5rem;
}

.archive-card[data-type="event"] .small,
.event-card .small {
  line-height: 1.4;
}

/* Month Ribbon — Events Only */
.archive-card[data-type="event"] .event-month-ribbon,
.event-card .event-month-ribbon {
  position: absolute;
  top: 0;
  right: 1rem;
  background-color: #4E9D2D;
  padding: 0.4rem 0.35rem;
  border-radius: 0 0 0.25rem 0.25rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.15rem;
}

.archive-card[data-type="event"] .event-month-letter,
.event-card .event-month-letter {
  font-size: 0.65rem;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.05em;
  color: #ffffff;
}

/* Events Empty State */
#events-empty p {
  max-width: 36rem;
  margin-left: auto;
  margin-right: auto;
}

/* =========================================================
   NEWS — Archive Cards (Editorial Layer)
   NOTE:
   • News is a narrative content type
   • Visual weight comes from imagery, not ribbons
   • Uses archive-card base with light editorial cues
   • Image focal point controlled via CSS variables (--img-x / --img-y)
========================================================= */

/* News cards opt into media-first layout */
.archive-card[data-type="news"] .card {
  overflow: hidden; /* contains image edges */
}

/* Optional featured image */
.archive-card[data-type="news"] .archive-media {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background-color: #f0f2f3;
}

/* News image — curated focal control */
.archive-card[data-type="news"] .archive-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: var(--img-x, 50%) var(--img-y, 50%);
  transition: transform .35s ease;
}

/* Gentle editorial hover */
.archive-card[data-type="news"] .card:hover .archive-media img {
  transform: scale(1.03);
}

/* News meta (date / category) */
.archive-card[data-type="news"] .archive-meta {
  font-size: 0.8rem;
  font-weight: 600;
  color: #6b7280;
  margin-bottom: 0.35rem;
}

/* News title emphasis */
.archive-card[data-type="news"] h3 {
  font-weight: 800;
}

/* News summary tone */
.archive-card[data-type="news"] .archive-summary {
  color: #374151;
  line-height: 1.6;
}

/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {
  .archive-card[data-type="news"] .archive-media img {
    transition: none;
    transform: none !important;
  }
}

/* =========================================================
   NEWS — Archive Cards (No-Image Variant + Summary Canon)
   Canon Addendum
   • Ensures visual parity between image and no-image cards
   • Establishes slugline tone and spacing
   • Protects no-image cards from visual collapse
========================================================= */

/* Slugline canonical style */
.archive-card[data-type="news"] .archive-summary {
  font-size: 0.85rem;
  color: #6b7280;              /* muted-gray editorial tone */
  line-height: 1.5;
  margin-top: 0.25rem;
  margin-bottom: 0;            /* prevent double-padding collisions */
  max-width: 65ch;             /* controlled editorial width */
}

/* No-image card detection (no .archive-media) */
.archive-card[data-type="news"]:not(:has(.archive-media)) .card-body {
  padding-top: 1.75rem;        /* compensates for missing 16:9 media block */
}

/* Tighten headline → slugline spacing for no-image cards */
.archive-card[data-type="news"]:not(:has(.archive-media)) h3 {
  margin-bottom: 0.35rem;
}

/* Optional: ensure subtle baseline alignment across mixed grids */
.archive-card[data-type="news"]:not(:has(.archive-media)) {
  --img-x: 50%;
  --img-y: 50%;                /* maintains CSS variable symmetry */
}

/* =========================================================
   VIDEO — Archive Cards (Playback Layer)
   NOTE:
   • Video is actionable content
   • Clear play affordance
   • No autoplay, no motion gimmicks
   • Uses archive-card base
========================================================= */

/* Video cards opt into media-first layout */
.archive-card[data-type="video"] .card {
  overflow: hidden;
}

/* Video thumbnail */
.archive-card[data-type="video"] .archive-media {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background-color: #000;
}

.archive-card[data-type="video"] .archive-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

/* Play affordance */
.archive-card[data-type="video"] .video-play {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}

.archive-card[data-type="video"] .video-play::before {
  content: "";
  width: 64px;
  height: 64px;
  border-radius: 999px;
  background: rgba(0,0,0,0.55);
  backdrop-filter: blur(2px);
}

.archive-card[data-type="video"] .video-play::after {
  content: "";
  position: absolute;
  margin-left: 4px;
  width: 0;
  height: 0;
  border-left: 16px solid #ffffff;
  border-top: 10px solid transparent;
  border-bottom: 10px solid transparent;
}

/* Subtle hover emphasis */
.archive-card[data-type="video"] .card:hover .video-play::before {
  background: rgba(0,0,0,0.7);
}

/* Video meta (duration / platform) */
.archive-card[data-type="video"] .archive-meta {
  font-size: 0.8rem;
  font-weight: 600;
  color: #6b7280;
  margin-bottom: 0.35rem;
}

/* Video title emphasis */
.archive-card[data-type="video"] h3 {
  font-weight: 800;
}

/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {
  .archive-card[data-type="video"] .card:hover .video-play::before {
    background: rgba(0,0,0,0.55);
  }
}

/* =========================================================
   FAQ — Directory, Filters, and Content Styling
========================================================= */

/* Intro */
#faq-intro .lead {
  font-size: 1.15rem;
  line-height: 1.7;
  color: #2b2b2b;
}

/* Search */
#faq-search {
  max-width: 520px;
}

/* Filter Tabs */
#faq-filters .tt-filter-tab {
  color: #111;
}

#faq-filters .tt-filter-bar {
  background-color: #9ca3af;
}

#faq-filters .tt-filter-tab.active .tt-filter-bar {
  background-color: #374151;
}

/* Filter Context */
#faq-context {
  font-size: 0.9rem;
  color: #6b7280;
  margin-top: 0.75rem;
}

/* Directory */
#faq-directory {
  background-color: #fafafa;
}

/* FAQ Item */
.faq-item {
  padding: 1.25rem 0;
  position: relative;
}

.faq-item:not(:last-child)::after {
  content: "";
  display: block;
  margin-top: 1.25rem;
  width: 100%;
  height: 1px;
  background: linear-gradient(
    to right,
    transparent,
    #e5e7eb,
    transparent
  );
}

/* Question */
.faq-item h3 {
  font-size: 1.15rem;
  font-weight: 700;
  line-height: 1.4;
  margin-bottom: 0.35rem;
  color: #111;
}

/* Answer */
.faq-item p,
.faq-item ul {
  max-width: 70ch;
  line-height: 1.65;
  color: #374151;
}

.faq-item ul {
  padding-left: 1.25rem;
}

.faq-item li {
  margin-bottom: 0.25rem;
}

/* Empty State */
#faq-empty {
  color: #374151;
}

#faq-empty p:first-child {
  font-weight: 600;
}

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
  .faq-item::after {
    background: #e5e7eb;
  }
}

/* =========================================================
   HARD NAV HANDOFF — MARKETING SAFE
========================================================= */

@media (max-width: 1199.98px) {
  nav.sp-megamenu-wrapper {
    display: none !important;
  }

  #sp-main-body {
    padding-top: 5.5rem;
  }
}
/* =========================================================
   OFF-CANVAS MENU — FINAL CANON STYLES (NO TOFUS)
========================================================= */

/* Force off-canvas submenus to always be open */
.offcanvas-inner .nav-child {
  display: block !important;
  height: auto !important;
  opacity: 1 !important;
  visibility: visible !important;
  padding-left: 1rem !important; /* Consistent indentation for submenus */
  margin-left: 0 !important;
  border-left: 2px solid #e5e7eb; /* Subtle visual separator for hierarchy */
}

/* Indent submenu items for clear hierarchy */
.offcanvas-inner .mod-menu .menu-item.level-1 > a {
  font-weight: 700; /* Bold for primary menu items */
  font-size: 15px; /* Slightly larger for primary menu items */
  padding-left: 0.25rem !important; /* Less indentation for top-level links */
}

.offcanvas-inner .mod-menu .menu-item.level-2 > a {
  font-weight: 400; /* Regular weight for secondary items */
  font-size: 13px; /* Smaller font size for secondary items */
  padding-left: 1.25rem !important; /* More indentation for secondary items */
  color: #4b5563; /* Darker text for secondary items */
}

.offcanvas-inner .mod-menu .menu-item.level-3 > a {
  font-weight: 300; /* Lighter weight for tertiary items */
  font-size: 12px; /* Even smaller font size for tertiary items */
  padding-left: 2rem !important; /* More indentation for third-level items */
}

/* Font size adjustments for compact mobile menu */
.offcanvas-inner .mod-menu a {
  font-size: 14px; /* Compact font size for mobile */
  padding: 8px 12px; /* Consistent padding around each link */
  line-height: 1.4; /* Improve legibility without cramping */
  color: #2b2b2b !important; /* Default color for text */
}

/* Link hover and active state */
.offcanvas-inner .mod-menu a:hover,
.offcanvas-inner .mod-menu a:focus {
  color: #4e9d2d !important; /* CBYD green on hover */
  background-color: #f1f1f1; /* Light background on hover */
  border-radius: 4px; /* Rounded edges on hover */
}

/* Active / current link color */
.offcanvas-inner .mod-menu li.active > a,
.offcanvas-inner .mod-menu a[aria-current="page"],
.offcanvas-inner .mod-menu a:active,
.offcanvas-inner .mod-menu a:visited {
  color: #4e9d2d !important; /* CBYD green for active page link */
  font-weight: 700; /* Bold for active links */
}

/* Spacing tweaks for mobile — avoid cramped links */
.offcanvas-inner .mod-menu li {
  margin-bottom: 0.5rem; /* Space between list items */
}

/* Remove all dropdown togglers and carets */
.offcanvas-inner .menu-toggler,
.offcanvas-inner .menu-parent > a::before {
  display: none !important;
  content: none !important;
}


/* =========================================================
   End Off-Canvas Menu Styles
========================================================= */

/* Remove unwanted green background from page header sections */
#content-source-why .section-head, 
#content-source-new .section-head,
#bulletin-board .bb-card {
  background-color: transparent !important;  /* Ensures no background color on section headers */
}

/* Ensure Bootstrap alert classes are applied correctly without interference from green background */
.alert-info {
  background-color: #d1ecf1 !important; /* Light blue for alert-info */
  border-color: #bee5eb !important;     /* Light blue border */
}

.alert-warning {
  background-color: #fff3cd !important; /* Light yellow for alert-warning */
  border-color: #ffeeba !important;     /* Light yellow border */
}

/* Specifically target the green icon and fix its appearance */
.alert-info i, .alert-warning i {
  color: #0c5460 !important; /* Bootstrap's icon color for info */
}

.alert-warning i {
  color: #856404 !important; /* Bootstrap's icon color for warning */
}
/* =========================================================
   EVENTS — Professional List Layout (List View Replacement)
   Canon Addition — 2026-02-15
   Notes:
   • Replaces card grid with elegant chronological list
   • Pure HTML/CSS layer — JS filter system untouched
   • Does not modify archive-card or event-card systems
========================================================= */

.cbyd-events {
  display: flex;
  flex-direction: column;
  gap: 2.25rem;
  margin-top: 2rem;
}

/* -------------------------
   Month Header
------------------------- */
.cbyd-events .event-month {
  font-size: 1.75rem;
  font-weight: 800;
  letter-spacing: 0.5px;
  color: #2b2b2b;
  margin-bottom: 0.25rem;
  border-bottom: 1px solid #e5e7eb;
  padding-bottom: .35rem;
}

/* -------------------------
   Event Row
------------------------- */
.event-item {
  display: flex;
  gap: 1.25rem;
  padding: 1.25rem 1.25rem; /* FIXED: horizontal padding added */
  border-bottom: 1px solid #e5e7eb;
}

.event-item:last-child {
  border-bottom: none;
}

/* -------------------------
   Date Block
------------------------- */
.event-date {
  width: 70px;
  flex-shrink: 0;
  background: #f5f5f5;
  border-radius: .5rem;
  border: 1px solid #e5e7eb;
  text-align: center;
  padding: .65rem 0; /* IMPROVED: better visual centering */
  display: flex;
  flex-direction: column;
  justify-content: center;
  box-shadow: 0 2px 6px rgba(0,0,0,0.04);
}

.event-date-day {
  font-size: 1.6rem;
  font-weight: 800;
  line-height: 1;
  color: #4E9D2D;
}

.event-date-month {
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: #6b7280;
  margin-top: 2px;
}

/* -------------------------
   Event Content
------------------------- */
.event-content {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.event-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: #111;
  margin: 0 0 .25rem 0;
}

/* Meta Lines */
.event-meta {
  font-size: 0.95rem;
  color: #4b5563;
  margin-bottom: 0.30rem; /* Slightly increased for readability */
  display: flex;
  align-items: center;
}

.event-meta i {
  font-size: 1rem;
  color: #4E9D2D;
  margin-right: .45rem; /* Slightly increased for balance */
}

/* -------------------------
   Details Button
------------------------- */
.event-details {
  align-self: start;
  margin-top: .65rem; /* More breathing room */
}

/* -------------------------
   Responsive Adjustments
------------------------- */
@media (max-width: 575.98px) {
  .event-item {
    flex-direction: column;
    padding: 1.25rem; /* Even padding all around on mobile */
  }

  .event-date {
    width: 100%;
    max-width: 160px;
    align-self: flex-start;
  }
}

/* ======================= END CUSTOM STYLES ======================= */