/* body {
    direction: rtl;
} */

html {
    color: #151515 !important;
    overflow-x: hidden;
}

.container {
    direction: rtl !important;
}
* {
    font-family: Almarai !important;
}

@font-face {
    font-family: "Almarai";
    src: url("fonts/Almarai-Regular.ttf") format("truetype");
    font-weight: normal;
    font-style: normal;
}

header {
    margin-top: 20px;
}

.search-input {
    background: url("assets/search-icon.png") no-repeat;
    background-size: 24px;
    background-position: 10px center;
}

.search-input-latest {
    background: url("assets/search-icon.png") no-repeat;
    background-size: 24px;
    background-position: 10px center;
}
.search-input:focus {
    background: none;
}

.most-read-tabs-container {
    /* margin: 10px !important; */
}
.most-read-link {
    padding: 0px !important;
}
.navbar-nav {
    flex-wrap: wrap;
}
.single-page-social-description-component {
    display: flex;
    flex-direction: row;
    margin-top: 20px;
}
.footer-category-nav-display {
    display: flex;
    flex-direction: row;
    gap: 20px;
    flex-wrap: nowrap;
}
.height-article {
    min-height: calc(100vh - 450px);
}
@media (min-width: 768px) {
    .navbar {
        display: flex;
        list-style: none;
        gap: 20px !important;
        padding: 0 !important;
        margin-top: 20px;
        border-bottom: 1px solid #e5e5e5 !important;
        border-top: 1px solid #e5e5e5 !important;
    }

    .navbar li {
        position: relative !important;
        padding: 15px 0 !important;
    }

    .navbar-nav {
        gap: 2.5rem;
        padding-right: 0;
    }
    .nav-link {
        text-decoration: none !important;
        color: #151515 !important;
        display: block !important;
        font-size: 17px;
        font-weight: 700;
        width: max-content;
        position: relative;
    }

    .navbar a:hover {
        color: #983895;
    }

    .nav-item .dropdown-menu {
        display: block;
        visibility: hidden;
        opacity: 0;
        transition: opacity 0.2s ease, visibility 0.2s ease;
        position: absolute !important;
        background: #ffffff;
        border-right: 1px solid #000000 !important;
        padding: 0;
        box-shadow: -6px 9px 17.3px 0px #0000004d !important;
        right: 0;
        list-style: none;
        width: 100%;
        top: 100%;
        margin-top: -2px;
    }

    /* Ensure dropdown always opens below the category */
    .nav-item:hover .dropdown-menu {
        top: 105% !important;
    }

    .nav-item:hover .dropdown-menu,
    .nav-item .dropdown-menu:hover {
        pointer-events: auto; /* Enables interaction when hovered */
        visibility: visible; /* Makes it visible */
        opacity: 1; /* Fully shows the dropdown */
    }

    .dropdown-menu li {
        margin: 0;
        padding: 0 !important;
        width: 100%;
    }

    .dropdown-menu li a {
        font-family: Almarai;
        font-size: 17px;
        font-weight: 400;
        line-height: var(--lineheight26);
        text-align: right;
        text-underline-position: from-font;
        text-decoration-skip-ink: none;
        color: #5b5b5b;
        white-space: nowrap;
        padding: 10px 20px;
        display: block;
        width: 100%;
    }

    .dropdown-menu li a:hover {
        background-color: #dd9ddb;
    }
    /*
  .navbar-nav .active::after {
    content: "";
    display: block;
    width: 100%;
    height: 5px;
    background-color: #000000;
    position: absolute;
    bottom: -18px;  Distance of the underline from the text
  } */
}

.linkWhatsapp {
    width: 728px;
    height: 90px;
    align-self: center;
    display: block;
    margin: 0 auto; /* Centers the image */
    max-width: 100%;
    object-fit: contain;
}

.background {
    height: 119px;
    align-self: center;
    display: block;
    margin: 0 auto; /* Centers the image */
    max-width: 100%;
    object-fit: contain;
}

.footer {
    background-color: #2d285d;
}

.footer-logo-img {
    width: 120px;
    object-fit: contain;
}
.footer-container {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
}
.category-link {
    color: #ffffff;
    font-family: Almarai;
    font-size: 15px;
    font-weight: lighter;
    text-align: right;
    text-decoration: none;
}

/* .category-link:hover, */
.follow-link:hover,
.download-link:hover,
.footer-link:hover {
    background-color: #983895;
    color: white;
}
.footer-links a,
.footer-link {
    color: #ffffff;
    font-size: 14px;
    margin-left: 10px;
    text-decoration: none;
}
.footer-links {
    display: flex;
    flex-wrap: wrap;
    row-gap: 15px;
    column-gap: 10px;
    /* margin-bottom: 20px; */
}
.subscribe-button {
    width: 92px;
    height: 42px;
    border: none;
    border-radius: 22px;
    background: #983895;
    color: #ffffff;
    font-size: 14px;
    font-weight: 500;
    line-height: 15.62px;
    text-align: center;
    font-family: Almarai;
}

