/*
 * IBT College - AI Virtual Campus landing page
 * ---------------------------------------------------------------------------
 * Standalone landing page. It deliberately does NOT inherit the main site
 * stylesheet: the theme's CSS/JS is dequeued on this template so the design
 * below stands on its own (Georgia/Arial typeface, its own palette, buttons,
 * sticky header and slim dark footer).
 *
 * Class prefix: .avc-  (keeps plugin CSS, e.g. Gravity Forms, from colliding)
 */

 html {
     scroll-behavior: smooth;
 }

.avc-body {
    --avc-navy: #0a2d67;
    --avc-navy2: #071d47;
    --avc-red: #e41f35;
    --avc-ink: #132644;
    --avc-muted: #66738a;
    --avc-line: #dfe5ee;
    --avc-bg: #f7f9fc;

    margin: 0;
    font-family: Arial, Helvetica, sans-serif;
    color: var(--avc-ink);
    line-height: 1.45;
    background: #fff;
    -webkit-font-smoothing: antialiased;
}

.avc-body *,
.avc-body *::before,
.avc-body *::after {
    box-sizing: border-box;
}

.avc-body a {
    text-decoration: none;
    color: inherit;
}

.avc-body img {
    max-width: 100%;
}

.avc-container {
    width: min(1180px, 92vw);
    margin: auto;
}

.avc-sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* ------------------------------------------------------------------ Buttons */

.avc-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 20px;
    border-radius: 8px;
    font-weight: 800;
    border: 1px solid transparent;
    cursor: pointer;
    font-family: inherit;
    font-size: 1rem;
}

.avc-btn.avc-btn-primary {
    background: var(--avc-red);
    color: #fff;
}

.avc-btn-primary:hover {
    background: #c9182c;
    color: #fff;
}

.avc-btn-outline {
    border-color: #7891b8;
    color: var(--avc-navy);
    background: #fff;
}

.avc-btn-outline:hover {
    border-color: var(--avc-navy);
}

.avc-hero .avc-btn-primary::after {
    content: "\2192";
    margin-left: 0.4em;
}

/* ------------------------------------------------------------------- Header */

.avc-header {
    background: #fff;
    border-bottom: 1px solid #e9edf3;
    position: sticky;
    top: 0;
    z-index: 50;
}

/* Keep the sticky header clear of the WP admin bar for logged-in users. */
.admin-bar .avc-header {
    top: 32px;
}

@media screen and (max-width: 782px) {
    .admin-bar .avc-header {
        top: 46px;
    }
}

.avc-nav {
    min-height: 76px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.avc-brand {
    display: flex;
    align-items: center;
    gap: 12px;
}

.avc-brand img {
    width: 78px;
    height: 58px;
    object-fit: contain;
}

.avc-brand strong {
    font-family: Georgia, "Times New Roman", serif;
    font-size: 1.35rem;
    color: var(--avc-navy);
    display: block;
}

.avc-brand small {
    display: block;
    color: #717c8f;
    font-size: .73rem;
}

.avc-navlinks {
    display: flex;
    gap: 24px;
    font-size: .9rem;
}

.avc-navlinks a:hover {
    color: var(--avc-navy);
    text-decoration: underline;
}

/* ---------------------------------------------------------------------- Hero */

.avc-hero {
    background: linear-gradient(90deg, #eef5fd 0%, #f7fbff 42%, #d8e9fa 100%);
    overflow: hidden;
}

.avc-hero-grid {
    display: grid;
    grid-template-columns: 1.05fr .95fr;
    min-height: 390px;
    align-items: stretch;
}

.avc-hero-copy {
    padding: 48px 0 42px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.avc-eyebrow {
    font-size: .76rem;
    letter-spacing: .2em;
    text-transform: uppercase;
    color: #0e4ea3;
    font-weight: 800;
    display: block;
}

.avc-hero h1 {
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(3rem, 5vw, 5.1rem);
    line-height: 1;
    margin: 14px 0;
    color: var(--avc-navy);
    font-weight: 600;
}

.avc-hero h2 {
    font-family: Georgia, "Times New Roman", serif;
    font-size: 1.55rem;
    margin: 0 0 12px;
    color: var(--avc-navy);
    font-weight: 600;
}

.avc-hero p {
    max-width: 650px;
    color: #425372;
    font-size: 1.05rem;
}

.avc-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 20px;
}

.avc-hero-visual {
    position: relative;
    min-height: 390px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: #eaf5fb;
}

.avc-hero-photo {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
}

.avc-hero-photo.is-contain {
    object-fit: contain;
}

.avc-hero-photo.is-cover {
    object-fit: cover;
}

/* --------------------------------------------------------------- Stats strip */

.avc-stats {
    background: #fff;
    border-bottom: 1px solid var(--avc-line);
}

.avc-stats-row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
}

.avc-stat {
    padding: 22px 14px;
    text-align: center;
}

.avc-stat b {
    display: block;
    color: var(--avc-navy);
    font-size: 1.05rem;
}

.avc-stat span {
    font-size: .82rem;
    color: var(--avc-muted);
}

/* ------------------------------------------------------------------ Sections */

.avc-section {
    padding: 62px 0;
}

.avc-section-head {
    text-align: center;
    max-width: 820px;
    margin: 0 auto 32px;
}

.avc-section-head h2 {
    font-family: Georgia, "Times New Roman", serif;
    font-size: 2.6rem;
    color: var(--avc-navy);
    margin: 0 0 10px;
    font-weight: 600;
}

.avc-section-head p {
    margin: 0;
    color: var(--avc-muted);
}

/* -------------------------------------------------------- Program categories */

.avc-programs {
    background: var(--avc-bg);
}

.avc-program-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    align-items: start;
}

