/* Shared phone layout: give each content card the full reading width from first paint. */
@media(max-width:767px){
 .edumax-landing .em-service-grid,
 .edumax-landing .em-confidence-grid,
 .em-home .em-destinations .em-country-grid,
 .edumax-landing .em-mega .em-country-grid,
 .edumax-landing .em-footer-details,
 .edumax-landing .em-footer .em-contact-actions,
 .edumax-landing .em-content .em-team-grid,
 .edumax-landing .em-experts-page .em-experts-team,
 .edumax-landing .em-experts-page .em-experts-leaders,
 .edumax-landing .em-content .em-about-page .em-about-team,
 .edumax-landing .em-content .em-about-principles,
 .edumax-landing .em-guide-index nav,
 .edumax-landing .em-content .em-guide-facts ul,
 .edumax-landing .em-guide-gallery,
 .edumax-landing .em-content :is(.gallery,.ekit-gallery-items,.ekit-wid-con .row,.elementor-grid,.ekit-blog-posts-content,.ekit_gallery_grid,.ekit-video-gallery),
 .edumax-landing .em-ielts-skill-grid,
 .edumax-landing .em-ielts-facts,
 .edumax-landing .em-ielts-page .em-service-jumps,
 .edumax-landing .em-experts-actions{
  grid-template-columns:minmax(0,1fr);
 }
 .edumax-landing .em-confidence-grid .em-confidence-photo{grid-column:1;grid-row:1}
 .edumax-landing .em-confidence-benefits>li:nth-child(n){grid-column:1;grid-row:auto}
 .edumax-landing .em-service-grid,.edumax-landing .em-experts-page .em-experts-team{gap:var(--space-lg)}
 .edumax-landing .em-service-card{min-height:260px;padding:var(--space-md)}
 .edumax-landing .em-service-card h3{font-size:var(--text-lg)}
 .edumax-landing .em-service-card p{font-size:var(--text-md)}
 .edumax-landing .em-mega .em-destination-card,.edumax-landing .em-mega .em-destinations-all{min-height:260px}
 .edumax-landing .em-mega .em-destination-copy{padding:var(--space-md)}
 .edumax-landing .em-mega .em-destination-copy strong{font-size:var(--text-lg)}
 .edumax-landing .em-mega .em-destination-copy small{font-size:var(--text-sm)}
 /* Portrait and biography stack inside each card as well as between cards. */
 .edumax-landing .em-experts-leaders .em-person{display:flex;flex-direction:column}
 .edumax-landing .em-experts-leaders .profile-card{display:block}
 .edumax-landing .em-experts-leaders .ekit-team-popup:has(.profile-header){grid-column:auto;grid-row:auto}
 .edumax-landing .em-experts-page .em-person .profile-header{height:auto;aspect-ratio:4/3}
 .edumax-landing .em-experts-page .em-person .profile-header img{height:100%;aspect-ratio:4/3;object-fit:contain;object-position:center bottom}
 .edumax-landing .em-experts-page .em-person .profile-body{padding:var(--space-md) var(--space-md) 0}
 .edumax-landing .em-experts-page .em-person .profile-title{font-size:var(--text-xl)}
 .edumax-landing .em-experts-page .em-person .profile-designation{font-size:var(--text-sm);min-height:0}
 .edumax-landing .em-experts-page .em-person .em-profile-trigger{margin-inline:var(--space-md)}
 .edumax-landing .em-about-page .em-about-person{display:block}
 .edumax-landing .em-content .em-about-page .em-about-person>figure>img,
 .edumax-landing .em-content .em-about-page .em-about-person .em-profile-placeholder{height:auto;aspect-ratio:4/3;object-fit:contain;object-position:center bottom}
 .edumax-landing .em-about-person-content{padding:var(--space-md)}
 .edumax-landing .em-content .em-about-page .em-about-person h3{font-size:var(--text-xl)}
 .edumax-landing .em-experts-actions{justify-content:stretch}
 .edumax-landing .em-experts-actions .em-button{width:100%;justify-content:center}
 .edumax-landing .em-ielts-facts>div{padding:var(--space-sm) 0;border-right:0;border-bottom:1px solid var(--color-rule)}
 .edumax-landing .em-ielts-facts>div:last-child{border-bottom:0}
 .edumax-landing .em-ielts-page .em-service-jumps a{font-size:var(--text-sm);white-space:normal}
}
/* Floating icons keep a stable box, explicit paint and a centered animation pivot. */
body.edumax-landing .em-call-fab{display:flex;align-items:center;justify-content:center;box-sizing:border-box;line-height:1}
body.edumax-landing .em-call-fab>.em-icon{display:block;flex:0 0 28px;width:28px;height:28px;margin:0;fill:none;stroke:currentColor;stroke-width:2;transform-box:fill-box;transform-origin:center}
body.edumax-landing .em-whatsapp-fab>.em-icon{display:block;flex:none;width:28px;height:28px;margin:0;fill:currentColor;stroke:none}
@media(max-width:767px){
 .edumax-landing .em-content .em-about-page .em-about-person>figure>img{height:100%;object-fit:contain;object-position:center bottom}
}
@media(max-width:767px){
 .em-header .em-menu-toggle .em-menu-label{display:none}
 .em-header .em-menu-toggle{width:48px;height:48px;min-width:48px;padding:0;justify-content:center;gap:0}
 .em-header .em-menu-toggle>.em-icon{display:block;width:24px;height:24px;color:inherit}
}