.search-button {
    width: 70%;
    height: 34px;
    border: none;
    border-radius: 22px;
    background: #983895;
    color: #ffffff;
    font-size: 14px;
    font-weight: 500;
    line-height: 15.62px;
    text-align: center;
    font-family: Almarai;
    margin-right: 5px;
}

.grp .email-input {
    width: 278px;
    padding: 7.5px 15px 7.5px 2px;
    background: #0b0549;
    border: none;
}

.grp .email-input::placeholder {
    font-family: Almarai;
    font-size: 14px;
    line-height: 15.62px;
    text-align: right;
    color: #ffffffc7;
    padding-bottom: 3px;
}

.social-icon,
.app-icon {
    /* width: 30px; */
    margin: 0 5px;
}

.follow-link,
.download-link {
    font-size: 14px;
    font-weight: 500;
    color: #ffffff;
    text-decoration: none;
    margin-left: 5px;
    white-space: nowrap; /* Prevents line breaks */
}

.verticaldivider {
    width: 1px;
    height: 18px;
}

.list-group-item {
    padding: 0.5rem 0;
    font-size: 0.9rem;
    color: #333;
}

.list-group-item span {
    display: inline-block;
    text-overflow: ellipsis;
    white-space: nowrap;
    overflow: hidden;
    width: 95%;
    font-size: 15px;
}

.overlay-content {
    background: rgba(0, 0, 0, 0.7);
    padding: 1rem;
    color: white;
    border-radius: 0 0 5px 5px;
}

.overlay-content h5 {
    font-size: 27px;
    font-weight: 800;
    margin: 0;
    line-height: 46px;
}

.badge {
    background: #983895;
    width: 100px;
    /* height: 36px; */
    font-size: 16px;
    padding: 0;
    border-radius: 0px !important;
    border-top-left-radius: 5px !important;
    padding: 0px !important;
    display: flex !important;
    flex-direction: row !important;
    align-items: center;
    gap: 10px;
}

.slider-buttons .btn {
    background-color: var(--color-azure-34, #4b5162);
    color: white;
    padding: 0px 5.7px 0px 5.69px;
    border-radius: 6px;
    transition: all 0.3s;
    font-size: 16.25px;
    font-weight: 700;
}

.slider-buttons .btn:hover {
    background-color: #9a59b5;
    color: white;
}
.slider-buttons .btn .active {
    background-color: #fff;
    color: white;
}
.carousel-title {
    display: -webkit-box !important;
    -webkit-line-clamp: 2;
    /* line-clamp: 1; */
    -webkit-box-orient: vertical;
    height: 80px;
    padding-left: 20px;
}
.bullet-point {
    width: 20px;
    aspect-ratio: 1;
    border-radius: 50%;
    background-color: #983895;
}
.contact-us-address-container {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
}
.contact-us-sub-container {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 10px;
}
.contact-us-text {
    margin-bottom: 0px;
}
.form-container {
    background-color: white;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    width: 100%;
    /* max-width: 600px; */
}

.form-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 20px;
}

.form-group {
    width: 48%;
}

input[type="text"],
input[type="email"],
textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    background-color: #f3f3f3;
}

textarea {
    resize: none;
    height: 100px;
}

label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
}

.form-button {
    background-color: #983895;
    color: white;
    padding: 12px 20px;
    border: none;
    border-radius: 4px;
    font-size: 16px;
    cursor: pointer;
    margin-top: 10px;
    border-radius: 30px;
}

.form-button:hover {
    background-color: #872682;
}
.footer-text {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    padding: 15px;
}
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

.modal-content {
    background-color: #fff;
    padding: 30px;
    border-radius: 12px;
    text-align: center;
    max-width: 400px;
    width: 90%;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
    direction: rtl; /* Arabic text alignment */
    position: relative;
    animation: popIn 0.3s ease-out;
}

@keyframes popIn {
    from {
        transform: scale(0.9);
        opacity: 0;
    }
    to {
        transform: scale(1);
        opacity: 1;
    }
}

.close-btn {
    position: absolute;
    top: 12px;
    left: 20px;
    font-size: 24px;
    cursor: pointer;
    color: #333;
}

.modal-button {
    margin-top: 20px;
    background-color: #983895;
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 16px;
}

@media (max-width: 992px) {
    .overlay-content {
        font-size: 0.9rem;
    }
    .carousel-title {
        height: auto;
        padding-left: 0px;
    }
    .footer-category-nav-display {
        display: flex;
        flex-direction: column;
        gap: 0px;
        flex-wrap: nowrap;
    }
    .form-row {
        display: flex;
        flex-direction: column;
        margin-bottom: 20px;
    }

    .form-group {
        width: 100%;
    }
    .height-article {
        min-height: auto;
    }
}

.card {
    height: 251px;
    border: none !important;
    box-shadow: none;
    margin-bottom: 18px;
}

