/* ============================================================
   KKTC DEMOKRAT PARTİ – STYLE.CSS
   ============================================================ */

:root {
    --red: #B80E01;
    --red-dark: #8c0a01;
    --green: #0D773E;
    --green-dark: #095c2f;
    --topbar-bg: #0D773E;
    --white: #ffffff;
    --off-white: #f4f5f7;
    --text-dark: #1c1c1c;
    --text-mid: #444;
    --text-light: #888;
    --border: #e5e7eb;
    --shadow-sm: 0 1px 4px rgba(0, 0, 0, 0.06);
    --shadow: 0 2px 12px rgba(0, 0, 0, 0.09);
    --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.16);
    --font-head: 'Barlow', sans-serif;
    --font-secondary: 'Inter', sans-serif; /* H2-H6 and Buttons */
    --font-body: 'Inter Tight', sans-serif;
    --radius: 6px;
    --radius-lg: 10px;
    --transition: 0.22s ease;
}

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

html {
    scroll-behavior: smooth;
    width: 100%;
    overflow-x: hidden;
    background: #ffffff;
}

body {
    font-family: var(--font-body);
    font-size: 18px;
    font-weight: 400;
    line-height: 1.85em; /* Specific Corporate Line Height */
    letter-spacing: 0em;
    color: var(--text-dark);
    background: #ffffff;
    width: 100%;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    margin: 0;
    color: var(--text-dark);
}

h1 {
    font-family: var(--font-head);
    font-weight: 500;
    font-size: 68px;
    line-height: 1.1em;
    letter-spacing: -0.027em;
}

h2 {
    font-family: var(--font-secondary);
    font-weight: 500;
    font-size: 44px;
    line-height: 1.3em;
    letter-spacing: -0.01em;
}

h3 {
    font-family: var(--font-secondary);
    font-weight: 500;
    font-size: 24px;
    line-height: 1.2em;
    letter-spacing: -0.027em;
}

h4 {
    font-family: var(--font-secondary);
    font-weight: 500;
    font-size: 21px;
    line-height: 1.2em;
    letter-spacing: -0.027em;
}

h5 {
    font-family: var(--font-secondary);
    font-weight: 500;
    font-size: 16px;
    line-height: 1.187em;
    letter-spacing: -0.015em;
}

h6 {
    font-family: var(--font-secondary);
    font-weight: 500;
    font-size: 14px;
    text-transform: uppercase;
    line-height: 1.2em;
    letter-spacing: -0.027em;
}

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

/* ============================================================
   GLOBAL BUTTONS (TEXT FLIP INTERACTION)
   ============================================================ */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-head);
    font-weight: 700;
    text-transform: uppercase;
    font-size: 14px;
    letter-spacing: 0.05em;
    color: #FFFFFF;
    background: var(--green);
    border-radius: 12px;
    padding: 19px 40px;
    border: none;
    cursor: pointer;
    overflow: hidden;
    position: relative;
    text-decoration: none;
    transition: background 0.3s ease, box-shadow 0.3s ease;
    line-height: 1;
}

.btn:hover {
    background: var(--green-dark);
    box-shadow: 0 8px 25px rgba(13, 119, 62, 0.3);
}

.btn > * {
    display: inline-block;
    transition: transform 0.4s cubic-bezier(0.19, 1, 0.22, 1);
}

.btn::after {
    content: attr(data-text);
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.4s cubic-bezier(0.19, 1, 0.22, 1);
}

.btn:hover > * {
    transform: translateY(-40px); /* 40px clears the huge 19px padding gracefully */
}

.btn:hover::after {
    transform: translateY(-100%);
}

/* Button Modifier: White to Red */
.btn-white {
    background: #FFFFFF;
    color: var(--red);
}

.btn-white:hover {
    background: var(--red);
    color: #FFFFFF;
    box-shadow: 0 8px 25px rgba(210, 31, 11, 0.3);
}

/* ============================================================
   SITE WRAPPER — boxed layout
   ============================================================ */
.site-wrapper {
    max-width: 1430px;
    width: 100%;
    margin: 0 auto;
    position: relative;
    overflow: hidden;
}

ul {
    list-style: none;
}

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

address {
    font-style: normal;
}

/* ============================================================
   TOP BAR
   ============================================================ */
.top-bar {
    background: linear-gradient(90deg, #0D773E 0%, #0a5c30 100%);
    height: 38px;
    width: 100%;
    display: flex;
    align-items: center;
    position: relative;
    z-index: 10;
}

.top-bar-inner {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    width: 100%;
    max-width: 1390px;
    margin: 0 auto;
    padding: 0 30px;
}

.top-bar-social {
    display: flex;
    align-items: center;
    gap: 18px;
}

.top-bar-social a {
    color: rgba(255, 255, 255, 0.82);
    font-size: 14px;
    line-height: 1;
    transition: color var(--transition);
}

.top-bar-social a:hover {
    color: #fff;
}

/* ============================================================
   HEADER  — logo taşıyor (overflow), nav sağda, kırmızı buton
   ============================================================ */
.site-header {
    background: #fff;
    width: 100%;
    position: sticky;
    top: 0;
    z-index: 900;
    border-bottom: 1px solid #e8e8e8;
    transition: box-shadow 0.3s;
}

.site-header.scrolled {
    box-shadow: 0 2px 16px rgba(0, 0, 0, 0.12);
}

.header-inner {
    display: flex;
    align-items: center;
    max-width: 1390px;
    margin: 0 auto;
    padding: 0 30px;
    height: 82px;
    gap: 0;
}

/* ---- Logo: üst barı da kaplıyor, overflow ---- */
.header-logo {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    margin-top: -18px;
    margin-right: 32px;
    transition: opacity var(--transition);
}

.header-logo:hover {
    opacity: 0.88;
}

.header-logo-img {
    height: 130px;
    width: auto;
    object-fit: contain;
    display: block;
    filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.15));
}

/* ---- Nav: logo'nun sağında, tüm genişliği kaplıyor ---- */
.main-nav {
    flex: 1;
    display: flex;
    align-items: center;
}

.nav-list {
    display: flex;
    align-items: center;
    gap: 0;
    width: 100%;
    justify-content: flex-end;
}

.nav-list>li {
    position: relative;
}

.nav-list>li>a {
    display: flex;
    align-items: center;
    gap: 5px;
    padding: 10px 14px;
    font-family: var(--font-head);
    font-size: 13.5px;
    font-weight: 700;
    letter-spacing: 0.2px;
    color: #222;
    text-transform: uppercase;
    transition: color var(--transition);
    white-space: nowrap;
    position: relative;
}

.nav-list>li>a .fa-chevron-down {
    font-size: 9px;
    color: #666;
    transition: transform 0.2s;
}

.nav-list>li:hover>a {
    color: var(--red);
}

.nav-list>li:hover>a .fa-chevron-down {
    transform: rotate(180deg);
}

/* ---- Dropdown ---- */
.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 230px;
    background: #fff;
    border: 1px solid #e0e0e0;
    border-top: 3px solid var(--red);
    border-radius: 0 0 6px 6px;
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.14);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-4px);
    transition: opacity 0.18s, visibility 0.18s, transform 0.18s;
    z-index: 99;
}

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

.dropdown-menu li a {
    display: block;
    padding: 10px 16px;
    font-family: var(--font-body);
    font-size: 13.5px;
    color: #444;
    border-bottom: 1px solid #f0f0f0;
    transition: color var(--transition), background var(--transition), padding-left var(--transition);
}

.dropdown-menu li:last-child a {
    border-bottom: none;
}

.dropdown-menu li a:hover {
    color: var(--red);
    background: rgba(184, 14, 1, 0.04);
    padding-left: 22px;
}

/* ---- Header Actions ---- */
.header-actions {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
    margin-left: 16px;
}

.btn-uye-islemleri {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: var(--red);
    color: #fff;
    font-family: var(--font-head);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.5px;
    padding: 12px 28px;
    border: 1px solid var(--red);
    border-radius: var(--radius);
    white-space: nowrap;
    transition: all var(--transition);
}

