/*
  Ported from /preview/assets/css/components/no-contract.css. Same note
  as loler.css: .no-contract__media is one Custom HTML block (no
  editable content in the placeholder/ring/mark), everything in
  .no-contract__content is real Heading/Paragraph/Group/List/Buttons
  blocks whose classNames land directly on their own tags.
*/

.no-contract {
  overflow-x: hidden;
}

.no-contract__grid {
  display: grid;
  gap: var(--wp--preset--spacing--70);
  align-items: center;
}

.no-contract__content {
  display: flex;
  flex-direction: column;
  gap: var(--wp--preset--spacing--40);
}

.no-contract__title {
  /* ~10% smaller than the standard section xl heading, so it stays
     bold and important without competing with the hero headline */
  font-size: calc(var(--wp--preset--font-size--xl) * 0.9);
  max-width: 26ch;
  text-wrap: balance;
}

.no-contract__intro {
  display: flex;
  flex-direction: column;
  gap: var(--wp--preset--spacing--30);
}

.no-contract__lead {
  font-size: var(--wp--preset--font-size--md);
  font-weight: 700;
  color: var(--wp--preset--color--near-black);
  max-width: 34ch;
}

.no-contract__text {
  color: var(--wp--preset--color--graphite);
  font-size: var(--wp--preset--font-size--base);
  line-height: 1.6;
  max-width: 52ch;
}

.no-contract__actions {
  margin-top: var(--wp--preset--spacing--10);
}

/* Media column — reuses the LOLER section's obvious-placeholder
   language (dashed panel, icon, caption) for consistency, with the
   accent geometry mirrored to the opposite corners for rhythm. */
.no-contract__media {
  position: relative;
}

.no-contract__panel {
  position: relative;
  z-index: 1;
  aspect-ratio: 4 / 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--wp--preset--spacing--20);
  background: var(--wp--preset--color--soft-grey);
  border: 2px dashed rgba(37, 37, 39, 0.25);
  border-radius: var(--radius-lg);
  color: var(--wp--preset--color--graphite);
  overflow: hidden;
}

.no-contract__panel-icon {
  width: 22%;
  min-width: 52px;
  max-width: 88px;
  opacity: 0.6;
}

.no-contract__panel-caption {
  display: flex;
  align-items: center;
  gap: 0.5em;
  font-size: var(--wp--preset--font-size--sm);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  opacity: 0.65;
}

.no-contract__panel-caption svg {
  width: 1em;
  height: 1em;
}

.no-contract__ring {
  position: absolute;
  z-index: 0;
  width: 50%;
  aspect-ratio: 1;
  left: -6%;
  top: -8%;
  border-radius: 50%;
  border: 14px solid var(--wp--preset--color--signal-red);
  pointer-events: none;
}

.no-contract__mark {
  position: absolute;
  z-index: 2;
  right: -1.25rem;
  top: -1.25rem;
  width: 4.5rem;
  height: 4.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--wp--preset--color--white);
  border: 1.5px solid var(--wp--preset--color--soft-grey);
  box-shadow: 0 12px 24px -12px rgba(11, 11, 12, 0.3);
  font-weight: 800;
  font-size: 1.5rem;
  color: var(--c-red-solid);
}

@media (min-width: 1024px) {
  .no-contract__grid {
    grid-template-columns: 1fr 1.05fr;
  }
}
