/* ========================================
   Refund Cover — Shared Stylesheet
   Brand: #1d1d1b dark, #00866f green, #fff, #f8f9fa, #e94560 red
   ======================================== */

:root {
    --primary: #1d1d1b;
    --green: #00866f;
    --green-hover: #006d5a;
    --white: #ffffff;
    --light: #f8f9fa;
    --accent-red: #e94560;
    --text: #2d3436;
    --text-light: #636e72;
    --text-muted: #95a5a6;
    --border: #e0e0e0;
    --shadow: 0 2px 12px rgba(0,0,0,0.06);
    --shadow-lg: 0 8px 30px rgba(0,0,0,0.1);
    --radius: 10px;
    --radius-lg: 16px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    color: var(--text);
    line-height: 1.7;
    background: var(--white);
}

img { max-width: 100%; height: auto; }

a { color: var(--green); text-decoration: none; transition: color 0.2s; }
a:hover { color: var(--green-hover); }

/* ---- NAV ---- */
.navbar {
    position: fixed; top: 0; width: 100%; z-index: 1000;
    background: rgba(255,255,255,0.97);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border);
    padding: 0 2rem;
    height: 72px;
    display: flex; justify-content: space-between; align-items: center;
}
.navbar .logo img { height: 36px; }
.navbar .nav-links { display: flex; gap: 1.8rem; align-items: center; list-style: none; }
.navbar .nav-links a {
    text-decoration: none; color: var(--text-light);
    font-weight: 500; font-size: 0.92rem;
    transition: color 0.2s; padding: 0.25rem 0;
    position: relative;
}
.navbar .nav-links a:hover,
.navbar .nav-links a.active { color: var(--primary); }
.navbar .nav-links a::after {
    content: ''; position: absolute; bottom: -2px; left: 0;
    width: 0; height: 2px; background: var(--green);
    transition: width 0.25s;
}
.navbar .nav-links a:hover::after,
.navbar .nav-links a.active::after { width: 100%; }

.navbar .cta-nav {
    background: var(--green); color: var(--white) !important;
    padding: 0.55rem 1.3rem; border-radius: 6px;
    font-weight: 600; font-size: 0.88rem;
    transition: background 0.2s !important;
}
.navbar .cta-nav::after { display: none !important; }
.navbar .cta-nav:hover { background: var(--green-hover) !important; color: var(--white) !important; }

/* Hamburger */
.hamburger { display: none; background: none; border: none; cursor: pointer; padding: 0.5rem; }
.hamburger span { display: block; width: 24px; height: 2px; background: var(--primary); margin: 5px 0; transition: 0.3s; }

@media (max-width: 900px) {
    .hamburger { display: block; }
    .navbar .nav-links {
        display: none; position: absolute; top: 72px; left: 0; right: 0;
        background: var(--white); flex-direction: column;
        padding: 1.5rem 2rem; gap: 1rem;
        border-bottom: 1px solid var(--border);
        box-shadow: var(--shadow-lg);
    }
    .navbar .nav-links.open { display: flex; }
}

