/* ── SHARED BASE v3 ───────────────────────────────────────────────────────── */
*{box-sizing:border-box;}
body{font-family:'Segoe UI',system-ui,sans-serif;background:#fff;color:#222;margin:0;}

/* ── Kill Astra sidebar/columns on homepage ──────────────────────────────── */
.home .hfeed,.home #content,.home .ast-container,.home #primary,
.home .content-area,.home .site-content,.home .ast-row{
  width:100%!important;max-width:100%!important;padding:0!important;
  margin:0!important;float:none!important;display:block!important;}
.home #secondary,.home .widget-area,.home .ast-sidebar-wrap{display:none!important;}
.home .entry-content,.home .ast-post-format-{padding:0!important;margin:0!important;}
.home .entry-header,.home .page-title,.home .ast-page-title{display:none!important;}

/* Kill Astra sidebar on blog page too */
.blog #secondary,.blog .widget-area,.blog .ast-sidebar-wrap{display:none!important;}
.blog #content,.blog .ast-container,.blog #primary,.blog .content-area{
  width:100%!important;max-width:100%!important;padding:0!important;
  margin:0!important;float:none!important;display:block!important;}
.blog .entry-header{display:none!important;}

/* ── NAV ─────────────────────────────────────────────────────────────────── */
.ast-site-header-wrap,#masthead,.main-header-bar,.ast-primary-header-bar{
  background:var(--site-dark)!important;
  border-bottom:3px solid var(--site-accent);}
.ast-primary-header-bar .ast-container,.main-header-bar .ast-container{
  padding-left:32px!important;padding-right:32px!important;}
.site-title a,.ast-site-identity a{color:#fff!important;font-family:Georgia,serif;}
.site-description{color:rgba(255,255,255,0.55)!important;}
#site-navigation a,.main-navigation a,.ast-main-header-bar-alignment a{
  color:rgba(255,255,255,0.8)!important;font-size:0.9rem;letter-spacing:0.03em;}
#site-navigation a:hover,.main-navigation a:hover{color:#fff!important;}

/* ── HERO ────────────────────────────────────────────────────────────────── */
.site-hero{
  background:#fff;
  padding:64px 24px 56px;
  text-align:center;
  border-bottom:3px solid var(--site-accent);}
.site-hero-inner{max-width:660px;margin:0 auto;}
.site-hero h1{
  font-family:Georgia,serif;
  font-size:clamp(1.7rem,4vw,2.6rem);
  font-weight:normal;
  line-height:1.25;
  color:#111;
  margin:0 0 14px;}
.site-hero h1 strong{font-weight:bold;color:var(--site-accent);}
.site-hero p{
  font-size:1rem;
  line-height:1.75;
  color:#555;
  margin:0 0 26px;}
.hero-btn{
  display:inline-block;
  background:var(--site-accent);
  color:#fff!important;
  padding:11px 24px;
  font-size:0.875rem;
  font-weight:600;
  text-decoration:none;
  border-radius:6px;
  letter-spacing:0.03em;
  transition:opacity .15s;}
.hero-btn:hover{opacity:.85;}

/* ── BLOG PAGE HEADER ────────────────────────────────────────────────────── */
.blog-header{
  background:var(--site-dark);
  padding:44px 32px 40px;
  border-bottom:3px solid var(--site-accent);}
.blog-header-inner{max-width:780px;margin:0 auto;}
.blog-header h1{
  font-family:Georgia,serif;
  font-size:1.9rem;
  font-weight:normal;
  color:#fff;
  margin:0 0 6px;}
.blog-header p{font-size:0.9rem;color:rgba(255,255,255,0.55);margin:0;}

/* ── POSTS SECTION ───────────────────────────────────────────────────────── */
.site-posts-section{max-width:780px;margin:0 auto;padding:36px 32px 64px;}

/* ── CONTROLS ROW ────────────────────────────────────────────────────────── */
.hp-controls{
  display:flex;
  gap:12px;
  align-items:flex-end;
  margin-bottom:18px;
  flex-wrap:wrap;}
