/**
 * Blog System Styles
 * تصميم نظام المدونة
 * 
 * @package GeneratePress Child
 */

/* ===============================================
   FAZ Blog Wrapper - الستايل الموحد
   =============================================== */
.faz-blog-wrapper * {
    box-sizing: border-box;
}
.faz-blog-wrapper {
    font-family: inherit;
    overflow-x: hidden;
    direction: rtl;
    text-align: right;
}


.grid-container{
    max-width: 100% !important;
    margin: 0 auto;
}
.site-content{
    display: block !important;
}


.faz-hero {
    position: relative;
    min-height: 660px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    margin-bottom: 80px;
    padding: 80px 20px;
}

.faz-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(15, 76, 92, 0.8) 0%, rgba(26, 58, 74, 0.75) 100%);
    z-index: 1;
}
.faz-hero-inner {
    position: relative;
    z-index: 2;
    max-width: 900px;
    margin: 0 auto;
    padding: 0 20px;
}
.faz-hero h1 {
    font-size: clamp(36px, 6vw, 60px);
    font-weight: 800;
    color: #fff;
    margin: 0 0 25px 0;
    line-height: 1.3;
    text-shadow: 0 4px 30px rgba(0,0,0,0.5);
}
.faz-hero h2 {
    font-size: clamp(17px, 2.5vw, 24px);
    font-weight: 400;
    color: rgba(255,255,255,0.95);
    margin: 0 auto 35px auto;
    line-height: 1.7;
    max-width: 750px;
    text-shadow: 0 2px 15px rgba(0,0,0,0.4);
}
.faz-hero-badges {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
}
.faz-badge {
    background: rgba(255,255,255,0.15);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.25);
    padding: 12px 24px;
    border-radius: 50px;
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
}
.faz-badge-icon {
    font-size: 18px;
}

/* ===== SECTION HEADER ===== */
.faz-section-head {
    text-align: center;
    margin-bottom: 50px;
    padding: 0 20px;
}
.faz-section-head h2 {
    font-size: clamp(28px, 5vw, 40px);
    font-weight: 800;
    color: #1a1a1a;
    margin: 0 0 15px 0;
}
.faz-section-head p {
    font-size: 18px;
    color: #666;
    margin: 0;
}
.faz-section-line {
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, #30697D, #5ba3b8);
    margin: 20px auto 0;
    border-radius: 2px;
}

/* ===== CATEGORIES/POSTS GRID ===== */
.faz-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto 60px;
    padding: 0 20px;
}

/* ===== CARD ===== */
.faz-card {
    position: relative;
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 8px 30px rgba(0,0,0,0.08);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    text-decoration: none !important;
    display: block;
    border: 1px solid #f0f0f0;
}
.faz-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(48, 105, 125, 0.18);
    border-color: #30697D;
}
.faz-card-img {
    position: relative;
    height: 200px;
    overflow: hidden;
}
.faz-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}
.faz-card:hover .faz-card-img img {
    transform: scale(1.08);
}
.faz-card-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, transparent 50%, rgba(0,0,0,0.5) 100%);
}
.faz-card-body {
    padding: 22px;
}
.faz-card-title {
    font-size: 20px;
    font-weight: 700;
    color: #1a1a1a;
    margin: 0 0 12px 0;
    line-height: 1.4;
    transition: color 0.3s;
}
.faz-card:hover .faz-card-title {
    color: #30697D;
}
.faz-card-meta {
    display: flex;
    gap: 18px;
    margin-bottom: 12px;
    flex-wrap: wrap;
}
.faz-card-meta span {
    font-size: 13px;
    color: #30697D;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 5px;
}
.faz-card-desc {
    font-size: 14px;
    color: #666;
    line-height: 1.65;
    margin: 0;
}
.faz-card-arrow {
    position: absolute;
    bottom: 20px;
    left: 20px;
    width: 38px;
    height: 38px;
    background: #30697D;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 16px;
    opacity: 0;
    transform: translateX(15px);
    transition: all 0.3s ease;
}
.faz-card:hover .faz-card-arrow {
    opacity: 1;
    transform: translateX(0);
}

/* ===== PAGINATION ===== */
.faz-blog-wrapper .nav-links,
.faz-blog-wrapper .pagination {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin: 40px auto 60px;
    flex-wrap: wrap;
    padding: 0 20px;
}
.faz-blog-wrapper .page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 45px;
    padding: 12px 18px;
    background: #fff;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    color: #1a1a1a;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.2s ease;
}
.faz-blog-wrapper .page-numbers:hover,
.faz-blog-wrapper .page-numbers.current {
    background: #30697D;
    color: #fff;
    border-color: #30697D;
}

/* ===== NO POSTS ===== */
.no-posts {
    text-align: center;
    padding: 80px 20px;
    background: #f8f9fa;
    border-radius: 16px;
    max-width: 600px;
    margin: 40px auto;
}
.no-posts h2 {
    font-size: 28px;
    color: #1a1a1a;
    margin-bottom: 15px;
}
.no-posts p {
    font-size: 16px;
    color: #666;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
    .faz-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
        padding: 0 20px;
    }
    .faz-hero {
        min-height: 420px;
        padding: 60px 20px;
        margin-bottom: 60px;
    }
}
@media (max-width: 768px) {
    .faz-hero {
        min-height: 380px;
        padding: 50px 20px;
        margin-bottom: 50px;
    }
    .faz-hero h1 {
        font-size: 32px;
    }
    .faz-hero h2 {
        font-size: 16px;
    }
    .faz-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .faz-section-head h2 {
        font-size: 26px;
    }
    .faz-section-head p {
        font-size: 15px;
    }
    .faz-card-img {
        height: 180px;
    }
    .faz-badge {
        padding: 10px 16px;
        font-size: 13px;
    }
}
@media (max-width: 480px) {
    .faz-hero {
        min-height: 340px;
        padding: 40px 15px;
        margin-bottom: 40px;
    }
    .faz-hero h1 {
        font-size: 28px;
    }
    .faz-card-body {
        padding: 18px;
    }
    .faz-card-title {
        font-size: 18px;
    }
}