/* ---- HERO ---- */
.hero {
    min-height: 85vh;
    display: flex; align-items: center; justify-content: center;
    background:
        linear-gradient(135deg, rgba(29,29,27,0.88) 0%, rgba(29,29,27,0.75) 100%),
        url('/static/rc-hero.jpg') center/cover no-repeat;
    color: var(--white);
    text-align: center;
    padding: 8rem 2rem 5rem;
    position: relative;
}
.hero-content { position: relative; max-width: 820px; }
.hero-badge {
    display: inline-block;
    background: rgba(0,134,111,0.18);
    color: #5de8c8;
    padding: 0.4rem 1.1rem;
    border-radius: 20px;
    font-size: 0.82rem;
    font-weight: 600;
    letter-spacing: 0.03em;
    margin-bottom: 1.5rem;
    border: 1px solid rgba(0,134,111,0.3);
}
.hero h1 {
    font-size: clamp(2.2rem, 5vw, 3.6rem);
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 1.2rem;
}
.hero h1 .highlight {
    background: linear-gradient(135deg, var(--green), #34d399);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.hero p {
    font-size: 1.2rem;
    color: rgba(255,255,255,0.78);
    max-width: 620px;
    margin: 0 auto 2.5rem;
}
.hero-sub { font-size: 1rem; color: rgba(255,255,255,0.55); margin-top: 1rem; }

/* ---- BUTTONS ---- */
.btn-group { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }
.btn-primary {
    display: inline-block;
    background: var(--green); color: var(--white);
    padding: 0.85rem 2rem; border-radius: 8px;
    font-weight: 700; font-size: 1rem;
    transition: all 0.25s;
    box-shadow: 0 4px 14px rgba(0,134,111,0.25);
    border: none; cursor: pointer;
}
.btn-primary:hover { background: var(--green-hover); transform: translateY(-1px); box-shadow: 0 6px 20px rgba(0,134,111,0.35); color: var(--white); }

.btn-secondary {
    display: inline-block;
    background: rgba(255,255,255,0.1);
    color: var(--white); border: 1px solid rgba(255,255,255,0.25);
    padding: 0.85rem 2rem; border-radius: 8px;
    font-weight: 600; font-size: 1rem;
    transition: all 0.25s;
}
.btn-secondary:hover { background: rgba(255,255,255,0.2); color: var(--white); }

.btn-outline {
    display: inline-block;
    background: transparent; color: var(--green);
    border: 2px solid var(--green);
    padding: 0.75rem 1.8rem; border-radius: 8px;
    font-weight: 600; font-size: 0.95rem;
    transition: all 0.25s;
}
.btn-outline:hover { background: var(--green); color: var(--white); }

/* ---- TRUST BAR ---- */
.trust-bar {
    background: var(--white);
    padding: 1.8rem 2rem;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2.5rem;
    flex-wrap: wrap;
    border-bottom: 1px solid var(--border);
}
.trust-item {
    display: flex; align-items: center; gap: 0.5rem;
    color: var(--text-light);
    font-size: 0.88rem;
    font-weight: 600;
}
.trust-item .icon { font-size: 1.4rem; }

/* ---- LAYOUT ---- */
section { padding: 5rem 2rem; }
.section-light { background: var(--white); }
.section-dark { background: var(--light); }
.section-green {
    background: linear-gradient(135deg, var(--primary) 0%, #2a2a28 100%);
    color: var(--white);
}
.container { max-width: 1140px; margin: 0 auto; }
.section-header {
    text-align: center;
    margin-bottom: 3rem;
}
.section-header h2 {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 0.75rem;
}
.section-header p {
    font-size: 1.05rem;
    color: var(--text-light);
    max-width: 600px;
    margin: 0 auto;
}

/* ---- CARDS ---- */
.card {
    background: var(--white);
    border-radius: var(--radius);
    padding: 2rem;
    box-shadow: var(--shadow);
    transition: transform 0.25s, box-shadow 0.25s;
}
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }

/* ---- GRID HELPERS ---- */
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 2rem; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }
@media (max-width: 900px) {
    .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
    .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
}

/* ---- STEPS ---- */
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 2rem; }
.step {
    text-align: center;
    padding: 2.2rem 1.5rem;
    background: var(--white);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}
.step-icon {
    width: 56px; height: 56px;
    background: linear-gradient(135deg, var(--green), #34d399);
    color: var(--white);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.5rem; font-weight: 700;
    margin: 0 auto 1rem;
}
.step h3 { font-size: 1.05rem; margin-bottom: 0.5rem; color: var(--primary); }
.step p { font-size: 0.9rem; color: var(--text-light); }

/* ---- STATS ---- */
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 2rem; text-align: center; }
.stat-number {
    font-size: 2.8rem; font-weight: 800;
    color: var(--green); line-height: 1;
    margin-bottom: 0.3rem;
}
.stat-label { font-size: 0.95rem; color: var(--text-light); font-weight: 500; }

/* ---- BENEFIT / FEATURE CARDS ---- */
.benefit-card {
    padding: 2rem;
    background: var(--white);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    border-left: 4px solid var(--green);
}
.benefit-card h3 {
    font-size: 1.1rem;
    color: var(--primary);
    margin-bottom: 0.6rem;
    display: flex; align-items: center; gap: 0.5rem;
}
.benefit-card p { font-size: 0.92rem; color: var(--text-light); }

/* ---- TESTIMONIALS ---- */
.testimonial-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 2rem;
    box-shadow: var(--shadow);
    position: relative;
}
.testimonial-card .quote {
    font-size: 1.05rem;
    font-style: italic;
    color: var(--text);
    margin-bottom: 1.2rem;
    line-height: 1.7;
}
.testimonial-card .author {
    font-weight: 700;
    color: var(--primary);
    font-size: 0.95rem;
}
.testimonial-card .role {
    color: var(--text-light);
    font-size: 0.85rem;
}