.hp-filter-group{flex:1.1;min-width:180px;}
.hp-search-group{flex:1;min-width:180px;}
.hp-ctrl-label{
  display:block;
  font-size:11px;
  font-weight:600;
  letter-spacing:0.07em;
  text-transform:uppercase;
  color:#999;
  margin-bottom:6px;}
.hp-filter-group select{
  width:100%;
  height:38px;
  padding:0 30px 0 12px;
  border:1px solid #ddd;
  border-radius:6px;
  font-size:0.875rem;
  color:#333;
  background:#fafafa;
  appearance:none;
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath fill='%23999' d='M5 6L0 0h10z'/%3E%3C/svg%3E");
  background-repeat:no-repeat;
  background-position:right 10px center;
  outline:none;
  cursor:pointer;
  transition:border-color .15s;}
.hp-filter-group select:focus{border-color:var(--site-accent);background:#fff;}
.hp-search-inner{position:relative;}
.hp-search-inner input{
  width:100%;
  height:38px;
  padding:0 12px 0 36px;
  border:1px solid #ddd;
  border-radius:6px;
  font-size:0.875rem;
  color:#333;
  background:#fafafa;
  outline:none;
  transition:border-color .15s;}
.hp-search-inner input:focus{border-color:var(--site-accent);background:#fff;}
.hp-search-inner input::placeholder{color:#bbb;}
.hp-search-ico{
  position:absolute;
  left:11px;top:50%;
  transform:translateY(-50%);
  width:14px;height:14px;
  color:#aaa;
  pointer-events:none;}

/* ── RESULTS META + DIVIDER ──────────────────────────────────────────────── */
.hp-meta{
  font-size:12px;
  color:#aaa;
  min-height:16px;
  margin-bottom:10px;}
.hp-divider{border:none;border-top:1px solid #eee;margin-bottom:0;}

/* ── POST LIST ───────────────────────────────────────────────────────────── */
.post-list{list-style:none;margin:0;padding:0;}
.post-list-item{
  display:flex;
  gap:20px;
  align-items:baseline;
  padding:16px 0;
  border-bottom:1px solid #f0f0f0;}
.post-list-item:last-child{border-bottom:none;}
.post-list-date{
  font-size:12px;
  color:#bbb;
  white-space:nowrap;
  min-width:76px;
  flex-shrink:0;}
.post-list-content{flex:1;}
.post-list-title{
  font-family:Georgia,serif;
  font-size:1.02rem;
  font-weight:normal;
  margin:0 0 4px;
  line-height:1.4;}
.post-list-title a{color:#1a1a1a;text-decoration:none;}
.post-list-title a:hover{color:var(--site-accent);text-decoration:underline;}
.post-list-cat{
  font-size:11px;
  font-weight:600;
  letter-spacing:0.07em;
  text-transform:uppercase;
  color:var(--site-accent);}
.post-list-excerpt{
  font-size:0.84rem;
  color:#777;
  line-height:1.6;
  margin:5px 0 0;}

/* ── NO RESULTS / EMPTY ──────────────────────────────────────────────────── */
.hp-no-results,.no-posts{
  font-size:0.9rem;
  color:#bbb;
  padding:32px 0;}

/* ── VIEW ALL ────────────────────────────────────────────────────────────── */
.view-all-wrap{
  margin-top:24px;
  padding-top:20px;
  border-top:1px solid #eee;}
.view-all-wrap a{
  font-size:0.875rem;
  color:var(--site-accent)!important;
  font-weight:600;
  text-decoration:none;}
.view-all-wrap a:hover{text-decoration:underline;}

/* ── FOOTER ──────────────────────────────────────────────────────────────── */
.site-footer,#colophon{
  background:var(--site-dark)!important;
  border-top:3px solid var(--site-accent);
  color:rgba(255,255,255,0.45)!important;}
.site-footer a,#colophon a{color:rgba(255,255,255,0.45)!important;}
