/* GyanPath — brand overrides (Prompt 5–7) */
:root {
    --gyanpath-theme: #0f172a;
}

.gyanpath-logo-img {
    display: block;
    max-height: 64px;
    width: auto;
    height: auto;
    object-fit: contain;
}

.tg-header__middle .logo .gyanpath-logo-img,
#sticky-header .logo .gyanpath-logo-img {
    max-height: 58px;
}

.tgmobile__menu .nav-logo .gyanpath-logo-img {
    max-height: 52px;
}

/* Footer: light mark on dark bar */
.footer__logo .gyanpath-logo-footer {
    max-height: 56px;
    padding: 6px 12px;
    background: rgba(255, 255, 255, 0.96);
    border-radius: 8px;
    box-shadow: 0 1px 0 rgba(0, 0, 0, 0.06);
}

/* Preloader: template style.css forces .loader-icon img { width: 40px } — override for brand mark */
#preloader .loader .loader-container,
#preloader .loader .loader-container::before {
    width: 128px;
    height: 128px;
}

#preloader .loader .loader-icon {
    width: 112px;
    max-width: min(112px, 85vw);
}

/* Higher specificity + !important beats #preloader .loader .loader-icon img { width: 40px } */
#preloader .loader .loader-icon img.gyanpath-logo-img {
    width: auto !important;
    max-width: 100%;
    height: auto !important;
    max-height: 92px;
    animation: loaderpulse alternate 900ms infinite;
}

/* Team: avoid empty bleed in top corners on dark title-bg sections */
.team-area-1.title-bg.section-radius {
    overflow: hidden;
}

@media (max-width: 575.98px) {
    .tg-header__middle .logo .gyanpath-logo-img,
    #sticky-header .logo .gyanpath-logo-img {
        max-height: 48px;
    }

    #preloader .loader .loader-container,
    #preloader .loader .loader-container::before {
        width: 108px;
        height: 108px;
    }

    #preloader .loader .loader-icon img.gyanpath-logo-img {
        max-height: 76px;
    }
}
