/* GDU Tema. Yazı tipleri: Source Serif 4 ve Instrument Sans (SIL OFL). */

@font-face { font-family: "Source Serif 4"; src: url("../fonts/source-serif-4.woff2") format("woff2"); font-weight: 200 900; font-display: swap; }
@font-face { font-family: "Instrument Sans"; src: url("../fonts/instrument-sans.woff2") format("woff2"); font-weight: 400 700; font-stretch: 75% 100%; font-display: swap; }

:root {
	--bordo: #800016;
	--bordo-deep: color-mix(in srgb, var(--bordo) 72%, #000);
	--bordo-tint: color-mix(in srgb, var(--bordo) 7%, #fff);
	--bordo-line: color-mix(in srgb, var(--bordo) 22%, #fff);
	--cream: #faf6ef;
	--white: #fff;
	--ink: #1f1a1b;
	--muted: #5e5255;
	--line: #e5dbd0;
	--field-line: #8d7f82;
	--serif: "Source Serif 4", Georgia, serif;
	--sans: "Instrument Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
	--radius: 6px;
	--ease-out: cubic-bezier(0.23, 1, 0.32, 1);
	--gutter: clamp(1rem, 4vw, 2.5rem);
	--wrap: 76rem;
	--space: clamp(3.25rem, 7vw, 6rem);
	--bar-h: 4.5rem;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; -webkit-tap-highlight-color: transparent; scroll-padding-top: calc(var(--bar-h) + 1rem); scroll-behavior: smooth; }
body { margin: 0; background: var(--cream); color: var(--ink); font-family: var(--sans); font-size: 1.0625rem; line-height: 1.65; overflow-x: clip; }
main:focus { outline: none; }
img, iframe { max-width: 100%; }
img { height: auto; display: block; }
figure { margin: 0; }
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 600; line-height: 1.18; margin: 0 0 .6em; text-wrap: balance; letter-spacing: -0.012em; }
h1 { font-size: clamp(2.1rem, 1.3rem + 3vw, 3.5rem); }
h2 { font-size: clamp(1.6rem, 1.2rem + 1.5vw, 2.35rem); }
h3 { font-size: 1.3rem; }
p { margin: 0 0 1em; text-wrap: pretty; }
a { color: var(--bordo); text-underline-offset: .2em; text-decoration-thickness: 1px; }
::selection { background: var(--bordo); color: #fff; }
:focus-visible { outline: 3px solid var(--bordo); outline-offset: 3px; border-radius: 2px; }
.site-header :focus-visible, .site-footer :focus-visible, .cta-band :focus-visible, .mobile-bar :focus-visible { outline-color: #fff; }
button, a, [role="option"], summary { touch-action: manipulation; }
button, .btn, .sub-toggle, .mobile-bar a { -webkit-user-select: none; user-select: none; }
[hidden] { display: none !important; }

.wrap { width: min(100% - 2 * var(--gutter), var(--wrap)); margin-inline: auto; }
.sr-only { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip-link { position: absolute; left: 1rem; top: -4rem; z-index: 200; background: #fff; color: var(--bordo); padding: .75rem 1rem; border-radius: var(--radius); font-weight: 600; }
.skip-link:focus { top: .75rem; }
.icon { width: 1.15em; height: 1.15em; flex: none; vertical-align: -0.18em; }
.muted { color: var(--muted); }
.lead { font-size: 1.2rem; color: var(--muted); max-width: 46rem; }
.source { font-size: .9rem; color: var(--muted); }

/* Butonlar */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; min-height: 48px; padding: .7rem 1.35rem; border: 1.5px solid transparent; border-radius: var(--radius); font: 600 1rem/1.25 var(--sans); text-decoration: none; text-align: center; cursor: pointer; transition: transform 140ms var(--ease-out), background-color 180ms ease, box-shadow 180ms ease; }
.btn:active { transform: scale(.97); }
.btn--primary { background: var(--bordo); color: #fff; }
.btn--light { background: #fff; color: var(--bordo); }
.btn--line { border-color: var(--bordo); color: var(--bordo); background: transparent; }
.btn--ghost { border-color: rgb(255 255 255 / .6); color: #fff; }
.btn--block { display: flex; width: 100%; }
.text-link { font-weight: 600; display: inline-flex; align-items: center; min-height: 44px; }

/* Üst bölüm */
.site-header { background: var(--bordo); color: #fff; position: relative; z-index: 60; }
.topline { background: var(--bordo-deep); font-size: .9rem; }
.topline__in { display: flex; justify-content: space-between; gap: 1.5rem; }
.topline__group { display: flex; flex-wrap: wrap; gap: 0 1.5rem; margin: 0; }
.topline a { color: #fff; text-decoration: none; display: inline-flex; align-items: center; gap: .4rem; min-height: 38px; }
.bar { display: flex; align-items: center; gap: 1rem; min-height: var(--bar-h); }
.brand { margin-right: auto; }
.brand__text { display: flex; flex-direction: column; color: #fff; text-decoration: none; font: 600 1.28rem/1.12 var(--serif); letter-spacing: -.01em; min-height: 44px; justify-content: center; }
.brand__text span:last-child { font-weight: 400; }
.brand .custom-logo { max-height: 52px; width: auto; }
.burger { display: none; }
.nav ul { list-style: none; margin: 0; padding: 0; }
.nav .menu-cta { display: none; }
.nav a { text-decoration: none; }

@media (min-width: 1100px) {
	.nav > ul { display: flex; align-items: center; gap: .15rem; }
	.nav > ul > li { position: relative; display: flex; align-items: center; }
	.nav > ul > li > a { color: #fff; font-weight: 500; font-size: 1rem; padding: .75rem .7rem; border-radius: var(--radius); min-height: 44px; display: inline-flex; align-items: center; }
	.nav > ul > li.current-menu-item > a, .nav > ul > li.current-menu-ancestor > a, .nav > ul > li.current-menu-parent > a { box-shadow: inset 0 -2px 0 #fff; border-radius: var(--radius) var(--radius) 0 0; }
	.nav .menu-item-has-children > a { padding-right: .1rem; }
	.sub-toggle { width: 28px; height: 44px; padding: 0; background: none; border: 0; color: #fff; cursor: pointer; display: grid; place-items: center; }
	.sub-toggle .icon { transition: transform 180ms var(--ease-out); }
	.sub-toggle[aria-expanded="true"] .icon { transform: rotate(180deg); }
	/* Açık renkli açılır menü */
	.nav .sub-menu { position: absolute; top: 100%; left: 0; min-width: 18rem; background: #fff; padding: .4rem; border: 1px solid var(--line); border-radius: 10px; box-shadow: 0 18px 40px -18px rgb(40 0 8 / .35); opacity: 0; visibility: hidden; transform: translateY(-6px) scale(.98); transform-origin: 2rem top; transition: opacity 180ms var(--ease-out), transform 180ms var(--ease-out), visibility 0s 180ms; }
	.nav li.is-open > .sub-menu { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
	.no-js .nav li:focus-within > .sub-menu { opacity: 1; visibility: visible; transform: none; }
	.no-js .sub-toggle { display: none; }
	.nav .sub-menu a { display: flex; align-items: center; min-height: 44px; padding: .55rem .8rem; color: var(--ink); border-radius: var(--radius); font-size: .98rem; }
	.nav .sub-menu .current-menu-item > a { background: var(--bordo-tint); color: var(--bordo); font-weight: 600; }
	.nav .sub-menu a:focus-visible { outline-color: var(--bordo); outline-offset: -3px; }
}

@media (max-width: 1099.98px) {
	:root { --bar-h: 4rem; }
	.topline { display: none; }
	.bar__cta { min-height: 44px; padding: .5rem .9rem; }
	.burger { display: grid; place-items: center; width: 44px; height: 44px; padding: 0; background: transparent; border: 1.5px solid rgb(255 255 255 / .55); border-radius: var(--radius); color: #fff; cursor: pointer; }
	.burger .icon { width: 1.4rem; height: 1.4rem; }
	.burger__close, .burger[aria-expanded="true"] .burger__open { display: none; }
	.burger[aria-expanded="true"] .burger__close { display: block; }
	.js .burger__open { line-height: 0; }
	.no-js .burger { display: none; }
	.no-js .bar { flex-wrap: wrap; }
	.no-js .nav { width: 100%; }
	.nav { background: #fff; color: var(--ink); }
	.js .nav { position: absolute; left: 0; right: 0; top: 100%; max-height: calc(100dvh - var(--bar-h)); overflow-y: auto; overscroll-behavior: contain; padding: .5rem var(--gutter) calc(1.5rem + 4.5rem + env(safe-area-inset-bottom, 0px)); box-shadow: 0 24px 40px -20px rgb(30 0 6 / .45); opacity: 0; visibility: hidden; transform: translateY(-8px); transition: opacity 200ms var(--ease-out), transform 200ms var(--ease-out), visibility 0s 200ms; }
	.js .nav.is-open { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
	.nav > ul > li { display: grid; grid-template-columns: 1fr auto; border-bottom: 1px solid var(--line); }
	.nav a { display: flex; align-items: center; min-height: 52px; color: var(--ink); font-weight: 600; }
	.nav .current-menu-item > a { color: var(--bordo); }
	.sub-toggle { width: 52px; min-height: 52px; background: none; border: 0; color: var(--bordo); cursor: pointer; display: grid; place-items: center; }
	.sub-toggle .icon { width: 1.35rem; height: 1.35rem; transition: transform 200ms var(--ease-out); }
	.sub-toggle[aria-expanded="true"] .icon { transform: rotate(180deg); }
	.nav .sub-menu { grid-column: 1 / -1; background: var(--bordo-tint); border-radius: var(--radius); margin-bottom: .6rem; padding: .25rem .9rem; }
	.js .nav .sub-menu { display: none; }
	.js .nav li.is-open > .sub-menu { display: block; }
	.nav .sub-menu a { min-height: 48px; font-weight: 500; }
	.sub-toggle:focus-visible, .nav a:focus-visible { outline-color: var(--bordo); outline-offset: -3px; }
}
@media (max-width: 380px) {
	.brand__text { font-size: 1.08rem; }
	.bar { gap: .6rem; }
}

/* Anasayfa kapak: fotoğraf, soldan bordo perde, bölüm seçici */
.hero { position: relative; isolation: isolate; z-index: 5; display: flex; align-items: center; min-height: min(44rem, calc(100svh - 7.5rem)); background: var(--bordo-deep); color: #fff; }
.hero__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgb(48 0 10 / .94) 0%, rgb(66 0 14 / .82) 45%, rgb(66 0 14 / .38) 78%, rgb(66 0 14 / .24) 100%); }
.hero__in { padding-block: clamp(2.5rem, 6vw, 5rem); }
.hero h1 { max-width: 13ch; font-size: clamp(2.6rem, 1.2rem + 5.6vw, 5.25rem); font-weight: 700; line-height: 1.04; margin-bottom: .3em; }
.hero p { max-width: 36rem; font-size: 1.2rem; }
.quick { display: grid; gap: .85rem; margin-top: 1.75rem; max-width: 60rem; padding: 1rem; background: #fff; color: var(--ink); border-radius: 14px; box-shadow: 0 28px 60px -28px rgb(20 0 4 / .7); }
.quick .field { min-width: 0; }
.quick .field label { margin-bottom: .2rem; }
.quick .ui-select__value { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; min-width: 0; }
.quick :focus-visible { outline-color: var(--bordo); }
@media (min-width: 860px) { .quick { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) auto; align-items: end; padding: 1.1rem 1.25rem 1.25rem; } }
.hero__actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.25rem; }
.hero__actions .btn { min-width: 11rem; }

/* Soru şeridi */
.help { background: #2a0a10; color: #fff; padding-block: 1.5rem; }
.help__in { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem 2.5rem; }
.help h2 { font-size: 1.5rem; margin: 0 0 .15rem; }
.help p { margin: 0; color: #ead9dc; font-size: 1rem; max-width: 34rem; }
.help__actions { display: flex; flex-wrap: wrap; gap: .75rem; }
.help__item { display: flex; align-items: center; gap: .85rem; min-height: 64px; min-width: 15rem; padding: .6rem 1.1rem; color: #fff; text-decoration: none; border: 1px solid rgb(255 255 255 / .28); border-radius: 10px; transition: background-color 180ms ease, transform 140ms var(--ease-out); }
.help__item:active { transform: scale(.98); }
.help__item .icon { width: 1.5rem; height: 1.5rem; }
.help__item span span { display: block; font-size: .85rem; color: #ead9dc; }
.help__item strong { font-size: 1.12rem; }
.help :focus-visible { outline-color: #fff; }

/* Fakülte kartları */
.cards { list-style: none; margin: 0; padding: 0; display: grid; gap: 1.25rem; grid-template-columns: repeat(auto-fill, minmax(min(100%, 16.5rem), 1fr)); }
.card__link { display: flex; flex-direction: column; height: 100%; overflow: hidden; background: #fff; border: 1px solid var(--line); border-radius: 12px; color: var(--ink); text-decoration: none; transition: box-shadow 220ms ease, border-color 220ms ease, transform 140ms var(--ease-out); }
.card__link:active { transform: scale(.985); }
.card__media { display: block; aspect-ratio: 16 / 10; overflow: hidden; }
.card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 300ms var(--ease-out); }
.card__media--icon { display: grid; place-items: center; color: #fff; background: radial-gradient(120% 110% at 100% 0%, color-mix(in srgb, var(--bordo) 82%, #fff) 0%, var(--bordo) 42%, var(--bordo-deep) 100%); }
.card__media--icon .icon { width: 3.5rem; height: 3.5rem; stroke-width: 1.5; }
.card__body { display: flex; flex-direction: column; flex: 1; gap: .6rem; padding: 1rem 1.1rem 1.1rem; }
.card__name { font-size: 1.18rem; margin: 0; }
.card__meta { display: inline-flex; align-items: center; gap: .35rem; margin-top: auto; font-size: .92rem; font-weight: 600; color: var(--bordo); }
.center { margin: 2rem 0 0; text-align: center; }
@media (max-width: 559.98px) {
	/* Telefonda yatay kart: sekiz birim kısa bir listede taranır. */
	.cards { gap: .7rem; }
	.card__link { flex-direction: row; }
	.card__media { flex: 0 0 6.25rem; aspect-ratio: auto; min-height: 6.25rem; position: relative; }
	.card__media img { position: absolute; inset: 0; }
	.card__media--icon .icon { width: 2.25rem; height: 2.25rem; }
	.card__body { gap: .3rem; padding: .75rem .9rem; justify-content: center; }
	.card__name { font-size: 1.05rem; }
	.card__meta { margin-top: 0; }
}

/* Rakam şeridi */
.stats { background: var(--bordo); color: #fff; padding-block: clamp(2rem, 4vw, 3rem); }
.stats__in { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.5rem; margin-block: 0; text-align: center; }
.stats__in div { display: flex; flex-direction: column-reverse; }
.stats dt { font-size: 1rem; color: #f4e3e6; }
.stats dd { margin: 0; font: 700 clamp(2.25rem, 1.4rem + 2.8vw, 3.25rem)/1.1 var(--serif); font-variant-numeric: lining-nums tabular-nums; }
@media (min-width: 760px) { .stats__in { grid-template-columns: repeat(auto-fit, minmax(10rem, 1fr)); } .stats__in div + div { border-left: 1px solid rgb(255 255 255 / .22); } }

/* Bölüm düzenleri */
.section { padding-block: var(--space); }
.section--tight { padding-block: clamp(1.25rem, 3vw, 2rem) var(--space); }
.section--white { background: var(--white); }
.section--tint { background: var(--bordo-tint); }
.section-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: .5rem 2rem; margin-bottom: 2rem; }
.section-head h2, .section-head p { margin: 0; }
.section-head--stack { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); align-items: start; }
.split { display: grid; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.split__media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius); }
.stack-actions { display: flex; flex-wrap: wrap; gap: .75rem; }
@media (min-width: 900px) {
	.split--about { grid-template-columns: 1fr 1.05fr; }
	.split--steps { grid-template-columns: .85fr 1.15fr; align-items: start; }
	.split--faq { grid-template-columns: .7fr 1.3fr; align-items: start; }
}
@media (max-width: 699.98px) { .section-head--stack { grid-template-columns: 1fr; } }

/* Rektör: fotoğraf ve metin yan yana */
.rector { display: grid; gap: clamp(1.5rem, 4vw, 4rem); align-items: center; }
.rector__photo img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--radius); }
.rector__photo--empty { aspect-ratio: 4 / 5; display: grid; place-items: center; background: var(--bordo-tint); border: 1px solid var(--bordo-line); border-radius: var(--radius); color: var(--bordo); }
.rector__photo--empty .icon { width: 4.5rem; height: 4.5rem; stroke-width: 1.25; }
.rector__quote { margin: 0 0 1.25rem; font: 400 1.3rem/1.55 var(--serif); }
.rector__name { display: flex; flex-direction: column; }
.rector__name strong { font: 600 1.15rem var(--serif); }
.rector__name span { color: var(--muted); font-size: .95rem; }
.rector__photo--empty, .rector__photo { width: 100%; max-width: 20rem; }
@media (min-width: 700px) {
	.rector { grid-template-columns: minmax(12rem, 20rem) minmax(0, 40rem); }
	.rector--page { align-items: start; }
}
@media (max-width: 699.98px) { .rector__photo--empty { aspect-ratio: 5 / 3; max-width: none; } }

.unit-group { margin-top: 2.5rem; }
.section-head--center { display: block; text-align: center; max-width: 44rem; margin-inline: auto; }
.section-head.section-head--center p { margin-top: .5rem; color: var(--muted); }
.stack-actions--center { justify-content: center; margin-top: 2rem; }

/* Anasayfada başvuru adımları geniş ekranda yan yana (gerçek bir sıra) */
@media (min-width: 900px) {
	.home-steps .steps { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); gap: 1.25rem; margin: 0; }
	.home-steps .steps li { padding: 3.5rem 0 0; margin: 0; }
	.home-steps .steps li:not(:last-child)::after { left: 3rem; right: -.5rem; top: calc(1.125rem - .5px); bottom: auto; width: auto; height: 1px; }
}

/* Bölüm bulucu */
.finder__controls { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 13rem), 1fr)); align-items: end; background: var(--white); border: 1px solid var(--line); border-radius: 10px; padding: 1.1rem; }
.section--white .finder__controls { background: var(--cream); }
.field--search { grid-column: span 1; }
@media (min-width: 700px) { .field--search { grid-column: span 2; } }
.js .finder__submit { display: none; }
.finder__status { margin: 1.25rem 0 .25rem; font-weight: 600; font-size: .95rem; color: var(--muted); }
.prog-list { list-style: none; margin: 0; padding: 0; }
.prog { border-bottom: 1px solid var(--line); }
.prog__link { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: .35rem 1.5rem; align-items: center; padding: .95rem .75rem; color: var(--ink); text-decoration: none; transition: background-color 150ms ease; }
.prog__main { display: block; }
.prog__name { font-size: 1.18rem; margin: 0; letter-spacing: 0; }
.prog__unit { display: block; font-size: .92rem; color: var(--muted); }
.prog__facts { display: flex; flex-wrap: wrap; gap: .35rem; grid-column: 1; }
.prog__facts:empty { display: none; }
.prog__facts span { font-size: .82rem; line-height: 1.4; padding: .18rem .55rem; border: 1px solid var(--bordo-line); border-radius: 99px; color: var(--bordo); background: var(--white); }
.prog__go { grid-column: 2; grid-row: 1 / span 2; color: var(--bordo); width: 1.3rem; height: 1.3rem; }
@media (min-width: 900px) {
	.prog__link { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) auto; }
	.prog__facts { grid-column: 2; justify-content: flex-end; }
	.prog__facts:empty { display: flex; }
	.prog__go { grid-column: 3; grid-row: 1; }
}
.finder__empty { padding: 1.5rem 0; }
.finder__all { margin-top: 1.5rem; }

/* Form alanları */
.field label { display: block; font-weight: 600; font-size: .93rem; margin-bottom: .35rem; }
.field input:not([type="checkbox"]), .field textarea, .field select { width: 100%; min-height: 48px; padding: .65rem .8rem; font: 400 1rem/1.4 var(--sans); color: var(--ink); background-color: #fff; border: 1px solid var(--field-line); border-radius: var(--radius); }
.field textarea { min-height: 7.5rem; resize: vertical; }
.field input::placeholder { color: #76696c; opacity: 1; }
.field input:focus-visible, .field textarea:focus-visible, .field select:focus-visible { outline: 3px solid var(--bordo); outline-offset: 1px; }
input[type="search"]::-webkit-search-cancel-button { -webkit-appearance: none; appearance: none; }
.search-box { position: relative; display: block; }
.search-box .icon { position: absolute; left: .8rem; top: 50%; translate: 0 -50%; color: var(--muted); }
.field .search-box input { padding-left: 2.6rem; }
.table-search { max-width: 24rem; margin-bottom: 1.25rem; }

/* Özel açılır liste: gerçek select DOM'da gizli ama etkin kalır. */
.ui-select { position: relative; display: block; }
.ui-select select { position: absolute !important; inset: auto auto 0 0; width: 1px !important; height: 1px; min-height: 0 !important; padding: 0 !important; opacity: 0; pointer-events: none; }
.ui-select__button { width: 100%; min-height: 48px; display: flex; align-items: center; justify-content: space-between; gap: .75rem; padding: .6rem .8rem; background: #fff; border: 1px solid var(--field-line); border-radius: var(--radius); font: 400 1rem/1.35 var(--sans); color: var(--ink); text-align: left; cursor: pointer; }
.ui-select__button.is-placeholder .ui-select__value { color: #6d6063; }
.ui-select__button .icon { color: var(--bordo); transition: transform 180ms var(--ease-out); }
.ui-select__button[aria-expanded="true"] .icon { transform: rotate(180deg); }
.ui-select__list { position: absolute; z-index: 40; top: calc(100% + 6px); left: 0; right: 0; max-height: min(19rem, 55vh); overflow-y: auto; overscroll-behavior: contain; margin: 0; padding: .35rem; list-style: none; background: #fff; border: 1px solid var(--line); border-radius: 10px; box-shadow: 0 18px 40px -16px rgb(40 0 8 / .35); opacity: 0; visibility: hidden; transform: translateY(-6px) scale(.98); transform-origin: top center; transition: opacity 180ms var(--ease-out), transform 180ms var(--ease-out), visibility 0s 180ms; scrollbar-width: thin; scrollbar-color: var(--bordo-line) transparent; }
.ui-select.is-open .ui-select__list { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
.ui-select__option { display: flex; align-items: center; justify-content: space-between; gap: .75rem; min-height: 44px; padding: .55rem .7rem; border-radius: var(--radius); cursor: pointer; line-height: 1.35; }
.ui-select__option.is-placeholder { color: #6d6063; }
.ui-select__option .icon { color: var(--bordo); visibility: hidden; }
.ui-select__option[aria-selected="true"] { background: var(--bordo-tint); font-weight: 600; }
.ui-select__option[aria-selected="true"] .icon { visibility: visible; }
.ui-select__option.is-active { background: var(--bordo-tint); box-shadow: inset 0 0 0 1.5px var(--bordo-line); }
.ui-select, .ui-select__button { scroll-margin-bottom: 22rem; }

/* Ön başvuru formu (CF7) */
.apply { display: grid; gap: 2rem; align-items: start; }
@media (min-width: 980px) { .apply { grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: 3.5rem; } }
.apply__form { background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: clamp(1.1rem, 3vw, 2rem); }
.form-grid { display: grid; gap: 1.1rem; }
@media (min-width: 640px) { .form-grid { grid-template-columns: 1fr 1fr; } .field--wide { grid-column: 1 / -1; } }
.opt { font-weight: 400; color: var(--muted); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-note { margin: 1.25rem 0 .75rem; padding: .8rem 1rem; background: var(--bordo-tint); border: 1px solid var(--bordo-line); border-radius: var(--radius); }
.wpcf7-form-control-wrap { display: block; }
/* CF7 stilleri kapalı: ekran okuyucu özeti görsel olarak gizli, gizli alan kutusu çerçevesiz */
.wpcf7 .screen-reader-response { position: absolute; overflow: hidden; clip-path: inset(50%); width: 1px; height: 1px; white-space: nowrap; }
.wpcf7 .hidden-fields-container { display: none; }
.entry + .apply { margin-top: 2rem; }
.entry + .table-search, .entry + .finder { margin-top: 1.5rem; }
.wpcf7-not-valid-tip { display: block; margin-top: .35rem; color: #a3001c; font-size: .9rem; font-weight: 600; }
.wpcf7 .field input[aria-invalid="true"], .wpcf7 .field textarea[aria-invalid="true"], .wpcf7 .field .wpcf7-not-valid + .ui-select__button, .field .ui-select.has-error .ui-select__button { border: 2px solid #a3001c; }
.field--check .wpcf7-list-item { margin: 0; display: block; }
.field--check label { display: grid; grid-template-columns: 24px 1fr; gap: .75rem; align-items: start; font-weight: 400; font-size: .98rem; cursor: pointer; padding-block: .6rem; margin: 0; }
.field--check input[type="checkbox"] { -webkit-appearance: none; appearance: none; width: 24px; height: 24px; margin: 1px 0 0; border: 1.5px solid var(--field-line); border-radius: 4px; background: #fff center / 18px no-repeat; cursor: pointer; transition: background-color 120ms ease, border-color 120ms ease; }
.field--check input[type="checkbox"]:checked { background-color: var(--bordo); border-color: var(--bordo); background-image: url("../icons/check-white.svg"); }
.field--check .wpcf7-not-valid-tip { margin-left: calc(24px + .75rem); }
.form-actions { margin-top: .75rem; position: relative; }
.form-actions .wpcf7-submit { min-width: 15rem; }
.wpcf7-submit:disabled { opacity: .6; cursor: not-allowed; }
.wpcf7-spinner { display: none; }
.wpcf7-form.submitting .wpcf7-submit { opacity: .7; pointer-events: none; }
.wpcf7-form.submitting .wpcf7-spinner { display: inline-block; vertical-align: middle; width: 22px; height: 22px; margin-left: .75rem; border: 2.5px solid var(--bordo-line); border-top-color: var(--bordo); border-radius: 50%; animation: spin .7s linear infinite; }
@keyframes spin { to { transform: rotate(1turn); } }
.wpcf7-response-output { margin-top: 1rem; padding: .85rem 1rem; border-radius: var(--radius); border: 1.5px solid; font-weight: 600; }
.wpcf7-form.init .wpcf7-response-output, .wpcf7-form.resetting .wpcf7-response-output { display: none; }
.wpcf7-form.sent .wpcf7-response-output { color: #14582c; background: #eaf6ee; border-color: #2f7d4a; }
.wpcf7-form.invalid .wpcf7-response-output, .wpcf7-form.unaccepted .wpcf7-response-output, .wpcf7-form.failed .wpcf7-response-output, .wpcf7-form.aborted .wpcf7-response-output, .wpcf7-form.spam .wpcf7-response-output, .wpcf7-form.payment-required .wpcf7-response-output { color: #8d0019; background: #fdeef0; border-color: #a3001c; }
.screen-reader-response { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.apply__aside .btn { margin-bottom: .5rem; }

/* Başvuru adımları (gerçek bir sıra) */
.steps { list-style: none; margin: 0 0 1.5rem; padding: 0; counter-reset: step; }
.steps li { counter-increment: step; position: relative; padding: 0 0 1.25rem 3.25rem; }
.steps li::before { content: counter(step); position: absolute; left: 0; top: 0; width: 2.25rem; height: 2.25rem; display: grid; place-items: center; border-radius: 50%; background: var(--bordo); color: #fff; font: 600 1rem var(--serif); }
.steps li:not(:last-child)::after { content: ""; position: absolute; left: calc(1.125rem - .5px); top: 2.5rem; bottom: .25rem; width: 1px; background: var(--bordo-line); }
.steps strong { font: 600 1.12rem/1.4 var(--serif); }

/* Kampüs yerleşimi */
.mosaic { display: grid; gap: .9rem; margin-bottom: 1rem; }
.mosaic figure { position: relative; }
.mosaic img { width: 100%; height: auto; object-fit: cover; aspect-ratio: 3 / 2; border-radius: var(--radius); }
.mosaic figcaption { font-size: .85rem; color: var(--muted); margin-top: .35rem; }
@media (min-width: 860px) {
	/* Sabit satır yüksekliği: görsellerin width/height nitelikleri ızgarayı uzatmasın */
	.mosaic { grid-template-columns: 1.7fr 1fr; grid-template-rows: repeat(2, clamp(220px, 22vw, 290px)); }
	.mosaic__1 { grid-row: span 2; }
	.mosaic figure { display: flex; flex-direction: column; min-height: 0; }
	.mosaic img { flex: 1 1 0; height: 0; min-height: 0; aspect-ratio: auto; }
}

/* Anasayfa galeri şeridi */
.strip { list-style: none; margin: 0; padding: 0 0 .5rem; display: grid; grid-auto-flow: column; grid-auto-columns: 74%; gap: .75rem; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: thin; scrollbar-color: var(--bordo-line) transparent; }
.strip li { scroll-snap-align: start; }
.strip a { display: block; overflow: hidden; border-radius: var(--radius); }
.strip img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
@media (min-width: 640px) { .strip { grid-auto-columns: 38%; } }
@media (min-width: 1000px) { .strip { grid-auto-flow: row; grid-template-columns: repeat(5, 1fr); overflow: visible; } }

/* SSS */
.faq details, .entry details { border-bottom: 1px solid var(--line); }
.faq summary, .entry summary { list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 1rem; min-height: 56px; padding: .8rem 0; font: 600 1.15rem/1.35 var(--serif); cursor: pointer; }
.faq summary::-webkit-details-marker, .entry summary::-webkit-details-marker { display: none; }
.faq summary::after, .entry summary::after { content: ""; flex: none; width: 20px; height: 20px; background: var(--bordo); -webkit-mask: url("../icons/chevron.svg") center / contain no-repeat; mask: url("../icons/chevron.svg") center / contain no-repeat; transition: transform 180ms var(--ease-out); }
.faq details[open] summary::after, .entry details[open] summary::after { transform: rotate(180deg); }
.faq details > p, .entry details > p { max-width: 42rem; color: var(--muted); }

/* Çağrı bandı */
.cta-band { background: var(--bordo); color: #fff; padding-block: clamp(2.5rem, 5vw, 3.75rem); }
.cta-band__in { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.5rem 3rem; }
.cta-band h2 { margin: 0 0 .25rem; max-width: 22ch; }
.cta-band p { margin: 0; }
.cta-band__actions { display: flex; flex-wrap: wrap; gap: .75rem; }

/* İç sayfalar: bordo başlık bandı */
.crumbs { padding-top: 1rem; font-size: .9rem; color: var(--muted); }
.page-band { background: linear-gradient(100deg, var(--bordo-deep), var(--bordo)); color: #fff; padding-bottom: clamp(1.5rem, 4vw, 2.75rem); }
.page-band .crumbs, .page-band .crumbs a, .page-band .crumbs span, .page-band .lead { color: #f4e3e6; }
.page-band :focus-visible { outline-color: #fff; }
.page-band + .section { padding-top: clamp(1.75rem, 4vw, 3rem); }
.page-band .page-head h1 { margin-bottom: 0; }
.page-band .page-head .lead { margin: .6rem 0 0; }
.crumbs p { margin: 0; display: flex; flex-wrap: wrap; align-items: center; column-gap: .15rem; }
.crumbs a { display: inline-flex; align-items: center; min-height: 32px; }
.crumbs .separator { margin-inline: .35rem; }
.page-head { padding-top: clamp(1rem, 3vw, 2rem); }
.page-head h1 { max-width: 24ch; margin-bottom: .25em; }
.entry { max-width: 46rem; }
.entry > *:last-child { margin-bottom: 0; }
.entry h2 { font-size: 1.6rem; margin-top: 1.8em; }
.entry li { margin-bottom: .35rem; }
.entry--gallery { max-width: none; }
.entry--gallery .wp-block-gallery { display: grid !important; grid-template-columns: repeat(auto-fill, minmax(min(100%, 19rem), 1fr)); gap: 1rem; }
.entry--gallery .wp-block-gallery figure.wp-block-image { width: 100% !important; margin: 0; display: block; }
.entry--gallery .wp-block-image img { width: 100% !important; height: auto !important; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius); flex: none; }
.entry--gallery .wp-block-image figcaption { position: static !important; background: none !important; color: var(--muted) !important; text-shadow: none !important; padding: .4rem 0 0 !important; font-size: .9rem !important; text-align: left !important; max-height: none !important; mask: none !important; -webkit-mask: none !important; overflow: visible !important; }

.detail { display: grid; gap: 2.5rem; align-items: start; }
.detail__main > section { margin-top: 2.5rem; }
.detail__main > section:first-child { margin-top: 0; }
.detail__main h2 { font-size: 1.55rem; }
.detail__image { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: var(--radius); margin-bottom: 1.5rem; }
.detail__aside { background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 1.25rem; }
.detail__aside p:last-child { margin-bottom: 0; }
@media (max-width: 979.98px) { .detail__aside { order: -1; } }
@media (min-width: 980px) { .detail { grid-template-columns: minmax(0, 1fr) 21rem; gap: 4rem; } .detail__aside { position: sticky; top: 1.25rem; } }
.facts { margin: 0 0 1.25rem; }
.facts div { padding: .6rem 0; border-bottom: 1px solid var(--line); }
.facts div:first-child { padding-top: 0; }
.facts dt { font-size: .86rem; color: var(--muted); }
.facts dd { margin: 0; font-weight: 600; overflow-wrap: anywhere; }
.facts dd .muted { font-weight: 400; }
.mk { font-family: var(--serif); }
.checks { list-style: none; margin: 0; padding: 0; max-width: 46rem; }
.checks li { display: grid; grid-template-columns: auto 1fr; gap: .7rem; padding: .4rem 0; }
.checks .icon { color: var(--bordo); margin-top: .25rem; }

/* Ücret tablosu */
.fees { width: 100%; border-collapse: collapse; background: #fff; border: 1px solid var(--line); font-size: .98rem; font-variant-numeric: tabular-nums; }
.fees th, .fees td { text-align: left; vertical-align: top; padding: .8rem .9rem; border-bottom: 1px solid var(--line); }
.fees thead th { background: var(--bordo); color: #fff; font-size: .9rem; font-weight: 600; }
.fees tbody th { font-weight: 600; }
.fees tbody th a { display: inline-block; }
.fees__unit { display: block; font-size: .85rem; font-weight: 400; color: var(--muted); }
.fees__amount { font-weight: 700; white-space: nowrap; }
.fees__pending a { display: inline-flex; align-items: center; min-height: 32px; font-weight: 600; }
.fees tr:target { background: var(--bordo-tint); }
.detail .fees, .detail .fees tbody, .detail .fees tr, .detail .fees th, .detail .fees td { display: block; }
.detail .fees thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.detail .fees td[data-label] { display: flex; justify-content: space-between; gap: 1rem; text-align: right; }
.detail .fees td[data-label]::before { content: attr(data-label); color: var(--muted); font-weight: 400; text-align: left; }
.detail .fees .fees__unit { white-space: normal; }
@media (max-width: 859.98px) {
	.fees { background: transparent; border: 0; }
	.fees, .fees tbody, .fees tr, .fees th, .fees td { display: block; }
	.fees thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
	.fees tr { background: #fff; border: 1px solid var(--line); border-radius: 10px; margin-bottom: .9rem; }
	.fees tbody tr > :last-child { border-bottom: 0; }
	.fees td[data-label] { display: flex; justify-content: space-between; gap: 1rem; text-align: right; }
	.fees td[data-label]::before { content: attr(data-label); color: var(--muted); font-weight: 400; text-align: left; }
	.fees td[data-label] .fees__unit { text-align: right; }
}

/* İletişim */
.contact-list { list-style: none; margin: 2rem 0 1rem; padding: 0; display: grid; gap: .9rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 17rem), 1fr)); }
.contact-list a { display: flex; align-items: center; gap: 1rem; height: 100%; min-height: 84px; padding: 1.1rem 1.25rem; background: #fff; border: 1px solid var(--line); border-radius: 10px; color: var(--ink); text-decoration: none; transition: background-color 180ms ease, transform 140ms var(--ease-out); }
.contact-list a:active { transform: scale(.98); }
.contact-list .icon { width: 1.6rem; height: 1.6rem; color: var(--bordo); }
.contact-list__label { display: block; font-size: .9rem; color: var(--muted); }
.contact-list strong { font: 600 1.2rem var(--serif); }
.official-note { display: grid; grid-template-columns: auto 1fr; gap: .6rem; font-size: .95rem; }
.official-note .icon { margin-top: .22rem; }
.address { margin-top: 2.5rem; }
.map { display: block; width: 100%; height: 420px; border: 0; border-radius: var(--radius); }
@media (max-width: 599.98px) { .map { height: 320px; } }
.form-fallback { padding: 1rem; border: 1px solid var(--bordo-line); border-radius: var(--radius); }

/* Alt bölüm */
.site-footer { background: #2a0a10; color: #f3e9ea; font-size: .97rem; }
.site-footer a { color: #fff; }
.footer-grid { display: grid; gap: 2rem; padding-block: 3rem 1.5rem; }
@media (min-width: 800px) { .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; gap: 3rem; } }
.footer-grid h2 { font-size: 1.1rem; margin-bottom: .5rem; }
.footer-grid ul { list-style: none; margin: 0; padding: 0; }
.footer-grid li a { display: inline-flex; align-items: center; min-height: 44px; text-decoration: none; }
.footer-brand { font: 600 1.4rem var(--serif); margin-bottom: .5rem; }
.credits { font-size: .8rem; color: #d5c3c6; padding-bottom: 1rem; margin-block: 0; }
.footer-bar { border-top: 1px solid rgb(255 255 255 / .16); }
.footer-bar__in { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .25rem 2rem; padding-block: .6rem; font-size: .9rem; }
.footer-bar p { margin: 0; }
.footer-bar a { display: inline-flex; align-items: center; min-height: 44px; text-decoration: none; }
.footer-legal { display: flex; gap: 1.25rem; }
.signature a { color: #e6d6d9; }

/* Yüzen düğmeler */
.fab { position: fixed; right: max(1rem, env(safe-area-inset-right)); bottom: calc(1rem + env(safe-area-inset-bottom, 0px)); z-index: 50; display: flex; flex-direction: column; align-items: center; gap: .65rem; pointer-events: none; translate: 0 calc(-1 * var(--fab-lift, 0px)); }
.fab > * { pointer-events: auto; display: grid; place-items: center; border: 0; border-radius: 50%; box-shadow: 0 8px 20px -8px rgb(0 0 0 / .45); cursor: pointer; }
.fab__wa { width: 56px; height: 56px; background: #128c7e; color: #fff; transition: transform 140ms var(--ease-out), background-color 180ms ease, box-shadow 180ms ease; }
.fab__wa .icon { width: 28px; height: 28px; }
.fab__top { width: 48px; height: 48px; background: #fff; color: var(--bordo); outline: 1px solid var(--bordo-line); outline-offset: -1px; opacity: 0; visibility: hidden; transform: translateY(8px); transition: opacity 200ms var(--ease-out), transform 200ms var(--ease-out), visibility 0s 200ms, background-color 180ms ease; }
.fab__top .icon { width: 22px; height: 22px; }
.fab__top.is-visible { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
.fab__wa:active, .fab__top.is-visible:active { transform: scale(.96); }
.fab > *:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; }

.mobile-bar { display: none; }
@media (max-width: 767.98px) {
	body { padding-bottom: calc(4rem + env(safe-area-inset-bottom, 0px)); }
	.site-footer { padding-bottom: 0; }
	.mobile-bar { position: fixed; inset: auto 0 0 0; z-index: 55; display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; background: #fff; border-top: 1px solid var(--line); padding: .35rem .5rem calc(.35rem + env(safe-area-inset-bottom, 0px)); gap: .4rem; box-shadow: 0 -10px 24px -18px rgb(0 0 0 / .4); }
	.mobile-bar a { display: flex; align-items: center; justify-content: center; gap: .4rem; min-height: 52px; border-radius: var(--radius); font-weight: 600; font-size: .95rem; color: var(--bordo); text-decoration: none; transition: transform 120ms var(--ease-out); }
	.mobile-bar a:active { transform: scale(.97); background: var(--bordo-tint); }
	.mobile-bar .mobile-bar__cta { background: var(--bordo); color: #fff; }
	.mobile-bar .mobile-bar__cta:active { background: var(--bordo-deep); }
	.mobile-bar a:focus-visible { outline-color: var(--ink); outline-offset: -3px; }
	.fab__wa { display: none; }
	.fab { bottom: calc(5rem + env(safe-area-inset-bottom, 0px)); }
	.hero { min-height: 0; }
	.hero::after { background: linear-gradient(to bottom, rgb(48 0 10 / .8), rgb(48 0 10 / .94)); }
	.help__item { flex: 1 1 100%; }
	.help__actions { width: 100%; }
	.hero__actions .btn, .cta-band__actions .btn { flex: 1 1 100%; }
	.cta-band__actions { width: 100%; }
}

/* Yumuşak hover: yalnız fare/trackpad */
@media (hover: hover) and (pointer: fine) {
	.btn--primary:hover { background: var(--bordo-deep); color: #fff; box-shadow: 0 8px 18px -10px rgb(60 0 10 / .55); }
	.btn--light:hover { background: color-mix(in srgb, var(--bordo) 9%, #fff); color: var(--bordo-deep); }
	.btn--line:hover { background: var(--bordo-tint); color: var(--bordo-deep); }
	.btn--ghost:hover { background: rgb(255 255 255 / .12); color: #fff; }
	.topline a:hover { text-decoration: underline; }
	.brand__text:hover { color: #fff; }
	.prog__link:hover { background: var(--bordo-tint); }
	.card__link:hover { border-color: var(--bordo-line); box-shadow: 0 16px 32px -22px rgb(60 0 10 / .55); color: var(--ink); }
	.card__link:hover .card__media img { transform: scale(1.03); }
	.help__item:hover { background: rgb(255 255 255 / .1); color: #fff; }
	.contact-list a:hover { background: var(--bordo-tint); }
	.ui-select__option:hover { background: var(--bordo-tint); }
	.sub-toggle:hover { background: color-mix(in srgb, currentColor 12%, transparent); border-radius: var(--radius); }
	.footer-grid li a:hover, .site-footer .footer-bar__in a:hover, .site-footer .official-note a:hover { color: #fff; text-decoration: underline; }
	.fab__wa:hover { background: #0f766a; box-shadow: 0 10px 24px -8px rgb(0 0 0 / .5); }
	.fab__top.is-visible:hover { background: var(--bordo-tint); }
	.strip a img { transition: opacity 180ms ease; }
	.strip a:hover img { opacity: .88; }
}
@media (hover: hover) and (pointer: fine) and (min-width: 1100px) {
	.nav > ul > li > a:hover { background: rgb(255 255 255 / .12); color: #fff; }
	.nav .sub-menu a:hover { background: var(--bordo-tint); color: var(--bordo); }
}
@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	*, *::before, *::after { transition-duration: .01ms !important; transition-delay: 0s !important; animation-duration: .01ms !important; }
	.nav .sub-menu, .ui-select__list, .js .nav, .fab__top { transform: none !important; }
	.wpcf7-form.submitting .wpcf7-spinner { animation-duration: 1.4s !important; }
}

@media print {
	.site-header .nav, .burger, .fab, .mobile-bar, .cta-band, .finder__controls { display: none !important; }
	body { background: #fff; padding: 0; }
}

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