/* Article Detail Styles */
.article-header {
  background: linear-gradient(135deg, var(--deep-green) 0%, #0a2e1a 100%);
  color: var(--white);
  padding: 120px 0 80px;
  position: relative;
}

.article-header::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="1" fill="rgba(255,255,255,0.03)"/><circle cx="75" cy="75" r="1" fill="rgba(255,255,255,0.03)"/><circle cx="50" cy="10" r="0.5" fill="rgba(255,255,255,0.02)"/><circle cx="10" cy="60" r="0.5" fill="rgba(255,255,255,0.02)"/><circle cx="90" cy="40" r="0.5" fill="rgba(255,255,255,0.02)"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
  opacity: 0.3;
}

.article-breadcrumb {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 32px;
  font-size: var(--font-body-sm);
}

.breadcrumb-link {
  color: var(--soft-gold);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: var(--transition);
}

.breadcrumb-link:hover {
  color: var(--white);
}

.breadcrumb-separator {
  color: var(--light-gray);
  width: 16px;
  height: 16px;
}

.breadcrumb-current {
  color: var(--white);
  font-weight: var(--font-medium);
}

.article-meta {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-bottom: 24px;
  flex-wrap: wrap;
}

.article-category {
  margin-bottom: 0;
}

.category-badge {
  background: var(--soft-gold);
  color: var(--deep-green);
  padding: 6px 16px;
  border-radius: 20px;
  font-size: var(--font-body-sm);
  font-weight: var(--font-semibold);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.article-date,
.article-read-time {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--off-white);
  font-size: var(--font-body-sm);
}

.meta-icon {
  width: 16px;
  height: 16px;
  color: var(--soft-gold);
}

.article-title {
  font-size: 3.5rem;
  font-weight: var(--font-bold);
  line-height: 1.1;
  margin-bottom: 24px;
  color: var(--white);
}

.article-excerpt {
  font-size: var(--font-subheader);
  line-height: 1.6;
  color: var(--off-white);
  margin-bottom: 32px;
  max-width: 800px;
}

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

.author-avatar {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  overflow: hidden;
  border: 3px solid var(--soft-gold);
}

.author-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.author-info h4 {
  color: var(--white);
  margin-bottom: 4px;
  font-size: var(--font-body-lg);
}

.author-info span {
  color: var(--soft-gold);
  font-size: var(--font-body-sm);
}

/* Article Hero */
.article-hero {
  margin: -40px 0 60px;
  position: relative;
  z-index: 2;
}

.hero-image {
  max-width: 1000px;
  margin: 0 auto;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}

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

/* Article Content */
.article-content {
  padding: 60px 0;
}

.content-wrapper {
  display: grid;
  grid-template-columns: 1fr 350px;
  gap: 80px;
  align-items: start;
}

.article-main {
  max-width: 100%;
}

.article-lead {
  font-size: 1.4rem;
  line-height: 1.7;
  color: var(--deep-green);
  font-weight: var(--font-medium);
  margin-bottom: 40px;
  padding: 24px;
  background: linear-gradient(
    135deg,
    rgba(201, 170, 113, 0.1) 0%,
    rgba(1, 68, 33, 0.05) 100%
  );
  border-left: 4px solid var(--soft-gold);
  border-radius: 0 12px 12px 0;
}

.article-main h2 {
  font-size: 2.2rem;
  margin: 48px 0 24px;
  color: var(--deep-green);
  position: relative;
}

.article-main h2::after {
  content: "";
  position: absolute;
  bottom: -8px;
  left: 0;
  width: 60px;
  height: 3px;
  background: var(--soft-gold);
  border-radius: 2px;
}

.article-main h3 {
  font-size: 1.6rem;
  margin: 32px 0 16px;
  color: var(--deep-green);
}

.article-main p {
  font-size: var(--font-body-lg);
  line-height: 1.7;
  color: var(--light-gray);
  margin-bottom: 24px;
}

.article-highlight {
  background: linear-gradient(
    135deg,
    rgba(201, 170, 113, 0.1) 0%,
    rgba(1, 68, 33, 0.05) 100%
  );
  border: 1px solid rgba(201, 170, 113, 0.2);
  border-radius: 16px;
  padding: 32px;
  margin: 40px 0;
}

.highlight-content h3 {
  color: var(--deep-green);
  margin-bottom: 20px;
  font-size: 1.4rem;
}