.btn-uye-islemleri:hover,
.btn-uye-islemleri:active {
    background: var(--green);
    color: #fff;
    border-color: var(--green);
    box-shadow: 0 3px 12px rgba(13, 119, 62, 0.35);
}

/* ---- Hamburger ---- */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
}

.hamburger span {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--text-dark);
    border-radius: 2px;
    transition: all 0.3s;
}

.hamburger.active span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}
/* ============================================================
   INNER PAGE HERO (Alt Sayfa Başlık Bandı)
   ============================================================ */
.inner-page-hero {
    background: var(--red);
    border-radius: 0 0 24px 24px;
    padding: 100px 24px 70px;
    text-align: center;
    position: relative;
    overflow: hidden;
    margin-bottom: 50px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.inner-page-hero h1 {
    font-family: var(--font-head);
    font-size: 52px;
    font-weight: 800;
    color: #ffffff;
    letter-spacing: -1.5px;
    position: relative;
    z-index: 2;
    text-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.iph-watermark {
    position: absolute;
    right: -20px;
    bottom: -30px;
    height: 140%;
    width: auto;
    opacity: 0.06;
    filter: brightness(0) invert(1);
    transform: rotate(-10deg);
    z-index: 1;
    pointer-events: none;
}

/* ============================================================
   INNER PAGE CONTENT (Standart İçerik Kutusu)
   ============================================================ */
.inner-page-container {
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 24px;
    margin-bottom: 80px;
}

.inner-page-content {
    background: #ffffff;
    border-radius: var(--radius-lg);
    box-shadow: none; /* Shadow removed per user request */
    padding: 50px;
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.85;
    color: var(--text-dark);
    position: relative;
    z-index: 2;
}

.inner-page-content h2 {
    font-family: var(--font-head);
    font-size: 28px;
    color: var(--red);
    margin-top: 40px;
    margin-bottom: 20px;
    font-weight: 800;
}

.inner-page-content p {
    margin-bottom: 20px;
}

/* ============================================================
   CONTENT LIST (Misyon, Maddelemeler vb.)
   ============================================================ */
.content-list {
    list-style: none;
    padding-left: 0;
    margin-top: 30px;
}

.content-list > li {
    margin-bottom: 25px;
    background: #fdfdfd;
    border: 1px solid #f0f0f0;
    padding: 24px 30px;
    border-radius: var(--radius);
    border-left: 5px solid var(--red);
    transition: transform var(--transition);
}

.content-list > li:hover {
    transform: translateX(5px);
}

.content-list > li > strong {
    font-family: var(--font-head);
    font-size: 20px;
    color: var(--text-dark);
    display: block;
    margin-bottom: 14px;
}

.content-list ul {
    list-style: none;
    padding-left: 0;
}

.content-list ul li {
    position: relative;
    padding-left: 28px;
    margin-bottom: 10px;
    color: #444;
    font-size: 15.5px;
}

.content-list ul li::before {
    content: "\f00c"; /* FontAwesome Check Icon */
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    position: absolute;
    left: 0;
    top: 3px;
    color: var(--green);
    font-size: 15px;
}

/* Modifier: 3 Column Grid for Content Lists */
.content-grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}
.content-grid-3 > li {
    margin-bottom: 0 !important;
}
@media (max-width: 1024px) {
    .content-grid-3 {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media (max-width: 768px) {
    .content-grid-3 {
        grid-template-columns: 1fr;
    }
}

/* ============================================================
   MISSION CARDS (Solid Renk Blokları / Miting Stili)
   ============================================================ */
.mission-cards {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    margin: 50px 0;
}

.mission-card {
    border-radius: var(--radius-lg);
    padding: 35px 35px 45px 35px;
    position: relative;
    overflow: hidden;
    transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1), box-shadow 0.4s;
    border: none;
    z-index: 1;
}

.mission-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.12);
}

.mission-card .mc-num {
    font-family: var(--font-head);
    font-weight: 800;
    line-height: 1;
    z-index: 0;
    pointer-events: none;
}

.mission-card h3 {
    font-family: var(--font-head);
    font-size: 24px;
    margin-bottom: 25px;
    font-weight: 800;
    line-height: 1.3;
}

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

.mission-card ul li {
    position: relative;
    padding-left: 28px;
    margin-bottom: 14px;
    font-size: 15.5px;
    line-height: 1.5;
    font-weight: 500;
}

.mission-card ul li::before {
    content: "\f00c"; /* FontAwesome Check Icon */
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    position: absolute;
    left: 0;
    top: 3px;
    font-size: 15px;
}

/* ================== SOLID KART VARYANTLARI ================== */

