@font-face {
    font-display: swap;
    font-family: GoogleSans;
    font-weight: 400;
    font-style: normal;
    src: local('googleSans-Regular'), url(/assets/fonts/googleSans-Regular.woff2) format('woff2');
}

@font-face {
    font-display: swap;
    font-family: GoogleSans;
    font-weight: 700;
    font-style: normal;
    src: local('googleSans-Bold'), url(/assets/fonts/googleSans-Bold.woff2) format('woff2');
}

body {
    font-family: GoogleSans, Helvetica, Arial, system-ui, sans-serif, serif;
    font-weight: 400;
    color: #333;
}

.separator-pill {
    width: 24px;
    height: 6px;
    background: #045fac;
    border-radius: 6px;
    text-align: center;
    display: inline-block;
}

.text-darker5 {
    color: #515151;
}

.text-darker6 {
    color: #6c6c6c;
}

/* Shared page styles (extracted from inline <style> blocks) */
.search-input:focus {
    outline: none;
}

h1.font-serif, span.font-serif {
    font-family: 'Playfair Display', serif;
}

.two-lines {
    line-height: 1.5;
    min-height: 3em;
    overflow: hidden;
}

/* ===== Blog Posts Listing ===== */
.blog-posts-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.blog-post-card {
    display: block;
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 1px 4px rgba(0,0,0,0.06);
    transition: box-shadow 0.25s ease, transform 0.25s ease;
    text-decoration: none;
    color: inherit;
}
.blog-post-card:hover {
    box-shadow: 0 6px 20px rgba(0,0,0,0.1);
    transform: translateY(-2px);
}

.blog-post-card-image {
    width: 100%;
    aspect-ratio: 16/9;
    overflow: hidden;
}
.blog-post-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}
.blog-post-card:hover .blog-post-card-image img {
    transform: scale(1.05);
}

.blog-post-card-body {
    padding: 16px;
}

.blog-post-card-category {
    display: inline-block;
    font-size: 12px;
    color: #07337b;
    font-weight: 600;
    margin-bottom: 6px;
}

.blog-post-card-title {
    font-size: 16px;
    font-weight: 600;
    color: #1a1a1a;
    line-height: 1.4;
    margin-bottom: 8px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.blog-post-card-desc {
    font-size: 13px;
    color: #999;
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* ===== Blog Detail Two-Column Layout ===== */
.blog-detail-layout {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 40px;
    align-items: start;
}

.blog-detail-main {
    min-width: 0;
}

/* Article prose */
.blog-article-content h4 {
    font-size: 18px;
    font-weight: 700;
    color: #1a1a1a;
    margin-top: 28px;
    margin-bottom: 10px;
}
.blog-article-content h4:first-child {
    margin-top: 0;
}
.blog-article-content p {
    font-size: 15px;
    color: #555;
    line-height: 1.7;
    margin-bottom: 16px;
}

/* Share buttons */
.blog-share-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    color: #fff;
    transition: opacity 0.2s ease;
}
.blog-share-btn:hover {
    opacity: 0.85;
}

/* ===== Blog Sidebar ===== */
.blog-sidebar-card {
    display: flex;
    gap: 12px;
    text-decoration: none;
    color: inherit;
}

.blog-sidebar-card-img {
    width: 90px;
    height: 64px;
    object-fit: cover;
    border-radius: 8px;
    flex-shrink: 0;
}

/* ===== Responsive ===== */
@media (max-width: 768px) {
    .blog-posts-grid {
        grid-template-columns: 1fr;
    }
    .blog-detail-layout {
        grid-template-columns: 1fr;
        gap: 32px;
    }
}