/*
 * TÜZYEKSAV theme styles. Source of truth for the look: foundation/mockup/index.html (mockup v2).
 * Tokens come from theme.json (--wp--preset--color--*, --wp--custom--*); short aliases below.
 * Rules: no gradients, no shadows, corners 2-4 px, no scroll animation (v3), sky only on navy.
 */

:root {
	--navy: var(--wp--preset--color--navy);
	--navy-soft: var(--wp--preset--color--navy-soft);
	--sky: var(--wp--preset--color--sky);
	--link: var(--wp--preset--color--link);
	--rose: var(--wp--preset--color--rose);
	--paper: var(--wp--preset--color--paper);
	--white: var(--wp--preset--color--white);
	--ink: var(--wp--preset--color--ink);
	--muted: var(--wp--preset--color--muted);
	--rule: var(--wp--preset--color--rule);
	--on-navy: var(--wp--preset--color--on-navy);
	--on-navy-muted: var(--wp--preset--color--on-navy-muted);
	--serif: var(--wp--preset--font-family--serif);
	--sans: var(--wp--preset--font-family--sans);
	--radius: var(--wp--custom--radius, 3px);
	--dur-2: var(--wp--custom--motion--dur-2, 280ms);
	--dur-3: var(--wp--custom--motion--dur-3, 520ms);
	--dur-draw: var(--wp--custom--motion--draw, 1600ms);
	--ease: var(--wp--custom--motion--ease, cubic-bezier(.2, .7, .2, 1));
	--rise: var(--wp--custom--motion--rise, 10px);
	--hover-bg: #ECE8DF;
	--navy-line: #23406A;
}

