/* ============================================
   Sendika - Ana Stil Dosyası
   ============================================ */

:root {
    --color-bg: #fafbfc;
    --color-surface: #ffffff;
    --color-primary: #01277a;
    --color-primary-light: #033a9e;
    --color-accent: #fce000;
    --color-accent-hover: #e0c800;
    --color-text: #1f2937;
    --color-text-muted: #6b7280;
    --color-border: #e5e7eb;
    --font-sans: 'Open Sans', sans-serif;
    --font-serif: 'Source Serif 4', Georgia, serif;
    --font-nav: 'Plus Jakarta Sans', system-ui, sans-serif;
    --radius: 8px;
    --radius-lg: 12px;
    --shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 40px -10px rgba(15, 40, 66, 0.15);
    --container: min(1200px, 100% - 2rem);
    /* Sabit header: üst bölüm (logo) + mavi nav şeridi — içerik padding-top ile hizalanır */
    --header-h: 190px;
    --nav-blue: #01277a;
    --nav-blue-hover: #033a9e;
}

*, *::before, *::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: var(--font-sans);
    font-size: 1rem;
    line-height: 1.6;
    color: var(--color-text);
    background: var(--color-bg);
}

a {
    color: inherit;
    text-decoration: none;
}

ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.container {
    width: var(--container);
    margin-inline: auto;
    padding-inline: 1rem;
}

.container--wide {
    width: min(1400px, 100% - 2rem);
}

/* ----- Header ----- */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

/* Üst bar - beyaz */
.header-top {
    background: #fff;
    border-bottom: 1px solid var(--color-border);
    font-family: var(--font-nav);
}

.header-top-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 1.25rem;
    gap: 1.25rem;
}

/* Sol: sosyal medya | Orta: logo | Sağ: üye ol / giriş */
.header-top-left {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: flex-start;
}

.header-brand {
    flex: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.header-logo {
    display: block;
    flex-shrink: 0;
}

.header-logo-img {
    display: block;
    height: 105px;
    width: auto;
    object-fit: contain;
}

.header-top-right {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 0.6rem;
}

/* Ortak yükseklik (44px): sosyal ikonlar ve üye butonları uyumlu */
.header-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 44px;
    padding: 0 1.35rem;
    font-family: var(--font-sans);
    font-weight: 600;
    font-size: 0.9rem;
    border-radius: var(--radius);
    border: 2px solid transparent;
    text-decoration: none;
    transition: background 0.2s, color 0.2s, border-color 0.2s;
}

.header-btn-primary {
    background: var(--color-accent);
    color: #1a1a1a;
}

.header-btn-primary:hover {
    background: var(--color-accent-hover);
    color: #1a1a1a;
}

.header-btn-outline {
    background: transparent;
    color: var(--color-primary);
    border-color: var(--color-border);
}

.header-btn-outline:hover {
    background: var(--color-primary);
    color: #fff;
    border-color: var(--color-primary);
}

.header-btn--disabled {
    cursor: not-allowed;
    pointer-events: none;
    opacity: 0.55;
}

.header-btn-primary.header-btn--disabled:hover {
    background: var(--color-accent);
    color: #1a1a1a;
}

.header-btn-outline.header-btn--disabled:hover {
    background: transparent;
    color: var(--color-primary);
    border-color: var(--color-border);
}

