/* 5ft.mag home page */
/* TODO mobile-first 리팩토링 대기 — @media (max-width) → (min-width) 플립. base 가 모바일 값을 갖도록 조정 필요. 회귀 위험 있어 별도 라운드에서 처리. (PoC: comments.css / market.css)*/
/* ════════════════════════════
   SPLIT LAYOUT
════════════════════════════ */
.split-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: stretch;
  border-bottom: 1px solid var(--border);
}
.panel { display: flex; flex-direction: column; }
.panel-left { border-right: 1px solid var(--border); }

/* 다음 호 주제 promo — Reader's Roll 하단의 일반 in-flow 카드 */
.next-issue-block {
  padding: 36px 28px;
  background: var(--bg-sub);
  border-top: 1px solid var(--border);
  text-align: center;
}

.next-issue-block .ni-tag {
  display: block;
  font-size: 11px;
  font-weight: var(--fw-heading);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 14px;
}
.next-issue-block .ni-title {
  font-size: 26px;
  font-weight: var(--fw-heading);
  letter-spacing: -0.02em;
  line-height: 1.15;
  color: var(--text);
  margin: 0 0 6px;
}
.next-issue-block .ni-sub {
  font-size: 14px;
  color: var(--text-muted);
  margin: 0 0 14px;
}
.next-issue-block .ni-desc {
  font-size: 13px;
  line-height: 1.55;
  color: var(--text-muted);
  max-width: 380px;
  margin: 0 auto 12px;
}
.next-issue-block .ni-film {
  font-size: 12px;
  font-weight: var(--fw-heading);
  letter-spacing: 0.04em;
  color: var(--text-muted);
  margin: 0 0 18px;
}
.next-issue-block .ni-cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--text);
  color: var(--bg);
  padding: 11px 20px;
  border: none;
  border-radius: var(--btn-radius);
  font-size: 13px;
  font-weight: var(--fw-heading);
  letter-spacing: 0.02em;
  cursor: pointer;
  transition: opacity .15s;
}
.next-issue-block .ni-cta:hover { opacity: 0.85; }

/* ── 패널 헤더 ── */
.panel-header {
  padding: 56px 32px 40px;
  border-bottom: 1px solid var(--border);
}
.panel-header h2 {
  font-size: var(--fs-display);
  font-weight: var(--fw-heading);
  letter-spacing: var(--ls-default);
  line-height: 1.2;
  margin-bottom: 4px;
}
.panel-header p {
  font-size: var(--fs-body);
  font-weight: var(--fw-all);
  letter-spacing: var(--ls-default);
  color: var(--text-muted);
  line-height: 1.2;
}

/* ════════════════════════════
   LATEST 포스트 목록
════════════════════════════ */
.post-list { display: flex; flex-direction: column; }

.post-item {
  display: block;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  transition: opacity .15s;
}
[data-theme="dark"] .post-item {
  border-bottom-color: rgba(255, 255, 255, 0.06);
}
.post-item:last-child { border-bottom: none; }
.post-item:hover { opacity: .75; }

