/* Imported reusable PHP kit — public blog stylesheet. */
:root {
    --color-accent: var(--gold);
    --color-btn: var(--forest);
    --color-bg-primary: var(--sand);
    --color-bg-secondary: var(--forest-deep);
    --color-text-primary: var(--forest);
    --color-text-secondary: #5b675f;
    --color-border: var(--sand-deep);
}
.blog-hero { background: var(--color-bg-secondary); padding: 60px 0 40px; text-align: center; }
.blog-hero h1 { font-family: var(--serif); font-size: clamp(32px, 5vw, 52px); font-weight: 400; color: #fff; margin-bottom: 12px; }
.blog-hero h1 em { color: var(--sage-light); }
.blog-hero p { color: var(--sage-light); font-size: 15px; max-width: 480px; margin: 0 auto; }
.blog-filter { display:flex; gap:10px; flex-wrap:wrap; margin-top:24px; justify-content:center; }
.blog-filter a { padding:7px 18px; border-radius:50px; border:1px solid rgba(255,255,255,.35); font-size:12px; font-weight:600; text-decoration:none; color:#fff; transition:all .15s; letter-spacing:.04em; text-transform:uppercase; }
.blog-filter a.active, .blog-filter a:hover { background:var(--gold); color:var(--forest-deep); border-color:var(--gold); }
.blog-section { padding:60px 0 80px; background:var(--color-bg-primary); }
.blog-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:28px; }
@media (max-width:900px) { .blog-grid { grid-template-columns:repeat(2,1fr); } }
@media (max-width:580px) { .blog-grid { grid-template-columns:1fr; } }
.blog-card { background:#fff; border:1px solid var(--color-border); overflow:hidden; transition:box-shadow .2s,transform .2s; }
.blog-card:hover { box-shadow:0 8px 28px rgba(0,0,0,.08); transform:translateY(-2px); }
.blog-card-img, .blog-card-img-placeholder { width:100%; height:200px; object-fit:cover; display:block; background:var(--color-bg-secondary); }
.blog-card-img-placeholder { display:flex; align-items:center; justify-content:center; color:var(--gold); font-size:36px; }
.blog-card-body { padding:20px 22px 24px; }
.blog-card-cat { font-size:10px; font-weight:700; letter-spacing:1.5px; text-transform:uppercase; color:var(--color-accent); margin-bottom:10px; display:block; }
.blog-card-title { font-family:var(--serif); font-size:21px; font-weight:400; color:var(--color-text-primary); margin:0 0 10px; line-height:1.3; }
.blog-card-title a { text-decoration:none; color:inherit; }
.blog-card-title a:hover { color:var(--terracotta); }
.blog-card-excerpt { font-size:13px; color:var(--color-text-secondary); line-height:1.7; margin-bottom:16px; }
.blog-card-meta { font-size:11px; color:#718078; display:flex; gap:12px; align-items:center; }
.blog-card-read-more { display:inline-block; font-size:12px; font-weight:700; letter-spacing:.05em; text-transform:uppercase; color:var(--color-text-primary); text-decoration:none; border-bottom:1px solid currentColor; padding-bottom:1px; margin-top:12px; transition:color .15s; }
.blog-card-read-more:hover { color:var(--terracotta); }
.blog-pagination { display:flex; gap:8px; justify-content:center; margin-top:48px; }
.blog-pagination a, .blog-pagination span { padding:8px 16px; border:1px solid var(--color-border); border-radius:4px; font-size:13px; text-decoration:none; color:var(--color-text-secondary); }
.blog-pagination a:hover { border-color:var(--color-text-primary); color:var(--color-text-primary); }
.blog-pagination span.current { background:var(--color-btn); color:#fff; border-color:var(--color-btn); }
.post-hero-wrap { background:var(--color-bg-secondary); padding:50px 0 0; }
.post-category-badge { display:inline-block; font-size:10px; font-weight:700; letter-spacing:1.5px; text-transform:uppercase; color:var(--gold); margin-bottom:14px; }
.post-hero-title { font-family:var(--serif); font-size:clamp(28px,4vw,48px); font-weight:400; color:#fff; max-width:760px; line-height:1.25; margin:0 0 16px; }
.post-meta { font-size:13px; color:var(--sage-light); display:flex; gap:16px; align-items:center; margin-bottom:32px; }
.post-hero-img { width:100%; max-height:460px; object-fit:cover; display:block; margin-top:24px; }
.post-body-wrap { padding:48px 0 80px; background:var(--color-bg-primary); }
.post-content { max-width:760px; font-size:16px; line-height:1.9; color:#333; }
.post-content h2 { font-family:var(--serif); font-size:30px; font-weight:400; margin:1.8em 0 .5em; color:var(--color-text-primary); }
.post-content h3 { font-size:21px; font-weight:600; margin:1.5em 0 .4em; color:var(--color-text-primary); }
.post-content p { margin:0 0 1.2em; }
.post-content img { max-width:100%; border-radius:4px; height:auto; }
.post-content ul, .post-content ol { padding-left:22px; margin-bottom:1.2em; }
.post-content li { margin-bottom:.4em; }
.post-content blockquote { border-left:3px solid var(--color-accent); padding-left:24px; font-style:italic; color:var(--color-text-secondary); margin:1.4em 0; }
.post-content a { color:var(--color-accent); }
.post-content strong { font-weight:700; }
.post-content pre, .post-content code { background:#f5f5f5; border-radius:4px; font-size:13px; padding:2px 6px; }
.post-content pre { padding:16px; overflow-x:auto; }
.post-faqs { max-width:760px; margin:40px 0; }
.post-faqs h2, .post-faqs h3 { font-family:var(--serif); font-size:26px; font-weight:400; margin-bottom:16px; color:var(--color-text-primary); }
.post-faqs details { border:1px solid var(--color-border); border-radius:4px; margin-bottom:8px; padding:14px 18px; }
.post-faqs summary { font-weight:600; cursor:pointer; font-size:15px; color:var(--color-text-primary); list-style:none; display:flex; justify-content:space-between; align-items:center; }
.post-faqs summary::after { content:'+'; font-size:18px; color:var(--color-accent); }
.post-faqs details[open] summary::after { content:'−'; }
.post-faqs p { margin:12px 0 4px; color:var(--color-text-secondary); line-height:1.7; font-size:14px; }
.related-posts { max-width:760px; margin:48px 0 0; padding-top:40px; border-top:1px solid var(--color-border); }
.related-posts h2, .related-posts h3 { font-family:var(--serif); font-size:26px; font-weight:400; margin-bottom:24px; color:var(--color-text-primary); }
.related-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:20px; }
@media (max-width:700px) { .related-grid { grid-template-columns:1fr; } }
.related-card { border:1px solid var(--color-border); border-radius:4px; overflow:hidden; text-decoration:none; color:inherit; transition:box-shadow .2s; }
.related-card:hover { box-shadow:0 4px 16px rgba(0,0,0,.07); }
.related-card img { width:100%; height:120px; object-fit:cover; display:block; }
.related-card-body { padding:12px 14px; }
.related-card-cat { font-size:10px; font-weight:700; letter-spacing:1px; text-transform:uppercase; color:var(--color-accent); }
.related-card-title { font-family:var(--serif); font-size:16px; margin-top:5px; line-height:1.3; }
.blog-empty { text-align:center; padding:60px 20px; color:var(--color-text-secondary); }
.blog-not-found { padding:100px 0; text-align:center; background:var(--color-bg-primary); }
.blog-not-found h1 { color:var(--color-text-primary); font-family:var(--serif); font-size:clamp(32px,5vw,52px); }
.blog-not-found p { color:var(--color-text-secondary); margin:12px 0 28px; }