.general-side-advertisement {
    display: flex;
    flex-direction: column;
    background-color: #fff;
    gap: 1rem;
    padding-bottom: 1rem;
    padding-top: 1rem;

    .widget-advertizing {
        width: 100%;
        display: flex;
        justify-content: center;
        padding: 0.5rem 1rem 0rem;

        a {
            width: 100%;
            display: flex;
            justify-content: center;
        }

        img {
            border-radius: 12px;
        }
    }
}

/* import "modal-socials.css"; */
.socials {
    a {
        min-width: 38px;
        height: 38px;
        border-radius: 50%;
        -webkit-box-pack: center;
        -ms-flex-pack: center;
        justify-content: center;
        border: 1px solid #e4e7f2;
        -webkit-transition: all 0.2s linear;
        transition: all 0.2s linear;
        color: #85859b;
    }

    a:hover {
        color: #fff;
        border-color: rgba(0, 0, 0, 0);
        background-color: var(--primary-color);
    }
}

@media (max-width: 420px) {
    .socials {
        gap: .5rem;
    }
}

@media (min-width: 421px) {
    .socials {
        gap: .75rem;
    }
}

@media (max-width: 767px) {
    #single-alert-wrapper {
        #header-single-alert {
            .img-single-alert {
                img {
                    height: 204px;
                    object-fit: fill;
                    width: 100%;
                }
            }

            .title-single-alert {
                width: 100% !important;
                font-size: 24px !important;
                font-weight: 800;
                font-variation-settings: "wght" 800;
                line-height: 152% !important;
            }

            .single-alert-details-container {
                display: block !important;
                position: relative;

                .single-alert-details {
                    display: grid !important;
                    grid-template-columns: 45% 42%;

                    span, time, span > p {
                        font-size: 12px !important;
                        font-variation-settings: "wght" 500;
                        line-height: 152%;
                        margin-right: 0px !important;
                    }
                }
            }

            .feature-alert-post {
                background: #fafafb;
                padding-top: 20px;
                padding-bottom: 2.5rem;

                ul {
                    display: grid;
                    grid-template-columns: 48% 48%;
                    gap: 4%;
                    padding-right: 0;

                    li {
                        padding: 16px;
                        border-radius: 6px;
                        background: #F6F6F6;
                        list-style: none;

                        span {
                            align-items: center;
                            margin-bottom: 10px;

                            h4 {
                                font-size: 10px !important;
                                margin-bottom: 0px !important;
                                font-weight: 700 !important;
                                font-variation-settings: "wght" 700, "KSHD" 100 !important;
                            }
                        }

                        .content {
                            font-size: 10px !important;
                            line-height: normal;
                        }
                    }
                }
            }

            .title-editors-choice {
                font-size: 18px;
            }
        }
    }
}

@media (min-width: 768px) {
    #single-alert-wrapper {
        #header-single-alert {
            background-color: #fff;

            .img-single-alert {
                img {
                    width: 100%;
                    height: 100%;
                    object-fit: cover;
                    border-radius: 5px;
                }
            }

            .feature-alert-post {
                ul {
                    display: flex;
                    flex-wrap: wrap;
                    padding-right: 0;
                    gap: 1rem;
                    justify-content: space-between;
                    margin-bottom: 0px;

                    li {
                        width: calc(50% - 1rem);
                        list-style: none;
                        padding-right: 0;
                        height: 20%;
                        background-color: #F6F6F6;
                        padding: .8rem .5rem;
                        border-radius: 10px;

                        .title {
                            color: #000;
                        }
                    }
                }
            }

            .title-single-alert {
                width: 60%;
            }
        }

        .title-editors-choice {
            font-size: 29px;
        }
    }
}

