/*
Theme Name: Waltzing Analytics - Washington Post Frontpage Style (Green & Gold)
Description: Clean, classic newspaper layout inspired by The Washington Post's front page, featuring Australia's green and gold.
Version: 1.1.0
Author: Adapted by ChatGPT
*/

/* --- Reset & Base Typography --- */
body {
    font-family: 'Georgia', serif;
    font-size: 18px;
    line-height: 1.6;
    color: #111;
    background: #fff;
    margin: 0;
    padding: 0;
}

a {
    color: #006847; /* Australian green */
    text-decoration: none;
}

a:hover,
a:focus {
    color: #FFB81C; /* Australian gold */
    text-decoration: underline;
    outline: none;
}

/* --- Container & Header --- */
.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 30px 20px;
}

header {
    border-bottom: 3px solid #006847;
    padding-bottom: 25px;
    margin-bottom: 40px;
    text-align: center;
}

header h1 {
    font-family: 'Georgia', serif;
    font-weight: 900;
    font-size: 3.5rem;
    margin: 0;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

/* --- Navigation --- */
nav {
    margin-top: 15px;
    border-top: 1px solid #ccc;
    border-bottom: 1px solid #ccc;
    padding: 12px 0;
    text-align: center;
}

.primary-menu {
    margin: 0;
    padding: 0;
    list-style: none;
    display: inline-flex;
    gap: 2.5rem;
}

.primary-menu li a {
    font-weight: 700;
    font-size: 1.1rem;
    text-transform: uppercase;
    transition: color 0.3s ease;
}

/* --- Centered Lead Story Wrapper --- */
.lead-story-wrapper {
    max-width: 700px;
    margin: 0 auto 40px auto;
    text-align: center;
}

/* Lead story styles */
.lead-story {
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
}

/* Make the featured image block and full width */
.lead-story .post-thumbnail-link {
    display: block;
    margin: 0 auto 20px auto;
    max-width: 100%;
}

.lead-story .post-thumbnail {
    border-radius: 3px;
    box-shadow: 0 3px 8px rgba(0,0,0,0.15);
    width: 100% !important;
    height: auto !important;
}

/* Title styles */
.lead-story .entry-title {
    font-size: 2.5rem;
    font-weight: 900;
    margin-bottom: 0.5rem;
    font-family: 'Georgia', serif;
    color: #006847;
}

.lead-story .entry-title a {
    color: inherit;
    text-decoration: none;
}

.lead-story .entry-title a:hover {
    color: #FFB81C;
    text-decoration: underline;
}

/* Meta below title */
.lead-story .post-meta {
    font-size: 0.8rem;
    color: #555;
    font-style: italic;
    margin-bottom: 1rem;
}

/* Excerpt below meta */
.lead-story .entry-summary {
    font-size: 1.15rem;
    color: #222;
    line-height: 1.7;
}

/* --- Next 3 side stories container --- */
.top-side-stories {
    max-width: 900px;
    margin: 0 auto 60px auto;
    display: flex;
    gap: 25px;
    justify-content: center;
}

/* Each side story box */
.top-side-stories .side-story {
    flex: 1 1 30%;
    border: 1px solid #ddd;
    padding: 15px;
    box-sizing: border-box;
    border-radius: 3px;
    background: #fff;
    transition: box-shadow 0.3s ease;
}

.top-side-stories .side-story:hover {
    box-shadow: 0 6px 14px rgba(0, 104, 71, 0.3); /* subtle green shadow */
}

/* Side story thumbnails */
.top-side-stories .post-thumbnail {
    width: 100%;
    height: auto;
    margin-bottom: 12px;
    border-radius: 3px;
}

/* Side story titles */
.top-side-stories .entry-title {
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 10px;
    font-family: 'Georgia', serif;
}

.top-side-stories .entry-title a {
    color: #006847;
    text-decoration: none;
}

.top-side-stories .entry-title a:hover {
    color: #FFB81C;
    text-decoration: underline;
}

/* Side story meta */
.top-side-stories .post-meta {
    font-size: 0.8rem;
    color: #555;
    font-style: italic;
    margin-bottom: 10px;
}

/* Side story excerpt */
.top-side-stories .entry-summary {
    font-size: 1rem;
    line-height: 1.5;
    color: #444;
}

/* --- Footer --- */
footer {
    border-top: 3px solid #006847;
    padding: 25px 0;
    text-align: center;
    font-size: 0.875rem;
    color: #555;
}

/* --- Buttons --- */
button, .btn {
    background-color: #006847;
    color: #fff;
    border: none;
    padding: 12px 25px;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    text-transform: uppercase;
    border-radius: 0;
    transition: background-color 0.3s ease, color 0.3s ease;
}

button:hover, .btn:hover {
    background-color: #FFB81C;
    color: #006847;
}

/* --- Responsive --- */
@media (max-width: 1024px) {
    /* Lead story wrapper stays centered and full width */
    .lead-story-wrapper {
        max-width: 100%;
        padding: 0 20px;
        margin-bottom: 30px;
    }

    .top-side-stories {
        flex-direction: column;
        max-width: 100%;
        margin: 30px auto;
        gap: 30px;
    }

    .top-side-stories .side-story {
        flex: 1 1 100%;
        margin-bottom: 0;
        border: none;
        box-shadow: none;
        padding: 0;
    }
}

@media (max-width: 600px) {
    header h1 {
        font-size: 2.5rem;
    }

    .primary-menu {
        flex-direction: column;
        gap: 12px;
    }

    /* No grid of other posts on homepage per your request */
}