/* ---------- Base ---------- */
html { -webkit-text-size-adjust: 100%; }
body { overflow-x: hidden; text-rendering: optimizeLegibility; }
img { max-width: 100%; height: auto; }
a { text-underline-offset: 2px; }
p { margin-top: 0; }
figure { margin: 0; }
.tnum { font-variant-numeric: tabular-nums; }
.screen-reader-text:not(:focus) { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Focus: navy on light backgrounds (15.8:1 on paper), sky only on navy surfaces (r5 9a). */
:focus-visible { outline: 3px solid var(--navy); outline-offset: 2px; }
.util :focus-visible, .site-footer :focus-visible, .upcoming :focus-visible { outline-color: var(--sky); }

/* Core skip link, styled like the mockup. */
.skip-link.screen-reader-text:focus {
	position: absolute; left: 12px; top: 12px; z-index: 100000; width: auto; height: auto; clip: auto;
	background: var(--navy); color: var(--white); padding: 10px 16px; font: 600 16px/1.2 var(--sans);
	border-radius: var(--radius); text-decoration: none; outline: 3px solid var(--sky);
}

/* Layout helpers: our components set their own spacing, not the block gap. */
.tz-main { margin: 0; }
.tz-main > *,
.masthead-grid > *, .ev-grid > *, .ev-row > *, .ev-row-body > *, .lib-grid > *, .shelves > *,
.sec-head > *, .sec-head .t > *, .school-band-row > *, .upcoming > *, .article-layout > *,
.article-head > *, .article-main > *, .aside > *, .site-header-row > *, .lockup > *, .util-row > *,
.foot-grid > *, .foot-grid > * > *, .foot-bottom-row > *, .pres > *, .pres-text > *, .wp-block-post > .ev-row,
.mast-text > *, .page-head > * { margin-block: 0; }
.tz-main { min-height: 40vh; }

.arrow::after, .sec-link a::after { content: " \2192"; }
.ico { width: 28px; height: 28px; flex: none; color: var(--link); display: block; }
.ico svg { width: 100%; height: 100%; display: block; }

/* ---------- Utility bar: foundation first ---------- */
.util { font-size: 14px; line-height: 1.3; }
.util-row { min-height: 34px; padding-block: 6px; gap: 8px 16px; }
.util p { margin: 0; }
.util a { color: var(--on-navy); text-decoration: none; }
.util a:hover, .util a:focus-visible { color: var(--white); text-decoration: underline; }
.util strong { font-weight: 600; color: var(--white); letter-spacing: .03em; }
.util .sep { color: var(--sky); padding: 0 6px; }
.util-right { display: flex; gap: 14px; white-space: nowrap; }
.util-right a + a { margin-left: 14px; }
.util-long { display: none; }
@media (min-width: 900px) { .util-long { display: inline; } }
@media (max-width: 620px) { .util-right { display: none; } }

/* ---------- Header ---------- */
.site-header { border-bottom: 1px solid var(--rule); position: relative; }
.site-header-row { min-height: 92px; padding-block: 10px; gap: 16px; }
.lockup { gap: 16px; min-width: 0; flex-wrap: nowrap !important; }
.brand { flex: none; }
.brand img { width: 200px; height: auto; display: block; }
.lockup .legal { font-family: var(--serif); font-size: 13.5px; line-height: 1.3; color: var(--muted); max-width: 21em; padding-left: 16px; border-left: 1px solid var(--rule); }
@media (max-width: 1239px) and (min-width: 1140px) { .lockup .legal { display: none; } }
@media (max-width: 1139px) {
	.lockup { flex-direction: column; align-items: flex-start !important; gap: 6px; }
	.lockup .legal { border-left: 0; padding-left: 0; font-size: 12.5px; max-width: 26em; }
}
@media (max-width: 400px) { .brand img { width: 168px; } .lockup .legal { font-size: 12px; } }

/* Navigation (core block). Desktop dropdowns from 1140 px; below that the core overlay with its real button. */
.main-nav { font-family: var(--sans); gap: 2px; }
.main-nav .wp-block-navigation__container { gap: 2px; }
.main-nav .wp-block-navigation-item__content { padding: 10px; color: var(--navy); text-decoration: none; border-radius: var(--radius); white-space: nowrap; }
.main-nav .wp-block-navigation-item__content:hover { background: var(--hover-bg); }
.main-nav .wp-block-navigation-submenu__toggle { color: var(--navy); }
.main-nav .wp-block-navigation__submenu-container {
	background: var(--white) !important; border: 1px solid var(--rule) !important; border-top: 3px solid var(--navy) !important;
	min-width: 270px !important; padding: 8px 0 !important;
}
.main-nav .wp-block-navigation__submenu-container .wp-block-navigation-item__content { font-weight: 400; color: var(--ink); padding: 7px 18px; border-radius: 0; }
.main-nav .wp-block-navigation__submenu-container .wp-block-navigation-item__content:hover { background: var(--paper); color: var(--navy); }
.main-nav .wp-block-search__button { color: var(--navy); background: transparent; border: 0; padding: 10px; }
.main-nav .wp-block-search__input { border: 1px solid var(--navy); border-radius: var(--radius); font: 400 16px var(--sans); padding: 8px 10px; }
.wp-block-navigation__responsive-container-open {
	align-items: center; gap: 8px; font: 600 15px var(--sans); color: var(--navy);
	border: 1px solid var(--navy) !important; border-radius: var(--radius); padding: 8px 12px;
}
.wp-block-navigation__responsive-container-open::after { content: "Menü"; }
.wp-block-navigation__responsive-container-close { color: var(--navy); }
@media (max-width: 1139px) {
	.main-nav .wp-block-navigation__responsive-container-open:not(.always-shown) { display: flex; }
	.main-nav .wp-block-navigation__responsive-container:not(.hidden-by-default):not(.is-menu-open) { display: none; }
	.site-header-row { align-items: flex-start !important; }
	.main-nav { margin-top: 4px; }
}
.wp-block-navigation__responsive-container.is-menu-open { padding: 24px 16px; }
.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-content { align-items: stretch !important; padding-top: 48px; }
.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__container { align-items: stretch !important; gap: 0; width: 100%; }
.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item { border-bottom: 1px solid var(--rule); align-items: flex-start !important; width: 100%; }
.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item__content { padding: 13px 0; font-size: 17px; }
.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__submenu-container { border: 0 !important; padding: 0 0 10px 14px !important; min-width: 0 !important; }
.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__submenu-container .wp-block-navigation-item { border-bottom: 0; }
.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__submenu-container .wp-block-navigation-item__content { padding: 5px 0; color: var(--muted); font-size: 16px; }

/* ---------- Shared section styles ---------- */
/* v3 (2026-11-07, "looks AI-made" fix; foundation/review/human-look.md): no decorative icons, no centred grey
   explainer lines. Each section has its own shape: photo intro, dated list, year archive, letter, covers, roster. */
.section { padding-block: 64px; border-top: 1px solid var(--rule); }
.sec-head { gap: 8px 16px; margin-bottom: 22px !important; align-items: baseline !important; }
.sec-head h2 { font-size: 30px; }
.sec-link { margin: 0; }
.sec-link a, .sec-head a { font-weight: 600; font-size: 16px; text-decoration: none; white-space: nowrap; }
.sec-link a:hover { text-decoration: underline; }
@media (max-width: 640px) {
	.section { padding-block: 44px; }
	.sec-head h2 { font-size: 25px; }
}
figcaption, .wp-element-caption { font-size: 15px; line-height: 1.45; color: var(--muted); margin-top: 8px; }
figcaption b, figcaption strong { color: var(--ink); font-weight: 600; }
.ph { width: 100%; object-fit: cover; background: var(--rule); }

/* ---------- Home: intro with one real, dated photo ---------- */
.intro { padding-block: 40px 48px; }
.intro-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 48px; align-items: center; }
.intro-h1 { font-size: 46px !important; line-height: 1.12; letter-spacing: -.01em; margin: 0 0 18px !important; }
.intro .what { font-size: 19px; line-height: 1.6; color: var(--ink); margin: 0 0 22px !important; max-width: 30em; }
.intro .links { display: flex; flex-wrap: wrap; gap: 6px 22px; font-weight: 600; font-size: 16.5px; margin: 0; }
.intro .links a { text-decoration: none; border-bottom: 1px solid currentColor; }
.intro .links a:hover { color: var(--navy); }
.intro-photo { margin: 0; }
.intro-photo img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; background: var(--rule); }
@media (max-width: 899px) {
	.intro { padding-block: 24px 36px; }
	.intro-grid { grid-template-columns: minmax(0, 1fr); gap: 24px; }
	.intro-h1 { font-size: 32px !important; }
	.intro .what { font-size: 17.5px; }
}

