/* ==============================
   IBPYP HERO BANNER
================================= */

.ibpyp-hero-banner {
    width: 100%;
    position: relative;
    overflow: hidden;
    line-height: 0;
}

.ibpyp-hero-banner picture {
    display: block;
    width: 100%;
}

.ibpyp-banner-image {
    display: block;
    width: 100%;
    height: auto;
    object-fit: cover;
    object-position: center;
}

/* Desktop */
@media (min-width: 768px) {

    .ibpyp-hero-banner {
        width: 100%;
    }

    .ibpyp-banner-image {
        width: 100%;
        height: auto;
    }

}

/* Mobile */
@media (max-width: 767px) {

    .ibpyp-banner-image {
        width: 100%;
        height: auto;
    }

}
/* =========================================================
   SUNSHINE ibpyp PAGE - ISOLATED STYLESHEET
   All selectors are scoped to .ibpyp-page to avoid conflicts
   with Bootstrap, main.css, header/footer and other pages.
   ========================================================= */

.ibpyp-page {
    position: relative;
    width: 100%;
    min-width: 0;
    isolation: isolate;
    color: #17233b;
}

.ibpyp-page,
.ibpyp-page *,
.ibpyp-page *::before,
.ibpyp-page *::after {
    box-sizing: border-box;
}

/* =========================================================
   SUNSHINE ibpyp PAGE STYLES
   Section-specific selectors to reduce conflicts with the
   site's theme, Bootstrap, and other page sections.
   ========================================================= */

/* Apply box sizing only within these sections */
.ibpyp-page .ib-programme-section,
.ibpyp-page .ibpyp-overview-section,
.ibpyp-page .cp-core-section,
.ibpyp-page .programme-structure,
.ibpyp-page .ib-pathways,
.ibpyp-page .career-pathways,
.ibpyp-page .ibpyp-requirements,
.ibpyp-page .ibpyp-graduate,
.ibpyp-page .sunshine-faq{
    box-sizing: border-box;
}

.ibpyp-page .ib-programme-section *,
.ibpyp-page .ib-programme-section *::before,
.ibpyp-page .ib-programme-section *::after,
.ibpyp-page .ibpyp-overview-section *,
.ibpyp-page .ibpyp-overview-section *::before,
.ibpyp-page .ibpyp-overview-section *::after,
.ibpyp-page .cp-core-section *,
.ibpyp-page .cp-core-section *::before,
.ibpyp-page .cp-core-section *::after,
.ibpyp-page .programme-structure *,
.ibpyp-page .programme-structure *::before,
.ibpyp-page .programme-structure *::after,
.ibpyp-page .ib-pathways *,
.ibpyp-page .ib-pathways *::before,
.ibpyp-page .ib-pathways *::after,
.ibpyp-page .career-pathways *,
.ibpyp-page .career-pathways *::before,
.ibpyp-page .career-pathways *::after,
.ibpyp-page .ibpyp-requirements *,
.ibpyp-page .ibpyp-requirements *::before,
.ibpyp-page .ibpyp-requirements *::after,
.ibpyp-page .ibpyp-graduate *,
.ibpyp-page .ibpyp-graduate *::before,
.ibpyp-page .ibpyp-graduate *::after,
.ibpyp-page .sunshine-faq *,
.ibpyp-page .sunshine-faq *::before,
.ibpyp-page .sunshine-faq *::after{
    box-sizing: border-box;
}

/* =========================================================
   1. IB PRIMARY YEARS PROGRAMME SECTION
========================================================= */

.ibpyp-page .ib-programme-section {
    width: 100%;
    padding: 75px 5.3%;
    overflow: hidden;
    background: #f7f8ff;
    box-sizing: border-box;
}

.ibpyp-page .ib-programme-section *,
.ibpyp-page .ib-programme-section *::before,
.ibpyp-page .ib-programme-section *::after {
    box-sizing: border-box;
}

/* Main two-column layout */

.ibpyp-page .ib-programme-container {
    display: grid;
    grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr);
    align-items: center;
    gap: 55px;
    width: 100%;
    max-width: 1100px;
    margin: 0 auto;
}

/* =========================================================
   2. LEFT CONTENT
========================================================= */

.ibpyp-page .ib-programme-content {
    width: 100%;
    min-width: 0;
}

.ibpyp-page .ib-programme-label {
    display: inline-block;
    margin-bottom: 22px;
    padding: 5px 12px;
    border: 1px solid #ffcf48;
    border-radius: 30px;
    background: #fff4c7;
    color: #843900;
    font-size: 12px;
    font-weight: 700;
    line-height: 1.5;
    letter-spacing: 0.35px;
    text-transform: uppercase;
}

.ibpyp-page .ib-programme-content h2 {
    margin: 0 0 20px;
    color: #f45b08;
    font-size: clamp(28px, 3.1vw, 42px);
    font-weight: 750;
    line-height: 1.16;
    letter-spacing: -1.2px;
}

.ibpyp-page .ib-programme-content p {
    max-width: 650px;
    margin: 0;
    color: #657087;
    font-size: 14px;
    font-weight: 400;
    line-height: 1.65;
}

/* =========================================================
   3. RIGHT DIAGRAM IMAGE
========================================================= */

.ibpyp-page .ib-diagram-wrapper {
    display: flex;
    width: 100%;
    min-width: 0;
    justify-content: center;
    align-items: center;
}

.ibpyp-page .ib-diagram {
    position: relative;
    display: flex;
    width: 100%;
    max-width: 390px;
    justify-content: center;
    align-items: center;
    margin: 0 auto;
}

/* Diagram image */

.ibpyp-page .ibpyp-diagram-image {
    display: block;
    width: 100%;
    max-width: 390px;
    height: auto;
    margin: 0;
    padding: 0;
    object-fit: contain;
    border: 0;
    border-radius: 0;
    box-shadow: none;
}

/* =========================================================
   4. TABLET RESPONSIVE
========================================================= */

@media (max-width: 900px) {

    .ibpyp-page .ib-programme-section {
        padding: 60px 5%;
    }

    .ibpyp-page .ib-programme-container {
        grid-template-columns: minmax(0, 1fr) minmax(250px, 0.85fr);
        gap: 25px;
    }

    .ibpyp-page .ib-programme-content h2 {
        font-size: 30px;
    }

    .ibpyp-page .ib-programme-content p {
        font-size: 13px;
    }

    .ibpyp-page .ib-diagram {
        max-width: 320px;
    }

    .ibpyp-page .ibpyp-diagram-image {
        max-width: 320px;
    }
}

/* =========================================================
   5. MOBILE RESPONSIVE
========================================================= */

@media (max-width: 650px) {

    .ibpyp-page .ib-programme-section {
        padding: 45px 22px;
    }

    .ibpyp-page .ib-programme-container {
        grid-template-columns: minmax(0, 1fr);
        gap: 30px;
    }

    .ibpyp-page .ib-programme-content h2 {
        font-size: clamp(28px, 7vw, 36px);
        line-height: 1.16;
        letter-spacing: -0.7px;
    }

    .ibpyp-page .ib-programme-content p {
        font-size: 14px;
        line-height: 1.7;
    }

    .ibpyp-page .ib-programme-label {
        margin-bottom: 18px;
        font-size: 10px;
    }

    .ibpyp-page .ib-diagram-wrapper {
        width: 100%;
        max-width: 100%;
        overflow: visible;
    }

    .ibpyp-page .ib-diagram {
        width: 100%;
        max-width: 390px;
    }

    .ibpyp-page .ibpyp-diagram-image {
        width: 100%;
        max-width: 390px;
        height: auto;
    }
}

