/* =========================================
   PIMS PROGRAM DETAIL PAGE
========================================= */


/* =========================================
   HERO
========================================= */

.program-detail-hero {
    position: relative;

    padding: 70px 0 90px;

    overflow: hidden;

    background: #062f52;

    color: #ffffff;
}


.program-detail-hero::before {
    content: '';

    position: absolute;

    left: 0;
    top: 0;

    width: 100%;
    height: 5px;

    background: var(--orange);
}


.program-hero-shape {
    position: absolute;

    width: 520px;
    height: 520px;

    right: -230px;
    top: -260px;

    border:
        1px solid
        rgba(255,255,255,.07);

    border-radius: 50%;
}


/* =========================================
   BREADCRUMB
========================================= */

.program-breadcrumb {
    position: relative;

    z-index: 2;

    margin-bottom: 55px;

    display: flex;
    align-items: center;
    flex-wrap: wrap;

    gap: 8px;

    color:
        rgba(255,255,255,.4);

    font-size: 11px;
}


.program-breadcrumb a {
    color:
        rgba(255,255,255,.68);

    transition: color .2s ease;
}


.program-breadcrumb a:hover {
    color: var(--orange);
}


.program-breadcrumb span:last-child {
    color:
        rgba(255,255,255,.85);
}


/* =========================================
   HERO GRID
========================================= */

.program-hero-grid {
    position: relative;

    z-index: 2;

    display: grid;

    grid-template-columns:
        minmax(0, 1fr)
        330px;

    align-items: end;

    gap: 100px;
}


/* =========================================
   HERO CONTENT
========================================= */

.program-eyebrow {
    display: block;

    margin-bottom: 14px;

    color: #8fc9f4;

    font-size: 10px;
    font-weight: 800;

    letter-spacing: 1.5px;

    text-transform: uppercase;
}


.program-hero-content h1 {
    max-width: 800px;

    font-size:
        clamp(43px, 5vw, 65px);

    line-height: 1.06;

    letter-spacing: -2.7px;
}


.program-hero-intro {
    max-width: 700px;

    margin-top: 22px;

    color:
        rgba(255,255,255,.7);

    font-size: 15px;

    line-height: 1.8;
}


/* =========================================
   HERO ACTIONS
========================================= */

.program-hero-actions {
    margin-top: 30px;

    display: flex;
    align-items: center;
    flex-wrap: wrap;

    gap: 12px;
}


.program-primary-btn,
.program-secondary-btn {
    min-height: 48px;

    padding: 0 19px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    gap: 9px;

    border-radius: 5px;

    font-size: 12px;
    font-weight: 700;

    transition:
        background .2s ease,
        color .2s ease,
        border-color .2s ease,
        transform .2s ease;
}


.program-primary-btn {
    background: var(--orange);

    color: #ffffff;
}


.program-primary-btn svg {
    width: 17px;
    height: 17px;
}


.program-primary-btn:hover {
    background: var(--orange-dark);

    transform: translateY(-2px);
}


.program-secondary-btn {
    border:
        1px solid
        rgba(255,255,255,.3);

    color: #ffffff;
}


.program-secondary-btn:hover {
    border-color: #ffffff;

    background: #ffffff;

    color: var(--navy);
}


/* =========================================
   HERO META
========================================= */

.program-hero-meta {
    padding:
        0 0
        0 28px;

    border-left:
        1px solid
        rgba(255,255,255,.15);
}


.program-meta-title {
    display: block;

    margin-bottom: 22px;

    color: var(--orange);

    font-size: 9px;
    font-weight: 800;

    letter-spacing: 1.3px;

    text-transform: uppercase;
}


.program-meta-row {
    padding: 14px 0;

    border-bottom:
        1px solid
        rgba(255,255,255,.1);
}


.program-meta-row span {
    display: block;

    margin-bottom: 4px;

    color:
        rgba(255,255,255,.45);

    font-size: 9px;

    letter-spacing: .7px;

    text-transform: uppercase;
}


.program-meta-row strong {
    color: #ffffff;

    font-size: 13px;

    line-height: 1.5;
}


.program-meta-footer {
    margin-top: 20px;

    display: flex;
    align-items: center;

    gap: 8px;

    color:
        rgba(255,255,255,.57);

    font-size: 10px;
}


.program-meta-dot {
    width: 7px;
    height: 7px;

    border-radius: 50%;

    background: var(--green);
}


/* =========================================
   MAIN CONTENT
========================================= */

.program-content {
    padding: 100px 0 110px;

    background: #ffffff;
}


