/* ============================================================
   TEGM İyi Örnekler — Modern UI Layer (2025)
   Markayı korur (MEB mavi #0492cd + turuncu/kırmızı #d14121),
   yalnızca görünümü modernleştirir. En SON yüklenir; eski
   site.css/MDB kurallarını hedefli biçimde override eder.
   Logic, route ve sınıf adları korunur.
   ============================================================ */

/* ---------- Bundled fonts (offline, gov-friendly) ---------- */
@font-face {
    font-family: 'Montserrat';
    src: url('../fonts/Montserrat/Montserrat-SemiBold.woff2') format('woff2'),
         url('../fonts/Montserrat/Montserrat-SemiBold.woff') format('woff');
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Montserrat';
    src: url('../fonts/Montserrat/Montserrat-Bold.woff2') format('woff2'),
         url('../fonts/Montserrat/Montserrat-Bold.woff') format('woff');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Montserrat';
    src: url('../fonts/Montserrat/Montserrat-ExtraBold.woff2') format('woff2'),
         url('../fonts/Montserrat/Montserrat-ExtraBold.woff') format('woff');
    font-weight: 800;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Roboto';
    src: url('../fonts/Roboto/Roboto-Regular.woff2') format('woff2'),
         url('../fonts/Roboto/Roboto-Regular.woff') format('woff');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Roboto';
    src: url('../fonts/Roboto/Roboto-Medium.woff2') format('woff2'),
         url('../fonts/Roboto/Roboto-Medium.woff') format('woff');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Roboto';
    src: url('../fonts/Roboto/Roboto-Bold.woff2') format('woff2'),
         url('../fonts/Roboto/Roboto-Bold.woff') format('woff');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

/* ---------- Design tokens ---------- */
:root {
    --brand: #0f6f82;
    --brand-600: #0c6277;
    --brand-700: #075985;
    --brand-050: #eef9fb;
    --brand-100: #d5eef2;

    --accent: #d14121;
    --accent-600: #b8381b;

    --ink: #1d2733;
    --ink-soft: #3f4a57;
    --muted: #6b7682;
    --line: #e7ebf0;
    --line-soft: #eef1f5;

    --bg: #f4f6f9;
    --card: #ffffff;

    --radius-xl: 18px;
    --radius: 14px;
    --radius-sm: 10px;
    --radius-pill: 999px;

    --shadow-xs: 0 1px 2px rgba(16, 33, 50, .06);
    --shadow-sm: 0 2px 8px rgba(16, 33, 50, .07);
    --shadow-md: 0 8px 24px rgba(16, 33, 50, .10);
    --shadow-lg: 0 16px 40px rgba(16, 33, 50, .14);

    --font-head: 'Montserrat', 'Segoe UI', system-ui, -apple-system, sans-serif;
    --font-body: 'Roboto', 'Segoe UI', system-ui, -apple-system, Arial, sans-serif;

    --header-red: #c8102e;
    --header-red-dark: #9f1239;
    --header-navy: #172554;
    --header-teal: #0f766e;
    --nav-turquoise: #078c9a;
    --nav-turquoise-dark: #066d86;
    --nav-blue: #0875ad;
    --ease: cubic-bezier(.4, 0, .2, 1);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }

body {
    font-family: var(--font-body) !important;
    font-size: 1rem !important;
    color: var(--ink);
    background:
        radial-gradient(circle at 8% 14%, rgba(7, 140, 154, .055), transparent 24rem),
        radial-gradient(circle at 92% 32%, rgba(8, 117, 173, .045), transparent 28rem),
        var(--bg);
    line-height: 1.55;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

h1, h2, h3, h4, h5, h6,
.h1, .h2, .h3, .h4, .h5 {
    font-family: var(--font-head);
    color: var(--ink);
    letter-spacing: -.01em;
}

a {
    color: var(--brand-600);
    text-decoration: none;
    transition: color .18s var(--ease);
}
a:hover { color: var(--brand-700); }

::selection { background: var(--brand-100); color: var(--ink); }

html { scroll-behavior: smooth; }

:where(a, button, input, select, textarea, [tabindex]):focus-visible {
    outline: 3px solid rgba(7, 140, 154, .32);
    outline-offset: 3px;
}

.site-main {
    min-height: clamp(520px, 62vh, 820px);
}
.site-main:focus { outline: none; }
.skip-link {
    position: fixed;
    top: .75rem;
    left: .75rem;
    z-index: 2000;
    padding: .7rem 1rem;
    color: #fff;
    background: var(--brand-700);
    border-radius: var(--radius-sm);
    font-weight: 700;
    transform: translateY(-160%);
    transition: transform .18s var(--ease);
}
.skip-link:focus { color: #fff; transform: translateY(0); }

/* Modern scrollbar */
* {
    scrollbar-width: thin;
    scrollbar-color: #c4ccd6 transparent;
}
.scrollbar::-webkit-scrollbar,
*::-webkit-scrollbar { width: 8px; height: 8px; background: transparent; }
.scrollbar::-webkit-scrollbar-thumb,
*::-webkit-scrollbar-thumb { background: #c4ccd6; border-radius: 999px; }
.scrollbar::-webkit-scrollbar-thumb:hover,
*::-webkit-scrollbar-thumb:hover { background: #aab4c0; }

/* ============================================================
   HEADER / NAVBAR
   ============================================================ */
header.header {
    z-index: 1040;
    background: rgba(255, 255, 255, .96) !important;
    border-bottom: 1px solid rgba(23, 37, 84, .09);
    box-shadow: 0 10px 30px rgba(23, 37, 84, .08);
    backdrop-filter: saturate(160%) blur(14px);
    -webkit-backdrop-filter: saturate(160%) blur(14px);
}

.site-masthead {
    --site-masthead-option-1: url('../images/education-masthead-v2.webp');
    --site-masthead-option-2-original: url('../images/education-masthead-v3.webp');
    --site-masthead-option-2: url('../images/education-masthead-primary-v1.webp');

    position: relative;
    isolation: isolate;
    min-height: clamp(164px, 12vw, 200px);
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    padding: 1.5rem clamp(1rem, 4vw, 3rem);
    background-color: #f7f3eb;
    background-image:
        linear-gradient(90deg, rgba(247, 243, 235, .12), rgba(255, 255, 255, .50) 34%, rgba(255, 255, 255, .50) 66%, rgba(247, 243, 235, .12)),
        var(--site-masthead-option-2);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center 50%;
    border-bottom: 1px solid rgba(23, 37, 84, .08);
}

.site-masthead::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background: radial-gradient(circle at center, rgba(255, 255, 255, .56) 0, rgba(255, 255, 255, .18) 42%, transparent 68%);
    pointer-events: none;
}

.site-masthead__home {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: clamp(480px, 36vw, 620px);
    padding: .8rem clamp(1rem, 2.2vw, 1.75rem) .9rem;
    color: var(--header-navy);
    background:
        linear-gradient(110deg, rgba(15, 118, 110, .08), transparent 25%, transparent 75%, rgba(195, 143, 38, .09)),
        rgba(255, 255, 255, .74);
    border: 1px solid rgba(255, 255, 255, .92);
    border-radius: 22px;
    box-shadow:
        0 16px 42px rgba(23, 37, 84, .13),
        inset 0 0 0 1px rgba(23, 37, 84, .035);
    backdrop-filter: blur(9px) saturate(118%);
    -webkit-backdrop-filter: blur(9px) saturate(118%);
    text-align: center;
    text-decoration: none;
    transition: transform .2s var(--ease), background-color .2s var(--ease), box-shadow .2s var(--ease);
}

.site-masthead__home:hover {
    color: var(--header-navy);
    background-color: rgba(255, 255, 255, .82);
    box-shadow:
        0 18px 46px rgba(23, 37, 84, .16),
        inset 0 0 0 1px rgba(23, 37, 84, .04);
    transform: translateY(-1px);
}
.site-masthead__home:focus-visible {
    outline: 3px solid rgba(7, 140, 154, .42);
    outline-offset: 5px;
}

.site-masthead__eyebrow {
    display: inline-flex;
    align-items: center;
    gap: .52rem;
    min-height: 25px;
    margin-bottom: .38rem;
    padding: .22rem .68rem .22rem .28rem;
    color: #41506b;
    background: rgba(238, 249, 251, .78);
    border: 1px solid rgba(15, 118, 110, .14);
    border-radius: var(--radius-pill);
    font-family: var(--font-head);
    font-size: clamp(.56rem, .68vw, .68rem);
    font-weight: 700;
    letter-spacing: .085em;
    line-height: 1.25;
}

.site-masthead__ministry {
    padding: .2rem .46rem;
    color: #fff;
    background: var(--header-red);
    border-radius: var(--radius-pill);
    box-shadow: 0 3px 10px rgba(200, 16, 46, .16);
    font-size: .92em;
    letter-spacing: .08em;
    line-height: 1;
}

.site-masthead__eyebrow-divider {
    width: 1px;
    height: 13px;
    background: linear-gradient(180deg, transparent, rgba(15, 118, 110, .52), transparent);
}

.site-masthead__title {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    justify-content: center;
    column-gap: .28em;
    row-gap: .02em;
    color: var(--header-navy);
    font-family: var(--font-head);
    font-size: clamp(1.8rem, 2.8vw, 2.65rem);
    font-weight: 800;
    letter-spacing: -.04em;
    line-height: 1.04;
    text-shadow: 0 2px 0 rgba(255, 255, 255, .78);
}

.site-masthead__title-highlight {
    color: var(--brand-700);
}

.site-masthead__subtitle {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: .7rem;
    width: 100%;
    margin-top: .42rem;
    color: #526077;
    font-size: clamp(.75rem, 1vw, .92rem);
    font-weight: 500;
    letter-spacing: .01em;
}

.site-masthead__subtitle-line {
    width: clamp(18px, 4vw, 42px);
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(15, 118, 110, .48));
}

.site-masthead__subtitle-line:last-child {
    background: linear-gradient(90deg, rgba(15, 118, 110, .48), transparent);
}

header.header .navbar {
    background: transparent !important;
    border: 0 !important;
    padding: .55rem 0;
}

.site-nav__inner {
    width: 100%;
    max-width: 1500px;
    margin-inline: auto;
    padding-inline: clamp(.8rem, 2.6vw, 2.4rem);
}

/* Nav links — modern pills, eski 200px whitesmoke kutuları yerine */
.nav-item.menu,
li.menu {
    width: auto !important;
    background: transparent !important;
    margin: 0 .08rem !important;
    border-radius: var(--radius-pill);
    text-align: center;
}
.menu .nav-link,
.site-nav .nav-link {
    color: #39435d !important;
    font-family: var(--font-head);
    font-weight: 600;
    font-size: clamp(.78rem, .82vw, .9rem);
    line-height: 1.2;
    padding: .68rem .76rem !important;
    border-radius: var(--radius-pill);
    white-space: nowrap;
    transition: background .18s var(--ease), color .18s var(--ease), box-shadow .18s var(--ease), transform .18s var(--ease);
}
.menu:hover,
.nav-item.menu:hover { background: transparent !important; }
.menu .nav-link:hover,
.site-nav .nav-link:hover {
    color: var(--nav-turquoise-dark) !important;
    background: rgba(7, 140, 154, .08);
    transform: translateY(-1px);
}
.site-nav .nav-link.active {
    color: var(--nav-turquoise-dark) !important;
    background: linear-gradient(135deg, rgba(7, 140, 154, .11), rgba(8, 117, 173, .08));
    box-shadow: inset 0 0 0 1px rgba(7, 140, 154, .15);
    font-weight: 700;
}
.site-nav .dropdown-toggle::after {
    margin-left: .38rem;
    color: var(--nav-turquoise);
    vertical-align: .15em;
}

.site-nav .navbar-toggler {
    width: 44px;
    height: 42px;
    display: none;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(7, 140, 154, .22) !important;
    border-radius: 12px;
    color: var(--nav-turquoise-dark);
    background: rgba(7, 140, 154, .07);
    padding: 0;
}
.site-nav .navbar-toggler:focus { box-shadow: 0 0 0 .2rem rgba(7, 140, 154, .14); }
.navbar-toggler__icon { display: grid; gap: 4px; }
.navbar-toggler__icon span {
    display: block;
    width: 20px;
    height: 2px;
    background: currentColor;
    border-radius: 2px;
}

/* Brand logo (tıklanabilir, anasayfaya) */
.site-brand {
    display: inline-flex;
    align-items: center;
    gap: clamp(.55rem, 1vw, .9rem);
    flex: 0 0 auto;
    margin-right: clamp(1rem, 2.4vw, 2.25rem);
    padding: 0 !important;
}
.site-brand img {
    display: block;
    width: auto;
    transition: transform .2s var(--ease), opacity .2s var(--ease);
}
.site-brand__primary {
    height: 70px;
    filter: brightness(0) saturate(100%) invert(13%) sepia(97%) saturate(5457%) hue-rotate(352deg) brightness(94%) contrast(103%);
}
.site-brand__century { height: 40px; }
.site-brand:hover img { transform: translateY(-1px); opacity: .9; }
.site-brand:focus-visible,
.site-nav .nav-link:focus-visible,
.site-nav .navbar-toggler:focus-visible,
.site-search__button:focus-visible {
    outline: 3px solid rgba(7, 140, 154, .27);
    outline-offset: 2px;
}

.site-nav .navbar-collapse {
    min-width: 0;
    gap: clamp(.75rem, 1.8vw, 1.5rem);
}

/* Arama kutusu konteyneri */
.site-nav__utilities {
    display: flex;
    align-items: center;
    gap: clamp(.5rem, .8vw, .75rem);
    flex: 0 1 390px;
    min-width: 325px;
}
.site-nav__ataturk {
    display: block;
    width: auto;
    height: 42px;
    flex: 0 0 auto;
    object-fit: contain;
}
.site-search { flex: 1 1 250px; min-width: 205px; max-width: 300px; }
.site-search .input-group { width: 100%; flex-wrap: nowrap; }
@media (max-width: 991px) {
    .site-nav__utilities { width: 100%; min-width: 0; }
    .site-nav__ataturk { height: 36px; }
    .site-search { width: auto; max-width: none; min-width: 0; }
}

/* Search box */
#tbArama.form-control {
    height: 42px;
    border: 1px solid #dfe3eb;
    border-radius: var(--radius-pill) 0 0 var(--radius-pill);
    padding: .5rem .95rem .5rem 1.05rem;
    font-size: .86rem;
    background: #f8fafc;
    transition: border-color .18s var(--ease), box-shadow .18s var(--ease);
}
#tbArama.form-control:focus {
    border-color: rgba(7, 140, 154, .48);
    box-shadow: 0 0 0 .18rem rgba(7, 140, 154, .11);
    background: #fff;
    outline: none;
}
.site-search .input-group-text {
    min-width: 44px;
    justify-content: center;
    background: linear-gradient(135deg, var(--nav-turquoise), var(--nav-blue));
    color: #fff;
    border: 1px solid var(--nav-turquoise);
    border-radius: 0 var(--radius-pill) var(--radius-pill) 0;
    cursor: pointer;
    transition: filter .18s var(--ease), transform .18s var(--ease);
}
.site-search .input-group-text:hover { filter: brightness(.92); }
.site-search .input-group-text:active { transform: scale(.96); }

/* Dropdown menus */
.site-nav .dropdown-menu {
    border: 1px solid var(--line) !important;
    border-radius: var(--radius) !important;
    box-shadow: var(--shadow-md) !important;
    padding: .5rem !important;
    margin-top: .55rem !important;
    background: rgba(255, 255, 255, .98);
}
.site-nav .dropdown-item {
    border-radius: var(--radius-sm);
    padding: .58rem .78rem;
    font-size: .92rem;
    color: var(--ink-soft);
    transition: background .15s var(--ease), color .15s var(--ease);
}
.site-nav .dropdown-item:hover, .site-nav .dropdown-item:focus {
    background: rgba(7, 140, 154, .08);
    color: var(--nav-turquoise-dark);
}

.location-dropdown {
    width: min(280px, calc(100vw - 2rem));
    max-height: min(62vh, 420px);
    overflow-x: hidden;
    overflow-y: auto;
}

.filter-dropdown {
    left: 50% !important;
    width: min(1120px, calc(100vw - 2rem)) !important;
    max-height: min(72vh, 560px) !important;
    margin-left: 0 !important;
    overflow-x: hidden;
    overflow-y: auto;
    transform: translateX(-50%) !important;
}

/* ============================================================
   HERO / MANŞET SLIDER
   ============================================================ */
.home-page { padding: clamp(1rem, 2.5vw, 2.25rem) 0 1rem; }
.home-hero-shell {
    width: min(1440px, calc(100% - clamp(1.5rem, 5vw, 5rem)));
    margin: 0 auto;
    padding: 0 !important;
}
#mansetSlide {
    height: clamp(330px, 33.5vw, 480px);
    border: 1px solid rgba(255, 255, 255, .72);
    border-radius: clamp(20px, 2.4vw, 30px);
    overflow: hidden;
    box-shadow: 0 24px 60px rgba(9, 38, 56, .18);
    background: #e8f2f4;
}
#mansetSlide .swiper-wrapper,
#mansetSlide .swiper-slide,
#mansetSlide .home-hero__link { height: 100%; }
#mansetSlide .home-hero__link {
    position: relative;
    isolation: isolate;
    display: block;
    color: #fff;
    overflow: hidden;
    background: linear-gradient(135deg, #eaf4f5, #dcebed);
}
#mansetSlide .home-hero__link::before {
    content: "";
    position: absolute;
    inset: -8%;
    z-index: 0;
    background-image: var(--hero-image);
    background-position: center;
    background-size: cover;
    filter: blur(24px) saturate(.85) brightness(1.04);
    opacity: .5;
    transform: scale(1.08);
}
#mansetSlide .swiper-slide img {
    position: relative;
    z-index: 1;
    display: block;
    height: 100%;
    object-fit: contain;
    object-position: center;
    width: 100%;
    transition: filter .45s var(--ease);
}
#mansetSlide .swiper-slide-active img { transform: none; }
#mansetSlide .carousel-caption {
    display: flex !important;
    flex-direction: column;
    justify-content: flex-end;
    align-items: flex-start;
    background:
        linear-gradient(to top, rgba(4, 24, 40, .7) 0%, rgba(4, 24, 40, .3) 34%, rgba(4, 24, 40, .05) 64%, transparent 78%),
        linear-gradient(90deg, rgba(4, 24, 40, .28) 0%, rgba(4, 24, 40, .08) 48%, transparent 72%);
    border-radius: 0 !important;
    inset: 0;
    z-index: 2;
    width: 100%;
    padding: clamp(2.75rem, 6vw, 5.5rem) clamp(1.4rem, 5vw, 5rem);
    text-align: left;
}
.home-hero__eyebrow {
    display: inline-flex;
    align-items: center;
    gap: .45rem;
    margin-bottom: .75rem;
    padding: .36rem .72rem;
    color: #d9fbff;
    background: rgba(7, 140, 154, .32);
    border: 1px solid rgba(192, 247, 250, .26);
    border-radius: var(--radius-pill);
    font-family: var(--font-head);
    font-size: .72rem;
    font-weight: 700;
    letter-spacing: .055em;
    text-transform: uppercase;
    backdrop-filter: blur(8px);
}
#mansetSlide .carousel-caption h2 {
    max-width: 920px;
    font-family: var(--font-head);
    font-weight: 800;
    font-size: clamp(1.55rem, 3.2vw, 3rem);
    color: #fff;
    margin: 0;
    line-height: 1.12;
    letter-spacing: -.035em;
    text-shadow: 0 2px 12px rgba(0, 0, 0, .35);
}
.home-hero__meta {
    display: inline-flex;
    align-items: center;
    gap: .55rem;
    margin-top: 1rem;
    color: rgba(255, 255, 255, .82);
    font-size: .85rem;
    font-weight: 500;
}
#mansetSlide .swiper-pagination { bottom: 18px !important; }
#mansetSlide .swiper-pagination-bullet {
    width: 8px;
    height: 8px;
    transition: width .2s var(--ease), opacity .2s var(--ease);
}
#mansetSlide .swiper-pagination-bullet-active {
    width: 28px;
    border-radius: var(--radius-pill);
    background: #fff !important;
}