/* ---------- School band: one slim line ---------- */
.school-band { border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); }
.school-band-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 18px 24px; align-items: center; padding-block: 16px; }
.school-band p { margin: 0; font-size: 16.5px; line-height: 1.5; }
.school-band p b { color: var(--navy); font-weight: 600; }
.school-band p a { font-weight: 600; white-space: nowrap; }
.karekod {
	width: 76px; height: 76px; border: 1px dashed #A69F90; display: grid; place-items: center; text-align: center;
	font-size: 11.5px; line-height: 1.2; color: var(--muted); background: var(--paper);
}
.karekod img { width: 100%; height: 100%; object-fit: contain; }
@media (max-width: 640px) {
	.school-band p { font-size: 15.5px; }
	.karekod { width: 64px; height: 64px; font-size: 10.5px; }
}

/* ---------- Events: upcoming card + compact dated list (photos live in the archive) ---------- */
.ev-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 48px; align-items: start; }
.ev-grid:not(:has(.upcoming)) { grid-template-columns: minmax(0, 1fr); }
.ev-grid:not(:has(.upcoming)) > .tz-upcoming-q { display: none; }
.ev-col-h { font: 600 15px/1.2 var(--sans) !important; color: var(--muted) !important; margin: 0 0 12px !important; }
.tz-upcoming-q .wp-block-post-template, .ev-list.wp-block-post-template { list-style: none; margin: 0; padding: 0; }
.upcoming { border-radius: var(--radius); padding: 26px 26px 28px; }
.upcoming .when { margin-bottom: 16px; }
.upcoming .date { font: 600 30px/1.1 var(--serif); color: var(--white); }
.upcoming .time { font-size: 16px; color: var(--on-navy-muted); margin-top: 2px; }
.upcoming .wp-block-post-title { color: var(--white); font-size: 25px; margin-bottom: 16px !important; }
.upcoming .wp-block-post-title a { color: var(--white); text-decoration: none; }
.upcoming .wp-block-post-title a:hover { text-decoration: underline; }
.facts-inline { margin: 0; display: grid; gap: 8px; font-size: 16px; }
.facts-inline div { display: grid; grid-template-columns: 112px minmax(0, 1fr); gap: 10px; }
.facts-inline dt { color: var(--muted); }
.facts-inline dd { margin: 0; }
.upcoming .facts-inline dt { color: var(--on-navy-muted); }
.upcoming .facts-inline a { color: var(--white); }
.upcoming .facts-inline div { border-top: 1px solid var(--navy-line); padding-top: 8px; }