.avc-card {
    position: relative;
    background: #fff;
    border: 1px solid var(--avc-line);
    border-radius: 16px;
    box-shadow: 0 8px 24px rgba(10, 45, 103, .07);
    overflow: visible;
    z-index: 1;
}

.avc-card.is-open {
    z-index: 30;
}

.avc-card-img {
    width: 100%;
    height: 155px;
    object-fit: cover;
    display: block;
    border-radius: 16px 16px 0 0;
}

.avc-card-img-placeholder {
    width: 100%;
    height: 155px;
    border-radius: 16px 16px 0 0;
    background: linear-gradient(135deg, var(--avc-navy), #0e4ea3);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-family: Georgia, serif;
    font-size: 2.5rem;
}

.avc-card-toggle {
    width: 100%;
    min-height: 91px;
    border: 0;
    background: #fff;
    display: flex;
    justify-content: space-between;
    align-items: center;
    text-align: left;
    padding: 16px 18px;
    border-radius: 0 0 16px 16px;
    cursor: pointer;
    font-family: inherit;
}

.avc-card-toggle strong {
    font-family: Georgia, "Times New Roman", serif;
    font-size: 1.22rem;
    color: var(--avc-navy);
    display: block;
    font-weight: 400;
}

.avc-card-toggle small {
    display: block;
    color: var(--avc-muted);
    margin-top: 3px;
    line-height: 1.3;
}

.avc-arrow {
    font-size: 1.5rem;
    color: var(--avc-navy);
    transition: transform .2s;
    flex: 0 0 auto;
    margin-left: 12px;
}

.avc-card.is-open .avc-arrow {
    transform: rotate(180deg);
}

/* ------------------------------------------------------- Course dropdowns */

.avc-panel {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    margin-top: 8px;
    background: #fff;
    border: 1px solid #d5ddea;
    border-radius: 14px;
    box-shadow: 0 18px 45px rgba(7, 29, 71, .18);
    overflow: hidden;
    z-index: 99;
}

.avc-card.is-open .avc-panel {
    display: block;
}

.avc-panel-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #f2f6fc;
    padding: 12px 14px;
    border-bottom: 1px solid var(--avc-line);
    color: var(--avc-navy);
    font-size: .88rem;
}

.avc-panel-close {
    border: 0;
    background: none;
    font-size: 1.4rem;
    line-height: 1;
    color: #6d7890;
    cursor: pointer;
    padding: 0 4px;
}

.avc-panel-scroll {
    max-height: 290px;
    overflow-y: auto;
    padding: 5px 14px 10px;
    scrollbar-width: thin;
}

.avc-course {
    padding: 11px 0;
    border-bottom: 1px solid #edf0f4;
}

.avc-course:last-child {
    border-bottom: 0;
}

.avc-course-title {
    font-size: .87rem;
    font-weight: 700;
    color: #21375d;
}

