body,
.editor-styles-wrapper {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

/* Shortcode: most-recent post card */
.voila-latest-post {
    max-width: 720px;
    margin: 0 auto;
}

.voila-latest-post__image img {
    border-radius: 12px;
    width: 100%;
    height: auto;
}

.voila-latest-post__title {
    margin-top: 1rem;
}

.voila-latest-post__title a {
    text-decoration: none;
    color: inherit;
}

.voila-latest-post__title a:hover {
    color: #1E5DAC;
}

.voila-latest-post__date {
    display: block;
    color: #475569;
    font-size: 0.875rem;
    margin-top: 0.25rem;
}

.voila-latest-post__excerpt {
    margin-top: 0.75rem;
    color: #334155;
    line-height: 1.6;
}

.voila-latest-post__read-more {
    display: inline-block;
    margin-top: 0.75rem;
    color: #1E5DAC;
    font-weight: 600;
    text-decoration: none;
}

.voila-latest-post__read-more:hover {
    color: #4a8add;
}

/* ========== Related Posts ========== */

.voila-related-posts {
    margin-top: 3rem;
    padding-top: 2.5rem;
    border-top: 1px solid #E2E8F0;
}

.voila-related-posts__heading {
    font-size: 1.5rem;
    font-weight: 700;
    color: #0F172A;
    margin-bottom: 1.5rem;
}

.voila-related-posts__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

@media (max-width: 768px) {
    .voila-related-posts__grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
}

.voila-related-posts__card {
    display: block;
    text-decoration: none;
    color: inherit;
    border-radius: 16px;
    border: 1px solid #E2E8F0;
    overflow: hidden;
    transition: transform 0.2s, box-shadow 0.2s;
    background: #fff;
}

.voila-related-posts__card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

.voila-related-posts__image img {
    width: 100%;
    height: 160px;
    object-fit: cover;
    display: block;
}

.voila-related-posts__body {
    padding: 16px;
}

.voila-related-posts__title {
    font-size: 1rem;
    font-weight: 600;
    color: #0F172A;
    line-height: 1.4;
    margin: 0 0 8px;
}

.voila-related-posts__card:hover .voila-related-posts__title {
    color: #1E5DAC;
}

.voila-related-posts__date {
    font-size: 0.8125rem;
    color: #475569;
}
