/* ==========================================================================
   Gated Content — Login Wall & Fade Overlay
   ========================================================================== */

/* Preview container: shows excerpt with a fade at the bottom */
.gated-preview {
  position: relative;
  max-height: 600px;
  overflow: hidden;
  margin-bottom: 0;
}

.gated-preview-content {
  padding-bottom: 80px; /* extra space so text meets the fade naturally */
}

/* Fade overlay — gradient from transparent to white */
.gated-fade-overlay {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 220px;
  background: linear-gradient(
    to bottom,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 0.7) 40%,
    rgba(255, 255, 255, 1) 100%
  );
  pointer-events: none;
  z-index: 1;
}

/* Login wall section */
.gated-wall {
  text-align: center;
  padding: 32px 24px 48px;
  background: #fff;
  border-top: 1px solid #eee;
}

.gated-wall-inner {
  max-width: 440px;
  margin: 0 auto;
}

.gated-wall-title {
  font-family: 'Poppins', 'Raleway', Arial, sans-serif;
  font-size: 22px;
  font-weight: 600;
  color: #220048;
  margin: 0 0 12px 0;
}

.gated-wall-subtitle {
  font-family: 'Raleway', Arial, sans-serif;
  font-size: 15px;
  font-weight: 400;
  color: #555;
  margin: 0 0 28px 0;
  line-height: 1.5;
}

.gated-wall-actions {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.gated-wall-btn {
  display: inline-block;
  width: 100%;
  max-width: 340px;
  padding: 14px 24px;
  border-radius: 6px;
  font-family: 'Poppins', Arial, sans-serif;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  text-align: center;
  transition: background 0.2s, box-shadow 0.2s;
  cursor: pointer;
  border: none;
}

.gated-wall-btn:hover {
  text-decoration: none;
}

.gated-wall-btn-primary {
  background: #e11383;
  color: #fff;
  box-shadow: 0 2px 8px rgba(225, 19, 131, 0.25);
}

.gated-wall-btn-primary:hover {
  background: #c40f72;
  box-shadow: 0 4px 12px rgba(225, 19, 131, 0.35);
}

.gated-wall-btn-social {
  background: #fff;
  color: #333;
  border: 1px solid #ddd;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.06);
}

.gated-wall-btn-social:hover {
  background: #f7f7f7;
  border-color: #ccc;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

/* Mobile adjustments */
@media screen and (max-width: 525px) {
  .gated-preview {
    max-height: 400px;
  }

  .gated-wall {
    padding: 24px 16px 36px;
  }

  .gated-wall-title {
    font-size: 19px;
  }

  .gated-wall-subtitle {
    font-size: 14px;
  }

  .gated-wall-btn {
    padding: 12px 20px;
    font-size: 14px;
  }
}