/* =========================================================
   PFLEGEEDU CORE
   MODULE: CONTENT HUB
========================================================= */


/* =========================================================
   VARIABLES
========================================================= */

.pflegeedu-content-hub {

    --pch-white: #ffffff;

    --pch-gold: #c9a45c;

    --pch-gold-light: #d8ba78;

    --pch-muted:
        rgba(
            255,
            255,
            255,
            .68
        );

    --pch-border:
        rgba(
            255,
            255,
            255,
            .15
        );

    --pch-gold-border:
        rgba(
            201,
            164,
            92,
            .55
        );

    --pch-card:
        rgba(
            255,
            255,
            255,
            .025
        );

    --pch-card-hover:
        rgba(
            201,
            164,
            92,
            .06
        );

    width: 100%;

    padding:
        110px
        7%;

    color:
        var(--pch-white);

    background: transparent;

    overflow: hidden;

    box-sizing: border-box;

}


/* =========================================================
   BOX SIZING
========================================================= */

.pflegeedu-content-hub *,
.pflegeedu-content-hub *::before,
.pflegeedu-content-hub *::after {

    box-sizing: border-box;

}


/* =========================================================
   CONTAINER WIDTH
========================================================= */

.pflegeedu-content-hub__intro,
.pflegeedu-content-hub__groups,
.pflegeedu-content-hub__latest,
.pflegeedu-content-hub__final {

    width: 100%;

    max-width: 1400px;

    margin-left: auto;

    margin-right: auto;

}


/* =========================================================
   ANIMATION
========================================================= */

.pflegeedu-content-hub .pfade-animate {

    opacity: 0;

    transform:
        translateY(20px);

    transition:
        opacity .8s ease,
        transform .8s ease;

}


.pflegeedu-content-hub
.pfade-animate.is-visible {

    opacity: 1;

    transform:
        translateY(0);

}


/* =========================================================
   INTRO
========================================================= */

.pflegeedu-content-hub__intro {

    max-width: 850px;

    margin-bottom: 85px;

}


.pflegeedu-content-hub__eyebrow {

    display: block;

    margin-bottom: 18px;

    color:
        var(--pch-gold);

    font-size: 12px;

    font-weight: 700;

    letter-spacing: .15em;

    line-height: 1.2;

    text-transform: uppercase;

}


.pflegeedu-content-hub__intro h2 {

    max-width: 850px;

    margin: 0;

    color:
        var(--pch-white);

    font-size:
        clamp(
            45px,
            6vw,
            76px
        );

    font-weight: 600;

    line-height: 1;

    letter-spacing:
        -.045em;

}


.pflegeedu-content-hub__intro h2 span {

    display: block;

    color:
        var(--pch-gold);

}


.pflegeedu-content-hub__intro p {

    max-width: 650px;

    margin:
        28px
        0
        0;

    color:
        var(--pch-muted);

    font-size: 17px;

    line-height: 1.75;

}


/* =========================================================
   GROUPS
========================================================= */

.pflegeedu-content-hub__groups {

    display: flex;

    flex-direction: column;

    gap: 70px;

}


/* =========================================================
   GROUP
========================================================= */

.pflegeedu-content-hub__group {

    width: 100%;

}


/* =========================================================
   GROUP HEADER
========================================================= */

.pflegeedu-content-hub__group-header {

    display: flex;

    align-items: flex-end;

    justify-content: space-between;

    gap: 40px;

    margin-bottom: 30px;

}


.pflegeedu-content-hub__group-info {

    max-width: 700px;

}


.pflegeedu-content-hub__group-label {

    display: block;

    margin-bottom: 10px;

    color:
        var(--pch-gold);

    font-size: 12px;

    font-weight: 700;

    letter-spacing: .12em;

    text-transform: uppercase;

}


.pflegeedu-content-hub__group h3 {

    margin: 0;

    color:
        var(--pch-white);

    font-size:
        clamp(
            30px,
            4vw,
            46px
        );

    font-weight: 600;

    line-height: 1.05;

    letter-spacing:
        -.035em;

}


