:root {
    /* --main-color: #cf1d39; */
    /*TODO: move to sass files */ 
    --main-color: #000000;
}

.fs-10 {
    font-size: 10px;
}

.search {
    display: none;
    z-index: 2;
}

.bg-black {
    background: #000;
}

.bg-main {
    background-color: var(--main-color) !important;
}

.text-main {
    color: var(--main-color);
}

.opacity-50 {
    opacity: 0.5;
}

.bg-opacity-50 {
    background-color: rgba(0, 0, 0, .5)
}


.half-a-border-on-top {
    background-color: var(--main-color);
    height: 8px;
    width: 52%;
    clip-path: polygon(0% 0%, 100% 0%, 95% 100%, 0% 100%)
}

.bordered {
    border-radius: 15px !important;
}

@media (min-width: 992px) {
    .lg-horizontal-padding {
        padding: 10%;
    }
}


/* Swiper Container */
.swiper-slider {
    position: relative;
}

/* Custom Navigation Buttons */
.swiper-button-custom-prev,
.swiper-button-custom-next {
    width: 40px;
    height: 40px;
    background-color: black;
    color: white;
    border: 1px solid white;
    border-radius: 50%;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 100;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
}

.swiper-button-custom-prev {
    left: 10px;
}

.swiper-button-custom-next {
    right: 10px;
}

/* Bullet Pagination */
.swiper-pagination {
    position: relative;
    text-align: center;
    margin-top: 20px;
}

.swiper-pagination-bullet {
    width: 16px !important;
    height: 16px !important;
    background-color: white !important;
    opacity: 1 !important;
    border-radius: 50% !important;
    margin: 0 6px !important;
    transition: background-color 0.3s ease !important;

}

@media (max-width: 576px) {
  .swiper-pagination-bullet {
    width: 6px !important;
    height: 6px !important;
    margin: 10px 2px !important;
  }
}

.swiper-pagination-bullet-active {
    background-color: var(--main-color) !important;
}


/* Slide Content */
.slide-content img {
    border-radius: 8px;
    object-fit: cover;
}

.slide-text {
    font-size: 1rem;
    font-weight: bold;
}


/*custom*/
.swiper-button-custom-prev {
    left: -13px;
}

.swiper-button-custom-next {
    right: -13px;
}

.swiper-button-custom-prev:hover,
.swiper-button-custom-next:hover {
    background-color: #333;
}

/*to hide initial*/
swiper-container::part(button-prev) {
    left: -35px;
}

swiper-container::part(button-next) {
    right: -35px;
}


/*categories blade - images on the either side*/

/* Global RTL direction */

.category-image {
    height: 105px;
    object-fit: cover;
}

html[dir="ltr"] .left-images {
    margin-left: -50px !important;
    margin-right: 0 !important;
}

html[dir="ltr"] .right-images {
    margin-left: -50px !important;
    margin-right: 0 !important;
}

/* RTL layout overrides */
html[dir="rtl"] .left-images {
    margin-right: -50px !important;
    margin-left: 0 !important;
}

html[dir="rtl"] .right-images {
    margin-left: -50px !important;
    margin-right: 0 !important;
}

/* Responsive adjustments */
@media (max-width: 767.98px) {
    .middle-block {
        width: 100% !important;
    }

    .left-images,
    .right-images,
    html[dir="rtl"] .left-images,
    html[dir="rtl"] .right-images {
        margin: 0 !important;
        justify-content: center !important;
    }
}

/*default navbar*/

/* Sidebar styles */
#sidebar {
    top: 0;
    left: -250px;
    width: 250px;
    height: 100%;
    transition: left 0.3s ease;
    z-index: 1050;
}

#sidebar.active {
    left: 0;
}

/* Toggle content styles */
#toggleDiv {
    max-height: 0;
    opacity: 0;
    transition: max-height 0.5s ease, opacity 0.5s ease;
}

#toggleDiv.show {
    max-height: 500px;
    opacity: 1;
}

/* Icon transition */
.icon-transition {
    transition: opacity 0.3s ease;
}

.icon-transition.fade-out {
    opacity: 0;
}

/* categories blade   */
.category-hover:hover {
    background-color: var(--main-color) !important;
    color: white;
    cursor: pointer;
}


.text-hover:hover {
    color: var(--main-color) !important;
    cursor: pointer;
}
/* search  */
.page-item.active .page-link {
  background-color: #333 !important;
  color: #fff;
  border-color: var(--main-color) !important;
}

/* navbar underline  */

.hover-underline {
    position: relative;
}

.hover-underline::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: -3px;
    height: 2px;
    background-color: var(--main-color);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.hover-underline:hover::after {
    transform: scaleX(1);
}

/* breaking news dot */
    .pulse-dot {
    width: 12px;
    height: 12px;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        transform: scale(1);
        opacity: 1;
    }
    50% {
        transform: scale(1.5);
        opacity: 0.5;
    }
    100% {
        transform: scale(1);
        opacity: 1;
    }
}