/* === Home Socials Section - v1.48.20 column exactness fix ===
   Desktopta panelden seçilen kolon sayısı birebir uygulanır.
   5 kolon seçildiğinde 5 kart aynı satırda kalır; 6 seçilirse 6 aynı satırda kalır.
*/
body:not(.admin-body) .kb-home-socials{
  width:100%;
  max-width:100%;
  min-width:0!important;
  margin:18px auto 20px;
  padding:0;
  overflow:visible;
}
html body:not(.admin-body) main.main.home-page .kb-home-socials-section-head.section-head,
html body:not(.admin-body) main.home-page .kb-home-socials-section-head.section-head{
  display:flex!important;
  align-items:center!important;
  gap:18px!important;
  margin:36px 0 18px!important;
  padding:0!important;
}
html body:not(.admin-body) main.main.home-page .kb-home-socials-section-head .home-section-title,
html body:not(.admin-body) main.home-page .kb-home-socials-section-head .home-section-title{
  margin:0!important;
  padding:0!important;
  font-size:26px!important;
  line-height:normal!important;
  font-weight:700!important;
}
html body:not(.admin-body) main.main.home-page .kb-home-socials-section-head .home-section-title span,
html body:not(.admin-body) main.home-page .kb-home-socials-section-head .home-section-title span{
  font-weight:700!important;
  line-height:normal!important;
}
html body:not(.admin-body) main.main.home-page .kb-home-socials-section-note,
html body:not(.admin-body) main.home-page .kb-home-socials-section-note{
  margin-left:auto!important;
  color:rgba(176, 205, 219, 0.76)!important;
  font-size:14px!important;
  line-height:normal!important;
  font-weight:700!important;
  text-align:right!important;
  letter-spacing:0!important;
  text-transform:none!important;
  max-width:520px!important;
}

/* Kolon fixinin ana noktası: eski 1200px altında 2 kolona düşüren kural kaldırıldı.
   901px ve üstünde panel değeri zorunlu olarak korunur. */
