/* Blog page hero — light, navbar-readable */
.blog-hero {
    position: relative;
    padding: 7.5rem 0 4.5rem;
    background:
        radial-gradient(ellipse 80% 60% at 100% 0%, rgba(0, 80, 157, 0.08), transparent 55%),
        radial-gradient(ellipse 70% 50% at 0% 100%, rgba(0, 41, 107, 0.06), transparent 50%),
        linear-gradient(180deg, #f8fafc 0%, #eef3f9 55%, #ffffff 100%);
    overflow: hidden;
}

.blog-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(0, 41, 107, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 41, 107, 0.03) 1px, transparent 1px);
    background-size: 48px 48px;
    mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.45), transparent 85%);
    pointer-events: none;
}

.blog-hero .container {
    position: relative;
    z-index: 1;
}

.blog-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.35rem 0.9rem;
    border-radius: 999px;
    background: rgba(0, 41, 107, 0.08);
    color: #00296b;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.blog-hero-title {
    color: #00296b !important;
    font-weight: 700;
    letter-spacing: -0.02em;
    margin-bottom: 0.75rem;
}

.blog-hero-lead {
    color: #5a6a85;
    max-width: 36rem;
    margin-left: auto;
    margin-right: auto;
}

.blog-hero-meta {
    color: #6b7c93;
    font-size: 0.95rem;
}

.blog-hero-meta .mdi {
    color: #00296b;
}

.blog-breadcrumb {
    display: inline-flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.35rem;
    margin: 1.75rem auto 0;
    padding: 0.55rem 1rem;
    list-style: none;
    background: #ffffff;
    border: 1px solid rgba(0, 41, 107, 0.1);
    border-radius: 999px;
    box-shadow: 0 8px 24px rgba(0, 41, 107, 0.06);
}

.blog-breadcrumb .breadcrumb-item + .breadcrumb-item::before {
    content: "‹";
    color: #8aa0bf;
    padding: 0 0.35rem;
    float: none;
}

.blog-breadcrumb .breadcrumb-item a {
    color: #00296b;
    font-weight: 600;
    text-decoration: none;
}

.blog-breadcrumb .breadcrumb-item a:hover {
    color: #00509d;
}

.blog-breadcrumb .breadcrumb-item.active {
    color: #6b7c93;
}

.blog-hero-shape {
    color: #ffffff;
    margin-top: -1px;
}

/* Detail article shell */
.blog-article-section {
    background: #f5f7fb;
    padding-top: 2.5rem;
}

.blog-article-card {
    background: #ffffff;
    border: 1px solid rgba(0, 41, 107, 0.06);
    border-radius: 1.25rem;
    box-shadow: 0 18px 48px rgba(0, 41, 107, 0.07);
    overflow: hidden;
}

.blog-article-cover {
    width: 100%;
    max-height: 420px;
    object-fit: cover;
    display: block;
}

.blog-article-body {
    padding: 2rem 2.25rem 2.5rem;
}

@media (max-width: 767.98px) {
    .blog-article-body {
        padding: 1.35rem 1.25rem 1.75rem;
    }
}

.blog-article-excerpt {
    color: #4a5a73;
    font-size: 1.05rem;
    line-height: 1.85;
    border-right: 3px solid #00296b;
    padding-right: 1rem;
    margin-bottom: 1.75rem;
}

.blog-post-content {
    color: #3d4a5c;
    line-height: 1.95;
    font-size: 1.02rem;
}

.blog-post-content h1,
.blog-post-content h2,
.blog-post-content h3,
.blog-post-content h4 {
    color: #00296b;
    margin-top: 1.75rem;
    margin-bottom: 0.85rem;
    font-weight: 700;
}

.blog-post-content p {
    margin-bottom: 1.1rem;
}

.blog-post-content img {
    max-width: 100%;
    height: auto;
    border-radius: 0.75rem;
    margin: 1.25rem 0;
}

.blog-post-content a {
    color: #00509d;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.blog-post-content ul,
.blog-post-content ol {
    padding-right: 1.25rem;
    margin-bottom: 1.1rem;
}

.blog-post-content blockquote {
    margin: 1.5rem 0;
    padding: 1rem 1.25rem;
    background: #f0f4fa;
    border-right: 3px solid #00296b;
    border-radius: 0.75rem;
    color: #445468;
}

.blog-tags {
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(0, 41, 107, 0.08);
}

.blog-tag {
    display: inline-block;
    margin: 0 0.25rem 0.4rem 0;
    padding: 0.35rem 0.85rem;
    border-radius: 999px;
    background: rgba(0, 41, 107, 0.07);
    color: #00296b;
    font-size: 0.85rem;
    font-weight: 600;
}

.blog-related-title {
    color: #00296b;
    font-weight: 700;
}