.widget.card:not(.widget-mobile-single-financial-institution) {
    position: sticky;
    padding: 1rem;
    border: none !important;

    .widget-title {
        display: flex;
        flex-direction: row-reverse;
        cursor: pointer;

        span {
            font-size: 18px;
        }
    }

    .widget-content {
        padding: 0px !important;
        -ms-overflow-style: none; /* IE and Edge */
        scrollbar-width: none; /* Firefox */

        #ez-toc-container {
            padding: 0px !important;
            border: none !important;
            box-shadow: none !important;
            margin-bottom: 0px;

            .ez-toc-title-container {
                display: none !important;

            }

            .ez-toc-list {
                padding: unset;
                line-height: 30px;
                color: #4A4A4A;
                margin-top: 10px;

                li {
                    font-size: 12px;
                    font-weight: 600;
                    font-variation-settings: "wght" 600, "KSHD" 100;
                    transition: color 0.2s linear;
                    padding-right: 15px;
                    max-height: 30px;
                    overflow: hidden;

                    a {
                        text-decoration: none;
                        color: #4A4A4A;
                    }
                }

                li.active > a {
                    text-decoration: none;
                    color: #007aff !important;
                }

                li:has(.active),
                li.active {
                    max-height: fit-content !important;
                }
            }
        }
    }

    .widget-content::-webkit-scrollbar {
        display: none;
    }
}

.single-financial-institution #sidebar:has(:not(.btn)) .widget-card-desktop {
    top: 50px;
}

.single-financial-institution .widget.card:not(.widget-mobile-single-financial-institution) {
    top: 140px !important;
}

:not(.single-financial-institution) .widget.card:not(.widget-mobile-single-financial-institution) {
    top: 0;
}


@media (min-width: 768px) {
    .widget.card:not(.widget-mobile-single-financial-institution) {
        .widget-content {
            min-height: min-content;
            max-height: 495px !important;
            overflow-y: scroll !important;

            .ez-toc-list {
                li {
                    padding-top: 4px !important;

                    a {
                        height: 22px !important;
                        display: block;
                        overflow: hidden;
                        display: -webkit-box;
                        -webkit-line-clamp: 1;
                        line-clamp: 1;
                        -webkit-box-orient: vertical;
                        overflow: hidden;
                        text-decoration: none;
                    }
                }

                li:before {
                    content: '';
                    position: absolute;
                    width: 2px;
                    background: #e6e6e6;
                    right: 0;
                    height: 30px;
                    z-index: 1;
                    margin-top: -4px;
                }

                li.active:before {
                    background: #185ADB;
                }
            }
        }
    }

    .irb-financial-article-limit.toggle {
        .contentstyle {
            max-height: 500px;
            overflow: hidden;
        }
    }
}

@media (max-width: 767px) {
    .widget.card.widget-mobile-single-financial-institution {
        display: block;
        position: fixed;
        top: 50%;
        z-index: 1;

        .widget-title {
            /* display: none; */
            background: #185adb;
            color: #fff;
            border-radius: 8px 8px 0px 0px;
            transform: rotate(-90deg);
            position: absolute;
            right: -59px;
            font-size: 12px;
            height: max-content;
            width: max-content;
            align-items: baseline;
            padding: 5px 15px;
            margin: 0px !important;

            svg {
                display: none;
            }
        }

        .widget-content {
            position: absolute;
            top: -50px;
            right: 18px;
            width: 80%;

            #ez-toc-container {
                padding: 20px 0px !important;
                border-radius: 6px;
                border-left: 3px solid #185ADB !important;
                box-shadow: 0px 0px 34.6px 0px rgba(255, 255, 255, 0.15);
                background: #fff;
                min-width: 280px;
                max-width: 450px;

                .ez-toc-title-container {
                    display: none !important;
                }

                nav {
                    background: #fff;
                    border-radius: 6px;
                    padding: 0px 20px;
                    max-height: 150px;
                    overflow-y: scroll;
                    scrollbar-width: none;
                    margin-top: 0.4rem;

                    .ez-toc-list {
                        width: 100%;
                        height: 100%;

                        li {
                            max-height: 26px;

                            a {
                                font-size: 12px;
                                line-height: 220%;
                                font-variation-settings: "wght" 600;
                                color: #444;
                                box-shadow: none;
                                text-decoration: none;
                                text-shadow: none;
                                display: inline-flex;
                                align-items: stretch;
                                flex-wrap: nowrap;
                            }

                            a:hover {
                                color: #185ADB;
                            }
                        }

                        li:has(.active),
                        li.active {
                            max-height: max-content;

                            ul {
                                margin: 0px;
                                margin-right: 10px;
                            }
                        }
                    }
                }

                .irb-single-list-close-btn {
                    position: absolute;
                    top: 5px;
                    left: 5px;
                    z-index: 11;
                }
            }
        }
    }

    .widget.card.widget-mobile-single-financial-institution.active::before {
        content: "";
        width: 120%;
        height: 130vh;
        background-color: rgba(0, 0, 0, 0.25);
        position: fixed;
        top: 0;
        left: 0;
    }

    .widget.card:not(.widget-mobile-single-financial-institution) {
        .widget-content {
            min-height: min-content;
            max-height: 495px !important;
            overflow-y: scroll !important;

            .ez-toc-list {
                li {
                    padding-top: 4px !important;

                    a {
                        height: 22px !important;
                        display: block;
                        overflow: hidden;
                        display: -webkit-box;
                        -webkit-line-clamp: 1;
                        line-clamp: 1;
                        -webkit-box-orient: vertical;
                        overflow: hidden;
                        text-decoration: none;
                    }
                }

                li:before {
                    content: '';
                    position: absolute;
                    width: 2px;
                    background: #e6e6e6;
                    right: 0;
                    height: 30px;
                    z-index: 1;
                    margin-top: -4px;
                }

                li.active:before {
                    background: #185ADB;
                }
            }
        }

        .irb-financial-article-limit.toggle .contentstyle {
            max-height: 500px;
            overflow: hidden;
        }
    }
}

