/* Learn & Explore page */
body.gmbh-learn-page {
    background:
        radial-gradient(circle at 10% 8%, rgba(220, 230, 243, 0.58), transparent 28rem),
        var(--gmb-cream);
}

.gmb-learn-hero {
    padding: 48px 0 34px;
}

.gmb-learn-hero-card {
    position: relative;
    min-height: 610px;
    overflow: hidden;
    border: 1px solid rgba(27, 42, 77, 0.14);
    border-radius: var(--gmb-radius-xl);
    background: #f7f2e8;
    box-shadow: var(--gmb-shadow);
    isolation: isolate;
}

.gmb-learn-hero-art {
    position: absolute;
    inset: 0;
    z-index: -2;
}

.gmb-learn-hero-art img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
}

.gmb-learn-hero-card::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background: linear-gradient(90deg, rgba(250, 246, 238, 0) 32%, rgba(250, 246, 238, 0.36) 47%, rgba(250, 246, 238, 0.94) 67%, rgba(250, 246, 238, 0.99) 100%);
}

.gmb-learn-hero-copy {
    width: min(48%, 610px);
    margin-left: auto;
    padding: 105px 70px 85px 34px;
}

.gmb-learn-hero-copy h1 {
    max-width: 560px;
    font-size: clamp(3rem, 5.2vw, 5.25rem);
}

.gmb-learn-hero-copy .gmb-lead {
    color: rgba(27, 42, 77, 0.82);
}

.gmb-learning-paths {
    padding-top: 70px;
}

.gmb-learning-path-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
}

.gmb-learning-path-card {
    position: relative;
    display: flex;
    min-height: 100%;
    flex-direction: column;
    padding: 34px;
    overflow: hidden;
    border: 1px solid var(--gmb-border);
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.78);
    box-shadow: var(--gmb-shadow-soft);
    transition: transform 180ms ease, box-shadow 180ms ease;
}

.gmb-learning-path-card::before {
    content: "";
    position: absolute;
    inset: 0 0 auto;
    height: 6px;
    background: var(--path-accent, var(--gmb-gold));
}

.gmb-learning-path-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 18px 38px rgba(27, 42, 77, 0.13);
}

.gmb-learning-path-smiles {
    --path-accent: #7399c5;
    --path-soft: #edf4fb;
}

.gmb-learning-path-wild {
    --path-accent: #7f9a66;
    --path-soft: #eff5ea;
}

.gmb-learning-path-money {
    --path-accent: var(--gmb-gold);
    --path-soft: #fbf4df;
}

.gmb-learning-path-icon {
    display: grid;
    width: 66px;
    height: 66px;
    place-items: center;
    margin-bottom: 22px;
    border-radius: 20px;
    background: var(--path-soft);
    color: var(--path-accent);
}

.gmb-learning-path-icon svg {
    width: 38px;
    height: 38px;
}

.gmb-learning-path-kicker {
    margin-bottom: 6px;
    color: var(--path-accent);
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.gmb-learning-path-card h3 {
    font-size: 1.75rem;
}

.gmb-learning-path-card > p:not(.gmb-learning-path-kicker) {
    color: rgba(43, 43, 51, 0.76);
}

.gmb-learning-path-card ul {
    display: grid;
    gap: 8px;
    margin: 18px 0 26px;
    padding: 0;
    list-style: none;
}

.gmb-learning-path-card li {
    position: relative;
    padding-left: 22px;
    color: rgba(27, 42, 77, 0.82);
}

.gmb-learning-path-card li::before {
    content: "";
    position: absolute;
    top: 0.68em;
    left: 2px;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--path-accent);
}

.gmb-learning-path-actions {
    display: grid;
    gap: 12px;
    margin-top: auto;
}

.gmb-learning-book-link {
    color: rgba(43, 43, 51, 0.65);
    font-size: 0.9rem;
    font-weight: 600;
}

.gmb-learning-book-link:hover,
.gmb-learning-book-link:focus-visible {
    color: var(--gmb-navy);
}

.gmb-quick-discovery {
    background:
        linear-gradient(135deg, rgba(220, 230, 243, 0.9), rgba(250, 246, 238, 0.82)),
        var(--gmb-soft-blue);
    border-block: 1px solid rgba(27, 42, 77, 0.08);
}

.gmb-discovery-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

.gmb-discovery-card {
    --discovery-accent: var(--gmb-gold);
    overflow: hidden;
    border: 1px solid rgba(27, 42, 77, 0.12);
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.88);
    box-shadow: 0 8px 22px rgba(27, 42, 77, 0.07);
}

