/* TRONA Startseite – Social Media V17 */

.social-v17 {
  background: #f4efe4;
  border-top: 1px solid rgba(77, 55, 37, 0.2);
  border-bottom: 1px solid rgba(77, 55, 37, 0.2);
  color: #2f2a24;
  padding: clamp(38px, 5vw, 72px) 0;
}

.social-v17__inner {
  width: min(1320px, calc(100% - 48px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(190px, 250px) minmax(0, 1fr);
  gap: clamp(26px, 3vw, 44px);
  align-items: start;
}

.social-v17__intro {
  padding-right: clamp(8px, 2vw, 30px);
  border-right: 1px solid rgba(77, 55, 37, 0.24);
}

.social-v17__eyebrow {
  margin: 0 0 12px;
  color: #6d1820;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.social-v17__intro h2 {
  margin: 0 0 18px;
  font-family: Georgia, 'Times New Roman', serif;
  font-size: clamp(1.9rem, 2.7vw, 3rem);
  font-weight: 400;
  line-height: 0.98;
  letter-spacing: -0.025em;
}

.social-v17__intro > p:not(.social-v17__eyebrow) {
  margin: 0 0 14px;
  font-size: 0.94rem;
  line-height: 1.55;
}

.social-v17__hint {
  color: #71675c;
  font-size: 0.78rem !important;
}

.social-v17__cards {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.social-card-v17 {
  min-width: 0;
  color: inherit;
  text-decoration: none;
  background: rgba(255, 255, 255, 0.28);
  border: 1px solid rgba(77, 55, 37, 0.16);
  display: flex;
  flex-direction: column;
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

a.social-card-v17:hover,
a.social-card-v17:focus-visible {
  transform: translateY(-3px);
  border-color: rgba(109, 24, 32, 0.48);
  box-shadow: 0 12px 28px rgba(45, 35, 27, 0.12);
  outline: none;
}

.social-card-v17--inactive {
  cursor: default;
}

.social-card-v17__image-wrap {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  background: #d8d0c2;
}

.social-card-v17__image {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  transition: transform 240ms ease;
}

a.social-card-v17:hover .social-card-v17__image {
  transform: scale(1.025);
}

.social-card-v17__platform {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: #fff;
  background: rgba(18, 44, 35, 0.94);
  border: 1px solid rgba(255, 255, 255, 0.55);
  font-family: Arial, sans-serif;
  font-size: 1.08rem;
  font-weight: 700;
  line-height: 1;
  box-shadow: 0 3px 12px rgba(0, 0, 0, 0.18);
}

.social-card-v17--facebook .social-card-v17__platform {
  background: rgba(109, 24, 32, 0.94);
}

.social-card-v17__body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 14px 14px 16px;
}

.social-card-v17__date {
  margin: 0 0 7px !important;
  color: #6d1820;
  font-size: 0.64rem !important;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.social-card-v17 h3 {
  margin: 0 0 8px;
  font-family: Georgia, 'Times New Roman', serif;
  font-size: clamp(1.03rem, 1.25vw, 1.28rem);
  font-weight: 400;
  line-height: 1.1;
}

.social-card-v17__body > p:not(.social-card-v17__date) {
  margin: 0 0 14px;
  color: #5c554d;
  font-size: 0.78rem;
  line-height: 1.43;
}

.social-card-v17__link {
  margin-top: auto;
  color: #6d1820;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.social-card-v17--inactive .social-card-v17__link {
  color: #81776d;
}

@media (max-width: 1100px) {
  .social-v17__inner {
    grid-template-columns: 1fr;
  }

  .social-v17__intro {
    max-width: 720px;
    padding-right: 0;
    padding-bottom: 22px;
    border-right: 0;
    border-bottom: 1px solid rgba(77, 55, 37, 0.24);
  }

  .social-v17__intro h2 br {
    display: none;
  }
}

@media (max-width: 820px) {
  .social-v17__inner {
    width: min(100% - 30px, 1320px);
  }

  .social-v17__cards {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: minmax(245px, 78vw);
    grid-template-columns: none;
    gap: 14px;
    overflow-x: auto;
    padding: 2px 2px 14px;
    scroll-snap-type: x mandatory;
    overscroll-behavior-inline: contain;
    scrollbar-width: thin;
  }

  .social-card-v17 {
    scroll-snap-align: start;
  }
}

@media (max-width: 480px) {
  .social-v17 {
    padding: 34px 0 40px;
  }

  .social-v17__inner {
    width: calc(100% - 24px);
  }

  .social-v17__cards {
    grid-auto-columns: minmax(236px, 86vw);
  }
}
