/*şuan yayında olan css sürümü
    
    body {
    background: url('/img/bodybg2.jpg') left top repeat-y, url('/img/bodybg2.jpg') right top repeat-y;
    background-size: auto;
    background-color: #e9ecef; 
}

.main-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    background-color: white;
    position: relative;
    z-index: 1;
}*/



/* Ana container'ı ortala ve maksimum genişlik ver */
/*.main-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}*/

/* Header ve timeline'ı da aynı genıslıkde tut */
/*.header-content, #timeline {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}*/

/* Header - temiz, beyaza yakın, sağ-sol Selçuklu yıldızlı tasarım */
/*.header-with-pattern {
    background: radial-gradient(circle at top left, rgba(6, 92, 161, 0.045) 0%, rgba(255, 255, 255, 0) 36%), radial-gradient(circle at bottom right, rgba(6, 92, 161, 0.045) 0%, rgba(255, 255, 255, 0) 38%), linear-gradient(135deg, #ffffff 0%, #fbfdff 48%, #f5f9fd 100%);
    padding: 2rem 0;
    margin-bottom: 2rem;
    border: 3px solid #065CA1;
    border-radius: 12px;
    box-shadow: 0 8px 22px rgba(6, 92, 161, 0.14), inset 0 0 0 1px rgba(176, 138, 47, 0.20);
    position: relative;
    overflow: hidden;
    isolation: isolate;
}*/

    /* Sol taraf Selçuklu yıldızı pattern */
    /*.header-with-pattern::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        bottom: 0;
        width: 34%;
        background-image: url("data:image/svg+xml,%3Csvg width='74' height='74' viewBox='0 0 74 74' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' stroke-linecap='round' stroke-linejoin='round'%3E%3Cg opacity='0.34' stroke='%23065CA1' stroke-width='1.25'%3E%3Crect x='25' y='25' width='24' height='24'/%3E%3Crect x='25' y='25' width='24' height='24' transform='rotate(45 37 37)'/%3E%3Ccircle cx='37' cy='37' r='22' stroke-width='0.8' opacity='0.75'/%3E%3C/g%3E%3Cg opacity='0.42' stroke='%23B08A2F' stroke-width='0.85'%3E%3Crect x='30' y='30' width='14' height='14'/%3E%3Crect x='30' y='30' width='14' height='14' transform='rotate(45 37 37)'/%3E%3C/g%3E%3Cg opacity='0.15' stroke='%23065CA1' stroke-width='0.65'%3E%3Cpath d='M37 14 V60 M14 37 H60 M21 21 L53 53 M53 21 L21 53'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
        background-size: 74px 74px;
        background-repeat: repeat;
        background-position: left top;
        opacity: 1;
        pointer-events: none;
        z-index: 1;
        -webkit-mask-image: linear-gradient(90deg, #000 0%, #000 58%, transparent 100%);
        mask-image: linear-gradient(90deg, #000 0%, #000 58%, transparent 100%);
    }*/

    /* Sağ taraf Selçuklu yıldızı pattern */
    /*.header-with-pattern::after {
        content: '';
        position: absolute;
        top: 0;
        right: 0;
        bottom: 0;
        width: 34%;
        background-image: url("data:image/svg+xml,%3Csvg width='74' height='74' viewBox='0 0 74 74' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' stroke-linecap='round' stroke-linejoin='round'%3E%3Cg opacity='0.34' stroke='%23065CA1' stroke-width='1.25'%3E%3Crect x='25' y='25' width='24' height='24'/%3E%3Crect x='25' y='25' width='24' height='24' transform='rotate(45 37 37)'/%3E%3Ccircle cx='37' cy='37' r='22' stroke-width='0.8' opacity='0.75'/%3E%3C/g%3E%3Cg opacity='0.42' stroke='%23B08A2F' stroke-width='0.85'%3E%3Crect x='30' y='30' width='14' height='14'/%3E%3Crect x='30' y='30' width='14' height='14' transform='rotate(45 37 37)'/%3E%3C/g%3E%3Cg opacity='0.15' stroke='%23065CA1' stroke-width='0.65'%3E%3Cpath d='M37 14 V60 M14 37 H60 M21 21 L53 53 M53 21 L21 53'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
        background-size: 74px 74px;
        background-repeat: repeat;
        background-position: right top;
        opacity: 1;
        pointer-events: none;
        z-index: 1;
        -webkit-mask-image: linear-gradient(270deg, #000 0%, #000 58%, transparent 100%);
        mask-image: linear-gradient(270deg, #000 0%, #000 58%, transparent 100%);
    }*/

