/* =========================================================
   OHS HOMESCHOOLING INFO V2
   Component framework v0.5.0
   Loaded only on pages explicitly flagged with _ohs_hsinfo_v2 = 1.
   ========================================================= */

body.ohs-hsinfo-v2 {
    --ohs-info-teal: #103b46;
    --ohs-info-teal-deep: #0f303f;
    --ohs-info-green: #3a8b2e;
    --ohs-info-green-dark: #2d7124;
    --ohs-info-pale: #f4f8ef;
    --ohs-info-pale-2: #f8fbf5;
    --ohs-info-border: #d7e4cf;
    --ohs-info-text: #263238;
    --ohs-info-muted: #66777b;
    --ohs-info-white: #ffffff;
    --ohs-info-warm: #f7f4ed;
    --ohs-info-shadow: 0 14px 36px rgba(15, 48, 63, 0.09);
    --ohs-info-radius: 12px;
    --ohs-info-content: 820px;
    --ohs-info-sidebar: 260px;
    --ohs-info-wide: 1280px;
}

body.ohs-hsinfo-v2 #main-content {
    background: var(--ohs-info-pale);
}

/* Keep V2 sandbox pages genuinely full width without touching live pages. */
body.ohs-hsinfo-v2 #main-content .et-l--post > .et_builder_inner_content > .et_pb_section,
body.ohs-hsinfo-v2 #main-content .et-l--post > .et_builder_inner_content > .et_pb_section > .et_pb_row {
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow: visible !important;
}

body.ohs-hsinfo-v2 #main-content .et_pb_column,
body.ohs-hsinfo-v2 #main-content .et_pb_code,
body.ohs-hsinfo-v2 #main-content .et_pb_code_inner {
    width: 100%;
    max-width: none;
    margin: 0;
    padding: 0;
    overflow: visible !important;
}

.ohs-info-page,
.ohs-info-page * {
    box-sizing: border-box;
}

.ohs-info-page {
    width: 100%;
    margin: 0;
    color: var(--ohs-info-text);
    font-size: 16px;
    line-height: 1.7;
}

.ohs-info-page a {
    color: var(--ohs-info-green-dark);
    text-decoration-thickness: 1px;
    text-underline-offset: 3px;
}

.ohs-info-page a:hover,
.ohs-info-page a:focus {
    color: var(--ohs-info-teal);
}

.ohs-info-page a:focus-visible,
.ohs-info-page button:focus-visible,
.ohs-info-page summary:focus-visible {
    outline: 3px solid rgba(58, 139, 46, 0.35);
    outline-offset: 3px;
}

/* =========================================================
   BREADCRUMB UTILITY STRIP
   Deliberately separate from the hero: white field, subtle
   borders, and alignment with the article's outer grid.
   ========================================================= */

.ohs-info-breadcrumb-band {
    position: relative;
    z-index: 1;
    width: 100%;
    margin: 0;
    background: var(--ohs-info-white);
    border-top: 1px solid rgba(16, 59, 70, 0.10);
    border-bottom: 1px solid rgba(16, 59, 70, 0.14);
}

.ohs-info-breadcrumbs {
    width: min(94%, var(--ohs-info-wide));
    margin: 0 auto;
    padding: 13px 0;
    color: var(--ohs-info-muted);
    font-size: 13px;
    font-weight: 600;
    line-height: 1.4;
}

.ohs-info-breadcrumbs ol {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0;
    margin: 0 !important;
    padding: 0 !important;
    list-style: none !important;
}

.ohs-info-breadcrumbs li {
    display: inline-flex;
    align-items: center;
    margin: 0 !important;
    padding: 0 !important;
    list-style: none !important;
}

.ohs-info-breadcrumbs li + li::before {
    content: "›";
    margin: 0 10px;
    color: #7d8d91;
    font-size: 14px;
    font-weight: 400;
}

.ohs-info-breadcrumbs a {
    color: var(--ohs-info-teal) !important;
    font-weight: 700;
    text-decoration: none;
}

.ohs-info-breadcrumbs a:hover,
.ohs-info-breadcrumbs a:focus {
    color: var(--ohs-info-green-dark) !important;
    text-decoration: underline;
}

.ohs-info-breadcrumbs [aria-current="page"] {
    color: #4f6065;
    font-weight: 600;
}

/* =========================================================
   FULL-WIDTH COURSE-STYLE HERO
   Mirrors the established OHS course-page proportions, but
   deliberately omits the decorative wave and purchase card.
   ========================================================= */

.ohs-info-hero {
    position: relative;
    display: grid;
    grid-template-columns: 50% 50%;
    width: 100%;
    height: 380px;
    margin: 0;
    padding: 0;
    background: var(--ohs-info-pale);
    overflow: hidden;
}

.ohs-info-hero-copy {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    justify-content: center;
    width: 100% !important;
    max-width: none !important;
    min-width: 0;
    margin: 0 !important;
    padding: 42px 90px 42px clamp(55px, 6vw, 105px);
    background: var(--ohs-info-pale);
}