.post-img-wrap { padding: 24px 24px 0; }
.post-img {
  width: 100%;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: transparent;
  position: relative;
}
.post-label {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  max-width: calc(100% - 24px);
  padding: 4px 7px 3px;
  background: rgba(0, 0, 0, 0.54);
  color: rgba(255, 255, 255, 0.88);
  font-size: 9px;
  font-weight: var(--fw-heading);
  letter-spacing: 0.08em;
  line-height: 1;
  text-transform: uppercase;
  white-space: nowrap;
}
[data-theme="dark"] .post-label {
  background: rgba(255, 255, 255, 0.66);
  color: rgba(17, 17, 17, 0.82);
}
.post-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
  transition: transform .4s ease;
}
.post-item:hover .post-img img { transform: scale(1.03); }
/* 사진 없는 글 — 타이포그래피 카드 (옅은 노란색 배경) */
.post-img.text-only {
  background: var(--accent-soft, #FFF399);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  position: relative;
}
.post-img.text-only .post-img-title {
  font-size: 22px;
  font-weight: var(--fw-heading);
  letter-spacing: -0.025em;
  line-height: 1.2;
  color: #111;
  text-align: center;
  word-break: keep-all;
}
.post-img.text-only .post-img-mark {
  position: absolute;
  bottom: 12px; left: 12px;
  font-size: 10px;
  font-weight: var(--fw-heading);
  letter-spacing: 0.14em;
  color: #111;
  opacity: 0.7;
}
/* Vol.02 에세이 — 옅은 빨강 배경 */
.post-item[data-issue="Vol.02"][data-category="essay"] .post-img.text-only {
  background: #fadcdc;
}
.post-item[data-issue="Vol.02"][data-category="essay"] .post-img.text-only .post-img-title {
  color: #6b1f1f;
}
/* LATEST·ESSAY 뱃지는 어두운 반투명 배경이라 글자는 흰색 유지 */
.post-item[data-issue="Vol.02"][data-category="essay"] .post-img.text-only .post-label {
  color: rgba(255, 255, 255, 0.92);
}

.post-text { padding: 20px 24px 32px; }
.post-title {
  font-size: var(--fs-title);
  font-weight: var(--fw-heading);
  letter-spacing: var(--ls-default);
  line-height: 1.2;
  margin-bottom: 8px;
  word-break: keep-all;
  overflow-wrap: normal;
}
.post-excerpt {
  font-size: var(--fs-title);
  font-weight: var(--fw-all);
  letter-spacing: var(--ls-default);
  color: var(--text-muted);
  line-height: 1.2;
  word-break: keep-all;
  overflow-wrap: normal;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.pagination {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 24px 16px;
  border-top: 1px solid var(--border);
  flex-wrap: wrap;
}
.pagination a, .pagination span {
  font-size: var(--fs-body);
  font-weight: var(--fw-all);
  letter-spacing: var(--ls-default);
  padding: 4px 10px;
  color: var(--text-muted);
  border-radius: 2px;
  transition: background .15s, color .15s;
}
.pagination a:hover { background: var(--bg-sub); color: var(--text); }
.pagination .cur { color: var(--text); }

/* 모바일 터치 타깃 보강 — 작은 패딩(4×10) 으로는 44×44 권고 미달이라 a, span 모두 키움 */
@media (max-width: 640px) {
  .pagination a, .pagination span {
    padding: 10px 14px;
    min-height: 44px;
    display: inline-flex;
    align-items: center;
  }
}

/* 페이지 번호 (텍스트만) */
.story-num-nav {
  gap: 18px;
  justify-content: center;
  padding: 24px 16px;
}
.page-num {
  font-size: 14px;
  font-weight: var(--fw-heading);
  letter-spacing: 0.02em;
  color: var(--text-muted);
  padding: 4px 6px;
  text-decoration: none;
  transition: color .15s;
}
.page-num:hover { color: var(--text); }
.page-num.cur {
  color: var(--text);
}

/* ════════════════════════════
   DISCOVER 그리드 (통합 Photo: editorial + 독자 사진)
   2컬럼 × 18행 = 36장. 한 롤(36 frames) 메타포와 일치.
════════════════════════════ */
.discover-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
}
.disc-cell {
  display: block;
  position: relative;
  overflow: hidden;
  background: var(--bg-sub);
  aspect-ratio: 1 / 1;
  border-right: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  transition: opacity .15s;
}
.disc-cell:nth-child(2n) { border-right: none; }
.disc-cell:nth-last-child(-n+2) { border-bottom: none; }
.disc-cell img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .4s ease;
}
.disc-cell::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.42);
  opacity: 0;
  transition: opacity .2s ease;
  pointer-events: none;
  z-index: 1;
}
.disc-info {
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 14px;
  z-index: 2;
  color: #fff;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity .2s ease, transform .2s ease;
  text-align: left;
  pointer-events: none;
}
.disc-info .disc-author {
  display: block;
  font-size: 18px;
  font-weight: var(--fw-heading);
  letter-spacing: var(--ls-default);
  line-height: 1.15;
}
.disc-info .disc-film {
  display: block;
  margin-top: 4px;
  font-size: 12px;
  font-weight: var(--fw-heading);
  letter-spacing: 0.08em;
  line-height: 1.2;
  text-transform: uppercase;
  opacity: 0.74;
}
.disc-cell:hover::after,
.disc-cell:focus-visible::after { opacity: 1; }
.disc-cell:hover .disc-info,
.disc-cell:focus-visible .disc-info {
  opacity: 1;
  transform: translateY(0);
}
.disc-cell:hover img,
.disc-cell:focus-visible img { transform: scale(1.04); }
.disc-cell { cursor: pointer; }

/* ════════════════════════════
   MODAL (사진 클릭 시 필름 정보)
════════════════════════════ */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.85);
  z-index: 1000;
  display: none;
  overflow-y: auto;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}
.modal-overlay.open {
  display: block;
  animation: fadeIn 0.25s ease;
}
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}
.modal-close {
  position: fixed;
  top: 20px; right: 24px;
  z-index: 1010;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #fff;
  width: 44px; height: 44px;
  border-radius: 50%;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  font-size: 20px;
  transition: background .15s;
  font-family: var(--font);
}
.modal-close:hover { background: rgba(255, 255, 255, 0.2); }
.modal-content {
  max-width: 1280px; margin: 0 auto;
  padding: 80px 32px 80px;
  color: #fff;
}
.modal-header {
  margin-bottom: 48px;
  padding-bottom: 32px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}
