/* Blog Page Specific Styles */

/* Blog Hero Section */
.blog-hero-section {
    padding: 120px 24px 40px;
    background: white;
}

.blog-hero-container {
    max-width: 1200px;
    margin: 0 auto;
}

.blog-hero-title {
    font-weight: 600;
    color: #1D54DD;
    margin-bottom: 40px;
    font-size: clamp(34px, 1.2vw, 48px);
    font-family: var(--font-headings);
}

.blog-tabs {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.blog-tab {
    padding: 10px 24px;
    background: transparent;
    border: none;
    border-radius: 24px;
    font-size: 0.9375rem;
    font-weight: 500;
    color: #666;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Inter', sans-serif;
    border: 1px solid #E9E3E3;
}

.blog-tab:hover {
     color: white;
     background: #1a1a1a;
}

.blog-tab.active {
    background: #1a1a1a;
    color: white;
}

/* Featured Post Section */
.featured-post-section {
    padding: 20px 24px 100px;
    background: white;
    position: relative;
}

.featured-post-section::after {
    position: absolute;
    background-color: #003AC5;
    content: '';
    width: 100%;
    bottom: 0;
    left: 0;
    height: 300px;
}

.featured-post-container {
    max-width: 1200px;
    margin: 0 auto;
    z-index: 1;
    position: relative;
}

.featured-post {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    background: #1a1a1a;
    border-radius: 12px;
    overflow: hidden;
    min-height: 400px;
}

.featured-post-image {
    position: relative;
    overflow: hidden;
}

.featured-post-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.featured-post-date {
    position: absolute;
    bottom: 20px;
    left: 20px;
    background: white;
    color: #1a1a1a;
    padding: 8px 16px;
    border-radius: 6px;
    font-size: 0.875rem;
    font-weight: 600;
}

.featured-post-content {
    padding: 48px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: #0A1630;
}

.featured-post-title {
    font-size: clamp(24px, 1.2vw, 30px);
    font-weight: 600;
    color: white;
    margin: 0 0 20px 0;
    line-height: 1.3;
    font-family: var(--font-heading);
}

.featured-post-excerpt {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.6;
    margin: 0 0 24px 0;
}

.featured-post-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #1D54DD;
    text-decoration: none;
    font-weight: 500;
     font-size: clamp(13px, 1.2vw, 14px);
    padding: 10px 24px;
    background: #fff;
    border-radius: 20px;
    width: fit-content;
    transition: all 0.3s ease;
}

.featured-post-link:hover {
    background: #1D54DD;
    color: #fff;
    border-color: #1D54DD;
}

/* Newsletter Section */
.newsletter-section {
    padding: 80px 24px;
    background: #003AC5;
}

.newsletter-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.newsletter-title {
    font-size: clamp(36px, 4vw, 48px);
    font-weight: 600;
    color: white;
    margin: 0;
    line-height: 1.2;
     font-family: var(--font-heading);
}

.newsletter-form-wrapper {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.newsletter-form {
    position: relative;
    display: flex;
    align-items: center;
}

.newsletter-input {
    width: 100%;
    padding: 16px 60px 16px 0;
    background: transparent;
    border: none;
    border-bottom: 2px solid rgba(255, 255, 255, 0.3);
    color: white;
    font-size: 1rem;
    font-family: 'Inter', sans-serif;
    transition: all 0.3s ease;
}

.newsletter-input::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

.newsletter-input:focus {
    outline: none;
    border-bottom-color: white;
}

.newsletter-submit {
    position: absolute;
    right: 0;
    background: white;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    color: #003AC5;
}

.newsletter-submit:hover {
    transform: scale(1.1);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.newsletter-consent {
    font-size: clamp(13px, 1.2vw, 14px);
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.5;
    margin: 0;
}

.newsletter-consent a {
    color: white;
    text-decoration: underline;
}

/* Blog List Section */
.blog-list-section {
    padding: 100px 24px;
    background: white;
}

.blog-list-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    gap: 60px;
}

.blog-post-link {
    text-decoration: none;
    color: inherit;
    display: block;
}

.blog-post {
    display: grid;
    grid-template-columns: 400px 1fr;
    gap: 40px;
    align-items: start;
}

.blog-post-image {
    width: 100%;
    height: 240px;
    border-radius: 8px;
    overflow: hidden;
}

.blog-post-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.blog-post:hover .blog-post-image img {
    transform: scale(1.05);
}

.blog-post-content {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.blog-post-meta {
    display: flex;
    align-items: center;
    gap: 12px;
    padding-bottom: 50px;
}

.blog-post-number {
    font-size: clamp(16px, 1.2vw, 20px);
    font-weight: 700;
    color: #1D54DD;
     font-family: var(--font-heading);
}

.blog-post-date {
    font-size: clamp(13px, 1.2vw, 14px);
    color: #666;
     font-family: var(--font-heading);
}

.blog-post-date.white { color: rgba(255, 255, 255, 0.7);}

.blog-post-title {
    font-size: clamp(22px, 1.2vw, 30px);
    font-weight: 600;
    color: #0A1630;
    margin: 0;
    line-height: 1.3;
    transition: color 0.3s ease;
     font-family: var(--font-heading);
}

.blog-post:hover .blog-post-title {
    color: #003AC5;
}

.blog-post-excerpt {
     font-size: clamp(13px, 1.2vw, 14px);
    color: #0A1630;
    line-height: 1.6;
    margin: 0;
}

/* Responsive */
@media (max-width: 1024px) {
    .blog-post {
        grid-template-columns: 250px 1fr;
        gap: 32px;
    }

    .blog-post-image {
        height: 200px;
    }
}

@media (max-width: 768px) {
    .blog-hero-section {
        padding: 40px 16px 0px;
    }

    .blog-post-meta{
        padding-bottom: 0;
    }

    .featured-post-section {
        padding: 40px 16px 60px;
    }

    .featured-post {
        grid-template-columns: 1fr;
        min-height: auto;
    }

    .featured-post-content {
        padding: 32px 24px;
    }

    .newsletter-section {
        padding: 60px 16px;
    }

    .newsletter-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .blog-list-section {
        padding: 60px 16px;
    }

    .blog-post {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .blog-post-image {
        height: 220px;
    }

    .blog-post-title {
        font-size: 1.25rem;
    }
}

@media (max-width: 480px) {
    .blog-tabs {
        gap: 8px;
    }

    .blog-tab {
        padding: 8px 16px;
        font-size: 0.875rem;
    }

    .featured-post-content {
        padding: 24px 20px;
    }

    .featured-post-title {
        font-size: 1.25rem;
    }

    .newsletter-title {
        font-size: 1.75rem;
    }
}
