/* Basic Reset */
body {
    font-family: Arial, sans-serif;
    margin: 20;
    padding: 30;
    display:center;
    text-align: center;
    justify-content: center;
 align-items: center;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
    margin: 10;
    padding: 0;
}

/* --- Top Navigation Bar --- */

.header-nav-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 10px 20px;
    height: 40px; /* Adjust height to match visual */
}

.left-side {
    display: flex;
    align-items: center;
}

.bbc-logo-container {
    background-color: #000;
    border-radius: 4px;
    padding: 2px 8px;
    margin-right: 15px;
}

.bbc-logo {
    color: #fff;
    font-weight: 900;
    font-size: 16px;
}

.sign-in-button {
    background-color: #3b87cb; /* Blue color approximation */
    color: #fff;
    border: none;
    padding: 6px 10px;
    font-size: 13px;
    font-weight: bold;
    border-radius: 4px;
    cursor: pointer;
}

.main-links ul {
    display: flex;
}

.main-links li a {
    color: #000;
    font-size: 13px;
    font-weight: bold;
    padding: 0 10px;
    border-right: 1px solid #ccc;
    white-space: nowrap;
}

.main-links li:last-child a {
    border-right: none;
}

.more-dots {
    font-size: 20px;
    line-height: 10px;
}

.search-box {
    background-color: #f2f2f2;
    color: #000;
    padding: 8px 15px;
    font-size: 13px;
    font-weight: bold;
    display: flex;
    align-items: center;
    border-radius: 4px;
    cursor: pointer;
    margin-left: 20px;
    height: 100%; /* Fill the vertical space */
}

.search-icon {
    font-size: 14px;
    margin-right: 5px;
}

/* --- Sport Masthead (Yellow Bar) --- */

.sport-masthead {
    background-color: #ffde00; /* Bright yellow */
    text-align: center;
    padding: 20px 0;
    border-top: 1px solid #000; /* Thin black line on top */
    border-bottom: 1px solid #000; /* Thin black line on bottom */
}

.masthead-title {
    font-size: 40px;
    font-weight: 900;
    color: #000;
    margin: 0;
    letter-spacing: 2px;
}

/* --- Sport Sub-Navigation Bar (Lighter Yellow Bar) --- */

.sport-sub-nav {
    background-color: #fff9c9; /* Lighter yellow/off-white */
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 10px 20px;
    color: #000;
    font-size: 14px;
}

.sub-nav-links {
    display: flex;
    align-items: center;
    overflow: hidden; /* Hide links that don't fit if needed */
}

.sub-nav-links a {
    font-weight: bold;
    white-space: nowrap;
    display:flex;
    align-items: center;
}

.separator-dot {
    margin: 0 10px;
    color: #ccc;
    font-weight: lighter;
}

.sub-nav-more {
    display: flex;
    align-items: center;
    font-weight: bold;
    border-left: 1px solid #ccc; /* Vertical separator */
    padding-left: 15px;
    cursor: pointer;
}

.more-icon {
    font-size: 16px;
    margin-right: 5px;
    line-height: 1;
}



/* 1 */


/* Basic Reset */
body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #fff;
    color: #000;
}

h2, h3, p {
    margin: 0;
    padding: 0;
}

/* --- Main Container & Header --- */

.sport-grid-container {
    max-width: 1000px;
    margin: 30px auto;
    padding: 0 20px;
}

.section-title {
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 20px;
}

/* --- Typography & Metadata --- */

.headline {
    font-weight: bold;
    line-height: 1.3;
    margin: 5px 0 8px 0;
    color: #000;
}

.headline.large {
    font-size: 20px;
    font-weight: 900;
}

.headline.small {
    font-size: 16px;
    margin-top: 5px; /* Space after small image */
}

.summary {
    font-size: 14px;
    line-height: 1.4;
    color: #555;
    margin-bottom: 5px;
}

.meta, .meta-main {
    font-size: 12px;
    color: #999;
}

.meta-main {
    padding-top: 5px;
}

/* --- Image Styling --- */

.image-wrapper {
    overflow: hidden;
}