/* Header içeriği patternlerin üstünde ve net kalsın */
/*.header-content {
    position: relative;
    z-index: 3;
}*/

/* Header içindeki yazı ve logo soluklaşmasın */
/*.header-with-pattern h1,
.header-with-pattern h2,
.header-with-pattern img {
    position: relative;
    z-index: 4;
}*/

/* Tablet boyutları (768px ve altı) */
/*@media (max-width: 768px) {
    .main-container, .header-content, #timeline {
        padding: 0 15px;
    }

    .header-with-pattern {
        padding: 1.5rem 0;
        border-width: 2px;
    }

        .header-with-pattern::before,
        .header-with-pattern::after {
            width: 26%;
            background-size: 64px 64px;
        }

        .header-with-pattern .d-flex {
            flex-direction: column;
            gap: 12px !important;
            text-align: center;
        }

        .header-with-pattern h2 {
            font-size: 1.4rem !important;
            line-height: 1.3;
        }

        .header-with-pattern img {
            height: 55px !important;
        }
}*/

/* Küçük tablet ve büyük telefonlar (576px ve altı) */
/*@media (max-width: 576px) {
    .main-container, .header-content, #timeline {
        padding: 0 12px;
    }

    .header-with-pattern {
        padding: 1.25rem 0;
        border-width: 2px;
        border-radius: 6px;
        margin-bottom: 1.5rem;
    }

        .header-with-pattern::before,
        .header-with-pattern::after {
            width: 22%;
            background-size: 56px 56px;
            opacity: 0.7;
        }

        .header-with-pattern h2 {
            font-size: 1.2rem !important;
            padding: 0 10px;
        }

        .header-with-pattern img {
            height: 50px !important;
        }
}*/

/* Çok küçük telefonlar (400px ve altı) */
/*@media (max-width: 400px) {
    .main-container, .header-content, #timeline {
        padding: 0 10px;
    }

    .header-with-pattern {
        padding: 1rem 0;
    }

        .header-with-pattern::before,
        .header-with-pattern::after {
            width: 18%;
            background-size: 48px 48px;
            opacity: 0.55;
        }

        .header-with-pattern h2 {
            font-size: 1.1rem !important;
        }

        .header-with-pattern img {
            height: 45px !important;
        }

        .header-with-pattern .d-flex {
            gap: 8px !important;
        }
}*/

/* Çok yüksek çözünürlük için */
/*@media (min-width: 1400px) {
    .header-with-pattern::before,
    .header-with-pattern::after {
        width: 36%;
        background-size: 82px 82px;
    }
}*/

/* Yatay (landscape) mod için */
/*@media (max-height: 500px) and (orientation: landscape) {
    .header-with-pattern {
        padding: 1rem 0;
    }

        .header-with-pattern img {
            height: 40px !important;
        }

        .header-with-pattern h2 {
            font-size: 1.1rem !important;
        }
}*/

/* Logo ve başlık için responsive class'lar */
/*.header-logo {
    height: 60px;
    transition: height 0.3s ease;
}

.header-title {
    font-weight: 700;
    color: #065CA1;
    margin: 0;
    transition: font-size 0.3s ease;
}*/

/* Responsive logo boyutları */
/*@media (max-width: 768px) {
    .header-logo {
        height: 55px;
    }
}

@media (max-width: 576px) {
    .header-logo {
        height: 50px;
    }
}

@media (max-width: 400px) {
    .header-logo {
        height: 45px;
    }
}*/















/* =========================================================
   KASTAMONU ÜNİVERSİTESİ AKADEMİK TAKVİM
   TEZHİPLİ HEADER TASARIMI

   Body, ornamental-shell ve main-container yapısı korunur.
   Tezhip yalnızca header dış çerçevesinde kullanılır.
   ========================================================= */


/* =========================================================
   1. SAYFA ZEMİNİ
   Mevcut tasarım aynen korunmuştur.
   ========================================================= */

body {
    background: url('/img/bodybg2.jpg') left top repeat-y, url('/img/bodybg2.jpg') right top repeat-y;
    background-size: auto;
    background-color: #e9ecef;
}


/* =========================================================
   2. ANA CONTAINER
   Mevcut yapı değiştirilmemiştir.
   ========================================================= */

