/* css/sub/pages/eeg-emg.css */
/* =========================================
   ÖZEL ÜNYE ÇAKIRTEPE HASTANESİ
   Sayfa: EEG / EMG
   Versiyon: V4.1 (WIDTH FIX - NO PERSON)
   ========================================= */

body, html {
    overflow: visible !important;
    overflow-x: clip !important;
    scroll-padding-top: 0 !important;
}

main {
    margin-top: 0 !important;
    padding-top: 0 !important;
}

/* TAP HIGHLIGHT REMOVE */
* {
    -webkit-tap-highlight-color: transparent;
}

/* ==========================================================================
   MASAÜSTÜ (BASE) - STANDART GÖRÜNÜM
   ========================================================================== */

/* --- HERO SECTION --- */
.eeg-hero {
    position: relative;
    width: 100%;
    height: 400px !important;
    min-height: 400px !important;
    max-height: 400px !important;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    display: flex;
    align-items: flex-end !important;
    justify-content: flex-start !important;
    padding-bottom: 3rem !important;
    margin: 0;
    overflow: hidden;
    padding-left: 0 !important;
    padding-right: 0 !important;
}

.eeg-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0,50,91,0.3), rgba(0,50,91,0.9)) !important;
    z-index: 1;
    opacity: 1 !important;
}

.eeg-hero .sub-page-container {
    width: 100% !important;
    height: auto !important;
    min-height: 0 !important;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
    margin-bottom: 0 !important;
    display: block !important;
}

.eeg-hero-content {
    position: relative;
    z-index: 2;
    color: #fff;
    width: 100%;
    max-width: none !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    margin: 0 !important;
    text-align: left !important;
}

.eeg-hero-content h1 {
    font-family: 'Inter', sans-serif;
    font-size: 3rem !important;
    font-weight: 700;
    margin-bottom: 0.5rem;
    line-height: 1.1;
    color: #ffffff;
}

.eeg-subtitle {
    font-family: 'Inter', sans-serif;
    font-size: 26px !important;
    font-weight: 600;
    line-height: 1.2;
    opacity: 0.95;
    color: #ffffff;
}

/* --- BREADCRUMB --- */
.page-breadcrumb {
    padding: 1.5rem 0; 
    font-size: 0.9rem;
    color: #666;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    padding-left: 0 !important;
    margin-bottom: 0 !important; 
}

.page-breadcrumb a {
    color: #00325B;
    text-decoration: none;
    font-weight: 600;
}

.page-breadcrumb span {
    margin: 0 0.5rem;
    color: #ccc;
}

.page-breadcrumb strong {
    color: #666;
    font-weight: 700;
}

/* --- FİLTRE BUTONLARI --- */
.eeg-filters {
    display: flex;
    flex-wrap: nowrap;       
    overflow-x: auto;       
    justify-content: flex-start;
    gap: 15px;
    margin-bottom: 20px; 
    padding-bottom: 10px;    
    -ms-overflow-style: none; 
    scrollbar-width: none;
    margin-right: calc((-100vw + 100%) / 2);
    padding-right: calc((100vw - 100%) / 2);
}

.eeg-filters::-webkit-scrollbar {
    display: none;
}

.eeg-filter-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 4px solid #C6CFDA; 
    padding: 0 20px;
    color: #00325B;
    background-color: transparent; 
    font-size: 14px; 
    font-weight: 600; 
    text-transform: capitalize;
    letter-spacing: -0.49px;
    white-space: nowrap;
    height: 49px;
    text-decoration: none; 
    cursor: pointer;
    transition: 0.3s;
    flex: 0 0 auto;
}

.eeg-filter-btn:hover {
    background-color: #F2F2F2;
    border-color: #C6CFDA;
    color: #00325B;
}

/* --- GRID LAYOUT --- */
.eeg-layout-grid {
    display: grid;
    grid-template-columns: 1fr 350px;
    gap: 50px;
    margin-bottom: 80px;
    align-items: start;
}

/* --- INTRO & PERSON BLOCK --- */
.eeg-intro-wrapper {
    display: flex;
    gap: 40px;
    margin-top: 26px; 
    margin-bottom: 0;
    align-items: flex-start;
}

.eeg-intro-text {
    flex: 1;
}

.eeg-intro-text h2 {
    font-size: 34px;
    color: #00325B;
    font-weight: 700;
    line-height: 44px;
    margin-bottom: 20px;
    margin-top: 0; 
}

/* DÜZELTME: Personel olmadığı için genişlik %100 */
.eeg-lead-text {
    font-size: 19px;
    color: #333;
    font-weight: 400;
    line-height: 29px;
    max-width: 100% !important; 
}

/* Person Card (Hidden) */
.eeg-person-card {
    display: none !important;
}