.header-social {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.social-icon {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    color: var(--color-primary);
    background: transparent;
    border: 2px solid var(--color-border);
    border-radius: var(--radius);
    transition: background 0.2s, color 0.2s, border-color 0.2s;
}

.social-icon i {
    font-size: inherit;
}

.social-icon:hover {
    border-color: var(--color-primary);
    color: #fff;
    background: var(--color-primary);
}

.social-fb:hover { background: #1877f2; border-color: #1877f2; }
.social-tw:hover { background: #1da1f2; border-color: #1da1f2; }
.social-ig:hover { background: linear-gradient(135deg, #f58529, #dd2a7b, #8134af); border-color: #dd2a7b; }
.social-yt:hover { background: #ff0000; border-color: #ff0000; }

/* Ana navigasyon - mavi */
.header-nav-wrap {
    background: var(--nav-blue);
    font-family: var(--font-nav);
}

.header-nav-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 0 1rem;
    min-height: 48px;
}

.nav-list {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.nav-list li {
    display: flex;
    position: relative;
}

/* Menü öğeleri arası ayraç */
.nav-list > li:not(:last-child)::after {
    content: '';
    position: absolute;
    right: -0.28rem;
    top: 50%;
    transform: translateY(-50%);
    width: 1px;
    height: 1.15em;
    background: rgba(255, 255, 255, 0.4);
    border-radius: 1px;
}

.nav-list a {
    display: inline-flex;
    align-items: center;
    gap: 0.2rem;
    padding: 0.85rem 1rem;
    font-weight: 600;
    font-size: 0.85rem;
    color: #fff;
    letter-spacing: 0.02em;
    transition: background 0.2s, color 0.2s;
}

.nav-link-text {
    border-bottom: 3px solid transparent;
    transition: border-color 0.2s;
}

.nav-list a.active .nav-link-text {
    border-bottom-color: var(--color-accent);
}

/* Dropdown ana başlığına hover'da da Anasayfa gibi sarı border (sadece yazı altında) */
.nav-item-has-dropdown:hover .nav-dropdown-trigger .nav-link-text {
    border-bottom-color: var(--color-accent);
}

.nav-list a:hover {
    background: var(--nav-blue-hover);
    color: #fff;
}

.nav-caret {
    font-size: 0.55em;
    opacity: 0.9;
    margin-left: 0.15rem;
}

/* KTS Hakkında dropdown */
.nav-item-has-dropdown {
    position: relative;
}

.nav-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 220px;
    padding: 0.5rem 0;
    margin: 0;
    background: #fff;
    border-radius: 0 0 var(--radius) var(--radius);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
    list-style: none;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-4px);
    transition: opacity 0.2s ease, visibility 0.2s, transform 0.2s;
    z-index: 50;
    border-top: 3px solid var(--color-accent);
}

.nav-item-has-dropdown:hover .nav-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.nav-dropdown li {
    display: block;
    border: none;
}

.nav-dropdown a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
    padding: 0.7rem 1.25rem;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--color-text);
    border-bottom: none;
    white-space: nowrap;
    transition: background 0.2s, color 0.2s;
}

.nav-dropdown a:hover {
    background: var(--color-primary);
    color: #fff;
}

.nav-dropdown-icon {
    font-size: 0.7rem;
    opacity: 0.7;
    transition: transform 0.2s;
}

.nav-dropdown a:hover .nav-dropdown-icon {
    opacity: 1;
    transform: translateX(3px);
}

.header-search {
    display: flex;
    align-items: center;
    background: #fff;
    border-radius: 4px;
    overflow: hidden;
    min-width: 180px;
}

.header-search input {
    flex: 1;
    border: none;
    padding: 0.5rem 0.75rem;
    font-size: 0.9rem;
    font-family: var(--font-sans);
}

.header-search input::placeholder {
    color: #9ca3af;
}

.header-search input:focus {
    outline: none;
}

.header-search button {
    padding: 0.5rem 0.75rem;
    border: none;
    background: #f3f4f6;
    cursor: pointer;
    color: #374151;
}

.header-search button i {
    font-size: 0.95rem;
}

.header-search button:hover {
    background: #e5e7eb;
}

.nav-toggle {
    display: none;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    min-width: 44px;
    height: 44px;
    padding: 0 0.75rem;
    background: none;
    border: none;
    cursor: pointer;
    color: #fff;
    font-size: 1.25rem;
    font-family: var(--font-nav);
}

.nav-toggle .nav-toggle-close {
    display: none;
}

.nav-toggle .nav-toggle-close-label {
    display: none;
}

.nav-toggle .nav-toggle-open {
    display: none;
}

.nav-toggle.is-open .nav-toggle-icon:not(.nav-toggle-close) {
    display: none;
}

.nav-toggle.is-open .nav-toggle-close {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
}

.nav-toggle.is-open .nav-toggle-open {
    display: none;
}

.nav-toggle.is-open .nav-toggle-close-label {
    display: inline;
    font-size: 0.9rem;
    font-weight: 600;
}

/* Mobil menü backdrop - sadece mobilde kullanılır */
.nav-backdrop {
    display: none;
}

/* Eski logo (footer için) */
.logo {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 700;
    font-size: 1.25rem;
    color: var(--color-primary);
}

.logo-icon {
    color: var(--color-accent);
    font-size: 1.1em;
}

/* ----- Buttons ----- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.5rem;
    font-family: var(--font-sans);
    font-weight: 600;
    font-size: 0.95rem;
    border-radius: var(--radius);
    border: 2px solid transparent;
    cursor: pointer;
    transition: background 0.2s, color 0.2s, border-color 0.2s;
}

.btn-primary {
    background: var(--color-accent);
    color: #1a1a1a;
}

.btn-primary:hover {
    background: var(--color-accent-hover);
    color: #1a1a1a;
}

.btn-outline {
    background: transparent;
    color: var(--color-primary);
    border-color: var(--color-primary);
}

.btn-outline:hover {
    background: var(--color-primary);
    color: #fff;
}

/* ----- Duyuru Bölümü ----- */
.section.announcement {
    padding-top: calc(var(--header-h) + 2rem);
    padding-bottom: 2.75rem;
    background: linear-gradient(180deg, #f4f8ff 0%, #ffffff 100%);
}

.announcement-card {
    position: relative;
    max-width: 980px;
    margin: 0 auto;
    background: #fff;
    border: 1px solid #d6e0f2;
    border-radius: 14px;
    box-shadow: 0 14px 34px rgba(6, 30, 84, 0.08), 0 1px 0 rgba(1, 39, 122, 0.04);
    padding: 2rem 2.1rem;
    overflow: hidden;
}

.announcement-header {
    margin-bottom: 1rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #e8edf8;
    text-align: center;
}

.announcement-logo {
    width: 92px;
    height: auto;
    margin: 0 auto 0.7rem;
}

.announcement-org {
    margin: 0 0 0.55rem;
    color: var(--color-primary);
    letter-spacing: 0.12em;
    font-size: 0.92rem;
    font-weight: 800;
}

.announcement-title {
    margin: 0;
    color: #0d2d60;
    font-family: 'Open Sans', sans-serif;
    font-size: clamp(1.55rem, 3vw, 2.2rem);
    font-weight: 800;
    line-height: 1.25;
    text-wrap: balance;
}

.announcement-lead {
    margin: 0 0 1.25rem;
    color: #263e67;
    line-height: 1.65;
}

.announcement-h2 {
    margin: 1.45rem 0 0.65rem;
    color: var(--color-primary);
    font-size: 0.95rem;
    font-weight: 800;
    letter-spacing: 0.05em;
}

.announcement-schedule p {
    margin: 0 0 0.65rem;
    color: #2c4268;
    line-height: 1.6;
}

.announcement-label {
    font-weight: 700;
    color: #143a76;
}

.announcement-list {
    margin: 0 0 1.3rem;
    padding-left: 1.2rem;
    color: #2b436a;
    line-height: 1.55;
}

.announcement-list li {
    margin-bottom: 0.42rem;
}

.announcement-list li::marker {
    color: var(--color-primary);
    font-weight: 700;
}

.announcement-footer {
    margin-top: 1.4rem;
    padding-top: 1rem;
    border-top: 1px solid #e8edf8;
}

.announcement-sign {
    margin: 0 0 0.35rem;
    color: #1a3768;
    font-size: 0.92rem;
    font-weight: 800;
}

.announcement-tagline {
    margin: 0;
    color: #4a5f83;
    font-style: italic;
    line-height: 1.45;
}

/* ----- Hero Slider: üst ana slider + alt thumbnail şeridi ----- */
.hero {
    display: flex;
    flex-direction: column;
    padding-top: var(--header-h);
    min-height: 100vh;
    overflow: hidden;
}

/* Geçici pasif: tek slayt (ilk .hero-slide-active), oklar ve thumbnail şeridi gizli */
.hero-slider--disabled .hero-slider-prev,
.hero-slider--disabled .hero-slider-next {
    display: none !important;
}

.hero-slider--disabled .hero-thumbs-wrap {
    display: none;
}

/* Tek duyuru (Genel Kurul ilanı): tam genişlik, uzun metin */
.hero.hero-slider--disabled {
    min-height: 0;
}

.hero.hero-slider--disabled .hero-main {
    flex: 0 0 auto;
    height: auto;
    min-height: min(100vh, 920px);
}

.hero.hero-slider--disabled .hero-slider-track {
    position: relative;
    inset: auto;
    min-height: inherit;
}

.hero.hero-slider--disabled .hero-slide--announcement {
    position: relative;
    inset: auto;
    opacity: 1;
    visibility: visible;
    min-height: min(100vh, 920px);
    display: flex;
    flex-direction: column;
}

.hero.hero-slider--disabled .hero-slide--announcement .hero-slide-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero.hero-slider--disabled .hero-slide--announcement .hero-slide-overlay {
    position: absolute;
    inset: 0;
    width: 100%;
    min-width: 0;
    left: 0;
    right: 0;
    z-index: 1;
    background: rgba(1, 39, 122, 0.92);
}

.hero.hero-slider--disabled .hero-slide--announcement .hero-slide-inner {
    position: relative;
    left: auto;
    right: auto;
    top: auto;
    transform: none;
    width: 100%;
    max-width: 52rem;
    min-width: 0;
    margin: 0 auto;
    z-index: 2;
    padding: 2.5rem 1.5rem 3rem;
    align-items: stretch;
    text-align: left;
    flex: 1;
    box-sizing: border-box;
}

.hero-announce {
    color: rgba(255, 255, 255, 0.95);
    font-size: 0.95rem;
    line-height: 1.55;
}

.hero-announce-header {
    text-align: center;
    margin-bottom: 1.25rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.hero-announce-org {
    margin: 0 0 0.5rem;
    font-family: var(--font-sans);
    font-size: 0.8rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    color: var(--color-accent);
}

.hero-announce-title {
    margin: 0;
    font-family: 'Open Sans', sans-serif;
    font-size: clamp(1.15rem, 2.5vw, 1.65rem);
    font-weight: 800;
    line-height: 1.3;
    color: #fff;
    text-wrap: balance;
}

.hero-announce-lead {
    margin: 0 0 1.5rem;
}

.hero-announce-lead strong {
    color: #fff;
}

.hero-announce-h2 {
    margin: 1.5rem 0 0.65rem;
    font-family: var(--font-sans);
    font-size: 0.85rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    color: var(--color-accent);
}

.hero-announce-schedule {
    margin: 0 0 0.25rem;
}

.hero-announce-schedule p {
    margin: 0 0 0.85rem;
}

.hero-announce-label {
    display: inline;
    font-weight: 700;
    color: #fff;
}

.hero-announce-list {
    margin: 0 0 1.5rem;
    padding-left: 1.35rem;
}

.hero-announce-list li {
    margin-bottom: 0.4rem;
    padding-left: 0.2rem;
}

.hero-announce-list li::marker {
    color: var(--color-accent);
    font-weight: 700;
}

.hero-announce-footer {
    margin-top: 1.75rem;
    padding-top: 1.25rem;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    text-align: center;
}

.hero-announce-sign {
    margin: 0 0 0.5rem;
    font-size: 0.8rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    color: #fff;
}

.hero-announce-tagline {
    margin: 0;
    font-size: 0.88rem;
    font-style: italic;
    color: rgba(255, 255, 255, 0.88);
    line-height: 1.45;
}

/* Üst: Ana slider alanı */
.hero-main {
    position: relative;
    flex: 1;
    min-height: 0;
    height: 72vh;
}

.hero-slider-track {
    position: absolute;
    inset: 0;
}

.hero-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.5s ease, visibility 0.5s;
    z-index: 0;
}

.hero-slide-active {
    opacity: 1;
    visibility: visible;
    z-index: 1;
}

.hero-slide-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    background-color: var(--color-primary);
}

/* Overlay sağda, haber kutusu gibi */
.hero-slide-overlay {
    position: absolute;
    top: 0;
    right: 0;
    width: 48%;
    min-width: 320px;
    height: 100%;
    background: rgba(1, 39, 122, 0.92);
}

.hero-slide-inner {
    position: absolute;
    right: 5rem;
    top: 50%;
    transform: translateY(-50%);
    width: 48%;
    min-width: 320px;
    max-width: 560px;
    z-index: 2;
    padding: 2rem 2rem 2rem 2.5rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.hero-slide-meta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 0.75rem;
    font-size: 0.9rem;
}

.hero-slide-meta time {
    color: rgba(255, 255, 255, 0.9);
}

.hero-slide-cat {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    background: var(--color-accent);
    color: #1a1a1a;
    font-weight: 700;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border-radius: 4px;
}

.hero-slide-title {
    font-family: 'Open Sans', sans-serif;
    font-size: clamp(1.5rem, 3.2vw, 2.25rem);
    font-weight: 700;
    line-height: 1.25;
    color: #fff;
    margin: 0 0 0.5rem;
}

.hero-slide-sub {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.85);
    margin: 0 0 1.25rem;
}

.hero-slide-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--color-accent);
    transition: gap 0.2s, color 0.2s;
}

