:root {
    --blog-title-size: 1.25rem;
    --blog-meta-size: 0.95rem;
    --blog-badge-size: 0.85rem;
    --blog-excerpt-size: 1rem;
    --blog-btn-size: 1rem;
    --blog-padding: 22px;
}

/* Blog Index Hero Section */
.blog-index-hero {
    position: relative;
    padding: 155px 0 70px;
    background: linear-gradient(135deg, #121212 0%, #0D0D0D 100%);
    color: #fff;
    overflow: hidden;
    z-index: 1;
}

.blog-index-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: 
        radial-gradient(circle at 20% 30%, rgba(226, 6, 19, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(226, 6, 19, 0.1) 0%, transparent 50%);
    z-index: -1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.hero-subtitle {
    display: inline-block;
    font-size: 14px;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #e20613;
    margin-bottom: 20px;
    font-weight: 700;
    background: rgba(226, 6, 19, 0.2);
    padding: 8px 20px;
    border-radius: 100px;
    font-family: 'Axiforma', sans-serif;
}

.hero-description {
    font-size: 20px;
    color: rgba(255, 255, 255, 0.6);
    margin: 0 auto 40px;
    line-height: 1.6;
    max-width: 600px;
}

.blog-index-posts {
    background:linear-gradient(135deg, #f9f9f9 0%, #fff5f5 100%);
    position: relative;
}

.blog-featured-card {
    display: flex;
    background: #fff;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: none;
    border: none;
    width: 100%;
    margin-bottom: 48px;
}
.featured-content {
    flex-basis: 30%;
    max-width: 30%;
    min-width: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: calc(var(--blog-padding) * 1.18);
    background: #fff;
    border-radius: 24px 0 0 24px;
    height: 100%;
}
.featured-title {
    font-size: calc(var(--blog-title-size) * 1.18);
    font-weight: 700;
    font-family: 'Axiforma', sans-serif;
    color: #141414;
    margin-top: 0;
    margin-bottom: 0 !important;
    line-height: 1.3;
}
.featured-title-link {
    color: #141414;
    text-decoration: none;
    transition: color 0.18s;
}
.featured-title-link:hover {
    color: #e20613;
    text-decoration: underline;
}
.featured-meta {
    font-size: calc(var(--blog-meta-size) * 1.18);
    color: #888;
    font-family: 'Manrope', sans-serif;
    display: flex;
    align-items: center;
    gap: 18px;
    margin-bottom: 20px;
}
.featured-meta .date i,
.featured-meta .views i {
    color: #e20613 !important;
}
.featured-excerpt {
    color: #555;
    font-size: calc(var(--blog-excerpt-size) * 1.18);
    line-height: 1.5;
    max-width: 90%;
    margin-top: 0.5rem;
}
.featured-btn, .featured-read-more {
    display: inline-block;
    font-family: 'Axiforma', sans-serif;
    font-weight: 600;
    font-size: calc(var(--blog-btn-size) * 1.18);
    border-radius: 0;
    padding: 0;
    border: none;
    color: #e20613;
    background: none;
    transition: color 0.2s;
    text-decoration: none;
    margin-top: 10px;
}
.featured-btn:hover, .featured-read-more:hover {
    color: #b8000f;
    text-decoration: underline;
}
.featured-image-wrap {
    flex-basis: 70%;
    max-width: 70%;
    min-width: 0;
    height: 100%;
    display: flex;
    align-items: flex-end;
    justify-content: flex-end;
    background: #f8f8f8;
    border-radius: 0 24px 24px 0;
    overflow: hidden;
    position: relative;
}
.featured-badge-img {
    position: absolute;
    top: 18px;
    left: 18px;
    z-index: 2;
    background: #e20613;
    color: #fff;
    font-size: calc(var(--blog-badge-size) * 1.18);
    padding: 6px 18px;
    border-radius: 8px;
    font-family: 'Axiforma', sans-serif;
    font-weight: 600;
    letter-spacing: 1px;
    box-shadow: 0 2px 8px rgba(226,6,19,0.08);
}
.featured-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1), filter 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    background: #f8f8f8;
    border-radius: 0 24px 24px 0;
    will-change: transform;
    backface-visibility: hidden;
    transform: translateZ(0);
}
.featured-image-wrap:hover .featured-image,
.featured-image-wrap:focus .featured-image {
    transform: scale(1.04) translateY(-4px);
    filter: brightness(1.08);
}

/* Blog Grid Cards */
.blog-index-card {
    background: #fff;
    border-radius: 16px;
    box-shadow: none;
    border: none;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    height: 100%;
    transition: box-shadow 0.18s, transform 0.18s;
    padding: 0;
}
.blog-card-image {
    width: 100%;
    aspect-ratio: 16/9;
    overflow: hidden;
    background: #f8f8f8;
    border-top-left-radius: 16px;
    border-top-right-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    height: auto;
    position: relative;
}
.grid-badge {
    position: absolute;
    top: 14px;
    left: 14px;
    z-index: 2;
    background: #e20613;
    color: #fff;
    font-size: var(--blog-badge-size);
    padding: 5px 14px;
    border-radius: 7px;
    font-family: 'Axiforma', sans-serif;
    font-weight: 600;
    letter-spacing: 1px;
    box-shadow: 0 2px 8px rgba(226,6,19,0.08);
}
.blog-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1), filter 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    background: #f8f8f8;
    border-radius: 0;
    will-change: transform;
    backface-visibility: hidden;
    transform: translateZ(0);
}
.blog-card-image:hover img,
.blog-card-image:focus img {
    transform: scale(1.04) translateY(-4px);
    filter: brightness(1.08);
}
.card-content {
    background: #fff;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    padding: var(--blog-padding);
}
.meta {
    font-size: var(--blog-meta-size);
    color: #888;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 14px;
}
.meta i {
    color: #e20613 !important;
    font-size: 1.18em;
}
.blog-index-title {
    font-size: var(--blog-title-size);
    line-height: 1.3;
    font-weight: 700;
    font-family: 'Axiforma', sans-serif;
    color: #141414;
    margin-bottom: 0;
    margin-top: 0;
}
.blog-title-link {
    color: #141414;
    text-decoration: none;
    transition: color 0.18s;
}
.blog-title-link:hover {
    color: #e20613;
    text-decoration: underline;
}
.blog-index-excerpt {
    color: #666;
    font-size: var(--blog-excerpt-size);
    line-height: 1.5;
    margin-top: 0.5rem;
    margin-bottom: 0;
}
.blog-index-read-more {
    display: inline-block;
    font-family: 'Axiforma', sans-serif;
    font-weight: 600;
    font-size: var(--blog-btn-size);
    border-radius: 0;
    padding: 0;
    border: none;
    color: #e20613;
    background: none;
    transition: color 0.2s;
    box-shadow: none;
    outline: none;
    text-decoration: none;
    margin-top: 10px;
}
.blog-index-read-more:hover {
    color: #b8000f;
    text-decoration: underline;
}