.card .card-img-top {
    height: 100%;
    border-radius: 0;
    object-fit: cover;
    width: 100%;
}
.card-img {
    width: 100%;
    aspect-ratio: 1.5;
    object-fit: cover;
    border-radius: 5px;
}
.card .card-body {
    margin-right: -15px;
}
.category-card-container {
    /* height: 100%; */
}
.card-body .card-title {
    font-family: Almarai;
    font-size: 14px;
    font-weight: 700;
    line-height: 23px;
    text-align: right;
    color: #000000;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    transition: color 0.3s ease-in-out;
}
.card-title-vertical-limit {
    display: -webkit-box;
    -webkit-line-clamp: 4;
    overflow: hidden;
    -webkit-box-orient: vertical;
}
.card .card-body .card-text {
    color: #808080;
    text-align: right;
    font-family: Almarai;
    font-size: 15px;
    font-weight: 400;
    line-height: 22px;
}
.card-text {
    color: #808080;
    text-align: right;
    font-family: Almarai;
    font-size: 15px;
    font-weight: 400;
    line-height: 22px;
}
.card-bodyy .title {
    font-family: Almarai;
    font-size: 16px;
    font-weight: 700;
    text-align: right;
    color: #000000;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.card-bodyy .text {
    color: #808080;
    font-size: 15px;
}

.btn-container {
    margin-top: 30px;
    width: auto;
}

.btn-container button {
    color: #983895;
    font-family: Almarai;
    font-size: 16px;
    font-weight: 700;
    border: 2px solid #983895;
    background-color: white;
    border-radius: 46px;
}

.btn-container button:hover {
    background: #983895;
    border: 2px solid #983895;
    color: #ffffff;
}

/* Initial SVG path color */
.btn svg path {
    fill: #983895; /* Original color */
}

/* Change color on button hover */
.btn:hover svg path {
    fill: #ffffff; /* New color on hover */
}