/* 1. Tok Kırmızı */
.mission-card.mc-red {
    background: var(--red);
    color: #ffffff;
}
.mission-card.mc-red .mc-num { color: #ffffff; opacity: 0.15; position: absolute; top: -15px; right: -10px; font-size: 150px; }
.mission-card.mc-red h3 { color: #ffffff; position: relative; z-index: 2; }
.mission-card.mc-red ul { position: relative; z-index: 2; }
.mission-card.mc-red ul li { color: rgba(255,255,255,0.95); }
.mission-card.mc-red ul li::before { color: #ffffff; opacity: 0.8; }

/* 2. Tok Yeşil (DP Yeşili) */
.mission-card.mc-green {
    background: var(--green);
    color: #ffffff;
}
.mission-card.mc-green .mc-num { color: #ffffff; opacity: 0.15; position: absolute; top: -15px; right: -10px; font-size: 150px; }
.mission-card.mc-green h3 { color: #ffffff; position: relative; z-index: 2; }
.mission-card.mc-green ul { position: relative; z-index: 2; }
.mission-card.mc-green ul li { color: rgba(255,255,255,0.95); }
.mission-card.mc-green ul li::before { color: #ffffff; opacity: 0.8; }

/* 3. Koyu Siyah / Füme */
.mission-card.mc-dark {
    background: #111111;
    color: #ffffff;
}
.mission-card.mc-dark .mc-num { color: #ffffff; opacity: 0.06; position: absolute; top: -15px; right: -10px; font-size: 150px; }
.mission-card.mc-dark h3 { color: #ffffff; position: relative; z-index: 2; }
.mission-card.mc-dark ul { position: relative; z-index: 2; }
.mission-card.mc-dark ul li { color: rgba(255,255,255,0.85); }
.mission-card.mc-dark ul li::before { color: var(--red); } 

/* 4. Zırh Beyaz (Kırmızı Kontürlü) */
.mission-card.mc-white {
    background: #ffffff;
    border: 3px solid var(--red);
    color: var(--text-dark);
}
.mission-card.mc-white .mc-num { color: var(--red); opacity: 0.08; position: absolute; top: -15px; right: -10px; font-size: 150px; }
.mission-card.mc-white h3 { color: var(--red); position: relative; z-index: 2; }
.mission-card.mc-white ul { position: relative; z-index: 2; }
.mission-card.mc-white ul li { color: #333; font-weight: 600; }
.mission-card.mc-white ul li::before { color: var(--red); }

/* ============================================================
   KURUMSAL KİMLİK (Brand Identity Boxes)
   ============================================================ */
.brand-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    margin-top: 30px;
}

.brand-color-box {
    border-radius: var(--radius-lg);
    overflow: hidden;
    position: relative;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}

.bcb-color {
    height: 120px;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.bcb-info {
    padding: 20px;
    background: #fff;
    border: 1px solid var(--border);
    border-top: none;
    border-radius: 0 0 var(--radius-lg) var(--radius-lg);
}

.bcb-info h4 {
    margin: 0 0 5px 0;
    font-family: var(--font-head);
    font-weight: 800;
    color: var(--text-dark);
}

.bcb-info p {
    margin: 0;
    font-family: monospace;
    color: #666;
    font-size: 14px;
}

/* Asset Download Cards */
.asset-downloads {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-top: 25px;
    margin-bottom: 40px;
}

.asset-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 24px;
    background: #fdfdfd;
    border: 1px solid #ebebeb;
    border-radius: var(--radius);
    transition: var(--transition);
    text-decoration: none;
}

.asset-card:hover {
    border-color: var(--red);
    box-shadow: 0 4px 15px rgba(184, 14, 1, 0.08);
    transform: translateY(-2px);
}

.asset-info {
    display: flex;
    align-items: center;
    gap: 15px;
}

.asset-icon {
    font-size: 24px;
    color: var(--red);
}

.asset-details h4 {
    margin: 0 0 2px 0;
    font-family: var(--font-head);
    font-weight: 700;
    font-size: 16px;
    color: var(--text-dark);
}

.asset-details span {
    font-size: 13px;
    color: #888;
}

.btn-download {
    padding: 8px 16px;
    background: rgba(184, 14, 1, 0.08);
    color: var(--red);
    border-radius: 6px;
    font-weight: 700;
    font-family: var(--font-head);
    font-size: 13px;
    transition: var(--transition);
}

.btn-download:hover {
    background: var(--red);
    color: #fff;
}

/* ============================================================
   KADRO - GENEL BAŞKAN
   ============================================================ */
.profile-img {
    float: left;
    width: 320px;
    border-radius: 16px;
    margin: 0 40px 30px 0;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    object-fit: cover;
}

@media (max-width: 768px) {
    .profile-img {
        float: none;
        width: 100%;
        margin: 0 0 25px 0;
    }
}

/* ============================================================
   KADRO - FİLTRELEME BUTONLARI (District Filter)
   ============================================================ */
.kadro-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 25px;
}

.kf-btn {
    background: #fdfdfd;
    border: 1px solid var(--border);
    color: var(--text-dark);
    font-family: var(--font-head);
    font-weight: 700;
    font-size: 13px;
    padding: 8px 16px;
    border-radius: 6px;
    cursor: pointer;
    transition: var(--transition);
}

.kf-btn:hover {
    background: rgba(184, 14, 1, 0.05);
    border-color: rgba(184, 14, 1, 0.2);
    color: var(--red);
}

.kf-btn.active {
    background: var(--red);
    border-color: var(--red);
    color: #fff;
}

/* ============================================================
   İLETİŞİM BÖLÜMÜ (FULL WIDTH)
   ============================================================ */
.contact-section {
    padding: 60px 0;
}

.contact-container {
    width: 100%;
    max-width: 1430px;
    margin: 0 auto;
    padding: 0 24px;
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 50px;
}

.contact-card {
    background: #fff;
    border: 1px solid #ebebeb;
    border-radius: 12px;
    padding: 40px 30px;
    text-align: center;
    transition: var(--transition);
    box-shadow: 0 4px 15px rgba(0,0,0,0.02);
}

.contact-card:hover {
    box-shadow: 0 8px 25px rgba(184, 14, 1, 0.08);
    transform: translateY(-5px);
    border-color: rgba(184, 14, 1, 0.2);
}

.cc-icon {
    width: 60px;
    height: 60px;
    background: rgba(184, 14, 1, 0.05);
    color: var(--red);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    margin: 0 auto 20px;
}

.cc-title {
    font-family: var(--font-head);
    font-size: 20px;
    font-weight: 800;
    color: var(--text-dark);
    margin: 0 0 10px 0;
}

.cc-text {
    font-size: 15px;
    color: #555;
    margin: 0;
    line-height: 1.6;
}

.cc-text a {
    color: #555;
    text-decoration: none;
    transition: var(--transition);
}

.cc-text a:hover {
    color: var(--red);
}

.contact-map {
    width: 100%;
    height: 450px;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid #ebebeb;
}

/* ============================================================
   MEDYA: FOTOĞRAF GALERİSİ (Alt Sayfa Grid Layout)
   ============================================================ */
.gallery-page-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-bottom: 50px;
}

.gallery-page-grid .gs-item {
    width: 100%;
    height: 250px;
    flex: none;
    margin: 0;
    border-radius: 12px;
}

@media (max-width: 1024px) {
    .gallery-page-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 768px) {
    .gallery-page-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 480px) {
    .gallery-page-grid { grid-template-columns: 1fr; }
}

/* ============================================================
   KADRO - MERKEZ YÜRÜTME KURULU (List)
   ============================================================ */
.myk-list {
    display: flex;
    flex-direction: column;
    margin-top: 30px;
}

.myk-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 12px;
    border-bottom: 1px solid var(--border);
    transition: background-color 0.2s ease;
}

.myk-item:first-child {
    border-top: 1px solid var(--border);
}

.myk-item:hover {
    background: #fafafa;
}

.myk-name {
    font-family: var(--font-head);
    font-size: 18px;
    font-weight: 800;
    color: var(--text-dark);
    margin: 0;
}

.myk-title {
    font-size: 13px;
    font-weight: 700;
    color: var(--red);
    font-family: var(--font-head);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    background: rgba(184, 14, 1, 0.06);
    padding: 6px 12px;
    border-radius: 6px;
    margin: 0;
}

@media (max-width: 900px) {
    .mission-cards {
        grid-template-columns: 1fr;
    }
    .contact-grid {
        grid-template-columns: 1fr;
    }
}

/* ============================================================
   SIDEBAR KURUMSAL - MEDYA GALERİSİ WIDGET 
   ============================================================ */
.media-hover img {
    transition: transform 0.4s ease;
}

.media-hover:hover img {
    transform: scale(1.1) !important;
}

.media-hover:hover .mh-overlay {
    opacity: 1 !important;
}

/* ============================================================
   KURUMSAL ALT SAYFA YAN MENÜSÜ (Inner Page Sidebar)
   ============================================================ */
.widget-nav ul {
    list-style: none;
    padding: 10px 0; 
    margin: 0;
}

.widget-nav ul li a {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 18px;
    margin: 4px 12px;
    border-radius: 8px;
    color: var(--text-dark);
    font-size: 15px;
    font-weight: 700;
    font-family: var(--font-head);
    transition: all var(--transition);
}

.widget-nav ul li a i {
    font-size: 13px;
    color: transparent; 
    transition: transform var(--transition), color var(--transition);
    transform: translateX(-10px);
}

.widget-nav ul li a:hover,
.widget-nav ul li a.active {
    color: var(--red);
    background: rgba(184, 14, 1, 0.06);
    padding-left: 22px;
}

.widget-nav ul li a:hover i,
.widget-nav ul li a.active i {
    color: var(--red);
    transform: translateX(0);
}

/* ============================================================
   HERO SLIDER — Modern Kurumsal
   ============================================================ */
.hero-slider {
    position: relative;
    width: 100%;
    height: 620px;
    overflow: hidden;
    background: #111;
    border-radius: 0 0 18px 18px;
}

.slides-wrapper {
    display: flex;
    width: 100%;
    height: 100%;
    transition: transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}

.slide {
    min-width: 100%;
    height: 100%;
    position: relative;
    display: flex;
    align-items: center;
    overflow: hidden;
}

/* Simple dark overlay for image backgrounds */
.slide-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(0deg, rgba(0, 0, 0, 0.5) 0%, rgba(0, 0, 0, 0.1) 40%, rgba(0, 0, 0, 0.3) 100%);
    z-index: 1;
}

/* Original Red Caption Box */
.slide-caption {
    position: absolute;
    bottom: 50px;
    left: 0;
    background: rgba(184, 14, 1, 0.95);
    /* var(--red) almost opaque */
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 12px 24px;
    width: 800px;
    max-width: 90%;
    z-index: 2;
    border-radius: 0 4px 4px 0;
    /* transition is applied when active */
}

/* Kutu soldan gelmeli, resim (wrapper) zaten sağdan geliyor */
.slide:not(.active) .slide-caption {
    opacity: 0;
    transform: translateX(-250px);
}

.slide.active .slide-caption {
    opacity: 1;
    transform: translateX(0);
    transition: transform 0.6s cubic-bezier(0.22, 0.61, 0.36, 1) 0.5s, opacity 0.6s ease 0.5s;
}

.caption-logo {
    width: 44px;
    height: 44px;
    background: #fff;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    padding: 6px;
}

.caption-logo img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.slide-caption p {
    color: #fff;
    font-family: var(--font-head);
    font-size: 15.5px;
    font-weight: 700;
    line-height: 1.45;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    margin: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}


/* ---- Minimal Slider Controls ---- */
.slider-controls {
    position: absolute;
    bottom: 28px;
    right: 32px;
    display: flex;
    align-items: center;
    gap: 0;
    z-index: 10;
}

.sc-btn {
    background: transparent;
    border: none;
    color: #fff;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    opacity: 0.7;
    transition: opacity 0.18s;
    flex-shrink: 0;
    padding: 0;
}

.sc-btn:hover {
    opacity: 1;
}

.sc-counter {
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 0 8px;
    font-family: var(--font-head);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 1px;
    color: rgba(255, 255, 255, 0.9);
}

.sc-current {
    color: #fff;
    font-size: 15px;
}

.sc-sep {
    color: rgba(255, 255, 255, 0.35);
    font-weight: 400;
    font-size: 12px;
}

.sc-total {
    color: rgba(255, 255, 255, 0.45);
    font-size: 12px;
}

.dot {
    display: none;
}

.hero-bottom-bar {
    display: none;
}

/* ============================================================
   STATS BAR
   ============================================================ */
.stats-bar {
    padding: 30px 0;
    background: #fff;
    border-bottom: 1px solid var(--border);
    width: 100%;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 16px;
    max-width: 1390px;
    margin: 0 auto;
    padding: 0 24px;
}

.stat-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 14px;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    transition: border-color var(--transition), box-shadow var(--transition);
}

.stat-item:hover {
    border-color: rgba(184, 14, 1, 0.25);
    box-shadow: var(--shadow);
}

.stat-icon {
    width: 44px;
    height: 44px;
    background: rgba(184, 14, 1, 0.07);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: var(--red);
    flex-shrink: 0;
}

.stat-info {
    line-height: 1.15;
}

.stat-value {
    font-family: var(--font-head);
    font-size: 22px;
    font-weight: 800;
    color: var(--text-dark);
}

.stat-percent {
    font-family: var(--font-head);
    font-size: 15px;
    font-weight: 700;
    color: var(--red);
}

.stat-label {
    display: block;
    font-size: 12px;
    color: var(--text-light);
    margin-top: 2px;
}

/* ============================================================
   MAIN SPLIT LAYOUT (80/20)
   ============================================================ */
.main-split-layout {
    display: grid;
    grid-template-columns: minmax(0, 3fr) minmax(0, 1fr);
    /* 75-25 exact */
    gap: 40px;
    width: 100%;
    max-width: 1430px;
    margin: 0 auto 70px auto;
}

.split-left {
    min-width: 0;
}

.split-right {
    min-width: 0;
    padding: 60px 24px 60px 0;
    /* Padding matched with news-section */
    position: relative;
}

.sidebar-widget {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 24px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03);
    margin-bottom: 30px;
}

.widget-title {
    font-family: var(--font-head);
    font-size: 15px;
    font-weight: 800;
    color: var(--text-dark);
    text-transform: uppercase;
    border-bottom: 2px solid var(--red);
    padding-bottom: 10px;
    display: inline-block;
}

/* ============================================================
   LEFT SIDEBAR LAYOUT (25/75)
   ============================================================ */
.main-split-left-sidebar {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 3fr);
    gap: 40px;
    width: 100%;
    max-width: 1430px;
    margin: 0 auto;
}
.main-split-left-sidebar .split-left {
    min-width: 0;
    padding: 60px 0 60px 24px;
}
.main-split-left-sidebar .split-right {
    min-width: 0;
    padding: 60px 24px 60px 0;
}

/* ============================================================
   HABER LİSTESİ WIDGETS (Arama & Kategori)
   ============================================================ */
.search-box {
    display: flex;
    background: #f8fafc;
    border: 1px solid var(--border);
    border-radius: 8px;
    overflow: hidden;
}
.search-box input {
    flex: 1;
    border: none;
    padding: 12px 15px;
    background: transparent;
    font-family: var(--font-head);
    font-size: 14px;
    outline: none;
    color: var(--text-dark);
}
.search-box button {
    background: var(--red);
    color: #fff;
    border: none;
    padding: 0 16px;
    cursor: pointer;
    transition: background var(--transition);
}
.search-box button:hover {
    background: var(--text-dark);
}

.cat-list {
    list-style: none;
    padding: 0;
    margin: 0;
}
.cat-list li {
    margin-bottom: 8px;
}
.cat-list li:last-child {
    margin-bottom: 0;
}
.cat-list a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 15px;
    background: #f8fafc;
    border-radius: 6px;
    color: var(--text-dark);
    font-family: var(--font-head);
    font-weight: 600;
    font-size: 14px;
    transition: all var(--transition);
}
.cat-list a:hover {
    background: var(--red);
    color: #fff;
    transform: translateX(3px);
}
.cat-count {
    background: rgba(0,0,0,0.06);
    padding: 2px 8px;
    border-radius: 12px;
    font-size: 11px;
    font-weight: 700;
}
.cat-list a:hover .cat-count {
    background: rgba(255,255,255,0.2);
}

