body { font-family: 'Manrope', sans-serif; }
h1, h2, h3, .font-serif { font-family: 'Noto Serif', serif; }
.material-symbols-outlined { font-variation-settings: 'FILL' 0, 'wght' 400, 'GRAD' 0, 'opsz' 24; }
.hero-gradient { background: linear-gradient(to bottom, rgba(0,0,0,0.3) 0%, rgba(0,0,0,0) 50%, rgba(0,0,0,0.6) 100%); }
.footer-credit p { display: inline; margin: 0; }
.footer-credit a { text-decoration: underline; }
.footer-credit a:hover { color: #64748b; }

/* Shared typography and actions used by every blog post. */
.blog-rich-text {
    color: #404751;
    font-size: 1rem;
    line-height: 1.85;
}

.blog-rich-text > :first-child {
    margin-top: 0;
}

.blog-rich-text > :last-child {
    margin-bottom: 0;
}

.blog-rich-text p {
    margin: 0 0 1.1rem;
}

.blog-rich-text h2 {
    margin: 2.6rem 0 1rem;
    padding-left: 0.85rem;
    border-left: 3px solid #005e97;
    color: #1a1c1c;
    font-size: clamp(1.4rem, 2.5vw, 1.8rem);
    font-weight: 700;
    line-height: 1.3;
    letter-spacing: -0.015em;
}

.blog-rich-text h3 {
    margin: 1.8rem 0 0.65rem;
    color: #004a79;
    font-size: 1.18rem;
    font-weight: 700;
    line-height: 1.4;
}

.blog-rich-text ul,
.blog-rich-text ol {
    margin: 0.35rem 0 1.35rem;
    padding-left: 1.5rem;
}

.blog-rich-text ul {
    list-style: disc;
}

.blog-rich-text ol {
    list-style: decimal;
}

.blog-rich-text li {
    margin: 0.3rem 0;
    padding-left: 0.2rem;
}

.blog-rich-text li::marker {
    color: #005e97;
}

.blog-rich-text .blog-inline-link {
    color: #005e97;
    font-weight: 700;
    text-decoration: underline;
    text-decoration-color: #9acbff;
    text-decoration-thickness: 0.08em;
    text-underline-offset: 0.2em;
    transition: color 160ms ease, text-decoration-color 160ms ease;
}

.blog-rich-text .blog-inline-link:hover {
    color: #004a79;
    text-decoration-color: currentColor;
}

.blog-rich-text .blog-inline-link:focus-visible,
.blog-rich-text .blog-cta-button:focus-visible {
    outline: 3px solid #9acbff;
    outline-offset: 3px;
}

.blog-rich-text .blog-cta {
    display: flex;
    justify-content: center;
    margin: 2rem 0;
}

.blog-rich-text .blog-cta-button {
    display: inline-flex;
    min-height: 2.5rem;
    max-width: 100%;
    align-items: center;
    justify-content: center;
    padding: 0.6rem 1.3rem;
    border: 1px solid #005e97;
    border-radius: 9999px;
    background: #005e97;
    box-shadow: 0 6px 16px rgba(0, 94, 151, 0.16);
    color: #fff;
    font-size: 0.875rem;
    font-weight: 700;
    line-height: 1.25;
    text-align: center;
    text-decoration: none;
    transition: background-color 160ms ease, border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.blog-rich-text .blog-cta-button:hover {
    border-color: #004a79;
    background: #004a79;
    box-shadow: 0 8px 20px rgba(0, 74, 121, 0.2);
    color: #fff;
    transform: translateY(-1px);
}

@media (max-width: 640px) {
    .blog-rich-text {
        font-size: 0.975rem;
        line-height: 1.78;
    }

    .blog-rich-text h2 {
        margin-top: 2.2rem;
        padding-left: 0.7rem;
    }

    .blog-rich-text .blog-cta {
        margin: 1.65rem 0;
    }
}
