/* Main wrappers, rich text, post cards, single — non-block content */
.chroma-main { display: block; }
.chroma-main--flush { padding: 0; }
.chroma-page, .chroma-single, .chroma-archive__header { padding: 56px 0; }
.chroma-archive__header { padding-bottom: 24px; }

.chroma-page__title, .chroma-single__title, .chroma-archive__title {
  font-family: var(--chroma-font-head);
  font-weight: 900;
  letter-spacing: 1px;
  margin: 0 0 24px;
}
.chroma-archive__title { text-align: center; }

/* Rich text (policy pages, post bodies) */
.chroma-richtext { font-family: var(--chroma-font-body); font-size: 18px; line-height: 1.7; max-width: 820px; }
.chroma-richtext h2 { font-size: clamp(30px, 4vw, 44px); margin-top: 1.4em; }
.chroma-richtext h3 { font-size: clamp(24px, 3vw, 32px); margin-top: 1.2em; }
.chroma-richtext a { color: var(--chroma-red); text-decoration: underline; }
.chroma-richtext ul, .chroma-richtext ol { padding-left: 1.3em; margin: 0 0 1em; }
.chroma-richtext li { margin-bottom: .4em; }
.chroma-richtext img { border-radius: 4px; margin: 1.2em 0; }

/* Single post */
.chroma-single { max-width: 860px; }
.chroma-single__meta { color: var(--chroma-red); font-family: var(--chroma-font-head); font-weight: 700; letter-spacing: 1px; margin: 0 0 24px; }
.chroma-single__media { margin: 0 0 32px; }
.chroma-single__media img { width: 100%; height: auto; border-radius: 6px; }

/* Post cards grid */
.chroma-posts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  padding-bottom: 64px;
}
.chroma-card { background: var(--chroma-white); border: 1px solid rgba(36,22,18,.08); border-radius: 8px; overflow: hidden; transition: transform .2s ease, box-shadow .2s ease; }
.chroma-card:hover { transform: translateY(-4px); box-shadow: 0 12px 30px rgba(36,22,18,.12); }
.chroma-card__media { aspect-ratio: 1/1; overflow: hidden; }
.chroma-card__media img { width: 100%; height: 100%; object-fit: cover; }
.chroma-card__body { padding: 22px; }
.chroma-card__title { font-size: 26px; font-weight: 800; margin: 0 0 8px; }
.chroma-card__meta { color: var(--chroma-red); font-family: var(--chroma-font-head); font-weight: 700; font-size: 14px; letter-spacing: 1px; margin: 0 0 10px; }
.chroma-card__excerpt { font-size: 16px; margin: 0 0 14px; }
.chroma-card__more { display: inline-flex; align-items: center; gap: 8px; color: var(--chroma-red); font-family: var(--chroma-font-head); font-weight: 800; }
.chroma-card__more svg { width: 1em; height: 1em; }

@media (max-width: 900px) { .chroma-posts { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .chroma-posts { grid-template-columns: 1fr; } }

/* Pagination */
.pagination, .navigation.pagination { padding: 0 0 64px; text-align: center; }
.pagination .page-numbers { display: inline-flex; min-width: 40px; height: 40px; align-items: center; justify-content: center; padding: 0 8px; margin: 0 3px; border: 1px solid rgba(36,22,18,.2); border-radius: 4px; font-family: var(--chroma-font-head); font-weight: 700; }
.pagination .page-numbers.current { background: var(--chroma-red); color: #fff; border-color: var(--chroma-red); }
