:root {
    --leader-height: 200px;
}

@media screen and (min-width: 40rem) {
    :root {
        --leader-height: 300px;
    }
}

/* BLOG INDEX – based on home.css SERVICE section */

/* outer band like .services-container */
.blog-index {
    background: var(--color-blue-200);
    padding: var(--spacing-20) 0;
}

/* grid of article cards, like .services */
.blog-list {
    display: grid;
    grid-template-columns: 1fr;
    grid-gap: var(--spacing-5);
    margin-top: var(--spacing-10);
}

/* card style, similar to .service-box but toned for text */
.blog-card {
    background: rgba(0, 0, 0, 0.3);
    background-blend-mode: multiply;
    display: grid;
    grid-template-rows: auto 1fr auto;
    grid-gap: var(--spacing-4);
    padding: var(--spacing-8);
    color: white;
    text-align: left;
}

    /* title = strong like service heading */
    .blog-card h2 {
        font-size: var(--text-2xl);
        margin: 0;
        color: white;
        text-shadow: 0 0 4px black;
    }

        /* title link */
        .blog-card h2 a {
            color: inherit;
            text-decoration: none;
        }

            .blog-card h2 a:hover,
            .blog-card h2 a:focus {
                text-decoration: underline;
            }

    /* intro/excerpt text */
    .blog-card .blog-intro,
    .blog-card .blog-excerpt {
        font-size: var(--text-lg);
        line-height: 1.6;
        text-shadow: 0 0 2px black;
    }

    /* read-more area */
    .blog-card .blog-list-readmore {
        margin-top: var(--spacing-4);
    }

    /* if you're using a .btn class globally, this will pick it up */
    .blog-card .btn {
        display: block;
        width: 100%;
        text-align: center;
    }

/* responsive: 3 cards across at large breakpoints, same as .services */
@media screen and (min-width: 72rem) {
    .blog-list {
        grid-template-columns: 1fr 1fr 1fr;
        grid-gap: var(--spacing-12);
    }
}