.modal-brand {
  font-size: var(--fs-meta);
  font-weight: var(--fw-heading);
  letter-spacing: 0.12em;
  color: rgba(255, 255, 255, 0.5);
  margin-bottom: 12px;
  display: block;
}
.modal-name {
  font-size: 56px;
  font-weight: var(--fw-heading);
  letter-spacing: -0.03em;
  line-height: 1.1;
  margin-bottom: 20px;
}
.modal-desc {
  font-size: 17px;
  line-height: 1.7;
  max-width: 720px;
  color: rgba(255, 255, 255, 0.75);
  margin-bottom: 24px;
}
.modal-meta {
  display: flex; gap: 32px; flex-wrap: wrap;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.5);
}
.modal-meta span strong {
  color: #fff;
  font-weight: var(--fw-heading);
  margin-left: 6px;
}
.modal-cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 24px;
  padding: 12px 20px;
  font-size: 14px;
  font-weight: var(--fw-heading);
  background: var(--accent);
  color: var(--accent-text);
  border-radius: 2px;
  transition: opacity .15s;
}
.modal-cta:hover { opacity: 0.85; }
.modal-gallery-title {
  font-size: var(--fs-meta);
  font-weight: var(--fw-heading);
  letter-spacing: 0.12em;
  color: rgba(255, 255, 255, 0.5);
  margin-bottom: 20px;
  display: block;
}
.modal-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 8px;
}
.modal-photo {
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.05);
}
.modal-photo img {
  width: 100%; height: 100%; object-fit: cover;
}
.modal-photo-caption {
  padding: 10px 0;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.5);
}
body.modal-open { overflow: hidden; }
@media (max-width: 900px) {
  .modal-name { font-size: 36px; }
  .modal-content { padding: 64px 20px; }
  .modal-close { top: 14px; right: 14px; width: 40px; height: 40px; }
}

/* ════════════════════════════
   우측 패널 — 서브 섹션 헤더
   (Photo / News / Partners / Ad)
════════════════════════════ */
.sub-section-head {
  padding: 44px 32px 24px;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: baseline;
  justify-content: space-between;
}
.sub-section-head h3 {
  font-size: var(--fs-title);
  font-weight: var(--fw-heading);
  letter-spacing: var(--ls-default);
  line-height: 1.2;
}
.sub-section-head .label {
  font-size: var(--fs-meta);
  font-weight: var(--fw-all);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-muted);
}
/* Photo 섹션: 좌측 [Photo + 카피], 우측 segmented 토글 */
.sub-section-head--with-toggle {
  align-items: center;
  flex-wrap: wrap;
  row-gap: 14px;
  column-gap: 16px;
}
.sub-section-head-text {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 0;
}
.sub-section-head .label--copy {
  text-transform: none;
  letter-spacing: 0.02em;
}

/* Photo 그리드 위 모드 토글 — 랜덤 / 최근 (segmented pill) */
.photo-mode-toggle {
  display: inline-flex;
  gap: 2px;
  padding: 3px;
  background: var(--bg-sub);
  border-radius: 999px;
  flex-shrink: 0;
}
.photo-mode-btn {
  font: inherit;
  font-size: 12px;
  font-weight: var(--fw-heading);
  letter-spacing: 0.06em;
  color: var(--text-muted);
  background: transparent;
  border: none;
  border-radius: 999px;
  padding: 6px 16px;
  cursor: pointer;
  transition: color .15s, background .15s, box-shadow .15s;
}
.photo-mode-btn:hover { color: var(--text); }
.photo-mode-btn.is-active {
  background: var(--text);
  color: var(--bg);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12);
}
.photo-mode-btn:focus-visible {
  outline: 2px solid var(--text);
  outline-offset: 2px;
}