.gmb-discovery-smiles {
    --discovery-accent: #7399c5;
}

.gmb-discovery-wild {
    --discovery-accent: #7f9a66;
}

.gmb-discovery-money {
    --discovery-accent: #b38c2e;
}

.gmb-discovery-card summary {
    position: relative;
    display: grid;
    gap: 5px;
    min-height: 166px;
    padding: 25px 64px 25px 26px;
    cursor: pointer;
    list-style: none;
}

.gmb-discovery-card summary::-webkit-details-marker {
    display: none;
}

.gmb-discovery-card summary::before {
    content: "";
    position: absolute;
    inset: 0 auto 0 0;
    width: 5px;
    background: var(--discovery-accent);
}

.gmb-discovery-category {
    color: var(--discovery-accent);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.gmb-discovery-title {
    color: var(--gmb-navy);
    font-family: var(--gmb-heading);
    font-size: 1.45rem;
    font-weight: 700;
    line-height: 1.2;
}

.gmb-discovery-summary {
    color: rgba(43, 43, 51, 0.7);
    line-height: 1.5;
}

.gmb-discovery-toggle {
    position: absolute;
    top: 28px;
    right: 24px;
    width: 28px;
    height: 28px;
    border: 1px solid rgba(27, 42, 77, 0.16);
    border-radius: 50%;
    background: rgba(250, 246, 238, 0.9);
}

.gmb-discovery-toggle::before,
.gmb-discovery-toggle::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 12px;
    height: 2px;
    border-radius: 2px;
    background: var(--gmb-navy);
    transform: translate(-50%, -50%);
    transition: transform 180ms ease;
}

.gmb-discovery-toggle::after {
    transform: translate(-50%, -50%) rotate(90deg);
}

.gmb-discovery-card[open] .gmb-discovery-toggle::after {
    transform: translate(-50%, -50%) rotate(0deg);
}

.gmb-discovery-card[open] summary {
    border-bottom: 1px solid rgba(27, 42, 77, 0.08);
}

.gmb-discovery-content {
    padding: 24px 26px 28px;
}

.gmb-discovery-content > p {
    color: rgba(43, 43, 51, 0.78);
}

.gmb-discovery-try {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 7px;
    margin: 18px 0;
    padding: 14px 16px;
    border-radius: 12px;
    background: rgba(220, 230, 243, 0.5);
    color: var(--gmb-navy);
    font-size: 0.96rem;
}

.gmb-learning-books {
    padding-bottom: 105px;
}

.gmb-learning-book-groups {
    display: grid;
    gap: 24px;
}

.gmb-learning-book-group {
    --group-accent: var(--gmb-gold);
    display: grid;
    grid-template-columns: minmax(240px, 0.8fr) minmax(0, 1.7fr);
    gap: 34px;
    align-items: center;
    padding: 34px;
    border: 1px solid rgba(27, 42, 77, 0.12);
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.72);
    box-shadow: var(--gmb-shadow-soft);
    scroll-margin-top: 110px;
}

.gmb-learning-book-group-smiles {
    --group-accent: #7399c5;
    background: linear-gradient(120deg, rgba(237, 244, 251, 0.9), rgba(255, 255, 255, 0.72));
}

.gmb-learning-book-group-wild {
    --group-accent: #7f9a66;
    background: linear-gradient(120deg, rgba(239, 245, 234, 0.95), rgba(255, 255, 255, 0.72));
}

.gmb-learning-book-group-money {
    --group-accent: #b38c2e;
    background: linear-gradient(120deg, rgba(251, 244, 223, 0.96), rgba(255, 255, 255, 0.72));
}

.gmb-learning-book-copy .gmb-eyebrow {
    color: var(--group-accent);
}

.gmb-learning-book-copy h3 {
    font-size: clamp(1.7rem, 2.7vw, 2.45rem);
}

.gmb-learning-book-copy > p:last-child {
    color: rgba(43, 43, 51, 0.72);
}

.gmb-learning-book-row {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}

.gmb-learning-book-group-wild .gmb-learning-book-row {
    grid-template-columns: minmax(0, 230px);
}

.gmb-learning-book-group-money .gmb-learning-book-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.gmb-learning-book {
    display: grid;
    grid-template-rows: minmax(220px, 1fr) auto;
    overflow: hidden;
    border: 1px solid rgba(27, 42, 77, 0.12);
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.86);
    box-shadow: 0 8px 20px rgba(27, 42, 77, 0.08);
    transition: transform 180ms ease, box-shadow 180ms ease;
}

