/* Shared values are defined in tokens.css, loaded before this stylesheet. */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--ape-cream); color: var(--ape-ink); font-family: var(--ape-font-family); line-height: var(--ape-leading-body); }
body.ape-site { min-height:100vh; min-height:100svh; display:flex; flex-direction:column; }
.ape-site > main { flex:1 0 auto; }
.ape-site > .ape-header,.ape-site > .ape-footer { flex-shrink:0; }
body, button, input, textarea { font-size: var(--ape-type-body); }
button, input, textarea, select { font-family: inherit; }
a:focus-visible, button:focus-visible, summary:focus-visible, input:focus-visible, textarea:focus-visible, select:focus-visible { outline: var(--ape-focus-width) solid var(--ape-focus-color); outline-offset: var(--ape-focus-offset); }
a { color: inherit; text-decoration-thickness: .08em; text-underline-offset: .16em; }
img { max-width: 100%; }
.ape-shell { width: min(var(--ape-content-width), calc(100% - var(--ape-shell-gutter))); margin-inline: auto; }
.ape-skip-link { position: fixed; z-index: 50; left: 16px; top: -100px; padding: 10px 14px; border-radius: var(--ape-radius-small); background: var(--ape-ink); color: white; }
.ape-skip-link:focus { top: 16px; }

.ape-header { position: sticky; z-index: 20; top: 0; padding: 12px 0; background: rgba(255, 250, 241, .72); border-bottom: 0; backdrop-filter: blur(16px); }
.ape-header-inner { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 64px; padding: 7px 10px 7px 16px; border: 1px solid var(--ape-line); border-radius: var(--ape-radius-pill); background: var(--ape-surface); box-shadow: 0 4px 14px rgba(35, 77, 74, .06); }
.ape-brand { display: inline-flex; align-items: center; gap: 12px; color: var(--ape-ink); text-decoration: none; }
.ape-brand-logo { width: 58px; height: 68px; object-fit: contain; flex-shrink: 0; }
.ape-brand-logo [id^="Main_"], .ape-brand-logo #Arbre { transform-box: fill-box; transform-origin: center; }
.ape-brand-logo #Arbre { transform-origin: center bottom; }
.ape-brand-copy { display: grid; gap: 1px; }
.ape-brand-copy strong { color: var(--ape-text-accent); font-size: var(--ape-type-body); line-height: 1.1; }
.ape-brand-copy small { color: var(--ape-muted); font-size: var(--ape-type-xs); }
.ape-nav { position: relative; display: flex; align-items: center; gap: 4px; }
.ape-nav::before { content: ""; position: absolute; z-index: 0; left: var(--ape-active-left, 0px); top: var(--ape-active-top, 0px); width: var(--ape-active-width, 0px); height: var(--ape-active-height, 0px); border-radius: var(--ape-radius-pill); background: var(--ape-sky); opacity: 0; transition: left .22s ease, top .22s ease, width .22s ease, height .22s ease, opacity .15s ease; pointer-events: none; }
.ape-nav.is-blob-ready::before { opacity: 1; }
.ape-nav a { position: relative; z-index: 1; display: inline-flex; align-items: center; gap: 8px; min-height: var(--ape-action-min-size); padding: 10px 13px; border-radius: var(--ape-radius-pill); color: var(--ape-ink); font-size: var(--ape-type-md); font-weight: 700; text-decoration: none; white-space: nowrap; transition: color .2s ease, background-color .2s ease, transform .2s ease, box-shadow .2s ease; }
.ape-nav a:hover, .ape-nav a:focus-visible { color: var(--ape-text-accent); background: rgba(226,244,241,.58); }
.ape-nav a.is-active, .ape-nav a.is-active:hover, .ape-nav a.is-active:focus-visible { color: var(--ape-text-accent); background: transparent; text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 5px; }
:is(.ape-nav .ape-nav-cta, .ape-article .ape-page-content .ape-nav-cta) { display: inline-flex; align-items: center; gap: 8px; min-height: var(--ape-button-size); margin: 0; border: 0; border-radius: var(--ape-radius-pill); font-size: var(--ape-type-md); font-weight: 700; line-height: var(--ape-leading-body); text-decoration: none; white-space: nowrap; padding: 10px 16px; background: var(--ape-peach); color: var(--ape-ink); box-shadow: var(--ape-shadow-action); }
:is(.ape-nav .ape-nav-cta, .ape-article .ape-page-content .ape-nav-cta):hover, :is(.ape-nav .ape-nav-cta, .ape-article .ape-page-content .ape-nav-cta):focus-visible { color: var(--ape-ink); background: var(--ape-peach-hover); box-shadow: 0 8px 18px rgba(193,112,51,.2), 0 0 0 4px rgba(247,178,112,.24); }
@media (prefers-reduced-motion: no-preference) {
    :is(.ape-nav .ape-nav-cta, .ape-article .ape-page-content .ape-nav-cta) { transition: transform 180ms ease-out, background-color 160ms ease-out, box-shadow 180ms ease-out; }
    :is(.ape-nav .ape-nav-cta, .ape-article .ape-page-content .ape-nav-cta):focus-visible { transform: translateY(-2px); }
    @media (hover: hover) and (pointer: fine) {
        :is(.ape-nav .ape-nav-cta, .ape-article .ape-page-content .ape-nav-cta):hover { transform: translateY(-2px); }
    }
}
@media (prefers-reduced-motion: reduce) {
    :is(.ape-nav .ape-nav-cta, .ape-article .ape-page-content .ape-nav-cta) { transition: none; }
}
.ape-nav .ape-nav-cta { margin-left: var(--ape-space-3); }
.ape-nav-cta-icon { display: inline-grid; place-items: center; width: 20px; height: 20px; }
.ape-nav-cta-icon svg { width: 20px; height: 20px; }
.ape-menu-toggle { display: none; align-items: center; justify-content: center; gap: var(--ape-space-2); min-height: var(--ape-action-min-size); width: 96px; flex-shrink: 0; border: 1px solid var(--ape-line); border-radius: var(--ape-radius-pill); padding: 9px 8px; background: var(--ape-sky); color: var(--ape-ink); font-size: var(--ape-type-md); font-weight: 700; white-space: nowrap; }
.ape-menu-toggle-icon { display: inline-flex; }
.ape-menu-toggle-icon svg { width: 18px; height: 18px; }
.ape-menu-icon-close, .ape-menu-toggle[aria-expanded="true"] .ape-menu-icon-open { display: none; }
.ape-menu-toggle[aria-expanded="true"] .ape-menu-icon-close { display: block; }

