/* ==========================================================================
   ADVISOR CARD IMAGE FIX - Talha Butt & Muhammad Shazaib
   Force show images, fix gray placeholder in both light/dark mode
   ========================================================================== */

.advisor-img-wrap {
    width: 170px !important;
    height: 220px !important;
    min-width: 150px !important;
    flex-shrink: 0 !important;
    border-radius: 16px !important;
    overflow: hidden !important;
    background: #e2e8f0 !important;
    box-shadow: 0 6px 18px rgba(7,35,47,0.10) !important;
    position: relative !important;
    display: block !important;
}

.advisor-img-wrap img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    object-position: top center !important;
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    filter: none !important;
    -webkit-filter: none !important;
    border-radius: 16px !important;
}

/* Dark mode: image still shows with original color */
.theme-dark .advisor-img-wrap,
html.theme-dark .advisor-img-wrap,
body.theme-dark .advisor-img-wrap {
    background: #1e2d3d !important;
    border: 1px solid rgba(56,189,248,0.25) !important;
}

.theme-dark .advisor-img-wrap img,
html.theme-dark .advisor-img-wrap img,
body.theme-dark .advisor-img-wrap img {
    filter: none !important;
    -webkit-filter: none !important;
    opacity: 1 !important;
}

/* Mobile responsive */
@media (max-width: 767px) {
    .advisor-img-wrap {
        width: 100% !important;
        max-width: 200px !important;
        height: 240px !important;
        margin: 0 auto !important;
    }
}
@media (max-width: 480px) {
    .advisor-img-wrap {
        height: 200px !important;
    }
}

