/*
Theme Name: HouseFixLog
Theme URI: https://example.com/
Author: Ehyperlink
Description: Decision-first home improvement editorial theme.
Version: 2.1.1
Text Domain: housefixlog
Requires at least: 6.0
Requires PHP: 7.4
*/
:root{
 --hfl-bg:#f8f4ec;--hfl-card:#fff;--hfl-green:#0f4f41;--hfl-green2:#0a362d;
 --hfl-orange:#ea6727;--hfl-ink:#22332d;--hfl-muted:#717d77;--hfl-line:#e4ddd3;--hfl-soft:#eef5f1;
}
*{box-sizing:border-box}html{scroll-behavior:smooth}
body{margin:0;background:var(--hfl-bg);color:var(--hfl-ink);font-family:Arial,Helvetica,sans-serif;overflow-x:hidden}
a{text-decoration:none;color:inherit}img{max-width:100%;height:auto}.wrap{width:min(1240px,calc(100% - 32px));margin:auto}
.hfl-header{position:sticky;top:0;z-index:999;background:rgba(255,255,255,.98);border-bottom:1px solid #e5ded4;box-shadow:0 8px 24px rgba(22,65,53,.05)}
.admin-bar .hfl-header{top:32px}.hfl-head{min-height:82px;display:grid;grid-template-columns:270px 1fr 210px;gap:18px;align-items:center}
.hfl-logo img{width:255px;display:block}.hfl-nav ul{display:flex;justify-content:center;gap:4px;flex-wrap:wrap;list-style:none;margin:0;padding:0}
.hfl-nav a{display:block;padding:10px 10px;border-radius:999px;font-size:11px;font-weight:800}.hfl-nav a:hover,.hfl-nav .current-menu-item>a{background:#edf6f1;color:var(--hfl-green)}
.hfl-search{height:40px;display:grid;grid-template-columns:1fr 40px;border:1px solid #ded7ce;border-radius:999px;overflow:hidden;background:#fff}
.hfl-search input{border:0;outline:0;padding:0 12px}.hfl-search button{border:0;background:var(--hfl-orange);color:#fff;font-weight:900}
.hfl-hero{padding:30px 0 36px;background:linear-gradient(90deg,#fff9f3,#f8f4ec 58%,#edf6f0)}
.hfl-hero-grid{display:grid;grid-template-columns:1fr .9fr;gap:24px}.hfl-hero-copy,.hfl-hero-media{border-radius:22px;border:1px solid var(--hfl-line);overflow:hidden}
.hfl-hero-copy{background:#fff;padding:42px}.hfl-kicker{color:var(--hfl-orange);font-size:10px;font-weight:900;letter-spacing:.16em;text-transform:uppercase}
.hfl-hero h1{margin:12px 0 18px;font-size:clamp(3.4rem,5.4vw,5.8rem);line-height:.92;letter-spacing:-.045em;color:var(--hfl-green)}
.hfl-hero p{max-width:590px;color:var(--hfl-muted);font-size:15px;line-height:1.65}
.hfl-actions{display:flex;gap:10px;margin-top:22px}.hfl-btn{display:inline-flex;align-items:center;min-height:44px;padding:0 18px;border-radius:10px;font-size:11px;font-weight:900;border:1px solid #d8d1c8}
.hfl-btn.primary{background:var(--hfl-green);color:#fff;border-color:var(--hfl-green)}.hfl-btn.secondary{background:var(--hfl-orange);color:#fff;border-color:var(--hfl-orange)}
.hfl-hero-media{position:relative;min-height:430px;background:#b8c7bf}.hfl-hero-media img{width:100%;height:100%;object-fit:cover}.hfl-hero-note{position:absolute;left:20px;right:20px;bottom:20px;background:rgba(15,79,65,.94);color:#fff;padding:16px;border-radius:16px}
.hfl-hero-note small{display:block;color:#ffd4bb;font-size:8px;font-weight:900;text-transform:uppercase}.hfl-hero-note strong{display:block;margin-top:6px;font-size:1.25rem;line-height:1.12}
.hfl-section{padding:48px 0}.hfl-section.alt{background:#fffaf4;border-top:1px solid #e9e1d7;border-bottom:1px solid #e9e1d7}
.hfl-section-head{display:flex;justify-content:space-between;align-items:end;gap:16px;margin-bottom:18px}.hfl-section-head h2{margin:0;font-size:2rem;color:var(--hfl-green)}.hfl-section-head p{margin:5px 0 0;color:var(--hfl-muted);font-size:12px}
.hfl-cat-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px}.hfl-cat{background:#fff;border:1px solid var(--hfl-line);border-radius:16px;overflow:hidden}
.hfl-cat img{width:100%;height:145px;object-fit:cover}.hfl-cat span{display:flex;justify-content:space-between;align-items:center;padding:12px 14px;border-top:4px solid var(--hfl-orange);font-size:10px;font-weight:800}
.hfl-decision{display:grid;grid-template-columns:1.2fr repeat(3,1fr);gap:12px}.hfl-decision-card{background:#fff;border:1px solid var(--hfl-line);border-radius:16px;padding:18px}.hfl-decision-card.feature{background:var(--hfl-green);color:#fff}.hfl-decision-card p{color:var(--hfl-muted);font-size:11px;line-height:1.5}.hfl-decision-card.feature p{color:#d8e6df}
.hfl-feature{display:grid;grid-template-columns:1.25fr .75fr;gap:16px}.hfl-feature-main{position:relative;min-height:400px;border-radius:18px;overflow:hidden;background:var(--hfl-green)}.hfl-feature-main img{width:100%;height:400px;object-fit:cover;filter:brightness(.72)}.hfl-feature-copy{position:absolute;left:22px;right:22px;bottom:22px;color:#fff}.hfl-feature-copy h3{margin:6px 0;font-size:2rem;line-height:1.06}
.hfl-quick{background:#fff;border:1px solid var(--hfl-line);border-radius:18px;padding:16px}.hfl-quick a{display:flex;justify-content:space-between;padding:13px 0;border-bottom:1px solid #eee7df;font-weight:700}.hfl-quick a:last-child{border-bottom:0}
.hfl-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}.hfl-card{background:#fff;border:1px solid var(--hfl-line);border-radius:16px;overflow:hidden}.hfl-card-img{display:block;height:205px;overflow:hidden}.hfl-card-img img{width:100%;height:100%;object-fit:cover}.hfl-card-body{padding:14px 15px 17px}.hfl-card-body small{color:var(--hfl-orange);font-size:8px;font-weight:900;text-transform:uppercase}.hfl-card h3{margin:7px 0 8px;font-size:1.08rem;line-height:1.17}.hfl-card p{margin:0;color:var(--hfl-muted);font-size:10.5px;line-height:1.5}
.hfl-post-hero{background:#edf6f1;padding:42px 0 28px;border-bottom:1px solid #dce8e1}.hfl-post-hero h1{max-width:930px;margin:8px 0 10px;font-size:clamp(2.7rem,5vw,4.5rem);line-height:.98;color:var(--hfl-green)}.hfl-post-meta{display:flex;gap:8px;color:#79857f;font-size:10px}
.hfl-post-wrap{width:min(1080px,calc(100% - 32px));margin:auto;padding:38px 0 60px}.hfl-article{background:#fff;border:1px solid #e1dad1;border-radius:18px;padding:34px 38px;overflow:hidden}.hfl-featured img{display:block;width:100%;height:500px;object-fit:cover;border-radius:14px;border:1px solid #d7d1c8;box-shadow:0 14px 30px rgba(23,69,57,.09);margin-bottom:28px}.hfl-entry{font:16px/1.8 Georgia,"Times New Roman",serif;color:#3c4a44}.hfl-entry>*{max-width:100%;box-sizing:border-box}.hfl-entry h2,.hfl-entry h3{color:var(--hfl-green)}.hfl-entry img{display:block;width:100%;height:auto;border-radius:12px;border:1px solid #d7d1c8;box-shadow:0 10px 22px rgba(23,69,57,.08)}.hfl-entry a{color:#0b7c56;text-decoration:underline}.hfl-entry p,.hfl-entry li,.hfl-entry a,.hfl-entry span,.hfl-entry strong{overflow-wrap:anywhere;white-space:normal}
.hfl-context{margin:28px 0;padding:14px 16px;background:#edf7f1;border:1px solid #d5e8dc;border-left:4px solid var(--hfl-orange);border-radius:10px}.hfl-context small{display:block;margin-bottom:6px;color:var(--hfl-green);font-size:8px;font-weight:900;text-transform:uppercase}.hfl-context a{display:flex;justify-content:space-between;gap:12px;color:var(--hfl-green)!important;text-decoration:none!important;font-weight:700}.hfl-context b{color:var(--hfl-orange)}
.hfl-related{margin-top:38px;padding-top:24px;border-top:1px solid #dfe7e2}.hfl-related-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:14px}.hfl-related-card{background:#fff;border:1px solid #e0d9d0;border-radius:14px;overflow:hidden}.hfl-related-card img{width:100%;height:170px;object-fit:cover}.hfl-related-card div{padding:12px}.hfl-related-card h3{margin:0;font-size:1rem;line-height:1.15}
/* Modern editorial footer */
.hfl-footer{
  position:relative;
  margin-top:70px;
  padding-top:0;
  background:
    radial-gradient(circle at 88% 12%,rgba(234,103,39,.14),transparent 20%),
    radial-gradient(circle at 10% 88%,rgba(67,117,99,.18),transparent 24%),
    linear-gradient(135deg,#092f28 0%,#0d4035 52%,#102f2a 100%);
  color:#eef6f2;
  overflow:hidden
}
.hfl-footer-topline{
  display:grid;
  grid-template-columns:1.05fr 1.4fr .75fr 1.2fr;
  height:12px
}
.hfl-footer-topline-a{background:#ea6727}
.hfl-footer-topline-b{background:#6c8f82}
.hfl-footer-topline-c{background:#dfe9e2}
.hfl-footer-topline-d{background:#2d6c58}

.hfl-footer-showcase{
  display:grid;
  grid-template-columns:1.7fr repeat(3,.45fr);
  gap:18px;
  align-items:stretch;
  padding:48px 0 34px
}
.hfl-footer-intro{
  padding:0 30px 0 0;
  border-right:1px solid rgba(255,255,255,.12)
}
.hfl-footer-eyebrow{
  display:block;
  margin-bottom:12px;
  color:#ffb78d;
  font-size:9px;
  font-weight:900;
  letter-spacing:.16em;
  text-transform:uppercase
}
.hfl-footer-intro h2{
  max-width:680px;
  margin:0;
  font:700 clamp(2rem,3.6vw,3.7rem)/.98 Georgia,serif;
  letter-spacing:-.03em;
  color:#fff
}
.hfl-footer-intro p{
  max-width:640px;
  margin:16px 0 0;
  color:#c9d8d1;
  font-size:12px;
  line-height:1.7
}
.hfl-footer-actions{
  display:flex;
  gap:10px;
  flex-wrap:wrap;
  margin-top:22px
}
.hfl-footer-primary,
.hfl-footer-secondary{
  display:inline-flex;
  align-items:center;
  min-height:42px;
  padding:0 16px;
  border-radius:999px;
  font-size:10px;
  font-weight:900
}
.hfl-footer-primary{
  background:#ea6727;
  color:#fff!important
}
.hfl-footer-secondary{
  border:1px solid rgba(255,255,255,.22);
  color:#fff!important;
  background:rgba(255,255,255,.04)
}

.hfl-footer-badge{
  min-height:160px;
  border:1px solid rgba(255,255,255,.12);
  border-radius:18px;
  background:rgba(255,255,255,.045);
  display:flex;
  flex-direction:column;
  justify-content:space-between;
  padding:18px
}
.hfl-footer-badge span{
  color:#fff;
  font:700 2rem/1 Georgia,serif
}
.hfl-footer-badge small{
  color:#9fb4aa;
  font-size:8px;
  line-height:1.4;
  letter-spacing:.12em
}

.hfl-footer-divider{
  height:1px;
  background:linear-gradient(90deg,transparent,rgba(255,255,255,.18),transparent)
}

.hfl-footer-grid{
  display:grid;
  grid-template-columns:1.45fr .8fr 1fr 1fr 1.1fr;
  gap:34px;
  padding:34px 0 36px
}
.hfl-footer-brand img{
  width:255px;
  max-height:62px;
  filter:brightness(1.8) grayscale(.1)
}
.hfl-footer-brand p{
  max-width:350px;
  margin:13px 0 0;
  color:#c8d6d0;
  font-size:10.5px;
  line-height:1.7
}
.hfl-footer-social{
  display:flex;
  gap:8px;
  margin-top:18px
}
.hfl-footer-social a{
  width:34px;
  height:34px;
  display:grid;
  place-items:center;
  border-radius:50%;
  border:1px solid rgba(255,255,255,.16);
  background:rgba(255,255,255,.04);
  color:#fff!important;
  font-size:10px;
  font-weight:800
}
.hfl-footer-social a:hover{
  background:#ea6727;
  border-color:#ea6727
}

.hfl-footer-col{
  display:flex;
  flex-direction:column;
  gap:8px
}
.hfl-footer-col-label{
  color:#ff9b63;
  font-size:9px;
  font-weight:900;
  letter-spacing:.12em
}
.hfl-footer-col h3{
  margin:2px 0 10px;
  color:#fff;
  font-size:1rem
}
.hfl-footer-col a{
  color:#d8e2dd;
  font-size:10px
}
.hfl-footer-col a:hover{
  color:#ffb385
}
.hfl-footer-note-card{
  padding:16px;
  border-radius:16px;
  border:1px solid rgba(255,255,255,.10);
  background:rgba(255,255,255,.045)
}
.hfl-footer-note-card p{
  margin:0;
  color:#c9d7d1;
  font-size:10px;
  line-height:1.6
}
.hfl-footer-note-link{
  margin-top:auto;
  padding-top:12px;
  color:#ffb385!important;
  font-weight:800
}

.hfl-footer-bottom{
  background:rgba(2,18,15,.5);
  border-top:1px solid rgba(255,255,255,.08)
}
.hfl-footer-bottom-inner{
  display:flex;
  justify-content:space-between;
  gap:20px;
  align-items:center;
  padding:14px 0 18px;
  color:#8fa59b;
  font-size:9px
}
.hfl-footer-bottom-inner>div{
  display:flex;
  gap:14px;
  align-items:center;
  flex-wrap:wrap
}
.hfl-footer-bottom a{
  color:#b7c8c0;
  font-size:9px
}
.hfl-footer-bottom a:hover{color:#fff}

@media(max-width:1050px){.hfl-head{grid-template-columns:230px 1fr}.hfl-search{grid-column:1/-1}.hfl-cat-grid{grid-template-columns:repeat(3,1fr)}.hfl-grid{grid-template-columns:repeat(2,1fr)}.hfl-footer-showcase{grid-template-columns:1fr repeat(3,.5fr)}.hfl-footer-grid{grid-template-columns:1.3fr 1fr 1fr}}
@media(max-width:820px){.admin-bar .hfl-header{top:46px}.hfl-header{position:relative}.hfl-head{grid-template-columns:1fr;gap:10px;padding:12px 0}.hfl-nav ul{justify-content:flex-start}.hfl-hero-grid,.hfl-feature,.hfl-decision{grid-template-columns:1fr}.hfl-footer-showcase{grid-template-columns:1fr 1fr 1fr}.hfl-footer-intro{grid-column:1/-1;border-right:0;padding-right:0}.hfl-footer-grid{grid-template-columns:1fr 1fr}.hfl-featured img{height:340px}}
@media(max-width:560px){.hfl-cat-grid,.hfl-grid,.hfl-related-grid,.hfl-footer-grid,.hfl-footer-showcase{grid-template-columns:1fr}.hfl-footer-intro{grid-column:auto}.hfl-footer-badge{min-height:110px}.hfl-actions{flex-direction:column;align-items:flex-start}.hfl-article{padding:20px 16px}.hfl-featured img{height:250px}.hfl-footer-bottom-inner{flex-direction:column;align-items:flex-start}}
