/*
 * Site arayüzü — "genç ve renkli", WCAG 2.2 AA
 * Tüm renk çiftleri en az 4.5:1 kontrastla seçilmiştir. Modül rengi --mod değişkeniyle gelir
 * (admin panelinde beyaz yazıya karşı 4.5:1 kontrolünden geçer).
 */
:root {
    --ink: #1b2130;
    --muted: #4a5468;
    --bg: #fbf9f4;
    --surface: #ffffff;
    --brand: #0b1f3a;
    --accent: #c2410c;        /* beyaz yazıyla 5.2:1 */
    --accent-hover: #9a3412;
    --focus: #ffbf47;
    --radius: 1.25rem;
    --shadow: 0 1px 2px rgba(16, 24, 40, .06), 0 8px 24px rgba(16, 24, 40, .06);
    --mod: #146c43;
    --bs-body-color: var(--ink);
    --bs-body-bg: var(--bg);
    --bs-link-color: #0a58ca;
    --bs-link-color-rgb: 10, 88, 202;
    --bs-link-hover-color: #084298;
    --bs-secondary-color: var(--muted);
    --bs-body-font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

/* Bootstrap'in d-grid/d-flex gibi !important display sınıfları hidden özniteliğini ezmesin */
[hidden] { display: none !important; }

body { background: var(--bg); color: var(--ink); line-height: 1.6; }
h1, h2, h3, .h4, .h5 { font-weight: 800; letter-spacing: -.01em; }
code { color: #a61e4d; }

/* Odak halkası: her zaman görünür, açık ve koyu zeminde okunur (WCAG 2.4.7, 2.4.11) */
:focus-visible,
.btn:focus-visible,
.form-control:focus, .form-select:focus, .form-check-input:focus,
.nav-link:focus-visible {
    outline: 3px solid var(--ink) !important;
    outline-offset: 2px;
    box-shadow: 0 0 0 6px var(--focus) !important;
}
.skip-link {
    position: absolute; left: 1rem; top: .5rem; z-index: 3000;
    background: #fff; color: #000; padding: .75rem 1rem; border-radius: .5rem; font-weight: 700;
}
main:focus { outline: none; }

.icon { width: 1.15em; height: 1.15em; vertical-align: -.2em; flex-shrink: 0; }
.icon-sm { width: 1em; height: 1em; }
.icon-xl { width: 2.2rem; height: 2.2rem; }

/* Butonlar */
.btn { font-weight: 700; min-height: 2.75rem; display: inline-flex; align-items: center; justify-content: center; gap: .4rem; }
.btn-accent { --bs-btn-color: #fff; --bs-btn-bg: var(--accent); --bs-btn-border-color: var(--accent);
    --bs-btn-hover-color: #fff; --bs-btn-hover-bg: var(--accent-hover); --bs-btn-hover-border-color: var(--accent-hover);
    --bs-btn-active-color: #fff; --bs-btn-active-bg: #7c2d12; --bs-btn-active-border-color: #7c2d12; }
.btn-outline-danger { --bs-btn-color: #b02a37; --bs-btn-border-color: #b02a37; --bs-btn-hover-bg: #b02a37; --bs-btn-hover-border-color: #b02a37; }

/* Üst menü */
.site-header { background: var(--surface); border-bottom: 1px solid #ece7dc; position: sticky; top: 0; z-index: 1020; }
.site-header .navbar { padding-block: .6rem; }
.brand-text { font-weight: 800; color: var(--brand); font-size: 1.15rem; line-height: 1.2; }
.site-header .nav-link { font-weight: 700; color: var(--ink); border-radius: 999px; padding: .5rem .9rem !important; display: flex; align-items: center; gap: .35rem; }
.site-header .nav-link .icon { color: var(--mod); }
.site-header .nav-link:hover { background: color-mix(in srgb, var(--mod) 10%, white); }
.site-header .nav-link[aria-current="page"] { background: var(--mod); color: #fff; }
.site-header .nav-link[aria-current="page"] .icon { color: #fff; }

/* Hero: modül renklerinden oluşan renkli degrade */
.hero {
    color: #fff; padding: 4.5rem 0 5rem; position: relative; overflow: hidden;
    /* Arama önerileri hero'nun altına taşabilsin: yalnız yatay taşma kırpılır (clip kaydırma kabı oluşturmaz);
       desteklemeyen tarayıcı overflow: hidden'da kalır. Dairelerin üst/alt taşması kendi clip-path'leriyle kesilir. */
    overflow-x: clip; overflow-y: visible;
    background:
        radial-gradient(circle at 8% 18%, rgba(20, 108, 67, .95) 0, transparent 38%),
        radial-gradient(circle at 92% 22%, rgba(111, 66, 193, .9) 0, transparent 40%),
        radial-gradient(circle at 70% 115%, rgba(165, 40, 116, .9) 0, transparent 45%),
        radial-gradient(circle at 20% 120%, rgba(10, 88, 202, .9) 0, transparent 42%),
        var(--brand);
}
.hero::before, .hero::after { content: ""; position: absolute; border-radius: 50%; pointer-events: none; }
.hero::before { width: 18rem; height: 18rem; right: -4rem; top: -5rem; border: 2.5rem solid rgba(255, 191, 71, .25); clip-path: inset(5rem 0 0 0); }
.hero::after { width: 7rem; height: 7rem; left: 45%; bottom: -2.5rem; background: rgba(255, 255, 255, .08); clip-path: inset(0 0 2.5rem 0); }
.hero-search { position: relative; z-index: 5; }
.hero-kicker { display: inline-block; background: rgba(255, 255, 255, .14); border-radius: 999px; padding: .3rem .9rem; font-weight: 700; margin-bottom: 1rem; }
.hero-title { font-size: clamp(2.2rem, 5vw, 3.8rem); line-height: 1.08; font-weight: 900; margin-bottom: 1rem; }
.hero-lead { font-size: 1.2rem; max-width: 40rem; margin-bottom: 1.75rem; }

.section { padding-top: 3.5rem; }
.section-sm { padding-top: 2rem; }
.section-title { font-size: clamp(1.5rem, 3vw, 2rem); margin-bottom: 1.25rem; }

/* Modül kartları */
.module-card {
    position: relative; background: var(--mod); color: #fff; border-radius: var(--radius); padding: 1.5rem;
    box-shadow: var(--shadow); transition: transform .2s ease, box-shadow .2s ease; overflow: hidden;
}
.module-card::after { content: ""; position: absolute; right: -2rem; bottom: -2rem; width: 7rem; height: 7rem; border-radius: 50%; background: rgba(255, 255, 255, .12); }
.module-card:hover, .module-card:focus-within { transform: translateY(-4px); box-shadow: 0 16px 32px rgba(16, 24, 40, .16); }
.module-card-title { font-size: 1.5rem; margin: .75rem 0 .5rem; }
.module-card-title a { color: #fff; text-decoration: none; }
.module-card-title a:hover { text-decoration: underline; }
.module-card-count { font-weight: 700; display: flex; align-items: center; gap: .35rem; }
.module-icon { display: inline-grid; place-items: center; width: 3.5rem; height: 3.5rem; border-radius: 1rem; background: rgba(255, 255, 255, .18); color: #fff; }
.module-icon-lg { width: 4rem; height: 4rem; }

/* Sayfa başlık bandı */
.page-hero { background: var(--mod); color: #fff; padding: 1.5rem 0 2.25rem; position: relative; overflow: hidden; overflow-x: clip; overflow-y: visible; } /* .hero ile aynı: arama önerileri taşabilsin */
.page-hero::after { content: ""; position: absolute; right: -3rem; top: -3rem; width: 12rem; height: 12rem; border-radius: 50%; background: rgba(255, 255, 255, .1); clip-path: inset(3rem 0 0 0); pointer-events: none; }
.page-hero .site-search { z-index: 5; }
.page-hero .breadcrumb { --bs-breadcrumb-divider-color: rgba(255, 255, 255, .85); --bs-breadcrumb-item-active-color: #fff; }
.page-hero .breadcrumb a { color: #fff; }
.page-title { font-size: clamp(1.8rem, 4vw, 2.8rem); font-weight: 900; }
.page-title-sm { font-size: clamp(1.6rem, 3vw, 2.2rem); font-weight: 900; }
.page-lead { font-size: 1.15rem; max-width: 46rem; margin: .75rem 0 0; }
.hero-facts { display: flex; flex-wrap: wrap; gap: .5rem 1.25rem; margin: 1rem 0 0; font-weight: 700; }
.hero-facts li { display: flex; align-items: center; gap: .4rem; }

/* Çipler */
.chip { display: inline-block; border-radius: 999px; padding: .3rem .8rem; font-size: .85rem; font-weight: 700; }
.chip-mod { position: absolute; left: .75rem; top: .75rem; background: var(--cat, var(--mod)); color: #fff; box-shadow: 0 2px 6px rgba(0, 0, 0, .2); }

/* Etkinlik kartı */
.event-card { position: relative; background: var(--surface); border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; display: flex; flex-direction: column; transition: transform .2s ease, box-shadow .2s ease; border-top: 6px solid var(--cat, var(--mod)); }
.event-card:hover, .event-card:focus-within { transform: translateY(-4px); box-shadow: 0 16px 32px rgba(16, 24, 40, .14); }
.event-card-media { position: relative; aspect-ratio: 16 / 9; background: color-mix(in srgb, var(--mod) 14%, white); }
.event-card-media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.event-card-placeholder { width: 100%; height: 100%; display: grid; place-items: center; color: var(--mod); }
.event-card-placeholder .icon { width: 4rem; height: 4rem; opacity: .7; }
.event-card-body { padding: 1.1rem 1.25rem 1.25rem; display: flex; flex-direction: column; gap: .6rem; flex: 1; }
.event-card-title { font-size: 1.2rem; margin: 0; }
.event-card-title a { color: var(--ink); text-decoration: none; }
.event-card-title a:hover { text-decoration: underline; }
.meta-list { list-style: none; padding: 0; margin: 0; color: var(--muted); font-size: .95rem; }
.meta-list li { display: flex; align-items: center; gap: .45rem; }
.event-card .status-pill { margin-top: auto; }

/* Durum rozetleri (metin + renk; renk tek başına bilgi taşımaz) */
.status-pill { border-radius: .75rem; padding: .45rem .8rem; font-weight: 800; font-size: .95rem; }
.tone-success { background: #d1f0dd; color: #0f5132; }
.tone-warning { background: #fff0c2; color: #664d03; }
.tone-danger  { background: #fbd5d9; color: #842029; }
.tone-info    { background: #d7e8ff; color: #084298; }
.tone-muted   { background: #e9ecef; color: #343a40; }

/* Etkinlik arama kutusu (üst menü, ana sayfa hero'su, /ara) ve öneri listesi (search.js) */
.site-search { position: relative; }
.site-search-field { position: relative; display: flex; align-items: center; }
.site-search-icon { position: absolute; left: .9rem; color: var(--muted); pointer-events: none; }
.site-search .form-control { padding-left: 2.5rem; border-radius: 999px; }
.site-search-btn { position: absolute; right: .3rem; min-height: 0; height: calc(100% - .6rem); padding: 0 1rem; border-radius: 999px;
    --bs-btn-color: #fff; --bs-btn-bg: var(--accent); --bs-btn-border-color: var(--accent);
    --bs-btn-hover-color: #fff; --bs-btn-hover-bg: var(--accent-hover); --bs-btn-hover-border-color: var(--accent-hover); }
.site-search .form-control::-webkit-search-cancel-button { display: none; } /* Ara düğmesiyle çakışmasın */
.site-search-nav { width: 15rem; }
.site-search-nav .form-control { min-height: 2.6rem; padding-right: 3rem; }
.site-search-nav .site-search-btn { padding: 0 .7rem; }
.site-search-page .form-control { padding-right: 5rem; }
.site-search-hero { max-width: 40rem; }
.site-search-hero .form-control { min-height: 3.5rem; font-size: 1.1rem; padding-right: 6rem; border: 0; box-shadow: 0 8px 24px rgba(0, 0, 0, .18); }
.site-search-hero .site-search-btn { padding: 0 1.4rem; font-size: 1.05rem; }
.site-search-toggle { min-width: 2.75rem; border-radius: 999px; border: 1px solid #c9cfd8; color: var(--ink); }
.site-search-list { position: absolute; top: calc(100% + .35rem); left: 0; right: 0; z-index: 1030; margin: 0; padding: .35rem; list-style: none;
    background: var(--surface); color: var(--ink); border-radius: 1rem; box-shadow: 0 12px 32px rgba(16, 24, 40, .18); max-height: 24rem; overflow-y: auto; text-align: left; }
.site-search-nav .site-search-list { left: auto; width: 24rem; max-width: calc(100vw - 2rem); }
.site-search-list [role="option"] { display: flex; flex-direction: column; padding: .55rem .8rem; border-radius: .7rem; cursor: pointer; }
.site-search-list [role="option"]:hover, .site-search-list [aria-selected="true"] { background: #eef2f7; outline: 2px solid var(--ink); outline-offset: -2px; }
.site-search-title { font-weight: 700; line-height: 1.3; }
.site-search-meta { font-size: .875rem; color: var(--muted); }
.site-search-all { border-top: 1px solid #ece7dc; margin-top: .25rem; }
.site-search-all .site-search-title { color: #0a58ca; }
.site-search-empty { padding: .6rem .8rem; color: var(--muted); }
.site-search-list.is-past::before { content: "Güncel etkinlik yok · geçmiş etkinlikler"; display: block; padding: .45rem .8rem .35rem; font-size: .8rem; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: .03em; }

/* Filtre ve görünüm geçişi */
.filter-bar { background: var(--surface); border-radius: var(--radius); padding: 1rem 1.25rem; box-shadow: var(--shadow); margin-bottom: 1.25rem; }
.view-switch { display: inline-flex; background: var(--surface); border-radius: 999px; padding: .25rem; box-shadow: var(--shadow); }
.view-switch a { display: inline-flex; align-items: center; gap: .35rem; padding: .45rem 1rem; border-radius: 999px; font-weight: 700; color: var(--ink); text-decoration: none; min-height: 2.5rem; }
.view-switch a[aria-current="page"] { background: var(--ink); color: #fff; }
.count-pill { display: inline-block; min-width: 1.6rem; padding: 0 .45rem; border-radius: 999px; background: #e9e4d8; color: var(--ink); font-size: .85rem; text-align: center; }
.view-switch a[aria-current="page"] .count-pill { background: #fff; color: var(--ink); }
#results[aria-busy="true"] { opacity: .6; transition: opacity .15s; }
.empty-box, .how-box { background: var(--surface); border-radius: var(--radius); padding: 2rem; box-shadow: var(--shadow); }
.how-steps { counter-reset: step; list-style: none; padding: 0; display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr)); margin: 0; }
.how-steps li { counter-increment: step; position: relative; padding-left: 3.25rem; }
.how-steps li::before { content: counter(step); position: absolute; left: 0; top: -.2rem; width: 2.5rem; height: 2.5rem; border-radius: 50%; background: var(--accent); color: #fff; display: grid; place-items: center; font-weight: 900; }

/* Etkinlik detay */
.event-image { width: 100%; height: auto; border-radius: var(--radius); margin-bottom: 1.5rem; box-shadow: var(--shadow); }
.content-block { background: var(--surface); border-radius: var(--radius); padding: 1.5rem; box-shadow: var(--shadow); margin-bottom: 1.25rem; }
.content-block h2 { font-size: 1.35rem; margin-bottom: .75rem; }
.rich-text h2 { font-size: 1.3rem; margin-top: 1.25rem; }
.rich-text h3 { font-size: 1.15rem; margin-top: 1rem; }
.rich-text img { max-width: 100%; height: auto; }
.check-list { list-style: none; padding: 0; margin: 0; display: grid; gap: .4rem; }
.check-list .icon { color: #146c43; }
.apply-card { background: var(--surface); border-radius: var(--radius); padding: 1.5rem; box-shadow: var(--shadow); border-top: 6px solid var(--mod); position: sticky; top: 6rem; }
.apply-facts { margin: 1rem 0; }
.apply-facts div { display: flex; justify-content: space-between; gap: 1rem; padding: .45rem 0; border-bottom: 1px dashed #d9d3c6; }
.apply-facts dt { font-weight: 600; color: var(--muted); }
.apply-facts dd { margin: 0; font-weight: 800; text-align: right; }

/* Başvuru açılışına geri sayım (countdown.js): modül renginde kutular; beyaz yazı --mod ile 4.5:1 */
.countdown { margin: 1rem 0 0; }
.countdown-title { margin: 0 0 .5rem; font-weight: 700; color: var(--muted); font-size: .9rem; }
.countdown-units { display: flex; gap: .5rem; }
.cd-unit { flex: 1 1 0; display: flex; flex-direction: column; align-items: center; padding: .6rem .25rem .5rem; border-radius: .9rem; background: var(--mod); color: #fff; }
.cd-unit b { font-size: clamp(1.4rem, 5vw, 1.9rem); font-weight: 800; line-height: 1.1; font-variant-numeric: tabular-nums; }
.cd-unit small { font-size: .75rem; font-weight: 600; text-transform: uppercase; letter-spacing: .04em; }
.countdown.is-soon .cd-unit { background: var(--accent); animation: cd-pulse 1s ease-in-out infinite; }
@keyframes cd-pulse { 50% { transform: scale(1.04); } }
@media (prefers-reduced-motion: reduce) { .countdown.is-soon .cd-unit { animation: none; } }
.apply-note { background: #fff7e6; border-radius: .75rem; padding: .6rem .8rem; }
.preview-bar { background: #fff0c2; color: #664d03; text-align: center; font-weight: 700; padding: .5rem; }

/* Başvuru formu */
.apply-wrap { max-width: 760px; }
.form-card { background: var(--surface); border-radius: var(--radius); padding: clamp(1.25rem, 3vw, 2rem); box-shadow: var(--shadow); }
.form-control, .form-select { min-height: 2.9rem; border-color: #8a93a3; }
/* Doğum tarihi: gün / ay / yıl seçim kutuları (Form::dateParts) */
.date-parts-row { display: flex; flex-wrap: wrap; gap: .75rem; }
.date-parts .form-select { font-variant-numeric: tabular-nums; }
.date-part-d { width: 6rem; }
.date-part-m { width: 9rem; }
.date-part-y { width: 7rem; }
.form-check-input { width: 1.35em; height: 1.35em; border-color: #6c757d; }
.form-check-label { padding-left: .25rem; }
.person-box { background: color-mix(in srgb, var(--mod) 8%, white); border-left: 6px solid var(--mod); border-radius: .75rem; padding: 1rem 1.25rem; }
.consent-box { border: 1px solid #d9d3c6; border-radius: .75rem; padding: 1rem 1rem .25rem; }
.consent-box summary { font-weight: 700; cursor: pointer; margin-bottom: .5rem; }
.consent-box .rich-text { max-height: 18rem; overflow: auto; padding-right: .5rem; }
.captcha-box { background: #f6f3ec; border-radius: .75rem; padding: 1rem; }
.hp-field { position: absolute !important; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.steps { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; }
.steps li { display: flex; align-items: center; gap: .5rem; font-weight: 700; color: var(--muted); }
.step-no { width: 2rem; height: 2rem; border-radius: 50%; display: grid; place-items: center; border: 2px solid currentColor; }
.steps li.current { color: var(--ink); }
.steps li.current .step-no { background: var(--accent); border-color: var(--accent); color: #fff; }
.steps li.done .step-no { background: #146c43; border-color: #146c43; color: #fff; }
.result-card { text-align: left; border-top: 6px solid #146c43; }
.result-card.tone-warning { border-top-color: #b58105; background: var(--surface); color: var(--ink); }
.result-card.tone-success { background: var(--surface); color: var(--ink); }
.result-icon { display: inline-grid; place-items: center; width: 4rem; height: 4rem; border-radius: 50%; background: #d1f0dd; color: #0f5132; margin-bottom: 1rem; }
.result-card.tone-warning .result-icon { background: #fff0c2; color: #664d03; }

/* Başvurularım */
.my-list { display: grid; gap: 1rem; }
.my-item { display: flex; flex-wrap: wrap; gap: 1rem; align-items: center; background: var(--surface); border-radius: var(--radius); padding: 1.25rem; box-shadow: var(--shadow); border-left: 6px solid var(--mod); }

/* Takvim */
.calendar-box { background: var(--surface); border-radius: var(--radius); padding: 1rem; box-shadow: var(--shadow); min-height: 30rem; }
.fc .fc-button-primary { background: var(--ink); border-color: var(--ink); }
.fc .fc-toolbar-title { font-size: 1.3rem; font-weight: 800; }
.fc a { color: inherit; text-decoration: none; }
.fc a.fc-event:hover .fc-event-title, .fc a.fc-list-event-title:hover { text-decoration: underline; }
/* FullCalendar diğer ayın günlerini %30 opaklıkla gösteriyor (1.9:1); okunur gri (5.9:1) */
.fc .fc-day-other .fc-daygrid-day-top { opacity: 1; color: #5f6673; }
.fc .fc-button:disabled { opacity: 1; background: #5f6673; border-color: #5f6673; }

.pagination { --bs-pagination-color: var(--ink); --bs-pagination-active-bg: var(--ink); --bs-pagination-active-border-color: var(--ink); }
.pagination .page-link { min-width: 2.75rem; min-height: 2.75rem; display: flex; align-items: center; justify-content: center; }

/* Alt bilgi */
.site-footer { background: var(--brand); color: #dfe6f1; }
.site-footer a { color: #fff; text-decoration: underline; text-underline-offset: .2em; }
.site-footer li { margin-bottom: .35rem; }
.site-footer .social-links a { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border: 1px solid rgba(255,255,255,.55); border-radius: 50%; text-decoration: none; }
.site-footer .social-links a:hover, .site-footer .social-links a:focus-visible { background: rgba(255,255,255,.15); }
.site-footer .social-links .icon { width: 22px; height: 22px; }
.error-code { color: var(--accent); }

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
    .module-card:hover, .event-card:hover { transform: none; }
}

/* Kart içindeki harita bağlantısı: kartın tamamını kaplayan bağlantının üstünde kalsın */
.event-card .map-link { position: relative; z-index: 2; font-weight: 700; margin-left: .25rem; }
.page-hero a.text-white { text-decoration: underline; text-underline-offset: .2em; }

/* Modül / kategori sayfası hero görseli (modül ve kategori formlarından yüklenir) */
.page-hero-media { padding-bottom: 2rem; }
.page-hero-image { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 1rem; box-shadow: 0 .75rem 2rem rgba(0, 0, 0, .25); position: relative; z-index: 1; }

/* Medya slider'ı (modül sayfası: 21:9 / mobil 4:3, etkinlik: 16:9) */
.media-slider-wrap { margin-top: 1.5rem; }
.media-slider { position: relative; }
.slider-track { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; border-radius: 1rem; background: #0f172a; box-shadow: 0 .5rem 1.5rem rgba(15, 23, 42, .15); scrollbar-width: thin; }
.media-slider.is-enhanced .slider-track { scrollbar-width: none; }
.media-slider.is-enhanced .slider-track::-webkit-scrollbar { display: none; }
.slider-track:focus-visible { outline: 3px solid var(--mod, #0a58ca); outline-offset: 3px; }
.slide { flex: 0 0 100%; scroll-snap-align: start; position: relative; }
.slide-media { position: relative; aspect-ratio: 16 / 9; overflow: hidden; }
.media-slider--wide .slide-media { aspect-ratio: 4 / 3; }
@media (min-width: 768px) { .media-slider--wide .slide-media { aspect-ratio: 21 / 9; } }
.slide-media > img, .slide-video, .slide-video > img, .slide-video > iframe { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; border: 0; }
/* Etkinlik detayı: afiş/kare görsel kırpılmadan sığar; kalan boşluk aynı görselin bulanık kopyasıyla dolar (çerçeve 16:9 kalır) */
.media-slider--video .slide-media > .slide-main { object-fit: contain; }
.slide-media > .slide-bg { inset: -5%; width: 110%; height: 110%; filter: blur(24px) brightness(.8); }
.slide-video { background: radial-gradient(circle at 50% 40%, #334155, #0f172a); }
.slide-play { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .5rem; color: #fff; text-decoration: none; font-weight: 800; background: linear-gradient(transparent 40%, rgba(0, 0, 0, .45)); }
.slide-play-icon { display: flex; align-items: center; justify-content: center; width: 4.5rem; height: 4.5rem; border-radius: 50%; background: #c4302b; box-shadow: 0 .5rem 1rem rgba(0, 0, 0, .35); transition: transform .15s; }
.slide-play:hover .slide-play-icon, .slide-play:focus-visible .slide-play-icon { transform: scale(1.08); }
.slide-play:focus-visible { outline: 4px solid #fff; outline-offset: -8px; }
.slide-play-text { background: rgba(0, 0, 0, .6); padding: .2rem .6rem; border-radius: .4rem; }
.slide-caption { position: absolute; left: 0; right: 0; bottom: 0; padding: 2rem 1rem .75rem; color: #fff; font-weight: 700; background: linear-gradient(transparent, rgba(0, 0, 0, .75)); pointer-events: none; }
.slide:has(.is-playing) .slide-caption { display: none; }
.slider-controls { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: .5rem; margin-top: .75rem; }
.slider-btn, .slider-pause { display: inline-flex; align-items: center; justify-content: center; gap: .35rem; min-width: 2.75rem; min-height: 2.75rem; padding: 0 .75rem; border: 2px solid #1e293b; border-radius: 999px; background: #fff; color: #1e293b; font-weight: 700; }
.slider-btn:hover, .slider-pause:hover { background: #1e293b; color: #fff; }
.slider-dots { display: flex; flex-wrap: wrap; justify-content: center; gap: .15rem; max-width: 100%; }
.slider-dot { width: 2.75rem; height: 2.75rem; border: 0; background: transparent; display: inline-flex; align-items: center; justify-content: center; padding: 0; }
.slider-dot::before { content: ""; width: .8rem; height: .8rem; border-radius: 50%; border: 2px solid #1e293b; background: #fff; transition: transform .15s; }
.slider-dot[aria-current="true"]::before { background: #1e293b; transform: scale(1.15); }
.slider-pause .icon-play { display: none; }
.media-slider.is-paused .slider-pause .icon-play { display: inline; }
.media-slider.is-paused .slider-pause .icon-pause { display: none; }
@media (max-width: 575.98px) {
    .slider-dots { order: 3; width: 100%; }
    .slider-dot { width: 1.75rem; height: 1.75rem; } /* 28px ≥ WCAG 2.5.8 en az 24px */
}
@media (prefers-reduced-motion: reduce) { .slider-track { scroll-behavior: auto; } .slide-play-icon { transition: none; } }

/* Etkinlik sayfası seans tablosu */
.session-table td, .session-table th { vertical-align: middle; }
/* Dar ekranda seans tablosu satırları kart gibi alt alta (tablo sayfayı taşırmasın) */
@media (max-width: 575.98px) {
    .session-table thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
    .session-table, .session-table tbody, .session-table tr, .session-table th, .session-table td { display: block; width: 100%; }
    .session-table tr { border-bottom: 1px solid #dee2e6; padding: .5rem 0; }
    .session-table th, .session-table td { border: 0; padding: .15rem 0; text-align: left !important; }
}
/* Başvuru: seans seçimi (session-select.js ile kartlı açılır liste) */
.session-status { color: #495057; }
.ss { position: relative; }
.ss-button { display: flex; align-items: center; min-height: 3.5rem; text-align: left; cursor: pointer; }
.ss-button .ss-placeholder { color: #6c757d; }
.ss-list { position: absolute; z-index: 30; left: 0; right: 0; top: calc(100% + .25rem); max-height: 22rem; overflow-y: auto; margin: 0; padding: .35rem;
    list-style: none; background: #fff; border: 1px solid #ced4da; border-radius: .75rem; box-shadow: 0 .75rem 2rem rgba(11, 31, 58, .15); }
.ss-option, .ss-value { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .35rem .75rem; }
.ss-option { padding: .65rem .75rem; border-radius: .5rem; cursor: pointer; border: 1px solid transparent; }
.ss-option + .ss-option { margin-top: .15rem; }
.ss-option.is-active { background: #eef2f7; border-color: var(--brand, #0b1f3a); }
.ss-option[aria-selected="true"] { background: #e7f1ec; }
.ss-option[aria-disabled="true"] { cursor: not-allowed; color: #6c757d; background: #f8f9fa; }
.ss-label { font-weight: 600; }
.ss-pills { display: flex; flex-wrap: wrap; gap: .35rem; }
.ss-pills .status-pill { font-size: .8125rem; padding: .15rem .6rem; margin: 0; }
/* Başvuru kartında seans listesi (5'ten fazla seansta kendi içinde kayar) */
.apply-sessions { margin: 0 0 1rem; }
.apply-sessions-title { font-weight: 700; margin: 0 0 .4rem; }
.apply-sessions ul.is-scroll { max-height: 17rem; overflow-y: auto; padding-right: .25rem; }
.apply-session { display: flex; flex-direction: column; gap: .3rem; padding: .55rem .7rem; margin-bottom: .4rem; border: 1px solid #e3ddd0;
    border-radius: .6rem; color: inherit; text-decoration: none; }
a.apply-session:hover, a.apply-session:focus-visible { border-color: var(--mod, #0b1f3a); background: #fffaf2; }
.apply-session.is-closed { background: #f4f2ee; color: #495057; }
.apply-session .ss-label { font-weight: 700; }

/* Onay penceresi (site.js confirmDialog) */
.confirm-modal .modal-content { border: 0; border-radius: var(--radius, .75rem); box-shadow: 0 1rem 2.5rem rgba(0, 0, 0, .18); }
.confirm-modal .modal-header { border-bottom: 0; padding-bottom: .25rem; }
.confirm-modal .modal-footer { border-top: 0; gap: .5rem; }
.confirm-modal .modal-footer > .btn { margin: 0; }
.my-cancel { flex: 0 1 auto; min-width: 0; max-width: 100%; }
.my-cancel-closed { color: #6c4a00; max-width: min(22rem, 100%); }
