.grid-posts {
    gap: 2rem 0;
}

.grid-posts .site-blog-card article {
    display: flex;
    flex-direction: column;
    height: 100%;
    padding: 0 1rem 1.5rem;
}

.grid-posts .site-blog-card .blog-image {
    height: clamp(13rem, 24vw, 21rem);
    overflow: hidden;
    background: #f2eee9;
}

.grid-posts .site-blog-card .blog-image a {
    display: block;
    width: 100%;
    height: 100%;
}

.grid-posts .site-blog-card .blog-image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 1;
    visibility: visible;
    transition: transform 250ms ease;
}

.grid-posts .site-blog-card:hover .blog-image img {
    transform: scale(1.04);
}

.site-blog-image-placeholder {
    display: block;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #e8e2dc, #f7f4f0);
}

.grid-posts .site-blog-card .post-content {
    display: flex;
    flex: 1;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.75rem;
    padding: 1.25rem 0.25rem 0;
}

.grid-posts .site-blog-card .posts-meta {
    margin: 0;
    padding: 0;
    color: #796d63;
    font-size: 0.875rem;
    list-style: none;
}

.grid-posts .site-blog-card .post-title {
    margin: 0;
    font-size: clamp(1.2rem, 1.7vw, 1.55rem);
    line-height: 1.35;
}

.grid-posts .site-blog-card .post-title a {
    color: inherit;
    text-decoration: none;
}

.grid-posts .site-blog-card .post-title a:hover {
    color: #a55f45;
}

.site-blog-excerpt,
.site-blog-empty {
    color: #655c55;
    line-height: 1.7;
}

.site-blog-empty {
    width: 100%;
    padding: 2rem 1rem;
    text-align: center;
}

.site-home-blog {
    max-width: 1200px;
    margin: 0 auto;
    padding: 5rem 1.5rem;
}

.site-home-blog-heading {
    max-width: 42rem;
    margin: 0 auto 2.5rem;
    text-align: center;
}

.site-home-blog-eyebrow {
    margin: 0 0 0.5rem;
    color: #a65335;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.site-home-blog-heading h2 {
    margin: 0;
    font-size: clamp(1.8rem, 3vw, 2.6rem);
    line-height: 1.2;
}

.site-home-blog-heading > p:last-child {
    margin: 0.75rem 0 0;
    color: #655c55;
    line-height: 1.6;
}

.site-home-blog-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1.5rem;
}

.site-home-blog-grid .site-blog-card {
    min-width: 0;
    width: 100%;
}

.site-home-blog .site-home-blog-grid .grid-post {
    width: 100%;
    min-width: 0;
    padding: 0;
}

.site-home-blog-grid .site-blog-card article {
    padding: 0;
}

.site-home-blog-grid .site-blog-card .blog-image {
    height: clamp(11rem, 18vw, 15rem);
    border-radius: 0.5rem;
}

.site-home-blog-grid .site-blog-card .post-content {
    gap: 0.5rem;
    padding: 1rem 0 0;
}

.site-home-blog-grid .site-blog-card .post-title {
    font-size: 1.1rem;
}

.site-home-blog-grid .site-blog-excerpt {
    margin: 0;
    font-size: 0.85rem;
}

.site-home-blog-action {
    display: flex;
    justify-content: center;
    margin-top: 2.5rem;
}

.site-home-blog-action .elementor-button {
    padding: 0.9rem 1.5rem;
    border-radius: 0.5rem;
    background: #b65332;
    color: #fff;
    text-decoration: none;
    transition: background-color 150ms ease, transform 150ms ease;
}

.site-home-blog-action .elementor-button:hover,
.site-home-blog-action .elementor-button:focus-visible {
    background: #171717;
}

.site-blog-article {
    display: block;
    min-width: 0;
}

.site-related-posts {
    max-width: 960px;
    margin: 5rem auto 0;
    padding: 0 1.5rem;
}