/* ---- BLOG CARDS ---- */
.blog-card {
    background: var(--white);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: transform 0.25s, box-shadow 0.25s;
}
.blog-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.blog-card .card-img {
    height: 180px;
    background: linear-gradient(135deg, var(--green), #34d399);
    display: flex; align-items: center; justify-content: center;
    font-size: 2.5rem; color: white;
}
.blog-card .card-body { padding: 1.5rem; }
.blog-card .tag {
    display: inline-block;
    background: rgba(0,134,111,0.1);
    color: var(--green);
    padding: 0.2rem 0.6rem;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    margin-bottom: 0.6rem;
}
.blog-card h3 { font-size: 1.05rem; margin-bottom: 0.5rem; color: var(--primary); }
.blog-card h3 a { color: var(--primary); text-decoration: none; }
.blog-card h3 a:hover { color: var(--green); }
.blog-card .excerpt { font-size: 0.88rem; color: var(--text-light); margin-bottom: 0.8rem; line-height: 1.6; }
.blog-card .meta { font-size: 0.8rem; color: var(--text-muted); }

/* ---- CTA SECTION ---- */
.cta-section {
    background: linear-gradient(135deg, var(--primary) 0%, #2d2d2b 100%);
    color: var(--white);
    text-align: center;
    padding: 5rem 2rem;
}
.cta-section h2 { font-size: 2.2rem; font-weight: 700; margin-bottom: 1rem; }
.cta-section p { font-size: 1.1rem; color: rgba(255,255,255,0.7); max-width: 520px; margin: 0 auto 2rem; }

/* ---- FOOTER ---- */
footer {
    background: var(--primary);
    color: rgba(255,255,255,0.6);
    padding: 3.5rem 2rem 2rem;
    font-size: 0.88rem;
}
.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 2.5rem;
    max-width: 1140px;
    margin: 0 auto 2.5rem;
}
.footer-col h4 { color: var(--white); font-size: 0.95rem; margin-bottom: 1rem; }
.footer-col a { display: block; color: rgba(255,255,255,0.55); margin-bottom: 0.5rem; font-size: 0.88rem; }
.footer-col a:hover { color: var(--white); }
.footer-col p { line-height: 1.7; }
.footer-col .footer-logo { height: 32px; margin-bottom: 1rem; }
.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 1.5rem;
    text-align: center;
    max-width: 1140px;
    margin: 0 auto;
}
.footer-bottom a { color: rgba(255,255,255,0.7); }

@media (max-width: 768px) {
    .footer-grid { grid-template-columns: 1fr 1fr; }
    section { padding: 3rem 1.5rem; }
    .hero { min-height: 70vh; padding: 7rem 1.5rem 3rem; }
    .trust-bar { gap: 1.5rem; }
}
@media (max-width: 480px) {
    .footer-grid { grid-template-columns: 1fr; }
}

/* ---- BREADCRUMBS ---- */
.breadcrumbs {
    padding: 0.5rem 0;
    font-size: 0.82rem;
    color: var(--text-muted);
}
.breadcrumbs a { color: var(--text-muted); }
.breadcrumbs a:hover { color: var(--green); }
.breadcrumbs span { margin: 0 0.4rem; }

