@import url("https://fonts.googleapis.com/css?family=Changa:300,400,700&display=swap");

:root {
    --primary-color: #1e22b4;
    --bg-primary: #1e22b4;
    --bg-primaryDark: #101725;
    --secondary-color: #1a1a2e;
    --accent-color: #0f4c75;
    --bg-light: #f2f2f2;
    --bg-dark: #1a1a2e;
    --text-light: #212529;
    --text-dark: #f8f9fa;
    --card-light: #f8f9fa;
    --card-dark: #2d2d44;
    --primaryDark: #ebb013;
    --borderColor: #e7e6f7;
    --borderColorDark: #293554;
    --authorText: #1e22b4;
    --authorTextDark: #ebb013;
    --inputBgColor: #f6f9fc;
    --inputBgColorDark: #293554;
    --wg_shows_bg: url("../imgs/shows-bg.webp");
    --wg_eg_bg_gradient: linear-gradient(#611f82, #361a79, #18217a);
    --wg_eg_bg_sov: #4b7286;
    --navHeaderBg: #f7f7f7;
    --tableBg: #E6E6E6;
    --tableBgDark: #141c2f;
    --sportbgTitle: #1e22b4;
    --darkbg: #4D5A85;
}

body {
    transition: all 0.3s ease;
    background-color: #ffffff;
}

h1,
.h1,
h2,
.h2,
h3,
.h3,
h4,
.h4,
h5,
.h5,
h6,
.h6 {
    font-family: 'Changa';
}

main#main-content {
    width: 100%;
    overflow: hidden;
    min-height: 600px;
}

@media (min-width: 1400px) {
    .container {
        max-width: 1366px !important;
    }
}

.row > * {
    padding-left: 8px;
    padding-right: 8px;
}

a {
    color: rgb(30 34 180);
    text-decoration: none;
}

.breaking-news-title a,
a.talanazel,
.news-card a,
.offcanvas-body ul li a,
.breadcrumb-item a,
.comment-form a,
.article-comments a {
    color: #000000;
}

:focus-visible {
    outline: 0px !important;
}

.navbar-brand:focus,
.navbar-brand:hover {
    color: inherit;
}

.btn:focus {
    outline: none !important;
    /* إزالة التأثير الأبيض */
    box-shadow: none !important;
    /* إزالة أي box-shadow قد يظهر */
}

.bg-primary {
    background-color: var(--bg-primary) !important;
}

.navbar-toggler:focus {
    box-shadow: none;
}

.main-header .navbar-nav .nav-link {
    transition: all 0.4s;
}

.main-header .navbar-nav .nav-link:focus,
.main-header .navbar-nav .nav-link:hover {
    color: #1e22b4;
}

.menu-item.current-menu-item a,
.menu-item.current_page_item a {
    color: #1e22b4;
}
.dropdown-item.active, .dropdown-item:active {
    color: #ffffff !important
}

/* Header Styles */
.top-header {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-color) 100%);
    color: white;
    padding: 10px 0;
}

.main-header {
    /*
    background-color: var(--card-light);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    box-shadow: 0 2px 10px rgb(0 0 0 / 15%);
*/

    background-color: var(--navHeaderBg);
    box-shadow: 0px 1px 1px 0px #d6d6d6;
    position: relative;
    min-height: 45px;
    position: sticky;
    z-index: 1000;
}

.header-icon {
    display: flex;
    align-items: center;
    gap: 5px;
}

.header-icon button i {
    font-size: 1.2rem;
}

.navbar-brand {
    /*    padding: 0;*/
}

.logo {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-color);
    text-decoration: none;
}

.main-header .navbar-nav .nav-link {
    font-family: 'Changa';
    font-weight: 700;
    line-height: 60px;
}

.nav-menu {
    display: flex;
    gap: 20px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-menu a {
    color: var(--text-light);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s;
    padding: 8px 15px;
    border-radius: 5px;
}

.nav-menu a:hover {
    color: var(--primary-color);
    background-color: rgba(196, 30, 58, 0.1);
}

/* Search Modal */
.search-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0);
    backdrop-filter: blur(0px);
    z-index: 9999;
    align-items: center;
    justify-content: center;
    transition: background 0.5s cubic-bezier(0.4, 0, 0.2, 1), backdrop-filter 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.search-overlay.active {
    display: flex;
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(10px);
}

