@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,700;1,400;1,700&family=Lora:ital,wght@0,400;0,600;1,400;1,600&display=swap');

:root {
    --red: #c1121f;
    --red-dark: #8b0000;
    --red-light: #fdf5f5;
    --text: #1a1a1a;
    --muted: #555;
    --muted-light: #888;
    --bg: #f8f6f3;
    --white: #ffffff;
    --divider: #e8e4df;
    --card-bg: #fefefe;
    --nav-bg: #1a1a1a;
    --footer-bg: #111;
    --shadow: 0 4px 20px rgba(0,0,0,0.08);
    --shadow-md: 0 8px 32px rgba(0,0,0,0.12);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
    font-family: 'Lora', Georgia, serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.95;
}

/* PROGRESS BAR */
#progress-bar {
    position: fixed;
    top: 0; left: 0;
    height: 3px;
    width: 0%;
    background: linear-gradient(90deg, var(--red), #e63946);
    z-index: 9999;
    transition: width 0.1s linear;
}

/* HEADER */
.site-header {
    background: var(--nav-bg);
    position: sticky;
    top: 0;
    z-index: 100;
    border-bottom: 2px solid var(--red);
}
.header-inner {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 62px;
}
.site-logo {
    font-family: 'Playfair Display', serif;
    font-size: 22px;
    font-weight: 700;
    color: white;
    text-decoration: none;
    letter-spacing: 0.5px;
}
.site-logo span { color: var(--red); }
.header-tagline {
    font-family: 'Lora', serif;
    font-size: 11px;
    color: #888;
    letter-spacing: 2px;
    text-transform: uppercase;
    display: none;
}
@media(min-width:600px){ .header-tagline { display: block; } }
.header-nav { display: flex; gap: 6px; align-items: center; }
.header-nav a {
    color: #ccc;
    text-decoration: none;
    font-size: 13px;
    font-family: 'Lora', serif;
    padding: 6px 10px;
    border-radius: 4px;
    transition: color 0.2s, background 0.2s;
    white-space: nowrap;
}
.header-nav a:hover { color: white; background: rgba(255,255,255,0.08); }
.header-nav a.active { color: var(--red); }

/* ARTICLE CONTAINER */
.container {
    max-width: 760px;
    margin: 0 auto;
    padding: 50px 20px 60px;
    background: var(--white);
    min-height: 60vh;
}

/* TYPOGRAPHY */
.part-label {
    font-family: 'Lora', serif;
    font-size: 11px;
    letter-spacing: 3.5px;
    text-transform: uppercase;
    color: var(--red);
    margin-bottom: 14px;
    display: block;
}
h1 {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: clamp(26px, 5vw, 40px);
    margin-bottom: 12px;
    color: var(--text);
    line-height: 1.2;
}
.read-time {
    font-size: 13px;
    color: #999;
    margin-bottom: 20px;
    font-style: italic;
}
p {
    font-size: clamp(17px, 2.5vw, 19px);
    margin-bottom: 20px;
    color: var(--text);
}
.em { color: var(--red); font-style: italic; font-weight: 600; }

.quote {
    margin: 36px 0;
    padding: 22px 28px;
    border-left: 4px solid var(--red);
    background: var(--red-light);
    font-style: italic;
    color: #444;
    font-size: clamp(17px, 2.5vw, 20px);
    border-radius: 0 8px 8px 0;
    line-height: 1.7;
}
.highlight-box {
    background: linear-gradient(135deg, #fff5f5, #fff);
    border: 1px solid #f0c0c0;
    border-radius: 10px;
    padding: 24px 28px;
    margin: 36px 0;
    font-size: clamp(16px, 2.4vw, 19px);
    font-style: italic;
    color: var(--red-dark);
    text-align: center;
    line-height: 1.7;
}
.divider { height: 1px; background: var(--divider); margin: 36px 0; }
.section-break {
    text-align: center;
    color: var(--red);
    font-size: 22px;
    letter-spacing: 10px;
    margin: 40px 0;
    opacity: 0.45;
}
.pull-quote {
    font-family: 'Playfair Display', serif;
    font-size: clamp(20px, 3.5vw, 26px);
    font-style: italic;
    color: var(--text);
    text-align: center;
    padding: 28px 20px;
    margin: 40px 0;
    line-height: 1.45;
}
.pull-quote::before, .pull-quote::after {
    content: '';
    display: block;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--red), transparent);
    margin: 12px auto;
    width: 60%;
}

/* IMAGES */
.main-img {
    width: 100%;
    height: auto;
    max-height: 460px;
    object-fit: cover;
    border-radius: 8px;
    margin: 20px 0 30px;
    display: block;
}
.mid-img {
    width: 100%;
    height: auto;
    max-height: 400px;
    object-fit: cover;
    border-radius: 8px;
    margin: 30px 0;
    box-shadow: var(--shadow-md);
    display: block;
}
.img-caption {
    font-size: 13px;
    color: var(--muted-light);
    font-style: italic;
    text-align: center;
    margin-top: -20px;
    margin-bottom: 30px;
}

