/* --- TYPOGRAPHY --- */
.hero-post-title {
    font-weight: var(--font-weight-bold);
    font-size: 2rem;
    line-height: 1.2;
    margin-bottom: 0.2em;
}

.post-title {
    font-weight: var(--font-weight-bold);
    font-size: 1.5rem;
}

.post-text {
    color: var(--grey);
}

/* --- ARTICLES --- */
.hero-post {
    background-image: url("../images/hero-post.jpg");
    background-size: cover;
    width: 100%;
    color: var(--white);
    padding: 6em 1em 1em 1em;
}

.post-date {
    text-transform: uppercase;
    font-size: 0.75rem;
    font-weight: var(--font-weight-regular);
    margin-bottom: 0.5em;
}

.articles-container {
    padding: 0 1em 2em 1em;
}

.hidden {
    display: none;
}

@media (min-width: 768px) {
    .hero-post {
        padding-top: 12em;
    }

    .hero-text {
        padding: 1em;
        max-width: 90%;
    }

    .hero-text:hover,
    .hero-text:focus {
        color: rgb(165, 163, 163);
    }

    .articles-container {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
        padding: 0 2em 2.5em 2em;
    }

    .post-date {
        font-size: 0.9rem;
    }
}

@media (min-width: 1024px) {
    .hero-post {
        padding-top: 20em;
    }

    .hero-text {
        padding: 2.5em;
        max-width: 65%;
    }

    .articles-container {
        grid-template-columns: repeat(3, 1fr);
    }

    .hero-content {
        font-size: 1.3rem;
    }
}