.blog-body {
    --blog-ivory: #F8F5F0;
    --blog-blush: #E9D8D0;
    --blog-caramel: #B68F7A;
    --blog-chocolate: #705448;
    --blog-sage: #A6AA91;
    --blog-white: #FFFFFF;
    --blog-body-text: #59463E;
    --blog-muted-text: #75645C;
    background: var(--blog-ivory);
}

.blog-body .header-div {
    background: var(--blog-ivory);
}

.header-div #mainNav.blog-navbar {
    margin-bottom: 0;
    position: relative;
}

.blog-page {
    background: var(--blog-ivory);
    color: var(--blog-body-text);
    font-family: 'Lato', sans-serif;
    min-height: 60vh;
    text-align: left;
}

.blog-page,
.blog-page * {
    box-sizing: border-box;
}

.blog-page h1,
.blog-page h2,
.blog-page h3 {
    color: var(--blog-chocolate);
    font-family: 'Playfair Display', Georgia, serif;
}

.blog-page a {
    color: var(--blog-chocolate);
}

.blog-page a:focus-visible {
    border-radius: 2px;
    outline: 3px solid var(--blog-sage);
    outline-offset: 4px;
}

.blog-hero {
    background-color: var(--blog-ivory);
    padding: 40px 20px;
    text-align: center;
    width: 100%;
}

.blog-hero-content {
    margin: 0 auto;
    max-width: 850px;
}

.blog-eyebrow {
    color: var(--blog-chocolate);
    display: inline-block;
    font-family: 'Lato', sans-serif;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 3px;
    margin-bottom: 18px;
    position: relative;
    text-transform: uppercase;
}

.blog-eyebrow::after {
    background: var(--blog-caramel);
    bottom: -7px;
    content: '';
    height: 2px;
    left: 50%;
    position: absolute;
    transform: translateX(-50%);
    width: 34px;
}

.blog-hero h1 {
    font-size: clamp(38px, 5vw, 58px);
    font-weight: 400;
    line-height: 1.2;
    margin: 0 0 18px;
    text-align: center;
}

.blog-hero p {
    color: var(--blog-body-text);
    font-size: 16px;
    font-weight: 400;
    line-height: 1.8;
    margin: 0 auto;
    max-width: 600px;
    text-align: center;
}

.blog-listing {
    margin: 0 auto;
    max-width: 1320px;
    padding: 35px 40px 95px;
}

.blog-listing-header {
    align-items: flex-end;
    display: flex;
    gap: 30px;
    justify-content: space-between;
    margin-bottom: 32px;
}

.blog-listing-header .blog-eyebrow {
    margin-bottom: 14px;
}

.blog-listing-header .blog-eyebrow::after,
.blog-section-heading .blog-eyebrow::after {
    left: 0;
    transform: none;
}

.blog-listing-header h2,
.blog-section-heading h2 {
    font-size: clamp(30px, 4vw, 42px);
    font-weight: 400;
    margin: 0;
}

.blog-categories {
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
    justify-content: flex-end;
}

.blog-categories a {
    border: 1px solid var(--blog-blush);
    border-radius: 20px;
    font-size: 13px;
    font-weight: 700;
    padding: 8px 13px;
    transition: background-color 180ms ease, border-color 180ms ease;
}

.blog-categories a:hover,
.blog-categories a:focus,
.blog-categories a.is-active {
    background: var(--blog-blush);
    border-color: var(--blog-caramel);
    color: var(--blog-chocolate);
}

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

