/* ============================================
   SelfEvents V1 — Blog Styles
   Featured card, article grid, category pills,
   article typography, newsletter CTA
   ============================================ */

/* --- Featured Article Card --- */
.featured-card {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  border-radius: 1rem;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 4px 24px rgba(45, 41, 38, 0.06);
  transition: box-shadow 0.4s ease;
}

@media (min-width: 768px) {
  .featured-card {
    grid-template-columns: 3fr 2fr;
  }
}

.featured-card:hover {
  box-shadow: 0 8px 40px rgba(45, 41, 38, 0.1);
}

.featured-card .featured-image {
  overflow: hidden;
  aspect-ratio: 16 / 10;
}

@media (min-width: 768px) {
  .featured-card .featured-image {
    aspect-ratio: auto;
    min-height: 360px;
  }
}

.featured-card .featured-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.featured-card:hover .featured-image img {
  transform: scale(1.04);
}

/* --- Category Pills --- */
.category-pills {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.category-pill {
  padding: 0.5rem 1.25rem;
  border-radius: 9999px;
  font-size: 0.8125rem;
  font-weight: 500;
  border: 1px solid #E8DED4;
  color: #7A6F68;
  background: transparent;
  transition: all 0.25s ease;
  cursor: pointer;
  white-space: nowrap;
}

.category-pill:hover {
  border-color: #BA2257;
  color: #BA2257;
}

.category-pill.active {
  background: #BA2257;
  border-color: #BA2257;
  color: #fff;
}

/* --- Article Card --- */
.article-card {
  transition: transform 0.35s ease;
}

.article-card:hover {
  transform: translateY(-4px);
}

.article-card .article-image {
  overflow: hidden;
  border-radius: 0.75rem;
  aspect-ratio: 4 / 3;
  background: #F5EDE4;
}

.article-card .article-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.article-card:hover .article-image img {
  transform: scale(1.06);
}

/* --- Article Page Typography --- */
.article-content {
  font-size: 1.0625rem;
  line-height: 1.85;
  color: #2D2926;
}

.article-content h2 {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 1.75rem;
  font-weight: 500;
  margin-top: 2.5rem;
  margin-bottom: 1rem;
  color: #2D2926;
}

.article-content h3 {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 1.375rem;
  font-weight: 500;
  margin-top: 2rem;
  margin-bottom: 0.75rem;
  color: #2D2926;
}

.article-content p {
  margin-bottom: 1.5rem;
  color: #4a4340;
}

.article-content blockquote {
  border-left: 3px solid #BA2257;
  padding: 1.25rem 1.5rem;
  margin: 2rem 0;
  background: #FFFAF5;
  border-radius: 0 0.5rem 0.5rem 0;
  font-style: italic;
  color: #7A6F68;
}

.article-content blockquote p {
  margin-bottom: 0;
  color: inherit;
}

.article-content ul,
.article-content ol {
  padding-left: 1.5rem;
  margin-bottom: 1.5rem;
}

.article-content ul {
  list-style-type: disc;
}

.article-content ol {
  list-style-type: decimal;
}

.article-content li {
  margin-bottom: 0.5rem;
  color: #4a4340;
}

.article-content img {
  border-radius: 0.75rem;
  margin: 2rem 0;
  width: 100%;
}

.article-content a {
  color: #BA2257;
  text-decoration: underline;
  text-underline-offset: 2px;
  transition: color 0.2s ease;
}

.article-content a:hover {
  color: #8F1842;
}

/* --- Share Buttons --- */
.share-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 9999px;
  border: 1px solid #E8DED4;
  color: #7A6F68;
  transition: all 0.25s ease;
}

.share-btn:hover {
  border-color: #BA2257;
  color: #BA2257;
  background: rgba(186, 34, 87, 0.04);
}

/* --- Author Box --- */
.author-box {
  background: #FFFAF5;
  border: 1px solid #E8DED4;
  border-radius: 1rem;
  padding: 1.5rem;
}

/* --- Newsletter Section --- */
.blog-newsletter {
  background: linear-gradient(135deg, #2D2926 0%, #3d3530 100%);
}
