/* =========================================================
   Brar Eye Hospital — Unified Blog Article Styles
   Used by every single-blog-post page for consistent design
   ========================================================= */

:root {
    --brar-teal: #1dd2c3;
    --brar-teal-dark: #18b3a5;
    --brar-orange: #f17732;
    --brar-orange-dark: #d96420;
    --brar-navy: #0f3a55;
    --brar-navy-light: #1b5273;
    --brar-bg: #f4f9fb;
    --brar-card: #ffffff;
    --brar-text: #2b3a44;
    --brar-muted: #5e7282;
    --brar-border: #e6eef2;
    --shadow-sm: 0 4px 14px rgba(15, 58, 85, 0.06);
    --shadow-md: 0 14px 35px rgba(15, 58, 85, 0.10);
}

.brar-article-wrap {
    background: var(--brar-bg);
    font-family: 'Poppins', sans-serif;
    color: var(--brar-text);
    line-height: 1.75;
}

/* ============ Article Hero ============ */
.brar-article-hero {
    position: relative;
    background: linear-gradient(135deg, rgba(15,58,85,.92) 0%, rgba(24,179,165,.85) 100%),
                var(--brar-hero-img, url('https://images.unsplash.com/photo-1551601651-2a8555f1a136?auto=format&fit=crop&w=1600&q=80')) center/cover no-repeat;
    color: #fff;
    padding: 110px 20px 90px;
    text-align: center;
    overflow: hidden;
}
.brar-article-hero::before {
    content: ""; position: absolute; inset: 0;
    background: radial-gradient(ellipse at top, rgba(241,119,50,.18), transparent 60%);
    pointer-events: none;
}
.brar-article-hero .hero-inner {
    position: relative; max-width: 900px; margin: 0 auto; z-index: 2;
}
.brar-article-hero .pill {
    display: inline-block;
    background: var(--brar-orange);
    color: #fff;
    padding: 6px 18px; border-radius: 30px;
    font-size: 12px; font-weight: 700;
    text-transform: uppercase; letter-spacing: 1px;
    margin-bottom: 18px;
    box-shadow: 0 6px 14px rgba(241,119,50,.4);
}
.brar-article-hero h1 {
    font-family: 'Playfair Display', serif;
    font-size: clamp(1.9rem, 4.5vw, 3rem);
    font-weight: 800;
    color: #fff;
    margin-bottom: 18px;
    line-height: 1.2;
    text-shadow: 0 4px 18px rgba(0,0,0,.3);
}
.brar-article-hero h1 span { color: var(--brar-teal); }
.brar-article-hero .meta-bar {
    display: flex; justify-content: center; gap: 22px;
    margin-top: 18px; flex-wrap: wrap;
    font-size: 14px; opacity: .95;
}
.brar-article-hero .meta-bar span { display: inline-flex; align-items: center; gap: 7px; }
.brar-article-hero .meta-bar i { color: var(--brar-teal); }
.brar-article-hero .crumb {
    display: inline-flex; align-items: center; gap: 10px;
    background: rgba(255,255,255,.12); backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,.2);
    padding: 8px 18px; border-radius: 50px;
    font-size: 13px; font-weight: 500; margin-bottom: 22px;
}
.brar-article-hero .crumb a { color: var(--brar-teal); transition: color .25s; }
.brar-article-hero .crumb a:hover { color: #fff; }
.brar-article-hero .crumb i { font-size: 9px; opacity: .7; }

/* ============ Article Body Layout ============ */
.brar-article-body {
    max-width: 100%;
    margin: 0 auto;
    padding: 60px 20px;
    display: grid;
    
    gap: 50px;
    align-items: start;
}
@media (max-width: 992px) {
    .brar-article-body { grid-template-columns: 1fr; gap: 40px; }
}

/* ============ Main Content ============ */
.brar-content {
    background: #fff;
    padding: 50px;
    border-radius: 20px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--brar-border);
}
.brar-content > p:first-of-type {
    font-size: 1.08rem;
    color: var(--brar-text);
    border-left: 4px solid var(--brar-teal);
    padding-left: 18px;
    background: rgba(29,210,195,.05);
    padding: 16px 18px;
    border-radius: 6px;
    margin-bottom: 28px;
}
.brar-content h2 {
    font-family: 'Playfair Display', serif;
    color: var(--brar-navy);
    font-size: 1.7rem;
    margin: 40px 0 18px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--brar-border);
    position: relative;
}
.brar-content h2::after {
    content: ""; position: absolute; left: 0; bottom: -2px;
    width: 60px; height: 2px; background: var(--brar-orange);
}
.brar-content h3 {
    color: var(--brar-navy-light);
    font-size: 1.25rem;
    margin: 28px 0 12px;
    font-weight: 700;
}
.brar-content h3::before {
    content: "▸"; color: var(--brar-teal); margin-right: 8px;
}
.brar-content p {
    margin-bottom: 16px;
    color: var(--brar-text);
    font-size: 15.5px;
}
.brar-content ul, .brar-content ol {
    margin: 0 0 22px 22px;
    padding-left: 8px;
}
.brar-content ul li, .brar-content ol li {
    margin-bottom: 10px; color: var(--brar-text);
    font-size: 15px;
}
.brar-content ul li::marker { color: var(--brar-orange); }
.brar-content ol li::marker { color: var(--brar-teal-dark); font-weight: 700; }
.brar-content strong { color: var(--brar-navy); }

.brar-callout {
    background: linear-gradient(135deg, rgba(29,210,195,.08), rgba(241,119,50,.05));
    border-left: 4px solid var(--brar-teal);
    padding: 22px 26px;
    border-radius: 12px;
    margin: 28px 0;
}
.brar-callout strong { color: var(--brar-teal-dark); display: block; margin-bottom: 6px; font-size: 14px; text-transform: uppercase; letter-spacing: .5px; }
.brar-callout p { margin: 0; font-size: 15px; color: var(--brar-text); }