/* ===============================================
   صفحة المدونة الرئيسية - Blog Home
   =============================================== */

.blog-home-page {
    padding: 0;
    max-width: 100%;
    margin: 0;
}

/* Hero Section - القسم البطولي */
.blog-hero {
    background: linear-gradient(135deg, #30697D 0%, #1e4d5f 100%);
    color: #fff;
    padding: 80px 20px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.blog-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><defs><pattern id="grid" width="100" height="100" patternUnits="userSpaceOnUse"><path d="M 100 0 L 0 0 0 100" fill="none" stroke="rgba(255,255,255,0.05)" stroke-width="1"/></pattern></defs><rect width="100%" height="100%" fill="url(%23grid)"/></svg>');
    opacity: 0.3;
}

.blog-hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
}

.blog-hero-title {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.2;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.blog-hero-subtitle {
    font-size: 20px;
    line-height: 1.6;
    margin-bottom: 30px;
    opacity: 0.95;
}

.blog-hero-meta {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
}

.hero-stat {
    font-size: 16px;
    font-weight: 500;
    padding: 10px 20px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 25px;
    backdrop-filter: blur(10px);
}

/* Categories Section */
.categories-section {
    padding: 60px 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-title {
    font-size: 36px;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 10px;
}

.section-subtitle {
    font-size: 18px;
    color: #666;
}

/* Category Cards Grid
   لتغيير عدد الأعمدة:
   - للشاشات الكبيرة: عدّل repeat(3, 1fr)
   - للتابلت: عدّل repeat(2, 1fr)
   - للموبايل: عدّل 1fr
*/
.parent-categories-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

/* شكل الكرت - Category Card
   لتغيير الشكل: عدّل هنا
*/
.category-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.category-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.category-card-link {
    display: block;
    text-decoration: none;
    color: inherit;
}

.category-card-image,
.category-card-placeholder {
    height: 200px;
    background-size: cover;
    background-position: center;
    position: relative;
}

.category-card-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
}

.category-icon {
    font-size: 60px;
    opacity: 0.8;
}

.category-card-content {
    padding: 25px;
}

.category-card-title {
    font-size: 22px;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 10px;
}

.category-card-count {
    font-size: 14px;
    color: #30697D;
    font-weight: 600;
    margin-bottom: 10px;
}

.category-card-description {
    font-size: 15px;
    color: #666;
    line-height: 1.6;
}

.category-card-arrow {
    text-align: left;
    padding: 0 25px 20px;
    font-size: 24px;
    color: #30697D;
}

/* ===============================================
   صفحة الأرشيف - Category Archive
   تصميم RTL عربي
   =============================================== */

.category-archive-page {
    padding: 0;
    max-width: 100%;
    margin: 0 auto;
    direction: rtl;
    text-align: right;
    overflow-x: hidden;
}

/* Header Section with Background Image - Full Width */
.archive-header {
    position: relative;
    min-height: 620px;
    width: 100vw;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    color: #fff;
    padding: 120px 40px;
    margin-bottom: 60px;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
}

.archive-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, rgba(0,0,0,0.3) 0%, rgba(0,0,0,0.5) 100%);
    z-index: 1;
}

.archive-header-content {
    position: relative;
    z-index: 10;
    max-width: 1000px;
    margin: 0 auto;
}

.archive-title {
    font-size: clamp(40px, 7vw, 64px);
    font-weight: 900;
    color: #fff;
    margin: 0 0 25px 0;
    line-height: 1.2;
    text-shadow: 0 4px 30px rgba(0,0,0,0.8), 0 2px 10px rgba(0,0,0,0.5);
    letter-spacing: -0.5px;
}

.archive-description {
    font-size: clamp(17px, 2.5vw, 22px);
    color: rgba(255,255,255,0.98);
    line-height: 1.7;
    margin: 0 auto 35px auto;
    max-width: 750px;
    text-shadow: 0 2px 20px rgba(0,0,0,0.7), 0 1px 5px rgba(0,0,0,0.4);
    font-weight: 400;
}

/* Child Categories */
.child-categories-list {
    background: rgba(255,255,255,0.12);
    backdrop-filter: blur(15px);
    padding: 28px 35px;
    border-radius: 16px;
    max-width: 850px;
    margin: 0 auto;
    border: 1px solid rgba(255,255,255,0.2);
    box-shadow: 0 8px 32px rgba(0,0,0,0.2);
}

.child-categories-title {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 15px;
    color: #fff;
}

.child-categories-links {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
}

.child-categories-links li {
    margin: 0;
}

.child-categories-links a {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(255,255,255,0.2);
    padding: 10px 20px;
    border-radius: 25px;
    color: #fff;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.3s ease;
    border: 1px solid rgba(255,255,255,0.3);
}

.child-categories-links a:hover {
    background: #fff;
    color: #30697D;
}

.cat-count {
    font-size: 12px;
    opacity: 0.8;
}

/* Layout Wrapper - Sidebar على اليمين */
.archive-layout-wrapper {
    direction: ltr; /* لضمان مكان الـ sidebar يمين بشكل ثابت */
    display: grid;
    grid-template-columns: 1fr 300px;
    grid-template-areas: "main sidebar";
    gap: 45px;
    width: 85%;
    max-width: 1600px;
    margin: 0 auto;
    padding: 0 20px 80px 20px;
}

