/* ajna-imgsize.css — round-5 image-size pass: no small content images (owner: "bahut chhoti image hai").
   Loaded by ajna-footer.php after ajna-frames. Every rule is specific (html body ...) so it wins over inline page CSS. */

/* 1. Elementor splits 900-1279: media column wider than text so photos stay >=480px (not on form splits) */
@media(min-width:900px) and (max-width:1279px){
  html body .e-con.aj-split:not(:has(>.ajx-formcard)) .aj-split__media{flex:1.3 1 0!important}
}
/* 2. Arched window frames: up to 600px on desktop, 520px on tablet (was 540 / 440) */
@media(min-width:1280px){
  html body .e-con.aj-split .aj-split__media .aj-arch.aj-arch,html body .aj-arch.aj-arch{width:min(100%,600px)!important;max-width:600px!important}
  html body .awx2-arch{max-width:600px}
}
@media(min-width:600px) and (max-width:899px){
  html body .aj-arch.aj-arch,html body .e-con.aj-split .aj-split__media .aj-arch.aj-arch{width:min(100%,520px)!important}
}
/* 3. About/Facilities pair of photos -> one composed pair (large + overlapping) instead of two thin strips */
html body .awx2-duo{display:block;position:relative;aspect-ratio:5/6;width:100%}
html body .awx2-duo .awx2-fig{position:absolute;margin:0;aspect-ratio:auto}
html body .awx2-duo .awx2-fig:nth-child(1){left:0;top:0;width:70%;height:84%}
html body .awx2-duo .awx2-fig:nth-child(2){right:0;bottom:0;width:52%;height:54%;margin-top:0;box-shadow:0 34px 60px -30px rgba(0,0,0,.6)}
@media(max-width:599px){
  html body .awx2-duo{aspect-ratio:auto;display:grid;grid-template-columns:1fr;gap:12px}
  html body .awx2-duo .awx2-fig,html body .awx2-duo .awx2-fig:nth-child(1),html body .awx2-duo .awx2-fig:nth-child(2){position:relative;width:100%;height:auto;aspect-ratio:4/3;left:auto;right:auto;top:auto;bottom:auto}
}
/* 4. Photo collages: a full-width lead tile + 2x2 supporting tiles (was 2fr/1fr/1fr = 157px tiles inside half columns) */
@media(min-width:760px){
  html body .awx2-feat .awx2-col{grid-template-columns:1fr 1fr;grid-auto-rows:clamp(150px,13vw,200px)}
  html body .awx2-feat .awx2-col>.awx2-fig:first-child{grid-column:1/-1;grid-row:span 2}
}
@media(min-width:760px) and (max-width:1099px){
  html body .awx2-col{grid-template-columns:1fr 1fr;grid-auto-rows:clamp(150px,22vw,230px)}
  html body .awx2-col>.awx2-fig:first-child{grid-column:1/-1;grid-row:span 2}
}
/* 5. Chef portrait (Dham): bigger, half-width column */
html body .dn-chef__fig{width:min(100%,600px)}
@media(min-width:1100px){html body .dn-chef{grid-template-columns:1fr 1fr;gap:clamp(48px,6vw,96px)}}
@media(min-width:900px) and (max-width:1099px){html body .dn-chef{grid-template-columns:1fr}}
/* 6. Rooms hub: reversed rows had the photo in the narrow track (order:2 moved it) */
@media(min-width:1100px){html body .rm-feat--rev{grid-template-columns:1fr 1.25fr}}
@media(min-width:900px) and (max-width:1099px){html body .rm-feat,html body .rm-feat--rev{grid-template-columns:1fr}html body .rm-feat--rev .rm-feat__m{order:0}}
/* 7. text-first DOM + rev (media shown first): give the media track the larger share */
@media(min-width:900px){html body .awx2-feat.awx2-feat--mw{grid-template-columns:1.25fr 1fr}}