.ohs-info-eyebrow {
    margin: 0 0 9px;
    color: var(--ohs-info-green-dark);
    font-size: 11px;
    line-height: 1.3;
    font-weight: 700;
    letter-spacing: .11em;
    text-transform: uppercase;
}

.ohs-info-hero h1 {
    width: 100%;
    max-width: 590px;
    margin: 0 0 16px;
    color: var(--ohs-info-teal);
    font-size: clamp(35px, 2.5vw, 44px);
    line-height: 1.06;
    font-weight: 700;
}

.ohs-info-hero-intro {
    width: 100%;
    max-width: 610px;
    margin: 0;
    color: var(--ohs-info-text);
    font-size: 15.5px;
    line-height: 1.55;
}

.ohs-info-hero-media {
    position: relative;
    z-index: 1;
    display: block !important;
    width: 100%;
    height: 380px;
    margin: 0;
    padding: 0;
    background: #dfe9db;
    overflow: hidden;
}

.ohs-info-hero-media img {
    position: relative;
    z-index: 1;
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    width: 100% !important;
    max-width: none !important;
    height: 100% !important;
    min-height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    object-fit: cover;
    object-position: center;
    border: 0;
    border-radius: 0;
}

/* =========================================================
   ARTICLE SHELL + FOLLOWING TOC
   ========================================================= */

.ohs-info-layout {
    display: grid;
    grid-template-columns: minmax(0, var(--ohs-info-content)) minmax(220px, var(--ohs-info-sidebar));
    justify-content: space-between;
    gap: clamp(38px, 4.5vw, 62px);
    width: min(94%, var(--ohs-info-wide));
    margin: 0 auto;
    padding: 58px 0 74px;
    align-items: start;
    background: transparent;
    overflow: visible;
}

.ohs-info-content {
    min-width: 0;
}

.ohs-info-content > :first-child {
    margin-top: 0;
}

/* Keep anchored section headings clear of the fixed site header. */
.ohs-info-content h2[id] {
    scroll-margin-top: 116px;
}

.ohs-info-content h2,
.ohs-info-content h3 {
    color: var(--ohs-info-teal);
    font-weight: 700;
}

.ohs-info-content h2 {
    margin: 52px 0 17px;
    font-size: clamp(28px, 2.05vw, 35px);
    line-height: 1.16;
    scroll-margin-top: 116px;
}

.ohs-info-content h3 {
    margin: 28px 0 9px;
    font-size: clamp(19px, 1.5vw, 23px);
    line-height: 1.25;
    scroll-margin-top: 116px;
}

.ohs-info-content p {
    margin: 0 0 19px;
}

.ohs-info-content ul,
.ohs-info-content ol {
    margin: 0 0 24px 1.35em;
}

.ohs-info-content li {
    margin-bottom: 8px;
}

.ohs-info-lead {
    margin: 0 0 30px;
    color: var(--ohs-info-teal);
    font-size: 19px;
    line-height: 1.62;
}

.ohs-info-sidebar {
    min-width: 0;
    align-self: stretch;
    overflow: visible;
}

.ohs-info-toc-shell {
    position: sticky;
    top: 92px;
    margin: 0;
    overflow: visible;
}

.ohs-info-toc-shell > summary {
    display: none;
}

.ohs-info-toc {
    padding: 23px 22px;
    background: var(--ohs-info-teal-deep);
    color: var(--ohs-info-white);
    border-radius: 10px;
    box-shadow: var(--ohs-info-shadow);
}

.ohs-info-toc-title {
    margin: 0 0 12px;
    color: #a7dc80;
    font-size: 15px;
    line-height: 1.25;
    font-weight: 700;
}

.ohs-info-toc nav,
.ohs-info-toc ol {
    margin: 0;
    padding: 0;
}

.ohs-info-toc ol {
    list-style: none;
}

.ohs-info-toc li + li {
    margin-top: 1px;
}

.ohs-info-toc a {
    display: block;
    padding: 8px 0;
    color: #ffffff;
    border-bottom: 1px solid rgba(255, 255, 255, 0.13);
    font-size: 12.5px;
    line-height: 1.35;
    text-decoration: none;
}

.ohs-info-toc li:last-child a {
    border-bottom: 0;
}

.ohs-info-toc a:hover,
.ohs-info-toc a:focus,
.ohs-info-toc a[aria-current="location"] {
    color: #b8e497;
}

/* =========================================================
   EDITORIAL DEFINITION / PRINCIPLE COMPONENTS
   ========================================================= */

.ohs-info-definition-callout {
    margin: 26px 0 32px;
    padding: 24px 26px;
    background: #ffffff;
    border: 1px solid var(--ohs-info-border);
    border-left: 5px solid var(--ohs-info-green);
    border-radius: 10px;
    box-shadow: 0 7px 22px rgba(15, 48, 63, 0.045);
}

