:root {
    /* Kamu-Sen Logo Renkleri */
    --primary: #265EA7;
    --primary-light: #329BD6;
    --gradient: linear-gradient(135deg, #265EA7 0%, #329BD6 100%);
    --gradient-hover: linear-gradient(135deg, #1e4d8a 0%, #2a85bb 100%);
    --accent: #c41e3a;
    --accent-light: #e63946;
    --gold: #d4af37;
    --dark: #0f172a;
    --gray-100: #f8fafc;
    --gray-200: #e2e8f0;
    --gray-500: #64748b;
    --gray-700: #334155;
    --white: #ffffff;
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.08);
    --shadow-md: 0 4px 12px rgba(0,0,0,0.1);
    --shadow-lg: 0 12px 32px rgba(0,0,0,0.12);
    --radius: 12px;
}

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

/* ============ GLOBAL TAŞMA ÖNLEME ============ */
html, body {
    overflow-x: hidden;
    max-width: 100%;
    width: 100%;
}

body {
    font-family: 'Inter', sans-serif;
    background: var(--gray-100);
    color: var(--dark);
    line-height: 1.6;
    overflow-x: hidden;
}

img, iframe, video, table {
    max-width: 100%;
    height: auto;
}

/* ============ BREADCRUMB ============ */
.breadcrumb {
    background: var(--white);
    padding: 14px 0;
    border-bottom: 1px solid var(--gray-200);
    font-size: 0.85rem;
}
.breadcrumb-list {
    display: flex;
    gap: 10px;
    list-style: none;
    flex-wrap: wrap;
}
.breadcrumb-list a {
    color: var(--gray-500);
    text-decoration: none;
    transition: color 0.3s;
}
.breadcrumb-list a:hover { color: var(--primary); }
.breadcrumb-list li:not(:last-child)::after {
    content: '/';
    margin-left: 10px;
    color: var(--gray-200);
}
.breadcrumb-list li:last-child {
    color: var(--primary);
    font-weight: 600;
}

.container { max-width: 1380px; margin: 0 auto; padding: 0 24px; }

/* ============ HABER DETAY - TAŞMA KORUMASI ============ */
.news-main,
.news-detail,
.news-body,
.news-content,
article {
    max-width: 90%;
    overflow-wrap: break-word;
    word-wrap: break-word;
    word-break: break-word;
    box-sizing: border-box;
}


/* ============ PRINT STYLES ============ */
@media print {
    .header,
    .top-bar,
    .main-header,
    .main-nav,
    .breaking-bar,
    .breadcrumb,
    .news-share,
    .news-actions,
    .print-btn,
    .sidebar,
    .footer,
    .gallery-section,
    .news-documents,
    .search-popup,
    .back-to-top {
        display: none !important;
    }

    body {
        background: white;
        color: black;
        font-size: 12pt;
    }

    .container {
        width: 100%;
        max-width: 1200px;
        padding: 0 15px;
        box-sizing: border-box;
    }

    .detail-grid { display: block; }
    .news-detail { padding: 0; }

    .news-header h1 {
        font-size: 40px;
        color: black;
        margin-bottom: 10px;
        width:100%;
    }

    .news-category-tag {
        background: #eee !important;
        color: black !important;
        padding: 2pt 8pt;
    }

    .news-meta {
        border-top: 1pt solid #ccc;
        border-bottom: 1pt solid #ccc;
        padding: 5pt 0;
        font-size: 10pt;
    }

    .news-featured img {
        max-width: 100%;
        height: auto;
        page-break-inside: avoid;
    }

    .news-body {
        font-size: 11pt;
        line-height: 1.6;
        color: black;
    }

    .news-body a {
        color: black;
        text-decoration: underline;
    }

    .news-body::after {
        content: "Kaynak: Kamu-Sen - " attr(data-url);
        display: block;
        margin-top: 20pt;
        padding-top: 10pt;
        border-top: 1pt solid #ccc;
        font-size: 9pt;
        color: #666;
    }

    .news-body img { page-break-inside: avoid; }
    h2, h3 { page-break-after: avoid; }
    p { orphans: 3; widows: 3; }
}

/* ============ NEWS TOOLBAR ============ */
.news-toolbar {
    display: flex;
    gap: 10px;
    margin: 20px 0;
    padding: 15px;
    background: var(--gray-100);
    border-radius: var(--radius);
    flex-wrap: wrap;
}

.toolbar-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: 30px;
    color: var(--gray-700);
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    font-family: inherit;
}

.toolbar-btn:hover {
    background: var(--gradient);
    color: var(--white);
    border-color: transparent;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(50, 155, 214, 0.3);
}

.toolbar-btn i { font-size: 0.9rem; }

