/* Global Body Styles */
body {
    font-family: 'Geist', sans-serif;
    background-color: #FFFFFF;
    color: #344054;
    margin: 0;
    padding: 0;
}

/* Main Blog Detail Container */
.blog-detail-container {
    max-width: 853px;
    margin: 0 auto;
    padding: 40px 20px; /* Added side padding for smaller screens */
}

/* Breadcrumbs Styling */
.breadcrumbs-container {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 32px;
    font-family: 'Be Vietnam Pro', sans-serif;
    font-size: 14px;
    font-weight: 400;
    line-height: 20px;
}

.breadcrumbs-container a {
    color: #475467;
    text-decoration: none;
}

.breadcrumbs-container a:hover {
    text-decoration: underline;
}

.breadcrumbs-container .separator {
    color: #98A2B3;
}

.breadcrumbs-container .current-page {
    color: #1D2939;
    font-weight: 500;
}

/* Blog Post Header Section */
.blog-post-header {
    display: flex;
    flex-direction: column;
    align-items: flex-start; /* Figma shows content aligned left */
    gap: 24px;
    margin-bottom: 32px;
}

.blog-post-tags {
    display: flex;
    gap: 8px;
    flex-wrap: wrap; /* Allow tags to wrap */
}

.blog-post-tags .tag {
    padding: 4px 12px;
    background: #EBF1FD;
    border-radius: 16px;
    font-family: 'Be Vietnam Pro', sans-serif;
    font-size: 14px;
    font-weight: 500;
    line-height: 20px;
    color: #1583D0;
    text-transform: uppercase;
}

.blog-post-title {
    font-family: 'Be Vietnam Pro', sans-serif;
    font-size: 48px;
    font-weight: 600;
    line-height: 56px;
    letter-spacing: -0.02em; /* As per Figma */
    color: #1D2939;
    margin: 0; /* Reset default margin */
}

.blog-post-meta {
    display: flex;
    align-items: center;
    gap: 12px;
}

.blog-post-meta .author-avatar {
    width: 56px;
    height: 56px;
    border-radius: 200px; /* Figma uses large radius for circle */
    object-fit: cover;
}

.blog-post-meta .author-details {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.blog-post-meta .author-name {
    font-family: 'Be Vietnam Pro', sans-serif;
    font-size: 18px;
    font-weight: 500;
    line-height: 28px;
    color: #1D2939;
}

.blog-post-meta .post-date {
    font-family: 'Geist', sans-serif;
    font-size: 16px;
    font-weight: 400;
    line-height: 24px;
    color: #475467;
}

/* Blog Hero Image */
.blog-hero-image {
    width: 100%;
    height: 452px;
    border-radius: 16px;
    margin-bottom: 40px;
    background-image: url('../images/blogs/blog-detail-hero.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

/* Blog Content Wrapper */
.blog-content {
    font-family: 'Geist', sans-serif;
    font-size: 18px;
    font-weight: 400;
    line-height: 28px;
    color: #344054;
}

.blog-content h2 {
    font-family: 'Be Vietnam Pro', sans-serif;
    font-size: 32px;
    font-weight: 600;
    line-height: 40px;
    color: #1D2939;
    margin-top: 40px;
    margin-bottom: 16px;
}

.blog-content p {
    margin-bottom: 24px;
}

.blog-content ul {
    list-style-position: outside;
    padding-left: 20px; /* Indent list items */
    margin-top: 0; /* Align with paragraph flow */
    margin-bottom: 24px;
}

.blog-content li {
    margin-bottom: 8px;
}

.blog-content a {
    color: #1583D0;
    text-decoration: underline;
}

.blog-content a:hover {
    text-decoration: none;
}

/* Inline Image Styling */
.inline-image-container {
    margin-top: 32px;
    margin-bottom: 32px;
    display: flex;
    flex-direction: column;
    align-items: center; /* Center image and caption */
    gap: 12px;
}

.inline-blog-image {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
}

.inline-image-container figcaption {
    font-family: 'Geist', sans-serif;
    font-size: 14px;
    font-weight: 400;
    line-height: 20px;
    color: #475467;
    text-align: center;
}

/* Blockquote Styling */
.blog-content blockquote {
    margin-top: 32px;
    margin-bottom: 32px;
    padding: 24px;
    background: #F9FAFB;
    border-left: 4px solid #1583D0;
}

.blog-content blockquote .quote-text {
    font-family: 'Be Vietnam Pro', sans-serif;
    font-style: italic;
    font-size: 24px;
    font-weight: 500;
    line-height: 32px;
    color: #1D2939;
    margin: 0 0 16px 0; /* Remove default p margin if quote-text is p */
}

.blog-content .quote-author-info {
    display: flex;
    align-items: center;
    gap: 12px;
}

.blog-content .quote-author-avatar {
    width: 48px;
    height: 48px;
    border-radius: 200px; /* Circular avatar */
    object-fit: cover;
}

.blog-content .quote-author-name {
    font-family: 'Geist', sans-serif;
    font-size: 16px;
    font-weight: 400;
    line-height: 24px;
    color: #475467;
}

/* Responsive adjustments if needed */
@media (max-width: 768px) {
    .blog-post-title {
        font-size: 36px; /* Adjust title size for smaller screens */
        line-height: 44px;
    }

    .blog-content h2 {
        font-size: 28px; /* Adjust heading size */
        line-height: 36px;
    }

    .blog-hero-image {
        height: 300px; /* Adjust hero image height */
    }
}

@media (max-width: 480px) {
    .blog-detail-container {
        padding: 20px 15px;
    }
    .blog-post-title {
        font-size: 28px;
        line-height: 36px;
    }
    .blog-content h2 {
        font-size: 24px;
        line-height: 32px;
    }
    .blog-post-meta .author-avatar {
        width: 48px;
        height: 48px;
    }
    .blog-post-meta .author-name {
        font-size: 16px;
    }
    .blog-post-meta .post-date {
        font-size: 14px;
    }
    .blog-content blockquote .quote-text {
        font-size: 20px;
        line-height: 28px;
    }
}
