:root {
    --fw-red: #a91d20;
    --fw-red-dark: #801416;
    --fw-ink: #17191d;
    --fw-muted: #62645f;
    --fw-paper: #f8f5ef;
    --fw-cream: #eee3d2;
    --fw-line: #ddd7cd;
    --fw-white: #fff;
    --fw-max: 1480px;
    --fw-serif: Georgia, "Times New Roman", serif;
    --fw-sans: Inter, "Segoe UI", Arial, sans-serif;
    --fw-shadow: 0 14px 34px rgba(40, 27, 14, .09);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    background: var(--fw-paper);
    color: var(--fw-ink);
    font-family: var(--fw-sans);
    font-size: 16px;
    line-height: 1.55;
    -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration-thickness: .08em; text-underline-offset: .18em; }
button, input, textarea, select { font: inherit; }
.screen-reader-text {
    position: absolute !important;
    width: 1px; height: 1px; padding: 0; margin: -1px;
    overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}
.fw-skip-link {
    position: fixed; top: 8px; left: 8px; z-index: 1000;
    padding: 10px 16px; background: var(--fw-ink); color: var(--fw-white);
    transform: translateY(-150%);
}
.fw-skip-link:focus { transform: translateY(0); }

.fw-header {
    position: sticky; top: 0; z-index: 100;
    background: rgba(255, 255, 255, .97);
    border-bottom: 1px solid rgba(23, 25, 29, .09);
}
.fw-header-inner {
    width: min(calc(100% - 48px), var(--fw-max));
    min-height: 86px; margin: 0 auto;
    display: grid; grid-template-columns: 250px 1fr auto; align-items: center; gap: 34px;
}
.fw-brand { display: inline-flex; align-items: center; text-decoration: none; }
.fw-brand > img, .fw-brand .custom-logo { width: auto; height: 56px; object-fit: contain; }
.fw-brand .custom-logo-link { display: block; }
.fw-navigation { min-width: 0; }
.fw-menu { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 5px 22px; margin: 0; padding: 0; list-style: none; }
.fw-menu a {
    position: relative; display: block; padding: 29px 0 25px;
    color: var(--fw-ink); font-size: 12px; font-weight: 750; letter-spacing: .035em; text-decoration: none; text-transform: uppercase;
}
.fw-menu a::after {
    content: ""; position: absolute; left: 0; right: 0; bottom: 18px; height: 2px;
    background: var(--fw-red); transform: scaleX(0); transform-origin: left; transition: transform .2s ease;
}
.fw-menu a:hover::after, .fw-menu .current-menu-item > a::after { transform: scaleX(1); }
.fw-language {
    display: flex; align-items: center; gap: 5px; padding-left: 18px;
    border-left: 1px solid var(--fw-line); font-size: 11px; font-weight: 800;
}
.fw-language-option {
    min-height: 30px; display: inline-flex; align-items: center; gap: 5px; padding: 5px 7px;
    border: 1px solid transparent; border-radius: 4px; text-decoration: none; white-space: nowrap;
}
.fw-language-option img { width: 21px; height: 14px; border: 1px solid rgba(23, 25, 29, .16); object-fit: cover; }
.fw-language-option.is-active { background: var(--fw-paper); border-color: var(--fw-line); color: var(--fw-ink); }
.fw-language-option.is-active:hover, .fw-language-option.is-active:focus-visible { border-color: var(--fw-red); }
.fw-language-option.is-pending { color: var(--fw-muted); cursor: help; opacity: .78; }
.fw-menu-toggle { display: none; width: 44px; height: 44px; padding: 10px; background: transparent; border: 0; cursor: pointer; }
.fw-menu-toggle > span:not(.screen-reader-text) { display: block; width: 23px; height: 2px; margin: 5px auto; background: var(--fw-ink); }
.fw-navigation-heading, .fw-menu-close { display: none; }

