/*
Theme Name: Ando Chepeando 2026
Theme URI: https://andochepeando.com/
Author: TPP Digital
Author URI: https://tomepalpinto.com/
Description: Plantilla editorial moderna 2026 para noticias de espectáculo, farándula, conciertos, cine/TV, opinión y agenda. Diseño premium en blanco/negro con acentos morado oscuro y verde.
Version: 1.13.0
Requires at least: 6.2
Tested up to: 6.6
Requires PHP: 7.4
License: GPL v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: andochepeando-2026
Tags: news, entertainment, magazine, responsive, dark, two-columns, custom-menu, featured-images
*/

:root {
  --ac-black: #07070a;
  --ac-ink: #111118;
  --ac-deep: #160d24;
  --ac-purple: #32105c;
  --ac-purple-soft: #5a24a3;
  --ac-green: #b7ff22;
  --ac-white: #ffffff;
  --ac-offwhite: #f6f5f2;
  --ac-muted: #85838d;
  --ac-line: rgba(255,255,255,.12);
  --ac-shadow: 0 22px 70px rgba(0,0,0,.28);
  --ac-radius-xl: 30px;
  --ac-radius-lg: 22px;
  --ac-radius-md: 16px;
  --ac-max: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--ac-offwhite);
  color: var(--ac-ink);
  font-family: Inter, Manrope, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.55;
  text-rendering: optimizeLegibility;
}

a { color: inherit; text-decoration: none; }
a:hover { color: var(--ac-purple-soft); }
img { max-width: 100%; height: auto; display: block; }

.ac-wrap { width: min(var(--ac-max), calc(100% - 32px)); margin-inline: auto; }

.ac-topbar {
  background: var(--ac-black);
  color: var(--ac-white);
  font-size: 13px;
  letter-spacing: .02em;
}
.ac-topbar__inner {
  min-height: 38px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.ac-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(183,255,34,.12);
  border: 1px solid rgba(183,255,34,.28);
  color: var(--ac-green);
  font-weight: 800;
  text-transform: uppercase;
}

.ac-header {
  position: sticky;
  top: 0;
  z-index: 30;
  background: rgba(7,7,10,.96);
  color: var(--ac-white);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(255,255,255,.10);
}
.ac-header__inner {
  display: flex;
  min-height: 78px;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}
.ac-logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 950;
  letter-spacing: -.07em;
  font-size: clamp(22px, 2.2vw, 30px);
  line-height: .9;
  flex: 0 0 auto;
}
.ac-logo a,
.ac-logo .custom-logo-link {
  display: inline-flex;
  align-items: center;
  line-height: 0;
}
.ac-logo .custom-logo {
  width: auto;
  max-width: 175px;
  max-height: 52px;
  object-fit: contain;
}
.ac-logo__mark {
  width: 42px;
  height: 42px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--ac-purple), var(--ac-black) 55%, var(--ac-green));
  box-shadow: 0 10px 30px rgba(50,16,92,.32);
}
.ac-logo span:last-child { letter-spacing: -.04em; }

.ac-nav ul,
.ac-footer-menu ul {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.ac-nav a {
  display: inline-flex;
  padding: 10px 12px;
  border-radius: 999px;
  color: var(--ac-white);
  font-weight: 900;
  font-size: 13px;
  letter-spacing: .07em;
  text-transform: uppercase;
}
.ac-nav a:hover,
.ac-nav .current-menu-item a {
  background: var(--ac-green);
  color: var(--ac-black);
}
.ac-social-follow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  flex: 0 0 auto;
}
.ac-social-follow__btn {
  display: inline-grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 999px;
  background: var(--ac-white);
  color: var(--ac-black);
  border: 1px solid rgba(255,255,255,.18);
  transition: transform .18s ease, background .18s ease;
}
.ac-social-follow__btn:hover {
  transform: translateY(-2px);
  background: var(--ac-green);
  color: var(--ac-black);
}
.ac-social-follow svg {
  width: 21px;
  height: 21px;
  fill: currentColor;
}
.ac-search-btn {
  border: 0;
  border-radius: 999px;
  background: var(--ac-green);
  color: var(--ac-black);
  font-weight: 950;
  padding: 12px 16px;
  cursor: pointer;
}

.ac-hero {
  padding: 34px 0 26px;
  background:
    radial-gradient(circle at 90% 8%, rgba(183,255,34,.22), transparent 28%),
    radial-gradient(circle at 12% 20%, rgba(90,36,163,.20), transparent 25%);
}
.ac-hero__grid {
  display: grid;
  grid-template-columns: 1.25fr .75fr;
  gap: 22px;
}
.ac-featured {
  min-height: 520px;
  border-radius: var(--ac-radius-xl);
  overflow: hidden;
  position: relative;
  background: var(--ac-black);
  color: var(--ac-white);
  box-shadow: var(--ac-shadow);
}
.ac-featured img {
  width: 100%;
  height: 100%;
  min-height: 520px;
  object-fit: cover;
  opacity: .74;
  transform: scale(1.01);
}
.ac-featured__content {
  position: absolute;
  inset: auto 0 0 0;
  padding: clamp(22px, 5vw, 46px);
  background: linear-gradient(to top, rgba(7,7,10,.94), rgba(7,7,10,.50), transparent);
}
.ac-kicker {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  padding: 7px 11px;
  border-radius: 999px;
  background: var(--ac-green);
  color: var(--ac-black);
  text-transform: uppercase;
  letter-spacing: .08em;
  font-size: 12px;
  font-weight: 950;
}
.ac-featured h1 {
  max-width: 820px;
  margin: 16px 0 12px;
  font-size: clamp(36px, 6vw, 74px);
  line-height: .92;
  letter-spacing: -.07em;
}
.ac-excerpt { color: rgba(255,255,255,.78); max-width: 700px; font-size: 17px; }
.ac-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-top: 18px;
  color: rgba(255,255,255,.72);
  font-size: 13px;
  font-weight: 700;
}