.pflegeedu-content-hub__group-info p {

    max-width: 600px;

    margin:
        15px
        0
        0;

    color:
        var(--pch-muted);

    font-size: 15px;

    line-height: 1.65;

}


/* =========================================================
   GROUP LINK
========================================================= */

.pflegeedu-content-hub__group-link {

    display: inline-flex;

    align-items: center;

    gap: 12px;

    flex-shrink: 0;

    padding:
        12px
        0;

    color:
        var(--pch-white);

    font-size: 13px;

    font-weight: 600;

    text-decoration: none;

    transition:
        color .3s ease;

}


.pflegeedu-content-hub__group-link:hover {

    color:
        var(--pch-gold);

}


.pflegeedu-content-hub__arrow {

    color:
        var(--pch-gold);

    font-size: 18px;

    line-height: 1;

    transition:
        transform .3s ease;

}


.pflegeedu-content-hub__group-link:hover
.pflegeedu-content-hub__arrow {

    transform:
        translateX(4px);

}


/* =========================================================
   CATEGORY GRID
========================================================= */

.pflegeedu-content-hub__categories {

    display: grid;

    grid-template-columns:
        repeat(
            3,
            minmax(
                0,
                1fr
            )
        );

    gap: 14px;

}


/* =========================================================
   CATEGORY CARD
========================================================= */

.pflegeedu-content-hub__category {

    display: flex;

    flex-direction: column;

    justify-content: space-between;

    min-height: 170px;

    padding:
        24px;

    border:
        1px solid
        var(--pch-border);

    border-radius: 20px;

    background:
        var(--pch-card);

    color:
        var(--pch-white);

    text-decoration: none;

    transition:
        border-color .35s ease,
        background .35s ease,
        transform .35s ease,
        box-shadow .35s ease;

}


.pflegeedu-content-hub__category:hover {

    border-color:
        var(--pch-gold-border);

    background:
        var(--pch-card-hover);

    transform:
        translateY(-3px);

    box-shadow:
        0 14px 35px
        rgba(
            0,
            0,
            0,
            .12
        );

}


/* =========================================================
   CATEGORY TOP
========================================================= */

.pflegeedu-content-hub__category-top {

    display: flex;

    align-items: flex-start;

    justify-content: space-between;

    gap: 20px;

}


.pflegeedu-content-hub__category-name {

    max-width: 85%;

    color:
        var(--pch-white);

    font-size: 20px;

    font-weight: 600;

    line-height: 1.2;

    transition:
        color .3s ease;

}


.pflegeedu-content-hub__category:hover
.pflegeedu-content-hub__category-name {

    color:
        var(--pch-gold);

}


/* =========================================================
   CATEGORY ICON
========================================================= */

.pflegeedu-content-hub__category-icon {

    display: flex;

    align-items: center;

    justify-content: center;

    width: 34px;

    height: 34px;

    border:
        1px solid
        var(--pch-gold-border);

    border-radius: 50%;

    flex-shrink: 0;

}


.pflegeedu-content-hub__category-icon span {

    width: 6px;

    height: 6px;

    border-radius: 50%;

    background:
        var(--pch-gold);

}


/* =========================================================
   CATEGORY BOTTOM
========================================================= */

.pflegeedu-content-hub__category-bottom {

    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 20px;

}


.pflegeedu-content-hub__category-count {

    color:
        rgba(
            255,
            255,
            255,
            .45
        );

    font-size: 12px;

}


.pflegeedu-content-hub__category-link {

    color:
        var(--pch-gold);

    font-size: 12px;

    font-weight: 600;

}


/* =========================================================
   LATEST
========================================================= */

.pflegeedu-content-hub__latest {

    margin-top: 130px;

}


/* =========================================================
   LATEST HEADER
========================================================= */

.pflegeedu-content-hub__latest-header {

    display: flex;

    align-items: flex-end;

    justify-content: space-between;

    gap: 30px;

    margin-bottom: 32px;

}


