/* YAKUP ÇİL — HEADER + HERO, tam dosya.
   Önceki header.css içeriğinin tamamının yerine geçer.
   Bu sürüm eşlik eden banner.php sütun yapısıyla birlikte kullanılmalıdır.
   Bootstrap ve ana tema CSS'inden sonra yüklenmelidir.
   Masaüstü: ortalanmış container + row + iki col-xl-6.
   Tablet/mobil: mevcut yerleşim kuralları korunmuştur. */

.header-area, .header-area *,

.yc-hero, .yc-hero * { box-sizing: border-box; }

/* 1. HEADER — logo, menü, randevu ve dil */

.header-area {

    position: relative;

    z-index: 100;

    width: 100%;

    margin: 0;

    padding: 12px 0;

    border: 0;

    background: transparent;

    box-shadow: none;

    font-family: "Poppins", sans-serif;

}

.header-area .h-center { margin: 0; padding: 0; background: transparent; }

.header-area .container {

    width: calc(100% - 32px);

    max-width: none;

    margin: 0 auto;

    padding: 0;

}

.header-area .h-center > .container > .d-flex {

    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 16px;

}

.header-area .header-left { flex: 0 0 auto; min-width: 0; margin: 0; padding: 0; }

.header-area .logo {

    display: block;

    width: clamp(190px, 25vw, 270px);

    height: auto;

    margin: 0;

    padding: 0;

    line-height: 0;

}

.header-area .logo img {

    display: block;

    width: 100%;

    max-width: 100%;

    height: auto;

    max-height: none;

    margin: 0;

    object-fit: contain;

}

.header-area .header-right {

    display: flex;

    flex: 1 1 0;

    min-width: 0;

    align-items: center;

    justify-content: flex-end;

    gap: 12px;

}

.header-area .tops-menu {

    align-items: center;

    flex-wrap: nowrap;

    gap: clamp(8px, 1.041667vw, 20px);

    margin: 0;

    padding: 0;

    list-style: none;

}

.header-area .tops-menu > li { position: relative; flex: 0 0 auto; margin: 0; padding: 0; }

.header-area .tops-menu > li > a {

    display: inline-flex;

    align-items: center;

    margin: 0;

    padding: 6px 0;

    color: #263637;

    font-size: clamp(10px, 0.833333vw, 18px);

    font-weight: 400;

    line-height: 1.4;

    text-decoration: none;

    white-space: nowrap;

}

.header-area .tops-menu > li > a:hover,

