/* css/sub/pages/media.css */
/* =========================================
   ÖZEL ÜNYE ÇAKIRTEPE HASTANESİ
   Sayfa: Medya & Basın (media.css)
   Versiyon: 31.2 (EXPANDED & 1920PX FIX & SIDEBAR IMG)
   Revizyon:
   1. Breadcrumb ile Başlık arasındaki boşluk azaltıldı (Spacing Fix).
   2. Fluid Scale eşiği 2000px yapıldı (1920px ekranlar için düzeltme).
   3. Kod yapısı genişletildi (Beautified).
   4. Sidebar person image (.media-person-img) added.
   ========================================= */

/* !!! KRİTİK: OVERFLOW KİLİDİNİ AÇMA !!! */
body, html {
    overflow: visible !important;
    overflow-x: clip !important;
}

main, .sub-page-container, .media-layout-grid {
    overflow: visible !important;
}

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


/* ==========================================================================
   1. MASAÜSTÜ (BASE) - 1201px - 1999px
   ========================================================================== */

/* --- HERO SECTION (KURUMSAL CLONE) --- */
.editorial-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; 
    justify-content: flex-start;
    padding-bottom: 3rem; 
    margin: 0;
    overflow: hidden;
}

.ed-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));
    z-index: 1;
}

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

.media-hero-title {
    font-family: 'Inter', sans-serif;
    font-size: 3rem; 
    font-weight: 700;
    margin-bottom: 0.5rem;
    line-height: 1.1;
    color: #ffffff;
    text-shadow: none; 
    letter-spacing: normal;
}

.media-hero-lead {
    font-family: 'Inter', sans-serif;
    font-size: 26px; 
    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; 
    margin-bottom: 0 !important;
    border-bottom: none;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    padding-left: 0 !important;
}

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

.page-breadcrumb a:hover { 
    color: #0071CE; 
}

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

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

/* --- GRID YAPISI --- */
.media-layout-grid {
    display: grid;
    grid-template-columns: 1fr 350px; 
    gap: 30px; 
    margin-bottom: 80px;
}

/* --- ANA KOLON (BOŞLUK REVİZYONU BURADA) --- */
.media-main-column { 
    width: 100%; 
    /* REVIZE: 28px olan boşluk SIFIRLANDI */
    padding-top: 0 !important; 
}

.media-section-block { 
    margin-bottom: 0; 
}

/* --- İÇERİK BAŞLIĞI (BOŞLUK REVİZYONU BURADA) --- */
.media-section-head {
    font-family: 'Inter', sans-serif;
    font-size: 35px; 
    color: #00325B;
    margin-bottom: 25px;
    font-weight: 700;
    line-height: 1.2;
    /* REVIZE: Kalan 2px'lik farkı kapatmak için negatif margin */
    margin-top: 0px !important; 
}

.media-lead-red {
    font-size: 1.2rem;
    line-height: 1.6;
    color: #333;
    font-weight: 500;
    margin-bottom: 30px;
    border-left: 4px solid #ae2856;
    padding-left: 20px;
}

.media-text-content {
    font-size: 1.1rem !important; 
    color: #444 !important; 
    line-height: 1.6 !important; 
    margin-bottom: 68px; 
    font-weight: 400;
    max-width: 100%;
    font-family: 'Inter', sans-serif;
}

.media-text-content p { 
    margin-bottom: 1.5rem; 
}

.media-text-content p:last-child { 
    margin-bottom: 0; 
}

/* AYRAÇ */
.media-separator {
    border: 0;
    border-top: 2px solid #00325B; 
    margin: 4rem 0 2.5rem 0;
    width: 100%;
}

/* --- SIDEBAR --- */
.media-sidebar-column { 
    height: 100%; 
    position: relative; 
}

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

.media-sidebar-heading {
    font-family: 'Inter', sans-serif; 
    font-size: 24px; 
    font-weight: 600;
    color: #00325B; 
    text-transform: uppercase; 
    margin-bottom: 22px; 
    line-height: 1.2; 
    letter-spacing: -0.86px;
}

