/* İlkem Derneği (İlk Eğitim Müzesi Derneği) - ziyaretçi arayüzü
 * Tema: kara tahta, tebeşir, çizgili defter, karne ve okul albümü.
 */
:root {
    --paper: #ffffff;
    --ink: #1e2b35;          /* mürekkep laciverti */
    --ink-soft: #46535c;
    --muted: #66727a;
    --gold: #e3a520;         /* zil pirinci */
    --gold-deep: #b98213;
    --gold-text: #8a5f0b;
    --gold-soft: #fbf1d8;
    --slate: #22342d;        /* kara tahta */
    --slate-2: #2c4239;
    --chalk: #eef0e8;
    --rule: #d3dfec;         /* defter çizgisi */
    --margin-red: #dc7a6c;   /* defter kenar çizgisi */
    --line: #e4e7e3;
    --wood: #7a5a35;
    --ok: #2f6b45;
    --danger: #b03a2e;
    --header-h: 92px;
    --wrap: 1220px;
    --display: "Bricolage Grotesque", "Segoe UI", Arial, sans-serif;
    --hand: "Caveat", "Comic Sans MS", cursive;
    --ease: cubic-bezier(.2, .7, .2, 1);
    --scribble: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 14'%3E%3Cpath d='M3 9c28-6 58-7 92-3s68 5 102-3' fill='none' stroke='%23E3A520' stroke-width='5' stroke-linecap='round'/%3E%3C/svg%3E");
    --paper-lines: repeating-linear-gradient(180deg, transparent 0 31px, var(--rule) 31px 32px);
    --chalk-smudge: radial-gradient(ellipse at 18% 30%, rgba(255,255,255,.07), transparent 45%), radial-gradient(ellipse at 80% 70%, rgba(255,255,255,.05), transparent 50%), radial-gradient(ellipse at 55% 10%, rgba(255,255,255,.04), transparent 40%);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 17px/1.7 var(--display); font-optical-sizing: auto; }