.hero-slide-link:hover {
    color: #fff;
    gap: 0.75rem;
}

.hero-slide-link i {
    font-size: 0.85em;
}

/* Ana slider okları (sağ kenar) */
.hero-slider-prev,
.hero-slider-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.12);
    border: 2px solid rgba(255, 255, 255, 0.35);
    color: #fff;
    font-size: 1.1rem;
    border-radius: 50%;
    cursor: pointer;
    transition: background 0.2s, border-color 0.2s;
}

.hero-slider-prev:hover,
.hero-slider-next:hover {
    background: rgba(255, 255, 255, 0.25);
    border-color: rgba(255, 255, 255, 0.7);
}

.hero-slider-prev { left: 1.25rem; }
.hero-slider-next { right: 1.25rem; }

/* Alt: Thumbnail şeridi */
.hero-thumbs-wrap {
    position: relative;
    flex-shrink: 0;
    height: 140px;
    background: var(--color-primary);
    display: flex;
    align-items: stretch;
    overflow: hidden;
}

.hero-thumbs-track {
    flex: 1;
    display: flex;
    align-items: stretch;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 1rem;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
}

.hero-thumbs-track::-webkit-scrollbar {
    display: none;
}

.hero-thumb {
    flex-shrink: 0;
    width: 220px;
    scroll-snap-align: start;
    position: relative;
    border: 3px solid transparent;
    border-radius: 6px;
    overflow: hidden;
    cursor: pointer;
    background: #000;
    padding: 0;
    text-align: left;
    transition: border-color 0.2s, transform 0.2s;
}