/* ============ TOP BAR ============ */
.top-bar {
    background: var(--gradient);
    color: var(--white);
    padding: 8px 0;
    font-size: 13px;
}
.top-bar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.top-bar-left { display: flex; gap: 20px; align-items: center; }
.top-bar-left a { color: rgba(255,255,255,0.9); text-decoration: none; transition: color 0.3s; }
.top-bar-left a:hover { color: var(--gold); }
.top-bar-right { display: flex; gap: 15px; align-items: center; }
.top-bar-right a { color: rgba(255,255,255,0.8); transition: color 0.3s; }
.top-bar-right a:hover { color: var(--gold); }

/* ============ HEADER ============ */
.main-header {
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    background: var(--white);
    padding: 16px 0;
    box-shadow: var(--shadow-sm);
    position: sticky;
    z-index: 100;
}
.main-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-area {
    display: flex;
    align-items: center;
    z-index: 10;
    gap: 10px;
}

.sticky-header-wrapper {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: var(--white);
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

/* Alt elemanların sticky'sini kapat */
.top-bar,
.main-header,
.main-nav {
    position: static;
}

/* ============ LOGO ============ */
.logo {
    display: flex;
    align-items: center;
    gap: 14px;
    text-decoration: none;
    flex-shrink: 0;
}

.logo-icon {
    width: 56px;
    height: 56px;
    background: var(--gradient);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 22px;
    font-weight: 900;
    box-shadow: 0 4px 12px rgba(50, 155, 214, 0.3);
    flex-shrink: 0;
}

.logo-text h1 {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    font-weight: 800;
    background: var(--gradient);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    line-height: 1.1;
    margin-bottom: 2px;
}

.logo-text span {
    font-size: 0.65rem;
    color: var(--primary);
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    display: block;
}

/* ============ SLOGAN ============ */
.logo-slogan {
    font-family: 'Roboto', 'Inter', sans-serif;
    font-size: 0.95rem;
    font-weight: 800;
    color: var(--primary);
    line-height: 1.35;
    letter-spacing: 0.3px;
    text-transform: uppercase;
    padding-left: 22px;
    max-width: 320px;
    position: relative;
}

.logo-slogan::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 3px;
    background: var(--gradient);
    border-radius: 2px;
}

.header-actions { display: flex; gap: 12px; align-items: center; }
.btn-member {
    background: var(--gradient);
    color: var(--white); padding: 10px 24px;
    border-radius: 30px; text-decoration: none;
    font-weight: 700; font-size: 0.85rem;
    transition: all 0.3s;
    box-shadow: 0 4px 12px rgba(50,155,214,0.3);
}
.btn-member:hover {
    background: var(--gradient-hover);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(50,155,214,0.4);
}

/* ============ SEARCH POPUP ============ */
.search-popup {
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: rgba(38, 94, 167, 0.97);
    backdrop-filter: blur(15px);
    z-index: 9999;
    display: none;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}
.search-popup.active {
    display: flex;
    opacity: 1;
}
.search-popup-content {
    width: 100%;
    max-width: 750px;
    padding: 40px;
    position: relative;
    transform: translateY(-30px);
    transition: transform 0.4s ease;
}
.search-popup.active .search-popup-content {
    transform: translateY(0);
}
.search-close {
    position: absolute;
    top: -60px; right: 0;
    width: 45px; height: 45px;
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 50%;
    color: var(--white); font-size: 18px;
    cursor: pointer; transition: all 0.3s;
    display: flex; align-items: center; justify-content: center;
}
.search-close:hover {
    background: var(--accent);
    border-color: var(--accent);
    transform: rotate(90deg);
}
.search-inner { text-align: center; }
.search-title {
    font-size: 2rem; font-weight: 800;
    color: var(--white); margin-bottom: 12px;
    display: flex; align-items: center;
    justify-content: center; gap: 12px;
}
.search-title i { color: var(--gold); }
.search-subtitle {
    color: rgba(255,255,255,0.7);
    font-size: 0.95rem; margin-bottom: 35px;
}
.search-input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    background: var(--white);
    border-radius: 50px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0,0,0,0.3);
    transition: all 0.3s;
}
.search-input-wrapper:focus-within {
    box-shadow: 0 20px 60px rgba(50,155,214,0.6);
}
.search-input-icon {
    position: absolute;
    left: 25px;
    color: var(--primary);
    font-size: 1.1rem;
    pointer-events: none;
}
#searchInput {
    flex: 1;
    border: none;
    outline: none;
    padding: 20px 20px 20px 60px;
    font-size: 1.05rem;
    font-family: inherit;
    color: var(--dark);
    background: transparent;
    min-width: 0;
}
#searchInput::placeholder { color: #aaa; }
.search-submit {
    background: var(--gradient);
    border: none;
    color: var(--white);
    width: 55px; height: 55px;
    margin-right: 5px;
    border-radius: 50%;
    font-size: 1.1rem;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.search-submit:hover { transform: scale(1.1); }
.search-tags {
    margin-top: 40px;
    text-align: center;
}
.search-tags-label {
    color: rgba(255,255,255,0.6);
    font-size: 0.85rem;
    display: block;
    margin-bottom: 15px;
}
.search-tags-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
}
.search-tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 18px;
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 30px;
    color: var(--white);
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 500;
    transition: all 0.3s;
}
.search-tag:hover {
    background: var(--gradient);
    border-color: var(--gold);
    transform: translateY(-2px);
}
.search-tag i { color: var(--gold); font-size: 0.75rem; }

