/* 마지막 감사 — `App.css` closing-photo + pre-footer 이미지 + 크레딧 (`--main-content-inner-px`는 sample01.js가 설정) */

.closing-photo {
  position: relative;
  width: var(--main-content-inner-px, 100%);
  max-width: var(--main-content-inner-px, 100%);
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  min-width: 0;
  overflow: hidden;
  color: var(--color-text-on-contrast, #fff);
}

.closing-photo .hero-title-photo.hero-title-photo--pre-footer {
  display: block;
  width: 100%;
  max-width: none;
  height: auto;
  margin: 0;
  border-radius: 0;
  border: none;
  box-shadow: none;
  filter: brightness(0.72);
}

.closing-photo__message {
  position: absolute;
  top: 50%;
  left: 50%;
  width: min(100% - 48px, 22rem);
  transform: translate(-50%, -50%);
  text-align: center;
  color: var(--color-text-on-contrast, #fff);
  text-shadow: 0 2px 18px rgb(0 0 0 / 0.35);
}

.closing-photo__heart {
  margin: 0 0 8px;
  font-size: clamp(1rem, 4vw, 1.35rem);
  line-height: 1;
  color: var(--color-text-on-contrast, #fff);
}

.closing-photo__title {
  margin: 0;
  font-family: "Bodoni Moda", "Cormorant Garamond", var(--serif);
  font-size: clamp(1.15rem, 5vw, 1.75rem);
  font-weight: 500;
  letter-spacing: 0.18em;
  line-height: 1.2;
  color: inherit;
  box-sizing: border-box;
}

.closing-photo__text {
  margin: 14px 0 0;
  font-size: clamp(0.78rem, 3vw, 0.95rem);
  line-height: 1.7;
  letter-spacing: 0.04em;
}

.site-credit {
  padding: 0 0 10px;
  text-align: center;
}

.site-credit.closing-photo__credit {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 14px;
  padding: 0;
}

.closing-photo .site-credit__text {
  color: var(--color-text-on-contrast-muted, rgb(255 255 255 / 0.82));
}

.site-credit__text {
  margin: 0;
  font-size: 12px;
  letter-spacing: 0.06em;
  color: rgb(255 255 255 / 0.82);
}

.site-credit__link {
  color: inherit;
  text-decoration: none;
  padding: 6px 4px;
  margin: -6px -4px;
}