.archive-main {
    min-width: 0;
    grid-area: main;
    direction: rtl;
}

/* Posts Grid - بوكسات مقروءة */
.posts-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 25px;
    margin-bottom: 50px;
}

/* Post Card - تصميم محسّن */
.post-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    border: 1px solid #eee;
}

.post-card:hover {
    box-shadow: 0 8px 30px rgba(48, 105, 125, 0.15);
    transform: translateY(-4px);
    border-color: #30697D;
}

.post-card-thumbnail {
    width: 100%;
    height: 180px;
    overflow: hidden;
    position: relative;
}

.post-card-thumbnail::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 60px;
    background: linear-gradient(to top, rgba(0,0,0,0.3), transparent);
}

.post-card-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.post-card:hover .post-card-thumbnail img {
    transform: scale(1.05);
}

.post-card-content {
    padding: 20px;
    flex: 1;
    display: flex;
    flex-direction: column;
    text-align: right;
    direction: rtl;
}

.post-card-header {
    margin-bottom: 10px;
}

.post-card-title {
    font-size: 17px;
    font-weight: 700;
    margin: 0;
    line-height: 1.5;
}

.post-card-title a {
    color: #1a1a1a;
    text-decoration: none;
    transition: color 0.2s ease;
}

.post-card-title a:hover {
    color: #30697D;
}

.post-card-meta {
    display: flex;
    gap: 12px;
    font-size: 12px;
    color: #999;
    margin-bottom: 10px;
    justify-content: flex-start;
}

.post-card-excerpt {
    font-size: 14px;
    color: #666;
    line-height: 1.6;
    margin-bottom: 15px;
    flex: 1;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.post-card-readmore {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #30697D;
    font-weight: 600;
    text-decoration: none;
    font-size: 13px;
    transition: all 0.2s ease;
    align-self: flex-start;
    padding: 8px 16px;
    background: #f0f7f9;
    border-radius: 6px;
}

.post-card-readmore:hover {
    background: #30697D;
    color: #fff;
}

/* Pagination */
.pagination,
.nav-links,
.faz-pagination {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin: 50px auto 0;
    flex-wrap: wrap;
    max-width: 1200px;
    padding: 0 20px;
}

.pagination .page-numbers,
.nav-links .page-numbers,
.faz-pagination .page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 45px;
    padding: 12px 18px;
    background: #fff;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    color: #1a1a1a;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.2s ease;
}

.pagination .page-numbers:hover,
.nav-links .page-numbers:hover,
.faz-pagination .page-numbers:hover,
.pagination .page-numbers.current,
.nav-links .page-numbers.current,
.faz-pagination .page-numbers.current {
    background: #30697D;
    color: #fff;
    border-color: #30697D;
}

/* No Posts Message */
.no-posts {
    text-align: center;
    padding: 80px 20px;
    background: #f8f9fa;
    border-radius: 16px;
}

.no-posts h2 {
    font-size: 28px;
    color: #1a1a1a;
    margin-bottom: 15px;
}

.no-posts p {
    font-size: 16px;
    color: #666;
}

/* Sidebar - على يمين الصفحة */
.blog-sidebar {
    grid-area: sidebar;
    direction: rtl;
    position: sticky;
    top: 30px;
    height: fit-content;
}

.sidebar-widget {
    background: #fff;
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 20px;
    box-shadow: 0 2px 15px rgba(0,0,0,0.06);
    border: 1px solid #eee;
}

.sidebar-widget-title {
    font-size: 16px;
    font-weight: 700;
    color: #1a1a1a;
    margin: 0 0 15px 0;
    padding-bottom: 10px;
    border-bottom: 2px solid #30697D;
}

/* Responsive for Archive */
@media (max-width: 1400px) {
    .archive-layout-wrapper {
        width: 90%;
    }
}

@media (max-width: 1200px) {
    .archive-layout-wrapper {
        width: 92%;
        gap: 35px;
    }
}

@media (max-width: 1024px) {
    .archive-layout-wrapper {
        grid-template-columns: 1fr;
        grid-template-areas: "main" "sidebar";
        width: 92%;
        padding: 0 20px 40px 20px;
    }

    .blog-sidebar {
        position: static;
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    
    .sidebar-widget {
        margin-bottom: 0;
    }
    
    .posts-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    
    .archive-header {
        min-height: 420px;
        padding: 70px 30px;
        background-attachment: scroll;
    }
    
    .archive-title {
        font-size: 32px;
    }
    
    .archive-description {
        font-size: 17px;
    }
}

@media (max-width: 768px) {
    .archive-header {
        min-height: 380px;
        padding: 60px 20px;
    }
    
    .archive-title {
        font-size: 28px;
    }
    
    .archive-description {
        font-size: 16px;
    }
    
    .child-categories-list {
        padding: 20px;
    }
    
    .child-categories-links a {
        padding: 8px 14px;
        font-size: 13px;
    }
    
    .posts-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .blog-sidebar {
        grid-template-columns: 1fr;
    }
    
    .archive-layout-wrapper {
        width: 100%;
        padding: 0 15px 30px 15px;
    }
}

@media (max-width: 480px) {
    .archive-header {
        min-height: 340px;
        padding: 50px 20px;
    }
    
    .archive-title {
        font-size: 28px;
    }
    
    .archive-description {
        font-size: 15px;
    }
    
    .child-categories-list {
        padding: 20px;
    }
    
    .post-card-content {
        padding: 15px;
    }
    
    .post-card-title {
        font-size: 16px;
    }
    
    .post-card-thumbnail {
        height: 150px;
    }
}

/* ===============================================
   صفحة المقال - Single Post - تصميم جديد
   =============================================== */

/* Reset للصفحة */
.faz-single-article {
    direction: rtl;
    text-align: right;
    font-family: inherit;
    overflow-x: hidden;
}

/* ═══════════════════════════════════════════════════════
   HERO SECTION - القسم البطولي
   ═══════════════════════════════════════════════════════ */
.faz-article-hero {
    position: relative;
    min-height: 75vh;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 100px 40px 80px;
    text-align: center;
}

.faz-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        180deg,
        rgba(0, 0, 0, 0.15) 0%,
        rgba(15, 76, 92, 0.6) 50%,
        rgba(10, 50, 65, 0.75) 100%
    );
    z-index: 1;
}

