/**
 * Blog Post Styles
 * Enqueued only on single posts via functions.php:
 *   if ( is_single() ) wp_enqueue_style('bsmd-blog', ...)
 *
 * @package BodySymmetryMD
 */

/* ============================================================
   ARTICLE HERO
   ============================================================ */
.article-hero {
    background: linear-gradient(135deg, #000 0%, #1a1a1a 100%);
    color: var(--brand-white);
    padding: 15rem 0 2.5rem;
    position: relative;
    overflow: hidden;
    margin-top: 0;
}

.article-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 20% 80%, rgba(204,0,0,0.15) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(16,118,158,0.10) 0%, transparent 50%);
    pointer-events: none;
}

.article-hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
}

.article-hero .hero-badge {
    display: inline-block;
    background: var(--brand-red);
    color: var(--brand-white);
    padding: 6px 16px;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    margin-bottom: 1.25rem;
}

.article-hero h1 {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: clamp(1.875rem, 4vw, 2.875rem);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1.25rem;
    color: var(--brand-white);
}

/* ── Article Meta ── */
.article-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 1.25rem;
    align-items: center;
    font-size: 0.9rem;
    opacity: 0.85;
    margin-bottom: 1.75rem;
}

.article-meta-item {
    display: flex;
    align-items: center;
    gap: 6px;
}

.article-meta-item svg {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
}

/* ── Quick Answer ── */
.quick-answer {
    background: rgba(16, 118, 158, 0.15);
    border-left: 4px solid var(--brand-blue);
    border-radius: 8px;
    padding: 1.25rem 1.5rem;
    color: var(--brand-white);
}

.quick-answer-label {
    font-weight: 700;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.07em;
    color: var(--brand-blue);
    margin-bottom: 0.5rem;
}

.quick-answer p:last-child {
    margin: 0;
    font-size: 0.95rem;
    line-height: 1.7;
    opacity: 0.9;
}

/* ============================================================
   BREADCRUMBS
   ============================================================ */
.breadcrumbs {
    background: var(--brand-grey);
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--brand-grey-dark);
}

.breadcrumbs-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.375rem;
    font-size: 0.875rem;
    color: var(--text-muted);
    list-style: none;
    margin: 0;
    padding: 0;
}

.breadcrumbs-list li:not(:last-child)::after {
    content: '›';
    margin-left: 0.375rem;
    opacity: 0.5;
}

.breadcrumbs-list a {
    color: var(--text-muted);
    text-decoration: none;
}

.breadcrumbs-list a:hover { color: var(--brand-red); }

/* ============================================================
   ARTICLE LAYOUT — Two-column grid (article + sidebar)
   ============================================================ */
.article-layout {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 4rem;
    padding: 4rem 0;
    align-items: start;
}

/* ============================================================
   ARTICLE CONTENT
   ============================================================ */
.article-content {
    min-width: 0; /* prevent overflow in grid */
}

.article-intro {
    font-size: 1.15rem;
    line-height: 1.85;
    color: #333;
    margin-bottom: 2.5rem;
    padding-bottom: 1.75rem;
    border-bottom: 1px solid var(--brand-grey);
}

.article-intro p:last-child { margin-bottom: 0; }

.article-content h2 {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 1.75rem;
    font-weight: 700;
    margin-top: 3rem;
    margin-bottom: 1rem;
    color: var(--brand-black);
    scroll-margin-top: 200px;
}

.article-content h3 {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 1.3rem;
    font-weight: 600;
    margin-top: 2rem;
    margin-bottom: 0.75rem;
    color: var(--brand-black);
    scroll-margin-top: 200px;
}

.article-content p { margin-bottom: 1.25rem; line-height: 1.85; }

.article-content ul,
.article-content ol {
    margin-bottom: 1.25rem;
    padding-left: 1.75rem;
}

.article-content ul { list-style: disc; }
.article-content ol { list-style: decimal; }
.article-content li { margin-bottom: 0.5rem; line-height: 1.75; }

.article-content a {
    color: var(--brand-blue);
    text-decoration: underline;
    text-underline-offset: 3px;
}