.program-content-layout {
    display: grid;

    grid-template-columns:
        220px
        minmax(0, 1fr);

    align-items: start;

    gap: 90px;
}


/* =========================================
   LEFT NAVIGATION
========================================= */

.program-side-navigation {
    position: sticky;

    top: 115px;
}


.side-navigation-label {
    display: block;

    margin-bottom: 18px;

    color: #9aa5af;

    font-size: 9px;
    font-weight: 800;

    letter-spacing: 1.2px;

    text-transform: uppercase;
}


.program-side-navigation nav {
    position: relative;

    display: grid;
}


.program-side-navigation nav::before {
    content: '';

    position: absolute;

    top: 0;
    left: 0;

    width: 1px;
    height: 100%;

    background: #dce3e9;
}


.program-side-navigation nav a {
    position: relative;

    padding:
        10px 0
        10px 18px;

    color: #73808d;

    font-size: 12px;
    font-weight: 600;

    line-height: 1.4;

    transition:
        color .2s ease,
        padding-left .2s ease;
}


.program-side-navigation nav a::before {
    content: '';

    position: absolute;

    left: -2px;
    top: 50%;

    width: 5px;
    height: 5px;

    border-radius: 50%;

    background: transparent;

    transform: translateY(-50%);
}


.program-side-navigation nav a:hover {
    padding-left: 22px;

    color: var(--navy);
}


.program-side-navigation nav a:hover::before {
    background: var(--orange);
}


/* =========================================
   SIDE CONTACT
========================================= */

.side-contact {
    margin-top: 40px;

    padding-top: 25px;

    border-top:
        1px solid var(--border);
}


.side-contact > span {
    color: var(--orange);

    font-size: 9px;
    font-weight: 800;

    letter-spacing: .8px;

    text-transform: uppercase;
}


.side-contact p {
    margin-top: 8px;

    color: var(--text);

    font-size: 12px;

    line-height: 1.6;
}


.side-contact a {
    display: inline-block;

    margin-top: 12px;

    color: var(--navy);

    font-size: 11px;
    font-weight: 800;
}


/* =========================================
   PROGRAM MAIN
========================================= */

.program-main-content {
    min-width: 0;
}


/* =========================================
   CONTENT SECTION
========================================= */

.program-section {
    display: grid;

    grid-template-columns:
        90px
        minmax(0, 1fr);

    gap: 30px;

    padding:
        0 0
        65px;

    margin-bottom: 65px;

    border-bottom:
        1px solid var(--border);

    scroll-margin-top: 120px;
}


.program-section-number {
    color: #dce4eb;

    font-size: 38px;
    font-weight: 800;

    line-height: 1;
}


.program-section-label {
    display: block;

    margin-bottom: 8px;

    color: var(--orange);

    font-size: 9px;
    font-weight: 800;

    letter-spacing: 1.3px;

    text-transform: uppercase;
}


.program-section-body h2 {
    margin-bottom: 22px;

    color: var(--heading);

    font-size: 32px;

    line-height: 1.2;

    letter-spacing: -1px;
}


/* =========================================
   RICH HTML CONTENT
========================================= */

.program-rich-content {
    max-width: 800px;

    color: #536272;

    font-size: 15px;

    line-height: 1.85;
}


.program-rich-content p {
    margin-bottom: 17px;
}


.program-rich-content p:last-child {
    margin-bottom: 0;
}


.program-rich-content h2,
.program-rich-content h3,
.program-rich-content h4 {
    margin:
        28px 0
        12px;

    color: var(--heading);

    line-height: 1.35;
}


.program-rich-content h3 {
    font-size: 20px;
}


.program-rich-content h4 {
    font-size: 17px;
}


.program-rich-content strong,
.program-rich-content b {
    color: var(--heading);

    font-weight: 700;
}


/* =========================================
   UL / OL FROM EDITOR
========================================= */

.program-rich-content ul,
.program-rich-content ol {
    margin:
        18px 0
        20px 0;

    padding-left: 0;

    list-style: none;
}


.program-rich-content li {
    position: relative;

    margin-bottom: 11px;

    padding-left: 25px;
}


.program-rich-content ul li::before {
    content: '';

    position: absolute;

    left: 0;
    top: 10px;

    width: 7px;
    height: 7px;

    border-radius: 50%;

    background: var(--orange);
}


.program-rich-content ol {
    counter-reset: rich-counter;
}


.program-rich-content ol li {
    counter-increment: rich-counter;
}


.program-rich-content ol li::before {
    content:
        counter(rich-counter)
        '.';

    position: absolute;

    left: 0;

    color: var(--orange);

    font-size: 12px;
    font-weight: 800;
}


