/* FITfactory v67 – datensparsame Social-Wall auf der Startseite */

.social-feed-v67 {
  position: relative;
  overflow: hidden;
  border-block: 1px solid rgba(225, 161, 255, 0.2);
  background:
    radial-gradient(circle at 88% 12%, rgba(201, 63, 255, 0.2), transparent 32rem),
    linear-gradient(135deg, #160d1d 0%, #24122f 52%, #170d20 100%);
}

.social-feed-v67::before {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.018) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.018) 1px, transparent 1px);
  background-size: 42px 42px;
  content: "";
  pointer-events: none;
}

.social-feed-v67 > .section {
  position: relative;
  z-index: 1;
}

.social-feed-heading-v67 {
  align-items: end;
  margin-bottom: clamp(1.75rem, 3vw, 2.75rem);
}

.social-feed-heading-v67 h2 {
  max-width: 15ch;
}

.social-feed-intro-v67 {
  display: grid;
  justify-items: start;
  gap: 1rem;
  max-width: 34rem;
}

.social-feed-intro-v67 p {
  margin: 0;
}

.social-profile-link-v67 {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
}

.social-profile-link-v67 .social-icon {
  width: 1.3rem;
  height: 1.3rem;
  flex: 0 0 auto;
}

.social-feed-grid-v67 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(1rem, 2vw, 1.5rem);
  align-items: start;
}

.social-post-v67 {
  display: grid;
  min-width: 0;
  overflow: hidden;
  border: 1px solid rgba(225, 161, 255, 0.34);
  border-radius: 1.2rem;
  background: rgba(30, 17, 39, 0.94);
  box-shadow: 0 1.15rem 3rem rgba(3, 0, 8, 0.24);
}

.social-post-placeholder-v67 {
  display: grid;
  min-height: 100%;
}

.social-post-meta-v67 {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 1.1rem;
  border-bottom: 1px solid rgba(225, 161, 255, 0.18);
  color: #f9edff;
  font-size: 0.82rem;
}

.social-post-account-v67 {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  min-width: 0;
  font-weight: 800;
}

.social-post-account-v67 .social-icon {
  width: 1.25rem;
  height: 1.25rem;
  flex: 0 0 auto;
}

.social-post-meta-v67 time {
  flex: 0 0 auto;
  color: #dccce4;
}

.social-post-visual-v67 {
  position: relative;
  display: grid;
  aspect-ratio: 4 / 3;
  place-items: center;
  overflow: hidden;
  padding: 1.35rem;
  isolation: isolate;
  background:
    radial-gradient(circle at 72% 26%, rgba(234, 126, 255, 0.58), transparent 31%),
    linear-gradient(145deg, #7d2697 0%, #3b1550 44%, #120b1a 100%);
}

.social-post-visual-v67::before,
.social-post-visual-v67::after {
  position: absolute;
  z-index: -1;
  border: 1px solid rgba(255, 255, 255, 0.17);
  border-radius: 50%;
  content: "";
}

.social-post-visual-v67::before {
  width: 15rem;
  height: 15rem;
  transform: translate(36%, -30%);
}

.social-post-visual-v67::after {
  width: 9rem;
  height: 9rem;
  transform: translate(-70%, 56%);
}

.social-post-visual-v67 span {
  color: #fff;
  font-family: var(--font-barlow-condensed), "Arial Narrow", sans-serif;
  font-size: clamp(2rem, 3.7vw, 3.25rem);
  font-weight: 800;
  line-height: 0.92;
  text-align: center;
  text-transform: uppercase;
  text-wrap: balance;
  text-shadow: 0 0.35rem 1.4rem rgba(15, 5, 22, 0.55);
}

.social-post-copy-v67 {
  display: grid;
  gap: 0.8rem;
  padding: 1.2rem;
}

.social-post-copy-v67 h3,
.social-post-copy-v67 p {
  margin: 0;
}

.social-post-copy-v67 h3 {
  color: #f3c7ff;
  font-size: clamp(1.45rem, 2vw, 1.8rem);
}

.social-post-copy-v67 p {
  color: #f5edf8;
}

.social-post-copy-v67 .text-link {
  justify-self: start;
  margin-top: 0.2rem;
}

.social-post-embed-v67 {
  display: none;
  min-width: 0;
  padding: 0.65rem;
  background: #211429;
}

.social-post-v67.social-post-loading-v67 .social-post-embed-v67,
.social-post-v67.social-post-loaded-v67 .social-post-embed-v67 {
  display: block;
}

.social-post-v67.social-post-loaded-v67 .social-post-placeholder-v67 {
  display: contents;
}

.social-post-v67.social-post-loaded-v67 .social-post-visual-v67 {
  display: none;
}

.social-post-v67.social-post-loaded-v67 .social-post-meta-v67 {
  order: 1;
}

.social-post-v67.social-post-loaded-v67 .social-post-copy-v67 {
  order: 3;
}

.social-post-v67.social-post-loaded-v67 .social-post-embed-v67 {
  order: 2;
}

.social-post-embed-v67 iframe {
  display: block;
  width: 100%;
  height: 600px;
  max-width: 100%;
  border: 0;
  border-radius: 0.8rem;
  background: #fff;
}

.social-feed-consent-v67 {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  align-items: center;
  gap: 0.85rem 1rem;
  margin-top: 1.5rem;
  padding: 1rem 1.15rem;
  border: 1px solid rgba(108, 255, 161, 0.36);
  border-radius: 0.9rem;
  background: rgba(15, 12, 22, 0.78);
}

.social-feed-consent-v67 p {
  margin: 0;
  color: #f5edf8;
}

.social-feed-consent-v67 strong {
  color: #9cffbe;
}

.social-feed-consent-v67 .button {
  white-space: nowrap;
}

.social-feed-status-v67 {
  grid-column: 1 / -1;
  min-height: 1.3em;
  margin: 0;
  color: #dccce4;
  font-size: 0.82rem;
}

.social-feed-consent-v67[data-state="loaded"] {
  grid-template-columns: 1fr auto;
}

.social-feed-consent-v67[data-state="loaded"] [data-social-load-v67] {
  display: none;
}

@media (max-width: 980px) {
  .social-feed-grid-v67 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .social-post-v67:last-child {
    grid-column: 1 / -1;
    width: min(100%, 31rem);
    justify-self: center;
  }
}

@media (max-width: 720px) {
  .social-feed-heading-v67 {
    align-items: start;
  }

  .social-feed-heading-v67 h2 {
    max-width: 12ch;
  }

  .social-feed-grid-v67 {
    grid-template-columns: minmax(0, 1fr);
  }

  .social-post-v67:last-child {
    grid-column: auto;
    width: 100%;
  }

  .social-feed-consent-v67 {
    grid-template-columns: 1fr;
    align-items: start;
  }

  .social-feed-consent-v67[data-state="loaded"] {
    grid-template-columns: 1fr;
  }

  .social-feed-consent-v67 .button,
  .social-feed-consent-v67 .text-link {
    justify-self: start;
  }

  .social-post-embed-v67 iframe {
    height: 640px;
  }
}

@media (max-width: 360px) {
  .social-post-meta-v67,
  .social-post-copy-v67 {
    padding-inline: 0.9rem;
  }

  .social-post-embed-v67 {
    padding: 0.35rem;
  }

  .social-post-embed-v67 iframe {
    height: 700px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .social-feed-v67 *,
  .social-feed-v67 *::before,
  .social-feed-v67 *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}
