/* Article typography and components rendered by the kwhseo engine. */
.single-post .post-body { max-width: 860px; margin: 0 auto; font-size: 17px; line-height: 1.7; color: #222; }
.single-post .post-body h1 { font-size: 34px; line-height: 1.25; margin: 0 0 12px; text-transform: none; }
.single-post .post-body h2 { font-size: 25px; line-height: 1.3; margin: 42px 0 14px; text-transform: none; }
.single-post .post-body h3 { font-size: 20px; line-height: 1.35; margin: 28px 0 10px; text-transform: none; }
.single-post .post-body p, .single-post .post-body ul, .single-post .post-body ol { margin: 0 0 18px; }
.single-post .post-body ul, .single-post .post-body ol { padding-left: 22px; }
.single-post .post-body ul { list-style: disc; }
.single-post .post-body ol { list-style: decimal; }
.single-post .post-body li { margin-bottom: 6px; }
.single-post .post-body a { color: #e6007e; text-decoration: underline; text-underline-offset: 2px; }
.single-post .post-body table { width: 100%; border-collapse: collapse; margin: 0 0 24px; font-size: 15px; }
.single-post .post-body th, .single-post .post-body td { border-bottom: 1px solid #ddd; padding: 8px 10px; text-align: left; vertical-align: top; }
.single-post .post-body th { background: #f6f6f6; font-weight: 600; }
.kwh-byline { color: #666; font-size: 14px; margin-bottom: 22px !important; }
.kwh-byline a { color: #666 !important; }
.kwh-hero { margin: 0 0 28px; }
.kwh-hero img { width: 100%; height: auto; display: block; aspect-ratio: 3 / 2; object-fit: cover; }
.kwh-hero figcaption, .kwh-figure figcaption { font-size: 13px; color: #777; margin-top: 6px; }
.kwh-answer { font-size: 19px; line-height: 1.6; border-left: 3px solid #e6007e; padding: 4px 0 4px 18px; margin: 0 0 26px !important; }

/* Real artwork cards ([kwh_artwork id=N]) */
.kwh-artworks { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 22px; margin: 26px 0 34px; }
.kwh-artwork { border: 1px solid #e5e5e5; background: #fff; display: flex; flex-direction: column; }
.kwh-artwork__img { display: block; background: #f4f4f4; aspect-ratio: 1 / 1; overflow: hidden; }
.kwh-artwork__img img { width: 100%; height: 100%; object-fit: contain; display: block; }
.kwh-artwork__body { padding: 14px 16px 16px; display: flex; flex-direction: column; gap: 4px; flex: 1; }
.kwh-artwork__body p { margin: 0 !important; font-size: 15px; line-height: 1.45; }
.kwh-artwork__title a { color: #111 !important; font-weight: 600; text-decoration: none !important; }
.kwh-artwork__artist, .kwh-artwork__facts { color: #666; font-size: 14px !important; }
.kwh-artwork__price { font-weight: 600; margin-top: 4px !important; }
.single-post .post-body a.kwh-artwork__cta { margin-top: auto; display: inline-block; padding-top: 10px; color: #e6007e; font-size: 14px; font-weight: 600; text-transform: uppercase; letter-spacing: .04em; text-decoration: none; }
.kwh-artwork--gone { padding: 14px 16px; font-size: 15px; color: #555; }
.kwh-artwork--gone p { margin: 0 !important; }

/* Calls to action and sources */
.kwh-cta { background: #f7f2f5; padding: 22px 24px; margin: 34px 0; }
.kwh-cta p { margin: 0 0 12px !important; }
.single-post .post-body .kwh-cta a.kwh-cta__button { display: inline-block; background: #111; color: #fff; padding: 11px 20px; text-decoration: none; font-size: 14px; letter-spacing: .05em; text-transform: uppercase; }
.kwh-faq h3 { margin-top: 20px; }
.kwh-sources { font-size: 14px; color: #555; border-top: 1px solid #eee; padding-top: 14px; margin-top: 34px; }
.kwh-sources ul { padding-left: 18px; }
.post-body .read-more a, .read-more a { text-transform: uppercase; }
.nav-links { display: flex; gap: 12px; margin: 24px 0; }

/* Blog overview: featured newest article, grid, shop CTA, archive by year */
.middle-section .container.kwh-blog { display: block; margin-top: 56px; margin-bottom: 70px; max-width: 1180px; }
.kwh-blog__intro { max-width: 760px; font-size: 18px; line-height: 1.6; color: #444; margin: 0 0 40px; }
.kwh-blog__heading { font-size: 22px; line-height: 1.3; margin: 0 0 22px; padding-left: 14px; border-left: 5px solid #e6007e; text-transform: none; }
.kwh-blog__empty { background: #fff; padding: 40px 32px; font-size: 17px; line-height: 1.6; margin-bottom: 40px; }
.kwh-blog__empty p { margin: 0 0 10px; line-height: 1.6; }

.kwh-card { background: #fff; display: flex; flex-direction: column; transition: box-shadow .25s ease, transform .25s ease; }
.kwh-card:hover { box-shadow: 0 10px 28px rgba(0, 0, 0, .08); transform: translateY(-2px); }
.kwh-card__img { display: block; aspect-ratio: 3 / 2; overflow: hidden; background: #f3e3ec url(/img/logo.png) no-repeat center / 72px auto; }
.kwh-card__img img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .5s ease; }
.kwh-card:hover .kwh-card__img img { transform: scale(1.03); }
.kwh-card__body { padding: 20px 22px 24px; display: flex; flex-direction: column; flex: 1; }
.kwh-card__eyebrow { color: #e6007e; font-size: 12px; line-height: 1.4; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; margin: 0 0 10px; }
.kwh-card__title { font-size: 19px; line-height: 1.35; margin: 0 0 8px; text-transform: none; letter-spacing: 0; }
.kwh-card__title a { color: #111; }
.kwh-card__title a:hover { color: #e6007e; }
.kwh-card__meta { color: #888; font-size: 13px; line-height: 1.4; margin: 0 0 12px; }
.kwh-card__excerpt { color: #444; font-size: 15px; line-height: 1.6; margin: 0 0 16px; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.kwh-card__more { margin-top: auto; font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: #e6007e; }

.kwh-card--featured { flex-direction: row; margin-bottom: 64px; }
.kwh-card--featured { align-items: stretch; }
.kwh-card--featured .kwh-card__img { flex: 0 0 60%; aspect-ratio: 3 / 2; position: relative; }
.kwh-card--featured .kwh-card__img img { position: absolute; inset: 0; }
.kwh-card--featured .kwh-card__body { padding: 40px 40px 36px; justify-content: center; }
.kwh-card--featured .kwh-card__title { font-size: 30px; line-height: 1.25; margin-bottom: 12px; }
.kwh-card--featured .kwh-card__excerpt { font-size: 17px; -webkit-line-clamp: 6; margin-bottom: 24px; }
.kwh-card--featured .kwh-card__more { align-self: flex-start; margin-top: 0; background: #111; color: #fff; padding: 12px 22px; }
.kwh-card--featured .kwh-card__more:hover { background: #e6007e; color: #fff; }

.kwh-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.kwh-blog__more { margin-bottom: 20px; }
.kwh-blog .nav-links { justify-content: center; margin: 40px 0 10px; }
.kwh-blog .nav-links .page-numbers { display: inline-block; min-width: 40px; padding: 8px 12px; text-align: center; background: #fff; color: #111; line-height: 22px; }
.kwh-blog .nav-links .page-numbers.current, .kwh-blog .nav-links a.page-numbers:hover { background: #e6007e; color: #fff; }

.kwh-shop-cta { display: flex; align-items: center; justify-content: space-between; gap: 24px; background: #111; color: #fff; padding: 34px 40px; margin: 60px 0; }
.kwh-shop-cta h2 { color: #fff; font-size: 24px; line-height: 1.3; margin: 0 0 6px; text-transform: none; }
.kwh-shop-cta p { color: #ccc; font-size: 15px; line-height: 1.5; margin: 0; }
.kwh-shop-cta__btn { flex: 0 0 auto; background: #e6007e; color: #fff; padding: 13px 26px; font-weight: 700; font-size: 13px; letter-spacing: .1em; text-transform: uppercase; }
.kwh-shop-cta__btn:hover { background: #fff; color: #e6007e; }

.kwh-archive__years { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 10px 40px; }
.kwh-archive__year h3 { font-size: 16px; margin: 0 0 8px; color: #888; }
.kwh-archive__year ul { margin: 0 0 18px; padding: 0; list-style: none; }
.kwh-archive__year li { line-height: 1.45; margin: 0 0 8px; font-size: 14px; }
.kwh-archive__year li a { color: #222; }
.kwh-archive__year li a:hover { color: #e6007e; }

@media (max-width: 1000px) {
    .kwh-grid { grid-template-columns: repeat(2, 1fr); }
    .kwh-card--featured { flex-direction: column; }
    .kwh-card--featured .kwh-card__img { flex: none; aspect-ratio: 3 / 2; }
    .kwh-card--featured .kwh-card__body { padding: 26px 24px 28px; }
    .kwh-card--featured .kwh-card__title { font-size: 25px; }
}
@media (max-width: 640px) {
    .middle-section .container.kwh-blog { margin-top: 32px; }
    .kwh-grid { grid-template-columns: 1fr; gap: 22px; }
    .kwh-shop-cta { flex-direction: column; align-items: flex-start; padding: 28px 24px; }
}
