/* Lineas de Acción Page Styles */

.lineas-container {
  background-color: var(--ml-bg-beige);
}

/* Hero / Challenge Section */
.lineas-hero {
  background-color: var(--ml-primary-dark);
  color: #f9f7f1;
  padding: 80px 0;
}

.lineas-hero .subtitle {
  color: var(--ml-primary-orange);
  font-weight: 600;
  text-transform: uppercase;
  font-size: 15px;
  letter-spacing: 0.1px;
  margin-bottom: 24px;
}

.lineas-hero h1 {
  font-size: 48px;
  font-weight: 700;
  line-height: 1.15;
  max-width: 760px;
  margin-bottom: 64px;
}

.challenges-grid {
  display: flex;
  justify-content: space-between;
  gap: 32px;
  margin-bottom: 64px;
}

.challenge-item {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.challenge-header {
  display: flex;
  align-items: center;
  width: 100%;
}

.challenge-number {
  color: var(--ml-primary-orange);
  font-size: 48px;
  font-weight: 700;
  line-height: 1;
  margin-right: 16px;
}

.challenge-line {
  background-color: var(--ml-primary-orange);
  height: 2px;
  flex-grow: 1;
}

.challenge-title {
  font-size: 22px;
  font-weight: 700;
  line-height: 1.25;
  margin-top: 12px;
}

.challenge-text {
  font-size: 15px;
  line-height: 1.5;
  opacity: 0.85;
  max-width: 320px;
}

.propuesta-box {
  border-left: 3px solid var(--ml-primary-orange);
  padding-left: 24px;
}

.propuesta-box p {
  font-size: 20px;
  line-height: 1.5;
  max-width: 760px;
}

.propuesta-box .orange {
  color: var(--ml-primary-orange);
  font-weight: 600;
}

/* Action Cards Section */
.action-cards-section {
  background-color: var(--ml-bg-beige-dark);
  padding: 64px 0;
}

.action-cards-section h2 {
  font-size: 31px;
  font-weight: 700;
  margin-bottom: 40px;
}

.action-cards-section .blue {
  color: var(--ml-primary-blue);
}

.action-cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.action-card {
  border-radius: 24px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  background-color: white;
  box-shadow: 0 2px 12px rgba(0, 42, 40, 0.08);
}

.action-card-img {
  width: 100%;
  aspect-ratio: 4/3;
  overflow: hidden;
}

.action-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.action-card-body {
  padding: 32px;
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 24px;
}

.action-card-logo {
  height: 40px;
  margin-bottom: 8px;
}

.action-card-logo img {
  height: 100%;
  object-fit: contain;
}

.action-card-subtitle {
  font-weight: 700;
  font-size: 18px;
  margin-bottom: 12px;
}

.action-card-description {
  font-size: 15px;
  line-height: 1.5;
  margin-bottom: 16px;
}

.action-card-body .ml-btn-dark {
  width: 100%;
  max-width: 300px;
  margin: 0 auto;
}

@media (max-width: 992px) {
  .lineas-hero h1 {
    font-size: 32px;
  }
  .challenges-grid {
    flex-direction: column;
    gap: 40px;
  }
  .challenge-text {
    max-width: 100%;
  }
  .challenge-line {
    display: none; /* Hide connecting lines on mobile stack */
  }
  .action-cards-grid {
    grid-template-columns: 1fr;
  }
  .propuesta-box p {
    font-size: 18px;
  }
}
