/* Keep the logo and school name side by side, aligned to the same top edge. */
.school-title-row{display:flex;flex-direction:row;align-items:flex-start;gap:14px;margin:17px 0 12px;min-width:0}
.school-title-row .school-bilingual{flex:1;min-width:0;margin:0}
.school-logo{display:inline-flex;align-items:center;justify-content:center;flex:0 0 auto;width:120px;height:78px;max-width:100%;padding:7px;background:white;border:1px solid #e3e7dd;border-radius:12px;overflow:hidden}
.school-logo img{display:block;width:100%;height:100%;object-fit:contain;max-width:100%}
.school-logo--dark{background:#213a32;border-color:#213a32}
.school-logo--detail{width:214px;height:110px;margin:15px 0 8px;padding:9px;border-radius:14px}
.school-logo--compare{width:118px;height:66px;margin:0 0 10px;padding:6px}
.school-logo--compare+span{display:block}
.school-logo--compact img{max-width:112px;max-height:48px}
.school-title-row .school-logo--portrait{width:82px;height:94px;padding:7px}
/* Display-only adjustments for original files with unusually large empty margins. */
.school-logo img[src$="school-323215923241.png"]{transform:scale(2.4)}
.school-logo img[src$="school-679031328271.png"]{transform:scale(1.7)}
.school-logo img[src$="school-78775347290.png"]{transform:scale(1.25)}
.school-logo img[src$="school-524549339086.png"]{transform:translateX(14%) scale(1.25)}
@media(max-width:700px){
 .school-title-row{gap:12px}
 .school-title-row .school-logo{width:112px;height:76px;padding:7px}
 .school-title-row .school-logo--portrait{width:78px;height:90px}
 .school-title-row .school-bilingual{font-size:18px}
 .school-logo--detail{width:190px;height:104px}
 .school-logo--compare{width:108px;height:62px}
}

/* Sampere artwork occupies only the left 497px of a 700px-wide file.
   Fill the existing frame with the actual mark, preserving source artwork. */
.school-logo:has(img[src$="school-363396498341.png"]),
.school-logo:has(img[src$="school-969794872336.png"]){padding:4px}
.school-logo img[src$="school-363396498341.png"],
.school-logo img[src$="school-969794872336.png"]{transform:translateX(19%) scale(1.38);transform-origin:center}

.school-logo img[src$="formex.png"]{transform:scale(1.35)}



.carlos-title-row{display:flex;align-items:center;gap:clamp(.65rem,2vw,1rem);min-width:0;margin-block:.7rem}
.carlos-title-row .school-logo{width:clamp(5rem,22vw,11.5rem);height:auto;aspect-ratio:2.65;margin:0;padding:4px}
.carlos-title-row h1{min-width:0;margin:0}
