.vt-experts-wrapper{
    display:block;
    width:100%;
}

.vt-header-search{
    width:100%;
    margin-bottom:30px;
}

.vt-content{
    width:100%;
}

.vt-expert-card{

    background:#fff;

    border-radius:16px;

    overflow:hidden;

    margin-bottom:25px;

    border:1px solid #ececec;

    box-shadow:0 8px 20px rgba(0,0,0,.06);

}

.vt-expert-image img{

    width:100%;

    display:block;

}

.vt-expert-body{

    padding:20px;

}

.vt-expert-name{

    margin:0 0 10px;

}

.vt-enquiry-btn{
   
    display:inline-block;

    margin-top:15px;

    background:#AEAA34;

    color:#fff;

    padding:10px 18px;

    border-radius:8px;

    text-decoration:none;

}
.vt-enquiry-btn:hover{background:#7b4314; color:#fff}

.vt-taxonomies{

    display:flex;

    flex-wrap:wrap;

    gap:8px;

    margin-top:15px;

}

.vt-badge{

    background:#fff6ee;

    color:#7b4314;

    padding:3px 5px;

    border-radius:30px;

    font-size:12px;

    font-weight:600;

}

/* ==========================
   FILTERS
========================== */

.vt-filter-group{

    margin-bottom:30px;

}

.vt-filter-title{

    font-size:16px;

    font-weight:700;

    margin-bottom:15px;

}

.vt-checkbox{

    display:flex;

    align-items:center;

    gap:10px;

    margin-bottom:10px;

    cursor:pointer;

}

.vt-search{

    width:100%;

    padding:12px;

    border:1px solid #ddd;

    border-radius:8px;

    outline:none;

}

.vt-content{

    position:relative;

    min-height:300px;

}

.vt-loading{

    opacity:.4;

    pointer-events:none;

}


/* ==========================
   LOADING OVERLAY
========================== */

.vt-content{
    position: relative;
    min-height: 250px;
}

.vt-loading-overlay{

    position:absolute;
    inset:0;

    display:flex;
    align-items:center;
    justify-content:center;

    background:rgba(255,255,255,.75);

    backdrop-filter:blur(2px);

    z-index:100;

    opacity:0;
    visibility:hidden;

    transition:.25s;
}

.vt-content.loading .vt-loading-overlay{

    opacity:1;
    visibility:visible;

}

.vt-spinner{

    width:46px;
    height:46px;

    border:4px solid #e5e5e5;
    border-top:4px solid #0B6EFF;

    border-radius:30px;

    animation:vtSpin .8s linear infinite;

}

@keyframes vtSpin{

    to{
        transform:rotate(360deg);
    }

}


/* RESULTS */

.vt-results{
    display:flex;
    flex-direction:column;
    gap:24px;
}

/* CARD */

.vt-expert-card{

    display:flex;
    align-items:flex-start;
    gap:24px;

    width:100%;

    background:#fff;
    border:1px solid #e6e6e6;
    border-radius:14px;
    padding:20px;

    transition:.3s;
}

.vt-expert-card:hover{

    box-shadow:0 10px 30px rgba(0,0,0,.08);

}

/* IMAGE */

.vt-expert-image{

    width:220px;
    flex-shrink:0;

}

.vt-expert-image img{

    width:100%;
    aspect-ratio:3/3.3;
    object-fit:cover;

    border-radius:10px;

}

/* CONTENT */

.vt-expert-content{

    flex:1;

    display:flex;
    flex-direction:column;

    min-width:0;

}

/* FOOTER */

.vt-footer{

    margin-top:auto;

    display:flex;
    justify-content:flex-end;

}

@media (max-width:767px){

    .vt-expert-card{

        flex-direction:column;

        gap:16px;

        padding:16px;

    }

    .vt-expert-image{

        width:100%;

    }

    .vt-expert-image img{

        width:100%;
        height:auto;
        aspect-ratio:1;

    }

    .vt-footer{

        justify-content:stretch;

    }

    .vt-enquiry-btn{

        width:100%;

    }

}

.vt-expert-content{
    flex:1;
    min-width:0;
}


/* Mobile Layout */

@media (max-width:767px){

    .vt-experts-wrapper{

        display:block;

    }

    .vt-sidebar{

        width:100%;

        margin-bottom:20px;

    }

    .vt-content{

        width:100%;

    }

}

.vt-filter-toggle{

    display:none;

}

@media (max-width:767px){

    .vt-experts-wrapper{

        display:block;

    }

    .vt-sidebar{

        display:none;

        width:100%;

        margin-bottom:20px;

    }

    .vt-sidebar.active{

        display:block;

    }

    .vt-content{

        width:100%;

    }

    .vt-filter-toggle{

        display:block;

        width:100%;

        padding:14px;

        border:none;

        background:#76301D;

        color:#fff;

        border-radius:8px;

        margin-bottom:20px;

        font-weight:600;

        cursor:pointer;

    }

}


.vt-taxonomies-wrapper{
    margin-top:15px;
}

.vt-taxonomies{

    display:flex;
    flex-wrap:wrap;
    gap:8px;

    max-height:64px; /* approx 2 rows */

    overflow:hidden;

    transition:max-height .3s ease;
}

.vt-taxonomies.expanded{
    max-height:500px;
}

.vt-badge-toggle{

   border: none;
    background: none;
    cursor: pointer;
    font-size: 10px;
    color: #7b4314;
    padding: 5px 3px;
    margin-top: 5px;
}

.vt-taxonomies.expanded + .vt-badge-toggle{
    transform:rotate(180deg);
}


.vt-badge-toggle:hover{background-color:#7b4314;color:#fff}
.vt-badge-more{color: #7b4314;
    font-size: 12px;}



.vt-expert-designation{

    overflow:hidden;

    display:-webkit-box;

    -webkit-line-clamp:3;

    -webkit-box-orient:vertical;

}

.vt-expert-designation.expanded{

    display:block;

}

.vt-description-toggle{

    border:none;

    background:none;

    color:#7b4314;

    cursor:pointer;

    padding:0;

    margin-top:8px;

    font-weight:600;
	    font-size: 14px;

}


.vt-modal-overlay{

    position:fixed;
    inset:0;

    display:none;

    align-items:center;
    justify-content:center;

    background:rgba(0,0,0,.65);

    z-index:99999;

    padding:20px;
}

.vt-modal-overlay.active{
    display:flex;
}

.vt-modal{

    background:#fff;

    max-width:380px;

    width:100%;

    margin:10px auto;

    border-radius:16px;

    padding:35px;

    position:relative;

    box-shadow:0 20px 60px rgba(0,0,0,.25);

}

.vt-modal-close{

    position:absolute;

    right:15px;

    top:15px;

    border:none;

    background:none;

    font-size:28px;

    cursor:pointer;

}



/* ==========================
   CF7 FORM STYLING
========================== */

.vt-modal .wpcf7-form{

    display:flex;
    flex-direction:column;
    gap:0px;

}

.vt-modal .wpcf7 p{

    margin:0;
	padding:0;

}

.vt-modal .wpcf7-form label{

    display:block;

    font-size:12px;

    font-weight:600;

    color:#222;

    margin-bottom:0px;

}

/* Inputs */

.vt-modal .wpcf7 input[type="text"],
.vt-modal .wpcf7 input[type="email"],
.vt-modal .wpcf7 input[type="tel"],
.vt-modal .wpcf7 textarea{

    width:100%;

    padding:8px 10px;

    border:1px solid #d9d9d9;

    border-radius:8px;

    font-size:14px;

    line-height:1.4;

    background:#fff;

    box-sizing:border-box;

}

.vt-modal .wpcf7 textarea{

    max-height:80px;

    resize:vertical;

}

/* Focus */

.vt-modal .wpcf7 input:focus,
.vt-modal .wpcf7 textarea:focus{

    outline:none;

    border-color:#7b4314;

}

/* Submit Button */

.vt-modal .wpcf7-submit{

    display:inline-block;

    margin-top:10px;

    background:#7b4314;

    color:#fff;

    padding:10px 18px;

    border-radius:8px;

    border:none;

    cursor:pointer;

    font-size:14px;

    font-weight:600;

    transition:.25s;

    width:auto;

}

.vt-modal .wpcf7-submit:hover{

    background:#66360f;

}

/* Validation */

.vt-modal .wpcf7-not-valid-tip{

    font-size:12px;

    margin-top:4px;

}

.vt-modal .wpcf7-response-output{

    margin-top:10px !important;

}


.vt-header-search{
    width:100%;
    margin-bottom:30px;
}

.vt-search-container{
    position:relative;
    max-width:900px;
    margin:0 auto;
}

.vt-search{
    width:100%;
    height:60px;
    border:1px solid #ddd;
    border-radius:8px;
    padding:0 20px;
    font-size:18px;
}

.vt-search-dropdown{
    position:absolute;
    top:100%;
    left:0;
    width:100%;
    background:#fff;
    border:1px solid #ddd;
    border-top:none;
    max-height:500px;
    overflow:auto;
    z-index:999;
}

.vt-expertise-item{
    padding:12px 18px;
    cursor:pointer;
    border-bottom:1px solid #eee;
}

.vt-expertise-item:hover{
    background:#f6f6f6;
}

.vt-content.full-width{
    width:100%;
}

.vt-sidebar{
    margin-bottom:50px
}


.vt-search-dropdown{
    display:none;

    position:absolute;
    top:100%;
    left:0;
    width:100%;

    background:#fff;
    border:1px solid #ddd;
    border-top:none;

    max-height:500px;
    overflow:auto;

    z-index:999;
}

.vt-expertise-item{

    display:flex;
    align-items:center;
    justify-content:space-between;

    padding:12px 18px;

    cursor:pointer;

    border-bottom:1px solid #eee;

    transition:.2s;
}

.vt-expertise-item:hover{

    background:#f6f6f6;
}

.vt-expertise-icon{

    font-size:14px;

    opacity:.6;

    flex-shrink:0;
}

.vt-level-1{
    font-weight:600;
    color:#222;
}

.vt-level-2{
    font-weight:400;
    color:#444;
}

.vt-level-3{
    font-weight:200;
    color:#666;
}

.vt-separator{
    color:#999;
    font-weight:400;
}

.vt-topic-chips{
    display:flex;
    flex-wrap:wrap;
    gap:10px;
    margin-top:15px;
}

.vt-topic-chip{
    border:none;
    background:#fff6ee;
    color:#7b4314;
    padding:5px 5px;
    border-radius:12px;
    cursor:pointer;
    font-size:13px;
    transition:.2s;
}

.vt-topic-chip:hover{
    background:#AEAA34;
    color:#fff;
}

.vt-topic-chip.active{
    background:#7b4314;
    color:#fff;
}