.article-image {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

/* --- Top Row Grid (Asymmetrical) --- */

.top-row-grid {
    display: grid;
    /* Two main content columns: Large Feature (1.5fr) and a sub-grid of small stories (1.5fr) */
    grid-template-columns: 1.5fr 1fr 1fr 1fr; 
    gap: 20px;
    padding-bottom: 30px;
}

.large-feature-card {
    /* Spans both rows visually in its column */
    grid-row: span 2; 
}

.image-wrapper.large-image {
    /* Large image is visually squarish or wider */
    height: 300px;
    margin-bottom: 10px;
}

/* Small Mixed Cards (Columns 2, 3, 4) */
.small-mixed-card {
    border-left: 1px solid #eee;
    padding-left: 20px;
}

.small-mixed-card:first-of-type {
    border-left: none; /* Remove border for the first card after the main feature */
    padding-left: 0;
}

.image-wrapper.small-image {
    /* Images in the top-right quarter are squarish */
    aspect-ratio: 1 / 1; 
    width: 100%;
    margin-bottom: 10px;
}

/* --- Bottom Row Grid (Horizontal Mixed Cards) --- */

.bottom-row-grid {
    display: grid;
    /* 3 equal columns */
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    border-top: 1px solid #ccc; /* Separator between the two main rows */
    padding-top: 30px;
}

.horizontal-mixed-card {
    display: flex;
    flex-direction: column;
}

.image-wrapper.horizontal-image {
    /* Images in the bottom row are horizontal/rectangular */
    height: 120px; 
    width: 100%;
    margin-bottom: 10px;
}


/* 2 */
/* Basic Reset */
body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #fff;
    color: #000;
}

h2, h3, p {
    margin: 0;
    padding: 0;
}

/* --- Main Container & Header --- */

.insight-container {
    max-width: 1200px;
    margin: 30px auto;
    padding: 0 20px;
}

.section-title {
    font-size: 14px;
    font-weight: bold;
    margin-bottom: 20px;
}

/* --- Typography & Metadata --- */

.headline {
    font-weight: bold;
    line-height: 1.3;
    margin: 5px 0;
    color: #000;
}

.headline.large {
    font-size: 20px;
    font-weight: 900;
}

.headline.small {
    font-size: 14px;
    /* Enforce two lines of text for visual consistency in the grid */
    min-height: 36px; 
}

.summary {
    font-size: 14px;
    line-height: 1.4;
    color: #555;
    margin-bottom: 5px;
}

.meta, .meta-main {
    font-size: 12px;
    color: #999;
    margin-top: 5px;
}

.meta-main {
    padding-top: 5px;
}

/* --- Image Styling --- */

.image-wrapper {
    overflow: hidden;
}

.article-image {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

/* --- Main Grid Structure (Large Left Feature + Right Grid) --- */

.main-grid {
    display: grid;
    /* Two main columns: Large Feature (1.5fr) and Small Stories Grid (3fr) */
    grid-template-columns: 1.5fr 3fr; 
    gap: 30px;
}

.feature-story {
    /* Feature story occupies its entire column */
    display: flex;
    flex-direction: column;
}

.image-wrapper.large-image {
    /* Large image is vertically oriented (taller than wide) */
    aspect-ratio: 0.8 / 1; 
    width: 100%;
    margin-bottom: 15px;
}

/* --- Small Stories Grid (The entire right-hand block) --- */

.small-stories-grid {
    display: grid;
    /* This grid itself contains 4 columns */
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
}

.small-card {
    display: flex;
    flex-direction: column;
    padding-bottom: 15px;
}

/* Top row cards get a separator line underneath */
.small-stories-grid > .small-card:nth-child(-n + 3) {
    border-bottom: 1px solid #eee;
}

/* The 4th card (top right) also needs the bottom separator */
.small-stories-grid > .small-card:nth-child(4) {
    border-bottom: 1px solid #eee;
}


/* Styling for all small images (mostly squarish) */
.image-wrapper.small-image {
    aspect-ratio: 1 / 1; 
    width: 100%;
    margin-bottom: 8px;
}

/* Second Row Layout (Starts under the second set of top cards) */

.second-row-card {
    /* The second row cards start at column 2 and run for 3 columns */
    grid-row: 2;
    padding-top: 15px;
}

.small-stories-grid > .second-row-card:nth-child(5) {
    grid-column: 2 / span 1; 
}
.small-stories-grid > .second-row-card:nth-child(6) {
    grid-column: 3 / span 1; 
}
.small-stories-grid > .second-row-card:nth-child(7) {
    grid-column: 4 / span 1; 
}

/* 3 */
/* Basic Reset */
body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #fff;
    color: #000;
}

h2, h3, p {
    margin: 0;
    padding: 0;
}

hr.separator {
    border: none;
    border-top: 1px solid #ccc;
    max-width: 1200px;
    margin: 30px auto;
}

/* --- Main Container & Header --- */

.content-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.metadata-header {
    display: flex;
    justify-content: flex-end;
    gap: 15px;
    font-size: 11px;
    color: #008000; /* Green text color approximation */
    margin-bottom: 30px;
    padding-top: 10px;
}

