/* Cat Wisdom — v1.4.1 */
.cw-single-wrap, .cw-archive-wrap { padding: 24px 20px 40px; }
.cw-archive-wrap #primary { margin-top: 0 !important; padding-top: 0 !important; }
.cw-single-wrap #primary { margin-top: 0 !important; padding-top: 20px !important; }
.cw-why-matters { margin: 32px 0 8px; padding: 0; max-width: 760px; margin-left: auto; margin-right: auto; }
.cw-why-matters-heading {
    font-family: "Playfair Display", Georgia, serif;
    font-weight: 700;
    font-size: 1.6rem;
    line-height: 1.2;
    margin: 0 0 18px;
    color: var(--pc-t1, #f0f0f8);
    letter-spacing: 0.2px;
}
.cw-why-matters-body p {
    font-family: "Inter", "Inter Fallback", system-ui, sans-serif;
    font-size: 1rem;
    line-height: 1.7;
    color: var(--pc-t2, #a0a0b8);
    margin: 0 0 16px;
}
.cw-why-matters-body p:last-child { margin-bottom: 0; }
@media (max-width: 640px) {
    .cw-why-matters-heading { font-size: 1.4rem; }
    .cw-why-matters-body p { font-size: 0.96rem; line-height: 1.65; }
}
.cw-breadcrumbs { font-size: 0.9rem; color: #666; margin-bottom: 1.2rem; }
.cw-breadcrumbs a { color: #666; text-decoration: none; }
.cw-breadcrumbs a:hover { text-decoration: underline; }
.cw-breadcrumbs span { margin: 0 0.35rem; color: #aaa; }

.cw-hero { margin: 0 auto 1.5rem; max-width: 760px; text-align: center; }
.cw-hero img { width: 100%; height: auto; border-radius: 10px; display: block; }

.cw-quote-block { max-width: 760px; margin: 0 auto 1.5rem; text-align: center; }
.cw-quote { font-size: 1.3rem; line-height: 1.5; margin: 0; padding: 0 1rem; }
.cw-quote p { margin: 0 0 0.6rem; }
.cw-cite { display: block; font-style: normal; color: #666; font-size: 0.95rem; }
.cw-source { color: #888; font-size: 0.85rem; font-style: italic; text-align: center; margin-top: 0.5rem; }

.cw-share { display: flex; gap: 0.6rem; align-items: center; justify-content: center; margin: 1.8rem auto; }
.cw-share-label { font-size: 0.85rem; color: #666; }
.cw-share-btn { display: inline-flex; padding: 0.4rem 0.8rem; border: 1px solid #ddd; border-radius: 999px; font-size: 0.8rem; text-decoration: none; color: #333; transition: background 0.2s ease; }
.cw-share-btn:hover { background: #f3f3f3; }

.cw-ad { margin: 1.5rem auto; max-width: 960px; }
.cw-ad-inarticle { text-align: center; }

.cw-more { margin-top: 2rem; }
.cw-more-title { font-family: "Playfair Display", Georgia, serif; font-size: 1.2rem; margin: 0 0 0.8rem; text-align: center; }
.cw-more-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
.cw-more-tile img { width: 100%; aspect-ratio: 4/5; object-fit: cover; border-radius: 6px; display: block; }
.cw-more-cite { display: block; text-align: center; font-size: 0.8rem; color: #666; margin-top: 0.35rem; }

@media (max-width: 767px) {
    .cw-more-grid { grid-template-columns: repeat(2, 1fr); }
}

.cw-archive-header { text-align: center; margin-bottom: 2rem; }
.cw-archive-title { font-family: "Playfair Display", Georgia, serif; font-weight: 700; font-size: 2.2rem; margin: 0 0 0.6rem; }
.cw-archive-intro { color: #666; font-size: 1rem; margin: 0 0 1.2rem; }
.cw-view-toggle { display: inline-flex; border: 1px solid #ddd; border-radius: 999px; overflow: hidden; }
.cw-view-btn { background: #fff; border: 0; padding: 0.5rem 1.1rem; font-size: 0.85rem; cursor: pointer; color: #666; }
.cw-view-btn.is-active { background: #1a1a1a; color: #fff; }

.cw-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.1rem; }
.cw-tile { display: block; position: relative; text-decoration: none; color: inherit; }
.cw-tile img { width: 100%; aspect-ratio: 4/5; object-fit: cover; border-radius: 6px; display: block; }
.cw-tile-cite { display: block; font-size: 0.8rem; color: #666; margin-top: 0.35rem; text-align: center; }
.cw-ad-row { grid-column: 1 / -1; text-align: center; }

@media (max-width: 900px) {
    .cw-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 600px) {
    .cw-grid { grid-template-columns: repeat(2, 1fr); }
}

.cw-pagination { text-align: center; margin: 2rem 0; }
.cw-pagination .page-numbers { display: inline-block; padding: 0.4rem 0.8rem; margin: 0 0.15rem; border: 1px solid #ddd; border-radius: 4px; color: #333; text-decoration: none; }
.cw-pagination .page-numbers.current { background: #1a1a1a; color: #fff; border-color: #1a1a1a; }
.cw-load-more { display: block; margin: 2rem auto 0; padding: 0.7rem 1.6rem; border: 1px solid #1a1a1a; background: #fff; color: #1a1a1a; border-radius: 999px; cursor: pointer; font-size: 0.9rem; }
.cw-load-more:hover { background: #1a1a1a; color: #fff; }
.cw-load-more:disabled { opacity: 0.6; cursor: not-allowed; }

.cw-carousel { position: relative; }
.cw-carousel-track { position: relative; display: block; }
.cw-carousel-slide { display: none; max-width: 900px; margin: 0 auto; text-align: center; }
.cw-carousel-slide.is-active { display: block; }
.cw-carousel-slide img { width: 100%; height: auto; border-radius: 8px; }
.cw-carousel-caption { display: block; padding: 0.6rem 0; }
.cw-car-quote { display: block; font-size: 1.1rem; margin-bottom: 0.3rem; }
.cw-car-cite { display: block; font-size: 0.9rem; color: #666; }
.cw-car-permalink { display: inline-block; margin-top: 0.5rem; font-size: 0.85rem; color: #333; }
.cw-carousel-prev, .cw-carousel-next { position: absolute; top: 50%; transform: translateY(-50%); background: rgba(0,0,0,0.5); color: #fff; border: 0; padding: 0.6rem 0.8rem; cursor: pointer; border-radius: 4px; }
.cw-carousel-prev { left: 0.5rem; }
.cw-carousel-next { right: 0.5rem; }

.cw-home-block { margin: 2rem auto; max-width: 1100px; padding: 1rem; }
.cw-home-v1 { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; align-items: center; padding: 1.2rem; border-radius: 10px; background: #fafafa; }
.cw-home-v1 .cw-home-img img { width: 100%; border-radius: 8px; display: block; }
.cw-home-v1 .cw-home-kicker { font-size: 0.8rem; color: #999; letter-spacing: 0.08em; text-transform: uppercase; }
.cw-home-v1 h3 { font-family: "Playfair Display", Georgia, serif; font-size: 1.3rem; margin: 0.3rem 0 0.6rem; }
.cw-home-v1 h3 a { color: #1a1a1a; text-decoration: none; }
.cw-home-v1 .cw-home-cite { color: #666; font-size: 0.9rem; }
.cw-home-v1 p { margin-top: 0.8rem; font-size: 0.9rem; }

.cw-home-v2 .cw-home-strip { display: block; position: relative; overflow: hidden; max-width: 1200px; margin: 0 auto; aspect-ratio: 3/1; border-radius: 10px; }
.cw-home-v2 .cw-home-strip img { width: 100%; height: 100%; object-fit: cover; display: block; }
.cw-home-v2 .cw-home-overlay { position: absolute; right: 1rem; bottom: 1rem; background: rgba(0,0,0,0.6); color: #fff; padding: 0.4rem 0.8rem; border-radius: 4px; }
.cw-home-v2 .cw-home-link { color: #fff; font-size: 0.85rem; }
@media (max-width: 767px) {
    .cw-home-v2 .cw-home-strip { aspect-ratio: 1/1; }
}

.cw-home-v3 { max-width: 300px; padding: 1rem; border: 1px solid #eee; border-radius: 8px; background: #fff; }
.cw-home-v3 .cw-home-kicker { font-size: 0.7rem; letter-spacing: 0.08em; text-transform: uppercase; color: #999; }
.cw-home-v3 .cw-home-img img { width: 100%; border-radius: 6px; display: block; margin: 0.4rem 0; }
.cw-home-v3 .cw-home-quote { font-size: 0.95rem; margin: 0.3rem 0; }
.cw-home-v3 .cw-home-cite { color: #666; font-size: 0.85rem; }
.cw-home-v3 .cw-home-allink { display: block; margin-top: 0.6rem; font-size: 0.85rem; color: #1a1a1a; }

.cw-empty { text-align: center; padding: 2rem; color: #888; }