/* ---- INNER PAGE HERO ---- */
.page-hero {
    background: linear-gradient(135deg, var(--primary) 0%, #2d2d2b 100%);
    color: var(--white);
    text-align: center;
    padding: 7rem 2rem 3.5rem;
}
.page-hero h1 {
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    font-weight: 800;
    margin-bottom: 0.8rem;
}
.page-hero p {
    font-size: 1.1rem;
    color: rgba(255,255,255,0.7);
    max-width: 600px;
    margin: 0 auto;
}

/* ---- COVERAGE LIST ---- */
.coverage-list { list-style: none; }
.coverage-list li {
    padding: 1.2rem 1.5rem;
    background: var(--white);
    border-radius: var(--radius);
    margin-bottom: 1rem;
    box-shadow: var(--shadow);
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}
.coverage-list li .reason-num {
    flex-shrink: 0;
    width: 36px; height: 36px;
    background: var(--green);
    color: var(--white);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-weight: 700; font-size: 0.85rem;
}
.coverage-list li h3 { font-size: 1.05rem; color: var(--primary); margin-bottom: 0.3rem; }
.coverage-list li p { font-size: 0.9rem; color: var(--text-light); }

/* ---- FAQ ACCORDION ---- */
.faq-section { margin-bottom: 3rem; }
.faq-section h2 { font-size: 1.5rem; color: var(--primary); margin-bottom: 1.5rem; }
.faq-item {
    background: var(--white);
    border-radius: var(--radius);
    margin-bottom: 0.75rem;
    box-shadow: var(--shadow);
    overflow: hidden;
}
.faq-item summary {
    padding: 1.2rem 1.5rem;
    font-weight: 600;
    font-size: 1rem;
    color: var(--primary);
    cursor: pointer;
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background 0.2s;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
    content: '+';
    font-size: 1.3rem;
    font-weight: 300;
    color: var(--green);
    transition: transform 0.25s;
}
.faq-item[open] summary::after { content: '−'; }
.faq-item[open] summary { background: rgba(0,134,111,0.04); }
.faq-item .answer {
    padding: 0 1.5rem 1.2rem;
    font-size: 0.95rem;
    color: var(--text-light);
    line-height: 1.7;
}

/* ---- CALCULATOR ---- */
.calc-wrapper {
    max-width: 700px;
    margin: 0 auto;
}
.calc-inputs {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 2.5rem;
    box-shadow: var(--shadow-lg);
    margin-bottom: 2rem;
}
.calc-field { margin-bottom: 1.5rem; }
.calc-field label {
    display: block;
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--primary);
    margin-bottom: 0.5rem;
}
.calc-field input[type="number"],
.calc-field input[type="range"] { width: 100%; }
.calc-field input[type="number"] {
    padding: 0.7rem 1rem;
    border: 2px solid var(--border);
    border-radius: 8px;
    font-size: 1.1rem;
    font-family: inherit;
    transition: border-color 0.2s;
}
.calc-field input[type="number"]:focus { outline: none; border-color: var(--green); }
.calc-field .range-row { display: flex; align-items: center; gap: 1rem; }
.calc-field .range-val {
    font-weight: 700; font-size: 1.2rem;
    color: var(--green);
    min-width: 60px;
    text-align: right;
}
.calc-results {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}
.calc-result-card {
    background: var(--white);
    border-radius: var(--radius);
    padding: 1.8rem;
    text-align: center;
    box-shadow: var(--shadow);
    border-top: 4px solid var(--green);
}
.calc-result-card .label { font-size: 0.85rem; color: var(--text-light); margin-bottom: 0.4rem; }
.calc-result-card .value {
    font-size: 2rem; font-weight: 800; color: var(--green);
}
@media (max-width: 600px) {
    .calc-results { grid-template-columns: 1fr; }
}

