:root {
  color-scheme: light;
  --ink: #152f2a;
  --muted: #465b51;
  --line: #c5b38f;
  --blue: #075a55;
  --navy: #073d3b;
  --panel: #ead8b6;
  --paper: #f6e8ca;
  --soft-paper: #faefd8;
  --petrol-light: #12635d;
  --petrol-deep: #062b2d;
  --coral: #f18264;
  --coral-deep: #a33c26;
  --grain: url("papel.webp");
  --tear-up: polygon(0 31%,2% 46%,4% 26%,6% 36%,8% 15%,10% 38%,12% 21%,14% 32%,16% 19%,18% 37%,20% 28%,22% 40%,24% 21%,26% 35%,28% 8%,30% 20%,32% 11%,34% 26%,36% 16%,38% 34%,40% 23%,42% 46%,44% 26%,46% 43%,48% 37%,50% 49%,52% 32%,54% 41%,56% 27%,58% 38%,60% 19%,62% 31%,64% 20%,66% 41%,68% 29%,70% 51%,72% 35%,74% 49%,76% 24%,78% 35%,80% 23%,82% 37%,84% 21%,86% 39%,88% 24%,90% 44%,92% 21%,94% 34%,96% 17%,98% 39%,100% 25%,100% 100%,0 100%);
  --gutter: clamp(18px, 5vw, 64px);
  font-family: "Segoe UI", system-ui, sans-serif;
  color: var(--ink);
  background: var(--navy);
}
* { box-sizing: border-box; }
html { scroll-padding-block-start: 90px; }
body { margin: 0; min-height: 100vh; background: var(--grain), radial-gradient(ellipse at 80% 20%, var(--petrol-light), var(--petrol-deep) 75%); }
h1, h2, h3, p, figure { margin: 0; }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; }
button { cursor: pointer; }
img { display: block; width: 100%; height: auto; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid #b34329; outline-offset: 4px; }
.skip { position: fixed; top: 8px; left: 8px; z-index: 15; padding: 12px 16px; background: var(--paper); color: var(--navy); transform: translateY(-150%); }
.skip:focus { transform: none; }
.wrap { width: min(1280px, calc(100% - 2 * var(--gutter))); margin-inline: auto; }
.topbar { position: sticky; top: 0; z-index: 10; color: var(--paper); border-bottom: 1px solid #519487; background: var(--grain), var(--navy); }
.topbar :focus-visible, .hero :focus-visible, .footer :focus-visible { outline-color: #ffad96; }
.topbar-inner { min-height: 75px; display: grid; grid-template-columns: 1fr auto 1fr; justify-items: start; align-items: center; gap: 20px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-size: 26px; font-weight: 860; letter-spacing: -.05em; line-height: .98; }
.brand img { width: 42px; height: 42px; object-fit: contain; }
.brand small { display: block; margin-top: 5px; font-size: .38em; font-weight: 700; letter-spacing: .24em; color: #f8ad94; }
.toplinks, .footer nav { display: flex; gap: clamp(14px, 3vw, 33px); align-items: center; color: #f1dfbd; font-size: .88rem; }
.toplinks a, .search-link, .footer a { transition: color .2s; }
.toplinks a:hover, .search-link:hover, .footer a:hover { color: #ffc5ae; }
.search-link { justify-self: end; display: flex; align-items: center; gap: 10px; min-height: 42px; padding: 6px 12px; border: 1px solid #76a89a; border-radius: 3px; color: var(--paper); background: transparent; font-size: .86rem; }
.search-link[aria-expanded=true] { color: var(--ink); background: var(--paper); border-color: var(--line); }
.search-link i { position: relative; display: block; width: 13px; height: 13px; border: 1.5px solid currentColor; border-radius: 50%; }
.search-link i::after { content: ""; position: absolute; width: 6px; height: 1.5px; background: currentColor; transform: rotate(45deg); top: 10px; left: 9px; }
.edition { padding-block: 23px 13px; display: flex; justify-content: space-between; gap: 12px; color: var(--paper); font-size: .83rem; }
.edition p:first-child, .overline { font-size: .71rem; letter-spacing: .13em; font-weight: 750; }
.status-dot { display: inline-block; width: 7px; height: 7px; margin: 0 8px 1px 1px; background: var(--coral); transform: rotate(45deg); }
.hero { position: relative; isolation: isolate; min-height: clamp(390px, 38vw, 540px); display: flex; align-items: center; overflow: hidden; color: var(--paper); background: var(--grain), linear-gradient(128deg, #11534e, var(--petrol-deep)); }
.hero > img { position: absolute; inset: 0 0 0 auto; height: 100%; width: 65%; object-fit: cover; object-position: 57% 57%; z-index: -2; clip-path: polygon(4% 0,100% 0,100% 100%,0 100%,2% 92%,1.5% 84%,2.4% 75%,2% 66%,3.5% 56%,2.8% 51%,3.1% 44%,2.7% 35%,4% 29%,3.4% 21%,4.5% 14%); }
.hero::before { content: ""; position: absolute; inset: 0; border: 1px solid #6f9a7d; pointer-events: none; z-index: 1; }
.hero::after { content: ""; position: absolute; inset: auto 0 0; height: 18px; background: var(--grain), var(--coral); clip-path: var(--tear-up); z-index: 1; pointer-events: none; }
.hero-paper { position: absolute; top: -1px; right: -1px; width: clamp(56px, 12vw, 175px); height: clamp(45px, 9vw, 125px); background: var(--grain), var(--paper); clip-path: polygon(0 0,100% 0,100% 100%,88% 87%,79% 88%,68% 72%,60% 74%,51% 59%,43% 57%,32% 41%,24% 43%,13% 25%,8% 24%); opacity: .95; }
.hero-paper::after { content: ""; position: absolute; inset: 7px -10px 0 28%; transform: rotate(-18deg); background: repeating-linear-gradient(180deg,#608578 0 2px,transparent 2px 6px); opacity: .61; }
.hero-copy { padding: clamp(28px, 4.6vw, 66px); padding-right: clamp(32px, 7vw, 105px); width: min(590px, 50%); min-height: inherit; display: flex; flex-direction: column; justify-content: center; align-items: start; background: var(--grain), linear-gradient(128deg, #155a53, #083b3d 86%); clip-path: polygon(0 0,97% 0,96% 13%,97.3% 19%,95% 29%,95.6% 35%,94.1% 43%,95.5% 55%,94% 62%,94.9% 70%,93.2% 80%,93.8% 89%,92% 100%,0 100%); }
.overline { display: inline-flex; align-items: center; gap: 9px; margin-bottom: 17px; color: #ffc6a9; }
.overline span { width: 25px; height: 1px; background: var(--coral); }
.hero h1 { font-family: Georgia, "Times New Roman", serif; font-size: clamp(2.3rem, 4.5vw, 4.5rem); line-height: 1.01; letter-spacing: -.043em; text-wrap: balance; }
.hero-deck { color: #f0e2c2; font-size: clamp(1rem, 1.45vw, 1.17rem); line-height: 1.52; max-width: 37ch; margin-block: 19px 25px; }
.hero-caption { position: absolute; bottom: 25px; right: 18px; font-size: .72rem; color: var(--paper); padding: 4px 7px; background: #122f2bdc; }
.primary { min-height: 43px; display: inline-flex; align-items: center; justify-content: center; gap: 15px; background: var(--coral); color: #29231c; padding: 10px 16px; border: 1px solid transparent; border-radius: 3px; font-size: .88rem; font-weight: 750; }
.primary:hover { background: #ffac8d; }
.home-feed { position: relative; padding: clamp(22px, 4vw, 50px); margin-block: 27px 43px; background: var(--grain), var(--paper); }
.home-feed::before, .article-page::before, .info::before { content: ""; position: absolute; inset: -12px 0 auto; height: 13px; background: var(--grain), var(--paper); clip-path: var(--tear-up); pointer-events: none; }
.home-feed::after, .article-page::after, .info::after { content: ""; position: absolute; inset: auto 0 -9px; height: 10px; background: var(--grain), var(--paper); clip-path: var(--tear-up); transform: rotate(180deg); pointer-events: none; }
.feed-head { display: flex; justify-content: space-between; align-items: end; gap: 16px; border-bottom: 1px solid var(--line); padding-bottom: 18px; }
.feed-head h2 { font-family: Georgia, "Times New Roman", serif; font-size: clamp(1.65rem, 2.8vw, 2.9rem); line-height: 1.1; letter-spacing: -.04em; }
.filters { display: flex; flex-wrap: wrap; gap: 7px; }
.filters button { min-height: 38px; padding: 6px 12px; border: 1px solid var(--line); border-radius: 2px; background: var(--soft-paper); color: var(--ink); font-size: .83rem; }
.filters button:hover, .filters button[aria-pressed=true] { background: var(--navy); border-color: var(--navy); color: var(--paper); }
.search-panel { position: absolute; top: calc(100% + 8px); right: max(var(--gutter), calc((100% - 1280px) / 2)); width: min(460px, calc(100vw - 2 * var(--gutter))); max-height: min(66dvh, 520px); overflow-y: auto; overscroll-behavior: contain; color: var(--ink); background: var(--grain), var(--paper); padding: 18px; border-top: 4px solid var(--coral); box-shadow: 0 13px 34px #001b1bb0; }
.search-form label { display: block; margin-bottom: 8px; font-size: 1.2rem; font-family: Georgia, "Times New Roman", serif; font-weight: 700; }
.search-row { display: flex; gap: 8px; }
.search-row input { flex: 1; min-width: 0; background: var(--soft-paper); color: var(--ink); border: 1px solid #806f51; border-radius: 3px; padding: 9px 11px; }
.search-message { margin-top: 12px; color: var(--muted); font-size: .87rem; }
.search-results { list-style: none; margin: 6px 0 0; padding: 0; }
.search-results a { display: grid; gap: 4px; padding-block: 9px; border-bottom: 1px solid var(--line); color: var(--ink); }
.search-results a:hover strong, .search-results a:focus-visible strong { text-decoration: underline; }
.search-results small { color: var(--coral-deep); font-size: .7rem; font-weight: 750; text-transform: uppercase; }
.story-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; padding-top: 20px; }
.card { position: relative; min-width: 0; border: 1px solid var(--line); border-radius: 2px; overflow: hidden; background: var(--soft-paper); display: flex; flex-direction: column; transition: border .2s, background .2s; }
.card:hover, .card:focus-within { border-color: #588173; background: #ffefd0; }
.card-cover { display: block; position: relative; aspect-ratio: 16/10; overflow: hidden; background: var(--petrol-deep); }
.card-cover::after { content: ""; position: absolute; inset: auto 0 -1px; height: 8px; background: var(--soft-paper); clip-path: var(--tear-up); }
.card:hover .card-cover::after, .card:focus-within .card-cover::after { background: #ffefd0; }
.card-cover img { width: 100%; height: 100%; object-fit: cover; }
.card[data-topic=deportes] img { object-position: 50% 5%; }
.card-cover img[src$="mandy-portada.webp"] { object-position: 50% 25%; }
.card-copy { flex: 1; display: flex; flex-direction: column; align-items: start; padding: 17px 17px 16px; }
.topic { display: inline-flex; padding: 5px 7px; background: #ccddbf; color: #21483b; border-radius: 2px; font-size: .68rem; font-weight: 750; line-height: 1; text-transform: uppercase; letter-spacing: .055em; }
.topic-cultura { color: #63352b; background: #f5c2ab; }
.topic-deportes { color: #304624; background: #e0e3b6; }
.topic-videojuegos { color: #744325; background: #f3d4a1; }
.card h3 { margin-top: 10px; font-family: Georgia, "Times New Roman", serif; font-size: 1.22rem; line-height: 1.16; letter-spacing: -.026em; }
.card h3 a::after { content: ""; position: absolute; inset: 0; }
.card p { margin-block: 9px 15px; font-size: .88rem; line-height: 1.5; color: var(--muted); }
.card time { margin-top: auto; font-size: .76rem; color: var(--muted); }
.card-arrow { position: absolute; right: 13px; bottom: 14px; color: var(--blue); }
.footer { border-top: 1px solid #519487; color: var(--paper); margin-top: 16px; }
.footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding-block: 26px; }
.footer .brand { color: var(--paper); }
.footer p { font-size: .8rem; }
.article-page { position: relative; max-width: 1130px; margin-block: 36px 47px; padding: clamp(24px, 4vw, 55px); background: var(--grain), var(--paper); }
.breadcrumb { display: flex; gap: 17px; margin-bottom: 27px; color: var(--muted); font-size: .85rem; }
.breadcrumb a, .back, .article-body a { color: var(--blue); }
.article-head { position: relative; margin-bottom: 25px; }
.article-head h1, .info h1 { font-family: Georgia, "Times New Roman", serif; font-size: clamp(2.3rem, 5.4vw, 4.7rem); line-height: 1; letter-spacing: -.048em; max-width: 22ch; margin-block: 12px 14px; text-wrap: balance; }
.lead { color: var(--muted); font-size: clamp(1.05rem, 2vw, 1.32rem); line-height: 1.55; max-width: 64ch; }
.byline { display: flex; gap: 10px 17px; flex-wrap: wrap; margin-top: 19px; padding-right: 145px; font-size: .84rem; color: var(--muted); }
.byline span:first-child { color: var(--ink); font-weight: 650; }
.share-link { position: absolute; right: 0; bottom: 0; padding: 8px 12px; border: 1px solid #8b8e70; background: var(--soft-paper); color: var(--blue); border-radius: 3px; font-size: .82rem; }
.share-message { position: absolute; bottom: 38px; right: 0; font-size: .8rem; color: var(--blue); }
.article-cover img { aspect-ratio: 2.15; object-fit: cover; background: var(--panel); }
.article-cover:has(img[src$="ronaldo.webp"]) img { object-position: 50% 5%; }
.article-cover-full img { aspect-ratio: auto; max-height: 540px; object-fit: contain; background: #112c29; }
.article-cover figcaption { margin-top: 8px; font-size: .75rem; color: var(--muted); }
.article-cover figcaption a { text-decoration: underline; }
.article-columns { display: grid; grid-template-columns: minmax(0, 1fr) 255px; align-items: start; gap: clamp(25px, 5vw, 68px); margin-top: 30px; }
.article-body { color: #263c34; font-size: 1.07rem; line-height: 1.73; }
.article-body h2, .related h2 { color: var(--ink); font-family: Georgia, "Times New Roman", serif; font-size: clamp(1.3rem, 2.2vw, 1.8rem); line-height: 1.2; letter-spacing: -.035em; margin-bottom: 9px; }
.article-body p + p { margin-top: 13px; }
.article-body section { margin-top: 28px; }
.summary { padding: 15px 20px; border-left: 3px solid var(--coral-deep); background: var(--soft-paper); }
.summary h2 { font-size: 1.16rem; }
.ad-demo { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 5px; background: #eee1c7; border: 1px dashed #95866e; color: #50564a; min-height: 105px; text-align: center; padding: 14px; font-size: .83rem; }
.ad-demo span { font-size: .61rem; letter-spacing: .1em; font-weight: 740; }
.ad-demo strong { font-weight: 550; }
.ad-article { margin-top: 29px; }
.ad-side { min-height: 190px; }
.related { margin-top: 24px; padding: 14px 0; border-top: 1px solid var(--line); }
.related h2 { font-size: 1.24rem; }
.related a { display: grid; gap: 7px; justify-items: start; padding: 12px 0; border-bottom: 1px solid var(--line); }
.related a:hover { color: var(--blue); }
.related strong { font-size: .93rem; }
.sources ul { padding-left: 19px; }
.sources a:hover { text-decoration: underline; }
.video-stage { position: relative; aspect-ratio: 16/9; background: var(--petrol-deep); }
.video-stage iframe, .video-preview { display: block; width: 100%; height: 100%; border: 0; }
.video-preview img { height: 100%; object-fit: cover; }
.video-play { position: absolute; inset: 50% auto auto 50%; transform: translate(-50%,-50%); display: grid; place-items: center; width: 56px; aspect-ratio: 1; border-radius: 50%; background: var(--coral); color: var(--ink); padding-left: 3px; box-shadow: 0 3px 14px #001c1ab0; }
.video-preview:hover .video-play { background: #ffac8d; }
.video-credit { margin-top: 7px; color: var(--muted); font-size: .81rem; line-height: 1.55; }
.video-credit a { text-decoration: underline; }
.story-gallery-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.story-gallery figure { overflow: hidden; background: var(--soft-paper); border: 1px solid var(--line); }
.story-gallery img { aspect-ratio: 16/9; object-fit: contain; }
.story-gallery figcaption { padding: 8px 12px 12px; font-size: .78rem; line-height: 1.4; }
.story-gallery figcaption strong { display: block; color: var(--ink); }
.story-gallery figcaption a { display: inline-block; padding-block: 4px; }
.info { position: relative; min-height: 60vh; margin-block: 36px 47px; padding: clamp(25px, 5vw, 72px); background: var(--grain), var(--paper); }
.info .article-body { margin-top: 24px; max-width: 60ch; }
@media (max-width: 1030px) {
  .story-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
  html { scroll-padding-block-start: 76px; }
  .topbar-inner { min-height: 64px; gap: 9px; }
  .toplinks { gap: 13px; font-size: .8rem; }
  .search-link { min-width: 44px; justify-content: center; }
  .search-link span { display: none; }
  .edition { padding-block: 19px 12px; }
  .edition p:nth-child(2) { display: none; }
  .hero { min-height: 0; display: flex; flex-direction: column; align-items: stretch; }
  .hero > img { position: static; width: 100%; height: auto; aspect-ratio: 16/9; object-position: 60% 50%; clip-path: none; }
  .hero::after { height: 9px; }
  .hero-copy { position: relative; min-height: 0; padding: 20px 20px 25px; width: 100%; clip-path: none; }
  .hero-copy::before { content: ""; position: absolute; inset: -9px 0 auto; height: 10px; background: var(--grain), #12514e; clip-path: var(--tear-up); }
  .hero h1 { font-size: clamp(2.05rem, 7.4vw, 3.5rem); max-width: 19ch; }
  .hero-deck { margin-block: 13px 17px; }
  .hero-caption { position: static; align-self: end; margin: -26px 8px 5px; font-size: .65rem; }
  .feed-head { flex-direction: column; align-items: start; }
  .article-columns { grid-template-columns: 1fr; gap: 12px; }
  .ad-side { display: none; }
  .article-cover:not(.article-cover-full) img { aspect-ratio: 16/10; }
  .article-page { padding: 22px clamp(13px, 4vw, 28px) 32px; }
  .home-feed { padding-inline: clamp(13px, 4vw, 28px); }
  .footer-inner { flex-wrap: wrap; }
  .footer nav { flex-basis: 100%; }
}
@media (max-width: 468px) {
  .story-grid { grid-template-columns: 1fr; }
  .story-gallery-grid { grid-template-columns: 1fr; }
  .toplinks a:nth-child(2) { display: none; }
  .byline { padding-right: 0; }
  .share-link { position: static; margin-top: 13px; }
  .share-message { position: static; margin-left: 9px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; }
}
