/**
 * Styles for the Substack embed
 */
.substack-embed-container {
  max-width: 480px;
  margin: 0 auto;
  width: 100%;
  background: white;
  border-radius: var(--radius-md);
  overflow: hidden;
}

.substack-embed-container iframe {
  width: 100%;
  height: auto;
  aspect-ratio: 480/320;
  border: 1px solid #EEE;
  background: white;
}

/* Responsive adjustments */
@media (max-width: 576px) {
  .substack-embed-container {
    max-width: 100%;
  }
}

/* Style adjustments specific to the newsletter section */
.newsletter-section .substack-embed-container {
  background: white;
  box-shadow: var(--shadow-md);
}

/* Style adjustments for when it appears in the newsletter form container */
.newsletter-form-container .substack-embed-container {
  box-shadow: var(--shadow-sm);
}