@media (max-width: 767px) {
    .entry-six-grids {
        display: flex;
        flex-direction: column;
        gap: 1rem;

        .feed {
            position: relative;
            display: grid;
            grid-template-columns: 88px calc(100% - 88px);
            height: unset;
            margin-bottom: 5px;

            .thumb {
                height: 88px;
                margin-bottom: 0px !important;

                a {
                    img {
                        height: 100%;
                        width: 100%;
                        object-fit: fill;
                        border-radius: 5px;
                    }
                }
            }

            div {
                margin-right: 15px;
                display: flex;
                flex-direction: column;
                justify-content: space-evenly;

                h3 {
                    font-size: 12px !important;
                    line-height: normal !important;
                    font-variation-settings: "wght" 600;
                    height: 50%;
                    overflow: hidden;
                    display: -webkit-box;
                    -webkit-line-clamp: 2;
                    line-clamp: 2;
                    -webkit-box-orient: vertical;
                }

                time {
                    font-size: 8px;

                    svg {
                        width: 14px;
                    }
                }
            }
        }
    }
}

@media (min-width: 768px) {
    .entry-six-grids {
        .feed {
            height: 100%;
            width: 100%;

            .thumb {
                width: 100%;
                height: 60%;

                a {
                    height: 100%;
                    display: block;

                    img {
                        height: 100%;
                        width: 100%;
                        object-fit: cover;
                        border-radius: 5px
                    }
                }
            }

            div {
                h3 {
                    width: 100%;
                    height: 40%;
                    margin-top: 1rem;
                    overflow: hidden;
                    display: -webkit-box;
                    -webkit-line-clamp: 3;
                    line-clamp: 3;
                    -webkit-box-orient: vertical;

                    a {
                        text-align: justify;
                        transition: color 0.2s linear;
                    }

                    a:active,
                    a:hover {
                        color: #185ADB !important;
                    }
                }
            }
        }
    }
}

@media (min-width: 768px) and (max-width: 1280px) {
    .feed > h3 {
        font-size: 14px !important
    }
}

@media (min-width: 768px) and (max-width: 1024px) {
    .entry-six-grids:not(.loop-grid) {
        display: grid;
        grid-template-columns: repeat(3, minmax(15.5%, 1fr));
        gap: 1rem !important;
        height: auto;

        .feed {
            .thumb {
                width: 100%;
                height: 40%;
            }
        }
    }

    .entry-six-grids.loop-grid {
        display: grid;
        grid-template-columns: repeat(3, minmax(auto, 1fr));
        gap: 2rem;

        article {
            .thumb {
                min-height: 130px;
                max-height: 130px;
            }
        }
    }
}

@media (min-width: 1024px) {
    .entry-six-grids:not(.loop-grid) {
        display: grid;
        grid-template-columns: repeat(6, minmax(15.5%, 1fr));
        gap: 1rem !important;
        height: 310px;
    }

    .entry-six-grids.loop-grid {
        display: grid;
        grid-template-columns: repeat(6, minmax(auto, 1fr));
        gap: 2rem;

        article {
            .thumb {
                min-height: 130px;
                max-height: 130px;
            }
        }
    }
}