.ape-hero { overflow: hidden; padding-block: var(--ape-space-8); }
.ape-hero-grid { display: grid; grid-template-columns: minmax(0, 1.02fr) minmax(350px, .98fr); gap: 30px; align-items: center; min-height: 620px; padding-block: 42px 44px; }
.ape-hero-copy { position: relative; z-index: 2; }
.ape-eyebrow { margin: 0 0 13px; color: var(--ape-text-accent); font-size: var(--ape-type-xs); font-weight: 850; letter-spacing: .13em; text-transform: uppercase; }
.ape-hero h1 { max-width: 680px; margin: 0; font-size: clamp(3rem, 5.4vw, 4.75rem); line-height: 1.02; letter-spacing: -.065em; }
.ape-hero h1 em { color: var(--ape-teal); font-style: normal; }
.ape-hero .ape-page-header h1 { font-size: clamp(2.4rem, 4.5vw, 4rem); }
.ape-hero .ape-button-primary { background: var(--ape-peach); box-shadow: var(--ape-shadow-action); }
.ape-hero .ape-button-primary:hover, .ape-hero .ape-button-primary:focus-visible { background: var(--ape-peach-hover); }
.ape-hero .ape-button-icon { background: var(--ape-surface); }
.ape-hero-place { display: block; }
.ape-hero-intro { max-width: 590px; margin: 24px 0 0; color: var(--ape-muted); font-size: var(--ape-type-lg); }
.ape-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 20px; margin-top: 22px; }
.ape-button { display: inline-flex; align-items: center; gap: 12px; min-height: 68px; padding: 9px 21px 9px 10px; border-radius: var(--ape-radius-medium); font-weight: 800; text-decoration: none; cursor: pointer; transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease, background-color .2s ease; }
.ape-button:hover, .ape-button:focus-visible { transform: translateY(-3px); }
.ape-button-primary { min-width: 242px; border: 1px solid rgba(11, 145, 142, .38); background: rgba(255,255,255,.9); color: var(--ape-ink); box-shadow: 0 13px 26px rgba(54, 86, 83, .11); }
.ape-button-primary:hover, .ape-button-primary:focus-visible { border-color: var(--ape-teal); background: var(--ape-date-surface); box-shadow: 0 17px 32px rgba(54, 86, 83, .16); }
.ape-button-icon { display: grid; place-items: center; width: 47px; height: 47px; flex: 0 0 47px; border-radius: var(--ape-radius-action); background: var(--ape-peach); color: var(--ape-ink); transition: transform .2s ease, background-color .2s ease; }
.ape-button-icon svg { width: 24px; height: 24px; }
.ape-button-copy { display: grid; gap: 1px; text-align: left; }
.ape-button-copy small { color: var(--ape-ink); font-size: var(--ape-type-sm); font-weight: 800; line-height: 1.25; letter-spacing: -.01em; }
.ape-button-copy strong { font-size: var(--ape-type-body); line-height: 1.2; }
.ape-button:hover .ape-button-icon, .ape-button:focus-visible .ape-button-icon { background: var(--ape-peach-hover); transform: rotate(-4deg) scale(1.04); }
.ape-text-link, .ape-card-link { color: var(--ape-teal-dark); font-weight: 800; text-decoration: none; }
.ape-text-link:hover, .ape-card-link:hover { text-decoration: underline; }
.ape-next-slot { scroll-margin-top: 110px; }
.ape-next-event { position: relative; display: grid; grid-template-columns: 54px minmax(0, 1fr) 36px; align-items: center; gap: 12px; width: min(100%, 470px); min-height: 80px; margin-top: 14px; padding: 11px 13px; border: 1px solid var(--ape-line); border-radius: var(--ape-radius-action); background: white; box-shadow: 0 5px 15px rgba(35, 77, 74, .08); text-align: left; text-decoration: none; transition: border-color .2s ease, box-shadow .2s ease; }
.ape-next-event::before { content: ""; position: absolute; left: -1px; top: 16px; bottom: 16px; width: 4px; border-radius: 3px; background: var(--ape-coral); }
.ape-next-event:hover, .ape-next-event:focus-visible { border-color: var(--ape-teal); box-shadow: 0 8px 20px rgba(35, 77, 74, .13); }
.ape-next-date { display: flex; flex-direction: column; align-items: center; justify-content: center; align-self: stretch; padding-right: 12px; border-right: 1px dashed var(--ape-line); color: var(--ape-teal-dark); line-height: 1.05; }
.ape-next-date strong { font-size: 1.75rem; font-weight: 850; letter-spacing: -.05em; }
.ape-next-date span { margin-top: 4px; font-size: var(--ape-type-2xs); font-weight: 800; text-transform: uppercase; }
.ape-next-copy { display: grid; gap: 3px; min-width: 0; }
.ape-next-label { color: var(--ape-teal-dark); font-size: var(--ape-type-2xs); font-weight: 750; line-height: 1.3; }
.ape-next-title { font-size: var(--ape-type-body); line-height: 1.25; letter-spacing: -.025em; overflow-wrap: anywhere; }
.ape-next-meta { color: var(--ape-muted); font-size: var(--ape-type-xs); line-height: 1.4; overflow-wrap: anywhere; }
.ape-next-arrow { display: grid; place-items: center; width: 36px; height: 36px; border: 1px solid var(--ape-line); border-radius: 50%; background: var(--ape-date-surface); color: var(--ape-teal-dark); transition: background-color .2s ease, border-color .2s ease, color .2s ease; }
.ape-next-arrow svg { width: 18px; height: 18px; transition: transform .2s ease; }
.ape-next-event:hover .ape-next-arrow, .ape-next-event:focus-visible .ape-next-arrow { background: var(--ape-teal); border-color: var(--ape-teal); color: white; }
.ape-next-event:hover .ape-next-arrow svg, .ape-next-event:focus-visible .ape-next-arrow svg { transform: translateX(2px); }

.ape-intro-band { padding-block: 22px 24px; color: var(--ape-ink); }
.ape-intro-grid { position: relative; display: grid; grid-template-columns: 44px minmax(0, 1fr); align-items: center; gap: var(--ape-space-5); padding: var(--ape-space-6); border: 1px solid var(--ape-line); border-radius: var(--ape-radius-card); background: var(--ape-sky); overflow: hidden; isolation: isolate; }
.ape-intro-grid::after { content: ""; position: absolute; right: -32px; bottom: -75px; width: 175px; height: 175px; border: 1px solid var(--ape-teal-dark); border-radius: 50%; box-shadow: 0 0 0 15px var(--ape-teal-dark); opacity: .035; z-index: -1; pointer-events: none; }
.ape-intro-symbol { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--ape-peach); color: var(--ape-ink); }
.ape-intro-symbol svg { width: 22px; height: 22px; }
.ape-intro-lead { margin: 0; font-size: var(--ape-type-xl); font-weight: 500; line-height: 1.55; letter-spacing: -.035em; }
.ape-intro-lead strong { color: var(--ape-teal-dark); font-weight: 700; background: linear-gradient(transparent 85%, var(--ape-peach) 85%, var(--ape-peach) 96%, transparent 96%); padding-bottom: 2px; }

.ape-reveal { opacity: 1; transform: none; }
.ape-reveal-ready .ape-reveal { opacity: 0; transform: translateY(20px); transition: opacity .7s cubic-bezier(.2,.8,.2,1), transform .7s cubic-bezier(.2,.8,.2,1); transition-delay: var(--ape-reveal-delay, 0ms); will-change: opacity, transform; }
.ape-reveal-ready .ape-reveal.is-visible { opacity: 1; transform: none; }

