/* This article's diagrams stay as readable, selectable text on small screens. */
.first-contact-article {
  --contact-ink: #493f49;
  --contact-muted: #756773;
  --contact-accent: #895e7b;
  --contact-line: #e8d9e3;
  --contact-wash: #f6f0f5;
  overflow-wrap: anywhere;
}

.first-contact-page .article-title-main {
  max-width: none;
  color: #57525f;
}

.first-contact-page .article-title-sub {
  max-width: none;
  text-wrap: wrap;
}

.first-contact-mobile-break { display: none; }

.first-contact-article [id] {
  scroll-margin-top: 110px;
}

.first-contact-article .first-contact-feelings {
  margin: 42px 0 30px;
  padding: 28px;
  background: linear-gradient(125deg, #f5eef6, #fcf2ee);
}

.first-contact-article .first-contact-feelings figcaption {
  margin: 0 0 26px;
  color: var(--contact-ink);
  font-family: var(--sans);
  font-size: 17px;
  font-weight: 500;
  line-height: 1.8;
  text-align: left;
}

.first-contact-feeling-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 26px;
}

.first-contact-article .first-contact-feeling-name {
  margin: 0 0 12px;
  color: var(--contact-accent);
  font-family: var(--serif);
  font-size: 27px;
  line-height: 1.5;
}

.first-contact-article .first-contact-feeling-grid h3 {
  margin: 0 0 12px;
  color: var(--contact-ink);
  font-family: var(--sans);
  font-size: 18px;
  font-weight: 500;
  line-height: 1.8;
}

.first-contact-article .first-contact-feeling-grid section > p:not(.first-contact-feeling-name) {
  margin: 0 0 12px;
  color: var(--contact-muted);
  font-size: 17px;
  line-height: 1.9;
}

.first-contact-article .first-contact-feeling-grid a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: #795069;
  font-size: 16px;
  line-height: 1.8;
  text-decoration: underline;
  text-decoration-color: #c8adbf;
  text-underline-offset: 5px;
}

.first-contact-article .first-contact-feeling-grid a span { margin-left: .3em; }

.first-contact-article .first-contact-message {
  margin: 24px 0 30px;
  padding: 24px 28px;
  background: var(--contact-wash);
}

.first-contact-article .first-contact-message p {
  margin: 0;
  color: var(--contact-ink);
  font-family: var(--serif);
  font-size: 18px;
  line-height: 2;
}

.first-contact-article .first-contact-writing {
  margin: 28px 0;
  padding: 25px 0;
  border-block: 1px solid var(--contact-line);
}

.first-contact-article .first-contact-writing > span {
  display: block;
  margin-bottom: 14px;
  color: var(--contact-muted);
  font-size: 16px;
  line-height: 1.8;
}

.first-contact-article .first-contact-writing p {
  margin: 0;
  color: var(--contact-ink);
  font-family: var(--serif);
  font-size: 22px;
  line-height: 2.2;
}

.first-contact-blank {
  display: inline-block;
  width: 5em;
  height: 1em;
  margin-inline: .4em;
  border-bottom: 1px solid #ab92a4;
}

.first-contact-faq { margin-top: 54px; }
.first-contact-faq details { border-bottom: 1px solid var(--contact-line); }

.first-contact-faq summary {
  position: relative;
  padding: 22px 30px 22px 0;
  color: var(--contact-ink);
  font-size: 18px;
  font-weight: 500;
  line-height: 1.8;
  list-style: none;
  cursor: pointer;
}

.first-contact-faq summary::-webkit-details-marker { display: none; }
.first-contact-faq summary::after {
  content: "+";
  position: absolute;
  right: 3px;
  top: 22px;
  color: var(--contact-accent);
  font-size: 22px;
  font-weight: 400;
}
.first-contact-faq details[open] summary::after { content: "−"; }

.first-contact-article .first-contact-faq details p {
  margin: 0 0 24px;
  color: var(--contact-ink);
  font-size: 17px;
  line-height: 1.95;
}

.first-contact-faq summary:focus-visible,
.first-contact-feeling-grid a:focus-visible {
  outline: 2px solid var(--contact-accent);
  outline-offset: 5px;
}

.first-contact-article .article-references p,
.first-contact-article .article-references a {
  font-size: 16px;
  line-height: 1.9;
}

@media (max-width: 760px) {
  .first-contact-mobile-break { display: block; }
  .first-contact-article .first-contact-feelings { padding: 24px 20px; }
  .first-contact-feeling-grid { grid-template-columns: 1fr; gap: 28px; }
  .first-contact-article .first-contact-feeling-name { margin-bottom: 6px; font-size: 25px; }
  .first-contact-article .first-contact-feeling-grid h3 { margin-bottom: 8px; }
  .first-contact-article .first-contact-feeling-grid section > p:not(.first-contact-feeling-name) { margin-bottom: 4px; }
  .first-contact-article .first-contact-message { padding: 21px 20px; }
  .first-contact-article .first-contact-writing p { font-size: 20px; }
}

@media (prefers-reduced-motion: reduce) {
  .first-contact-page { scroll-behavior: auto; }
}