/* DP Mobile App Widget (Modern Red) */
.sidebar-widget.modern-app-widget {
    background: linear-gradient(135deg, var(--red) 0%, #7d0800 100%);
    border: none;
    border-radius: 24px;
    padding: 35px 28px 40px;
    box-shadow: none; /* Removed heavy shadow per user request */
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    position: relative;
    overflow: visible;
    margin-bottom: 30px;
    margin-top: 50px; /* Leave space above the widget for the overflowing image */
}

.app-bg-layer {
    position: absolute;
    inset: 0;
    border-radius: 24px;
    overflow: hidden;
    z-index: 0;
}

.app-bg-watermark {
    position: absolute;
    bottom: -30px;
    right: -40px;
    width: 220px;
    height: 220px;
    opacity: 0.08; /* Subtle transparency */
    pointer-events: none;
    z-index: 1;
    filter: brightness(0) invert(1);
    transform: rotate(-15deg);
}.app-glow {
    position: absolute;
    top: -60px;
    left: -60px;
    width: 280px;
    height: 280px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.12) 0%, transparent 70%);
    pointer-events: none;
    z-index: 1;
}

.app-overflow-visual {
    position: absolute;
    top: -65px;
    left: 50%;
    transform: translateX(-50%);
    width: 210px; /* Large enough to break out */
    z-index: 10;
    filter: drop-shadow(0 15px 25px rgba(0, 0, 0, 0.4));
    pointer-events: none; /* Let clicks pass through if needed */
}

.app-overflow-visual img {
    width: 100%;
    height: auto;
    display: block;
}

.app-content-wrapper {
    position: relative;
    z-index: 5; /* Keep text/buttons above glow */
    width: 100%;
    padding-top: 140px; /* Push the content down below the overflowing image */
    display: flex;
    flex-direction: column;
    align-items: center;
}

.modern-app-widget .app-title {
    font-family: var(--font-head);
    font-size: 24px;
    font-weight: 900;
    color: #fff;
    line-height: 1.15;
    margin-bottom: 8px;
    letter-spacing: -0.5px;
    position: relative;
    z-index: 2;
}

.modern-app-widget .app-desc {
    font-family: var(--font-body);
    font-size: 13.5px;
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.55;
    margin-bottom: 28px;
    position: relative;
    z-index: 2;
}

/* Yeni alt alta görsel butonlar için */
.app-store-btns-col {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    width: 100%;
    position: relative;
    z-index: 2;
}

.app-store-btns-col a {
    display: block;
    width: 100%;
    max-width: 150px;
    transition: transform var(--transition), filter var(--transition);
}

.app-store-btns-col a:hover {
    transform: translateY(-3px);
    filter: brightness(1.15);
}

.app-store-btns-col img {
    width: 100%;
    height: auto;
    object-fit: contain;
}

