/**
 * CSS File: rc-job.css
 * 2026-05-13 | Final checked
 */

.l-rec-car-job-section {
  background-color: #a9e3e4;
}

.p-rec-car-job__content-wrapper {
  background: rgba(255, 255, 255, 0.5);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-radius: 24px;
  padding: 32px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.2);
  width: fit-content;
  margin-left: auto;
  margin-right: auto;
}

.p-rec-car-job__grid {
  display: flex;
  flex-direction: column;
  gap: 32px;
  align-items: center;
}

.p-rec-car-job-card {
  background: rgba(255, 255, 255, 0.8);
  border-radius: 20px;
  padding: 32px;
  width: 100%;
  max-width: 540px;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
}

.p-rec-car-job-card__inner {
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  justify-content: space-between;
}

.p-rec-car-job-card__title {
  font-size: 1.5rem;
  font-weight: 700;
  color: #333;
  margin-bottom: 20px;
  text-align: center;
}

.p-rec-car-job-card__list {
  color: #4a4a4a;
  margin-bottom: 24px;
  padding: 0 8px;
  list-style: none;
  line-height: 1.8;
  display: block;
  width: fit-content;
  margin-left: auto;
  margin-right: auto;
  text-align: left;
}

.p-rec-car-job-card__text {
  color: #4a4a4a;
  margin-bottom: 24px;
  padding: 0 8px;
  font-size: 1rem;
  line-height: 1.8;
  text-align: left;
}

.p-rec-car-job-card__action br {
  display: none;
}

.c-rec-car-job-button {
  display: block;
  width: 100%;
  background-color: #f69381;
  color: #fff;
  padding: 14px 32px;
  border-radius: 8px;
  text-align: center;
  text-decoration: none;
  font-weight: bold;
  white-space: nowrap;
  line-height: 1;
  transition: all 0.3s ease;
}

@media (min-width: 768px) {
  .p-rec-car-job__grid {
    flex-direction: row;
    justify-content: center;
    align-items: stretch;
  }

  .p-rec-car-job-card {
    flex: 1;
    min-width: 400px;
  }

  .p-rec-car-job-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
  }

  .c-rec-car-job-button:hover {
    background-color: #e88573;
    transform: scale(1.05);
  }
}

@media (min-width: 1024px) {
  .p-rec-car-job__content-wrapper {
    padding: 48px 64px;
  }
}

@media (max-height: 500px) and (orientation: landscape) {
  .p-rec-car-job__content-wrapper {
    width: 95%;
    max-width: none;
    padding: 20px;
  }

  .p-rec-car-job__grid {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    align-items: stretch;
    gap: 16px;
  }

  .p-rec-car-job-card {
    width: calc(50% - 8px);
    max-width: none;
    padding: 20px;
  }

  .p-rec-car-job-card__title {
    font-size: 1.25rem;
    margin-bottom: 12px;
  }

  .p-rec-car-job-card__text {
    margin-bottom: 16px;
    font-size: 0.9rem;
  }

  .p-rec-car-job-card__list {
    margin-bottom: 16px;
    font-size: 0.9rem;
  }
}
