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

body {
    background: #f5f1e8;
    font-family: 'EB Garamond', Georgia, serif;
    color: #1a1a1a;
}

/* ========== COVER HEADER ========== */
.magazine-cover-header {
    background: #fffdf7;
    border-bottom: 4px double #1a1a1a;
    padding: 35px 60px 25px;
    text-align: center;
    position: relative;
}

.cover-top-rule {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}

.cover-top-rule::before,
.cover-top-rule::after {
    content: '';
    flex: 1;
    height: 1px;
    background: #1a1a1a;
}

.cover-top-rule span {
    font-size: 0.7rem;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: #7a0c0c;
    font-family: 'EB Garamond', serif;
}

.magazine-name {
    font-family: 'Playfair Display', serif;
    font-size: clamp(3rem, 8vw, 7rem);
    font-weight: 900;
    letter-spacing: -2px;
    line-height: 0.9;
    color: #1a1a1a;
    margin-bottom: 15px;
}

.magazine-name em {
    font-style: italic;
    color: #7a0c0c;
}

.cover-tagline {
    font-size: 0.8rem;
    letter-spacing: 5px;
    text-transform: uppercase;
    color: #555;
    margin-bottom: 20px;
}

.cover-bottom-rule {
    display: flex;
    align-items: center;
    gap: 0;
    margin-top: 15px;
}

.cover-bottom-rule::before {
    content: '';
    flex: 1;
    height: 3px;
    background: #1a1a1a;
}

.cover-bottom-rule::after {
    content: '';
    flex: 1;
    height: 1px;
    background: #1a1a1a;
    margin-top: 4px;
}

.cover-bottom-rule span {
    width: 10px;
    height: 10px;
    background: #7a0c0c;
    border-radius: 50%;
    margin: 0 10px;
}

/* ========== MAGAZINE BODY ========== */
.magazine-body {
    max-width: 1200px;
    margin: 0 auto;
    background: #fffdf7;
    background-image:
        repeating-linear-gradient(
            0deg,
            transparent,
            transparent 31px,
            rgba(0,0,0,0.03) 31px,
            rgba(0,0,0,0.03) 32px
        );
    box-shadow: 0 0 80px rgba(0,0,0,0.25);
    position: relative;
}

.magazine-body::before {
    content: '';
    position: absolute;
    left: 0; top: 0; bottom: 0;
    width: 6px;
    background: linear-gradient(to right, rgba(0,0,0,0.12), transparent);
    pointer-events: none;
}

.magazine-body::after {
    content: '';
    position: absolute;
    right: 0; top: 0; bottom: 0;
    width: 6px;
    background: linear-gradient(to left, rgba(0,0,0,0.12), transparent);
    pointer-events: none;
}

/* ========== SECTION HEADER ========== */
.section-header {
    padding: 50px 70px 0;
    text-align: center;
    margin-bottom: 10px;
}

.section-kicker {
    font-size: 0.7rem;
    letter-spacing: 5px;
    text-transform: uppercase;
    color: #7a0c0c;
    margin-bottom: 12px;
    display: block;
}

.section-title {
    font-family: 'Playfair Display', serif;
    font-size: clamp(1.8rem, 4vw, 3rem);
    font-weight: 900;
    color: #1a1a1a;
    line-height: 1.1;
    margin-bottom: 15px;
}

.section-rule {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 20px auto;
    max-width: 300px;
}

.section-rule::before,
.section-rule::after {
    content: '';
    flex: 1;
    height: 1px;
    background: #1a1a1a;
}

