/* ========================================
   ARTICLE PAGE STYLES
======================================== */

:root {
  --primary-color: #2d5016;
  --secondary-color: #8b9556;
  --accent-color: #c4a962;
  --text-dark: #2c3e50;
  --text-light: #7f8c8d;
  --bg-light: #f8f9fa;
  --white: #ffffff;
  --shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  --transition: all 0.3s ease;
}

/* Article Header */
.article-header {
  position: relative;
  padding: 180px 0 100px;
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
  color: var(--white);
  overflow: hidden;
}

.article-header::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('images/pattern.png') repeat;
  opacity: 0.1;
}

.article-header-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(ellipse at top, rgba(255,255,255,0.1) 0%, transparent 60%);
}

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 30px;
  font-size: 0.9rem;
  position: relative;
  z-index: 1;
}

.breadcrumb a {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  transition: var(--transition);
}

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

.breadcrumb span {
  color: rgba(255, 255, 255, 0.6);
}

.article-title {
  font-family: 'Playfair Display', serif;
  font-size: 3.5rem;
  font-weight: 700;
  margin-bottom: 20px;
  line-height: 1.2;
  position: relative;
  z-index: 1;
}

.article-subtitle {
  font-size: 1.3rem;
  margin-bottom: 30px;
  opacity: 0.9;
  position: relative;
  z-index: 1;
}

.article-meta {
  display: flex;
  align-items: center;
  gap: 15px;
  font-size: 0.95rem;
  opacity: 0.8;
  position: relative;
  z-index: 1;
}

.article-author {
  font-weight: 600;
}

/* Article Layout */
.article-content {
  padding: 80px 0;
  background: var(--white);
}

.article-layout {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 60px;
  max-width: 1400px;
  margin: 0 auto;
}

/* Sidebar */
.article-sidebar {
  position: relative;
}

.sidebar-sticky {
  position: sticky;
  top: 120px;
}

.table-of-contents {
  background: var(--bg-light);
  padding: 30px;
  border-radius: 15px;
  margin-bottom: 30px;
}

.table-of-contents h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.3rem;
  margin-bottom: 20px;
  color: var(--primary-color);
}

.table-of-contents ul {
  list-style: none;
}

.table-of-contents li {
  margin-bottom: 12px;
}

.table-of-contents a {
  color: var(--text-dark);
  text-decoration: none;
  display: block;
  padding: 8px 12px;
  border-left: 3px solid transparent;
  transition: var(--transition);
  font-size: 0.95rem;
}

.table-of-contents a:hover,
.table-of-contents a.active {
  color: var(--primary-color);
  border-left-color: var(--primary-color);
  background: rgba(45, 80, 22, 0.05);
  transform: translateX(5px);
}

.sidebar-cta {
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
  color: var(--white);
  padding: 30px;
  border-radius: 15px;
  text-align: center;
}

.sidebar-cta h4 {
  font-size: 1.2rem;
  margin-bottom: 10px;
}

.sidebar-cta p {
  margin-bottom: 20px;
  opacity: 0.9;
}

/* Main Article Content */
.article-main {
  max-width: 800px;
}

.article-intro {
  margin-bottom: 40px;
}

.lead {
  font-size: 1.25rem;
  line-height: 1.8;
  color: var(--text-dark);
  font-weight: 400;
}

.article-section {
  margin-bottom: 60px;
}

.article-section h2 {
  font-family: 'Playfair Display', serif;
  font-size: 2.2rem;
  color: var(--primary-color);
  margin-bottom: 25px;
  padding-bottom: 15px;
  border-bottom: 3px solid var(--accent-color);
}

.article-section h3 {
  font-size: 1.6rem;
  color: var(--secondary-color);
  margin: 30px 0 15px;
}

.article-section h4 {
  font-size: 1.3rem;
  color: var(--text-dark);
  margin: 25px 0 12px;
  font-weight: 600;
}