body:not(.admin-body) .kb-home-socials-grid{
  display:grid!important;
  width:100%!important;
  max-width:100%!important;
  min-width:0!important;
  grid-template-columns:repeat(var(--kb-home-social-cols, 4), minmax(0, 1fr))!important;
  gap:16px!important;
  align-items:stretch!important;
}
@media (min-width:901px){
  body:not(.admin-body) .kb-home-socials[data-cols="1"] .kb-home-socials-grid{ grid-template-columns:repeat(1, minmax(0, 1fr))!important; }
  body:not(.admin-body) .kb-home-socials[data-cols="2"] .kb-home-socials-grid{ grid-template-columns:repeat(2, minmax(0, 1fr))!important; }
  body:not(.admin-body) .kb-home-socials[data-cols="3"] .kb-home-socials-grid{ grid-template-columns:repeat(3, minmax(0, 1fr))!important; }
  body:not(.admin-body) .kb-home-socials[data-cols="4"] .kb-home-socials-grid{ grid-template-columns:repeat(4, minmax(0, 1fr))!important; }
  body:not(.admin-body) .kb-home-socials[data-cols="5"] .kb-home-socials-grid{ grid-template-columns:repeat(5, minmax(0, 1fr))!important; gap:12px!important; }
  body:not(.admin-body) .kb-home-socials[data-cols="6"] .kb-home-socials-grid{ grid-template-columns:repeat(6, minmax(0, 1fr))!important; gap:10px!important; }
  body:not(.admin-body) .kb-home-socials[data-cols="5"] .kb-home-social-card,
  body:not(.admin-body) .kb-home-socials[data-cols="6"] .kb-home-social-card{ padding:13px!important; min-height:112px!important; }
  body:not(.admin-body) .kb-home-socials[data-cols="5"] .kb-home-social-brand,
  body:not(.admin-body) .kb-home-socials[data-cols="6"] .kb-home-social-brand{ width:34px!important; height:34px!important; border-radius:11px!important; }
  body:not(.admin-body) .kb-home-socials[data-cols="5"] .kb-home-social-brand svg,
  body:not(.admin-body) .kb-home-socials[data-cols="6"] .kb-home-social-brand svg{ width:19px!important; height:19px!important; }
}
body:not(.admin-body) .kb-home-social-card{
  position:relative;
  min-width:0!important;
  min-height:116px;
  display:flex!important;
  flex-direction:column!important;
  justify-content:space-between!important;
  gap:14px;
  padding:16px;
  border-radius:16px;
  text-decoration:none;
  color:#fff;
  background:
    radial-gradient(circle at 18% 0%, rgba(255,255,255,.075), transparent 32%),
    linear-gradient(180deg, rgba(255,255,255,.045), rgba(255,255,255,.018)),
    rgba(18,23,34,.92);
  border:1px solid rgba(255,255,255,.075);
  box-shadow:0 14px 34px rgba(0,0,0,.22), inset 0 1px 0 rgba(255,255,255,.05);
  overflow:hidden;
  transition:transform .18s ease, border-color .18s ease, box-shadow .18s ease, background .18s ease;
  cursor:default;
}
body:not(.admin-body) .kb-home-social-card::after{
  content:"";
  position:absolute;
  inset:auto -26px -34px auto;
  width:110px;
  height:110px;
  border-radius:999px;
  background:var(--kb-social-glow, rgba(255,54,105,.22));
  filter:blur(22px);
  opacity:.62;
  pointer-events:none;
}
body:not(.admin-body) .kb-home-social-card:hover{
  transform:translateY(-3px);
  border-color:rgba(255,255,255,.16);
  box-shadow:0 18px 45px rgba(0,0,0,.30), 0 0 0 1px rgba(255,255,255,.04) inset;
}
body:not(.admin-body) .kb-home-social-top{
  position:relative;
  z-index:1;
  display:flex!important;
  align-items:flex-start!important;
  gap:12px;
  min-width:0!important;
  max-width:100%!important;
}
body:not(.admin-body) .kb-home-social-brand{
  flex:0 0 auto;
  width:38px;
  height:38px;
  border-radius:12px;
  display:grid;
  place-items:center;
  background:var(--kb-social-brand, linear-gradient(135deg, #ff2f6f, #ff8a3d));
  box-shadow:0 10px 20px rgba(0,0,0,.22), inset 0 1px 0 rgba(255,255,255,.18);
}
body:not(.admin-body) .kb-home-social-brand svg{ width:21px; height:21px; fill:#fff; }
body:not(.admin-body) .kb-home-social-text{
  min-width:0!important;
  max-width:100%!important;
  display:flex!important;
  flex-direction:column!important;
  align-items:flex-start!important;
  justify-content:flex-start!important;
  gap:4px!important;
  line-height:1.12!important;
}
body:not(.admin-body) .kb-home-social-handle,
body:not(.admin-body) .kb-home-social-name{
  display:block!important;
  width:100%!important;
  max-width:100%!important;
  white-space:nowrap!important;
  overflow:hidden!important;
  text-overflow:ellipsis!important;
  margin:0!important;
}
body:not(.admin-body) .kb-home-social-handle{ color:rgba(235,240,255,.72); font-weight:850; font-size:14px; }
body:not(.admin-body) .kb-home-social-name{ color:#fff; font-weight:900; font-size:15px; letter-spacing:-.02em; }
body:not(.admin-body) .kb-home-social-btn{
  position:relative;
  z-index:5;
  align-self:flex-start;
  margin-top:auto;
  text-decoration:none!important;
  cursor:pointer;
  pointer-events:auto;
  min-width:0!important;
  max-width:100%!important;
}
body:not(.admin-body) .kb-home-social-btn > span{ position:relative; z-index:2; pointer-events:none; }
body:not(.admin-body) .kb-home-social-card.brand-telegram{ --kb-social-brand:linear-gradient(135deg,#36b6ff,#168bdb); --kb-social-glow:rgba(42,171,238,.28); }
body:not(.admin-body) .kb-home-social-card.brand-instagram{ --kb-social-brand:linear-gradient(135deg,#833ab4,#fd1d1d 55%,#fcb045); --kb-social-glow:rgba(253,29,91,.25); }
body:not(.admin-body) .kb-home-social-card.brand-youtube{ --kb-social-brand:linear-gradient(135deg,#ff2020,#d90000); --kb-social-glow:rgba(255,0,0,.25); }
body:not(.admin-body) .kb-home-social-card.brand-kick{ --kb-social-brand:linear-gradient(135deg,#55ff55,#20b820); --kb-social-glow:rgba(83,255,83,.20); }
body:not(.admin-body) .kb-home-social-card.brand-x{ --kb-social-brand:linear-gradient(135deg,#10131a,#303846); --kb-social-glow:rgba(255,255,255,.12); }
body:not(.admin-body) .kb-home-social-card.brand-skype{ --kb-social-brand:linear-gradient(135deg,#25c8ff,#0078d4); --kb-social-glow:rgba(0,120,212,.28); }
body:not(.admin-body) .kb-home-social-card.brand-discord{ --kb-social-brand:linear-gradient(135deg,#7b8cff,#5865f2); --kb-social-glow:rgba(88,101,242,.26); }
body:not(.admin-body) .kb-home-social-card.brand-twitch{ --kb-social-brand:linear-gradient(135deg,#b26cff,#9146ff); --kb-social-glow:rgba(145,70,255,.24); }
body:not(.admin-body) .kb-home-social-card.brand-tiktok{ --kb-social-brand:linear-gradient(135deg,#00f2ea,#ff0050); --kb-social-glow:rgba(255,0,80,.22); }
@media (max-width:900px){
  body:not(.admin-body) .kb-home-socials-grid{ grid-template-columns:repeat(2, minmax(0, 1fr))!important; gap:12px!important; }
}
@media (max-width:700px){
  body:not(.admin-body) .kb-home-socials{ margin-top:14px; }
  html body:not(.admin-body) main.main.home-page .kb-home-socials-section-head.section-head,
  html body:not(.admin-body) main.home-page .kb-home-socials-section-head.section-head{
    flex-direction:column!important;
    align-items:flex-start!important;
    gap:7px!important;
    margin:28px 0 14px!important;
  }
  html body:not(.admin-body) main.main.home-page .kb-home-socials-section-note,
  html body:not(.admin-body) main.home-page .kb-home-socials-section-note{
    margin-left:0!important;
    max-width:100%!important;
    text-align:left!important;
  }
  body:not(.admin-body) .kb-home-socials-grid{ grid-template-columns:1fr!important; gap:12px!important; }
  body:not(.admin-body) .kb-home-social-card{ min-height:106px; padding:14px; }
}
