:root {
  --article-width: 800px;
}

.article-page {
  background: var(--white);
  min-height: 100vh;
  padding-bottom: 100px;
}

/* Header style for articles without menu */
.article-header {
  padding: 40px 0;
  background: var(--navy);
  color: var(--white);
  text-align: center;
  position: relative;
}

.article-header .back-btn {
  position: absolute;
  top: 40px;
  left: 40px;
  color: var(--white);
  text-decoration: none;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 8px;
  opacity: 0.8;
  transition: var(--transition);
}

.article-header .back-btn:hover {
  opacity: 1;
  transform: translateX(-5px);
}

.article-header h1 {
  font-size: clamp(2rem, 5vw, 3rem);
  font-family: 'Playfair Display', serif;
  margin-bottom: 16px;
}

.article-container {
  max-width: var(--article-width);
  margin: -40px auto 0;
  background: var(--white);
  padding: 60px;
  border-radius: var(--radius-lg);
  box-shadow: 0 20px 50px rgba(0,0,0,0.1);
  position: relative;
  z-index: 2;
}

.article-content {
  line-height: 1.8;
  color: var(--gray-700);
}

.article-content h2 {
  color: var(--navy);
  font-size: 1.8rem;
  margin: 40px 0 20px;
  font-weight: 700;
}

.article-content p {
  margin-bottom: 24px;
  font-size: 1.05rem;
}

.article-content ul, .article-content ol {
  margin-bottom: 24px;
  padding-left: 20px;
}

.article-content li {
  margin-bottom: 12px;
}

.article-visual {
  margin: 40px 0;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.article-visual img {
  width: 100%;
  display: block;
}

.article-footer {
  margin-top: 60px;
  padding-top: 40px;
  border-top: 1px solid var(--gray-200);
  text-align: center;
}

.cta-box {
  background: var(--off-white);
  padding: 40px;
  border-radius: var(--radius-md);
  margin-top: 40px;
}

.cta-box h3 {
  color: var(--navy);
  margin-bottom: 16px;
}

@media (max-width: 768px) {
  .article-container {
    margin: 0;
    padding: 30px 20px;
    border-radius: 0;
    box-shadow: none;
  }
  .article-header .back-btn {
    position: static;
    margin-bottom: 30px;
    justify-content: center;
  }
}

.hero-split {
  display: flex;
  gap: 40px;
  align-items: flex-start;
  margin-bottom: 40px;
}

.hero-split-image {
  flex: 1;
  max-width: 45%;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.hero-split-image img {
  width: 100%;
  display: block;
}

.hero-split-text {
  flex: 1.2;
}

.article-intro {
  font-size: 1.2rem;
  line-height: 1.6;
  color: var(--navy);
  font-weight: 500;
  margin-bottom: 20px;
}

.article-author {
  font-style: italic;
  color: var(--gray-600);
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  gap: 10px;
}

.article-author::before {
  content: "";
  display: inline-block;
  width: 20px;
  height: 1px;
  background: var(--blue);
}

@media (max-width: 600px) {
  .hero-split {
    flex-direction: column;
    gap: 24px;
  }
  .hero-split-image {
    max-width: 100%;
  }
}

/* New components for rich articles */
.info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
  margin: 30px 0;
}

.info-card {
  background: var(--off-white);
  padding: 24px;
  border-radius: 12px;
  border-top: 4px solid var(--blue);
}

.info-card h4 {
  color: var(--navy);
  margin-bottom: 12px;
  font-size: 1.1rem;
}

.info-card p {
  font-size: 0.95rem;
  margin-bottom: 0;
  line-height: 1.6;
}

.numbered-list {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin: 30px 0;
}

.list-item {
  display: flex;
  gap: 20px;
  align-items: flex-start;
}

.item-number {
  background: var(--blue);
  color: white;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  flex-shrink: 0;
}

.item-content h4 {
  margin-bottom: 6px;
  color: var(--navy);
}

.item-content p {
  margin-bottom: 0;
  font-size: 1rem;
}
