
/* BLOG SECTION */
.blog-section {
    padding: 50px 0 20px;
    background: #ffffff;
    position: relative;
}

.blog-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 30px;
}

.blog-header h2 {
    font-size: 2.2rem;
    font-weight: 600;
    color: var(--second-color);
    margin: 0;
    font-family: 'Geom', sans-serif;
    letter-spacing: -0.02em;
}

.blog-header .view-link {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--main-color);
    font-weight: 500;
    text-decoration: none;
    transition: all 0.2s ease;
    padding: 8px 16px;
    border-radius: 40px;
    border: 1px solid rgba(15,115,238,0.2);
}

.blog-header .view-link:hover {
    background: var(--main-color);
    color: white;
    border-color: var(--main-color);
    gap: 12px;
}

.blog-header .view-link svg {
    width: 20px;
    height: 20px;
    stroke: currentColor;
    stroke-width: 1.8px;
    fill: none;
    transition: transform 0.2s ease;
}

.blog-header .view-link:hover svg {
    transform: translateX(4px);
}

/* Page Title */
.blog-hero {
    position: relative;
    padding: 80px 0;
    background: linear-gradient(135deg, var(--second-color) 0%, #0a1a3a 100%);
    overflow: hidden;
}

.blog-hero::before {
    content: '';
    position: absolute;
    top: -30%;
    right: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(15,115,238,0.15) 0%, transparent 70%);
    border-radius: 50%;
    filter: blur(60px);
    z-index: 0;
}

.blog-hero::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -5%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(255,255,255,0.05) 0%, transparent 70%);
    border-radius: 50%;
    filter: blur(50px);
    z-index: 0;
}

.blog-hero .container-xxl {
    position: relative;
    z-index: 2;
}

.blog-hero-content {
    text-align: center;
    color: var(--fourth-color);
    max-width: 800px;
    margin: 0 auto;
}

.blog-hero-content .badge {
    display: inline-block;
    background: rgba(255,255,255,0.15);
    backdrop-filter: blur(5px);
    padding: 8px 20px;
    border-radius: 40px;
    font-size: 0.85rem;
    font-weight: 500;
    margin-bottom: 25px;
    letter-spacing: 0.5px;
    border: 1px solid rgba(255,255,255,0.1);
}

.blog-hero-content h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    font-family: 'Geom', sans-serif;
    letter-spacing: -0.02em;
    line-height: 1.2;
}

.blog-hero-content h1 span {
    color: var(--main-color);
}

.blog-hero-content p {
    font-size: 1.2rem;
    color: rgba(255,255,255,0.8);
    line-height: 1.6;
    max-width: 600px;
    margin: 0 auto;
}

/* Featured Carousel Container */
.featured-carousel-container {
    position: relative;
}

.featured-swiper {
    width: 100%;
    overflow: hidden;
    padding: 5px 0 15px;
}

.featured-swiper .swiper-slide {
    width: calc(33.333% - 14px);
    min-width: 280px;
    height: auto;
}

.featured-swiper .swiper-slide-large {
    width: calc(66.666% - 7px);
}

/* Featured Card */
.featured-card {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    cursor: pointer;
    aspect-ratio: 16/9;
    width: 100%;
    height: 100%;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
}
.posts .featured-card {
    min-height: 325px;
}

.featured-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 15px 30px -8px rgba(15,115,238,0.15);
}

.featured-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.featured-card:hover img {
    transform: scale(1.05);
}

/* Featured Card Content */
.featured-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 50px 20px 20px;
    background: linear-gradient(to top, rgba(0,0,0,0.9), rgba(0,0,0,0.4), transparent);
    color: white;
}

.featured-content .badge-light {
    display: inline-block;
    background: rgba(255,255,255,0.2);
    backdrop-filter: blur(4px);
    padding: 4px 12px;
    border-radius: 30px;
    font-size: 0.7rem;
    margin-bottom: 8px;
    color: white;
    font-weight: 500;
    letter-spacing: 0.3px;
}

.featured-content h3 {
    font-size: 1.8rem;
    font-weight: 700;
    color: white;
    margin: 0 0 8px 0;
    font-family: 'Geom', sans-serif;
    line-height: 1.2;
}

.featured-content .subtitle {
    font-size: 0.9rem;
    color: rgba(255,255,255,0.9);
    margin: 0 0 4px 0;
    font-weight: 500;
}

.featured-content .meta {
    font-size: 0.8rem;
    color: rgba(255,255,255,0.7);
    margin-bottom: 12px;
}

.featured-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: white;
    font-size: 0.9rem;
    font-weight: 500;
    text-decoration: none;
    background: rgba(255,255,255,0.15);
    backdrop-filter: blur(4px);
    padding: 6px 14px;
    border-radius: 30px;
    border: 1px solid rgba(255,255,255,0.2);
    transition: all 0.2s ease;
}

.featured-link:hover {
    background: var(--main-color);
    border-color: var(--main-color);
    gap: 10px;
}

.featured-link svg {
    width: 18px;
    height: 18px;
    stroke: currentColor;
    fill: none;
    stroke-width: 1.8px;
}
/* BLOG SECTION */

@media screen and (max-width: 992px) {
    .featured-swiper .swiper-slide {
        width: calc(50% - 10px);
    }
    
    .featured-swiper .swiper-slide-large {
        width: calc(50% - 10px);
    }
}

@media screen and (max-width: 768px) {
    .blog-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }
    
    .featured-swiper .swiper-slide {
        width: calc(80% - 10px);
    }
    
    .featured-swiper .swiper-slide-large {
        width: calc(80% - 10px);
    }
    
    .featured-content h3 {
        font-size: 1.4rem;
    }
}
