/* SAU 1.98: keep the artwork geometry; simplify the choices around it. */
.sau-living-gallery main.single .sau-story > h1 {
  font-size: clamp(1.85rem, 5.4vw, 2.65rem);
  line-height: 1.1;
  letter-spacing: -.035em;
  text-wrap: pretty;
}

body.single-post.sau-living-gallery .sau-story > .share-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .5rem;
}
body.single-post.sau-living-gallery .sau-story > .share-row > a,
body.single-post.sau-living-gallery .sau-story > .share-row > button.copy-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: .45rem .85rem;
  line-height: 1.2;
  font-size: .875rem;
}
body.single-post.sau-living-gallery .sau-story > .share-row > a:focus-visible,
body.single-post.sau-living-gallery .sau-story > .share-row > button.copy-link:focus-visible {
  outline: 3px solid var(--sau-mode-accent, #2458c8);
  outline-offset: 3px;
}

/* Both destinations are visible in the normal page flow, including without JS. */
.sau-living-gallery .sau-next-walls--reader {
  margin: 1.8rem 0;
  padding-top: 1rem;
  border-top: 3px solid var(--sau-editorial, #d9574f);
}
.sau-living-gallery .sau-next-walls--reader .sau-next-walls__heading h2 {
  font-size: 1.45rem;
  line-height: 1.2;
  margin-bottom: 1rem;
}
.sau-living-gallery .sau-next-walls--reader .sau-next-walls__rail {
  display: grid;
  width: 100%;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  overflow: visible;
  scroll-snap-type: none;
  margin: 0;
  padding: 0;
}
.sau-living-gallery .sau-next-walls--reader .sau-next-wall-card {
  width: auto;
  margin: 0;
  border: 1px solid var(--sau-border, #d4d4d4);
  border-radius: 12px;
  box-shadow: none;
  background: var(--sau-surface, #fff);
}
.sau-living-gallery .sau-next-walls--reader .sau-next-wall-card .card-body {
  padding: .85rem;
}
.sau-living-gallery .sau-next-walls--reader .sau-next-wall-card h3 {
  display: block;
  min-height: 0;
  max-height: none;
  overflow: visible;
  margin: 0;
  font-size: 1.04rem;
  line-height: 1.3;
  -webkit-line-clamp: unset;
}
.sau-living-gallery .sau-next-walls--reader .sau-next-wall-card__label {
  font-size: .67rem;
  margin-bottom: .45rem;
}
.sau-living-gallery .sau-next-walls--reader .sau-next-wall-card__action {
  display: block;
  margin-top: auto;
  padding-top: .8rem;
  font-size: .78rem;
  font-weight: 700;
  color: var(--sau-muted, #555);
}
@media (hover: hover) {
  .sau-living-gallery .sau-next-walls--reader .sau-next-wall-card__link:hover h3 {
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 3px;
  }
}
@media (max-width: 520px) {
  .sau-living-gallery .sau-next-walls--reader .sau-next-walls__rail {
    grid-template-columns: minmax(0, 1fr);
    gap: .75rem;
  }
  .sau-living-gallery .sau-next-walls--reader .sau-next-wall-card__link {
    display: grid;
    grid-template-columns: minmax(0, 42fr) minmax(0, 58fr);
    align-items: center;
  }
  .sau-living-gallery .sau-next-walls--reader .sau-next-wall-card .card-media {
    width: 100%;
    border-radius: 0;
    background: transparent;
  }
  .sau-living-gallery .sau-next-walls--reader .sau-next-wall-card .card-body {
    padding: .75rem;
  }
  .sau-living-gallery .sau-next-walls--reader .sau-next-wall-card h3 {
    font-size: .95rem;
    line-height: 1.28;
  }
  .sau-living-gallery .sau-next-walls--reader .sau-next-wall-card__action {
    padding-top: .6rem;
  }
}
