/*
 * Styling for the blog (overview block + article pages).
 *
 * The original Webflow site has no blog, so these pages are new. They are built
 * from the same design tokens as the rest of the site — the grey hero band, the
 * white rounded content band, the 16px radius, the Satoshi type scale and the
 * green accent — so they read as part of the same website.
 */

/* ------------------------------------------------------------------ index -- */

.section-blog-list {
    background-color: var(--_variable-collection---grey--100);
    justify-content: center;
    align-items: center;
    width: 100%;
    padding: 0 0 80px;
    display: flex;
}

.blog-list-card {
    background-color: var(--_variable-collection---white);
    border-radius: 16px;
    justify-content: center;
    align-items: center;
    width: 100%;
    padding: 80px 80px 120px;
    display: flex;
}

.blog-list-inner {
    display: flex;
    flex-direction: column;
    gap: 40px;
    width: 100%;
    max-width: 1440px;
}

.blog-list-heading {
    display: flex;
    flex-direction: column;
    gap: 12px;
    max-width: 800px;
}

.blog-list-heading .heading-l {
    width: auto;
}

.blog-grid {
    display: grid;
    grid-auto-columns: 1fr;
    grid-template-columns: 1fr 1fr 1fr;
    grid-column-gap: 32px;
    grid-row-gap: 32px;
    width: 100%;
}

.blog-card {
    display: flex;
    flex-flow: column;
    width: 100%;
}

.blog-card-link {
    border: 1px solid var(--_variable-collection---grey--200);
    border-radius: 16px;
    background-color: var(--_variable-collection---white);
    display: flex;
    flex-flow: column;
    width: 100%;
    height: 100%;
    text-decoration: none;
    overflow: hidden;
    transition: transform 0.4s ease, box-shadow 0.4s ease, border-color 0.4s ease;
}

.blog-card-link:hover {
    border-color: var(--_variable-collection---green--300);
    box-shadow: 0 18px 40px -24px rgba(0, 0, 0, 0.35);
    transform: translateY(-6px);
}

.blog-card-media {
    background-color: var(--_variable-collection---grey--100);
    aspect-ratio: 16 / 10;
    width: 100%;
    overflow: hidden;
}

.blog-card-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.6s ease;
}

.blog-card-link:hover .blog-card-media img {
    transform: scale(1.05);
}

.blog-card-body {
    display: flex;
    flex-flow: column;
    flex: 1;
    gap: 12px;
    padding: 24px;
}

.blog-card-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    color: var(--_variable-collection---grey--700);
    font-family: Satoshi, Impact, sans-serif;
    font-size: 13px;
    font-weight: 500;
    line-height: 150%;
}

.blog-card-tag {
    background-color: var(--_variable-collection---green--100);
    color: var(--_variable-collection---green--900);
    border-radius: 100px;
    padding: 4px 12px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.02em;
    text-transform: uppercase;
}

.blog-card-title {
    color: var(--_variable-collection---black--900);
    font-family: Satoshi, Impact, sans-serif;
    font-size: 22px;
    font-weight: 900;
    line-height: 130%;
    margin: 0;
}

.blog-card-excerpt {
    color: var(--_variable-collection---black--600);
    font-size: 15px;
    line-height: 155%;
}

.blog-card-more {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: auto;
    padding-top: 8px;
    color: var(--_variable-collection---green--700);
    font-size: 15px;
    font-weight: 700;
}

.blog-card-more .button-icon {
    display: flex;
    align-items: center;
    width: 16px;
    height: 16px;
    transition: transform 0.3s ease;
}

.blog-card-link:hover .blog-card-more .button-icon {
    transform: translateX(4px);
}

.blog-list-button {
    display: flex;
    justify-content: center;
    width: 100%;
}

.blog-empty {
    border: 1px dashed var(--_variable-collection---grey--300);
    border-radius: 16px;
    color: var(--_variable-collection---grey--700);
    padding: 56px 32px;
    text-align: center;
    font-size: 16px;
}

/* ------------------------------------------------------------------- post -- */

.section-blog-hero {
    background-color: var(--_variable-collection---grey--100);
    justify-content: center;
    align-items: center;
    width: 100%;
    padding: 240px 80px 40px;
    display: flex;
}

.blog-hero-inner {
    display: flex;
    flex-direction: column;
    gap: 20px;
    width: 100%;
    max-width: 900px;
}

.blog-back {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--_variable-collection---grey--700);
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
    transition: color 0.2s ease;
}

.blog-back:hover {
    color: var(--_variable-collection---green--700);
}

.blog-back .button-icon {
    display: flex;
    align-items: center;
    width: 16px;
    height: 16px;
    transform: rotate(180deg);
}

.blog-hero-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
    color: var(--_variable-collection---grey--700);
    font-size: 14px;
    font-weight: 500;
}

.blog-hero-meta .blog-card-tag {
    font-size: 12px;
}

