/* news.css — dated ledger, expand for body */

.nw-list {
  width: min(720px, calc(100% - 3rem));
  margin: 3.6rem auto 4.4rem;
  border-top: 1px solid var(--line, #e5dfd4);
}

.nw-item {
  border-bottom: 1px solid var(--line, #e5dfd4);
  cursor: default;
}

.nw-head {
  display: grid;
  grid-template-columns: 7.4rem minmax(0, 1fr) 1.4rem;
  gap: 0.8rem 1.1rem;
  align-items: start;
  width: 100%;
  padding: 1.15rem 0;
  text-align: left;
  cursor: default;
}

.nw-head time {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.08rem;
  letter-spacing: 0.06em;
  color: var(--accent, #b8956a);
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  width: max-content;
  max-width: 100%;
  gap: 0.12rem;
  line-height: 1.25;
  position: relative;
}

.nw-item:not(.open) .nw-clock {
  display: none;
}

.nw-item.open {
  display: grid;
  grid-template-columns: 7.4rem minmax(0, 1fr) 1.4rem;
  column-gap: 1.1rem;
  align-items: start;
}

.nw-item.open .nw-head {
  display: contents;
}

.nw-item.open .nw-head time {
  grid-column: 1;
  grid-row: 1 / 3;
  display: grid;
  grid-template-rows: subgrid;
  justify-items: end;
  align-items: start;
  width: max-content;
  max-width: 100%;
  padding-top: 1.15rem;
  font-size: 1.26rem;
}

.nw-item.open .nw-date {
  grid-row: 1;
}

.nw-item.open .nw-clock {
  grid-row: 2;
  display: inline-flex;
  margin-top: 0.15rem;
}

.nw-item.open .nw-title {
  grid-column: 2;
  grid-row: 1;
  padding-top: 1.15rem;
}

.nw-item.open .nw-chev {
  grid-column: 3;
  grid-row: 1;
  padding-top: 1.15rem;
}

.nw-item.open .nw-body {
  grid-column: 2 / 4;
  grid-row: 2;
}

.nw-item.open .nw-copy {
  padding-left: 0;
}

.nw-clock {
  display: inline-flex;
  align-items: baseline;
  justify-content: flex-start;
  gap: 0.4rem;
  font-size: inherit;
  letter-spacing: 0.08em;
  color: #8a847a;
}

.nw-tz {
  font-family: var(--font-sans, 'Noto Sans JP', sans-serif);
  font-size: 0.62rem;
  letter-spacing: 0.1em;
  color: #8a847a;
  text-decoration: none;
  font-style: normal;
  font-weight: 500;
}

.nw-pre {
  position: absolute;
  left: 0;
  top: calc(100% + 0.2rem);
  font-family: var(--font-sans, 'Noto Sans JP', sans-serif);
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  color: #b8956a;
  white-space: nowrap;
}

.nw-head .nw-title {
  font-family: var(--font-serif, 'Noto Serif JP', serif);
  font-size: 1rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  line-height: 1.55;
  color: var(--text, #2c2a26);
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.nw-chev {
  justify-self: end;
  font-size: 0.72rem;
  color: var(--accent, #b8956a);
  transition: transform 0.35s ease;
  line-height: 1;
}

.nw-item.open .nw-chev {
  transform: rotate(180deg);
}

.nw-body {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}

.nw-item.open .nw-body {
  grid-template-rows: 1fr;
}

.nw-body-inner {
  overflow: hidden;
  min-height: 0;
}

.nw-copy {
  padding: 0 0 1.35rem;
  padding-left: calc(7.4rem + 1.1rem);
  font-size: 0.92rem;
  line-height: 1.95;
  color: var(--text-soft, #5c574f);
  overflow-wrap: break-word;
}

.nw-copy p + p {
  margin-top: 0.85rem;
}

.nw-copy a {
  color: var(--accent-dark, #9a7a52);
  border-bottom: 1px solid var(--accent, #b8956a);
}

.nw-copy .tel {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.35rem;
  letter-spacing: 0.06em;
  color: var(--text, #2c2a26);
}

.nw-copy .tel a {
  border: 0;
  color: inherit;
}

.nw-empty {
  width: min(720px, calc(100% - 3rem));
  margin: 2rem auto 4rem;
  color: var(--text-muted, #8a847a);
  font-size: 0.95rem;
}

.nw-pager {
  width: min(720px, calc(100% - 3rem));
  margin: 0 auto 4rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  flex-wrap: wrap;
}

.nw-page-btn {
  min-width: 2.4rem;
  min-height: 2.4rem;
  padding: 0 0.45rem;
  border-radius: 999px;
  background: #f2eee6;
  color: #2c2a26;
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.15rem;
  line-height: 1;
}

.nw-page-btn.is-arrow {
  font-size: 1.6rem;
  color: #b8956a;
}

.nw-page-btn.is-now {
  background: #b8956a;
  color: #fff;
}

.nw-page-btn:disabled {
  opacity: 0.28;
  cursor: default;
}

.nw-flag {
  display: inline-block;
  margin-bottom: 0.35rem;
  padding: 0.12rem 0.55rem;
  border-radius: 999px;
  background: #e8d9c0;
  color: #2c2a26;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
}

.nw-pic {
  margin: 0.7rem 0 1rem;
}

.nw-pic img {
  width: 100%;
  border-radius: 12px;
  object-fit: cover;
  max-height: 420px;
}

.nw-item.is-preview,
.nw-item.is-editing {
  outline: 1px dashed #b8956a;
  outline-offset: 4px;
}

@media (max-width: 720px) {
  .nw-head {
    grid-template-columns: minmax(0, 1fr) 1.2rem;
  }
  .nw-item.open {
    display: block;
  }
  .nw-item.open .nw-head {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 1.2rem;
  }
  .nw-item.open .nw-head time,
  .nw-head time {
    grid-column: 1;
    grid-row: 1;
    display: flex;
    padding-top: 0;
    font-size: 1.08rem;
  }
  .nw-item.open .nw-head time {
    font-size: 1.26rem;
  }
  .nw-item.open .nw-title,
  .nw-head .nw-title {
    grid-column: 1;
    grid-row: 2;
    padding-top: 0;
  }
  .nw-item.open .nw-chev,
  .nw-chev {
    grid-column: 2;
    grid-row: 1 / span 2;
    align-self: center;
    padding-top: 0;
  }
  .nw-item.open .nw-body {
    grid-column: auto;
    grid-row: auto;
  }
  .nw-copy {
    padding-left: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .nw-body,
  .nw-chev {
    transition: none;
  }
}
