/* LaPrimicia — tema Clásico */
:root {
  --p: #d71920;
  --dark: #111827;
  --tx: #16181d;
  --tx2: #4b5160;
  --mu: #7a8090;
  --bd: #e7e8ec;
  --bg: #ffffff;
  --soft: #f5f6f8;
  --head: "Archivo", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --serif: "Source Serif 4", Georgia, "Times New Roman", serif;
  --w: 1240px;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; font: 16px/1.55 var(--head); color: var(--tx); background: var(--bg); }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }
svg { width: 1em; height: 1em; }
h1, h2, h3, h4 { font-family: var(--head); line-height: 1.18; margin: 0; letter-spacing: -.01em; }
.wrap { max-width: var(--w); margin: 0 auto; padding: 0 20px; }
.wrap.narrow { max-width: 820px; }
.skip { position: absolute; left: -999px; }
.skip:focus { left: 10px; top: 10px; background: #fff; padding: 8px 12px; z-index: 99; }
:focus-visible { outline: 3px solid var(--p); outline-offset: 2px; }

/* Barra superior */
.topbar { background: var(--dark); color: #c9ccd4; font-size: 13px; }
.topbar .wrap { display: flex; justify-content: space-between; align-items: center; height: 34px; }
.today::first-letter { text-transform: uppercase; }
.socials { display: flex; gap: 4px; }
.socials a { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; font-size: 15px; opacity: .85; }
.socials a:hover { opacity: 1; background: rgba(255, 255, 255, .1); }

/* Cabecera */
.mast { border-bottom: 1px solid var(--bd); }
.mast .wrap { display: flex; align-items: center; gap: 18px; height: 92px; }
.logo img { max-height: 58px; width: auto; }
.logo-txt { font-weight: 800; font-size: 34px; letter-spacing: -1px; color: var(--p); text-transform: uppercase; }
.tagline { color: var(--mu); font-size: 13.5px; border-left: 2px solid var(--bd); padding-left: 16px; max-width: 220px; line-height: 1.35; }
.search { margin-left: auto; display: flex; align-items: center; border: 1px solid var(--bd); border-radius: 99px; overflow: hidden; background: var(--soft); }
.search input { border: 0; background: transparent; padding: 10px 6px 10px 16px; font: inherit; font-size: 15px; width: 230px; outline: none; }
.search button { border: 0; background: transparent; padding: 0 14px; height: 42px; cursor: pointer; color: var(--tx2); font-size: 18px; }
.search.big { max-width: 560px; margin: 14px 0 6px; background: #fff; }
.search.big input { width: 100%; font-size: 17px; padding: 13px 8px 13px 20px; }
.menu-btn { display: none; border: 0; background: transparent; font-size: 26px; padding: 6px; cursor: pointer; color: var(--tx); }

/* Navegación */
.nav { background: #fff; border-bottom: 3px solid var(--p); position: sticky; top: 0; z-index: 40; }
.nav .wrap { display: flex; gap: 2px; overflow-x: auto; scrollbar-width: none; }
.nav .wrap::-webkit-scrollbar { display: none; }
.nav a { padding: 13px 14px 11px; font-weight: 700; font-size: 14.5px; text-transform: uppercase; letter-spacing: .02em; white-space: nowrap; border-bottom: 3px solid transparent; margin-bottom: -3px; color: var(--tx2); }
.nav a:hover { color: var(--tx); border-bottom-color: var(--c, var(--p)); }
.nav a.on { color: var(--tx); border-bottom-color: var(--c, var(--p)); }

/* Último minuto */
.ticker { background: #fff5f5; border-bottom: 1px solid #fbd5d5; overflow: hidden; }
.ticker .wrap { display: flex; align-items: center; gap: 14px; height: 42px; }
.ticker b { flex: none; background: var(--p); color: #fff; font-size: 12px; text-transform: uppercase; letter-spacing: .06em; padding: 4px 10px; border-radius: 3px; position: relative; }
.ticker b::after { content: ""; position: absolute; right: -6px; top: 50%; width: 8px; height: 8px; border-radius: 50%; background: var(--p); transform: translateY(-50%); animation: pulse 1.4s infinite; }
@keyframes pulse { 50% { opacity: .2; } }
.ticker-track { overflow: hidden; flex: 1; mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent); }
.ticker-move { display: flex; gap: 48px; width: max-content; animation: tick 45s linear infinite; }
.ticker-move:hover { animation-play-state: paused; }
.ticker-move a { font-weight: 600; font-size: 14.5px; white-space: nowrap; }
.ticker-move a:hover { color: var(--p); }
@keyframes tick { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .ticker-move { animation: none; } }

/* Piezas */
.chip { display: inline-block; font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; color: var(--c, var(--p)); margin-bottom: 6px; }
.m { display: flex; flex-wrap: wrap; gap: 12px; color: var(--mu); font-size: 13px; margin-top: 8px; align-items: center; }
.loc { display: inline-flex; align-items: center; gap: 3px; }
.loc svg { color: var(--p); }
.t a:hover { color: var(--p); }
.ex { color: var(--tx2); margin: 8px 0 0; font-size: 15px; line-height: 1.5; }
.img { display: block; overflow: hidden; background: var(--soft); border-radius: 4px; }
.img img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
article:hover .img img { transform: scale(1.03); }

.c-hero { position: relative; height: 100%; min-height: 480px; border-radius: 6px; overflow: hidden; }
.c-hero .img { position: absolute; inset: 0; border-radius: 0; }
.c-hero .body { position: absolute; left: 0; right: 0; bottom: 0; padding: 120px 30px 28px; background: linear-gradient(transparent, rgba(0, 0, 0, .55) 35%, rgba(0, 0, 0, .9)); color: #fff; }
.c-hero .chip { background: var(--c, var(--p)); color: #fff; padding: 4px 10px; border-radius: 3px; }
.c-hero .t { font-size: clamp(26px, 3vw, 38px); font-weight: 800; }
.c-hero .t a:hover { color: #fff; text-decoration: underline; text-decoration-thickness: 2px; }
.c-hero .ex { color: #e8e9ec; font-size: 16px; max-width: 680px; }
.c-hero .m { color: #d0d2d8; }
.c-hero .loc svg { color: #fff; }

.c-card .img { aspect-ratio: 16/10; margin-bottom: 10px; }
.c-card .t { font-size: 17px; font-weight: 700; }
.c-big .img { aspect-ratio: 16/9; margin-bottom: 14px; }
.c-big .t { font-size: 28px; font-weight: 800; }

.c-row { display: grid; grid-template-columns: 240px 1fr; gap: 20px; padding: 18px 0; border-bottom: 1px solid var(--bd); }
.c-row:first-child { padding-top: 4px; }
.c-row .img { aspect-ratio: 16/10; }
.c-row .t { font-size: 20px; font-weight: 700; }

.c-mini .t { font-weight: 700; font-size: 15.5px; line-height: 1.3; display: block; }
.c-mini .t:hover { color: var(--p); }
.c-mini .m { margin-top: 4px; }

/* Portada */
.hero { display: grid; grid-template-columns: 1.55fr 1fr; gap: 22px; margin: 26px 0 34px; }
.hero-side { display: grid; grid-template-columns: 1fr 1fr; gap: 20px 18px; }
.hero-side .c-card .t { font-size: 16px; }
.layout { display: grid; grid-template-columns: minmax(0, 1fr) 330px; gap: 42px; margin-bottom: 36px; align-items: start; }
.sec { display: flex; align-items: center; justify-content: space-between; font-size: 15px; text-transform: uppercase; letter-spacing: .06em; font-weight: 800; border-bottom: 2px solid var(--tx); margin-bottom: 16px; }
.sec span { display: inline-block; background: var(--c, var(--tx)); color: #fff; padding: 7px 14px 5px; }
.sec .all { font-size: 13px; letter-spacing: 0; text-transform: none; font-weight: 600; color: var(--mu); }
.sec .all:hover { color: var(--p); }
.more { text-align: center; margin: 22px 0 0; }
.btn-more { display: inline-block; border: 2px solid var(--tx); padding: 10px 26px; font-weight: 700; border-radius: 99px; }
.btn-more:hover { background: var(--tx); color: #fff; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.cat-block { margin: 10px 0 40px; }
.cat-block .sec { border-bottom-color: var(--c, var(--tx)); }

.sidebar .box { margin-bottom: 30px; }
.sticky-box { position: sticky; top: 70px; }
.ranking { list-style: none; margin: 0; padding: 0; }
.ranking li { display: grid; grid-template-columns: 38px 1fr; gap: 6px; padding: 12px 0; border-bottom: 1px solid var(--bd); }
.ranking li:last-child { border-bottom: 0; }
.ranking .n { font-size: 30px; font-weight: 800; color: var(--p); line-height: 1; opacity: .9; }
.follow p { color: var(--tx2); margin: 0 0 12px; }
.btn-fb { display: inline-flex; gap: 8px; align-items: center; background: #1877f2; color: #fff; padding: 10px 16px; border-radius: 6px; font-weight: 700; }
.cat-pills { display: flex; flex-wrap: wrap; gap: 8px; }
.cat-pills a { border: 1.5px solid var(--c); color: var(--c); padding: 5px 12px; border-radius: 99px; font-weight: 700; font-size: 14px; }
.cat-pills a:hover { background: var(--c); color: #fff; }

/* Anuncios */
.ad { text-align: center; overflow: hidden; }
.ad-top { margin-top: 16px; }
.ad-side { margin-bottom: 30px; }
.ad-in { margin: 26px 0; padding: 10px 0; border-top: 1px solid var(--bd); border-bottom: 1px solid var(--bd); }

/* Noticia */
.article { min-width: 0; }
.a-head { padding-top: 24px; }
.crumbs { font-size: 13px; color: var(--mu); margin-bottom: 14px; }
.crumbs a:hover { color: var(--p); }
.a-head h1 { font-size: clamp(28px, 4vw, 44px); font-weight: 800; letter-spacing: -.02em; line-height: 1.12; }
.lead { font-family: var(--serif); font-size: 21px; line-height: 1.5; color: var(--tx2); margin: 16px 0 0; }
.a-meta { display: flex; flex-wrap: wrap; gap: 8px 18px; margin: 20px 0 0; padding: 14px 0; border-top: 1px solid var(--bd); color: var(--mu); font-size: 14px; align-items: center; }
.a-meta .by { color: var(--tx); font-weight: 600; }
.a-meta .by a { color: var(--p); }
.a-meta .rt { display: inline-flex; gap: 4px; align-items: center; }
.share { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; padding-bottom: 18px; }
.share a, .share button { display: inline-flex; align-items: center; gap: 7px; padding: 8px 14px; border-radius: 6px; font: inherit; font-weight: 700; font-size: 14px; border: 0; cursor: pointer; color: #fff; }
.share svg { font-size: 17px; }
.s-fb { background: #1877f2; }
.s-wa { background: #25d366; }
.s-x { background: #000; }
.s-copy { background: var(--soft) !important; color: var(--tx) !important; }
.share.bottom { border-top: 1px solid var(--bd); padding-top: 18px; margin-top: 26px; }
.share.bottom > span { font-weight: 700; margin-right: 6px; }
.a-img { margin: 0 0 26px; }
.a-img img { width: 100%; border-radius: 4px; }
.a-img figcaption { font-size: 13.5px; color: var(--mu); padding: 8px 2px 0; border-bottom: 1px solid var(--bd); padding-bottom: 10px; }
.a-body { font-family: var(--serif); font-size: 19px; line-height: 1.75; color: #22252b; }
.a-body p { margin: 0 0 1.15em; }
.a-body h2, .a-body h3 { font-family: var(--head); margin: 1.6em 0 .6em; }
.a-body h2 { font-size: 26px; }
.a-body h3 { font-size: 22px; }
.a-body a { color: var(--p); text-decoration: underline; text-underline-offset: 2px; }
.a-body img { border-radius: 4px; margin: 1.2em auto; }
.a-body blockquote { margin: 1.5em 0; padding: 4px 0 4px 22px; border-left: 4px solid var(--p); font-size: 21px; font-style: italic; color: var(--tx2); }
.a-body ul, .a-body ol { padding-left: 1.3em; margin: 0 0 1.15em; }
.a-body li { margin-bottom: .4em; }
.a-body iframe { width: 100%; aspect-ratio: 16/9; height: auto; border: 0; border-radius: 4px; margin: 1em 0; }
.a-body .ql-video { width: 100%; aspect-ratio: 16/9; height: auto; }
.a-body .ql-align-center { text-align: center; }
.a-body .ql-align-right { text-align: right; }
.a-body .ql-align-justify { text-align: justify; }
.a-body table { width: 100%; border-collapse: collapse; font-family: var(--head); font-size: 15px; margin: 1em 0; }
.a-body td, .a-body th { border: 1px solid var(--bd); padding: 8px; }
.a-source { font-size: 14px; color: var(--mu); font-style: italic; }
.a-source a { color: var(--tx2); text-decoration: underline; }
.a-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; }
.a-tags a { background: var(--soft); padding: 5px 12px; border-radius: 99px; font-size: 14px; font-weight: 600; color: var(--tx2); }
.a-tags a:hover { background: var(--p); color: #fff; }
.related { border-top: 1px solid var(--bd); padding-top: 28px; }
.preview-bar { background: #fef3c7; color: #92400e; font-weight: 600; text-align: center; padding: 10px; margin-top: 16px; border-radius: 6px; }

/* Archivo */
.arch-head { padding: 34px 0 22px; border-bottom: 1px solid var(--bd); margin-bottom: 28px; }
.arch-head h1 { font-size: clamp(30px, 4vw, 46px); font-weight: 800; position: relative; padding-left: 18px; }
.arch-head h1::before { content: ""; position: absolute; left: 0; top: 8%; bottom: 8%; width: 6px; background: var(--c, var(--p)); border-radius: 2px; }
.arch-head p { color: var(--mu); margin: 8px 0 0 18px; }
.arch-head .search.big { margin-left: 18px; }
.arch-top { margin-bottom: 10px; padding-bottom: 20px; border-bottom: 1px solid var(--bd); }
.empty { color: var(--mu); padding: 40px 0; font-size: 18px; }
.page .a-head { padding-bottom: 20px; border-bottom: 1px solid var(--bd); margin-bottom: 24px; }
.page { padding-bottom: 40px; }

.pagination { display: flex; gap: 6px; justify-content: center; margin: 30px 0; flex-wrap: wrap; }
.pagination a, .pagination span { min-width: 40px; text-align: center; padding: 8px 12px; border: 1px solid var(--bd); border-radius: 6px; font-weight: 700; }
.pagination a:hover { border-color: var(--tx); }
.pagination .current { background: var(--tx); border-color: var(--tx); color: #fff; }

.notfound { text-align: center; padding: 60px 0 40px; display: flex; flex-direction: column; align-items: center; }
.notfound b { font-size: 110px; line-height: 1; color: var(--p); font-weight: 800; letter-spacing: -4px; }
.notfound h1 { font-size: 30px; margin: 10px 0; }
.notfound p { color: var(--mu); }
.notfound .search.big { width: 100%; }
.empty-home { text-align: center; padding: 80px 0; }

/* Pie */
.foot { background: var(--dark); color: #b9bdc7; margin-top: 30px; font-size: 15px; }
.foot-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 40px; padding-top: 48px; padding-bottom: 36px; }
.foot .logo img { max-height: 50px; }
.foot .logo-txt { color: #fff; font-size: 28px; }
.foot p { line-height: 1.6; max-width: 360px; }
.foot h4 { color: #fff; font-size: 14px; text-transform: uppercase; letter-spacing: .08em; margin-bottom: 14px; }
.foot ul { list-style: none; margin: 0; padding: 0; columns: 2; }
.foot li { margin-bottom: 8px; }
.foot a:hover { color: #fff; }
.foot .socials a { width: 38px; height: 38px; background: rgba(255, 255, 255, .08); font-size: 17px; opacity: 1; }
.foot .contact { margin-top: 14px; font-size: 14px; }
.foot-legal { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; border-top: 1px solid rgba(255, 255, 255, .1); padding-top: 18px; padding-bottom: 24px; font-size: 13px; color: #8d93a1; }

/* Responsive */
@media (max-width: 1080px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .layout { grid-template-columns: minmax(0, 1fr) 290px; gap: 30px; }
  .tagline { display: none; }
}
@media (max-width: 860px) {
  .hero { grid-template-columns: 1fr; }
  .c-hero { min-height: 420px; }
  .layout { grid-template-columns: 1fr; }
  .sticky-box { position: static; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .foot-grid > div:first-child { grid-column: 1 / -1; }
}
@media (max-width: 640px) {
  .wrap { padding: 0 14px; }
  .topbar .today { font-size: 12px; }
  .mast .wrap { height: 66px; gap: 8px; }
  .menu-btn { display: block; }
  .logo { margin: 0 auto; }
  .logo img { max-height: 42px; }
  .logo-txt { font-size: 26px; }
  .search { display: none; }
  .mast.search-open .search { display: flex; position: absolute; left: 14px; right: 14px; top: 100px; z-index: 50; background: #fff; box-shadow: 0 6px 24px rgba(0, 0, 0, .15); }
  .mast.search-open .search input { width: 100%; }
  .nav a { padding: 11px 10px 9px; font-size: 13.5px; }
  .hero { margin-top: 14px; gap: 18px; }
  .c-hero { min-height: 360px; margin: 0 -14px; border-radius: 0; }
  .c-hero .body { padding: 90px 18px 20px; }
  .hero-side { grid-template-columns: 1fr; gap: 0; }
  .hero-side .c-card, .grid-4 .c-card { display: grid; grid-template-columns: 1fr 120px; gap: 12px; padding: 14px 0; border-bottom: 1px solid var(--bd); }
  .hero-side .c-card .img, .grid-4 .c-card .img { order: 2; margin: 0; aspect-ratio: 1; }
  .grid-4 { grid-template-columns: 1fr; gap: 0; }
  .c-row { grid-template-columns: 1fr 110px; gap: 12px; }
  .c-row .img { order: 2; aspect-ratio: 1; }
  .c-row .t { font-size: 17px; }
  .c-row .ex { display: none; }
  .c-big .t { font-size: 23px; }
  .a-head h1 { font-size: 28px; }
  .lead { font-size: 18px; }
  .a-body { font-size: 18px; }
  .a-img { margin-left: -14px; margin-right: -14px; }
  .a-img img { border-radius: 0; }
  .a-img figcaption { padding-left: 14px; padding-right: 14px; }
  .share a span { display: none; }
  .share.bottom a span { display: inline; }
  .foot-grid { grid-template-columns: 1fr; gap: 26px; }
}
@media (max-width: 640px) { .nav.open .wrap { flex-wrap: wrap; } }

/* También te podría interesar */
.inrel { margin: 28px 0; padding: 14px 18px 16px; border-left: 4px solid var(--p); background: var(--soft); border-radius: 0 10px 10px 0; font-family: var(--head); }
.inrel-h { display: block; font-size: 12.5px; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; color: var(--p); margin-bottom: 8px; }
.inrel-i { display: grid !important; grid-template-columns: 100px 1fr; gap: 12px; align-items: center; padding: 6px 0; text-decoration: none !important; color: var(--tx) !important; }
.inrel-i img { width: 100px; aspect-ratio: 16/10; object-fit: cover; border-radius: 6px; margin: 0 !important; }
.inrel-i b { font-size: 16px; line-height: 1.3; }
.inrel-i:hover b { color: var(--p); }

.a-body figure { margin: 1.4em 0; }
.a-body figure img { margin: 0 auto; border-radius: 8px; }
.a-body figcaption { font-size: 14px; color: #777; padding-top: 6px; text-align: center; line-height: 1.4; }
