/**
 * mu-plugins.css — CSS consolidado de mu-plugins (F1-06, F1-07)
 *
 * Extraído de:
 *  - mu-plugins/sde-facetags.php  (is_singular('facetag') only)
 *  - mu-plugins/audio-embed.php   (is_singular() only — clases .sde-audio-embed legacy)
 *  - mu-plugins/imgcaption.php    (is_singular() only)
 *
 * Encolado condicionalmente en enqueue.php solo en singulares.
 *
 * @see themes/ID-2026/functions/enqueue.php  (informe_enqueue_mu_plugins_css)
 */

/* ============================================================
   Facetags — imagen del facetag (solo singular 'facetag')
   ============================================================ */
.imagen-facetag-wrapper {
    margin: 30px 0;
    text-align: center;
}
.imagen-facetag {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
    border-radius: 4px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}
.imagen-facetag-caption {
    margin-top: 15px;
    font-size: 16px;
    font-weight: bold;
    color: #333;
}
.facetag-no-image {
    padding: 20px;
    background: #f5f5f5;
    border-radius: 4px;
    text-align: center;
    color: #999;
}

/* ============================================================
   Audio Embed legacy — clases .sde-audio-embed (is_singular)
   ============================================================ */
.sde-audio-embed {
    margin: 1rem 0;
    max-width: 100%;
    display: grid;
    gap: 12px;
    align-items: start;
}
.sde-audio-embed.has-cover {
    grid-template-columns: 120px 1fr;
}
.sde-audio-cover {
    width: 120px;
    height: 84px;
    object-fit: cover;
    border-radius: 10px;
    border: 1px solid #e2e8f0;
    display: block;
}
.sde-audio-body {
    min-width: 0;
}
.sde-audio-title {
    font-weight: 700;
    margin: 0 0 .5rem 0;
    color: #0f172a;
    line-height: 1.35;
}
.sde-audio-embed audio,
.sde-audio-embed .wp-audio-shortcode {
    width: 100%;
    max-width: 100%;
}
@media (max-width: 640px) {
    .sde-audio-embed.has-cover {
        grid-template-columns: 1fr;
    }
    .sde-audio-cover {
        width: 100%;
        height: auto;
        max-width: 320px;
    }
}

/* ============================================================
   Imgcaption — figuras con pie de foto (is_singular)
   ============================================================ */
.informe-figure {
    margin: 1.5rem 0;
    max-width: 100%;
}
.informe-figure img {
    display: block;
    max-width: 100%;
    height: auto;
}
.informe-caption {
    margin-top: 0.5rem;
    font-size: 0.875rem;
    color: var(--color-gray-600, #666);
    line-height: 1.4;
}
