:root {
    --primary-orange: #f28100;
    --dark-navy: #0f172a;
    --navy-light: #1e293b;
    --bg-gray: #f8fafc;
    --text-color: #334155;
    --border-color: #e2e8f0;
}

/* Genel Sayfa Düzeni ve Renk Düzeltmesi */
html, body {
    margin: 0 !important;
    padding: 0 !important;
    background-color: #f8fafc !important; /* Sayfa zeminini açık ton yapar */
    color: #334155 !important;            /* Metinleri okunabilir koyu gri/lacivert yapar */
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* Sol Menü ve Ana İçerik Düzeni */
.main-content {
    flex: 1 0 auto;
    padding: 30px;
    background-color: #f8fafc;
}

/* Sayfa Başlıklarını Ortala */
.page-title, h1.page-title {
    text-align: center !important;
    margin: 20px 0 30px 0 !important;
    color: #0f172a !important;
    font-size: 28px !important;
    font-weight: 800 !important;
    position: relative;
}

/* Başlığın Altına Şık Çizgi Vurgusu */
.page-title::after, h1.page-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background: #f28100;
    margin: 8px auto 0 auto;
    border-radius: 2px;
}

/* Sayfa Yüksekliği ve Footer Yapışma Ayarları */
html, body {
    height: 100%;
    margin: 0 !important;
    padding: 0 !important;
    background-color: #0f172a !important; /* Arka planı koyu lacivert yapar */
}


