/*
Theme Name: Cirkle (WPVibe Draft)
Theme URI: https://radiustheme.com/demo/wordpress/cirkle
Author: RadiusTheme
Description: Cirkle - Forum Bonus performance and forum UI draft.
Version: 1.2.5
Text Domain: cirkle
*/

/* Forum Bonus 2026 — lightweight forum layer */
:root{
  --fb-ink:#111827;
  --fb-muted:#667085;
  --fb-line:#e5e7eb;
  --fb-soft:#f6f8fb;
  --fb-card:#ffffff;
  --fb-dark:#0d1726;
  --fb-dark-2:#142238;
  --fb-accent:#17b26a;
  --fb-accent-dark:#0e8c51;
  --fb-accent-soft:#e9fbf2;
  --fb-warm:#fdb022;
  --fb-danger:#d92d20;
  --fb-radius:18px;
  --fb-shadow:0 16px 45px rgba(17,24,39,.08);
}

*{box-sizing:border-box}
html{scroll-behavior:smooth}
body.fb-ui{
  margin:0;
  background:#fff;
  color:var(--fb-ink);
  font-family:"Segoe UI",Tahoma,Geneva,Verdana,sans-serif;
  font-size:16px;
  line-height:1.65;
  -webkit-font-smoothing:antialiased;
}
body.fb-ui a{color:inherit;text-decoration:none}
body.fb-ui img{max-width:100%;height:auto}
body.fb-ui button,
body.fb-ui input,
body.fb-ui select,
body.fb-ui textarea{font:inherit}
.fb-container{width:min(1180px,calc(100% - 40px));margin-inline:auto}
.fb-site-shell{min-height:100vh;display:flex;flex-direction:column}
.fb-skip-link{
  position:fixed;left:16px;top:16px;z-index:99999;
  transform:translateY(-150%);background:#fff;color:#111827;
  padding:10px 14px;border-radius:10px;box-shadow:var(--fb-shadow)
}
.fb-skip-link:focus{transform:none}

