:root{--v23-public-purple:#6d176d;--v23-public-dark:#2d0d35;--v23-public-green:#128a50;--v23-public-gold:#d9a810;--v23-public-line:#e8dfe9;--v23-public-muted:#706475}

/* Category card: photo background + separate icon */
.category-showcase-section{overflow:hidden}.category-card--visual{min-height:230px;border-radius:24px}.category-card--visual .category-card__shade{background:linear-gradient(180deg,rgba(23,7,27,.08) 18%,rgba(27,8,31,.93) 100%)}.category-card__icon{position:absolute;z-index:3;top:15px;right:15px;display:grid;place-items:center;width:58px;height:58px;border:1px solid rgba(255,255,255,.34);border-radius:17px;background:rgba(255,255,255,.9);color:var(--v23-public-purple);box-shadow:0 12px 28px rgba(19,7,22,.18);backdrop-filter:blur(8px)}.category-card__icon svg{width:33px;height:33px}.category-card--visual .category-card__body{display:grid;gap:3px}.category-card--visual .category-card__body strong{font-size:1.08rem;font-weight:680}.category-card--visual .category-card__body small{color:rgba(255,255,255,.82)}.category-card--visual .category-card__body>span{margin-top:5px;font-size:.76rem;color:#c9f1d8}.section-kicker{display:block;margin-bottom:7px;color:var(--v23-public-green);font-weight:700;text-transform:uppercase;letter-spacing:.12em;font-size:.72rem}
.category-visual-hero__icon{display:grid!important;place-items:center!important;background:linear-gradient(145deg,rgba(255,255,255,.2),rgba(255,255,255,.08))!important;color:#fff}.category-hero-svg{width:58%;height:58%}.category-tab__icon{display:grid;place-items:center;width:42px;height:42px;border-radius:12px;background:#f4ebf5;color:var(--v23-public-purple)}.category-tab__icon svg{width:25px;height:25px}.category-tab.active .category-tab__icon{background:rgba(255,255,255,.18);color:#fff}

/* Premium learning center */
.learning-hero--premium{position:relative;overflow:hidden;padding:clamp(72px,8vw,122px) 0;background:radial-gradient(circle at 80% 18%,rgba(19,138,80,.16),transparent 30%),radial-gradient(circle at 8% 90%,rgba(109,23,109,.12),transparent 30%),linear-gradient(135deg,#fbf7fb,#f1f9f5)}.learning-hero--premium:before{content:"";position:absolute;inset:auto -10vw -32vw auto;width:60vw;height:60vw;border:1px solid rgba(109,23,109,.09);border-radius:50%}.learning-hero__copy{position:relative;z-index:2}.learning-hero--premium h1{font-size:clamp(2.65rem,5.6vw,5.6rem);line-height:.98;letter-spacing:-.055em;max-width:850px}.learning-hero__actions{display:flex;flex-wrap:wrap;gap:12px;margin-top:26px}.learning-hero__trust{display:flex;flex-wrap:wrap;gap:9px;margin-top:24px}.learning-hero__trust span{padding:8px 12px;border:1px solid #dfd1df;border-radius:999px;background:rgba(255,255,255,.76);font-size:.78rem;color:#625266}.learning-hub-card{position:relative;z-index:2;padding:25px;border:1px solid rgba(255,255,255,.72);border-radius:30px;background:rgba(255,255,255,.82);box-shadow:0 32px 80px rgba(45,13,53,.14);backdrop-filter:blur(18px)}.learning-hub-card__head{display:grid;gap:5px;margin-bottom:17px}.learning-hub-card__head span{font-size:.72rem;text-transform:uppercase;letter-spacing:.13em;color:var(--v23-public-green);font-weight:700}.learning-hub-card__head strong{font-size:1.35rem;color:var(--v23-public-dark)}.learning-hub-card__grid{display:grid;grid-template-columns:1fr 1fr;gap:10px}.learning-topic-card{display:grid;grid-template-columns:44px minmax(0,1fr);align-items:center;gap:11px;padding:13px;border:1px solid var(--v23-public-line);border-radius:16px;background:#fff;color:#382b3c;transition:.2s}.learning-topic-card:hover{transform:translateY(-2px);border-color:#cfb2d0;box-shadow:0 12px 25px rgba(45,13,53,.08)}.learning-topic-card svg{width:28px;height:28px;color:var(--v23-public-purple)}.learning-topic-card span{display:grid;gap:2px}.learning-topic-card strong{font-size:.85rem;font-weight:670}.learning-topic-card small{font-size:.7rem;color:#817385}
.learning-path-section{padding:0 0 24px;background:linear-gradient(180deg,#f4faf7,#fff)}.learning-path{display:grid;grid-template-columns:1fr auto 1fr auto 1fr auto 1fr;align-items:center;gap:14px;margin-top:-28px;padding:20px 24px;border:1px solid var(--v23-public-line);border-radius:24px;background:#fff;box-shadow:0 20px 55px rgba(45,13,53,.09);position:relative;z-index:3}.learning-path>div{display:grid;grid-template-columns:38px minmax(0,1fr);grid-template-rows:auto auto;column-gap:10px}.learning-path>div>span{grid-row:1/3;display:grid;place-items:center;width:38px;height:38px;border-radius:12px;background:#f1e6f1;color:var(--v23-public-purple);font-weight:700}.learning-path strong{font-size:.88rem}.learning-path small{font-size:.72rem;color:#827487}.learning-path i{color:#b9a8bc;font-style:normal}.learning-library{background:#fff}.learning-grid--premium{grid-template-columns:repeat(3,minmax(0,1fr));align-items:stretch}.learning-card--premium{display:flex;flex-direction:column;border-radius:25px;transition:.25s}.learning-card--premium:hover{transform:translateY(-4px);box-shadow:0 25px 58px rgba(45,13,53,.13)}.learning-card--premium .learning-card__media{position:relative;aspect-ratio:16/10}.learning-card__type{position:absolute;left:14px;top:14px;padding:7px 10px;border-radius:999px;background:rgba(255,255,255,.92);color:var(--v23-public-purple);font-size:.69rem;text-transform:uppercase;letter-spacing:.08em;font-weight:700}.learning-card--premium .learning-card__body{display:flex;flex-direction:column;flex:1;padding:23px}.learning-card__meta{display:flex;gap:12px;flex-wrap:wrap;font-size:.72rem;color:#887b8b}.learning-card--premium h2{font-size:1.3rem;line-height:1.28}.learning-card--premium p{flex:1}.learning-card__link{display:flex;justify-content:space-between;align-items:center;margin-top:16px;padding-top:14px;border-top:1px solid var(--v23-public-line);color:var(--v23-public-purple);font-weight:650}.learning-card--featured{grid-column:span 2;display:grid;grid-template-columns:1.05fr .95fr}.learning-card--featured .learning-card__media{aspect-ratio:auto;min-height:100%}.learning-card--featured h2{font-size:clamp(1.55rem,2.6vw,2.25rem)}

/* PDF hero: clear contrast, no text collision */
.document-hero--premium{position:relative;overflow:hidden;min-height:570px;padding:clamp(70px,8vw,115px) 0;background:radial-gradient(circle at 82% 18%,rgba(53,205,126,.2),transparent 30%),linear-gradient(125deg,#2f0d38 0%,#71166e 52%,#0e7848 120%)}.document-hero--premium:after{content:"";position:absolute;right:-12vw;bottom:-28vw;width:62vw;height:62vw;border:1px solid rgba(255,255,255,.14);border-radius:50%}.document-hero--premium .document-hero__grid{position:relative;z-index:2;grid-template-columns:minmax(0,1.15fr) minmax(300px,.65fr);gap:64px;align-items:center}.document-hero__copy{max-width:900px}.document-hero--premium .eyebrow{background:#dcf7e7;color:#176d43}.document-hero--premium h1{max-width:900px;margin:20px 0 20px;color:#fff!important;font-size:clamp(2.8rem,5.8vw,5.8rem);font-weight:650;line-height:1.01;letter-spacing:-.055em;text-shadow:0 3px 20px rgba(0,0,0,.15)}.document-hero--premium p{max-width:800px;color:rgba(255,255,255,.86)!important;font-size:clamp(1rem,1.6vw,1.2rem);line-height:1.8}.document-hero__badges{display:flex;flex-wrap:wrap;gap:9px;margin-top:26px}.document-hero__badges span{padding:9px 13px;border:1px solid rgba(255,255,255,.25);border-radius:999px;background:rgba(255,255,255,.1);color:#fff;font-size:.76rem}.document-hero__visual{display:grid;place-items:center}.document-file-stack{position:relative;width:min(320px,80vw);aspect-ratio:4/5}.document-file{position:absolute;inset:0;border:1px solid rgba(255,255,255,.28);border-radius:30px;background:rgba(255,255,255,.12);box-shadow:0 28px 75px rgba(0,0,0,.22);backdrop-filter:blur(10px)}.document-file--back{transform:translate(32px,-20px) rotate(8deg);opacity:.35}.document-file--middle{transform:translate(15px,-8px) rotate(3deg);opacity:.55}.document-file--front{display:grid;place-items:center;align-content:center;gap:9px;color:#fff;background:linear-gradient(155deg,rgba(255,255,255,.2),rgba(255,255,255,.08))}.document-file__icon{width:76px;height:76px}.document-file--front strong{font-size:3.5rem;letter-spacing:-.04em}.document-file--front small{color:rgba(255,255,255,.78)}

/* Public article HTML generated by editor */
.article-content h2{margin:2.3rem 0 .85rem;font-size:clamp(1.55rem,3vw,2.05rem);line-height:1.25;color:var(--v23-public-dark)}.article-content h3{margin:1.8rem 0 .7rem;font-size:1.35rem;color:#3d2d42}.article-content p{margin:0 0 1.3rem}.article-content ul,.article-content ol{margin:0 0 1.4rem;padding-left:1.55rem}.article-content li{margin:.45rem 0}.article-content blockquote{margin:1.8rem 0;padding:19px 22px;border-left:4px solid var(--v23-public-green);border-radius:0 16px 16px 0;background:#eef8f2;color:#493c4c}.article-content img{max-width:100%;height:auto;display:block;margin:2rem auto;border-radius:20px;box-shadow:0 18px 45px rgba(45,13,53,.12)}.article-content a{color:var(--v23-public-purple);text-decoration:underline;text-underline-offset:3px}

@media(max-width:1100px){.learning-grid--premium{grid-template-columns:repeat(2,minmax(0,1fr))}.learning-card--featured{grid-column:span 2}.document-hero--premium .document-hero__grid{grid-template-columns:1fr .55fr;gap:34px}}
@media(max-width:820px){.learning-hero--premium .learning-hero__grid{grid-template-columns:1fr}.learning-hub-card{max-width:680px}.learning-path{overflow-x:auto;grid-template-columns:220px 24px 220px 24px 220px 24px 220px;scroll-snap-type:x mandatory}.learning-path>div{scroll-snap-align:start}.document-hero--premium{min-height:auto}.document-hero--premium .document-hero__grid{grid-template-columns:1fr}.document-hero__visual{display:none}.document-hero--premium h1{max-width:720px}}
@media(max-width:760px){.category-card__icon{display:none}.category-card--visual{min-height:180px}.category-card--visual .category-card__body>span{display:none}.category-visual-hero__icon{display:none!important}.learning-hub-card{padding:18px;border-radius:23px}.learning-hub-card__grid{grid-template-columns:1fr 1fr}.learning-topic-card{grid-template-columns:36px minmax(0,1fr);padding:11px}.learning-topic-card svg{width:24px;height:24px}.learning-path-section{padding-inline:14px}.learning-path{margin-top:-16px;padding:15px}.learning-grid--premium{grid-template-columns:1fr}.learning-card--featured{grid-column:auto;display:flex}.learning-card--featured .learning-card__media{aspect-ratio:16/10}.document-hero--premium{padding:68px 0}.document-hero--premium h1{font-size:clamp(2.4rem,12vw,3.8rem)}.document-hero__badges{gap:7px}.document-hero__badges span{font-size:.7rem}.document-filter{grid-template-columns:1fr!important}.document-filter .btn{width:100%}}
@media(max-width:430px){.learning-hub-card__grid{grid-template-columns:1fr}.learning-topic-card{grid-template-columns:38px minmax(0,1fr)}.learning-hero__actions .btn{width:100%}.document-hero--premium h1{font-size:2.55rem}.document-hero--premium p{font-size:.98rem}}

/* V78 — Homepage category cards: isolated, premium, responsive */
.home-category-v78{
    --hc78-purple:#65196d;
    --hc78-purple-dark:#321039;
    --hc78-green:#10864b;
    --hc78-ink:#392d3d;
    --hc78-muted:#817485;
    --hc78-line:#e8e0ea;
    --hc78-shadow:0 16px 38px rgba(49,23,55,.09);
    --hc78-shadow-hover:0 22px 50px rgba(49,23,55,.15);

    position:relative;
    overflow:hidden;
    background:
        radial-gradient(circle at 7% 8%,rgba(101,25,109,.055),transparent 24%),
        radial-gradient(circle at 94% 6%,rgba(16,134,75,.055),transparent 23%),
        #faf8fb;
}

.home-category-v78,
.home-category-v78 *{
    box-sizing:border-box;
}

.home-category-v78__head{
    display:flex;
    align-items:flex-end;
    justify-content:space-between;
    gap:24px;
    margin-bottom:22px;
}

.home-category-v78__head>div{
    min-width:0;
}

.home-category-v78__kicker{
    display:block;
    margin-bottom:7px;
    color:var(--hc78-green);
    font-size:.68rem;
    font-weight:800;
    letter-spacing:.12em;
    text-transform:uppercase;
}

.home-category-v78__head h2{
    margin:0;
    color:var(--hc78-purple-dark);
    font-size:clamp(1.85rem,3.5vw,3.25rem);
    font-weight:800;
    line-height:1.06;
    letter-spacing:-.045em;
}

.home-category-v78__head p{
    max-width:720px;
    margin:9px 0 0;
    color:var(--hc78-muted);
    font-size:.82rem;
    line-height:1.6;
}

.home-category-v78__all{
    min-height:42px;
    display:inline-flex;
    align-items:center;
    justify-content:center;
    gap:8px;
    flex:0 0 auto;
    padding:9px 13px;
    border:1px solid #ddcfdf;
    border-radius:12px;
    color:var(--hc78-purple);
    background:#fff;
    box-shadow:0 8px 20px rgba(49,23,55,.05);
    font-size:.68rem;
    font-weight:800;
    text-decoration:none;
    white-space:nowrap;
    transition:
        transform .16s ease,
        border-color .16s ease,
        box-shadow .16s ease;
}

.home-category-v78__all:hover{
    transform:translateY(-1px);
    border-color:#cdb9d0;
    box-shadow:0 11px 24px rgba(49,23,55,.08);
}

.home-category-v78__grid{
    display:grid;
    grid-template-columns:repeat(5,minmax(0,1fr));
    gap:15px;
    align-items:stretch;
}

.home-category-v78__card{
    --hc78-a:#6c1c72;
    --hc78-b:#2d1233;

    position:relative;
    min-width:0;
    height:220px;
    overflow:hidden;
    display:block;
    isolation:isolate;
    border:1px solid rgba(255,255,255,.16);
    border-radius:21px;
    color:#fff;
    background:linear-gradient(145deg,var(--hc78-a),var(--hc78-b));
    box-shadow:var(--hc78-shadow);
    text-decoration:none;
    transform:translateZ(0);
    transition:
        transform .2s ease,
        box-shadow .2s ease;
}

.home-category-v78__card:hover{
    transform:translateY(-4px);
    box-shadow:var(--hc78-shadow-hover);
}

.home-category-v78__card:focus-visible{
    outline:3px solid rgba(16,134,75,.35);
    outline-offset:3px;
}

.home-category-v78__card--tone-0{
    --hc78-a:#8b5a1c;
    --hc78-b:#432818;
}

.home-category-v78__card--tone-1{
    --hc78-a:#59175e;
    --hc78-b:#240d29;
}

.home-category-v78__card--tone-2{
    --hc78-a:#a15f1d;
    --hc78-b:#5b2f1c;
}

.home-category-v78__card--tone-3{
    --hc78-a:#8b3191;
    --hc78-b:#3e1744;
}

.home-category-v78__card--tone-4{
    --hc78-a:#8a5b18;
    --hc78-b:#452c17;
}

.home-category-v78__card--tone-5{
    --hc78-a:#a33475;
    --hc78-b:#4f1b3c;
}

.home-category-v78__card--tone-6{
    --hc78-a:#46518f;
    --hc78-b:#242847;
}

.home-category-v78__card--tone-7{
    --hc78-a:#297346;
    --hc78-b:#173b29;
}

.home-category-v78__media{
    position:absolute;
    z-index:-2;
    inset:0;
    display:block;
    background:linear-gradient(145deg,var(--hc78-a),var(--hc78-b));
}

.home-category-v78__media img{
    width:100%;
    height:100%;
    display:block;
    object-fit:cover;
    transform:scale(1.002);
    transition:
        transform .35s ease,
        opacity .2s ease;
}

.home-category-v78__card:hover .home-category-v78__media img{
    transform:scale(1.055);
}

.home-category-v78__media.is-missing img{
    display:none;
}

.home-category-v78__fallback{
    position:absolute;
    inset:0;
    overflow:hidden;
    display:block;
    opacity:0;
    background:
        linear-gradient(145deg,var(--hc78-a),var(--hc78-b));
    transition:opacity .18s ease;
}

.home-category-v78__media.is-missing .home-category-v78__fallback{
    opacity:1;
}

.home-category-v78__fallback i{
    position:absolute;
    display:block;
    border-radius:999px;
    background:rgba(255,255,255,.11);
}

.home-category-v78__fallback i:nth-child(1){
    width:52px;
    height:52px;
    top:28px;
    left:22px;
}

.home-category-v78__fallback i:nth-child(2){
    width:31px;
    height:31px;
    top:46px;
    right:34px;
}

.home-category-v78__fallback i:nth-child(3){
    width:20px;
    height:20px;
    top:82px;
    left:46%;
}

.home-category-v78__shade{
    position:absolute;
    inset:0;
    display:block;
    background:
        linear-gradient(180deg,rgba(25,8,29,.04) 13%,rgba(25,8,29,.16) 42%,rgba(25,8,29,.94) 100%);
}

.home-category-v78__icon{
    position:absolute;
    z-index:3;
    top:13px;
    right:13px;
    width:54px;
    height:54px;
    display:grid;
    place-items:center;
    border:1px solid rgba(255,255,255,.55);
    border-radius:16px;
    color:var(--hc78-purple);
    background:rgba(255,255,255,.92);
    box-shadow:0 11px 25px rgba(19,7,22,.17);
    backdrop-filter:blur(9px);
}

.home-category-v78__icon svg{
    width:29px;
    height:29px;
}

.home-category-v78__body{
    position:absolute;
    z-index:2;
    right:15px;
    bottom:14px;
    left:15px;
    display:flex;
    min-width:0;
    flex-direction:column;
    align-items:flex-start;
}

.home-category-v78__count{
    min-height:23px;
    display:inline-flex;
    align-items:center;
    margin-bottom:7px;
    padding:4px 7px;
    border:1px solid rgba(255,255,255,.2);
    border-radius:999px;
    color:rgba(255,255,255,.92);
    background:rgba(20,8,23,.28);
    font-size:.53rem;
    font-weight:800;
    backdrop-filter:blur(6px);
}

.home-category-v78__body strong{
    display:block;
    width:100%;
    overflow:hidden;
    color:#fff;
    font-size:1.02rem;
    font-weight:800;
    line-height:1.25;
    text-overflow:ellipsis;
    white-space:nowrap;
}

.home-category-v78__body small{
    display:block;
    width:100%;
    overflow:hidden;
    margin-top:3px;
    color:rgba(255,255,255,.76);
    font-size:.58rem;
    line-height:1.4;
    text-overflow:ellipsis;
    white-space:nowrap;
}

.home-category-v78__open{
    display:flex;
    align-items:center;
    justify-content:space-between;
    width:100%;
    margin-top:9px;
    padding-top:8px;
    border-top:1px solid rgba(255,255,255,.15);
    color:#d4f5df;
    font-size:.58rem;
    font-weight:800;
}

.home-category-v78__open b{
    font-size:.78rem;
    transition:transform .16s ease;
}

.home-category-v78__card:hover .home-category-v78__open b{
    transform:translateX(3px);
}

.home-category-v78__empty{
    min-height:180px;
    display:flex;
    flex-direction:column;
    align-items:center;
    justify-content:center;
    padding:28px;
    border:1px dashed #d8ccda;
    border-radius:20px;
    color:var(--hc78-muted);
    background:#fff;
    text-align:center;
}

.home-category-v78__empty strong{
    margin-bottom:5px;
    color:var(--hc78-purple-dark);
    font-size:1rem;
}

.home-category-v78__empty span{
    font-size:.7rem;
}

@media(max-width:1240px){
    .home-category-v78__grid{
        grid-template-columns:repeat(4,minmax(0,1fr));
    }
}

@media(max-width:980px){
    .home-category-v78__grid{
        grid-template-columns:repeat(3,minmax(0,1fr));
    }

    .home-category-v78__card{
        height:205px;
    }
}

@media(max-width:680px){
    .home-category-v78__head{
        align-items:flex-start;
        flex-direction:column;
        gap:13px;
        margin-bottom:16px;
    }

    .home-category-v78__head h2{
        font-size:clamp(1.7rem,9vw,2.35rem);
    }

    .home-category-v78__head p{
        margin-top:7px;
        font-size:.72rem;
    }

    .home-category-v78__all{
        min-height:38px;
        padding:8px 11px;
        font-size:.62rem;
    }

    .home-category-v78__grid{
        grid-template-columns:repeat(2,minmax(0,1fr));
        gap:9px;
    }

    .home-category-v78__card{
        height:158px;
        border-radius:16px;
    }

    .home-category-v78__icon{
        top:9px;
        right:9px;
        width:38px;
        height:38px;
        border-radius:11px;
    }

    .home-category-v78__icon svg{
        width:21px;
        height:21px;
    }

    .home-category-v78__body{
        right:10px;
        bottom:10px;
        left:10px;
    }

    .home-category-v78__count{
        min-height:19px;
        margin-bottom:5px;
        padding:3px 6px;
        font-size:.45rem;
    }

    .home-category-v78__body strong{
        font-size:.78rem;
    }

    .home-category-v78__body small{
        font-size:.47rem;
    }

    .home-category-v78__open{
        margin-top:6px;
        padding-top:6px;
        font-size:.48rem;
    }
}

@media(max-width:390px){
    .home-category-v78__grid{
        gap:8px;
    }

    .home-category-v78__card{
        height:145px;
    }

    .home-category-v78__body small{
        display:none;
    }

    .home-category-v78__open{
        margin-top:5px;
    }
}

