/* ==========================================================================
   BLOG DETAIL page (round 189). Loaded only by blog/show.blade.php; everything is scoped to .bd-* so no other page is touched.
   Palette (from the brief): black #0B0B0B, gold #C69840, deep red #B30818, ivory #FAF8F3, white, ink #171717, body #737373, border #E8E5DF.
   The article body itself reuses the existing `static-page--about-us .prose` typography (round 188) instead of a second copy of it.
   ========================================================================== */
.bd-page { --bd-black: #0B0B0B; --bd-gold: #C69840; --bd-red: #B30818; --bd-ivory: #FAF8F3; --bd-ink: #171717; --bd-body: #737373; --bd-border: #E8E5DF;
    background: #fff; color: var(--bd-ink); font-family: var(--hx-sans, "Plus Jakarta Sans", system-ui, sans-serif); }
.bd-wrap { width: min(1320px, calc(100% - 48px)); margin: 0 auto; }

/* ---------- breadcrumb ---------- */
.bd-crumbs { padding: 16px 0; background: var(--bd-ivory); border-bottom: 1px solid var(--bd-border); }
.bd-crumbs__list { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; font-size: 13px; color: var(--bd-body); }
.bd-crumbs__list a { display: inline-flex; align-items: center; color: var(--bd-body); text-decoration: none; transition: color .15s ease; }
.bd-crumbs__list a:hover { color: var(--bd-gold); }
.bd-crumbs__list a i { font-size: 14px; }
.bd-crumbs__sep { display: inline-flex; color: var(--bd-gold); font-size: 10px; }
.bd-crumbs__current { color: var(--bd-ink); font-weight: 500; max-width: 46ch; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* ---------- hero ---------- */
.bd-hero { position: relative; overflow: hidden; background: var(--bd-ivory); padding: clamp(32px, 5vw, 64px) 0 clamp(40px, 6vw, 72px); }
.bd-hero__grid { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 46fr) minmax(0, 54fr); align-items: center; gap: clamp(28px, 4vw, 64px); }
.bd-hero__content { min-width: 0; }

.bd-kicker { display: flex; align-items: center; gap: 12px; margin: 0 0 22px; }
.bd-kicker__line { display: block; width: 32px; height: 2px; background: var(--bd-gold); flex: none; }
.bd-kicker__pill { display: inline-flex; padding: 6px 14px; border-radius: 999px; background: #F3E9D8; color: var(--bd-gold); font-size: 11px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }

.bd-title { margin: 0 0 20px; font-family: "Playfair Display", Georgia, "Times New Roman", serif; font-weight: 700; font-size: clamp(34px, 2.2rem + 2.6vw, 60px); line-height: 1.08; letter-spacing: -.01em; color: var(--bd-black); }
.bd-title__word { display: inline-block; }
.bd-title__word--accent { color: var(--bd-gold); }

.bd-meta { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; margin: 0 0 18px; color: var(--bd-body); font-size: 15px; }
.bd-meta__item { display: inline-flex; align-items: center; gap: 7px; }
.bd-meta__item i { color: var(--bd-gold); font-size: 15px; }
.bd-meta__dot { width: 4px; height: 4px; border-radius: 50%; background: var(--bd-border); }

.bd-excerpt { max-width: 46em; margin: 0 0 clamp(24px, 3vw, 34px); color: var(--bd-body); font-size: clamp(16px, .95rem + .2vw, 18px); line-height: 1.65; }

/* ---------- 7 key-points row ---------- */
.bd-points { display: flex; flex-wrap: wrap; gap: clamp(14px, 2vw, 22px) clamp(10px, 1.6vw, 18px); margin: 0; padding: 0; list-style: none; }
.bd-points__item { display: flex; flex-direction: column; align-items: center; width: 76px; text-align: center; }
.bd-points__icon { display: grid; place-items: center; width: clamp(52px, 4.2vw, 60px); height: clamp(52px, 4.2vw, 60px); margin-bottom: 10px; border-radius: 50%; background: var(--bd-ivory); border: 1px solid #ECD9B8; color: var(--bd-red); font-size: 22px; flex: none; }
.bd-points__label { font-size: 12px; font-weight: 600; line-height: 1.3; color: var(--bd-ink); }

/* ---------- hero photo + decorative shapes ---------- */
.bd-hero__media { position: relative; isolation: isolate; aspect-ratio: 4 / 3.1; }
.bd-shape { position: absolute; pointer-events: none; }
.bd-shape--red { top: -6%; right: -4%; width: 46%; height: 58%; background: var(--bd-red); border-radius: 36px; z-index: 0; }
.bd-shape--blob { left: -12%; bottom: -14%; width: 72%; height: 62%; background: radial-gradient(60% 60% at 50% 50%, var(--bd-ivory) 0%, rgba(250, 248, 243, 0) 72%); border-radius: 50%; z-index: 0; opacity: .9; }
.bd-photo-frame { position: relative; z-index: 1; border-radius: 32px; overflow: hidden; box-shadow: 0 30px 60px -28px rgba(11, 11, 11, .28); }
.bd-photo { display: block; width: 100%; height: 100%; aspect-ratio: 4 / 3.1; object-fit: cover; }

/* ---------- article body (reuses the round-188 About-page prose typography; this block only sets spacing) ---------- */
.bd-body-section { padding: clamp(40px, 6vw, 72px) 0; }
.bd-wrap--article { max-width: 900px; }

/* ---------- related posts ---------- */
.bd-related { padding: clamp(40px, 6vw, 64px) 0 clamp(56px, 7vw, 88px); background: var(--bd-ivory); border-top: 1px solid var(--bd-border); }
.bd-related__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: clamp(24px, 3vw, 36px); flex-wrap: wrap; }
.bd-eyebrow { display: flex; align-items: center; gap: 12px; margin: 0 0 10px; color: var(--bd-gold); font-size: 11px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; }
.bd-eyebrow span { display: block; width: 32px; height: 2px; background: var(--bd-gold); }
.bd-related__title { margin: 0; font-family: "Playfair Display", Georgia, "Times New Roman", serif; font-weight: 700; font-size: clamp(28px, 1.6rem + 1.6vw, 40px); color: var(--bd-black); }
.bd-related__nav { display: flex; gap: 10px; flex: none; }
.bd-arrow { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--bd-gold); background: #fff; color: var(--bd-gold); cursor: pointer; transition: background .15s ease, transform .15s ease, opacity .15s ease; }
.bd-arrow i { transition: transform .15s ease; }
.bd-arrow:hover:not(:disabled) { background: var(--bd-gold); color: #fff; }
.bd-arrow:hover:not(:disabled) i { transform: translateX(2px); }
.bd-arrow:nth-child(1):hover:not(:disabled) i { transform: translateX(-2px); }
.bd-arrow:focus-visible { outline: 2px solid var(--bd-gold); outline-offset: 2px; }
.bd-arrow:disabled { opacity: .35; cursor: default; }

.bd-related__track { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.bd-card { display: flex; gap: 14px; padding: 12px; border: 1px solid var(--bd-border); border-radius: 14px; background: #fff; color: inherit; text-decoration: none; min-width: 0; transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease; }
.bd-card:hover { border-color: var(--bd-gold); box-shadow: 0 14px 30px -20px rgba(11, 11, 11, .25); transform: translateY(-2px); }
.bd-card:hover .bd-card__thumb img { transform: scale(1.05); }
.bd-card__thumb { flex: none; width: 100px; height: 100px; border-radius: 11px; overflow: hidden; background: var(--bd-ivory); }
.bd-card__thumb img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .35s ease; }
.bd-card__body { min-width: 0; display: flex; flex-direction: column; gap: 6px; }
.bd-card__cat { font-size: 10.5px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--bd-gold); }
.bd-card__title { font-size: 17px; font-weight: 600; line-height: 1.3; color: var(--bd-ink); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.bd-card__date { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; color: var(--bd-body); }
.bd-card__date i { color: var(--bd-gold); font-size: 12px; }

/* ---------- GSAP: hidden-until-revealed targets, only while JS will actually run (see the inline script at the top of blog/show.blade.php) ---------- */
html.has-gsap [data-bd-reveal],
html.has-gsap [data-bd-title] .bd-title__word,
html.has-gsap [data-bd-media],
html.has-gsap .bd-shape--red,
html.has-gsap [data-bd-point],
html.has-gsap [data-bd-related] [data-bd-reveal],
html.has-gsap [data-bd-card] { opacity: 0; }
@media (prefers-reduced-motion: reduce) { .bd-page * { animation: none !important; transition: none !important; } }

/* ---------- responsive ---------- */
@media (max-width: 1199.98px) {
    .bd-hero__grid { grid-template-columns: minmax(0, 1fr); }
    .bd-hero__media { order: -1; max-width: 560px; margin: 0 auto clamp(28px, 4vw, 40px); }
    .bd-points { justify-content: flex-start; }
    .bd-related__track { grid-template-columns: repeat(3, minmax(260px, 1fr)); overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 4px; -webkit-overflow-scrolling: touch; }
    .bd-related__track .bd-card { scroll-snap-align: start; }
}
@media (max-width: 767.98px) {
    .bd-wrap { width: min(100%, calc(100% - 32px)); }
    .bd-crumbs__current { max-width: 60vw; }
    .bd-points__item { width: 72px; }
    .bd-points__item:nth-child(2) .bd-points__label,
    .bd-points__item:nth-child(7) .bd-points__label { white-space: normal; }
    .bd-card { flex-direction: row; }
    .bd-card__thumb { width: 84px; height: 84px; }
    .bd-card__title { font-size: 16px; }
    .bd-related__track { grid-auto-columns: minmax(78vw, 1fr); grid-template-columns: unset; grid-auto-flow: column; }
}
@media (max-width: 420px) {
    .bd-points { gap: 12px 10px; }
    .bd-points__item { width: 64px; }
}