.article-section p {
  font-size: 1.1rem;
  line-height: 1.9;
  color: var(--text-dark);
  margin-bottom: 20px;
}

.article-section strong {
  color: var(--primary-color);
  font-weight: 600;
}

.article-section em {
  color: var(--secondary-color);
}

/* Article Image */
.article-image {
  margin: 40px 0;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: var(--shadow);
}

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

figcaption {
  padding: 15px 20px;
  background: var(--bg-light);
  font-size: 0.9rem;
  color: var(--text-light);
  font-style: italic;
  text-align: center;
}

/* Highlight Box */
.highlight-box {
  background: linear-gradient(135deg, rgba(45, 80, 22, 0.05) 0%, rgba(139, 149, 86, 0.05) 100%);
  border-left: 4px solid var(--primary-color);
  padding: 25px 30px;
  margin: 30px 0;
  border-radius: 8px;
}

.highlight-box h3 {
  font-size: 1.3rem;
  margin-bottom: 15px;
  color: var(--primary-color);
}

/* Info Box */
.info-box {
  background: #e3f2fd;
  border-left: 4px solid #2196f3;
  padding: 20px 25px;
  margin: 30px 0;
  border-radius: 8px;
}

.info-box strong {
  color: #1976d2;
}

.info-box ul {
  margin-top: 15px;
  list-style: none;
}

.info-box li {
  padding: 5px 0;
  color: var(--text-dark);
}

/* Warning Box */
.warning-box {
  background: #fff3e0;
  border-left: 4px solid #ff9800;
  padding: 20px 25px;
  margin: 30px 0;
  border-radius: 8px;
}

.warning-box h4 {
  color: #f57c00;
  margin-bottom: 10px;
}

/* Quote */
.article-quote {
  font-family: 'Playfair Display', serif;
  font-size: 1.4rem;
  font-style: italic;
  color: var(--primary-color);
  border-left: 5px solid var(--accent-color);
  padding: 30px 40px;
  margin: 40px 0;
  background: var(--bg-light);
  border-radius: 8px;
  position: relative;
}

.article-quote::before {
  content: '"';
  position: absolute;
  top: 10px;
  left: 15px;
  font-size: 4rem;
  color: var(--accent-color);
  opacity: 0.3;
  font-family: Georgia, serif;
}

.article-quote cite {
  display: block;
  margin-top: 15px;
  font-size: 1rem;
  font-style: normal;
  color: var(--text-light);
  text-align: right;
}

/* Key Points */
.key-points {
  background: var(--bg-light);
  padding: 25px 30px;
  border-radius: 12px;
  margin: 30px 0;
}

.key-points h4 {
  color: var(--primary-color);
  margin-bottom: 15px;
}

.key-points ul {
  list-style: none;
}

.key-points li {
  padding: 10px 0;
  color: var(--text-dark);
  font-size: 1.05rem;
}

/* Timeline */
.timeline {
  position: relative;
  padding: 30px 0;
  margin: 40px 0;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 20px;
  top: 0;
  bottom: 0;
  width: 3px;
  background: var(--accent-color);
}

.timeline-item {
  position: relative;
  padding-left: 60px;
  margin-bottom: 40px;
}

.timeline-marker {
  position: absolute;
  left: 9px;
  top: 0;
  width: 25px;
  height: 25px;
  border-radius: 50%;
  background: var(--primary-color);
  border: 4px solid var(--white);
  box-shadow: 0 0 0 3px var(--accent-color);
}

.timeline-content h4 {
  color: var(--primary-color);
  margin-bottom: 8px;
  font-size: 1.2rem;
}

.timeline-content p {
  color: var(--text-dark);
  font-size: 1rem;
  line-height: 1.7;
}

/* Principles Grid */
.principles-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 25px;
  margin: 40px 0;
}

.principle-card {
  background: var(--white);
  padding: 30px;
  border-radius: 15px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
  transition: var(--transition);
  border-top: 4px solid var(--accent-color);
}