/* =========================================================
   6. SMALL MOBILE
========================================================= */

@media (max-width: 380px) {

    .ibpyp-page .ib-programme-section {
        padding: 35px 16px;
    }

    .ibpyp-page .ib-programme-container {
        gap: 25px;
    }

    .ibpyp-page .ib-programme-content h2 {
        font-size: 28px;
    }

    .ibpyp-page .ib-programme-label {
        font-size: 9px;
    }

    .ibpyp-page .ib-diagram {
        width: 100%;
        max-width: 100%;
    }

    .ibpyp-page .ibpyp-diagram-image {
        width: 100%;
        max-width: 100%;
    }
}

/* =========================================================
   2. ibpyp OVERVIEW, STATISTICS, FRAMEWORK
   ========================================================= */

.ibpyp-page .ibpyp-overview-section{
    width: 100%;
    padding-bottom: 35px;
    background: #f8f9ff;
}

.ibpyp-page .ibpyp-overview-section .ibpyp-container{
    width: 100%;
    max-width: 1000px;
    margin: 0 auto;
    padding-right: 4.1%;
    padding-left: 4.1%;
}

.ibpyp-page .ibpyp-overview-section .ibpyp-stats{
    padding: 25px 0;
    border-top: 1px solid #f3e5bc;
    border-bottom: 1px solid #f3e5bc;
    background: #eef3ff;
}