/* ============ NAVIGATION ============ */
.main-nav {
    background: var(--gradient);
    position: sticky;
    top: 80px;
    z-index: 999;
    box-shadow: 0 4px 12px rgba(38, 94, 167, 0.2);
}
.fa-search {
    font-size: 1.4rem;
    padding: 2px 10px;
}

.main-nav .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
}
.main-nav .search-btn {
    position: absolute;
    right: 24px;
    top: 50%;
    transform: translateY(-50%);
    width: 100px;
    height: 100%;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 8px;
    color: var(--white);
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.main-nav .search-btn:hover {
    background: rgba(255, 255, 255, 0.22);
    border-color: var(--shadow-lg);
    color: var(--gray-500);
}

/* Menü Listesi */
.nav-list {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 0;
    transition: all 0.3s ease;
}

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

.nav-list > li > a {
    display: block;
    padding: 16px 28px;
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s;
    position: relative;
}

.nav-list > li > a:hover,
.nav-list > li > a.active {
    color: var(--white);
    background: rgba(255, 255, 255, 0.1);
}

.nav-list > li > a.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 3px;
    background: var(--gold);
    border-radius: 2px;
}

/* Dropdown (Masaüstü) */
.nav-list .dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--white);
    min-width: 240px;
    border-radius: 0 0 12px 12px;
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.15);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s;
    list-style: none;
    padding: 8px 0;
    z-index: 100;
    margin: 0;
}

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

.nav-list .dropdown li a {
    display: block;
    padding: 10px 24px;
    color: var(--gray-700);
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 500;
    transition: all 0.3s;
}

.nav-list .dropdown li a:hover {
    background: var(--gray-100);
    color: var(--primary);
    padding-left: 30px;
}

.nav-list .has-dropdown > a i {
    font-size: 10px;
    margin-left: 5px;
    transition: transform 0.3s;
}

/* Hamburger Butonu - Varsayılan Gizli */
.menu-toggle {
    display: none;
    background: transparent;
    border: none;
    color: var(--white);
    font-size: 1.5rem;
    cursor: pointer;
    padding: 16px 20px;
    transition: all 0.3s;
    line-height: 1;
}

.menu-toggle:hover { background: rgba(255, 255, 255, 0.1); }
.menu-toggle i { display: block; line-height: 1; }

/* ============ NAV OVERLAY ============ */
.nav-overlay {
    display: none !important;
    z-index: 9999;
}

.nav-overlay.active {
    display: block !important;
    opacity: 1;
}

/* ============ MOBİL MENÜ (max 992px) ============ */
@media (max-width: 992px) {

    .main-nav .search-btn {
        position: absolute;
        right: 70px;
        top: 50%;
        transform: translateY(-50%);
        width: 80px;
        height: 48px;
        z-index: 10001;
        border-radius: 8px;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .main-nav .search-btn:hover {
        transform: translateY(-50%) scale(1.05);
    }

    .menu-toggle {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 60px;
        height: 56px;
        position: relative;
        z-index: 10002;
    }

    .top-bar { display: none; }

    .nav-list {
        position: fixed;
        top: 0;
        left: -320px;
        width: 300px;
        height: 100vh;
        background: var(--white);
        flex-direction: column;
        justify-content: flex-start;
        align-items: stretch;
        padding: 0;
        margin: 0;
        box-shadow: 4px 0 20px rgba(0, 0, 0, 0.15);
        overflow-y: auto;
        overflow-x: hidden;
        transition: left 0.3s ease;
        z-index: 10000;
    }

    .nav-list.active {
        left: 0;
    }

    .nav-list > li {
        width: 100%;
        border-bottom: 1px solid var(--gray-200);
    }

    .nav-list > li > a {
        padding: 18px 24px;
        color: var(--gray-700);
        font-size: 0.95rem;
        display: flex;
        justify-content: space-between;
        align-items: center;
        width: 100%;
        background: var(--white);
    }

    .nav-list > li > a:hover,
    .nav-list > li > a.active {
        background: var(--gray-100);
        color: var(--primary);
    }

    .nav-list > li > a.active::after {
        display: none;
    }

    .nav-list .dropdown {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        display: none;
        padding: 0;
        background: var(--gray-100);
        border-radius: 0;
        min-width: 0;
        margin: 0;
        width: 100%;
    }

    .nav-list .has-dropdown.active .dropdown {
        display: block;
    }

    .nav-list .dropdown li a {
        padding: 14px 40px;
        font-size: 0.85rem;
        color: var(--gray-700);
    }

    .nav-list .dropdown li a:hover {
        background: var(--gray-200);
        padding-left: 45px;
    }

    .nav-list .has-dropdown.active > a i {
        transform: rotate(180deg);
    }
}

@media (max-width: 576px) {
    .nav-list {
        width: 85%;
        left: -100%;
    }
}

/* ============ BREAKING NEWS TICKER ============ */
.breaking-bar {
    background: var(--accent);
    color: var(--white);
    padding: 10px 0;
    overflow: hidden;
}

.breaking-bar .container {
    display: flex;
    align-items: center;
    gap: 0;
    overflow: hidden;
}

.breaking-label {
    background: var(--white);
    color: var(--accent);
    padding: 4px 14px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 800;
    white-space: nowrap;
    flex-shrink: 0;
    letter-spacing: 0.5px;
    position: relative;
    z-index: 10;
    margin-right: 16px;
    animation: pulse-label 2s ease-in-out infinite;
}

@keyframes pulse-label {
    0%, 100% { box-shadow: 0 0 0 0 rgba(255,255,255,0.7); }
    50% { box-shadow: 0 0 0 8px rgba(255,255,255,0); }
}

.breaking-track {
    flex: 1;
    overflow: hidden;
    position: relative;
    mask-image: linear-gradient(to right, transparent 0%, black 3%, black 97%, transparent 100%);
    -webkit-mask-image: linear-gradient(to right, transparent 0%, black 3%, black 97%, transparent 100%);
}

.breaking-content {
    display: inline-flex;
    gap: 40px;
    animation: ticker 35s linear infinite;
    white-space: nowrap;
    padding-left: 100%;
}

.breaking-content:hover { animation-play-state: paused; }

.breaking-content a {
    color: var(--white);
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: color 0.3s;
}

.breaking-content a:hover { color: var(--gold); }

.breaking-content a::before {
    content: '●';
    color: var(--gold);
    font-size: 8px;
    animation: blink 1.5s ease-in-out infinite;
}

@keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.3; }
}