hr {
    color: inherit;
    background: var(--color-grey-90, #e5e5e5) !important;
    border: 0;
    width: 90%;
    margin-left: 10% !important;
    opacity: 1 !important;
    margin-top: -1rem !important;
}

.list-group-item-v2 {
    border-left: none !important;
    border: none !important;
    width: 43%;
}

.purple-icon {
    height: 25.5rem;
    margin-top: 1rem;
}

.pic-div {
    width: 65% !important;
    height: fit-content !important;
}

.list-div {
    width: 33% !important;
    margin-right: 2% !important;
}

.breaking-news-bar {
    display: flex;
    align-items: center;
    background-color: rgb(68, 68, 68);
    color: white;
    height: 64px;
    overflow: hidden;
    font-family: Almarai;
    justify-content: center;
    border-top: 5px solid rgb(195, 60, 60);
    width: 100%;
    direction: rtl;
}

.breaking-label {
    background-color: rgb(195, 60, 60);
    color: white;
    padding: 0 15px;
    font-size: 18px;
    display: flex;
    align-items: center;
    height: 100%;
    white-space: nowrap;
    max-width: 1320px;
}
/* .a2a_kit .social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 33px;
    height: 33px;
    overflow: hidden;
    border-radius: 50%;
    background-color: #f0f0f0;
    transition: background-color 0.3s ease-in-out;
} */
.a2a_kit a span {
    border-radius: 50% !important;
}
.social-links {
    gap: 20px;
    display: flex;
    flex-direction: column;
    background-color: #f7f7f9;
    padding: 5px;
    border-radius: 30px;
    margin-left: 25px;
}
.social-links-mobile {
    display: none;
}
.pagination {
    display: flex;
    justify-content: center;
    margin-top: 20px;
    gap: 20px;
}

.pagination-btn {
    padding: 10px 20px;
    border-radius: 50%;
    background-color: white;
    cursor: pointer;
    color: #00000080;
    font-family: Helvetica;
    font-size: 12px;
    font-weight: 500;
    line-height: 12px;
    text-align: center;
}
.pagination-arrow-btn {
    padding: 10px 17px;
    border-radius: 50%;
    background-color: #0000000d;
    cursor: pointer;
    color: #4f6d85;
    text-decoration: none;
}
.pagination-arrow-btn.active {
    background-color: #983895;
    color: #ffffff;
}
.pagination-arrow-btn a {
    text-decoration: none;
}
.pagination-btn:hover {
    background-color: #f4f4f4;
}
.pagination-btn:focus {
    background-color: #983895;
    color: #ffffff;
}
.column-categories-styles-home {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 55px;
}
.column-categories-sub-container-home {
    max-width: 97%;
}
@media (max-width: 790px) {
    .breaking-label {
        margin-right: 0 !important;
    }
}

@media (min-width: 800px) and (max-width: 911px) {
    .breaking-label {
        /* margin-right: calc((100vw - 720px) / 2 + 5px) !important; */
    }
}

@media (min-width: 912px) and (max-width: 1100px) {
    .breaking-label {
        /* margin-right: calc((100vw - 960px) / 2 + 5px) !important; */
    }
}

@media (min-width: 1101px) and (max-width: 1400px) {
    .breaking-label {
        /* margin-right: calc((100vw - 1140px) / 2 + 5px); */
    }
}

@media (min-width: 1401px) {
    .breaking-label {
        /* margin-right: calc((100vw - 1320px) / 2 + 2px); */
    }
}

.breaking-content {
    flex: 1; /* Fills remaining space */
    display: flex;
    align-items: center;
    /* overflow: hidden; */
    padding-right: 15px;
    animation: scrollTextLTR 20s linear infinite;
}
.most-read-item,
.trending-item {
    position: relative;
}
.breaking-content p {
    margin: 0;
    white-space: nowrap;
    display: inline-block; /* Ensure it fits its content */
    color: #ffffff;
    font-family: Almarai;
    font-size: 17px;
    font-weight: 200;
    text-align: center;
}

.breaking-content:hover {
    animation-play-state: paused;
}

.big-container {
    display: flex;
    flex-wrap: wrap;
    margin: 0 auto;
}

@media only screen and (max-width: 900px) {
    .pic-div {
        width: 100% !important;
        height: fit-content;
    }
    .list-div {
        width: 100% !important;
    }
    .big-container {
        display: flex;
        flex-wrap: wrap;
        width: 100%;
        max-width: 1090px;
        margin: 0 auto;
    }
}

@keyframes scrollTextLTR {
    0% {
        transform: translateX(-100%);
    }
    100% {
        transform: translateX(100%);
    }
}

.header-buttons {
    display: flex;
    justify-content: flex-start;
}

.info-bar {
    background-color: #eeeef0;
    padding: 10px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #151515;
    font-family: Almarai;
    font-size: 16px;
    font-weight: 700;
    text-align: right;
}

.filter-options {
    display: flex;
    gap: 10px;
    padding-left: 10px;
}

/* Hide the default radio button */
.filter-options input[type="radio"] {
    display: none;
}

.filter-options label.custom-radio {
    position: relative;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    padding-right: 25px; /* Adds space to the right for the custom icon */
}

/* Custom image for unselected radio button */
.filter-options input[type="radio"] + label.custom-radio::after {
    content: "";
    position: absolute;
    right: 0; /* Position it to the right of the label */
    top: 50%;
    transform: translateY(-50%);
    width: 16px;
    height: 16px;
    background-image: url("assets/radiobutton.png"); /* Image for unselected state */
    background-size: cover;
    background-repeat: no-repeat;
}

/* Custom image for selected radio button */
.filter-options input[type="radio"]:checked + label.custom-radio::after {
    background-image: url("assets/selected.png"); /* Image for selected state */
}

.filter-options label {
    font-family: Almarai;
    font-size: 16px;
    font-weight: 700;
    line-height: 17.86px;
    text-align: right;
    cursor: pointer;
}

.trending-content .titre,
.most-read-content .titre {
    font-family: Almarai;
    font-size: 16px;
    font-weight: 700;
    line-height: 17.86px;
    text-align: right;
    color: #000000;
}
.most-read-content .titre {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    padding-left: 15px;
    padding-right: 15px;
}
.nav-link {
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
}
.nav-style {
    width: 35%;
}
/* Initial SVG path color */
.most-read svg path {
    fill: #151515;
}

/* Change color on button focus (when active) */
.most-read.active svg path {
    fill: #ffffff;
}
.trending.active svg path {
    fill: #ffffff;
}
.most-read-item,
.trending-item {
    border-bottom: 1px solid #e5e5e5;
}

.most-read-content,
.trending-content {
    flex-direction: column;
}

.trending svg path {
    fill: #151515; /* Black for trending button initially */
}

.trending:focus svg path {
    fill: #ffffff; /* White when selected */
}
.whatsapp-banner {
    display: flex;
    justify-content: center;
}
.whatsapp-banner-link {
    display: flex;
    width: 50%;
    background-color: yellow;
}
.whatsapp-banner-image {
    max-width: 100%;
    object-fit: contain;
}
.most-read-content-category {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
}

.slider-buttons button.active {
    background-color: #fff !important;
    color: #000 !important;
    border-color: #fff !important;
}

.absolute-buttons {
    position: absolute;
    bottom: 40px;
    left: 20px;
}
.linkss {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
}
.other_images {
    display: grid;
    grid-template-columns: 70% 30%;
    gap: 20px;
    height: 300px;
}
.extra-images_main {
    height: 320px;
    width: 100%;
    object-fit: cover;
}
.extra-images-side {
    height: 100px;
    object-fit: cover;
}
#mediaCarousel {
    max-width: 100%;
    margin-bottom: 20px;
}

