/* AI Jobs Future Article Styles */
.future-jobs-hero {
  background: linear-gradient(135deg, #004080 0%, #0066cc 100%);
  color: white;
  padding: 60px 0;
}

.future-jobs-hero .hero-text h1 {
  font-size: 2.8rem;
  line-height: 1.2;
  margin-bottom: 20px;
}

.future-jobs-hero .article-category {
  background-color: rgba(255,255,255,0.2);
  padding: 5px 15px;
  border-radius: 20px;
  font-weight: 600;
  display: inline-block;
  margin-bottom: 15px;
}

.future-jobs-hero .article-meta {
  display: flex;
  gap: 20px;
  margin-bottom: 20px;
  font-size: 0.9rem;
  opacity: 0.9;
}

.future-jobs-hero .article-tags {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.future-jobs-hero .tag {
  background-color: rgba(255,255,255,0.1);
  padding: 5px 12px;
  border-radius: 15px;
  font-size: 0.8rem;
}

/* Jobs Impact Grid */
.jobs-impact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 20px;
  margin: 30px 0;
}

.job-card {
  background: 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;
}

.job-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

.job-header {
  padding: 15px 20px;
  border-bottom: 1px solid #eee;
  position: relative;
}

.job-header h3 {
  margin: 0;
  font-size: 1.1rem;
  color: #333;
}

.automation-risk, .growth-potential {
  position: absolute;
  top: 15px;
  right: 15px;
  padding: 3px 10px;
  border-radius: 15px;
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
}

.high-risk {
  background-color: #ffebee;
  color: #c62828;
}

.medium-risk {
  background-color: #fff8e1;
  color: #e65100;
}

.high-growth {
  background-color: #e8f5e9;
  color: #2e7d32;
}

.medium-growth {
  background-color: #e3f2fd;
  color: #1565c0;
}

.job-body {
  padding: 20px;
}

.job-description {
  margin-bottom: 15px;
  font-size: 0.9rem;
  color: #555;
  line-height: 1.6;
}

.job-stats {
  margin-top: 15px;
}

.stat {
  margin-bottom: 10px;
}

.stat-label {
  display: block;
  font-size: 0.8rem;
  color: #777;
  margin-bottom: 5px;
}

.stat-bar {
  height: 8px;
  background-color: #f0f0f0;
  border-radius: 4px;
  overflow: hidden;
  margin-bottom: 5px;
}

.stat-fill {
  height: 100%;
  border-radius: 4px;
}

.disappearing-jobs .stat-fill {
  background-color: #e53935;
}

.emerging-jobs .stat-fill {
  background-color: #43a047;
}

.stat-value {
  font-size: 0.9rem;
  font-weight: 600;
}

/* Adaptation Strategies */
.adaptation-container {
  margin: 40px 0;
}

.adaptation-section h3 {
  font-size: 1.3rem;
  margin-bottom: 20px;
  color: #004080;
  border-left: 4px solid #004080;
  padding-left: 15px;
}

.strategy-cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 20px;
  margin-bottom: 40px;
}

.strategy-card {
  background: white;
  border-radius: 8px;
  padding: 20px;
  box-shadow: 0 3px 10px rgba(0,0,0,0.05);
  transition: transform 0.3s ease;
}

.strategy-card:hover {
  transform: translateY(-5px);
}

.strategy-card i {
  font-size: 1.8rem;
  color: #004080;
  margin-bottom: 15px;
  display: inline-block;
}

.strategy-card h4 {
  margin: 10px 0;
  font-size: 1.1rem;
}

.strategy-card p {
  font-size: 0.9rem;
  color: #555;
  line-height: 1.5;
}

/* Case Studies */
.case-study {
  background: #f9f9f9;
  padding: 25px;
  border-radius: 8px;
  margin: 30px 0;
}

.case-study h3 {
  margin-top: 0;
  color: #004080;
}

.results-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 15px;
  margin: 20px 0;
}

.result-card {
  background: white;
  padding: 15px;
  border-radius: 8px;
  text-align: center;
  box-shadow: 0 3px 5px rgba(0,0,0,0.05);
}

.result-card i {
  font-size: 1.5rem;
  margin-bottom: 10px;
}

.result-value {
  display: block;
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 5px;
}

.result-label {
  font-size: 0.8rem;
  color: #666;
}

.positive i, .positive .result-value {
  color: #2e7d32;
}

.negative i, .negative .result-value {
  color: #c62828;
}

.neutral i, .neutral .result-value {
  color: #1565c0;
}