.ev-list { border-top: 1px solid var(--navy); }
.ev-list > li { padding: 14px 0; border-bottom: 1px solid var(--rule); margin: 0; }
.ev-row { display: grid; grid-template-columns: 64px minmax(0, 1fr); gap: 18px; align-items: start; }
.chip { display: block; border: 1px solid var(--navy); text-align: center; line-height: 1; padding: 7px 0 8px; font-family: var(--serif); color: var(--navy); background: var(--white); }
.chip b { display: block; font-size: 24px; font-weight: 600; }
.chip span { display: block; font: 600 12.5px/1.2 var(--sans); margin-top: 4px; }
.chip small { display: block; font: 400 12px/1.2 var(--sans); color: var(--muted); margin-top: 2px; }
.ev-list .d, .tz-ev-date { font-family: var(--serif); color: var(--navy); line-height: 1.15; }
.tz-ev-date b { display: block; font-size: 28px; font-weight: 600; }
.tz-ev-date span { font-size: 15.5px; }
.ev-row .type, .article-head .type { font-size: 14px; color: var(--muted); display: block; margin-bottom: 1px; }
.ev-row .wp-block-post-title { font-size: 19.5px; margin-bottom: 4px !important; }
.ev-row .wp-block-post-title a { color: var(--navy); text-decoration: none; }
.ev-row .wp-block-post-title a:hover { text-decoration: underline; }
.ev-meta { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 2px 16px; font-size: 15px; color: var(--muted); }
.ev-meta b { color: var(--ink); font-weight: 600; }
.ev-row .wp-block-post-excerpt { font-size: 16px; color: var(--muted); margin-top: 6px; }
.ev-row .wp-block-post-excerpt__excerpt { margin: 0; }
@media (max-width: 999px) { .ev-grid { grid-template-columns: minmax(0, 1fr); gap: 32px; } }
@media (max-width: 560px) {
	.upcoming { padding: 22px 18px 24px; }
	.upcoming .wp-block-post-title { font-size: 22px; }
	.facts-inline div { grid-template-columns: 96px minmax(0, 1fr); }
	.ev-row { grid-template-columns: 56px minmax(0, 1fr); gap: 14px; }
	.ev-row .wp-block-post-title { font-size: 18px; }
}

/* Post-date column for plain news lists (same look as the event date column). */
.news-date { font-family: var(--serif); color: var(--navy); font-size: 17px; line-height: 1.3; }
.ev-row:has(> .news-date) { grid-template-columns: 128px minmax(0, 1fr); gap: 20px; }
@media (max-width: 560px) { .ev-row:has(> .news-date) { grid-template-columns: minmax(0, 1fr); gap: 4px; } }