.search-box {
    width: 90%;
    max-width: 700px;
    position: relative;
    transform: scale(0.5) translateY(-100px) rotateX(90deg);
    opacity: 0;
    transition: all 0.6s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.search-overlay.active .search-box {
    transform: scale(1) translateY(0) rotateX(0deg);
    opacity: 1;
    transition-delay: 0.1s;
}

.search-box input {
    width: 100%;
    padding: 25px 70px 25px 25px;
    font-size: 1.3rem;
    border: 3px solid var(--primary-color);
    border-radius: 50px;
    background: white;
    box-shadow: 0 10px 40px rgba(196, 30, 58, 0.3);
    transition: all 0.3s ease;
}

.search-box input:focus {
    outline: none;
    box-shadow: 0 15px 50px rgba(196, 30, 58, 0.5);
    border-color: var(--accent-color);
}

.search-close-btn {
    position: absolute;
    top: 50%;
    left: 20px;
    transform: translateY(-50%) scale(0);
    background: var(--primary-color);
    color: white;
    border: none;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    font-size: 1.5rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.search-overlay.active .search-close-btn {
    transform: translateY(-50%) scale(1);
    transition-delay: 0.3s;
}

.search-close-btn:hover {
    background: var(--accent-color);
    transform: translateY(-50%) scale(1.1) rotate(90deg);
}


.offcanvas-header {
    background: #1e22b4;
}

.offcanvas-header button {
    border-radius: 0;
    color: #1e22b4 !important;
    box-shadow: none;
    border: none;
    font-size: 21px;
    font-weight: bold;
    border-radius: 50%;
}

.offcanvas-body ul li a {
    font-weight: bold
}

/*استطلاع رأي */
.poll-section {
    direction: rtl;
    border: 1px solid #e9ecef !important;
}

.poll-question {
    font-size: 1.1rem;
}

.poll-option {
    padding: 0.5rem;
    border-radius: 8px;
    transition: background-color 0.2s ease;
}

.poll-option:hover {
    background-color: #f8f9fa;
}

.form-check-input {
    margin-left: 0.5rem;
    margin-right: 0;
    border: 1px solid #c5c5c5;
}

.form-check-input:checked {
    background-color: #3498db;
    border-color: #3498db;
}

.poll-progress {
    height: 8px;
    background-color: #e9ecef;
    border-radius: 10px;
    overflow: hidden;
}

.poll-progress-bar {
    height: 100%;
    background: linear-gradient(90deg, #3498db, #2980b9);
    border-radius: 10px;
    transition: width 0.5s ease;
}

.btn-primary {
    background: linear-gradient(135deg, #3498db, #2980b9);
    border: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(52, 152, 219, 0.3);
}

.btn-outline-secondary {
    border-color: #6c757d;
    color: #6c757d;
    transition: all 0.3s ease;
}

.btn-outline-secondary:hover {
    background-color: #6c757d;
    border-color: #6c757d;
    transform: translateY(-2px);
}

/* Card Styles */
.news-card {
    border-radius: 3px;
    overflow: hidden;
    transition: transform 0.3s, box-shadow 0.3s;
    margin-bottom: 20px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.news-card .news-card-img {
    height: 260px;
}

.news-card .news-card-img img {
    height: 100%;
}

.news-card:hover {
    /*    transform: translateY(-5px);*/
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.news-card img {
    width: 100%;
    height: auto;
    object-fit: cover;
}

.news-card-body {
    padding: 15px;
}

.writers .label-author {
    color: var(--authorText);
    padding: 5px 0px 0;
    font-size: 16px;
    display: block
}

.news-card-title {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 10px;
    color: var(--text-light);
}

body.dark-mode .news-card-title {
    color: var(--text-dark);
}

.news-time {
    font-size: 0.85rem;
    color: #888;
}

/* 24 Hour News */
.breaking-news {
    padding: 0 20px;
    overflow-y: auto;
}

.sidebar .breaking-news {
    padding: 0;
    margin-bottom: 30px;
}

.breaking-news-item {
    padding: 10px 0;
    transition: background 0.3s;
    cursor: pointer;
    position: relative;
}

.breaking-news-item:hover {
    background: rgba(196, 30, 58, 0.05);
}

.breaking-news-content {
    display: flex;
    align-items: center;
    gap: 15px;
    overflow: hidden;
    padding-left: 10px;
}

.breaking-news-content .breaking-time {
    color: var(--primary-color);
    font-weight: 700;
}

.breaking-news-title {
    flex: 1;
    font-size: 0.85rem;
    font-weight: 600;
    white-space: nowrap;
    overflow: hidden;
    position: relative;
    margin: 0;
}

.breaking-news-title span {
    display: inline-block;
    transform: translateX(0);
    transition: transform 4s ease-in-out;
}

.breaking-news-title span.is-animating {
    transform: translateX(calc(70% + 10px));
}


.breaking-news-time {
    font-size: 0.75rem;
    color: #888;
    white-space: nowrap;
    display: flex;
    align-items: center;
    gap: 5px;
    min-width: 100px;
}

.breaking-news-time i {
    font-size: 0.7rem;
}

/* Hero Slider */
.hero-slider {
    border-radius: 5px;
    overflow: hidden;
}

.hero-slide {
    height: 500px;
    position: relative;
}

.hero-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.slide-overlay {
    position: absolute;
    bottom: 0;
    right: 0;
    left: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
    padding: 2rem;
    color: white;
}

.slide-inner {
    margin-bottom: 20px
}

.slide-category {
    background: var(--secondary);
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: 700;
    display: inline-block;
    margin-bottom: 0.5rem;
}

.slide-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.slide-meta {
    font-size: 0.9rem;
    opacity: 0.9;
}
.category-link{
    color: #000000;
    font-size: 0.85rem;
}

/* Video Section */
/* قسم صوت وصورة */
.media-section {
    overflow: hidden;
    width: 100%
}

.video-card {
    position: relative;
    overflow: hidden;
    transition: all 0.4s;
    margin-bottom: 16px;
    cursor: pointer;
}

.video-card:hover {
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
}

.video-thumbnail {
    position: relative;
    overflow: hidden;
    height: 224px;
}

.video-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.5s;
}

.video-card:hover .video-thumbnail img {
    transform: scale(1.1);
}

.play-icon {
    transition: all 0.3s;
    z-index: 2;
    position: relative
}

.play-icon i {
    position: absolute;
    /*    background: rgba(220, 53, 69, 0.95);*/
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.5rem;
    transition: all 0.3s;
    z-index: 2;
    border: 2px solid #ffffff;
    left: 0;
    bottom: 0;
}

/* إزالة القاعدة الخاطئة إن وجدت */
.video-info:hover .play-icon,
.video-card:hover .play-icon {
    /* اجعلها ترتفع بنفس مقدار رفع العنوان/المحتوى */
    transform: translateY(-10px);
    /* ترَفع وتكبر قليلاً */
}

.video-info {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.95) 0%, transparent 100%);
    padding: 100px 20px 20px 20px;
    transition: all 0.4s;
}

.video-info-overlay {
    transition: all 0.4s ease;
    overflow: hidden;
}

.video-meta {
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.85rem;
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    margin-bottom: 8px;
    transition: all 0.4s ease;
}

.video-title {
    font-weight: 700;
    color: #fff;
    font-size: 1.1rem;
    line-height: 1.6;
    transition: all 0.4s ease;
    margin-left: 35px
}

/* الميتا تختفي تدريجياً */
.video-card:hover .video-meta {
    opacity: 0;
    transform: translateY(-15px);
    /* ترفع قليلاً قبل الاختفاء */
}

/* العنوان يبقى مرئيًّا للأعلى */
.video-card:hover .video-title {
    transform: translateY(-10px);
}


.video-meta {
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.85rem;
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.video-meta span {
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.video-meta i {
    margin-left: 0;
}

/* قسم البرامج */
.media-section.programs {
    overflow: hidden;
    width: 100%;
    background: var(--wg_shows_bg);
    box-shadow: inset 0 120px 50px rgba(0, 0, 0, .18), inset 0 -120px 50px rgba(0, 0, 0, .18);
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    box-shadow: inset 0px 120px 30px rgba(0, 0, 0, .3), inset 0 -120px 30px rgba(0, 0, 0, .3);
    padding: 30px 0;
}

.media-section.programs .section-header {
    margin-bottom: 26px;
}

.media-section.programs .section-header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 15px;
}

.media-section.programs .section-title a {
    font-size: 1.5rem;
    font-weight: 700;
    color: #ebb012 !important;
}

.media-section.programs .section-title::before {
    border-top: 0 !important
}

.media-section.programs .section-title::after {
    border-top: 0 !important
}

.media-section.programs .section-widget-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.section-footer-social {
    display: flex;
    align-items: center;
    gap: 20px;
    color: #ffffff;
    font-size: 1.5rem;
}

.section-footer-go a {
    color: #ffffff;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.5rem;
    font-weight: 700;
}

.section-footer-go a i {
    color: #ebb012;
    font-size: 2rem;
}

.card-img-top {
    width: 25%;
}

/* قسم سوشيال فيديو */
.social-viedo {
    overflow: hidden;
    width: 100%;
    background: var(--darkbg);
    padding: 30px 0 10px;
}

.social-viedo .section-header {
    margin-bottom: 26px;
}

.social-viedo .section-header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 15px;
}

.social-viedo .section-title a {
    font-size: 1.5rem;
    font-weight: 700;
    color: #ebb012 !important;
}

.social-viedo .section-title::before {
    border-top: 0 !important
}

.social-viedo .section-title::after {
    border-top: 0 !important
}

.social-viedo .section-widget-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* Sidebar Widgets */
/*
.sidebar-widget {
    background: var(--card-light);
    padding: 15px;
}

body.dark-mode .sidebar-widget {
    background: var(--card-dark);
}
*/

/* قسم الرياضة - استايل احترافي */

.section-title-dark {
    background-color: var(--sportbgTitle);
    color: white;
    font-weight: 700;
    margin-bottom: 1rem;
    padding: 0.75rem 2rem;
    border-radius: 5px;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.section-title-dark a {
    color: white;
}

/* البطاقة الرئيسية */
.main-sports-card {
    position: relative;
    border-radius: 3px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: calc(100% - 145px);
    height: 500px;
}

.main-sports-card:hover {
    /*    transform: translateY(-5px);*/
}

.main-sports-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.8);
    transition: filter 0.3s ease;
}

.main-sports-card:hover img {
    filter: brightness(0.6);
}

.sports-overlay {
    position: absolute;
    bottom: 0;
    right: 0;
    left: 0;
    padding: 2rem;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.9), transparent);
    color: white;
}

