

.experts-section{
    position:relative;
    z-index:50;
    overflow:visible!important;
}

.experts-bg{
    position:absolute;
    inset:0;
    z-index:1;
}

.experts-bg img{
    width:100%;
    height:100%;
    object-fit:cover;
}

.experts-overlay{
    position:absolute;
    inset:0;
    z-index:2;
    background:rgba(6,38,87,.58);
}

.experts-inner{
    position:relative;
    z-index:3;
    min-height:720px;
    padding-top:90px;
    padding-bottom:90px;
    overflow:visible!important;
}

.experts-title-wrap{
    margin-bottom:300px;
}

.experts-title-wrap h2{
    color:#fff;
    font-size:64px;
    font-weight:800;
    line-height:1;
    margin:0;
}

.experts-filter-row{
    position:relative;
    z-index:20;
    display:flex;
    gap:18px;
    align-items:stretch;
    overflow:visible!important;
}

.experts-filter-box,
.experts-search-box{
    position:relative;
    flex:1;
    min-width:280px;
    overflow:visible!important;
}

.experts-filter-box.dd-open{
    z-index:9999;
}

.custom-dd{
    position:relative;
    width:100%;
    overflow:visible!important;
}

.custom-dd.active{
    z-index:9999;
}

.custom-dd-toggle,
.experts-filter-clickable{
    width:100%;
    min-height:88px;
    border:0;
    background:transparent;
    border-radius:24px;
    display:flex;
    align-items:center;
    gap:16px;
    padding:18px 22px;
    color:#fff;
    text-align:start;
    cursor:pointer;
    transition:all .25s ease;
}

.custom-dd-toggle:hover,
.experts-filter-clickable:hover{
    transform:translateY(-1px);
}

.experts-filter-icon{
    width:42px;
    min-width:42px;
    display:flex;
    align-items:center;
    justify-content:center;
}

.experts-filter-icon img{
    max-width:28px;
    max-height:28px;
    object-fit:contain;
}

.experts-filter-content{
    flex:1;
    min-width:0;
}

.experts-filter-content label{
    display:block;
    margin:0 0 6px;
    font-size:13px;
    line-height:1;
    font-weight:500;
    color:rgba(255,255,255,.72);
}

.custom-dd-selected{
    color:#fff;
    font-size:21px;
    font-weight:600;
    line-height:1.2;
    white-space:nowrap;
    overflow:hidden;
    text-overflow:ellipsis;
}

.experts-filter-content.single-line .custom-dd-selected{
    display:flex;
    align-items:center;
    min-height:30px;
}

.experts-filter-arrow{
    width:24px;
    min-width:24px;
    display:flex;
    align-items:center;
    justify-content:center;
    transition:transform .25s ease;
}

.experts-filter-arrow img{
    width:18px;
    height:18px;
    object-fit:contain;
}

.custom-dd.active .experts-filter-arrow{
    transform:rotate(180deg);
}

.custom-dd-menu{
    position:absolute;
    inset-inline-start:0;
    top:calc(100% + 14px);
    width:100%;
    background:linear-gradient(180deg,#0a3f97 0%,#2e67be 100%);
    border-radius:0 0 28px 28px;
    padding:18px 22px 16px;
    box-shadow:0 20px 50px rgba(0,0,0,.22);
    z-index:10000;
    display:none;
    max-height:340px;
    overflow-y:auto;
    overflow-x:hidden;
}

.custom-dd.active .custom-dd-menu{
    display:block;
}

.custom-dd-menu-hospital{
    max-height:420px;
}

.custom-dd-menu::-webkit-scrollbar{
    width:8px;
}

.custom-dd-menu::-webkit-scrollbar-thumb{
    background:rgba(255,255,255,.28);
    border-radius:20px;
}

.custom-dd-group + .custom-dd-group{
    margin-top:18px;
}

.custom-dd-group-title{
    color:#fff;
    font-size:17px;
    font-weight:700;
    margin-bottom:8px;
    padding-bottom:10px;
    border-bottom:1px solid rgba(255,255,255,.28);
}

.custom-dd-item{
    display:block;
    color:rgba(255,255,255,.92);
    text-decoration:none;
    font-size:15px;
    font-weight:500;
    line-height:1.35;
    padding:10px 0 12px;
    border-bottom:1px solid rgba(255,255,255,.30);
    transition:all .2s ease;
}

.custom-dd-item:hover{
    color:#fff;
    padding-inline-start:6px;
}

.custom-dd-empty{
    color:rgba(255,255,255,.85);
    font-size:14px;
    padding:8px 0;
}

.experts-dynamic-results{
    margin-top:28px;
    background:transparent;
    border-radius:28px;
    padding:24px;
    box-shadow:0 20px 50px rgba(0,0,0,.18);
    display:none;
}

.experts-dynamic-results.active{
    display:block;
}

.experts-result-placeholder,
.experts-result-loading,
.experts-result-empty{
    color:#073984;
    font-size:16px;
    font-weight:600;
    text-align:center;
    padding:16px;
}

.experts-result-block h4{
    color:white;
    font-size:20px;
    font-weight:800;
    margin-bottom:14px;
}

.experts-doctor-grid{
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:16px;
}

.experts-doctor-card{
    display:flex;
    gap:14px;
    align-items:center;
    background:#f7f9fd;
    border-radius:20px;
    padding:14px;
    text-decoration:none;
    transition:all .25s ease;
}

.experts-doctor-card:hover{
    transform:translateY(-3px);
    box-shadow:0 12px 30px rgba(7,57,132,.15);
}

.experts-doctor-img{
    width:72px;
    height:72px;
    border-radius:16px;
    overflow:hidden;
    background:#e9eef8;
    flex:0 0 72px;
}

.experts-doctor-img img{
    width:100%;
    height:100%;
    object-fit:cover;
}

.experts-doctor-info strong{
    display:block;
    color:#073984;
    font-size:16px;
    font-weight:800;
}

.experts-doctor-info span{
    display:block;
    color:#555;
    font-size:13px;
    margin-top:3px;
}

.experts-doctor-info small{
    display:block;
    color:#f58220;
    font-size:12px;
    font-weight:700;
    margin-top:5px;
}

@media(max-width:991.98px){
    .experts-inner{
        min-height:auto;
        padding-top:60px;
        padding-bottom:60px;
    }

    .experts-title-wrap{
        margin-bottom:40px;
        text-align:center;
    }

    .experts-title-wrap h2{
        font-size:42px;
    }

    .experts-filter-row{
        flex-direction:column;
        gap:14px;
    }

    .experts-filter-box,
    .experts-search-box{
        width:100%;
        min-width:100%;
    }

    .experts-doctor-grid{
        grid-template-columns:repeat(2,1fr);
    }

    .experts-overlay{
        background:rgb(6,38,87);
        opacity:1;
    }
}

@media(max-width:767.98px){
    .experts-section{
        padding:0;
    }

    .experts-inner{
        padding-inline-start:16px;
        padding-inline-end:16px;
    }

    .experts-title-wrap h2{
        font-size:34px;
    }

    .custom-dd-toggle,
    .experts-filter-clickable{
        min-height:86px;
        border-radius:22px;
        padding:15px 16px;
    }

    .custom-dd-selected{
        font-size:17px;
    }

    .custom-dd-menu{
        top:calc(100% + 10px);
        padding:14px 16px 16px;
        border-radius:0 0 24px 24px;
        max-height:340px;
    }

    .experts-doctor-grid{
        grid-template-columns:1fr;
    }

    .experts-dynamic-results{
        padding:18px;
        border-radius:22px;
    }
}