.principle-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.principle-icon {
  font-size: 3rem;
  margin-bottom: 20px;
}

.principle-card h3 {
  color: var(--primary-color);
  margin-bottom: 15px;
  font-size: 1.3rem;
}

.principle-card p {
  font-size: 1rem;
  line-height: 1.7;
  color: var(--text-dark);
}

/* Techniques */
.techniques-container {
  margin: 40px 0;
}

.technique-major,
.technique-minor {
  margin-bottom: 40px;
}

.technique-major h3,
.technique-minor h3 {
  font-size: 1.5rem;
  color: var(--primary-color);
  margin-bottom: 25px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.technique-item {
  background: var(--bg-light);
  padding: 20px 25px;
  border-radius: 12px;
  margin-bottom: 15px;
  transition: var(--transition);
}

.technique-item.featured {
  background: linear-gradient(135deg, rgba(45, 80, 22, 0.08) 0%, rgba(139, 149, 86, 0.08) 100%);
  border-left: 4px solid var(--primary-color);
}

.technique-item:hover {
  transform: translateX(5px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.technique-item h4 {
  color: var(--primary-color);
  margin-bottom: 8px;
  font-size: 1.2rem;
}

.technique-item p {
  font-size: 0.95rem;
  margin: 0;
  line-height: 1.6;
}

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

.technique-number {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  background: var(--primary-color);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.1rem;
}

/* Benefits Grid */
.benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
  margin: 40px 0;
}

.benefit-card {
  background: var(--white);
  padding: 25px;
  border-radius: 12px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
  transition: var(--transition);
}

.benefit-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.12);
}

.benefit-icon {
  font-size: 2.5rem;
  margin-bottom: 15px;
}

.benefit-card h4 {
  color: var(--primary-color);
  margin-bottom: 10px;
  font-size: 1.1rem;
}

.benefit-card p {
  font-size: 0.9rem;
  color: var(--text-light);
  margin: 0;
}

/* Consultation Steps */
.consultation-steps {
  margin: 40px 0;
}

.step {
  display: flex;
  gap: 25px;
  margin-bottom: 30px;
  padding-bottom: 30px;
  border-bottom: 2px dashed var(--bg-light);
}

.step:last-child {
  border-bottom: none;
}

.step-number {
  flex-shrink: 0;
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: 700;
  box-shadow: 0 5px 15px rgba(45, 80, 22, 0.3);
}

.step-content h4 {
  color: var(--primary-color);
  margin-bottom: 10px;
  font-size: 1.3rem;
}

.step-content p {
  font-size: 1rem;
  line-height: 1.7;
  margin: 0;
}

/* FAQ */
.faq-container {
  margin: 40px 0;
}

.faq-item {
  background: var(--white);
  border: 2px solid var(--bg-light);
  border-radius: 12px;
  margin-bottom: 15px;
  overflow: hidden;
  transition: var(--transition);
}

.faq-item:hover {
  border-color: var(--accent-color);
}

.faq-question {
  width: 100%;
  background: none;
  border: none;
  padding: 20px 25px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  text-align: left;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--primary-color);
  transition: var(--transition);
}

.faq-question:hover {
  background: var(--bg-light);
}

.faq-icon {
  font-size: 1.5rem;
  color: var(--accent-color);
  transition: transform 0.3s ease;
}