.media-sidebar-desc {
    font-size: 16px; 
    color: #333; 
    margin: 0 0 30px 0; 
    line-height: 1.4; 
    font-weight: 400;
    font-family: 'Inter', sans-serif;
}

.media-person-block-sidebar {
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid #ddd;
}

/* --- SIDEBAR PERSON IMAGE (Kurumsal Profil .board-img stilinden klonlandı) --- */
.media-person-img {
    width: 100%;
    max-width: 230px;
    height: 256px;
    border-radius: 0;
    overflow: hidden;
    margin: 0 0 30px 0;
    background: #f0f0f0;
}

.media-person-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
}

.mp-name { 
    display: block; 
    font-weight: 700; 
    font-size: 1.2rem; 
    color: #00325B; 
    margin-bottom: 5px; 
}

.mp-role { 
    display: block; 
    font-size: 1rem; 
    color: #555; 
}

.media-sidebar-address p {
    font-size: 16px; 
    color: #333; 
    margin: 0 0 2px 0; 
    line-height: 1.4; 
    font-weight: 400;
}

.media-sidebar-address { 
    margin-bottom: 30px; 
}

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

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

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

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

/* --- LİSTE VE LİNKLER --- */
.media-download-list { 
    display: flex; 
    flex-direction: column; 
    width: 100%; 
}

.media-dl-item {
    display: flex; 
    justify-content: space-between; 
    align-items: center;
    padding: 15px 20px; 
    background-color: #f4f7f9;
    border-bottom: 1px solid #e0e0e0; 
    text-decoration: none;
    transition: background-color 0.2s; 
    margin-bottom: 10px;
}

.media-dl-item:hover { 
    background-color: #eef2f5; 
}

.media-dl-text { 
    font-size: 1rem; 
    color: #00325B; 
    line-height: 1.4; 
    padding-right: 20px; 
}

.media-dl-icon { 
    width: 24px; 
    height: 24px; 
    color: #0071CE; 
    flex-shrink: 0; 
}

.media-arrow-link {
    display: inline-flex !important;
    align-items: center !important;
    gap: 0.5rem !important;
    font-size: 1rem !important; 
    font-weight: 700 !important; 
    color: #0071CE !important;
    text-decoration: none !important;
    transition: gap 0.3s ease !important;
    margin-top: 10px;
}

.media-arrow-link:hover { 
    gap: 0.8rem !important; 
    color: #00325B !important; 
}

/* --- BANNERS --- */
.media-full-banner {
    width: 100%; 
    height: 600px;
    background-color: #c7eafb; 
    color: #00325B; 
    display: flex; 
    align-items: center; 
    justify-content: center;
    border-radius: 0; 
    margin-bottom: 0; 
    padding: 0; 
}

.media-full-banner .sub-page-container { 
    width: 100%; 
}

.media-full-banner h2 { 
    font-family: 'Inter', sans-serif; 
    font-size: 60px; 
    font-weight: 700; 
    color: #00325B; 
    margin: 0; 
    text-align: left; 
    line-height: 1.2;
}

/* --- BOTTOM GRID --- */
.media-bottom-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr); 
    gap: 30px;
    margin-top: 30px;
}

.media-card-wrapper {
    display: flex; 
    flex-direction: column; 
    cursor: pointer; 
}

.img-wrap { 
    display: block; 
    overflow: hidden; 
    margin-bottom: 20px; 
}

.img-wrap img {
    width: 100%; 
    height: 160px; 
    object-fit: cover;
    background-color: #eee; 
    transition: transform 0.5s ease;
}

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

.mc-title {
    font-family: 'Inter', sans-serif;
    font-size: 1.4rem; 
    font-weight: 600;
    color: #00325B; 
    margin: 0 0 25px 0; 
    line-height: 1.2;
}

.mc-link {
    display: inline-flex; 
    align-items: center; 
    gap: 0.5rem;
    font-size: 1rem; 
    font-weight: 700; 
    color: #0071CE; 
    text-decoration: none; 
    transition: gap 0.3s ease;
}

.mc-link svg { 
    width: 24px; 
    height: 14px; 
}

