/* Public site. Plain CSS, no build step; tokens first. */

@font-face {
    font-family: "Montserrat";
    font-style: normal;
    font-weight: 400 700;
    font-display: swap;
    src: url("/assets/fonts/montserrat-latin.woff2") format("woff2");
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
    font-family: "Montserrat";
    font-style: normal;
    font-weight: 400 700;
    font-display: swap;
    src: url("/assets/fonts/montserrat-latin-ext.woff2") format("woff2");
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
    --blue: #1b7a5a;
    --blue-deep: #0f4a37;
    --blue-soft: #e9f5f0;
    --ink: #283742;
    --ink-soft: #52616d;
    --muted: #5c6b78;
    --blue-hover: #166449;
    --control: #8796a4;
    --line: #e2e9f0;
    --panel: #f4f8fc;
    --page: #ffffff;
    --sun: #ffb600;
    --focus: #1d6fd1;

    --font-display: "Montserrat", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
    --font-text: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif;

    --wrap: 1200px;
    --gutter: 16px;
    --radius: 10px;
    --shadow: 0 1px 2px rgba(16, 38, 58, .06), 0 4px 16px rgba(16, 38, 58, .06);
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }

body {
    margin: 0;
    background: var(--page);
    color: var(--ink);
    font: 400 1rem/1.6 var(--font-text);
    -webkit-font-smoothing: antialiased;
    overflow-wrap: break-word;
}

img { max-width: 100%; height: auto; display: block; }

a { color: var(--blue-deep); text-decoration-thickness: 1px; text-underline-offset: 2px; }
a:hover { color: var(--blue-deep); }

:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; border-radius: 3px; }

h1, h2, h3, h4 { font-family: var(--font-display); color: var(--ink); line-height: 1.25; letter-spacing: -.01em; margin: 0 0 .5em; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }

.skip {
    position: absolute; left: -9999px; top: 8px; z-index: 10;
    background: var(--ink); color: #fff; padding: 8px 12px; border-radius: 6px;
}
.skip:focus { left: 8px; }

.visually-hidden {
    position: absolute !important; width: 1px; height: 1px; overflow: hidden;
    clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap;
}

/* ── Editors' bar (site.js), shown to panel users only ─────────────────── */

