/* Photographic introductions for NCLEX-RN and OSCE only. */
.prep-photo-hero{background:linear-gradient(110deg,#eff9f5,#f5fafc);padding-block:34px}
.prep-photo-hero .nclex-hero-layout{grid-template-columns:minmax(0,.9fr) minmax(0,1.1fr);gap:36px;margin-top:0;align-items:center}
.prep-photo-hero .nclex-hero-layout>*{min-width:0}
.prep-photo-hero .nclex-hero-copy h1,.prep-photo-hero .nclex-hero-copy p{white-space:normal;max-width:100%;overflow-wrap:break-word}
.prep-hero-photo{margin:0;min-width:0;border-radius:20px;overflow:hidden;box-shadow:0 12px 30px #0d285112;background:#edf5f2}
.prep-hero-photo img{display:block;width:100%;max-width:100%;height:auto;aspect-ratio:3/2;object-fit:contain}
/* The existing toolkit and all its links remain below the photo introduction. */
.prep-toolkit-section{padding:16px 0 0}
.prep-toolkit-section .nclex-platform-preview{border-radius:18px;max-width:none}
.prep-toolkit-section .nclex-preview-body{padding:16px 20px}
.prep-toolkit-section .nclex-preview-list{grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}
.prep-toolkit-section .nclex-preview-list>*{min-width:0}
@media(max-width:1100px){.prep-photo-hero .nclex-hero-layout{gap:24px}.prep-toolkit-section .nclex-preview-list{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:900px){.prep-photo-hero .nclex-hero-layout{grid-template-columns:minmax(0,1fr);gap:22px}.prep-hero-photo{width:100%;max-width:760px;justify-self:center}.prep-photo-hero .nclex-hero-copy{max-width:760px}}
@media(max-width:600px){.prep-photo-hero{padding-block:24px}.prep-hero-photo{border-radius:14px}.prep-toolkit-section{padding-top:12px}.prep-toolkit-section .nclex-preview-list{grid-template-columns:minmax(0,1fr)}.prep-toolkit-section .nclex-preview-body{padding:16px}.prep-toolkit-section .nclex-preview-topbar{flex-wrap:wrap;gap:8px}}

/* V4.42: photography integrated into the complete hero band. */
.prep-photo-hero{position:relative;isolation:isolate;overflow:hidden;padding-block:0;background:#f1faf7}
.prep-photo-hero .nclex-hero-layout{display:flex;align-items:center;min-height:440px;gap:0}
.prep-photo-hero .nclex-hero-copy{position:relative;z-index:2;width:49%;padding:42px 20px 42px 0}
.prep-photo-hero .prep-hero-photo{position:absolute;inset:0 0 0 auto;width:72%;max-width:none;height:100%;border-radius:0;box-shadow:none;background:transparent;z-index:-1;mask-image:linear-gradient(to right,transparent 0%,#000 32%);-webkit-mask-image:linear-gradient(to right,transparent 0%,#000 32%)}
.prep-photo-hero .prep-hero-photo img{width:100%;height:100%;max-width:none;aspect-ratio:auto;object-fit:cover;object-position:65% top}
@media(max-width:1100px) and (min-width:761px){
 .prep-photo-hero .nclex-hero-layout{min-height:390px}
 .prep-photo-hero .nclex-hero-copy{width:47%;padding-block:30px}
 .prep-photo-hero .prep-hero-photo{width:74%}
 .prep-photo-hero .prep-hero-photo img{object-position:63% top}
}
@media(max-width:760px){
 .prep-photo-hero .nclex-hero-layout{display:flex;flex-direction:column;align-items:stretch;min-height:0;gap:0}
 .prep-photo-hero .nclex-hero-copy{width:100%;max-width:none;padding:28px 0 16px}
 .prep-photo-hero .prep-hero-photo{position:relative;inset:auto;width:calc(100% + 36px);max-width:none;height:auto;margin:0 -18px;align-self:stretch;mask-image:linear-gradient(to bottom,transparent 0%,#000 16%);-webkit-mask-image:linear-gradient(to bottom,transparent 0%,#000 16%)}
 .prep-photo-hero .prep-hero-photo img{display:block;width:100%;height:auto;aspect-ratio:3/2;object-fit:contain;object-position:center}
}

/* NCLEX description requested line break; natural wrapping on small screens. */
.prep-photo-hero .prep-description-line{display:block}
@media(max-width:760px){.prep-photo-hero .prep-description-line{display:inline}.prep-photo-hero .prep-description-line+.prep-description-line:before{content:' '}}

/* OSCE title: 80% of its original size at each breakpoint. */
#main-content .osce-page-hero h1.osce-title-reduced-20{font-size:clamp(1.472rem,2.944vw,2.368rem)}
@media(max-width:760px){#main-content .osce-page-hero h1.osce-title-reduced-20{font-size:1.568rem}}
@media(max-width:420px){#main-content .osce-page-hero h1.osce-title-reduced-20{font-size:1.376rem}}
