﻿.block__featured {
    background-color: var(--grey-40-percent);
}

    .block__featured h2 {
        font-weight: 600;
        font-size: 30px;
        padding-bottom: 32px;
        color: var(--raspberry);
        margin: 0px;
    }

        .block__featured h2 .showAllLink {
            font-weight: 600;
            font-size: 18px;
            line-height: 24px;
            color: var(--purple);
            margin-left: 24px;
            display: inline-block;
            text-decoration: none;
            position: relative;
            top: -3px;
        }

            .block__featured h2 .showAllLink:after {
                content: "";
                position: absolute;
                width: 17px;
                height: 17px;
                display: block;
                background-repeat: no-repeat; 
                right: -32px;
                top: 4px;
                background-size: contain;
            }

            .block__featured h2 .showAllLink.arrow:after {
                background-image: url('/images/arrow right - purple.svg');
            }

            .block__featured h2 .showAllLink.link-external:after {
                background-image: url('/images/file-purple.svg');
            }

            .block__featured h2 .showAllLink.download:after {
                background-image: url('/images/download-purple.svg');
            }

            .block__featured h2 .showAllLink.blog:after {
                background-image: url('/images/pencil-purple.svg');
            }



    .block__featured .featured__items .featured__item {
        display: inline-block;
        vertical-align: top;
        margin-right: 28px;
        background-color: var(--white);
        overflow: hidden;
        position: relative;
        width: 381px;
        height: 513px;
        transition: top ease-in-out 0.15s;
        top: 0px;
        transition-delay: 0.15s;
    }

        .block__featured .featured__items .featured__item:hover {
            box-shadow: 0px 4px 25px rgba(0, 0, 0, 0.05);
            top: -25px;
            transition: top ease-in-out 0.15s;
            transition-delay: 0.15s !important;
        }

        .block__featured .featured__items .featured__item:nth-child(3n) {
            margin-right: 0px;
        }

        .block__featured .featured__items .featured__item:nth-child(n+4) {
            margin-top: 32px;
        }

        .block__featured .featured__items .featured__item:after,
        .block__featured .featured__items .featured__item:before {
            content: "";
            position: absolute;
            width: 48px;
            height: 48px;
            display: block;
            background-repeat: no-repeat;
            bottom: 22px;
            right: 22px;
            z-index: 1;
            background-size: 24px;
            background-color: var(--purple);
            border-radius: 100%;
            background-position: center;
            opacity: 1;
            -moz-transition: opacity 0.3s ease-in-out;
            -webkit-transition: opacity 0.3s ease-in-out;
            -o-transition: opacity 0.3s ease-in-out;
            transition: opacity 0.3s ease-in-out;
        }

        .block__featured .featured__items .featured__item:before {
            opacity: 0;
            background-color: var(--lila);
        }

        .block__featured .featured__items .featured__item.arrow:before {
            background-image: url('/images/arrow right - purple.svg');
        }

        .block__featured .featured__items .featured__item.link-external:before {
            background-image: url('/images/file-purple.svg');
        }

        .block__featured .featured__items .featured__item.download:before {
            background-image: url('/images/download-purple.svg');
        }

        .block__featured .featured__items .featured__item.blog:before {
            background-image: url('/images/pencil-purple.svg');
        }


        .block__featured .featured__items .featured__item.arrow:after {
            background-image: url('/images/arrow right - lila.svg');
        }

        .block__featured .featured__items .featured__item.link-external:after {
            background-image: url('/images/file-lila.svg');
        }

        .block__featured .featured__items .featured__item.download:after {
            background-image: url('/images/download-lila.svg');
        }

        .block__featured .featured__items .featured__item.blog:after {
            background-image: url('/images/pencil-lila.svg');
        }

        .block__featured .featured__items .featured__item:hover::after {
            opacity: 0;
        }

        .block__featured .featured__items .featured__item:hover::before {
            opacity: 1;
        }

        .block__featured .featured__items .featured__item a {
            text-decoration: none;
            width: 100%;
            height: 100%;
            display: block;
        }

        .block__featured .featured__items .featured__item .img-holder {
            display: inline-block;
            width: 100%;
            position: relative;
        }
            .block__featured .featured__items .featured__item .img-holder .agenda-date {
                width: 100%;
                text-align: center;
                background-repeat: no-repeat;
                background-image: url('/images/agenda-item-bg.svg');
                background-size: cover;
                min-height: 306px;
                mask-image: url('/images/feature-item-mask.svg');
                mask-repeat: no-repeat;
                mask-size: cover;
                -webkit-mask-image: url('/images/feature-item-mask.svg');
                -webkit-mask-repeat: no-repeat;
                -webkit-mask-size: cover;
                padding-bottom: 20px;  
            }

                .block__featured .featured__items .featured__item .img-holder .agenda-date span:first-child {
                    color: var(--yellow);
                    font-family: var(--font-family-display);
                    font-weight: 700;
                    font-size: 160px;
                    line-height: 160px;
                    display: block;
                    padding-top: 50px;
                }

                .block__featured .featured__items .featured__item .img-holder .agenda-date span:last-child {
                    color: var(--yellow);
                    font-family: var(--font-family-display);
                    font-weight: 500;
                    font-size: 30px;
                    display: block;
                    position: relative;
                    top: -20px;
                }

        .block__featured .featured__items .featured__item img {
            width: 100%;
            mask-image: url('/images/feature-item-mask.svg');
            mask-repeat: no-repeat;
            mask-size: cover;
            -webkit-mask-image: url('/images/feature-item-mask.svg');
            -webkit-mask-repeat: no-repeat;
            -webkit-mask-size: cover;
        }

        .block__featured .featured__items .featured__item .label {
            position: absolute;
            padding: 8px 16px;
            padding-top: 10px;
            border-radius: 100px;
            font-weight: 700;
            font-size: 11px;
            letter-spacing: 1.5px;
            text-transform: uppercase;
            color: var(--purple);
            top: 24px;
            left: 24px;
        }

            .block__featured .featured__items .featured__item .label.yellow {
                background-color: var(--yellow);
            }

            .block__featured .featured__items .featured__item .label.grey {
                background-color: var(--grey);
            }

            .block__featured .featured__items .featured__item .label.white {
                background-color: var(--white);
            }

            .block__featured .featured__items .featured__item .label.black {
                background-color: var(--black);
                color: var(--white);
            }

        .block__featured .featured__items .featured__item .date {
            font-weight: 700;
            font-size: 11px;
            letter-spacing: 1.5px;
            text-transform: uppercase;
            color: var(--purple);
            padding-left: 24px;
        }


        .block__featured .featured__items .featured__item .title {
            font-weight: 700;
            font-size: 18px;
            display: block;
            margin-top: 7px;
            padding-left: 24px;
            color: var(--blue);
        }

        .block__featured .featured__items .featured__item .linktext {
            font-family: var(--font-family-text);
            font-weight: 500;
            font-size: 18px;
            line-height: 24px;
            display: block;
            left: 24px;
            color: var(--purple);
            position: absolute;
            bottom: 32px;
        }

    .block__featured .featured__items .showAllLink {
        display: none;
    }

    .block__featured .featured__items .featured__item a:focus:before {
        content: "";
        position: absolute;
        width: calc(100% - 3px);
        height: calc(100% - 3px);
        top: 0px;
        left: 0px;
        z-index: 100;
        border: solid 2px var(--purple);
    }


