/*
Theme Name: Koraplus
Theme URI: https://hosny.coldady.com/
Description: Wordpress theme by Hosny Al-Masry.
Author: Hosny Al-Masry
Theme Homepage: https://hosny.coldady.com/
Author URI: https://hosny.coldady.com/
Version: 1.0
License: license purchased
License URI: LICENSE
Text Domain: Koraplus
Tags:
*/

:root {
    --primary-color: #1a2a3a;
    --secondary-color: #ff6b6b;
    --accent-color: #4ecdc4;
    --light-color: #f7f9fc;
    --dark-color: #2b3d4f;
    --success-color: #2ecc71;
    --warning-color: #f39c12;
    --primary: #6c5ce7;
    --primary-dark: #5649c0;
    --secondary: #00cec9;
    --dark: #2d3436;
    --darker: #1e272e;
    --light: #f5f6fa;
    --gray: #636e72;
    --success: #00b894;
    --danger: #d63031;
    --warning: #fdcb6e;
    --info: #0984e3;
    --bg: #0b2540;
    --panel: #0f3b66;
    --accent: #1db9ff;
    --accent-2: #ffb84d;
    --card: #123852;
    --glass: rgba(255, 255, 255, 0.06);
    --text: #eaf6ff;
    --muted: rgba(234, 246, 255, 0.7);
    --radius: 12px;
    --transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}


body {
    font-family: 'Roboto', sans-serif;
    background-color: #000000;
    color: var(--text);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

a {
    text-decoration: none !important;
}

.bg-dark {
    background-color: #191d2d !important;
}

.container {
    max-width: 1100px;
}

.wrapper {
    width: 100%;
    overflow: hidden;
}

.navbar-brand {
    font-weight: 700;
}

.navbar-brand:focus,
.navbar-brand:hover {
    color: inherit;
}

nav.navbar {
    box-shadow: 0 0 4px rgba(0, 0, 0, .3);
}

.btn-check:checked + .btn,
.btn.active,
.btn.show,
.btn:first-child:active,
:not(.btn-check) + .btn:active {
    background: none;
    border: none;
}

.btn:focus {
    outline: none !important;
    /* إزالة التأثير الأبيض */
    box-shadow: none !important;
    /* إزالة أي box-shadow قد يظهر */
}

.menu-item.current-menu-item a,
.menu-item.current_page_item a {
    color: #01c065 !important;
    font-weight: bold;
    border-bottom: 2px solid #01c065;
}

.navbar-nav .nav-link:hover {
    color: #01c065 !important;
}

.navbar-brand i {
    color: var(--accent-color);
}

.navbar-nav .dropdown-menu {
    padding: 0;
    margin: 0;
}

.navbar-nav .dropdown-menu li {
    padding: 0
}

.navbar-nav .dropdown-menu a {
    padding: 10px 15px !important;
    /* استخدام اللون الحالي أو اللون الافتراضي */
    font-weight: normal;
    /* إزالة الوزن الثقيل */
    border-bottom: none;
    /* إزالة الحد السفلي */
}

.navbar-toggler:focus {
    box-shadow: none;
}

.navbar-toggler {
    background: none;
    border: none;
    border-radius: 0;
}

.social-header a {
    display: flex;
    align-items: center;
    height: 40px;
}

.social-header a:hover {
    color: #00b894 !important;
}

.dropdown-item.active,
.dropdown-item:active {
    background: none;
}

.dropdown-item:focus {
    background: none;
    color: #ffffff;
}

li.page-item {
    margin-left: 10px;
}

.single ul {
    list-style: none;
}

.post-card {
    transition: transform 0.3s;
    border: none;
    overflow: hidden;
    background: #191D2D;
}

.post-card-big {
    width: 100%;
    overflow: hidden;
}

.post-card-big .post-card-big-img {
    height: 260px;
    overflow: hidden;
}

.post-card-big .post-card-big-img img {
    width: 100%;
    min-width: 100%;
    height: 100%;
    transition: transform 0.5s;
    object-fit: cover;
}

.post-card-big .post-card-big-body {
    /*    height: 280px;*/
    /* min-height: 220px; */
    overflow: hidden;
}

.post-card:hover {
    transform: translateY(-5px);
}

.card-min-artc .post-image {
    height: 200px;
    overflow: hidden;
}

.card-min-artc .post-image img {
    transition: transform 0.5s;
    height: 100%;
    object-fit: cover;
}

.post-card:hover .post-image img,
.post-card:hover .post-card-big img {
    transform: scale(1.05);
}

.compact .video-thumbnail {
    height: 120px;
}

.compact .video-title {
    font-size: 0.9rem;
}

.compact .post-title a {
    font-size: 1rem;
    line-height: 1.5;
}

.custom-end {
    left: 18%;
    top: 10px;
    /* عدّل القيمة حسب رغبتك */
}

.single-content-match p,
.article-content p {
    font-size: 1.3rem;
    margin-bottom: 2rem;
    color: #676767;
    line-height: 1.7;
}

.single .form-feilds input {
    margin-bottom: 10px
}

.post-tags a {
    --bs-bg-opacity: 1;
    background-color: rgb(62 75 88) !important;
    --bs-text-opacity: 1;
    color: rgb(255 255 255) !important;
    --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-color: #fff;
    --bs-badge-border-radius: var(--bs-border-radius);
    display: inline-block;
    padding: var(--bs-badge-padding-y) var(--bs-badge-padding-x);
    font-size: var(--bs-badge-font-size);
    font-weight: var(--bs-badge-font-weight);
    line-height: 1;
    color: var(--bs-badge-color);
    text-align: center;
    white-space: nowrap;
    vertical-align: baseline;
    border-radius: var(--bs-badge-border-radius);
}

.iframeSrc iframe {
    width: 100%;
    min-height: 440px;
    background: #000000;
}

/*
footer {
    box-shadow: 0 0 4px rgba(0,0,0,.3);
}
*/
.footer-widget ul {
    list-style: none;
    margin: 0;
    padding: 0
}

footer ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

footer ul li {
    display: block;
    margin: 10px 0
}

footer .menu-item.current-menu-item a,
footer .menu-item.current_page_item a {
    color: inherit;
    border: none !important;
}

footer h5.title-footer {
    color: #16AE94;
}

footer ul li a {
    display: block;
}

.copyright {
    border-radius: 15px;
    font-size: 16px;
}

footer .copyright p {
    font-size: 16px
}

.error-container {
    margin: 0 auto;
    text-align: center;
    padding: 2rem;
    background-color: white;
    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);
}