.site-related-posts > h2 {
    margin: 0 0 1.5rem;
    font-size: 0.8rem;
    font-weight: 500;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.site-blog-layout {
    display: grid;
    grid-template-columns: minmax(0, 2.15fr) minmax(12rem, 1fr);
    align-items: start;
    gap: 1.5rem;
    max-width: 960px;
    margin: 0 auto;
    padding: 3.5rem 1.5rem 0;
}

.site-blog-main,
.site-blog-sidebar {
    min-width: 0;
}

.site-blog-sidebar {
    display: grid;
    gap: 0.75rem;
    padding: 1rem;
    border-radius: 0.5rem;
    background: #f1eadb;
}

.site-blog-sidebar h2 {
    margin: 0 0 0.25rem;
    font-size: 1.05rem;
    font-weight: 500;
}

.site-blog-recent-item {
    display: grid;
    grid-template-columns: 4rem minmax(0, 1fr);
    align-items: center;
    gap: 0.65rem;
    color: inherit;
    font-size: 0.78rem;
    line-height: 1.4;
    text-decoration: none;
}

.site-blog-recent-item img,
.site-blog-recent-placeholder {
    display: block;
    width: 4rem;
    height: 3.25rem;
    border-radius: 0.2rem;
    background: #e3d9ca;
    object-fit: cover;
}

.site-blog-recent-copy {
    display: grid;
    gap: 0.25rem;
}

.site-blog-recent-copy time {
    color: #766d63;
    font-size: 0.68rem;
}

.site-blog-recent-item:hover {
    color: #a65335;
}

.site-blog-article .blog-featureimage {
    width: 100%;
    margin: 0 0 1rem;
    overflow: hidden;
    background: #f2eee9;
    border-radius: 0.5rem;
}

.site-blog-article .blog-featureimage img {
    display: block;
    width: 100%;
    height: auto;
    max-height: 32rem;
    object-fit: cover;
    opacity: 1;
    visibility: visible;
}

.site-blog-article-content {
    font-size: 0.9rem;
    line-height: 1.65;
}

.site-blog-article-content img,
.site-blog-article-content video,
.site-blog-article-content iframe {
    max-width: 100%;
}

.site-blog-article-content h2,
.site-blog-article-content h3,
.site-blog-article-content h4 {
    margin: 1rem 0 0.35rem;
    font-size: 1rem;
    line-height: 1.3;
}

.site-blog-article-content p {
    margin: 0.45rem 0 0.75rem;
}

.site-blog-article-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-top: 2rem;
    padding: 1rem 0;
    border-top: 1px solid rgba(35, 32, 29, 0.12);
    border-bottom: 1px solid rgba(35, 32, 29, 0.12);
    font-size: 0.8rem;
}

.site-blog-tags,
.site-blog-share {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.45rem;
}

.site-blog-tags > span:first-child,
.site-blog-share > span {
    margin-right: 0.25rem;
}

.site-blog-share a {
    display: inline-grid;
    width: 1.6rem;
    height: 1.6rem;
    place-items: center;
    border-radius: 50%;
    background: #171717;
    color: #fff;
    font-size: 0.72rem;
    font-weight: 600;
    text-decoration: none;
}

.site-blog-share a:hover {
    background: #b65332;
}

@media (max-width: 767px) {
    .grid-posts .site-blog-card {
        width: 100%;
    }

    .grid-posts .site-blog-card article {
        padding-right: 0;
        padding-left: 0;
    }

    .grid-posts .site-blog-card .blog-image {
        height: 15rem;
    }

    .site-blog-layout {
        grid-template-columns: minmax(0, 1fr);
        gap: 2rem;
        padding: 2rem 1.25rem 0;
    }

    .site-blog-sidebar {
        grid-row: 2;
    }

    .site-home-blog {
        padding: 3.5rem 1.25rem;
    }

    .site-home-blog-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 1.5rem 1rem;
    }

    .site-home-blog-grid .site-blog-card .blog-image {
        height: 11rem;
    }

    .site-related-posts {
        margin-top: 3rem;
        padding: 0 1.25rem;
    }

}

@media (max-width: 480px) {
    .site-home-blog-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .site-home-blog-grid .site-blog-card .blog-image {
        height: 15rem;
    }
}
