/* =============================================================
   Static pages — shared layout for Our Story, Contact, Archive, FAQ, etc.
   ============================================================= */

.page-content {
  max-width: 860px;
  margin: 0 auto;
  padding: 64px 32px 96px;
}

.page-header {
  margin-bottom: 52px;
  border-bottom: 3px solid #000000;
  padding-bottom: 28px;
}

.page-title {
  font-family: "Helvetica Neue", "Helvetica", "Arial", system-ui, sans-serif;
  font-stretch: condensed;
  font-size: clamp(2.6rem, 6vw, 5rem);
  font-weight: 900;
  letter-spacing: -0.04em;
  line-height: 0.92;
  text-transform: uppercase;
  color: #000000;
  margin: 0;
}

/* ─── Page body prose ─── */
.page-body {
  font-size: 17px;
  line-height: 1.72;
  color: #111111;
}

.page-body h2 {
  font-family: "Helvetica Neue", "Helvetica", "Arial", system-ui, sans-serif;
  font-stretch: condensed;
  font-size: clamp(1.4rem, 3vw, 2rem);
  font-weight: 900;
  letter-spacing: -0.03em;
  text-transform: uppercase;
  margin: 52px 0 16px;
  color: #000000;
}

.page-body h3 {
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin: 36px 0 10px;
  color: #000000;
}

.page-body p {
  margin: 0 0 22px;
}

.page-body p:last-child {
  margin-bottom: 0;
}

.page-body a {
  color: #000000;
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-thickness: 1px;
  transition: color 0.18s ease;
}

.page-body a:hover {
  color: #ff4cfa;
}

.page-body strong {
  font-weight: 800;
}

.page-body blockquote {
  border-left: 4px solid #000000;
  margin: 36px 0;
  padding: 4px 0 4px 28px;
  font-size: 1.15em;
  font-style: italic;
  color: #333333;
}

/* ─── Contact layout ─── */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  margin-top: 40px;
}

.contact-block h3 {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #999999;
  margin: 0 0 14px;
  padding-bottom: 10px;
  border-bottom: 1px solid #e5e5e5;
}

.contact-block p,
.contact-block a {
  display: block;
  font-size: 15px;
  font-weight: 600;
  color: #000000;
  text-decoration: none;
  line-height: 1.5;
  margin: 0 0 6px;
  transition: color 0.18s ease;
}

.contact-block a:hover {
  color: #ff4cfa;
}

.contact-social {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

/* ─── Archive layout ─── */
.archive-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

/* Each item is two stacked rows: meta row on top, body row below */
.archive-item {
  display: grid;
  grid-template-rows: auto auto;
  padding: 14px 0 14px 0;
  border-bottom: 1px solid #e5e5e5;
  border-left: 3px solid transparent;  /* reserve space; lit on hover */
  padding-left: 12px;
  margin-left: -12px;                  /* keep left edge flush with list */
  transition: border-color 0.18s ease, background 0.18s ease;
}

.archive-item:last-child {
  border-bottom: none;
}

.archive-item:hover {
  border-left-color: #ff4cfa;
  background: #fafafa;
}

/* Row 1: category label + date pushed to opposite ends */
.archive-item-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 5px;
}

.archive-item-category {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #ff4cfa;
  /* no fixed width — let it breathe naturally */
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.archive-item-date {
  flex-shrink: 0;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #aaaaaa;
  margin-left: auto;   /* push date to the right when no category present */
}

/* Row 2: title + subtitle stacked */
.archive-item-body {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.archive-item-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: #000000;
  text-decoration: none;
  line-height: 1.3;
  transition: color 0.18s ease;
  /* clamp to two lines on very long titles */
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.archive-item-title:hover {
  color: #ff4cfa;
}

.archive-item-subtitle {
  font-size: 0.82rem;
  font-weight: 400;
  color: #666666;
  line-height: 1.4;
  margin: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.archive-empty {
  font-size: 14px;
  color: #999999;
  font-style: italic;
  padding: 32px 0;
}

.archive-pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  margin-top: 48px;
  padding-top: 24px;
  border-top: 1px solid #e5e5e5;
}

.archive-page-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border: 2px solid #000000;
  color: #000000;
  text-decoration: none;
  font-size: 16px;
  transition: background 0.15s ease, color 0.15s ease;
}

.archive-page-btn:hover {
  background: #000000;
  color: #ffffff;
}

.archive-page-btn--disabled {
  border-color: #e5e5e5;
  color: #cccccc;
  cursor: default;
}

.archive-page-info {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #999999;
}

/* ─── Responsive ─── */
@media (max-width: 768px) {
  .page-content {
    padding: 40px 16px 72px;
  }

  .contact-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .archive-item {
    padding-left: 10px;
    margin-left: -10px;
  }

  .archive-item-title {
    font-size: 1rem;
  }

  .archive-item-subtitle {
    /* allow subtitle to wrap on small screens instead of truncating */
    white-space: normal;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }
}