.main-container {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    background-color: #ffffff;
}


/* Header ve timeline aynı genişlikte kalır */

.header-content,
#timeline {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}


/* =========================================================
   3. TEZHİPLİ HEADER DIŞ ÇERÇEVESİ
   ========================================================= */

.header-with-pattern {
    /*
       Masaüstü tezhip ölçüleri
    */
    --header-corner-size: clamp(92px, 8.5vw, 132px);
    --header-horizontal-edge-height: clamp(32px, 3vw, 46px);
    --header-vertical-edge-width: clamp(27px, 2.6vw, 40px);
    --header-crest-width: clamp(175px, 20vw, 285px);
    position: relative;
    isolation: isolate;
    width: 100%;
    margin-bottom: 2rem;
    /*
       Logo ve başlık için iç boşluk.
       Tezhip motifleri bu alanın dışında kalır.
    */
    padding: clamp(2.35rem, 3vw, 3rem) clamp(1.7rem, 3vw, 2.6rem);
    background-color: #ffffff;
    /*
       Kullanılan dokuz tezhip görseli:

       1–4: Dört köşe
       5: Üst merkez motifi
       6–7: Üst ve alt kenar
       8–9: Sol ve sağ kenar
       10: Beyaz taban
    */
    background-image: url("/img/tezhip/tezhip-corner-tl.webp"), url("/img/tezhip/tezhip-corner-tr.webp"), url("/img/tezhip/tezhip-corner-bl.webp"), url("/img/tezhip/tezhip-corner-br.webp"), url("/img/tezhip/tezhip-crest-top.webp"), url("/img/tezhip/tezhip-edge-top.webp"), url("/img/tezhip/tezhip-edge-bottom.webp"), url("/img/tezhip/tezhip-edge-left.webp"), url("/img/tezhip/tezhip-edge-right.webp"), linear-gradient(#ffffff, #ffffff);
    /*
       Köşe ve merkez motifleri tekrar etmez.
       Kenar motifleri ilgili yönde tekrar eder.
    */
    background-repeat: no-repeat, no-repeat, no-repeat, no-repeat, no-repeat, repeat-x, repeat-x, repeat-y, repeat-y, no-repeat;
    /*
       Motiflerin header üzerindeki konumları.
    */
    background-position: left top, right top, left bottom, right bottom, center top, center top, center bottom, left center, right center, center;
    /*
       Görseller kesinlikle 100% 100% esnetilmez.
       Böylece çözünürlük ve motif oranları korunur.
    */
    background-size: var(--header-corner-size) var(--header-corner-size), var(--header-corner-size) var(--header-corner-size), var(--header-corner-size) var(--header-corner-size), var(--header-corner-size) var(--header-corner-size), var(--header-crest-width) auto, auto var(--header-horizontal-edge-height), auto var(--header-horizontal-edge-height), var(--header-vertical-edge-width) auto, var(--header-vertical-edge-width) auto, 100% 100%;
    background-origin: border-box;
    background-clip: border-box;
    /*
       Mevcut kurumsal mavi çerçeve korunur.
    */
    border: 3px solid #065ca1;
    border-radius: 12px;
    /*
       Mavi ve altın tonlarında premium derinlik.
    */
    box-shadow: 0 9px 24px rgba(6, 92, 161, 0.15), 0 3px 8px rgba(6, 92, 161, 0.07), inset 0 0 0 1px rgba(176, 138, 47, 0.24);
    overflow: hidden;
}


    /* =========================================================
   4. HEADER İÇ YÜZEYİ
   Tamamen beyazdır; içeride hiçbir desen bulunmaz.
   ========================================================= */

    .header-with-pattern::before {
        content: "";
        position: absolute;
        /*
       Tezhip bordürü görünür bırakılır.
       Merkez alan bütünüyle beyazla kapatılır.
    */
        top: clamp(27px, 2.5vw, 37px);
        right: clamp(28px, 2.7vw, 40px);
        bottom: clamp(25px, 2.3vw, 35px);
        left: clamp(28px, 2.7vw, 40px);
        z-index: 1;
        pointer-events: none;
        background-color: #ffffff;
        background-image: none;
        border: 1px solid rgba(6, 92, 161, 0.09);
        border-radius: 8px;
        box-shadow: inset 0 0 0 1px rgba(176, 138, 47, 0.10), 0 2px 7px rgba(6, 92, 161, 0.025);
    }


    /*
   Eski sağ taraftaki Selçuklu yıldızı
   pseudo-elementi tamamen kaldırılır.
*/

    .header-with-pattern::after {
        content: none !important;
        display: none !important;
        width: 0 !important;
        height: 0 !important;
        background: none !important;
        background-image: none !important;
        opacity: 0 !important;
    }


/* =========================================================
   5. HEADER İÇERİĞİ
   Beyaz iç panelin üzerinde kalır.
   ========================================================= */

.header-content {
    position: relative;
    z-index: 3;
}


    /*
   Mevcut Razor HTML'sindeki dış flex kapsayıcı.
*/

    .header-content > .d-flex {
        position: relative;
        z-index: 3;
        width: 100%;
    }


        /*
   Logo ve yazıları taşıyan iç flex alanı.
   Mevcut HTML yapısı korunmuştur.
*/

        .header-content > .d-flex > .d-flex {
            position: relative;
            z-index: 4;
        }


/* Header içeriği hiçbir şekilde soluklaşmaz. */

.header-with-pattern h1,
.header-with-pattern h2,
.header-with-pattern img {
    position: relative;
    z-index: 4;
    opacity: 1;
    filter: none;
    transform: none;
    text-shadow: none;
}


/* =========================================================
   6. LOGO VE BAŞLIK
   ========================================================= */

.header-logo {
    display: block;
    width: auto;
    height: 60px;
    object-fit: contain;
    transition: height 0.3s ease;
}

.header-title {
    margin: 0;
    color: #065ca1;
    font-weight: 700;
    transition: font-size 0.3s ease;
}


/* =========================================================
   7. TABLET – 768PX VE ALTI
   ========================================================= */

@media screen and (max-width: 768px) {

    .main-container,
    .header-content,
    #timeline {
        padding-right: 15px;
        padding-left: 15px;
    }

    .header-with-pattern {
        --header-corner-size: 86px;
        --header-horizontal-edge-height: 30px;
        --header-vertical-edge-width: 24px;
        --header-crest-width: 165px;
        padding: 2rem 1.25rem;
        border-width: 2px;
        border-radius: 10px;
    }

        .header-with-pattern::before {
            top: 24px;
            right: 23px;
            bottom: 22px;
            left: 23px;
            border-radius: 7px;
        }

        /*
       Mevcut responsive davranış korunur:
       header içeriği tablet ekranında dikey dizilir.
    */
        .header-with-pattern .d-flex {
            flex-direction: column;
            gap: 12px !important;
            text-align: center;
        }

        .header-with-pattern h1 {
            white-space: normal !important;
            text-align: center !important;
        }

        .header-with-pattern h2 {
            padding: 0 10px;
            font-size: 1.4rem !important;
            line-height: 1.3;
            text-align: center !important;
        }

        .header-with-pattern img {
            height: 55px !important;
        }

    .header-logo {
        height: 55px;
    }
}


