/* Corporate Tax Article Specific Styles */

/* Hero Section */
.article-hero {
  background: linear-gradient(135deg, #004080 0%, #0066cc 100%);
  color: white;
  padding: 3rem 0;
}

/* Content Sections */
.content-section {
  margin-bottom: 3rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid #eaeaea;
}

/* Info Boxes */
.info-box {
  background-color: #f8f9fa;
  border-left: 4px solid #004080;
  padding: 1.5rem;
  margin: 1.5rem 0;
  border-radius: 0 4px 4px 0;
}

.warning-box {
  background-color: #fff8e6;
  border-left: 4px solid #ffc107;
  padding: 1.5rem;
  margin: 1.5rem 0;
  border-radius: 0 4px 4px 0;
  display: flex;
  align-items: flex-start;
}

.warning-box i {
  color: #ffc107;
  margin-right: 1rem;
  font-size: 1.5rem;
}

/* Feature Lists */
.feature-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
  margin: 2rem 0;
}

.feature-item {
  display: flex;
  align-items: flex-start;
}

.feature-item i {
  color: #004080;
  margin-right: 0.75rem;
  font-size: 1.2rem;
  margin-top: 0.2rem;
}

/* Example Cards */
.example-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
  margin: 2rem 0;
}

.example-card {
  background: #f8f9fa;
  padding: 1.5rem;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.example-card h4 {
  color: #004080;
  margin-bottom: 0.75rem;
}

/* Branch Types */
.branch-types {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
  margin: 2rem 0;
}

.branch-card {
  background: white;
  padding: 1.5rem;
  border-radius: 8px;
  box-shadow: 0 2px 15px rgba(0,0,0,0.08);
}

.branch-card h3 {
  color: #004080;
  margin-bottom: 1rem;
  font-size: 1.2rem;
}

.branch-card li {
  margin-bottom: 0.5rem;
  display: flex;
  align-items: flex-start;
}

.branch-card i {
  margin-right: 0.5rem;
  color: #28a745;
  font-size: 0.9rem;
}

/* PE Types */
.pe-types {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  margin: 2rem 0;
}

.pe-card {
  background: white;
  padding: 1.5rem;
  border-radius: 8px;
  box-shadow: 0 2px 15px rgba(0,0,0,0.08);
  border-top: 3px solid #004080;
}

.pe-card h4 {
  color: #004080;
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
}

.pe-card i {
  margin-right: 0.75rem;
  font-size: 1.2rem;
}

/* Tax Rate Cards */
.tax-rate-cards {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  margin: 2rem 0;
}

.rate-card {
  background: white;
  padding: 1.5rem;
  border-radius: 8px;
  box-shadow: 0 2px 15px rgba(0,0,0,0.08);
  text-align: center;
  flex: 1;
  min-width: 200px;
}

.rate-badge {
  background: #004080;
  color: white;
  width: 80px;
  height: 80px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
  font-size: 1.5rem;
  font-weight: bold;
}

/* Consideration Grid */
.consideration-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
  margin: 2rem 0;
}

.consideration-item {
  background: white;
  padding: 1.5rem;
  border-radius: 8px;
  box-shadow: 0 2px 15px rgba(0,0,0,0.08);
  text-align: center;
}

.consideration-item i {
  font-size: 2rem;
  color: #004080;
  margin-bottom: 1rem;
}

.consideration-item h4 {
  color: #004080;
  margin-bottom: 0.75rem;
}

/* Timeline */
.documentation-timeline {
  position: relative;
  padding-left: 50px;
  margin: 3rem 0;
}

.documentation-timeline::before {
  content: '';
  position: absolute;
  left: 20px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: #004080;
}

.timeline-item {
  position: relative;
  margin-bottom: 2.5rem;
}

.timeline-item:last-child {
  margin-bottom: 0;
}

.timeline-date {
  position: absolute;
  left: -50px;
  top: 0;
  width: 40px;
  padding: 0.25rem 0.5rem;
  background: #004080;
  color: white;
  border-radius: 4px;
  font-size: 0.8rem;
  text-align: center;
}

.timeline-content {
  background: white;
  padding: 1.5rem;
  border-radius: 8px;
  box-shadow: 0 2px 15px rgba(0,0,0,0.08);
  position: relative;
}

.timeline-content::before {
  content: '';
  position: absolute;
  left: -16px;
  top: 20px;
  width: 0;
  height: 0;
  border-top: 8px solid transparent;
  border-bottom: 8px solid transparent;
  border-right: 16px solid white;
}

.timeline-content h4 {
  color: #004080;
  margin-bottom: 0.75rem;
}

/* Checklist */
.compliance-checklist {
  margin: 3rem 0;
}

.checklist-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1rem;
}

.checklist-item {
  display: flex;
  align-items: center;
  padding: 0.75rem;
  background: #f8f9fa;
  border-radius: 4px;
}

.checklist-item input {
  margin-right: 0.75rem;
}

/* Key Takeaways */
.key-takeaways {
  margin: 3rem 0;
}

.takeaways-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.5rem;
}

.takeaway-card {
  text-align: center;
  padding: 1.5rem;
  background: white;
  border-radius: 8px;
  box-shadow: 0 2px 15px rgba(0,0,0,0.08);
}

.takeaway-icon {
  width: 60px;
  height: 60px;
  background: #004080;
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
  font-size: 1.5rem;
}

.takeaway-card h4 {
  color: #004080;
  margin-bottom: 0.5rem;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
  .documentation-timeline {
    padding-left: 30px;
  }
  
  .timeline-date {
    left: -30px;
    width: 30px;
  }
  
  .feature-list,
  .example-cards,
  .branch-types,
  .pe-types,
  .consideration-grid,
  .checklist-grid,
  .takeaways-grid {
    grid-template-columns: 1fr;
  }
  
  .tax-rate-cards {
    flex-direction: column;
  }
}