/* =========================================================================
   GCC Noticias — misma identidad que la landing (chilegcc.com)
   ========================================================================= */

:root {
  --bg: #0d1420;
  --bg-2: #0a1628;
  --bg-3: #070e1a;
  --text: #ece6d7;
  --text-muted: rgba(236, 230, 215, 0.68);
  --gold: #c6a24a;
  --gold-light: #e2c982;
  --line: rgba(226, 201, 130, 0.18);
  --card: rgba(10, 22, 40, 0.65);
  --radius: 20px 0 20px 0;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --serif: "Cormorant Garamond", Georgia, serif;
  --sans: "Geist", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scrollbar-width: thin;
  scrollbar-color: var(--gold) var(--bg);
}
body {
  margin: 0;
  font-family: var(--sans);
  color: var(--text);
  background: var(--bg);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
img {
  max-width: 100%;
  height: auto;
}
h1,
h2,
h3,
h4 {
  font-family: var(--serif);
  font-weight: 700;
  line-height: 1.15;
  margin: 0;
}
a {
  color: var(--gold-light);
}
:focus-visible {
  outline: 2px solid var(--gold-light);
  outline-offset: 4px;
  border-radius: 2px;
}
.site-main:focus {
  outline: none;
}
.screen-reader-text {
  border: 0;
  clip: rect(1px, 1px, 1px, 1px);
  clip-path: inset(50%);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute !important;
  width: 1px;
  word-wrap: normal !important;
}
.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 200;
  padding: 10px 18px;
  background: var(--gold-light);
  color: var(--bg);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 1px;
  text-decoration: none;
  transform: translateY(-160%);
  transition: transform 0.25s;
}
.skip-link:focus {
  transform: translateY(0);
}
.container {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ----- Header (igual a la landing: logo a la izquierda, menú a la derecha) ----- */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  height: 72px;
  z-index: 100;
  background: rgba(11, 18, 30, 0.96);
  border-bottom: 1px solid rgba(226, 201, 130, 0.1);
}
.admin-bar .site-header {
  top: var(--wp-admin--admin-bar--height, 32px);
}
.header-inner {
  position: relative;
  z-index: 1;
  height: 100%;
  max-width: 1368px;
  margin: 0 auto;
  padding: 0 clamp(20px, 4vw, 64px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.header-brand {
  display: flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
  flex-shrink: 0;
}
.brand-emblem {
  position: relative;
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  flex-shrink: 0;
}
.brand-star {
  position: absolute;
  inset: 7px;
  border: 1px solid rgba(226, 201, 130, 0.6);
  background: rgba(226, 201, 130, 0.04);
}
.brand-star + .brand-star {
  transform: rotate(45deg);
}
.brand-emblem img {
  position: relative;
  width: 26px;
  height: 26px;
  border-radius: 50%;
}
.brand-divider {
  width: 1px;
  height: 34px;
  background: rgba(226, 201, 130, 0.4);
}
.brand-text {
  display: flex;
  flex-direction: column;
}
.brand-name {
  font-family: var(--serif);
  font-size: 1.5rem;
  font-weight: 600;
  line-height: 1;
  color: #f1ebdd;
  white-space: nowrap;
}
.brand-accent {
  color: var(--gold-light);
}
.brand-sub {
  margin-top: 6px;
  font-size: 0.56rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold-light);
  white-space: nowrap;
}
.header-nav {
  display: flex;
  align-items: center;
  gap: clamp(16px, 1.8vw, 28px);
}
.nav-links {
  display: flex;
  align-items: center;
  gap: clamp(16px, 1.8vw, 30px);
}
.header-nav-link {
  position: relative;
  font-size: 0.84rem;
  letter-spacing: 0.01em;
  font-weight: 500;
  color: rgba(236, 230, 215, 0.72);
  text-decoration: none;
  transition: color 0.3s;
}
.header-nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -10px;
  height: 2px;
  background: var(--gold-light);
  transform: scaleX(0);
  transition: transform 0.3s var(--ease);
}
.header-nav-link:hover,
.header-nav-link.is-active {
  color: var(--gold-light);
}
.header-nav-link:hover::after {
  transform: scaleX(0.6);
}
.header-nav-link.is-active::after {
  transform: scaleX(1);
}
.nav-sep {
  width: 1px;
  height: 22px;
  background: rgba(226, 201, 130, 0.2);
}
.lang-switch {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--gold-light);
}
.lang-icon {
  width: 14px;
  height: 14px;
}
.lang-link {
  font-size: 0.8rem;
  font-weight: 600;
  color: rgba(236, 230, 215, 0.55);
  text-decoration: none;
  transition: color 0.3s;
}
.lang-link:hover,
.lang-link.is-current {
  color: var(--gold-light);
}
.header-line {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 3px;
  background: rgba(226, 201, 130, 0.1);
}
.header-line::after {
  content: "";
  display: block;
  height: 100%;
  width: calc(var(--read, 0) * 100%);
  background: linear-gradient(90deg, var(--gold), var(--gold-light), var(--gold));
  box-shadow: 0 0 12px rgba(226, 201, 130, 0.3);
}

