/* Approved transparent Pathways horizontal SVG. */
.pathways-brand {
    line-height: 0;
    margin: 0;
    max-width: 100%;
}

.pathways-brand-full {
    margin-inline: auto;
    max-width: min(100%, 680px);
}

.pathways-brand-compact {
    flex: 0 1 350px;
    max-width: min(100%, 350px);
    width: 100%;
}

.pathways-brand-centred {
    margin-inline: auto;
    width: 100%;
}

.pathways-brand > a {
    display: block;
}

.pathways-brand-logo,
.pathways-brand-logo img {
    display: block;
    height: auto;
    max-width: 100%;
    width: 100%;
}

.pathways-brand-logo img {
    object-fit: contain;
}

/*
 * Twenty Twenty-Five public header.
 *
 * The selectors are deliberately anchored to the Pathways brand so
 * they do not alter navigation content or unrelated block groups.
 */
header.wp-block-template-part {
    overflow: visible;
}

header.wp-block-template-part
    .pathways-brand-full:not(.pathways-brand-centred) {
    flex: 0 1 320px;
    max-width: min(100%, 320px);
}

header.wp-block-template-part
    .wp-block-group.alignwide:has(> .pathways-brand) {
    align-items: center;
    column-gap: clamp(1.5rem, 3vw, 2.5rem);
    overflow: visible;
    padding-bottom: 0.875rem !important;
    padding-top: 0.875rem !important;
}

header.wp-block-template-part
    .wp-block-group.alignwide:has(> .pathways-brand)
    > .wp-block-group:has(> .wp-block-navigation) {
    flex: 1 1 auto;
    min-width: 0;
}

header.wp-block-template-part .wp-block-navigation,
header.wp-block-template-part .wp-block-navigation__responsive-dialog,
header.wp-block-template-part .wp-block-navigation__responsive-container-content {
    overflow: visible;
}

.pathways-session-cluster {
    align-items: center;
    box-sizing: border-box;
    display: flex;
    gap: 0.5rem;
}

.pathways-session-cluster--mobile {
    display: none;
}

header.wp-block-template-part .pathways-session-identity {
    color: #32485a;
    font-size: .9rem;
    line-height: 1.25;
    white-space: nowrap;
}

header.wp-block-template-part .pathways-session-action {
    align-items: center;
    border-radius: 6px;
    box-sizing: border-box;
    display: inline-flex;
    font-size: .9rem;
    justify-content: center;
    min-height: 44px;
    padding: 0.625rem 0.75rem;
    text-decoration: none;
    white-space: nowrap;
}

header.wp-block-template-part .pathways-session-action--portal {
    background: #173f5f;
    color: #fff;
    font-weight: 650;
}

header.wp-block-template-part .pathways-session-action--portal:hover {
    background: #0f304a;
    color: #fff;
}

header.wp-block-template-part .pathways-session-action--sign-out {
    color: #32485a;
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 0.18em;
}

header.wp-block-template-part .pathways-session-action:focus-visible {
    outline: 2px solid currentColor;
    outline-offset: 2px;
}

/*
 * Keep the approved navigation artwork visually compact while giving every
 * menu control a WCAG-sized interactive box. Negative inline margins on the
 * submenu button preserve the established one-line desktop layout without
 * reducing its pointer or keyboard target.
 */
header.wp-block-template-part
    .wp-block-navigation__responsive-container-open,
header.wp-block-template-part
    .wp-block-navigation__responsive-container-close,
header.wp-block-template-part
    .wp-block-navigation-submenu__toggle {
    align-items: center;
    box-sizing: border-box;
    justify-content: center;
    min-height: 44px;
    min-width: 44px;
}

header.wp-block-template-part
    .wp-block-navigation__responsive-container-open,
header.wp-block-template-part
    .wp-block-navigation__responsive-container-close {
    padding: 10px;
}

header.wp-block-template-part .wp-block-navigation-submenu__toggle {
    display: flex;
    margin-inline: -10px -10px;
    padding: 17px;
}

header.wp-block-template-part
    .wp-block-navigation__responsive-container-open
    svg,
header.wp-block-template-part
    .wp-block-navigation__responsive-container-close
    svg {
    height: 24px;
    width: 24px;
}

header.wp-block-template-part
    .wp-block-navigation-submenu__toggle
    svg {
    flex: 0 0 auto;
    height: 10px;
    width: 10px;
}

header.wp-block-template-part
    .wp-block-navigation__responsive-container-open:focus-visible,
header.wp-block-template-part
    .wp-block-navigation__responsive-container-close:focus-visible,
header.wp-block-template-part
    .wp-block-navigation-submenu__toggle:focus-visible {
    border-radius: 4px;
    outline: 2px solid currentColor;
    outline-offset: 2px;
}

header.wp-block-template-part + main {
    margin-block-start: clamp(1.5rem, 2.5vw, 2rem) !important;
}