.faq-item.active .faq-icon {
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.faq-item.active .faq-answer {
  max-height: 500px;
}

.faq-answer p {
  padding: 0 25px 20px;
  margin: 0;
  font-size: 1rem;
  line-height: 1.8;
  color: var(--text-dark);
}

/* Article CTA */
.article-cta {
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
  padding: 60px 40px;
  border-radius: 20px;
  text-align: center;
  color: var(--white);
  margin: 60px 0;
  box-shadow: 0 15px 40px rgba(45, 80, 22, 0.3);
}

.cta-content h2 {
  font-family: 'Playfair Display', serif;
  font-size: 2.5rem;
  margin-bottom: 20px;
}

.cta-content p {
  font-size: 1.2rem;
  margin-bottom: 30px;
  opacity: 0.9;
}

.cta-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

.btn-primary,
.btn-secondary {
  align-content: center;
  padding: 15px 35px;
  border-radius: 50px;
  font-weight: 600;
  text-decoration: none;
  transition: var(--transition);
  display: inline-block;
}

.btn-primary {
  background: var(--white);
  color: var(--primary-color);
}

.btn-primary:hover {
  background: var(--accent-color);
  color: var(--white);
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

.btn-secondary {
  background: transparent;
  color: var(--white);
  border: 2px solid var(--white);
}

.btn-secondary:hover {
  background: var(--white);
  color: var(--primary-color);
  transform: translateY(-3px);
}

/* Share Section */
.article-share {
  margin: 60px 0 40px;
  padding: 30px;
  background: var(--bg-light);
  border-radius: 15px;
  text-align: center;
}

.article-share h4 {
  margin-bottom: 20px;
  color: var(--primary-color);
}

.share-buttons {
  display: flex;
  gap: 15px;
  justify-content: center;
  flex-wrap: wrap;
}

.share-btn {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition);
  color: var(--white);
}

.share-btn svg {
  width: 24px;
  height: 24px;
}

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

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

.share-btn.linkedin {
  background: #0a66c2;
}

.share-btn.email {
  background: #ea4335;
}

.share-btn:hover {
  transform: translateY(-3px) scale(1.1);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

/* Related Articles */
.related-articles {
  margin: 60px 0;
}

.related-articles h3 {
  font-family: 'Playfair Display', serif;
  font-size: 2rem;
  color: var(--primary-color);
  margin-bottom: 30px;
  text-align: center;
}

.related-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

.related-card {
  background: var(--white);
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
  transition: var(--transition);
}

.related-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.related-image {
  width: 100%;
  height: 200px;
  overflow: hidden;
}

.related-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition);
}

.related-card:hover .related-image img {
  transform: scale(1.1);
}

.related-content {
  padding: 25px;
}

.related-content h4 {
  color: var(--primary-color);
  margin-bottom: 10px;
  font-size: 1.2rem;
}

.related-content p {
  font-size: 0.95rem;
  color: var(--text-light);
  margin-bottom: 15px;
  line-height: 1.6;
}

.read-more {
  color: var(--secondary-color);
  text-decoration: none;
  font-weight: 600;
  transition: var(--transition);
}

.read-more:hover {
  color: var(--primary-color);
  gap: 10px;
}

/* Responsive Design */
@media (max-width: 1200px) {
  .article-layout {
    grid-template-columns: 280px 1fr;
    gap: 40px;
  }
}

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

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

  .article-subtitle {
    font-size: 1.1rem;
  }

  .article-layout {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .article-sidebar {
    order: 2;
  }

  .article-main {
    order: 1;
  }

  .sidebar-sticky {
    position: static;
  }

  .table-of-contents {
    display: none;
  }

  .article-section h2 {
    font-size: 1.8rem;
  }

  .principles-grid,
  .benefits-grid {
    grid-template-columns: 1fr;
  }

  .related-grid {
    grid-template-columns: 1fr;
  }
}

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

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

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

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

  .article-quote {
    font-size: 1.1rem;
    padding: 20px 25px;
  }

  .cta-content h2 {
    font-size: 1.8rem;
  }

  .cta-buttons {
    flex-direction: column;
  }

  .btn-primary,
  .btn-secondary {
    width: 100%;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .article-title {
    font-size: 1.6rem;
  }

  .article-subtitle {
    font-size: 1rem;
  }

  .lead {
    font-size: 1.1rem;
  }

  .article-section p {
    font-size: 1rem;
  }

  .step {
    flex-direction: column;
    gap: 15px;
  }

  .step-number {
    width: 50px;
    height: 50px;
    font-size: 1.3rem;
  }
}
