/* One consistent invitation into each of the twelve Edits. */
.rhea-apothecary .edit-hero h1 { font-size: clamp(42px, 4.1vw, 58px); line-height: 1.08; }
.apothecary-introduction { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); column-gap: 6%; row-gap: 38px; align-items: center; border-top: 1px solid var(--edit-line, #c9ccbd); }
.apothecary-introduction p { max-width: 58ch; }
.apothecary-introduction .apothecary-signoff { grid-column: 1 / -1; font-family: Georgia, serif; font-size: clamp(23px, 2.3vw, 30px); line-height: 1.45; color: #354b3c; max-width: 54ch; margin: 0 auto; text-align: center; }
.apothecary-founders-photo { margin: 0; }
.apothecary-founders-photo img { display: block; width: 100%; height: auto; border-radius: 8px; }
.apothecary-founders-copy p:last-child { margin-bottom: 0; }
.apothecary-founders-signoff { grid-column: 1 / -1; }
.apothecary-signatures { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 4px; width: 100%; padding: 0; margin: 12px auto 0; background: transparent; }
.apothecary-signature { position: relative; overflow: hidden; aspect-ratio: 3 / 1; }
.apothecary-signature img { position: absolute; top: 50%; width: 200%; max-width: none; height: auto; border-radius: 0; transform: translateY(-50%); }
.apothecary-signature-michele img { left: 0; }
.apothecary-signature-kristi img { right: 0; }
.protocol-directory #edits > .sleep-edit-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 6%;
  align-items: center;
  margin: 0;
  padding: 48px 0;
  border-top: 0;
  border-bottom: 1px solid var(--edit-line, #c9ccbd);
}
.protocol-directory #edits > .sleep-edit-card > .directory-edit-visual {
  display: block;
  aspect-ratio: 3 / 2;
  overflow: hidden;
  border-radius: 8px;
}
.protocol-directory #edits .directory-edit-visual > img {
  display: block;
  width: 100%;
  height: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  border-radius: 0;
  filter: none;
}
.protocol-directory #edits .directory-edit-visual:focus-visible {
  outline: 2px solid #58654c;
  outline-offset: 6px;
}
.protocol-directory #edits .edit-actions { align-items: flex-start; }
.protocol-directory #edits .edit-actions a { max-width: 100%; }
@media (max-width: 760px) {
  .apothecary-introduction { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .apothecary-introduction .apothecary-signoff { font-size: 21px; }
  .protocol-directory #edits > .sleep-edit-card {
    grid-template-columns: minmax(0, 1fr);
    gap: 28px;
    padding: 34px 0;
  }
}

@media (max-width: 560px) {
  .apothecary-signatures { gap: 4px; margin-top: 8px; }
}

/* Apothecary wayfinding: grouped page links and a distinct shop destination. */
.protocol-unified nav.apothecary-section-nav {
  width: min(1200px, 88%);
  margin: 0 auto 48px;
  padding: 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px 24px;
  border: 1px solid #d2d5ca;
  border-radius: 28px;
  background: #edf0ea;
  letter-spacing: 0;
}
.apothecary-section-links {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  min-width: 0;
}
.protocol-unified nav.apothecary-section-nav a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 22px;
  border: 1px solid #d0d4c9;
  border-radius: 999px;
  background: #faf8f4;
  color: #304234;
  font: 500 16px/1.4 'DM Sans', Arial, sans-serif;
  letter-spacing: 0;
  text-align: center;
  text-decoration: none;
  white-space: normal;
}
.protocol-unified nav.apothecary-section-nav a:hover {
  background: #e1e6dc;
  border-color: #879380;
  color: #242b23;
}
.protocol-unified nav.apothecary-section-nav a:focus-visible {
  outline: 2px solid #465342;
  outline-offset: 4px;
}
.protocol-unified nav.apothecary-section-nav .apothecary-dispensary-link {
  background: #c9baad;
  border-color: #b9a89a;
  color: #242b23;
}
.protocol-unified nav.apothecary-section-nav .apothecary-dispensary-link:hover {
  background: #d4c7bc;
  border-color: #9f8e80;
}
@media (max-width: 1000px) {
  .protocol-unified nav.apothecary-section-nav { justify-content: center; }
}
@media (max-width: 600px) {
  .protocol-unified nav.apothecary-section-nav {
    width: 88%;
    padding: 14px;
    gap: 12px;
    margin-bottom: 32px;
    border-radius: 24px;
  }
  .apothecary-section-links { display: grid; grid-template-columns: 1fr 1fr; width: 100%; gap: 8px; }
  .apothecary-section-links > a:last-child { grid-column: 1 / -1; }
  .protocol-unified nav.apothecary-section-nav a { padding: 12px 14px; font-size: 16px; }
  .protocol-unified nav.apothecary-section-nav .apothecary-dispensary-link { width: 100%; }
}