@keyframes ticker {
    0% { transform: translateX(0); }
    100% { transform: translateX(-100%); }
}

/* ============ HOME FALLEN SECTION ============ */
.home-fallen,
.home-fallen-section {
    background: var(--gray-100);
    padding: 30px 0;
    margin-bottom: 40px;
    border-top: 1px solid var(--gray-200);
    border-bottom: 1px solid var(--gray-200);
}

.home-fallen-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 30px;
    align-items: stretch;
}

/* ============ MANŞETTEN DÜŞENLER ============ */
.home-fallen-news {
    background: var(--white);
    border-radius: var(--radius);
    padding: 22px 26px;
    box-shadow: var(--shadow-sm);
    display: flex;
    flex-direction: column;
    border-top: 4px solid var(--primary);
}

.home-fallen-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 12px;
    margin-bottom: 16px;
    border-bottom: 2px solid var(--gray-200);
}

.home-fallen-header h3 {
    font-size: 1rem;
    font-weight: 800;
    color: var(--primary);
    margin: 0;
    display: flex;
    align-items: center;
    gap: 10px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.home-fallen-header h3 i {
    color: var(--accent);
    font-size: 0.9rem;
}

.home-fallen-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0;
    flex: 1;
}

.home-fallen-item {
    list-style: none;
    margin: 0;
    padding: 0;
}

.home-fallen-item a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 6px;
    text-decoration: none;
    color: var(--gray-700);
    font-family: 'Inter', sans-serif;
    font-size: 0.88rem;
    font-weight: 600;
    line-height: 1.4;
    border-radius: 6px;
    border-bottom: 1px dashed var(--gray-200);
    transition: all 0.3s ease;
    background: transparent;
}

.home-fallen-item a:hover {
    background: var(--gray-100);
    padding-left: 14px;
    color: var(--primary);
    text-decoration: none;
}

.home-fallen-dot {
    width: 6px;
    height: 6px;
    background: var(--accent);
    border-radius: 50%;
    flex-shrink: 0;
    transition: all 0.3s;
}

.home-fallen-item a:hover .home-fallen-dot {
    background: var(--primary);
    transform: scale(1.4);
}

.home-fallen-title {
    flex: 1;
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--gray-700);
    line-height: 1.4;
    transition: color 0.3s;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    text-decoration: none;
    font-family: inherit;
}

.home-fallen-item a:hover .home-fallen-title {
    color: var(--primary);
}

.home-fallen-date {
    font-size: 0.7rem;
    color: var(--gray-500);
    white-space: nowrap;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    gap: 4px;
    font-family: inherit;
}

.home-fallen-date i { font-size: 0.65rem; }

.home-fallen-empty {
    text-align: center;
    padding: 40px 20px;
    color: var(--gray-500);
    font-size: 0.9rem;
}

/* ============ GENEL BAŞKAN ============ */
.home-president-box {
    background: var(--white);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    display: flex;
    flex-direction: column;
    border-top: 4px solid var(--accent);
}

.home-president-header {
    background: var(--gradient);
    color: var(--white);
    padding: 14px 20px;
    display: flex;
    align-items: center;
    gap: 10px;
    position: relative;
}

