/**
 * Shared social chrome: fixed left rail (desktop) + footer icon row.
 * Linked from all marketing HTML pages.
 */

/* ─── Fixed left rail (desktop) ─── */
.social-rail {
  position: fixed;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 120;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.social-rail__btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(15, 27, 53, 0.94);
  box-shadow:
    0 4px 18px rgba(0, 0, 0, 0.14),
    0 0 0 1px rgba(255, 255, 255, 0.1);
  color: #fff;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.social-rail__btn:hover {
  transform: scale(1.07);
  box-shadow: 0 8px 28px rgba(30, 111, 255, 0.22);
}

.social-rail__btn--fb:hover {
  background: #1877f2;
  color: #fff;
}

.social-rail__btn--yt:hover {
  background: #ff0000;
  color: #fff;
}

.social-rail__btn svg {
  display: block;
}

@media (max-width: 960px) {
  .social-rail {
    display: none;
  }
}

/* ─── Footer: rich layout (index, blog index, articles) ─── */
.footer-social-row {
  width: 100%;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 14px 22px;
  padding-top: 20px;
  margin-top: 4px;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
}

.footer-social-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.38);
}

.footer-social-icons {
  display: flex;
  align-items: center;
  gap: 12px;
}

.footer-social-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.07);
  color: rgba(255, 255, 255, 0.9);
  text-decoration: none;
  transition: background 0.2s ease, color 0.2s ease, transform 0.15s ease;
}

.footer-social-btn:hover {
  transform: translateY(-2px);
  background: rgba(255, 255, 255, 0.14);
}

.footer-social-btn--fb:hover {
  background: #1877f2;
  color: #fff;
}

.footer-social-btn--yt:hover {
  background: #ff0000;
  color: #fff;
}

.footer-social-btn svg {
  width: 24px;
  height: 24px;
  display: block;
}

/* ─── Footer: compact row (legal + alt pages) ─── */
footer:has(.footer-social-bar) {
  flex-wrap: wrap;
  row-gap: 12px;
}

footer:has(.footer-social-bar) .footer-social-bar {
  width: 100%;
  flex-basis: 100%;
  order: 99;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 14px;
  padding-top: 16px;
  margin-top: 4px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

footer:has(.footer-social-bar) .footer-social-bar .footer-social-btn {
  width: 46px;
  height: 46px;
}