a { color: inherit; text-decoration: none; }
img, video, svg { display: block; max-width: 100%; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; border-radius: 2px; }
h1, h2, h3 { font-family: var(--display); color: var(--ink); line-height: 1.12; letter-spacing: -0.025em; }
h1 { font-size: clamp(40px, 5.6vw, 80px); font-weight: 750; margin: 0 0 20px; }
h2 { font-size: clamp(30px, 3.4vw, 46px); font-weight: 720; margin: 0 0 22px; }
h3 { font-size: 21px; font-weight: 700; letter-spacing: -0.01em; }
p { margin: 0 0 1em; }
.muted { color: var(--muted); }
.icon { width: 1.15em; height: 1.15em; flex-shrink: 0; }
.wrap { width: min(var(--wrap), calc(100% - 80px)); margin-inline: auto; }
.section { padding-block: 104px; }
.section-band { position: relative; }
.paper-band { background: #f7f8f4; border-block: 1px solid var(--line); }
.eyebrow { font-family: var(--hand); font-size: 26px; line-height: 1.1; color: var(--gold-text); margin: 0 0 6px; }

.skip-link { position: absolute; left: -999px; top: 8px; z-index: 100; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 4px; }
.skip-link:focus { left: 8px; }

/* Başlık altı tebeşir çizgisi: görünür olunca çizilir */
.scribble { position: relative; padding-bottom: 18px; }
.scribble::after { content: ""; position: absolute; left: 0; bottom: 0; width: 150px; height: 14px; background: var(--scribble) no-repeat left / 100% 100%; clip-path: inset(0 100% 0 0); transition: clip-path .9s var(--ease) .15s; }
.scribble.is-drawn::after, .no-js .scribble::after { clip-path: inset(0 0 0 0); }

/* Butonlar: basılabilir tuş hissi */
.button { display: inline-flex; align-items: center; justify-content: center; gap: 12px; padding: 14px 26px; border: 0; border-radius: 6px; background: var(--gold); color: var(--ink); font-size: 16px; font-weight: 750; line-height: 1.3; box-shadow: 0 4px 0 var(--gold-deep); transition: transform .15s var(--ease), box-shadow .15s var(--ease), background .2s; white-space: nowrap; }
.button:hover { background: #efb43a; transform: translateY(-2px); box-shadow: 0 6px 0 var(--gold-deep); }
.button:active { transform: translateY(3px); box-shadow: 0 1px 0 var(--gold-deep); }
.dark-button { background: var(--ink); color: #fff; box-shadow: 0 4px 0 #0e171d; }
.dark-button:hover { background: #2b3b47; box-shadow: 0 6px 0 #0e171d; }
.text-link { position: relative; display: inline-block; padding-bottom: 3px; font-size: 16px; font-weight: 700; color: var(--ink); background: linear-gradient(var(--gold), var(--gold)) no-repeat left bottom / 100% 2px; transition: background-size .35s var(--ease), color .2s; }
.text-link:hover { color: var(--gold-text); background-size: 100% 6px; }

/* Üst menü */
.header { position: sticky; top: 0; z-index: 50; height: var(--header-h); display: flex; align-items: center; gap: 28px; padding: 0 4%; background: #fff; border-top: 5px solid var(--gold); box-shadow: 0 1px 0 var(--line); transition: height .3s var(--ease), box-shadow .3s; }
.header.is-scrolled { --header-h: 74px; box-shadow: 0 10px 30px rgba(30,43,53,.07); }
.brand { display: inline-flex; align-items: center; gap: 12px; flex-shrink: 0; }
.brand-logo { width: auto; height: 50px; max-width: 180px; object-fit: contain; transition: transform .5s var(--ease); }
.brand:hover .brand-logo { transform: rotate(-8deg) scale(1.05); }
.brand-text { font-size: 25px; font-weight: 800; line-height: 1.02; letter-spacing: .04em; text-transform: uppercase; }
.brand-text small { display: block; font-size: 10.5px; font-weight: 650; letter-spacing: .42em; margin-top: 5px; }
.brand-long small { font-size: 10.5px; letter-spacing: .06em; margin-top: 6px; color: var(--ink-soft); }
.main-nav { display: flex; align-items: center; gap: 26px; margin-inline: auto; height: 100%; font-size: 15.5px; font-weight: 650; }
.main-nav > a:not(.button) { position: relative; display: flex; align-items: center; height: 100%; white-space: nowrap; transition: color .2s; }
.main-nav > a:not(.button)::after { content: ""; position: absolute; left: -4px; right: -4px; bottom: calc(50% - 22px); height: 9px; background: var(--scribble) no-repeat center / 100% 100%; clip-path: inset(0 100% 0 0); transition: clip-path .35s var(--ease); }
.main-nav > a:not(.button):hover::after, .main-nav > a.active::after { clip-path: inset(0 0 0 0); }
.main-nav > a.active { color: var(--ink); font-weight: 750; }
.nav-cta { display: none; }
.header-cta { padding: 11px 20px; font-size: 15px; }
.menu-toggle { display: none; width: 44px; height: 44px; padding: 10px; margin-left: auto; background: none; border: 0; }
.menu-toggle span { display: block; height: 2px; background: var(--ink); margin: 5px 0; transition: transform .25s, opacity .25s; }
.menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.flash { padding: 16px 0; font-weight: 650; font-size: 16px; }
.flash-success { background: #e5f0e7; color: var(--ok); }
.flash-error { background: #f9e5e2; color: var(--danger); }

/* ---------------- Açılış alanı ---------------- */
.hero { position: relative; height: min(780px, calc(100svh - var(--header-h))); min-height: 600px; overflow: hidden; color: #fff; background: var(--slate); }
.hero-slide { position: absolute; inset: 0; opacity: 0; visibility: hidden; transition: opacity 1.1s ease, visibility 1.1s; }
.hero-slide.is-active { opacity: 1; visibility: visible; }
.hero-media { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 45%; }
.hero-slide.is-active .hero-media { animation: heroZoom 12s ease-out both; }
@keyframes heroZoom { from { transform: scale(1.08); } to { transform: scale(1); } }
.hero-shade { position: absolute; inset: 0; background: linear-gradient(95deg, rgba(25,40,34,.94) 0%, rgba(25,40,34,.72) 42%, rgba(25,40,34,.18) 78%), var(--chalk-smudge); }
.hero-content { position: relative; z-index: 1; padding-top: clamp(64px, 11vh, 120px); }
.hero-note { position: relative; display: inline-block; margin: 0 0 18px; font-family: var(--hand); font-size: clamp(26px, 2.4vw, 34px); font-weight: 700; line-height: 1.1; color: var(--gold); }
.hero-note span { display: inline-block; clip-path: inset(-10% 100% -10% 0); }
.chalk-line { position: absolute; left: 0; right: 0; bottom: -12px; width: 100%; height: 12px; overflow: visible; }
.chalk-line path { fill: none; stroke: var(--chalk); stroke-width: 3; stroke-linecap: round; opacity: .75; stroke-dasharray: 320; stroke-dashoffset: 320; }
.hero-title { max-width: 860px; margin: 18px 0 22px; color: #fff; font-size: clamp(44px, 5.8vw, 84px); font-weight: 720; line-height: 1.04; letter-spacing: -0.018em; }
.hero-title .w { display: inline-block; overflow: hidden; vertical-align: bottom; padding-bottom: .1em; margin-bottom: -.1em; }
.hero-title .w > span { display: inline-block; transform: translateY(105%); }
.hero-text { max-width: 560px; color: rgba(238,240,232,.88); font-size: 18px; line-height: 1.75; opacity: 0; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 28px; margin-top: 34px; opacity: 0; }
.hero-secondary { display: inline-flex; align-items: center; gap: 12px; font-size: 16px; font-weight: 650; color: #fff; }
.round-arrow { width: 44px; height: 44px; display: grid; place-items: center; border: 1.5px dashed rgba(238,240,232,.6); border-radius: 50%; transition: transform .4s var(--ease), border-color .2s; }
.hero-secondary:hover .round-arrow { transform: rotate(90deg); border-color: var(--gold); border-style: solid; }
.round-arrow .icon { width: 18px; height: 18px; }

/* Açılış sırası: tebeşir notu yazılır → çizgi çizilir → başlık kelime kelime yükselir → metin ve butonlar gelir */
.hero-slide.is-active .hero-note span { animation: chalkWrite 1.1s steps(18, end) .2s forwards; }
.hero-slide.is-active .chalk-line path { animation: chalkDraw .7s var(--ease) 1.2s forwards; }
.hero-slide.is-active .hero-title .w > span { animation: wordRise .9s var(--ease) forwards; }
.hero-slide.is-active .hero-title .w:nth-child(1) > span { animation-delay: .45s; }
.hero-slide.is-active .hero-title .w:nth-child(2) > span { animation-delay: .53s; }
.hero-slide.is-active .hero-title .w:nth-child(3) > span { animation-delay: .61s; }
.hero-slide.is-active .hero-title .w:nth-child(4) > span { animation-delay: .69s; }
.hero-slide.is-active .hero-title .w:nth-child(5) > span { animation-delay: .77s; }
.hero-slide.is-active .hero-title .w:nth-child(6) > span { animation-delay: .85s; }
.hero-slide.is-active .hero-title .w:nth-child(7) > span { animation-delay: .93s; }
.hero-slide.is-active .hero-title .w:nth-child(8) > span { animation-delay: 1.01s; }
.hero-slide.is-active .hero-title .w:nth-child(n+9) > span { animation-delay: 1.09s; }
.hero-slide.is-active .hero-text { animation: fadeUp .8s var(--ease) 1.15s forwards; }
.hero-slide.is-active .hero-actions { animation: fadeUp .8s var(--ease) 1.35s forwards; }
@keyframes chalkWrite { to { clip-path: inset(-10% 0 -10% 0); } }
@keyframes chalkDraw { to { stroke-dashoffset: 0; } }
@keyframes wordRise { to { transform: translateY(0); } }
@keyframes fadeUp { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }

.hero-bottom { position: absolute; left: 0; right: 0; bottom: 28px; z-index: 2; display: flex; align-items: center; justify-content: space-between; gap: 20px; padding-top: 18px; border-top: 1px dashed rgba(238,240,232,.3); font-family: var(--hand); font-size: 22px; color: rgba(238,240,232,.85); }
.hero-dots { display: flex; gap: 10px; }
.hero-dot { position: relative; width: 54px; height: 6px; padding: 0; border: 0; border-radius: 6px; background: rgba(238,240,232,.28); overflow: hidden; }
.hero-dot span { position: absolute; inset: 0; background: var(--gold); transform: scaleX(0); transform-origin: left; }
.hero-dot.is-active span { animation: dotFill 7s linear forwards; }
.hero.is-paused .hero-dot.is-active span { animation-play-state: paused; }
@keyframes dotFill { to { transform: scaleX(1); } }

/* Sınıf alfabe şeridi */
.alphabet { overflow: hidden; background: var(--slate); background-image: var(--chalk-smudge); border-top: 4px solid var(--wood); border-bottom: 1px solid #172520; }
.alphabet-track { display: flex; width: max-content; animation: alphabetScroll 70s linear infinite; }
.alphabet:hover .alphabet-track { animation-play-state: paused; }
.alphabet ul { display: flex; margin: 0; padding: 0; list-style: none; }
.alphabet li { display: grid; place-items: center; min-width: 86px; height: 64px; padding: 0 14px; border-right: 1px dashed rgba(238,240,232,.18); font-family: var(--hand); font-size: 34px; font-weight: 700; color: var(--chalk); text-shadow: 0 0 1px rgba(255,255,255,.6), 0 0 8px rgba(255,255,255,.12); }
.alphabet li:nth-child(4n+1) { color: var(--gold); }
@keyframes alphabetScroll { to { transform: translateX(-50%); } }

/* Duyuru şeridi */
.announcement { background: #fff; border-bottom: 1px solid var(--line); }
.announcement-inner { display: flex; align-items: center; gap: 26px; min-height: 76px; }
.announcement-label { display: inline-flex; align-items: center; gap: 10px; padding: 7px 14px; border-radius: 30px; background: var(--gold-soft); color: var(--gold-text); font-size: 15px; font-weight: 750; flex-shrink: 0; transition: background .2s; }
.announcement-label:hover { background: #f6e2ad; }
.announcement-label .icon { width: 18px; height: 18px; animation: ring 4s ease-in-out infinite; transform-origin: 30% 50%; }
@keyframes ring { 0%, 84%, 100% { transform: rotate(0); } 88% { transform: rotate(-14deg); } 92% { transform: rotate(12deg); } 96% { transform: rotate(-6deg); } }
.announcement-list { position: relative; flex: 1; min-width: 0; height: 28px; margin: 0; padding: 0; list-style: none; overflow: hidden; }
.announcement-list li { position: absolute; inset: 0; opacity: 0; transform: translateY(100%); transition: opacity .5s, transform .5s var(--ease); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-size: 16px; }
.announcement-list li.is-active { opacity: 1; transform: none; }
.announcement-list li.is-leaving { opacity: 0; transform: translateY(-100%); }
.announcement-list a:hover { color: var(--gold-text); }
.announcement-list time { color: var(--muted); margin-right: 12px; font-size: 14px; }
.announcement-empty { margin: 0; color: var(--muted); font-size: 15px; }

/* ---------------- Hakkımızda ---------------- */
.about { display: grid; grid-template-columns: .95fr 1.05fr; gap: 96px; align-items: center; }
.photo-print { position: relative; margin: 0; padding: 14px 14px 64px; background: #fff; box-shadow: 0 2px 0 var(--line), 0 24px 50px rgba(30,43,53,.16); transform: rotate(-2.2deg); transition: transform .6s var(--ease); }
.photo-print:hover { transform: rotate(0deg) translateY(-4px); }
.photo-print img { width: 100%; height: 470px; object-fit: cover; filter: saturate(.92) contrast(1.02); }
.photo-print figcaption { position: absolute; left: 20px; right: 20px; bottom: 12px; font-family: var(--hand); font-size: 27px; line-height: 1.2; color: var(--ink); text-align: center; }
.tape { position: absolute; top: -16px; left: 50%; z-index: 1; width: 128px; height: 34px; margin-left: -64px; background: rgba(227,165,32,.55); transform: rotate(3deg); box-shadow: 0 2px 4px rgba(0,0,0,.08); }
.about-text p, .about-copy > p { color: var(--ink-soft); font-size: 18px; line-height: 1.85; }
.about-copy .text-link { margin-top: 10px; }

/* Karne */
.report-card { margin: 30px 0 30px; padding: 14px 22px 10px 56px; border: 1.5px solid var(--ink); border-radius: 4px; background: #fff; background-image: linear-gradient(90deg, transparent 38px, var(--margin-red) 38px, var(--margin-red) 40px, transparent 40px); }
.report-title { margin: 0 0 4px; font-family: var(--hand); font-size: 28px; font-weight: 700; color: var(--gold-text); }
.report-card dl { margin: 0; }
.report-card dl div { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; padding: 8px 0; border-top: 1px solid var(--rule); }
.report-card dt { color: var(--ink-soft); font-size: 16px; }
.report-card dd { position: relative; margin: 0; font-size: 28px; font-weight: 800; letter-spacing: -0.02em; }
.report-card dd::after { content: ""; position: absolute; left: -8px; right: -8px; top: 50%; height: 44px; margin-top: -24px; border: 2px solid var(--margin-red); border-radius: 50%; opacity: .7; transform: rotate(-4deg); }

/* Bölüm başlıkları */
.section-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 30px; margin-bottom: 48px; }
.section-heading h2 { margin-bottom: 0; max-width: 760px; }
.section-heading-stack { flex-direction: column; align-items: flex-start; gap: 14px; }

/* ---------------- Faaliyetler: defter sayfaları ---------------- */
.activity-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.activity { position: relative; display: block; padding: 28px 26px 30px 76px; background: #fff; background-image: linear-gradient(90deg, transparent 56px, var(--margin-red) 56px, var(--margin-red) 58px, transparent 58px), var(--paper-lines); background-position: 0 0, 0 23px; border: 1px solid var(--line); border-radius: 4px; transition: transform .35s var(--ease), box-shadow .35s var(--ease); }
.activity:hover { transform: translateY(-5px) rotate(-.6deg); box-shadow: 9px 9px 0 rgba(227,165,32,.38); }
.activity-icon { position: absolute; left: 10px; top: 25px; display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: var(--gold); color: var(--ink); transition: transform .5s var(--ease); }
.activity:hover .activity-icon { transform: rotate(-12deg) scale(1.1); }
.activity-icon .icon { width: 20px; height: 20px; }
.activity h3 { margin: 0; font-size: 22px; line-height: 32px; }
.activity p { margin: 0; color: var(--ink-soft); font-size: 16px; line-height: 32px; }
.activity-link { display: inline-block; margin-top: 0; font-family: var(--hand); font-size: 24px; line-height: 32px; font-weight: 700; color: var(--gold-text); background: linear-gradient(var(--gold), var(--gold)) no-repeat left 88% / 0 2px; transition: background-size .35s var(--ease); }
.activity:hover .activity-link { background-size: 100% 2px; }

/* ---------------- Projeler ---------------- */
.project-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.project-grid-1 { grid-template-columns: 1fr; }
.project-grid-2 { grid-template-columns: repeat(2, 1fr); }
.project { position: relative; display: block; height: 440px; overflow: hidden; border-radius: 6px; background: var(--slate); color: #fff; isolation: isolate; }
.project > img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease), filter .6s; filter: saturate(.85); }
.project::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(25,40,34,.95) 8%, rgba(25,40,34,.35) 55%, rgba(25,40,34,.05)); transition: opacity .4s; }
.project:hover > img { transform: scale(1.06); filter: saturate(1); }
.project-overlay { position: absolute; z-index: 1; left: 28px; right: 28px; bottom: 28px; transition: transform .45s var(--ease); }
.project:hover .project-overlay { transform: translateY(-6px); }
.project-tag { font-family: var(--hand); font-size: 23px; font-weight: 700; color: var(--gold); }
.project h3 { color: #fff; font-size: 28px; font-weight: 750; letter-spacing: -0.02em; margin: 4px 0 8px; }
.project p { margin: 0; color: rgba(238,240,232,.85); font-size: 15px; line-height: 1.6; }
.stamp { position: absolute; z-index: 2; top: 22px; right: 20px; padding: 6px 14px; border: 2.5px solid currentColor; border-radius: 5px; background: rgba(255,255,255,.92); font-size: 14px; font-weight: 800; letter-spacing: .02em; transform: rotate(-8deg); box-shadow: inset 0 0 0 2px rgba(255,255,255,.9); }
.project:hover .stamp { animation: stampThunk .45s var(--ease); }
@keyframes stampThunk { 0% { transform: rotate(-8deg) scale(1); } 40% { transform: rotate(-4deg) scale(1.22); } 100% { transform: rotate(-8deg) scale(1); } }
.stamp-devam { color: var(--ok); }
.stamp-tamamlandi { color: var(--ink); }
.stamp-planlaniyor { color: var(--danger); }

/* ---------------- Haberler: defter listesi ---------------- */
.news-split { display: grid; grid-template-columns: 1fr 1.9fr; gap: 70px; align-items: start; }
.news-split .section-heading { position: sticky; top: calc(var(--header-h) + 30px); margin: 0; }
.notebook-list { margin: 0; padding: 0; list-style: none; background: #fff; background-image: linear-gradient(90deg, transparent 128px, var(--margin-red) 128px, var(--margin-red) 130px, transparent 130px); border: 1px solid var(--line); border-radius: 4px; }
.notebook-list li { display: grid; grid-template-columns: 130px 1fr; border-bottom: 1px solid var(--rule); transition: background .25s; }
.notebook-list li:last-child { border-bottom: 0; }
.notebook-list li:hover { background: rgba(251,241,216,.45); }
.notebook-list time { padding: 26px 18px; color: var(--muted); font-size: 14px; line-height: 1.3; text-align: right; }
.notebook-list time b { display: block; font-size: 38px; font-weight: 800; line-height: 1; color: var(--ink); letter-spacing: -0.03em; }
.notebook-list li > div { padding: 24px 28px 26px 30px; }
.notebook-list h3 { margin: 10px 0 6px; font-size: 21px; line-height: 1.35; }
.notebook-list h3 a { background: linear-gradient(var(--gold), var(--gold)) no-repeat left bottom / 0 2px; transition: background-size .35s var(--ease); }
.notebook-list h3 a:hover { background-size: 100% 2px; }
.notebook-list p { margin: 0; color: var(--ink-soft); font-size: 16px; }
.badge { display: inline-block; padding: 2px 10px; border-radius: 30px; font-size: 13px; font-weight: 750; }
.badge-haber { background: #e8eef4; color: #34506a; }
.badge-duyuru { background: var(--gold-soft); color: var(--gold-text); }

/* Haber kartları (liste sayfası) */
.post-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.post-card { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: 6px; overflow: hidden; transition: transform .35s var(--ease), box-shadow .35s var(--ease); }
.post-card:hover { transform: translateY(-5px); box-shadow: 9px 9px 0 rgba(227,165,32,.38); }
.post-card-media { display: block; aspect-ratio: 16 / 10; overflow: hidden; background: #f1f2ee; }
.post-card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.post-card:hover .post-card-media img { transform: scale(1.05); }
.post-card-body { display: flex; flex-direction: column; flex: 1; padding: 22px 24px 26px; }
.post-card h3 { font-size: 20px; margin: 12px 0 8px; line-height: 1.35; }
.post-card h3 a:hover { color: var(--gold-text); }
.post-card p { color: var(--ink-soft); font-size: 16px; flex: 1; }
.post-meta { display: flex; align-items: center; gap: 12px; font-size: 14px; color: var(--muted); }

/* ---------------- Fotoğraf albümü ---------------- */
.media-grid { display: grid; gap: 34px; }
.media-grid.has-video { grid-template-columns: 1.2fr 1fr; align-items: start; }
.album { display: grid; grid-template-columns: repeat(3, 1fr); gap: 34px 28px; padding: 10px 6px; }
.has-video .album { grid-template-columns: repeat(2, 1fr); }
.album-photo, .gallery-grid .gallery-figure { position: relative; display: block; padding: 10px 10px 44px; background: #fff; box-shadow: 0 1px 0 var(--line), 0 14px 30px rgba(30,43,53,.13); transition: transform .5s var(--ease), box-shadow .5s; }
.album-photo:nth-child(3n+1), .gallery-grid .gallery-figure:nth-child(4n+1) { transform: rotate(-2deg); }
.album-photo:nth-child(3n+2), .gallery-grid .gallery-figure:nth-child(4n+2) { transform: rotate(1.6deg) translateY(8px); }
.album-photo:nth-child(3n), .gallery-grid .gallery-figure:nth-child(4n+3) { transform: rotate(-.8deg); }
.gallery-grid .gallery-figure:nth-child(4n) { transform: rotate(2.2deg) translateY(6px); }
.album-photo:hover, .gallery-grid .gallery-figure:hover { z-index: 2; transform: rotate(0) scale(1.04); box-shadow: 0 1px 0 var(--line), 0 26px 50px rgba(30,43,53,.22); }
.album-photo img, .gallery-figure img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; background: #eef0ec; }
.album-photo span, .gallery-figure figcaption { position: absolute; left: 12px; right: 12px; bottom: 8px; font-family: var(--hand); font-size: 22px; line-height: 1.2; color: var(--ink); text-align: center; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.gallery-item { display: block; }
.video-card { position: relative; border-radius: 6px; overflow: hidden; background: var(--slate); aspect-ratio: 16 / 11; border: 10px solid var(--wood); }
.video-card-wide { margin-bottom: 44px; aspect-ratio: 16 / 7; }
.video-poster { position: absolute; inset: 0; width: 100%; padding: 0; border: 0; background: none; color: #fff; }
.video-poster img { width: 100%; height: 100%; object-fit: cover; opacity: .78; transition: opacity .3s, transform .8s var(--ease); }
.video-poster:hover img { opacity: .92; transform: scale(1.04); }
.play-button { position: absolute; left: 50%; top: 50%; display: grid; place-items: center; width: 86px; height: 86px; margin: -43px 0 0 -43px; border-radius: 50%; background: var(--gold); color: var(--ink); animation: pulseRing 2.4s ease-out infinite; transition: transform .25s var(--ease); }
@keyframes pulseRing { 0% { box-shadow: 0 0 0 0 rgba(227,165,32,.55); } 100% { box-shadow: 0 0 0 26px rgba(227,165,32,0); } }
.play-button .icon { width: 30px; height: 30px; margin-left: 4px; fill: currentColor; }
.video-poster:hover .play-button { transform: scale(1.08); }
.video-label { position: absolute; left: 24px; bottom: 18px; font-family: var(--hand); font-size: 30px; font-weight: 700; text-shadow: 0 2px 12px rgba(0,0,0,.5); }
.video-card iframe, .video-card video { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video-card video { object-fit: contain; background: #000; }

/* ---------------- Kara tahta: gönüllü çağrısı ---------------- */
.board-section { padding-block: 40px 110px; }
.board { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 40px; padding: 64px 70px 70px; background: var(--slate); background-image: var(--chalk-smudge); border: 16px solid var(--wood); border-radius: 6px; box-shadow: inset 0 0 0 2px rgba(0,0,0,.25), inset 0 0 60px rgba(0,0,0,.35), 0 26px 50px rgba(30,43,53,.2); color: var(--chalk); overflow: hidden; }
.board::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 14px; background: linear-gradient(#8d6a40, #6a4d2c); }
.board-text { position: relative; z-index: 1; max-width: 640px; }
.board-note { margin: 0 0 6px; font-family: var(--hand); font-size: 28px; font-weight: 700; color: var(--gold); }
.chalk-title { margin: 0 0 14px; font-family: var(--hand); font-size: clamp(46px, 5.4vw, 74px); font-weight: 700; line-height: 1; letter-spacing: 0; color: var(--chalk); text-shadow: 0 0 1px rgba(255,255,255,.7), 0 0 12px rgba(255,255,255,.12); clip-path: inset(-20% 100% -20% 0); transition: clip-path 1.6s steps(24, end); }
.chalk-title.is-drawn, .no-js .chalk-title { clip-path: inset(-20% 0 -20% 0); }
.board-text p:last-child { margin: 0; font-size: 18px; color: rgba(238,240,232,.85); }
.board-actions { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: flex-start; gap: 18px; flex-shrink: 0; }
.board-link { font-family: var(--hand); font-size: 24px; font-weight: 700; color: var(--chalk); border-bottom: 2px dashed rgba(238,240,232,.5); transition: color .2s, border-color .2s; }
.board-link:hover { color: var(--gold); border-color: var(--gold); }
.board-chalk { position: absolute; z-index: 2; right: 120px; bottom: 4px; width: 46px; height: 11px; border-radius: 3px; background: #f4f4ee; box-shadow: 0 2px 2px rgba(0,0,0,.3); transform: rotate(-4deg); }
.board-eraser { position: absolute; z-index: 2; right: 30px; bottom: 2px; width: 70px; height: 18px; border-radius: 3px; background: linear-gradient(#5c4a36 0 55%, #d9d6cc 55%); box-shadow: 0 2px 3px rgba(0,0,0,.35); }

/* ---------------- İç sayfa başlığı: kara tahta ---------------- */
.page-banner { position: relative; overflow: hidden; background: var(--slate); color: var(--chalk); border-bottom: 6px solid var(--wood); }
.page-banner-shade { position: absolute; inset: 0; background-image: var(--chalk-smudge); }
.page-banner.has-image .page-banner-shade { background: linear-gradient(95deg, rgba(25,40,34,.95), rgba(25,40,34,.62)), var(--chalk-smudge); }
.page-banner-image { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.page-banner-inner { position: relative; z-index: 1; padding-block: 62px 64px; }
.banner-note { margin: 0 0 4px; font-family: var(--hand); font-size: 28px; font-weight: 700; color: var(--gold); }
.banner-title { max-width: 920px; margin: 0 0 14px; color: #fff; font-size: clamp(36px, 4.6vw, 62px); animation: fadeUp .8s var(--ease) both; }
.page-lead { max-width: 680px; margin: 0; color: rgba(238,240,232,.82); font-size: 18px; }
.breadcrumb { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-bottom: 26px; font-size: 14px; color: rgba(238,240,232,.65); }
.breadcrumb a:hover { color: var(--gold); }
.breadcrumb [aria-current] { color: var(--chalk); font-weight: 650; max-width: 40ch; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* Filtreler */
.filters { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 44px; }
.filters a { padding: 9px 20px; border: 1.5px solid var(--line); border-radius: 30px; font-size: 15px; font-weight: 650; transition: background .2s, color .2s, border-color .2s, transform .2s; }
.filters a:hover { border-color: var(--gold); transform: translateY(-2px); }
.filters a.selected { background: var(--ink); border-color: var(--ink); color: #fff; }

/* Faaliyet kartları (liste sayfası) */
.activity-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.card { display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: 6px; overflow: hidden; background: #fff; transition: transform .35s var(--ease), box-shadow .35s var(--ease); }
.card:hover { transform: translateY(-5px) rotate(-.4deg); box-shadow: 9px 9px 0 rgba(227,165,32,.38); }
.card-media { position: relative; display: block; aspect-ratio: 16 / 10; background: #eef0ec; }
.card-media img { width: 100%; height: 100%; object-fit: cover; }
.card-icon { position: absolute; left: 20px; bottom: -24px; display: grid; place-items: center; width: 50px; height: 50px; border-radius: 50%; background: var(--gold); color: var(--ink); box-shadow: 0 0 0 5px #fff; transition: transform .5s var(--ease); }
.card:hover .card-icon { transform: rotate(-14deg) scale(1.08); }
.card-icon .icon { width: 23px; height: 23px; }
.card-body { display: flex; flex-direction: column; flex: 1; padding: 40px 26px 26px; background-image: var(--paper-lines); background-position: 0 3px; }
.card-body h2 { font-size: 23px; letter-spacing: -0.02em; margin: 0; line-height: 32px; }
.card-body h2 a:hover { color: var(--gold-text); }
.card-body p { margin: 0 0 32px; color: var(--ink-soft); font-size: 16px; line-height: 32px; flex: 1; }

/* Detay sayfaları */
.detail-layout { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 72px; align-items: start; }
.detail-image { width: 100%; max-height: 520px; object-fit: cover; border-radius: 6px; margin-bottom: 36px; }
.detail-summary { font-size: 21px; line-height: 1.7; color: var(--ink); font-weight: 550; }
.prose { max-width: 70ch; font-size: 18px; line-height: 1.85; color: #34414a; }
.prose h3 { font-size: 25px; margin: 40px 0 12px; }
.prose ul { padding-left: 0; list-style: none; margin: 0 0 1.3em; }
.prose li { position: relative; padding-left: 30px; margin-bottom: 8px; }
.prose li::before { content: ""; position: absolute; left: 2px; top: .62em; width: 16px; height: 9px; background: var(--scribble) no-repeat center / 100% 100%; }
.prose strong { color: var(--ink); }
.detail-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 28px; margin-top: 44px; padding-top: 30px; border-top: 1px dashed var(--rule); }
.detail-actions .text-link .icon { display: inline; vertical-align: -3px; width: 18px; height: 18px; margin-right: 6px; }
.detail-aside { position: sticky; top: calc(var(--header-h) + 24px); display: grid; gap: 24px; }
.aside-box { padding: 24px 24px 22px 50px; background: #fff; background-image: linear-gradient(90deg, transparent 32px, var(--margin-red) 32px, var(--margin-red) 34px, transparent 34px); border: 1px solid var(--line); border-radius: 4px; }
.aside-box h2 { font-family: var(--hand); font-size: 28px; font-weight: 700; letter-spacing: 0; color: var(--gold-text); margin: 0 0 8px; }
.aside-list { list-style: none; margin: 0; padding: 0; }
.aside-list li + li { border-top: 1px solid var(--rule); }
.aside-list a { display: flex; align-items: center; gap: 14px; padding: 12px 0; font-weight: 650; font-size: 16px; line-height: 1.4; transition: color .2s, transform .25s var(--ease); }
.aside-list a:hover { color: var(--gold-text); transform: translateX(4px); }
.aside-list img { width: 64px; height: 48px; object-fit: cover; border-radius: 3px; flex-shrink: 0; }
.aside-icon { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: var(--gold-soft); color: var(--gold-text); flex-shrink: 0; }
.aside-icon .icon { width: 18px; height: 18px; }
.aside-posts time { display: block; font-size: 13px; font-weight: 600; color: var(--muted); margin-bottom: 2px; }
.aside-cta { padding-left: 24px; background: var(--slate); background-image: var(--chalk-smudge); border: 8px solid var(--wood); color: var(--chalk); }
.aside-cta h2 { color: var(--gold); }
.aside-cta p { font-size: 16px; color: rgba(238,240,232,.85); }
.meta-list { margin: 0; }
.meta-list div { display: flex; justify-content: space-between; gap: 16px; padding: 11px 0; border-bottom: 1px solid var(--rule); font-size: 16px; }
.meta-list div:last-child { border-bottom: 0; }
.meta-list dt { display: flex; align-items: center; gap: 8px; color: var(--muted); }
.meta-list dt .icon { width: 16px; height: 16px; color: var(--gold-text); }
.meta-list dd { margin: 0; font-weight: 700; text-align: right; }
.status { display: inline-block; padding: 1px 10px; border: 2px solid currentColor; border-radius: 4px; font-size: 13px; transform: rotate(-3deg); }
.status-devam { color: var(--ok); }
.status-tamamlandi { color: var(--ink); }
.status-planlaniyor { color: var(--danger); }

/* Hakkımızda sayfası */
.about-page { align-items: start; }
.about-page .photo-print { position: sticky; top: calc(var(--header-h) + 40px); }
.mission-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; }
.mission-card { position: relative; padding: 40px 40px 34px 84px; background: #fff; background-image: linear-gradient(90deg, transparent 62px, var(--margin-red) 62px, var(--margin-red) 64px, transparent 64px), var(--paper-lines); background-position: 0 0, 0 3px; border: 1px solid var(--line); border-radius: 4px; }
.mission-card .activity-icon { left: 14px; top: 38px; }
.mission-card h2 { font-size: 28px; margin: 0; line-height: 32px; }
.mission-card p { margin: 0 0 32px; color: var(--ink-soft); line-height: 32px; }
.mission-card p:last-child { margin-bottom: 0; }
.values-list { display: flex; flex-wrap: wrap; gap: 14px; list-style: none; padding: 0; margin: 0; }
.values-list li { display: inline-flex; align-items: center; gap: 10px; padding: 12px 22px; border: 1.5px solid var(--ink); border-radius: 40px; font-size: 18px; font-weight: 650; transition: background .25s, transform .25s var(--ease); }
.values-list li:hover { background: var(--gold-soft); transform: rotate(-2deg); }
.values-list .icon { color: var(--gold-deep); width: 18px; height: 18px; }

/* Galeri sayfası */
.gallery-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 40px 30px; padding: 10px 4px; }
.gallery-figure { margin: 0; }

/* Işık kutusu */
.lightbox { position: fixed; inset: 0; z-index: 200; display: flex; align-items: center; justify-content: center; padding: 40px 80px; background: rgba(22,34,29,.95); background-image: var(--chalk-smudge); animation: lbIn .3s ease; }
.lightbox[hidden] { display: none; }
@keyframes lbIn { from { opacity: 0; } }
.lightbox figure { margin: 0; max-width: 100%; max-height: 100%; padding: 12px 12px 54px; background: #fff; position: relative; animation: lbPhoto .45s var(--ease); }
@keyframes lbPhoto { from { transform: rotate(-4deg) scale(.92); opacity: 0; } }
.lightbox img { max-width: 100%; max-height: calc(100vh - 190px); margin: auto; }
.lightbox figcaption { position: absolute; left: 12px; right: 12px; bottom: 12px; font-family: var(--hand); font-size: 26px; color: var(--ink); text-align: center; }
.lightbox button { position: absolute; display: grid; place-items: center; width: 50px; height: 50px; border: 1.5px dashed rgba(238,240,232,.5); border-radius: 50%; background: transparent; color: #fff; transition: background .2s, color .2s; }
.lightbox button:hover { background: var(--gold); border-color: var(--gold); color: var(--ink); }
.lightbox .icon { width: 22px; height: 22px; }
.lightbox-close { top: 20px; right: 20px; }
.lightbox-prev { left: 20px; top: 50%; margin-top: -25px; }
.lightbox-next { right: 20px; top: 50%; margin-top: -25px; }
body.no-scroll { overflow: hidden; }

/* Sayfalama */
.pagination { display: flex; justify-content: center; flex-wrap: wrap; gap: 8px; margin-top: 60px; }
.pagination a, .pagination .dots { display: grid; place-items: center; min-width: 46px; height: 46px; padding: 0 12px; border: 1.5px solid var(--line); border-radius: 50%; font-weight: 700; font-size: 16px; }
.pagination .dots { border: 0; }
.pagination a:hover { border-color: var(--gold); }
.pagination a.current { background: var(--ink); color: #fff; border-color: var(--ink); }
.pagination .icon { width: 18px; height: 18px; }

/* Boş durum */
.empty-state { padding: 54px 24px; text-align: center; border: 2px dashed var(--rule); border-radius: 6px; background: #fff; background-image: var(--paper-lines); }
.empty-icon { width: 44px; height: 44px; margin: 0 auto 10px; color: var(--gold-deep); }
.empty-state h3 { margin: 0 0 6px; font-family: var(--hand); font-size: 30px; letter-spacing: 0; }
.empty-state p { margin: 0; color: var(--muted); }

/* İletişim */
.contact { display: grid; grid-template-columns: 1fr 1.15fr; gap: 90px; align-items: start; }
.contact-info > p { color: var(--ink-soft); }
.contact-list { list-style: none; margin: 34px 0; padding: 0; display: grid; gap: 22px; }
.contact-list li { display: flex; gap: 16px; }
.contact-list .icon { width: 46px; height: 46px; padding: 12px; border-radius: 50%; background: var(--gold-soft); color: var(--gold-text); }
.contact-list strong { display: block; font-size: 15px; }
.contact-list span, .contact-list a { color: var(--ink-soft); font-size: 16px; }
.contact-list a:hover { color: var(--gold-text); }
.contact-placeholder { margin-top: 30px; padding-left: 18px; border-left: 3px solid var(--gold); }
.contact-placeholder p { color: var(--muted); font-size: 16px; margin-top: 6px; }
.contact-form { position: relative; padding: 40px 40px 36px 76px; border: 1px solid var(--line); border-radius: 4px; background: #fff; background-image: linear-gradient(90deg, transparent 50px, var(--margin-red) 50px, var(--margin-red) 52px, transparent 52px); box-shadow: 10px 10px 0 rgba(227,165,32,.22); }
.form-heading { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin-bottom: 10px; }
.form-heading h3 { margin: 0; font-family: var(--hand); font-size: 34px; font-weight: 700; letter-spacing: 0; }
.form-heading span { font-size: 14px; color: var(--muted); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.contact-form label { display: block; margin: 18px 0 7px; font-size: 15px; font-weight: 650; }
.contact-form input:not([type="checkbox"]), .contact-form select, .contact-form textarea { width: 100%; padding: 12px 2px; border: 0; border-bottom: 2px solid var(--rule); border-radius: 0; background: transparent; font-size: 17px; transition: border-color .25s; }
.contact-form textarea { resize: vertical; min-height: 150px; padding: 8px 2px; line-height: 32px; background-image: var(--paper-lines); background-attachment: local; border: 0; border-bottom: 2px solid var(--rule); }
.contact-form input:focus, .contact-form select:focus, .contact-form textarea:focus { outline: 0; border-bottom-color: var(--gold); }
.contact-form [aria-invalid="true"] { border-bottom-color: var(--danger) !important; }
.checkbox { display: flex !important; gap: 12px; align-items: flex-start; font-weight: 500 !important; font-size: 15px !important; color: var(--ink-soft); }
.checkbox input { width: 20px; height: 20px; margin-top: 3px; accent-color: var(--ink); flex-shrink: 0; }
.field-error { margin: 6px 0 0; color: var(--danger); font-size: 14px; font-weight: 650; }
.form-alert { margin: 14px 0 6px; padding: 12px 16px; border-radius: 4px; background: #f9e5e2; color: var(--danger); font-weight: 650; font-size: 15px; }
.form-bottom { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-top: 28px; }
.form-bottom p { margin: 0; font-size: 14px; color: var(--muted); }
.hp-field { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.map-section iframe { display: block; width: 100%; height: 420px; border: 0; filter: grayscale(.35); }

/* Sosyal medya */
.social-list { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; margin: 22px 0 0; padding: 0; }
.social-list a { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; border: 1.5px solid rgba(238,240,232,.3); transition: background .2s, color .2s, border-color .2s, transform .3s var(--ease); }
.social-list a:hover { background: var(--gold); border-color: var(--gold); color: var(--ink); transform: translateY(-3px) rotate(-8deg); }
.social-list .icon { width: 18px; height: 18px; }
.social-list-dark a { border-color: var(--line); }

/* Alt bilgi */
.site-footer { background: var(--ink); color: #fff; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.3fr; gap: 50px; padding-block: 74px 54px; }
.site-footer .brand-text { font-size: 23px; }
.site-footer .brand-text small { font-size: 9.5px; color: rgba(255,255,255,.7); }
.site-footer .brand-long small { font-size: 10.5px; }
.footer-about p { margin-top: 20px; color: #c6d0d7; font-size: 16px; max-width: 360px; }
.footer-title { margin: 6px 0 16px; font-family: var(--hand); font-size: 27px; font-weight: 700; letter-spacing: 0; color: var(--gold); }
.footer-links, .footer-contact { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; font-size: 16px; color: #d4dce1; }
.footer-links a { transition: color .2s, padding .25s var(--ease); }
.footer-links a:hover { color: var(--gold); padding-left: 6px; }
.footer-contact a:hover { color: var(--gold); }
.footer-contact li { display: flex; gap: 10px; align-items: flex-start; }
.footer-contact .icon { margin-top: 5px; color: var(--gold); }
.footer-bottom { display: flex; justify-content: space-between; gap: 16px; padding-block: 22px; border-top: 1px dashed rgba(255,255,255,.18); font-size: 14px; color: #a9b6bf; }
.to-top:hover { color: var(--gold); }

/* 404 ve hata sayfası */
.not-found { max-width: 760px; }
.not-found h1 { font-size: clamp(34px, 4.5vw, 58px); }
.not-found p { color: var(--ink-soft); font-size: 18px; }
.fatal-page { min-height: 100vh; display: grid; place-items: center; background: var(--slate); background-image: var(--chalk-smudge); padding: 20px; }
.fatal-box { max-width: 560px; padding: 48px; background: #fff; border-top: 5px solid var(--gold); border-radius: 6px; box-shadow: 0 20px 60px rgba(0,0,0,.25); }
.fatal-box h1 { font-size: 30px; margin: 22px 0 10px; }
.fatal-box p { color: var(--muted); }
.fatal-box pre { white-space: pre-wrap; font-size: 12px; background: #f3f4f0; padding: 12px; border-radius: 4px; overflow: auto; }

/* ---------------- Duyarlı düzen ---------------- */
@media (max-width: 1200px) {
    .header { gap: 18px; }
    .main-nav { gap: 18px; font-size: 14.5px; }
    .brand-text { font-size: 22px; }
    .brand-logo { height: 44px; }
    .about, .contact { gap: 60px; }
    .detail-layout { gap: 48px; grid-template-columns: minmax(0, 1fr) 300px; }
    .wrap { width: calc(100% - 64px); }
}

@media (max-width: 1080px) {
    :root { --header-h: 80px; }
    .header.is-scrolled { --header-h: 70px; }
    .header-cta { margin-left: auto; }
    .menu-toggle { display: block; margin-left: 0; }
    .main-nav { position: fixed; top: var(--header-h); left: 0; right: 0; bottom: 0; z-index: 49; display: flex; flex-direction: column; align-items: stretch; gap: 0; height: auto; margin: 0; padding: 14px 32px 40px; background: #fff; background-image: linear-gradient(90deg, transparent 18px, var(--margin-red) 18px, var(--margin-red) 20px, transparent 20px); font-size: 22px; overflow-y: auto; opacity: 0; visibility: hidden; transform: translateY(-10px); transition: opacity .25s, transform .3s var(--ease), visibility .25s; }
    .main-nav.open { opacity: 1; visibility: visible; transform: none; }
    .main-nav > a:not(.button) { height: auto; padding: 14px 0 14px 8px; border-bottom: 1px solid var(--rule); }
    .main-nav > a:not(.button)::after { left: 8px; right: auto; width: 90px; bottom: 6px; }
    .main-nav.open > a { animation: fadeUp .45s var(--ease) both; }
    .main-nav.open > a:nth-child(2) { animation-delay: .04s; }
    .main-nav.open > a:nth-child(3) { animation-delay: .08s; }
    .main-nav.open > a:nth-child(4) { animation-delay: .12s; }
    .main-nav.open > a:nth-child(5) { animation-delay: .16s; }
    .main-nav.open > a:nth-child(6) { animation-delay: .2s; }
    .main-nav.open > a:nth-child(7) { animation-delay: .24s; }
    .main-nav.open > a:nth-child(8) { animation-delay: .28s; }
    .nav-cta { display: inline-flex; margin-top: 28px; align-self: flex-start; }
    .activity-grid, .activity-cards, .post-grid, .project-grid { grid-template-columns: repeat(2, 1fr); }
    .project-grid-1 { grid-template-columns: 1fr; }
    .gallery-grid { grid-template-columns: repeat(3, 1fr); }
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 40px; }
    .detail-layout { grid-template-columns: 1fr; }
    .detail-aside { position: static; grid-template-columns: 1fr 1fr; }
    .news-split { grid-template-columns: 1fr; gap: 30px; }
    .news-split .section-heading { position: static; }
    .board { flex-direction: column; align-items: flex-start; padding: 50px 44px 60px; }
}

@media (max-width: 820px) {
    .section { padding-block: 76px; }
    .about, .contact { grid-template-columns: 1fr; gap: 54px; }
    .about-page .photo-print { position: relative; top: 0; }
    .photo-print img { height: 400px; }
    .media-grid.has-video { grid-template-columns: 1fr; }
    .hero { height: 660px; min-height: 0; }
    .mission-grid { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
    body { font-size: 16px; }
    .wrap { width: calc(100% - 32px); }
    .section { padding-block: 60px; }
    .header { padding: 0 16px; gap: 8px; }
    .brand-logo { height: 40px; }
    .brand-text { font-size: 19px; }
    .brand-text small { font-size: 8.5px; letter-spacing: .36em; }
    .brand-long small { font-size: 9px; letter-spacing: .03em; }
    .header-cta { display: none; }
    .menu-toggle { margin-left: auto; }
    .main-nav { padding-inline: 34px 20px; }
    .hero { height: 640px; }
    .hero-media { object-position: 62% center; }
    .hero-shade { background: linear-gradient(180deg, rgba(25,40,34,.55), rgba(25,40,34,.92) 70%), var(--chalk-smudge); }
    .hero-content { padding-top: 56px; }
    .hero-title { font-size: 42px; }
    .hero-text { font-size: 16px; }
    .hero-actions { gap: 18px; }
    .hero-bottom { font-size: 18px; bottom: 18px; }
    .hero-bottom > span { display: none; }
    .alphabet li { min-width: 66px; height: 54px; font-size: 28px; }
    .announcement-inner { flex-wrap: wrap; gap: 10px 14px; padding-block: 16px; }
    .announcement-list { flex-basis: 100%; height: 52px; }
    .announcement-list li { white-space: normal; font-size: 15px; line-height: 1.5; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
    .announcement-list li.is-active { display: -webkit-box; }
    .photo-print { padding: 10px 10px 54px; }
    .photo-print img { height: 300px; }
    .photo-print figcaption { font-size: 23px; }
    .report-card { padding-left: 50px; }
    .report-card dd { font-size: 24px; }
    .section-heading { flex-direction: column; align-items: flex-start; gap: 16px; margin-bottom: 32px; }
    .activity-grid, .activity-cards, .post-grid, .project-grid, .project-grid-2 { grid-template-columns: 1fr; }
    .project { height: 380px; }
    .project h3 { font-size: 24px; }
    .notebook-list { background-image: linear-gradient(90deg, transparent 78px, var(--margin-red) 78px, var(--margin-red) 80px, transparent 80px); }
    .notebook-list li { grid-template-columns: 80px 1fr; }
    .notebook-list time { padding: 22px 12px 0 6px; font-size: 12px; }
    .notebook-list time b { font-size: 30px; }
    .notebook-list li > div { padding: 20px 16px 22px 18px; }
    .notebook-list h3 { font-size: 18px; }
    .album, .has-video .album, .gallery-grid { grid-template-columns: 1fr 1fr; gap: 22px 16px; }
    .album-photo, .gallery-grid .gallery-figure { padding: 6px 6px 34px; }
    .album-photo span, .gallery-figure figcaption { font-size: 17px; bottom: 6px; }
    .video-card { border-width: 6px; }
    .video-card-wide { aspect-ratio: 16 / 10; }
    .play-button { width: 64px; height: 64px; margin: -32px 0 0 -32px; }
    .board-section { padding-block: 20px 70px; }
    .board { padding: 40px 24px 54px; border-width: 10px; }
    .board-chalk { right: 100px; }
    .page-banner-inner { padding-block: 40px 42px; }
    .page-lead { font-size: 16px; }
    .detail-aside { grid-template-columns: 1fr; }
    .prose { font-size: 17px; }
    .detail-summary { font-size: 18px; }
    .mission-card { padding: 30px 22px 26px 70px; }
    .contact-form { padding: 28px 20px 26px 50px; background-image: linear-gradient(90deg, transparent 30px, var(--margin-red) 30px, var(--margin-red) 32px, transparent 32px); box-shadow: 6px 6px 0 rgba(227,165,32,.22); }
    .form-row { grid-template-columns: 1fr; gap: 0; }
    .form-bottom { flex-direction: column-reverse; align-items: stretch; }
    .form-bottom .button { width: 100%; }
    .footer-grid { grid-template-columns: 1fr; gap: 32px; padding-block: 54px 36px; }
    .footer-bottom { flex-direction: column; gap: 10px; }
    .lightbox { padding: 60px 12px 90px; }
    .lightbox-prev, .lightbox-next { top: auto; bottom: 20px; margin: 0; }
    .lightbox-prev { left: calc(50% - 62px); }
    .lightbox-next { right: calc(50% - 62px); }
    .map-section iframe { height: 320px; }
}

/* Hareket azaltma tercihi: her şey son hâlinde, animasyonsuz */
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { animation: none !important; transition: none !important; }
    .hero-note span, .chalk-title, .scribble::after { clip-path: none !important; }
    .chalk-line path { stroke-dashoffset: 0; }
    .hero-title .w > span { transform: none; }
    .hero-text, .hero-actions { opacity: 1; }
    .alphabet-track { transform: none; }
}