@media (min-width: 1200px) {
    header.wp-block-template-part .pathways-brand-compact {
        flex: 0 0 340px;
        max-width: 340px;
    }

    header.wp-block-template-part
        .pathways-brand-full:not(.pathways-brand-centred) {
        flex: 0 0 320px;
        max-width: 320px;
    }

    header.wp-block-template-part
        .wp-block-group.alignwide:has(> .pathways-brand) {
        flex-wrap: nowrap !important;
    }

    header.wp-block-template-part
        .wp-block-group.alignwide:has(> .pathways-brand)
        > .wp-block-group:has(> .wp-block-navigation) {
        align-items: center;
        display: flex;
        gap: clamp(0.75rem, 1.25vw, 1.125rem);
        justify-content: flex-end;
    }

    header.wp-block-template-part
        .wp-block-group.alignwide:has(> .pathways-brand)
        > .wp-block-group:has(> .wp-block-navigation),
    header.wp-block-template-part .wp-block-navigation,
    header.wp-block-template-part .wp-block-navigation__responsive-container,
    header.wp-block-template-part .wp-block-navigation__responsive-container-content {
        width: 100%;
    }

    header.wp-block-template-part .wp-block-navigation__container {
        column-gap: clamp(0.625rem, 1.1vw, 0.95rem);
        flex-wrap: nowrap !important;
        justify-content: flex-end;
        row-gap: 0;
    }

    header.wp-block-template-part .pathways-session-cluster--desktop {
        display: flex;
        flex: 0 0 auto;
    }

    header.wp-block-template-part
        .wp-block-navigation__container
        > .wp-block-navigation-item {
        flex: 0 0 auto;
        font-size: clamp(0.875rem, 1.05vw, 0.96875rem);
        white-space: nowrap;
    }
}

/* Keep the full desktop menu beside—not over—the protected logo area. */
@media (min-width: 1200px) and (max-width: 1399px) {
    header.wp-block-template-part .wp-block-navigation__container {
        column-gap: 0.45rem;
    }

    header.wp-block-template-part
        .wp-block-navigation__container
        > .wp-block-navigation-item {
        font-size: 0.84rem;
    }
}

/*
 * Core switches to its horizontal menu at 600px. Keep the existing compact
 * overlay pattern through intermediate widths so the menu never wraps.
 */
@media (min-width: 601px) and (max-width: 1199px) {
    header.wp-block-template-part
        .wp-block-navigation__responsive-container:not(.is-menu-open) {
        display: none !important;
    }

    header.wp-block-template-part
        .wp-block-navigation__responsive-container-open {
        display: flex !important;
    }
}

@media (max-width: 1199px) {
    header.wp-block-template-part .pathways-session-cluster--desktop {
        display: none;
    }

    header.wp-block-template-part .pathways-session-cluster--mobile {
        border-top: 1px solid #cbd7df;
        display: flex;
        flex-wrap: wrap;
        margin-block-start: 0.75rem;
        padding-block-start: 0.75rem;
        width: 100%;
    }
}

@media (max-width: 640px) {
    .pathways-brand {
        max-width: 100%;
    }

    .pathways-brand-full,
    .pathways-brand-compact {
        margin-inline: auto;
        max-width: min(calc(100% - 2rem), 350px);
        width: 100%;
    }

    header.wp-block-template-part .pathways-brand {
        flex-basis: min(76vw, 300px);
        max-width: min(76vw, 300px);
    }
}

/* Shared review-site layout and semantic type scale. */
:root {
    --pathways-page-container: 72rem;
    --pathways-prose-measure: 76ch;
    --pathways-type-body: clamp(1rem, 0.965rem + 0.18vw, 1.125rem);
    --pathways-type-small: 0.875rem;
    --pathways-type-h1: clamp(2.25rem, 3.4vw, 3.35rem);
    --pathways-type-h2: clamp(1.65rem, 2.4vw, 2.1rem);
    --pathways-type-h3: clamp(1.15rem, 1.5vw, 1.35rem);
}

/* Keep short pages full-height while allowing long pages to grow normally. */
.wp-site-blocks {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    min-height: 100dvh;
}

.wp-site-blocks > main {
    flex: 1 0 auto;
}

.wp-site-blocks > footer.wp-block-template-part {
    margin-block-start: auto;
}

body.page main .wp-block-post-title,
body.page .wp-block-post-content > :where(:not(.alignfull)) {
    box-sizing: border-box;
    margin-inline: auto;
    max-width: min(var(--pathways-page-container), calc(100% - 2rem)) !important;
    width: 100%;
}

body.page .wp-block-post-content {
    font-size: var(--pathways-type-body);
    line-height: 1.65;
}

body.page main .wp-block-post-title {
    font-size: var(--pathways-type-h1);
    font-weight: 600;
    letter-spacing: -0.022em;
    line-height: 1.12;
}

body.page .wp-block-post-content h2 {
    font-size: var(--pathways-type-h2);
    font-weight: 600;
    letter-spacing: -0.012em;
    line-height: 1.2;
}

body.page .wp-block-post-content h3 {
    font-size: var(--pathways-type-h3);
    font-weight: 650;
    line-height: 1.3;
}

body.page .wp-block-post-content p,
body.page .wp-block-post-content li,
body.page .wp-block-post-content dt,
body.page .wp-block-post-content dd,
body.page .wp-block-post-content th,
body.page .wp-block-post-content td {
    font-size: var(--pathways-type-body);
}

body.page .wp-block-post-content > :is(p, ul, ol),
.pathways-page-intro > :is(p, ul, ol),
.pathways-schedule-intro > :is(p, ul, ol),
.pathways-syllabus-page > :is(p, ul, ol) {
    box-sizing: border-box;
    padding-inline-end: max(0px, calc(100% - var(--pathways-prose-measure)));
}

.pathways-page-intro,
.pathways-schedule-intro,
.pathways-syllabus-page,
.pathways-team-grid,
.pathways-detail-list {
    margin-inline: auto;
    max-width: min(var(--pathways-page-container), calc(100% - 2rem)) !important;
    width: 100%;
}

.pathways-page-intro > *,
.pathways-schedule-intro > *,
.pathways-syllabus-page > * {
    margin-inline: 0 !important;
    max-width: 100% !important;
}