.article-content a:hover { color: var(--brand-blue-dark); }

.article-content strong { font-weight: 600; }

/* ── Legacy / imported post content ── */
/*    Mirrors article-content typography so imported posts look identical
      to ACF-built posts. Can be removed once all posts are migrated.     */
.legacy-content p,
.legacy-content li    { line-height: 1.85; margin-bottom: 1.25rem; }
.legacy-content h2    { font-family: 'Playfair Display', Georgia, serif; font-size: 1.75rem; font-weight: 700; margin-top: 3rem; margin-bottom: 1rem; color: var(--brand-black); scroll-margin-top: 200px; }
.legacy-content h3    { font-family: 'Playfair Display', Georgia, serif; font-size: 1.3rem;  font-weight: 600; margin-top: 2rem;  margin-bottom: 0.75rem; color: var(--brand-black); scroll-margin-top: 200px; }
.legacy-content h4    { font-family: 'Playfair Display', Georgia, serif; font-size: 1.1rem;  font-weight: 600; margin-top: 1.5rem; margin-bottom: 0.5rem; }
.legacy-content ul    { list-style: disc;    padding-left: 1.75rem; margin-bottom: 1.25rem; }
.legacy-content ol    { list-style: decimal; padding-left: 1.75rem; margin-bottom: 1.25rem; }
.legacy-content a     { color: var(--brand-blue); text-decoration: underline; text-underline-offset: 3px; }
.legacy-content a:hover { color: var(--brand-blue-dark); }
.legacy-content img   { max-width: 100%; height: auto; border-radius: 8px; margin: 1.5rem 0; }
.legacy-content blockquote {
    border-left: 4px solid var(--brand-red);
    background: #F5F5F5;
    padding: 1rem 1.5rem;
    border-radius: 0 8px 8px 0;
    margin: 1.5rem 0;
    font-style: italic;
}
.legacy-content blockquote p:last-child { margin-bottom: 0; }

/* ── Article Images ── */
.article-image {
    margin: 2rem 0;
}

.article-image img {
    width: 100%;
    border-radius: 8px;
}

.article-image figcaption {
    font-size: 0.85rem;
    color: var(--text-muted);
    text-align: center;
    margin-top: 0.5rem;
}

/* ============================================================
   TABLE OF CONTENTS
   ============================================================ */
.toc {
    background: var(--brand-grey);
    border-radius: 10px;
    padding: 1.5rem;
    margin-bottom: 2.5rem;
}

.toc-title {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 0.875rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.toc ol {
    list-style: decimal;
    padding-left: 1.5rem;
    margin: 0;
}

.toc li { margin-bottom: 0.375rem; }

.toc a {
    color: var(--brand-black);
    font-weight: 500;
    font-size: 0.9375rem;
    text-decoration: none;
}

.toc a:hover { color: var(--brand-red); }

/* ============================================================
   CONTENT BLOCKS
   ============================================================ */

/* ── Cause Card (red left border) ── */
.cause-card {
    background: #F5F5F5;
    border-radius: 8px;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    border-left: 4px solid var(--brand-red);
    scroll-margin-top: 200px;
}

.cause-card h3 {
    margin-top: 0 !important;
    color: var(--brand-red-dark);
}

.cause-card p:last-child { margin-bottom: 0; }

/* ── Key Takeaway (blue left border) ── */
.key-takeaway {
    background: rgba(16, 118, 158, 0.08);
    border-radius: 8px;
    padding: 1.5rem;
    margin: 2.5rem 0;
    border-left: 4px solid var(--brand-blue);
}

.key-takeaway-label {
    font-weight: 700;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.07em;
    color: var(--brand-blue);
    margin-bottom: 0.5rem;
}

.key-takeaway p:last-child { margin-bottom: 0; }

/* ── Inline CTA Banner ── */
.inline-cta {
    background: linear-gradient(135deg, #000 0%, #1a1a1a 100%);
    color: var(--brand-white);
    border-radius: 12px;
    padding: 2.5rem;
    margin: 3rem 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.inline-cta::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 30% 70%, rgba(204,0,0,0.18) 0%, transparent 60%);
    pointer-events: none;
}

.inline-cta-content { position: relative; z-index: 1; }

.inline-cta h3 {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 1.5rem;
    margin-bottom: 0.75rem;
    color: var(--brand-white);
    margin-top: 0;
}

.inline-cta p {
    opacity: 0.9;
    margin-bottom: 1.5rem;
    max-width: 480px;
    margin-left: auto;
    margin-right: auto;
}

.inline-cta .cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* ── Stat Highlight ── */
.stat-highlight {
    text-align: center;
    padding: 2rem;
    margin: 2rem 0;
    background: var(--brand-grey);
    border-radius: 12px;
}

.stat-highlight-number {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 4rem;
    font-weight: 700;
    color: var(--brand-red);
    line-height: 1;
    margin-bottom: 0.375rem;
}

.stat-highlight-label {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--brand-black);
    margin-bottom: 0.5rem;
}