body {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

/* Ana İçerik Kapsayıcısı */
.main-content {
    flex: 1 0 auto; /* Sayfa içeriği bittiğinde footer'ı en alta iter */
}

/* Aylık Takvimde Bugünün Tarihi Stili */
.calendar-cell.today {
    border: 2px solid #f28100 !important;
    background-color: #fff7ed !important;
    box-shadow: inset 0 0 0 1px #f28100;
}

.calendar-cell .today-badge {
    position: absolute;
    top: 4px;
    right: 4px;
    background: #f28100;
    color: #fff;
    font-size: 9px;
    font-weight: 700;
    padding: 2px 5px;
    border-radius: 4px;
    text-transform: uppercase;
}

* { box-sizing: border-box; margin: 0; padding: 0; font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif; }
body { background-color: var(--bg-gray); color: var(--text-color); display: flex; min-height: 100vh; }
@keyframes sitePageReveal { from { opacity: 0; } to { opacity: 1; } }
body { animation: sitePageReveal 0.65s ease both; }

/* Sabit logo ve gezinme çubuğu */
.sidebar { width: 100%; min-height: clamp(92px, calc(6vw + 20px), 140px); padding: 0 clamp(16px, 3vw, 42px); background-color: var(--dark-navy); color: #fff; display: flex; flex-direction: row; align-items: center; gap: clamp(12px, 2vw, 26px); position: fixed; left: 0; top: 0; z-index: 1001; }
.brand { flex: 0 1 clamp(240px, 24vw, 400px); width: clamp(240px, 24vw, 400px); height: clamp(60px, 6vw, 100px); min-width: 0; display: flex; align-items: center; overflow: hidden; padding: 0; border: 0; background: transparent; }
.brand img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: center; }
body:has(> .page-banner) { flex-direction: column; }
.page-banner { position: relative; display: flex; align-items: center; width: 100%; height: clamp(190px, 24vw, 300px); flex: 0 0 auto; overflow: hidden; margin-top: clamp(92px, calc(6vw + 20px), 140px); border-bottom: 4px solid var(--primary-orange); background: transparent url('uploads/arkaplan-serit.png') center / 100% 100% no-repeat; }
.page-banner-content { position: relative; z-index: 1; width: min(1200px, 100%); margin: 0 auto; padding: 0 clamp(20px, 5vw, 64px); }
.page-banner-title { position: relative; z-index: 0; isolation: isolate; display: inline-block; width: fit-content; max-width: 1000px; margin: 0; color: #fff; font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif; font-size: clamp(34px, 4.8vw, 58px); line-height: 1.12; font-weight: 750; letter-spacing: -.025em; -webkit-text-stroke: 5px #000; paint-order: stroke fill; text-shadow: 0 0 5px rgba(34, 211, 238, .95), 0 0 12px rgba(34, 211, 238, .82), 0 0 26px rgba(14, 165, 233, .68), 0 4px 14px rgba(8, 24, 62, .68); transition: text-shadow .6s ease; }
.page-banner-title::before { content: ''; position: absolute; z-index: -1; inset: -10px -14px; border: 1px solid rgba(242, 129, 0, .72); border-radius: 10px; background: linear-gradient(135deg, #171717 0%, #29231e 56%, #a64b00 100%); opacity: 0; pointer-events: none; transition: opacity .6s ease, box-shadow .6s ease; }
.page-banner-title::after { content: ''; display: block; width: clamp(58px, 8vw, 88px); height: 3px; margin-top: 14px; border-radius: 3px; background: var(--primary-orange); box-shadow: 0 0 0 2px #000, 0 0 8px rgba(34, 211, 238, .9), 0 0 18px rgba(14, 165, 233, .65); transition: box-shadow .6s ease; }
.page-banner-title:hover, .page-banner-title:focus-visible, .page-banner-title.is-active { text-shadow: 0 0 8px rgba(242, 129, 0, .82), 0 0 20px rgba(242, 129, 0, .5); }
.page-banner-title:hover::before, .page-banner-title:focus-visible::before, .page-banner-title.is-active::before { opacity: 1; box-shadow: 0 0 18px rgba(242, 129, 0, .32); }
.page-banner-title:hover::after, .page-banner-title:focus-visible::after, .page-banner-title.is-active::after { box-shadow: 0 0 0 2px #000, 0 0 10px rgba(242, 129, 0, .85), 0 0 20px rgba(242, 129, 0, .5); }
.page-banner ~ .main-content { padding-top: 30px; }
.page-banner ~ .main-content .page-title { display: none; }
.menu-toggle, .menu-close, .menu-backdrop { display: none; }

.nav-menu { list-style: none; padding: 0; margin: 0; display: flex; align-items: stretch; flex-wrap: nowrap; }
.nav-menu li { position: relative; }
.nav-menu li a { display: flex; align-items: center; padding: 27px 10px 24px; color: #cbd5e1; text-decoration: none; font-weight: 600; font-size: 13px; transition: color 0.2s, border-color 0.2s; border-bottom: 3px solid transparent; white-space: nowrap; }
.nav-menu li a:hover, .nav-menu li a.active { color: #fff; border-bottom-color: var(--primary-orange); }
.nav-menu li a i { font-style: normal; }
.nav-actions { display: flex; flex: 0 0 auto; align-items: center; gap: 12px; margin-left: auto; }
.nav-search { display: flex; align-items: center; border: 1px solid rgba(255,255,255,.28); border-radius: 4px; }
.nav-search input { width: 136px; padding: 9px 10px; border: 0; outline: 0; background: transparent; color: #fff; font: inherit; font-size: 12px; }
.nav-search input::placeholder { color: #cbd5e1; }
.nav-search button { display: grid; width: 36px; height: 36px; place-items: center; padding: 0; border: 0; background: transparent; color: #fff; cursor: pointer; }
.nav-search button svg { width: 19px; height: 19px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; }
.nav-search:focus-within { border-color: var(--primary-orange); }
.join-button { display: inline-flex; min-height: 40px; align-items: center; justify-content: center; padding: 0 16px; border-radius: 4px; background: var(--primary-orange); color: #fff; text-decoration: none; font-size: 13px; font-weight: 700; white-space: nowrap; transition: background-color .2s ease; }
.join-button:hover { background: #d86f00; }

.sidebar-footer { padding: 0 20px 0 12px; border-top: 0; }
.admin-link { display: block; text-align: center; background-color: rgba(242, 129, 0, 0.15); color: var(--primary-orange); padding: 10px; border-radius: 6px; text-decoration: none; font-size: 13px; font-weight: 600; border: 1px solid var(--primary-orange); transition: 0.2s; }
.admin-link:hover { background-color: var(--primary-orange); color: #fff; }

/* Ana İçerik Alanı */
.main-content { margin-left: 0; flex-grow: 1; padding: 120px 40px 40px; min-width: 0; }
.page-title { font-size: 26px; font-weight: 700; color: var(--dark-navy); margin-bottom: 25px; border-bottom: 3px solid var(--primary-orange); display: inline-block; padding-bottom: 5px; }

/* Bize katılın sayfası */
.join-page { display: grid; grid-template-columns: minmax(0, .95fr) minmax(360px, 1.05fr); gap: clamp(28px, 5vw, 68px); align-items: start; align-self: stretch; width: 100%; max-width: none; margin: 0; padding-right: clamp(20px, 5vw, 64px); padding-left: clamp(20px, 5vw, 64px); background: var(--bg-gray); }
.join-intro, .join-form-section { width: 100%; margin: 0; }
.join-section-heading { max-width: 720px; margin-bottom: 25px; }
.join-eyebrow { color: #b65d00; font-size: 11px; font-weight: 800; letter-spacing: 1px; }
.join-section-heading h1, .join-section-heading h2 { margin: 8px 0 10px; color: #172033; font-size: clamp(28px, 4vw, 42px); line-height: 1.1; }
.join-section-heading h2 { font-size: clamp(25px, 3vw, 34px); }
.join-section-heading p { color: #64748b; font-size: 15px; line-height: 1.7; }
.join-benefits { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.join-benefit { min-height: 180px; padding: 21px; border: 1px solid #e2e8f0; background: #fff; }
.join-benefit-number { color: var(--primary-orange); font-size: 12px; font-weight: 800; }
.join-benefit h2 { margin: 28px 0 8px; color: #172033; font-size: 17px; }
.join-benefit p { color: #64748b; font-size: 13px; line-height: 1.6; }
.join-notice { margin: 22px 0 0; padding: 16px 18px; border-left: 3px solid var(--primary-orange); background: #fff7ed; color: #7c4a1d; font-size: 13px; line-height: 1.6; }
.join-form-section { padding-top: 9px; }
.join-form { padding: clamp(22px, 4vw, 38px); border: 1px solid #e2e8f0; background: #fff; box-shadow: 0 10px 28px rgba(15, 23, 42, .06); }
.join-form-message { margin: 0 0 18px; padding: 13px 16px; border-left: 3px solid; font-size: 13px; line-height: 1.5; }
.join-form-message.success { border-color: #15803d; background: #f0fdf4; color: #166534; }
.join-form-message.error { border-color: #b91c1c; background: #fef2f2; color: #991b1b; }
.join-form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.join-form label { display: flex; flex-direction: column; gap: 8px; color: #334155; font-size: 13px; font-weight: 700; }
.join-form input, .join-form select, .join-form textarea { width: 100%; min-height: 46px; padding: 11px 13px; border: 1px solid #cbd5e1; border-radius: 3px; background: #fff; color: #172033; font: inherit; font-size: 14px; outline: 0; }
.join-form textarea { min-height: 128px; resize: vertical; line-height: 1.5; }
.join-form input:focus, .join-form select:focus, .join-form textarea:focus { border-color: var(--primary-orange); box-shadow: 0 0 0 3px rgba(242, 129, 0, .12); }
.join-form-full { grid-column: 1 / -1; }
.join-submit { min-height: 46px; margin-top: 22px; padding: 0 24px; border: 0; border-radius: 3px; background: var(--primary-orange); color: #fff; font: inherit; font-size: 14px; font-weight: 800; cursor: pointer; }
.join-submit:hover { background: #d86f00; }
.join-privacy { margin-top: 16px; color: #64748b; font-size: 11px; line-height: 1.6; }

/* Tablet ve mobilde dikey menü */
@media (max-width: 1100px) {
    body { flex-direction: column; }
    body.menu-lock { overflow: hidden; }
    .menu-toggle { display: flex; position: static; flex: 0 0 42px; width: 42px; height: 42px; padding: 0; flex-direction: column; justify-content: center; align-items: center; gap: 5px; background: transparent; color: #fff; border: 1px solid rgba(255,255,255,0.35); border-radius: 4px; cursor: pointer; }
    .menu-toggle span { display: block; width: 22px; height: 2px; background: #fff; border-radius: 2px; transition: transform 0.25s ease, opacity 0.25s ease; }
    .menu-toggle.menu-open { background: var(--primary-orange); }
    .menu-toggle.menu-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
    .menu-toggle.menu-open span:nth-child(2) { opacity: 0; }
    .menu-toggle.menu-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
    .menu-backdrop { display: block; position: fixed; inset: clamp(82px, calc(12vw + 20px), 120px) 0 0; z-index: 1000; background: rgba(15,23,42,0.58); opacity: 0; pointer-events: none; transition: opacity 0.25s ease; }
    .menu-backdrop.is-visible { opacity: 1; pointer-events: auto; }
    .sidebar { width: 100%; height: auto; min-height: clamp(82px, calc(12vw + 20px), 120px); position: fixed; inset: 0 0 auto; flex-direction: row; align-items: center; gap: 10px; padding: 8px 14px; overflow: visible; transform: none; transition: none; box-shadow: 0 2px 10px rgba(0,0,0,0.2); }
    .sidebar.menu-open { transform: none; }
    .brand { flex: 0 1 clamp(92px, 42vw, 320px); width: clamp(92px, 42vw, 320px); height: clamp(66px, 12vw, 92px); min-width: 0; }
    .brand img { width: 100%; height: 100%; }
    .page-banner { height: clamp(150px, 38vw, 220px); margin-top: clamp(82px, calc(12vw + 20px), 120px); background-position: center bottom; }
    .page-banner-content { padding: 0 22px; }
    .page-banner-title { font-size: clamp(30px, 7vw, 44px); }
    .page-banner ~ .main-content { padding: 28px 20px 30px; }
    .nav-menu { display: none; position: absolute; top: 100%; left: 0; right: 0; margin: 0; padding: 8px 0; flex-direction: column; align-items: stretch; background: #090e1a; box-shadow: 0 10px 18px rgba(0,0,0,.22); }
    .sidebar.menu-open .nav-menu { display: flex; }
    .nav-menu li a { width: 100%; padding: 13px 20px; font-size: 15px; border: 0; border-left: 4px solid transparent; }
    .nav-menu li a:hover, .nav-menu li a.active { background: transparent; border-left-color: var(--primary-orange); }
    .nav-actions { gap: 7px; margin-left: auto; }
    .nav-search { position: relative; border: 0; }
    .nav-search input { display: none; position: absolute; top: calc(100% + 12px); right: 0; z-index: 1002; width: min(280px, calc(100vw - 28px)); padding: 12px; border: 1px solid var(--border-color); border-radius: 4px; background: #fff; color: var(--dark-navy); box-shadow: 0 6px 18px rgba(0,0,0,.18); }
    .nav-search input::placeholder { color: #64748b; }
    .nav-search.search-open input { display: block; }
    .nav-search button { width: 40px; height: 40px; }
    .join-button { min-height: 40px; padding: 0 12px; font-size: 12px; }
    .main-content { padding: 100px 20px 30px; }
}

.mahalle-explorer { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(280px, .8fr); gap: 20px; align-items: stretch; margin: 22px 0 42px; }
.mahalle-map-panel, .mahalle-detail-panel { min-width: 0; border: 1px solid #e5e7eb; background: #fff; }
.mahalle-map-heading { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 17px 20px; border-bottom: 1px solid #edf0f2; }
.mahalle-map-heading h2 { color: #172033; font-size: 15px; font-weight: 800; }
.mahalle-map-heading span { color: #818b99; font-size: 12px; }
.mahalle-map { display: block; width: 100%; height: auto; max-height: 560px; padding: 10px; }
.mahalle-map-region { cursor: pointer; outline: none; }
.mahalle-map-region polygon { fill: #fff; stroke: #aeb7c2; stroke-width: 2; stroke-linejoin: round; transition: fill .22s ease, stroke .22s ease, filter .22s ease, transform .22s ease; transform-box: fill-box; transform-origin: center; }
.mahalle-map-region text { fill: #263246; font-size: 12px; font-weight: 700; text-anchor: middle; pointer-events: none; transition: fill .22s ease; }
.mahalle-map-region:hover polygon, .mahalle-map-region:focus polygon, .mahalle-map-region.is-active polygon { fill: #f28100; stroke: #c76600; filter: drop-shadow(0 5px 8px rgba(194, 91, 0, .2)); transform: scale(1.025); }
.mahalle-map-region:hover text, .mahalle-map-region:focus text, .mahalle-map-region.is-active text { fill: #fff; }
.mahalle-map-region:focus-visible polygon { stroke: #f28100; stroke-width: 4; }
.kadro-layout { display: grid; grid-template-columns: clamp(220px, 24vw, 280px) minmax(0, 1fr); align-items: start; gap: clamp(24px, 4vw, 52px); width: min(1440px, 100%); margin: 0 auto; }
.kadro-content { min-width: 0; }
.kadro-president-section, .kadro-list-section { width: 100%; margin: 0 0 38px; scroll-margin-top: 150px; }
.kadro-section-heading { margin-bottom: 18px; }
.kadro-eyebrow, .mahalle-directory-label, .mahalle-member-label { color: #b65d00; font-size: 11px; font-weight: 800; letter-spacing: .8px; }
.kadro-section-heading .section-title, .kadro-list-section .section-title { margin: 7px 0 18px; }
.kadro-president-card { display: grid; grid-template-columns: minmax(210px, .72fr) minmax(0, 1.28fr); width: min(940px, 100%); min-width: 0; margin: 0 auto; align-items: stretch; overflow: hidden; border: 2px solid #f28100; border-radius: 10px; background: #f28100; gap: 2px; box-shadow: 0 10px 26px rgba(161, 75, 0, .16); }
.kadro-president-photo { min-width: 0; min-height: 300px; overflow: hidden; background: #e8edf2; }
.kadro-president-photo img { display: block; width: 100%; max-width: 100%; height: 100%; min-height: 300px; object-fit: cover; object-position: center 30%; }
.kadro-president-info { align-self: stretch; padding: clamp(20px, 2.6vw, 32px); background: #fff4e6; }
.kadro-president-role { display: inline-block; padding: 7px 10px; border-left: 3px solid #f28100; background: #ffe4c2; color: #713b08; font-size: 11px; font-weight: 800; letter-spacing: 1px; }
.kadro-president-info h3 { margin: 12px 0 5px; color: #111827; font-size: clamp(24px, 2.3vw, 32px); line-height: 1.15; }
.kadro-president-title { margin-bottom: 14px; color: #9a4d00; font-size: 13px; font-weight: 700; }
.kadro-president-bio { display: -webkit-box; overflow: hidden; color: #3f4652; font-size: 14px; line-height: 1.6; white-space: pre-line; -webkit-box-orient: vertical; -webkit-line-clamp: 4; }
.kadro-bio-button { margin-top: 16px; padding: 10px 14px; border: 0; border-radius: 3px; background: #b84f00; color: #fff; font-size: 13px; font-weight: 700; cursor: pointer; }
.kadro-bio-button:hover { background: #d86f00; }
.kadro-section-nav { position: sticky; top: clamp(108px, calc(6vw + 36px), 156px); z-index: 50; display: flex; flex-direction: column; gap: 5px; width: 100%; margin: 0; padding: 0 12px 0 0; border-right: 1px solid #d9e0e8; }
.kadro-section-nav button { display: flex; align-items: center; width: 100%; padding: 13px 12px; border: 0; border-left: 3px solid transparent; background: transparent; color: #475569; font-family: inherit; font-size: 15px; font-weight: 700; line-height: 1.45; text-align: left; cursor: pointer; transition: background-color .2s ease, color .2s ease, border-color .2s ease; }
.kadro-section-nav button::before { content: none; }
.kadro-section-nav button:hover, .kadro-section-nav button:focus-visible, .kadro-section-nav button[aria-selected="true"] { border-left-color: var(--primary-orange); background: #fff; color: #111827; }
.kadro-section-nav button[aria-selected="true"]::before { color: #b65d00; }
.kadro-empty { padding: 18px; border-left: 3px solid var(--primary-orange); background: #fff; color: #64748b; }
.mahalle-kadro-list { display: flex; flex-direction: column; gap: 22px; }
.mahalle-kadro-group { min-width: 0; padding: 22px; border: 1px solid #e2e8f0; border-radius: 10px; background: #f8fafc; }
.mahalle-kadro-group > h2 { margin: 0 0 18px; padding-bottom: 11px; border-bottom: 2px solid #f28100; color: #0f172a; font-size: 20px; }
.mahalle-team-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 18px; }
.mahalle-team-card { display: flex; min-width: 0; min-height: 280px; flex-direction: column; align-items: center; padding: 26px 20px 22px; border: 1px solid #e2e8f0; border-radius: 12px; background: #fff; text-align: center; box-shadow: 0 6px 16px rgba(0, 0, 0, .05); transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease; }
.mahalle-team-card:hover { transform: translateY(-4px); border-color: #f28100; box-shadow: 0 8px 18px rgba(0, 0, 0, .08); }
.mahalle-team-avatar-frame { width: 140px; height: 140px; flex: 0 0 auto; margin: 0 auto 16px; overflow: hidden; border: 4px solid #f28100; border-radius: 50%; background: #e8edf2; }
.mahalle-team-avatar-frame img { display: block; width: 100%; height: 100%; border-radius: 50%; object-fit: cover; object-position: center 25%; }
.mahalle-team-card h3 { margin: 0 0 6px; color: #0f172a; font-size: 18px; line-height: 1.35; overflow-wrap: anywhere; }
.mahalle-team-card > p { flex: 1; margin: 0 0 16px; color: #64748b; font-size: 14px; line-height: 1.5; }
.mahalle-cv-button { padding: 8px 14px; border: 1px solid #f28100; border-radius: 12px; background: #fff; color: #a34f00; font: inherit; font-size: 12px; font-weight: 700; cursor: pointer; transition: background-color .2s ease, color .2s ease; }
.mahalle-cv-button:hover, .mahalle-cv-button:focus-visible { background: #f28100; color: #fff; }
.mahalle-directory-empty { margin: 0; color: #64748b; font-size: 13px; }
.mahalle-cv-modal { position: fixed; inset: 0; z-index: 10000; display: none; align-items: center; justify-content: center; padding: 20px; background: rgba(15, 23, 42, .78); }
.mahalle-cv-modal.is-open { display: flex; }
.mahalle-cv-dialog { position: relative; width: min(600px, 100%); max-height: min(80vh, 720px); overflow-y: auto; padding: 28px; border-radius: 12px; background: #fff; box-shadow: 0 20px 50px rgba(0, 0, 0, .28); }
.mahalle-cv-close { position: absolute; top: 10px; right: 14px; width: 38px; height: 38px; border: 0; background: transparent; color: #64748b; font-size: 30px; line-height: 1; cursor: pointer; }
.mahalle-cv-header { display: flex; align-items: center; gap: 16px; padding: 0 34px 18px 0; border-bottom: 2px solid #e2e8f0; }
.mahalle-cv-header img { width: 64px; height: 64px; flex: 0 0 64px; border: 2px solid #f28100; border-radius: 50%; object-fit: cover; }
.mahalle-cv-header h2 { margin: 0; color: #0f172a; font-size: 20px; line-height: 1.3; }
.mahalle-cv-header p { margin: 4px 0 0; color: #a34f00; font-size: 14px; font-weight: 700; }
.mahalle-cv-bio { margin: 18px 0 0; color: #334155; font-size: 14px; line-height: 1.7; white-space: pre-line; }
.mahalle-directory-intro { margin: 0 0 20px; color: #64748b; }
.mahalle-back-link { display: inline-flex; margin-bottom: 16px; color: #a34f00; font-size: 13px; font-weight: 700; text-decoration: none; }
.mahalle-page-count { margin-bottom: 18px; color: #64748b; font-size: 13px; }
.mahalle-member-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 18px; }
.mahalle-member-card { display: grid; grid-template-columns: 128px minmax(0, 1fr); min-width: 0; overflow: hidden; border: 1px solid #e2e8f0; background: #fff; }
.mahalle-member-card > img { display: block; width: 128px; height: 100%; min-height: 180px; object-fit: cover; }
.mahalle-member-info { min-width: 0; padding: 18px; }
.mahalle-member-info h2 { margin: 9px 0 4px; color: #172033; font-size: 17px; }
.mahalle-member-role { margin: 0; color: #64748b; font-size: 12px; }
.mahalle-member-bio { margin-top: 14px; color: #475569; font-size: 12px; line-height: 1.6; }
.mahalle-member-bio summary { color: #a34f00; font-weight: 700; cursor: pointer; }
.mahalle-member-bio p { margin-top: 8px; }
@media (max-width: 900px) {
    .join-page { display: block; }
    .join-intro { margin-bottom: 44px; }
    .join-benefits { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .kadro-layout { grid-template-columns: minmax(0, 1fr); gap: 18px; }
    .kadro-section-nav { position: sticky; top: clamp(92px, calc(12vw + 34px), 140px); flex-direction: row; gap: 4px; margin: 0 auto 8px; padding: 7px 0; overflow-x: auto; border-right: 0; border-bottom: 1px solid #d9e0e8; background: rgba(248, 250, 252, .97); }
    .kadro-section-nav button { display: flex; flex: 0 0 auto; width: auto; padding: 10px 12px; border-left: 0; border-bottom: 2px solid transparent; font-size: 14px; white-space: nowrap; }
    .kadro-section-nav button:hover, .kadro-section-nav button:focus-visible, .kadro-section-nav button[aria-selected="true"] { border-left-color: transparent; border-bottom-color: var(--primary-orange); }
}
@media (max-width: 760px) {
    .join-form-grid, .join-benefits { grid-template-columns: 1fr; }
    .join-form-full { grid-column: auto; }
    .kadro-president-card { grid-template-columns: minmax(0, 1fr); width: min(560px, 100%); }
    .kadro-president-photo, .kadro-president-photo img { min-height: 0; height: auto; aspect-ratio: 4 / 3; }
    .kadro-president-info { padding: 20px; }
    .kadro-section-nav { top: clamp(82px, calc(12vw + 20px), 120px); }
    .kadro-president-section, .kadro-list-section { scroll-margin-top: 125px; }
    .mahalle-member-grid { grid-template-columns: 1fr; }
    .mahalle-team-grid { grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); }
    .mahalle-kadro-group { padding: 16px; }
}
@media (max-width: 480px) {
    .mahalle-team-grid { grid-template-columns: 1fr; }
    .mahalle-team-card { min-height: 0; }
    .mahalle-cv-dialog { padding: 22px 18px; }
    .mahalle-cv-header { align-items: flex-start; }
    .mahalle-cv-header h2 { font-size: 18px; }
}
.mahalle-detail-panel { padding: 22px; }
.mahalle-detail-panel { padding: 22px; }
.mahalle-detail-eyebrow { color: #c76600; font-size: 11px; font-weight: 800; letter-spacing: 1px; text-transform: uppercase; }
.mahalle-detail-title { margin: 7px 0 5px; color: #172033; font-size: 24px; line-height: 1.2; }
.mahalle-detail-count { margin-bottom: 20px; color: #7a8492; font-size: 13px; }
.mahalle-president-list { display: grid; gap: 10px; max-height: 440px; overflow-y: auto; }
.mahalle-president-card { display: grid; grid-template-columns: 54px minmax(0, 1fr); align-items: start; gap: 12px; padding: 12px; border: 1px solid #e9edf1; background: #fff; animation: mahalleCardIn .3s ease both; }
.mahalle-president-photo, .mahalle-president-initials { display: grid; width: 54px; height: 54px; place-items: center; border-radius: 50%; object-fit: cover; background: #fff0dc; color: #b95700; font-size: 14px; font-weight: 800; }
.mahalle-president-name { display: block; color: #172033; font-size: 14px; font-weight: 800; }
.mahalle-president-title { display: block; margin-top: 4px; color: #7a8492; font-size: 12px; }
.mahalle-president-bio { margin-top: 9px; color: #4b5563; font-size: 12px; line-height: 1.55; white-space: pre-line; }
.mahalle-empty { padding: 18px; border-left: 3px solid #f28100; background: #fff8ef; color: #6a7280; font-size: 13px; line-height: 1.6; }

body.home-page {
    background:
        radial-gradient(ellipse at 8% 12%, rgba(242, 129, 0, .045), transparent 30%),
        radial-gradient(ellipse at 92% 18%, rgba(15, 23, 42, .035), transparent 34%),
        linear-gradient(135deg, #fbfcfe 0%, #f6f8fb 100%) !important;
}

body.home-page .main-content {
    position: relative;
    isolation: isolate;
    background: transparent !important;
}

body.home-page .main-content::before {
    content: '';
    position: absolute;
    z-index: -1;
    inset: 0 0 auto;
    height: 740px;
    pointer-events: none;
    background-image:
        radial-gradient(circle at 1px 1px, rgba(15, 23, 42, .055) 1px, transparent 1.5px),
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 180' preserveAspectRatio='none'%3E%3Cpath d='M0 90 C240 20 480 160 720 90 S1200 20 1440 90' fill='none' stroke='%23f28100' stroke-opacity='.14' stroke-width='2'/%3E%3Cpath d='M0 118 C260 48 470 185 740 112 S1180 55 1440 122' fill='none' stroke='%230f172a' stroke-opacity='.07' stroke-width='2'/%3E%3C/svg%3E");
    background-size: 18px 18px, 100% 180px;
    background-position: right top, center bottom;
    background-repeat: repeat, no-repeat;
    opacity: .34;
    -webkit-mask-image: linear-gradient(to bottom, #000 0%, rgba(0, 0, 0, .72) 60%, transparent 100%);
    mask-image: linear-gradient(to bottom, #000 0%, rgba(0, 0, 0, .72) 60%, transparent 100%);
}
.home-mahalle-explorer { grid-template-columns: minmax(0, 1.3fr) minmax(300px, .8fr); gap: 20px; margin: 0; }
.home-mahalle-explorer .mahalle-president-list { max-height: 220px; }
@keyframes mahalleCardIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }
@media (max-width: 850px) { .mahalle-explorer { grid-template-columns: 1fr; } .mahalle-map { max-height: none; } .home-mahalle-explorer { grid-template-columns: minmax(0, 1.2fr) minmax(280px, .8fr); } }
@media (max-width: 700px) { .home-mahalle-explorer { grid-template-columns: 1fr; } }
@media (max-width: 520px) { .mahalle-map-heading { align-items: flex-start; flex-direction: column; } .mahalle-detail-panel { padding: 18px; } .mahalle-map { padding: 2px; } .mahalle-map-region text { font-size: 10px; } }
@media (prefers-reduced-motion: reduce) { .mahalle-map-region polygon, .mahalle-map-region text { transition: none; } .mahalle-president-card { animation: none; } }
:where(a, button, input, select, textarea, summary, [role="button"], [role="tab"], [tabindex]):focus:not(:focus-visible) { outline: none !important; }
:where(a, button, input, select, textarea, summary, [role="button"], [role="tab"], [tabindex]):focus-visible { outline: 2px solid var(--primary-orange); outline-offset: 2px; }

html,
body,
body.home-page {
    background:
        linear-gradient(270deg, #fff4e5 0%, #fff9f2 52%, #fffdf9 100%) !important;
}

body {
    position: relative;
    isolation: isolate;
}

body.home-page::before {
    content: "";
    position: fixed;
    z-index: -1;
    inset: 0;
    pointer-events: none;
    background:
        radial-gradient(circle at 90% 20%, rgba(242, 129, 0, .035) 0%, transparent 40%),
        radial-gradient(circle at 10% 80%, rgba(242, 129, 0, .02) 0%, transparent 50%);
}

.main-content,
.join-page,
body.home-page .main-content {
    background: transparent !important;
}

body.home-page .main-content::before {
    content: none;
    display: none;
}

.dortlu-kart,
.event-card,
.kart-kutu,
body.home-page .home-stat,
body.home-page .home-publication,
body.home-page .home-events,
body.home-page .home-event-card,
body.home-page .instagram-wrapper,
body.home-page .instagram-preview-card,
body.home-page .program-container,
body.home-page .daily-item,
body.home-page .gallery-card {
    background: linear-gradient(135deg, #171717 0%, #29231e 56%, #a64b00 100%) !important;
    border-color: rgba(242, 129, 0, .38) !important;
    box-shadow: 0 12px 30px rgba(15, 23, 42, .14) !important;
    color: #fff !important;
}

body.home-page .home-stat {
    border-left-color: var(--primary-orange) !important;
}

body.home-page .home-event-card {
    border-top-color: var(--primary-orange) !important;
}

body.home-page .home-stat {
    border-left-color: #f28100 !important;
}

body.home-page .home-stat-number,
body.home-page .home-stat-label,
body.home-page .home-stat-detail,
body.home-page .home-events-heading,
body.home-page .home-events-subtitle,
body.home-page .home-event-title,
body.home-page .home-event-detail,
body.home-page .instagram-preview-text,
body.home-page .daily-title,
body.home-page .gallery-title {
    color: #fff;
}

body.home-page .home-publication,
body.home-page .home-events {
    position: relative;
    isolation: isolate;
    background: #fff !important;
    color: #172033 !important;
    transition: transform .6s ease, color .6s ease, box-shadow .6s ease;
}

body.home-page .home-stat,
body.home-page .home-event-card {
    transition: transform .6s ease, color .6s ease, box-shadow .6s ease, border-color .6s ease;
}

body.home-page .home-stat:hover,
body.home-page .home-stat:focus-within,
body.home-page .home-publication:hover,
body.home-page .home-publication:focus-within,
body.home-page .home-events:hover,
body.home-page .home-events:focus-within,
body.home-page .home-event-card:hover,
body.home-page .home-event-card:focus-within {
    transform: translateY(-4px);
}

body.home-page .home-publication::before,
body.home-page .home-events::before,
body.home-page .home-event-card::before {
    content: "";
    position: absolute;
    z-index: -1;
    inset: 0;
    border-radius: inherit;
    background: linear-gradient(135deg, #171717 0%, #29231e 56%, #a64b00 100%);
    opacity: 0;
    transition: opacity .6s ease;
    pointer-events: none;
}

body.home-page .home-publication:hover,
body.home-page .home-publication:focus-within,
body.home-page .home-events:hover,
body.home-page .home-events:focus-within {
    background: #fff !important;
    color: #fff !important;
}

body.home-page .home-publication:hover::before,
body.home-page .home-publication:focus-within::before,
body.home-page .home-events:hover::before,
body.home-page .home-events:focus-within::before,
body.home-page .home-events:hover .home-event-card::before,
body.home-page .home-events:focus-within .home-event-card::before,
body.home-page .home-event-card:hover::before,
body.home-page .home-event-card:focus-within::before {
    opacity: 1;
}

body.home-page .home-publication-cover {
    background: #fff !important;
    color: #172033 !important;
    transition: color .6s ease, background-color .6s ease;
}

body.home-page .home-publication-cover span,
body.home-page .home-publication-cover strong {
    color: #172033 !important;
    transition: color .6s ease;
}

body.home-page .home-publication-links a {
    border-color: #c45f00 !important;
    color: #9b4a00 !important;
    transition: color .6s ease, background-color .6s ease, border-color .6s ease;
}

body.home-page .home-publication-links a:first-child {
    background: #c45f00 !important;
    color: #fff !important;
}

body.home-page .home-publication-copy h2,
body.home-page .home-publication-copy p,
body.home-page .home-events-heading,
body.home-page .home-events-heading a,
body.home-page .home-events-empty,
body.home-page .home-event-title,
body.home-page .home-event-detail,
body.home-page .home-event-weekday,
body.home-page .home-event-day,
body.home-page .home-event-month,
body.home-page .home-event-label {
    color: #172033 !important;
    transition: color .6s ease;
}

body.home-page .home-event-card {
    position: relative;
    isolation: isolate;
    background: #fff !important;
    color: #172033 !important;
    transition: color .6s ease, box-shadow .6s ease, border-color .6s ease;
}

body.home-page .home-event-date {
    background: #fff7ed !important;
    border-right-color: #e2e8f0 !important;
    transition: background-color .6s ease, border-color .6s ease;
}

body.home-page .home-publication:hover .home-publication-cover,
body.home-page .home-publication:focus-within .home-publication-cover,
body.home-page .home-events:hover .home-event-date,
body.home-page .home-events:focus-within .home-event-date,
body.home-page .home-event-card:hover .home-event-date,
body.home-page .home-event-card:focus-within .home-event-date {
    background: rgba(255, 255, 255, .08) !important;
    border-right-color: rgba(255, 255, 255, .24) !important;
}

body.home-page .home-publication:hover .home-publication-cover,
body.home-page .home-publication:focus-within .home-publication-cover,
body.home-page .home-publication:hover .home-publication-cover span,
body.home-page .home-publication:hover .home-publication-cover strong,
body.home-page .home-publication:focus-within .home-publication-cover span,
body.home-page .home-publication:focus-within .home-publication-cover strong,
body.home-page .home-publication:hover .home-publication-copy h2,
body.home-page .home-publication:hover .home-publication-copy p,
body.home-page .home-publication:focus-within .home-publication-copy h2,
body.home-page .home-publication:focus-within .home-publication-copy p,
body.home-page .home-publication:hover .home-publication-links a,
body.home-page .home-publication:focus-within .home-publication-links a,
body.home-page .home-events:hover .home-events-heading,
body.home-page .home-events:hover .home-events-heading a,
body.home-page .home-events:hover .home-events-empty,
body.home-page .home-events:focus-within .home-events-heading,
body.home-page .home-events:focus-within .home-events-heading a,
body.home-page .home-events:focus-within .home-events-empty,
body.home-page .home-event-card:hover .home-event-title,
body.home-page .home-event-card:hover .home-event-detail,
body.home-page .home-event-card:hover .home-event-weekday,
body.home-page .home-event-card:hover .home-event-day,
body.home-page .home-event-card:hover .home-event-month,
body.home-page .home-event-card:hover .home-event-label,
body.home-page .home-event-card:focus-within .home-event-title,
body.home-page .home-event-card:focus-within .home-event-detail,
body.home-page .home-event-card:focus-within .home-event-weekday,
body.home-page .home-event-card:focus-within .home-event-day,
body.home-page .home-event-card:focus-within .home-event-month,
body.home-page .home-event-card:focus-within .home-event-label,
body.home-page .home-events:hover .home-event-title,
body.home-page .home-events:hover .home-event-detail,
body.home-page .home-events:hover .home-event-weekday,
body.home-page .home-events:hover .home-event-day,
body.home-page .home-events:hover .home-event-month,
body.home-page .home-events:hover .home-event-label,
body.home-page .home-events:focus-within .home-event-title,
body.home-page .home-events:focus-within .home-event-detail,
body.home-page .home-events:focus-within .home-event-weekday,
body.home-page .home-events:focus-within .home-event-day,
body.home-page .home-events:focus-within .home-event-month,
body.home-page .home-events:focus-within .home-event-label {
    color: #fff !important;
}

body.home-page .home-publication:hover .home-publication-links a,
body.home-page .home-publication:focus-within .home-publication-links a {
    border-color: #ffb454 !important;
}

body.home-page .home-publication:hover .home-publication-links a:first-child,
body.home-page .home-publication:focus-within .home-publication-links a:first-child {
    background: #f28100 !important;
}

body.home-page .home-stat {
    position: relative;
    isolation: isolate;
    background: #fff !important;
    color: #172033 !important;
    transition: transform .6s ease, color .6s ease, box-shadow .6s ease, border-color .6s ease;
}

body.home-page .home-stat::before {
    content: "";
    position: absolute;
    z-index: 0;
    inset: 0;
    border-radius: inherit;
    background: linear-gradient(135deg, #171717 0%, #29231e 56%, #a64b00 100%);
    opacity: 0;
    transition: opacity .6s ease;
    pointer-events: none;
}

body.home-page .home-stat > * {
    position: relative;
    z-index: 1;
}

body.home-page .home-stat .home-stat-number {
    color: #c45f00 !important;
    transition: color .6s ease;
}

body.home-page .home-stat .home-stat-label {
    color: #172033 !important;
    transition: color .6s ease;
}

body.home-page .home-stat .home-stat-detail {
    color: #64748b !important;
    transition: color .6s ease;
}

body.home-page .home-stat:hover,
body.home-page .home-stat:focus-within {
    background: #fff !important;
    color: #fff !important;
    box-shadow: 0 12px 30px rgba(15, 23, 42, .14) !important;
}

body.home-page .home-stat:hover::before,
body.home-page .home-stat:focus-within::before {
    opacity: 1;
}

body.home-page .home-stat:hover .home-stat-number,
body.home-page .home-stat:hover .home-stat-label,
body.home-page .home-stat:hover .home-stat-detail,
body.home-page .home-stat:focus-within .home-stat-number,
body.home-page .home-stat:focus-within .home-stat-label,
body.home-page .home-stat:focus-within .home-stat-detail {
    color: #fff !important;
}

body.home-page .home-events-heading a,
body.home-page .home-event-weekday,
body.home-page .home-event-label,
body.home-page .instagram-preview-date {
    color: #ffd08a;
}

body.home-page .home-events-empty,
body.home-page .instagram-wrapper > p,
body.home-page .weekly-header,
body.home-page .calendar-cell > div:first-child,
body.home-page .daily-item > div > div[style] {
    color: rgba(255, 255, 255, .88) !important;
}

body.home-page .home-event-card {
    border-top-color: #f28100 !important;
}

body.home-page .home-event-date {
    border-right-color: rgba(255, 255, 255, .24);
    background: rgba(255, 255, 255, .08);
}

body.home-page .home-event-day,
body.home-page .home-event-month {
    color: #fff;
}

body.home-page .home-event-button {
    background: #f28100;
    color: #fff;
}

body.home-page .home-event-button:hover,
body.home-page .home-event-button:focus-visible {
    background: #d96f00;
}

body.home-page .home-publication-copy h2,
body.home-page .home-publication-copy p {
    color: #fff;
}

body.home-page .home-publication-links a {
    border-color: #ffb454;
    color: #fff;
}

body.home-page .home-publication-links a:first-child {
    background: #f28100;
    color: #fff;
}

body.home-page .home-publication-links a:hover {
    background: #c45f00;
    border-color: #ffb454;
}

body.home-page .program-tabs {
    border-bottom-color: rgba(255, 255, 255, .24);
}

body.home-page .program-tabs .tab-btn {
    background: rgba(255, 255, 255, .12);
    color: #fff;
}

body.home-page .program-tabs .tab-btn.active {
    background: #f28100;
}

body.home-page .daily-time,
body.home-page .weekly-event,
body.home-page .calendar-event-dot {
    background: #f28100;
    color: #fff;
}

body.home-page .weekly-card,
body.home-page .calendar-day-header,
body.home-page .calendar-cell {
    border-color: rgba(255, 255, 255, .22);
    background: rgba(255, 255, 255, .1);
    color: #fff;
}

body.home-page .weekly-header,
body.home-page .calendar-day-header,
body.home-page .calendar-cell .day-num {
    color: #fff;
}

body.home-page .weekly-card.today,
body.home-page .calendar-cell.today {
    border-color: #f28100;
    background: rgba(242, 129, 0, .2);
}

body.home-page .gallery-info {
    background: transparent;
}

body.home-page .gallery-title {
    color: #fff;
}

body.home-page .home-events:not(:hover):not(:focus-within) .home-events-empty {
    color: #172033 !important;
}

body.home-page .instagram-wrapper,
body.home-page .program-container,
body.home-page .instagram-preview-card,
body.home-page .daily-item,
body.home-page .weekly-card,
body.home-page .calendar-day-header,
body.home-page .calendar-cell,
body.home-page .gallery-card {
    position: relative;
    isolation: isolate;
    background: transparent !important;
    transition: transform .6s ease, box-shadow .6s ease, border-color .6s ease, color .6s ease;
}

body.home-page .instagram-wrapper::before,
body.home-page .instagram-wrapper::after,
body.home-page .program-container::before,
body.home-page .program-container::after,
body.home-page .instagram-preview-card::before,
body.home-page .instagram-preview-card::after,
body.home-page .daily-item::before,
body.home-page .daily-item::after,
body.home-page .weekly-card::before,
body.home-page .weekly-card::after,
body.home-page .calendar-day-header::before,
body.home-page .calendar-day-header::after,
body.home-page .calendar-cell::before,
body.home-page .calendar-cell::after,
body.home-page .gallery-card::before,
body.home-page .gallery-card::after {
    content: "";
    position: absolute;
    z-index: -1;
    inset: 0;
    border-radius: inherit;
    pointer-events: none;
}

body.home-page .instagram-wrapper::before,
body.home-page .program-container::before,
body.home-page .instagram-preview-card::before,
body.home-page .daily-item::before,
body.home-page .weekly-card::before,
body.home-page .calendar-day-header::before,
body.home-page .calendar-cell::before,
body.home-page .gallery-card::before {
    background: #fff;
}

body.home-page .instagram-wrapper::after,
body.home-page .program-container::after,
body.home-page .instagram-preview-card::after,
body.home-page .daily-item::after,
body.home-page .weekly-card::after,
body.home-page .calendar-day-header::after,
body.home-page .calendar-cell::after,
body.home-page .gallery-card::after {
    background: linear-gradient(135deg, #171717 0%, #29231e 56%, #a64b00 100%);
    opacity: 0;
    transition: opacity .6s ease;
}

body.home-page .instagram-wrapper > *,
body.home-page .program-container > *,
body.home-page .instagram-preview-card > *,
body.home-page .daily-item > *,
body.home-page .weekly-card > *,
body.home-page .calendar-day-header > *,
body.home-page .calendar-cell > *,
body.home-page .gallery-card > * {
    position: relative;
    z-index: 1;
}

body.home-page .instagram-wrapper:hover,
body.home-page .program-container:hover,
body.home-page .instagram-preview-card:hover,
body.home-page .daily-item:hover,
body.home-page .weekly-card:hover,
body.home-page .calendar-day-header:hover,
body.home-page .calendar-cell:hover,
body.home-page .gallery-card:hover,
body.home-page .instagram-wrapper:focus-within,
body.home-page .program-container:focus-within,
body.home-page .instagram-preview-card:focus-within,
body.home-page .daily-item:focus-within,
body.home-page .weekly-card:focus-within,
body.home-page .calendar-day-header:focus-within,
body.home-page .calendar-cell:focus-within,
body.home-page .gallery-card:focus-visible {
    transform: translateY(-4px);
    box-shadow: 0 16px 34px rgba(15, 23, 42, .18) !important;
    border-color: rgba(242, 129, 0, .55) !important;
}

body.home-page .instagram-wrapper:hover::after,
body.home-page .program-container:hover::after,
body.home-page .instagram-preview-card:hover::after,
body.home-page .daily-item:hover::after,
body.home-page .weekly-card:hover::after,
body.home-page .calendar-day-header:hover::after,
body.home-page .calendar-cell:hover::after,
body.home-page .gallery-card:hover::after,
body.home-page .instagram-wrapper:focus-within::after,
body.home-page .program-container:focus-within::after,
body.home-page .instagram-preview-card:focus-within::after,
body.home-page .daily-item:focus-within::after,
body.home-page .weekly-card:focus-within::after,
body.home-page .calendar-day-header:focus-within::after,
body.home-page .calendar-cell:focus-within::after,
body.home-page .gallery-card:focus-visible::after {
    opacity: 1;
}

body.home-page .instagram-preview-text,
body.home-page .instagram-preview-date,
body.home-page .daily-title,
body.home-page .weekly-header,
body.home-page .calendar-day-header,
body.home-page .calendar-cell .day-num,
body.home-page .gallery-title {
    color: #172033 !important;
    transition: color .6s ease;
}

body.home-page .instagram-preview-text {
    color: #475569 !important;
}

body.home-page .instagram-preview-date {
    color: #c45f00 !important;
}

body.home-page .daily-item > div > div[style],
body.home-page .weekly-header small,
body.home-page .calendar-cell > div:first-child,
body.home-page .instagram-wrapper > p {
    color: #64748b !important;
    transition: color .6s ease;
}

body.home-page .program-tabs .tab-btn {
    background: #f1f5f9 !important;
    color: #475569 !important;
    transition: background-color .6s ease, color .6s ease;
}

body.home-page .program-tabs .tab-btn.active {
    background: #f28100 !important;
    color: #fff !important;
}

body.home-page .program-container:hover .program-tabs .tab-btn:not(.active),
body.home-page .program-container:focus-within .program-tabs .tab-btn:not(.active) {
    background: rgba(255, 255, 255, .12) !important;
    color: #fff !important;
}

body.home-page .instagram-preview-card:hover .instagram-preview-text,
body.home-page .instagram-preview-card:hover .instagram-preview-date,
body.home-page .instagram-preview-card:focus-within .instagram-preview-text,
body.home-page .instagram-preview-card:focus-within .instagram-preview-date,
body.home-page .instagram-wrapper:hover > p,
body.home-page .instagram-wrapper:focus-within > p,
body.home-page .daily-item:hover .daily-title,
body.home-page .daily-item:focus-within .daily-title,
body.home-page .weekly-card:hover .weekly-header,
body.home-page .weekly-card:focus-within .weekly-header,
body.home-page .calendar-day-header:hover,
body.home-page .calendar-cell:hover .day-num,
body.home-page .calendar-day-header:focus-within,
body.home-page .calendar-cell:focus-within .day-num,
body.home-page .instagram-wrapper:hover .instagram-preview-date,
body.home-page .instagram-wrapper:focus-within .instagram-preview-date,
body.home-page .gallery-card:hover .gallery-title,
body.home-page .gallery-card:focus-visible .gallery-title {
    color: #fff !important;
}

body.home-page .daily-item:hover > div > div[style],
body.home-page .daily-item:focus-within > div > div[style],
body.home-page .weekly-card:hover .weekly-header small,
body.home-page .weekly-card:focus-within .weekly-header small,
body.home-page .calendar-cell:hover > div:first-child,
body.home-page .calendar-cell:focus-within > div:first-child,
body.home-page .instagram-wrapper:hover > p,
body.home-page .instagram-wrapper:focus-within > p {
    color: rgba(255, 255, 255, .88) !important;
}

body:not(.home-page) .kadro-president-card,
body:not(.home-page) .team-card,
body:not(.home-page) .mahalle-team-card,
body:not(.home-page) .mahalle-member-card,
body:not(.home-page) .album-card,
body:not(.home-page) .photo-thumb,
body:not(.home-page) .news-card {
    position: relative;
    isolation: isolate;
    background: transparent !important;
    transition: transform .6s ease, box-shadow .6s ease, border-color .6s ease;
}

body:not(.home-page) .kadro-president-card::before,
body:not(.home-page) .team-card::before,
body:not(.home-page) .mahalle-team-card::before,
body:not(.home-page) .mahalle-member-card::before,
body:not(.home-page) .album-card::before,
body:not(.home-page) .photo-thumb::before,
body:not(.home-page) .news-card::before,
body:not(.home-page) .kadro-president-card::after,
body:not(.home-page) .team-card::after,
body:not(.home-page) .mahalle-team-card::after,
body:not(.home-page) .mahalle-member-card::after,
body:not(.home-page) .album-card::after,
body:not(.home-page) .photo-thumb::after,
body:not(.home-page) .news-card::after {
    content: "";
    position: absolute;
    z-index: 0;
    inset: 0;
    border-radius: inherit;
    pointer-events: none;
}

body:not(.home-page) .kadro-president-card::before,
body:not(.home-page) .team-card::before,
body:not(.home-page) .mahalle-team-card::before,
body:not(.home-page) .mahalle-member-card::before,
body:not(.home-page) .album-card::before,
body:not(.home-page) .photo-thumb::before,
body:not(.home-page) .news-card::before {
    background: #fff;
}

body:not(.home-page) .kadro-president-card::after,
body:not(.home-page) .team-card::after,
body:not(.home-page) .mahalle-team-card::after,
body:not(.home-page) .mahalle-member-card::after,
body:not(.home-page) .album-card::after,
body:not(.home-page) .photo-thumb::after,
body:not(.home-page) .news-card::after {
    background: linear-gradient(135deg, #171717 0%, #29231e 56%, #a64b00 100%);
    opacity: 0;
    transition: opacity .6s ease;
}

body:not(.home-page) .kadro-president-card > *,
body:not(.home-page) .team-card > *,
body:not(.home-page) .mahalle-team-card > *,
body:not(.home-page) .mahalle-member-card > *,
body:not(.home-page) .album-card > *,
body:not(.home-page) .photo-thumb > *,
body:not(.home-page) .news-card > * {
    position: relative;
    z-index: 1;
}

body:not(.home-page) .kadro-president-card:hover,
body:not(.home-page) .kadro-president-card:focus-within,
body:not(.home-page) .team-card:hover,
body:not(.home-page) .team-card:focus-within,
body:not(.home-page) .mahalle-team-card:hover,
body:not(.home-page) .mahalle-team-card:focus-within,
body:not(.home-page) .mahalle-member-card:hover,
body:not(.home-page) .mahalle-member-card:focus-within,
body:not(.home-page) .album-card:hover,
body:not(.home-page) .album-card:focus-visible,
body:not(.home-page) .photo-thumb:hover,
body:not(.home-page) .news-card:hover {
    transform: translateY(-4px);
    border-color: rgba(242, 129, 0, .65) !important;
    box-shadow: 0 16px 34px rgba(15, 23, 42, .18) !important;
}

body:not(.home-page) .kadro-president-card:hover::after,
body:not(.home-page) .kadro-president-card:focus-within::after,
body:not(.home-page) .team-card:hover::after,
body:not(.home-page) .team-card:focus-within::after,
body:not(.home-page) .mahalle-team-card:hover::after,
body:not(.home-page) .mahalle-team-card:focus-within::after,
body:not(.home-page) .mahalle-member-card:hover::after,
body:not(.home-page) .mahalle-member-card:focus-within::after,
body:not(.home-page) .album-card:hover::after,
body:not(.home-page) .album-card:focus-visible::after,
body:not(.home-page) .photo-thumb:hover::after,
body:not(.home-page) .news-card:hover::after {
    opacity: 1;
}

body:not(.home-page) .kadro-president-info,
body:not(.home-page) .mahalle-member-info,
body:not(.home-page) .album-info,
body:not(.home-page) .news-body {
    transition: background-color .6s ease, color .6s ease;
}

body:not(.home-page) .kadro-president-card:hover .kadro-president-info,
body:not(.home-page) .kadro-president-card:focus-within .kadro-president-info,
body:not(.home-page) .mahalle-member-card:hover .mahalle-member-info,
body:not(.home-page) .mahalle-member-card:focus-within .mahalle-member-info,
body:not(.home-page) .album-card:hover .album-info,
body:not(.home-page) .album-card:focus-visible .album-info,
body:not(.home-page) .news-card:hover .news-body {
    background: transparent !important;
}

body:not(.home-page) .kadro-president-card:hover .kadro-president-info *,
body:not(.home-page) .kadro-president-card:focus-within .kadro-president-info *,
body:not(.home-page) .team-card:hover .team-name,
body:not(.home-page) .team-card:hover .team-title,
body:not(.home-page) .team-card:focus-within .team-name,
body:not(.home-page) .team-card:focus-within .team-title,
body:not(.home-page) .mahalle-team-card:hover h3,
body:not(.home-page) .mahalle-team-card:hover > p,
body:not(.home-page) .mahalle-team-card:focus-within h3,
body:not(.home-page) .mahalle-team-card:focus-within > p,
body:not(.home-page) .mahalle-member-card:hover .mahalle-member-info *,
body:not(.home-page) .mahalle-member-card:focus-within .mahalle-member-info *,
body:not(.home-page) .album-card:hover .album-title,
body:not(.home-page) .album-card:hover .album-date,
body:not(.home-page) .album-card:focus-visible .album-title,
body:not(.home-page) .album-card:focus-visible .album-date,
body:not(.home-page) .news-card:hover .news-date,
body:not(.home-page) .news-card:hover .news-title,
body:not(.home-page) .news-card:hover .news-desc {
    color: #fff !important;
    transition: color .6s ease;
}

body:not(.home-page) .team-card:hover .cv-badge,
body:not(.home-page) .team-card:focus-within .cv-badge {
    border-color: rgba(255, 255, 255, .55);
    background: rgba(255, 255, 255, .12);
    color: #fff;
    transition: color .6s ease, background-color .6s ease, border-color .6s ease;
}

body:not(.home-page) .kadro-president-card:hover .kadro-president-role,
body:not(.home-page) .kadro-president-card:focus-within .kadro-president-role {
    border-left-color: #f28100;
    background: rgba(255, 255, 255, .12);
    color: #ffd08a !important;
}

body:not(.home-page) .mahalle-team-card:hover .mahalle-cv-button,
body:not(.home-page) .mahalle-team-card:focus-within .mahalle-cv-button {
    border-color: #ffb454;
    background: #f28100;
    color: #fff;
}

.page-title,
h1.page-title {
    background: linear-gradient(90deg, #c45f00 0%, #172033 78%);
    background-clip: text;
    -webkit-background-clip: text;
    color: transparent !important;
    -webkit-text-fill-color: transparent;
}

@media (prefers-reduced-motion: reduce) {
    body:not(.home-page) .kadro-president-card,
    body:not(.home-page) .team-card,
    body:not(.home-page) .mahalle-team-card,
    body:not(.home-page) .mahalle-member-card,
    body:not(.home-page) .album-card,
    body:not(.home-page) .photo-thumb,
    body:not(.home-page) .news-card,
    body:not(.home-page) .kadro-president-card::after,
    body:not(.home-page) .team-card::after,
    body:not(.home-page) .mahalle-team-card::after,
    body:not(.home-page) .mahalle-member-card::after,
    body:not(.home-page) .album-card::after,
    body:not(.home-page) .photo-thumb::after,
    body:not(.home-page) .news-card::after {
        transition-duration: .01ms !important;
    }
}

@media (hover: none), (pointer: coarse) {
    body.home-page .home-stat.is-scroll-active,
    body.home-page .home-publication.is-scroll-active,
    body.home-page .home-events.is-scroll-active,
    body.home-page .home-event-card.is-scroll-active,
    body.home-page .instagram-wrapper.is-scroll-active,
    body.home-page .instagram-preview-card.is-scroll-active,
    body.home-page .program-container.is-scroll-active,
    body.home-page .daily-item.is-scroll-active,
    body.home-page .weekly-card.is-scroll-active,
    body.home-page .calendar-day-header.is-scroll-active,
    body.home-page .calendar-cell.is-scroll-active,
    body.home-page .gallery-card.is-scroll-active {
        transform: translateY(-4px);
        border-color: rgba(242, 129, 0, .55) !important;
        box-shadow: 0 16px 34px rgba(15, 23, 42, .18) !important;
    }

    body.home-page .home-stat.is-scroll-active::before,
    body.home-page .home-publication.is-scroll-active::before,
    body.home-page .home-events.is-scroll-active::before,
    body.home-page .home-event-card.is-scroll-active::before,
    body.home-page .instagram-wrapper.is-scroll-active::after,
    body.home-page .instagram-preview-card.is-scroll-active::after,
    body.home-page .program-container.is-scroll-active::after,
    body.home-page .daily-item.is-scroll-active::after,
    body.home-page .weekly-card.is-scroll-active::after,
    body.home-page .calendar-day-header.is-scroll-active::after,
    body.home-page .calendar-cell.is-scroll-active::after,
    body.home-page .gallery-card.is-scroll-active::after {
        opacity: 1;
    }

    body.home-page .home-stat.is-scroll-active .home-stat-number,
    body.home-page .home-stat.is-scroll-active .home-stat-label,
    body.home-page .home-stat.is-scroll-active .home-stat-detail,
    body.home-page .home-publication.is-scroll-active .home-publication-cover,
    body.home-page .home-publication.is-scroll-active .home-publication-cover span,
    body.home-page .home-publication.is-scroll-active .home-publication-cover strong,
    body.home-page .home-publication.is-scroll-active .home-publication-copy h2,
    body.home-page .home-publication.is-scroll-active .home-publication-copy p,
    body.home-page .home-publication.is-scroll-active .home-publication-links a,
    body.home-page .home-events.is-scroll-active .home-events-heading,
    body.home-page .home-events.is-scroll-active .home-events-heading a,
    body.home-page .home-events.is-scroll-active .home-events-empty,
    body.home-page .home-event-card.is-scroll-active .home-event-title,
    body.home-page .home-event-card.is-scroll-active .home-event-detail,
    body.home-page .home-event-card.is-scroll-active .home-event-weekday,
    body.home-page .home-event-card.is-scroll-active .home-event-day,
    body.home-page .home-event-card.is-scroll-active .home-event-month,
    body.home-page .home-event-card.is-scroll-active .home-event-label,
    body.home-page .home-events.is-scroll-active .home-event-title,
    body.home-page .home-events.is-scroll-active .home-event-detail,
    body.home-page .home-events.is-scroll-active .home-event-weekday,
    body.home-page .home-events.is-scroll-active .home-event-day,
    body.home-page .home-events.is-scroll-active .home-event-month,
    body.home-page .home-events.is-scroll-active .home-event-label,
    body.home-page .instagram-preview-card.is-scroll-active .instagram-preview-text,
    body.home-page .instagram-preview-card.is-scroll-active .instagram-preview-date,
    body.home-page .instagram-wrapper.is-scroll-active > p,
    body.home-page .daily-item.is-scroll-active .daily-title,
    body.home-page .weekly-card.is-scroll-active .weekly-header,
    body.home-page .weekly-card.is-scroll-active .weekly-header small,
    body.home-page .calendar-day-header.is-scroll-active,
    body.home-page .calendar-cell.is-scroll-active .day-num,
    body.home-page .calendar-cell.is-scroll-active > div:first-child,
    body.home-page .gallery-card.is-scroll-active .gallery-title {
        color: #fff !important;
    }

    body.home-page .home-publication.is-scroll-active .home-publication-cover {
        background: rgba(255, 255, 255, .08) !important;
    }

    body.home-page .home-publication.is-scroll-active .home-publication-links a {
        border-color: #ffb454 !important;
    }

    body.home-page .home-publication.is-scroll-active .home-publication-links a:first-child {
        background: #f28100 !important;
    }

    body.home-page .home-events.is-scroll-active .home-event-date,
    body.home-page .home-event-card.is-scroll-active .home-event-date {
        background: rgba(255, 255, 255, .08) !important;
        border-right-color: rgba(255, 255, 255, .24) !important;
    }

    body.home-page .daily-item.is-scroll-active > div > div[style],
    body.home-page .weekly-card.is-scroll-active .weekly-header small,
    body.home-page .calendar-cell.is-scroll-active > div:first-child,
    body.home-page .instagram-wrapper.is-scroll-active > p {
        color: rgba(255, 255, 255, .88) !important;
    }

    body.home-page .program-container.is-scroll-active .program-tabs .tab-btn:not(.active) {
        background: rgba(255, 255, 255, .12) !important;
        color: #fff !important;
    }

    body.home-page .program-container.is-scroll-active #tab-yaklasan > p {
        color: #fff !important;
    }

    body:not(.home-page) .kadro-president-card.is-scroll-active,
    body:not(.home-page) .team-card.is-scroll-active,
    body:not(.home-page) .mahalle-team-card.is-scroll-active,
    body:not(.home-page) .mahalle-member-card.is-scroll-active,
    body:not(.home-page) .album-card.is-scroll-active,
    body:not(.home-page) .photo-thumb.is-scroll-active,
    body:not(.home-page) .news-card.is-scroll-active {
        transform: translateY(-4px);
        border-color: rgba(242, 129, 0, .65) !important;
        box-shadow: 0 16px 34px rgba(15, 23, 42, .18) !important;
    }

    body:not(.home-page) .kadro-president-card.is-scroll-active::after,
    body:not(.home-page) .team-card.is-scroll-active::after,
    body:not(.home-page) .mahalle-team-card.is-scroll-active::after,
    body:not(.home-page) .mahalle-member-card.is-scroll-active::after,
    body:not(.home-page) .album-card.is-scroll-active::after,
    body:not(.home-page) .photo-thumb.is-scroll-active::after,
    body:not(.home-page) .news-card.is-scroll-active::after {
        opacity: 1;
    }

    body:not(.home-page) .kadro-president-card.is-scroll-active .kadro-president-info,
    body:not(.home-page) .mahalle-member-card.is-scroll-active .mahalle-member-info,
    body:not(.home-page) .album-card.is-scroll-active .album-info,
    body:not(.home-page) .news-card.is-scroll-active .news-body {
        background: transparent !important;
    }

    body:not(.home-page) .kadro-president-card.is-scroll-active .kadro-president-info *,
    body:not(.home-page) .team-card.is-scroll-active .team-name,
    body:not(.home-page) .team-card.is-scroll-active .team-title,
    body:not(.home-page) .mahalle-team-card.is-scroll-active h3,
    body:not(.home-page) .mahalle-team-card.is-scroll-active > p,
    body:not(.home-page) .mahalle-member-card.is-scroll-active .mahalle-member-info *,
    body:not(.home-page) .album-card.is-scroll-active .album-title,
    body:not(.home-page) .album-card.is-scroll-active .album-date,
    body:not(.home-page) .news-card.is-scroll-active .news-date,
    body:not(.home-page) .news-card.is-scroll-active .news-title,
    body:not(.home-page) .news-card.is-scroll-active .news-desc {
        color: #fff !important;
        transition: color .6s ease;
    }

    body:not(.home-page) .team-card.is-scroll-active .cv-badge {
        border-color: rgba(255, 255, 255, .55);
        background: rgba(255, 255, 255, .12);
        color: #fff;
    }

    body:not(.home-page) .kadro-president-card.is-scroll-active .kadro-president-role {
        border-left-color: #f28100;
        background: rgba(255, 255, 255, .12);
        color: #ffd08a !important;
    }

    body:not(.home-page) .mahalle-team-card.is-scroll-active .mahalle-cv-button {
        border-color: #ffb454;
        background: #f28100;
        color: #fff;
    }

    body:not(.home-page) .photo-thumb.is-scroll-active > img {
        transform: scale(1.035);
        filter: saturate(1.06);
    }
}