.hero-thumb:hover {
    border-color: rgba(255, 255, 255, 0.4);
}

.hero-thumb-active {
    border-color: var(--color-accent);
}

.hero-thumb-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
}

.hero-thumb-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.85) 0%, transparent 50%);
}

.hero-thumb-title {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 0.6rem 0.75rem;
    font-family: 'Open Sans', sans-serif;
    font-size: 0.8rem;
    font-weight: 600;
    color: #fff;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

@keyframes heroBounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(6px); }
}

@media (max-width: 768px) {
    :root {
        /* Mobilde iki satırlı üst alan + mavi nav (~184px + 48px) */
        --header-h: 232px;
    }

    .section.announcement {
        padding-top: calc(var(--header-h) + 1rem);
        padding-bottom: 1.75rem;
    }

    .announcement-card {
        padding: 1.35rem 1rem;
    }

    .announcement-logo {
        width: 74px;
        margin-bottom: 0.55rem;
    }

    .announcement-org {
        font-size: 0.82rem;
        letter-spacing: 0.1em;
    }

    .announcement-title {
        font-size: clamp(1.28rem, 5.2vw, 1.65rem);
    }

    .announcement-h2 {
        font-size: 0.88rem;
    }

    .announcement-lead,
    .announcement-schedule p,
    .announcement-list {
        font-size: 0.92rem;
    }

    .hero {
        min-height: 0;
    }

    .hero-main {
        height: 55vh;
        min-height: 280px;
    }

    .hero-slide-overlay {
        width: 100%;
        min-width: 0;
        left: 0;
        right: 0;
        background: linear-gradient(to top, rgba(1, 39, 122, 0.96) 0%, rgba(1, 39, 122, 0.85) 50%, rgba(1, 39, 122, 0.5) 100%);
    }

    .hero-slide-inner {
        width: 100%;
        min-width: 0;
        max-width: none;
        left: 0;
        right: 0;
        top: 50%;
        bottom: auto;
        transform: translateY(-50%);
        padding: 1.25rem 4rem 1.5rem;
        justify-content: center;
        align-items: center;
        text-align: center;
    }

    .hero.hero-slider--disabled .hero-main {
        height: auto;
        min-height: 0;
    }

    .hero.hero-slider--disabled .hero-slide--announcement {
        min-height: 0;
    }

    .hero.hero-slider--disabled .hero-slide--announcement .hero-slide-inner {
        top: auto;
        transform: none;
        padding: 1.5rem 1.1rem 2rem;
        text-align: left;
        align-items: stretch;
    }

    .hero-slide-meta {
        gap: 0.5rem;
        margin-bottom: 0.5rem;
        font-size: 0.75rem;
        flex-wrap: wrap;
        justify-content: center;
    }

    .hero-slide-cat {
        font-size: 0.65rem;
        padding: 0.2rem 0.5rem;
    }

    .hero-slide-title {
        font-size: 1.1rem;
        line-height: 1.3;
        margin-bottom: 0.35rem;
        -webkit-line-clamp: 2;
        display: -webkit-box;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }

    .hero-slide-sub {
        font-size: 0.8rem;
        margin-bottom: 0.75rem;
        -webkit-line-clamp: 2;
        display: -webkit-box;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }

    .hero-slide-link {
        font-size: 0.85rem;
    }

    .hero-slider-prev {
        left: 0.5rem;
        right: auto;
        width: 44px;
        height: 44px;
        font-size: 1rem;
        top: 50%;
        transform: translateY(-50%);
    }

    .hero-slider-next {
        left: auto;
        right: 0.5rem;
        width: 44px;
        height: 44px;
        font-size: 1rem;
        top: 50%;
        transform: translateY(-50%);
    }

    .hero-thumbs-wrap {
        height: 100px;
        -webkit-overflow-scrolling: touch;
    }

    .hero-thumbs-track {
        padding: 0.5rem 1rem;
        gap: 0.5rem;
        justify-content: flex-start;
        scroll-snap-type: x mandatory;
    }

    /* Mobilde ~2,5 thumb görünsün (2 tam + yarım), kaydırma belli olsun */
    .hero-thumb {
        width: calc((100vw - 2rem - 1rem) / 2.5);
        min-width: 100px;
        max-width: 140px;
        flex-shrink: 0;
        scroll-snap-align: center;
    }

    .hero-thumb-title {
        font-size: 0.65rem;
        padding: 0.4rem 0.5rem;
        -webkit-line-clamp: 2;
    }

    /* Haber kartları: mobilde 1 kart – genişlik JS ile piksel bazında ayarlanıyor */
    .news-slider-wrap {
        width: 100%;
    }

    .news-slide {
        flex: 0 0 auto;
        min-width: 0;
        padding: 0 0.5rem;
        box-sizing: border-box;
    }

    .news-card-image {
        height: 140px;
    }

    .news-card-body {
        padding: 1rem;
    }

    .news-card-body h3 {
        font-size: 1rem;
    }

    .news-card-body p {
        font-size: 0.85rem;
    }
}