.home-president-header::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--gold);
}

.home-president-header i {
    color: var(--gold);
    font-size: 1rem;
}

.home-president-header h3 {
    font-size: 0.9rem;
    font-weight: 800;
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.home-president-card {
    flex: 1;
    display: flex;
    flex-direction: column;
    text-decoration: none;
    color: inherit;
}

.home-president-image {
    height: 200px;
    background-size: cover;
    background-position: center top;
    background-color: var(--gray-200);
    position: relative;
}

.home-president-image::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(38, 94, 167, 0.4) 0%, transparent 50%);
    pointer-events: none;
}

.home-president-content {
    padding: 18px 20px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.home-president-content h4 {
    font-size: 0.95rem;
    font-weight: 700;
    line-height: 1.4;
    color: var(--dark);
    margin: 0 0 10px;
    transition: color 0.3s;
}

.home-president-card:hover .home-president-content h4 {
    color: var(--primary);
}

.home-president-content p {
    font-size: 0.82rem;
    color: var(--gray-500);
    line-height: 1.6;
    margin: 0 0 14px;
    flex: 1;
}

.home-president-read-more {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--primary);
    text-decoration: none;
    font-size: 0.82rem;
    font-weight: 700;
    transition: gap 0.3s;
    margin-top: auto;
    padding: 10px 16px;
    background: var(--gray-100);
    border-radius: 8px;
    justify-content: center;
}

.home-president-read-more:hover {
    background: var(--gradient);
    color: var(--white);
    gap: 12px;
}

.home-president-read-more:hover i { color: var(--gold); }

.home-president-empty {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
    color: var(--gray-500);
    text-align: center;
}

.home-president-empty i {
    font-size: 3rem;
    color: var(--gray-200);
    margin-bottom: 12px;
}

.home-president-empty p { font-size: 0.85rem; margin: 0; }

/* ============ MAIN CONTENT ============ */
.main-content { padding: 40px 0; }

/* Hero Slider - TAM GENİŞLİK */
.hero-section { margin-bottom: 40px; }
.hero-slider {
    position: relative;
    border-radius: var(--radius);
    overflow: hidden;
    height: 550px;
    box-shadow: var(--shadow-lg);
}
.hero-slide {
    position: absolute; inset: 0;
    opacity: 0; transition: opacity 0.8s ease;
    background-size: cover; background-position: center;
}
.hero-slide.active { opacity: 1; }
.hero-slide::before {
    content: ''; position: absolute; inset: 0;
    background: linear-gradient(to top, rgba(10,42,67,0.95) 0%, rgba(10,42,67,0.4) 50%, transparent 100%);
}
.hero-slide-content {
    position: absolute; bottom: 0; left: 0; right: 0;
    padding: 50px; color: var(--white); z-index: 2;
}
.hero-category {
    display: inline-block; background: var(--accent);
    color: var(--white); font-size: 0.7rem; font-weight: 800;
    padding: 5px 14px; border-radius: 20px;
    margin-bottom: 14px; letter-spacing: 1px;
    text-transform: uppercase;
}
.hero-slide-content h2 {
    font-size: 1.5rem; font-weight: 800;
    line-height: 1.25; margin-bottom: 12px;
    max-width: 750px;
}
.hero-slide-content p {
    font-size: 1rem; opacity: 0.85;
    max-width: 600px; margin-bottom: 16px;
}
.hero-meta {
    display: flex; gap: 20px;
    font-size: 0.8rem; opacity: 0.7;
}
.hero-meta span { display: flex; align-items: center; gap: 6px; }

/* Slider Ok Butonları */
.slider-arrow {
    position: absolute; top: 50%;
    transform: translateY(-50%);
    width: 52px; height: 52px;
    background: rgba(255,255,255,0.15);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.3);
    border-radius: 50%;
    color: var(--white); font-size: 20px;
    cursor: pointer; z-index: 5;
    display: flex; align-items: center; justify-content: center;
    transition: all 0.3s;
}
.slider-arrow:hover {
    background: var(--accent);
    border-color: var(--accent);
    transform: translateY(-50%) scale(1.1);
}
.slider-arrow.prev { left: 24px; }
.slider-arrow.next { right: 24px; }

/* Slider Noktaları */
.slider-dots {
    position: absolute; bottom: 24px; right: 50px;
    display: flex; gap: 8px; z-index: 3;
}
.slider-dot {
    width: 10px; height: 10px; border-radius: 50%;
    background: rgba(255,255,255,0.4); cursor: pointer;
    transition: all 0.3s; border: none;
}
.slider-dot.active {
    background: var(--gold); width: 28px; border-radius: 5px;
}

/* ============ WIDGETS ============ */
.widget {
    background: var(--white);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}
.widget-header {
    background: var(--primary);
    color: var(--white);
    padding: 14px 20px;
    font-weight: 800; font-size: 0.95rem;
    display: flex; align-items: center; gap: 10px;
}
.widget-header i { color: var(--gold); }
.widget-body { padding: 5px; }
.widget-body img { padding: 3px; }

