@media(max-width:1180px){
    .brand-tagline{display:none}
    .brand-inner{grid-template-columns:1fr auto}
    .bjs-menu>li>a{padding:0 10px;font-size:.74rem}
    .quick-links-grid{grid-template-columns:repeat(3,1fr)}
    .quick-link-card:nth-child(3){border-right:0}
    .quick-link-card:nth-child(-n+3){border-bottom:1px solid var(--bjs-border)}
    .academic-grid{grid-template-columns:repeat(3,1fr)}
    .facility-grid{grid-template-columns:repeat(3,1fr)}
    .footer-grid{grid-template-columns:1.4fr repeat(2,1fr);gap:34px}
    .footer-contact{grid-column:span 2}
}
@media(max-width:900px){
    .utility-actions .erp-link{display:none}
    .brand-inner{height:82px;min-height:82px}
    .brand-logo-wrap{width:58px;height:58px;flex-basis:58px}
    .brand-logo-wrap .bjs-header-logo,
    .brand-logo-wrap a,
    .brand-logo-wrap .custom-logo-link,
    .brand-logo-wrap a img,
    .brand-logo-wrap .custom-logo-link img,
    .custom-logo{width:58px!important;height:58px!important;max-width:58px!important;max-height:58px!important}
    .brand-jaipuria{font-size:1.7rem}
    .brand-ballia{font-size:.68rem}
    .brand-school{font-size:.68rem}
    .brand-cta{display:none}
    .mobile-menu-toggle{display:flex;width:48px;height:48px;border:0;border-radius:12px;background:var(--bjs-indigo);flex-direction:column;justify-content:center;align-items:center;gap:5px}
    .mobile-menu-toggle span:not(.sr-only){width:21px;height:2px;background:#fff;transition:.25s}
    .mobile-menu-toggle[aria-expanded="true"] span:nth-of-type(2){transform:translateY(7px) rotate(45deg)}
    .mobile-menu-toggle[aria-expanded="true"] span:nth-of-type(3){opacity:0}
    .mobile-menu-toggle[aria-expanded="true"] span:nth-of-type(4){transform:translateY(-7px) rotate(-45deg)}
    .primary-nav{position:fixed;inset:0 0 0 auto;width:min(390px,88vw);transform:translateX(110%);transition:.3s;z-index:1200;border:0;background:#fff;box-shadow:-30px 0 60px rgba(20,0,57,.2);padding-top:110px;overflow-y:auto}
    .primary-nav.is-open{transform:translateX(0)}
    .nav-inner{display:block;width:100%;padding:20px}
    .bjs-menu{display:block}
    .bjs-menu>li>a{min-height:48px;padding:0 13px;border-bottom:1px solid var(--bjs-border);font-size:.82rem}
    .sub-menu{position:static;min-width:0;opacity:1;visibility:visible;transform:none;box-shadow:none;border:0;padding:0 0 0 13px;display:none}
    .menu-item-has-children.is-open>.sub-menu{display:block}
    .mobile-nav-actions{display:grid;gap:8px;margin-top:20px}
    .mobile-nav-actions a{padding:12px 14px;border-radius:10px;background:var(--bjs-indigo);color:#fff;text-align:center;font-size:.75rem;font-weight:800}
    .mobile-nav-actions .mobile-staff-login{background:linear-gradient(135deg,var(--bjs-saffron),#f6b13c);color:var(--bjs-deep)}
    .hero-slider{height:680px;min-height:0}
    .hero-content h1{font-size:clamp(3rem,10vw,5rem)}
    .hero-overlay{background:linear-gradient(90deg,rgba(20,0,57,.92),rgba(20,0,57,.62))}
    .quick-links-grid{grid-template-columns:repeat(2,1fr)}
    .quick-link-card{border-bottom:1px solid var(--bjs-border)!important;border-right:1px solid var(--bjs-border)}
    .quick-link-card:nth-child(even){border-right:0}
    .quick-link-card:last-child{grid-column:span 2;border-bottom:0!important}
    .facts-grid{grid-template-columns:repeat(3,1fr)}
    .fact{border-bottom:1px solid var(--bjs-border)}
    .fact:nth-child(3){border-right:0}
    .split-layout{grid-template-columns:1fr;gap:50px}
    .visual-note{left:20px}
    .feature-grid{grid-template-columns:repeat(2,1fr)}
    .academic-grid{grid-template-columns:repeat(2,1fr)}
    .experience-grid{grid-template-columns:repeat(2,1fr);grid-auto-rows:220px}
    .experience-card,.experience-card:nth-child(n){grid-column:span 1;grid-row:span 1}
    .experience-card:first-child,.experience-card:last-child{grid-column:span 2}
    .manifesto-inner{grid-template-columns:1fr;gap:20px}
    .approach-wheel{display:grid;grid-template-columns:repeat(2,1fr);gap:14px;min-height:0}
    .approach-core,.approach-item{position:static;transform:none!important;width:auto;height:auto;min-height:150px;border-radius:20px}
    .approach-core{grid-column:span 2;box-shadow:none}
    .facility-grid{grid-template-columns:repeat(2,1fr)}
    .news-grid{grid-template-columns:1fr}
    .admission-inner{grid-template-columns:1fr}
    .admission-actions{justify-content:flex-start}
    .contact-preview-grid{grid-template-columns:1fr}
    .map-panel{min-height:420px}
    .page-content-grid{grid-template-columns:1fr}
    .page-sidebar{position:static}
    .footer-grid{grid-template-columns:repeat(2,1fr)}
    .footer-brand,.footer-contact{grid-column:span 2}
}
@media(max-width:620px){
    .bjs-container{width:min(calc(100% - 28px),var(--bjs-container))}
    .utility-inner{min-height:36px}
    .utility-school-data{width:100%;justify-content:center;font-size:.62rem}
    .utility-actions{display:none}
    .notice-inner{height:40px;gap:10px}
    .notice-label{padding-right:20px;font-size:.61rem}
    .notice-label:after{right:-16px;border-top-width:20px;border-bottom-width:20px;border-left-width:16px}
    .notice-text{font-size:.65rem}
    .brand-wordmark{display:none}
    .brand-logo-wrap{width:54px;height:54px;flex-basis:54px}
    .brand-logo-wrap .bjs-header-logo,
    .brand-logo-wrap a,
    .brand-logo-wrap .custom-logo-link,
    .brand-logo-wrap a img,
    .brand-logo-wrap .custom-logo-link img,
    .custom-logo{width:54px!important;height:54px!important;max-width:54px!important;max-height:54px!important}
    .brand-identity:after{content:"BALLIA JAIPURIA SCHOOL";font-size:.68rem;line-height:1.35;color:var(--bjs-indigo);font-weight:900;letter-spacing:.08em;max-width:150px}
    .hero-slider{height:620px}
    .hero-bg{background-position:center}
    .hero-content{padding-bottom:70px}
    .hero-content h1{font-size:2.9rem}
    .hero-copy{font-size:.9rem}
    .hero-actions{width:100%}
    .hero-actions .bjs-btn{width:100%}
    .hero-controls{bottom:20px}
    .hero-prev,.hero-next{display:none!important}
    .quick-links-section{margin-top:0}
    .quick-links-grid{grid-template-columns:1fr;border-radius:0}
    .quick-link-card,.quick-link-card:nth-child(n){grid-column:auto;border-right:0;border-bottom:1px solid var(--bjs-border)!important}
    .quick-link-card:last-child{border-bottom:0!important}
    .facts-grid{grid-template-columns:repeat(2,1fr)}
    .fact:nth-child(n){border-right:1px solid var(--bjs-border)}
    .fact:nth-child(even){border-right:0}
    .section{padding:72px 0}
    .section-heading h2,.section-copy h2{font-size:2.25rem}
    .feature-grid,.academic-grid,.facility-grid{grid-template-columns:1fr}
    .experience-grid{grid-template-columns:1fr;grid-auto-rows:245px}
    .experience-card,.experience-card:nth-child(n){grid-column:span 1}
    .brand-manifesto{padding:50px 0}
    .manifesto-inner h2{font-size:2.8rem}
    .approach-wheel{grid-template-columns:1fr}
    .approach-core{grid-column:auto}
    .admission-actions{display:grid;width:100%}
    .contact-panel{padding:30px 22px}
    .map-panel{min-height:350px}
    .footer-grid{grid-template-columns:1fr}
    .footer-brand,.footer-contact{grid-column:auto}
    .footer-bottom-inner{flex-direction:column;text-align:center}
    .page-hero{padding:60px 0}
    .page-hero h1{font-size:2.6rem}
    .page-content-section{padding:55px 0}
    .archive-grid{grid-template-columns:1fr}
    .floating-actions{right:12px;bottom:12px}
    .floating-actions .float-action,.floating-actions .back-to-top{width:44px;min-width:44px;height:44px;padding:0}
    .floating-actions .float-label{display:none}
    .gallery-lightbox{padding:20px}
}
@media(prefers-reduced-motion:reduce){
    html{scroll-behavior:auto}
    *,*:before,*:after{animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important}
}

@media(max-width:900px){
    .news-card:first-child{grid-column:auto;display:block}
    .news-card:first-child .news-image{aspect-ratio:16/9}
    .social-channel-grid{grid-template-columns:1fr}
}
@media(max-width:620px){
    .utility-socials{display:none}
    .social-channel{min-height:125px;padding:20px}
}

@media(max-width:620px){
    .social-tab-list{grid-template-columns:1fr;padding:8px;gap:6px}
    .social-tab-button{min-height:46px}
    .social-tab-panel{padding:16px}
    .social-feed-placeholder{grid-template-columns:1fr;text-align:center;justify-items:center;padding:24px 18px}
    .social-profile-links{display:grid}
    .social-profile-links a{justify-content:center}
}


/* About School responsive */
@media(max-width:1050px){
    .about-story-grid,.about-identity-grid{gap:55px}
    .about-philosophy-grid{grid-template-columns:repeat(3,1fr)}
    .about-vision-grid{grid-template-columns:1fr}
    .about-purpose-card{min-height:0}
    .about-card-icon{margin-bottom:34px}
    .about-admission-inner{grid-template-columns:1fr}
    .about-admission-actions{justify-content:flex-start}
}
@media(max-width:900px){
    .about-hero{min-height:640px}
    .about-hero-overlay{background:linear-gradient(90deg,rgba(20,0,57,.93),rgba(20,0,57,.55))}
    .about-facts-grid{grid-template-columns:repeat(3,1fr)}
    .about-facts article{border-bottom:1px solid var(--bjs-border)}
    .about-facts article:nth-child(3){border-right:0}
    .about-story-grid,.about-values-layout,.about-identity-grid,.about-section-heading-row{grid-template-columns:1fr}
    .about-story-visual{min-height:610px}
    .about-section-heading-row{gap:10px}
    .about-values-layout{gap:35px}
}
@media(max-width:650px){
    .about-hero{min-height:610px}
    .about-hero-image{background-position:58% center}
    .about-hero h1{font-size:3.4rem}
    .about-hero-actions{display:grid;width:100%}
    .about-facts{margin-top:0}
    .about-facts-grid{grid-template-columns:repeat(2,1fr);border-radius:0}
    .about-facts article:nth-child(n){border-right:1px solid var(--bjs-border)}
    .about-facts article:nth-child(even){border-right:0}
    .about-facts article:last-child{grid-column:span 2;border-right:0}
    .about-story-section{padding-top:75px}
    .about-story-visual{min-height:480px}
    .about-main-photo{width:90%;height:365px}
    .about-secondary-photo{width:48%;height:210px}
    .about-photo-badge{right:0;bottom:14px;width:235px;padding:17px}
    .about-philosophy-grid,.about-values-list{grid-template-columns:1fr}
    .about-philosophy-grid article{min-height:0}
    .about-philosophy-grid h3{margin-top:30px}
    .about-experience-banner{min-height:580px}
    .about-experience-image{background-position:58% center}
    .about-values-list article{padding:20px}
    .about-identity-card{padding:30px 23px}
    .about-admission-actions{display:grid;width:100%}
}

@media(max-width:1050px){
 .bjs-stage-grid{grid-template-columns:repeat(3,1fr)}
 .bjs-four-grid,.bjs-download-grid{grid-template-columns:repeat(2,1fr)}
 .bjs-five-grid{grid-template-columns:repeat(3,1fr)}
 .bjs-process-grid{grid-template-columns:repeat(3,1fr)}
 .bjs-fee-layout{grid-template-columns:1fr}
 .bjs-disclosure-grid{grid-template-columns:repeat(2,1fr)}
}
@media(max-width:900px){
 .bjs-page-hero{min-height:520px}
 .bjs-two-column,.bjs-contact-layout,.bjs-final-cta-inner{grid-template-columns:1fr}
 .bjs-three-grid,.bjs-six-grid{grid-template-columns:1fr}
 .bjs-mini-gallery{grid-template-columns:repeat(2,1fr)}
 .bjs-final-cta-inner>div:last-child{justify-content:flex-start}
}
@media(max-width:650px){
 .bjs-page-hero{min-height:500px}
 .bjs-page-hero h1{font-size:3.2rem}
 .bjs-stage-grid,.bjs-four-grid,.bjs-five-grid,.bjs-process-grid,.bjs-download-grid,.bjs-disclosure-grid,.bjs-contact-cards{grid-template-columns:1fr}
 .bjs-image-stack{min-height:430px}
 .bjs-image-stack img:first-child{height:330px}
 .bjs-image-stack img:last-child{height:200px}
 .bjs-mini-gallery{grid-template-columns:1fr}
 .bjs-mini-gallery img{height:240px}
 .bjs-fee-note{flex-direction:column}
 .bjs-gallery-grid{grid-template-columns:1fr;grid-auto-rows:260px}
 .bjs-gallery-item:nth-child(n){grid-column:span 1;grid-row:span 1}
 .bjs-final-cta-inner>div:last-child{display:grid}
}

@media(max-width:1050px){
    .bjs-stream-grid{grid-template-columns:repeat(2,1fr)}
    .bjs-admission-class-grid,.bjs-managed-documents-grid{grid-template-columns:repeat(2,1fr)}
}
@media(max-width:800px){
    .bjs-campus-facts{margin-top:0}
    .bjs-campus-facts-grid{grid-template-columns:repeat(2,1fr);border-radius:0}
    .bjs-campus-facts article{border-bottom:1px solid var(--bjs-border)}
    .bjs-campus-facts article:nth-child(even){border-right:0}
}
@media(max-width:620px){
    .bjs-stream-grid,.bjs-admission-class-grid,.bjs-managed-documents-grid{grid-template-columns:1fr}
    .bjs-campus-facts-grid{grid-template-columns:1fr}
    .bjs-campus-facts article{border-right:0}
}

/* Career page responsive */
@media(max-width:1050px){
    .bjs-career-role-grid{grid-template-columns:repeat(2,1fr)}
    .bjs-career-process-grid{grid-template-columns:repeat(3,1fr)}
}
@media(max-width:900px){
    .bjs-career-hero-grid,.bjs-career-final-inner{grid-template-columns:1fr}
    .bjs-career-hero-panel{max-width:360px}
    .bjs-career-intro{margin-top:0}
    .bjs-career-intro-grid{grid-template-columns:repeat(2,1fr);border-radius:0}
    .bjs-career-intro article{border-bottom:1px solid var(--bjs-border)}
    .bjs-career-intro article:nth-child(even){border-right:0}
    .bjs-career-instructions{padding-top:80px}
    .bjs-career-final-inner>div:last-child{justify-content:flex-start}
}
@media(max-width:650px){
    .bjs-career-hero{min-height:650px}
    .bjs-career-hero h1{font-size:3.45rem}
    .bjs-career-hero-actions{display:grid}
    .bjs-career-heading-row{display:block}
    .bjs-career-result-count{display:inline-block;margin-top:15px}
    .bjs-career-filters{display:grid;grid-template-columns:1fr 1fr}
    .bjs-career-role-grid,.bjs-career-process-grid{grid-template-columns:1fr}
    .bjs-career-role-card{min-height:330px}
    .bjs-career-process-grid article{min-height:0}
    .bjs-career-process-grid h3{margin-top:28px}
    .bjs-career-final-inner>div:last-child{display:grid}
}
