/*
Theme Name: Live Press Plus
Theme URI: https://hosny.coldady.com/
Description: WordPress theme by Hosny Al-Masry.
Author: Hosny Al-Masry
Author URI: https://hosny.coldady.com/
Version: 3.2.1
Tags: responsive, custom-theme, sports
License: license purchased
License URI: LICENSE
Text Domain: livepressplus
*/

:root {
    --primary-color: #0d6efd;
    --secondary-color: #dc3545;
    --dark-color: #212529;
    --light-color: #f8f9fa;
    --green-color: #00ca76;
}

@font-face {
    font-family: "Frutiger";
    src: url("../fonts/FrutigerLTArabic-75Black.eot");
    src: url("../fonts/FrutigerLTArabic-75Black.eot?#iefix") format("embedded-opentype"), url("../fonts/FrutigerLTArabic-75Black.woff2") format("woff2"), url("../fonts/FrutigerLTArabic-75Black.woff") format("woff"), url("../fonts/FrutigerLTArabic-75Black.ttf") format("truetype"), url("../fonts/FrutigerLTArabic-75Black.svg#FrutigerLTArabic-75Black") format("svg");
    font-weight: 900;
    font-style: normal;
    font-display: swap
}

@font-face {
    font-family: "Frutiger";
    src: url("../fonts/FrutigerLTArabic-65Bold.eot");
    src: url("../fonts/FrutigerLTArabic-65Bold.eot?#iefix") format("embedded-opentype"), url("../fonts/FrutigerLTArabic-65Bold.woff2") format("woff2"), url("../fonts/FrutigerLTArabic-65Bold.woff") format("woff"), url("../fonts/FrutigerLTArabic-65Bold.ttf") format("truetype"), url("../fonts/FrutigerLTArabic-65Bold.svg#FrutigerLTArabic-65Bold") format("svg");
    font-weight: bold;
    font-style: normal;
    font-display: swap
}

@font-face {
    font-family: "Frutiger";
    src: url("../fonts/FrutigerLTArabic-55Roman.eot");
    src: url("../fonts/FrutigerLTArabic-55Roman.eot?#iefix") format("embedded-opentype"), url("../fonts/FrutigerLTArabic-55Roman.woff2") format("woff2"), url("../fonts/FrutigerLTArabic-55Roman.woff") format("woff"), url("../fonts/FrutigerLTArabic-55Roman.ttf") format("truetype"), url("../fonts/FrutigerLTArabic-55Roman.svg#FrutigerLTArabic-55Roman") format("svg");
    font-weight: normal;
    font-style: normal;
    font-display: swap
}

@font-face {
    font-family: "Frutiger";
    src: url("../fonts/FrutigerLTArabic-45Light.eot");
    src: url("../fonts/FrutigerLTArabic-45Light.eot?#iefix") format("embedded-opentype"), url("../fonts/FrutigerLTArabic-45Light.woff2") format("woff2"), url("../fonts/FrutigerLTArabic-45Light.woff") format("woff"), url("../fonts/FrutigerLTArabic-45Light.ttf") format("truetype"), url("../fonts/FrutigerLTArabic-45Light.svg#FrutigerLTArabic-45Light") format("svg");
    font-weight: 300;
    font-style: normal;
    font-display: swap
}

body {
    font-family: 'Frutiger';
    background-color: #f5f5f5;
    font-size: 14px
}

a {
    text-decoration: none !important;
}

.card {
    border: none;
}

.breadcrumb-item + .breadcrumb-item {
    padding-left: 0;
    padding-right: var(--bs-breadcrumb-item-padding-x);
}

.breadcrumb-item + .breadcrumb-item::before {
    float: right;
    padding-left: var(--bs-breadcrumb-item-padding-x);
    padding-right: 0;
}