/* ── 소식(News) 카드 ── */
.news-list {
  display: flex;
  flex-direction: column;
  border-bottom: 1px solid var(--border);
}
.news-card {
  display: grid;
  grid-template-columns: 90px 1fr;
  gap: 16px;
  padding: 16px;
  border-bottom: 1px solid var(--border);
  transition: opacity .15s;
}
.news-card:last-child { border-bottom: none; }
.news-card:hover { opacity: .75; }
.news-thumb {
  width: 90px;
  aspect-ratio: 1 / 1;
  background: var(--bg-sub);
  overflow: hidden;
  flex-shrink: 0;
}
.news-body { display: flex; flex-direction: column; justify-content: center; gap: 6px; }
.news-tag {
  display: inline-block;
  width: fit-content;
  font-size: var(--fs-meta);
  font-weight: var(--fw-all);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.news-title {
  font-size: var(--fs-body);
  font-weight: var(--fw-heading);
  letter-spacing: var(--ls-default);
  word-break: keep-all;
  overflow-wrap: normal;
  line-height: 1.25;
}
.news-date {
  font-size: var(--fs-meta);
  font-weight: var(--fw-all);
  letter-spacing: var(--ls-default);
  color: var(--text-muted);
}

/* ── 협력사 카드 (가로 5개, 로고 표시) ── */
.partners-strip {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  border-bottom: 1px solid var(--border);
}
@media (max-width: 900px) {
  .partners-strip { grid-template-columns: 1fr 1fr; }
  .partner-card:nth-child(2),
  .partner-card:nth-child(4) { border-right: none; }
  .partner-card:nth-child(1),
  .partner-card:nth-child(2),
  .partner-card:nth-child(3),
  .partner-card:nth-child(4) {
    border-bottom: 1px solid var(--border);
  }
  /* 홀수개(5번째)가 외롭게 남는 행은 가로 한 줄로 확장해 라인 일관 */
  .partner-card:nth-child(5):last-child { grid-column: 1 / -1; }
}
.partner-card {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 28px 16px;
  border-right: 1px solid var(--border);
  transition: background .15s, opacity .15s;
  min-height: 90px;
}
.partner-card:last-child { border-right: none; }
.partner-card:hover { background: var(--bg-sub); opacity: 0.8; }
.partner-card img {
  max-width: 100%;
  max-height: 36px;
  width: auto;
  height: auto;
  object-fit: contain;
}
.partner-card .logo-light { display: block; }
.partner-card .logo-dark { display: none; }
[data-theme="dark"] .partner-card .logo-light { display: none; }
[data-theme="dark"] .partner-card .logo-dark { display: block; }

/* ── 광고 자리 placeholder (Partners 하단) ── */
.ad-banner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 96px;
  padding: 24px;
  border-bottom: 1px solid var(--border);
  background: var(--bg-sub);
  text-align: center;
}
.ad-banner .ad-label {
  font-size: 10px;
  font-weight: var(--fw-heading);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-dim);
  opacity: 0.5;
}
.ad-banner .ad-headline {
  font-size: 13px;
  font-weight: var(--fw-all);
  letter-spacing: 0.04em;
  color: var(--text-muted);
  opacity: 0.7;
}
.ad-banner .ad-headline a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.ad-banner .ad-headline a:hover { opacity: 0.7; }

/* ════════════════════════════
   Photo 라이트박스 (필름 사진)
   ════════════════════════════ */
.photo-lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.95);
  z-index: 1000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 40px;
}
.photo-lightbox.open { display: flex; }
.photo-lb-wrap {
  max-width: 100%;
  max-height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}
.photo-lightbox img {
  max-width: 100%;
  max-height: calc(100vh - 220px);
  max-height: calc(100dvh - 220px);
  width: auto; height: auto;
  object-fit: contain;
  display: block;
}
.photo-lb-info {
  display: flex;
  align-items: center;
  gap: 16px;
  color: rgba(255, 255, 255, 0.85);
  font-size: 14px;
  letter-spacing: var(--ls-default);
}
.photo-lb-info .author {
  color: #fff;
  font-weight: var(--fw-heading);
}
.photo-lb-info .film {
  color: rgba(255, 255, 255, 0.55);
  font-size: 12px;
}
.photo-lb-info .photo-lb-jump {
  text-decoration: underline dotted rgba(255, 255, 255, 0.3);
  text-underline-offset: 3px;
  transition: color .12s;
}
.photo-lb-info .photo-lb-jump:hover { color: #fff; }
.photo-lb-info .camera {
  color: rgba(255, 255, 255, 0.45);
  font-size: 12px;
  font-style: italic;
}
/* 사진 올릴 때 작성한 메모 — author/film/camera 다음 줄에 별도 단락 */
.photo-lb-info .note {
  display: block;
  margin: 8px auto 4px;
  max-width: 640px;
  font-size: 13px;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.78);
  white-space: pre-wrap;
  word-break: keep-all;
  overflow-wrap: anywhere;
}
.photo-lb-info .note[hidden] { display: none; }
.photo-lb-info .counter {
  color: rgba(255, 255, 255, 0.55);
  font-size: 12px;
}
.photo-lb-actions {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: center;
}
.photo-lb-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  background: transparent;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: var(--btn-radius);
  font-size: 12px;
  font-weight: var(--fw-heading);
  letter-spacing: 0.06em;
  text-decoration: none;
  transition: background .15s, border-color .15s;
}
.photo-lb-link:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: #fff;
}
.photo-lb-fav {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px; height: 36px;
  padding: 0;
  background: transparent;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: 999px;
  cursor: pointer;
  transition: background .15s, border-color .15s, transform .15s;
}
.photo-lb-fav:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: #fff;
}
.photo-lb-fav svg path { transition: fill .15s, stroke .15s; }
.photo-lb-fav.is-fav svg path { fill: #ff6b8a; stroke: #ff6b8a; }
.photo-lb-fav:active { transform: scale(0.92); }
.photo-lb-fav.is-busy { opacity: 0.55; pointer-events: none; }
@media (max-width: 520px) {
  .photo-lb-actions {
    width: min(100%, 320px);
  }
  .photo-lb-link {
    flex: 1 1 0;
    justify-content: center;
    min-width: 0;
    padding-inline: 10px;
    white-space: nowrap;
  }
}
.photo-lb-close,
.photo-lb-prev,
.photo-lb-next {
  position: absolute;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: #fff;
  width: 44px; height: 44px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  border-radius: 50%;
  font-family: inherit;
  transition: background .15s, border-color .15s;
}
.photo-lb-close:hover,
.photo-lb-prev:hover,
.photo-lb-next:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.6);
}
.photo-lb-close { top: 24px; right: 24px; }
.photo-lb-prev  { left: 24px;  top: 50%; transform: translateY(-50%); }
.photo-lb-next  { right: 24px; top: 50%; transform: translateY(-50%); }

