.q4u-breaking-news-modal .modal-header {
    --bs-modal-header-border-width: 0;
    align-self: flex-end;
    position: absolute;
    z-index: 1050;
    margin-top: 0.3rem;
}

.q4u-breaking-news-modal .modal-body {
    padding: var(--bs-modal-padding) var(--bs-modal-padding) 0;
}

.q4u-breaking-news-modal .modal-footer {
    --bs-modal-footer-border-width: 0;
    padding: 0 calc(var(--bs-modal-padding) - var(--bs-modal-footer-gap)*.5) calc(var(--bs-modal-padding) - var(--bs-modal-footer-gap)*.5);
}

.q4u-breaking-news-modal .swiper-slide-image {
    width: 100%;
    height: auto;
}

.q4u-breaking-news-modal .swiper-slide-content {
    width: 100%;
    height: 100%;
    display: flex;
    position: absolute;
    top: 0;
    box-sizing: border-box;
}

.q4u-breaking-news-modal .swiper-thumb .swiper-slide {
    height: 100%;
    opacity: 0.4;
}

.q4u-breaking-news-modal .swiper-thumb .swiper-slide-thumb-active {
    opacity: 1 !important;
}

.q4u-breaking-news-modal .stretched-slider-link::after {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 1;
    content: "";
}

.q4u-breaking-news-modal .swiper-slide-content.right-top {
    align-items: flex-start !important;
    justify-content: end !important;
    text-align: right !important;
}

.q4u-breaking-news-modal .swiper-slide-content.right-center {
    align-items: center !important;
    justify-content: end !important;
    text-align: right !important;
}

.q4u-breaking-news-modal .swiper-slide-content.right-bottom {
    align-items: flex-end !important;
    justify-content: end !important;
    text-align: right !important;
}

.q4u-breaking-news-modal .swiper-slide-content.left-top {
    align-items: flex-start !important;
}

.q4u-breaking-news-modal .swiper-slide-content.left-center {
    align-items: center !important;
}

.q4u-breaking-news-modal .swiper-slide-content.left-bottom {
    align-items: flex-end !important;
}

.q4u-breaking-news-modal .swiper-slide-content.center-top {
    align-items: start !important;
    justify-content: center !important;
    text-align: center !important;
}

.q4u-breaking-news-modal .swiper-slide-content.center-center {
    align-items: center !important;
    justify-content: center !important;
    text-align: center !important;
}

.q4u-breaking-news-modal .swiper-slide-content.center-bottom {
    align-items: end !important;
    justify-content: center !important;
    text-align: center !important;
}

.q4u-breaking-news-modal .w-25 {
    width: 25% !important;
}

.q4u-breaking-news-modal .w-33 {
    width: 33% !important;
}

.q4u-breaking-news-modal .w-50 {
    width: 50% !important;
}

.q4u-breaking-news-modal .w-66 {
    width: 66% !important;
}

.q4u-breaking-news-modal .w-75 {
    width: 75% !important;
}

.q4u-breaking-news-modal .w-100 {
    width: 100% !important;
}

/* Breaking news slider style */

.q4u-breaking-news-modal .swiper-wrapper {
    height: 450px;
}

.q4u-breaking-news-modal .swiper-slide {
    flex-direction: column;
    gap: 0.5rem;
}

.q4u-breaking-news-modal .q4u-custom-buttons:has(.swiper-button-lock) {
    display: none;
}

.q4u-breaking-news-modal .q4u-custom-buttons:has(.swiper-button-lock) + .autoplay-progress {
    display: none;
}

.q4u-breaking-news-modal .q4u-swiper-slide {
    display: flex;
    gap: 1.5rem;
    width: 100%;
    height: 100%;
}

.q4u-breaking-news-modal .q4u-swiper-slide .slide-img {
    flex: 1;
    width: 100%;
    height: 100%;
}

.q4u-breaking-news-modal .q4u-swiper-slide .slide-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.q4u-breaking-news-modal .q4u-swiper-slide .swiper-slide-content {
    flex: 2;
    position: relative;
    height: auto;
    align-items: flex-start !important;
    justify-content: flex-start !important;
    text-align: start !important;
}

.q4u-breaking-news-modal .q4u-custom-buttons {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 45px;
    background-color: rgba(0, 0, 0, 0.7);
    max-width: fit-content;
    margin: 1rem auto auto;
    padding: 0.25rem;
    border-radius: 50rem;
    border: 1px solid #ffffff;
}

.q4u-breaking-news-modal .q4u-custom-buttons .swiper-button-prev,
.q4u-breaking-news-modal .q4u-custom-buttons .swiper-button-next,
.q4u-breaking-news-modal .q4u-custom-buttons .swiper-pagination {
    position: relative;
    margin: 0;
}

.q4u-breaking-news-modal .q4u-custom-buttons .swiper-button-prev {
    margin: 0 1.5rem 0 0;
}

.q4u-breaking-news-modal .q4u-custom-buttons .swiper-button-next {
    margin: 0 0 0 1.5rem;
}

.q4u-breaking-news-modal .swiper-pagination-bullets.swiper-pagination-horizontal {
    bottom: auto;
    top: auto;
    left: auto;
    right: auto;
    width: auto;
    display: flex;
}

.q4u-breaking-news-modal .q4u-custom-buttons .swiper-pagination-bullet {
    --swiper-theme-color: #ffffff;
    background-color: var(--swiper-theme-color);
    position: relative;
    width: 16px;
    height: 16px;
    margin-right: 4px;
    margin-left: 4px;
    border-radius: 50rem;
    border: none;
    opacity: 1;
}

.q4u-breaking-news-modal .q4u-custom-buttons .swiper-pagination-bullet.swiper-pagination-bullet-active {
    --swiper-theme-color: #16660A;
}

@media (max-width: 1219.98px) {
    .q4u-breaking-news-modal .q4u-swiper-slide {
        flex-direction: column;
        overflow: hidden;
        overflow-y: auto;
    }

    .q4u-breaking-news-modal .q4u-swiper-slide .slide-img img {
        width: 240px;
        height: 140px;
        max-width: 100%;
        max-height: 100%;
        text-align: center;
        display: block;
        margin: 0 auto;
    }
}

@media (max-width: 767.98px) {
    .q4u-breaking-news-modal .w-25,
    .q4u-breaking-news-modal .w-33,
    .q4u-breaking-news-modal .w-50,
    .q4u-breaking-news-modal .w-66,
    .q4u-breaking-news-modal .w-75,
    .q4u-breaking-news-modal .w-100 {
        width: 100% !important;
    }
}

.q4u-breaking-news-modal .swiper-slide {
    display: flex !important;
}

.q4u-breaking-news-modal .swiper-button-next::after,
.q4u-breaking-news-modal .swiper-rtl .swiper-button-prev::after {
    content: unset;
}

.q4u-breaking-news-modal .swiper-button-next::after,
.q4u-breaking-news-modal .swiper-button-prev::after,
.q4u-breaking-news-modal .swiper-rtl .swiper-button-next::after {
    content: unset;
}