.ohs-info-definition-callout strong {
    color: var(--ohs-info-teal);
}

.ohs-info-principle-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
    margin: 26px 0 34px;
}

.ohs-info-principle {
    padding: 22px;
    background: #ffffff;
    border: 1px solid var(--ohs-info-border);
    border-top: 4px solid var(--ohs-info-green);
    border-radius: 10px;
    box-shadow: 0 6px 18px rgba(15, 48, 63, 0.045);
}

.ohs-info-principle h3 {
    margin-top: 0;
    font-size: 20px;
}

.ohs-info-principle > :last-child,
.ohs-info-definition-callout > :last-child {
    margin-bottom: 0;
}

/* =========================================================
   CALLOUTS
   ========================================================= */

.ohs-info-callout {
    margin: 27px 0;
    padding: 24px 26px;
    background: var(--ohs-info-pale-2);
    border: 1px solid var(--ohs-info-border);
    border-left: 5px solid var(--ohs-info-green);
    border-radius: 10px;
}

.ohs-info-callout > :last-child {
    margin-bottom: 0;
}

.ohs-info-callout--quick {
    background: var(--ohs-info-teal);
    color: #ffffff;
    border: 0;
    border-left: 5px solid #8fd05f;
}

.ohs-info-callout--quick h2,
.ohs-info-callout--quick h3,
.ohs-info-callout--quick strong {
    color: #ffffff;
}

.ohs-info-callout--warm {
    background: var(--ohs-info-warm);
    border-color: #e7decf;
    border-left-color: #9e7b42;
}

.ohs-info-callout-label {
    display: block;
    margin: 0 0 7px;
    color: var(--ohs-info-green-dark);
    font-size: 12px;
    line-height: 1.3;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.ohs-info-callout--quick .ohs-info-callout-label {
    color: #a7dc80;
}

/* =========================================================
   GENERIC CARDS
   ========================================================= */

.ohs-info-card-grid,
.ohs-info-stage-grid,
.ohs-info-definition-grid,
.ohs-info-related-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
    margin: 26px 0 34px;
}

.ohs-info-card,
.ohs-info-stage,
.ohs-info-definition,
.ohs-info-related-card {
    padding: 23px;
    background: #ffffff;
    border: 1px solid var(--ohs-info-border);
    border-radius: var(--ohs-info-radius);
    box-shadow: 0 7px 22px rgba(15, 48, 63, 0.05);
}

.ohs-info-card h3,
.ohs-info-stage h3,
.ohs-info-definition h3,
.ohs-info-related-card h3 {
    margin-top: 0;
}

.ohs-info-card > :last-child,
.ohs-info-stage > :last-child,
.ohs-info-definition > :last-child,
.ohs-info-related-card > :last-child {
    margin-bottom: 0;
}

.ohs-info-card-link {
    display: block;
    height: 100%;
    color: inherit !important;
    text-decoration: none !important;
}

.ohs-info-card-link:hover,
.ohs-info-card-link:focus {
    transform: translateY(-2px);
}

/* =========================================================
   COMPARISONS
   ========================================================= */

.ohs-info-comparison {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
    margin: 28px 0;
}

.ohs-info-comparison-card {
    padding: 25px;
    background: #ffffff;
    border: 1px solid var(--ohs-info-border);
    border-radius: var(--ohs-info-radius);
}

.ohs-info-comparison-card h3 {
    margin-top: 0;
}

/* =========================================================
   NUMBERED STEPS
   ========================================================= */

.ohs-info-steps {
    counter-reset: ohs-info-step;
    display: grid;
    gap: 14px;
    margin: 27px 0 34px;
}

.ohs-info-step {
    counter-increment: ohs-info-step;
    position: relative;
    padding: 21px 24px 21px 78px;
    background: #ffffff;
    border: 1px solid var(--ohs-info-border);
    border-radius: 11px;
}

.ohs-info-step::before {
    content: counter(ohs-info-step);
    position: absolute;
    left: 22px;
    top: 20px;
    display: grid;
    place-items: center;
    width: 38px;
    height: 38px;
    border-radius: 999px;
    background: var(--ohs-info-green);
    color: #ffffff;
    font-weight: 700;
}

.ohs-info-step h3 {
    margin: 0 0 7px;
}

.ohs-info-step > :last-child {
    margin-bottom: 0;
}

/* =========================================================
   CHECKLISTS
   ========================================================= */

.ohs-info-checklist {
    margin: 27px 0;
    padding: 25px;
    background: #edf5e7;
    border: 1px solid var(--ohs-info-border);
    border-radius: var(--ohs-info-radius);
}

.ohs-info-checklist ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.ohs-info-checklist li {
    position: relative;
    margin: 0;
    padding: 9px 0 9px 34px;
    border-bottom: 1px solid rgba(16, 59, 70, 0.10);
}

