/* =====================================================================
   ORANGE SPACES – blog-detail.css   (blog post only: /blog/<slug>/)
   Same look as the old Orange blog post. Scoped with bd- class names.

   SECTIONS
     1. Page tokens
     2. Hero + cover image
     3. Layout
     4. Table of contents
     5. Article content (CKEditor HTML)
     6. CTA + FAQ + prev / next
     7. Sidebar cards + enquiry form
     8. Related articles
     9. Newsletter
   ===================================================================== */


/* ── 1. PAGE TOKENS ─────────────────────────────────────────────── */
:root {
  --bd-gold: #d5aa57;
  --bd-dark: #041510;
  --bd-green: #0d2f28;
  --bd-green-2: #17493f;
  --bd-text: #141414;
  --bd-serif: var(--font-display, "Calvino", serif);
}
html { scroll-padding-top: calc(var(--nav-height, 64px) + 20px); }   /* TOC jumps land below the navbar */


/* ── 2. HERO + COVER ────────────────────────────────────────────── */
.bd-hero { position: relative; overflow: hidden; background: var(--bd-dark); color: #f5f5f5; padding-bottom: 50px; }
.bd-hero__bg {
  position: absolute; inset: 0; opacity: .9;
  background:
    radial-gradient(60% 50% at 85% 15%, rgba(213,170,87,.18) 0%, transparent 60%),
    radial-gradient(50% 60% at 10% 90%, rgba(40,90,70,.55) 0%, transparent 60%);
}
.bd-hero__grid {
  position: absolute; inset: 0; opacity: .06;
  background-image:
    linear-gradient(var(--bd-gold) 1px, transparent 1px),
    linear-gradient(90deg, var(--bd-gold) 1px, transparent 1px);
  background-size: 80px 80px;
}
.bd-hero__container {
  position: relative; z-index: 2; max-width: 1200px; margin: 0 auto;
  padding: calc(var(--nav-height, 64px) + 40px) 24px 100px;
}

.bd-crumbs ol { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; }
.bd-crumbs li {
  display: flex; align-items: center; gap: 8px; min-width: 0;
  font-size: 12px; letter-spacing: .18em; text-transform: uppercase; color: rgba(255,255,255,.6);
}
.bd-crumbs li + li::before {   content: "\203A";
  display: inline-block;
  margin-right: 0;
  opacity: .5;
  color: rgba(255,255,255,.6);
  font-family: Arial, sans-serif; }
.bd-crumbs a { color: inherit; text-decoration: none; transition: color .3s; }
.bd-crumbs a:hover { color: var(--bd-gold); }
.bd-crumbs [aria-current] { color: var(--bd-gold); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

.bd-hero__content { display: grid; grid-template-columns: 2fr 1fr; gap: 80px; align-items: end; margin-top: 70px; }
.bd-hero__label {
  display: flex; align-items: center; gap: 14px;
  font-size: 12px; letter-spacing: .22em; text-transform: uppercase; color: var(--bd-gold);
}
.bd-line { width: 40px; height: 1px; background: var(--bd-gold); }
.bd-hero__left h1 {
  margin-top: 28px; font-family: var(--bd-serif); font-size: 62px; font-weight: 500;
  line-height: 1.02; letter-spacing: -1.5px; color: #fff;
}
.bd-hero__excerpt { max-width: 640px; margin-top: 30px; font-size: 18px; line-height: 1.8; color: rgba(255,255,255,.7); }

.bd-hero__side { padding-left: 35px; border-left: 1px solid rgba(255,255,255,.15); }
.bd-side-title { font-size: 10px; letter-spacing: .22em; text-transform: uppercase; color: rgba(255,255,255,.5); }
.bd-author { display: flex; align-items: center; gap: 14px; margin-top: 15px; }
.bd-avatar { width: 46px; height: 46px; flex-shrink: 0; overflow: hidden; border-radius: 50%; background: var(--bd-gold); }
.bd-avatar img { width: 100%; height: 100%; object-fit: cover; }
.bd-author__name { font-weight: 600; color: #fff; }
.bd-author__role { font-size: 12px; color: rgba(255,255,255,.6); }
.bd-meta-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 20px;
  margin-top: 30px; padding-top: 26px; border-top: 1px solid rgba(255,255,255,.1);
}
.bd-meta-item { margin-top: 8px; font-size: 14px; color: #fff; }
.bd-meta-item i { color: var(--bd-gold); }

.bd-cover { position: relative; z-index: 3; max-width: 1200px; margin: -50px auto 0; padding: 0 24px; }
.bd-cover__plate {
  position: relative; overflow: hidden; margin: 0; aspect-ratio: 16 / 7;
  border-radius: 24px; border: 1px solid rgba(213,170,87,.3); box-shadow: 0 30px 70px rgba(0,0,0,.5);
  background: var(--bd-green);
}
.bd-cover__plate img { display: block; width: 100%; height: 100%; object-fit: cover; }

@media (max-width: 991px) {
  .bd-hero__content { grid-template-columns: 1fr; gap: 40px; margin-top: 50px; }
  .bd-hero__side { padding-left: 0; border-left: none; }
  .bd-hero__left h1 { font-size: 46px; }
}
@media (max-width: 576px) {
  .bd-hero__container { padding-bottom: 80px; }
  .bd-hero__left h1 { font-size: 34px; letter-spacing: -.5px; }
  .bd-hero__excerpt { font-size: 16px; }
  .bd-cover__plate { aspect-ratio: 16 / 10; border-radius: 16px; }
}


/* ── 3. LAYOUT ──────────────────────────────────────────────────── */
.bd-layout {
  max-width: 1200px; margin: 0 auto; padding: 60px 30px 100px;
  display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 70px; align-items: start;
}
.bd-main { min-width: 0; }
.bd-sidebar { position: sticky; top: calc(var(--nav-height, 64px) + 20px); }
@media (max-width: 991px) {
  .bd-layout { grid-template-columns: minmax(0, 1fr); gap: 40px; padding: 40px 20px 70px; }
  .bd-sidebar { position: static; }
}


/* ── 4. TABLE OF CONTENTS ───────────────────────────────────────── */
.bd-toc {
  margin-bottom: 40px; padding: 22px 26px; border-radius: 14px;
  background: #f8f7f3; border: 1px solid #e9e5dc;
}
.bd-toc summary {
  cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center;
  font-size: 12px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--bd-green);
}
.bd-toc summary::-webkit-details-marker { display: none; }
.bd-toc summary::after { content: "−"; font-size: 18px; color: var(--bd-gold); }
.bd-toc:not([open]) summary::after { content: "+"; }
.bd-toc ol { margin: 16px 0 0 18px; display: grid; gap: 8px; }
.bd-toc li { font-size: 15px; line-height: 1.5; color: var(--bd-gold); }
.bd-toc a { color: var(--bd-green); text-decoration: none; }
.bd-toc a:hover, .bd-toc a.is-active { color: #a77b32; text-decoration: underline; }


/* ── 5. ARTICLE CONTENT (CKEditor HTML) ─────────────────────────── */
.bd-content { font-size: 18px; line-height: 1.95; color: var(--bd-text); overflow-wrap: break-word; }
.bd-content > * + * { margin-top: 1.1em; }
.bd-content p { font-size: 18px; line-height: 1.95; color: var(--bd-text); }
.bd-content h2 {
  margin-top: 2em; font-family: var(--bd-serif); font-size: 34px; font-weight: 500; line-height: 1.2; color: var(--bd-green);
}
.bd-content h3 { margin-top: 1.8em; font-family: var(--bd-serif); font-size: 27px; font-weight: 500; line-height: 1.25; color: var(--bd-green); }
.bd-content h4 { margin-top: 1.6em; font-family: var(--bd-serif); font-size: 22px; font-weight: 500; color: var(--bd-green); }
.bd-content h2 + *, .bd-content h3 + *, .bd-content h4 + * { margin-top: .6em; }
.bd-content ul, .bd-content ol { padding-left: 1.4em; }
.bd-content li { margin: .45em 0; padding-left: .2em; }
.bd-content li::marker { color: var(--bd-gold); }
.bd-content strong { color: #1e1e1e; }
.bd-content a { color: #a77b32; text-decoration: underline; text-underline-offset: 3px; }
.bd-content a:hover { color: var(--bd-green); }
.bd-content img { max-width: 100%; height: auto; border-radius: 12px; }
.bd-content figure { margin: 2em 0; }
.bd-content figcaption { margin-top: 8px; font-size: 14px; color: #888; text-align: center; }
.bd-content blockquote {
  margin: 2em 0; padding: 18px 26px; border-left: 3px solid var(--bd-gold); background: #f8f7f3;
  font-family: var(--bd-serif); font-size: 22px; line-height: 1.6; color: var(--bd-green);
}
.bd-content hr { border: 0; height: 1px; background: #e6e0d5; margin: 2.5em 0; }
.bd-content iframe { display: block; width: 100%; max-width: 100%; aspect-ratio: 16 / 9; height: auto; border: 0; border-radius: 12px; }
.bd-content pre { overflow-x: auto; padding: 16px; border-radius: 10px; background: #f4f1ea; font-size: 14px; }

/* tables (wrapped in .bd-table-wrap by the view → scroll sideways on phones) */
.bd-table-wrap {
  width: 100%; overflow-x: auto; -webkit-overflow-scrolling: touch;
  margin: 2em 0; border-radius: 12px; border: 1px solid #e6e0d5; box-shadow: 0 8px 25px rgba(4,21,16,.06);
}
.bd-content table {
  width: 100%; min-width: 550px; border-collapse: collapse; background: #fff;
  font-family: var(--font-body, sans-serif); font-size: 15px; line-height: 1.6; color: #444;
}
.bd-content th, .bd-content table tr:first-child td {
  background: var(--bd-green); color: #fff; font-weight: 600; text-align: left;
}
.bd-content th { padding: 16px 20px; font-size: 14px; letter-spacing: .03em; border: 1px solid rgba(255,255,255,.12); }
.bd-content td { padding: 14px 20px; border: 1px solid #e9e5dc; vertical-align: middle; }
.bd-content tbody tr:nth-child(even) { background: #f8f7f3; }
.bd-content tbody tr:hover { background: #f5eedf; }
.bd-content tbody td:first-child { font-weight: 600; }
.bd-content caption { caption-side: top; padding: 14px 0; text-align: left; font-family: var(--bd-serif); font-size: 22px; color: var(--bd-dark); }

@media (max-width: 768px) {
  .bd-content, .bd-content p { font-size: 17px; line-height: 1.85; }
  .bd-content h2 { font-size: 28px; }
  .bd-content h3 { font-size: 23px; }
  .bd-content th, .bd-content td { padding: 11px 13px; font-size: 13px; }
}


/* ── 6. CTA + FAQ + PREV / NEXT ─────────────────────────────────── */
.bd-cta {
  margin-top: 50px; padding: 34px; border-radius: 18px; color: #fff;
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px;
  background:
    radial-gradient(circle at 100% 0%, rgba(213,170,87,.35), transparent 40%),
    linear-gradient(135deg, var(--bd-green), var(--bd-green-2));
}
.bd-cta__label { font-size: 11px; letter-spacing: .18em; text-transform: uppercase; color: var(--bd-gold); }
.bd-cta__title { margin-top: 8px; font-family: var(--bd-serif); font-size: 28px; font-weight: 500; line-height: 1.2; color: #fff; }
.bd-cta__text { margin-top: 8px; max-width: 480px; font-size: 15px; line-height: 1.7; color: rgba(255,255,255,.75); }
.bd-cta__btn {
  display: inline-flex; align-items: center; height: 50px; padding: 0 26px; border: 0; border-radius: 50px; cursor: pointer;
  background: var(--bd-gold); color: var(--bd-green); font-family: var(--font-ui, sans-serif);
  font-size: 13px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; text-decoration: none;
  transition: transform .3s, box-shadow .3s;
}
.bd-cta__btn:hover { transform: translateY(-2px); box-shadow: 0 12px 30px rgba(213,170,87,.3); }

.bd-faq { margin-top: 60px; }
.bd-faq__label { font-size: 11px; letter-spacing: .22em; text-transform: uppercase; color: #a77b32; font-weight: 700; }
.bd-faq > h2 { margin: 8px 0 22px; font-family: var(--bd-serif); font-size: 34px; font-weight: 500; color: var(--bd-green); }
.bd-faq__item { border-bottom: 1px solid #e6e0d5; }
.bd-faq__item:first-of-type { border-top: 1px solid #e6e0d5; }
.bd-faq__item summary {
  cursor: pointer; list-style: none; display: flex; align-items: flex-start; justify-content: space-between; gap: 18px;
  padding: 20px 0;
}
.bd-faq__item summary::-webkit-details-marker { display: none; }
.bd-faq__item summary h3 { font-family: var(--bd-serif); font-size: 21px; font-weight: 500; line-height: 1.4; color: var(--bd-green); }
.bd-faq__item summary::after {
  content: "+"; flex-shrink: 0; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center;
  border: 1px solid rgba(213,170,87,.5); color: #a77b32; font-size: 18px; transition: transform .3s;
}
.bd-faq__item[open] summary::after { content: "−"; }
.bd-faq__answer { padding: 0 48px 22px 0; }
.bd-faq__answer p { font-size: 16px; line-height: 1.85; color: var(--bd-text); }

.bd-prevnext { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-top: 60px; }
.bd-prevnext__link {
  display: flex; flex-direction: column; gap: 8px; padding: 22px; border-radius: 14px;
  border: 1px solid #e6e0d5; text-decoration: none; transition: border-color .3s, transform .3s;
}
.bd-prevnext__link:hover { border-color: var(--bd-gold); transform: translateY(-2px); }
.bd-prevnext__link span { font-size: 11px; letter-spacing: .18em; text-transform: uppercase; color: #a77b32; }
.bd-prevnext__link strong { font-family: var(--bd-serif); font-size: 18px; font-weight: 500; line-height: 1.4; color: var(--bd-green); }
.bd-prevnext__link--next { text-align: right; }
@media (max-width: 600px) { .bd-prevnext { grid-template-columns: 1fr; } .bd-prevnext__link--next { text-align: left; } }


/* ── 7. SIDEBAR CARDS + ENQUIRY FORM ────────────────────────────── */
.bd-card {
  margin-bottom: 20px; padding: 28px; border-radius: 14px; color: #fff;
  border: 1px solid rgba(255,255,255,.12);
  background:
    radial-gradient(circle at 100% 0%, rgba(213,170,87,.35), transparent 35%),
    radial-gradient(circle at 0% 100%, rgba(213,170,87,.12), transparent 40%),
    linear-gradient(135deg, var(--bd-green), var(--bd-green-2));
}
.bd-card:last-child { margin-bottom: 0; }
.bd-card__label { margin-bottom: 18px; font-size: 11px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--bd-gold); }
.bd-card__title { margin-bottom: 10px; font-family: var(--bd-serif); font-size: 23px; line-height: 1.25; color: #fff; }
.bd-card__text { font-size: 15px; line-height: 1.8; color: rgba(255,255,255,.75); }
.bd-author-head { display: flex; align-items: flex-start; gap: 16px; }
.bd-author-logo {
  width: 60px; height: 60px; flex-shrink: 0; object-fit: cover; border-radius: 50%;
  box-shadow: 0 0 0 2px rgba(213,170,87,.25), 0 10px 25px rgba(0,0,0,.15);
}

/* form – dark version of the site-wide lead form */
.bd-form { display: flex; flex-direction: column; gap: 12px; margin-top: 8px; }
.bd-form input[type="text"], .bd-form input[type="email"] {
  width: 100%; height: 50px; padding: 0 16px; border-radius: 10px; outline: none;
  border: 1px solid rgba(255,255,255,.15); background: rgba(255,255,255,.06); color: #fff;
  font-family: inherit; font-size: 15px; transition: border-color .3s;
}
.bd-form input::placeholder { color: rgba(255,255,255,.55); }
.bd-form input:focus { border-color: var(--bd-gold); }
.bd-form .os-phone-row { border-color: rgba(255,255,255,.15); border-radius: 10px; background: rgba(255,255,255,.06); }
.bd-form .os-phone-row:focus-within { border-color: var(--bd-gold); }
.bd-form .os-flag-select { background: rgba(255,255,255,.04); border-right-color: rgba(255,255,255,.15); }
.bd-form .os-phone-number { flex: 1; height: 100%; padding: 0 14px; border: 0; outline: none; background: transparent; color: #fff; font-size: 15px; }
.bd-form .os-phone-number::placeholder { color: rgba(255,255,255,.55); }
.bd-form .os-flag-select select { color: #111; }
.bd-form button[type="submit"] {
  height: 50px; border: 0; border-radius: 10px; cursor: pointer;
  background: var(--bd-gold); color: var(--bd-green); font-weight: 700; font-size: 14px; letter-spacing: .04em;
  transition: transform .3s, box-shadow .3s;
}
.bd-form button[type="submit"]:hover { transform: translateY(-2px); box-shadow: 0 12px 30px rgba(213,170,87,.25); }
.bd-form .lead-error { background: rgba(255,255,255,.92); }
.bd-form .lead-err { color: #ffb4b4; }

/* latest articles – light card */
.bd-card--light { background: #fff; color: var(--bd-green); border: 1px solid #e9e5dc; }
.bd-card--light .bd-card__label { color: #a77b32; }
.bd-latest { list-style: none; display: grid; gap: 14px; }
.bd-latest a { display: flex; gap: 14px; align-items: center; text-decoration: none; }
.bd-latest img { width: 72px; height: 56px; flex-shrink: 0; object-fit: cover; border-radius: 8px; }
.bd-latest strong {
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
  font-family: var(--bd-serif); font-size: 15px; font-weight: 500; line-height: 1.35; color: var(--bd-green);
}
.bd-latest a:hover strong { color: #a77b32; }
.bd-latest time { display: block; margin-top: 4px; font-size: 12px; color: #888; }

.bd-share { display: flex; flex-wrap: wrap; gap: 10px; }
.bd-share a, .bd-share button {
  width: 42px; height: 42px; display: flex; align-items: center; justify-content: center; cursor: pointer;
  border-radius: 50%; border: 1px solid rgba(255,255,255,.15); background: transparent;
  color: #fff; font-size: 15px; text-decoration: none; transition: .3s ease;
}
.bd-share a:hover, .bd-share button:hover, .bd-share .is-copied {
  background: var(--bd-gold); border-color: var(--bd-gold); color: var(--bd-green); transform: translateY(-2px);
}


/* ── 8. RELATED ARTICLES ────────────────────────────────────────── */
.bd-related { max-width: 1200px; margin: 0 auto; padding: 0 24px 100px; }
.bd-related__head { text-align: center; margin-bottom: 50px; }
.bd-related__label { font-size: 11px; letter-spacing: .25em; text-transform: uppercase; color: #a77b32; }
.bd-related__head h2 { margin-top: 14px; font-family: var(--bd-serif); font-size: 40px; font-weight: 500; line-height: 1.05; color: var(--bd-dark); }
.bd-related__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.bd-rcard {
  position: relative; display: flex; flex-direction: column; overflow: hidden; background: #fff;
  border: .5px solid rgba(0,0,0,.08); transition: transform .35s ease, box-shadow .35s ease;
}
.bd-rcard:hover { transform: translateY(-6px); box-shadow: 0 20px 50px rgba(0,0,0,.09); }
.bd-rcard__thumb { position: relative; display: block; height: 200px; overflow: hidden; background: #eee; }
.bd-rcard__thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.bd-rcard:hover .bd-rcard__thumb img { transform: scale(1.05); }
.bd-rcard__tag {
  position: absolute; top: 14px; left: 14px; padding: 5px 13px; border-radius: 999px;
  background: rgba(255,255,255,.93); color: var(--bd-green);
  font-size: 10px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
}
.bd-rcard h3 { padding: 22px 22px 10px; font-family: var(--bd-serif); font-size: 21px; font-weight: 400; line-height: 1.5; color: var(--bd-green); }
.bd-rcard h3 a { color: inherit; text-decoration: none; }
.bd-rcard h3 a::after { content: ""; position: absolute; inset: 0; }     /* whole card clickable */
.bd-rcard:hover h3 { color: #a77b32; }
.bd-rcard > p { flex: 1; padding: 0 22px; font-size: 15px; line-height: 1.8; color: #666; }
.bd-rcard__meta {
  margin-top: 18px; padding: 16px 22px; border-top: 1px solid #eee;
  display: flex; justify-content: space-between; align-items: center; font-size: 13px; color: #777;
}
.bd-rcard__meta i { color: var(--bd-gold); }
@media (max-width: 991px) { .bd-related__grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 768px) {
  .bd-related { padding: 0 20px 70px; }
  .bd-related__grid { grid-template-columns: 1fr; gap: 24px; }
  .bd-related__head h2 { font-size: 32px; }
}


/* ── 9. NEWSLETTER ──────────────────────────────────────────────── */
.bd-news { position: relative; overflow: hidden; background: var(--bd-dark); color: #fff; border-top: 1px solid rgba(255,255,255,.08); }
.bd-news__pattern {
  position: absolute; inset: 0; pointer-events: none;
  background-image:
    linear-gradient(rgba(213,170,87,.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(213,170,87,.05) 1px, transparent 1px);
  background-size: 80px 80px;
}
.bd-news__container {
  position: relative; z-index: 2; max-width: 1200px; margin: 0 auto; padding: 100px 24px;
  display: grid; grid-template-columns: 1.1fr 1fr; gap: 80px; align-items: center;
}
.bd-news__label { font-size: 11px; font-weight: 500; letter-spacing: .18em; text-transform: uppercase; color: var(--bd-gold); }
.bd-news__title { margin-top: 18px; font-family: var(--bd-serif); font-size: 52px; font-weight: 500; line-height: 1.05; color: #fff; }
.bd-news__text { max-width: 520px; margin-top: 24px; font-size: 17px; line-height: 1.9; color: rgba(255,255,255,.72); }
.bd-news__form label { display: block; margin-bottom: 12px; font-size: 11px; letter-spacing: .15em; text-transform: uppercase; color: rgba(255,255,255,.55); }
.bd-news__row { display: flex; gap: 12px; }
.bd-news__row input {
  flex: 1; height: 56px; padding: 0 18px; border-radius: 12px; outline: none;
  border: 1px solid rgba(255,255,255,.15); background: rgba(255,255,255,.03); color: #fff; font-size: 15px;
}
.bd-news__row input::placeholder { color: rgba(255,255,255,.35); }
.bd-news__row input:focus { border-color: var(--bd-gold); }
.bd-news__row button {
  height: 56px; padding: 0 28px; border: 0; border-radius: 12px; cursor: pointer;
  background: var(--bd-gold); color: var(--bd-green); font-size: 15px; font-weight: 600; transition: .3s;
}
.bd-news__row button:hover { transform: translateY(-2px); filter: brightness(1.08); }
.bd-news__note { margin-top: 12px; font-size: 12px; color: rgba(255,255,255,.45); }
@media (max-width: 991px) {
  .bd-news__container { grid-template-columns: 1fr; gap: 40px; }
  .bd-news__title { font-size: 42px; }
}
@media (max-width: 768px) {
  .bd-news__container {
    grid-template-columns: 1fr;
    padding: 55px 20px;
    gap: 30px;
    width: 100%;
    box-sizing: border-box;
  }

  .bd-news__title {
    font-size: 32px;
    line-height: 1.15;
  }

  .bd-news__text {
    font-size: 15px;
  }

  .bd-news__row {
    display: flex;
    flex-direction: column;
    width: 100%;
    gap: 12px;
  }

  .bd-news__row input {
    display: block;
    width: 100%;
    min-width: 0;
    max-width: 100%;
    flex: none;
    box-sizing: border-box;
    height: 54px;
  }

  .bd-news__row button {
    display: block;
    width: 100%;
    box-sizing: border-box;
    height: 54px;
  }

  .bd-news__note {
    line-height: 1.6;
  }
}


/* ── 10. BLOG POPUP ("You're reading …") ────────────────────────── */
/* Overlay position / bottom-sheet on mobile come from .os-popup-overlay in base.css */
.bp-overlay { background: rgba(4,21,16,.75); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); animation: fadeIn .3s ease; }
.bp-popup {
  position: relative; display: grid; grid-template-columns: 1fr 1fr;
  width: 100%; max-width: 880px; max-height: 92vh; overflow: hidden; border-radius: 20px;
  border: 1px solid rgba(213,170,87,.3); box-shadow: 0 30px 80px rgba(0,0,0,.5);
  background:
    radial-gradient(circle at 100% 0%, rgba(213,170,87,.28), transparent 35%),
    linear-gradient(135deg, var(--bd-green), var(--bd-green-2));
  animation: slideUp .4s ease;
}
.bp-close {
  position: absolute; top: 14px; right: 14px; z-index: 5; width: 36px; height: 36px; cursor: pointer;
  border: 1px solid rgba(255,255,255,.2); border-radius: 50%; background: rgba(4,21,16,.6);
  color: #fff; font-size: 22px; line-height: 1; transition: .3s;
}
.bp-close:hover { border-color: var(--bd-gold); color: var(--bd-gold); }

.bp-image { position: relative; min-height: 460px; background: var(--bd-dark); }
.bp-image img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.bp-image::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(4,21,16,.1) 0%, rgba(4,21,16,.85) 100%); }
.bp-image-caption { position: absolute; left: 24px; right: 24px; bottom: 24px; z-index: 2; }
.bp-image-caption span { font-size: 10px; letter-spacing: .25em; text-transform: uppercase; color: var(--bd-gold); }
.bp-image-caption p { margin-top: 8px; font-family: var(--bd-serif); font-size: 20px; line-height: 1.3; color: #fff; }

.bp-content { padding: 42px 34px 30px; overflow-y: auto; color: #fff; }
.bp-status {
  display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px; border-radius: 999px;
  border: 1px solid rgba(213,170,87,.35); color: var(--bd-gold);
  font-size: 11px; letter-spacing: .14em; text-transform: uppercase;
}
.bp-dot { width: 7px; height: 7px; border-radius: 50%; background: #4ade80; box-shadow: 0 0 0 3px rgba(74,222,128,.2); }
.bp-title { margin: 18px 0 10px; font-family: var(--bd-serif); font-size: 30px; font-weight: 500; line-height: 1.15; color: #fff; }
.bp-text { margin-bottom: 22px; font-size: 14px; line-height: 1.7; color: rgba(255,255,255,.7); }
.bp-form .os-phone-row { height: 50px; }
.bp-trust { margin-top: 16px; font-size: 11px; text-align: center; color: rgba(255,255,255,.5); }

@media (max-width: 768px) {
  .bp-popup {
    grid-template-columns: 1fr; max-width: 100%; max-height: 90dvh; overflow-y: auto;
    border-radius: 20px 20px 0 0;                       /* bottom sheet, like the site popup */
  }
  .bp-image { min-height: 0; height: 150px; }
  .bp-image-caption { left: 20px; right: 56px; bottom: 16px; }
  .bp-image-caption p { font-size: 16px; }
  .bp-content { padding: 22px 20px 24px; overflow: visible; }
  .bp-title { font-size: 24px; }
  .bp-close { top: 10px; right: 10px; }
}



/* ==========================================================
   BLOG NEWSLETTER — FINAL FORM STYLING
   ========================================================== */

.bd-news__form {
    width: 100%;
    min-width: 0;
}

.bd-news__row {
    display: flex;
    align-items: stretch;
    width: 100%;
    gap: 12px;
}

.bd-news__row input[type="email"] {
    flex: 1;
    min-width: 0;
    width: 100%;
    height: 56px;
    padding: 0 18px;
    box-sizing: border-box;

    background: rgba(255, 255, 255, 0.06);
    color: #ffffff;

    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 12px;

    font-family: inherit;
    font-size: 15px;
    outline: none;

    transition: border-color 0.3s ease;
}

.bd-news__row input[type="email"]::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.bd-news__row input[type="email"]:focus {
    border-color: #d5aa57;
}

.bd-news__row button[type="submit"] {
    flex-shrink: 0;
    height: 56px;
    padding: 0 28px;

    background: #d5aa57;
    color: #041510;

    border: none;
    border-radius: 12px;

    font-family: inherit;
    font-size: 15px;
    font-weight: 700;

    cursor: pointer;
    transition: background 0.3s ease, transform 0.3s ease;
}

.bd-news__row button[type="submit"]:hover {
    background: #e5ba6b;
    transform: translateY(-2px);
}

.bd-news__row button[type="submit"]:disabled {
    opacity: 0.65;
    cursor: not-allowed;
    transform: none;
}

.bd-news__message {
    margin-top: 12px;
    font-size: 13px;
    line-height: 1.5;
    color: #d5aa57;
}

.bd-news__message:empty {
    display: none;
}

/* Mobile responsiveness */

@media (max-width: 768px) {

    .bd-news__form {
        width: 100%;
    }

    .bd-news__row {
        flex-direction: column;
        gap: 12px;
    }

    .bd-news__row input[type="email"] {
        flex: none;
        width: 100%;
        height: 54px;
    }

    .bd-news__row button[type="submit"] {
        width: 100%;
        height: 54px;
    }

}