@media (max-width: 1200px) {
    .featured-content {
        padding: calc(var(--blog-padding) * 0.8);
    }
}
@media (max-width: 991px) {
    .blog-featured-card {
        flex-direction: column;
        height: auto;
        min-height: auto;
        margin-bottom: 30px;
    }
    .featured-content {
        flex-basis: unset;
        max-width: 100%;
        border-radius: 24px 24px 0 0;
        padding: calc(var(--blog-padding) * 0.8);
        height: auto;
    }
    .featured-image-wrap {
        flex-basis: unset;
        max-width: 100%;
        border-radius: 0 0 24px 24px;
        height: 220px;
    }
    .featured-image {
        border-radius: 0 0 24px 24px;
        min-height: 220px;
    }
    .featured-title {
        font-size: calc(var(--blog-title-size) * 0.95);
        margin-bottom: 0;
    }
    .featured-badge-img {
        top: 14px;
        left: 14px;
        font-size: var(--blog-badge-size);
        padding: 5px 14px;
        border-radius: 7px;
    }
}
@media (max-width: 767px) {
    .blog-featured-card {
        height: auto;
        min-height: auto;
    }
    .featured-title {
        font-size: calc(var(--blog-title-size) * 0.95);
        margin-bottom: 0;
    }
    .featured-content {
        padding: calc(var(--blog-padding) * 0.6);
    }
    .featured-image-wrap {
        height: 200px;
    }
    .featured-image {
        min-height: 200px;
    }
    .blog-index-title {
        font-size: calc(var(--blog-title-size) * 0.95);
    }
    .card-content {
        padding: calc(var(--blog-padding) * 0.7);
    }
    .hero-description {
        font-size: 17px;
    }
}

/* No Posts Message */
.no-posts-message {
    text-align: center;
    padding: 100px 0;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(226, 6, 19, 0.05);
}

.no-posts-message i {
    font-size: 48px;
    color: #e20613;
    margin-bottom: 20px;
}

.no-posts-message h3 {
    color: #141414;
    font-size: 24px;
    margin-bottom: 15px;
    font-family: 'Axiforma', sans-serif;
}

.no-posts-message p {
    color: #666;
    font-size: 16px;
    margin: 0;
}