@layer components {
  .galeria-item2 {
    background: linear-gradient(160deg, #28192d 0%, #4f2343 48%, #8f3a4a 100%);
  }

  .social-card {
    width: 100%;
    min-height: 100%;
    padding: 22px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 16px;
    color: var(--social-card-text, #fff);
    text-decoration: none;
    border-radius: inherit;
    position: relative;
    overflow: hidden;
    background: var(--social-card-bg);
    transition: transform 180ms ease, box-shadow 180ms ease;
  }

  .social-card::after {
    content: "";
    position: absolute;
    inset: auto -24px -34px auto;
    width: 110px;
    height: 110px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.08);
    filter: blur(2px);
  }

  .social-card--instagram {
    --social-card-text: #fff7f4;
    --social-card-bg:
      radial-gradient(circle at top right, rgba(255, 210, 122, 0.32), transparent 34%),
      linear-gradient(155deg, rgba(28, 16, 34, 0.9) 0%, rgba(87, 29, 79, 0.86) 50%, rgba(205, 87, 76, 0.84) 100%);
    --social-pill-border: rgba(255, 255, 255, 0.16);
    --social-pill-bg: rgba(255, 255, 255, 0.08);
    --social-avatar-border: rgba(255, 255, 255, 0.75);
    --social-avatar-bg: rgba(255, 255, 255, 0.14);
    --social-meta-color: rgba(255, 247, 244, 0.82);
    --social-description-color: rgba(255, 247, 244, 0.92);
    --social-cta-color: #421d28;
    --social-cta-bg: linear-gradient(135deg, #fff2de 0%, #ffd267 100%);
  }

  .social-card__header,
  .social-card__profile,
  .social-card__description,
  .social-card__cta {
    position: relative;
    z-index: 1;
  }

  .social-card__pill {
    width: fit-content;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    border: 1px solid var(--social-pill-border, rgba(255, 255, 255, 0.14));
    border-radius: 999px;
    font-size: 0.82rem;
    letter-spacing: 0.02em;
    background: var(--social-pill-bg, rgba(255, 255, 255, 0.08));
    -webkit-backdrop-filter: blur(6px);
    backdrop-filter: blur(6px);
  }

  .social-card__profile {
    display: flex;
    align-items: center;
    gap: 14px;
  }

  .social-card__avatar {
    width: 68px;
    height: 68px;
    border: 2px solid var(--social-avatar-border, rgba(255, 255, 255, 0.72));
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
    background: var(--social-avatar-bg, rgba(255, 255, 255, 0.12));
    box-shadow: 0 10px 26px rgba(0, 0, 0, 0.25);
  }

  .social-card__avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  .social-card__meta {
    display: flex;
    flex-direction: column;
    gap: 4px;
  }

  .social-card__meta strong {
    font-size: 1.16rem;
    line-height: 1.15;
  }

  .social-card__meta span {
    color: var(--social-meta-color, rgba(255, 255, 255, 0.76));
    font-size: 0.98rem;
  }

  .social-card__description {
    margin: 0;
    width: 100%;
    max-width: none;
    color: var(--social-description-color, rgba(255, 255, 255, 0.92));
    font-size: 1.02rem;
    line-height: 1.45;
  }

  .social-card__cta {
    width: fit-content;
    padding: 10px 16px;
    border-radius: 999px;
    color: var(--social-cta-color, #111);
    font-weight: 700;
    font-size: 0.96rem;
    background: var(--social-cta-bg, #fff);
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.18);
  }
}