/* =========================================
   TABLES FROM EDITOR
========================================= */

.program-rich-content table {
    width: 100%;

    margin: 25px 0;

    border-collapse: collapse;

    font-size: 13px;
}


.program-rich-content th,
.program-rich-content td {
    padding: 12px 14px;

    border:
        1px solid #dfe5eb;

    text-align: left;
}


.program-rich-content th {
    background: var(--navy);

    color: #ffffff;
}


/* =========================================
   BLOCKQUOTES FROM EDITOR
========================================= */

.program-rich-content blockquote {
    margin: 25px 0;

    padding:
        17px 20px;

    border-left:
        4px solid var(--orange);

    background: #f5f8fa;

    color: var(--heading);
}


/* =========================================
   FAQ
========================================= */

.program-faq-section {
    padding-top: 10px;

    scroll-margin-top: 120px;
}


.program-faq-header {
    max-width: 680px;

    margin-bottom: 35px;
}


.program-faq-header h2 {
    color: var(--heading);

    font-size: 34px;

    line-height: 1.2;

    letter-spacing: -1px;
}


.program-faq-header p {
    margin-top: 10px;

    color: var(--text);

    font-size: 13px;

    line-height: 1.7;
}


.program-faq-list {
    border-top:
        1px solid var(--border);
}


.program-faq-item {
    border-bottom:
        1px solid var(--border);
}


/* =========================================
   FAQ QUESTION
========================================= */

.program-faq-question {
    width: 100%;

    padding: 22px 0;

    display: grid;

    grid-template-columns:
        40px
        minmax(0, 1fr)
        40px;

    align-items: center;

    gap: 15px;

    border: 0;

    background: transparent;

    color: var(--heading);

    font-family: inherit;

    cursor: pointer;

    text-align: left;
}


.faq-number {
    color: #a5b0ba;

    font-size: 10px;
    font-weight: 800;
}


.faq-question-text {
    font-size: 15px;
    font-weight: 700;

    line-height: 1.5;
}


.faq-toggle {
    width: 36px;
    height: 36px;

    display: grid;
    place-items: center;

    border:
        1px solid #dce3e9;

    border-radius: 50%;

    color: var(--navy);

    transition:
        background .2s ease,
        color .2s ease,
        transform .2s ease;
}


.faq-toggle svg {
    width: 16px;
    height: 16px;

    transition:
        transform .2s ease;
}


.program-faq-item.open
.faq-toggle {
    border-color: var(--orange);

    background: var(--orange);

    color: #ffffff;
}


.program-faq-item.open
.faq-toggle svg {
    transform: rotate(45deg);
}


/* =========================================
   FAQ ANSWER
========================================= */

.program-faq-answer {
    display: grid;

    grid-template-rows: 0fr;

    transition:
        grid-template-rows .25s ease;
}


.program-faq-answer-inner {
    overflow: hidden;

    padding:
        0 55px;

    color: var(--text);

    font-size: 14px;

    line-height: 1.8;

    transition:
        padding .25s ease;
}


.program-faq-item.open
.program-faq-answer {
    grid-template-rows: 1fr;
}


.program-faq-item.open
.program-faq-answer-inner {
    padding:
        0 55px
        22px;
}


.program-faq-answer-inner p {
    margin-bottom: 10px;
}


.program-faq-answer-inner p:last-child {
    margin-bottom: 0;
}


/* =========================================
   ENQUIRY BAND
========================================= */

.program-enquiry-band {
    padding: 70px 0;

    background: var(--orange);

    color: #ffffff;
}


.program-enquiry-grid {
    display: grid;

    grid-template-columns:
        minmax(0, 1fr)
        minmax(300px, .65fr);

    align-items: center;

    gap: 80px;
}


.program-enquiry-grid
> div:first-child
> span {
    display: block;

    margin-bottom: 8px;

    color:
        rgba(255,255,255,.75);

    font-size: 9px;
    font-weight: 800;

    letter-spacing: 1.2px;

    text-transform: uppercase;
}


.program-enquiry-grid h2 {
    max-width: 700px;

    color: #ffffff;

    font-size: 34px;

    line-height: 1.2;

    letter-spacing: -1px;
}


.program-enquiry-action p {
    color:
        rgba(255,255,255,.82);

    font-size: 13px;

    line-height: 1.7;
}


.program-enquiry-button {
    margin-top: 18px;

    display: inline-flex;
    align-items: center;

    gap: 9px;

    padding:
        13px 17px;

    border-radius: 5px;

    background: var(--navy);

    color: #ffffff;

    font-size: 12px;
    font-weight: 700;

    transition:
        background .2s ease,
        transform .2s ease;
}


