/*
Theme Name: Junho Group
Theme URI: https://junhogroup.com/
Author: Junho Group
Author URI: https://junhogroup.com/
Description: One-page property services theme for Junho Group — eleven service divisions, proposal request form, and standard templates for pages, posts and archives.
Version: 1.0.0
Requires at least: 5.9
Tested up to: 6.8
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: junho-group
Tags: business, one-column, custom-logo, custom-menu, featured-images, translation-ready
*/

/* ============================================================
   Junho Group — junhogroup.com
   ============================================================ */

:root{
  --navy-900:#070d18;
  --navy-800:#0b1424;
  --navy-700:#111e33;
  --navy-600:#1a2c47;
  --gold:#d8a72c;
  --gold-light:#f2ca63;
  --gold-dark:#a97f16;
  --ink:#111826;
  --body:#4a5568;
  --muted:#7b8794;
  --line:#e3e8ef;
  --bg:#ffffff;
  --bg-soft:#f6f8fb;
  --radius:16px;
  --shadow-sm:0 2px 10px rgba(11,20,36,.06);
  --shadow:0 14px 40px rgba(11,20,36,.10);
  --shadow-lg:0 28px 70px rgba(11,20,36,.16);
  --container:1200px;
  --ease:cubic-bezier(.22,.61,.36,1);
}

*,*::before,*::after{box-sizing:border-box}
html{scroll-behavior:smooth;scroll-padding-top:120px;-webkit-text-size-adjust:100%}
body{
  margin:0;
  font-family:'Inter',system-ui,-apple-system,'Segoe UI',Roboto,sans-serif;
  color:var(--body);
  background:var(--bg);
  font-size:17px;
  line-height:1.7;
  -webkit-font-smoothing:antialiased;
  overflow-x:hidden;
}
img{max-width:100%;height:auto;display:block}
a{color:inherit;text-decoration:none}
h1,h2,h3,h4{color:var(--ink);margin:0;line-height:1.15;letter-spacing:-.02em}
h1{font-family:'Playfair Display',Georgia,serif;font-weight:700;font-size:clamp(2.4rem,5.6vw,4.15rem)}
h2{font-family:'Playfair Display',Georgia,serif;font-weight:700;font-size:clamp(1.9rem,3.9vw,3rem)}
h3{font-weight:700;font-size:1.2rem;letter-spacing:-.01em}
p{margin:0 0 1.1em}
p:last-child{margin-bottom:0}

.container{width:min(100% - 2.5rem,var(--container));margin-inline:auto}

/* ---------- Shared bits ---------- */
.eyebrow{
  font-size:.75rem;font-weight:700;letter-spacing:.19em;text-transform:uppercase;
  color:var(--gold-dark);margin:0 0 .85rem;display:flex;align-items:center;gap:.65rem;
}
.eyebrow::before{content:"";width:26px;height:2px;background:var(--gold);flex:none}
.eyebrow.center{justify-content:center}
.eyebrow.light{color:var(--gold-light)}

