/* The modal and its panels must obey `hidden` even if the page's own CSS sets a display value. */
[data-modal][hidden],
[data-modal-view-panel][hidden],
[data-modal-body][hidden] {
  display: none !important;
}

/**
 * Default styling for what embed.js injects into the modal. Light, plain, and easy to override:
 * every class is prefixed `ade-`, and the page's own CSS wins if it is more specific.
 * The modal shell, the cards and the form are the page's own Webflow components, not this file.
 */

.ade-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #f5f7fb;
  border-radius: 10px;
  overflow: hidden;
}

.ade-iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 1px solid rgba(63, 95, 172, 0.35);
  border-radius: 10px;
  box-sizing: border-box;
}

.ade-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

@media (max-width: 720px) {
  .ade-list {
    grid-template-columns: 1fr;
  }
}

.ade-item {
  display: flex;
  align-items: center;
  gap: 14px;
  width: 100%;
  padding: 18px 22px;
  background: #ffffff;
  border: 1px solid #e4e8f2;
  border-radius: 10px;
  font: inherit;
  font-size: 18px;
  color: #10172a;
  text-align: left;
  cursor: pointer;
  transition: border-color 150ms ease, box-shadow 150ms ease;
}

.ade-item:hover {
  border-color: #2157e1;
  box-shadow: 0 2px 10px rgba(16, 23, 42, 0.08);
}

.ade-item-icon {
  display: inline-flex;
  flex: none;
}

.ade-back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 18px;
  padding: 0;
  background: none;
  border: 0;
  font: inherit;
  color: #2157e1;
  cursor: pointer;
}

.ade-agent-name {
  margin: 0 0 16px;
  font-size: 26px;
  color: #10172a;
}

.ade-video {
  width: 100%;
  border-radius: 10px;
  background: #10172a;
}

.ade-highlights-title {
  margin: 24px 0 12px;
  font-size: 15px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #6b7280;
}

.ade-highlights {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.ade-highlight-button {
  display: flex;
  gap: 14px;
  width: 100%;
  padding: 12px 14px;
  background: #f7f9fd;
  border: 1px solid transparent;
  border-radius: 8px;
  font: inherit;
  text-align: left;
  color: #10172a;
  cursor: pointer;
}

.ade-highlight-button:hover {
  border-color: #2157e1;
}

.ade-highlight-time {
  flex: none;
  font-variant-numeric: tabular-nums;
  color: #2157e1;
}

.ade-loading,
.ade-error {
  margin: 0;
  padding: 32px 0;
  text-align: center;
  color: #6b7280;
}
