/* Article Specific Styles */
.article-hero {
  background: linear-gradient(135deg, #f5f7fa 0%, #e4e8ed 100%);
  padding: 60px 0 40px;
  position: relative;
  overflow: hidden;
}

.article-hero .container {
  position: relative;
  z-index: 2;
}

.article-hero .hero-content {
  display: flex;
  align-items: center;
  gap: 40px;
}

.article-hero .hero-text {
  flex: 1;
}

.article-hero .hero-image {
  flex: 1;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.article-hero .hero-image img {
  width: 100%;
  height: auto;
  display: block;
}

.article-hero .breadcrumb {
  margin-bottom: 20px;
  font-size: 14px;
  color: #666;
}

.article-hero .breadcrumb a {
  color: #0066cc;
  text-decoration: none;
}

.article-hero .breadcrumb span {
  color: #888;
}

.article-hero .article-category {
  display: inline-block;
  background-color: #0066cc;
  color: white;
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 14px;
  font-weight: 500;
  margin-bottom: 15px;
}

.article-hero h1 {
  font-size: 2.5rem;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 20px;
  color: #222;
}

.article-hero .article-meta {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 20px;
  font-size: 14px;
  color: #666;
}

.article-hero .article-tags {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.article-hero .tag {
  background-color: #f0f4f8;
  color: #44566c;
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 500;
}

.article-content {
  padding: 60px 0;
}

.article-content .content-wrapper {
  display: flex;
  gap: 40px;
}

.article-content .main-content {
  flex: 2;
}

.article-content .sidebar {
  flex: 1;
}

.article-intro .lead {
  font-size: 1.2rem;
  line-height: 1.6;
  color: #444;
  margin-bottom: 40px;
}

.content-section {
  margin-bottom: 60px;
}

.content-section h2 {
  font-size: 1.8rem;
  margin-bottom: 20px;
  color: #222;
  position: relative;
  padding-bottom: 10px;
}

.content-section h2 i {
  margin-right: 10px;
  color: #0066cc;
}

.content-section h2::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 60px;
  height: 3px;
  background-color: #0066cc;
}

.content-section h3 {
  font-size: 1.4rem;
  margin: 25px 0 15px;
  color: #333;
}

.content-section h4 {
  font-size: 1.1rem;
  margin: 20px 0 10px;
  color: #444;
}

.content-section p {
  line-height: 1.7;
  color: #555;
  margin-bottom: 15px;
}

/* Quick Navigation */
.quick-nav {
  background-color: #f8fafc;
  border-radius: 10px;
  padding: 25px;
  margin-bottom: 40px;
  border: 1px solid #e1e6eb;
}

.quick-nav h3 {
  margin-top: 0;
  margin-bottom: 20px;
}

.quick-nav-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 15px;
}

.nav-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background-color: white;
  border-radius: 8px;
  padding: 20px 10px;
  text-align: center;
  text-decoration: none;
  color: #333;
  transition: all 0.3s ease;
  border: 1px solid #e1e6eb;
}

.nav-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  border-color: #0066cc;
}

.nav-card i {
  font-size: 1.5rem;
  margin-bottom: 10px;
  color: #0066cc;
}

.nav-card span {
  font-weight: 500;
}