.ape-section { padding-block: 82px; }
.ape-section-heading { display: flex; align-items: end; justify-content: space-between; gap: 20px; margin-bottom: 28px; }
.ape-section-heading h2 { display: flex; align-items: baseline; gap: var(--ape-space-3); margin: 0; font-size: clamp(1.75rem, 3vw, 2.4rem); line-height: 1.15; letter-spacing: -.04em; }
.ape-section-heading h2::before { content: ''; width: 12px; height: 22px; flex: 0 0 12px; border-radius: var(--ape-radius-pill); background: var(--ape-section-accent, var(--ape-peach)); transform: rotate(-14deg); }
.ape-agenda-section { --ape-section-accent: var(--ape-teal); }
.ape-resources-section { --ape-section-accent: var(--ape-lilac); }
.ape-section-note { color: var(--ape-muted); font-size: var(--ape-type-sm); font-weight: 700; }
.ape-news-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.ape-news-more { display: flex; justify-content: center; margin-top: 30px; }
.ape-button-peach { background: var(--ape-peach); color: var(--ape-ink); border: 1px solid rgba(193,112,51,.18); box-shadow: var(--ape-shadow-action); }
.ape-news-more .ape-button-peach { min-height: var(--ape-button-size); padding: 10px var(--ape-space-6); border-radius: var(--ape-radius-pill); font-size: var(--ape-type-md); line-height: 1.4; font-weight: 750; justify-content: center; }
.ape-button-peach:hover { background: var(--ape-peach-hover); }
@media (hover: hover) and (pointer: fine) and (prefers-reduced-motion: no-preference) {
    .ape-button:hover .ape-button-icon, .ape-footer-contact:hover svg, :is(.ape-nav .ape-nav-cta, .ape-article .ape-page-content .ape-nav-cta):hover .ape-nav-cta-icon svg { animation: ape-button-pop 480ms cubic-bezier(.2,.8,.2,1) both; }
    .ape-news-card:hover .ape-news-action, .ape-news-card:focus-within .ape-news-action { transform: translateY(-2px); }
    .ape-button-primary:hover { box-shadow: 0 17px 32px rgba(54,86,83,.16), 0 0 0 4px rgba(11,145,142,.13); }
    .ape-button-peach:hover { box-shadow: 0 10px 22px rgba(193,112,51,.2), 0 0 0 4px rgba(247,178,112,.24); }
}
@keyframes ape-button-pop {
    0% { transform: rotate(0) translateY(0) scale(1); }
    36% { transform: rotate(-12deg) translateY(-5px) scale(1.1); }
    68% { transform: rotate(4deg) translateY(1px) scale(.98); }
    100% { transform: rotate(-4deg) translateY(-1px) scale(1.05); }
}
.ape-news-more a:focus-visible, .ape-news-pagination a:focus-visible { outline: 3px solid var(--ape-teal-dark); outline-offset: 4px; }
.ape-news-archive .ape-breadcrumb { margin-bottom: 32px; }
.ape-news-archive h1 { margin: 0; font-size: clamp(2rem, 4vw, 3.3rem); line-height: 1.05; letter-spacing: -.05em; }
.ape-news-card:not(.ape-news-card-featured) { grid-template-rows: auto 1fr; }
.ape-news-card:not(.ape-news-card-featured) .ape-news-body { height: 100%; }
.ape-news-pagination { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 8px; margin-top: 36px; }
.ape-news-pagination a, .ape-pagination-current { display: inline-flex; min-width: 44px; min-height: 44px; align-items: center; justify-content: center; padding: 10px 14px; border: 1px solid var(--ape-line); border-radius: var(--ape-radius-action); background: white; color: var(--ape-ink); text-decoration: none; font-weight: 700; }
.ape-news-pagination a:hover { background: var(--ape-sky); border-color: var(--ape-teal); }
.ape-news-pagination .ape-pagination-current { background: var(--ape-teal-dark); color: white; border-color: var(--ape-teal-dark); }
.ape-pagination-gap { padding: 8px 4px; color: var(--ape-muted); }
.ape-news-page-count { margin: 12px 0 0; color: var(--ape-muted); text-align: center; font-size: var(--ape-type-md); }
.ape-news-card { position: relative; isolation: isolate; display: grid; grid-template-columns: 1fr; gap: 16px; align-items: start; align-self: start; padding: 17px; border: 1px solid var(--ape-line); border-radius: var(--ape-radius-card); background: var(--ape-surface); box-shadow: 0 8px 24px rgba(35, 77, 74, .03); transition: transform .2s ease, box-shadow .2s ease; }
.ape-news-card:hover { transform: translateY(-3px); box-shadow: var(--ape-shadow); }
.ape-news-card-featured { grid-column: 1 / -1; grid-template-columns: minmax(250px, .82fr) minmax(0, 1.18fr); padding: 18px; }
.ape-news-visual { position: relative; width: 100%; aspect-ratio: 16 / 9; min-height: 0; overflow: hidden; border-radius: var(--ape-radius-medium); background: radial-gradient(circle at 22% 18%, rgba(255,255,255,.6) 0 10%, transparent 28%), radial-gradient(circle at 82% 80%, rgba(255,255,255,.38) 0 12%, transparent 32%), linear-gradient(135deg, var(--ape-sky), var(--ape-peach-soft)); }
.ape-news-card-featured .ape-news-visual:not(.has-image) { background: linear-gradient(135deg, var(--ape-peach-soft), var(--ape-lilac)); }
.ape-news-visual.has-image { background: var(--ape-cream); }
.ape-news-visual > img { position: absolute; inset: 0; display: block; width: 100%; height: 100%; object-fit: contain; object-position: center; transition: transform .42s cubic-bezier(.2,.8,.2,1), filter .32s ease; }
@media (hover: hover) and (pointer: fine) and (prefers-reduced-motion: no-preference) {
    .ape-news-card:hover .ape-news-visual > img, .ape-news-card:focus-within .ape-news-visual > img { transform: scale(1.045) rotate(-.45deg); filter: saturate(1.04); }
}
.ape-news-card:not(.ape-news-card-featured) .ape-news-body { padding: 0 2px 2px; }
.ape-news-body { display: flex; min-width: 0; flex-direction: column; align-items: flex-start; justify-content: flex-start; padding-block: 3px; }
.ape-news-body time { padding: 7px 10px; border-radius: var(--ape-radius-small); background: var(--ape-date-surface); color: var(--ape-text-date); font-size: var(--ape-type-caption); line-height: 1.4; font-weight: 650; white-space: nowrap; }
.ape-news-body time span { font-weight: 400; }
.ape-news-title { margin: 0 0 var(--ape-space-3); font-size: var(--ape-type-2xl); line-height: 1.25; }
.ape-news-card-featured .ape-news-title { max-width: 630px; font-size: clamp(1.6rem, 3vw, 2.4rem); letter-spacing: -.04em; }
.ape-news-title a { text-decoration: none; }
.ape-news-title a::after { content: ""; position: absolute; inset: 0; z-index: 1; border-radius: var(--ape-radius-card); cursor: pointer; }
.ape-news-card:focus-within { outline: 3px solid var(--ape-teal-dark); outline-offset: 5px; box-shadow: var(--ape-shadow); }
.ape-news-title a:focus-visible { outline: none; }
.ape-news-title a:hover { color: var(--ape-text-accent); }
.ape-news-body p { margin: 0 0 var(--ape-space-5); color: var(--ape-text-reading); font-size: var(--ape-type-body); line-height: var(--ape-leading-body); }
.ape-news-footer { display: flex; width: 100%; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 16px; margin-top: auto; }
.ape-news-body .ape-card-link { margin-top: 2px; font-size: var(--ape-type-md); }
.ape-news-body .ape-news-action { display: inline-flex; align-items: center; justify-content: center; gap: 14px; min-height: var(--ape-button-size); padding: 10px var(--ape-space-4); border: 1px solid rgba(193,112,51,.18); border-radius: var(--ape-radius-action); background: var(--ape-peach); color: var(--ape-ink); font-size: var(--ape-type-md); line-height: 1.35; font-weight: 750; box-shadow: var(--ape-shadow-action); transition: background-color .2s ease, box-shadow .2s ease, transform .2s ease; }
.ape-news-card:hover .ape-news-action, .ape-news-card:focus-within .ape-news-action { background: var(--ape-peach-hover); box-shadow: 0 6px 14px rgba(193,112,51,.12); }
.ape-news-card-featured .ape-news-body { padding: 8px 8px 8px 2px; }
.ape-empty-card, .ape-agenda-empty { padding: 28px; border: 1px dashed var(--ape-line-strong); border-radius: var(--ape-radius); background: rgba(255,255,255,.72); color: var(--ape-muted); }
.ape-empty-card p { margin: 0; }

@media (min-width: 1051px) {
    .ape-news-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; align-items: stretch; }
    .ape-news-card { grid-column: span 1; align-self: stretch; height: 100%; }
    .ape-news-card-featured { grid-column: 1 / -1; grid-template-columns: minmax(280px, .78fr) minmax(0, 1.22fr); align-items: center; gap: 18px; min-height: 250px; padding: 16px; border-radius: var(--ape-radius-card); }
    .ape-news-card-featured .ape-news-visual { aspect-ratio: 16 / 7.5; border-radius: var(--ape-radius-action); }
    .ape-news-card:not(.ape-news-card-featured) .ape-news-visual { aspect-ratio: 16 / 8; border-radius: var(--ape-radius-action); }
    .ape-news-card-featured .ape-news-body { padding: 4px 8px 4px 2px; }
    .ape-news-title { margin: 0 0 var(--ape-space-3); font-size: var(--ape-type-xl); }
    .ape-news-card-featured .ape-news-title { max-width: 630px; font-size: clamp(1.35rem, 1.8vw, 1.6rem); letter-spacing: -.025em; }
    .ape-news-card-featured .ape-news-body p { font-size: var(--ape-type-lg); }
}

.ape-agenda-section { background: var(--ape-sky); }
.ape-timeline { position: relative; display: grid; gap: 14px; padding-left: 25px; }
.ape-timeline::before { content: ""; position: absolute; left: 6px; top: 16px; bottom: 16px; width: 2px; background: var(--ape-line-strong); }
.ape-event-card { --ape-event-card-radius: var(--ape-radius-medium); position: relative; isolation: isolate; display: grid; grid-template-columns: 100px minmax(0, 1fr); gap: 20px; align-items: center; padding: 20px 24px; border: 1px solid transparent; border-radius: var(--ape-event-card-radius); background: rgba(255,255,255,.8); transition: border-color .18s ease, background-color .18s ease, box-shadow .18s ease; }
.ape-event-card::before { content: ""; position: absolute; left: -25px; width: 13px; height: 13px; border: 4px solid var(--ape-sky); border-radius: 50%; background: var(--ape-coral); }
.ape-event-date { color: var(--ape-text-accent); font-weight: 800; text-align: center; }
.ape-event-date strong { display: block; color: var(--ape-ink); font-size: 2rem; line-height: 1; }
.ape-event-date span { font-size: var(--ape-type-sm); }
.ape-event-date .ape-event-year { display: block; }
.ape-event-date-pending { font-size: var(--ape-type-sm); line-height: 1.4; }
.ape-event-pending { color: var(--ape-text-accent); font-weight: 700; overflow-wrap: anywhere; }
.ape-home-event-details > .ape-event-pending { flex-basis: 100%; }
.ape-agenda-more { margin-top: var(--ape-space-6); }
.ape-agenda-more summary { cursor: pointer; min-height: var(--ape-action-min-size); padding: var(--ape-space-3) var(--ape-space-4); color: var(--ape-ink); font-weight: 700; border: 1px solid var(--ape-line); border-radius: var(--ape-radius-small); background: var(--ape-surface); }
.ape-agenda-more > .ape-timeline { margin-top: var(--ape-space-4); }
.ape-page-event-meta { margin-top: var(--ape-space-4); padding: var(--ape-space-4); background: var(--ape-sky); border-radius: var(--ape-radius-small); overflow-wrap: anywhere; }
.ape-page-event-meta p { margin: 0; }
.ape-page-event-meta p + p { margin-top: var(--ape-space-2); }
.ape-event-card h3 { margin: 0 0 4px; font-size: var(--ape-type-2xl); }
.ape-event-card h3 a { text-decoration: none; }
@media (hover: hover) and (pointer: fine) {
    .ape-event-card:hover { border-color: rgba(10,111,112,.42); background: var(--ape-surface); box-shadow: 0 12px 24px rgba(35,77,74,.1); }
    .ape-event-card h3 a { transition: color .18s ease; }
    .ape-event-card h3 a:hover { color: var(--ape-text-accent); }
}
@media (hover: hover) and (pointer: fine) and (prefers-reduced-motion: no-preference) {
    .ape-event-card { transition: transform .18s ease, border-color .18s ease, background-color .18s ease, box-shadow .18s ease; }
    .ape-event-card:hover { transform: translateY(-2px); }
    .ape-event-card:hover::before { transform: translateY(2px); transition: transform .18s ease; }
}
.ape-event-title-link::after { content: ""; position: absolute; inset: 0; z-index: 1; border-radius: var(--ape-event-card-radius); cursor: pointer; }
.ape-event-title-link:focus-visible { outline: none; }
.ape-event-title-link:focus-visible::after { outline: var(--ape-focus-width) solid var(--ape-focus-color); outline-offset: var(--ape-focus-offset); }
.ape-event-practical-link { position: relative; z-index: 2; }
.ape-event-card p { margin: 0; color: var(--ape-muted); }
.ape-event-card p + p { margin-top: 4px; }
.ape-agenda-empty { display: grid; gap: 4px; color: var(--ape-ink); }
.ape-agenda-empty span { color: var(--ape-muted); }

