/* ============================================================
   BD Career – Custom Stylesheet
   Brand Colors (extracted from logo):
     Primary Dark Green : #2B6329
     Primary Mid Green  : #3a7a37
     Accent Lime Green  : #8DC63F
     Dark Charcoal      : #1a2e1a
     Page Background    : #f8faf5
   ============================================================ */

/* ── GOOGLE FONTS loaded via HTML ── */

:root {
  --primary:      #1e6722;
  --primary-dk:   #1a3f18;
  --primary-md:   #3a7a37;
  --accent:       #8DC63F;
  --accent-dk:    #6fa82e;
  --charcoal:     #1a2e1a;
  --text:         #1c2b1c;
  --muted:        #5a6b5a;
  --border:       #d4e5d0;
  --bg:           #f8faf5;
  --surface:      #f1f7ee;
  --white:        #ffffff;
  --urgent:       #c0392b;
  --urgent-bg:    #fdf0ee;
  --ff-display:   'Roboto ';
  --ff-body:      'Roboto ';
  --radius:       8px;
  --radius-lg:    12px;
  --shadow:       0 2px 14px rgba(43,99,41,.09);
  --shadow-hover: 0 6px 24px rgba(43,99,41,.15);
  --trans:        0.2s ease;
}

/* ── BASE ──────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; scroll-behavior: smooth; }
body {
  font-family: var(--ff-body);
  background: var(--bg);
  color: var(--text);
  line-height: 1.3;
  -webkit-font-smoothing: antialiased;
}
#main-content{background: #fff; padding: 20px;}
img { max-width: 100%; display: block; }
a { color: var(--primary); text-decoration: none; transition: color var(--trans); }
a:hover { color: var(--accent-dk); }

/* ── TOPBAR ─────────────────────────────────────────── */
.bdc-topbar {
  background: var(--charcoal);
  padding: 6px 0;
  font-size: .78rem;
  color: #9ec49a;
}
.bdc-topbar a { color: var(--accent); font-weight: 700; font-size: .68rem; letter-spacing: .05em; }
.bdc-topbar .social-pill {
  border: 1px solid rgba(141,198,63,.3);
  padding: 1px 9px;
  border-radius: 3px;
  transition: background var(--trans);
}
.bdc-topbar .social-pill:hover { background: var(--accent); color: var(--charcoal); }

/* ── HEADER / NAVBAR ────────────────────────────────── */
.bdc-header {
  background: var(--white);
  padding: 15px 20px;
  box-shadow: var(--shadow);
  position: sticky;
  top: 0;
  z-index: 1040;
}
.bdc-logo-img{ max-height: 50px; width: auto; display: block; }
.bdc-logo { display: flex; align-items: center; gap: 10px; }
.bdc-logo__text { line-height: 1.1; }
.bdc-logo__name {
  font-family: var(--ff-display);
  font-size: 1.55rem;
  font-weight: 800;
  color: var(--charcoal);
  letter-spacing: -.02em;
}
.bdc-logo__name span { color: var(--accent); }
.bdc-logo__tag {
  display: block;
  font-size: .5rem;
  font-weight: 700;
  letter-spacing: .13em;
  color: var(--primary);
  text-transform: uppercase;
  margin-top: 1px;
}
.bdc-search-form { position: relative; }
.bdc-search-form input {
  border: 2px solid var(--border);
  border-radius: 50px;
  padding: 8px 42px 8px 16px;
  font-family: var(--ff-body);
  font-size: .87rem;
  background: var(--surface);
  width: 320px;
  color: var(--text);
}
.bdc-search-form input:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 3px rgba(43,99,41,.1); }
.bdc-search-form button {
  position: absolute; right: 6px; top: 50%; transform: translateY(-50%);
  background: var(--primary); color: #fff; border: none;
  width: 30px; height: 30px; border-radius: 50%; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: background var(--trans);
}
.bdc-search-form button:hover { background: var(--accent-dk); }