/* =========================================================
   8. MOBİL – 576PX VE ALTI
   ========================================================= */

@media screen and (max-width: 576px) {

    .main-container,
    .header-content,
    #timeline {
        padding-right: 12px;
        padding-left: 12px;
    }

    .header-with-pattern {
        --header-corner-size: 72px;
        --header-horizontal-edge-height: 24px;
        --header-vertical-edge-width: 19px;
        --header-crest-width: 138px;
        margin-bottom: 1.5rem;
        padding: 1.65rem 0.85rem;
        border-width: 2px;
        border-radius: 7px;
    }

        .header-with-pattern::before {
            top: 19px;
            right: 17px;
            bottom: 18px;
            left: 17px;
            border-radius: 5px;
        }

        .header-with-pattern .d-flex {
            gap: 9px !important;
        }

        .header-with-pattern h1 {
            padding: 0 8px;
            font-size: 1.15rem !important;
            white-space: normal !important;
            text-align: center !important;
        }

        .header-with-pattern h2 {
            padding: 0 8px;
            font-size: 1.08rem !important;
            text-align: center !important;
        }

        .header-with-pattern img {
            height: 50px !important;
            max-width: 85% !important;
        }

    .header-logo {
        height: 50px;
    }
}


/* =========================================================
   9. ÇOK KÜÇÜK TELEFON – 400PX VE ALTI
   ========================================================= */

