/* Generous school cards and carefully framed education photography. */
#schools .shell{max-width:1280px}#schools .other-grid{grid-template-columns:1fr;gap:26px;margin-top:30px}#schools .other{display:grid;grid-template-columns:minmax(300px,43%) minmax(0,1fr);column-gap:32px;row-gap:12px;align-items:start;padding:28px;border-radius:20px;box-shadow:0 8px 25px #173d3508}#schools .other>img{grid-column:1;grid-row:1/5;display:block;width:100%!important;height:auto!important;aspect-ratio:4/3!important;object-fit:cover!important;border-radius:13px!important;margin:0!important;align-self:center}#schools .other:nth-child(2)>img{object-fit:contain!important;background:#f5f5ef}#schools .other>span,#schools .other>h3,#schools .other>p,#schools .other>a{grid-column:2}#schools .other>.eyebrow{margin-bottom:0!important;font-size:11px;align-self:end}#schools .other>h3{font-size:30px;margin:0;line-height:1.25}#schools .other>p{font-size:15px;line-height:1.8;margin:0;flex:none}#schools .other>a{margin:3px 0 0;min-height:44px;display:inline-flex;align-items:center;font-size:14px}
#madrasah .image-panel{min-height:0;border-radius:20px;border:1px solid #d7e1d8;box-shadow:0 14px 36px #163f351a;background:#dce7df}#madrasah .image-panel img{display:block;width:100%;height:auto;min-height:0;aspect-ratio:4/3;object-fit:cover;object-position:center}#madrasah .image-panel .floating{box-shadow:0 5px 20px #193d3512}
#hifz .hifz-card{grid-template-columns:1fr 1fr;align-items:stretch;box-shadow:0 14px 36px #163f3517}#hifz .hifz-img{position:relative;min-height:0;max-height:none;height:auto;display:flex;align-items:center;background:#e3e9e4;overflow:hidden}#hifz .hifz-img img{position:static;display:block;width:100%;height:auto;max-height:none;aspect-ratio:3/4;object-fit:cover;object-position:center}
@media(max-width:900px){#hifz .hifz-card{grid-template-columns:1fr}#hifz .hifz-img{height:auto;max-height:none;order:-1}#hifz .hifz-img img{aspect-ratio:4/3;object-fit:cover;object-position:50% 62%}#schools .other{grid-template-columns:minmax(240px,42%) minmax(0,1fr);column-gap:24px;padding:24px}#schools .other>h3{font-size:27px}}
@media(max-width:650px){#schools .shell{padding:0 14px}#schools .other{display:flex;flex-direction:column;gap:13px;padding:19px;border-radius:17px}#schools .other>img{width:100%!important;height:auto!important;aspect-ratio:4/3!important;margin-bottom:5px!important;border-radius:11px!important;align-self:stretch}#schools .other>.eyebrow{align-self:start}#schools .other>h3{font-size:28px}#schools .other>p{font-size:15px;line-height:1.75}#schools .other>a{font-size:14px;margin-top:0}#madrasah .image-panel{border-radius:16px}#hifz .hifz-img img{aspect-ratio:1/1;object-position:50% 60%}}