@media (max-width: 480px) {
    .hero-main {
        height: 50vh;
        min-height: 260px;
    }

    .hero.hero-slider--disabled .hero-main {
        height: auto;
        min-height: 0;
    }

    .hero.hero-slider--disabled .hero-slide--announcement .hero-slide-inner {
        padding: 1.25rem 1rem 1.75rem;
    }

    .hero-slide-inner {
        padding: 1rem 3.5rem 1.25rem;
    }

    .hero-slide-title {
        font-size: 1rem;
    }

    .hero-slider-prev {
        left: 0.35rem;
        right: auto;
        width: 38px;
        height: 38px;
    }

    .hero-slider-next {
        left: auto;
        right: 0.35rem;
        width: 38px;
        height: 38px;
    }

    .hero-thumb {
        width: calc((100vw - 2rem - 1rem) / 2.5);
        min-width: 90px;
        max-width: 120px;
    }

    .hero-thumbs-wrap {
        height: 90px;
    }
}

/* ----- Sections ----- */
.section {
    padding: 4rem 0;
}

.section-header {
    margin-bottom: 2.5rem;
}

.section-label {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--color-accent);
    margin-bottom: 0.5rem;
}

.section-title {
    font-family: var(--font-serif);
    font-size: clamp(1.75rem, 3vw, 2.25rem);
    font-weight: 700;
    color: var(--color-primary);
    margin: 0;
}

.section-header.flex-row {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    justify-content: space-between;
    gap: 1rem;
}

/* ----- About (Biz kimiz?) ----- */
.about {
    background: var(--color-bg);
}

.about .section-label {
    color: var(--color-primary);
}

.about .section-title {
    font-family: var(--font-sans);
    color: var(--color-primary);
}

.about-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    max-width: 1200px;
    margin: 0 auto;
    background: var(--color-surface);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    overflow: hidden;
}

.about-left {
    padding: 2.5rem 2rem;
}

.about-right {
    min-height: 280px;
    background: var(--color-primary);
}

.about-img {
    width: 100%;
    height: 100%;
    min-height: 280px;
    object-fit: cover;
    display: block;
}

.about-header {
    margin-bottom: 1.5rem;
}

.about-header .section-title {
    margin-top: 0.25rem;
}

.about-content .about-lead {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--color-primary);
    margin: 0 0 1rem;
    line-height: 1.5;
}

.about-content p {
    margin: 0 0 1.25rem;
    color: #1a1a1a;
    line-height: 1.7;
}