/* Popular News */
.popular-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
}
.popular-item {
    display: flex; gap: 12px;
    padding: 10px;
    border-radius: 8px;
    text-decoration: none; color: inherit;
    transition: all 0.3s;
}
.popular-item:hover { background: var(--gray-100); }
.popular-number {
    width: 28px; height: 28px;
    background: var(--gray-100); border-radius: 8px;
    display: flex; align-items: center; justify-content: center;
    font-weight: 800; font-size: 0.8rem;
    color: var(--accent); flex-shrink: 0;
}
.popular-item:hover .popular-number {
    background: var(--accent); color: var(--white);
}
.popular-item h5 {
    font-size: 0.85rem; font-weight: 600;
    line-height: 1.4; margin-bottom: 3px;
    transition: color 0.3s;
}
.popular-item:hover h5 { color: var(--accent); }
.popular-item span {
    font-size: 0.7rem; color: var(--gray-500);
}

/* Quick Services */
.service-list {
    list-style: none;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
}
.service-list li a {
    display: flex; align-items: center;
    gap: 10px; padding: 12px 14px;
    color: var(--gray-700); text-decoration: none;
    font-size: 0.85rem; font-weight: 600;
    border-radius: 8px; transition: all 0.3s;
}
.service-list li a:hover {
    background: var(--gray-100);
    color: var(--accent);
}
.service-list li a i {
    width: 18px; color: var(--accent); font-size: 0.9rem;
}

/* ============ NEWS + SIDEBAR GRID ============ */
.content-grid {
    display: grid;
    grid-template-columns: 1fr 340px;
    gap: 30px;
    overflow: hidden;
    min-width: 0;
}

.content-grid > * {
    min-width: 0;
}

.section-header {
    display: flex; justify-content: space-between;
    align-items: center; margin-bottom: 24px;
    padding-bottom: 14px;
    border-bottom: 3px solid var(--primary);
}
.section-header h3 {
    font-size: 1.3rem; font-weight: 800;
    color: var(--primary); display: flex; align-items: center; gap: 10px;
}
.section-header h3 i { color: var(--accent); }
.section-header a {
    color: var(--accent); text-decoration: none;
    font-size: 0.85rem; font-weight: 700;
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 20px;
}
.news-card {
    background: var(--white);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s;
    text-decoration: none; color: inherit;
    display: block;
}
.news-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
}
.news-image {
    height: 180px; background-size: cover;
    background-position: center; position: relative;
    background-color: var(--gray-200);
}
.news-badge {
    position: absolute; top: 12px; left: 12px;
    background: var(--accent); color: var(--white);
    font-size: 0.65rem; font-weight: 800;
    padding: 4px 12px; border-radius: 20px;
    letter-spacing: 0.5px; text-transform: uppercase;
}
.news-body { padding: 18px; }
.news-body h4 {
    font-size: 1rem; font-weight: 700;
    line-height: 1.4; margin-bottom: 8px;
    color: var(--dark); transition: color 0.3s;
}
.news-card:hover .news-body h4 { color: var(--accent); }
.news-body p {
    font-size: 0.83rem; color: var(--gray-500);
    line-height: 1.6; margin-bottom: 12px;
}
.news-footer {
    display: flex; justify-content: space-between;
    align-items: center; padding-top: 12px;
    border-top: 1px solid var(--gray-200);
    font-size: 0.72rem; color: var(--gray-500);
}
.news-footer span { display: flex; align-items: center; gap: 6px; }
.news-footer i { color: var(--accent); }

/* ============ SIDEBAR ============ */
.sidebar {
    display: flex;
    flex-direction: column;
    gap: 24px;
    width: 100%;
    min-width: 0;
}

/* Newsletter */
.newsletter-form { padding: 20px; }
.newsletter-form p {
    font-size: 0.85rem; color: var(--gray-500);
    margin-bottom: 14px;
}
.newsletter-form input {
    width: 100%; padding: 12px 16px;
    border: 2px solid var(--gray-200);
    border-radius: 8px; font-family: inherit;
    font-size: 0.85rem; margin-bottom: 10px;
    transition: border-color 0.3s;
}
.newsletter-form input:focus {
    outline: none; border-color: var(--accent);
}
.newsletter-form button {
    width: 100%; padding: 12px;
    background: var(--accent); color: var(--white);
    border: none; border-radius: 8px;
    font-weight: 700; font-size: 0.85rem;
    cursor: pointer; transition: all 0.3s;
    font-family: inherit;
}
.newsletter-form button:hover { background: var(--accent-light); }

