/* Article Header */
.article-header {
  margin-bottom: 3rem;
  text-align: center;
  border-bottom: 1px solid #f0ede6;
  padding-bottom: 2rem;
}

.article-title {
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: #2c2824;
}

.article-subtitle {
  font-size: 1.375rem;
  color: #6b6356;
  font-style: italic;
  margin-bottom: 1.5rem;
  font-weight: 400;
}

.article-meta {
  font-family: 'Source Sans Pro', system-ui, sans-serif;
  font-size: 0.9rem;
  color: #6b6356;
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.article-meta a {
  color: #8b4513;
}

/* Article Content */
.article-content {
  max-width: 800px;
  margin: 0 auto;
  font-size: 1.125rem;
  line-height: 1.8;
}

.article-content p:first-of-type {
  font-size: 1.25rem;
  font-weight: 500;
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

/* Featured Image */
.featured-image {
  margin: 2rem auto;
  max-width: 600px;
  text-align: center;
}

.featured-image img,
.featured-image picture,
.featured-image picture img {
  width: 100%;
  height: auto;
  max-height: 400px;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(44, 40, 36, 0.1);
}

/* Image Gallery */
.image-gallery {
  margin: 2.5rem 0;
}

.image-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1rem;
  margin: 2rem 0;
}

.gallery-item {
  margin: 0;
}

.image-grid img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  border-radius: 6px;
  box-shadow: 0 2px 8px rgba(44, 40, 36, 0.08);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.image-grid img:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(44, 40, 36, 0.15);
}

.image-caption {
  font-size: 0.9rem;
  color: #6b6356;
  font-style: italic;
  text-align: center;
  margin-top: 0.5rem;
  font-family: 'Source Sans Pro', system-ui, sans-serif;
}

/* Video Components */
.video-container {
  position: relative;
  width: 100%;
  height: 0;
  padding-bottom: 56.25%; /* 16:9 aspect ratio */
  margin: 2.5rem 0;
  border-radius: 6px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(44, 40, 36, 0.1);
}

.video-container iframe,
.video-container video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
}

.video-description {
  margin-top: 1rem;
  font-style: italic;
  color: #6b6356;
  text-align: center;
  font-size: 0.95rem;
}

/* Pull Quotes */
.pull-quote {
  font-size: 1.5rem;
  font-style: italic;
  color: #8b4513;
  text-align: center;
  margin: 3rem 0;
  padding: 2rem;
  position: relative;
  font-family: 'Crimson Text', 'Times New Roman', serif;
}

.pull-quote::before,
.pull-quote::after {
  content: '"';
  font-size: 4rem;
  color: #8b4513;
  opacity: 0.3;
  position: absolute;
  font-family: 'Crimson Text', serif;
}

.pull-quote::before {
  top: -0.5rem;
  left: 1rem;
}

.pull-quote::after {
  bottom: -2rem;
  right: 1rem;
}

/* Support Buttons */
.support-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* Responsive adjustments for posts */
@media (max-width: 768px) {
  .article-title {
    font-size: 2.25rem;
  }
  
  .article-content {
    font-size: 1rem;
  }
  
  .article-content p:first-of-type {
    font-size: 1.125rem;
  }
  
  .article-meta {
    justify-content: center;
    gap: 1rem;
  }
  
  .pull-quote {
    font-size: 1.25rem;
    padding: 1.5rem;
  }
  
  .image-grid {
    grid-template-columns: 1fr;
  }
  
  .featured-image {
    max-width: 100%;
  }
  
  .featured-image img,
  .featured-image picture img {
    max-height: 300px;
  }
  
  .support-buttons {
    flex-direction: column;
    align-items: center;
  }
}