/* Raftegan Public Blog — approved editorial composition */

.public-blog-layout {
    --blog-green-950: var(--home-green-950, #092f2c);
    --blog-green-900: var(--home-green-900, #0d4039);
    --blog-green-700: var(--home-green-700, #25665a);
    --blog-gold-500: var(--home-gold-500, #d5aa61);
    --blog-cream-100: var(--home-cream-100, #fbf8f1);
    --blog-cream-200: var(--home-cream-200, #f5efe3);
    --blog-ink: var(--home-ink, #17312d);
    --blog-muted: var(--home-muted, #6f7771);
    --blog-line: var(--home-line, #e9e2d7);

    color: var(--blog-ink);
    background: #fff;
}

.blog-page {
    min-height: 60vh;
}

/* Hero ---------------------------------------------------------------- */

.blog-hero {
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(circle at 12% 24%, rgb(213 170 97 / 15%), transparent 17rem),
        radial-gradient(circle at 86% 18%, rgb(255 255 255 / 65%), transparent 19rem),
        linear-gradient(118deg, #f8f1e5 0%, #f1e3d1 47%, #faf7f0 100%);
    border-bottom: 1px solid rgb(87 80 66 / 8%);
}

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

.blog-hero__ring {
    position: absolute;
    border: 1px solid rgb(37 102 90 / 8%);
    border-radius: 50%;
}

.blog-hero__ring--top {
    width: 23rem;
    height: 23rem;
    inset-block-start: -14rem;
    inset-inline-end: -4rem;
}

.blog-hero__ring--bottom {
    width: 29rem;
    height: 29rem;
    inset-block-end: -21rem;
    inset-inline-start: -8rem;
}

.blog-hero__leaf {
    position: absolute;
    inset-inline-start: 3%;
    inset-block-end: 1rem;
    color: var(--blog-green-900);
    font-family: serif;
    font-size: 8rem;
    opacity: .04;
    transform: rotate(16deg);
}

.blog-hero__inner {
    position: relative;
    z-index: 1;
    max-width: 74rem;
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) minmax(17rem, .65fr);
    align-items: center;
    gap: clamp(2.25rem, 6vw, 5.2rem);
    padding-block: clamp(3.7rem, 6vw, 5.4rem);
}

.blog-hero__content {
    max-width: 43rem;
}

.blog-hero__eyebrow {
    display: inline-flex;
    align-items: center;
    gap: .6rem;
    margin-bottom: 1rem;
    color: #997747;
    font-size: .76rem;
    font-weight: 800;
}

.blog-hero__eyebrow span {
    width: 1.8rem;
    height: 1px;
    background: #c8a56a;
}

.blog-hero h1 {
    max-width: 39rem;
    margin: 0;
    color: var(--blog-green-950);
    font-size: clamp(2.5rem, 4.8vw, 3.85rem);
    font-weight: 900;
    line-height: 1.34;
    letter-spacing: -.035em;
}

.blog-hero h1 em {
    color: var(--blog-green-700);
    font-style: normal;
}

.blog-hero p {
    max-width: 38rem;
    margin: 1.15rem 0 0;
    color: #63706a;
    font-size: clamp(.94rem, 1.3vw, 1.04rem);
    line-height: 2.05;
}

.blog-hero__stats {
    display: flex;
    align-items: stretch;
    margin-top: 1.8rem;
    padding-top: 1.35rem;
    border-top: 1px solid rgb(108 97 78 / 13%);
}

.blog-hero__stats > span {
    min-width: 7.2rem;
    display: grid;
    gap: .18rem;
    padding-inline: 1rem;
    border-inline-end: 1px solid rgb(108 97 78 / 13%);
}

.blog-hero__stats > span:first-child {
    padding-inline-start: 0;
}

.blog-hero__stats > span:last-child {
    border-inline-end: 0;
}

.blog-hero__stats small {
    color: #7c8580;
    font-size: .66rem;
}

.blog-hero__stats strong {
    color: var(--blog-green-950);
    font-size: 1.35rem;
    line-height: 1.2;
}

.blog-hero__journal {
    position: relative;
    min-height: 18rem;
    display: flex;
    align-items: end;
    overflow: hidden;
    padding: 1.65rem;
    color: #fff;
    background:
        radial-gradient(circle at 78% 18%, rgb(213 170 97 / 13%), transparent 9rem),
        linear-gradient(150deg, #0f5148 0%, #0a3934 68%, #082f2c 100%);
    border: 1px solid rgb(255 255 255 / 10%);
    border-radius: 1.35rem;
    box-shadow: 0 1.8rem 4rem rgb(35 52 45 / 16%);
}

.blog-hero__journal::after {
    position: absolute;
    width: 12rem;
    height: 12rem;
    inset-block-start: -6rem;
    inset-inline-end: -4rem;
    content: "";
    border: 1px solid rgb(213 170 97 / 26%);
    border-radius: 50%;
}

.blog-hero__journal-letter {
    position: absolute;
    inset-block-start: .15rem;
    inset-inline-start: 1rem;
    color: rgb(255 255 255 / 6%);
    font-family: Georgia, serif;
    font-size: 8.5rem;
    font-weight: 700;
    line-height: 1;
}

.blog-hero__journal-body {
    position: relative;
    z-index: 1;
}

.blog-hero__journal small {
    display: block;
    margin-bottom: .55rem;
    color: #d9b875;
    font-size: .67rem;
    letter-spacing: .08em;
}

.blog-hero__journal strong {
    display: block;
    max-width: 15rem;
    font-size: 1.18rem;
    line-height: 1.9;
}

.blog-hero__journal p {
    max-width: 15rem;
    margin: .55rem 0 1rem;
    color: rgb(255 255 255 / 68%);
    font-size: .74rem;
    line-height: 1.85;
}

.blog-hero__journal a {
    display: inline-flex;
    align-items: center;
    gap: .45rem;
    padding: .55rem .8rem;
    color: #fff;
    border: 1px solid rgb(213 170 97 / 55%);
    border-radius: .6rem;
    font-size: .72rem;
    font-weight: 800;
    text-decoration: none;
}

/* Search + categories -------------------------------------------------- */

.blog-discovery {
    position: relative;
    z-index: 3;
    margin-top: -1.4rem;
}

.blog-discovery__panel {
    display: grid;
    grid-template-columns: minmax(16rem, .72fr) minmax(0, 2fr);
    align-items: center;
    gap: 1rem;
    padding: .85rem;
    background: rgb(255 255 255 / 94%);
    border: 1px solid #ebe2d5;
    border-radius: 1rem;
    box-shadow: 0 1rem 2.8rem rgb(55 50 43 / 9%);
    backdrop-filter: blur(.5rem);
}

.blog-search {
    display: flex;
    overflow: hidden;
    background: #fff;
    border: 1px solid #e6ded3;
    border-radius: .7rem;
}

.blog-search input {
    width: 100%;
    min-height: 2.85rem;
    padding: .65rem .85rem;
    color: #34453f;
    background: transparent;
    border: 0;
    outline: 0;
    font: inherit;
    font-size: .78rem;
}

.blog-search button {
    width: 2.8rem;
    flex: 0 0 auto;
    color: #69756f;
    background: transparent;
    border: 0;
    border-inline-start: 1px solid #eee7dd;
    cursor: pointer;
}

.blog-categories {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: .55rem;
    overflow-x: auto;
    scrollbar-width: none;
}

.blog-categories::-webkit-scrollbar {
    display: none;
}

.blog-categories a {
    min-width: 4.7rem;
    display: grid;
    place-items: center;
    gap: .2rem;
    flex: 0 0 auto;
    padding: .5rem .7rem;
    color: #6e7772;
    border-radius: .72rem;
    text-decoration: none;
}

.blog-categories__icon {
    width: 2.1rem;
    height: 2.1rem;
    display: grid;
    place-items: center;
    flex: 0 0 2.1rem;
    color: #9d7941;
    background: #fffaf2;
    border: 1px solid #eadcc6;
    border-radius: 50%;
    line-height: 0;
}

.blog-categories__icon svg {
    width: 1.05rem;
    height: 1.05rem;
    display: block;
    overflow: visible;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.65;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.blog-categories__icon svg circle {
    fill: currentColor;
    stroke: none;
}

.blog-categories a strong {
    font-size: .68rem;
    font-weight: 750;
    white-space: nowrap;
}

.blog-categories a.is-active {
    color: var(--blog-green-950);
    background: #f7faf8;
}

.blog-categories a.is-active .blog-categories__icon {
    color: #fff;
    background: var(--blog-green-900);
    border-color: var(--blog-green-900);
}

/* Listing -------------------------------------------------------------- */

.blog-section,
.blog-related {
    padding-block: clamp(2.9rem, 5vw, 4.4rem);
}

.blog-section-heading {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1.35rem;
}

.blog-section-heading h2 {
    margin: .2rem 0 0;
    color: var(--blog-green-950);
    font-size: clamp(1.45rem, 2.5vw, 1.95rem);
    font-weight: 850;
    line-height: 1.55;
}

.blog-section-heading__side {
    display: flex;
    align-items: center;
    gap: .6rem;
    color: #808985;
    font-size: .7rem;
}

.blog-section-heading__side > span {
    padding: .4rem .68rem;
    background: #faf7f1;
    border: 1px solid #eee5d8;
    border-radius: 999px;
}

.blog-section-heading__side a {
    color: var(--blog-green-700);
    font-weight: 800;
    text-decoration: none;
}

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

.blog-editorial-grid > .blog-card--lead {
    grid-column: 1 / -1;
}

.blog-card {
    min-width: 0;
    overflow: hidden;
    background: #fff;
    border: 1px solid #e8dfd3;
    border-radius: 1rem;
    box-shadow: 0 .75rem 2.1rem rgb(52 50 42 / 6%);
    transition:
        transform 160ms ease,
        border-color 160ms ease,
        box-shadow 160ms ease;
}

.blog-card:hover {
    transform: translateY(-3px);
    border-color: rgb(213 170 97 / 42%);
    box-shadow: 0 1.1rem 2.6rem rgb(52 50 42 / 9%);
}

.blog-card--lead {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
    height: clamp(19rem, 23vw, 21rem);
    min-height: 0;
    max-height: 21rem;
}

.blog-card__media {
    position: relative;
    display: block;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: linear-gradient(145deg, #eaf0e9, #f5eadb);
    text-decoration: none;
}

.blog-card--lead .blog-card__media {
    width: 100%;
    height: 100%;
    min-height: 0;
    max-height: 100%;
    aspect-ratio: auto;
}

.blog-card__media img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    transition: transform 220ms ease;
}

.blog-card:hover .blog-card__media img {
    transform: scale(1.025);
}

.blog-card__media--fallback {
    background:
        radial-gradient(circle at 16% 20%, rgb(255 255 255 / 82%), transparent 12rem),
        linear-gradient(140deg, #edf2ec 0%, #f4ead9 100%);
}

.blog-card__fallback-art {
    position: absolute;
    inset: 0;
    overflow: hidden;
}

.blog-card__fallback-orb {
    position: absolute;
    width: 12rem;
    height: 12rem;
    inset-block-start: -6rem;
    inset-inline-end: -4rem;
    border: 1px solid rgb(37 102 90 / 12%);
    border-radius: 50%;
}

.blog-card__fallback-leaf {
    position: absolute;
    inset-block-end: 1rem;
    inset-inline-start: 1rem;
    color: var(--blog-green-700);
    font-family: serif;
    font-size: 4rem;
    opacity: .16;
}

.blog-card__fallback-brand {
    position: absolute;
    inset: 50% auto auto 50%;
    color: rgb(9 47 44 / 8%);
    font-family: Georgia, serif;
    font-size: 7rem;
    font-weight: 700;
    line-height: 1;
    transform: translate(-50%, -50%);
}

.blog-card__category-badge {
    position: absolute;
    inset-block-end: .65rem;
    inset-inline-end: .65rem;
    z-index: 2;
    padding: .34rem .56rem;
    color: #6f5b37;
    background: rgb(255 250 241 / 92%);
    border: 1px solid rgb(234 220 198 / 92%);
    border-radius: .55rem;
    font-size: .64rem;
    font-weight: 800;
    backdrop-filter: blur(.3rem);
}

.blog-card__body {
    display: flex;
    min-height: 12.5rem;
    flex-direction: column;
    padding: 1rem 1.05rem 1.05rem;
}

.blog-card--lead .blog-card__body {
    min-height: 0;
    max-height: 100%;
    justify-content: center;
    overflow: hidden;
    padding: clamp(1.35rem, 3vw, 2.1rem);
}

.blog-card__meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: .7rem;
    color: #8b928e;
    font-size: .67rem;
}

.blog-card__featured-label {
    color: #7a633c;
    font-weight: 800;
}

.blog-card h2 {
    margin: .7rem 0 .45rem;
    color: #294039;
    font-size: 1.02rem;
    font-weight: 850;
    line-height: 1.8;
}

.blog-card--lead h2 {
    max-width: 34rem;
    font-size: clamp(1.25rem, 2vw, 1.62rem);
}

.blog-card h2 a {
    color: inherit;
    text-decoration: none;
}

.blog-card p {
    display: -webkit-box;
    overflow: hidden;
    margin: 0 0 .85rem;
    color: #69756f;
    font-size: .79rem;
    line-height: 1.95;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
}

.blog-card--lead p {
    max-width: 38rem;
    font-size: .85rem;
    line-height: 2.05;
    -webkit-line-clamp: 4;
}

.blog-card__footer {
    margin-top: auto;
    padding-top: .72rem;
    border-top: 1px solid #eee8de;
}

.blog-card__read {
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    color: var(--blog-green-700);
    font-size: .73rem;
    font-weight: 850;
    text-decoration: none;
}

/* Pagination ----------------------------------------------------------- */

.blog-pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: .65rem;
    margin-top: 2rem;
}

.blog-pagination__link,
.blog-pagination__status {
    min-height: 2.55rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: .52rem .9rem;
    background: #fff;
    border: 1px solid #e7dfd4;
    border-radius: .65rem;
    font-size: .72rem;
}

.blog-pagination__link {
    color: var(--blog-green-700);
    font-weight: 850;
    text-decoration: none;
}

.blog-pagination__status {
    color: #747e79;
}

/* Empty --------------------------------------------------------------- */

.blog-empty {
    max-width: 46rem;
    margin-inline: auto;
    padding: 2.7rem 1.2rem;
    color: #737c77;
    background: var(--blog-cream-100);
    border: 1px dashed #ddd2c1;
    border-radius: 1.05rem;
    text-align: center;
}

.blog-empty > span {
    color: var(--blog-green-700);
    font-family: serif;
    font-size: 2.4rem;
    opacity: .4;
}

.blog-empty h2 {
    margin: .45rem 0 .3rem;
    color: var(--blog-green-950);
    font-size: 1.12rem;
}

.blog-empty p {
    margin: 0;
    font-size: .8rem;
    line-height: 1.9;
}

/* Archive -------------------------------------------------------------- */

.blog-archive-hero {
    background:
        radial-gradient(circle at 80% 0, rgb(213 170 97 / 14%), transparent 17rem),
        linear-gradient(180deg, #f8f2e7, #fff);
    border-bottom: 1px solid rgb(87 80 66 / 8%);
}

.blog-archive-hero__inner {
    max-width: 52rem;
    padding-block: clamp(2.7rem, 5vw, 4.3rem);
    text-align: center;
}

.blog-archive-hero__back {
    display: inline-flex;
    margin-bottom: .85rem;
    color: #6c7872;
    font-size: .72rem;
    font-weight: 750;
    text-decoration: none;
}

.blog-archive-hero h1 {
    margin: .3rem 0 .65rem;
    color: var(--blog-green-950);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 900;
    line-height: 1.45;
}

.blog-archive-hero p {
    max-width: 40rem;
    margin: 0 auto;
    color: #69756f;
    font-size: .9rem;
    line-height: 2;
}

/* Article -------------------------------------------------------------- */

.blog-article-hero {
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(circle at 15% 10%, rgb(213 170 97 / 14%), transparent 18rem),
        linear-gradient(145deg, #f8f1e5 0%, #f2e7d6 52%, #faf8f2 100%);
    border-bottom: 1px solid rgb(87 80 66 / 8%);
}

.blog-article-hero__decor {
    position: absolute;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
}

.blog-article-hero__decor span {
    position: absolute;
    border: 1px solid rgb(37 102 90 / 7%);
    border-radius: 50%;
}

.blog-article-hero__decor span:first-child {
    width: 20rem;
    height: 20rem;
    inset-block-start: -11rem;
    inset-inline-end: -5rem;
}

.blog-article-hero__decor span:last-child {
    width: 26rem;
    height: 26rem;
    inset-block-end: -19rem;
    inset-inline-start: -7rem;
}

.blog-article-hero__inner {
    position: relative;
    z-index: 1;
    max-width: 64rem;
    padding-block: clamp(3.3rem, 6vw, 5rem);
}

.blog-breadcrumb {
    display: flex;
    flex-wrap: wrap;
    gap: .45rem;
    margin-bottom: 1.4rem;
    color: #858e89;
    font-size: .71rem;
}

.blog-breadcrumb a {
    color: #68756f;
    text-decoration: none;
}

.blog-article-hero__content {
    max-width: 55rem;
}

.blog-article-hero__category {
    display: inline-flex;
    padding: .4rem .7rem;
    color: #80683d;
    background: rgb(255 255 255 / 52%);
    border: 1px solid rgb(157 119 64 / 18%);
    border-radius: 999px;
    font-size: .72rem;
    font-weight: 850;
    text-decoration: none;
    backdrop-filter: blur(.25rem);
}

.blog-article-hero h1 {
    max-width: 54rem;
    margin: .85rem 0 0;
    color: var(--blog-green-950);
    font-size: clamp(2.2rem, 4.6vw, 3.65rem);
    font-weight: 900;
    line-height: 1.42;
    letter-spacing: -.03em;
}

.blog-article-hero__lead {
    max-width: 46rem;
    margin: 1rem 0 0;
    color: #66736d;
    font-size: clamp(.95rem, 1.4vw, 1.04rem);
    line-height: 2.05;
}

.blog-article-hero__meta {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 1.25rem;
    margin-top: 1.55rem;
}

.blog-article-hero__author {
    display: inline-flex;
    align-items: center;
    gap: .65rem;
}

.blog-article-hero__avatar {
    width: 2.45rem;
    height: 2.45rem;
    display: grid;
    place-items: center;
    color: #fff;
    background: linear-gradient(145deg, var(--blog-green-700), var(--blog-green-950));
    border-radius: 50%;
    font-size: .82rem;
    font-weight: 900;
}

.blog-article-hero__author > span:last-child,
.blog-article-hero__date {
    display: grid;
    gap: .1rem;
}

.blog-article-hero__meta small {
    color: #8a918d;
    font-size: .62rem;
}

.blog-article-hero__meta strong,
.blog-article-hero__meta time {
    color: #3a4b44;
    font-size: .75rem;
    font-weight: 850;
}

.blog-article-featured {
    position: relative;
    z-index: 2;
    max-width: 68rem;
    margin-top: -2.2rem;
}

.blog-article-featured img {
    width: 100%;
    max-height: 39rem;
    display: block;
    object-fit: cover;
    border: 1px solid #e5dccf;
    border-radius: 1.25rem;
    box-shadow: 0 1.75rem 4.2rem rgb(55 50 43 / 13%);
}

.blog-article-layout {
    max-width: 57rem;
    padding-block: clamp(2.7rem, 5vw, 4.6rem);
}

.blog-article-content {
    padding: clamp(1.25rem, 3vw, 2.25rem);
    background: #fff;
    border: 1px solid #ece5da;
    border-radius: 1.1rem;
    box-shadow: 0 .9rem 2.6rem rgb(52 50 42 / 5%);
}

.blog-prose {
    color: #394a44;
    font-size: clamp(.95rem, 1.3vw, 1.02rem);
    line-height: 2.2;
}

.blog-prose h2,
.blog-prose h3 {
    color: #223a33;
    font-weight: 900;
    line-height: 1.65;
}

.blog-prose h2 {
    margin: 2rem 0 .75rem;
    font-size: 1.4rem;
}

.blog-prose h3 {
    margin: 1.6rem 0 .65rem;
    font-size: 1.15rem;
}

.blog-prose p,
.blog-prose ul,
.blog-prose ol,
.blog-prose blockquote {
    margin: 0 0 1.15rem;
}

.blog-prose ul,
.blog-prose ol {
    padding-inline-start: 1.35rem;
}

.blog-prose blockquote {
    padding: .95rem 1.05rem;
    color: #59655f;
    background: #fbf7ef;
    border-inline-start: 3px solid var(--blog-gold-500);
    border-radius: .7rem;
}

.blog-prose a {
    color: var(--blog-green-700);
    text-decoration-thickness: 1px;
    text-underline-offset: 3px;
}

.blog-article-tags {
    margin-top: 2.2rem;
    padding-top: 1.2rem;
    border-top: 1px solid #eee7dd;
}

.blog-article-tags > strong {
    color: #40534c;
    font-size: .76rem;
}

.blog-article-tags > div {
    display: flex;
    flex-wrap: wrap;
    gap: .45rem;
    margin-top: .65rem;
}

.blog-article-tags a {
    display: inline-flex;
    padding: .4rem .65rem;
    color: #6e5d3e;
    background: #f7f1e5;
    border: 1px solid #eadcc6;
    border-radius: 999px;
    font-size: .71rem;
    font-weight: 700;
    text-decoration: none;
}

.blog-related {
    background: #faf7f1;
    border-top: 1px solid #eee6db;
}

/* Responsive ----------------------------------------------------------- */

@media (max-width: 1020px) {
    .blog-discovery__panel {
        grid-template-columns: 1fr;
    }

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

    .blog-editorial-grid > .blog-card--lead {
        grid-column: 1 / -1;
    }
}

@media (max-width: 900px) {
    .blog-hero__inner {
        grid-template-columns: 1fr;
    }

    .blog-hero__journal {
        min-height: 12rem;
    }
}

@media (max-width: 640px) {
    .blog-hero__inner {
        padding-block: 3rem 3.6rem;
    }

    .blog-hero h1 {
        font-size: clamp(2.1rem, 10vw, 2.9rem);
        line-height: 1.4;
    }

    .blog-hero__journal {
        display: none;
    }

    .blog-hero__stats {
        overflow-x: auto;
    }

    .blog-hero__stats > span {
        min-width: 6.3rem;
        padding-inline: .7rem;
    }

    .blog-discovery {
        margin-top: -1rem;
    }

    .blog-discovery__panel {
        padding: .7rem;
    }

    .blog-categories {
        justify-content: flex-start;
    }

    .blog-section-heading {
        align-items: flex-start;
        flex-direction: column;
        gap: .5rem;
    }

    .blog-section-heading__side {
        width: 100%;
        justify-content: space-between;
    }

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

    .blog-card--lead {
        display: block;
        height: auto;
        min-height: 0;
        max-height: none;
    }

    .blog-card--lead .blog-card__media {
        width: 100%;
        height: auto;
        min-height: 0;
        max-height: none;
        aspect-ratio: 16 / 9;
    }

    .blog-card--lead .blog-card__body {
        min-height: 0;
        padding: 1.1rem;
    }

    .blog-card--lead h2 {
        font-size: 1.18rem;
    }

    .blog-archive-hero__inner {
        text-align: start;
    }

    .blog-article-hero__inner {
        padding-block: 2.9rem 4.1rem;
    }

    .blog-article-hero h1 {
        font-size: clamp(2rem, 9.8vw, 2.8rem);
        line-height: 1.48;
    }

    .blog-article-hero__meta {
        align-items: flex-start;
        flex-direction: column;
        gap: .75rem;
    }

    .blog-article-featured {
        margin-top: -1.6rem;
    }

    .blog-article-content {
        padding: 1.1rem;
    }
}

/* Newsletter ---------------------------------------------------------- */

.blog-newsletter {
    padding-block: .2rem clamp(3rem, 5vw, 4.5rem);
}

.blog-newsletter__panel {
    position: relative;
    overflow: hidden;
    display: grid;
    grid-template-columns: minmax(18rem, .72fr) minmax(0, 1.28fr);
    min-height: 13rem;
    background:
        linear-gradient(
            112deg,
            #f0e4d3 0%,
            #f8f3ea 36%,
            #fdfbf7 100%
        );
    border: 1px solid #e7dac8;
    border-radius: 1.25rem;
    box-shadow: 0 1.15rem 3rem rgb(55 50 43 / 7%);
}

.blog-newsletter__visual {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    min-height: 13rem;
    display: flex;
    align-items: end;
    padding: 1.45rem;
    color: #fff;
    background:
        radial-gradient(
            circle at 68% 28%,
            rgb(213 170 97 / 18%),
            transparent 9rem
        ),
        linear-gradient(
            145deg,
            #0f5148 0%,
            #0a3d37 58%,
            #082f2c 100%
        );
}

.blog-newsletter__visual::after {
    position: absolute;
    inset: 0;
    z-index: -1;
    content: "";
    background:
        linear-gradient(
            180deg,
            transparent 20%,
            rgb(3 29 26 / 22%) 100%
        );
}

.blog-newsletter__visual-ring {
    position: absolute;
    z-index: -1;
    border: 1px solid rgb(213 170 97 / 24%);
    border-radius: 50%;
}

.blog-newsletter__visual-ring--one {
    width: 12rem;
    height: 12rem;
    inset-block-start: -6.5rem;
    inset-inline-end: -3rem;
}

.blog-newsletter__visual-ring--two {
    width: 9rem;
    height: 9rem;
    inset-block-end: -5rem;
    inset-inline-start: -2rem;
    opacity: .55;
}

.blog-newsletter__visual-mark {
    position: absolute;
    inset-block-start: 1.2rem;
    inset-inline-start: 1.25rem;
    color: rgb(213 170 97 / 15%);
}

.blog-newsletter__visual-mark svg {
    width: 6.5rem;
    height: 6.5rem;
    display: block;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.45;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.blog-newsletter__visual-label {
    position: relative;
    z-index: 1;
    display: grid;
    gap: .35rem;
    max-width: 16rem;
}

.blog-newsletter__visual-label small {
    color: #dbba7c;
    font-size: .63rem;
    letter-spacing: .08em;
}

.blog-newsletter__visual-label strong {
    font-size: 1rem;
    font-weight: 850;
    line-height: 1.85;
}

.blog-newsletter__content {
    align-self: center;
    padding: clamp(1.35rem, 3vw, 2rem) clamp(1.3rem, 3.4vw, 2.5rem);
}

.blog-newsletter__heading {
    max-width: 39rem;
}

.blog-newsletter h2 {
    margin: .18rem 0 .35rem;
    color: var(--blog-green-950);
    font-size: clamp(1.35rem, 2.35vw, 1.8rem);
    font-weight: 900;
    line-height: 1.6;
}

.blog-newsletter p {
    max-width: 37rem;
    margin: 0;
    color: #69756f;
    font-size: .8rem;
    line-height: 1.95;
}

.blog-newsletter__form {
    max-width: 41rem;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: .55rem;
    margin-top: 1.05rem;
}

.blog-newsletter__field {
    position: relative;
    display: flex;
    align-items: center;
    min-width: 0;
    overflow: hidden;
    background: rgb(255 255 255 / 94%);
    border: 1px solid #ded4c7;
    border-radius: .72rem;
    transition:
        border-color 150ms ease,
        box-shadow 150ms ease;
}

.blog-newsletter__field:focus-within {
    border-color: rgb(37 102 90 / 44%);
    box-shadow: 0 0 0 .2rem rgb(37 102 90 / 7%);
}

.blog-newsletter__field-icon {
    width: 2.85rem;
    height: 2.85rem;
    display: grid;
    place-items: center;
    flex: 0 0 2.85rem;
    color: #8e7750;
    border-inline-end: 1px solid #eee6dc;
}

.blog-newsletter__field-icon svg {
    width: 1.05rem;
    height: 1.05rem;
    display: block;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.6;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.blog-newsletter__field input {
    width: 100%;
    min-width: 0;
    min-height: 2.85rem;
    padding: .62rem .8rem;
    color: #34453f;
    background: transparent;
    border: 0;
    outline: 0;
    font: inherit;
    font-size: .79rem;
}

.blog-newsletter__field input::placeholder {
    color: #9a9f9c;
}

.blog-newsletter__form button {
    min-width: 8.5rem;
    min-height: 2.85rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .45rem;
    padding: .62rem 1rem;
    color: #fff;
    background:
        linear-gradient(
            145deg,
            var(--blog-green-700),
            var(--blog-green-950)
        );
    border: 1px solid var(--blog-green-900);
    border-radius: .72rem;
    box-shadow: 0 .55rem 1.2rem rgb(9 47 44 / 14%);
    font: inherit;
    font-size: .75rem;
    font-weight: 850;
    cursor: pointer;
    transition:
        transform 150ms ease,
        box-shadow 150ms ease;
}

.blog-newsletter__form button:hover {
    transform: translateY(-1px);
    box-shadow: 0 .7rem 1.45rem rgb(9 47 44 / 18%);
}

.blog-newsletter__trust {
    display: flex;
    align-items: center;
    gap: .4rem;
    margin-top: .6rem;
    color: #858d89;
}

.blog-newsletter__trust > span {
    width: 1rem;
    height: 1rem;
    display: grid;
    place-items: center;
    flex: 0 0 1rem;
    color: var(--blog-green-700);
}

.blog-newsletter__trust svg {
    width: .9rem;
    height: .9rem;
    display: block;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.6;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.blog-newsletter__trust small {
    font-size: .63rem;
    line-height: 1.6;
}

.blog-newsletter__message {
    max-width: 41rem;
    margin-top: .75rem;
    margin-bottom: -.25rem;
    padding: .55rem .7rem;
    border-radius: .6rem;
    font-size: .72rem;
}

.blog-newsletter__message.is-success {
    color: #1d5e4f;
    background: #edf7f3;
    border: 1px solid #cfe8df;
}

.blog-newsletter__message.is-error {
    color: #8a3d38;
    background: #fff1ef;
    border: 1px solid #f0d2ce;
}

@media (max-width: 820px) {
    .blog-newsletter__panel {
        grid-template-columns: minmax(13rem, .65fr) minmax(0, 1.35fr);
    }

    .blog-newsletter__visual {
        padding: 1.15rem;
    }
}

@media (max-width: 680px) {
    .blog-newsletter__panel {
        grid-template-columns: 1fr;
    }

    .blog-newsletter__visual {
        min-height: 7.5rem;
    }

    .blog-newsletter__visual-mark {
        inset-block-start: .5rem;
    }

    .blog-newsletter__visual-mark svg {
        width: 5rem;
        height: 5rem;
    }

    .blog-newsletter__content {
        padding: 1.25rem;
    }
}

@media (max-width: 520px) {
    .blog-newsletter__form {
        grid-template-columns: 1fr;
    }

    .blog-newsletter__form button {
        width: 100%;
    }
}


/* Professional public article v2 ------------------------------------- */

.blog-article-v2 {
    min-height: 65vh;
    background:
        linear-gradient(
            180deg,
            #fbf8f1 0,
            #fff 31rem
        );
}

.blog-article-v2__top {
    position: relative;
    overflow: hidden;
    padding-block: 1.7rem 2.4rem;
}

.blog-article-v2__top::before {
    position: absolute;
    width: 28rem;
    height: 28rem;
    inset-block-start: -20rem;
    inset-inline-end: -8rem;
    content: "";
    border: 1px solid rgb(37 102 90 / 7%);
    border-radius: 50%;
    pointer-events: none;
}

.blog-article-v2__breadcrumb {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: .45rem;
    margin-bottom: 1rem;
    color: #89918d;
    font-size: .7rem;
}

.blog-article-v2__breadcrumb a {
    color: #64736c;
    text-decoration: none;
}

.blog-article-v2__featured {
    width: 100%;
    height: clamp(19rem, 37vw, 31rem);
    margin: 0;
    overflow: hidden;
    background: #edf0e9;
    border: 1px solid #e5dccf;
    border-radius: 1.35rem;
    box-shadow: 0 1.6rem 4rem rgb(49 47 42 / 11%);
}

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

.blog-article-v2__featured--fallback {
    position: relative;
    display: grid;
    place-items: center;
    color: rgb(9 47 44 / 8%);
    background:
        radial-gradient(
            circle at 25% 30%,
            rgb(255 255 255 / 80%),
            transparent 18rem
        ),
        linear-gradient(145deg, #eaf0e9, #f5eadb);
    font-family: Georgia, serif;
    font-size: clamp(8rem, 19vw, 14rem);
    font-weight: 700;
}

.blog-article-v2__featured--fallback i {
    position: absolute;
    inset-block-end: 1rem;
    inset-inline-start: 1.25rem;
    color: var(--blog-green-700);
    font-family: serif;
    font-size: 4rem;
    font-style: normal;
    opacity: .13;
}

.blog-article-v2__header {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 2rem;
    padding: clamp(1.6rem, 4vw, 2.5rem) .3rem 0;
}

.blog-article-v2__header-main {
    min-width: 0;
    max-width: 54rem;
}

.blog-article-v2__category {
    display: inline-flex;
    padding: .38rem .68rem;
    color: #715b36;
    background: #f8f1e6;
    border: 1px solid #eadcc6;
    border-radius: 999px;
    font-size: .69rem;
    font-weight: 850;
    text-decoration: none;
}

.blog-article-v2__header h1 {
    max-width: 48rem;
    margin: .72rem 0 0;
    color: var(--blog-green-950);
    font-size: clamp(1.65rem, 2.65vw, 2.25rem);
    font-weight: 900;
    line-height: 1.55;
    letter-spacing: -.018em;
}

.blog-article-v2__lead {
    max-width: 48rem;
    margin: .85rem 0 0;
    color: #66736d;
    font-size: clamp(.93rem, 1.4vw, 1.02rem);
    line-height: 2.05;
}

.blog-article-v2__meta {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: .55rem 1rem;
    margin-top: 1rem;
    color: #7c8580;
    font-size: .7rem;
}

.blog-article-v2__meta-item {
    display: inline-flex;
    align-items: center;
    gap: .35rem;
}

.blog-article-v2__meta-item > span:first-child {
    width: 1.15rem;
    height: 1.15rem;
    display: grid;
    place-items: center;
    color: #8b7046;
}

.blog-article-v2__meta-item svg,
.blog-article-v2__action svg,
.blog-article-v2__side-heading svg {
    width: 1rem;
    height: 1rem;
    display: block;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.55;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.blog-article-v2__actions {
    display: flex;
    align-items: center;
    gap: .45rem;
    flex: 0 0 auto;
}

.blog-article-v2__action {
    min-height: 2.55rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .42rem;
    padding: .55rem .75rem;
    color: #4e5c56;
    background: #fff;
    border: 1px solid #e4ddd3;
    border-radius: .65rem;
    font: inherit;
    font-size: .69rem;
    font-weight: 800;
    cursor: pointer;
}

.blog-article-v2__grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(15.5rem, 18rem);
    align-items: start;
    gap: clamp(1.2rem, 3vw, 2rem);
    padding-block: .6rem clamp(3rem, 6vw, 5rem);
}

.blog-article-v2__main {
    min-width: 0;
    padding: clamp(1.25rem, 3vw, 2.1rem);
    background: #fff;
    border: 1px solid #eae3d9;
    border-radius: 1.05rem;
    box-shadow: 0 .8rem 2.6rem rgb(52 50 42 / 5%);
}

.blog-article-v2__prose {
    color: #394a44;
    font-size: clamp(.95rem, 1.3vw, 1.03rem);
    line-height: 2.25;
}

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

.blog-article-v2__prose h2,
.blog-article-v2__prose h3 {
    position: relative;
    color: #213a33;
    font-weight: 900;
    line-height: 1.7;
    scroll-margin-top: 6rem;
}

.blog-article-v2__prose h2 {
    margin: 2.15rem 0 .85rem;
    padding-inline-start: .85rem;
    font-size: clamp(1.28rem, 2vw, 1.55rem);
}

.blog-article-v2__prose h2::before {
    position: absolute;
    width: 3px;
    inset-block: .2rem;
    inset-inline-start: 0;
    content: "";
    background: var(--blog-green-700);
    border-radius: 999px;
}

.blog-article-v2__prose h3 {
    margin: 1.75rem 0 .7rem;
    font-size: clamp(1.08rem, 1.7vw, 1.22rem);
}

.blog-article-v2__prose p,
.blog-article-v2__prose ul,
.blog-article-v2__prose ol,
.blog-article-v2__prose blockquote {
    margin: 0 0 1.15rem;
}

.blog-article-v2__prose ul,
.blog-article-v2__prose ol {
    padding-inline-start: 1.4rem;
}

.blog-article-v2__prose li {
    margin-bottom: .35rem;
}

.blog-article-v2__prose blockquote {
    position: relative;
    padding: 1rem 1.1rem;
    color: #4d5d56;
    background:
        linear-gradient(
            145deg,
            #f8f3e9,
            #fcfaf5
        );
    border: 1px solid #eadfce;
    border-inline-start: 3px solid var(--blog-gold-500);
    border-radius: .75rem;
    font-weight: 650;
}

.blog-article-v2__prose a {
    color: var(--blog-green-700);
    text-decoration-thickness: 1px;
    text-underline-offset: 3px;
}

.blog-article-v2__aside {
    min-width: 0;
}

.blog-article-v2__aside-sticky {
    position: sticky;
    top: 1rem;
    display: grid;
    gap: .75rem;
}

.blog-article-v2__side-card {
    padding: .9rem;
    background: #fff;
    border: 1px solid #e8e1d7;
    border-radius: .9rem;
    box-shadow: 0 .6rem 1.8rem rgb(52 50 42 / 4%);
}

.blog-article-v2__side-heading {
    display: flex;
    align-items: center;
    gap: .4rem;
    margin-bottom: .65rem;
    color: #30463f;
}

.blog-article-v2__side-heading > span {
    width: 1.35rem;
    height: 1.35rem;
    display: grid;
    place-items: center;
    color: #8a7047;
}

.blog-article-v2__side-heading h2 {
    margin: 0;
    font-size: .84rem;
    font-weight: 900;
    line-height: 1.6;
}

.blog-article-v2__toc {
    display: grid;
    gap: .18rem;
}

.blog-article-v2__toc a {
    position: relative;
    display: block;
    padding: .38rem .65rem .38rem .25rem;
    color: #68746e;
    border-radius: .45rem;
    font-size: .68rem;
    line-height: 1.7;
    text-decoration: none;
}

.blog-article-v2__toc a::before {
    position: absolute;
    width: 4px;
    height: 4px;
    inset-block-start: .82rem;
    inset-inline-start: .18rem;
    content: "";
    background: var(--blog-green-700);
    border-radius: 50%;
}

.blog-article-v2__toc a:hover {
    color: var(--blog-green-950);
    background: #f7faf8;
}

.blog-article-v2__toc a.is-sub {
    padding-inline-start: 1rem;
    font-size: .64rem;
}

.blog-article-v2__author {
    display: flex;
    align-items: center;
    gap: .55rem;
}

.blog-article-v2__author-avatar {
    width: 2.7rem;
    height: 2.7rem;
    display: grid;
    place-items: center;
    flex: 0 0 2.7rem;
    color: #fff;
    background:
        linear-gradient(
            145deg,
            var(--blog-green-700),
            var(--blog-green-950)
        );
    border-radius: 50%;
    font-size: .85rem;
    font-weight: 900;
}

.blog-article-v2__author strong,
.blog-article-v2__author small {
    display: block;
}

.blog-article-v2__author strong {
    color: #31453e;
    font-size: .75rem;
}

.blog-article-v2__author small {
    margin-top: .1rem;
    color: #89908d;
    font-size: .59rem;
}

.blog-article-v2__author-card > p {
    margin: .7rem 0;
    color: #747e79;
    font-size: .65rem;
    line-height: 1.9;
}

.blog-article-v2__author-card > a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: .55rem;
    color: var(--blog-green-700);
    border-top: 1px solid #eee7dd;
    font-size: .65rem;
    font-weight: 800;
    text-decoration: none;
}

.blog-article-v2__related-list {
    display: grid;
    gap: .6rem;
}

.blog-article-v2__related-list > a {
    display: grid;
    grid-template-columns: 3.4rem minmax(0, 1fr);
    align-items: center;
    gap: .5rem;
    color: inherit;
    text-decoration: none;
}

.blog-article-v2__related-image {
    width: 3.4rem;
    height: 3.4rem;
    display: grid;
    place-items: center;
    overflow: hidden;
    color: rgb(37 102 90 / 35%);
    background: #eef2ec;
    border-radius: .55rem;
    font-family: serif;
    font-size: 1.3rem;
}

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

.blog-article-v2__related-list strong {
    display: -webkit-box;
    overflow: hidden;
    color: #3b4c45;
    font-size: .65rem;
    font-weight: 800;
    line-height: 1.65;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.blog-article-v2__related-list small {
    display: block;
    margin-top: .12rem;
    color: #909693;
    font-size: .56rem;
}

.blog-article-v2__tags {
    margin-top: 2.2rem;
    padding-top: 1rem;
    border-top: 1px solid #eee7dd;
}

.blog-article-v2__tags > strong {
    color: #44564f;
    font-size: .72rem;
}

.blog-article-v2__tags > div {
    display: flex;
    flex-wrap: wrap;
    gap: .4rem;
    margin-top: .55rem;
}

.blog-article-v2__tags a,
.blog-article-v2__tag--label {
    display: inline-flex;
    padding: .38rem .62rem;
    color: #705e3d;
    background: #f8f2e7;
    border: 1px solid #eadcc6;
    border-radius: 999px;
    font-size: .67rem;
    font-weight: 750;
    text-decoration: none;
}

.blog-article-v2__tag--label {
    opacity: .78;
}

.blog-related--article {
    padding-top: clamp(2.7rem, 5vw, 4rem);
}

@media (max-width: 980px) {
    .blog-article-v2__header {
        align-items: flex-start;
        flex-direction: column;
        gap: 1rem;
    }

    .blog-article-v2__grid {
        grid-template-columns: minmax(0, 1fr) 15rem;
    }
}

@media (max-width: 800px) {
    .blog-article-v2__grid {
        grid-template-columns: 1fr;
    }

    .blog-article-v2__aside {
        order: -1;
    }

    .blog-article-v2__aside-sticky {
        position: static;
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .blog-article-v2__aside-sticky > :first-child {
        grid-column: 1 / -1;
    }
}

@media (max-width: 640px) {
    .blog-article-v2__top {
        padding-block: 1rem 1.7rem;
    }

    .blog-article-v2__featured {
        height: auto;
        aspect-ratio: 16 / 10;
        border-radius: .9rem;
    }

    .blog-article-v2__header {
        padding-top: 1.25rem;
    }

    .blog-article-v2__header h1 {
        max-width: 100%;
        font-size: clamp(1.5rem, 7vw, 1.9rem);
        line-height: 1.58;
        letter-spacing: -.012em;
    }

    .blog-article-v2__actions {
        width: 100%;
    }

    .blog-article-v2__action {
        flex: 1 1 0;
    }

    .blog-article-v2__grid {
        padding-block: 0 2.8rem;
    }

    .blog-article-v2__main {
        padding: 1rem;
    }

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

    .blog-article-v2__aside-sticky > :first-child {
        grid-column: auto;
    }

    .blog-article-v2__prose {
        font-size: .94rem;
        line-height: 2.15;
    }
}


/* Public article layout correction v3 -------------------------------- */

.blog-article-v2__top > .rf-container,
.blog-article-v2__grid,
.blog-related--article > .rf-container {
    width: min(calc(100% - 3rem), 1180px);
}

.blog-article-v2__grid {
    display: grid;
    grid-template-columns: 16.5rem minmax(0, 1fr);
    grid-template-areas: "aside main";
    align-items: start;
    gap: clamp(1.4rem, 2.8vw, 2.25rem);
    direction: ltr;
    padding-block: .75rem clamp(3rem, 6vw, 4.5rem);
}

.blog-article-v2__main {
    grid-area: main;
    width: 100%;
    min-width: 0;
    direction: rtl;
    padding: clamp(1.4rem, 2.8vw, 2rem);
}

.blog-article-v2__aside {
    grid-area: aside;
    width: 100%;
    min-width: 0;
    direction: rtl;
}

.blog-article-v2__aside-sticky {
    top: 5.25rem;
}

.blog-article-v2__prose {
    width: min(100%, 48rem);
    margin-inline: auto;
    font-size: clamp(.98rem, 1.15vw, 1.04rem);
    line-height: 2.25;
}

.blog-article-v2__prose p,
.blog-article-v2__prose ul,
.blog-article-v2__prose ol,
.blog-article-v2__prose blockquote {
    max-width: 100%;
}

.blog-article-v2__prose img,
.blog-article-v2__prose video,
.blog-article-v2__prose iframe {
    max-width: 100%;
    height: auto;
}

.blog-article-v2__side-card {
    width: 100%;
    overflow: hidden;
}

.blog-article-v2__toc a,
.blog-article-v2__author-card > p,
.blog-article-v2__related-list strong {
    overflow-wrap: anywhere;
}

.blog-related--article {
    padding-block: clamp(2.8rem, 5vw, 4rem);
    background:
        linear-gradient(
            180deg,
            #fbf8f1,
            #f7f1e7
        );
    border-top: 1px solid #eee5d9;
}

.blog-section-heading--article-related {
    margin-bottom: 1.25rem;
}

.blog-article-related-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
}

.blog-article-related-card {
    min-width: 0;
    overflow: hidden;
    background: #fff;
    border: 1px solid #e7ded2;
    border-radius: 1rem;
    box-shadow: 0 .65rem 1.8rem rgb(52 50 42 / 5%);
}

.blog-article-related-card__media {
    width: 100%;
    display: grid;
    place-items: center;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    color: rgb(37 102 90 / 25%);
    background:
        radial-gradient(
            circle at center,
            rgb(255 255 255 / 70%),
            transparent 45%
        ),
        linear-gradient(
            145deg,
            #edf2ec,
            #f5eadb
        );
    font-family: serif;
    font-size: 2.5rem;
    text-decoration: none;
}

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

.blog-article-related-card__body {
    display: flex;
    min-height: 11.2rem;
    flex-direction: column;
    padding: .95rem 1rem 1rem;
}

.blog-article-related-card__meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: .5rem;
    color: #8b928e;
    font-size: .63rem;
}

.blog-article-related-card__meta span {
    color: #80683d;
    font-weight: 800;
}

.blog-article-related-card h3 {
    margin: .62rem 0 .38rem;
    font-size: .94rem;
    font-weight: 850;
    line-height: 1.75;
}

.blog-article-related-card h3 a {
    color: #294039;
    text-decoration: none;
}

.blog-article-related-card p {
    display: -webkit-box;
    overflow: hidden;
    margin: 0 0 .75rem;
    color: #6c7772;
    font-size: .73rem;
    line-height: 1.9;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.blog-article-related-card__read {
    display: inline-flex;
    align-items: center;
    gap: .35rem;
    margin-top: auto;
    padding-top: .65rem;
    color: var(--blog-green-700);
    border-top: 1px solid #eee7dd;
    font-size: .68rem;
    font-weight: 850;
    text-decoration: none;
}

@media (max-width: 980px) {
    .blog-article-v2__top > .rf-container,
    .blog-article-v2__grid,
    .blog-related--article > .rf-container {
        width: min(calc(100% - 2rem), 960px);
    }

    .blog-article-v2__grid {
        grid-template-columns: 14.5rem minmax(0, 1fr);
        gap: 1.15rem;
    }

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

@media (max-width: 800px) {
    .blog-article-v2__grid {
        grid-template-columns: 1fr;
        grid-template-areas:
            "main"
            "aside";
        direction: rtl;
    }

    .blog-article-v2__main,
    .blog-article-v2__aside {
        direction: rtl;
    }

    .blog-article-v2__aside-sticky {
        position: static;
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .blog-article-v2__aside-sticky > :first-child {
        grid-column: 1 / -1;
    }
}

@media (max-width: 640px) {
    .blog-article-v2__top > .rf-container,
    .blog-article-v2__grid,
    .blog-related--article > .rf-container {
        width: min(calc(100% - 1.25rem), 42rem);
    }

    .blog-article-v2__main {
        padding: 1rem;
    }

    .blog-article-v2__prose {
        width: 100%;
        font-size: .95rem;
        line-height: 2.15;
    }

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

    .blog-article-v2__aside-sticky > :first-child {
        grid-column: auto;
    }

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

    .blog-article-related-card {
        display: grid;
        grid-template-columns: 7.5rem minmax(0, 1fr);
    }

    .blog-article-related-card__media {
        height: 100%;
        min-height: 9rem;
        aspect-ratio: auto;
    }

    .blog-article-related-card__body {
        min-height: 9rem;
    }
}


/* Public article stabilization v4 ------------------------------------ */

/*
 * Keep article direction native RTL and explicitly assign columns.
 * This removes the previous LTR grid workaround that could visually
 * overlap the sticky sidebar with long Persian content.
 */
.blog-article-v2__grid {
    width: min(calc(100% - 3rem), 1120px);
    display: grid;
    grid-template-columns: minmax(0, 1fr) 15.5rem;
    align-items: start;
    gap: clamp(1.5rem, 3vw, 2.25rem);
    direction: rtl;
    padding-block: 1rem clamp(3.5rem, 6vw, 5rem);
}

.blog-article-v2__main {
    grid-column: 1;
    width: 100%;
    min-width: 0;
    overflow: hidden;
    direction: rtl;
    padding: clamp(1.4rem, 2.7vw, 2rem);
}

.blog-article-v2__aside {
    grid-column: 2;
    width: 100%;
    min-width: 0;
    direction: rtl;
}

.blog-article-v2__aside-sticky {
    position: sticky;
    top: 5.4rem;
    width: 100%;
}

/* Reading typography must be independent from Quill editor CSS. */
.blog-article-v2__prose {
    width: 100%;
    max-width: 48rem;
    margin-inline: auto;
    direction: rtl;
    color: #354740;
    font-size: clamp(.96rem, 1.05vw, 1.02rem);
    font-weight: 400;
    line-height: 2.15;
    text-align: right;
    white-space: normal;
    word-break: normal;
    overflow-wrap: break-word;
}

.blog-article-v2__prose > * {
    max-width: 100%;
}

.blog-article-v2__prose p {
    margin: 0 0 1rem;
    padding: 0;
    direction: rtl;
    text-align: right;
}

.blog-article-v2__prose p:empty {
    display: none;
}

.blog-article-v2__prose br:only-child {
    display: none;
}

.blog-article-v2__prose h2 {
    margin: 2.35rem 0 .85rem;
    padding-inline-start: 0;
    padding-inline-end: .85rem;
    font-size: clamp(1.22rem, 1.75vw, 1.48rem);
    line-height: 1.75;
    text-align: right;
}

.blog-article-v2__prose h2::before {
    inset-inline-start: auto;
    inset-inline-end: 0;
}

.blog-article-v2__prose h3 {
    margin: 1.8rem 0 .7rem;
    font-size: clamp(1.05rem, 1.4vw, 1.18rem);
    line-height: 1.8;
    text-align: right;
}

.blog-article-v2__prose ul,
.blog-article-v2__prose ol {
    margin: .25rem 0 1.2rem;
    padding-inline-start: 0;
    padding-inline-end: 1.35rem;
}

.blog-article-v2__prose li {
    margin-bottom: .3rem;
    padding-inline-start: .15rem;
}

.blog-article-v2__prose blockquote {
    margin: 1.4rem 0;
    padding: 1rem 1.1rem;
    border-inline-start: 0;
    border-inline-end: 3px solid var(--blog-gold-500);
    line-height: 2;
    text-align: right;
}

.blog-article-v2__tags {
    max-width: 48rem;
    margin-inline: auto;
}

/* Sidebar */
.blog-article-v2__side-card {
    overflow: visible;
}

.blog-article-v2__toc a {
    padding: .38rem .7rem;
    padding-inline-start: .25rem;
}

.blog-article-v2__toc a::before {
    inset-inline-start: auto;
    inset-inline-end: .2rem;
}

.blog-article-v2__toc a.is-sub {
    padding-inline-start: .25rem;
    padding-inline-end: 1.1rem;
}

/* Related section: compact editorial section instead of a large block. */
.blog-related--article {
    padding-block: clamp(2.4rem, 4vw, 3.4rem);
    background:
        linear-gradient(
            180deg,
            #fbf8f2 0%,
            #f7f0e5 100%
        );
    border-top: 1px solid #eee3d5;
    border-bottom: 1px solid #eee3d5;
}

.blog-related--article > .rf-container {
    width: min(calc(100% - 3rem), 1120px);
}

.blog-article-related-heading {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1.35rem;
}

.blog-article-related-heading h2 {
    margin: .16rem 0 0;
    color: var(--blog-green-950);
    font-size: clamp(1.35rem, 2vw, 1.72rem);
    font-weight: 900;
    line-height: 1.6;
}

.blog-article-related-heading p {
    margin: .2rem 0 0;
    color: #7a837f;
    font-size: .7rem;
}

.blog-article-related-heading > a {
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    flex: 0 0 auto;
    padding: .52rem .72rem;
    color: var(--blog-green-700);
    background: rgb(255 255 255 / 68%);
    border: 1px solid #e4dacd;
    border-radius: .65rem;
    font-size: .68rem;
    font-weight: 850;
    text-decoration: none;
}

.blog-article-related-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: .9rem;
}

.blog-article-related-card {
    display: grid;
    grid-template-columns: 8rem minmax(0, 1fr);
    min-height: 8.6rem;
    overflow: hidden;
    background: rgb(255 255 255 / 92%);
    border: 1px solid #e7ded2;
    border-radius: .9rem;
    box-shadow: 0 .45rem 1.4rem rgb(52 50 42 / 4%);
}

.blog-article-related-card__media {
    width: 100%;
    height: 100%;
    min-height: 8.6rem;
    aspect-ratio: auto;
    border-radius: 0;
}

.blog-article-related-card__body {
    min-width: 0;
    min-height: 8.6rem;
    padding: .75rem .8rem;
}

.blog-article-related-card h3 {
    margin: .42rem 0 .3rem;
    font-size: .82rem;
    line-height: 1.7;
}

.blog-article-related-card p {
    margin-bottom: .45rem;
    font-size: .66rem;
    line-height: 1.75;
    -webkit-line-clamp: 2;
}

.blog-article-related-card__meta {
    font-size: .58rem;
}

.blog-article-related-card__read {
    padding-top: .45rem;
    font-size: .62rem;
}

@media (max-width: 1040px) {
    .blog-article-v2__grid,
    .blog-related--article > .rf-container {
        width: min(calc(100% - 2rem), 960px);
    }

    .blog-article-v2__grid {
        grid-template-columns: minmax(0, 1fr) 14rem;
        gap: 1.2rem;
    }

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

@media (max-width: 800px) {
    .blog-article-v2__grid {
        grid-template-columns: 1fr;
        direction: rtl;
    }

    .blog-article-v2__main {
        grid-column: 1;
        grid-row: 1;
    }

    .blog-article-v2__aside {
        grid-column: 1;
        grid-row: 2;
    }

    .blog-article-v2__aside-sticky {
        position: static;
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .blog-article-v2__aside-sticky > :first-child {
        grid-column: 1 / -1;
    }
}

@media (max-width: 680px) {
    .blog-article-v2__grid,
    .blog-related--article > .rf-container {
        width: min(calc(100% - 1.25rem), 42rem);
    }

    .blog-article-v2__main {
        padding: 1rem;
    }

    .blog-article-v2__prose {
        max-width: none;
        font-size: .94rem;
        line-height: 2.08;
    }

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

    .blog-article-v2__aside-sticky > :first-child {
        grid-column: auto;
    }

    .blog-article-related-heading {
        align-items: flex-start;
        flex-direction: column;
        gap: .7rem;
    }

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

    .blog-article-related-card {
        grid-template-columns: 7.2rem minmax(0, 1fr);
        min-height: 8rem;
    }

    .blog-article-related-card__media,
    .blog-article-related-card__body {
        min-height: 8rem;
    }
}


/* Public article sidebar + related redesign v5 ------------------------ */

/*
 * Keep the complete sidebar in the viewport on desktop.
 * The aside itself owns sticky positioning and, when its content is taller
 * than the viewport, receives its own unobtrusive scroll area.
 */
@media (min-width: 801px) {
    .blog-article-v2__aside {
        position: sticky;
        top: 5.25rem;
        align-self: start;
        max-height: calc(100vh - 6.25rem);
        overflow-x: hidden;
        overflow-y: auto;
        overscroll-behavior: contain;
        scrollbar-width: thin;
        scrollbar-color: rgb(37 102 90 / 24%) transparent;
    }

    .blog-article-v2__aside::-webkit-scrollbar {
        width: 5px;
    }

    .blog-article-v2__aside::-webkit-scrollbar-track {
        background: transparent;
    }

    .blog-article-v2__aside::-webkit-scrollbar-thumb {
        background: rgb(37 102 90 / 20%);
        border-radius: 999px;
    }

    .blog-article-v2__aside-sticky {
        position: static;
        top: auto;
        width: 100%;
        padding-inline-end: .2rem;
    }
}

/* Related articles become a distinct editorial chapter of the page. */
.blog-related--article {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    padding-block: clamp(3.4rem, 6vw, 5.2rem);
    background:
        radial-gradient(
            circle at 88% 12%,
            rgb(213 170 97 / 13%),
            transparent 17rem
        ),
        linear-gradient(
            180deg,
            #fbf8f2 0%,
            #f5ecdf 100%
        );
    border-top: 1px solid #eadfce;
    border-bottom: 1px solid #eadfce;
}

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

.blog-related--article__decor span {
    position: absolute;
    border: 1px solid rgb(37 102 90 / 7%);
    border-radius: 50%;
}

.blog-related--article__decor span:first-child {
    width: 24rem;
    height: 24rem;
    inset-block-start: -17rem;
    inset-inline-start: -7rem;
}

.blog-related--article__decor span:last-child {
    width: 18rem;
    height: 18rem;
    inset-block-end: -13rem;
    inset-inline-end: -4rem;
}

.blog-related--article__inner {
    width: min(calc(100% - 3rem), 1120px);
}

.blog-article-related-heading {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 1.4rem;
    margin-bottom: 1.7rem;
    padding-bottom: 1.15rem;
    border-bottom: 1px solid rgb(107 92 67 / 12%);
}

.blog-article-related-heading__copy {
    max-width: 38rem;
}

.blog-article-related-heading h2 {
    margin: .18rem 0 .28rem;
    color: var(--blog-green-950);
    font-size: clamp(1.55rem, 2.6vw, 2.05rem);
    font-weight: 900;
    line-height: 1.55;
}

.blog-article-related-heading p {
    margin: 0;
    color: #727c77;
    font-size: .76rem;
    line-height: 1.9;
}

.blog-article-related-heading > a {
    min-height: 2.55rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .45rem;
    flex: 0 0 auto;
    padding: .58rem .82rem;
    color: var(--blog-green-700);
    background: rgb(255 255 255 / 66%);
    border: 1px solid #dfd4c5;
    border-radius: .7rem;
    font-size: .7rem;
    font-weight: 850;
    text-decoration: none;
    backdrop-filter: blur(.25rem);
    transition:
        transform 150ms ease,
        border-color 150ms ease,
        background 150ms ease;
}

.blog-article-related-heading > a:hover {
    transform: translateY(-1px);
    background: #fff;
    border-color: rgb(37 102 90 / 24%);
}

.blog-article-related-grid {
    display: grid;
    grid-template-columns: repeat(
        auto-fit,
        minmax(min(100%, 17rem), 1fr)
    );
    gap: 1rem;
}

.blog-article-related-card {
    min-width: 0;
    display: flex;
    min-height: 100%;
    flex-direction: column;
    overflow: hidden;
    background: rgb(255 255 255 / 94%);
    border: 1px solid #e4d9cb;
    border-radius: 1.05rem;
    box-shadow:
        0 .75rem 2rem rgb(62 53 43 / 5%);
    transition:
        transform 170ms ease,
        box-shadow 170ms ease,
        border-color 170ms ease;
}

.blog-article-related-card:hover {
    transform: translateY(-3px);
    border-color: rgb(213 170 97 / 45%);
    box-shadow:
        0 1rem 2.5rem rgb(62 53 43 / 9%);
}

.blog-article-related-card__media {
    width: 100%;
    height: auto;
    min-height: 0;
    display: grid;
    place-items: center;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    color: rgb(37 102 90 / 22%);
    background:
        radial-gradient(
            circle at center,
            rgb(255 255 255 / 75%),
            transparent 45%
        ),
        linear-gradient(
            145deg,
            #edf2ec,
            #f5eadb
        );
    border-radius: 0;
    font-family: serif;
    font-size: 2.6rem;
    text-decoration: none;
}

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

.blog-article-related-card__body {
    display: flex;
    min-height: 12.2rem;
    flex: 1;
    flex-direction: column;
    padding: 1rem 1.05rem 1.05rem;
}

.blog-article-related-card__meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: .5rem;
    color: #8a918d;
    font-size: .62rem;
}

.blog-article-related-card__meta span {
    color: #846b40;
    font-weight: 800;
}

.blog-article-related-card h3 {
    margin: .65rem 0 .38rem;
    color: #294039;
    font-size: .96rem;
    font-weight: 850;
    line-height: 1.75;
}

.blog-article-related-card h3 a {
    color: inherit;
    text-decoration: none;
}

.blog-article-related-card p {
    display: -webkit-box;
    overflow: hidden;
    margin: 0 0 .8rem;
    color: #69746f;
    font-size: .72rem;
    line-height: 1.9;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.blog-article-related-card__footer {
    margin-top: auto;
    padding-top: .72rem;
    border-top: 1px solid #eee6db;
}

.blog-article-related-card__read {
    display: inline-flex;
    align-items: center;
    gap: .38rem;
    padding: 0;
    color: var(--blog-green-700);
    border: 0;
    font-size: .68rem;
    font-weight: 850;
    text-decoration: none;
}

@media (max-width: 1040px) {
    .blog-related--article__inner {
        width: min(calc(100% - 2rem), 960px);
    }
}

@media (max-width: 800px) {
    .blog-article-v2__aside {
        position: static;
        max-height: none;
        overflow: visible;
    }

    .blog-related--article {
        padding-block: 3rem;
    }
}

@media (max-width: 680px) {
    .blog-related--article__inner {
        width: min(calc(100% - 1.25rem), 42rem);
    }

    .blog-article-related-heading {
        align-items: flex-start;
        flex-direction: column;
        gap: .75rem;
    }

    .blog-article-related-heading > a {
        width: 100%;
    }

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

    .blog-article-related-card__body {
        min-height: 0;
    }
}


/* Compact related articles + article newsletter spacing v6 ----------- */

.blog-related--article {
    padding-block: clamp(2.5rem, 4vw, 3.5rem);
}

.blog-related--article__inner {
    width: min(calc(100% - 3rem), 1120px);
}

.blog-article-related-heading {
    margin-bottom: 1.25rem;
    padding-bottom: .9rem;
}

.blog-article-related-heading h2 {
    font-size: clamp(1.35rem, 2vw, 1.7rem);
}

.blog-article-related-heading p {
    font-size: .7rem;
}

.blog-article-related-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: .85rem;
}

.blog-article-related-card {
    border-radius: .9rem;
}

.blog-article-related-card__media {
    aspect-ratio: 16 / 9;
    font-size: 2rem;
}

.blog-article-related-card__body {
    min-height: 0;
    padding: .8rem .85rem .85rem;
}

.blog-article-related-card__meta {
    font-size: .56rem;
}

.blog-article-related-card h3 {
    margin: .48rem 0 .28rem;
    font-size: .82rem;
    line-height: 1.68;
}

.blog-article-related-card p {
    margin-bottom: .6rem;
    font-size: .64rem;
    line-height: 1.75;
    -webkit-line-clamp: 2;
}

.blog-article-related-card__footer {
    padding-top: .55rem;
}

.blog-article-related-card__read {
    font-size: .61rem;
}

.blog-article-newsletter-wrap {
    padding-top: clamp(2.4rem, 4.5vw, 3.6rem);
    background: #fff;
}

.blog-article-newsletter-wrap .blog-newsletter {
    padding-top: 0;
}

@media (max-width: 1100px) {
    .blog-article-related-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 820px) {
    .blog-article-related-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 560px) {
    .blog-related--article {
        padding-block: 2.4rem;
    }

    .blog-related--article__inner {
        width: min(calc(100% - 1.25rem), 42rem);
    }

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

    .blog-article-related-card {
        display: grid;
        grid-template-columns: 7.2rem minmax(0, 1fr);
    }

    .blog-article-related-card__media {
        height: 100%;
        min-height: 7.5rem;
        aspect-ratio: auto;
    }

    .blog-article-newsletter-wrap {
        padding-top: 2.2rem;
    }
}


/* Public Blog category/tag archive redesign v1 ----------------------- */

.public-blog-archive-layout {
    background: #fff;
}

.blog-archive-page {
    background:
        linear-gradient(
            180deg,
            #fff 0%,
            #fff 72%,
            #fbf8f2 100%
        );
}

.blog-archive-hero {
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(
            circle at 12% 20%,
            rgb(213 170 97 / 13%),
            transparent 15rem
        ),
        radial-gradient(
            circle at 88% 8%,
            rgb(255 255 255 / 72%),
            transparent 17rem
        ),
        linear-gradient(
            118deg,
            #f8f1e5 0%,
            #f1e5d4 48%,
            #faf7f0 100%
        );
    border-bottom: 1px solid rgb(87 80 66 / 8%);
}

.blog-archive-hero__decor {
    position: absolute;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
}

.blog-archive-hero__decor span {
    position: absolute;
    border: 1px solid rgb(37 102 90 / 7%);
    border-radius: 50%;
}

.blog-archive-hero__decor span:first-child {
    width: 22rem;
    height: 22rem;
    inset-block-start: -15rem;
    inset-inline-end: -4rem;
}

.blog-archive-hero__decor span:last-child {
    width: 18rem;
    height: 18rem;
    inset-block-end: -13rem;
    inset-inline-start: -4rem;
}

.blog-archive-hero__inner {
    position: relative;
    z-index: 1;
    max-width: 74rem;
    padding-block: clamp(2.8rem, 5vw, 4.3rem);
    text-align: start;
}

.blog-archive-breadcrumb {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: .42rem;
    margin-bottom: 1.3rem;
    color: #8a918d;
    font-size: .7rem;
}

.blog-archive-breadcrumb a {
    color: #68756f;
    font-weight: 750;
    text-decoration: none;
}

.blog-archive-hero__content {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    gap: 1.2rem;
}

.blog-archive-hero__icon {
    width: 4.4rem;
    height: 4.4rem;
    display: grid;
    place-items: center;
    flex: 0 0 auto;
    color: #8e7144;
    background: rgb(255 250 241 / 68%);
    border: 1px solid rgb(213 170 97 / 28%);
    border-radius: 1.15rem;
    box-shadow: 0 .8rem 2rem rgb(70 61 47 / 7%);
    backdrop-filter: blur(.35rem);
}

.blog-archive-hero__icon svg {
    width: 2rem;
    height: 2rem;
    display: block;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.45;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.blog-archive-hero__icon svg circle {
    fill: currentColor;
    stroke: none;
}

.blog-archive-hero__copy {
    min-width: 0;
}

.blog-archive-hero__copy h1 {
    max-width: 45rem;
    margin: .18rem 0 .45rem;
    color: var(--blog-green-950);
    font-size: clamp(1.75rem, 3vw, 2.5rem);
    font-weight: 900;
    line-height: 1.5;
    letter-spacing: -.02em;
}

.blog-archive-hero__copy p {
    max-width: 45rem;
    margin: 0;
    color: #65716b;
    font-size: .86rem;
    line-height: 2;
}

.blog-archive-hero__stat {
    min-width: 8.6rem;
    display: grid;
    gap: .15rem;
    padding: .85rem 1rem;
    text-align: center;
    background: rgb(255 255 255 / 58%);
    border: 1px solid rgb(121 105 78 / 12%);
    border-radius: .9rem;
    backdrop-filter: blur(.4rem);
}

.blog-archive-hero__stat small {
    color: #7d8782;
    font-size: .63rem;
}

.blog-archive-hero__stat strong {
    color: var(--blog-green-950);
    font-size: 1.55rem;
    line-height: 1.25;
}

.blog-archive-content {
    padding-block: clamp(2.8rem, 5vw, 4.3rem);
}

.blog-archive-content__inner {
    max-width: 74rem;
}

.blog-archive-heading {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 1.25rem;
    margin-bottom: 1.45rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #eee6db;
}

.blog-archive-heading h2 {
    margin: .18rem 0 .2rem;
    color: var(--blog-green-950);
    font-size: clamp(1.35rem, 2.2vw, 1.75rem);
    font-weight: 900;
    line-height: 1.6;
}

.blog-archive-heading p {
    margin: 0;
    color: #7c8581;
    font-size: .69rem;
}

.blog-archive-heading__back {
    min-height: 2.45rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .4rem;
    flex: 0 0 auto;
    padding: .52rem .75rem;
    color: var(--blog-green-700);
    background: #fff;
    border: 1px solid #e3dacd;
    border-radius: .65rem;
    font-size: .68rem;
    font-weight: 850;
    text-decoration: none;
    transition:
        transform 150ms ease,
        border-color 150ms ease,
        box-shadow 150ms ease;
}

.blog-archive-heading__back:hover {
    transform: translateY(-1px);
    border-color: rgb(37 102 90 / 24%);
    box-shadow: 0 .45rem 1rem rgb(52 50 42 / 5%);
}

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

.blog-archive-grid .blog-card {
    height: 100%;
}

.blog-archive-grid .blog-card__body {
    min-height: 12.3rem;
}

.blog-archive-grid .blog-card__media {
    aspect-ratio: 16 / 9;
}

.blog-archive-empty {
    padding-block: 3.2rem;
}

.blog-archive-empty > a {
    min-height: 2.5rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-top: 1rem;
    padding: .55rem .85rem;
    color: #fff;
    background: var(--blog-green-900);
    border-radius: .65rem;
    font-size: .7rem;
    font-weight: 850;
    text-decoration: none;
}

.blog-archive-newsletter-wrap {
    padding-top: .6rem;
    background: #fff;
}

.blog-archive-newsletter-wrap .blog-newsletter {
    padding-top: 0;
}

@media (max-width: 960px) {
    .blog-archive-hero__content {
        grid-template-columns: auto minmax(0, 1fr);
    }

    .blog-archive-hero__stat {
        grid-column: 1 / -1;
        min-width: 0;
        display: flex;
        align-items: baseline;
        justify-content: flex-start;
        gap: .45rem;
        padding: .65rem .8rem;
        text-align: start;
    }

    .blog-archive-hero__stat strong {
        font-size: 1.15rem;
    }

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

@media (max-width: 640px) {
    .blog-archive-hero__inner {
        padding-block: 2.5rem 3rem;
    }

    .blog-archive-hero__content {
        grid-template-columns: 1fr;
        gap: .85rem;
    }

    .blog-archive-hero__icon {
        width: 3.5rem;
        height: 3.5rem;
        border-radius: .9rem;
    }

    .blog-archive-hero__icon svg {
        width: 1.6rem;
        height: 1.6rem;
    }

    .blog-archive-hero__copy h1 {
        font-size: clamp(1.55rem, 8vw, 2rem);
    }

    .blog-archive-hero__stat {
        grid-column: auto;
    }

    .blog-archive-heading {
        align-items: flex-start;
        flex-direction: column;
        gap: .7rem;
    }

    .blog-archive-heading__back {
        width: 100%;
    }

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

    .blog-archive-grid .blog-card__body {
        min-height: 0;
    }

    .blog-archive-newsletter-wrap {
        padding-top: .2rem;
    }
}

/* Newsletter security row: keep the complete form compact on desktop. */
@media (min-width: 681px) {
    .blog-newsletter__form {
        grid-template-columns:
            minmax(10rem, 1fr)
            auto
            auto;
        align-items: end;
        gap: .5rem;
    }

    .blog-newsletter__form > .public-form-security--newsletter {
        grid-column: auto;
        width: auto;
        max-width: none;
        margin: 0;
        padding: 0;
        align-self: end;
    }

    .blog-newsletter__form
    > .public-form-security--newsletter
    .public-form-security__meta {
        display: none;
    }

    .blog-newsletter__form
    > .public-form-security--newsletter
    .public-form-security__controls {
        gap: .38rem;
    }

    .blog-newsletter__form
    > .public-form-security--newsletter
    .public-form-security__answer {
        width: 3.9rem !important;
    }

    .blog-newsletter__form
    > .public-form-security--newsletter
    .public-form-security__answer > span {
        min-height: .75rem;
        font-size: .56rem !important;
    }

    .blog-newsletter__form
    > .public-form-security--newsletter
    .public-form-security__answer input {
        width: 3.9rem !important;
        height: 2.85rem !important;
        min-height: 2.85rem !important;
        border-radius: .72rem !important;
    }

    .blog-newsletter__form
    > .public-form-security--newsletter
    .public-form-security__captcha {
        width: 130px;
        height: 2.85rem;
        flex-basis: 130px;
        border-radius: .72rem;
    }

    .blog-newsletter__form
    > .public-form-security--newsletter
    .public-form-security__captcha img {
        width: 130px !important;
        height: 2.85rem !important;
    }

    .blog-newsletter__form button {
        align-self: end;
    }
}

@media (min-width: 681px) and (max-width: 900px) {
    .blog-newsletter__form {
        grid-template-columns:
            minmax(8rem, 1fr)
            auto
            auto;
    }

    .blog-newsletter__form
    > .public-form-security--newsletter
    .public-form-security__captcha,
    .blog-newsletter__form
    > .public-form-security--newsletter
    .public-form-security__captcha img {
        width: 116px !important;
    }

    .blog-newsletter__form
    > .public-form-security--newsletter
    .public-form-security__captcha {
        flex-basis: 116px;
    }

    .blog-newsletter__form button {
        min-width: 7.6rem;
        padding-inline: .75rem;
    }
}