/* ============ FOOTER ============ */
.footer {
    background: var(--gray-500);
    color: rgba(255,255,255,0.8);
    padding: 60px 0 0;
    margin-top: 60px;
}
.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 40px;
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}
.footer-logo {
    display: flex; align-items: center;
    gap: 12px; margin-bottom: 18px;
}
.footer-logo .logo-icon {
    width: 44px; height: 44px;
    background: rgba(255,255,255,0.1);
}
.footer-logo h3 {
    color: var(--white); font-size: 1.2rem;
    font-weight: 800;
}
.footer-about p {
    font-size: 0.85rem; line-height: 1.7;
    margin-bottom: 20px;
}
.footer-social { display: flex; gap: 10px; }
.footer-social a {
    width: 38px; height: 38px; border-radius: 50%;
    background: rgba(255,255,255,0.1);
    display: flex; align-items: center; justify-content: center;
    color: var(--white); text-decoration: none;
    transition: all 0.3s;
}
.footer-social a:hover {
    background: var(--accent); transform: translateY(-3px);
}
.footer h4 {
    color: var(--white); font-size: 1rem;
    font-weight: 800; margin-bottom: 20px;
    padding-bottom: 10px; position: relative;
}
.footer h4::after {
    content: ''; position: absolute;
    bottom: 0; left: 0; width: 30px;
    height: 3px; background: var(--primary); border-radius: 2px;
}
.footer ul { list-style: none; }
.footer ul li { margin-bottom: 10px; }
.footer ul li a {
    color: rgba(255,255,255,0.7);
    text-decoration: none; font-size: 0.85rem;
    transition: all 0.3s; display: flex;
    align-items: center; gap: 8px;
}
.footer ul li a:hover {
    color: var(--gold); padding-left: 6px;
}
.footer-contact li {
    display: flex; gap: 12px;
    font-size: 0.85rem; align-items: flex-start;
}
.footer-contact li i {
    color: var(--primary); margin-top: 4px; width: 16px;
}
.footer-bottom {
    padding: 20px 0; text-align: center;
    font-size: 0.8rem; color: rgba(255,255,255,0.5);
}
.footer-bottom a { color: var(--primary); text-decoration: none; }

/* ============ PAGINATION ============ */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    list-style: none;
    padding: 0;
    margin: 0;
    flex-wrap: wrap;
}
.pagination .page-item { display: inline-block; }
.pagination .page-link {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 44px;
    height: 44px;
    padding: 0 14px;
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: 10px;
    color: var(--gray-700);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 600;
    font-family: inherit;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-sm);
    cursor: pointer;
}
.pagination .page-link:hover {
    background: var(--gradient);
    color: var(--white);
    border-color: transparent;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(50, 155, 214, 0.35);
}
.pagination .page-item.active .page-link {
    background: var(--gradient);
    color: var(--white);
    border-color: transparent;
    box-shadow: 0 6px 16px rgba(50, 155, 214, 0.35);
    cursor: default;
}
.pagination .page-item.disabled .page-link {
    background: var(--gray-100);
    color: var(--gray-500);
    border-color: var(--gray-200);
    cursor: not-allowed;
    opacity: 0.6;
    box-shadow: none;
}
.pagination .page-item.disabled .page-link:hover {
    background: var(--gray-100);
    color: var(--gray-500);
    transform: none;
    box-shadow: none;
}

/* ============ PDF MODAL ============ */
.pdf-modal-backdrop {
    background: rgba(15, 23, 42, 0.85);
    backdrop-filter: blur(8px);
}
.pdf-modal-content {
    background: var(--white);
    border-radius: 16px;
    max-width: 1100px;
    width: 95%;
    height: 90vh;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    border: 1px solid var(--gray-200);
    display: flex;
    flex-direction: column;
}
.pdf-modal-header {
    background: var(--gradient);
    padding: 16px 24px;
    border-radius: 16px 16px 0 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    z-index: 10;
}
.pdf-modal-header h3 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--white);
    margin: 0;
    display: flex;
    align-items: center;
    gap: 10px;
}
.pdf-modal-header h3::before {
    content: '\f1c1';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    color: var(--gold);
}
.pdf-modal-actions { display: flex; gap: 10px; }
.pdf-modal-btn {
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    padding: 8px 16px;
    color: var(--white);
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    gap: 8px;
}
.pdf-modal-btn:hover {
    background: var(--white);
    color: var(--primary);
    transform: translateY(-2px);
}
.pdf-modal-btn-close {
    width: 36px;
    height: 36px;
    padding: 0;
    border-radius: 50%;
    justify-content: center;
    background: rgba(255, 255, 255, 0.1);
}
.pdf-modal-btn-close:hover {
    background: var(--accent);
    color: var(--white);
    transform: rotate(90deg);
}
.pdf-modal-body {
    flex: 1;
    background: #e2e8f0;
    padding: 24px;
    border-radius: 0 0 16px 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}
.pdf-modal-body iframe {
    width: 100%;
    height: 100%;
    border: none;
    background: var(--white);
    border-radius: 8px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}

/* ============ RESPONSIVE - GENİŞ EKRAN ALT ============ */
@media (max-width: 1024px) {
    .home-fallen-grid { grid-template-columns: 1fr; }
    .home-president-image { height: 240px; }
    .content-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .quick-widgets { grid-template-columns: 1fr; }
}