.media-card-wrapper:hover .mc-link, 
.mc-link:hover { 
    gap: 0.8rem; 
    color: #00325B; 
}


/* ==========================================================================
   2. FLUID SCALE (2K ve 4K EKRANLAR) - 2000px+
   Revizyon: 1920px ekranlar için düzeltme (Eşik 2000px yapıldı).
   ========================================================================== */
@media (min-width: 2000px) {
    
    .editorial-hero { 
        height: 550px !important; 
        min-height: 550px !important; 
        max-height: 550px !important;
    }
    
    .media-hero-title { 
        font-size: 3.75rem !important; 
    } 
    
    .media-hero-lead { 
        font-size: 1.5rem !important; 
    }
    
    .media-layout-grid {
        grid-template-columns: 1fr 450px !important; 
        gap: 100px !important;
    }
    
    /* REVIZE: Fluid modunda boşluğu korumak veya açmak istersen burayı düzenle */
    .media-main-column { 
        padding-top: 40px !important; 
    } /* Normalde 70'ti, azalttım */
    
    .media-sidebar-inner { 
        padding: 60px !important; 
        margin-left: -20px !important; 
    }
    
    .media-sidebar-heading { 
        font-size: 30px !important; 
        margin-bottom: 30px !important; 
        line-height: 36px !important; 
    }
    
    .media-sidebar-desc { 
        font-size: 20px !important; 
        line-height: 28px !important; 
    }

    .media-person-img {
        max-width: 318px !important;
        width: 318px !important;
        height: 354px !important;
    }
    
    .media-sidebar-address p, 
    .media-sc-item, 
    .mp-name, 
    .mp-role { 
        font-size: 20px !important; 
    }
    
    .media-section-head { 
        font-size: 46px !important; 
        font-weight: 700 !important; 
        line-height: 60px !important; 
        margin-bottom: 35px !important; 
    }
    
    .media-text-content { 
        font-size: 1.3rem !important; 
    }
    
    .media-lead-red p { 
        font-size: 1.5rem !important; 
    }
    
    .media-dl-text { 
        font-size: 1.2rem !important; 
    }
    
    .media-full-banner { 
        height: 800px !important; 
    }
    
    .media-full-banner h2 { 
        font-size: 80px !important; 
    }
    
    .media-bottom-grid { 
        gap: 50px !important; 
    }
    
    .img-wrap img { 
        height: 233px !important; 
    }
    
    .mc-title { 
        font-size: 30px !important; 
        line-height: 39px !important; 
    }
    
    .mc-link { 
        font-size: 24px !important; 
    }
}


/* ==========================================================================
   3. TABLET AYIRIMI (SPLIT SYSTEM)
   ========================================================================== */
@media (min-width: 1000px) and (max-width: 1200px) {
    .sub-page-container { 
        padding-left: 40px !important; 
        padding-right: 40px !important; 
    }
    
    .editorial-hero { 
        height: 400px !important; 
        min-height: 400px !important; 
    }
    
    .media-hero-title { 
        font-size: 2.5rem; 
    }
    
    .media-layout-grid { 
        grid-template-columns: 1fr 320px; 
        gap: 30px; 
    }
    
    .media-main-column { 
        padding-top: 0 !important; 
    } /* Tablette de boşluk kapalı */
    
    .media-sidebar-inner { 
        top: 100px; 
    }
    
    .media-sidebar-heading { 
        font-size: 20px !important; 
    }

    .media-person-img {
        width: 171px !important;
        max-width: 171px !important;
        height: 191px !important;
        margin-bottom: 20px;
    }
    
    .media-full-banner { 
        height: 360px; 
    } 
    
    .media-full-banner h2 { 
        font-size: 40px; 
    }
    
    .media-bottom-grid { 
        grid-template-columns: repeat(2, 1fr); 
        gap: 60px; 
    }
    
    .img-wrap img { 
        height: 240px !important; 
    }
}

