*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html, body {
  min-height: 100%;
  background: #000;
  color: #e8c87a;
  font-family: 'Trebuchet MS', 'Segoe UI', sans-serif;
}

/* ── Header ── */
.site-header {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: start;
  padding: 1.4rem 2.5rem 1rem;
  gap: 1rem;
}

.header-left {
  font-size: clamp(0.7rem, 1.5vw, 1rem);
  font-weight: 700;
  letter-spacing: 0.14em;
  color: #d4943a;
  padding-top: 0.25rem;
}

.header-center {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.45rem;
}

.header-center .wordmark {
  font-size: clamp(1.6rem, 4vw, 3rem);
  font-weight: 700;
  letter-spacing: 0.08em;
  background: linear-gradient(to right, #e8c86a, #e05030);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  filter: drop-shadow(0 0 10px rgba(220, 140, 40, 0.35));
  white-space: nowrap;
}

.header-center .skyline {
  display: block;
  width: clamp(140px, 18vw, 220px);
  height: auto;
  border-radius: 2px;
}

.header-right {
  font-size: clamp(0.7rem, 1.5vw, 1rem);
  font-weight: 700;
  letter-spacing: 0.14em;
  color: #d4943a;
  text-align: right;
  padding-top: 0.25rem;
}

/* ── Main content ── */
.news-body {
  max-width: 860px;
  margin: 0 auto;
  padding: 2rem 1.5rem 6rem;
}

/* ── Day sections ── */
.day-section {
  margin-bottom: 1.2rem;
  border: 1px solid rgba(212, 148, 58, 0.18);
  border-radius: 4px;
  overflow: hidden;
}

.day-section summary,
.day-section .day-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.7rem 1.1rem;
  background: rgba(212, 148, 58, 0.07);
  cursor: pointer;
  user-select: none;
  list-style: none;
}

.day-section summary::-webkit-details-marker {
  display: none;
}

.day-label {
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: #d4943a;
  text-transform: uppercase;
}

.day-count {
  font-size: 0.72rem;
  opacity: 0.55;
  letter-spacing: 0.06em;
}

details.day-section[open] summary {
  border-bottom: 1px solid rgba(212, 148, 58, 0.15);
}

/* ── Article list ── */
.article-list {
  list-style: none;
  padding: 0.3rem 0;
}

.article-item {
  display: flex;
  align-items: baseline;
  gap: 0.75rem;
  padding: 0.55rem 1.1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
  transition: background 0.15s;
}

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

.article-item:hover {
  background: rgba(212, 148, 58, 0.06);
}

.article-source {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: #d4943a;
  white-space: nowrap;
  min-width: 90px;
  opacity: 0.85;
}

.article-title {
  font-size: 0.9rem;
  line-height: 1.45;
  color: #e8d4a0;
}

.article-title a {
  color: inherit;
  text-decoration: none;
}

.article-title a:hover {
  color: #fff;
  text-decoration: underline;
}

/* ── Today section (always open, no arrow) ── */
.today-section .day-header {
  background: rgba(212, 148, 58, 0.12);
}

.today-section .day-label {
  color: #f0b050;
}

/* ── Empty / loading states ── */
.status-msg {
  padding: 3rem;
  text-align: center;
  opacity: 0.4;
  font-size: 0.9rem;
  letter-spacing: 0.06em;
}

/* ── Bottom gradient strip ── */
.bottom-strip {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 6px;
  background: linear-gradient(to right, #ff3e7f, #8844ff);
  z-index: 100;
}