/* ---------- Çalışmalarımız: photo-led archive by year (replaces the v2 constellation chart) ---------- */
.archive { list-style: none; margin: 0; padding: 0; }
.archive > li { display: grid; grid-template-columns: 120px minmax(0, 1fr); gap: 24px; padding: 22px 0 24px; margin: 0; border-top: 1px solid var(--rule); }
.archive > li:first-child { border-top: 2px solid var(--navy); }
.archive .y { font: 600 34px/1 var(--serif); color: var(--navy); font-variant-numeric: tabular-nums; padding-top: 2px; }
.yr-body { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px 24px; align-items: start; }
.yr-body figure { margin: 0; }
.yr-body figure a { text-decoration: none; color: inherit; display: block; }
.yr-body figure img { display: block; width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; }
.yr-body figcaption .dt { display: block; font-size: 14px; color: var(--muted); }
.yr-body figcaption .tt { display: block; font-family: var(--serif); font-weight: 600; font-size: 17.5px; line-height: 1.3; color: var(--navy); margin-top: 1px; }
.yr-body figure a:hover .tt { text-decoration: underline; }
.yr-list { list-style: none; margin: 0; padding: 0; }
.yr-list li { padding: 0 0 10px; margin: 0 0 10px; border-bottom: 1px solid var(--rule); font-size: 16px; line-height: 1.4; }
.yr-list li:last-child { border-bottom: 0; margin-bottom: 0; }
.yr-list .dt { display: block; font-size: 14px; color: var(--muted); }
.yr-list a { color: var(--navy); text-decoration: none; font-weight: 600; }
.yr-list a:hover { text-decoration: underline; }
.archive > li.compact { padding: 16px 0 12px; }
.archive > li.compact .y { font-size: 26px; }
.archive > li.compact .yr-body { display: block; }
.archive > li.compact .yr-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 24px; }
.archive > li.compact .yr-list li { border-bottom: 0; }
@media (max-width: 999px) {
	.yr-body, .archive > li.compact .yr-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
	.archive > li { grid-template-columns: minmax(0, 1fr); gap: 10px; padding: 18px 0 20px; }
	.archive .y { font-size: 26px; }
	.yr-body, .archive > li.compact .yr-list { grid-template-columns: minmax(0, 1fr); gap: 18px; }
}

/* ---------- Başkanımızdan excerpt: a letter, not a hero ---------- */
.letter-band { background: var(--white); border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); padding-block: 56px; }
.letter-grid { display: grid; grid-template-columns: 220px minmax(0, 720px); gap: 44px; align-items: start; }
.letter-band .portrait { margin: 0; }
.letter-band .portrait img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 18%; }
.letter-band .portrait figcaption { margin-top: 10px; font-size: 15px; }
.letter-band .portrait figcaption b { display: block; font-family: var(--serif); font-size: 18px; color: var(--navy); }
.letter-text h2 { font: 600 15px/1.2 var(--sans) !important; color: var(--muted) !important; margin: 0 0 10px !important; }
.letter-text .wp-block-quote { margin: 0; padding: 0; border: 0; }
.letter-text .wp-block-quote p { font-family: var(--serif); font-size: 22px; line-height: 1.55; color: var(--ink); }
.letter-text .sign { font-size: 16px; color: var(--muted); }
.letter-text .sign b { color: var(--navy); }
.letter-text .sign a { font-weight: 600; margin-left: 14px; }
@media (max-width: 760px) {
	.letter-band { padding-block: 40px; }
	.letter-grid { grid-template-columns: minmax(0, 1fr); gap: 18px; }
	.letter-band .portrait { display: grid; grid-template-columns: 96px minmax(0, 1fr); gap: 14px; align-items: end; }
	.letter-band .portrait figcaption { margin: 0 0 4px; }
	.letter-text .wp-block-quote p { font-size: 19px; }
}