@media (min-width: 700px) and (max-width: 999px) {
    .sub-page-container { 
        padding-left: 30px !important; 
        padding-right: 30px !important; 
    }
    
    .editorial-hero { 
        height: 400px !important; 
        min-height: 400px !important; 
    }
    
    .media-hero-title { 
        font-size: 2.2rem; 
    }
    
    .media-layout-grid { 
        grid-template-columns: 1fr !important; 
        gap: 60px; 
    }
    
    .media-main-column { 
        padding-top: 15px !important; 
    } /* Tablet dikeyde biraz boşluk kalsın */
    
    .media-sidebar-column { 
        width: 100% !important; 
    }
    
    .media-sidebar-inner {
        position: static !important; 
        width: 100% !important; 
        padding: 30px;
        display: grid !important; 
        grid-template-columns: 1fr 1fr; 
        column-gap: 40px; 
        row-gap: 40px;
    }
    
    .media-sidebar-heading { 
        font-size: 24px !important; 
    }

    .media-person-img {
        width: 100% !important;
        max-width: 357px !important;
        height: 400px !important;
        margin-bottom: 20px;
        margin-left: auto;
        margin-right: auto;
    }
    
    .media-full-banner { 
        height: 360px !important; 
        padding: 0 !important; 
    }
    
    .media-full-banner h2 { 
        font-size: 36px; 
        padding-left: 30px; 
        padding-right: 30px; 
    }
    
    .media-bottom-grid { 
        grid-template-columns: repeat(2, 1fr); 
        gap: 40px; 
    }
    
    .img-wrap img { 
        height: 200px !important; 
    }
}


/* ==========================================================================
   4. MOBİL (699px ve Altı) - (iPhone / Android)
   ========================================================================== */
@media (max-width: 699px) {
    main { 
        margin-top: 0 !important; 
        padding-top: 0 !important; 
    }

    .editorial-hero {
        margin-top: 0 !important; 
        padding-top: 0 !important;
        
        /* FIX: 100dvh -> 100svh (Zıplama önleyici) */
        /* Adres çubuğu hareketinden etkilenmeyen sabit yükseklik */
        height: calc(100svh - 54px) !important; 
        min-height: calc(100svh - 54px) !important; 
        
        background-position: center top !important; 
        align-items: center !important; 
        padding-bottom: 0 !important; 
    }

    .media-hero-title {
        font-size: 40px !important;
        font-weight: 700 !important;
        line-height: 44px !important;
        margin-bottom: 5px !important;
    }

    .media-hero-lead { 
        font-size: 26px !important; 
        font-weight: 500 !important; 
        line-height: 31px !important; 
        opacity: 0.95 !important;
        margin-top: 0 !important;
    }
    
    .media-section-head { 
        font-size: 26px !important; 
        line-height: 1.1 !important; 
        margin-bottom: 43px !important; 
    }
    
    .media-layout-grid { 
        display: flex; 
        flex-direction: column; 
        gap: 50px; 
        margin-top: 30px; 
    }
    
    .media-main-column { 
        padding-top: 0; 
        order: 1; 
    }
    
    .media-sidebar-column { 
        position: static; 
        width: 100%; 
        order: 2; 
    }
    
    .media-sidebar-inner { 
        position: static; 
        width: 100%; 
        padding: 25px; 
        display: block !important; 
    }
    
    .media-sidebar-heading {
        font-size: 24px !important; 
        font-weight: 600 !important;
        margin-bottom: 22px !important;
        letter-spacing: -0.06px !important;
    }

    .media-person-img {
        width: 100% !important;
        max-width: 100% !important;
        height: 450px !important;
        border-radius: 0 !important;
        margin-bottom: 20px !important;
    }
    
    .media-full-banner { 
        height: 480px !important; 
        min-height: 480px !important; 
        padding: 0 !important; 
    }
    
    .media-full-banner h2 { 
        font-size: 26px; 
    }
    
    .media-bottom-grid { 
        grid-template-columns: 1fr; 
        gap: 50px !important; 
    }
    
    .img-wrap img { 
        height: 260px !important; 
    }
    
    .mc-title { 
        font-size: 22px !important; 
        line-height: 29px !important; 
    }
    
    .media-section-head { 
        scroll-margin-top: 40px !important; 
    }
}