/* زر تبديل الوضع */
.theme-toggle {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 1000;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

/* تأثيرات الحركة */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes bounce {

    0%,
    20%,
    50%,
    80%,
    100% {
        transform: translateY(0);
    }

    40% {
        transform: translateY(-30px);
    }

    60% {
        transform: translateY(-15px);
    }
}

.pagination {
    flex-wrap: wrap;
    /* ✅ يسمح بتوزيع الأزرار على أكثر من سطر */
    gap: 5px;
    /* ✅ مسافة صغيرة بين الأزرار */
}

.pagination .page-link {
    min-width: 36px;
    /* حجم ثابت متناسق */
    text-align: center;
    font-size: 14px;
    /* حجم أصغر يناسب الموبايل */
    padding: 6px 10px;
}

.article-comments .card {
    border: none;
    border-radius: 0;
}

p.comment-form-cookies-consent {
    display: flex;
    gap: 10px;
    align-items: center;
    padding: 15px;
}

p.comment-form-cookies-consent label {
    font-size: 12px;
}

.article-comments h5 {
    padding-bottom: 16px;
}

img.avatar {
    border-radius: 50%;
    display: block;
    margin-left: 10px;
}

p.comment-form-url,
p.logged-in-as {
    display: none !important;
}

h5.no-comment {
    padding: 25px;
    border-radius: 11px;
}

h3#reply-title {
    font-size: 1rem;
    padding: 10px 0;
}

ul.all-comments {
    list-style: none;
    padding: 0;
    margin: 0;
}

.article-item {
    transition: all 0.3s ease;
    margin-bottom: 15px;
}

