
/* Shared dropdown navigation */
.header_list .has_dropdown {
    position: relative;
    padding: 18px 0;
}

.services_dropdown_trigger {
    display: flex;
    align-items: center;
    gap: 7px;
    color: #0E0E0E;
    text-decoration: none;
    background: transparent;
    border: 0;
    padding: 0;
    font-family: inherit;
    font-size: inherit;
    font-weight: inherit;
    line-height: inherit;
    cursor: pointer;
}

.services_dropdown_trigger::after {
    content: "";
    display: inline-block;
    width: 7px;
    height: 7px;
    border-right: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    transform: rotate(45deg);
    margin-top: -4px;
    transition: transform 0.2s ease-in-out;
}

.has_dropdown:hover .services_dropdown_trigger::after,
.has_dropdown:focus-within .services_dropdown_trigger::after {
    transform: rotate(225deg);
    margin-top: 4px;
}

.dropdown_menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    min-width: 330px;
    background: #fff;
    border: 1px solid #ededed;
    border-radius: 18px;
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.14);
    padding: 10px;
    list-style: none;
    z-index: 10010;
    text-align: left;
}

.has_dropdown:hover .dropdown_menu,
.has_dropdown:focus-within .dropdown_menu {
    display: block;
}

.dropdown_menu a {
    display: block;
    color: #0E0E0E;
    text-decoration: none;
    font-size: 16px;
    font-weight: 500;
    line-height: 20px;
    padding: 12px 14px;
    border-radius: 12px;
    transition: all 0.2s ease-in-out;
}

.dropdown_menu a:hover {
    color: #2357DD;
    background: #F4F7FF;
}

.active .dropdown_menu a {
    color: #0E0E0E;
}

.active .dropdown_menu a:hover {
    color: #2357DD;
}

.mobile_service_subitem {
    font-size: 16px !important;
    font-weight: 400 !important;
    color: #2357DD !important;
}

@media screen and (max-width: 790px) {
    .mobile_menu {
        height: auto !important;
        min-height: 285px;
        padding: 20px 0;
        gap: 13px;
        justify-content: flex-start !important;
    }
}
