/*
Theme Name: Pro House Revive Editorial
Theme URI: https://example.com/pro-house-revive-editorial
Author: Pro House Revive
Description: Elegant home-improvement WordPress theme for Pro House Revive with larger post images, cleaner single-post formatting, premium search, and a stylish footer.
Version: 1.1.0
Requires at least: 6.0
Requires PHP: 7.4
Text Domain: pro-house-revive
*/
:root{
  --hv-green:#214f3b;
  --hv-green2:#17392c;
  --hv-olive:#8f9c58;
  --hv-cream:#f6f1e6;
  --hv-paper:#fffdf8;
  --hv-line:#e4ddce;
  --hv-ink:#17251e;
  --hv-muted:#657067;
  --hv-serif:Georgia,"Times New Roman",serif;
  --hv-sans:Arial,Helvetica,sans-serif;
}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;background:var(--hv-cream);color:var(--hv-ink);font-family:var(--hv-sans);line-height:1.55}
a{color:inherit;text-decoration:none}
img{display:block;max-width:100%;height:auto}
.wrap{width:min(1180px,calc(100% - 40px));margin:0 auto}

.site-header{position:sticky;top:0;z-index:60;background:rgba(255,255,255,.96);border-bottom:1px solid var(--hv-line);backdrop-filter:blur(8px)}
.header-inner{min-height:82px;display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:22px}
.brand img{width:205px;max-height:58px}
.primary-nav ul{list-style:none;margin:0;padding:0;display:flex;justify-content:center;gap:25px;align-items:center}
.primary-nav a{font-size:12px;font-weight:800;color:#2b4036}
.primary-nav a:hover,.current-menu-item>a{color:var(--hv-green)}
.search-link{width:42px;height:42px;border-radius:50%;display:grid;place-items:center;background:#eef3ee;color:var(--hv-green);border:1px solid #dbe5dc;font-weight:900}
.menu-toggle{display:none;border:0;border-radius:10px;background:#eef3ee;padding:10px 13px;font-weight:800}

.hero{position:relative;overflow:hidden;background:#fff}
.hero-media{position:relative;min-height:520px}
.hero-media img{width:100%;height:520px;object-fit:cover}
.hero-media:after{content:"";position:absolute;inset:0;background:linear-gradient(90deg,rgba(248,246,238,.96) 0%,rgba(248,246,238,.82) 27%,rgba(248,246,238,.25) 51%,rgba(248,246,238,0) 72%)}
.hero-copy{position:absolute;z-index:2;left:max(40px,calc((100vw - 1180px)/2));top:50%;transform:translateY(-50%);width:min(460px,42vw)}
.eyebrow{margin:0 0 10px;color:var(--hv-green);font-size:11px;font-weight:900;letter-spacing:.17em;text-transform:uppercase}
.hero h1{margin:0;font:700 clamp(3.3rem,6vw,5.8rem)/.88 var(--hv-serif);letter-spacing:-.055em;color:#17382d}
.hero-copy p{max-width:430px;color:#425149;font-size:15px}
.cta{display:inline-flex;align-items:center;gap:10px;margin-top:13px;padding:12px 18px;border-radius:999px;background:var(--hv-green);color:#fff;font-size:12px;font-weight:800}

.icon-strip{background:#fff;border-bottom:1px solid var(--hv-line)}
.icon-grid{display:grid;grid-template-columns:repeat(8,1fr);gap:5px;padding:18px 0}
.icon-item{text-align:center;padding:8px 4px;border-radius:12px}
.icon-circle{width:38px;height:38px;border-radius:50%;display:grid;place-items:center;margin:0 auto 6px;background:#f3f0e5;color:#8b5f2a;font-weight:900}
.icon-item strong{display:block;font-size:11px;color:#2b4036}

.section{padding:48px 0}
.section.white{background:#fff}
.section-head{display:flex;justify-content:space-between;align-items:end;gap:20px;margin-bottom:18px}
.section-head h2{margin:0;font:700 clamp(2rem,3.7vw,3.4rem)/1 var(--hv-serif);color:#17382d}
.section-head a{font-size:12px;font-weight:800;color:var(--hv-green)}
.guide-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:16px}
.guide-card{overflow:hidden;background:#fff;border:1px solid var(--hv-line);border-radius:14px;box-shadow:0 8px 22px rgba(22,50,39,.04)}
.guide-card .media{aspect-ratio:1.42/1;overflow:hidden;background:#eee}
.guide-card img{width:100%;height:100%;object-fit:cover;transition:transform .28s ease}
.guide-card:hover img{transform:scale(1.035)}
.guide-body{padding:15px 16px 17px}
.guide-body h3{margin:0;font:700 1.25rem/1.13 var(--hv-serif)}
.guide-body p{margin:8px 0 0;color:var(--hv-muted);font-size:12px}

.category-section{padding:48px 0;background:#f8f5ed}
.category-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:14px}
.cat-card{padding:20px;border:1px solid var(--hv-line);border-radius:14px;background:#fffdf8}
.cat-card .icon-circle{margin:0 0 12px}
.cat-card h3{font:700 1.1rem var(--hv-serif);margin:0 0 5px}
.cat-card p{margin:0;color:var(--hv-muted);font-size:11px}

.article-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}
.article-card{background:#fff;border:1px solid var(--hv-line);border-radius:15px;overflow:hidden}
.article-card .media{aspect-ratio:1.5/1;overflow:hidden}
.article-card img{width:100%;height:100%;object-fit:cover}
.article-card .body{padding:16px}
.article-card h3{margin:5px 0 8px;font:700 1.28rem/1.15 var(--hv-serif)}
.meta{font-size:11px;color:#8a928c}

.site-footer{background:#16382c;color:#edf4ef;margin-top:44px}
.footer-inner{display:grid;grid-template-columns:1.25fr .8fr .8fr;gap:32px;padding:40px 0}
.footer-logo img{width:220px;filter:brightness(0) invert(1)}
.footer-inner h3{font:700 1.25rem var(--hv-serif);margin:0 0 12px}
.footer-inner ul{list-style:none;margin:0;padding:0;display:grid;gap:8px}
.footer-inner a{color:#edf4ef}
.footer-bottom{border-top:1px solid rgba(255,255,255,.14);padding:14px 0;font-size:11px;color:#cbd8d0}

.single-wrap{width:min(900px,calc(100% - 32px));margin:38px auto;background:#fff;border:1px solid var(--hv-line);border-radius:18px;padding:34px}
.single-title{font:700 clamp(2.6rem,5vw,4.6rem)/1 var(--hv-serif);margin:0 0 15px;color:#17382d}
.entry-content{font:17px/1.8 var(--hv-serif)}
.entry-content a{color:var(--hv-green);text-decoration:underline}

@media(max-width:980px){
  .primary-nav{display:none}.menu-toggle{display:block;justify-self:end}.search-link{display:none}
  .primary-nav.open{display:block;grid-column:1/-1}.primary-nav.open ul{display:grid;padding:14px 0}
  .hero-copy{left:32px;width:min(430px,55vw)}
  .icon-grid{grid-template-columns:repeat(4,1fr)}
  .category-grid{grid-template-columns:repeat(2,1fr)}
}
@media(max-width:680px){
  .wrap{width:min(100% - 24px,1180px)}
  .hero-media,.hero-media img{height:470px;min-height:470px}
  .hero-media:after{background:linear-gradient(180deg,rgba(248,246,238,.72),rgba(248,246,238,.92) 75%)}
  .hero-copy{left:24px;right:24px;top:auto;bottom:34px;transform:none;width:auto}
  .hero h1{font-size:3.3rem}
  .icon-grid{grid-template-columns:repeat(2,1fr)}
  .guide-grid,.article-grid,.category-grid,.footer-inner{grid-template-columns:1fr}
}


/* =========================================================
   v1.1 — More homepage images
   ========================================================= */

.image-showcase{
  padding:48px 0;
  background:#f6f1e6;
}
.image-showcase-grid{
  display:grid;
  grid-template-columns:1.4fr .8fr .8fr;
  gap:16px;
}
.image-showcase-card{
  position:relative;
  overflow:hidden;
  min-height:250px;
  border-radius:16px;
  background:#dfe5dc;
  box-shadow:0 10px 24px rgba(22,50,39,.05);
}
.image-showcase-card.large{
  grid-row:span 2;
  min-height:520px;
}
.image-showcase-card img{
  width:100%;
  height:100%;
  object-fit:cover;
  transition:transform .28s ease;
}
.image-showcase-card:hover img{
  transform:scale(1.035);
}
.image-showcase-card::after{
  content:"";
  position:absolute;
  inset:0;
  background:linear-gradient(180deg,transparent 40%,rgba(15,42,31,.78) 100%);
}
.image-showcase-copy{
  position:absolute;
  z-index:2;
  left:18px;
  right:18px;
  bottom:16px;
  color:#fff;
}
.image-showcase-copy .eyebrow{
  color:#eef5ef;
  margin-bottom:6px;
}
.image-showcase-copy h3{
  margin:0;
  font:700 1.3rem/1.12 var(--hv-serif);
}
.image-showcase-card.large .image-showcase-copy h3{
  font-size:2rem;
}

.gallery-strip{
  padding:0 0 52px;
  background:#fff;
}
.gallery-grid{
  display:grid;
  grid-template-columns:repeat(5,minmax(0,1fr));
  gap:12px;
}
.gallery-item{
  overflow:hidden;
  border-radius:14px;
  background:#eee;
  aspect-ratio:1/1;
}
.gallery-item img{
  width:100%;
  height:100%;
  object-fit:cover;
  transition:transform .25s ease;
}
.gallery-item:hover img{
  transform:scale(1.045);
}

@media(max-width:900px){
  .image-showcase-grid{
    grid-template-columns:1fr 1fr;
  }
  .image-showcase-card.large{
    grid-column:1/-1;
    grid-row:auto;
    min-height:400px;
  }
  .gallery-grid{
    grid-template-columns:repeat(3,1fr);
  }
}
@media(max-width:620px){
  .image-showcase-grid,
  .gallery-grid{
    grid-template-columns:1fr;
  }
  .image-showcase-card,
  .image-showcase-card.large{
    min-height:280px;
  }
}


/* =========================================================
   v1.2 — Premium modern category showcase
   ========================================================= */
.category-section{
  padding:58px 0;
  background:
    radial-gradient(circle at 8% 0%,rgba(33,79,59,.07),transparent 28%),
    radial-gradient(circle at 92% 15%,rgba(143,156,88,.09),transparent 26%),
    linear-gradient(180deg,#f8f5ed 0%,#f2eee4 100%);
}

.category-section .section-head{
  margin-bottom:22px;
}

.category-section .section-head h2{
  font-size:clamp(2.4rem,4.2vw,4rem);
}

.category-grid{
  display:grid;
  grid-template-columns:repeat(12,minmax(0,1fr));
  gap:14px;
}

.cat-card{
  grid-column:span 3;
  position:relative;
  overflow:hidden;
  min-height:220px;
  padding:0;
  border:1px solid rgba(33,79,59,.10);
  border-radius:20px;
  background:#fff;
  box-shadow:0 12px 28px rgba(22,50,39,.05);
  transition:transform .22s ease,box-shadow .22s ease;
}

.cat-card:nth-child(1),
.cat-card:nth-child(2){
  grid-column:span 6;
  min-height:290px;
}

.cat-card:hover{
  transform:translateY(-4px);
  box-shadow:0 20px 42px rgba(22,50,39,.10);
}

.cat-card-media{
  position:absolute;
  inset:0;
}

.cat-card-media img{
  width:100%;
  height:100%;
  object-fit:cover;
  transition:transform .3s ease;
}

.cat-card:hover .cat-card-media img{
  transform:scale(1.045);
}

.cat-card::after{
  content:"";
  position:absolute;
  inset:0;
  background:linear-gradient(180deg,rgba(10,30,21,.02) 20%,rgba(12,37,27,.90) 100%);
}

.cat-card-content{
  position:absolute;
  z-index:2;
  left:16px;
  right:16px;
  bottom:15px;
  display:flex;
  align-items:end;
  justify-content:space-between;
  gap:12px;
  color:#fff;
}

.cat-card-text{
  min-width:0;
}

.cat-card-code{
  display:inline-flex;
  margin-bottom:8px;
  padding:5px 9px;
  border-radius:999px;
  background:rgba(255,255,255,.88);
  color:var(--hv-green);
  font-size:9px;
  font-weight:900;
  letter-spacing:.12em;
  text-transform:uppercase;
}

.cat-card h3{
  margin:0;
  color:#fff;
  font:700 1.28rem/1.08 var(--hv-serif);
  text-shadow:0 1px 2px rgba(0,0,0,.15);
}

.cat-card p{
  margin:5px 0 0;
  color:#edf4ef;
  font-size:10px;
}

.cat-card-arrow{
  flex:0 0 auto;
  width:38px;
  height:38px;
  display:grid;
  place-items:center;
  border-radius:50%;
  background:rgba(255,255,255,.92);
  color:var(--hv-green);
  font-size:16px;
  font-weight:900;
}

@media(max-width:1000px){
  .cat-card{
    grid-column:span 4;
  }
  .cat-card:nth-child(1),
  .cat-card:nth-child(2){
    grid-column:span 6;
  }
}

@media(max-width:720px){
  .cat-card,
  .cat-card:nth-child(1),
  .cat-card:nth-child(2){
    grid-column:span 6;
    min-height:220px;
  }
}

@media(max-width:480px){
  .cat-card,
  .cat-card:nth-child(1),
  .cat-card:nth-child(2){
    grid-column:span 12;
  }
}


/* =========================================================
   v1.3 — Cleaner theme identity + modern premium footer
   ========================================================= */

.site-footer{
  position:relative;
  overflow:hidden;
  margin-top:46px;
  background:
    radial-gradient(circle at 8% 0%,rgba(255,255,255,.07),transparent 22%),
    radial-gradient(circle at 92% 12%,rgba(143,156,88,.14),transparent 22%),
    linear-gradient(180deg,#16382c 0%,#122e24 100%);
  color:#edf4ef;
}

.site-footer::before{
  content:"";
  position:absolute;
  inset:0 0 auto 0;
  height:1px;
  background:rgba(255,255,255,.12);
}

.footer-shell{
  display:grid;
  grid-template-columns:1.35fr .85fr .85fr;
  gap:22px;
  padding:42px 0 28px;
}

.footer-card{
  position:relative;
  overflow:hidden;
  border:1px solid rgba(255,255,255,.10);
  border-radius:22px;
  background:rgba(255,255,255,.04);
  backdrop-filter:blur(6px);
  box-shadow:0 16px 36px rgba(0,0,0,.14);
}

.footer-brand{
  padding:26px 26px 24px;
}

.footer-brand::after{
  content:"";
  position:absolute;
  width:180px;
  height:180px;
  right:-70px;
  top:-75px;
  border-radius:50%;
  background:rgba(255,255,255,.05);
}

.footer-brand img{
  position:relative;
  z-index:2;
  width:min(100%,250px);
  margin-bottom:12px;
  filter:brightness(0) invert(1);
}

.footer-brand p{
  position:relative;
  z-index:2;
  margin:0;
  max-width:500px;
  color:#d5e0da;
  font-size:13px;
  line-height:1.75;
}

.footer-actions{
  position:relative;
  z-index:2;
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  margin-top:18px;
}

.footer-btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:42px;
  padding:0 16px;
  border-radius:999px;
  font-size:12px;
  font-weight:800;
  transition:transform .18s ease,opacity .18s ease;
}

.footer-btn:hover{
  transform:translateY(-1px);
  opacity:.96;
}

.footer-btn.primary{
  background:#fff;
  color:var(--hv-green);
}

.footer-btn.secondary{
  background:rgba(255,255,255,.10);
  color:#fff;
  border:1px solid rgba(255,255,255,.15);
}

.footer-links{
  padding:24px 22px 18px;
}

.footer-kicker{
  display:block;
  margin-bottom:5px;
  color:#b5c5bc;
  font-size:9px;
  font-weight:900;
  letter-spacing:.16em;
  text-transform:uppercase;
}

.footer-links h3{
  margin:0 0 12px;
  padding-bottom:12px;
  border-bottom:1px solid rgba(255,255,255,.10);
  font:700 1.38rem/1 var(--hv-serif);
  color:#fff;
}

.footer-links ul{
  list-style:none;
  margin:0;
  padding:0;
  display:grid;
  gap:0;
}

.footer-links li{
  border-bottom:1px solid rgba(255,255,255,.08);
}

.footer-links li:last-child{
  border-bottom:0;
}

.footer-links a{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
  min-height:40px;
  color:#e7efea;
  font-size:12px;
}

.footer-links a::after{
  content:"→";
  color:#b8c8c0;
  transition:transform .18s ease;
}

.footer-links a:hover::after{
  transform:translateX(3px);
}

.footer-bottom{
  border-top:1px solid rgba(255,255,255,.10);
  background:rgba(0,0,0,.10);
}

.footer-bottom-inner{
  min-height:60px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:18px;
  color:#c6d2cc;
  font-size:11px;
}

.footer-legal{
  display:flex;
  flex-wrap:wrap;
  gap:16px;
}

.footer-legal a{
  color:#dbe6e0;
}

@media(max-width:980px){
  .footer-shell{
    grid-template-columns:1fr 1fr;
  }
  .footer-brand{
    grid-column:1 / -1;
  }
}

@media(max-width:640px){
  .footer-shell{
    grid-template-columns:1fr;
  }
  .footer-brand{
    grid-column:auto;
  }
  .footer-bottom-inner{
    flex-direction:column;
    align-items:flex-start;
    padding:14px 0;
  }
}


/* =========================================================
   v1.4 — Internal links + related posts + external link color
   ========================================================= */

/* Internal links */
.entry-content a.hvn-internal-link{
  color:var(--hv-green);
  font-weight:700;
  text-decoration:underline;
  text-decoration-thickness:1.5px;
  text-underline-offset:3px;
}

/* External links */
.entry-content a.hvn-external-link{
  color:#b85f32;
  font-weight:700;
  text-decoration:underline;
  text-decoration-thickness:1.5px;
  text-underline-offset:3px;
}

.entry-content a.hvn-external-link::after{
  content:" ↗";
  font-size:.78em;
  font-family:var(--hv-sans);
}

/* Automatic internal post boxes inside article content */
.hvn-inline-related{
  margin:28px 0;
  padding:16px 18px;
  border-left:4px solid var(--hv-green);
  border-radius:12px;
  background:#f2f7f3;
  font-family:var(--hv-sans);
}

.hvn-inline-related small{
  display:block;
  margin-bottom:5px;
  color:#77857b;
  font-size:9px;
  font-weight:900;
  letter-spacing:.14em;
  text-transform:uppercase;
}

.hvn-inline-related a{
  color:var(--hv-green)!important;
  font-weight:800;
  text-decoration:none!important;
}

/* Related posts */
.hvn-related{
  margin-top:46px;
  padding-top:30px;
  border-top:1px solid var(--hv-line);
}

.hvn-related-head{
  display:flex;
  align-items:end;
  justify-content:space-between;
  gap:18px;
  margin-bottom:18px;
}

.hvn-related-head h2{
  margin:0;
  font:700 2.2rem/1 var(--hv-serif);
  color:var(--hv-green2);
}

.hvn-related-head p{
  margin:0;
  color:var(--hv-muted);
  font-size:12px;
}

.hvn-related-grid{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:16px;
}

.hvn-related-card{
  overflow:hidden;
  border:1px solid var(--hv-line);
  border-radius:14px;
  background:#fff;
  box-shadow:0 8px 20px rgba(22,50,39,.04);
}

.hvn-related-thumb{
  display:block;
  aspect-ratio:1.5/1;
  overflow:hidden;
  background:#eee;
}

.hvn-related-thumb img{
  width:100%;
  height:100%;
  object-fit:cover;
  transition:transform .25s ease;
}

.hvn-related-card:hover .hvn-related-thumb img{
  transform:scale(1.035);
}

.hvn-related-body{
  padding:14px 15px 16px;
}

.hvn-related-body h3{
  margin:5px 0 7px;
  font:700 1.12rem/1.15 var(--hv-serif);
  color:var(--hv-green2);
}

@media(max-width:720px){
  .hvn-related-grid{
    grid-template-columns:1fr;
  }

  .hvn-related-head{
    flex-direction:column;
    align-items:flex-start;
  }
}


/* =========================================================
   v1.5 — Stronger external-link distinction
   ========================================================= */

/* Internal links stay green */
.entry-content a.hvn-internal-link{
  color:#1f6a4a!important;
  font-weight:700;
  text-decoration-color:#1f6a4a!important;
}

/* External links use a clearly different terracotta/orange color */
.entry-content a.hvn-external-link{
  color:#c24f24!important;
  font-weight:700;
  text-decoration-color:#c24f24!important;
}

.entry-content a.hvn-external-link:hover{
  color:#8f3517!important;
  text-decoration-color:#8f3517!important;
}

.entry-content a.hvn-external-link::after{
  content:" ↗";
  color:#c24f24!important;
  font-size:.8em;
  font-family:var(--hv-sans);
}

/* Keep automatic related/internal boxes green */
.hvn-inline-related a,
.hvn-related a{
  color:var(--hv-green)!important;
}


/* =========================================================
   v1.6 — Stronger external link styling + bigger image with border/shadow
   ========================================================= */

.single-wrap{
  width:min(980px,calc(100% - 26px));
}

.single-featured-image{
  margin:26px 0 28px;
  border:2px solid #d9d4c6;
  border-radius:18px;
  overflow:hidden;
  background:#fff;
  box-shadow:0 18px 42px rgba(22,50,39,.10);
}

.single-featured-image img{
  width:100%!important;
  display:block;
  height:auto;
}

.entry-content img{
  width:100%;
  max-width:100%;
  height:auto;
  margin:20px 0 24px;
  border:2px solid #d9d4c6;
  border-radius:16px;
  overflow:hidden;
  box-shadow:0 14px 34px rgba(22,50,39,.10);
}

/* Internal links */
.entry-content a.hvn-internal-link{
  color:#1f6a4a!important;
  text-decoration-color:#1f6a4a!important;
}

/* External links: clearly different color */
.entry-content a.hvn-external-link{
  color:#c64816!important;
  font-weight:800;
  text-decoration-color:#c64816!important;
}

.entry-content a.hvn-external-link:hover{
  color:#8f2f0e!important;
  text-decoration-color:#8f2f0e!important;
}

.entry-content a.hvn-external-link::after{
  content:" ↗";
  color:#c64816!important;
  font-size:.8em;
  font-family:var(--hv-sans);
}


/* =========================================================
   v1.7 — Modern premium header search box
   ========================================================= */
.header-inner{
  grid-template-columns:auto minmax(0,1fr) minmax(245px,320px);
  gap:20px;
}

.header-search-form{
  position:relative;
  display:grid;
  grid-template-columns:auto minmax(0,1fr) auto;
  align-items:center;
  gap:8px;
  width:100%;
  min-height:46px;
  padding:5px 5px 5px 14px;
  border:1px solid #d9e3dc;
  border-radius:999px;
  background:linear-gradient(180deg,#ffffff 0%,#f6f9f6 100%);
  box-shadow:0 8px 22px rgba(22,50,39,.06);
  transition:border-color .18s ease,box-shadow .18s ease,transform .18s ease;
}

.header-search-form:focus-within{
  border-color:#8fb29c;
  box-shadow:0 0 0 4px rgba(33,79,59,.08),0 10px 24px rgba(22,50,39,.08);
  transform:translateY(-1px);
}

.header-search-icon{
  width:20px;
  height:20px;
  display:grid;
  place-items:center;
  color:#6d7e73;
}

.header-search-icon svg{
  width:18px;
  height:18px;
}

.header-search-form input[type="search"]{
  min-width:0;
  width:100%;
  border:0;
  outline:0;
  background:transparent;
  color:#24352d;
  font-size:13px;
  font-family:var(--hv-sans);
}

.header-search-form input[type="search"]::placeholder{
  color:#94a098;
}

.header-search-form input[type="search"]::-webkit-search-cancel-button{
  cursor:pointer;
}

.header-search-form button{
  min-height:36px;
  padding:0 15px;
  border:0;
  border-radius:999px;
  background:linear-gradient(135deg,var(--hv-green),var(--hv-green2));
  color:#fff;
  font-size:11px;
  font-weight:800;
  cursor:pointer;
  box-shadow:0 6px 14px rgba(33,79,59,.16);
  transition:transform .18s ease,box-shadow .18s ease;
}

.header-search-form button:hover{
  transform:translateY(-1px);
  box-shadow:0 9px 18px rgba(33,79,59,.20);
}

.screen-reader-text{
  position:absolute!important;
  width:1px;height:1px;
  padding:0;margin:-1px;
  overflow:hidden;clip:rect(0,0,0,0);
  white-space:nowrap;border:0;
}

@media(max-width:1120px){
  .header-inner{
    grid-template-columns:auto minmax(0,1fr) minmax(215px,270px);
    gap:14px;
  }
  .primary-nav ul{gap:15px}
  .primary-nav a{font-size:11px}
}

@media(max-width:980px){
  .header-inner{
    grid-template-columns:minmax(0,1fr) auto;
  }
  .header-search-form{
    grid-column:1 / -1;
    margin-bottom:12px;
  }
  .primary-nav.open{
    grid-column:1 / -1;
  }
}

@media(max-width:560px){
  .header-search-form{
    grid-template-columns:auto minmax(0,1fr);
    padding-right:8px;
  }
  .header-search-form button{
    grid-column:1 / -1;
    width:100%;
    min-height:38px;
  }
}


/* =========================================================
   Pro House Revive v1.0 — larger article images + refined layout
   ========================================================= */

.brand img{width:min(100%,230px);height:auto}

.single-wrap{
  width:min(1040px,calc(100% - 28px));
  margin:42px auto;
  padding:40px;
  border-radius:24px;
  border:1px solid #e3ddcf;
  box-shadow:0 14px 34px rgba(23,45,34,.06);
}

.single-title{
  max-width:920px;
}

.single-featured-image{
  width:min(820px,100%);
  margin:28px auto 34px;
  border:2px solid #ddd5c6;
  border-radius:18px;
  overflow:hidden;
  background:#fff;
  box-shadow:0 18px 40px rgba(23,45,34,.10);
}

.single-featured-image img{
  width:100%!important;
  display:block;
  height:auto;
  object-fit:cover;
}

.entry-content{
  max-width:920px;
  margin:0 auto;
}

.entry-content > p,
.entry-content > h2,
.entry-content > h3,
.entry-content > ul,
.entry-content > ol,
.entry-content > blockquote,
.entry-content > .hvn-inline-related{
  max-width:860px;
  margin-left:auto;
  margin-right:auto;
}

.entry-content img{
  display:block;
  width:min(820px,100%);
  max-width:100%;
  height:auto;
  margin:22px auto 28px;
  border:2px solid #ddd5c6;
  border-radius:18px;
  box-shadow:0 16px 38px rgba(23,45,34,.10);
}

.hvn-related{
  max-width:920px;
  margin-left:auto;
  margin-right:auto;
}

@media(max-width:720px){
  .single-wrap{padding:24px 18px}
  .brand img{width:min(100%,185px)}
}


/* =========================================================
   v1.1 — TEXT FORMAT FIX ONLY
   No layout, images, colors, spacing system or sections changed.
   ========================================================= */

/* Prevent broken/awkward word wrapping everywhere */
body,
p,
li,
a,
span,
h1,h2,h3,h4,h5,h6{
  word-break:normal;
  overflow-wrap:break-word;
  hyphens:none;
}

/* General readable paragraph rhythm */
p{
  line-height:1.65;
}

.hero h1{
  line-height:.98;
  letter-spacing:-.04em;
}

.hero-copy p{
  line-height:1.6;
}

.section-head h2{
  line-height:1.04;
  letter-spacing:-.025em;
}

/* Category text */
.cat-card h3{
  line-height:1.12;
  letter-spacing:-.01em;
}

.cat-card p{
  line-height:1.45;
}

/* Homepage article cards */
.article-card .body{
  min-width:0;
}

.article-card h3{
  font-size:clamp(1.08rem,1.55vw,1.34rem);
  line-height:1.16;
  letter-spacing:-.01em;
  margin-top:6px;
}

.article-card .body p:not(.eyebrow):not(.meta){
  font-size:13px;
  line-height:1.55;
}

/* Featured/guide cards */
.guide-body h3{
  line-height:1.16;
  letter-spacing:-.01em;
}

.guide-body p{
  line-height:1.5;
}

/* Eyebrow labels */
.eyebrow{
  line-height:1.25;
  letter-spacing:.14em;
}

/* Single post title + body typography */
.single-title{
  font-size:clamp(2.6rem,5.3vw,4.65rem);
  line-height:.98;
  letter-spacing:-.035em;
  text-wrap:balance;
}

.entry-content{
  font-size:17px;
  line-height:1.78;
}

.entry-content p{
  margin-top:0;
  margin-bottom:1.18em;
  line-height:1.78;
}

.entry-content h2{
  margin-top:1.7em;
  margin-bottom:.55em;
  font:700 clamp(1.65rem,2.8vw,2.2rem)/1.13 var(--hv-serif);
  letter-spacing:-.02em;
  color:var(--hv-green2);
}

.entry-content h3{
  margin-top:1.45em;
  margin-bottom:.5em;
  font:700 clamp(1.25rem,2vw,1.55rem)/1.2 var(--hv-serif);
  letter-spacing:-.01em;
  color:var(--hv-green2);
}

.entry-content ul,
.entry-content ol{
  line-height:1.72;
}

.entry-content li{
  margin:.28em 0;
}

/* Related post text formatting */
.hvn-related-head h2{
  line-height:1.05;
  letter-spacing:-.02em;
}

.hvn-related-body h3{
  font-size:1.08rem;
  line-height:1.17;
  letter-spacing:-.01em;
}

/* Footer text formatting only */
.footer-brand p{
  line-height:1.65;
}

.footer-links h3{
  line-height:1.1;
}

.footer-links a{
  line-height:1.35;
}

/* Keep navigation labels on one clean line */
.primary-nav a{
  white-space:nowrap;
  line-height:1.2;
}

/* Mobile text scaling without changing structure */
@media(max-width:720px){
  .single-title{
    font-size:clamp(2.25rem,9vw,3.4rem);
    line-height:1.01;
  }

  .entry-content{
    font-size:16px;
    line-height:1.72;
  }

  .entry-content p{
    line-height:1.72;
  }

  .hero h1{
    line-height:1;
  }
}
