/* Blog — Figma 808:14315 */

.blog-page {
    overflow-x: clip;
    background: #fff;
    direction: rtl;
}

.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* ── Hero — Figma 808:14317 / 808:14319
   Parent bg: white + rgba(243,241,255,0.3) wash
   Ellipse 15: #6A19FF @ 0.61, blur 150, bottom-center bloom
   ── */
.blog-hero {
    position: relative;
    overflow: hidden;
    box-sizing: border-box;
    margin-top: -84px;
    min-height: 765px;
    padding: 140px 32px 48px;
    border-radius: 0 0 50px 50px;
    /* Exact Figma parent fills */
    background-color: #ffffff;
    background-image: linear-gradient(
        90deg,
        rgba(243, 241, 255, 0.3) 0%,
        rgba(243, 241, 255, 0.3) 100%
    );
}

/* Transparent nav over hero wash (until scrolled) */
body:has(.blog-page) #main-nav:not(.nav-scrolled) {
    background-color: transparent !important;
    background-image: none !important;
    box-shadow: none;
    backdrop-filter: none;
}

/* Restore solid/blurred nav once the user scrolls */
body:has(.blog-page) #main-nav.nav-scrolled {
    background-color: rgba(255, 255, 255, 0.92) !important;
    backdrop-filter: blur(12px);
    box-shadow: 0 4px 24px rgba(106, 25, 255, 0.08);
}

.blog-hero__bg {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
    z-index: 0;
}

/*
  Soft CSS bloom matching Ellipse 15 (#6A19FF @ 0.61 → diffused lavender).
  Peak sits at the bottom center behind search/filters.
*/
.blog-hero__bg::before {
    content: '';
    position: absolute;
    left: 50%;
    bottom: -8%;
    width: min(1100px, 140%);
    height: 78%;
    transform: translateX(-50%);
    background: radial-gradient(
        ellipse 58% 62% at 50% 88%,
        rgba(106, 25, 255, 0.34) 0%,
        rgba(106, 25, 255, 0.18) 28%,
        rgba(106, 25, 255, 0.07) 48%,
        rgba(243, 241, 255, 0.25) 62%,
        rgba(255, 255, 255, 0) 78%
    );
    pointer-events: none;
}

/*
  Figma asset (blur baked in). Center of asset must sit near the
  bottom of the 765px hero — not below the clip edge.
  center ≈ 700 → top = 700 − 682 ≈ 18
*/
.blog-hero__ellipse {
    position: absolute;
    left: 50%;
    top: 18px;
    width: 1382px;
    height: 1364px;
    max-width: none;
    transform: translateX(-50%);
    opacity: 0.95;
    pointer-events: none;
    object-fit: fill;
}

.blog-hero__inner {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0;
    max-width: 1210px;
    margin-inline: auto;
}

.blog-hero__copy {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 24px;
    max-width: 812px;
    min-height: 280px;
    text-align: center;
}

.blog-hero__badge {
    display: inline-flex;
    flex-direction: row-reverse;
    align-items: center;
    justify-content: center;
    gap: 4px;
    padding: 4px 8px 4px 4px;
    border: 1px solid #d6cfff;
    border-radius: 999px;
    background: #f3f1ff;
    color: #6a19ff;
    font-size: 14px;
    line-height: 20px;
    font-weight: 500;
    white-space: nowrap;
}

.blog-hero__badge img {
    display: block;
    width: 16px;
    height: 16px;
    flex-shrink: 0;
}

.blog-hero__title {
    margin: 0;
    font-size: 60px;
    line-height: 72px;
    font-weight: 400;
    letter-spacing: -1.2px;
    color: #181d27;
}

.blog-hero__title-accent {
    display: block;
    color: #6819fa;
    text-decoration: none;
}

.blog-hero__desc {
    margin: 0;
    max-width: 759px;
    font-size: 20px;
    line-height: 30px;
    font-weight: 400;
    color: #535862;
}

.blog-search {
    width: 100%;
    max-width: 724px;
    margin-top: 48px;
}

.blog-search__field {
    display: flex;
    align-items: center;
    gap: 8px;
    box-sizing: border-box;
    width: 100%;
    height: 48px;
    padding: 10px 14px;
    border: 1px solid #d5d7da;
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 1px 2px rgba(10, 13, 18, 0.05);
}

