/* صفحة عرض مقال المدونة */
.blog-post-page {
    background: #f8f9fa;
}

.blog-post-hero {
    background: linear-gradient(135deg, #00A887 0%, #059669 100%);
    padding: 80px 0 60px;
    color: white;
    position: relative;
    overflow: hidden;
}

.blog-post-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"><circle cx="50" cy="50" r="2" fill="rgba(255,255,255,0.1)"/></svg>');
    opacity: 0.3;
}

.blog-post-hero .container {
    position: relative;
    z-index: 1;
}

.blog-category-badge {
    display: inline-block;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    padding: 8px 20px;
    border-radius: 25px;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 20px;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.blog-post-title {
    font-size: 42px;
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 25px;
    color: white;
}

.blog-post-meta {
    display: flex;
    gap: 30px;
    flex-wrap: wrap;
    align-items: center;
    font-size: 16px;
    opacity: 0.95;
}

.blog-post-meta span {
    display: flex;
    align-items: center;
    gap: 8px;
}

.blog-post-meta i {
    font-size: 14px;
}

.blog-post-section {
    padding: 60px 0;
    background: #f8f9fa;
}

.blog-post-content {
    background: white;
    border-radius: 20px;
    padding: 50px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    margin-bottom: 30px;
}

.blog-post-image {
    margin: -50px -50px 40px -50px;
    border-radius: 20px 20px 0 0;
    overflow: hidden;
    max-height: 500px;
}

.blog-post-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.blog-post-excerpt {
    background: linear-gradient(135deg, #f0fdf4 0%, #ecfdf5 100%);
    border-right: 4px solid #00A887;
    padding: 25px;
    border-radius: 12px;
    margin-bottom: 40px;
    font-size: 18px;
    line-height: 1.8;
    color: #1f2937;
    font-weight: 500;
}

.blog-post-body {
    font-size: 18px;
    line-height: 1.9;
    color: #374151;
    direction: rtl;
    text-align: right;
}

.blog-post-body h2 {
    font-size: 32px;
    font-weight: 700;
    color: #1f2937;
    margin: 40px 0 20px;
    padding-bottom: 15px;
    border-bottom: 3px solid #00A887;
}

.blog-post-body h3 {
    font-size: 26px;
    font-weight: 700;
    color: #374151;
    margin: 30px 0 15px;
}

.blog-post-body p {
    margin-bottom: 20px;
    text-align: justify;
}

.blog-post-body ul,
.blog-post-body ol {
    margin: 20px 0;
    padding-right: 30px;
}

.blog-post-body li {
    margin-bottom: 12px;
    line-height: 1.8;
}

.blog-post-body a {
    color: #00A887;
    text-decoration: underline;
    transition: color 0.3s;
}

.blog-post-body a:hover {
    color: #059669;
}

.blog-post-tags {
    margin-top: 50px;
    padding-top: 30px;
    border-top: 2px solid #e5e7eb;
}

.blog-post-tags h4 {
    font-size: 20px;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 20px;
}

.tags-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.tags-list .tag {
    display: inline-block;
    background: linear-gradient(135deg, #00A887 0%, #059669 100%);
    color: white;
    padding: 8px 18px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
    transition: transform 0.3s, box-shadow 0.3s;
}

.tags-list .tag:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 168, 135, 0.3);
}

.blog-post-navigation {
    text-align: center;
    margin-top: 40px;
}

.blog-post-navigation .btn {
    padding: 15px 40px;
    font-size: 16px;
    font-weight: 600;
    border-radius: 12px;
    background: linear-gradient(135deg, #00A887 0%, #059669 100%);
    border: none;
    color: white;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s;
}

.blog-post-navigation .btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0, 168, 135, 0.3);
    color: white;
}

.blog-latest-section {
    margin-top: 50px;
}

.blog-latest-heading {
    text-align: center;
    margin-bottom: 25px;
}

.blog-latest-heading h2 {
    font-size: 30px;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 10px;
}

.blog-latest-heading p {
    margin: 0;
    color: #6b7280;
    font-size: 15px;
}

.blog-latest-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
}

.blog-latest-card {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.06);
}

.blog-latest-image {
    display: block;
    height: 190px;
    overflow: hidden;
}

.blog-latest-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.blog-latest-content {
    padding: 18px 18px 20px;
}

.blog-latest-category {
    display: inline-flex;
    align-items: center;
    padding: 6px 12px;
    border-radius: 999px;
    background: #ecfdf5;
    color: #059669;
    font-size: 12px;
    font-weight: 700;
    margin-bottom: 12px;
}

.blog-latest-content h3 {
    font-size: 19px;
    line-height: 1.6;
    margin: 0 0 10px;
}

.blog-latest-content h3 a {
    color: #1f2937;
    text-decoration: none;
}

.blog-latest-content p {
    margin: 0 0 14px;
    color: #6b7280;
    font-size: 14px;
    line-height: 1.8;
}

.blog-latest-link {
    color: #00A887;
    font-weight: 700;
    text-decoration: none;
}

/* Responsive */
@media (max-width: 991px) {
    .blog-latest-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .blog-post-title {
        font-size: 28px;
    }
    
    .blog-post-content {
        padding: 30px 20px;
    }
    
    .blog-post-image {
        margin: -30px -20px 30px -20px;
        border-radius: 0;
    }
    
    .blog-post-body {
        font-size: 16px;
    }
    
    .blog-post-body h2 {
        font-size: 24px;
    }
    
    .blog-post-body h3 {
        font-size: 20px;
    }

    .blog-latest-heading h2 {
        font-size: 24px;
    }
}
