/* SchneeToni Social Hub – Premium + Logos (v1.0.4)
   - Inline SVG icons (no external assets)
   - Subtle brand accents per platform (premium, not loud)
*/
:root{
  --stsh-radius-lg: 22px;
  --stsh-radius-md: 16px;
  --stsh-border: rgba(0,0,0,.08);
  --stsh-border-strong: rgba(0,0,0,.14);
  --stsh-bg: rgba(255,255,255,.55);
  --stsh-card-bg: rgba(255,255,255,.78);
  --stsh-shadow: 0 10px 30px rgba(0,0,0,.06);
  --stsh-shadow-hover: 0 14px 36px rgba(0,0,0,.08);
}

.stsh-wrap{ margin-top: 28px; }

.stsh-hub--premium{
  border-radius: var(--stsh-radius-lg);
  border: 1px solid var(--stsh-border);
  background: var(--stsh-bg);
  box-shadow: var(--stsh-shadow);
  padding: 22px 22px 18px;
  position: relative;
  overflow: visible;
}

.stsh-hub--premium::before{
  content:"";
  position:absolute;
  left: 18px;
  right: 18px;
  top: 10px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(0,0,0,.10), transparent);
  pointer-events:none;
}

.stsh-head{ margin: 6px 0 14px; }

.stsh-title{
  margin: 0 0 6px 0;
  font-size: clamp(1.05rem, 1.0rem + .4vw, 1.25rem);
  line-height: 1.2;
  letter-spacing: -0.01em;
}

.stsh-subtitle{
  margin: 0;
  opacity: .82;
  font-size: 0.98rem;
  line-height: 1.35;
}

.stsh-grid{
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  align-items: stretch;
}

.stsh-card{
  --stsh-accent: rgba(0,0,0,.18);
  border-radius: var(--stsh-radius-md);
  border: 1px solid var(--stsh-border);
  background: var(--stsh-card-bg);
  text-decoration: none;
  color: inherit;
  padding: 14px 14px 12px;
  min-height: 116px;
  display: grid;
  grid-template-rows: auto 1fr auto;
  transition: transform .16s ease, border-color .16s ease, box-shadow .16s ease, background .16s ease;
  position: relative;
  overflow: visible;
}

/* subtle accent strip */
.stsh-card::before{
  content:"";
  position:absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: var(--stsh-accent);
  opacity: .9;
}

.stsh-card:hover{
  transform: translateY(-2px);
  border-color: var(--stsh-border-strong);
  box-shadow: var(--stsh-shadow-hover);
  background: rgba(255,255,255,.88);
}

.stsh-card:focus-visible{
  outline: 2px solid rgba(0,0,0,.35);
  outline-offset: 3px;
}

.stsh-card-top{
  display:flex;
  align-items:center;
  gap: 10px;
  min-width: 0;
}

.stsh-badge{
  width: 34px;
  height: 34px;
  border-radius: 12px;
  background: color-mix(in srgb, var(--stsh-accent) 18%, rgba(255,255,255,.92));
  border: 1px solid rgba(0,0,0,.08);
  display:grid;
  place-items:center;
  flex: 0 0 34px;
}

.stsh-badge svg{
  width: 18px;
  height: 18px;
  fill: color-mix(in srgb, var(--stsh-accent) 65%, rgba(0,0,0,.65));
}

.stsh-platform{
  font-weight: 760;
  letter-spacing: -0.01em;
  font-size: 1.0rem;
  min-width: 0;
  overflow-wrap: anywhere;
}

.stsh-micro{
  margin-top: 8px;
  opacity: .82;
  font-size: 0.95rem;
  line-height: 1.25;
}

.stsh-cta{
  justify-self: start;
  margin-top: 10px;
  font-weight: 700;
  font-size: 0.95rem;
  opacity: .92;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 10px;
  border-radius: 999px;
  border: 1px solid rgba(0,0,0,.10);
  background: rgba(255,255,255,.55);
}

.stsh-card:hover .stsh-cta{
  border-color: rgba(0,0,0,.16);
  background: rgba(255,255,255,.70);
}

.stsh-cta::after{ content:"→"; line-height:1; }

/* Brand accents (subtle, premium) */
.stsh-card--facebook{ --stsh-accent: #1877F2; }
.stsh-card--instagram{ --stsh-accent: #E1306C; }
.stsh-card--tiktok{ --stsh-accent: #00F2EA; }
.stsh-card--threads{ --stsh-accent: #111111; }
.stsh-card--youtube{ --stsh-accent: #FF0000; }

@media (max-width: 980px){
  .stsh-grid{ grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 560px){
  .stsh-hub--premium{ padding: 18px 16px 14px; }
  .stsh-grid{ grid-template-columns: 1fr; }
}


/* v1.0.6 – strict single-line alignment */
.stsh-card{
  min-height: 132px;
}

.stsh-card-top{
  align-items: center;
}

.stsh-platform{
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 100%;
}

.stsh-micro{
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* ensure equal CTA alignment */
.stsh-cta{
  align-self: start;
}