body.page .wp-block-post-content > .wp-block-group.is-layout-constrained
    > :where(:not(.alignfull, .alignwide)) {
    margin-inline: 0 !important;
    max-width: 100% !important;
}

body.page .wp-block-post-content > .wp-block-group.is-layout-constrained
    > :is(p, ul, ol) {
    box-sizing: border-box;
    padding-inline-end: max(0px, calc(100% - var(--pathways-prose-measure)));
}

.wp-block-post-content figcaption,
.wp-block-post-content .pathways-source-note,
.wp-block-post-content .pathways-card-meta,
.wp-block-post-content .pathways-team-role {
    font-size: var(--pathways-type-small);
    line-height: 1.5;
}

/* Restrained homepage polish for the review candidate. */
.pathways-home-main {
    margin-block-start: 0 !important;
}

.pathways-home-main > .wp-block-post-content {
    margin-block-start: 0;
}

.pathways-home-hero {
    background: #f4f9f8;
    border: 1px solid #c9dfdc;
    border-left: 5px solid #397f89;
    border-radius: 18px;
    box-sizing: border-box;
    margin-inline: auto;
    max-width: min(var(--pathways-page-container), calc(100% - 2rem));
    padding: clamp(1.5rem, 3vw, 2.75rem);
    text-align: center;
}

.pathways-home-hero .pathways-hero-content {
    align-items: center;
    display: flex;
    flex-direction: column;
    margin-inline: auto;
    max-width: 760px;
}

.pathways-home-hero .pathways-hero-eyebrow {
    color: #315e6b;
    font-size: 0.875rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    margin-block: 0 0.55rem;
    text-transform: uppercase;
}

.pathways-home-hero h1 {
    color: #142d4b;
    font-size: var(--pathways-type-h1);
    letter-spacing: -0.025em;
    line-height: 1.06;
    margin-block: 0;
    max-width: 20ch;
    text-align: center;
}

.pathways-home-hero h1 + .pathways-hero-eyebrow {
    margin-block-start: 0.75rem;
}

.pathways-home-hero .pathways-registration-date {
    background: #fff;
    border: 1px solid #d8c49a;
    border-radius: 999px;
    color: #6d4f16;
    display: inline-block;
    font-size: 0.875rem;
    font-weight: 700;
    margin: 1rem auto 0 !important;
    padding: 0.42rem 0.8rem;
    width: fit-content;
}

.pathways-home-hero .pathways-hero-content > p:not(.pathways-hero-eyebrow, .pathways-registration-date) {
    margin-inline: auto;
    max-width: 69ch;
    text-align: center;
}

.pathways-home-hero .wp-block-buttons {
    justify-content: center;
}

.pathways-entry-actions {
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    justify-content: center;
    margin-top: 1.1rem;
}

.pathways-entry-actions--content {
    justify-content: flex-start;
}

.pathways-registration-information .pathways-entry-actions--content {
    margin-inline: 0 !important;
    max-width: 100% !important;
}

.pathways-registration-entry-grid {
    margin-bottom: 0;
}

/* Shared public card system. One anchor is the sole interactive target. */
.pathways-card-grid {
    align-items: stretch;
    display: grid !important;
    gap: clamp(0.9rem, 2vw, 1.25rem);
    grid-template-columns: repeat(3, minmax(0, 1fr));
    margin-block: 1.25rem;
}

.pathways-card-grid--disciplines,
.pathways-discipline-overview {
    margin-inline: auto;
    max-width: min(var(--pathways-page-container), calc(100% - 2rem));
}

