@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;600;700&display=swap');

.rc-blog-wrap {
    width: 100%;
    font-family: 'Inter', sans-serif;
}

/* Pestañas */
.rc-blog-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 32px;
}

.rc-tab {
    padding: 8px 18px;
    border: 1.5px solid #1A1C1C;
    border-radius: 999px;
    background: transparent;
    font-family: 'Inter', sans-serif;
    font-size: 13px;
    font-weight: 500;
    color: #1A1C1C;
    cursor: pointer;
    transition: all .2s ease;
}

.rc-tab:hover,
.rc-tab.active {
    background: #024442;
    border-color: #024442;
    color: #fff;
}

/* Grid */
.rc-blog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

/* Card */
.rc-blog-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid #e8e8e8;
    display: flex;
    flex-direction: column;
}

.rc-card-img {
    display: block;
    width: 100%;
    aspect-ratio: 16/9;
    overflow: hidden;
    background: #024442;
}

.rc-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform .3s ease;
}

.rc-card-img:hover img {
    transform: scale(1.04);
}

.rc-card-img-placeholder {
    width: 100%;
    height: 100%;
    background: #024442;
}

.rc-card-body {
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    flex: 1;
}

.rc-card-cat {
    display: inline-block;
    background: #024442;
    color: #fff;
    font-size: 11px;
    font-weight: 600;
    padding: 4px 12px;
    border-radius: 999px;
    width: fit-content;
}

.rc-card-title {
    font-size: 18px;
    font-weight: 700;
    color: #1A1C1C;
    margin: 0;
    line-height: 1.3;
}

.rc-card-title a {
    color: inherit;
    text-decoration: none;
}

.rc-card-title a:hover {
    color: #024442;
}

.rc-card-excerpt {
    font-size: 14px;
    color: #546067;
    margin: 0;
    line-height: 1.6;
}

/* Tablet */
@media (max-width: 900px) {
    .rc-blog-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Móvil */
@media (max-width: 540px) {
    .rc-blog-grid {
        grid-template-columns: 1fr;
    }

    .rc-tab {
        font-size: 12px;
        padding: 6px 14px;
    }
}