/* --- DIVIDER --- */
.eeg-divider {
    border: 0;
    border-top: 4px solid #00325B;
    margin-top: 55px; 
    margin-bottom: 15.5px;
    width: 100%;
}

/* --- SECTION CONTENT --- */
.eeg-section {
    margin-bottom: 0;
    scroll-margin-top: 0;
}

.eeg-section-title {
    font-size: 30px;
    color: #00325B;
    font-weight: 700;
    line-height: 39px;
    margin-top: 0;
    margin-bottom: 35.5px;
}

.eeg-section-desc {
    font-size: 19px;
    color: #333;
    font-weight: 400;
    line-height: 29px;
    margin-top: 0 !important;
    margin-bottom: 70px;
    max-width: 565px;
}

/* --- ACCORDION --- */
.eeg-accordion-wrapper {
    display: flex;
    flex-direction: column;
    gap: 15px;
    width: 100%;
    max-width: 630px;
}

.eeg-acc-item {
    width: 100%;
}

.eeg-acc-header {
    background-color: #00325B;
    color: #ffffff;
    width: 100%;
    height: auto !important;
    min-height: 54px !important;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 14px 25px !important; 
    box-sizing: border-box;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.eeg-acc-header:hover {
    background-color: #002545;
}

.eeg-acc-header span {
    font-size: 22px;
    font-weight: 600;
    line-height: 26px;
    padding-right: 15px;
}

.eeg-acc-icon {
    width: 22px;
    height: 16px;
    flex-shrink: 0;
    transform: rotate(90deg);
    transition: transform 0.5s ease;
}

.eeg-acc-item.active .eeg-acc-icon {
    transform: rotate(270deg);
}

.eeg-acc-body {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s ease-in-out;
    background-color: #F2F2F2;
}

.eeg-acc-inner {
    padding: 30px;
    color: #333;
    font-size: 16px;
    font-weight: 400;
    line-height: 27px;
    border: none;
    box-shadow: none;
}

.eeg-acc-inner ul {
    padding-left: 20px;
    margin-top: 0;
    margin-bottom: 15px;
}

.eeg-acc-inner li {
    margin-bottom: 8px;
    list-style-type: disc;
}

.eeg-acc-inner a[href^="tel"], 
.eeg-acc-inner a[href^="mailto"] {
    color: inherit;
    text-decoration: none;
}

/* --- SIDEBAR --- */
.eeg-sidebar {
    height: 100%;
    position: relative;
    padding-top: 26px; 
}

.sidebar-inner {
    position: -webkit-sticky;
    position: sticky;
    top: 20px;
    width: 100%;
    background-color: #F2F2F2;
    padding: 40px;
    border-radius: 4px;
    z-index: 10;
}

.sidebar-section {
    margin-bottom: 50px;
}

.sidebar-section:last-child {
    margin-bottom: 0;
}

.sidebar-heading {
    font-family: 'Inter', sans-serif;
    font-size: 20px;
    color: #00325B;
    font-weight: 700;
    margin-bottom: 22px;
    text-transform: uppercase;
    letter-spacing: -0.5px;
}

.sidebar-person-block {
    margin-bottom: 30px;
}

.sp-role {
    display: block;
    font-size: 16px;
    font-weight: 700;
    color: #00325B;
    margin-bottom: 5px;
}

.sp-name {
    display: block;
    font-size: 16px;
    color: #333;
}

.sidebar-contact-items {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.eeg-sc-item {
    display: flex;
    align-items: center;
    gap: 15px;
    font-size: 16px;
    color: #0071CE;
    text-decoration: none;
    font-weight: 400;
    line-height: 22px;
    transition: 0.3s ease;
}

.eeg-sc-item:hover {
    color: #00325B;
}

.eeg-sc-item svg {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
}

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

.sidebar-link-list li {
    margin-bottom: 15px;
}

.sidebar-link-list a {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #0071CE;
    text-decoration: none;
    font-size: 16px;
    font-weight: 400;
    line-height: 22px;
    transition: 0.3s;
}

.sidebar-link-list a:hover {
    color: #00325B;
    transform: translateX(5px);
}

.sidebar-link-list .arrow-icon {
    width: 20px;
    height: 14px;
    stroke-width: 2;
}

/* --- PARALLAX BANNER --- */
.eeg-parallax {
    position: relative;
    width: 100%;
    height: 600px !important;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    margin-bottom: 0;
}

.eeg-parallax-bg {
    position: absolute;
    top: -15%;
    left: 0;
    width: 100%;
    height: 130%;
    background-size: cover;
    background-position: center;
    z-index: 1;
    will-change: transform;
}

.eeg-parallax-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 50, 91, 0.65);
    z-index: 2;
    pointer-events: none;
}

