/* ==========================================================================
   ACX News — hoja de estilos principal
   Paleta: #253137 (tinta)  #fabf2c (amarillo)  #ffcd04 (amarillo claro)
           #ec2027 (rojo)   #e6e6e6 (línea)     #f9f9f9 (fondo suave)
   ========================================================================== */

:root {
  --c-dark: #253137;
  --c-dark2: #36474f;
  --c-yellow: #fabf2c;
  --c-yellow2: #ffcd04;
  --c-red: #ec2027;
  --c-line: #e6e6e6;
  --c-text: #222;
  --c-muted: #6b7280;
  --c-soft: #f9f9f9;
  --radius: 6px;
  --shadow: 0 0 12px rgba(0, 0, 0, .05);
  --shadow-lg: 0 1px 20px 0 rgba(0, 0, 0, .1);
}

* { -webkit-tap-highlight-color: transparent; }

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  padding: 0;
  font-family: "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif;
  font-size: 14px;
  line-height: 1.6;
  color: var(--c-text);
  background: #fff;
  overflow-x: hidden;
  word-break: break-word;
}

img { max-width: 100%; height: auto; display: block; border: 0; }
a { color: inherit; text-decoration: none; transition: color .2s; }
a:hover { color: #000; }
ul, ol { margin: 0; padding: 0; }
li { list-style: none; }
h1, h2, h3, h4, h5 { margin: 0; font-weight: 700; color: var(--c-dark); }
p { margin: 0 0 16px; }
button { font-family: inherit; border: 0; background: none; cursor: pointer; }
input, textarea, select { font-family: inherit; font-size: 14px; }
figure { margin: 0; }

.wrap { width: 1200px; max-width: 100%; margin: 0 auto; }
.clearfix::after { content: ""; display: table; clear: both; }
.screen-reader-text {
  position: absolute !important; width: 1px; height: 1px; overflow: hidden;
  clip: rect(1px, 1px, 1px, 1px); white-space: nowrap;
}

/* ---------- utilidades de texto ---------- */
.text12 { font-size: 12px; }
.text13 { font-size: 13px; }
.text14 { font-size: 14px; }
.text16 { font-size: 16px; }
.colormuted { color: var(--c-muted); }
.coloryellow { color: var(--c-yellow); }
.ftwt_bold { font-weight: 700; }
.mt_5 { margin-top: 5px; }
.mt_10 { margin-top: 10px; }
.mt_15 { margin-top: 15px; }
.mt_20 { margin-top: 20px; }
.mt_25 { margin-top: 25px; }
.mt_30 { margin-top: 30px; }
.mt_40 { margin-top: 40px; }
.textcenter { text-align: center; }

/* ==========================================================================
   CABECERA
   ========================================================================== */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 200;
  background: #fff;
  box-shadow: 0 2px 4px rgba(0, 0, 0, .1);
  transition: transform .25s ease;
}
.head-spacer { height: 130px; }