/* الهيدر المحسن */
.main-header {
    background: linear-gradient(135deg, var(--dark-color) 0%, #1a1a1a 100%);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    position: fixed;
    /*    top: 0;*/
    left: 0;
    right: 0;
    z-index: 1030;
}

.main-content {
    width: 100%;
    overflow: hidden;
    padding-top: 70px !important;
}

.logo-text {
    font-size: 1.8rem;
    font-weight: 800;
    background: linear-gradient(45deg, var(--green-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

.main-nav .nav-link {
    color: white !important;
    transition: all 0.3s ease;
    font-size: 1.2rem;
    line-height: 70px;
}

.main-nav .nav-link:hover,
.main-nav .nav-link.active {
    color: #00e313;
}

.dropdown-toggle::after {
    margin-right: .255em;
    vertical-align: 0;
    margin-left: 0;
}

.search-form {
    position: relative;
    max-width: 300px;
}

span#toggleIcon {
    margin-top: 2px !important;
}

.search-input {
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: white;
    border-radius: 50px;
    padding-right: 45px;
    padding-left: 15px;
    transition: all 0.3s ease;
}

.search-input:focus {
    background: rgba(255, 255, 255, 0.2);
    box-shadow: 0 0 0 3px rgba(13, 110, 253, 0.5);
    border-color: var(--green-color);
}

.search-input::placeholder {
    color: rgba(255, 255, 255, 0.7);
}

.search-btn {
    position: absolute;
    left: 5px;
    top: 50%;
    transform: translateY(-50%);
    background: transparent;
    border: none;
    color: rgba(255, 255, 255, 0.7);
    cursor: pointer;
    transition: color 0.3s ease;
}

.search-btn:hover {
    color: white;
}

/* القائمة الجانبية للجوال */
.offcanvas-header {
    background: linear-gradient(135deg, var(--dark-color) 0%, #2c3e50 100%);
    color: white;
}

.offcanvas-body {
    background: #f8f9fa;
}

.mobile-nav .nav-link {
    padding: 12px 20px;
    border-bottom: 1px solid #eee;
    font-weight: 500;
    color: var(--dark-color);
    display: flex;
    align-items: center;
}

.mobile-nav .nav-link i {
    margin-left: 10px;
    color: var(--green-color);
}

.mobile-nav .nav-link:hover {
    background-color: #e9ecef;
    color: var(--green-color);
}

.hero-section {
    background: url('../../images/OPTIMIZED_V3_EWC_Web_New_Hero_6e84d5cd90_db25218692_6b5dcca377.gif');
    background-size: cover;
    background-position: center;
    color: white;
    padding: 100px 0;
    margin-bottom: 30px;
    border-radius: 0 0 15px 15px;
    background-repeat: no-repeat;
}

.article-card {
    transition: transform 0.3s, box-shadow 0.3s;
    margin-bottom: 20px;
    border: none;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
}

.article-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}
.post-card-big {
    height: 246px;
    overflow: hidden;
}
.main-card .article-img {
    height: 100%;
    object-fit: cover;
    display: block;
}

.min-card .article-img {
    height: 200px;
    object-fit: cover;
}

.badge-sport {
    background-color: var(--secondary-color);
}

.sidebar-card {
    margin-bottom: 25px;
    border: none;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
}

.sidebar-header {
    display: flex;
    align-items: center;
/*    background: linear-gradient(135deg, var(--green-color) 0%, #0a58ca 100%);*/
    color: white;
    padding: 12px 15px;
    border-radius: 8px 8px 0 0;
    margin-bottom: 15px;
}

.sidebar-header i {
    margin-left: 10px;
    font-size: 1.2rem;
}

.sidebar-card-inner {
    overflow: hidden;
}

.popular-list {
    list-style: none;
    padding: 0;
}

.popular-list li {
    padding: 10px 0;
    border-bottom: 1px solid #eee;
}

.popular-list li:last-child {
    border-bottom: none;
}

.popular-list a {
    text-decoration: none;
    color: var(--dark-color);
    transition: color 0.2s;
}

.popular-list a:hover {
    color: var(--green-color);
}

/* الفوتر في صف واحد */
.site-footer {
    background: linear-gradient(135deg, var(--dark-color) 0%, #1a1a1a 100%);
    color: white;
    padding: 25px 0;
    margin-top: 50px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.footer-logo {
    font-size: 1.5rem;
    font-weight: 700;
    background: linear-gradient(45deg, var(--green-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    margin: 0 12px;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: white;
}

.social-icons {
    display: flex;
    align-items: center;
}

.social-icons a {
    color: white;
    font-size: 0.88rem;
    transition: color 0.3s ease;
}

.social-icons a:hover {
    color: var(--green-color);
}

.sidebar-card .card-body {
    padding-top: 0;
}

.sidebar-card img {
    width: 100%;
    object-fit: cover;
    height: 90px;
}

.article-content h1,
.article-content h2,
.article-content h3,
.article-content h4,
.article-content h5,
.article-content h6 {
    margin-bottom: 1rem
}

.article-content p {
    font-size: 1.2rem;
    padding-bottom: 15px;
}

.article-content ul li {
    font-size: 1.1rem
}

.footer-menu {
    margin: 0;
    padding: 0;
    list-style: none
}

.footer-menu li a {
    color: #ffffff
}

.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);
}

@keyframes bounce {

    0%,
    20%,
    50%,
    80%,
    100% {
        transform: translateY(0);
    }

    40% {
        transform: translateY(-30px);
    }

    60% {
        transform: translateY(-15px);
    }
}

@media (max-width: 992px) {
    .footer-content {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }

    .footer-links {
        order: 2;
    }

    .social-icons {
        order: 3;
    }
}

@media (max-width: 768px) {

    .main-content {
        padding-top: 30px !important;
    }

    .sidebar-card img {
        height: auto;
        margin-bottom: 10px
    }
    
    .post-card-big {
        height: auto;
    }

    .hero-section {
        padding: 60px 0;
    }

    .hero-title {
        font-size: 2rem;
    }

    .main-nav {
        display: none;
    }

    .search-form {
        max-width: 200px;
    }
    .article-meta {
    margin-bottom: 15px;
}
    .related_posts h5 a{
        font-size: 15px
    }
}

@media (min-width: 769px) {
    .mobile-menu-btn {
        display: none;
    }
}