/* ERP Ranking Cards */
.erp-ranking {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.erp-card {
  background-color: white;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  border: 1px solid #e1e6eb;
}

.erp-header {
  display: flex;
  align-items: center;
  padding: 15px 20px;
  background-color: #f8fafc;
  border-bottom: 1px solid #e1e6eb;
}

.erp-rank {
  width: 30px;
  height: 30px;
  background-color: #0066cc;
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  font-weight: 700;
  margin-right: 15px;
}

.erp-header h3 {
  margin: 0;
  font-size: 1.3rem;
}

.erp-body {
  padding: 20px;
}

.erp-pros-cons {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 20px;
}

.pros, .cons {
  padding: 15px;
  border-radius: 8px;
}

.pros {
  background-color: #f0f9f0;
  border: 1px solid #d0e8d0;
}

.cons {
  background-color: #fff0f0;
  border: 1px solid #ffd0d0;
}

.pros h4, .cons h4 {
  margin-top: 0;
  margin-bottom: 10px;
}

.pros h4 {
  color: #2a7a2a;
}

.cons h4 {
  color: #a02a2a;
}

.pros ul, .cons ul {
  padding-left: 20px;
  margin: 0;
}

.pros li, .cons li {
  margin-bottom: 8px;
  line-height: 1.5;
}

.pros i {
  color: #2a7a2a;
}

.cons i {
  color: #a02a2a;
}

.erp-verdict {
  background-color: #f0f4f8;
  padding: 15px;
  border-radius: 8px;
  border-left: 4px solid #0066cc;
}

.erp-verdict p {
  margin: 0;
  font-weight: 500;
}

.erp-verdict strong {
  color: #0066cc;
}

/* Comparison Table */
.comparison-table-container {
  overflow-x: auto;
  margin-bottom: 30px;
}

.comparison-table {
  width: 100%;
  border-collapse: collapse;
  margin: 20px 0;
  font-size: 0.95rem;
}

.comparison-table th, .comparison-table td {
  padding: 12px 15px;
  text-align: left;
  border: 1px solid #e1e6eb;
}

.comparison-table th {
  background-color: #0066cc;
  color: white;
  font-weight: 600;
}

.comparison-table tr:nth-child(even) {
  background-color: #f8fafc;
}

.comparison-table tr:hover {
  background-color: #f0f4f8;
}

/* Selection Tips */
.selection-tips {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 20px;
  margin: 30px 0;
}

.tip-card {
  background-color: white;
  border-radius: 8px;
  padding: 20px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  border: 1px solid #e1e6eb;
}

.tip-card i {
  font-size: 1.5rem;
  color: #0066cc;
  margin-bottom: 15px;
  display: inline-block;
}

.tip-card h3 {
  margin-top: 0;
  margin-bottom: 15px;
  font-size: 1.1rem;
}

.tip-card ul {
  padding-left: 20px;
  margin: 0;
}

.tip-card li {
  margin-bottom: 8px;
  line-height: 1.5;
}

.expert-tip {
  background-color: #f0f4f8;
  border-left: 4px solid #0066cc;
  padding: 20px;
  border-radius: 0 8px 8px 0;
  margin: 30px 0;
}

.expert-tip h3 {
  margin-top: 0;
  color: #0066cc;
}

.expert-tip h3 i {
  margin-right: 10px;
}

.expert-tip p {
  margin-bottom: 0;
}

/* Conclusion Section */
.conclusion-section {
  background-color: #f8fafc;
  border-radius: 10px;
  padding: 30px;
  margin: 40px 0;
  border: 1px solid #e1e6eb;
}

.steps-container {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 20px;
  margin: 30px 0;
}

.step-card {
  background-color: white;
  border-radius: 8px;
  padding: 20px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  border: 1px solid #e1e6eb;
  text-align: center;
}

.step-number {
  width: 40px;
  height: 40px;
  background-color: #0066cc;
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  font-weight: 700;
  margin: 0 auto 15px;
}

.step-card h3 {
  margin-top: 0;
  margin-bottom: 10px;
  font-size: 1.1rem;
}

.step-card p {
  margin-bottom: 0;
  font-size: 0.9rem;
}

.cta-box {
  background-color: #0066cc;
  color: white;
  padding: 30px;
  border-radius: 8px;
  text-align: center;
  margin: 30px 0;
}

.cta-box h3 {
  margin-top: 0;
  color: white;
}

.cta-box p {
  margin-bottom: 20px;
  color: rgba(255, 255, 255, 0.9);
}

.cta-box .btn-primary {
  background-color: white;
  color: #0066cc;
  font-weight: 600;
}

.search-prompts {
  margin: 30px 0;
}

.search-prompts h4 {
  margin-bottom: 15px;
}

.prompt-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 15px;
}

.prompt-card {
  background-color: white;
  border: 1px solid #e1e6eb;
  border-radius: 8px;
  padding: 15px;
  font-family: monospace;
  font-size: 0.9rem;
  text-align: center;
}

/* Article Footer */
.article-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 30px;
  border-top: 1px solid #e1e6eb;
  margin-top: 50px;
}

.tags-container {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}

.tags-label {
  font-weight: 500;
  color: #666;
}

.tag {
  background-color: #f0f4f8;
  color: #44566c;
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 500;
  text-decoration: none;
}

.tag:hover {
  background-color: #e1e6eb;
}

.share-buttons {
  display: flex;
  align-items: center;
  gap: 10px;
}

.share-label {
  font-weight: 500;
  color: #666;
}

.social-share {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  text-decoration: none;
  transition: transform 0.3s ease;
}

.social-share:hover {
  transform: translateY(-3px);
}

.facebook {
  background-color: #3b5998;
}

.twitter {
  background-color: #1da1f2;
}

.linkedin {
  background-color: #0077b5;
}

.whatsapp {
  background-color: #25d366;
}