.highlight-content ul {
  list-style: none;
  padding: 0;
}

.highlight-content li {
  position: relative;
  padding-left: 28px;
  margin-bottom: 12px;
  color: var(--light-gray);
  font-size: var(--font-body-lg);
}

.highlight-content li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  width: 8px;
  height: 8px;
  background: var(--soft-gold);
  border-radius: 50%;
}

.article-image {
  margin: 40px 0;
  text-align: center;
}

.article-image img {
  width: 100%;
  height: auto;
  border-radius: 16px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.image-caption {
  margin-top: 16px;
  font-size: var(--font-body-sm);
  color: var(--light-gray);
  font-style: italic;
}

.article-quote {
  margin: 40px 0;
  padding: 32px;
  background: linear-gradient(135deg, var(--deep-green) 0%, #0a2e1a 100%);
  border-radius: 16px;
  position: relative;
}

.article-quote::before {
  content: '"';
  position: absolute;
  top: -20px;
  left: 32px;
  font-size: 4rem;
  color: var(--soft-gold);
  font-family: "Playfair Display", serif;
  line-height: 1;
}

.article-quote blockquote {
  color: var(--white);
  font-size: 1.3rem;
  line-height: 1.6;
  font-style: italic;
  margin-bottom: 16px;
}

.article-quote cite {
  color: var(--soft-gold);
  font-size: var(--font-body-lg);
  font-style: normal;
  font-weight: var(--font-medium);
}

.article-cta {
  background: linear-gradient(
    135deg,
    rgba(201, 170, 113, 0.1) 0%,
    rgba(1, 68, 33, 0.05) 100%
  );
  border: 2px solid var(--soft-gold);
  border-radius: 16px;
  padding: 40px;
  text-align: center;
  margin: 60px 0 40px;
}

.article-cta h3 {
  color: var(--deep-green);
  margin-bottom: 16px;
  font-size: 1.8rem;
}

.article-cta p {
  color: var(--light-gray);
  margin-bottom: 24px;
  font-size: var(--font-body-lg);
}

/* Sidebar */
.article-sidebar {
  position: sticky;
  top: 120px;
}

.sidebar-section {
  background: var(--white);
  border: 1px solid rgba(1, 68, 33, 0.1);
  border-radius: 16px;
  padding: 32px;
  margin-bottom: 32px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.sidebar-section h4 {
  color: var(--deep-green);
  margin-bottom: 24px;
  font-size: 1.3rem;
  position: relative;
}

.sidebar-section h4::after {
  content: "";
  position: absolute;
  bottom: -8px;
  left: 0;
  width: 40px;
  height: 2px;
  background: var(--soft-gold);
  border-radius: 1px;
}

.fact-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 16px;
}

.fact-item:last-child {
  margin-bottom: 0;
}

.fact-icon {
  width: 20px;
  height: 20px;
  color: var(--soft-gold);
  flex-shrink: 0;
  margin-top: 2px;
}

.fact-item strong {
  color: var(--deep-green);
  font-weight: var(--font-semibold);
  display: block;
  margin-bottom: 2px;
}

.fact-item span {
  color: var(--light-gray);
  font-size: var(--font-body-sm);
}

.related-article {
  display: flex;
  gap: 16px;
  margin-bottom: 20px;
  padding-bottom: 20px;
  border-bottom: 1px solid rgba(1, 68, 33, 0.1);
}

.related-article:last-child {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: none;
}

.related-article img {
  width: 80px;
  height: 60px;
  object-fit: cover;
  border-radius: 8px;
  flex-shrink: 0;
}

.related-content h5 {
  color: var(--deep-green);
  font-size: var(--font-body-lg);
  margin-bottom: 4px;
  line-height: 1.3;
}

.related-date {
  color: var(--light-gray);
  font-size: var(--font-body-sm);
}

.share-buttons {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.share-btn {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  border-radius: 8px;
  text-decoration: none;
  color: var(--white);
  font-size: var(--font-body-sm);
  font-weight: var(--font-medium);
  transition: var(--transition);
}

.share-btn.facebook {
  background: #1877f2;
}

.share-btn.twitter {
  background: #1da1f2;
}

.share-btn.linkedin {
  background: #0077b5;
}

.share-btn.copy {
  background: var(--deep-green);
}

.share-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.share-icon {
  width: 18px;
  height: 18px;
}

/* Related Articles Section */
.related-articles {
  background: var(--off-white);
  padding: 80px 0;
}

.articles-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 40px;
  margin-top: 48px;
}

.article-card {
  background: var(--white);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
  transition: var(--transition);
}

.article-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.article-card .article-image {
  position: relative;
  height: 240px;
  overflow: hidden;
  margin: 0;
}

.article-card .article-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition);
  border-radius: 0;
  box-shadow: none;
}

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