@media (max-width: 640px) {
  .photo-lightbox { padding: 20px; }
  .photo-lightbox img { max-height: calc(100vh - 180px); max-height: calc(100dvh - 180px); }
  .photo-lb-close { top: 16px; right: 16px; width: 40px; height: 40px; }
  .photo-lb-prev  { left: 12px;  width: 40px; height: 40px; }
  .photo-lb-next  { right: 12px; width: 40px; height: 40px; }
  .photo-lb-info { flex-direction: column; gap: 8px; text-align: center; }
  .photo-lb-actions { gap: 6px; }
}

/* Reader's Roll 안내문 */
.readers-cta {
  padding: 20px 16px;
  text-align: center;
  border-top: 1px solid var(--border);
}
.readers-cta p {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 14px;
}
.readers-cta strong {
  color: var(--text);
  font-weight: var(--fw-heading);
}
.readers-cta-buttons {
  display: inline-flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: center;
}
.readers-cta a {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 13px;
  font-weight: var(--fw-heading);
  letter-spacing: 0.02em;
  color: var(--text);
  padding: 10px 18px;
  border: 1px solid var(--border);
  border-radius: var(--btn-radius);
  transition: border-color .15s;
  line-height: 1;
}
.readers-cta a:hover { border-color: var(--text); }
/* rs-trigger 와 같은 높이로 정렬 */
.readers-cta .rs-trigger {
  font-size: 13px;
  padding: 11px 20px;
  line-height: 1;
}

/* ════════════════════════════
   ABOUT (PLUS 배너)
════════════════════════════ */
.plus-section {
  background: var(--text);
  color: var(--bg);
}
.plus-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
}
.plus-left {
  padding: 48px 32px;
  border-right: 1px solid rgba(255,255,255,.12);
}
.plus-left h2 {
  font-size: var(--fs-display);
  font-weight: var(--fw-heading);
  letter-spacing: var(--ls-default);
  line-height: 1.2;
  margin-bottom: 6px;
}
.plus-left > p {
  font-size: var(--fs-body);
  font-weight: var(--fw-all);
  letter-spacing: var(--ls-default);
  opacity: .55;
  margin-bottom: 28px;
  line-height: 1.2;
}
.plus-features {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.plus-feat {
  font-size: var(--fs-body);
  font-weight: var(--fw-all);
  letter-spacing: var(--ls-default);
  opacity: .8;
  display: flex;
  align-items: center;
  gap: 10px;
  line-height: 1.3;
}
.plus-feat::before {
  content: '';
  width: 5px; height: 5px;
  background: currentColor;
  border-radius: 50%;
  flex-shrink: 0;
  opacity: .6;
}
.plus-right {
  padding: 48px 32px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.plus-right h3 {
  font-size: var(--fs-meta);
  font-weight: var(--fw-all);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  opacity: .45;
  margin-bottom: 4px;
}
.plan-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  background: rgba(255,255,255,.08);
  border: 1px solid transparent;
  border-radius: 2px;
  cursor: pointer;
  transition: border-color .15s;
}
.plan-row.on { border-color: rgba(255,255,255,.4); }
.plan-vol {
  font-size: var(--fs-title);
  font-weight: var(--fw-all);
  letter-spacing: var(--ls-default);
}
.plan-info {
  font-size: 15px;
  font-weight: var(--fw-all);
  letter-spacing: var(--ls-default);
  opacity: .55;
  margin-top: 3px;
}
.plan-tag {
  font-size: var(--fs-meta);
  font-weight: var(--fw-all);
  letter-spacing: var(--ls-default);
  opacity: .5;
}
.plus-cta {
  display: block;
  text-align: center;
  background: var(--bg);
  color: var(--text);
  font-size: var(--fs-body);
  font-weight: var(--fw-all);
  letter-spacing: var(--ls-default);
  padding: 14px;
  border-radius: 2px;
  margin-top: 6px;
  transition: opacity .15s;
}
.plus-cta:hover { opacity: .8; }

/* ════════════════════════════
   ISSUES + PARTNERS
════════════════════════════ */
.bottom-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-top: 1px solid var(--border);
}
.bottom-col { padding: 36px 24px; }
.bottom-col + .bottom-col { border-left: 1px solid var(--border); }
.bottom-col-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 20px;
}
.bottom-col-head h2 {
  font-size: var(--fs-display);
  font-weight: var(--fw-heading);
  letter-spacing: var(--ls-default);
  line-height: 1.2;
}
.view-all {
  font-size: var(--fs-body);
  font-weight: var(--fw-all);
  letter-spacing: var(--ls-default);
  color: var(--text-muted);
  transition: color .15s;
}
.view-all:hover { color: var(--text); }