/* Sidebar Styles */
.sidebar-widget {
  background-color: white;
  border-radius: 10px;
  padding: 25px;
  margin-bottom: 30px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  border: 1px solid #e1e6eb;
}

.sidebar-widget h3 {
  margin-top: 0;
  margin-bottom: 20px;
  font-size: 1.2rem;
  color: #222;
}

.author-bio {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.author-bio img {
  width: 100%;
  border-radius: 8px;
  margin-bottom: 10px;
}

.author-bio p {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.6;
  color: #555;
}

.related-articles {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.related-article {
  text-decoration: none;
  color: #222;
  padding-bottom: 15px;
  border-bottom: 1px solid #e1e6eb;
}

.related-article:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.related-article h4 {
  margin: 0 0 5px 0;
  font-size: 1rem;
  font-weight: 500;
  transition: color 0.3s ease;
}

.related-article:hover h4 {
  color: #0066cc;
}

.related-article .article-meta {
  font-size: 0.8rem;
  color: #888;
}

.tools-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.tool-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 15px;
  background-color: #f8fafc;
  border-radius: 8px;
  text-decoration: none;
  color: #333;
  transition: all 0.3s ease;
  border: 1px solid #e1e6eb;
}

.tool-item:hover {
  background-color: #f0f4f8;
  border-color: #0066cc;
}

.tool-item i {
  font-size: 1.2rem;
  color: #0066cc;
}

.tool-item span {
  font-weight: 500;
}

.newsletter-widget {
  background-color: #f0f4f8;
  border: 1px solid #e1e6eb;
}

.newsletter-form {
  display: flex;
  gap: 10px;
  margin-top: 15px;
}

.newsletter-form input {
  flex: 1;
  padding: 10px 15px;
  border: 1px solid #e1e6eb;
  border-radius: 6px;
  font-size: 0.95rem;
}

.newsletter-form button {
  background-color: #0066cc;
  color: white;
  border: none;
  border-radius: 6px;
  padding: 0 20px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.newsletter-form button:hover {
  background-color: #0055aa;
}

.privacy-note {
  font-size: 0.8rem;
  color: #888;
  margin-top: 10px;
  margin-bottom: 0;
}

/* More Articles Section */
.more-articles {
  background-color: #f8fafc;
  padding: 60px 0;
}

.section-title {
  text-align: center;
  margin-bottom: 40px;
  font-size: 1.8rem;
  color: #222;
}

.articles-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 30px;
}

.article-card {
  background-color: white;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid #e1e6eb;
}

.article-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.card-image {
  height: 180px;
  overflow: hidden;
}

.card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.article-card:hover .card-image img {
  transform: scale(1.05);
}

.card-content {
  padding: 20px;
}

.card-content .category {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  color: #0066cc;
  margin-bottom: 10px;
  letter-spacing: 0.5px;
}

.card-content h3 {
  margin: 0 0 10px 0;
  font-size: 1.2rem;
  line-height: 1.4;
}

.card-content p {
  margin: 0 0 15px 0;
  font-size: 0.95rem;
  color: #666;
  line-height: 1.5;
}

.read-more {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 0.9rem;
  font-weight: 500;
  color: #0066cc;
  text-decoration: none;
}

.read-more i {
  font-size: 0.8rem;
  transition: transform 0.3s ease;
}

.read-more:hover i {
  transform: translateX(3px);
}

.section-cta {
  text-align: center;
  margin-top: 40px;
}

/* Back to Top Button */
#backToTop {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background-color: #0066cc;
  color: white;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  z-index: 999;
}

#backToTop.visible {
  opacity: 1;
  visibility: visible;
}

#backToTop:hover {
  background-color: #0055aa;
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .article-hero .hero-content {
    flex-direction: column;
  }
  
  .article-hero .hero-text,
  .article-hero .hero-image {
    width: 100%;
  }
  
  .article-content .content-wrapper {
    flex-direction: column;
  }
  
  .erp-pros-cons {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .article-hero h1 {
    font-size: 2rem;
  }
  
  .quick-nav-grid {
    grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
  }
  
  .steps-container {
    grid-template-columns: 1fr;
  }
  
  .article-footer {
    flex-direction: column;
    gap: 20px;
    align-items: flex-start;
  }
}

@media (max-width: 480px) {
  .article-hero h1 {
    font-size: 1.8rem;
  }
  
  .article-hero .article-meta {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }
  
  .quick-nav-grid {
    grid-template-columns: 1fr 1fr;
  }
  
  .selection-tips {
    grid-template-columns: 1fr;
  }
}