.gmb-learning-book:hover,
.gmb-learning-book:focus-visible {
    transform: translateY(-4px);
    box-shadow: 0 14px 28px rgba(27, 42, 77, 0.14);
}

.gmb-learning-book-cover {
    display: grid;
    min-height: 240px;
    place-items: center;
    padding: 18px;
    background: rgba(250, 246, 238, 0.72);
}

.gmb-learning-book-cover img {
    width: 100%;
    max-width: 175px;
    max-height: 260px;
    object-fit: contain;
    filter: drop-shadow(0 10px 14px rgba(27, 42, 77, 0.14));
}

.gmb-learning-book-meta {
    display: grid;
    gap: 5px;
    padding: 16px;
    border-top: 1px solid rgba(27, 42, 77, 0.08);
}

.gmb-learning-book-meta strong {
    color: var(--gmb-navy);
    font-family: var(--gmb-heading);
    font-size: 1rem;
    line-height: 1.25;
}

.gmb-learning-book-meta small {
    color: var(--group-accent);
    font-weight: 700;
}

.gmb-learning-games {
    padding-top: 0;
}

.gmb-learning-games-card {
    display: grid;
    grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
    overflow: hidden;
    border: 1px solid rgba(194, 161, 74, 0.35);
    border-radius: var(--gmb-radius-xl);
    background: linear-gradient(135deg, #152342, #223a67);
    color: rgba(250, 246, 238, 0.86);
    box-shadow: 0 22px 50px rgba(16, 29, 59, 0.22);
}

.gmb-learning-games-copy {
    padding: 58px;
}

.gmb-learning-games-copy h2 {
    color: var(--gmb-cream);
}

.gmb-learning-games-copy .gmb-eyebrow {
    color: var(--gmb-gold-light);
}

.gmb-learning-games-copy > p {
    font-size: 1.08rem;
}

.gmb-future-feature-list {
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
    margin: 24px 0 30px;
}

.gmb-future-feature-list span {
    padding: 7px 11px;
    border: 1px solid rgba(225, 201, 120, 0.34);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.06);
    color: var(--gmb-cream);
    font-size: 0.86rem;
    font-weight: 600;
}

.gmb-learning-games-art {
    min-height: 430px;
}

.gmb-learning-games-art img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.gmb-learning-grownups {
    padding-top: 72px;
}

.gmb-learning-grownups-grid {
    display: grid;
    grid-template-columns: 190px minmax(0, 780px);
    gap: 44px;
    align-items: center;
    justify-content: center;
    padding: 48px;
    border: 1px solid rgba(27, 42, 77, 0.12);
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.66);
}

.gmb-learning-grownups-mark {
    display: grid;
    width: 170px;
    height: 170px;
    place-items: center;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(220, 230, 243, 0.95), rgba(250, 246, 238, 0.2));
}

.gmb-learning-grownups-mark img {
    width: 120px;
    height: 120px;
    object-fit: contain;
}

.gmb-learning-note {
    padding-left: 16px;
    border-left: 3px solid var(--gmb-gold);
    color: rgba(43, 43, 51, 0.62);
    font-size: 0.9rem;
}

@media (max-width: 1050px) {
    .gmb-learn-hero-card {
        min-height: 560px;
    }

    .gmb-learn-hero-copy {
        width: 52%;
        padding: 78px 44px 70px 24px;
    }

    .gmb-learning-path-grid {
        grid-template-columns: 1fr;
    }

    .gmb-learning-path-card {
        display: grid;
        grid-template-columns: 80px minmax(0, 1fr);
        column-gap: 22px;
    }

    .gmb-learning-path-icon {
        grid-row: 1 / span 5;
    }

    .gmb-learning-path-card ul,
    .gmb-learning-path-actions {
        grid-column: 2;
    }

    .gmb-learning-book-group {
        grid-template-columns: 1fr;
    }

    .gmb-learning-book-group-wild .gmb-learning-book-row {
        grid-template-columns: minmax(0, 260px);
    }

    .gmb-learning-games-copy {
        padding: 44px;
    }
}

