.u4m-career-advice {
    background-color: #f5f5f5;
    padding: 20px;
    border-radius: 10px;
    .filters {
        margin: 50px auto;
        max-width: 1240px;
        .filters-main {
            display: flex;
            gap: 20px;
            flex-flow: row nowrap;
            justify-items: flex-start;
            @media (max-width: 1024px) {
                justify-content: center;
                gap: 20px 40px;
                flex-flow: column nowrap;
            }
            fieldset {
                border: unset;
                padding: unset;
                margin: unset;
                .filters-select {
                    /* width: 100%; */
                    width: fit-content;
                    padding: 13px 35px 13px 16px;
                    border-radius: 0;
                    border: 1px solid #333;
                    background-color: #fff;
                    color: #333;
                    font-size: 16px;
                    font-weight: 500;
                    line-height: 1.5;
                    letter-spacing: normal;
                    font-family: 'Kumbh Sans', sans-serif;
                    font-weight: 400;
                    appearance: none;
                    background-image: url('https://20647192.fs1.hubspotusercontent-na1.net/hubfs/20647192/arrow-down.svg');
                    background-repeat: no-repeat;
                    background-position: right 16px center;
                    background-size: 16px;
                    @media (max-width: 1024px) {
                        width: 100%;
                    }
                }
                .filters-search {
                    width: 100%;
                    padding: 13px 16px;
                    border-radius: 0;
                    border: 1px solid #333;
                    background-color: #fff;
                    color: #333;
                    font-size: 16px;
                    font-weight: 500;
                    line-height: 1.5;
                    letter-spacing: normal;
                    font-family: 'Kumbh Sans', sans-serif;
                    font-weight: 400;
                    background-image: url('https://20647192.fs1.hubspotusercontent-na1.net/hubfs/20647192/search.svg');
                    background-repeat: no-repeat;
                    background-position: right 16px center;
                    background-size: 16px;
                    &::placeholder {
                        color: #333;
                    }
                }
            }
            /* fieldset:has(.filters-select), fieldset:has(.filters-search) {
                --card-gap: 40px;
                --cards-per-row: 4;
                flex-basis: calc(100%/var(--cards-per-row) + var(--card-gap)/var(--cards-per-row) - var(--card-gap)) !important;
            } */

            /* .filters-select[name="filters-category"],
            .filters-select[name="filters-topic"] {
                min-width: 200px;
            } */
            .date-sorting-controls {
                display: flex;
                gap: 20px;
                /* flex: 0 0 100%; */
                align-items: center;
                @media (max-width: 580px) {
                    display: block;
                }
                .arrows {
                    display: flex;
                    align-items: center;
                    /* gap: 10px; */
                    /* background-color: #fff; */
                    /* border: 1px solid #333; */
                    /* height: 52px; */
                    /* padding: 0 16px; */
                    /* min-width: 210px; */
                    @media (max-width: 580px) {
                        margin-bottom: 20px;
                        width: 210px;
                    }
                    p {
                        margin: 0 10px 0 0;
                        font-size: 16px;
                        flex: 0 0 auto;
                    }

                    .arrow-button {
                        position: relative;
                        display: inline-block;
        
                        background: unset;
                        border: unset;
                        cursor: pointer;
                        color: white;
                        /* transition: background 150ms; */
                        font-size: 0.1px;
                        height: 40px;
                        width: 40px;
                        aspect-ratio: 1;
                        margin: 0;
                        padding: 0;
                        &:after {
                            content: '';
                            position: absolute;
                            width: 10px;
                            height: 10px;
                            border-top: 2px solid;
                            border-left: 2px solid;
                            top: calc(50% - 6px);
                            left: calc(50% - 6px);
                            transform: translateY(2px) rotate(45deg);
                            border-color: #333;
                        }
                        &[data-sort="date:desc"] {
                            &:after {
                                transform: translateY(-2px) rotate(225deg);
                            }
                        }
                        /* &.mixitup-control-active {
                            background: #009632;
                        } */
                    }
                    /* &:hover {
                        background: #3f3f3f;
                    } */
    

                }
            }
            .show-hide-past-container {
                display: flex;
                gap: 10px;
                align-items: center;
                .show-hide-past {
                    height: 52px;
                    display: inline-flex;
                    align-items: center;
                    justify-content: center;
                    border: unset;
                    background: unset;
                    white-space: nowrap;
                    padding: 0;
                    /* background: #444; */
                    /* color: white; */
                    /* transition: background 150ms; */
                    /* width: 150px; */
                    /* &.active {
                        background: #393939;
                    } */
                    /* &:hover {
                        background: #3f3f3f;
                    } */
                }
                .show-hide-past-checkbox {
                    display: block;
                    width: 20px;
                    height: 20px;
                    background-color: #fff;
                    border: 1px solid #333;
                    cursor: pointer;
                    &.active {
                        background-color: #009632;
                    }
                }
            }
        }
    }
    .blog-content {
        max-width: 1240px;
        margin: 50px auto;
        .posts {
            display: flex;
            flex-flow: row wrap;
            gap: 56px 40px;
            .blog-post-card {
                --card-gap: 40px;
                --cards-per-row: 3;
                flex-basis: calc(100%/var(--cards-per-row) + var(--card-gap)/var(--cards-per-row) - var(--card-gap));
                @media (max-width: 1024px) {
                    flex-basis: 100% !important;
                }
                /* &.ongoing {
                    outline: 1px solid green;
                }
                &.past {
                    outline: 1px solid blue;
                } */
                .featured-image {
                    height: 204px;
                    background-size: cover;
                    background-position: center;
                    background-repeat: no-repeat;
                }
                .content {
                    padding: 35px 30px 30px 30px;
                    background-color: #fff;
                    height: calc(100% - 204px);
                    display: flex;
                    flex-flow: column nowrap;
                    .topics {
                        margin: 0 0 10px 0;
                        a {
                            display: inline-block;
                            background-color: #008632;
                            padding: 5px 8px;
                            color: #fff;
                            font-size: 15px;
                            line-height: 1;
                            letter-spacing: .05em;
                            font-family: 'Kumbh Sans', sans-serif;
                            font-weight: 700;
                            text-transform: uppercase;
                            pointer-events: none;
                        }
                    }
                    .read-time {}
                    .title {
                        display: block;
                        font-size: 20px;
                        font-weight: 700;
                        font-family: 'Kumbh Sans', sans-serif;
                        line-height: calc(28/20);
                        color: #333;
                        margin: 10px 0;
                    }
                    .teaser {
                        display: block;
                        font-size: 16px;
                        font-weight: 400;
                        font-family: 'Kumbh Sans', sans-serif;
                        line-height: calc(26/16);
                        color: #333;
                        margin: 10px 0 30px 0;
                    }
                    .read-more {
                        display: block;
                        margin: auto 0 0 0;
                        a {
                            display: block;
                            font-family: 'Kumbh Sans', sans-serif;
                            font-weight: 700;
                            font-size: 18px;
                            line-height: calc(29/18);
                            color: #000;
                            text-decoration: underline;
                            position: relative;
                            &:after {
                                display: inline-block;
                                content: "";
                                position: relative;
                                height: 13px;
                                width: 9px;
                                border-left: 6px solid #009632;
                                border-top: 6px solid transparent;
                                border-bottom: 6px solid transparent;
                                margin-left: 8px;
                            }
                        }
                    }
                }
            }
        }
        .load-more-wrapper {
            display: flex;
            justify-content: center;
            margin: 50px 0;
            .load-more {
                background-color: #009632;
                color: #fff;
                font-size: 18px;
                font-weight: 700;
                font-family: 'Kumbh Sans', sans-serif;
                line-height: calc(29/18);
                border: unset;
                &:disabled {
                    background-color: #ccc;
                    pointer-events: none;
                }
            }
                
        }
        .mixitup-page-list {
            display: flex;
            justify-content: center;
            gap: 10px;
            margin: 20px auto;

            display: flex;
            gap: 10px;
            justify-content: flex-start;
            margin: 0 auto;
            max-width: 1240px;
            width: 100%;
            padding-top: 50px;
            padding-bottom: 50px;
            .mixitup-control {
                background-color: #fff;
                color: #333;
                font-size: 20rem;
                font-weight: 400;
                min-height: 32rem;
                min-width: 36rem;
                padding-top: 3rem;
                background-color: transparent;
                border: unset;
                appearance: none;
                &.mixitup-control-active {
                    align-items: center;
                    display: flex;
                    height: 36px;
                    justify-content: center;
                    line-height: 1;
                    padding: 0;
                    width: 36px;
                    background-color: #007a33;
                    color: #fff;
                }
                &.mixitup-control-disabled {
                    display: none;
                }
            }
        }
    }
}

