/* Phase 3: blog, video portfolio, before/after, breadcrumbs, review extras */

/* breadcrumbs (all inner pages) */
.crumbs { font-size: 13px; color: var(--muted, #5B6B7C); padding: 0 0 14px; }
.crumbs a { color: inherit; text-decoration: none; }
.crumbs a:hover { text-decoration: underline; }
.crumbs span { color: var(--heading); font-weight: 600; }
.crumbs-wrap { padding-top: calc(var(--nav-h, 76px) + 14px); background: var(--bg-soft, #F7F8FA); }
.crumbs-wrap + .calc-hero, .crumbs-wrap + section { padding-top: 12px; }

/* blog */
.blog-card__cat { font-size: 12px; font-weight: 700; color: var(--gold-dark, #9A7B12); text-transform: none; }
.blog-card .plan-card__media { aspect-ratio: 16 / 9; }
.post { max-width: 780px; padding-top: calc(var(--nav-h, 76px) + 20px); padding-bottom: 56px; }
.post__cat { margin: 0 0 6px; font-size: 13px; font-weight: 700; }
.post__cat a { color: var(--gold-dark, #9A7B12); text-decoration: none; }
.post__head h1 { font-family: var(--font-bn-serif); font-size: clamp(28px, 5vw, 42px); line-height: 1.25; margin: 0 0 10px; color: var(--heading); }
.post__meta { color: var(--muted, #5B6B7C); font-size: 14px; margin: 0 0 18px; }
.post__hero { margin: 0 0 22px; }
.post__hero img { width: 100%; height: auto; display: block; }
.post__body { font-size: 17.5px; line-height: 1.95; color: var(--text, #17202A); }
.post__body h2, .post__body h3, .post__body h4 { font-family: var(--font-bn-serif); color: var(--heading); margin: 30px 0 10px; line-height: 1.35; }
.post__body img { max-width: 100%; height: auto; display: block; margin: 14px auto; }
.post__body blockquote { margin: 18px 0; padding: 4px 18px; border-left: 4px solid var(--gold); color: var(--muted, #5B6B7C); }
.post__body ul, .post__body ol { padding-left: 24px; }
.post__body a { color: var(--gold-dark, #9A7B12); text-decoration: underline; }
.post__body code { background: var(--bg-soft, #F7F8FA); padding: 1px 6px; font-size: .92em; }
.post__tags { margin: 22px 0 6px; display: flex; flex-wrap: wrap; gap: 8px; }
.post__tag { font-size: 13px; color: var(--muted, #5B6B7C); }
.post__share { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin: 22px 0; padding: 14px 0; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); font-size: 14px; }
.post__share a, .post__share button { border: 1px solid var(--border); background: var(--white); padding: 7px 14px; font: inherit; font-weight: 600; color: var(--heading); text-decoration: none; cursor: pointer; }
.post__cta { background: var(--navy, #0B1F33); color: #fff; padding: 26px 24px; margin: 26px 0; }
.post__cta h2 { color: #fff; margin: 0 0 6px; font-size: 22px; }
.post__cta .btn { margin: 8px 8px 0 0; }
.post__related h2 { margin: 30px 0 14px; font-size: 22px; }

/* videos */
.video-grid { display: grid; gap: 18px; grid-template-columns: 1fr; }
@media (min-width: 640px) { .video-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .video-grid { grid-template-columns: repeat(3, 1fr); } }
.video-card { display: flex; flex-direction: column; text-align: left; padding: 0; border: 1px solid var(--border); background: var(--white); cursor: pointer; font: inherit; color: inherit; }
.video-card__media { position: relative; display: block; aspect-ratio: 16 / 9; background: #0B1F33; overflow: hidden; }
.video-card__media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.video-card__ph { position: absolute; inset: 0; background: linear-gradient(135deg, #0B1F33, #1d3a57); }
.video-card__media iframe, .video-card__media video { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; background: #000; }
.video-card__play { position: absolute; inset: 0; display: grid; place-items: center; }
.video-card__play svg { width: 58px; height: 58px; fill: #fff; background: rgba(11, 31, 51, .72); border-radius: 50%; padding: 15px 12px 15px 18px; box-sizing: border-box; }
.video-card.is-playing .video-card__play { display: none; }
.video-card__body { display: flex; flex-direction: column; gap: 5px; padding: 12px 14px 15px; }

/* before / after */
.ba-grid { display: grid; gap: 24px; grid-template-columns: 1fr; }
@media (min-width: 900px) { .ba-grid { grid-template-columns: 1fr 1fr; } }
.ba { margin: 0; }
.ba__stage { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: #eee; user-select: none; touch-action: pan-y; }
.ba__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; background: #fff; }
.ba__img--after { clip-path: inset(0 0 0 var(--pos)); }
.ba__handle { position: absolute; top: 0; bottom: 0; left: var(--pos); width: 3px; margin-left: -1.5px; background: var(--gold); box-shadow: 0 0 0 1px rgba(255, 255, 255, .7); pointer-events: none; }
.ba__handle::after { content: "↔"; position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 34px; height: 34px; border-radius: 50%; background: var(--gold); color: var(--navy, #0B1F33); display: grid; place-items: center; font-weight: 800; }
.ba__range { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: ew-resize; margin: 0; }
.ba__tag { position: absolute; top: 10px; padding: 3px 10px; font-size: 12px; font-weight: 700; background: rgba(11, 31, 51, .78); color: #fff; pointer-events: none; }
.ba__tag--l { left: 10px; } .ba__tag--r { right: 10px; }
.ba figcaption { padding: 10px 2px; font-size: 14px; }

/* reviews: project line + source link */
.testimonial-card__project { display: block; font-size: 12.5px; color: var(--gold-dark, #9A7B12); font-weight: 700; margin-top: 2px; }
.testimonial-card__src { display: inline-block; margin-top: 8px; font-size: 12.5px; font-weight: 700; color: var(--heading); }
.review-links { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-top: 22px; }

/* breadcrumbs inside dark heroes */
.calc-hero .crumbs { color: rgba(255, 255, 255, .72); }
.calc-hero .crumbs span { color: #fff; }
.calc-hero .crumbs a:hover { color: #fff; }