.link-grid { display: flex; flex-direction: column; }
.link-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
  border-bottom: 1px solid var(--border);
  font-size: var(--fs-title);
  font-weight: var(--fw-all);
  letter-spacing: var(--ls-default);
  color: var(--text);
  transition: opacity .15s;
  line-height: 1.2;
}
.link-item:last-child { border-bottom: none; }
.link-item:hover { opacity: .5; }
.link-item-sub {
  font-size: var(--fs-body);
  font-weight: var(--fw-all);
  letter-spacing: var(--ls-default);
  color: var(--text-muted);
}

/* ════════════════════════════
   뉴스레터
════════════════════════════ */
.newsletter-bar {
  border-top: 1px solid var(--border);
  padding: 28px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.newsletter-bar p {
  font-size: var(--fs-body);
  font-weight: var(--fw-all);
  letter-spacing: var(--ls-default);
  color: var(--text-muted);
}
.nl-form { display: flex; gap: 8px; }
.nl-form input {
  font-family: var(--font);
  font-size: var(--fs-body);
  font-weight: var(--fw-all);
  letter-spacing: var(--ls-default);
  padding: 10px 16px;
  border: 1px solid var(--border);
  background: var(--bg);
  color: var(--text);
  border-radius: 2px;
  outline: none;
  width: 240px;
  transition: border-color .15s;
}
.nl-form input:focus { border-color: var(--text-muted); }
.nl-form button {
  font-family: var(--font);
  font-size: var(--fs-body);
  font-weight: var(--fw-all);
  letter-spacing: var(--ls-default);
  padding: 10px 20px;
  background: var(--text);
  color: var(--bg);
  border: none;
  border-radius: 2px;
  cursor: pointer;
  transition: opacity .15s;
}
.nl-form button:hover { opacity: .7; }
.nl-message {
  font-size: 13px;
  color: var(--text-muted);
  margin-top: 8px;
  padding: 0 4px;
  min-height: 18px;
  transition: opacity .2s;
}
.nl-message.success { color: var(--text); }
.nl-message.error { color: #c33; }

/* Home-only footer affordance */
.footer-admin {
  color: var(--text-dim);
  text-decoration: none;
  transition: color .15s;
  opacity: 0.6;
}
.footer-admin:hover { color: var(--text); opacity: 1; }


/* ════════════════════════════
   HERO ABOUT — A ROLL OF FILM
════════════════════════════ */
.hero-about {
  padding: 80px 32px;
  background: var(--bg-sub);
  border-top: 1px solid var(--border);
}
.hero-about-inner {
  max-width: 960px;
  margin: 0 auto;
}
.hero-tag {
  display: inline-block;
  font-size: var(--fs-meta);
  font-weight: var(--fw-heading);
  letter-spacing: 0.12em;
  color: var(--text-muted);
  margin-bottom: 16px;
}
.hero-title {
  font-size: 56px;
  font-weight: var(--fw-heading);
  letter-spacing: -0.03em;
  line-height: 1.1;
  margin-bottom: 32px;
}
.hero-title .accent {
  background: var(--accent);
  color: var(--accent-text);
  padding: 0 8px;
}
.hero-body {
  max-width: 720px;
}
.hero-body p {
  font-size: 19px;
  font-weight: var(--fw-all);
  letter-spacing: var(--ls-default);
  line-height: 1.65;
  margin-bottom: 20px;
  color: var(--text);
}
.hero-body p:last-child { margin-bottom: 0; }
.hero-signature {
  font-size: var(--fs-body);
  font-weight: var(--fw-heading);
  letter-spacing: var(--ls-default);
  margin-top: 32px;
  color: var(--text);
}
.hero-signature .role {
  font-weight: var(--fw-all);
  color: var(--text-muted);
  margin-right: 8px;
}

/* ════════════════════════════
   BELIEF — 우리의 신념
════════════════════════════ */
.belief {
  padding: 64px 32px;
  background: var(--text);
  color: var(--bg);
  text-align: center;
}
.belief-tag {
  font-size: var(--fs-meta);
  font-weight: var(--fw-heading);
  letter-spacing: 0.12em;
  color: var(--accent);
  margin-bottom: 20px;
  display: block;
}
.belief-quote {
  font-size: 36px;
  font-weight: var(--fw-heading);
  letter-spacing: -0.03em;
  line-height: 1.3;
}

/* ════════════════════════════
   HOW IT WORKS
════════════════════════════ */
.how-section {
  padding: 64px 32px;
  background: var(--bg-sub);
  border-top: 1px solid var(--border);
}
.how-header {
  max-width: 1200px;
  margin: 0 auto 40px;
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}
.how-header h2 {
  font-size: var(--fs-display);
  font-weight: var(--fw-heading);
  letter-spacing: -0.03em;
  line-height: 1.1;
}
.how-header p {
  font-size: var(--fs-body);
  color: var(--text-muted);
}
.how-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 12px;
}
.how-card {
  background: var(--bg);
  padding: 28px 24px;
  border: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 16px;
  min-height: 220px;
}
.how-num {
  font-size: 32px;
  font-weight: var(--fw-heading);
  color: var(--accent);
  letter-spacing: -0.02em;
  line-height: 1;
}
.how-card h3 {
  font-size: 18px;
  font-weight: var(--fw-heading);
  letter-spacing: var(--ls-default);
  line-height: 1.2;
}
.how-card p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.6;
  margin-top: auto;
}

