/* Shared styles. Edit these files directly; no CSS framework or build step. */
@font-face {
  font-family: Inter;
  src: url('/public/website/fonts/inter-latin.woff2') format('woff2');
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
}
@font-face {
  font-family: Montserrat;
  src: url('/public/website/fonts/montserrat-latin.woff2') format('woff2');
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
}
@font-face {
  font-family: FuturaWabol;
  src: url('/public/website/fonts/futura.woff2') format('woff2');
  font-display: swap;
}
:root {
  --navy: #040854;
  --yellow: #ffd221;
  --text: #171717;
  --whatsapp: #20ce62;
  --container-width: 1440px;
  --section-gap: 60px;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 20px; }
body { margin: 0; color: var(--text); background: #fff; font-family: Inter, Arial, sans-serif; font-size: 18px; line-height: 1.3; }
body, button, input, textarea { -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; height: auto; }
button, input, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button { cursor: pointer; }
a { color: inherit; text-decoration: none; }
a:hover { text-decoration: underline; }
/* Inline text links share a yellow underline that grows on interaction. */
:where(p, li, dd, figcaption, label, .article-body, .legal-document) a[href]:not(:where(.button, [role="button"], [data-article-image], .article-video-link)):not(:has(img, svg)) {
  color: var(--navy);
  text-decoration: none;
  background-image: linear-gradient(var(--yellow), var(--yellow));
  background-position: 0 100%;
  background-repeat: no-repeat;
  background-size: 100% 2px;
  padding-bottom: .08em;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
  transition: background-size .18s ease;
}
:where(p, li, dd, figcaption, label, .article-body, .legal-document) a[href]:not(:where(.button, [role="button"], [data-article-image], .article-video-link)):not(:has(img, svg)):is(:hover, :focus-visible) {
  background-size: 100% .3em;
}
button:focus-visible, a:focus-visible, input:focus-visible, textarea:focus-visible { outline: 3px solid #1478db; outline-offset: 4px; }
h1, h2, h3 { font-family: Montserrat, Arial, sans-serif; margin: 0 0 24px; line-height: 1.3; }
h2 { font-size: 26px; font-weight: 700; }
p { margin: 0 0 20px; }
p:last-child { margin-bottom: 0; }
sup { font-size: .64em; line-height: 0; vertical-align: super; }
ul { padding-left: 30px; margin: 0 0 30px; }
li + li { margin-top: 12px; }
[hidden] { display: none !important; }
.container { width: min(100%, var(--container-width)); margin-inline: auto; padding-inline: 10px; }
.section-gap { margin-top: var(--section-gap); }
.two-columns { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px; }
.icon-definitions { position: absolute; width: 0; height: 0; overflow: hidden; }
.icon { width: 24px; height: 24px; flex-shrink: 0; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
.skip-link { position: fixed; left: 15px; top: -80px; z-index: 100; background: #fff; color: var(--navy); padding: 12px; }
.skip-link:focus { top: 15px; }
.button { display: inline-flex; align-items: center; justify-content: center; border: 0; border-radius: 2px; padding: 12px 25px; background: var(--yellow); color: var(--navy); box-shadow: 0 3px 10px #0003; font-family: Montserrat, Arial, sans-serif; font-size: 16px; font-weight: 700; line-height: 1; text-transform: uppercase; letter-spacing: 1px; text-align: center; }
.button:hover { text-decoration: none; filter: brightness(.96); }
.button--navy { background: var(--navy); color: var(--yellow); }
.button--outline { background: transparent; color: #fff; border: 1px solid #fff; box-shadow: none; }
.button--small { padding: 10px 20px; font-size: 12px; }
/* Shared header and navigation styles live in header.css. */
/* Reusable contact links and news cards */
.contact-links { display: flex; flex-wrap: wrap; gap: 30px 60px; align-items: center; }
.contact-link { display: flex; align-items: flex-start; gap: 16px; }
.contact-link .icon { width: 48px; height: 48px; }
.contact-link strong { display: block; font-family: Montserrat, Arial, sans-serif; font-size: 22px; font-weight: 600; margin: 4px 0 7px; }
.contact-link small { display: block; font-size: 18px; }
.contact-link .whatsapp-icon { color: var(--whatsapp); }
.contact-link .mail-icon { color: var(--yellow); stroke-width: 2.3; }
.contact-links--compact { justify-content: center; gap: 45px; font-size: 16px; }
.contact-links--compact .contact-link { align-items: center; gap: 8px; }
.contact-links--compact .icon { width: 18px; height: 18px; color: var(--text); }
.contact-links--compact strong { font: inherit; margin: 0; }
.news-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.news-card h3 { font-size: 18px; font-weight: 600; color: var(--navy); margin: 14px 0 8px; }
.news-card p { font-size: 14px; line-height: 1.45; margin-bottom: 14px; }
.news-image { display: block; }
.news-image img { width: 100%; height: 222px; object-fit: cover; }
.read-more { font-size: 16px; font-style: italic; color: var(--navy); font-weight: 600; }
.news-image-placeholder { display: flex; align-items: center; justify-content: center; background: var(--yellow); }
.news-image-placeholder img { width: 95px; height: 95px; object-fit: contain; }
.all-news-link { margin-top: 25px; font-size: 15px; font-weight: 600; color: var(--navy); }
/* Shared footer and partners/press styles live in footer.css and supporters.css. */
/* Other Spanish pages share this frame while their layouts are built. */
.content-page { padding-block: 65px 100px; min-height: 60vh; }
.content-page h1 { font-size: clamp(30px,4vw,46px); color: var(--navy); margin-bottom: 45px; }
.content-page .contact-links { margin: 40px 0; }
.gallery-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 25px; }
.gallery-grid img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.video-dialog { width: min(1000px,92vw); padding: 0; overflow: visible; background: #000; border: 0; }
.video-dialog::backdrop { background: #000d; }
.video-dialog iframe { display: block; width: 100%; aspect-ratio: 16 / 9; border: 0; }
.video-close { position: absolute; right: 0; top: -48px; background: transparent; border: 0; color: #fff; font-size: 38px; }
@media (max-width: 1450px) {
  .container { padding-inline: 35px; }
}
@media (max-width: 1100px) {
  .contact-link strong { font-size: 18px; }
  .contact-links { gap: 25px; }
}
@media (max-width: 900px) {
  :root { --section-gap: 45px; }
  body { font-size: 16px; line-height: 1.5; }
  h2 { font-size: 24px; }
  .container { padding-inline: 24px; }
  .two-columns { gap: 28px; }
  .contact-link .icon { width: 38px; height: 38px; }
  .contact-link small { font-size: 15px; }
  .news-grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 35px 20px; }
  .news-image img { height: auto; aspect-ratio: 16 / 10; }
  .gallery-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
}
@media (max-width: 600px) {
  .container { padding-inline: 20px; }
  .two-columns { grid-template-columns: 1fr; }
  .contact-links { gap: 20px; }
  .contact-link { gap: 12px; }
  .contact-link strong { font-size: 17px; }
  .contact-link small { font-size: 14px; }
  .contact-links--compact { gap: 18px 25px; }
  .button { font-size: 13px; padding: 13px 20px; }
  .news-grid { grid-template-columns: 1fr; gap: 35px; }
  .news-card h3 { font-size: 18px; }
  .news-card p { font-size: 15px; }
  .gallery-grid { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  :where(p, li, dd, figcaption, label, .article-body, .legal-document) a[href]:not(:where(.button, [role="button"], [data-article-image], .article-video-link)):not(:has(img, svg)) { transition: none; }
}
