/* Article Page Styles */

/* Article Hero Section - Using same style as blog */
.article-variant .hero-split-layout {
  padding: 80px 0 50px 0;
  min-height: auto;
}

.article-variant .hero-main-content {
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Breadcrumb */
.article-breadcrumb {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 25px;
  font-size: 14px;
  color: white;
  opacity: 0.9;
}

.article-breadcrumb a {
  color: white;
  text-decoration: none;
  transition: opacity 0.3s;
}

.article-breadcrumb a:hover {
  opacity: 0.7;
}

.article-breadcrumb .separator {
  opacity: 0.5;
}

/* Article Title in Hero - Now dynamic title in subtitle */
.article-variant .subtitle-text {
  font-size: 20px;
  line-height: 1.4;
  max-width: 800px;
  margin: 0 auto;
}

/* Article Meta Info */
.article-meta-info {
  display: flex;
  flex-wrap: wrap;
  gap: 25px;
  justify-content: center;
  margin-top: 30px;
  font-size: 15px;
  color: white;
  opacity: 0.9;
}

.meta-item {
  display: flex;
  align-items: center;
  gap: 8px;
}

.meta-icon {
  font-size: 18px;
}

/* Main Article Layout */
.article-main {
  background: var(--bg-secondary);
  padding: 60px 0;
}

.article-layout {
  display: grid;
  grid-template-columns: 1fr 350px;
  gap: 50px;
  max-width: 1200px;
  margin: 0 auto;
}

/* Article Content */
.article-content {
  background: white;
  border-radius: 12px;
  padding: 40px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

/* Featured Image */
.featured-image {
  margin: -40px -40px 40px;
  border-radius: 12px 12px 0 0;
  overflow: hidden;
}

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

.image-caption {
  padding: 15px 40px;
  background: var(--bg-secondary);
  font-size: 14px;
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  gap: 10px;
  border-top: 1px solid #e0e0e0;
}

.caption-icon {
  font-size: 16px;
}

/* Article Introduction */
.article-intro {
  margin-bottom: 40px;
}

.intro-highlight {
  font-size: 20px;
  line-height: 1.7;
  color: var(--text-primary);
  padding: 25px;
  background: linear-gradient(135deg, var(--bg-accent), white);
  border-left: 4px solid var(--primary-accent);
  border-radius: 8px;
}

/* Table of Contents */
.table-of-contents {
  background: var(--bg-secondary);
  border-radius: 12px;
  padding: 25px;
  margin-bottom: 40px;
}

.toc-title {
  font-size: 20px;
  margin-bottom: 20px;
  color: var(--text-primary);
  display: flex;
  align-items: center;
  gap: 10px;
}

.toc-icon {
  font-size: 24px;
}

.toc-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.toc-list li {
  padding: 10px 0;
  border-bottom: 1px solid #e0e0e0;
}

.toc-list li:last-child {
  border-bottom: none;
}

.toc-list a {
  color: var(--text-primary);
  text-decoration: none;
  display: flex;
  align-items: center;
  transition: all 0.3s;
}

.toc-list a:before {
  content: "→";
  margin-right: 10px;
  color: var(--primary-accent);
  font-weight: bold;
}

.toc-list a:hover {
  color: var(--primary-accent);
  padding-left: 10px;
}

/* Article Body */
.article-body {
  font-size: 17px;
  line-height: 1.8;
  color: var(--text-primary);
}

.article-body h2 {
  font-size: 28px;
  margin: 40px 0 20px;
  color: var(--primary-dark);
  border-bottom: 2px solid var(--primary-accent);
  padding-bottom: 10px;
}

.article-body h3 {
  font-size: 22px;
  margin: 30px 0 15px;
  color: var(--text-primary);
}

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

.article-body ul,
.article-body ol {
  margin: 20px 0;
  padding-left: 30px;
}

.article-body li {
  margin-bottom: 10px;
}

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

.article-body blockquote {
  margin: 30px 0;
  padding: 20px;
  background: var(--bg-secondary);
  border-left: 4px solid var(--primary-accent);
  font-style: italic;
}

/* Expert Tip Box */
.expert-tip {
  background: linear-gradient(135deg, #fff9e6, #fff5cc);
  border: 2px solid #ffc107;
  border-radius: 12px;
  padding: 25px;
  margin: 40px 0;
}

.tip-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 15px;
}

.tip-icon {
  font-size: 28px;
}

.tip-header h3 {
  font-size: 20px;
  margin: 0;
  color: var(--text-primary);
}

.expert-tip p {
  font-size: 16px;
  line-height: 1.6;
  margin: 0;
  color: var(--text-primary);
}

/* Article Conclusion */
.article-conclusion {
  margin-top: 50px;
  padding: 30px;
  background: var(--bg-accent);
  border-radius: 12px;
}

.conclusion-title {
  font-size: 26px;
  margin-bottom: 20px;
  color: var(--primary-dark);
}

.conclusion-content {
  font-size: 17px;
  line-height: 1.7;
  color: var(--text-primary);
}

/* Share Section */
.share-section {
  margin-top: 40px;
  padding-top: 30px;
  border-top: 2px solid #e0e0e0;
}

.share-section h3 {
  font-size: 18px;
  margin-bottom: 15px;
  color: var(--text-primary);
}

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

.share-btn {
  padding: 10px 20px;
  border: none;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s;
  display: flex;
  align-items: center;
  gap: 8px;
}

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

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

.share-btn.whatsapp {
  background: #25d366;
  color: white;
}

.share-btn:hover {
  transform: scale(1.05);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

/* Sidebar */
.article-sidebar {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

/* Author Box */
.author-box {
  background: white;
  border-radius: 12px;
  padding: 25px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.author-header {
  display: flex;
  gap: 15px;
  margin-bottom: 15px;
}

.author-avatar {
  width: 60px;
  height: 60px;
  background: var(--bg-accent);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 30px;
}

.author-info h3 {
  font-size: 18px;
  margin: 0 0 5px 0;
  color: var(--text-primary);
}

.author-info p {
  font-size: 14px;
  color: var(--text-secondary);
  margin: 0;
}

.author-bio {
  font-size: 15px;
  line-height: 1.6;
  color: var(--text-secondary);
}

/* Quick Contact */
.quick-contact {
  background: linear-gradient(135deg, var(--primary-accent), var(--primary-light));
  color: white;
  border-radius: 12px;
  padding: 25px;
  text-align: center;
}

.quick-contact h3 {
  font-size: 20px;
  margin-bottom: 10px;
  color: white;
}

.quick-contact p {
  font-size: 14px;
  margin-bottom: 20px;
  color: white;
  opacity: 0.95;
}

.contact-phone,
.contact-form {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 20px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s;
  margin-bottom: 10px;
}

.contact-phone {
  background: white;
  color: var(--primary-accent);
}

.contact-phone span {
  color: var(--primary-accent);
}

.contact-phone img {
  filter: none;
}

.contact-form {
  background: rgba(255, 255, 255, 0.2);
  color: white;
  border: 2px solid white;
}

.contact-phone:hover,
.contact-form:hover {
  transform: scale(1.05);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.contact-phone:hover {
  background: var(--primary-dark);
  color: white;
}

.contact-phone:hover span {
  color: white;
}

.contact-phone:hover img {
  filter: brightness(0) invert(1);
}

/* Related Articles */
.related-articles {
  background: white;
  border-radius: 12px;
  padding: 25px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.related-articles h3 {
  font-size: 18px;
  margin-bottom: 20px;
  color: var(--text-primary);
  border-bottom: 2px solid var(--primary-accent);
  padding-bottom: 10px;
}

.related-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.related-list li {
  margin-bottom: 15px;
}

.related-list a {
  color: var(--text-primary);
  text-decoration: none;
  display: flex;
  align-items: start;
  gap: 10px;
  font-size: 15px;
  line-height: 1.5;
  transition: all 0.3s;
}

.related-list a:hover {
  color: var(--primary-accent);
  padding-left: 5px;
}

.article-icon {
  font-size: 16px;
  margin-top: 2px;
}

/* Service Areas */
.service-areas {
  background: white;
  border-radius: 12px;
  padding: 25px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.service-areas h3 {
  font-size: 18px;
  margin-bottom: 20px;
  color: var(--text-primary);
  border-bottom: 2px solid var(--primary-accent);
  padding-bottom: 10px;
}

.areas-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.area-tag {
  padding: 8px 15px;
  background: var(--bg-secondary);
  border-radius: 20px;
  color: var(--text-primary);
  text-decoration: none;
  font-size: 14px;
  transition: all 0.3s;
}

.area-tag:hover {
  background: var(--primary-accent);
  color: white;
  transform: scale(1.05);
}

/* Bottom CTA Section */
.article-bottom-cta {
  background: linear-gradient(135deg, #f8f9fa, white);
  padding: 80px 0;
  margin-top: 60px;
}

.cta-wrapper {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 60px;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.cta-content h2 {
  font-size: 36px;
  margin-bottom: 15px;
  color: var(--primary-dark);
}

.cta-content p {
  font-size: 18px;
  color: var(--text-secondary);
  margin-bottom: 30px;
  line-height: 1.6;
}

.cta-features {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.cta-feature {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 16px;
  color: var(--text-primary);
}

.feature-icon {
  width: 30px;
  height: 30px;
  background: var(--primary-accent);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
}

.cta-action {
  background: white;
  padding: 40px;
  border-radius: 16px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
  text-align: center;
}

.cta-action h3 {
  font-size: 24px;
  margin-bottom: 15px;
  color: var(--text-primary);
}

.cta-phone-number {
  font-size: 32px;
  font-weight: 700;
  color: var(--primary-accent);
  margin-bottom: 25px;
}

.cta-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  font-size: 17px;
  transition: all 0.3s;
  margin-bottom: 15px;
}

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

.cta-btn.primary:hover {
  background: var(--primary-dark);
  transform: scale(1.05);
}

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

.cta-btn.secondary:hover {
  background: var(--primary-accent);
  color: white;
}

.cta-hours {
  font-size: 14px;
  color: var(--text-secondary);
  margin-top: 20px;
}

/* Mobile Responsive */
@media (max-width: 1024px) {
  .article-layout {
    grid-template-columns: 1fr;
  }
  
  .article-sidebar {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
  
  .cta-wrapper {
    grid-template-columns: 1fr;
    text-align: center;
  }
  
  .cta-features {
    justify-content: center;
    max-width: 500px;
    margin: 0 auto;
  }
}

@media (max-width: 768px) {
  .article-variant .hero-split-layout {
    padding: 60px 0 40px 0;
  }
  
  .article-variant .subtitle-text {
    font-size: 18px;
  }
  
  .article-meta-info {
    gap: 15px;
    font-size: 14px;
  }
  
  .article-content {
    padding: 25px;
  }
  
  .featured-image {
    margin: -25px -25px 25px;
  }
  
  .image-caption {
    padding: 12px 25px;
  }
  
  .article-body {
    font-size: 16px;
  }
  
  .article-body h2 {
    font-size: 24px;
  }
  
  .article-body h3 {
    font-size: 20px;
  }
  
  .article-sidebar {
    grid-template-columns: 1fr;
  }
  
  .cta-content h2 {
    font-size: 28px;
  }
  
  .cta-content p {
    font-size: 16px;
  }
  
  .cta-phone-number {
    font-size: 26px;
  }
  
  .cta-action {
    padding: 30px 20px;
  }
  
  .share-buttons {
    flex-direction: column;
  }
  
  .share-btn {
    width: 100%;
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .article-variant .subtitle-text {
    font-size: 16px;
  }
  
  .article-variant .hero-split-layout {
    padding: 50px 0 30px 0;
  }
  
  .article-meta-info {
    font-size: 13px;
    gap: 10px;
  }
  
  .intro-highlight {
    font-size: 17px;
    padding: 20px;
  }
  
  .toc-list {
    font-size: 15px;
  }
  
  .expert-tip {
    padding: 20px;
  }
  
  .cta-features {
    grid-template-columns: 1fr;
  }
  
  .cta-btn {
    font-size: 15px;
    padding: 12px 20px;
  }
}