/* "Il viaggio continua sui social" (element/touria/social-row.php): a white
   band, intro on the left and the four channels as cards on the
   right. Uses the site palette (--color-dark / --theme-color). */
.te-social {
  --te-bg: #fff;
  --te-surface: var(--theme-bg-light, #f6f6f6);
  --te-border: var(--border-info-color, rgba(0, 0, 0, 0.08));
  --te-text: var(--color-dark, #2a4456);
  --te-muted: var(--body-text-color, #757f95);
  --te-accent: var(--theme-color, #f98225);
  background: var(--te-bg);
  padding: 64px 0;
}
.te-social__inner {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: 56px;
  align-items: center;
}
.te-social__mark {
  width: 32px;
  height: 2px;
  background: var(--te-accent);
  margin-bottom: 12px;
}
.te-social__title {
  margin: 0 0 12px;
  font-size: 32px;
  font-weight: 500;
  line-height: 1.2;
  color: var(--te-text);
  text-wrap: pretty;
}
.te-social__text {
  margin: 0;
  font-size: 15px;
  line-height: 1.55;
  color: var(--te-muted);
}
.te-social__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}
.te-social__item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 18px;
  border: 1px solid var(--te-border);
  border-radius: 8px;
  background: var(--te-surface);
  text-decoration: none;
  transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s;
}
.te-social__item:hover {
  border-color: var(--te-accent);
  box-shadow: 0 8px 24px -8px rgba(249, 130, 37, 0.45);
}
.te-social__item:active {
  transform: translateY(1px);
}
.te-social__item:focus-visible {
  outline: 2px solid var(--te-accent);
  outline-offset: 2px;
}
.te-social__icon {
  width: 26px;
  font-size: 24px;
  text-align: center;
  color: var(--te-accent);
}
.te-social__label {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.te-social__name {
  font-size: 15px;
  font-weight: 500;
  line-height: 1.3;
  color: var(--te-text);
}
.te-social__handle {
  font-size: 13px;
  line-height: 1.3;
  color: var(--te-muted);
  overflow: hidden;
  text-overflow: ellipsis;
}
.te-social__arrow {
  font-size: 14px;
  color: var(--te-muted);
  transform: rotate(-45deg);
  transition: color 0.2s;
}
.te-social__item:hover .te-social__arrow {
  color: var(--te-accent);
}
@media (max-width: 860px) {
  .te-social__inner {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .te-social__title {
    font-size: 26px;
  }
}
@media (max-width: 480px) {
  .te-social {
    padding: 48px 0;
  }
  .te-social__grid {
    grid-template-columns: 1fr;
  }
}