.carousel-item video,
.carousel-item img {
    height: auto;
    max-height: 400px;
    object-fit: cover;
}
.single-news-content-image img {
    width: 100%;
}
.custom-carousel-btn .carousel-control-prev-icon,
.custom-carousel-btn .carousel-control-next-icon {
    background-size: 20px 20px;
    background-color: #d3d3d3;
    border-radius: 50%;
    filter: invert(0); /* Darken arrow a bit */
}

/* Optional: remove default background */
.carousel-control-prev,
.carousel-control-next {
    background: none;
    border: none;
    top: 40% !important;
    bottom: 40% !important;
}
@media (max-width: 767px) {
    body {
        direction: rtl;
    }
    .time-views {
        position: absolute;
        bottom: 0;
        right: 0;
        padding: 0 30px;
    }
    .info-bar {
        height: 36px;
    }
    .info-bar span {
        visibility: hidden;
    }
    .filter-options label {
        font-family: Almarai;
        font-size: 14px;
        font-weight: lighter;
        text-align: right;
    }
    .trending-content .titre,
    .most-read-content .titre {
        font-family: Almarai;
        font-size: 12px;
        font-weight: 400;
        line-height: 20px;
        text-align: right;
        text-underline-position: from-font;
        text-decoration-skip-ink: none;
        color: #000000;
    }
    .most-read-content .titre {
        display: -webkit-box;
        -webkit-line-clamp: 3;
        line-clamp: 3;
        -webkit-box-orient: vertical;
        overflow: hidden;
        padding: 0px;
    }
    .trending-content h1,
    .trending-content img,
    .most-read-content h1,
    .most-read-content img {
        visibility: hidden;
    }
    .most-read-number,
    .trending-number {
        background: #983895;
        color: #ffffff !important;
        font-size: 16px !important;
        font-family: Almarai !important;
        font-weight: 700 !important;
        padding: 0 8px;
        right: 16px;
        position: absolute;
        bottom: -5px;
    }
    .header {
        background-color: black !important;
        padding: 1rem 1rem;
        margin-top: 0;
        width: 768px;
        max-width: 100% !important;
    }
    header.container.header {
        width: 100%;
    }
    .header-upper {
        display: flex;
        align-items: center;
        justify-content: space-between;
    }

    .search-input,
    .icon,
    .temperature,
    .city,
    .vertical-divider,
    .header-icon,
    .weather-icon {
        display: none !important;
    }

    .col-md-4.text-center {
        order: 3; /* Ensure the logo is on the right */
        margin-top: -40px;
    }

    .col-md-4.d-flex {
        order: 1; /* Ensure menu and search icons are on the left */
        justify-content: left;
        width: 100%;
        margin-top: 20px;
        margin-right: -20px;
        flex: 0 0 auto;
        display: flex;
        align-items: center;
        gap: 40px;
    }

    .col-md-4.d-flex::after {
        /* content: url("../assets/black.jpg"); */
        content: "";
        display: inline-block;
    }

    .carousel-item {
        max-width: 100% !important;
    }

    .carousel-item img {
        height: 229px !important;
        object-fit: cover;
        width: 100% !important;
    }

    .carousel-item .badge {
        top: 130px !important;
    }

    .over {
        background: #686e7c !important;
        border-left: 4px solid #983895;
        height: 64px;
    }

    .over h5 {
        border-left: none !important;
        font-family: Almarai;
        font-size: 16px !important;
        line-height: 22px !important;
        text-align: right !important;
    }

    .slider-buttons {
        flex-direction: column;
        position: absolute;
        margin-bottom: 230px;
        left: 20px;
        gap: 5px;
        width: 10px;
        height: 10px;
    }

    .slider-buttons .btn {
        color: #983895 !important;
        background-color: #ffffff !important;
        font-size: 0px;
        width: 10px;
        height: 10px;
    }
    .slider-buttons .btn span {
        font-size: 0px !important;
        display: flex;
        width: 10px !important;
        height: 10px !important;
    }

    .slider-buttons button:hover {
        background-color: #983895 !important;
        color: #ffffff !important;
    }

    .list-div {
        margin-top: 10px;
        margin-right: 0 !important;
    }

    .list-group {
        width: 100% !important;
    }
    .list-group h1 {
        font-size: 17px !important;
    }

    .row .col-3 {
        flex: 0 0 100%;
        max-width: 100%; /* Each news takes full width */
    }

    .btn-container hr {
        display: none;
    }

    .btn-container .btn {
        width: auto; /* Button takes the whole width */
    }

    .background {
        object-fit: cover;
    }

    .category-section h1 {
        font-size: 17px !important;
    }

    .footer {
        /* text-align: center; */
        padding-right: 10px;
    }

    .footer-logo-img {
        margin-bottom: 15px;
        right: 0 !important;
    }

    .footer-links {
        display: flex;
        flex-wrap: wrap; /* Allow items to wrap on smaller screens */

        gap: 10px;
        margin-bottom: 10px;
    }

    .horizontal-divider {
        width: 100%;
        margin-bottom: 10px;
        margin-right: 0px !important;
    }

    .verticaldivider {
        visibility: hidden;
    }

    /* email and subscribe button */
    .grp {
        display: flex;
        justify-content: center;
        flex-wrap: wrap;
        gap: 10px;
        margin-bottom: 15px;
        order: 1;
        margin-left: 15px;
    }

    .email-input {
        flex: 1; /* Input takes up remaining space */
        max-width: 100%;
    }

    .subscribe-button {
        flex: 0; /* Button keeps its size */
        padding: 5px 10px;
    }

    .socials {
        order: 2;
        margin-bottom: 15px;
    }

    .social-icon {
        /* max-width: 30px; */
        height: auto; /* Maintain aspect ratio */
    }

    /* App icons and download link on one line */
    .app-icons-container {
        display: flex;
        justify-content: center;
        align-items: center;
        flex-wrap: wrap;
        gap: 10px;
        margin-bottom: 15px;
    }

    .app-icon {
        max-width: 40px;
        height: auto;
    }

    .download-link {
        font-size: 14px;
    }

    /* Footer bottom links */
    .footer-bottom {
        text-align: center;
    }

    .footer-bottom .footer-link {
        display: block; /* Stack links vertically */
        margin-bottom: 10px;
    }

    .linkss {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        gap: 0 !important;
    }

    .download-links {
        order: 3;
    }

    .sub {
        order: 1;
    }

    .navbar-light .navbar-toggler {
        position: absolute;
        left: 5px;
        top: 15px;
        border: none;
        color: white !important;
    }
    .navbar-light .navbar-toggler-icon {
        background-image: url("../frontassets/assets/menu.png") !important;
    }
    .navbar-toggler-icon {
        position: absolute;
        left: 25px;
        bottom: 57px;
    }

    .navbar-nav {
        padding-right: 0;
        line-height: 50px;
        width: 100%;
        margin-top: -8px;
        flex-wrap: nowrap;
    }

    .navbar-nav .nav-item {
        border-bottom: 1px solid #ddd; /* Add a bottom border for each category */
        padding: 0 10px;
    }

    .navbar-nav .nav-item:last-child {
        border-bottom: none;
    }

    .navbar-light .navbar-nav .nav-link {
        color: #111111 !important;
        font-weight: 700;
        font-size: 14px;
        padding: 1em 5%;
        width: 90%;
    }

    .navbar-nav .nav-item .nav-link {
        text-align: right;
        padding-right: 16px;
        color: #000 !important;
    }
    .navbar-nav .nav-item .nav-link.active {
        text-align: right;
        padding-right: 16px;
        color: #983895 !important;
    }
    .navbar-nav .dropdown-menu {
        border: none;
        margin-top: -20px !important;
    }

    .navbar-nav .dropdown-item {
        text-align: right;
        font-size: 11px !important;
        margin-bottom: -15px;
        color: #983895;
    }

    .linkWhatsapp {
        margin-top: -10px !important;
        margin-bottom: -30px !important;
    }

    .card .card-img-top {
        width: 100%;
        object-fit: cover;
    }

    .latest-trending {
        padding-right: 0 !important;
    }

    .header-buttons .nav-tabs {
        display: flex;
        flex-wrap: wrap;
        padding: 0;
        gap: 0;
        margin: 0;
    }

    .header-buttons .nav-item {
        width: 48%; /* Each button takes half of the width */
        box-sizing: border-box; /* Ensure padding and borders are included in width */
        padding: 0; /* Remove any padding on the item itself */
    }

    .header-buttons .nav-link button {
        width: 100%; /* Make each button take the full width of its container */
        height: 43px;
        font-size: 19.13px;
        display: flex; /* Use flexbox to center the text */
        justify-content: center; /* Horizontally center the text */
        align-items: center; /* Vertically center the text */
        text-align: center; /* Ensure text alignment is centered */
        border: none;
    }

    .info-bar {
        width: 103%;
    }

    .most-read-content,
    .trending-content {
        flex-direction: row;
    }

    .time-views img {
        visibility: visible;
    }

    .card-bodyy .title {
        width: 100%;
    }

    .dropdown-toggle::after {
        border-top: 0.5em solid !important;
        border-right: 0.5em solid transparent !important;
        border-left: 0.5em solid transparent !important;
        border-bottom: 0 !important;
        content: "";
        left: 20px !important;
        position: absolute;
        margin-top: 5%;
    }
    .footer-container {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        justify-content: center;
    }
    .whatsapp-banner-link {
        display: flex;
        width: 80%;
        background-color: yellow;
    }
    .nav-style {
        width: 100%;
    }
    .most-read-content-category {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
    }
    .column-categories-styles-home {
        display: grid;
        grid-template-columns: repeat(1, 1fr);
        gap: 55px;
    }
    .column-categories-sub-container-home {
        max-width: 100%;
    }
    .absolute-buttons {
        position: absolute;
        top: 40px;
    }
    .slider-buttons button.active {
        background-color: #983895 !important;
        color: #fff !important;
        border-color: #983895 !important;
    }
    .social-links-container {
        display: none;
    }
    .social-links-mobile {
        gap: 5px;
        display: flex;
        flex-direction: row;
        background-color: #f7f7f9;
        padding: 5px;
        border-radius: 30px;
        width: fit-content;
        margin-bottom: 20px;
    }
    .footer-category-nav-display {
        display: flex;
        flex-direction: column;
        gap: 0px;
        flex-wrap: nowrap;
    }
    .other_images {
        display: grid;
        grid-template-columns: 100%;
        gap: 20px;
        height: auto;
    }
    .extra-images_main {
        height: auto;
        width: 100%;
        aspect-ratio: 1.5;
        object-fit: cover;
    }
    .extra-images-side {
        height: auto;
        width: 100%;
        aspect-ratio: 1.5;
        object-fit: cover;
    }
}

