/* SSHJ Healing Through the Lens — previous/next SEASON arrows (v2).
   Self-contained add-on. Does not change existing page content, images, header, footer or fonts.
   Labels never truncate: if the bar is too narrow, the two buttons stack full-width. */
.sshj-lens-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px 16px;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  margin: 0;
  padding: 14px 4px;
  border: 0;
  border-top: 1px solid rgba(238, 183, 100, 0.4);
  border-bottom: 1px solid rgba(238, 183, 100, 0.4);
  background: transparent;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 19px;
  font-weight: 400;
  line-height: 1.25;
  letter-spacing: 0.05em;
  color: #e0c060;
  container-type: inline-size;
  container-name: sshj-lens-nav;
  overflow: visible;
  flex: 0 0 auto;
}

.sshj-lens-nav--top { margin-bottom: 4px; }
.sshj-lens-nav--bottom { margin-top: 4px; }

.sshj-lens-nav__side {
  flex: 0 1 auto;
  min-width: 0;
  display: flex;
  max-width: 100%;
}
.sshj-lens-nav__side--prev { justify-content: flex-start; }
.sshj-lens-nav__side--next { justify-content: flex-end; margin-left: auto; }
.sshj-lens-nav__side--empty { display: none; }

.sshj-lens-nav__link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex: 0 0 auto;
  max-width: 100%;
  padding: 7px 16px;
  border: 1px solid rgba(224, 192, 96, 0.5);
  border-radius: 50px;
  background: rgba(15, 10, 4, 0.4);
  color: #e0c060 !important;
  -webkit-text-fill-color: #e0c060;
  text-decoration: none !important;
  box-shadow: 0 0 0 0 transparent;
  text-shadow: none;
  filter: brightness(1);
  overflow: visible;
  box-sizing: border-box;
  transition:
    color 0.3s ease,
    -webkit-text-fill-color 0.3s ease,
    border-color 0.3s ease,
    background 0.3s ease,
    box-shadow 0.3s ease,
    text-shadow 0.3s ease,
    filter 0.3s ease;
  -webkit-tap-highlight-color: transparent;
}
.sshj-lens-nav__link:visited {
  color: #e0c060 !important;
  -webkit-text-fill-color: #e0c060;
}

.sshj-lens-nav__label {
  overflow: visible;
  text-overflow: clip;
  white-space: nowrap;
  min-width: auto;
  flex: 0 0 auto;
}

.sshj-lens-nav__chev {
  flex: 0 0 auto;
  width: 15px;
  height: 15px;
  display: block;
}

/* Soft gold glow — hover, keyboard focus, and tap */
.sshj-lens-nav__link:hover,
.sshj-lens-nav__link:focus-visible,
.sshj-lens-nav__link:active,
.sshj-lens-nav__link.is-hover {
  color: #ffe9b0 !important;
  -webkit-text-fill-color: #ffe9b0;
  border-color: #ffe09a;
  background: rgba(42, 26, 8, 0.62);
  filter: brightness(1.12);
  text-shadow:
    0 0 8px rgba(255, 220, 130, 0.85),
    0 0 18px rgba(238, 183, 100, 0.55);
  box-shadow:
    0 0 0 1px rgba(255, 232, 170, 0.55),
    0 0 10px rgba(255, 220, 130, 0.7),
    0 0 22px rgba(238, 183, 100, 0.45);
  outline: none;
}

.sshj-lens-nav__link:focus:not(:focus-visible) {
  /* don't leave a stuck glow after mouse click */
}

.sshj-lens-nav--stack {
  flex-direction: column;
  align-items: stretch;
  gap: 8px;
}
.sshj-lens-nav--stack .sshj-lens-nav__side,
.sshj-lens-nav--stack .sshj-lens-nav__side--next {
  flex: 0 0 auto;
  width: 100%;
  max-width: 100%;
  margin-left: 0;
  justify-content: stretch;
}
.sshj-lens-nav--stack .sshj-lens-nav__link {
  width: 100%;
  max-width: none;
  justify-content: center;
  flex: 0 0 auto;
}

@media (max-width: 575.98px) {
  .sshj-lens-nav {
    font-size: 17px;
    gap: 8px;
    padding: 12px 2px;
  }
  .sshj-lens-nav__link { padding: 6px 14px; gap: 6px; }
  .sshj-lens-nav__chev { width: 14px; height: 14px; }
}