.ibpyp-page .ibpyp-overview-section .ibpyp-stats-grid{
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.ibpyp-page .ibpyp-overview-section .ibpyp-stat{
    padding: 0 16px;
    border-right: 1px solid #e5eaf5;
}

.ibpyp-page .ibpyp-overview-section .ibpyp-stat:first-child{
    padding-left: 5px;
}

.ibpyp-page .ibpyp-overview-section .ibpyp-stat:last-child{
    border-right: 0;
}

.ibpyp-page .ibpyp-overview-section .ibpyp-stat-number{
    display: flex;
    align-items: baseline;
    gap: 5px;
    margin-bottom: 8px;
    color: #ff9700;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 34px;
    font-weight: 700;
    line-height: 1;
}

.ibpyp-page .ibpyp-overview-section .ibpyp-stat-number span{
    font-size: 17px;
}

.ibpyp-page .ibpyp-overview-section .ibpyp-stat p{
    margin: 0;
    color: #45536c;
    font-size: 14px;
    line-height: 1.5;
}

.ibpyp-page .ibpyp-overview-section .ibpyp-main{
    padding-top: 72px;
}

.ibpyp-page .ibpyp-overview-section .ibpyp-eyebrow{
    display: block;
    margin-bottom: 10px;
    color: #ff8700;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.3px;
    text-transform: uppercase;
}

.ibpyp-page .ibpyp-overview-section .ibpyp-heading{
    margin: 0 0 12px;
    color: #f45b08;
    font-size: clamp(25px, 2.5vw, 34px);
    font-weight: 700;
    line-height: 1.25;
    letter-spacing: -0.7px;
}

.ibpyp-page .ibpyp-overview-section .ibpyp-intro{
    max-width: 720px;
    margin: 0 0 30px;
    color: #53617a;
    font-size: 14px;
    line-height: 1.65;
}

.ibpyp-page .ibpyp-overview-section .ibpyp-framework{
    display: grid;
    grid-template-columns: minmax(0, 1fr) 20px minmax(0, 1fr) 20px minmax(0, 1fr) 20px minmax(0, 1fr);
    align-items: center;
    gap: 8px;
    margin-bottom: 61px;
}

.ibpyp-page .ibpyp-overview-section .ibpyp-framework-card{
    display: flex;
    min-width: 0;
    min-height: 116px;
    flex-direction: column;
    align-items: flex-start;
    padding: 17px 16px;
    border: 1px solid #e9e1d5;
    border-radius: 9px;
    background: #fff;
}

.ibpyp-page .ibpyp-overview-section .ibpyp-step-number{
    display: block;
    margin-bottom: 10px;
    color: #657897;
    font-size: 14px;
}

.ibpyp-page .ibpyp-overview-section .ibpyp-step-number.orange-dot::before,
.ibpyp-page .ibpyp-overview-section .ibpyp-step-number.yellow-dot::before{
    display: inline-block;
    width: 5px;
    height: 5px;
    margin-right: 5px;
    border-radius: 50%;
    background: #f45b50;
    content: "";
    vertical-align: middle;
}

.ibpyp-page .ibpyp-overview-section .ibpyp-step-number.yellow-dot::before{
    background: #ffac00;
}

.ibpyp-page .ibpyp-overview-section .ibpyp-framework-card h3{
    margin: 0 0 8px;
    color: #111827;
    font-size: 12px;
    font-weight: 600;
    line-height: 1.4;
}

.ibpyp-page .ibpyp-overview-section .ibpyp-framework-card p{
    margin: 0;
    color: #8390a8;
    font-size: 14px;
    line-height: 1.5;
}

.ibpyp-page .ibpyp-overview-section .ibpyp-operator{
    color: #9aa8c1;
    font-size: 15px;
    text-align: center;
}

.ibpyp-page .ibpyp-overview-section .ibpyp-outcome{
    min-height: 116px;
    padding: 17px 16px;
    border-radius: 9px;
    background: #F3EDE2CC;
    color: #fff;
}

.ibpyp-page .ibpyp-overview-section .ibpyp-outcome span{
    color: #64748B;
}

.ibpyp-page .ibpyp-overview-section .ibpyp-outcome h3{
    color: #0C1829;
}

.ibpyp-page .ibpyp-overview-section .ibpyp-outcome-label{
    display: block;
    margin-bottom: 10px;
    color: #ffe000;
    font-size: 8px;
    font-weight: 700;
    text-transform: uppercase;
}

.ibpyp-page .ibpyp-overview-section .ibpyp-outcome h3{
    margin: 0;
    font-size: 12px;
    font-weight: 600;
    line-height: 1.45;
}

.ibpyp-page .ibpyp-overview-section .ibpyp-detail-card{
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    align-items: start;
    gap: 45px;
    padding: 28px 26px;
    border: 1px solid #e9e1d5;
    border-radius: 11px;
    background: #fff;
    box-shadow: 0 2px 3px rgba(20, 35, 60, 0.02);
}

.ibpyp-page .ibpyp-overview-section .ibpyp-detail-title{
    margin: 0 0 11px;
    color: #f45b08;
    font-size: 18px;
    font-weight: 700;
    line-height: 1.4;
}

.ibpyp-page .ibpyp-overview-section .ibpyp-detail-description{
    margin: 0;
    color: #53617a;
    font-size: 14px;
    line-height: 1.65;
}

.ibpyp-page .ibpyp-overview-section .ibpyp-detail-list{
    margin: 0;
    padding: 0;
    list-style: none;
}

.ibpyp-page .ibpyp-overview-section .ibpyp-detail-list li{
    position: relative;
    margin-bottom: 10px;
    padding-left: 19px;
    color: #45536c;
    font-size: 14px;
    line-height: 1.6;
}

.ibpyp-page .ibpyp-overview-section .ibpyp-detail-list li:last-child{
    margin-bottom: 0;
}

.ibpyp-page .ibpyp-overview-section .ibpyp-detail-list li::before{
    position: absolute;
    top: 0;
    left: 0;
    color: #17233b;
    font-size: 12px;
    font-weight: 700;
    content: "✓";
}

@media (max-width: 900px) {
    .ibpyp-page .ibpyp-overview-section .ibpyp-container{
        padding-right: 30px;
        padding-left: 30px;
    }

    .ibpyp-page .ibpyp-overview-section .ibpyp-main{
        padding-top: 55px;
    }

    .ibpyp-page .ibpyp-overview-section .ibpyp-framework{
        grid-template-columns: minmax(0, 1fr) 15px minmax(0, 1fr);
        gap: 12px;
        margin-bottom: 40px;
    }

    .ibpyp-page .ibpyp-overview-section .ibpyp-framework-card,
.ibpyp-page .ibpyp-overview-section .ibpyp-outcome{
        min-height: 125px;
    }

    .ibpyp-page .ibpyp-overview-section .ibpyp-operator:nth-of-type(4){
        display: none;
    }

    .ibpyp-page .ibpyp-overview-section .ibpyp-detail-card{
        gap: 25px;
        padding: 24px 22px;
    }

    .ibpyp-page .ibpyp-overview-section .ibpyp-detail-title{
        font-size: 17px;
    }
}

@media (max-width: 600px) {
    .ibpyp-page .ibpyp-overview-section .ibpyp-container{
        padding-right: 20px;
        padding-left: 20px;
    }

    .ibpyp-page .ibpyp-overview-section .ibpyp-stats{
        padding: 22px 0;
    }

    .ibpyp-page .ibpyp-overview-section .ibpyp-stats-grid{
        grid-template-columns: repeat(2, minmax(0, 1fr));
        row-gap: 22px;
    }

    .ibpyp-page .ibpyp-overview-section .ibpyp-stat{
        padding: 0 12px;
    }

    .ibpyp-page .ibpyp-overview-section .ibpyp-stat:nth-child(2){
        border-right: 0;
    }

    .ibpyp-page .ibpyp-overview-section .ibpyp-stat:nth-child(3){
        padding-left: 12px;
    }

    .ibpyp-page .ibpyp-overview-section .ibpyp-stat-number{
        font-size: 30px;
    }

    .ibpyp-page .ibpyp-overview-section .ibpyp-stat-number span{
        font-size: 15px;
    }

    .ibpyp-page .ibpyp-overview-section .ibpyp-stat p{
        font-size: 10px;
    }

    .ibpyp-page .ibpyp-overview-section .ibpyp-main{
        padding-top: 42px;
    }

    .ibpyp-page .ibpyp-overview-section .ibpyp-heading{
        font-size: 27px;
    }

    .ibpyp-page .ibpyp-overview-section .ibpyp-intro{
        margin-bottom: 25px;
        font-size: 12px;
    }

    .ibpyp-page .ibpyp-overview-section .ibpyp-framework{
        grid-template-columns: minmax(0, 1fr);
        gap: 10px;
        margin-bottom: 35px;
    }

    .ibpyp-page .ibpyp-overview-section .ibpyp-framework-card,
.ibpyp-page .ibpyp-overview-section .ibpyp-outcome{
        min-height: auto;
        padding: 20px;
    }

    .ibpyp-page .ibpyp-overview-section .ibpyp-framework-card h3,
.ibpyp-page .ibpyp-overview-section .ibpyp-outcome h3{
        font-size: 14px;
    }

    .ibpyp-page .ibpyp-overview-section .ibpyp-framework-card p{
        font-size: 11px;
    }

    .ibpyp-page .ibpyp-overview-section .ibpyp-step-number{
        margin-bottom: 9px;
    }

    .ibpyp-page .ibpyp-overview-section .ibpyp-operator{
        font-size: 20px;
        line-height: 1;
    }

    .ibpyp-page .ibpyp-overview-section .ibpyp-detail-card{
        grid-template-columns: minmax(0, 1fr);
        gap: 22px;
        padding: 23px 20px;
    }

    .ibpyp-page .ibpyp-overview-section .ibpyp-detail-title{
        font-size: 18px;
    }

    .ibpyp-page .ibpyp-overview-section .ibpyp-detail-description,
.ibpyp-page .ibpyp-overview-section .ibpyp-detail-list li{
        font-size: 12px;
    }

    .ibpyp-page .ibpyp-overview-section .ibpyp-detail-list li{
        margin-bottom: 12px;
    }
}

@media (max-width: 360px) {
    .ibpyp-page .ibpyp-overview-section .ibpyp-container{
        padding-right: 15px;
        padding-left: 15px;
    }

    .ibpyp-page .ibpyp-overview-section .ibpyp-stat{
        padding: 0 8px;
    }

    .ibpyp-page .ibpyp-overview-section .ibpyp-heading{
        font-size: 24px;
    }

    .ibpyp-page .ibpyp-overview-section .ibpyp-detail-card{
        padding: 18px 15px;
    }
}


/* PYP: From understanding to action section */

.pyp-action-section {
    width: 100%;
    padding: 54px 0 50px;
    background: #f7f8ff;
    font-family: "DM Sans", Arial, sans-serif;
    color: #172438;
    box-sizing: border-box;
}

.pyp-action-section *,
.pyp-action-section *::before,
.pyp-action-section *::after {
    box-sizing: border-box;
}

.pyp-action-container {
    width: calc(100% - 100px);
    max-width: 1100px;
    margin: 0 auto;
}

.pyp-action-heading {
    margin-bottom: 30px;
}

.pyp-action-label,
.pyp-research-label {
    display: block;
    color: #ff5b00;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.6px;
    line-height: 1.5;
    margin-bottom: 8px;
}

.pyp-action-heading h2 {
    margin: 0 0 12px;
    color: #f65300;
    font-size: 28px;
    font-weight: 900;
    line-height: 1.2;
    letter-spacing: -0.8px;
}

.pyp-action-heading p {
    margin: 0;
    max-width: 760px;
    color: #53627a;
    font-size: 14px;
    line-height: 1.75;
}

/* Four cards and connecting arrows */

.pyp-action-cards {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 30px minmax(0, 1fr) 30px minmax(0, 1fr) 30px minmax(0, 1fr);
    align-items: center;
    gap: 8px;
    margin-bottom: 24px;
}

.pyp-action-card {
    min-width: 0;
    min-height: 153px;
    height: 100%;
    padding: 16px;
    background: #ffffff;
    border: 1px solid #eee5d9;
    border-radius: 10px;
}

.pyp-action-number {
    display: block;
    margin-bottom: 10px;
    color: #f65300;
    font-size: 12px;
    font-weight: 800;
    line-height: 1.3;
}

.pyp-action-card h3 {
    margin: 0 0 8px;
    color: #172438;
    font-size: 13px;
    font-weight: 700;
    line-height: 1.4;
}

.pyp-action-card p {
    margin: 0;
    color: #53627a;
    font-size: 14px;
    line-height: 1.65;
}

.pyp-action-arrow {
    display: block;
    color: #eadfce;
    font-size: 23px;
    font-weight: 300;
    text-align: center;
}

.pyp-action-card-blue {
    background: #078cf5;
    border-color: #078cf5;
}

.pyp-action-card-blue .pyp-action-number,
.pyp-action-card-blue h3,
.pyp-action-card-blue p {
    color: #ffffff;
}

/* Research panel */

.pyp-research-panel {
    display: grid;
    grid-template-columns: minmax(0, 1.45fr) minmax(250px, 1fr);
    align-items: center;
    gap: 28px;
    padding: 22px;
    background: #ffffff;
    border: 1px solid #eee5d9;
    border-radius: 10px;
}

.pyp-research-label {
    margin-bottom: 6px;
    color: #172438;
    font-size: 12px;
}

.pyp-research-content h3 {
    margin: 0 0 8px;
    color: #172438;
    font-size: 16px;
    font-weight: 800;
    line-height: 1.35;
}

.pyp-research-content p {
    margin: 0;
    color: #53627a;
    font-size: 14px;
    line-height: 1.7;
}

.pyp-research-tags {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    flex-wrap: wrap;
    gap: 6px;
}

.pyp-research-tags span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 24px;
    padding: 5px 10px;
    border: 1px solid #dce3ed;
    border-radius: 20px;
    background: #ffffff;
    color: #293951;
    font-size: 14px;
    line-height: 1.3;
    white-space: nowrap;
}