.program-enquiry-button svg {
    width: 17px;
    height: 17px;

    transition:
        transform .2s ease;
}


.program-enquiry-button:hover {
    background: var(--navy-dark);

    transform: translateY(-2px);
}


.program-enquiry-button:hover svg {
    transform: translateX(3px);
}


/* =========================================
   TABLET
========================================= */

@media (max-width: 1000px) {

    .program-hero-grid {
        grid-template-columns:
            minmax(0, 1fr)
            280px;

        gap: 55px;
    }


    .program-content-layout {
        grid-template-columns:
            190px
            minmax(0, 1fr);

        gap: 50px;
    }


    .program-section {
        grid-template-columns:
            65px
            minmax(0, 1fr);

        gap: 20px;
    }

}


/* =========================================
   SMALL TABLET
========================================= */

@media (max-width: 850px) {

    .program-hero-grid {
        grid-template-columns: 1fr;

        gap: 45px;
    }


    .program-hero-meta {
        max-width: 500px;
    }


    .program-content-layout {
        grid-template-columns: 1fr;

        gap: 50px;
    }


    .program-side-navigation {
        position: static;

        padding-bottom: 30px;

        border-bottom:
            1px solid var(--border);
    }


    .program-side-navigation nav {
        display: flex;
        flex-wrap: wrap;

        gap: 8px 20px;
    }


    .program-side-navigation nav::before {
        display: none;
    }


    .program-side-navigation nav a {
        padding: 0;

        color: var(--navy);
    }


    .program-side-navigation nav a:hover {
        padding-left: 0;

        color: var(--orange);
    }


    .program-side-navigation nav a::before {
        display: none;
    }


    .side-contact {
        display: none;
    }

}


/* =========================================
   MOBILE
========================================= */

@media (max-width: 768px) {

    /* HERO */

    .program-detail-hero {
        padding:
            55px 0
            65px;
    }


    .program-breadcrumb {
        margin-bottom: 38px;

        font-size: 10px;
    }


    .program-hero-content h1 {
        font-size: 39px;

        letter-spacing: -1.7px;
    }


    .program-hero-intro {
        font-size: 14px;
    }


    .program-hero-actions {
        align-items: stretch;

        flex-direction: column;
    }


    .program-primary-btn,
    .program-secondary-btn {
        width: 100%;
    }


    .program-hero-meta {
        padding:
            22px 0 0;

        border-left: 0;

        border-top:
            1px solid
            rgba(255,255,255,.15);
    }


    /* CONTENT */

    .program-content {
        padding:
            65px 0
            75px;
    }


    .program-side-navigation {
        overflow-x: auto;
    }


    .program-side-navigation nav {
        width: max-content;

        flex-wrap: nowrap;
    }


    .program-section {
        grid-template-columns: 1fr;

        gap: 13px;

        padding-bottom: 45px;

        margin-bottom: 45px;
    }


    .program-section-number {
        font-size: 24px;
    }


    .program-section-body h2 {
        margin-bottom: 18px;

        font-size: 27px;
    }


    .program-rich-content {
        font-size: 14px;

        line-height: 1.8;
    }


    /* FAQ */

    .program-faq-header h2 {
        font-size: 28px;
    }


    .program-faq-question {
        grid-template-columns:
            30px
            minmax(0, 1fr)
            36px;

        gap: 10px;

        padding: 19px 0;
    }


    .faq-question-text {
        font-size: 14px;
    }


    .program-faq-answer-inner,
    .program-faq-item.open
    .program-faq-answer-inner {
        padding-left: 40px;
        padding-right: 45px;
    }


    /* CTA */

    .program-enquiry-band {
        padding: 55px 0;
    }


    .program-enquiry-grid {
        grid-template-columns: 1fr;

        gap: 25px;
    }


    .program-enquiry-grid h2 {
        font-size: 27px;
    }

}


/* =========================================
   SMALL MOBILE
========================================= */

@media (max-width: 420px) {

    .program-hero-content h1 {
        font-size: 34px;
    }


    .program-section-body h2 {
        font-size: 25px;
    }


    .program-faq-header h2 {
        font-size: 25px;
    }


    .program-faq-question {
        grid-template-columns:
            1fr
            34px;
    }


    .faq-number {
        display: none;
    }


    .program-faq-answer-inner,
    .program-faq-item.open
    .program-faq-answer-inner {
        padding-left: 0;
        padding-right: 40px;
    }


    .program-enquiry-grid h2 {
        font-size: 24px;
    }

}