/* SS26 default business front page */
.ss26-front-page{
  padding-block:clamp(1rem,2.6vw,2.2rem) clamp(2.2rem,5vw,4.2rem);
}

.ss26-front-page .btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:.45rem;
  min-height:44px;
  padding:.68rem 1.05rem;
  border-width:1px;
  border-radius:1rem;
  line-height:1.35;
  font-weight:900;
  white-space:nowrap;
}

.ss26-front-page .btn .ss26-icon{
  --ss26-icon-size:1.08rem;
  flex:0 0 auto;
}

.ss26-home-hero-wrap{
  margin-bottom:clamp(1.55rem,3.2vw,2.7rem);
}

.ss26-home-hero{
  position:relative;
  overflow:hidden;
  display:grid;
  grid-template-columns:minmax(0,1.02fr) minmax(340px,.98fr);
  gap:clamp(1rem,3vw,2.1rem);
  align-items:center;
  padding:clamp(1.15rem,3.2vw,2.75rem);
  border:1px solid rgba(var(--ss26-primary-rgb),.12);
  border-radius:calc(var(--ss26-radius-lg) + .35rem);
  background:
    radial-gradient(circle at 12% 18%, rgba(var(--ss26-primary-rgb),.16), transparent 18rem),
    radial-gradient(circle at 92% 0%, rgba(var(--ss26-accent-rgb),.15), transparent 22rem),
    linear-gradient(135deg, rgba(var(--ss26-surface-rgb),.97), rgba(var(--ss26-surface-alt-rgb),.74));
  box-shadow:0 24px 70px rgba(15,23,42,.075);
}

.ss26-home-hero::before,
.ss26-home-hero::after{
  content:'';
  position:absolute;
  pointer-events:none;
}

.ss26-home-hero::before{
  width:18rem;
  height:18rem;
  inset-inline-start:-9rem;
  bottom:-11rem;
  border-radius:999px;
  background:rgba(var(--ss26-primary-rgb),.10);
}

.ss26-home-hero::after{
  width:10rem;
  height:10rem;
  inset-inline-end:8%;
  top:16%;
  border:1px solid rgba(var(--ss26-primary-rgb),.13);
  border-radius:2.4rem;
  transform:rotate(14deg);
  opacity:.58;
}

.ss26-home-hero > *{
  position:relative;
  z-index:1;
  min-width:0;
}

.ss26-home-hero-content{
  max-width:720px;
}

.ss26-home-hero-title{
  max-width:14ch;
  margin:0 0 .8rem;
  color:var(--ss26-heading);
  font-size:clamp(2rem,4.2vw,3.8rem);
  font-weight:950;
  line-height:1.42;
  letter-spacing:-.035em;
}

.ss26-home-hero-text{
  max-width:66ch;
  margin:0;
  color:var(--ss26-muted);
  font-size:clamp(1rem,1.3vw,1.14rem);
  line-height:2.08;
}

.ss26-home-hero-actions{
  display:flex;
  flex-wrap:wrap;
  gap:.75rem;
  margin-top:1.35rem;
}

.ss26-home-hero-stats{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:.85rem;
  align-self:stretch;
  align-content:center;
}

.ss26-home-stat-card{
  position:relative;
  overflow:hidden;
  display:flex;
  min-width:0;
  align-items:center;
  gap:.82rem;
  padding:1rem 1.05rem;
  border:1px solid rgba(var(--ss26-primary-rgb),.10);
  border-radius:1.25rem;
  background:linear-gradient(180deg,rgba(var(--ss26-surface-rgb),.88),rgba(var(--ss26-surface-rgb),.78));
  box-shadow:0 10px 24px rgba(15,23,42,.045);
  backdrop-filter:blur(8px);
  cursor:default;
  user-select:none;
}

.ss26-home-stat-card::after{
  content:'';
  position:absolute;
  width:5rem;
  height:5rem;
  inset-inline-end:-2.5rem;
  top:-2.8rem;
  border-radius:999px;
  background:rgba(var(--ss26-primary-rgb),.08);
  pointer-events:none;
}

.ss26-home-stat-icon,
.ss26-home-section-icon,
.ss26-home-term-icon,
.ss26-home-list-icon{
  display:inline-flex;
  flex:0 0 auto;
  align-items:center;
  justify-content:center;
  color:var(--ss26-primary);
  background:rgba(var(--ss26-primary-rgb),.09);
}

.ss26-home-stat-icon{
  width:2.55rem;
  height:2.55rem;
  border:1px solid rgba(var(--ss26-primary-rgb),.12);
  border-radius:.95rem;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.45);
}