.about-content p:last-of-type {
    margin-bottom: 1.5rem;
}

.about-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--color-primary);
    transition: gap 0.2s, color 0.2s;
}

.about-link:hover {
    color: var(--color-primary-light);
    gap: 0.75rem;
}

.about-link i {
    font-size: 0.8em;
}

.link-arrow {
    font-weight: 600;
    color: var(--color-accent);
    transition: gap 0.2s;
}

.link-arrow:hover {
    text-decoration: underline;
}

/* ----- News (Haberler & Duyurular) ----- */
.news {
    background: var(--color-bg);
}

.news .section-label {
    color: var(--color-primary);
}

.news .section-title {
    font-family: var(--font-sans);
    color: var(--color-primary);
}

.news-header {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 2rem;
    padding-left: calc(44px + 1rem);
    padding-right: calc(44px + 1rem);
}

.news-header .section-header {
    margin-bottom: 0;
}

.news-all-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--color-primary);
    transition: gap 0.2s, color 0.2s;
}

.news-all-link:hover {
    color: var(--color-primary-light);
    gap: 0.75rem;
}

.news-all-link i {
    font-size: 0.8em;
}

.news-slider-outer {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.news-slider-wrap {
    flex: 1;
    min-width: 0;
    overflow: hidden;
}

.news-slider-track {
    display: flex;
    transition: transform 0.4s ease;
}

.news-slide {
    flex: 0 0 33.333%;
    min-width: 0;
    padding: 0 0.5rem;
}

.news-slider-prev,
.news-slider-next {
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    color: var(--color-primary);
    font-size: 1rem;
    border-radius: 50%;
    cursor: pointer;
    box-shadow: var(--shadow);
    transition: background 0.2s, border-color 0.2s, color 0.2s;
}

.news-slider-prev:hover,
.news-slider-next:hover {
    background: var(--color-primary);
    color: #fff;
    border-color: var(--color-primary);
}

.news-card {
    background: var(--color-surface);
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--color-border);
    transition: box-shadow 0.25s, border-color 0.25s;
    display: flex;
}

.news-card:hover {
    box-shadow: 0 8px 32px rgba(1, 39, 122, 0.08);
    border-color: rgba(1, 39, 122, 0.15);
}

.news-card-link {
    display: flex;
    flex-direction: column;
    width: 100%;
    text-decoration: none;
    color: inherit;
}

.news-card-image {
    position: relative;
    height: 200px;
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-light) 100%);
    overflow: hidden;
}

.news-card-image img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.news-card-cat {
    position: absolute;
    top: 1rem;
    left: 1rem;
    z-index: 1;
    padding: 0.35rem 0.75rem;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    background: var(--color-primary);
    color: #fff;
    border-radius: 4px;
}

.news-card-body {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    flex: 1;
    min-height: 0;
}

.news-card-body time {
    display: block;
    font-size: 0.8rem;
    font-weight: 500;
    color: #1a1a1a;
    margin-bottom: 0.5rem;
}

.news-card-body h3 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--color-primary);
    margin: 0 0 0.5rem;
    line-height: 1.35;
    transition: color 0.2s;
}

.news-card:hover .news-card-body h3 {
    color: var(--color-primary-light);
}

.news-card-body p {
    margin: 0 0 1rem;
    font-size: 0.9rem;
    line-height: 1.55;
    color: #1a1a1a;
    flex: 1;
}

.news-card-more {
    margin-top: auto;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--color-primary);
    transition: gap 0.2s, color 0.2s;
}

.news-card-more i {
    font-size: 0.7em;
}

.news-card:hover .news-card-more {
    color: var(--color-primary-light);
    gap: 0.5rem;
}

/* ----- CTA ----- */
.cta-box {
    background: linear-gradient(135deg, var(--color-primary), var(--color-primary-light));
    color: #fff;
    padding: 3rem;
    border-radius: var(--radius-lg);
    text-align: center;
    box-shadow: var(--shadow-lg);
}

.cta-title {
    font-family: var(--font-serif);
    font-size: clamp(1.5rem, 2.5vw, 1.85rem);
    font-weight: 700;
    margin: 0 0 0.75rem;
}

.cta-desc {
    margin: 0 0 1.5rem;
    opacity: 0.9;
}

.cta-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
}

.cta .btn-primary {
    background: #fff;
    color: var(--color-primary);
}

.cta .btn-primary:hover {
    background: rgba(255, 255, 255, 0.9);
}

.cta .btn-outline {
    border-color: rgba(255, 255, 255, 0.7);
    color: #fff;
}

.cta .btn-outline:hover {
    background: #fff;
    color: var(--color-primary);
    border-color: #fff;
}

/* ----- Footer ----- */
/* ----- Footer (Kurumsal) ----- */
.footer {
    background: var(--color-primary);
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.95rem;
}

.footer-inner {
    padding: 3.5rem 0 2.5rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr;
    gap: 3rem;
    align-items: start;
}

.footer-brand {
    max-width: 340px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.footer-logo {
    display: inline-block;
    margin-bottom: 1.25rem;
}

.footer-logo-img {
    height: 117px;
    width: auto;
    display: block;
}

.footer-org-name {
    margin: 0 0 1rem;
    font-size: 0.95rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.95);
    letter-spacing: 0.02em;
}

.footer-social {
    display: flex;
    gap: 0.5rem;
    justify-content: center;
}