.ape-resources-section { background: var(--ape-cream); }
.ape-resource-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--ape-space-5); }
.ape-resource-card { position: relative; isolation: isolate; display: grid; grid-template-columns: minmax(0, 1fr) 180px; gap: var(--ape-space-3) var(--ape-space-5); align-content: start; padding: var(--ape-space-8); border: 1px solid var(--ape-line); border-radius: var(--ape-radius-card); color: var(--ape-ink); text-decoration: none; transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease; }
.ape-resource-card::before { content: ''; position: absolute; z-index: -1; bottom: 0; right: 0; width: 130px; height: 66px; border-radius: 100% 0 var(--ape-radius-card) 0; background: var(--ape-surface); opacity: .55; pointer-events: none; }
.ape-resource-card[href]:hover { transform: translateY(-3px); border-color: var(--ape-text-accent); box-shadow: var(--ape-shadow); }
.ape-resource-card:focus-visible { outline: var(--ape-focus-width) solid var(--ape-focus-color); outline-offset: var(--ape-focus-offset); border-color: var(--ape-text-accent); }
.ape-resource-documents { background: var(--ape-sky); }
.ape-resource-projects { background: var(--ape-lilac); }
.ape-resource-heading { grid-column: 1; min-width: 0; align-self: start; }
.ape-resource-label { display: block; margin-bottom: var(--ape-space-2); color: var(--ape-text-accent); font-size: var(--ape-type-xs); font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
.ape-resource-card h3 { margin: 0; font-size: clamp(1.55rem, 2.5vw, 1.9rem); line-height: 1.15; letter-spacing: -.035em; overflow-wrap: anywhere; }
.ape-resource-card p { grid-column: 1; margin: 0; color: var(--ape-text-reading); font-size: var(--ape-type-body); line-height: 1.55; }
.ape-resource-art { grid-column: 2; grid-row: 1 / 3; display: grid; align-items: center; pointer-events: none; }
.ape-resource-art svg { display: block; width: 100%; height: auto; overflow: visible; transition: transform .3s ease; }
.ape-resource-card[href]:hover .ape-resource-art svg { transform: rotate(-3deg) translateY(-3px); }
.ape-resource-projects[href]:hover .ape-resource-art svg { transform: rotate(3deg) translateY(-3px); }
.ape-resource-action { grid-column: 1 / -1; justify-self: start; display: inline-flex; align-items: center; justify-content: center; min-height: var(--ape-button-size); margin-top: var(--ape-space-2); padding: var(--ape-space-2) var(--ape-space-5); border: 1px solid var(--ape-peach); border-radius: var(--ape-radius-pill); color: var(--ape-ink); background: var(--ape-peach); font-size: var(--ape-type-md); font-weight: 800; transition: background .2s ease; }
.ape-resource-card[href]:hover .ape-resource-action, .ape-resource-card:focus-visible .ape-resource-action { background: var(--ape-peach-hover); }
.ape-resource-card:not([href]) .ape-resource-action { min-height: 36px; color: var(--ape-muted); background: var(--ape-surface); border-color: var(--ape-line); font-size: var(--ape-type-sm); }
.ape-resource-card.is-visible .ape-resource-art svg { animation: ape-resource-unfold .9s cubic-bezier(.2,.8,.2,1); }
@keyframes ape-resource-unfold { from { opacity: .3; transform: translateY(12px) rotate(-8deg) scale(.92); } to { opacity: 1; transform: translateY(0) rotate(0) scale(1); } }
@media (min-width: 721px) and (max-width: 1050px) {
    .ape-resource-card { grid-template-columns: minmax(0, 1fr) 108px; padding: var(--ape-space-6); gap: var(--ape-space-3); }
}

.ape-page-shell { padding-block: 50px 90px; }
.ape-page-layout { max-width: var(--ape-content-width); }
.ape-breadcrumb { display: flex; flex-wrap: wrap; align-items: baseline; gap: 5px 9px; margin-bottom: var(--ape-space-8); color: var(--ape-muted); font-size: var(--ape-type-sm); line-height: 1.5; }
.ape-breadcrumb [aria-current] { overflow-wrap:anywhere; }
.ape-breadcrumb a { color: var(--ape-teal-dark); font-weight: 750; }
.ape-page-header h1, .ape-page-header .ape-header-title { margin: 0; font-size: clamp(2rem, 3.6vw, 3rem); line-height: 1.12; letter-spacing: -.04em; }
.ape-page-description { max-width: 680px; color: var(--ape-muted); font-size: var(--ape-type-xl); }
.ape-page-meta { color: var(--ape-text-accent); font-size: var(--ape-type-sm); font-weight: 800; }
.ape-page-cover { margin: 34px 0; }
.ape-page-cover img { width: 100%; max-height: 480px; border-radius: var(--ape-radius); object-fit: cover; }
.ape-page-content { margin-top: 36px; font-size: var(--ape-type-lg); }
.ape-page-content h2 { margin-top: 2.2em; font-size: 2rem; line-height: 1.1; }
.ape-page-content h3 { margin-top: 1.8em; }
.ape-page-content { min-width: 0; overflow-wrap: anywhere; }
.ape-page-content > * { min-width: 0; max-width: 100%; }
.ape-page-content img { max-width: 100%; height: auto !important; border-radius: var(--ape-radius-action); }
.ape-page-content :is(video, iframe) { max-width: 100%; }
.ape-page-content figure { margin-inline: 0; }
.ape-page-content pre { max-width: 100%; overflow-x: auto; white-space: pre; }
.ape-table-scroll { max-width: 100%; overflow-x: auto; border: 1px solid var(--ape-line); border-radius: var(--ape-radius-small); }
.ape-table-scroll:focus-visible { outline: var(--ape-focus-width) solid var(--ape-focus-color); outline-offset: var(--ape-focus-offset); }
.ape-page-content table { border-collapse: collapse; }
.ape-page-content > table { display: block; overflow-x: auto; }
.ape-page-content :is(th, td) { padding: var(--ape-space-3); border: 1px solid var(--ape-line); text-align: left; }
.ape-page-content th { background: var(--ape-sky); color: var(--ape-ink); }
.ape-page-content caption { padding: var(--ape-space-3); text-align: left; font-weight: 700; }
.ape-news-title, .ape-page-header h1, .ape-event-card h3, .ape-document-card h5 { overflow-wrap: anywhere; }
.ape-page-content a { color: var(--ape-teal-dark); font-weight: 700; }

/* Shared editorial layout; document pages retain their dedicated template. */
.ape-article { padding-block: 30px 64px; }
.ape-article .ape-page-layout { max-width: var(--ape-editorial-width); }
.ape-article .ape-breadcrumb { flex-wrap: wrap; align-items: baseline; gap: 5px 9px; margin-bottom: 32px; font-size: var(--ape-type-sm); line-height: 1.5; }
.ape-article .ape-breadcrumb [aria-current] { overflow-wrap: anywhere; }
.ape-article .ape-page-header { max-width: none; }
.ape-article .ape-page-header .ape-eyebrow { margin: 0 0 12px; font-size: var(--ape-type-xs); letter-spacing: .13em; }
.ape-article .ape-page-header h1 { font-size: clamp(2rem, 3.6vw, 3rem); line-height: 1.12; letter-spacing: -.04em; text-wrap: balance; }
.ape-article .ape-page-description { max-width: var(--ape-editorial-width); margin: 18px 0 0; font-size: var(--ape-type-xl); line-height: 1.65; color: var(--ape-muted); }
/* Article context and publication share a compact row above the title. */
.ape-article-heading-meta { display: flex; align-items: center; flex-wrap: wrap; gap: var(--ape-space-2) var(--ape-space-3); margin-bottom: var(--ape-space-3); }
.ape-article .ape-page-header .ape-article-heading-meta .ape-eyebrow { min-width: 0; margin: 0; }
.ape-publication-badge { flex: 0 0 auto; margin: 0; padding: 4px var(--ape-space-2); border: 1px solid var(--ape-line); border-radius: var(--ape-radius-pill); background: var(--ape-date-surface); color: var(--ape-text-date); font-size: var(--ape-type-2xs); font-weight: 600; line-height: 1.5; white-space: nowrap; }
@media (max-width: 720px) {
    .ape-article-heading-meta { align-items: flex-start; justify-content: space-between; flex-wrap: nowrap; }
    .ape-article .ape-page-header .ape-article-heading-meta .ape-eyebrow { font-size: var(--ape-type-2xs); letter-spacing: .1em; line-height: 1.5; padding-top: 4px; }
    .ape-publication-badge { margin-left: auto; font-size: var(--ape-type-2xs); }
}
.ape-article .ape-page-cover { margin: 30px 0; }
.ape-article .ape-page-cover img { display: block; height: auto; max-height: none; object-fit: contain; }
@media (min-width: 1051px) {
    .ape-article .ape-page-cover { width: min(100%, 920px); margin-inline: auto; }
}
.ape-article .ape-page-header-with-cover { display: grid; grid-template-columns: minmax(0, 1fr) minmax(240px, 32%); align-items: start; padding: var(--ape-space-6); gap: clamp(20px, 4vw, 48px); }
.ape-article .ape-page-header-copy { min-width: 0; }
/* Compact event information: the calendar is the date, publication stays below the article. */
.ape-article .ape-page-event-meta { display: flex; align-items: center; gap: var(--ape-space-4); margin-top: var(--ape-space-5); padding: 0; background: none; border-radius: 0; }
.ape-article-calendar { display: flex; flex: 0 0 66px; flex-direction: column; align-items: center; overflow: hidden; border: 1px solid var(--ape-line); border-radius: var(--ape-radius-small); background: var(--ape-surface); box-shadow: 0 3px 8px rgba(25,60,61,.05); line-height: 1; }
.ape-article-calendar-month { align-self: stretch; padding: 5px 8px; background: var(--ape-peach-soft); color: var(--ape-ink); font-size: var(--ape-type-2xs); font-weight: 800; text-transform: uppercase; letter-spacing: .08em; text-align: center; }
.ape-article-calendar-day { padding: 5px 8px 2px; font-size: 1.875rem; font-weight: 800; letter-spacing: -.04em; color: var(--ape-ink); }
.ape-article-calendar-year { padding: 0 8px 6px; color: var(--ape-muted); font-size: var(--ape-type-2xs); font-weight: 600; }
.ape-event-details { min-width: 0; font-size: var(--ape-type-md); line-height: 1.45; }
.ape-event-heading { color: var(--ape-ink); }
.ape-page-event-meta .ape-event-details p + p { margin-top: var(--ape-space-1); }
.ape-event-location { display: flex; align-items: flex-start; gap: 6px; color: var(--ape-muted); }
.ape-event-location svg { width: 16px; height: 16px; flex: 0 0 16px; margin-top: 2px; }
.ape-event-status { color: var(--ape-text-accent); font-size: var(--ape-type-sm); }

.ape-article .ape-page-header-with-cover .ape-page-cover { grid-column: 2; grid-row: 1; width: 100%; margin: 0; }
.ape-article .ape-page-header-with-cover .ape-page-cover img { display: block; width: 100%; height: auto; max-height: none; border: 1px solid var(--ape-line); border-radius: var(--ape-radius-action); object-fit: contain; box-shadow: var(--ape-shadow); }
@media (max-width: 720px) {
    .ape-article .ape-page-header-with-cover { grid-template-columns: minmax(0, 1fr); gap: 18px; }
    .ape-article .ape-page-header-with-cover .ape-page-cover { grid-column: 1; grid-row: 2; }
}
.ape-article .ape-page-content { margin-top: 24px; font-size: var(--ape-type-lg); line-height: 1.75; }
.ape-article .ape-page-content > p, .ape-article .ape-page-content > ul, .ape-article .ape-page-content > ol { max-width: var(--ape-editorial-width); }
.ape-legal-content { overflow-wrap: anywhere; }
.ape-article .ape-legal-content { width: 100%; max-width: none; }
.ape-article .ape-legal-content > p,
.ape-article .ape-legal-content > ul,
.ape-article .ape-legal-content > ol,
.ape-article .ape-legal-content > dl,
.ape-article .ape-legal-content > blockquote { max-width: none; }
.ape-reveal-ready .ape-article .ape-page-content.ape-reveal { opacity: 1; transform: none; transition: none; }
.ape-legal-summary { padding: var(--ape-space-6); border: 1px solid var(--ape-line); border-radius: var(--ape-radius-card); background: var(--ape-sky); }
.ape-legal-summary > :first-child { margin-top: 0; }
.ape-legal-summary > :last-child { margin-bottom: 0; }
.ape-legal-updated { display: inline-block; max-width: 100%; padding: var(--ape-space-2) var(--ape-space-3); border-radius: var(--ape-radius-pill); background: var(--ape-date-surface); color: var(--ape-text-date); font-size: var(--ape-type-sm); }
.ape-legal-content dl { display: grid; grid-template-columns: 180px minmax(0, 1fr); gap: 0 var(--ape-space-6); margin: var(--ape-space-6) 0; padding: var(--ape-space-6); border: 1px solid var(--ape-line); border-radius: var(--ape-radius-card); background: var(--ape-surface); }
.ape-legal-content dt { margin: 0; padding-block: var(--ape-space-3); font-weight: 750; }
.ape-legal-content dd { margin: 0; padding-block: var(--ape-space-3); }
.ape-legal-content dd:empty { display: none; }
.ape-page-header { position: relative; isolation: isolate; overflow: hidden; padding: var(--ape-space-8); border: 1px solid var(--ape-line); border-radius: var(--ape-radius-card); background: var(--ape-surface); box-shadow: var(--ape-shadow); }
.ape-page-header::before,
.ape-page-header::after { content: ''; position: absolute; z-index: -1; pointer-events: none; }
.ape-page-header::before { width: 230px; height: 230px; right: -85px; top: -100px; border-radius: 42% 58% 60% 40%; background: var(--ape-lilac); transform: rotate(-18deg); }
.ape-page-header::after { width: 120px; height: 120px; right: 45px; bottom: -75px; border-radius: 50%; background: var(--ape-peach-soft); }
.ape-article-legal .ape-page-description { color: var(--ape-muted); }
.ape-page-links, .ape-legal-nav { display: flex; flex-wrap: wrap; gap: var(--ape-space-3); margin-top: var(--ape-space-6); }
.ape-page-links a, .ape-legal-nav a { display: inline-flex; align-items: center; justify-content: center; min-height: var(--ape-action-min-size); padding: var(--ape-space-2) var(--ape-space-5); border: 1px solid var(--ape-line); border-radius: var(--ape-radius-pill); background: var(--ape-surface); color: var(--ape-ink); font-size: var(--ape-type-md); font-weight: 700; text-decoration: none; }
.ape-page-links a[aria-current="page"], .ape-legal-nav a[aria-current="page"] { background: var(--ape-sky); border-color: var(--ape-text-accent); }
.ape-page-links a:hover, .ape-legal-nav a:hover { background: var(--ape-peach-soft); }
.ape-article .ape-page-content > h2 { display: flex; align-items: baseline; gap: var(--ape-space-3); margin-top: var(--ape-space-12); }
.ape-page-content > h2::before { content: ''; flex: 0 0 12px; width: 12px; height: 20px; border-radius: var(--ape-radius-pill); background: var(--ape-peach); transform: rotate(-14deg); }
.ape-page-content > h2:nth-of-type(3n + 2)::before { background: var(--ape-lilac); }
.ape-page-content > h2:nth-of-type(3n)::before { background: var(--ape-teal); }
.ape-help-panel, .ape-legal-help { display: flex; align-items: center; justify-content: space-between; gap: var(--ape-space-6); margin-top: var(--ape-space-12); padding: var(--ape-space-6); border: 1px solid var(--ape-line); border-radius: var(--ape-radius-card); background: var(--ape-lilac); }
.ape-help-panel :is(h2, h3), .ape-legal-help :is(h2, h3) { margin: 0 0 var(--ape-space-2); font-size: 1.5rem; line-height: 1.25; }
.ape-help-panel p, .ape-legal-help p { margin: 0; color: var(--ape-muted); }
.ape-help-panel .ape-button, .ape-legal-help .ape-button { flex-shrink: 0; min-height: var(--ape-button-size); border-radius: var(--ape-radius-pill); padding: var(--ape-space-2) var(--ape-space-5); }
@media (max-width: 720px) {
    .ape-page-header { padding: var(--ape-space-6); }
    .ape-hero .ape-page-header h1 { font-size: clamp(1.8rem, 8vw, 3.2rem); }
    .ape-hero .ape-page-header { grid-template-columns: minmax(0, 1fr); }
    .ape-hero .ape-hero-copy { min-width: 0; }
    .ape-hero .ape-button-primary { min-width: 0; width: 100%; max-width: 100%; }
    .ape-legal-content dl { grid-template-columns: minmax(0, 1fr); padding: var(--ape-space-5); }
    .ape-legal-content dt { padding-bottom: 0; }
    .ape-legal-content dd { padding-top: var(--ape-space-1); }
    .ape-help-panel, .ape-legal-help { flex-direction: column; align-items: flex-start; }
}
.ape-article .ape-page-content > :first-child { margin-top: 0; }
.ape-article .ape-page-content p { margin-block: 0 20px; }
.ape-article .ape-page-content h2 { margin: 32px 0 14px; font-size: clamp(1.5rem, 2.6vw, 1.875rem); line-height: 1.25; letter-spacing: -.025em; }
.ape-article .ape-page-content h3 { margin: 26px 0 12px; font-size: var(--ape-type-2xl); line-height: 1.3; }
.ape-article .ape-page-content ul, .ape-article .ape-page-content ol { padding-left: 24px; }
.ape-article .ape-page-content li + li { margin-top: 6px; }
.ape-article .ape-page-content blockquote { max-width: var(--ape-editorial-width); margin: 24px 0; padding: 18px 22px; border-left: 3px solid var(--ape-teal); border-radius: 0 16px 16px 0; background: var(--ape-sky); }
.ape-article .ape-page-content a:focus-visible { outline: 3px solid var(--ape-ink); outline-offset: 5px; }
.ape-survey-actions { display: flex; align-items: center; margin-bottom: 30px; }
.ape-article .ape-page-content .ape-article-cta { display: inline-flex; align-items: center; justify-content: center; gap: var(--ape-space-4); min-height: var(--ape-button-size-large); padding: 13px 22px; border-radius: var(--ape-radius-action); background: var(--ape-teal-dark); color: var(--ape-on-dark); font-size: var(--ape-type-body); line-height: 1.35; font-weight: 750; text-decoration: none; box-shadow: 0 8px 18px rgba(10,111,112,.12); transition: background-color .2s ease, transform .2s ease; }
.ape-article .ape-page-content .ape-article-cta:hover { background: var(--ape-teal-deep); transform: translateY(-2px); }
.ape-article-cta svg { width: 20px; height: 20px; flex: 0 0 20px; }
.ape-survey-panel { margin-bottom: 24px; padding: 24px; border: 1px solid var(--ape-line); border-radius: var(--ape-radius-card); background: rgba(255,255,255,.72); }
.ape-article .ape-survey-panel > h2 { margin: 0 0 20px; font-size: var(--ape-type-xl); font-weight: 650; letter-spacing: -.01em; }
.ape-survey-venues { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.ape-survey-venue { min-width: 0; margin: 0; padding: 10px; border: 1px solid var(--ape-line); border-radius: var(--ape-radius-medium); background: white; }
.ape-article .ape-survey-venue img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: contain; border-radius: var(--ape-radius-small); }
.ape-survey-share { color: var(--ape-muted); font-size: var(--ape-type-md); }

/* Common editorial template; participation and media panels are optional. */
.ape-article-editorial .ape-page-content { display: grid; width: 100%; margin-inline: 0; margin-top: var(--ape-space-8); gap: var(--ape-space-4); color: var(--ape-ink); line-height: 1.8; }
.ape-article-editorial .ape-page-content > :is(p, h2, h3, ul, ol, blockquote, figure, div, section) { min-width: 0; margin-block: 0; }
.ape-article-editorial .ape-page-content > h2 { margin-top: var(--ape-space-6); color: var(--ape-ink); font-size: clamp(1.375rem, 2.3vw, 1.625rem); line-height: 1.3; text-wrap: pretty; }
.ape-article-editorial .ape-page-content > h2 + :is(p, ul, ol) { margin-top: calc(-1 * var(--ape-space-1)); }
.ape-article-editorial .ape-editorial-footer { width: 100%; margin-inline: 0; margin-top: var(--ape-space-8); }
.ape-page-content .ape-date-underline { display: inline-block; position: relative; white-space: nowrap; }
.ape-page-content .ape-date-underline::after { content: ''; position: absolute; left: -3px; right: -3px; bottom: -2px; height: 8px; background: var(--ape-peach); pointer-events: none; -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 120 12' preserveAspectRatio='none'%3E%3Cpath d='M3 7C24 2 42 9 64 5S98 8 117 3' fill='none' stroke='black' stroke-width='3.6' stroke-linecap='round'/%3E%3Cpath d='M15 10C40 7 66 10 97 7' fill='none' stroke='black' stroke-width='1.3' stroke-linecap='round'/%3E%3C/svg%3E") center / 100% 100% no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 120 12' preserveAspectRatio='none'%3E%3Cpath d='M3 7C24 2 42 9 64 5S98 8 117 3' fill='none' stroke='black' stroke-width='3.6' stroke-linecap='round'/%3E%3Cpath d='M15 10C40 7 66 10 97 7' fill='none' stroke='black' stroke-width='1.3' stroke-linecap='round'/%3E%3C/svg%3E") center / 100% 100% no-repeat; }
@media (prefers-reduced-motion: no-preference) {
    .ape-page-content .ape-date-underline.is-drawn::after { animation: ape-date-draw 900ms cubic-bezier(.22,.61,.36,1) both; }
}
@keyframes ape-date-draw { from { clip-path: inset(0 100% 0 0); } to { clip-path: inset(0 0 0 0); } }
.ape-article-editorial .ape-page-content > p:first-child,
.ape-article .ape-page-content .ape-article-lead { max-width: var(--ape-editorial-width); color: var(--ape-ink); font-size: clamp(1.125rem, 1.5vw, 1.1875rem); font-weight: 550; line-height: 1.7; text-wrap: pretty; }
.ape-editorial-actions { display: flex; align-items: center; }
.ape-article .ape-page-content .ape-editorial-action { min-width: 0; padding: var(--ape-space-4) var(--ape-space-6); border: 1px solid rgba(193,112,51,.18); border-radius: var(--ape-radius-pill); background: var(--ape-peach); color: var(--ape-ink); box-shadow: var(--ape-shadow-action); }
.ape-article .ape-page-content .ape-editorial-action:hover { background: var(--ape-peach-hover); }
.ape-participation-panel { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: var(--ape-space-8); padding: var(--ape-space-8); border: 1px solid var(--ape-line); border-radius: var(--ape-radius-card); background: var(--ape-sky); }
.ape-participation-copy { min-width: 0; }
.ape-article .ape-participation-panel .ape-eyebrow { margin: 0 0 var(--ape-space-3); color: var(--ape-text-accent); font-size: var(--ape-type-xs); }
.ape-article .ape-participation-panel :is(h2, h3) { margin: 0 0 var(--ape-space-3); font-size: clamp(1.4rem, 2.3vw, 1.75rem); line-height: 1.25; text-wrap: balance; }
.ape-article .ape-participation-panel p:last-child { margin: 0; color: var(--ape-text-reading); }
.ape-participation-panel .ape-survey-actions { margin: 0; }
.ape-article .ape-participation-panel .ape-article-cta { min-width: 0; padding: var(--ape-space-4) var(--ape-space-6); border: 1px solid rgba(193,112,51,.18); border-radius: var(--ape-radius-pill); background: var(--ape-peach); color: var(--ape-ink); box-shadow: var(--ape-shadow-action); text-align: center; }
.ape-article .ape-participation-panel .ape-article-cta:hover { background: var(--ape-peach-hover); }
.ape-article-editorial .ape-survey-panel { margin: 0; padding: 0; border: 0; border-radius: 0; background: transparent; }
.ape-article-editorial .ape-survey-panel > h2 { margin: 0 0 var(--ape-space-4); font-size: 1.5rem; font-weight: 750; }
.ape-article-editorial .ape-survey-venue { padding: var(--ape-space-3); border-radius: var(--ape-radius-card); }
.ape-article .ape-survey-closing p { margin: 0 0 var(--ape-space-3); }
.ape-article .ape-survey-closing p:last-child { margin-bottom: 0; }
.ape-editorial-footer, .ape-survey-footer { padding-top: var(--ape-space-6); border-top: 1px solid var(--ape-line); }
@media (max-width: 720px) {
    .ape-editorial-actions, .ape-article .ape-page-content .ape-editorial-action { width: 100%; }
    .ape-participation-panel { grid-template-columns: minmax(0, 1fr); gap: var(--ape-space-5); padding: var(--ape-space-5); }
    .ape-participation-panel .ape-survey-actions, .ape-article .ape-participation-panel .ape-article-cta { width: 100%; }
}

@media (max-width: 720px) {
    .ape-article { padding-block: 20px 44px; }
    .ape-article .ape-breadcrumb { margin-bottom: 24px; font-size: var(--ape-type-xs); }
    .ape-article .ape-breadcrumb [aria-current] { flex-basis: 100%; }
    .ape-article .ape-page-header h1 { font-size: clamp(1.875rem, 7.7vw, 2.5rem); line-height: 1.16; }
    .ape-article .ape-page-description { margin-top: 14px; font-size: var(--ape-type-body); line-height: 1.6; }
    .ape-article .ape-page-content { margin-top: 20px; font-size: var(--ape-type-body); }
    .ape-survey-actions { margin-bottom: 24px; }
    .ape-article .ape-page-content .ape-article-cta { width: 100%; }
    .ape-survey-panel { padding: 16px; border-radius: var(--ape-radius-medium); }
    .ape-article .ape-survey-panel > h2 { margin-bottom: 14px; }
    .ape-survey-venues { grid-template-columns: 1fr; gap: 12px; }
    .ape-survey-venue { padding: 8px; border-radius: var(--ape-radius-action); }
}

.ape-section.ape-listing-page { padding-block:var(--ape-space-8) var(--ape-space-16); }
.ape-listing-page > .ape-shell > .ape-page-header { margin-bottom:var(--ape-space-8); }
.ape-listing-page .ape-page-description { max-width:var(--ape-reading-width); margin:var(--ape-space-4) 0 0; font-size:var(--ape-type-xl); line-height:1.65; }
.ape-document-years { display: grid; gap: 18px; }
.ape-document-year { padding: 26px; border: 1px solid var(--ape-line); border-radius: var(--ape-radius-card); background: rgba(255,255,255,.86); box-shadow: 0 12px 30px rgba(35,77,74,.045); }
.ape-document-year.is-current { border-color: rgba(11,145,142,.22); background: linear-gradient(135deg, rgba(226,244,241,.62), rgba(255,255,255,.94)); }
.ape-document-year-heading { display: flex; align-items: end; justify-content: space-between; gap: 18px; margin-bottom: 24px; }
.ape-document-year-heading .ape-eyebrow { margin-bottom: 7px; }
.ape-document-year-heading h3 { margin: 0; color: var(--ape-ink); font-size: clamp(1.8rem, 4vw, 2.7rem); line-height: 1; letter-spacing: -.06em; }
.ape-document-count { color: var(--ape-teal-dark); font-size: var(--ape-type-sm); font-weight: 800; }
.ape-document-groups { display: grid; gap: 24px; }
.ape-document-group h4 { margin: 0 0 11px; color: var(--ape-teal-dark); font-size: var(--ape-type-sm); letter-spacing: .1em; text-transform: uppercase; }
.ape-document-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.ape-document-card { display: flex; gap: 15px; min-width: 0; padding: 17px; border: 1px solid rgba(220,233,228,.96); border-radius: var(--ape-radius-medium); background: rgba(255,255,255,.84); transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease; }
.ape-document-card:hover { border-color: rgba(11,145,142,.3); transform: translateY(-2px); box-shadow: 0 12px 24px rgba(35,77,74,.08); }
.ape-document-card-icon { display: grid; place-items: center; width: 42px; height: 46px; flex: 0 0 42px; border-radius: var(--ape-radius-action); background: var(--ape-peach-soft); color: var(--ape-teal-dark); }
.ape-document-card-icon svg { width: 22px; height: 22px; }
.ape-document-card-body { min-width: 0; }
.ape-document-card-meta { margin: 0 0 4px; color: var(--ape-text-accent); font-size: var(--ape-type-xs); font-weight: 850; }
.ape-document-card h5 { margin: 0 0 7px; font-size: var(--ape-type-lg); line-height: 1.18; }
.ape-document-card h5 a { text-decoration: none; }
.ape-document-card h5 a, .ape-document-card-link { display: inline-flex; align-items: center; min-height: var(--ape-action-min-size); gap: var(--ape-space-2); }
.ape-document-card h5 a:hover { color: var(--ape-text-accent); }
.ape-document-card-body > p:not(.ape-document-card-meta) { margin: 0 0 11px; color: var(--ape-muted); font-size: var(--ape-type-md); line-height: 1.4; }
.ape-document-card-link { color: var(--ape-teal-dark); font-size: var(--ape-type-sm); font-weight: 850; text-decoration: none; }
.ape-document-card-link:hover { text-decoration: underline; }
.ape-document-archive { padding: 0; overflow: hidden; }
.ape-document-archive summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 22px 26px; cursor: pointer; list-style: none; }
.ape-document-archive summary::-webkit-details-marker { display: none; }
.ape-document-archive summary > :first-child { display: grid; gap: 3px; }
.ape-document-archive-title { margin: 0; font-size: var(--ape-type-2xl); }
.ape-document-archive summary small { color: var(--ape-muted); font-size: var(--ape-type-sm); }
.ape-document-archive-toggle { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--ape-sky); color: var(--ape-teal-dark); font-size: 1.35rem; line-height: 1; }
.ape-document-archive[open] .ape-document-archive-toggle { transform: rotate(45deg); }
.ape-document-archive-content { padding: 0 26px 26px; }
.ape-documents-empty { display: grid; gap: 5px; }
.ape-documents-empty strong { color: var(--ape-ink); }
.ape-document-detail .ape-page-header { max-width: 760px; }
.ape-document-detail-meta { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 22px; color: var(--ape-teal-dark); font-size: var(--ape-type-sm); font-weight: 800; }
.ape-document-detail-meta span { padding: 7px 11px; border-radius: var(--ape-radius-pill); background: var(--ape-sky); }
.ape-document-detail-action { margin-top: 30px; }
.ape-document-attachments { display: grid; gap: 11px; max-width: 620px; }
.ape-document-open { display: flex; align-items: center; gap: 14px; width: fit-content; min-width: min(100%, 360px); padding: 14px 17px; border: 1px solid rgba(11,145,142,.2); border-radius: var(--ape-radius-medium); background: var(--ape-peach-soft); color: var(--ape-ink); text-decoration: none; box-shadow: 0 10px 24px rgba(35,77,74,.07); }
.ape-document-open:hover { transform: translateY(-2px); box-shadow: 0 14px 28px rgba(35,77,74,.11); }
.ape-document-open > span:nth-child(2) { display: grid; gap: 2px; flex: 1; }
.ape-document-open strong { font-size: var(--ape-type-body); }
.ape-document-open small { color: var(--ape-muted); font-size: var(--ape-type-xs); }
.ape-document-open-icon { display: grid; place-items: center; width: 42px; height: 42px; border-radius: var(--ape-radius-action); background: var(--ape-peach); color: var(--ape-ink); font-size: var(--ape-type-xs); font-weight: 900; }