.sports-badge {
    background: #e74c3c;
    color: white;
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: bold;
    margin-bottom: 1rem;
    display: inline-block;
}

.sports-overlay h3 {
    font-size: 1.6rem;
    margin-bottom: 1rem;
    line-height: 1.3;
}

.sports-overlay p {
    font-size: 1rem;
    margin-bottom: 1.5rem;
    opacity: 0.9;
}

.sports-meta {
    display: flex;
    gap: 1.5rem;
    font-size: 0.9rem;
    opacity: 0.8;
}

.sports-meta i {
    margin-left: 5px;
}

/* البطاقات الجانبية */
.side-sports-card {
    position: relative;
    border-radius: 3px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    margin-bottom: 1rem;
    height: 242px;
}

/*
.side-sports-card:last-child {
    margin-bottom: 0;
}
*/

.side-sports-card:hover {
    /*    transform: translateY(-3px);*/
}

.side-sports-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.8);
    transition: filter 0.3s ease;
}

.side-sports-card:hover img {
    filter: brightness(0.6);
}

.side-sports-content {
    position: absolute;
    bottom: 0;
    right: 0;
    left: 0;
    padding: 1.5rem;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.85), transparent);
    color: white;
}

.side-sports-content h5 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    line-height: 1.4;
}

.side-sports-content p {
    font-size: 0.85rem;
    opacity: 0.8;
    margin: 0;
}

