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

body {
  font-family: Georgia, 'Times New Roman', Times, serif;
  background: #f4f1ea;
  color: #1a1a1a;
  line-height: 1.6;
}

header {
  background: white;
  border-bottom: 3px solid #8b0000;
  padding: 1.5rem 1rem 1rem;
  text-align: center;
  box-shadow: 0 2px 4px rgba(0,0,0,0.06);
}

header h1 {
  font-size: 2.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #1a1a1a;
  font-family: 'Times New Roman', Times, serif;
}

header .date-line {
  font-size: 0.85rem;
  color: #666;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-top: 0.25rem;
  font-family: system-ui, -apple-system, sans-serif;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
}

header .date-line .date-current {
  white-space: nowrap;
}

header .date-line .nav-link {
  color: #8b0000;
  text-decoration: none;
  white-space: nowrap;
  font-size: 0.75rem;
  transition: color 0.15s;
}

header .date-line .nav-link:hover {
  color: #c00;
  text-decoration: underline;
}

header .tagline {
  font-size: 0.75rem;
  color: #999;
  font-style: italic;
  margin-top: 0.15rem;
}

.container {
  max-width: 900px;
  margin: 0 auto;
  padding: 1.5rem 1rem;
}

.weather-card {
  background: white;
  border: 1px solid #ddd;
  border-radius: 8px;
  padding: 1.25rem 1.5rem;
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}

.weather-card .weather-main {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.weather-card .weather-icon {
  font-size: 2.5rem;
  line-height: 1;
}

.weather-card .weather-temp {
  font-size: 2rem;
  font-weight: 700;
  font-family: system-ui, -apple-system, sans-serif;
}

.weather-card .weather-desc {
  text-transform: capitalize;
  color: #555;
  font-size: 0.9rem;
}

.weather-card .weather-details {
  display: flex;
  gap: 1.5rem;
  font-size: 0.85rem;
  color: #666;
  font-family: system-ui, -apple-system, sans-serif;
}

.weather-card .weather-details span {
  display: flex;
  align-items: center;
  gap: 0.3rem;
}

.weather-loading {
  color: #999;
  font-style: italic;
}

.weather-error {
  color: #c00;
  font-size: 0.85rem;
}

.quote-box {
  background: #fff8e7;
  border-left: 4px solid #8b0000;
  padding: 1rem 1.25rem;
  margin-bottom: 1.5rem;
  border-radius: 0 6px 6px 0;
}

.quote-box p {
  font-style: italic;
  font-size: 1.05rem;
  color: #333;
}

.quote-box .quote-attribution {
  font-style: normal;
  font-size: 0.8rem;
  color: #888;
  margin-top: 0.3rem;
  text-align: right;
}

.article {
  background: white;
  border: 1px solid #e0ddd5;
  border-radius: 6px;
  padding: 1.25rem 1.5rem;
  margin-bottom: 1rem;
}

.article .category {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: #8b0000;
  font-weight: 600;
  font-family: system-ui, -apple-system, sans-serif;
  margin-bottom: 0.3rem;
}

.article h2 {
  font-size: 1.35rem;
  font-weight: 700;
  color: #1a1a1a;
  margin-bottom: 0.5rem;
  font-family: 'Times New Roman', Times, serif;
}

.article p {
  font-size: 0.95rem;
  color: #333;
  line-height: 1.7;
}

.columns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

@media (max-width: 600px) {
  .columns {
    grid-template-columns: 1fr;
  }
}

.column-box {
  background: white;
  border: 1px solid #e0ddd5;
  border-radius: 6px;
  padding: 1rem 1.25rem;
}

.column-box h3 {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: #8b0000;
  font-weight: 600;
  font-family: system-ui, -apple-system, sans-serif;
  margin-bottom: 0.6rem;
  padding-bottom: 0.4rem;
  border-bottom: 2px solid #eee;
}

.column-box ul {
  list-style: none;
  padding: 0;
}

.column-box li {
  font-size: 0.9rem;
  color: #333;
  padding: 0.35rem 0;
  border-bottom: 1px solid #f0eee8;
}

.column-box li:last-child {
  border-bottom: none;
}

footer {
  text-align: center;
  padding: 1.5rem 1rem;
  font-size: 0.75rem;
  color: #999;
  font-family: system-ui, -apple-system, sans-serif;
  border-top: 1px solid #ddd;
  margin-top: 2rem;
}

footer a {
  color: #8b0000;
  text-decoration: none;
}
