/* =========================================================
   LEARNING PATHWAY
   ========================================================= */

.pathway-grid {
    display: grid;
    gap: var(--space-5);
}


/* Main pathway container */

.pathway-card {
    padding: var(--space-6);
    background: #ffffff;
    border: 1px solid var(--color-border);
    border-left: 5px solid var(--color-primary);
    border-radius: var(--radius-large);
    box-shadow: var(--shadow-small);
}

.pathway-card.is-available {
    border-left-color: var(--color-accent);
}

.pathway-card.is-locked {
    opacity: 0.72;
}


/* =========================================================
   LEARNER WELCOME
   ========================================================= */

.pathway-welcome {
    display: flex;
    align-items: center;
    gap: 18px;
    margin-bottom: 24px;
    padding: 22px 24px;
    background: #ffffff;
    border: 1px solid #dce5ef;
    border-left: 5px solid #f4b400;
    border-radius: 16px;
    box-shadow: 0 5px 16px rgba(26, 56, 88, 0.08);
}

.pathway-welcome-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 62px;
    width: 62px;
    height: 62px;
    border-radius: 50%;
    background: #fff1b8;
    font-size: 30px;
}

.pathway-welcome h2 {
    margin: 0 0 5px;
    color: #173b63;
}

.pathway-welcome p {
    margin: 0;
    line-height: 1.6;
}


/* =========================================================
   LANGUAGE INFORMATION BANNER
   Non-clickable and non-moving
   ========================================================= */

.language-summary-card {
    display: flex;
    align-items: center;
    gap: 22px;
    width: 100%;
    margin: 0 0 24px;
    padding: 24px 28px;
    box-sizing: border-box;

    background:
        linear-gradient(
            110deg,
            #f1fff1 0%,
            #fffbea 60%,
            #eefaff 100%
        );

    border: 1px solid #b8dfbd;
    border-left: 6px solid #35a853;
    border-radius: 18px;
    box-shadow: 0 5px 16px rgba(25, 91, 49, 0.09);

    cursor: default;
    transform: none;
    transition: none;
}

.language-summary-card:hover,
.language-summary-card:focus,
.language-summary-card:active {
    transform: none;
    box-shadow: 0 5px 16px rgba(25, 91, 49, 0.09);
    cursor: default;
}


/* Language icon */

.language-summary-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 86px;
    width: 86px;
    height: 86px;

    background: #dff6d8;
    border: 2px solid #b8e6ad;
    border-radius: 50%;

    color: #23863e;
    font-family: Georgia, serif;
    font-size: 29px;
    font-weight: 700;
    line-height: 1;
    white-space: nowrap;
}


/* Language text */

.language-summary-content {
    flex: 1;
    min-width: 0;
}

.language-summary-content h2 {
    margin: 0 0 8px;
    color: #17632d;
    font-size: clamp(1.35rem, 2.4vw, 2rem);
    line-height: 1.2;
}

.language-summary-content p {
    margin: 0;
    max-width: 850px;
    color: #3f5146;
    font-size: 1rem;
    line-height: 1.65;
}


/* Decorative book icon */

.language-summary-decoration {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 120px;
    min-height: 90px;

    font-size: 58px;
    line-height: 1;
}


/* =========================================================
   LEVEL HEADING
   ========================================================= */

.level-heading-card {
    display: flex;
    align-items: center;
    gap: 18px;
    margin-bottom: 20px;
    padding: 22px 24px;

    background: #ffffff;
    border: 1px solid #dce5ef;
    border-left: 5px solid #287ac7;
    border-radius: 16px;
    box-shadow: 0 5px 16px rgba(26, 56, 88, 0.08);
}

.level-heading-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 62px;
    width: 62px;
    height: 62px;

    background: #e5f1ff;
    border-radius: 50%;
    font-size: 30px;
}

.level-heading-card h2 {
    margin: 0 0 5px;
    color: #173b63;
}

.level-heading-card p {
    margin: 0;
}


/* =========================================================
   LEVEL OPTIONS
   ========================================================= */

.level-options {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
}

.level-options .program-card {
    min-height: 190px;
}

.level-options .program-card h2 {
    margin-top: 12px;
}

.level-options .green-card {
    background: linear-gradient(145deg, #f0fff0, #ffffff);
    border-top: 5px solid #42b84f;
}

.level-options .blue-card {
    background: linear-gradient(145deg, #eef7ff, #ffffff);
    border-top: 5px solid #4285e8;
}

.level-options .purple-card {
    background: linear-gradient(145deg, #fff7e7, #ffffff);
    border-top: 5px solid #ff9c18;
}

.coming-soon-card {
    cursor: default;
}

.coming-soon-card:hover {
    transform: none;
}


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

@media (max-width: 850px) {

    .language-summary-card {
        align-items: flex-start;
        padding: 22px;
    }

    .language-summary-decoration {
        display: none;
    }

    .level-options {
        grid-template-columns: 1fr;
    }
}


@media (max-width: 600px) {

    .pathway-card {
        padding: 18px;
    }

    .pathway-welcome,
    .level-heading-card {
        align-items: flex-start;
        padding: 18px;
    }

    .pathway-welcome-icon,
    .level-heading-icon {
        flex-basis: 50px;
        width: 50px;
        height: 50px;
        font-size: 24px;
    }

    .language-summary-card {
        flex-direction: column;
        align-items: center;
        gap: 14px;
        padding: 22px 18px;
        text-align: center;
    }

    .language-summary-icon {
        flex-basis: 72px;
        width: 72px;
        height: 72px;
        font-size: 25px;
    }

    .language-summary-content h2 {
        font-size: 1.4rem;
    }
}