.subject-page main{background:var(--brand-shell,#faf7f0)}
.subject-page main>.section{background:var(--brand-shell,#faf7f0)}
.subject-learning{border-top:1px solid var(--brand-divider);background:var(--brand-wash)!important}
.subject-learning-grid{display:grid;grid-template-columns:minmax(0,1.25fr) minmax(280px,.75fr);gap:clamp(38px,7vw,88px);align-items:start}
.subject-learning h2{max-width:17ch;margin-top:0;font-size:clamp(32px,4vw,48px)}
.subject-learning p{max-width:65ch;font-size:17px;line-height:1.75}
.subject-learning ul{display:grid;gap:12px;margin:0;padding:0;list-style:none}
.subject-learning li{padding:18px 20px;border:1px solid var(--brand-divider);border-radius:var(--brand-radius);background:var(--brand-shell,#faf7f0);font:600 16px/1.4 var(--font-body);color:var(--brand-ink-heading)}
.subject-features h2{font-size:clamp(30px,4vw,46px)}
.subject-benefit-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;margin-top:30px}
.subject-benefit-grid article{padding:22px;border-top:3px solid var(--brand-blue);background:var(--brand-wash)}
.subject-benefit-grid h3{font-size:20px;line-height:1.35}.subject-benefit-grid p{font-size:15px;line-height:1.6}
.subject-page .subject-community-single{
 border-top:1px solid var(--brand-divider);
 border-bottom:1px solid var(--brand-divider);
 background:var(--brand-shell,#faf7f0);
}
.subject-page .subject-community-single>.section-inner{max-width:1120px}
.subject-community-single h2{margin-bottom:34px}
.subject-community-row{
 display:grid;
 grid-template-columns:minmax(0,1fr) minmax(0,1fr);
 gap:clamp(40px,7vw,88px);
 align-items:stretch;
}
.subject-community-tutor{
 min-width:0;
 display:flex;
 align-items:flex-start;
 justify-content:flex-start;
}
.subject-community-single .subject-community-tutor .tutor-grid{
 display:block;
 width:100%;
 max-width:360px;
 margin:0;
}
.subject-community-single .subject-community-tutor .tutor-card{width:100%;max-width:360px;margin:0}
.subject-community-companion{
 min-width:0;
 display:flex;
 align-items:flex-start;
 justify-content:center;
}
.subject-community-review .review-carousel{width:100%;margin:0}
.subject-community-review .review-carousel.single-review{padding-inline:28px!important}
.single-tutor-enquiry-slot>.embedded-enquiry{
 width:100%;
 max-width:560px;
 margin:0;
 padding:0;
 background:transparent;
}
.single-tutor-enquiry-slot>.embedded-enquiry>.form-surface{width:100%;max-width:none;margin:0}
.subject-community-single+.embedded-enquiry{background:var(--brand-shell,#faf7f0);border-bottom:1px solid var(--brand-divider)}

@media(max-width:800px){
 .subject-learning-grid{grid-template-columns:1fr;gap:28px}
 .subject-benefit-grid{grid-template-columns:1fr 1fr}
 .subject-community-row{grid-template-columns:1fr;gap:38px}
 .subject-community-tutor{justify-content:center}
 .subject-community-single .subject-community-tutor .tutor-grid,
 .subject-community-single .subject-community-tutor .tutor-card{max-width:360px}
 .subject-community-companion{width:100%}
}
@media(max-width:520px){.subject-benefit-grid{grid-template-columns:1fr}}