.blog-search__field input {
    flex: 1 1 auto;
    min-width: 0;
    border: 0;
    outline: 0;
    background: transparent;
    font-family: inherit;
    font-size: 16px;
    line-height: 24px;
    color: #181d27;
    text-align: right;
}

.blog-search__field input::placeholder {
    color: #6b7280;
}

.blog-search__field img {
    flex-shrink: 0;
    width: 20px;
    height: 20px;
}

.blog-filters {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-top: 24px;
}

.blog-filters__chip {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 12px 18px;
    border: 1px solid #d5d7da;
    border-radius: 8px;
    background: #fff;
    color: #414651;
    font-size: 16px;
    line-height: 24px;
    font-weight: 500;
    text-decoration: none;
    box-shadow: 0 1px 2px rgba(10, 13, 18, 0.05);
    transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.blog-filters__chip.is-active,
.blog-filters__chip:hover {
    border-color: transparent;
    background: #6a19ff;
    color: #fff;
    box-shadow: 0 1px 2px rgba(10, 13, 18, 0.05);
}

/* ── Featured ── */
.blog-featured {
    box-sizing: border-box;
    padding: 64px 48px;
    background: #fff;
}

.blog-featured__inner {
    max-width: 1344px;
    margin-inline: auto;
}

.blog-featured__heading {
    margin: 0 0 32px;
    padding-inline: 32px;
    font-size: 24px;
    line-height: 32px;
    font-weight: 500;
    color: #181d27;
    text-align: right;
}

.blog-featured__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
    padding-inline: 32px;
}

.blog-featured__side {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.blog-feature {
    display: flex;
    text-decoration: none;
    color: inherit;
}

.blog-feature--main {
    flex-direction: column;
    gap: 16px;
}

.blog-feature--side {
    flex-direction: row;
    align-items: stretch;
    gap: 16px;
}

.blog-feature__media {
    overflow: hidden;
    border-radius: 16px;
    background: #f3f1ff;
}

.blog-feature--main .blog-feature__media {
    width: 100%;
    aspect-ratio: 592 / 395;
}

.blog-feature--side .blog-feature__media {
    flex: 0 0 320px;
    width: 320px;
    max-width: 48%;
    aspect-ratio: 320 / 213;
}

.blog-feature__media img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.blog-feature__body {
    display: flex;
    flex: 1 1 auto;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    min-width: 0;
    text-align: right;
}

.blog-feature__meta {
    margin: 0;
    font-size: 14px;
    line-height: 20px;
    font-weight: 500;
    color: #6a19ff;
}

.blog-feature__title {
    margin: 0;
    font-size: 18px;
    line-height: 28px;
    font-weight: 600;
    color: #181d27;
}

.blog-feature--main .blog-feature__title {
    font-size: 24px;
    line-height: 32px;
}

.blog-feature__excerpt {
    margin: 0;
    font-size: 16px;
    line-height: 24px;
    font-weight: 400;
    color: #535862;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.blog-badge {
    display: inline-flex;
    align-items: center;
    margin-top: auto;
    padding: 2px 10px;
    border-radius: 999px;
    background: var(--badge-bg, #f0f9ff);
    color: #026aa2;
    font-size: 12px;
    line-height: 20px;
    font-weight: 500;
}

/* ── Newsletter ── */
.blog-newsletter {
    box-sizing: border-box;
    padding: 0 113px;
}

.blog-newsletter__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
    box-sizing: border-box;
    max-width: 1214px;
    margin-inline: auto;
    padding: 64px;
    border-radius: 24px;
    background: #fafafa;
}

.blog-newsletter__copy {
    flex: 1 1 574px;
    max-width: 574px;
    text-align: right;
}

.blog-newsletter__title {
    margin: 0 0 20px;
    font-size: 36px;
    line-height: 44px;
    font-weight: 500;
    letter-spacing: -0.72px;
    color: #181d27;
}

.blog-newsletter__desc {
    margin: 0;
    font-size: 20px;
    line-height: 30px;
    color: #535862;
}

.blog-newsletter__form {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    flex: 0 1 480px;
}

.blog-newsletter__field {
    flex: 1 1 auto;
}

.blog-newsletter__field input {
    box-sizing: border-box;
    width: 100%;
    min-height: 48px;
    padding: 12px 14px;
    border: 1px solid #d5d7da;
    border-radius: 12px;
    background: #fff;
    font-family: inherit;
    font-size: 16px;
    text-align: right;
}

.blog-newsletter__btn {
    flex-shrink: 0;
    min-height: 48px;
    padding: 12px 18px;
    border: 0;
    border-radius: 8px;
    background: #6a19ff;
    color: #fff;
    font-family: inherit;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
}

/* ── Latest ── */
.blog-latest {
    box-sizing: border-box;
    padding: 96px 32px;
}

.blog-latest__inner {
    max-width: 1280px;
    margin-inline: auto;
}

.blog-latest__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 32px;
}