/* DP Membership Widget (Green) */
.sidebar-widget.widget-join {
    background: var(--green);
    border: none;
    border-radius: 22px;
    padding: 35px 20px 45px;
    box-shadow: none; /* Removed heavy shadow per user request */
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.join-bg-watermark {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
    /* Ultra-minimalist Logo Matrix */
    background-image: url('../assets/icon-2.svg');
    background-size: 26px 26px;
    background-repeat: repeat;
    opacity: 0.18;
    filter: brightness(0) invert(1);
    /* Efekti SADECE ikonlara uygulamak için Native CSS MASK kullanıyoruz */
    -webkit-mask-image: radial-gradient(circle at center, black 10%, transparent 95%);
    mask-image: radial-gradient(circle at center, black 10%, transparent 95%);
}

.join-badge-wrapper {
    position: relative;
    width: 170px;
    height: 170px;
    margin: 0 auto 28px;
    z-index: 2;
}

.join-svg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.join-img {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 70px;
    height: 70px;
    object-fit: contain;
    z-index: 10;
}

.join-title {
    font-family: var(--font-head);
    font-size: 19px;
    font-weight: 800;
    color: #fff;
    line-height: 1.35;
    margin-bottom: 26px;
    letter-spacing: 0.5px;
    position: relative;
    z-index: 2;
}

.btn-join {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    background: #ffffff;
    color: var(--green);
    font-family: var(--font-head);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 1px;
    padding: 12px;
    border: 1px solid #fff;
    border-radius: var(--radius);
    transition: all var(--transition);
    position: relative;
    z-index: 2;
}

.btn-join:hover {
    background: var(--red);
    color: #fff;
    border-color: var(--red);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(184, 14, 1, 0.4);
}

/* ============================================================
   HABER DETAY (Makale İçi)
   ============================================================ */
.haber-detay-content {
    background: #fff;
    border-radius: var(--radius-lg);
    margin-top: 10px;
    border: none;
    padding: 50px;
}
.hd-kapak-wrapper {
    position: relative;
    width: 100%;
    border-radius: 12px;
    overflow: hidden;
    display: block;
}
.hd-kapak {
    width: 100%;
    height: 450px;
    object-fit: cover;
    display: block;
}
/* Sağ alt köşe overlay badge */
.hd-overlay-badge {
    position: absolute;
    bottom: 18px;
    right: 18px;
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(10, 10, 20, 0.65);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: 8px;
    padding: 8px 14px;
}
.hd-ov-category {
    font-family: var(--font-head);
    font-size: 11px;
    font-weight: 800;
    color: #ff6b6b;
    text-transform: uppercase;
    letter-spacing: 1px;
}
.hd-ov-sep {
    color: rgba(255,255,255,0.35);
    font-size: 13px;
}
.hd-ov-date {
    font-family: var(--font-head);
    font-size: 11px;
    font-weight: 600;
    color: rgba(255,255,255,0.85);
    letter-spacing: 0.5px;
}
/* Resim yoksa düz meta */
.hd-meta-noimg {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
    font-family: var(--font-head);
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--red);
}
.hd-body {
    padding: 40px 0 0 0;
}


/* ============================================================
   WIDGET: DİĞER HABERLER
   ============================================================ */
.wn-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
    max-height: 400px;
    overflow-y: auto;
    scroll-behavior: smooth;
    scrollbar-width: none;
    -ms-overflow-style: none;
    padding-right: 5px;
}
.wn-list::-webkit-scrollbar {
    display: none;
}
.wn-item {
    display: flex;
    gap: 15px;
    align-items: center;
    transition: transform var(--transition);
}
.wn-item:hover {
    transform: translateX(5px);
}
.wn-item img {
    width: 80px;
    height: 65px;
    object-fit: cover;
    border-radius: 6px;
    flex-shrink: 0;
}
.wn-text {
    flex: 1;
}
.wn-text h5 {
    font-size: 14px;
    font-family: var(--font-head);
    color: var(--text-dark);
    margin: 0 0 5px 0;
    line-height: 1.3;
    transition: color var(--transition);
}
.wn-item:hover .wn-text h5 {
    color: var(--red);
}
.wn-text span {
    font-size: 11px;
    color: #888;
    font-weight: 500;
}

/* DP Events Widget */
.sidebar-widget.widget-events {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 24px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.03);
    margin-bottom: 30px;
}
.widget-events .widget-title {
    font-family: var(--font-head);
    font-size: 16px;
    font-weight: 800;
    color: var(--text-dark);
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--border);
    display: flex;
    align-items: center;
    gap: 8px;
}
.widget-events .widget-title::before {
    content: '\f073'; /* Calendar icon */
    font-family: 'Font Awesome 5 Free';
    font-weight: 400;
    color: var(--red);
}
.event-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 20px;
}

#upcoming-events-list {
    max-height: 380px;
    scroll-behavior: smooth;
    overflow-y: hidden; /* Hide scrollbar but allow JS scroll */
    scrollbar-width: none;
    -ms-overflow-style: none;
}
#upcoming-events-list::-webkit-scrollbar {
    display: none;
}

.ec-btn {
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: #f1f5f9;
    color: var(--text-gray);
    border: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all var(--transition);
    font-size: 10px;
}
.ec-btn:hover {
    background: var(--red);
    color: #fff;
    transform: translateY(-2px);
}
.event-item {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 12px;
    border-radius: var(--radius);
    transition: background var(--transition);
}
.event-item:hover {
    background: rgba(0,0,0,0.02);
}
.event-date {
    background: #fff;
    border: 1px solid #eee;
    border-radius: 8px;
    width: 48px;
    height: 52px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 2px 5px rgba(0,0,0,0.03);
}
.ed-day {
    font-family: var(--font-head);
    font-size: 18px;
    font-weight: 800;
    color: var(--red);
    line-height: 1;
}
.ed-month {
    font-size: 10px;
    color: #666;
    text-transform: uppercase;
    font-weight: 700;
    margin-top: 2px;
}
.event-info { flex: 1; }
.event-title {
    font-family: var(--font-head);
    font-size: 14px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 5px;
    line-height: 1.3;
    transition: color var(--transition);
}
.event-item:hover .event-title {
    color: var(--red);
}
.event-meta {
    font-size: 11.5px;
    color: #888;
    display: flex;
    align-items: center;
    gap: 5px;
}
.btn-all-events {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    padding: 12px;
    background: var(--red);
    border: 1px solid var(--red);
    border-radius: var(--radius);
    font-family: var(--font-head);
    font-size: 13px;
    font-weight: 700;
    color: #fff;
    transition: all var(--transition);
}
.btn-all-events:hover {
    background: var(--green);
    color: #fff;
    border-color: var(--green);
    box-shadow: 0 3px 12px rgba(13, 119, 62, 0.35);
}

/* ============================================================
   NEWS SECTION
   ============================================================ */
.news-section {
    padding: 60px 0 70px;
    background: #ffffff;
    width: 100%;
}

.section-header {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    width: 100%;
    margin: 0 auto 24px;
    padding: 0 24px 14px;
    border-bottom: 2px solid var(--border);
}

.section-title {
    font-family: var(--font-head);
    font-size: 24px;
    font-weight: 800;
    color: var(--text-dark);
    padding-left: 12px;
    position: relative;
}

.section-title::before {
    content: '';
    position: absolute;
    left: 0;
    top: 3px;
    height: calc(100% - 6px);
    width: 4px;
    background: var(--red);
    border-radius: 2px;
}

.section-link {
    font-family: var(--font-head);
    font-size: 13px;
    font-weight: 700;
    color: var(--red);
    display: flex;
    align-items: center;
    gap: 5px;
    transition: gap var(--transition);
}

.section-link:hover {
    gap: 8px;
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 36px 24px;
    width: 100%;
    padding: 0 24px 0 30px;
}

/* NAKED MINIMALIST EDITORIAL CARD */
.news-card {
    background: transparent;
    border: none;
    box-shadow: none;
    display: flex;
    flex-direction: column;
}

.news-card-img-wrap {
    display: block;
    overflow: hidden;
    border-radius: 12px;
    position: relative;
    width: 100%;
    aspect-ratio: 4/3;
    background: #f1f2f5;
}