.footer-social a {
    width: 38px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.12);
    color: #fff;
    border-radius: var(--radius);
    font-size: 0.95rem;
    transition: background 0.2s;
}

.footer-social a:hover {
    background: rgba(255, 255, 255, 0.22);
}

.footer-title {
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin: 0 0 1.25rem;
    color: #fff;
}

.footer-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.footer-list li {
    margin-bottom: 0.6rem;
}

.footer-list a {
    color: rgba(255, 255, 255, 0.88);
    transition: color 0.2s;
}

.footer-list a:hover {
    color: #fff;
}

.footer-contact-list li {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.footer-contact-list i {
    flex-shrink: 0;
    width: 1.25rem;
    margin-top: 0.2rem;
    opacity: 0.9;
}

.footer-contact-list a {
    color: rgba(255, 255, 255, 0.88);
}

.footer-contact-list span {
    line-height: 1.5;
    opacity: 0.9;
}

.footer-bottom {
    padding: 1.25rem 0;
    background: rgba(0, 0, 0, 0.2);
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-legal {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.5rem 1.25rem;
    margin-bottom: 0.75rem;
}

.footer-legal a {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.85);
    transition: color 0.2s;
}

.footer-legal a:hover {
    color: #fff;
}

.footer-bottom-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 1rem 2rem;
}

.footer-copy {
    margin: 0;
    font-size: 0.85rem;
    text-align: center;
    opacity: 0.8;
}

.footer-dev {
    margin: 0;
}

.footer-dev-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50px;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.9);
}

.footer-dev-badge i {
    font-size: 0.85em;
    opacity: 0.9;
}

.footer-dev-badge a {
    color: #fff;
    font-weight: 700;
    text-decoration: none;
    letter-spacing: 0.02em;
    transition: color 0.2s, opacity 0.2s;
}

.footer-dev-badge a:hover {
    opacity: 0.9;
}

/* ----- Responsive ----- */
@media (max-width: 900px) {
    .about-inner {
        grid-template-columns: 1fr;
    }

    .about-right {
        min-height: 240px;
    }

    .about-img {
        min-height: 240px;
    }

    .news-slider-outer {
        gap: 0.5rem;
    }

    .news-header {
        padding-left: 0;
        padding-right: 0;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 2rem;
    }
}

