/* TiquiciaNoticias CMS v2.5 - Multimedia responsive + image viewer */
.tn-media-block { margin: 18px 0 24px; width:100%; }
.tn-media-shell { position:relative; width:100%; background:#000; overflow:hidden; }
.tn-media-shell.tn-ratio-16x9 { aspect-ratio:16/9; }
.tn-media-shell video, .tn-media-shell iframe { display:block; width:100% !important; height:100% !important; border:0; object-fit:contain; background:#000; }
.tn-media-caption { margin-top:7px; font-size:13px; color:#666; }
.tn-media-error { padding:15px; background:#fff3cd; border:1px solid #ffeeba; color:#856404; }
.tn-embed-share { margin:10px 0 20px; padding:10px 12px; background:#f7f7f7; border:1px solid #ddd; font-size:12px; overflow-wrap:anywhere; }

/* Any image inserted in News Content stays inside the article column. */
.news-content-safe img { max-width:100% !important; width:auto !important; height:auto !important; display:block; margin:12px auto; cursor:zoom-in; }
.news-content-safe figure { max-width:100% !important; }
.news-content-safe iframe, .news-content-safe video, .news-content-safe object, .news-content-safe embed { max-width:100% !important; }
.news-content-safe iframe, .news-content-safe video { width:100%; }

/* Lightweight original-size image viewer. */
.tn-image-lightbox { position:fixed; inset:0; z-index:99999; display:none; background:rgba(0,0,0,.92); padding:30px; align-items:center; justify-content:center; }
.tn-image-lightbox.is-open { display:flex; }
.tn-image-lightbox img { max-width:96vw; max-height:92vh; width:auto; height:auto; object-fit:contain; box-shadow:0 0 18px rgba(0,0,0,.45); }
.tn-image-lightbox-close { position:fixed; top:12px; right:18px; width:44px; height:44px; border:0; border-radius:50%; background:#fff; color:#111; font-size:30px; line-height:40px; cursor:pointer; z-index:100000; }
.tn-image-lightbox-hint { position:fixed; bottom:10px; left:0; right:0; color:#fff; text-align:center; font-size:12px; }
@media (max-width:600px) { .tn-image-lightbox { padding:12px; } .tn-media-block { margin:12px 0 18px; } }

/* TiquiciaNoticias v2.5.7 - HTML/Banners inserted from News Content */
.news-content-safe .tn-html-banner {
    display:block;
    width:100%;
    max-width:100%;
    overflow:hidden;
    box-sizing:border-box;
    margin:15px auto;
    text-align:center;
}
.news-content-safe .tn-html-banner iframe,
.news-content-safe .tn-html-banner img,
.news-content-safe .tn-html-banner video,
.news-content-safe .tn-html-banner object,
.news-content-safe .tn-html-banner embed,
.news-content-safe .tn-html-banner canvas,
.news-content-safe .tn-html-banner table {
    max-width:100% !important;
    box-sizing:border-box !important;
}
.news-content-safe .tn-html-banner iframe {
    width:100% !important;
    border:0;
}
