.episode-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
  align-items: center;
  width: 100%;
}

.episode-takeaways {
  margin: 2.5rem 0 0.5rem;
}

.episode-takeaways__title {
  margin: 0 0 1.25rem;
  padding-bottom: 0.65rem;
  border-bottom: 4px solid #EFD941;
  font-size: 2.25rem;
  line-height: 1.1;
}

.episode-takeaways .takeaways-heading {
  display: none;
}

.episode-takeaways .takeaways-item {
  padding: 1.35rem 0 0.35rem;
  border-bottom: 1px solid #e5e5e5;
}

.episode-takeaways .takeaways-item:last-child {
  border-bottom: 0;
}

.episode-takeaways .takeaways-lesson {
  margin: 0 0 0.65rem;
  font-size: 1.45rem;
  line-height: 1.25;
}

.episode-takeaways .takeaways-item p {
  margin: 0 0 0.65rem;
}

.episode-takeaways .takeaways-item p:last-child {
  margin-bottom: 0;
}

.episode-actions .button,
.episode-actions .takeaways-open {
  margin: 0;
  cursor: pointer;
  border: 0;
  text-decoration: none;
}

.episode-actions .takeaways-open {
  width: 100%;
  border-radius: 0;
}

.episode-actions .takeaways-open:hover {
  background-color: #0d6efd;
  color: #ffffff;
}

.featured-takeaways {
  margin-top: 0;
}

.podcast-episode > iframe {
  display: block;
}

.featured-takeaways .takeaways-open {
  width: 100%;
  min-height: 44px;
  padding: 0.45rem 0.85rem;
  border: 0;
  border-radius: 0;
  background: #f3f3f3;
  color: #222;
  font-family: "Barlow", sans-serif;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  line-height: 1.2;
}

.featured-takeaways .takeaways-open:hover {
  background: #111;
  color: #fff;
}

.takeaways-dialog {
  border: 0;
  padding: 0;
  max-width: min(640px, calc(100vw - 2rem));
  width: 100%;
  max-height: min(80vh, 720px);
  border-radius: 4px;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.25);
  color: #111;
  background: #fff;
}

.takeaways-dialog::backdrop {
  background: rgba(0, 0, 0, 0.55);
}

.takeaways-dialog__inner {
  display: flex;
  flex-direction: column;
  max-height: min(80vh, 720px);
}

.takeaways-dialog__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 1.25rem;
  border-bottom: 1px solid #e5e5e5;
}

.takeaways-dialog__title {
  margin: 0;
  font-size: 1.5rem;
  line-height: 1.2;
}

.takeaways-dialog__close {
  appearance: none;
  border: 0;
  background: transparent;
  font-size: 1.75rem;
  line-height: 1;
  cursor: pointer;
  color: #333;
  padding: 0.15rem 0.4rem;
}

.takeaways-dialog__body {
  padding: 1.25rem;
  overflow-y: auto;
}

.takeaways-dialog__body .takeaways-heading {
  margin-top: 0;
  margin-bottom: 1rem;
  font-size: 2rem;
  line-height: 1.05;
}

.takeaways-dialog__body .takeaways-item + .takeaways-item {
  margin-top: 0.5rem;
}

.takeaways-dialog__body .takeaways-lesson {
  margin-top: 1.25rem;
  margin-bottom: 0.5rem;
  font-size: 1.55rem;
  line-height: 1.15;
}

.takeaways-dialog__body p {
  margin: 0 0 0.75rem;
  font-size: 1rem;
  line-height: 1.45;
}

.takeaways-dialog__body hr {
  border: 0;
  border-top: 1px solid #e5e5e5;
  margin: 1.25rem 0;
}