/* ---- CONTACT FORM ---- */
.contact-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 3rem;
    align-items: start;
}
@media (max-width: 768px) { .contact-grid { grid-template-columns: 1fr; } }
.contact-form { background: var(--white); border-radius: var(--radius-lg); padding: 2.5rem; box-shadow: var(--shadow-lg); }
.form-group { margin-bottom: 1.3rem; }
.form-group label { display: block; font-weight: 600; font-size: 0.9rem; color: var(--primary); margin-bottom: 0.4rem; }
.form-group input,
.form-group select,
.form-group textarea {
    width: 100%; padding: 0.7rem 1rem;
    border: 2px solid var(--border); border-radius: 8px;
    font-size: 0.95rem; font-family: inherit;
    transition: border-color 0.2s;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus { outline: none; border-color: var(--green); }
.form-group textarea { resize: vertical; min-height: 120px; }
.contact-info { padding: 1rem 0; }
.contact-info h3 { font-size: 1.2rem; color: var(--primary); margin-bottom: 1rem; }
.contact-info p { margin-bottom: 1rem; color: var(--text-light); font-size: 0.95rem; }

/* ---- TIMELINE ---- */
.timeline { position: relative; padding-left: 2.5rem; }
.timeline::before {
    content: ''; position: absolute; left: 0.8rem; top: 0; bottom: 0;
    width: 2px; background: var(--border);
}
.timeline-item { position: relative; margin-bottom: 2rem; }
.timeline-item::before {
    content: ''; position: absolute; left: -1.7rem; top: 0.4rem;
    width: 12px; height: 12px;
    background: var(--green); border-radius: 50%;
    border: 3px solid var(--white);
    box-shadow: 0 0 0 2px var(--green);
}
.timeline-item h3 { font-size: 1.05rem; color: var(--primary); margin-bottom: 0.3rem; }
.timeline-item p { font-size: 0.9rem; color: var(--text-light); }

/* ---- TEAM ---- */
.team-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 2rem; text-align: center; }
.team-member .avatar {
    width: 100px; height: 100px;
    background: linear-gradient(135deg, var(--green), #34d399);
    border-radius: 50%;
    margin: 0 auto 1rem;
    display: flex; align-items: center; justify-content: center;
    font-size: 2rem; color: white; font-weight: 700;
}
.team-member h3 { font-size: 1.05rem; color: var(--primary); }
.team-member .title { font-size: 0.88rem; color: var(--text-light); }

/* ---- VALUES ---- */
.value-card { text-align: center; padding: 2.5rem 2rem; }
.value-card .icon { font-size: 2.5rem; margin-bottom: 1rem; }
.value-card h3 { font-size: 1.15rem; color: var(--primary); margin-bottom: 0.6rem; }
.value-card p { font-size: 0.92rem; color: var(--text-light); }

/* ---- EXCLUSIONS ---- */
.exclusions {
    background: #fef9f9;
    border: 1px solid #f0d0d0;
    border-radius: var(--radius);
    padding: 2rem;
}
.exclusions h3 { color: var(--accent-red); margin-bottom: 1rem; font-size: 1.1rem; }
.exclusions ul { list-style: none; }
.exclusions li {
    padding: 0.5rem 0;
    font-size: 0.92rem;
    color: var(--text-light);
    display: flex; gap: 0.5rem; align-items: flex-start;
}
.exclusions li::before { content: '✕'; color: var(--accent-red); font-weight: 700; flex-shrink: 0; }

/* ---- INTEGRATION OPTIONS ---- */
.integ-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 2rem; }
.integ-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 2.5rem;
    box-shadow: var(--shadow);
    text-align: center;
    border-top: 4px solid var(--green);
}
.integ-card .integ-icon { font-size: 2.5rem; margin-bottom: 1rem; }
.integ-card h3 { font-size: 1.15rem; color: var(--primary); margin-bottom: 0.6rem; }
.integ-card p { font-size: 0.9rem; color: var(--text-light); }

/* ---- SIDEBAR ---- */
.blog-layout { display: grid; grid-template-columns: 1fr 320px; gap: 3rem; align-items: start; }
@media (max-width: 900px) { .blog-layout { grid-template-columns: 1fr; } }
.sidebar { position: sticky; top: 90px; }
.sidebar-section {
    background: var(--white);
    border-radius: var(--radius);
    padding: 1.5rem;
    box-shadow: var(--shadow);
    margin-bottom: 1.5rem;
}
.sidebar-section h3 { font-size: 1rem; color: var(--primary); margin-bottom: 1rem; }
.sidebar-section ul { list-style: none; }
.sidebar-section li { margin-bottom: 0.5rem; }
.sidebar-section li a { font-size: 0.9rem; color: var(--text-light); }
.sidebar-section li a:hover { color: var(--green); }
.sidebar-section .newsletter-input {
    width: 100%; padding: 0.6rem 0.8rem;
    border: 2px solid var(--border); border-radius: 6px;
    font-size: 0.9rem; margin-bottom: 0.6rem; font-family: inherit;
}
.sidebar-section .newsletter-input:focus { outline: none; border-color: var(--green); }