/* Hamburguesa + menú móvil */
.hamburger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  width: 22px;
  height: 18px;
  padding: 0;
  flex-direction: column;
  justify-content: space-between;
}
.hamburger span {
  display: block;
  height: 2px;
  background: rgba(236, 230, 215, 0.6);
  border-radius: 1px;
  transition:
    transform 0.3s,
    opacity 0.3s,
    background 0.3s;
}
.hamburger[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}
.hamburger[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}
.hamburger[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}
.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: -1;
  background: rgba(13, 20, 32, 0.98);
  display: flex;
  align-items: center;
  justify-content: center;
  transform: translateX(100%);
  visibility: hidden;
  transition:
    transform 0.4s var(--ease),
    visibility 0.4s;
}
.mobile-menu.is-open {
  transform: translateX(0);
  visibility: visible;
}
.mobile-menu-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 26px;
}
.mobile-nav-link {
  font-size: 1.05rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  font-weight: 500;
  color: rgba(236, 230, 215, 0.62);
  text-decoration: none;
}
.mobile-nav-link.is-active,
.mobile-nav-link:hover {
  color: var(--gold-light);
}
.mobile-menu-lang {
  display: flex;
  gap: 12px;
  margin-top: 12px;
  padding-top: 22px;
  border-top: 1px solid rgba(226, 201, 130, 0.15);
}
.mobile-lang-link {
  font-size: 0.85rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: rgba(236, 230, 215, 0.6);
  text-decoration: none;
}
.mobile-lang-link.is-current {
  color: var(--gold-light);
}
.mobile-lang-sep {
  color: rgba(226, 201, 130, 0.25);
}
body.menu-open {
  overflow: hidden;
}

/* ----- Encabezado de página ----- */
.news-archive {
  position: relative;
  padding: 120px 0 100px;
  min-height: 100vh;
  background: linear-gradient(165deg, var(--bg-2) 0%, var(--bg) 50%, var(--bg-2) 100%);
}
.news-archive::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='240' viewBox='0 0 240 240'%3E%3Cpolygon points='120,0 240,120 120,240 0,120' fill='none' stroke='%23E2C982' stroke-width='0.5' opacity='0.12'/%3E%3Cpolygon points='120,40 200,120 120,200 40,120' fill='none' stroke='%23E2C982' stroke-width='0.3' opacity='0.08'/%3E%3C/svg%3E");
  background-size: 240px 240px;
}
.news-archive .container {
  position: relative;
}
.page-header {
  text-align: center;
  margin-bottom: 36px;
}
.section-tag {
  font-size: 0.7rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 600;
  margin: 0 0 10px;
}
.section-title {
  font-size: clamp(2.3rem, 5vw, 3.2rem);
  color: var(--text);
  margin-bottom: 16px;
}
.page-desc {
  max-width: 600px;
  margin: 0 auto;
  color: var(--text-muted);
  font-weight: 300;
  text-wrap: balance;
}

/* Filtros por categoría */
.news-filters {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-bottom: 40px;
}
.news-filter {
  padding: 8px 20px;
  font-size: 0.72rem;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--text-muted);
  text-decoration: none;
  border: 1px solid var(--line);
  border-radius: 12px 0 12px 0;
  transition:
    color 0.3s,
    border-color 0.3s,
    background 0.3s;
}
.news-filter:hover {
  color: var(--gold-light);
  border-color: rgba(226, 201, 130, 0.5);
}
.news-filter.is-current {
  color: var(--bg);
  background: var(--gold-light);
  border-color: var(--gold-light);
}