.fb-site-header{
  position:sticky;top:0;z-index:1000;
  background:rgba(13,23,38,.97);
  border-bottom:1px solid rgba(255,255,255,.08);
  backdrop-filter:saturate(140%) blur(10px);
}
.admin-bar .fb-site-header{top:32px}
.fb-header-inner{min-height:76px;display:flex;align-items:center;gap:28px}
.fb-brand{display:inline-flex;align-items:center;flex:0 0 auto}
.fb-brand img{display:block;width:250px;max-width:33vw;height:auto}
.fb-primary-nav{display:flex;align-items:center;gap:6px;margin-left:auto}
.fb-primary-nav a{
  color:#d7dfeb;font-weight:700;font-size:14px;
  padding:11px 14px;border-radius:10px
}
.fb-primary-nav a:hover,.fb-primary-nav a:focus-visible{background:rgba(255,255,255,.08);color:#fff}
.fb-header-actions{display:flex;align-items:center;gap:10px}
.fb-link-button{
  color:#eef2f7;font-size:14px;font-weight:700;
  padding:10px 12px;border-radius:10px
}
.fb-button{
  display:inline-flex;align-items:center;justify-content:center;gap:8px;
  min-height:48px;padding:0 20px;border:1px solid var(--fb-accent);
  border-radius:12px;background:var(--fb-accent);color:#062d1b!important;
  font-weight:800;line-height:1.2;box-shadow:none;transition:.18s ease
}
.fb-button:hover,.fb-button:focus-visible{
  background:#21c77b;border-color:#21c77b;transform:translateY(-1px)
}
.fb-button-small{min-height:40px;padding:0 15px;font-size:14px}
.fb-button-ghost{background:transparent;color:#fff!important;border-color:rgba(255,255,255,.25)}
.fb-button-ghost:hover{background:rgba(255,255,255,.08);border-color:rgba(255,255,255,.42)}
.fb-mobile-menu{display:none;margin-left:auto;position:relative}
.fb-mobile-menu summary{
  list-style:none;cursor:pointer;color:#fff;font-weight:800;
  border:1px solid rgba(255,255,255,.18);border-radius:10px;padding:9px 12px
}
.fb-mobile-menu summary::-webkit-details-marker{display:none}
.fb-mobile-menu-panel{
  position:absolute;right:0;top:48px;width:220px;padding:8px;
  background:#fff;border:1px solid var(--fb-line);border-radius:14px;box-shadow:var(--fb-shadow)
}
.fb-mobile-menu-panel a{
  display:block;padding:11px 12px;border-radius:9px;color:var(--fb-ink);font-weight:700
}
.fb-mobile-menu-panel a:hover{background:var(--fb-soft)}

.fb-hero{
  color:#fff;
  background:
    radial-gradient(circle at 76% 20%,rgba(23,178,106,.24),transparent 34%),
    radial-gradient(circle at 8% 95%,rgba(253,176,34,.12),transparent 26%),
    linear-gradient(135deg,var(--fb-dark),var(--fb-dark-2));
  padding:82px 0 76px;
  overflow:hidden
}
.fb-hero-grid{display:grid;grid-template-columns:minmax(0,1.45fr) minmax(310px,.7fr);gap:60px;align-items:center}
.fb-kicker,.fb-eyebrow{
  display:inline-flex;align-items:center;gap:8px;text-transform:uppercase;
  letter-spacing:.11em;font-weight:900;font-size:12px
}
.fb-kicker{color:#8ce9bd}
.fb-kicker:before,.fb-eyebrow:before{
  content:"";width:24px;height:2px;border-radius:9px;background:currentColor
}
.fb-hero h1{
  margin:14px 0 18px;color:#fff;font-size:clamp(36px,5.2vw,68px);
  line-height:1.04;letter-spacing:-.045em;max-width:880px
}
.fb-hero-copy>p{max-width:760px;color:#cbd5e1;font-size:18px;margin:0 0 28px}
.fb-hero-actions{display:flex;flex-wrap:wrap;gap:12px;margin-bottom:26px}
.fb-forum-search{
  display:flex;align-items:center;max-width:680px;padding:6px;
  background:#fff;border:1px solid rgba(255,255,255,.14);border-radius:14px
}
.fb-forum-search input{
  min-width:0;flex:1;height:46px;border:0!important;outline:0!important;
  padding:0 13px!important;background:transparent!important;color:#111827!important;
  box-shadow:none!important
}
.fb-forum-search button{
  height:42px;padding:0 18px;border:0;border-radius:10px;
  background:#111827;color:#fff;font-weight:800;cursor:pointer
}
.fb-stat-panel{
  background:rgba(255,255,255,.075);border:1px solid rgba(255,255,255,.12);
  border-radius:24px;padding:14px;display:grid;grid-template-columns:repeat(3,1fr);
  box-shadow:0 28px 80px rgba(0,0,0,.22)
}
.fb-stat{padding:20px 14px;text-align:center;border-right:1px solid rgba(255,255,255,.1)}
.fb-stat:nth-child(3){border-right:0}
.fb-stat strong{display:block;font-size:28px;line-height:1.1;color:#fff}
.fb-stat span{display:block;margin-top:6px;color:#aebbc9;font-size:13px;font-weight:700}
.fb-trust-note{
  grid-column:1/-1;display:flex;align-items:center;gap:12px;
  margin-top:8px;padding:15px 14px;background:rgba(0,0,0,.15);border-radius:14px
}
.fb-status-dot{width:10px;height:10px;border-radius:50%;background:#47d990;box-shadow:0 0 0 6px rgba(71,217,144,.12)}
.fb-trust-note strong{display:block;color:#fff;font-size:14px}
.fb-trust-note small{display:block;color:#aebbc9;margin-top:2px}

.fb-section{padding:72px 0}
.fb-section-soft{background:var(--fb-soft)}
.fb-section-head{display:flex;align-items:end;justify-content:space-between;gap:24px;margin-bottom:28px}
.fb-eyebrow{color:var(--fb-accent-dark)}
.fb-section-head h2,.fb-community-box h2{
  margin:7px 0 0;font-size:clamp(28px,4vw,42px);line-height:1.12;letter-spacing:-.035em;color:var(--fb-ink)
}
.fb-text-link{font-weight:800;color:var(--fb-accent-dark)!important;white-space:nowrap}
.fb-forum-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}
.fb-forum-card{
  margin:0;background:var(--fb-card);border:1px solid var(--fb-line);
  border-radius:var(--fb-radius);box-shadow:0 8px 26px rgba(17,24,39,.045);
  transition:.18s ease;overflow:hidden
}
.fb-forum-card:hover{border-color:#b7e7cf;box-shadow:var(--fb-shadow);transform:translateY(-2px)}
.fb-forum-card-link{display:flex;align-items:flex-start;gap:16px;padding:22px;min-height:150px}
.fb-forum-mark{
  flex:0 0 46px;width:46px;height:46px;border-radius:13px;
  display:grid;place-items:center;background:var(--fb-accent-soft);color:var(--fb-accent-dark);
  font-weight:900;font-size:22px
}
.fb-forum-card-body{min-width:0;flex:1}
.fb-forum-card h3{margin:0 0 7px;font-size:19px;line-height:1.25;color:var(--fb-ink)}
.fb-forum-card p{margin:0;color:var(--fb-muted);font-size:14px;line-height:1.55}
.fb-card-meta{display:flex;gap:14px;flex-wrap:wrap;margin-top:13px;color:#697386;font-size:12px;font-weight:700}
.fb-card-arrow{color:var(--fb-accent-dark);font-size:22px;font-weight:900;margin-left:auto}

.fb-topic-list{
  background:#fff;border:1px solid var(--fb-line);border-radius:20px;
  overflow:hidden;box-shadow:0 10px 32px rgba(17,24,39,.04)
}
.fb-topic-row{
  display:flex;align-items:center;justify-content:space-between;gap:22px;
  padding:19px 22px;border-bottom:1px solid #eef0f3
}
.fb-topic-row:last-child{border-bottom:0}
.fb-topic-main{min-width:0}
.fb-topic-forum{
  display:inline-block;margin-bottom:4px;color:var(--fb-accent-dark);
  font-size:11px;font-weight:900;text-transform:uppercase;letter-spacing:.07em
}
.fb-topic-row h3{margin:0;font-size:16px;line-height:1.35}
.fb-topic-row h3 a:hover{color:var(--fb-accent-dark)}
.fb-topic-time{display:block;margin-top:5px;color:#8992a3;font-size:12px}
.fb-topic-count{flex:0 0 64px;text-align:center}
.fb-topic-count strong{display:block;font-size:18px;line-height:1;color:var(--fb-ink)}
.fb-topic-count span{display:block;margin-top:5px;color:#8992a3;font-size:11px}
.fb-community-box{
  padding:36px 40px;border-radius:24px;display:flex;align-items:center;
  justify-content:space-between;gap:36px;background:linear-gradient(135deg,#ecfdf3,#f7fbf8);
  border:1px solid #cdeedc
}
.fb-community-box p{margin:12px 0 0;color:var(--fb-muted);max-width:780px}

/* Forum shell */
.fb-forum-main{flex:1;background:var(--fb-soft)}
.fb-forum-hero{
  padding:48px 0 42px;color:#fff;
  background:linear-gradient(135deg,var(--fb-dark),#182945)
}
.fb-forum-hero h1{
  margin:9px 0 10px;color:#fff;font-size:clamp(30px,4vw,48px);
  letter-spacing:-.035em;line-height:1.1
}
.fb-breadcrumb-wrap,.fb-breadcrumb-wrap a{color:#bac5d2!important;font-size:13px}
.fb-breadcrumb-wrap .bbp-breadcrumb-current{color:#fff}
.fb-forum-content{padding:34px 0 70px}
.fb-forum-container{max-width:1120px}

/* bbPress reset + modern cards */
#bbpress-forums{
  margin:0!important;font-size:15px!important;color:var(--fb-ink)!important
}
#bbpress-forums ul,
#bbpress-forums li{list-style:none!important;margin:0;padding:0}
#bbpress-forums .bbp-forums,
#bbpress-forums .bbp-topics,
#bbpress-forums .bbp-replies{
  border:1px solid var(--fb-line)!important;border-radius:18px!important;
  overflow:hidden!important;background:#fff!important;box-shadow:0 10px 30px rgba(17,24,39,.045)!important
}
#bbpress-forums li.bbp-header{
  background:#f1f5f9!important;border:0!important;border-bottom:1px solid var(--fb-line)!important
}
#bbpress-forums li.bbp-header ul{
  display:grid!important;grid-template-columns:minmax(0,1fr) 90px 90px minmax(180px,260px)!important;
  align-items:center!important
}
#bbpress-forums li.bbp-header ul li{
  width:auto!important;padding:13px 16px!important;border:0!important;
  color:#596579!important;text-transform:uppercase!important;letter-spacing:.06em!important;
  font-size:11px!important;font-weight:900!important;text-align:left!important
}
#bbpress-forums li.bbp-body>ul{
  display:grid!important;grid-template-columns:minmax(0,1fr) 90px 90px minmax(180px,260px)!important;
  align-items:center!important;border:0!important;border-bottom:1px solid #eef0f3!important;
  min-height:106px!important;background:#fff!important
}
#bbpress-forums li.bbp-body>ul:last-child{border-bottom:0!important}
#bbpress-forums li.bbp-body>ul:hover{background:#fbfdfc!important}
#bbpress-forums li.bbp-body>ul>li{
  width:auto!important;padding:18px 16px!important;border:0!important;float:none!important
}
#bbpress-forums .bbp-forum-info{display:flex!important;align-items:flex-start!important;gap:14px!important}
#bbpress-forums .bbp-forum-feature-img{
  flex:0 0 58px!important;width:58px!important;height:58px!important;border-radius:14px!important;
  overflow:hidden!important;background:#edf7f2!important
}
#bbpress-forums .bbp-forum-feature-img img{
  width:100%!important;height:100%!important;object-fit:cover!important;display:block!important
}
#bbpress-forums .bbp-forum-content{width:auto!important;min-width:0!important;flex:1!important}
#bbpress-forums .bbp-forum-title,
#bbpress-forums .bbp-topic-permalink{
  color:var(--fb-ink)!important;font-size:16px!important;font-weight:800!important;line-height:1.3!important
}
#bbpress-forums .bbp-forum-title:hover,
#bbpress-forums .bbp-topic-permalink:hover{color:var(--fb-accent-dark)!important}
#bbpress-forums .bbp-forum-content>p{
  margin:6px 0 0!important;color:var(--fb-muted)!important;font-size:13px!important;line-height:1.5!important
}
#bbpress-forums .bbp-forums-list{
  display:flex!important;flex-wrap:wrap!important;gap:6px!important;width:auto!important;margin-top:9px!important
}
#bbpress-forums .bbp-forums-list li{
  display:inline-flex!important;width:auto!important;padding:0!important;border:0!important
}
#bbpress-forums .bbp-forum-link{
  display:inline-flex!important;padding:5px 8px!important;border-radius:8px!important;
  background:#f3f6f8!important;color:#526173!important;font-size:11px!important;font-weight:700!important
}
#bbpress-forums .bbp-forum-topic-count,
#bbpress-forums .bbp-forum-reply-count,
#bbpress-forums .bbp-topic-voice-count,
#bbpress-forums .bbp-topic-reply-count{
  text-align:center!important;font-size:14px!important;font-weight:800!important;color:#344054!important
}
#bbpress-forums .bbp-forum-freshness{
  display:flex!important;align-items:center!important;gap:10px!important
}
#bbpress-forums .bbp-topic-meta-pic{
  flex:0 0 38px!important;width:38px!important;height:38px!important
}
#bbpress-forums .bbp-topic-meta-pic img{
  display:block!important;width:38px!important;height:38px!important;border-radius:50%!important;object-fit:cover!important
}
#bbpress-forums .meta-info{min-width:0!important;width:auto!important;font-size:12px!important;color:#7a8494!important}
#bbpress-forums .meta-info a{display:block!important;color:#526173!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important}
#bbpress-forums .bbp-body .bbp-topic-title{min-width:0!important}