.ohs-info-checklist li:last-child {
    border-bottom: 0;
}

.ohs-info-checklist li::before {
    content: "✓";
    position: absolute;
    left: 0;
    top: 8px;
    color: var(--ohs-info-green-dark);
    font-weight: 800;
}

/* =========================================================
   TABLES
   ========================================================= */

.ohs-info-table-wrap {
    width: 100%;
    margin: 28px 0;
    overflow-x: auto;
    border: 1px solid var(--ohs-info-border);
    border-radius: 12px;
}

.ohs-info-table {
    width: 100%;
    min-width: 560px;
    border-collapse: collapse;
    background: #ffffff;
}

.ohs-info-table th,
.ohs-info-table td {
    padding: 14px 16px;
    border-bottom: 1px solid var(--ohs-info-border);
    text-align: left;
    vertical-align: top;
}

.ohs-info-table th {
    background: var(--ohs-info-teal);
    color: #ffffff;
    font-weight: 700;
}

.ohs-info-table tr:last-child td {
    border-bottom: 0;
}

/* =========================================================
   FAQ
   ========================================================= */

.ohs-info-faq-list {
    display: grid;
    gap: 11px;
    margin: 27px 0;
}

.ohs-info-faq-list details {
    background: #ffffff;
    border: 1px solid var(--ohs-info-border);
    border-radius: 9px;
    overflow: hidden;
}

.ohs-info-faq-list summary {
    cursor: pointer;
    padding: 17px 50px 17px 20px;
    color: var(--ohs-info-teal);
    font-weight: 700;
    list-style: none;
    position: relative;
}

.ohs-info-faq-list summary::-webkit-details-marker {
    display: none;
}

.ohs-info-faq-list summary::after {
    content: "+";
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--ohs-info-green-dark);
    font-size: 24px;
    line-height: 1;
}

.ohs-info-faq-list details[open] summary::after {
    content: "−";
}

.ohs-info-faq-answer {
    padding: 0 20px 18px;
}

.ohs-info-faq-answer > :last-child {
    margin-bottom: 0;
}

/* =========================================================
   RELATED GUIDES + COURSE PATHS
   ========================================================= */

.ohs-info-related,
.ohs-info-course-path,
.ohs-info-closing {
    width: 100%;
    padding: 58px 0;
}

.ohs-info-related {
    background: #edf5e7;
    border-top: 1px solid var(--ohs-info-border);
}

.ohs-info-course-path {
    background: var(--ohs-info-teal);
    color: #ffffff;
}

.ohs-info-closing {
    background: var(--ohs-info-pale);
}

.ohs-info-band-inner {
    width: min(94%, var(--ohs-info-wide));
    margin: 0 auto;
}

.ohs-info-band-inner > h2 {
    margin: 0 0 12px;
    color: var(--ohs-info-teal);
    font-size: clamp(28px, 2.05vw, 35px);
    line-height: 1.15;
}

.ohs-info-course-path .ohs-info-band-inner > h2 {
    color: #ffffff;
}

.ohs-info-course-path .ohs-info-card {
    border-color: rgba(255,255,255,.16);
    box-shadow: none;
}

.ohs-info-related-grid--three,
.ohs-info-course-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
    margin-top: 26px;
}

.ohs-info-course-card {
    padding: 23px;
    background: #ffffff;
    color: var(--ohs-info-text);
    border-radius: var(--ohs-info-radius);
}

.ohs-info-course-card h3 {
    margin: 0 0 10px;
    color: var(--ohs-info-teal);
}

.ohs-info-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 11px 18px;
    border-radius: 7px;
    background: var(--ohs-info-green);
    color: #ffffff !important;
    font-weight: 700;
    text-decoration: none !important;
}

.ohs-info-button:hover,
.ohs-info-button:focus {
    background: var(--ohs-info-green-dark);
    color: #ffffff !important;
}

.ohs-info-button--light {
    background: #ffffff;
    color: var(--ohs-info-teal) !important;
}

/* =========================================================
   SOURCES / REVIEW NOTES
   ========================================================= */

.ohs-info-sources {
    margin: 38px 0 0;
    padding: 24px;
    background: #f6f7f7;
    border-radius: 10px;
    color: var(--ohs-info-muted);
    font-size: 14px;
}

.ohs-info-sources h2,
.ohs-info-sources h3 {
    color: var(--ohs-info-teal);
}

.ohs-info-reviewed {
    margin-top: 14px;
    color: var(--ohs-info-muted);
    font-size: 13px;
}

/* =========================================================
   SANDBOX FOOTER NORMALISATION
   The draft is an ordinary Page, so explicitly use the dark OHS footer
   treatment while the V2 layout is being developed.
   ========================================================= */

body.ohs-hsinfo-v2 #main-footer,
body.ohs-hsinfo-v2 #footer-bottom,
body.ohs-hsinfo-v2 .et-l--footer,
body.ohs-hsinfo-v2 .et-l--footer .et_pb_section {
    background: var(--ohs-info-teal-deep) !important;
}

