:root {
  --paper-bg: #efebe4; /* Newspaper aged paper color */
  --ink-color: #1a1715;
  --ink-muted: #5e5954;
  --divider-color: #9c9489;
}

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

body {
  background-color: var(--paper-bg);
  color: var(--ink-color);
  font-family: 'Special Elite', monospace;
  line-height: 1.5;
  padding: 40px 20px;
}

.newspaper-wrapper {
  max-width: 1100px;
  margin: 0 auto;
  border: 1px solid var(--divider-color);
  padding: 40px;
  background-color: #f7f4ee;
  box-shadow: 0 4px 30px rgba(0,0,0,0.02);
}

/* Masthead styling */
.masthead-meta {
  display: flex;
  justify-content: space-between;
  font-size: 0.75rem;
  letter-spacing: 0.5px;
  color: var(--ink-muted);
}

.masthead-divider-double {
  border-top: 4px double var(--divider-color);
  margin: 12px 0;
}

.masthead-divider-single {
  border-top: 1px solid var(--divider-color);
  margin: 16px 0;
}

.masthead-title {
  font-family: 'Playfair Display', serif;
  font-weight: 900;
  font-size: 4.8rem;
  text-align: center;
  line-height: 1;
  letter-spacing: -2px;
}

.masthead-tagline {
  text-align: center;
  font-size: 0.95rem;
  font-style: italic;
  color: var(--ink-muted);
  max-width: 700px;
  margin: 12px auto 0;
}

/* Nav Bar */
.nav-bar {
  text-align: center;
  margin-top: 8px;
}

.nav-links {
  display: flex;
  justify-content: center;
  list-style: none;
  gap: 40px;
}

.nav-links a {
  text-decoration: none;
  color: var(--ink-color);
  font-weight: 700;
  font-size: 1rem;
  transition: opacity 0.2s;
}

.nav-links a:hover {
  opacity: 0.7;
}

/* Newspaper Grid */
.newspaper-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 32px;
  margin-top: 32px;
}

/* Columns */
.main-column {
  border-right: 1px solid var(--divider-color);
  padding-right: 32px;
}

.center-column {
  border-right: 1px solid var(--divider-color);
  padding-right: 32px;
}

.column-title {
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  font-size: 1.25rem;
  letter-spacing: 1px;
  margin-bottom: 24px;
  border-bottom: 2px solid var(--divider-color);
  padding-bottom: 8px;
}

/* Headline Article */
.headline-article {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.article-title {
  font-family: 'Playfair Display', serif;
  font-weight: 900;
  font-size: 2.2rem;
  line-height: 1.2;
}

.article-lead {
  font-size: 1.05rem;
  font-weight: bold;
  color: var(--ink-muted);
  border-left: 2px solid var(--ink-color);
  padding-left: 14px;
}

.article-body {
  font-family: 'Lora', serif;
  font-size: 0.9rem;
  line-height: 1.6;
  text-align: justify;
}

.article-body p {
  margin-bottom: 12px;
}

/* Market Report Center */
.market-list {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.market-item {
  border-bottom: 1px dotted var(--divider-color);
  padding-bottom: 16px;
}

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

.item-title {
  font-family: 'Playfair Display', serif;
  font-size: 1.15rem;
  margin-bottom: 4px;
}

.item-status {
  display: block;
  font-size: 0.75rem;
  color: var(--ink-muted);
  margin-bottom: 8px;
}

.market-item p {
  font-family: 'Lora', serif;
  font-size: 0.85rem;
  line-height: 1.5;
  color: var(--ink-muted);
}

/* CSA Banner Card Right */
.csa-banner-card {
  border: 1px solid var(--divider-color);
  padding: 24px;
  background-color: var(--paper-bg);
  text-align: center;
}

.banner-title {
  font-family: 'Playfair Display', serif;
  font-size: 1.15rem;
  margin-bottom: 16px;
  letter-spacing: 1px;
}

.woodblock-img-wrapper {
  border: 1px solid var(--divider-color);
  padding: 4px;
  background-color: #fff;
  margin-bottom: 16px;
}

.woodblock-img-wrapper img {
  width: 100%;
  height: auto;
  filter: grayscale(100%) contrast(110%);
}

.banner-text {
  font-size: 0.8rem;
  line-height: 1.6;
  color: var(--ink-muted);
  margin-bottom: 20px;
}

.btn-newspaper {
  font-family: 'Special Elite', monospace;
  font-size: 0.9rem;
  background-color: var(--ink-color);
  color: #fff;
  border: none;
  padding: 10px 20px;
  cursor: pointer;
  width: 100%;
  transition: opacity 0.2s;
}

.btn-newspaper:hover {
  opacity: 0.9;
}

/* Footer */
.footer {
  text-align: center;
  margin-top: 40px;
}

.footer p {
  font-size: 0.75rem;
  color: var(--ink-muted);
}

/* Responsive */
@media (max-width: 900px) {
  .newspaper-grid {
    grid-template-columns: 1fr 1fr;
  }
  .main-column {
    grid-column: span 2;
    border-right: none;
    border-bottom: 1px solid var(--divider-color);
    padding-right: 0;
    padding-bottom: 32px;
  }
  .center-column {
    border-right: none;
    padding-right: 0;
  }
}

@media (max-width: 600px) {
  .newspaper-grid {
    grid-template-columns: 1fr;
  }
  .main-column {
    grid-column: span 1;
  }
  .center-column {
    border-bottom: 1px solid var(--divider-color);
    padding-bottom: 32px;
  }
  .masthead-title {
    font-size: 3rem;
  }
  .nav-links {
    gap: 20px;
  }
}
