/* ============================================================
   AL CRUCE — capa de marca sobre Templates BASE
   Brandbook 2026. Se carga DESPUÉS de los css base.
   Tema A — Primario #000000 · acento #ffdc00 · base blanca.
   Poppins (Google) para todo; Creak solo en citas destacadas.
   ============================================================ */

@font-face {
  font-family: "Creak";
  src: url("../fonts/Creak.otf") format("opentype");
  font-weight: 400;
  font-display: swap;
}

:root {
  --blue: #000000;            /* primario de marca */
  --celeste: #f2f2f2;         /* tinte claro del primario */
  --ac-amarillo: #666666;
  --ac-sobre-secundario: #ffffff;
  --ac-cita-borde: #ea4798;
  --ac-rosa: #ea4798;
  --ac-rojo: #ca001e;
  --live-red: #ea4798;        /* vivo / urgente */
  --gray-mid: #666666;
  --divider-gray: #e6e6e6;
  --cat-comodoro: #f5a22f;
  --cat-patagonia: #ffdc00;
  --cat-argentina: #97e4ff;
  --cat-mundo: #6150ad;
  --cat-politica: #666666;
  --cat-economia: #000000;
  --cat-sociedad: #8f42ff;
  --cat-deportes: #8ecc43;
  --cat-cultura: #ea4798;
  --cat-tecnologia: #2563eb;
  --cat-vida: #ffd4ff;
  --cat-opinion-rojo: #c83e4d;
  --font-sans: "Poppins", system-ui, -apple-system, sans-serif;
  --font-roboto: var(--font-sans);
  --font-open: var(--font-sans);
  --font-creak: "Creak", var(--font-sans);
}

body { font-family: var(--font-sans); }

/* ---------- Logotipo tipográfico (provisorio, sin SVG de marca) ---------- */
/* .nucleo del template base posiciona sus 3 hijos en absoluto sobre un bloque,
   por eso se solapan cuando el ancho baja. En la capa Al Cruce pasa a flex. */
.site-header .nucleo {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: auto;
  padding: 16px 60px;
}
.site-header .nucleo > .hora-clima,
.site-header .nucleo > .header-actions,
.nucleo .logo--ac,
.site-header .logo--ac {
  position: static;
  transform: none;
  left: auto;
  right: auto;
  top: auto;
  bottom: auto;
}
.site-header .nucleo > .hora-clima,
.site-header .nucleo > .header-actions { flex: 0 0 auto; }
.nucleo .logo--ac,
.site-header .logo--ac {
  width: auto;
  max-width: none;
  height: auto;
  display: inline-flex;
  align-items: baseline;
  gap: 6px;
  white-space: nowrap;
  flex: 0 0 auto;
}
.footer-top .logo--ac,
.site-footer .logo--ac {
  position: static;
  width: auto;
  max-width: none;
  height: auto;
  transform: none;
  display: inline-flex;
  align-items: baseline;
  gap: 6px;
  white-space: nowrap;
}
.nucleo .logo--ac .word, .site-header .logo--ac .word { font-size: 38px; }
.logo--ac { display: inline-flex; width: auto; max-width: none; height: auto; align-items: center; gap: 0; text-decoration: none; line-height: 0; white-space: nowrap; }
.logo--ac { display: inline-flex; align-items: center; width: auto; max-width: none; height: auto; text-decoration: none; line-height: 0; }
.logo--ac img { display: block; width: auto; height: 30px; }
/* El logotipo va inline en SVG para tomar el color primario del selector. */
.logo--ac { color: var(--blue); }
.logo--ac .logo-svg { display: block; width: auto; height: 50px; fill: currentColor; }
.site-footer .logo--ac .logo-svg { height: 30px; }
.site-footer .logo--ac img { height: 26px; }
.site-footer .logo--ac { }

/* ---------- Cabezales: acento ---------- */
.cabezal .misc { width: 8px; background: var(--blue); }

