.cc-embed,
.cc-embed__iframe {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  border: 0;
  border-radius: var(--cc-radius);
}

.cc-embed {
  position: relative;
  overflow: hidden;
  color: var(--cc-color-text);
  font-family: var(--cc-font-family);
  font-size: var(--cc-font-size);
  font-weight: 400;
  line-height: 1.4;
  background:
    linear-gradient(rgb(255 255 255 / 88%), rgb(255 255 255 / 88%)), var(--cc-color-secondary);
  background-position: center;
  background-size: cover;
  border: 0.0625em solid var(--cc-color-border);
}

.cc-embed--has-thumbnail {
  color: #fff;
  background-color: #111827;
}

.cc-embed--has-thumbnail::before {
  position: absolute;
  inset: 0;
  display: block;
  content: '';
  background: rgb(0 0 0 / 56%);
}

.cc-embed__content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 100%;
  padding: 1.5em;
  text-align: center;
}

.cc-embed__title {
  max-width: 36em;
  margin: 0;
  font: 600 1.125em/1.35 var(--cc-font-family);
}

.cc-embed__description {
  max-width: 36em;
  margin: 0.5em 0 0;
  color: var(--cc-color-muted);
  font: 400 0.9375em/1.5 var(--cc-font-family);
}

.cc-embed--has-thumbnail .cc-embed__description {
  color: inherit;
}

.cc-embed__button {
  margin-top: 1em;
}
