/* Dear Thoughts – Homepage 2x2 Grid (front page only) */
section.section[aria-label="Latest posts"] .post-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}
/* show only the 4 latest cards -> exact 2x2 */
section.section[aria-label="Latest posts"] .post-grid > article.card:nth-child(n+5) {
    display: none;
}
@media (max-width: 720px) {
    section.section[aria-label="Latest posts"] .post-grid {
        grid-template-columns: minmax(0, 1fr);
    }
}

/* Normalize the hero featured card to the standard light card design */
section.hero .hero-featured .featured-main {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    min-height: 0;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: none;
}
section.hero .hero-featured .featured-main::before,
section.hero .hero-featured .featured-main::after,
section.hero .hero-featured .featured-main .card-media::before,
section.hero .hero-featured .featured-main .card-media::after {
    content: none;
    display: none;
}
section.hero .hero-featured .featured-main .card-media {
    position: relative;
    inset: auto;
    aspect-ratio: 16 / 9;
    overflow: hidden;
}
section.hero .hero-featured .featured-main .card-media img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}
section.hero .hero-featured .featured-main .card-body {
    position: relative;
    inset: auto;
    transform: none;
    background: transparent;
    color: var(--ink);
    padding: 20px 22px 24px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}
section.hero .hero-featured .featured-main .card-title,
section.hero .hero-featured .featured-main .card-title a {
    color: var(--ink);
    font-size: 1.2rem;
    font-weight: 700;
}
section.hero .hero-featured .featured-main .card-excerpt {
    color: var(--muted);
    font-size: 0.94rem;
}