body.ohs-hsinfo-v2 #main-footer,
body.ohs-hsinfo-v2 #main-footer p,
body.ohs-hsinfo-v2 #footer-bottom,
body.ohs-hsinfo-v2 #footer-bottom p,
body.ohs-hsinfo-v2 .et-l--footer,
body.ohs-hsinfo-v2 .et-l--footer p,
body.ohs-hsinfo-v2 .et-l--footer li {
    color: #c4d0d3 !important;
}

body.ohs-hsinfo-v2 #main-footer h2,
body.ohs-hsinfo-v2 #main-footer h3,
body.ohs-hsinfo-v2 #main-footer h4,
body.ohs-hsinfo-v2 .et-l--footer h2,
body.ohs-hsinfo-v2 .et-l--footer h3,
body.ohs-hsinfo-v2 .et-l--footer h4 {
    color: #ffffff !important;
}

body.ohs-hsinfo-v2 #main-footer a,
body.ohs-hsinfo-v2 #footer-bottom a,
body.ohs-hsinfo-v2 .et-l--footer a {
    color: #ffffff !important;
}

/* =========================================================
   RESPONSIVE
   ========================================================= */

@media (max-width: 1180px) {
    .ohs-info-layout {
        grid-template-columns: minmax(0, 1fr) 240px;
        gap: 38px;
    }

    .ohs-info-principle-grid {
        grid-template-columns: 1fr;
    }
}

/* Match the course-page hero behaviour: stack before the 50/50
   desktop composition becomes cramped on smaller laptops/tablets. */
@media (max-width: 1100px) {
    .ohs-info-hero {
        display: block;
        height: auto;
    }

    .ohs-info-hero-copy {
        padding: 40px 6% 34px;
    }

    .ohs-info-hero-media {
        height: auto;
        aspect-ratio: 1672 / 941;
    }

    .ohs-info-hero-media img {
        width: 100% !important;
        height: 100% !important;
    }
}