/* البطاقات المصغرة */
.sports-mini-card {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
}

.sports-mini-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.sports-mini-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    filter: brightness(0.8);
    transition: filter 0.3s ease;
}

.sports-mini-card:hover img {
    filter: brightness(0.6);
}

.sports-mini-content {
    position: absolute;
    bottom: 0;
    right: 0;
    left: 0;
    padding: 1.2rem;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.85), transparent);
    color: white;
}

.sports-category {
    background: rgba(231, 76, 60, 0.9);
    color: white;
    padding: 0.2rem 0.6rem;
    border-radius: 15px;
    font-size: 0.7rem;
    font-weight: bold;
    margin-bottom: 0.7rem;
    display: inline-block;
}

.sports-mini-content h6 {
    font-size: 0.95rem;
    margin: 0;
    line-height: 1.4;
}

/* تفاعلات المقالات */
.article-interactions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 0.8rem;
    padding-top: 0.8rem;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.interaction-buttons {
    display: flex;
    gap: 0.8rem;
}

.interaction-btn {
    background: transparent;
    border: none;
    color: rgba(255, 255, 255, 0.7);
    cursor: pointer;
    transition: color 0.2s ease;
    font-size: 0.85rem;
    display: flex;
    align-items: center;
    gap: 0.3rem;
}