.avc-course-title::before {
    content: "\203A";
    color: var(--avc-red);
    font-weight: 900;
    margin-right: 7px;
}

.avc-course-level {
    font-size: .72rem;
    color: #7a879a;
    margin-top: 3px;
}

/* ------------------------------------------------------- Pricing and form */

.avc-pricing-section {
    background: #fff;
    padding-top: 58px;
    padding-bottom: 62px;
}

.avc-bottom-grid {
    display: grid;
    grid-template-columns: 1.18fr .82fr;
    gap: 24px;
    align-items: stretch;
}

.avc-pricing {
    background: linear-gradient(135deg, #0d397d, #08265d);
    border-radius: 18px;
    padding: 27px;
    color: #fff;
}

.avc-pricing h2 {
    font-family: Georgia, "Times New Roman", serif;
    font-size: 2rem;
    margin: 0 0 4px;
    font-weight: 400;
}

.avc-pricing > p {
    margin: 0;
    color: #d9e5f8;
}

.avc-plan-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin: 22px 0;
}

.avc-plan {
    background: #fff;
    color: var(--avc-ink);
    border-radius: 10px;
    padding: 18px;
    text-align: center;
}

.avc-plan b {
    display: block;
}

.avc-price {
    font-size: 1.7rem;
    color: var(--avc-navy);
    font-weight: 900;
    margin: 5px 0;
}

.avc-plan a {
    display: block;
    border: 1px solid var(--avc-red);
    color: var(--avc-red);
    border-radius: 7px;
    padding: 8px;
    margin-top: 12px;
    font-size: .82rem;
    font-weight: 800;
}

.avc-plan a:hover {
    background: var(--avc-red);
    color: #fff;
}

.avc-promos {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
    border-top: 1px solid rgba(255, 255, 255, .2);
    padding-top: 18px;
}

.avc-promo strong {
    font-size: .82rem;
    display: block;
    margin-bottom: 4px;
}

.avc-promo span {
    font-size: .72rem;
    color: #dce7f7;
    display: block;
}

.avc-form-card {
    border: 1px solid var(--avc-line);
    border-radius: 18px;
    padding: 26px;
    box-shadow: 0 8px 26px rgba(10, 45, 103, .06);
    background: #fff;
}

.avc-form-card h2 {
    font-family: Georgia, "Times New Roman", serif;
    color: var(--avc-navy);
    margin: 0 0 5px;
    font-size: 2rem;
    font-weight: 400;
}

.avc-form-card > p {
    color: var(--avc-muted);
    font-size: .85rem;
}

.avc-form-missing {
    border: 1px dashed var(--avc-red);
    border-radius: 8px;
    padding: 14px;
    color: var(--avc-red);
    font-size: .85rem;
}

/* ---------------------------------------------------------- Editor content */

.avc-editor-content {
    padding-top: 0;
}

.avc-editor-content h2,
.avc-editor-content h3 {
    font-family: Georgia, "Times New Roman", serif;
    color: var(--avc-navy);
    font-weight: 400;
}

.avc-editor-content p {
    color: #425372;
}

/* ------------------------------------------------------------------ Footer
 * The site's default footer (template-parts/site-footer.php). Bootstrap and
 * main.css are not loaded on this page, so the grid, utilities and footer
 * rules it relies on are reproduced here, scoped to .gei-site-footer so they
 * cannot reach the landing page itself. Breakpoints follow main.css (1199px,
 * 767px) and Bootstrap 4 (768px, 992px).
 */

.avc-body .gei-site-footer {
    font-family: "Montserrat", "Helvetica Neue", Helvetica, Arial, sans-serif;
    font-size: 1rem;
    line-height: 1.5;
    color: #2f2f2f;
    padding-bottom: 5rem;
}

.gei-site-footer a,
.gei-site-footer a:hover {
    color: #2f2f2f;
    overflow-wrap: break-word;
    word-break: break-word;
}

.gei-site-footer a:hover {
    text-decoration: underline;
}

.gei-site-footer .footer-logo-link:hover {
    text-decoration: none;
}

.gei-site-footer img,
.gei-site-footer svg {
    vertical-align: middle;
}

.gei-site-footer h2 {
    margin: 0 0 .5rem;
    font-size: max(1vw + 1.5rem, 30px);
    font-weight: 600;
    line-height: 1.2;
}