/* ════════════════════════════
   CONTRIBUTORS
════════════════════════════ */
.contrib-section {
  padding: 64px 32px;
  background: var(--bg-sub);
  border-top: 1px solid var(--border);
}
.contrib-header {
  max-width: 1200px;
  margin: 0 auto 40px;
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}
.contrib-header h2 {
  font-size: var(--fs-display);
  font-weight: var(--fw-heading);
  letter-spacing: -0.03em;
  line-height: 1.1;
}
.contrib-header p {
  font-size: var(--fs-body);
  color: var(--text-muted);
}
.contrib-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
}
.contrib-card {
  background: var(--bg);
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-height: 220px;
}
.contrib-role {
  font-size: var(--fs-meta);
  font-weight: var(--fw-heading);
  letter-spacing: 0.12em;
  color: var(--text-muted);
}
.contrib-name {
  font-size: 26px;
  font-weight: var(--fw-heading);
  letter-spacing: -0.02em;
  line-height: 1.1;
}
.contrib-handle {
  font-size: 14px;
  color: var(--text-muted);
  margin-top: -4px;
}
.contrib-desc {
  font-size: 14px;
  color: var(--text);
  line-height: 1.6;
  margin-top: 4px;
}
.contrib-issue {
  display: inline-block;
  font-size: 12px;
  font-weight: var(--fw-heading);
  background: var(--accent);
  color: var(--accent-text);
  padding: 3px 8px;
  border-radius: 2px;
  margin-top: auto;
  width: fit-content;
}

/* ════════════════════════════
   CONTACT BLOCK
════════════════════════════ */
.contact-section {
  border-top: 1px solid var(--border);
  background: var(--bg);
}
.contact-info {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-bottom: 1px solid var(--border);
}
.contact-cell {
  padding: 28px 24px;
  border-right: 1px solid var(--border);
}
.contact-cell:last-child { border-right: none; }
.contact-cell .label {
  font-size: var(--fs-meta);
  font-weight: var(--fw-all);
  color: var(--text-muted);
  margin-bottom: 8px;
  display: block;
}
.contact-cell .value {
  font-size: 18px;
  font-weight: var(--fw-heading);
  letter-spacing: -0.01em;
  line-height: 1.3;
  display: block;
  margin-bottom: 4px;
}
.contact-cell .sub {
  font-size: 13px;
  color: var(--text-muted);
}

.contact-cta {
  display: grid;
  grid-template-columns: 1fr 1fr;
}
.contact-cta-left {
  background: var(--text);
  color: var(--bg);
  padding: 56px 40px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.contact-cta-right {
  background: var(--bg);
  padding: 56px 40px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.cta-label {
  font-size: var(--fs-meta);
  font-weight: var(--fw-heading);
  letter-spacing: 0.12em;
  color: var(--text-muted);
}
.contact-cta-left .cta-label { color: rgba(255,255,255,0.5); }
.cta-title {
  font-size: 40px;
  font-weight: var(--fw-heading);
  letter-spacing: -0.03em;
  line-height: 1.15;
}
.cta-desc {
  font-size: 15px;
  line-height: 1.6;
  opacity: 0.7;
  margin-bottom: 8px;
}
.cta-buttons {
  display: flex;
  gap: 8px;
  margin-top: auto;
  flex-wrap: wrap;
}
.cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 12px 20px;
  font-size: 14px;
  font-weight: var(--fw-heading);
  letter-spacing: var(--ls-default);
  border-radius: 2px;
  transition: opacity .15s;
}
.cta-btn-primary {
  background: var(--accent);
  color: var(--accent-text);
}
.cta-btn-secondary {
  background: transparent;
  color: var(--bg);
  border: 1px solid rgba(255,255,255,0.3);
}
.contact-cta-right .cta-btn-secondary {
  color: var(--text);
  border-color: var(--border);
}
.cta-btn:hover { opacity: 0.85; }

.connect-list {
  display: flex;
  flex-direction: column;
  margin-top: auto;
}
.connect-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
  border-bottom: 1px solid var(--border);
  font-size: 15px;
  transition: opacity .15s;
}
.connect-item:last-child { border-bottom: none; }
.connect-item:hover { opacity: 0.5; }

