/* Instagram Follow Section — pink→purple gradient CTA card */

.instagram-follow-section {
  padding: 0 0 56px;
}

.instagram-follow-card {
  position: relative;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: clamp(20px, 4vw, 48px);
  min-height: 220px;
  padding: clamp(22px, 3.5vw, 36px) clamp(22px, 3.5vw, 40px);
  border-radius: 20px;
  overflow: hidden;
  background: linear-gradient(90deg, #e91e63 0%, #c2185b 28%, #8e24aa 62%, #5c22c1 100%);
  border: 1px solid rgb(255 255 255 / .12);
  box-shadow:
    0 24px 60px rgb(92 34 193 / .28),
    inset 0 1px 0 rgb(255 255 255 / .12);
}

.instagram-follow-card__glow {
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(135deg,
      rgb(255 255 255 / .35),
      rgb(233 30 99 / .45),
      rgb(92 34 193 / .5));
  -webkit-mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
  opacity: .55;
}

.instagram-follow-card__content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: right;
  min-width: 0;
}

.instagram-follow-card__brand {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
}

.instagram-follow-card__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 10px;
  flex-shrink: 0;
  line-height: 0;
  color: #fff;
  background: linear-gradient(135deg, #f09433, #dc2743 55%, #bc1888);
  box-shadow: 0 6px 18px rgb(220 39 67 / .35);
}

.instagram-follow-card__icon i {
  display: block;
  font-size: 17px;
  line-height: 1;
}

.instagram-follow-card__eyebrow {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: rgb(255 255 255 / .55);
}

.instagram-follow-card__title {
  margin: 0 0 10px;
  font-size: clamp(20px, 2.4vw, 28px);
  font-weight: 900;
  line-height: 1.55;
  color: #fff;
}

.instagram-follow-card__description {
  margin: 0 0 22px;
  max-width: 560px;
  font-size: clamp(14px, 1.6vw, 16px);
  line-height: 1.85;
  color: rgb(255 255 255 / .72);
}

.instagram-follow-card__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-width: min(100%, 280px);
  padding: 13px 22px;
  border-radius: 14px;
  border: none;
  font-family: inherit;
  font-size: 15px;
  font-weight: 800;
  line-height: 1.4;
  text-decoration: none;
  color: #fff;
  background: linear-gradient(135deg, #0095f6 0%, #0077cc 100%);
  box-shadow:
    0 10px 28px rgb(0 149 246 / .38),
    inset 0 1px 0 rgb(255 255 255 / .18);
  transition: transform .22s ease, box-shadow .22s ease, filter .22s ease;
}

.instagram-follow-card__btn:hover {
  color: #fff;
  transform: translateY(-2px);
  box-shadow:
    0 16px 36px rgb(0 149 246 / .48),
    inset 0 1px 0 rgb(255 255 255 / .22);
  filter: brightness(1.05);
}

.instagram-follow-card__btn-arrow {
  font-size: 14px;
  transition: transform .22s ease;
}

.instagram-follow-card__btn:hover .instagram-follow-card__btn-arrow {
  transform: translateX(-4px);
}

.instagram-follow-card__media {
  position: relative;
  z-index: 1;
  flex-shrink: 0;
  align-self: center;
}

.instagram-follow-card__image-frame {
  width: clamp(200px, 28vw, 320px);
  max-height: min(520px, 68vh);
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid rgb(255 255 255 / .12);
  background: #111;
  box-shadow:
    0 16px 40px rgb(0 0 0 / .45),
    inset 0 0 0 1px rgb(255 255 255 / .04);
}

.instagram-follow-card__image-frame img {
  display: block;
  width: 100%;
  height: auto;
  max-height: min(520px, 68vh);
  object-fit: contain;
  object-position: center top;
}

/* Admin preview tweaks */
.instagram-follow-edit__dropzone {
  max-width: 320px;
}

.instagram-follow-edit__preview {
  object-fit: cover;
  object-position: center top;
}

@media (max-width: 767.98px) {
  .instagram-follow-section {
    padding: 32px 0 40px;
  }

  .instagram-follow-card {
    display: block;
    min-height: 0;
    padding: 22px 18px 24px;
  }

  .instagram-follow-card__media {
    display: none;
  }

  .instagram-follow-card__content {
    width: 100%;
    align-items: center;
    text-align: center;
    padding: 0;
  }

  .instagram-follow-card__brand {
    justify-content: center;
    margin-bottom: 14px;
  }

  .instagram-follow-card__title {
    font-size: 1.35rem;
    line-height: 1.65;
    margin-bottom: 12px;
  }

  .instagram-follow-card__description {
    max-width: 34rem;
    margin: 0 auto 20px;
    font-size: 14px;
    line-height: 1.8;
    color: rgb(255 255 255 / .78);
  }

  .instagram-follow-card__btn {
    width: 100%;
    max-width: 320px;
    min-width: 0;
    margin-inline: auto;
  }
}

@media (max-width: 479.98px) {
  .instagram-follow-section {
    padding: 26px 0 34px;
  }

  .instagram-follow-card {
    border-radius: 16px;
    padding: 18px 14px 20px;
  }

  .instagram-follow-card__title {
    font-size: 1.15rem;
    line-height: 1.7;
  }

  .instagram-follow-card__description {
    font-size: 13px;
    line-height: 1.75;
    margin-bottom: 18px;
  }

  .instagram-follow-card__btn {
    padding: 12px 16px;
    font-size: 14px;
    border-radius: 12px;
  }
}