.section-rule span { color: #7a0c0c; font-size: 1rem; }

/* ========== ARTICLE ========== */
.magazine-article {
    padding: 60px 70px;
    border-bottom: 1px solid #d4c9b0;
    position: relative;
}

.magazine-article:last-child { border-bottom: none; }

@media (max-width: 768px) {
    .magazine-article { padding: 35px 25px; }
    .section-header { padding: 35px 25px 0; }
}

.article-layout {
    display: grid;
    grid-template-columns: 1fr 1.7fr;
    gap: 55px;
    align-items: start;
}

.article-layout.reverse {
    grid-template-columns: 1.7fr 1fr;
}

.article-layout.reverse .article-image-col { order: 2; }
.article-layout.reverse .article-text-col { order: 1; }

@media (max-width: 900px) {
    .article-layout,
    .article-layout.reverse {
        grid-template-columns: 1fr;
    }
    .article-layout.reverse .article-image-col,
    .article-layout.reverse .article-text-col {
        order: unset;
    }
}

.article-image-col {
    position: sticky;
    top: 30px;
}

.magazine-photo-frame {
    position: relative;
    background: #1a1a1a;
    padding: 8px 8px 40px;
    box-shadow: 6px 6px 0 #c5a059, 12px 12px 0 rgba(0,0,0,0.15);
}

.magazine-photo-frame img {
    width: 100%;
    height: 380px;
    object-fit: cover;
    object-position: center top;
    display: block;
    filter: sepia(15%) contrast(1.05);
}

.photo-caption-bar {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 36px;
    background: #1a1a1a;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 12px;
}

.photo-caption-bar p {
    font-size: 0.7rem;
    letter-spacing: 1.5px;
    color: #c5a059;
    text-transform: uppercase;
    text-align: center;
    line-height: 1.3;
    font-family: 'EB Garamond', serif;
}

.article-number {
    font-family: 'Playfair Display', serif;
    font-size: 5rem;
    font-weight: 900;
    color: #f0ece0;
    line-height: 1;
    text-align: center;
    margin-top: 20px;
    letter-spacing: -3px;
    user-select: none;
}

.article-kicker {
    font-size: 0.68rem;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: #7a0c0c;
    display: block;
    margin-bottom: 10px;
    font-family: 'EB Garamond', serif;
}

.article-headline {
    font-family: 'Playfair Display', serif;
    font-size: clamp(1.8rem, 3.5vw, 2.8rem);
    font-weight: 900;
    line-height: 1.05;
    color: #1a1a1a;
    margin-bottom: 6px;
    border-bottom: 3px double #1a1a1a;
    padding-bottom: 15px;
}

.article-deck {
    font-size: 1.05rem;
    color: #7a0c0c;
    font-weight: 600;
    font-style: italic;
    line-height: 1.5;
    margin-bottom: 20px;
    display: block;
    padding: 12px 0;
    border-bottom: 1px solid #d4c9b0;
}

.article-body {
    font-size: 1.1rem;
    line-height: 1.95;
    color: #222;
    text-align: justify;
    hyphens: auto;
}

.article-body p { margin-bottom: 1.2em; }

.dropcap {
    float: left;
    font-family: 'Playfair Display', serif;
    font-size: 5.5rem;
    line-height: 0.75;
    padding-right: 12px;
    padding-top: 8px;
    color: #7a0c0c;
    font-weight: 900;
}

.pull-quote {
    border-top: 3px solid #1a1a1a;
    border-bottom: 3px solid #1a1a1a;
    padding: 22px 0;
    margin: 30px 0;
    position: relative;
}

.pull-quote::before {
    content: '\201C';
    font-family: 'Playfair Display', serif;
    font-size: 5rem;
    color: #7a0c0c;
    line-height: 0;
    position: absolute;
    top: 30px;
    left: -5px;
    opacity: 0.3;
}

.pull-quote p {
    font-family: 'Playfair Display', serif;
    font-size: 1.25rem;
    font-style: italic;
    line-height: 1.6;
    color: #1a1a1a;
    padding-left: 30px;
    margin: 0 !important;
}

/* ========== DIVIDER ========== */
.article-divider {
    display: flex;
    align-items: center;
    gap: 0;
    padding: 0 70px;
}

.article-divider-line {
    flex: 1;
    height: 1px;
    background: #1a1a1a;
}

.article-divider-ornament {
    padding: 0 20px;
    color: #c5a059;
    font-size: 1.2rem;
    letter-spacing: 8px;
}

@media (max-width: 768px) {
    .article-divider { padding: 0 25px; }
    .cover-top-rule, .cover-bottom-rule { display: none; }
    .magazine-cover-header { padding: 25px 20px; }
}