/* Layout helpers from main.css */
.gei-site-footer .container-gei {
    padding-left: 3.5rem;
    padding-right: 3.5rem;
}

.gei-site-footer .page-section {
    padding-top: 4rem;
    padding-bottom: 4rem;
}

.gei-site-footer .page-section-top {
    padding-top: 4rem;
}

.gei-site-footer .page-small-section {
    padding-top: 2rem;
    padding-bottom: 2rem;
}

.gei-site-footer .page-small-section-bottom {
    padding-bottom: 2rem;
}

.gei-site-footer .ibt-grey-bg-section {
    background-color: #f6f6f8;
}

.gei-site-footer .hideOnDesktop {
    display: none !important;
}

.gei-site-footer .hideOnMobile {
    display: block !important;
}

.gei-site-footer .hideOnMobileFlex {
    display: flex !important;
}

/* Bootstrap 4 grid and utilities used by the footer */
.gei-site-footer .row {
    display: flex;
    flex-wrap: wrap;
    margin-left: -15px;
    margin-right: -15px;
}

.gei-site-footer [class*="col-"] {
    position: relative;
    width: 100%;
    padding-left: 15px;
    padding-right: 15px;
}

.gei-site-footer .img-fluid {
    max-width: 100%;
    height: auto;
}

.gei-site-footer .mb-2 {
    margin-bottom: .5rem !important;
}

.gei-site-footer .mb-3 {
    margin-bottom: 1rem !important;
}

.gei-site-footer .px-3 {
    padding-left: 1rem !important;
    padding-right: 1rem !important;
}

@media (min-width: 768px) {
    .gei-site-footer .col-md-6 {
        flex: 0 0 50%;
        max-width: 50%;
    }

    .gei-site-footer .col-md-12 {
        flex: 0 0 100%;
        max-width: 100%;
    }
}

@media (min-width: 992px) {
    .gei-site-footer .col-lg-3 {
        flex: 0 0 25%;
        max-width: 25%;
    }

    .gei-site-footer .col-lg-4 {
        flex: 0 0 33.333333%;
        max-width: 33.333333%;
    }

    .gei-site-footer .col-lg-6 {
        flex: 0 0 50%;
        max-width: 50%;
    }
}

/* Footer rules from main.css */
.gei-site-footer .footer-fragile ul {
    list-style: none;
    margin: 0 0 1.5rem;
    padding: 0;
}

.gei-site-footer .footer-fragile > ul > li,
.gei-site-footer .fragile-title,
.gei-site-footer .footer-faculty-col > a {
    font-size: 14px;
    text-transform: uppercase;
    font-weight: 600;
}

.gei-site-footer .footer-fragile ul.sub-menu,
.gei-site-footer .program-cards-row {
    margin-top: .5rem;
    font-size: 1rem;
    font-weight: normal;
    text-transform: none;
}

.gei-site-footer .footer-fragile ul.sub-menu a,
.gei-site-footer .footer-faculty-col .single-program-wrap a {
    padding: .125rem 0;
    display: inline-block;
}

.gei-site-footer .footer-faculty-col > a {
    display: inline-block;
}

.gei-site-footer .social-link svg {
    width: 25px;
    height: 25px;
}

.gei-site-footer .footer-social a {
    margin: .5rem .75rem 0 0;
}

.gei-site-footer .footer-credit-payment-row {
    font-size: 14px;
    display: flex;
    justify-content: space-between;
}

.gei-site-footer .payment-col-wrap {
    border: 1px solid #e2e2e2;
    display: flex;
    align-items: center;
}

.gei-site-footer .payment-col-links {
    display: flex;
    align-items: center;
}

.gei-site-footer .payment-col-links .payment-link-wrap {
    padding: 0 15px;
    border-left: 1px solid #e2e2e2;
}

.gei-site-footer .last-row-link::after {
    content: "|";
    margin-left: .75rem;
    margin-right: .5rem;
}