@media (max-width: 980px) {
    .ohs-info-layout {
        grid-template-columns: 1fr;
        gap: 0;
        width: min(90%, var(--ohs-info-content));
        padding-top: 38px;
    }

    /* The contents panel is valuable on desktop, but on phones and
       tablets it competes with the article itself. Heading IDs remain
       in the document for deep links and SEO/accessibility structure. */
    .ohs-info-sidebar {
        display: none !important;
    }

    .ohs-info-related-grid--three,
    .ohs-info-course-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 700px) {
    /* Mobile is the primary reading experience. Keep the same visual
       language as desktop, but flatten, simplify and open up the rhythm. */
    body.ohs-hsinfo-v2 #main-content {
        overflow-x: hidden;
    }

    .ohs-info-page {
        font-size: 16px;
        line-height: 1.68;
    }

    .ohs-info-breadcrumbs,
    .ohs-info-layout,
    .ohs-info-band-inner {
        width: calc(100% - 32px);
    }

    .ohs-info-breadcrumbs {
        padding: 11px 0;
        font-size: 12.5px;
        line-height: 1.45;
    }

    .ohs-info-breadcrumbs ol {
        row-gap: 3px;
    }

    .ohs-info-breadcrumbs li + li::before {
        margin: 0 7px;
    }

    .ohs-info-hero-copy {
        padding: 30px 20px 25px;
    }

    .ohs-info-eyebrow {
        margin-bottom: 8px;
        font-size: 10.5px;
    }

    .ohs-info-hero h1 {
        max-width: 430px;
        margin-bottom: 13px;
        font-size: 31px;
        line-height: 1.06;
    }

    .ohs-info-hero-intro {
        max-width: 520px;
        font-size: 16px;
        line-height: 1.56;
    }

    .ohs-info-hero-media {
        aspect-ratio: 16 / 9;
    }

    .ohs-info-layout {
        padding: 34px 0 54px;
    }

    .ohs-info-content h2 {
        margin: 38px 0 14px;
        font-size: 25px;
        line-height: 1.15;
        scroll-margin-top: 24px;
    }

    .ohs-info-content h3 {
        margin: 22px 0 7px;
        font-size: 18px;
        line-height: 1.25;
        scroll-margin-top: 24px;
    }

    .ohs-info-content p {
        margin-bottom: 17px;
    }

    .ohs-info-lead {
        margin-bottom: 25px;
        font-size: 17.5px;
        line-height: 1.58;
    }

    .ohs-info-definition-callout,
    .ohs-info-callout {
        margin: 21px 0 27px;
        padding: 18px;
        border-left-width: 4px;
        border-radius: 8px;
        box-shadow: none;
    }

    .ohs-info-principle-grid,
    .ohs-info-card-grid,
    .ohs-info-stage-grid,
    .ohs-info-definition-grid,
    .ohs-info-related-grid,
    .ohs-info-comparison {
        grid-template-columns: 1fr;
        gap: 12px;
        margin: 20px 0 28px;
    }

    .ohs-info-principle,
    .ohs-info-card,
    .ohs-info-stage,
    .ohs-info-definition,
    .ohs-info-related-card,
    .ohs-info-comparison-card,
    .ohs-info-course-card {
        padding: 17px;
        border-radius: 8px;
        box-shadow: none;
    }

    .ohs-info-principle {
        border-top-width: 3px;
    }

    .ohs-info-principle h3,
    .ohs-info-card h3,
    .ohs-info-stage h3,
    .ohs-info-definition h3,
    .ohs-info-related-card h3,
    .ohs-info-comparison-card h3,
    .ohs-info-course-card h3 {
        font-size: 18px;
        line-height: 1.25;
    }

    .ohs-info-steps {
        gap: 10px;
        margin: 21px 0 29px;
    }

    .ohs-info-step {
        min-height: 62px;
        padding: 17px 16px 17px 58px;
        border-radius: 8px;
    }

    .ohs-info-step::before {
        top: 16px;
        left: 15px;
        width: 30px;
        height: 30px;
        font-size: 14px;
    }

    .ohs-info-step h3 {
        margin: 0 0 6px;
        font-size: 18px;
    }

    .ohs-info-checklist {
        margin: 21px 0 27px;
        padding: 18px;
        border-radius: 8px;
    }

    .ohs-info-checklist li {
        padding: 8px 0 8px 28px;
    }

    .ohs-info-checklist li::before {
        top: 7px;
    }

    .ohs-info-table-wrap {
        margin: 22px 0 28px;
        border-radius: 8px;
    }

    .ohs-info-table th,
    .ohs-info-table td {
        padding: 12px 13px;
        font-size: 14px;
    }

    .ohs-info-faq-list {
        gap: 8px;
        margin: 21px 0 27px;
    }

    .ohs-info-faq-list details {
        border-radius: 7px;
    }

    .ohs-info-faq-list summary {
        padding: 15px 44px 15px 16px;
        font-size: 15.5px;
        line-height: 1.35;
    }

    .ohs-info-faq-list summary::after {
        right: 16px;
        font-size: 22px;
    }

    .ohs-info-faq-answer {
        padding: 0 16px 16px;
    }

    .ohs-info-related,
    .ohs-info-course-path,
    .ohs-info-closing {
        padding: 40px 0;
    }

    .ohs-info-band-inner > h2 {
        font-size: 25px;
        line-height: 1.15;
    }

    .ohs-info-related-grid--three,
    .ohs-info-course-grid {
        grid-template-columns: 1fr;
        gap: 12px;
        margin-top: 20px;
    }

    .ohs-info-button {
        min-height: 46px;
        padding: 11px 16px;
    }

    .ohs-info-sources {
        margin-top: 30px;
        padding: 18px;
        font-size: 13.5px;
    }
}

@media (max-width: 480px) {
    .ohs-info-breadcrumbs,
    .ohs-info-layout,
    .ohs-info-band-inner {
        width: calc(100% - 28px);
    }

    .ohs-info-breadcrumbs {
        font-size: 12px;
    }

    .ohs-info-breadcrumbs li + li::before {
        margin: 0 6px;
    }

    .ohs-info-hero-copy {
        padding: 27px 18px 23px;
    }

    .ohs-info-hero h1 {
        font-size: 29px;
        line-height: 1.05;
    }

    .ohs-info-hero-intro {
        font-size: 15.5px;
    }

    .ohs-info-layout {
        padding-top: 30px;
    }

    .ohs-info-content h2 {
        margin-top: 35px;
        font-size: 23px;
        line-height: 1.16;
    }

    .ohs-info-content h3,
    .ohs-info-principle h3,
    .ohs-info-card h3,
    .ohs-info-stage h3,
    .ohs-info-definition h3,
    .ohs-info-related-card h3,
    .ohs-info-comparison-card h3,
    .ohs-info-course-card h3,
    .ohs-info-step h3 {
        font-size: 17.5px;
    }

    .ohs-info-definition-callout,
    .ohs-info-callout,
    .ohs-info-principle,
    .ohs-info-card,
    .ohs-info-stage,
    .ohs-info-definition,
    .ohs-info-related-card,
    .ohs-info-comparison-card,
    .ohs-info-course-card,
    .ohs-info-checklist {
        padding: 16px;
    }

    .ohs-info-step {
        padding: 16px 14px 16px 54px;
    }

    .ohs-info-step::before {
        left: 13px;
        top: 15px;
        width: 28px;
        height: 28px;
        font-size: 13px;
    }

    /* v0.4.1: make the related-guide band read as an intentional
       mobile navigation list rather than a collapsed desktop grid. */
    .ohs-info-related-grid,
    .ohs-info-related-grid--three {
        display: flex;
        flex-direction: column;
        gap: 10px;
        margin: 18px 0 0;
    }

    .ohs-info-related-card {
        width: 100%;
        padding: 15px 16px;
    }

    .ohs-info-related-card h3 {
        margin-bottom: 5px;
        line-height: 1.2;
    }

    .ohs-info-related-card p {
        margin-bottom: 0;
        line-height: 1.5;
    }
}


