/**
 * Force solid #1f4e78 — override legacy style.css gradients on .gg-site pages
 */
body.gg-site [class*="gradient"],
body.gg-site .main-menu,
body.gg-site .search-section,
body.gg-site section.news-sec,
body.gg-site .home-teacher-box-name,
body.gg-site .popup-btn,
body.gg-site .chat-nw-btn,
body.gg-site .btn-primary,
body.gg-site .btn-success,
body.gg-site .top-head,
body.gg-site .gg-main-menu {
    background-image: none !important;
}

body.gg-site .main-menu,
body.gg-site .search-section,
body.gg-site section.news-sec,
body.gg-site .top-head,
body.gg-site .gg-main-menu,
body.gg-site .listing-profile-hero {
    background-color: var(--gg-primary) !important;
}

body.gg-site .home-teacher-box-name {
    background-color: var(--gg-primary) !important;
}

body.gg-site .top-account-div ul li a,
body.gg-site .request-tutor-sidebar a {
    background: var(--gg-primary) !important;
    background-image: none !important;
}

body.gg-site .gg-search__btn:hover {
    box-shadow: 0 12px 32px rgba(31, 78, 120, .4);
}

/* Mobile header: full-width white bar */
@media (max-width: 991.98px) {
    body.gg-site .gg-main-menu {
        background-color: #fff !important;
        box-shadow: 0 2px 12px rgba(15, 36, 56, .08) !important;
    }

    body.gg-site .gg-main-menu .container,
    body.gg-site .gg-main-menu .row,
    body.gg-site .gg-main-menu .col-lg-12,
    body.gg-site .gg-main-menu .menu-sec,
    body.gg-site .gg-main-menu .gg-mobile-nav {
        width: 100% !important;
        max-width: 100% !important;
        margin: 0 !important;
        padding-left: 0 !important;
        padding-right: 0 !important;
    }

    body.gg-site nav.navbar.navbar-expand-lg.navbar-light.gg-mobile-nav {
        background: #fff !important;
        border-radius: 0 !important;
        padding: 0 !important;
    }

    body.gg-site .gg-mobile-bar {
        background: #fff !important;
        padding: 8px 14px !important;
    }
}

/* Tutor cards: remove dark corner bleed and keep light borders */
body.gg-site .gg-tutors-wrap .owl-carousel,
body.gg-site .gg-tutors-wrap .owl-stage-outer,
body.gg-site .gg-tutors-wrap .owl-stage,
body.gg-site .gg-tutors-wrap .owl-item {
    background: #fff !important;
}

body.gg-site .gg-tutors-wrap .owl-item {
    border-radius: 20px;
    overflow: hidden;
}

body.gg-site .gg-tutor-card {
    background: #fff !important;
    border: 1px solid #dbe6f2 !important;
    box-shadow: 0 8px 20px rgba(20, 38, 60, .08) !important;
}

body.gg-site .gg-tutor-card:hover {
    border-color: #c7d8ea !important;
}

/* Mobile: keep tutor profile images compact */
@media (max-width: 767.98px) {
    body.gg-site .gg-tutor-card__img {
        height: 130px !important;
        aspect-ratio: auto !important;
    }

    body.gg-site .gg-tutor-card__img img,
    body.gg-site .tutor-search-card__media img,
    body.gg-site .home-teacher-modern .home-teacher-pic img {
        width: 100% !important;
        max-width: 100% !important;
        height: 130px !important;
        max-height: 130px !important;
        object-fit: cover !important;
    }
}