.pathways-card,
.pathways-discipline-chip,
.pathways-syllabus-card,
.pathways-schedule-card {
    background: #fff;
    border: 1px solid #cbd9dd;
    border-top: 3px solid #397f89;
    border-radius: 12px;
    box-shadow: 0 1px 2px rgba(18, 50, 74, 0.06);
    box-sizing: border-box;
    color: #18354f;
    display: flex;
    flex-direction: column;
    height: 100%;
    margin: 0;
    min-height: 8rem;
    padding: clamp(1rem, 2vw, 1.3rem);
    position: relative;
    text-align: left;
    text-decoration: none;
    transition: border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.pathways-card:hover,
.pathways-discipline-chip:hover,
.pathways-syllabus-card:hover,
.pathways-schedule-card:hover {
    border-color: #397f89;
    box-shadow: 0 6px 18px rgba(18, 50, 74, 0.12);
    transform: translateY(-2px);
}

.pathways-card:active,
.pathways-discipline-chip:active,
.pathways-syllabus-card:active,
.pathways-schedule-card:active {
    box-shadow: 0 2px 6px rgba(18, 50, 74, 0.1);
    transform: translateY(0);
}

.pathways-card:focus-visible,
.pathways-discipline-chip:focus-visible,
.pathways-syllabus-card:focus-visible,
.pathways-schedule-card:focus-visible {
    border-color: #12324a;
    box-shadow: 0 0 0 2px #fff;
    outline: 3px solid #1f5f8b;
    outline-offset: 3px;
}

.pathways-card-title,
.pathways-discipline-title,
.pathways-syllabus-card-title,
.pathways-schedule-card-title {
    color: #12324a;
    display: block;
    font-size: clamp(1.05rem, 1.7vw, 1.25rem);
    font-weight: 700;
    line-height: 1.25;
    margin: 0;
}

.pathways-card-support,
.pathways-card-meta {
    color: #425a68;
    display: block;
    font-size: 1rem;
    line-height: 1.5;
    margin-top: 0.55rem;
}

.pathways-card-action,
.pathways-discipline-link-cue,
.pathways-syllabus-card-status,
.pathways-schedule-card-cue {
    align-items: center;
    color: #174e73;
    display: inline-flex;
    font-size: 1rem;
    font-weight: 700;
    line-height: 1.35;
    margin-top: auto;
    padding-top: 1.1rem;
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 0.18em;
}

.pathways-card-action::after,
.pathways-discipline-link-cue::after,
.pathways-syllabus-card-status::after,
.pathways-schedule-card-cue::after {
    content: "\00a0→";
    text-decoration: none;
}

.pathways-card-grid--two {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.pathways-card-grid--schedule {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.pathways-card-grid--schedule > .pathways-card {
    grid-column: auto;
}

.pathways-card-grid--schedule > .pathways-card:last-child:nth-child(odd) {
    grid-column: 1 / -1;
    justify-self: center;
    width: calc(50% - 0.625rem);
}

.pathways-card--archive {
    background: #f8fafb;
    border-top-color: #6b7d88;
}

.pathways-card--archive .pathways-card-meta {
    font-size: 0.82rem;
    font-weight: 650;
    letter-spacing: 0.035em;
    text-transform: uppercase;
}

.pathways-schedule-intro {
    margin-bottom: clamp(1.5rem, 3vw, 2.5rem);
}

.pathways-schedule-grid {
    margin-top: 1rem;
}

/* Shared public typography, content rhythm, links, buttons and tables. */
.pathways-syllabus-page > h2,
.pathways-syllabus-page > .wp-block-heading {
    margin-block: clamp(2rem, 4vw, 3rem) 0.75rem;
}

.pathways-syllabus-page > h3,
.pathways-syllabus-page > .wp-block-list,
.pathways-syllabus-page > p {
    margin-block-end: 1rem;
}

.pathways-syllabus-page .wp-block-list li + li {
    margin-top: 0.55rem;
}

.pathways-registration-callout,
.pathways-syllabus-callout {
    background: #f4f8fa;
    border-left: 4px solid #12324a;
    border-radius: 0 8px 8px 0;
    margin: 1.25rem 0;
    padding: 1rem 1.15rem;
}

.pathways-registration-callout p,
.pathways-syllabus-callout p,
.pathways-registration-callout h2,
.pathways-syllabus-callout h2 {
    margin-block: 0;
}

.pathways-registration-callout h2 + p,
.pathways-syllabus-callout h2 + p {
    margin-top: 0.4rem;
}

.wp-block-post-content a:not(.wp-element-button, .pathways-card, .pathways-discipline-chip, .pathways-syllabus-card, .pathways-schedule-card) {
    text-decoration-thickness: 1px;
    text-underline-offset: 0.16em;
}

.wp-block-post-content a:not(.wp-element-button, .pathways-card, .pathways-discipline-chip, .pathways-syllabus-card, .pathways-schedule-card):focus-visible {
    border-radius: 2px;
    outline: 3px solid #1f5f8b;
    outline-offset: 3px;
}

.wp-block-post-content .wp-element-button {
    align-items: center;
    background: #12324a;
    border: 1px solid #12324a;
    border-radius: 7px;
    box-sizing: border-box;
    color: #fff;
    display: inline-flex;
    font-weight: 650;
    justify-content: center;
    line-height: 1.25;
    min-height: 44px;
    padding: 0.68rem 1rem;
    text-decoration: none;
}

.wp-block-post-content .wp-element-button:hover {
    background: #1b4a6c;
    border-color: #1b4a6c;
}

.wp-block-post-content .wp-element-button:active {
    background: #0d2638;
    border-color: #0d2638;
}

.wp-block-post-content .wp-element-button:focus-visible {
    box-shadow: 0 0 0 2px #fff;
    outline: 3px solid #1f5f8b;
    outline-offset: 3px;
}

.wp-block-post-content .is-style-outline .wp-element-button {
    background: #fff;
    color: #12324a;
}

.wp-block-post-content .is-style-outline .wp-element-button:hover {
    background: #eef5f6;
    border-color: #12324a;
}

.pathways-syllabus-page .wp-block-table {
    max-width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.pathways-syllabus-page .wp-block-table table {
    border-collapse: collapse;
    min-width: min(100%, 520px);
}

.pathways-syllabus-page .wp-block-table th,
.pathways-syllabus-page .wp-block-table td {
    padding: 0.7rem 0.8rem;
    vertical-align: top;
}

.pathways-syllabus-page .wp-block-table th {
    background: #eef5f6;
    color: #12324a;
    font-weight: 700;
}

/* Dates use calm label/detail rows rather than detached cards. */
.pathways-detail-list {
    margin-block: 1.25rem 2rem;
}

.pathways-detail-row {
    align-items: start;
    border-top: 1px solid #d3dfe2;
    display: grid;
    gap: 1rem clamp(1.5rem, 4vw, 4rem);
    grid-template-columns: minmax(10rem, 0.42fr) minmax(0, 1fr);
    padding-block: 1.15rem;
}

.pathways-detail-row:last-child {
    border-bottom: 1px solid #d3dfe2;
}

.pathways-detail-row dt {
    color: #31505f;
    font-weight: 700;
    margin: 0;
}

.pathways-detail-row dd {
    margin: 0;
}

.pathways-date-emphasis {
    color: #12324a;
    font-size: 1.08em;
    font-weight: 700;
}


/* Shared team presentation; names use one semantic treatment. */
.pathways-team-grid {
    display: grid;
    gap: 1rem;
    grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr));
    margin-top: 1rem;
}

.pathways-team-section {
    background: #fff;
    border: 1px solid rgba(18, 50, 74, 0.16);
    border-radius: 8px;
    padding: 1rem;
}

.pathways-team-section h3 {
    color: #12324a;
    margin: 0 0 0.75rem;
}

.pathways-team-list {
    display: grid;
    gap: 0.65rem;
    list-style: none;
    margin: 0;
    padding: 0;
}

.pathways-team-list li {
    margin: 0;
}

.pathways-team-name {
    display: block;
    font-size: 1rem;
    font-weight: 650;
    line-height: 1.4;
}

.pathways-team-role {
    color: #52606b;
    display: block;
    font-weight: 500;
    letter-spacing: 0.02em;
    text-transform: uppercase;
}

/* Informational, not an error or warning. */
.pathways-info-callout {
    background: #f4f9f8;
    border: 1px solid #c9dfdc;
    border-left: 4px solid #397f89;
    border-radius: 10px;
    margin-block: 1.5rem 2rem;
    padding: 1rem 1.15rem;
}

.pathways-info-callout h3 {
    color: #12324a;
    font-size: clamp(1.05rem, 2vw, 1.2rem);
    margin: 0 0 0.7rem;
}

.pathways-info-callout .wp-block-list {
    margin-block: 0;
}

.pathways-site-footer {
    border-top: 1px solid #d9e2e6;
    color: #263b4f;
    margin-block-start: clamp(2.5rem, 5vw, 4.5rem);
    padding-block: 1.35rem;
}

.pathways-site-footer-main {
    align-items: center;
    display: flex;
    gap: 1rem 2rem;
    justify-content: space-between;
}

.pathways-site-footer-name {
    margin: 0;
}

.pathways-site-footer .wp-block-navigation__container {
    flex-wrap: wrap;
    gap: 0.65rem 1.25rem;
}

.pathways-site-footer a:focus-visible {
    outline: 3px solid #397f89;
    outline-offset: 3px;
}

.pathways-footer-copyright {
    color: #5a6978;
    font-size: 0.82rem;
    margin: 0.75rem 0 0;
}

@media (min-width: 641px) and (max-width: 1099px) {
    .pathways-card-grid,
    .pathways-card-grid--two,
    .pathways-card-grid--schedule {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .pathways-card-grid--schedule > .pathways-card,
    .pathways-card-grid--schedule > .pathways-card:last-child:nth-child(odd) {
        grid-column: auto;
        width: auto;
    }
}

@media (max-width: 760px) {
    .pathways-site-footer-main {
        align-items: flex-start;
        flex-direction: column;
    }
}

@media (max-width: 640px) {
    .pathways-card-grid,
    .pathways-card-grid--two,
    .pathways-card-grid--schedule {
        grid-template-columns: 1fr;
    }

    .pathways-card-grid--schedule > .pathways-card,
    .pathways-card-grid--schedule > .pathways-card:last-child:nth-child(odd) {
        grid-column: auto;
        width: auto;
    }

    .pathways-card,
    .pathways-discipline-chip,
    .pathways-syllabus-card,
    .pathways-schedule-card {
        min-height: 7.25rem;
    }

    .pathways-syllabus-page .wp-block-table table {
        min-width: 460px;
    }

    .pathways-detail-row {
        gap: 0.35rem;
        grid-template-columns: 1fr;
        padding-block: 1rem;
    }
}

@media (max-width: 420px) {
    .pathways-home-hero,
    .pathways-discipline-overview {
        max-width: calc(100% - 1.25rem);
    }

    .pathways-home-hero {
        border-left-width: 4px;
        border-radius: 14px;
        padding: 1.25rem;
    }

    .pathways-card-grid--disciplines,
    .pathways-discipline-overview {
        max-width: calc(100% - 1.25rem);
    }
}

/* Current edit pass 2: one aligned Registration reading column. */
.pathways-registration-information {
    box-sizing: border-box;
    margin-inline: auto !important;
    max-width: min(var(--pathways-page-container), calc(100% - 2rem)) !important;
    width: 100%;
}

.pathways-registration-information > .wp-block-group,
.pathways-registration-information > .wp-block-group > .wp-block-group {
    box-sizing: border-box;
    margin-inline: 0 !important;
    max-width: 100% !important;
    width: 100%;
}

.pathways-registration-information > .wp-block-group > :where(p, h2, h3, ul, ol),
.pathways-registration-information > .wp-block-group > .wp-block-group > :where(p, h2, h3, ul, ol),
.pathways-registration-information #pathways-festival-eligibility > :where(p, h2, h3, ul, ol) {
    margin-inline: 0 !important;
    max-width: 100% !important;
}

.pathways-registration-information > .wp-block-group > :where(p, ul, ol),
.pathways-registration-information > .wp-block-group > .wp-block-group > :where(p, ul, ol),
.pathways-registration-information #pathways-festival-eligibility > :where(p, ul, ol) {
    box-sizing: border-box;
    padding-inline-end: max(0px, calc(100% - var(--pathways-prose-measure)));
}

.pathways-registration-information > .wp-block-group:first-child,
.pathways-registration-information #pathways-festival-eligibility {
    background: transparent !important;
    border-radius: 0 !important;
    padding-inline: 0 !important;
}