@media screen and (max-width: 400px) {

    .main-container,
    .header-content,
    #timeline {
        padding-right: 10px;
        padding-left: 10px;
    }

    .header-with-pattern {
        --header-corner-size: 61px;
        --header-horizontal-edge-height: 20px;
        --header-vertical-edge-width: 16px;
        --header-crest-width: 112px;
        padding: 1.4rem 0.65rem;
    }

        .header-with-pattern::before {
            top: 16px;
            right: 14px;
            bottom: 15px;
            left: 14px;
        }

        .header-with-pattern h1 {
            font-size: 1rem !important;
        }

        .header-with-pattern h2 {
            font-size: 0.95rem !important;
        }

        .header-with-pattern img {
            height: 45px !important;
        }

    .header-logo {
        height: 45px;
    }

    .header-with-pattern .d-flex {
        gap: 7px !important;
    }
}


/* =========================================================
   10. YÜKSEK ÇÖZÜNÜRLÜKLÜ EKRANLAR
   ========================================================= */

@media screen and (min-width: 1400px) {

    .header-with-pattern {
        --header-corner-size: 142px;
        --header-horizontal-edge-height: 50px;
        --header-vertical-edge-width: 43px;
        --header-crest-width: 310px;
    }
}


/* =========================================================
   11. YATAY TELEFON / LANDSCAPE
   ========================================================= */

@media screen and (max-height: 500px) and (orientation: landscape) {

    .header-with-pattern {
        --header-corner-size: 65px;
        --header-horizontal-edge-height: 22px;
        --header-vertical-edge-width: 17px;
        --header-crest-width: 125px;
        padding: 1.35rem 1rem;
    }

        .header-with-pattern::before {
            top: 17px;
            right: 16px;
            bottom: 16px;
            left: 16px;
        }

        .header-with-pattern img {
            height: 40px !important;
        }

        .header-with-pattern h1 {
            font-size: 1.05rem !important;
        }

        .header-with-pattern h2 {
            font-size: 0.95rem !important;
        }
}




/* =========================================================
   HEADER RESPONSIVE DÜZELTME
   Sol logo - orta başlık - sağ logo düzeni her ekranda korunur.
   Bu kod CSS dosyasının EN SONUNDA bulunmalıdır.
   ========================================================= */


/* =========================================================
   MASAÜSTÜ HEADER DÜZENİ
   ========================================================= */

.header-layout {
    position: relative;
    z-index: 4;
    display: grid;
    grid-template-columns: minmax(110px, 1fr) minmax(280px, auto) minmax(110px, 1fr);
    align-items: center;
    width: 100%;
    min-width: 0;
    gap: clamp(10px, 2vw, 24px);
    margin: 0;
    padding: 0;
}


/* Logo alanları */

.header-logo-area {
    display: flex;
    align-items: center;
    width: 100%;
    min-width: 0;
    height: clamp(75px, 8vw, 105px);
    overflow: hidden;
}

.header-logo-left {
    justify-content: flex-start;
}

.header-logo-right {
    justify-content: flex-end;
}


/* Logolar */

.header-with-pattern .header-brand-logo {
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    max-width: 100% !important;
    object-fit: contain !important;
    opacity: 1 !important;
    filter: none !important;
    transform: none !important;
}

.header-logo-left .header-brand-logo {
    object-position: left center !important;
}

.header-logo-right .header-brand-logo {
    object-position: right center !important;
}


/* Orta başlık alanı */

.header-heading {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-width: 0;
    width: 100%;
    text-align: center;
}


    /* Üniversite başlığı */

    .header-heading .header-university {
        width: 100%;
        margin: 0 !important;
        padding: 0 !important;
        color: #065ca1 !important;
        font-size: clamp(1.2rem, 2.15vw, 1.7rem) !important;
        font-weight: 700 !important;
        line-height: 1.2 !important;
        text-align: center !important;
        white-space: nowrap !important;
        word-break: normal !important;
        overflow-wrap: normal !important;
    }


    /* Akademik Takvim başlığı */

    .header-heading .header-title {
        width: 100%;
        margin: 6px 0 0 !important;
        padding: 0 !important;
        color: #065ca1 !important;
        font-size: clamp(1.05rem, 1.9vw, 1.5rem) !important;
        font-weight: 600 !important;
        line-height: 1.2 !important;
        text-align: center !important;
        white-space: nowrap !important;
        word-break: normal !important;
        overflow-wrap: normal !important;
    }


