/* Blog Premium Styles - Default Theme */
.blog-page {
    background: linear-gradient(180deg, #f8f9fc 0%, #ffffff 40%);
    min-height: 100vh;
}

.blog-hero {
    border-radius: 18px;
    padding: 3rem 2.5rem;
    background: radial-gradient(circle at top right, var(--web-primary-20), transparent 55%), #fff;
    border: 1px solid rgba(0, 0, 0, 0.06);
    box-shadow: 0 10px 30px rgba(17, 24, 39, 0.06);
}

.blog-hero .form-control {
    height: 44px;
    border-radius: 999px;
    font-size: .92rem;
}

.blog-hero .btn {
    height: 44px;
    border-radius: 999px;
    font-weight: 700;
}

.blog-hero h1 {
    font-size: clamp(1.8rem, 3vw, 2.8rem);
    font-weight: 800;
    margin-bottom: .75rem;
    color: #1f2937;
}

.blog-hero p {
    color: #4b5563;
    font-size: 1rem;
    margin-bottom: 0;
}

.blog-featured-card {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 1.5rem;
    background: #fff;
    border-radius: 18px;
    overflow: hidden;
    border: 1px solid rgba(17, 24, 39, 0.08);
    box-shadow: 0 18px 40px rgba(17, 24, 39, 0.08);
}

[dir="rtl"] .blog-featured-card {
    grid-template-columns: 1fr 1.2fr;
}

.blog-featured-image {
    height: 100%;
    min-height: 320px;
    width: 100%;
    object-fit: cover;
}

.blog-featured-content {
    padding: 1.5rem 1.5rem 1.5rem 0;
}

.blog-badge {
    display: inline-flex;
    align-items: center;
    gap: .35rem;
    font-size: .8rem;
    font-weight: 700;
    color: #fff;
    padding: .35rem .75rem;
    border-radius: 999px;
    background: var(--web-primary);
}

.blog-meta {
    display: flex;
    flex-wrap: wrap;
    gap: .5rem 1rem;
    color: #6b7280;
    font-size: .85rem;
    margin: .8rem 0;
}

.blog-title-link {
    color: #0f172a;
    text-decoration: none;
    transition: color .2s ease;
}

.blog-title-link:hover {
    color: var(--web-primary);
    text-decoration: none;
}

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

.blog-card {
    border-radius: 16px;
    overflow: hidden;
    background: #fff;
    border: 1px solid rgba(17, 24, 39, 0.08);
    box-shadow: 0 10px 24px rgba(17, 24, 39, 0.06);
    transition: transform .25s ease, box-shadow .25s ease;
    height: 100%;
    position: relative;
    display: flex;
    flex-direction: column;
}

.blog-card-featured {
    position: absolute;
    top: 10px;
    left: 10px;
    padding: .22rem .6rem;
    border-radius: 999px;
    font-size: .75rem;
    font-weight: 700;
    background: var(--web-primary);
    color: #fff;
    z-index: 1;
}

[dir="rtl"] .blog-card-featured {
    right: 10px;
    left: auto;
}

.blog-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 18px 34px rgba(17, 24, 39, 0.12);
}

.blog-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.blog-card-body {
    padding: 1rem;
    display: flex;
    flex-direction: column;
    gap: .5rem;
    flex: 1;
}

.blog-card h3 {
    font-size: 1.05rem;
    line-height: 1.4;
    margin-bottom: .55rem;
}

.blog-card-excerpt {
    color: #4b5563;
    font-size: .92rem;
    line-height: 1.6;
    min-height: 3.2rem;
}

.blog-read-more {
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    color: var(--web-primary);
    font-weight: 700;
    text-decoration: none;
    margin-top: auto;
}

.blog-read-more:hover {
    text-decoration: none;
    opacity: .9;
}

.blog-single {
    background: #fff;
    border: 1px solid rgba(17, 24, 39, 0.08);
    border-radius: 18px;
    box-shadow: 0 15px 38px rgba(17, 24, 39, 0.07);
    overflow: hidden;
}

.blog-single-header {
    padding: 1.8rem 1.8rem 1rem;
}

.blog-single-cover {
    width: 100%;
    max-height: 520px;
    object-fit: cover;
}

.blog-article {
    padding: 1.8rem;
    line-height: 1.9;
    color: #111827;
    overflow-wrap: anywhere;
    font-size: 1rem;
}

.blog-article img,
.blog-article iframe,
.blog-article video {
    max-width: 100%;
    height: auto;
}

.blog-article h1,
.blog-article h2,
.blog-article h3,
.blog-article h4 {
    margin-top: 1.2rem;
    margin-bottom: .7rem;
    font-weight: 700;
}

.blog-article ul,
.blog-article ol {
    padding-inline-start: 1.2rem;
}

.blog-side-card {
    border-radius: 14px;
    border: 1px solid rgba(17, 24, 39, 0.08);
    background: #fff;
    padding: 1rem;
    position: sticky;
    top: 90px;
}

[dir="rtl"] .blog-meta {
    justify-content: flex-start;
}

@media (max-width: 992px) {
    .blog-featured-card {
        grid-template-columns: 1fr;
    }

    .blog-featured-content {
        padding: 1.2rem;
    }

    .blog-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 576px) {
    .blog-hero {
        padding: 1.4rem;
    }

    .blog-grid {
        grid-template-columns: 1fr;
    }

    .blog-single-header,
    .blog-article {
        padding: 1rem;
    }
}