.section{padding:clamp(4.5rem,8vw,7.5rem) 0}
.section-soft{background:var(--bg-soft)}
.section-dark{background:var(--navy-800);color:#b7c2d2}
.section-dark h2,.section-dark h3,.section-dark h4{color:#fff}
.center{text-align:center}
.center .eyebrow{justify-content:center}
.lede{font-size:1.075rem;max-width:60ch;margin-top:1.1rem}
.lede.center{margin-inline:auto}

.gold{
  background:linear-gradient(100deg,var(--gold-light),var(--gold));
  -webkit-background-clip:text;background-clip:text;color:transparent;
}

.btn{
  display:inline-flex;align-items:center;justify-content:center;gap:.55rem;
  padding:.95rem 1.85rem;border-radius:100px;border:1.5px solid transparent;
  font-size:.94rem;font-weight:700;letter-spacing:.01em;cursor:pointer;
  transition:transform .25s var(--ease),box-shadow .25s var(--ease),background .25s,color .25s,border-color .25s;
  font-family:inherit;white-space:nowrap;
}
.btn-gold{
  background:linear-gradient(120deg,var(--gold-light),var(--gold));
  color:var(--navy-900);box-shadow:0 10px 26px rgba(216,167,44,.34);
}
.btn-gold:hover{transform:translateY(-2px);box-shadow:0 16px 34px rgba(216,167,44,.44)}
.btn-ghost{border-color:rgba(255,255,255,.32);color:#fff}
.btn-ghost:hover{background:rgba(255,255,255,.1);border-color:rgba(255,255,255,.6)}
.btn-dark{background:var(--navy-800);color:#fff}
.btn-dark:hover{transform:translateY(-2px);box-shadow:var(--shadow)}
.btn-block{width:100%}

/* ---------- Header ---------- */
.site-header{
  position:sticky;top:0;z-index:60;
  background:rgba(7,13,24,.82);backdrop-filter:blur(14px);
  border-bottom:1px solid rgba(255,255,255,.09);
  transition:background .3s;
}
.nav{
  position:relative;display:flex;align-items:center;justify-content:space-between;
  gap:1.25rem;min-height:112px;
}
.brand{display:block;flex:none}
.brand img{height:78px;width:auto}
/* absolutely centred so the shield sits on the true middle of the page,
   no matter how wide the wordmark or the nav are */
.brand-mark{
  position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);
  display:block;transition:transform .3s var(--ease);
}
.brand-mark img{height:72px;width:auto}
.brand-mark:hover{transform:translate(-50%,-50%) scale(1.06)}
/* the nav is always a hamburger — it opens on hover (desktop) or tap (touch) */
.nav-right{display:flex;align-items:center;justify-content:flex-end;flex:none;align-self:stretch}
.nav-links{
  position:absolute;top:100%;right:0;left:auto;z-index:70;
  width:min(320px,calc(100vw - 2.5rem));
  display:none;flex-direction:column;gap:0;margin-top:10px;
  background:var(--navy-900);border:1px solid rgba(255,255,255,.15);
  border-radius:16px;box-shadow:var(--shadow-lg);
  padding:.4rem 1.4rem 1.4rem;
}
/* invisible bridge so the menu survives the gap under the button */
.nav-links::before{content:"";position:absolute;left:0;right:0;top:-18px;height:18px}
.nav-links.open{display:flex;animation:navIn .22s var(--ease)}
@keyframes navIn{from{opacity:0;transform:translateY(-8px)}to{opacity:1;transform:none}}
.nav-links a{
  font-size:.98rem;font-weight:600;color:#d3dbe6;padding:.9rem .15rem;
  border-bottom:1px solid rgba(255,255,255,.08);transition:color .2s,padding-left .2s;
}
.nav-links a:hover{color:var(--gold-light);padding-left:.5rem}
.nav-links .nav-cta{
  display:inline-flex;justify-content:center;margin-top:1.2rem;
  border-bottom:0;padding:.95rem 1.6rem;color:var(--navy-900);font-size:.92rem;
}
.nav-links .nav-cta:hover{color:var(--navy-900);padding-left:1.6rem}
.nav-toggle{
  display:flex;background:none;border:0;cursor:pointer;padding:.6rem .4rem;
  flex-direction:column;gap:5px;align-items:center;justify-content:center;
}
.nav-toggle span{display:block;width:24px;height:2px;background:#fff;border-radius:2px;transition:.3s var(--ease)}
.nav-toggle[aria-expanded="true"] span:nth-child(1){transform:translateY(7px) rotate(45deg)}
.nav-toggle[aria-expanded="true"] span:nth-child(2){opacity:0}
.nav-toggle[aria-expanded="true"] span:nth-child(3){transform:translateY(-7px) rotate(-45deg)}

/* ---------- Hero ---------- */
.hero{
  position:relative;overflow:hidden;color:#c3cddb;
  background:
    radial-gradient(950px 620px at 82% 8%,rgba(216,167,44,.20),transparent 62%),
    radial-gradient(700px 500px at 8% 92%,rgba(35,80,150,.28),transparent 60%),
    linear-gradient(160deg,var(--navy-900),var(--navy-700) 55%,var(--navy-800));
  padding:clamp(4.5rem,9vw,7.5rem) 0 clamp(3.5rem,6vw,5rem);
}
.hero::after{
  content:"";position:absolute;inset:0;pointer-events:none;opacity:.5;
  background-image:linear-gradient(rgba(255,255,255,.028) 1px,transparent 1px),
                   linear-gradient(90deg,rgba(255,255,255,.028) 1px,transparent 1px);
  background-size:64px 64px;
  mask-image:radial-gradient(circle at 50% 40%,#000,transparent 78%);
}
.hero-grid{
  position:relative;z-index:1;display:grid;gap:clamp(2.5rem,5vw,4.5rem);
  grid-template-columns:1.15fr .85fr;align-items:center;
}
.hero h1{color:#fff;margin-bottom:1.35rem}
.hero-copy{font-size:1.12rem;max-width:56ch;color:#aeb9c8}
.hero-actions{display:flex;flex-wrap:wrap;gap:.9rem;margin-top:2rem}
.hero-note{
  display:flex;align-items:center;gap:.6rem;margin-top:1.75rem;
  font-size:.88rem;color:#8f9cae;
}
.hero-note svg{flex:none;color:var(--gold)}

.hero-card{
  position:relative;border-radius:24px;padding:2.25rem 2rem;
  background:linear-gradient(165deg,rgba(255,255,255,.09),rgba(255,255,255,.03));
  border:1px solid rgba(255,255,255,.14);
  box-shadow:var(--shadow-lg);backdrop-filter:blur(8px);
}
.hero-card img{width:140px;margin:0 auto 1.25rem}
.hero-card h3{color:#fff;text-align:center;font-size:1.16rem;margin-bottom:.35rem}
.hero-card .tag{
  display:block;text-align:center;font-size:.72rem;letter-spacing:.17em;text-transform:uppercase;
  color:var(--gold-light);font-weight:700;margin-bottom:1.4rem;
}
.hero-card ul{list-style:none;margin:0;padding:0;display:grid;gap:.7rem}
.hero-card li{
  display:flex;gap:.7rem;align-items:flex-start;font-size:.9rem;color:#c3cddb;line-height:1.5;
}
.hero-card li svg{flex:none;margin-top:3px;color:var(--gold)}

.stats{
  position:relative;z-index:1;display:grid;grid-template-columns:repeat(4,1fr);
  gap:1.5rem;margin-top:clamp(3rem,5vw,4.5rem);
  padding-top:2.5rem;border-top:1px solid rgba(255,255,255,.12);
}
.stat strong{
  display:block;font-family:'Playfair Display',Georgia,serif;font-size:clamp(1.9rem,3.4vw,2.7rem);
  line-height:1;color:#fff;margin-bottom:.4rem;
}
.stat span{font-size:.79rem;letter-spacing:.13em;text-transform:uppercase;color:#8b98aa;font-weight:600}

/* ---------- Marquee / tagline strip ---------- */
.strip{
  background:linear-gradient(100deg,var(--gold),var(--gold-light));
  color:var(--navy-900);padding:1.15rem 0;
}
.strip-inner{
  display:flex;flex-wrap:wrap;align-items:center;justify-content:center;
  gap:.75rem 2.4rem;font-weight:700;font-size:.86rem;
  letter-spacing:.1em;text-transform:uppercase;text-align:center;
}
.strip-inner span{display:flex;align-items:center;gap:.55rem}
.strip-inner svg{flex:none}

/* ---------- About ---------- */
.about-grid{display:grid;grid-template-columns:1fr 1fr;gap:clamp(2.5rem,5vw,4.5rem);align-items:center}
.about-visual{position:relative}
.about-visual img{
  border-radius:var(--radius);box-shadow:var(--shadow-lg);border:1px solid var(--line);
}
.about-badge{
  position:static;display:flex;align-items:center;gap:1.1rem;margin-top:1.15rem;
  background:var(--navy-800);color:#fff;border-radius:14px;padding:1.1rem 1.4rem;
  box-shadow:var(--shadow);
}
.about-badge strong{
  font-family:'Playfair Display',Georgia,serif;font-size:2.1rem;
  color:var(--gold-light);line-height:1;flex:none;
}
.about-badge span{font-size:.88rem;color:#a9b5c5;line-height:1.45;display:block}

.pillars{display:grid;gap:1.15rem;margin-top:2rem}
.pillar{display:flex;gap:1rem;align-items:flex-start}
.pillar-icon{
  flex:none;width:44px;height:44px;border-radius:12px;display:grid;place-items:center;
  background:linear-gradient(140deg,rgba(216,167,44,.18),rgba(216,167,44,.06));
  color:var(--gold-dark);border:1px solid rgba(216,167,44,.28);
}
.pillar strong{display:block;color:var(--ink);font-size:1rem;margin-bottom:.15rem}
.pillar p{font-size:.94rem;margin:0}

/* ---------- Services ---------- */
.services-grid{
  display:grid;grid-template-columns:repeat(auto-fit,minmax(320px,1fr));
  gap:1.6rem;margin-top:3.25rem;
}
.service{
  display:flex;flex-direction:column;background:#fff;border-radius:var(--radius);
  border:1px solid var(--line);overflow:hidden;box-shadow:var(--shadow-sm);
  transition:transform .35s var(--ease),box-shadow .35s var(--ease),border-color .35s;
}
.service:hover{transform:translateY(-6px);box-shadow:var(--shadow);border-color:rgba(216,167,44,.5)}
.service-logo{
  height:180px;display:grid;place-items:center;padding:1.4rem;
  background:linear-gradient(180deg,#fbfcfe,#f2f5f9);border-bottom:1px solid var(--line);
}
.service-logo img{max-height:146px;max-width:100%;width:auto;object-fit:contain}
.service-body{padding:1.6rem 1.6rem 1.75rem;display:flex;flex-direction:column;flex:1}
.service-body h3{margin-bottom:.15rem}
.service-kicker{
  font-size:.72rem;font-weight:700;letter-spacing:.15em;text-transform:uppercase;
  color:var(--gold-dark);margin-bottom:.7rem;
}
.service-body > p{font-size:.95rem;margin-bottom:1.1rem}
.service ul{list-style:none;margin:0 0 0;padding:0;display:grid;gap:.45rem}
.service li{
  position:relative;padding-left:1.3rem;font-size:.885rem;line-height:1.55;color:var(--body);
}
.service li::before{
  content:"";position:absolute;left:0;top:.55em;width:6px;height:6px;border-radius:50%;
  background:var(--gold);
}

/* ---------- Process ---------- */
.steps{display:grid;grid-template-columns:repeat(auto-fit,minmax(230px,1fr));gap:1.5rem;margin-top:3.25rem}
.step{
  position:relative;padding:2rem 1.6rem 1.75rem;border-radius:var(--radius);
  background:rgba(255,255,255,.045);border:1px solid rgba(255,255,255,.12);
}
.step-num{
  font-family:'Playfair Display',Georgia,serif;font-size:2.3rem;line-height:1;
  color:var(--gold);opacity:.85;margin-bottom:.85rem;display:block;
}
.step h3{font-size:1.05rem;margin-bottom:.45rem}
.step p{font-size:.92rem;margin:0;color:#a4b0c1}

/* ---------- Why us ---------- */
.reasons{display:grid;grid-template-columns:repeat(auto-fit,minmax(280px,1fr));gap:1.4rem;margin-top:3.25rem}
.reason{
  background:#fff;border:1px solid var(--line);border-radius:var(--radius);
  padding:1.9rem 1.6rem;box-shadow:var(--shadow-sm);
  transition:transform .3s var(--ease),box-shadow .3s var(--ease);
}
.reason:hover{transform:translateY(-4px);box-shadow:var(--shadow)}
.reason .pillar-icon{margin-bottom:1.1rem}
.reason h3{margin-bottom:.45rem;font-size:1.08rem}
.reason p{font-size:.93rem;margin:0}

/* ---------- Audience ---------- */
.audience{display:grid;grid-template-columns:repeat(auto-fit,minmax(250px,1fr));gap:1.4rem;margin-top:3.25rem}
.aud-card{
  padding:1.85rem 1.5rem;border-radius:var(--radius);
  background:rgba(255,255,255,.05);border:1px solid rgba(255,255,255,.12);
  transition:background .3s,border-color .3s,transform .3s var(--ease);
}
.aud-card:hover{background:rgba(255,255,255,.09);border-color:rgba(216,167,44,.45);transform:translateY(-4px)}
.aud-card h3{font-size:1.05rem;margin-bottom:.45rem}
.aud-card p{font-size:.92rem;margin:0;color:#a4b0c1}

/* ---------- Contact ---------- */
.contact-grid{display:grid;grid-template-columns:1.15fr .85fr;gap:clamp(2.5rem,4vw,3.75rem);align-items:start}
.form{margin-top:2rem}
.form-row{display:grid;grid-template-columns:1fr 1fr;gap:1rem;margin-bottom:1rem}
.field label{
  display:block;font-size:.78rem;font-weight:700;letter-spacing:.09em;text-transform:uppercase;
  color:#93a0b2;margin-bottom:.45rem;
}
.form input,.form select,.form textarea{
  width:100%;padding:.88rem 1rem;border-radius:10px;font-family:inherit;font-size:.95rem;
  background:rgba(255,255,255,.06);border:1px solid rgba(255,255,255,.16);color:#fff;
  transition:border-color .2s,background .2s,box-shadow .2s;
}
.form input::placeholder,.form textarea::placeholder{color:#7c8899}
.form select option{background:var(--navy-800);color:#fff}
.form input:focus,.form select:focus,.form textarea:focus{
  outline:0;border-color:var(--gold);background:rgba(255,255,255,.1);
  box-shadow:0 0 0 3px rgba(216,167,44,.18);
}
.form textarea{min-height:130px;resize:vertical}
.form .btn{margin-top:1.35rem}
.form-note{font-size:.82rem;color:#7c8899;margin-top:.9rem}
.hp{position:absolute;left:-9999px;opacity:0;height:0;width:0}

.info-card{
  background:rgba(255,255,255,.055);border:1px solid rgba(255,255,255,.13);
  border-radius:var(--radius);padding:1.9rem 1.6rem;margin-bottom:1.25rem;
}
.info-card h3{font-size:1.05rem;margin-bottom:1.2rem}
.info-row{display:flex;gap:.9rem;align-items:flex-start;margin-bottom:1.1rem}
.info-row:last-child{margin-bottom:0}
.info-row svg{flex:none;margin-top:3px;color:var(--gold)}
.info-row span{
  display:block;font-size:.72rem;letter-spacing:.14em;text-transform:uppercase;
  color:#8b98aa;font-weight:700;margin-bottom:.15rem;
}
.info-row a,.info-row strong{color:#fff;font-size:1rem;font-weight:600;transition:color .2s}
.info-row a:hover{color:var(--gold-light)}
.info-card.accent{
  background:linear-gradient(150deg,rgba(216,167,44,.16),rgba(216,167,44,.05));
  border-color:rgba(216,167,44,.32);
}
.info-card ul{list-style:none;margin:0;padding:0;display:grid;gap:.7rem}
.info-card ul li{display:flex;gap:.65rem;font-size:.92rem;color:#c3cddb;line-height:1.5}
.info-card ul li svg{flex:none;margin-top:3px;color:var(--gold-light)}

/* ---------- Footer ---------- */
.site-footer{background:var(--navy-900);color:#8b98aa;padding:4rem 0 0}
.footer-grid{
  display:grid;grid-template-columns:1.6fr 1fr 1fr 1.1fr;gap:2.5rem;
  padding-bottom:3rem;
}
.footer-brand{height:72px;width:auto;margin-bottom:1.35rem}
.footer-grid p{font-size:.92rem;max-width:34ch}
.site-footer h4{
  font-size:.78rem;letter-spacing:.15em;text-transform:uppercase;color:#fff;margin-bottom:1.15rem;
}
.footer-links{display:grid;gap:.6rem}
.footer-links a,.footer-links span{font-size:.92rem;transition:color .2s}
.footer-links a:hover{color:var(--gold-light)}
.footer-bottom{
  display:flex;flex-wrap:wrap;gap:.75rem 1.5rem;justify-content:space-between;align-items:center;
  padding:1.5rem 0;border-top:1px solid rgba(255,255,255,.1);font-size:.85rem;
}

/* ---------- Reveal animation ---------- */
.reveal{opacity:0;transform:translateY(26px);transition:opacity .7s var(--ease),transform .7s var(--ease)}
.reveal.is-visible{opacity:1;transform:none}

/* ---------- Responsive ---------- */
@media (max-width:1000px){
  .hero-grid{grid-template-columns:1fr}
  .hero-card{max-width:460px;margin-inline:auto}
  .about-grid,.contact-grid{grid-template-columns:1fr}
  .footer-grid{grid-template-columns:1fr 1fr}
}
@media (max-width:1180px){
  .nav{min-height:90px}
  .brand img{height:62px}
  .brand-mark img{height:58px}
}
/* the centred shield would collide with the wordmark on small screens */
@media (max-width:760px){
  .brand-mark{display:none}
}
@media (max-width:820px){
  .stats{grid-template-columns:1fr 1fr;gap:1.75rem}
}
@media (max-width:600px){
  .nav{min-height:78px}
  .brand img{height:50px}
}
@media (max-width:560px){
  body{font-size:16px}
  .form-row{grid-template-columns:1fr}
  .footer-grid{grid-template-columns:1fr}
  .footer-bottom{justify-content:flex-start}
  .btn{width:100%}
  .hero-actions{flex-direction:column;align-items:stretch}
  .nav .btn{width:auto}
}
@media (prefers-reduced-motion:reduce){
  *{animation:none!important;transition:none!important;scroll-behavior:auto!important}
  .reveal{opacity:1;transform:none}
}


/* ============================================================
   WordPress requirements + page / post templates
   ============================================================ */

/* --- success banner after the proposal form is submitted --- */
.sent-banner{
  display:flex;align-items:center;justify-content:center;gap:.7rem;
  background:linear-gradient(100deg,var(--gold),var(--gold-light));
  color:var(--navy-900);font-weight:700;font-size:.95rem;
  padding:1.05rem 1.5rem;text-align:center;
}
.sent-banner svg{flex:none}

/* --- shared page / post shell --- */
.entry-hero{
  background:
    radial-gradient(800px 500px at 80% 10%,rgba(216,167,44,.18),transparent 62%),
    linear-gradient(160deg,var(--navy-900),var(--navy-700) 60%,var(--navy-800));
  color:#b7c2d2;padding:clamp(3.5rem,7vw,6rem) 0 clamp(3rem,5vw,4.5rem);
}
.entry-hero h1{color:#fff;max-width:20ch}
.entry-hero .lede{color:#aeb9c8}
.entry{padding:clamp(3.5rem,6vw,5.5rem) 0}
.entry .container{width:min(100% - 2.5rem,820px)}
.entry-thumb{margin-bottom:2.5rem}
.entry-thumb img{border-radius:var(--radius);box-shadow:var(--shadow)}

.entry-content{font-size:1.06rem}
.entry-content > *:first-child{margin-top:0}
.entry-content h2{font-size:1.9rem;margin:2.75rem 0 1rem}
.entry-content h3{font-size:1.35rem;margin:2.25rem 0 .75rem}
.entry-content h4{font-size:1.1rem;margin:2rem 0 .6rem}
.entry-content ul,.entry-content ol{margin:0 0 1.4rem;padding-left:1.35rem}
.entry-content li{margin-bottom:.5rem}
.entry-content a{color:var(--gold-dark);text-decoration:underline;text-underline-offset:3px}
.entry-content a:hover{color:var(--ink)}
.entry-content img{border-radius:12px;margin:1.75rem 0}
.entry-content blockquote{
  margin:2rem 0;padding:1.25rem 0 1.25rem 1.6rem;
  border-left:3px solid var(--gold);font-size:1.12rem;color:var(--ink);
}
.entry-content blockquote p:last-child{margin-bottom:0}
.entry-content pre{
  background:var(--navy-800);color:#dbe3ee;padding:1.25rem;border-radius:12px;
  overflow-x:auto;font-size:.9rem;line-height:1.6;
}
.entry-content code{
  background:var(--bg-soft);border:1px solid var(--line);border-radius:5px;
  padding:.12em .4em;font-size:.9em;
}
.entry-content pre code{background:none;border:0;padding:0;color:inherit}
.entry-content hr{border:0;border-top:1px solid var(--line);margin:2.5rem 0}
.entry-content table{width:100%;border-collapse:collapse;margin:1.75rem 0;font-size:.95rem}
.entry-content th,.entry-content td{border:1px solid var(--line);padding:.7rem .9rem;text-align:left}
.entry-content th{background:var(--bg-soft);font-weight:700;color:var(--ink)}

/* --- blog list --- */
.post-list{display:grid;gap:2.5rem}
.post-item{display:grid;grid-template-columns:220px 1fr;gap:1.75rem;align-items:start}
.post-item:only-child,.post-item:not(:has(.post-thumb)){grid-template-columns:1fr}
.post-thumb img{border-radius:12px;box-shadow:var(--shadow-sm)}
.post-date{font-size:.78rem;letter-spacing:.13em;text-transform:uppercase;color:var(--muted);font-weight:700;margin-bottom:.4rem}
.post-item h2{font-size:1.5rem;margin-bottom:.6rem}
.post-item h2 a:hover{color:var(--gold-dark)}
.post-more{font-weight:700;font-size:.92rem;color:var(--gold-dark)}
.post-more:hover{color:var(--ink)}
.entry-nav{
  display:flex;flex-wrap:wrap;gap:1rem;justify-content:space-between;
  margin-top:3rem;padding-top:1.75rem;border-top:1px solid var(--line);font-weight:600;font-size:.95rem;
}
.entry-nav a:hover{color:var(--gold-dark)}
.pagination{margin-top:3rem}
.pagination .page-numbers{
  display:inline-flex;align-items:center;justify-content:center;min-width:40px;height:40px;
  padding:0 .6rem;margin-right:.4rem;border:1px solid var(--line);border-radius:9px;
  font-weight:600;font-size:.92rem;
}
.pagination .page-numbers.current,.pagination .page-numbers:hover{
  background:var(--navy-800);border-color:var(--navy-800);color:#fff;
}
.page-links{margin-top:1.5rem;font-weight:600}

/* --- comments --- */
.comments-area{margin-top:3.5rem;padding-top:2.5rem;border-top:1px solid var(--line)}
.comments-area .comment-list{list-style:none;margin:0 0 2.5rem;padding:0}
.comments-area .comment-list li{margin-bottom:1.75rem}
.comments-area input[type="text"],.comments-area input[type="email"],
.comments-area input[type="url"],.comments-area textarea{
  width:100%;padding:.8rem 1rem;border:1px solid var(--line);border-radius:9px;
  font-family:inherit;font-size:.95rem;background:#fff;color:var(--ink);
}
.comments-area input[type="submit"]{
  background:var(--navy-800);color:#fff;border:0;border-radius:100px;
  padding:.9rem 1.8rem;font-family:inherit;font-weight:700;cursor:pointer;
}

/* --- search form --- */
.search-form{display:flex;gap:.6rem;margin-top:1.25rem}
.search-form label{flex:1}
.search-form .search-field{
  width:100%;padding:.8rem 1rem;border:1px solid var(--line);border-radius:9px;
  font-family:inherit;font-size:.95rem;
}
.search-form .search-submit{
  background:var(--navy-800);color:#fff;border:0;border-radius:9px;
  padding:.8rem 1.4rem;font-family:inherit;font-weight:700;cursor:pointer;
}

/* --- classic editor alignment + caption classes (required by WordPress) --- */
.alignleft{float:left;margin:.4rem 1.75rem 1.25rem 0}
.alignright{float:right;margin:.4rem 0 1.25rem 1.75rem}
.aligncenter{display:block;margin-left:auto;margin-right:auto}
.alignnone{margin:1.75rem 0}
.entry-content .alignwide{width:min(100vw - 2.5rem,1100px);max-width:none;margin-left:50%;transform:translateX(-50%)}
.entry-content .alignfull{width:100vw;max-width:none;margin-left:50%;transform:translateX(-50%)}
.wp-caption{max-width:100%}
.wp-caption img{margin-bottom:.5rem}
.wp-caption-text,.wp-element-caption{font-size:.85rem;color:var(--muted);text-align:center}
.gallery-caption{font-size:.85rem;color:var(--muted)}
.sticky{position:relative}
.bypostauthor{display:block}
.screen-reader-text{
  border:0;clip-path:inset(50%);height:1px;width:1px;margin:-1px;padding:0;
  overflow:hidden;position:absolute!important;white-space:nowrap;
}
.screen-reader-text:focus{
  clip-path:none;height:auto;width:auto;padding:1rem 1.5rem;
  background:#fff;color:var(--ink);z-index:200;top:8px;left:8px;border-radius:8px;
  box-shadow:var(--shadow);
}
.admin-bar .site-header{top:32px}
@media (max-width:782px){
  .admin-bar .site-header{top:46px}
}

@media (max-width:700px){
  .post-item{grid-template-columns:1fr}
  .alignleft,.alignright{float:none;margin:1.5rem 0}
}