.ape-footer { background: var(--ape-ink); color: white; }
.ape-footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding-block: 30px; }
.ape-footer strong { color: var(--ape-on-ink-accent); }
.ape-footer p { margin: 4px 0 0; color: var(--ape-line-strong); font-size: var(--ape-type-sm); }
.ape-footer-links { display: flex; flex-wrap: wrap; gap: 16px; color: var(--ape-on-ink); font-size: var(--ape-type-sm); }
.ape-footer-links a { text-decoration: none; }
.ape-footer-links a:hover { color: white; text-decoration: underline; }

@media (max-width: 900px) {
    .ape-hero-grid { grid-template-columns: 1fr; padding-top: 50px; }
    .ape-hero-copy { text-align: center; }
    .ape-hero h1, .ape-hero-intro { margin-inline: auto; }
    .ape-actions { justify-content: center; }
    .ape-next-event { margin-inline: auto; }
    .ape-hero h1 { font-size: clamp(2.8rem, 6vw, 4.3rem); }
}

@media (max-width: 1050px) {
    .ape-header-inner { gap: var(--ape-space-2); }
    .ape-brand { min-width: 0; }
    .ape-brand-copy { min-width: 0; }
    .ape-brand-copy small { display: none; }
    .ape-menu-toggle { display: inline-flex; }
    .ape-nav { position: absolute; display: none; top: calc(100% + 8px); right: 0; left: 0; flex-direction: column; align-items: stretch; gap: 2px; max-height: calc(100svh - 104px); overflow-y: auto; padding: var(--ape-space-2); border: 1px solid var(--ape-line); border-radius: var(--ape-radius-card); background: var(--ape-surface); box-shadow: var(--ape-shadow); }
    .ape-nav.is-open { display: flex; }
    .ape-nav::before { display: none; }
    .ape-nav a { width: 100%; min-height: var(--ape-space-12); padding: 10px 16px; border-radius: var(--ape-radius-action); }
    .ape-nav a.is-active, .ape-nav a.is-active:hover, .ape-nav a.is-active:focus-visible { background: var(--ape-sky); }
    .ape-nav .ape-nav-cta { justify-content: center; min-height: var(--ape-space-12); margin-top: var(--ape-space-2); margin-left: 0; border-radius: var(--ape-radius-pill); }
}