/* Timeline */
.timeline-container {
  margin: 40px 0;
}

.timeline {
  position: relative;
  max-width: 1000px;
  margin: 0 auto;
}

.timeline::before {
  content: '';
  position: absolute;
  width: 2px;
  background-color: #004080;
  top: 0;
  bottom: 0;
  left: 50%;
  margin-left: -1px;
}

.timeline-item {
  padding: 10px 40px;
  position: relative;
  width: 50%;
  box-sizing: border-box;
}

.timeline-item:nth-child(odd) {
  left: 0;
}

.timeline-item:nth-child(even) {
  left: 50%;
}

.timeline-item::after {
  content: '';
  position: absolute;
  width: 20px;
  height: 20px;
  background-color: white;
  border: 3px solid #004080;
  border-radius: 50%;
  top: 15px;
  z-index: 1;
}

.timeline-item:nth-child(odd)::after {
  right: -10px;
}

.timeline-item:nth-child(even)::after {
  left: -10px;
}

.timeline-content {
  padding: 20px;
  background-color: white;
  border-radius: 8px;
  box-shadow: 0 3px 10px rgba(0,0,0,0.1);
}

.timeline-date {
  font-weight: 600;
  color: #004080;
  margin-bottom: 10px;
}

.timeline-content h4 {
  margin-top: 0;
  color: #004080;
}

.timeline-content ul {
  padding-left: 20px;
  font-size: 0.9rem;
}

.timeline-content li {
  margin-bottom: 8px;
}

/* Case Study Cards */
.case-study-cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 25px;
  margin: 30px 0;
}

.case-study-card {
  background: white;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.case-header {
  position: relative;
}

.case-header img {
  width: 100%;
  height: 180px;
  object-fit: cover;
}

.case-header h3 {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  margin: 0;
  padding: 15px;
  background: linear-gradient(to top, rgba(0,0,0,0.7), transparent);
  color: white;
}

.case-body {
  padding: 20px;
}

.case-stats {
  margin-bottom: 15px;
}

.case-stat {
  margin-bottom: 12px;
}

.case-stat .stat-label {
  font-size: 0.8rem;
  color: #666;
}

.case-stat .stat-value {
  font-size: 0.9rem;
  font-weight: 500;
}

.case-outcome h4 {
  margin: 15px 0 10px;
  color: #004080;
}

.case-outcome p {
  font-size: 0.9rem;
  line-height: 1.5;
  color: #555;
}

/* Resources */
.resources-container {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 20px;
  margin: 30px 0;
}

.resource-card {
  background: white;
  border-radius: 8px;
  padding: 20px;
  box-shadow: 0 3px 10px rgba(0,0,0,0.05);
  display: flex;
  gap: 15px;
}

.resource-icon {
  font-size: 1.5rem;
  color: #004080;
}

.resource-content h3 {
  margin-top: 0;
  font-size: 1.1rem;
  color: #004080;
}

.resource-content ul {
  list-style: none;
  padding: 0;
  margin: 10px 0 0;
}

.resource-content li {
  margin-bottom: 8px;
}

.resource-content a {
  color: #0066cc;
  text-decoration: none;
  font-size: 0.9rem;
}

.resource-content a:hover {
  text-decoration: underline;
}

/* Key Takeaways */
.key-takeaways {
  margin: 40px 0;
}

.takeaways-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 20px;
  margin-top: 20px;
}

.takeaway-card {
  background: white;
  border-radius: 8px;
  padding: 20px;
  text-align: center;
  box-shadow: 0 3px 10px rgba(0,0,0,0.05);
}

.takeaway-card i {
  font-size: 1.8rem;
  color: #004080;
  margin-bottom: 15px;
}

.takeaway-card p {
  font-size: 0.9rem;
  color: #555;
  line-height: 1.5;
  margin: 0;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
  .future-jobs-hero .hero-content {
    flex-direction: column;
  }
  
  .future-jobs-hero .hero-text h1 {
    font-size: 2rem;
  }
  
  .timeline::before {
    left: 31px;
  }
  
  .timeline-item {
    width: 100%;
    padding-left: 70px;
    padding-right: 25px;
  }
  
  .timeline-item:nth-child(even) {
    left: 0;
  }
  
  .timeline-item::after {
    left: 21px !important;
  }
  
  .jobs-impact-grid {
    grid-template-columns: 1fr;
  }
  
  .strategy-cards, .takeaways-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .future-jobs-hero .article-meta {
    flex-direction: column;
    gap: 10px;
  }
  
  .results-grid {
    grid-template-columns: 1fr;
  }
}