/* News Template Default */

.single-news {
    .related_news {
        padding: 100px 0;
    }

    .related_news .title-section {
        color: white;
        font-size: 36px;
        margin-bottom: 48px;
    }

    .related_news_block {
        display: flex;
        gap: 32px;
    }

    .related_news_block .news-thumb-link {
        display: flex;
        justify-content: center;
        align-items: center;
        overflow: hidden;
        margin-bottom: 43px;
    }

    .news-item .news-date {
        display: flex;
        gap: 8px;
        color: white;
        font-size: 16px;
        margin-bottom: 10px;
    }

    .news-tags .news-tag {
        background: #00F0AE;
        padding: 4px 8px;
        align-items: center;
        color: #002358;
        font-size: 16px;
        font-style: normal;
        font-weight: 400;
        line-height: normal;
    }

    .news_header_container {
        display: flex;
        align-items: center;
        justify-content: flex-start;
        gap: 16px;
        margin-bottom: 48px;
    }

    .news_single_date {
        margin: 0;
    }

    .news-item-title {
        a {
            color: white;
            font-weight: 700;
            line-height: 121%;
        }
    }

    .news-details-content .wp-block-columns {
        flex-direction: column;
    }

    .section-head_bg {
        height: 451px;
        position: initial;
    }

    @media (max-width: 768px) {
        .related_news_block {
            flex-direction: column;
        }

        .news-detail-img-1 {
            display: flex;
            justify-content: center;
            overflow: hidden;
            float: none;
            margin-bottom: 20px;
        }

    }
}

.overlay.popup {
    width: 276px;
    height: 296px;
    position: fixed;
    bottom: 0;
    right: 0;
    z-index: 9999;

    .overlay-bg {
        width: 100%;
        height: 100%;
    }

    .overlay-content {
        flex-direction: column;
        position: absolute;
        top: 0;
        height: 100%;
        width: 100%;
        display: flex;
        justify-content: space-between;
        gap: 24px;
        padding: 32px 24px 24px;
    }

    .overlay-header {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 24px;
        margin-top: 28px;

        .overlay-title {
            color: white;
            font-size: 14px;
        }

    }

    .overlay-title-mob {
        display: none;
        color: white;
        font-size: 14px;
        margin-bottom: 8px;
    }

    .overlay-image {
        img {
            width: 100%;
            height: 100%;
            object-fit: cover;
        }
    }

    .overlay-video {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    .overlay__close {
        position: absolute;
        right: 20px;
        top: 20px;
        cursor: pointer;
        z-index: 9999;

        svg {
            width: 25px;
            height: 25px;

            path {
                stroke: white;
            }
        }
    }

    .btn_yellow {
        width: 100%;
    }
}

@media (max-width: 768px) {
    .overlay.popup {
        width: 100%;
        height: 171px;

        .overlay-content {
            flex-direction: row;
            align-items: center;
        }

        .overlay-header {
            margin-top: 0;
        }

        .overlay-title {
            display: none;
        }

        .overlay-title-mob {
            display: block;
        }

        .overlay__close {
            top: 15px;
        }
    }
}