/* ---------- Bilgi Havuzu: real first pages of the documents ---------- */
.lib-grid { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 1fr); gap: 48px; }
.covers { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 22px; }
.covers li { margin: 0; }
.covers a { text-decoration: none; color: inherit; display: block; }
.covers img { display: block; width: 100%; height: auto; aspect-ratio: 1 / 1.414; object-fit: cover; object-position: top; border: 1px solid var(--rule); background: var(--white); }
.covers .tt { display: block; font-family: var(--serif); font-weight: 600; font-size: 16px; line-height: 1.3; color: var(--navy); margin-top: 10px; }
.covers a:hover .tt { text-decoration: underline; }
.covers .mt { display: block; font-size: 14px; color: var(--muted); margin-top: 3px; }
.shelves h3 { font-size: 18px; margin-bottom: 8px !important; }
.shelves ul { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--navy); }
.shelves li a { display: block; padding: 8px 0; border-bottom: 1px solid var(--rule); text-decoration: none; color: var(--ink); font-size: 16.5px; }
.shelves li a:hover { color: var(--navy); text-decoration: underline; }
.shelves p { font-size: 15px; color: var(--muted); margin-top: 12px !important; }
@media (max-width: 1099px) { .covers { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 899px) { .lib-grid { grid-template-columns: minmax(0, 1fr); gap: 32px; } }
@media (max-width: 560px) { .covers { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; } }

/* ---------- Bilim Kurulu: text roster, no photos ---------- */
.roster { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); column-gap: 28px; }
.roster li { padding: 10px 0 11px; margin: 0; border-bottom: 1px solid var(--rule); scroll-margin-top: 60px; }
.roster .n { display: block; font-family: var(--serif); font-weight: 600; font-size: 16.5px; color: var(--navy); line-height: 1.3; }
.roster .r { display: block; font-size: 14.5px; color: var(--muted); line-height: 1.4; margin-top: 2px; }
.roster li.chair { grid-column: 1 / -1; border-bottom: 2px solid var(--navy); padding-bottom: 14px; }
.roster li.chair .n { font-size: 21px; }
.roster li.chair .r { color: var(--ink); font-size: 15.5px; }
.roster li:target { background: var(--hover-bg); box-shadow: -10px 0 0 var(--hover-bg), 10px 0 0 var(--hover-bg); }
@media (max-width: 999px) { .roster { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .roster { grid-template-columns: minmax(0, 1fr); } }


/* ---------- Inner pages ---------- */
.page-wrap { padding-bottom: 64px; }
.crumbs { font-size: 15px; color: var(--muted); padding: 22px 0 0; }
.crumbs ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 4px 0; }
.crumbs li + li::before { content: "\203A"; padding: 0 8px; color: #8A9099; }
.crumbs a { color: var(--muted); }
.kicker, .article-head .wp-block-post-terms, .article-head .type { font: 600 15px/1.3 var(--sans); color: var(--link); margin-bottom: 10px !important; display: block; }
.article-head .wp-block-post-terms a { color: var(--link); text-decoration: none; }
.article-head { max-width: 860px; padding: 26px 0 30px; }
.article-head h1, .page-head h1 { font-size: 44px; margin-bottom: 18px !important; }
.article-meta, .post-meta-fallback { display: flex; flex-wrap: wrap; gap: 6px 22px; font-size: 16px; color: var(--muted); border-top: 1px solid var(--rule); padding-top: 14px; }
.article-meta b, .post-meta-fallback b { color: var(--ink); font-weight: 600; }
.article-head:has(.article-meta) .post-meta-fallback { display: none; }
.article-layout { display: grid; grid-template-columns: minmax(0, 720px) minmax(260px, 1fr); gap: 48px; }
.lead-figure { margin: 0 0 32px; }
.lead-figure img, .article-main .wp-block-post-featured-image img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; background: #E7E3DA; }
.prose { font-size: 19px; line-height: 1.65; }
.prose > p:first-of-type { font-size: 21px; line-height: 1.55; color: var(--navy); font-family: var(--serif); }
.prose h2 { font-size: 26px; margin: 36px 0 14px; }
.prose > * + * { margin-block-start: 1em; }
.prose .wp-block-gallery { gap: 10px; }
.page-head { padding: 26px 0 26px; max-width: 860px; }
.page-head .wp-block-term-description, .page-head .page-lead { font-size: 18px; color: var(--muted); max-width: 46em; }
@media (max-width: 1099px) {
	.article-layout { grid-template-columns: minmax(0, 1fr); gap: 44px; }
	.article-head h1, .page-head h1 { font-size: 32px; }
	.prose { font-size: 18px; }
	.prose > p:first-of-type { font-size: 19.5px; }
}

/* Event fact box + typographic card (no suitable adult-only photo; REBUILD_PLAN 3.4 rule 5). */
.facts dl { margin: 0; border-top: 1px solid var(--navy); }
.facts dl > div { display: grid; grid-template-columns: 112px minmax(0, 1fr); gap: 10px; padding: 10px 0; border-bottom: 1px solid var(--rule); font-size: 16px; }
.facts dt { color: var(--muted); }
.facts dd { margin: 0; }
.facts dd small { display: block; color: var(--muted); font-size: 14.5px; }
.ev-box { background: var(--white); border: 1px solid var(--rule); border-top: 3px solid var(--navy); padding: 6px 22px 8px; margin: 0 0 32px; }
.ev-box dl { border-top: 0; }
.ev-box dl > div:last-child { border-bottom: 0; }
.type-card { background: var(--paper); border: 1px solid var(--rule); padding: 36px 32px; margin: 0 0 32px; }
.type-card .tc-kind { font-size: 15px; color: var(--muted); }
.type-card .tc-title { font: 600 30px/1.2 var(--serif); color: var(--navy); margin: 4px 0 8px; }
.type-card .tc-date { font: 400 19px var(--serif); color: var(--ink); }

.tz-related { margin-top: 40px; }
.tz-related h2, .aside h2 { font-size: 20px; margin-bottom: 12px; }
.related { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--navy); }
.related li { display: grid; grid-template-columns: 150px minmax(0, 1fr); gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--rule); font-size: 17px; }
.related .d { font-family: var(--serif); color: var(--navy); }
.related small { display: block; color: var(--muted); font-size: 15px; }
.aside > * + * { margin-top: 36px !important; }
.aside .tz-related { margin-top: 0; }
.aside-list, .aside .wp-block-post-template { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--navy); }
.aside-list li, .aside .wp-block-post-template li { border-bottom: 1px solid var(--rule); padding: 12px 0; margin: 0; }
.aside-list li a, .aside .wp-block-post-title a { font-family: var(--serif); font-size: 17px; font-weight: 400; color: var(--navy); text-decoration: none; line-height: 1.35; display: block; }
.aside .wp-block-post-title { font-size: 17px; margin: 0; }
.aside-list li a:hover, .aside .wp-block-post-title a:hover { text-decoration: underline; }
.aside-list li small, .aside .wp-block-post-date, .aside .tz-ev-date { font-size: 14px; color: var(--muted); font-family: var(--sans); }
.aside .tz-ev-date b, .aside .tz-ev-date span { display: inline; font-size: 14px; font-weight: 400; }

