.mediakit-section {
    margin-top: 18px;
    margin-bottom: 30px;
    align-items: start;
}

.mediakit-main-column {
    grid-column: 1 / span 10;
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.mediakit-reader-card {
    background: #1e1e24;
    border: 2px solid #33333b;
    border-radius: var(--radius, 18px);
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
    position: relative;
}

.mediakit-reader-header {
    background: #121216;
    padding: 14px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #2d2d35;
    flex-wrap: wrap;
    gap: 12px;
}

.mediakit-title-badge {
    display: flex;
    align-items: center;
    gap: 10px;
}

.mediakit-title-badge h1 {
    font-family: "Anton", sans-serif;
    font-weight: 100;
    color: #ffffff;
    font-size: 24px;
    letter-spacing: 0.5px;
    margin: 0;
    line-height: 1;
    text-transform: uppercase;
}

.mediakit-year-tag {
    background: #d32027;
    color: #fff;
    font-weight: 100;
    font-size: 13px;
    padding: 4px 12px;
    border-radius: 20px;
    letter-spacing: 0.5px;
}

.mediakit-toolbar-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

.btn-mediakit-action {
    background: rgba(255, 255, 255, 0.1);
    color: #f1f5f9;
    text-decoration: none;
    padding: 8px 16px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition:
        background 0.2s ease,
        transform 0.15s ease;
    border: 1px solid rgba(255, 255, 255, 0.15);
    cursor: pointer;
}

.btn-mediakit-action:hover {
    background: #d32027;
    color: #fff;
    transform: translateY(-1px);
    border-color: #d32027;
}

.btn-mediakit-action.btn-contact-adv {
    background: #075ba8;
    border-color: #075ba8;
}

.btn-mediakit-action.btn-contact-adv:hover {
    background: #ffd700;
    color: #111;
    border-color: #ffd700;
}

.mediakit-iframe-wrapper {
    position: relative;
    width: 100%;
    padding-top: 66%;
    /* Aspect ratio óptimo para flipbook */
    min-height: 650px;
    background: #18181b;
}

.mediakit-iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

/* Columna de Publicidad Lateral */
.mediakit-side-ad {
    grid-column: 11 / span 2;
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.mediakit-side-ad-card {
    display: block;
    width: 100%;
    border-radius: var(--radius, 18px);
    overflow: hidden;
    border: 2px solid var(--border, #d8d8d8);
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.08);
    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease;
}

.mediakit-side-ad-card:hover {
    transform: scale(1.015);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.mediakit-side-ad-card img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: contain;
}

/* Adaptabilidad Responsiva */
@media (max-width: 1199px) {
    .mediakit-section {
        display: flex !important;
        flex-direction: column !important;
        gap: 24px;
    }

    .mediakit-main-column {
        grid-column: auto !important;
        width: 100% !important;
    }

    .mediakit-side-ad {
        display: none !important;
    }

    .mediakit-iframe-wrapper {
        min-height: 540px;
        padding-top: 70%;
    }
}

@media (max-width: 767px) {
    .mediakit-iframe-wrapper {
        min-height: 460px;
        padding-top: 85%;
    }

    .mediakit-title-badge h1 {
        font-size: 19px;
    }

    .mediakit-reader-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }

    .mediakit-toolbar-actions {
        width: 100%;
        justify-content: flex-start;
        flex-wrap: wrap;
        gap: 8px;
    }

    .btn-mediakit-action {
        font-size: 12px;
        padding: 6px 12px;
    }

    .mediakit-side-ad {
        display: none !important;
        /* Ocultar publicidad lateral en móviles */
    }
}
