/* ===== WLH STANDALONE THEME STYLES ===== */
:root{--wlh-pine:#1B4332;--wlh-pine-dark:#0F2B1F;--wlh-pine-light:#2D6A4F;--wlh-gold:#D4A853;--wlh-gold-light:#E8C97A;--wlh-cream:#FAF8F4;--wlh-white:#FFFFFF;--wlh-text:#1A1A1A;--wlh-muted:#6B7280;--wlh-border:rgba(0,0,0,.06);--wlh-radius:12px;--wlh-shadow:0 4px 16px rgba(0,0,0,.08)}
*,*::before,*::after{margin:0;padding:0;box-sizing:border-box}
body{font-family:'Inter',-apple-system,BlinkMacSystemFont,sans-serif;color:var(--wlh-text);background:var(--wlh-cream);-webkit-font-smoothing:antialiased;line-height:1.6}
h1,h2,h3,h4,h5,h6{font-family:'Fraunces',serif;color:var(--wlh-pine-dark);line-height:1.3}
a{color:var(--wlh-pine);transition:color .2s}
a:hover{color:var(--wlh-gold)}
img{max-width:100%;height:auto}

/* HEADER */
.wlh-site-header{position:sticky;top:0;z-index:1000;background:rgba(255,255,255,.97);backdrop-filter:blur(12px);border-bottom:1px solid var(--wlh-border);transition:box-shadow .3s}
.wlh-site-header.scrolled{box-shadow:var(--wlh-shadow)}
.wlh-site-header-inner{max-width:1200px;margin:0 auto;padding:0 24px;display:flex;align-items:center;justify-content:space-between;height:72px}
.wlh-site-logo{display:flex;align-items:center;gap:10px;text-decoration:none;color:var(--wlh-pine);font-family:'Fraunces',serif;font-weight:700;font-size:1.2rem}
.wlh-site-logo:hover{color:var(--wlh-pine)}
.wlh-site-nav .wlh-menu-list{list-style:none;display:flex;gap:4px}
.wlh-site-nav .wlh-menu-list li a{text-decoration:none;color:var(--wlh-muted);font-size:.9rem;font-weight:500;padding:8px 16px;border-radius:8px;transition:all .2s;display:block}
.wlh-site-nav .wlh-menu-list li a:hover,.wlh-site-nav .wlh-menu-list li.current-menu-item>a{color:var(--wlh-pine);background:rgba(27,67,50,.06)}
.wlh-site-header-right{display:flex;align-items:center;gap:10px}
.wlh-auth-buttons{display:flex;gap:8px;align-items:center}

/* BUTTONS */
.wlh-btn{display:inline-flex;align-items:center;justify-content:center;padding:9px 20px;border-radius:8px;font-size:.9rem;font-weight:600;text-decoration:none;transition:all .25s;cursor:pointer;border:none;line-height:1.4;font-family:'Inter',sans-serif}
.wlh-btn-primary{background:var(--wlh-pine);color:var(--wlh-white)}
.wlh-btn-primary:hover{background:var(--wlh-pine-dark);color:var(--wlh-white);transform:translateY(-1px);box-shadow:var(--wlh-shadow)}
.wlh-btn-outline{border:1.5px solid var(--wlh-pine);color:var(--wlh-pine);background:transparent}
.wlh-btn-outline:hover{background:var(--wlh-pine);color:var(--wlh-white)}

/* MOBILE TOGGLE */
.wlh-mobile-toggle{display:none;background:none;border:none;cursor:pointer;width:36px;height:36px;flex-direction:column;justify-content:center;align-items:center;gap:5px;padding:0}
.wlh-mobile-toggle span{display:block;width:22px;height:2px;background:var(--wlh-pine);border-radius:2px;transition:all .3s}
.wlh-mobile-toggle.active span:nth-child(1){transform:rotate(45deg) translate(5px,5px)}
.wlh-mobile-toggle.active span:nth-child(2){opacity:0}
.wlh-mobile-toggle.active span:nth-child(3){transform:rotate(-45deg) translate(5px,-5px)}

/* CONTENT */
.wlh-site-main{min-height:60vh}
.wlh-content-wrap{max-width:1200px;margin:0 auto;padding:40px 24px;display:grid;grid-template-columns:1fr 320px;gap:40px}
.wlh-content-full{grid-column:1/-1}
.wlh-content-wrap:has(.wlh-content-full){grid-template-columns:1fr}
.wlh-page-title{font-size:2.2rem;font-weight:700;margin-bottom:24px;color:var(--wlh-pine-dark)}
.wlh-page-content{font-size:1rem;line-height:1.8;color:var(--wlh-text)}
.wlh-page-content p{margin-bottom:16px}
.wlh-article{background:var(--wlh-white);border-radius:var(--wlh-radius);border:1px solid var(--wlh-border);padding:28px;margin-bottom:20px}
.wlh-article-title{font-size:1.3rem;margin-bottom:8px}
.wlh-article-title a{text-decoration:none;color:var(--wlh-pine-dark)}
.wlh-article-title a:hover{color:var(--wlh-gold)}
.wlh-article-meta{font-size:.85rem;color:var(--wlh-muted);margin-bottom:12px}
.wlh-article-meta span+span::before{content:'·';margin:0 8px}
.wlh-article-thumb{margin-bottom:16px;border-radius:8px;overflow:hidden}
.wlh-article-thumb img{width:100%;display:block}
.wlh-article-featured{margin:24px 0;border-radius:var(--wlh-radius);overflow:hidden}
.wlh-article-featured img{width:100%;display:block}

/* SIDEBAR */
.wlh-sidebar .wlh-widget{background:var(--wlh-white);border-radius:var(--wlh-radius);padding:24px;border:1px solid var(--wlh-border);margin-bottom:20px}
.wlh-widget-title{font-family:'Fraunces',serif;font-weight:600;color:var(--wlh-pine-dark);font-size:1.1rem;margin-bottom:16px}

/* BBPRESS */
#bbpress-forums{font-family:'Inter',sans-serif}
#bbpress-forums .bbp-forum-title,#bbpress-forums .bbp-topic-title a.bbp-topic-permalink{font-family:'Fraunces',serif;color:var(--wlh-pine);font-weight:600;text-decoration:none}
#bbpress-forums .bbp-forum-title:hover,#bbpress-forums .bbp-topic-title a:hover{color:var(--wlh-gold)}
#bbpress-forums li.bbp-header{background:var(--wlh-pine);color:var(--wlh-white);border-radius:10px 10px 0 0;padding:14px 16px;font-weight:600}
#bbpress-forums li.bbp-header a{color:var(--wlh-gold-light)}
#bbpress-forums li.bbp-body ul.forum,#bbpress-forums li.bbp-body ul.topic{background:var(--wlh-white);border:1px solid var(--wlh-border);border-top:none;padding:14px 16px;transition:background .2s}
#bbpress-forums li.bbp-body ul.forum:hover,#bbpress-forums li.bbp-body ul.topic:hover{background:#F8FAF9}
#bbpress-forums li.bbp-footer{background:var(--wlh-cream);border-radius:0 0 10px 10px;border:1px solid var(--wlh-border);border-top:none}
#bbpress-forums .bbp-submit-wrapper button,#bbpress-forums .bbp-submit-wrapper input[type="submit"]{background:var(--wlh-pine);color:var(--wlh-white);border:none;border-radius:10px;padding:12px 28px;font-weight:600;font-family:'Inter',sans-serif;cursor:pointer;transition:all .25s}
#bbpress-forums .bbp-submit-wrapper button:hover,#bbpress-forums .bbp-submit-wrapper input[type="submit"]:hover{background:var(--wlh-pine-dark)}
#bbpress-forums textarea,#bbpress-forums input[type="text"],#bbpress-forums input[type="email"]{border:1.5px solid #E5E7EB;border-radius:10px;padding:12px 14px;font-family:'Inter',sans-serif;font-size:.9rem;transition:border-color .2s,box-shadow .2s}
#bbpress-forums textarea:focus,#bbpress-forums input[type="text"]:focus{border-color:var(--wlh-gold);outline:none;box-shadow:0 0 0 3px rgba(212,168,83,.15)}

/* BUDDYPRESS */
#buddypress .item-list-tabs ul li.selected a,#buddypress .item-list-tabs ul li.current a{background:var(--wlh-pine);color:var(--wlh-white);border-radius:8px}
#buddypress a.button,#buddypress input[type="submit"],#buddypress .generic-button a{background:var(--wlh-pine);color:var(--wlh-white);border:none;border-radius:8px;font-weight:600;padding:10px 20px;transition:all .25s}
#buddypress a.button:hover,#buddypress input[type="submit"]:hover{background:var(--wlh-pine-dark)}

/* FORMS */
input[type="submit"],button[type="submit"]{background:var(--wlh-pine);color:var(--wlh-white);border:none;border-radius:10px;font-family:'Inter',sans-serif;font-weight:600;padding:12px 24px;cursor:pointer;transition:all .25s}
input[type="submit"]:hover,button[type="submit"]:hover{background:var(--wlh-pine-dark)}
.user-registration-page .ur-frontend-form{background:var(--wlh-white);border-radius:var(--wlh-radius);padding:40px;box-shadow:0 2px 12px rgba(0,0,0,.06);border:1px solid var(--wlh-border)}
.user-registration-page .ur-frontend-form input,.user-registration-page .ur-frontend-form select{border:1.5px solid #E5E7EB;border-radius:10px;padding:12px 14px;font-family:'Inter',sans-serif}
.user-registration-page .ur-frontend-form input:focus{border-color:var(--wlh-gold);box-shadow:0 0 0 3px rgba(212,168,83,.15);outline:none}

/* BREADCRUMBS */
.bbp-breadcrumb{font-size:.85rem;color:var(--wlh-muted);padding:8px 0 16px}
.bbp-breadcrumb a{color:var(--wlh-pine);text-decoration:none}
.bbp-breadcrumb a:hover{color:var(--wlh-gold)}

/* FOOTER */
.wlh-site-footer{background:var(--wlh-pine-dark);color:rgba(255,255,255,.6);padding:60px 0 30px}
.wlh-footer-inner{max-width:1200px;margin:0 auto;padding:0 24px}
.wlh-footer-grid{display:grid;grid-template-columns:2fr 1fr 1fr 1fr;gap:40px;margin-bottom:40px}
.wlh-footer-brand p{font-size:.85rem;line-height:1.7;margin-top:12px}
.wlh-footer-logo{margin-bottom:8px}
.wlh-footer-logo span{color:var(--wlh-white)}
.wlh-footer-col h4{color:var(--wlh-white);font-family:'Fraunces',serif;font-weight:600;font-size:.95rem;margin-bottom:16px}
.wlh-footer-col a{display:block;color:rgba(255,255,255,.55);text-decoration:none;font-size:.85rem;padding:4px 0;transition:color .2s}
.wlh-footer-col a:hover{color:var(--wlh-gold)}
.wlh-footer-bottom{border-top:1px solid rgba(255,255,255,.08);padding-top:24px;text-align:center;font-size:.8rem}

/* RESPONSIVE */
@media(max-width:921px){
  .wlh-mobile-toggle{display:flex}
  .wlh-site-nav{display:none;position:absolute;top:72px;left:0;right:0;background:var(--wlh-white);padding:16px 24px;box-shadow:var(--wlh-shadow);border-bottom:2px solid var(--wlh-gold);z-index:999}
  .wlh-site-nav.open{display:block}
  .wlh-site-nav .wlh-menu-list{flex-direction:column;gap:0}
  .wlh-site-nav .wlh-menu-list li a{padding:12px 16px;border-bottom:1px solid var(--wlh-border)}
  .wlh-content-wrap{grid-template-columns:1fr;gap:24px}
  .wlh-footer-grid{grid-template-columns:1fr 1fr}
}
@media(max-width:768px){
  .wlh-page-title{font-size:1.7rem}
  .wlh-footer-grid{grid-template-columns:1fr}
  .wlh-auth-buttons .wlh-btn-outline{display:none}
  #bbpress-forums li.bbp-body ul.forum li.bbp-forum-freshness,#bbpress-forums li.bbp-body ul.topic li.bbp-topic-freshness,#bbpress-forums li.bbp-body ul.forum li.bbp-forum-topic-count,#bbpress-forums li.bbp-body ul.topic li.bbp-topic-voice-count,#bbpress-forums li.bbp-body ul.forum li.bbp-forum-reply-count,#bbpress-forums li.bbp-body ul.topic li.bbp-topic-reply-count{display:none}
  #bbpress-forums li.bbp-body ul.forum li.bbp-forum-info,#bbpress-forums li.bbp-body ul.topic li.bbp-topic-title{width:100%}
}