/* ════════════════════════════
   RESPONSIVE
════════════════════════════ */
@media (max-width: 900px) {
  .split-layout { grid-template-columns: 1fr; }
  .panel-left { border-right: none; border-bottom: 1px solid var(--border); }
  /* 데스크톱용으로 키운 패딩을 모바일에선 정상 사이즈로 */
  .panel-header { padding: 36px 20px 28px; }
  .sub-section-head { padding: 28px 20px 16px; }
  .sub-section-head--with-toggle { row-gap: 10px; column-gap: 12px; }
  .photo-mode-toggle { padding: 2px; gap: 1px; }
  .photo-mode-btn { font-size: 11px; padding: 5px 12px; letter-spacing: 0.04em; }
  .post-img-wrap { padding: 16px 16px 0; }
  .post-text { padding: 16px 16px 24px; }
  .next-issue-block { padding: 28px 20px; }
  .next-issue-block .ni-title { font-size: 22px; }
  .ad-banner { min-height: 80px; padding: 18px; }
  .story-num-nav { padding: 18px 16px; gap: 16px; }
  .plus-inner { grid-template-columns: 1fr; }
  .plus-left { border-right: none; border-bottom: 1px solid rgba(255,255,255,.12); }
  .bottom-section { grid-template-columns: 1fr; }
  .bottom-col + .bottom-col { border-left: none; border-top: 1px solid var(--border); }
  .hero-title { font-size: 40px; }
  .belief-quote { font-size: 26px; }
  .how-grid { grid-template-columns: repeat(2, 1fr); }
  .contrib-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-info { grid-template-columns: repeat(2, 1fr); }
  .contact-cell:nth-child(2n) { border-right: none; }
  .contact-cell:nth-child(-n+2) { border-bottom: 1px solid var(--border); }
  .contact-cta { grid-template-columns: 1fr; }
  .cta-title { font-size: 32px; }
}
@media (max-width: 560px) {
  .news-card { grid-template-columns: 70px 1fr; gap: 12px; }
  .news-thumb { width: 70px; }
  .discover-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 6px;
    padding: 16px;
    border-bottom: 1px solid var(--border);
  }
  .disc-cell {
    border: none;
    border-radius: 2px;
  }
  .disc-cell:nth-child(2n),
  .disc-cell:nth-last-child(-n+2) {
    border: none;
  }
  .disc-cell::after {
    opacity: 1;
    background: linear-gradient(to top, rgba(0,0,0,0.42), rgba(0,0,0,0.04) 56%, transparent);
  }
  .disc-info {
    left: 10px;
    right: 10px;
    bottom: 10px;
    opacity: 1;
    transform: none;
  }
  .disc-info .disc-author { font-size: 13px; }
  .disc-info .disc-film { font-size: 9px; margin-top: 3px; }
  .partners-strip { grid-template-columns: 1fr; }
  .partner-card { border-right: none; border-bottom: 1px solid var(--border); padding: 14px; }
  .partner-card:last-child { border-bottom: none; }
  .ad-banner { flex-direction: column; gap: 4px; min-height: 72px; padding: 18px 16px; }
  .ad-banner .ad-headline { text-align: center; line-height: 1.5; }
  .next-issue-block .ni-title { font-size: 20px; }
  .next-issue-block .ni-desc { font-size: 12px; }
  .newsletter-bar { flex-direction: column; align-items: flex-start; }
  .nl-form { width: 100%; }
  .nl-form input { flex: 1; width: auto; }
  .hero-about, .belief, .how-section, .contrib-section { padding: 48px 20px; }
  .hero-title { font-size: 32px; }
  .belief-quote { font-size: 22px; }
  .how-grid { grid-template-columns: 1fr; }
  .contrib-grid { grid-template-columns: 1fr; }
  .contact-info { grid-template-columns: 1fr; }
  .contact-cell { border-right: none !important; border-bottom: 1px solid var(--border); }
  .contact-cell:last-child { border-bottom: none; }
  .contact-cta-left, .contact-cta-right { padding: 36px 24px; }
  .cta-title { font-size: 26px; }
}

/* ─ 흰 배경 썸네일 카드 — 가장자리 정의용 얇은 회색 라인 (Kodak rebrand 등) ─ */
.post-img.is-on-white {
  background: #ffffff;
  border: 1px solid var(--border);
}
[data-theme="dark"] .post-img.is-on-white {
  background: #fafafa; /* 다크 모드에서도 흰 박스 그대로 (필름 박스 사진은 흰 배경 그대로 보여야 자연스러움) */
  border: 1px solid var(--border);
}

