@font-face { font-family: "Global Editorial"; src: url("/assets/global-editorial.woff") format("woff"); font-display: swap; }
@font-face { font-family: "Global Sans"; src: url("/assets/global-sans.woff") format("woff"); font-display: swap; }

:root {
  color-scheme: light;
  --paper: #f7f3e9;
  --ink: #182e36;
  --muted: #526068;
  --line: #d8d3c8;
  --gold: #b89a5e;
  --gold-ink: #725620;
  --forest: #173d2c;
  --brand: #163e60;
  --accent: var(--gold);
  --serif: "Global Editorial", Georgia, serif;
  --sans: "Global Sans", system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 18px/1.65 var(--sans); }
a { color: inherit; text-underline-offset: .2em; }
a:hover { color: var(--brand); }
a:focus-visible, button:focus-visible, input:focus-visible { outline: 3px solid var(--accent); outline-offset: 4px; }
img { display: block; width: 100%; }
h1, h2, h3, p, figure { margin: 0; }
h1, h2, h3 { text-wrap: pretty; }
.frame { width: min(100% - 80px, 1320px); margin-inline: auto; }
.visually-hidden, .skip:not(:focus) { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.skip:focus { position: absolute; z-index: 3; top: .4rem; left: 1rem; background: white; padding: .75rem; }
.search { display: flex; align-items: center; justify-content: space-between; min-width: min(15rem, 100%); border: 1px solid var(--line); background: #fff; }
.search input { width: 100%; min-width: 0; border: 0; padding: .58rem .7rem; color: var(--ink); font: inherit; font-size: .9rem; background: transparent; }
.search button { display: grid; flex: 0 0 2.7rem; min-height: 2.55rem; place-items: center; border: 0; background: transparent; color: var(--brand); cursor: pointer; }
.lens { width: .88rem; height: .88rem; display: block; position: relative; border: 2px solid currentColor; border-radius: 50%; }
.lens::after { content: ""; position: absolute; width: .45rem; height: 2px; right: -.36rem; bottom: -.14rem; background: currentColor; transform: rotate(45deg); }
.kicker { color: var(--brand); font-size: .74rem; font-weight: 800; letter-spacing: .075em; text-transform: uppercase; }
.kicker span { padding-inline: .24rem; }
h1 { font: 400 clamp(2.35rem, 5.2vw, 4.55rem)/1.04 var(--serif); letter-spacing: -.037em; overflow-wrap: break-word; }
.summary { color: var(--muted); }
.place-photo img { max-height: 550px; aspect-ratio: 1.8; object-fit: cover; border-radius: 6px; }
.place-photo figcaption { padding: .45rem .8rem; color: var(--muted); font-size: .75rem; line-height: 1.4; }
.more, .text-link { color: var(--brand); font-weight: 600; }

.home-section, .home-columns { margin-top: clamp(2rem, 5vw, 3.6rem); }
.section-title { display: flex; flex-wrap: wrap; gap: .5rem 1rem; align-items: baseline; justify-content: space-between; margin-bottom: 22px; }
.story-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(12px, 2.1vw, 26px); }
.home-columns { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.8rem; }
.event { padding: .65rem 0; border-top: 1px solid var(--line); }
.service-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .65rem; }
.service-grid a { display: grid; align-content: start; gap: .2rem; padding: .8rem; background: #fff; border: 1px solid var(--line); text-decoration: none; }
.service-grid a:hover { border-color: var(--brand); }
.service-grid strong { color: var(--brand); font-weight: 800; font-size: .88rem; }
.service-grid strong span { margin-left: .2rem; }
.service-grid a > span { color: var(--muted); font-size: .79rem; }
.section-head { margin-bottom: 1.75rem; max-width: 53rem; }
.section-head p { color: var(--muted); margin-top: .6rem; }
.section-head + .place-photo { margin-bottom: 1rem; }
.article { max-width: 54rem; margin: 0 auto; }
.crumb { display: flex; gap: .55rem; color: var(--muted); font-size: .85rem; margin-bottom: 1.3rem; }
.article h1 { margin: .5rem 0 .65rem; }
.article .deck { color: var(--muted); font-size: clamp(1.05rem, 2.1vw, 1.34rem); }
.article time { display: block; color: var(--muted); margin: .85rem 0 1.35rem; font-size: .82rem; }
.article .place-photo { margin-bottom: 1.4rem; }
.article-copy { max-width: 64ch; font-size: 1.08rem; }
.article-copy .source { margin-top: 1.55rem; border-top: 1px solid var(--line); padding: .78rem 0; font-size: .87rem; color: var(--brand); }
.empty, .search-status { border-top: 1px solid var(--line); padding-block: 1rem; color: var(--muted); }

.sponsor-seal {
  background: var(--forest);
  color: #fff;
  border-bottom: 1px solid var(--gold);
  padding: 9px 16px;
  text-align: center;
  font-size: .78rem;
}
.sponsor-seal a { color: inherit; text-decoration: none; }
.sponsor-seal a:hover { text-decoration: underline; }
.site-header { background: #fff; }
.masthead { min-height: 166px; display: flex; gap: 36px; align-items: center; justify-content: space-between; padding-block: 26px; }
.brand { flex: 0 1 clamp(240px, 29vw, 370px); min-width: 0; }
.brand img { width: 100%; height: auto; max-height: 112px; object-fit: contain; object-position: left center; }
.brand-phrase { color: var(--gold-ink); font-size: .69rem; letter-spacing: .15em; line-height: 1.55; text-align: center; }
.brand-phrase span { display: block; color: var(--ink); font: 400 1.35rem/1.3 var(--serif); letter-spacing: 0; }
.nav-band { border-block: 1px solid var(--line); }
.nav-row { display: flex; align-items: center; justify-content: space-between; }
.primary-nav { display: flex; flex-wrap: wrap; column-gap: clamp(10px, 1.35vw, 22px); }
.primary-nav a, .search-link { display: inline-block; color: var(--ink); padding-block: 15px; font-size: .94rem; text-decoration: none; }
.primary-nav a:hover, .search-link:hover { text-decoration: underline; text-decoration-color: var(--gold); text-underline-offset: .45em; }
.primary-nav a[aria-current="page"], .search-link[aria-current="page"] { box-shadow: inset 0 -2px var(--gold); color: var(--brand); }
.search-link { flex: 0 0 auto; padding-left: 18px; margin-left: 16px; border-left: 1px solid var(--line); }
main { min-height: 50vh; padding-block: clamp(1.5rem, 4vw, 3rem); }
.home-main { padding-top: 0; }
.edition-line { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 4px 12px; padding-block: 18px; color: var(--muted); font-size: .74rem; }
.edition-line span { font-weight: 700; letter-spacing: .12em; }
.city-opening + .godoy-banner { margin-top: clamp(22px, 4.5vw, 58px); }
.button { display: inline-flex; justify-content: center; align-items: center; text-decoration: none; }
.story-card { min-width: 0; overflow: hidden; border: 1px solid var(--line); border-radius: 6px; background: #fffdf8; }
.edition-card-art { min-height: 110px; display: grid; align-content: end; padding: 18px; color: #fff; background: linear-gradient(145deg, #112d49, #0d4c62); }
.edition-card-art.national { background: linear-gradient(145deg, #19382f, #295b56); }
.edition-card-art strong { font: 400 clamp(1.22rem, 2.4vw, 1.8rem)/1.05 var(--serif); }
.edition-card-copy { padding: clamp(15px, 2.1vw, 24px); }
.edition-card-copy h3, .event h3, #resultados h3 { margin: .38rem 0; overflow-wrap: break-word; font: 400 clamp(1.25rem, 2.3vw, 1.6rem)/1.22 var(--serif); }
.edition-card-copy h3 a, .event h3 a, #resultados h3 a { text-decoration: none; }
.edition-card-copy h3 a:hover, .event h3 a:hover, #resultados h3 a:hover { text-decoration: underline; }
.edition-card-copy .summary { margin-top: .7rem; font-size: .92rem; }
#resultados .story-card { padding: 16px; }
.search { max-width: 40rem; margin-bottom: 1.4rem; }
.site-footer { margin-top: clamp(30px, 5vw, 70px); padding-block: clamp(30px, 5vw, 64px); background: #fff; border-top: 3px solid var(--gold); }
.footer-grid { display: grid; grid-template-columns: minmax(0, 1.5fr) repeat(2, minmax(0, 1fr)); gap: 24px clamp(24px, 4vw, 64px); }
.footer-grid img { width: min(100%, 300px); height: auto; }
.footer-grid h2 { margin-bottom: .7rem; font: 700 1rem/1.2 var(--sans); }
.footer-grid a { display: block; width: fit-content; margin-block: .3rem; text-decoration: none; }
.footer-grid a:hover { text-decoration: underline; }
.footer-grid p, .footer-bottom p { color: var(--muted); }
.footer-bottom { margin-top: 24px; padding-top: 16px; border-top: 1px solid var(--line); font-size: .78rem; }
.site-footer .gg-network-footer { margin-top: 16px; }

@media (max-width: 850px) {
  .frame { width: calc(100% - 36px); }
  .masthead { min-height: 116px; padding-block: 18px; }
  .brand { flex-basis: min(62vw, 270px); }
  .nav-row { display: block; }
  .primary-nav a { padding-block: 8px; }
  .search-link { margin: 0; padding: 4px 0 12px; border: 0; }
  .story-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-grid > div:first-child { grid-column: 1 / -1; }
}

@media (max-width: 540px) {
  .sponsor-seal { font-size: .7rem; }
  .brand-phrase { display: none; }
  .story-grid, .home-columns { grid-template-columns: minmax(0, 1fr); }
  .edition-card-art { min-height: 88px; }
}