/* Default search input for desktop */
.search-input {
    display: block; /* Visible by default for desktops */
}

.search-input:focus,
.mobile-search-input:focus,
.email-input:focus {
    outline: none; /* Removes the default blue outline */
    border: 1px solid #983895 !important;
    box-shadow: 0 0 5px #983895 !important;
}

.back-to-top {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 50px;
    height: 50px;
    background-color: #983895;
    color: white;
    border: none;
    border-radius: 50%;
    font-size: 24px;
    cursor: pointer;
    display: none; /* Hidden by default */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    transition: opacity 0.3s ease;
    text-align: center;
    padding: 0; /* Reset button padding */
    margin: 0; /* Reset margins */
    line-height: 50px; /* Center align text/arrow */
    -webkit-appearance: none; /* Reset mobile-specific button styles */
    appearance: none;
}

.back-to-top:hover {
    background-color: #960e91;
}

.navbar .nav-link:hover {
    color: #983895 !important;
}
.navbar .nav-link.active {
    color: #983895 !important;
}
.navbar .nav-link {
    transition: color 0.3s ease-in-out;
}

.icon {
    transition: transform 0.3s ease-in-out;
}

.icon:hover {
    transform: scale(1.3);
}

.header-icon {
    transition: transform 0.3s ease-in-out;
}