.news-card-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.6s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.news-card:hover .news-card-img-wrap img {
    transform: scale(1.05);
}

/* Body: Flush left, naked */
.news-card-body {
    padding: 16px 0 0 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.news-card-date {
    order: 1;
    font-family: var(--font-head);
    font-size: 11.5px;
    color: var(--red);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin: 0;
}

.news-card-title {
    order: 2;
    font-family: var(--font-head);
    font-size: 16px;
    font-weight: 800;
    color: var(--text-dark);
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    transition: color 0.2s ease;
}

.news-card-title:hover {
    color: var(--red);
}

.news-card-excerpt {
    order: 3;
    font-family: var(--font-body);
    font-size: 13.5px;
    color: #666;
    line-height: 1.5;
    margin: 2px 0 0 0;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* ============================================================
   CTA BANNER
   ============================================================ */
.cta-banner {
    background: #fdecea;
    border-top: 3px solid var(--red);
    border-bottom: 3px solid var(--red);
    padding: 18px 0;
    width: 100%;
}

/* ============================================================
   GALLERY SECTION (MODERN SLIDER)
   ============================================================ */
.gallery-section {
    padding: 60px 0 20px; /* Reduced from 70px to eliminate dead space */
    background: #f8f9fa;
    width: 100%;
    border-radius: 24px;
    overflow: hidden;
}

/* Media Tabs */
.media-tabs {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-left: 30px;
}

.media-tab {
    background: #fff;
    color: #64748b; /* slate-500 */
    border: 1px solid #e2e8f0; /* slate-200 */
    font-family: var(--font-head);
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.5px;
    padding: 8px 24px;
    border-radius: 4px; /* Sharp corporate edges */
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.media-tab:hover {
    border-color: var(--red);
    color: var(--red);
}

.media-tab.active {
    background: var(--red);
    color: #fff;
    border-color: var(--red);
    box-shadow: 0 4px 14px rgba(210, 31, 11, 0.35); /* Subtle red glow */
}

@media (max-width: 768px) {
    .gallery-section .section-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
    }
    .media-tabs {
        margin-left: 0;
        width: 100%;
        overflow-x: auto;
        padding-bottom: 5px;
        -webkit-overflow-scrolling: touch;
    }
    .media-tab {
        flex-shrink: 0; /* Prevent mobile squishing */
    }
}

/* Slider Wrapper & Control Deck */
.slider-wrapper {
    position: relative;
    width: 100%;
}

.control-deck {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 30px 20px 30px;
    margin-top: 5px;
}

.progress-container {
    flex: 1; /* Takes available space on the left */
    max-width: 400px;
    height: 4px;
    background: #e2e8f0;
    border-radius: 4px;
    position: relative;
    overflow: hidden;
}

.progress-bar {
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 0%; /* JS populated */
    background: var(--red);
    border-radius: 4px;
    transition: width 0.15s linear;
}

.deck-actions {
    display: flex;
    align-items: center;
    gap: 24px;
}

.deck-arrows {
    display: flex;
    align-items: center;
    gap: 12px;
}

.deck-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #fff;
    border: 1px solid #e2e8f0;
    color: var(--text-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 14px;
    transition: all 0.3s ease;
}

.deck-btn:hover {
    background: var(--red);
    color: #fff;
    border-color: var(--red);
    box-shadow: 0 4px 12px rgba(210, 31, 11, 0.25);
}

.deck-divider {
    width: 2px;
    height: 20px;
    background: #e2e8f0;
}

@media (max-width: 768px) {
    .control-deck {
        flex-direction: column;
        align-items: flex-start;
        gap: 24px;
        padding: 5px 24px 20px 24px;
    }
    .progress-container {
        max-width: 100%;
        width: 100%;
    }
    .deck-actions {
        width: 100%;
        justify-content: space-between;
    }
}

.gallery-slider {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    gap: 16px;
    padding: 0 24px 20px 30px;
    scrollbar-width: none; /* Firefox */
}

/* Hide scrollbar for Chrome, Safari and Opera */
.gallery-slider::-webkit-scrollbar {
    display: none;
}

.gs-item {
    flex: 0 0 calc(33.333% - 10.6px); /* Show exactly 3 items at a time */
    scroll-snap-align: start;
    border-radius: 12px;
    overflow: hidden;
    position: relative;
    aspect-ratio: 4/3; /* Standard rectangle */
    display: block;
}

/* For video items if we want to mix them */
.gs-item.gs-video::after {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.1) 40%, rgba(0,0,0,0) 100%);
    z-index: 1;
    pointer-events: none;
}

.gs-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.6s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.gs-overlay {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0,0,0,0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    z-index: 2;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.gs-overlay i {
    color: #fff;
    font-size: 32px;
    transform: scale(0.8);
    transition: transform 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.gs-item:hover img {
    transform: scale(1.05);
}

.gs-item:hover .gs-overlay {
    opacity: 1;
}

.gs-item:hover .gs-overlay i {
    transform: scale(1);
}

/* Video specific play button */
.video-play-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 64px;
    height: 64px;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.4);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 3;
    transition: all 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.video-play-btn i {
    color: #fff;
    font-size: 22px;
    margin-left: 5px; /* visually center play icon */
    text-shadow: 0 4px 15px rgba(0,0,0,0.5);
}

.gs-item.gs-video:hover .video-play-btn {
    background: var(--red);
    border-color: var(--red);
    transform: translate(-50%, -50%) scale(1.15);
}

/* Meta Data */
.video-meta {
    position: absolute;
    bottom: 25px;
    left: 25px;
    right: 25px;
    z-index: 3;
}

.v-tag {
    display: inline-block;
    background: var(--red);
    color: #fff;
    font-family: var(--font-head);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 1px;
    padding: 5px 12px;
    border-radius: 4px;
    margin-bottom: 10px;
}

.v-title {
    color: #fff;
    font-family: var(--font-head);
    font-size: 18px; /* Slightly smaller for slider cards */
    font-weight: 800;
    line-height: 1.35;
    margin: 0;
    text-shadow: 0 4px 15px rgba(0,0,0,0.6);
}

/* Responsive */
@media (max-width: 900px) {
    .gs-item {
        flex: 0 0 calc(50% - 8px); /* 2 items on tablet */
    }
}

@media (max-width: 500px) {
    .gs-item {
        flex: 0 0 calc(85% - 8px); /* 1.5 items on mobile */
    }
}

.cta-inner {
    display: flex;
    align-items: center;
    gap: 16px;
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 24px;
}

.cta-icon {
    width: 38px;
    height: 38px;
    background: var(--red);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 17px;
    flex-shrink: 0;
}

.cta-text {
    font-size: 14.5px;
    flex: 1;
}

.cta-text strong {
    color: var(--red);
}

.btn-uye-ol {
    background: var(--green);
    color: #fff;
    font-family: var(--font-head);
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 1px;
    padding: 9px 26px;
    border-radius: var(--radius);
    white-space: nowrap;
    transition: background var(--transition), box-shadow var(--transition);
}

.btn-uye-ol:hover {
    background: var(--green-dark);
    box-shadow: 0 3px 12px rgba(13, 119, 62, 0.32);
}

/* ============================================================
   GLOBAL LIGHTBOX MODAL (Image & Video)
   ============================================================ */
.media-modal {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.92);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 99999; /* Highest priority */
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s ease, visibility 0.4s ease;
}

.media-modal.active {
    opacity: 1;
    visibility: visible;
}

.modal-close {
    position: absolute;
    top: 30px;
    right: 40px;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #fff;
    font-size: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10000;
    transition: all var(--transition);
}

.modal-close:hover {
    background: var(--red);
    border-color: var(--red);
    transform: rotate(90deg);
}

.modal-content {
    width: 90%;
    max-width: 1100px;
    max-height: 85vh;
    display: flex;
    align-items: center;
    justify-content: center;
    transform: scale(0.9);
    opacity: 0;
    transition: transform 0.4s cubic-bezier(0.19, 1, 0.22, 1), opacity 0.4s ease;
}