.ac-side-stack { display: grid; gap: 18px; }
.ac-card-dark,
.ac-card-light {
  border-radius: var(--ac-radius-lg);
  overflow: hidden;
  background: var(--ac-black);
  color: var(--ac-white);
  position: relative;
  box-shadow: 0 18px 50px rgba(0,0,0,.18);
}
.ac-card-dark img,
.ac-card-light img { width: 100%; height: 210px; object-fit: cover; }
.ac-card-dark__body,
.ac-card-light__body { padding: 20px; }
.ac-card-dark h2,
.ac-card-light h3,
.ac-card h3 { margin: 10px 0 8px; line-height: 1.03; letter-spacing: -.04em; }
.ac-card-dark h2 { font-size: clamp(22px, 3vw, 31px); }
.ac-card-light { background: var(--ac-white); color: var(--ac-ink); }
.ac-card-light p, .ac-card p { color: #62606b; }

.ac-trending {
  padding: 16px 0 36px;
}
.ac-trending__inner {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}
.ac-trending strong { margin-right: 6px; }
.ac-chip {
  padding: 10px 14px;
  border-radius: 999px;
  border: 1px solid rgba(17,17,24,.10);
  background: var(--ac-white);
  font-weight: 850;
  font-size: 14px;
}
.ac-chip:hover { background: var(--ac-purple); color: var(--ac-white); }

.ac-section { padding: 42px 0; }
.ac-section--dark {
  background: var(--ac-black);
  color: var(--ac-white);
  margin: 32px 0;
  padding: 58px 0;
  border-radius: 38px;
}
.ac-section__head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 22px;
}
.ac-eyebrow {
  text-transform: uppercase;
  color: var(--ac-purple-soft);
  font-weight: 950;
  letter-spacing: .12em;
  font-size: 12px;
}
.ac-section--dark .ac-eyebrow { color: var(--ac-green); }
.ac-title {
  margin: 3px 0 0;
  font-size: clamp(31px, 5vw, 58px);
  line-height: .95;
  letter-spacing: -.07em;
}
.ac-view-all {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 14px;
  border-radius: 999px;
  background: var(--ac-ink);
  color: var(--ac-white);
  font-weight: 900;
  white-space: nowrap;
}
.ac-section--dark .ac-view-all { background: var(--ac-green); color: var(--ac-black); }
.ac-section--cinetv {
  background:
    radial-gradient(circle at 12% 10%, rgba(183,255,34,.18), transparent 26%),
    linear-gradient(135deg, #4a064c 0%, #240423 52%, #08080c 100%);
}

.ac-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}
.ac-grid--two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.ac-card {
  background: var(--ac-white);
  border: 1px solid rgba(17,17,24,.08);
  border-radius: var(--ac-radius-lg);
  overflow: hidden;
  transition: transform .22s ease, box-shadow .22s ease;
}
.ac-card:hover { transform: translateY(-4px); box-shadow: 0 22px 50px rgba(0,0,0,.10); }
.ac-card img { width: 100%; height: 235px; object-fit: cover; }
.ac-card__body { padding: 18px; }
.ac-card h3 { font-size: 23px; }
.ac-card__meta { color: var(--ac-muted); font-size: 13px; font-weight: 750; }
.ac-section--dark .ac-card { background: #12121a; border-color: rgba(255,255,255,.10); }
.ac-section--dark .ac-card p { color: rgba(255,255,255,.68); }

.ac-opinion {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
.ac-opinion-card {
  border-radius: var(--ac-radius-lg);
  background: linear-gradient(135deg, var(--ac-deep), #08080c);
  color: var(--ac-white);
  padding: 28px;
  min-height: 250px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.ac-opinion-card h3 {
  font-size: clamp(27px, 4vw, 45px);
  line-height: .98;
  letter-spacing: -.06em;
  margin: 0 0 18px;
}
.ac-avatar-row { display: flex; align-items: center; gap: 12px; color: rgba(255,255,255,.72); font-weight: 800; }
.ac-avatar {
  width: 44px;
  height: 44px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--ac-green), var(--ac-purple-soft));
}

.ac-agenda {
  display: grid;
  gap: 12px;
}
.ac-agenda-item {
  display: grid;
  grid-template-columns: 88px 1fr auto;
  align-items: center;
  gap: 18px;
  padding: 18px;
  border-radius: var(--ac-radius-lg);
  background: var(--ac-white);
  border: 1px solid rgba(17,17,24,.08);
}
.ac-datebox {
  display: grid;
  place-items: center;
  min-height: 72px;
  border-radius: 19px;
  background: var(--ac-black);
  color: var(--ac-green);
  font-weight: 950;
  line-height: .95;
}
.ac-datebox span:first-child { font-size: 26px; }
.ac-datebox span:last-child { font-size: 12px; text-transform: uppercase; letter-spacing: .12em; }
.ac-agenda-item h3 { margin: 0; font-size: 22px; letter-spacing: -.03em; }
.ac-agenda-item p { margin: 4px 0 0; color: var(--ac-muted); }

.ac-single {
  padding: 46px 0 70px;
}
.ac-single__hero {
  max-width: 940px;
  margin: 0 auto 28px;
  text-align: center;
}
.ac-single h1 {
  font-size: clamp(38px, 7vw, 78px);
  line-height: .92;
  letter-spacing: -.075em;
  margin: 14px 0;
}
.ac-single__image {
  border-radius: var(--ac-radius-xl);
  overflow: hidden;
  box-shadow: var(--ac-shadow);
  margin: 28px auto;
  width: min(var(--ac-max), calc(100% - 32px));
}
.ac-content {
  width: min(760px, calc(100% - 32px));
  margin-inline: auto;
  font-size: 19px;
}
.ac-content p { margin: 0 0 1.15em; }
.ac-content h2, .ac-content h3 { line-height: 1.05; letter-spacing: -.04em; }
.ac-content a { color: var(--ac-purple-soft); font-weight: 850; text-decoration: underline; }

.ac-archive-title {
  padding: 46px 0 12px;
  background: linear-gradient(135deg, rgba(50,16,92,.13), rgba(183,255,34,.16));
}
.ac-archive-title h1 { font-size: clamp(38px, 7vw, 78px); letter-spacing: -.075em; line-height: .92; margin: 0; }

.ac-pagination {
  display: flex;
  justify-content: center;
  margin: 36px 0;
}
.ac-pagination .page-numbers {
  padding: 10px 14px;
  border-radius: 999px;
  margin: 4px;
  background: var(--ac-white);
  border: 1px solid rgba(17,17,24,.08);
  font-weight: 850;
}
.ac-pagination .current { background: var(--ac-black); color: var(--ac-white); }

.ac-footer {
  background: var(--ac-black);
  color: var(--ac-white);
  padding: 54px 0 30px;
  margin-top: 42px;
}
.ac-footer__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  align-items: start;
}
.ac-footer p { color: rgba(255,255,255,.68); max-width: 560px; }
.ac-footer-menu ul { justify-content: flex-end; flex-wrap: wrap; }
.ac-footer-menu a {
  display: inline-flex;
  padding: 9px 12px;
  border-radius: 999px;
  background: rgba(255,255,255,.08);
  font-weight: 800;
}
.ac-footer__bottom {
  margin-top: 36px;
  padding-top: 22px;
  border-top: 1px solid rgba(255,255,255,.10);
  color: rgba(255,255,255,.52);
  font-size: 13px;
}

.ac-mobile-toggle { display: none; }

@media (max-width: 900px) {
  .ac-header__inner { min-height: 70px; }
  .ac-mobile-toggle {
    display: inline-flex;
    border: 0;
    border-radius: 999px;
    background: var(--ac-black);
    color: var(--ac-white);
    padding: 11px 14px;
    font-weight: 900;
  }
  .ac-nav {
    position: absolute;
    top: 70px;
    left: 16px;
    right: 16px;
    background: var(--ac-black);
    border: 1px solid rgba(255,255,255,.10);
    border-radius: 20px;
    padding: 14px;
    box-shadow: var(--ac-shadow);
    display: none;
  }
  .ac-nav.is-open { display: block; }
  .ac-nav ul { display: grid; gap: 4px; }
  .ac-nav a { width: 100%; }
  .ac-search-btn { display: none; }
  .ac-social-follow { margin-left: auto; }
  .ac-hero__grid, .ac-grid, .ac-grid--two, .ac-opinion, .ac-footer__grid { grid-template-columns: 1fr; }
  .ac-featured, .ac-featured img { min-height: 460px; }
  .ac-section__head { align-items: start; flex-direction: column; }
  .ac-agenda-item { grid-template-columns: 72px 1fr; }
  .ac-agenda-item .ac-view-all { grid-column: 1 / -1; width: fit-content; }
  .ac-footer-menu ul { justify-content: flex-start; }
}

@media (max-width: 560px) {
  .ac-wrap { width: min(100% - 22px, var(--ac-max)); }
  .ac-topbar__inner { justify-content: center; text-align: center; }
  .ac-topbar__inner span:last-child { display: none; }
  .ac-logo__mark { width: 36px; height: 36px; border-radius: 12px; }
  .ac-social-follow__btn { width: 34px; height: 34px; }
  .ac-social-follow svg { width: 19px; height: 19px; }
  .ac-featured, .ac-featured img { min-height: 430px; }
  .ac-featured__content { padding: 22px; }
  .ac-card img { height: 205px; }
  .ac-section--dark { border-radius: 26px; }
  .ac-single__image { width: min(100% - 22px, var(--ac-max)); }
}


/* Nota: compartir, sidebar y relacionados */
.ac-share {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px;
  margin: 18px auto 0;
}
.ac-share span {
  color: var(--ac-muted);
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .12em;
}
.ac-share__btn {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 10px 13px;
  border-radius: 999px;
  background: var(--ac-white);
  border: 1px solid rgba(17,17,24,.10);
  color: var(--ac-ink);
  font-size: 14px;
  font-weight: 950;
}
.ac-share__btn:hover { background: var(--ac-green); color: var(--ac-black); }
.ac-layout {
  display: grid;
  grid-template-columns: minmax(0, 760px) minmax(280px, 360px);
  gap: 34px;
  align-items: start;
}
.ac-layout .ac-content {
  width: 100%;
  margin: 0;
}
.ac-sidebar {
  position: sticky;
  top: 104px;
}
.ac-sidebar-box {
  background: var(--ac-white);
  border: 1px solid rgba(17,17,24,.08);
  border-radius: var(--ac-radius-lg);
  box-shadow: 0 18px 50px rgba(0,0,0,.08);
  overflow: hidden;
}
.ac-sidebar-box__head {
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: var(--ac-black);
  color: var(--ac-white);
}
.ac-sidebar-box__head span {
  padding: 14px;
  font-size: 13px;
  font-weight: 950;
  text-align: center;
  text-transform: uppercase;
  letter-spacing: .08em;
}
.ac-sidebar-box__head span:last-child { color: var(--ac-green); border-left: 1px solid rgba(255,255,255,.12); }
.ac-sidebar-columns {
  display: grid;
  grid-template-columns: 1fr 1fr;
}
.ac-sidebar-columns > div + div { border-left: 1px solid rgba(17,17,24,.08); }
.ac-section--newsbox { padding-top: 10px; }
.ac-news-box--home {
  box-shadow: 0 22px 60px rgba(0,0,0,.09);
}
.ac-news-box--home .ac-sidebar-columns { min-height: 100%; }
.ac-mini-news {
  display: grid;
  grid-template-columns: 74px minmax(0, 1fr);
  align-items: center;
  gap: 11px;
  padding: 13px;
  border-bottom: 1px solid rgba(17,17,24,.08);
}
.ac-mini-news:last-child { border-bottom: 0; }
.ac-mini-news__thumb {
  display: block;
  width: 74px;
  height: 58px;
  border-radius: 14px;
  overflow: hidden;
  background: linear-gradient(135deg, var(--ac-purple), var(--ac-black));
}
.ac-mini-news__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.ac-mini-news__placeholder {
  display: block;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #4a064c, #08080c 65%, var(--ac-green));
}
.ac-mini-news__content {
  display: grid;
  gap: 5px;
  min-width: 0;
}
.ac-mini-news strong {
  font-size: 14px;
  line-height: 1.18;
  letter-spacing: -.02em;
}
.ac-mini-news small,
.ac-empty-mini {
  color: var(--ac-muted);
  font-size: 12px;
  font-weight: 800;
}
.ac-empty-mini { padding: 14px; margin: 0; }
.ac-related {
  margin-top: 48px;
  padding-top: 36px;
  border-top: 1px solid rgba(17,17,24,.10);
}

@media (max-width: 1020px) {
  .ac-layout { grid-template-columns: 1fr; }
  .ac-sidebar { position: static; }
}

@media (max-width: 640px) {
  .ac-sidebar-columns { grid-template-columns: 1fr; }
  .ac-sidebar-columns > div + div { border-left: 0; border-top: 1px solid rgba(17,17,24,.08); }
  .ac-sidebar-box__head { grid-template-columns: 1fr; }
  .ac-sidebar-box__head span:last-child { border-left: 0; border-top: 1px solid rgba(255,255,255,.12); }
}


/* v1.3 — Corrección visual del bloque Últimas / Más leídas */
.ac-news-box {
  overflow: hidden;
}
.ac-news-box--home {
  border-radius: 28px;
}
.ac-news-box--home .ac-sidebar-box__head span {
  padding: 17px 22px;
  text-align: left;
  font-size: 14px;
}
.ac-news-box--home .ac-sidebar-columns {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.ac-news-box--home .ac-mini-news {
  grid-template-columns: 98px minmax(0, 1fr);
  gap: 15px;
  padding: 15px 18px;
}
.ac-news-box--home .ac-mini-news__thumb {
  width: 98px;
  height: 72px;
  border-radius: 16px;
}
.ac-news-box--home .ac-mini-news strong {
  font-size: 16px;
  line-height: 1.16;
}
.ac-news-box--sidebar {
  border-radius: 26px;
}
.ac-news-box--sidebar .ac-sidebar-box__head {
  display: none;
}
.ac-news-box--sidebar .ac-sidebar-columns {
  display: block;
}
.ac-news-box--sidebar .ac-sidebar-columns > div + div {
  border-left: 0;
  border-top: 10px solid var(--ac-offwhite);
}
.ac-news-group-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 15px 17px;
  background: var(--ac-black);
  color: var(--ac-white);
  font-size: 13px;
  font-weight: 950;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.ac-news-group-title--popular {
  color: var(--ac-green);
}
.ac-news-box--sidebar .ac-mini-news {
  grid-template-columns: 92px minmax(0, 1fr);
  gap: 13px;
  padding: 13px 15px;
  min-height: 94px;
}
.ac-news-box--sidebar .ac-mini-news__thumb {
  width: 92px;
  height: 68px;
  border-radius: 16px;
}
.ac-mini-news strong {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.ac-news-box--sidebar .ac-mini-news strong {
  -webkit-line-clamp: 3;
  font-size: 14px;
  line-height: 1.16;
  letter-spacing: -.025em;
}
.ac-news-box--home .ac-mini-news strong {
  -webkit-line-clamp: 2;
}
.ac-mini-news small {
  line-height: 1.1;
}
.ac-news-box--sidebar .ac-mini-news:hover,
.ac-news-box--home .ac-mini-news:hover {
  background: rgba(50,16,92,.045);
  color: var(--ac-black);
}

@media (max-width: 760px) {
  .ac-news-box--home .ac-sidebar-columns { grid-template-columns: 1fr; }
  .ac-news-box--home .ac-sidebar-columns > div + div { border-left: 0; border-top: 1px solid rgba(17,17,24,.08); }
  .ac-news-box--home .ac-sidebar-box__head { display: none; }
  .ac-news-box--home .ac-sidebar-columns > div:first-child::before,
  .ac-news-box--home .ac-sidebar-columns > div:last-child::before {
    display: block;
    padding: 15px 17px;
    background: var(--ac-black);
    color: var(--ac-white);
    font-size: 13px;
    font-weight: 950;
    letter-spacing: .08em;
    text-transform: uppercase;
  }
  .ac-news-box--home .ac-sidebar-columns > div:first-child::before { content: 'Últimas noticias'; }
  .ac-news-box--home .ac-sidebar-columns > div:last-child::before { content: 'Más leídas'; color: var(--ac-green); }
}


/* v1.4 — Home editorial premium: sin tabla, más aire y ranking elegante */
.ac-section--newsbox {
  padding: 26px 0 34px;
}
.ac-home-editorial {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 380px);
  gap: 24px;
  align-items: start;
}
.ac-home-panel,
.ac-home-ranking {
  border-radius: 32px;
  overflow: hidden;
  background: var(--ac-white);
  border: 1px solid rgba(17,17,24,.08);
  box-shadow: 0 24px 70px rgba(0,0,0,.07);
}
.ac-home-panel__head,
.ac-home-ranking__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 20px 22px 16px;
  border-bottom: 1px solid rgba(17,17,24,.08);
}
.ac-home-panel__head h2,
.ac-home-ranking__head h2 {
  margin: 0;
  font-size: clamp(27px, 3vw, 42px);
  line-height: .92;
  letter-spacing: -.065em;
}
.ac-home-panel__label,
.ac-home-ranking__label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 11px;
  border-radius: 999px;
  background: rgba(50,16,92,.10);
  color: var(--ac-purple-soft);
  font-size: 11px;
  font-weight: 950;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.ac-home-panel__body {
  display: grid;
  grid-template-columns: minmax(280px, .98fr) minmax(0, 1.02fr);
  gap: 18px;
  padding: 18px;
}
.ac-home-lead {
  display: grid;
  background: #fff;
  border: 1px solid rgba(17,17,24,.08);
  border-radius: 26px;
  overflow: hidden;
  min-height: 100%;
  transition: transform .22s ease, box-shadow .22s ease;
}
.ac-home-lead:hover {
  transform: translateY(-3px);
  box-shadow: 0 22px 48px rgba(0,0,0,.10);
}
.ac-home-lead__media {
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: linear-gradient(135deg,#4a064c,#08080c 65%,var(--ac-green));
}
.ac-home-lead__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.ac-home-lead__content {
  padding: 18px;
}
.ac-home-lead h3 {
  margin: 8px 0 8px;
  font-size: clamp(23px, 2.7vw, 34px);
  line-height: .98;
  letter-spacing: -.055em;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.ac-home-lead p {
  margin: 0 0 12px;
  color: #686674;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.ac-home-meta {
  color: var(--ac-muted);
  font-size: 12px;
  font-weight: 850;
}
.ac-home-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}
.ac-home-small {
  display: grid;
  grid-template-columns: 112px minmax(0,1fr);
  gap: 12px;
  align-items: center;
  min-height: 102px;
  padding: 10px;
  border-radius: 22px;
  border: 1px solid rgba(17,17,24,.07);
  background: rgba(246,245,242,.72);
  transition: background .2s ease, transform .2s ease;
}
.ac-home-small:hover {
  background: rgba(50,16,92,.07);
  transform: translateY(-2px);
  color: var(--ac-black);
}
.ac-home-small__thumb {
  width: 112px;
  height: 78px;
  border-radius: 17px;
  overflow: hidden;
  background: linear-gradient(135deg,#4a064c,#08080c 65%,var(--ac-green));
}
.ac-home-small__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.ac-home-small strong {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  font-size: 14px;
  line-height: 1.12;
  letter-spacing: -.025em;
}
.ac-home-small small {
  display: block;
  margin-top: 6px;
  color: var(--ac-muted);
  font-size: 11px;
  font-weight: 850;
}
.ac-home-ranking {
  background:
    radial-gradient(circle at 80% 0%, rgba(183,255,34,.18), transparent 30%),
    linear-gradient(160deg, #22032a 0%, #08080c 72%);
  color: var(--ac-white);
  border-color: rgba(255,255,255,.10);
}
.ac-home-ranking__head {
  border-bottom-color: rgba(255,255,255,.10);
}
.ac-home-ranking__label {
  background: rgba(183,255,34,.14);
  color: var(--ac-green);
}
.ac-home-ranking__list {
  display: grid;
  padding: 8px 0 10px;
}
.ac-home-rank {
  display: grid;
  grid-template-columns: 58px minmax(0,1fr);
  gap: 12px;
  align-items: center;
  padding: 15px 20px;
  border-bottom: 1px solid rgba(255,255,255,.10);
}
.ac-home-rank:last-child { border-bottom: 0; }
.ac-home-rank__number {
  font-size: 31px;
  line-height: .85;
  letter-spacing: -.08em;
  font-weight: 950;
  color: var(--ac-green);
  opacity: .95;
}
.ac-home-rank strong {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  font-size: 16px;
  line-height: 1.12;
  letter-spacing: -.025em;
}
.ac-home-rank small {
  display: block;
  margin-top: 6px;
  color: rgba(255,255,255,.56);
  font-size: 11px;
  font-weight: 850;
}
.ac-home-rank:hover {
  background: rgba(255,255,255,.06);
  color: var(--ac-white);
}
.ac-home-empty {
  margin: 0;
  padding: 20px;
  color: var(--ac-muted);
  font-weight: 800;
}

@media (max-width: 1060px) {
  .ac-home-editorial {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 820px) {
  .ac-home-panel__body {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 640px) {
  .ac-home-panel,
  .ac-home-ranking { border-radius: 24px; }
  .ac-home-panel__head,
  .ac-home-ranking__head {
    align-items: flex-start;
    flex-direction: column;
    padding: 18px;
  }
  .ac-home-panel__body { padding: 12px; }
  .ac-home-grid { grid-template-columns: 1fr; }
  .ac-home-small { grid-template-columns: 98px minmax(0,1fr); }
  .ac-home-small__thumb { width: 98px; height: 72px; }
  .ac-home-rank { grid-template-columns: 50px minmax(0,1fr); padding: 14px 17px; }
  .ac-home-rank__number { font-size: 27px; }
}


/* =========================================================
   v1.5 — Rediseño editorial, mobile-first, SEO y AdSense
   ========================================================= */

:root {
  --ac-offwhite: #f7f7f8;
  --ac-purple: #3a0b57;
  --ac-purple-soft: #64158b;
  --ac-green: #b9ff34;
  --ac-shadow: 0 18px 48px rgba(17, 17, 24, .12);
  --ac-radius-xl: 24px;
  --ac-radius-lg: 18px;
  --ac-radius-md: 14px;
  --ac-max: 1240px;
}

body {
  background: var(--ac-offwhite);
  -webkit-font-smoothing: antialiased;
  overflow-wrap: anywhere;
}

.screen-reader-text {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.ac-skip-link {
  position: fixed;
  left: 12px;
  top: -80px;
  z-index: 9999;
  padding: 12px 16px;
  background: var(--ac-green);
  color: var(--ac-black);
  font-weight: 900;
  border-radius: 10px;
}
.ac-skip-link:focus { top: 12px; }

/* Barra informativa tipo medio de comunicación */
.ac-topbar { background: #000; }
.ac-topbar__inner {
  min-height: 36px;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 12px;
}
.ac-topbar__headline {
  min-width: 0;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  font-weight: 750;
}
.ac-topbar__headline:hover { color: var(--ac-green); }
.ac-topbar__date {
  color: rgba(255,255,255,.58);
  font-size: 12px;
  font-weight: 750;
  text-transform: uppercase;
  letter-spacing: .06em;
}
.ac-pill {
  padding: 5px 9px;
  font-size: 10px;
  letter-spacing: .12em;
}

/* Header más sobrio y compacto */
.ac-header {
  background: rgba(0,0,0,.98);
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.ac-header__inner { min-height: 72px; gap: 14px; }
.ac-logo { flex: 0 0 auto; font-size: clamp(22px, 2vw, 28px); }
.ac-logo .custom-logo-link { display: inline-flex; align-items: center; line-height: 0; }
.ac-logo .custom-logo { width: auto; max-width: 170px; max-height: 46px; object-fit: contain; }
.ac-header-actions {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex: 0 0 auto;
}
.ac-nav { min-width: 0; }
.ac-nav ul { gap: 2px; }
.ac-nav a {
  padding: 9px 9px;
  font-size: 12px;
  letter-spacing: .055em;
}
.ac-search-btn {
  padding: 10px 13px;
  text-transform: uppercase;
  font-size: 11px;
  letter-spacing: .08em;
}
.ac-social-follow__btn { width: 34px; height: 34px; }
.ac-social-follow svg { width: 18px; height: 18px; }

/* Portada editorial */
.ac-hero {
  padding: 28px 0 18px;
  background:
    radial-gradient(circle at 92% 0%, rgba(185,255,52,.13), transparent 28%),
    linear-gradient(180deg, #f7f7f8 0%, #f1eef5 100%);
}
.ac-hero__grid {
  grid-template-columns: minmax(0, 1.45fr) minmax(320px, .55fr);
  gap: 16px;
}
.ac-featured {
  min-height: 500px;
  border-radius: 22px;
  box-shadow: 0 18px 44px rgba(0,0,0,.16);
}
.ac-featured__link { display: block; min-height: inherit; height: 100%; }
.ac-featured img { min-height: 500px; }
.ac-featured__placeholder,
.ac-card-placeholder {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 210px;
  background: linear-gradient(135deg, #4a075b, #08080c 70%, var(--ac-green));
}
.ac-featured__content { padding: clamp(24px, 4vw, 42px); }
.ac-featured h1 {
  margin: 12px 0 10px;
  max-width: 900px;
  font-size: clamp(38px, 4.8vw, 66px);
  line-height: .96;
  letter-spacing: -.06em;
}
.ac-side-stack { gap: 16px; }
.ac-card-light--hero {
  display: grid;
  grid-template-columns: minmax(140px, 42%) minmax(0,1fr);
  min-height: 242px;
  border: 1px solid rgba(17,17,24,.08);
  border-radius: 20px;
  box-shadow: 0 12px 34px rgba(17,17,24,.08);
}
.ac-card-light--hero .ac-card-light__media { min-height: 100%; }
.ac-card-light--hero .ac-card-light__media img,
.ac-card-light--hero .ac-card-placeholder {
  width: 100%;
  height: 100%;
  min-height: 242px;
  object-fit: cover;
}
.ac-card-light--hero .ac-card-light__body {
  padding: 18px 16px;
  align-self: center;
}
.ac-card-light--hero h2 {
  margin: 8px 0;
  font-size: clamp(21px, 2.2vw, 29px);
  line-height: 1;
  letter-spacing: -.045em;
}
.ac-card-light--hero p { margin: 0 0 10px; color: #686674; font-size: 14px; }

/* Navegación de secciones horizontal en móviles */
.ac-trending { padding: 12px 0 22px; background: #fff; border-bottom: 1px solid rgba(17,17,24,.06); }
.ac-trending__inner { gap: 8px; }
.ac-chip {
  padding: 8px 12px;
  font-size: 12px;
  background: #fff;
}

/* Jerarquía editorial */
.ac-section {
  padding: 38px 0;
  content-visibility: auto;
  contain-intrinsic-size: 700px;
}
.ac-section__head { margin-bottom: 18px; }
.ac-title { font-size: clamp(34px, 4.2vw, 54px); }
.ac-eyebrow { color: var(--ac-purple-soft); }
.ac-grid { gap: 16px; }
.ac-card {
  border-radius: 18px;
  box-shadow: none;
}
.ac-card:hover { box-shadow: 0 16px 38px rgba(17,17,24,.10); }
.ac-card img { height: 220px; }
.ac-card__body { padding: 16px; }
.ac-card h3 {
  font-size: clamp(20px, 2.1vw, 26px);
  line-height: 1.03;
  margin: 9px 0 7px;
}
.ac-card p { margin: 0 0 10px; font-size: 14px; }
.ac-kicker { padding: 6px 9px; font-size: 10px; }
.ac-view-all { padding: 9px 12px; font-size: 12px; }

/* Últimas + ranking con proporciones más de medio */
.ac-home-editorial {
  grid-template-columns: minmax(0, 1.55fr) minmax(300px, .55fr);
  gap: 18px;
}
.ac-home-panel,
.ac-home-ranking {
  border-radius: 22px;
  box-shadow: 0 14px 42px rgba(17,17,24,.07);
}
.ac-home-panel__head,
.ac-home-ranking__head { padding: 18px 20px 14px; }
.ac-home-panel__body {
  grid-template-columns: minmax(300px, 1fr) minmax(0, 1.1fr);
  gap: 14px;
  padding: 14px;
}
.ac-home-lead { border-radius: 18px; }
.ac-home-grid { gap: 10px; }
.ac-home-small {
  grid-template-columns: 96px minmax(0,1fr);
  min-height: 88px;
  border-radius: 14px;
  padding: 8px;
}
.ac-home-small__thumb { width: 96px; height: 68px; border-radius: 11px; }
.ac-home-small strong { font-size: 13px; line-height: 1.15; }
.ac-home-rank { grid-template-columns: 46px minmax(0,1fr); padding: 14px 18px; }
.ac-home-rank__number { font-size: 27px; }
.ac-home-rank strong { font-size: 15px; }

/* Opinión y CineTV */
.ac-section--opinion { background: #fff; }
.ac-opinion-card { min-height: 230px; border-radius: 20px; }
.ac-opinion-card h3 { font-size: clamp(26px, 3.2vw, 40px); }
.ac-section--dark {
  margin: 22px 0;
  padding: 48px 0;
  border-radius: 0;
}
.ac-section--cinetv {
  background:
    radial-gradient(circle at 10% 0%, rgba(185,255,52,.12), transparent 25%),
    linear-gradient(135deg, #5b0b63 0%, #2b052f 50%, #0b0710 100%);
}

/* Agenda más tipo cartelera */
.ac-agenda { grid-template-columns: repeat(2, minmax(0,1fr)); gap: 12px; }
.ac-agenda-item {
  grid-template-columns: 68px minmax(0,1fr);
  gap: 14px;
  border-radius: 16px;
  padding: 14px;
}
.ac-agenda-item .ac-view-all { grid-column: 2; justify-self: start; }
.ac-datebox { min-height: 68px; border-radius: 14px; }
.ac-agenda-item h3 { font-size: 19px; line-height: 1.06; }
.ac-agenda-item p { font-size: 13px; }

/* Nota: lectura, SEO semántico y experiencia móvil */
.ac-single { padding-top: 34px; }
.ac-single__hero { max-width: 980px; }
.ac-breadcrumbs {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 7px;
  margin-bottom: 18px;
  color: var(--ac-muted);
  font-size: 12px;
  font-weight: 800;
}
.ac-breadcrumbs a:hover { color: var(--ac-purple-soft); }
.ac-single h1 {
  max-width: 1040px;
  margin: 14px auto;
  font-size: clamp(42px, 6vw, 72px);
  line-height: .96;
  letter-spacing: -.065em;
}
.ac-single__meta {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 7px;
  color: var(--ac-muted);
  font-size: 13px;
}
.ac-single__image {
  border-radius: 20px;
  box-shadow: 0 16px 42px rgba(17,17,24,.12);
}
.ac-single__image img { width: 100%; max-height: 760px; object-fit: cover; }
.ac-single__image figcaption {
  padding: 9px 12px;
  color: var(--ac-muted);
  font-size: 12px;
  background: #fff;
}
.ac-content {
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 20px;
  line-height: 1.68;
}
.ac-content h2,
.ac-content h3 {
  font-family: Inter, Manrope, ui-sans-serif, system-ui, sans-serif;
  margin-top: 1.5em;
}
.ac-content h2 { font-size: clamp(28px, 4vw, 40px); }
.ac-content h3 { font-size: clamp(23px, 3vw, 31px); }
.ac-content blockquote {
  margin: 1.5em 0;
  padding: 18px 22px;
  border-left: 4px solid var(--ac-green);
  background: #fff;
  font-size: 1.12em;
}
.ac-share { gap: 7px; }
.ac-share__btn { min-height: 36px; padding: 8px 11px; font-size: 12px; }

/* Publicidad: sin espacios vacíos y sin romper CLS */
.ac-ad-slot {
  padding: 14px 0;
  text-align: center;
}
.ac-ad-slot > .ac-wrap {
  min-height: 110px;
  display: grid;
  align-content: center;
  justify-items: center;
}
.ac-ad-label {
  display: block;
  margin-bottom: 6px;
  color: #9a98a0;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
}
.ac-ad-widget { width: 100%; overflow: hidden; }
.ac-ad-widget iframe,
.ac-ad-widget ins { max-width: 100%; }
.ac-ad-slot--inline {
  min-height: 170px;
  margin: 28px 0;
  padding: 14px;
  background: rgba(17,17,24,.025);
  border-block: 1px solid rgba(17,17,24,.06);
}
.ac-sidebar .ac-ad-slot {
  margin-top: 18px;
  padding: 14px;
  border-radius: 16px;
  background: #fff;
  border: 1px solid rgba(17,17,24,.07);
}
.ac-sidebar .ac-ad-slot > .ac-wrap { width: 100%; min-height: 250px; }

/* Sidebar más periodístico */
.ac-news-box--sidebar { border-radius: 18px; box-shadow: 0 12px 34px rgba(17,17,24,.07); }
.ac-news-group-title { padding: 13px 15px; font-size: 11px; }
.ac-news-box--sidebar .ac-mini-news {
  grid-template-columns: 84px minmax(0,1fr);
  min-height: 84px;
  gap: 11px;
  padding: 11px 12px;
}
.ac-news-box--sidebar .ac-mini-news__thumb { width: 84px; height: 62px; border-radius: 10px; }

/* Footer institucional */
.ac-footer { margin-top: 24px; padding-top: 46px; }
.ac-footer__brand p { max-width: 500px; }
.ac-footer__social { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 16px; }
.ac-footer__social a {
  padding: 8px 11px;
  border: 1px solid rgba(255,255,255,.15);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
}
.ac-footer__bottom {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
}

/* Tablet */
@media (max-width: 1080px) {
  .ac-header__inner { flex-wrap: wrap; padding: 10px 0; }
  .ac-logo { order: 1; }
  .ac-header-actions { order: 2; margin-left: auto; }
  .ac-mobile-toggle { order: 3; display: inline-flex; align-items: center; gap: 7px; background: rgba(255,255,255,.08); }
  .ac-nav {
    order: 4;
    position: absolute;
    top: 100%;
    left: 16px;
    right: 16px;
    display: none;
    padding: 12px;
    background: #050506;
    border: 1px solid rgba(255,255,255,.10);
    border-radius: 16px;
    box-shadow: var(--ac-shadow);
  }
  .ac-nav.is-open { display: block; }
  .ac-nav ul { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 4px; }
  .ac-nav a { width: 100%; justify-content: center; }
  .ac-hero__grid { grid-template-columns: 1fr; }
  .ac-side-stack { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .ac-card-light--hero { min-height: 220px; }
  .ac-home-editorial { grid-template-columns: 1fr; }
  .ac-agenda { grid-template-columns: 1fr; }
}

/* Celulares */
@media (max-width: 700px) {
  .ac-wrap { width: min(100% - 24px, var(--ac-max)); }
  .ac-topbar__inner { grid-template-columns: auto minmax(0,1fr); min-height: 34px; }
  .ac-topbar__date { display: none; }
  .ac-header__inner { min-height: 60px; flex-wrap: nowrap; padding: 7px 0; }
  .ac-logo .custom-logo { max-width: 132px; max-height: 34px; }
  .ac-logo { font-size: 23px; }
  .ac-logo__mark { width: 32px; height: 32px; }
  .ac-header-actions { margin-left: auto; }
  .ac-search-btn { display: none; }
  .ac-social-follow__btn { width: 31px; height: 31px; }
  .ac-mobile-toggle { padding: 8px 9px; font-size: 10px; }
  .ac-mobile-toggle span:first-child { font-size: 16px; }
  .ac-nav { top: 62px; left: 10px; right: 10px; }
  .ac-nav ul { grid-template-columns: 1fr 1fr; }
  .ac-nav a { padding: 12px 8px; font-size: 11px; }

  .ac-hero { padding-top: 14px; }
  .ac-featured,
  .ac-featured img { min-height: 390px; }
  .ac-featured { border-radius: 18px; }
  .ac-featured h1 { font-size: clamp(34px, 10vw, 48px); line-height: .96; }
  .ac-featured__content { padding: 20px; }
  .ac-excerpt {
    font-size: 14px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }
  .ac-side-stack { grid-template-columns: 1fr; gap: 10px; }
  .ac-card-light--hero {
    grid-template-columns: 118px minmax(0,1fr);
    min-height: 132px;
    border-radius: 14px;
  }
  .ac-card-light--hero .ac-card-light__media img,
  .ac-card-light--hero .ac-card-placeholder { min-height: 132px; height: 100%; }
  .ac-card-light--hero .ac-card-light__body { padding: 12px; }
  .ac-card-light--hero h2 { font-size: 19px; }
  .ac-card-light--hero p { display: none; }

  .ac-trending { padding: 10px 0; overflow: hidden; }
  .ac-trending__inner {
    flex-wrap: nowrap;
    overflow-x: auto;
    scrollbar-width: none;
    padding-bottom: 2px;
  }
  .ac-trending__inner::-webkit-scrollbar { display: none; }
  .ac-trending strong,
  .ac-chip { flex: 0 0 auto; }

  .ac-section { padding: 28px 0; }
  .ac-section__head { margin-bottom: 14px; }
  .ac-title { font-size: 38px; }
  .ac-grid { grid-template-columns: 1fr; gap: 10px; }
  .ac-grid .ac-card {
    display: grid;
    grid-template-columns: 38% minmax(0,1fr);
    min-height: 150px;
    border-radius: 14px;
  }
  .ac-grid .ac-card > a { min-height: 100%; }
  .ac-grid .ac-card img { height: 100%; min-height: 150px; object-fit: cover; }
  .ac-grid .ac-card__body { padding: 12px; }
  .ac-grid .ac-card h3 { font-size: 19px; line-height: 1.04; }
  .ac-grid .ac-card p { display: none; }
  .ac-grid .ac-card__meta { font-size: 10px; }

  .ac-home-panel__head,
  .ac-home-ranking__head { padding: 16px; }
  .ac-home-panel__body { padding: 10px; }
  .ac-home-lead__content { padding: 14px; }
  .ac-home-grid { grid-template-columns: 1fr; }
  .ac-home-small { grid-template-columns: 92px minmax(0,1fr); }
  .ac-home-small__thumb { width: 92px; height: 66px; }

  .ac-opinion { grid-template-columns: 1fr; }
  .ac-opinion-card { min-height: 190px; padding: 20px; }
  .ac-section--dark { padding: 34px 0; margin: 10px 0; }

  .ac-agenda-item { grid-template-columns: 58px minmax(0,1fr); }
  .ac-datebox { min-height: 58px; }
  .ac-agenda-item h3 { font-size: 18px; }
  .ac-agenda-item p { display: none; }

  .ac-single { padding-top: 22px; }
  .ac-breadcrumbs { justify-content: flex-start; overflow: hidden; flex-wrap: nowrap; white-space: nowrap; }
  .ac-single__hero { text-align: left; }
  .ac-single__hero .ac-kicker { margin-left: 0; }
  .ac-single h1 { font-size: clamp(36px, 10vw, 48px); line-height: .98; margin: 12px 0; }
  .ac-single__meta { justify-content: flex-start; font-size: 12px; }
  .ac-single__hero .ac-share { justify-content: flex-start; }
  .ac-single__image { width: calc(100% - 24px); margin-top: 20px; border-radius: 14px; }
  .ac-content { font-size: 18px; line-height: 1.62; }
  .ac-content h2 { font-size: 30px; }
  .ac-share { justify-content: flex-start; }
  .ac-share span { width: 100%; }
  .ac-share__btn { flex: 1 1 auto; justify-content: center; }
  .ac-layout { gap: 24px; }
  .ac-sidebar { margin-top: 8px; }

  .ac-related .ac-grid .ac-card:nth-child(n+3) { display: none; }
  .ac-footer__bottom { display: grid; gap: 6px; }
}

@media (max-width: 390px) {
  .ac-social-follow { display: none; }
  .ac-logo .custom-logo { max-width: 124px; }
  .ac-featured,
  .ac-featured img { min-height: 360px; }
  .ac-grid .ac-card { grid-template-columns: 35% minmax(0,1fr); }
  .ac-grid .ac-card h3 { font-size: 17px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    scroll-behavior: auto !important;
    transition-duration: .001ms !important;
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
  }
}


/* v1.6 — ajustes visuales solicitados: header, portada y secciones */
@media (min-width: 1081px) {
  .ac-header__inner {
    display: grid;
    grid-template-columns: minmax(150px, 180px) minmax(0, 1fr) auto;
    gap: 16px;
    min-height: 68px;
  }
  .ac-logo { width: 100%; min-width: 0; }
  .ac-logo .custom-logo-link { width: 100%; }
  .ac-logo .custom-logo {
    width: auto;
    max-width: 176px;
    max-height: 40px;
    object-fit: contain;
  }
  .ac-nav { min-width: 0; justify-self: center; }
  .ac-nav ul { justify-content: center; gap: 1px; }
  .ac-nav li { flex: 0 0 auto; min-width: max-content; }
  .ac-nav a {
    padding: 9px 8px;
    font-size: 11px;
    letter-spacing: .045em;
    white-space: nowrap;
    word-break: normal;
    overflow-wrap: normal;
    hyphens: none;
  }
  .ac-header-actions { justify-self: end; }
}

/* No partir palabras del menú en ninguna resolución */
.ac-nav li,
.ac-nav a {
  white-space: nowrap;
  word-break: normal;
  overflow-wrap: normal;
  hyphens: none;
}

/* Logo más discreto también en tablet y móvil */
@media (max-width: 1080px) {
  .ac-logo .custom-logo { max-width: 126px; max-height: 32px; }
}
@media (max-width: 700px) {
  .ac-logo .custom-logo { max-width: 118px; max-height: 30px; }
}

/* Las secciones editoriales siempre reservan 3 columnas en escritorio */
@media (min-width: 701px) {
  .ac-section .ac-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}


/* =========================================================
   v1.7 — corrección responsive real para celulares
   ========================================================= */
html, body { max-width: 100%; overflow-x: clip; }
img { max-width: 100%; height: auto; }

@media (max-width: 700px) {
  /* Header compacto: nada se parte ni provoca desbordamiento */
  .ac-header__inner {
    width: calc(100% - 20px);
    min-height: 66px;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto auto;
    align-items: center;
    gap: 8px;
    padding: 8px 0;
  }
  .ac-logo { min-width: 0; width: auto; overflow: hidden; }
  .ac-logo .custom-logo-link { display: block; width: auto; }
  .ac-logo .custom-logo {
    display: block;
    width: auto;
    max-width: min(46vw, 158px);
    max-height: 42px;
    object-fit: contain;
  }
  .ac-header-actions { margin: 0; gap: 6px; }
  .ac-social-follow { gap: 6px; }
  .ac-social-follow__btn { width: 36px; height: 36px; }
  .ac-mobile-toggle {
    width: 40px;
    height: 40px;
    padding: 0;
    display: inline-grid;
    place-items: center;
    border-radius: 999px;
    flex: 0 0 40px;
  }
  .ac-mobile-toggle span:first-child { font-size: 18px; line-height: 1; }
  .ac-mobile-toggle span:last-child { display: none; }
  .ac-nav { top: calc(100% + 6px); left: 10px; right: 10px; max-height: calc(100dvh - 90px); overflow-y: auto; }
  .ac-nav ul { grid-template-columns: 1fr 1fr; }

  /* Hero completamente apilado */
  .ac-hero__grid,
  .ac-side-stack,
  .ac-card-light--hero {
    width: 100%;
    min-width: 0;
  }
  .ac-hero__grid { display: grid; grid-template-columns: minmax(0, 1fr) !important; }
  .ac-side-stack { display: grid; grid-template-columns: minmax(0,1fr) !important; }
  .ac-featured { min-height: 0; }
  .ac-featured__link { min-height: 0; }
  .ac-featured img { min-height: 360px; height: 360px; object-fit: cover; }
  .ac-featured h1 { font-size: clamp(31px, 9vw, 43px); }
  .ac-card-light--hero {
    display: grid;
    grid-template-columns: 112px minmax(0,1fr) !important;
    min-height: 126px;
  }
  .ac-card-light--hero .ac-card-light__media,
  .ac-card-light--hero .ac-card-light__media img,
  .ac-card-light--hero .ac-card-placeholder {
    width: 112px;
    min-width: 112px;
    min-height: 126px;
    height: 126px;
  }

  /* Últimas noticias: una sola columna real, sin huecos ni segunda columna lateral */
  .ac-section--newsbox { padding: 18px 0 26px; }
  .ac-home-editorial {
    display: grid;
    grid-template-columns: minmax(0, 1fr) !important;
    gap: 14px;
    width: 100%;
    min-width: 0;
  }
  .ac-home-panel,
  .ac-home-ranking { width: 100%; min-width: 0; border-radius: 18px; }
  .ac-home-panel__head,
  .ac-home-ranking__head {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 16px;
  }
  .ac-home-panel__head h2,
  .ac-home-ranking__head h2 { font-size: clamp(29px, 8vw, 38px); }
  .ac-home-panel__body {
    display: block !important;
    width: 100%;
    min-width: 0;
    padding: 10px;
  }
  .ac-home-lead {
    display: block;
    min-height: 0 !important;
    height: auto !important;
    width: 100%;
    margin: 0 0 10px;
    border-radius: 16px;
  }
  .ac-home-lead__media { width: 100%; aspect-ratio: 16 / 9; min-height: 0; }
  .ac-home-lead__media img { width: 100%; height: 100%; object-fit: cover; }
  .ac-home-lead__content { padding: 14px; }
  .ac-home-lead h3 { font-size: 25px; line-height: 1.01; }
  .ac-home-lead p { font-size: 14px; }
  .ac-home-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) !important;
    gap: 8px;
    width: 100%;
    min-width: 0;
  }
  .ac-home-small {
    width: 100%;
    min-width: 0;
    grid-template-columns: 96px minmax(0,1fr) !important;
    min-height: 82px;
    padding: 8px;
    border-radius: 13px;
  }
  .ac-home-small__thumb { width: 96px; height: 68px; border-radius: 10px; }
  .ac-home-small strong { font-size: 14px; -webkit-line-clamp: 2; }
  .ac-home-small small { font-size: 10px; margin-top: 4px; }

  /* Ranking debajo de últimas, compacto */
  .ac-home-ranking__list { padding: 4px 0 8px; }
  .ac-home-rank { grid-template-columns: 42px minmax(0,1fr); padding: 13px 15px; }
  .ac-home-rank__number { font-size: 25px; }
  .ac-home-rank strong { font-size: 14px; }

  /* Secciones: cards horizontales limpias, siempre dentro de pantalla */
  .ac-section .ac-grid { display: grid; grid-template-columns: minmax(0,1fr) !important; }
  .ac-grid .ac-card {
    width: 100%;
    min-width: 0;
    grid-template-columns: 120px minmax(0,1fr) !important;
    min-height: 126px;
  }
  .ac-grid .ac-card > a { width: 120px; min-width: 120px; }
  .ac-grid .ac-card img { width: 120px; height: 126px; min-height: 126px; }
  .ac-grid .ac-card h3 { font-size: 18px; -webkit-line-clamp: 3; }
  .ac-grid .ac-card__body { min-width: 0; }

  /* Evitar reservas gigantes mientras se renderiza contenido */
  .ac-section { content-visibility: visible; contain-intrinsic-size: auto; }
}

@media (max-width: 390px) {
  .ac-header__inner { grid-template-columns: minmax(0,1fr) auto auto; gap: 5px; }
  .ac-logo .custom-logo { max-width: 124px; }
  .ac-social-follow__btn { width: 33px; height: 33px; }
  .ac-mobile-toggle { width: 37px; height: 37px; flex-basis: 37px; }
  .ac-grid .ac-card { grid-template-columns: 108px minmax(0,1fr) !important; }
  .ac-grid .ac-card > a,
  .ac-grid .ac-card img { width: 108px; }
}

/* v1.8 — logo pequeño y consistente */
.ac-logo {
  display: flex;
  align-items: center;
  width: auto;
  min-width: 0;
  flex: 0 0 auto;
}
.ac-logo .custom-logo-link {
  display: inline-flex !important;
  align-items: center;
  width: auto !important;
  max-width: 100%;
  line-height: 0;
}
.ac-logo .custom-logo {
  display: block;
  width: auto !important;
  height: auto !important;
  max-width: 150px !important;
  max-height: 46px !important;
  object-fit: contain;
}
@media (min-width: 1081px) {
  .ac-header__inner { grid-template-columns: 160px minmax(0, 1fr) auto; }
  .ac-logo .custom-logo { max-width: 150px !important; max-height: 46px !important; }
}
@media (max-width: 1080px) {
  .ac-logo .custom-logo { max-width: 132px !important; max-height: 40px !important; }
}
@media (max-width: 700px) {
  .ac-logo .custom-logo { max-width: 118px !important; max-height: 36px !important; }
}
@media (max-width: 390px) {
  .ac-logo .custom-logo { max-width: 108px !important; max-height: 33px !important; }
}


/* v1.9 — header desktop closer to approved reference */
@media (min-width: 1081px) {
  .ac-header {
    position: relative;
    background: #000;
    border-bottom: 1px solid rgba(255,255,255,.14);
  }
  .ac-header .ac-wrap {
    width: min(1280px, calc(100% - 34px));
  }
  .ac-header__inner {
    display: flex !important;
    align-items: center;
    min-height: 68px;
    gap: 18px;
    padding: 10px 0;
  }
  .ac-logo {
    flex: 0 0 auto;
    margin-right: 8px;
  }
  .ac-logo .custom-logo-link {
    display: inline-flex !important;
    align-items: center;
  }
  .ac-logo .custom-logo {
    max-width: 168px !important;
    max-height: 50px !important;
    width: auto !important;
    height: auto !important;
  }
  .ac-nav {
    flex: 1 1 auto;
    min-width: 0;
  }
  .ac-nav ul {
    justify-content: flex-start !important;
    align-items: center;
    gap: 0;
    flex-wrap: nowrap;
  }
  .ac-nav li {
    flex: 0 0 auto;
  }
  .ac-nav a {
    padding: 8px 10px;
    font-size: 12px;
    letter-spacing: .08em;
    line-height: 1;
    border-radius: 999px;
  }
  .ac-header-actions {
    margin-left: auto;
    display: inline-flex;
    align-items: center;
    gap: 9px;
    flex: 0 0 auto;
  }
  .ac-social-follow {
    gap: 8px;
  }
  .ac-social-follow__btn {
    width: 32px;
    height: 32px;
  }
  .ac-social-follow svg {
    width: 16px;
    height: 16px;
  }
  .ac-search-btn {
    padding: 10px 14px;
    font-size: 11px;
    letter-spacing: .10em;
    font-weight: 900;
    line-height: 1;
  }
}

@media (min-width: 1081px) and (max-width: 1220px) {
  .ac-logo .custom-logo {
    max-width: 154px !important;
    max-height: 46px !important;
  }
  .ac-nav a {
    padding: 8px 8px;
    font-size: 11px;
    letter-spacing: .06em;
  }
  .ac-social-follow__btn {
    width: 30px;
    height: 30px;
  }
  .ac-search-btn {
    padding: 9px 12px;
    font-size: 10px;
  }
}

/* =========================================================
   v1.9 — header web compacto tipo medio digital
   Referencia: ticker fino + logo + menú + redes + buscar en una fila
   ========================================================= */
@media (min-width: 1081px) {
  .ac-topbar {
    height: 28px;
  }
  .ac-topbar__inner {
    width: min(1280px, calc(100% - 24px));
    min-height: 28px;
    height: 28px;
    grid-template-columns: auto minmax(0, 1fr) auto;
    gap: 10px;
    font-size: 11px;
    line-height: 1;
  }
  .ac-pill {
    padding: 4px 8px;
    font-size: 9px;
    line-height: 1;
  }
  .ac-topbar__headline {
    font-size: 11px;
    font-weight: 800;
  }
  .ac-topbar__date {
    font-size: 10px;
  }

  .ac-header {
    background: #000;
  }
  .ac-header__inner {
    width: min(1040px, calc(100% - 40px));
    min-height: 66px;
    height: 66px;
    display: grid !important;
    grid-template-columns: 150px minmax(0, 1fr) auto !important;
    align-items: center;
    justify-content: initial;
    gap: 12px;
    padding: 0 !important;
  }

  .ac-logo {
    width: 150px !important;
    min-width: 150px;
    overflow: visible;
  }
  .ac-logo .custom-logo-link {
    display: flex !important;
    align-items: center;
    justify-content: flex-start;
    width: 150px !important;
  }
  .ac-logo .custom-logo {
    width: auto !important;
    height: auto !important;
    max-width: 145px !important;
    max-height: 50px !important;
    object-fit: contain;
    object-position: left center;
  }

  .ac-nav {
    justify-self: start;
    min-width: 0;
  }
  .ac-nav ul {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    flex-wrap: nowrap;
    gap: 0;
  }
  .ac-nav li {
    flex: 0 0 auto;
  }
  .ac-nav a {
    padding: 8px 8px;
    border-radius: 999px;
    font-size: 10px;
    line-height: 1;
    font-weight: 900;
    letter-spacing: .055em;
    white-space: nowrap;
  }

  .ac-header-actions {
    justify-self: end;
    display: inline-flex;
    align-items: center;
    flex-wrap: nowrap;
    gap: 7px;
    margin: 0;
  }
  .ac-social-follow {
    gap: 6px;
  }
  .ac-social-follow__btn {
    width: 30px;
    height: 30px;
  }
  .ac-social-follow svg {
    width: 16px;
    height: 16px;
  }
  .ac-search-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 30px;
    padding: 0 14px;
    font-size: 10px;
    line-height: 1;
    letter-spacing: .09em;
  }
}

/* Escritorios medianos: mantener la fila sin partir el menú */
@media (min-width: 1081px) and (max-width: 1220px) {
  .ac-header__inner {
    width: calc(100% - 28px);
    grid-template-columns: 140px minmax(0, 1fr) auto !important;
    gap: 8px;
  }
  .ac-logo,
  .ac-logo .custom-logo-link {
    width: 140px !important;
    min-width: 140px;
  }
  .ac-logo .custom-logo {
    max-width: 134px !important;
  }
  .ac-nav a {
    padding-inline: 6px;
    font-size: 9.5px;
  }
  .ac-header-actions { gap: 5px; }
  .ac-social-follow { gap: 4px; }
  .ac-social-follow__btn { width: 28px; height: 28px; }
  .ac-search-btn { padding-inline: 11px; font-size: 9px; }
}

/* =========================================================
   v1.10 — header desktop más amplio y navegación flotante
   ========================================================= */
@media (min-width: 1081px) {
  .ac-header {
    position: sticky !important;
    top: 0;
    z-index: 9999;
    background: #000;
    box-shadow: 0 8px 28px rgba(0,0,0,.16);
  }

  body.admin-bar .ac-header {
    top: 32px;
  }

  .ac-header__inner {
    width: min(1200px, calc(100% - 40px));
    min-height: 82px;
    height: 82px;
    grid-template-columns: 190px minmax(0, 1fr) auto !important;
    gap: 16px;
  }

  .ac-logo {
    width: 190px !important;
    min-width: 190px;
  }

  .ac-logo .custom-logo-link {
    width: 190px !important;
  }

  .ac-logo .custom-logo {
    max-width: 184px !important;
    max-height: 62px !important;
  }

  .ac-nav a {
    padding: 10px 9px;
    font-size: 12px;
    line-height: 1;
    font-weight: 900;
    letter-spacing: .055em;
  }

  .ac-social-follow__btn {
    width: 34px;
    height: 34px;
  }

  .ac-social-follow svg {
    width: 17px;
    height: 17px;
  }

  .ac-search-btn {
    min-height: 34px;
    padding: 0 16px;
    font-size: 10.5px;
  }
}

/* Mantener todo en una sola fila en laptops/escritorios medianos */
@media (min-width: 1081px) and (max-width: 1220px) {
  .ac-header__inner {
    width: calc(100% - 28px);
    min-height: 78px;
    height: 78px;
    grid-template-columns: 172px minmax(0, 1fr) auto !important;
    gap: 10px;
  }

  .ac-logo,
  .ac-logo .custom-logo-link {
    width: 172px !important;
    min-width: 172px;
  }

  .ac-logo .custom-logo {
    max-width: 166px !important;
    max-height: 58px !important;
  }

  .ac-nav a {
    padding-inline: 7px;
    font-size: 10.8px;
    letter-spacing: .04em;
  }

  .ac-social-follow__btn {
    width: 31px;
    height: 31px;
  }

  .ac-search-btn {
    min-height: 31px;
    padding-inline: 12px;
    font-size: 9.5px;
  }
}


/* =========================================================
   v1.11 — búsqueda móvil visible + footer informativo
   ========================================================= */
.ac-search-btn__icon {
  display: none;
  width: 18px;
  height: 18px;
  fill: currentColor;
}

.ac-footer__location {
  margin-top: 8px;
  font-weight: 750;
  color: rgba(255,255,255,.82) !important;
}

.ac-footer__info {
  justify-self: end;
  width: min(100%, 460px);
}

.ac-footer__info h2 {
  margin: 0 0 10px;
  font-size: clamp(24px, 3vw, 34px);
  line-height: 1;
  letter-spacing: -.04em;
}

.ac-footer__info p {
  margin: 6px 0;
}

.ac-footer__email {
  display: inline-block;
  color: var(--ac-green);
  font-weight: 850;
  overflow-wrap: anywhere;
}

.ac-footer__email:hover {
  text-decoration: underline;
}

.ac-footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 18px;
}

.ac-footer-links a {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 9px 12px;
  border: 1px solid rgba(255,255,255,.15);
  border-radius: 999px;
  background: rgba(255,255,255,.06);
  font-size: 12px;
  font-weight: 800;
}

.ac-footer-links a:hover {
  background: var(--ac-green);
  color: #050506;
  border-color: var(--ac-green);
}

@media (max-width: 700px) {
  /* Mostrar la lupa en el header móvil como botón redondo independiente */
  .ac-search-btn {
    display: inline-grid !important;
    place-items: center;
    width: 36px;
    height: 36px;
    min-width: 36px;
    min-height: 36px;
    padding: 0 !important;
    border-radius: 999px;
    background: var(--ac-green);
    color: #050506;
    line-height: 1;
  }

  .ac-search-btn span {
    display: none;
  }

  .ac-search-btn__icon {
    display: block;
    width: 18px;
    height: 18px;
  }

  .ac-header-actions {
    gap: 5px;
  }

  .ac-social-follow {
    gap: 5px;
  }

  .ac-social-follow__btn {
    width: 34px;
    height: 34px;
  }

  .ac-header__inner {
    grid-template-columns: minmax(0, 1fr) auto auto;
    gap: 6px;
  }

  .ac-logo .custom-logo {
    max-width: min(38vw, 150px);
  }

  .ac-footer__grid {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .ac-footer__info {
    justify-self: stretch;
    width: 100%;
  }

  .ac-footer-links {
    display: grid;
    grid-template-columns: 1fr;
  }

  .ac-footer-links a {
    justify-content: center;
    text-align: center;
  }

  .ac-footer__bottom {
    gap: 8px;
  }
}

@media (min-width: 701px) {
  .ac-search-btn__icon { display: none; }
}


/* =========================================================
   v1.12 — logo alternativo + YouTube integrado
   ========================================================= */
.ac-logo--footer .custom-logo {
  max-width: 190px !important;
  max-height: 64px !important;
}
.ac-default-logo {
  filter: saturate(1.02) contrast(1.02);
}

/* redes con YouTube */
.ac-social-follow__btn[aria-label*="YouTube"] {
  background: rgba(255,255,255,.96);
}
.ac-social-follow__btn[aria-label*="YouTube"]:hover {
  background: #ff2147;
  color: #fff;
}

/* ajuste móvil para 3 redes + buscar */
@media (max-width: 700px) {
  .ac-header-actions { gap: 4px; }
  .ac-social-follow { gap: 4px; }
  .ac-social-follow__btn,
  .ac-search-btn {
    width: 32px;
    height: 32px;
    min-width: 32px;
    min-height: 32px;
  }
  .ac-social-follow svg,
  .ac-search-btn__icon {
    width: 16px;
    height: 16px;
  }
  .ac-logo .custom-logo {
    max-width: min(35vw, 144px) !important;
    max-height: 34px !important;
  }
}
@media (max-width: 390px) {
  .ac-header__inner {
    grid-template-columns: minmax(0,1fr) auto auto;
  }
  .ac-social-follow__btn,
  .ac-search-btn {
    width: 30px;
    height: 30px;
    min-width: 30px;
    min-height: 30px;
  }
  .ac-social-follow svg,
  .ac-search-btn__icon {
    width: 15px;
    height: 15px;
  }
}

/* sección YouTube elegante */
.ac-section--youtube {
  background:
    radial-gradient(circle at 10% 0%, rgba(255,33,71,.16), transparent 26%),
    radial-gradient(circle at 100% 0%, rgba(185,255,52,.10), transparent 20%),
    linear-gradient(135deg, #09090d 0%, #180413 54%, #0a0a10 100%);
  color: var(--ac-white);
  padding: 46px 0;
  margin: 14px 0 26px;
  border-radius: 28px;
}
.ac-section__head--youtube .ac-eyebrow {
  color: #ff6b86;
}
.ac-view-all--youtube {
  background: #ff2147;
  color: #fff;
}
.ac-view-all--youtube:hover {
  background: var(--ac-green);
  color: var(--ac-black);
}
.ac-youtube-showcase {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(280px, .9fr);
  gap: 18px;
  align-items: stretch;
}
.ac-yt-lead,
.ac-yt-mini {
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.10);
  border-radius: 22px;
  overflow: hidden;
  backdrop-filter: blur(8px);
}
.ac-yt-lead {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
}
.ac-yt-lead__media {
  position: relative;
  aspect-ratio: 16 / 9;
  display: block;
  background: linear-gradient(135deg, #3c0615, #09090d 70%, #ff2147);
}
.ac-yt-lead__media img,
.ac-yt-mini__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.ac-yt-lead__content {
  padding: 20px;
}
.ac-kicker--youtube {
  background: #ff2147;
  color: #fff;
}
.ac-yt-lead h3 {
  margin: 10px 0 10px;
  font-size: clamp(27px, 3.2vw, 40px);
  line-height: .98;
  letter-spacing: -.05em;
}
.ac-yt-lead p {
  margin: 0 0 10px;
  color: rgba(255,255,255,.72);
}
.ac-yt-play {
  position: absolute;
  left: 18px;
  bottom: 18px;
  display: inline-grid;
  place-items: center;
  width: 56px;
  height: 56px;
  border-radius: 999px;
  background: rgba(255,33,71,.94);
  color: #fff;
  font-size: 21px;
  box-shadow: 0 16px 40px rgba(255,33,71,.28);
}
.ac-yt-play--small {
  width: 38px;
  height: 38px;
  left: 12px;
  bottom: 12px;
  font-size: 15px;
}
.ac-yt-stack {
  display: grid;
  gap: 14px;
}
.ac-yt-mini {
  display: grid;
  grid-template-columns: 150px minmax(0,1fr);
  min-height: 124px;
}
.ac-yt-mini__media {
  position: relative;
  display: block;
  min-height: 124px;
  background: linear-gradient(135deg, #3c0615, #09090d 70%, #ff2147);
}
.ac-yt-mini__content {
  padding: 15px 15px 14px;
  align-self: center;
}
.ac-yt-mini strong {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  font-size: 18px;
  line-height: 1.1;
  letter-spacing: -.03em;
}
.ac-yt-mini small {
  display: block;
  margin-top: 8px;
  color: rgba(255,255,255,.58);
  font-size: 11px;
  font-weight: 800;
}
.ac-yt-placeholder {
  display: block;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #3c0615, #09090d 70%, #ff2147);
}
.ac-youtube-fallback {
  display: grid;
  gap: 14px;
  padding: 24px;
  border-radius: 22px;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.10);
}
.ac-youtube-fallback p {
  margin: 0;
  color: rgba(255,255,255,.76);
}
@media (max-width: 980px) {
  .ac-youtube-showcase {
    grid-template-columns: 1fr;
  }
  .ac-yt-stack {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 700px) {
  .ac-section--youtube {
    padding: 28px 0;
    border-radius: 18px;
    margin: 8px 0 18px;
  }
  .ac-section__head--youtube {
    flex-direction: column;
    align-items: flex-start;
  }
  .ac-yt-lead,
  .ac-yt-mini {
    border-radius: 16px;
  }
  .ac-yt-lead__content {
    padding: 14px;
  }
  .ac-yt-lead h3 {
    font-size: 25px;
  }
  .ac-yt-stack {
    gap: 10px;
  }
  .ac-yt-mini {
    grid-template-columns: 112px minmax(0,1fr);
    min-height: 110px;
  }
  .ac-yt-mini__media {
    min-height: 110px;
  }
  .ac-yt-mini__content {
    padding: 12px;
  }
  .ac-yt-mini strong {
    font-size: 15px;
  }
}


/* v1.12 — Logo nuevo + YouTube */
.ac-logo__image-link {
  display: inline-flex;
  align-items: center;
  line-height: 0;
}
.ac-logo__image {
  display: block;
  width: auto;
  max-width: 210px;
  max-height: 68px;
  object-fit: contain;
}
@media (max-width: 1100px) {
  .ac-logo__image { max-width: 188px; max-height: 58px; }
}
@media (max-width: 900px) {
  .ac-logo__image { max-width: 154px; max-height: 48px; }
}
@media (max-width: 560px) {
  .ac-logo__image { max-width: 136px; max-height: 42px; }
}
.ac-social-follow__btn--youtube:hover {
  background: #ff0033;
  color: #fff;
}
.ac-section--youtube {
  background: radial-gradient(circle at 10% 10%, rgba(0, 204, 255, .12), transparent 24%), radial-gradient(circle at 85% 20%, rgba(255, 0, 102, .12), transparent 24%), linear-gradient(135deg, #09090d 0%, #111118 55%, #160d24 100%);
  color: var(--ac-white);
  margin: 18px 0 26px;
  padding: 52px 0;
  border-radius: 38px;
}
.ac-section--youtube .ac-eyebrow { color: #7fe7ff; }
.ac-section--youtube .ac-title,
.ac-section--youtube h3 a,
.ac-section--youtube p { color: var(--ac-white); }
.ac-youtube-intro {
  margin: -6px 0 20px;
  color: rgba(255,255,255,.76);
  max-width: 660px;
}
.ac-youtube-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}
.ac-youtube-card {
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 24px;
  overflow: hidden;
  backdrop-filter: blur(10px);
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}
.ac-youtube-card:hover {
  transform: translateY(-4px);
  border-color: rgba(183,255,34,.28);
  box-shadow: 0 18px 45px rgba(0,0,0,.22);
}
.ac-youtube-card__media {
  display: block;
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #000;
}
.ac-youtube-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.ac-youtube-card__play {
  position: absolute;
  inset: auto auto 14px 14px;
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: rgba(255, 0, 102, .92);
  box-shadow: 0 12px 32px rgba(0,0,0,.28);
}
.ac-youtube-card__play svg {
  width: 20px;
  height: 20px;
  fill: #fff;
  margin-left: 2px;
}
.ac-youtube-card__body { padding: 16px 16px 18px; }
.ac-youtube-card h3 {
  margin: 12px 0 8px;
  font-size: 20px;
  line-height: 1.08;
  letter-spacing: -.03em;
}
.ac-youtube-card p {
  margin: 0;
  color: rgba(255,255,255,.68);
  font-size: 14px;
}
.ac-youtube-empty {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  padding: 20px 22px;
  border-radius: 22px;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.08);
}
@media (max-width: 1100px) {
  .ac-youtube-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  .ac-section--youtube {
    border-radius: 28px;
    padding: 34px 0;
  }
  .ac-youtube-grid { grid-template-columns: 1fr; }
}

/* v1.12 — Identidad visual y sección automática de YouTube */
.ac-brand-logo {
  display: block;
  width: 184px;
  height: auto;
  max-height: 74px;
  object-fit: contain;
}
.ac-logo > a {
  display: inline-flex;
  align-items: center;
  line-height: 0;
}
.ac-social-follow__btn--youtube:hover {
  background: #ff0033;
  color: #fff;
}

.ac-section--youtube {
  position: relative;
  overflow: hidden;
  margin: 18px 0 34px;
  padding: 58px 0;
  background:
    radial-gradient(circle at 90% 0%, rgba(255,0,90,.24), transparent 32%),
    radial-gradient(circle at 10% 100%, rgba(21,192,218,.19), transparent 34%),
    linear-gradient(135deg, #08080b 0%, #180815 52%, #09090d 100%);
  color: #fff;
}
.ac-section--youtube::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image: linear-gradient(rgba(255,255,255,.025) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.025) 1px, transparent 1px);
  background-size: 34px 34px;
  mask-image: linear-gradient(to bottom, rgba(0,0,0,.7), transparent);
}
.ac-section--youtube .ac-wrap { position: relative; z-index: 1; }
.ac-section__head--youtube { align-items: center; }
.ac-section--youtube .ac-eyebrow { color: #20c6df; }
.ac-section--youtube .ac-title { color: #fff; }
.ac-view-all--youtube {
  background: #ff0a69;
  color: #fff;
}
.ac-view-all--youtube:hover { background: var(--ac-green); color: #08080b; }
.ac-youtube-showcase {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(310px, .65fr);
  gap: 20px;
}
.ac-yt-lead,
.ac-yt-mini {
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.11);
  background: rgba(255,255,255,.065);
  box-shadow: 0 24px 65px rgba(0,0,0,.30);
}
.ac-yt-lead { border-radius: 28px; }
.ac-yt-lead__media,
.ac-yt-mini__media {
  position: relative;
  display: block;
  overflow: hidden;
  background: #111;
}
.ac-yt-lead__media { aspect-ratio: 16 / 9; }
.ac-yt-lead__media img,
.ac-yt-mini__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .35s ease, opacity .35s ease;
}
.ac-yt-lead:hover img,
.ac-yt-mini:hover img { transform: scale(1.035); opacity: .88; }
.ac-yt-lead__content { padding: 23px 25px 27px; }
.ac-yt-lead h3 {
  margin: 13px 0 8px;
  font-size: clamp(27px, 3.5vw, 43px);
  line-height: .98;
  letter-spacing: -.055em;
}
.ac-yt-lead p { margin: 0 0 10px; color: rgba(255,255,255,.70); }
.ac-kicker--youtube { background: #ff0a69; color: #fff; }
.ac-yt-play {
  position: absolute;
  left: 50%;
  top: 50%;
  display: grid;
  place-items: center;
  width: 72px;
  height: 72px;
  border-radius: 999px;
  transform: translate(-50%, -50%);
  background: #ff0a69;
  color: #fff;
  font-size: 24px;
  padding-left: 4px;
  box-shadow: 0 14px 40px rgba(255,10,105,.42);
}
.ac-yt-play--small { width: 46px; height: 46px; font-size: 15px; }
.ac-yt-stack { display: grid; gap: 14px; }
.ac-yt-mini {
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr);
  min-height: 122px;
  border-radius: 20px;
}
.ac-yt-mini__media { min-height: 100%; }
.ac-yt-mini__content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
  padding: 15px;
}
.ac-yt-mini strong {
  display: -webkit-box;
  overflow: hidden;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  font-size: 16px;
  line-height: 1.12;
}
.ac-yt-mini small { margin-top: 9px; color: rgba(255,255,255,.54); font-weight: 750; }
.ac-yt-placeholder { display: block; width: 100%; height: 100%; background: linear-gradient(135deg, #ff0a69, #241025 52%, #20c6df); }
.ac-youtube-fallback {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 24px;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 24px;
  background: rgba(255,255,255,.06);
}
.ac-youtube-fallback p { margin: 0; color: rgba(255,255,255,.72); }

@media (max-width: 1050px) {
  .ac-brand-logo { width: 160px; max-height: 66px; }
  .ac-youtube-showcase { grid-template-columns: 1fr; }
  .ac-yt-stack { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .ac-yt-mini { grid-template-columns: 1fr; }
  .ac-yt-mini__media { aspect-ratio: 16 / 9; }
}
@media (max-width: 900px) {
  .ac-brand-logo { width: 146px; max-height: 60px; }
}
@media (max-width: 700px) {
  .ac-section--youtube { margin: 8px 0 22px; padding: 42px 0; }
  .ac-youtube-showcase { gap: 14px; }
  .ac-yt-stack { grid-template-columns: 1fr; }
  .ac-yt-mini { grid-template-columns: 132px minmax(0, 1fr); min-height: 105px; }
  .ac-yt-mini__media { aspect-ratio: auto; }
  .ac-yt-lead__content { padding: 19px; }
  .ac-yt-play { width: 58px; height: 58px; }
  .ac-youtube-fallback { align-items: flex-start; flex-direction: column; }
}
@media (max-width: 480px) {
  .ac-brand-logo { width: 126px; max-height: 54px; }
  .ac-yt-mini { grid-template-columns: 112px minmax(0, 1fr); }
  .ac-yt-mini strong { font-size: 14px; }
}


/* v1.13 — Feed automático de 5 YouTube Shorts verticales */
.ac-section--shorts {
  margin: 18px 0 36px;
  padding: 62px 0 66px;
  border-radius: 38px;
}
.ac-section--shorts .ac-section__head { margin-bottom: 27px; }
.ac-section--shorts .ac-youtube-intro {
  max-width: 620px;
  margin: 10px 0 0;
  color: rgba(255,255,255,.68);
  font-size: 16px;
}
.ac-shorts-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 16px;
}
.ac-short-card {
  min-width: 0;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 24px;
  background: rgba(255,255,255,.07);
  box-shadow: 0 24px 60px rgba(0,0,0,.24);
  transition: transform .22s ease, border-color .22s ease, box-shadow .22s ease;
}
.ac-short-card:hover {
  transform: translateY(-5px);
  border-color: rgba(255,10,105,.52);
  box-shadow: 0 30px 75px rgba(0,0,0,.34);
}
.ac-short-card__media {
  position: relative;
  display: block;
  aspect-ratio: 9 / 16;
  overflow: hidden;
  background: linear-gradient(160deg, #15131b, #08080b);
}
.ac-short-card__media img,
.ac-short-card__media iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}
.ac-short-card__media img {
  object-fit: cover;
  transform: scale(1.01);
  transition: transform .35s ease, opacity .35s ease;
}
.ac-short-card:hover .ac-short-card__media img { transform: scale(1.045); opacity: .9; }
.ac-short-card__shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(5,5,8,.72), transparent 48%);
  pointer-events: none;
}
.ac-short-card__badge {
  position: absolute;
  left: 12px;
  top: 12px;
  display: inline-flex;
  padding: 7px 10px;
  border-radius: 999px;
  background: #ff0a69;
  color: #fff;
  font-size: 10px;
  font-weight: 950;
  letter-spacing: .09em;
  text-transform: uppercase;
  box-shadow: 0 10px 28px rgba(255,10,105,.34);
}
.ac-short-card__play {
  position: absolute;
  left: 50%;
  top: 50%;
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  border-radius: 999px;
  transform: translate(-50%, -50%);
  background: rgba(255,10,105,.94);
  color: #fff;
  box-shadow: 0 16px 44px rgba(255,10,105,.44);
  backdrop-filter: blur(8px);
}
.ac-short-card__play svg { width: 25px; height: 25px; fill: currentColor; margin-left: 3px; }
.ac-short-card__body { padding: 15px 15px 17px; }
.ac-short-card__body h3 {
  display: -webkit-box;
  overflow: hidden;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  min-height: 3.45em;
  margin: 0;
  color: #fff;
  font-size: 15px;
  line-height: 1.15;
  letter-spacing: -.025em;
}
.ac-short-card__body h3 a:hover { color: var(--ac-green); }
.ac-short-card__body > span {
  display: block;
  margin-top: 9px;
  color: rgba(255,255,255,.52);
  font-size: 11px;
  font-weight: 750;
}
.ac-short-card__media.is-playing .ac-short-card__shade,
.ac-short-card__media.is-playing .ac-short-card__badge,
.ac-short-card__media.is-playing .ac-short-card__play { display: none; }

@media (max-width: 1050px) {
  .ac-shorts-grid {
    grid-template-columns: repeat(5, minmax(190px, 1fr));
    overflow-x: auto;
    padding: 3px 2px 18px;
    scroll-snap-type: x proximity;
    scrollbar-width: thin;
  }
  .ac-short-card { scroll-snap-align: start; }
}
@media (max-width: 700px) {
  .ac-section--shorts {
    margin: 8px 0 24px;
    padding: 44px 0 48px;
    border-radius: 28px;
  }
  .ac-section--shorts .ac-section__head { align-items: flex-start; }
  .ac-shorts-grid {
    grid-template-columns: none;
    grid-auto-flow: column;
    grid-auto-columns: minmax(205px, 70vw);
    gap: 13px;
    margin-right: calc((100vw - 100%) / -2);
    padding-right: 22px;
  }
  .ac-short-card__body h3 { font-size: 15px; }
}
@media (max-width: 420px) {
  .ac-shorts-grid { grid-auto-columns: minmax(196px, 76vw); }
}
