/* Stable slide frames: image zoom/crop changes only the photograph, never the card size. */
.home-image-band .slider-track .slide-frame{position:relative;flex:0 0 calc((100% - 2rem)/3);width:calc((100% - 2rem)/3);aspect-ratio:4/3;overflow:hidden;border-radius:14px;background:#eef8fd;box-shadow:0 12px 32px rgba(31,91,128,.08)}
.home-image-band .slider-track .slide-frame>img,.home-image-band .slider-track .slide-frame>img:first-child{position:absolute!important;inset:0!important;width:100%!important;height:100%!important;max-width:none!important;max-height:none!important;aspect-ratio:auto!important;flex:none!important;object-fit:cover!important;object-position:center;opacity:1!important;border-radius:0!important;clip-path:none!important;box-shadow:none!important;transform:scale(1);transform-origin:center}
@media(max-width:980px){.home-image-band .slider-track .slide-frame{flex-basis:calc((100% - 1rem)/2);width:calc((100% - 1rem)/2)}}
@media(max-width:680px){.home-image-band .slider-track .slide-frame{flex-basis:100%;width:100%;aspect-ratio:4/3}}
.cms-preview .quick-book{display:none!important}
.cms-preview .home-image-band .slider-controls{z-index:100!important}

/* Align social cards from the top regardless of description line count. */
.sns-logo-grid > a { justify-content: flex-start; }
.sns-logo-grid > a > .sns-icon { flex: 0 0 52px; width: 52px; height: 52px; }
.sns-logo-grid > a > b { line-height: 1.4; }
.sns-logo-grid > a > small { margin-bottom: 0; }

/* Mobile Profile must override the later desktop portrait grid. */
@media (max-width: 980px) {
  .profile-layout { grid-template-columns: minmax(0, 1fr) !important; width: 100%; min-width: 0; }
  .profile-layout > * { min-width: 0; max-width: 100%; }
  .profile-layout > div { padding: 2rem 1.25rem; }
  .profile-layout > .cms-fixed-image-frame { width: 100% !important; align-self: start; }
  .profile-layout .prose, .profile-roles { overflow-wrap: anywhere; }
}

.profile-page main .reveal { opacity: 1 !important; transform: none !important; transition: none !important; }
