/*
Theme Name: Homely Chronicle — Mint Column Journal
Author: OpenAI
Description: Premium modern staggered editorial home-improvement theme.
Version: 6.6.3
Requires PHP: 7.4
Text Domain: hjmc
*/

:root{
  --mint:#dbeee8;
  --mint2:#c8e1d9;
  --paper:#f7f4ee;
  --ink:#0f2f2b;
  --cobalt:#4d69c6;
  --gold:#f4c96b;
  --line:#aac4bb;
  --muted:#647873;
  --white:#fffdf8;
}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;background:var(--mint);color:var(--ink);font-family:Arial,Helvetica,sans-serif}
a{color:inherit;text-decoration:none}
img{max-width:100%;height:auto}
.hjmc-wrap{width:min(1280px,calc(100% - 48px));margin:0 auto}
.hjmc-kicker,.hjmc-section-head>span,.hjmc-single-head>span,.hjmc-category-head>span{font-size:10px;font-weight:900;letter-spacing:.18em;color:var(--cobalt);text-transform:uppercase}

.hjmc-topline{background:var(--ink);color:white}.hjmc-topline-inner{min-height:28px;display:flex;align-items:center;justify-content:space-between;font-size:8px;letter-spacing:.15em}
.hjmc-header{background:rgba(247,244,238,.95);border-bottom:1px solid var(--line);position:sticky;top:0;z-index:50;backdrop-filter:blur(12px)}
.admin-bar .hjmc-header{top:32px}
.hjmc-header-main{min-height:92px;display:grid;grid-template-columns:280px 1fr 300px;gap:24px;align-items:center}
.hjmc-brand img{width:260px;max-height:76px;display:block}
.hjmc-nav{display:flex;justify-content:center;gap:20px}.hjmc-nav a{font-family:Georgia,serif;font-size:14px}.hjmc-nav a:hover{color:var(--cobalt)}
.hjmc-tools{display:flex;gap:8px}.hjmc-search{height:44px;flex:1;display:flex;border:1px solid var(--line);background:white}.hjmc-search input{flex:1;min-width:0;border:0;outline:0;padding:0 12px;background:transparent}.hjmc-search button,.hjmc-menu-btn{width:44px;border:0;background:var(--cobalt);color:white;cursor:pointer}.hjmc-menu-btn{background:var(--ink)}
.hjmc-menu{display:none;background:var(--ink);color:white}.hjmc-menu.open{display:block}.hjmc-menu-grid{display:grid;grid-template-columns:300px 1fr;gap:32px;padding:34px 0}.hjmc-menu-intro span{font-size:9px;letter-spacing:.17em;color:var(--gold)}.hjmc-menu-intro h3{font-family:Georgia,serif;font-size:32px;font-weight:400;line-height:1.05;margin:10px 0}.hjmc-menu-links{display:grid;grid-template-columns:repeat(3,1fr);gap:1px;background:#264842}.hjmc-menu-links a{display:flex;justify-content:space-between;padding:13px 14px;background:#143833;font-size:12px}.hjmc-menu-links b{color:var(--gold)}

.hjmc-hero{padding:42px 0 64px;background:var(--mint)}
.hjmc-hero-grid{display:grid;grid-template-columns:.8fr 1.35fr .45fr;gap:16px;min-height:560px}
.hjmc-hero-copy{background:var(--paper);padding:36px;display:flex;flex-direction:column;justify-content:center;border:1px solid var(--line)}
.hjmc-hero-copy h1{font-family:Georgia,serif;font-size:clamp(48px,5vw,72px);line-height:.95;font-weight:400;letter-spacing:-.04em;margin:18px 0}.hjmc-hero-copy p{font-family:Georgia,serif;font-size:17px;line-height:1.6;color:var(--muted)}.hjmc-primary{display:flex;justify-content:space-between;align-items:center;margin-top:20px;padding-top:16px;border-top:1px solid var(--line);font-size:10px;font-weight:900;letter-spacing:.12em;text-transform:uppercase}
.hjmc-hero-image{display:block;overflow:hidden}.hjmc-hero-image img,.hjmc-fallback{width:100%;height:100%;object-fit:cover;display:block}.hjmc-fallback{background:linear-gradient(135deg,#b6d8ce,#8fa8e5)}
.hjmc-hero-note{padding:22px;background:var(--cobalt);color:white;display:flex;flex-direction:column;justify-content:flex-end}.hjmc-hero-note span{font-size:9px;letter-spacing:.16em;color:var(--gold)}.hjmc-hero-note strong{font-family:Georgia,serif;font-size:24px;line-height:1.08;font-weight:400;margin-top:10px}

.hjmc-categories{padding:54px 0;background:var(--paper);border-top:1px solid var(--line);border-bottom:1px solid var(--line)}
.hjmc-section-head{display:grid;grid-template-columns:180px 1fr;gap:30px;margin-bottom:24px}.hjmc-section-head h2{font-family:Georgia,serif;font-size:clamp(36px,4vw,54px);font-weight:400;line-height:1;margin:0}
.hjmc-cat-rail{display:grid;grid-template-columns:repeat(13,1fr);border:1px solid var(--line);overflow-x:auto}.hjmc-cat-rail a{min-width:105px;min-height:145px;padding:14px;display:flex;flex-direction:column;justify-content:space-between;border-right:1px solid var(--line);background:var(--white)}.hjmc-cat-rail b{font-size:10px;color:var(--cobalt)}.hjmc-cat-rail span{font-family:Georgia,serif;font-size:16px;line-height:1}.hjmc-cat-rail a:hover{background:var(--mint)}

.hjmc-journal{padding:70px 0}
.hjmc-journal-list{display:flex;flex-direction:column;gap:42px}
.hjmc-story{display:grid;grid-template-columns:60px 1.05fr .95fr;gap:24px;align-items:center}.hjmc-story.is-right{grid-template-columns:60px .95fr 1.05fr}.hjmc-story.is-right .hjmc-story-image{order:3}.hjmc-story.is-right .hjmc-story-copy{order:2}.hjmc-story-no{font-size:12px;color:var(--cobalt);font-weight:900;align-self:start;padding-top:8px}.hjmc-story-image{display:block;height:300px;overflow:hidden;border:1px solid var(--line)}.hjmc-story-image img{width:100%;height:100%;object-fit:cover}.hjmc-story-copy{padding:12px 8px}.hjmc-story-copy>span{font-size:9px;color:var(--cobalt);font-weight:900;letter-spacing:.15em}.hjmc-story-copy h3{font-family:Georgia,serif;font-size:34px;line-height:1.02;font-weight:400;margin:10px 0}.hjmc-story-copy p{font-family:Georgia,serif;color:var(--muted);line-height:1.55}.hjmc-story-copy>a{font-size:10px;font-weight:900;color:var(--cobalt);letter-spacing:.1em}
.hjmc-older{display:flex;justify-content:center;margin-top:50px}.hjmc-older a{min-width:220px;padding:16px 18px;background:var(--ink);color:white;display:flex;justify-content:space-between;font-size:10px;font-weight:900;letter-spacing:.13em}

.hjmc-newsletter{padding:44px 0;background:var(--cobalt);color:white}.hjmc-newsletter-grid{display:grid;grid-template-columns:1fr 480px;gap:30px;align-items:end}.hjmc-newsletter span{font-size:9px;letter-spacing:.16em;color:var(--gold)}.hjmc-newsletter h2{font-family:Georgia,serif;font-size:38px;font-weight:400;line-height:1;margin:8px 0}.hjmc-newsletter form{display:flex;border-bottom:1px solid rgba(255,255,255,.5);padding-bottom:6px}.hjmc-newsletter input{flex:1;border:0;background:transparent;color:white;outline:0}.hjmc-newsletter input::placeholder{color:#d6dcf4}.hjmc-newsletter button{border:0;background:var(--gold);color:var(--ink);padding:12px 16px;font-weight:900;font-size:10px}

.hjmc-category{padding:54px 0 72px}.hjmc-category-head{max-width:860px;margin-bottom:30px}.hjmc-category-head h1{font-family:Georgia,serif;font-size:clamp(50px,6vw,78px);line-height:.95;font-weight:400;margin:12px 0}.hjmc-category-head p{font-family:Georgia,serif;font-size:18px;color:var(--muted);line-height:1.6}
.hjmc-category-nav{display:flex;gap:8px;overflow-x:auto;padding-bottom:18px;margin-bottom:22px;border-bottom:1px solid var(--line)}.hjmc-category-nav a{flex:0 0 auto;padding:9px 12px;border:1px solid var(--line);background:var(--paper);font-family:Georgia,serif;font-size:12px}.hjmc-category-nav a.current{background:var(--ink);color:white}
.hjmc-category-list{border-top:1px solid var(--line)}.hjmc-category-row{display:grid;grid-template-columns:54px 220px 1fr;gap:20px;align-items:center;padding:20px 0;border-bottom:1px solid var(--line)}.hjmc-category-no{font-size:10px;color:var(--cobalt);font-weight:900}.hjmc-category-image{height:150px;overflow:hidden}.hjmc-category-image img{width:100%;height:100%;object-fit:cover}.hjmc-category-copy>span{font-size:9px;color:var(--cobalt);letter-spacing:.14em}.hjmc-category-copy h2{font-family:Georgia,serif;font-size:30px;font-weight:400;line-height:1.03;margin:7px 0}.hjmc-category-copy p{font-family:Georgia,serif;color:var(--muted);line-height:1.5}.hjmc-category-copy>a{font-size:9px;font-weight:900;color:var(--cobalt);letter-spacing:.1em}.hjmc-pagination{margin-top:26px}

.hjmc-single{padding:54px 0 70px}.hjmc-single-head{max-width:900px}.hjmc-single-head h1{font-family:Georgia,serif;font-size:clamp(42px,5vw,64px);line-height:.98;font-weight:400;margin:14px 0}.hjmc-single-head p{font-family:Georgia,serif;font-size:18px;color:var(--muted);line-height:1.6}.hjmc-single-meta{display:flex;gap:16px;color:#72817d;font-size:10px}
.hjmc-single-image{width:min(76%,1000px);margin:38px auto 0;padding:0}.hjmc-single-image img{display:block;width:100%;max-height:560px;object-fit:cover;border:1px solid #8eb0a5;box-shadow:0 18px 44px rgba(25,67,59,.18)}
.hjmc-single-body{max-width:760px;margin:48px auto 0;font-family:Georgia,serif;font-size:16px;line-height:1.8;color:#1c3e38}.hjmc-single-body h2{font-family:Arial,sans-serif;font-size:26px;line-height:1.12}.hjmc-single-body p,.hjmc-single-body li{font-size:16px}.hjmc-inline-links{margin:28px 0}.hjmc-inline-links>span{display:block;margin-bottom:8px;color:var(--cobalt);font-family:Arial,sans-serif;font-size:9px;font-weight:900;letter-spacing:.14em;text-transform:uppercase}.hjmc-inline-links ul{margin:0;padding-left:22px}.hjmc-inline-links li{margin:7px 0}.hjmc-inline-links a{color:var(--cobalt);text-decoration:none}.hjmc-inline-links a:hover{text-decoration:underline}
.hjmc-related{margin-top:56px;padding-top:26px;border-top:1px solid var(--line)}.hjmc-related>span{font-size:9px;color:var(--cobalt);font-weight:900;letter-spacing:.15em}.hjmc-related-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:14px;margin-top:16px}.hjmc-related-grid article{background:var(--paper);border:1px solid var(--line)}.hjmc-related-image{display:block;height:170px;overflow:hidden}.hjmc-related-image img{width:100%;height:100%;object-fit:cover}.hjmc-related-grid h3{font-family:Georgia,serif;font-size:20px;font-weight:400;line-height:1.05;padding:0 14px 16px}

.hjmc-footer{padding:46px 0 18px;background:var(--ink);color:white}.hjmc-footer-grid{display:grid;grid-template-columns:1.2fr 1.2fr .7fr .7fr;gap:28px}.hjmc-footer-brand img{width:250px;filter:brightness(0) invert(1);margin-bottom:12px}.hjmc-footer-brand p{color:#b7cbc5;line-height:1.6}.hjmc-footer-quote{display:flex;gap:14px}.hjmc-footer-quote span{font-family:Georgia,serif;font-size:54px;color:var(--gold);line-height:.7}.hjmc-footer-quote p{font-family:Georgia,serif;font-size:20px;font-style:italic;line-height:1.35;color:#d6e3df}.hjmc-footer-col{display:flex;flex-direction:column;gap:8px}.hjmc-footer-col strong{font-size:9px;color:var(--gold);letter-spacing:.14em}.hjmc-footer-col a{font-family:Georgia,serif;font-size:13px;color:#d6e3df}.hjmc-footer-bottom{display:flex;justify-content:space-between;gap:20px;margin-top:28px;padding-top:16px;border-top:1px solid #31554e;color:#7fa29a;font-size:9px;letter-spacing:.1em}

@media(max-width:1050px){
  .hjmc-header-main{grid-template-columns:240px 1fr}.hjmc-nav{grid-column:1/-1;order:3;justify-content:flex-start;overflow:auto;padding-bottom:12px}.hjmc-tools{justify-self:end}
  .hjmc-hero-grid{grid-template-columns:1fr 1.2fr}.hjmc-hero-note{grid-column:1/-1;min-height:160px}.hjmc-story,.hjmc-story.is-right{grid-template-columns:50px 1fr}.hjmc-story-image,.hjmc-story.is-right .hjmc-story-image{order:2}.hjmc-story-copy,.hjmc-story.is-right .hjmc-story-copy{order:3;grid-column:2}.hjmc-newsletter-grid{grid-template-columns:1fr}.hjmc-footer-grid{grid-template-columns:1fr 1fr}
}
@media(max-width:760px){
  .hjmc-wrap{width:min(100% - 24px,1280px)}.hjmc-topline-inner span:last-child{display:none}.hjmc-header-main{grid-template-columns:1fr;padding:14px 0}.hjmc-nav{display:none}.hjmc-tools{justify-self:stretch}.hjmc-brand img{width:230px}.hjmc-menu-grid{grid-template-columns:1fr}.hjmc-menu-links{grid-template-columns:1fr 1fr}
  .hjmc-hero-grid{grid-template-columns:1fr}.hjmc-hero-image{min-height:360px}.hjmc-section-head{grid-template-columns:1fr}.hjmc-story,.hjmc-story.is-right{grid-template-columns:1fr}.hjmc-story-no{padding:0}.hjmc-story-image,.hjmc-story.is-right .hjmc-story-image{order:2;height:250px}.hjmc-story-copy,.hjmc-story.is-right .hjmc-story-copy{order:3;grid-column:auto}.hjmc-category-row{grid-template-columns:42px 1fr}.hjmc-category-image{grid-column:2;height:220px}.hjmc-category-copy{grid-column:2}.hjmc-single-image{width:calc(100% - 40px)}.hjmc-related-grid{grid-template-columns:1fr}.hjmc-footer-grid{grid-template-columns:1fr}
}


/* v6.1 — Homely Chronicle branding */
.hjmc-brand img{
  width:300px!important;
  max-width:100%!important;
  max-height:80px!important;
  object-fit:contain!important;
  object-position:left center!important;
}
.hjmc-footer-brand img{
  width:275px!important;
  max-width:100%!important;
  filter:none!important;
}
@media(max-width:760px){
  .hjmc-brand img{width:250px!important}
}


/* =========================================================
   v6.2 — Modern Glass Header
   ========================================================= */

.hc62-wrap{
  width:min(1320px,calc(100% - 48px));
  margin:0 auto;
}

.hc62-header{
  position:sticky;
  top:0;
  z-index:80;
  background:rgba(247,244,238,.92);
  backdrop-filter:blur(18px);
  border-bottom:1px solid rgba(15,47,43,.10);
  box-shadow:0 8px 30px rgba(15,47,43,.035);
}
.admin-bar .hc62-header{top:32px}

/* Utility strip */
.hc62-utility{
  background:#0f2f2b;
  color:#fff;
}
.hc62-utility-inner{
  min-height:30px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:20px;
  font-size:8px;
  letter-spacing:.15em;
}
.hc62-utility-links{
  display:flex;
  gap:18px;
}
.hc62-utility-links a{
  color:#d5e5e0;
  letter-spacing:.06em;
}
.hc62-utility-links a:hover{color:#f4c96b}

/* Main header row */
.hc62-main{
  background:linear-gradient(180deg,rgba(255,253,248,.97),rgba(247,244,238,.93));
}
.hc62-main-grid{
  min-height:106px;
  display:grid;
  grid-template-columns:300px minmax(0,1fr) 390px;
  gap:28px;
  align-items:center;
}
.hc62-brand{
  display:flex;
  align-items:center;
}
.hc62-brand img{
  display:block;
  width:295px;
  max-width:100%;
  max-height:82px;
  object-fit:contain;
  object-position:left center;
}

/* Nav pill */
.hc62-nav{
  display:flex;
  align-items:center;
  justify-content:center;
  gap:4px;
  padding:6px;
  border:1px solid rgba(15,47,43,.09);
  border-radius:18px;
  background:rgba(255,255,255,.70);
  box-shadow:0 10px 28px rgba(15,47,43,.035);
}
.hc62-nav a{
  padding:11px 12px;
  border-radius:13px;
  color:#163a34;
  font-family:Georgia,serif;
  font-size:13px;
  white-space:nowrap;
  transition:.18s ease;
}
.hc62-nav a:hover{
  background:#dbeee8;
  color:#4d69c6;
}

/* Actions */
.hc62-actions{
  display:flex;
  align-items:center;
  gap:9px;
}
.hc62-search{
  flex:1;
  height:50px;
  display:flex;
  align-items:center;
  gap:8px;
  padding:5px 6px 5px 12px;
  border:1px solid rgba(15,47,43,.11);
  border-radius:17px;
  background:#fff;
  box-shadow:0 10px 30px rgba(15,47,43,.04);
}
.hc62-search>span{
  width:34px;
  height:34px;
  flex:0 0 34px;
  display:grid;
  place-items:center;
  border-radius:50%;
  background:#edf5f2;
  color:#4d69c6;
  font-size:16px;
}
.hc62-search input{
  flex:1;
  min-width:0;
  border:0;
  outline:0;
  background:transparent;
  color:#163a34;
  font-size:13px;
}
.hc62-search input::placeholder{color:#889791}
.hc62-search button{
  height:38px;
  padding:0 16px;
  border:0;
  border-radius:12px;
  background:#4d69c6;
  color:#fff;
  font-size:9px;
  font-weight:900;
  letter-spacing:.12em;
  text-transform:uppercase;
  cursor:pointer;
}
.hc62-menu-btn{
  width:50px;
  height:50px;
  flex:0 0 50px;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  gap:5px;
  border:1px solid rgba(15,47,43,.10);
  border-radius:16px;
  background:#0f2f2b;
  cursor:pointer;
}
.hc62-menu-btn span{
  width:18px;
  height:2px;
  background:#fff;
  border-radius:3px;
  transition:.2s ease;
}
.hc62-menu-btn.is-open span:nth-child(1){transform:translateY(7px) rotate(45deg)}
.hc62-menu-btn.is-open span:nth-child(2){opacity:0}
.hc62-menu-btn.is-open span:nth-child(3){transform:translateY(-7px) rotate(-45deg)}

/* Secondary category strip */
.hc62-category-bar{
  border-top:1px solid rgba(15,47,43,.07);
  background:rgba(219,238,232,.58);
}
.hc62-category-inner{
  min-height:40px;
  display:flex;
  align-items:center;
  gap:22px;
  overflow-x:auto;
  scrollbar-width:none;
}
.hc62-category-inner::-webkit-scrollbar{display:none}
.hc62-category-label{
  flex:0 0 auto;
  color:#4d69c6;
  font-size:8px;
  font-weight:900;
  letter-spacing:.16em;
  text-transform:uppercase;
}
.hc62-category-inner a{
  flex:0 0 auto;
  color:#46635c;
  font-family:Georgia,serif;
  font-size:11px;
}
.hc62-category-inner a:hover{color:#4d69c6}

/* Mega menu */
.hc62-mega{
  display:none;
  border-top:1px solid rgba(255,255,255,.08);
  background:#0f2f2b;
  color:#fff;
}
.hc62-mega.is-open{display:block}
.hc62-mega-grid{
  display:grid;
  grid-template-columns:320px 1fr;
  gap:36px;
  padding:38px 0;
}
.hc62-mega-intro>span{
  color:#f4c96b;
  font-size:9px;
  font-weight:900;
  letter-spacing:.17em;
  text-transform:uppercase;
}
.hc62-mega-intro h3{
  margin:10px 0 12px;
  font-family:Georgia,serif;
  font-size:34px;
  line-height:1.03;
  font-weight:400;
}
.hc62-mega-intro p{
  margin:0;
  color:#adc8c0;
  line-height:1.6;
}
.hc62-mega-links{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:1px;
  background:#31564f;
}
.hc62-mega-links a{
  min-height:54px;
  display:grid;
  grid-template-columns:28px 1fr 20px;
  gap:10px;
  align-items:center;
  padding:0 14px;
  background:#143833;
}
.hc62-mega-links a:hover{background:#1c463f}
.hc62-mega-links b{
  color:#f4c96b;
  font-size:9px;
}
.hc62-mega-links span{
  font-family:Georgia,serif;
  font-size:13px;
}
.hc62-mega-links i{
  color:#f4c96b;
  font-style:normal;
}

/* Hide legacy header if any old selector remains */
.hjmc-header,
.hjmc-topline{
  display:none!important;
}

@media(max-width:1120px){
  .hc62-main-grid{
    grid-template-columns:250px 1fr;
  }
  .hc62-nav{
    grid-column:1/-1;
    order:3;
    justify-content:flex-start;
    overflow-x:auto;
  }
  .hc62-actions{
    justify-self:end;
  }
}
@media(max-width:760px){
  .hc62-wrap{width:min(100% - 24px,1320px)}
  .hc62-utility-inner>span{font-size:7px}
  .hc62-utility-links{display:none}
  .hc62-main-grid{
    grid-template-columns:1fr;
    gap:12px;
    padding:14px 0;
  }
  .hc62-brand img{width:245px}
  .hc62-nav{display:none}
  .hc62-actions{
    width:100%;
    justify-self:stretch;
  }
  .hc62-search{height:46px}
  .hc62-menu-btn{width:46px;height:46px;flex-basis:46px}
  .hc62-category-bar{display:none}
  .hc62-mega-grid{grid-template-columns:1fr}
  .hc62-mega-links{grid-template-columns:1fr 1fr}
}


/* =========================================================
   v6.3 — Modern Stylish Footer
   ========================================================= */

.hc63-wrap{
  width:min(1320px,calc(100% - 48px));
  margin:0 auto;
}

.hc63-footer{
  position:relative;
  overflow:hidden;
  padding:64px 0 22px;
  background:
    radial-gradient(circle at 10% 0%,rgba(77,105,198,.12),transparent 26%),
    radial-gradient(circle at 90% 12%,rgba(244,201,107,.08),transparent 30%),
    linear-gradient(180deg,#0f2f2b 0%,#0a2420 100%);
  color:white;
}
.hc63-footer:before{
  content:"";
  position:absolute;
  inset:0;
  opacity:.11;
  pointer-events:none;
  background-image:
    linear-gradient(rgba(255,255,255,.025) 1px,transparent 1px),
    linear-gradient(90deg,rgba(255,255,255,.025) 1px,transparent 1px);
  background-size:44px 44px;
}

.hc63-footer-top,
.hc63-directory,
.hc63-signoff,
.hc63-footer-bottom{
  position:relative;
  z-index:1;
}

/* top two-panel area */
.hc63-footer-top{
  display:grid;
  grid-template-columns:1.08fr .92fr;
  gap:16px;
}
.hc63-brand-panel,
.hc63-newsletter{
  min-height:320px;
  padding:32px;
  border:1px solid rgba(255,255,255,.10);
  border-radius:28px;
  background:rgba(255,255,255,.045);
  box-shadow:inset 0 1px 0 rgba(255,255,255,.035);
}
.hc63-brand-panel{
  position:relative;
  overflow:hidden;
}
.hc63-brand-panel:after{
  content:"HC";
  position:absolute;
  right:-8px;
  bottom:-35px;
  font-family:Georgia,serif;
  font-size:180px;
  line-height:1;
  color:rgba(255,255,255,.035);
}
.hc63-brand-panel img{
  display:block;
  width:300px;
  max-width:100%;
  margin-bottom:18px;
  filter:brightness(0) invert(1);
}
.hc63-kicker{
  display:inline-block;
  color:#f4c96b;
  font-size:9px;
  font-weight:900;
  letter-spacing:.20em;
  text-transform:uppercase;
}
.hc63-brand-panel h2{
  max-width:700px;
  margin:12px 0 12px;
  font-family:Georgia,serif;
  font-size:clamp(34px,4vw,52px);
  line-height:.99;
  font-weight:400;
  letter-spacing:-.025em;
}
.hc63-brand-panel p,
.hc63-newsletter p{
  max-width:620px;
  margin:0;
  color:#b8cec8;
  font-family:Georgia,serif;
  font-size:16px;
  line-height:1.65;
}
.hc63-brand-pills{
  display:flex;
  flex-wrap:wrap;
  gap:8px;
  margin-top:22px;
}
.hc63-brand-pills a{
  padding:9px 12px;
  border:1px solid rgba(255,255,255,.14);
  border-radius:999px;
  color:#d8e7e2;
  font-size:9px;
  letter-spacing:.08em;
  text-transform:uppercase;
}
.hc63-brand-pills a:hover{
  border-color:#f4c96b;
  color:#f4c96b;
}

.hc63-newsletter{
  display:flex;
  flex-direction:column;
  justify-content:center;
  background:
    linear-gradient(145deg,rgba(77,105,198,.18),rgba(255,255,255,.035));
}
.hc63-newsletter h3{
  margin:10px 0 10px;
  font-family:Georgia,serif;
  font-size:clamp(32px,3.4vw,46px);
  line-height:1;
  font-weight:400;
}
.hc63-newsletter form{
  display:flex;
  gap:8px;
  margin-top:22px;
}
.hc63-newsletter input{
  flex:1;
  min-width:0;
  height:50px;
  padding:0 15px;
  border:1px solid rgba(255,255,255,.14);
  border-radius:14px;
  background:rgba(255,255,255,.08);
  color:white;
  outline:0;
}
.hc63-newsletter input::placeholder{color:#9db2ac}
.hc63-newsletter button{
  min-width:142px;
  border:0;
  border-radius:14px;
  padding:0 18px;
  background:#f4c96b;
  color:#0f2f2b;
  font-size:9px;
  font-weight:900;
  letter-spacing:.11em;
  text-transform:uppercase;
}
.hc63-news-notes{
  display:flex;
  flex-wrap:wrap;
  gap:18px;
  margin-top:14px;
  color:#86a39b;
  font-size:8px;
  letter-spacing:.09em;
  text-transform:uppercase;
}

/* directory */
.hc63-directory{
  display:grid;
  grid-template-columns:1.25fr repeat(4,.75fr);
  gap:12px;
  margin-top:16px;
}
.hc63-directory-intro,
.hc63-link-group{
  min-height:230px;
  padding:22px;
  border:1px solid rgba(255,255,255,.09);
  border-radius:22px;
  background:rgba(255,255,255,.028);
}
.hc63-directory-intro{
  display:flex;
  flex-direction:column;
  justify-content:flex-end;
  background:
    linear-gradient(145deg,rgba(244,201,107,.08),rgba(255,255,255,.02));
}
.hc63-directory-intro span{
  color:#f4c96b;
  font-size:8px;
  font-weight:900;
  letter-spacing:.18em;
}
.hc63-directory-intro strong{
  max-width:260px;
  margin-top:10px;
  font-family:Georgia,serif;
  font-size:28px;
  line-height:1.04;
  font-weight:400;
}
.hc63-link-group{
  display:flex;
  flex-direction:column;
  gap:9px;
}
.hc63-link-group>strong{
  margin-bottom:7px;
  color:#f4c96b;
  font-size:9px;
  letter-spacing:.14em;
  text-transform:uppercase;
}
.hc63-link-group a{
  position:relative;
  color:#c8dad5;
  font-family:Georgia,serif;
  font-size:13px;
}
.hc63-link-group a:after{
  content:"→";
  position:absolute;
  right:0;
  color:#f4c96b;
  opacity:0;
  transition:.18s ease;
}
.hc63-link-group a:hover{
  color:white;
}
.hc63-link-group a:hover:after{
  opacity:1;
  transform:translateX(3px);
}

/* signoff strip */
.hc63-signoff{
  display:grid;
  grid-template-columns:1.25fr auto 1fr;
  gap:28px;
  align-items:center;
  margin-top:16px;
  padding:24px 26px;
  border:1px solid rgba(255,255,255,.09);
  border-radius:22px;
  background:rgba(0,0,0,.08);
}
.hc63-quote{
  display:flex;
  align-items:flex-start;
  gap:14px;
}
.hc63-quote>span{
  color:#f4c96b;
  font-family:Georgia,serif;
  font-size:54px;
  line-height:.7;
}
.hc63-quote p{
  margin:0;
  color:#d5e5e0;
  font-family:Georgia,serif;
  font-size:18px;
  font-style:italic;
  line-height:1.35;
}
.hc63-social{
  display:flex;
  gap:8px;
}
.hc63-social a{
  width:38px;
  height:38px;
  display:grid;
  place-items:center;
  border:1px solid rgba(255,255,255,.13);
  border-radius:50%;
  color:#f4c96b;
  font-size:9px;
  font-weight:900;
}
.hc63-social a:hover{
  background:#f4c96b;
  border-color:#f4c96b;
  color:#0f2f2b;
}
.hc63-mantra{
  display:flex;
  justify-content:flex-end;
  align-items:center;
  gap:10px;
  color:#73948c;
  font-size:8px;
  font-weight:900;
  letter-spacing:.14em;
}
.hc63-mantra i{
  width:22px;
  height:1px;
  background:#66857e;
}

/* bottom */
.hc63-footer-bottom{
  display:flex;
  justify-content:space-between;
  gap:20px;
  flex-wrap:wrap;
  margin-top:18px;
  padding:18px 4px 0;
  border-top:1px solid rgba(255,255,255,.08);
  color:#64837b;
  font-size:9px;
  letter-spacing:.08em;
}

/* hide legacy footer */
.hjmc-footer{
  display:none!important;
}

@media(max-width:1100px){
  .hc63-footer-top{grid-template-columns:1fr}
  .hc63-directory{grid-template-columns:1fr 1fr}
  .hc63-directory-intro{grid-column:1/-1;min-height:165px}
  .hc63-signoff{grid-template-columns:1fr}
  .hc63-mantra{justify-content:flex-start}
}
@media(max-width:760px){
  .hc63-wrap{width:min(100% - 24px,1320px)}
  .hc63-footer{padding-top:44px}
  .hc63-brand-panel,
  .hc63-newsletter{padding:23px;border-radius:22px;min-height:auto}
  .hc63-newsletter form{flex-direction:column}
  .hc63-newsletter button{height:48px}
  .hc63-directory{grid-template-columns:1fr}
  .hc63-directory-intro{grid-column:auto}
  .hc63-link-group{min-height:auto}
  .hc63-signoff{padding:20px}
  .hc63-footer-bottom{flex-direction:column}
}


/* =========================================================
   v6.4 — Architectural Luxury Footer
   ========================================================= */

.hc64-wrap{
  width:min(1360px,calc(100% - 52px));
  margin:0 auto;
}

.hc64-footer{
  position:relative;
  overflow:hidden;
  padding:72px 0 22px;
  color:#fff;
  background:
    radial-gradient(circle at 14% -6%,rgba(244,201,107,.11),transparent 24%),
    radial-gradient(circle at 86% 14%,rgba(77,105,198,.12),transparent 27%),
    linear-gradient(180deg,#0f2f2b 0%,#0a2420 100%);
}
.hc64-footer:before{
  content:"";
  position:absolute;
  inset:0;
  opacity:.09;
  pointer-events:none;
  background-image:
    linear-gradient(rgba(255,255,255,.024) 1px,transparent 1px),
    linear-gradient(90deg,rgba(255,255,255,.024) 1px,transparent 1px);
  background-size:48px 48px;
}
.hc64-footer:after{
  content:"";
  position:absolute;
  right:-110px;
  bottom:-110px;
  width:320px;
  height:320px;
  border:1px solid rgba(244,201,107,.13);
  border-radius:50%;
  box-shadow:
    0 0 0 48px rgba(244,201,107,.025),
    0 0 0 96px rgba(244,201,107,.018);
}

.hc64-hero,
.hc64-quickbar,
.hc64-directory,
.hc64-signature,
.hc64-bottom{
  position:relative;
  z-index:1;
}

/* hero */
.hc64-hero{
  display:grid;
  grid-template-columns:1.12fr .88fr;
  gap:18px;
  align-items:stretch;
}
.hc64-hero-brand,
.hc64-letter-card{
  min-height:360px;
  padding:36px;
  border:1px solid rgba(255,255,255,.10);
  border-radius:30px;
  background:rgba(255,255,255,.035);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.04),
    0 20px 60px rgba(0,0,0,.10);
}
.hc64-hero-brand{
  display:flex;
  flex-direction:column;
  justify-content:center;
  background:
    linear-gradient(145deg,rgba(244,201,107,.055),rgba(255,255,255,.018));
}
.hc64-overline{
  display:inline-block;
  color:#f4c96b;
  font-size:9px;
  font-weight:900;
  letter-spacing:.20em;
  text-transform:uppercase;
}
.hc64-hero-brand h2{
  max-width:780px;
  margin:12px 0 14px;
  font-family:Georgia,serif;
  font-size:clamp(38px,4.3vw,58px);
  line-height:.98;
  font-weight:400;
  letter-spacing:-.025em;
}
.hc64-hero-brand>p,
.hc64-letter-card>p{
  max-width:660px;
  margin:0;
  color:#b9cec8;
  font-family:Georgia,serif;
  font-size:16px;
  line-height:1.68;
}
.hc64-brand-row{
  display:flex;
  align-items:center;
  gap:28px;
  margin-top:28px;
  padding-top:20px;
  border-top:1px solid rgba(255,255,255,.09);
}
.hc64-brand-row img{
  width:245px;
  max-width:45%;
  filter:brightness(0) invert(1);
}
.hc64-brand-mantra{
  display:flex;
  align-items:center;
  gap:10px;
  color:#7fa29a;
  font-size:8px;
  font-weight:900;
  letter-spacing:.13em;
  text-transform:uppercase;
}
.hc64-brand-mantra i{
  width:20px;
  height:1px;
  background:#698c83;
}

.hc64-letter-card{
  position:relative;
  overflow:hidden;
  display:flex;
  flex-direction:column;
  justify-content:center;
  background:
    linear-gradient(145deg,rgba(77,105,198,.20),rgba(255,255,255,.025));
}
.hc64-letter-card:before{
  content:"LETTER";
  position:absolute;
  right:-18px;
  top:20px;
  font-family:Georgia,serif;
  font-size:96px;
  color:rgba(255,255,255,.025);
}
.hc64-letter-card h3{
  margin:10px 0 12px;
  font-family:Georgia,serif;
  font-size:clamp(34px,3.6vw,50px);
  line-height:.98;
  font-weight:400;
}
.hc64-letter-card form{
  display:grid;
  grid-template-columns:1fr auto;
  gap:8px;
  margin-top:24px;
}
.hc64-letter-card input{
  min-width:0;
  height:52px;
  padding:0 15px;
  border:1px solid rgba(255,255,255,.14);
  border-radius:14px;
  background:rgba(255,255,255,.08);
  color:#fff;
  outline:0;
}
.hc64-letter-card input::placeholder{color:#9eb3ad}
.hc64-letter-card button{
  min-width:160px;
  border:0;
  border-radius:14px;
  padding:0 18px;
  background:#f4c96b;
  color:#0f2f2b;
  font-size:9px;
  font-weight:900;
  letter-spacing:.1em;
  text-transform:uppercase;
}
.hc64-letter-card button b{
  margin-left:8px;
  font-size:14px;
}
.hc64-letter-meta{
  display:flex;
  gap:18px;
  flex-wrap:wrap;
  margin-top:14px;
  color:#86a39b;
  font-size:8px;
  letter-spacing:.1em;
  text-transform:uppercase;
}

/* quick bar */
.hc64-quickbar{
  display:grid;
  grid-template-columns:260px 1fr;
  gap:16px;
  align-items:stretch;
  margin-top:18px;
}
.hc64-quickbar-title{
  min-height:110px;
  display:flex;
  flex-direction:column;
  justify-content:center;
  padding:20px;
  border:1px solid rgba(255,255,255,.09);
  border-radius:20px;
  background:rgba(255,255,255,.028);
}
.hc64-quickbar-title span{
  color:#f4c96b;
  font-size:8px;
  font-weight:900;
  letter-spacing:.18em;
}
.hc64-quickbar-title strong{
  margin-top:8px;
  font-family:Georgia,serif;
  font-size:22px;
  line-height:1.05;
  font-weight:400;
}
.hc64-quickbar-links{
  display:grid;
  grid-template-columns:repeat(5,1fr);
  gap:1px;
  overflow:hidden;
  border:1px solid rgba(255,255,255,.09);
  border-radius:20px;
  background:rgba(255,255,255,.08);
}
.hc64-quickbar-links a{
  min-height:110px;
  display:flex;
  flex-direction:column;
  justify-content:flex-end;
  padding:18px;
  background:#12352f;
  font-family:Georgia,serif;
  font-size:17px;
}
.hc64-quickbar-links a:hover{
  background:#1a433c;
}
.hc64-quickbar-links b{
  margin-top:8px;
  color:#f4c96b;
  font-weight:400;
}

/* directory */
.hc64-directory{
  display:grid;
  grid-template-columns:1.1fr repeat(3,1fr);
  gap:12px;
  margin-top:18px;
}
.hc64-col{
  position:relative;
  min-height:255px;
  padding:24px;
  border:1px solid rgba(255,255,255,.09);
  border-radius:22px;
  background:rgba(255,255,255,.026);
  display:flex;
  flex-direction:column;
  gap:9px;
}
.hc64-col-main{
  background:
    linear-gradient(145deg,rgba(244,201,107,.065),rgba(255,255,255,.018));
}
.hc64-col-no{
  position:absolute;
  right:18px;
  top:16px;
  color:rgba(244,201,107,.33);
  font-family:Georgia,serif;
  font-size:28px;
}
.hc64-col>strong{
  margin-bottom:9px;
  color:#f4c96b;
  font-size:9px;
  letter-spacing:.15em;
  text-transform:uppercase;
}
.hc64-col a{
  position:relative;
  color:#c7d9d4;
  font-family:Georgia,serif;
  font-size:13px;
}
.hc64-col a:after{
  content:"→";
  position:absolute;
  right:0;
  color:#f4c96b;
  opacity:0;
  transition:.18s ease;
}
.hc64-col a:hover{color:#fff}
.hc64-col a:hover:after{
  opacity:1;
  transform:translateX(3px);
}

/* signature */
.hc64-signature{
  display:grid;
  grid-template-columns:1.1fr auto .9fr;
  gap:26px;
  align-items:center;
  margin-top:18px;
  padding:24px 26px;
  border:1px solid rgba(255,255,255,.09);
  border-radius:22px;
  background:rgba(0,0,0,.07);
}
.hc64-quote{
  display:flex;
  align-items:flex-start;
  gap:13px;
}
.hc64-quote>span{
  color:#f4c96b;
  font-family:Georgia,serif;
  font-size:58px;
  line-height:.7;
}
.hc64-quote p{
  margin:0;
  color:#d5e5e0;
  font-family:Georgia,serif;
  font-size:18px;
  font-style:italic;
  line-height:1.35;
}
.hc64-social{
  display:flex;
  gap:8px;
}
.hc64-social a{
  width:40px;
  height:40px;
  display:grid;
  place-items:center;
  border:1px solid rgba(255,255,255,.13);
  border-radius:50%;
  color:#f4c96b;
  font-size:9px;
  font-weight:900;
}
.hc64-social a:hover{
  background:#f4c96b;
  border-color:#f4c96b;
  color:#0f2f2b;
}
.hc64-signature-mark{
  display:flex;
  justify-content:flex-end;
  align-items:center;
  gap:14px;
}
.hc64-signature-mark strong{
  width:46px;
  height:46px;
  display:grid;
  place-items:center;
  border:1px solid #6d8d85;
  border-radius:50%;
  color:#f4c96b;
  font-family:Georgia,serif;
  font-size:16px;
}
.hc64-signature-mark span{
  max-width:180px;
  color:#7f9d96;
  font-family:Georgia,serif;
  font-size:13px;
  font-style:italic;
  line-height:1.3;
}

/* bottom bar */
.hc64-bottom{
  display:grid;
  grid-template-columns:1fr auto auto;
  gap:24px;
  align-items:center;
  margin-top:20px;
  padding:18px 4px 0;
  border-top:1px solid rgba(255,255,255,.08);
  color:#66847d;
  font-size:9px;
  letter-spacing:.08em;
}
.hc64-bottom a{
  color:#f4c96b;
}

/* hide earlier footer version */
.hc63-footer,
.hjmc-footer{
  display:none!important;
}

@media(max-width:1100px){
  .hc64-hero{grid-template-columns:1fr}
  .hc64-quickbar{grid-template-columns:1fr}
  .hc64-quickbar-links{grid-template-columns:repeat(3,1fr)}
  .hc64-directory{grid-template-columns:1fr 1fr}
  .hc64-signature{grid-template-columns:1fr}
  .hc64-signature-mark{justify-content:flex-start}
  .hc64-bottom{grid-template-columns:1fr}
}
@media(max-width:760px){
  .hc64-wrap{width:min(100% - 24px,1360px)}
  .hc64-footer{padding-top:46px}
  .hc64-hero-brand,
  .hc64-letter-card{
    min-height:auto;
    padding:24px;
    border-radius:22px;
  }
  .hc64-brand-row{
    flex-direction:column;
    align-items:flex-start;
  }
  .hc64-brand-row img{
    max-width:100%;
    width:240px;
  }
  .hc64-letter-card form{
    grid-template-columns:1fr;
  }
  .hc64-letter-card button{height:48px}
  .hc64-quickbar-links{grid-template-columns:1fr}
  .hc64-directory{grid-template-columns:1fr}
  .hc64-signature{padding:20px}
}


/* =========================================================
   v6.5 — Diverse homepage content
   ========================================================= */
.hc65-editors{
  padding:66px 0;
  background:#f7f4ee;
  border-top:1px solid #aac4bb;
  border-bottom:1px solid #aac4bb;
}
.hc65-section-head{
  display:grid;
  grid-template-columns:180px 1fr;
  gap:30px;
  align-items:start;
  margin-bottom:24px;
}
.hc65-section-head>span,
.hc65-practical-intro>span{
  color:#4d69c6;
  font-size:9px;
  font-weight:900;
  letter-spacing:.18em;
}
.hc65-section-head h2,
.hc65-practical-intro h2{
  margin:0;
  font-family:Georgia,serif;
  font-size:clamp(36px,4vw,52px);
  line-height:1;
  font-weight:400;
}
.hc65-editor-grid{
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:14px;
}
.hc65-editor-grid article{
  background:#fffdf8;
  border:1px solid #aac4bb;
}
.hc65-editor-img{
  display:block;
  height:190px;
  overflow:hidden;
}
.hc65-editor-img img,
.hc65-editor-img .hjmc-fallback{
  width:100%;
  height:100%;
  object-fit:cover;
}
.hc65-editor-grid article>div{padding:16px}
.hc65-editor-grid span{
  color:#4d69c6;
  font-size:8px;
  font-weight:900;
  letter-spacing:.14em;
  text-transform:uppercase;
}
.hc65-editor-grid h3{
  margin:8px 0 13px;
  font-family:Georgia,serif;
  font-size:22px;
  line-height:1.04;
  font-weight:400;
}
.hc65-editor-grid div>a{
  color:#4d69c6;
  font-size:9px;
  font-weight:900;
}

.hc65-practical{
  padding:68px 0;
  background:#dbeee8;
}
.hc65-practical-grid{
  display:grid;
  grid-template-columns:.8fr 1.2fr;
  gap:56px;
}
.hc65-practical-intro p{
  max-width:440px;
  color:#647873;
  font-family:Georgia,serif;
  font-size:16px;
  line-height:1.6;
}
.hc65-practical-list{
  border-top:1px solid #9ebdb3;
}
.hc65-practical-list>a{
  min-height:64px;
  display:grid;
  grid-template-columns:44px 1fr 24px;
  gap:14px;
  align-items:center;
  border-bottom:1px solid #9ebdb3;
}
.hc65-practical-list b{
  color:#4d69c6;
  font-size:9px;
}
.hc65-practical-list span{
  display:flex;
  flex-direction:column;
  gap:4px;
}
.hc65-practical-list small{
  color:#4d69c6;
  font-size:8px;
  font-weight:900;
  letter-spacing:.12em;
  text-transform:uppercase;
}
.hc65-practical-list strong{
  font-family:Georgia,serif;
  font-size:17px;
  font-weight:400;
}
.hc65-practical-list i{
  color:#4d69c6;
  font-style:normal;
}

.hjmc-older{
  padding:34px 0;
  background:#dbeee8;
}

@media(max-width:1000px){
  .hc65-editor-grid{grid-template-columns:1fr 1fr}
  .hc65-practical-grid{grid-template-columns:1fr}
}
@media(max-width:760px){
  .hc65-section-head{grid-template-columns:1fr}
  .hc65-editor-grid{grid-template-columns:1fr}
}


/* v6.5.1
   Removed the extra Explore category strip from the header
   so only logo + main menu + search/menu actions remain in sequence.
*/


/* v6.5.2 — homepage loop correctness fix
   Each foreach card now sets the actual global WordPress post before template tags run.
*/


/* v6.5.3 — header menu fit + modern nav refinement */
.hc62-main-grid > *{min-width:0}
.hc62-main-grid{
  grid-template-columns:280px minmax(0,1fr) 350px;
  gap:22px;
}
.hc62-nav{
  width:100%;
  min-width:0;
  flex-wrap:wrap;
  justify-content:center;
  gap:6px;
  padding:7px;
  border-radius:20px;
}
.hc62-nav a{
  flex:0 1 auto;
  padding:10px 14px;
  font-size:12px;
  line-height:1.15;
}
.hc62-actions{min-width:0}
.hc62-search{min-width:0}
.hc62-search input{width:100%}
@media(max-width:1320px){
  .hc62-main-grid{grid-template-columns:250px minmax(0,1fr) 320px;gap:16px}
  .hc62-brand img{width:255px;max-height:74px}
  .hc62-nav a{padding:9px 12px;font-size:11.5px}
  .hc62-search{height:48px}
  .hc62-search button{padding:0 14px}
}
@media(max-width:1180px){
  .hc62-main-grid{grid-template-columns:1fr 320px;align-items:start}
  .hc62-brand{grid-column:1/2}
  .hc62-actions{grid-column:2/3;justify-self:end;width:100%}
  .hc62-nav{grid-column:1/-1;order:3;justify-content:flex-start}
}


/* v6.5.4 — removed footer social icon circles, cleaner signature row */
.hc64-signature{
  grid-template-columns:minmax(0,1fr) auto;
  gap:20px;
}
.hc64-signature-mark{
  min-width:220px;
}
@media(max-width:900px){
  .hc64-signature{grid-template-columns:1fr}
  .hc64-signature-mark{justify-content:flex-start;min-width:0}
}


/* =========================================================
   v6.5.5 — Primary menu locked inside rounded nav box
   ========================================================= */
.hc62-nav{
  width:100%!important;
  min-width:0!important;
  display:grid!important;
  grid-template-columns:repeat(5,minmax(0,1fr))!important;
  align-items:center!important;
  justify-content:stretch!important;
  gap:4px!important;
  padding:8px 10px!important;
  overflow:hidden!important;
  border-radius:22px!important;
}
.hc62-nav a{
  width:100%!important;
  min-width:0!important;
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  text-align:center!important;
  padding:10px 8px!important;
  margin:0!important;
  border-radius:14px!important;
  font-size:11.5px!important;
  line-height:1.15!important;
  white-space:nowrap!important;
  overflow:hidden!important;
  text-overflow:ellipsis!important;
}

@media(max-width:1320px){
  .hc62-nav a{
    font-size:11px!important;
    padding:9px 6px!important;
  }
}

@media(max-width:1180px){
  .hc62-nav{
    grid-template-columns:repeat(5,minmax(120px,1fr))!important;
    overflow-x:auto!important;
    scrollbar-width:none;
  }
  .hc62-nav::-webkit-scrollbar{display:none}
  .hc62-nav a{overflow:visible!important;text-overflow:clip!important}
}


/* =========================================================
   v6.5.6 — single post: internal links + smaller framed image
   ========================================================= */

/* Make the main featured image another ~10% smaller than the previous 76% width. */
.hjmc-single-image{
  width:min(68%,900px)!important;
  max-width:900px!important;
  margin:42px auto 0!important;
  padding:0!important;
}

/* Premium editorial frame + shadow. */
.hjmc-single-image img{
  display:block!important;
  width:100%!important;
  max-height:510px!important;
  object-fit:cover!important;
  border:2px solid rgba(15,47,43,.28)!important;
  border-radius:4px!important;
  box-shadow:
    0 22px 48px rgba(15,47,43,.18),
    0 6px 16px rgba(15,47,43,.10)!important;
}

/* Keep article spacing balanced after reducing the image. */
.hjmc-single-body{
  margin-top:50px!important;
}

/* Clean bullet internal links — no card/box styling. */
.hjmc-inline-links{
  margin:30px 0 34px!important;
  padding:0!important;
  border:0!important;
  background:transparent!important;
  box-shadow:none!important;
}
.hjmc-inline-links>span{
  display:block!important;
  margin-bottom:10px!important;
  color:#4d69c6!important;
  font-family:Arial,Helvetica,sans-serif!important;
  font-size:9px!important;
  font-weight:900!important;
  letter-spacing:.15em!important;
  text-transform:uppercase!important;
}
.hjmc-inline-links ul{
  margin:0!important;
  padding-left:22px!important;
}
.hjmc-inline-links li{
  margin:8px 0!important;
  padding-left:3px!important;
  color:#4d69c6!important;
}
.hjmc-inline-links li::marker{
  color:#4d69c6!important;
}
.hjmc-inline-links a{
  color:#173d37!important;
  text-decoration:none!important;
  font-family:Georgia,serif!important;
  font-size:15px!important;
  line-height:1.45!important;
}
.hjmc-inline-links a:hover{
  color:#4d69c6!important;
  text-decoration:underline!important;
}

@media(max-width:760px){
  .hjmc-single-image{
    width:calc(100% - 56px)!important;
    max-width:none!important;
    margin-top:30px!important;
  }
}


/* =========================================================
   v6.5.7 — refined modern editorial header
   ========================================================= */

.hc657-wrap{
  width:min(1380px,calc(100% - 52px));
  margin:0 auto;
}

.hc657-header{
  position:sticky;
  top:0;
  z-index:90;
  background:rgba(247,244,238,.96);
  backdrop-filter:blur(18px);
  border-bottom:1px solid rgba(15,47,43,.08);
  box-shadow:0 10px 34px rgba(15,47,43,.045);
}
.admin-bar .hc657-header{top:32px}

/* top utility strip */
.hc657-top{
  background:#0f2f2b;
  color:#fff;
}
.hc657-top-inner{
  min-height:31px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:20px;
}
.hc657-top-note{
  display:flex;
  align-items:center;
  gap:9px;
  min-width:0;
}
.hc657-top-note>span{
  width:7px;
  height:7px;
  flex:0 0 7px;
  border-radius:50%;
  background:#f4c96b;
  box-shadow:0 0 0 4px rgba(244,201,107,.12);
}
.hc657-top-note strong{
  font-size:8px;
  letter-spacing:.17em;
  white-space:nowrap;
}
.hc657-top-note em{
  color:#9fbbb3;
  font-style:normal;
  font-size:8px;
  letter-spacing:.08em;
  white-space:nowrap;
}
.hc657-top-links{
  display:flex;
  align-items:center;
  gap:18px;
}
.hc657-top-links a{
  color:#d0e0db;
  font-size:9px;
}
.hc657-top-links a:hover{color:#f4c96b}

/* main shell */
.hc657-shell{
  background:
    linear-gradient(180deg,rgba(255,253,248,.98),rgba(247,244,238,.95));
}
.hc657-main{
  min-height:108px;
  display:grid;
  grid-template-columns:300px minmax(0,1fr) 330px;
  gap:22px;
  align-items:center;
}
.hc657-main>*{min-width:0}

.hc657-brand{
  display:flex;
  align-items:center;
}
.hc657-brand img{
  display:block;
  width:290px;
  max-width:100%;
  max-height:82px;
  object-fit:contain;
  object-position:left center;
}

/* segmented modern navigation */
.hc657-nav{
  display:grid;
  grid-template-columns:repeat(5,minmax(0,1fr));
  gap:4px;
  min-width:0;
  padding:5px;
  border:1px solid rgba(15,47,43,.09);
  border-radius:22px;
  background:rgba(255,255,255,.78);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.95),
    0 10px 28px rgba(15,47,43,.035);
}
.hc657-nav a{
  min-width:0;
  min-height:58px;
  padding:9px 10px;
  display:flex;
  flex-direction:column;
  justify-content:center;
  gap:4px;
  border-radius:17px;
  transition:.2s ease;
}
.hc657-nav a small{
  color:#4d69c6;
  font-size:7px;
  font-weight:900;
  letter-spacing:.15em;
}
.hc657-nav a span{
  overflow:hidden;
  text-overflow:ellipsis;
  color:#173d37;
  font-family:Georgia,serif;
  font-size:11.5px;
  line-height:1.05;
  white-space:nowrap;
}
.hc657-nav a:hover{
  background:#dbeee8;
  transform:translateY(-1px);
}

/* search + menu */
.hc657-actions{
  display:flex;
  align-items:center;
  gap:9px;
  min-width:0;
}
.hc657-search{
  flex:1;
  min-width:0;
  height:50px;
  display:flex;
  align-items:center;
  gap:8px;
  padding:5px 6px 5px 12px;
  border:1px solid rgba(15,47,43,.10);
  border-radius:18px;
  background:#fff;
  box-shadow:0 10px 28px rgba(15,47,43,.035);
}
.hc657-search>span{
  width:32px;
  height:32px;
  flex:0 0 32px;
  display:grid;
  place-items:center;
  border-radius:50%;
  background:#edf5f2;
  color:#4d69c6;
  font-size:15px;
}
.hc657-search input{
  width:100%;
  min-width:0;
  border:0;
  outline:0;
  background:transparent;
  color:#173d37;
  font-size:12.5px;
}
.hc657-search input::placeholder{color:#8a9994}
.hc657-search button{
  width:38px;
  height:38px;
  flex:0 0 38px;
  border:0;
  border-radius:13px;
  background:#4d69c6;
  color:#fff;
  cursor:pointer;
  font-size:16px;
}
.hc657-search button:hover{background:#3854b5}

.hc657-menu-btn{
  width:50px;
  height:50px;
  flex:0 0 50px;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  gap:5px;
  border:1px solid rgba(15,47,43,.10);
  border-radius:17px;
  background:#0f2f2b;
  cursor:pointer;
  box-shadow:0 10px 24px rgba(15,47,43,.10);
}
.hc657-menu-btn i{
  width:18px;
  height:2px;
  border-radius:2px;
  background:#fff;
  transition:.2s ease;
}
.hc657-menu-btn.is-open i:nth-child(1){transform:translateY(7px) rotate(45deg)}
.hc657-menu-btn.is-open i:nth-child(2){opacity:0}
.hc657-menu-btn.is-open i:nth-child(3){transform:translateY(-7px) rotate(-45deg)}

/* mega menu */
.hc657-mega{
  display:none;
  border-top:1px solid rgba(255,255,255,.08);
  background:#0f2f2b;
  color:#fff;
}
.hc657-mega.is-open{display:block}
.hc657-mega-grid{
  display:grid;
  grid-template-columns:320px 1fr;
  gap:36px;
  padding:38px 0 42px;
}
.hc657-mega-intro>span{
  color:#f4c96b;
  font-size:8px;
  font-weight:900;
  letter-spacing:.18em;
}
.hc657-mega-intro h3{
  margin:10px 0 12px;
  font-family:Georgia,serif;
  font-size:34px;
  line-height:1.03;
  font-weight:400;
}
.hc657-mega-intro p{
  margin:0;
  color:#aac4bc;
  line-height:1.6;
}
.hc657-mega-links{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:1px;
  overflow:hidden;
  border:1px solid #31564f;
  border-radius:20px;
  background:#31564f;
}
.hc657-mega-links a{
  min-height:56px;
  display:grid;
  grid-template-columns:28px 1fr 20px;
  gap:10px;
  align-items:center;
  padding:0 14px;
  background:#143833;
}
.hc657-mega-links a:hover{background:#1b463f}
.hc657-mega-links b{
  color:#f4c96b;
  font-size:8px;
}
.hc657-mega-links span{
  font-family:Georgia,serif;
  font-size:13px;
}
.hc657-mega-links i{
  color:#f4c96b;
  font-style:normal;
}

/* disable old header systems */
.hc62-header,
.hjmc-header,
.hjmc-topline{
  display:none!important;
}

@media(max-width:1260px){
  .hc657-main{
    grid-template-columns:250px minmax(0,1fr) 300px;
    gap:16px;
  }
  .hc657-brand img{width:250px}
  .hc657-nav a{
    padding:8px;
  }
  .hc657-nav a span{
    font-size:10.5px;
  }
}

@media(max-width:1080px){
  .hc657-main{
    grid-template-columns:1fr 320px;
    gap:14px;
    padding:12px 0 14px;
  }
  .hc657-brand{
    grid-column:1/2;
  }
  .hc657-actions{
    grid-column:2/3;
  }
  .hc657-nav{
    grid-column:1/-1;
    order:3;
  }
}

@media(max-width:760px){
  .hc657-wrap{width:min(100% - 24px,1380px)}
  .hc657-top-note em{display:none}
  .hc657-top-links{display:none}

  .hc657-main{
    grid-template-columns:1fr;
    gap:10px;
  }
  .hc657-brand img{width:245px}
  .hc657-nav{display:none}
  .hc657-actions{
    grid-column:auto;
    width:100%;
  }
  .hc657-search{height:46px}
  .hc657-menu-btn{
    width:46px;
    height:46px;
    flex-basis:46px;
  }

  .hc657-mega-grid{
    grid-template-columns:1fr;
    gap:24px;
  }
  .hc657-mega-links{
    grid-template-columns:1fr 1fr;
  }
}


/* =========================================================
   v6.5.8 — Modern category explorer
   ========================================================= */

.hc658-categories{
  padding:64px 0 70px;
  background:
    linear-gradient(180deg,#f7f4ee 0%,#f1eee8 100%);
  border-top:1px solid rgba(15,47,43,.08);
  border-bottom:1px solid rgba(15,47,43,.08);
}

.hc658-cat-head{
  display:grid;
  grid-template-columns:minmax(0,1fr) 420px;
  gap:40px;
  align-items:end;
  margin-bottom:28px;
}

.hc658-cat-head>div>span{
  color:#4d69c6;
  font-size:9px;
  font-weight:900;
  letter-spacing:.18em;
  text-transform:uppercase;
}

.hc658-cat-head h2{
  margin:10px 0 0;
  max-width:760px;
  font-family:Georgia,serif;
  font-size:clamp(42px,4.8vw,68px);
  line-height:.98;
  font-weight:400;
  letter-spacing:-.035em;
  color:#143832;
}

.hc658-cat-head>p{
  margin:0;
  max-width:420px;
  color:#65756f;
  font-family:Georgia,serif;
  font-size:16px;
  line-height:1.55;
}

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

.hc658-cat-card{
  min-width:0;
  min-height:160px;
  padding:18px;
  display:flex;
  flex-direction:column;
  justify-content:space-between;
  border:1px solid rgba(15,47,43,.11);
  border-radius:20px;
  background:rgba(255,255,255,.80);
  box-shadow:
    0 10px 28px rgba(15,47,43,.035),
    inset 0 1px 0 rgba(255,255,255,.95);
  transition:
    transform .18s ease,
    border-color .18s ease,
    background .18s ease;
  overflow:hidden;
}

.hc658-cat-card:hover{
  transform:translateY(-4px);
  border-color:rgba(77,105,198,.38);
  background:#fff;
}

.hc658-cat-top{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
}

.hc658-cat-no{
  color:#4d69c6;
  font-size:9px;
  font-weight:900;
  letter-spacing:.14em;
}

.hc658-cat-top b{
  width:38px;
  height:38px;
  flex:0 0 38px;
  display:grid;
  place-items:center;
  border-radius:50%;
  background:#dbeee8;
  color:#143832;
  font-size:16px;
  font-weight:400;
}

.hc658-cat-card strong{
  margin-top:22px;
  color:#143832;
  font-family:Georgia,serif;
  font-size:20px;
  line-height:1.08;
  font-weight:400;
  white-space:normal;
  overflow-wrap:anywhere;
  word-break:normal;
  hyphens:auto;
}

.hc658-cat-card i{
  margin-top:15px;
  color:#4d69c6;
  font-style:normal;
  font-size:9px;
  font-weight:900;
  letter-spacing:.10em;
  text-transform:uppercase;
}

/* Ensure old category rail cannot affect new section */
.hjmc-categories,
.hjmc-cat-rail{
  display:none!important;
}

@media(max-width:1180px){
  .hc658-cat-grid{
    grid-template-columns:repeat(4,minmax(0,1fr));
  }
}

@media(max-width:900px){
  .hc658-cat-head{
    grid-template-columns:1fr;
    gap:14px;
  }
  .hc658-cat-head>p{
    max-width:680px;
  }
  .hc658-cat-grid{
    grid-template-columns:repeat(3,minmax(0,1fr));
  }
}

@media(max-width:640px){
  .hc658-categories{
    padding:46px 0 52px;
  }
  .hc658-cat-head h2{
    font-size:40px;
  }
  .hc658-cat-grid{
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:10px;
  }
  .hc658-cat-card{
    min-height:150px;
    padding:15px;
  }
  .hc658-cat-card strong{
    font-size:18px;
  }
}

@media(max-width:430px){
  .hc658-cat-grid{
    grid-template-columns:1fr;
  }
}


/* v6.5.9 — duplicate featured-image fix is handled in PHP.
   No blanket image hiding is used, so genuine article images remain visible. */


/* v6.6.0 — removed numbering from primary and mega menu links */
.hc657-nav a{
  align-items:center;
  text-align:center;
  gap:0;
}
.hc657-nav a span{
  white-space:normal;
  overflow:visible;
  text-overflow:clip;
}
.hc657-nav a small{display:none!important}
.hc657-mega-links a{
  grid-template-columns:1fr auto;
}
.hc657-mega-links a b{display:none!important}
.hc657-mega-links a span{
  padding-left:0;
}
\n\n/* v6.6.2 — reduce headings inside article content only */
.hjmc-single-body h2{
  font-size:22px!important;
  line-height:1.18!important;
  margin-top:30px!important;
  margin-bottom:12px!important;
}
.hjmc-single-body h3{
  font-size:19px!important;
  line-height:1.22!important;
  margin-top:26px!important;
  margin-bottom:10px!important;
}
.hjmc-single-body h4{
  font-size:17px!important;
  line-height:1.25!important;
  margin-top:22px!important;
  margin-bottom:9px!important;
}
@media(max-width:760px){
  .hjmc-single-body h2{font-size:20px!important}
  .hjmc-single-body h3{font-size:18px!important}
  .hjmc-single-body h4{font-size:16px!important}
}


/* v6.6.3 — hard single-post heading sizing fallback */
.single-post .hjmc-single-body h2,
.single-post .hjmc-single-body h2.wp-block-heading{
  font-size:18px!important;
  line-height:1.28!important;
}
.single-post .hjmc-single-body h3,
.single-post .hjmc-single-body h3.wp-block-heading{
  font-size:17px!important;
  line-height:1.3!important;
}
.single-post .hjmc-single-body h4,
.single-post .hjmc-single-body h4.wp-block-heading{
  font-size:16px!important;
  line-height:1.32!important;
}
