/* XCLUIDOS: estilos del tema (derivados del prototipo aprobado, versión 2).
   Regla principal: la imagen de cada publicación se muestra completa, sin recortes ni deformaciones
   (object-fit: contain + marco con la proporción real) y sin titulares HTML encima.
   Mobile-first; puntos de corte en 600 / 900 / 1100 px. */

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 16px); }
body { margin: 0; background: var(--c-ink); color: var(--c-text); font: 400 1rem/1.6 var(--f-body); -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4, p { margin: 0; }
:focus-visible { outline: 3px solid var(--c-white); outline-offset: 2px; border-radius: 2px; }
[hidden] { display: none !important; }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.container { width: min(100% - 2 * var(--gutter), var(--container)); margin-inline: auto; }
body.is-locked { overflow: hidden; }
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 200; background: var(--c-red-strong); color: #fff; font-weight: 800; padding: 10px 14px; border-radius: 4px; }
.skip-link:focus { top: 12px; }

/* ---------- Piezas tipográficas ---------- */
.kicker { display: inline-flex; align-items: center; gap: 7px; font: 800 .6875rem/1 var(--f-body); letter-spacing: .12em; text-transform: uppercase; color: var(--c-white); }
.kicker::before { content: ""; width: 7px; height: 7px; background: var(--c-red); transform: skewX(-18deg); flex: none; }
.meta-time { font: 500 var(--fs-xs)/1 var(--f-body); color: var(--c-text-3); white-space: nowrap; }
.badge { display: inline-flex; align-items: center; gap: 6px; padding: 4px 7px; border-radius: 2px; font: 800 .625rem/1 var(--f-body); letter-spacing: .1em; text-transform: uppercase; background: var(--c-red-strong); color: #fff; }
.badge .dot { width: 6px; height: 6px; border-radius: 50%; background: #fff; animation: pulse 1.6s infinite; }
@keyframes pulse { 50% { opacity: .3; } }

/* ---------- Botones ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 40px; padding: 0 16px; border-radius: 999px;
  font: 800 .8125rem/1 var(--f-body); letter-spacing: .04em; text-transform: uppercase; white-space: nowrap;
  transition: background var(--dur) var(--ease), color var(--dur) var(--ease), border-color var(--dur) var(--ease), transform var(--dur) var(--ease);
}
.btn svg { width: 18px; height: 18px; flex: none; }
.btn--red { background: var(--c-red-strong); color: #fff; }
.btn--red:hover { background: var(--c-red); }
.btn--ghost { border: 1.5px solid var(--c-line-strong); color: #fff; }
.btn--ghost:hover { border-color: var(--c-red); }
.btn:active { transform: translateY(1px); }
.icon-btn { display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 999px; color: #fff; transition: background var(--dur) var(--ease); }
.icon-btn:hover { background: var(--c-ink-4); }
.icon-btn svg { width: 22px; height: 22px; }

/* ---------- Encabezado ---------- */
.site-header { position: sticky; top: 0; z-index: 60; background: rgba(8, 8, 8, .92); -webkit-backdrop-filter: saturate(1.4) blur(14px); backdrop-filter: saturate(1.4) blur(14px); border-bottom: 1px solid var(--c-line); }
.site-header::after { /* firma de marca: línea roja con un detalle mínimo en amarillo */
  content: ""; position: absolute; left: 0; bottom: -1px; height: 2px; width: min(260px, 34vw);
  background: linear-gradient(90deg, var(--c-red) 0 88%, var(--c-yellow) 88% 100%);
}
.header-inner { display: flex; align-items: center; gap: 12px; height: var(--header-h); transition: height var(--dur) var(--ease); }
.site-header.is-compact .header-inner { height: 54px; }
.brand { display: block; flex: none; margin-right: auto; }
.brand img { height: 34px; width: auto; transition: height var(--dur) var(--ease); }
.site-header.is-compact .brand img { height: 30px; }
.header-actions { display: flex; align-items: center; gap: 4px; }
.btn--follow .label-long { display: none; }
.primary-nav { display: none; }
@media (min-width: 1100px) {
  .menu-toggle { display: none; }
  .brand { margin-right: 24px; }
  .brand img { height: 38px; }
  .primary-nav { display: block; margin-right: auto; }
  .primary-nav > ul { display: flex; height: var(--header-h); }
  .site-header.is-compact .primary-nav > ul { height: 54px; }
  .nav-link {
    position: relative; display: flex; align-items: center; gap: 4px; height: 100%; padding: 0 11px;
    font-family: var(--f-display); font-weight: 760; font-stretch: 86%; font-size: .875rem; letter-spacing: .05em; text-transform: uppercase;
    color: var(--c-text-2); transition: color var(--dur) var(--ease);
  }
  .nav-link::after { content: ""; position: absolute; left: 11px; right: 11px; bottom: 12px; height: 2px; background: var(--c-red); transform: scaleX(0); transform-origin: left; transition: transform var(--dur) var(--ease); }
  .nav-link:hover, .nav-link[aria-expanded="true"], .nav-link[aria-current="page"] { color: #fff; }
  .nav-link:hover::after, .nav-link[aria-expanded="true"]::after, .nav-link[aria-current="page"]::after { transform: scaleX(1); }
  .nav-link svg { width: 14px; height: 14px; transition: transform var(--dur) var(--ease); }
  .nav-link[aria-expanded="true"] svg { transform: rotate(180deg); }
  .btn--follow .label-long { display: inline; }
  .btn--follow .label-short { display: none; }
}

/* Megamenú (solo escritorio) */
.mega {
  display: none; position: absolute; left: 0; right: 0; top: 100%;
  background: #0c0c0c; border-top: 1px solid var(--c-line); border-bottom: 2px solid var(--c-red); box-shadow: 0 24px 48px rgba(0, 0, 0, .55);
  opacity: 0; visibility: hidden; transform: translateY(-6px);
  transition: opacity var(--dur) var(--ease), transform var(--dur) var(--ease), visibility 0s linear var(--dur);
}
@media (min-width: 1100px) { .mega { display: block; } }
.mega.is-open { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
.mega .container { display: grid; grid-template-columns: 220px 1fr; gap: 32px; padding-block: 22px; }
.mega__links a { display: flex; justify-content: space-between; padding: 9px 0; border-bottom: 1px solid var(--c-line); font-weight: 700; font-size: .9375rem; color: var(--c-text-2); transition: color var(--dur) var(--ease), padding var(--dur) var(--ease); }
.mega__links a:hover { color: #fff; padding-left: 4px; }
.mega__links a.mega__all { color: #fff; border-bottom: 0; font-size: .8125rem; text-transform: uppercase; letter-spacing: .08em; }
.mega__posts { display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; max-width: 760px; }

/* Buscador */
.search-panel { position: absolute; left: 0; right: 0; top: 100%; background: #0c0c0c; border-bottom: 2px solid var(--c-red); box-shadow: 0 24px 48px rgba(0, 0, 0, .6); max-height: calc(100svh - 120px); overflow-y: auto; }
.search-panel .container { padding-block: 22px; }
.search-form { display: flex; gap: 8px; }
.search-form input { flex: 1; min-width: 0; height: 50px; padding: 0 16px; border-radius: 4px; background: var(--c-ink-3); border: 1.5px solid var(--c-line-strong); color: #fff; font: 600 1.0625rem var(--f-body); }
.search-form input::placeholder { color: var(--c-text-3); }
.search-form input:focus { outline: none; border-color: var(--c-red); }
.search-hints { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.search-hints a { padding: 6px 12px; border-radius: 999px; background: var(--c-ink-3); font-size: .8125rem; font-weight: 600; color: var(--c-text-2); }
.search-hints a:hover { color: #fff; }
.search-suggest { margin-top: 16px; display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--gap); }
.search-suggest:empty { display: none; }
.search-suggest .empty-state { grid-column: 1 / -1; }
@media (min-width: 900px) { .search-suggest { grid-template-columns: repeat(6, 1fr); } }

/* Menú móvil */
.drawer-backdrop { position: fixed; inset: 0; z-index: 90; background: rgba(0, 0, 0, .65); opacity: 0; visibility: hidden; transition: opacity var(--dur) var(--ease), visibility 0s linear var(--dur); }
.drawer { position: fixed; inset: 0 auto 0 0; z-index: 100; width: min(88vw, 380px); display: flex; flex-direction: column; background: var(--c-ink); border-right: 2px solid var(--c-red); transform: translateX(-102%); transition: transform var(--dur-slow) var(--ease); overflow-x: hidden; overflow-y: auto; overscroll-behavior: contain; }
.drawer.is-open { transform: none; }
.drawer.is-open + .drawer-backdrop { opacity: 1; visibility: visible; transition-delay: 0s; }
.drawer__head { display: flex; align-items: center; justify-content: space-between; padding: 12px 16px; border-bottom: 1px solid var(--c-line); }
.drawer__head img { height: 30px; width: auto; }
.drawer__body { padding: 16px; display: grid; grid-template-columns: minmax(0, 1fr); gap: 24px; }
.drawer__nav > li { border-bottom: 1px solid var(--c-line); }
.drawer__nav a, .drawer__nav summary { display: flex; justify-content: space-between; align-items: center; padding: 14px 0; cursor: pointer; list-style: none; font-family: var(--f-display); font-weight: 800; font-stretch: 80%; font-size: 1.25rem; text-transform: uppercase; letter-spacing: .02em; }
.drawer__nav summary::-webkit-details-marker { display: none; }
.drawer__nav summary svg { width: 18px; height: 18px; transition: transform var(--dur) var(--ease); }
.drawer__nav details[open] summary svg { transform: rotate(180deg); }
.drawer__nav details ul { padding: 0 0 12px 14px; border-left: 2px solid var(--c-red); margin-bottom: 12px; }
.drawer__nav details ul a { font-family: var(--f-body); font-size: .9375rem; font-weight: 600; text-transform: none; padding: 8px 0; color: var(--c-text-2); }

/* ---------- Tarjeta de publicación (componente central) ---------- */
.post { position: relative; display: grid; grid-template-columns: minmax(0, 1fr); gap: 8px; align-content: start; min-width: 0; }
.post__link { display: block; border-radius: var(--radius); }
.post__link:focus-visible { outline: none; }
.post__frame {
  position: relative; aspect-ratio: var(--frame, var(--ar, 4 / 5)); overflow: hidden; border-radius: var(--radius); background: var(--c-ink-3);
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.post__frame img { position: relative; z-index: 1; width: 100%; height: 100%; object-fit: contain; }
/* Si la proporción del post no coincide con el marco, se completa con la propia imagen desenfocada: nunca se recorta. */
.post__frame.is-letterbox::before { content: ""; position: absolute; inset: -12%; background: var(--bg) center / cover no-repeat; filter: blur(26px) brightness(.38) saturate(1.2); }
.post__link:hover .post__frame { transform: translateY(-3px); box-shadow: 0 0 0 2px var(--c-red), 0 16px 32px rgba(0, 0, 0, .55); }
.post__link:focus-visible .post__frame { box-shadow: 0 0 0 3px #fff, 0 0 0 6px var(--c-red); }
.post__type { /* indicador pequeño de carrusel o video */
  position: absolute; top: 8px; right: 8px; z-index: 2; display: inline-flex; align-items: center; gap: 4px; height: 24px; padding: 0 7px; border-radius: 999px;
  background: rgba(8, 8, 8, .72); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); font: 800 .6875rem/1 var(--f-body); color: #fff; pointer-events: none;
}
.post__type svg { width: 14px; height: 14px; }
.post__meta { display: flex; align-items: center; flex-wrap: wrap; gap: 6px 8px; min-height: 16px; }
.post__meta .kicker { margin-right: 2px; min-width: 0; max-width: 100%; line-height: 1.35; } /* sin recortar tildes de mayúsculas (MÚSICA) */
.post__meta .kicker span, .post__meta .kicker { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.post--plain .post__meta { display: none; }
/* Imagen que no carga: se muestra el título interno sobre fondo de marca para no perder la noticia */
.post__frame.is-broken { background: radial-gradient(120% 70% at 0% 100%, rgba(240, 0, 22, .35), transparent 60%), var(--c-ink-3); }
.post__frame.is-broken img { opacity: 0; }
.post__frame.is-broken::before { content: "X"; position: absolute; inset: 0; filter: none; background: none; display: grid; place-items: center; font: 900 clamp(4rem, 10vw, 8rem)/1 var(--f-display); font-stretch: 70%; color: rgba(255, 255, 255, .07); }
.post__frame.is-broken::after { content: attr(data-title); position: absolute; inset: auto 0 0 0; z-index: 2; padding: 12px; font: 900 1rem/1 var(--f-display); font-stretch: 75%; text-transform: uppercase; }

/* ---------- Estados ---------- */
.empty-state { display: grid; place-items: center; gap: 8px; padding: 36px 20px; text-align: center; border: 1.5px dashed var(--c-line-strong); border-radius: var(--radius); color: var(--c-text-2); }
.empty-state strong { font-family: var(--f-display); font-stretch: 80%; font-size: 1.25rem; text-transform: uppercase; color: #fff; }
.empty-state__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 8px; }

/* ---------- Portada de presentación (mientras no hay publicaciones) ---------- */
.intro { position: relative; overflow: hidden; padding-block: clamp(48px, 9vw, 112px); background: radial-gradient(80% 110% at 100% 0%, var(--c-red-glow), transparent 62%), var(--c-ink); }
.intro::after { /* la X de la marca como fondo */
  content: "X"; position: absolute; right: -.04em; bottom: -.2em; font: 900 clamp(16rem, 40vw, 34rem)/1 var(--f-display); font-stretch: 70%; color: rgba(255, 255, 255, .035); pointer-events: none;
}
.intro .container { position: relative; z-index: 1; display: grid; justify-items: start; gap: 18px; }
.intro__logo { width: clamp(170px, 26vw, 300px); height: auto; }
.intro__title { max-width: 15ch; font: 900 clamp(2.25rem, 1.3rem + 4.4vw, 4.75rem)/.92 var(--f-display); font-stretch: 72%; text-transform: uppercase; text-wrap: balance; }
.intro__lead { max-width: 58ch; color: var(--c-text-2); font-size: clamp(1rem, .95rem + .3vw, 1.125rem); line-height: 1.55; }
.intro__actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 6px; }
.topics { display: grid; gap: var(--gap); list-style: none; }
.topic { display: grid; align-content: start; gap: 14px; padding: 20px; border: 1px solid var(--c-line); border-radius: var(--radius); background: var(--c-ink-2); transition: border-color var(--dur) var(--ease); }
.topic:hover, .topic:focus-within { border-color: var(--c-red); }
.topic__link { display: grid; gap: 6px; }
.topic__name { display: flex; align-items: center; justify-content: space-between; gap: 12px; font: 900 1.5rem/1 var(--f-display); font-stretch: 72%; text-transform: uppercase; }
.topic__name svg { width: 20px; height: 20px; flex: none; color: var(--c-red); transition: transform var(--dur) var(--ease); }
.topic__link:hover .topic__name svg { transform: translateX(3px); }
.topic__desc { color: var(--c-text-2); font-size: var(--fs-sm); }
.topic .pills { flex-wrap: wrap; overflow: visible; margin: 0; }
@media (min-width: 600px) { .topics { grid-template-columns: repeat(2, minmax(0, 1fr)); } .topic--wide { grid-column: span 2; } }
@media (min-width: 1100px) { .topics { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.skeleton { position: relative; overflow: hidden; background: var(--c-ink-3); border-radius: var(--radius); }
.skeleton::after { content: ""; position: absolute; inset: 0; transform: translateX(-100%); background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .06), transparent); animation: shimmer 1.2s infinite; }
@keyframes shimmer { to { transform: translateX(100%); } }
.sk-post { display: grid; gap: 8px; }
.sk-post .skeleton:first-child { aspect-ratio: 4 / 5; }
.sk-post .skeleton:last-child { height: 12px; width: 60%; }

/* ---------- Secciones ---------- */
.section { padding-block: var(--section-y); border-top: 1px solid var(--c-line); }
.section--alt { background: var(--c-ink-2); }
.sec-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 18px; }
.sec-title { display: flex; align-items: center; gap: 12px; font-family: var(--f-display); font-size: var(--fs-sec); font-weight: 900; font-stretch: 72%; line-height: .95; text-transform: uppercase; }
.sec-title::before { content: ""; flex: none; width: 9px; height: .9em; background: var(--c-red); transform: skewX(-18deg); }
.sec-sub { margin-top: 6px; font-size: var(--fs-sm); color: var(--c-text-3); }
.sec-more { display: inline-flex; align-items: center; gap: 6px; flex: none; padding: 8px 0; font: 800 .75rem/1 var(--f-body); letter-spacing: .1em; text-transform: uppercase; color: var(--c-text-2); }
.sec-more svg { width: 16px; height: 16px; color: var(--c-red); transition: transform var(--dur) var(--ease); }
.sec-more:hover { color: #fff; }
.sec-more:hover svg { transform: translateX(3px); }
.pills { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; margin-bottom: 18px; }
.pills::-webkit-scrollbar { display: none; }
.pills a { flex: none; padding: 7px 14px; border-radius: 999px; border: 1px solid var(--c-line-strong); font-size: .8125rem; font-weight: 700; color: var(--c-text-2); transition: border-color var(--dur) var(--ease), color var(--dur) var(--ease); }
.pills a:hover { border-color: var(--c-red); color: #fff; }
.pills a[aria-current="true"] { background: var(--c-red-strong); border-color: var(--c-red-strong); color: #fff; }

.rail { display: grid; grid-auto-flow: column; grid-auto-columns: var(--rail-w, 44%); gap: var(--gap); overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; margin-inline: calc(-1 * var(--gutter)); padding: 4px var(--gutter) 8px; scroll-padding-inline: var(--gutter); }
.rail::-webkit-scrollbar { display: none; }
.rail > * { scroll-snap-align: start; }
.grid { display: grid; gap: 18px var(--gap); grid-template-columns: repeat(var(--cols, 2), minmax(0, 1fr)); align-items: start; }

/* Protagonista: 1 principal + secundarias (todas con la proporción de la publicación) */
.hero { padding-block: 16px var(--section-y); }
.hero-grid { display: grid; gap: 16px var(--gap); grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: start; }
.hero-grid > :first-child { grid-column: 1 / -1; }
.hero-grid > :nth-child(n+6) { display: none; }
.hero-grid > :first-child .post__meta { gap: 8px 12px; }
@media (min-width: 600px) {
  .hero-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .hero-grid > :first-child { grid-column: span 2; grid-row: span 2; }
}
@media (min-width: 1100px) {
  .hero { padding-top: 22px; }
  .hero-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); }
  .hero-grid > :nth-child(n+6) { display: grid; }
}
.share-btn { display: inline-flex; align-items: center; gap: 6px; height: 30px; padding: 0 10px; margin-left: auto; border-radius: 999px; border: 1px solid var(--c-line-strong); font: 700 .6875rem/1 var(--f-body); letter-spacing: .08em; text-transform: uppercase; transition: border-color var(--dur) var(--ease); }
.share-btn:hover { border-color: var(--c-red); }
.share-btn svg { width: 15px; height: 15px; }

/* Últimas noticias */
.latest-grid { --cols: 2; }
.latest-more { display: flex; justify-content: center; margin-top: 22px; }
.latest-end { color: var(--c-text-3); font-size: var(--fs-sm); text-align: center; }
@media (min-width: 600px) { .latest-grid { --cols: 3; } }
@media (min-width: 900px) { .latest-grid { --cols: 4; } }
@media (min-width: 1100px) { .latest-grid { --cols: 5; } }

/* Lo más viral: número fuera de la imagen para no tapar nada */
.rank-list { --rail-w: 62%; }
.rank-item { display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: end; }
.rank-num { font: 900 clamp(4.5rem, 3rem + 4vw, 7.5rem)/.78 var(--f-display); font-stretch: 62%; color: transparent; -webkit-text-stroke: 2px var(--c-red); margin-right: -.06em; padding-bottom: 26px; user-select: none; }
.rank-item:first-child .rank-num { color: var(--c-red); -webkit-text-stroke: 0; }
@media (min-width: 600px) { .rank-list { --rail-w: 36%; } }
@media (min-width: 1100px) { .rank-list { display: grid; grid-auto-flow: row; grid-template-columns: repeat(5, minmax(0, 1fr)); margin: 0; padding: 0; overflow: visible; } }

/* Exclusivas: negro con acentos rojos */
.exclusive { position: relative; background: radial-gradient(55% 90% at 0% 0%, var(--c-red-glow), transparent 65%), var(--c-ink); border-top: 3px solid var(--c-red); }
.exclusive .sec-title::after { content: "Solo en XCLUIDOS"; margin-left: 4px; padding: 5px 8px; border-radius: 2px; background: var(--c-red-strong); font: 800 .625rem/1 var(--f-body); letter-spacing: .12em; color: #fff; }
.exclusive-grid { display: grid; gap: 16px var(--gap); grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: start; }
.exclusive-grid > :first-child { grid-column: 1 / -1; }
.exclusive-grid > :nth-child(n+4) { display: none; }
@media (min-width: 600px) {
  .exclusive-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .exclusive-grid > :first-child { grid-column: span 2; grid-row: span 2; }
  .exclusive-grid > :nth-child(n+4) { display: grid; }
}

/* Música urbana */
.music-layout { display: grid; gap: 28px; }
.music-grid { --cols: 2; }
.agenda h3 { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 4px; font: 900 1rem/1 var(--f-display); font-stretch: 80%; letter-spacing: .06em; text-transform: uppercase; }
.agenda h3 span { font: 600 .6875rem var(--f-body); letter-spacing: .04em; text-transform: none; color: var(--c-text-3); }
.event { position: relative; display: grid; grid-template-columns: 56px 1fr; gap: 12px; align-items: center; padding: 11px 0; border-bottom: 1px solid var(--c-line); }
.event__date { display: grid; place-items: center; height: 58px; background: var(--c-ink-3); border-left: 3px solid var(--c-red); border-radius: 2px; }
.event__date b { font: 900 1.5rem/1 var(--f-display); font-stretch: 70%; }
.event__date small { font: 800 .625rem/1 var(--f-body); letter-spacing: .12em; text-transform: uppercase; color: var(--c-text-2); }
.event h4 { font: 700 .9375rem/1.25 var(--f-body); }
.event a::after { content: ""; position: absolute; inset: 0; }
.event a:hover { text-decoration: underline; text-decoration-color: var(--c-red); text-underline-offset: 3px; }
.event p { margin-top: 3px; font-size: var(--fs-xs); color: var(--c-text-3); }
@media (min-width: 900px) { .music-grid { --cols: 4; } .agenda ul { display: grid; grid-template-columns: repeat(2, 1fr); column-gap: 24px; } }
@media (min-width: 1100px) { .music-layout { grid-template-columns: minmax(0, 1fr) 290px; gap: 36px; } .agenda ul { display: block; } }

/* Videos (reels 9:16) */
.reels { --rail-w: 42%; }
.reels .post__frame { --frame: 9 / 16; }
.play-badge { position: absolute; left: 50%; top: 50%; z-index: 2; display: grid; place-items: center; width: 56px; height: 56px; margin: -28px 0 0 -28px; border-radius: 50%; background: var(--c-red); box-shadow: 0 0 0 8px rgba(240, 0, 22, .25); pointer-events: none; transition: transform var(--dur) var(--ease); }
.play-badge svg { width: 22px; height: 22px; margin-left: 3px; fill: #fff; }
@media (min-width: 600px) { .reels { --rail-w: 27%; } }
@media (min-width: 1100px) { .reels { display: grid; grid-auto-flow: row; grid-template-columns: repeat(6, minmax(0, 1fr)); margin: 0; padding: 0; overflow: visible; } }

/* Entretenimiento y Cultura */
.duo { display: grid; gap: 36px; }
.duo .grid { --cols: 3; }
@media (min-width: 900px) { .duo { grid-template-columns: 1fr 1fr; gap: 48px; } }

/* Banda de Instagram */
.ig-band .container { display: grid; gap: 16px; align-items: center; padding: 22px; border: 1px solid var(--c-line); border-left: 4px solid var(--c-red); border-radius: var(--radius); background: var(--c-ink-2); }
.ig-band__icon { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; background: var(--c-red-strong); }
.ig-band__icon svg { width: 26px; height: 26px; }
.ig-band h2 { font: 900 clamp(1.5rem, 1.1rem + 1.5vw, 2.25rem)/1 var(--f-display); font-stretch: 72%; text-transform: uppercase; }
.ig-band p { color: var(--c-text-2); font-size: var(--fs-sm); }
.ig-band .note { font-size: var(--fs-xs); color: var(--c-text-3); }
@media (min-width: 900px) { .ig-band .container { grid-template-columns: auto 1fr auto; gap: 22px; } }

/* ---------- Pie ---------- */
.site-footer { position: relative; margin-top: var(--section-y); background: #000; border-top: 2px solid var(--c-red); padding-top: 44px; }
.site-footer::before { content: ""; position: absolute; top: -2px; left: 0; width: min(260px, 34vw); height: 2px; background: linear-gradient(90deg, var(--c-red) 0 88%, var(--c-yellow) 88% 100%); }
.footer-top { display: grid; gap: 32px; padding-bottom: 32px; border-bottom: 1px solid var(--c-line); }
.footer-brand { display: grid; gap: 14px; justify-items: start; max-width: 380px; }
.footer-brand img { height: 46px; width: auto; }
.footer-brand p { color: var(--c-text-2); font-size: var(--fs-sm); }
.social { display: flex; flex-wrap: wrap; gap: 8px; }
.social a, .social span { display: inline-flex; align-items: center; gap: 8px; height: 38px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--c-line-strong); font-size: .8125rem; font-weight: 700; transition: border-color var(--dur) var(--ease); }
.social a:hover { border-color: var(--c-red); }
.social svg { width: 18px; height: 18px; }
.social .is-pending { border-style: dashed; color: var(--c-text-3); font-weight: 600; }
.footer-cols { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.footer-cols h2 { margin-bottom: 12px; font: 900 .8125rem/1 var(--f-display); font-stretch: 85%; letter-spacing: .12em; text-transform: uppercase; color: #fff; display: flex; align-items: center; gap: 8px; }
.footer-cols h2::before { content: ""; width: 6px; height: 12px; background: var(--c-red); transform: skewX(-18deg); }
.footer-cols a { display: inline-block; padding: 5px 0; font-size: .875rem; color: var(--c-text-2); }
.footer-cols a:hover { color: #fff; }
.footer-bottom { display: flex; flex-wrap: wrap; gap: 10px 24px; justify-content: space-between; padding-block: 22px; font-size: var(--fs-xs); color: var(--c-text-3); }
.footer-bottom a:hover { color: #fff; }
@media (min-width: 900px) { .footer-top { grid-template-columns: 1fr 1.6fr; gap: 48px; } .footer-cols { grid-template-columns: repeat(3, 1fr); } }

/* ---------- Página individual de publicación ---------- */
.crumbs { display: flex; flex-wrap: wrap; gap: 6px; padding-block: 16px 14px; font-size: var(--fs-xs); color: var(--c-text-3); }
.crumbs a:hover { color: #fff; }
.crumbs li + li::before { content: "/"; margin-right: 6px; color: var(--c-ink-4); }
.story { display: grid; gap: 24px; padding-bottom: var(--section-y); }
.single__media { position: relative; display: grid; gap: 10px; justify-items: center; }
.single__media .post__frame, .gallery { width: min(100%, calc((100svh - 150px) * var(--arn, .8))); }
.gallery { position: relative; }
.gallery__track { display: grid; grid-auto-flow: column; grid-auto-columns: 100%; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; border-radius: var(--radius); }
.gallery__track::-webkit-scrollbar { display: none; }
.gallery__track > * { scroll-snap-align: center; }
.gallery__btn { position: absolute; top: 50%; z-index: 3; width: 44px; height: 44px; margin-top: -22px; border-radius: 50%; background: rgba(8, 8, 8, .75); display: grid; place-items: center; border: 1px solid var(--c-line-strong); transition: background var(--dur) var(--ease), opacity var(--dur) var(--ease); }
.gallery__btn:hover { background: var(--c-red-strong); }
.gallery__btn[disabled] { opacity: 0; pointer-events: none; }
.gallery__btn svg { width: 20px; height: 20px; }
.gallery__btn--prev { left: 10px; } .gallery__btn--prev svg { transform: rotate(180deg); }
.gallery__btn--next { right: 10px; }
.gallery__count { position: absolute; top: 10px; right: 10px; z-index: 3; padding: 5px 9px; border-radius: 999px; background: rgba(8, 8, 8, .75); font: 800 .75rem/1 var(--f-body); }
.gallery__thumbs { display: flex; gap: 8px; justify-content: center; flex-wrap: wrap; }
.gallery__thumbs button { width: 52px; aspect-ratio: 4 / 5; border-radius: 4px; overflow: hidden; opacity: .5; outline-offset: 2px; transition: opacity var(--dur) var(--ease), box-shadow var(--dur) var(--ease); }
.gallery__thumbs button img { width: 100%; height: 100%; object-fit: contain; background: var(--c-ink-3); }
.gallery__thumbs button[aria-current="true"] { opacity: 1; box-shadow: 0 0 0 2px var(--c-red); }
.video-cover { position: relative; display: block; width: 100%; border-radius: var(--radius); }
.video-cover:hover .play-badge { transform: scale(1.06); }
.single__info { display: grid; gap: 18px; align-content: start; }
.single__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; }
.single__date { font-size: var(--fs-sm); color: var(--c-text-2); }
.caption { font-size: 1.0625rem; line-height: 1.7; color: #ececec; max-width: 62ch; }
.caption .tag, .caption .mention { color: #fff; font-weight: 700; text-decoration: underline; text-decoration-color: var(--c-red); text-underline-offset: 3px; }
.source { display: grid; grid-template-columns: auto 1fr; gap: 12px 14px; align-items: center; padding: 16px; border: 1px solid var(--c-line); border-left: 4px solid var(--c-red); border-radius: var(--radius); background: var(--c-ink-2); }
.source__icon { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--c-red-strong); }
.source__icon svg { width: 22px; height: 22px; }
.source p { font-size: var(--fs-sm); color: var(--c-text-2); }
.source strong { color: #fff; }
.source .btn { grid-column: 1 / -1; justify-self: start; }
.share-row { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.share-row span { font: 800 .6875rem/1 var(--f-body); letter-spacing: .12em; text-transform: uppercase; color: var(--c-text-3); margin-right: 4px; }
.share-row a, .share-row button { display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--c-line-strong); transition: border-color var(--dur) var(--ease), background var(--dur) var(--ease); }
.share-row a:hover, .share-row button:hover { border-color: var(--c-red); background: var(--c-ink-3); }
.share-row svg { width: 18px; height: 18px; }
.related .grid { --cols: 2; }
@media (min-width: 600px) { .related .grid { --cols: 3; } }
@media (min-width: 900px) {
  .story { grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 40px; align-items: start; }
  .single__media { position: sticky; top: calc(var(--header-h) + 16px); }
  .related .grid { --cols: 5; }
}

/* ---------- Menú de compartir ---------- */
.share-menu { position: absolute; z-index: 120; min-width: 210px; padding: 6px; border-radius: 8px; background: #121212; border: 1px solid var(--c-line-strong); box-shadow: 0 18px 40px rgba(0, 0, 0, .6); }
.share-menu a, .share-menu button { display: flex; width: 100%; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 4px; font-size: .875rem; font-weight: 600; text-align: left; }
.share-menu a:hover, .share-menu button:hover { background: var(--c-ink-4); }
.share-menu svg { width: 18px; height: 18px; }

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

/* Video en la página individual: la portada del reel ocupa su proporción real */
.single__media .video-cover { width: min(100%, calc((100svh - 150px) * var(--arn, .5625))); }
.single__media .video-cover .post__frame { width: 100%; }

/* Indicador de actualidad: punto rojo + hora en blanco (publicaciones de menos de 1 h) */
.is-new { width: 8px; height: 8px; flex: none; border-radius: 50%; background: var(--c-red); box-shadow: 0 0 0 3px rgba(240, 0, 22, .25); animation: pulse 1.6s infinite; }
.meta-time.is-fresh { color: #fff; font-weight: 700; }

/* Exclusivas en escritorio: una fila, la principal más grande y alineada abajo */
@media (min-width: 1100px) {
  .exclusive-grid { grid-template-columns: 1.6fr repeat(4, minmax(0, 1fr)); align-items: end; }
  .exclusive-grid > :first-child { grid-column: auto; grid-row: auto; }
}

/* =====================================================================
   Tema WordPress: piezas que no existían en el prototipo
   ===================================================================== */
main:focus { outline: none; }

/* Descripción original (párrafos generados por WordPress) */
.caption p + p { margin-top: .9em; }
.caption a:not(.tag):not(.mention) { text-decoration: underline; text-decoration-color: var(--c-red); text-underline-offset: 3px; }
.single__meta .kicker:hover { color: var(--c-text-2); }

/* Secciones vacías: los visitantes no ven nada; los editores, este aviso */
.editor-note { width: min(100% - 2 * var(--gutter), var(--container)); margin: 12px auto; padding: 10px 14px; border: 1px dashed var(--c-line-strong); border-radius: var(--radius); font-size: var(--fs-sm); color: var(--c-text-2); }
.editor-note strong { color: #fff; margin-right: 4px; }
.music-layout.is-solo { grid-template-columns: minmax(0, 1fr); }
@media (min-width: 1100px) { .music-layout.is-solo .music-grid { --cols: 4; } }
.duo.is-solo { grid-template-columns: minmax(0, 1fr); }
.duo.is-solo .grid { --cols: 3; }
@media (min-width: 900px) { .duo.is-solo .grid { --cols: 5; } }

/* Archivos: categoría, búsqueda, 404 */
.archive-wrap { padding-block: 20px var(--section-y); }
.archive-head { display: grid; gap: 12px; margin-bottom: 22px; }
.archive-title { display: flex; align-items: center; gap: 12px; font: 900 clamp(2rem, 1.4rem + 2.6vw, 3.25rem)/.95 var(--f-display); font-stretch: 70%; text-transform: uppercase; }
.archive-title::before { content: ""; flex: none; width: 11px; height: .85em; background: var(--c-red); transform: skewX(-18deg); }
.archive-desc { color: var(--c-text-2); font-size: var(--fs-sm); max-width: 70ch; }
.archive-head .pills { margin: 4px 0 0; }
.archive-head .search-form { max-width: 640px; }
.archive-grid { --cols: 2; }
@media (min-width: 600px) { .archive-grid { --cols: 3; } .archive-grid--reels { --cols: 4; } }
@media (min-width: 900px) { .archive-grid { --cols: 4; } .archive-grid--reels { --cols: 5; } }
@media (min-width: 1100px) { .archive-grid { --cols: 5; } .archive-grid--reels { --cols: 6; } }
.notfound__code { font: 900 clamp(5rem, 3rem + 8vw, 9rem)/.8 var(--f-display); font-stretch: 62%; color: transparent; -webkit-text-stroke: 2px var(--c-red); }
.archive-wrap section { margin-top: var(--section-y); }

/* Paginación (sin JavaScript); con JavaScript la sustituye "Cargar más" */
.pagination-wrap { margin-top: 26px; }
.js .pagination-wrap[data-has-more] { display: none; }
.nav-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; }
.nav-links .page-numbers { display: inline-grid; place-items: center; min-width: 40px; height: 40px; padding: 0 12px; border-radius: 999px; border: 1px solid var(--c-line-strong); font-weight: 700; font-size: .875rem; }
.nav-links .page-numbers.current { background: var(--c-red-strong); border-color: var(--c-red-strong); }
.nav-links a.page-numbers:hover { border-color: var(--c-red); }
.load-error { color: var(--c-text-2); font-size: var(--fs-sm); text-align: center; }

/* Buscador: secciones como enlaces y aviso sin resultados */
.search-hints a { padding: 6px 12px; border-radius: 999px; background: var(--c-ink-3); font-size: .8125rem; font-weight: 600; color: var(--c-text-2); }
.search-hints a:hover { color: #fff; }
.search-suggest__all { grid-column: 1 / -1; justify-self: start; }

/* Video: la fachada se sustituye por el reproductor nativo al pulsar */
.single__media video { display: block; width: min(100%, calc((100svh - 150px) * var(--arn, .5625))); aspect-ratio: var(--arn, .5625); border-radius: var(--radius); background: #000; }

/* Páginas */
.page-body { padding-block: 24px var(--section-y); max-width: 760px; }
.prose { margin-top: 20px; color: #e6e6e6; font-size: 1.0625rem; line-height: 1.75; }
.prose > * + * { margin-top: 1em; }
.prose h2, .prose h3 { font-family: var(--f-display); font-stretch: 78%; text-transform: uppercase; line-height: 1.05; margin-top: 1.6em; }
.prose a { text-decoration: underline; text-decoration-color: var(--c-red); text-underline-offset: 3px; }
.prose ul { list-style: disc; padding-left: 1.3em; }
.prose .lead { font-size: 1.25rem; line-height: 1.6; color: var(--c-white); }
.prose .draft-note { padding: 12px 16px; border-left: 4px solid var(--c-red); background: #1a1a1a; }
.prose .contact-list { list-style: none; padding-left: 0; }
.prose .contact-list a { text-decoration: none; }

/* Evento */
.event-title { font: 900 clamp(2rem, 1.4rem + 2.6vw, 3.25rem)/.95 var(--f-display); font-stretch: 70%; text-transform: uppercase; }
.event-sub { font-size: 1.125rem; color: var(--c-text-2); }
.event-facts { display: grid; gap: 8px; }
.event-facts li { display: flex; align-items: center; gap: 10px; font-weight: 600; }
.event-facts svg { width: 20px; height: 20px; color: var(--c-red); flex: none; }
.story--event .single__info > .btn { justify-self: start; }
.footer-mail { color: var(--c-text-2); font-size: var(--fs-sm); }
.footer-mail:hover { color: #fff; }