.media-modal.active .modal-content {
    transform: scale(1);
    opacity: 1;
}

.modal-content img {
    max-width: 100%;
    max-height: 85vh;
    border-radius: 6px;
    box-shadow: 0 15px 50px rgba(0,0,0,0.5);
    object-fit: contain;
}

.modal-content iframe {
    width: 100%;
    aspect-ratio: 16 / 9;
    border: none;
    border-radius: 6px;
    box-shadow: 0 15px 50px rgba(0,0,0,0.5);
    background: #000;
}

/* ============================================================
   E-DERGİ
   ============================================================ */
.edergi-section {
    padding: 56px 0;
    background: #fff;
    width: 100%;
}

.edergi-inner {
    display: grid;
    grid-template-columns: 1fr 200px;
    gap: 40px;
    align-items: center;
    background: var(--red);
    border-radius: var(--radius-lg);
    padding: 40px 48px;
    max-width: 1240px;
    margin: 0 auto;
    overflow: hidden;
    position: relative;
}

.edergi-inner::before {
    content: '';
    position: absolute;
    top: -60px;
    right: 180px;
    width: 220px;
    height: 220px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
}

.edergi-badge {
    display: inline-block;
    background: rgba(255, 255, 255, 0.18);
    color: #fff;
    font-family: var(--font-head);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 2px;
    padding: 3px 10px;
    border-radius: 20px;
    margin-bottom: 12px;
}

.edergi-content h3 {
    font-family: var(--font-head);
    font-size: 26px;
    font-weight: 900;
    color: #fff;
    margin-bottom: 8px;
}

.edergi-content p {
    font-size: 14.5px;
    color: rgba(255, 255, 255, 0.78);
    margin-bottom: 22px;
}

.btn-oku {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    background: #fff;
    color: var(--red);
    font-family: var(--font-head);
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 1px;
    padding: 10px 26px;
    border-radius: var(--radius);
    transition: background var(--transition);
}

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

.edergi-visual {
    position: relative;
    z-index: 1;
}

.magazine-cover {
    width: 150px;
    height: 210px;
    background: linear-gradient(150deg, #8c0a01, #5a0601);
    border-radius: 3px 10px 10px 3px;
    box-shadow: -5px 5px 22px rgba(0, 0, 0, 0.45), inset -3px 0 8px rgba(0, 0, 0, 0.25);
    padding: 14px;
    display: flex;
    flex-direction: column;
    transform: rotateY(-8deg);
    position: relative;
}

.magazine-cover::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 11px;
    background: rgba(0, 0, 0, 0.22);
}

.mag-header {
    display: flex;
    align-items: center;
    gap: 5px;
    color: rgba(255, 255, 255, 0.7);
    font-size: 7px;
    font-family: var(--font-head);
    font-weight: 800;
    letter-spacing: 1px;
}

.mag-title {
    font-family: var(--font-head);
    font-size: 17px;
    font-weight: 900;
    color: #fff;
    line-height: 1.2;
    margin-top: auto;
}

.mag-issue {
    font-size: 9px;
    color: rgba(255, 255, 255, 0.55);
    display: block;
    margin-top: 4px;
}

/* ============================================================
   FOOTER MOTTO BAR
   ============================================================ */
.footer-ticker {
    background: #8c0a01;
    overflow: hidden;
    padding: 20px 0;
    width: 100%;
    border-radius: 24px 24px 0 0;
}

.motto-track {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 30px;
    padding: 0 20px;
}

.motto-track span {
    font-family: var(--font-head);
    font-size: 13.5px;
    font-weight: 800;
    letter-spacing: 1.5px;
    color: rgba(255, 255, 255, 0.95);
    display: flex;
    align-items: center;
    gap: 15px;
}

.motto-track span i {
    font-size: 5px;
    opacity: 0.4;
    color: #fff;
}

/* ============================================================
   FOOTER  (orijinal: kırmızı arka plan, 4 sütun)
   ============================================================ */
.site-footer {
    background: var(--red);
    padding: 48px 0 0;
    width: 100%;
    position: relative;
    overflow: hidden;
}

/* Beautiful ghost watermark of the icon */
.footer-watermark {
    position: absolute;
    bottom: -15%;
    right: -5%;
    height: 140%;
    width: auto;
    opacity: 0.06;
    pointer-events: none;
    z-index: 0;
    transform: rotate(-15deg);
    filter: brightness(0) invert(1);
}

.footer-container {
    max-width: 1390px;
    margin: 0 auto;
    padding: 0 24px;
    position: relative;
    z-index: 2;
}

.footer-grid {
    display: grid;
    grid-template-columns: 320px 1fr 1fr 1fr;
    gap: 40px;
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}

/* col 1 */
.footer-col-brand {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.footer-logo-link {
    display: inline-block;
}

.footer-logo-img {
    height: 115px;
    width: auto;
    object-fit: contain;
}

.footer-col-brand address {
    font-size: 14.5px;
    line-height: 1.85;
    color: rgba(255, 255, 255, 0.78);
    font-style: normal;
}

.footer-social {
    display: flex;
    gap: 8px;
}

.footer-social a {
    width: 32px;
    height: 32px;
    border: 1px solid rgba(255, 255, 255, 0.35);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    color: rgba(255, 255, 255, 0.72);
    transition: background var(--transition), color var(--transition), border-color var(--transition);
}

.footer-social a:hover {
    background: rgba(255, 255, 255, 0.14);
    color: #fff;
    border-color: rgba(255, 255, 255, 0.55);
}

/* cols 2-4 */
.footer-heading {
    font-family: var(--font-head);
    font-size: 12.5px;
    font-weight: 800;
    letter-spacing: 1.5px;
    color: #fff;
    margin-bottom: 14px;
    padding-bottom: 9px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.22);
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 7px;
}

.footer-links li a {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.7);
    transition: color var(--transition), padding-left var(--transition);
    display: block;
}

.footer-links li a:hover {
    color: #fff;
    padding-left: 4px;
}

/* footer bottom */
.footer-bottom {
    padding: 14px 0;
    text-align: center;
}

.footer-bottom p {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.48);
}

/* ============================================================
   RESPONSIVE — KOMPLE MOBİL UYUM
   ============================================================ */

/* ── 1100px: Geniş Masaüstü ─────────────────────────────────── */
@media (max-width: 1100px) {
    .nav-list>li>a {
        font-size: 12px;
        padding: 10px 10px;
    }
    .header-logo-img { height: 110px; }
}

/* ── 1024px: Tablet Geniş ────────────────────────────────────── */
@media (max-width: 1024px) {
    .main-split-layout {
        grid-template-columns: minmax(0, 2fr) minmax(0, 1fr);
        gap: 24px;
    }
    .header-inner  { padding: 0 20px; }
    .top-bar-inner { padding: 0 20px; }
}

/* ── 920px: Küçük Tablet / Dönüm Noktası ─────────────────────── */
@media (max-width: 920px) {
    .stats-grid { grid-template-columns: repeat(3, 1fr); }
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 28px; }
    .edergi-inner  { grid-template-columns: 1fr; }
    .edergi-visual { display: none; }
}

