/* Grail desk (sections/op-grail-desk.liquid). Same ground, type and hairlines as the rest of theme-own. */
.op-grail {
  padding: 3.6rem 0 5.6rem;
}

.op-grail__head {
  max-width: 76rem;
  text-align: center;
}

.op-grail__eyebrow {
  margin: 0 0 1.2rem;
}

.op-grail__title {
  margin: 0 0 1.6rem;
  font-family: var(--op-serif);
  font-weight: 400;
  font-size: 3.4rem;
  line-height: 1.1;
  letter-spacing: 0.01em;
}

.op-grail__lede {
  max-width: 58rem;
  margin: 0 auto 1.2rem;
  font-size: 1.6rem;
  line-height: 1.65;
  color: rgba(var(--op-ink-rgb), 0.78);
}

.op-grail__house {
  margin: 0;
  font-size: 1.3rem;
  color: var(--op-muted);
}

.op-grail__how {
  margin-top: 4.8rem;
}

.op-grail__label {
  margin: 0 0 2rem;
  text-align: center;
  font-weight: 400;
}

.op-grail__steps {
  display: grid;
  gap: 2.4rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.op-grail__step {
  padding-top: 1.6rem;
  border-top: 1px solid var(--op-hairline);
}

.op-grail__num {
  display: block;
  margin-bottom: 0.6rem;
  font-family: var(--op-serif);
  font-size: 1.8rem;
  color: var(--op-gold);
}

.op-grail__step-h {
  margin: 0 0 0.6rem;
  font-family: var(--op-serif);
  font-weight: 400;
  font-size: 2rem;
  line-height: 1.25;
}

.op-grail__step-b {
  margin: 0;
  font-size: 1.4rem;
  line-height: 1.6;
  color: rgba(var(--op-ink-rgb), 0.72);
}

.op-grail__req {
  margin-top: 4.8rem;
}

.op-grail__panel {
  max-width: 76rem;
  margin: 0 auto;
  padding: 2.4rem 1.6rem;
  background: var(--op-plate);
  border: 1px solid var(--op-plate-edge);
}

.op-grail__h2 {
  margin: 0 0 1.6rem;
  font-family: var(--op-serif);
  font-weight: 400;
  font-size: 2.4rem;
  line-height: 1.2;
}

.op-grail__fields {
  display: grid;
  gap: 1.2rem;
}

.op-grail .field__input:focus::placeholder {
  opacity: 0.45;
}

.op-grail[dir='rtl'] .field__input {
  text-align: right;
}

.op-grail[dir='rtl'] .field__label {
  left: auto;
  right: 2.1rem;
}

.op-grail[dir='rtl'] .field__input:focus ~ .field__label,
.op-grail[dir='rtl'] .field__input:not(:placeholder-shown) ~ .field__label {
  left: auto;
  right: 1.6rem;
}

.op-grail__need {
  margin: 1rem 0 0;
  font-size: 1.3rem;
  color: #8a2a1c;
}

.op-grail__cta {
  margin-top: 1.8rem;
}

.op-grail__note {
  margin: 1rem 0 0;
  font-size: 1.25rem;
  line-height: 1.5;
  color: var(--op-muted);
}

.op-grail__examples {
  margin-top: 5.6rem;
}

.op-grail__examples .op-grail__h2 {
  margin-bottom: 0.6rem;
  text-align: center;
}

.op-grail__ex-b {
  max-width: 56rem;
  margin: 0 auto 2.8rem;
  text-align: center;
  font-size: 1.4rem;
  line-height: 1.6;
  color: rgba(var(--op-ink-rgb), 0.72);
}

@media screen and (min-width: 750px) {
  .op-grail {
    padding: 6.4rem 0 8rem;
  }

  .op-grail__title {
    font-size: 5.2rem;
  }

  .op-grail__steps {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 4rem;
  }

  .op-grail__panel {
    padding: 4rem 4.8rem;
  }

  .op-grail__fields {
    grid-template-columns: 1fr 1fr;
  }

  .op-grail__field--wide {
    grid-column: 1 / -1;
  }

  .op-grail__cta {
    max-width: 36rem;
  }
}

/* the header and section titles stay centred in Arabic too (the base layer right-aligns Arabic h1/h2/p) */
.op-grail .op-grail__head > *,
.op-grail .op-grail__label,
.op-grail .op-grail__examples > .op-grail__h2,
.op-grail .op-grail__ex-b {
  text-align: center;
}