.section-title {
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 20px;
}

/* --- General Typography & Image Styling --- */

.headline {
    font-weight: bold;
    line-height: 1.3;
    margin: 0;
    color: #000;
}

.headline.large {
    font-size: 18px;
    font-weight: 900;
}

.headline.small {
    font-size: 14px;
    min-height: 36px; /* Enforce height for consistency in grid */
    overflow: hidden;
}

.image-wrapper {
    overflow: hidden;
    position: relative;
    margin-bottom: 10px;
}

.explore-image, .podcast-image {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

.audio-tag {
    position: absolute;
    bottom: 5px;
    left: 5px;
    background-color: #e50000; /* Red color approximation */
    color: #fff;
    padding: 2px 5px;
    font-size: 10px;
    font-weight: bold;
    border-radius: 2px;
}

/* --- Section 1: More to Explore Grid --- */

.explore-section {
    margin-bottom: 30px;
}

.explore-grid {
    display: grid;
    /* 5 equal columns for the articles */
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
}

.explore-card {
    display: flex;
    flex-direction: column;
}

.explore-card .image-wrapper {
    aspect-ratio: 1 / 1; /* Square images */
}

.explore-card .meta {
    font-size: 12px;
    color: #999;
}

/* --- Section 2: Our Latest Podcasts Grid --- */

.podcast-section {
    margin-bottom: 30px;
}

/* Top Row: Main Feature + Small Grid */
.podcast-top-row {
    display: grid;
    /* Asymmetrical grid: Large Feature (1.2fr) and Small Grid (2fr) */
    grid-template-columns: 1.2fr 2fr;
    gap: 20px;
    margin-bottom: 20px;
}

.podcast-main-feature {
    display: flex;
    flex-direction: column;
}

.podcast-main-feature .feature-image {
    aspect-ratio: 1 / 1; /* Square image */
    margin-bottom: 15px;
}

.podcast-main-feature .headline.large {
    margin-bottom: 5px;
}

.podcast-summary {
    font-size: 14px;
    line-height: 1.4;
    color: #333;
    margin-bottom: 5px;
}

.podcast-meta-bottom, .podcast-source {
    font-size: 12px;
    color: #999;
}


/* Small Podcast Grid (3 columns inside the right portion) */
.podcast-small-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
}

.podcast-card {
    display: flex;
    flex-direction: column;
}

.podcast-card .card-image {
    aspect-ratio: 1 / 1; /* Square image */
}


/* Bottom Podcast Row */
.podcast-bottom-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
    border-top: 1px solid #ccc;
    padding-top: 20px;
}

.podcast-bottom-row .podcast-card {
    padding-right: 15px;
    border-right: 1px solid #eee;
}

.podcast-bottom-row .podcast-card:last-child {
    border-right: none;
    padding-right: 0;
}

.podcast-bottom-row .text-only-card .card-image {
    /* Hide the image wrapper for the text-only card but reserve some height */
    background-color: #f0f0f0;
    height: 100px;
    margin-bottom: 5px;
}

.podcast-bottom-row .text-only-card .podcast-image {
    display: none;
}

/* 4 */
/* Basic Reset */
body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #fff;
    color: #000;
}

h2, h3, p {
    margin: 0;
    padding: 0;
}

a {
    text-decoration: none;
    color: #000;
    font-size: 13px;
}

hr.separator {
    border: none;
    border-top: 1px solid #ccc;
    max-width: 1200px;
    margin: 30px auto;
}

/* --- Main Container & Header --- */

.utility-container {
    max-width: 1200px;
    margin: 40px auto;
    padding: 0 20px;
}

.section-title {
    font-size: 16px;
    font-weight: 900;
    margin-bottom: 20px;
}

/* --- Section 1: Things you need to know --- */

.info-grid {
    display: grid;
    /* 5 equal columns for the items */
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
}

.info-card {
    display: flex;
    flex-direction: column;
}

.image-wrapper {
    overflow: hidden;
    margin-bottom: 10px;
}

.info-image {
    /* Ensures images are square as visually represented */
    aspect-ratio: 1 / 1; 
    width: 100%;
    object-fit: cover;
    display: block;
}

.info-headline {
    font-size: 14px;
    font-weight: bold;
    line-height: 1.3;
    margin-bottom: 5px;
}

.info-meta {
    font-size: 12px;
    color: #999;
    line-height: 1.4;
}

/* --- Section 2: Find us here (Social Media) --- */

.social-section {
    padding-top: 20px;
}