.fw-main { min-height: 65vh; }
.fw-hero {
    --fw-hero-image: none;
    background-image: linear-gradient(90deg, rgba(249, 246, 240, .98) 0%, rgba(249, 246, 240, .94) 30%, rgba(249, 246, 240, .32) 55%, rgba(249, 246, 240, .02) 100%), var(--fw-hero-image);
    background-position: center; background-size: cover;
    border-bottom: 1px solid rgba(23, 25, 29, .1);
}
.fw-hero-inner {
    width: min(calc(100% - 48px), var(--fw-max)); min-height: 540px; margin: 0 auto;
    display: flex; align-items: center;
}
.fw-hero-copy { width: min(650px, 50%); padding: 58px 0 64px; }
.fw-eyebrow { margin: 0 0 13px; color: var(--fw-red); font-size: 17px; font-weight: 850; letter-spacing: .02em; text-transform: uppercase; }
.fw-hero h1 { max-width: 650px; margin: 0; font-family: var(--fw-serif); font-size: clamp(46px, 5vw, 77px); font-weight: 500; letter-spacing: -.035em; line-height: .99; }
.fw-dates { margin: 22px 0 3px; color: var(--fw-red); font-size: clamp(22px, 2vw, 31px); font-weight: 850; }
.fw-location { max-width: 470px; margin: 0; font-size: 18px; }
.fw-claim { margin: 28px 0 0; font-size: 17px; font-weight: 850; letter-spacing: .035em; }
.fw-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 28px; }
.fw-button {
    display: inline-flex; min-height: 50px; align-items: center; justify-content: center; padding: 12px 24px;
    border: 1px solid var(--fw-ink); border-radius: 3px; font-size: 13px; font-weight: 800; letter-spacing: .025em; text-decoration: none; text-transform: uppercase;
    transition: background .2s ease, color .2s ease, transform .2s ease;
}
.fw-button:hover { transform: translateY(-2px); }
.fw-button-primary { background: var(--fw-red); border-color: var(--fw-red); color: var(--fw-white); }
.fw-button-primary:hover { background: var(--fw-red-dark); }
.fw-button-secondary { background: rgba(255,255,255,.72); }
.fw-button-secondary:hover { background: var(--fw-white); }

.fw-icon { width: 24px; height: 24px; flex: 0 0 auto; }
.fw-quick-links {
    width: min(calc(100% - 48px), var(--fw-max)); margin: 0 auto; padding: 22px 0;
    display: grid; grid-template-columns: repeat(6, 1fr); border-bottom: 1px solid var(--fw-line);
}
.fw-quick-links a {
    min-height: 72px; display: flex; align-items: center; gap: 13px; padding: 10px 17px;
    border-right: 1px solid var(--fw-line); color: var(--fw-ink); font-size: 13px; font-weight: 700; line-height: 1.3; text-decoration: none;
}
.fw-quick-links a:first-child { padding-left: 0; }
.fw-quick-links a:last-child { border-right: 0; }
.fw-quick-links a:hover { color: var(--fw-red); }
.fw-quick-links .fw-icon { width: 31px; height: 31px; color: var(--fw-red); }