.interaction-btn:hover {
    color: white;
}

.interaction-btn.like-btn:hover {
    color: #e74c3c;
}

.interaction-btn.comment-btn:hover {
    color: #3498db;
}

.interaction-btn.share-btn:hover {
    color: #2ecc71;
}

.interaction-btn.bookmark-btn:hover {
    color: #f39c12;
}

.count {
    font-size: 0.75rem;
}

.reading-time {
    display: flex;
    align-items: center;
    gap: 0.3rem;
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.7);
}

/* تحسينات للاستجابة */
@media (max-width: 992px) {
    .side-sports-card {
        height: auto;
        min-height: 250px;
    }

    .sports-overlay h3 {
        font-size: 1.4rem;
    }

    .section-title-dark {
        font-size: 1.7rem;
    }
}

@media (max-width: 768px) {
    .sports-overlay {
        padding: 1.5rem;
    }

    .sports-overlay h3 {
        font-size: 1.2rem;
    }

    .sports-meta {
        flex-direction: column;
        gap: 0.5rem;
    }

    .article-interactions {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }

    .reading-time {
        align-self: flex-end;
    }
}

/* قسم الكاريكاتير */

.cartoon-section .cartoon-card {
    position: relative;
    border-radius: 5px;
    overflow: hidden;
    cursor: pointer;
    height: 350px;
}

.cartoon-section .cartoon-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.5s;
}

/*
.cartoon-card:hover img {
    transform: scale(1.1);
}
*/

.cartoon-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.9) 0%, transparent 100%);
    padding: 30px 20px;
    transform: translateY(50px);
    transition: all 0.4s;
}

.cartoon-card:hover .cartoon-overlay {
    transform: translateY(0);
}

.cartoon-info h5 {
    color: #fff;
    font-weight: 700;
    margin-bottom: 10px;
}

.cartoon-info p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.9rem;
    margin: 5px 0;
}

/* قسم انفوجرافيك */
.infographic .cartoon-card {
    position: relative;
    border-radius: 5px;
    overflow: hidden;
    cursor: pointer;
}

.infographic .cartoon-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.5s;
}

.social-nav a {
    background: #ffffff;
    width: 40px;
    height: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 5px;
    border-radius: 50%;
    font-size: 1rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.social-nav a:hover {
    transform: translateY(-3px);
}

.social-nav a i {
    font-size: 1.3rem;
}

.social-nav a svg {
    width: 18px;
    height: 18px
}

.widget-title {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 3px solid var(--primary-color);
}

.sidebar-widget .widget-title {
    font-size: 18px;
    font-weight: bold;
    color: #2c3e50;
    margin: 0 0 15px 0;
    padding-bottom: 10px;
    border-bottom: 2px solid #3498db;
    display: flex;
    align-items: center;
    gap: 8px;
}

.sidebar-widget .widget-title i {
    color: #3498db;
    font-size: 20px;
}

.sidebar-widget .prayer-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid #ecf0f1;
    transition: all 0.3s ease;
}

.sidebar-widget .prayer-item:hover {
    background: #f8f9fa;
    padding-right: 5px;
    padding-left: 5px;
    border-radius: 5px;
}

.sidebar-widget .prayer-item span {
    color: #34495e;
    font-size: 15px;
    font-weight: 500;
}

