/* ========================================
   Careers Page Styles
   ======================================== */

.rs-careers-section {
  background-color: #f9f9f9;
  min-height: 600px;
}

.careers-grid {
  display: block;
}

/* Career Card Styles */
.career-card {
  background: #fff;
  border-radius: 8px;
  padding: 40px 30px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  height: 100%;
  transition: all 0.3s ease;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  border-top: 4px solid #f0f0f0;
}

.career-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
  border-top-color: var(--rs-theme-orange);
}

.career-card-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  background: rgba(80, 38, 107, 0.1);
  border-radius: 50%;
  color: var(--rs-theme-orange);
  font-size: 24px;
  flex-shrink: 0;
}

.career-card-icon svg {
  width: 28px;
  height: 28px;
  stroke: var(--rs-theme-orange);
  stroke-width: 2;
}

.career-card-content {
  flex: 1;
}

.career-card-title {
  font-size: 18px;
  font-weight: 600;
  color: #333;
  margin-bottom: 12px;
  line-height: 1.4;
}

.career-card-title.has-theme-orange {
  color: var(--rs-theme-orange);
}

.career-card-description {
  font-size: 14px;
  color: #666;
  line-height: 1.6;
  margin: 0;
}

/* Loading Spinner */
.loading-spinner {
  padding: 60px 20px;
}

.loading-spinner p {
  font-size: 16px;
  color: #999;
}

/* Responsive Design */
@media (max-width: 991px) {
  .career-card {
    padding: 30px 20px;
  }

  .career-card-title {
    font-size: 16px;
  }

  .career-card-description {
    font-size: 13px;
  }
}

@media (max-width: 576px) {
  .rs-careers-section {
    padding: 60px 15px;
  }

  .career-card {
    padding: 25px 20px;
  }

  .career-card-title {
    font-size: 15px;
  }

  .career-card-description {
    font-size: 12px;
  }

  .career-card-icon {
    width: 45px;
    height: 45px;
  }

  .career-card-icon svg {
    width: 24px;
    height: 24px;
  }
}

/* Careers hero (left image / right content) */
.rs-careers-hero {
  background-color: #ffffff;
  padding-top: 60px;
  padding-bottom: 60px;
}
.careers-hero-media {
  display: flex;
  justify-content: center;
}
.careers-hero-media img {
  width: 100%;
  max-width: 540px; /* limit visual size on large screens */
  height: 440px; /* consistent visual height */
  object-fit: cover; /* crop nicely while filling box */
  display: block;
  box-shadow: 0 10px 30px rgba(16, 24, 40, 0.08);
  border-radius: 14px;
}
.careers-hero-content .rs-title {
  font-size: 32px;
  margin-bottom: 18px;
}
.careers-hero-content p {
  color: #5b5b5b;
  font-size: 16px;
  line-height: 1.7;
}
.careers-hero-content ul {
  padding-left: 18px;
  color: #555;
}
.careers-hero-content ul li {
  margin-bottom: 8px;
}
.rs-careers-hero .rs-header-btn {
  margin-top: 8px;
}

@media (max-width: 991px) {
  .rs-careers-hero {
    padding-top: 40px;
    padding-bottom: 40px;
  }
  .careers-hero-content .rs-title {
    font-size: 26px;
  }
  .careers-hero-media img {
    /* remove fixed height on smaller screens so image scales naturally */
    max-width: 100%;
    height: auto;
  }
}

@media (max-width: 575px) {
  .rs-careers-hero .row {
    flex-direction: column;
  }
  .careers-hero-media {
    margin-bottom: 20px;
  }
  .careers-hero-content .rs-title {
    font-size: 22px;
  }
}