/* ----- Tarjetas ----- */
.news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.news-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition:
    transform 0.5s var(--ease),
    border-color 0.4s,
    box-shadow 0.5s;
}
.news-card:focus-within {
  border-color: var(--gold-light);
}
.news-card-media {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--bg-2);
}
.news-card-media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s var(--ease);
}
/* Portada de marca para noticias de la Cámara sin foto */
.news-card-cover {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  background:
    radial-gradient(60% 70% at 50% 45%, rgba(9, 16, 28, 0.15), rgba(9, 16, 28, 0.6)),
    url("news-cover.webp") 62% 68% / cover no-repeat;
  transition: transform 0.8s var(--ease);
}
.news-cover-emblem {
  position: relative;
  display: grid;
  place-items: center;
  width: 84px;
  height: 84px;
}
.news-cover-star {
  position: absolute;
  inset: 12px;
  border: 1px solid rgba(226, 201, 130, 0.75);
  background: rgba(9, 16, 28, 0.35);
}
.news-cover-star + .news-cover-star {
  transform: rotate(45deg);
}
.news-cover-emblem img {
  position: relative;
  width: 40px;
  height: 40px;
  border-radius: 50%;
}
@media (hover: hover) {
  .news-card:hover .news-card-cover {
    transform: scale(1.04);
  }
}
/* Nota de prensa sin foto: la misma portada, con el nombre del medio bajo el emblema */
.news-card-cover.is-press {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  padding: 12px;
}
.news-cover-source {
  position: relative;
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.35rem;
  font-weight: 600;
  line-height: 1.1;
  color: var(--gold-light);
  text-align: center;
  text-shadow: 0 1px 12px rgba(9, 16, 28, 0.9);
}
/* En un video sin portada el play va al centro: el nombre baja un poco */
.news-cover-source:only-child {
  margin-top: 96px;
}
/* Cada tarjeta muestra otra parte del paisaje: dunas, los Andes, el skyline */
.news-card:nth-child(3n + 2) .news-card-cover {
  background-position: center, 14% 62%;
}
.news-card:nth-child(3n + 3) .news-card-cover {
  background-position: center, 94% 64%;
}
.news-card-play {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 56px;
  height: 56px;
  transform: translate(-50%, -50%);
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(13, 20, 32, 0.75);
  border: 1px solid rgba(226, 201, 130, 0.6);
  color: var(--gold-light);
  transition: transform 0.4s var(--ease);
}
.news-card-play svg {
  width: 22px;
  height: 22px;
  margin-left: 3px;
}
.news-card-body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 20px 22px 22px;
}
.news-card-meta,
.article-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin: 0 0 10px;
  font-size: 0.75rem;
  color: var(--text-muted);
}
.news-card-label {
  font-size: 0.66rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--gold);
}
.news-card-label + time::before {
  content: "·";
  margin-right: 10px;
  color: rgba(226, 201, 130, 0.4);
}
.news-card-title {
  font-size: 1.45rem;
  font-weight: 600;
  line-height: 1.2;
  margin-bottom: 10px;
  text-wrap: balance;
}
.news-card-title a {
  color: var(--text);
  text-decoration: none;
  transition: color 0.3s;
}
.news-card-title a::after {
  /* Hace clicable toda la tarjeta */
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
}
.news-card-title a:focus-visible {
  outline: none;
}
.news-card-excerpt {
  margin: 0 0 18px;
  font-size: 0.9rem;
  line-height: 1.6;
  color: var(--text-muted);
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.news-card-more {
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.7rem;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--gold-light);
}
.news-card-more svg {
  width: 14px;
  height: 14px;
  transition: transform 0.4s var(--ease);
}
@media (hover: hover) {
  .news-card:hover {
    transform: translateY(-4px);
    border-color: rgba(226, 201, 130, 0.55);
    box-shadow:
      0 18px 40px rgba(3, 8, 16, 0.55),
      0 0 30px rgba(226, 201, 130, 0.08);
  }
  .news-card:hover .news-card-media img {
    transform: scale(1.04);
  }
  .news-card:hover .news-card-title a {
    color: var(--gold-light);
  }
  .news-card:hover .news-card-more svg {
    transform: translateX(4px);
  }
  .news-card.is-press:hover .news-card-more svg {
    transform: translate(3px, -3px);
  }
  .news-card:hover .news-card-play {
    transform: translate(-50%, -50%) scale(1.08);
  }
}

