/* =================================================================
   Schools & Districts hub (simplek12b2bhub.html and its 21 pages)
   Loaded after style.css, which stays identical to the WordPress theme.
   ================================================================= */

/* =================================================================
   SimpleK12 — Schools & Districts hub additions
   Extends style.css with the same tokens:
   ink #22282b, muted #5b6a73, teal #36768d, teal-dark #275668, teal-light #c7e7ee,
   mist #f0f8f9, snow #f9fafb, line #e6e6e7, field #cdd5d9
   ================================================================= */

/* dropdown group labels (School types / Solutions are menu groups, not pages) */
button.site-dropdown-link.hub-sub-label { border: 0; background: transparent; text-align: left; cursor: pointer; font-family: inherit; }

/* header: two buttons side by side */
.site-header-actions { gap: 12px; }

/* linked feature cards (solution cards) */
a.hub-sol-card { color: #22282b; text-decoration: none; }
a.hub-sol-card:hover { color: #22282b; border-color: #afc8d1; transform: translateY(-3px); box-shadow: 0 12px 28px rgba(34, 40, 43, 0.08); }
.hub-sol-card { transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease; }
.hub-card-link { display: inline-flex; align-items: center; gap: 8px; margin-top: auto; padding-top: 4px; font-size: 14px; font-weight: 600; color: #36768d; text-decoration: none; }
.hub-sol-card:hover .hub-card-link svg, .hub-link-card:hover .home-goal-link svg { transform: translateX(4px); }
.hub-card-link svg { transition: transform 0.25s ease; }
.hub-link-card { border: 1px solid #e6e6e7; transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease; }
.hub-link-card:hover { color: #22282b; border-color: #afc8d1; transform: translateY(-3px); box-shadow: 0 12px 28px rgba(34, 40, 43, 0.08); }
.hub-link-card .home-goal-img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 14px; }
.hub-link-card h3 { font-size: 20px; font-weight: 700; }
.hub-link-card p { font-size: 15px; color: #5b6a73; }

/* proof band extras */
.hub-proof-cite { margin-top: -12px; font-size: 14px; font-weight: 500; color: #c7e7ee; }
.hub-proof-btn { align-self: flex-start; }

/* solution pages: who it fits + why it works */
.hub-fit, .hub-why { display: flex; flex-direction: column; gap: 24px; height: 100%; padding: 36px; border: 1px solid #e6e6e7; border-radius: 20px; background: #ffffff; }
.hub-why { background: #f0f8f9; border-color: #f0f8f9; }
.hub-fit .section-title, .hub-why .section-title { font-size: 28px; letter-spacing: -0.6px; }
.hub-fit-list { display: flex; flex-direction: column; margin: 0; padding: 0; list-style: none; }
.hub-fit-list li { display: grid; grid-template-columns: 110px minmax(0, 1fr); gap: 16px; padding: 14px 0; border-top: 1px solid #e6e6e7; }
.hub-fit-list li:first-child { border-top: 0; padding-top: 0; }
.hub-fit-label { font-size: 12px; font-weight: 600; letter-spacing: 1.5px; text-transform: uppercase; color: #5b6a73; padding-top: 3px; }
.hub-fit-value { font-size: 15px; font-weight: 500; color: #22282b; min-width: 0; }
.hub-checks { display: flex; flex-direction: column; gap: 12px; margin: 0; padding: 0; list-style: none; }
.hub-checks li { display: flex; gap: 12px; align-items: flex-start; font-size: 15px; color: #22282b; }
.hub-checks svg { flex: 0 0 auto; margin-top: 4px; }
.hub-after { margin-top: 32px; }

/* case studies */
.hub-left { align-items: flex-start; text-align: left; margin: 0; }
.hub-filter { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 36px; }
.hub-chip { min-height: 40px; padding: 8px 18px; border: 1.5px solid #cdd5d9; border-radius: 999px; background: #ffffff; color: #22282b; font-family: 'Poppins', sans-serif; font-size: 14px; font-weight: 500; cursor: pointer; transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease; }
.hub-chip:hover { border-color: #36768d; color: #36768d; }
.hub-chip.is-active { background: #275668; border-color: #275668; color: #ffffff; }
.hub-case-list { display: flex; flex-direction: column; gap: 28px; }
.hub-case { overflow: hidden; border: 1px solid #e6e6e7; border-radius: 20px; background: #ffffff; }
.hub-case-img { width: 100%; height: 100%; min-height: 220px; object-fit: cover; }
.hub-case-body { display: flex; flex-direction: column; gap: 14px; padding: 36px; }
.hub-case-title { font-size: 28px; font-weight: 700; letter-spacing: -0.6px; line-height: 1.2; }
.hub-case-h { margin: 10px 0 6px; font-size: 13px; font-weight: 600; letter-spacing: 1.5px; text-transform: uppercase; color: #36768d; }
.hub-case-body p { font-size: 15px; color: #5b6a73; }
.hub-case-quote { margin: 10px 0 0; padding: 20px 24px; border-radius: 14px; background: #f0f8f9; font-size: 17px; font-weight: 500; line-height: 1.5; color: #22282b; }
.hub-case-quote cite { display: block; margin-top: 8px; font-size: 13px; font-style: normal; font-weight: 500; color: #5b6a73; }
.hub-empty { padding: 32px; border: 1px dashed #cdd5d9; border-radius: 20px; text-align: center; color: #5b6a73; }

/* request a quote */
select.field-input { appearance: auto; }
.field-input.is-invalid { border-color: #b4543c; }
.hub-form-error { margin-top: 12px; font-size: 14px; font-weight: 500; color: #b4543c; }
.hub-thanks { display: flex; flex-direction: column; align-items: flex-start; gap: 16px; }
.hub-thanks p { color: #5b6a73; }
.rfq-hello-phone, .rfq-hello-email { user-select: all; }
.hub-book-band { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; padding: 40px 44px; border: 1px solid #e6e6e7; border-radius: 20px; background: #f9fafb; }
.hub-book-band > div { display: flex; flex-direction: column; gap: 10px; max-width: 620px; min-width: 0; }
.hub-book-band .section-title { font-size: 28px; letter-spacing: -0.6px; }
.hub-book-btn { cursor: default; opacity: 0.85; }

/* QR landing page: phone-first, one column */
.hub-qr-wrap { display: flex; flex-direction: column; gap: 22px; max-width: 560px; margin: 0 auto; }
.hub-qr-logo { width: 140px; height: auto; }
.hub-qr-hero .page-title { font-size: 34px; line-height: 1.15; letter-spacing: -0.8px; }
.hub-qr-btn { width: 100%; min-height: 56px; font-size: 16px; }
.hub-qr-benefits { display: flex; flex-direction: column; gap: 18px; }
.hub-qr-benefit { display: flex; gap: 16px; align-items: flex-start; }
.hub-qr-benefit h2 { font-size: 17px; font-weight: 600; }
.hub-qr-benefit p { font-size: 15px; color: #5b6a73; }
.hub-qr-h { margin-top: 12px; font-size: 22px; font-weight: 700; letter-spacing: -0.4px; }
.hub-qr-types { display: flex; flex-direction: column; gap: 10px; }
.hub-qr-type { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 56px; padding: 14px 20px; border: 1px solid #e6e6e7; border-radius: 14px; background: #ffffff; color: #22282b; font-weight: 600; text-decoration: none; transition: border-color 0.2s ease, background-color 0.2s ease; }
.hub-qr-type:hover { border-color: #36768d; background: #f0f8f9; color: #22282b; }
.hub-qr-story { display: flex; flex-direction: column; gap: 10px; margin: 0; padding: 28px; border-radius: 20px; background: #275668; color: #ffffff; }
.hub-qr-story .eyebrow { color: #c7e7ee; }
.hub-qr-story blockquote { margin: 0; font-size: 18px; font-weight: 500; line-height: 1.5; }
.hub-qr-story figcaption { font-size: 14px; color: #c7e7ee; }
.hub-qr-story .hub-card-link { color: #ffffff; }
.hub-qr-story .hub-card-link svg { stroke: #ffffff; }

/* index (all hub pages) */
.page-card-flags { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.page-flag { display: inline-flex; align-items: center; padding: 3px 10px; border-radius: 999px; font-family: 'Poppins', sans-serif; font-size: 11px; font-weight: 600; letter-spacing: 0.6px; text-transform: uppercase; }
.page-flag.is-new { background: #eaf5ef; color: #2f6b4d; }
.page-flag.is-updated { background: #eef1e5; color: #5d6638; }
.page-card-url { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: 12px; color: #5b6a73; }

@media (max-width: 767.98px) {
    .hub-fit, .hub-why { padding: 26px; }
    .hub-fit-list li { grid-template-columns: minmax(0, 1fr); gap: 4px; }
    .hub-case-body { padding: 26px; }
    .hub-book-band { padding: 28px; }
    .hub-qr-hero .page-title { font-size: 28px; }
}
@media (prefers-reduced-motion: reduce) {
    .hub-sol-card, .hub-link-card, .hub-card-link svg { transition: none; }
    a.hub-sol-card:hover, .hub-link-card:hover { transform: none; }
}

/* =================================================================
   SimpleK12 — hub v2 additions (pricing band, long-form sections, courses, compare)
   Same tokens as style.css: ink #22282b, muted #5b6a73, teal #36768d, teal-dark #275668,
   teal-light #c7e7ee, mist #f0f8f9, snow #f9fafb, line #e6e6e7, field #cdd5d9
   ================================================================= */

/* pricing band */
.hub-price { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); overflow: hidden; border-radius: 24px; background: #275668; color: #ffffff; }
.hub-price-main { display: flex; flex-direction: column; justify-content: center; gap: 6px; padding: 56px 48px; background: #22282b; }
.hub-price-main .eyebrow { color: #c7e7ee; margin-bottom: 10px; }
.hub-price-from { font-size: 18px; font-weight: 500; color: #c7e7ee; }
.hub-price-num { display: flex; align-items: baseline; gap: 14px; font-size: 88px; font-weight: 700; line-height: 1; letter-spacing: -2.5px; color: #ffffff; font-variant-numeric: tabular-nums; }
.hub-price-num span { font-size: 18px; font-weight: 500; letter-spacing: 0; color: #c7e7ee; }
.hub-price-note { margin-top: 10px; font-size: 14px; color: #afc8d1; }
.hub-price-body { display: flex; flex-direction: column; gap: 16px; padding: 56px 48px; }
.hub-price-title { font-size: 30px; font-weight: 700; line-height: 1.2; letter-spacing: -0.6px; }
.hub-price-body > p { color: #d6e6ec; max-width: 620px; }
.hub-price-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 24px; margin: 4px 0 0; padding: 0; list-style: none; }
.hub-price-list li { display: flex; gap: 10px; align-items: flex-start; font-size: 15px; color: #ffffff; }
.hub-price-list svg { flex: 0 0 auto; margin-top: 3px; }
.hub-price-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 22px; margin-top: 10px; }
.hub-price-actions span { font-size: 14px; color: #c7e7ee; }

/* long-form prose with an aside */
.hub-prose { display: flex; flex-direction: column; gap: 18px; max-width: 720px; }
.hub-prose p { font-size: 17px; line-height: 1.75; color: #3d4a51; }
.hub-aside { display: flex; flex-direction: column; gap: 18px; padding: 32px; border: 1px solid #e6e6e7; border-radius: 20px; background: #f9fafb; }
.bg_snow .hub-aside, .bg_mist .hub-aside { background: #ffffff; }
.hub-aside h3 { font-size: 18px; font-weight: 600; }

/* sample courses */
.hub-courses { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 20px; margin: 0; padding: 0; list-style: none; }
.hub-course { display: flex; gap: 16px; align-items: flex-start; padding: 20px 22px; border: 1px solid #e6e6e7; border-radius: 16px; background: #ffffff; }
.hub-course > div { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.hub-course h3 { font-size: 16px; font-weight: 600; line-height: 1.4; }
.hub-course span { font-size: 13px; color: #5b6a73; }

/* topic chips + compare strip */
.hub-chips-wrap, .hub-compare-strip { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px 32px; padding: 32px 36px; border: 1px solid #e6e6e7; border-radius: 20px; background: #f9fafb; }
.hub-compare-strip { background: #ffffff; }
.hub-chips-wrap > *, .hub-compare-strip > * { min-width: 0; }
.hub-chips-title { font-size: 22px; font-weight: 700; letter-spacing: -0.4px; }
.hub-compare-strip .eyebrow { display: block; margin-bottom: 6px; }
a.hub-chip-link { display: inline-flex; align-items: center; text-decoration: none; }
.mb-0 { margin-bottom: 0; }

/* compare pages */
.hub-short-box { display: flex; flex-direction: column; gap: 12px; max-width: 900px; padding: 36px 40px; border-left: 4px solid #36768d; border-radius: 0 20px 20px 0; background: #f0f8f9; }
.hub-short-box p { font-size: 19px; line-height: 1.65; color: #22282b; }
.hub-table-wrap { overflow-x: auto; border: 1px solid #e6e6e7; border-radius: 20px; background: #ffffff; }
.hub-table { width: 100%; min-width: 640px; border-collapse: collapse; font-size: 15px; }
.hub-table th, .hub-table td { padding: 18px 22px; border-top: 1px solid #e6e6e7; text-align: left; vertical-align: top; }
.hub-table thead th { border-top: 0; font-size: 13px; font-weight: 600; letter-spacing: 1.5px; text-transform: uppercase; color: #5b6a73; background: #f9fafb; }
.hub-table thead th.is-us { color: #275668; background: #e3eef2; }
.hub-table tbody th { width: 24%; font-weight: 600; color: #22282b; }
.hub-table td { width: 38%; color: #3d4a51; }
.hub-table td:last-child { background: #f0f8f9; color: #22282b; font-weight: 500; }
.hub-fineprint { margin-top: 16px; font-size: 13px; color: #5b6a73; }

/* footer: four columns */
.hub-footer-links { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px; }
.hub-foot-price { margin-top: 18px; max-width: 240px; font-size: 14px; color: #afc8d1; }

@media (max-width: 991.98px) {
    .hub-price { grid-template-columns: minmax(0, 1fr); }
    .hub-footer-links { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 767.98px) {
    .hub-price-main, .hub-price-body { padding: 36px 26px; }
    .hub-price-num { font-size: 68px; }
    .hub-price-list, .hub-courses { grid-template-columns: minmax(0, 1fr); }
    .hub-short-box { padding: 26px; }
    .hub-chips-wrap, .hub-compare-strip { padding: 24px; }
}

/* === Hub index (simplek12b2bhub.html) === */
.pages-group + .pages-group { margin-top: 56px; }
.idx-legend { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.page-flag.is-renamed { background: #e3eef2; color: #275668; }

/* === Responsive fixes (after the WordPress sync) === */
/* style.css gives .footer-col a 160px minimum; two hub footer columns did not fit at 320px */
.hub-footer-links .footer-col {
    min-width: 0;
}
/* eighth tile of the topic grids: the quote prompt */
.hub-quote-tile {
    border-color: #275668;
    background: #275668;
    color: #ffffff;
}
a.hub-quote-tile:hover {
    border-color: #22282b;
    background: #22282b;
    color: #ffffff;
}
.hub-quote-tile .icon-tile {
    background: #ffffff;
    color: #275668;
}
.hub-quote-tile .feature-card-title,
.hub-quote-tile .hub-card-link {
    color: #ffffff;
}
.hub-quote-tile p {
    color: #e3eef2;
}
.hub-index-quote,
.hub-index-quote:hover {
    border-color: #275668;
    background: #275668;
    color: #ffffff;
}
.hub-index-quote .course-card-body {
    justify-content: center;
}
.hub-index-quote .eyebrow {
    color: #c7e7ee;
}
.hub-index-quote .course-card-title,
.hub-index-quote .course-card-link {
    color: #ffffff;
}
.hub-index-quote p {
    color: #e3eef2;
}

/* one h2 size per device, the same as .section-title on the rest of the site
   (30px from 1200px, 24px on tablets, 22px on phones) */
.hub-fit .section-title,
.hub-why .section-title,
.hub-book-band .section-title,
.hub-case-title,
.hub-price-title,
.hub-chips-title {
    font-size: 30px;
}
@media (min-width: 768px) and (max-width: 1199.98px) {
    .hub-fit .section-title,
    .hub-why .section-title,
    .hub-book-band .section-title,
    .hub-case-title,
    .hub-price-title,
    .hub-chips-title {
        font-size: 24px;
    }
}
@media (max-width: 767.98px) {
    .hub-fit .section-title,
    .hub-why .section-title,
    .hub-book-band .section-title,
    .hub-case-title,
    .hub-price-title,
    .hub-chips-title {
        font-size: 22px;
    }
}

/* quote tiles keep light text on hover (style.css turns card links and text dark on hover) */
.hub-index-quote:hover .course-card-title,
.hub-index-quote:hover .course-card-link,
.hub-index-quote:focus-visible .course-card-title,
.hub-index-quote:focus-visible .course-card-link,
a.hub-quote-tile:hover .feature-card-title,
a.hub-quote-tile:hover .hub-card-link,
a.hub-quote-tile:focus-visible .feature-card-title,
a.hub-quote-tile:focus-visible .hub-card-link {
    color: #ffffff;
}
.hub-index-quote:hover .eyebrow,
.hub-index-quote:focus-visible .eyebrow {
    color: #c7e7ee;
}
.hub-index-quote:hover p,
.hub-index-quote:focus-visible p,
a.hub-quote-tile:hover p,
a.hub-quote-tile:focus-visible p {
    color: #e3eef2;
}
.hub-index-quote:hover,
.hub-index-quote:focus-visible {
    border-color: #22282b;
    background: #22282b;
}

/* schools.html: "Real District Success Stories" heading inside the dark proof band, above the quote */
.schools-proof-title {
    margin: 0;
    color: #ffffff;
}

/* === Markup review, Nov 2026 === */
/* pricing: the "No pay-per-session fees" note sits under the Get my price button */
.hub-price-actions { flex-direction: column; align-items: flex-start; gap: 12px; }

/* product screenshots show whole on every device (the 340px crop cut the dashboard off on desktop) */
.schools-row-img { height: auto; object-fit: contain; }

/* compare block: a teal band with three side-by-side comparison cards */
.hub-compare { padding: 56px 48px; border-radius: 24px; background: linear-gradient(135deg, #275668 0%, #36768d 100%); color: #ffffff; }
.hub-compare-head { display: flex; flex-direction: column; align-items: center; gap: 10px; max-width: 680px; margin: 0 auto 36px; text-align: center; }
.hub-compare-head .eyebrow { color: #c7e7ee; }
.hub-compare-head .section-title { color: #ffffff; }
.hub-compare-head p { font-size: 16px; color: #d6e6ec; }
.hub-vs-card { display: flex; flex-direction: column; gap: 18px; height: 100%; padding: 26px 24px; border-radius: 18px; background: #ffffff; color: #22282b; text-decoration: none; box-shadow: 0 10px 30px rgba(15, 40, 50, 0.18); transition: transform 0.25s ease, box-shadow 0.25s ease; }
.hub-vs-card:hover, .hub-vs-card:focus-visible { color: #22282b; transform: translateY(-4px); box-shadow: 0 18px 40px rgba(15, 40, 50, 0.28); }
.hub-vs-names { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 10px; font-family: 'Poppins', sans-serif; font-size: 20px; line-height: 1.25; }
.hub-vs-names strong { font-weight: 700; }
.hub-vs-names strong:first-child { color: #275668; }
.hub-vs-badge { display: inline-flex; align-items: center; justify-content: center; flex: 0 0 auto; width: 34px; height: 34px; border-radius: 50%; background: #c7e7ee; color: #275668; font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.5px; }
.hub-vs-rows { display: flex; flex-direction: column; gap: 10px; }
.hub-vs-row { display: flex; flex-direction: column; gap: 2px; padding: 12px 14px; border-radius: 12px; background: #f9fafb; font-size: 14px; line-height: 1.5; color: #5b6a73; }
.hub-vs-row.is-us { background: #f0f8f9; color: #22282b; font-weight: 500; }
.hub-vs-label { font-size: 12px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; color: #5b6a73; }
.hub-vs-row.is-us .hub-vs-label { color: #275668; }
.hub-vs-btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; margin-top: auto; padding: 12px 14px; border-radius: 10px; white-space: nowrap; background: #36768d; color: #ffffff; font-family: 'Poppins', sans-serif; font-size: 15px; font-weight: 600; transition: background-color 0.2s ease; }
.hub-vs-btn svg { transition: transform 0.25s ease; }
.hub-vs-card:hover .hub-vs-btn { background: #275668; }
.hub-vs-card:hover .hub-vs-btn svg { transform: translateX(4px); }
@media (min-width: 768px) and (max-width: 1199.98px) {
    .hub-compare { padding: 44px 28px; }
    .hub-vs-card { padding: 20px 18px; }
    .hub-vs-names { font-size: 18px; }
    .hub-vs-btn { font-size: 14px; }
}
@media (max-width: 767.98px) {
    .hub-compare { padding: 36px 20px; border-radius: 20px; }
    .hub-compare-head { margin-bottom: 24px; }
    .hub-vs-card { padding: 20px 18px; }
    .hub-vs-names { font-size: 18px; }
    .hub-vs-btn { font-size: 14px; }
}

/* hero image shows whole on iPad and desktop (the theme's fixed 340/420px box with object-fit: cover
   cut the laptop-and-phone and course-card mockups and the cut-out shapes): it keeps its own shape,
   scaled to fit the column and at most 420px tall (400px from 1200px). Phones keep the theme's crop. */
@media (min-width: 768px) {
    .schools-hero .hero-split-media > .edu-hero-img,
    .schools-hero .edu-hero-img {
        width: auto;
        max-width: 100%;
        height: auto;
        max-height: 420px;
        object-fit: contain;
        margin-left: auto;
    }
}
@media (min-width: 1200px) {
    .schools-hero .hero-split-media > .edu-hero-img,
    .schools-hero .edu-hero-img {
        max-height: 400px;
    }
}
