/* First-party blog surface. Keep the selectors scoped so existing marketing
 * pages retain their current typography and spacing. */
.blog-page {
    background: #fff;
}

.blog-shell {
    padding: 138px 0 84px;
}

.blog-container {
    max-width: 1120px;
}

.blog-intro {
    margin: 0 auto 44px;
    max-width: 760px;
    text-align: center;
}

.blog-eyebrow {
    color: #f73861;
    font-size: .78rem;
    font-weight: 700;
    letter-spacing: .12em;
    margin: 0 0 12px;
    text-transform: uppercase;
}

.blog-eyebrow a {
    color: inherit;
}

.blog-intro h1,
.blog-article-header h1 {
    color: #202020;
    font-weight: 700;
    line-height: 1.15;
    margin: 0;
}

.blog-intro h1 {
    font-size: clamp(2rem, 5vw, 3.25rem);
}

.blog-lede {
    color: #5d6470;
    font-size: 1.1rem;
    line-height: 1.7;
    margin: 18px auto 0;
    max-width: 650px;
}

.blog-grid {
    display: grid;
    gap: 30px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.blog-card {
    background: #fff;
    border: 1px solid #e7e9ed;
    border-radius: 8px;
    box-shadow: 0 8px 28px rgba(36, 45, 60, .07);
    overflow: hidden;
}

.blog-card-image,
.blog-hero {
    background: #f4f5f7;
    display: block;
    margin: 0;
    overflow: hidden;
}

.blog-card-image {
    aspect-ratio: 1200 / 630;
}

.blog-card-image img,
.blog-hero img {
    display: block;
    height: 100%;
    object-fit: cover;
    width: 100%;
}

.blog-card-body {
    padding: 25px 27px 28px;
}

.blog-card-meta {
    align-items: center;
    color: #6d7480;
    display: flex;
    flex-wrap: wrap;
    font-size: .82rem;
    gap: 8px;
    line-height: 1.5;
    margin: 0 0 12px;
}

.blog-card h2 {
    font-size: 1.45rem;
    line-height: 1.3;
    margin: 0 0 12px;
}

.blog-card h2 a {
    color: #202020;
}

.blog-card h2 a:hover,
.blog-read-more:hover {
    color: #f73861;
}

.blog-card-body > p:not(.blog-card-meta) {
    color: #5d6470;
    line-height: 1.7;
    margin: 0 0 18px;
}

.blog-read-more {
    color: #202020;
    font-size: .9rem;
    font-weight: 700;
}

.blog-pagination {
    margin-top: 42px;
}

.blog-pagination .pagination {
    justify-content: center;
    margin-bottom: 0;
}

.blog-empty {
    color: #5d6470;
    margin: 0 auto;
    max-width: 600px;
    text-align: center;
}

.blog-article-container {
    max-width: 860px;
}

.blog-article-card {
    background: #fff;
}

.blog-article-header {
    margin: 0 auto 32px;
    max-width: 780px;
    text-align: center;
}

.blog-article-header h1 {
    font-size: clamp(2rem, 5vw, 3.4rem);
}

.blog-article-header .blog-card-meta {
    justify-content: center;
    margin-top: 18px;
}

.blog-hero {
    aspect-ratio: 1200 / 630;
    border-radius: 8px;
    margin-bottom: 42px;
}

.blog-article {
    color: #2f3540;
    font-size: 1.08rem;
    line-height: 1.85;
    margin: 0 auto;
    max-width: 760px;
    overflow-wrap: anywhere;
}

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

.blog-article h2,
.blog-article h3,
.blog-article h4,
.blog-article h5,
.blog-article h6 {
    color: #202020;
    line-height: 1.3;
    margin: 1.8em 0 .65em;
}

.blog-article h2 {
    font-size: 1.8rem;
}

.blog-article h3 {
    font-size: 1.45rem;
}

.blog-article p,
.blog-article ul,
.blog-article ol,
.blog-article blockquote,
.blog-article pre,
.blog-article table,
.blog-article figure {
    margin: 0 0 1.35em;
}

.blog-article ul,
.blog-article ol {
    padding-left: 1.5em;
}

.blog-article a {
    color: #d92851;
    text-decoration: underline;
}

.blog-article blockquote {
    border-left: 4px solid #f73861;
    color: #5d6470;
    margin-left: 0;
    padding: 4px 0 4px 22px;
}

.blog-article img {
    height: auto;
    max-width: 100%;
}

.blog-article table {
    border-collapse: collapse;
    display: block;
    max-width: 100%;
    overflow-x: auto;
    width: max-content;
}

.blog-article th,
.blog-article td {
    border: 1px solid #dfe3e8;
    padding: 9px 12px;
    text-align: left;
}

.blog-article pre {
    background: #202733;
    border-radius: 6px;
    color: #f4f5f7;
    overflow-x: auto;
    padding: 18px;
}

.blog-article code {
    font-size: .9em;
}

.blog-article :not(pre) > code {
    background: #f0f2f5;
    border-radius: 3px;
    color: #202733;
    padding: .1em .3em;
}

@media (max-width: 767.98px) {
    .blog-shell {
        padding: 112px 0 60px;
    }

    .blog-grid {
        grid-template-columns: 1fr;
    }

    .blog-card-body {
        padding: 22px 21px 24px;
    }

    .blog-article {
        font-size: 1rem;
    }
}

@supports not (aspect-ratio: 1 / 1) {
    .blog-card-image,
    .blog-hero {
        height: 0;
        padding-top: 52.5%;
        position: relative;
    }

    .blog-card-image img,
    .blog-hero img {
        left: 0;
        position: absolute;
        top: 0;
    }
}
