@import url("../version.css");

:root {
  --nav-height: 64px;
  --bg: #f3edf1;
  --surface: rgba(255, 255, 255, .56);
  --text: #292227;
  --muted: #7d6d76;
  --line: rgba(89, 65, 78, .18);
}


* {
  box-sizing: border-box;
}


html,
body {
  margin: 0;
  min-height: 100%;
}


body {
  background-color: var(--bg);
  background-image: url("../assets/images/news-background.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  color: var(--text);
  font-family: Georgia, "Times New Roman", serif;
}


.site-nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 20;
  min-height: var(--nav-height);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(16px, 2.6vw, 46px);
  padding: 13px 20px;
  overflow-x: auto;
  white-space: nowrap;
  background: linear-gradient(to bottom, rgba(247, 243, 246, .97), rgba(247, 243, 246, .80));
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(10px);
}


.site-nav a,
.site-nav span {
  color: var(--text);
  font-size: clamp(14px, 1.08vw, 19px);
  letter-spacing: .08em;
  text-decoration: none;
}


.site-nav span {
  opacity: .34;
}


.site-nav a {
  transition: opacity .2s ease;
}


.site-nav a:hover,
.site-nav a:focus-visible {
  opacity: .55;
  outline: none;
}


.site-nav .is-current {
  border-bottom: 1px solid currentColor;
  padding-bottom: 3px;
}


.news-page {
  width: min(1080px, calc(100% - 48px));
  margin: 0 auto;
  padding: calc(var(--nav-height) + 82px) 0 96px;
}


.page-header {
  padding: 16px 0;
  margin-bottom: 42px;
  display: flex;
  align-items: center;
  background: linear-gradient(to right, rgba(255, 255, 255, 0), rgba(255, 255, 255, .62) 12%, rgba(255, 255, 255, .62) 88%, rgba(255, 255, 255, 0));
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}


.page-header h1 {
  margin-left: 56px;
}


.page-header-copy {
  margin: 0 0 0 56px;
  color: var(--muted);
  font-size: 10px;
  line-height: 1.55;
  letter-spacing: .055em;
}


.page-header-copy span {
  display: block;
  white-space: nowrap;
}


h1 {
  margin: 0;
  font-size: clamp(48px, 7vw, 96px);
  font-weight: 400;
  line-height: .95;
  letter-spacing: .08em;
}


.news-list {
  margin-top: 86px;
  border-top: 1px solid var(--line);
  background: var(--surface);
  backdrop-filter: blur(8px);
}


.news-row {
  min-height: 88px;
  display: grid;
  grid-template-columns: 150px 1fr;
  align-items: center;
  gap: 28px;
  padding: 18px 24px;
  border-bottom: 1px solid var(--line);
}


.news-row time {
  color: var(--muted);
  font-size: 14px;
  letter-spacing: .08em;
}


.news-row p {
  margin: 0;
  font-size: clamp(17px, 1.5vw, 22px);
  line-height: 1.55;
  letter-spacing: .035em;
}


.news-row-detail p {
  font-size: 14px;
}

.news-row-detail p strong {
  font-size: clamp(17px, 1.5vw, 22px);
}

@media (max-width: 720px) {
  .site-nav {
    justify-content: flex-start;
    padding-inline: 14px;
  }


  .news-page {
    width: min(100% - 28px, 1080px);
    padding-top: calc(var(--nav-height) + 54px);
  }


  .page-header {
    padding: 12px 0;
    margin-bottom: 36px;
    display: block;
  }


  .page-header h1 {
    margin-left: 0;
  }


  .page-header-copy {
    margin: 14px 0 0;
    font-size: 10px;
  }


  .page-header-copy span {
    white-space: normal;
  }


  .news-row {
    grid-template-columns: 1fr;
    gap: 8px;
    min-height: 0;
    padding: 18px 16px 20px;
  }
}
.news-row-detail p strong a {
  text-decoration: none;
}