.header-area .tops-menu > .current-menu-item > a { color: #ba785d; }

/* Bootstrap d-none sınıfına rağmen randevu bağlantısını gösterir. */

.header-area .meeting-btn {

    display: inline-flex !important;

    flex: 0 0 auto;

    align-items: center;

    justify-content: center;

    width: auto;

    min-width: 0;

    max-width: none;

    height: auto;

    margin: 0;

    padding: 8px 12px;

    border: 0;

    border-radius: 4px;

    background: #ba785d;

    color: #fff;

    font-size: 12px;

    line-height: 1.4;

    text-decoration: none;

    white-space: nowrap;

}

.header-area .meeting-btn:hover { background: #a6664d; color: #fff; }

.header-area .lagus { flex: 0 0 auto; margin: 0; padding: 0; }

.header-area .web-lang { margin: 0; padding: 0; list-style: none; }

.header-area .flag-img { display: inline-block; width: 20px; height: auto; }

.header-area a:focus-visible, .yc-hero a:focus-visible {

    outline: 2px solid #476e70;

    outline-offset: 3px;

}

/* 3. HERO — ortak stiller; ekran düzenleri aşağıdaki media bloklarındadır. */

body.home main { margin: 0; padding: 0; }

.yc-hero {

    position: relative;

    isolation: isolate;

    display: grid;



    width: 100%;

    aspect-ratio: auto;

    min-height: 0;

    margin: 0;

    padding: 0;

    overflow: hidden;

    border-radius: 0 0 4vw 4vw;

    font-family: "Poppins", sans-serif;

}

/* Arka plan yüksekliği belirlemez; grid'in boyutunu takip eder. */

.yc-hero__image {

    position: absolute;

    z-index: -1;

    inset: 0;

    display: block;

    width: 100%;

    height: 100%;

    max-width: none;

    margin: 0;

    padding: 0;

    object-fit: fill;

}

/* Doktor görseli; konumlandırma ekran kurallarında tanımlanır. */

.yc-hero__doctor {

    position: absolute;

    z-index: 1;

    bottom: 0;

    left: 14.791667%;

    display: block;

    width: 36%;

    height: auto;

    max-height: 92%;

    margin: 0;

    object-fit: contain;

    object-position: center bottom;

}

.yc-hero__overlay {

    position: relative;

    z-index: 2;

    grid-column: 2;

    grid-row: 2;

    align-self: start;

    inset: auto;

    width: 100%;

    min-width: 0;

    pointer-events: auto;

}

.yc-hero__text {

    position: static;

    width: 100%;

    margin: 0;

    padding: 0;

    color: #476e70;

    text-align: left;

}

.yc-hero__subtitle {

    margin: 0 0 0.208333vw;

    color: #476e70;

    font-size: 1.041667vw;

    font-weight: 500;

    line-height: 1.4;

}

.yc-hero__text h1 {

    margin: 0;

    color: #476e70;

    font-size: 3.645833vw;

    font-weight: 600;

    line-height: 1.12;

    letter-spacing: -0.025em;

}

.yc-hero__description {

    width: 100%;

    margin: 1.25vw 0 0;

    color: #293737;

    font-size: 1.041667vw;

    line-height: 1.35;

}

.yc-hero__actions {

    display: flex;

    flex-wrap: wrap;

    align-items: center;

    gap: 0.75vw;

    margin-top: 1.25vw;

}

.yc-hero__button {

    display: inline-flex;

    align-items: center;

    justify-content: center;

    width: 11.25vw;

    padding: 0.55vw 0.75vw;

    border-radius: 4px;

    color: #fff;

    font-size: 0.833333vw;

    line-height: 1.4;

    text-align: center;

    text-decoration: none;

    white-space: nowrap;

}

.yc-hero__button--primary { background: #476e70; }

.yc-hero__button--contact { background: #ba785d; }

.yc-hero__button--primary:hover { background: #365658; color: #fff; }

.yc-hero__button--contact:hover { background: #a6664d; color: #fff; }

/* 4. KURUM LOGOLARI — kendi en-boy oranı korunur. */

.yc-hero__logos {

    position: relative;

    z-index: 3;

    grid-column: 2;

    grid-row: 3;

    align-self: start;

    width: 100%;

    height: auto;

    aspect-ratio: 627 / 99;

    margin: 0;

    padding: 0;

    border: 1px solid #22a8ac;

    border-radius: 0.677083vw;

    background: rgb(255 255 255 / 41%);

    display: flex;

    align-items: center;

    justify-content: space-evenly;

}

.yc-hero__logos > img {

    position: static;

    display: block;

    flex: 0 0 auto;

    max-width: none;

    max-height: 76%;

    height: auto;

    margin: 0;

    object-fit: contain;

}

.yc-hero__logos > img:nth-child(1) { width: 17.07%; }

.yc-hero__logos > img:nth-child(2) { width: 11.48%; }

.yc-hero__logos > img:nth-child(3) { width: 10.53%; }

.yc-hero__logos > img:nth-child(4) { width: 11%; }

.yc-hero__logos > img:nth-child(5) { width: 12.92%; }

/* 5. SAĞ İLETİŞİM İKONLARI */

.yc-hero__socials {

    position: absolute;

    z-index: 5;

    top: 35%;

    right: 0;

    display: flex;

    flex-direction: column;

    gap: 0.55vw;

}

.yc-hero__social {

    display: flex;

    align-items: center;

    justify-content: center;

    width: 2.9vw;

    height: 2.9vw;

    border-radius: 6px 0 0 6px;

    color: #fff;

    text-decoration: none;

}

.yc-hero__social--phone { background: #ba785d; }

.yc-hero__social--whatsapp { background: #476e70; }

.yc-hero__social--instagram { background: #9fc2c3; }

.yc-hero__social--youtube { background: #263f40; }

.yc-hero__social svg { display: block; width: 60%; height: 60%; fill: currentColor; }

/* 6. ORTAK MASAÜSTÜ DÜZENİ — tek eşik, tüm geniş monitörler.
   Header ve banner aynı 1440 px içerik sınırını kullanır.
   Arka plan tam genişliktedir; sağ/sol sütunlar 6 + 6 düzenindedir. */
@media (min-width: 1200px) {
    body.home { position: relative; }

    body.home .header-area {
        position: absolute;
        inset: 0 0 auto;
        padding: 24px 0;
    }
    .header-area .h-center {
        position: relative;
        inset: auto;
        width: 100%;
        transform: none;
    }
    .header-area .h-center > .container {
        position: relative;
        inset: auto;
        width: calc(100% - 112px);
        max-width: 1440px;
        margin: 0 auto;
        padding: 0;
        transform: none;
    }
    .header-area .h-center > .container > .d-flex {
        display: flex;
        width: 100%;
        margin: 0;
        padding: 0;
        flex-wrap: nowrap;
        align-items: center !important;
        justify-content: space-between !important;
        gap: 24px;
    }
    .header-area .header-left {
        position: static;
        float: none;
        flex: 0 0 clamp(220px, 18vw, 300px);
        width: auto;
        min-width: 0;
        margin: 0;
        padding: 0;
        transform: none;
    }
    .header-area .logo {
        position: static;
        float: none;
        width: 100%;
        max-width: 300px;
        margin: 0;
        transform: none;
    }
    .header-area .logo img {
        position: static;
        width: 100%;
        height: auto;
        transform: none;
    }
    .header-area .header-right {
        position: static;
        float: none;
        flex: 1 1 0;
        width: auto;
        min-width: 0;
        margin: 0;
        padding: 0;
        align-items: center !important;
        justify-content: flex-end;
        gap: clamp(12px, 1vw, 20px);
        transform: none;
    }
    .header-area .main-menu {
        position: static;
        display: flex;
        flex: 0 1 auto;
        width: auto;
        min-width: 0;
        margin: 0;
        padding: 0;
        justify-content: flex-end !important;
        transform: none;
    }
    .header-area .tops-menu {
        position: static;
        display: flex !important;
        width: auto;
        margin: 0;
        padding: 0;
        align-items: center;
        gap: clamp(10px, 1vw, 20px);
        transform: none;
    }
    .header-area .tops-menu > li > a {
        font-size: clamp(13px, 0.95vw, 16px);
        padding: 10px 0;
    }
    .header-area .meeting-btn {
        position: static;
        width: auto;
        min-height: 44px;
        padding: 10px 16px;
        font-size: clamp(13px, 0.95vw, 16px);
        transform: none;
    }
    .header-area .web-lang > li {
        width: 40px;
        min-width: 0;
        margin: 0;
        padding: 8px;
    }
    .header-area .mobile-hamburger-menu { display: none !important; }

    /* Yükseklik içerikle büyüyebilir. Görsel ve metin doğal akıştadır. */
    .yc-hero {
        display: block;
        aspect-ratio: auto;
        height: auto;
        min-height: 0;
        padding: 140px 0 0;
        border-radius: 0 0 60px 60px;
    }
    .yc-hero__image { object-fit: cover; object-position: center; }

    .yc-hero > .yc-hero__container {
        display: block;
        position: relative;
        width: calc(100% - 112px);
        max-width: 1440px;
        margin: 0 auto;
        padding: 0;
        transform: none;
    }
    .yc-hero__container > .yc-hero__row {
        display: flex;
        flex-wrap: wrap;
        align-items: stretch;
        width: auto;
        min-height: clamp(500px, 35vw, 680px);
        margin: 0 -20px;
        padding: 0;
        gap: 0;
    }
    .yc-hero__row > .yc-hero__visual-col,
    .yc-hero__row > .yc-hero__content-col {
        position: relative;
        display: flex;
        flex: 0 0 50%;
        width: 50%;
        max-width: 50%;
        min-width: 0;
        margin: 0;
        padding: 0 20px;
        transform: none;
    }
    .yc-hero__row > .yc-hero__visual-col {
        align-items: flex-end;
        justify-content: center;
    }
    .yc-hero__row > .yc-hero__content-col {
        flex-direction: column;
        justify-content: center;
        align-items: flex-start;
        padding-top: 32px;
        padding-bottom: 64px;
    }
    .yc-hero__doctor {
        position: static;
        inset: auto;
        display: block;
        width: 100%;
        max-width: 620px;
        height: auto;
        max-height: 680px;
        margin: 0;
        object-fit: contain;
        object-position: center bottom;
        transform: none;
    }
    .yc-hero__overlay {
        position: relative;
        inset: auto;
        width: 100%;
        max-width: 640px;
        margin: 0;
        padding: 0;
        transform: none;
    }
    .yc-hero__subtitle {
        margin: 0 0 8px;
        font-size: clamp(14px, 1.05vw, 20px);
    }
    .yc-hero__text h1 {
        font-size: clamp(40px, 3.4vw, 64px);
        line-height: 1.12;
    }
    .yc-hero__description {
        max-width: 590px;
        margin: 24px 0 0;
        font-size: clamp(16px, 1.05vw, 20px);
        line-height: 1.55;
    }
    .yc-hero__actions { gap: 14px; margin-top: 24px; }
    .yc-hero__button {
        width: clamp(160px, 11.25vw, 216px);
        min-height: 48px;
        padding: 12px 18px;
        font-size: 16px;
    }
    .yc-hero__logos {
        flex: 0 0 auto;
        width: 100%;
        max-width: 640px;
        margin: 40px 0 0;
        border-radius: 12px;
    }
    .yc-hero__socials { top: 35%; gap: 10px; }
    .yc-hero__social { width: 48px; height: 48px; }
}

/* Yeni sütun sarmalayıcıları küçük ekranlarda kutu oluşturmaz.
   Böylece aşağıdaki mevcut grid/flex sırası ve ölçüler korunur. */
@media (max-width: 1199.98px) {
    .yc-hero > .yc-hero__container,
    .yc-hero__container > .yc-hero__row,
    .yc-hero__row > .yc-hero__visual-col,
    .yc-hero__row > .yc-hero__content-col {
        display: contents;
    }
}

/* 6. TABLET — içerik yüksekliği metne göre büyüyebilir. */

@media (min-width: 768px) and (max-width: 1199.98px) {

    .yc-hero {

        aspect-ratio: auto;

        min-height: 620px;

        grid-template-columns: 48% minmax(0, 1fr);

        grid-template-rows: auto auto;

        column-gap: 24px;

        padding: 50px 52px 0 20px;

    }

    .yc-hero__image { object-fit: cover; }

    .yc-hero__doctor {

        position: relative;

        grid-column: 1;

        grid-row: 1 / 3;

        align-self: end;

        left: auto;

        bottom: auto;

        width: 100%;

        max-height: none;

    }

    .yc-hero__overlay { grid-column: 2; grid-row: 1; align-self: end; }

    .yc-hero__subtitle { font-size: 13px; margin-bottom: 6px; }

    .yc-hero__text h1 { font-size: clamp(30px, 4vw, 46px); }

    .yc-hero__description { margin-top: 16px; font-size: 15px; line-height: 1.5; }

    .yc-hero__actions { gap: 8px; margin-top: 18px; }

    .yc-hero__button { width: auto; min-width: 120px; padding: 10px 12px; font-size: 12px; }

    .yc-hero__logos {

        grid-column: 2;

        grid-row: 2;

        margin: 28px 0 48px;

        border-radius: 8px;

    }

    .yc-hero__socials { top: 38%; gap: 7px; }

    .yc-hero__social { width: 34px; height: 34px; }

}

   /* Dil seçicideki oku kaldırır */

.header-area .web-lang > li::before,

.header-area .web-lang > li::after {

    content: none;

    display: none;

}

/* 7. MOBİL — doktor, metin ve logolar doğal akışta alt alta. */

@media (max-width: 767.98px) {

    .header-area .container { width: calc(100% - 28px); }

    .header-area .h-center > .container > .d-flex { flex-wrap: wrap; gap: 10px; }

    .header-area .logo { width: clamp(155px, 44vw, 220px); }

    .header-area .header-right { flex: 1 0 auto; gap: 8px; }

    .header-area .meeting-btn { padding: 8px; font-size: 10px; }

    .header-area .lagus { display: none; }

    .yc-hero {

        display: flex;

        flex-direction: column;

        aspect-ratio: auto;

        padding: 28px 20px 0;

        border-radius: 0 0 28px 28px;

    }

    .yc-hero__image { object-fit: cover; }

    /* Metin görselin altında kendi yüksekliğini alır.

       Uzayan yazı görsele taşmaz; sonraki alanları aşağı iter. */

    .yc-hero__overlay {

        order: 2;

        flex: 0 0 auto;

        margin-top: 24px;

    }

    .yc-hero__subtitle { margin-bottom: 6px; font-size: 12px; }

    .yc-hero__text h1 { font-size: clamp(29px, 8vw, 42px); }

    .yc-hero__description { margin-top: 14px; font-size: 14px; line-height: 1.5; }

    .yc-hero__actions { gap: 9px; margin-top: 18px; }

    .yc-hero__button { width: auto; min-width: 120px; padding: 11px 14px; font-size: 12px; }

    .yc-hero__doctor {

        position: relative;

        order: 1;

        flex: 0 0 auto;

        align-self: center;

        bottom: auto;

        left: auto;

        width: min(88%, 340px);

        max-height: none;

        margin: 0;

    }

    /* Negatif boşluk yok: logolar metne veya doktora bindirilmez. */

    .yc-hero__logos {

        order: 3;

        flex: 0 0 auto;

        max-width: 440px;

        margin: 24px auto;

        border-radius: 8px;

    }

    /* Mobilde ikonları ayrı bir satıra alır; içeriğin üstünü örtmez. */

    .yc-hero__socials {

        position: relative;

        order: 4;

        inset: auto;

        flex-direction: row;

        justify-content: center;

        gap: 10px;

        margin: 0 0 24px;

    }

    .yc-hero__social { width: 40px; height: 40px; border-radius: 6px; }

}

/* Bootstrap XL eşiğiyle tek ve tutarlı menü geçişi. */

@media (max-width: 1199.98px) {

    .header-area .main-menu { display: none !important; }

    .header-area .mobile-hamburger-menu { display: flex !important; flex: 0 0 auto; }

}

/* MASAÜSTÜ AÇILIR MENÜ — banner üzerinde okunabilir beyaz panel.
   Mevcut display, visibility ve açılma/konum kuralları korunur. */
@media (min-width: 1200px) {
    .header-area .main-menu .tops-menu .sub-menu {
        min-width: 240px;
        padding: 8px;
        background: var(--yc-color-white, #ffffff);
        color: var(--yc-color-primary, #476e70);
        border: 1px solid #dbe5e5;
        border-radius: 10px;
        box-shadow: 0 10px 28px rgba(38, 63, 64, .14);
    }

    .header-area .main-menu .tops-menu .sub-menu > li {
        margin: 0;
        padding: 0;
        background: transparent;
        color: var(--yc-color-primary, #476e70);
        border: 0;
    }

    .header-area .main-menu .tops-menu .sub-menu > li > a {
        display: block;
        padding: 10px 12px;
        border: 0;
        border-radius: 6px;
        background: transparent;
        color: var(--yc-color-primary, #476e70);
        font-size: 15px;
        font-weight: 500;
        line-height: 1.45;
        text-decoration: none;
    }

    .header-area .main-menu .tops-menu .sub-menu > li > a:hover,
    .header-area .main-menu .tops-menu .sub-menu > li > a:focus-visible,
    .header-area .main-menu .tops-menu .sub-menu > .current-menu-item > a,
    .header-area .main-menu .tops-menu .sub-menu > .current-menu-ancestor > a {
        background: var(--yc-color-form-bg, #cedfdf);
        color: var(--yc-color-primary-hover, #365658);
    }
}

/* MOBİL YAN MENÜ — alt bağlantılar dahil okunabilir metinler.
   Sadece renkler ve odak görünümü değişir; JS animasyonu korunur. */
#side-menu .content {
    background: var(--yc-color-white, #ffffff);
    color: var(--yc-color-primary, #476e70);
}

#side-menu .content .menu,
#side-menu .content .menu li {
    color: var(--yc-color-primary, #476e70);
    background: transparent;
    border-color: #dbe5e5;
}

#side-menu .content .menu a,
#side-menu .content .menu .sub-menu a {
    color: var(--yc-color-primary, #476e70);
    background: transparent;
    border-color: #dbe5e5;
}

#side-menu .content .menu .sub-menu {
    background: #f4f7f7;
    color: var(--yc-color-primary, #476e70);
    border-color: #dbe5e5;
}

#side-menu .content .menu .sub-menu li {
    background: transparent;
    color: var(--yc-color-primary, #476e70);
    border-color: #dbe5e5;
}

#side-menu .content .menu a:hover,
#side-menu .content .menu a:focus-visible,
#side-menu .content .menu .sub-menu a:hover,
#side-menu .content .menu .sub-menu a:focus-visible,
#side-menu .content .menu .current-menu-item > a,
#side-menu .content .menu .sub-menu .current-menu-item > a {
    color: var(--yc-color-primary-hover, #365658);
    background: var(--yc-color-form-bg, #cedfdf);
}

#side-menu .content .menu a:focus-visible {
    outline: 2px solid var(--yc-color-primary, #476e70);
    outline-offset: -2px;
}

#side-menu .content .close-btn,
#side-menu .content .close-btn svg,
#side-menu .content .menu svg {
    color: var(--yc-color-primary, #476e70);
}

/* MOBİL HERO
   Metin üstte, doktor altında.
   Arka planın sol tarafı görünür tutulur. */
@media (max-width: 767.98px) {

    /* Arka plan bir img olduğu için object-position kullanılır. */
    .yc-hero__image {
        object-fit: cover;
        object-position: left center;
    }

    /* Başlık, açıklama ve butonlar ilk sırada. */
    .yc-hero__overlay {
        order: 1;
        margin-top: 0;
    }

    /* Doktor metnin altında, normal akışta kalır.
       Metin uzadığında görseli aşağı iter; üst üste binmez. */
    .yc-hero__doctor {
        order: 2;
        margin: 24px auto 0;
    }
}
/* ==================================================
   SABİT İLETİŞİM İKONLARI
   Masaüstü, tablet ve mobilde ekranın sağında kalır.
   ================================================== */

body > .yc-hero__socials {
    position: fixed;
    z-index: 90;
    inset: auto;
    top: 50%;
    right: env(safe-area-inset-right, 0px);
    transform: translateY(-50%);

    display: flex;
    flex-direction: column;
    align-items: flex-end;
    justify-content: flex-start;
    gap: 8px;

    width: auto;
    max-width: none;
    max-height: calc(100dvh - 96px);
    margin: 0;
    padding: 4px 0 4px 4px;
    overflow-y: auto;
    scrollbar-width: none;

    font-family: "Poppins", sans-serif;
}

body > .yc-hero__socials::-webkit-scrollbar {
    display: none;
}

body > .yc-hero__socials .yc-hero__social {
    box-sizing: border-box;
    display: flex;
    flex: 0 0 auto;
    align-items: center;
    justify-content: center;

    width: 48px;
    height: 48px;
    margin: 0;
    padding: 10px;

    border: 0;
    border-radius: 8px 0 0 8px;
    color: #fff;
    text-decoration: none;

    transition: background-color 300ms ease-in-out;
}

body > .yc-hero__socials .yc-hero__social svg {
    display: block;
    width: 26px;
    height: 26px;
    fill: currentColor;
    pointer-events: none;
}

/* Mevcut renkler korunur. */
body > .yc-hero__socials .yc-hero__social--phone {
    background-color: #ba785d;
}

body > .yc-hero__socials .yc-hero__social--whatsapp {
    background-color: #476e70;
}

body > .yc-hero__socials .yc-hero__social--instagram {
    background-color: #9fc2c3;
}

body > .yc-hero__socials .yc-hero__social--youtube {
    background-color: #263f40;
}

/* Yalnızca tıklanabilir ikonlarda hover uygulanır. */
@media (hover: hover) and (pointer: fine) {
    body > .yc-hero__socials a.yc-hero__social--phone:hover {
        background-color: #a6664d;
    }

    body > .yc-hero__socials a.yc-hero__social--whatsapp:hover {
        background-color: #365658;
    }

    body > .yc-hero__socials a.yc-hero__social--instagram:hover {
        background-color: #779fa1;
    }

    body > .yc-hero__socials a.yc-hero__social--youtube:hover {
        background-color: #172f30;
    }
}

body > .yc-hero__socials a:focus-visible {
    outline: 3px solid #fff;
    outline-offset: -5px;
}

/* Mobil ve tablette dokunma alanı en az 44px kalır. */
@media (max-width: 1199.98px) {
    body > .yc-hero__socials {
        gap: 6px;
    }

    body > .yc-hero__socials .yc-hero__social {
        width: 44px;
        height: 44px;
        padding: 10px;
        border-radius: 6px 0 0 6px;
    }

    body > .yc-hero__socials .yc-hero__social svg {
        width: 24px;
        height: 24px;
    }
}

@media (prefers-reduced-motion: reduce) {
    body > .yc-hero__socials .yc-hero__social {
        transition: none;
    }
}

/* MOBİL: Metin → doktor → kurum logoları.
   Logo kutusu doktorun alt kenarıyla hafifçe örtüşür. */
@media (max-width: 767.98px) {
    .yc-hero {
        padding-bottom: 0;
        row-gap: 0;
    }

    .yc-hero__overlay {
        order: 1;
        margin-top: 0;
    }

    .yc-hero__doctor {
        position: relative;
        z-index: 1;
        order: 2;
        flex: 0 0 auto;
        align-self: center;
        inset: auto;
        display: block;
        width: min(88%, 340px);
        height: auto;
        max-height: none;
        margin: 24px auto 0;
    }

    .yc-hero__logos {
        position: relative;
        z-index: 3;
        order: 3;
        flex: 0 0 auto;
        align-self: center;

        width: 100%;
        max-width: 440px;
        height: auto;
        aspect-ratio: 627 / 99;

        margin: -12px auto 48px;
        padding: 0;
        border: 1px solid #22a8ac;
        border-radius: 8px;
        background: #e5f0f0;
    }
}
/* Mobil ve tablet menüsündeki ana başlıklar */
@media (max-width: 1199.98px) {
    #side-menu .content .menu > li > a {
        font-weight: 600;
    }

    #side-menu .content .menu .sub-menu a {
        font-weight: 400;
    }
}
/* Mobil menü: uzun içerik panel içinde kaydırılır. */
@media (max-width: 1199.98px) {
    #side-menu .content {
        box-sizing: border-box;
        max-height: 100vh;
        max-height: 100dvh;
        overflow-y: auto;
        overscroll-behavior-y: contain;

        /* En alttaki bağlantıya rahat erişim sağlar. */
        padding-bottom: calc(24px + env(safe-area-inset-bottom, 0px));

        scrollbar-width: thin;
        scrollbar-color: #779c9e #edf4f4;
    }

    #side-menu .content::-webkit-scrollbar {
        width: 6px;
    }

    #side-menu .content::-webkit-scrollbar-track {
        background: #edf4f4;
    }

    #side-menu .content::-webkit-scrollbar-thumb {
        border-radius: 8px;
        background: #779c9e;
    }
}