@media (max-width: 780px) {
    .gmb-learn-hero {
        padding-top: 24px;
    }

    .gmb-learn-hero-card {
        display: flex;
        min-height: 0;
        flex-direction: column;
    }

    .gmb-learn-hero-card::after {
        display: none;
    }

    .gmb-learn-hero-art {
        position: relative;
        z-index: 0;
        aspect-ratio: 16 / 9;
    }

    .gmb-learn-hero-art img {
        object-position: left center;
    }

    .gmb-learn-hero-copy {
        width: 100%;
        padding: 36px 28px 40px;
        background: rgba(250, 246, 238, 0.98);
    }

    .gmb-learn-hero-copy h1 {
        font-size: clamp(2.55rem, 12vw, 4rem);
    }

    .gmb-discovery-grid {
        grid-template-columns: 1fr;
    }

    .gmb-learning-book-row,
    .gmb-learning-book-group-money .gmb-learning-book-row {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .gmb-learning-games-card {
        grid-template-columns: 1fr;
    }

    .gmb-learning-games-art {
        min-height: 320px;
        order: -1;
    }

    .gmb-learning-grownups-grid {
        grid-template-columns: 1fr;
        gap: 24px;
        padding: 36px 28px;
        text-align: center;
    }

    .gmb-learning-grownups-mark {
        width: 130px;
        height: 130px;
        margin: 0 auto;
    }

    .gmb-learning-grownups-mark img {
        width: 90px;
        height: 90px;
    }

    .gmb-learning-note {
        padding: 14px;
        border-left: 0;
        border-top: 3px solid var(--gmb-gold);
        background: rgba(250, 246, 238, 0.72);
        text-align: left;
    }
}

@media (max-width: 560px) {
    .gmb-learning-path-card {
        display: block;
        padding: 28px 24px;
    }

    .gmb-learning-path-icon {
        width: 58px;
        height: 58px;
    }

    .gmb-learning-path-card ul,
    .gmb-learning-path-actions {
        grid-column: auto;
    }

    .gmb-discovery-card summary {
        min-height: 0;
        padding: 22px 56px 22px 22px;
    }

    .gmb-discovery-content {
        padding: 22px;
    }

    .gmb-discovery-try {
        grid-template-columns: 1fr;
    }

    .gmb-learning-book-group {
        padding: 26px 20px;
    }

    .gmb-learning-book-row,
    .gmb-learning-book-group-money .gmb-learning-book-row,
    .gmb-learning-book-group-wild .gmb-learning-book-row {
        grid-template-columns: 1fr;
    }

    .gmb-learning-book {
        grid-template-columns: 112px 1fr;
        grid-template-rows: 1fr;
    }

    .gmb-learning-book-cover {
        min-height: 165px;
        padding: 12px;
    }

    .gmb-learning-book-cover img {
        max-width: 92px;
        max-height: 145px;
    }

    .gmb-learning-book-meta {
        align-content: center;
        border-top: 0;
        border-left: 1px solid rgba(27, 42, 77, 0.08);
    }

    .gmb-learning-games-copy {
        padding: 34px 24px 38px;
    }

    .gmb-learning-games-art {
        min-height: 235px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .gmb-learning-path-card,
    .gmb-learning-book,
    .gmb-discovery-toggle::after {
        transition: none;
    }
}

/* v3.0 free learning pathways */
.gmb-learning-free-library {
    padding-top: 34px;
    background: linear-gradient(180deg, rgba(220,230,243,.32), rgba(250,246,238,.25));
}
.gmb-learning-free-grid {
    display: grid;
    grid-template-columns: repeat(2,minmax(0,1fr));
    gap: 18px;
}
.gmb-learning-free-card {
    display: grid;
    grid-template-columns: 112px minmax(0,1fr);
    gap: 18px;
    align-items: center;
    min-height: 155px;
    padding: 20px;
    border: 1px solid rgba(27,42,77,.11);
    border-radius: 20px;
    background: #fffdf8;
    color: #1b2a4d;
    text-decoration: none;
    box-shadow: 0 10px 22px rgba(27,42,77,.07);
    transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.gmb-learning-free-card:hover {
    transform: translateY(-4px);
    border-color: rgba(194,161,74,.65);
    box-shadow: 0 16px 28px rgba(27,42,77,.12);
}
.gmb-learning-free-card img {
    width: 112px;
    height: 112px;
    object-fit: cover;
    border-radius: 14px;
    box-shadow: 0 8px 18px rgba(27,42,77,.12);
}
.gmb-learning-free-card small,
.gmb-learning-free-card strong,
.gmb-learning-free-card em { display: block; }
.gmb-learning-free-card small { color: #80651e; font-weight: 800; font-style: normal; text-transform: uppercase; letter-spacing: .04em; }
.gmb-learning-free-card strong { margin: 4px 0; font: 700 1.25rem var(--gmb-heading); }
.gmb-learning-free-card em { color: rgba(43,43,51,.7); font-style: normal; line-height: 1.4; }
.gmb-learning-free-icon {
    display: grid;
    place-items: center;
    width: 112px;
    height: 112px;
    border-radius: 24px;
    background: #dce6f3;
    font-size: 3rem;
}
.gmb-learning-free-center { background: linear-gradient(135deg,#fffdf8,#eef5fb); }
.gmb-learning-free-all { background: linear-gradient(135deg,#fffdf8,#f5ead0); }
@media(max-width:760px){
    .gmb-learning-free-grid{grid-template-columns:1fr}
    .gmb-learning-free-card{grid-template-columns:88px minmax(0,1fr);padding:16px}
    .gmb-learning-free-card img,.gmb-learning-free-icon{width:88px;height:88px}
    .gmb-learning-free-icon{font-size:2.35rem}
}


/* v3.1 free-learning calls to action */
.gmb-learning-free-icon-image {
    width: 112px;
    height: 112px;
    object-fit: cover;
    border: 2px solid rgba(194,161,74,.7);
    border-radius: 24px;
    box-shadow: 0 10px 22px rgba(27,42,77,.14);
}
.gmb-learning-free-cta,
.gmb-learning-book-cta {
    display: inline-flex !important;
    width: fit-content;
    margin-top: 10px;
    padding: 7px 12px;
    border-radius: 999px;
    background: var(--gmb-navy);
    color: var(--gmb-cream);
    font: 800 .78rem var(--gmb-body);
    font-style: normal;
    letter-spacing: .02em;
}
.gmb-learning-free-card:hover .gmb-learning-free-cta,
.gmb-learning-book:hover .gmb-learning-book-cta { background: var(--gmb-gold); color: var(--gmb-navy-deep); }
@media(max-width:760px){
    .gmb-learning-free-icon-image{width:88px;height:88px;border-radius:18px}
}


/* v3.2 featured Dental Health pathway */
.gmb-learning-free-center {
    grid-column: 1 / -1;
    grid-template-columns: 150px minmax(0, 1fr);
    min-height: 190px;
    padding: 26px 30px;
    border: 2px solid rgba(194,161,74,.66);
    background: linear-gradient(120deg,#fffdf8 0%,#eef5fb 58%,#f7edcf 100%);
}
.gmb-learning-free-center .gmb-learning-free-icon-image {
    width: 150px;
    height: 150px;
}
.gmb-learning-free-center strong { font-size: clamp(1.55rem,2.8vw,2.25rem); }
.gmb-learning-free-center em { max-width: 760px; font-size: 1rem; }
@media(max-width:760px){
    .gmb-learning-free-center { grid-template-columns: 96px minmax(0,1fr); min-height: 0; padding: 18px; }
    .gmb-learning-free-center .gmb-learning-free-icon-image { width:96px; height:96px; }
}
@media(max-width:480px){
    .gmb-learning-free-center { grid-template-columns:1fr; text-align:center; }
    .gmb-learning-free-center .gmb-learning-free-icon-image { margin-inline:auto; }
    .gmb-learning-free-center .gmb-learning-free-cta { margin-inline:auto; }
}

/* v3.4.0 featured Money Map game */
.gmb-learning-game-feature{display:grid;grid-template-columns:1.08fr .92fr;overflow:hidden;border-radius:28px;background:#081c33;box-shadow:0 24px 65px rgba(27,42,77,.2)}.gmb-learning-game-art{position:relative;min-height:390px}.gmb-learning-game-art>img:first-child{width:100%;height:100%;object-fit:cover}.gmb-learning-game-art::after{position:absolute;inset:0;content:"";background:linear-gradient(90deg,transparent 50%,rgba(8,28,51,.66))}.gmb-learning-game-badge{position:absolute!important;z-index:2;left:24px;bottom:18px;width:135px!important;height:135px!important;object-fit:contain!important;filter:drop-shadow(0 14px 16px rgba(0,0,0,.38))}.gmb-learning-game-copy{display:flex;flex-direction:column;justify-content:center;padding:46px;color:#fff}.gmb-learning-game-copy h2{color:#fff}.gmb-learning-game-copy>p:not(.gmb-eyebrow){color:rgba(255,255,255,.76)}.gmb-learning-game-copy .gmb-text-link{color:#e1c978!important}
@media(max-width:820px){.gmb-learning-game-feature{grid-template-columns:1fr}.gmb-learning-game-art{min-height:290px}.gmb-learning-game-copy{padding:34px 26px}.gmb-learning-game-badge{width:105px!important;height:105px!important}}