.sidebar-widget .prayer-item strong {
    color: #2c3e50;
    font-size: 15px;
    font-family: 'Courier New', monospace;
    font-weight: bold;
}

.sidebar-widget .prayer-item.next-prayer {
    background: linear-gradient(to right, rgba(52, 152, 219, 0.1), transparent);
    border-right: 3px solid #3498db;
    padding-right: 10px;
    margin: 0 -5px;
    padding-left: 5px;
    border-radius: 5px;
}

.sidebar-widget .prayer-item.next-prayer span {
    color: #3498db;
    font-weight: bold;
}

.sidebar-widget .prayer-item.next-prayer strong {
    color: #3498db;
    animation: pulse-prayer 2s infinite;
}

@keyframes pulse-prayer {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.7;
    }
}

.sidebar-widget .prayer-date {
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid #ecf0f1;
    text-align: center;
}

.sidebar-widget .prayer-date small {
    color: #7f8c8d;
    font-size: 13px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
}

.sidebar-widget .prayer-date i {
    color: #95a5a6;
}

.sidebar-widget .prayer-error {
    color: #e74c3c;
    text-align: center;
    padding: 10px;
    background: #fee;
    border-radius: 5px;
    font-size: 14px;
}

@media (max-width: 768px) {
    .sidebar-widget.prayer-times-sidebar {
        padding: 15px;
    }

    .sidebar-widget .prayer-item {
        padding: 10px 0;
    }
}

/*
.info-img {
    min-height: 300px;
    width: 100%
}
*/
.info-img img {
    height: 100%;
    width: 100%;
    display: block;
    object-fit: cover
}

body.dark-mode .prayer-item {
    border-bottom: 1px solid #444;
}

/* Weather */
.weather-info {
    text-align: center;
    padding: 20px;
}

.weather-temp {
    font-size: 3rem;
    font-weight: 700;
    color: var(--primary-color);
}

/* Newsletter */
.newsletter-form input {
    border-radius: 25px;
    padding: 12px 20px;
}

.newsletter-form button {
    border-radius: 25px;
    padding: 12px 30px;
    background: var(--primary-color);
    border: none;
    color: white;
    font-weight: 600;
}

/* Footer */
footer {
    background: var(--secondary-color);
    color: white;
    padding: 40px 0 20px;
}
footer .menu-item.current-menu-item a, footer .menu-item.current_page_item a {
    color: inherit!important;
}
/* Theme Toggle */
.theme-toggle {
    cursor: pointer;
    border: none;
}

/* Section Headers */
.section-header {
    margin-bottom: 16px;
    position: relative;
}

body.dark-mode .section-header::after {
    background: linear-gradient(to left, transparent, #444, transparent);
}

.section-header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 15px;
}

.section-title-wrapper {
    display: inline-block;
}

.section-title h2,
.section-title h2 a {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--primary-color);
    padding-bottom: 15px;
}

.section-title::before {
    content: "";
    width: 50px;
    border-top: 2px solid var(--primary-color);
    right: 0;
    position: absolute;
    z-index: 12;
    bottom: 0;
    left: var(--left);
}

.section-title:after {
    content: "";
    width: 100%;
    border-top: 2px solid var(--borderColor);
    right: 0;
    position: absolute;
    bottom: 0;
}

.section-title h2 i,
.section-title h2 img {
    margin-left: 3px;
}

.sidebar {
    padding: 0 15px;
}

