/* TVB Social Links Pattern & Block Styling */

/* Base Styles */
.tvb-social-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
  padding: 1rem 0;
}

.tvb-social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  background-color: #fff;
  border: 2px solid var(--tvb-red);
  border-radius: 50%;
  color: var(--tvb-red);
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 2px 8px rgba(190, 26, 42, 0.1);
}

.tvb-social-link:hover {
  background-color: var(--tvb-red);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(190, 26, 42, 0.3);
}

.tvb-social-link:focus {
  outline: 2px solid var(--tvb-red);
  outline-offset: 2px;
}

.tvb-social-link svg {
  width: 24px;
  height: 24px;
  fill: currentColor;
}

/* ========================================
   SIZE VARIANTS
   ======================================== */

/* Small (32px) */
.tvb-social-links--small .tvb-social-link {
  width: 32px;
  height: 32px;
}

.tvb-social-links--small .tvb-social-link svg {
  width: 18px;
  height: 18px;
}

/* Medium (44px) - Default */
.tvb-social-links--medium .tvb-social-link {
  width: 44px;
  height: 44px;
}

.tvb-social-links--medium .tvb-social-link svg {
  width: 24px;
  height: 24px;
}

/* Large (56px) */
.tvb-social-links--large .tvb-social-link {
  width: 56px;
  height: 56px;
}

.tvb-social-links--large .tvb-social-link svg {
  width: 32px;
  height: 32px;
}

/* ========================================
   STYLE VARIANTS
   ======================================== */

/* Minimal (no border) */
.tvb-social-links--minimal .tvb-social-link {
  border: none;
  box-shadow: none;
}

.tvb-social-links--minimal .tvb-social-link:hover {
  box-shadow: none;
}

/* Filled (background always red) */
.tvb-social-links--filled .tvb-social-link {
  background-color: var(--tvb-red);
  color: #fff;
  border-color: var(--tvb-red);
}

.tvb-social-links--filled .tvb-social-link:hover {
  background-color: var(--tvb-red-dark);
  border-color: var(--tvb-red-dark);
  transform: translateY(-2px);
}

/* ========================================
   ALIGNMENT
   ======================================== */

.tvb-social-links.alignleft {
  justify-content: flex-start;
}

.tvb-social-links.aligncenter {
  justify-content: center;
}

.tvb-social-links.alignright {
  justify-content: flex-end;
}

/* ========================================
   LEGACY PATTERN SUPPORT
   (für alte Nutzungen ohne Block-Klassen)
   ======================================== */

.social-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
  padding: 1rem 0;
}

.social-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  background-color: #fff;
  border: 2px solid var(--tvb-red);
  border-radius: 50%;
  color: var(--tvb-red);
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 2px 8px rgba(190, 26, 42, 0.1);
}

.social-links a:hover {
  background-color: var(--tvb-red);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(190, 26, 42, 0.3);
}

.social-links a:focus {
  outline: 2px solid var(--tvb-red);
  outline-offset: 2px;
}

.social-links svg {
  width: 24px;
  height: 24px;
  fill: currentColor;
}