.editor-bar {
    position: sticky; top: 0; z-index: 50;
    display: flex; justify-content: space-between; gap: 8px;
    min-height: 34px; padding: 0 8px;
    background: #1d262d; color: #e8eef2;
    font: 500 .8125rem/1 var(--font-text);
}
.editor-bar ul { display: flex; margin: 0; padding: 0; list-style: none; }
.editor-bar li { position: relative; }
.editor-bar a, .editor-bar summary, .editor-bar button {
    display: flex; align-items: center; gap: 6px; height: 34px; padding: 0 10px;
    color: inherit; font: inherit; text-decoration: none; white-space: nowrap;
    background: none; border: 0; cursor: pointer;
}
.editor-bar summary { list-style: none; }
.editor-bar summary::-webkit-details-marker { display: none; }
.editor-bar summary::after {
    content: ""; width: 6px; height: 6px; margin: -3px 0 0 2px;
    border: solid currentColor; border-width: 0 1.5px 1.5px 0; transform: rotate(45deg); opacity: .7;
}
.editor-bar a:hover, .editor-bar summary:hover, .editor-bar button:hover, .editor-bar details[open] > summary {
    background: #2c3943; color: #fff;
}
.editor-bar :focus-visible { outline-offset: -3px; }
.editor-bar svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.editor-bar details ul {
    position: absolute; top: 100%; left: 0; min-width: 200px;
    flex-direction: column; padding: 6px 0;
    background: #2c3943; box-shadow: 0 6px 18px rgba(0, 0, 0, .25);
}
.editor-bar__end details ul { left: auto; right: 0; }
.editor-bar details li a, .editor-bar details li button { width: 100%; height: 32px; padding: 0 14px; }
.editor-bar details li a:hover, .editor-bar details li button:hover { background: #3a4a56; }
.editor-bar__start > li > a:has(svg) { color: var(--sun); }
.has-editor-bar .skip:focus { top: 42px; }
@media (max-width: 600px) {
    /* On a phone the bar scrolls away with the page, "New" and the editing link keep only their
       icons (their names stay for screen readers) and a long user name is cut short. */
    .editor-bar { position: relative; padding: 0; }
    .editor-bar__start > li > a > svg + span, .editor-bar__start > li > details > summary > svg + span {
        position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap;
    }
    .editor-bar__end summary span { display: inline-block; max-width: 8em; overflow: hidden; text-overflow: ellipsis; }
}

/* ── Header ───────────────────────────────────────────────────────────── */

.site-header { border-bottom: 1px solid var(--line); background: var(--page); }

.site-header__bar {
    display: flex; flex-wrap: wrap; align-items: center;
    gap: 8px 24px; padding-top: 14px; padding-bottom: 14px;
}

.wordmark {
    font-family: var(--font-display); font-weight: 400; font-size: 1.75rem; line-height: 1;
    letter-spacing: -.02em; text-decoration: none; color: #3d4449;
}
.wordmark span { color: var(--blue); }
.wordmark:hover { color: #3d4449; }
/* The logo as a picture (config/site.php): the header's is 64px tall, the footer's 72px. */
.wordmark--logo { display: block; line-height: 0; }
.wordmark--logo img { height: 64px; width: auto; }
.site-footer .wordmark--logo img { height: 72px; }
@media (max-width: 700px) {
    .wordmark--logo img { height: 52px; }
    .site-footer .wordmark--logo img { height: 64px; }
}

.site-nav ul { display: flex; flex-wrap: wrap; gap: 4px; list-style: none; margin: 0; padding: 0; }
.site-nav a {
    display: block; padding: 8px 12px; border-radius: 8px;
    font: 600 .95rem/1 var(--font-display); color: var(--ink); text-decoration: none;
}
.site-nav a:hover { background: var(--blue-soft); color: var(--blue-deep); }
.site-nav a[aria-current="page"] { color: var(--blue-deep); box-shadow: inset 0 -2px 0 var(--blue); border-radius: 0; }
@media (max-width: 480px) {
    .site-nav ul { gap: 0; }
    .site-nav a { padding: 8px 9px; font-size: .9rem; }
}

/* Search is how readers find a subject, as there are no categories (O57): after the menu, and
   on a phone beside the wordmark, so it never wraps onto a line of its own. */
.site-nav { margin-left: auto; }
.site-search {
    display: flex; align-items: center; justify-content: center; width: 36px; height: 36px;
    margin-left: -16px; border-radius: 8px; color: var(--ink);
}
.site-search:hover { background: var(--blue-soft); color: var(--blue-deep); }
.site-search svg { width: 19px; height: 19px; }
@media (max-width: 700px) {
    .site-search { order: 2; margin-left: auto; }
    .site-nav { order: 3; flex-basis: 100%; margin-left: 0; }
}

/* The language switch after search (docs/SECTIONS.md §8): GTranslate's script writes a link per
   language into it, so it takes no room without JavaScript. */
.lang-switch { display: flex; align-items: center; margin-left: -16px; }
.lang-switch:empty { display: none; }
.lang-switch a {
    display: block; padding: 8px; border-radius: 8px;
    font: 600 .8rem/1 var(--font-display); color: var(--muted); text-decoration: none;
}
.lang-switch a:hover { background: var(--blue-soft); color: var(--blue-deep); }
.lang-switch a.gt-current-lang { color: var(--blue-deep); box-shadow: inset 0 -2px 0 var(--blue); border-radius: 0; }
/* TR | EN: a thin line between the two codes, outside the text so it is never read or clicked. */
.lang-switch a + a { position: relative; }
.lang-switch a + a::before {
    content: ""; position: absolute; left: 0; top: 30%; height: 40%;
    border-left: 1px solid var(--line);
}
@media (max-width: 700px) {
    .lang-switch { order: 2; }
}

/* ── Main ─────────────────────────────────────────────────────────────── */

main { padding: 28px 0 56px; }

.page-head { margin-bottom: 24px; }
.page-head h1 { font-size: clamp(1.6rem, 1.2rem + 1.6vw, 2.4rem); }
.page-head p { color: var(--ink-soft); margin: 0; max-width: 60ch; }

.section-title {
    display: flex; align-items: baseline; justify-content: space-between; gap: 12px;
    border-bottom: 2px solid var(--ink); padding-bottom: 8px; margin: 40px 0 20px;
}
.section-title h2 { font-size: 1.15rem; text-transform: uppercase; letter-spacing: .06em; margin: 0; }
.section-title a { font: 600 .9rem var(--font-display); text-decoration: none; }

.chip {
    display: inline-block; font: 700 .72rem/1 var(--font-display); letter-spacing: .08em;
    text-transform: uppercase; color: var(--blue-deep); text-decoration: none;
}

.meta { color: var(--muted); font-size: .85rem; }
.meta > * + *::before { content: "·"; margin: 0 .45em; color: var(--line); color: #b7c3cd; }

/* ── Cards ────────────────────────────────────────────────────────────── */

/* The home page's sections (Türkiye, Dünya): air between them. */
.home-section + .home-section { margin-top: 16px; }
/* Three to a row on a wide screen, so a section's six stories fill two rows. */
.home-section .grid { grid-template-columns: repeat(auto-fill, minmax(min(300px, 100%), 1fr)); }

.grid { display: grid; gap: 28px 24px; grid-template-columns: repeat(auto-fill, minmax(min(260px, 100%), 1fr)); }

.card { display: flex; flex-direction: column; gap: 10px; }
.card__media {
    display: block; aspect-ratio: 16 / 9; overflow: hidden; border-radius: var(--radius);
    background: var(--panel);
}
.card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s ease; }
.card:hover .card__media img { transform: scale(1.03); }
.card__title { font-size: 1.05rem; font-weight: 600; margin: 0; }
.card__title a { color: var(--ink); text-decoration: none; }
.card__title a:hover { color: var(--blue-deep); text-decoration: underline; }
.card__dek { color: var(--ink-soft); font-size: .95rem; margin: 0; }
.card .meta { margin: 0; }

.lead { display: grid; grid-template-columns: minmax(0, 1fr); gap: 20px 32px; align-items: center; margin-bottom: 8px; }
.lead .card__media { aspect-ratio: 16 / 9; }
.lead__title { font-size: clamp(1.5rem, 1.1rem + 1.6vw, 2.3rem); margin: 6px 0 10px; }
.lead__title a { color: var(--ink); text-decoration: none; }
.lead__title a:hover { color: var(--blue-deep); }
.lead p { color: var(--ink-soft); margin: 0 0 12px; font-size: 1.05rem; }

@media (min-width: 860px) {
    .lead { grid-template-columns: minmax(0, 3fr) minmax(0, 2fr); }
}

.list { list-style: none; margin: 0; padding: 0; }
.list > li { border-bottom: 1px solid var(--line); }
.row { display: grid; grid-template-columns: 112px minmax(0, 1fr); gap: 16px; padding: 18px 0; align-items: start; }
.row .card__media { aspect-ratio: 4 / 3; border-radius: 8px; }
.row__title { font-size: 1.05rem; font-weight: 600; margin: 4px 0 6px; }
.row__title a { color: var(--ink); text-decoration: none; }
.row__title a:hover { color: var(--blue-deep); text-decoration: underline; }
.row p { margin: 0 0 6px; color: var(--ink-soft); font-size: .95rem; }

@media (min-width: 700px) {
    .row { grid-template-columns: 220px minmax(0, 1fr); gap: 24px; }
    .row__title { font-size: 1.2rem; }
}

/* ── Search and paging ────────────────────────────────────────────────── */

.search { display: flex; gap: 8px; max-width: 560px; margin: 0 0 24px; }
.search input {
    flex: 1; min-width: 0; padding: 11px 14px; border: 1px solid var(--control); border-radius: 8px;
    font: inherit; color: var(--ink); background: #fff;
}
.search button, .button {
    padding: 11px 18px; border: 0; border-radius: 8px; background: var(--blue-deep); color: #fff;
    font: 600 .95rem/1 var(--font-display); cursor: pointer; text-decoration: none; display: inline-block;
}
.search button:hover, .button:hover { background: var(--blue-hover); color: #fff; }

.pager { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 32px; }
.pager a, .pager span { font: 600 .95rem var(--font-display); }
.pager span { color: var(--muted); }

/* ── Article ──────────────────────────────────────────────────────────── */

.article { max-width: 760px; margin: 0 auto; }
.article__head { margin-bottom: 20px; }
.article__title { font-size: clamp(1.75rem, 1.2rem + 2.2vw, 2.75rem); margin: 10px 0 14px; }
.article__dek { font-size: 1.2rem; color: var(--ink-soft); margin: 0 0 14px; }
.article__figure { margin: 0 0 28px; }
.article__figure img { width: 100%; border-radius: var(--radius); background: var(--panel); }
.article__figure figcaption { color: var(--muted); font-size: .85rem; margin-top: 8px; }

.prose { font-size: 1.075rem; line-height: 1.75; }
.prose p { margin: 0 0 1.15em; }
.prose h2, .prose h3, .prose h4 { margin: 1.6em 0 .6em; }
.prose ul, .prose ol { padding-left: 1.3em; margin: 0 0 1.15em; }
.prose li { margin: .3em 0; }
.prose blockquote { margin: 1.4em 0; padding: .2em 0 .2em 1.1em; border-left: 3px solid var(--blue); color: var(--ink-soft); }

@media (min-width: 700px) { .prose { font-size: 1.125rem; } }

/* A quiet line after a gap, no box: the source is there, not the point (O54). */
.source { margin: 40px 0 0; font-size: .9rem; color: var(--muted); }
.source a { color: var(--muted); }
.source a:hover { color: var(--ink); }
.source p { margin: 0; }
.source p + p { margin-top: 6px; }

.video { position: relative; display: block; margin: 0 0 28px; border-radius: var(--radius); overflow: hidden; aspect-ratio: 16 / 9; background: #0f1d29; }
.video img { width: 100%; height: 100%; object-fit: cover; opacity: .75; }
.video span {
    position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
    color: #fff; font: 700 1.05rem var(--font-display); text-shadow: 0 1px 6px rgba(0, 0, 0, .5);
}
.video iframe { width: 100%; height: 100%; border: 0; display: block; }

.crumbs { font-size: .9rem; color: var(--muted); margin-bottom: 16px; }
.crumbs a { text-decoration: none; }
.crumbs span[aria-hidden] { margin: 0 .35em; }

/* ── Home: hero carousel, newsletter band ─────────────────────────────── */

.hero { position: relative; margin: 0 0 8px; display: flex; flex-direction: column; }
.hero__track { order: 1; }
.hero__track {
    display: flex; overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory;
    scroll-behavior: smooth; border-radius: var(--radius); scrollbar-width: none; background: #0f1d29;
}
.hero__track::-webkit-scrollbar { display: none; }
.hero__slide {
    flex: 0 0 100%; min-width: 0; scroll-snap-align: start; scroll-snap-stop: always;
    display: grid; grid-template-columns: minmax(0, 1fr); background: #0f1d29; color: #fff;
}
.hero__media { aspect-ratio: 16 / 9; overflow: hidden; background: #0f1d29; }
.hero__media img, .hero__media video { width: 100%; height: 100%; object-fit: cover; display: block; }
.hero__media .video { margin: 0; border-radius: 0; aspect-ratio: auto; height: 100%; }
.hero__body { display: flex; flex-direction: column; justify-content: center; align-items: flex-start; gap: 12px; padding: 20px 20px 24px; }
.hero__title { font-size: clamp(1.4rem, 1rem + 1.8vw, 2.3rem); margin: 0; color: #fff; }
.hero__title a { color: #fff; text-decoration: none; }
.hero__title a:hover { text-decoration: underline; color: #fff; }
.hero__body p { margin: 0; color: #d3dee7; font-size: 1.05rem; }
.hero .chip { color: var(--sun); }
.hero .button { background: #fff; color: var(--blue-deep); }
.hero .button:hover { background: var(--sun); color: var(--ink); }
.hero__nav { order: 2; display: flex; align-items: center; justify-content: center; gap: 14px; margin-top: 14px; }
.hero__dots { display: flex; gap: 6px; list-style: none; margin: 0; padding: 0; }
.hero__dots a { display: block; padding: 8px 2px; }
.hero__dots a::before { content: ""; display: block; width: 10px; height: 10px; border-radius: 5px; background: var(--control); transition: width .2s ease, background-color .2s ease; }
.hero__dots a[aria-current="true"]::before { width: 28px; background: var(--blue); }
.hero__arrow {
    width: 36px; height: 36px; border: 1px solid var(--line); border-radius: 50%; background: #fff;
    color: var(--ink); font: 700 1.3rem/1 var(--font-display); cursor: pointer;
}
.hero__arrow:hover { background: var(--blue-soft); color: var(--blue-deep); }
.hero__pause {
    padding: 8px 12px; border: 1px solid var(--line); border-radius: 18px; background: #fff;
    color: var(--ink-soft); font: 600 .8rem/1 var(--font-display); cursor: pointer;
}
.hero__pause:hover { color: var(--blue-deep); background: var(--blue-soft); }

@media (min-width: 860px) {
    .hero__slide { grid-template-columns: minmax(0, 3fr) minmax(0, 2fr); min-height: 400px; }
    .hero__media { aspect-ratio: auto; height: 100%; min-height: 400px; }
    .hero__body { padding: 32px 36px; }
}

.cta-band {
    display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 24px;
    margin-top: 48px; padding: 24px; border-radius: var(--radius); background: var(--blue-soft);
}
.cta-band h2 { font-size: 1.3rem; margin: 0 0 4px; }
.cta-band p { margin: 0; color: var(--ink-soft); }

/* ── Text pages and the newsletter ────────────────────────────────────── */

.text-page { max-width: 760px; }
.text-page .prose { font-size: 1.05rem; }
.social-list { display: flex; flex-wrap: wrap; gap: 8px 20px; list-style: none; padding: 0; }

.issues { list-style: none; margin: 0; padding: 0; }
.issues > li { border-bottom: 1px solid var(--line); }
.issue-row { display: grid; grid-template-columns: minmax(0, 1fr); gap: 12px 20px; padding: 20px 0; }
.issue-row h2 { font-size: 1.2rem; margin: 4px 0 6px; }
.issue-row h2 a { color: var(--ink); text-decoration: none; }
.issue-row h2 a:hover { color: var(--blue-deep); text-decoration: underline; }
.issue-row p { margin: 0; color: var(--ink-soft); }
.issue-row .card__media { aspect-ratio: 16 / 9; border-radius: 8px; }

@media (min-width: 700px) {
    .issue-row { grid-template-columns: 220px minmax(0, 1fr); }
}

.issue { max-width: 760px; margin: 0 auto; }
.issue__links { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.button--quiet { background: var(--blue-soft); color: var(--blue-deep); }

/* ── Notice pages ─────────────────────────────────────────────────────── */

.empty { color: var(--ink-soft); margin: 0 0 24px; }
.notice { max-width: 640px; margin: 40px auto; text-align: center; }
.notice h1 { font-size: clamp(1.6rem, 1.3rem + 1.4vw, 2.2rem); }
.notice p { color: var(--ink-soft); }

/* ── Footer ───────────────────────────────────────────────────────────── */

.site-footer { background: #1d2a34; color: #c9d5df; padding: 40px 0 28px; font-size: .92rem; }
.site-footer a { color: #fff; text-decoration: none; }
.site-footer a:hover { text-decoration: underline; color: #fff; }
.site-footer__grid { display: grid; gap: 24px; }
.site-footer .wordmark { color: #fff; font-size: 1.5rem; }
.site-footer .wordmark span { color: #67d1e6; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 20px; }
.site-footer small { display: block; margin-top: 24px; color: #9fb0bd; }
.site-footer__links { display: grid; gap: 14px; }
.site-footer__links nav + nav { padding-top: 14px; border-top: 1px solid #33424e; }
/* Social accounts, WhatsApp and e-mail as monochrome icons: anthracite on a light disc, the
   accent colour on hover. */
.site-footer .contact-icons { gap: 10px; }
.contact-icons a {
    display: flex; align-items: center; justify-content: center;
    width: 38px; height: 38px; border-radius: 50%; background: #e6eaed; color: #3d4449;
    transition: background-color .15s, color .15s;
}
.site-footer .contact-icons a:hover, .contact-icons a:focus-visible { background: #fff; color: var(--blue); text-decoration: none; }
.contact-icons svg { width: 18px; height: 18px; }

@media (min-width: 860px) {
    .site-footer__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); align-items: start; }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { transition: none !important; animation: none !important; }
}

@media print {
    .site-header nav, .lang-switch, .site-footer, .related, .skip, .editor-bar { display: none; }
}

/* ── Newsletter issue sections (App\Newsletter\IssueRenderer) ──────────── */

.issue-section { margin-top: 36px; }
.issue-section__title { font-size: 1.35rem; border-bottom: 2px solid var(--blue); padding-bottom: 6px; margin-bottom: 16px; }
.issue-item { padding: 16px 0; border-top: 1px solid var(--line); }
.issue-item:first-of-type { border-top: 0; padding-top: 0; }
.issue-item h3 { font-size: 1.1rem; margin: 0 0 10px; }
.issue-item p { margin: 0; }
.issue-item__figure { margin: 0 0 12px; }
.issue-item__figure img { border-radius: 8px; }
.issue-item .video { margin-bottom: 12px; }

/* ── Summit (config site.summit) ──────────────────────────────────────── */

/* The logo's three suns: yellow, blue and coral. */
:root {
    --sun-yellow: #f6d31f;
    --sun-blue: #3b82c4;
    --sun-coral: #e46f4f;
    --sun-soft: #fdf6d3;
    --night: #0d2f25;
}

/* The menu: drop-downs under Hakkımızda and Program, Kayıt Ol as a button. */
.site-nav--summit li { position: relative; }
.site-nav--summit a[aria-current="true"] { color: var(--blue-deep); }
.site-nav--summit .has-sub > a::after {
    content: ""; display: inline-block; width: 6px; height: 6px; margin: 0 0 3px 8px;
    border: solid currentColor; border-width: 0 1.5px 1.5px 0; transform: rotate(45deg); opacity: .6;
}
.site-nav--summit .sub {
    position: absolute; top: 100%; left: 0; z-index: 30; min-width: 230px;
    display: none; flex-direction: column; gap: 0; padding: 8px;
    background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow);
}
.site-nav--summit .sub a { padding: 10px 12px; font-weight: 500; white-space: nowrap; }
.site-nav--summit .sub a[aria-current="page"] { box-shadow: none; border-radius: 8px; background: var(--blue-soft); }
.site-nav--summit .has-sub:hover > .sub, .site-nav--summit .has-sub:focus-within > .sub { display: flex; }
.site-nav--summit .nav-button { background: var(--sun-yellow); color: var(--ink); margin-left: 8px; padding: 10px 16px; }
.site-nav--summit .nav-button:hover { background: #ecc400; color: var(--ink); }
.site-nav--summit .nav-button[aria-current="page"] { box-shadow: none; border-radius: 8px; }

.nav-toggle {
    display: none; align-items: center; gap: 8px; margin-left: auto; padding: 8px 12px;
    border: 1px solid var(--line); border-radius: 8px; background: #fff; color: var(--ink);
    font: 600 .9rem/1 var(--font-display); cursor: pointer;
}
.nav-toggle svg { width: 20px; height: 20px; }

@media (max-width: 960px) {
    .has-nav-toggle .nav-toggle:not([hidden]) { display: inline-flex; }
    .has-nav-toggle .site-nav--summit { display: none; }
    .has-nav-toggle.nav-open .site-nav--summit { display: block; }
    .site-nav--summit { order: 3; flex-basis: 100%; margin-left: 0; }
    .site-nav--summit ul { flex-direction: column; gap: 2px; padding: 8px 0 4px; }
    .site-nav--summit a { padding: 12px; }
    .site-nav--summit .has-sub > a::after { display: none; }
    .site-nav--summit .sub {
        position: static; display: flex; min-width: 0; padding: 0 0 4px 16px;
        border: 0; border-left: 2px solid var(--line); border-radius: 0; box-shadow: none; margin-left: 12px;
    }
    .site-nav--summit .nav-button { margin: 8px 0 0; text-align: center; }
    .site-nav--summit a[aria-current="page"] { box-shadow: inset 3px 0 0 var(--blue); }
    .has-nav-toggle .lang-switch { order: 2; margin-left: 0; }
}

/* Buttons of the summit pages. */
.button--sun { background: var(--sun-yellow); color: var(--ink); }
.button--sun:hover { background: #ecc400; color: var(--ink); }
.button--ghost { background: transparent; color: #fff; box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .6); }
.button--ghost:hover { background: rgba(255, 255, 255, .12); color: #fff; }
.summit-hero .button, .summit-cta .button, .register .button { padding: 14px 22px; font-size: 1rem; }

.summit-kicker { font: 600 .85rem/1.4 var(--font-display); letter-spacing: .08em; text-transform: uppercase; color: var(--blue); margin: 0 0 10px; }
.summit-eyebrow { font: 700 .78rem/1 var(--font-display); letter-spacing: .1em; text-transform: uppercase; color: #c4532f; margin: 0 0 12px; }
.summit-link { font: 600 .95rem var(--font-display); text-decoration: none; }
.summit-link::after { content: " →"; }
.summit-link:hover { text-decoration: underline; }

/* Home: the hero, full width under the header. */
.summit-hero {
    position: relative; overflow: hidden; margin-top: -28px; padding: 72px 0 56px;
    background: radial-gradient(120% 90% at 85% 10%, #1b7a5a 0%, var(--night) 55%, #081d17 100%);
    color: #fff;
}
.summit-hero__inner { position: relative; }
.summit-hero .summit-kicker { color: var(--sun-yellow); }
.summit-hero h1 { color: #fff; font-size: clamp(2.4rem, 1.4rem + 5vw, 4.6rem); line-height: 1.02; letter-spacing: -.03em; margin: 0 0 18px; max-width: 12ch; }
.summit-hero h1 span { color: var(--sun-yellow); }
.summit-hero__lead { font-size: clamp(1.1rem, 1rem + .5vw, 1.35rem); color: #d6e7df; max-width: 36ch; margin: 0 0 28px; }
.summit-hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 40px; }
.summit-hero__facts {
    display: grid; grid-template-columns: repeat(auto-fit, minmax(min(190px, 100%), 1fr)); gap: 1px;
    margin: 0; max-width: 900px; border-radius: var(--radius); overflow: hidden; background: rgba(255, 255, 255, .14);
}
.summit-hero__facts > div { padding: 16px 18px; background: rgba(8, 29, 23, .55); }
.summit-hero__facts dt { font: 600 .72rem/1 var(--font-display); letter-spacing: .1em; text-transform: uppercase; color: #9cc3b3; margin-bottom: 8px; }
.summit-hero__facts dd { margin: 0; font: 600 1rem/1.35 var(--font-display); color: #fff; }
.summit-hero__suns { position: absolute; inset: 0; pointer-events: none; }
.summit-hero__suns span { position: absolute; border-radius: 50%; }
.summit-hero__suns span:nth-child(1) { width: 300px; height: 380px; right: 16%; top: -90px; background: var(--sun-yellow); transform: rotate(-18deg); opacity: .16; }
.summit-hero__suns span:nth-child(2) { width: 200px; height: 260px; right: 4%; top: 40px; background: var(--sun-blue); transform: rotate(-12deg); opacity: .22; }
.summit-hero__suns span:nth-child(3) { width: 140px; height: 180px; right: -30px; top: 210px; background: var(--sun-coral); transform: rotate(-10deg); opacity: .28; }
@media (max-width: 700px) {
    .summit-hero { padding: 48px 0 40px; }
    .summit-hero__suns span:nth-child(1) { right: -120px; }
    .summit-hero__suns span:nth-child(2) { right: -90px; top: 160px; }
    .summit-hero__suns span:nth-child(3) { display: none; }
}

/* Home: the blocks below the hero. */
.home-block { margin-top: 72px; }
.home-block h2 { font-size: clamp(1.5rem, 1.1rem + 1.6vw, 2.25rem); letter-spacing: -.02em; }
.home-block h2 em { font-style: normal; color: var(--blue); }
.home-block p { color: var(--ink-soft); font-size: 1.05rem; }
.home-block__head { max-width: 760px; margin-bottom: 28px; }
.home-block__head--row { max-width: none; display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 8px 24px; }
.home-about, .home-venue { display: grid; gap: 32px; align-items: center; }
@media (min-width: 900px) {
    .home-about { grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 56px; }
    .home-venue { grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 56px; }
}
.home-venue__card {
    display: flex; flex-wrap: wrap; align-items: baseline; justify-content: center; gap: 0 10px;
    padding: 40px 24px; border-radius: 20px; text-align: center;
    background: linear-gradient(140deg, var(--sun-soft), #fff 70%); border: 1px solid #f2e2a0;
}
.home-venue__day { font: 700 clamp(4rem, 3rem + 4vw, 6.5rem)/1 var(--font-display); color: var(--sun-coral); letter-spacing: -.04em; }
.home-venue__dash { align-self: center; font: 600 3rem/1 var(--font-display); color: var(--control); }
.home-venue__month { flex-basis: 100%; font: 700 1.25rem/1.4 var(--font-display); color: var(--ink); margin-top: 8px; }

/* The organisations behind the summit: the draft's cards. */
.legacy__title { font-size: 1.15rem; margin: 0 0 16px; }
.legacy__title span { color: var(--sun-coral); }
.legacy__grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.legacy__card {
    display: flex; flex-direction: column; gap: 8px; padding: 22px 24px; min-height: 140px;
    border: 1.5px solid #f3df86; border-radius: 18px; background: #f7f7fa;
}
.legacy__card strong { font: 700 2.8rem/1 var(--font-display); color: var(--sun-coral); }
.legacy__card span { font: 700 1.1rem/1.3 var(--font-display); color: var(--ink); }
.summit-page .legacy { margin-top: 32px; max-width: 760px; }
@media (max-width: 420px) {
    .legacy__card { padding: 18px; min-height: 0; }
    .legacy__card span { font-size: 1rem; }
}

/* Why: three pillars. */
.pillars { list-style: none; margin: 0; padding: 0; display: grid; gap: 18px; grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr)); }
.pillar { padding: 28px 26px; border-radius: 18px; background: var(--panel); border: 1px solid var(--line); }
.pillar__mark { display: block; width: 34px; height: 42px; border-radius: 50%; transform: rotate(-14deg); margin-bottom: 18px; background: var(--sun-yellow); }
.pillar:nth-child(2) .pillar__mark { background: var(--sun-blue); }
.pillar:nth-child(3) .pillar__mark { background: var(--sun-coral); }
.pillar h3 { font-size: 1.2rem; margin: 0 0 10px; }
.pillar p { margin: 0; color: var(--ink-soft); font-size: 1rem; }

/* What will be discussed: five numbered themes. */
.tracks { list-style: none; margin: 0; padding: 0; display: grid; gap: 18px; }
.tracks--brief { grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr)); }
.track { padding: 26px; border-radius: 18px; border: 1px solid var(--line); background: #fff; box-shadow: var(--shadow); }
.track__head { display: flex; gap: 18px; align-items: flex-start; }
.track__number { flex: none; width: 3rem; white-space: nowrap; font: 700 2.1rem/1 var(--font-display); color: var(--sun-coral); letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.track h3 { font-size: 1.2rem; margin: 2px 0 6px; }
.track__head p { margin: 0; color: var(--muted); font-size: .98rem; }
.track__count { margin: 14px 0 0 calc(3rem + 18px); font: 600 .85rem var(--font-display); color: var(--blue-deep); }
.track__topics { list-style: none; margin: 18px 0 0; padding: 0; display: grid; gap: 10px; }
.track__topics li { position: relative; padding: 12px 14px 12px 38px; border-radius: 10px; background: var(--panel); font-weight: 500; }
.track__topics li::before { content: ""; position: absolute; left: 15px; top: 19px; width: 10px; height: 10px; border-radius: 50%; background: var(--sun-yellow); }
@media (min-width: 900px) {
    .tracks:not(.tracks--brief) .track { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); gap: 28px; align-items: start; padding: 32px; }
    .tracks:not(.tracks--brief) .track__topics { margin: 0; }
}

/* A summit page: a band with its title, the editors' text, then its block. */
.summit-head { margin-top: -28px; padding: 44px 0 36px; background: linear-gradient(120deg, var(--blue-soft), #fff 75%); border-bottom: 1px solid var(--line); }
.summit-head h1 { font-size: clamp(1.9rem, 1.3rem + 2.4vw, 3rem); letter-spacing: -.02em; margin: 0; }
.summit-page { padding-top: 32px; }
.summit-intro { max-width: 760px; margin-bottom: 32px; }
.summit-intro .prose { font-size: 1.1rem; }
.summit-more { margin-top: 32px; }
.summit-soon { margin: 0 0 28px; padding: 18px 22px; border-radius: var(--radius); background: var(--sun-soft); border: 1px solid #f2e2a0; max-width: 760px; }
.summit-soon p { margin: 0; }
.summit-page--program .summit-intro .prose p:first-child { font: 600 1.25rem/1.5 var(--font-display); color: var(--ink); }
.summit-cta { margin-top: 56px; background: var(--night); color: #fff; padding: 32px; }
.summit-cta h2 { color: #fff; font-size: 1.45rem; }
.summit-cta p { color: #c9ddd4; max-width: 60ch; }

/* Participation: the facts, the map and the ways to get there. */
.venue { display: grid; gap: 24px; }
@media (min-width: 900px) { .venue { grid-template-columns: minmax(0, 1fr) minmax(0, 1.5fr); align-items: stretch; } }
.venue__facts { margin: 0; display: grid; gap: 14px; align-content: start; }
.venue__facts > div { padding: 18px 20px; border-radius: 14px; background: var(--panel); border: 1px solid var(--line); }
.venue__facts dt { font: 700 .75rem/1 var(--font-display); letter-spacing: .1em; text-transform: uppercase; color: #c4532f; margin-bottom: 8px; }
.venue__facts dd { margin: 0; font: 600 1.05rem/1.45 var(--font-display); }
.venue__facts dd span { font-weight: 500; color: var(--muted); }
.venue__place { display: flex; flex-direction: column; gap: 10px; }
.venue__map {
    flex: 1; min-height: 340px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px;
    border-radius: 14px; overflow: hidden; text-align: center;
    background: repeating-linear-gradient(45deg, #edf4f1 0 14px, #f6faf8 14px 28px); border: 1px solid var(--line);
}
.venue__map p { margin: 0; font: 600 1.1rem var(--font-display); }
.venue__map.is-loaded { display: block; }
.venue__map iframe { display: block; width: 100%; height: 100%; min-height: 340px; border: 0; }
.venue__directions { align-self: flex-end; font: 600 .95rem var(--font-display); }
.transport { margin-top: 48px; }
.transport h2 { font-size: 1.5rem; }
.transport__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr)); }
.transport__list li { padding: 20px 22px; border-radius: 14px; border: 1px solid var(--line); }
.transport__list h3 { font-size: 1.05rem; margin: 0 0 6px; }
.transport__list p { margin: 0; color: var(--ink-soft); }

/* Registration form. */
.register { max-width: 760px; display: grid; gap: 22px; }
.register__alert { padding: 14px 18px; border-radius: 10px; background: #fdecea; border: 1px solid #f5c2bb; color: #8a2a1c; }
.register__alert p { margin: 0; font-weight: 600; }
.register__choice { margin: 0; padding: 0; border: 0; min-width: 0; }
.register__choice legend { font: 600 .95rem var(--font-display); margin-bottom: 10px; padding: 0; }
.register__options { display: grid; gap: 10px; grid-template-columns: repeat(auto-fit, minmax(min(220px, 100%), 1fr)); }
.register__option { display: flex; align-items: center; gap: 10px; padding: 14px 16px; border: 1.5px solid var(--line); border-radius: 12px; cursor: pointer; font-weight: 600; }
.register__option:hover { border-color: var(--control); }
.register__option:has(input:checked) { border-color: var(--blue); background: var(--blue-soft); }
.register__option input { width: 18px; height: 18px; accent-color: var(--blue); margin: 0; flex: none; }
.register__grid { display: grid; gap: 18px; grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr)); }
.register__field { display: flex; flex-direction: column; gap: 6px; }
.register__field label { font: 600 .9rem var(--font-display); }
.register__field input, .register__field textarea {
    width: 100%; padding: 12px 14px; border: 1px solid var(--control); border-radius: 10px;
    font: inherit; color: var(--ink); background: #fff;
}
.register__field textarea { resize: vertical; }
.register__field input:focus, .register__field textarea:focus { outline: 3px solid var(--focus); outline-offset: 0; border-color: var(--focus); }
.register .has-error input, .register .has-error textarea { border-color: #c0392b; }
.register__error { margin: 0; color: #b03021; font-size: .88rem; font-weight: 600; }
.register__consent label { display: flex; gap: 12px; align-items: flex-start; font-size: .95rem; color: var(--ink-soft); }
.register__consent input { width: 18px; height: 18px; margin-top: 3px; flex: none; accent-color: var(--blue); }
.register__consent .register__error { margin: 6px 0 0 30px; }
.register__submit { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 18px; margin: 0; }
.register__submit span { color: var(--muted); font-size: .88rem; }
.register__trap { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

.summit-thanks { padding: 32px 0 16px; }
.summit-thanks__mark { display: block; width: 56px; height: 70px; margin: 0 auto 24px; border-radius: 50%; transform: rotate(-14deg); background: var(--sun-yellow); box-shadow: 34px 14px 0 -10px var(--sun-blue), 60px 30px 0 -20px var(--sun-coral); }
.summit-thanks .button { margin: 6px 4px 0; }

.site-footer__event { color: #fff; }

/* ── Under construction (App\Http\Middleware\UnderConstruction) ───────── */

.under-construction {
    min-height: 100vh; display: flex; align-items: center; justify-content: center;
    padding: 24px; background: radial-gradient(120% 90% at 85% 10%, #1b7a5a 0%, var(--night) 55%, #081d17 100%);
}
.under-construction__card {
    max-width: 420px; padding: 44px 36px; border-radius: 20px; text-align: center;
    background: #fff; box-shadow: 0 20px 60px rgba(0, 0, 0, .35);
}
.under-construction__card .wordmark--logo { display: flex; justify-content: center; margin: 0 0 24px; }
.under-construction__card .wordmark--logo img { height: 56px; width: auto; }
.under-construction__card h1 { font-size: 1.5rem; margin: 0 0 10px; }
.under-construction__card p { color: var(--ink-soft); margin: 0; }