.pathways-registration-information > .wp-block-group:first-child {
    border-block: 1px solid #d3dfe2;
    padding-block: 0.9rem !important;
}

.pathways-registration-information #pathways-festival-eligibility {
    border-top: 1px solid #d3dfe2;
    padding-block: 1.25rem 0 !important;
}

/* One semantic disclosure control owns every public navigation submenu. */
header.wp-block-template-part .pathways-nav-disclosure {
    appearance: none;
    background: transparent;
    border: 0;
    border-radius: 6px;
    color: inherit;
    cursor: pointer;
    display: inline-flex;
    font: inherit;
    gap: 0.4rem;
    justify-content: space-between;
    margin: 0;
    min-height: 44px;
    min-width: 44px;
    padding: 0.55rem 0.3rem;
    text-align: left;
    text-decoration: none;
    width: auto !important;
}

header.wp-block-template-part .pathways-nav-disclosure svg {
    flex: 0 0 auto;
    height: 10px;
    transition: transform 160ms ease;
    width: 10px;
}

header.wp-block-template-part .pathways-nav-disclosure[aria-expanded="true"] svg {
    transform: rotate(180deg);
}

header.wp-block-template-part .pathways-nav-disclosure:focus:not(:focus-visible),
header.wp-block-template-part .wp-block-navigation__responsive-container-open:focus:not(:focus-visible),
header.wp-block-template-part .wp-block-navigation__responsive-container-close:focus:not(:focus-visible) {
    outline: 0;
}