/* SHARE BAR */
.share-bar {
    display: flex;
    gap: 10px;
    align-items: center;
    margin-bottom: 20px;
    flex-wrap: wrap;
}
.share-bar span { font-size: 13px; color: var(--muted); font-style: italic; }
.share-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    border-radius: 5px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    border: none;
    text-decoration: none;
    transition: opacity 0.2s, transform 0.15s;
    font-family: 'Lora', serif;
}
.share-btn:hover { opacity: 0.85; transform: translateY(-1px); }
.share-btn.facebook { background: #1877f2; color: white; }
.share-btn.whatsapp { background: #25d366; color: white; }
.share-btn.copy { background: #444; color: white; }

/* STORY STATS */
.story-stats {
    display: flex;
    gap: 20px;
    padding: 12px 0;
    border-top: 1px solid var(--divider);
    border-bottom: 1px solid var(--divider);
    margin-bottom: 28px;
    flex-wrap: wrap;
}
.story-stats span { font-size: 13px; color: var(--muted-light); font-family: 'Lora', serif; }

/* ADS */
.ad-label {
    font-size: 10px;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #bbb;
    text-align: center;
    margin-bottom: 6px;
    font-family: 'Lora', serif;
}
.ad {
    text-align: center;
    margin: 8px 0;
    overflow: hidden;
    min-height: 90px;
    background: #f9f9f9;
    border-radius: 4px;
}

/* CTA */
.cta {
    margin-top: 50px;
    padding: 32px 24px;
    background: linear-gradient(135deg, #fff5f5, #ffeaea);
    border-radius: 12px;
    text-align: center;
    border: 1px solid #f5c0c0;
}
.cta p { font-size: 18px; color: #444; margin-bottom: 16px; }
.btn {
    display: inline-block;
    background: var(--red);
    color: white;
    padding: 16px 34px;
    text-decoration: none;
    border-radius: 6px;
    font-size: 17px;
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    transition: background 0.25s, transform 0.15s;
    box-shadow: 0 4px 16px rgba(193,18,31,0.3);
}
.btn:hover { background: var(--red-dark); transform: translateY(-2px); }

/* EMAIL CAPTURE */
.email-capture {
    background: #1a1a1a;
    border-radius: 12px;
    padding: 30px 24px;
    margin: 44px 0;
    text-align: center;
    color: white;
}
.email-capture h3 { font-family: 'Playfair Display', serif; font-size: 21px; margin: 0 0 8px; color: white; }
.email-capture p { font-size: 15px; color: #ccc; margin-bottom: 16px; }
.email-form { display: flex; gap: 8px; max-width: 420px; margin: 0 auto; flex-wrap: wrap; }
.email-form input[type="email"] {
    flex: 1; min-width: 180px;
    padding: 12px 14px; border-radius: 5px; border: none;
    font-size: 15px; font-family: 'Lora', serif;
}
.email-form button {
    background: var(--red); color: white; border: none;
    padding: 12px 18px; border-radius: 5px; font-size: 15px;
    cursor: pointer; font-family: 'Lora', serif; font-weight: 600;
    white-space: nowrap; transition: background 0.2s;
}
.email-form button:hover { background: var(--red-dark); }

/* PREV RECAP */
.prev-recap {
    background: #f9f7f4;
    border: 1px solid var(--divider);
    border-radius: 8px;
    padding: 16px 20px;
    margin-bottom: 30px;
    font-size: 14px;
    color: var(--muted);
    font-style: italic;
}
.prev-recap a { color: var(--red); text-decoration: none; font-weight: 600; }

/* BREADCRUMB */
.breadcrumb { font-size: 12px; color: #aaa; margin-bottom: 24px; font-family: 'Lora', serif; }
.breadcrumb a { color: var(--red); text-decoration: none; }
.breadcrumb span { margin: 0 6px; }

/* SERIES NAV */
.series-nav {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    margin: 40px 0;
    flex-wrap: wrap;
}
.series-nav-btn {
    flex: 1; min-width: 140px;
    padding: 14px 18px;
    border: 1px solid var(--divider);
    border-radius: 8px;
    text-decoration: none;
    color: var(--text);
    font-family: 'Lora', serif;
    transition: all 0.2s;
    background: white;
}
.series-nav-btn:hover { border-color: var(--red); box-shadow: 0 4px 14px rgba(193,18,31,0.12); transform: translateY(-2px); }
.series-nav-btn .nav-direction { font-size: 11px; letter-spacing: 2px; text-transform: uppercase; color: var(--red); display: block; margin-bottom: 4px; }
.series-nav-btn .nav-title { font-size: 14px; line-height: 1.4; color: var(--text); }
.series-nav-btn.next { text-align: right; }

/* RELATED STORIES */
.related { margin-top: 50px; border-top: 2px solid var(--divider); padding-top: 30px; }
.related h3 { font-family: 'Playfair Display', serif; font-size: 20px; margin-bottom: 20px; color: var(--text); }
.related-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 16px; }
.related-card {
    display: block; text-decoration: none;
    border: 1px solid var(--divider); border-radius: 8px;
    overflow: hidden; transition: box-shadow 0.2s, transform 0.15s;
    background: var(--card-bg);
}
.related-card:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); }
.related-card img { width: 100%; height: 130px; object-fit: cover; display: block; }
.related-card-body { padding: 12px 14px; }
.related-card-label { font-size: 10px; letter-spacing: 2px; text-transform: uppercase; color: var(--red); font-family: 'Lora', serif; display: block; margin-bottom: 5px; }
.related-card-body p { font-size: 14px; color: var(--text); line-height: 1.4; margin: 0; }

/* BACK TO TOP */
#back-to-top {
    position: fixed; bottom: 28px; right: 24px;
    width: 44px; height: 44px;
    background: var(--red); color: white;
    border: none; border-radius: 50%;
    font-size: 20px; cursor: pointer;
    box-shadow: 0 4px 16px rgba(193,18,31,0.35);
    opacity: 0; transform: translateY(12px);
    transition: opacity 0.3s, transform 0.3s;
    z-index: 200;
    display: flex; align-items: center; justify-content: center;
}
#back-to-top.visible { opacity: 1; transform: translateY(0); }
#back-to-top:hover { background: var(--red-dark); }

/* FOOTER */
.site-footer { background: var(--footer-bg); color: #aaa; }
.footer-top {
    max-width: 1100px; margin: 0 auto;
    padding: 48px 20px 36px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 36px;
}
.footer-brand p { font-size: 13px; color: #888; margin-top: 10px; line-height: 1.7; }
.footer-col h4 { font-family: 'Playfair Display', serif; font-size: 14px; color: white; margin-bottom: 14px; letter-spacing: 1px; text-transform: uppercase; }
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 9px; }
.footer-col ul li a { color: #888; text-decoration: none; font-size: 13px; font-family: 'Lora', serif; transition: color 0.2s; }
.footer-col ul li a:hover { color: var(--red); }
.footer-bottom { border-top: 1px solid #222; padding: 18px 20px; text-align: center; font-size: 12px; color: #555; font-family: 'Lora', serif; }
.footer-bottom a { color: #777; text-decoration: none; }
.footer-bottom a:hover { color: var(--red); }

/* INDEX PAGE */
.index-hero {
    background: linear-gradient(135deg, #1a1a1a 0%, #2d1a1a 100%);
    padding: 70px 20px; text-align: center;
    border-bottom: 3px solid var(--red);
}
.index-hero h1 { font-family: 'Playfair Display', serif; font-size: clamp(32px, 6vw, 56px); color: white; line-height: 1.15; margin-bottom: 16px; }
.index-hero p { font-size: clamp(16px, 2.5vw, 19px); color: #ccc; max-width: 580px; margin: 0 auto; line-height: 1.7; }
.tag-cloud { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 28px; justify-content: center; }
.tag { font-size: 12px; padding: 4px 12px; border-radius: 20px; background: rgba(255,255,255,0.1); color: #ddd; font-family: 'Lora', serif; border: 1px solid rgba(255,255,255,0.15); }

.index-section { max-width: 1100px; margin: 0 auto; padding: 52px 20px; }
.index-section-title { font-family: 'Playfair Display', serif; font-size: 26px; color: var(--text); margin-bottom: 8px; }
.index-section-sub { font-size: 14px; color: var(--muted); margin-bottom: 32px; font-style: italic; }
.divider-line { height: 2px; background: var(--divider); }
.index-ad-strip { background: #f9f7f4; padding: 20px; text-align: center; }

.story-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 28px; }
.story-card {
    background: var(--white); border-radius: 10px; overflow: hidden;
    box-shadow: var(--shadow); transition: box-shadow 0.25s, transform 0.2s;
    text-decoration: none; display: block; color: inherit;
}
.story-card:hover { box-shadow: var(--shadow-md); transform: translateY(-4px); }
.story-card img { width: 100%; height: 200px; object-fit: cover; display: block; }
.story-card-body { padding: 20px 22px 24px; }
.story-card-cat { font-size: 10px; letter-spacing: 2.5px; text-transform: uppercase; color: var(--red); font-family: 'Lora', serif; display: block; margin-bottom: 8px; }
.story-card-title { font-family: 'Playfair Display', serif; font-size: 19px; color: var(--text); line-height: 1.35; margin-bottom: 10px; }
.story-card-excerpt { font-size: 14px; color: var(--muted); line-height: 1.65; margin-bottom: 14px; }
.story-card-meta { font-size: 12px; color: #bbb; display: flex; gap: 12px; font-family: 'Lora', serif; flex-wrap: wrap; }

.featured-story { grid-column: 1/-1; display: grid; grid-template-columns: 1fr 1fr; min-height: 300px; }
.featured-story img { height: 100%; min-height: 260px; }
.featured-story .story-card-body { display: flex; flex-direction: column; justify-content: center; padding: 32px; }
.featured-story .story-card-title { font-size: clamp(20px, 3vw, 26px); }
@media(max-width:640px){ .featured-story { grid-template-columns: 1fr; } .featured-story img { height: 220px; } }

.series-badge { display: inline-block; background: var(--red); color: white; font-size: 11px; padding: 3px 9px; border-radius: 20px; font-family: 'Lora', serif; font-weight: 600; margin-bottom: 8px; }
.series-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 24px; }
.series-card { background: white; border-radius: 12px; overflow: hidden; box-shadow: 0 2px 12px rgba(0,0,0,0.07); transition: box-shadow 0.25s, transform 0.2s; border: 1px solid var(--divider); }
.series-card:hover { box-shadow: var(--shadow-md); transform: translateY(-4px); }
.series-card-img { width: 100%; height: 190px; object-fit: cover; display: block; }
.series-card-body { padding: 20px 22px 22px; }
.series-card-cat { font-size: 10px; letter-spacing: 2.5px; text-transform: uppercase; color: var(--red); font-family: 'Lora', serif; display: block; margin-bottom: 8px; }
.series-card-title { font-family: 'Playfair Display', serif; font-size: 17px; line-height: 1.35; color: var(--text); margin-bottom: 8px; }
.series-card-desc { font-size: 13px; color: var(--muted); line-height: 1.6; }
.series-parts { display: flex; gap: 6px; margin-top: 14px; flex-wrap: wrap; }
.part-link { font-size: 12px; padding: 5px 12px; border-radius: 20px; background: var(--red-light); color: var(--red); text-decoration: none; font-family: 'Lora', serif; font-weight: 600; transition: background 0.2s, color 0.2s; border: 1px solid #f0c0c0; }
.part-link:hover { background: var(--red); color: white; }

.standalone-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 20px; }
.standalone-item { display: flex; gap: 14px; align-items: flex-start; text-decoration: none; color: inherit; background: white; border-radius: 10px; padding: 14px; border: 1px solid var(--divider); transition: box-shadow 0.2s, transform 0.15s; }
.standalone-item:hover { box-shadow: 0 6px 20px rgba(0,0,0,0.1); transform: translateY(-2px); }
.standalone-item img { width: 80px; height: 80px; object-fit: cover; border-radius: 7px; flex-shrink: 0; }
.standalone-title { font-family: 'Playfair Display', serif; font-size: 15px; line-height: 1.35; color: var(--text); margin-bottom: 4px; }
.standalone-meta { font-size: 12px; color: #aaa; font-family: 'Lora', serif; }

.newsletter-strip { background: linear-gradient(135deg, #1a1a1a 0%, #2d1a1a 100%); padding: 52px 20px; text-align: center; color: white; }
.newsletter-strip h2 { font-family: 'Playfair Display', serif; font-size: clamp(22px, 4vw, 32px); margin-bottom: 10px; }
.newsletter-strip p { font-size: 16px; color: #ccc; margin-bottom: 24px; }
.newsletter-form { display: flex; gap: 10px; max-width: 460px; margin: 0 auto; flex-wrap: wrap; justify-content: center; }
.newsletter-form input { flex: 1; min-width: 220px; padding: 13px 16px; border-radius: 6px; border: none; font-size: 15px; font-family: 'Lora', serif; }
.newsletter-form button { background: var(--red); color: white; border: none; padding: 13px 22px; border-radius: 6px; font-size: 15px; cursor: pointer; font-family: 'Lora', serif; font-weight: 600; transition: background 0.2s; white-space: nowrap; }
.newsletter-form button:hover { background: var(--red-dark); }

/* MOBILE */
@media(max-width:600px){
    .container { padding: 28px 15px 44px; }
    h1 { font-size: 24px !important; }
    .quote { padding: 15px 16px; font-size: 16px; }
    .email-form { flex-direction: column; }
    .email-form input, .email-form button { width: 100%; }
    .header-nav a:not(:last-child) { display: none; }
    .series-nav { flex-direction: column; }
    .story-stats { gap: 10px; }
}

@media print {
    .site-header, .site-footer, .ad, .ad-label,
    .share-bar, .email-capture, .cta, #back-to-top, #progress-bar { display: none !important; }
    body { background: white; }
    .container { max-width: 100%; padding: 0; }
}