/* =========================================================
   HOMESCHOOLING INFORMATION HUB
   Discovery/navigation layout built on the V2 article system.
   ========================================================= */

.ohs-info-hub {
    background: var(--ohs-info-pale);
}

.ohs-info-hub .ohs-info-hero-copy {
    padding-right: clamp(42px, 5vw, 90px);
}

.ohs-info-hub-main {
    width: min(94%, 1180px);
    margin: 0 auto;
    padding: 68px 0 76px;
}

.ohs-info-hub-main > :first-child {
    margin-top: 0;
}

.ohs-info-hub-section + .ohs-info-hub-section {
    margin-top: 72px;
}

.ohs-info-hub-section-head {
    max-width: 820px;
    margin-bottom: 28px;
}

.ohs-info-hub-section-head .ohs-info-eyebrow {
    margin-bottom: 8px;
}

.ohs-info-hub-section h2,
.ohs-info-hub-help h2 {
    margin: 0 0 13px;
    color: var(--ohs-info-teal);
    font-size: clamp(30px, 2.35vw, 40px);
    line-height: 1.12;
    font-weight: 700;
}

.ohs-info-hub-section-head > p:last-child {
    margin-bottom: 0;
    color: #4d6065;
    font-size: 17px;
    line-height: 1.65;
}

.ohs-info-hub-path-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
}

.ohs-info-hub-path {
    min-width: 0;
    padding: 27px 26px 20px;
    background: #ffffff;
    border: 1px solid var(--ohs-info-border);
    border-top: 4px solid var(--ohs-info-green);
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(15, 48, 63, 0.05);
}

.ohs-info-hub-path > h3 {
    margin: 0 0 8px;
    color: var(--ohs-info-teal);
    font-size: 23px;
    line-height: 1.18;
}

.ohs-info-hub-path > p {
    margin: 0 0 18px;
    color: #5d6c70;
    font-size: 14.5px;
    line-height: 1.55;
}

.ohs-info-hub-links {
    margin: 0 !important;
    padding: 0 !important;
    list-style: none !important;
}

.ohs-info-hub-links li {
    margin: 0 !important;
    padding: 0 !important;
    list-style: none !important;
    border-top: 1px solid #e5ece1;
}

.ohs-info-hub-link,
.ohs-info-hub-link--planned {
    position: relative;
    display: block;
    min-height: 74px;
    padding: 15px 32px 14px 0;
    color: var(--ohs-info-text) !important;
    text-decoration: none !important;
}

.ohs-info-hub-link strong,
.ohs-info-hub-link--planned strong {
    display: block;
    margin-bottom: 3px;
    color: var(--ohs-info-teal);
    font-size: 16px;
    line-height: 1.28;
}

.ohs-info-hub-link span,
.ohs-info-hub-link--planned span {
    display: block;
    color: #617176;
    font-size: 13.5px;
    line-height: 1.45;
}

.ohs-info-hub-link::after {
    content: "›";
    position: absolute;
    right: 4px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--ohs-info-green-dark);
    font-size: 27px;
    font-weight: 400;
    line-height: 1;
}

.ohs-info-hub-link:hover strong,
.ohs-info-hub-link:focus strong {
    color: var(--ohs-info-green-dark);
}

.ohs-info-hub-link--planned {
    padding-right: 0;
}

.ohs-info-hub-planned-label {
    display: inline-flex !important;
    width: auto;
    margin-top: 7px;
    padding: 3px 8px;
    border-radius: 999px;
    background: #edf5e7;
    color: var(--ohs-info-green-dark) !important;
    font-size: 11px !important;
    line-height: 1.35 !important;
    font-weight: 700;
    letter-spacing: .03em;
    text-transform: uppercase;
}

.ohs-info-hub-feature {
    display: grid;
    grid-template-columns: minmax(0, 1.25fr) minmax(280px, .75fr);
    gap: 0;
    overflow: hidden;
    background: var(--ohs-info-teal);
    color: #ffffff;
    border-radius: 14px;
    box-shadow: 0 12px 30px rgba(15, 48, 63, 0.10);
}

.ohs-info-hub-feature-copy {
    padding: 38px 40px;
}

.ohs-info-hub-feature-copy .ohs-info-eyebrow {
    color: #a7dc80;
}

.ohs-info-hub-feature-copy h3 {
    margin: 0 0 14px;
    color: #ffffff;
    font-size: clamp(26px, 2vw, 34px);
    line-height: 1.13;
}