.blog-latest__title {
    margin: 0;
    font-size: 24px;
    line-height: 32px;
    font-weight: 500;
    color: #181d27;
}

.blog-latest__all {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    color: #6a19ff;
    font-size: 16px;
    line-height: 28px;
    font-weight: 500;
    text-decoration: none;
}

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

.blog-card {
    display: flex;
    flex-direction: column;
    gap: 16px;
    text-decoration: none;
    color: inherit;
}

.blog-card__media {
    overflow: hidden;
    aspect-ratio: 384 / 256;
    border-radius: 16px;
    background: #f3f1ff;
}

.blog-card__media img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.blog-card__body {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    text-align: right;
}

.blog-card__meta {
    margin: 0;
    font-size: 14px;
    line-height: 20px;
    font-weight: 500;
    color: #6a19ff;
}

.blog-card__title {
    margin: 0;
    font-size: 18px;
    line-height: 28px;
    font-weight: 600;
    color: #181d27;
}

.blog-card__excerpt {
    margin: 0;
    font-size: 16px;
    line-height: 24px;
    color: #535862;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.blog-empty {
    margin: 48px 0;
    text-align: center;
    color: #535862;
}

/* Pagination */
.blog-pagination {
    margin-top: 48px;
}

.blog-pager {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding-top: 20px;
    border-top: 1px solid #e9eaeb;
}

.blog-pager__pages {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.blog-pager__num,
.blog-pager__btn,
.blog-pager__ellipsis {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 8px;
    border-radius: 8px;
    color: #414651;
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
}

.blog-pager__num.is-active {
    background: #f3f1ff;
    color: #6a19ff;
}

.blog-pager__btn.is-disabled {
    opacity: 0.4;
    pointer-events: none;
}

/* ── CTA ── */
.blog-cta {
    box-sizing: border-box;
    padding: 0 80px 80px;
}

.blog-cta__box {
    position: relative;
    overflow: hidden;
    box-sizing: border-box;
    max-width: 1280px;
    margin-inline: auto;
    padding: 64px 48px;
    border-radius: 24px;
    background: linear-gradient(135deg, #6a19ff 0%, #4c0fd4 100%);
    color: #fff;
    text-align: center;
}

.blog-cta__deco {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    pointer-events: none;
    opacity: 0.9;
}

.blog-cta__content {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
}

.blog-cta__eyebrow {
    margin: 0;
    font-size: 24px;
    line-height: 32px;
}

.blog-cta__title {
    margin: 0;
    max-width: 900px;
    font-size: 48px;
    line-height: 60px;
    font-weight: 500;
    letter-spacing: -0.96px;
}

.blog-cta__zap {
    display: inline-block;
    width: 36px;
    height: 36px;
    vertical-align: middle;
    margin-inline-start: 8px;
}

.blog-cta__desc {
    margin: 0;
    max-width: 720px;
    font-size: 16px;
    line-height: 24px;
    font-weight: 300;
}

.blog-cta__avatars {
    display: flex;
    align-items: center;
    justify-content: center;
}

.blog-cta__avatars img {
    width: 32px;
    height: 32px;
    border-radius: 999px;
    border: 2px solid #fff;
    object-fit: cover;
}

.blog-cta__avatars img + img {
    margin-inline-start: -8px;
}

.blog-cta__actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 16px;
}

.blog-cta__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 158px;
    padding: 10px 18px;
    border-radius: 8px;
    font-size: 14px;
    line-height: 20px;
    font-weight: 500;
    text-decoration: none;
    transition: transform 0.2s ease;
}

