/* Held Cohort 108 guides only. The five layouts follow five different reader tasks. */
.dating-guide-layout-parent-distance-visit-ledger,
.dating-guide-layout-parent-distance-visit-ledger .dating-guide-hero {
  --guide-accent: #50425d;
  --guide-wash: #f6f0eb;
  --c108-line: #d8c9bd;
  --c108-paper: #fcfaf6;
}

.dating-guide-layout-parent-text-rhythm-notes,
.dating-guide-layout-parent-text-rhythm-notes .dating-guide-hero {
  --guide-accent: #573f68;
  --guide-wash: #f4f0f8;
  --c108-line: #d8cbe1;
  --c108-paper: #faf8fc;
}

.dating-guide-layout-student-casual-terms-desk,
.dating-guide-layout-student-casual-terms-desk .dating-guide-hero {
  --guide-accent: #8a473b;
  --guide-wash: #fbf0e9;
  --c108-line: #e5c6b7;
  --c108-paper: #fff9f3;
}

.dating-guide-layout-rebound-weekend-reflection,
.dating-guide-layout-rebound-weekend-reflection .dating-guide-hero {
  --guide-accent: #57546e;
  --guide-wash: #f4f2f7;
  --c108-line: #d7d1df;
  --c108-paper: #fdfbfa;
}

.dating-guide-layout-professional-promise-plan-board,
.dating-guide-layout-professional-promise-plan-board .dating-guide-hero {
  --guide-accent: #334c65;
  --guide-wash: #edf3f5;
  --c108-line: #bed0d9;
  --c108-paper: #f8faf9;
}

.dating-guide-page:is(
  .dating-guide-layout-parent-distance-visit-ledger,
  .dating-guide-layout-parent-text-rhythm-notes,
  .dating-guide-layout-student-casual-terms-desk,
  .dating-guide-layout-rebound-weekend-reflection,
  .dating-guide-layout-professional-promise-plan-board
) .dating-guide-hero {
  background: var(--c108-paper);
}

/* A journey docket: prose and photograph lead into one shared travel decision. */
.dating-guide-layout-parent-distance-visit-ledger .dating-guide-hero h1,
.dating-guide-layout-parent-distance-visit-ledger .dating-guide-feature h2 {
  font-family: Georgia, 'Times New Roman', serif;
  font-weight: 700;
  letter-spacing: -.025em;
}