/* ---------- Volantas por categoría ---------- */
.cat.cat-comodoro:not(:root):not(:root) { background: var(--cat-comodoro); color: #000; }
.cat.cat-patagonia:not(:root):not(:root) { background: var(--cat-patagonia); color: #000; }
.cat.cat-argentina:not(:root):not(:root) { background: var(--cat-argentina); color: #000; }
.cat.cat-mundo:not(:root):not(:root) { background: var(--cat-mundo); color: #fff; }
.cat.cat-politica:not(:root):not(:root) { background: var(--cat-politica); color: #fff; }
.cat.cat-economia:not(:root):not(:root) { background: var(--cat-economia); color: #fff; }
.cat.cat-sociedad:not(:root):not(:root) { background: var(--cat-sociedad); color: #fff; }
.cat.cat-deportes:not(:root):not(:root) { background: var(--cat-deportes); color: #000; }
.cat.cat-cultura:not(:root):not(:root) { background: var(--cat-cultura); color: #000; }
.cat.cat-tecnologia:not(:root):not(:root) { background: var(--cat-tecnologia); color: #fff; }
.cat.cat-vida:not(:root):not(:root) { background: var(--cat-vida); color: #000; }
.cat.cat-opinion:not(:root):not(:root) { background: var(--cat-opinion-rojo); color: #fff; border: none; }
.cabezal .bar { border-bottom-color: var(--blue); }

/* ---------- Resaltador de titulares ---------- */
.bomba .bomba-text > h2 mark,
mark.resaltador {
  background: var(--ac-amarillo);
  color: var(--ac-sobre-secundario, #1c1c1c);
  padding: 0 0.12em;
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
}

/* ---------- Vivo / urgente ---------- */
/* El chip se ajusta a su texto; la fila .live queda sin fondo. */
.alerta, .badge-vivo, .tag-vivo { background: var(--ac-amarillo); color: var(--ac-sobre-secundario, #1c1c1c); }
.live-label { background: var(--ac-rojo); }
.alertas .vivo .live { background: none; }
.alertas .vivo .live .badge {
  background: var(--ac-rojo);
  color: var(--white);
  align-self: flex-start;
  width: auto;
  padding: 3px 8px;
}
.alertas .vivo .live .badge span { color: var(--white); }
@media (max-width: 768.98px) {
  .alertas .vivo .live .badge { padding: 6px 12px; }
  .alertas .vivo .live .badge span { font-size: 14px; }
}

/* ---------- Flechas de slider y galería: disco negro + chevron secundario ---------- */
.slider .slider-chev {
  background: #000;
  box-shadow: none;
}
.slider .slider-chev img { display: none; }
.slider .slider-chev::after,
.foto-destacada .img .arw::after {
  content: "";
  width: 11px; height: 11px;
  border-right: 2px solid var(--ac-amarillo);
  border-bottom: 2px solid var(--ac-amarillo);
}
.slider .slider-next::after { transform: rotate(-45deg); margin-left: -3px; }
.slider .slider-prev::after { transform: rotate(135deg); margin-left: 3px; }
.slider .slider-prev img { transform: none; }

.foto-destacada .img .arw {
  width: 44px; height: 44px; border: 0; border-radius: 50%; padding: 0;
  background: #000; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
}
.foto-destacada .img .arw.l { left: 16px; }
.foto-destacada .img .arw.r { right: 16px; transform: translateY(-50%); }
.foto-destacada .img .arw.r::after { transform: rotate(-45deg); margin-left: -3px; }
.foto-destacada .img .arw.l::after { transform: rotate(135deg); margin-left: 3px; }

/* Titulares enlazados: heredan color del título */
.home h2 a, .home .title a, .aper-shell h2 a, .aper-shell .title a { color: inherit; text-decoration: none; }
.home h2 a:hover, .home .title a:hover, .aper-shell h2 a:hover, .aper-shell .title a:hover { text-decoration-line: underline; text-decoration-color: var(--ac-sub-color, currentColor); }

/* Item destacado del menú: chip amarillo */
.menu-bar .menu-nav .special {
  background: var(--blue);
  color: #fff;
  padding: 2px 8px;
}

/* Separadores del menú: línea vertical en el color de la categoría. */
.menu-bar .menu-nav .sep {
  display: block;
  flex: none;
  width: 5px;
  height: 14px;
  border-radius: 0;
  background-color: var(--sep-color, var(--ac-amarillo));
}
.menu-bar .menu-nav .sep:nth-of-type(1) { --sep-color: #F5A22F; }
.menu-bar .menu-nav .sep:nth-of-type(2) { --sep-color: #FFDC00; }
.menu-bar .menu-nav .sep:nth-of-type(3) { --sep-color: #97E4FF; }
.menu-bar .menu-nav .sep:nth-of-type(4) { --sep-color: #6150AD; }
.menu-bar .menu-nav .sep:nth-of-type(5) { --sep-color: #666666; }
.menu-bar .menu-nav .sep:nth-of-type(6) { --sep-color: #000000; }
.menu-bar .menu-nav .sep:nth-of-type(7) { --sep-color: #8F42FF; }

/* ---------- Volantas: chip en color secundario ---------- */
.heading .volanta,
.vid-top .heading .volanta,
.fg-top .heading .volanta {
  align-self: flex-start;
  background: var(--ac-amarillo);
  color: var(--ac-sobre-secundario, #1c1c1c);
  padding: 4px 10px;
}
/* Volantas dentro de titulares de tarjetas (.cat). El :not() sube la
   especificidad para ganarle a las reglas de color de los css base. */
.cat:not(:root):not(:root) {
  display: inline-block;
  background: var(--ac-amarillo);
  color: var(--ac-sobre-secundario, #1c1c1c);
  padding: 0 6px;
  margin-right: 6px;
  line-height: 1.25;
}

@font-face {
  font-family: "Untitled Serif";
  src: url("../fonts/UntitledSerif-RegularItalic.ttf") format("truetype");
  font-style: italic;
  font-weight: 400;
  font-display: swap;
}

/* ---------- Citas destacadas ---------- */
.destacado { border-color: var(--ac-cita-borde, var(--ac-amarillo)); border-width: 2px; background: var(--ac-cita-fondo, var(--white)); }
.destacado p {
  font-family: var(--ac-cita-font, "Untitled Serif", Georgia, serif);
  font-style: var(--ac-cita-style, italic);
  font-weight: 400;
  line-height: 1.25;
  color: var(--ac-cita-color, var(--blue));
}
.destacado .quote img { filter: none; opacity: 1; }

@media (max-width: 768.98px) {
  header[data-om-label="#REGION1"].site-header { display: block !important; }
}

/* ---------- Panel de navegación en blanco ---------- */
.nav-menu .panel { background: var(--white); color: var(--black); }
.nav-menu .nav-logo { color: var(--black); }
.nav-menu .nav-close { color: var(--black); }
.nav-menu .search { border-color: #e2e2e2; }
.nav-menu .search img { filter: brightness(0); }
.nav-menu .follow .social img { filter: brightness(0) !important; }
.nav-menu .search input { color: var(--black); }
.nav-menu .search input::placeholder { color: #808080; opacity: 1; }
.nav-menu .nav-item { border-bottom: 0; color: var(--black); gap: 10px; justify-content: flex-start; }
.nav-menu .nav-item::before {
  content: "";
  flex: none;
  width: 5px;
  height: 14px;
  background: var(--sep-color, var(--ac-amarillo));
}
.nav-menu .nav-item .chev { margin-left: auto; }

.nav-menu .nav-item:nth-of-type(1) { --sep-color: #F5A22F; }
.nav-menu .nav-item:nth-of-type(2) { --sep-color: #FFDC00; }
.nav-menu .nav-item:nth-of-type(3) { --sep-color: #97E4FF; }
.nav-menu .nav-item:nth-of-type(4) { --sep-color: #6150AD; }
.nav-menu .nav-item:nth-of-type(5) { --sep-color: #666666; }
.nav-menu .nav-item:nth-of-type(6) { --sep-color: #000000; }
.nav-menu .nav-item:nth-of-type(7) { --sep-color: #8F42FF; }
.nav-menu .nav-item:nth-of-type(8) { --sep-color: #8ECC43; }
.nav-menu .nav-item:nth-of-type(9) { --sep-color: #EA4798; }
.nav-menu .nav-item:nth-of-type(10) { --sep-color: #2563EB; }
.nav-menu .nav-item:nth-of-type(11) { --sep-color: #FFD4FF; }
.nav-menu .nav-item:nth-of-type(12) { --sep-color: #C83E4D; }
.nav-menu .nav-item:hover,
.nav-menu .nav-sub a:hover {
  color: var(--black);
  text-decoration: underline;
  text-decoration-color: var(--ac-sub-color, currentColor);
  text-decoration-thickness: 2px;
  text-underline-offset: 3px;
}
.nav-menu .nav-sub a { border-bottom: 0; color: var(--black); background: rgba(0, 0, 0, .03); }
.nav-menu .follow span { color: var(--black); }

/* ---------- Mobile ---------- */
@media (max-width: 640px) {
  .heading h1,
  .top .heading h1 { font-size: 30px !important; line-height: 1.15; }
}

/* ---------- Botones y links ---------- */
.btn-header--solid { background: var(--blue); color: var(--ac-sobre-primario, #fff); }
a:hover { color: #393939; }
.menu-bar .menu-nav .special:hover { color: #fff; }

/* ---------- Radio de imágenes (control de tema) ---------- */
.home img:not([src$=".svg"]),
.alertas img:not([src$=".svg"]),
.layout img:not([src$=".svg"]) { border-radius: var(--ac-radius, 0); }
.alertas .vivo .thumb,
.card, .card-1col, .card-half, .apertura, .aper-horizontal,
.gallery-card,
.foto-destacada .img,
.fg-item,
.figure { border-radius: var(--ac-radius, 0); overflow: hidden; }

/* Cards contenedoras */
.one-col, .two-col, .three-col, .half-col, .aper50, .nota-op,
.op-card, .rank-card, .aper-bomba .box, .encuesta, .newsletter-box,
.destacado, .bloque-audio, .card, .card-1col, .card-half, .apertura,
.aper-horizontal, .segui { border-radius: var(--ac-radius, 0); overflow: hidden; }

/* ---------- Borde (sombra) de las cards: control de tema ---------- */
.ac-sin-borde .one-col, .ac-sin-borde .two-col, .ac-sin-borde .three-col,
.ac-sin-borde .half-col, .ac-sin-borde .aper50, .ac-sin-borde .nota-op,
.ac-sin-borde .op-card, .ac-sin-borde .rank-card, .ac-sin-borde .gallery-card,
.ac-sin-borde .aper-bomba .box, .ac-sin-borde .aper-bomba, .ac-sin-borde .fg-item, .ac-sin-borde .figure,
.ac-sin-borde .segui, .ac-sin-borde .encuesta, .ac-sin-borde .card,
.ac-sin-borde .card-1col, .ac-sin-borde .card-half, .ac-sin-borde .apertura,
.ac-sin-borde .aper-horizontal { box-shadow: none !important; }

/* Con borde activo: respiro interno del texto */
html:not(.ac-sin-borde) .one-col .txt, html:not(.ac-sin-borde) .two-col .txt,
html:not(.ac-sin-borde) .three-col .txt, html:not(.ac-sin-borde) .half-col .txt,
html:not(.ac-sin-borde) .aper50 .txt, html:not(.ac-sin-borde) .apertura .txt,
html:not(.ac-sin-borde) .aper-horizontal .txt { padding-left: 10px; }

/* Sin borde: el texto se alinea a la izquierda con la imagen */
.ac-sin-borde .one-col .txt, .ac-sin-borde .two-col .txt,
.ac-sin-borde .three-col .txt, .ac-sin-borde .half-col .txt,
.ac-sin-borde .aper50 .txt, .ac-sin-borde .apertura .txt,
.ac-sin-borde .rank-card .txt, .ac-sin-borde .aper-horizontal .txt {
  padding-left: 0;
  padding-right: 0;
}

/* ---------- Subrayado de links: control de tema ---------- */
.ac-links-sub .home a:hover,
.ac-links-sub .layout a:hover,
.ac-links-sub .menu-bar a:hover,
.ac-links-sub .site-footer a:hover { text-decoration-line: underline; text-decoration-color: var(--ac-sub-color, currentColor); }
html:not(.ac-links-sub) .home a:hover,
html:not(.ac-links-sub) .layout a:hover,
html:not(.ac-links-sub) .menu-bar a:hover,
html:not(.ac-links-sub) .site-footer a:hover { text-decoration: none; }

/* Subrayado en hover también en los titulares de las cards */
.ac-links-sub .one-col:hover .title, .ac-links-sub .two-col:hover .title,
.ac-links-sub .three-col:hover .title, .ac-links-sub .half-col:hover .title,
.ac-links-sub .two-col:hover h2, .ac-links-sub .three-col:hover h2,
.ac-links-sub .one-col:hover h2, .ac-links-sub .aper50:hover h2,
.ac-links-sub .aper50:hover .title, .ac-links-sub .nota-op:hover .headline,
.ac-links-sub .op-card:hover .h, .ac-links-sub .rank-card:hover .h,
.ac-links-sub .gallery-card:hover .t, .ac-links-sub .tl-item:hover .tl-title,
.ac-links-sub .aper-bomba .box:hover h2,
.ac-links-sub .card:hover h2, .ac-links-sub .card:hover h3, .ac-links-sub .card:hover .title,
.ac-links-sub .card-1col:hover h2, .ac-links-sub .card-1col:hover h3, .ac-links-sub .card-1col:hover .title,
.ac-links-sub .card-half:hover h2, .ac-links-sub .card-half:hover h3, .ac-links-sub .card-half:hover .title,
.ac-links-sub .apertura:hover h2, .ac-links-sub .apertura:hover .title,
.ac-links-sub .aper-horizontal:hover h2, .ac-links-sub .aper-horizontal:hover .title,
.ac-links-sub .one-col:hover h3, .ac-links-sub .two-col:hover h3,
.ac-links-sub .three-col:hover h3 { text-decoration-line: underline; text-decoration-color: var(--ac-sub-color, currentColor); }
.ac-links-sub .one-col, .ac-links-sub .two-col, .ac-links-sub .three-col,
.ac-links-sub .half-col, .ac-links-sub .aper50, .ac-links-sub .nota-op,
.ac-links-sub .op-card, .ac-links-sub .rank-card, .ac-links-sub .gallery-card,
.ac-links-sub .tl-item, .ac-links-sub .card, .ac-links-sub .card-1col,
.ac-links-sub .card-half, .ac-links-sub .apertura, .ac-links-sub .aper-horizontal { cursor: pointer; }

/* Tags de la nota: chip amarillo */
.temas-nota .tags .list a {
  background: var(--blue);
  color: #fff;
  text-transform: uppercase;
  font-weight: 600;
  font-size: 13px;
  letter-spacing: .04em;
  padding: 3px 8px;
  text-decoration: none;
}

.bajada-list a { color: inherit; text-decoration: none; }
.bajada-list a:hover { text-decoration-line: underline; text-decoration-color: var(--ac-sub-color, currentColor); }

/* Íconos de compartir en negro */
.rrss .social-row img,
.comparti .social-row img { filter: brightness(0); }

/* Knob del reproductor en color secundario */
.audio-player .progress .knob {
  display: block;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--ac-amarillo);
}

/* Logo en mobile */
@media (max-width: 760px) {
  .logo--ac .logo-svg { height: 30px; }
  .logo--ac img { height: 30px; }
}

/* ---------- Volantas: control de tema ---------- */
.ac-sin-volanta .cat,
.ac-sin-volanta .heading .volanta,
.ac-sin-volanta .vid-top .heading .volanta,
.ac-sin-volanta .fg-top .heading .volanta { display: none !important; }

/* ---------- Etiquetas de formato (VIDEO / FOTOS / AUDIO): control de tema ---------- */
.video-label, .badge-video, .col-card .video-label {
  background: var(--ac-etiq-fondo, rgba(9, 9, 9, .7)) !important;
  color: var(--ac-etiq-texto, #fff) !important;
}
/* Etiquetas de formato: icono y texto comparten color */
.video-label { display: inline-flex; align-items: center; gap: 6px; }
.video-label svg { flex: none; }
.video-label img[src$="304f609e6e25f2c0e5355486d82bc3e1db8bddef.svg"] { filter: brightness(0) invert(1); }

/* ---------- Color del subrayado en hover ---------- */
:where(a, h1, h2, h3, h4, .title, .headline, .q, .row, .special):hover,
a:hover :where(h1, h2, h3, h4, .title, .headline),
:hover > :where(h1, h2, h3, h4, .title, .headline),
.menu-bar a:hover, .menu-nav a:hover, .menu-nav .special:hover,
.site-header a:hover, .site-footer a:hover, .breadcrumbs-row a:hover,
.bajada a:hover, .bajada-list a:hover, .faq-item .q:hover, .segui .row:hover {
  text-decoration-color: var(--ac-sub-color, currentColor);
  text-decoration-thickness: 2px;
  text-underline-offset: 2px;
}

/* Subrayados fijos (bajada, footer, links de texto) toman el color elegido */
.bajada a, .bajada .link, .bajada-list a,
.footer-copyright .info a, .esp-hero .bajada .link,
.article a[href]:not(.logo--ac):not(.chip) {
  text-decoration-color: var(--ac-sub-color, currentColor);
}

/* Subrayado en hover: Las más leídas y Lee además */
.ac-links-sub .mas-leidas .item:hover :is(.t, p, a, h3),
.ac-links-sub .mas-leidas .item:hover,
.ac-links-sub .lee-ademas .nota-row:hover :is(.txt, p, a),
.ac-links-sub .lee-ademas .card:hover :is(.txt, p, a) {
  text-decoration-line: underline;
  text-decoration-color: var(--ac-sub-color, currentColor);
  text-decoration-thickness: 2px;
  text-underline-offset: 2px;
}

/* ---------- Embed de PDF en el cuerpo de la nota ---------- */
.figure--pdf { display: flex; flex-direction: column; gap: 8px; }
.pdf-embed {
  border: 1px solid #e2e2e2;
  border-radius: var(--ac-radius, 0);
  overflow: hidden;
  background: #f5f5f5;
}
.pdf-bar {
  display: flex; align-items: center; gap: 12px;
  padding: 10px 12px;
  background: #fff;
  border-bottom: 1px solid #e2e2e2;
  font-size: 13px;
}
.pdf-name { font-weight: 700; }
.pdf-meta { color: #808080; }
.pdf-dl {
  margin-left: auto;
  font-weight: 700;
  text-decoration-line: underline;
  text-decoration-color: var(--ac-sub-color, currentColor);
}
.pdf-view { display: block; width: 100%; height: 520px; border: 0; }
@media (max-width: 760px) {
  .pdf-view { height: 380px; }
  .pdf-meta { display: none; }
}

/* ---------- Embed de YouTube responsivo ---------- */
.yt-embed {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #000;
  border-radius: var(--ac-radius, 0);
  overflow: hidden;
}
.yt-embed iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
