/* Article Page Styles */

.article-page {
  background-color: #fff;
  padding: 40px 0 80px;
}

@media (min-width: 768px) {
  .article-page {
    padding: 60px 0 100px;
  }
}

.article-container {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 20px;
}

@media (min-width: 768px) {
  .article-container {
    padding: 0 40px;
  }
}

/* Article Header */
.article-header {
  margin-bottom: 40px;
  padding-bottom: 32px;
  border-bottom: 1px solid #e5e7eb;
}

.article-meta {
  display: flex;
  gap: 16px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}

.article-category {
  display: inline-block;
  background-color: #b8945f;
  color: white;
  padding: 6px 16px;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.article-date {
  display: inline-flex;
  align-items: center;
  color: #6b7280;
  font-size: 14px;
}

.article-title {
  font-family: 'Playfair Display', serif;
  font-size: 2rem;
  line-height: 1.2;
  color: #1f2937;
  margin-bottom: 16px;
  font-weight: 600;
}

@media (min-width: 768px) {
  .article-title {
    font-size: 2.5rem;
  }
}

@media (min-width: 1024px) {
  .article-title {
    font-size: 3rem;
  }
}

.article-subtitle {
  font-size: 1.125rem;
  line-height: 1.6;
  color: #4b5563;
  margin-bottom: 24px;
}

@media (min-width: 768px) {
  .article-subtitle {
    font-size: 1.25rem;
  }
}

.article-author {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 24px;
}

.author-photo {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  object-fit: cover;
  filter: grayscale(100%);
}

.author-info {
  flex: 1;
}

.author-name {
  font-weight: 600;
  color: #1f2937;
  font-size: 15px;
  margin-bottom: 2px;
}

.author-role {
  color: #6b7280;
  font-size: 14px;
}

/* Article Body */
.article-body {
  font-size: 16px;
  line-height: 1.8;
  color: #374151;
}

@media (min-width: 768px) {
  .article-body {
    font-size: 17px;
    line-height: 1.9;
  }
}

.article-featured-image {
  width: 100%;
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  margin-bottom: 32px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

@media (min-width: 768px) {
  .article-featured-image {
    margin-bottom: 48px;
  }
}

.article-body h2 {
  font-family: 'Playfair Display', serif;
  font-size: 1.75rem;
  font-weight: 600;
  color: #1f2937;
  margin-top: 48px;
  margin-bottom: 20px;
  line-height: 1.3;
}

@media (min-width: 768px) {
  .article-body h2 {
    font-size: 2rem;
    margin-top: 56px;
    margin-bottom: 24px;
  }
}

.article-body h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.375rem;
  font-weight: 600;
  color: #374151;
  margin-top: 32px;
  margin-bottom: 16px;
  line-height: 1.4;
}

@media (min-width: 768px) {
  .article-body h3 {
    font-size: 1.5rem;
    margin-top: 40px;
  }
}

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

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

@media (min-width: 768px) {
  .article-body ul, .article-body ol {
    padding-left: 32px;
  }
}

.article-body li {
  margin-bottom: 12px;
  line-height: 1.8;
}

.article-body strong {
  color: #1f2937;
  font-weight: 600;
}

.article-body a {
  color: #b8945f;
  text-decoration: underline;
  transition: color 0.3s;
}

.article-body a:hover {
  color: #8f7248;
}

/* Article CTA */
.article-cta {
  background: linear-gradient(135deg, #4a5568, #b8945f);
  color: white;
  padding: 32px;
  border-radius: 12px;
  margin: 56px 0;
  text-align: center;
}

@media (min-width: 768px) {
  .article-cta {
    padding: 48px;
  }
}

.article-cta h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.5rem;
  margin: 0 0 12px 0;
  color: white;
}

@media (min-width: 768px) {
  .article-cta h3 {
    font-size: 1.75rem;
  }
}

.article-cta p {
  margin: 0 0 24px 0;
  font-size: 16px;
  opacity: 0.95;
}

.cta-button {
  display: inline-block;
  background-color: white;
  color: #4a5568;
  padding: 14px 40px;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 600;
  transition: transform 0.3s, box-shadow 0.3s;
}

.cta-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

/* Related Articles */
.related-articles {
  margin-top: 64px;
  padding-top: 48px;
  border-top: 2px solid #e5e7eb;
}

.related-articles > h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.5rem;
  color: #1f2937;
  margin-bottom: 24px;
}

@media (min-width: 768px) {
  .related-articles > h3 {
    font-size: 1.75rem;
    margin-bottom: 32px;
  }
}

.related-grid {
  display: grid;
  gap: 20px;
  margin-bottom: 32px;
}

@media (min-width: 640px) {
  .related-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }
}

.related-card {
  display: block;
  background-color: white;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  transition: box-shadow 0.3s, transform 0.3s;
  text-decoration: none;
  color: inherit;
}

.related-card:hover {
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.12);
  transform: translateY(-4px);
}

.related-image {
  height: 140px;
}

@media (min-width: 768px) {
  .related-image {
    height: 160px;
  }
}

.related-content {
  padding: 20px;
}

.related-content h4 {
  font-family: 'Playfair Display', serif;
  font-size: 1.125rem;
  color: #1f2937;
  margin-bottom: 8px;
  line-height: 1.4;
}

.related-date {
  font-size: 13px;
  color: #b8945f;
}

.back-to-articles {
  display: inline-block;
  color: #4a5568;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s;
  padding: 8px 0;
}

.back-to-articles:hover {
  color: #b8945f;
}

/* Print Styles */
@media print {
  .header,
  .footer,
  .related-articles,
  .article-cta {
    display: none;
  }

  .article-body {
    font-size: 12pt;
  }

  .article-body h2 {
    page-break-after: avoid;
  }
}
