.cj-home .cj-page-body .cj-news-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.5rem;
    margin: 1.25rem 0 2rem;
    padding: 0;
    list-style: none;
}

.cj-news-grid li {
    display: flex;
    min-width: 0;
}

.cj-news-grid li > a {
    display: flex;
    flex: 1;
    flex-direction: column;
    overflow: hidden;
    border: 1px solid #ead6e2;
    border-radius: 0.85rem;
    background: #fff;
    color: #520c3d;
    text-decoration: none;
}

.cj-news-grid a:hover h2,
.cj-news-grid a:focus-visible h2 {
    text-decoration: underline;
    text-underline-offset: 0.16em;
}

.cj-home .cj-page-body .cj-news-grid .cj-news-thumbnail {
    display: block;
    width: 100%;
    aspect-ratio: 3 / 2;
    object-fit: cover;
    height: auto;
    border-radius: 0;
    background: #f6eaf1;
}

.cj-news-card-copy {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 0.65rem;
    padding: 1rem 1.15rem 1.2rem;
}

.wp-site-blocks .cj-news-grid .cj-news-card-copy h2 {
    margin: 0;
    font-size: 1.12rem !important;
    line-height: 1.42;
    overflow-wrap: anywhere;
}

.cj-news-grid time,
.cj-news-article .wp-block-post-date {
    color: #725769;
    font-size: 0.84rem;
}

.cj-news-pagination .page-numbers:where(ul) {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.35rem;
    padding: 0;
    list-style: none;
}

.cj-news-pagination li .page-numbers {
    padding: 0.45rem 0.7rem;
    display: block;
    border-radius: 0.35rem;
    color: #520c3d;
}

.cj-news-pagination li .current {
    color: #fff;
    background: #6d1950;
}

.wp-site-blocks > main.cj-news-article {
    box-sizing: border-box;
    width: min(100%, 60rem);
    margin: 0 auto;
    padding: clamp(1.75rem, 4vw, 3.5rem) clamp(1.1rem, 4vw, 2rem);
    color: #38182e;
}

.cj-news-article .cj-news-article-body {
    margin: 1.35rem 0 0;
}

.cj-news-article .cj-news-article-body > :is(.wp-block-post-title, .wp-block-post-date, .wp-block-post-content, .wp-block-post-terms),
.cj-news-article .wp-block-comments,
.cj-news-article .cj-news-back {
    max-width: 46rem;
    margin-inline: auto;
}

.cj-news-article .cj-news-back a {
    color: #6d1950;
    text-underline-offset: 0.2em;
}

.cj-news-article .wp-block-post-title {
    margin-block: 0 0.55rem;
    color: #520c3d;
    line-height: 1.18;
    text-wrap: pretty;
}

.cj-news-article .wp-block-post-date {
    margin-block: 0 1.35rem;
}

.cj-news-article .wp-block-post-featured-image {
    margin: 0 auto 1.65rem;
    overflow: hidden;
    border-radius: 0.85rem;
}

.cj-news-article .wp-block-post-featured-image img {
    display: block;
    margin: auto;
    max-height: 27rem;
    max-width: 100%;
    object-fit: contain;
}

.cj-news-article .wp-block-post-content {
    margin-block: 0;
    line-height: 1.7;
    overflow-wrap: anywhere;
}

.cj-news-article .wp-block-comments {
    margin-block: 1.75rem;
}

@media (max-width: 820px) {
    .cj-home .cj-page-body .cj-news-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 1rem;
    }
}

@media (max-width: 520px) {
    .cj-home .cj-page-body .cj-news-grid {
        grid-template-columns: minmax(0, 1fr);
    }
}