.ss26-home-stat-icon .ss26-icon{
  --ss26-icon-size:1.22rem;
  --ss26-icon-stroke-width:2.05;
}

.ss26-home-stat-content{
  display:block;
  min-width:0;
}

.ss26-home-stat-content strong,
.ss26-home-stat-content small{
  display:block;
}

.ss26-home-stat-content strong{
  color:var(--ss26-heading);
  font-size:1.34rem;
  font-weight:950;
  line-height:1.2;
  font-variant-numeric:tabular-nums;
}

.ss26-home-stat-content small{
  margin-top:.2rem;
  color:var(--ss26-muted);
  font-size:.86rem;
  font-weight:850;
  line-height:1.7;
}

.ss26-home-section{
  margin-top:clamp(1.7rem,3.5vw,3rem);
}

.ss26-home-section-head{
  display:flex;
  align-items:flex-end;
  justify-content:space-between;
  gap:1rem;
  margin-bottom:1rem;
}

.ss26-home-section-heading{
  display:flex;
  min-width:0;
  align-items:flex-start;
  gap:.78rem;
}

.ss26-home-section-icon{
  width:2.8rem;
  height:2.8rem;
  margin-top:.18rem;
  border:1px solid rgba(var(--ss26-primary-rgb),.13);
  border-radius:1rem;
  box-shadow:0 12px 28px rgba(var(--ss26-primary-rgb),.10);
}

.ss26-home-section-icon .ss26-icon{
  --ss26-icon-size:1.28rem;
  --ss26-icon-stroke-width:2.05;
}

.ss26-home-section-copy{
  min-width:0;
}

.ss26-home-section-title{
  margin:0;
  color:var(--ss26-heading);
  font-size:clamp(1.28rem,2.05vw,1.82rem);
  font-weight:950;
  line-height:1.6;
}

.ss26-home-section-text{
  max-width:68ch;
  margin:.18rem 0 0;
  color:var(--ss26-muted);
  font-size:.96rem;
  line-height:1.95;
}

.ss26-home-section-link{
  flex:0 0 auto;
}

.ss26-home-scroll{
  display:flex;
  flex-wrap:nowrap;
  gap:1rem;
  overflow-x:auto;
  overflow-y:hidden;
  padding:.2rem .05rem 1rem;
  scroll-padding-inline:1rem;
  scroll-snap-type:x proximity;
  scrollbar-width:thin;
  -webkit-overflow-scrolling:touch;
}

.ss26-home-scroll:focus-visible{
  outline:3px solid rgba(var(--ss26-primary-rgb),.28);
  outline-offset:4px;
  border-radius:1rem;
}

.ss26-home-scroll > *{
  flex:0 0 auto;
  scroll-snap-align:start;
}

.ss26-home-card,
.ss26-home-term-card,
.ss26-home-list-item,
.ss26-home-comment-item{
  color:inherit;
  text-decoration:none;
}

