/* Compact practice pages. Grid placement follows the existing document order. */
body.practice-compact .ref-intro{gap:28px;padding-block:20px}
body.practice-compact .ref-breadcrumb{padding-top:12px}
body.practice-compact .ref-course-band{padding-block:24px}
body.practice-compact .ref-heading{margin-bottom:16px!important}
body.practice-compact .ref-course-grid{gap:16px}
body.practice-compact .ref-course .ref-course-copy{padding:14px 6px 6px}
body.practice-compact .ref-why{gap:28px;padding-block:24px}
body.practice-compact .ref-support-photo{min-height:220px}
body.practice-compact .ref-details{padding-bottom:0}
body.practice-compact .ref-details>section{padding-block:24px;margin-block:0}
body.practice-compact .ref-details>nav{margin-block:0 8px;padding:16px}
body.practice-compact .ref-details :is(.sel-heading,.sel-prose){max-width:none}
body.practice-compact .ref-details .sel-heading{margin-bottom:20px;text-align:left}
body.practice-compact .ref-details .sel-heading h2{margin-bottom:12px}
body.practice-compact .ref-details .sel-heading h2:after{margin:12px 0 0}
body.practice-compact .ref-details .sel-heading>p:empty{display:none}
body.practice-compact .ref-details .sel-heading>p{margin-block:10px 0}
body.practice-compact .ref-details section>p:last-child{margin-bottom:0}
body.practice-compact :is(.sel-grid,.sel-split,.sel-parent,.np-domains,.np-years,.np-facts){gap:16px}
body.practice-compact .sel-card{padding:20px}
body.practice-compact .sel-card>h3:first-child{margin-top:0}
body.practice-compact .sel-card>:last-child{margin-bottom:0}
body.practice-compact .sel-parent{padding:22px;grid-template-columns:minmax(0,1fr)}
body.practice-compact .sel-parent h3{margin-top:0}
body.practice-compact .np-facts{margin-top:18px}
body.practice-compact .np-facts>div{padding:18px}
body.practice-compact .np-domains article{padding:20px}
body.practice-compact .np-domains h3{margin-block:12px;min-height:0}
body.practice-compact .np-domains article>:last-child{margin-bottom:0}
body.practice-compact #vip-writing-studio{margin-block:24px;padding:24px}
body.practice-compact #learning-guides{padding-block:24px}
body.practice-compact #learning-guides>h2{margin-top:0}
body.practice-compact #learning-guides>ul{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px 32px;line-height:1.7}
body.practice-compact #learning-guides>.resource-guide-link{margin-bottom:0}
body.practice-compact #growth-journey{box-sizing:border-box;width:min(var(--vip-page-width),calc(100% - var(--vip-page-gutter)));max-width:var(--vip-page-width);margin-block:0 24px;padding:20px 24px}
body.practice-compact #first-course-banner{margin-block:24px}
body.practice-compact .membership-plan-section{margin-block:0;padding-block:24px}
body.practice-compact .membership-plan-section>.membership-eyebrow{margin-top:0}
body.practice-compact .membership-plan-section>.membership-plan-grid{margin-block:20px 16px}
body.practice-compact .membership-plan-section>.membership-small{margin-bottom:0}

/* Keep the screenshot's provider guidance and plans in one continuous flow. */
body[data-pathway="scholarship"] .ref-details{padding-bottom:0}
body[data-pathway="scholarship"] #provider-guidance{padding-bottom:20px}
body[data-pathway="scholarship"] #provider-guidance>p:last-child{margin-bottom:0}
body[data-pathway="scholarship"] .ref-details+.membership-plan-section{margin-top:0;padding-top:24px}
body[data-pathway="scholarship"] .ref-details+.membership-plan-section>.membership-eyebrow{margin-top:0}

@media(min-width:1101px){
 body.practice-compact .ref-feature-list{grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:16px 20px!important}
 body.practice-compact .ref-course-grid{grid-template-columns:repeat(4,minmax(0,1fr))}
 body.practice-compact[data-pathway="oc"] .ref-course-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
}
@media(min-width:901px){
 body.practice-compact .ref-details{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));column-gap:24px}
 body.practice-compact .ref-details>*{grid-column:1/-1;min-width:0}
 body.practice-compact[data-pathway="naplan"] .ref-details>:is(#parents,#faq),
 body.practice-compact[data-pathway="selective"] .ref-details>:is(#parents,#faq),
 body.practice-compact[data-pathway="oc"] .ref-details>:is(#skills-overview,#details-2,#details-5,#details-6){grid-column:auto}
 body.practice-compact[data-pathway="naplan"] .ref-details>#parents{grid-template-columns:minmax(0,1fr);align-content:start;gap:18px;margin-block:24px;padding:22px}
 body.practice-compact[data-pathway="naplan"] .ref-details>#parents h2{margin-top:8px}
 body.practice-compact[data-pathway="oc"] .ref-details>#skills-overview{margin-block:24px;padding:24px}
 body.practice-compact[data-pathway="oc"] #details-2>.card{padding:20px 24px}
 body.practice-compact[data-pathway="oc"] #details-6 a{display:inline-block;margin-bottom:6px}
 body.practice-compact #introduction .sel-prose{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px 24px}
 body.practice-compact #introduction .sel-prose>p{margin:0}
 body.practice-compact #introduction .sel-note{grid-column:1/-1;margin-top:0;padding:18px 22px}
 body.practice-compact #highlights .sel-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
 body.practice-compact #highlights .sel-card{display:grid;grid-template-columns:minmax(150px,.8fr) minmax(0,1.2fr);gap:8px 18px;align-content:start}
 body.practice-compact #highlights .sel-card:nth-child(n) .sel-mini{grid-row:1/3;height:auto;min-height:128px;padding:16px;gap:10px}
 body.practice-compact #highlights .sel-mini b{margin-top:0;font-size:20px}
 body.practice-compact #highlights .sel-card>h3{margin:0}
 body.practice-compact #highlights .sel-card>p{margin:0}
 body.practice-compact .membership-plan-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}
}
@media(min-width:641px) and (max-width:1100px){
 body.practice-compact .ref-course-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:900px){
 body.practice-compact .ref-intro{grid-template-columns:minmax(0,1fr);gap:20px}
 body.practice-compact .ref-details>section{padding-block:20px}
 body.practice-compact .ref-details #skills-overview{margin-block:20px}
 body.practice-compact .ref-details .sel-heading{margin-bottom:16px}
}
@media(max-width:640px){
 body.practice-compact .ref-feature-list{grid-template-columns:minmax(0,1fr)!important}
 body.practice-compact .ref-course-grid{grid-template-columns:minmax(0,1fr)}
 body.practice-compact .ref-why{grid-template-columns:minmax(0,1fr);gap:18px;padding-block:20px}
 body.practice-compact .ref-support-photo{min-height:200px}
 body.practice-compact :is(.sel-grid.two,.sel-grid.three,.sel-split,.sel-parent,.np-parent){grid-template-columns:minmax(0,1fr)}
 body.practice-compact #learning-guides>ul{grid-template-columns:minmax(0,1fr);gap:8px}
 body.practice-compact :is(#vip-writing-studio,#first-course-banner){margin-block:20px;padding:20px}
 body.practice-compact #growth-journey{margin-block:0 20px;padding:20px}
 body.practice-compact .ref-course-band{padding-block:20px}
 body.practice-compact .membership-plan-section{padding-block:20px}
}

@media(min-width:1101px){body.practice-compact .membership-plan-grid{grid-template-columns:repeat(4,minmax(0,1fr))!important}}
