/* ---- SHARED HEADER & FOOTER STYLES ---- */

/* Dropdown hover */
.header_nav-list_item.dropdown {
    position: relative;
}

.header_nav-list_item.dropdown>.dropdown-menu {
    display: none !important;
    position: absolute;
    top: 100%;
    left: 0;
    opacity: 1 !important;
    visibility: visible !important;
    z-index: 100001;
    max-height: none !important;
}

.header_nav-list_item.dropdown:hover>.dropdown-menu {
    display: block !important;
}

.dropdown-item:hover {
    background: #3d4250 !important;
}

/* ---- Mobile Navigation ---- */
@media (max-width: 991px) {
    .header {
        height: auto !important;
        min-height: 90px;
        padding: 20px 0;
    }

    .header_trigger {
        display: block !important;
        background: none;
        border: none;
        cursor: pointer;
        padding: 10px;
        z-index: 10;
    }

    .header_trigger .line {
        background-color: #fff;
    }

    .header_nav {
        display: none;
        width: 100%;
        background-color: #32363F;
        border-top: 1px solid rgba(255, 255, 255, 0.1);
        padding: 10px 0 20px;
        margin-top: 15px;
    }

    .header_nav.menu-open {
        display: block;
    }

    .header_nav-list {
        flex-direction: column;
        align-items: stretch !important;
        text-align: left;
        margin-top: 0 !important;
        padding: 0;
    }

    .header_nav-list_item {
        border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    }

    .header_nav-list_item:last-child {
        border-bottom: none;
    }

    .header_nav-list_item .nav-item {
        display: block !important;
        padding: 14px 16px !important;
        font-size: 15px;
        color: rgba(255, 255, 255, 0.85);
        height: auto !important;
    }

    .header_nav-list_item .nav-item:hover,
    .header_nav-list_item .nav-item:focus {
        color: #fff;
        background: rgba(255, 255, 255, 0.05);
    }

    .header_nav-list_item .nav-item::after {
        display: none !important;
    }

    /* Mobil dropdown alt menü */
    .header_nav-list_item.dropdown > .dropdown-menu {
        position: static !important;
        display: none !important;
        background: #2a2d35 !important;
        border: none !important;
        border-radius: 0 !important;
        padding: 0 !important;
        box-shadow: none;
    }

    .header_nav-list_item.dropdown > .nav-item {
        position: relative;
    }

    .header_nav-list_item.dropdown > .nav-item::after {
        content: '' !important;
        display: inline-block !important;
        width: 8px;
        height: 8px;
        border-right: 2px solid rgba(255, 255, 255, 0.5);
        border-bottom: 2px solid rgba(255, 255, 255, 0.5);
        transform: rotate(45deg);
        position: absolute;
        right: 20px;
        top: 50%;
        margin-top: -6px;
        background: none !important;
        border-radius: 0 !important;
        left: auto;
        bottom: auto;
    }

    .header_nav-list_item.dropdown.open > .dropdown-menu {
        display: block !important;
    }

    .header_nav-list_item.dropdown.open > .nav-item::after {
        transform: rotate(-135deg);
        margin-top: -2px;
    }

    .header_nav-list_item.dropdown .dropdown-item {
        padding: 12px 32px !important;
        font-size: 14px;
        border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    }

    .header_nav-list_item.dropdown .dropdown-item:last-child {
        border-bottom: none;
    }

    .header_nav .promobar_socials {
        margin-top: 16px;
        padding-top: 16px;
        border-top: 1px solid rgba(255, 255, 255, 0.1);
    }
}

/* Partner Footer */
.partner-footer {
    background: #1a1d24;
    padding: 40px 0;
    border-top: 1px solid #2a2d35;
}

.partner-logos {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
}

.partner-logos img {
    max-height: 35px;
    opacity: 1;
}

/* Footer Info Bar */
.footer-info {
    background: #fff;
    color: #555;
    margin-top: 30px;
    padding: 24px 0;
    font-size: 13px;
    line-height: 1.7;
    text-align: center;
}

.footer-info p {
    margin: 0;
}

.footer-info a {
    color: #333;
    text-decoration: underline;
}

.footer-info a:hover {
    color: #000;
}

@media (max-width: 767px) {
    .partner-logos {
        gap: 30px;
        justify-content: center;
    }

    .partner-logos img {
        max-height: 25px;
    }

    .footer-info {
        font-size: 11px;
        padding: 16px 0;
    }
}
