/* Ust menu acilir alt linkler (07.10.2026) -- castle-menu.js ile birlikte.
   Masaustu: uzerine gelince / klavye odaginda acilir. Mobil: cekmecede duz satir. */
@media screen and (min-width: 1240px) {
    .header_inner_right_menu_list > li.c-acilir {
        position: relative;
    }

    /* ok isareti arka plan gorseli: temanin a::after alt cizgisine karismaz */
    .header_inner_right_menu_list > li.c-acilir > a {
        padding-inline-end: 16px;
        background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'%3E%3Cpath d='M1 1l4 4 4-4' fill='none' stroke='%23453f3f' stroke-width='1.6'/%3E%3C/svg%3E") no-repeat right center;
    }

    [dir="rtl"] .header_inner_right_menu_list > li.c-acilir > a,
    html[lang="ar"] .header_inner_right_menu_list > li.c-acilir > a {
        background-position: left center;
    }

    .header_inner_right_menu_list .c-alt {
        position: absolute;
        top: calc(100% + 10px);
        inset-inline-end: 0;
        z-index: 60;
        min-width: 210px;
        margin: 0;
        padding: 8px 0;
        list-style: none;
        background: #fff;
        border: 1px solid #ececec;
        border-radius: 10px;
        box-shadow: 0 14px 34px rgba(0, 0, 0, 0.12);
        opacity: 0;
        visibility: hidden;
        transform: translateY(6px);
        transition: opacity 0.15s ease, transform 0.15s ease, visibility 0s linear 0.15s;
    }

    /* imlec link ile kutu arasindaki bosluktan gecerken kapanmasin */
    .header_inner_right_menu_list .c-alt::before {
        content: "";
        position: absolute;
        left: 0;
        right: 0;
        top: -12px;
        height: 12px;
    }

    .header_inner_right_menu_list > li.c-acilir:hover > .c-alt,
    .header_inner_right_menu_list > li.c-acilir:focus-within > .c-alt {
        opacity: 1;
        visibility: visible;
        transform: none;
        transition-delay: 0s;
    }

    .header_inner_right_menu_list .c-alt li {
        display: block;
        margin: 0;
        padding: 0;
    }

    .header_inner_right_menu_list .c-alt a {
        display: block;
        padding: 10px 20px;
        color: #453f3f !important;
        font-family: montserrat-semibold, Montserrat, sans-serif;
        font-size: 14px;
        line-height: 1.3;
        text-align: start;
        text-shadow: none;
        text-decoration: none;
        white-space: nowrap;
    }

    .header_inner_right_menu_list .c-alt a:hover,
    .header_inner_right_menu_list .c-alt a:focus-visible {
        background: #f4f4f4;
    }
}

#menu .c-mobil-ilk {
    border-top: 8px solid #f2f2f2;
}