.faz-hero-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
    margin: 0 auto;
}

/* التصنيفات */
.faz-article-categories {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 30px;
}

.faz-cat-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.25);
    padding: 10px 20px;
    border-radius: 50px;
    color: #fff !important; 
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}

.faz-cat-badge:hover {
    background: #fff;
    color: #30697D !important;
    transform: translateY(-2px);
}

.faz-cat-icon {
    font-size: 16px;
}

/* عنوان المقال */
.faz-article-title {
    font-size: clamp(32px, 5vw, 56px);
    font-weight: 800;
    color: #fff !important;
    line-height: 1.3;
    margin: 0 0 30px 0;
    text-shadow: 0 4px 30px rgba(0, 0, 0, 0.5);
}

/* معلومات المقال */
.faz-article-meta {
    display: flex;
    justify-content: center;
    gap: 25px;
    flex-wrap: wrap;
}

.faz-meta-item {
    display: flex;
    align-items: center;
    gap: 8px;
    color: rgba(255, 255, 255, 0.9);
    font-size: 15px;
    font-weight: 500;
}

.faz-meta-icon {
    font-size: 18px;
}

/* Scroll Indicator */
.faz-scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    text-align: center;
    color: rgba(255, 255, 255, 0.8);
    animation: fadeInUp 1s ease;
}

.faz-scroll-indicator span {
    display: block;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.faz-scroll-arrow {
    font-size: 24px;
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
    40% { transform: translateY(-10px); }
    60% { transform: translateY(-5px); }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateX(-50%) translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateX(-50%) translateY(0);
    }
}

/* ═══════════════════════════════════════════════════════
   MAIN CONTENT WRAPPER
   ═══════════════════════════════════════════════════════ */
.faz-article-wrapper {
    background: #f8f9fa;
    padding: 60px 20px 80px;
}

.faz-article-container {
    display: grid;
    grid-template-columns: 1fr 350px;
    gap: 50px;
    max-width: 1400px;
    margin: 0 auto;
}

/* ═══════════════════════════════════════════════════════
   MAIN ARTICLE CONTENT
   ═══════════════════════════════════════════════════════ */
.faz-article-main {
    background: #fff;
    border-radius: 20px;
    padding: 50px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
}