.section-header .btn {
    background: var(--primary-color);
    color: white;
    border: none;
    padding: 8px 25px;
    border-radius: 25px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.section-header .btn:hover {
    background: var(--accent-color);
    transform: translateX(-5px);
}

/* Responsive */
@media (max-width: 768px) {
    .nav-menu {
        flex-direction: column;
    }

    .carousel-item img {
        height: 300px;
    }
}

/* Accessibility */
.skip-link {
    position: absolute;
    top: -40px;
    left: 0;
    background: var(--primary-color);
    color: white;
    padding: 8px;
    text-decoration: none;
    z-index: 100;
}

.skip-link:focus {
    top: 0;
}

/* Focus Styles */
a:focus,
button:focus,
input:focus {
    outline: 0px;
    /*    outline-offset: 2px;*/
}

/*
.widget.categories_grid {
    list-style: none;
}

.news-card-cat {
    position: relative;
    overflow: hidden;
    transition: transform 0.3s, box-shadow 0.3s;
}

.news-card-cat:hover {
    transform: translateY(-5px);
}

.news-card-cat img {
    width: 100%;
    display: block;
    border-radius: 5px;
}

.news-card-cat .news-card-body {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background: rgba(0, 0, 0, 0.4);
    color: #fff;
    text-align: center;
}

.news-card-cat .news-card-title {
    font-size: 1rem;
    margin: 0;
    font-weight: 700;
    color: #ffffff;
}

.news-card-cat .news-time {
    font-size: 0.75rem;
    margin-top: 6px;
    color: #d5d5d5;
    margin-bottom: 0;
}
*/

.sidebar .widget_nav_menu {
    margin-bottom: 30px;
    width: 100%;
    overflow: hidden;
}

.has-post-thumbnail {
    text-align: center;
}

.article-content iframe {
    background: #000000;
    width: 100%;
    height: 420px;
}

.post-tags a {
    background-color: rgb(255 255 255) !important;
    color: rgb(0 0 0) !important;
    border: 1px solid #ddd;
    --bs-badge-padding-x: 0.65em;
    --bs-badge-padding-y: 0.35em;
    --bs-badge-font-size: 0.75em;
    --bs-badge-font-weight: 700;
    --bs-badge-border-radius: var(--bs-border-radius);
    display: inline-block;
    padding: var(--bs-badge-padding-y) var(--bs-badge-padding-x);
    border-radius: var(--bs-badge-border-radius);
    margin-bottom: 10px;
    transition: all 0.4s;
}

.post-tags a:hover {
    opacity: 0.7
}

.article-share {
    display: flex;
    gap: 5px;
    align-items: center;
    margin: 26px 0;
    width: 100%;
}

.article-share a,
.article-share button {
    background: #333;
    color: #fff;
    width: 60px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    transition: transform 0.3s, box-shadow 0.3s;
    border-radius: 5px
}

.article-share a i,
.article-share button i {
    font-size: 24px
}

.article-share a.facebook {
    background: #1877F2
}

.article-share a.twitter {
    background: #000000
}

.article-share a.whatsapp {
    background: #25D366
}

.article-share a.pinterest {
    background: #E60023
}

.article-share a.telegram {
    background: #0088CC
}

.article-share button.share-link {
    background: #1877F2
}

.article-share a:hover,
.article-share button:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}


/*Page 404 Css*/

.error-container {
    margin: 0 auto;
    text-align: center;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    animation: fadeIn 0.8s ease-in-out;
    transition: all 0.5s ease;
}

.error-icon {
    font-size: 8rem;
    color: #dc3545;
    margin-bottom: 1.5rem;
    animation: bounce 2s infinite;
}

.error-title {
    font-size: 3.5rem;
    font-weight: 700;
    color: #343a40;
    margin-bottom: 1rem;
    transition: all 0.5s ease;
}

.error-subtitle {
    font-size: 1.5rem;
    color: #6c757d;
    margin-bottom: 2rem;
    transition: all 0.5s ease;
}

.error-description {
    font-size: 1.1rem;
    color: #495057;
    margin-bottom: 2.5rem;
    line-height: 1.6;
    transition: all 0.5s ease;
}

.btn-home {
    padding: 0.8rem 2rem;
    font-size: 1.1rem;
    font-weight: 500;
    border-radius: 50px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.btn-home:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

/*Page 404 Css*/

footer .navbar-brand img {
    -webkit-filter: invert(1);
    filter: invert(1);
}

footer .footer-widget ul {
    padding: 0;
    list-style: none
}

footer .footer-widget ul li a {
    display: block;
    margin-bottom: .5rem;
    color: #d0d3d5;
    transition: transform 0.3s, box-shadow 0.3s;
}

footer .footer-widget ul li a:hover {
    color: #ffffff
}

footer .copyright a {
    color: #ffffff;
}

.span-folow {
    color: #fff;
    margin-left: 10px;
    font-size: 18px;
    font-weight: bold;
}

.single-content-match p,
.article-content p {
    line-height: 1.6;
    font-size: 1.20rem !important;
}

.app-download {
    display: flex;
    align-items: center;
    gap: 10px;
}