header.wp-block-template-part .pathways-nav-disclosure:focus-visible {
    outline: 3px solid #1f5f8b;
    outline-offset: 2px;
}

header.wp-block-template-part .wp-block-navigation-item.is-pathways-open > .pathways-nav-disclosure {
    background: #eef5f6;
    color: #12324a;
}

.pathways-mobile-menu-header {
    display: none;
}

@media (min-width: 1200px) {
    header.wp-block-template-part
        .wp-block-navigation__container
        > .wp-block-navigation-item.has-child {
        align-items: center;
        display: flex;
    }

    header.wp-block-template-part
        .wp-block-navigation__container
        > .wp-block-navigation-item.has-child
        > .wp-block-navigation__submenu-container:not([hidden]) {
        display: flex;
        opacity: 1;
        visibility: visible;
    }
}

@media (max-width: 1199px) {
    html.pathways-menu-open,
    body.pathways-menu-open {
        overflow: hidden !important;
    }

    header.wp-block-template-part .wp-block-navigation__responsive-container.is-menu-open {
        box-sizing: border-box;
        height: 100dvh;
        inset: 0;
        overflow: hidden;
        padding: 0 !important;
    }

    header.wp-block-template-part
        .wp-block-navigation__responsive-container.is-menu-open
        .wp-block-navigation__responsive-dialog {
        box-sizing: border-box;
        display: flex;
        flex-direction: column;
        gap: 0 !important;
        height: 100%;
        overflow: hidden;
        padding: 0 env(safe-area-inset-right) env(safe-area-inset-bottom) env(safe-area-inset-left);
    }

    header.wp-block-template-part .pathways-mobile-menu-header {
        align-items: center;
        border-bottom: 1px solid #d3dfe2;
        display: flex;
        flex: 0 0 auto;
        justify-content: space-between;
        min-height: 58px;
        padding: calc(0.35rem + env(safe-area-inset-top)) 1rem 0.35rem;
    }

    header.wp-block-template-part .pathways-mobile-menu-brand {
        display: block;
        max-width: min(54vw, 180px);
    }

    header.wp-block-template-part .pathways-mobile-menu-brand img {
        display: block;
        height: auto;
        max-width: 100%;
        width: 100%;
    }

    header.wp-block-template-part
        .wp-block-navigation__responsive-container.is-menu-open
        .wp-block-navigation__responsive-container-close {
        margin: 0;
        position: static;
    }

    header.wp-block-template-part
        .wp-block-navigation__responsive-container.is-menu-open
        .wp-block-navigation__responsive-container-content {
        align-items: stretch;
        box-sizing: border-box;
        display: block;
        flex: 1 1 auto;
        justify-content: flex-start;
        overflow-x: hidden;
        overflow-y: auto;
        padding: 0.35rem 1rem calc(1rem + env(safe-area-inset-bottom));
        width: 100%;
        -webkit-overflow-scrolling: touch;
    }

    header.wp-block-template-part
        .wp-block-navigation__responsive-container.is-menu-open
        .wp-block-navigation__container {
        align-items: stretch;
        display: flex;
        gap: 0.15rem;
        width: 100%;
    }

    header.wp-block-template-part
        .wp-block-navigation__responsive-container.is-menu-open
        .wp-block-navigation__container
        > .wp-block-navigation-item {
        align-items: stretch;
        background: transparent !important;
        border: 0 !important;
        box-shadow: none !important;
        display: flex;
        flex-direction: column;
        outline: 0 !important;
        width: 100%;
    }

    header.wp-block-template-part
        .wp-block-navigation__responsive-container.is-menu-open
        .wp-block-navigation__container
        > .wp-block-navigation-item.is-pathways-open,
    header.wp-block-template-part
        .wp-block-navigation__responsive-container.is-menu-open
        .wp-block-navigation__container
        > .wp-block-navigation-item.is-pathways-open:focus-within {
        background: transparent !important;
        border: 0 !important;
        box-shadow: none !important;
        outline: 0 !important;
    }

    header.wp-block-template-part
        .wp-block-navigation__responsive-container.is-menu-open
        .wp-block-navigation__container
        > .wp-block-navigation-item
        > :is(a, .pathways-nav-disclosure) {
        box-sizing: border-box;
        justify-content: space-between;
        line-height: 1.35;
        min-height: 44px;
        padding: 0.62rem 0.25rem;
        width: 100%;
    }

    header.wp-block-template-part
        .wp-block-navigation__responsive-container.is-menu-open
        .pathways-nav-disclosure {
        display: flex !important;
        width: 100% !important;
    }

    header.wp-block-template-part
        .wp-block-navigation__responsive-container.is-menu-open
        .wp-block-navigation__container
        > .wp-block-navigation-item
        > a {
        justify-content: flex-start;
        text-align: left;
    }

    header.wp-block-template-part
        .wp-block-navigation__responsive-container.is-menu-open
        .wp-block-navigation__submenu-container {
        background: transparent;
        border: 0;
        box-shadow: none;
        box-sizing: border-box;
        display: flex;
        flex-direction: column;
        gap: 0 !important;
        height: auto;
        margin: 0 0 0.2rem;
        opacity: 1;
        padding: 0 0 0 1.15rem !important;
        position: static;
        visibility: visible;
        width: 100%;
    }

    header.wp-block-template-part
        .wp-block-navigation__responsive-container.is-menu-open
        .wp-block-navigation__submenu-container
        > .wp-block-navigation-item {
        background: transparent !important;
        border: 0 !important;
        box-shadow: none !important;
        margin: 0 !important;
        min-height: 44px;
        outline: 0 !important;
        padding: 0 !important;
        width: 100%;
    }

    header.wp-block-template-part
        .wp-block-navigation__responsive-container.is-menu-open
        .wp-block-navigation__submenu-container[hidden] {
        display: none !important;
    }

    header.wp-block-template-part
        .wp-block-navigation__responsive-container.is-menu-open
        .wp-block-navigation__submenu-container a {
        box-sizing: border-box;
        line-height: 1.25;
        min-height: 44px;
        padding: 0.45rem 0.4rem !important;
        text-decoration: none;
        width: 100%;
    }
}