/* Manşet ile içerik arasında sayfanın amacını anlatan kısa giriş */
.home-overview {
    width: min(1320px, calc(100% - clamp(1.5rem, 6vw, 6rem)));
    margin: clamp(1.4rem, 3vw, 2.5rem) auto clamp(2.25rem, 5vw, 4rem);
    display: grid;
    grid-template-columns: minmax(0, 1.3fr) minmax(300px, .7fr);
    align-items: end;
    gap: clamp(1.5rem, 5vw, 5rem);
    padding: clamp(1.25rem, 2.8vw, 2.2rem) 0;
    border-bottom: 1px solid rgba(7, 89, 133, .13);
}
.home-overview__eyebrow,
.home-section__kicker {
    display: block;
    margin-bottom: .42rem;
    color: var(--nav-turquoise-dark);
    font-family: var(--font-head);
    font-size: .72rem;
    font-weight: 700;
    letter-spacing: .085em;
    text-transform: uppercase;
}
.home-overview h1 {
    max-width: 760px;
    margin: 0;
    font-size: clamp(1.65rem, 3.15vw, 2.85rem);
    font-weight: 800;
    line-height: 1.12;
    letter-spacing: -.04em;
}
.home-overview p {
    max-width: 720px;
    margin: .85rem 0 0;
    color: var(--muted);
    font-size: clamp(.95rem, 1.25vw, 1.08rem);
}
.home-overview__side { display: grid; gap: 1rem; }
.home-overview__stats {
    display: flex;
    flex-wrap: wrap;
    gap: .6rem;
}
.home-overview__stats span {
    display: inline-flex;
    align-items: baseline;
    gap: .32rem;
    padding: .5rem .78rem;
    color: var(--ink-soft);
    background: rgba(255, 255, 255, .72);
    border: 1px solid var(--line);
    border-radius: var(--radius-pill);
    font-size: .82rem;
}
.home-overview__stats strong {
    color: var(--nav-turquoise-dark);
    font-family: var(--font-head);
    font-size: 1rem;
}
.home-overview__actions { display: flex; flex-wrap: wrap; gap: .65rem; }
.home-action {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .55rem;
    padding: .68rem 1rem;
    border: 1px solid transparent;
    border-radius: var(--radius-pill);
    font-family: var(--font-head);
    font-size: .82rem;
    font-weight: 700;
    transition: transform .18s var(--ease), box-shadow .18s var(--ease), background .18s var(--ease);
}
.home-action:hover { transform: translateY(-2px); }
.home-action--primary {
    color: #fff;
    background: linear-gradient(135deg, var(--nav-turquoise-dark), var(--nav-blue));
    box-shadow: 0 8px 20px rgba(7, 89, 133, .18);
}
.home-action--primary:hover { color: #fff; box-shadow: 0 12px 25px rgba(7, 89, 133, .24); }
.home-action--secondary { color: var(--brand-700); background: #fff; border-color: var(--brand-100); }
.home-action--secondary:hover { color: var(--brand-700); background: var(--brand-050); }

/* ============================================================
   PANEL (kategori bölümleri)
   ============================================================ */
.home-feed {
    width: min(1320px, calc(100% - clamp(1.5rem, 6vw, 6rem)));
    margin: 0 auto;
    scroll-margin-top: 110px;
}
.panel {
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: var(--radius-xl) !important;
    box-shadow: var(--shadow-sm);
    overflow: hidden;
    transition: box-shadow .2s var(--ease);
}
.panel:hover { box-shadow: var(--shadow-md); }

.home-section { margin-bottom: clamp(1.5rem, 4vw, 2.75rem); }
.home-section .panel {
    position: relative;
    border-color: rgba(20, 57, 77, .09);
    border-radius: 22px !important;
    box-shadow: 0 12px 34px rgba(21, 49, 65, .065);
    overflow: hidden;
}
.home-section .panel:hover { box-shadow: 0 12px 34px rgba(21, 49, 65, .065); }
.home-section .panel::before {
    content: "";
    position: absolute;
    inset: 0 auto 0 0;
    z-index: 2;
    width: 4px;
    background: var(--section-accent, var(--nav-turquoise));
}
.home-section__header {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.25rem;
    padding: 1.35rem clamp(1.15rem, 2.5vw, 2rem) 1.05rem !important;
    background: #fff;
    cursor: default !important;
}
.home-section__title h2 {
    margin: 0;
    color: var(--ink);
    font-size: clamp(1.18rem, 2vw, 1.55rem);
    font-weight: 800;
    line-height: 1.2;
}
.home-section__kicker {
    margin-bottom: .25rem;
    color: var(--section-accent, var(--nav-turquoise-dark));
}
.home-section__tools {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: .75rem;
}
.home-section .cat-count {
    display: inline-flex;
    align-items: baseline;
    gap: .28rem;
    padding: .34rem .66rem;
    color: var(--muted);
    background: #f5f8fa;
    border: 1px solid var(--line);
    border-radius: var(--radius-pill);
    font-size: .75rem;
    white-space: nowrap;
}
.home-section .cat-count strong { color: var(--ink-soft); font-family: var(--font-head); font-size: .84rem; }
.home-section .section-more {
    min-height: 38px;
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    margin: 0;
    padding: .5rem .8rem;
    color: var(--brand-700);
    background: var(--brand-050);
    border-radius: var(--radius-pill);
    font-size: .8rem;
    font-weight: 700;
    white-space: nowrap;
}
.home-section .section-more:hover { gap: .58rem; color: var(--brand-700); background: var(--brand-100); }
.home-section .panel-body {
    padding: .75rem clamp(.8rem, 2vw, 1.35rem) 1.35rem !important;
    background: #fff;
    border-top: 1px solid var(--line-soft);
}
.home-section .kategoriSlide { padding: .35rem .25rem .45rem; }
.home-section .kategoriSlide .swiper-wrapper { align-items: stretch; }
.home-section .kategoriSlide .swiper-slide {
    display: flex;
    height: auto;
}
.home-section .kategoriSlide .card.kart {
    width: 100%;
    height: 100% !important;
}

/* Kategori başlığı: marka rengi inline geliyor (korunur), sadece biçim modernleşir */
.panel-header-bg {
    font-family: var(--font-head) !important;
    font-weight: 700 !important;
    font-size: 1.12rem !important;
    color: #fff !important;
    border-radius: 0 !important;
    padding: .95rem 1.25rem !important;
    letter-spacing: .005em;
    border-left: 5px solid rgba(255, 255, 255, .35);
    align-items: center;
}
.panel-header-bg i { transition: transform .25s var(--ease); opacity: .9; }
.panel-body { background: #fbfcfe; padding: 1.1rem !important; }
.panel-body-bg { margin-top: 2.25rem !important; }
.panel-footer { background: transparent; }
.panel-body > a[asp-action], .panel-body > a {
    font-weight: 600;
    font-size: .92rem;
}
.panel-body .badge { font-weight: 700; }

/* ============================================================
   HABER KARTLARI
   ============================================================ */
.card.kart,
.kart {
    background: var(--card);
    border: 1px solid var(--line) !important;
    border-radius: var(--radius) !important;
    box-shadow: var(--shadow-xs) !important;
    display: flex;
    flex-direction: column;
    min-width: 0;
    overflow: hidden;
    transition: transform .2s var(--ease), box-shadow .2s var(--ease), border-color .2s var(--ease);
}
.card.kart:hover,
.kart:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md) !important;
    border-color: var(--brand-100) !important;
}
.kart .card-img-top {
    display: block;
    width: 100%;
    height: 100%;
    aspect-ratio: auto;
    object-fit: contain;
    object-position: center;
    background: transparent;
}
.kart .card-body {
    flex: 1 1 auto;
    display: grid;
    grid-template-areas:
        "title"
        "location"
        "school";
    grid-template-rows: 2.7rem 1.15rem 2.25rem;
    align-content: start;
    row-gap: .35rem;
    padding: 1rem 1.05rem .9rem !important;
}

.haber-baslik {
    grid-area: title;
    font-family: var(--font-head);
    font-weight: 600;
    font-size: .98rem;
    line-height: 1.35;
    color: var(--ink) !important;
    height: 2.7rem;
    max-height: 2.7rem;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    display: -webkit-box;
    overflow: hidden;
    transition: color .18s var(--ease);
}
.haber-baslik:hover { color: var(--brand-700) !important; }

.haber-detay-okul-adi-il {
    grid-area: location;
    align-self: center;
    min-width: 0;
    margin: 0 !important;
    font-style: normal !important;
    font-weight: 700 !important;
    font-size: .76rem !important;
    color: var(--brand-700) !important;
    text-transform: capitalize;
    letter-spacing: .01em;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.haber-detay-okul-adi {
    grid-area: school;
    min-width: 0;
    font-style: normal !important;
    font-weight: 500 !important;
    font-size: .8rem !important;
    color: var(--muted) !important;
    text-transform: capitalize;
    line-height: 1.35;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
}

.card-footer {
    background: #fff !important;
    border-top: 1px solid var(--line-soft) !important;
    padding: .6rem .9rem !important;
}
.card-footer .far.fa-clock { color: var(--muted); }
.card-footer span { color: var(--muted); }

/* Kart görselleri canlı medyanın 3:1 oranını korur; hiçbir kenar kırpılmaz. */
.card-media {
    display: grid;
    place-items: center;
    aspect-ratio: 580 / 194;
    overflow: hidden;
    line-height: 0;
    background: linear-gradient(145deg, #f5fafb, #eaf2f4);
}
.card-media .card-img-top { transition: filter .28s var(--ease); }
.card.kart:hover .card-media .card-img-top {
    transform: none;
    filter: saturate(1.04) brightness(1.02);
}

/* Yeni kart footer düzeni (haber kartları) */
.kart .card-footer {
    display: flex; align-items: center; justify-content: space-between; gap: .5rem;
}
.card-date { color: var(--muted); font-size: .76rem; display: inline-flex; align-items: center; gap: .3rem; white-space: nowrap; }
.card-actions { display: inline-flex; align-items: center; gap: .35rem; flex: 0 0 auto; }

/* Home bölüm sarmalı */
.panel-header { cursor: pointer; }

/* ============================================================
   BUTONLAR (beğen / paylaş)
   ============================================================ */
.begen-btn {
    display: inline-flex;
    align-items: center;
    gap: .42rem;
    min-height: 38px;
    padding: .3rem .38rem .3rem .68rem !important;
    background: var(--brand-700) !important;
    border-radius: var(--radius-pill) !important;
    color: #fff !important;
    font-size: .78rem;
    font-weight: 600;
    line-height: 1;
    border: 0;
    cursor: pointer;
    transition: background .18s var(--ease), transform .12s var(--ease);
}
.begen-btn:hover { background: var(--brand-700) !important; transform: translateY(-1px); }
.begen-btn .fa-thumbs-up {
    margin-right: 0 !important;
    color: #fff !important;
}
.begen-btn .begen-sayi {
    min-width: 1.65rem;
    height: 1.65rem;
    display: inline-grid;
    place-items: center;
    padding: 0 .4rem;
    color: var(--brand-700) !important;
    background: #fff;
    border: 1px solid rgba(255, 255, 255, .7);
    border-radius: var(--radius-pill);
    box-shadow: 0 2px 7px rgba(7, 53, 77, .16);
    font-family: var(--font-head);
    font-size: .75rem;
    font-weight: 800;
    line-height: 1;
}

.paylas-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px; height: 38px;
    padding: 0 !important;
    background: var(--brand-050) !important;
    border-radius: var(--radius-pill) !important;
    color: var(--brand-700) !important;
    font-size: .8rem;
    cursor: pointer;
    transition: background .18s var(--ease), transform .12s var(--ease);
}
.paylas-btn:hover { background: var(--brand-100) !important; transform: translateY(-1px); color: var(--brand-700) !important; }

/* Beğenilmiş durum */
.seffaf { background: var(--nav-turquoise-dark) !important; box-shadow: inset 0 0 0 2px rgba(255,255,255,.42); }
.seffaf .begen-sayi { color: var(--nav-turquoise-dark) !important; background: #eaffff; }
.opak { opacity: 1; }

/* ============================================================
   SWIPER OKLARI — eski gri degrade yerine modern yuvarlak
   ============================================================ */
.swiper-button-next,
.swiper-button-prev {
    width: 42px !important;
    height: 42px !important;
    line-height: 42px !important;
    border-radius: 50% !important;
    background: #fff !important;
    color: var(--brand-700) !important;
    box-shadow: var(--shadow-md) !important;
    top: 50% !important;
    border: 1px solid var(--line);
    transition: background .18s var(--ease), color .18s var(--ease), transform .12s var(--ease);
}
.swiper-button-next { right: 6px !important; }
.swiper-button-prev { left: 6px !important; }
.swiper-button-next:hover,
.swiper-button-prev:hover {
    background: var(--brand) !important;
    color: #fff !important;
    transform: scale(1.06);
}
.swiper-button-next:after,
.swiper-button-prev:after {
    font-size: 1.05rem !important;
    font-weight: 700;
}
.swiper-pagination-bullet { background: #fff; opacity: .65; }
.swiper-pagination-bullet-active { background: var(--brand) !important; opacity: 1; }

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
    position: relative;
    margin-top: clamp(2.5rem, 6vw, 5rem);
    color: #d6e5ec;
    background:
        radial-gradient(circle at 9% 10%, rgba(7, 140, 154, .22), transparent 25rem),
        radial-gradient(circle at 92% 90%, rgba(8, 117, 173, .2), transparent 28rem),
        #0b2535;
    border-top: 1px solid rgba(255, 255, 255, .08);
    overflow: hidden;
}
.site-footer::before {
    content: "";
    position: absolute;
    inset: 0 0 auto;
    height: 3px;
    background: linear-gradient(90deg, var(--nav-turquoise), var(--nav-blue), var(--nav-turquoise));
}
.site-footer__inner {
    width: min(1320px, calc(100% - clamp(1.5rem, 6vw, 6rem)));
    margin: 0 auto;
    padding: clamp(2.75rem, 6vw, 4.75rem) 0 1.3rem;
}
.site-footer__grid {
    display: grid;
    grid-template-columns: minmax(250px, 1.05fr) minmax(260px, 1fr) minmax(280px, 1.1fr);
    gap: clamp(2rem, 5vw, 5rem);
}
.site-footer__brand img {
    display: block;
    width: min(100%, 380px);
    height: auto;
    max-height: 120px;
    object-fit: contain;
    object-position: left center;
}
.site-footer__brand p {
    max-width: 46ch;
    margin: 1.15rem 0 0;
    color: #aebfca;
    font-size: .9rem;
    line-height: 1.7;
}
@media (min-width: 1051px) {
    .site-footer__brand {
        padding-right: clamp(1.5rem, 3vw, 3rem);
        border-right: 1px solid rgba(255, 255, 255, .14);
    }
}
.site-footer h2 {
    margin: 0 0 1rem;
    color: #fff;
    font-size: .88rem;
    font-weight: 700;
    letter-spacing: .075em;
    text-transform: uppercase;
}
.site-footer__category-list {
    columns: 2;
    column-gap: 1.5rem;
    margin: 0;
    padding: 0;
    list-style: none;
}
.site-footer__category-list li {
    margin: 0 0 .58rem !important;
    break-inside: avoid;
}
.site-footer a { color: #c6d6df !important; }
.site-footer a:hover { color: #fff !important; }
.site-footer .fotter-kategorileri {
    display: inline-flex;
    align-items: center;
    padding-left: 0 !important;
    font-size: .88rem;
    text-decoration: none !important;
    transition: color .18s var(--ease), transform .18s var(--ease);
}
.site-footer .fotter-kategorileri::before {
    content: "";
    width: 5px;
    height: 5px;
    margin-right: .52rem;
    background: var(--nav-turquoise);
    border-radius: 50%;
}
.site-footer .fotter-kategorileri:hover {
    padding-left: 0 !important;
    text-decoration: none !important;
    transform: translateX(3px);
}
.site-footer__contact { min-width: 0; }
.site-footer__contact-link {
    display: flex;
    align-items: flex-start;
    gap: .7rem;
    margin-bottom: .75rem;
    font-size: .87rem;
    line-height: 1.5;
}
.site-footer__contact-link i {
    width: 30px;
    height: 30px;
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-top: -.18rem;
    color: #a9f1f0;
    background: rgba(7, 140, 154, .16);
    border-radius: 9px;
}
.site-footer__contact-link span { min-width: 0; overflow-wrap: anywhere; }
.site-footer__social { display: flex; gap: .55rem; margin-top: 1.15rem; }
.site-footer__social a {
    width: 42px;
    height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #fff !important;
    background: rgba(255, 255, 255, .08);
    border: 1px solid rgba(255, 255, 255, .1);
    border-radius: 12px;
    font-size: 1.05rem;
    transition: transform .18s var(--ease), background .18s var(--ease);
}
.site-footer__social a:hover { background: rgba(7, 140, 154, .28); transform: translateY(-2px); }
.site-footer__bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    margin-top: clamp(2rem, 5vw, 4rem);
    padding-top: 1.15rem;
    color: #91a7b5;
    border-top: 1px solid rgba(255, 255, 255, .11);
    font-size: .8rem;
}
.site-footer__bottom p { margin: 0; }
.site-footer__top { display: inline-flex; align-items: center; gap: .45rem; white-space: nowrap; }
.site-footer__bottom-actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: clamp(1rem, 2.5vw, 2rem);
}
.site-footer__legal {
    display: inline-flex;
    align-items: center;
    gap: .9rem;
}
.site-footer__legal a,
.site-footer__legal button {
    padding: 0;
    color: #c6d6df !important;
    background: transparent;
    border: 0;
    font: inherit;
    line-height: inherit;
    cursor: pointer;
    transition: color .18s var(--ease);
}
.site-footer__legal a:hover,
.site-footer__legal button:hover { color: #fff !important; }
.site-footer__legal > * + * {
    padding-left: .9rem;
    border-left: 1px solid rgba(255, 255, 255, .18);
}

/* ============================================================
   ÇEREZ TERCİH BANDI
   ============================================================ */
.cookie-consent {
    position: fixed;
    left: 50%;
    bottom: clamp(.75rem, 2vw, 1.25rem);
    z-index: 1400;
    width: min(1180px, calc(100% - 2rem));
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    gap: 1rem;
    padding: clamp(1rem, 2vw, 1.25rem);
    color: #e7f2f6;
    background:
        radial-gradient(circle at 8% 15%, rgba(9, 173, 181, .22), transparent 18rem),
        rgba(7, 30, 45, .98);
    border: 1px solid rgba(169, 241, 240, .2);
    border-radius: 20px;
    box-shadow: 0 24px 64px rgba(3, 18, 29, .38);
    opacity: 0;
    transform: translate(-50%, calc(100% + 2rem));
    transition: opacity .18s var(--ease), transform .18s var(--ease);
}
.cookie-consent[hidden] { display: none !important; }
.cookie-consent.is-visible { opacity: 1; transform: translate(-50%, 0); }
.cookie-consent__icon {
    width: 48px;
    height: 48px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #a9f1f0;
    background: rgba(7, 140, 154, .2);
    border: 1px solid rgba(169, 241, 240, .16);
    border-radius: 15px;
    font-size: 1.2rem;
}
.cookie-consent__content { min-width: 0; }
.cookie-consent__eyebrow {
    display: block;
    margin-bottom: .15rem;
    color: #a9f1f0;
    font-size: .68rem;
    font-weight: 800;
    letter-spacing: .1em;
    text-transform: uppercase;
}
.cookie-consent h2 {
    margin: 0 0 .25rem;
    color: #fff;
    font-size: 1.05rem;
    font-weight: 750;
}
.cookie-consent p { margin: 0; color: #bed0d9; font-size: .84rem; line-height: 1.55; }
.cookie-consent p a { color: #fff; font-weight: 650; text-decoration: underline; text-underline-offset: 3px; }
.cookie-consent__actions { display: flex; align-items: center; gap: .65rem; }
.cookie-consent__button {
    min-width: 118px;
    min-height: 44px;
    padding: .62rem 1rem;
    border: 1px solid transparent;
    border-radius: 12px;
    font: 700 .82rem/1 var(--font-body);
    cursor: pointer;
    transition: transform .15s var(--ease), background .18s var(--ease), border-color .18s var(--ease);
}
.cookie-consent__button:hover { transform: translateY(-1px); }
.cookie-consent__button--reject {
    color: #eff7f8;
    background: rgba(255, 255, 255, .08);
    border-color: rgba(255, 255, 255, .28);
}
.cookie-consent__button--reject:hover { background: rgba(255, 255, 255, .14); }
.cookie-consent__button--accept { color: #062c38; background: #a9f1f0; border-color: #a9f1f0; }
.cookie-consent__button--accept:hover { background: #d1fbfa; border-color: #d1fbfa; }

/* ============================================================
   MODAL (paylaş)
   ============================================================ */
.modal-content {
    border: 0 !important;
    border-radius: var(--radius-xl) !important;
    box-shadow: var(--shadow-lg) !important;
    overflow: hidden;
}
.modal-header {
    border-bottom: 1px solid var(--line) !important;
    padding: 1rem 1.25rem !important;
}
.modal-title { font-family: var(--font-head); font-weight: 700; font-size: 1.05rem; }
.modal-body { padding: 1.5rem 1.25rem !important; display: flex; gap: .5rem; align-items: center; }
.modal-footer { border-top: 1px solid var(--line) !important; }
.modal-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 52px; height: 52px;
    border-radius: 50%;
    font-size: 1.4rem !important;
    margin: 0 !important;
    color: #fff;
    background: var(--brand);
    transition: transform .14s var(--ease), filter .18s var(--ease);
}
.modal-btn:hover { transform: translateY(-2px); filter: brightness(1.07); color: #fff; }
#btnTwitter { background: #111; }
#btnFacebook { background: #1877f2; }
#btnLink { background: var(--accent); }
.btn-secondary {
    border-radius: var(--radius-pill);
    padding: .45rem 1.15rem;
    font-weight: 500;
}

.responsibility-modal .modal-dialog { max-width: 560px; }
.responsibility-modal .modal-content {
    position: relative;
    color: var(--ink);
    background:
        radial-gradient(circle at 100% 0, rgba(7, 140, 154, .12), transparent 16rem),
        #fff;
}
.responsibility-modal__accent {
    height: 5px;
    background: linear-gradient(90deg, var(--nav-turquoise), var(--nav-blue));
}
.responsibility-modal .modal-body {
    display: block;
    padding: 2rem 2rem 1.25rem !important;
    text-align: center;
}
.responsibility-modal__icon {
    width: 68px;
    height: 68px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
    color: var(--brand-700);
    background: linear-gradient(145deg, var(--brand-050), #fff);
    border: 1px solid var(--brand-100);
    border-radius: 21px;
    box-shadow: 0 10px 24px rgba(7, 89, 133, .1);
    font-size: 1.65rem;
}
.responsibility-modal__eyebrow {
    display: block;
    margin-bottom: .3rem;
    color: var(--brand-600);
    font-size: .72rem;
    font-weight: 800;
    letter-spacing: .11em;
    text-transform: uppercase;
}
.responsibility-modal .modal-title { margin-bottom: .7rem; font-size: clamp(1.35rem, 4vw, 1.75rem); }
.responsibility-modal .modal-body p {
    max-width: 45ch;
    margin: 0 auto;
    color: var(--ink-soft);
    font-size: 1rem;
    line-height: 1.7;
}
.responsibility-modal .modal-footer {
    justify-content: center;
    padding: .25rem 2rem 2rem !important;
    border-top: 0 !important;
}
.responsibility-modal__confirm {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .6rem;
    min-width: 210px;
    min-height: 48px;
    padding: .7rem 1.25rem;
    color: #fff !important;
    background: linear-gradient(135deg, var(--brand), var(--nav-blue));
    border: 0;
    border-radius: var(--radius-pill) !important;
    font-weight: 700;
}
.responsibility-modal__confirm:hover { color: #fff; filter: brightness(1.06); transform: translateY(-1px); }

/* ============================================================
   HABER DETAY
   ============================================================ */
#haber-detay-container .card {
    border: 1px solid var(--line) !important;
    border-radius: var(--radius-xl) !important;
    box-shadow: var(--shadow-sm) !important;
    overflow: hidden;
}
.haber-detay-kart-header {
    background: #fff !important;
    border-bottom: 1px solid var(--line) !important;
    padding: 1.4rem 1.5rem !important;
}
.haber-detay-baslik {
    font-family: var(--font-head) !important;
    font-weight: 800 !important;
    font-size: clamp(1.2rem, 3vw, 1.75rem) !important;
    color: var(--ink) !important;
    line-height: 1.25;
    margin-bottom: .35rem;
}
#metin img.img-thumbnail {
    border-radius: var(--radius) !important;
    border: 1px solid var(--line) !important;
    box-shadow: var(--shadow-sm);
    max-width: min(46%, 460px);
}
.card-body #metin + * , .card-body p { color: var(--ink-soft); }

/* ============================================================
   FİLTRE PANELİ
   ============================================================ */
.f-panel-bg { background: #fff; border-radius: var(--radius); }
.filitre-kart-baslik.bg-info,
.card-header.bg-info {
    background: var(--brand) !important;
    color: #fff !important;
    border: 0 !important;
    font-family: var(--font-head);
    font-weight: 600;
}
.f-panel-bg .card {
    border: 1px solid var(--line) !important;
    border-radius: var(--radius-sm) !important;
    box-shadow: none !important;
    overflow: hidden;
}
.temizle-btn { color: var(--muted); font-size: .85rem; }
.temizle-btn:hover { color: var(--accent); }

/* ============================================================
   GENEL FORM / BUTON yardımcıları
   ============================================================ */
.btn {
    border-radius: var(--radius-sm);
    font-weight: 500;
    min-height: 44px;
    text-transform: none !important;
    box-shadow: none !important;
    transition: all .18s var(--ease);
}
.btn-success { background: var(--brand) !important; border-color: var(--brand) !important; }
.btn-success:hover { background: var(--brand-700) !important; border-color: var(--brand-700) !important; }
.btn-warning { background: #f0a020 !important; border-color: #f0a020 !important; color: #fff !important; }
.form-control, .form-select {
    border: 1px solid var(--line);
    border-radius: var(--radius-sm);
    transition: border-color .18s var(--ease), box-shadow .18s var(--ease);
}
.form-control:focus, .form-select:focus {
    border-color: var(--brand);
    box-shadow: 0 0 0 .18rem var(--brand-100);
}
.giris.form-control {
    border-radius: var(--radius-sm) !important;
    border: 1px solid var(--line) !important;
}

/* Alert */
.alert { border: 0; border-radius: var(--radius); box-shadow: var(--shadow-xs); }
.alert-danger { background: #fdecea; color: #b3261e; }
.alert-success { background: #e9f7ef; color: #1e7e44; }

/* ============================================================
   KVKK / ÇEREZ BİLGİLENDİRMESİ
   ============================================================ */
.privacy-page { --privacy-tint: #eef9fb; }
.privacy-page__hero { overflow: hidden; }
.privacy-page__updated {
    position: relative;
    z-index: 1;
    display: inline-flex;
    align-items: center;
    gap: .45rem;
    margin-top: 1rem;
    padding: .42rem .7rem;
    color: rgba(255, 255, 255, .88);
    background: rgba(255, 255, 255, .1);
    border: 1px solid rgba(255, 255, 255, .15);
    border-radius: var(--radius-pill);
    font-size: .76rem;
}
.privacy-notice {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    gap: 1rem;
    margin: 1.25rem 0;
    padding: 1.15rem 1.25rem;
    background: linear-gradient(135deg, #f5fbfc, #fff);
    border: 1px solid var(--brand-100);
    border-radius: var(--radius);
    box-shadow: var(--shadow-xs);
}
.privacy-notice__icon {
    width: 42px;
    height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--brand-700);
    background: var(--brand-100);
    border-radius: 12px;
}
.privacy-notice h2 { margin: 0 0 .3rem; font-size: 1rem; font-weight: 750; }
.privacy-notice p { margin: 0; color: var(--ink-soft); font-size: .88rem; line-height: 1.65; }
.privacy-layout {
    display: grid;
    grid-template-columns: minmax(200px, 240px) minmax(0, 1fr);
    align-items: start;
    gap: clamp(1.25rem, 3vw, 2.25rem);
    margin-top: 1.5rem;
}
.privacy-index {
    position: sticky;
    top: 104px;
    display: flex;
    flex-direction: column;
    padding: 1rem;
    background: rgba(255, 255, 255, .9);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
}
.privacy-index__title {
    margin-bottom: .55rem;
    padding: 0 .65rem .65rem;
    color: var(--muted);
    border-bottom: 1px solid var(--line-soft);
    font-size: .7rem;
    font-weight: 800;
    letter-spacing: .1em;
    text-transform: uppercase;
}
.privacy-index a {
    position: relative;
    padding: .56rem .65rem .56rem 1rem;
    color: var(--ink-soft);
    border-radius: 9px;
    font-size: .84rem;
    font-weight: 600;
}
.privacy-index a::before {
    content: "";
    position: absolute;
    top: 50%;
    left: .4rem;
    width: 4px;
    height: 4px;
    background: var(--nav-turquoise);
    border-radius: 50%;
    transform: translateY(-50%);
}
.privacy-index a:hover { color: var(--brand-700); background: var(--brand-050); }
.privacy-content { display: grid; gap: 1rem; min-width: 0; }
.privacy-card {
    position: relative;
    scroll-margin-top: 108px;
    padding: clamp(1.25rem, 3vw, 2rem);
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-sm);
    overflow: hidden;
}
.privacy-card::before {
    content: "";
    position: absolute;
    inset: 0 auto 0 0;
    width: 4px;
    background: linear-gradient(180deg, var(--nav-turquoise), var(--nav-blue));
}
.privacy-card__number {
    position: absolute;
    top: .75rem;
    right: 1rem;
    color: rgba(7, 140, 154, .075);
    font: 800 clamp(2.4rem, 7vw, 4.5rem)/1 var(--font-head);
    user-select: none;
}
.privacy-card__heading {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    gap: .8rem;
    margin-bottom: 1rem;
    padding-right: 4rem;
}
.privacy-card__icon {
    width: 44px;
    height: 44px;
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--brand-700);
    background: var(--privacy-tint);
    border: 1px solid var(--brand-100);
    border-radius: 13px;
}
.privacy-card__eyebrow {
    display: block;
    margin-bottom: .1rem;
    color: var(--brand-600);
    font-size: .68rem;
    font-weight: 800;
    letter-spacing: .09em;
    text-transform: uppercase;
}
.privacy-card h2 { margin: 0; font-size: clamp(1.15rem, 2.5vw, 1.45rem); font-weight: 780; }
.privacy-card > p { color: var(--ink-soft); line-height: 1.75; }
.privacy-card > p:last-child { margin-bottom: 0; }
.privacy-contact-list { display: grid; gap: .65rem; margin: 1.15rem 0 0; }
.privacy-contact-list > div {
    display: grid;
    grid-template-columns: 86px minmax(0, 1fr);
    gap: .75rem;
    padding-top: .65rem;
    border-top: 1px solid var(--line-soft);
}
.privacy-contact-list dt { color: var(--muted); font-size: .76rem; font-weight: 700; text-transform: uppercase; }
.privacy-contact-list dd { min-width: 0; margin: 0; color: var(--ink-soft); overflow-wrap: anywhere; }
.privacy-data-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .8rem; }
.privacy-data-grid article {
    padding: 1rem;
    background: #f9fbfc;
    border: 1px solid var(--line-soft);
    border-radius: var(--radius);
}
.privacy-data-grid article > i { margin-bottom: .65rem; color: var(--brand-600); font-size: 1rem; }
.privacy-data-grid h3 { margin: 0 0 .35rem; font-size: .94rem; font-weight: 750; }
.privacy-data-grid p { margin: 0; color: var(--ink-soft); font-size: .83rem; line-height: 1.6; }
.privacy-callout {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    gap: .75rem;
    margin-top: 1rem;
    padding: .9rem 1rem;
    color: #254454;
    background: var(--brand-050);
    border: 1px solid var(--brand-100);
    border-radius: var(--radius-sm);
}
.privacy-callout > i { margin-top: .18rem; color: var(--brand-700); }
.privacy-callout p { margin: 0; font-size: .82rem; line-height: 1.6; }
.privacy-table-wrap {
    width: 100%;
    margin: 1.2rem 0;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    overflow-x: auto;
}
.privacy-table { width: 100%; min-width: 900px; border-collapse: collapse; font-size: .82rem; }
.privacy-table th {
    padding: .85rem .9rem;
    color: #39505e;
    background: #f1f7f9;
    border-bottom: 1px solid var(--line);
    font-size: .7rem;
    font-weight: 800;
    letter-spacing: .055em;
    text-align: left;
    text-transform: uppercase;
}
.privacy-table td { padding: .9rem; color: var(--ink-soft); border-bottom: 1px solid var(--line-soft); vertical-align: top; }
.privacy-table tbody tr:last-child td { border-bottom: 0; }
.privacy-table code { color: var(--brand-700); background: var(--brand-050); border-radius: 5px; font-size: .78rem; }
.privacy-badge {
    display: inline-flex;
    align-items: center;
    padding: .3rem .55rem;
    border-radius: var(--radius-pill);
    font-size: .68rem;
    font-weight: 750;
    white-space: nowrap;
}
.privacy-badge--required { color: #3b5360; background: #edf1f4; }
.privacy-badge--optional { color: #075985; background: #dff3f6; }
.privacy-preference-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .55rem;
    min-height: 44px;
    padding: .65rem 1rem;
    color: #fff;
    background: var(--brand);
    border: 0;
    border-radius: var(--radius-pill);
    font-weight: 700;
    cursor: pointer;
}
.privacy-preference-button:hover { background: var(--brand-700); }
.privacy-resources {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: .65rem;
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid var(--line-soft);
}
.privacy-resources > span { color: var(--muted); font-size: .72rem; font-weight: 800; letter-spacing: .07em; text-transform: uppercase; }
.privacy-resources a {
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    padding: .46rem .7rem;
    color: var(--brand-700);
    background: var(--brand-050);
    border-radius: 9px;
    font-size: .78rem;
    font-weight: 700;
}

@media (max-width: 900px) {
    .privacy-layout { grid-template-columns: 1fr; }
    .privacy-index { position: static; flex-direction: row; flex-wrap: wrap; gap: .25rem; }
    .privacy-index__title { width: 100%; }
}
@media (max-width: 620px) {
    .privacy-notice { grid-template-columns: 1fr; }
    .privacy-data-grid { grid-template-columns: 1fr; }
    .privacy-card__heading { align-items: flex-start; padding-right: 2.5rem; }
    .privacy-card__number { font-size: 2.6rem; }
    .privacy-contact-list > div { grid-template-columns: 1fr; gap: .2rem; }
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 991px) {
    .site-masthead {
        min-height: 154px;
        padding: .75rem 1rem;
        background-position: center 50%;
    }
    .site-masthead__home { width: min(460px, 64vw); }
    header.header .navbar { padding: .48rem 0; }
    .site-nav .navbar-toggler { display: inline-flex; }
    .site-brand { margin-right: 0; }
    .site-brand__primary { height: 56px; }
    .site-brand__century { height: 32px; }
    .site-nav .navbar-collapse {
        margin-top: .55rem;
        padding: .75rem 0 .25rem;
        border-top: 1px solid var(--line);
    }
    .site-nav .navbar-nav { align-items: stretch !important; gap: .12rem; }
    .menu .nav-link, .site-nav .nav-link {
        padding: .7rem .85rem !important;
        text-align: left;
        transform: none !important;
    }
    .site-nav .dropdown-menu { margin: .2rem 0 .45rem !important; box-shadow: none !important; }
    .filter-dropdown {
        left: auto !important;
        width: 100% !important;
        max-height: 65vh !important;
        transform: none !important;
    }
    .kart .card-img-top { height: 100%; }
}
@media (min-width: 992px) and (max-width: 1199px) {
    .site-brand { margin-right: .75rem; }
    .site-brand__primary { height: 56px; }
    .site-brand__century { height: 32px; }
    .site-nav__ataturk { height: 36px; }
    .menu .nav-link, .site-nav .nav-link { padding: .62rem .5rem !important; font-size: .76rem; }
    .site-search { flex-basis: 215px; min-width: 190px; }
}
@media (max-width: 575px) {
    .site-masthead {
        min-height: clamp(152px, 44vw, 172px);
        padding: .65rem;
        background-position: center 50%;
    }
    .site-masthead__home {
        width: min(100%, 430px);
        padding: .66rem .7rem .72rem;
        border-radius: 17px;
    }
    .site-masthead__eyebrow {
        gap: .38rem;
        margin-bottom: .3rem;
        padding: .18rem .48rem .18rem .2rem;
        font-size: clamp(.49rem, 2.25vw, .58rem);
        letter-spacing: .055em;
    }
    .site-masthead__ministry { padding: .18rem .36rem; }
    .site-masthead__title { font-size: clamp(1.45rem, 6.4vw, 1.8rem); }
    .site-masthead__subtitle {
        gap: .42rem;
        margin-top: .3rem;
        font-size: clamp(.66rem, 3.2vw, .78rem);
    }
    .site-masthead__subtitle-line { width: 16px; }
    .site-brand { gap: .42rem; }
    .site-brand__primary { height: 48px; }
    .site-brand__century { height: 27px; }
    .site-nav__ataturk { height: 31px; }
    .site-nav__inner { padding-inline: .75rem; }
    #mansetSlide .carousel-caption { padding: 2rem 1.15rem 2.75rem; }
    .panel-header-bg { font-size: 1rem !important; padding: .8rem 1rem !important; }
}

/* Container ölçüsü — okunabilirlik için makul üst sınır */
@media (min-width: 1400px) {
    .container.mt-2 { max-width: 1320px !important; margin-left: auto; margin-right: auto; }
}

/* ============================================================
   v2 — SAYFA BİLEŞENLERİ (kalıp serbest, daha modern/usable)
   ============================================================ */

/* ---------- Sayfa başlığı şeridi (hero band) ---------- */
.page-hero {
    position: relative;
    isolation: isolate;
    background: linear-gradient(128deg, #0b415c 0%, var(--nav-blue) 56%, var(--nav-turquoise) 112%);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, .24);
    border-radius: 22px;
    padding: clamp(1.55rem, 4vw, 2.7rem) clamp(1.25rem, 4vw, 2.6rem);
    margin: clamp(1.15rem, 3vw, 2rem) 0 clamp(1.5rem, 3vw, 2.25rem);
    box-shadow: 0 16px 38px rgba(7, 65, 92, .16);
    overflow: hidden;
}
.page-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background:
        linear-gradient(115deg, transparent 0 58%, rgba(255, 255, 255, .055) 58% 61%, transparent 61%),
        radial-gradient(circle at 86% 20%, rgba(255, 255, 255, .16), transparent 15rem);
    pointer-events: none;
}
.page-hero::after {
    content: "";
    position: absolute;
    right: -60px; top: -60px;
    width: 220px; height: 220px;
    background: radial-gradient(circle, rgba(255,255,255,.13), transparent 70%);
    pointer-events: none;
}
.page-hero .crumbs {
    font-size: .82rem;
    color: rgba(255,255,255,.85);
    margin-bottom: .5rem;
    display: flex; gap: .4rem; align-items: center; flex-wrap: wrap;
}
.page-hero .crumbs a { color: #fff; opacity: .9; }
.page-hero .crumbs a:hover { opacity: 1; text-decoration: underline; }
.page-hero h1 {
    font-family: var(--font-head);
    font-weight: 800;
    color: #fff;
    max-width: 900px;
    font-size: clamp(1.45rem, 3.4vw, 2.35rem);
    margin: 0;
    line-height: 1.15;
}
.page-hero .lead {
    color: rgba(255,255,255,.92);
    margin: .55rem 0 0;
    font-size: 1rem;
    max-width: 70ch;
}
.page-hero .hero-count {
    display: inline-flex; align-items: center; gap: .4rem;
    margin-top: .85rem;
    background: rgba(255,255,255,.18);
    border: 1px solid rgba(255,255,255,.25);
    padding: .3rem .85rem;
    border-radius: var(--radius-pill);
    font-size: .85rem; font-weight: 600;
}

/* ---------- Modern kart ızgarası ---------- */
.haber-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(255px, 1fr));
    gap: clamp(1rem, 2vw, 1.4rem);
    padding: 0;
    margin: 0;
}
@media (max-width: 575px) {
    .haber-grid { grid-template-columns: 1fr; gap: 1rem; }
}
.page-hero--category { border-left: 5px solid var(--category-accent, var(--nav-turquoise)); }

/* ---------- Boş durum ---------- */
.empty-state {
    text-align: center;
    padding: 3.5rem 1.5rem;
    color: var(--muted);
    grid-column: 1 / -1;
}
.empty-state .icon {
    width: 72px; height: 72px;
    display: inline-flex; align-items: center; justify-content: center;
    border-radius: 50%;
    background: var(--brand-050);
    color: var(--brand);
    font-size: 1.8rem;
    margin-bottom: 1rem;
}
.empty-state h3 { font-size: 1.15rem; color: var(--ink); margin-bottom: .35rem; }
.empty-state p { margin: 0; }

/* ---------- Section wrapper (içerik genişliği) ---------- */
.content-wrap {
    width: min(100%, 1320px) !important;
    max-width: 1320px;
    min-height: auto;
    margin-inline: auto !important;
    padding: 0 clamp(.85rem, 3vw, 1.5rem) clamp(1.5rem, 4vw, 3rem) !important;
}

/* ---------- Yukarı çık butonu ---------- */
#scrollTop {
    position: fixed; right: 20px; bottom: 22px; z-index: 1030;
    width: 46px; height: 46px; border: 0; border-radius: 50%;
    background: var(--brand); color: #fff; font-size: 1rem;
    box-shadow: var(--shadow-md); cursor: pointer;
    opacity: 0; visibility: hidden; transform: translateY(10px);
    transition: opacity .25s var(--ease), transform .25s var(--ease), background .18s var(--ease);
}
#scrollTop.show { opacity: 1; visibility: visible; transform: translateY(0); }
#scrollTop:hover { background: var(--brand-700); transform: translateY(-2px); }

/* ---------- Breadcrumb (genel) ---------- */
.crumbs { font-size: .82rem; color: var(--muted); margin-bottom: .6rem; display: flex; gap: .4rem; align-items: center; flex-wrap: wrap; }
.crumbs a { color: var(--brand-700); }
.crumbs a:hover { text-decoration: underline; }

/* ============================================================
   HOME — kategori bölümü "tümünü göster"
   ============================================================ */
.panel-header-bg .cat-count {
    background: rgba(255,255,255,.22);
    border-radius: var(--radius-pill);
    font-size: .78rem; font-weight: 700;
    padding: .12rem .55rem;
    margin-left: .5rem;
}
.section-more {
    display: inline-flex; align-items: center; gap: .35rem;
    font-weight: 600; font-size: .9rem;
    margin: .4rem .25rem .1rem auto;
    padding: .35rem .25rem;
}
.section-more:hover { gap: .55rem; }

/* ============================================================
   HABER DETAY — okunabilir makale düzeni
   ============================================================ */
.article {
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-sm);
    overflow: hidden;
    margin: 1.25rem auto 2rem;
    max-width: 980px;
}
.article-header { padding: 1.6rem 1.75rem 1.2rem; border-bottom: 1px solid var(--line); }
.article-header h1 {
    font-family: var(--font-head); font-weight: 800;
    font-size: clamp(1.35rem, 3.4vw, 2rem);
    line-height: 1.2; color: var(--ink); margin: 0 0 .6rem;
}
.article-meta { display: flex; flex-wrap: wrap; gap: .5rem .9rem; align-items: center; }
.article-meta .chip {
    display: inline-flex; align-items: center; gap: .4rem;
    background: var(--brand-050); color: var(--brand-700);
    border: 1px solid var(--brand-100);
    padding: .28rem .7rem; border-radius: var(--radius-pill);
    font-size: .8rem; font-weight: 600;
}
.article-meta .chip.muted { background: #f1f4f8; color: var(--muted); border-color: var(--line); }
.article-body { padding: 1.5rem 1.75rem; color: var(--ink-soft); font-size: 1.04rem; line-height: 1.75; }
.article-body p { margin-bottom: 1.05rem; }
.article-body h2, .article-body h3, .article-body h4 { font-family: var(--font-head); color: var(--ink); margin: 1.6rem 0 .7rem; }
.article-body img { max-width: 100%; height: auto; border-radius: var(--radius); margin: .4rem 0; }
.article-body ul, .article-body ol { margin: 0 0 1.05rem 1.1rem; }
.article-body li { margin-bottom: .35rem; }
.article-body table { max-width: 100%; }
.article-body a { color: var(--brand-700); text-decoration: underline; }
.article-figure {
    width: 100%;
    max-width: 100%;
    margin: 0 0 1.5rem;
}
.article-figure img {
    width: 100%;
    height: auto;
    max-height: 600px;
    display: block;
    object-fit: contain;
    background: #f4f8fa;
    border-radius: var(--radius); border: 1px solid var(--line);
    box-shadow: var(--shadow-sm);
}
@media (max-width: 575px) {
    .article-figure { float: none; max-width: 100%; margin: 0 0 1rem; }
}
.article-link-cta {
    display: flex; align-items: center; gap: .6rem;
    background: var(--brand-050); border: 1px solid var(--brand-100);
    border-radius: var(--radius); padding: .85rem 1.1rem;
    color: var(--brand-700); font-weight: 600; margin: 1rem 0;
    clear: both;
}
.article-link-cta:hover { background: var(--brand-100); color: var(--brand-700); }
.article-footer {
    display: flex; align-items: center; justify-content: space-between;
    gap: 1rem; flex-wrap: wrap;
    padding: 1rem 1.75rem; border-top: 1px solid var(--line); background: #fbfcfe;
    color: var(--muted); font-size: .9rem;
}
.article-gallery { clear: both; margin: 1.5rem 1.75rem 0; }
.article-gallery .swiper { width: 100%; padding: 1.25rem 0 1.75rem; }
.article-gallery .gallery-title { font-family: var(--font-head); font-weight: 700; font-size: 1.05rem; color: var(--ink); margin-bottom: .25rem; }
.article-gallery .swiper-slide { width: 280px; height: 200px; border-radius: var(--radius); overflow: hidden; cursor: pointer; box-shadow: var(--shadow-sm); background: #f4f8fa; }
.article-gallery .swiper-slide img { width: 100%; height: 100%; object-fit: contain; transition: filter .3s var(--ease); }
.article-gallery .swiper-slide:hover img { transform: none; filter: saturate(1.04) brightness(1.02); }

/* ============================================================
   İLETİŞİM
   ============================================================ */
.contact-grid { display: grid; grid-template-columns: 1fr 1.4fr; gap: 1.5rem; align-items: start; }
@media (max-width: 850px) { .contact-grid { grid-template-columns: 1fr; } }
.contact-card {
    background: var(--card); border: 1px solid var(--line);
    border-radius: var(--radius-xl); box-shadow: var(--shadow-sm);
    padding: 1.6rem;
}
.contact-card h2 { font-size: 1.25rem; font-weight: 700; margin-bottom: 1rem; }
.info-list { list-style: none; padding: 0; margin: 0; }
.info-list li { display: flex; gap: .85rem; align-items: flex-start; padding: .7rem 0; border-bottom: 1px solid var(--line-soft); color: var(--ink-soft); }
.info-list li:last-child { border-bottom: 0; }
.info-list .ic {
    flex: 0 0 auto; width: 38px; height: 38px; border-radius: 10px;
    background: var(--brand-050); color: var(--brand-700);
    display: inline-flex; align-items: center; justify-content: center; font-size: 1rem;
}
.social-row { display: flex; gap: .6rem; margin-top: .25rem; }
.sosyal-ikonlar {
    background: var(--brand) !important; color: #fff !important;
    width: 44px !important; height: 44px !important; line-height: 44px !important;
    border-radius: 12px !important; font-size: 1.2rem !important;
    transition: transform .14s var(--ease), background .18s var(--ease);
}
.sosyal-ikonlar:hover { transform: translateY(-2px); background: var(--brand-700) !important; color:#fff !important; }
.map-embed { border-radius: var(--radius-xl); overflow: hidden; box-shadow: var(--shadow-sm); border: 1px solid var(--line); min-height: 360px; }
.map-embed iframe { display: block; width: 100%; height: 100%; min-height: 360px; border: 0; }
.map-embed iframe[hidden],
.map-consent[hidden] { display: none !important; }
.map-consent {
    min-height: 358px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    padding: 2rem;
    text-align: center;
    background:
        radial-gradient(circle at 50% 0, rgba(7, 140, 154, .12), transparent 17rem),
        #f8fbfc;
}
.map-consent__icon {
    width: 62px;
    height: 62px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
    color: var(--brand-700);
    background: #fff;
    border: 1px solid var(--brand-100);
    border-radius: 18px;
    box-shadow: var(--shadow-sm);
    font-size: 1.45rem;
}
.map-consent h2 { margin-bottom: .55rem; font-size: 1.2rem; font-weight: 750; }
.map-consent p { max-width: 44ch; margin: 0 0 1.15rem; color: var(--ink-soft); font-size: .9rem; }
.map-consent__button {
    color: #fff !important;
    background: var(--brand) !important;
    border: 0 !important;
    border-radius: var(--radius-pill) !important;
    padding: .65rem 1.2rem !important;
    font-weight: 650;
}

/* ============================================================
   FORM KARTI (Haber Paylaş) + AKORDEON (kriterler)
   ============================================================ */
.form-card {
    background: var(--card); border: 1px solid var(--line);
    border-radius: var(--radius-xl); box-shadow: var(--shadow-md);
    padding: clamp(1.5rem, 4vw, 2.75rem);
    max-width: 720px; margin: 0 auto;
}
.form-card .form-title { font-family: var(--font-head); font-weight: 800; text-align: center; margin-bottom: 1.75rem; font-size: 1.6rem; }
.form-field { display: flex; align-items: center; gap: .85rem; margin-bottom: 1.1rem; }
.form-field .ic {
    flex: 0 0 auto; width: 42px; height: 42px; border-radius: 12px;
    background: var(--brand-050); color: var(--brand-700);
    display: inline-flex; align-items: center; justify-content: center;
}
.form-field .form-outline, .form-field > div { flex: 1 1 auto; }
.form-field label { display: block; font-size: .82rem; font-weight: 600; color: var(--ink-soft); margin-bottom: .3rem; }
.giris.form-control {
    border: 1px solid var(--line) !important;
    border-bottom: 2px solid var(--line) !important;
    border-radius: var(--radius-sm) !important;
    padding: .65rem .85rem !important;
}
select.giris, select.form-control { cursor: pointer; }

/* Modern checkbox/radio (filtre paneli vb.) */
input[type="checkbox"], input[type="radio"] { accent-color: var(--brand); width: 16px; height: 16px; cursor: pointer; }
.f-panel-bg label, .filitre-kart-baslik + * label { cursor: pointer; }
.giris.form-control:focus { border-color: var(--brand) !important; border-bottom-color: var(--brand) !important; box-shadow: 0 0 0 .16rem var(--brand-100) !important; }
.btn-primary { background: var(--brand) !important; border-color: var(--brand) !important; border-radius: var(--radius-pill) !important; padding: .6rem 2.2rem !important; font-weight: 600; }
.btn-primary:hover { background: var(--brand-700) !important; border-color: var(--brand-700) !important; }
.form-privacy-note {
    max-width: 570px;
    margin: 0 auto 1.15rem;
    padding: .75rem .9rem;
    color: var(--ink-soft);
    background: var(--brand-050);
    border: 1px solid var(--brand-100);
    border-radius: var(--radius-sm);
    font-size: .8rem;
    line-height: 1.55;
}
.form-privacy-note i { margin-right: .35rem; color: var(--brand-700); }
.form-privacy-note a { font-weight: 700; text-decoration: underline; text-underline-offset: 2px; }

.accordion-item { border: 1px solid var(--line) !important; border-radius: var(--radius) !important; margin-bottom: .75rem; overflow: hidden; box-shadow: var(--shadow-xs); }
.accordion-button {
    font-family: var(--font-head); font-weight: 600; color: var(--ink) !important;
    background: #fff !important; padding: 1rem 1.25rem !important;
}
.accordion-button:not(.collapsed) { background: var(--brand-050) !important; color: var(--brand-700) !important; box-shadow: none !important; }
.accordion-button:focus { box-shadow: 0 0 0 .16rem var(--brand-100) !important; border-color: var(--brand-100) !important; }
.accordion-body { color: var(--ink-soft); line-height: 1.7; }
.accordion-body ul { margin-bottom: 0; }
.accordion-body li { margin-bottom: .45rem; }
#captcha canvas { background: var(--brand-050); border: 1px dashed var(--brand-100); border-radius: var(--radius-sm); }

/* ============================================================
   AÇIKLAMA (statik içerik) — okunur panel
   ============================================================ */
.content-panel {
    background: var(--card); border: 1px solid var(--line);
    border-radius: var(--radius-xl); box-shadow: var(--shadow-sm);
    overflow: hidden; margin: 1.25rem auto 2rem; max-width: 980px;
}
.content-panel .panel-header { background: #fff; border-bottom: 1px solid var(--line); padding: 1.4rem 1.75rem; }
.content-panel .panel-header h2 { font-family: var(--font-head); font-weight: 800; font-size: clamp(1.25rem, 3vw, 1.7rem); margin: 0; color: var(--ink); }
.content-panel .panel-body { background: #fff; padding: 1.5rem 1.75rem; color: var(--ink-soft); line-height: 1.75; }
.content-panel .panel-body h3 { font-family: var(--font-head); color: var(--brand-700); margin: 1.6rem 0 .7rem; font-size: 1.15rem; }
.content-panel .panel-body p { margin-bottom: 1.05rem; }
.content-panel .panel-body ul { margin: 0 0 1.1rem 1.1rem; }
.content-panel .panel-body li { margin-bottom: .4rem; }

/* ============================================================
   GİRİŞ (login) — modern, marka kimliği
   ============================================================ */
.login-page {
    min-height: 100vh;
    min-height: 100svh;
    margin: 0;
    padding: 0;
    background: #f5f8fa;
    font-family: var(--font-body);
    overflow-x: hidden;
}
.login-shell {
    min-height: 100vh;
    min-height: 100svh;
    display: grid;
    grid-template-columns: minmax(430px, .95fr) minmax(520px, 1.05fr);
}
.login-visual {
    position: relative;
    isolation: isolate;
    min-height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    overflow: hidden;
    padding: clamp(2rem, 4vw, 4.25rem);
    color: #fff;
    background:
        linear-gradient(145deg, rgba(5, 39, 57, .92) 0%, rgba(7, 89, 133, .82) 52%, rgba(7, 140, 154, .68) 115%),
        url('../images/login-primary-education-v1.webp') center / cover no-repeat;
}
.login-visual::before,
.login-visual::after {
    content: "";
    position: absolute;
    z-index: -1;
    border-radius: 50%;
    pointer-events: none;
}
.login-visual::before {
    width: min(42vw, 620px);
    height: min(42vw, 620px);
    right: -24%;
    top: -16%;
    border: 1px solid rgba(255, 255, 255, .12);
    box-shadow: 0 0 0 70px rgba(255, 255, 255, .025), 0 0 0 140px rgba(255, 255, 255, .018);
}
.login-visual::after {
    width: 360px;
    height: 360px;
    left: -170px;
    bottom: -170px;
    background: rgba(255, 255, 255, .045);
}
.login-visual__glow {
    position: absolute;
    z-index: -1;
    inset: auto -12rem -12rem auto;
    width: 34rem;
    height: 34rem;
    background: radial-gradient(circle, rgba(126, 240, 235, .2), transparent 68%);
    pointer-events: none;
}
.login-visual__brand {
    display: inline-flex;
    align-self: flex-start;
    max-width: min(340px, 72%);
}
.login-visual__brand img {
    display: block;
    width: 100%;
    height: auto;
    max-height: 76px;
    object-fit: contain;
    object-position: left center;
}
.login-visual__content { max-width: 660px; padding: clamp(2rem, 6vh, 5rem) 0 1rem; }
.login-visual__tag {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    margin-bottom: 1.15rem;
    padding: .52rem .95rem;
    color: #d9fbff;
    background: rgba(255, 255, 255, .1);
    border: 1px solid rgba(255, 255, 255, .15);
    border-radius: var(--radius-pill);
    font-family: var(--font-head);
    font-size: clamp(.86rem, 1.35vw, 1rem);
    font-weight: 800;
    letter-spacing: .025em;
    backdrop-filter: blur(8px);
}
.login-visual h1 {
    max-width: 620px;
    margin: 0;
    color: #fff;
    font-size: clamp(2rem, 4.5vw, 4.4rem);
    font-weight: 800;
    line-height: 1.04;
    letter-spacing: -.055em;
}
.login-visual__content > p {
    max-width: 56ch;
    margin: 1.2rem 0 0;
    color: rgba(232, 247, 251, .83);
    font-size: clamp(.96rem, 1.4vw, 1.12rem);
    line-height: 1.7;
}
.login-visual__features {
    display: flex;
    flex-wrap: wrap;
    gap: .65rem 1.15rem;
    margin: 1.7rem 0 0;
    padding: 0;
    color: rgba(240, 251, 253, .9);
    list-style: none;
    font-size: .84rem;
}
.login-visual__features li { display: inline-flex; align-items: center; gap: .48rem; }
.login-visual__features i {
    width: 20px;
    height: 20px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #c9fffb;
    background: rgba(255, 255, 255, .1);
    border-radius: 50%;
    font-size: .62rem;
}
.login-main {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: clamp(5.5rem, 8vw, 8rem) clamp(1.25rem, 6vw, 6.5rem) 3rem;
    background:
        radial-gradient(circle at 100% 0%, rgba(7, 140, 154, .09), transparent 24rem),
        radial-gradient(circle at 0% 100%, rgba(8, 117, 173, .07), transparent 28rem),
        #f7f9fb;
}
.login-card {
    width: 100%;
    max-width: 490px;
    padding: clamp(1.5rem, 4vw, 2.75rem);
    background: rgba(255, 255, 255, .94);
    border: 1px solid rgba(14, 67, 91, .1);
    border-radius: 26px;
    box-shadow: 0 26px 70px rgba(15, 46, 64, .12);
    backdrop-filter: blur(12px);
}
.login-brand { margin-bottom: 2rem; }
.login-brand img {
    display: block;
    width: auto;
    max-width: min(100%, 310px);
    height: 62px;
    object-fit: contain;
    object-position: left center;
    filter: brightness(0) saturate(100%) invert(13%) sepia(97%) saturate(5457%) hue-rotate(352deg) brightness(94%) contrast(103%);
}
.login-heading { margin-bottom: 1.75rem; }
.login-heading__badge {
    display: inline-flex;
    align-items: center;
    gap: .45rem;
    margin-bottom: .7rem;
    color: var(--brand-700);
    font-size: .73rem;
    font-weight: 700;
    letter-spacing: .035em;
}
.login-card h2 {
    margin: 0;
    color: var(--ink);
    font-size: clamp(1.55rem, 3vw, 2rem);
    font-weight: 800;
    line-height: 1.18;
    letter-spacing: -.035em;
}
.login-card .sub { margin: .5rem 0 0; color: var(--muted); font-size: .92rem; }
.login-form { scroll-margin-top: 1rem; }
.login-field { margin-bottom: 1rem; }
.login-field label {
    display: block;
    margin: 0 0 .38rem;
    color: var(--ink-soft);
    font-family: var(--font-head);
    font-size: .78rem;
    font-weight: 700;
}
.login-control { position: relative; }
.login-field .ic {
    position: absolute;
    left: 1rem;
    top: 50%;
    z-index: 1;
    display: inline-flex;
    color: #71808c;
    transform: translateY(-50%);
    pointer-events: none;
}
.login-field .form-control {
    width: 100%;
    min-height: 52px;
    padding: .78rem 3rem .78rem 2.75rem;
    color: var(--ink);
    background: #f8fafb;
    border: 1px solid #dce4e8;
    border-radius: 13px;
    font-size: .95rem;
    transition: border-color .18s var(--ease), box-shadow .18s var(--ease), background .18s var(--ease);
}
.login-field .form-control::placeholder { color: #929da5; }
.login-field .form-control:focus { border-color: var(--brand); box-shadow: 0 0 0 .2rem rgba(15, 111, 130, .12); background: #fff; outline: none; }
.login-password-toggle {
    position: absolute;
    right: .55rem;
    top: 50%;
    width: 38px;
    height: 38px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    color: var(--muted);
    background: transparent;
    border: 0;
    border-radius: 10px;
    cursor: pointer;
    transform: translateY(-50%);
}
.login-password-toggle:hover { color: var(--brand-700); background: var(--brand-050); }
.login-btn {
    width: 100%;
    min-height: 52px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: .4rem;
    padding: .78rem 1.05rem .78rem 1.2rem;
    color: #fff;
    background: linear-gradient(135deg, var(--brand-700), var(--nav-turquoise));
    border: 0;
    border-radius: 13px;
    box-shadow: 0 12px 28px rgba(7, 89, 133, .2);
    font-family: var(--font-head);
    font-size: .9rem;
    font-weight: 700;
    cursor: pointer;
    transition: filter .18s var(--ease), transform .18s var(--ease), box-shadow .18s var(--ease);
}
.login-btn__arrow {
    width: 32px;
    height: 32px;
    flex: 0 0 32px;
    padding: 7px;
    color: currentColor;
    background: rgba(255, 255, 255, .14);
    border-radius: 9px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}
.login-btn:hover { color: #fff; filter: brightness(.96); transform: translateY(-2px); box-shadow: 0 16px 34px rgba(7, 89, 133, .26); }
.login-back {
    position: absolute;
    top: clamp(1.3rem, 3vw, 2.5rem);
    right: clamp(1.3rem, 4vw, 3.5rem);
    display: inline-flex;
    align-items: center;
    gap: .48rem;
    padding: .52rem .75rem;
    color: var(--muted);
    background: rgba(255, 255, 255, .74);
    border: 1px solid var(--line);
    border-radius: var(--radius-pill);
    font-size: .8rem;
    font-weight: 600;
}
.login-back:hover { color: var(--brand-700); background: #fff; }
.login-alert { margin-bottom: 1rem; font-size: .86rem; box-shadow: none; }
.login-alert ul { margin: 0; padding-left: 1.15rem; }
.login-security-note {
    display: flex;
    align-items: flex-start;
    gap: .48rem;
    margin: 1.15rem 0 0;
    color: #7b8790;
    font-size: .76rem;
    line-height: 1.5;
}
.login-security-note i { margin-top: .16rem; color: var(--brand); }
.login-security-note a { color: var(--brand-700); font-weight: 700; text-decoration: underline; text-underline-offset: 2px; }

@media (max-width: 980px) {
    .login-shell { grid-template-columns: 1fr; }
    .login-visual { min-height: 340px; padding: 2rem clamp(1.25rem, 6vw, 4rem); }
    .login-visual__brand { max-width: 270px; }
    .login-visual__content { padding: 3.5rem 0 0; }
    .login-visual h1 { max-width: 720px; font-size: clamp(2rem, 7vw, 3.6rem); }
    .login-main { min-height: 620px; padding-top: 6.5rem; }
}

@media (max-width: 575px) {
    .login-visual { min-height: 280px; padding: 1.35rem 1rem 1.75rem; }
    .login-visual__brand { max-width: 220px; }
    .login-visual__content { padding-top: 2.5rem; }
    .login-visual__tag { margin-bottom: .65rem; }
    .login-visual h1 { font-size: 2rem; }
    .login-visual__content > p { margin-top: .75rem; font-size: .88rem; line-height: 1.55; }
    .login-visual__features { display: none; }
    .login-main { min-height: auto; align-items: flex-start; padding: 5.5rem .75rem 2rem; }
    .login-back { top: 1.15rem; right: 1rem; }
    .login-card { padding: 1.35rem 1.05rem 1.5rem; border-radius: 20px; }
    .login-brand { margin-bottom: 1.35rem; }
    .login-brand img { height: 50px; }
}

/* ============================================================
   v3 — ORTAK RESPONSIVE / ERİŞİLEBİLİRLİK İYİLEŞTİRMELERİ
   ============================================================ */
@media (min-width: 768px) and (max-width: 1024px) {
    #mansetSlide .swiper-button-next,
    #mansetSlide .swiper-button-prev,
    .home-section .swiper-button-next,
    .home-section .swiper-button-prev { display: flex !important; }
}

@media (max-width: 1050px) {
    .home-overview { grid-template-columns: 1fr; align-items: start; gap: 1.35rem; }
    .home-overview__side { grid-template-columns: 1fr auto; align-items: end; }
    .site-footer__grid { grid-template-columns: 1fr 1fr; }
    .site-footer__brand {
        grid-column: 1 / -1;
        padding-bottom: 1.75rem;
        border-bottom: 1px solid rgba(255, 255, 255, .14);
    }
    .site-footer__brand p { max-width: 64ch; }
}

@media (max-width: 850px) {
    .cookie-consent { grid-template-columns: auto minmax(0, 1fr); }
    .cookie-consent__actions { grid-column: 1 / -1; justify-content: flex-end; }
}

@media (max-width: 767px) {
    .home-page { padding-top: .85rem; }
    .home-hero-shell,
    .home-overview,
    .home-feed,
    .site-footer__inner { width: calc(100% - 1.5rem); }
    #mansetSlide { height: clamp(290px, 82vw, 410px); border-radius: 20px; }
    #mansetSlide .swiper-slide img {
        height: auto;
        aspect-ratio: 1900 / 636;
        object-position: center top;
    }
    #mansetSlide .carousel-caption {
        justify-content: flex-end;
        padding: 2rem 1.15rem 2.9rem;
        background: linear-gradient(to top, rgba(4, 24, 40, .76) 0%, rgba(4, 24, 40, .38) 52%, rgba(4, 24, 40, .06) 100%);
    }
    #mansetSlide .carousel-caption h2 { font-size: clamp(1.25rem, 6vw, 1.75rem); line-height: 1.18; }
    .home-hero__eyebrow { margin-bottom: .55rem; font-size: .63rem; }
    .home-hero__meta { margin-top: .7rem; font-size: .76rem; }
    #mansetSlide .swiper-button-next,
    #mansetSlide .swiper-button-prev,
    .home-section .swiper-button-next,
    .home-section .swiper-button-prev { display: none !important; }
    .home-overview { margin-top: 1.1rem; margin-bottom: 2rem; padding: 1rem 0 1.5rem; }
    .home-overview__side { grid-template-columns: 1fr; align-items: start; }
    .home-overview__actions { width: 100%; }
    .home-action { flex: 1 1 160px; }
    .home-section__header { align-items: flex-start; flex-direction: column; gap: .85rem; }
    .home-section__tools { width: 100%; justify-content: space-between; }
    .home-section .panel-body { padding: .7rem .75rem 1rem !important; }
    .site-footer__grid { grid-template-columns: 1fr; gap: 2.25rem; }
    .site-footer__brand { grid-column: auto; }
    .site-footer__category-list { columns: 2; }
    .site-footer__bottom { align-items: flex-start; flex-direction: column; gap: .8rem; }
    .site-footer__bottom-actions { width: 100%; align-items: flex-start; justify-content: space-between; flex-wrap: wrap; }
    .article-header,
    .article-body,
    .article-footer { padding-left: 1rem; padding-right: 1rem; }
    .article-gallery { margin-left: 1rem; margin-right: 1rem; }
    .article-gallery .swiper-slide { width: min(260px, calc(100vw - 4rem)); height: 180px; }
    .content-panel .panel-header,
    .content-panel .panel-body { padding-left: 1rem; padding-right: 1rem; }
    .form-card { padding: 1.2rem 1rem; }
    .form-field { align-items: flex-start; gap: .65rem; }
    .form-field > div { min-width: 0; }
    .form-field .d-flex.gap-3 { align-items: stretch !important; flex-direction: column; }
    .contact-card { padding: 1.2rem; }
}

@media (max-width: 420px) {
    .home-overview__stats { display: grid; grid-template-columns: 1fr 1fr; }
    .home-overview__stats span { justify-content: center; text-align: center; }
    .home-section__tools { align-items: stretch; flex-direction: column; }
    .home-section .cat-count,
    .home-section .section-more { align-self: flex-start; }
    .site-footer__category-list { columns: 1; }
    .page-hero { border-radius: 18px; }
}

@media (max-width: 575px) {
    .cookie-consent {
        width: calc(100% - 1rem);
        bottom: .5rem;
        grid-template-columns: 1fr;
        gap: .75rem;
        padding: .9rem;
        border-radius: 16px;
    }
    .cookie-consent__icon { display: none; }
    .cookie-consent__actions { grid-column: auto; width: 100%; }
    .cookie-consent__button { flex: 1 1 0; min-width: 0; }
    .site-footer__legal { align-items: flex-start; flex-direction: column; gap: .45rem; }
    .site-footer__legal > * + * { padding-left: 0; border-left: 0; }
    .responsibility-modal .modal-dialog { margin: .75rem; }
    .responsibility-modal .modal-body { padding: 1.5rem 1.1rem 1rem !important; }
    .responsibility-modal .modal-footer { padding: .2rem 1.1rem 1.35rem !important; }
    .responsibility-modal__confirm { width: 100%; }
}

.article-body { overflow-wrap: anywhere; }
.article-body table { display: block; width: 100%; overflow-x: auto; }
.article-body iframe,
.article-body video { max-width: 100%; }

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after {
        scroll-behavior: auto !important;
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: .01ms !important;
    }
}