.stat-highlight-subtext {
    font-size: 0.9375rem;
    color: var(--text-secondary);
    margin: 0;
}

/* ── Two Column ── */
.two-column {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    align-items: start;
    margin: 2rem 0;
}

.two-column--img-left { direction: rtl; }
.two-column--img-left > * { direction: ltr; }

.two-column-media img {
    width: 100%;
    border-radius: 8px;
}

/* ============================================================
   AUTHOR BIO
   ============================================================ */
.author-bio {
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
    background: var(--brand-grey);
    border-radius: 10px;
    padding: 1.75rem;
    margin-top: 3rem;
}

.author-avatar {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background: var(--brand-blue);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--brand-white);
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 1.25rem;
    font-weight: 700;
    flex-shrink: 0;
}

.author-info h4 {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 0.25rem;
}

.author-role {
    color: var(--brand-blue);
    font-weight: 600;
    font-size: 0.875rem;
    margin-bottom: 0.5rem;
}

.author-info p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.65;
    margin: 0;
}

/* ============================================================
   SOCIAL SHARE
   ============================================================ */
.social-share-block {
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--brand-grey);
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.social-share-label {
    font-weight: 600;
    font-size: 0.9375rem;
    margin: 0;
}

.social-share {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.share-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 6px;
    background: var(--brand-grey);
    color: var(--text-secondary);
    border: none;
    cursor: pointer;
    transition: all 0.25s ease;
    text-decoration: none;
}

.share-btn:hover {
    background: var(--brand-red);
    color: var(--brand-white);
}

.share-btn svg { width: 18px; height: 18px; }

/* ============================================================
   SIDEBAR
   ============================================================ */
.sidebar { position: relative; }

.sidebar-sticky {
    position: sticky;
    top: 110px; /* fallback if JS not loaded */
    will-change: transform;
    transition: transform 0.1s linear;
}

/* When JS parallax is active, disable sticky so transform drives position */
.sidebar-sticky.parallax-active {
    position: relative;
    top: auto;
}

/* Base sidebar card */
.sidebar-card {
    background: var(--brand-white);
    border: 1px solid var(--brand-grey);
    border-radius: 10px;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
}

.sidebar-card h4 {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 1.05rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

/* CTA card */
.sidebar-cta {
    background: linear-gradient(135deg, #000 0%, #1a1a1a 100%);
    color: var(--brand-white);
    border: none;
}

.sidebar-cta h4 { color: var(--brand-white); }

.sidebar-cta p {
    opacity: 0.85;
    font-size: 0.9rem;
    margin-bottom: 1.25rem;
    line-height: 1.65;
}

.sidebar-cta .btn { width: 100%; }

.sidebar-phone {
    display: block;
    text-align: center;
    color: rgba(255,255,255,0.7);
    margin-top: 0.75rem;
    font-size: 0.875rem;
    text-decoration: none;
}

.sidebar-phone:hover { color: var(--brand-white); }

/* Related articles */
.sidebar-related-item {
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--brand-grey);
}

.sidebar-related-item:first-child { padding-top: 0; }
.sidebar-related-item:last-child { border-bottom: none; padding-bottom: 0; }

.sidebar-related-item a {
    color: var(--brand-black);
    font-weight: 500;
    font-size: 0.9rem;
    line-height: 1.45;
    text-decoration: none;
}

.sidebar-related-item a:hover { color: var(--brand-red); }

.related-category {
    font-size: 0.75rem;
    color: var(--brand-blue);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    margin-top: 3px;
    margin-bottom: 0;
}

/* ── Transformation card ── (styles inherited from main.css,
   extended here for the sidebar-specific variant) ──────── */
.sidebar-transform {
    background: #0a0a0a;
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 1.5rem;
}

.sidebar-transform-header {
    padding: 1.25rem 1.25rem 0.75rem;
    text-align: center;
}

.sidebar-transform-label {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--brand-red);
    margin-bottom: 0.5rem;
}