.blog-card,
.blog-related-card {
    background: var(--blog-white);
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.blog-card-image-link,
.blog-related-image-link {
    background: var(--blog-blush);
    display: block;
    overflow: hidden;
}

.blog-card-image-link {
    aspect-ratio: 4 / 3;
}

.blog-card-image,
.blog-related-image {
    height: 100%;
    object-fit: cover;
    transition: transform 300ms ease;
    width: 100%;
}

.blog-card:hover .blog-card-image,
.blog-related-card:hover .blog-related-image {
    transform: scale(1.025);
}

.blog-card-content {
    display: flex;
    flex: 1;
    flex-direction: column;
    padding: 25px 25px 28px;
}

.blog-card-meta {
    align-items: baseline;
    display: flex;
    flex-wrap: wrap;
    gap: 8px 14px;
    justify-content: space-between;
}

.blog-category {
    border-bottom: 2px solid var(--blog-caramel);
    display: inline-block;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1.3px;
    line-height: 1.5;
    text-transform: uppercase;
}

.blog-category:hover,
.blog-category:focus {
    border-bottom-color: var(--blog-sage);
    color: var(--blog-chocolate);
}

.blog-card time,
.blog-article-header time {
    color: var(--blog-muted-text);
    font-size: 12px;
    letter-spacing: .4px;
}

.blog-sample-label {
    align-self: flex-start;
    background: var(--blog-blush);
    color: var(--blog-chocolate);
    display: inline-block;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 1px;
    margin-top: 14px;
    padding: 5px 8px;
    text-transform: uppercase;
}

.blog-card h3 {
    font-size: 27px;
    font-weight: 400;
    line-height: 1.25;
    margin: 13px 0 12px;
}

.blog-card h3 a,
.blog-related-card h3 a {
    color: inherit;
}

.blog-card p {
    color: var(--blog-body-text);
    font-size: 14px;
    line-height: 1.75;
    margin: 0 0 22px;
    text-align: left;
}

.blog-read-more {
    align-self: flex-start;
    border-bottom: 2px solid var(--blog-caramel);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1.5px;
    margin-top: auto;
    padding-bottom: 4px;
    text-transform: uppercase;
}

.blog-read-more span {
    display: inline-block;
    margin-left: 3px;
    transition: transform 180ms ease;
}

.blog-read-more:hover,
.blog-read-more:focus {
    border-bottom-color: var(--blog-sage);
    color: var(--blog-chocolate);
}

.blog-read-more:hover span,
.blog-read-more:focus span {
    transform: translateX(3px);
}

.blog-article {
    padding: 70px 20px 30px;
}

.blog-article-header {
    margin: 0 auto 45px;
    max-width: 800px;
    text-align: left;
}

.blog-back-link {
    border-bottom: 1px solid var(--blog-caramel);
    display: table;
    font-size: 13px;
    font-weight: 700;
    margin: 0 0 38px;
    padding-bottom: 4px;
}

.blog-article-header .blog-category,
.blog-article-header .blog-sample-label,
.blog-article-header time {
    display: table;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

.blog-article-header .blog-category,
.blog-article-header .blog-sample-label {
    margin-bottom: 16px;
}

.blog-article-header h1 {
    font-size: clamp(39px, 6vw, 64px);
    font-weight: 400;
    line-height: 1.12;
    margin: 8px 0 17px;
    text-align: center;
}

.blog-article-intro {
    color: var(--blog-body-text);
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 21px;
    line-height: 1.65;
    margin: 28px 0 0;
    text-align: left;
}

.blog-article-featured {
    aspect-ratio: 16 / 8.5;
    margin: 0 auto 60px;
    max-width: 850px;
    overflow: hidden;
}

.blog-article-featured-image {
    height: 100%;
    object-fit: cover;
    object-position: center 48%;
    width: 100%;
}

.blog-article-body {
    font-family: 'Lato', sans-serif;
    font-size: 17px;
    line-height: 1.9;
    margin: 0 auto;
    max-width: 800px;
    text-align: left;
}

.blog-article-body h2 {
    font-size: clamp(29px, 4vw, 38px);
    font-weight: 400;
    line-height: 1.25;
    margin: 50px 0 18px;
    text-align: left;
}

.blog-article-body p {
    margin: 0 0 25px;
    text-align: left;
}

.blog-article-body .blog-emphasis {
    color: var(--blog-chocolate);
    font-weight: 700;
}

.blog-article-body .blog-inline-link {
    border-bottom: 2px solid var(--blog-caramel);
    font-weight: 700;
    padding-bottom: 1px;
}

.blog-article-body .blog-inline-link:hover,
.blog-article-body .blog-inline-link:focus {
    border-bottom-color: var(--blog-sage);
    color: var(--blog-chocolate);
}

.blog-article-body .blog-article-cta,
.blog-article-body .blog-article-cta h2,
.blog-article-body .blog-article-cta p {
    text-align: center;
}

.blog-article-body ul {
    margin: 10px 0 30px;
    padding-left: 24px;
    text-align: left;
}

.blog-article-body li {
    margin-bottom: 10px;
    padding-left: 5px;
    text-align: left;
}

.blog-article-body li::marker {
    color: var(--blog-caramel);
}

.blog-article-inline-image {
    margin: 45px 0;
}

.blog-article-body-image {
    height: auto;
    max-height: 760px;
    object-fit: cover;
    width: 100%;
}

.blog-article-inline-image figcaption {
    color: var(--blog-muted-text);
    font-family: 'Lato', sans-serif;
    font-size: 12px;
    line-height: 1.6;
    padding-top: 10px;
    text-align: center;
}

.blog-related {
    background: var(--blog-blush);
    margin-top: 50px;
    padding: 70px max(30px, calc((100vw - 1120px) / 2)) 75px;
}

.blog-section-heading {
    margin-bottom: 30px;
    text-align: left;
}

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

.blog-related-card {
    display: grid;
    grid-template-columns: minmax(180px, 42%) 1fr;
}

.blog-related-image-link {
    min-height: 260px;
}

.blog-related-content {
    align-items: flex-start;
    display: flex;
    flex-direction: column;
    padding: 28px;
}

.blog-related-card h3 {
    font-size: 25px;
    font-weight: 400;
    line-height: 1.3;
    margin: 15px 0 20px;
}

.blog-related-back {
    margin-bottom: 0;
    margin-top: 35px;
}

.blog-message {
    margin: 0 auto;
    max-width: 760px;
    min-height: 55vh;
    padding: 110px 20px;
    text-align: center;
}

.blog-message h1 {
    font-size: clamp(38px, 5vw, 58px);
    font-weight: 400;
    margin: 8px 0 18px;
    text-align: center;
}

.blog-message p {
    font-size: 16px;
    line-height: 1.8;
}

.blog-button {
    border: 2px solid var(--blog-caramel);
    display: inline-block;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 1px;
    margin-top: 20px;
    padding: 12px 19px;
    text-transform: uppercase;
}

.blog-button:hover,
.blog-button:focus {
    background: var(--blog-blush);
    color: var(--blog-chocolate);
}

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

    .blog-related-card {
        display: flex;
    }

    .blog-related-image-link {
        aspect-ratio: 4 / 3;
        min-height: 0;
    }
}

@media (max-width: 700px) {
    .blog-hero {
        padding: 40px 20px;
    }

    .blog-hero h1 {
        font-size: 38px;
    }

    .blog-hero p {
        font-size: 14px;
    }

    .blog-listing {
        padding: 32px 18px 65px;
    }

    .blog-listing-header {
        align-items: flex-start;
        flex-direction: column;
        gap: 22px;
    }

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

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

    .blog-card-content {
        padding: 23px 21px 27px;
    }

    .blog-article {
        padding: 48px 17px 10px;
    }

    .blog-article-header {
        margin-bottom: 32px;
    }

    .blog-back-link {
        margin-bottom: 30px;
    }

    .blog-article-intro {
        font-size: 18px;
    }

    .blog-article-featured {
        aspect-ratio: 4 / 3;
        margin-bottom: 40px;
    }

    .blog-article-body {
        font-size: 16px;
        line-height: 1.8;
    }

    .blog-article-body h2 {
        margin-top: 40px;
    }

    .blog-related {
        margin-top: 40px;
        padding: 55px 18px 60px;
    }

    .blog-related-card {
        display: flex;
    }
}

@media (prefers-reduced-motion: reduce) {
    .blog-page *,
    .blog-page *::before,
    .blog-page *::after {
        scroll-behavior: auto !important;
        transition-duration: 0.01ms !important;
    }
}
