/* ============================================================
   Tigre News — Tema WordPress a medida
   Diseño: diario moderno y limpio · mobile-first
   ============================================================ */

/* ---------- Variables de marca ---------- */
:root {
  --tn-red: #C41E1E;
  --tn-red-dark: #9E1414;
  --tn-red-soft: #FBEAEA;
  --tn-ink: #16181C;
  --tn-ink-soft: #3A3D44;
  --tn-gray: #6B7280;
  --tn-gray-light: #9AA0A9;
  --tn-line: #E6E7EA;
  --tn-line-soft: #F0F1F3;
  --tn-bg: #FFFFFF;
  --tn-bg-soft: #F7F7F8;
  --tn-bg-dark: #16181C;

  --tn-wrap: 1200px;
  --tn-radius: 6px;
  --tn-shadow: 0 1px 3px rgba(16,24,40,.06), 0 1px 2px rgba(16,24,40,.04);
  --tn-shadow-hover: 0 8px 24px rgba(16,24,40,.10);

  --tn-font-head: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --tn-font-body: "Lora", Georgia, "Times New Roman", serif;
  --tn-font-ui: "Archivo", "Helvetica Neue", Arial, sans-serif;
}

/* ---------- Reset básico ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--tn-font-body);
  color: var(--tn-ink);
  background: var(--tn-bg);
  font-size: 17px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
a:hover { color: var(--tn-red); }
h1, h2, h3, h4, h5, h6 { font-family: var(--tn-font-head); line-height: 1.2; margin: 0 0 .5em; color: var(--tn-ink); font-weight: 800; }
p { margin: 0 0 1.1em; }
ul, ol { margin: 0 0 1.1em; padding-left: 1.4em; }

/* ---------- Layout ---------- */
.tn-wrap { max-width: var(--tn-wrap); margin: 0 auto; padding: 0 20px; }
.tn-main { padding: 32px 0 48px; }
.tn-layout { display: grid; grid-template-columns: minmax(0,1fr) 320px; gap: 40px; }
.screen-reader-text {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); border: 0;
}
.skip-link { position: absolute; left: -9999px; top: 0; background: var(--tn-red); color:#fff; padding: 10px 16px; z-index: 1000; }
.skip-link:focus { left: 8px; top: 8px; color:#fff; }

/* ============================================================
   TOP BAR — fecha + último momento
   ============================================================ */
.tn-topbar {
  background: var(--tn-bg-dark);
  color: #fff;
  font-family: var(--tn-font-ui);
  font-size: 13px;
}
.tn-topbar .tn-wrap { display: flex; align-items: center; gap: 16px; height: 38px; }
.tn-topbar__date { color: #C7CAD1; white-space: nowrap; text-transform: capitalize; }
.tn-ticker { display: flex; align-items: center; gap: 12px; overflow: hidden; flex: 1; position: relative; }
.tn-ticker__label {
  background: var(--tn-red); color: #fff; font-weight: 700; text-transform: uppercase;
  font-size: 11px; letter-spacing: .06em; padding: 4px 10px; border-radius: 3px; white-space: nowrap;
  position: relative; z-index: 2; flex-shrink: 0;
  box-shadow: 8px 0 8px var(--tn-bg-dark);
}
.tn-ticker__items { display: flex; gap: 28px; white-space: nowrap; animation: tn-ticker 30s linear infinite; }
.tn-ticker__items a { color: #E7E9ED; }
.tn-ticker__items a:hover { color: #fff; }
.tn-ticker:hover .tn-ticker__items { animation-play-state: paused; }
@keyframes tn-ticker { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }
.tn-topbar__social { display: flex; gap: 16px; margin-left: auto; align-items: center; }
.tn-topbar__social a { color: #C7CAD1; display: inline-flex; }
.tn-topbar__social a:hover { color: #fff; }

/* ============================================================
   HEADER
   ============================================================ */
.tn-header { background: var(--tn-bg); border-bottom: 1px solid var(--tn-line); }
.tn-header__inner { display: flex; align-items: center; gap: 20px; padding: 18px 0; }
.tn-brand { display: flex; align-items: center; gap: 18px; flex-shrink: 0; }
.tn-brand__logo { display: block; margin-left: 0; }
.tn-brand img { height: 74px; width: auto; display: block; }
.tn-brand__text { font-family: var(--tn-font-head); font-weight: 800; font-size: 30px; color: var(--tn-red); letter-spacing: -.02em; }
.tn-brand__tagline {
  font-family: var(--tn-font-ui); font-weight: 600; font-size: 19px; line-height: 1.28;
  color: var(--tn-ink-soft); padding-left: 20px; border-left: 2px solid var(--tn-line);
}
.tn-header__cta { margin-left: auto; display: flex; align-items: center; gap: 14px; }
.tn-search-toggle, .tn-menu-toggle {
  background: none; border: 0; cursor: pointer; color: var(--tn-ink);
  display: inline-flex; align-items: center; justify-content: center; padding: 8px; border-radius: var(--tn-radius);
}
.tn-search-toggle:hover, .tn-menu-toggle:hover { background: var(--tn-bg-soft); color: var(--tn-red); }
.tn-menu-toggle { display: none; }

/* ---------- Navegación ---------- */
.tn-nav { border-bottom: 1px solid var(--tn-line); background: var(--tn-bg); position: sticky; top: 0; z-index: 90; }
.tn-nav__inner { display: flex; align-items: center; }
.tn-nav ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; }
.tn-nav li { position: relative; }
.tn-nav a {
  font-family: var(--tn-font-ui); font-weight: 600; font-size: 15px; letter-spacing: .01em;
  padding: 14px 16px; display: block; color: var(--tn-ink); text-transform: uppercase; font-size: 13.5px;
}
.tn-nav > .tn-nav__inner > ul > li > a { border-bottom: 3px solid transparent; }
.tn-nav a:hover { color: var(--tn-red); }
.tn-nav .current-menu-item > a,
.tn-nav .current_page_item > a { color: var(--tn-red); border-bottom-color: var(--tn-red); }
.tn-nav .sub-menu {
  position: absolute; top: 100%; left: 0; background: #fff; min-width: 210px;
  box-shadow: var(--tn-shadow-hover); border: 1px solid var(--tn-line); border-radius: var(--tn-radius);
  display: none; flex-direction: column; padding: 6px 0; z-index: 100;
}
.tn-nav li:hover > .sub-menu { display: flex; }
.tn-nav .sub-menu a { padding: 9px 16px; text-transform: none; font-size: 14px; border: 0; }
.tn-nav__home { color: var(--tn-red) !important; }

/* Barra de búsqueda desplegable */
.tn-searchbar { display: none; border-bottom: 1px solid var(--tn-line); background: var(--tn-bg-soft); }
.tn-searchbar.is-open { display: block; }
.tn-searchbar form { display: flex; gap: 10px; padding: 16px 0; }
.tn-searchbar input[type="search"] {
  flex: 1; border: 1px solid var(--tn-line); border-radius: var(--tn-radius);
  padding: 12px 16px; font-size: 16px; font-family: var(--tn-font-body); background:#fff;
}
.tn-searchbar input[type="search"]:focus { outline: 2px solid var(--tn-red); border-color: var(--tn-red); }

/* ============================================================
   ETIQUETAS / KICKERS
   ============================================================ */
.tn-kicker {
  display: inline-block; font-family: var(--tn-font-ui); font-weight: 700; font-size: 11.5px;
  text-transform: uppercase; letter-spacing: .07em; color: var(--tn-red);
  margin-bottom: 8px;
}
.tn-kicker--badge {
  background: var(--tn-red); color: #fff; padding: 4px 9px; border-radius: 3px; margin: 0;
}
.tn-meta { font-family: var(--tn-font-ui); font-size: 13px; color: var(--tn-gray); display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.tn-meta a { color: var(--tn-gray); }
.tn-meta a:hover { color: var(--tn-red); }
.tn-meta__dot::before { content: "·"; margin-right: 10px; }

/* ============================================================
   SECCIONES / TÍTULOS
   ============================================================ */
.tn-section { margin-bottom: 44px; }
.tn-section__head {
  display: flex; align-items: center; justify-content: space-between;
  border-bottom: 2px solid var(--tn-ink); margin-bottom: 22px; padding-bottom: 8px;
}
.tn-section__title {
  font-size: 22px; font-weight: 800; text-transform: uppercase; letter-spacing: .01em;
  position: relative; margin: 0; display: inline-flex; align-items: center;
}
.tn-section__title::before {
  content: ""; display: inline-block; width: 6px; height: 22px; background: var(--tn-red); margin-right: 12px; border-radius: 2px;
}
.tn-section__more { font-family: var(--tn-font-ui); font-weight: 700; font-size: 13px; text-transform: uppercase; color: var(--tn-red); }

/* ============================================================
   HERO (portada)
   ============================================================ */
.tn-hero { display: grid; grid-template-columns: 1.55fr 1fr; gap: 26px; margin-bottom: 44px; }
.tn-hero__side { display: flex; flex-direction: column; gap: 20px; }

.tn-card { display: flex; flex-direction: column; }
.tn-card__thumb { position: relative; overflow: hidden; border-radius: var(--tn-radius); background: var(--tn-bg-soft); display: block; }
.tn-card__thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; aspect-ratio: 16/9; }
.tn-card:hover .tn-card__thumb img { transform: scale(1.04); }
.tn-card__cat {
  position: absolute; top: 12px; left: 12px; background: var(--tn-red); color: #fff;
  font-family: var(--tn-font-ui); font-weight: 700; font-size: 11px; text-transform: uppercase;
  letter-spacing: .05em; padding: 4px 10px; border-radius: 3px; z-index: 2;
}
.tn-card__body { padding-top: 12px; }
.tn-card__title { font-weight: 800; line-height: 1.22; margin: 4px 0 8px; }
.tn-card__title a:hover { color: var(--tn-red); }
.tn-card__excerpt { color: var(--tn-ink-soft); font-size: 15.5px; margin: 0 0 10px; }

/* Hero principal */
.tn-hero__main .tn-card__thumb img { aspect-ratio: 16/10; }
.tn-hero__main .tn-card__title { font-size: 34px; }
.tn-hero__main .tn-card__excerpt { font-size: 17px; }
.tn-hero__main .tn-card__cat { font-size: 12px; padding: 5px 12px; }

/* Cards laterales (overlay) */
.tn-card--overlay { position: relative; border-radius: var(--tn-radius); overflow: hidden; min-height: 190px; flex: 1; }
.tn-card--overlay .tn-card__thumb { position: absolute; inset: 0; height: 100%; border-radius: 0; }
.tn-card--overlay .tn-card__thumb img { aspect-ratio: auto; height: 100%; }
.tn-card--overlay::after {
  content: ""; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(180deg, rgba(0,0,0,0) 25%, rgba(0,0,0,.82) 100%);
}
.tn-card--overlay .tn-card__body { position: absolute; left: 0; right: 0; bottom: 0; z-index: 3; padding: 16px; }
.tn-card--overlay .tn-card__title { color: #fff; font-size: 18px; margin: 6px 0 0; }
.tn-card--overlay .tn-card__title a { color: #fff; }
.tn-card--overlay .tn-card__title a:hover { color: #fff; text-decoration: underline; }
.tn-card--overlay .tn-meta, .tn-card--overlay .tn-meta a { color: #E4E6EA; }

/* ============================================================
   BANDA DE SECCIONES (íconos)
   ============================================================ */
.tn-sections-band {
  background: var(--tn-bg-soft);
  border-top: 1px solid var(--tn-line);
  border-bottom: 1px solid var(--tn-line);
  padding: 36px 0;
  margin-bottom: 44px;
}
.tn-sections-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 24px 16px;
}
.tn-sec {
  display: flex; flex-direction: column; align-items: center; text-align: center; gap: 10px;
  color: var(--tn-ink);
}
.tn-sec__icon {
  width: 78px; height: 78px; border-radius: 18px;
  background: var(--tn-red); color: #fff;
  display: flex; align-items: center; justify-content: center;
  box-shadow: var(--tn-shadow);
  transition: background .2s ease, transform .2s ease, box-shadow .2s ease;
}
.tn-sec__icon svg { width: 36px; height: 36px; }
.tn-sec:hover .tn-sec__icon { background: var(--tn-red-dark); transform: translateY(-4px); box-shadow: var(--tn-shadow-hover); }
.tn-sec__label { font-family: var(--tn-font-head); font-weight: 800; font-size: 20px; letter-spacing: -.01em; }
.tn-sec:hover .tn-sec__label { color: var(--tn-red); }
.tn-sec__desc { font-family: var(--tn-font-ui); font-size: 13.5px; color: var(--tn-gray); line-height: 1.4; max-width: 170px; }

/* ============================================================
   GRILLAS
   ============================================================ */
.tn-grid { display: grid; gap: 30px 26px; }
.tn-grid--3 { grid-template-columns: repeat(3, 1fr); }
.tn-grid--2 { grid-template-columns: repeat(2, 1fr); }
.tn-grid .tn-card__title { font-size: 19px; }

/* Lista horizontal (card imagen + texto) */
.tn-list { display: flex; flex-direction: column; gap: 20px; }
.tn-hcard { display: grid; grid-template-columns: 130px 1fr; gap: 16px; align-items: start; }
.tn-hcard .tn-card__thumb { border-radius: var(--tn-radius); }
.tn-hcard .tn-card__thumb img { aspect-ratio: 4/3; }
.tn-hcard .tn-card__title { font-size: 17px; margin: 4px 0 6px; }
.tn-hcard .tn-card__body { padding-top: 0; }

/* Lista numerada (populares) */
.tn-ranklist { counter-reset: rank; list-style: none; padding: 0; margin: 0; }
.tn-ranklist li { display: flex; gap: 14px; padding: 14px 0; border-bottom: 1px solid var(--tn-line); align-items: flex-start; }
.tn-ranklist li:last-child { border-bottom: 0; }
.tn-ranklist li::before {
  counter-increment: rank; content: counter(rank);
  font-family: var(--tn-font-head); font-weight: 800; font-size: 26px; color: var(--tn-red);
  line-height: 1; min-width: 30px;
}
.tn-ranklist .tn-card__title { font-size: 16px; margin: 0 0 4px; }

/* ============================================================
   SIDEBAR
   ============================================================ */
.tn-sidebar .tn-widget { margin-bottom: 36px; }
.tn-widget__title {
  font-size: 16px; font-weight: 800; text-transform: uppercase; letter-spacing: .03em;
  border-bottom: 2px solid var(--tn-ink); padding-bottom: 8px; margin-bottom: 16px;
  display: flex; align-items: center;
}
.tn-widget__title::before { content:""; width: 5px; height: 16px; background: var(--tn-red); margin-right: 10px; border-radius: 2px; }
.tn-widget ul { list-style: none; padding: 0; margin: 0; }
.tn-widget:not(.tn-widget--rank) ul li { padding: 9px 0; border-bottom: 1px solid var(--tn-line-soft); }
.tn-widget ul li a { font-family: var(--tn-font-ui); font-size: 14.5px; font-weight: 500; }
.tn-widget select, .tn-widget .search-field { width: 100%; padding: 10px; border: 1px solid var(--tn-line); border-radius: var(--tn-radius); font-family: var(--tn-font-ui); }

.tn-adbox {
  background: var(--tn-bg-soft); border: 1px dashed var(--tn-line); border-radius: var(--tn-radius);
  text-align: center; padding: 40px 16px; color: var(--tn-gray-light); font-family: var(--tn-font-ui); font-size: 13px;
}
.tn-sticky { position: sticky; top: 76px; }

/* Newsletter box */
.tn-newsletter { background: var(--tn-bg-dark); color: #fff; border-radius: var(--tn-radius); padding: 24px; }
.tn-newsletter h3 { color: #fff; font-size: 18px; }
.tn-newsletter p { color: #C7CAD1; font-size: 14px; font-family: var(--tn-font-ui); }
.tn-newsletter input { width: 100%; padding: 11px 14px; border: 0; border-radius: var(--tn-radius); margin-bottom: 10px; font-size: 15px; }
.tn-newsletter button { width: 100%; }

/* ============================================================
   BOTONES
   ============================================================ */
.tn-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-family: var(--tn-font-ui); font-weight: 700; font-size: 14px; text-transform: uppercase; letter-spacing: .03em;
  background: var(--tn-red); color: #fff; padding: 12px 22px; border: 0; border-radius: var(--tn-radius); cursor: pointer;
  transition: background .2s ease;
}
.tn-btn:hover { background: var(--tn-red-dark); color: #fff; }
.tn-btn--ghost { background: transparent; border: 2px solid var(--tn-line); color: var(--tn-ink); }
.tn-btn--ghost:hover { border-color: var(--tn-red); color: var(--tn-red); background: transparent; }
.tn-btn--block { width: 100%; }
.tn-btn--sm { padding: 9px 16px; font-size: 13px; }
.tn-header__contact svg { flex-shrink: 0; }

/* Redes sociales con color de marca (header + footer) */
.tn-header__social { display: inline-flex; gap: 10px; margin-right: 6px; }
.tn-social-brand {
  width: 42px; height: 42px; border-radius: 11px;
  display: inline-flex; align-items: center; justify-content: center;
  color: #fff; transition: transform .2s ease, filter .2s ease, box-shadow .2s ease;
}
.tn-social-brand:hover { color: #fff; transform: translateY(-2px); filter: brightness(1.06); box-shadow: var(--tn-shadow-hover); }
.tn-social-brand.is-fb { background: #1877F2; }
.tn-social-brand.is-ig {
  background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285AEB 90%);
}

/* ============================================================
   ARTÍCULO (single)
   ============================================================ */
.tn-article__header { margin-bottom: 24px; }
.tn-article__title { font-size: 40px; line-height: 1.15; margin: 10px 0 14px; }
.tn-article__lead { font-family: var(--tn-font-body); font-size: 20px; line-height: 1.55; color: var(--tn-ink-soft); margin-bottom: 18px; }
.tn-article__meta {
  display: flex; align-items: center; gap: 14px; flex-wrap: wrap;
  padding: 14px 0; border-top: 1px solid var(--tn-line); border-bottom: 1px solid var(--tn-line); margin-bottom: 26px;
}
.tn-article__author { display: flex; align-items: center; gap: 10px; }
.tn-article__author img { width: 40px; height: 40px; border-radius: 50%; flex-shrink: 0; object-fit: cover; }
.tn-article__author strong { font-family: var(--tn-font-ui); font-size: 14px; }
.tn-article__meta .tn-meta { margin-left: 0; }
.tn-share { display: flex; gap: 8px; margin-left: auto; }
.tn-share a {
  width: 36px; height: 36px; border-radius: 50%; background: var(--tn-bg-soft);
  display: inline-flex; align-items: center; justify-content: center; color: var(--tn-ink-soft);
}
.tn-share a:hover { background: var(--tn-red); color: #fff; }
.tn-article__featured { margin-bottom: 8px; border-radius: var(--tn-radius); overflow: hidden; }
.tn-article__featured figcaption { font-family: var(--tn-font-ui); font-size: 13px; color: var(--tn-gray); padding: 8px 2px; }

.tn-content { font-size: 18.5px; line-height: 1.8; }
.tn-content p { margin: 0 0 1.3em; }
.tn-content h2 { font-size: 27px; margin: 1.6em 0 .5em; }
.tn-content h3 { font-size: 22px; margin: 1.5em 0 .5em; }
.tn-content a { color: var(--tn-red); text-decoration: underline; text-underline-offset: 2px; }
.tn-content img { border-radius: var(--tn-radius); margin: 1.4em auto; }
.tn-content figure { margin: 1.6em 0; }
.tn-content figcaption { font-family: var(--tn-font-ui); font-size: 13.5px; color: var(--tn-gray); text-align: center; margin-top: 8px; }
.tn-content blockquote {
  border-left: 4px solid var(--tn-red); margin: 1.6em 0; padding: 6px 0 6px 22px;
  font-size: 22px; line-height: 1.5; color: var(--tn-ink); font-style: italic;
}
.tn-content ul, .tn-content ol { margin: 0 0 1.3em; padding-left: 1.5em; }
.tn-content li { margin-bottom: .5em; }

.tn-tags { margin: 30px 0; display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.tn-tags a {
  font-family: var(--tn-font-ui); font-size: 13px; background: var(--tn-bg-soft); border: 1px solid var(--tn-line);
  padding: 6px 12px; border-radius: 20px; color: var(--tn-ink-soft);
}
.tn-tags a:hover { background: var(--tn-red); color: #fff; border-color: var(--tn-red); }

/* Autor box */
.tn-authorbox { display: flex; gap: 18px; background: var(--tn-bg-soft); border-radius: var(--tn-radius); padding: 22px; margin: 34px 0; }
.tn-authorbox img { width: 68px; height: 68px; border-radius: 50%; flex-shrink: 0; object-fit: cover; }
.tn-authorbox h4 { margin: 0 0 4px; }

/* Relacionadas */
.tn-related { margin-top: 44px; }

/* Navegación entre notas */
.tn-postnav { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin: 34px 0; }
.tn-postnav a { padding: 18px; border: 1px solid var(--tn-line); border-radius: var(--tn-radius); }
.tn-postnav a:hover { border-color: var(--tn-red); }
.tn-postnav span { font-family: var(--tn-font-ui); font-size: 12px; text-transform: uppercase; color: var(--tn-gray); letter-spacing: .05em; }
.tn-postnav strong { display: block; font-family: var(--tn-font-head); margin-top: 6px; }
.tn-postnav .next { text-align: right; }

/* ============================================================
   ARCHIVO / CATEGORÍA
   ============================================================ */
.tn-page-head { margin-bottom: 28px; }
.tn-page-head__kicker { color: var(--tn-red); font-family: var(--tn-font-ui); font-weight: 700; text-transform: uppercase; font-size: 13px; letter-spacing: .05em; }
.tn-page-head h1 { font-size: 34px; margin: 6px 0 8px; }
.tn-page-head p { color: var(--tn-gray); font-family: var(--tn-font-ui); font-size: 15px; margin: 0; }

/* ============================================================
   PAGINACIÓN
   ============================================================ */
.tn-pagination { margin: 40px 0 10px; display: flex; justify-content: center; }
.tn-pagination .page-numbers {
  font-family: var(--tn-font-ui); font-weight: 700; font-size: 15px; min-width: 42px; height: 42px;
  display: inline-flex; align-items: center; justify-content: center; padding: 0 12px;
  border: 1px solid var(--tn-line); border-radius: var(--tn-radius); margin: 0 4px; color: var(--tn-ink);
}
.tn-pagination .page-numbers.current { background: var(--tn-red); color: #fff; border-color: var(--tn-red); }
.tn-pagination a.page-numbers:hover { border-color: var(--tn-red); color: var(--tn-red); }

/* ============================================================
   FOOTER
   ============================================================ */
.tn-footer { background: var(--tn-bg-dark); color: #C7CAD1; margin-top: 20px; }
.tn-footer__top { padding: 48px 0 36px; display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 40px; }
.tn-footer h4 { color: #fff; font-size: 15px; text-transform: uppercase; letter-spacing: .04em; margin-bottom: 18px; }
.tn-footer__brand img { height: 48px; margin-bottom: 14px; filter: brightness(0) invert(1); }
.tn-footer__brand .tn-brand__text { color: #fff; }
.tn-footer__brand p { font-family: var(--tn-font-ui); font-size: 14px; line-height: 1.6; }
.tn-footer ul { list-style: none; padding: 0; margin: 0; }
.tn-footer li { padding: 7px 0; }
.tn-footer a { color: #C7CAD1; font-family: var(--tn-font-ui); font-size: 14px; }
.tn-footer a:hover { color: #fff; }
.tn-footer__social { display: flex; gap: 12px; margin-top: 8px; }
.tn-footer__bottom {
  border-top: 1px solid rgba(255,255,255,.1); padding: 20px 0; font-family: var(--tn-font-ui); font-size: 13px;
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap;
}

/* ============================================================
   COMENTARIOS
   ============================================================ */
.tn-comments { margin-top: 44px; }
.tn-comments .comment-list { list-style: none; padding: 0; }
.tn-comments .comment-body { padding: 16px 0; border-bottom: 1px solid var(--tn-line); }
.tn-comments textarea, .tn-comments input[type=text], .tn-comments input[type=email], .tn-comments input[type=url] {
  width: 100%; padding: 11px 14px; border: 1px solid var(--tn-line); border-radius: var(--tn-radius);
  font-family: var(--tn-font-body); font-size: 16px; margin-bottom: 12px;
}

/* ============================================================
   BUSCADOR (form genérico)
   ============================================================ */
.search-form { display: flex; gap: 8px; }
.search-form .search-field { flex: 1; }
.search-form .search-submit { flex-shrink: 0; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .tn-layout { grid-template-columns: 1fr; }
  .tn-sidebar { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; }
  .tn-sidebar .tn-newsletter, .tn-sidebar .tn-adbox--wide { grid-column: 1 / -1; }
  .tn-sticky { position: static; }
}
@media (max-width: 1024px) {
  .tn-sections-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 760px) {
  .tn-brand__tagline { display: none; }
}
@media (max-width: 860px) {
  body { font-size: 16px; }
  .tn-hero { grid-template-columns: 1fr; }
  .tn-sec__icon { width: 66px; height: 66px; border-radius: 15px; }
  .tn-sec__icon svg { width: 30px; height: 30px; }
  .tn-sec__label { font-size: 17px; }
  .tn-hero__main .tn-card__title { font-size: 28px; }
  .tn-hero__side { flex-direction: row; }
  .tn-grid--3, .tn-grid--2 { grid-template-columns: 1fr 1fr; }
  .tn-article__title { font-size: 30px; }
  .tn-footer__top { grid-template-columns: 1fr 1fr; gap: 30px; }
  .tn-header__social { display: none; } /* en móvil quedan en el pie */
  /* Menú móvil */
  .tn-menu-toggle { display: inline-flex; }
  .tn-nav__inner > ul { display: none; flex-direction: column; width: 100%; }
  .tn-nav__inner > ul.is-open { display: flex; }
  .tn-nav a { border-bottom: 1px solid var(--tn-line-soft) !important; padding: 14px 4px; }
  .tn-nav .sub-menu { position: static; box-shadow: none; border: 0; padding-left: 16px; display: flex; }
}
@media (max-width: 560px) {
  .tn-topbar__date { display: none; }
  .tn-sections-grid { grid-template-columns: repeat(2, 1fr); gap: 22px 10px; }
  .tn-header__contact span { display: none; } /* en móvil, solo el ícono */
  .tn-header__contact { padding: 9px 11px; }
  .tn-hero__side { flex-direction: column; }
  .tn-grid--3, .tn-grid--2 { grid-template-columns: 1fr; }
  .tn-sidebar { grid-template-columns: 1fr; }
  .tn-article__title { font-size: 26px; }
  .tn-article__meta { flex-direction: column; align-items: flex-start; }
  .tn-share { margin-left: 0; }
  .tn-postnav { grid-template-columns: 1fr; }
  .tn-footer__top { grid-template-columns: 1fr; }
  .tn-hcard { grid-template-columns: 110px 1fr; }
  .tn-brand img { height: 44px; }
}