.article-card .article-category {
  position: absolute;
  top: 16px;
  left: 16px;
  margin: 0;
}

.article-card .article-content {
  padding: 24px;
}

.article-card .article-meta {
  display: flex;
  gap: 16px;
  margin-bottom: 16px;
  font-size: var(--font-body-sm);
  color: var(--light-gray);
}

.article-card h3 {
  color: var(--deep-green);
  font-size: 1.3rem;
  margin-bottom: 12px;
  line-height: 1.3;
}

.article-card p {
  color: var(--light-gray);
  font-size: var(--font-body-md);
  line-height: 1.5;
  margin-bottom: 20px;
}

.article-card .read-more-btn {
  color: var(--soft-gold);
  text-decoration: none;
  font-weight: var(--font-semibold);
  display: flex;
  align-items: center;
  gap: 8px;
  transition: var(--transition);
}

.article-card .read-more-btn:hover {
  color: var(--deep-green);
}

.article-card .arrow-icon {
  width: 16px;
  height: 16px;
  transition: var(--transition);
}

.article-card .read-more-btn:hover .arrow-icon {
  transform: translateX(4px);
}

/* Responsive Design */
@media (max-width: 1024px) {
  .content-wrapper {
    grid-template-columns: 1fr;
    gap: 60px;
  }

  .article-sidebar {
    position: static;
  }

  .article-title {
    font-size: 3rem;
  }

  .article-lead {
    font-size: 1.3rem;
  }
}

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

  .article-title {
    font-size: 2.5rem;
  }

  .article-excerpt {
    font-size: var(--font-body-lg);
  }

  .article-meta {
    gap: 16px;
  }

  .article-hero {
    margin: -20px 0 40px;
  }

  .hero-image {
    border-radius: 12px;
  }

  .article-content {
    padding: 40px 0;
  }

  .article-lead {
    font-size: 1.2rem;
    padding: 20px;
  }

  .article-main h2 {
    font-size: 1.8rem;
    margin: 32px 0 16px;
  }

  .article-main h3 {
    font-size: 1.4rem;
    margin: 24px 0 12px;
  }

  .article-highlight {
    padding: 24px;
    margin: 32px 0;
  }

  .article-quote {
    padding: 24px;
    margin: 32px 0;
  }

  .article-quote blockquote {
    font-size: 1.2rem;
  }

  .article-cta {
    padding: 32px 24px;
    margin: 40px 0 32px;
  }

  .sidebar-section {
    padding: 24px;
  }

  .articles-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .related-articles {
    padding: 60px 0;
  }
}

@media (max-width: 480px) {
  .article-header {
    padding: 80px 0 40px;
  }

  .article-title {
    font-size: 2rem;
  }

  .article-breadcrumb {
    font-size: 0.9rem;
    gap: 8px;
  }

  .article-meta {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }

  .article-author {
    flex-direction: column;
    text-align: center;
    gap: 12px;
  }

  .article-lead {
    font-size: 1.1rem;
    padding: 16px;
  }

  .article-main h2 {
    font-size: 1.6rem;
  }

  .article-main h3 {
    font-size: 1.3rem;
  }

  .article-highlight {
    padding: 20px;
  }

  .article-quote {
    padding: 20px;
  }

  .article-quote blockquote {
    font-size: 1.1rem;
  }

  .article-cta {
    padding: 24px 20px;
  }

  .sidebar-section {
    padding: 20px;
  }

  .fact-item {
    flex-direction: column;
    gap: 8px;
  }

  .related-article {
    flex-direction: column;
    gap: 12px;
  }

  .related-article img {
    width: 100%;
    height: 120px;
  }

  .share-buttons {
    gap: 8px;
  }

  .share-btn {
    padding: 10px 12px;
    font-size: 0.9rem;
  }
}