.eeg-parallax-content {
    position: relative;
    z-index: 3;
    width: 100%;
    padding-left: 10px;
    padding-right: 10px;
}

.eeg-parallax-content h2 {
    font-family: 'Inter', sans-serif;
    font-size: 42px;
    font-weight: 600;
    line-height: 50px;
    color: #fff;
    max-width: 1200px;
    margin: 0;
}

/* --- BOTTOM GRID & BLOG GRID SYNC --- */
.eeg-bottom-section {
    padding-top: 100px;
    padding-bottom: 95px !important; 
}

/* ORTAK KURAL: ÇİZGİLER */
.eeg-bottom-line,
.eeg-blog-line {
    border: 0;
    border-top: 4px solid #00325B;
    margin-bottom: 20.5px;
    width: 100%;
}

/* ORTAK KURAL: BAŞLIKLAR */
.eeg-bottom-title,
.eeg-blog-title {
    font-family: 'Inter', sans-serif;
    font-size: 30px;
    font-weight: 700;
    color: #00325B;
    margin-top: 0;
    margin-bottom: 67.5px;
    text-align: left;
}

/* BLOG SECTION (Container) */
.eeg-blog-section {
    background-color: #fff;
    padding-bottom: 220px;
    padding-top: 0px; 
}

/* GRIDS */
.eeg-bottom-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    row-gap: 47px; 
    column-gap: 30px;
}

.eeg-blog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

/* BOTTOM CARDS */
.eeg-bottom-card {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.eeg-card-img-wrap {
    width: 100%;
    aspect-ratio: 377 / 236;
    overflow: hidden;
    margin-bottom: 18px;
}

.eeg-card-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

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

.eeg-bottom-card h3 {
    font-size: 22px;
    font-weight: 600;
    color: #00325B;
    margin-top: 0;
    line-height: 1.2;
    min-height: 53px; 
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin-bottom: 28px;
}

.eeg-card-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #0071CE;
    font-weight: 700;
    text-decoration: none;
    transition: 0.3s;
    margin-top: auto;
}

.eeg-card-link svg {
    width: 22px;
    height: 14px;
}

.eeg-card-link:hover {
    gap: 12px;
    color: #00325B;
}

/* BLOG CARDS */
.eeg-blog-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    border: none;
    background: #fff;
}

.eeg-blog-img-wrap {
    width: 100%;
    height: 200px;
    position: relative;
    overflow: hidden;
    margin-bottom: 0;
    flex-shrink: 0;
}

.eeg-blog-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

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

.eeg-blog-meta {
    height: 35px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
    width: 100%;
    background-color: rgba(0,50,91, 0.05);
    flex-shrink: 0;
}

.eeg-blog-cat {
    background-color: #00325B;
    color: #ffffff;
    font-size: 0.75rem;
    font-weight: 700;
    padding: 0 15px;
    height: 100%;
    display: flex;
    align-items: center;
}

