/* ============================================================
   BRANDADOC PAGES — inner pages + site footer
   Scope: .bd-page (inner pages), .bd-footer (global)
   All inner page <main> use class="bd-page" which inherits
   design tokens from brandadoc-homepage.css
   ============================================================ */

/* ══════════════════════════════════════════
   SITE FOOTER
══════════════════════════════════════════ */
.bd-footer {
  background: #0d1b2a;
  font-family: 'Inter', system-ui, sans-serif;
  color: #fff;
}

.bd-footer * { box-sizing: border-box; }

.bd-footer p,
.bd-footer a {
  color: #fff !important;
}

.bd-footer a:hover { color: #fff !important; }

.bd-footer__main {
  padding: clamp(52px, 7vw, 80px) 0 clamp(36px, 5vw, 52px);
  border-bottom: 1px solid rgba(255,255,255,.07);
}

.bd-footer__logo-img {
  filter: brightness(0) invert(1);
  opacity: .9;
  max-width: 130px;
  display: block;
}

.bd-footer__tagline {
  font-size: 14px;
  color: #fff;
  line-height: 1.68;
  margin: 16px 0 22px;
  max-width: 290px;
}

.bd-footer__rating {
  display: flex;
  align-items: center;
  gap: 12px;
}

.bd-footer__stars {
  font-size: 14px;
  color: #f59e0b;
  letter-spacing: 2px;
}

.bd-footer__rating strong {
  display: block;
  font-size: 14px;
  font-weight: 700;
  color: #fff;
}

.bd-footer__rating-link {
  font-size: 12px;
  color: #fff;
  display: block;
  transition: color .2s;
}

.bd-footer__rating-link:hover { color: #fff; }

.bd-footer__heading {
  font-size: 11px;
  font-weight: 700;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: .12em;
  margin-bottom: 20px;
}

.bd-footer__links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 11px;
}

.bd-footer__links li a {
  font-size: 14px;
  color: #fff;
  transition: color .2s;
}

.bd-footer__links li a:hover { color: #fff; }

.bd-footer__contact {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.bd-footer__contact li {
  display: flex;
  align-items: flex-start;
  gap: 13px;
}

.bd-footer__contact li > i {
  font-size: 13px;
  color: #10b981;
  margin-top: 3px;
  flex-shrink: 0;
  width: 16px;
}

.bd-footer__contact li span {
  font-size: 10px;
  font-weight: 700;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: .09em;
  display: block;
  margin-bottom: 3px;
}

.bd-footer__contact li a,
.bd-footer__contact li p {
  font-size: 14px;
  color: #fff;
  margin: 0;
  transition: color .2s;
}

.bd-footer__contact li a:hover { color: #fff; }

.bd-footer__bottom {
  padding: 20px 0;
}

.bd-footer__bottom-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 6px;
}

.bd-footer__copy,
.bd-footer__sub {
  font-size: 13px;
  color: #fff;
  margin: 0;
}

@media (max-width: 767px) {
  .bd-footer .row {
    justify-content: center;
  }

  .bd-footer .row > [class*="col-"] {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .bd-footer .row > [class*="col-"] > * {
    width: 100%;
    max-width: 320px;
  }

  .bd-footer__logo-img {
    margin: 0 auto;
  }

  .bd-footer__tagline {
    margin-left: auto;
    margin-right: auto;
  }

  .bd-footer__rating {
    justify-content: center;
    text-align: center;
  }

  .bd-footer__links {
    align-items: center;
  }

  .bd-footer__links li {
    text-align: center;
  }

  .bd-footer__heading {
    text-align: center;
  }

  .bd-footer__contact {
    align-items: center;
  }

  .bd-footer__contact li {
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    gap: 6px;
  }

  .bd-footer__contact li > i {
    margin-top: 0;
    width: auto;
  }

  .bd-footer__bottom-inner {
    justify-content: center;
    flex-direction: column;
    text-align: center;
    gap: 10px;
  }
}

/* ══════════════════════════════════════════
   OFFCANVAS MOBILE MENU (redesigned)
══════════════════════════════════════════ */
.brandadoc-offcanvas {
  position: fixed;
  top: 0;
  right: -320px;
  width: 300px;
  height: 100%;
  background: #0d1b2a;
  z-index: 9999;
  transition: right .32s cubic-bezier(.22,1,.36,1);
  overflow-y: auto;
  box-shadow: -8px 0 40px rgba(0,0,0,.4);
}

.brandadoc-offcanvas.active { right: 0; }

.brandadoc-offcanvas-inner {
  padding: 28px 24px 40px;
}

.brandadoc-offcanvas-close {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 36px;
  height: 36px;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 50%;
  background: transparent;
  color: rgba(255,255,255,.6);
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all .2s;
}

.brandadoc-offcanvas-close:hover {
  background: rgba(255,255,255,.08);
  color: #fff;
}

.brandadoc-mobile-nav {
  margin-top: 56px;
}

.brandadoc-mobile-menu {
  list-style: none;
  margin: 0;
  padding: 0;
}

.brandadoc-mobile-menu li a {
  display: block;
  padding: 12px 0;
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 16px;
  font-weight: 500;
  color: rgba(255,255,255,.75);
  border-bottom: 1px solid rgba(255,255,255,.06);
  transition: color .2s;
}

.brandadoc-mobile-menu li a:hover { color: #10b981; }

.brandadoc-mobile-cta {
  margin-top: 28px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.brandadoc-mobile-cta .tp-btn-gradient {
  display: block;
  text-align: center;
}

.brandadoc-offcanvas-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.55);
  z-index: 9998;
  opacity: 0;
  pointer-events: none;
  transition: opacity .3s;
}

.brandadoc-offcanvas-overlay.active {
  opacity: 1;
  pointer-events: all;
}

/* ══════════════════════════════════════════
   INNER PAGE HERO (shared across all inner pages)
══════════════════════════════════════════ */
.bd-page .bd-page-hero {
  background: linear-gradient(135deg, #05101f 0%, #0d1b2a 60%, #091928 100%);
  padding: clamp(120px, 14vw, 160px) 0 clamp(52px, 7vw, 80px);
  position: relative;
  overflow: hidden;
  text-align: center;
}

.bd-page .bd-page-hero::before {
  content: '';
  position: absolute;
  top: -80px; right: -80px;
  width: 400px; height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(10,107,76,.14) 0%, transparent 70%);
  pointer-events: none;
}

.bd-page .bd-page-hero::after {
  content: '';
  position: absolute;
  bottom: -40px; left: -60px;
  width: 300px; height: 300px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(16,185,129,.06) 0%, transparent 70%);
  pointer-events: none;
}

.bd-page .bd-page-hero__h1 {
  font-size: clamp(28px, 4vw, 52px) !important;
  font-weight: 900 !important;
  color: #fff !important;
  line-height: 1.1 !important;
  letter-spacing: -.02em !important;
  margin: 12px auto 18px !important;
  max-width: 680px;
}

.bd-page .bd-page-hero__sub {
  font-size: clamp(14px, 1vw, 17px) !important;
  color: rgba(255,255,255,.48) !important;
  max-width: 520px;
  margin: 0 auto !important;
  line-height: 1.65 !important;
}

/* ══════════════════════════════════════════
   CONTACT PAGE
══════════════════════════════════════════ */
.bd-page .bd-contact-info {
  background: var(--c-dark, #0d1b2a);
  border-radius: var(--r-lg, 18px);
  padding: 32px 28px;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.bd-page .bd-contact-info__title {
  font-size: 20px !important;
  font-weight: 800 !important;
  color: #fff !important;
  margin-bottom: 8px !important;
}

.bd-page .bd-contact-info__sub {
  font-size: 14px !important;
  color: rgba(255,255,255,.45) !important;
  line-height: 1.6 !important;
  margin-bottom: 28px !important;
}

.bd-page .bd-contact-info__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 20px;
  flex: 1;
}

.bd-page .bd-contact-info__list li {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.bd-page .bd-contact-info__list li i {
  font-size: 14px;
  color: #10b981;
  margin-top: 3px;
  flex-shrink: 0;
  width: 18px;
}

.bd-page .bd-contact-info__list span {
  font-size: 10px !important;
  font-weight: 700;
  color: rgba(255,255,255,.3) !important;
  text-transform: uppercase;
  letter-spacing: .1em;
  display: block;
  margin-bottom: 3px;
}

.bd-page .bd-contact-info__list a,
.bd-page .bd-contact-info__list p {
  font-size: 15px !important;
  color: rgba(255,255,255,.7) !important;
  margin: 0 !important;
  transition: color .2s;
}

.bd-page .bd-contact-info__list a:hover { color: #10b981 !important; }

.bd-page .bd-contact-info .bd-cta-btn {
  margin-top: 28px;
  width: 100%;
  justify-content: center;
}

/* Contact form card */
.bd-page .bd-contact-form-wrap {
  background: var(--c-white, #fff);
  border: 1px solid var(--c-border, #e5e7eb);
  border-radius: var(--r-lg, 18px);
  padding: 36px 32px;
  height: 100%;
}

.bd-page .bd-contact-form-wrap h2 {
  font-size: clamp(20px, 1.8vw, 24px) !important;
  font-weight: 800 !important;
  color: var(--c-head, #111827) !important;
  margin-bottom: 6px !important;
}

.bd-page .bd-contact-form-wrap > p {
  font-size: 14px !important;
  color: var(--c-muted, #6b7280) !important;
  margin-bottom: 28px !important;
}

.bd-page .bd-contact-alert {
  padding: 12px 16px;
  border-radius: 8px;
  font-size: 14px;
  margin-bottom: 20px;
  font-weight: 500;
}

.bd-page .bd-contact-alert-success {
  background: #ecfdf5;
  color: #065f46;
  border: 1px solid #a7f3d0;
}

.bd-page .bd-contact-alert-error {
  background: #fef2f2;
  color: #991b1b;
  border: 1px solid #fecaca;
}

.bd-page .bd-form-honeypot {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
}

.bd-page .bd-form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.bd-page .bd-form-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.bd-page .bd-form-field--full {
  grid-column: 1 / -1;
}

.bd-page .bd-form-field label {
  font-size: 13px !important;
  font-weight: 600;
  color: var(--c-head, #111827) !important;
}

.bd-page .bd-form-field input,
.bd-page .bd-form-field textarea,
.bd-page .bd-form-field select {
  font-family: var(--f, 'Inter', system-ui) !important;
  font-size: 14px !important;
  color: var(--c-head, #111827) !important;
  background: var(--c-grey, #f9fafb) !important;
  border: 1px solid var(--c-border, #e5e7eb) !important;
  border-radius: 8px !important;
  padding: 11px 14px !important;
  width: 100%;
  outline: none;
  transition: border-color .2s, box-shadow .2s;
  box-shadow: none !important;
  appearance: none;
}

.bd-page .bd-form-field input:focus,
.bd-page .bd-form-field textarea:focus {
  border-color: #10b981 !important;
  box-shadow: 0 0 0 3px rgba(16,185,129,.12) !important;
  background: #fff !important;
}

.bd-page .bd-form-field textarea {
  resize: vertical;
  min-height: 110px;
}

.bd-page .bd-form-submit {
  margin-top: 20px;
}

@media (max-width: 575px) {
  .bd-page .bd-form-grid { grid-template-columns: 1fr; }
  .bd-page .bd-contact-form-wrap { padding: 24px 20px; }
}

/* ══════════════════════════════════════════
   ABOUT PAGE
══════════════════════════════════════════ */
.bd-page .bd-about-hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
  padding: clamp(110px, 13vw, 150px) 0 clamp(52px, 7vw, 76px);
  position: relative;
  z-index: 1;
}

.bd-page .bd-about-hero-section {
  background: linear-gradient(135deg, #05101f 0%, #0d1b2a 60%, #091928 100%);
  position: relative;
  overflow: hidden;
}

.bd-page .bd-about-hero-section::before {
  content: '';
  position: absolute;
  top: -80px; right: -80px;
  width: 420px; height: 420px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(10,107,76,.14) 0%, transparent 70%);
  pointer-events: none;
}

.bd-page .bd-about-intro h1 {
  font-size: clamp(28px, 3.8vw, 50px) !important;
  font-weight: 900 !important;
  color: #fff !important;
  line-height: 1.1 !important;
  letter-spacing: -.02em !important;
  margin: 12px 0 16px !important;
}

.bd-page .bd-about-intro > p {
  font-size: clamp(15px, 1.1vw, 17px) !important;
  color: rgba(255,255,255,.5) !important;
  line-height: 1.65 !important;
  margin-bottom: 24px !important;
}

.bd-page .bd-about-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 28px;
}

.bd-page .bd-about-tags span {
  display: inline-block;
  padding: 6px 14px;
  background: rgba(16,185,129,.12);
  border: 1px solid rgba(16,185,129,.25);
  border-radius: 999px;
  font-size: 12px !important;
  font-weight: 600;
  color: #10b981 !important;
}

/* Stats grid in hero */
.bd-page .bd-about-stats {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.bd-page .bd-about-stat-card {
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.09);
  border-radius: 16px;
  padding: 24px 24px 20px;
  transition: background .24s;
}

.bd-page .bd-about-stat-card:hover {
  background: rgba(255,255,255,.08);
}

.bd-page .bd-about-stat-card span {
  font-size: 11px !important;
  font-weight: 700;
  color: #10b981 !important;
  text-transform: uppercase;
  letter-spacing: .1em;
  display: block;
  margin-bottom: 6px;
}

.bd-page .bd-about-stat-card h3 {
  font-size: clamp(28px, 3vw, 40px) !important;
  font-weight: 900 !important;
  color: #fff !important;
  margin-bottom: 4px !important;
  line-height: 1;
}

.bd-page .bd-about-stat-card p {
  font-size: 13px !important;
  color: rgba(255,255,255,.42) !important;
  margin: 0 !important;
}

@media (max-width: 767px) {
  .bd-page .bd-about-hero-grid {
    grid-template-columns: 1fr;
    padding-top: clamp(100px, 14vw, 130px);
  }
}

/* Story section */
.bd-page .bd-story-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: clamp(32px, 4vw, 48px);
}

.bd-page .bd-story-card {
  background: var(--c-white, #fff);
  border: 1px solid var(--c-border, #e5e7eb);
  border-radius: var(--r-lg, 18px);
  padding: 28px 24px;
  border-top: 3px solid #10b981;
  transition: box-shadow .24s, transform .24s;
}

.bd-page .bd-story-card:hover {
  box-shadow: 0 8px 28px rgba(0,0,0,.08);
  transform: translateY(-3px);
}

.bd-page .bd-story-card h3 {
  font-size: 16px !important;
  font-weight: 700 !important;
  color: var(--c-head, #111827) !important;
  margin-bottom: 8px !important;
}

.bd-page .bd-story-card p {
  font-size: 13.5px !important;
  color: var(--c-body, #374151) !important;
  line-height: 1.65 !important;
  margin: 0 !important;
}

@media (max-width: 767px) {
  .bd-page .bd-story-grid { grid-template-columns: 1fr; }
}

/* Team section */
.bd-page .bd-team-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-top: clamp(32px, 4vw, 48px);
}

.bd-page .bd-team-card {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  background: var(--c-grey, #f9fafb);
  border: 1px solid var(--c-border, #e5e7eb);
  border-radius: var(--r-lg, 18px);
  padding: 24px 22px;
  transition: box-shadow .24s, border-color .24s;
}

.bd-page .bd-team-card:hover {
  border-color: rgba(16,185,129,.2);
  box-shadow: 0 6px 22px rgba(0,0,0,.07);
}

.bd-page .bd-team-card__avatar {
  width: 68px;
  height: 68px;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
  border: 2px solid #e5e7eb;
}

.bd-page .bd-team-card__avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.bd-page .bd-team-card h3 {
  font-size: 17px !important;
  font-weight: 700 !important;
  color: var(--c-head, #111827) !important;
  margin-bottom: 3px !important;
}

.bd-page .bd-team-card .bd-team-role {
  font-size: 12px !important;
  font-weight: 600;
  color: #10b981 !important;
  text-transform: uppercase;
  letter-spacing: .06em;
  display: block;
  margin-bottom: 8px;
}

.bd-page .bd-team-card p {
  font-size: 13.5px !important;
  color: var(--c-body, #374151) !important;
  line-height: 1.65 !important;
  margin: 0 !important;
}

@media (max-width: 575px) {
  .bd-page .bd-team-grid { grid-template-columns: 1fr; }
}

/* About CTA (dark) */
.bd-page .bd-about-cta-box {
  text-align: center;
  max-width: 700px;
  margin: 0 auto;
}

.bd-page .bd-about-cta-box h2 {
  font-size: clamp(22px, 2.8vw, 38px) !important;
  font-weight: 900 !important;
  color: #fff !important;
  line-height: 1.2 !important;
  margin-bottom: 16px !important;
}

.bd-page .bd-about-cta-box > p {
  font-size: 15px !important;
  color: rgba(255,255,255,.48) !important;
  margin-bottom: 28px !important;
}

.bd-page .bd-impact-metrics {
  display: flex;
  gap: 32px;
  justify-content: center;
  flex-wrap: wrap;
  margin: 28px 0 32px;
}

.bd-page .bd-impact-metric strong {
  display: block;
  font-size: clamp(28px, 3vw, 42px) !important;
  font-weight: 900;
  color: #10b981 !important;
  line-height: 1;
  margin-bottom: 4px;
}

.bd-page .bd-impact-metric span {
  font-size: 13px !important;
  color: rgba(255,255,255,.42) !important;
  font-weight: 500;
}

/* ══════════════════════════════════════════
   BLOG ARCHIVE
══════════════════════════════════════════ */
.bd-page .bd-post-list {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.bd-page .bd-post-card {
  display: grid;
  grid-template-columns: 260px 1fr;
  background: var(--c-white, #fff);
  border: 1px solid var(--c-border, #e5e7eb);
  border-radius: var(--r-lg, 18px);
  overflow: hidden;
  margin-bottom: 24px;
  transition: all .26s ease;
}

.bd-page .bd-post-card:hover {
  box-shadow: 0 8px 28px rgba(0,0,0,.08);
  transform: translateY(-3px);
  border-color: rgba(10,107,76,.15);
}

.bd-page .bd-post-card__img {
  position: relative;
  overflow: hidden;
  background: var(--c-green-lt, #e8f7f1);
  min-height: 200px;
}

.bd-page .bd-post-card__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .35s ease;
}

.bd-page .bd-post-card:hover .bd-post-card__img img { transform: scale(1.04); }

.bd-page .bd-post-card__img-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  font-weight: 900;
  color: #10b981;
  min-height: 200px;
}

.bd-page .bd-post-card__body {
  padding: 24px 26px 22px;
  display: flex;
  flex-direction: column;
}

.bd-page .bd-post-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 10px;
  flex-wrap: wrap;
}

.bd-page .bd-post-meta span {
  font-size: 12px !important;
  color: var(--c-muted, #6b7280) !important;
  font-weight: 500;
}

.bd-page .bd-post-meta__dot {
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: var(--c-border, #e5e7eb);
  flex-shrink: 0;
}

.bd-page .bd-post-card__title {
  font-size: clamp(17px, 1.4vw, 21px) !important;
  font-weight: 800 !important;
  color: var(--c-head, #111827) !important;
  line-height: 1.3 !important;
  margin-bottom: 10px !important;
}

.bd-page .bd-post-card__title a {
  color: inherit !important;
  transition: color .2s;
}

.bd-page .bd-post-card__title a:hover { color: #0a6b4c !important; }

.bd-page .bd-post-card__excerpt {
  font-size: 14px !important;
  color: var(--c-body, #374151) !important;
  line-height: 1.65 !important;
  margin-bottom: 18px !important;
  flex: 1;
}

.bd-page .bd-post-card__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: auto;
}

.bd-page .bd-post-cats {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}

.bd-page .bd-post-cat {
  display: inline-block;
  padding: 4px 10px;
  background: var(--c-green-lt, #e8f7f1);
  color: var(--c-green, #0a6b4c) !important;
  border-radius: 999px;
  font-size: 11px !important;
  font-weight: 600;
  transition: background .2s;
}

.bd-page .bd-post-cat:hover { background: #d1f0e5; }

.bd-page .bd-post-read {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px !important;
  font-weight: 600;
  color: var(--c-green, #0a6b4c) !important;
  white-space: nowrap;
  transition: gap .2s;
}

.bd-page .bd-post-read:hover { gap: 9px; color: #075e41 !important; }

.bd-page .bd-post-empty {
  text-align: center;
  padding: 60px 0;
}

/* Pagination */
.bd-page .bd-pagination {
  margin-top: 8px;
}

.bd-page .bd-pagination ul {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 6px;
  flex-wrap: wrap;
}

.bd-page .bd-pagination ul li a,
.bd-page .bd-pagination ul li span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 40px;
  padding: 0 12px;
  border-radius: 8px;
  font-size: 14px !important;
  font-weight: 600;
  border: 1px solid var(--c-border, #e5e7eb);
  color: var(--c-body, #374151) !important;
  background: var(--c-white, #fff);
  transition: all .2s;
}

.bd-page .bd-pagination ul li a:hover {
  border-color: #10b981;
  color: #10b981 !important;
}

.bd-page .bd-pagination ul li span.current {
  background: #0a6b4c;
  border-color: #0a6b4c;
  color: #fff !important;
}

@media (max-width: 767px) {
  .bd-page .bd-post-card {
    grid-template-columns: 1fr;
  }
  .bd-page .bd-post-card__img { min-height: 200px; }
}

/* ══════════════════════════════════════════
   SINGLE POST
══════════════════════════════════════════ */
.bd-page .bd-single-article {
  background: var(--c-white, #fff);
  border: 1px solid var(--c-border, #e5e7eb);
  border-radius: var(--r-lg, 18px);
  overflow: hidden;
  margin-bottom: 32px;
}

.bd-page .bd-single-thumb {
  aspect-ratio: 16 / 7;
  overflow: hidden;
}

.bd-page .bd-single-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.bd-page .bd-single-content {
  padding: 36px 36px 32px;
}

/* WordPress content typography */
.bd-page .bd-single-content h1,
.bd-page .bd-single-content h2,
.bd-page .bd-single-content h3,
.bd-page .bd-single-content h4 {
  color: var(--c-head, #111827) !important;
  line-height: 1.3 !important;
  margin-top: 1.5em !important;
  margin-bottom: .6em !important;
}

.bd-page .bd-single-content h2 { font-size: clamp(22px, 2.2vw, 28px) !important; font-weight: 800 !important; }
.bd-page .bd-single-content h3 { font-size: clamp(18px, 1.8vw, 22px) !important; font-weight: 700 !important; }
.bd-page .bd-single-content h4 { font-size: 18px !important; font-weight: 700 !important; }

.bd-page .bd-single-content p {
  font-size: 16px !important;
  line-height: 1.78 !important;
  color: var(--c-body, #374151) !important;
  margin-bottom: 1.2em !important;
}

.bd-page .bd-single-content ul,
.bd-page .bd-single-content ol {
  padding-left: 1.5em;
  margin-bottom: 1.2em;
}

.bd-page .bd-single-content li {
  font-size: 15px !important;
  color: var(--c-body, #374151) !important;
  line-height: 1.7 !important;
  margin-bottom: .4em;
}

.bd-page .bd-single-content a {
  color: #0a6b4c !important;
  text-decoration: underline;
  text-decoration-color: rgba(10,107,76,.3);
  text-underline-offset: 2px;
}

.bd-page .bd-single-content blockquote {
  border-left: 3px solid #10b981;
  margin: 1.5em 0;
  padding: 12px 20px;
  background: #f0fdf9;
  border-radius: 0 8px 8px 0;
}

.bd-page .bd-single-content img {
  max-width: 100%;
  border-radius: 8px;
  height: auto;
}

.bd-page .bd-single-cats {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  padding: 20px 36px 28px;
  border-top: 1px solid var(--c-border, #e5e7eb);
}

@media (max-width: 767px) {
  .bd-page .bd-single-content { padding: 24px 20px 20px; }
  .bd-page .bd-single-cats { padding: 16px 20px 22px; }
}

/* ══════════════════════════════════════════
   SIDEBAR
══════════════════════════════════════════ */
.bd-page .bd-sidebar {
  position: sticky;
  top: 100px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.bd-page .bd-sidebar-widget {
  background: var(--c-white, #fff);
  border: 1px solid var(--c-border, #e5e7eb);
  border-radius: var(--r-lg, 18px);
  padding: 24px 22px;
}

.bd-page .bd-sidebar-widget__title {
  font-size: 14px !important;
  font-weight: 700;
  color: var(--c-head, #111827) !important;
  text-transform: uppercase;
  letter-spacing: .08em;
  margin-bottom: 18px !important;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--c-border, #e5e7eb);
}

.bd-page .bd-sidebar-cats {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.bd-page .bd-sidebar-cats li a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 10px;
  border-radius: 8px;
  font-size: 14px !important;
  color: var(--c-body, #374151) !important;
  transition: all .2s;
}

.bd-page .bd-sidebar-cats li a:hover {
  background: var(--c-green-lt, #e8f7f1);
  color: #0a6b4c !important;
}

.bd-page .bd-sidebar-cats li.is-active a {
  background: var(--c-green-lt, #e8f7f1);
  color: #0a6b4c !important;
  font-weight: 600;
}

.bd-page .bd-sidebar-cats li a span {
  font-size: 11px !important;
  color: var(--c-muted, #6b7280) !important;
  background: var(--c-grey, #f9fafb);
  padding: 2px 7px;
  border-radius: 999px;
}

.bd-page .bd-sidebar-posts {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.bd-page .bd-rc-post {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}

.bd-page .bd-rc-post__thumb {
  width: 56px;
  height: 56px;
  border-radius: 8px;
  overflow: hidden;
  flex-shrink: 0;
  background: var(--c-green-lt, #e8f7f1);
}

.bd-page .bd-rc-post__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.bd-page .bd-rc-post__thumb-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 700;
  color: #0a6b4c;
}

.bd-page .bd-rc-post__cat {
  font-size: 10px !important;
  font-weight: 600;
  color: #10b981 !important;
  text-transform: uppercase;
  letter-spacing: .08em;
  display: block;
  margin-bottom: 3px;
}

.bd-page .bd-rc-post__title {
  font-size: 13px !important;
  font-weight: 600 !important;
  color: var(--c-head, #111827) !important;
  line-height: 1.4 !important;
  margin-bottom: 4px !important;
}

.bd-page .bd-rc-post__title a { color: inherit !important; transition: color .2s; }
.bd-page .bd-rc-post__title a:hover { color: #0a6b4c !important; }

.bd-page .bd-rc-post__date {
  font-size: 11px !important;
  color: var(--c-muted, #6b7280) !important;
}

/* ══════════════════════════════════════════
   PAYMENT PAGE
══════════════════════════════════════════ */
.bd-page .bd-payment-card {
  background: var(--c-white, #fff);
  border: 1px solid var(--c-border, #e5e7eb);
  border-radius: var(--r-lg, 18px);
  padding: 36px 32px;
  height: 100%;
}

.bd-page .bd-payment-card h2 {
  font-size: clamp(20px, 1.8vw, 24px) !important;
  font-weight: 800 !important;
  color: var(--c-head, #111827) !important;
  margin-bottom: 6px !important;
}

.bd-page .bd-payment-card .bd-payment-sub {
  font-size: 14px !important;
  color: var(--c-muted, #6b7280) !important;
  margin-bottom: 28px !important;
}

.bd-page .bd-payment-alert {
  padding: 12px 16px;
  border-radius: 8px;
  font-size: 14px;
  margin-bottom: 20px;
  border: 1px solid var(--c-border, #e5e7eb);
}

.bd-page .bd-payment-alert-error {
  background: #fef2f2;
  color: #991b1b;
  border-color: #fecaca;
}

.bd-page .bd-locked-note {
  font-size: 12px !important;
  color: var(--c-muted, #6b7280) !important;
  margin-top: 6px !important;
  font-style: italic;
}

.bd-page .bd-gst-summary {
  margin-top: 4px;
  border: 1px solid rgba(16, 185, 129, .25);
  border-radius: 12px;
  background: #f8fffb;
  padding: 14px 16px;
}

.bd-page .bd-gst-summary__title {
  font-size: 12px !important;
  font-weight: 700 !important;
  color: #065f46 !important;
  text-transform: uppercase;
  letter-spacing: .06em;
  margin-bottom: 12px !important;
}

.bd-page .bd-gst-summary__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 7px 0;
  border-bottom: 1px dashed rgba(16, 185, 129, .25);
  font-size: 14px;
  color: var(--c-body, #374151);
}

.bd-page .bd-gst-summary__row strong {
  font-weight: 700;
  color: var(--c-head, #111827);
}

.bd-page .bd-gst-summary__row--total {
  border-bottom: 0;
  padding-top: 10px;
  margin-top: 2px;
  font-size: 15px;
}

.bd-page .bd-gst-summary__row--total strong {
  color: #065f46;
}

.bd-page .bd-form-field--coupon {
  margin-bottom: 6px;
}

.bd-page .bd-coupon-row {
  display: flex;
  gap: 10px;
}

.bd-page .bd-coupon-row input {
  flex: 1;
}

.bd-page .bd-coupon-message {
  margin: 8px 0 0;
  font-size: 12px;
}

.bd-page .bd-coupon-message-success {
  color: #047857;
}

.bd-page .bd-coupon-message-error {
  color: #b91c1c;
}

.bd-page .bd-coupon-message-info {
  color: #1d4ed8;
}

/* Side info card */
.bd-page .bd-payment-side {
  background: var(--c-grey, #f9fafb);
  border: 1px solid var(--c-border, #e5e7eb);
  border-radius: var(--r-lg, 18px);
  padding: 28px 24px;
  height: 100%;
}

.bd-page .bd-payment-side h3 {
  font-size: 17px !important;
  font-weight: 700 !important;
  color: var(--c-head, #111827) !important;
  margin-bottom: 18px !important;
}

.bd-page .bd-payment-list {
  list-style: none;
  margin: 0 0 20px;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.bd-page .bd-payment-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14px !important;
  color: var(--c-body, #374151) !important;
  line-height: 1.5 !important;
}

.bd-page .bd-payment-list li::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #10b981;
  flex-shrink: 0;
  margin-top: 7px;
}

.bd-page .bd-payment-info-box {
  background: rgba(16,185,129,.08);
  border: 1px solid rgba(16,185,129,.18);
  border-radius: 10px;
  padding: 12px 14px;
  font-size: 13px !important;
  color: #065f46 !important;
}

/* Invoice table */
.bd-page .bd-invoice-card {
  background: var(--c-white, #fff);
  border: 1px solid var(--c-border, #e5e7eb);
  border-radius: var(--r-xl, 28px);
  overflow: hidden;
  box-shadow: 0 8px 32px rgba(0,0,0,.07);
}

.bd-page .bd-invoice-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding: 28px 28px 24px;
  border-bottom: 1px solid var(--c-border, #e5e7eb);
  background: var(--c-grey, #f9fafb);
}

.bd-page .bd-invoice-label {
  font-size: 11px !important;
  font-weight: 700;
  color: var(--c-muted, #6b7280) !important;
  text-transform: uppercase;
  letter-spacing: .1em;
  margin-bottom: 4px !important;
}

.bd-page .bd-invoice-top h2 {
  font-size: 22px !important;
  font-weight: 800 !important;
  color: var(--c-head, #111827) !important;
  margin: 0 !important;
}

.bd-page .bd-invoice-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  border-bottom: 1px solid var(--c-border, #e5e7eb);
}

.bd-page .bd-invoice-grid > div {
  padding: 20px 28px;
}

.bd-page .bd-invoice-grid > div:first-child {
  border-right: 1px solid var(--c-border, #e5e7eb);
}

.bd-page .bd-invoice-grid h4 {
  font-size: 11px !important;
  font-weight: 700;
  color: var(--c-muted, #6b7280) !important;
  text-transform: uppercase;
  letter-spacing: .08em;
  margin-bottom: 10px !important;
}

.bd-page .bd-invoice-grid p {
  font-size: 14px !important;
  color: var(--c-body, #374151) !important;
  margin-bottom: 2px !important;
}

.bd-page .bd-invoice-table {
  padding: 0 28px;
}

.bd-page .bd-invoice-table table {
  width: 100%;
  border-collapse: collapse;
  font-family: var(--f, 'Inter', system-ui);
}

.bd-page .bd-invoice-table th,
.bd-page .bd-invoice-table td {
  padding: 14px 0;
  font-size: 14px;
  text-align: left;
  border-bottom: 1px solid var(--c-border, #e5e7eb);
  color: var(--c-body, #374151);
}

.bd-page .bd-invoice-table th {
  font-weight: 700;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: var(--c-muted, #6b7280);
}

.bd-page .bd-invoice-table tfoot td {
  font-weight: 700;
  color: var(--c-head, #111827);
  border-bottom: none;
  font-size: 15px;
}

.bd-page .text-right { text-align: right; }
.bd-page .text-center { text-align: center; }

.bd-page .bd-invoice-bottom {
  padding: 20px 28px;
  background: var(--c-grey, #f9fafb);
}

.bd-page .bd-invoice-bottom p {
  font-size: 13px !important;
  color: var(--c-muted, #6b7280) !important;
  margin-bottom: 4px !important;
}

.bd-page .bd-invoice-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 28px;
}

/* ══════════════════════════════════════════
   GENERIC PAGE
══════════════════════════════════════════ */
.bd-page .bd-generic-content {
  padding: clamp(40px, 6vw, 72px) 0 clamp(48px, 7vw, 88px);
}

.bd-page .bd-generic-content .bd-prose {
  background: var(--c-white, #fff);
  border: 1px solid var(--c-border, #e5e7eb);
  border-radius: var(--r-lg, 18px);
  padding: 40px 44px;
}

.bd-page .bd-prose p  { font-size: 16px !important; line-height: 1.78 !important; margin-bottom: 1.2em !important; color: var(--c-body, #374151) !important; }
.bd-page .bd-prose h2 { font-size: clamp(22px, 2.2vw, 28px) !important; font-weight: 800 !important; margin: 1.5em 0 .6em !important; }
.bd-page .bd-prose h3 { font-size: clamp(18px, 1.8vw, 22px) !important; font-weight: 700 !important; margin: 1.4em 0 .5em !important; }
.bd-page .bd-prose a  { color: #0a6b4c !important; text-decoration: underline; }
.bd-page .bd-prose ul, .bd-page .bd-prose ol { padding-left: 1.5em; margin-bottom: 1.2em; }
.bd-page .bd-prose li { font-size: 15px !important; line-height: 1.7 !important; margin-bottom: .4em; color: var(--c-body, #374151) !important; }

@media (max-width: 575px) {
  .bd-page .bd-prose { padding: 24px 20px; }
}

/* ══════════════════════════════════════════
   SHARED BUTTON (pages)
══════════════════════════════════════════ */
.bd-page .bd-outline-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 26px;
  border: 2px solid var(--c-dark, #0d1b2a);
  border-radius: 999px;
  font-family: var(--f, 'Inter', system-ui) !important;
  font-size: 14px !important;
  font-weight: 600;
  color: var(--c-dark, #0d1b2a) !important;
  background: transparent;
  cursor: pointer;
  transition: all .22s ease;
}

.bd-page .bd-outline-btn:hover {
  background: var(--c-dark, #0d1b2a);
  color: #fff !important;
}