.sidebar-transform-label svg { width: 14px; height: 14px; }

.sidebar-transform-header h4 {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--brand-white);
    line-height: 1.3;
    margin: 0;
}

/* Before/After container */
.sidebar-transform-carousel { padding: 0 1rem; }

.sidebar-ba-container {
    position: relative;
    aspect-ratio: 1/1;
    overflow: hidden;
    cursor: pointer;
    border-radius: 10px;
}

.sidebar-ba-placeholder {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.sidebar-ba-placeholder.ba-before {
    background: linear-gradient(135deg, #e0e0e0, #c8c8c8);
    z-index: 1;
    filter: grayscale(30%);
}

.sidebar-ba-placeholder.ba-after {
    background: linear-gradient(135deg, rgba(16,118,158,0.2), rgba(204,0,0,0.12));
    z-index: 2;
    opacity: 0;
}

.sidebar-ba-container:hover .ba-before { opacity: 0; transform: scale(1.03); }
.sidebar-ba-container:hover .ba-after  { opacity: 1; }

.sidebar-ba-icon {
    width: 52px; height: 52px;
    border-radius: 50%;
    background: rgba(0,0,0,0.08);
    display: flex; align-items: center; justify-content: center;
    margin-bottom: 0.5rem;
}

.sidebar-ba-icon svg { width: 26px; height: 26px; opacity: 0.4; }
.sidebar-ba-placeholder span { font-size: 0.78rem; font-weight: 500; color: #888; }
.sidebar-ba-placeholder.ba-after span { color: var(--brand-blue); }

/* Real images */
.ba-img-before, .ba-img-after {
    position: absolute; inset: 0;
    width: 100%; height: 100%; object-fit: cover;
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.ba-img-before { z-index: 1; filter: grayscale(30%); }
.ba-img-after  { z-index: 2; opacity: 0; }

.sidebar-ba-container:hover .ba-img-before { opacity: 0; transform: scale(1.03); }
.sidebar-ba-container:hover .ba-img-after  { opacity: 1; }

/* Badge */
.sidebar-ba-badge {
    position: absolute;
    top: 0.6rem; left: 0.6rem;
    z-index: 10;
    display: flex; flex-direction: column; gap: 0.3rem;
}

.ba-weight {
    background: var(--brand-red);
    color: #fff;
    padding: 0.375rem 0.7rem;
    border-radius: 100px;
    font-weight: 700; font-size: 0.82rem;
    display: flex; align-items: center; gap: 0.3rem;
    box-shadow: 0 3px 10px rgba(204,0,0,0.4);
}

.ba-weight svg { width: 13px; height: 13px; }

.ba-time {
    background: rgba(0,0,0,0.7);
    color: #fff;
    padding: 0.2rem 0.55rem;
    border-radius: 100px;
    font-size: 0.625rem; font-weight: 500;
    backdrop-filter: blur(8px);
}

/* Reveal hint */
.sidebar-ba-reveal {
    position: absolute;
    bottom: 0.6rem; left: 50%; transform: translateX(-50%);
    background: rgba(0,0,0,0.65);
    color: #fff;
    padding: 0.3rem 0.7rem;
    border-radius: 100px;
    font-size: 0.625rem; font-weight: 500;
    z-index: 10;
    display: flex; align-items: center; gap: 0.3rem;
    backdrop-filter: blur(8px);
    transition: opacity 0.3s ease;
    white-space: nowrap;
}

.sidebar-ba-reveal svg { width: 11px; height: 11px; }
.sidebar-ba-container:hover .sidebar-ba-reveal { opacity: 0; }

/* Patient info */
.sidebar-transform-info { padding: 0.875rem 1.25rem 0.5rem; }

.sidebar-transform-meta {
    display: flex; align-items: center;
    justify-content: space-between;
    margin-bottom: 0.35rem;
}

.sidebar-transform-treatment {
    font-size: 0.65rem; font-weight: 600;
    text-transform: uppercase; letter-spacing: 0.08em;
    color: var(--brand-blue);
}

.sidebar-transform-verified {
    display: flex; align-items: center; gap: 0.25rem;
    font-size: 0.6rem; font-weight: 600; color: #22c55e;
}

.sidebar-transform-verified svg { width: 12px; height: 12px; }

.sidebar-transform-name {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 0.95rem; font-weight: 700;
    color: var(--brand-white); margin: 0 0 0.15rem;
}

.sidebar-transform-location {
    font-size: 0.7rem; color: rgba(255,255,255,0.5);
    margin: 0 0 0.5rem;
}

.sidebar-transform-quote {
    font-size: 0.8rem; font-style: italic;
    color: rgba(255,255,255,0.75); line-height: 1.5;
    margin: 0;
}

.sidebar-transform-quote strong { color: var(--brand-red); font-style: normal; }

/* Metrics row */
.sidebar-transform-metrics {
    display: flex; justify-content: space-around;
    padding: 0.75rem 1.25rem;
    border-top: 1px solid rgba(255,255,255,0.08);
    margin-top: 0.75rem;
}

.sidebar-metric { text-align: center; }

.sidebar-metric-value {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 1.2rem; font-weight: 800;
    color: var(--brand-white); line-height: 1;
}

.sidebar-metric-label {
    font-size: 0.52rem; text-transform: uppercase;
    letter-spacing: 0.08em; color: rgba(255,255,255,0.45);
    font-weight: 600; margin-top: 0.15rem;
}

/* Aggregate stats */
.sidebar-transform-stats {
    display: flex; justify-content: space-around;
    padding: 0.75rem 1rem;
    background: rgba(255,255,255,0.04);
    border-top: 1px solid rgba(255,255,255,0.06);
}

.sidebar-agg-stat { text-align: center; }

.sidebar-agg-number {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 0.95rem; font-weight: 800;
    color: var(--brand-red); line-height: 1;
}

.sidebar-agg-label {
    font-size: 0.5rem; text-transform: uppercase;
    letter-spacing: 0.08em; color: rgba(255,255,255,0.4);
    font-weight: 600; margin-top: 0.1rem;
}

/* CTA at bottom of transformation card */
.sidebar-transform-cta {
    display: block; text-align: center;
    padding: 0.75rem 1.25rem;
    background: var(--brand-red);
    color: #fff;
    font-weight: 700; font-size: 0.85rem;
    text-decoration: none;
    transition: background 0.2s ease;
    border-radius: 0 0 10px 10px;
}

.sidebar-transform-cta:hover { background: var(--brand-red-dark); color: #fff; }

/* ============================================================
   FAQ SECTION
   ============================================================ */
.faq-section {
    padding: 5rem 0;
    background: var(--brand-grey);
}

.faq-section h2 {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 2rem;
    text-align: center;
    margin-bottom: 0.5rem;
}

.faq-section .section-subtitle {
    text-align: center;
    color: var(--text-muted);
    margin-bottom: 2.5rem;
}

.faq-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem;
}

.faq-item {
    background: var(--brand-white);
    border-radius: 10px;
    padding: 1.5rem;
    border: 1px solid transparent;
    transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.faq-item:hover {
    border-color: var(--brand-blue);
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}

.faq-item h3 {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 1.05rem;
    font-weight: 600;
    margin-bottom: 0.625rem;
    color: var(--brand-black);
}

.faq-item p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.7;
    margin: 0;
}

/* ============================================================
   NEWSLETTER SECTION
   ============================================================ */
.newsletter {
    background: linear-gradient(135deg, #000 0%, #1a1a1a 100%);
    color: var(--brand-white);
    padding: 5rem 0;
    position: relative;
    overflow: hidden;
}

.newsletter::before {
    content: '';
    position: absolute; inset: 0;
    background: radial-gradient(circle at 20% 50%, rgba(204,0,0,0.15) 0%, transparent 50%);
    pointer-events: none;
}

.newsletter-inner {
    position: relative; z-index: 1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.newsletter-content h2 {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 2rem;
    margin-bottom: 0.75rem;
}

.newsletter-content p { opacity: 0.85; margin-bottom: 1.25rem; }

.newsletter-benefits {
    list-style: none; padding: 0;
    display: flex; flex-direction: column; gap: 0.5rem;
}

.newsletter-benefits li {
    display: flex; align-items: center; gap: 0.5rem;
    font-size: 0.9rem;
}

.newsletter-benefits li::before {
    content: '✓';
    color: var(--brand-red);
    font-weight: 700;
}

.newsletter-form-card {
    background: var(--brand-white);
    border-radius: 12px;
    padding: 2.5rem;
    color: var(--brand-black);
}

.newsletter-form-card h3 {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 1.3rem;
    margin-bottom: 1.25rem;
}

.newsletter-form {
    display: flex; flex-direction: column; gap: 0.875rem;
}

.newsletter-form input {
    padding: 0.875rem 1rem;
    border: 1px solid var(--brand-grey-dark);
    border-radius: 6px;
    font-family: inherit;
    font-size: 1rem;
    width: 100%;
}

.newsletter-form input:focus {
    outline: none;
    border-color: var(--brand-blue);
    box-shadow: 0 0 0 3px rgba(16,118,158,0.12);
}

.newsletter-form .btn { width: 100%; }

.form-disclaimer {
    font-size: 0.75rem;
    color: var(--text-muted);
    text-align: center;
    margin: 0;
}

/* ============================================================
   LOCATIONS BANNER
   ============================================================ */
.locations-banner {
    background: rgba(16, 118, 158, 0.08);
    padding: 3rem 0;
    text-align: center;
    border-top: 1px solid rgba(16, 118, 158, 0.15);
}

.locations-banner h3 {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 1.3rem;
    margin-bottom: 1.25rem;
}

.locations-list {
    display: flex; flex-wrap: wrap;
    gap: 0.75rem; justify-content: center;
}

.location-tag {
    display: inline-flex; align-items: center; gap: 6px;
    background: var(--brand-white);
    border: 1px solid rgba(16,118,158,0.2);
    padding: 8px 18px;
    border-radius: 50px;
    font-size: 0.9rem; font-weight: 500;
    color: var(--brand-black);
    text-decoration: none;
    transition: all 0.25s ease;
}

.location-tag:hover {
    background: var(--brand-blue);
    color: var(--brand-white);
    border-color: var(--brand-blue);
}

.location-tag svg { width: 15px; height: 15px; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
    .article-layout {
        grid-template-columns: 1fr 260px;
        gap: 2.5rem;
    }
}

@media (max-width: 768px) {
    .article-layout {
        grid-template-columns: 1fr;
        padding: 2.5rem 0;
    }

    /* Sidebar below article on mobile */
    .sidebar { order: 2; }
    .article-content { order: 1; }
    .sidebar-sticky { position: relative; top: 0; }

    .faq-grid { grid-template-columns: 1fr; }

    .newsletter-inner { grid-template-columns: 1fr; gap: 2rem; }

    .two-column {
        grid-template-columns: 1fr;
        direction: ltr !important;
    }

    .inline-cta .cta-buttons {
        flex-direction: column;
        align-items: stretch;
    }

    .author-bio {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .article-hero { padding: 14.5rem 0 2rem; }

    .article-hero h1 { font-size: 1.875rem; }

    .social-share-block {
        flex-direction: column;
        align-items: flex-start;
    }
}

@media (max-width: 640px) {
    .locations-list { flex-direction: column; align-items: center; }
    .article-meta { gap: 0.875rem; }
}