/* Bootstrap navbar overrides */
.navbar-nav .nav-link {
  color: rgba(255,255,255,.9) !important;
  font-weight: 600;
  font-size: .9rem;
  padding: 12px 14px !important;
  transition: background var(--trans), color var(--trans) !important;
}
.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active { color: var(--white) !important; background: #55b024; }
.bdc-navbar { background: var(--primary) !important; }
.bdc-navbar .navbar-toggler { border-color: rgba(141,198,63,.4); }
.bdc-navbar .navbar-toggler-icon { filter: brightness(2); }
.dropdown-menu {
  border: 1px solid var(--border) !important;
  border-top: 3px solid var(--accent) !important;
  border-radius: 0 0 var(--radius) var(--radius) !important;
  box-shadow: 0 8px 24px rgba(0,0,0,.12) !important;
  min-width: 200px;
}
.dropdown-item { font-size: .88rem; font-weight: 500; color: var(--text) !important; padding: 9px 18px; transition: background var(--trans), padding-left var(--trans); }
.dropdown-item:hover { background: var(--surface) !important; color: var(--primary) !important; padding-left: 24px; }

/* ── BREAKING BAR ────────────────────────────────────── */
.bdc-ticker {
  background: var(--charcoal);
  color: #ccc;
  font-size: .82rem;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.bdc-ticker__label {
  background: var(--urgent);
  color: #fff;
  font-weight: 700;
  font-size: .7rem;
  letter-spacing: .08em;
  padding: 7px 16px;
  white-space: nowrap;
  flex-shrink: 0;
}
.bdc-ticker__wrap { overflow: hidden; flex: 1; }
.bdc-ticker__track {
  display: flex;
  align-items: center;
  animation: bdc-scroll 45s linear infinite;
  white-space: nowrap;
}
.bdc-ticker__track a { color: #ccc; padding: 7px 24px; }
.bdc-ticker__track a:hover { color: var(--accent); }
.bdc-ticker__dot { color: var(--accent); }
@keyframes bdc-scroll {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ── HERO SECTION ────────────────────────────────────── */
.bdc-hero { padding: 10px 0 24px; }
.bdc-hero__main {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  height: 100%;
  transition: box-shadow var(--trans);
}
.bdc-hero__main:hover { box-shadow: var(--shadow-hover); }
.bdc-hero__thumb {
  width: 100%;
  aspect-ratio: 16/8;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 5rem;
  border-bottom: 3px solid var(--accent);
  position: relative;
}
.bdc-hero__cat {
  position: absolute;
  bottom: 12px; left: 14px;
  background: var(--accent);
  color: var(--charcoal);
  font-size: .68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .07em;
  padding: 3px 10px;
  border-radius: 4px;
}
.bdc-hero__body { padding: 22px; flex: 1; display: flex; flex-direction: column; }
.bdc-hero__meta { font-size: .8rem; color: var(--muted); margin-bottom: 8px; display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.bdc-hero__title {
  font-family: var(--ff-display);
  font-size: 1.6rem;
  font-weight: 800;
  line-height: 1.25;
  margin-bottom: 10px;
  color: var(--charcoal);
}
.bdc-hero__title a { color: var(--charcoal); }
.bdc-hero__title a:hover { color: var(--primary); }
.bdc-hero__excerpt { color: var(--muted); font-size: .95rem; margin-bottom: 20px; flex: 1; }

/* Side story cards */
.bdc-side-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  display: flex;
  gap: 0;
  transition: box-shadow var(--trans), transform var(--trans);
}
.bdc-side-card:hover { box-shadow: var(--shadow-hover); transform: translateX(3px); }
.bdc-side-card__thumb {
  width: 90px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  border-right: 3px solid var(--accent);
}
.bdc-side-card__body { padding: 12px 14px; flex: 1; min-width: 0; }
.bdc-side-card__cat { font-size: .64rem; font-weight: 700; text-transform: uppercase; letter-spacing: .07em; color: var(--primary); background: rgba(43,99,41,.08); padding: 1px 7px; border-radius: 3px; display: inline-block; margin-bottom: 5px; }
.bdc-side-card__title { font-family: var(--ff-display); font-size: .92rem; font-weight: 700; line-height: 1.3; color: var(--charcoal); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.bdc-side-card__title:hover { color: var(--primary); }
.bdc-side-card__date { font-size: .72rem; color: var(--muted); margin-top: 5px; display: block; }

/* ── SECTION HEADERS ─────────────────────────────────── */
.bdc-section { margin-bottom: 52px; }
.bdc-section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 3px solid var(--primary);
  padding-bottom: 8px;
  margin-bottom: 20px;
}
.bdc-section-header h2 {
  font-family: var(--ff-display);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--charcoal);
  display: flex;
  align-items: center;
  gap: 7px;
}
.bdc-section-header a {
  font-size: .8rem;
  font-weight: 700;
  color: var(--primary);
  border: 1px solid var(--border);
  padding: 3px 12px;
  border-radius: 4px;
  white-space: nowrap;
  transition: background var(--trans), color var(--trans);
}
.bdc-section-header a:hover { background: var(--primary); color: #fff; }

/* ── POST CARDS ─────────────────────────────────────── */
.bdc-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  height: 100%;
  transition: box-shadow var(--trans), transform var(--trans);
}
.bdc-card:hover { box-shadow: var(--shadow-hover); transform: translateY(-3px); }
.bdc-card__thumb {
  aspect-ratio: 16/9;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.4rem;
  border-bottom: 3px solid transparent;
  transition: border-color var(--trans);
}
.bdc-card:hover .bdc-card__thumb { border-color: var(--accent); }
.bdc-card__body { padding: 14px 16px; flex: 1; display: flex; flex-direction: column; }
.bdc-card__cat { font-size: .65rem; font-weight: 700; text-transform: uppercase; letter-spacing: .07em; color: var(--primary); background: rgba(43,99,41,.08); padding: 2px 8px; border-radius: 3px; display: inline-block; margin-bottom: 7px; }
.bdc-card__title { font-family: var(--ff-display); font-size: .98rem; font-weight: 700; line-height: 1.35; color: var(--charcoal); margin-bottom: 8px; flex: 1; }
.bdc-card__title a { color: var(--charcoal); }
.bdc-card__title a:hover { color: var(--primary); }
.bdc-card__meta { font-size: .74rem; color: var(--muted); display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 4px; }
.badge-urgent { background: var(--urgent-bg); color: var(--urgent); font-weight: 700; font-size: .68rem; padding: 1px 7px; border-radius: 3px; }

/* Horizontal card (Bank Jobs) */
.bdc-hcard {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 16px 18px;
  height: 100%;
  display: flex;
  flex-direction: column;
  transition: box-shadow var(--trans), transform var(--trans);
  border-left: 4px solid var(--accent);
}
.bdc-hcard:hover { box-shadow: var(--shadow-hover); transform: translateY(-2px); }
.bdc-hcard__cat { font-size: .65rem; font-weight: 700; text-transform: uppercase; letter-spacing: .07em; color: var(--primary); margin-bottom: 6px; display: block; }
.bdc-hcard__title { font-family: var(--ff-display); font-size: 1rem; font-weight: 700; line-height: 1.35; color: var(--charcoal); flex: 1; }
.bdc-hcard__title a { color: var(--charcoal); }
.bdc-hcard__title a:hover { color: var(--primary); }
.bdc-hcard__footer { display: flex; align-items: center; justify-content: space-between; margin-top: 12px; font-size: .75rem; }
.bdc-hcard__footer time { color: var(--muted); }
.bdc-hcard__footer a.more { color: var(--primary); font-weight: 700; }

/* Career Tips featured layout */
.bdc-tips-featured {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  height: 100%;
  transition: box-shadow var(--trans);
}
.bdc-tips-featured:hover { box-shadow: var(--shadow-hover); }
.bdc-tips-featured__thumb {
  aspect-ratio: 4/3;
  display: flex; align-items: center; justify-content: center; font-size: 4rem;
  border-bottom: 3px solid var(--accent);
}
.bdc-tips-featured__body { padding: 18px; flex: 1; display: flex; flex-direction: column; }
.bdc-tips-featured__title { font-family: var(--ff-display); font-size: 1.15rem; font-weight: 800; line-height: 1.3; color: var(--charcoal); margin: 8px 0 10px; }
.bdc-tips-featured__title a { color: var(--charcoal); }
.bdc-tips-featured__title a:hover { color: var(--primary); }
.bdc-tips-featured__excerpt { color: var(--muted); font-size: .88rem; flex: 1; }

/* Small list item for tips */
.bdc-tip-item {
  display: flex; gap: 12px; align-items: flex-start;
  padding: 10px 0;
  border-bottom: 1px solid var(--border);
}
.bdc-tip-item:last-child { border-bottom: none; }
.bdc-tip-item__icon { width: 54px; height: 50px; flex-shrink: 0; border-radius: 6px; display: flex; align-items: center; justify-content: center; font-size: 1.5rem; }
.bdc-tip-item__title { font-weight: 700; font-size: .88rem; line-height: 1.35; color: var(--charcoal); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.bdc-tip-item__title a { color: var(--charcoal); }
.bdc-tip-item__title a:hover { color: var(--primary); }
.bdc-tip-item time { font-size: .72rem; color: var(--muted); display: block; margin-top: 3px; }

/* ── SIDEBAR WIDGETS ─────────────────────────────────── */
.bdc-widget {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  margin-bottom: 24px;
}
.bdc-widget__title {
  background: var(--primary);
  color: #fff;
  font-family: var(--ff-display);
  font-size: .97rem;
  font-weight: 700;
  padding: 11px 16px;
  display: flex; align-items: center; gap: 6px;
}
/* Popular list */
.bdc-popular { list-style: none; }
.bdc-popular__item { display: flex; align-items: flex-start; gap: 10px; padding: 10px 14px; border-bottom: 1px solid var(--surface); }
.bdc-popular__item:last-child { border-bottom: none; }
.bdc-popular__num { font-family: var(--ff-display); font-size: 1.4rem; font-weight: 800; color: var(--border); flex-shrink: 0; line-height: 1; width: 26px; }
.bdc-popular__title { font-size: .83rem; font-weight: 600; color: var(--text); line-height: 1.35; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.bdc-popular__title:hover { color: var(--primary); }
.bdc-popular__item time { font-size: .7rem; color: var(--muted); display: block; margin-top: 2px; }
/* Category list */
.bdc-catlist { list-style: none; padding:0}
.bdc-catlist li { border-bottom: 1px solid var(--surface); }
.bdc-catlist li:last-child { border-bottom: none; }
.bdc-catlist a { display: flex; justify-content: space-between; align-items: center; padding: 9px 16px; font-size: 1rem; font-weight: 500; color: var(--text); transition: background var(--trans), padding-left var(--trans); }
.bdc-catlist a:hover { background: var(--surface); color: var(--primary); padding-left: 22px; }
.bdc-catlist .cnt { background: var(--primary); color: #fff; font-size: .68rem; font-weight: 700; padding: 1px 7px; border-radius: 10px; }
/* Tag cloud */
.bdc-tags { display: flex; flex-wrap: wrap; gap: 6px; padding: 14px; }
.bdc-tags a { font-size: .74rem; font-weight: 600; color: var(--muted); background: var(--surface); border: 1px solid var(--border); padding: 3px 10px; border-radius: 50px; transition: all var(--trans); }
.bdc-tags a:hover { background: var(--primary); color: #fff; border-color: var(--primary); }
/* Newsletter widget */
.bdc-widget-nl {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dk) 100%);
  border-radius: var(--radius);
  padding: 22px;
  text-align: center;
  color: rgba(255,255,255,.88);
  margin-bottom: 24px;
}
.bdc-widget-nl .icon { font-size: 2rem; margin-bottom: 8px; }
.bdc-widget-nl h5 { font-family: var(--ff-display); font-size: 1.05rem; color: #fff; margin-bottom: 6px; }
.bdc-widget-nl p { font-size: .83rem; margin-bottom: 14px; }
.bdc-widget-nl input { width: 100%; padding: 9px 14px; border: none; border-radius: var(--radius); font-size: .87rem; margin-bottom: 8px; background: rgba(255,255,255,.15); color: #fff; border: 1px solid rgba(255,255,255,.3); }
.bdc-widget-nl input::placeholder { color: rgba(255,255,255,.55); }
.bdc-widget-nl input:focus { outline: none; background: rgba(255,255,255,.22); }
.bdc-widget-nl button { width: 100%; padding: 9px; background: var(--accent); color: var(--charcoal); border: none; border-radius: var(--radius); font-weight: 700; font-size: .9rem; cursor: pointer; transition: background var(--trans); }
.bdc-widget-nl button:hover { background: #a0d84e; }

/* ── BUTTONS ─────────────────────────────────────────── */
.btn-bdc {
  display: inline-flex; align-items: center; gap: 6px;
  background: var(--primary); color: #fff;
  padding: 9px 20px; border-radius: var(--radius);
  font-weight: 700; font-size: .88rem; border: none;
  cursor: pointer;
  transition: background var(--trans), transform var(--trans), box-shadow var(--trans);
}
.btn-bdc:hover { background: var(--primary-dk); color: #fff; transform: translateY(-1px); box-shadow: 0 4px 14px rgba(43,99,41,.3); }
.btn-bdc-accent { background: var(--accent); color: var(--charcoal); }
.btn-bdc-accent:hover { background: var(--accent-dk); color: #fff; }
.btn-bdc-outline { background: transparent; color: var(--primary); border: 2px solid var(--primary); }
.btn-bdc-outline:hover { background: var(--primary); color: #fff; }

/* ── SINGLE POST PAGE ────────────────────────────────── */
.bdc-breadcrumb { font-size: .78rem; color: var(--muted); margin-bottom: 20px; }
.bdc-breadcrumb a { color: var(--primary); }
.bdc-breadcrumb span { color: var(--muted); }
.bdc-post-title { font-family: var(--ff-display); font-size: clamp(1.5rem, 4vw, 2.2rem); font-weight: 800; line-height: 1.22; color: var(--charcoal); margin-bottom: 16px; }
.bdc-post-meta { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; padding: 12px 0; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); margin-bottom: 20px; font-size: .8rem; color: var(--muted); }
.bdc-post-meta strong { color: var(--charcoal); }
.bdc-share { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.bdc-share span { font-size: .8rem; font-weight: 700; color: var(--muted); }
.bdc-share a { font-size: .72rem; font-weight: 700; padding: 4px 12px; border-radius: 4px; color: #fff; }
.share-fb { background: #1877f2; }
.share-tw { background: #1da1f2; }
.share-li { background: #0a66c2; }
.share-copy { background: var(--primary); color: var(--charcoal); border: 1px solid var(--border); }
.bdc-post-thumb {
  width: 100%; aspect-ratio: 16/7;
  border-radius: var(--radius-lg); overflow: hidden;
  display: flex; align-items: center; justify-content: center;
  font-size: 6rem; margin-bottom: 28px;
  border-bottom: 4px solid var(--accent);
}
.bdc-post-content { font-size: 1.2rem; line-height: 1.35; color: var(--text); }
.bdc-post-content h2 { font-family: var(--ff-display); font-size: 1.4rem; font-weight: 700; color: var(--charcoal); margin: 32px 0 12px; padding-bottom: 8px; border-bottom: 2px solid var(--accent); }
.bdc-post-content h3 { font-family: var(--ff-display); font-size: 1.15rem; font-weight: 700; color: var(--primary); margin: 24px 0 10px; }
.bdc-post-content p { margin-bottom: 16px; text-align: justify;}
.bdc-post-content ul, .bdc-post-content ol { padding-left: 1.5em; margin-bottom: 16px; }
.bdc-post-content li { margin-bottom: 6px; }
.bdc-post-content a { color: var(--primary); text-decoration: underline; text-underline-offset: 2px; }
.bdc-info-box { background: var(--surface); border-left: 4px solid var(--accent); padding: 16px 20px; border-radius: 0 var(--radius) var(--radius) 0; margin: 20px 0; }
.bdc-info-box strong { color: var(--primary); display: block; margin-bottom: 4px; }
.bdc-post-tags { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; padding: 16px 0; border-top: 1px solid var(--border); margin: 28px 0; }
.bdc-post-tags strong { color: var(--muted); font-size: .87rem; }
.bdc-post-tags a { font-size: .76rem; padding: 4px 12px; border: 1px solid var(--border); border-radius: 50px; color: var(--muted); }
.bdc-post-tags a:hover { background: var(--primary); color: #fff; border-color: var(--primary); }
.bdc-post-excerpt{background:var(--surface);border-left:4px solid var(--primary);padding:14px 18px;border-radius:0 var(--radius) var(--radius) 0; margin:24px 0 20px;color:var(--charcoal);font-size:1.2rem;line-height:1.45; text-align: justify}
.bdc-toc{background:var(--surface);border:1px solid var(--border); border-radius:var(--radius);padding:18px 22px;margin-bottom:28px}
.bdc-tocc{font-weight:700;font-size:.9rem;color:var(--charcoal); margin-bottom:10px;display:flex;align-items:center;gap:6px}
.bdc-toc ol{margin:0;padding-left:20px;font-size:1.1rem;line-height:1.45}
.bdc-post-content blockquote {
    margin: 1rem 0;
    padding: 12px 16px;
    background: #f8fafc;
    border-left: 4px solid #0d6efd;
    border-radius: 6px;
}

.bdc-post-content blockquote p {
    margin: 0;
}

.bdc-post-content blockquote a {
    color: #0d6efd;
    font-weight: 600;
    text-decoration: none;
}

.bdc-post-content blockquote a:hover {
    text-decoration: underline;
}

/* ── ARCHIVE / CATEGORY ──────────────────────────────── */
.bdc-archive-header {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-md) 100%);
  color: #fff;
  border-radius: var(--radius-lg);
  padding: 28px 32px;
  margin-bottom: 28px;
}
.bdc-archive-header h1 { font-family: var(--ff-display); font-size: 1.7rem; font-weight: 800; margin-bottom: 4px; }
.bdc-archive-header p { font-size: .88rem; opacity: .85; }

/* ── PAGE: ABOUT / CONTACT ───────────────────────────── */
.bdc-page-hero { background: linear-gradient(135deg, var(--primary) 0%, var(--charcoal) 100%); color: #fff; padding: 56px 0; text-align: center; }
.bdc-page-hero h1 { font-family: var(--ff-display); font-size: 2.5rem; font-weight: 800; margin-bottom: 12px; }
.bdc-page-hero p { font-size: 1rem; opacity: .88; max-width: 560px; margin: 0 auto; }
.bdc-stat-card { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 24px; text-align: center; transition: box-shadow var(--trans), transform var(--trans); }
.bdc-stat-card:hover { box-shadow: var(--shadow-hover); transform: translateY(-3px); }
.bdc-stat-card .number { font-family: var(--ff-display); font-size: 2.4rem; font-weight: 800; color: var(--primary); display: block; }
.bdc-stat-card .label { font-size: .88rem; color: var(--muted); font-weight: 600; }
.bdc-team-card { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 24px; text-align: center; transition: box-shadow var(--trans); }
.bdc-team-card:hover { box-shadow: var(--shadow-hover); }
.bdc-team-card .avatar { width: 80px; height: 80px; border-radius: 50%; overflow: hidden; margin: 0 auto 14px; background: var(--surface); display: flex; align-items: center; justify-content: center; font-size: 2.5rem; border: 3px solid var(--accent); }
.bdc-team-card h5 { font-family: var(--ff-display); font-weight: 700; color: var(--charcoal); margin-bottom: 4px; }
.bdc-team-card .dept { font-size: .8rem; color: var(--primary); font-weight: 600; }
.contact-form-wrap { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 32px; }
.contact-form-wrap label { font-weight: 600; font-size: .88rem; color: var(--charcoal); margin-bottom: 4px; display: block; }
.contact-form-wrap input,
.contact-form-wrap textarea,
.contact-form-wrap select { border: 2px solid var(--border); border-radius: var(--radius); padding: 9px 14px; font-family: var(--ff-body); font-size: .9rem; width: 100%; color: var(--text); background: var(--surface); transition: border-color var(--trans), box-shadow var(--trans); }
.contact-form-wrap input:focus,
.contact-form-wrap textarea:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 3px rgba(43,99,41,.1); }
.contact-info-item { display: flex; gap: 14px; align-items: flex-start; margin-bottom: 20px; }
.contact-info-item .icon { width: 42px; height: 42px; border-radius: 50%; background: rgba(43,99,41,.1); display: flex; align-items: center; justify-content: center; font-size: 1.2rem; flex-shrink: 0; }
.contact-info-item h6 { font-weight: 700; color: var(--charcoal); margin-bottom: 2px; font-size: .9rem; }
.contact-info-item p { font-size: .85rem; color: var(--muted); margin: 0; }

/* ── FOOTER ──────────────────────────────────────────── */
.bdc-footer { background: var(--primary); color: var(--white);}
.bdc-footer-top { padding: 56px 0; border-bottom: 1px solid rgba(255,255,255,.07); }
.bdc-footer__logo-name { font-family: var(--ff-display); font-size: 1.45rem; font-weight: 800; color: #fff; }
.bdc-footer__logo-name span { color: var(--accent); }
.bdc-footer__logo-tag { font-size: .48rem; font-weight: 700; letter-spacing: .14em; color: var(--primary-md); text-transform: uppercase; display: block; }
.bdc-footer p { font-size: .85rem; line-height: 1.7; }
.bdc-footer__title { font-family: var(--ff-display); font-size: .97rem; font-weight: 700; color: #fff; margin-bottom: 16px; padding-bottom: 8px; border-bottom: 2px solid var(--primary); }
.bdc-footer ul { list-style: none; }
.bdc-footer ul li { margin-bottom: 9px; }
.bdc-footer ul a { font-size: .84rem; color: #8aaa86; transition: color var(--trans), padding-left var(--trans); display: block; }
.bdc-footer ul a:hover { color: var(--accent); padding-left: 4px; }
.bdc-footer-social a {
  display: inline-flex; align-items: center; justify-content: center;
  width: 34px; height: 34px; border-radius: 50%;
  background: rgba(255,255,255,.08); color: #8aaa86;
  margin-right: 6px; transition: background var(--trans), color var(--trans);
}
.bdc-footer-social a:hover { background: var(--accent); color: var(--charcoal); }
.bdc-footer-nl input { width: 100%; padding: 9px 14px; background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.15); border-radius: var(--radius) var(--radius) 0 0; color: #fff; font-size: .87rem; }
.bdc-footer-nl input::placeholder { color: rgba(255,255,255,.45); }
.bdc-footer-nl input:focus { outline: none; border-color: var(--accent); }
.bdc-footer-nl button { width: 100%; padding: 9px; background: var(--accent); color: var(--charcoal); border: none; border-radius: 0 0 var(--radius) var(--radius); font-weight: 700; cursor: pointer; font-family: var(--ff-body); transition: background var(--trans); }
.bdc-footer-nl button:hover { background: #a0d84e; }
.bdc-footer-bottom { padding: 14px 0; font-size: .78rem; color: var(--white); }
.bdc-footer-bottom a { color: var(--white); transition: color var(--trans); font-size: 0.85rem;}
.bdc-footer-bottom a:hover { color: var(--accent); }

/* ── SEARCH RESULTS ──────────────────────────────────── */
.bdc-search-hero { background: var(--surface); border-bottom: 3px solid var(--primary); padding: 28px 0; }
.bdc-search-hero h1 { font-family: var(--ff-display); font-size: 1.6rem; font-weight: 700; color: var(--charcoal); }
.bdc-search-hero .bdc-search-form input { width: 100%; max-width: 560px; }
.search-result-item { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); padding: 18px 20px; margin-bottom: 14px; transition: box-shadow var(--trans), transform var(--trans); border-left: 4px solid var(--accent); }
.search-result-item:hover { box-shadow: var(--shadow-hover); transform: translateX(3px); }
.search-result-item h3 { font-family: var(--ff-display); font-size: 1.05rem; font-weight: 700; margin-bottom: 6px; }
.search-result-item h3 a { color: var(--charcoal); }
.search-result-item h3 a:hover { color: var(--primary); }
.search-result-item p { font-size: .87rem; color: var(--muted); }

/* ── PAGINATION ──────────────────────────────────────── */
.bdc-pagination .page-link { color: var(--primary); border-color: var(--border); font-weight: 600; }
.bdc-pagination .page-item.active .page-link { background: var(--primary); border-color: var(--primary); color: #fff; }
.bdc-pagination .page-link:hover { background: var(--surface); color: var(--primary); }

/* ── BACK TO TOP ─────────────────────────────────────── */
#bdc-btt {
  position: fixed; bottom: 22px; right: 22px;
  width: 42px; height: 42px; border-radius: 50%;
  background: var(--primary); color: #fff;
  border: none; font-size: 1.1rem;
  cursor: pointer; opacity: 0; pointer-events: none;
  transition: opacity .3s, transform .3s;
  box-shadow: 0 4px 14px rgba(0,0,0,.25);
  z-index: 999;
  display: flex; align-items: center; justify-content: center;
}
#bdc-btt.show { opacity: 1; pointer-events: auto; }
#bdc-btt:hover { background: var(--accent-dk); transform: translateY(-2px); }

/* ── UTILITIES ───────────────────────────────────────── */
.text-primary-bdc { color: var(--primary) !important; }
.bg-primary-bdc { background: var(--primary) !important; }
.bg-surface { background: var(--surface); }

/* ── RESPONSIVE ──────────────────────────────────────── */
@media (max-width: 991px) {
  .bdc-search-form input { width: 220px; }
  .bdc-navbar .navbar-collapse { padding: 8px 0; }
  .navbar-nav .nav-link { padding: 10px 16px !important; border-bottom: 1px solid rgba(255,255,255,.1); }
  .dropdown-menu { position: static !important; box-shadow: none !important; border: none !important; border-top: none !important; background: rgba(0,0,0,.15) !important; border-radius: 0 !important; }
  .dropdown-item { color: rgba(255,255,255,.8) !important; padding-left: 28px; }
  .dropdown-item:hover { background: rgba(0,0,0,.2) !important; color: var(--accent) !important; }
}
@media (max-width: 767px) {
  .bdc-search-form { display: none; }
  .bdc-topbar .topbar-left { display: none; }
  .bdc-hero__title { font-size: 1.3rem; }
  .bdc-page-hero h1 { font-size: 1.8rem; }
  .bdc-footer-top { padding: 36px 0; }
  .bdc-author-box { flex-direction: column; }
  .bdc-post-meta { flex-direction: column; align-items: flex-start; gap: 8px; }
}
@media (max-width: 480px) {
  .bdc-post-title { font-size: 1.35rem; }
  .bdc-archive-header { padding: 20px; }
}

/* ── PRINT ───────────────────────────────────────────── */
@media print {
  .bdc-topbar, .bdc-header, .bdc-navbar, .bdc-ticker, .bdc-footer,
  .bdc-widget-nl, #bdc-btt, .bdc-share { display: none !important; }
  .bdc-post-content { max-width: 100%; }
}

/* ── Post list item ──────────────────────────────────────────────────────── */
.bdc-list-item {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    margin-bottom: 20px;
    overflow: hidden;
    transition: box-shadow .18s;
}
.bdc-list-item:hover {
    box-shadow: 0 4px 20px rgba(0,0,0,.09);
}
.bdc-list-item--featured {
    border-left: 3px solid var(--primary);
    background: #f9fdf8;
}

/* Whole card is one <a> — reset link styles */
.bdc-list-item__link {
    display: block;
    padding: 16px;
    color: inherit;
}
.bdc-list-item__link:hover { color: inherit; }

/* ① Header — full width */
.bdc-list-item__header {
    margin-bottom: 12px;
}
.bdc-list-item__featured-badge {
    display: inline-block;
    background: var(--primary);
    color: #fff;
    font-size: .65rem;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: 4px;
    letter-spacing: .04em;
    margin-bottom: 6px;
}
.bdc-list-item__title {
    font-family: var(--ff-display);
    font-size: 1.7rem;
    font-weight: 700;
    line-height: 1.38;
    margin: 0 0 5px;
    color: var(--charcoal);
}
.bdc-list-item:hover .bdc-list-item__title {
    color: var(--primary);
}
.bdc-list-item__byline {
    color: var(--muted);
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 6px;
}

/* ② Body — image left, content right */
.bdc-list-item__body {
    display: flex;
    gap: 14px;
    align-items: flex-start;
}

/* Image — fixed 40% width */
.bdc-list-item__thumb {
    flex: 0 0 40%;
    width: 40%;
    aspect-ratio: 4 / 3;
    border-radius: calc(var(--radius) - 2px);
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.4rem;
}
.bdc-list-item__thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform .3s;
}
.bdc-list-item:hover .bdc-list-item__thumb img {
    transform: scale(1.04);
}

/* Content — remaining 60% */
.bdc-list-item__content {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.bdc-list-item__excerpt {
    font-size: 1.2rem;
    color: #555;
    line-height: 1.65;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 5;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.bdc-list-item__footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: auto;
    padding-top: 6px;
    border-top: 1px solid var(--border);
}
.bdc-list-item__readmore {
    color: var(--primary);
    font-weight: 600;
    font-size: .78rem;
    white-space: nowrap;
}

/* Mobile: stack thumb above content */
@media (max-width: 540px) {
    .bdc-list-item__body  { flex-direction: column; }
    .bdc-list-item__thumb { flex: none; width: 100%; aspect-ratio: 16 / 9; }
}

/* AJAX fade */
#bdc-post-list { transition: opacity .2s; }

/* ═══════════════════════════════════════════════════════════════════
   MOBILE HEADER PATCH — append to end of style.css
   ═══════════════════════════════════════════════════════════════════ */
 
/* Remove the old rule that hid search on mobile (we now show it in row 2) */
@media (max-width: 767px) {
    .bdc-search-form { display: block; }   /* override the old display:none */
}
 
/* Header: no horizontal padding on mobile (container handles it) */
.bdc-header { padding: 12px 0; }
 
/* Row 1: logo left, hamburger right */
.bdc-header__row1 { width: 100%; }
 
/* Row 2: full-width search below logo, mobile only */
.bdc-header__row2 .bdc-search-form input {
    width: 100%;
    border-radius: 50px;
}
 
/* Hamburger: use primary green tones to match brand */
.bdc-hamburger {
    background: transparent;
    border: 1.5px solid rgba(43,99,41,.4);
    border-radius: var(--radius);
    padding: 5px 9px;
    cursor: pointer;
    flex-shrink: 0;
    line-height: 1;
}
 
/* On tablet (md) and up: search is inline in row 1, row 2 hidden (d-md-none handles it) */
@media (min-width: 768px) {
    .bdc-search-form input { width: 100%; }
    .bdc-header { padding: 12px 0; }
}
 
/* title font-size fix on mobile cards */
@media (max-width: 767px) {
    .bdc-list-item__title   { font-size: 1.2rem; }
    .bdc-list-item__excerpt { font-size: .82rem; }
    .bdc-list-item__byline  { font-size: .85rem; }
}
 
/* ── Ensure nav collapse is hidden on mobile until hamburger is clicked ───── */
@media (max-width: 991px) {
    .bdc-navbar .navbar-collapse:not(.show) {
        display: none !important;
    }
}

/* ── Full width on mobile — remove container gutters ─────────────────────── */
@media (max-width: 767px) {
    .container,
    .container-sm,
    .container-fluid {
        --bs-gutter-x: 0;
        padding-right: 0;
        padding-left: 0;
    }
  .bdc-header {
    padding: 12px 20px !important;
  }
}
 

/* ══ ARCHIVE HEADER — redesigned ════════════════════════════════════════════
   Replaces the plain green block with a clean, bordered, white-surface header
   with a bold left accent bar, decorative dot pattern, and stat pills.
   ══════════════════════════════════════════════════════════════════════════ */
 
.bdc-archive-header {
    position: relative;
    background: #fff;
    border: 1px solid var(--border);
    border-left: 5px solid var(--accent);
    border-radius: var(--radius-lg);
    padding: 15px 20px;
    margin-bottom: 28px;
    overflow: hidden;
    color: var(--charcoal);      /* reset from white */
}
 
/* Decorative dot-grid watermark top-right */
.bdc-archive-header::before {
    content: '';
    position: absolute;
    top: -10px;
    right: -10px;
    width: 180px;
    height: 160px;
    background-image: radial-gradient(circle, var(--border) 1.5px, transparent 1.5px);
    background-size: 16px 16px;
    opacity: .7;
    pointer-events: none;
}
 
/* Large faded icon watermark bottom-right */
.bdc-archive-header::after {
    content: attr(data-icon);
    position: absolute;
    bottom: -10px;
    right: 24px;
    font-size: 7rem;
    line-height: 1;
    opacity: .06;
    pointer-events: none;
    user-select: none;
}
 
/* Breadcrumb */
.bdc-archive-header .bdc-breadcrumb {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: .75rem;
    color: var(--muted);
    margin-bottom: 10px;
    flex-wrap: wrap;
}
.bdc-archive-header .bdc-breadcrumb a {
    color: var(--primary);
    font-weight: 600;
    text-decoration: none;
}
.bdc-archive-header .bdc-breadcrumb a:hover { text-decoration: underline; }
.bdc-archive-header .bdc-breadcrumb span { color: var(--muted); }
 
/* Title */
.bdc-archive-header h1 {
    font-family: var(--ff-display);
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--charcoal);
    line-height: 1.2;
    margin: 0 0 10px;
    position: relative;
}
.bdc-archive-header h1 em {
    font-style: normal;
    color: var(--primary);
}
 
/* Stat pills row */
.bdc-archive-header__stats {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 2px;
}
.bdc-archive-stat {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 50px;
    padding: 3px 12px;
    font-size: .78rem;
    font-weight: 600;
    color: var(--primary);
}
.bdc-archive-stat span { color: var(--muted); font-weight: 400; }
 
/* Description line */
.bdc-archive-header__desc {
    font-size: .85rem;
    color: var(--muted);
    margin-top: 6px;
    position: relative;
}
 
/* Mobile */
@media (max-width: 480px) {
    .bdc-archive-header          { padding: 18px 18px 16px 20px; }
    .bdc-archive-header h1       { font-size: 1.25rem; }
    .bdc-archive-header::before  { display: none; }
}
 
/* ── Author Box ──────────────────────────────────────────────────────────── */
.bdc-author-box {
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    margin-top: 36px;
}

/* Header label — "AUTHOR DETAILS" */
.bdc-author-box__header {
    font-size: .7rem;
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--muted);
    padding: 10px 18px;
    border-bottom: 1px solid var(--border);
    border-left: 3px solid var(--primary);
    background: var(--surface);
}

/* Body: avatar-wrap left, info right */
.bdc-author-box__body {
    display: flex;
    gap: 20px;
    padding: 20px 18px;
    align-items: flex-start;
}

/* Avatar column */
.bdc-author-box__avatar-wrap {
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    min-width: 80px;
}
.bdc-author-box__avatar-img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--border);
    display: block;
}
.bdc-author-box__avatar-fallback {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    font-weight: 700;
    color: #fff;
    flex-shrink: 0;
}
.bdc-author-box__email {
    font-size: .9rem;
    color: var(--muted);
    text-align: center;
    word-break: break-all;
    line-height: 1.3;
}

/* Info column */
.bdc-author-box__info {
    flex: 1;
    min-width: 0;
}
.bdc-author-box__name {
    font-family: var(--ff-display);
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--charcoal);
    margin: 0 0 2px;
}
.bdc-author-box__role {
    font-size: 1rem;
    color: var(--muted);
    font-style: italic;
    margin-bottom: 8px;
}
.bdc-author-box__bio {
    font-size: 1rem;
    color: #555;
    line-height: 1.65;
    margin: 0 0 10px;
}

/* Social icons */
.bdc-author-box__socials {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}
.bdc-author-box__socials a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    border: 1px solid var(--border);
    border-radius: 6px;
    background: var(--surface);
    color: var(--charcoal);
    font-size: .8rem;
    font-weight: 700;
    text-decoration: none;
    transition: background .15s, border-color .15s, color .15s;
}
.bdc-author-box__socials a:hover {
    background: var(--primary);
    border-color: var(--primary);
    color: #fff;
}

/* Mobile */
@media (max-width: 480px) {
    .bdc-author-box__body    { flex-direction: column; align-items: center; text-align: center; }
    .bdc-author-box__socials { justify-content: center; }
}

/* ── Tables inside post content ──────────────────────────────────────────── */
.bdc-post-content table {
    width: 100%;
    border-collapse: collapse;
    margin: 24px 0;
    font-size: .88rem;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: 0 1px 4px rgba(0,0,0,.06);
    border: 1px solid var(--border);
}
.bdc-post-content table thead tr {
    background: var(--primary);
    color: #fff;
    text-align: left;
}
.bdc-post-content table th {
    padding: 11px 14px;
    font-weight: 700;
    font-size: 1.1rem;
    letter-spacing: .03em;
    border: none;
}
.bdc-post-content table td {
    padding: 10px 14px;
    border-bottom: 1px solid var(--border);
    vertical-align: top;
    font-size: 1.1rem;
}

/* Striped rows */
.bdc-post-content table tbody tr:nth-child(odd) {
    background: #fff;
}
.bdc-post-content table tbody tr:nth-child(even) {
    background: var(--surface);
}

/* Hover row highlight */
.bdc-post-content table tbody tr:hover {
    background: rgba(43,99,41,.06);
}

/* Last row: remove bottom border */
.bdc-post-content table tbody tr:last-child td {
    border-bottom: none;
}

/* Mobile: horizontal scroll if table overflows */
.bdc-post-content table {
    display: block;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}
@media (min-width: 768px) {
    .bdc-post-content table {
        display: table;
        overflow-x: unset;
    }
}



/* ── Mobile font/spacing fixes (smartphones < 768px) ────────────────────── */
@media (max-width: 767px) {

    .bdc-post-content p {
        font-size: 1rem;
        line-height: 1.5;
        text-align: left;
        margin-bottom: 14px;
    }

    .bdc-post-excerpt {
        font-size: 1rem;
        line-height: 1.5;
        text-align: left;
    }

    .bdc-toc ol {
        font-size: 1rem;
        line-height: 1.5;
    }

    /* Also fix excerpt and content base sizes on mobile */
    .bdc-post-content {
        font-size: 1rem;
    }

    .bdc-list-item__excerpt {
        font-size: 1rem;
        line-height: 1.5;
    }
}


.bdc-video-wrap {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 ratio */
    height: 0;
    overflow: hidden;
    border-radius: var(--radius);
    margin: 24px 0;
    box-shadow: var(--shadow);
}
.bdc-video-wrap iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

.bdc-post-content iframe {
    width: 100%;
    aspect-ratio: 16 / 9;
    border: 0;
    border-radius: var(--radius);
    margin: 24px 0;
    display: block;
}



/* ── FAQ Accordion ───────────────────────────────────────────────────────── */
.faq-container {
    display: flex;
    flex-direction: column;
    gap: 8px;
    background: transparent;
}

/* Each item — individual card */
.faq-item-card {
    background: #fff;
    position: relative;
    border-radius: 12px;
    border: 1px solid var(--border);
    overflow: hidden;
    transition: box-shadow .25s, background .2s, border-color .28s cubic-bezier(.4,0,.2,1);
}

/* Hover + active — all four borders turn green */
.faq-item-card:hover,
.faq-item-card:has(.faq-question-wrapper.active) {
    border-color: var(--primary);
}

/* ── LEFT border — pseudo, grows from center vertically ─────────────────── */
.faq-item-card::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    width: 3px;
    height: 0;
    background: var(--primary);
    border-radius: 0 2px 2px 0;
    transform: translateY(-50%);
    transition: height .28s cubic-bezier(.4,0,.2,1);
}

/* ── BOTTOM border — pseudo, grows from center horizontally ─────────────── */
.faq-item-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 3px;
    background: var(--primary);
    border-radius: 2px 2px 0 0;
    transform: translateX(-50%);
    transition: width .28s cubic-bezier(.4,0,.2,1);
}

/* Hover — both borders grow out from center */
.faq-item-card:hover::before,
.faq-item-card:has(.faq-question-wrapper.active)::before {
    height: 100%;
}
.faq-item-card:hover::after,
.faq-item-card:has(.faq-question-wrapper.active)::after {
    width: 100%;
}

/* Hover shadow */
.faq-item-card:hover {
    box-shadow: 0 2px 10px rgba(30,103,34,.08);
}

/* Active — same borders + background tint */
.faq-item-card:has(.faq-question-wrapper.active) {
    background: var(--surface);
    box-shadow: 0 2px 14px rgba(30,103,34,.1);
}

/* Question row */
.faq-question-wrapper {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 18px;
    cursor: pointer;
    user-select: none;
    background: transparent;
    transition: background .15s;
}
.faq-question-wrapper:hover {
    background: rgba(0,0,0,.02);
}

/* Chevron */
.faq-icon {
    flex-shrink: 0;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    transition: transform .28s cubic-bezier(.4,0,.2,1);
}
.faq-question-wrapper.active .faq-icon {
    transform: rotate(90deg);
}

.faq-question-text {
    flex: 1;
    font-size: .92rem;
    font-weight: 600;
    color: var(--charcoal);
    line-height: 1.45;
}
.faq-question-text p { margin: 0; }

/* +/− badge */
.faq-expand-badge {
    flex-shrink: 0;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: var(--surface);
    border: 1.5px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: .65rem;
    color: var(--primary);
    transition: background .2s, border-color .2s, transform .28s cubic-bezier(.4,0,.2,1);
}
.faq-question-wrapper.active .faq-expand-badge {
    background: var(--primary);
    border-color: var(--primary);
    color: #fff;
    transform: rotate(45deg);
}

/* Answer — CSS grid transition (no JS height needed) */
.faq-answer-wrapper {
    display: grid;
    grid-template-rows: 0fr;
    transition: grid-template-rows .3s cubic-bezier(.4,0,.2,1);
}
.faq-answer-wrapper.open {
    grid-template-rows: 1fr;
}
.faq-answer-inner {
    overflow: hidden;
}
.faq-answer-content {
    padding: 0 18px 18px 50px;
    font-size: .88rem;
    color: #444;
    line-height: 1.7;
}
.faq-answer-content p  { margin: 0 0 8px; }
.faq-answer-content p:last-child { margin-bottom: 0; }
.faq-answer-content ul,
.faq-answer-content ol {
    padding-left: 1.4em;
    margin: 4px 0 0;
}
.faq-answer-content li { margin-bottom: 4px; }

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
    .faq-icon,
    .faq-expand-badge,
    .faq-item-card::before,
    .faq-answer-wrapper { transition: none; }
}

@media (max-width: 480px) {
    .faq-answer-content { padding-left: 18px; }
}