.eeg-blog-date {
    font-size: 0.85rem;
    color: #666;
    font-weight: 500;
    padding-right: 10px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.eeg-blog-content {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    padding-top: 20px;
}

.eeg-blog-content h3 {
    font-size: 1.35rem;
    font-weight: 700;
    color: #00325B;
    margin: 0 0 15px 0;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.eeg-blog-content p {
    font-size: 1rem;
    color: #444;
    line-height: 1.6;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 5;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.eeg-blog-btn-wrap {
    margin-top: auto;
    padding-top: 30px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    width: 100%;
}

.eeg-blog-read-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 1.1rem;
    font-weight: 700;
    color: #00325B;
    text-decoration: none;
    transition: all 0.3s ease;
    padding-bottom: 15px;
}

.eeg-blog-read-link:hover {
    color: #0071CE;
    transform: translateX(5px);
}

.eeg-blog-separator {
    width: 100%;
    height: 2px;
    background-color: #00325B;
    display: block;
}

.eeg-blog-grid .eeg-blog-card:nth-child(4) {
    display: none;
}


/* ######################################################################
   FLUID SCALE (DEV EKRANLAR - 2000px ve Üzeri)
   ###################################################################### */
@media (min-width: 2000px) {

    /* --- HERO --- */
    .eeg-hero { 
        height: 550px !important; 
        min-height: 550px !important;
        max-height: 550px !important;
        padding-bottom: 3rem !important; 
    }
    
    .eeg-hero-content h1 { 
        font-size: 3.75rem !important; 
        margin-bottom: 0.5rem !important; 
        line-height: 1.1 !important;
    } 
    
    .eeg-subtitle { 
        font-size: 1.5rem !important; 
        line-height: 1.2 !important;
    }

    /* --- FILTERS --- */
    .eeg-filter-btn {
        font-size: 18px !important; 
        height: 55px !important;    
        padding: 0 25px !important;
    }

    .eeg-filters { 
        margin-bottom: 35px !important; 
    }

    /* --- LAYOUT & SIDEBAR --- */
    .eeg-layout-grid {
        grid-template-columns: 1fr 500px !important; 
        gap: 80px !important; 
        margin-bottom: 150px !important;
    }

    .eeg-intro-wrapper {
        margin-top: 40px !important; 
        gap: 60px !important;
    }

    /* --- INTRO (WIDTH FIX: NO PERSON) --- */
    .eeg-intro-text {
        max-width: 100% !important; /* FIXED */
        width: 100% !important;
        flex: none !important;
    }

    .eeg-lead-text {
        max-width: 100% !important; 
        font-size: 28px !important; 
        line-height: 1.5 !important;
    }

    /* --- TYPOGRAPHY --- */
    .eeg-intro-text h2 { 
        font-size: 46px !important; 
        font-weight: 700 !important;
        line-height: 60px !important;
        margin-bottom: 30px !important; 
    }
    
    .eeg-section-title { 
        font-size: 38px !important; 
        font-weight: 700 !important;
        line-height: 49px !important;
        margin-bottom: 40px !important; 
    }
    
    .eeg-section-desc { 
        max-width: 880px !important;
        width: 100% !important;
        font-size: 28px !important; 
        font-weight: 400 !important;
        line-height: 36px !important;
        margin-bottom: 90px !important;
    }
    
    /* Person Card (Hidden) */
    .eeg-person-card { 
        display: none !important;
    }

    /* --- DIVIDER --- */
    .eeg-divider {
        margin-top: 70px !important;    
        margin-bottom: 19.5px !important; 
    }

    /* --- ACCORDION --- */
    .eeg-accordion-wrapper { 
        max-width: 880px !important;
        width: 100% !important;
        gap: 30px !important;
    }
    
    .eeg-acc-header { 
        min-height: 70px !important; 
        padding: 20px 35px !important;
    }
    
    .eeg-acc-header span { 
        font-size: 26px !important; 
        font-weight: 600 !important;
        line-height: 26px !important;
    } 
    
    .eeg-acc-inner { 
        padding: 40px !important; 
        font-size: 24px !important; 
        font-weight: 400 !important;
        line-height: 41px !important;
    }

    .eeg-acc-inner li { 
        margin-bottom: 12px !important; 
    }

    /* --- SIDEBAR --- */
    .eeg-sidebar { 
        padding-top: 40px !important; 
    }

    .sidebar-inner { 
        padding: 50px !important; 
        top: 40px !important; 
    }
    
    .sidebar-heading { 
        font-size: 32px !important; 
        margin-bottom: 30px !important; 
    }

    .sp-role, 
    .sp-name { 
        font-size: 24px !important; 
    }

    .eeg-sc-item, 
    .sidebar-link-list a { 
        font-size: 24px !important; 
        gap: 15px !important;
    }

    .eeg-sc-item svg, 
    .sidebar-link-list .arrow-icon { 
        width: 36px !important; 
        height: 36px !important; 
    }

    /* --- PARALLAX BANNER --- */
    .eeg-parallax { 
        height: 800px !important; 
    }
    
    .eeg-parallax-content h2 { 
        font-size: 86px !important; 
        font-weight: 600 !important;
        line-height: 103px !important; 
    }
    
    /* --- BOTTOM GRID & BLOG GRID SYNC (FLUID) --- */
    .eeg-bottom-section { 
        padding-top: 150px !important; 
        padding-bottom: 95px !important;
    }

    .eeg-blog-section { 
        padding-top: 150px !important; 
        padding-bottom: 350px !important; 
    }

    /* ORTAK KURAL: ÇİZGİLER (6px, 40px margin) */
    .eeg-bottom-line,
    .eeg-blog-line { 
        border-top-width: 6px !important; 
        margin-bottom: 40px !important; 
    }

    /* ORTAK KURAL: BAŞLIKLAR (38px, 80px margin) */
    .eeg-bottom-title,
    .eeg-blog-title { 
        font-size: 38px !important; 
        font-weight: 700 !important;
        line-height: 49px !important;
        margin-bottom: 80px !important; 
    }
    
    /* Gridler */
    .eeg-bottom-grid { 
        grid-template-columns: repeat(4, 375px) !important;
        gap: 50px !important; 
        row-gap: 80px !important; 
    }

    .eeg-blog-grid { gap: 60px !important; }
    
    /* Kartlar */
    .eeg-card-img-wrap { 
        width: 100% !important; 
        margin-bottom: 25px !important; 
    }
    
    .eeg-bottom-card h3 { 
        font-size: 32px !important; 
        margin-bottom: 30px !important; 
    }

    .eeg-card-link { 
        font-size: 20px !important; 
    }

    /* Blog İçerik */
    .eeg-blog-img-wrap { height: 300px !important; } 
    .eeg-blog-content { padding-top: 30px !important; }
    .eeg-blog-content h3 { font-size: 32px !important; line-height: 1.3 !important; margin-bottom: 25px !important; }
    .eeg-blog-content p { font-size: 22px !important; line-height: 1.6 !important; }
    .eeg-blog-read-link { font-size: 22px !important; padding-bottom: 25px !important; }
    .eeg-blog-read-link svg { width: 30px !important; height: 18px !important; }
    .eeg-blog-separator { height: 3px !important; }
    .eeg-blog-grid .eeg-blog-card:nth-child(4) { display: none; }
}

/* ######################################################################
   KARANTİNA 1: TABLET & KÜÇÜK LAPTOP (1000px - 1200px)
   ###################################################################### */
@media (min-width: 1000px) and (max-width: 1200px) {

    /* --- GENEL --- */
    .sub-page-container {
        padding-left: 40px !important;
        padding-right: 40px !important;
        width: 100% !important;
    }

    /* --- HERO --- */
    .eeg-hero {
        height: 400px !important; 
        min-height: 400px !important;
        max-height: 400px !important;
    }
    
    .eeg-hero-content h1 {
        font-size: 2.5rem !important; 
        line-height: 1.1 !important;
    }
    
    .eeg-subtitle {
        font-size: 26px !important; 
        line-height: 1.2 !important;
    }

    /* --- LAYOUT --- */
    .eeg-layout-grid {
        grid-template-columns: 1fr 300px !important;
        gap: 30px !important;
        margin-bottom: 80px !important;
    }

    /* --- INTRO (WIDTH FIX) --- */
    .eeg-intro-wrapper {
        gap: 0 !important;
        margin-top: 26px !important;
        justify-content: space-between !important; 
    }

    .eeg-intro-text {
        width: 100% !important; /* FIXED */
        flex: none !important;
        max-width: 100% !important; /* FIXED */
    }

    .eeg-intro-text h2 {
        font-size: 25px !important; 
        font-weight: 700 !important;
        line-height: 1.3 !important;
    }

    .eeg-lead-text {
        font-size: 18px !important; 
        font-weight: 400 !important;
        line-height: 1.5 !important;
    }

    /* Person Card (Hidden) */
    .eeg-person-card {
        display: none !important;
    }

    /* --- FILTERS --- */
    .eeg-filters {
        gap: 10px !important;
        margin-bottom: 45px !important;
    }

    .eeg-filter-btn {
        font-size: 13px !important;
        height: 45px !important;
        padding: 0 15px !important;
        border-width: 3px !important;
    }

    /* --- SECTIONS --- */
    .eeg-section-title {
        font-size: 25px !important; 
        font-weight: 700 !important;
        margin-bottom: 30px !important;
    }
    
    .eeg-section-desc {
        font-size: 18px !important;
        font-weight: 400 !important;
        margin-bottom: 50px !important;
    }

    .eeg-acc-header {
        padding: 12px 20px !important;
        min-height: 50px !important;
    }

    .eeg-acc-header span { 
        font-size: 20px !important; 
    }
    
    .eeg-acc-inner { 
        padding: 25px !important; 
        font-size: 15px !important; 
    }

    /* --- SIDEBAR --- */
    .sidebar-inner { 
        padding: 30px !important; 
    }
    
    .sidebar-heading { 
        font-size: 18px !important; 
    }
    
    .sp-role, 
    .sp-name, 
    .eeg-sc-item, 
    .sidebar-link-list a {
        font-size: 15px !important; 
    }
    
    .eeg-sc-item svg, 
    .sidebar-link-list .arrow-icon {
        width: 20px !important;
        height: 20px !important;
    }

    /* --- PARALLAX --- */
    .eeg-parallax { 
        height: 450px !important; 
    }

    .eeg-parallax-content h2 { 
        font-size: 40px !important; 
        font-weight: 600 !important;
        line-height: 48px !important; 
    }

    /* --- BOTTOM GRID & BLOG GRID SYNC (TABLET) --- */
    .eeg-bottom-section {
        padding-top: 80px !important;
        padding-bottom: 120px !important;
    }
    .eeg-blog-section { 
        padding-top: 80px !important; 
        padding-bottom: 150px !important; 
    }

    /* ORTAK ÇİZGİLER (margin 25px) */
    .eeg-bottom-line,
    .eeg-blog-line {
        margin-bottom: 25px !important;
    }

    /* ORTAK BAŞLIKLAR (25px font, 75px margin) */
    .eeg-bottom-title,
    .eeg-blog-title {
        font-size: 25px !important;
        font-weight: 700 !important;
        margin-top: 0 !important;
        margin-bottom: 75px !important;
    }

    /* Grids */
    .eeg-bottom-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        row-gap: 40px !important;
        column-gap: 30px !important;
    }
    
    .eeg-blog-grid { gap: 20px !important; }

    /* Cards */
    .eeg-bottom-card h3 { 
        font-size: 20px !important; 
        min-height: auto !important; 
    }
    
    .eeg-card-img-wrap {
        margin-bottom: 15px !important;
    }

    /* Blog Specific */
    .eeg-blog-img-wrap { height: 180px !important; }
    .eeg-blog-content { padding-top: 15px !important; }
    .eeg-blog-content h3 { font-size: 20px !important; line-height: 1.3 !important; }
    .eeg-blog-content p { font-size: 15px !important; line-height: 1.5 !important; }
    .eeg-blog-grid .eeg-blog-card:nth-child(4) { display: none; }
}

/* ######################################################################
   KARANTİNA 2: KÜÇÜK TABLET & DİKEY MOD (700px - 999px)
   ###################################################################### */
@media (min-width: 700px) and (max-width: 999px) {

    html {
        scroll-padding-top: 73px !important; 
        scroll-behavior: smooth !important;
    }

    .sub-page-container {
        padding-left: 30px !important;
        padding-right: 30px !important;
        width: 100% !important;
    }

    .eeg-hero {
        height: 400px !important; 
        min-height: 400px !important;
        max-height: 400px !important;
        align-items: flex-end !important;
        justify-content: flex-start !important;
        padding-bottom: 3rem !important;
    }
    
    .eeg-hero-content h1 {
        font-size: 2.2rem !important; 
        line-height: 1.2 !important;
        margin-bottom: 0.5rem !important;
    }
    
    .eeg-subtitle {
        font-size: 26px !important; 
        line-height: 1.2 !important;
    }

    .eeg-layout-grid {
        display: flex !important;
        flex-direction: column !important;
        gap: 60px !important;
        margin-bottom: 80px !important;
    }

    .eeg-intro-wrapper {
        display: flex !important;
        flex-direction: column !important; 
        gap: 40px !important; 
        margin-top: 26px !important;
        margin-bottom: 55px !important; 
    }

    .eeg-intro-text {
        width: 100% !important;
        max-width: 100% !important; 
        flex: none !important;
    }

    .eeg-intro-text h2 {
        font-size: 26px !important; 
        font-weight: 700 !important;
        line-height: 1.3 !important;
    }

    .eeg-lead-text {
        font-size: 18px !important; 
        font-weight: 400 !important;
        line-height: 1.5 !important;
        max-width: 100% !important; 
    }

    /* Person Card (Hidden) */
    .eeg-person-card {
        display: none !important;
    }

    .eeg-filters {
        gap: 10px !important;
        margin-bottom: 40px !important;
    }

    .eeg-filter-btn {
        font-size: 13px !important;
        height: 45px !important;
        padding: 0 15px !important;
        border-width: 3px !important;
    }

    .eeg-divider {
        margin-top: 55px !important; 
        padding-top: 0 !important;
        scroll-margin-top: 0 !important; 
        display: block !important;
        border-top: 4px solid #00325B !important;
        width: 100% !important;
    }

    .eeg-section-title {
        font-size: 26px !important; 
        font-weight: 700 !important;
        margin-bottom: 25px !important;
        margin-top: 15px !important; 
    }
    
    .eeg-section-desc {
        font-size: 18px !important;
        font-weight: 400 !important;
        margin-bottom: 40px !important;
        max-width: 620px !important;
        width: 100% !important;
    }

    .eeg-accordion-wrapper {
        width: 100% !important;
        margin-bottom: 85px !important;
        max-width: 660px !important;
    }

    @media (max-width: 799px) {
        .eeg-accordion-wrapper {
            max-width: 610px !important;
        }
    }

    .eeg-acc-header {
        padding: 12px 25px !important;
        min-height: 60px !important;
    }

    .eeg-acc-header span { 
        font-size: 20px !important; 
    }
    
    .eeg-acc-inner { 
        padding: 30px !important; 
        font-size: 16px !important; 
        max-width: 620px !important; 
        width: 100% !important;
    }

    .eeg-sidebar { 
        width: 100% !important;
        padding-top: 0 !important;
    }

    .sidebar-inner { 
        padding: 40px !important; 
        width: 100% !important;
    }
    
    .sidebar-heading { font-size: 22px !important; }
    .sp-role, .sp-name, .eeg-sc-item, .sidebar-link-list a { font-size: 16px !important; }
    .eeg-sc-item svg, .sidebar-link-list .arrow-icon { width: 20px !important; height: 20px !important; }

    .eeg-parallax { 
        height: 360px !important; 
        justify-content: flex-start !important; 
        align-items: center !important; 
    }

    .eeg-parallax-bg {
        height: 150% !important; 
        top: -25% !important;
    }

    .eeg-parallax-content {
        padding-left: 30px !important; 
        width: 100% !important;
        max-width: 100% !important;
    }

    .eeg-parallax-content h2 { 
        font-size: 40px !important; 
        font-weight: 600 !important;
        line-height: 48px !important; 
        text-align: left !important;
    }

    /* --- BOTTOM GRID & BLOG GRID SYNC (SMALL TABLET) --- */
    .eeg-bottom-section {
        padding-top: 80px !important;
        padding-bottom: 195px !important;
    }
    .eeg-blog-section { padding-top: 60px !important; padding-bottom: 120px !important; }

    /* ORTAK ÇİZGİLER (25px margin) */
    .eeg-bottom-line,
    .eeg-blog-line {
        margin-bottom: 25px !important; 
    }

    /* ORTAK BAŞLIKLAR (26px font, 75px margin) */
    .eeg-bottom-title,
    .eeg-blog-title {
        font-size: 26px !important;
        margin-top: 0 !important;
        margin-bottom: 75px !important;
    }

    /* Grids */
    .eeg-bottom-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        column-gap: 30px !important;
        row-gap: 60px !important; 
    }
    .eeg-blog-grid { grid-template-columns: repeat(2, 1fr) !important; gap: 30px !important; }
    
    /* Cards */
    .eeg-bottom-card {
        display: flex !important;
        flex-direction: column !important;
        justify-content: flex-start !important;
        height: 100% !important;
    }

    .eeg-card-img-wrap {
        margin-bottom: 25px !important;
        width: 100% !important;
    }

    .eeg-bottom-card h3 { 
        font-size: 20px !important; 
        min-height: auto !important; 
        margin-top: 0 !important;
        margin-bottom: 30px !important;
    }
    
    .eeg-card-link {
        margin-top: 0 !important;
    }

    /* Blog Specific */
    .eeg-blog-img-wrap { height: 180px !important; }
    .eeg-blog-content { padding-top: 15px !important; }
    .eeg-blog-content h3 { font-size: 20px !important; line-height: 1.3 !important; }
    .eeg-blog-content p { font-size: 15px !important; line-height: 1.5 !important; }
    .eeg-blog-grid .eeg-blog-card:nth-child(4) { display: flex !important; }
}