.social-links {
    display: flex;
    gap: 15px;
    margin-bottom: 30px;
}

.social-icon {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 60px; /* Fixed width for icon block */
    text-align: center;
}

.icon-placeholder {
    display: block;
    width: 60px;
    height: 60px;
    border-radius: 8px; /* Rounded corners for the icon block */
    color: #fff;
    font-size: 30px;
    line-height: 60px;
    margin-bottom: 5px;
}

.social-label {
    font-size: 12px;
    color: #000;
    font-weight: bold;
}

/* Specific colors for social icons */
.instagram-icon .icon-placeholder { background-color: #e4405f; }
.tiktok-icon .icon-placeholder { background-color: #000; }
.facebook-icon .icon-placeholder { background-color: #4267b2; }
.x-icon .icon-placeholder { background-color: #000; }
.youtube-icon .icon-placeholder { background-color: #ff0000; }

/* Placeholder text (e.g., '📸', 'f') is a stand-in for the actual logos */
.facebook-icon .icon-placeholder { font-size: 40px; }
.x-icon .icon-placeholder { font-size: 20px; }


/* --- Footer Links --- */

.footer-links {
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-links p {
    font-size: 13px;
    color: #555;
    margin-right: 5px;
}

.footer-link-button {
    border: 1px solid #ccc;
    padding: 5px 10px;
    border-radius: 4px;
    white-space: nowrap;
}

/* fotter */

/* Basic Reset */
body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #ddd8d8; /* Ensure body color doesn't interfere */
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

hr.separator {
    border: none;
    border-top: 1px solid #0f0e0e; /* Light gray separator line */
    margin: 20px 0;
}

/* --- Dark Footer Container --- */

.dark-footer {
    background-color: #0f0e0e; /* Dark charcoal/black color */
    color: #f2f2f2; /* Light text color */
    padding: 20px 0;
    width: 100%;
}

.footer-content-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* --- Navigation Columns --- */

.footer-nav-columns {
    display: flex;
    /* Adjust based on the column spacing/width visible in the image */
    gap: 50px; 
    padding-bottom: 20px;
}

.nav-column {
    /* Vertical separator lines are drawn *after* the columns */
    border-right: 1px solid #333; 
    padding-right: 50px; 
}

/* Remove border from the last column */
.nav-column:last-child {
    border-right: none;
    padding-right: 0;
}

.nav-column li {
    margin-bottom: 5px;
}

.nav-column a {
    font-size: 14px;
    font-weight: bold;
    color: #f2f2f2;
    white-space: nowrap;
}

/* --- Legal Links Section --- */

.footer-legal-section {
    padding-bottom: 15px;
}

.footer-nav-legal {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 15px; /* Vertical and horizontal gap */
    justify-content: flex-start;
}

.footer-nav-legal a {
    font-size: 12px;
    color: #f2f2f2;
    white-space: nowrap;
}

/* --- Copyright --- */

.copyright {
    font-size: 11px;
    color: #888; /* Slightly dimmer than the links */
    line-height: 1.4;
}



/* mobile */
@media (max-width: 768px) {
    /* Reduce large grid columns to 3 or 4 */

    /* Section 1: Sport Grid */
    .top-row-grid {
        /* Reduce to 3 columns: Large feature + two small cards */
        grid-template-columns: 1.5fr 1fr 1fr;
    }
    .top-row-grid .small-mixed-card:nth-child(4) {
        /* Hide the 4th small card on tablet to keep clean 3-column look */
        display: none;
    }

    .bottom-row-grid {
        /* Keep 3 columns but reduce gap */
        grid-template-columns: repeat(3, 1fr);
        gap: 15px;
    }

    /* Section 2: Insight Grid */
    .main-grid {
        /* Change to 2 equal columns, making the feature less dominant */
        grid-template-columns: 1fr 1fr;
        gap: 20px;
    }

    .small-stories-grid {
        /* Reduce inner grid to 2 columns */
        grid-template-columns: repeat(2, 1fr);
    }
    /* Reset small grid positioning for the new 2-column layout */
    .small-stories-grid > .small-card:nth-child(-n + 4) {
        border-bottom: 1px solid #eee;
    }
    .small-stories-grid > .small-card:nth-child(odd) {
        border-right: 1px solid #eee;
        padding-right: 10px;
    }

    .small-stories-grid > .second-row-card {
        grid-column: auto / span 1;
        padding-top: 10px;
    }
    .small-stories-grid > .second-row-card:nth-child(5) { grid-column: 1 / span 1; }
    .small-stories-grid > .second-row-card:nth-child(6) { grid-column: 2 / span 1; }
    .small-stories-grid > .second-row-card:nth-child(7) { display: none; } /* Hide 7th item */


    /* Section 3: Explore & Podcast */
    .explore-grid {
        /* Reduce to 3 columns */
        grid-template-columns: repeat(3, 1fr);
    }
    .explore-grid .explore-card:nth-child(4),
    .explore-grid .explore-card:nth-child(5) {
        display: none; /* Hide last two cards */
    }

    .podcast-top-row {
        /* Change to 2 equal columns */
        grid-template-columns: 1fr 1fr;
    }

    .podcast-small-grid {
        /* Reduce inner grid to 2 columns */
        grid-template-columns: repeat(2, 1fr);
    }
    .podcast-small-grid .podcast-card:nth-child(3) {
        display: none; /* Hide 3rd small podcast */
    }

    .podcast-bottom-row {
        /* Keep 3 columns, but adjust padding */
        grid-template-columns: repeat(3, 1fr);
        gap: 10px;
    }
    .podcast-bottom-row .podcast-card {
        padding-right: 10px;
    }

    /* Section 4: Info Grid */
    .info-grid {
        /* Reduce to 3 columns */
        grid-template-columns: repeat(3, 1fr);
    }
    .info-grid .info-card:nth-child(4),
    .info-grid .info-card:nth-child(5) {
        display: none; /* Hide last two cards */
    }

    /* Footer */
    .footer-nav-columns {
        /* Allow columns to wrap early */
        gap: 30px;
    }

    .nav-column {
        /* Reduce padding/margins */
        padding-right: 30px;
    }
}

/* --- Mobile Adjustments (Max 600px) --- */
@media (max-width: 600px) {

    /* --- Header & Nav --- */
    .header-nav-top {
        /* Stack the left and right sides */
        flex-wrap: wrap;
        justify-content: center;
        height: auto;
    }
    .left-side {
        width: 100%;
        justify-content: center;
        margin-bottom: 10px;
    }
    .search-box, .sign-in-button {
        display: none; /* Hide space-intensive elements */
    }
    .main-links {
        width: 100%;
    }

    .masthead-title {
        font-size: 30px;
        letter-spacing: 1px;
    }
    .sport-sub-nav {
        padding: 10px;
    }
    .sub-nav-more {
        display: none; /* Hide 'More' button to give links more space */
    }

    /* --- General Layout Reversion to Single Column --- */
    .sport-grid-container, .insight-container, .content-container, .utility-container {
        padding: 0 10px;
        margin-top: 20px;
        margin-bottom: 20px;
    }

    /* SECTION 1: Sport Grid */
    .top-row-grid {
        /* Single column stacking */
        grid-template-columns: 1fr;
        gap: 15px;
        padding-bottom: 15px;
    }

    .large-feature-card {
        grid-row: auto;
    }
    .small-mixed-card {
        border-left: none;
        padding-left: 0;
        border-top: 1px solid #eee;
        padding-top: 15px;
    }
    .small-mixed-card:first-of-type {
        border-top: none;
        padding-top: 0;
    }

    .bottom-row-grid {
        /* Two columns for better horizontal use */
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
        padding-top: 20px;
    }

    /* SECTION 2: Insight Grid */
    .main-grid {
        /* Single column stacking */
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .small-stories-grid {
        /* Two columns */
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }

    .small-stories-grid > .small-card {
        border-bottom: none;
        padding-bottom: 0;
    }

    /* SECTION 3: Explore & Podcast */
    .explore-grid, .podcast-small-grid, .podcast-bottom-row {
        /* Two columns */
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }

    .podcast-top-row {
        /* Single column stacking */
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .podcast-bottom-row .podcast-card {
        border-right: 1px solid #eee;
        padding-right: 10px;
    }
    .podcast-bottom-row .podcast-card:nth-child(even) {
        border-right: none;
        padding-right: 0;
    }

    /* SECTION 4: Info Grid & Social */
    .info-grid {
        /* Two columns */
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }

    .social-links {
        /* Center and allow wrap */
        justify-content: center;
    }

    /* --- Footer Adjustments --- */
    .footer-nav-columns {
        /* Stack columns vertically */
        flex-direction: column;
        gap: 15px;
    }

    .nav-column {
        /* Remove vertical border and add horizontal border */
        border-right: none;
        padding-right: 0;
        border-bottom: 1px solid #333;
        padding-bottom: 10px;
    }

    .nav-column:last-child {
        border-bottom: none;
        padding-bottom: 0;
    }

    .footer-nav-legal {
        justify-content: center;
        text-align: center;
    }
}