.blog-cta__btn--solid {
    background: #fff;
    color: #414651;
    border: 1px solid #d5d7da;
}

.blog-cta__btn--ghost {
    background: transparent;
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.35);
}

.blog-cta__btn:hover {
    transform: translateY(-2px);
}

/* ── Article show — Figma 808:14641 ── */
.blog-show {
    padding-bottom: 0;
}

.blog-post-hero {
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 64px;
    padding: 96px 32px 0;
}

.blog-post-hero__inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 32px;
    box-sizing: border-box;
    width: 100%;
    max-width: 1280px;
    padding-inline: 32px;
}

.blog-post-hero__copy {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
    max-width: 768px;
    width: 100%;
    text-align: center;
}

.blog-post-hero__date {
    margin: 0;
    font-size: 16px;
    line-height: 24px;
    font-weight: 600;
    color: #6819fa;
}

.blog-post-hero__title {
    margin: 0;
    font-size: 48px;
    line-height: 60px;
    font-weight: 500;
    letter-spacing: -0.96px;
    color: #181d27;
}

.blog-post-hero__excerpt {
    margin: 0;
    font-size: 20px;
    line-height: 30px;
    color: #535862;
}

.blog-post-hero__cats {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.blog-post-badge {
    display: inline-flex;
    align-items: center;
    padding: 2px 10px;
    border-radius: 999px;
    border: 1px solid var(--badge-bd, #d6cfff);
    background: var(--badge-bg, #f3f1ff);
    color: var(--badge-fg, #6819fa);
    font-size: 14px;
    line-height: 20px;
    font-weight: 500;
}

.blog-post-hero__cover-wrap {
    box-sizing: border-box;
    width: 100%;
    max-width: 1280px;
    padding-inline: 32px;
}

.blog-post-hero__cover {
    overflow: hidden;
    width: 100%;
    aspect-ratio: 1216 / 640;
    border-radius: 0;
    background: #f3f1ff;
}

.blog-post-hero__cover img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.blog-post-body {
    box-sizing: border-box;
    padding: 64px 32px 96px;
}

.blog-post-body__inner {
    box-sizing: border-box;
    max-width: 720px;
    margin-inline: auto;
}

/* Prose — Figma rich text */
.blog-prose {
    color: #535862;
    font-size: 18px;
    line-height: 28px;
    text-align: right;
}

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

.blog-prose > *:last-child {
    margin-bottom: 0;
}

.blog-prose p {
    margin: 0 0 18px;
}

.blog-prose h2 {
    margin: 32px 0 16px;
    font-size: 30px;
    line-height: 38px;
    font-weight: 600;
    color: #181d27;
}

.blog-prose h3 {
    margin: 32px 0 16px;
    font-size: 24px;
    line-height: 32px;
    font-weight: 600;
    color: #181d27;
}

.blog-prose h4 {
    margin: 24px 0 12px;
    font-size: 20px;
    line-height: 30px;
    font-weight: 600;
    color: #181d27;
}

.blog-prose ul,
.blog-prose ol {
    margin: 0 0 18px;
    padding-inline-start: 1.25em;
}

.blog-prose li + li {
    margin-top: 8px;
}

.blog-prose a {
    color: #6819fa;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.blog-prose strong,
.blog-prose b {
    color: #181d27;
    font-weight: 600;
}

.blog-prose img {
    display: block;
    width: 100%;
    height: auto;
    margin: 48px 0 16px;
    border-radius: 12px;
    object-fit: cover;
}

.blog-prose figure {
    margin: 48px 0;
}

.blog-prose figure img {
    margin: 0 0 16px;
}

.blog-prose figcaption {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 6px;
    margin: 0;
    font-size: 14px;
    line-height: 20px;
    color: #535862;
}

.blog-prose figcaption::before {
    content: "";
    display: inline-block;
    width: 16px;
    height: 16px;
    flex-shrink: 0;
    background: url("../blog/icon-link.svg") center / contain no-repeat;
}

.blog-prose blockquote {
    position: relative;
    box-sizing: border-box;
    margin: 48px 0;
    padding: 8px 20px 8px 0;
    border: 0;
    border-inline-start: 2px solid #6a19ff;
}

.blog-prose blockquote p {
    margin: 0 0 32px;
    font-size: 24px;
    line-height: 32px;
    font-weight: 500;
    color: #181d27;
}

.blog-prose blockquote p:last-child,
.blog-prose blockquote footer,
.blog-prose blockquote cite {
    margin: 0;
    font-size: 16px;
    line-height: 24px;
    font-weight: 400;
    font-style: normal;
    color: #535862;
}

.blog-prose aside,
.blog-prose .blog-callout {
    box-sizing: border-box;
    margin: 48px 0;
    padding: 32px;
    border-radius: 16px;
    background: #fafafa;
}

.blog-prose aside h3,
.blog-prose .blog-callout h3 {
    margin-top: 0;
}

.blog-prose aside p:last-child,
.blog-prose .blog-callout p:last-child {
    margin-bottom: 0;
}

/* Author + share — Figma 808:14715
   Layout is LTR in Figma: author LEFT, share RIGHT.
   Avatar then name; copy icon then label. */
.blog-post-footer {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    margin-top: 48px;
    padding-top: 24px;
    border-top: 1px solid #e9eaeb;
    direction: ltr;
}

.blog-post-author {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 12px;
    direction: ltr;
}

.blog-post-author__avatar {
    display: block;
    width: 48px;
    height: 48px;
    flex-shrink: 0;
    border-radius: 999px;
    border: 1px solid rgba(0, 0, 0, 0.08);
    object-fit: cover;
}

.blog-post-author__text {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    text-align: right;
    direction: rtl;
}

.blog-post-author__name {
    margin: 0;
    font-size: 16px;
    line-height: 24px;
    font-weight: 600;
    color: #181d27;
    white-space: nowrap;
}

.blog-post-author__role {
    margin: 0;
    font-size: 16px;
    line-height: 24px;
    font-weight: 400;
    color: #535862;
    white-space: nowrap;
}

.blog-post-share {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
    direction: ltr;
}

.blog-post-share__copy,
.blog-post-share__icon {
    display: inline-flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 4px;
    box-sizing: border-box;
    min-height: 40px;
    padding: 10px;
    border: 1px solid #d5d7da;
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 1px 2px rgba(10, 13, 18, 0.05);
    color: #414651;
    font-family: inherit;
    font-size: 14px;
    line-height: 20px;
    font-weight: 500;
    text-decoration: none;
    cursor: pointer;
    transition: background 0.15s ease, border-color 0.15s ease;
    direction: ltr;
}

.blog-post-share__copy {
    padding-inline: 14px;
}

.blog-post-share__copy span {
    padding-inline: 2px;
    text-align: right;
    direction: rtl;
    white-space: nowrap;
}

.blog-post-share__copy img,
.blog-post-share__icon img {
    display: block;
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}

.blog-post-share__copy:hover,
.blog-post-share__icon:hover {
    background: #fafafa;
    border-color: #b8bbc2;
}

/* Related — Figma 808:14723 */
.blog-related {
    box-sizing: border-box;
    padding: 96px 32px;
    border-top: 1px solid #e9eaeb;
}

.blog-related__inner {
    max-width: 1280px;
    margin-inline: auto;
    padding-inline: 32px;
}

.blog-related__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 32px;
}

.blog-related__title {
    margin: 0;
    font-size: 24px;
    line-height: 32px;
    font-weight: 600;
    color: #181d27;
}

.blog-related__all {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    color: #6a19ff;
    font-size: 18px;
    line-height: 28px;
    font-weight: 500;
    text-decoration: none;
}

.blog-related__all:hover {
    opacity: 0.85;
}

.blog-related__grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 48px 32px;
}

/* Newsletter brand variant — Figma 808:14769 */
.blog-newsletter--brand {
    padding: 0 113px 96px;
}

.blog-newsletter--brand .blog-newsletter__inner {
    background: #6819fa;
    border-radius: 16px;
}

.blog-newsletter--brand .blog-newsletter__title {
    color: #fff;
}

.blog-newsletter--brand .blog-newsletter__desc {
    color: #d6cfff;
}

.blog-newsletter--brand .blog-newsletter__btn {
    background: #fff;
    color: #414651;
    border: 1px solid #d5d7da;
}

.blog-newsletter__hint {
    margin: 6px 0 0;
    font-size: 14px;
    line-height: 20px;
    color: #fff;
}

.blog-newsletter--brand .blog-newsletter__form {
    align-items: flex-start;
}

.blog-newsletter--brand .blog-newsletter__field {
    display: flex;
    flex-direction: column;
}

/* Responsive */
@media (max-width: 1100px) {
    .blog-featured__grid {
        grid-template-columns: 1fr;
    }

    .blog-latest__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .blog-newsletter {
        padding-inline: 32px;
    }

    .blog-newsletter--brand {
        padding-inline: 32px;
    }

    .blog-newsletter__inner {
        flex-direction: column;
        align-items: stretch;
        text-align: center;
    }

    .blog-newsletter__copy {
        max-width: none;
        text-align: center;
    }

    .blog-related__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .blog-post-hero__inner,
    .blog-post-hero__cover-wrap,
    .blog-related__inner {
        padding-inline: 0;
    }
}

@media (max-width: 768px) {
    .blog-hero {
        margin-top: -72px;
        min-height: 0;
        padding: 100px 20px 40px;
        border-radius: 0 0 24px 24px;
    }

    .blog-hero__ellipse {
        top: 40px;
        width: 900px;
        height: auto;
        aspect-ratio: 1382 / 1364;
    }

    .blog-hero__bg::before {
        width: 140%;
        height: 70%;
        bottom: -5%;
    }

    .blog-hero__copy {
        min-height: 0;
    }

    .blog-hero__title {
        font-size: 32px;
        line-height: 42px;
        letter-spacing: -0.64px;
    }

    .blog-hero__desc {
        font-size: 16px;
        line-height: 26px;
    }

    .blog-search {
        margin-top: 32px;
    }

    .blog-featured,
    .blog-latest {
        padding-inline: 20px;
    }

    .blog-featured__grid,
    .blog-featured__heading {
        padding-inline: 0;
    }

    .blog-feature--side {
        flex-direction: column-reverse;
    }

    .blog-feature--side .blog-feature__media {
        width: 100%;
        max-width: none;
        flex-basis: auto;
    }

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

    .blog-newsletter {
        padding-inline: 20px;
    }

    .blog-newsletter--brand {
        padding-inline: 20px;
        padding-bottom: 48px;
    }

    .blog-newsletter__inner {
        padding: 40px 24px;
    }

    .blog-newsletter__form {
        flex-direction: column;
    }

    .blog-newsletter__title,
    .blog-cta__title {
        font-size: 28px;
        line-height: 36px;
    }

    .blog-cta {
        padding: 0 20px 48px;
    }

    .blog-cta__box {
        padding: 48px 24px;
    }

    .blog-pager {
        flex-direction: column;
    }

    .blog-post-hero {
        gap: 40px;
        padding: 48px 20px 0;
    }

    .blog-post-hero__title {
        font-size: 32px;
        line-height: 42px;
        letter-spacing: -0.64px;
    }

    .blog-post-hero__excerpt {
        font-size: 16px;
        line-height: 26px;
    }

    .blog-post-body {
        padding: 40px 20px 64px;
    }

    .blog-prose {
        font-size: 16px;
        line-height: 26px;
    }

    .blog-prose h2 {
        font-size: 24px;
        line-height: 32px;
    }

    .blog-prose h3,
    .blog-prose blockquote p {
        font-size: 20px;
        line-height: 28px;
    }

    .blog-prose img,
    .blog-prose figure,
    .blog-prose blockquote,
    .blog-prose aside,
    .blog-prose .blog-callout {
        margin-block: 32px;
    }

    .blog-post-footer {
        flex-direction: column;
        align-items: flex-start;
    }

    .blog-post-share {
        width: 100%;
        justify-content: flex-start;
    }

    .blog-related {
        padding: 48px 20px;
    }

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