/* On wide screens, the preference index stays beside the comparison in view. */
.mv-first-guide-layout {
  display: grid;
  grid-template-columns: minmax(12rem, .7fr) minmax(0, 1.8fr);
  gap: clamp(2rem, 6vw, 6rem);
  align-items: start;
  margin-block: 0 2.5rem;
}

.mv-first-guide-intro {
  position: sticky;
  top: 2rem;
  padding-top: 1rem;
  border-top: 2px solid var(--mv-plum, #49192f);
}

.mv-first-guide-intro > p:not(.mv-first-guide-jumps) {
  margin: 0 0 1rem;
  font-size: clamp(1rem, 1.25vw, 1.15rem);
  line-height: 1.6;
}

.mv-first-guide-intro .mv-first-guide-jumps {
  display: grid;
  margin: 1.35rem 0 0;
}

.mv-first-guide-jumps a,
.mv-first-guide-category a,
.mv-first-guide-reading a {
  display: inline-flex;
  align-items: center;
  gap: .8rem;
  min-height: 44px;
  color: var(--mv-berry, #752242);
  font-weight: 600;
  line-height: 1.4;
  text-decoration: underline;
  text-underline-offset: .23em;
}

.mv-first-guide-jumps a {
  justify-content: space-between;
  padding: .5rem .25rem .5rem 0;
  border-bottom: 1px solid var(--mv-line, #e2d7dd);
  font-size: .9rem;
  text-decoration: none;
}

.mv-first-guide-jumps a::after,
.mv-first-guide-category a::after,
.mv-first-guide-reading a::after {
  content: "";
  display: block;
  flex: 0 0 .4rem;
  height: .4rem;
  border: solid currentColor;
  border-width: 1px 1px 0 0;
  transform: rotate(45deg);
}

.mv-first-guide-jumps a::after {
  transform: rotate(135deg);
}

.mv-first-guide-jumps a:hover,
.mv-first-guide-category a:hover,
.mv-first-guide-reading a:hover {
  color: var(--mv-plum, #49192f);
  text-decoration: underline;
}

.mv-first-guide-choice {
  display: grid;
  grid-template-columns: clamp(6.5rem, 10vw, 9rem) minmax(0, 1fr);
  align-items: center;
  gap: clamp(1.25rem, 2.5vw, 2.5rem);
  padding: 1.35rem 0;
  border-top: 1px solid var(--mv-line, #e2d7dd);
}

.mv-first-guide-choice:last-child {
  border-bottom: 1px solid var(--mv-line, #e2d7dd);
}

.mv-first-guide-choice .wp-block-image {
  display: grid;
  place-items: center;
  width: 100%;
  height: clamp(8.5rem, 12vw, 11rem);
  margin: 0;
  background: #f5e9e7;
}

.mv-first-guide-choice .wp-block-image img {
  display: block;
  width: auto;
  height: 67%;
  max-width: 74%;
  object-fit: contain;
  transform: rotate(16deg);
}

.mv-first-guide-mini-vibes .wp-block-image {
  background: #f6eaf0;
}

.mv-first-guide-mini-vibes .wp-block-image img {
  transform: rotate(23deg);
}

.mv-first-guide-wands .wp-block-image {
  background: #eee8f1;
}

.mv-first-guide-wands .wp-block-image img {
  transform: rotate(150deg);
}

.mv-first-guide-copy > .wp-block-heading {
  margin: 0 0 .6rem;
  font: 400 clamp(1.55rem, 2.45vw, 2.4rem)/1.1 var(--mv-serif, Georgia, serif);
  scroll-margin-top: 2.25rem;
}

.mv-first-guide-copy:has(:target) > .wp-block-heading {
  text-decoration: underline;
  text-decoration-color: #c78ca4;
  text-decoration-thickness: 2px;
  text-underline-offset: .19em;
}

.mv-first-guide-copy > p {
  max-width: 57ch;
  margin: 0 0 .5rem;
  line-height: 1.55;
}

.mv-first-guide-copy .mv-first-guide-category {
  margin: .15rem 0 -.4rem;
  font-size: .9rem;
}

.mv-first-guide-notes {
  margin: 0;
  padding: clamp(1.25rem, 2.2vw, 2rem);
  background: var(--mv-paper, #f8f2f6);
}

.mv-first-guide-notes > p {
  max-width: 78ch;
  margin: 0 0 .6rem;
}

.mv-first-guide-notes > p:last-child {
  margin-bottom: 0;
}

.mv-first-guide-reading {
  font-size: .9rem;
}

@media (max-width: 800px) {
  .mv-first-guide-layout {
    grid-template-columns: minmax(0, 1fr);
    gap: 1.5rem;
    margin-bottom: 1.75rem;
  }
  .mv-first-guide-intro {
    position: static;
  }
  .mv-first-guide-jumps a {
    min-height: 46px;
  }
}

@media (max-width: 500px) {
  .mv-first-guide-choice {
    grid-template-columns: 4.5rem minmax(0, 1fr);
    gap: 1rem;
    align-items: start;
  }
  .mv-first-guide-choice .wp-block-image {
    height: 6.25rem;
  }
  .mv-first-guide-copy > p {
    font-size: .92rem;
  }
}
