/* General Styles for Blog Page */

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section-title {
    font-family: 'Be Vietnam Pro', sans-serif;
    font-size: 36px;
    font-weight: 600;
    color: #101828;
    margin-bottom: 48px;
}

/* Blog Header Section */
.blog-header-section {
    padding: 80px 0;
    text-align: center;
    background-color: #F9FAFB;
    border-bottom: 1px solid #EAECF0;
}

.blog-main-title {
    font-family: 'Be Vietnam Pro', sans-serif;
    font-size: 48px;
    font-weight: 700;
    color: #101828;
    margin-bottom: 16px;
}

.blog-main-subtitle {
    font-family: 'Geist', sans-serif;
    font-size: 20px;
    color: #475467;
    max-width: 600px;
    margin: 0 auto;
}

/* Featured Blogs Section */
/* Featured Blogs Section */
.featured-blogs-section {
    padding: 80px 0;
}

.featured-blogs-title {
    font-family: 'Be Vietnam Pro', sans-serif;
    font-size: 24px;
    font-weight: 600;
    color: #101828;
    margin-bottom: 32px;
}

.featured-blog-card {
    position: relative;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
    background-color: #F0F5FF;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid #D9E2F5;
}

.featured-blog-content {
    padding: 48px;
}

.featured-blog-title {
    font-family: 'Be Vietnam Pro', sans-serif;
    font-size: 30px;
    font-weight: 600;
    color: #101828;
    margin-bottom: 16px;
}

.featured-blog-meta {
    font-family: 'Geist', sans-serif;
    font-size: 16px;
    color: #475467;
    margin-bottom: 24px;
}

.featured-blog-tags .tag {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 16px;
    font-family: 'Geist', sans-serif;
    font-size: 14px;
    font-weight: 500;
    margin-right: 8px;
    background-color: #F2F4F7;
    color: #344054;
}

.card-bg-pattern {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('../images/card-bg-pattern.svg');
    background-repeat: no-repeat;
    background-position: bottom left;
    z-index: 1;
}

.featured-blog-content .btn-read-more {
    display: inline-block;
    margin-top: 32px;
    padding: 10px 18px;
    font-family: 'Be Vietnam Pro', sans-serif;
    font-weight: 600;
    color: #344054;
    background-color: #FFFFFF;
    border: 1px solid #D0D5DD;
    border-radius: 8px;
    text-decoration: none;
    box-shadow: 0 1px 2px rgba(16, 24, 40, 0.05);
    transition: background-color 0.3s;
}

.featured-blog-content .btn-read-more:hover {
    background-color: #F9FAFB;
}

.featured-blog-image-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.featured-blog-nav {
    position: absolute;
    right: -80px;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
}

.carousel-nav-button {
    background-color: #FFFFFF;
    border: 1px solid #D0D5DD;
    border-radius: 50%;
    width: 44px;
    height: 44px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #667085;
    box-shadow: 0 1px 2px rgba(16, 24, 40, 0.05);
}

.carousel-nav-button:hover {
    background-color: #F9FAFB;
}

.carousel-dots {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.carousel-dots .dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: #D0D5DD;
    cursor: pointer;
}

.carousel-dots .dot.active {
    background-color: #1D2939;
}

/* Overrides for Blog List section */
.blog-filters .filter-btn {
    background-color: transparent;
    border: 1px solid #D0D5DD;
    color: #344054;
    transition: all 0.3s ease;
}

.blog-filters .filter-btn:hover {
    background-color: #F5FAFF;
    border-color: #1583D0;
    color: #1583D0;
}

.blog-filters .filter-btn.active {
    background-color: #1583D0;
    border-color: #1583D0;
    color: #FFFFFF;
}

/* Overrides for Featured Blogs section to match Figma */
.featured-blogs-section.case-studies-section {
    padding: 50px 0;
}

.featured-blogs-section .case-studies-container {
    width: 1240px; /* Figma width */
    max-width: 100%;
    margin: 0 auto; /* Center container */
    display: flex;
    flex-direction: column;
    align-items: flex-start; /* Title is left-aligned */
    gap: 20px;
}

.featured-blogs-section .case-studies-header {
    width: 100%;
}

.featured-blogs-section .case-studies-title {
    font-family: 'Geist', sans-serif;
    font-weight: 500;
    font-size: 26px;
    line-height: 34px;
    color: #252525;
}

.featured-blogs-section .case-studies-body {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 20px;
    width: 100%;
}

.featured-blogs-section .case-study-card {
    box-sizing: border-box;
    display: flex;
    flex-direction: row;
    align-items: center;
    padding: 24px;
    gap: 40px;
    background: #EBF1FD;
    border: 2px solid #C0D4FA;
    border-radius: 16px;
    flex-grow: 1; /* Allow card to take up available space */
    height: 516px; /* Maintain height from Figma */
    position: relative;
    overflow: hidden;
}

.featured-blogs-section .case-study-text-content {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: flex-start;
    align-self: stretch;
    width: 484px; /* Made narrower to give image more space */
    z-index: 1;
}

.featured-blogs-section .case-study-card-top-content {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.featured-blogs-section .featured-blog-meta {
    font-family: 'Geist', sans-serif;
    font-weight: 600;
    font-size: 18px;
    line-height: 24px;
    color: #1D3F83;
}

.featured-blogs-section .case-study-heading {
    font-family: 'Be Vietnam Pro', sans-serif;
    font-weight: 600;
    font-size: 32px;
    line-height: 36px;
    color: #0E0E0E;
}

.featured-blogs-section .case-study-tags {
    display: flex;
    flex-direction: row;
    gap: 8px;
}

.featured-blogs-section .case-study-tag {
    box-sizing: border-box;
    padding: 8px 12px;
    background: #C0D4FA;
    border: 1px solid #A2BFF7;
    border-radius: 8px;
    font-family: 'Be Vietnam Pro', sans-serif;
    font-size: 16px;
    color: #1D3F83;
}

.featured-blogs-section .case-study-read-more {
    box-sizing: border-box;
    padding: 14px 24px;
    background: #FFFFFF;
    border: 2px solid #1583D0;
    border-radius: 12px;
    font-family: 'Be Vietnam Pro', sans-serif;
    font-size: 16px;
    color: #141414;
    text-decoration: none;
}

.featured-blogs-section .case-study-image-container {
    width: 612px; /* Made wider */
    height: 468px;
    flex-shrink: 0;
    border-radius: 16px;
    overflow: hidden;
}

.featured-blogs-section .case-study-image {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Fill container to make image wider */
}

.featured-blogs-section .card-bg-pattern {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('../images/card-bg-pattern.svg');
    background-size: cover;
    background-position: center;
    opacity: 0.5;
    z-index: 0;
}

.featured-blogs-section .case-study-carousel-nav {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 16px;
    width: 36px; /* Figma: 36px */
    flex-shrink: 0; /* Prevent nav from shrinking */
}

.featured-blogs-section .case-study-nav-button {
    box-sizing: border-box;
    width: 36px;
    height: 36px;
    border: 1px solid #3573EE;
    border-radius: 50%;
    background-color: #FFFFFF;
    color: #3573EE;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 14px; /* Make icon visible */
}

.featured-blogs-section .case-study-nav-dots {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
}

.featured-blogs-section .case-study-nav-dot {
    box-sizing: border-box;
    width: 12px;
    height: 12px;
    background: #A2BFF7;
    border-radius: 50%;
    cursor: pointer;
}

.featured-blogs-section .case-study-nav-dot.active {
    background: #3573EE;
}
