/* Shared frame for the public story collection.
   Each story keeps its own editorial palette and typography beneath this bar. */
.story-network {
  position: relative;
  z-index: 1000;
  margin: 0;
  border-bottom: 1px solid #d9d2c4;
  background: #f6f2e9;
  color: #17253a;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 14px;
  line-height: 1.35;
  -webkit-font-smoothing: antialiased;
}

.story-network__inner {
  width: min(1180px, calc(100% - 36px));
  min-height: 54px;
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.story-network__brand,
.story-network__links a {
  color: inherit;
  text-decoration: none;
}

.story-network__brand {
  flex: 0 0 auto;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.15rem;
  letter-spacing: -.02em;
}

.story-network__links {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: clamp(16px, 2.4vw, 30px);
  white-space: nowrap;
}

.story-network__links a {
  padding: 17px 0 14px;
  border-bottom: 3px solid transparent;
  font-size: .76rem;
  font-weight: 760;
  letter-spacing: .055em;
}

.story-network__links a:hover,
.story-network__links a:focus-visible {
  border-bottom-color: #536746;
}

.story-network__links a[aria-current="page"] {
  border-bottom-color: #8a5d38;
  color: #5f3c23;
}

.story-network--footer {
  border-top: 1px solid #d9d2c4;
  border-bottom: 0;
}

.story-network--footer .story-network__inner {
  min-height: 58px;
}

.collection-access-note {
  margin-top: clamp(44px, 6vw, 68px);
  padding: clamp(22px, 3vw, 30px);
  border: 1px solid #d9d2c4;
  border-left: 4px solid #8a5d38;
  border-radius: 0 12px 12px 0;
  background: rgba(255, 253, 248, .72);
  color: #5f5d57;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: clamp(.93rem, 1.3vw, 1rem);
  line-height: 1.62;
}

.collection-access-note strong {
  display: block;
  margin-bottom: .28rem;
  color: #17253a;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.15rem, 2vw, 1.42rem);
  font-weight: 600;
}

@media (max-width: 700px) {
  .story-network__inner {
    width: min(100% - 28px, 1180px);
    min-height: 0;
    padding: 10px 0 8px;
    display: grid;
    gap: 5px;
  }

  .story-network__brand {
    font-size: 1.05rem;
  }

  .story-network__links {
    width: 100%;
    justify-content: flex-start;
    gap: 18px;
    overflow-x: auto;
    overscroll-behavior-inline: contain;
    scrollbar-width: thin;
  }

  .story-network__links a {
    padding: 6px 0 8px;
  }
}

@media print {
  .story-network,
  .collection-access-note {
    display: none !important;
  }
}