/* Responsive table treatments are selected from the rendered column count. */
.wp-block-table.pathways-table--simple,
.wp-block-table.pathways-table--stacked {
    max-width: 100%;
}

.wp-block-table.pathways-table--simple th {
    hyphens: none;
    overflow-wrap: normal;
    word-break: normal;
}

@media (max-width: 640px) {
    .pathways-review-section,
    .pathways-review-section p,
    .pathways-review-section dd {
        min-width: 0;
        overflow-wrap: anywhere;
    }

    .pathways-card-grid--schedule > .pathways-card,
    .pathways-card-grid--schedule > .pathways-card:last-child:nth-child(odd) {
        justify-self: stretch;
        width: 100%;
    }

    .pathways-syllabus-card,
    .pathways-schedule-card {
        min-height: 0;
        padding: 0.85rem 0.95rem;
    }

    .pathways-syllabus-card-status,
    .pathways-schedule-card-cue {
        margin-top: 0.5rem;
        padding-top: 0;
    }

    .wp-block-table.pathways-table--simple {
        overflow: visible;
    }

    .wp-block-table.pathways-table--simple table {
        min-width: 0 !important;
        table-layout: auto;
        width: 100%;
    }

    .wp-block-table.pathways-table--simple th,
    .wp-block-table.pathways-table--simple td {
        font-size: inherit;
        hyphens: none;
        overflow-wrap: normal;
        padding: 0.55rem 0.45rem;
        word-break: normal;
    }

    .wp-block-table.pathways-table--simple th {
        white-space: normal;
    }

    .wp-block-table.pathways-table--stacked {
        overflow: visible;
    }

    .wp-block-table.pathways-table--stacked table,
    .wp-block-table.pathways-table--stacked tbody,
    .wp-block-table.pathways-table--stacked tr,
    .wp-block-table.pathways-table--stacked td {
        display: block;
        min-width: 0 !important;
        width: 100%;
    }

    .wp-block-table.pathways-table--stacked thead {
        clip: rect(0 0 0 0);
        clip-path: inset(50%);
        height: 1px;
        overflow: hidden;
        position: absolute;
        white-space: nowrap;
        width: 1px;
    }

    .wp-block-table.pathways-table--stacked tbody tr {
        background: #fff;
        border: 1px solid #cbd9dd;
        border-radius: 8px;
        box-sizing: border-box;
        margin-bottom: 0.8rem;
        overflow: hidden;
    }

    .wp-block-table.pathways-table--stacked tbody td {
        border: 0;
        border-bottom: 1px solid #e1e8ea;
        box-sizing: border-box;
        display: grid;
        gap: 0.65rem;
        grid-template-columns: minmax(7.5rem, 42%) minmax(0, 1fr);
        padding: 0.62rem 0.7rem;
    }

    .wp-block-table.pathways-table--stacked tbody td:last-child {
        border-bottom: 0;
    }

    .wp-block-table.pathways-table--stacked tbody td::before {
        color: #12324a;
        content: attr(data-label);
        font-weight: 700;
        overflow-wrap: anywhere;
    }
}

@media (min-width: 320px) and (max-width: 640px) {
    .wp-block-table.pathways-table--simple tbody td:first-child {
        white-space: nowrap;
    }
}

@media (max-width: 280px) {
    .wp-block-post-content {
        overflow-x: clip;
    }

    figure.wp-block-table.pathways-table--simple {
        font-size: 0.875rem;
    }

    .wp-block-table.pathways-table--simple th,
    .wp-block-table.pathways-table--simple td {
        padding-inline: 0.15rem;
    }

    .wp-block-table.pathways-table--simple th {
        font-size: 0.8125rem !important;
    }
}

