.revistas-section {
    padding: 18px 0 46px;
}

.revistas-section .container {
    display: grid;
    gap: 20px;
}

.revistas-intro {
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) minmax(260px, .65fr);
    gap: 22px;
    align-items: start;
}

.revistas-intro__content h2 {
    margin: 0 0 12px;
    color: var(--brand-secondary);
    font-size: clamp(1.55rem, 2.2vw, 2.15rem);
    line-height: 1.18;
}

.revistas-intro__content p {
    margin: 0 0 12px;
    color: var(--brand-muted);
    line-height: 1.65;
    max-width: 72ch;
}

.revistas-intro__content a {
    color: var(--brand-primary);
    font-weight: 700;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.revistas-intro__aside {
    display: flex;
    justify-content: stretch;
}

.revistas-intro__stats {
    width: 100%;
    min-height: 100%;
    padding: 18px 18px 16px;
    border: 1px solid var(--brand-border-soft);
    border-radius: 14px;
    background: var(--brand-surface-wash);
    box-shadow: var(--brand-shadow-soft);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 12px;
}

.revistas-intro__label {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: .08em;
    font-weight: 800;
    color: var(--brand-muted);
}

.revistas-intro__stats strong {
    display: block;
    font-size: 44px;
    line-height: 1;
    color: var(--brand-secondary);
}

.revistas-intro__note {
    color: var(--brand-muted);
    line-height: 1.5;
}

.revistas-showcase {
    display: grid;
    gap: 20px;
}

.revistas-highlights {
    display: grid;
    gap: 18px;
}

.revistas-highlights .section-header h2 {
    margin-top: 0;
    margin-bottom: 8px;
    color: var(--brand-secondary);
}

.revistas-highlights .section-header p {
    margin-bottom: 0;
    color: var(--brand-muted);
}

.revistas-highlights__grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}

.revistas-highlights__item {
    padding: 16px 16px 15px;
    border-radius: 14px;
    border: 1px solid var(--brand-border-soft);
    background: var(--brand-surface-wash);
}

.revistas-highlights__item h3 {
    margin: 0 0 8px;
    color: var(--brand-secondary);
    font-size: 1rem;
    line-height: 1.3;
}

.revistas-highlights__item p {
    margin: 0;
    color: var(--brand-muted);
    line-height: 1.55;
}

.revistas-featured {
    display: grid;
    grid-template-columns: minmax(260px, 340px) minmax(0, 1fr);
    gap: 24px;
    align-items: start;
}

.revistas-featured__cover a,
.revistas-card__cover {
    display: block;
}

.revistas-featured__cover img,
.revistas-card__cover img {
    display: block;
    width: 100%;
    height: auto;
    object-fit: cover;
    background: #f7f2eb;
}

.revistas-featured__cover img {
    aspect-ratio: 4 / 5.65;
    border-radius: 16px;
    border: 1px solid var(--brand-border-soft);
    box-shadow: 0 18px 36px rgb(var(--brand-black-rgb) / 0.14);
}

.revistas-featured__placeholder,
.revistas-card__placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 320px;
    padding: 16px;
    border: 1px dashed var(--brand-border-soft);
    border-radius: 14px;
    background: var(--brand-surface-muted);
    color: var(--brand-muted);
    text-align: center;
    font-weight: 600;
}

.revistas-featured__content {
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding-top: 2px;
}

.revistas-featured__content h2 {
    margin: 0;
    color: var(--brand-secondary);
    font-size: clamp(1.35rem, 1.8vw, 1.85rem);
    line-height: 1.2;
}

.revistas-featured__content p {
    margin: 0;
    color: var(--brand-muted);
    line-height: 1.6;
}

.revistas-featured__links {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    color: var(--brand-muted);
}

.revistas-featured__links a {
    color: var(--brand-primary);
    font-weight: 700;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.revistas-featured__actions {
    margin-top: 4px;
}

.revistas-archive {
    display: grid;
    gap: 18px;
}

.revistas-archive .section-header h2 {
    margin-top: 0;
    margin-bottom: 8px;
    color: var(--brand-secondary);
}

.revistas-archive .section-header p {
    margin-bottom: 0;
    color: var(--brand-muted);
}

.revistas-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 18px;
}

.revistas-card {
    display: flex;
    flex-direction: column;
    gap: 0;
    border: 1px solid var(--brand-border-soft);
    border-radius: 16px;
    overflow: hidden;
    background: var(--brand-surface);
    box-shadow: var(--brand-shadow-soft);
}

.revistas-card__cover {
    padding: 14px 14px 0;
}

.revistas-card__cover img {
    aspect-ratio: 4 / 5.65;
    border-radius: 12px;
    border: 1px solid var(--brand-border-soft);
    box-shadow: 0 12px 26px rgb(var(--brand-black-rgb) / 0.12);
}

.revistas-card__body {
    padding: 14px 16px 16px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.revistas-card__body h3 {
    margin: 0;
    color: var(--brand-secondary);
    font-size: 1.1rem;
    line-height: 1.3;
}

.revistas-card__body p {
    margin: 0;
    color: var(--brand-muted);
    line-height: 1.55;
}

.revistas-card__button {
    align-self: flex-start;
}

.revistas-card__badges {
    margin-bottom: 0;
}

@media (max-width: 991px) {
    .revistas-intro,
    .revistas-featured {
        grid-template-columns: 1fr;
    }

    .revistas-highlights__grid {
        grid-template-columns: 1fr;
    }

    .revistas-intro__stats strong {
        font-size: 38px;
    }
}

@media (max-width: 767px) {
    .revistas-section {
        padding: 14px 0 36px;
    }

    .revistas-intro,
    .revistas-featured,
    .revistas-grid {
        gap: 14px;
    }

    .revistas-intro__stats {
        padding: 16px;
    }

    .revistas-card__cover,
    .revistas-card__body {
        padding-left: 12px;
        padding-right: 12px;
    }
}