@media (max-width: 1250px) {
    .block__featured .featured__items .featured__item {
        margin-bottom: 32px;
        margin-top: 0px;
        margin-right: 28px;
        width: calc(50% - 30px);
        height: auto;
    }
        .block__featured .featured__items .featured__item .img-holder {
            width: 100%;
        }

        .block__featured .featured__items .featured__item:nth-child(3n) {
            margin-right: 28px;
        }

        .block__featured .featured__items .featured__item:nth-child(n+4) {
            margin-top: 0px;
        }

        .block__featured .featured__items .featured__item .title {
            margin-bottom: 80px;
        }

        .block__featured .featured__items .featured__item .img-holder .agenda-date {
            width: 100%;
            min-height: 460px;
        }

            .block__featured .featured__items .featured__item .img-holder .agenda-date span:first-child {               
                font-size: 160px;
                line-height: 160px;
                padding-top: 100px;
            }

            .block__featured .featured__items .featured__item .img-holder .agenda-date span:last-child {               
                font-size: 30px;    
            }
}

@media (max-width: 882px) {
    .block__featured .featured__items .featured__item {
        width: 100%;
        height: auto;
        border-radius: 4px;
    }

        .block__featured .featured__items .featured__item .img-holder {
            width: 115px;
            overflow: auto;
            min-height: 86px;
            display: inline-block;
            vertical-align: top;
        }
        .block__featured .featured__items .featured__item .content-wrapper {
            display: inline-block;
            vertical-align: top;
            width: calc(100% - 155px);
            margin-left: 0px;
            padding-top: 12px;
        }


        .block__featured .featured__items .featured__item .img-holder .agenda-date {
            width: 100%;
            min-height: 86px;
            mask-image: none;
            -webkit-mask-image: none;
        }

                .block__featured .featured__items .featured__item .img-holder .agenda-date span:first-child {
                    font-size: 36px;
                    line-height: 36px;
                    padding-top: 15px;
                }

                .block__featured .featured__items .featured__item .img-holder .agenda-date span:last-child {
                    font-size: 20px;
                    top: 0px;
                }


        .block__featured .featured__items .featured__item img {            
            mask-image: none;
            -webkit-mask-image: none;
            display: block;
            width:auto;
            height: 100%;
        }

        .block__featured .featured__items .featured__item .label {
            left: auto;
            top: auto;
            padding: 0px;
            position: relative;
        }

        .block__featured .featured__items .featured__item .title {
            position: relative;
            left: auto;
            top: auto;
            padding-left: 0px;
            margin-top: 0px;
            margin-bottom: 0px;
        }

        .block__featured .featured__items .featured__item .label.yellow,
        .block__featured .featured__items .featured__item .label.grey,
        .block__featured .featured__items .featured__item .label.white,
        .block__featured .featured__items .featured__item .label.black {
            background-color: initial;
            color: var(--purple);
        }

        .block__featured .featured__items .featured__item .date,
        .block__featured .featured__items .featured__item .linktext,
        .block__featured .featured__items .featured__item::after {
            display: none;
        }

        .block__featured .featured__items .featured__item:hover {
            box-shadow: 0px 4px 25px rgba(0, 0, 0, 0.05);
            top: 0px;
        }

            .block__featured .featured__items .featured__item:hover::before {
                opacity: 0;
            }
 
    .block__featured .featured__items .featured__item .label {
        display: none;
    }
    .block__featured .featured__items .featured__item a {
        display: flex;
        flex-wrap: wrap;
        gap: 16px;
        align-content: center;
        justify-content: flex-start;
    }


    .block__featured .featured__items .featured__item .title {
        font-size: 16px;
        line-height: 18px;
        letter-spacing: 1px;
        display: flex;
        flex-wrap: nowrap;
        align-items: center;  
    }

    .block__featured .featured__items .featured__item {
        margin-bottom: 8px;
    }

    .block__featured h2 {
        font-size: 28px;
        font-weight: 700;
    }

        .block__featured h2 .showAllLink {
            display: none;
        }

    .block__featured .featured__items .showAllLink {
        font-weight: 600;
        font-size: 16px;
        line-height: 24px;
        color: var(--purple);
        display: inline-block;
        text-decoration: none;
        position: relative;
        margin-top: 32px;
        width: 100%;
    }

        .block__featured .featured__items .showAllLink:after {
            content: "";
            position: absolute;
            width: 48px;
            height: 48px;
            display: block;
            background-repeat: no-repeat;
            background-image: url('/images/arrow right - lila.svg');
            top: -12px;
            right: 0px;
            z-index: 1;
            background-size: 24px;
            background-color: var(--purple);
            border-radius: 100%;
            background-position: center;
        }

        .block__featured .featured__items .showAllLink:hover::after {
            background-image: url('/images/arrow right - purple.svg');
            background-color: var(--lila);
        }

    
}
