/* v1.0.1: centre reliably inside Gutenberg and classic-theme constrained content. */
body.btrsm-schools-page .btrsm {width:100vw!important;max-width:100vw!important;position:relative!important;left:50%!important;transform:translateX(-50%)!important;margin:0!important;float:none!important;clear:both!important}
body.btrsm-schools-page .btrsm :where(section,article,div,p,h1,h2,h3) {min-width:0}
/* BTECRevision Schools — standalone, scoped styles. Does not style lesson or account pages. */
body.btrsm-schools-page .wp-block-post-title, body.btrsm-schools-page .entry-title {display:none!important}
body.btrsm-schools-page .wp-block-post-content {margin-block-start:0!important}
.btrsm {--btrsm-purple:#35165c;--btrsm-purple2:#4b247d;--btrsm-ink:#271441;--btrsm-muted:#655773;--btrsm-soft:#f7f3fb;--btrsm-line:#e7dbf1;color:var(--btrsm-ink);font-family:Poppins,Inter,ui-sans-serif,system-ui,-apple-system,"Segoe UI",sans-serif;line-height:1.6;width:100vw!important;max-width:100vw!important;position:relative!important;left:50%!important;transform:translateX(-50%)!important;margin:0!important;overflow:hidden;box-sizing:border-box;clear:both}
.btrsm *, .btrsm *:before, .btrsm *:after {box-sizing:border-box}
.btrsm :where(h1,h2,h3,p,ul){margin:0;padding:0}
.btrsm :where(h1,h2,h3){line-height:1.17;letter-spacing:-.04em;font-family:inherit}
.btrsm a {text-decoration:none;transition:filter .18s ease,transform .18s ease}
.btrsm a:hover {filter:brightness(1.05)}
.btrsm :is(a,button,input,select,textarea):focus-visible {outline:3px solid #9668dc!important;outline-offset:3px}
.btrsm-width {width:min(1180px,calc(100% - 52px));margin-inline:auto}
.btrsm-hero {background:linear-gradient(126deg,#35165c 5%,#462275 68%,#392060 100%);color:#fff;padding:104px 0 115px;position:relative;isolation:isolate;overflow:hidden}
.btrsm-hero-inner {position:relative;z-index:2;max-width:1180px}
.btrsm-eyebrow,.btrsm-kicker {display:inline-block;color:#c9a9fb;text-transform:uppercase;font-weight:800;letter-spacing:.18em;font-size:13px}
.btrsm-hero h1 {font-size:clamp(48px,6.3vw,92px)!important;font-weight:850!important;color:#fff!important;max-width:1100px;margin:20px 0 25px!important}
.btrsm-hero h1 em {font-style:normal;color:#d4b6ff}
.btrsm-hero p {color:#f3eafc;font-size:clamp(17px,1.6vw,21px);max-width:710px;line-height:1.78;font-weight:400}
.btrsm-hero p strong {color:#fff;font-weight:700}
.btrsm-actions {display:flex;gap:15px;flex-wrap:wrap;margin-top:35px;align-items:center}
.btrsm-btn {min-height:51px;display:inline-flex;align-items:center;justify-content:center;gap:18px;padding:14px 22px;border-radius:11px!important;font-size:15px;font-weight:750;white-space:nowrap;line-height:1.3;border:1px solid transparent;cursor:pointer;box-shadow:none}
.btrsm-btn span {font-size:17px;line-height:1}
.btrsm-btn-light {background:#fff;color:#35165c!important}
.btrsm-btn-outline {color:#fff!important;background:transparent;border:1px solid #b79ccf}
.btrsm-btn-dark {background:#35165c;color:#fff!important;border:1px solid #35165c}
.btrsm-hero-note {margin-top:36px;display:flex;align-items:center;gap:10px;font-size:13px;color:#e8d9fb;font-weight:550}
.btrsm-dot {height:8px;width:8px;border-radius:50%;background:#8de5b5;box-shadow:0 0 0 4px #8de5b52b}
.btrsm-shape {position:absolute;border-radius:50%;z-index:1;pointer-events:none;}
.btrsm-shape-one {width:660px;height:660px;right:-200px;top:-290px;border:125px solid #ffffff07}
.btrsm-shape-two {width:700px;height:700px;right:-430px;bottom:-430px;background:#cda5ff10}
.btrsm-section {padding:88px 0}
.btrsm-section-heading {max-width:860px;margin-bottom:35px}
.btrsm-kicker {color:#7c3ec0;font-size:12px}
.btrsm-section-heading h2,.btrsm-pricing h2,.btrsm-contact h2 {font-size:clamp(31px,3.75vw,49px)!important;font-weight:800!important;margin:14px 0 19px!important;color:#321652!important}
.btrsm-section-heading h2 span {color:#7a45b9}
.btrsm-section-heading>p {color:var(--btrsm-muted);font-size:17px;max-width:740px;line-height:1.75}
.btrsm-courses {background:#fdfbff}
.btrsm-course-grid {display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:22px}
.btrsm-course {background:#fff;border:1px solid #e9dff0;border-radius:19px;overflow:hidden;box-shadow:0 11px 36px #3216520a;display:flex;flex-direction:column;min-width:0;transition:transform .2s ease,box-shadow .2s ease}
.btrsm-course:hover {transform:translateY(-3px);box-shadow:0 16px 38px #32165218}
.btrsm-course-featured {border-color:#c7a7e8;box-shadow:0 13px 35px #59258a18}
.btrsm-course img {height:207px;width:100%;object-fit:cover;display:block}
.btrsm-course-body {padding:25px 25px 23px;display:flex;flex-direction:column;flex:1}
.btrsm-tag {align-self:flex-start;border-radius:20px;font-size:10px;line-height:1.4;letter-spacing:.075em;font-weight:800;padding:8px 11px;background:#f1ebf7;color:#775595}
.btrsm-tag-live {background:#e7f6ed;color:#217546}
.btrsm-course h3 {color:#341752!important;font-size:23px!important;letter-spacing:-.04em;font-weight:800;margin:16px 0 10px!important}
.btrsm-course p {color:#655773;font-size:14px;line-height:1.8;flex:1}
.btrsm-course-footer {display:block;padding-top:22px;color:#7540b3;font-size:12px;font-weight:750}
.btrsm-benefits {background:#fff}
.btrsm-benefit-grid {display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:18px;margin-top:36px}
.btrsm-benefit {background:#faf7fd;padding:24px 22px 27px;border-radius:17px;border:1px solid #eee6f5}
.btrsm-benefit-icon {display:grid;place-items:center;width:43px;height:43px;border-radius:12px;color:#5f2aa0;background:#eee5f7;font-weight:800;font-size:13px;margin-bottom:18px}
.btrsm-benefit h3 {font-size:21px!important;color:#321652!important;margin-bottom:11px!important;font-weight:800}
.btrsm-benefit p {font-size:14px;line-height:1.75;color:var(--btrsm-muted)}
.btrsm-smallprint {font-size:12px;color:#766987;margin-top:26px;max-width:970px;line-height:1.75}
.btrsm-pricing {background:#f5f0fa}
.btrsm-pricing-wrap {display:grid;grid-template-columns:1.3fr .8fr;align-items:center;gap:70px}
.btrsm-pricing-wrap>div:first-child>p {font-size:17px;color:#655773;line-height:1.78;max-width:680px}
.btrsm-pricing-note {color:#6c5c7e;font-size:12px;margin-top:17px;line-height:1.7}
.btrsm-pricing-card {padding:33px;background:#fff;border:1px solid #e6d9ef;border-radius:22px;box-shadow:0 18px 50px #41196812}
.btrsm-pricing-card>span {font-weight:800;color:#8855b5;letter-spacing:.12em;font-size:11px}
.btrsm-pricing-card h3 {font-size:28px!important;font-weight:800;color:#341752!important;margin:15px 0!important}
.btrsm-pricing-card p {font-size:15px;color:#665576;line-height:1.8;margin-bottom:24px}
.btrsm-pricing-card .btrsm-btn {width:100%}
.btrsm-contact {background:#fff}
.btrsm-contact-grid {display:grid;grid-template-columns:.88fr 1.12fr;gap:80px;align-items:start}
.btrsm-contact-copy {padding-top:16px}
.btrsm-contact-copy p {color:#655773;font-size:17px;line-height:1.8}
.btrsm-contact-copy ul {margin:26px 0 20px;padding:0;list-style:none}
.btrsm-contact-copy li {position:relative;margin:0 0 14px;padding-left:29px;color:#514364;font-size:14px}
.btrsm-contact-copy li:before {content:'✓';position:absolute;left:1px;color:#8153ba;font-weight:900}
.btrsm-direct {color:#6c369e!important;font-size:14px;font-weight:750;word-break:break-word}
.btrsm-form-panel {background:#faf8fc;border:1px solid #e8def1;border-radius:20px;padding:31px;min-width:0}
.btrsm-form-panel h3 {color:#321652!important;font-size:25px!important;font-weight:800;margin:0 0 8px!important}
.btrsm-form-panel>p {color:#776886;font-size:13px;margin-bottom:23px}
.btrsm-form {display:flex;flex-direction:column;gap:17px}
.btrsm-input-grid {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:15px}
.btrsm-form label:not(.btrsm-check):not(.btrsm-hp label) {display:block;color:#392150;font-weight:700;font-size:13px;line-height:1.45}
.btrsm-form input:not([type="checkbox"]):not([type="hidden"]),.btrsm-form select,.btrsm-form textarea {display:block;width:100%;margin-top:8px;max-width:100%;background:#fff!important;border:1px solid #d8c8e8!important;border-radius:9px!important;min-height:47px!important;padding:11px 12px!important;font-family:inherit!important;color:#2d2040!important;font-size:14px!important;box-shadow:none!important;line-height:1.4}
.btrsm-form textarea {resize:vertical;min-height:94px!important}
.btrsm-form input:focus,.btrsm-form textarea:focus,.btrsm-form select:focus {border-color:#8d4ac3!important;outline:2px solid #8d4ac33b;outline-offset:1px}
.btrsm-check {display:flex;align-items:flex-start;gap:11px;font-size:13px;font-weight:550;color:#514362;cursor:pointer}
.btrsm-check input {margin:2px 0 0;accent-color:#6d35a1;width:18px;height:18px;flex:0 0 auto}
.btrsm-check small {font-size:12px;color:#80718b}
.btrsm-privacy {font-size:12px;color:#756880;line-height:1.7}
.btrsm-privacy a {color:#69329c;text-decoration:underline}
.btrsm-submit {width:100%;border:0;font-family:inherit;font-size:15px!important;min-height:54px}
.btrsm-submit:disabled {opacity:.75;cursor:wait}
.btrsm-hp {position:absolute!important;width:1px!important;height:1px!important;opacity:0!important;overflow:hidden!important;left:-10000px!important}
.btrsm-alert {padding:14px 16px;border-radius:9px;border:1px solid transparent;margin-bottom:20px;line-height:1.6;font-size:14px}
.btrsm-alert-good {background:#eaf9ef;color:#205e3a;border-color:#b5e1c3}
.btrsm-alert-bad {background:#fff0f0;color:#7b2121;border-color:#edbcbc}
.btrsm-footer {background:#2d164d;color:#e4d7ed;padding:23px 0;font-size:12px}
.btrsm-footer .btrsm-width {display:flex;justify-content:space-between;gap:18px;align-items:center}
.btrsm-footer strong {color:#fff}
.btrsm-footer a {color:#eee4fb}
@media(max-width:1050px) {
 .btrsm-hero {padding:75px 0 83px}
 .btrsm-course-grid {grid-template-columns:repeat(2,minmax(0,1fr))}
 .btrsm-course:last-child {grid-column:span 2;display:grid;grid-template-columns:38% 1fr}
 .btrsm-course:last-child img {height:100%;min-height:190px}
 .btrsm-benefit-grid {grid-template-columns:repeat(2,minmax(0,1fr))}
 .btrsm-pricing-wrap,.btrsm-contact-grid {gap:34px}
}
@media(max-width:700px){
 .btrsm-width {width:min(100% - 32px,540px)}
 .btrsm-hero {padding:64px 0 72px}
 .btrsm-hero h1 {font-size:clamp(43px,9.3vw,66px)!important;margin:20px 0!important}
 .btrsm-hero p {font-size:16px;line-height:1.7}
 .btrsm-actions {flex-direction:column;align-items:stretch;gap:11px}
 .btrsm-btn {width:100%;min-height:52px}
 .btrsm-section {padding:64px 0}
 .btrsm-section-heading {margin-bottom:27px}
 .btrsm-section-heading h2,.btrsm-pricing h2,.btrsm-contact h2 {font-size:32px!important}
 .btrsm-section-heading>p {font-size:15px}
 .btrsm-course-grid {grid-template-columns:1fr;gap:17px}
 .btrsm-course:last-child {grid-column:auto;display:flex}
 .btrsm-course img,.btrsm-course:last-child img {height:185px;min-height:0}
 .btrsm-course-body {padding:22px}
 .btrsm-benefit-grid {grid-template-columns:1fr;gap:14px}
 .btrsm-pricing-wrap,.btrsm-contact-grid {grid-template-columns:1fr;gap:29px}
 .btrsm-pricing-card {padding:25px}
 .btrsm-contact-copy {padding-top:0}
 .btrsm-form-panel {padding:20px}
 .btrsm-input-grid {grid-template-columns:1fr;gap:15px}
 .btrsm-footer .btrsm-width {align-items:flex-start;flex-direction:column}
}
@media(prefers-reduced-motion:reduce) {.btrsm *{transition:none!important;scroll-behavior:auto!important}}
/* Approved subject list presentation: image on left, concise description on right. */
.btrsm-course-grid {display:flex;flex-direction:column;gap:18px}
.btrsm-course,.btrsm-course:last-child {display:grid;grid-template-columns:230px minmax(0,1fr);min-height:205px}
.btrsm-course img,.btrsm-course:last-child img {width:100%;height:100%;min-height:205px;object-fit:cover}
.btrsm-course-body {padding:23px 28px}
.btrsm-course h3 {margin:11px 0 9px!important}
.btrsm-course p {flex:initial}
.btrsm-course-footer {padding-top:14px}
@media(max-width:700px){
 .btrsm-course-grid {gap:14px}
 .btrsm-course,.btrsm-course:last-child {grid-column:auto;display:grid;grid-template-columns:114px minmax(0,1fr);min-height:216px}
 .btrsm-course img,.btrsm-course:last-child img {width:100%;height:100%;min-height:216px;object-fit:cover}
 .btrsm-course-body {padding:18px 15px}
 .btrsm-course h3 {font-size:18px!important;letter-spacing:-.03em}
 .btrsm-course p {font-size:12px;line-height:1.65}
 .btrsm-course-footer {font-size:11px;padding-top:13px}
 .btrsm-tag {font-size:9px;padding:6px 7px}
}
@media(max-width:390px){
 .btrsm-course,.btrsm-course:last-child {grid-template-columns:102px minmax(0,1fr)}
 .btrsm-course-body {padding:16px 12px}
 .btrsm-course h3 {font-size:17px!important}
}

/* v1.0.1 compact Schools landing: concise text, readable type and no giant blank hero. */
.btrsm-hero {padding:56px 0 62px!important}
.btrsm-hero-inner {max-width:1100px!important}
.btrsm-hero h1 {font-size:clamp(34px,4.5vw,64px)!important;line-height:1.14!important;letter-spacing:-.045em!important;max-width:900px!important;margin:14px 0 16px!important;overflow-wrap:break-word}
.btrsm-hero p {font-size:clamp(16px,1.4vw,19px)!important;line-height:1.6!important;max-width:750px}
.btrsm-actions {margin-top:25px!important;gap:12px!important}
.btrsm-hero-note {display:none}
.btrsm-section {padding:52px 0!important}
.btrsm-section-heading {margin-bottom:22px!important}
.btrsm-section-heading h2,.btrsm-pricing h2,.btrsm-contact h2 {font-size:clamp(27px,3vw,38px)!important;line-height:1.22!important;margin:10px 0 12px!important}
.btrsm-section-heading>p,.btrsm-pricing-wrap>div:first-child>p,.btrsm-contact-copy p {font-size:15px!important;line-height:1.6!important}
.btrsm-course-grid {gap:12px!important}
.btrsm-course,.btrsm-course:last-child {grid-template-columns:170px minmax(0,1fr)!important;min-height:150px!important}
.btrsm-course img,.btrsm-course:last-child img {min-height:150px!important}
.btrsm-course-body {padding:16px 22px!important}
.btrsm-course h3 {font-size:20px!important;margin:7px 0!important}
.btrsm-course-footer {padding-top:7px!important}
.btrsm-benefit-grid {margin-top:20px!important;gap:12px!important}
.btrsm-benefit {padding:18px!important}
.btrsm-benefit-icon {margin-bottom:12px!important}
.btrsm-pricing-wrap,.btrsm-contact-grid {gap:42px!important}
.btrsm-contact-copy ul {margin:18px 0!important}
.btrsm-contact-copy li {margin-bottom:9px!important}
@media(max-width:700px){
 .btrsm-width {width:calc(100% - 32px)!important;max-width:540px!important}
 .btrsm-hero {padding:40px 0 44px!important}
 .btrsm-hero h1 {font-size:clamp(32px,8.2vw,44px)!important;margin:12px 0!important}
 .btrsm-hero p {font-size:15px!important;line-height:1.55!important}
 .btrsm-section {padding:38px 0!important}
 .btrsm-section-heading h2,.btrsm-pricing h2,.btrsm-contact h2 {font-size:27px!important}
 .btrsm-actions {margin-top:19px!important}
 .btrsm-course,.btrsm-course:last-child {grid-template-columns:100px minmax(0,1fr)!important;min-height:166px!important}
 .btrsm-course img,.btrsm-course:last-child img {min-height:166px!important}
 .btrsm-course-body {padding:12px 13px!important}
 .btrsm-course h3 {font-size:17px!important;margin:6px 0!important}
 .btrsm-course p {line-height:1.5!important}
 .btrsm-tag {font-size:8px!important;padding:4px 6px!important}
 .btrsm-course-footer {font-size:10px!important}
 .btrsm-pricing-wrap,.btrsm-contact-grid {gap:22px!important}
}


/* v1.0.2: The live theme adds a large blank block between header and shortcode.
   Restrict the correction to /schools/ and only containers holding this plugin.
   This does not touch the header itself or other WordPress pages. */
body.btrsm-schools-page :is(main, .site-main, .site-content, .content-area, .entry-content, .wp-block-post-content, .wp-block-group, .wp-block-column, article):has(.btrsm) {
    padding-block-start:0!important;
    margin-block-start:0!important;
}
body.btrsm-schools-page .wp-site-blocks > main,
body.btrsm-schools-page .wp-site-blocks > .wp-block-group:has(.btrsm),
body.btrsm-schools-page .wp-block-post-content:has(> .btrsm) {
    margin-block-start:0!important;
    padding-block-start:0!important;
}
body.btrsm-schools-page .btrsm,
body.btrsm-schools-page #btrsm-top,
body.btrsm-schools-page .btrsm-hero {
    margin-block-start:0!important;
}
/* Compact, legible sales banner. No fixed height: copy can wrap/accessibility text can scale. */
body.btrsm-schools-page .btrsm-hero {padding:28px 0 31px!important;min-height:0!important}
body.btrsm-schools-page .btrsm-hero .btrsm-eyebrow {font-size:11px!important;letter-spacing:.13em!important;line-height:1.4!important}
body.btrsm-schools-page .btrsm-hero h1 {font-size:clamp(32px,3.15vw,48px)!important;line-height:1.09!important;margin:8px 0 10px!important;max-width:910px!important;letter-spacing:-.037em!important}
body.btrsm-schools-page .btrsm-hero p {font-size:clamp(14px,1.08vw,16px)!important;line-height:1.48!important;max-width:755px!important}
body.btrsm-schools-page .btrsm-actions {margin-top:16px!important;gap:10px!important}
body.btrsm-schools-page .btrsm-actions .btrsm-btn {font-size:13px!important;min-height:43px!important;padding:9px 16px!important;border-radius:9px!important;gap:13px!important}
body.btrsm-schools-page .btrsm-actions .btrsm-btn span {font-size:15px!important}
body.btrsm-schools-page .btrsm-shape-one {width:465px;height:465px;right:-100px;top:-245px;border-width:85px}
body.btrsm-schools-page .btrsm-shape-two {width:485px;height:485px;right:-300px;bottom:-310px}
@media(max-width:700px) {
  body.btrsm-schools-page .btrsm-hero {padding:28px 0 30px!important}
  body.btrsm-schools-page .btrsm-hero h1 {font-size:clamp(30px,8vw,38px)!important;line-height:1.12!important;margin:8px 0 10px!important}
  body.btrsm-schools-page .btrsm-hero p {font-size:14px!important;line-height:1.5!important}
  body.btrsm-schools-page .btrsm-actions {margin-top:14px!important;gap:9px!important}
  body.btrsm-schools-page .btrsm-actions .btrsm-btn {min-height:44px!important;padding:10px 14px!important}
}