/* ── 768px: Mobil / Küçük Tablet ─────────────────────────────── */
@media (max-width: 768px) {

    /* Header */
    .header-logo { margin-top: -38px; }
    .header-logo-img { height: 90px; }
    .header-inner { padding: 0 16px; height: 68px; }
    .top-bar-inner { padding: 0 16px; }
    .header-actions .btn { display: none; }
    .header-actions { margin-left: auto; }

    /* Mobil Nav Drawer */
    .main-nav {
        position: fixed;
        top: 0; left: 0;
        width: 300px;
        height: 100vh;
        background: #fff;
        box-shadow: 0 8px 32px rgba(0, 0, 0, 0.18);
        transform: translateX(-105%);
        transition: transform 0.32s ease;
        overflow-y: auto;
        padding: 80px 16px 24px;
        z-index: 999;
        flex: none;
    }
    .main-nav.open { transform: translateX(0); }
    .nav-list {
        flex-direction: column;
        align-items: stretch;
        gap: 0; width: auto;
    }
    .nav-list>li>a {
        font-size: 14px;
        padding: 12px 10px;
        border-bottom: 1px solid #eee;
        text-transform: uppercase;
    }
    .dropdown-menu {
        position: static;
        opacity: 1; visibility: visible;
        transform: none;
        box-shadow: none; border: none; border-top: none;
        padding-left: 14px;
        max-height: 0; overflow: hidden;
        transition: max-height 0.28s ease;
    }
    .has-dropdown.open .dropdown-menu { max-height: 400px; }
    .hamburger { display: flex; }

    /* Hero Slider */
    .hero-slider { height: 320px; }
    .slide-caption {
        width: 100%; max-width: 100%;
        border-radius: 0; bottom: 0;
        padding: 10px 16px; gap: 10px;
    }
    .slide-caption p {
        font-size: 12.5px;
        white-space: normal;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
        line-height: 1.4;
    }
    .caption-logo { width: 32px; height: 32px; padding: 4px; flex-shrink: 0; }

    /* Mobilde ok ve sayaç gizlenir */
    .slider-controls { display: none; }


    .main-split-layout { grid-template-columns: 1fr; gap: 0; }
    .main-split-layout > .split-left  { order: 1; padding: 0; }
    .main-split-layout > .split-right { order: 2; padding: 20px 16px 30px; }

    .main-split-left-sidebar { grid-template-columns: 1fr; gap: 0; }
    .main-split-left-sidebar .split-left  { order: 2; padding: 20px 16px 30px; }
    .main-split-left-sidebar .split-right { order: 1; padding: 24px 16px 10px; }

    /* Inner Page Hero */
    .inner-page-hero { padding: 55px 20px 35px; margin-bottom: 0; border-radius: 0; }
    .inner-page-hero h1 {
        font-size: 24px !important;
        letter-spacing: -0.5px !important;
        max-width: 100% !important;
        padding: 0 !important;
    }

    /* Inner Page Content */
    .inner-page-container { padding: 0 16px; margin-bottom: 40px; }
    .inner-page-content   { padding: 24px 18px; border-radius: 8px; }
    .inner-page-content h2 { font-size: 20px; margin-top: 26px; margin-bottom: 12px; }

    /* Haber Detay */
    .haber-detay-content { padding: 20px 16px; border-radius: 8px; margin-top: 0; }
    .hd-kapak            { height: 240px; }
    .hd-body             { padding: 18px 0 0; }
    .hd-overlay-badge    { bottom: 12px; right: 12px; padding: 6px 10px; }

    /* Haberler Grid */
    .news-grid    { grid-template-columns: repeat(2, 1fr); padding: 0 16px; gap: 20px 14px; }
    .news-section { padding: 28px 0 36px; }
    .section-header { padding: 0 16px 12px; flex-wrap: wrap; gap: 8px; }
    .section-title  { font-size: 18px; }

    /* Stats */
    .stats-bar  { padding: 16px 0; }
    .stats-grid { padding: 0 16px; gap: 10px; }

    /* İletişim */
    .contact-section   { padding: 36px 0; }
    .contact-container { padding: 0 16px; }
    .contact-map       { height: 280px; }

    /* Kurumsal */
    .brand-grid { grid-template-columns: 1fr; }

    /* MYK */
    .myk-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px; padding: 14px 12px;
    }
    .myk-name { font-size: 16px; }

    /* Asset */
    .asset-card { flex-direction: column; align-items: flex-start; gap: 12px; }

    /* Galeri */
    .gallery-section { border-radius: 12px; }

    /* CTA */
    .cta-inner { flex-wrap: wrap; }

    /* Footer Motto */
    .motto-track       { gap: 12px; padding: 0 12px; }
    .motto-track span  { font-size: 11.5px; letter-spacing: 1px; gap: 10px; }

    /* Sidebar */
    .sidebar-widget.modern-app-widget { margin-top: 10px; }
}

/* Chevron masaüstünde gizli */
.footer-chev { display: none; }

/* ── 540px: Küçük Tablet / Büyük Telefon ─────────────────────── */
@media (max-width: 540px) {
    .stats-grid      { grid-template-columns: repeat(2, 1fr); }
    .news-grid       { grid-template-columns: 1fr; }
    .footer-grid     { grid-template-columns: 1fr; }
    .hero-slider     { height: 270px; }
    .header-logo-img { height: 72px; }
    .inner-page-hero h1 { font-size: 20px !important; }

    /* Footer Accordion */
    .footer-chev {
        display: inline-block;
        font-size: 11px;
        opacity: 0.65;
        transition: transform 0.3s ease;
    }
    .footer-accordion .footer-heading {
        display: flex;
        justify-content: space-between;
        align-items: center;
        cursor: pointer;
        user-select: none;
        margin-bottom: 0;
    }
    .footer-accordion .footer-links,
    .footer-accordion .footer-apps {
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.35s ease, opacity 0.3s ease;
        opacity: 0;
    }
    .footer-accordion.open .footer-links,
    .footer-accordion.open .footer-apps {
        max-height: 600px;
        opacity: 1;
        margin-top: 10px;
    }
    .footer-accordion.open .footer-chev {
        transform: rotate(180deg);
    }
}

/* ── 480px: Küçük Akıllı Telefonlar ─────────────────────────── */
@media (max-width: 480px) {
    .inner-page-hero    { padding: 45px 16px 28px; }
    .inner-page-hero h1 { font-size: 18px !important; }

    .hd-kapak            { height: 200px; }
    .haber-detay-content { padding: 16px 12px; }

    .stats-grid  { grid-template-columns: 1fr; gap: 8px; }
    .stat-item   { padding: 10px 12px; }
    .stat-value  { font-size: 18px; }

    .contact-map { height: 240px; border-radius: 8px; }

    .btn { padding: 14px 22px; font-size: 12px; }

    .modal-close   { top: 12px; right: 12px; width: 36px; height: 36px; font-size: 16px; }
    .modal-content { width: 95%; }

    .section-title { font-size: 16px; }

    .edergi-inner      { padding: 28px 16px; }
    .edergi-content h3 { font-size: 20px; }

    .sidebar-widget { padding: 18px 14px; }
    .modern-app-widget .app-title { font-size: 20px; }

    .footer-bottom {
        flex-direction: column !important;
        text-align: center;
        gap: 12px !important;
    }

    .content-list > li { padding: 18px 16px; }
}

/* ==========================================
   VIDEO GALERISI STYLES (.gs-video)
   ========================================== */
.gallery-page-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 30px;
}
.gs-video {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    display: block;
    aspect-ratio: 4/3;
    background: #000;
    text-decoration: none;
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}
.gs-video:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 25px rgba(0,0,0,0.15);
}
.gs-video img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.85;
    transition: transform 0.6s ease, opacity 0.4s ease;
}
.gs-video:hover img {
    transform: scale(1.05);
    opacity: 0.6;
}
.video-play-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60px;
    height: 60px;
    background: rgba(218, 31, 45, 0.9);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    z-index: 2;
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), background 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 4px 15px rgba(218, 31, 45, 0.4);
}
.video-play-btn i {
    margin-left: 4px; /* Optik dengeleme */
}
.gs-video:hover .video-play-btn {
    transform: translate(-50%, -50%) scale(1.2);
    background: var(--red);
    box-shadow: 0 6px 20px rgba(218, 31, 45, 0.6);
}
.video-meta {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 24px 20px 20px 20px;
    background: linear-gradient(to top, rgba(0,0,0,0.95), rgba(0,0,0,0.6) 60%, transparent);
    z-index: 3;
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.video-meta .v-tag {
    display: table;
    background: var(--red);
    color: #fff;
    font-size: 11px;
    font-weight: 800;
    padding: 4px 10px;
    border-radius: 4px;
    letter-spacing: 0.5px;
}
.video-meta .v-title {
    color: #fff;
    font-size: 16px;
    font-weight: 700;
    margin: 0;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    line-clamp: 2;
}
