/* GOYA Journal — styles are scoped to the new news templates only. No font downloads. */
body.goya-news-experience .site-main.gn-page {
  --gn-ink: var(--goya-black, #111);
  --gn-accent: var(--goya-red, #d9000d);
  --gn-muted: #636870;
  --gn-line: #e6e7ea;
  --gn-soft: #f5f6f7;
  --gn-sticky-top: 20px;
  margin: 0; padding: 0; max-width: none; width: 100%; overflow: visible;
  background: #fff; color: var(--gn-ink); font-family: var(--goya-font-sans, inherit);
  font-size: 16px; line-height: 1.65; text-align: left;
}
.gn-page *, .gn-page *::before, .gn-page *::after { box-sizing: border-box; }
.gn-page [hidden] { display: none !important; }
.gn-page :where(h1,h2,h3,h4,h5,h6,p,figure,ul,ol) { margin: 0; }
.gn-page :where(a,button,input,select,textarea,summary) { font-family: var(--goya-font-sans, inherit); }
.gn-page :where(h1,h2,h3,h4,h5,h6) { font-family: var(--goya-font-sans, inherit) !important; color: var(--gn-ink); font-weight: 800; text-transform: none; }
.gn-page a { color: inherit; text-decoration: none; overflow-wrap: anywhere; }
.gn-page a:hover { color: var(--gn-accent); }
.gn-page :where(a,button,input,textarea,summary,[tabindex]):focus-visible { outline: 3px solid var(--gn-accent); outline-offset: 4px; }
.gn-page button { cursor: pointer; }
.gn-page .gn-shell { width: 100%; max-width: 1440px; margin-inline: auto; padding: 32px 40px 80px; }
.gn-page .gn-sr { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.gn-page .gn-breadcrumb { display: flex; flex-wrap: wrap; gap: 8px; font-size: 13px; color: var(--gn-muted); margin: 0 0 32px; line-height: 1.55; }
.gn-page .gn-breadcrumb a { text-decoration: underline; text-decoration-color: transparent; text-underline-offset: 3px; }
.gn-page .gn-breadcrumb a:hover { text-decoration-color: currentColor; }
.gn-page .gn-eyebrow { color: var(--gn-accent); display: flex; flex-wrap: wrap; align-items: center; gap: 9px; font-size: 11px; font-weight: 800; letter-spacing: .14em; line-height: 1.6; text-transform: uppercase; }
.gn-page .gn-heading .gn-eyebrow > span { width: 7px; height: 7px; background: var(--gn-accent); border-radius: 50%; }
.gn-page .gn-heading { display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; padding-bottom: 32px; }
.gn-page .gn-heading > div { min-width: 0; }
.gn-page .gn-heading h1 { font-size: clamp(36px, 5vw, 64px); line-height: 1.1; letter-spacing: -.035em; margin: 8px 0 16px; overflow-wrap: anywhere; }
.gn-page .gn-intro { color: var(--gn-muted); font-size: 17px; max-width: 620px; line-height: 1.7; }
.gn-page .gn-explore { flex-shrink: 0; display: inline-flex; align-items: center; gap: 16px; font-size: 13px; font-weight: 800; min-height: 44px; padding: 8px 0; }
.gn-page svg { flex-shrink: 0; vertical-align: middle; }
.gn-page .gn-feature-wrap { margin: 0 0 56px; }
.gn-page .gn-card { min-width: 0; border: 1px solid var(--gn-line); border-radius: 18px; overflow: hidden; display: flex; flex-direction: column; background: #fff; }
.gn-page .gn-card-image { display: flex; align-items: center; justify-content: center; aspect-ratio: 16/10; overflow: hidden; background: var(--gn-soft); flex-shrink: 0; }
.gn-page .gn-card-image img { margin: 0; width: 100%; height: 100%; max-width: 100%; object-fit: cover; border-radius: 0; transition: transform .35s ease; }
@media (hover: hover) { .gn-page .gn-card-image:hover img { transform: scale(1.035); } }
.gn-page .gn-card-copy { padding: 22px 24px 16px; display: flex; flex-direction: column; flex: 1; min-width: 0; }
.gn-page .gn-card-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 14px; color: var(--gn-muted); font-size: 12px; line-height: 1.6; margin-bottom: 12px; }
.gn-page .gn-category { color: var(--gn-accent); font-weight: 800; }
.gn-page .gn-card h2 { font-size: 21px; line-height: 1.4; letter-spacing: -.018em; margin: 0 0 10px; overflow-wrap: anywhere; }
.gn-page .gn-card p { font-size: 15px; line-height: 1.7; color: var(--gn-muted); margin: 0 0 20px; overflow-wrap: anywhere; }
.gn-page .gn-read { display: flex; align-items: center; justify-content: space-between; gap: 14px; min-height: 44px; margin-top: auto; border-top: 1px solid var(--gn-line); padding-top: 10px; padding-bottom: 4px; font-size: 13px; font-weight: 800; color: var(--gn-ink); }
.gn-page .gn-read svg { width: 22px; height: 22px; color: var(--gn-accent); }
.gn-page .gn-feature { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); background: #f6f6f5; border-color: transparent; border-radius: 24px; }
.gn-page .gn-feature .gn-card-image { aspect-ratio: 16/11; height: 100%; min-height: 370px; }
.gn-page .gn-feature .gn-card-copy { padding: clamp(24px, 3vw, 48px); justify-content: center; }
.gn-page .gn-feature-label { color: var(--gn-muted); font-size: 10px; letter-spacing: .14em; font-weight: 800; margin: 6px 0 12px; }
.gn-page .gn-feature h2 { font-size: clamp(24px, 2.5vw, 35px); line-height: 1.28; margin-bottom: 16px; }
.gn-page .gn-feature .gn-read { margin-top: 4px; max-width: 185px; border: 0; }
.gn-page .gn-placeholder { background: linear-gradient(140deg, #e9e9eb, #f6f6f7); color: #9e1420; width: 100%; height: 100%; min-height: 160px; display: flex; align-items: center; justify-content: center; flex-direction: column; }
.gn-page .gn-placeholder > span { font-size: clamp(36px, 5vw, 68px); font-weight: 900; font-style: italic; letter-spacing: -.055em; }
.gn-page .gn-placeholder > small { font-size: 11px; letter-spacing: .28em; font-weight: 700; }
.gn-page .gn-section-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 22px; }
.gn-page .gn-section-heading h2 { font-size: 28px; letter-spacing: -.025em; line-height: 1.3; margin: 5px 0 0; }
.gn-page .gn-count { color: var(--gn-muted); font-size: 12px; text-align: right; }
.gn-page .gn-toolbar { display: flex; align-items: center; min-width: 0; gap: 24px; padding: 0 0 22px; border-bottom: 1px solid var(--gn-line); margin-bottom: 28px; }
.gn-page .gn-categories { display: flex; flex: 1; gap: 8px; min-width: 0; overflow-x: auto; overscroll-behavior-inline: contain; padding: 4px 2px 8px; scrollbar-width: thin; scrollbar-color: #cbccd1 transparent; }
.gn-page .gn-categories a { flex: 0 0 auto; min-height: 44px; display: inline-flex; align-items: center; white-space: nowrap; border: 1px solid var(--gn-line); border-radius: 999px; padding: 9px 18px; font-size: 13px; font-weight: 700; }
.gn-page .gn-categories a.is-active { background: var(--gn-ink); color: #fff; border-color: var(--gn-ink); }
.gn-page .gn-search { display: flex; flex: 0 0 256px; width: 256px; min-width: 0; border: 1px solid var(--gn-line); border-radius: 12px; background: #fff; margin: 0; }
.gn-page .gn-search input { width: 100%; min-width: 0; border: 0; border-radius: 12px 0 0 12px; box-shadow: none; height: 46px; margin: 0; padding: 10px 14px; color: var(--gn-ink); background: transparent; font-size: 16px; line-height: 1.4; }
.gn-page .gn-search button { border: 0; margin: 0; padding: 0; width: 46px; min-height: 46px; flex-shrink: 0; background: transparent; color: var(--gn-ink); border-radius: 0 12px 12px 0; display: grid; place-items: center; }
.gn-page .gn-filter-state { margin: 0 0 24px; color: var(--gn-muted); font-size: 14px; overflow-wrap: anywhere; }
.gn-page .gn-filter-state a { display: inline-block; color: var(--gn-accent); text-decoration: underline; margin-left: 10px; padding-block: 8px; }
.gn-page .gn-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px 24px; }
.gn-page .gn-pagination { margin-top: 36px; }
.gn-page .gn-pagination ul { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; padding: 0; margin: 0; list-style: none; }
.gn-page .gn-pagination li { margin: 0; padding: 0; list-style: none; }
.gn-page .gn-pagination :where(a,span).page-numbers, .gn-page .gn-content-pages > :where(a,span) { display: inline-flex; align-items: center; justify-content: center; min-width: 44px; min-height: 44px; border: 1px solid var(--gn-line); padding: 8px 12px; border-radius: 10px; font-size: 14px; font-weight: 700; }
.gn-page .gn-pagination .page-numbers.current, .gn-page .gn-content-pages [aria-current] { background: var(--gn-accent); border-color: var(--gn-accent); color: #fff; }
.gn-page .gn-pagination .page-numbers.dots { border-color: transparent; }
.gn-page .gn-empty { background: var(--gn-soft); padding: 48px 24px; border-radius: 20px; text-align: center; }
.gn-page .gn-empty .gn-eyebrow { display: block; }
.gn-page .gn-empty h2 { font-size: 26px; margin: 12px 0; }
.gn-page .gn-empty p { color: var(--gn-muted); margin-bottom: 16px; }
.gn-page .gn-empty .gn-read { display: inline-flex; border: 0; }
/* Article templates. */
.gn-page .gn-article-header { max-width: 980px; margin: 0 auto 32px; }
.gn-page .gn-article-header h1 { font-size: clamp(30px, 3.6vw, 48px); line-height: 1.22; letter-spacing: -.035em; margin: 14px 0 20px; overflow-wrap: anywhere; }
.gn-page .gn-article-meta { display: flex; flex-wrap: wrap; gap: 8px 18px; font-size: 13px; color: var(--gn-muted); margin-bottom: 16px; }
.gn-page .gn-article-meta > span::before { content: '·'; margin-right: 14px; }
.gn-page .gn-article-deck { font-size: 19px; color: #424850; line-height: 1.8; margin: 20px 0 24px; }
.gn-page .gn-share { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 22px; }
.gn-page .gn-share > span:first-child { font-size: 12px; color: var(--gn-muted); margin-right: 8px; }
.gn-page .gn-share :where(button,a) { border: 1px solid var(--gn-line); background: #fff; color: var(--gn-ink); border-radius: 999px; font-size: 12px; line-height: 1.4; padding: 10px 16px; min-height: 44px; display: inline-flex; align-items: center; justify-content: center; box-shadow: none; text-transform: none; }
.gn-page .gn-share-status { flex-basis: 100%; font-size: 13px; color: #3e5352; }
.gn-page .gn-share-status:empty { display: none; }
.gn-page .gn-copy-fallback { width: 100%; font-size: 16px; border: 1px solid var(--gn-line); border-radius: 8px; padding: 12px; }
.gn-page .gn-cover { margin: 0 0 44px; border-radius: 22px; overflow: hidden; background: var(--gn-soft); }
.gn-page .gn-cover-image { display: block; width: 100%; max-height: 680px; height: auto; object-fit: contain; margin: 0; }
.gn-page .gn-reading-layout { max-width: 1080px; margin-inline: auto; }
.gn-page .gn-reading-main { min-width: 0; width: 100%; max-width: 760px; margin-inline: auto; }
.gn-page .gn-reading-layout.gn-toc-ready { display: grid; grid-template-columns: 224px minmax(0, 760px); gap: 48px; align-items: start; }
.gn-page .gn-toc { position: sticky; top: var(--gn-sticky-top); max-height: calc(100vh - var(--gn-sticky-top) - 32px); overflow-y: auto; font-size: 13px; border: 1px solid var(--gn-line); border-radius: 16px; padding: 4px 18px; background: #fafafa; }
.gn-page .gn-toc summary { min-height: 50px; cursor: pointer; list-style: none; font-size: 14px; font-weight: 800; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.gn-page .gn-toc summary::-webkit-details-marker { display: none; }
.gn-page .gn-toc ol { padding: 0 0 14px; list-style: none; }
.gn-page .gn-toc li { margin: 0; }
.gn-page .gn-toc a { display: block; border-left: 2px solid transparent; padding: 10px 0 10px 10px; line-height: 1.55; }
.gn-page .gn-toc a[aria-current] { border-color: var(--gn-accent); color: var(--gn-accent); font-weight: 800; }
.gn-page .gn-toc .gn-toc-sub a { padding-left: 22px; font-size: 12px; }
body.goya-news-experience .gn-page .gn-prose { font-size: 18px; line-height: 1.85; color: #272c32; overflow-wrap: anywhere; }
body.goya-news-experience .gn-page .gn-prose :where(p,li,h2,h3,h4,h5,h6,blockquote,figcaption,td,th,span) { font-family: var(--goya-font-sans, inherit) !important; }
body.goya-news-experience .gn-page .gn-prose > :first-child { margin-top: 0; }
body.goya-news-experience .gn-page .gn-prose :where(p,ul,ol,figure,table,pre,blockquote) { margin: 0 0 1.3em; }
body.goya-news-experience .gn-page .gn-prose :where(h2,h3,h4) { line-height: 1.4; letter-spacing: -.015em; margin: 1.6em 0 .6em; scroll-margin-top: calc(var(--gn-sticky-top) + 20px); }
body.goya-news-experience .gn-page .gn-prose h2 { font-size: 28px; }
body.goya-news-experience .gn-page .gn-prose h3 { font-size: 23px; }
body.goya-news-experience .gn-page .gn-prose h4 { font-size: 20px; }
body.goya-news-experience .gn-page .gn-prose :where(ul,ol) { padding-left: 1.4em; }
body.goya-news-experience .gn-page .gn-prose li { margin: .4em 0; }
body.goya-news-experience .gn-page .gn-prose :where(ul,ol) :where(ul,ol) { margin-top: .5em; }
body.goya-news-experience .gn-page .gn-prose a { text-decoration: underline; text-underline-offset: 3px; color: #b3000b; }
body.goya-news-experience .gn-page .gn-prose img { max-width: 100% !important; height: auto !important; border-radius: 12px; margin-block: 12px; }
body.goya-news-experience .gn-page .gn-prose :where(figure,.wp-caption,.alignwide,.alignfull) { max-width: 100% !important; margin-inline: 0 !important; }
body.goya-news-experience .gn-page .gn-prose :where(iframe,video,embed,object) { max-width: 100%; }
body.goya-news-experience .gn-page .gn-prose video { height: auto; }
body.goya-news-experience .gn-page .gn-prose :where(figcaption,.wp-caption-text) { text-align: center; font-size: 13px; line-height: 1.65; color: var(--gn-muted); margin-top: 8px; }
body.goya-news-experience .gn-page .gn-prose blockquote { padding: 20px 24px; margin-inline: 0; background: var(--gn-soft); border-left: 3px solid var(--gn-accent); border-radius: 0 12px 12px 0; font-size: 1.04em; }
body.goya-news-experience .gn-page .gn-prose blockquote p:last-child { margin-bottom: 0; }
body.goya-news-experience .gn-page .gn-prose pre { overflow: auto; max-width: 100%; background: var(--gn-soft); padding: 16px; border-radius: 10px; font-size: 14px; white-space: pre; }
body.goya-news-experience .gn-page .gn-prose :where(code,pre) { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; }
body.goya-news-experience .gn-page .gn-prose hr { border: 0; border-top: 1px solid var(--gn-line); margin: 32px 0; }
body.goya-news-experience .gn-page .gn-prose table { display: block; overflow-x: auto; max-width: 100%; width: 100%; font-size: 15px; border-collapse: collapse; }
body.goya-news-experience .gn-page .gn-prose :where(td,th) { padding: 12px 16px; border: 1px solid var(--gn-line); text-align: left; min-width: 120px; }
body.goya-news-experience .gn-page .gn-prose th { background: var(--gn-soft); }
.gn-page .gn-table-scroll { width: 100%; max-width: 100%; overflow-x: auto; margin-bottom: 24px; }
.gn-page .gn-table-scroll table { display: table; overflow: visible; margin: 0; width: 100%; }
.gn-page .gn-tags { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; padding-top: 24px; margin-top: 24px; border-top: 1px solid var(--gn-line); font-size: 13px; }
.gn-page .gn-tags > span { color: var(--gn-muted); }
.gn-page .gn-tags a { padding: 10px 14px; border-radius: 999px; background: var(--gn-soft); min-height: 44px; }
.gn-page .gn-back { display: inline-flex; align-items: center; min-height: 44px; margin-top: 24px; font-size: 14px; color: var(--gn-accent); font-weight: 700; }
.gn-page .gn-related { padding-top: 44px; margin-top: 48px; border-top: 1px solid var(--gn-line); }
.gn-page .gn-comments { border-top: 1px solid var(--gn-line); margin-top: 32px; padding-top: 24px; }
.gn-page .gn-comments :where(input,textarea) { font-size: 16px; padding: 12px; max-width: 100%; border: 1px solid var(--gn-line); border-radius: 10px; }
.gn-page .gn-comments :where(input[type=submit],button) { background: var(--gn-accent); color: white; min-height: 44px; }
.gn-page .gn-stories { scroll-margin-top: calc(var(--gn-sticky-top) + 20px); }
@media (max-width: 1023px) {
  .gn-page .gn-shell { padding-inline: 24px; }
  .gn-page .gn-grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 24px; }
  .gn-page .gn-feature .gn-card-copy { padding: 24px; }
  .gn-page .gn-reading-layout.gn-toc-ready { display: flex; flex-direction: column; gap: 24px; }
  .gn-page .gn-toc { position: static; max-height: none; width: 100%; max-width: 760px; margin-inline: auto; }
  .gn-page .gn-heading > .gn-explore { display: none; }
  .gn-page .gn-toolbar { flex-direction: column; align-items: stretch; gap: 12px; }
  .gn-page .gn-categories { width: 100%; flex: auto; }
  .gn-page .gn-search { flex: auto; width: 100%; }
}
@media (max-width: 767px) {
  .gn-page .gn-shell { padding: 22px max(16px, env(safe-area-inset-right)) 52px max(16px, env(safe-area-inset-left)); }
  .gn-page .gn-breadcrumb { font-size: 12px; margin-bottom: 24px; }
  .gn-page .gn-heading { padding-bottom: 24px; }
  .gn-page .gn-heading h1 { font-size: 38px; }
  .gn-page .gn-intro { font-size: 15px; line-height: 1.7; }
  .gn-page .gn-feature-wrap { margin-bottom: 36px; }
  .gn-page .gn-feature { display: flex; border-radius: 18px; }
  .gn-page .gn-feature .gn-card-image { width: 100%; aspect-ratio: 16/10; min-height: 0; height: auto; }
  .gn-page .gn-feature h2 { font-size: 26px; }
  .gn-page .gn-feature .gn-card-copy { padding: 22px; }
  .gn-page .gn-section-heading { align-items: flex-start; flex-wrap: wrap; gap: 12px; }
  .gn-page .gn-section-heading h2 { font-size: 25px; }
  .gn-page .gn-count { font-size: 12px; text-align: left; }
  .gn-page .gn-toolbar { padding-bottom: 18px; margin-bottom: 22px; }
  .gn-page .gn-categories a { padding: 9px 16px; }
  .gn-page .gn-card-copy { padding: 20px 20px 14px; }
  .gn-page .gn-article-header h1 { font-size: 30px; letter-spacing: -.025em; }
  .gn-page .gn-article-header .gn-eyebrow { font-size: 10px; }
  .gn-page .gn-article-header { margin-bottom: 24px; }
  .gn-page .gn-article-meta { gap: 6px 12px; font-size: 12px; }
  .gn-page .gn-article-deck { font-size: 17px; }
  .gn-page .gn-share > span:first-child { flex-basis: 100%; }
  .gn-page .gn-share :where(a,button) { font-size: 12px; padding-inline: 13px; }
  .gn-page .gn-cover { border-radius: 14px; margin-bottom: 24px; }
  body.goya-news-experience .gn-page .gn-prose { font-size: 17px; line-height: 1.8; }
  body.goya-news-experience .gn-page .gn-prose h2 { font-size: 24px; }
  body.goya-news-experience .gn-page .gn-prose h3 { font-size: 21px; }
  body.goya-news-experience .gn-page .gn-prose blockquote { padding: 18px; }
  .gn-page .gn-related { padding-top: 28px; margin-top: 36px; }
  .gn-page .gn-empty { padding: 32px 20px; }
}
@media (max-width: 639px) { .gn-page .gn-grid { grid-template-columns: minmax(0,1fr); } }
/* 1.5.1: Two-column news listing on phones. Featured article and single-post
   related cards retain their existing layout; no query or content changes. */
@media (max-width: 767px) {
  .gn-page.gn-index .gn-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px 12px;
  }
  .gn-page.gn-index .gn-grid > .gn-card { border-radius: 12px; }
  .gn-page.gn-index .gn-grid > .gn-card .gn-card-copy { padding: 12px 10px 8px; }
  .gn-page.gn-index .gn-grid > .gn-card .gn-card-meta {
    flex-direction: column; align-items: flex-start; gap: 4px;
    font-size: 11px; line-height: 1.5; margin-bottom: 8px;
  }
  .gn-page.gn-index .gn-grid > .gn-card .gn-card-meta > * { max-width: 100%; overflow-wrap: anywhere; }
  .gn-page.gn-index .gn-grid > .gn-card h2 {
    font-size: 15px; line-height: 1.45; letter-spacing: -.01em; margin-bottom: 8px;
  }
  .gn-page.gn-index .gn-grid > .gn-card p {
    font-size: 13px; line-height: 1.6; margin-bottom: 12px;
    display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 3; overflow: hidden;
  }
  .gn-page.gn-index .gn-grid > .gn-card .gn-read {
    font-size: 12px; gap: 6px; min-height: 44px; padding-top: 8px;
  }
  .gn-page.gn-index .gn-grid > .gn-card .gn-read svg { width: 18px; height: 18px; }
  .gn-page.gn-index .gn-grid > .gn-card .gn-placeholder { min-height: 0; }
  .gn-page.gn-index .gn-grid > .gn-card .gn-placeholder > span { font-size: 30px; }
  .gn-page.gn-index .gn-grid > .gn-card .gn-placeholder > small { font-size: 9px; letter-spacing: .15em; }
}
@media (max-width: 359px) {
  .gn-page.gn-index .gn-grid { gap: 16px 10px; }
  .gn-page.gn-index .gn-grid > .gn-card h2 { font-size: 14px; }
}
@media (prefers-reduced-motion: reduce) { .gn-page *, .gn-page *::before, .gn-page *::after { scroll-behavior: auto !important; transition: none !important; animation: none !important; } }