.pflegeedu-content-hub__latest-header h2 {

    margin: 0;

    color:
        var(--pch-white);

    font-size:
        clamp(
            34px,
            4vw,
            50px
        );

    font-weight: 600;

    line-height: 1.05;

    letter-spacing:
        -.035em;

}


.pflegeedu-content-hub__all-link {

    display: inline-flex;

    align-items: center;

    gap: 12px;

    color:
        var(--pch-white);

    font-size: 13px;

    font-weight: 600;

    text-decoration: none;

}


.pflegeedu-content-hub__all-link span:last-child {

    color:
        var(--pch-gold);

    font-size: 18px;

    transition:
        transform .3s ease;

}


.pflegeedu-content-hub__all-link:hover {

    color:
        var(--pch-gold);

}


.pflegeedu-content-hub__all-link:hover
span:last-child {

    transform:
        translateX(4px);

}


/* =========================================================
   POSTS
========================================================= */

.pflegeedu-content-hub__posts {

    display: grid;

    grid-template-columns:
        repeat(
            3,
            minmax(
                0,
                1fr
            )
        );

    gap: 18px;

}


/* =========================================================
   POST
========================================================= */

.pflegeedu-content-hub__post {

    display: flex;

    flex-direction: column;

    min-width: 0;

    overflow: hidden;

    border:
        1px solid
        var(--pch-border);

    border-radius: 22px;

    background:
        var(--pch-card);

    transition:
        border-color .35s ease,
        transform .35s ease,
        box-shadow .35s ease;

}


.pflegeedu-content-hub__post:hover {

    border-color:
        var(--pch-gold-border);

    transform:
        translateY(-3px);

    box-shadow:
        0 14px 35px
        rgba(
            0,
            0,
            0,
            .14
        );

}


/* =========================================================
   POST IMAGE
========================================================= */

.pflegeedu-content-hub__post-image {

    display: block;

    position: relative;

    width: 100%;

    aspect-ratio:
        16 / 10;

    overflow: hidden;

    background:
        rgba(
            255,
            255,
            255,
            .04
        );

}


.pflegeedu-content-hub__post-image img {

    display: block;

    width: 100%;

    height: 100%;

    object-fit: cover;

    object-position: center;

    transition:
        transform .6s ease;

}


.pflegeedu-content-hub__post:hover
.pflegeedu-content-hub__post-image img {

    transform:
        scale(1.035);

}


/* =========================================================
   PLACEHOLDER
========================================================= */

.pflegeedu-content-hub__post-placeholder {

    display: flex;

    align-items: center;

    justify-content: center;

    width: 100%;

    height: 100%;

    color:
        var(--pch-gold);

    font-size: 16px;

    font-weight: 700;

    letter-spacing: .08em;

    text-transform: uppercase;

}


/* =========================================================
   POST CONTENT
========================================================= */

.pflegeedu-content-hub__post-content {

    display: flex;

    flex-direction: column;

    flex: 1;

    padding:
        25px;

}


/* =========================================================
   POST META
========================================================= */

.pflegeedu-content-hub__post-meta {

    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 15px;

    margin-bottom: 14px;

}


.pflegeedu-content-hub__post-meta span:first-child {

    color:
        var(--pch-gold);

    font-size: 11px;

    font-weight: 700;

    letter-spacing: .08em;

    text-transform: uppercase;

}


.pflegeedu-content-hub__post-meta span:last-child {

    color:
        rgba(
            255,
            255,
            255,
            .40
        );

    font-size: 11px;

}


/* =========================================================
   POST TITLE
========================================================= */

.pflegeedu-content-hub__post h3 {

    margin: 0;

}


.pflegeedu-content-hub__post h3 a {

    color:
        var(--pch-white);

    font-size: 23px;

    font-weight: 600;

    line-height: 1.2;

    letter-spacing:
        -.02em;

    text-decoration: none;

    transition:
        color .3s ease;

}


.pflegeedu-content-hub__post:hover
h3 a {

    color:
        var(--pch-gold);

}


/* =========================================================
   POST EXCERPT
========================================================= */

