/* Approved Professor Palenque emblem; preserve all existing favicon links. */
.site-header .sitebar{min-height:112px!important;gap:12px!important}
.site-header .brand{display:flex!important;align-items:center!important;gap:0!important;flex:0 0 auto!important;min-width:0!important;max-width:240px!important;overflow:visible!important}
.site-header .brand .brand-logo,.site-header .brand img{display:block!important;width:218px!important;height:104px!important;max-width:218px!important;max-height:104px!important;object-fit:contain!important;object-position:center!important;flex:0 0 218px!important}
.site-header .brand-copy{display:none!important}
/* The image and its outline now follow the same frame geometry. */
.hero-visual{padding:0!important}
.hero-visual:before{display:none!important}
.hero-image-frame{border:1px solid rgba(234,166,192,.48);box-sizing:border-box;border-radius:155px 155px 21px 21px!important;overflow:hidden!important;background:#090609!important}
.hero-image-frame img{display:block;width:100%;height:100%;object-fit:contain!important;object-position:center center!important}
/* Framed media always remain inside their boundaries, including tall and square uploads. */
.cms-feature-frame img,.cms-feature-frame video,.cms-slot-feature img,.cms-slot-feature video{max-width:100%;max-height:100%;object-fit:contain}
.cms-contain-image{max-width:100%!important;max-height:100%!important;object-fit:contain!important;object-position:center!important}
.site-header img.brand-logo,.cms-feature img{overflow:clip}
.hero-copy h1{font-size:clamp(3.6rem,6.2vw,6.25rem)!important;line-height:.94!important;letter-spacing:-.052em!important;overflow-wrap:normal}
@media(max-width:1100px){.site-header .sitebar{min-height:92px!important}}
@media(max-width:760px){.site-header .sitebar{min-height:84px!important}.site-header .brand{max-width:165px!important}.site-header .brand .brand-logo,.site-header .brand img{width:161px!important;max-width:161px!important;height:78px!important;max-height:78px!important;flex-basis:161px!important}}
@media(max-width:450px){.site-header .sitebar{min-height:70px!important}.site-header .brand{max-width:134px!important}.site-header .brand .brand-logo,.site-header .brand img{width:128px!important;max-width:128px!important;height:64px!important;max-height:64px!important;flex-basis:128px!important}}
@media(max-width:350px){.site-header .brand{max-width:112px!important}.site-header .brand .brand-logo,.site-header .brand img{width:108px!important;max-width:108px!important;height:55px!important;max-height:55px!important;flex-basis:108px!important}.site-header .header-actions .btn.student-action{font-size:.68rem!important;padding:8px 8px!important}}
@media(max-width:760px){.hero-copy h1{font-size:clamp(3.0rem,10.3vw,4.4rem)!important}}
@media(max-width:390px){.hero-copy h1{font-size:clamp(2.95rem,10.5vw,3.6rem)!important}}

/* Final approved deadlift hero. Full photo remains within frame on every screen. */
.hero-image-frame{background:radial-gradient(ellipse at 50% 40%,#211421 0%,#090609 75%)!important}
.hero-image-frame img[data-cms-media="m002"]{width:100%!important;height:100%!important;object-fit:contain!important;object-position:center center!important}
.hero-image-frame::after{background:linear-gradient(180deg,transparent 78%,rgba(8,5,9,.12))!important}
@media(max-width:760px){
 .hero-visual{display:block!important;width:min(78vw,350px)!important;max-width:100%!important;margin:8px auto 0!important;justify-self:center;min-width:0!important}
 .hero-image-frame{aspect-ratio:4/5!important;border-radius:130px 130px 20px 20px!important}
 .hero-caption{font-size:.56rem!important;text-align:center!important;letter-spacing:.08em!important}
}
