/* --- Font Imports from Google Fonts --- */
@import url('https://fonts.googleapis.com/css2?family=Merriweather:ital,wght@0,400;0,700;1,400&family=Playfair+Display:wght@700;900&family=Roboto+Condensed:wght@400;700&display=swap');

/* --- Main Page & Body Styling --- */
body {
    background-color: #f4f1e8;
    font-family: 'Merriweather', serif;
    color: #222;
    padding: 1rem;
}
.container {
    max-width: 1200px;
    margin: 0 auto;
    background-color: #fff;
    padding: 2rem;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

/* --- Masthead --- */
.masthead {
    text-align: center;
    border-bottom: 4px double #333;
    padding-bottom: 1rem;
    margin-bottom: 2rem;
}
.masthead h1 {
    font-family: 'Playfair Display', serif;
    font-size: 4.5rem;
    font-weight: 900;
    margin: 0;
    text-transform: uppercase;
}
.masthead h1 a {
    text-decoration: none;
    color: black;
}
.masthead .subtitle {
    font-family: 'Roboto Condensed', sans-serif;
    font-size: 0.9rem;
    color: #555;
    margin-top: 0.5rem;
    letter-spacing: 1px;
}

/* --- The Main Newspaper Grid --- */
.front-page-grid {
    display: grid;
    grid-template-columns: 1fr; /* Mobile first: single column */
    gap: 2rem;
}

/* --- Main Column Content --- */
.main-article .headline {
    font-family: 'Playfair Display', serif;
    font-size: 2.8rem;
    line-height: 1.1;
    margin: 0 0 0.5rem 0;
}
.main-article .byline {
    font-family: 'Roboto Condensed', sans-serif;
    font-style: italic;
    color: #666;
    margin-bottom: 1.5rem;
}
.main-article .article-body {
    text-align: justify;
    font-size: 0.95rem;
    line-height: 1.7;
}

/* --- Sidebar Briefs --- */
.briefs-section {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}
.brief-box h4 {
    font-family: 'Roboto Condensed', sans-serif;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.9rem;
    border-bottom: 1px solid #555;
    padding-bottom: 0.5rem;
    margin: 0 0 0.5rem 0;
}
.brief-box p {
    font-size: 0.9rem;
    line-height: 1.6;
    margin: 0;
}
.brief-box.spotlight {
    background-color: #f4f1e8;
    padding: 1rem;
}

/* --- Counselor's Corner --- */
.counselors-corner {
    margin-top: 2.5rem;
    border-top: 1px solid #ccc;
    padding-top: 2rem;
}
.counselors-corner h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.8rem;
    text-align: center;
    margin: 0 0 1rem 0;
}
.counselors-corner p {
    font-size: 1rem;
    font-style: italic;
    max-width: 90%;
    margin: 0 auto;
    text-align: justify;
}


/* --- Responsive Layout & Columns --- */
@media (min-width: 900px) {
    .front-page-grid {
        /* On wider screens, create a ~70/30 split */
        grid-template-columns: 2.5fr 1fr; 
    }
    .briefs-section {
        border-left: 1px solid #ddd;
        padding-left: 2rem;
    }
    .main-article .article-body {
        column-count: 2;
        column-gap: 1.5rem;
    }
}


/* --- Image/Media Styling --- */
/* This is the wrapper, which we still use */
.article-image {
    width: 100%;
    margin-bottom: 1rem;
}
@media (min-width: 600px) {
    /* This float is what makes it sit nicely to the left */
    .article-image {
        float: left;
        width: 250px;
        margin-right: 1.5rem;
        margin-bottom: 0.5rem;
    }
}

/* --- NEW STYLES --- */
/* This is the new box for your "word-picture" */
.word-picture-box {
    width: 100%;
    background-color: #f4f1e8; /* Match the page background */
    border: 1px solid #ccc;
    padding: 1rem;
    box-sizing: border-box; /* Ensures padding doesn't break the layout */
}
.word-picture-box p {
    font-family: 'Roboto Condensed', sans-serif;
    font-style: italic;
    font-size: 0.9rem;
    color: #333;
    margin: 0;
    text-align: left; /* Override any other text-aligns */
    line-height: 1.6;
}

/* --- REMOVED STYLES --- */
/* These rules are no longer needed:
.article-image img { width: 100%; border: 1px solid #ccc; padding: 4px; }
.article-image figcaption {
    font-family: 'Roboto Condensed', sans-serif;
    font-size: 0.8rem;
    font-style: italic;
    color: #555;
    text-align: center;
    padding: 0.5rem;
}
*/


/* --- Archive Section --- */
#archive-list {
    margin-top: 3rem;
    border-top: 2px solid #333;
    padding-top: 2rem;
}
#archive-list h2 {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 2rem;
}
#archive-list a { text-decoration: none; color: #3b82f6; }
#archive-list a:hover { text-decoration: underline; }

.archive-footer {
    margin-top: 2rem;
    border-top: 1px solid #ccc;
    padding-top: 1.5rem;
    text-align: center;
}
.archive-footer a {
    font-family: 'Roboto Condensed', sans-serif;
    font-size: 1rem;
    color: #3b82f6;
    text-decoration: none;
}
.archive-footer a:hover {
    text-decoration: underline;
}