.pflegeedu-content-hub__post-content p {

    margin:
        14px
        0
        22px;

    color:
        var(--pch-muted);

    font-size: 13px;

    line-height: 1.65;

}


/* =========================================================
   READ MORE
========================================================= */

.pflegeedu-content-hub__post-read {

    display: inline-flex;

    align-items: center;

    gap: 10px;

    margin-top: auto;

    color:
        var(--pch-white);

    font-size: 12px;

    font-weight: 600;

    text-decoration: none;

}


.pflegeedu-content-hub__post-read span:last-child {

    color:
        var(--pch-gold);

    font-size: 17px;

    transition:
        transform .3s ease;

}


.pflegeedu-content-hub__post-read:hover {

    color:
        var(--pch-gold);

}


.pflegeedu-content-hub__post-read:hover
span:last-child {

    transform:
        translateX(4px);

}


/* =========================================================
   EMPTY
========================================================= */

.pflegeedu-content-hub__empty {

    padding: 40px;

    border:
        1px solid
        var(--pch-border);

    border-radius: 20px;

    color:
        var(--pch-muted);

}


/* =========================================================
   DOTS
========================================================= */

.pflegeedu-content-hub__dots {

    display: none;

}


/* =========================================================
   FINAL CTA
========================================================= */

.pflegeedu-content-hub__final {

    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 40px;

    margin-top: 120px;

    padding:
        55px
        60px;

    border:
        1px solid
        var(--pch-gold-border);

    border-radius: 28px;

    background:
        rgba(
            201,
            164,
            92,
            .035
        );

}


.pflegeedu-content-hub__final-label {

    display: block;

    margin-bottom: 12px;

    color:
        var(--pch-gold);

    font-size: 11px;

    font-weight: 700;

    letter-spacing: .14em;

    text-transform: uppercase;

}


.pflegeedu-content-hub__final h2 {

    margin: 0;

    color:
        var(--pch-white);

    font-size:
        clamp(
            32px,
            4vw,
            52px
        );

    font-weight: 600;

    line-height: 1;

    letter-spacing:
        -.035em;

}


.pflegeedu-content-hub__final h2 span {

    color:
        var(--pch-gold);

}


/* =========================================================
   FINAL BUTTON
========================================================= */

.pflegeedu-content-hub__final-button {

    display: inline-flex;

    align-items: center;

    justify-content: center;

    gap: 14px;

    min-height: 52px;

    padding:
        0
        24px;

    border:
        1px solid
        var(--pch-gold);

    border-radius: 999px;

    color:
        var(--pch-white);

    font-size: 13px;

    font-weight: 600;

    text-decoration: none;

    white-space: nowrap;

    transition:
        background .35s ease,
        color .35s ease,
        transform .35s ease;

}


.pflegeedu-content-hub__final-button span:last-child {

    color:
        var(--pch-gold);

    font-size: 18px;

    transition:
        transform .3s ease;

}


.pflegeedu-content-hub__final-button:hover {

    background:
        var(--pch-gold);

    color:
        #111111;

    transform:
        translateY(-2px);

}


