/* Original portrait proportions and exact RA logo, separate from raster photos. */
.hero-photo--framed{width:min(100%,380px);padding:12px;background:linear-gradient(135deg,#d7f0fb,#b5ddf0 70%,#e9f7fd);border:1px solid #d0e8f2;border-radius:28px;box-shadow:0 16px 42px #163e5710;align-self:center;justify-self:center}
.hero-photo--framed:before{display:none}
.hero-photo--framed>a{display:block;overflow:hidden;border-radius:18px;background:#f5f9fb}
.hero-photo--framed img{width:100%;height:auto;max-height:none;object-fit:contain;mask-image:none;-webkit-mask-image:none}
.hero-photo--framed .photo-caption{position:static;max-width:none;margin-top:10px;background:#ffffffdc;border:0;box-shadow:none;padding:12px 15px;border-radius:14px}
.hero-photo--framed .photo-caption strong br{display:none}
.hero-photo--framed .photo-caption strong{line-height:1.5}
.hero-photo--framed .photo-caption strong br:after{content:" "}
.photo-brand{position:absolute;left:22px;top:22px;width:62px;height:70px;background:#fffffff0 url(assets/logo.webp) center/44px auto no-repeat;border:1px solid #fff;border-radius:15px;box-shadow:0 5px 20px #133a5420;pointer-events:none;z-index:1}
.branded-photo{position:relative;margin:0;padding:10px;background:radial-gradient(ellipse at 95% 0,#e7f7ff 5%,transparent 55%),linear-gradient(145deg,#c5eaf9,#a8d6eb 62%,#e4f5fd);border-bottom:1px solid #d6e9f1}
.branded-photo>img{display:block;width:100%;height:100%;min-height:0;object-fit:contain;object-position:center center;mask-image:none}
.branded-photo .photo-brand{top:16px;left:16px;width:54px;height:62px;background-size:37px auto}
.doctor--framed{grid-template-columns:minmax(0,180px) minmax(0,1fr);align-items:start}
.doctor--framed .branded-photo{width:100%;min-width:0;align-self:start}
.doctor--framed .branded-photo>img{height:auto;min-height:0;width:100%;object-fit:contain}
.doctors--clinical{grid-template-columns:repeat(3,minmax(0,1fr));align-items:stretch}
.doctors--clinical .doctor{display:flex;flex-direction:column;min-width:0}
.doctors--clinical .branded-photo{width:100%;aspect-ratio:3/4;display:flex;align-items:center;justify-content:center}
.doctors--clinical .branded-photo>img{width:100%;height:100%;min-height:0;object-fit:contain}
.doctors--clinical .doctor-info{width:100%;flex:1;padding:24px}
.doctors--clinical h3{font-size:22px}
.doctor-stage{font-size:12px!important;letter-spacing:.6px;text-transform:uppercase;color:#36667e!important;font-weight:700;margin-bottom:12px}
.doctors--clinical .doctor-info>p:not(.doctor-stage){margin-bottom:24px}
.doctors--clinical .doctor-info>.btn{margin-top:auto;width:100%}
.hero-benefits--four{grid-template-columns:repeat(4,minmax(0,1fr))}
.medical-review{display:flex;gap:20px;align-items:center;margin-top:34px;padding:24px 28px;border:1px solid #cde5ef;border-radius:20px;background:#f0f9fd}
.medical-review-mark{display:grid;place-items:center;flex:0 0 42px;width:42px;height:42px;border-radius:50%;background:#d9edf8;color:#311078;font-size:25px}
.medical-review .eyebrow{font-size:12px;letter-spacing:1px}
.medical-review-name{display:inline-block;margin-top:5px;font-size:22px;font-weight:700}
.medical-review-role{font-size:15px;color:#4a5e6b;margin-top:5px}
.medical-review-date{margin-left:auto;flex-shrink:0;font-size:13px;color:#546778}
.medical-review-date time{font-size:16px;color:#253a51;font-weight:700}
.price-scope{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;margin-top:24px}
.price-scope>article{padding:23px 25px;border-radius:18px;background:white;border:1px solid #dcebf1}
.price-scope h3{font-size:20px;color:var(--purple);margin-bottom:10px}
.price-scope p{font-size:16px;color:#506474}
.price-update-note{font-size:13px;color:#647683;margin-top:10px}
@media(max-width:1000px) and (min-width:801px){.doctors--clinical .doctor-info{padding:19px 17px}.doctors--clinical h3{font-size:19px}.doctors--clinical .btn{padding-inline:12px;font-size:14px}}
@media(max-width:800px){
 .hero-photo--framed{width:min(100%,380px);margin-top:18px;margin-bottom:20px;padding:10px}
 .hero-photo--framed img{height:auto;width:100%;object-fit:contain}
 .hero-photo--framed .photo-caption{font-size:13px}
 .hero-photo--framed .photo-caption strong{font-size:15px}
 .hero-photo--framed .photo-brand{width:54px;height:62px;background-size:37px auto;top:18px;left:18px}
 .hero-benefits--four{grid-template-columns:repeat(2,minmax(0,1fr))}
 .doctors--clinical{grid-template-columns:minmax(0,1fr)}
 .doctor--framed{display:flex;flex-direction:column}
 .doctor--framed .branded-photo,.doctors--clinical .branded-photo{width:100%;aspect-ratio:auto}
 .doctor--framed .branded-photo>img,.doctors--clinical .branded-photo>img{width:100%;height:auto;min-height:0;object-fit:contain}
 .medical-review{display:grid;grid-template-columns:34px minmax(0,1fr);gap:13px;margin-top:26px;padding:21px 18px}
 .medical-review-mark{width:34px;height:34px;font-size:22px}
 .medical-review-name{font-size:19px;line-height:1.4}
 .medical-review-role{font-size:14px}
 .medical-review-date{grid-column:2;margin-left:0}
 .price-scope{grid-template-columns:minmax(0,1fr)}
}
/* Equal desktop canvases contain each whole portrait; mobile keeps natural height. */
@media(min-width:801px){
 .doctors--clinical .branded-photo{position:relative;flex:none;display:block}
 .doctors--clinical .branded-photo>img{position:absolute;inset:10px;width:calc(100% - 20px);height:calc(100% - 20px);object-fit:contain}
}
@media(max-width:800px){
 .doctor--framed{width:min(100%,430px);justify-self:center}
 .doctors--clinical .doctor{width:min(100%,430px);justify-self:center}
 .doctors--clinical .branded-photo>img{position:static;inset:auto;width:100%;height:auto}
}
