/*
|--------------------------------------------------------------------------
| Caja destacada
|--------------------------------------------------------------------------
*/

.preview-highlight-block {
    margin: 28px 0;
    padding: 24px 26px;
    border-left: 7px solid;
    border-radius: 14px;
    box-shadow:
        0 10px 28px rgba(15, 23, 42, 0.08);
}

.preview-highlight-title {
    display: block;
    margin: 0 0 10px;
    font-size: 1.15rem;
    font-weight: 800;
    line-height: 1.35;
}

.preview-highlight-content {
    margin: 0;
    font-size: 1rem;
    line-height: 1.75;
    color: #263244;
}

/*
|--------------------------------------------------------------------------
| Información
|--------------------------------------------------------------------------
*/

.preview-highlight-info {
    border-left-color: #006fd6;
    background: #eef7ff;
}

.preview-highlight-info .preview-highlight-title {
    color: #005bb5;
}

/*
|--------------------------------------------------------------------------
| Importante
|--------------------------------------------------------------------------
*/

.preview-highlight-important,
.preview-highlight-warning {
    border-left-color: #d59000;
    background: #fff8e6;
}

.preview-highlight-important .preview-highlight-title,
.preview-highlight-warning .preview-highlight-title {
    color: #9a6500;
}

/*
|--------------------------------------------------------------------------
| Urgente
|--------------------------------------------------------------------------
*/

.preview-highlight-urgent,
.preview-highlight-breaking {
    border-left-color: #c62828;
    background: #fff1f1;
}

.preview-highlight-urgent .preview-highlight-title,
.preview-highlight-breaking .preview-highlight-title {
    color: #a51d1d;
}

/*
|--------------------------------------------------------------------------
| Responsive
|--------------------------------------------------------------------------
*/

@media (max-width: 767px) {

    .preview-highlight-block {
        margin: 22px 0;
        padding: 20px 18px;
        border-left-width: 6px;
        border-radius: 12px;
    }

    .preview-highlight-title {
        font-size: 1.05rem;
    }

    .preview-highlight-content {
        font-size: 0.97rem;
        line-height: 1.65;
    }

}
/*
|--------------------------------------------------------------------------
| Multimedia adaptable en la vista previa completa
|--------------------------------------------------------------------------
*/

/*
|--------------------------------------------------------------------------
| Imagen de portada
|--------------------------------------------------------------------------
*/

.preview-cover {
    width: 100%;
    height: auto;
    max-height: 520px;
    display: block;
    object-fit: contain;
    object-position: center;
    background: #eef2f6;
}

/*
|--------------------------------------------------------------------------
| Imagen individual
|--------------------------------------------------------------------------
*/

.full-preview-single-image {
    width: 100%;
    max-width: 900px;
    margin: 32px auto;
}

.full-preview-single-image-element {
    width: 100%;
    max-width: 900px;
    height: auto;
    max-height: 540px;
    display: block;
    margin: 0 auto;
    border-radius: 12px;
    object-fit: contain;
    object-position: center;
    background: #eef2f6;
}

/*
|--------------------------------------------------------------------------
| Galería
|--------------------------------------------------------------------------
*/

.full-preview-gallery-carousel {
    width: 100%;
    max-width: 960px;
    margin: 34px auto;
}

.full-preview-gallery-viewport {
    width: 100%;
    height: clamp(
        340px,
        55vw,
        560px
    );
    min-height: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border-radius: 14px;
    background: #eef2f6;
}

.full-preview-gallery-current-image {
    width: 100%;
    height: 100%;
    max-width: 100%;
    max-height: 100%;
    display: block;
    margin: 0 auto;
    object-fit: contain;
    object-position: center;
}

/*
|--------------------------------------------------------------------------
| Video subido
|--------------------------------------------------------------------------
*/

.full-preview-video-block {
    width: 100%;
    max-width: 900px;
    margin: 34px auto;
}

.full-preview-video-player {
    width: 100%;
    height: auto;
    max-width: 900px;
    max-height: 520px;
    display: block;
    margin: 0 auto;
    border: 0;
    border-radius: 12px;
    object-fit: contain;
    background: #000000;
}

/*
|--------------------------------------------------------------------------
| YouTube
|--------------------------------------------------------------------------
*/

.full-preview-youtube-block {
    width: 100%;
    max-width: 900px;
    margin: 34px auto;
}

.full-preview-youtube-frame {
    position: relative;
    width: 100%;
    max-width: 900px;
    aspect-ratio: 16 / 9;
    margin: 0 auto;
    overflow: hidden;
    border-radius: 12px;
    background: #000000;
}

.full-preview-youtube-frame iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    display: block;
    border: 0;
}

/*
|--------------------------------------------------------------------------
| Audio
|--------------------------------------------------------------------------
*/

.full-preview-audio-block {
    width: 100%;
    max-width: 760px;
    margin: 32px auto;
}

.full-preview-audio-title {
    margin: 0 0 14px;
    color: #20242a;
    font-size: 1.2rem;
    line-height: 1.4;
}

.full-preview-audio-player {
    width: 100%;
    max-width: 620px;
    display: block;
}

/*
|--------------------------------------------------------------------------
| Epígrafes multimedia
|--------------------------------------------------------------------------
*/

.full-preview-media-caption {
    width: 100%;
    max-width: 900px;
    margin: 12px auto 0;
    color: #6d7784;
    font-size: .92rem;
    line-height: 1.55;
    text-align: center;
    overflow-wrap: anywhere;
}

/*
|--------------------------------------------------------------------------
| Tablet
|--------------------------------------------------------------------------
*/

@media (max-width: 900px) {

    .preview-cover {
        max-height: 460px;
    }

    .full-preview-single-image,
    .full-preview-gallery-carousel,
    .full-preview-video-block,
    .full-preview-youtube-block {
        max-width: 100%;
    }

    .full-preview-single-image-element,
    .full-preview-video-player {
        max-height: 460px;
    }

    .full-preview-gallery-viewport {
        height: clamp(
            300px,
            62vw,
            480px
        );
    }
}

/*
|--------------------------------------------------------------------------
| Celular
|--------------------------------------------------------------------------
*/

@media (max-width: 600px) {

    .preview-cover {
        max-height: 360px;
    }

    .full-preview-single-image,
    .full-preview-gallery-carousel,
    .full-preview-video-block,
    .full-preview-youtube-block,
    .full-preview-audio-block {
        margin-top: 24px;
        margin-bottom: 24px;
    }

    .full-preview-single-image-element {
        max-height: 380px;
        border-radius: 9px;
    }

    .full-preview-gallery-viewport {
        height: clamp(
            230px,
            75vw,
            390px
        );
        border-radius: 9px;
    }

    .full-preview-video-player {
        max-height: 390px;
        border-radius: 9px;
    }

    .full-preview-youtube-frame {
        border-radius: 9px;
    }

    .full-preview-audio-player {
        max-width: 100%;
    }

    .full-preview-media-caption {
        padding: 0 4px;
        font-size: .85rem;
    }
}