/* =========================================================
   TABLET – 900PX VE ALTI
   Üçlü yatay düzen korunur.
   ========================================================= */

@media screen and (max-width: 900px) {

    .header-layout {
        grid-template-columns: minmax(70px, 0.9fr) minmax(220px, 2.2fr) minmax(70px, 0.9fr);
        gap: 10px;
    }

    .header-logo-area {
        height: 68px;
    }

    .header-heading .header-university {
        font-size: 1.2rem !important;
    }

    .header-heading .header-title {
        font-size: 1.05rem !important;
    }
}


/* =========================================================
   TABLET VE BÜYÜK TELEFON – 768PX VE ALTI
   ========================================================= */

@media screen and (max-width: 768px) {

    .header-content {
        padding-right: 8px !important;
        padding-left: 8px !important;
    }

    .header-layout {
        grid-template-columns: minmax(58px, 0.85fr) minmax(0, 2.3fr) minmax(58px, 0.85fr);
        gap: 8px;
    }

    .header-logo-area {
        height: 58px;
    }

    .header-with-pattern .header-brand-logo {
        max-width: 100% !important;
    }

    .header-heading .header-university {
        font-size: clamp(0.9rem, 2.8vw, 1.1rem) !important;
        white-space: nowrap !important;
    }

    .header-heading .header-title {
        margin-top: 4px !important;
        font-size: clamp(0.82rem, 2.5vw, 1rem) !important;
        white-space: nowrap !important;
    }
}


/* =========================================================
   TELEFON – 576PX VE ALTI
   Logolar görünür kalır, yazılar küçülür.
   ========================================================= */

@media screen and (max-width: 576px) {

    .header-content {
        padding-right: 4px !important;
        padding-left: 4px !important;
    }

    .header-layout {
        grid-template-columns: minmax(48px, 0.8fr) minmax(0, 2.4fr) minmax(48px, 0.8fr);
        gap: 6px;
    }

    .header-logo-area {
        height: 48px;
    }

    .header-with-pattern .header-brand-logo {
        width: 100% !important;
        height: 100% !important;
        max-width: 100% !important;
    }

    .header-heading .header-university {
        font-size: clamp(0.75rem, 3.25vw, 0.92rem) !important;
        line-height: 1.15 !important;
        letter-spacing: 0 !important;
        white-space: nowrap !important;
    }

    .header-heading .header-title {
        margin-top: 3px !important;
        font-size: clamp(0.7rem, 3vw, 0.85rem) !important;
        line-height: 1.15 !important;
        letter-spacing: 0 !important;
        white-space: nowrap !important;
    }
}


/* =========================================================
   KÜÇÜK TELEFON – 400PX VE ALTI
   ========================================================= */

@media screen and (max-width: 400px) {

    .header-content {
        padding-right: 2px !important;
        padding-left: 2px !important;
    }

    .header-layout {
        grid-template-columns: minmax(39px, 0.75fr) minmax(0, 2.5fr) minmax(39px, 0.75fr);
        gap: 4px;
    }

    .header-logo-area {
        height: 40px;
    }

    .header-heading .header-university {
        font-size: clamp(0.68rem, 3.15vw, 0.78rem) !important;
        line-height: 1.1 !important;
    }

    .header-heading .header-title {
        margin-top: 2px !important;
        font-size: clamp(0.64rem, 2.9vw, 0.73rem) !important;
        line-height: 1.1 !important;
    }
}


/* =========================================================
   ÇOK DAR TELEFON – 340PX VE ALTI
   ========================================================= */

@media screen and (max-width: 340px) {

    .header-layout {
        grid-template-columns: minmax(34px, 0.7fr) minmax(0, 2.6fr) minmax(34px, 0.7fr);
        gap: 3px;
    }

    .header-logo-area {
        height: 35px;
    }

    .header-heading .header-university {
        font-size: 0.62rem !important;
    }

    .header-heading .header-title {
        font-size: 0.59rem !important;
    }
}


/* =========================================================
   YATAY TELEFON
   ========================================================= */

@media screen and (max-height: 500px) and (orientation: landscape) {

    .header-layout {
        grid-template-columns: minmax(60px, 1fr) minmax(210px, 2fr) minmax(60px, 1fr);
        gap: 8px;
    }

    .header-logo-area {
        height: 45px;
    }

    .header-heading .header-university {
        font-size: 0.9rem !important;
    }

    .header-heading .header-title {
        font-size: 0.8rem !important;
    }
}
