@media (max-width: 992px) {
    .widget-static { display: none; }
}

@media (max-width: 768px) {
    .top-bar { display: none; }
    .top-bar .container {
        flex-direction: column;
        gap: 6px;
        padding: 6px 16px;
    }
    .top-bar-left,
    .top-bar-right {
        gap: 10px;
        font-size: 0.7rem;
        flex-wrap: wrap;
        justify-content: center;
    }

    .main-header .container {
        padding: 0 16px;
        flex-wrap: wrap;
    }
    .logo-area { gap: 12px; }
    .logo-icon {
        width: 44px;
        height: 44px;
        font-size: 18px;
    }
    .logo-text h1 { font-size: 1.1rem; }
    .logo-text span {
        font-size: 0.55rem;
        letter-spacing: 1px;
    }
    .logo-slogan { display: none; }
    .header-actions { gap: 8px; display: none; }
    .btn-member {
        padding: 8px 16px;
        font-size: 0.75rem;
    }

    .search-popup { padding: 16px; }
    .search-popup-content {
        width: 100%;
        max-width: 100%;
        padding: 20px 16px;
        transform: translateY(-20px);
    }
    .search-popup.active .search-popup-content {
        transform: translateY(0);
    }
    .search-title {
        font-size: 1.1rem;
        flex-direction: column;
        gap: 6px;
        text-align: center;
    }
    .search-title i { font-size: 1.4rem; }
    .search-subtitle {
        font-size: 0.8rem;
        margin-bottom: 20px;
    }
    .search-input-wrapper {
        flex-direction: column;
        border-radius: 12px;
        padding: 10px;
        gap: 8px;
        overflow: visible;
    }
    .search-input-icon {
        position: static;
        padding: 0;
        margin-bottom: 4px;
    }
    #searchInput {
        width: 100%;
        padding: 14px 16px;
        font-size: 0.9rem;
        border: 1px solid var(--gray-200);
        border-radius: 8px;
        text-align: center;
    }
    .search-submit {
        width: 100%;
        height: 46px;
        border-radius: 8px;
        margin: 0;
        font-size: 0.95rem;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    .search-close {
        top: -8px;
        right: -8px;
        width: 36px;
        height: 36px;
        font-size: 16px;
        background: var(--accent);
        border-color: var(--accent);
    }
    .search-tags { margin-top: 20px; }
    .search-tag {
        font-size: 0.7rem;
        padding: 6px 12px;
    }

    .hero-slider { height: 400px; }
    .hero-slide-content { padding: 24px; }
    .hero-slide-content h2 { font-size: 1.3rem; }
    .hero-slide-content p { display: none; }
    .slider-arrow { width: 40px; height: 40px; font-size: 16px; }
    .slider-arrow.prev { left: 12px; }
    .slider-arrow.next { right: 12px; }
    .slider-dots { right: 24px; bottom: 16px; }
    .popular-list { grid-template-columns: 1fr; }
    .service-list { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; text-align: center; }
    .footer h4::after { left: 50%; transform: translateX(-50%); }
    .footer-social { justify-content: center; }
    .footer-contact li { justify-content: center; }

    .breaking-bar { padding: 8px 0; }
    .breaking-label {
        font-size: 0.65rem;
        padding: 3px 10px;
        margin-right: 10px;
    }
    .breaking-content a { font-size: 0.75rem; }
    .breaking-content { gap: 30px; }

    .home-fallen { padding: 20px 0; }
    .home-fallen-news { padding: 16px; }
    .home-fallen-list { grid-template-columns: 1fr; }
    .home-fallen-header h3 { font-size: 0.9rem; }
    .home-fallen-title { font-size: 0.82rem; }
    .home-fallen-date { font-size: 0.68rem; }

    .nav-list { flex-wrap: wrap; }
    .nav-list > li > a { padding: 12px 16px; font-size: 0.8rem; }
    .dropdown {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        display: none;
    }
    .has-dropdown.active .dropdown { display: block; }

    .pdf-modal-body { padding: 12px; }
    .pdf-modal-header h3 { font-size: 0.9rem; }
    .pdf-modal-content {
        width: 100%;
        height: 100vh;
        border-radius: 0;
    }
    .pdf-modal-header { border-radius: 0; }
    .pdf-modal-body { border-radius: 0; }
}

@media (max-width: 576px) {
    .pagination { gap: 6px; }
    .pagination .page-link {
        min-width: 38px;
        height: 38px;
        padding: 0 10px;
        font-size: 0.8rem;
        border-radius: 8px;
    }
    .pagination .page-item:first-child,
    .pagination .page-item:last-child {
        display: none;
    }
}

@media (max-width: 480px) {
    .search-popup-content { padding: 16px 12px; }
    .search-title { font-size: 1rem; }
    #searchInput {
        padding: 12px 14px;
        font-size: 0.85rem;
    }
    .search-submit { height: 44px; }
}