@media (max-width: 720px) {
    .ape-shell { width: min(100% - 32px, 600px); }
    .ape-header { padding: 8px 0; }
    .ape-header-inner { min-height: 58px; padding: 6px 8px 6px 12px; }
    .ape-brand { gap: 9px; }
    .ape-brand-logo { width: 58px; height: 68px; }
    .ape-brand-copy strong { font-size: clamp(.85rem, 3.7vw, .98rem); line-height: 1.25; }
    .ape-brand-copy strong span { display: block; }
    .ape-hero-grid { min-height: 0; padding-block: 42px 50px; }
    .ape-hero h1 { font-size: clamp(2rem, 10vw, 3.4rem); }
    .ape-next-event { grid-template-columns: 45px minmax(0, 1fr) 36px; gap: 9px; padding: 10px 12px; }
    .ape-next-date { padding-right: 9px; }
    .ape-resource-grid { grid-template-columns: 1fr; gap: 12px; }
    .ape-resource-card { grid-template-columns: minmax(0, 1fr) clamp(72px, 23vw, 100px); padding: var(--ape-space-6); gap: var(--ape-space-3); }
    .ape-resource-heading { align-self: center; }
    .ape-resource-art { grid-row: 1; }
    .ape-resource-card p { grid-column: 1 / -1; }
    .ape-resource-action { min-height: var(--ape-action-min-size); font-size: var(--ape-type-md); padding-inline: var(--ape-space-4); }
    .ape-intro-band { padding-block: 14px; }
    .ape-intro-grid { grid-template-columns: 32px minmax(0, 1fr); align-items: start; gap: 12px; padding: 18px 16px; border-radius: 20px 20px 20px 6px; }
    .ape-intro-symbol { width: 32px; height: 32px; margin-top: 2px; }
    .ape-intro-symbol svg { width: 18px; height: 18px; }
    .ape-intro-lead { font-size: var(--ape-type-lg); letter-spacing: -.025em; }
    .ape-intro-band + #actualites { padding-top: 36px; }
    .ape-section { padding-block: 58px; }
    .ape-section-heading { display: block; }
    .ape-section-note { display: block; margin-top: 13px; }
    .ape-news-grid { grid-template-columns: 1fr; }
    .ape-news-card, .ape-news-card-featured { grid-template-columns: 1fr; }
    .ape-news-visual, .ape-news-card-featured .ape-news-visual { min-height: 0; aspect-ratio: 16 / 9; }
    .ape-event-card { grid-template-columns: 74px minmax(0, 1fr); gap: 14px; padding: 18px 15px; }
    .ape-listing-page .ape-breadcrumb { margin-bottom:var(--ape-space-6); font-size:var(--ape-type-xs); }
    .ape-document-year { padding: 20px; border-radius: var(--ape-radius-medium); }
    .ape-document-year-heading { align-items: flex-start; flex-direction: column; gap: 9px; margin-bottom: 20px; }
    .ape-document-grid { grid-template-columns: 1fr; }
    .ape-document-archive summary { padding: 19px 20px; }
    .ape-document-archive-content { padding: 0 20px 20px; }
    .ape-footer-inner { align-items: flex-start; flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .001ms !important; transition-duration: .001ms !important; }
    .ape-reveal-ready .ape-reveal, .ape-reveal-ready .ape-reveal.is-visible { opacity: 1; transform: none; }
    .ape-nav::before, .ape-nav.is-blob-ready::before { animation: none !important; transition: none !important; }
    .ape-resource-art svg, .ape-resource-card:hover .ape-resource-art svg { animation: none !important; transition: none !important; transform: none; opacity: 1; }
}