/* مقدمة المقال */
.faz-article-intro {
    background: linear-gradient(135deg, #f0f7f9 0%, #e8f4f8 100%);
    border-right: 4px solid #30697D;
    padding: 25px 30px;
    border-radius: 0 12px 12px 0;
    margin-bottom: 40px;
}

.faz-article-intro p {
    font-size: 19px;
    line-height: 1.8;
    color: #2a5a6a;
    margin: 0;
    font-weight: 500;
}

/* محتوى المقال */
.faz-article-content {
    font-size: 18px;
    line-height: 2;
    color: #333;
}

.faz-article-content h2 {
    font-size: 28px;
    font-weight: 700;
    color: #1a1a1a;
    margin: 50px 0 25px;
    padding-bottom: 15px;
    border-bottom: 3px solid #30697D;
    position: relative;
}

.faz-article-content h3 {
    font-size: 22px;
    font-weight: 700;
    color: #30697D;
    margin: 40px 0 20px;
}

.faz-article-content h4 {
    font-size: 18px;
    font-weight: 700;
    color: #1a1a1a;
    margin: 30px 0 15px;
}

.faz-article-content p {
    margin-bottom: 22px;
}

.faz-article-content ul,
.faz-article-content ol {
    margin: 25px 0;
    padding-right: 30px;
}

.faz-article-content li {
    margin-bottom: 12px;
    line-height: 1.8;
}

.faz-article-content img {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    margin: 30px 0;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.faz-article-content blockquote {
    background: linear-gradient(135deg, #30697D 0%, #245566 100%);
    color: #fff;
    padding: 30px 35px;
    border-radius: 12px;
    margin: 35px 0;
    font-size: 20px;
    font-weight: 500;
    line-height: 1.8;
    position: relative;
}

.faz-article-content blockquote::before {
    content: '"';
    position: absolute;
    top: 10px;
    right: 20px;
    font-size: 80px;
    opacity: 0.2;
    font-family: Georgia, serif;
    line-height: 1;
}

.faz-article-content a {
    color: #30697D;
    text-decoration: underline;
    transition: color 0.2s ease;
}

.faz-article-content a:hover {
    color: #1a4a5a;
}

.faz-article-content pre,
.faz-article-content code {
    background: #1a1a2e;
    color: #a8d8ea;
    border-radius: 8px;
    font-family: 'Courier New', monospace;
}

.faz-article-content pre {
    padding: 25px;
    overflow-x: auto;
    margin: 25px 0;
}

.faz-article-content code {
    padding: 3px 8px;
    font-size: 15px;
}

/* Page Links */
.faz-page-links {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 40px;
    padding-top: 25px;
    border-top: 1px solid #e0e0e0;
}

.faz-page-links-title {
    font-weight: 700;
    color: #1a1a1a;
}

.faz-page-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: #f0f0f0;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.2s ease;
}

.faz-page-number:hover {
    background: #30697D;
    color: #fff;
}

/* ═══════════════════════════════════════════════════════
   TAGS - الوسوم
   ═══════════════════════════════════════════════════════ */
.faz-article-tags {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
    margin-top: 45px;
    padding-top: 30px;
    border-top: 1px solid #e0e0e0;
}

.faz-tags-label {
    font-weight: 700;
    color: #1a1a1a;
    font-size: 16px;
}

.faz-tags-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.faz-tag {
    display: inline-block;
    background: #f5f5f5;
    padding: 8px 16px;
    border-radius: 6px;
    color: #1a1a1a;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.2s ease;
    border: 1px solid #e0e0e0;
}

.faz-tag:hover {
    background: #30697D;
    color: #fff;
    border-color: #30697D;
}

/* ═══════════════════════════════════════════════════════
   AUTHOR BOX - معلومات الكاتب
   ═══════════════════════════════════════════════════════ */
.faz-author-box {
    display: flex;
    gap: 25px;
    margin-top: 50px;
    padding: 30px;
    background: linear-gradient(135deg, #f8f9fa 0%, #f0f7f9 100%);
    border-radius: 16px;
    border: 1px solid #e8f4f8;
}

.faz-author-avatar img {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid #fff;
    box-shadow: 0 5px 20px rgba(48, 105, 125, 0.2);
}

.faz-author-info {
    flex: 1;
}

.faz-author-label {
    display: block;
    font-size: 13px;
    color: #757575;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 5px;
}

.faz-author-name {
    font-size: 22px;
    font-weight: 700;
    color: #1a1a1a;
    margin: 0 0 10px 0;
}

.faz-author-bio {
    font-size: 15px;
    line-height: 1.7;
    color: #666;
    margin: 0 0 15px 0;
}

.faz-author-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #30697D;
    font-weight: 600;
    font-size: 14px;
    text-decoration: none;
    transition: color 0.2s ease;
}

.faz-author-link:hover {
    color: #1a4a5a;
}

/* ═══════════════════════════════════════════════════════
   POST NAVIGATION - التنقل بين المقالات
   ═══════════════════════════════════════════════════════ */
.faz-post-navigation {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-top: 50px;
    padding-top: 40px;
    border-top: 2px solid #e0e0e0;
}

.faz-nav-link {
    display: block;
    padding: 25px;
    background: #f8f9fa;
    border-radius: 12px;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 1px solid #e0e0e0;
}

.faz-nav-link:hover {
    background: #30697D;
    border-color: #30697D;
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(48, 105, 125, 0.2);
}

.faz-nav-link:hover .faz-nav-direction,
.faz-nav-link:hover .faz-nav-title {
    color: #fff;
}

.faz-nav-empty {
    background: transparent;
    border: none;
}

.faz-nav-direction {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: #30697D;
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: color 0.3s ease;
}

.faz-nav-title {
    display: block;
    font-size: 17px;
    font-weight: 700;
    color: #1a1a1a;
    line-height: 1.4;
    transition: color 0.3s ease;
}

.faz-nav-prev {
    text-align: right;
}

.faz-nav-next {
    text-align: left;
}

/* ═══════════════════════════════════════════════════════
   SIDEBAR - الشريط الجانبي
   ═══════════════════════════════════════════════════════ */
.faz-article-sidebar {
    position: sticky;
    top: 30px;
    height: fit-content;
}

.faz-sidebar-widget {
    background: #fff;
    border-radius: 16px;
    padding: 25px;
    margin-bottom: 25px;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.06);
    border: 1px solid #f0f0f0;
}

.faz-widget-title {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 18px;
    font-weight: 700;
    color: #1a1a1a;
    margin: 0 0 20px 0;
    padding-bottom: 15px;
    border-bottom: 2px solid #30697D;
}

.faz-widget-icon {
    font-size: 20px;
}

/* Table of Contents */
.faz-toc-list {
    max-height: 400px;
    overflow-y: auto;
}

.faz-toc-items {
    list-style: none;
    padding: 0;
    margin: 0;
}

.faz-toc-item {
    margin-bottom: 8px;
}

.faz-toc-item a {
    display: block;
    padding: 10px 15px;
    background: #f8f9fa;
    border-radius: 8px;
    color: #1a1a1a;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.2s ease;
    border-right: 3px solid transparent;
}

.faz-toc-item a:hover {
    background: #e8f4f8;
    border-right-color: #30697D;
    color: #30697D;
}

.faz-toc-h3 a {
    padding-right: 30px;
    font-size: 13px;
    color: #666;
}

.faz-toc-loading,
.faz-toc-empty {
    font-size: 14px;
    color: #757575;
    text-align: center;
    padding: 15px;
}

/* Related Posts Widget */
.faz-related-posts {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.faz-related-item {
    display: flex;
    gap: 15px;
    padding: 12px;
    background: #f8f9fa;
    border-radius: 10px;
    text-decoration: none;
    transition: all 0.2s ease;
    border: 1px solid transparent;
}

.faz-related-item:hover {
    background: #fff;
    border-color: #30697D;
    box-shadow: 0 5px 15px rgba(48, 105, 125, 0.1);
}

.faz-related-thumb {
    flex-shrink: 0;
    width: 70px;
    height: 70px;
    border-radius: 8px;
    overflow: hidden;
}

.faz-related-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.faz-related-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #30697D, #5ba3b8);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
}

.faz-related-info {
    flex: 1;
    min-width: 0;
}

.faz-related-title {
    font-size: 14px;
    font-weight: 600;
    color: #1a1a1a;
    margin: 0 0 6px 0;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.faz-related-date {
    font-size: 12px;
    color: #757575;
}

.faz-no-related {
    text-align: center;
    color: #757575;
    font-size: 14px;
    padding: 20px;
}

/* بوكس رابط عرض جميع المقالات */
.faz-view-all-widget {
    background: linear-gradient(135deg, #30697D 0%, #245566 100%);
    border-radius: 16px;
    padding: 25px;
    text-align: center;
    box-shadow: 0 4px 20px rgba(48, 105, 125, 0.25);
}

.faz-view-all-link,
.faz-view-all-link:link,
.faz-view-all-link:visited,
.faz-view-all-link:hover,
.faz-view-all-link:active {
    display: block;
    text-align: center;
    padding: 14px 20px;
    background: rgba(255, 255, 255, 0.15);
    color: #ffffff !important;
    border-radius: 10px;
    text-decoration: none !important;
    font-weight: 700;
    font-size: 15px;
    transition: all 0.3s ease;
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.faz-view-all-link:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
    color: #ffffff !important;
}

/* ═══════════════════════════════════════════════════════
   SHARE BUTTONS - أزرار المشاركة المحسّنة
   ═══════════════════════════════════════════════════════ */
.faz-share-widget {
    background: linear-gradient(135deg, #f8f9fa 0%, #fff 100%);
}

.faz-share-subtitle {
    font-size: 13px;
    color: #757575;
    margin: -10px 0 18px 0;
}

.faz-share-buttons {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.faz-share-btn {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 12px;
    padding: 14px 18px;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: none;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.faz-share-btn svg {
    flex-shrink: 0;
    transition: transform 0.3s ease;
}

.faz-share-btn span {
    flex: 1;
}

.faz-share-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s ease;
}

.faz-share-btn:hover::before {
    left: 100%;
}

.faz-share-btn:hover {
    transform: translateX(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.faz-share-btn:hover svg {
    transform: scale(1.15);
}

/* Twitter/X */
.faz-share-twitter {
    background: #f8f9fa;
    color: #1a1a1a;
    border: 1px solid #e0e0e0;
}

.faz-share-twitter:hover {
    background: #1a1a1a;
    color: #fff !important;
    border-color: #1a1a1a;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.15);
}

/* Facebook */
.faz-share-facebook {
    background: #f0f7ff;
    color: #1877f2;
    border: 1px solid #cce4ff;
}

.faz-share-facebook:hover {
    background: #1877f2;
    color: #fff !important;
    border-color: #1877f2;
    box-shadow: 0 5px 15px rgba(24, 119, 242, 0.25);
}

/* LinkedIn */
.faz-share-linkedin {
    background: #f0f7fc;
    color: #0a66c2;
    border: 1px solid #cce4f7;
}

.faz-share-linkedin:hover {
    background: #0a66c2;
    color: #fff !important;
    border-color: #0a66c2;
    box-shadow: 0 5px 15px rgba(10, 102, 194, 0.25);
}

/* WhatsApp */
.faz-share-whatsapp {
    background: #f0fdf4;
    color: #25d366;
    border: 1px solid #bbf7d0;
}

.faz-share-whatsapp:hover {
    background: #25d366;
    color: #fff !important;
    border-color: #25d366;
    box-shadow: 0 5px 15px rgba(37, 211, 102, 0.25);
}

/* Copy Link */
.faz-share-copy {
    background-color: #f0f7f9;
    border: 1px solid #d1e7ed;
    font-weight: 600;
    font-size: 15px;
    letter-spacing: 0.2px;
    transition: all 0.25s ease;
    color: #ffffff;
}

.faz-share-copy:hover {
    color: #ffffff;
    background-color: #30697D;
    border-color: #30697D;
    box-shadow: 0 6px 18px rgba(48, 105, 125, 0.25);
}

.faz-share-copy.copied {
    background-color: #10b981;
    color: #ffffff;
    border-color: #10b981;
    box-shadow: 0 6px 18px rgba(16, 185, 129, 0.25);
}

/* ═══════════════════════════════════════════════════════
   MORE ARTICLES SECTION - المقالات المشابهة
   ═══════════════════════════════════════════════════════ */
.faz-more-articles {
    background: linear-gradient(180deg, #f8f9fa 0%, #fff 100%);
    padding: 80px 20px;
}

.faz-more-header {
    text-align: center;
    margin-bottom: 50px;
}

.faz-more-title {
    font-size: clamp(26px, 4vw, 36px);
    font-weight: 800;
    color: #1a1a1a;
    margin: 0 0 15px 0;
}

.faz-more-subtitle {
    font-size: 18px;
    color: #666;
    margin: 0;
}

.faz-more-line {
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, #30697D, #5ba3b8);
    margin: 25px auto 0;
    border-radius: 2px;
}

.faz-more-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.faz-more-card {
    position: relative;
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    text-decoration: none;
    transition: all 0.4s ease;
    border: 1px solid #f0f0f0;
}

.faz-more-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(48, 105, 125, 0.18);
    border-color: #30697D;
}

.faz-more-card-image {
    position: relative;
    height: 220px;
    overflow: hidden;
}

.faz-more-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.faz-more-card:hover .faz-more-card-image img {
    transform: scale(1.08);
}

.faz-more-card-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, transparent 40%, rgba(0, 0, 0, 0.4) 100%);
}

.faz-more-card-content {
    padding: 25px;
}

.faz-more-card-date {
    display: block;
    font-size: 13px;
    color: #30697D;
    font-weight: 600;
    margin-bottom: 10px;
}

.faz-more-card-title {
    font-size: 20px;
    font-weight: 700;
    color: #1a1a1a;
    margin: 0 0 12px 0;
    line-height: 1.4;
    transition: color 0.3s ease;
}

.faz-more-card:hover .faz-more-card-title {
    color: #30697D;
}

.faz-more-card-excerpt {
    font-size: 14px;
    color: #666;
    line-height: 1.7;
    margin: 0 0 15px 0;
}

.faz-more-card-link {
    display: inline-block;
    font-size: 14px;
    font-weight: 600;
    color: #30697D;
    transition: all 0.3s ease;
}

.faz-more-card:hover .faz-more-card-link {
    padding-right: 10px;
}

.faz-more-footer {
    text-align: center;
    margin-top: 50px;
}

.faz-browse-all-btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: linear-gradient(135deg, #30697D 0%, #245566 100%);
    color: #fff !important;
    padding: 18px 40px;
    border-radius: 50px;
    text-decoration: none;
    font-size: 17px;
    font-weight: 700;
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(48, 105, 125, 0.3);
}

.faz-browse-all-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(48, 105, 125, 0.4);
}

.faz-btn-arrow {
    font-size: 20px;
    transition: transform 0.3s ease;
}

.faz-browse-all-btn:hover .faz-btn-arrow {
    transform: translateX(-5px);
}

/* ═══════════════════════════════════════════════════════
   COMMENTS SECTION
   ═══════════════════════════════════════════════════════ */
.faz-comments-section {
    margin-top: 50px;
    padding-top: 40px;
    border-top: 2px solid #e0e0e0;
}

/* ═══════════════════════════════════════════════════════
   RESPONSIVE DESIGN
   ═══════════════════════════════════════════════════════ */
@media (max-width: 1200px) {
    .faz-article-container {
        grid-template-columns: 1fr 300px;
        gap: 40px;
    }
}

@media (max-width: 1024px) {
    .faz-article-container {
        grid-template-columns: 1fr;
    }
    
    .faz-article-sidebar {
        position: static;
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    
    .faz-article-hero {
        min-height: 60vh;
        padding: 80px 30px 60px;
        background-attachment: scroll;
    }
    
    .faz-article-main {
        padding: 40px;
    }
    
    .faz-more-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .faz-article-hero {
        min-height: 55vh;
        padding: 70px 20px 50px;
    }
    
    .faz-article-title {
        font-size: 28px;
    }
    
    .faz-article-meta {
        gap: 15px;
    }
    
    .faz-meta-item {
        font-size: 13px;
    }
    
    .faz-article-wrapper {
        padding: 40px 15px 60px;
    }
    
    .faz-article-main {
        padding: 30px 25px;
        border-radius: 16px;
    }
    
    .faz-article-content {
        font-size: 16px;
    }
    
    .faz-article-content h2 {
        font-size: 24px;
    }
    
    .faz-article-sidebar {
        grid-template-columns: 1fr;
    }
    
    .faz-post-navigation {
        grid-template-columns: 1fr;
    }
    
    .faz-author-box {
        flex-direction: column;
        text-align: center;
    }
    
    .faz-more-grid {
        grid-template-columns: 1fr;
    }
    
    .faz-more-articles {
        padding: 60px 15px;
    }
    
    .faz-scroll-indicator {
        display: none;
    }
}

@media (max-width: 480px) {
    .faz-article-hero {
        min-height: 50vh;
        padding: 60px 15px 40px;
    }
    
    .faz-article-title {
        font-size: 24px;
    }
    
    .faz-cat-badge {
        padding: 8px 14px;
        font-size: 12px;
    }
    
    .faz-article-main {
        padding: 25px 20px;
    }
    
    .faz-article-intro {
        padding: 20px;
    }
    
    .faz-article-intro p {
        font-size: 16px;
    }
    
    .faz-author-avatar img {
        width: 80px;
        height: 80px;
    }
    
    .faz-share-btn {
        width: 40px;
        height: 40px;
        font-size: 16px;
    }
    
    .faz-browse-all-btn {
        padding: 15px 30px;
        font-size: 15px;
    }
}




/* ===============================================
   Responsive Design
   =============================================== */

/* Tablet - شاشات متوسطة */
@media (max-width: 1024px) {
    .parent-categories-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .archive-layout-wrapper,
    .single-layout-wrapper {
        grid-template-columns: 1fr;
    }
    
    .blog-sidebar {
        position: static;
    }
    
    .posts-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .blog-hero {
        padding: 60px 20px;
    }
    
    .blog-hero-title {
        font-size: 38px;
    }
    
    .section-title {
        font-size: 32px;
    }
}

/* Mobile - الموبايل */
@media (max-width: 768px) {
    .parent-categories-grid,
    .posts-grid {
        grid-template-columns: 1fr;
    }
    
    .page-title {
        font-size: 32px;
    }
    
    .entry-title {
        font-size: 28px;
    }
    
    .archive-title {
        font-size: 28px;
    }
    
    .post-navigation .nav-links {
        grid-template-columns: 1fr;
    }
    
    .entry-content {
        font-size: 17px;
    }
    
    .blog-hero {
        padding: 50px 20px;
    }
    
    .blog-hero-title {
        font-size: 32px;
    }
    
    .blog-hero-subtitle {
        font-size: 18px;
    }
    
    .hero-stat {
        font-size: 14px;
        padding: 8px 16px;
    }
    
    .section-title {
        font-size: 28px;
    }
}

@media (max-width: 480px) {
    .blog-home-page,
    .category-archive-page,
    .single-post-page {
        padding: 0;
    }
    
    .categories-section {
        padding: 40px 15px;
    }
    
    .page-title {
        font-size: 26px;
    }
    
    .entry-title {
        font-size: 24px;
    }
    
    .blog-hero {
        padding: 40px 15px;
    }
    
    .blog-hero-title {
        font-size: 28px;
    }
    
    .blog-hero-subtitle {
        font-size: 16px;
    }
    
    .blog-hero-meta {
        gap: 15px;
    }
    
    .section-title {
        font-size: 24px;
    }
}

/* ═══════════════════════════════════════════════════════
   COMMENTS SECTION - قسم التعليقات المحسن
   ═══════════════════════════════════════════════════════ */
.faz-comments-section {
    margin-top: 50px;
    padding-top: 40px;
    border-top: 2px solid #e0e0e0;
}
.single-post #comments{
    padding: 0!important;
    margin: 0!important;
}
.faz-comments-section .comments-area {
    background: #fff;
    border-radius: 16px;
    padding: 35px;
    /* box-shadow: 0 5px 25px rgba(0, 0, 0, 0.06); */
    border: 1px solid #f0f0f0;
}

/* عنوان التعليقات */
.faz-comments-section .comments-title,
.faz-comments-section #reply-title {
    font-size: 24px;
    font-weight: 700;
    color: #1a1a1a;
    margin: 0 0 30px 0;
    display: flex;
    align-items: center;
    gap: 12px;
}

.faz-comment-icon {
    font-size: 28px;
}

/* قائمة التعليقات */
.faz-comments-section .comment-list {
    list-style: none;
    padding: 0;
    margin: 0 0 40px 0;
}

.faz-comments-section .comment {
    padding: 25px;
    background: #f8f9fa;
    border-radius: 12px;
    margin-bottom: 20px;
    border-right: 4px solid #30697D;
}

.faz-comments-section .comment-author {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
}

.faz-comments-section .comment-author img {
    border-radius: 50%;
    width: 50px;
    height: 50px;
}

.faz-comments-section .comment-author .fn {
    font-weight: 700;
    color: #1a1a1a;
    font-size: 16px;
}

.faz-comments-section .comment-metadata {
    font-size: 13px;
    color: #757575;
    margin-bottom: 15px;
}

.faz-comments-section .comment-content {
    font-size: 15px;
    line-height: 1.8;
    color: #333;
}

.faz-comments-section .reply a {
    display: inline-block;
    margin-top: 15px;
    padding: 8px 18px;
    background: #30697D;
    color: #fff;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s ease;
}

.faz-comments-section .reply a:hover {
    background: #245566;
}

/* نموذج التعليق */
.faz-comments-section .comment-respond {
    background: #f8f9fa;
    border-radius: 16px;
    padding: 35px;
    border: 2px solid #e8f4f8;
}

.faz-comments-section .comment-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.faz-comments-section .comment-form label {
    display: block;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 8px;
    font-size: 14px;
}

.faz-comments-section .comment-form .required {
    color: #e74c3c;
}

.faz-comments-section .comment-form input[type="text"],
.faz-comments-section .comment-form input[type="email"],
.faz-comments-section .comment-form textarea {
    width: 100%;
    padding: 15px 18px;
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    font-size: 15px;
    font-family: inherit;
    transition: all 0.2s ease;
    background: #fff;
}

.faz-comments-section .comment-form input:focus,
.faz-comments-section .comment-form textarea:focus {
    outline: none;
    border-color: #30697D;
    box-shadow: 0 0 0 4px rgba(48, 105, 125, 0.1);
}

.faz-comments-section .comment-form textarea {
    min-height: 280px;
    resize: vertical;
}

.faz-comments-section .comment-form-comment {
    flex: 1;
    width: 100%;
    grid-column: 1 / -1 !important;
}

/* إخفاء حقل الموقع الإلكتروني بالقوة */
.faz-comments-section .comment-form-url,
.comment-form-url,
p.comment-form-url {
    display: none !important;
    visibility: hidden !important;
    height: 0 !important;
    overflow: hidden !important;
}

/* حقول الاسم والإيميل بجانب بعض */
.faz-comments-section .comment-form-author,
.faz-comments-section .comment-form-email {
    flex: 1;
}

@media (min-width: 768px) {
    .faz-comments-section .comment-form {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 20px;
    }
    
    .faz-comments-section .comment-form-comment,
    .faz-comments-section .comment-form-cookies-consent,
    .faz-comments-section .form-submit {
        grid-column: 1 / -1;
    }
}

/* Checkbox الكوكيز */
.faz-comments-section .comment-form-cookies-consent {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 13px;
    color: #666;
}

.faz-comments-section .comment-form-cookies-consent input[type="checkbox"] {
    width: 18px;
    height: 18px;
    accent-color: #30697D;
}

/* زر الإرسال */
.faz-comments-section .form-submit {
    margin: 0;
}

.faz-comments-section .form-submit input[type="submit"] {
    background: linear-gradient(135deg, #30697D 0%, #245566 100%);
    color: #fff;
    border: none;
    padding: 16px 40px;
    border-radius: 10px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
}

.faz-comments-section .form-submit input[type="submit"]:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(48, 105, 125, 0.3);
}

/* عدد التعليقات */
.faz-comments-count {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #f0f7f9;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
    color: #30697D;
    margin-bottom: 25px;
}

/* No Comments */
.faz-comments-section .no-comments {
    text-align: center;
    padding: 40px;
    color: #757575;
    font-size: 16px;
}
