/* 1. CSS RESET */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* 2. MAIN STYLES & FONTS */
.magazine-header {
    background-color: #111;
    color: #ffffff;
    padding: 50px 20px;
    text-align: center;
    border-bottom: 12px solid #c3002f;
}

body {
    background-color: #f0f0f0;
    color: #1a1a1a;
    font-family: 'Roboto Slab', serif; 
    line-height: 1.65;
    padding-bottom: 50px;
}

#main-feature-title, h2, .kicker {
   font-family: 'Oswald', sans-serif; 
}

.kicker {
    text-transform: uppercase;
    color: #c3002f;
    letter-spacing: 5px;
    font-size: 1.5rem;
    margin-bottom: 15px;
}

#main-feature-title {
    font-size: clamp(3.5rem, 12vw, 7rem); /* "clamp" combines min, mid, and max font sizes for multiple platforms */
    text-transform: uppercase;
    font-weight: 800;
    line-height: 0.85;
    margin: 0;
    text-shadow: 6px 6px 0 rgba(195, 0, 47, 0.4);
    transform: skewX(-6deg); /* "skew" gives it a speedy look */
    display: inline-block;
}

h2 {
    text-transform: uppercase;
    font-size: 2rem;
    margin-bottom: 20px;
    color: #111;
    break-after: avoid;
}

p {
    margin-bottom: 20px;
    text-align: justify;
    hyphens: auto;
}

/* 2A. BYLINE */
.byline {
    font-family: 'Roboto Condensed', sans-serif;
    margin-top: 10px;
    font-size: 1rem;
    color: #888;
    text-transform: uppercase;
    letter-spacing: 2px;
    text-align: center;
}

.byline span {
    color: #c3002f;
    font-weight: 700;
}

/* 3. IMG & CAPTION LAYOUT */

.spread-container {
    max-width: 1200px;
    margin: -50px auto 0;
    background: #ffffff;
    box-shadow: 0 15px 40px rgba(0,0,0,0.15);
}
.hero-image img {
    width: 100%;
    height: auto;
    display: block;
}

.hero-image figcaption, .inset-image figcaption {
    padding: 15px 25px;
    font-family: 'Roboto Condensed', sans-serif;
    font-size: 1rem;
    background: #ededed;
    color: #555;
    font-style: italic;
    border-left: 5px solid #c3002f;
}
.inset-image {
    break-inside: avoid; /* Keeps image and caption together */
    margin: 30px 0;
}

.inset-image img {
    width: 100%;
    filter: grayscale(20%);
    transition: filter 0.5s ease;
    border: 3px solid #c3002f;
    border-radius: 2px;
}

/* 4. ARTICLE CONTENT & COLUMNS */
.magazine-content {
    padding: 50px;
}

.intro-block {
    margin-bottom: 40px;
}

.lead-in {
    font-size: 1.5rem;
    font-weight: 300;
    color: #333;
    line-height: 1.5;
}

/* 5. CSS3 FEATURES */
.drop-cap, blockquote {
     font-family: 'Oswald', sans-serif;
}
.drop-cap {
    float: left;
    font-size: 6rem;
    line-height: 0.5;
    font-weight: 375;
    padding-right: 15px;
    color: #c3002f;
}
.article-columns {
    column-count: 2;
    column-gap: 40px;
    column-rule: 1px solid #eeeeee;
}
.article-columns p {
    font-size: 1.15rem; 
    line-height: 2;
    margin-bottom: 1.5rem;
}
blockquote {
    column-span: all; 
    font-size: 2.5rem;
    line-height: 1.1;
    color: #c3002f;
    padding: 40px 0;
    margin: 40px 0;
    border-top: 3px solid #111;
    border-bottom: 3px solid #111;
    text-align: center;
    font-style: italic;
}

/* 6. FOOTER */
.magazine-footer {
    padding: 60px 20px;
    background: #111;
    color: #555;
    font-family: 'Roboto Condensed', sans-serif;
    text-transform: uppercase;
    font-size: 1rem;
    letter-spacing: 1px;
}

.magazine-footer p{
    text-align: center;
}

/* 7. RESPONSIVE MOBILE & SMALLER SCREEN STYLES */
@media screen and (max-width: 900px) {
    .article-columns {
        column-count: 1;
    }
    
    .magazine-content {
        padding: 30px;
    }
    
    #main-feature-title {
        text-shadow: 3px 3px 0 rgba(195, 0, 47, 0.4);
    }
}