/* Tablet */

@media (max-width: 900px) {
    .pyp-action-container {
        width: calc(100% - 48px);
    }

    .pyp-action-cards {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 14px;
    }

    .pyp-action-card {
        min-height: 150px;
    }

    .pyp-action-arrow {
        display: none;
    }

    .pyp-research-panel {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .pyp-research-tags {
        justify-content: flex-start;
    }
}

/* Mobile */

@media (max-width: 560px) {
    .pyp-action-section {
        padding: 36px 0;
    }

    .pyp-action-container {
        width: calc(100% - 36px);
    }

    .pyp-action-heading {
        margin-bottom: 24px;
    }

    .pyp-action-heading h2 {
        font-size: 25px;
    }

    .pyp-action-heading p {
        font-size: 12px;
    }

    .pyp-action-heading .desktop-break {
        display: none;
    }

    .pyp-action-cards {
        grid-template-columns: 1fr;
        gap: 12px;
        margin-bottom: 18px;
    }

    .pyp-action-card {
        min-height: auto;
        padding: 18px;
    }

    .pyp-action-card h3 br {
        display: none;
    }

    .pyp-action-card p {
        font-size: 11px;
    }

    .pyp-research-panel {
        padding: 18px;
        gap: 16px;
    }

    .pyp-research-content h3 {
        font-size: 15px;
    }

    .pyp-research-content p {
        font-size: 11px;
    }

    .pyp-research-tags {
        justify-content: flex-start;
    }
}


/* =========================================================
   4. PROGRAMME STRUCTURE / TIMELINE
   ========================================================= */

.ibpyp-page .programme-structure{
    width: 100%;
    padding: 85px 4%;
    background: #f7f8ff;
    color: #17233b;
    font-family: Arial, sans-serif;
}

.ibpyp-page .programme-container{
    max-width: 1100px;
    margin: 0 auto;
}

.ibpyp-page .programme-header{
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 25px;
    margin-bottom: 54px;
}

.ibpyp-page .programme-eyebrow{
    display: block;
    margin-bottom: 12px;
    color: #ff7100;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.3px;
    text-transform: uppercase;
}

.ibpyp-page .programme-title{
    margin: 0;
    color: #f45b08;
    font-size: clamp(25px, 2.8vw, 36px);
    font-weight: 700;
    line-height: 1.25;
    letter-spacing: -0.7px;
}

.ibpyp-page .programme-toggle{
    display: inline-flex;
    flex-shrink: 0;
    gap: 2px;
    padding: 4px;
    border: 1px solid #e1e7f1;
    border-radius: 30px;
    background: #f0f3f9;
}

.ibpyp-page .programme-toggle button{
    padding: 10px 17px;
    border: 0;
    border-radius: 25px;
    background: transparent;
    color: #45536c;
    font-family: inherit;
    font-size: 11px;
    font-weight: 500;
    white-space: nowrap;
    cursor: pointer;
    transition: background 0.25s ease, color 0.25s ease;
}

.ibpyp-page .programme-toggle button.active{
    background: #ff6500;
    color: #fff;
}

.ibpyp-page .programme-toggle button:focus-visible{
    outline: 2px solid #07396f;
    outline-offset: 3px;
}

.ibpyp-page .programme-timeline{
    position: relative;
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 20px;
    padding-top: 24px;
}

.ibpyp-page .programme-timeline::before{
    position: absolute;
    top: 7px;
    right: 10px;
    left: 10px;
    height: 1px;
    background: #ffca58;
    content: "";
}

.ibpyp-page .programme-item{
    position: relative;
    min-width: 0;
}

.ibpyp-page .programme-dot{
    position: absolute;
    z-index: 1;
    top: -23px;
    left: 5px;
    width: 15px;
    height: 15px;
    border: 3px solid #fff0c8;
    border-radius: 50%;
    background: #ffa600;
    box-shadow: 0 0 0 2px #f7f8ff;
}

.ibpyp-page .programme-term{
    display: block;
    margin-bottom: 8px;
    color: #ff6500;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
}

.ibpyp-page .programme-item h3{
    margin: 0 0 9px;
    color: #17233b;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.4;
}

.ibpyp-page .programme-item p{
    margin: 0;
    color: #56647c;
    font-size: 14px;
    line-height: 1.65;
}

.ibpyp-page .programme-timeline.updating .programme-item{
    animation: programme-structure-fade 0.3s ease;
}

@keyframes programme-structure-fade {
    from {
        opacity: 0.35;
        transform: translateY(5px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.ibpyp-page .programme-note{
    margin: 55px 0 0;
    color: #71809a;
    font-size: 13px;
    font-style: italic;
    line-height: 1.6;
}

@media (max-width: 900px) {
    .ibpyp-page .programme-structure{
        padding: 65px 4%;
    }

    .ibpyp-page .programme-header{
        align-items: flex-start;
        flex-direction: column;
        gap: 20px;
        margin-bottom: 45px;
    }

    .ibpyp-page .programme-timeline{
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 42px 30px;
        padding-top: 0;
    }

    .ibpyp-page .programme-timeline::before{
        display: none;
    }

    .ibpyp-page .programme-item{
        padding-left: 23px;
    }

    .ibpyp-page .programme-dot{
        top: 1px;
        left: 0;
    }

    .ibpyp-page .programme-note{
        margin-top: 40px;
    }
}

@media (max-width: 550px) {
    .ibpyp-page .programme-structure{
        padding: 45px 20px;
    }

    .ibpyp-page .programme-title{
        font-size: 28px;
    }

    .ibpyp-page .programme-toggle{
        width: 100%;
    }

    .ibpyp-page .programme-toggle button{
        flex: 1;
        padding: 11px 8px;
        font-size: 10px;
    }

    .ibpyp-page .programme-timeline{
        grid-template-columns: minmax(0, 1fr);
        gap: 30px;
    }

    .ibpyp-page .programme-item{
        padding-left: 25px;
    }

    .ibpyp-page .programme-item h3{
        font-size: 14px;
    }

    .ibpyp-page .programme-item p{
        font-size: 12px;
    }

    .ibpyp-page .programme-note{
        margin-top: 35px;
        font-size: 11px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .ibpyp-page .programme-timeline.updating .programme-item{
        animation: none;
    }

    .ibpyp-page .programme-toggle button{
        transition: none;
    }
}


/* =========================================
   SHARED RESET - LIMITED TO THESE SECTIONS
========================================= */

.pyp-approach,
.pyp-exhibition,
.pyp-parent-check,
.pyp-beyond {
    width: 100%;
    box-sizing: border-box;
    font-family: "DM Sans", Arial, sans-serif;
}

.pyp-approach *,
.pyp-exhibition *,
.pyp-parent-check *,
.pyp-beyond *,
.pyp-approach *::before,
.pyp-exhibition *::before,
.pyp-parent-check *::before,
.pyp-beyond *::before,
.pyp-approach *::after,
.pyp-exhibition *::after,
.pyp-parent-check *::after,
.pyp-beyond *::after {
    box-sizing: border-box;
}

.pyp-approach h2,
.pyp-exhibition h2,
.pyp-parent-check h2,
.pyp-beyond h2,
.pyp-approach h3,
.pyp-exhibition h3,
.pyp-parent-check h3,
.pyp-beyond h3,
.pyp-approach p,
.pyp-exhibition p,
.pyp-parent-check p,
.pyp-beyond p {
    margin-top: 0;
}

.pyp-approach-container,
.pyp-exhibition-container,
.pyp-parent-container,
.pyp-beyond-container {
    width: calc(100% - 82px);
    max-width: 1100px;
    margin: 0 auto;
}

/* =========================================
   SECTION 1: COMPARISON TABLE
========================================= */

.pyp-approach {
    padding: 20px 0 48px;
    background: #f0f4ff;
    color: #152238;
}

.pyp-approach-heading {
    margin-bottom: 28px;
}

.pyp-approach-heading > span,
.pyp-exhibition-eyebrow,
.pyp-parent-eyebrow {
    display: block;
    margin-bottom: 7px;
    color: #ff6500;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .5px;
}

.pyp-approach-heading h2,
.pyp-exhibition-intro h2,
.pyp-parent-content h2 {
    margin-bottom: 8px;
    color: #f65300;
    font-size: 27px;
    font-weight: 900;
    line-height: 1.2;
    letter-spacing: -.6px;
}

.pyp-approach-heading p,
.pyp-exhibition-intro > p,
.pyp-parent-content > p {
    max-width: 590px;
    margin-bottom: 0;
    color: #586780;
    font-size: 14px;
    line-height: 1.65;
}

.pyp-approach-table-wrap {
    overflow: hidden;
    border: 1px solid #e1e7f0;
    border-radius: 13px;
    background: #fff;
    box-shadow: 0 1px 2px #13233b08;
}

.pyp-approach-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    table-layout: fixed;
    color: #152238;
    font-size: 14px;
}

.pyp-approach-table th,
.pyp-approach-table td {
    padding: 15px 16px;
    border-bottom: 1px solid #edf0f5;
    line-height: 1.5;
    vertical-align: middle;
}

.pyp-approach-table thead th {
    height: 49px;
    font-size: 15px;
    font-weight: 800;
    text-align: center;
}

.pyp-approach-table thead th:first-child {
    width: 25%;
    background: #fff;
}

.pyp-approach-table thead th:nth-child(2) {
    background: #0c192b;
    color: #fff;
    border-radius: 7px 7px 0 0;
}

.pyp-approach-table thead th:nth-child(3) {
    width: 33%;
}

.pyp-approach-table tbody th {
    width: 25%;
    text-align: left;
    font-weight: 800;
}

.pyp-approach-table tbody td {
    text-align: center;
}

.pyp-approach-table tbody td:nth-child(2) {
    background: #fbfcfe;
}

.pyp-approach-table tbody td:nth-child(3) {
    color: #73829b;
}

.pyp-approach-table tbody tr:last-child th,
.pyp-approach-table tbody tr:last-child td {
    border-bottom: 0;
}

/* =========================================
   SECTION 2: GRADE 6 EXHIBITION
========================================= */

.pyp-exhibition {
    padding: 46px 0;
    background: #f7f8ff;
    color: #152238;
}

.pyp-exhibition-container {
    display: grid;
    grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr);
    gap: 42px;
    align-items: start;
}

.pyp-exhibition-intro h2 {
    max-width: 350px;
    margin-bottom: 12px;
    font-size: 27px;
    line-height: 1.18;
    font-weight: 900;
}

.pyp-exhibition-intro > p {
    max-width: 360px;
}

.pyp-exhibition-steps {
    display: grid;
    gap: 9px;
}

.pyp-exhibition-step {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    min-height: 65px;
    padding: 16px 18px;
    border: 1px solid #e9dfd1;
    border-radius: 11px;
    background: #fff;
}

.pyp-exhibition-check {
    display: flex;
    flex: 0 0 14px;
    width: 14px;
    height: 14px;
    align-items: center;
    justify-content: center;
    margin-top: 2px;
    border-radius: 2px;
    background: #ff942d;
    color: #fff;
    font-size: 11px;
    font-weight: 800;
}

.pyp-exhibition-step h3 {
    margin-bottom: 3px;
    color: #172438;
    font-size: 14px;
    font-weight: 800;
    line-height: 1.4;
}

.pyp-exhibition-step p {
    margin-bottom: 0;
    color: #718099;
    font-size: 14px;
    line-height: 1.5;
}

/* =========================================
   SECTION 3: PARENT CHECKLIST
========================================= */

.pyp-parent-check {
    padding: 44px 0;
    background: #f7f8ff;
    color: #152238;
}

.pyp-parent-container {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr);
    gap: 30px;
    align-items: center;
}

.pyp-parent-content h2 {
    font-size: 27px;
}

.pyp-parent-content > p {
    margin-bottom: 18px;
}

.pyp-parent-list {
    display: grid;
    gap: 9px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.pyp-parent-list li {
    display: flex;
    align-items: center;
    gap: 9px;
    min-height: 42px;
    padding: 10px 14px;
    border: 1px solid #e2e8f1;
    border-radius: 10px;
    background: #fff;
    color: #18263b;
    font-size: 14px;
    line-height: 1.5;
}

.pyp-parent-list li > span {
    display: flex;
    flex: 0 0 14px;
    width: 14px;
    height: 14px;
    align-items: center;
    justify-content: center;
    border-radius: 2px;
    background: #ff942d;
    color: #fff;
    font-size: 11px;
    font-weight: 800;
}

.pyp-parent-cta {
    display: flex;
    min-height: 130px;
    align-items: center;
    justify-content: center;
    padding: 24px;
    border-radius: 13px;
    background: #078cf5;
    box-shadow: 0 4px 8px #0a28551a;
}

.pyp-parent-cta-button {
    display: block;
    width: 100%;
    padding: 12px 16px;
    border-radius: 9px;
    background: #ff9b08;
    color: #fff;
    font-size: 15px;
    font-weight: 700;
    line-height: 1.5;
    text-align: center;
    text-decoration: none;
    transition: background .2s ease;
}

.pyp-parent-cta-button:hover {
    background: #ed8900;
    color: #fff;
}

/* =========================================
   SECTION 4: READY FOR GRADE 7
========================================= */

.pyp-beyond {
    padding: 35px 0 40px;
    background: linear-gradient(110deg, #073765 0%, #0864bf 55%, #079bff 100%);
    color: #fff;
}

.pyp-beyond-heading {
    margin-bottom: 30px;
}

.pyp-beyond-heading > span {
    display: block;
    margin-bottom: 6px;
    color: #ffb33f;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .5px;
}

.pyp-beyond-heading h2 {
    margin-bottom: 7px;
    color: #fff;
    font-size: 22px;
    font-weight: 900;
    line-height: 1.25;
}

.pyp-beyond-heading > p {
    max-width: 480px;
    margin-bottom: 0;
    color: #e1efff;
    font-size: 14px;
    line-height: 1.65;
}

.pyp-beyond-features {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
    margin-bottom: 28px;
}

.pyp-beyond-feature {
    min-width: 0;
    padding: 15px;
    border: 1px solid #8bd1ff;
    border-radius: 10px;
    background: #078cf5;
}

.pyp-beyond-icon {
    display: flex;
    width: 21px;
    height: 21px;
    align-items: center;
    justify-content: center;
    margin-bottom: 10px;
    border-radius: 5px;
    background: #fff;
    color: #078cf5;
    font-size: 13px;
    font-weight: 800;
}

.pyp-beyond-feature h3 {
    margin-bottom: 5px;
    color: #fff;
    font-size: 15px;
    font-weight: 800;
    line-height: 1.4;
}

.pyp-beyond-feature p {
    margin-bottom: 0;
    color: #f0f7ff;
    font-size: 14px;
    line-height: 1.6;
}

.pyp-beyond-profiles {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
    margin-bottom: 38px;
}

.pyp-beyond-profile {
    min-width: 0;
    padding: 16px;
    border: 1px solid #8bd1ff;
    border-radius: 11px;
    background: #078cf5;
}

.pyp-beyond-profile h3 {
    margin-bottom: 4px;
    color: #fff;
    font-size: 10px;
    font-weight: 800;
}

.pyp-beyond-profile > p {
    margin-bottom: 10px;
    color: #eaf5ff;
    font-size: 12px;
    line-height: 1.5;
}

.pyp-beyond-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
}

.pyp-beyond-tags span {
    display: inline-block;
    padding: 4px 8px;
    border-radius: 20px;
    background: #fff;
    color: #52627a;
    font-size: 15px;
    line-height: 1.3;
}

.pyp-beyond-campus {
    display: grid;
    grid-template-columns: .85fr 1.15fr;
    gap: 22px;
    align-items: center;
    padding: 22px;
    border-radius: 12px;
    background: #fff;
    color: #172438;
}

.pyp-beyond-campus-intro > span {
    display: block;
    margin-bottom: 7px;
    color: #ff7b08;
    font-size: 15px;
    font-weight: 800;
    letter-spacing: .5px;
}

.pyp-beyond-campus-intro h3 {
    margin-bottom: 8px;
    color: #ff5b00;
    font-size: 15px;
    font-weight: 800;
    line-height: 1.3;
}

.pyp-beyond-campus-intro p {
    margin-bottom: 0;
    color: #64738a;
    font-size: 14px;
    line-height: 1.7;
}

.pyp-beyond-campus-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 9px;
}

.pyp-beyond-campus-grid article {
    min-width: 0;
    padding: 12px;
    border: 1px solid #e8ebf1;
    border-radius: 8px;
    background: #f8f7f4;
}

.pyp-beyond-campus-grid h4 {
    margin: 0 0 5px;
    color: #172438;
    font-size: 15px;
    font-weight: 800;
}

.pyp-beyond-campus-grid p {
    margin-bottom: 0;
    color: #68758a;
    font-size: 14px;
    line-height: 1.6;
}

/* =========================================
   TABLET
========================================= */

@media (max-width: 800px) {
    .pyp-approach-container,
    .pyp-exhibition-container,
    .pyp-parent-container,
    .pyp-beyond-container {
        width: calc(100% - 48px);
    }

    .pyp-exhibition-container {
        grid-template-columns: 1fr 1.2fr;
        gap: 24px;
    }

    .pyp-parent-container {
        grid-template-columns: 1fr;
        gap: 22px;
    }

    .pyp-parent-cta {
        min-height: 100px;
    }

    .pyp-beyond-campus {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .pyp-approach-table th,
    .pyp-approach-table td {
        padding: 12px 10px;
    }
}

/* =========================================
   MOBILE
========================================= */

@media (max-width: 560px) {
    .pyp-approach-container,
    .pyp-exhibition-container,
    .pyp-parent-container,
    .pyp-beyond-container {
        width: calc(100% - 32px);
    }

    .pyp-approach {
        padding: 32px 0;
    }

    .pyp-approach-heading h2,
    .pyp-exhibition-intro h2,
    .pyp-parent-content h2 {
        font-size: 24px;
    }

    .pyp-approach-table-wrap {
        overflow-x: auto;
    }

    .pyp-approach-table {
        min-width: 620px;
    }

    .pyp-exhibition,
    .pyp-parent-check {
        padding: 34px 0;
    }

    .pyp-exhibition-container {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .pyp-exhibition-intro h2 {
        max-width: 320px;
    }

    .pyp-exhibition-step {
        padding: 14px;
    }

    .pyp-parent-container {
        grid-template-columns: 1fr;
        gap: 22px;
    }

    .pyp-parent-list li {
        font-size: 11px;
    }

    .pyp-parent-cta {
        min-height: 100px;
        padding: 20px;
    }

    .pyp-beyond {
        padding: 32px 0;
    }

    .pyp-beyond-heading h2 {
        font-size: 21px;
    }

    .pyp-beyond-features {
        grid-template-columns: 1fr;
        gap: 10px;
        margin-bottom: 18px;
    }

    .pyp-beyond-feature {
        padding: 16px;
    }

    .pyp-beyond-feature p,
    .pyp-beyond-heading > p {
        font-size: 10px;
    }

    .pyp-beyond-profiles {
        grid-template-columns: 1fr;
        gap: 10px;
        margin-bottom: 24px;
    }

    .pyp-beyond-campus {
        padding: 17px;
        gap: 16px;
    }

    .pyp-beyond-campus-grid {
        grid-template-columns: 1fr 1fr;
        gap: 8px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .pyp-parent-cta-button {
        transition: none;
    }
}

/* =========================================================
   9. FAQ
   ========================================================= */

.ibpyp-page .sunshine-faq{
    width: 100%;
    padding: 60px 25px 75px;
    background: #f7f8ff;
    color: #10213a;
    font-family: "Open Sans", Arial, sans-serif;
}

.ibpyp-page .sunshine-faq .sunshine-faq-container{
    max-width: 1180px;
    margin: 0 auto;
}

.ibpyp-page .sunshine-faq .sunshine-faq-heading{
    margin-bottom: 36px;
}

.ibpyp-page .sunshine-faq .sunshine-faq-heading > span{
    display: block;
    margin-bottom: 9px;
    color: #ff7900;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.25px;
}

.ibpyp-page .sunshine-faq .sunshine-faq-heading h2{
    margin: 0;
    color: #f45b0b;
    font-size: 25px;
    font-weight: 700;
    line-height: 1.35;
}

.ibpyp-page .sunshine-faq .sunshine-faq-layout{
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
    align-items: start;
    gap: 22px;
}

.ibpyp-page .sunshine-faq .sunshine-faq-questions{
    display: flex;
    min-width: 0;
    flex-direction: column;
    gap: 7px;
}

.ibpyp-page .sunshine-faq .sunshine-faq-question{
    display: flex;
    width: 100%;
    min-height: 36px;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    padding: 10px 14px;
    border: 1px solid #e4e9f2;
    border-radius: 7px;
    background: #fff;
    color: #142039;
    font-family: inherit;
    font-size: 14px;
    font-weight: 400;
    line-height: 1.5;
    text-align: left;
    cursor: pointer;
    transition: background 0.2s ease, border-color 0.2s ease;
}

.ibpyp-page .sunshine-faq .sunshine-faq-question:hover{
    border-color: #c5d7eb;
    background: #fdfefe;
}

.ibpyp-page .sunshine-faq .sunshine-faq-question.active{
    position: relative;
    overflow: hidden;
    border-color: #174575;
    background: #103b66;
    color: #fff;
    box-shadow: 0 2px 4px rgba(12, 38, 67, 0.12);
}

.ibpyp-page .sunshine-faq .sunshine-faq-question.active::before{
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    width: 3px;
    background: #ff9500;
    content: "";
}

.ibpyp-page .sunshine-faq .sunshine-faq-arrow{
    flex-shrink: 0;
    color: #91a4c0;
    font-size: 21px;
    line-height: 12px;
    transition: transform 0.2s ease;
}

.ibpyp-page .sunshine-faq .sunshine-faq-question.active .sunshine-faq-arrow{
    transform: rotate(0deg);
    color: #ffb000;
}

.ibpyp-page .sunshine-faq .sunshine-faq-answer-panel{
    min-height: 206px;
    padding: 25px 28px;
    border: 1px solid #ffdc70;
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 3px 4px rgba(16, 33, 58, 0.08);
}

.ibpyp-page .sunshine-faq .sunshine-faq-quote{
    margin-bottom: 15px;
    color: #ff7900;
    font-family: Georgia, serif;
    font-size: 26px;
    font-weight: 700;
    letter-spacing: -5px;
    line-height: 1;
}

.ibpyp-page .sunshine-faq .sunshine-faq-answer-panel h3,
.ibpyp-page .sunshine-faq .sunshine-faq-mobile-answer h3{
    margin: 0 0 12px;
    color: #f45b0b;
    font-size: 16px;
    font-weight: 700;
    line-height: 1.45;
}

.ibpyp-page .sunshine-faq .sunshine-faq-answer-panel p,
.ibpyp-page .sunshine-faq .sunshine-faq-mobile-answer p{
    margin: 0;
    color: #52617c;
    font-size: 14px;
    font-weight: 400;
    line-height: 1.7;
}

.ibpyp-page .sunshine-faq .sunshine-faq-mobile-answer{
    display: none;
}

@media (max-width: 768px) {
    .ibpyp-page .sunshine-faq{
        padding: 50px 20px;
    }

    .ibpyp-page .sunshine-faq .sunshine-faq-layout{
        grid-template-columns: minmax(0, 1fr);
        gap: 20px;
    }

    .ibpyp-page .sunshine-faq .sunshine-faq-heading{
        margin-bottom: 27px;
    }

    .ibpyp-page .sunshine-faq .sunshine-faq-heading h2{
        font-size: 24px;
    }

    .ibpyp-page .sunshine-faq .sunshine-faq-question{
        min-height: 43px;
        padding: 12px 14px;
        font-size: 12px;
    }

    .ibpyp-page .sunshine-faq .sunshine-faq-answer-panel{
        padding: 24px;
    }

    .ibpyp-page .sunshine-faq .sunshine-faq-answer-panel h3{
        font-size: 17px;
    }

    .ibpyp-page .sunshine-faq .sunshine-faq-answer-panel p{
        font-size: 12px;
    }
}

@media (max-width: 576px) {
    .ibpyp-page .sunshine-faq{
        padding: 40px 16px;
    }

    .ibpyp-page .sunshine-faq .sunshine-faq-heading h2{
        font-size: 22px;
    }

    .ibpyp-page .sunshine-faq .sunshine-faq-heading > span{
        font-size: 12px;
    }

    .ibpyp-page .sunshine-faq .sunshine-faq-layout{
        display: block;
    }

    .ibpyp-page .sunshine-faq .sunshine-faq-question{
        min-height: 46px;
        padding: 12px;
        font-size: 12px;
    }

    .ibpyp-page .sunshine-faq .sunshine-faq-answer-panel{
        display: none;
    }

    .ibpyp-page .sunshine-faq .sunshine-faq-mobile-answer{
        display: block;
        margin-top: 10px;
        padding: 22px 18px;
        border: 1px solid #ffdc70;
        border-radius: 10px;
        background: #fff;
        box-shadow: 0 3px 5px rgba(16, 33, 58, 0.06);
    }

    .ibpyp-page .sunshine-faq .sunshine-faq-mobile-answer .sunshine-faq-quote{
        margin-bottom: 12px;
        font-size: 24px;
    }

    .ibpyp-page .sunshine-faq .sunshine-faq-mobile-answer h3{
        margin-bottom: 10px;
        font-size: 16px;
        line-height: 1.5;
    }

    .ibpyp-page .sunshine-faq .sunshine-faq-mobile-answer p{
        font-size: 12px;
        line-height: 1.8;
    }
}

/* =========================================
   PYP CURRICULUM SECTION
========================================= */

.pyp-curriculum-section {
    width: 100%;
    padding: 46px 0 42px;
    background: #f7f8ff;
    font-family: "DM Sans", Arial, sans-serif;
    color: #172438;
}

.pyp-curriculum-section *,
.pyp-curriculum-section *::before,
.pyp-curriculum-section *::after {
    box-sizing: border-box;
}

.pyp-curriculum-container {
    width: calc(100% - 90px);
    max-width: 1100px;
    margin: 0 auto;
}

/* Section heading */

.pyp-curriculum-heading {
    margin-bottom: 28px;
}

.pyp-curriculum-eyebrow {
    display: block;
    margin-bottom: 7px;
    color: #ff7900;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.7px;
}

.pyp-curriculum-heading h2 {
    margin: 0 0 5px;
    color: #f65300;
    font-size: 28px;
    font-weight: 900;
    line-height: 1.25;
    letter-spacing: -0.7px;
}

.pyp-curriculum-heading > p {
    margin: 0;
    color: #53627a;
    font-size: 14px;
    line-height: 1.7;
}

/* Three-column layout */

.pyp-curriculum-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
    align-items: stretch;
}

/* Standard cards */

.pyp-curriculum-card {
    min-width: 0;
    padding: 22px;
    background: #ffffff;
    border: 1px solid #e2e8f1;
    border-radius: 13px;
    box-shadow: 0 1px 2px rgba(20, 39, 65, 0.03);
}

.pyp-curriculum-label {
    display: block;
    margin-bottom: 7px;
    color: #8398b7;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.25px;
    line-height: 1.5;
}

.pyp-curriculum-card h3 {
    margin: 0 0 9px;
    color: #172438;
    font-size: 16px;
    font-weight: 800;
    line-height: 1.35;
}

.pyp-curriculum-description {
    margin: 0 0 15px;
    color: #65748c;
    font-size: 14px;
    line-height: 1.65;
}

/* Subject list */

.pyp-subject-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.pyp-subject-list li {
    position: relative;
    padding: 4px 0 4px 18px;
    color: #293951;
    font-size: 14px;
    line-height: 1.5;
}

.pyp-subject-list li::before {
    content: "✓";
    position: absolute;
    top: 4px;
    left: 0;
    color: #175f61;
    font-size: 14px;
    font-weight: 700;
}

/* Language list */

.pyp-language-list {
    margin-top: 1px;
}

.pyp-language-item {
    padding: 11px 0;
    border-bottom: 1px solid #edf0f5;
}

.pyp-language-item:first-child {
    padding-top: 0;
}

.pyp-language-item:last-child {
    padding-bottom: 0;
    border-bottom: none;
}

.pyp-language-item h4 {
    margin: 0 0 2px;
    color: #172438;
    font-size: 14px;
    font-weight: 800;
    line-height: 1.4;
}

.pyp-language-item p {
    margin: 0;
    color: #718099;
    font-size: 14px;
    line-height: 1.5;
}

/* Specialist card */

.pyp-specialist-card {
    padding: 22px;
    background: #078cf5;
    border-color: #078cf5;
    box-shadow: none;
}

.pyp-specialist-card .pyp-curriculum-label {
    color: #ffffff;
}

.pyp-specialist-card h3 {
    color: #ffffff;
    font-size: 15px;
    margin-bottom: 16px;
}

.pyp-specialist-tags {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 6px;
    margin-bottom: 16px;
}

.pyp-specialist-tags span {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 25px;
    padding: 5px 7px;
    border-radius: 7px;
    background: #ff982d;
    color: #ffffff;
    text-align: center;
    font-size: 14px;
    font-weight: 800;
    line-height: 1.4;
}

.pyp-specialist-description {
    margin: 0;
    color: #ffffff;
    font-size: 14px;
    line-height: 1.7;
}

/* =========================================
   TABLET
========================================= */

@media (max-width: 900px) {
    .pyp-curriculum-container {
        width: calc(100% - 48px);
    }

    .pyp-curriculum-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 14px;
    }

    .pyp-specialist-card {
        grid-column: 1 / -1;
    }

    .pyp-specialist-tags {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}

/* =========================================
   MOBILE
========================================= */

@media (max-width: 560px) {
    .pyp-curriculum-section {
        padding: 34px 0;
    }

    .pyp-curriculum-container {
        width: calc(100% - 36px);
    }

    .pyp-curriculum-heading {
        margin-bottom: 22px;
    }

    .pyp-curriculum-heading h2 {
        font-size: 25px;
        line-height: 1.25;
    }

    .pyp-curriculum-grid {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .pyp-curriculum-card {
        padding: 20px;
    }

    .pyp-specialist-card {
        grid-column: auto;
    }

    .pyp-specialist-tags {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .pyp-curriculum-description,
    .pyp-specialist-description {
        font-size: 11px;
    }

    .pyp-subject-list li {
        font-size: 12px;
    }
}

/* =====================================
   PYP TRANSDISCIPLINARY THEMES
===================================== */

.pyp-themes-section {
    width: 100%;
    padding: 54px 0 56px;
    background: linear-gradient(
        110deg,
        #073766 0%,
        #075ab3 48%,
        #0868cf 100%
    );
    font-family: "DM Sans", Arial, sans-serif;
    color: #ffffff;
}

.pyp-themes-section *,
.pyp-themes-section *::before,
.pyp-themes-section *::after {
    box-sizing: border-box;
}

.pyp-themes-container {
    width: calc(100% - 100px);
    max-width: 1100px;
    margin: 0 auto;
}

/* Heading row */

.pyp-themes-header {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 42px;
    align-items: start;
    margin-bottom: 34px;
}

.pyp-themes-eyebrow {
    display: block;
    margin-bottom: 10px;
    color: #ffb13b;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.65px;
}

.pyp-themes-title h2 {
    max-width: 520px;
    margin: 0;
    color: #ffffff;
    font-size: 29px;
    font-weight: 900;
    line-height: 1.12;
    letter-spacing: -0.6px;
}

.pyp-themes-intro {
    max-width: 500px;
    margin: 0;
    color: #e0ecff;
    font-size: 14px;
    line-height: 1.65;
}

/* Main content */

.pyp-themes-content {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 18px;
    align-items: stretch;
}

/* Theme buttons */

.pyp-theme-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-content: start;
    gap: 9px;
}

.pyp-theme-button {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 7px;
    min-width: 0;
    min-height: 60px;
    padding: 11px 12px;
    border: 1px solid #80c7ff;
    border-radius: 10px;
    background: #078cf5;
    color: #ffffff;
    font-family: inherit;
    text-align: left;
    cursor: pointer;
    transition: background-color 0.2s ease,
                border-color 0.2s ease;
}

.pyp-theme-button > span {
    font-size: 14px;
    font-weight: 800;
    line-height: 1.2;
}

.pyp-theme-button strong {
    font-size: 14px;
    font-weight: 700;
    line-height: 1.35;
}

.pyp-theme-button:hover {
    background: #0879dc;
}

.pyp-theme-button.active,
.pyp-theme-button.active:hover {
    background: #ff982f;
    border-color: #ff982f;
}

/* White details card */

.pyp-theme-detail {
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-width: 0;
    padding: 25px;
    border-radius: 13px;
    background: #ffffff;
    color: #172438;
    box-shadow: 0 3px 10px rgba(0, 25, 65, 0.08);
}

.pyp-theme-detail-eyebrow {
    display: block;
    margin-bottom: 6px;
    color: #ff650d;
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.35px;
    line-height: 1.5;
}

.pyp-theme-detail h3 {
    margin: 0 0 10px;
    color: #ff5b00;
    font-size: 19px;
    font-weight: 800;
    line-height: 1.3;
}

.pyp-theme-description {
    margin: 0 0 20px;
    color: #53627a;
    font-size: 14px;
    line-height: 1.75;
}

.pyp-theme-small-label {
    display: block;
    margin-bottom: 8px;
    color: #8499b7;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.65px;
    line-height: 1.5;
}

.pyp-theme-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 20px;
}

.pyp-theme-tags span {
    display: inline-flex;
    align-items: center;
    min-height: 22px;
    padding: 4px 10px;
    border-radius: 20px;
    background: #f0f3f8;
    color: #34445c;
    font-size: 14px;
    line-height: 1.4;
}

.pyp-theme-concepts p {
    margin: 0;
    color: #657795;
    font-size: 14px;
    line-height: 1.7;
}

/* Tablet */

@media (max-width: 850px) {
    .pyp-themes-container {
        width: calc(100% - 48px);
    }

    .pyp-themes-header {
        gap: 24px;
    }

    .pyp-themes-title h2 {
        font-size: 25px;
    }

    .pyp-themes-content {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .pyp-theme-detail {
        min-height: 250px;
    }
}

/* Mobile */

@media (max-width: 560px) {
    .pyp-themes-section {
        padding: 38px 0;
    }

    .pyp-themes-container {
        width: calc(100% - 36px);
    }

    .pyp-themes-header {
        grid-template-columns: 1fr;
        gap: 12px;
        margin-bottom: 24px;
    }

    .pyp-themes-title h2 {
        font-size: 26px;
        line-height: 1.18;
    }

    .pyp-themes-intro {
        font-size: 12px;
    }

    .pyp-theme-list {
        gap: 8px;
    }

    .pyp-theme-button {
        min-height: 68px;
        padding: 10px;
    }

    .pyp-theme-button strong {
        font-size: 11px;
    }

    .pyp-theme-detail {
        min-height: auto;
        padding: 21px;
    }

    .pyp-theme-detail h3 {
        font-size: 18px;
    }

    .pyp-theme-description {
        font-size: 12px;
        margin-bottom: 18px;
    }

    .pyp-theme-tags {
        margin-bottom: 18px;
    }

    .pyp-theme-tags span {
        font-size: 10px;
    }

    .pyp-theme-concepts p {
        font-size: 11px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .pyp-theme-button {
        transition: none;
    }
}