/* ============ FAQ ============ */
.brar-faq {
    margin-top: 36px;
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid var(--brar-border);
}
.brar-faq h2 { padding: 0 26px; }
.faq-item {
    border-top: 1px solid var(--brar-border);
}
.faq-item:first-of-type { border-top: 1px solid var(--brar-border); margin-top: 18px; }
.faq-item summary {
    list-style: none;
    padding: 18px 26px;
    cursor: pointer;
    font-weight: 600;
    color: var(--brar-navy);
    display: flex; justify-content: space-between; align-items: center;
    transition: background .2s;
    font-size: 15px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
    content: "+";
    width: 28px; height: 28px;
    background: var(--brar-teal);
    color: #fff;
    border-radius: 50%;
    display: inline-flex; align-items: center; justify-content: center;
    font-size: 16px; font-weight: 700;
    transition: all .25s;
    flex-shrink: 0;
}
.faq-item[open] summary { background: rgba(29,210,195,.06); }
.faq-item[open] summary::after { content: "−"; background: var(--brar-orange); transform: rotate(180deg); }
.faq-item .faq-ans {
    padding: 0 26px 22px;
    color: var(--brar-muted);
    font-size: 14.5px;
    line-height: 1.75;
}

/* ============ Sidebar ============ */
.brar-sidebar { position: sticky; top: 100px; }
.side-card {
    background: #fff;
    padding: 26px;
    border-radius: 16px;
    margin-bottom: 22px;
    border: 1px solid var(--brar-border);
    box-shadow: var(--shadow-sm);
}
.side-card h4 {
    font-family: 'Playfair Display', serif;
    color: var(--brar-navy);
    font-size: 1.15rem;
    margin-bottom: 14px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--brar-border);
    position: relative;
}
.side-card h4::after {
    content: ""; position: absolute; left: 0; bottom: -2px;
    width: 40px; height: 2px; background: var(--brar-orange);
}
.side-card.cta-card {
    background: linear-gradient(135deg, var(--brar-navy), var(--brar-teal-dark));
    color: #fff; text-align: center;
    border: none;
}
.side-card.cta-card h4 { color: #fff; border-bottom-color: rgba(255,255,255,.2); }
.side-card.cta-card h4::after { background: var(--brar-orange); }
.side-card.cta-card p { color: rgba(255,255,255,.9); font-size: 14px; margin-bottom: 16px; }
.side-card.cta-card .cta-btn {
    background: var(--brar-orange); color: #fff;
    padding: 12px 26px; border-radius: 30px;
    font-weight: 700; font-size: 14px;
    display: inline-flex; align-items: center; gap: 8px;
    transition: all .25s;
    box-shadow: 0 6px 16px rgba(241,119,50,.4);
}
.side-card.cta-card .cta-btn:hover { background: var(--brar-orange-dark); transform: translateY(-2px); color: #fff; }

.side-card .recent-post {
    display: flex; gap: 12px; padding: 12px 0;
    border-bottom: 1px solid var(--brar-border);
}
.side-card .recent-post:last-child { border-bottom: none; }
.side-card .recent-post img {
    width: 70px; height: 70px; object-fit: cover; border-radius: 10px; flex-shrink: 0;
}
.side-card .recent-post a {
    color: var(--brar-navy); font-size: 13.5px; font-weight: 600;
    line-height: 1.4; display: block; margin-bottom: 4px;
    transition: color .25s;
}
.side-card .recent-post a:hover { color: var(--brar-teal-dark); }
.side-card .recent-post small { color: var(--brar-muted); font-size: 12px; }

.side-card .tag-cloud { display: flex; flex-wrap: wrap; gap: 8px; }
.side-card .tag-cloud a {
    background: var(--brar-bg); color: var(--brar-navy);
    padding: 6px 14px; border-radius: 20px;
    font-size: 12px; font-weight: 500;
    border: 1px solid var(--brar-border);
    transition: all .25s;
}
.side-card .tag-cloud a:hover { background: var(--brar-teal); color: #fff; border-color: var(--brar-teal); }

/* ============ Bottom CTA Strip ============ */
.brar-bottom-cta {
    background: linear-gradient(135deg, var(--brar-navy) 0%, var(--brar-teal-dark) 100%);
    color: #fff; padding: 60px 30px;
    text-align: center;
}
.brar-bottom-cta h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.8rem; margin-bottom: 12px;
}
.brar-bottom-cta p { max-width: 100%; margin: 0 auto 24px; opacity: .92; }
.brar-bottom-cta .btns { display: flex; justify-content: center; gap: 14px; flex-wrap: wrap; }
.brar-bottom-cta .btn {
    padding: 14px 30px; border-radius: 50px;
    font-weight: 700; font-size: 14px;
    display: inline-flex; align-items: center; gap: 8px;
    transition: all .25s;
}
.brar-bottom-cta .btn-orange { background: var(--brar-orange); color: #fff; box-shadow: 0 8px 20px rgba(241,119,50,.4); }
.brar-bottom-cta .btn-orange:hover { background: var(--brar-orange-dark); transform: translateY(-3px); color: #fff; }
.brar-bottom-cta .btn-outline { background: transparent; color: #fff; border: 2px solid #fff; }
.brar-bottom-cta .btn-outline:hover { background: #fff; color: var(--brar-navy); }

@media (max-width: 768px) {
    .brar-content { padding: 30px 22px; }
    .brar-content h2 { font-size: 1.4rem; }
    .brar-article-hero { padding: 80px 18px 70px; }
    .brar-article-body { padding: 40px 16px; }
}
