/* home.css - specific broadsheet styles for the homepage */
.hero {
  margin-bottom: 3rem;
}

.hero-image {
  background-color: var(--aged);
  border: 1px solid var(--border);
}

.hero-overlay {
  background: linear-gradient(to top, var(--ink) 0%, transparent 100%);
}

.section-title {
  font-family: var(--font-label);
  font-size: 1.2rem;
  text-transform: uppercase;
  color: var(--ink);
  margin-bottom: 1.5rem;
}

.latest-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.latest-list li {
  margin-bottom: 1rem;
}

.category-spotlight {
  background-color: var(--parchment);
  padding: 2rem 0;
}

.category-spotlight:nth-child(even) {
  background-color: var(--aged);
}

.section-header {
  font-family: var(--font-label);
  font-size: 1.5rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  display: inline-block;
  padding-bottom: 0.5rem;
}

/* Back Issues Dark Section */
.dark-section { background: #100c08; padding: 4rem; color: #f5edd8; margin-top: 4rem; position: relative; z-index: 1;}
.dark-section-header { text-align: center; margin-bottom: 3rem; font-family: var(--font-label); font-size: 0.8rem; letter-spacing: 3px; color:var(--gold-ink); text-transform: uppercase; position: relative; display: flex; align-items: center; justify-content: center; gap: 1rem; }
.dark-section-header::after { content: ''; display: block; height: 1px; background: rgba(201, 149, 42, 0.2); width: 100%; position: absolute; bottom: -1.5rem; left: 0; }
.dark-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; }
.dark-card { padding: 2rem; border-right: 1px solid rgba(201, 149, 42, 0.1); border-top: 2px solid transparent; transition: all 0.3s ease; display: flex; flex-direction: column; }
.dark-card:last-child { border-right: none; }
.dark-card:hover { background: rgba(201, 149, 42, 0.05); border-top-color: var(--gold); padding-top: calc(2rem - 2px); }
.dark-card-meta { font-family: var(--font-label); font-size: 0.65rem; letter-spacing: 2px; color:var(--gold-ink); margin-bottom: 1rem; text-transform: uppercase; }
.dark-card-title { font-family: var(--font-display); font-size: 1.3rem; margin-bottom: 1rem; line-height: 1.3; }
.dark-card-title a { color: #f5edd8; text-decoration: none; transition: color 0.3s; }
.dark-card-title a:hover { color:var(--gold-ink); }
.dark-card-excerpt { font-family: var(--font-body); font-size: 0.95rem; color: rgba(245, 237, 216, 0.6); line-height: 1.6; margin-bottom: 2.5rem; flex-grow: 1; font-weight: 300; }
.dark-card-btn { display: inline-block; font-family: var(--font-label); font-size: 0.7rem; letter-spacing: 2px; color:var(--gold-ink); text-transform: uppercase; text-decoration: none; border-bottom: 1px solid rgba(201, 149, 42, 0.4); padding-bottom: 3px; transition: all 0.3s; align-self: flex-start; }
.dark-card-btn:hover { border-bottom-color: var(--gold); color: #f5edd8; }

@media(max-width: 1000px) {
  .dark-grid { grid-template-columns: repeat(2, 1fr); }
  .dark-card:nth-child(2) { border-right: none; }
  .dark-card:nth-child(3), .dark-card:nth-child(4) { border-top: 1px solid rgba(201, 149, 42, 0.1); }
  .dark-card:hover { border-top: 1px solid rgba(201, 149, 42, 0.1); padding-top: 2rem; background: rgba(201, 149, 42, 0.03); }
}

@media(max-width: 600px) {
  .dark-grid { grid-template-columns: 1fr; }
  .dark-card { border-right: none; border-bottom: 1px solid rgba(201, 149, 42, 0.1); border-top: none; }
  .dark-card:last-child { border-bottom: none; }
  .dark-section { padding: 3rem 1rem; }
}
