@font-face {
    font-family: Anton;
    src: url("../fonts/anton-latin.woff2") format("woff2");
    font-style: normal;
    font-weight: 400;
    font-display: swap;
}
@font-face {
    font-family: Inter;
    src: url("../fonts/inter-latin.woff2") format("woff2");
    font-style: normal;
    font-weight: 400 800;
    font-display: swap;
}
:root {
    color-scheme: dark;
    --paper: #101010;
    --surface: #1a1a1a;
    --ink: #f7f5f0;
    --muted: #c7c4bc;
    --line: #3d3930;
    --accent: #ffd126;
    --midnight: #090909;
    --yellow: #ffd126;
    --display: Anton, Impact, "Arial Narrow", sans-serif;
    --sans: Inter, system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
}
* { box-sizing: border-box; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 1rem/1.5 var(--sans); }
a { color: inherit; text-underline-offset: .21em; }
a:hover { color: var(--accent); }
:focus-visible { outline: 2px solid currentColor; outline-offset: 4px; }
button, input { font: inherit; }
button { cursor: pointer; }
img { display: block; max-width: 100%; }
h1, h2, h3, p { margin: 0; }
h1, h2, h3 { line-height: 1.12; }
.shell { width: min(100% - 3rem, 77rem); margin-inline: auto; }
.sr-only, .skip:not(:focus) { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip:focus { position: fixed; z-index: 10; top: 10px; left: 10px; background: var(--surface); padding: .7rem 1rem; }
.masthead { background: var(--midnight); color: white; border-top: 4px solid var(--yellow); }
.masthead-top { display: flex; align-items: center; gap: 1.15rem; min-height: 4.65rem; }
.brand { font: 400 clamp(2.25rem, 5vw, 3.15rem)/1 var(--display); letter-spacing: .005em; text-decoration: none; color: inherit; }
.brand:hover { color: inherit; }
.brand span { color: var(--yellow);  }
.edition { display: grid; gap: .08rem; border-left: 1px solid #57534a; padding-left: 1rem; color: #dcd8ce; font-size: .72rem; }
.edition span { font-weight: 750; letter-spacing: .075em; }
.search-link { display: flex; align-items: center; gap: .5rem; margin-left: auto; border: 1px solid #7d7769; border-radius: .35rem; padding: .48rem .76rem; font-size: .88rem; font-weight: 700; text-decoration: none; }
.search-link:hover { color: var(--yellow); border-color: var(--yellow); }
.nav { position: relative; display: flex; align-items: stretch; gap: clamp(.65rem, 2.4vw, 1.85rem); border-top: 1px solid #37342d; }
.nav > a, .news-menu > summary { display: block; padding: .65rem 0 .55rem; border-bottom: 3px solid transparent; color: #eeeae2; text-decoration: none; font-size: .87rem; font-weight: 690; }
.nav > a:hover, .nav > a[aria-current], .news-menu > summary:hover, .news-menu[open] > summary { color: var(--yellow); }
.nav > a[aria-current], .news-menu[open] > summary { border-bottom-color: var(--yellow); }
.news-menu > summary { cursor: pointer; list-style: none; white-space: nowrap; }
.news-menu > summary::-webkit-details-marker { display: none; }
.news-menu > summary::after { content: ""; display: inline-block; width: .38em; height: .38em; margin: 0 0 .17em .47em; border: solid currentColor; border-width: 0 1px 1px 0; transform: rotate(45deg); }
.news-menu[open] > summary::after { transform: rotate(225deg); margin-bottom: 0; }
.news-menu-panel { position: absolute; z-index: 15; inset: 100% auto auto 0; width: min(100%, 33rem); max-height: min(65vh, 30rem); overflow: auto; padding: .85rem 1rem; border: 1px solid var(--line); border-top: 3px solid var(--yellow); background: var(--surface); box-shadow: 0 .5rem 1.8rem #0009; text-align: start; }
.news-menu-title { color: var(--yellow); font: 400 1.12rem/1.3 var(--display); text-transform: uppercase; letter-spacing: .025em; }
.news-menu-list { list-style: none; padding: 0; margin: .28rem 0 .15rem; }
.news-menu-list > li + li { border-top: 1px solid var(--line); }
.news-menu-list a, .news-menu-empty { display: block; padding: .58rem 0; font-size: .88rem; line-height: 1.35; overflow-wrap: anywhere; }
.news-menu-list a { font-weight: 650; text-decoration: none; }
.news-menu-list a:hover { text-decoration: underline; }
.news-menu-empty { color: var(--muted); }
.news-menu-more { display: inline-block; padding-block: .45rem .15rem; color: var(--yellow); font-size: .8rem; font-weight: 700; }
main { padding-block: 1.6rem 3.5rem; min-height: 55vh; }
.story { min-width: 0; }
.story h3 { font: 760 clamp(1rem, 1.65vw, 1.27rem)/1.22 var(--sans); letter-spacing: -.02em; overflow-wrap: anywhere; }
.story h1, .reader h1, .page-head h1 { font: 400 clamp(2.2rem, 4.5vw, 4.15rem)/1.09 var(--display); letter-spacing: .005em; text-transform: uppercase; overflow-wrap: anywhere; }
.story a { text-decoration: none; }
.story h1 a:hover, .story h3 a:hover { text-decoration: underline; }
.story-image { display: block; background: #282724; overflow: hidden; }
.story-photo { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; object-position: center; }
.story-lead {
    position: relative;
    isolation: isolate;
    display: grid;
    align-items: end;
    min-height: clamp(28rem, 40vw, 35rem);
    overflow: hidden;
    background: var(--midnight);
    color: #fff;
    border: 1px solid var(--line);
    border-radius: .3rem;
}
.story-lead .story-image { position: absolute; inset: 0 0 0 32%; z-index: -2; }
.story-lead .story-photo { width: 100%; height: 100%; }
.story-lead:has(.story-image)::before {
    position: absolute;
    inset: 0;
    z-index: -1;
    content: "";
    pointer-events: none;
    background: linear-gradient(90deg, #090909 30%, #090909ed 40%, #09090987 58%, transparent 87%),
        linear-gradient(0deg, #090909ae, transparent 52%);
}
.story-lead .story-content { width: min(61%, 43rem); padding: clamp(1.5rem, 4vw, 3.6rem); }
.story-lead:not(:has(.story-image)) .story-content { width: min(100%, 51rem); }
.story-lead h1 { font-size: clamp(2.15rem, 3.85vw, 3.85rem); }
.story-lead h1 a:hover, .story-lead .tag { color: var(--yellow); }
.story-lead .meta, .story-lead .summary { color: #e9e5db; }
.tag { display: block; width: fit-content; margin-bottom: .4rem; color: var(--accent); font-size: .72rem; font-weight: 820; letter-spacing: .07em; text-transform: uppercase; }
.summary { color: var(--muted); margin-block: .7rem .15rem; font: 1rem/1.5 var(--sans); overflow-wrap: anywhere; }
.meta { color: var(--muted); font-size: .79rem; margin-top: .55rem; }
.block { margin-top: 2rem; border-top: 1px solid var(--line); padding-top: .8rem; }
.section-title { display: flex; align-items: baseline; gap: .5rem; font: 400 clamp(1.5rem, 2.7vw, 2.2rem)/1.12 var(--display); letter-spacing: .018em; text-transform: uppercase; }
.section-title::before { content: ""; display: inline-block; flex: none; width: .24rem; height: .74em; border-radius: 2px; background: var(--accent); }
.section-heading { display: flex; justify-content: space-between; align-items: baseline; gap: .75rem; margin-bottom: .65rem; }
.section-heading > a { flex: none; font-size: .84rem; font-weight: 730; color: var(--accent); }
.top-stories-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; margin-top: .85rem; }
.top-stories-grid > .story, .topic-grid > .story { overflow: hidden; border: 1px solid var(--line); border-radius: .4rem; background: var(--surface); }
.top-stories-grid .story-content, .topic-grid .story-content { padding: .85rem; }
.story-list > .story { padding: .85rem 0; }
.story-list > .story + .story { border-top: 1px solid var(--line); }
#ultimas .story-list { display: grid; grid-template-columns: 1fr 1fr; column-gap: 2rem; }
#ultimas .story-list > .story { border-top: 1px solid var(--line); }
.section-grid, .topic-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.1rem; }
.locality { background: #201c11; border: 1px solid #5b4d28; border-radius: .45rem; padding: 1rem 1.15rem 1.25rem; }
.search-form { display: flex; align-items: stretch; gap: .5rem; max-width: 36rem; margin-block: .85rem 1.1rem; }
.search-form input { flex: 1 1 auto; min-width: 0; padding: .6rem .75rem; color: var(--ink); background: var(--surface); border: 1px solid #817b6c; border-radius: .35rem; }
.button { display: inline-block; padding: .58rem .82rem; border: 1px solid #817b6c; border-radius: .35rem; background: transparent; color: var(--ink); text-decoration: none; font-size: .9rem; font-weight: 730; }
.button:hover { border-color: var(--accent); color: var(--accent); }
.button.primary { background: var(--accent); border-color: var(--accent); color: #111; }
.button.primary:hover { background: #ffe184; }
.button[hidden] { display: none; }
.places { display: flex; flex-wrap: wrap; gap: .5rem; list-style: none; padding: 0; margin: .8rem 0 0; }
.places a { display: block; padding: .48rem .72rem; border: 1px solid #817b6c; border-radius: .3rem; text-decoration: none; font-size: .875rem; font-weight: 730; background: var(--surface); }
.places a:hover { border-color: var(--accent); }
.page-head { padding-block: .3rem .8rem; border-bottom: 2px solid var(--accent); }
.page-head p, .page-head > .button, .page-head .share { margin-top: .9rem; }
.empty { margin-top: 1rem; color: var(--muted); }
.reader { max-width: 51rem; margin-inline: auto; }
.reader .summary { font-size: clamp(1.07rem, 2vw, 1.3rem); }
.byline { display: flex; flex-wrap: wrap; gap: .2rem 1rem; margin-block: .9rem 1.15rem; padding-bottom: .7rem; border-bottom: 1px solid var(--line); font-size: .88rem; }
.byline time { color: var(--muted); }
.reader figure { margin: 0 0 1.15rem; }
.reader figure .story-photo { border-radius: .4rem; }
.reader figcaption { margin-top: .35rem; color: var(--muted); font-size: .79rem; }
.reader-body { font: clamp(1.04rem, 1.7vw, 1.18rem)/1.72 var(--sans); overflow-wrap: anywhere; }
.reader-body p + p { margin-top: 1.05em; }
.reader-body a { color: var(--accent); }
.share { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem; margin-block: 1.35rem 0; }
.promo { padding-top: 1rem; }
.promo p, .promo .button { margin-top: .5rem; }
.footer { background: var(--midnight); color: #eeeae2; }
.footer-content { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 1rem; padding-block: 1.35rem; }
.footer .brand { font-size: 2rem; }
.footer nav { display: flex; flex-wrap: wrap; gap: .25rem 1rem; }
.footer a:not(.brand) { font-size: .82rem; }
.footer a:hover { color: var(--yellow); }
@media (max-width: 50rem) {
    .shell { width: calc(100% - 1.8rem); }
    .masthead-top { min-height: 4.2rem; }
    main { padding-top: 1rem; }
}
@media (max-width: 42rem) {
    .nav { flex-wrap: wrap; gap: 0 .95rem; }
    .edition { display: none; }
    .section-grid, #ultimas .story-list { grid-template-columns: minmax(0, 1fr); }
    .story-lead { display: block; min-height: 0; }
    .story-lead .story-image { position: static; }
    .story-lead .story-photo { height: auto; }
    .story-lead:has(.story-image)::before { display: none; }
    .story-lead .story-content { width: 100%; padding: 1rem 1.1rem 1.2rem; }
    .story-lead h1 { font-size: clamp(1.85rem, 7.7vw, 2.8rem); }
    .top-stories-grid { grid-template-columns: minmax(0, 1fr); gap: .55rem; }
    .top-stories-grid > .story:has(.story-image) { display: grid; grid-template-columns: 5.6rem minmax(0, 1fr); }
    .top-stories-grid .story-image .story-photo { height: 100%; min-height: 5.6rem; aspect-ratio: auto; }
    .section-grid { gap: 0; }
    .block { margin-top: 1.55rem; }
    .section-heading { flex-wrap: wrap; gap: .35rem .75rem; }
}
@media (max-width: 33rem) {
    .nav { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 .2rem; text-align: center; }
    .nav > a, .news-menu > summary { padding: .55rem 0 .45rem; font-size: clamp(.73rem, 3.3vw, .82rem); }
}

.info-page .reader-body { margin-top: 1.5rem; }
.info-page h2 { margin-block: 1.4rem .5rem; font: 770 1.3rem/1.2 var(--sans); }

.video-tool { margin-block: 1.4rem; padding: clamp(1rem, 4vw, 1.65rem); border: 1px solid var(--line); border-top: 3px solid var(--yellow); border-radius: .35rem; background: var(--surface); }
.info-page .video-tool h2 { margin: 0 0 .5rem; font: 400 1.7rem/1.15 var(--display); letter-spacing: .01em; text-transform: uppercase; }
.video-tool > p, .video-tool-status { color: var(--muted); font-size: .9rem; }
.video-tool form { margin-top: 1rem; }
.video-tool label { display: block; margin-bottom: .3rem; font-size: .86rem; font-weight: 740; }
.video-tool-input { display: flex; gap: .55rem; }
.video-tool-input input { flex: 1 1 auto; min-width: 0; padding: .65rem; border: 1px solid #817b6c; border-radius: .35rem; color: var(--ink); background: var(--midnight); }
.video-tool-input button:disabled { opacity: .65; cursor: wait; }
.video-tool-status:not(:empty) { margin-top: .6rem; }
.video-tool-file { color: var(--yellow); font-size: .87rem; font-weight: 700; }
@media (max-width: 32rem) {
    .video-tool-input { flex-direction: column; }
}