/* Verified event venue: shared map card, in the site's mint/peach palette. */
.ape-location-card { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.4fr); align-items: center; gap: var(--ape-space-6); margin-top: var(--ape-space-8); padding: var(--ape-space-6); border: 1px solid var(--ape-line); border-radius: var(--ape-radius-card); background: var(--ape-sky); }
.ape-location-copy { min-width: 0; }
.ape-location-eyebrow { display: flex; align-items: center; gap: var(--ape-space-2); margin: 0 0 var(--ape-space-3); color: var(--ape-text-accent); font-size: var(--ape-type-xs); font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.ape-location-eyebrow svg { width: 24px; height: 24px; flex: 0 0 24px; }
.ape-location-card h2 { margin: 0 0 var(--ape-space-4); color: var(--ape-ink); font-size: clamp(1.375rem, 2.3vw, 1.625rem); line-height: 1.25; letter-spacing: -.025em; }
.ape-location-name { margin: 0 0 var(--ape-space-1); color: var(--ape-ink); font-weight: 750; }
.ape-location-address { margin: 0 0 var(--ape-space-5); color: var(--ape-ink); font-size: var(--ape-type-md); line-height: 1.6; }
.ape-location-directions { min-width: 0; min-height: var(--ape-action-min-size); padding: var(--ape-space-3) var(--ape-space-5); font-size: var(--ape-type-sm); text-align: center; }
.ape-location-map { min-width: 0; overflow: hidden; border: 1px solid var(--ape-line); border-radius: var(--ape-radius-action); background: var(--ape-surface); }
.ape-location-map iframe { display: block; width: 100%; height: 260px; border: 0; }
@media (max-width: 720px) {
    .ape-location-card { grid-template-columns: minmax(0, 1fr); padding: var(--ape-space-5); gap: var(--ape-space-5); }
    .ape-location-map iframe { height: 230px; }
}

/* Editor-selected strokes wrap with the text instead of forcing a long line. */
.ape-page-content .ape-orange-underline { background:url('../img/underline-orange.svg') left bottom / 100% 8px no-repeat; padding-bottom:3px; -webkit-box-decoration-break:clone; box-decoration-break:clone; }
.ape-article[data-date-underline="none"] .ape-orange-underline { background:none; }
.ape-article[data-date-underline="none"] .ape-date-underline::after { display:none; }
@media (prefers-reduced-motion: no-preference) { .ape-page-content .ape-orange-underline.is-drawn { animation:ape-orange-draw 900ms cubic-bezier(.22,.61,.36,1) both; } }
@keyframes ape-orange-draw { from { background-size:0 8px; } to { background-size:100% 8px; } }
/* Lien de page éditorial : bandeau pleine largeur vers une autre page du site (icône, deux lignes, flèche). */
.ape-article .ape-page-content .ape-page-link { display: flex; align-items: center; gap: var(--ape-space-4); width: 100%; max-width: 720px; box-sizing: border-box; padding: var(--ape-space-4) var(--ape-space-5); border: 1px solid rgba(11, 145, 142, .34); border-radius: var(--ape-radius-card); background: var(--ape-sky); color: var(--ape-ink); text-decoration: none; box-shadow: 0 10px 24px rgba(54, 86, 83, .1); transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease; }
.ape-article .ape-page-content .ape-page-link:hover, .ape-article .ape-page-content .ape-page-link:focus-visible { transform: translateY(-3px); border-color: var(--ape-teal); box-shadow: 0 16px 32px rgba(54, 86, 83, .16); }
.ape-page-link-icon { display: grid; place-items: center; flex: 0 0 56px; width: 56px; height: 56px; border-radius: 50%; background: var(--ape-peach); color: var(--ape-ink); }
.ape-page-link-icon svg { width: 28px; height: 28px; }
.ape-page-link-copy { display: grid; gap: 2px; min-width: 0; text-align: left; }
.ape-page-link-copy small { color: var(--ape-muted); font-size: var(--ape-type-sm); font-weight: 700; line-height: 1.3; }
.ape-page-link-copy strong { color: var(--ape-ink); font-size: clamp(1.25rem, 2.4vw, 1.5rem); font-weight: 800; line-height: 1.2; letter-spacing: -.02em; }
.ape-page-link-arrow { display: grid; place-items: center; flex: 0 0 44px; width: 44px; height: 44px; margin-left: auto; border-radius: 50%; background: var(--ape-teal-dark); color: var(--ape-on-dark); transition: transform .2s ease; }
.ape-page-link-arrow svg { width: 22px; height: 22px; }
.ape-page-link:hover .ape-page-link-arrow, .ape-page-link:focus-visible .ape-page-link-arrow { transform: translateX(4px); }
@media (prefers-reduced-motion: reduce) {
    .ape-article .ape-page-content .ape-page-link, .ape-page-link-arrow { transition: none; }
    .ape-article .ape-page-content .ape-page-link:hover, .ape-article .ape-page-content .ape-page-link:focus-visible, .ape-page-link:hover .ape-page-link-arrow { transform: none; }
}