section.u4m-featured-event-hero {
    flex-flow: row wrap;
    max-width: unset;
    width: 100%;
    background-image: linear-gradient(to right, #00411f 0 50%, #fff 50% 100%);
    padding: 0;
    flex-flow: row wrap;
    &:not(:has(.featured-content)) {
        background-image: unset;
        background-color: #00411f;
        .hero-content {
            max-width: 1240px;
        }
    }
    .hero-content {
        max-width: 1400px;
        display: flex;
        padding: 0 20px;
        margin: 0 auto;
        @media (max-width: 1024px) {
            flex-direction: column;
            padding: 0;
        }   
        .left {
            flex: 0 0 67%;
            padding: 0;
            display: flex;
            background-color: #00411f;
            @media (max-width: 1024px) {
                flex-flow: column nowrap;
            }
            .copy {
                padding-top: 152px;
                padding-bottom: 152px;
                padding-right: 140px;
                flex-grow: 1;
                @media (max-width: 1024px) {
                    padding: 50px;
                }
                .eyebrow {
                    color: #fff;
                    font-size: 16px;
                    font-weight: 700;
                }
                .heading {
                    color: #aed5af;
                    font-size: 56px;
                    font-weight: 700;
                }
            }
            .image {
            flex: 0 0 50%;
            img {
                height: 100%;
                width: 100%;
                border-radius: 0 0 0 40px;
                object-fit: cover;
                object-position: center;
            }
        }
        .right {
            background-color: #fff;
            padding: 87px 0 80px 76px;
            @media (max-width: 1024px) {
                padding: 50px;
            }
            .featured-content {
                .title {
                    font-size: 20px;
                    font-weight: 700;
                    color: #000;
                }
                .read-time {
                    color: #333;
                    opacity: 0.5;
                    .fa-clock {
                    display: none;
                    }
                }
                .teaser {
                    color: #333;
                }
                .read-more {
                    color: #000;
                    display: block;
                    font-family: "Kumbh Sans", sans-serif;
                    font-size: 18px;
                    font-weight: 700;
                    line-height: 1.61111;
                    position: relative;
                    text-decoration: underline;
                    letter-spacing: 0.9px;
                    &:after {
                    border-bottom: 6px solid transparent;
                    border-left: 6px solid #009632;
                    border-top: 6px solid transparent;
                    content: "";
                    display: inline-block;
                    height: 13px;
                    margin-left: 8px;
                    position: relative;
                    width: 9px;
                    }
                }
            }
        }
    }
    .intro {
        flex: 0 0 100%;
        .heading {
            text-align: center;
        }
    }
    & div.filter {
        flex: 0 0 100%;
        max-width: unset;
        display: flex;
        justify-content: center;
        margin: 0 auto;
        padding: 50px 0;
        width: 100%;
        background-color: #fff;
        .topics-select {
            width: 100%;
            max-width: 300px;
        }
    }
}
&:has(.featured-content) {
    background-color: #00411f;
    background-image: unset;
    .hero-content {
        .left {
            .copy {}
        }
        .right {
            background-color: #fff;
            display: flex;
            align-items: center;
            justify-content: center;
            padding: 50px 20px 50px 30px;
        }
    }
}
body:has(.u4m-career-advice) {
    margin-top: 90px;
}