/* Destacada: primera noticia de cada página, a ancho completo */
.news-card.is-featured {
  grid-column: 1 / -1;
  flex-direction: row;
}
.news-card.is-featured .news-card-media {
  flex: 0 0 58%;
  aspect-ratio: auto;
  min-height: 340px;
}
.news-card.is-featured .news-card-body {
  padding: 36px 40px;
  justify-content: center;
}
.news-card.is-featured .news-card-title {
  font-size: 2.1rem;
}
.news-card.is-featured .news-card-excerpt {
  font-size: 0.98rem;
  -webkit-line-clamp: 4;
}
.news-card.is-featured .news-card-more {
  margin-top: 8px;
}
.news-card.is-featured .news-cover-source {
  font-size: 1.7rem;
}

.news-empty {
  text-align: center;
  color: var(--text-muted);
  padding: 40px 0;
}

/* Paginación */
.pagination {
  margin-top: 48px;
}
.pagination .nav-links {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px;
}
.pagination .page-numbers {
  min-width: 40px;
  padding: 8px 14px;
  text-align: center;
  font-size: 0.8rem;
  color: var(--text-muted);
  text-decoration: none;
  border: 1px solid var(--line);
  border-radius: 10px 0 10px 0;
}
.pagination .page-numbers.current,
.pagination a.page-numbers:hover {
  color: var(--bg);
  background: var(--gold-light);
  border-color: var(--gold-light);
}

/* ----- Botón dorado (igual al CTA de la landing) ----- */
.btn-gold {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 36px;
  border: 1px solid var(--gold-light);
  color: var(--gold-light);
  text-decoration: none;
  text-transform: uppercase;
  font-size: 0.75rem;
  letter-spacing: 2px;
  font-weight: 600;
  transition:
    background 0.3s,
    color 0.3s,
    transform 0.3s,
    box-shadow 0.3s;
}
.btn-gold:hover {
  background: var(--gold-light);
  color: var(--bg);
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(226, 201, 130, 0.2);
}
.btn-gold:active {
  transform: translateY(0);
}

/* ----- Artículo ----- */
.article {
  padding: 116px 20px 100px;
}
.article-header,
.article-content,
.article-source {
  max-width: 740px;
  margin-left: auto;
  margin-right: auto;
}
.article-back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 28px;
  font-size: 0.72rem;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.3s;
}
.article-back svg {
  width: 16px;
  height: 16px;
  transition: transform 0.4s var(--ease);
}
.article-back:hover {
  color: var(--gold-light);
}
.article-back:hover svg {
  transform: translateX(-4px);
}
.article-title {
  font-size: clamp(2.2rem, 5vw, 3.3rem);
  line-height: 1.08;
  color: var(--text);
  text-wrap: balance;
  margin-bottom: 18px;
}
.article-lead {
  font-size: 1.15rem;
  line-height: 1.6;
  color: var(--text-muted);
  font-weight: 300;
  margin: 0;
}
.article-media {
  max-width: 1000px;
  margin: 40px auto;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
}
.article-media img {
  display: block;
  width: 100%;
}
.article-media figcaption {
  padding: 10px 16px;
  font-size: 0.8rem;
  color: var(--text-muted);
  background: var(--bg-2);
}
.article-video {
  aspect-ratio: 16 / 9;
}
.article-video iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}
.article-content {
  margin-top: 32px;
  font-size: 1.05rem;
  line-height: 1.8;
  color: rgba(236, 230, 215, 0.86);
}
.article-content > * + * {
  margin-top: 1.25em;
}
.article-content p {
  margin-bottom: 0;
}
.article-content h2 {
  font-size: 2rem;
  margin-top: 1.8em;
  color: var(--text);
}
.article-content h3 {
  font-size: 1.5rem;
  margin-top: 1.6em;
  color: var(--gold-light);
}
.article-content a {
  color: var(--gold-light);
  text-underline-offset: 3px;
}
.article-content blockquote {
  margin: 1.6em 0;
  padding: 4px 0 4px 24px;
  border-left: 2px solid var(--gold);
  font-family: var(--serif);
  font-size: 1.45rem;
  font-style: italic;
  line-height: 1.4;
  color: var(--text);
}
.article-content blockquote cite {
  display: block;
  margin-top: 10px;
  font-family: var(--sans);
  font-size: 0.8rem;
  font-style: normal;
  color: var(--text-muted);
}
.article-content ul,
.article-content ol {
  padding-left: 1.3em;
}
.article-content li + li {
  margin-top: 0.4em;
}
.article-content li::marker {
  color: var(--gold);
}
.article-content figure {
  margin-left: 0;
  margin-right: 0;
}
.article-content figcaption {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: 8px;
}
.article-content img {
  border-radius: 12px 0 12px 0;
}
.article-content .wp-block-embed__wrapper iframe {
  width: 100%;
}
.article-source {
  margin-top: 48px;
  padding: 24px 28px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--card);
}
.article-source p {
  margin: 0;
  font-family: var(--serif);
  font-size: 1.35rem;
  font-weight: 600;
  color: var(--text);
}
.article-source-label {
  display: block;
  font-family: var(--sans);
  font-size: 0.66rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--gold);
}
.not-found-cta {
  text-align: center;
}