.ss26-home-card,
.ss26-home-term-card,
.ss26-home-list-item,
.ss26-home-comment-item{
  border:1px solid var(--ss26-border);
  background:rgba(var(--ss26-surface-rgb),.96);
  box-shadow:var(--ss26-shadow-soft);
  transition:transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

.ss26-home-card:hover,
.ss26-home-term-card:hover,
.ss26-home-list-item:hover,
.ss26-home-comment-item:hover{
  transform:translateY(-3px);
  border-color:rgba(var(--ss26-primary-rgb),.24);
  box-shadow:0 18px 44px rgba(15,23,42,.10);
}

.ss26-home-product-card{
  display:flex;
  width:clamp(210px,20vw,252px);
  overflow:hidden;
  flex-direction:column;
  border-radius:var(--ss26-radius-lg);
}

.ss26-home-article-card{
  width:clamp(270px,27vw,346px);
  overflow:hidden;
  border-radius:var(--ss26-radius-lg);
}

.ss26-home-card-image{
  position:relative;
  display:block;
  aspect-ratio:var(--ss26-product-image-ratio, 1/1);
  overflow:hidden;
  background:var(--ss26-product-image-bg, var(--ss26-surface-alt));
}

.ss26-home-article-card .ss26-home-card-image{
  aspect-ratio:16/10;
}

.ss26-home-card-image-img{
  display:block;
  width:100%;
  height:100%;
  object-fit:var(--ss26-product-image-fit, cover);
  transition:transform .22s ease;
}

.ss26-home-card:hover .ss26-home-card-image-img{
  transform:scale(1.025);
}

.ss26-home-card-image-placeholder{
  display:flex;
  width:100%;
  height:100%;
  align-items:center;
  justify-content:center;
  color:rgba(var(--ss26-primary-rgb),.45);
}

.ss26-home-card-image-placeholder .ss26-icon{
  --ss26-icon-size:2.25rem;
  --ss26-icon-stroke-width:1.8;
}

.ss26-home-product-badge{
  position:absolute;
  z-index:2;
  top:.72rem;
  inset-inline-start:.72rem;
  padding:.28rem .66rem;
  border-radius:999px;
  color:#fff;
  background:linear-gradient(135deg,#ef4444,#f97316);
  font-size:.78rem;
  font-weight:950;
  line-height:1.7;
  box-shadow:0 10px 24px rgba(239,68,68,.22);
}

.ss26-home-card-body{
  display:flex;
  min-height:0;
  flex-direction:column;
  gap:.62rem;
  padding:1rem;
}

.ss26-home-product-card .ss26-home-card-body{
  flex:1 1 auto;
}

.ss26-home-card-meta{
  display:flex;
  flex-wrap:wrap;
  gap:.65rem;
  color:var(--ss26-muted);
  font-size:.82rem;
  font-weight:800;
}

.ss26-home-card-meta span{
  display:inline-flex;
  align-items:center;
  gap:.32rem;
}

.ss26-home-card-meta .ss26-icon{
  --ss26-icon-size:.98rem;
}

.ss26-home-card-title{
  margin:0;
  color:var(--ss26-heading);
  font-size:1rem;
  font-weight:950;
  line-height:1.75;
}

.ss26-home-card-title a{
  display:-webkit-box;
  overflow:hidden;
  color:inherit;
  text-decoration:none;
  -webkit-line-clamp:2;
  -webkit-box-orient:vertical;
}

.ss26-home-product-card .ss26-home-card-title a{
  display:block;
  overflow:hidden;
  white-space:nowrap;
  text-overflow:ellipsis;
  -webkit-line-clamp:unset;
  -webkit-box-orient:initial;
}

.ss26-home-card-title a:hover,
.ss26-home-list-item:hover strong,
.ss26-home-comment-item:hover strong,
.ss26-home-term-card:hover strong{
  color:var(--ss26-primary);
}

.ss26-home-card-excerpt{
  display:-webkit-box;
  overflow:hidden;
  min-height:3.35em;
  margin:0;
  color:var(--ss26-muted);
  font-size:.92rem;
  line-height:1.85;
  -webkit-line-clamp:2;
  -webkit-box-orient:vertical;
}


.ss26-home-card-actions{
  margin-top:auto;
}

.ss26-home-card-actions .btn{
  width:100%;
  min-height:42px;
}

.ss26-home-term-card{
  position:relative;
  overflow:hidden;
  display:flex;
  width:clamp(176px,18vw,224px);
  min-height:104px;
  align-items:center;
  gap:.72rem;
  padding:1rem;
  border-radius:1.15rem;
}

.ss26-home-term-card::after{
  content:'';
  position:absolute;
  width:5rem;
  height:5rem;
  inset-inline-end:-2.4rem;
  bottom:-2.7rem;
  border-radius:999px;
  background:rgba(var(--ss26-primary-rgb),.075);
  pointer-events:none;
}

.ss26-home-term-icon{
  width:2.7rem;
  height:2.7rem;
  border-radius:1rem;
}

.ss26-home-term-icon .ss26-icon{
  --ss26-icon-size:1.2rem;
}

.ss26-home-term-content{
  position:relative;
  z-index:1;
  display:block;
  min-width:0;
}

.ss26-home-term-card strong,
.ss26-home-term-card small{
  display:block;
}

.ss26-home-term-card strong{
  overflow:hidden;
  color:var(--ss26-heading);
  font-weight:950;
  line-height:1.7;
  text-overflow:ellipsis;
  white-space:nowrap;
}

.ss26-home-term-card small{
  margin-top:.12rem;
  color:var(--ss26-muted);
  font-size:.84rem;
  font-weight:850;
}

.ss26-home-list-item,
.ss26-home-comment-item{
  display:flex;
  width:clamp(280px,30vw,390px);
  min-width:0;
  gap:.78rem;
  align-items:flex-start;
  padding:.95rem;
  border-radius:1.15rem;
}

.ss26-home-list-icon,
.ss26-home-comment-avatar{
  flex:0 0 auto;
}

.ss26-home-list-icon{
  width:2.65rem;
  height:2.65rem;
  border-radius:1rem;
}

.ss26-home-list-icon .ss26-icon{
  --ss26-icon-size:1.18rem;
}

.ss26-home-list-content,
.ss26-home-comment-content{
  display:block;
  min-width:0;
}

.ss26-home-list-content strong,
.ss26-home-comment-content strong,
.ss26-home-comment-content small,
.ss26-home-comment-content span{
  display:block;
}

.ss26-home-list-content strong,
.ss26-home-comment-content strong{
  overflow:hidden;
  color:var(--ss26-heading);
  font-size:.98rem;
  font-weight:950;
  line-height:1.8;
  text-overflow:ellipsis;
  white-space:nowrap;
}

.ss26-home-list-content small,
.ss26-home-comment-content small,
.ss26-home-comment-content span{
  color:var(--ss26-muted);
  font-size:.84rem;
  font-weight:800;
  line-height:1.75;
}

.ss26-home-comment-avatar img,
.ss26-home-avatar-img{
  display:block;
  width:2.65rem;
  height:2.65rem;
  border-radius:1rem;
  object-fit:cover;
}

.ss26-home-comment-content span{
  display:-webkit-box;
  overflow:hidden;
  margin-top:.15rem;
  font-weight:700;
  -webkit-line-clamp:2;
  -webkit-box-orient:vertical;
}

.ss26-home-empty{
  display:flex;
  align-items:center;
  justify-content:center;
  gap:.55rem;
  margin-bottom:0;
  color:var(--ss26-muted);
  font-weight:800;
  text-align:center;
}

.ss26-home-empty .ss26-icon{
  color:var(--ss26-primary);
}

body.ss26-color-mode-dark .ss26-home-hero,
body.ss26-color-mode-dark .ss26-home-stat-card,
body.ss26-color-mode-dark .ss26-home-card,
body.ss26-color-mode-dark .ss26-home-term-card,
body.ss26-color-mode-dark .ss26-home-list-item,
body.ss26-color-mode-dark .ss26-home-comment-item{
  border-color:rgba(255,255,255,.10);
}

body.ss26-color-mode-dark .ss26-home-hero{
  box-shadow:0 24px 70px rgba(0,0,0,.22);
}

@media (max-width:1199.98px){
  .ss26-home-hero{
    grid-template-columns:minmax(0,1fr);
  }

  .ss26-home-hero-title{
    max-width:none;
  }
}

@media (max-width:767.98px){
  .ss26-home-section-head{
    align-items:flex-start;
    flex-direction:column;
  }

  .ss26-home-section-link{
    width:100%;
  }

  .ss26-home-hero-stats{
    grid-template-columns:repeat(2,minmax(0,1fr));
  }
}

@media (max-width:575.98px){
  .ss26-front-page{
    padding-block:1rem 2.25rem;
  }

  .ss26-home-hero{
    padding:1rem;
    border-radius:1.15rem;
  }

  .ss26-home-hero-actions .btn{
    width:100%;
  }

  .ss26-home-hero-stats{
    grid-template-columns:1fr;
  }

  .ss26-home-section-heading{
    gap:.62rem;
  }

  .ss26-home-section-icon{
    width:2.55rem;
    height:2.55rem;
    border-radius:.9rem;
  }

  .ss26-home-scroll{
    gap:.75rem;
    margin-inline:-.15rem;
    padding-inline:.15rem;
  }

  .ss26-home-product-card{
    width:218px;
  }

  .ss26-home-article-card,
  .ss26-home-list-item,
  .ss26-home-comment-item{
    width:min(82vw,320px);
  }

  .ss26-home-term-card{
    width:176px;
  }

  .ss26-home-card-body,
  .ss26-home-term-card,
  .ss26-home-list-item,
  .ss26-home-comment-item{
    padding:.9rem;
  }
}

/* Term thumbnails */
.ss26-home-term-image{
  position:relative;
  z-index:1;
  display:block;
  flex:0 0 auto;
  width:3.25rem;
  height:3.25rem;
  overflow:hidden;
  border:1px solid rgba(var(--ss26-primary-rgb),.14);
  border-radius:1rem;
  background:var(--ss26-product-image-bg, var(--ss26-surface-alt));
}

.ss26-home-term-image-img{
  display:block;
  width:100%;
  height:100%;
  object-fit:cover;
}

/* SS26 2.9.11 - Comment avatar fallback on home rows */
.ss26-home-comment-avatar{
  position:relative;
  width:2.65rem;
  height:2.65rem;
}

.ss26-home-comment-avatar .ss26-comment-avatar-fallback{
  border:1px solid rgba(var(--ss26-primary-rgb),.14);
  border-radius:1rem;
  background:rgba(var(--ss26-primary-rgb),.08);
}