@media screen and (max-width: 1199px) {
    .avc-body .gei-site-footer {
        border: 12px solid;
        border-image-slice: 1;
        border-image-source: linear-gradient(270deg, #2b3780 0%, #006fcf 100%);
        border-left: 0;
        border-right: 0;
    }

    .gei-site-footer .hideOnMobile,
    .gei-site-footer .hideOnMobileFlex {
        display: none !important;
    }

    .gei-site-footer .hideOnDesktop {
        display: block !important;
    }

    .gei-site-footer .page-section-top {
        padding-top: 2rem;
    }

    .gei-site-footer .page-small-section {
        padding-top: 1rem;
        padding-bottom: 1rem;
    }

    .gei-site-footer .page-small-section-bottom {
        padding-bottom: 1rem;
    }

    .gei-site-footer .footer-first-main-wrap {
        padding-top: 0;
        padding-bottom: 0;
    }

    .gei-site-footer #menu-footer-services,
    .gei-site-footer #menu-footer-services ul {
        margin-bottom: 0;
    }

    /* Accordion: sections open and close via ai-virtual-campus.js. */
    .gei-site-footer .footer-fragile ul.sub-menu,
    .gei-site-footer .program-cards-row {
        display: none;
    }

    .gei-site-footer .footer-fragile > ul > li > a,
    .gei-site-footer .footer-faculty-col > a {
        width: 100%;
        display: flex;
        justify-content: space-between;
    }

    .gei-site-footer .footer-fragile > ul > li > a::after,
    .gei-site-footer .footer-faculty-col > a::after {
        content: url("data:image/svg+xml,%3Csvg width='14' height='8' viewBox='0 0 12 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1.17188 1L6.5865 6.19586L12.0011 1' stroke='%232F2F2F' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E%0A");
        transform-origin: center;
        transition: transform .2s;
    }

    .gei-site-footer .footer-fragile .section-open > a::after,
    .gei-site-footer .footer-faculty-col.section-open > a::after {
        transform: rotate(180deg);
    }

    .gei-site-footer .footer-fragile .section-open .sub-menu,
    .gei-site-footer .footer-faculty-col.section-open .program-cards-row {
        display: block;
    }

    .gei-site-footer .footer-faculty-col > a.link-external::after {
        transform: rotate(270deg);
    }

    .gei-site-footer .footer-credit-payment-row {
        flex-direction: column-reverse;
        margin-left: -12px;
        margin-right: -12px;
    }

    .gei-site-footer .payment-col {
        margin: 1rem 0;
    }

    .gei-site-footer .payment-col-wrap {
        flex-wrap: wrap;
    }

    .gei-site-footer .payment-col-title {
        width: 100%;
    }
}

@media screen and (max-width: 767px) {
    .gei-site-footer .container-gei {
        padding-left: 15px;
        padding-right: 15px;
    }

    .gei-site-footer h2 {
        font-size: max(1vw + 1.25rem, 24px);
    }

    .gei-site-footer .payment-col-title {
        padding-top: .5rem;
        padding-bottom: .5rem;
    }

    .gei-site-footer .payment-col-links {
        width: 100%;
        align-items: stretch;
    }

    .gei-site-footer .payment-col-links .payment-link-wrap {
        border-top: 1px solid #e2e2e2;
        flex: 1;
        height: 100%;
    }

    .gei-site-footer .payment-col-links .payment-link-wrap:first-child {
        border-left: 0;
    }

    .gei-site-footer .credit-col {
        margin-bottom: 1rem;
    }

    .gei-site-footer .credit-col > div {
        border-bottom: 1px solid #e2e2e2;
        padding: 12px;
    }
}

@media screen and (max-width: 449px) {
    .gei-site-footer .container-gei {
        padding-left: .75rem;
        padding-right: .75rem;
    }
}

/* ------------------------------------------------------------ Request form
 * Custom front end for the Gravity Form (template-parts/ai-virtual-campus/
 * request-form.php). Placeholder-driven with visually hidden labels, as in
 * the design.
 */

.avc-form {
    margin: 1rem 0 0;
}

.avc-form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.avc-field {
    position: relative;
    min-width: 0;
}

.avc-field--full,
.avc-form-error,
.avc-form-submit {
    grid-column: 1 / -1;
}

.avc-form input[type="text"],
.avc-form input[type="email"],
.avc-form input[type="tel"],
.avc-form input[type="search"],
.avc-form select,
.avc-form textarea,
.avc-picker-toggle {
    display: block;
    width: 100%;
    margin: 0;
    padding: 11px;
    border: 1px solid #cfd7e4;
    border-radius: 7px;
    font: inherit;
    font-size: .95rem;
    color: var(--avc-ink);
    background-color: #fff;
}

.avc-form textarea {
    resize: vertical;
    min-height: 120px;
}

