:root {
    /* Colors */
    --primary-color: #f04137;
    --secondary-color: #063586;
    --accent-color: #e74c3c;
    --text-color: #333333;
    --text-light: #666666;
    --background-color: #ffffff;
    --background-light: #f5f5f5;
    --border-color: #e0e0e0;
    --gray-color: #2f3191;
    --red-color: #f04137;
    --white-color: #fff;
}

/* Base Styles */
body {
    font-family: "nazanin", -apple-system, BlinkMacSystemFont, "Segoe UI",
        Roboto, sans-serif;
    margin: 0;
    padding: 0;
    background-color: var(--background-color);
    color: var(--text-color);
    line-height: 1.6;
}

/* Layout */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

/* Header */
.site-header {
    background-color: var(--primary-color);
    padding: 15px 0;
}

.header-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 15px;
    border-bottom: 1px solid var(--gray-color);
}

.header-top-bar {
    background: var(--gray-color) !important;
    border-bottom: 5px solid var(--red-color);
    box-shadow: 0 8px 16px -8px #888;
    /* height: 40px; */
    /* width: 100% !important; */
    direction: rtl;
}

.logo {
    font-size: 24px;
    font-weight: bold;
    color: var(--gray-color);
}

/* News Grid */
.news-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 20px;
    margin: 30px 0;
}

/* News Cards */
.news-card {
    background-color: var(--background-color);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 20px;
    transition: transform 0.3s ease;
}

.news-card:hover {
    transform: translateY(-5px);
}

.news-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.news-content {
    padding: 15px;
}

.news-title {
    font-size: 18px;
    margin-bottom: 10px;
    color: var(--text-color);
}

.news-excerpt {
    color: var(--text-light);
    font-size: 14px;
    margin-bottom: 10px;
}

.news-meta {
    display: flex;
    justify-content: space-between;
    color: var(--text-light);
    font-size: 14px;
}

/* Category Sections */
/* .category-section {
    margin-bottom: 30px;
} */

.category-title {
    font-size: 24px;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--accent-color);
}

/* Carousel Styles */
.owl-carousel .owl-nav {
    position: absolute;
    top: 34%;
    width: 100%;
    display: flex;
    justify-content: space-between;
    transform: translateY(-30%);
}

.owl-carousel .owl-image {
    width: 100% !important;
    height: 390px !important;
    position: relative;
}

.owl-theme .owl-nav [class*="owl-"] {
    background: transparent !important;
    color: #e6e8eb !important;
}

.i-nave {
    border-radius: 50% !important;
    border: 2px solid #e6e8eb !important;
    padding: 6px !important;
}

/* Footer */
.site-footer {
    background: var(--gray-color) !important;
    color: #fff;
    padding-top: 18px;
    padding-bottom: 24px;
    font-size: 1rem;
}

.site-footer h5 {
    color: #fff;
    font-size: 1.2rem;
    font-weight: bold;
}

.site-footer .text-light {
    color: #b9b9b9 !important;
}

.site-footer .newsletter-form .form-control {
    background: #23272b;
    color: #fff;
    border-radius: 0;
    border: none;
    font-size: 1rem;
    height: 44px;
}

.site-footer .newsletter-form .form-control:focus {
    background: #23272b;
    color: #fff;
    border: none;
    box-shadow: none;
}

.site-footer .newsletter-form .btn-danger {
    background: var(--primary-color);
    border: none;
    border-radius: 0;
    font-size: 1rem;
    font-weight: bold;
    height: 44px;
}

.site-footer .newsletter-form .btn-danger:hover {
    background: var(--secondary-color);
}

.site-footer .stats-row .h5 {
    color: #fff;
    font-size: 1.3rem;
}

.site-footer .stats-row small {
    color: #b9b9b9;
}

.site-footer .footer-links li a {
    color: #b9b9b9;
    transition: color 0.2s;
    font-size: 18px;
}

.site-footer .footer-links li a:hover {
    color: var(--primary-color);
}

.site-footer .footer-logo {
    max-width: 180px;
    margin-bottom: 16px;
}

.site-footer .footer-social-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    background: #23272b;
    color: #fff;
    border-radius: 50%;
    font-size: 1.5rem;
    margin: 0 6px;
    transition: background 0.2s, color 0.2s;
}

.site-footer .footer-social-icon:hover {
    background: var(--primary-color);
    color: #fff;
}

.site-footer .text-light-50 {
    color: #b9b9b9 !important;
}

.site-footer .small {
    font-size: 0.95rem;
}

@media (max-width: 991.98px) {
    .site-footer .row > div {
        margin-bottom: 32px;
    }
    .site-footer .footer-logo {
        margin: 0 auto 16px auto;
    }
}

@media (max-width: 767.98px) {
    .site-footer {
        padding-top: 32px;
        padding-bottom: 16px;
        font-size: 0.95rem;
    }
    .site-footer .footer-logo {
        max-width: 120px;
    }
    .site-footer .newsletter-form .form-control,
    .site-footer .newsletter-form .btn-danger {
        height: 38px;
        font-size: 0.95rem;
    }
    .site-footer .footer-social-icon {
        width: 36px;
        height: 36px;
        font-size: 1.2rem;
    }
}