/* ######################################################################
   KARANTİNA 3: MOBİL MOD (699px ve Altı)
   ###################################################################### */
@media (max-width: 699px) {

    html {
        scroll-padding-top: 0px !important; 
        scroll-behavior: smooth !important;
    }

    .sub-page-container {
        padding-left: 10px !important;
        padding-right: 10px !important;
        width: 100% !important;
    }

    .eeg-hero {
        margin-top: 0 !important;
        padding-top: 0 !important;
        height: calc(100vh - 54px) !important; 
        min-height: calc(100vh - 54px) !important;
        max-height: none !important;
        
        background-position: center top !important;
        align-items: center !important; 
        justify-content: flex-start !important;
        padding-bottom: 0 !important;
    }
    
    .eeg-hero-content {
        padding: 0 !important; 
        text-align: left !important;
        width: 100% !important;
    }

    .eeg-hero-content h1 {
        font-size: 40px !important; 
        font-weight: 700 !important;
        letter-spacing: -0.5px !important;
        line-height: 44px !important;
        margin-bottom: 5px !important;
    }
    
    .eeg-subtitle {
        font-size: 26px !important;
        font-weight: 500 !important;
        line-height: 31px !important;
        margin-top: 0 !important;
    }

    .eeg-filters {
        display: flex !important;
        flex-direction: row !important;
        flex-wrap: nowrap !important;
        overflow-x: auto !important;
        justify-content: flex-start !important;
        gap: 10px !important;
        
        width: calc(100% + 20px) !important; 
        margin-left: -10px !important; 
        margin-right: -10px !important; 
        padding-left: 10px !important; 
        padding-right: 10px !important;
        
        margin-bottom: 38px !important;
        
        -ms-overflow-style: none; 
        scrollbar-width: none;
    }
    .eeg-filters::-webkit-scrollbar { display: none; }

    .eeg-filter-btn {
        flex: 0 0 auto !important;
        width: auto !important;
        height: 49px !important;
        font-size: 14px !important;
        padding: 0 15px !important;
        white-space: nowrap !important;
        border-width: 3px !important;
    }
    
    .eeg-filter-btn:last-child {
        margin-right: 10px !important;
    }

    .eeg-layout-grid {
        display: flex !important;
        flex-direction: column !important;
        gap: 0 !important; 
        margin-bottom: 80px !important;
    }

    .eeg-intro-wrapper {
        display: flex !important;
        flex-direction: column !important;
        gap: 30px !important;
        margin-top: 0 !important;
        padding-top: 0 !important;
        margin-bottom: 40px !important;
    }

    .eeg-intro-text {
        width: 100% !important;
        max-width: 100% !important;
    }

    .eeg-intro-text h2 {
        font-size: 26px !important;
        font-weight: 700 !important;
        line-height: 1.3 !important;
        margin-top: 0 !important;
    }

    .eeg-lead-text {
        font-size: 17px !important;
        font-weight: 400 !important;
        line-height: 1.5 !important;
        max-width: 100% !important;
    }

    /* Person Card (Hidden) */
    .eeg-person-card {
        display: none !important;
    }

    .eeg-divider {
        margin-top: 0 !important;
        scroll-margin-top: 0 !important;
        border-top: 4px solid #00325B !important;
        width: 100% !important;
    }

    .eeg-section-title {
        font-size: 26px !important;
        font-weight: 700 !important;
        margin-top: 25px !important;
        margin-bottom: 20px !important;
    }
    
    .eeg-section-desc {
        font-size: 17px !important;
        font-weight: 400 !important;
        margin-bottom: 30px !important;
        max-width: 100% !important;
    }

    .eeg-accordion-wrapper {
        width: 100% !important;
        max-width: 100% !important;
        margin-bottom: 60px !important;
    }

    .eeg-acc-header {
        padding: 15px 20px !important;
        min-height: 60px !important;
    }
    .eeg-acc-header span { font-size: 18px !important; line-height: 1.3 !important; }
    
    .eeg-acc-inner { padding: 25px !important; font-size: 16px !important; }

    .eeg-sidebar {
        width: 100% !important;
        padding-top: 0 !important;
    }
    .sidebar-inner {
        padding: 30px 20px !important;
    }

    .eeg-parallax {
        height: 480px !important;
    }
    .eeg-parallax-content {
        padding-left: 10px !important; 
    }
    .eeg-parallax-content h2 {
        font-size: 30px !important;
        line-height: 1.2 !important;
    }

    /* --- BOTTOM GRID & BLOG GRID SYNC (MOBILE) --- */
    .eeg-bottom-section {
        padding-top: 60px !important;
        padding-bottom: 120px !important;
    }
    .eeg-blog-section {
        padding-top: 50px !important;
        padding-bottom: 140px !important;
        padding-left: 0 !important;
        padding-right: 0 !important;
    }
    
    /* ORTAK ÇİZGİLER (20px) */
    .eeg-bottom-line,
    .eeg-blog-line {
        margin-bottom: 20px !important;
    }

    /* ORTAK BAŞLIKLAR (26px font, 75px margin) */
    .eeg-bottom-title,
    .eeg-blog-title {
        font-size: 26px !important; 
        font-weight: 700 !important;
        margin-bottom: 75px !important;
    }

    /* Grids */
    .eeg-bottom-grid {
        grid-template-columns: 1fr !important;
        gap: 60px !important;
    }
    .eeg-blog-grid { grid-template-columns: 1fr !important; gap: 70px !important; margin: 0 !important; padding: 0 !important; }
    
    /* Cards */
    .eeg-bottom-card {
        width: 100% !important;
        height: auto !important; 
    }
    .eeg-blog-card { margin: 0 !important; padding: 0 !important; width: 100% !important; }

    /* Images */
    .eeg-card-img-wrap {
        margin-bottom: 20px !important; 
    }
    .eeg-blog-img-wrap { height: 200px !important; }
    
    /* Content */
    .eeg-bottom-card h3 {
        font-size: 22px !important;
        font-weight: 600 !important; 
        line-height: 1.4 !important; 
        margin-top: 0 !important;
        margin-bottom: 20px !important; 
        min-height: auto !important; 
    }

    .eeg-card-link {
        font-size: 18px !important;
        font-weight: 600 !important;
        letter-spacing: 0.8px !important;
        margin-top: 0 !important; 
    }

    .eeg-card-link svg {
        width: 22px !important;
        height: 14px !important;
    }

    /* Blog Specific */
    .eeg-blog-content { padding-left: 0 !important; padding-right: 0 !important; padding-top: 20px !important; }
    .eeg-blog-grid .eeg-blog-card:nth-child(4) { display: none !important; }
}

/* --- HEKİMLERİMİZ OKU KESİN DÜZELTME (EZİLEMEZ) --- */
.sidebar-link-list .neuro-sidebar-arrow {
    width: 22px !important;
    height: 14px !important;
    stroke-width: 2 !important;
    flex-shrink: 0;
}

/* Dev ekranlar için orantılı büyüme */
@media (min-width: 2000px) {
    .sidebar-link-list .neuro-sidebar-arrow {
        width: 36px !important;
        height: 23px !important; 
    }
}