.dating-guide-layout-parent-distance-visit-ledger .dating-guide-editorial-lens {
  border-top: 5px solid #b27455;
  border-radius: 1px;
  background: repeating-linear-gradient(180deg, #fff, #fff 2.65rem, #f5f0eb 2.7rem);
}

.dating-guide-layout-parent-distance-visit-ledger .dating-guide-lens-card {
  border: 0;
  border-left: 2px solid #bd927b;
  border-radius: 0;
  background: #fffdf9;
}

.dating-guide-layout-parent-distance-visit-ledger .dating-guide-feature {
  border-top: 1px solid var(--c108-line);
  border-left: 3px solid #b27455;
  padding-left: clamp(1rem, 2vw, 1.5rem);
}

.dating-guide-layout-parent-distance-visit-ledger .dating-guide-type-compare {
  border-radius: 2px;
  background: #fbf7f1;
}

/* A contact rhythm: stacked time strips and an honest, bounded answer. */
.dating-guide-layout-parent-text-rhythm-notes .dating-guide-hero h1 {
  font-family: var(--font-body);
  font-weight: 800;
  letter-spacing: -.045em;
}

.dating-guide-layout-parent-text-rhythm-notes .dating-guide-answer {
  border-left: 5px solid var(--guide-accent);
  border-radius: 2px;
  box-shadow: none;
}

.dating-guide-layout-parent-text-rhythm-notes .dating-guide-editorial-lens {
  border-radius: 2px;
  background: #f9f6fb;
}

.dating-guide-layout-parent-text-rhythm-notes .dating-guide-lens-card {
  border: 0;
  border-bottom: 2px solid #b7a7c4;
  border-radius: 0;
  background: #fff;
}

.dating-guide-layout-parent-text-rhythm-notes .dating-guide-feature {
  border-top: 0;
  border-bottom: 1px solid var(--c108-line);
  padding-bottom: 1.5rem;
}

.dating-guide-layout-parent-text-rhythm-notes .dating-guide-feature:nth-of-type(even) .dating-guide-feature-copy {
  order: 0;
}

/* A present-terms desk: open space, separated choices, and a direct answer. */
.dating-guide-layout-student-casual-terms-desk .dating-guide-hero h1 {
  max-width: 18ch;
  font-family: var(--font-display);
  letter-spacing: -.045em;
}

.dating-guide-layout-student-casual-terms-desk .dating-guide-editorial-lens {
  border: 0;
  border-top: 6px solid #d3905c;
  border-radius: 0 0 14px 14px;
  background: #fff7ef;
}

.dating-guide-layout-student-casual-terms-desk .dating-guide-lens-card {
  border: 1px solid #e5c5ad;
  border-radius: 0 16px 0 16px;
  background: #fffdf9;
}

.dating-guide-layout-student-casual-terms-desk .dating-guide-feature {
  border-top: 0;
  border-left: 5px solid #ca8061;
  padding: clamp(1rem, 2.5vw, 1.6rem);
  background: #fffaf5;
}

.dating-guide-layout-student-casual-terms-desk .dating-guide-feature:nth-of-type(even) {
  border-left-color: #9a6670;
  background: #fcf8f7;
}

.dating-guide-layout-student-casual-terms-desk .dating-guide-type-compare {
  border-radius: 16px 2px 16px 2px;
}

/* A reflection page: a generous image opening and narrower reading measure. */
.dating-guide-layout-rebound-weekend-reflection .dating-guide-hero h1,
.dating-guide-layout-rebound-weekend-reflection .dating-guide-editorial-lens h2 {
  font-family: Georgia, 'Times New Roman', serif;
  font-weight: 600;
  letter-spacing: -.035em;
}

.dating-guide-layout-rebound-weekend-reflection .dating-guide-hero-copy {
  max-width: 52rem;
}

.dating-guide-layout-rebound-weekend-reflection .dating-guide-editorial-lens {
  border: 0;
  border-top: 1px solid var(--c108-line);
  border-bottom: 1px solid var(--c108-line);
  border-radius: 0;
  background: #fff;
}

.dating-guide-layout-rebound-weekend-reflection .dating-guide-lens-card {
  border: 0;
  border-bottom: 1px solid var(--c108-line);
  border-radius: 0;
  background: transparent;
}

.dating-guide-layout-rebound-weekend-reflection .dating-guide-feature {
  border-top: 0;
  padding-block: clamp(1.6rem, 4vw, 3rem);
}

.dating-guide-layout-rebound-weekend-reflection .dating-guide-feature-copy {
  max-width: 66ch;
}

.dating-guide-layout-rebound-weekend-reflection .dating-guide-type-compare {
  border-radius: 0;
  background: #f7f4f7;
}

/* A planning board: words, a date, repair, and the reader's fit test. */
.dating-guide-layout-professional-promise-plan-board .dating-guide-hero h1 {
  font-family: var(--font-body);
  font-weight: 850;
  letter-spacing: -.045em;
}

.dating-guide-layout-professional-promise-plan-board .dating-guide-editorial-lens {
  border: 1px solid var(--c108-line);
  border-radius: 2px;
  background: #f6f9f9;
}

.dating-guide-layout-professional-promise-plan-board .dating-guide-lens-card {
  border: 1px solid var(--c108-line);
  border-top: 4px solid var(--guide-accent);
  border-radius: 2px;
  background: #fff;
}

.dating-guide-layout-professional-promise-plan-board .dating-guide-feature {
  border-top: 2px solid var(--c108-line);
  padding-top: 1.6rem;
}

.dating-guide-layout-professional-promise-plan-board .dating-guide-feature:nth-of-type(even) .dating-guide-feature-copy {
  order: 0;
}

.dating-guide-layout-professional-promise-plan-board .dating-guide-type-compare {
  border-radius: 2px;
  background: #eff4f6;
}

@media (min-width: 981px) {
  .dating-guide-layout-parent-distance-visit-ledger .dating-guide-hero-grid {
    grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr);
    grid-template-areas: 'copy art' 'provenance art' 'decision decision';
  }

  .dating-guide-layout-parent-distance-visit-ledger .dating-guide-editorial-lens,
  .dating-guide-layout-rebound-weekend-reflection .dating-guide-editorial-lens,
  .dating-guide-layout-professional-promise-plan-board .dating-guide-editorial-lens {
    grid-template-columns: 1fr;
  }

  .dating-guide-layout-parent-distance-visit-ledger .dating-guide-lens-grid,
  .dating-guide-layout-professional-promise-plan-board .dating-guide-lens-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .dating-guide-layout-parent-text-rhythm-notes .dating-guide-hero-grid {
    grid-template-columns: minmax(0, 1.12fr) minmax(0, .88fr);
    grid-template-areas: 'art copy' 'art provenance' 'art decision';
  }

  .dating-guide-layout-parent-text-rhythm-notes .dating-guide-editorial-lens {
    grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
  }

  .dating-guide-layout-parent-text-rhythm-notes .dating-guide-lens-grid {
    grid-template-columns: 1fr;
  }

  .dating-guide-layout-parent-text-rhythm-notes .dating-guide-feature {
    grid-template-columns: minmax(0, 1.16fr) minmax(0, .84fr);
  }

  .dating-guide-layout-student-casual-terms-desk .dating-guide-hero-grid {
    grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr);
    grid-template-areas: 'copy copy' 'art decision' 'art provenance';
  }

  .dating-guide-layout-student-casual-terms-desk .dating-guide-hero-copy {
    max-width: 66rem;
  }

  .dating-guide-layout-student-casual-terms-desk .dating-guide-editorial-lens {
    grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr);
  }

  .dating-guide-layout-student-casual-terms-desk .dating-guide-lens-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .dating-guide-layout-rebound-weekend-reflection .dating-guide-hero-grid {
    grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr);
    grid-template-areas: 'art art' 'copy decision' 'provenance decision';
  }

  .dating-guide-layout-rebound-weekend-reflection .dating-guide-lens-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .dating-guide-layout-rebound-weekend-reflection .dating-guide-feature {
    grid-template-columns: 1fr;
    max-width: 72rem;
    margin-inline: auto;
  }

  .dating-guide-layout-rebound-weekend-reflection .dating-guide-feature .dating-guide-inline-art,
  .dating-guide-layout-rebound-weekend-reflection .dating-guide-feature .dating-guide-takeaway-card {
    max-width: 55rem;
  }

  .dating-guide-layout-professional-promise-plan-board .dating-guide-hero-grid {
    grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
    grid-template-areas: 'copy decision' 'art art' 'provenance provenance';
  }

  .dating-guide-layout-professional-promise-plan-board .dating-guide-feature {
    grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr);
  }
}