.article-item:hover {
    transform: translateX(-5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.article-content h5,
.article-content h4 {
    padding: 25px 0;
    border-bottom: 1px solid darkolivegreen;
    margin: 25px 0;
}

.article-content h2,
.article-content h3 {
    padding: 15px 0;
}

.offcanvas .language-option.active {
    background-color: var(--primary-color);
    color: white;
}

.offcanvas .language-option.active:hover {
    background-color: var(--primary-dark);
}
.offcanvas .navbar-nav li a {
    color: #ffffff;
    padding: 10px 15px;
}
.offcanvas .menu-item.current-menu-item a,
.offcanvas .menu-item.current_page_item a {
    color: #00b894;
    border: none !important;
}

.offcanvas-header {
    justify-content: space-between;
}

.offcanvas-header .btn-close {
    margin-right: 0;
    margin-left: auto;
}

/* إخفاء شريط التمرير في المتصفحات التي تدعم WebKit (مثل Chrome, Safari) */
.offcanvas-body::-webkit-scrollbar {
    display: none;
}

/* إخفاء شريط التمرير في Firefox */
.offcanvas-body {
    scrollbar-width: none;
}

/* إخفاء شريط التمرير في Internet Explorer يتطلب استخدام JavaScript */

a.button-close {
    cursor: pointer;
    transition: transform 0.3s;
}

a.button-close:hover {
    color: #f00 !important;
}

.page-link {
    padding: 7px 24px;
}

.page-link:hover {
    background: var(--bs-primary);
    color: #ffffff;
}

.articles-grid .card-header {
    display: flex;
    align-items: center;
    padding: 12px 15px;
    border-radius: 8px 8px 0 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    font-size: 18px;
}

.articles-grid .card-header i,
.articles-grid .card-header svg {
    margin-left: 10px;
    font-size: 1.4rem;
    width: 24px;
    height: 24px;
}

.post-image {
    width: 100%;
    overflow: hidden;
}

.card-min .post-image img {
    transition: transform 0.5s;
    height: 100%;
    object-fit: cover;
}

/* تكيف مع الأجهزة الصغيرة */
@media (max-width: 768px) {
    .card-min .card-title.post-title a {
        font-size: 13px;
    }

    .card-min .post-image {
        height: 120px;
        overflow: hidden;
    }

    .card-min .post-image img {
        height: 100%
    }

    .post-card-big .post-card-big-body {
        height: auto;
        min-height: auto;
    }

    .navbar.sticky-top {
        top: 0px !important;
    }

    .error-icon {
        font-size: 5rem;
    }

    .error-title {
        font-size: 2.5rem;
    }

    .error-subtitle {
        font-size: 1.2rem;
    }

    .custom-end {
        left: -10px;
        bottom: 0;
        top: auto;
    }

    .article h1 {
        font-size: 21px;
        line-height: 1.7;
    }

    .article-meta {
        margin-bottom: 15px
    }

    .single-content-match p,
    .article-content p {
        font-size: 1.2rem;
        margin-bottom: 1rem;
    }

    .related_posts .h5,
    .related_posts h5 {
        font-size: 1rem;
        line-height: 1.7;
    }
}


/*
//////////////////////////////////////////////////////////
     Start Dark Mode
//////////////////////////////////////////////////////////
*/
.error-container {
    background-color: #191d2d;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    color: #f8f9fa;
}

body input::placeholder,
body textarea::placeholder {
    color: #aaa;
    /* اختر اللون الذي يناسب الخلفية الداكنة */
    opacity: 1;
    /* لتظهر بوضوح */
}

/* Dark mode styles */

.form-control {
    background-color: #171c20;
    border: var(--bs-border-width) solid #434649;
    color: #ffffff;
}

.navbar {
    color: #f8f9fa;
}

.card-text.post-excerpt {
    color: #bec1c4;
}

.card-header.league-header {
    background: #191D2D !important;
}

.navbar-toggler-icon {
    -webkit-filter: invert(1);
    filter: invert(1);
}

.dark-mode.single .card-header {
    background: #262d4a;
    color: #fff;
}

.text-dark {
    color: #f8f9fa !important;
}

.single-content-match {
    color: #ffffff;
}

.single-content-match p,
.article-content p {
    color: var(--bs-gray-500);
}

.single .match-score {
    background: none;
    font-weight: bold;
    font-size: 21px;
}

.post-tags-wrap,
.post-cat-wrap {
    color: #fff;
}

.list-group-item {
    background-color: #151825;
    border-color: #0e1019;
    color: #f8f9fa;
}

.btn-outline-secondary {
    border-color: #555;
    color: #f8f9fa;
}

.btn-outline-secondary:hover {
    background-color: #333;
}

.offcanvas ul.sidebar-menu li:hover {
    background: #2d3a57;
}

.compact .match-score {
    color: #ffffff
}

.card-title {
    color: var(--bs-light);
}

.navbar-nav li a {
    color: #ffffff
}
.nav-link:focus, .nav-link:hover {
    color: #39dbbf !important
}
.text-muted {
    --bs-text-opacity: 1;
    color: var(--bs-gray-500) !important;
}

.nav-tabs {
    border-bottom: 1px solid #464747;
    border: none;
}

.nav-tabs .nav-link {
    color: #adb5bd;
    background: none;
    border: none;
}

.nav-tabs .nav-link:hover {
    color: #4dabf7;
}

.nav-tabs .nav-link.active {
    color: #00ffcc;
    background-color: #191d2d;
    border-top: 1px solid #007bff;
    border-right: 1px solid #007bff;
    border-left: 1px solid #007bff;
}

.navbar-brand {
    color: #ffffff
}

.card {
    color: #ffffff;
    border: none;
    background-color: #191d2d;
}

#matchesTabContent .card {
    background: none;
}

.card-body {
    background: #191D2D;
}

button.darkModeToggle {
    color: #ffffff;
    border: 1px solid #76777c;
}

.post-card {
    background: #191D2D;
    border: none;
}

.error-title {
    color: #f8f9fa;
}

.error-subtitle {
    color: #adb5bd;
}

.error-description {
    color: #dee2e6;
}

.btn-outline-secondary {
    color: #f8f9fa;
    border-color: #6c757d;
}

.btn-outline-secondary:hover {
    background-color: #6c757d;
    color: #fff;
}

footer .copyright {
    background-color: #191d2d;
    border: none
}

.theme-toggle {
    background-color: #343a40;
    color: #f8f9fa;
}

footer a {
    color: #f7f7f7
}

footer a:hover {
    color: #39dbbf
}

footer .copyright p,
footer .copyright a {
    color: #39dbbf;
}

span.pulse-text {
    color: #ffffff
}

.breadcrumb-item + .breadcrumb-item::before {
    color: rgb(228 228 228 / 75%);
}

.offcanvas {
    background-color: #151923;
    color: #ffffff;
}

.offcanvas-header {
    border-bottom: 1px solid #2c2e35;
}

.dropdown-menu {
    background-color: #181e2b;
}

.dropdown-item:hover {
    background-color: #293041;
    color: #39dbbf;
}

.navbar-nav .dropdown-menu .menu-item.current-menu-item a,
.navbar-nav .dropdown-menu .menu-item.current_page_item a {
    background-color: #293041;
}

a.button-close {
    color: #ffffff;
}

.navbar-nav .nav-link.active,
.navbar-nav .nav-link.show {
    color: #ddd;
}

.menu-item.current-menu-item a,
.menu-item.current_page_item a {
    color: #39dbbf !important;
    font-weight: bold;
    border-bottom: 2px solid #39dbbf;
}

.navbar-nav .nav-link:hover {
    color: #39dbbf !important;
}

.leagues-swiper .swiper-button-next,
.leagues-swiper .swiper-button-prev {
    color: #ffffff;
}

.no-matches {
    background: #191d2d;
}

.card-title.lh-base a {
    color: #ffffff;
}

.list-group-item a {
    color: #ffffff;
}

.mobile-bottom-nav {
    background-color: #191d2d;
    border-top: 1px solid #0a3e15;
}

.mobile-bottom-nav .nav-link.active {
    color: #01b228;
}

.articles-grid .card-header {
    background: linear-gradient(135deg, #0e1019 0%, #222a49 100%);
    color: #39dbbf;
    border: none;
}

.card-title.post-title a {
    color: #ffffff;
}

.article-comments h5 {
    border-bottom: 1px solid #2f355a;
}

.article-comments .card {
    border-bottom: 1px solid #2f355a;
}

h5.no-comment {
    background: #171c20;
}