.avc-form select,
.avc-picker-toggle {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'%3E%3Cpath d='M1 1l4 4 4-4' fill='none' stroke='%2366738a' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 13px center;
    background-size: 10px 6px;
    padding-right: 34px;
    cursor: pointer;
}

/* An unchosen select reads as a placeholder. */
.avc-form select:has(option[value=""]:checked) {
    color: #8b97a9;
}

.avc-form select option {
    color: var(--avc-ink);
}

.avc-form input:focus,
.avc-form select:focus,
.avc-form textarea:focus,
.avc-picker-toggle:focus-visible {
    outline: 2px solid #0e4ea3;
    outline-offset: 1px;
    border-color: #0e4ea3;
}

.avc-form ::placeholder {
    color: #8b97a9;
    opacity: 1;
}

.avc-form [aria-invalid="true"] {
    border-color: var(--avc-red);
}

.avc-field-error {
    margin: 4px 0 0;
    color: var(--avc-red);
    font-size: .8rem;
}

.avc-form-submit {
    width: 100%;
    margin: 0;
    border: 0;
    background: var(--avc-red);
    color: #fff;
    font: inherit;
    font-weight: 800;
    font-size: 1rem;
    padding: 12px;
    border-radius: 8px;
    cursor: pointer;
}

.avc-form-submit:hover {
    background: #c9182c;
}

.avc-form-submit:disabled {
    opacity: .7;
    cursor: progress;
}

.avc-form-status {
    color: var(--avc-navy);
    font-weight: 700;
    padding: 1rem 0;
}

.avc-form-status.is-error {
    color: var(--avc-red);
}

.avc-form-status:focus {
    outline: none;
}

/* Honeypot: off screen rather than display:none, which some bots skip. */
.avc-hp {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

/* Program picker --------------------------------------------------------- */

.avc-picker-toggle {
    text-align: left;
    color: #8b97a9;
}

.avc-picker-toggle span {
    display: block;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.avc-picker.is-filled .avc-picker-toggle {
    color: var(--avc-ink);
}

/* Without JavaScript the list shows inline and the toggle is not needed. */
.avc-form:not(.is-enhanced) .avc-picker-toggle {
    display: none;
}

.avc-form:not(.is-enhanced) .avc-picker-panel {
    border: 1px solid #cfd7e4;
    border-radius: 7px;
}

.avc-form.is-enhanced .avc-picker-panel {
    display: none;
    position: absolute;
    z-index: 20;
    /* Under the toggle, not under the chips below it. */
    top: 48px;
    left: 0;
    right: 0;
    border: 1px solid #cfd7e4;
    border-radius: 10px;
    box-shadow: 0 14px 34px rgba(10, 45, 103, .16);
}

.avc-form.is-enhanced .avc-picker.is-open .avc-picker-panel {
    display: block;
}

.avc-picker-panel {
    background: #fff;
    padding: 12px;
}

.avc-picker-hint {
    margin: 0 0 8px;
    font-size: .82rem;
    color: var(--avc-muted);
}

.avc-form .avc-picker-search {
    padding: 8px 10px;
    margin-bottom: 8px;
}

.avc-picker-list {
    max-height: 300px;
    overflow-y: auto;
    overscroll-behavior: contain;
}

.avc-picker-group {
    border: 0;
    margin: 0;
    padding: 0;
}

.avc-picker-group legend {
    display: block;
    width: 100%;
    padding: 8px 4px 4px;
    font-size: .72rem;
    font-weight: 800;
    letter-spacing: .06em;
    text-transform: uppercase;
    color: var(--avc-navy);
}

.avc-picker-option {
    display: flex;
    align-items: flex-start;
    gap: 9px;
    padding: 6px 4px;
    border-radius: 5px;
    font-size: .9rem;
    line-height: 1.3;
    cursor: pointer;
}

.avc-picker-option[hidden],
.avc-picker-group[hidden] {
    display: none;
}

.avc-picker-option:hover {
    background: var(--avc-bg);
}

.avc-picker-option input {
    flex: 0 0 auto;
    margin: 2px 0 0;
    accent-color: var(--avc-navy);
}

.avc-picker-option:has(input:disabled) {
    color: #a7b1c2;
    cursor: not-allowed;
}

.avc-picker-option:has(input:disabled):hover {
    background: none;
}

.avc-picker-option.is-twin span::after {
    content: " (already selected)";
    font-size: .78rem;
}

.avc-picker-empty {
    margin: 8px 4px;
    font-size: .85rem;
    color: var(--avc-muted);
}

.avc-picker-foot {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-top: 8px;
    padding-top: 10px;
    border-top: 1px solid var(--avc-line);
    font-size: .82rem;
    color: var(--avc-muted);
}

.avc-picker-done {
    border: 0;
    border-radius: 6px;
    padding: 7px 16px;
    background: var(--avc-navy);
    color: #fff;
    font: inherit;
    font-weight: 700;
    cursor: pointer;
}

.avc-picker-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin: 8px 0 0;
    padding: 0;
    list-style: none;
}

.avc-picker-chips li {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 6px 4px 10px;
    border-radius: 999px;
    background: #eaf0f9;
    color: var(--avc-navy);
    font-size: .8rem;
    line-height: 1.3;
}

.avc-picker-chips button {
    border: 0;
    background: none;
    color: inherit;
    font-size: 1.1rem;
    line-height: 1;
    padding: 0 4px;
    cursor: pointer;
}

@media (max-width: 520px) {
    .avc-form-grid {
        grid-template-columns: 1fr;
    }
}

/* -------------------------------------------------- Mobile sticky call to action */

/*
 * Shown only below 900px, where the header and hero "Request Information"
 * buttons are hidden. The bar removes itself once the request form is on
 * screen so it never sits on top of the fields or the submit button.
 */
.avc-sticky-cta {
    display: none;
}

/* ---------------------------------------------------------- Anchor offsets */

#avc-enrol,
#avc-pricing,
#avc-programs {
    scroll-margin-top: 90px;
}