/* ----- Footer (igual a la landing y al portal de pagos) ----- */
.site-footer {
  padding: 30px clamp(20px, 5vw, 64px);
  background: #08111e;
  color: #a6b1be;
  font-size: 0.72rem;
  border-top: 1px solid rgba(201, 171, 112, 0.24);
}
.footer-inner {
  max-width: 1240px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px 22px;
  flex-wrap: wrap;
}
.footer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
}
.footer-mark {
  display: grid;
  place-items: center;
  width: 37px;
  height: 37px;
  flex-shrink: 0;
  border-radius: 50%;
  border: 1px solid rgba(201, 171, 112, 0.24);
}
.footer-mark img {
  width: 27px;
  height: 27px;
  border-radius: 50%;
}
.footer-name {
  display: flex;
  flex-direction: column;
  font-family: var(--serif);
  font-size: 1.15rem;
  font-weight: 600;
  line-height: 1.2;
  color: #f9f5ed;
}
.footer-name small {
  margin-top: 2px;
  font-family: var(--sans);
  font-size: 0.6rem;
  font-weight: 500;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: #c8a969;
}

/* ----- Entrada suave ----- */
@media (prefers-reduced-motion: no-preference) {
  .page-header,
  .news-filters,
  .news-card,
  .article-header,
  .article-media,
  .article-content {
    animation: fadeUp 0.7s var(--ease) both;
  }
  .news-filters {
    animation-delay: 0.08s;
  }
  .news-card:nth-child(1) { animation-delay: 0.12s; }
  .news-card:nth-child(2) { animation-delay: 0.18s; }
  .news-card:nth-child(3) { animation-delay: 0.24s; }
  .news-card:nth-child(4) { animation-delay: 0.3s; }
  .news-card:nth-child(5) { animation-delay: 0.36s; }
  .news-card:nth-child(n + 6) { animation-delay: 0.42s; }
  .article-media {
    animation-delay: 0.1s;
  }
  .article-content {
    animation-delay: 0.16s;
  }
}
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
}

/* ----- Responsive ----- */
@media (max-width: 960px) {
  .news-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 768px) {
  .site-header {
    height: 64px;
  }
  .brand-emblem {
    width: 40px;
    height: 40px;
  }
  .brand-emblem img {
    width: 22px;
    height: 22px;
  }
  .header-brand {
    gap: 11px;
  }
  .brand-divider {
    height: 28px;
  }
  .brand-name {
    font-size: 1.22rem;
  }
  .brand-sub {
    margin-top: 5px;
    font-size: 0.5rem;
    letter-spacing: 0.1em;
  }
  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
  }
  .news-archive {
    padding-top: 100px;
  }
  .news-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }
  .news-card.is-featured {
    flex-direction: column;
  }
  .news-card.is-featured .news-card-media {
    flex: none;
    aspect-ratio: 16 / 10;
    min-height: 0;
  }
  .news-card.is-featured .news-card-body {
    padding: 20px 22px 22px;
  }
  .news-card.is-featured .news-card-title {
    font-size: 1.5rem;
  }
  .news-filters {
    flex-wrap: nowrap;
    justify-content: flex-start;
    overflow-x: auto;
    margin: 0 -20px 32px;
    padding: 0 20px 4px;
    scrollbar-width: none;
  }
  .news-filter {
    flex-shrink: 0;
  }
  .article {
    padding-top: 96px;
  }
  .article-media {
    margin: 28px -20px;
    border-radius: 0;
    border-left: 0;
    border-right: 0;
  }
  .article-source {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* Hasta 1100 px no caben logo + 7 enlaces: el menú pasa a la hamburguesa */
@media (max-width: 1100px) {
  .nav-links,
  .header-nav .nav-sep,
  .header-nav .lang-switch {
    display: none;
  }
  .hamburger {
    display: flex;
  }
}
