.ep-quote-section {
  padding-top: 2.5rem;
  padding-bottom: 0;
}

.ep-quote-panel {
  border: 1px solid var(--line);
  border-left: 5px solid var(--gold);
  border-radius: 4px;
  background: var(--paper);
  animation: none;
  box-shadow: 0 8px 24px -18px rgba(42, 48, 58, 0.4);
}

.ep-quote-panel > summary {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 48px;
  align-items: center;
  gap: 1.5rem;
  min-height: 140px;
  padding: 1.75rem 2rem;
  color: var(--ink);
  background: var(--blue-wash);
  font-size: 1rem;
  letter-spacing: 0;
  text-transform: none;
  overflow: visible;
}

.ep-quote-panel > summary::before {
  display: none;
}

.ep-quote-panel > summary:hover {
  background: #e5eaf4;
}

.ep-quote-panel > summary:focus-visible {
  outline: 3px solid var(--blue-deep);
  outline-offset: 4px;
}

.ep-quote-copy {
  display: grid;
  gap: 0.5rem;
  min-width: 0;
}

.ep-quote-title {
  font-size: 1.75rem;
  line-height: 1.2;
  overflow-wrap: anywhere;
}

.ep-quote-subtitle {
  color: var(--ink-soft);
  font-family: var(--font);
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.5;
}

.ep-quote-panel > summary::after {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  margin: 0;
  border: 1px solid var(--gold);
  border-radius: 4px;
  background: var(--paper);
  color: var(--blue-deep);
  font: 400 2rem/1 var(--font);
  transition: none;
}

.ep-quote-panel[open] > summary::after {
  content: "\2212";
  transform: none;
}

.ep-quote-panel .ep-qform-body {
  padding: 1.5rem 2rem 2rem;
}

.ep-quote-panel iframe:not([hidden]) {
  display: block;
}

@media (max-width: 600px) {
  .ep-quote-panel > summary {
    gap: 1rem;
    padding: 1.25rem 1rem;
    min-height: 132px;
  }

  .ep-quote-title {
    font-size: 1.375rem;
  }

  .ep-quote-subtitle {
    font-size: 0.875rem;
  }

  .ep-quote-panel .ep-qform-body {
    padding: 1.25rem 0.75rem;
  }
}