/* Search */
.fb-bbp-search{margin:0 0 18px}
.fb-bbp-search form{
  display:flex;gap:8px;padding:7px;background:#fff;border:1px solid var(--fb-line);
  border-radius:14px;box-shadow:0 6px 20px rgba(17,24,39,.035)
}
.fb-bbp-search input[type=search]{
  flex:1;min-width:0;height:44px!important;margin:0!important;padding:0 13px!important;
  border:0!important;outline:0!important;background:transparent!important;box-shadow:none!important
}
.fb-bbp-search button{
  height:42px;padding:0 18px;border:0;border-radius:10px;
  background:var(--fb-dark);color:#fff;font-weight:800;cursor:pointer
}

/* Topic/reply content */
#bbpress-forums .bbp-topic-form,
#bbpress-forums .bbp-reply-form{
  margin-top:24px!important;padding:22px!important;background:#fff!important;
  border:1px solid var(--fb-line)!important;border-radius:18px!important
}
#bbpress-forums fieldset.bbp-form{border:0!important;padding:0!important;margin:0!important}
#bbpress-forums fieldset.bbp-form legend{
  padding:0!important;margin:0 0 14px!important;font-size:18px!important;font-weight:900!important;color:var(--fb-ink)!important
}
#bbpress-forums input[type=text],
#bbpress-forums input[type=email],
#bbpress-forums input[type=url],
#bbpress-forums input[type=password],
#bbpress-forums select,
#bbpress-forums textarea{
  width:100%!important;min-height:44px!important;padding:10px 12px!important;
  border:1px solid #d7dce3!important;border-radius:10px!important;background:#fff!important;color:var(--fb-ink)!important;
  box-shadow:none!important
}
#bbpress-forums textarea{min-height:150px!important}
#bbpress-forums input:focus,
#bbpress-forums textarea:focus,
#bbpress-forums select:focus{outline:3px solid rgba(23,178,106,.16)!important;border-color:var(--fb-accent)!important}
#bbpress-forums button,
#bbpress-forums input[type=submit]{
  min-height:42px!important;padding:0 16px!important;border:0!important;border-radius:10px!important;
  background:var(--fb-accent)!important;color:#062d1b!important;font-weight:900!important;cursor:pointer!important
}
#bbpress-forums .bbp-reply-header,
#bbpress-forums .bbp-topic-header{
  background:#f7f9fb!important;border:0!important;border-bottom:1px solid var(--fb-line)!important;padding:12px 16px!important
}
#bbpress-forums div.bbp-reply-content,
#bbpress-forums div.bbp-topic-content{
  font-size:15px!important;line-height:1.72!important;color:#273444!important
}
#bbpress-forums .bbp-pagination{float:none!important;margin:18px 0!important}
#bbpress-forums .bbp-pagination-links{float:none!important;display:flex!important;gap:6px!important;flex-wrap:wrap!important}
#bbpress-forums .bbp-pagination-links a,
#bbpress-forums .bbp-pagination-links span.current{
  display:grid!important;place-items:center!important;min-width:40px!important;height:40px!important;
  padding:0 10px!important;border:1px solid var(--fb-line)!important;border-radius:9px!important;background:#fff!important
}
#bbpress-forums .bbp-pagination-links span.current{background:var(--fb-dark)!important;color:#fff!important;border-color:var(--fb-dark)!important}