/* ---- BLOG ARTICLE ---- */
.article-hero {
    background: linear-gradient(135deg, var(--primary) 0%, #2d2d2b 100%);
    color: var(--white);
    padding: 7rem 2rem 3rem;
    text-align: center;
}
.article-hero .tag {
    display: inline-block;
    background: rgba(0,134,111,0.2);
    color: #5de8c8;
    padding: 0.3rem 0.8rem;
    border-radius: 4px;
    font-size: 0.78rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    margin-bottom: 1rem;
}
.article-hero h1 { font-size: clamp(1.6rem, 3.5vw, 2.4rem); font-weight: 800; margin-bottom: 1rem; max-width: 750px; margin-left: auto; margin-right: auto; }
.article-meta { font-size: 0.88rem; color: rgba(255,255,255,0.6); }

.article-body {
    max-width: 760px;
    margin: 0 auto;
    padding: 3rem 2rem;
}
.article-body h2 { font-size: 1.5rem; color: var(--primary); margin: 2rem 0 0.8rem; }
.article-body h3 { font-size: 1.2rem; color: var(--primary); margin: 1.5rem 0 0.6rem; }
.article-body p { margin-bottom: 1.2rem; font-size: 1.02rem; line-height: 1.8; color: var(--text); }
.article-body ul, .article-body ol { margin-bottom: 1.2rem; padding-left: 1.5rem; }
.article-body li { margin-bottom: 0.5rem; font-size: 1rem; line-height: 1.7; }
.article-body blockquote {
    border-left: 4px solid var(--green);
    padding: 1rem 1.5rem;
    margin: 1.5rem 0;
    background: var(--light);
    border-radius: 0 var(--radius) var(--radius) 0;
    font-style: italic;
    color: var(--text-light);
}

/* Share & Author */
.share-bar { display: flex; gap: 0.8rem; margin: 2rem 0; }
.share-btn {
    display: inline-flex; align-items: center; gap: 0.4rem;
    padding: 0.5rem 1rem; border-radius: 6px;
    font-size: 0.85rem; font-weight: 600;
    text-decoration: none; transition: 0.2s;
}
.share-btn.linkedin { background: #0077b5; color: white; }
.share-btn.twitter { background: #1da1f2; color: white; }
.share-btn.email { background: var(--text-light); color: white; }

.author-box {
    display: flex; gap: 1.5rem; align-items: center;
    background: var(--light);
    border-radius: var(--radius);
    padding: 1.5rem;
    margin: 2.5rem 0;
}
.author-box .avatar {
    width: 64px; height: 64px;
    background: var(--green); border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.5rem; color: white; font-weight: 700;
    flex-shrink: 0;
}
.author-box h4 { font-size: 1rem; color: var(--primary); margin-bottom: 0.2rem; }
.author-box p { font-size: 0.88rem; color: var(--text-light); }

.related-posts { margin-top: 3rem; }
.related-posts h2 { font-size: 1.4rem; color: var(--primary); margin-bottom: 1.5rem; }

/* ---- DASHBOARD LINK ---- */
.dashboard-link {
    position: fixed; bottom: 1.5rem; right: 1.5rem;
    background: var(--primary); color: var(--white);
    padding: 0.6rem 1rem; border-radius: 8px;
    text-decoration: none; font-size: 0.82rem; font-weight: 600;
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
    z-index: 100; transition: all 0.2s;
}
.dashboard-link:hover { transform: translateY(-2px); color: var(--white); }

/* ---- PAGE IMAGES ---- */
.page-image {
    border-radius: 12px;
    overflow: hidden;
}
.page-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Blog card images */
.blog-card-image {
    height: 200px;
    overflow: hidden;
    border-radius: 12px 12px 0 0;
}
.blog-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Coverage page inline images */
.coverage-image {
    border-radius: 12px;
    overflow: hidden;
    max-height: 200px;
}
.coverage-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* How it works image side */
.how-it-works-image {
    border-radius: 12px;
    overflow: hidden;
    max-height: 350px;
}
.how-it-works-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Hero with image background overlay */
.hero-image-bg {
    background-size: cover;
    background-position: center;
    position: relative;
}
.hero-image-bg::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(29,29,27,0.88) 0%, rgba(29,29,27,0.75) 100%);
}

/* Calculator side image */
.calc-side-image {
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 2rem;
    max-height: 300px;
}
.calc-side-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Coverage image grid */
.coverage-image-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    margin-top: 2.5rem;
}
.coverage-image-grid .coverage-image {
    border-radius: 12px;
    overflow: hidden;
    aspect-ratio: 3/2;
}
@media (max-width: 768px) {
    .coverage-image-grid { grid-template-columns: repeat(2, 1fr); }
}

/* Section with side image */
.section-with-image {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}
@media (max-width: 900px) {
    .section-with-image { grid-template-columns: 1fr; }
}

/* Hero image overlay inside article/blog post */
.article-hero-image {
    margin: -2rem auto 2rem;
    max-width: 900px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}
.article-hero-image img {
    width: 100%;
    height: 350px;
    object-fit: cover;
    display: block;
}

/* Inline article image */
.article-inline-image {
    border-radius: 12px;
    overflow: hidden;
    margin: 2rem 0;
    box-shadow: var(--shadow);
}
.article-inline-image img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    display: block;
}

/* Related post images */
.related-blog-image {
    height: 120px;
    overflow: hidden;
    border-radius: 12px 12px 0 0;
}
.related-blog-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* ---- MISC ---- */
.text-center { text-align: center; }
.mt-2 { margin-top: 2rem; }
.mb-2 { margin-bottom: 2rem; }
