/* Main Content */
main {
  max-width: 1000px;
  margin: 3rem auto;
  padding: 0 2rem 50vh 2rem;
  position: relative;
  z-index: 1;
}

h1 {
  font-size: 3rem;
  color: var(--primary-color);
  margin-bottom: 1rem;
  text-align: center;
  font-weight: 700;
  letter-spacing: -1px;
}

h1::after {
  content: "";
  display: block;
  width: 80px;
  height: 4px;
  background: linear-gradient(
    90deg,
    var(--accent-color),
    var(--secondary-color)
  );
  margin: 1rem auto;
  border-radius: 2px;
}

.intro {
  text-align: center;
  margin-bottom: 3rem;
  padding: 2rem;
  background: var(--bg-white);
  border-radius: 12px;
  box-shadow: var(--shadow);
}

.intro h3 {
  color: var(--primary-color);
}

.intro p {
  font-size: 1.2rem;
  color: var(--text-light);
  line-height: 1.8;
  max-width: 700px;
  margin: 0 auto;
}

.section-title {
  font-size: 2rem;
  color: var(--primary-color);
  margin: 3rem 0 1.5rem 0;
  padding-bottom: 0.5rem;
  border-bottom: 3px solid var(--accent-color);
  display: inline-block;
}

/* Article Styling */
article {
  background: linear-gradient(
    90deg,
    var(--bg-white),
    rgba(255, 255, 255, 0.75)
  );
  border-radius: 12px;
  margin-bottom: 1.5rem;
  box-shadow: var(--shadow);
  border-left: 4px solid var(--secondary-color);
  padding: 1.5rem;
  transition: box-shadow 0.3s ease, border-left-color 0.3s ease;
}

body.dark-mode article {
  background: linear-gradient(
    90deg,
    var(--bg-white),
    rgba(36, 40, 49, 0.85)
  );
}

article:hover {
  box-shadow: var(--shadow-lg);
  background: var(--bg-white);
  border-left-color: var(--accent-color);
}

article h3 {
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--primary-color);
  margin-bottom: 1rem;
}

.content p {
  margin-top: 1rem;
  color: var(--text-light);
  line-height: 1.8;
  font-size: 1.05rem;
}

.content p:first-child {
  margin-top: 0;
}

.content ul {
  margin: 0.5rem 0 0.5rem 2rem;
  color: var(--text-light);
}

.content li {
  margin-bottom: 0.3rem;
}

.date {
  font-size: 0.95rem;
  color: var(--text-light);
  font-style: italic;
  margin-top: 0.5rem;
}