/* Utility Classes */
.text-right {
    text-align: right;
}

.text-center {
    text-align: center;
}

.mb-1 {
    margin-bottom: 4px;
}
.mb-2 {
    margin-bottom: 8px;
}
.mb-3 {
    margin-bottom: 16px;
}
.mb-4 {
    margin-bottom: 24px;
}
.mb-5 {
    margin-bottom: 32px;
}

.breaking-bar-wrapper {
    box-shadow: 0 8px 16px -8px #888;
    margin-bottom: 0;
    z-index: 10;
}
.breaking-bar {
    display: flex;
    align-items: center;
    min-height: 48px;
}
.breaking-label {
    background: #e53935;
    color: #fff;
    padding: 0 32px;
    font-weight: bold;
    font-size: 18px;
    height: 48px;
    display: flex;
    align-items: center;
    border-left: 1px solid #b71c1c;
}
.breaking-slider {
    background: #232323;
    flex: 1;
    display: flex;
    align-items: center;
    height: 48px;
    overflow: hidden;
    position: relative;
}
.breaking-slider-list {
    list-style: none;
    margin: 0;
    padding: 0;
    width: 100%;
    height: 48px;
    display: flex;
    align-items: center;
}
.breaking-slider-list li {
    width: 100%;
    height: 48px;
    align-items: center;
    display: none;
}
.breaking-slider-list li a {
    color: #fff;
    text-decoration: none;
    font-size: 16px;
    display: block;
    width: 100%;
    height: 48px;
    line-height: 48px;
    padding-right: 16px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
@media (max-width: 768px) {
    .breaking-label {
        font-size: 15px;
        padding: 0 12px;
    }
    .breaking-slider-list li a {
        font-size: 13px;
        padding-right: 8px;
    }
}

/* --- Custom Navbar Styles for Screenshot Match --- */
.header-top-bar .bg-dark {
    background: var(--gray-color) !important;
}
.header-top-bar input[type="text"] {
    background: transparent;
    border: none;
    color: #bdbdbd;
    font-size: 15px;
    width: 100%;
    outline: none;
    direction: rtl;
    padding: 0 8px;
}
.header-top-bar .fa-search {
    color: #bdbdbd;
    font-size: 20px;
}
.header-top-bar .bg-danger {
    background: var(--red-color) !important;
    color: #fff !important;
    font-weight: bold;
    font-size: 16px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Main Navbar */
.main-menu-area {
    background: var(--gray-color) !important;
    border-bottom: 4px solid var(--secondary-color) !important;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
    direction: rtl;
}

/* RTL fix for dropdown */
.dropdown-menu.ne-dropdown-menu {
    right: 0 !important;
    left: auto !important;
    text-align: right !important;
}

/* Breaking news slider  */

.breaking-news-container {
    background-color: var(--secondary-color);
}

.breaking-news-ticker {
    background: var(--gray-color);
    list-style: none;
    margin: 0;
    padding: 0;
    position: relative;
    width: 100%;
    height: 30px;
    overflow: hidden;
    direction: rtl;
}
.breaking-news-ticker li {
    position: absolute;
    width: 100%;
    right: 0;
    top: 19%;
    opacity: 0;
    transition: opacity 0.2s;
    white-space: nowrap;
    font-size: 10pt;
}
.breaking-news-ticker li.active {
    opacity: 1;
    animation: ticker-slide 4s linear forwards;
    text-align: right;
}

@keyframes ticker-slide {
    0% {
        opacity: 0;
    }
    10% {
        opacity: 1;
    }
    90% {
        opacity: 1;
    }
    100% {
        opacity: 0;
    }
}
.breaking-news-ticker a {
    color: #fff;
    text-decoration: none;
    display: inline-block;
    padding: 0 10px;
}

.breaking-news {
    width: 70px;
    text-align: center;
}

.breaking-news span {
    font-size: 10pt;
}

.breaking-news-title-box {
    background-color: var(--primary-color);
}

.navbar ul li {
    background: var(--gray-color);
}

.active-menu > .nav-link,
.active-menu > .dropdown-item,
.active-menu .dropdown-item.active {
    background: var(--red-color) !important;
    color: #fff !important;
    border-radius: 4px;
}
[dir="rtl"] .dropdown-menu.ne-dropdown-menu {
    right: 0 !important;
    left: auto !important;
    text-align: right !important;
}
.main-menu-area {
    direction: rtl;
}

/* RTL border for menu items */
.border-menu-rtl {
    border-right: 1.5px solid #444;
}
.navbar-nav > .nav-item:last-child,
.navbar-nav > .nav-item:last-child .nav-link {
    border-right: none !important;
}

/* Active menu state */
.active-menu > .nav-link,
.active-menu > .dropdown-item,
.navbar-nav .nav-link.active,
.dropdown-item.active,
.active-menu .dropdown-item.active {
    background: var(--red-color) !important;
    color: #fff !important;
    border-radius: 4px;
}

/* Responsive RTL menu */
@media (max-width: 991.98px) {
    .navbar-nav {
        flex-direction: column !important;
        align-items: stretch !important;
    }
    .border-menu-rtl {
        border-right: none;
        border-bottom: 1.5px solid #444;
    }
    .navbar-nav > .nav-item:last-child {
        border-bottom: none !important;
    }
    .dropdown-menu {
        right: 0 !important;
        left: auto !important;
        text-align: right !important;
    }
}

.header-style7 .main-menu-area .ne-main-menu nav ul li a {
    font-family: "nazanin" !important;
    font-weight: bold;
    font-size: 18px;
}

.header-style7 .main-menu-area .ne-main-menu nav ul li a {
    padding: 30px 10px;
    color: var(--white-color);
}

.header-style7 .main-menu-area .ne-main-menu nav ul li ul.ne-dropdown-menu {
    background: var(--gray-color) !important;
}

.owl-carousel .owl-nav {
    position: absolute;
    top: 34%;
    width: 100%;
    display: flex;
    justify-content: space-between;
    transform: translateY(-30%);
}

.owl-carousel .owl-image {
    width: 100% !important;
    height: 390px !important;
    position: relative;
}

.owl-theme .owl-nav [class*="owl-"] {
    background: transparent !important;
    color: #e6e8eb !important;
}

.i-nave {
    border-radius: 50% !important;
    border: 2px solid #e6e8eb !important;
    padding: 6px !important;
}

.category-body {
    height: 500px;
}

/* .slide-home {
    min-height: 590px;
} */

.second-section .category-section-second .owl-carousel-category .owl-nav {
    top: 20% !important;
}

@media only screen and (max-width: 768px) {
    .carousel-content .slide-image-home {
        height: 260px !important;
    }

    .slide-home .owl-carousel .owl-nav {
        top: 20% !important;
    }

    .related-post .owl-carousel .owl-nav {
        top: 20% !important;
    }

    .second-section .category-section-second {
        height: auto !important;
    }
}

/* === Slider Section Custom Styles === */
.slider-section {
    background: var(--background-light);
    /* margin-bottom: 32px; */
}
.slider-section .latest-news-box,
.slider-section .other-news-box {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 2px 12px rgba(44, 44, 44, 0.07);
    border: 1px solid var(--border-color);
    min-height: 340px;
    display: flex;
    flex-direction: column;
}
.slider-section .latest-news-title,
.slider-section .other-news-title {
    font-size: 20px;
    font-weight: bold;
    color: var(--primary-color);
    border-bottom: 2px solid var(--primary-color);
    padding-bottom: 8px;
    margin-bottom: 18px;
    text-align: right;
}
.slider-section .latest-news-list li,
.slider-section .other-news-list li {
    font-size: 15px;
    padding-right: 0;
    padding-left: 0;
}
.slider-section .latest-news-list a,
.slider-section .other-news-list a {
    color: var(--text-color);
    text-decoration: none;
    transition: color 0.2s;
    display: block;
    padding: 4px 0;
}
.slider-section .latest-news-list a:hover,
.slider-section .other-news-list a:hover {
    color: var(--primary-color);
}
.slider-section .slider-bar {
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 2px 12px rgba(44, 44, 44, 0.07);
    border: 1px solid var(--border-color);
    min-height: 340px;
    overflow: hidden;
    padding: 0;
}
.slider-section .slide-home {
    width: 100%;
    height: 100%;
    min-height: 340px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.slider-section .slide-home img {
    width: 100%;
    height: 340px;
    object-fit: cover;
}
@media (max-width: 991.98px) {
    .slider-section .latest-news-box,
    .slider-section .other-news-box,
    .slider-section .slider-bar {
        min-height: 220px;
    }
    .slider-section .slide-home img {
        height: 180px;
    }
}
@media (max-width: 767.98px) {
    .slider-section .latest-news-box,
    .slider-section .other-news-box,
    .slider-section .slider-bar {
        min-height: 120px;
        margin-bottom: 16px;
    }
    .slider-section .slide-home img {
        height: 120px;
    }
}

.desc-news-slider {
    background: none;
    color: inherit;
    padding: 0;
    margin: 0 !important;
    border-bottom: none;
}

/*
================================================================================
|                                                                              |
|                      STYLES FOR MASTER_PAGE2.BLADE.PHP                         |
|                                                                              |
================================================================================
*/

/* Top Bar */
.top-bar {
    background-color: var(--background-light);
    border-bottom: 1px solid var(--border-color);
}

.logo-placeholder {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--text-color);
    margin: 0;
}

.site-name {
    font-size: 1.2rem;
    color: var(--text-light);
}

/* Navbar */
.site-navbar {
    background-color: #000 !important;
    padding: 0;
}

.site-navbar .navbar-nav .nav-link {
    color: var(--white-color);
    padding: 1rem 1.2rem;
    transition: background-color 0.3s ease;
    font-weight: bold;
}

.site-navbar .navbar-nav .nav-link:hover,
.site-navbar .navbar-nav .nav-item.active .nav-link {
    background-color: var(
        --primary-color
    ); /* Using --primary-color from existing variables */
    color: var(--white-color);
}

.site-navbar .dropdown-menu {
    background-color: #000;
    border: none;
    margin-top: 0;
    border-radius: 0;
}

.site-navbar .dropdown-item {
    color: var(--white-color);
    /* text-align: right; */
    transition: background-color 0.3s ease;
}

.site-navbar .dropdown-item:hover {
    background-color: var(--primary-color);
    color: var(--white-color);
}

/* Main Slider */
.main-slider-section .carousel-inner {
    border-radius: 12px;
    overflow: hidden;
}

.main-slider-section .carousel-item img {
    object-fit: cover;
    height: 500px;
}

.main-slider-section .carousel-caption {
    background: rgba(0, 0, 0, 0.5);
    border-radius: 8px;
    padding: 1rem;
    bottom: 2rem;
}

/* News Ticker */
.news-ticker-container {
    display: flex;
    background-color: rgba(
        52,
        58,
        64,
        0.9
    ); /* Bootstrap dark grey with transparency */
    color: white;
    padding: 0.75rem;
    border-radius: 8px;
    overflow: hidden;
    height: 50px;
    position: relative;
}

.ticker-label {
    font-weight: bold;
    padding-left: 1rem;
    white-space: nowrap;
    display: flex;
    align-items: center;
    z-index: 1;
}

.news-ticker-list {
    list-style: none;
    padding: 0;
    margin: 0;
    position: relative;
    flex-grow: 1;
    height: 100%;
}

.news-ticker-list li {
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    display: flex;
    align-items: center;
    padding-right: 1rem;
}

.news-ticker-list li.active {
    opacity: 1;
}

.news-ticker-list li a {
    color: white;
    text-decoration: none;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.news-ticker-list li a:hover {
    color: var(--primary-color);
}

.main-title-first {
    color: #2f3192;
    font-weight: bold;
    font-size: 30px;
}

.main-title-second {
    color: var(--secondary-color);
    font-size: 40px;
}

footer {
    background: var(--gray-color) !important;
}

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

/* Generated for Slider */
/* Slider Overlay Styles */
.slider-image-container {
    position: relative;
    display: block;
}

.owl-carousel .item .slider-image-container .slide-image-home,
.owl-carousel .item .slider-image-wrapper .slide-image-home {
    height: 300px !important; /* Adjust height as needed */
    object-fit: cover;
    width: 100%;
}

.slider-caption-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    /* background: rgba(0, 0, 0, 0.7); */
    color: #fff;
    padding: 20px;
    direction: rtl; /* Right-to-left text direction */
    text-align: right; /* Align text to the right */
    transition: background-color 0.3s ease;
}

/* .slider-caption-overlay:hover {
    background: rgba(0, 0, 0, 0.85);
} */

.slider-caption-overlay .slider-title {
    font-size: 1.5rem;
    font-weight: bold;
    margin: 0;
    line-height: 1.3;
    background-color: var(--primary-color);
    padding: 5px;
}

.slider-caption-overlay .slider-title a {
    color: #fff;
    text-decoration: none;
    transition: color 0.3s ease;
}

.slider-caption-overlay .slider-title a:hover {
    color: #f04137; /* Use primary color from your palette */
}

.slider-caption-overlay .slider-description,
.slider-caption-overlay .slider-desc {
    font-size: 1.4rem;
    margin: 0;
    line-height: 1.5;
    color: #e0e0e0;
    background-color: var(--secondary-color);
    padding: 5px;
}

.language-selectbox {
    background-color: inherit !important;
    color: inherit !important;
    padding: 8px 2px;
}

@media (min-width: 992px) {
    .container {
        max-width: 970px !important;
    }
}

@media (min-width: 1200px) {
    .container {
        max-width: 1170px !important;
    }
}

@media (min-width: 1400px) {
    .container {
        max-width: 1340px !important;
    }
}

@media (max-width: 768px) {

    .search-button {
        display: none;
    }
    .owl-carousel .owl-item img.slide-image-home {
        height: 200px !important;
    }
}

.header-style1 .main-menu-area .ne-main-menu nav ul li a {
    padding: 10px 7px !important;
}

ul.home-social li {
    display: inline-block !important;
    padding: 2px 4px;
    background: #0b212e;
    font-size: 17px !important;
}
ul.home-social li a {
    color: white !important;
}

.header-style7 .main-menu-area .ne-main-menu nav ul li a {
    padding: 12px !important;
}

.color-scampi:before {
    border: 0 !important;
}

.color-scampi:after {
    background: var(--secondary-color) !important;
}

.mobile-menu-nav-back {
    background: #0b212e !important;
}

.mask-content-sm h2.title-medium-light {
    font-size: 18px;
}
.media .media-body a {
    font-size: 14px;
    /* color: var(--text-color); */
}

/* News List Section (matches screenshot) */

.news-box-1 {
    border-bottom: none;
    border-radius: 8px;
    /* box-shadow: 0 2px 8px rgba(44, 44, 44, 0.07); */
    background: #fff;
    transition: box-shadow 0.2s;
}
.news-box-1:hover {
    box-shadow: 0 4px 16px rgba(44, 44, 44, 0.13);
}
.news-cat-label {
    background: var(--primary-color);
    border-radius: 0 0 6px 6px;
    font-size: 1rem;
    top: 0;
    right: 0;
    z-index: 2;
}

.news-box-title {
    font-size: 16px;
    color: var(--text-color);
    font-weight: bold;
    margin-bottom: 6px;
    line-height: 1.5;
}
.news-box-meta {
    font-size: 13px;
    color: var(--gray-color);
    margin-bottom: 6px;
}
.news-box-meta span {
    margin-left: 10px;
    color: var(--gray-color);
}
.news-box-meta i {
    color: var(--secondary-color);
    margin-left: 2px;
}
.news-box-excerpt {
    font-size: 13px;
    color: var(--text-light);
    margin-bottom: 8px;
    min-height: 32px;
}
.news-box-btn {
    background: var(--secondary-color) !important;
    color: #fff !important;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 500;
    transition: background 0.2s;
}
.news-box-btn:hover {
    background: var(--primary-color) !important;
    color: #fff !important;
}
@media (max-width: 991.98px) {
    .news-box-title {
        font-size: 14px;
    }
    .news-box-excerpt {
        font-size: 12px;
    }
}

.second-box-row div {
    padding-left: 5px !important;
    padding-right: 5px !important;
}

.news-list-item {
    margin-bottom: 10px;
    border-bottom: 0.1px solid var(--border-color);
}

/* --- News Content Box: .single-news-box --- */
.single-news-box {
    position: relative;
    width: 100%;
    max-width: 700px;
    margin: 0 auto;
    direction: rtl;
    font-family: inherit;
}
.single-news-box .news-image {
    width: 100%;
    height: auto;
    aspect-ratio: 16/9;
    object-fit: cover;
    display: block;
}
.single-news-box .news-overlay {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 0 0 0.5rem 0;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    width: 100%;
}
.single-news-box .headline-box {
    background: var(--primary-color); /* fallback */
    color: var(--white-color, #fff);
    font-weight: bold;
    font-size: 16px;

    padding: 0.5rem 1.5rem 0.5rem 0.75rem;

    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    max-width: 90%;
    text-align: right;
    line-height: 1.5;
}
.single-news-box .headline-box a {
    color: var(--white-color);
}
.single-news-box .desc-box {
    background: var(--secondary-color);
    color: var(--white-color, #fff);
    font-size: 15px;
    padding: 0.5rem 1.5rem 0.5rem 0.75rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    line-height: 1.6;
}
@media (max-width: 767.98px) {
    .single-news-box {
        max-width: 100%;
    }
    .single-news-box .news-image {
        border-radius: 8px;
        aspect-ratio: 16/10;
    }
    .single-news-box .headline-box {
        font-size: 1rem;
        padding: 0.4rem 1rem 0.4rem 0.5rem;
        border-radius: 0 6px 6px 0;
        max-width: 98%;
    }
    .single-news-box .desc-box {
        font-size: 0.92rem;
        padding: 0.4rem 1rem 0.4rem 0.5rem;
        border-radius: 0 0 6px 0;
        max-width: 97%;
    }
}
@media (max-width: 480px) {
    .single-news-box .headline-box,
    .single-news-box .desc-box {
        font-size: 0.89rem;
        padding: 0.3rem 0.7rem 0.3rem 0.3rem;
        max-width: 100%;
    }
}

/* --- News Content Box: .news-box-3 --- */
.news-box-3 {
    /* width: 100%;
    max-width: 1200px;
    margin: 0 auto 2rem auto;
    direction: rtl; */
    font-family: inherit;
    background: #fff;
    border-radius: 0.5rem;
    box-shadow: 0 2px 12px rgba(44, 44, 44, 0.04);
    /* padding: 0; */
}
.news-box-3-header {
    border-bottom: 3px solid var(--primary-color, #f04137);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 0 0.5rem 0;
    margin-bottom: 35px;
}
.news-box-3-title {
    color: var(--primary-color, #f04137);
    font-weight: bold;
    font-size: 1.25rem;
    letter-spacing: 1px;
}
.news-box-3-content {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
}
.news-box-3-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-top: 20px;
}
.news-box-3-list-item {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    border-bottom: 1px solid #eee;
    padding-bottom: 1.25rem;
}
.news-box-3-list-item:last-child {
    border-bottom: none;
}
.news-box-3-list-thumb {
    width: 90px;
    height: 65px;
    border-radius: 4px;
    object-fit: cover;
    background: #ddd;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}
.news-box-3-list-thumb .play-btn {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    background: rgba(0, 0, 0, 0.7);
    border-radius: 50%;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.news-box-3-list-thumb .play-btn i {
    color: var(--white-color, #fff);
    font-size: 1.2rem;
}
.news-box-3-list-meta {
    color: #aaa;
    font-size: 0.95rem;
    margin-bottom: 0.25rem;
}
.news-box-3-list-title {
    font-weight: bold;
    color: #222;
    font-size: 15px;
    line-height: 1.4;
}
.news-box-3-main {
    flex: 2 1 600px;
    min-width: 340px;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    background: #f8f8f8;
    border-radius: 0.5rem;
    overflow: hidden;
}
.news-box-3-main-img {
    width: 100%;
    height: 100%;
    min-height: 340px;
    object-fit: cover;
    display: block;
    filter: grayscale(0.2);
}
.news-box-3-main-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    pointer-events: none;
}
.news-box-3-main-eye {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    background: var(--primary-color, #f04137);
    color: var(--white-color, #fff);
    border-radius: 0.2rem;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    z-index: 2;
    pointer-events: auto;
}
.news-box-3-main-label {
    position: absolute;
    top: 1.5rem;
    left: 1.5rem;
    background: #222;
    color: var(--white-color, #fff);
    border-radius: 0.2rem;
    padding: 0.2rem 1rem;
    font-size: 0.95rem;
    font-weight: 500;
    z-index: 2;
    pointer-events: auto;
}
.news-box-3-main-play {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    background: rgba(0, 0, 0, 0.7);
    border-radius: 50%;
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
    pointer-events: auto;
}
.news-box-3-main-play i {
    color: var(--white-color, #fff);
    font-size: 2.2rem;
}
.news-box-3-main-caption {
    position: absolute;
    bottom: 2.5rem;
    right: 2.5rem;
    left: 2.5rem;
    color: var(--white-color, #fff);
    font-size: 15px;
    font-weight: bold;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.25);
    z-index: 2;
    text-align: right;
}
.news-box-3-main-meta {
    position: absolute;
    bottom: 1rem;
    right: 2.5rem;
    color: var(--white-color, #fff);
    font-size: 0.98rem;
    z-index: 2;
    text-align: left;
}
@media (max-width: 991.98px) {
    .news-box-3-content {
        flex-direction: column;
        gap: 1.5rem;
    }
    .news-box-3-main {
        min-width: 0;
    }
}
@media (max-width: 767.98px) {
    .news-box-3 {
        max-width: 100%;
        border-radius: 0;
        box-shadow: none;
    }
    .news-box-3-header {
        padding: 0 0 0.25rem 0;
        margin-bottom: 35px;
    }
    .news-box-3-content {
        gap: 1rem;
    }
    .news-box-3-list {
        min-width: 0;
        max-width: 100%;
        gap: 1rem;
    }
    .news-box-3-main-img {
        min-height: 180px;
    }
    .news-box-3-main-caption {
        font-size: 0.98rem;
        bottom: 1.2rem;
        right: 1.2rem;
        left: 1.2rem;
    }
    .news-box-3-main-meta {
        right: 1.2rem;
        bottom: 0.5rem;
        font-size: 0.89rem;
    }
    .news-box-3-main-eye,
    .news-box-3-main-label {
        top: 0.7rem;
        right: 0.7rem;
        left: 0.7rem;
        width: 32px;
        height: 32px;
        font-size: 1.1rem;
        padding: 0.1rem 0.7rem;
    }
    .news-box-3-main-play {
        width: 44px;
        height: 44px;
        font-size: 1.3rem;
    }
}

/* --- News Box 3 Title with Lines --- */
.news-box-3-title-wrapper {
    display: flex;
    align-items: flex-end;
    justify-content: center;
    margin-bottom: 30px;
    width: 100%;
}
.news-box-3-title-line {
    flex: 1;
    height: 2px;
    background: var(--gray-color);
    opacity: 0.5;
    margin: 0 12px;
    border-radius: 2px;
}
.news-box-3-title-wrapper .news-box-3-head {
    font-size: 30px;
    font-weight: bold;
    color: var(--gray-color);
    text-align: center;
    margin: 0 8px;
    white-space: nowrap;
}

.news-box-3-head {
    font-size: 30px;
    margin-top: 20px;
}

.my-30 {
    margin-top: 30px;
    margin-bottom: 30px;
}

.mb-30 {
    margin-bottom: 30px;
}

/* --- Sticky Right Social Media Bar --- */
.right-sticky-social-media {
    position: fixed;
    top: 60px;
    right: 0;
    z-index: 1050;
    display: flex;
    flex-direction: column;
    align-items: center;
    background: transparent;
    padding: 0;
}
.right-sticky-social-media .social-sticky-bar {
    display: flex;
    flex-direction: column;
    gap: 0;
}
.right-sticky-social-media .social-sticky-item {
    width: 54px;
    height: 54px;
    background: #f8f9fa;
    display: flex;
    align-items: center;
    justify-content: center;
    border-bottom: 1px solid #f1f1f1;
    transition: background 0.3s, color 0.3s;
    cursor: pointer;
}
.right-sticky-social-media .social-sticky-item:last-child {
    border-bottom: none;
}
.right-sticky-social-media .social-sticky-link {
    color: #b0bec5;
    font-size: 2.1rem;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.3s;
}
/* Hover Brand Colors */
.right-sticky-social-media .social-sticky-item.facebook:hover {
    background: #1877f2;
}
.right-sticky-social-media
    .social-sticky-item.facebook:hover
    .social-sticky-link {
    color: #fff;
}
.right-sticky-social-media .social-sticky-item.twitter:hover {
    background: #1da1f2;
}
.right-sticky-social-media
    .social-sticky-item.twitter:hover
    .social-sticky-link {
    color: #fff;
}
.right-sticky-social-media .social-sticky-item.googleplus:hover {
    background: #db4437;
}
.right-sticky-social-media
    .social-sticky-item.googleplus:hover
    .social-sticky-link {
    color: #fff;
}
.right-sticky-social-media .social-sticky-item.rss:hover {
    background: #ffa500;
}
.right-sticky-social-media .social-sticky-item.rss:hover .social-sticky-link {
    color: #fff;
}
.right-sticky-social-media .social-sticky-item.vimeo:hover {
    background: #1ab7ea;
}
.right-sticky-social-media .social-sticky-item.vimeo:hover .social-sticky-link {
    color: #fff;
}
.right-sticky-social-media .social-sticky-item.youtube:hover {
    background: #ff0000;
}
.right-sticky-social-media
    .social-sticky-item.youtube:hover
    .social-sticky-link {
    color: #fff;
}
.right-sticky-social-media .social-sticky-item.linkedin:hover {
    background: #0077b5;
}
.right-sticky-social-media
    .social-sticky-item.linkedin:hover
    .social-sticky-link {
    color: #fff;
}

.right-sticky-social-media .social-sticky-item.whatsapp:hover {
    background: #25d366;
}
.right-sticky-social-media
    .social-sticky-item.whatsapp:hover
    .social-sticky-link {
    color: #fff;
}

.right-sticky-social-media .social-sticky-item.telegram:hover {
    background: #0088cc;
}
.right-sticky-social-media
    .social-sticky-item.telegram:hover
    .social-sticky-link {
    color: #fff;
}
/* Hide on small screens */
@media (max-width: 767.98px) {
    .right-sticky-social-media {
        display: none !important;
    }
}

/* --- Newsletter Custom Box (Footer) --- */
.newsletter-box-custom {
    background: transparent;
    color: var(--white-color, #fff);
    padding: 2.5rem 1.5rem 2rem 1.5rem;
    border-radius: 0.5rem;
    min-width: 260px;
}
.newsletter-title {
    font-size: 35px;
    font-weight: bold;
    margin-bottom: 1.2rem;
    letter-spacing: 0.5px;
    color: var(--white-color);
}
.newsletter-desc {
    font-size: 1.15rem;
    color: #cfd2d4;
    margin-bottom: 2rem;
}
.newsletter-form-custom {
    max-width: 100%;
    justify-content: center;
    align-items: center;
    margin-bottom: 2rem;
}
.newsletter-input-custom {
    background: transparent;
    border: 0.2px solid var(--background-color);
    color: #fff;
    border-radius: 0;
    font-size: 1.15rem;
    padding: 0.7rem 1.2rem;
    min-width: 350px;
    text-align: right;
    box-shadow: none;
    outline: none;
    transition: border-color 0.2s;
    height: 40px;
}
.newsletter-input-custom::placeholder {
    color: #b0b3b6;
    opacity: 1;
    font-size: 1.1rem;
}
.newsletter-input-custom:focus {
    border-color: var(--main-red, #e53935);
    background: transparent;
    color: #fff;
}
.newsletter-btn-custom {
    background: var(--main-red, #e53935);
    color: #fff;
    border: none;
    border-radius: 0;
    font-size: 1.15rem;
    padding: 0.7rem 2.2rem;
    margin-left: 0;
    margin-right: 0;
    transition: background 0.2s, color 0.2s;
    height: 40px;
}
.newsletter-btn-custom:hover,
.newsletter-btn-custom:focus {
    background: #b71c1c;
    color: #fff;
}
.newsletter-stats-custom {
    width: 100%;
    justify-content: space-between;
    align-items: flex-end;
    margin-top: 2.2rem;
}
.newsletter-stat-number {
    font-size: 2rem;
    font-weight: bold;
    letter-spacing: 1px;
    color: #fff;
    margin-bottom: 0.2rem;
}
.newsletter-stat-label {
    font-size: 1.1rem;
    color: #cfd2d4;
}
@media (max-width: 991.98px) {
    .newsletter-box-custom {
        padding: 2rem 0.5rem 1.5rem 0.5rem;
    }
    .newsletter-title {
        font-size: 1.5rem;
    }
    .newsletter-stat-number {
        font-size: 1.3rem;
    }
    .newsletter-stat-label {
        font-size: 1rem;
    }
}
@media (max-width: 575.98px) {
    .newsletter-form-custom {
        flex-direction: column-reverse;
        align-items: stretch;
    }
    .newsletter-btn-custom {
        width: 100%;
        margin-bottom: 0.7rem;
        padding: 0.7rem 0;
    }
    .newsletter-input-custom {
        min-width: 0;
        width: 100%;
    }
    .newsletter-stats-custom {
        flex-direction: column;
        align-items: center;
        gap: 0.7rem;
    }
}

/* Most Watched Section */
.watched-item {
    border-right: 1px solid #dee2e6; /* Bootstrap's default border color */
    cursor: pointer;
    transition: background-color 0.2s ease-in-out;
}

.watched-item:last-child {
    border-right: none;
}

.watched-item i {
    font-size: 1.75rem;
    display: block; /* to apply margin bottom */
}

.watched-item:hover {
    background-color: #e9ecef; /* Bootstrap's light gray hover */
}

@media (max-width: 991.98px) {
    .most_watched .d-flex {
        flex-wrap: nowrap;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        justify-content: flex-start !important; /* Override justify-content-center */
    }

    .watched-item {
        flex: 0 0 180px; /* Fixed width for scrolling */
    }

    /* Hide scrollbar for a cleaner look */
    .most_watched .d-flex::-webkit-scrollbar {
        display: none; /* for Chrome, Safari, and Opera */
    }
    .most_watched .d-flex {
        -ms-overflow-style: none; /* for IE and Edge */
        scrollbar-width: none; /* for Firefox */
    }
}

/* Tabbar Section */
.tabbar-tabs .tab-btn {
    font-weight: bold;
    border-radius: 6px 6px 0 0;
    margin-left: 0.5rem;
    min-width: 90px;
    transition: background 0.2s, color 0.2s;
    font-size: 15px;
}
.tabbar-tabs .tab-btn.active,
.tabbar-tabs .tab-btn:focus {
    background: #fff;
    color: #212529;
    border-bottom: 2px solid #dc3545;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
}
.tabbar-badge {
    position: absolute;
    top: 1rem;
    left: 1rem;
    z-index: 2;
    font-size: 0.85rem;
    padding: 0.35em 0.8em;
    border-radius: 4px;
    letter-spacing: 0.5px;
}
.tabbar-img-wrap {
    position: relative;
    overflow: hidden;
    border-radius: 0.5rem 0.5rem 0 0;
}
.tabbar-main-img {
    width: 100%;
    height: 320px;
    object-fit: cover;
}
.tabbar-small-img {
    width: 100%;
    height: 120px;
    object-fit: cover;
}
.tabbar-main-card,
.tabbar-small-card {
    border-radius: 0.5rem;
}
@media (max-width: 991.98px) {
    .tabbar-main-img {
        height: 220px;
    }
    .tabbar-small-img {
        height: 100px;
    }
}
@media (max-width: 767.98px) {
    .tabbar-main-img {
        height: 180px;
    }
    .tabbar-small-img {
        height: 80px;
    }
    .tabbar-tabs {
        justify-content: flex-start !important;
    }
}

.ne-dropdown-menu li:hover > .ne-dropdown-menu {
    display: block;
}

@media (min-width: 992px) {
    /* --- Multi-level Dropdown: Open submenus to the right (RTL) --- */
    .main-nav-list-rtl > li {
        position: relative;
    }
    .main-nav-list-rtl > li > .ne-dropdown-menu {
        position: absolute;
        top: 100%;
        right: 0%;
        min-width: 180px;
        z-index: 1000;
        display: none;
        background: #2f3191; /* match your menu color */
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
        border-radius: 0 0 6px 6px;
        transition: opacity 0.2s;
    }
    .main-nav-list-rtl > li:hover > .ne-dropdown-menu {
        display: block;
    }

    .ne-dropdown-menu li {
        position: relative;
    }
    .ne-dropdown-menu .ne-dropdown-menu {
        position: absolute;
        top: 0% !important;
        right: 100% !important; /* For RTL: open to the left of parent */
        left: auto;
        min-width: 180px;
        z-index: 1100;
        display: none;
        background: #2f3191; /* match your menu color */
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
        border-radius: 6px 0 6px 6px;
    }
    .ne-dropdown-menu li:hover > .ne-dropdown-menu {
        display: block;
    }
}

.centered-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    text-align: center;
}

.support-card {
    background-color: #fff;
    padding: 3rem;
    border-radius: 0.5rem;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.08);
    max-width: 800px;
    width: 100%;
    margin: 0 auto;
}

.support-title {
    color: #343a40;
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.support-description {
    color: #6c757d;
    font-size: 18px;
    line-height: 1.8;
    margin-bottom: 2rem;
}

.bank-details-title {
    color: #343a40;
    font-weight: 600;
    margin: 2rem 0 1.5rem;
    padding-bottom: 0.75rem;
    position: relative;
}

.bank-details-title:after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 2px;
    background-color: #f1f1f1;
}

.poyal-method {
    background-color: rgb(0 112 186 / var(--tw-bg-opacity, 1));
    padding: 0.5rem;
    border-radius: 0.5rem;
    margin-top: 2rem;
    display: inline-block;
}

.poyal-title {
    color: #fff;
    font-weight: 600;
    margin-bottom: 1rem;
}

/* Contact Page Styles */
.contact-table {
    width: 100%;
    max-width: 600px;
    margin: 0 auto;
    font-size: 18px;
}

.contact-table th {
    font-weight: bold;
    color: var(--secondary-color);
    padding: 15px 20px;
    width: 40%;
}

.contact-table td {
    padding: 15px 20px;
    color: var(--text-color);
    border-bottom: 1px solid var(--border-color);
}

.contact-table tr:last-child td {
    border-bottom: none;
}

@media (max-width: 767.98px) {
    .contact-table {
        font-size: 16px;
    }

    .contact-table th,
    .contact-table td {
        padding: 10px 15px;
    }
}
