/* Blog Section Styles */
.blog-section {
    max-width: 1160px;
    margin: 0 auto;
    padding: 64px 40px 80px;
}

.blog-header {
    font-family: 'Cairo', sans-serif;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    margin: 0 auto 3rem;
    padding: 0 1rem;
}

.blog-header .bh-offer-label {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 0.75rem;
}

.blog-header .bh-offer-label .bh-offer-label-line {
    width: 120px;
    height: 2px;
    background: #6b8ab5;
}

.blog-header .bh-offer-label .bh-offer-label-text {
    color: #6b8ab5;
    font-size: 0.9375rem;
    font-weight: 500;
    letter-spacing: 0.02em;
    white-space: nowrap;
}

.blog-header .blog-title {
    margin: 0;
    color: #1a1a1a;
    font-size: clamp(1.5rem, 3.5vw, 2.25rem);
    font-weight: 600;
    line-height: 1.3;
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
    align-items: start;
}

.blog-card {
    display: flex;
    flex-direction: column;
    text-align: right;
}

.blog-card-title {
    margin: 0 0 8px;
    font-size: 1.25rem;
    font-weight: 800;
    line-height: 1.4;
    color: #1a1a1a;
}

.blog-card-title a {
    color: inherit;
    text-decoration: none;
    transition: 0.3s;
}

.blog-card-title a:hover {
    color: #6b8ab5;
}

.blog-card-meta {
    font-size: 0.875rem;
    color: #999;
    margin: 0 0 20px;
    display: flex;
    align-items: center;
    gap: 15px;
}

.blog-card-meta span {
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.blog-card-meta .comments::after {
    content: '💬';
    font-size: 0.9rem;
    order: -1;
    opacity: 0.7;
}

.blog-card-image {
    width: 100%;
    aspect-ratio: 16 / 10;
    object-fit: cover;
    display: block;
    margin-bottom: 20px;
    border-radius: 4px;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.blog-card:hover .blog-card-image {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

.blog-card-excerpt {
    font-size: 1rem;
    color: #555;
    line-height: 1.7;
    margin: 0;
    text-align: justify;
}

/* Pagination */
.bh-blog-pagination {
    display: flex !important;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 48px;
    padding: 0;
}

.bh-blog-pagination a,
.bh-blog-pagination span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    border-radius: 50%;
    font-size: 0.9375rem;
    font-weight: 500;
    text-decoration: none;
    color: #555;
    background: #eee;
    transition: 0.2s;
}

.bh-blog-pagination a:hover {
    background: #ddd;
    color: #333;
}

.bh-blog-pagination .current {
    background: #c9a9a6;
    color: #fff;
}

/* Single Article */
.article-hero {
    height: 420px;
    background-size: cover;
    background-position: center;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    text-align: center;
}

.article-hero::after {
    content: "";
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0, 0, 0, 0.4);
}

.article-hero h1 {
    position: relative;
    z-index: 2;
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    margin: 0;
    padding: 0 20px;
    font-weight: 700;
}

.article-box {
    max-width: 1100px;
    margin: -60px auto 50px;
    padding: 40px;
    background: #fff;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    position: relative;
    z-index: 10;
}

.single-article-meta {
    font-size: 0.9rem;
    color: #888;
    margin-bottom: 25px;
    display: flex;
    gap: 15px;
    border-bottom: 1px solid #eee;
    padding-bottom: 15px;
}

.single-article-content {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #333;
}

.article-gallery {
    margin-top: 45px;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 15px;
}

.gallery-grid img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 10px;
    cursor: pointer;
    transition: 0.3s;
}

.gallery-grid img:hover {
    transform: scale(1.03);
}

.related-articles {
    max-width: 1100px;
    margin: 60px auto;
    padding: 0 20px;
}

.related-articles-title {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 30px;
    text-align: center;
}

/* Media Queries */
@media (max-width: 992px) {
    .blog-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .article-hero { height: 300px; }
    .article-box { margin: -40px 15px 40px; padding: 25px; }
}

@media (max-width: 576px) {
    .blog-section { padding: 40px 20px 56px; }
    .blog-grid { grid-template-columns: 1fr; gap: 32px; }
}
