/*
Theme Name: Local Renovate
Theme URI: https://example.com/
Author: Local Renovate
Description: Clean editorial home renovation WordPress theme with fixed menu and 13-category system.
Version: 2.0.0
Requires at least: 6.5
Requires PHP: 7.4
Text Domain: local-renovate
*/

:root{
  --lr-green:#1f9b4b;
  --lr-dark:#13251d;
  --lr-text:#17231c;
  --lr-muted:#6f776f;
  --lr-soft:#f5f4ee;
  --lr-line:#e7e8e2;
  --lr-white:#fff;
}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;background:#fff;color:var(--lr-text);font-family:Arial,Helvetica,sans-serif}
a{text-decoration:none;color:inherit}
img{max-width:100%;display:block}
.lr-wrap{width:min(1380px,calc(100% - 42px));margin:auto}

/* header */
.lr-header{background:#fff;border-bottom:1px solid #eceee9}
.lr-head{min-height:78px;display:grid;grid-template-columns:280px minmax(0,1fr);gap:32px;align-items:center}
.lr-logo{display:flex;align-items:center;gap:10px;font-size:23px;font-weight:800;color:#17251e}
.lr-logo-mark{width:30px;height:30px;position:relative}
.lr-logo-mark:before{content:"";position:absolute;left:3px;top:9px;width:20px;height:17px;border-left:6px solid #16291f;border-top:6px solid #16291f;transform:rotate(45deg)}
.lr-logo-mark:after{content:"";position:absolute;right:0;bottom:1px;width:12px;height:17px;border-radius:12px 0 12px 0;background:var(--lr-green)}
.lr-logo strong{color:var(--lr-green)}
.lr-nav{display:flex;justify-content:flex-end;gap:34px;align-items:center;flex-wrap:wrap}
.lr-nav a{font-size:14px;font-weight:600;color:#28362f;white-space:nowrap}
.lr-nav a:hover{color:var(--lr-green)}

/* hero */
.lr-hero{padding:28px 0 42px}
.lr-hero-box{display:grid;grid-template-columns:1fr 1fr;min-height:530px;background:#f5f4ee}
.lr-hero-copy{padding:68px 62px;display:flex;flex-direction:column;justify-content:center}
.lr-kicker{display:block;color:var(--lr-green);font-size:10px;font-weight:900;letter-spacing:.12em;text-transform:uppercase}
.lr-hero-copy h1{margin:12px 0 18px;font:700 clamp(50px,5vw,78px)/.96 Georgia,serif;letter-spacing:-.035em}
.lr-hero-copy h1 em{color:var(--lr-green);font-style:normal}
.lr-hero-copy p{max-width:550px;margin:0;color:#68716a;font:17px/1.55 Georgia,serif}
.lr-btn{display:inline-flex;width:max-content;margin-top:27px;padding:14px 22px;background:#15251d;color:#fff;font-size:11px;font-weight:800}
.lr-hero-img{overflow:hidden}
.lr-hero-img img,.lr-fallback{width:100%;height:100%;object-fit:cover}
.lr-fallback{display:block;background:linear-gradient(135deg,#e7e8df,#d7e3db)}

/* section heads */
.lr-section{padding:30px 0 50px}
.lr-headline{display:flex;align-items:end;justify-content:space-between;gap:20px;margin-bottom:20px}
.lr-headline h2{margin:0;font:700 34px Georgia,serif}
.lr-headline a{color:var(--lr-green);font-size:11px;font-weight:800}

/* cards */
.lr-feature-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:24px}
.lr-card{border:1px solid #e7e8e2;background:#fff}
.lr-card-img{display:block;height:245px;overflow:hidden;background:#eef0eb}
.lr-card-img img,.lr-card-img .lr-fallback{width:100%;height:100%;object-fit:cover}
.lr-card-copy{padding:18px 20px 20px}
.lr-cat{display:block;margin-bottom:8px;color:var(--lr-green);font-size:8px;font-weight:900;letter-spacing:.12em;text-transform:uppercase}
.lr-card h3{margin:0 0 8px;font:700 24px/1.04 Georgia,serif}
.lr-card p{margin:0;color:#747b75;font:13px/1.5 Georgia,serif}
.lr-meta{margin-top:14px;color:#919791;font-size:9px}

/* latest + sidebar */
.lr-latest{padding:55px 0 68px}
.lr-main-grid{display:grid;grid-template-columns:minmax(0,1fr) 360px;gap:28px;align-items:start}
.lr-latest-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:24px}
.lr-latest-card{border:1px solid #e7e8e2;background:#fff}
.lr-latest-img{height:235px;overflow:hidden}
.lr-latest-img img,.lr-latest-img .lr-fallback{width:100%;height:100%;object-fit:cover}
.lr-latest-copy{padding:18px}
.lr-latest-copy h3{margin:6px 0 9px;font:700 24px/1.03 Georgia,serif}
.lr-latest-copy p{margin:0;color:#727972;font:13px/1.5 Georgia,serif}

/* sidebar */
.lr-sidebar{padding:26px;background:#f5f4ee;border:1px solid #e8e5dc}
.lr-sidebar h3{margin:0 0 14px;font:700 27px/1.12 Georgia,serif}
.lr-sidebar p{color:#72776f;font:13px/1.5 Georgia,serif}
.lr-side-links{display:grid;gap:0;margin-top:18px}
.lr-side-links a{padding:12px 0;border-bottom:1px solid #dedfd9;font-size:13px}
.lr-side-links a:hover{color:var(--lr-green)}
.lr-promo{margin-top:20px;padding:28px;background:var(--lr-green);color:#fff}
.lr-promo h4{margin:0 0 12px;font:700 33px/1.05 Georgia,serif}
.lr-promo p{color:#e9f6ed}
.lr-promo a{display:inline-flex;margin-top:10px;padding:12px 18px;background:#fff;color:#203126;font-size:10px;font-weight:800}

/* categories */
.lr-categories{padding:50px 0;background:#f7f7f2;border-top:1px solid #e6e8e2;border-bottom:1px solid #e6e8e2}
.lr-category-grid{display:grid;grid-template-columns:repeat(5,1fr);gap:12px}
.lr-category-card{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:16px 18px;background:#fff;border:1px solid #e2e6df;transition:.18s ease}
.lr-category-card:hover{transform:translateY(-2px);border-color:#a9cdb3;box-shadow:0 8px 20px rgba(24,72,42,.06)}
.lr-category-card strong{font:600 14px Georgia,serif}
.lr-category-card span{color:var(--lr-green)}

/* single */
.lr-single{padding:44px 0 68px}
.lr-single-head{max-width:980px;margin:auto}
.lr-single-head h1{margin:8px 0 16px;font:700 clamp(44px,5vw,72px)/.98 Georgia,serif}
.lr-single-meta{color:#8a918b;font-size:10px}
.lr-single-image{width:min(1020px,90%);margin:30px auto}
.lr-single-image img{width:100%;max-height:650px;object-fit:cover;border:1px solid #e0e3dd;box-shadow:0 18px 40px rgba(30,50,39,.10)}
.lr-body{max-width:820px;margin:auto;color:#4d5751;font:17px/1.75 Georgia,serif}
.lr-body h2{margin:32px 0 10px;color:#193025;font:700 28px/1.15 Georgia,serif}
.lr-body h3{margin:26px 0 8px;color:#193025;font:700 22px/1.18 Georgia,serif}
.lr-body a{color:#17823f;text-decoration:underline;text-underline-offset:3px}
.lr-body a.lr-external{color:#cc633b!important;font-weight:700}
.lr-body a.lr-external:after{content:" ↗";font-size:.8em}

/* related posts */
.lr-related{width:min(1080px,calc(100% - 42px));margin:54px auto 0;padding-top:28px;border-top:1px solid #dfe4de}
.lr-related-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}
.lr-related-card{border:1px solid #e3e6e0;background:#fff}
.lr-related-img{height:180px;overflow:hidden}
.lr-related-img img,.lr-related-img .lr-fallback{width:100%;height:100%;object-fit:cover}
.lr-related-copy{padding:14px}
.lr-related-copy h3{margin:6px 0;font:700 18px/1.08 Georgia,serif}

/* footer */
.lr-footer{padding:44px 0 18px;background:#14231c;color:#fff}
.lr-footer-grid{display:grid;grid-template-columns:1.3fr .8fr .8fr .8fr;gap:34px}
.lr-footer-brand p{max-width:420px;color:#aebbb2;font:13px/1.55 Georgia,serif}
.lr-fcol{display:flex;flex-direction:column;gap:8px}
.lr-fcol strong{margin-bottom:4px;color:#d9e5dc;font-size:9px;letter-spacing:.12em;text-transform:uppercase}
.lr-fcol a{color:#c9d3cc;font-size:12px}
.lr-footer-bottom{display:flex;justify-content:space-between;margin-top:28px;padding-top:15px;border-top:1px solid #30433a;color:#7f9187;font-size:9px}

/* archive/search */
.lr-archive{padding:42px 0 66px}
.lr-archive h1{font:700 48px Georgia,serif}
.lr-archive-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:22px}

@media(max-width:1100px){
  .lr-category-grid{grid-template-columns:repeat(3,1fr)}
  .lr-main-grid{grid-template-columns:1fr 320px}
}
@media(max-width:850px){
  .lr-head{grid-template-columns:1fr}
  .lr-nav{justify-content:flex-start;overflow-x:auto;flex-wrap:nowrap;padding-bottom:10px}
  .lr-hero-box{grid-template-columns:1fr}
  .lr-feature-grid,.lr-archive-grid{grid-template-columns:1fr 1fr}
  .lr-main-grid{grid-template-columns:1fr}
  .lr-footer-grid{grid-template-columns:1fr 1fr}
}
@media(max-width:560px){
  .lr-wrap{width:calc(100% - 24px)}
  .lr-hero-copy{padding:38px 26px}
  .lr-feature-grid,.lr-latest-grid,.lr-category-grid,.lr-related-grid,.lr-footer-grid,.lr-archive-grid{grid-template-columns:1fr}
}


/* =========================================================
   v1.2.0 — premium single-post refresh
   ========================================================= */

/* Hide old single/footer styling from taking visual priority */
.lr-single.lr12-single{
  padding:46px 0 68px;
  background:
    linear-gradient(180deg,#fff 0%,#fdfdfb 75%,#f7f8f4 100%);
}

.lr12-single-head{
  max-width:960px;
  margin:auto;
}

.lr12-single-head .lr-kicker{
  margin-bottom:12px;
}

.lr12-single-head h1{
  max-width:920px;
  margin:0;
  color:#18261f;
  font:700 clamp(44px,4.2vw,64px)/.98 Georgia,serif;
  letter-spacing:-.025em;
}

.lr12-deck{
  max-width:820px;
  margin:17px 0 0;
  color:#657069;
  font:19px/1.45 Georgia,serif;
}

.lr12-meta{
  display:flex;
  flex-wrap:wrap;
  align-items:center;
  gap:12px;
  margin-top:18px;
  color:#8a928c;
  font-size:10px;
}

.lr12-meta i{
  width:1px;
  height:14px;
  background:#d7ddd8;
}

/* Larger image with border & shadow */
.lr12-single-image{
  width:min(1080px,84%);
  margin:34px auto 30px;
}

.lr12-single-image img{
  width:100%;
  max-height:700px;
  object-fit:cover;
  border:1px solid #cfd8d0;
  border-radius:6px;
  box-shadow:
    0 18px 38px rgba(20,45,31,.13),
    0 3px 8px rgba(20,45,31,.05);
}

/* Better reading width */
.lr12-body{
  width:min(820px,calc(100% - 44px));
  margin:auto;
  color:#4d5751;
  font:17px/1.78 Georgia,serif;
}

.lr12-body>p:first-child{
  font-size:18px;
  line-height:1.72;
}

.lr12-body h2{
  margin:34px 0 10px;
  color:#183126;
  font:700 29px/1.17 Georgia,serif;
}

.lr12-body h3{
  margin:27px 0 8px;
  color:#183126;
  font:700 23px/1.2 Georgia,serif;
}

.lr12-body h4{
  margin:23px 0 7px;
  color:#1f392d;
  font:700 19px/1.2 Georgia,serif;
}

.lr12-body p,
.lr12-body ul,
.lr12-body ol{
  margin:0 0 18px;
}

.lr12-body ul,
.lr12-body ol{
  padding-left:26px;
}

/* Internal links */
.lr12-body a:not(.lr-external){
  color:#23754b!important;
  font-weight:700!important;
  text-decoration:underline!important;
  text-decoration-thickness:1.4px!important;
  text-decoration-color:#6ea282!important;
  text-underline-offset:3px!important;
}

.lr12-body a:not(.lr-external):hover{
  color:#155b38!important;
  text-decoration-color:#155b38!important;
}

/* External links */
.lr12-body a.lr-external{
  color:#c35e35!important;
  font-weight:800!important;
  text-decoration:underline!important;
  text-decoration-style:dashed!important;
  text-decoration-thickness:1.4px!important;
  text-decoration-color:#d78c69!important;
  text-underline-offset:3px!important;
}

.lr12-body a.lr-external:after{
  content:" ↗";
  color:#c35e35;
  font-size:.78em;
  text-decoration:none!important;
}

/* Inline contextual internal links */
.lr12-inline-link{
  margin:24px 0;
  padding:14px 16px;
  border-left:3px solid #2b7a52;
  background:#edf6f0;
}

.lr12-inline-link small{
  display:block;
  margin-bottom:5px;
  color:#72897b;
  font-size:8px;
  font-weight:900;
  letter-spacing:.13em;
}

.lr12-inline-link a{
  color:#225f40!important;
  font-weight:800!important;
  text-decoration:none!important;
}

.lr12-inline-link b{
  color:#2b7a52;
}

/* Related posts */
.lr12-related{
  width:min(1080px,calc(100% - 42px));
  margin:58px auto 0;
  padding-top:28px;
  border-top:1px solid #dce3dd;
}

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

.lr12-related-head h2{
  margin:6px 0 0;
  color:#192f25;
  font:700 32px/1 Georgia,serif;
}

.lr12-related-rule{
  width:72px;
  height:2px;
  margin-bottom:7px;
  background:var(--lr-green);
}

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

.lr12-related-card{
  overflow:hidden;
  border:1px solid #e0e6e1;
  border-radius:10px;
  background:#fff;
  box-shadow:0 10px 24px rgba(23,53,35,.06);
}

.lr12-related-img{
  display:block;
  height:190px;
  overflow:hidden;
  background:#eef2ee;
}

.lr12-related-img img,
.lr12-related-img .lr-fallback{
  width:100%;
  height:100%;
  object-fit:cover;
}

.lr12-related-copy{
  padding:14px 15px 16px;
}

.lr12-related-copy h3{
  margin:6px 0 8px;
  color:#1e3227;
  font:700 18px/1.1 Georgia,serif;
}

.lr12-related-copy p{
  margin:0;
  color:#6c756f;
  font:13px/1.45 Georgia,serif;
}

.lr12-read{
  display:inline-flex;
  align-items:center;
  gap:6px;
  margin-top:12px;
  color:#228247;
  font-size:9px;
  font-weight:900;
  letter-spacing:.05em;
  text-transform:uppercase;
}

/* =========================================================
   modern footer
   ========================================================= */

.lr-footer{
  display:none!important;
}

.lr12-footer{
  padding:46px 0 16px;
  background:
    radial-gradient(circle at 12% 15%,rgba(53,129,76,.08),transparent 26%),
    linear-gradient(180deg,#15251d 0%,#102019 100%);
  color:#f4f7f2;
  border-top:2px solid #2b9a52;
}

.lr12-footer-grid{
  display:grid;
  grid-template-columns:1.3fr .8fr 1.08fr .72fr;
  gap:18px;
}

.lr12-footer-brand,
.lr12-footer-card{
  padding:26px 24px;
  border:1px solid rgba(199,218,204,.12);
  border-radius:14px;
  background:rgba(255,255,255,.022);
}

.lr12-logo{
  color:#fff!important;
}

.lr12-footer-brand p{
  max-width:430px;
  margin:18px 0 0;
  color:#b9c8be;
  font:13px/1.55 Georgia,serif;
}

.lr12-brand-rule{
  display:block;
  width:44px;
  height:2px;
  margin:19px 0 13px;
  background:#2da45b;
}

.lr12-brand-note{
  color:#8eb89a;
  font-size:8px;
  font-weight:900;
  letter-spacing:.15em;
}

.lr12-footer-card>span{
  display:block;
  margin-bottom:16px;
  color:#7fbd91;
  font-size:9px;
  font-weight:900;
  letter-spacing:.15em;
}

.lr12-footer-card>a{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
  margin-bottom:11px;
  color:#eef5f0;
  font:13px Georgia,serif;
}

.lr12-footer-card>a b{
  color:#56b674;
}

.lr12-topic-grid{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:9px 14px;
}

.lr12-topic-grid a{
  color:#c5d2c8;
  font:12px Georgia,serif;
}

.lr12-topic-grid a:before{
  content:"";
  display:inline-block;
  width:5px;
  height:5px;
  margin-right:7px;
  border-radius:50%;
  background:#3f9a5a;
  vertical-align:middle;
}

.lr12-footer-bottom{
  display:flex;
  justify-content:space-between;
  gap:18px;
  margin-top:18px;
  padding:15px 4px 0;
  border-top:1px solid rgba(193,213,199,.15);
  color:#7f9386;
  font-size:9px;
}

.lr12-footer-bottom span:last-child{
  color:#80b991;
  font-weight:800;
  letter-spacing:.12em;
}

@media(max-width:950px){
  .lr12-related-grid{grid-template-columns:1fr 1fr}
  .lr12-footer-grid{grid-template-columns:1fr 1fr}
}

@media(max-width:600px){
  .lr12-single-image{width:calc(100% - 24px)}
  .lr12-body{width:calc(100% - 28px)}
  .lr12-related-grid{grid-template-columns:1fr}
  .lr12-footer-grid{grid-template-columns:1fr}
  .lr12-topic-grid{grid-template-columns:1fr}
  .lr12-footer-bottom{flex-direction:column}
}


/* =========================================================
   v1.3.0 — modern categories + image overlap hard fix
   ========================================================= */

/* ---------- IMAGE OVERLAP / RESPONSIVE FIX ---------- */
.lr-feature-grid,
.lr-latest-grid,
.lr-archive-grid,
.lr-related-grid,
.lr12-related-grid,
.lr13-category-grid{
  min-width:0;
}

.lr-card,
.lr-latest-card,
.lr-related-card,
.lr12-related-card{
  min-width:0;
  overflow:hidden;
}

.lr-card-img,
.lr-latest-img,
.lr-related-img,
.lr12-related-img,
.lr-hero-img{
  position:relative;
  overflow:hidden!important;
  min-width:0;
}

.lr-card-img{
  height:auto!important;
  aspect-ratio:16/10!important;
}

.lr-latest-img{
  height:auto!important;
  aspect-ratio:16/10!important;
}

.lr-related-img,
.lr12-related-img{
  height:auto!important;
  aspect-ratio:16/10!important;
}

.lr-card-img img,
.lr-latest-img img,
.lr-related-img img,
.lr12-related-img img,
.lr-hero-img img,
.lr-card-img .lr-fallback,
.lr-latest-img .lr-fallback,
.lr-related-img .lr-fallback,
.lr12-related-img .lr-fallback,
.lr-hero-img .lr-fallback{
  display:block!important;
  width:100%!important;
  height:100%!important;
  max-width:none!important;
  object-fit:cover!important;
  object-position:center!important;
  margin:0!important;
  position:static!important;
  transform:none!important;
}

.lr-hero-box{
  overflow:hidden;
}

.lr-hero-img{
  min-height:430px;
}

.lr-feature-grid,
.lr-latest-grid{
  align-items:stretch;
}

.lr-card,
.lr-latest-card{
  display:flex;
  flex-direction:column;
}

.lr-card-copy,
.lr-latest-copy{
  flex:1 1 auto;
}

/* prevent long words/titles from forcing card overflow */
.lr-card h3,
.lr-latest-copy h3,
.lr12-related-copy h3{
  overflow-wrap:anywhere;
}

/* ---------- MODERN CATEGORIES ---------- */
.lr13-categories{
  padding:56px 0 60px!important;
  background:
    radial-gradient(circle at 90% 10%,rgba(31,155,75,.08),transparent 24%),
    linear-gradient(180deg,#fafaf6 0%,#f3f6f1 100%)!important;
  border-top:1px solid #e0e7df!important;
  border-bottom:1px solid #dde6dc!important;
}

.lr13-cat-head{
  display:grid;
  grid-template-columns:1.1fr .9fr;
  gap:40px;
  align-items:end;
  margin-bottom:26px;
}

.lr13-cat-head h2{
  margin:7px 0 0;
  color:#17281f;
  font:700 clamp(36px,4vw,54px)/1 Georgia,serif;
  letter-spacing:-.025em;
}

.lr13-cat-head p{
  max-width:520px;
  justify-self:end;
  margin:0 0 4px;
  color:#68746d;
  font:15px/1.55 Georgia,serif;
}

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

.lr13-category-card{
  position:relative;
  min-height:150px;
  padding:18px 18px 16px;
  border:1px solid #dce6dd;
  border-radius:16px;
  background:
    linear-gradient(180deg,rgba(255,255,255,.98),rgba(247,250,246,.98));
  box-shadow:
    0 10px 24px rgba(24,67,39,.05),
    inset 0 1px 0 rgba(255,255,255,.9);
  overflow:hidden;
  transition:transform .18s ease,border-color .18s ease,box-shadow .18s ease;
}

.lr13-category-card:nth-child(5n+2),
.lr13-category-card:nth-child(5n+4){
  background:linear-gradient(180deg,#1f9b4b 0%,#17833e 100%);
  border-color:#1f9b4b;
}

.lr13-category-card:nth-child(6n+3){
  background:linear-gradient(180deg,#1c2f26 0%,#13251d 100%);
  border-color:#23392d;
}

.lr13-category-card:hover{
  transform:translateY(-4px);
  border-color:#8ac59b;
  box-shadow:0 16px 30px rgba(25,75,43,.10);
}

.lr13-cat-num{
  position:absolute;
  top:14px;
  right:15px;
  color:#9aaa9f;
  font-size:9px;
  font-weight:900;
  letter-spacing:.08em;
}

.lr13-cat-icon{
  width:50px;
  height:50px;
  display:grid;
  place-items:center;
  margin-bottom:18px;
  border-radius:14px;
  background:#edf5ef;
  border:1px solid #d8e7dc;
  color:#208b45;
  font-size:24px;
}

.lr13-category-card strong{
  display:block;
  max-width:150px;
  color:#203028;
  font:700 16px/1.12 Georgia,serif;
}

.lr13-cat-arrow{
  position:absolute;
  right:15px;
  bottom:14px;
  width:30px;
  height:30px;
  display:grid;
  place-items:center;
  border:1px solid #cedbd1;
  border-radius:50%;
  color:#18853f;
  background:rgba(255,255,255,.66);
}

.lr13-category-card:nth-child(5n+2) .lr13-cat-num,
.lr13-category-card:nth-child(5n+4) .lr13-cat-num,
.lr13-category-card:nth-child(6n+3) .lr13-cat-num{
  color:rgba(255,255,255,.55);
}

.lr13-category-card:nth-child(5n+2) .lr13-cat-icon,
.lr13-category-card:nth-child(5n+4) .lr13-cat-icon,
.lr13-category-card:nth-child(6n+3) .lr13-cat-icon{
  background:rgba(255,255,255,.10);
  border-color:rgba(255,255,255,.20);
  color:#fff;
}

.lr13-category-card:nth-child(5n+2) strong,
.lr13-category-card:nth-child(5n+4) strong,
.lr13-category-card:nth-child(6n+3) strong{
  color:#fff;
}

.lr13-category-card:nth-child(5n+2) .lr13-cat-arrow,
.lr13-category-card:nth-child(5n+4) .lr13-cat-arrow,
.lr13-category-card:nth-child(6n+3) .lr13-cat-arrow{
  border-color:rgba(255,255,255,.24);
  color:#fff;
  background:rgba(255,255,255,.08);
}

/* tighter grid at medium widths */
@media(max-width:1100px){
  .lr13-category-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
}

@media(max-width:820px){
  .lr13-cat-head{grid-template-columns:1fr;gap:12px}
  .lr13-cat-head p{justify-self:start}
  .lr13-category-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .lr-feature-grid,
  .lr-latest-grid,
  .lr-archive-grid{grid-template-columns:1fr 1fr!important}
}

@media(max-width:560px){
  .lr13-category-grid,
  .lr-feature-grid,
  .lr-latest-grid,
  .lr-archive-grid,
  .lr-related-grid,
  .lr12-related-grid{
    grid-template-columns:1fr!important;
  }

  .lr13-category-card{min-height:128px}

  .lr-hero-img{min-height:300px}

  .lr-card-img,
  .lr-latest-img,
  .lr-related-img,
  .lr12-related-img{
    aspect-ratio:16/9!important;
  }
}


/* =========================================================
   v1.4.0 — modern header search box
   ========================================================= */

.lr14-head{
  min-height:82px!important;
  display:grid!important;
  grid-template-columns:250px minmax(0,1fr) 260px!important;
  gap:26px!important;
  align-items:center!important;
}

.lr14-nav{
  justify-content:center!important;
  gap:28px!important;
  min-width:0!important;
  flex-wrap:nowrap!important;
}

.lr14-nav a{
  font-size:13px!important;
}

/* compact modern search */
.lr14-search{
  height:42px;
  display:grid;
  grid-template-columns:minmax(0,1fr) 42px;
  overflow:hidden;
  border:1px solid #d9e1da;
  border-radius:999px;
  background:#f9fbf9;
  box-shadow:
    0 4px 14px rgba(22,58,36,.045),
    inset 0 1px 0 rgba(255,255,255,.9);
}

.lr14-search input{
  min-width:0;
  width:100%;
  border:0;
  outline:0;
  background:transparent;
  padding:0 15px;
  color:#3e4d44;
  font-size:12px;
}

.lr14-search input::placeholder{
  color:#8a968e;
}

.lr14-search button{
  border:0;
  cursor:pointer;
  background:linear-gradient(180deg,#249d4f,#18843e);
  color:#fff;
  font-size:18px;
  line-height:1;
  transition:.18s ease;
}

.lr14-search button:hover{
  background:linear-gradient(180deg,#1b8c45,#126e33);
}

.lr14-search:focus-within{
  border-color:#82bd93;
  box-shadow:
    0 0 0 3px rgba(31,155,75,.08),
    0 6px 18px rgba(22,58,36,.05);
}

/* responsive header */
@media(max-width:1100px){
  .lr14-head{
    grid-template-columns:220px minmax(0,1fr) 220px!important;
    gap:18px!important;
  }

  .lr14-nav{
    gap:20px!important;
  }

  .lr14-nav a{
    font-size:12px!important;
  }
}

@media(max-width:900px){
  .lr14-head{
    grid-template-columns:1fr 240px!important;
    grid-template-areas:
      "logo search"
      "nav nav";
    padding:14px 0 10px;
  }

  .lr14-head .lr-logo{grid-area:logo}
  .lr14-search{grid-area:search}
  .lr14-nav{
    grid-area:nav;
    justify-content:flex-start!important;
    overflow-x:auto!important;
    padding:6px 0 2px;
    scrollbar-width:none;
  }

  .lr14-nav::-webkit-scrollbar{display:none}
}

@media(max-width:560px){
  .lr14-head{
    grid-template-columns:1fr!important;
    grid-template-areas:
      "logo"
      "search"
      "nav";
  }

  .lr14-search{
    width:100%;
    max-width:none;
  }
}


/* =========================================================
   v1.5.0 — homepage categories section removed
   ========================================================= */
.lr-categories,
.lr13-categories{
  display:none!important;
}


/* =========================================================
   v1.6.0 — homepage sidebar/promo removed
   ========================================================= */

/* Defensive hide */
.lr-sidebar,
.lr-promo{
  display:none!important;
}

/* Rebalance homepage content to full width */
.lr-main-grid{
  grid-template-columns:1fr!important;
  gap:0!important;
}

.lr-latest-grid{
  grid-template-columns:repeat(3,minmax(0,1fr))!important;
  gap:22px!important;
}

.lr-latest-card{
  min-width:0;
}

.lr-latest-img{
  aspect-ratio:16/10!important;
  height:auto!important;
}

.lr-latest-img img,
.lr-latest-img .lr-fallback{
  width:100%!important;
  height:100%!important;
  object-fit:cover!important;
}

@media(max-width:1000px){
  .lr-latest-grid{
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
  }
}

@media(max-width:620px){
  .lr-latest-grid{
    grid-template-columns:1fr!important;
  }
}


/* =========================================================
   v1.7.0 — visual category gallery matching approved design
   ========================================================= */
.lr17-categories{
  padding:58px 0 64px;
  background:
    radial-gradient(circle at 85% 10%,rgba(186,147,111,.08),transparent 25%),
    linear-gradient(180deg,#fbf7f0 0%,#f5efe6 100%);
  border-top:1px solid #eee3d7;
  border-bottom:1px solid #e8ddd1;
}
.lr17-cat-heading{text-align:center;margin-bottom:32px}
.lr17-cat-heading h2{margin:0;color:#1c3025;font:400 clamp(44px,5vw,70px)/.96 Georgia,serif;letter-spacing:-.03em}
.lr17-cat-heading span{display:block;width:70px;height:2px;margin:17px auto 0;background:#b66c43}
.lr17-cat-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:14px}
.lr17-cat-card{
  min-width:0;min-height:178px;display:grid;grid-template-columns:44% 56%;overflow:hidden;
  border:1px solid #eadfd5;border-radius:12px;background:#fffaf3;
  box-shadow:0 10px 26px rgba(82,60,45,.055);transition:.2s ease;
}
.lr17-cat-card:hover{transform:translateY(-4px);box-shadow:0 18px 36px rgba(82,60,45,.10);border-color:#d9c6b5}
.lr17-cat-copy{position:relative;display:flex;flex-direction:column;justify-content:flex-start;padding:25px 17px;background:linear-gradient(180deg,#fffaf3,#f8f0e5)}
.lr17-cat-copy strong{max-width:145px;color:#1d3126;font:400 21px/1.08 Georgia,serif;overflow-wrap:anywhere}
.lr17-cat-copy i{
  position:absolute;left:18px;bottom:18px;width:42px;height:42px;display:grid;place-items:center;
  border-radius:50%;background:#dfe3d3;color:#1f3228;font-style:normal;font-size:20px;
}
.lr17-cat-media{display:block;min-width:0;overflow:hidden;background:#ebe9e2}
.lr17-cat-media img,.lr17-cat-media .lr-fallback{width:100%!important;height:100%!important;object-fit:cover!important;object-position:center!important;display:block!important;margin:0!important}
.lr17-cat-card:nth-child(3){background:#314632;border-color:#314632}
.lr17-cat-card:nth-child(3) .lr17-cat-copy{background:linear-gradient(180deg,#405641,#344936)}
.lr17-cat-card:nth-child(3) .lr17-cat-copy strong{color:#fff}
.lr17-cat-card:nth-child(3) .lr17-cat-copy i{background:rgba(255,255,255,.20);color:#fff}
/* Wider final row to echo the approved composition */
.lr17-cat-card:nth-child(11){grid-column:span 2}
.lr17-cat-card:nth-child(12){grid-column:span 2}
.lr17-cat-card:nth-child(13){grid-column:span 1}
@media(max-width:1200px){
  .lr17-cat-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
  .lr17-cat-card:nth-child(11),.lr17-cat-card:nth-child(12),.lr17-cat-card:nth-child(13){grid-column:span 1}
}
@media(max-width:820px){.lr17-cat-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:560px){
  .lr17-cat-grid{grid-template-columns:1fr}
  .lr17-cat-card{min-height:160px;grid-template-columns:46% 54%}
  .lr17-cat-heading h2{font-size:44px}
}


/* =========================================================
   v1.8.0 — image-rich extended homepage
   ========================================================= */

.lr18-inspiration{
  padding:20px 0 58px;
  background:#fafbf8;
}

.lr18-headline{
  margin-bottom:22px;
}

.lr18-mosaic{
  display:grid;
  grid-template-columns:1.45fr 1fr 1fr;
  grid-auto-rows:220px;
  gap:14px;
}

.lr18-mosaic-card{
  position:relative;
  overflow:hidden;
  border-radius:12px;
  background:#e8eee8;
  box-shadow:0 12px 30px rgba(20,50,31,.08);
}

.lr18-mosaic-card.is-featured{
  grid-row:span 2;
}

.lr18-mosaic-media,
.lr18-mosaic-media img,
.lr18-mosaic-media .lr-fallback{
  display:block;
  width:100%;
  height:100%;
}

.lr18-mosaic-media img,
.lr18-mosaic-media .lr-fallback{
  object-fit:cover;
}

.lr18-mosaic-overlay{
  position:absolute;
  inset:0;
  background:linear-gradient(180deg,rgba(10,20,14,.02) 30%,rgba(10,20,14,.78) 100%);
}

.lr18-mosaic-copy{
  position:absolute;
  left:18px;
  right:18px;
  bottom:16px;
  z-index:2;
  color:#fff;
}

.lr18-mosaic-copy small{
  display:block;
  margin-bottom:6px;
  color:#a7e3b9;
  font-size:8px;
  font-weight:900;
  letter-spacing:.13em;
  text-transform:uppercase;
}

.lr18-mosaic-copy strong{
  display:block;
  max-width:90%;
  font:700 21px/1.08 Georgia,serif;
}

.lr18-mosaic-card.is-featured .lr18-mosaic-copy strong{
  font-size:29px;
}

.lr18-mosaic-copy i{
  position:absolute;
  right:0;
  bottom:0;
  width:32px;
  height:32px;
  display:grid;
  place-items:center;
  border-radius:50%;
  background:rgba(255,255,255,.88);
  color:#1f7f43;
  font-style:normal;
}

/* second image-heavy section */
.lr18-projects{
  padding:52px 0 60px;
  background:#fff;
}

.lr18-project-grid{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:20px;
}

.lr18-project-card{
  min-width:0;
  overflow:hidden;
  border:1px solid #e1e6e0;
  border-radius:12px;
  background:#fff;
  box-shadow:0 9px 24px rgba(23,53,35,.05);
}

.lr18-project-img{
  display:block;
  aspect-ratio:16/10;
  overflow:hidden;
}

.lr18-project-img img,
.lr18-project-img .lr-fallback{
  width:100%;
  height:100%;
  object-fit:cover;
}

.lr18-project-copy{
  padding:15px 16px 17px;
}

.lr18-project-copy>span{
  display:block;
  color:#1e9147;
  font-size:8px;
  font-weight:900;
  letter-spacing:.13em;
  text-transform:uppercase;
}

.lr18-project-copy h3{
  margin:7px 0 12px;
  font:700 20px/1.08 Georgia,serif;
  color:#1c2f25;
}

.lr18-project-arrow{
  color:#17843e;
  font-size:10px;
  font-weight:900;
  text-transform:uppercase;
  letter-spacing:.05em;
}

/* compact image strip before footer */
.lr18-visual-strip{
  padding:0 0 58px;
  background:#fff;
}

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

.lr18-strip-card{
  position:relative;
  min-height:180px;
  overflow:hidden;
  border-radius:10px;
  background:#dde6dd;
}

.lr18-strip-media,
.lr18-strip-media img,
.lr18-strip-media .lr-fallback{
  display:block;
  width:100%;
  height:100%;
}

.lr18-strip-media img,
.lr18-strip-media .lr-fallback{
  object-fit:cover;
}

.lr18-strip-shade{
  position:absolute;
  inset:0;
  background:linear-gradient(180deg,transparent 35%,rgba(12,29,18,.72));
}

.lr18-strip-card strong{
  position:absolute;
  left:14px;
  right:14px;
  bottom:13px;
  color:#fff;
  font:700 17px Georgia,serif;
}

@media(max-width:1000px){
  .lr18-mosaic{
    grid-template-columns:1fr 1fr;
  }
  .lr18-project-grid{
    grid-template-columns:repeat(2,minmax(0,1fr));
  }
  .lr18-strip-grid{
    grid-template-columns:repeat(3,minmax(0,1fr));
  }
}

@media(max-width:620px){
  .lr18-mosaic{
    grid-template-columns:1fr;
    grid-auto-rows:240px;
  }
  .lr18-mosaic-card.is-featured{
    grid-row:auto;
  }
  .lr18-project-grid,
  .lr18-strip-grid{
    grid-template-columns:1fr;
  }
  .lr18-strip-card{
    min-height:220px;
  }
}


/* =========================================================
   v1.9.0 — reliable contextual internal links inside posts
   ========================================================= */

.lr19-inline-link{
  margin:25px 0;
  padding:14px 16px 15px;
  border-left:3px solid #22934a;
  border-top:1px solid #dce9df;
  border-right:1px solid #dce9df;
  border-bottom:1px solid #dce9df;
  border-radius:0 7px 7px 0;
  background:linear-gradient(90deg,#eef8f1 0%,#f8fbf8 100%);
  box-shadow:0 7px 18px rgba(26,84,45,.045);
}

.lr19-inline-label{
  display:block;
  margin-bottom:7px;
  color:#6a8a74;
  font-size:8px;
  font-weight:900;
  letter-spacing:.14em;
  text-transform:uppercase;
}

.lr19-inline-link>a{
  display:flex!important;
  align-items:center;
  justify-content:space-between;
  gap:14px;
  color:#1f6840!important;
  font:700 14px/1.35 Georgia,serif!important;
  text-decoration:none!important;
}

.lr19-inline-link>a span{
  flex:1;
}

.lr19-inline-link>a b{
  width:30px;
  height:30px;
  flex:0 0 30px;
  display:grid;
  place-items:center;
  border-radius:50%;
  background:#248e49;
  color:#fff;
  font:700 14px Arial,sans-serif;
  transition:transform .18s ease,background .18s ease;
}

.lr19-inline-link>a:hover{
  color:#154d2e!important;
}

.lr19-inline-link>a:hover b{
  transform:translateX(3px);
  background:#176f38;
}

/* Ensure the box is visually separate from ordinary internal links. */
.lr12-body .lr19-inline-link a,
.lr-body .lr19-inline-link a{
  text-decoration:none!important;
}

@media(max-width:600px){
  .lr19-inline-link{
    padding:13px 14px;
    margin:21px 0;
  }
}


/* =========================================================
   v2.0.0 — modern premium primary menu
   ========================================================= */

.lr-header{
  background:rgba(255,255,255,.97)!important;
  border-bottom:1px solid #e5ebe6!important;
  box-shadow:0 6px 22px rgba(24,54,35,.035);
}

.lr14-head{
  min-height:88px!important;
  grid-template-columns:250px minmax(0,1fr) 260px!important;
  gap:24px!important;
}

/* premium navigation capsule */
.lr14-nav{
  width:max-content;
  max-width:100%;
  margin:0 auto;
  padding:6px!important;
  gap:4px!important;
  border:1px solid #e2e9e3;
  border-radius:999px;
  background:#f7faf7;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.95),
    0 5px 14px rgba(23,55,35,.035);
}

.lr14-nav a{
  position:relative;
  display:flex!important;
  align-items:center;
  justify-content:center;
  min-height:36px;
  padding:0 15px!important;
  border-radius:999px;
  color:#34463b!important;
  font-size:12px!important;
  font-weight:700!important;
  line-height:1!important;
  white-space:nowrap;
  transition:
    color .18s ease,
    background .18s ease,
    box-shadow .18s ease,
    transform .18s ease;
}

.lr14-nav a:after{
  content:"";
  position:absolute;
  left:50%;
  bottom:5px;
  width:0;
  height:2px;
  border-radius:2px;
  background:#1f9649;
  transform:translateX(-50%);
  transition:width .18s ease;
}

.lr14-nav a:hover{
  color:#176f38!important;
  background:#edf7ef;
  transform:translateY(-1px);
}

.lr14-nav a:hover:after{
  width:22px;
}

/* current category/menu state */
.lr14-nav a[aria-current="page"],
.lr14-nav .current-menu-item>a,
body.category-home-improvement .lr14-nav a[href*="home-improvement"],
body.category-renovations .lr14-nav a[href*="renovations"],
body.category-maintenance .lr14-nav a[href*="maintenance"],
body.category-plumbing .lr14-nav a[href*="plumbing"],
body.category-decorating .lr14-nav a[href*="decorating"]{
  color:#fff!important;
  background:linear-gradient(180deg,#239d4e,#187c3b);
  box-shadow:0 6px 14px rgba(31,145,71,.18);
}

.lr14-nav a[aria-current="page"]:after,
.lr14-nav .current-menu-item>a:after{
  display:none;
}

/* logo subtle upgrade so header feels cohesive */
.lr-logo{
  gap:11px!important;
  font-size:22px!important;
  letter-spacing:-.015em;
}

.lr-logo-mark{
  transform:scale(1.03);
}

/* search visually balanced with new menu */
.lr14-search{
  height:40px!important;
  border-color:#dfe7e0!important;
  background:#fbfcfb!important;
}

.lr14-search input{
  font-size:11.5px!important;
}

.lr14-search button{
  width:42px;
}

/* medium desktop */
@media(max-width:1180px){
  .lr14-head{
    grid-template-columns:220px minmax(0,1fr) 220px!important;
    gap:16px!important;
  }

  .lr14-nav a{
    padding:0 11px!important;
    font-size:11px!important;
  }
}

/* tablet/mobile */
@media(max-width:900px){
  .lr14-nav{
    width:100%!important;
    margin:0!important;
    justify-content:flex-start!important;
    border-radius:14px!important;
    overflow-x:auto!important;
    padding:6px!important;
  }

  .lr14-nav a{
    flex:0 0 auto;
  }
}

@media(max-width:560px){
  .lr14-nav{
    border-radius:12px!important;
  }

  .lr14-nav a{
    min-height:34px;
    padding:0 12px!important;
  }
}