/* -------------------------------------------------------------- Responsive */

@media (max-width: 900px) {
    .avc-navlinks {
        display: none;
    }

    /* The header scrolls away on mobile: the screen is too short to give up
       76px of it, and the sticky bar below carries the call to action. */
    .avc-header,
    .admin-bar .avc-header {
        position: static;
        top: auto;
    }

    /* Replaced by .avc-sticky-cta. */
    .avc-cta-enrol {
        display: none;
    }

    .avc-sticky-cta {
        display: block;
        position: fixed;
        left: 0;
        right: 0;
        bottom: 0;
        z-index: 60;
        background: #fff;
        border-top: 1px solid var(--avc-line);
        box-shadow: 0 -6px 18px rgba(10, 45, 103, .12);
        padding: 10px 4vw calc(10px + env(safe-area-inset-bottom, 0px));
        transition: transform .25s ease, opacity .25s ease;
    }

    /* Set by the page script while the request form is in view. */
    .avc-sticky-cta.is-hidden {
        transform: translateY(110%);
        opacity: 0;
        pointer-events: none;
    }

    .avc-sticky-cta-inner {
        width: min(1180px, 100%);
        margin: auto;
    }

    .avc-sticky-cta .avc-btn {
        width: 100%;
        padding: 14px 20px;
    }

    #avc-enrol,
    #avc-pricing,
    #avc-programs {
        scroll-margin-top: 16px;
    }

    .avc-hero-grid,
    .avc-bottom-grid {
        grid-template-columns: 1fr;
    }

    .avc-hero-visual {
        min-height: 310px;
    }

    .avc-program-grid {
        grid-template-columns: 1fr 1fr;
    }

    .avc-stats-row {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 900px) and (prefers-reduced-motion: reduce) {
    .avc-sticky-cta {
        transition: none;
    }
}

@media (max-width: 760px) {
    .avc-hero-visual {
        min-height: auto;
    }

    .avc-hero-photo {
        width: 100%;
        height: auto;
        object-fit: contain;
    }
}

@media (max-width: 620px) {
    .avc-hero-grid {
        grid-template-columns: 1fr;
    }

    .avc-hero-copy {
        padding-bottom: 20px;
    }

    .avc-program-grid {
        grid-template-columns: 1fr;
    }

    .avc-panel {
        position: fixed;
        left: 5vw;
        right: 5vw;
        top: 18vh;
        margin: 0;
    }

    .avc-panel-scroll {
        max-height: 55vh;
    }

    .avc-plan-grid,
    .avc-promos {
        grid-template-columns: 1fr;
    }

    .avc-section-head h2 {
        font-size: 2rem;
    }
}
