/*
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.1.0
Requires at least: 6.2
Tested up to: 6.5
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(246,245,242,.82);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(17,17,24,.08);
}
.ac-header__inner {
  display: flex;
  min-height: 78px;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
}
.ac-logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 950;
  letter-spacing: -.07em;
  font-size: clamp(25px, 3vw, 39px);
  line-height: .9;
}
.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;
  font-weight: 800;
  font-size: 14px;
}
.ac-nav a:hover,
.ac-nav .current-menu-item a {
  background: var(--ac-black);
  color: var(--ac-white);
}
.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-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-white);
    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-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-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-mini-news {
  display: grid;
  gap: 5px;
  padding: 13px;
  border-bottom: 1px solid rgba(17,17,24,.08);
}
.ac-mini-news:last-child { border-bottom: 0; }
.ac-mini-news strong {
  font-size: 14px;
  line-height: 1.18;
  letter-spacing: -.02em;
}
.ac-mini-news small {
  color: var(--ac-muted);
  font-size: 12px;
  font-weight: 800;
}
.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); }
}
