/* Recent Posts Showcase – Block Styles */

.rps-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    font-family: inherit;
    box-sizing: border-box;
}

/* ── Featured Post ── */
.rps-featured {
    display: flex;
    flex-direction: column;
    text-decoration: none;
    color: inherit;
    border-radius: 12px;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 2px 16px rgba(0,0,0,0.08);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.rps-featured:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 28px rgba(0,0,0,0.13);
}
.rps-featured__image {
    width: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: #e8e8e8;
}
.rps-featured__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
}
.rps-featured:hover .rps-featured__image img {
    transform: scale(1.04);
}
.rps-featured__content {
    padding: 20px 24px 24px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    flex: 1;
}
.rps-featured__title {
    font-size: 1.5rem;
    font-weight: 700;
    line-height: 1.3;
    margin: 0;
    color: #1a1a1a;
}
.rps-featured__excerpt {
    font-size: 0.95rem;
    color: #555;
    line-height: 1.6;
    margin: 0;
    flex: 1;
}
.rps-read-more {
    font-size: 0.875rem;
    font-weight: 600;
    color: #0073aa;
    margin-top: 4px;
}

/* ── Secondary Grid ── */
.rps-secondary {
    display: flex;
    flex-direction: column;
    gap: 16px;
}
.rps-card {
    display: flex;
    flex-direction: row;
    text-decoration: none;
    color: inherit;
    border-radius: 10px;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 2px 10px rgba(0,0,0,0.07);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    flex: 1;
}
.rps-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.11);
}
.rps-card__image {
    width: 110px;
    min-width: 110px;
    overflow: hidden;
    background: #e8e8e8;
}
.rps-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
}
.rps-card:hover .rps-card__image img {
    transform: scale(1.05);
}
.rps-card__content {
    padding: 12px 16px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 6px;
}
.rps-card__title {
    font-size: 0.95rem;
    font-weight: 600;
    line-height: 1.4;
    margin: 0;
    color: #1a1a1a;
}

/* ── Shared ── */
.rps-date {
    font-size: 0.78rem;
    color: #999;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}
.rps-no-image {
    display: flex;
    align-items: center;
    justify-content: center;
    background: #ddd;
    color: #888;
    font-size: 0.8rem;
}
.rps-no-posts {
    text-align: center;
    color: #888;
    padding: 24px;
}

/* ── Responsive ── */
@media (max-width: 768px) {
    .rps-wrapper {
        grid-template-columns: 1fr;
    }
    .rps-secondary {
        gap: 12px;
    }
    .rps-card__image {
        width: 90px;
        min-width: 90px;
    }
    .rps-featured__title {
        font-size: 1.2rem;
    }
}
