*{box-sizing:border-box}
:root{
  --blue-950:#041c31;
  --blue-900:#073151;
  --blue-800:#0a4772;
  --blue-700:#12669a;
  --gold:#f1ad2b;
  --green:#68d34f;
  --white:#fff;
  --muted:#c9d7e2;
  --glass:rgba(5,39,65,.78);
  --line:rgba(255,255,255,.16);
}
html{scroll-behavior:smooth}
body{
  margin:0;
  color:var(--white);
  background:
    linear-gradient(180deg,#0d527f 0,#07395e 48%,#041f36 100%);
  font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
}
a{color:inherit;text-decoration:none}
img{display:block;width:100%;height:100%;object-fit:cover}
.topbar{
  position:fixed;z-index:1000;top:0;left:0;right:0;
  height:84px;padding:0 6vw;
  display:flex;align-items:center;justify-content:space-between;
  background:linear-gradient(90deg,rgba(5,57,92,.94),rgba(3,43,72,.91));
  border-bottom:1px solid rgba(255,255,255,.12);
  backdrop-filter:blur(14px);
}
.brand{display:flex;align-items:center;gap:12px}
.brand>img{width:60px;height:60px;border-radius:50%;object-fit:contain;background:#fff}
.brand-mark{
  width:55px;height:55px;border-radius:50%;display:grid;place-items:center;
  background:linear-gradient(135deg,#fff,#f3c65e);color:#073151;font-size:28px
}
.brand-copy{display:flex;flex-direction:column;line-height:1}
.brand-copy strong{font-family:Georgia,serif;font-size:21px;letter-spacing:.04em}
.brand-copy b{color:var(--gold);font-size:24px;margin-top:3px}
.brand-copy small{font-size:8px;letter-spacing:.1em;margin-top:4px}
.main-nav{display:flex;align-items:center;gap:36px;font-size:12px;font-weight:800}
.main-nav a{padding:31px 0 27px;border-bottom:2px solid transparent}
.main-nav a:hover,.main-nav a.active{color:#fff;border-color:var(--gold)}
.menu-toggle{display:none;background:none;border:0;color:#fff;font-size:25px}

.hero{
  position:relative;
  min-height:760px;
  padding:150px 5vw 36px;
  overflow:hidden;
}
.hero-bg,.hero-bg::after,.hero-overlay{position:absolute;inset:0}
.hero-photo{
  position:absolute;inset:0;opacity:0;transition:opacity 1.6s ease,transform 12s ease;
  transform:scale(1.02)
}
.hero-photo.active{opacity:1;transform:scale(1.08)}
.hero-overlay{
  background:
    linear-gradient(90deg,rgba(4,28,49,.35),rgba(3,31,54,.08) 50%,rgba(2,26,44,.18)),
    linear-gradient(0deg,rgba(4,28,49,.92),rgba(4,28,49,.05) 55%);
}
.hero-layout{
  position:relative;z-index:3;
  display:grid;grid-template-columns:minmax(0,1.18fr) minmax(380px,.82fr);
  gap:44px;align-items:center;
}
.hero-copy{padding:10px 0 0 1vw;max-width:760px;text-shadow:0 2px 18px rgba(0,0,0,.28)}
.eyebrow{color:var(--gold);font-size:13px;font-weight:900;letter-spacing:.13em}
.hero h1{
  font-family:Georgia,"Times New Roman",serif;
  font-size:clamp(48px,5.7vw,86px);line-height:.9;font-weight:400;
  margin:18px 0 18px;letter-spacing:-.035em
}
.hero h1 em{font-style:normal;color:var(--gold);font-weight:700}
.hero-copy>p{max-width:650px;font-size:20px;line-height:1.45;margin:0 0 28px}
.hero-actions{display:flex;gap:16px;flex-wrap:wrap}
.btn{
  display:inline-flex;align-items:center;justify-content:center;
  min-height:54px;padding:0 25px;border-radius:7px;font-size:13px;font-weight:900;
  border:1px solid rgba(255,255,255,.55);box-shadow:0 8px 28px rgba(0,0,0,.18)
}
.btn-primary{background:linear-gradient(180deg,#ffc347,#eba51f);color:#071d2d;border:0}
.btn-ghost{background:rgba(5,43,71,.42);backdrop-filter:blur(10px)}
.live-card{
  padding:17px;border-radius:18px;background:linear-gradient(135deg,rgba(7,54,88,.88),rgba(3,31,53,.9));
  border:1px solid rgba(255,255,255,.48);box-shadow:0 25px 70px rgba(0,0,0,.28);
  backdrop-filter:blur(14px)
}
.live-card-head{display:flex;justify-content:space-between;align-items:center;gap:12px}
.badge-live,.badge-stable{
  padding:8px 12px;border-radius:7px;font-size:12px;font-weight:900
}
.badge-live{background:#d92a28}
.badge-stable{background:rgba(18,88,70,.92);color:#dfffd9}
.live-title{display:flex;flex-direction:column;margin:19px 0 12px}
.live-title strong{font-size:20px}
.live-title small{color:#d5e1ea;margin-top:4px}
.live-body{display:grid;grid-template-columns:155px 1fr;gap:18px;align-items:center}
.live-modes{display:grid;grid-template-columns:repeat(3,1fr);gap:4px}
.live-modes div{
  display:flex;flex-direction:column;align-items:center;gap:6px;
  padding:11px 3px;border-right:1px solid rgba(255,255,255,.16)
}
.live-modes div:last-child{border-right:0}
.live-modes span{font-size:24px;color:var(--gold)}
.live-modes small{font-size:10px;font-weight:800}
.player-mini{
  position:relative;min-height:170px;border-radius:12px;overflow:hidden;background:#021522
}
.player-mini video{position:absolute;inset:0}
.play-circle{
  position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);
  width:70px;height:70px;border-radius:50%;display:grid;place-items:center;
  background:rgba(1,24,40,.64);border:2px solid rgba(255,255,255,.9);
  color:#fff;font-size:28px;cursor:pointer;z-index:4;
  box-shadow:0 8px 30px rgba(0,0,0,.35);transition:.2s ease
}
.play-circle:hover{transform:translate(-50%,-50%) scale(1.08);background:rgba(241,173,43,.92);color:#071d2d}
.player-unconfigured{
  position:absolute;left:14px;right:14px;bottom:14px;
  padding:12px 14px;border-radius:10px;background:rgba(3,29,49,.78);
  backdrop-filter:blur(8px);display:flex;flex-direction:column;gap:3px
}
.player-unconfigured strong{font-size:13px}
.player-unconfigured small{font-size:10px;color:#d5e1ea}
.player-placeholder{height:170px;display:grid;place-items:center;padding:20px;color:#d8e3ea;text-align:center}

.category-strip{
  position:relative;z-index:4;
  display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));
  gap:14px;margin-top:36px
}
.category-card{
  position:relative;min-height:145px;border-radius:13px;overflow:hidden;
  border:1px solid rgba(255,255,255,.45);background:#082f50;
  box-shadow:0 14px 30px rgba(0,0,0,.2);transition:.25s ease
}
.category-card:hover{transform:translateY(-5px);border-color:var(--gold)}
.category-image{position:absolute;inset:0}
.category-shade{position:absolute;inset:0;background:linear-gradient(0deg,rgba(2,27,46,.98),rgba(2,27,46,.08) 70%)}
.category-icon{
  position:absolute;left:14px;top:12px;width:48px;height:48px;border-radius:50%;
  display:grid;place-items:center;background:linear-gradient(135deg,#356cff,#8c45f3);
  box-shadow:0 8px 20px rgba(0,0,0,.25);font-size:20px
}
.category-card:nth-child(3n+2) .category-icon{background:linear-gradient(135deg,#0fa6ff,#3167ed)}
.category-card:nth-child(3n) .category-icon{background:linear-gradient(135deg,#12be82,#167f61)}
.category-card:nth-child(4n) .category-icon{background:linear-gradient(135deg,#ffb23f,#f27b17)}
.category-copy{position:absolute;left:14px;bottom:13px;display:flex;flex-direction:column;gap:3px}
.category-copy strong{font-size:15px}
.category-copy small{font-size:11px;color:#d7e3ea}
.category-arrow{position:absolute;right:12px;bottom:18px;font-size:27px}

.featured-section,.dynamic-sections,.identity-gallery{
  padding:34px 5vw 42px;
  background:linear-gradient(180deg,#07385d,#052b49);
}
.section-title{display:flex;align-items:center;gap:18px;margin-bottom:20px}
.section-title h2{
  margin:0;font-family:Georgia,serif;font-size:30px;font-weight:400
}
.section-title>span{width:48px;height:2px;background:var(--gold)}
.section-title>a{margin-left:auto;font-size:11px;font-weight:900;color:#fff}
.featured-grid,.content-grid{
  display:grid;grid-template-columns:repeat(auto-fit,minmax(210px,1fr));gap:15px
}
.featured-card,.content-card{
  overflow:hidden;border-radius:10px;background:#083757;border:1px solid rgba(255,255,255,.22);
  transition:.22s ease
}
.featured-card:hover,.content-card:hover{transform:translateY(-4px);border-color:var(--gold)}
.featured-image,.content-image{position:relative;height:145px}
.content-label,.content-image>span{
  position:absolute;left:9px;top:9px;padding:5px 8px;border-radius:5px;
  background:#12a05b;font-size:9px;font-weight:900
}
.featured-card:nth-child(3n+2) .content-label{background:#2f7ef4}
.featured-card:nth-child(3n) .content-label{background:#63a72a}
.featured-copy,.content-copy{display:flex;flex-direction:column;gap:5px;padding:12px}
.featured-copy strong,.content-copy strong{font-size:14px}
.featured-copy small,.content-copy small{color:#cddce6;font-size:11px;line-height:1.35}
.content-section{
  margin:0 auto 28px;padding:28px;border-radius:20px;
  background:linear-gradient(135deg,rgba(10,72,114,.76),rgba(6,48,80,.8));
  border:1px solid rgba(255,255,255,.14)
}
.content-section-head{display:flex;align-items:end;justify-content:space-between;gap:20px}
.content-section-head h2{font-family:Georgia,serif;font-size:36px;margin:5px 0 0;font-weight:400}
.content-section-head p{color:#d4e0e8;max-width:700px}
.content-section-head>a{font-size:11px;font-weight:900;color:var(--gold)}
.chips{display:flex;flex-wrap:wrap;gap:8px;margin:18px 0}
.chips span{
  padding:7px 11px;border-radius:999px;background:rgba(255,255,255,.1);
  border:1px solid rgba(255,255,255,.15);font-size:11px
}
.empty-content{padding:25px;border:1px dashed rgba(255,255,255,.25);border-radius:10px;color:#d5e2ea}

.identity-gallery{background:#062b48}
.gallery-row{display:grid;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:10px}
.gallery-row figure{margin:0;height:140px;overflow:hidden;border-radius:9px;border:1px solid rgba(255,255,255,.16)}
.identity-band{
  display:grid;grid-template-columns:repeat(4,1fr) 2fr;align-items:center;
  gap:0;padding:30px 5vw;
  background:linear-gradient(90deg,#16395b,#0d3151 65%,#082843);
  border-top:1px solid rgba(255,255,255,.16)
}
.identity-band>div{
  display:flex;align-items:center;justify-content:center;gap:13px;min-height:58px;
  border-right:1px solid rgba(255,255,255,.22)
}
.identity-band span{font-size:31px}
.identity-band strong{font-size:13px}
.identity-band blockquote{
  margin:0;padding-left:38px;font-family:Georgia,serif;font-size:23px;font-style:italic;
  line-height:1.1;transform:rotate(-2deg)
}
.identity-band blockquote strong{font-size:25px;color:#fff}
footer{
  display:grid;grid-template-columns:1.4fr 1fr 1fr;gap:24px;padding:34px 5vw;
  background:#031d31;border-top:1px solid rgba(255,255,255,.1)
}
.footer-brand{display:flex;flex-direction:column;gap:5px}
.footer-brand>strong{font-family:Georgia,serif;font-size:20px}
.footer-brand b{color:var(--gold)}
.footer-brand small{color:#bacbd7}
.footer-links,.footer-social{display:flex;gap:18px;align-items:center;justify-content:flex-end;font-size:12px}
.footer-links a:hover,.footer-social a:hover{color:var(--gold)}

@media(max-width:1000px){
  .main-nav{gap:18px}
  .hero-layout{grid-template-columns:1fr}
  .live-card{max-width:720px}
  .identity-band{grid-template-columns:repeat(2,1fr)}
  .identity-band blockquote{grid-column:1/-1;text-align:center;padding:24px 0 0}
}
@media(max-width:760px){
  .topbar{height:72px;padding:0 4vw}
  .main-nav{display:none;position:absolute;top:72px;left:0;right:0;background:#063657;padding:18px;flex-direction:column;gap:5px}
  .main-nav.open{display:flex}
  .main-nav a{padding:10px;border:0}
  .menu-toggle{display:block}
  .brand-copy strong{font-size:16px}.brand-copy b{font-size:18px}
  .hero{padding:120px 4vw 28px;min-height:auto}
  .hero h1{font-size:53px}
  .hero-copy>p{font-size:17px}
  .live-body{grid-template-columns:1fr}
  .live-modes{max-width:320px}
  .category-strip{grid-template-columns:repeat(2,1fr)}
  .featured-section,.dynamic-sections,.identity-gallery{padding-left:4vw;padding-right:4vw}
  .content-section{padding:20px}
  .identity-band{grid-template-columns:1fr 1fr;padding:24px 4vw}
  footer{grid-template-columns:1fr}
  .footer-links,.footer-social{justify-content:flex-start;flex-wrap:wrap}
}


/* Corrección reproductor AATV */
.player-mini video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    background: #000;
}

/* Fuente actualmente al aire */
.on-air-source {
    margin-top: 12px;
    display: inline-flex;
    flex-direction: column;
    gap: 2px;
    padding: 8px 12px;
    width: fit-content;
    border-left: 3px solid var(--gold);
    background: rgba(2, 29, 49, .38);
    border-radius: 0 7px 7px 0;
}

.on-air-source span {
    color: #bcd1df;
    font-size: 9px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .08em;
}

.on-air-source strong {
    color: #fff;
    font-size: 12px;
}

/* AATV CONTACT MODULE */

.contact-section {
  position: relative;
  padding: 72px 5%;
  background:
    linear-gradient(
      135deg,
      var(--primary),
      var(--secondary)
    );
  color: var(--text);
}

.contact-shell {
  width: min(1180px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns:
    minmax(0, 0.9fr)
    minmax(0, 1.1fr);
  gap: 56px;
  align-items: start;
}

.contact-info h2 {
  margin: 8px 0 18px;
  font-size: clamp(2rem, 4vw, 3.4rem);
}

.contact-info > p {
  max-width: 560px;
  line-height: 1.7;
  opacity: 0.86;
}

.contact-cards {
  margin-top: 30px;
  display: grid;
  gap: 14px;
}

.contact-card {
  display: flex;
  gap: 16px;
  align-items: center;
  padding: 18px;
  border: 1px solid rgba(255,255,255,.13);
  border-radius: 14px;
  background: rgba(255,255,255,.06);
  color: var(--text);
  text-decoration: none;
  transition:
    transform .18s ease,
    border-color .18s ease,
    background .18s ease;
}

.contact-card:hover {
  transform: translateY(-2px);
  border-color: var(--accent);
  background: rgba(255,255,255,.09);
}

.contact-card small,
.contact-card strong {
  display: block;
}

.contact-card small {
  opacity: .65;
  margin-bottom: 4px;
}

.contact-card strong {
  word-break: break-word;
}

.contact-icon {
  width: 46px;
  height: 46px;
  flex: 0 0 46px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--accent);
  color: #111;
  font-size: 1.35rem;
  font-weight: 900;
}

.contact-form-panel {
  padding: 30px;
  background: rgba(5,17,28,.78);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 20px;
  box-shadow: 0 18px 50px rgba(0,0,0,.28);
}

.contact-form-panel h3 {
  margin: 0 0 22px;
  font-size: 1.55rem;
}

.contact-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.contact-field {
  margin-bottom: 16px;
}

.contact-field label {
  display: block;
  margin-bottom: 7px;
  font-size: .86rem;
  font-weight: 700;
  letter-spacing: .02em;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  box-sizing: border-box;
  padding: 13px 14px;
  border-radius: 9px;
  border: 1px solid rgba(255,255,255,.16);
  outline: none;
  background: rgba(255,255,255,.075);
  color: #fff;
  font: inherit;
  transition:
    border-color .18s ease,
    background .18s ease;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: var(--accent);
  background: rgba(255,255,255,.1);
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: rgba(255,255,255,.46);
}

.contact-form textarea {
  resize: vertical;
  min-height: 145px;
}

.contact-submit {
  border: 0;
  cursor: pointer;
  margin-top: 4px;
}

.contact-success,
.contact-error {
  padding: 14px 16px;
  margin-bottom: 20px;
  border-radius: 10px;
  line-height: 1.45;
}

.contact-success {
  background: rgba(39,174,96,.16);
  border: 1px solid rgba(39,174,96,.48);
}

.contact-error {
  background: rgba(220,53,69,.15);
  border: 1px solid rgba(220,53,69,.42);
}

.field-error {
  display: block;
  margin-top: 5px;
  color: #ffb8b8;
}

.whatsapp-float {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 999;
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #25d366;
  color: #fff;
  text-decoration: none;
  font-size: 1.8rem;
  font-weight: 900;
  box-shadow: 0 10px 30px rgba(0,0,0,.35);
  transition:
    transform .18s ease,
    box-shadow .18s ease;
}

.whatsapp-float:hover {
  transform: scale(1.08);
  box-shadow: 0 12px 34px rgba(0,0,0,.42);
}

@media (max-width: 850px) {
  .contact-shell {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .contact-row {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .contact-section {
    padding: 54px 20px;
  }

  .contact-form-panel {
    padding: 22px;
  }

  .whatsapp-float {
    right: 16px;
    bottom: 16px;
  }
}


/* Icono WhatsApp */
.whatsapp-icon-svg {
  width: 30px;
  height: 30px;
  display: block;
}

.contact-icon-whatsapp {
  background: #25d366;
  color: #fff;
}

.whatsapp-logo {
  display: grid;
  place-items: center;
}

.whatsapp-float .whatsapp-icon-svg {
  width: 34px;
  height: 34px;
  color: #fff;
}


/* ===== WhatsApp icon real ===== */

.contact-icon-whatsapp {
  background: #25d366 !important;
  color: #fff !important;
}

.wa-glyph,
.wa-float-glyph {
  display: inline-block;
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  background-image: url("data:image/svg+xml;utf8,\
<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32'>\
<path fill='white' d='M19.11 17.21c-.27-.13-1.58-.78-1.83-.87-.24-.09-.42-.13-.6.14-.18.27-.69.87-.85 1.05-.15.18-.31.2-.58.07-.27-.13-1.13-.42-2.16-1.35-.8-.71-1.35-1.58-1.5-1.85-.16-.27-.02-.41.11-.55.12-.12.27-.31.4-.47.13-.16.18-.27.27-.45.09-.18.04-.34-.02-.47-.07-.13-.6-1.45-.82-1.98-.22-.53-.44-.45-.6-.46h-.51c-.18 0-.47.07-.71.34-.25.27-.94.92-.94 2.24 0 1.31.96 2.58 1.09 2.76.13.18 1.89 2.89 4.57 4.05.64.28 1.14.44 1.53.56.64.2 1.22.17 1.68.1.51-.08 1.58-.65 1.8-1.28.22-.62.22-1.16.15-1.27-.07-.11-.24-.18-.51-.31z'/>\
<path fill='white' d='M16.01 5.33c-5.82 0-10.55 4.67-10.55 10.42 0 1.84.49 3.64 1.43 5.22L5.33 26.7l5.92-1.54a10.6 10.6 0 0 0 4.76 1.13h.01c5.82 0 10.55-4.67 10.55-10.42S21.84 5.33 16.01 5.33zm0 19.18h-.01a8.84 8.84 0 0 1-4.5-1.23l-.32-.19-3.51.91.94-3.41-.21-.35a8.62 8.62 0 0 1-1.32-4.57c0-4.76 3.92-8.64 8.74-8.64 4.82 0 8.74 3.88 8.74 8.64 0 4.76-3.92 8.64-8.73 8.64z'/>\
</svg>");
}

.wa-glyph {
  width: 26px;
  height: 26px;
}

.wa-float-glyph {
  width: 34px;
  height: 34px;
}

.whatsapp-float {
  background: linear-gradient(180deg, #4ee96f 0%, #11c63f 100%) !important;
  color: #fff !important;
}

.whatsapp-float:hover {
  transform: scale(1.08);
}

/* limpiar estilos viejos si quedaron */
.whatsapp-logo,
.whatsapp-icon-svg {
  display: none !important;
}

/* ===== Detalle de publicaciones responsive ===== */

.detail-container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 24px;
    box-sizing: border-box;
    overflow: hidden;
}

    display: block;
    width: 100%;
    max-width: 100%;
    height: auto;
    margin: 0 auto 24px;
    object-fit: contain;

.detail-image {
    display: block;
    width: 100%;
    max-width: 800px;
    max-height: 520px;
    height: auto;
    margin: 24px auto 30px;
    object-fit: contain;
}


.detail-video {
    display: block;
    width: 100%;
    max-width: 100%;
    height: auto;
    aspect-ratio: 16 / 9;
    margin: 0 auto 24px;
    object-fit: contain;
    background: #000;
}

.detail-body {
    max-width: 100%;
    overflow-wrap: break-word;
}

@media (max-width: 768px) {
    .detail-container {
        padding: 14px;
    }
}



/* ==========================================================
   DETALLE DE PUBLICACIÓN - TEXTO + PRESENTACIÓN
   ========================================================== */

.detail-container {
    max-width: 1500px;
    margin: 0 auto;
    padding-left: 32px;
    padding-right: 32px;
    padding-bottom: 60px;
}

.publication-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.6fr) minmax(350px, .8fr);
    gap: 42px;
    align-items: start;
}

.publication-content {
    min-width: 0;
}

.publication-gallery {
    min-width: 0;
}

.gallery-card {
    position: sticky;
    top: 25px;
}

.gallery-stage {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    background: #071b26;
    box-shadow: 0 10px 30px rgba(0,0,0,.25);
}

.gallery-slide {
    display: none;
    margin: 0;
}

.gallery-slide.active {
    display: block;
}

.gallery-slide img {
    display: block;
    width: 100%;
    max-height: 580px;
    object-fit: contain;
    background: #071b26;
}

.gallery-slide figcaption {
    padding: 10px 14px;
    font-size: 14px;
    line-height: 1.4;
    color: #e8edf0;
    background: rgba(0,0,0,.65);
}

.gallery-controls {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 18px;
    margin-top: 10px;
}

.gallery-controls button {
    width: 42px;
    height: 42px;
    border: 0;
    border-radius: 50%;
    background: rgba(255,255,255,.13);
    color: #fff;
    font-size: 28px;
    cursor: pointer;
}

.gallery-controls button:hover {
    background: rgba(255,255,255,.25);
}

.gallery-counter {
    min-width: 55px;
    text-align: center;
    font-size: 14px;
}

.gallery-thumbnails {
    display: flex;
    gap: 8px;
    margin-top: 12px;
    overflow-x: auto;
    padding-bottom: 8px;
}

.gallery-thumb {
    flex: 0 0 76px;
    width: 76px;
    height: 56px;
    padding: 0;
    overflow: hidden;
    border: 2px solid transparent;
    border-radius: 5px;
    background: transparent;
    cursor: pointer;
    opacity: .6;
}

.gallery-thumb.active {
    opacity: 1;
    border-color: #ffffff;
}

.gallery-thumb img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

.rich-content {
    font-size: 18px;
    line-height: 1.7;
}

.rich-content p {
    margin: 0 0 18px;
}

.rich-content h2 {
    margin: 30px 0 12px;
    font-size: 28px;
    line-height: 1.25;
}

.rich-content h3 {
    margin: 26px 0 10px;
    font-size: 23px;
}

.rich-content ul,
.rich-content ol {
    padding-left: 28px;
    margin: 15px 0 22px;
}

.rich-content a {
    text-decoration: underline;
}

.detail-summary {
    margin-bottom: 25px;
    font-size: 20px;
    line-height: 1.55;
}

.detail-video {
    width: 100%;
    max-width: 100%;
    margin: 10px 0 25px;
    border-radius: 8px;
}


/* TABLET Y TELÉFONO */

@media (max-width: 900px) {

    .detail-container {
        padding-left: 18px;
        padding-right: 18px;
    }

    .publication-layout {
        display: flex;
        flex-direction: column;
        gap: 25px;
    }

    .publication-gallery {
        order: -1;
        width: 100%;
    }

    .gallery-card {
        position: static;
    }

    .gallery-slide img {
        max-height: 500px;
    }

    .rich-content {
        font-size: 17px;
    }

    .detail-summary {
        font-size: 18px;
    }
}

/* =========================================================
   CORRECCION PUBLICACION MULTIMEDIA AATV
   ========================================================= */

.detail-page {
    width: 100%;
    margin: 0;
}

.detail-container {
    width: calc(100% - 60px) !important;
    max-width: 1500px !important;
    margin: 0 auto !important;
    padding: 30px !important;
    box-sizing: border-box;
}

.detail-container h1 {
    width: 100%;
    margin: 0 0 25px;
    font-size: clamp(30px, 3vw, 48px);
    line-height: 1.1;
}

.publication-layout {
    width: 100% !important;
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) 440px !important;
    gap: 40px !important;
    align-items: start !important;
}

.publication-content {
    width: 100% !important;
    min-width: 0 !important;
}

.publication-gallery {
    width: 440px !important;
    max-width: 100% !important;
}

.gallery-card {
    width: 100% !important;
    position: sticky !important;
    top: 20px !important;
}

/* PRESENTACION */

.gallery-stage {
    width: 100% !important;
    height: 560px !important;
    position: relative !important;
    overflow: hidden !important;
    background: #071b26 !important;
    border-radius: 10px !important;
}

/* MUY IMPORTANTE:
   solamente se muestra UNA imagen */

.gallery-slide {
    display: none !important;
    width: 100% !important;
    height: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
}

.gallery-slide.active {
    display: flex !important;
    flex-direction: column !important;
}

.gallery-slide img {
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    min-height: 0 !important;
    object-fit: contain !important;
    object-position: center !important;
}

.gallery-slide figcaption {
    flex: 0 0 auto;
    padding: 10px 14px !important;
    font-size: 14px !important;
    line-height: 1.4 !important;
}

/* CONTROLES */

.gallery-controls {
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    gap: 20px !important;
    margin: 12px 0 !important;
}

.gallery-controls button {
    width: 42px !important;
    height: 42px !important;
    padding: 0 !important;
    font-size: 26px !important;
}

/* MINIATURAS */

.gallery-thumbnails {
    width: 100% !important;
    display: flex !important;
    flex-wrap: nowrap !important;
    gap: 7px !important;
    overflow-x: auto !important;
    padding: 5px 0 10px !important;
}

.gallery-thumb {
    display: block !important;
    flex: 0 0 70px !important;
    width: 70px !important;
    height: 52px !important;
    min-width: 70px !important;
    max-width: 70px !important;
    padding: 0 !important;
    margin: 0 !important;
    overflow: hidden !important;
}

.gallery-thumb img {
    display: block !important;
    width: 70px !important;
    height: 52px !important;
    object-fit: cover !important;
}

/* TEXTO */

.detail-summary {
    font-size: 20px !important;
    line-height: 1.55 !important;
    margin-bottom: 25px !important;
}

.detail-body,
.rich-content {
    font-size: 18px !important;
    line-height: 1.7 !important;
}

.detail-video {
    display: block;
    width: 100% !important;
    max-width: 100% !important;
    margin-bottom: 25px;
}

/* MOVIL */

@media (max-width: 900px) {

    .detail-container {
        width: 100% !important;
        padding: 18px !important;
    }

    .publication-layout {
        display: flex !important;
        flex-direction: column !important;
        gap: 25px !important;
    }

    .publication-gallery {
        width: 100% !important;
        order: -1 !important;
    }

    .gallery-card {
        position: static !important;
    }

    .gallery-stage {
        height: 430px !important;
    }
}

/* Corrección: título debajo del encabezado */
.detail-container {
    padding-top: 70px !important;
}

.detail-container h1 {
    margin-top: 0 !important;
    margin-bottom: 35px !important;
    position: relative !important;
    z-index: 1 !important;
}

@media (max-width: 900px) {
    .detail-container {
        padding-top: 40px !important;
    }
}

/* Separación correcta bajo la barra superior */
.detail-container {
    padding-top: 120px !important;
}

.detail-breadcrumb {
    display: block !important;
    margin: 0 0 16px 0 !important;
    position: relative !important;
    z-index: 2 !important;
}

.detail-container h1 {
    margin-top: 0 !important;
}

@media (max-width: 900px) {
    .detail-container {
        padding-top: 90px !important;
    }
}


/* =========================================================
   TARJETAS EDITORIALES DE PROGRAMACION
   ========================================================= */

.content-grid {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 22px !important;
}

.content-card.editorial-card {
    width: 100% !important;
    min-height: 280px;
    overflow: hidden;
    border: 1px solid rgba(255,255,255,.15);
    border-radius: 14px;
    background: rgba(4,49,78,.55);
    transition: transform .2s ease, border-color .2s ease;
}

.content-card.editorial-card:hover {
    transform: translateY(-3px);
    border-color: #ffad21;
}

.content-card.editorial-card > a {
    display: grid !important;
    grid-template-columns: minmax(360px, 42%) 1fr !important;
    min-height: 280px;
    text-decoration: none;
    color: inherit;
}

/* IMAGEN */

.editorial-image {
    width: 100% !important;
    height: 100% !important;
    min-height: 280px !important;
    position: relative;
    overflow: hidden;
    background: #071d2a;
}

.editorial-image img {
    width: 100% !important;
    height: 100% !important;
    display: block;
    object-fit: contain !important;
    object-position: center;
    background: #071d2a;
}

/* TEXTO */

.editorial-copy {
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    justify-content: center !important;
    gap: 14px !important;
    padding: 34px 38px !important;
}

.editorial-category {
    display: inline-block;
    padding: 7px 12px;
    border-radius: 999px;
    background: rgba(255,173,33,.14);
    color: #ffad21;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .5px;
}

.editorial-copy strong {
    display: block !important;
    color: #fff;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(25px, 2vw, 34px) !important;
    line-height: 1.15 !important;
}

.editorial-copy p {
    margin: 0 !important;
    color: #d8e5ed;
    font-size: 16px;
    line-height: 1.55;
    max-width: 720px;
}

.editorial-button {
    display: inline-flex;
    align-items: center;
    margin-top: 4px;
    padding: 11px 17px;
    border-radius: 7px;
    background: #ffad21;
    color: #082d47;
    font-size: 13px;
    font-weight: 900;
    letter-spacing: .3px;
}

/* TABLET */

@media (max-width: 1000px) {

    .content-card.editorial-card > a {
        grid-template-columns: 44% 1fr !important;
    }

    .editorial-copy {
        padding: 25px !important;
    }
}

/* MOVIL */

@media (max-width: 700px) {

    .content-card.editorial-card > a {
        display: block !important;
    }

    .editorial-image {
        width: 100% !important;
        height: auto !important;
        min-height: 0 !important;
        aspect-ratio: 16 / 9;
    }

    .editorial-image img {
        width: 100% !important;
        height: 100% !important;
        object-fit: contain !important;
    }

    .editorial-copy {
        padding: 22px !important;
    }

    .editorial-copy strong {
        font-size: 25px !important;
    }
}

/* =========================================================
   AATV WEATHER BEGIN
   ========================================================= */

.hero-layout{
  grid-template-columns:
    minmax(0,1.05fr)
    176px
    minmax(380px,.82fr);
  gap:18px;
}

.weather-mini-stack{
  position:relative;
  z-index:5;
  align-self:center;
  display:flex;
  flex-direction:column;
  gap:8px;
  min-width:0;
}

.weather-mini-card{
  appearance:none;
  width:100%;
  min-height:50px;
  padding:8px 10px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:7px;

  border-radius:10px;
  border:1px solid rgba(255,255,255,.38);

  background:
    linear-gradient(
      135deg,
      rgba(7,54,88,.88),
      rgba(3,31,53,.92)
    );

  color:#fff;
  cursor:pointer;

  box-shadow:0 8px 24px rgba(0,0,0,.18);
  backdrop-filter:blur(12px);

  transition:
    transform .18s ease,
    border-color .18s ease,
    background .18s ease;
}

.weather-mini-card:hover{
  transform:translateX(-3px);
  border-color:var(--accent,#f1ad2b);
  background:
    linear-gradient(
      135deg,
      rgba(10,70,112,.94),
      rgba(3,34,58,.96)
    );
}

.weather-mini-name{
  min-width:0;
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;

  font-size:11px;
  line-height:1.1;
  font-weight:800;
  letter-spacing:.015em;
  text-align:left;
}

.weather-mini-reading{
  flex:0 0 auto;
  display:flex;
  align-items:center;
  gap:5px;
}

.weather-mini-reading strong{
  font-size:18px;
  line-height:1;
  font-weight:800;
}

.weather-mini-icon{
  font-size:19px;
  line-height:1;
}

/* MODAL */

body.weather-modal-open{
  overflow:hidden;
}

.weather-modal[hidden]{
  display:none;
}

.weather-modal{
  position:fixed;
  inset:0;
  z-index:2147483647;
  display:grid;
  place-items:center;
  padding:20px;
}

.weather-modal-backdrop{
  position:absolute;
  inset:0;
  background:rgba(0,12,22,.76);
  backdrop-filter:blur(5px);
}

.weather-modal-panel{
  position:relative;
  z-index:2;

  width:min(620px,100%);
  max-height:90vh;
  overflow:auto;

  padding:30px;

  border-radius:20px;
  border:1px solid rgba(255,255,255,.25);

  background:
    linear-gradient(
      145deg,
      #093b60,
      #041f35
    );

  color:#fff;

  box-shadow:
    0 35px 100px rgba(0,0,0,.55);
}

.weather-modal-close{
  position:absolute;
  top:10px;
  right:14px;

  width:38px;
  height:38px;

  border:0;
  border-radius:50%;

  background:rgba(255,255,255,.1);
  color:#fff;

  font-size:28px;
  line-height:1;
  cursor:pointer;
}

.weather-detail-head{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:20px;
  padding-right:35px;
  margin-bottom:25px;
}

.weather-detail-head h3{
  margin:0 0 5px;
  font-size:28px;
}

.weather-detail-head p{
  margin:0;
  color:#c9dbe7;
}

.weather-detail-current{
  flex:0 0 auto;
  display:flex;
  align-items:center;
  gap:10px;
}

.weather-detail-symbol{
  font-size:43px;
}

.weather-detail-temp{
  font-size:45px;
  font-weight:800;
  line-height:1;
}

.weather-detail-grid{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:10px;
}

.weather-detail-item{
  padding:13px 14px;
  border-radius:11px;
  background:rgba(255,255,255,.075);
  border:1px solid rgba(255,255,255,.09);
}

.weather-detail-item span{
  display:block;
  margin-bottom:4px;
  color:#afc5d4;
  font-size:11px;
  text-transform:uppercase;
  letter-spacing:.04em;
}

.weather-detail-item strong{
  font-size:17px;
}

.weather-detail-footer{
  margin-top:18px;
  font-size:11px;
  color:#a9becd;
}

.weather-modal-loading{
  padding:50px 20px;
  text-align:center;
  color:#d8e6ee;
}

/* TABLET */

@media(max-width:1120px){
  .hero-layout{
    grid-template-columns:1fr;
  }

  .weather-mini-stack{
    display:grid;
    grid-template-columns:
      repeat(5,minmax(130px,1fr));
    overflow-x:auto;
    width:100%;
  }

  .weather-mini-card:hover{
    transform:translateY(-2px);
  }
}

/* TELEFONO */

@media(max-width:760px){
  .weather-mini-stack{
    display:flex;
    flex-direction:row;
    overflow-x:auto;
    padding-bottom:4px;
    scrollbar-width:thin;
  }

  .weather-mini-card{
    flex:0 0 150px;
    min-width:150px;
  }

  .weather-detail-grid{
    grid-template-columns:1fr;
  }

  .weather-detail-head{
    flex-direction:column;
  }

  .weather-modal-panel{
    padding:24px 18px;
  }
}

/* =========================================================
   AATV WEATHER END
   ========================================================= */


/* AATV WEATHER MODAL TOP LAYER */
.weather-modal{
  position:fixed !important;
  inset:0 !important;
  width:100vw !important;
  height:100vh !important;
  z-index:2147483647 !important;
  isolation:isolate;
}

.weather-modal-backdrop{
  position:absolute !important;
  inset:0 !important;
  z-index:0;
}

.weather-modal-panel{
  position:relative !important;
  z-index:1;
}

body.weather-modal-open{
  overflow:hidden !important;
}


/* ==========================================================
   AATV PROGRAMACION DINAMICA PORTADA

   order mas alto = tarjeta principal
   resto = columna lateral con scroll
   ========================================================== */

.programming-card {
    overflow: hidden;
}

.programming-head {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 16px;
    margin-bottom: 14px;
}

.programming-head h2 {
    margin: 3px 0 0;
    color: #fff;
    font-size: 24px;
    line-height: 1.05;
}

.programming-head .eyebrow {
    font-size: 9px;
    letter-spacing: .12em;
}

.programming-head > a {
    color: var(--accent, #D6A84B);
    text-decoration: none;
    font-size: 10px;
    font-weight: 800;
    white-space: nowrap;
}


.programming-layout {
    display: grid;
    grid-template-columns:
        minmax(0, 1.65fr)
        minmax(190px, .85fr);

    gap: 13px;
    min-width: 0;
}

.programming-layout.single {
    grid-template-columns: 1fr;
}


.programming-main {
    overflow: hidden;
    min-width: 0;

    border-radius: 13px;

    background: rgba(4, 20, 32, .84);

    border:
        1px solid
        rgba(255, 255, 255, .10);
}

.programming-main > a {
    display: block;
    color: inherit;
    text-decoration: none;
}


.programming-main-image {
    position: relative;

    overflow: hidden;

    aspect-ratio: 16 / 9;

    background: #061724;
}

.programming-main-image img {
    display: block;

    width: 100%;
    height: 100%;

    object-fit: cover;

    transition: transform .25s ease;
}

.programming-main:hover
.programming-main-image img {
    transform: scale(1.025);
}


.programming-play {
    position: absolute;

    top: 50%;
    left: 50%;

    transform: translate(-50%, -50%);

    width: 46px;
    height: 46px;

    display: grid;
    place-items: center;

    border-radius: 50%;

    background:
        rgba(214, 168, 75, .95);

    color: #071826;

    font-size: 17px;

    padding-left: 3px;

    box-shadow:
        0 8px 24px
        rgba(0,0,0,.30);
}


.programming-main-copy {
    padding: 12px 14px 14px;
}

.programming-main-copy small {
    display: block;

    margin-bottom: 4px;

    color:
        var(--accent, #D6A84B);

    font-size: 8px;
    font-weight: 800;

    letter-spacing: .08em;
}

.programming-main-copy strong {
    display: block;

    color: #fff;

    font-size: 17px;
    line-height: 1.18;
}

.programming-main-copy p {
    margin: 6px 0 0;

    color: #c9d6df;

    font-size: 10px;
    line-height: 1.35;
}


/* ============================
   PROGRAMAS LATERALES
   ============================ */

.programming-side {
    display: flex;
    flex-direction: column;

    gap: 8px;

    max-height: 340px;

    overflow-y: auto;
    overflow-x: hidden;

    padding-right: 4px;

    scrollbar-width: thin;

    scrollbar-color:
        rgba(214,168,75,.75)
        rgba(255,255,255,.06);
}


.programming-side::-webkit-scrollbar {
    width: 6px;
}

.programming-side::-webkit-scrollbar-track {
    background:
        rgba(255,255,255,.06);

    border-radius: 10px;
}

.programming-side::-webkit-scrollbar-thumb {
    background:
        rgba(214,168,75,.75);

    border-radius: 10px;
}


.programming-side-item {
    display: grid;

    grid-template-columns:
        82px
        minmax(0,1fr)
        16px;

    align-items: center;

    gap: 8px;

    flex: 0 0 auto;

    padding: 6px;

    border-radius: 10px;

    background:
        rgba(4,20,32,.76);

    border:
        1px solid
        rgba(255,255,255,.08);

    color: #fff;

    text-decoration: none;

    transition:
        background .18s ease,
        border-color .18s ease;
}


.programming-side-item:hover {
    background:
        rgba(15,48,68,.95);

    border-color:
        rgba(214,168,75,.48);
}


.programming-side-image {
    width: 82px;

    aspect-ratio: 16 / 9;

    overflow: hidden;

    border-radius: 7px;

    background: #061724;
}

.programming-side-image img {
    display: block;

    width: 100%;
    height: 100%;

    object-fit: cover;
}


.programming-side-copy {
    min-width: 0;
}

.programming-side-copy small {
    display: block;

    margin-bottom: 3px;

    color:
        var(--accent, #D6A84B);

    font-size: 7px;

    font-weight: 800;
}

.programming-side-copy strong {
    display: -webkit-box;

    overflow: hidden;

    color: #fff;

    font-size: 10px;
    line-height: 1.25;

    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}


.programming-arrow {
    color:
        var(--accent, #D6A84B);

    font-size: 20px;

    line-height: 1;
}


.programming-empty {
    padding: 25px;

    border-radius: 12px;

    background:
        rgba(4,20,32,.70);

    color: #d5e1ea;

    text-align: center;
}


/* ============================
   RESPONSIVE
   ============================ */

@media (max-width: 1100px) {

    .programming-layout {
        grid-template-columns: 1fr;
    }

    .programming-side {
        max-height: 230px;
    }

}


@media (max-width: 700px) {

    .programming-head {
        align-items: flex-start;
        flex-direction: column;
        gap: 6px;
    }

    .programming-side-item {
        grid-template-columns:
            105px
            minmax(0,1fr)
            16px;
    }

}



/* AATV PROGRAM PLAYER CSS */

.aatv-program-player {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: #000;
}

.aatv-program-stage {
    position: absolute;
    inset: 0;
}

.aatv-program-stage img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

.aatv-program-play {
    position: absolute;

    left: 50%;
    top: 50%;

    transform:
        translate(-50%, -50%);

    width: 68px;
    height: 68px;

    border: 0;
    border-radius: 50%;

    display: grid;
    place-items: center;

    background:
        rgba(235, 177, 45, .95);

    color: #08243a;

    font-size: 27px;

    padding-left: 5px;

    cursor: pointer;

    z-index: 5;

    box-shadow:
        0 10px 28px
        rgba(0,0,0,.35);

    transition:
        transform .18s ease,
        background .18s ease;
}

.aatv-program-play:hover {

    transform:
        translate(-50%, -50%)
        scale(1.08);

    background: #ffc341;
}

a.aatv-program-play {
    text-decoration: none;
}


.aatv-program-video,
.aatv-program-iframe {

    position: absolute;

    inset: 0;

    width: 100%;
    height: 100%;

    display: block;

    border: 0;

    background: #000;
}

.aatv-program-video {
    object-fit: contain;
}


.aatv-program-fullscreen {

    position: absolute;

    right: 12px;
    top: 12px;

    z-index: 10;

    width: 38px;
    height: 38px;

    border:
        1px solid
        rgba(255,255,255,.30);

    border-radius: 8px;

    background:
        rgba(5,20,31,.80);

    color: #fff;

    font-size: 21px;

    cursor: pointer;

    display: grid;
    place-items: center;

    backdrop-filter: blur(5px);
}

.aatv-program-fullscreen:hover {
    background: #eeb12d;
    color: #08243a;
}

/* /AATV PROGRAM PLAYER CSS */

/* ======================================================
   AATV PLAYER HTML5 DIRECTO
   ====================================================== */

.aatv-program-video-direct {
    display: block;
    width: 100%;
    height: 100%;
    aspect-ratio: 16 / 9;
    object-fit: contain;
    background: #000;
}

.programming-main-image:has(.aatv-program-video-direct) {
    background: #000;
}

.aatv-program-video-direct:fullscreen {
    width: 100vw;
    height: 100vh;
    object-fit: contain;
    background: #000;
}

.aatv-program-video-direct::-webkit-media-controls {
    display: flex;
}

.programming-external {
    display: block;
    position: relative;
    width: 100%;
    height: 100%;
}


/* ======================================================
   AATV TRANSPARENCIA TARJETA PORTADA
   ====================================================== */

.programming-card {
    background: rgba(7, 35, 56, 0.45) !important;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(255,255,255,0.12) !important;
    box-shadow: 0 10px 28px rgba(0,0,0,0.18);
}

.programming-main {
    background: rgba(4, 20, 32, 0.38) !important;
    border: 1px solid rgba(255,255,255,0.10) !important;
}

.programming-main-copy {
    background: rgba(3, 18, 29, 0.28) !important;
}

.programming-side-item {
    background: rgba(4, 20, 32, 0.34) !important;
    border: 1px solid rgba(255,255,255,0.09) !important;
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
}

.programming-side-item:hover {
    background: rgba(10, 38, 58, 0.52) !important;
    border-color: rgba(214,168,75,0.35) !important;
}

.programming-empty {
    background: rgba(4,20,32,0.30) !important;
}

/* Si la quieres AUN MAS transparente,
   baja 0.45 a 0.30 en .programming-card */

/* === AATV PORTADA COMERCIAL V2 20260911 === */


/* ==========================================================
   CONTENEDOR GENERAL DEL HERO
   ========================================================== */

.hero-layout {
    display: block !important;
    width: min(1480px, calc(100% - 48px)) !important;
    max-width: 1480px !important;
    margin: 0 auto !important;
    padding-top: 108px !important;
}


/* ==========================================================
   TITULO / IDENTIDAD
   ========================================================== */

.hero-layout > .hero-copy {
    width: 100% !important;
    max-width: 920px !important;
    margin: 0 auto 24px !important;
    padding: 0 !important;
    text-align: center !important;
}

.hero-layout > .hero-copy h1 {
    margin: 5px 0 9px !important;
    font-size: clamp(36px, 4vw, 58px) !important;
    line-height: .98 !important;
}

.hero-layout > .hero-copy h1 em {
    font-size: inherit !important;
}

.hero-layout > .hero-copy > p {
    max-width: 720px !important;
    margin: 0 auto 18px !important;
    font-size: 15px !important;
    line-height: 1.45 !important;
}

.hero-layout > .hero-copy .hero-actions {
    justify-content: center !important;
}


/* ==========================================================
   PUBLICIDAD + PROGRAMACION
   ========================================================== */

.hero-content-grid {
    display: grid !important;
    grid-template-columns:
        minmax(260px, .72fr)
        minmax(0, 1.75fr) !important;
    gap: 20px !important;
    width: 100% !important;
    align-items: start !important;
}


/* ==========================================================
   COLUMNA PUBLICITARIA
   ========================================================== */

.hero-commercial-column {
    min-width: 0 !important;
    overflow: hidden !important;

    border: 1px solid rgba(255,255,255,.13) !important;
    border-radius: 17px !important;

    background: rgba(5, 27, 42, .58) !important;

    box-shadow: 0 12px 32px rgba(0,0,0,.22) !important;

    backdrop-filter: blur(9px);
    -webkit-backdrop-filter: blur(9px);
}


/* PUBLICIDAD */

.aatv-ad-card {
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow: hidden !important;
    background: rgba(2, 17, 28, .48) !important;
}

.aatv-ad-label {
    padding: 10px 14px !important;

    border-bottom: 1px solid rgba(255,255,255,.10) !important;

    color: #D6A84B !important;

    font-size: 10px !important;
    font-weight: 800 !important;
    letter-spacing: .14em !important;
}

.aatv-ad-link {
    position: relative !important;
    display: block !important;
    width: 100% !important;
    color: inherit !important;
    text-decoration: none !important;
}

.aatv-ad-video {
    display: block !important;
    width: 100% !important;
    aspect-ratio: 16 / 10 !important;
    object-fit: cover !important;
    background: #020b11 !important;
}

.aatv-ad-placeholder {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;

    min-height: 225px !important;
    padding: 24px 18px !important;

    text-align: center !important;

    background:
        linear-gradient(
            145deg,
            rgba(9, 51, 69, .88),
            rgba(3, 23, 36, .94)
        ) !important;
}

.aatv-ad-placeholder span {
    margin-bottom: 7px !important;

    color: #D6A84B !important;

    font-size: 10px !important;
    font-weight: 800 !important;
    letter-spacing: .15em !important;
}

.aatv-ad-placeholder strong {
    font-size: clamp(27px, 3vw, 42px) !important;
    line-height: 1 !important;
}

.aatv-ad-placeholder small {
    margin-top: 7px !important;
    opacity: .65 !important;
}

.aatv-ad-cta {
    position: absolute !important;
    right: 11px !important;
    bottom: 11px !important;

    padding: 7px 12px !important;

    border: 1px solid rgba(255,255,255,.25) !important;
    border-radius: 999px !important;

    background: rgba(3,18,29,.88) !important;
    color: white !important;

    font-size: 9px !important;
    font-weight: 800 !important;
    letter-spacing: .08em !important;
}


/* ==========================================================
   CLIMA DENTRO DEL MISMO BLOQUE
   ========================================================== */

.aatv-weather-column {
    padding: 12px !important;

    border-top: 1px solid rgba(255,255,255,.10) !important;

    background: rgba(4, 27, 42, .44) !important;
}

.aatv-weather-column .weather-mini-stack {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;

    width: 100% !important;
    gap: 7px !important;

    transform: none !important;
}

.aatv-weather-column .weather-mini-card {
    width: 100% !important;
    min-width: 0 !important;
    min-height: 56px !important;

    padding: 7px 8px !important;

    transform: none !important;
}

.aatv-weather-column .weather-mini-name {
    font-size: 9px !important;
}

.aatv-weather-column .weather-mini-reading strong {
    font-size: 17px !important;
}

.aatv-weather-column .weather-mini-icon {
    font-size: 18px !important;
}


/* ==========================================================
   TARJETA NUESTRA PROGRAMACION
   ========================================================== */

.hero-content-grid > .programming-card {
    width: 100% !important;
    max-width: none !important;
    min-width: 0 !important;
    margin: 0 !important;

    background: rgba(7, 35, 56, .45) !important;

    border: 1px solid rgba(255,255,255,.12) !important;
    border-radius: 17px !important;

    box-shadow: 0 12px 32px rgba(0,0,0,.20) !important;

    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}


/* El principal ocupa todo el ancho.
   Las otras tarjetas quedan ABAJO. */

.hero-content-grid .programming-layout {
    display: block !important;
    grid-template-columns: none !important;
    gap: 0 !important;
}

.hero-content-grid .programming-main {
    width: 100% !important;
    max-width: none !important;
    min-width: 0 !important;
}

.hero-content-grid .programming-main-image {
    width: 100% !important;
    overflow: hidden !important;
    background: #000 !important;
}

.hero-content-grid .programming-main-image img,
.hero-content-grid .programming-main-image video,
.hero-content-grid .programming-external {
    width: 100% !important;
    aspect-ratio: 16 / 9 !important;
}

.hero-content-grid .programming-main-image img {
    height: auto !important;
    object-fit: cover !important;
}

.hero-content-grid .programming-main-image video {
    height: auto !important;
    object-fit: contain !important;
}


/* ==========================================================
   PROGRAMAS SECUNDARIOS DEBAJO
   ========================================================== */

.hero-content-grid .programming-side {
    display: grid !important;

    grid-template-columns:
        repeat(3, minmax(0, 1fr)) !important;

    gap: 10px !important;

    width: 100% !important;
    max-height: none !important;

    margin-top: 12px !important;

    overflow: visible !important;
}

.hero-content-grid .programming-side-item {
    display: block !important;

    width: 100% !important;
    min-width: 0 !important;

    margin: 0 !important;

    overflow: hidden !important;

    border-radius: 11px !important;

    background: rgba(4,20,32,.42) !important;
}

.hero-content-grid .programming-side-image {
    width: 100% !important;
    height: auto !important;
    aspect-ratio: 16 / 9 !important;

    overflow: hidden !important;
}

.hero-content-grid .programming-side-image img {
    width: 100% !important;
    height: 100% !important;

    object-fit: cover !important;
}

.hero-content-grid .programming-side-copy {
    padding: 8px 10px 10px !important;
}

.hero-content-grid .programming-side-copy small {
    display: block !important;
    margin-bottom: 3px !important;
    font-size: 8px !important;
}

.hero-content-grid .programming-side-copy strong {
    display: block !important;

    font-size: 12px !important;
    line-height: 1.2 !important;
}


/* ==========================================================
   TABLET
   ========================================================== */

@media (max-width: 1100px) {

    .hero-layout {
        width: min(100% - 30px, 1100px) !important;
        padding-top: 95px !important;
    }

    .hero-content-grid {
        grid-template-columns:
            minmax(235px, .68fr)
            minmax(0, 1.42fr) !important;

        gap: 15px !important;
    }

    .hero-content-grid .programming-side {
        grid-template-columns:
            repeat(2, minmax(0, 1fr)) !important;
    }

}


/* ==========================================================
   CELULAR
   ========================================================== */

@media (max-width: 760px) {

    .hero-layout {
        width: calc(100% - 18px) !important;
        padding-top: 82px !important;
    }

    .hero-layout > .hero-copy {
        margin-bottom: 16px !important;
    }

    .hero-layout > .hero-copy h1 {
        font-size: clamp(31px, 10vw, 43px) !important;
    }

    .hero-layout > .hero-copy > p {
        font-size: 13px !important;
    }

    .hero-layout > .hero-copy .hero-actions {
        display: flex !important;
        flex-direction: column !important;
        gap: 8px !important;
    }

    .hero-layout > .hero-copy .btn {
        width: 100% !important;
        justify-content: center !important;
    }

    .hero-content-grid {
        display: flex !important;
        flex-direction: column !important;
        gap: 14px !important;
    }

    /* En móvil: primero programación */

    .hero-content-grid > .programming-card {
        order: 1 !important;
    }

    .hero-commercial-column {
        order: 2 !important;
        width: 100% !important;
    }

    .hero-content-grid .programming-side {
        grid-template-columns:
            repeat(2, minmax(0, 1fr)) !important;

        gap: 8px !important;
    }

    .aatv-weather-column .weather-mini-stack {
        grid-template-columns:
            repeat(2, minmax(0, 1fr)) !important;

        overflow: visible !important;
    }

    .aatv-weather-column .weather-mini-card {
        flex: none !important;
    }

}


/* ==========================================================
   CELULAR PEQUEÑO
   ========================================================== */

@media (max-width: 480px) {

    .hero-layout {
        width: calc(100% - 12px) !important;
    }

    .hero-content-grid .programming-side {
        grid-template-columns: 1fr !important;
    }

    .hero-content-grid .programming-side-item {
        display: grid !important;
        grid-template-columns: 115px minmax(0, 1fr) !important;
        align-items: center !important;
    }

    .hero-content-grid .programming-side-image {
        height: 100% !important;
        aspect-ratio: 4 / 3 !important;
    }

    .aatv-weather-column .weather-mini-stack {
        grid-template-columns: 1fr 1fr !important;
    }

}


/* === FIN AATV PORTADA COMERCIAL V2 20260911 === */

/* === AATV HERO SUPERIOR SUTIL 20260911 === */

.hero-layout {
    padding-top: 78px !important;
}

.hero-layout > .hero-copy {
    max-width: 900px !important;
    margin: 0 auto 14px !important;
    padding: 0 !important;
    text-align: center !important;
}

.hero-layout > .hero-copy .eyebrow {
    display: block !important;
    margin: 0 0 3px !important;
    font-size: 10px !important;
    line-height: 1.2 !important;
    letter-spacing: .25em !important;
}

.hero-layout > .hero-copy h1 {
    margin: 0 !important;
    font-size: clamp(25px, 2.7vw, 40px) !important;
    line-height: 1 !important;
    white-space: normal !important;
}

.hero-layout > .hero-copy h1 br {
    display: none !important;
}

.hero-layout > .hero-copy h1 em {
    font-size: inherit !important;
}

.hero-layout > .hero-copy > p {
    max-width: 650px !important;
    margin: 6px auto 0 !important;
    font-size: 12px !important;
    line-height: 1.35 !important;
}

/* Los botones superiores sobran:
   la señal y contenidos ya están disponibles en la propia portada */
.hero-layout > .hero-copy .hero-actions {
    display: none !important;
}

.hero-content-grid {
    margin-top: 12px !important;
}

@media (max-width: 760px) {

    .hero-layout {
        padding-top: 72px !important;
    }

    .hero-layout > .hero-copy {
        margin-bottom: 12px !important;
    }

    .hero-layout > .hero-copy .eyebrow {
        font-size: 8px !important;
    }

    .hero-layout > .hero-copy h1 {
        font-size: clamp(23px, 8vw, 32px) !important;
    }

    .hero-layout > .hero-copy > p {
        font-size: 11px !important;
    }
}

/* === FIN AATV HERO SUPERIOR SUTIL 20260911 === */


/* === AATV HERO SUPERIOR SUTIL 20260911 === */

.hero-layout {
    padding-top: 78px !important;
}

.hero-layout > .hero-copy {
    max-width: 900px !important;
    margin: 0 auto 14px !important;
    padding: 0 !important;
    text-align: center !important;
}

.hero-layout > .hero-copy .eyebrow {
    display: block !important;
    margin: 0 0 3px !important;
    font-size: 10px !important;
    line-height: 1.2 !important;
    letter-spacing: .25em !important;
}

.hero-layout > .hero-copy h1 {
    margin: 0 !important;
    font-size: clamp(25px, 2.7vw, 40px) !important;
    line-height: 1 !important;
    white-space: normal !important;
}

.hero-layout > .hero-copy h1 br {
    display: none !important;
}

.hero-layout > .hero-copy h1 em {
    font-size: inherit !important;
}

.hero-layout > .hero-copy > p {
    max-width: 650px !important;
    margin: 6px auto 0 !important;
    font-size: 12px !important;
    line-height: 1.35 !important;
}

/* Los botones superiores sobran:
   la señal y contenidos ya están disponibles en la propia portada */
.hero-layout > .hero-copy .hero-actions {
    display: none !important;
}

.hero-content-grid {
    margin-top: 12px !important;
}

@media (max-width: 760px) {

    .hero-layout {
        padding-top: 72px !important;
    }

    .hero-layout > .hero-copy {
        margin-bottom: 12px !important;
    }

    .hero-layout > .hero-copy .eyebrow {
        font-size: 8px !important;
    }

    .hero-layout > .hero-copy h1 {
        font-size: clamp(23px, 8vw, 32px) !important;
    }

    .hero-layout > .hero-copy > p {
        font-size: 11px !important;
    }
}

/* === FIN AATV HERO SUPERIOR SUTIL 20260911 === */


/* === AATV AJUSTE HERO ARRIBA + CLIMA HORIZONTAL 20260911 === */

/* Subimos más la franja superior */
.hero-layout {
    padding-top: 58px !important;
}

.hero-layout > .hero-copy {
    margin: 0 auto 10px !important;
}

.hero-layout > .hero-copy h1 {
    margin: 0 !important;
    font-size: clamp(24px, 2.5vw, 38px) !important;
}

.hero-layout > .hero-copy > p {
    margin: 4px auto 0 !important;
}

/* Reorganizamos: clima arriba y horizontal, publicidad izquierda, programación derecha */
.hero-content-grid {
    display: grid !important;
    grid-template-columns: minmax(280px, .72fr) minmax(0, 1.75fr) !important;
    grid-template-areas:
        "weather weather"
        "ad program" !important;
    gap: 12px !important;
    align-items: start !important;
}

.hero-commercial-column {
    display: contents !important;
}

.aatv-weather-column {
    grid-area: weather !important;
    padding: 8px 10px !important;
    border: 1px solid rgba(255,255,255,.10) !important;
    border-radius: 12px !important;
    background: rgba(6, 25, 38, .34) !important;
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
}

.aatv-weather-column .weather-mini-stack {
    display: grid !important;
    grid-template-columns: repeat(5, minmax(0, 1fr)) !important;
    gap: 8px !important;
    width: 100% !important;
    transform: none !important;
}

.aatv-weather-column .weather-mini-card {
    min-width: 0 !important;
    width: 100% !important;
    min-height: 52px !important;
    padding: 7px 10px !important;
    border-radius: 10px !important;
}

.aatv-weather-column .weather-mini-name {
    font-size: 10px !important;
}

.aatv-weather-column .weather-mini-reading strong {
    font-size: 16px !important;
}

.aatv-ad-card {
    grid-area: ad !important;
}

.hero-content-grid > .programming-card {
    grid-area: program !important;
}

/* Móvil */
@media (max-width: 760px) {

    .hero-layout {
        padding-top: 66px !important;
    }

    .hero-layout > .hero-copy {
        margin-bottom: 10px !important;
    }

    .hero-layout > .hero-copy h1 {
        font-size: clamp(22px, 7vw, 30px) !important;
    }

    .hero-content-grid {
        display: flex !important;
        flex-direction: column !important;
        gap: 12px !important;
    }

    .hero-commercial-column {
        display: flex !important;
        flex-direction: column !important;
        gap: 12px !important;
    }

    .aatv-weather-column {
        order: 1 !important;
        padding: 8px !important;
    }

    .aatv-ad-card {
        order: 2 !important;
    }

    .hero-content-grid > .programming-card {
        order: 0 !important;
    }

    .aatv-weather-column .weather-mini-stack {
        display: flex !important;
        overflow-x: auto !important;
        gap: 8px !important;
        padding-bottom: 2px !important;
    }

    .aatv-weather-column .weather-mini-card {
        flex: 0 0 135px !important;
        min-width: 135px !important;
    }
}

/* === FIN AATV AJUSTE HERO ARRIBA + CLIMA HORIZONTAL 20260911 === */


/* === AATV IDENTIDAD HERO EN UNA LINEA 20260911 === */

/* Reducir fuertemente el espacio superior */
.hero-layout {
    padding-top: 24px !important;
}

/* Una sola línea editorial */
.hero-layout > .hero-copy {
    display: flex !important;
    flex-direction: row !important;
    align-items: baseline !important;
    justify-content: center !important;
    gap: 12px !important;

    width: 100% !important;
    max-width: none !important;

    margin: 0 auto 8px !important;
    padding: 0 10px !important;

    white-space: nowrap !important;
}

/* Toda la frase con aspecto manuscrito */
.hero-layout > .hero-copy .eyebrow,
.hero-layout > .hero-copy h1,
.hero-layout > .hero-copy h1 em,
.hero-layout > .hero-copy > p {
    font-family:
        "Segoe Script",
        "Brush Script MT",
        "Lucida Handwriting",
        cursive !important;
}

/* Primera parte */
.hero-layout > .hero-copy .eyebrow {
    display: inline !important;
    margin: 0 !important;

    font-size: 15px !important;
    font-weight: 600 !important;
    line-height: 1 !important;
    letter-spacing: .02em !important;

    color: #eeb12d !important;
    text-transform: none !important;
}

/* Separador visual */
.hero-layout > .hero-copy .eyebrow::after {
    content: " ·";
    color: rgba(255,255,255,.72);
    margin-left: 8px;
}

/* Frase principal */
.hero-layout > .hero-copy h1 {
    display: inline !important;
    margin: 0 !important;

    font-size: 27px !important;
    font-weight: 500 !important;
    line-height: 1 !important;

    color: #fff !important;
}

.hero-layout > .hero-copy h1 br {
    display: none !important;
}

.hero-layout > .hero-copy h1 em {
    font-style: normal !important;
    font-size: inherit !important;
    color: #eeb12d !important;
}

/* Separador después del título */
.hero-layout > .hero-copy h1::after {
    content: " ·";
    color: rgba(255,255,255,.72);
    margin-left: 8px;
}

/* Bajada en la misma línea */
.hero-layout > .hero-copy > p {
    display: inline !important;

    max-width: none !important;
    margin: 0 !important;

    font-size: 15px !important;
    font-weight: 400 !important;
    line-height: 1 !important;

    color: rgba(255,255,255,.92) !important;
}

/* Clima pegado a la identidad */
.hero-content-grid {
    margin-top: 4px !important;
}


/* TABLET */
@media (max-width: 1100px) {

    .hero-layout > .hero-copy {
        gap: 8px !important;
    }

    .hero-layout > .hero-copy .eyebrow,
    .hero-layout > .hero-copy > p {
        font-size: 12px !important;
    }

    .hero-layout > .hero-copy h1 {
        font-size: 22px !important;
    }
}


/* CELULAR:
   se adapta sin achicar el texto hasta hacerlo ilegible */
@media (max-width: 760px) {

    .hero-layout {
        padding-top: 12px !important;
    }

    .hero-layout > .hero-copy {
        display: block !important;
        white-space: normal !important;
        text-align: center !important;
        line-height: 1.15 !important;
        margin-bottom: 7px !important;
    }

    .hero-layout > .hero-copy .eyebrow {
        font-size: 11px !important;
    }

    .hero-layout > .hero-copy h1 {
        font-size: 24px !important;
        margin: 0 5px !important;
    }

    .hero-layout > .hero-copy > p {
        font-size: 11px !important;
    }

}

/* === FIN AATV IDENTIDAD HERO EN UNA LINEA 20260911 === */


/* === AATV FRASE HERO MINIMAL 20260911 === */

.hero-layout > .hero-copy {
    transform: translateY(-42px) !important;
    gap: 7px !important;
    margin-bottom: -30px !important;
    white-space: nowrap !important;
}

.hero-layout > .hero-copy .eyebrow,
.hero-layout > .hero-copy h1,
.hero-layout > .hero-copy h1 em,
.hero-layout > .hero-copy > p {
    color: rgba(255,255,255,.94) !important;
    font-family:
        "Segoe Script",
        "Brush Script MT",
        "Lucida Handwriting",
        cursive !important;
    font-size: 16px !important;
    font-weight: 400 !important;
    line-height: 1 !important;
    letter-spacing: 0 !important;
    text-transform: none !important;
}

.hero-layout > .hero-copy h1 {
    display: inline !important;
    margin: 0 !important;
}

.hero-layout > .hero-copy h1 em {
    font-style: normal !important;
}

.hero-layout > .hero-copy > p {
    display: inline !important;
    margin: 0 !important;
}

.hero-layout > .hero-copy .eyebrow::after,
.hero-layout > .hero-copy h1::after {
    content: "" !important;
    margin: 0 !important;
}

/* Tablet */
@media (max-width: 1100px) {
    .hero-layout > .hero-copy .eyebrow,
    .hero-layout > .hero-copy h1,
    .hero-layout > .hero-copy h1 em,
    .hero-layout > .hero-copy > p {
        font-size: 14px !important;
    }
}

/* Celular */
@media (max-width: 760px) {
    .hero-layout > .hero-copy {
        transform: none !important;
        margin-bottom: 6px !important;
        white-space: normal !important;
    }

    .hero-layout > .hero-copy .eyebrow,
    .hero-layout > .hero-copy h1,
    .hero-layout > .hero-copy h1 em,
    .hero-layout > .hero-copy > p {
        font-size: 12px !important;
    }
}

/* === FIN AATV FRASE HERO MINIMAL 20260911 === */


/* === AATV REPRODUCTORES PUBLICIDAD AUTOMATICA 20260911 === */

/* Contenedor de todos los videos de Publicidad */
.aatv-ad-card {
    grid-area: ad !important;

    width: 100% !important;
    padding: 0 !important;

    overflow: visible !important;

    border: 0 !important;
    border-radius: 0 !important;

    background: transparent !important;
    box-shadow: none !important;
}

.aatv-ad-list {
    display: flex !important;
    flex-direction: column !important;

    width: 100% !important;
    gap: 10px !important;
}

/* Cada publicación de la categoría Publicidad es SOLO un video */
.aatv-ad-list .aatv-ad-video {
    display: block !important;

    width: 100% !important;
    height: auto !important;

    aspect-ratio: 16 / 9 !important;
    object-fit: cover !important;

    margin: 0 !important;

    overflow: hidden !important;

    border: 1px solid rgba(255,255,255,.12) !important;
    border-radius: 12px !important;

    background: #000 !important;

    box-shadow: 0 8px 22px rgba(0,0,0,.20) !important;
}


/* CELULAR:
   publicidad horizontal para ocupar menos alto */
@media (max-width: 760px) {

    .aatv-ad-list {
        display: flex !important;
        flex-direction: row !important;

        gap: 9px !important;

        overflow-x: auto !important;
        overflow-y: hidden !important;

        scroll-snap-type: x mandatory !important;
        scrollbar-width: thin !important;

        padding-bottom: 4px !important;
    }

    .aatv-ad-list .aatv-ad-video {
        flex: 0 0 82% !important;

        width: 82% !important;

        scroll-snap-align: start !important;
    }
}

/* === FIN AATV REPRODUCTORES PUBLICIDAD AUTOMATICA 20260911 === */

