/* Scholars SSC Academy — page system 1.1.0
   Old-site identity retained: navy/blue, white surfaces, red brand accent, yellow CTA.
   This file skins imported Elementor layouts without rewriting visible copy. */
:root{
  --sch-surface:#fff;--sch-soft:#f5f8fc;--sch-soft-blue:#eef5fc;--sch-ink:#13243c;
  --sch-muted:#5f6f82;--sch-line:#dde6f0;--sch-shadow-soft:0 10px 28px rgba(7,29,59,.075);
  --sch-shadow-card:0 14px 38px rgba(7,29,59,.10);--sch-section:72px;--sch-section-mobile:44px;
}
body.scholars-premium-page{background:#f7f9fc;color:var(--sch-body);font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Arial,sans-serif}
body.scholars-premium-page .site-content{background:#f7f9fc}
body.scholars-premium-page .ast-container{max-width:none;padding-left:0;padding-right:0}
body.scholars-premium-page #primary{margin:0;width:100%}
body.scholars-premium-page .entry-content{max-width:none;margin:0}
body.scholars-premium-page .entry-header{display:none}
body.scholars-premium-page .elementor{--widgets-spacing:24px 24px}
body.scholars-premium-page .elementor-widget-text-editor{color:var(--sch-body);line-height:1.7}
body.scholars-premium-page .elementor-widget-text-editor p{margin:0 0 1em}
body.scholars-premium-page .elementor-widget-text-editor p:last-child{margin-bottom:0}
body.scholars-premium-page :is(h1,h2,h3,h4,h5,h6),body.scholars-premium-page .elementor-heading-title{font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Arial,sans-serif;color:var(--sch-heading);letter-spacing:-.018em;line-height:1.2}
body.scholars-premium-page :is(h1,h2,h3,h4,h5,h6),body.scholars-premium-page .elementor-heading-title{font-weight:700}
.sch-premium-section h1,.sch-premium-section .elementor-widget-heading h1.elementor-heading-title{font-size:clamp(31px,3.4vw,44px);font-weight:800;line-height:1.1}
.sch-premium-section h2,.sch-premium-section .elementor-widget-heading h2.elementor-heading-title{font-size:clamp(25px,2.6vw,34px);font-weight:780;margin-top:0}
.sch-premium-section h3,.sch-premium-section .elementor-widget-heading h3.elementor-heading-title{font-size:clamp(20px,2vw,26px);font-weight:760}
body.scholars-premium-page a{transition:color .16s ease,background-color .16s ease,border-color .16s ease,box-shadow .16s ease,transform .16s ease}
body.scholars-premium-page .elementor-button,body.scholars-premium-page :is(.wp-element-button,.button,input[type=submit]){min-height:44px;border-radius:8px;font-weight:750;padding:12px 20px;box-shadow:0 5px 14px rgba(18,63,115,.12)}
body.scholars-premium-page .elementor-button:hover{transform:translateY(-1px);box-shadow:0 8px 20px rgba(18,63,115,.17)}

/* Converted legacy containers */
.sch-premium-section{padding:var(--sch-section) 24px;background:var(--sch-surface);border-bottom:1px solid rgba(221,230,240,.72)}
.sch-premium-section:nth-of-type(even){background:var(--sch-soft)}
.sch-premium-section>.e-con-inner{max-width:1180px;margin-inline:auto}
.sch-premium-row{gap:24px}
.sch-premium-column{min-width:0}
.sch-premium-card,.sch-premium-slide{background:#fff;border:1px solid var(--sch-line);border-radius:14px;padding:24px;box-shadow:var(--sch-shadow-soft);height:100%}
.sch-premium-card:hover{box-shadow:var(--sch-shadow-card);transform:translateY(-2px)}
.sch-premium-image img{border-radius:12px;box-shadow:0 10px 26px rgba(7,29,59,.08)}
.sch-premium-divider .elementor-divider-separator{border-color:#dfe7f1!important}
.sch-premium-list .elementor-icon-list-icon{color:var(--sch-primary)}
.sch-premium-list .elementor-icon-list-text{color:var(--sch-body)}
.sch-premium-tabs .elementor-tab-title{font-weight:750}
.sch-preserve-content{overflow-wrap:anywhere}

/* Existing Elementor page polish — conservative selectors so old layout remains recognizable. */
body.scholars-premium-page .elementor :is(.e-con,.elementor-section).elementor-element{scroll-margin-top:105px}
body.scholars-premium-page .elementor-widget-image img{height:auto;max-width:100%}
body.scholars-premium-page .elementor-widget-image a:focus-visible,body.scholars-premium-page a:focus-visible{outline:3px solid rgba(18,63,115,.28);outline-offset:3px}
body.scholars-premium-page .elementor-widget-icon-box .elementor-icon-box-title,body.scholars-premium-page .elementor-widget-image-box .elementor-image-box-title{font-weight:760}
body.scholars-premium-page .elementor-widget-icon-box,body.scholars-premium-page .elementor-widget-image-box{--icon-box-radius:14px}
body.scholars-premium-page .elementor-widget-testimonial .elementor-widget-container{border-radius:14px}

/* Tables and fee blocks */
body.scholars-premium-page table{width:100%;border-collapse:separate;border-spacing:0;background:#fff;border:1px solid var(--sch-line);border-radius:12px;overflow:hidden;box-shadow:0 7px 22px rgba(7,29,59,.05)}
body.scholars-premium-page table th{background:var(--sch-secondary);color:#fff;font-weight:750;text-align:left;padding:14px 16px;border:0}
body.scholars-premium-page table td{padding:13px 16px;border:0;border-top:1px solid #e8edf3;vertical-align:top}
body.scholars-premium-page table tbody tr:nth-child(even) td{background:#f8fafc}
body.scholars-premium-page table tbody tr:hover td{background:#f0f6fc}
body.scholars-family-fees table td:last-child,body.scholars-family-fees table th:last-child{font-weight:800;white-space:nowrap}

/* Forms */
body.scholars-premium-page :is(input[type=text],input[type=email],input[type=tel],input[type=number],input[type=url],input[type=search],select,textarea){width:100%;min-height:46px;border:1px solid #ccd7e4;border-radius:8px;background:#fff;color:#172a43;padding:10px 12px;box-shadow:inset 0 1px 2px rgba(7,29,59,.025)}
body.scholars-premium-page textarea{min-height:120px}
body.scholars-premium-page :is(input,select,textarea):focus{border-color:var(--sch-primary);box-shadow:0 0 0 3px rgba(18,63,115,.12);outline:0}
body.scholars-premium-page .ff-el-group{margin-bottom:16px}
body.scholars-premium-page .fluentform .ff-btn-submit{background:var(--sch-accent);border-color:#ddb02a;color:#15243a;border-radius:8px;font-weight:800;min-height:44px;padding:10px 22px}
.sch-legacy-form-fallback{background:#fff8dd;border:1px solid #efd98a;border-radius:12px;padding:18px 20px;color:#443b21}

/* Family-specific first-screen treatment. It enhances, rather than replaces, the old structure. */
body:is(.scholars-family-course,.scholars-family-location,.scholars-family-conversion,.scholars-family-fees,.scholars-family-results,.scholars-family-resource,.scholars-family-guide) .elementor> :is(.e-con,.elementor-section):first-child,
body:is(.scholars-family-course,.scholars-family-location,.scholars-family-conversion,.scholars-family-fees,.scholars-family-results,.scholars-family-resource,.scholars-family-guide) .entry-content>.sch-premium-section:first-child{
  background:linear-gradient(135deg,#eef5fc 0%,#fff 55%,#fff8d9 100%);border-bottom:1px solid #dfe9f3
}
body.scholars-family-home .elementor> :is(.e-con,.elementor-section):first-child{box-shadow:inset 0 -1px 0 rgba(14,37,66,.08)}
body.scholars-family-location .sch-premium-card{border-top:3px solid var(--sch-primary)}
body.scholars-family-results .sch-premium-card{border-top:3px solid var(--sch-accent)}
body.scholars-family-legal .elementor{max-width:900px;margin:0 auto;background:#fff;border:1px solid var(--sch-line);box-shadow:var(--sch-shadow-soft);border-radius:14px;padding:clamp(24px,4vw,48px);margin-top:36px;margin-bottom:50px}
body.scholars-family-legal .elementor-widget-text-editor{font-size:15.5px}

/* Latest-post compatibility widget used when legacy Fusion Blog blocks are migrated. */
.sch-query-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:22px}
.sch-query-card{background:#fff;border:1px solid var(--sch-line);border-radius:14px;overflow:hidden;box-shadow:var(--sch-shadow-soft);height:100%;display:flex;flex-direction:column}
.sch-query-thumb{display:block;aspect-ratio:16/9;overflow:hidden;background:#edf2f7}.sch-query-thumb img{width:100%;height:100%;object-fit:cover;border-radius:0!important;transition:transform .3s ease}.sch-query-card:hover .sch-query-thumb img{transform:scale(1.025)}
.sch-query-body{padding:19px 20px 22px;display:flex;flex-direction:column;flex:1}.sch-query-body h3{font-size:20px!important;margin:0 0 9px}.sch-query-body h3 a{color:var(--sch-heading);text-decoration:none}.sch-query-body p{font-size:14px;line-height:1.6;color:var(--sch-muted);margin:0 0 16px}.sch-query-link{margin-top:auto;color:var(--sch-primary);font-weight:750;text-decoration:none}

/* Mobile: old site remains familiar, but density/overflow are corrected. */
@media(max-width:1024px){.sch-premium-section{padding:56px 20px}.sch-query-grid{grid-template-columns:repeat(2,minmax(0,1fr))}body.scholars-premium-page table{display:block;overflow-x:auto;-webkit-overflow-scrolling:touch}}
@media(max-width:767px){
  :root{--sch-section:var(--sch-section-mobile)}
  .sch-premium-section{padding:var(--sch-section-mobile) 16px}.sch-premium-row{gap:16px}.sch-premium-column{width:100%!important}.sch-premium-card,.sch-premium-slide{padding:18px}
  .sch-premium-section h1,.sch-premium-section .elementor-widget-heading h1.elementor-heading-title{font-size:31px}
  .sch-premium-section h2,.sch-premium-section .elementor-widget-heading h2.elementor-heading-title{font-size:25px}
  body.scholars-premium-page .elementor-widget-text-editor{line-height:1.68}.sch-query-grid{grid-template-columns:1fr}
  body.scholars-family-legal .elementor{margin:18px 12px 32px;padding:22px 17px}
}
@media(prefers-reduced-motion:reduce){.sch-premium-card,.sch-query-thumb img{transition:none!important;transform:none!important}}

/* 1.1.0 — OLD HOMEPAGE BASELINE POLISH
   These IDs come from the supplied old-site Elementor HOME data. The section
   order/content is untouched; only spacing, surface quality and responsive
   presentation are refined. */
body.scholars-family-home.scholars-premium-page{background:#f4f8fc}
body.scholars-family-home.scholars-premium-page .elementor-element-6825753d{padding-top:22px;padding-bottom:10px;background:#f4f8fc}
body.scholars-family-home.scholars-premium-page .elementor-element-6825753d .swiper,
body.scholars-family-home.scholars-premium-page .elementor-element-6825753d .elementor-image-carousel-wrapper{border-radius:8px;overflow:hidden;box-shadow:0 8px 20px rgba(8,39,68,.12)}
body.scholars-family-home.scholars-premium-page .elementor-element-5326c02d{margin-top:14px;margin-bottom:22px}
body.scholars-family-home.scholars-premium-page .elementor-element-5326c02d>.e-con-inner{background:#fff;border:1px solid #e5ebf2;border-radius:10px;box-shadow:0 8px 20px rgba(8,39,68,.08);padding:25px 34px}
body.scholars-family-home.scholars-premium-page .elementor-element-c7fcb41{background:linear-gradient(110deg,#0d3d78 0%,#075ac1 100%);padding-top:46px;padding-bottom:46px}
body.scholars-family-home.scholars-premium-page .elementor-element-c7fcb41 :is(.elementor-heading-title,.elementor-widget-text-editor){color:#fff}
body.scholars-family-home.scholars-premium-page .elementor-element-c7fcb41 .fluentform{background:#fff;border-radius:8px;padding:22px;box-shadow:0 10px 25px rgba(0,0,0,.16)}
body.scholars-family-home.scholars-premium-page .elementor-element-122439c4{padding-top:48px;padding-bottom:48px;background:#f4f8fc}
body.scholars-family-home.scholars-premium-page .elementor-element-122439c4 .e-n-accordion-item{border-radius:6px;overflow:hidden;margin-bottom:7px;box-shadow:0 4px 10px rgba(8,39,68,.06)}
body.scholars-family-home.scholars-premium-page .elementor-element-122439c4 .elementor-widget-icon-box .elementor-widget-container{height:100%;background:#fff;border:1px solid #dce7f1;border-radius:7px;padding:17px 16px;transition:transform .15s ease,box-shadow .15s ease}
body.scholars-family-home.scholars-premium-page .elementor-element-122439c4 .elementor-widget-icon-box .elementor-widget-container:hover{transform:translateY(-2px);box-shadow:0 8px 18px rgba(8,39,68,.09)}
body.scholars-family-home.scholars-premium-page .elementor-element-4ac492da{padding-top:48px;padding-bottom:48px;background:#fff}
body.scholars-family-home.scholars-premium-page .elementor-element-66d4445f{padding-top:48px;padding-bottom:48px;background:#edf5ff}
body.scholars-family-home.scholars-premium-page .elementor-element-66d4445f .elementor-widget-icon-list{background:#fff;border-radius:8px;padding:18px 20px;box-shadow:0 7px 18px rgba(8,39,68,.07)}
body.scholars-family-home.scholars-premium-page .elementor-element-288ebb13{padding-top:56px;padding-bottom:56px;background:linear-gradient(120deg,#0a3570,#0759c9)}
body.scholars-family-home.scholars-premium-page .elementor-element-288ebb13 :is(.elementor-heading-title,.elementor-icon-box-title,.elementor-icon-box-description){color:#fff}
body.scholars-family-home.scholars-premium-page .elementor-element-6a28f39d{padding-top:52px;padding-bottom:52px;background:#f4f8fc}
body.scholars-family-home.scholars-premium-page .elementor-element-6a28f39d>.e-con-inner>.e-con{background:#fff;border:1px solid #e3eaf2;border-radius:8px;box-shadow:0 6px 16px rgba(8,39,68,.07)}
body.scholars-family-home.scholars-premium-page .elementor-element-1a88a699{padding-top:52px;padding-bottom:58px;background:#fff}
body.scholars-family-home.scholars-premium-page .elementor-element-1a88a699 .elementor-testimonial-wrapper{background:#fff;border:1px solid #e3eaf2;border-radius:8px;padding:20px;box-shadow:0 6px 16px rgba(8,39,68,.07)}
body.scholars-family-home.scholars-premium-page .elementor-divider-separator{border-color:#f4a000!important}
@media(max-width:767px){
 body.scholars-family-home.scholars-premium-page .elementor-element-6825753d{padding-top:12px}
 body.scholars-family-home.scholars-premium-page .elementor-element-5326c02d>.e-con-inner{padding:20px 18px}
 body.scholars-family-home.scholars-premium-page :is(.elementor-element-c7fcb41,.elementor-element-122439c4,.elementor-element-4ac492da,.elementor-element-66d4445f,.elementor-element-288ebb13,.elementor-element-6a28f39d,.elementor-element-1a88a699){padding-top:36px;padding-bottom:36px}
}

/* Phase 1 1.3.0: restrained educational page polish. */
.sch-premium-card,.sch-faq-item{border:1px solid var(--sch-line);border-radius:12px;box-shadow:0 5px 20px rgba(7,29,59,.045)}
.sch-faq-item{padding:24px;background:#fff}
.sch-premium-text a,.elementor-widget-text-editor a{text-underline-offset:3px}
.sch-premium-section :is(p,li){overflow-wrap:anywhere}
.sch-premium-section img{height:auto;max-width:100%}
.sch-premium-table{max-width:100%;overflow-x:auto;-webkit-overflow-scrolling:touch}
.sch-premium-section :is(input,select,textarea):focus-visible{outline:2px solid var(--sch-primary);outline-offset:3px}
@media(max-width:767px){.sch-premium-row>.sch-premium-column{width:100%!important;max-width:100%}.sch-faq-item{padding:18px}.sch-premium-section{padding-inline:18px}}
@media(prefers-reduced-motion:reduce){body.scholars-premium-page *{scroll-behavior:auto!important;transition:none!important;animation:none!important}}
