/* AI Accounting Article Styles */
/* Main Content Styles */
.content-section {
  margin-bottom: 3rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid #eaeaea;
}

.article-intro .lead {
  font-size: 1.2rem;
  line-height: 1.7;
  color: #444;
  margin-bottom: 2rem;
}

/* Challenges Grid */
.challenges-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.5rem;
  margin: 2rem 0;
}

.challenge-card {
  background: #f9f9f9;
  border-radius: 8px;
  padding: 1.5rem;
  transition: transform 0.3s ease;
}

.challenge-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.challenge-icon {
  font-size: 2rem;
  color: #004080;
  margin-bottom: 1rem;
}

.challenge-card h3 {
  color: #004080;
  margin-bottom: 0.8rem;
}

/* Benefit Accordion */
.benefit-accordion {
  margin: 2rem 0;
}

.accordion-item {
  margin-bottom: 1rem;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.accordion-header {
  width: 100%;
  padding: 1.2rem 1.5rem;
  background: #004080;
  color: white;
  border: none;
  text-align: left;
  display: flex;
  align-items: center;
  cursor: pointer;
  transition: background 0.3s;
}

.accordion-header:hover {
  background: #003366;
}

.accordion-header h3 {
  margin: 0 1rem;
  flex-grow: 1;
}

.accordion-header i.fa-chevron-down {
  transition: transform 0.3s;
}

.accordion-header.active i.fa-chevron-down {
  transform: rotate(180deg);
}

.accordion-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-out;
}

.accordion-content.active {
  max-height: 1000px;
}

.accordion-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  padding: 1.5rem;
}

@media (max-width: 768px) {
  .accordion-grid {
    grid-template-columns: 1fr;
  }
}

.accordion-features ul, .accordion-benefits ul {
  list-style: none;
  padding: 0;
}

.accordion-features li, .accordion-benefits li {
  margin-bottom: 0.8rem;
  position: relative;
  padding-left: 1.8rem;
}

.accordion-features li i, .accordion-benefits li i {
  position: absolute;
  left: 0;
  color: #004080;
}

.accordion-example {
  background: #f0f7ff;
  padding: 1rem;
  border-radius: 6px;
  margin-top: 1rem;
}

/* Tools Ranking */
.tools-ranking {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
  gap: 1.5rem;
  margin: 2rem 0;
}

.tool-card {
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  overflow: hidden;
}

.tool-header {
  display: flex;
  align-items: center;
  padding: 1rem;
  background: #f5f5f5;
  border-bottom: 1px solid #e0e0e0;
}

.tool-logo {
  width: 50px;
  height: 50px;
  margin-right: 1rem;
}

.tool-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.tool-header h3 {
  margin: 0;
  color: #004080;
}

.tool-body {
  padding: 1rem;
}

.tool-pros-cons {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-bottom: 1rem;
}

@media (max-width: 480px) {
  .tool-pros-cons {
    grid-template-columns: 1fr;
  }
}

.pros h4, .cons h4 {
  margin-top: 0;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid #e0e0e0;
}

.pros ul, .cons ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.pros li, .cons li {
  margin-bottom: 0.5rem;
  padding-left: 1.5rem;
  position: relative;
}

.pros li i {
  position: absolute;
  left: 0;
  color: #28a745;
}

.cons li i {
  position: absolute;
  left: 0;
  color: #dc3545;
}

.tool-verdict {
  background: #f9f9f9;
  padding: 1rem;
  border-radius: 6px;
}

.tool-verdict p {
  margin: 0.5rem 0;
}

/* Future Trends */
.future-trends {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.5rem;
  margin: 2rem 0;
}

.trend-card {
  background: white;
  border-radius: 8px;
  padding: 1.5rem;
  box-shadow: 0 3px 10px rgba(0,0,0,0.08);
}

.trend-icon {
  font-size: 2rem;
  color: #004080;
  margin-bottom: 1rem;
}

.trend-card h3 {
  color: #004080;
  margin-top: 0;
}

.trend-status {
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid #eee;
}

.status-label {
  font-weight: bold;
  margin-right: 0.5rem;
}

.status {
  padding: 0.2rem 0.5rem;
  border-radius: 4px;
  font-size: 0.9rem;
}

.status.early {
  background: #d4edda;
  color: #155724;
}

.status.pilot {
  background: #cce5ff;
  color: #004085;
}

.status.development {
  background: #fff3cd;
  color: #856404;
}

.status.experimental {
  background: #f8d7da;
  color: #721c24;
}

.status.research {
  background: #e2e3e5;
  color: #383d41;
}

.status.emerging {
  background: #d1ecf1;
  color: #0c5460;
}

/* Selection Process */
.selection-process {
  margin: 2rem 0;
}

.process-step {
  display: flex;
  margin-bottom: 2rem;
  align-items: flex-start;
}

.step-number {
  background: #004080;
  color: white;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  margin-right: 1.5rem;
  flex-shrink: 0;
}

.step-content {
  flex-grow: 1;
}

.step-content h3 {
  margin-top: 0;
  color: #004080;
}

.step-content ul {
  padding-left: 1.2rem;
}

.step-content li {
  margin-bottom: 0.5rem;
}

/* Evaluation Criteria */
.evaluation-criteria {
  margin: 3rem 0;
}

.criteria-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 1.5rem;
  margin-top: 1.5rem;
}

.criteria-card {
  background: #f8f9fa;
  padding: 1.2rem;
  border-radius: 8px;
  border-left: 4px solid #004080;
}

.criteria-card h4 {
  margin-top: 0;
  color: #004080;
}

.criteria-card ul {
  padding-left: 1.2rem;
  margin-bottom: 0;
}

/* Key Takeaways */
.key-takeaways {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.5rem;
  margin: 2rem 0;
}

.takeaway-card {
  background: #f0f7ff;
  padding: 1.5rem;
  border-radius: 8px;
}

.takeaway-card i {
  font-size: 2rem;
  color: #004080;
  margin-bottom: 1rem;
}

.takeaway-card h3 {
  color: #004080;
  margin-top: 0;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
  .tools-ranking {
    grid-template-columns: 1fr;
  }
  
  .criteria-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 480px) {
  .process-step {
    flex-direction: column;
  }
  
  .step-number {
    margin-bottom: 1rem;
    margin-right: 0;
  }
  
  .criteria-grid {
    grid-template-columns: 1fr;
  }
}