/* HitsBay V301.56 — Nordic Power public homepage refinement.
   Homepage-only overrides. Does not alter Layout Manager order, visibility,
   data-hb-surface preferences, voting, card links or member/admin routes. */
body.hb2962-home.hb302-public{
  background:linear-gradient(180deg,#f3f6fc 0,#f6f8fc 580px,#f8f9fd 100%);
}
body.hb2962-home .hb-new-home{
  --hb56-navy:#11294a;
  --hb56-ink:#172e4d;
  --hb56-muted:#526785;
  --hb56-gold:#edbb50;
  --hb56-blue:#1964c9;
  --hb56-line:#dce5f2;
}
body.hb2962-home .hb-new-home :is(section,article){min-width:0}
body.hb2962-home .hb-new-home :is(a,button,input):focus-visible{
  outline:3px solid #e9a936!important;outline-offset:3px;
}
/* An editorial section heading, not another tall welcome hero. */
body.hb2962-home .hb-new-home .hb29621-pulse[data-hb-surface="none"] > .hb-section-head{
  position:relative;display:flex;align-items:center;gap:18px;
  margin:0 0 18px!important;padding:18px 22px!important;
  border:1px solid #304a72!important;border-radius:19px!important;
  background:radial-gradient(circle at 92% 10%,rgba(82,146,244,.22),transparent 40%),linear-gradient(118deg,#102544,#183960)!important;
  box-shadow:0 14px 34px rgba(16,37,68,.13)!important;
}
body.hb2962-home .hb-new-home .hb29621-pulse[data-hb-surface="none"] .hb-section-head small{
  display:inline-flex;align-items:center;gap:7px;color:#f5cb70!important;
  font-size:10px!important;letter-spacing:.15em!important;font-weight:900;
}
body.hb2962-home .hb-new-home .hb29621-pulse[data-hb-surface="none"] .hb-section-head small:before{
  content:"";width:7px;height:7px;background:#79d9e6;border-radius:50%;box-shadow:0 0 0 4px rgba(121,217,230,.12)
}
body.hb2962-home .hb-new-home .hb29621-pulse[data-hb-surface="none"] .hb-section-head h2{
  color:#fff!important;font-size:clamp(25px,2.35vw,35px)!important;line-height:1.13!important;
  font-weight:850!important;letter-spacing:-.048em!important;margin:5px 0!important;
}
body.hb2962-home .hb-new-home .hb29621-pulse[data-hb-surface="none"] .hb-section-head .hb2961-section-desc{
  color:#cfdef0!important;font-size:12px!important;line-height:1.55!important;margin:0!important;max-width:620px
}
body.hb2962-home .hb-new-home .hb29621-pulse[data-hb-surface="none"] .hb-section-head>a{
  flex:none;min-height:42px;display:inline-flex;align-items:center;justify-content:center;
  padding:9px 15px!important;border-radius:11px!important;
  background:rgba(255,255,255,.11)!important;border:1px solid rgba(235,244,255,.35)!important;
  color:#fff!important;font-size:12px!important;font-weight:800!important;text-decoration:none!important;
}
body.hb2962-home .hb-new-home .hb29621-pulse[data-hb-surface="none"] .hb-section-head>a:hover{background:rgba(255,255,255,.19)!important}
/* The manager's optional surface colors remain authoritative. */
body.hb2962-home .hb-new-home .hb29621-pulse:not([data-hb-surface="none"])>.hb-section-head{
  margin-bottom:17px!important;
}
/* Nine compact, consistent community recommendation cards. */
body.hb2962-home .hb-new-home .hb29621-pulse .hb-site-grid{
  display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;
  gap:14px!important;align-items:stretch;
}
body.hb2962-home .hb-new-home .hb29621-pulse .hb2961-site-card{
  display:flex!important;flex-direction:column;min-width:0;overflow:hidden;
  border:1px solid var(--hb56-line)!important;border-radius:16px!important;
  background:#fff!important;
  box-shadow:0 7px 22px rgba(19,45,85,.06)!important;
  transform:none;transition:border-color .2s,box-shadow .2s;
}
body.hb2962-home .hb-new-home .hb29621-pulse .hb2961-site-card:hover{
  border-color:#a5c0e5!important;box-shadow:0 13px 28px rgba(19,45,85,.12)!important;transform:none!important;
}
body.hb2962-home .hb-new-home .hb2961-site-card-head{
  display:flex;justify-content:space-between;align-items:center;gap:8px;
  padding:11px 15px!important;
  background:#f3f7fc;border-bottom:1px solid #e6edf7;
}
body.hb2962-home .hb-new-home .hb2961-card-state{
  font-size:10px!important;font-weight:850!important;letter-spacing:.015em;
}
body.hb2962-home .hb-new-home .hb2961-card-state.is-voted{
  color:#125a69!important;background:#def6f5!important;border-radius:999px!important;padding:5px 8px!important;
}
body.hb2962-home .hb-new-home .hb2961-card-state.is-recent{
  color:#4b5b78!important;background:#e7ecf7!important;border-radius:999px!important;padding:5px 8px!important;
}
body.hb2962-home .hb-new-home .hb2961-card-window{font-size:10px!important;color:#647691!important;white-space:nowrap}
body.hb2962-home .hb-new-home .hb2961-site-card>.hb-site-top{
  display:flex;align-items:center;gap:12px;min-height:100px;padding:14px 15px 10px!important;
}
body.hb2962-home .hb-new-home .hb2961-site-card .hb-home-logo{
  width:56px!important;height:56px!important;flex:0 0 56px!important;
  display:grid;place-items:center;
  border-radius:13px!important;border:1px solid #d9e5f4!important;
  background:linear-gradient(150deg,#eaf4ff,#f1edff)!important;
  overflow:hidden;
}
body.hb2962-home .hb-new-home .hb2961-site-card .hb-home-logo img{
  display:block;max-width:52px!important;max-height:52px!important;object-fit:contain
}
body.hb2962-home .hb-new-home .hb2961-site-card .hb-home-logo-letter{font-weight:900;color:#315a99}
body.hb2962-home .hb-new-home .hb2961-site-card .hb-site-top>div:last-child{min-width:0;flex:1}
body.hb2962-home .hb-new-home .hb2961-site-card .hb-site-name{
  color:var(--hb56-ink)!important;font-size:clamp(14px,1.3vw,17px)!important;font-weight:850!important;
  line-height:1.27!important;overflow-wrap:anywhere;text-decoration:none;
}
body.hb2962-home .hb-new-home .hb2961-site-card .hb-site-name:hover{color:#1964c9!important;text-decoration:underline}
body.hb2962-home .hb-new-home .hb2961-site-card .hb-stars{font-size:11px!important;color:#b16a11!important}
/* The vote buttons already show the counts, so avoid displaying them twice. */
body.hb2962-home .hb-new-home .hb2961-site-card .hb2961-card-facts{display:none!important}
body.hb2962-home .hb-new-home .hb2961-site-card .hb-vote-form{
  display:flex;gap:7px;padding:0 15px 12px!important;margin-top:auto;
}
body.hb2962-home .hb-new-home .hb2961-site-card .hb-vote-form button{
  flex:1;min-height:37px!important;border:1px solid #dce5f2!important;
  border-radius:9px!important;background:#f4f7fc!important;
  color:#3a5579!important;transition:background .17s;
}
body.hb2962-home .hb-new-home .hb2961-site-card .hb-vote-form button:hover{background:#e9f1fe!important}
body.hb2962-home .hb-new-home .hb2961-site-card .hb-actions{
  display:grid;grid-template-columns:1fr 1fr;gap:8px;
  padding:0 15px 15px!important;
}
body.hb2962-home .hb-new-home .hb2961-site-card .hb-actions>a{
  display:flex;align-items:center;justify-content:center;text-align:center;
  min-height:41px!important;min-width:0;padding:8px!important;
  border-radius:10px!important;font-size:11px!important;font-weight:850!important;
  text-decoration:none!important;box-sizing:border-box;
}
body.hb2962-home .hb-new-home .hb2961-site-card .hb-actions>a:not(.primary){
  color:#264467!important;background:#eef3fa!important;border:1px solid #dce5f2!important;
}
body.hb2962-home .hb-new-home .hb2961-site-card .hb-actions>a.primary{
  color:#fff!important;background:linear-gradient(130deg,#1966d0,#1c4fa9)!important;
  border:1px solid #1b58b9!important;box-shadow:0 4px 9px rgba(23,82,176,.15)!important;
}
/* Keep the compact trust note and the rest of the homepage calm. */
body.hb2962-home .hb-new-home .hb2961-content-note{
  margin:16px 0 44px!important;padding:13px 16px!important;
  background:#edf3fc!important;border:1px solid #d8e4f4!important;
  border-radius:13px!important;box-shadow:none!important;
}
body.hb2962-home .hb-new-home .hb2961-content-note :is(p,a){font-size:12px!important;line-height:1.55!important}
body.hb2962-home .hb-new-home .hb2962-create{margin-bottom:54px!important}
body.hb2962-home .hb-new-home .hb2962-section-intro{gap:14px!important;margin-bottom:19px!important}
body.hb2962-home .hb-new-home .hb2962-section-intro h2{
  color:var(--hb56-ink)!important;letter-spacing:-.05em!important;font-size:clamp(26px,2.5vw,37px)!important;
}
body.hb2962-home .hb-new-home .hb2962-builder-grid{gap:16px!important}
body.hb2962-home .hb-new-home .hb2962-builder-card{
  border-radius:20px!important;box-shadow:0 10px 32px rgba(22,45,80,.07)!important;min-width:0;
}
body.hb2962-home .hb-new-home .hb2962-builder-card .hb2962-builder-copy{
  padding:26px 14px 25px 25px!important;
}
body.hb2962-home .hb-new-home .hb2962-builder-card h3{font-size:clamp(27px,2.3vw,36px)!important}
body.hb2962-home .hb-new-home .hb2962-builder-card .hb2962-builder-link{min-height:41px;box-sizing:border-box}
body.hb2962-home .hb-new-home :is(.hb2961-explore,.hb-two-col,.hb2961-recent,.hb2962-bottom-creator){min-width:0}
/* Honor reduced motion and ensure a functional two-column then single-column layout. */
@media(max-width:980px){
  body.hb2962-home .hb-new-home .hb29621-pulse .hb-site-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}
}
@media(max-width:640px){
  body.hb2962-home .hb-new-home .hb29621-pulse[data-hb-surface="none"]>.hb-section-head{
    display:block;padding:17px 16px!important;border-radius:16px!important;
  }
  body.hb2962-home .hb-new-home .hb29621-pulse[data-hb-surface="none"] .hb-section-head h2{font-size:26px!important}
  body.hb2962-home .hb-new-home .hb29621-pulse[data-hb-surface="none"] .hb-section-head>a{
    margin-top:12px;min-height:38px!important;
  }
  body.hb2962-home .hb-new-home .hb29621-pulse .hb-site-grid{grid-template-columns:1fr!important;gap:12px!important}
  body.hb2962-home .hb-new-home .hb2961-site-card>.hb-site-top{min-height:0;padding-top:12px!important}
  body.hb2962-home .hb-new-home .hb2961-site-card .hb-vote-form{margin-top:0}
  body.hb2962-home .hb-new-home .hb2961-content-note{margin-bottom:37px!important}
  body.hb2962-home .hb-new-home .hb2962-builder-card .hb2962-builder-copy{padding:22px!important}
}
@media(prefers-reduced-motion:reduce){
  body.hb2962-home .hb-new-home .hb2961-site-card,
  body.hb2962-home .hb-new-home .hb2961-site-card *{transition:none!important}
}