/* Footer */
.fb-site-footer{margin-top:auto;background:#0b1422;color:#aab6c5;padding:42px 0 22px}
.fb-footer-grid{display:grid;grid-template-columns:1fr auto;gap:32px;align-items:start}
.fb-footer-brand{display:block;color:#fff;font-size:20px;margin-bottom:7px}
.fb-site-footer p{max-width:580px;margin:0;color:#8f9bad;font-size:13px}
.fb-footer-nav{display:flex;gap:18px;flex-wrap:wrap}
.fb-footer-nav a{color:#c8d2df;font-size:13px;font-weight:700}
.fb-footer-nav a:hover{color:#fff}
.fb-footer-bottom{
  display:flex;justify-content:space-between;gap:20px;margin-top:28px;padding-top:18px;
  border-top:1px solid rgba(255,255,255,.08);font-size:12px;color:#7e8a99
}

/* Registration anti-bot field — visible to bots, hidden from people */
.fb-hp-field{
  position:absolute!important;left:-10000px!important;top:auto!important;
  width:1px!important;height:1px!important;overflow:hidden!important
}

/* Accessibility */
.fb-ui a:focus-visible,
.fb-ui button:focus-visible,
.fb-ui summary:focus-visible{
  outline:3px solid rgba(23,178,106,.38);outline-offset:3px
}

/* Hide old theme-only clutter if a plugin injects it */
.fb-ui .header__switch--wrapper,
.fb-ui #preloader,
.fb-ui .newsfeed-banner,
.fb-ui .footer-dashboard{display:none!important}

/* Responsive forum */
@media (max-width:900px){
  .admin-bar .fb-site-header{top:46px}
  .fb-container{width:min(100% - 28px,1180px)}
  .fb-primary-nav,.fb-header-actions{display:none}
  .fb-mobile-menu{display:block}
  .fb-brand img{width:210px;max-width:62vw}
  .fb-header-inner{min-height:68px}
  .fb-hero{padding:58px 0}
  .fb-hero-grid{grid-template-columns:1fr;gap:32px}
  .fb-stat-panel{max-width:560px}
  .fb-section{padding:52px 0}
  .fb-forum-grid{grid-template-columns:1fr}
  .fb-community-box{align-items:flex-start;flex-direction:column}
  #bbpress-forums li.bbp-header{display:none!important}
  #bbpress-forums li.bbp-body>ul{
    grid-template-columns:minmax(0,1fr) auto!important;gap:0!important;padding:16px!important
  }
  #bbpress-forums li.bbp-body>ul>li{padding:6px!important}
  #bbpress-forums li.bbp-body>ul>li.bbp-forum-info,
  #bbpress-forums li.bbp-body>ul>li.bbp-topic-title{grid-column:1/2!important;grid-row:1/3!important}
  #bbpress-forums li.bbp-body>ul>li.bbp-forum-topic-count,
  #bbpress-forums li.bbp-body>ul>li.bbp-topic-voice-count{grid-column:2!important;grid-row:1!important;min-width:54px!important}
  #bbpress-forums li.bbp-body>ul>li.bbp-forum-reply-count,
  #bbpress-forums li.bbp-body>ul>li.bbp-topic-reply-count{grid-column:2!important;grid-row:2!important;min-width:54px!important}
  #bbpress-forums li.bbp-body>ul>li.bbp-forum-freshness,
  #bbpress-forums li.bbp-body>ul>li.bbp-topic-freshness{display:none!important}
}

@media (max-width:600px){
  .fb-container{width:min(100% - 22px,1180px)}
  .fb-hero h1{font-size:38px}
  .fb-hero-copy>p{font-size:16px}
  .fb-stat-panel{grid-template-columns:repeat(3,1fr)}
  .fb-stat{padding:16px 7px}
  .fb-stat strong{font-size:22px}
  .fb-section-head{align-items:flex-start;flex-direction:column}
  .fb-section-head h2,.fb-community-box h2{font-size:30px}
  .fb-forum-card-link{padding:17px;min-height:0}
  .fb-forum-mark{width:40px;height:40px;flex-basis:40px}
  .fb-topic-row{padding:16px;gap:12px}
  .fb-topic-count{flex-basis:50px}
  .fb-community-box{padding:26px 22px}
  .fb-footer-grid{grid-template-columns:1fr}
  .fb-footer-bottom{flex-direction:column}
  .fb-forum-hero{padding:34px 0}
  .fb-forum-content{padding:22px 0 50px}
  #bbpress-forums li.bbp-body>ul{padding:12px!important}
  #bbpress-forums .bbp-forum-feature-img{width:48px!important;height:48px!important;flex-basis:48px!important}
  #bbpress-forums .bbp-forum-title,
  #bbpress-forums .bbp-topic-permalink{font-size:14px!important}
  #bbpress-forums .bbp-forum-content>p{display:none!important}
  .fb-bbp-search form,.fb-forum-search{padding:5px}
  .fb-bbp-search button,.fb-forum-search button{padding-inline:14px}
}
