/* Oytel component: route and benefit cards */

.oytel-route-cards {
  padding: var(--oytel-spacing-xl) 0;
}

.oytel-section__title {
  font-size: clamp(1.75rem, 4vw, 2.25rem);
  line-height: 1.15;
  margin: 0 0 var(--oytel-spacing-md);
  color: var(--oytel-color-text-primary);
}

.oytel-section__subtitle {
  font-size: clamp(1.25rem, 3vw, 1.5rem);
  line-height: 1.2;
  margin: var(--oytel-spacing-xl) 0 var(--oytel-spacing-md);
  color: var(--oytel-color-text-primary);
}

.oytel-route-cards__grid,
.oytel-benefits__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--oytel-spacing-md);
}

.oytel-route-card {
  display: flex;
  flex-direction: column;
  gap: var(--oytel-spacing-sm);
  padding: var(--oytel-spacing-md);
  border-radius: var(--oytel-radius-card);
  background: var(--oytel-color-surface-card);
  border: 1px solid var(--oytel-color-border-default);
  text-decoration: none;
  color: var(--oytel-color-text-primary);
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.oytel-route-card:hover {
  box-shadow: var(--oytel-shadow-card);
  transform: translateY(-2px);
}

.oytel-route-card__header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: var(--oytel-spacing-sm);
}

.oytel-route-card__name {
  font-size: 1.125rem;
  line-height: 1.3;
  margin: 0;
}

.oytel-route-card__price {
  font-size: 1rem;
  font-weight: 700;
  color: var(--oytel-color-brand-primary);
  white-space: nowrap;
}

.oytel-route-card__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--oytel-spacing-sm);
  font-size: 0.875rem;
  color: var(--oytel-color-text-secondary);
}

.oytel-route-card__transport {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem;
}

.oytel-route-card__mode {
  padding: 0.125rem 0.5rem;
  border-radius: 9999px;
  background: var(--oytel-color-surface-canvas);
  border: 1px solid var(--oytel-color-border-default);
  font-size: 0.75rem;
  text-transform: capitalize;
}

.oytel-route-card__departure {
  margin-top: auto;
  font-size: 0.875rem;
  color: var(--oytel-color-text-secondary);
}

.oytel-benefit-card {
  padding: var(--oytel-spacing-md);
  border-radius: var(--oytel-radius-card);
  background: var(--oytel-color-surface-canvas);
  border: 1px solid var(--oytel-color-border-default);
}

.oytel-benefit-card__title {
  font-size: 1.05rem;
  margin: 0 0 var(--oytel-spacing-xs);
  color: var(--oytel-color-text-primary);
}

.oytel-benefit-card__description {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.5;
  color: var(--oytel-color-text-secondary);
}

@media (max-width: 900px) {
  .oytel-route-cards__grid,
  .oytel-benefits__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .oytel-route-cards__grid,
  .oytel-benefits__grid {
    grid-template-columns: 1fr;
  }
}