.post-end { margin-top: 40px; padding: 18px 20px; border: 1px solid var(--rule); background: var(--white); border-radius: var(--radius); font-size: 16.5px; }
.post-end p { margin: 0; }

.pager { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 20px; margin-top: 40px !important; border-top: 1px solid var(--rule); padding-top: 20px; }
.pager a { text-decoration: none; display: block; font-family: var(--serif); font-size: 18px; color: var(--navy); line-height: 1.3; }
.pager .post-navigation-link-next { text-align: right; }
.pager .wp-block-post-navigation-link__label { display: block; font: 400 14px var(--sans); color: var(--muted); }
@media (max-width: 560px) {
	.pager { grid-template-columns: minmax(0, 1fr); }
	.pager .post-navigation-link-next { text-align: left; }
	.type-card { grid-template-columns: minmax(0, 1fr); padding: 26px 20px; gap: 14px; }
	.type-card .tc-title { font-size: 24px; }
	.related li { grid-template-columns: minmax(0, 1fr); gap: 2px; }
	.ev-box { padding: 4px 16px 6px; }
}

/* Event calendar filter links */
.type-filter { display: flex; flex-wrap: wrap; gap: 8px; margin-block: 0 28px !important; font-size: 15px; }
.type-filter a { border: 1px solid var(--rule); border-radius: var(--radius); padding: 6px 12px; text-decoration: none; color: var(--navy); background: var(--white); }
.type-filter a:hover { border-color: var(--navy); }

/* Pagination */
.wp-block-query-pagination { margin-top: 32px; gap: 12px; font-weight: 600; }

/* ---------- Başkanımızdan page ---------- */
.pres { display: grid; grid-template-columns: minmax(0, 420px) minmax(0, 720px); gap: 64px; align-items: start; padding: 30px 0 72px; }
.pres .portrait { position: sticky; top: 56px; }
.pres h1 { font-size: 48px; margin-bottom: 26px !important; }
.letter p { font-family: var(--serif); font-size: 20px; line-height: 1.7; }
.pres-sub { font-family: var(--serif); font-size: 26px; line-height: 1.3; color: var(--navy); font-weight: 600; margin: -10px 0 26px !important; }
.letter p strong { color: var(--navy); font-weight: 700; }
.letter p:first-of-type { font-size: 23px; line-height: 1.55; color: var(--navy); }
.signature { margin-top: 36px !important; padding-top: 18px; border-top: 1px solid var(--navy); }
.signature .sig-name { font: italic 400 30px/1.2 var(--serif); color: var(--navy); margin: 0; }
.signature .sig-role { font-size: 16.5px; color: var(--muted); margin: 6px 0 0; line-height: 1.5; }
@media (max-width: 999px) {
	.pres { grid-template-columns: minmax(0, 1fr); gap: 28px; padding-top: 20px; }
	.pres .portrait { position: static; display: block; max-width: 420px; }
	.pres .portrait figcaption { border-bottom: 0; border-top: 1px solid var(--navy); padding-top: 12px; }
	.pres h1 { font-size: 34px; }
	.letter p { font-size: 18.5px; }
	.letter p:first-of-type { font-size: 20px; }
}