.ohs-info-hub-feature-copy p {
    margin: 0 0 22px;
    max-width: 760px;
    color: #e7eff1;
    font-size: 16px;
    line-height: 1.65;
}

.ohs-info-hub-feature-note {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 34px;
    background: rgba(255,255,255,.07);
    border-left: 1px solid rgba(255,255,255,.13);
}

.ohs-info-hub-feature-note strong {
    display: block;
    margin-bottom: 8px;
    color: #ffffff;
    font-size: 17px;
}

.ohs-info-hub-feature-note p {
    margin: 0;
    color: #d9e5e8;
    font-size: 14px;
    line-height: 1.55;
}

.ohs-info-hub-route-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
}

.ohs-info-hub-route {
    display: flex;
    flex-direction: column;
    min-height: 100%;
    padding: 26px;
    background: #ffffff;
    border: 1px solid var(--ohs-info-border);
    border-radius: 12px;
}

.ohs-info-hub-route-label {
    margin: 0 0 7px;
    color: var(--ohs-info-green-dark);
    font-size: 11px;
    line-height: 1.3;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.ohs-info-hub-route h3 {
    margin: 0 0 10px;
    color: var(--ohs-info-teal);
    font-size: 23px;
    line-height: 1.2;
}

.ohs-info-hub-route p {
    margin: 0 0 20px;
}

.ohs-info-hub-route .ohs-info-button {
    margin-top: auto;
    align-self: flex-start;
}

.ohs-info-hub-help {
    width: 100%;
    padding: 60px 0;
    background: #edf5e7;
    border-top: 1px solid var(--ohs-info-border);
}

.ohs-info-hub-help-inner {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 36px;
    width: min(94%, 1180px);
    margin: 0 auto;
}

.ohs-info-hub-help h2 {
    margin-bottom: 10px;
}

.ohs-info-hub-help p {
    max-width: 760px;
    margin: 0;
    color: #4d6065;
    font-size: 16px;
    line-height: 1.6;
}

.ohs-info-hub-help-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: flex-end;
}

.ohs-info-button--outline {
    background: transparent;
    color: var(--ohs-info-teal) !important;
    border: 2px solid var(--ohs-info-teal);
}

.ohs-info-button--outline:hover,
.ohs-info-button--outline:focus {
    background: var(--ohs-info-teal);
    color: #ffffff !important;
}

@media (max-width: 980px) {
    .ohs-info-hub-main {
        width: min(90%, 820px);
        padding: 50px 0 62px;
    }

    .ohs-info-hub-path-grid,
    .ohs-info-hub-route-grid {
        grid-template-columns: 1fr;
    }

    .ohs-info-hub-feature {
        grid-template-columns: 1fr;
    }

    .ohs-info-hub-feature-note {
        border-left: 0;
        border-top: 1px solid rgba(255,255,255,.13);
    }

    .ohs-info-hub-help-inner {
        grid-template-columns: 1fr;
        width: min(90%, 820px);
    }

    .ohs-info-hub-help-actions {
        justify-content: flex-start;
    }
}

@media (max-width: 700px) {
    .ohs-info-hub-main {
        width: calc(100% - 32px);
        padding: 38px 0 50px;
    }

    .ohs-info-hub-section + .ohs-info-hub-section {
        margin-top: 48px;
    }

    .ohs-info-hub-section-head {
        margin-bottom: 20px;
    }

    .ohs-info-hub-section h2,
    .ohs-info-hub-help h2 {
        font-size: 28px;
        line-height: 1.12;
    }

    .ohs-info-hub-section-head > p:last-child {
        font-size: 16px;
        line-height: 1.58;
    }

    .ohs-info-hub-path-grid,
    .ohs-info-hub-route-grid {
        gap: 13px;
    }

    .ohs-info-hub-path,
    .ohs-info-hub-route {
        padding: 20px 18px 15px;
        border-radius: 9px;
        box-shadow: none;
    }

    .ohs-info-hub-path > h3,
    .ohs-info-hub-route h3 {
        font-size: 21px;
    }

    .ohs-info-hub-link,
    .ohs-info-hub-link--planned {
        min-height: 0;
        padding-top: 13px;
        padding-bottom: 13px;
    }

    .ohs-info-hub-feature {
        border-radius: 10px;
        box-shadow: none;
    }

    .ohs-info-hub-feature-copy,
    .ohs-info-hub-feature-note {
        padding: 24px 20px;
    }

    .ohs-info-hub-feature-copy h3 {
        font-size: 26px;
    }

    .ohs-info-hub-help {
        padding: 44px 0;
    }

    .ohs-info-hub-help-inner {
        width: calc(100% - 32px);
        gap: 22px;
    }

    .ohs-info-hub-help-actions {
        display: grid;
        grid-template-columns: 1fr;
        width: 100%;
    }

    .ohs-info-hub-help-actions .ohs-info-button {
        width: 100%;
    }
}