.pflegeedu-content-hub__final-button:hover
span:last-child {

    color:
        #111111;

    transform:
        translateX(4px);

}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 1100px) {

    .pflegeedu-content-hub {

        padding:
            90px
            6%;

    }


    .pflegeedu-content-hub__categories {

        grid-template-columns:
            repeat(
                2,
                minmax(
                    0,
                    1fr
                )
            );

    }


    .pflegeedu-content-hub__posts {

        grid-template-columns:
            repeat(
                2,
                minmax(
                    0,
                    1fr
                )
            );

    }


    .pflegeedu-content-hub__post:last-child {

        grid-column:
            span 2;

    }


    .pflegeedu-content-hub__post:last-child
    .pflegeedu-content-hub__post-image {

        aspect-ratio:
            16 / 8;

    }


    .pflegeedu-content-hub__final {

        padding:
            45px;

    }

}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 767px) {

    .pflegeedu-content-hub {

        padding:
            70px
            20px;

    }


    /* =====================================================
       INTRO
    ===================================================== */

    .pflegeedu-content-hub__intro {

        margin-bottom: 55px;

    }


    .pflegeedu-content-hub__intro h2 {

        font-size: 43px;

    }


    .pflegeedu-content-hub__intro p {

        margin-top: 22px;

        font-size: 15px;

        line-height: 1.7;

    }


    /* =====================================================
       GROUPS
    ===================================================== */

    .pflegeedu-content-hub__groups {

        gap: 55px;

    }


    /* =====================================================
       GROUP HEADER
    ===================================================== */

    .pflegeedu-content-hub__group-header {

        display: block;

        margin-bottom: 22px;

    }


    .pflegeedu-content-hub__group h3 {

        font-size: 31px;

    }


    .pflegeedu-content-hub__group-info p {

        font-size: 14px;

    }


    .pflegeedu-content-hub__group-link {

        margin-top: 15px;

    }


    /* =====================================================
       CATEGORY GRID
    ===================================================== */

    .pflegeedu-content-hub__categories {

        grid-template-columns:
            1fr;

        gap: 10px;

    }


    .pflegeedu-content-hub__category {

        min-height: 145px;

        padding:
            22px;

        border-radius: 18px;

    }


    /* =====================================================
       LATEST
    ===================================================== */

    .pflegeedu-content-hub__latest {

        margin-top: 85px;

    }


    .pflegeedu-content-hub__latest-header {

        display: block;

        margin-bottom: 25px;

    }


    .pflegeedu-content-hub__latest-header h2 {

        font-size: 35px;

    }


    .pflegeedu-content-hub__all-link {

        margin-top: 15px;

    }


    /* =====================================================
       MOBILE POST SLIDER
    ===================================================== */

    .pflegeedu-content-hub__posts {

        display: flex;

        gap: 12px;

        width: 100%;

        overflow-x: auto;

        scroll-snap-type:
            x mandatory;

        scrollbar-width: none;

        -ms-overflow-style: none;

        overscroll-behavior-x: contain;

    }


    .pflegeedu-content-hub__posts::-webkit-scrollbar {

        display: none;

    }


    .pflegeedu-content-hub__post {

        flex:
            0 0
            88%;

        scroll-snap-align:
            start;

        border-radius: 20px;

    }


    .pflegeedu-content-hub__post:last-child {

        grid-column: auto;

    }


    .pflegeedu-content-hub__post:last-child
    .pflegeedu-content-hub__post-image {

        aspect-ratio:
            16 / 10;

    }


    /* =====================================================
       DOTS
    ===================================================== */

    .pflegeedu-content-hub__dots {

        display: flex;

        justify-content: center;

        gap: 7px;

        margin-top: 20px;

    }


    .pflegeedu-content-hub__dot {

        display: block;

        width: 6px;

        height: 6px;

        border-radius: 50%;

        background:
            rgba(
                255,
                255,
                255,
                .25
            );

        transition:
            width .3s ease,
            background .3s ease;

    }


    .pflegeedu-content-hub__dot.is-active {

        width: 20px;

        border-radius: 999px;

        background:
            var(--pch-gold);

    }


    /* =====================================================
       FINAL CTA
    ===================================================== */

    .pflegeedu-content-hub__final {

        display: block;

        margin-top: 75px;

        padding:
            35px
            25px;

        border-radius: 22px;

    }


    .pflegeedu-content-hub__final h2 {

        font-size: 34px;

    }


    .pflegeedu-content-hub__final-button {

        width: 100%;

        margin-top: 30px;

    }

}


/* =========================================================
   REDUCED MOTION
========================================================= */

@media (prefers-reduced-motion: reduce) {

    .pflegeedu-content-hub *,
    .pflegeedu-content-hub *::before,
    .pflegeedu-content-hub *::after {

        scroll-behavior:
            auto !important;

        transition-duration:
            .01ms !important;

        animation-duration:
            .01ms !important;

        animation-iteration-count:
            1 !important;

    }


    .pflegeedu-content-hub
    .pfade-animate {

        opacity: 1;

        transform: none;

    }

}