.section-blog-article {
    background-color: var(--_variable-collection---grey--100);
    justify-content: center;
    align-items: center;
    width: 100%;
    padding: 0 80px 80px;
    display: flex;
}

.blog-article-card {
    background-color: var(--_variable-collection---white);
    border-radius: 16px;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 96px;
    width: 100%;
    padding: 80px 80px 96px;
    display: flex;
}

.blog-article {
    display: flex;
    flex-direction: column;
    gap: 40px;
    width: 100%;
    max-width: 800px;
}

.blog-article-cover {
    border-radius: 16px;
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

.blog-article-body {
    color: var(--_variable-collection---black--600);
    font-family: Satoshi, Impact, sans-serif;
    font-size: 16px;
    font-weight: 400;
    line-height: 165%;
}

.blog-article-body > * + * {
    margin-top: 18px;
}

.blog-article-body h2,
.blog-article-body h3,
.blog-article-body h4 {
    color: var(--_variable-collection---black--900);
    font-weight: 900;
    line-height: 130%;
    margin-top: 40px;
}

.blog-article-body h2 {
    font-size: 28px;
}

.blog-article-body h3 {
    font-size: 22px;
}

.blog-article-body a {
    color: var(--_variable-collection---green--700);
    text-decoration: underline;
    text-underline-offset: 2px;
}

.blog-article-body a:hover {
    color: var(--_variable-collection---green--900);
}

.blog-article-body ul,
.blog-article-body ol {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.blog-article-body li {
    position: relative;
    padding-left: 26px;
}

/* Same green bullet the service pages use. */
.blog-article-body ul > li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 9px;
    width: 11px;
    height: 11px;
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center;
    background-image: url("data:image/svg+xml,%3Csvg%20xmlns%3D'http%3A//www.w3.org/2000/svg'%20viewBox%3D'0%200%2024%2024'%3E%3Cpath%20fill%3D'%2371BF9A'%20d%3D'M8.23079%200.330785L22.5698%2010.0734C23.8626%2010.9517%2023.4922%2013.0525%2021.8896%2013.9308L4.12253%2023.6692C2.45856%2024.5813%200.726815%2023.4995%201.03621%2021.7413L4.46431%202.2603C4.77384%200.50138%206.88792%20-0.581618%208.23079%200.330785Z'/%3E%3C/svg%3E");
}

.blog-article-body ol {
    counter-reset: blog-ol;
}

.blog-article-body ol > li {
    counter-increment: blog-ol;
}

.blog-article-body ol > li::before {
    content: counter(blog-ol) ".";
    position: absolute;
    left: 0;
    top: 0;
    color: var(--_variable-collection---black--900);
    font-weight: 700;
}

.blog-article-body blockquote {
    border-left: 3px solid var(--_variable-collection---green--500);
    color: var(--_variable-collection---black--900);
    font-size: 20px;
    font-style: normal;
    font-weight: 500;
    line-height: 150%;
    margin: 32px 0;
    padding-left: 24px;
}

.blog-article-body img {
    border-radius: 12px;
    max-width: 100%;
    height: auto;
}

.blog-article-body figure {
    margin: 32px 0;
}

.blog-article-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.blog-article-tags span {
    background-color: var(--_variable-collection---grey--100);
    color: var(--_variable-collection---grey--900);
    border-radius: 100px;
    padding: 6px 14px;
    font-size: 13px;
    font-weight: 500;
}

/* Related articles */

.blog-related {
    display: flex;
    flex-direction: column;
    gap: 32px;
    border-top: 1px solid var(--_variable-collection---grey--200);
    padding-top: 56px;
    width: 100%;
    max-width: 1440px;
}

.blog-related-grid {
    display: grid;
    grid-auto-columns: 1fr;
    grid-template-columns: 1fr 1fr 1fr;
    grid-column-gap: 32px;
    grid-row-gap: 32px;
    width: 100%;
}

/* -------------------------------------------------------------- responsive -- */

@media screen and (max-width: 991px) {
    .blog-list-card,
    .blog-article-card {
        padding: 56px 5vw 72px;
    }

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

    .section-blog-hero {
        padding: 200px 5vw 32px;
    }

    .section-blog-article {
        padding: 0 5vw 56px;
    }
}

@media screen and (max-width: 767px) {
    .blog-grid,
    .blog-related-grid {
        grid-template-columns: 1fr;
    }
}

@media screen and (max-width: 479px) {
    .blog-list-card,
    .blog-article-card {
        padding: 40px 5vw 56px;
    }

    .section-blog-hero {
        padding: 160px 5vw 28px;
    }

    .blog-card-title {
        font-size: 20px;
    }

    .blog-article-body {
        font-size: 15px;
    }
}

/*
 * The Webflow stylesheet carries a global `a { padding-top: 141px }`; anchors in
 * these new components need the same reset as the other rebuilt sections.
 */
:where(.blog-list-card, .blog-article-card) a {
    padding-top: 0;
}