@media (prefers-reduced-motion: reduce) {
    .pathways-card,
    .pathways-discipline-chip,
    .pathways-syllabus-card,
    .pathways-schedule-card {
        scroll-behavior: auto;
        transition: none;
    }

    header.wp-block-template-part .pathways-nav-disclosure svg {
        transition: none;
    }

    .pathways-card:hover,
    .pathways-discipline-chip:hover,
    .pathways-syllabus-card:hover,
    .pathways-schedule-card:hover {
        transform: none;
    }
}

/*
 * Chrome/WebKit emits this animation when a saved profile autofills a scoped
 * contact field. The shared contact script uses it as one bounded
 * reconciliation signal; it has no visible effect.
 */
@keyframes pathways-autofill-start {
    from { outline-color: transparent; }
    to { outline-color: transparent; }
}

input:-webkit-autofill,
select:-webkit-autofill,
textarea:-webkit-autofill {
    animation-duration: 0.001s;
    animation-name: pathways-autofill-start;
}

/* Shared applicant action system. Navigation links receive a button class only
 * when they are a card/page action; ordinary text links remain text links. */
.pathways-poc-button,
.pathways-primary-button,
.pathways-secondary-button,
.pathways-destructive-button {
    align-items: center;
    border-radius: 7px !important;
    box-sizing: border-box;
    display: inline-flex !important;
    font-family: inherit !important;
    font-size: 1rem !important;
    font-style: normal !important;
    font-variant: normal !important;
    font-weight: 650;
    justify-content: center;
    line-height: 1.2;
    min-height: 44px !important;
    padding: 0.65rem 1rem !important;
    text-align: center;
    text-decoration: none !important;
}

.pathways-primary-button,
.pathways-poc-button {
    background: #12324a !important;
    border: 1px solid #12324a !important;
    color: #fff !important;
}

.pathways-sr-only {
    border: 0 !important;
    clip: rect(1px, 1px, 1px, 1px) !important;
    clip-path: inset(50%) !important;
    height: 1px !important;
    margin: -1px !important;
    overflow: hidden !important;
    padding: 0 !important;
    position: absolute !important;
    width: 1px !important;
}

.pathways-secondary-button {
    background: #fff !important;
    border: 1px solid #12324a !important;
    color: #12324a !important;
}

.pathways-destructive-button {
    background: #fff !important;
    border: 1px solid #a61b1b !important;
    color: #8a1712 !important;
}

.pathways-poc-button:hover,
.pathways-primary-button:hover {
    background: #1b4a6c !important;
}

.pathways-secondary-button:hover,
.pathways-destructive-button:hover {
    background: #f3f7f9 !important;
}

.pathways-poc-button:focus-visible,
.pathways-primary-button:focus-visible,
.pathways-secondary-button:focus-visible,
.pathways-destructive-button:focus-visible {
    outline: 3px solid #1f75a8 !important;
    outline-offset: 3px;
}

.pathways-card-actions,
.pathways-teacher-card-actions {
    align-items: stretch;
    gap: 0.75rem;
}

.pathways-session-warning {
    background: #fff;
    border: 2px solid #12324a;
    border-radius: 10px;
    box-sizing: border-box;
    color: #17232c;
    max-width: min(34rem, calc(100vw - 2rem));
    padding: clamp(1.25rem, 4vw, 2rem);
    width: 100%;
}

.pathways-session-warning::backdrop {
    background: rgb(10 27 39 / 58%);
}

.pathways-session-warning h2 {
    margin-block: 0 0.75rem;
}

.pathways-session-warning .pathways-poc-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-block: 1.25rem 0;
}

.pathways-session-expired-notice {
    margin-block: 1rem 1.5rem;
}

@media (max-width: 420px) {
    .pathways-card-actions > .pathways-poc-button,
    .pathways-card-actions > .pathways-secondary-button,
    .pathways-card-actions > .pathways-destructive-button,
    .pathways-teacher-card-actions > button {
        width: 100% !important;
    }

    .pathways-session-warning .pathways-poc-actions > button {
        width: 100% !important;
    }
}

/* Registration correction batch: readable shared choices and category chart. */
.pathways-wizard [data-unaccompanied-confirmation] label { display:flex; align-items:flex-start; gap:.75rem; font-size:1rem; line-height:1.5; }
.pathways-wizard [data-unaccompanied-confirmation] input[type="checkbox"] { flex:0 0 auto; width:1.15rem; height:1.15rem; margin:.2rem 0 0; }
.pathways-selection-saved { color:#226344; font-size:.9rem; font-weight:600; }
.pathways-category-chart table { width:100%; border-collapse:collapse; margin:1rem 0; }
.pathways-category-chart th,.pathways-category-chart td { padding:.65rem; border-bottom:1px solid #d9e2e8; text-align:left; }
@media(max-width:600px){.pathways-category-chart th,.pathways-category-chart td{padding:.45rem;font-size:.9rem}.pathways-selection>summary{flex-wrap:wrap}.pathways-selection-saved{flex-basis:100%}}

#pathways-participant-review .pathways-review-heading {display:flex;align-items:flex-start;gap:.75rem;}
#pathways-participant-review .pathways-review-heading h3 {flex:1;min-width:0;}
#pathways-participant-review .pathways-review-heading button {flex:0 0 auto;white-space:nowrap;}

.pathways-selection[open]>summary>[data-edit-selection],.pathways-selection[data-saved="0"]>summary>[data-edit-selection]{display:none}.pathways-selection>summary{flex-wrap:wrap}.pathways-selection>summary>[data-selection-summary]{overflow-wrap:anywhere}