/* The HTML below the drawing carries its exact choices at readable phone size. */
.dating-guide-page .c108-visual-companion {
  min-width: 0;
  padding: clamp(1rem, 2.5vw, 1.5rem);
  border-top: 2px solid var(--guide-accent);
  background: var(--c108-paper, #fff);
  color: #23313c;
}

.c108-visual-heading {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: .4rem 1rem;
}

.c108-visual-eyebrow,
.dating-guide-page .c108-visual-label {
  color: var(--guide-accent);
  font-size: .72rem;
  font-weight: 850;
  letter-spacing: .075em;
  text-transform: uppercase;
}

.c108-visual-heading a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: var(--guide-accent);
  font-size: .875rem;
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.c108-visual-heading a:focus-visible {
  outline: 3px solid var(--guide-accent);
  outline-offset: 3px;
}

.dating-guide-page .c108-visual-companion h3 {
  margin: .2rem 0 .8rem;
  color: #192932;
  font-family: var(--font-display);
  font-size: clamp(1.12rem, 2vw, 1.4rem);
  line-height: 1.3;
}

.dating-guide-page .c108-visual-companion h4 {
  margin: 0 0 .45rem;
  color: #23313c;
  font-size: 1rem;
  line-height: 1.35;
}

.dating-guide-page .c108-visual-companion :is(p, li, dd, blockquote) {
  color: #263942;
  font-size: .95rem;
  line-height: 1.55;
  overflow-wrap: anywhere;
}

.c108-visual-setup,
.c108-visual-branches,
.c108-visual-comparison,
.c108-visual-explanations {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: .7rem;
  margin: .7rem 0 0;
  padding: 0;
}

.c108-visual-setup > div,
.c108-visual-branches > li,
.c108-visual-comparison > section,
.c108-visual-explanations > div,
.c108-visual-explanations > li {
  min-width: 0;
  padding: .8rem .9rem;
  border: 1px solid var(--c108-line, #d5dde0);
  background: #fff;
  list-style: none;
}

.c108-visual-setup dt,
.c108-visual-branches strong,
.c108-visual-explanations dt,
.c108-visual-action-steps strong {
  display: block;
  margin-bottom: .25rem;
  color: var(--guide-accent);
  font-size: .85rem;
  font-weight: 850;
}

.c108-visual-setup dd,
.c108-visual-explanations dd {
  margin: 0;
}

.c108-visual-branches span,
.c108-visual-action-steps span {
  display: block;
}

.c108-visual-action-steps {
  counter-reset: c108-action;
}

.c108-visual-action-steps > li {
  position: relative;
  counter-increment: c108-action;
  padding-left: 2.5rem;
}

.c108-visual-action-steps > li::before {
  content: counter(c108-action, decimal-leading-zero);
  position: absolute;
  top: .8rem;
  left: .85rem;
  color: var(--guide-accent);
  font-size: .72rem;
  font-weight: 850;
}

.c108-visual-list {
  display: grid;
  gap: .55rem;
  margin: .55rem 0 0;
  padding-left: 1.4rem;
}

.c108-visual-questions {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.dating-guide-page .c108-visual-label {
  margin: .9rem 0 .3rem;
}

.c108-visual-companion blockquote {
  margin: .3rem 0 .8rem;
  padding: .75rem 1rem;
  border-left: 4px solid var(--guide-accent);
  background: #fff;
}

.dating-guide-page .c108-visual-companion blockquote p {
  margin: 0;
  color: #20343c;
}

.dating-guide-page .c108-visual-takeaway {
  margin: .9rem 0 0;
  padding-top: .75rem;
  border-top: 1px solid var(--c108-line, #d5dde0);
  color: #20343c;
}

.c108-visual-takeaway strong {
  color: var(--guide-accent);
}

@media (max-width: 980px) {
  .dating-guide-layout-parent-distance-visit-ledger .dating-guide-lens-grid,
  .dating-guide-layout-student-casual-terms-desk .dating-guide-lens-grid,
  .dating-guide-layout-rebound-weekend-reflection .dating-guide-lens-grid,
  .dating-guide-layout-professional-promise-plan-board .dating-guide-lens-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 680px) {
  .dating-guide-layout-parent-distance-visit-ledger .dating-guide-lens-grid,
  .dating-guide-layout-parent-text-rhythm-notes .dating-guide-lens-grid,
  .dating-guide-layout-student-casual-terms-desk .dating-guide-lens-grid,
  .dating-guide-layout-rebound-weekend-reflection .dating-guide-lens-grid,
  .dating-guide-layout-professional-promise-plan-board .dating-guide-lens-grid,
  .c108-visual-setup,
  .c108-visual-branches,
  .c108-visual-comparison,
  .c108-visual-explanations,
  .c108-visual-questions {
    grid-template-columns: 1fr;
  }

  .dating-guide-layout-parent-distance-visit-ledger .dating-guide-feature,
  .dating-guide-layout-student-casual-terms-desk .dating-guide-feature {
    padding-left: 1rem;
  }

  .dating-guide-layout-rebound-weekend-reflection .dating-guide-feature-copy {
    max-width: none;
  }

  .dating-guide-page .c108-visual-companion {
    padding: 1rem;
  }

  .c108-visual-heading {
    align-items: flex-start;
  }

  .dating-guide-page .c108-teaching-figure > picture,
  .dating-guide-page .c108-teaching-figure > a:first-child,
  .dating-guide-page .c108-teaching-figure > figcaption,
  .dating-guide-page .c108-teaching-figure > .dating-guide-image-read {
    display: none;
  }
}