.header-icon:hover {
    transform: translateY(-5px);
}

.weather-icon {
    animation: spin 5s linear infinite;
}

@keyframes spin {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

.linkWhatsapp {
    transition: filter 0.3s ease-in-out;
}

.linkWhatsapp:hover {
    filter: brightness(1.1); /* Increase the brightness */
}

.carousel-item a img {
    transition: transform 1s ease-in-out; /* Apply smooth transition for zoom in/out */
}

.carousel-item a:hover img {
    transform: scale(1.1); /* Zoom in the image */
}

.over h5 {
    transition: color 0.3s ease-in-out;
}

.over h5:hover {
    color: #983895;
}

.list-group-item-v2 {
    display: flex;
    transition: transform 0.3s ease-in-out, background-color 0.3s ease;
    border: 1px solid transparent;
    border-radius: 5px;
}

.list-group-item-v2:hover {
    background-color: #f7f7f7; /* Light background change */
}

/* Slide-in animation for the list items */
.list-group-item-v2 {
    opacity: 0; /* Initially hidden */
    transform: translateX(-100%); /* Start from left */
    animation: slideIn 0.8s forwards; /* Slide-in effect */
}

@keyframes slideIn {
    0% {
        opacity: 0;
        transform: translateX(-100%); /* Start off-screen */
    }
    100% {
        opacity: 1;
        transform: translateX(0); /* End in the normal position */
    }
}

/* Delay each news item for a staggered effect */
.list-group-item-v2:nth-child(1) {
    animation-delay: 0s;
}

.list-group-item-v2:nth-child(2) {
    animation-delay: 0.1s;
}

.list-group-item-v2:nth-child(3) {
    animation-delay: 0.2s;
}

.list-group-item-v2:nth-child(4) {
    animation-delay: 0.3s;
}

.list-group-item-v2:nth-child(5) {
    animation-delay: 0.4s;
}

.list-group-item-v2:nth-child(6) {
    animation-delay: 0.5s;
}

.list-group-item-v2:nth-child(7) {
    animation-delay: 0.6s;
}

.category-title h1 {
    display: inline-block;
    transition: transform 0.3s ease;
}

.category-title:hover h1 {
    animation: wave 0.5s ease infinite;
}

@keyframes wave {
    0%,
    100% {
        transform: rotate(0deg);
    }
    25% {
        transform: rotate(-3deg);
    }
    50% {
        transform: rotate(3deg);
    }
}

.social-icon,
.app-icon {
    transition: transform 0.3s ease;
}

.social-icon:hover,
.app-icon:hover {
    transform: translateY(-5px);
}

.subscribe-button {
    position: relative;
    transition: transform 0.2s ease;
}

.subscribe-button:hover {
    transform: scale(1.05);
    animation: pulse 1s infinite;
}
.search-button {
    position: relative;
    transition: transform 0.2s ease;
}

.search-button:hover {
    transform: scale(1.05);
    animation: pulse 1s infinite;
}
@keyframes pulse {
    0%,
    100% {
        box-shadow: 0 0 0 0 rgba(152, 56, 149, 0.7);
    }
    50% {
        box-shadow: 0 0 10px 10px rgba(152, 56, 149, 0);
    }
}

.category-link {
    position: relative;
    text-decoration: none;
    color: #2e2e2e;
    overflow: hidden;
    transition: color 0.3s ease;
}

.category-link::before {
    content: "";
    position: absolute;
    bottom: -3px;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, #983895, #ff6f61);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
}

.category-link:hover {
    color: rgb(250, 140, 241);
}

.category-link:hover::before {
    transform: scaleX(1);
}

.footer-link,
.download-link,
.follow-link {
    position: relative;
    text-decoration: none;
    transition: transform 0.3s ease, color 0.3s ease;
}

.footer-link:hover,
.download-link:hover,
.follow-link:hover {
    transform: translateY(-3px);
}

.most-read-item,
.trending-item {
    transition: transform 0.3s ease, background-color 0.3s ease;
}

.most-read-item:hover,
.trending-item:hover {
    transform: translateY(-5px);
}

.news-item {
    transition: all 0.3s ease;
}

.news-item:hover {
    transform: scale(1.05);
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
}

.card-link {
    text-decoration: none;
    color: inherit;
}

.card-link:hover {
    text-decoration: none;
}

.news-link:hover {
    text-decoration: none;
}

.img-container {
    border-radius: 5px;
    overflow: hidden;
    /* height: 155px;
    display: inline-table; */
}
.image-category {
    border-radius: 5px;
    overflow: hidden;
    height: 200px;
    background-color: lightgray;
    align-items: center;
    display: flex;
}
.image-latest {
    border-radius: 5px;
    overflow: hidden;
    aspect-ratio: 1.5;
    background-color: lightgray;
    align-items: center;
    display: flex;
}
.img-container img {
    transition: transform 0.5s ease-in-out; /* Smooth transition for both zoom-in and zoom-out */
}

.img-container:hover img {
    transform: scale(1.1); /* Zoom in */
}

.card {
    transition: transform 0.5s ease-in-out; /* Smooth zoom out on hover exit */
}

.card-body .cardtitle {
    font-family: "Almarai";
    font-size: 26px;
    font-weight: 700;
    line-height: 38px;
    text-align: right;
    text-underline-position: from-font;
    text-decoration-skip-ink: none;
    color: #151515;
    transition: color 0.3s ease-in-out;
}
.card-body .cardtitle2 {
    font-family: "Almarai";
    font-size: 26px;
    font-weight: 700;
    line-height: 38px;
    text-align: right;
    text-underline-position: from-font;
    text-decoration-skip-ink: none;
    color: #151515;
    transition: color 0.3s ease-in-out;
}
.cardtitle:hover,
.card-title:hover {
    color: #983895 !important;
}
.card-title:focus {
    color: #983895 !important;
}
.card-body .cardtext {
    font-family: Almarai;
    font-size: 17.79px;
    font-weight: 300;
    line-height: 26px;
    text-align: right;
    text-underline-position: from-font;
    text-decoration-skip-ink: none;
    color: #151515;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    -webkit-box-orient: vertical;
}

.card-body .cardtime {
    font-family: Almarai;
    font-size: 15px;
    font-weight: 400;
    line-height: 22px;
    text-align: right;
    text-underline-position: from-font;
    text-decoration-skip-ink: none;
    color: #5b5b5b !important;
    bottom: 0;
}
.cardtime-text {
    font-family: Almarai;
    font-size: 15px;
    font-weight: 400;
    line-height: 22px;
    color: #151515;
}
.date-time-container {
    display: flex;
    flex-direction: row;
    gap: 10px;
    margin-bottom: 15px;
    align-items: center;
}
.date-time-container svg {
    color: #151515;
}
.btn-container button:focus {
    box-shadow: none !important;
}
.btn-container button:active {
    box-shadow: none !important;
}
@media (max-width: 767px) {
    .card-body .cardtitle {
        font-size: 16px;
        font-weight: 700;
        line-height: 24px;
        text-align: right;
    }
    .card-body .cardtitle2 {
        font-size: 16px;
        font-weight: 700;
        line-height: 24px;
        text-align: right;
    }
    .card-body .cardtext {
        font-family: Almarai;
        font-size: 15px !important;
        font-weight: 400;
        line-height: 21px;
        text-align: right;
        text-underline-position: from-font;
        text-decoration-skip-ink: none;
    }

    .up {
        margin-top: 120px !important;
    }

    .bla {
        gap: 50px;
    }
    .down {
        margin-bottom: 120px !important;
    }

    .big {
        border-bottom: 1px solid #e5e5e5 !important;
    }
    .row-gap-1 {
        gap: 10px;
    }
}