.hd-top {
  height: 90px;
  background: var(--c-dark);
  color: #fff;
  overflow: hidden;
  transition: height .3s ease, opacity .3s ease;
}
.hd-top .wrap { height: 100%; }
.hd-top-in {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.brand { display: flex; align-items: center; gap: 12px; }
.brand-mark {
  width: 42px; height: 42px; border-radius: 10px;
  background: var(--c-yellow);
  color: var(--c-dark);
  display: flex; align-items: center; justify-content: center;
  font-weight: 800; font-size: 22px; letter-spacing: -.5px;
  flex-shrink: 0;
}
.brand-txt { display: flex; flex-direction: column; line-height: 1.15; }
.brand-name {
  font-size: 27px; font-weight: 800; color: #fff;
  letter-spacing: -.6px; white-space: nowrap;
}
.brand-name b { color: var(--c-yellow); font-weight: 800; }
.brand-slogan {
  font-size: 11px; letter-spacing: 2.2px; text-transform: uppercase;
  color: #9fb0b9; margin-top: 4px; white-space: nowrap;
}
.hd-meta {
  display: flex; align-items: center; gap: 18px;
  font-size: 13px; color: #cfd9de;
}
.hd-date { display: flex; align-items: center; gap: 8px; }
.hd-date i { color: var(--c-yellow); }
.hd-social { display: flex; gap: 8px; }
.hd-social a {
  width: 30px; height: 30px; border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, .28);
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-size: 13px;
}
.hd-social a:hover { background: var(--c-yellow); border-color: var(--c-yellow); color: var(--c-dark); }
.hd-sub {
  display: inline-flex; align-items: center; gap: 8px;
  border: 1px solid rgba(255, 255, 255, .4);
  padding: 9px 16px; font-size: 13px; font-weight: 600;
  color: #fff; white-space: nowrap;
}
.hd-sub:hover { background: rgba(255, 255, 255, .1); color: #fff; }

/* barra de navegación amarilla */
.hd-nav { background: var(--c-yellow); position: relative; }
.hd-nav-in { display: flex; align-items: center; }
.nav-list { display: flex; flex: 1; flex-wrap: wrap; }
.nav-list > li { position: relative; }
.nav-list > li > a {
  display: block; line-height: 40px; padding: 0 16px;
  color: var(--c-dark); font-size: 15px; font-weight: 700;
  white-space: nowrap;
}
.nav-list > li:hover > a,
.nav-list > li.current-menu-item > a,
.nav-list > li.current-menu-ancestor > a,
.nav-list > li.current-cat > a,
.nav-list > li.current-post-ancestor > a,
.nav-list > li.is-active > a {
  background: var(--c-dark2); color: #fff;
}
.nav-list .sub-menu {
  position: absolute; left: 0; top: 100%; min-width: 190px;
  background: #fff; box-shadow: 0 8px 24px rgba(0, 0, 0, .14);
  padding: 6px 0; z-index: 30; display: none;
}
.nav-list li:hover .sub-menu { display: block; }
.nav-list .sub-menu a {
  display: block; padding: 9px 16px; font-size: 14px;
  color: var(--c-dark); line-height: 1.4;
}
.nav-list .sub-menu a:hover { background: var(--c-soft); color: var(--c-red); }

.nav-tools { display: flex; align-items: center; margin-left: auto; }
.nav-btn {
  width: 40px; height: 40px; display: flex; align-items: center; justify-content: center;
  color: var(--c-dark); font-size: 16px; cursor: pointer;
}
.nav-btn:hover { background: var(--c-dark2); color: var(--c-yellow); }

.search-pop {
  position: absolute; right: 0; top: 100%;
  background: var(--c-dark2); padding: 10px; display: none; z-index: 40;
}
.search-pop.open { display: block; }
.search-pop form { display: flex; }
.search-pop input {
  width: 300px; height: 38px; padding: 0 12px; border: 0; outline: none;
}
.search-pop button {
  background: var(--c-yellow); color: var(--c-dark);
  height: 38px; padding: 0 18px; font-weight: 700;
}

/* móvil */
.m-head { display: none; }
.m-head-bar {
  height: 58px; background: var(--c-dark); color: #fff;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 15px;
}
.m-head-bar .brand-name { font-size: 18px; }
.m-head-bar .brand-mark { width: 32px; height: 32px; font-size: 17px; border-radius: 8px; }
.m-icon { width: 40px; height: 40px; display: flex; align-items: center; justify-content: center; color: #fff; font-size: 18px; }
.m-drawer {
  position: fixed; inset: 0; z-index: 300; display: none;
}
.m-drawer.open { display: block; }
.m-drawer-bg { position: absolute; inset: 0; background: rgba(0, 0, 0, .5); }
.m-drawer-panel {
  position: absolute; top: 0; left: 0; bottom: 0; width: 78%; max-width: 320px;
  background: #fff; overflow-y: auto; padding-bottom: 30px;
  transform: translateX(-100%); transition: transform .28s ease;
}
.m-drawer.open .m-drawer-panel { transform: translateX(0); }
.m-drawer-head {
  background: var(--c-dark); color: #fff; padding: 16px 18px;
  display: flex; align-items: center; justify-content: space-between;
}
.m-drawer-panel ul a {
  display: block; padding: 13px 18px; border-bottom: 1px solid #f0f0f0;
  font-size: 15px; font-weight: 600; color: var(--c-dark);
}
.m-drawer-panel ul a:active { background: var(--c-soft); }

/* ==========================================================================
   ESTRUCTURA GENERAL
   ========================================================================== */
.site-main { padding-bottom: 50px; }
.md { padding-top: 20px; }

/* título de sección */
.sec-head {
  display: flex; align-items: center; justify-content: space-between;
  border-bottom: 2px solid #27272d; padding-bottom: 8px; margin-bottom: 12px;
}
.sec-title {
  font-size: 15px; font-weight: 700; color: var(--c-dark);
  display: flex; align-items: center; letter-spacing: .2px;
}
.sec-title::before {
  content: ""; width: 6px; height: 6px; border-radius: 50%;
  background: var(--c-dark); margin-right: 9px; display: inline-block;
}
.sec-title.yellow::before { background: var(--c-yellow); }
.sec-more { font-size: 13px; color: var(--c-muted); display: flex; align-items: center; gap: 6px; }
.sec-more:hover { color: var(--c-red); }
.sec-nav { display: flex; gap: 0; }
.sec-nav i {
  width: 26px; height: 26px; border: 1px solid var(--c-line);
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; margin-left: -1px; font-size: 12px; color: var(--c-dark);
  transition: .25s;
}
.sec-nav i:hover { background: var(--c-dark); color: #fff; }

/* miniaturas */
.thumb { position: relative; overflow: hidden; background: #eeedef; }
.thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.hoverzoom:hover .thumb img { transform: scale(1.06); }
.ratio-16-9 { aspect-ratio: 16 / 9; }
.ratio-3-2 { aspect-ratio: 3 / 2; }
.ratio-4-3 { aspect-ratio: 4 / 3; }

.cat-pill {
  display: inline-block; font-size: 11px; font-weight: 700; letter-spacing: .4px;
  text-transform: uppercase; color: #fff; background: var(--c-red);
  padding: 3px 9px; border-radius: 3px;
}
.meta-row {
  display: flex; align-items: center; flex-wrap: wrap; gap: 14px;
  font-size: 12px; color: var(--c-muted);
}
.meta-row i { margin-right: 5px; color: #9aa3ab; }

/* ==========================================================================
   BLOQUE 1 — recomendados (franja superior)
   ========================================================================== */
.topstrip { margin-top: 20px; }
.topstrip-row {
  display: flex; gap: 16px; overflow-x: auto; scroll-behavior: smooth;
  padding-bottom: 4px; scrollbar-width: none;
}
.topstrip-row::-webkit-scrollbar { display: none; }
.strip-item {
  display: flex; gap: 12px; width: 288px; flex: 0 0 288px;
  align-items: flex-start;
}
.strip-item .thumb { width: 80px; height: 55px; flex: 0 0 80px; border-radius: 4px; }
.strip-item h3 {
  font-size: 13px; line-height: 20px; font-weight: 600;
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical;
  overflow: hidden;
}
.strip-item:hover h3 { color: var(--c-red); }

/* ==========================================================================
   BLOQUE 2 — portada principal (destacado + últimas)
   ========================================================================== */
.hero {
  display: flex; gap: 20px;
  background: #fff; box-shadow: var(--shadow-lg); padding: 20px;
  margin-top: 20px;
}
.hero-l { width: 67%; position: relative; }
.hero-slider { position: relative; }
.hero-slide { display: none; }
.hero-slide.active { display: block; animation: fadeIn .45s ease; }
@keyframes fadeIn { from { opacity: .2 } to { opacity: 1 } }
.hero-slide .thumb { aspect-ratio: 16 / 9; border-radius: 2px; }
.hero-slide .over-top {
  position: absolute; left: 0; top: 0; z-index: 3;
  background: rgba(37, 49, 55, .88); color: #fff;
  font-size: 11px; font-weight: 700; letter-spacing: .6px;
  text-transform: uppercase; padding: 6px 12px;
}
.hero-cap {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 3;
  padding: 26px 20px 18px; color: #fff;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, .82) 100%);
}
.hero-cap h2 {
  font-size: 24px; line-height: 1.32; color: #fff; font-weight: 800;
  margin-bottom: 8px;
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
}
.hero-cap h2 a { color: #fff; }
.hero-cap h2 a:hover { color: var(--c-yellow); }
.hero-cap .meta-row { color: rgba(255, 255, 255, .82); font-size: 12px; }
.hero-cap .meta-row i { color: var(--c-yellow); }
.hero-ctrl {
  position: absolute; right: 16px; bottom: 14px; z-index: 5;
  display: flex; border: 2px solid rgba(255, 255, 255, .5);
  border-radius: 30px; overflow: hidden;
}
.hero-ctrl i {
  width: 32px; height: 26px; display: flex; align-items: center; justify-content: center;
  color: rgba(255, 255, 255, .6); font-size: 15px; cursor: pointer;
}
.hero-ctrl i:hover { color: var(--c-yellow2); }
.hero-dots {
  position: absolute; left: 20px; bottom: 14px; z-index: 5; display: flex; gap: 6px;
}
.hero-dots span {
  width: 22px; height: 3px; background: rgba(255, 255, 255, .35); cursor: pointer;
}
.hero-dots span.on { background: var(--c-yellow2); }

.hero-r { width: 33%; display: flex; flex-direction: column; }
.hero-r-tab {
  border-bottom: 2px solid var(--c-yellow2); margin-bottom: 4px;
}
.hero-r-tab span {
  display: inline-block; background: var(--c-yellow2); color: var(--c-dark);
  line-height: 35px; padding: 0 15px; font-weight: 800; font-size: 14px;
}
.hero-list { display: flex; flex-direction: column; }
.hero-list a {
  display: block; padding: 12px 0; border-bottom: 1px solid var(--c-line);
}
.hero-list a:last-child { border-bottom: 0; padding-bottom: 0; }
.hero-list h3 {
  font-size: 14px; line-height: 22px; font-weight: 600; color: var(--c-dark);
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
}
.hero-list a:hover h3 { color: var(--c-red); }
.hero-list .meta-row { margin-top: 5px; font-size: 11px; }

/* ==========================================================================
   BLOQUE 3 — caja con tarjetas horizontales (i2)
   ========================================================================== */
.box-sec { margin-top: 25px; }
.box-inner {
  border: 1px solid var(--c-line); padding: 18px;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px 20px;
}
.hcard { display: flex; gap: 12px; align-items: flex-start; }
.hcard .thumb { width: 100px; height: 76px; flex: 0 0 100px; border-radius: 4px; }
.hcard-txt { flex: 1; min-width: 0; }
.hcard h3 {
  font-size: 14px; line-height: 21px; font-weight: 700;
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
}
.hcard:hover h3 { color: var(--c-red); }
.hcard p {
  font-size: 12px; color: var(--c-muted); margin: 6px 0 0; line-height: 18px;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}

/* ==========================================================================
   BLOQUE 4 — rejilla de 6 tarjetas (i3)
   ========================================================================== */
.grid-3 { display: flex; flex-wrap: wrap; margin: 0 -10px; }
.grid-3 > .gitem { width: 33.3333%; padding: 0 10px; margin-bottom: 20px; }
.gcard {
  display: block; background: #fff; border-radius: var(--radius);
  overflow: hidden; box-shadow: var(--shadow); height: 100%;
}
.gcard .thumb { aspect-ratio: 16 / 10; border-radius: var(--radius) var(--radius) 0 0; }
.gcard-txt { padding: 12px 15px 15px; }
.gcard h3 {
  font-size: 15px; line-height: 23px; font-weight: 700; color: var(--c-dark);
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
  min-height: 46px;
}
.gcard:hover h3 { color: var(--c-red); }
.gcard .meta-row { margin-top: 10px; font-size: 11px; }

/* ==========================================================================
   BLOQUE 5 — destacado grande + 3 horizontales (i4)
   ========================================================================== */
.feature-row { display: flex; gap: 24px; align-items: flex-start; }
.feature-l { flex: 1; min-width: 0; }
.feature-l h2 {
  font-size: 28px; line-height: 1.28; letter-spacing: -.3px; margin: 12px 0 10px;
}
.feature-l h2 a:hover { color: var(--c-red); }
.feature-l p { font-size: 14px; line-height: 24px; color: #555; }
.feature-r { width: 32%; flex: 0 0 32%; }
.feature-r .thumb { aspect-ratio: 4 / 3; border-radius: var(--radius); }
.feature-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 24px; }

/* ==========================================================================
   BLOQUE 6 — tres tarjetas con superposición (i5)
   ========================================================================== */
.overlay-row { display: flex; margin: 0 -10px; }
.overlay-row .oitem { width: 33.3333%; padding: 0 10px; }
.ocard { position: relative; display: block; border-radius: var(--radius); overflow: hidden; }
.ocard .thumb { aspect-ratio: 3 / 2; }
.ocard-cap {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 40px 20px 18px;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, .9) 100%);
  color: #fff;
}
.ocard-cap h3 {
  font-size: 16px; line-height: 24px; color: #fff; font-weight: 700;
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
}
.ocard:hover .ocard-cap h3 { color: var(--c-yellow2); }
.ocard-cap .cat-pill { margin-bottom: 8px; background: var(--c-yellow); color: var(--c-dark); }

/* ==========================================================================
   ARCHIVO / COLUMNA
   ========================================================================== */
.crumb { font-size: 12px; color: var(--c-muted); padding: 18px 0 0; }
.crumb a:hover { color: var(--c-red); }
.crumb span { margin: 0 6px; color: #c3c9cf; }

.page-head { padding: 20px 0 18px; border-bottom: 1px solid var(--c-line); margin-bottom: 24px; }
.page-head h1 { font-size: 34px; letter-spacing: -.6px; }
.page-head .desc { color: var(--c-muted); font-size: 14px; margin-top: 8px; max-width: 800px; }
.page-head-line { display: block; width: 40px; height: 3px; background: var(--c-yellow); margin-top: 12px; }

.cat-feature {
  background: var(--c-soft); padding: 26px; display: flex; gap: 26px;
  align-items: center; margin-bottom: 28px;
}
.cat-feature .thumb { width: 42%; flex: 0 0 42%; aspect-ratio: 16 / 10; border-radius: var(--radius); }
.cat-feature-txt { flex: 1; min-width: 0; }
.cat-feature h2 { font-size: 26px; line-height: 1.3; margin: 10px 0; }
.cat-feature p { color: #555; font-size: 14px; line-height: 24px; margin-bottom: 12px; }

.cols { display: flex; gap: 30px; align-items: flex-start; }
.col-main { flex: 1; min-width: 0; }
.col-side { width: 30%; flex: 0 0 30%; }

.listpost { display: flex; flex-direction: column; }
.listpost-item {
  display: flex; gap: 20px; padding-bottom: 22px; margin-bottom: 22px;
  border-bottom: 1px solid var(--c-line);
}
.listpost-item:last-child { border-bottom: 0; }
.listpost-item .thumb {
  width: 240px; flex: 0 0 240px; aspect-ratio: 3 / 2; border-radius: var(--radius);
}
.listpost-txt { flex: 1; min-width: 0; }
.listpost-txt h2 { font-size: 20px; line-height: 1.4; margin: 8px 0 8px; }
.listpost-txt h2 a:hover { color: var(--c-red); }
.listpost-txt p {
  font-size: 13px; line-height: 22px; color: #5b666f; margin-bottom: 10px;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}

/* paginación */
.pager { display: flex; gap: 8px; justify-content: center; align-items: center; margin: 30px 0 10px; flex-wrap: wrap; }
.pager a, .pager span {
  min-width: 38px; height: 38px; padding: 0 12px; display: inline-flex;
  align-items: center; justify-content: center; font-size: 14px; font-weight: 600;
  border: 1px solid var(--c-line); border-radius: 4px; color: var(--c-dark);
}
.pager a:hover { border-color: var(--c-yellow); background: var(--c-yellow); color: var(--c-dark); }
.pager .current { background: var(--c-dark); color: #fff; border-color: var(--c-dark); }
.pager .dots { border: 0; }

/* barra lateral */
.widget { margin-bottom: 26px; }
.widget-title {
  font-size: 15px; font-weight: 800; color: var(--c-dark);
  padding-bottom: 8px; border-bottom: 2px solid var(--c-dark);
  display: flex; align-items: center; margin-bottom: 4px;
}
.widget-title::before {
  content: ""; width: 6px; height: 6px; border-radius: 50%;
  background: var(--c-yellow); margin-right: 9px;
}
.rank-list a {
  display: flex; gap: 12px; padding: 12px 0; border-bottom: 1px solid #f0f0f0;
  align-items: flex-start;
}
.rank-list a:last-child { border-bottom: 0; }
.rank-num {
  width: 22px; flex: 0 0 22px; font-size: 15px; font-weight: 800;
  color: #c9ced3; line-height: 1.5;
}
.rank-list a:nth-child(-n+3) .rank-num { color: var(--c-red); }
.rank-list h3 {
  font-size: 13px; line-height: 21px; font-weight: 600;
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
}
.rank-list a:hover h3 { color: var(--c-red); }
.rank-list .thumb { width: 68px; height: 50px; flex: 0 0 68px; border-radius: 4px; }

.cat-list a {
  display: flex; justify-content: space-between; align-items: center;
  padding: 11px 0; border-bottom: 1px solid #f0f0f0; font-size: 14px; font-weight: 600;
}
.cat-list a:hover { color: var(--c-red); }
.cat-list .count { font-size: 12px; color: var(--c-muted); font-weight: 400; }

.side-newsletter {
  background: var(--c-dark); color: #fff; padding: 22px; border-radius: var(--radius);
}
.side-newsletter h3 { color: #fff; font-size: 17px; margin-bottom: 8px; }
.side-newsletter p { font-size: 13px; color: #b8c5cc; line-height: 21px; }
.side-newsletter form { display: flex; margin-top: 12px; }
.side-newsletter input {
  flex: 1; height: 40px; border: 0; padding: 0 12px; border-radius: 3px 0 0 3px; outline: none;
}
.side-newsletter button {
  height: 40px; padding: 0 14px; background: var(--c-yellow); color: var(--c-dark);
  font-weight: 700; border-radius: 0 3px 3px 0;
}

/* ==========================================================================
   ENTRADA
   ========================================================================== */
.single-wrap { padding-top: 18px; }
.entry-head h1 {
  font-size: 34px; line-height: 1.3; letter-spacing: -.5px; margin: 12px 0 14px;
}
.entry-meta {
  display: flex; flex-wrap: wrap; align-items: center; gap: 18px;
  padding: 12px 0; border-top: 1px solid var(--c-line); border-bottom: 1px solid var(--c-line);
  font-size: 13px; color: var(--c-muted);
}
.entry-meta i { color: var(--c-yellow); margin-right: 6px; }
.entry-meta .author { font-weight: 700; color: var(--c-dark); }

.entry-hero { margin: 18px 0 0; }
.entry-hero .thumb { aspect-ratio: 16 / 9; border-radius: var(--radius); }
.entry-hero figcaption {
  font-size: 12px; color: var(--c-muted); padding: 8px 0 0; line-height: 1.6;
}

.entry-content {
  font-size: 16px; line-height: 30px; color: #2b3339;
  padding-top: 22px;
}
.entry-content > * { margin-bottom: 18px; }
.entry-content h2 {
  font-size: 24px; line-height: 1.4; margin-top: 34px; margin-bottom: 14px;
  padding-left: 14px; border-left: 4px solid var(--c-yellow);
}
.entry-content h3 {
  font-size: 19px; line-height: 1.45; margin-top: 26px; margin-bottom: 12px;
  color: var(--c-dark);
}
.entry-content h4 { font-size: 17px; margin-top: 22px; margin-bottom: 10px; }
.entry-content a { color: #0b62c4; text-decoration: underline; text-underline-offset: 3px; }
.entry-content a:hover { color: var(--c-red); }
.entry-content ul, .entry-content ol { margin: 0 0 18px 22px; }
.entry-content ul li { list-style: disc; margin-bottom: 8px; }
.entry-content ol li { list-style: decimal; margin-bottom: 8px; }
.entry-content img, .entry-content video, .entry-content iframe { max-width: 100%; height: auto; border-radius: var(--radius); }
.entry-content figure img { margin: 0 auto; }
.entry-content figcaption {
  font-size: 12px; color: var(--c-muted); text-align: center; margin-top: 8px; line-height: 1.6;
}
.entry-content blockquote {
  background: var(--c-soft); border-left: 4px solid var(--c-yellow);
  padding: 18px 22px; font-size: 16px; line-height: 28px; color: var(--c-dark);
  font-style: italic; margin: 24px 0; border-radius: 0 4px 4px 0;
}
.entry-content blockquote p:last-child { margin-bottom: 0; }
.entry-content table { width: 100%; border-collapse: collapse; font-size: 14px; }
.entry-content th, .entry-content td { border: 1px solid var(--c-line); padding: 10px 12px; text-align: left; }
.entry-content th { background: var(--c-soft); }

.share-row {
  display: flex; align-items: center; gap: 10px; flex-wrap: wrap;
  padding: 20px 0; border-top: 1px solid var(--c-line); margin-top: 24px;
}
.share-row .label { font-size: 13px; font-weight: 700; color: var(--c-dark); margin-right: 4px; }
.share-row a, .share-row button {
  width: 36px; height: 36px; border-radius: 50%; display: inline-flex;
  align-items: center; justify-content: center; color: #fff; font-size: 14px;
  background: var(--c-dark);
}
.share-row a.wa { background: #25d366; }
.share-row a.fb { background: #1877f2; }
.share-row a.tw { background: #111; }
.share-row a.tg { background: #2aabee; }
.share-row button { background: #8b949c; }
.share-row a:hover, .share-row button:hover { opacity: .86; }

.tag-row { display: flex; flex-wrap: wrap; gap: 8px; margin: 18px 0 0; }
.tag-row a {
  font-size: 12px; padding: 5px 11px; background: var(--c-soft);
  border: 1px solid var(--c-line); border-radius: 3px; color: #555;
}
.tag-row a:hover { background: var(--c-yellow); border-color: var(--c-yellow); color: var(--c-dark); }

.author-box {
  display: flex; gap: 16px; align-items: center; background: var(--c-soft);
  padding: 18px 20px; border-radius: var(--radius); margin-top: 24px;
}
.author-box .avatar {
  width: 52px; height: 52px; border-radius: 50%; background: var(--c-dark); color: var(--c-yellow);
  display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: 18px;
  flex: 0 0 52px;
}
.author-box strong { display: block; font-size: 15px; color: var(--c-dark); }
.author-box span { font-size: 13px; color: var(--c-muted); }

.related { margin-top: 34px; }
.related-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 4px; }

.postnav { display: flex; gap: 16px; margin-top: 30px; }
.postnav a {
  flex: 1; padding: 16px; background: var(--c-soft); border-radius: var(--radius);
  border: 1px solid var(--c-line);
}
.postnav a:hover { border-color: var(--c-yellow); }
.postnav .dir { font-size: 11px; color: var(--c-muted); text-transform: uppercase; letter-spacing: .8px; }
.postnav h4 { font-size: 14px; line-height: 21px; margin-top: 6px; font-weight: 600; }

/* ==========================================================================
   PIE
   ========================================================================== */
.site-footer { background: var(--c-dark); color: #fff; padding: 46px 0 0; margin-top: 20px; }
.foot-top { display: flex; gap: 50px; padding-bottom: 36px; }
.foot-brand { width: 40%; flex: 0 0 40%; }
.foot-brand .brand-name { font-size: 24px; }
.foot-brand p { color: #a9b8c0; font-size: 13px; line-height: 23px; margin-top: 14px; max-width: 380px; }
.foot-cols { flex: 1; display: flex; gap: 40px; }
.foot-col { flex: 1; }
.foot-col h4 {
  color: #fff; font-size: 14px; margin-bottom: 14px; padding-bottom: 10px;
  border-bottom: 1px solid rgba(255, 255, 255, .14); font-weight: 700;
}
.foot-col a { display: block; color: #a9b8c0; font-size: 13px; line-height: 30px; }
.foot-col a:hover { color: var(--c-yellow); }
.foot-social { display: flex; gap: 10px; margin-top: 16px; }
.foot-social a {
  width: 34px; height: 34px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .25);
  display: flex; align-items: center; justify-content: center; color: #fff; font-size: 13px;
}
.foot-social a:hover { background: var(--c-yellow); border-color: var(--c-yellow); color: var(--c-dark); }
.foot-bottom {
  border-top: 1px solid rgba(255, 255, 255, .12);
  padding: 18px 0; display: flex; justify-content: space-between; align-items: center;
  font-size: 12px; color: #8fa0a9; gap: 14px; flex-wrap: wrap;
}
.foot-bottom a { color: #8fa0a9; }
.foot-bottom a:hover { color: var(--c-yellow); }

.backtop {
  position: fixed; right: 22px; bottom: 26px; width: 44px; height: 44px;
  background: var(--c-dark); color: #fff; border-radius: 50%;
  display: none; align-items: center; justify-content: center;
  z-index: 150; box-shadow: 0 4px 14px rgba(0, 0, 0, .2); font-size: 16px;
}
.backtop.show { display: flex; }
.backtop:hover { background: var(--c-yellow); color: var(--c-dark); }

/* ==========================================================================
   VARIOS
   ========================================================================== */
.search-form-big { display: flex; max-width: 620px; margin: 20px 0; }
.search-form-big input {
  flex: 1; height: 46px; border: 1px solid var(--c-line); padding: 0 15px;
  border-radius: 4px 0 0 4px; outline: none;
}
.search-form-big button {
  height: 46px; padding: 0 22px; background: var(--c-yellow); color: var(--c-dark);
  font-weight: 700; border-radius: 0 4px 4px 0;
}
.empty-state { padding: 40px 0 60px; color: var(--c-muted); }

.err-404 { text-align: center; padding: 70px 0 90px; }
.err-404 .code { font-size: 96px; font-weight: 800; color: var(--c-dark); line-height: 1; letter-spacing: -4px; }
.err-404 .code span { color: var(--c-yellow); }
.err-404 h1 { font-size: 24px; margin: 14px 0 10px; }
.err-404 p { color: var(--c-muted); margin-bottom: 22px; }
.btn-yellow {
  display: inline-block; background: var(--c-yellow); color: var(--c-dark);
  font-weight: 700; padding: 11px 22px; border-radius: 4px;
}
.btn-yellow:hover { background: var(--c-yellow2); color: var(--c-dark); }

.entry-page { font-size: 16px; line-height: 30px; }

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */
@media (max-width: 1240px) {
  .wrap { width: 100%; padding: 0 20px; }
}

@media (max-width: 1024px) {
  .head-spacer { height: 98px; }
  .hd-top { height: 58px; }
  .hd-top, .hd-nav { display: none; }
  .m-head { display: block; }
  .site-header { position: sticky; }
  .head-spacer { display: none; }

  .hero { flex-direction: column; padding: 15px; gap: 16px; }
  .hero-l, .hero-r { width: 100%; }
  .hero-cap h2 { font-size: 19px; }
  .box-inner { grid-template-columns: repeat(2, 1fr); }
  .grid-3 > .gitem { width: 50%; }
  .feature-row { flex-direction: column; }
  .feature-r { width: 100%; flex: none; }
  .feature-cards { grid-template-columns: 1fr; }
  .overlay-row { flex-wrap: wrap; }
  .overlay-row .oitem { width: 50%; margin-bottom: 16px; }
  .cols { flex-direction: column; }
  .col-side { width: 100%; flex: none; }
  .cat-feature { flex-direction: column; padding: 18px; }
  .cat-feature .thumb { width: 100%; flex: none; }
  .foot-top { flex-direction: column; gap: 26px; }
  .foot-brand { width: 100%; flex: none; }
  .related-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 720px) {
  body { font-size: 14px; }
  .wrap { padding: 0 15px; }
  .page-head h1 { font-size: 24px; }
  .entry-head h1 { font-size: 24px; }
  .entry-content { font-size: 16px; line-height: 29px; }
  .entry-content h2 { font-size: 20px; }
  .entry-content h3 { font-size: 18px; }
  .box-inner { grid-template-columns: 1fr; padding: 14px; }
  .grid-3 { margin: 0 -6px; }
  .grid-3 > .gitem { width: 100%; padding: 0 6px; margin-bottom: 14px; }
  .overlay-row { margin: 0; }
  .overlay-row .oitem { width: 100%; padding: 0; }
  .listpost-item { flex-direction: column; gap: 12px; }
  .listpost-item .thumb { width: 100%; flex: none; }
  .listpost-txt h2 { font-size: 18px; }
  .topstrip-row { gap: 12px; }
  .strip-item { width: 260px; flex: 0 0 260px; }
  .hero { margin-top: 15px; }
  .hero-cap { padding: 18px 14px 14px; }
  .hero-cap h2 { font-size: 17px; line-height: 1.4; }
  .hero-ctrl { display: none; }
  .related-grid { grid-template-columns: 1fr; }
  .postnav { flex-direction: column; }
  .foot-cols { flex-wrap: wrap; gap: 24px; }
  .foot-col { min-width: 45%; }
  .entry-meta { gap: 12px; font-size: 12px; }
  .feature-l h2 { font-size: 21px; }
  .cat-feature h2 { font-size: 20px; }
  .hd-date { display: none; }
  .backtop { right: 14px; bottom: 16px; width: 40px; height: 40px; }
}

/* barra de progreso de lectura */
.read-progress {
  position: fixed; left: 0; top: 0; height: 3px; width: 0;
  background: var(--c-yellow); z-index: 500; transition: width .1s linear;
}

/* cabecera compacta al hacer scroll */
.site-header.shrink .hd-top { height: 0; opacity: 0; }
.site-header.shrink .brand-slogan { display: none; }
.site-header.shrink + .head-spacer { height: 40px; }
.head-spacer { transition: height .3s ease; }

/* página estática */
.page-wrap { max-width: 880px; margin: 0 auto; padding-bottom: 40px; }
.page-wrap .entry-content { font-size: 16px; line-height: 30px; }

/* comentarios */
.comments-area { margin-top: 34px; border-top: 1px solid var(--c-line); padding-top: 24px; }
.comments-title, .comment-reply-title { font-size: 19px; margin-bottom: 16px; }
.comment-list { margin: 0 0 24px; }
.comment-list li { list-style: none; }
.comment-body {
  background: var(--c-soft); border-radius: var(--r,6px); padding: 16px 18px;
  margin-bottom: 14px; font-size: 14px; line-height: 24px;
}
.comment-meta { font-size: 12px; color: var(--c-muted); margin-bottom: 8px; }
.comment-author img { border-radius: 50%; margin-right: 8px; vertical-align: middle; }
.comment-form p { margin-bottom: 14px; }
.comment-form label { display: block; font-size: 13px; font-weight: 700; margin-bottom: 6px; color: var(--c-dark); }
.comment-form input[type="text"], .comment-form input[type="email"], .comment-form input[type="url"], .comment-form textarea {
  width: 100%; border: 1px solid var(--c-line); border-radius: 4px; padding: 10px 12px; outline: none; font-size: 14px;
}
.comment-form input:focus, .comment-form textarea:focus { border-color: var(--c-yellow); }
.comment-form .submit {
  background: var(--c-yellow); color: var(--c-dark); font-weight: 700;
  padding: 11px 24px; border-radius: 4px; cursor: pointer;
}
.comment-form .submit:hover { background: var(--c-yellow2); }
.subscribe-note {
  background: #eefaf0; border: 1px solid #bfe9c8; color: #1d6b32;
  padding: 10px 14px; border-radius: 4px; font-size: 13px; margin-bottom: 12px;
}

/* enlaces con miniatura dentro de bloques flex */
.cat-feature .thumb-link { display: block; width: 42%; flex: 0 0 42%; }
.cat-feature .thumb { width: 100%; flex: none; aspect-ratio: 16 / 10; border-radius: var(--radius); }
.listpost-item .thumb-wrap { display: block; width: 240px; flex: 0 0 240px; }
.listpost-item .thumb-wrap .thumb { width: 100%; aspect-ratio: 3 / 2; border-radius: var(--radius); }
@media (max-width: 1024px) {
  .cat-feature .thumb-link { width: 100%; flex: none; }
  .listpost-item .thumb-wrap { width: 100%; flex: none; }
}

/* ajustes móviles de la cabecera compacta */
@media (max-width: 720px) {
  html { overflow-x: hidden; }
  .m-head-bar .brand { min-width: 0; overflow: hidden; }
  .m-head-bar .brand-name { font-size: 16px; overflow: hidden; text-overflow: ellipsis; }
  .m-head-bar .brand-mark { width: 28px; height: 28px; font-size: 15px; }
  .m-icon { flex: 0 0 40px; }
  .hero-list h3 { -webkit-line-clamp: 3; }
  .topstrip-row { margin-right: -15px; }
}

/* formulario del boletín en el pie */
.foot-col .fmrform { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 4px; }
.foot-col .fmrform input { flex: 1 1 140px; min-width: 0; height: 38px; padding: 0 10px; background: #38464b; color: #fff; border: 0; border-radius: 4px; outline: none; }
.foot-col .fmrform button { flex: 0 0 auto; height: 38px; padding: 0 16px; background: var(--c-yellow); color: var(--c-dark); font-weight: 700; border-radius: 4px; cursor: pointer; }
.foot-col .fmrform button:hover { opacity: .88; }
.foot-cols .foot-col:last-child { flex: 1.1; }

/* marcador de posición cuando el artículo no tiene imagen */
.thumb .ph {
  width: 100%; height: 100%; min-height: 100%;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 6px; background: linear-gradient(135deg, #eef2f4 0%, #dfe6ea 55%, #e9eef1 100%);
  position: absolute; inset: 0;
}
.thumb .ph-mark { font-size: 15px; font-weight: 800; letter-spacing: 3px; color: #b3bfc6; }
.thumb .ph-cat { font-size: 11px; letter-spacing: 1.4px; text-transform: uppercase; color: #9aa8b0; }
