/*
Theme Name: Clear Horizon Blog
Theme URI: https://www.clearhorizon.co.za/blog/
Description: Child theme of Twenty Twenty-Five that gives the Clear Horizon blog the same look, header and footer as the main website (reuses the main site's css/style.css).
Author: Clear Horizon Hypnotherapy
Template: twentytwentyfive
Version: 1.0.1
Requires at least: 6.6
Text Domain: clearhorizon-blog
*/

/* Let the main-site header/footer span the full width */
.wp-site-blocks { padding: 0 !important; }
.wp-site-blocks > * { margin-block-start: 0 !important; }
body { background: #fff; }

/* Page hero (blog index, category pages, single posts) */
.page-hero .wp-block-post-title,
.page-hero .wp-block-query-title { color: #fff; margin: 0 0 14px; }
.page-hero .wp-block-post-excerpt__excerpt { color: rgba(255,255,255,0.85); font-size: 1.08rem; max-width: 720px; }
.page-hero .wp-block-post-excerpt__more-text { display: none; }
.page-hero .taxonomy-category.eyebrow a { color: inherit; text-decoration: none; }

/* Blog grid cards */
.ch-blog-list { padding: 70px 24px 90px; }
.ch-blog-list .wp-block-post-template.blog-grid { gap: 30px; }
.blog-card { height: 100%; display: flex; flex-direction: column; }
.blog-card .wp-block-post-featured-image { margin: 0; }
.blog-card .wp-block-post-featured-image img { width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; border-radius: 0; }
.blog-card .wp-block-post-title { font-size: 1.25rem; margin: 6px 0 10px; }
.blog-card .wp-block-post-title a { color: var(--navy); text-decoration: none; }
.blog-card .wp-block-post-title a:hover { color: var(--blue); }
.blog-card .taxonomy-category { font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--gold-dark); font-weight: 600; }
.blog-card .taxonomy-category a { color: inherit; text-decoration: none; }
.blog-card .wp-block-post-excerpt__more-link { font-weight: 600; color: var(--navy); }
@media (max-width: 900px) { .ch-blog-list .wp-block-post-template.blog-grid { grid-template-columns: repeat(2, 1fr) !important; } }
@media (max-width: 600px) { .ch-blog-list .wp-block-post-template.blog-grid { grid-template-columns: 1fr !important; } }
.wp-block-query-pagination { margin-top: 40px; justify-content: center; gap: 14px; }

/* Single post */
.ch-article { padding: 50px 24px 70px; }
.ch-article .article-meta { color: var(--ink-soft); font-size: 0.92rem; margin: 6px 0 22px; }
.ch-article .wp-block-post-featured-image { margin: 0 0 34px; }
.ch-article .wp-block-post-featured-image img { border-radius: var(--radius); aspect-ratio: 3 / 2; object-fit: cover; width: 100%; }
.ch-article .wp-block-post-content h2 { margin-top: 40px; }

/* Comments */
.ch-comments { margin-top: 60px; padding-top: 34px; border-top: 1px solid var(--border); }
.ch-comments .wp-block-comments-title { font-size: 1.4rem; }
.ch-comments .comment-form input[type=text],
.ch-comments .comment-form input[type=email],
.ch-comments .comment-form input[type=url],
.ch-comments .comment-form textarea { width: 100%; padding: 12px 14px; border: 1px solid var(--border); border-radius: 10px; font: inherit; }
.ch-comments .comment-form .submit,
.ch-comments .wp-block-button__link { background: linear-gradient(135deg, var(--gold) 0%, var(--gold-dark) 100%); color: var(--navy-dark); border: 0; border-radius: 999px; padding: 13px 28px; font-weight: 600; cursor: pointer; }
.ch-comments .comment-notes, .ch-moderation-note { font-size: 0.88rem; color: var(--ink-soft); }
.ch-comments .wp-block-comment-template { list-style: none; padding: 0; }
.ch-comments .wp-block-comment-template li { padding: 18px 0; border-bottom: 1px solid var(--border); }