/* ---------- 404 and search ---------- */
.empty-state { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 32px; align-items: center; padding: 40px 0; }
.empty-state .ico { width: 96px; height: 96px; color: var(--navy); }
@media (max-width: 560px) { .empty-state { grid-template-columns: minmax(0, 1fr); } .empty-state .ico { width: 64px; height: 64px; } }
.wp-block-search__input { border: 1px solid var(--muted); border-radius: var(--radius); padding: 10px 12px; font: 400 17px var(--sans); background: var(--white); }
.wp-block-search__button { border-radius: var(--radius); }

/* ---------- Footer: foundation first ---------- */
.site-footer { font-size: 16px; }
.site-footer a { color: var(--on-navy); text-decoration: none; }
.site-footer a:hover { color: var(--white); text-decoration: underline; }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; padding-block: 56px 40px; }
.foot-grid .fh { font: 600 14px var(--sans); color: var(--sky); margin: 0 0 14px !important; }
.foot-grid ul { list-style: none; margin: 0; padding: 0; }
.foot-grid li { margin-bottom: 7px; line-height: 1.35; }
.wordmark { font-family: var(--serif); font-weight: 600; font-size: 28px; color: var(--white); letter-spacing: .04em; line-height: 1.1; }
.legal-name { font-family: var(--serif); font-size: 16.5px; line-height: 1.45; color: var(--on-navy); margin: 8px 0 16px !important; }
.foot-contact { font-size: 15.5px; color: var(--on-navy-muted); line-height: 1.6; }
.foot-contact a { color: var(--white); font-weight: 600; }
.foot-school { border-top: 1px solid var(--navy-line); padding: 16px 0; font-size: 15.5px; color: var(--on-navy-muted); margin: 0; }
.foot-school a { color: var(--white); font-weight: 600; }
.foot-bottom { border-top: 1px solid var(--navy-line); font-size: 14.5px; color: var(--on-navy-muted); }
.foot-bottom-row { padding-block: 18px 26px; gap: 10px 24px; }
.foot-bottom p { margin: 0; }
.foot-bottom ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px 18px; }
.foot-bottom a { color: var(--on-navy-muted); }
@media (max-width: 1099px) {
	.foot-grid { grid-template-columns: 1fr 1fr; }
	.foot-grid > div:first-child { grid-column: 1 / -1; }
}
@media (max-width: 520px) { .foot-grid { grid-template-columns: 1fr; gap: 30px; padding-block: 40px 32px; } }

/* ---------- Editor placeholders for server-rendered blocks ---------- */
.tz-editor-placeholder { border: 1px dashed var(--muted); padding: 10px 12px; font: 400 14px var(--sans); color: var(--muted); background: var(--white); }

/* ---------- Cross-page view transitions (r2 P2): pure CSS, off under reduced motion ---------- */
@media (prefers-reduced-motion: no-preference) {
	@view-transition { navigation: auto; }
}
@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { transition-duration: 1ms !important; transition-delay: 0ms !important; animation: none !important; scroll-behavior: auto !important; }
}
@media print {
	.util, .main-nav, .site-footer, .sky .chart { display: none !important; }
}

/* Side lists render nothing when their query is empty (no empty headings). */
.aside-upcoming:not(:has(.wp-block-post)), .aside-latest:not(:has(.wp-block-post)) { display: none; }
.aside .wp-block-post-template li > * { margin: 0; }

/* Heads keep their reading width but sit on the left edge of the 1200 column (constrained layout would centre them). */
.page-wrap > .article-head, .page-wrap > .page-head { margin-left: max(0px, calc((100% - 1200px) / 2)) !important; }