.fw-home-grid {
    width: min(calc(100% - 48px), var(--fw-max)); margin: 0 auto; padding: 38px 0 22px;
    display: grid; grid-template-columns: minmax(0, 1fr) 350px; gap: 32px;
    grid-template-areas: "agenda edition" "news edition";
}
.fw-agenda-section { grid-area: agenda; }
.fw-news-section { grid-area: news; }
.fw-section { margin-bottom: 42px; }
.fw-section-heading { display: flex; align-items: end; justify-content: space-between; gap: 20px; margin-bottom: 17px; }
.fw-section-heading h2 { margin: 0; font-size: 24px; letter-spacing: -.025em; text-transform: uppercase; }
.fw-section-heading h2::after { content: ""; display: block; width: 46px; height: 3px; margin-top: 9px; background: var(--fw-red); }
.fw-section-heading > a { display: inline-flex; align-items: center; gap: 7px; font-size: 12px; font-weight: 800; text-decoration: none; text-transform: uppercase; }
.fw-section-heading > a .fw-icon { width: 17px; height: 17px; }
.fw-content-panel { min-height: 150px; padding: 20px; background: #f2e9dc; border-radius: 5px; }
.fw-content-panel .scgm-empty, .fw-empty { grid-column: 1 / -1; margin: 0; padding: 34px 24px; color: var(--fw-muted); text-align: center; }

.fw-edition-panel {
    position: sticky; top: 118px; align-self: start; overflow: hidden;
    grid-area: edition;
    background: linear-gradient(145deg, #b12628, #8c1114); border-radius: 4px; box-shadow: var(--fw-shadow); color: var(--fw-white);
}
.fw-edition-panel h2 { margin: 0; padding: 26px 24px 17px; font-size: 25px; text-transform: uppercase; }
.fw-edition-panel > a {
    min-height: 53px; display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 12px 22px;
    border-top: 1px solid rgba(255,255,255,.22); font-size: 14px; font-weight: 750; text-decoration: none; text-transform: uppercase;
}
.fw-edition-panel > a span { display: inline-flex; align-items: center; gap: 12px; }
.fw-edition-panel > a:hover { background: rgba(0,0,0,.12); }
.fw-edition-panel .fw-icon { width: 21px; height: 21px; }
.fw-news-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.fw-news-card { min-width: 0; overflow: hidden; background: var(--fw-white); border: 1px solid var(--fw-line); border-radius: 3px; }
.fw-news-card > a { display: block; height: 100%; text-decoration: none; }
.fw-news-image { aspect-ratio: 16 / 9; display: grid; place-items: center; overflow: hidden; background: var(--fw-cream); color: var(--fw-red); }
.fw-news-image img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.fw-news-card:hover .fw-news-image img { transform: scale(1.035); }
.fw-news-image .fw-icon { width: 38px; height: 38px; }
.fw-news-body { padding: 15px 16px 18px; }
.fw-news-body time { color: var(--fw-red); font-size: 11px; font-weight: 800; text-transform: uppercase; }
.fw-news-body h3 { margin: 7px 0 0; font-size: 17px; line-height: 1.3; }
.fw-sponsors { width: min(calc(100% - 48px), var(--fw-max)); margin: 10px auto 55px; }
.fw-sponsors .fw-content-panel { min-height: 0; padding: 18px 22px; background: var(--fw-white); border: 1px solid var(--fw-line); }
.fw-sponsor-strip { width: 100%; height: auto; object-fit: contain; }

.fw-institutional {
    width: min(calc(100% - 48px), var(--fw-max)); margin: 8px auto 48px;
    display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 28px;
}
.fw-history-callout {
    min-height: 310px; padding: 42px; display: flex; flex-direction: column; align-items: start; justify-content: center;
    background: linear-gradient(125deg, #f1e8dc, #fbf8f2); border: 1px solid var(--fw-line); border-radius: 5px;
}
.fw-history-callout .fw-eyebrow { margin-bottom: 8px; font-size: 14px; }
.fw-history-callout h2 { max-width: 700px; margin: 0; font-family: var(--fw-serif); font-size: clamp(34px, 4vw, 54px); font-weight: 500; line-height: 1.02; }
.fw-history-callout p:not(.fw-eyebrow) { max-width: 720px; margin: 18px 0 24px; color: var(--fw-muted); font-size: 17px; }
.fw-poster-card { min-height: 310px; display: grid; grid-template-columns: 44% 1fr; overflow: hidden; background: var(--fw-white); border: 1px solid var(--fw-line); border-radius: 5px; text-decoration: none; }
.fw-poster-card > img { width: 100%; height: 100%; object-fit: cover; object-position: center top; }
.fw-poster-placeholder { display: grid; place-items: center; background: #ece3d7; color: var(--fw-red); }
.fw-poster-placeholder .fw-icon { width: 56px; height: 56px; }
.fw-poster-copy { padding: 28px 24px; display: flex; flex-direction: column; justify-content: end; }
.fw-poster-copy strong { font-family: var(--fw-serif); font-size: 29px; font-weight: 500; line-height: 1.06; }
.fw-poster-copy small { margin-top: 12px; color: var(--fw-muted); font-size: 13px; line-height: 1.4; }
.fw-poster-card:hover { border-color: var(--fw-red); }

.fw-page-shell { width: min(calc(100% - 48px), 1220px); margin: 0 auto; padding: 70px 0 90px; }
.fw-page-header { max-width: 900px; margin-bottom: 44px; }
.fw-page-header h1 { margin: 0; overflow-wrap: anywhere; font-family: var(--fw-serif); font-size: clamp(42px, 5vw, 70px); font-weight: 500; letter-spacing: -.035em; line-height: 1.04; }
.fw-page-header time { display: block; margin-top: 18px; color: var(--fw-muted); }
.fw-entry-content { font-family: var(--fw-serif); font-size: 19px; }
.fw-entry-content > * { max-width: 780px; margin-left: auto; margin-right: auto; }
.fw-entry-content > .alignwide { max-width: 1120px; }
.fw-entry-content > .alignfull { max-width: none; }
.fw-featured-image { max-width: 1120px; margin: 0 auto 40px; }
.fw-featured-image img { width: 100%; }
.fw-archive-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 25px; }
.fw-archive-card { overflow: hidden; background: var(--fw-white); border: 1px solid var(--fw-line); border-radius: 4px; }
.fw-archive-card > a { display: block; height: 100%; text-decoration: none; }
.fw-archive-image { aspect-ratio: 16 / 10; overflow: hidden; }
.fw-archive-image img { width: 100%; height: 100%; object-fit: cover; }
.fw-archive-body { padding: 22px; }
.fw-archive-body time { color: var(--fw-red); font-size: 12px; font-weight: 800; text-transform: uppercase; }
.fw-archive-body h2 { margin: 8px 0 10px; font-family: var(--fw-serif); font-size: 28px; line-height: 1.08; }
.fw-not-found { max-width: 820px; text-align: center; }
.fw-not-found h1 { margin: 0; font-family: var(--fw-serif); font-size: clamp(42px, 6vw, 72px); }
.fw-not-found .fw-button { margin-top: 25px; }

.fw-footer { background: #22211f; color: rgba(255,255,255,.82); }
.fw-footer-inner {
    width: min(calc(100% - 48px), var(--fw-max)); min-height: 150px; margin: 0 auto; padding: 30px 0;
    display: grid; grid-template-columns: 250px 1fr auto auto; align-items: center; gap: 34px;
}
.fw-footer-brand a { display: inline-block; }
.fw-footer-brand img { width: 210px; height: auto; padding: 8px; background: var(--fw-white); }
.fw-footer-brand p { margin: 8px 0 0; font-size: 12px; }
.fw-footer-menu { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px 24px; margin: 0; padding: 0; list-style: none; }
.fw-footer-menu a { font-size: 12px; font-weight: 700; text-decoration: none; text-transform: uppercase; }
.fw-footer-menu a:hover { color: var(--fw-white); text-decoration: underline; }
.fw-social { display: grid; justify-items: start; gap: 9px; }
.fw-social > strong { color: var(--fw-white); font-size: 11px; letter-spacing: .06em; text-transform: uppercase; }
.fw-social-links { display: flex; align-items: center; gap: 9px; }
.fw-social-links a { width: 35px; height: 35px; display: grid; place-items: center; border: 1px solid rgba(255,255,255,.3); border-radius: 50%; color: var(--fw-white); }
.fw-social-links a:hover { background: var(--fw-white); color: var(--fw-ink); }
.fw-social-icon { width: 18px; height: 18px; }
.fw-social-pending { max-width: 150px; color: rgba(255,255,255,.58); font-size: 11px; line-height: 1.35; }
.fw-copyright { margin: 0; font-size: 12px; }

.fw-history-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.fw-history-card { overflow: hidden; background: var(--fw-white); border: 1px solid var(--fw-line); border-radius: 5px; }
.fw-history-card > a { display: grid; grid-template-rows: 360px 1fr; height: 100%; text-decoration: none; }
.fw-history-poster { display: grid; place-items: center; overflow: hidden; background: #eee5d9; color: var(--fw-red); }
.fw-history-poster img { width: 100%; height: 100%; object-fit: cover; object-position: center top; }
.fw-history-poster .fw-icon { width: 52px; height: 52px; }
.fw-history-body { padding: 24px; }
.fw-history-body h2 { margin: 0; font-family: var(--fw-serif); font-size: 34px; font-weight: 500; }
.fw-history-body p { margin: 12px 0 0; color: var(--fw-muted); font-size: 15px; }
.fw-history-empty { padding: 36px; background: #f3ebdf; border-radius: 5px; color: var(--fw-muted); }
.fw-poster-page { display: grid; grid-template-columns: minmax(280px, 470px) minmax(0, 1fr); gap: 55px; align-items: start; }
.fw-poster-page img { width: 100%; height: auto; box-shadow: var(--fw-shadow); }
.fw-poster-page-copy h2 { margin-top: 0; font-family: var(--fw-serif); font-size: 38px; font-weight: 500; }
.fw-poster-page-copy p { color: var(--fw-muted); }

/* Normaliza las salidas públicas del plugin para que hereden la plantilla. */
.scgm-public-grid { display: grid; gap: 18px; }
.scgm-columns-1 { grid-template-columns: 1fr; }
.scgm-columns-2 { grid-template-columns: repeat(2, 1fr); }
.scgm-columns-3 { grid-template-columns: repeat(3, 1fr); }
.scgm-columns-4 { grid-template-columns: repeat(4, 1fr); }
.scgm-public-card { overflow: hidden; background: var(--fw-white); border: 1px solid var(--fw-line); border-radius: 4px; }
.scgm-public-card > a { display: block; height: 100%; text-decoration: none; }
.scgm-public-image { aspect-ratio: 4 / 3; overflow: hidden; }
.scgm-public-image img { width: 100%; height: 100%; object-fit: cover; }
.scgm-public-body { padding: 17px; }
.scgm-public-body h3 { margin: 0 0 7px; font-size: 19px; line-height: 1.2; }
.scgm-public-body p { margin: 5px 0 0; color: var(--fw-muted); font-size: 14px; }
.fw-entry-content > .scgm-participants-grid,
.fw-entry-content > .scg-participants { max-width: none; }
.fw-entry-content .scg-participants-header > div { display: none; }
.fw-entry-content .scg-participants-header { justify-content: flex-end; margin-bottom: 18px; }
.scgm-participants-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 22px; }
.scgm-participant-card {
    min-width: 0; border-radius: 6px; box-shadow: 0 8px 24px rgba(38, 30, 25, .08);
    transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.scgm-participant-card:hover { transform: translateY(-3px); border-color: rgba(166, 34, 37, .35); box-shadow: 0 14px 32px rgba(38, 30, 25, .14); }
.scgm-participant-card .scgm-public-image { aspect-ratio: 4 / 5; background: #eee6da; }
.scgm-participant-card .scgm-public-image img { object-position: center top; transition: transform .3s ease; }
.scgm-participant-card:hover .scgm-public-image img { transform: scale(1.025); }
.scgm-participant-card .scgm-public-body { min-height: 112px; padding: 19px 18px 21px; }
.scgm-participant-card .scgm-public-body h3 { margin-bottom: 8px; font-family: var(--fw-serif); font-size: 25px; font-weight: 600; line-height: 1.05; }
.scgm-participant-placeholder {
    position: relative; display: grid; place-items: end start; padding: 18px;
    background: linear-gradient(145deg, #eee4d6 0%, #f8f3eb 58%, #dfd0bd 100%);
    color: var(--fw-red);
}
.scgm-participant-placeholder::before {
    content: "32"; position: absolute; align-self: center; justify-self: center;
    font-family: var(--fw-serif); font-size: 72px; line-height: 1; opacity: .16;
}
.scgm-participant-placeholder span { position: relative; font-size: 11px; font-weight: 800; letter-spacing: .07em; text-transform: uppercase; }
.fw-entry-content > .scgm-exhibitions-grid { max-width: none; }
.scgm-exhibitions-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; }
.scgm-exhibition-card { min-width: 0; box-shadow: 0 8px 24px rgba(38, 30, 25, .08); }
.scgm-exhibition-card .scgm-public-image { aspect-ratio: 16 / 10; }
.scgm-exhibition-card .scgm-public-body { padding: 22px; }
.scgm-exhibition-card .scgm-public-body h3 { font-family: var(--fw-serif); font-size: 30px; font-weight: 600; }
.fw-arrival-intro { max-width: 780px; margin: 0 auto 34px; color: var(--fw-muted); font-family: var(--fw-sans); font-size: 17px; }
.fw-arrival-grid { max-width: 1120px; margin: 0 auto; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }
.fw-arrival-card { padding: 26px; background: var(--fw-white); border: 1px solid var(--fw-line); border-radius: 5px; }
.fw-arrival-card h2 { margin: 0 0 10px; font-family: var(--fw-serif); font-size: 29px; }
.fw-arrival-card p { margin: 0; color: var(--fw-muted); }
.scgm-program { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1px; overflow: hidden; background: rgba(123, 88, 50, .15); border: 1px solid rgba(123, 88, 50, .15); border-radius: 3px; }
.scgm-program-item { display: grid; grid-template-columns: 120px 1fr; gap: 18px; padding: 22px; background: rgba(255,255,255,.75); }
.scgm-program-time { color: var(--fw-red); font-size: 13px; font-weight: 850; }
.scgm-program-item h3 { margin: 0; font-size: 18px; line-height: 1.25; }
.scgm-program-item h3 a { text-decoration: none; }
.scgm-program-item p { margin: 7px 0 0; color: var(--fw-muted); font-size: 14px; }

/* El menú completo se presenta como un panel de navegación amplio. Evita una
   cabecera partida en varias filas y permite reconocer todas las secciones. */
@media (max-width: 1840px) {
    .fw-header-inner { min-height: 74px; grid-template-columns: 1fr auto auto; gap: 12px; }
    .fw-brand > img, .fw-brand .custom-logo { height: 47px; }
    .fw-menu-toggle { display: block; }
    .fw-menu-toggle[aria-expanded="true"] > span:not(.screen-reader-text) { opacity: 0; }
    .fw-language { padding-left: 0; border-left: 0; }
    .fw-navigation {
        position: fixed; top: 74px; right: 0; bottom: 0; left: 0; display: none;
        overflow-y: auto; padding: 34px 24px 70px; background: rgba(18, 17, 16, .58);
        backdrop-filter: blur(4px);
    }
    .fw-navigation.is-open { display: block; }
    .fw-navigation-heading {
        width: min(100%, 1120px); min-height: 76px; margin: 0 auto; padding: 19px 26px;
        display: flex; align-items: center; justify-content: space-between; gap: 24px;
        background: var(--fw-ink); border-radius: 7px 7px 0 0; color: var(--fw-white);
    }
    .fw-navigation-heading > div { display: grid; gap: 2px; }
    .fw-navigation-heading span { color: rgba(255,255,255,.65); font-size: 11px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
    .fw-navigation-heading strong { font-family: var(--fw-serif); font-size: 25px; font-weight: 500; }
    .fw-menu-close {
        width: 42px; height: 42px; display: grid; place-items: center; padding: 0;
        background: transparent; border: 1px solid rgba(255,255,255,.35); border-radius: 50%; color: var(--fw-white); cursor: pointer;
    }
    .fw-menu-close > span[aria-hidden="true"] { margin-top: -3px; font-size: 31px; font-weight: 300; line-height: 1; }
    .fw-menu-close:hover, .fw-menu-close:focus-visible { background: var(--fw-white); color: var(--fw-ink); }
    .fw-menu {
        width: min(100%, 1120px); margin: 0 auto; padding: 22px;
        display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px 18px;
        background: var(--fw-white); border-radius: 0 0 7px 7px; box-shadow: 0 22px 60px rgba(0,0,0,.24);
    }
    .fw-menu li { min-width: 0; }
    .fw-menu a {
        min-height: 64px; padding: 14px 16px; display: flex; align-items: center;
        border: 1px solid var(--fw-line); border-radius: 4px; font-size: 14px; line-height: 1.25;
    }
    .fw-menu a:hover, .fw-menu .current-menu-item > a { background: #f3e9dc; border-color: rgba(177, 38, 40, .35); color: var(--fw-red-dark); }
    .fw-menu a::after { display: none; }
    body.fw-menu-open { overflow: hidden; }
}

@media (max-width: 1180px) {
    .fw-header-inner { grid-template-columns: 210px 1fr auto; gap: 18px; }
    .fw-brand > img, .fw-brand .custom-logo { height: 49px; }
    .fw-menu { gap: 4px 14px; }
    .fw-menu a { font-size: 11px; }
    .fw-hero-copy { width: 56%; }
    .fw-home-grid { grid-template-columns: minmax(0, 1fr) 310px; }
    .fw-quick-links { grid-template-columns: repeat(3, 1fr); }
    .fw-quick-links a:nth-child(3) { border-right: 0; }
    .fw-quick-links a:first-child { padding-left: 17px; }
    .fw-news-grid { grid-template-columns: repeat(2, 1fr); }
    .scgm-participants-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 900px) {
    .fw-header-inner { min-height: 74px; grid-template-columns: 1fr auto auto; gap: 10px; }
    .fw-brand > img, .fw-brand .custom-logo { height: 47px; }
    .fw-menu-toggle { display: block; }
    .fw-language { padding-left: 0; border-left: 0; }
    .fw-hero { background-image: linear-gradient(90deg, rgba(249,246,240,.96), rgba(249,246,240,.72)), var(--fw-hero-image); background-position: 62% center; }
    .fw-hero-inner { min-height: 500px; }
    .fw-hero-copy { width: 76%; }
    .fw-home-grid { grid-template-columns: 1fr; }
    .fw-home-grid { grid-template-areas: "agenda" "edition" "news"; }
    .fw-edition-panel { position: static; }
    .fw-archive-grid { grid-template-columns: repeat(2, 1fr); }
    .fw-institutional { grid-template-columns: 1fr; }
    .fw-history-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .fw-poster-page { grid-template-columns: 1fr; }
    .fw-poster-page > img { max-width: 520px; }
    .scgm-participants-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .fw-footer-inner { grid-template-columns: 1fr; text-align: center; }
    .fw-footer-brand img { margin: 0 auto; }
    .fw-social { justify-items: center; }
}

@media (max-width: 620px) {
    .fw-header-inner, .fw-hero-inner, .fw-quick-links, .fw-home-grid, .fw-institutional, .fw-sponsors, .fw-footer-inner, .fw-page-shell { width: min(calc(100% - 30px), var(--fw-max)); }
    .fw-brand > img, .fw-brand .custom-logo { height: 41px; max-width: 235px; }
    .fw-navigation { padding: 0; background: var(--fw-white); backdrop-filter: none; }
    .fw-navigation-heading { width: 100%; border-radius: 0; }
    .fw-menu { width: 100%; padding: 12px 15px 34px; display: grid; grid-template-columns: 1fr; gap: 7px; border-radius: 0; box-shadow: none; }
    .fw-menu a { min-height: 54px; padding: 12px 14px; font-size: 13px; }
    .fw-sponsors .fw-content-panel { padding: 12px; }
    .fw-hero { background-image: linear-gradient(0deg, rgba(249,246,240,.97) 0%, rgba(249,246,240,.88) 66%, rgba(249,246,240,.22) 100%), var(--fw-hero-image); background-position: 60% center; }
    .fw-hero-inner { min-height: 650px; align-items: end; }
    .fw-hero-copy { width: 100%; padding: 175px 0 44px; }
    .fw-hero h1 { font-size: clamp(42px, 13vw, 60px); }
    .fw-actions { display: grid; }
    .fw-button { width: 100%; }
    .fw-quick-links { grid-template-columns: repeat(2, 1fr); padding: 14px 0; }
    .fw-quick-links a, .fw-quick-links a:first-child { min-height: 82px; padding: 13px 12px; border-bottom: 1px solid var(--fw-line); }
    .fw-quick-links a:nth-child(odd) { border-right: 1px solid var(--fw-line); }
    .fw-quick-links a:nth-child(even) { border-right: 0; }
    .fw-section-heading { align-items: start; }
    .fw-section-heading h2 { font-size: 20px; }
    .fw-section-heading > a { max-width: 130px; text-align: right; }
    .fw-news-grid, .fw-archive-grid, .scgm-program, .scgm-columns-2, .scgm-columns-3, .scgm-columns-4, .scgm-exhibitions-grid, .fw-arrival-grid { grid-template-columns: 1fr; }
    .fw-history-grid { grid-template-columns: 1fr; }
    .fw-history-callout { min-height: 0; padding: 30px 24px; }
    .fw-poster-card { min-height: 270px; grid-template-columns: 42% 1fr; }
    .fw-poster-copy { padding: 22px 18px; }
    .fw-poster-copy strong { font-size: 24px; }
    .scgm-program-item { grid-template-columns: 1fr; gap: 5px; }
    .fw-page-shell { padding: 48px 0 70px; }
    .fw-entry-content { font-size: 17px; }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .001ms !important; animation-duration: .001ms !important; animation-iteration-count: 1 !important; }
}