@media (max-width: 768px) {
    .header-top-inner {
        display: grid;
        grid-template-columns: 1fr auto;
        grid-template-areas: "logo logo" "social buttons";
        gap: 0.75rem 1rem;
        justify-items: center;
        align-items: center;
    }

    .header-top-left {
        grid-area: social;
        justify-self: start;
        min-width: 0;
        display: flex;
        align-items: center;
        height: 40px;
    }

    .header-brand {
        grid-area: logo;
        justify-self: center;
    }

    .header-logo-img {
        height: 100px;
    }

    .header-top-right {
        grid-area: buttons;
        justify-self: end;
        display: flex;
        flex-wrap: nowrap;
        gap: 0.5rem;
        justify-content: flex-end;
        align-items: center;
        height: 40px;
    }

    .header-top-right .header-btn,
    .header-top-left .social-icon {
        width: auto;
        min-width: 36px;
        height: 36px;
        padding: 0 0.65rem;
        font-size: 0.75rem;
        white-space: nowrap;
        flex-shrink: 0;
    }

    .header-top-left .social-icon {
        width: 36px;
        min-width: 36px;
        padding: 0;
        font-size: 0.9rem;
    }

    .header-search {
        display: none;
    }

    .nav {
        position: fixed;
        top: var(--header-h);
        left: 0;
        right: 0;
        bottom: 0;
        background: var(--color-surface);
        border-bottom: 1px solid var(--color-border);
        padding: 1.5rem;
        overflow-y: auto;
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        transition: transform 0.3s, opacity 0.3s, visibility 0.3s;
    }

    .nav.is-open {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }

    .nav-list {
        flex-direction: column;
        gap: 0;
        align-items: stretch;
    }

    .nav-list li {
        border-bottom: 1px solid var(--color-border);
    }

    .nav-list > li:not(:last-child)::after {
        display: none;
    }

    .nav-list a {
        display: flex;
        padding: 1rem;
        color: var(--color-text);
    }

    .nav-list a:hover {
        background: var(--color-bg);
        color: var(--color-primary);
    }

    .nav-list a.active .nav-link-text {
        border-bottom: 3px solid var(--color-accent);
    }

    /* Mobil: KTS dropdown tıklayınca açılır */
    .nav-item-has-dropdown {
        flex-direction: column;
        align-items: stretch;
    }

    .nav-dropdown {
        position: static;
        min-width: auto;
        transform: none;
        opacity: 1;
        visibility: visible;
        display: none;
        border-radius: 0;
        border-top: none;
        border-left: 3px solid var(--color-accent);
        box-shadow: none;
        background: rgba(0, 0, 0, 0.08);
        margin-left: 0.75rem;
        margin-bottom: 0.5rem;
    }

    .nav-item-has-dropdown.is-open .nav-dropdown {
        display: block;
    }

    .nav-item-has-dropdown.is-open .nav-dropdown-trigger .nav-link-text {
        border-bottom-color: var(--color-accent);
    }

    .nav-dropdown a {
        color: var(--color-text);
    }

    .nav-dropdown a:hover {
        background: var(--color-primary);
        color: #fff;
    }

    .nav-toggle {
        display: flex;
    }

    .nav-toggle .nav-toggle-open {
        display: inline;
    }

    .nav-backdrop {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(0, 0, 0, 0.5);
        z-index: 98;
        opacity: 0;
        visibility: hidden;
        transition: opacity 0.3s ease, visibility 0.3s ease;
    }

    .nav-backdrop.is-visible {
        opacity: 1;
        visibility: visible;
    }

    .nav.is-open {
        z-index: 99;
    }

    .nav-toggle {
        position: relative;
        z-index: 101;
    }

    .hero-actions {
        flex-direction: column;
    }

    .hero .btn {
        width: 100%;
        justify-content: center;
    }

    .section-header.flex-row {
        flex-direction: column;
        align-items: flex-start;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
        text-align: center;
    }

    .footer-brand {
        max-width: none;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .footer-social {
        justify-content: center;
    }

    .footer-contact-list li {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .header-logo-img {
        height: 90px;
    }

    .about-inner {
        grid-template-columns: 1fr;
    }

    .about-left {
        padding: 1.5rem 1.25rem;
    }

    .about-right {
        min-height: 220px;
    }

    .about-img {
        min-height: 220px;
    }

    .section {
        padding: 3rem 0;
    }

    .cta-box {
        padding: 2rem 1.5rem;
    }
}

/* ----- Modals (Üye Girişi / Üye Ol) ----- */
.modal {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.25s ease, visibility 0.25s ease;
}

.modal.is-open {
    opacity: 1;
    visibility: visible;
}

.modal.is-open .modal-dialog {
    transform: scale(1);
    opacity: 1;
}

.modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(1, 39, 122, 0.75);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
}

.modal-dialog {
    position: relative;
    width: 100%;
    max-height: calc(100vh - 2rem);
    overflow-y: auto;
    transform: scale(0.95);
    opacity: 0;
    transition: transform 0.25s ease, opacity 0.25s ease;
}

.modal-dialog--sm {
    max-width: 420px;
}

.modal-dialog--md {
    max-width: 520px;
}

.modal-content {
    background: var(--color-surface);
    border-radius: var(--radius-lg);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    overflow: hidden;
}

.modal-header {
    position: relative;
    padding: 2rem 2rem 1rem;
    text-align: center;
    background: linear-gradient(180deg, var(--color-primary) 0%, var(--color-primary-light) 100%);
    color: #fff;
}

.modal-logo {
    display: inline-block;
    margin-bottom: 1rem;
}

.modal-logo img {
    height: 73px;
    width: auto;
    display: block;
    object-fit: contain;
}

.modal-title {
    font-family: 'Open Sans', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0 0 0.25rem;
    letter-spacing: 0.02em;
}

.modal-subtitle {
    font-size: 0.9rem;
    opacity: 0.9;
    margin: 0;
}

.modal-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    background: rgba(255, 255, 255, 0.2);
    color: #fff;
    border-radius: var(--radius);
    cursor: pointer;
    transition: background 0.2s;
}

.modal-close:hover {
    background: rgba(255, 255, 255, 0.35);
}

.modal-body {
    padding: 1.75rem 2rem 2rem;
}

.modal-form .form-group {
    margin-bottom: 1.25rem;
}

.modal-form .form-group:last-of-type {
    margin-bottom: 0;
}

.modal-form label {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--color-text);
    margin-bottom: 0.4rem;
}

.modal-form input[type="text"],
.modal-form input[type="email"],
.modal-form input[type="tel"],
.modal-form input[type="password"],
.modal-form select {
    width: 100%;
    padding: 0.7rem 1rem;
    font-size: 1rem;
    font-family: var(--font-sans);
    border: 1px solid var(--color-border);
    border-radius: var(--radius);
    background: var(--color-surface);
    color: var(--color-text);
    transition: border-color 0.2s, box-shadow 0.2s;
}

.modal-form input::placeholder {
    color: var(--color-text-muted);
}

.modal-form input:focus,
.modal-form select:focus {
    outline: none;
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px rgba(1, 39, 122, 0.15);
}

.modal-form .form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.modal-form .form-row--check {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-bottom: 1.25rem;
}

.modal-form .form-check {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    font-weight: 400;
    cursor: pointer;
}

.modal-form .form-check input {
    width: auto;
    margin: 0;
}

.modal-form .form-link {
    font-size: 0.9rem;
    color: var(--color-primary);
    font-weight: 500;
    text-decoration: none;
}

.modal-form .form-link:hover {
    text-decoration: underline;
}

.modal-form .btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 0.85rem 1.5rem;
    font-size: 1rem;
    font-weight: 600;
    font-family: var(--font-sans);
    border: none;
    border-radius: var(--radius);
    cursor: pointer;
    transition: background 0.2s, color 0.2s;
}

.modal-form .btn-primary {
    background: var(--color-accent);
    color: #1a1a1a;
}

.modal-form .btn-primary:hover {
    background: var(--color-accent-hover);
}

.modal-form .btn-block {
    margin-top: 1.25rem;
}

@media (max-width: 540px) {
    .modal-form .form-row {
        grid-template-columns: 1fr;
    }

    .modal-header,
    .modal-body {
        padding-left: 1.5rem;
        padding-right: 1.5rem;
    }
}
