/*
Theme Name: FW Instal Blog
Template: harmonux-core
Version: 1.0.0
Text Domain: fw-instal-blog
*/
body.fw-blog{background:var(--paper);color:var(--ink);font-family:var(--font-body);font-size:17px;line-height:1.7}
.fw-blog .site-header{position:relative;z-index:100}.fw-blog .site-header a{text-decoration:none}
.fw-blog h1,.fw-blog h2,.fw-blog h3{font-family:var(--font-display);color:var(--ink);line-height:1.25}
.fw-blog-head,.fw-article-head{background:linear-gradient(120deg,var(--ink),var(--slate));padding:64px 0;color:white}
.fw-blog-head h1,.fw-article-head h1{color:white;font-size:clamp(1.8rem,4vw,3rem);margin:0;max-width:1000px;overflow-wrap:anywhere}
.fw-blog-head a,.fw-article-head a{color:white}.fw-back{display:inline-block;margin-bottom:20px}.fw-article-head .fw-meta{color:#d2dee5;margin:20px 0 0}
.fw-post-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:26px;align-items:start}
.fw-post-card{background:white;border:1px solid var(--line);border-radius:14px;overflow:hidden;box-shadow:0 8px 24px rgba(11,22,32,.05)}
.fw-post-image{display:block;aspect-ratio:16/10;overflow:hidden}.fw-post-image img{width:100%;height:100%;object-fit:cover;transition:transform .25s}.fw-post-image:hover img{transform:scale(1.035)}
.fw-post-copy{padding:26px}.fw-post-copy h2{font-size:1.2rem;margin:8px 0 16px}.fw-post-copy h2 a{color:var(--ink);text-decoration:none}.fw-post-copy h2 a:hover{color:#896400}.fw-post-copy p{margin:0 0 14px}.fw-meta{color:var(--muted);font-size:.88rem}
.fw-reading{max-width:900px;padding-top:48px;padding-bottom:64px}.fw-article{background:white;padding:clamp(22px,4vw,48px);border:1px solid var(--line);border-radius:14px;overflow-wrap:anywhere}
.fw-article img{max-width:100%;height:auto}.fw-article iframe,.fw-article video{max-width:100%}.fw-article iframe[src*="youtube"],.fw-article iframe[src*="vimeo"]{width:100%;aspect-ratio:16/9;height:auto}
.fw-article h2{font-size:1.6rem;margin-top:1.8em}.fw-article h3{font-size:1.3rem}.fw-article a{color:#775900;text-decoration:underline;text-underline-offset:3px}.fw-article table{display:block;overflow-x:auto;max-width:100%}.fw-article li{margin-bottom:8px}.wp-caption{max-width:100%}.wp-caption-text{font-size:.9rem;color:var(--muted)}
.pagination,.post-navigation{margin:38px 0}.nav-links{display:flex;gap:12px;flex-wrap:wrap;justify-content:space-between}.page-numbers{padding:9px 16px;background:white;border:1px solid var(--line);border-radius:8px}.page-numbers.current{background:var(--sun)}
.fw-blog input:not([type=checkbox]):not([type=radio]):not([type=submit]),.fw-blog select,.fw-blog textarea{width:100%;max-width:100%;padding:12px 14px;border:1px solid #9baebc;border-radius:8px;background:white;color:var(--ink);font:inherit;box-sizing:border-box}.fw-blog textarea{min-height:170px}.fw-blog input[type=submit],.fw-blog button[type=submit]{background:var(--sun);border:0;border-radius:30px;padding:14px 25px;color:var(--ink);font:inherit;font-weight:700;cursor:pointer}.fw-blog .form-privacy{font-size:.9rem;color:var(--muted)}.fw-blog label{font-weight:500}.fw-blog input:focus-visible,.fw-blog select:focus-visible,.fw-blog textarea:focus-visible{outline:3px solid var(--sun);outline-offset:2px}
.fw-blog .site-footer h3,.fw-blog .site-footer h2{color:white}.fw-blog .site-footer a{text-decoration:none}
@media(max-width:980px){.fw-post-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:640px){.fw-post-grid{grid-template-columns:1fr}.fw-blog-head,.fw-article-head{padding:38px 0}.fw-reading{padding-top:24px}.fw-post-copy{padding:22px}.fw-article .alignleft,.fw-article .alignright{float:none;margin:16px 0}}

.fw-featured{background:linear-gradient(120deg,var(--ink),var(--slate));padding:40px 0;color:white}
.fw-featured-slide{display:grid;grid-template-columns:1fr 1.2fr;gap:40px;align-items:center;min-height:300px}.fw-featured-slide[hidden]{display:none}
.fw-featured-copy h2{font-size:clamp(1.5rem,3vw,2.5rem);line-height:1.25;margin:0 0 20px}.fw-featured-copy h2 a{color:white;text-decoration:none}.fw-featured-copy h2 a:hover{text-decoration:underline}.fw-featured .fw-meta{color:#cfdae2}
.fw-featured-image{display:block;height:340px;border-radius:14px;overflow:hidden}.fw-featured-image img{display:block;width:100%;height:100%;object-fit:cover}
.fw-featured-controls{display:flex;gap:14px;align-items:center;justify-content:center;margin-top:25px}.fw-featured-controls[hidden]{display:none}.fw-featured-controls button{border:1px solid #8293a0;border-radius:50%;width:44px;height:44px;background:transparent;color:white;cursor:pointer;font:inherit}.fw-featured-controls button:hover,.fw-featured-controls button:focus-visible{background:var(--sun);color:var(--ink)}
@media(max-width:700px){.fw-featured-slide{grid-template-columns:1fr;gap:22px;min-height:0}.fw-featured-image{height:230px}.fw-featured{padding:30px 0}}

/* Compact archive title strip. */
.fw-blog-head{padding:18px 0}
.fw-blog-head h1{font-size:clamp(1.3rem,2.2vw,1.75rem);line-height:1.25;margin:0}
@media(max-width:640px){.fw-blog-head{padding:14px 0}.fw-blog-head h1{font-size:1.3rem}}

.fw-blog-head{padding:10px 0}
.fw-blog-head h1{font-size:20px;line-height:1.3}
@media(max-width:640px){.fw-blog-head{padding:8px 0}.fw-blog-head h1{font-size:18px}}

/* Distinct blog title strip. */
.fw-blog-head{background:var(--sun);color:var(--ink);border-top:1px solid rgba(255,255,255,.25);border-bottom:1px solid var(--sun-deep)}
.fw-blog-head h1,.fw-blog-head a{color:var(--ink)}

/* Tighter gap between archive title and posts. */
.fw-blog-head + .section{padding-top:20px}
@media(max-width:640px){.fw-blog-head + .section{padding-top:14px}}
