/* ============================================================
   BLOG POST DETAIL — shared template (2026-05-24)
   Mockup: samples/blogs design template.png
   Loaded only on blog/*.php detail pages (page-scoped rules safe here).
   Tokens: gold #D4AF37, base #030303, headings var(--font-heading).
   ============================================================ */

:root { --bp-gold: #d4af37; --bp-gold-soft: #e7c66a; }

/* hero runs flush under the transparent nav (homepage pattern) */
body > div[aria-hidden="true"][style*="height: 145px"] { display: none !important; }
.ambient-light { display: none !important; }
/* template carries its own newsletter band — hide ONLY the footer's newsletter block
   (the precise wrapper whose grid directly holds the form), never the whole footer. */
footer div:has(> div > #aat-newsletter-form) { display: none !important; }

.bp-page { background: #030303; color: #e6e6e6; }

/* ---------- HERO (split) ---------- */
/* Full-bleed hero (homepage pattern): image covers the whole hero, text overlaid
   flush-left; legibility via text-shadow on the glyphs, not an image tint. */
.bp-hero {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 660px;
  padding: 150px 0 56px;
  background: #030303;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  overflow: hidden;
  isolation: isolate;
}
.bp-hero-wrap { position: relative; z-index: 2; max-width: 1180px; margin: 0 auto; width: 100%; padding: 0 1.5rem; }
.bp-hero-copy { max-width: 600px; text-shadow: 0 2px 26px rgba(0,0,0,0.9), 0 1px 5px rgba(0,0,0,0.92); }
.bp-hero-cat { color: var(--bp-gold); font-size: 0.7rem; font-weight: 700; letter-spacing: 0.24em; text-transform: uppercase; margin-bottom: 1.25rem; }
.bp-hero-title { font-family: var(--font-heading), "Cormorant Garamond", serif; color: #fff; font-weight: 500; font-size: clamp(2.2rem, 4.4vw, 3.4rem); line-height: 1.1; margin: 0 0 1.1rem; }
.bp-hero-sub { color: #b9b9b9; font-weight: 300; font-size: 1.05rem; line-height: 1.7; max-width: 30rem; margin: 0 0 2rem; }
.bp-hero-meta { display: flex; flex-wrap: wrap; gap: 1.75rem; align-items: center; }
.bp-meta-item { display: inline-flex; align-items: center; gap: 0.55rem; color: #9a9a9a; font-size: 0.72rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; }
.bp-meta-item img, .bp-meta-item svg { width: 16px; height: 16px; opacity: 1 !important; color: var(--bp-gold); }
.bp-hero-img {
  /* EXACT homepage geometry: tall right-side panel so a wide image fills the
     height and is NEVER cropped from the top — only the sides crop. No tint. */
  position: absolute; top: 0; right: 0; width: 60%; height: 100%;
  background-size: cover; background-position: center right; background-repeat: no-repeat; z-index: 0;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, rgba(0,0,0,0.6) 30%, #000 60%);
          mask-image: linear-gradient(90deg, transparent 0%, rgba(0,0,0,0.6) 30%, #000 60%);
}

/* ---------- STICKY "IN THIS GUIDE" BAR ---------- */
.bp-toc { position: sticky; top: 0; z-index: 30; background: rgba(7,7,7,0.96); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); border-bottom: 1px solid rgba(255,255,255,0.08); }
.bp-toc-inner { max-width: 1180px; margin: 0 auto; padding: 0.9rem 1.5rem; display: flex; align-items: center; gap: 1.5rem; overflow-x: auto; scrollbar-width: none; }
.bp-toc-inner::-webkit-scrollbar { display: none; }
.bp-toc-label { color: var(--bp-gold); font-size: 0.66rem; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; white-space: nowrap; flex: none; }
.bp-toc-link { display: inline-flex; align-items: baseline; gap: 0.4rem; color: #c0c0c0; font-size: 0.78rem; white-space: nowrap; }
.bp-toc-link b { color: var(--bp-gold); font-weight: 700; }
.bp-toc-link:hover { color: #fff; }

/* ---------- LAYOUT ---------- */
.bp-layout { max-width: 1180px; margin: 0 auto; padding: 3.25rem 1.5rem; display: grid; grid-template-columns: 250px 1fr; gap: 3.5rem; }

/* sidebar */
.bp-sidebar { position: sticky; top: 90px; align-self: start; display: flex; flex-direction: column; gap: 1.5rem; max-height: calc(100vh - 110px); }
.bp-side-label { color: #8a8a8a; font-size: 0.64rem; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; margin-bottom: 0.25rem; }
.bp-side-toc { list-style: none; margin: 0; padding: 0; border-left: 1px solid rgba(255,255,255,0.1); }
.bp-side-toc a { display: block; padding: 0.5rem 0 0.5rem 1rem; margin-left: -1px; color: #9c9c9c; font-size: 0.86rem; line-height: 1.35; border-left: 2px solid transparent; transition: color 0.15s ease, border-color 0.15s ease; }
.bp-side-toc a:hover { color: #fff; }
.bp-side-toc a.is-active { color: var(--bp-gold); border-left-color: var(--bp-gold); }
.bp-side-card { background: #0c0c0c; border: 1px solid rgba(255,255,255,0.08); border-radius: 0.9rem; padding: 1.5rem; }
.bp-side-card h4 { font-family: var(--font-heading), serif; color: #fff; font-weight: 500; font-size: 1.25rem; line-height: 1.2; margin: 0 0 0.6rem; }
.bp-side-card p { color: #a2a2a2; font-weight: 300; font-size: 0.85rem; line-height: 1.55; margin: 0 0 1.1rem; }
.bp-side-btn { display: block; text-align: center; padding: 0.8rem; border-radius: 0.5rem; background: linear-gradient(135deg, var(--bp-gold-soft), var(--bp-gold)); color: #1a1303; font-size: 0.68rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; }
.bp-side-fleet { background: #0c0c0c; border: 1px solid rgba(255,255,255,0.08); border-radius: 0.9rem; overflow: hidden; }
.bp-side-fleet-tag { color: var(--bp-gold); font-size: 0.6rem; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; padding: 1rem 1.25rem 0.2rem; }
.bp-side-fleet-name { font-family: var(--font-heading), serif; color: #fff; font-size: 1.15rem; padding: 0 1.25rem 0.75rem; }
.bp-side-fleet-img { aspect-ratio: 4 / 3; background-size: contain; background-repeat: no-repeat; background-position: center; background-color: #060606; }
.bp-side-fleet-link { display: block; text-align: center; padding: 0.75rem; color: #fff; font-size: 0.66rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; border-top: 1px solid rgba(255,255,255,0.08); }
.bp-side-fleet-link:hover { color: var(--bp-gold); }

/* ---------- MAIN ARTICLE PROSE ---------- */
.bp-main { min-width: 0; }
.bp-main > .lead, .bp-lead { color: #d8d8d8; font-size: 1.2rem; line-height: 1.7; font-weight: 300; margin: 0 0 2rem; }
.bp-main h2 { font-family: var(--font-heading), "Cormorant Garamond", serif; color: #fff; font-weight: 500; font-size: clamp(1.6rem, 3vw, 2.1rem); line-height: 1.2; margin: 2.75rem 0 1rem; scroll-margin-top: 90px; }
.bp-main h3 { font-family: var(--font-heading), serif; color: #fff; font-weight: 500; font-size: 1.35rem; margin: 1.75rem 0 0.75rem; }
.bp-main p { color: #b6b6b6; font-weight: 300; font-size: 1rem; line-height: 1.85; margin: 0 0 1.25rem; }
.bp-main a { color: var(--bp-gold); text-decoration: none; border-bottom: 1px solid rgba(212,175,55,0.3); }
.bp-main a:hover { border-bottom-color: var(--bp-gold); }
.bp-main ul { margin: 0 0 1.25rem; padding: 0; list-style: none; }
.bp-main blockquote { border-left: 3px solid var(--bp-gold); margin: 1.75rem 0; padding: 0.5rem 0 0.5rem 1.5rem; color: #d2d2d2; font-style: italic; font-size: 1.1rem; line-height: 1.6; }

/* key-takeaway callout */
.bp-callout { display: flex; gap: 1.1rem; align-items: flex-start; background: #0d0d0d; border: 1px solid rgba(212,175,55,0.25); border-radius: 0.9rem; padding: 1.5rem 1.75rem; margin: 1.75rem 0; }
.bp-callout-icon { flex: none; width: 40px; height: 40px; border-radius: 999px; border: 1px solid rgba(212,175,55,0.5); display: flex; align-items: center; justify-content: center; }
.bp-callout-icon img, .bp-callout-icon svg { width: 20px; height: 20px; opacity: 1 !important; color: var(--bp-gold); }
.bp-callout h4 { font-family: var(--font-heading), serif; color: #fff; font-weight: 500; font-size: 1.2rem; margin: 0 0 0.35rem; }
.bp-callout p { margin: 0; color: #b6b6b6; font-size: 0.95rem; line-height: 1.6; }

/* vehicle / data table */
.bp-table-wrap { overflow-x: auto; margin: 1.5rem 0; border: 1px solid rgba(212,175,55,0.2); border-radius: 0.75rem; }
.bp-table { width: 100%; border-collapse: collapse; font-size: 0.88rem; }
.bp-table thead th { background: rgba(212,175,55,0.08); color: var(--bp-gold); text-align: left; font-size: 0.66rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; padding: 0.9rem 1rem; }
.bp-table td { padding: 0.85rem 1rem; border-top: 1px solid rgba(255,255,255,0.06); color: #bcbcbc; }
.bp-table td:first-child, .bp-table td a { color: var(--bp-gold); font-weight: 600; }
.bp-table td a { border: none; }

/* gold highlight box ("not sure which vehicle?") */
.bp-highlight { display: flex; align-items: center; gap: 1.25rem; flex-wrap: wrap; background: rgba(212,175,55,0.06); border: 1px solid rgba(212,175,55,0.4); border-radius: 0.75rem; padding: 1.25rem 1.5rem; margin: 1.75rem 0; }
.bp-highlight-icon { flex: none; color: var(--bp-gold); }
.bp-highlight-icon img, .bp-highlight-icon svg { width: 26px; height: 26px; opacity: 1 !important; color: var(--bp-gold); }
.bp-highlight-body { flex: 1; min-width: 220px; }
.bp-highlight-body strong { display: block; color: #fff; font-size: 1rem; margin-bottom: 0.2rem; }
.bp-highlight-body span { color: #b0b0b0; font-size: 0.9rem; line-height: 1.5; }
.bp-highlight a { flex: none; color: var(--bp-gold); font-size: 0.7rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; border: none !important; white-space: nowrap; }

/* two-column sub-sections + checkmark lists */
.bp-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 2.5rem; margin: 1.5rem 0; }
.bp-check { list-style: none; margin: 0.5rem 0 0; padding: 0; }
.bp-check li { position: relative; padding-left: 1.6rem; margin-bottom: 0.7rem; color: #b6b6b6; font-size: 0.95rem; line-height: 1.5; }
.bp-check li::before { content: "✓"; position: absolute; left: 0; top: 0; color: var(--bp-gold); font-weight: 700; }

/* ---------- FAQ + RELATED (full-width) ---------- */
.bp-bottom { max-width: 1180px; margin: 0 auto; padding: 1rem 1.5rem 3.5rem; display: grid; grid-template-columns: 1fr 1fr; gap: 3.5rem; }
.bp-bottom h2 { font-family: var(--font-heading), serif; color: #fff; font-weight: 500; font-size: 1.7rem; margin: 0 0 1.5rem; }
.bp-related-head { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; }
.bp-related-head a { color: var(--bp-gold); font-size: 0.68rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; white-space: nowrap; }
.bp-related-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.bp-rel-card { border-radius: 0.7rem; overflow: hidden; background: #0c0c0c; border: 1px solid rgba(255,255,255,0.06); display: flex; flex-direction: column; transition: transform 0.2s ease, border-color 0.2s ease; }
.bp-rel-card:hover { transform: translateY(-3px); border-color: rgba(212,175,55,0.3); }
.bp-rel-img { aspect-ratio: 16/10; background-size: cover; background-position: right center; }
.bp-rel-body { padding: 0.9rem; }
.bp-rel-tag { color: var(--bp-gold); font-size: 0.55rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; }
.bp-rel-title { font-family: var(--font-heading), serif; color: #fff; font-size: 1rem; line-height: 1.25; margin: 0.4rem 0; }
.bp-rel-read { color: #8a8a8a; font-size: 0.62rem; letter-spacing: 0.08em; text-transform: uppercase; }

/* ---------- NEWSLETTER BAND ---------- */
.bp-news-wrap { max-width: 1180px; margin: 0 auto; padding: 0 1.5rem 2.5rem; }
.bp-news { display: flex; align-items: center; gap: 1.5rem; flex-wrap: wrap; background: #0c0c0c; border: 1px solid rgba(255,255,255,0.08); border-radius: 1rem; padding: 1.75rem 2rem; }
.bp-news-icon { flex: none; width: 52px; height: 52px; border-radius: 999px; background: rgba(212,175,55,0.12); border: 1px solid rgba(212,175,55,0.4); display: flex; align-items: center; justify-content: center; }
.bp-news-icon img, .bp-news-icon svg { width: 24px; height: 24px; opacity: 1 !important; color: var(--bp-gold); }
.bp-news-copy { flex: 1; min-width: 240px; }
.bp-news-copy strong { display: block; font-family: var(--font-heading), serif; color: #fff; font-weight: 500; font-size: 1.3rem; }
.bp-news-copy span { color: #a0a0a0; font-size: 0.9rem; font-weight: 300; }
.bp-news form { display: flex; gap: 0.6rem; flex: 1; min-width: 260px; }
.bp-news input { flex: 1; background: #060606; border: 1px solid rgba(255,255,255,0.12); border-radius: 0.5rem; padding: 0.8rem 1rem; color: #fff; font-size: 0.9rem; }
.bp-news button { padding: 0.8rem 1.5rem; border-radius: 0.5rem; background: linear-gradient(135deg, var(--bp-gold-soft), var(--bp-gold)); color: #1a1303; font-size: 0.72rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; white-space: nowrap; }
.bp-news-msg { max-width: 1180px; margin: 0.6rem auto 0; font-size: 0.85rem; font-weight: 300; }
.bp-news-msg[hidden] { display: none; }

/* ---------- FINAL CTA ---------- */
.bp-cta-wrap { padding: 0 1.5rem 3.5rem; }
.bp-cta { position: relative; max-width: 1180px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; gap: 2rem; flex-wrap: wrap; border: 1px solid rgba(212,175,55,0.18); border-radius: 1rem; overflow: hidden; background: #050505 url('../img/custom/blog-cta-banner.webp') center/cover no-repeat; padding: 3rem 2.5rem; }
.bp-cta::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(5,5,5,0.72) 0%, rgba(5,5,5,0.3) 45%, rgba(5,5,5,0) 100%); pointer-events: none; }
.bp-cta-copy, .bp-cta-btns { position: relative; z-index: 1; }
.bp-cta-copy h2 { font-family: var(--font-heading), serif; color: #fff; font-weight: 500; font-size: clamp(1.6rem, 3.2vw, 2.2rem); margin: 0 0 0.5rem; }
.bp-cta-copy p { color: #b0b0b0; font-weight: 300; margin: 0; }
.bp-cta-btns { display: flex; gap: 1rem; flex-wrap: wrap; }
.bp-cta-btn { display: inline-flex; align-items: center; padding: 0.95rem 1.6rem; border-radius: 0.5rem; font-size: 0.72rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; transition: transform 0.2s ease; }
.bp-cta-btn:hover { transform: translateY(-2px); }
.bp-cta-btn--gold { background: linear-gradient(135deg, var(--bp-gold-soft), var(--bp-gold)); color: #1a1303; }
.bp-cta-btn--outline { border: 1px solid rgba(212,175,55,0.55); color: #fff; }

/* ---------- RESPONSIVE ---------- */
@media (max-width: 1000px) {
  .bp-hero { min-height: 480px; padding: 130px 0 40px; }
  .bp-hero-copy { max-width: 100%; }
  /* mobile: full-width image (full luminance, no tint), feathered into the bg top+bottom; legibility via text-shadow */
  .bp-hero-img { width: 100%; background-position: center; -webkit-mask-image: linear-gradient(180deg, #000 0%, #000 55%, rgba(0,0,0,0.25) 100%); mask-image: linear-gradient(180deg, #000 0%, #000 55%, rgba(0,0,0,0.25) 100%); }
  .bp-layout { grid-template-columns: 1fr; gap: 2rem; }
  .bp-sidebar { position: static; max-height: none; flex-direction: column; }
  .bp-side-toc { display: none; } /* sticky horizontal bar covers nav on mobile */
  .bp-bottom { grid-template-columns: 1fr; gap: 2.5rem; }
  .bp-cols { grid-template-columns: 1fr; gap: 1.5rem; }
}
@media (max-width: 560px) {
  .bp-related-grid { grid-template-columns: 1fr; }
  .bp-news form { min-width: 100%; }
  .bp-cta-btns { width: 100%; }
  .bp-cta-btn { flex: 1; justify-content: center; }
}
