.banner {
  aspect-ratio: 1920 / 600;
}

.home-banner-content {
  h1 {
    font-size: clamp(40px, 4.2vw, 80px);
    text-shadow: 0 5px 15px rgba(0, 0, 0, 0.9);
  }

  .tagline {
    /* 使用主色變數 */
    background-color: var(--primary-color);
    font-size: clamp(16px, 1.7vw, 32px);
    border-radius: var(--main-radius);
  }
}

/* --- Common Subtitles --- */
.program-subtitle {
  display: inline-block;
  color: var(--gray-300);
  border-bottom: 1px solid var(--gray-300);
  margin-bottom: 0.5rem;
  font-size: 0.9rem;
  padding-bottom: 2px;

  &.white {
    color: #fff !important;
    border-bottom-color: #fff !important;
  }
}

/* --- Programs Grid (招募計畫) --- */
.program-nav {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;

  li {
    padding: 0;
    width: 100%; 
    flex: 0 0 100%;

    @media (min-width: 576px) {
      width: 50%;
      flex: 0 0 50%;
    }

    @media (min-width: 992px) {
      width: 20%;
      flex: 0 0 20%;
    }
  }

  a {
    display: block;
    text-decoration: none;
    overflow: hidden;

    &:hover img {
      transform: scale(1.05);
      filter: brightness(.9);
    }
  }

  img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.3s ease;
  }
}

/* --- About Us Swiper --- */
.about-title {
  color: var(--primary-color);
  line-height: 1.4;
}

.about-swiper {
  width: 100%;
  overflow: hidden;
  padding-bottom: 3rem;

  .swiper-slide {
    background: #fff; 
  }

  .swiper-pagination-bullet {
    width: 10px;
    height: 10px;
    background: var(--gray-300);
    opacity: 0.5;

    &-active {
      background: var(--primary-color);
      opacity: 1;
    }
  }
}

.about-img {
  width: 100%;
  height: auto;
  border-radius: var(--main-radius);
  box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.btn-about-more {
  display: inline-block;
  padding: 0.5rem 2rem;
  /* 已修改：使用灰色變數 (取代 #6C757D) */
  border: 2px solid var(--gray-500);
  color: var(--gray-500);
  text-decoration: none;
  font-weight: bold;
  transition: all 0.3s ease;
  background: transparent;
  border-radius: var(--main-radius);

  &:hover {
    background-color: var(--gray-500);
    color: #fff;
  }
}

/* --- Benefits (薪資福利) --- */
.bg-custom-blue {
  background-color: var(--primary-color);
}

.img-benefit {
  width: 160px;
  height: 160px;
  object-fit: cover;
  background-color: rgba(255, 255, 255, 0.2); 
}

/* --- Timeline (招募時程) --- */
.timeline-item {
  background-color: var(--primary-color);
  color: #fff;
  font-size: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 1.5rem;
  min-height: 160px;
  border-radius: var(--main-radius);
  line-height: 1.5;
}