/* page-industry-talent.css */

/* ==================== 桌面基礎樣式 ==================== */

.apply-qualification-section {
  padding-bottom: 84px;
  background-color: #d9d9d9;
}
.apply-qualification {
  width: 100%;
  margin: 66px auto 74px;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 40px;
  text-align: center;
  color: #000;
}

/* 共用：標題區（主標 + 下底色條 + 描述） */
.apply-qualification__intro {
  width: 100%;
  max-width: 388px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.apply-qualification__heading {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 11px;
}

.apply-qualification__title {
  margin: 0;
  font-weight: 600;
  color: #000;
}

.apply-qualification__underline {
  width: 100%;
  height: 6px;
  background-color: #0b2f53;
}

.apply-qualification__desc {
  width: 100%;
  max-width: 351px;
  margin: 0;
}

/* ───────── 左欄：申請單位 ───────── */
.apply-qualification__column {
  width: 100%;
  max-width: 672px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 28px;
  padding: 54px 0;
}

.apply-qualification__list {
  width: 100%;
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-template-rows: repeat(5, auto);
  grid-auto-flow: column;
  column-gap: 28px;
  row-gap: 16px;
  color: #fff;
}

.apply-qualification__item {
  display: flex;
  align-items: stretch;
  min-height: 52px;
}

.apply-qualification__num {
  width: 52px;
  flex-shrink: 0;
  background-color: #0b2f53;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 500;
}

.apply-qualification__item-text {
  flex: 1;
  background-color: #fff;
  border: 2px solid #0b2f53;
  border-left: none;
  display: flex;
  align-items: center;
  padding: 8px 12px;
  color: #0b2f53;
  text-align: left;
}

/* ───────── 右欄：補助金額 ───────── */
.apply-qualification__panel {
  width: 100%;
  max-width: 638px;
  background-color: #fff;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 54px 52px;
  box-sizing: border-box;
  gap: 32px;
  color: #0b2f53;
}

.apply-qualification__block {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.apply-qualification__block-title {
  width: 100%;
  min-height: 42px;
  background-color: #c7e3ff;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8px 16px;
  box-sizing: border-box;
}

.apply-qualification__block-title h4 {
  margin: 0;
  font-weight: 500;
  color: #0b2f53;
}

.apply-qualification__cards {
  width: 100%;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 26px;
}

.apply-qualification__card {
  width: 100%;
  max-width: 250px;
  min-height: 232px;
  border: 1px solid #4589cd;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 16px;
  gap: 12px;
}

.apply-qualification__card-title {
  margin: 0;
  color: #0b2f53;
}

.apply-qualification__card-desc {
  margin: 0;
  color: #000;
}

.apply-qualification__bullet-list {
  width: 100%;
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
  text-align: left;
}

.apply-qualification__bullet-item {
  display: flex;
  align-items: flex-start;
  gap: 8px;
}

.apply-qualification__bullet-text {
  margin: 0;
  color: #0b2f53;
}

.apply-threshold {
  width: 100%;
  max-width: 1384px;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  text-align: center;
  color: #0b2f53;
}

.apply-threshold__header {
  width: 100%;
  min-height: 57px;
  background-color: #e2ae3b;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px 16px;
  box-sizing: border-box;
}

.apply-threshold__title {
  margin: 0;
  font-weight: 500;
}

.apply-threshold__body {
  width: 100%;
  min-height: 170px;
  background-color: #fff8dc;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  box-sizing: border-box;
  text-align: left;
}

.apply-threshold__list {
  width: 100%;
  max-width: 1110px;
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-template-rows: repeat(3, auto);
  grid-auto-flow: column;
  gap: 16px 31px;
}

.apply-threshold__item {
  display: flex;
  align-items: flex-start;
  gap: 8px;
}

.apply-threshold__icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  margin-top: 2px;
}

.apply-threshold__text {
  color: var(--color-primary);
  margin: 0;
}

.apply-process {
  width: 100%;
  max-width: 1384px;
  margin-top: 32px;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  text-align: center;
  color: #fff;
}

.apply-process__header {
  width: 100%;
  min-height: 57px;
  background-color: #316eac;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px 16px;
  box-sizing: border-box;
}

.apply-process__title {
  margin: 0;
  font-weight: 500;
}

.apply-process__body {
  width: 100%;
  background-color: #e8f4ff;
  display: flex;
  align-items: stretch;
  justify-content: center;
  padding: 40px 24px;
  box-sizing: border-box;
}

.apply-process__list {
  width: 100%;
  max-width: 1340px;
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 20px;
}

.apply-process__step {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 16px;
}

.apply-process__step-header {
  position: relative;
  width: 100%;
  min-height: 100px;
  display: flex;
  align-items: center;
  padding: 16px 32px 16px 46px;
  box-sizing: border-box;
  isolation: isolate;
  color: #fff;
}

.apply-process__step-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  z-index: 0;
  pointer-events: none;
}

.apply-process__step-title {
  position: relative;
  z-index: 1;
  font-weight: 500;
  text-align: center;
  max-width: 96px;
}

.apply-process__step-desc {
  margin: 0;
  color: #000;
  text-align: left;
}

/* plan info */
.plan-info-section {
  padding: 68px 0 62px;
}
.plan-info {
  width: 100%;
  max-width: 1094px;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  text-align: left;
  color: #fff;
}

.plan-info__header {
  width: 100%;
  min-height: 72px;
  background: linear-gradient(0deg, #0b2f53, #1969b9);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  box-sizing: border-box;
}

.plan-info__heading {
  margin: 0;
  font-weight: 500;
}

.plan-info__row {
  width: 100%;
  min-height: 103px;
  background-color: #fff;
  border: 1px solid #0b2f53;
  box-sizing: border-box;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px 54px;
  gap: 19px;
  color: #0b2f53;
}

.plan-info__label {
  width: 100%;
  max-width: 240px;
  min-height: 48px;
  border-radius: 60px;
  border: 1px solid #0b2f53;
  box-sizing: border-box;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.plan-info__label-text {
  font-weight: 500;
  font-size: var(--font-size-xl);
}

.plan-info__links {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.plan-info__link {
  font-weight: 500;
  color: #000;
  text-decoration: none;
  word-break: break-all;
}

.plan-info__link:hover {
  text-decoration: underline;
}

/* ==================== 大螢幕 (max-width: 1440px) ==================== */
@media (max-width: 1440px) {
  .apply-qualification-section,
  .apply-threshold,
  .apply-process,
  .plan-info-section {
    padding-left: 2rem;
    padding-right: 2rem;
  }
}

/* ==================== 平板 (max-width: 1024px) ==================== */
@media (max-width: 1024px) {
  .apply-qualification__intro {
    gap: 16px;
  }

  .apply-qualification__column {
    flex-direction: column;
    gap: 24px;
    padding: 0;
  }

  .apply-qualification__list {
    width: 100%;
  }

  .apply-qualification__panel {
    width: 100%;
    flex-direction: column;
    gap: 22px;
    padding: 23.5px 22.5px;
  }

  .apply-qualification__block {
    gap: 12px;
  }

  .apply-qualification__cards {
    flex-direction: row;
    flex-wrap: nowrap;
    gap: 8px;
  }

  .apply-qualification__card {
    padding: 12px;
  }

  .apply-threshold__body,
  .apply-process__body {
    padding: 1.5rem;
  }

  .apply-threshold__list {
    grid-template-columns: 1fr;
    grid-template-rows: repeat(5, auto);
    gap: 12px;
  }

  .apply-process__list {
    grid-template-columns: repeat(1, minmax(0, 1fr));
    gap: 20px;
  }
}

/* ==================== 768px 以下 ==================== */
@media (max-width: 768px) {
  .apply-process {
    padding: 0;
    max-width: 310px;
  }
  .plan-info-section {
    padding: 28px 20px 54px;
  }

  .plan-info {
    max-width: 272px;
  }

  .plan-info__header {
    min-height: 34px;
    padding: 0;
  }

  .apply-qualification {
    flex-direction: column;
    margin: 36px auto 28px;
    gap: 19px;
  }

  .apply-qualification__list {
    display: flex;
    flex-direction: column;
  }

  .apply-qualification__item {
    padding: 0 14px;
  }

  .apply-qualification__num {
    font-size: 1.25rem;
    min-width: 32px;
  }

  .apply-qualification__item-text {
    font-size: 0.9375rem;
  }

  .apply-threshold__body {
    padding: 1.5rem;
  }
  .apply-process__body {
    padding: 35.5px 52px;
  }

  .apply-threshold__item:nth-child(5) {
    order: 1;
  }

  /* 原始第 4 個 (申請單位...) -> 移到第 2 */
  .apply-threshold__item:nth-child(4) {
    order: 2;
  }

  /* 原始第 3 個 (需設有...) -> 移到第 3 (可不寫，預設即為此位) */
  .apply-threshold__item:nth-child(3) {
    order: 3;
  }

  /* 原始第 2 個 (組織章程...) -> 移到第 4 */
  .apply-threshold__item:nth-child(2) {
    order: 4;
  }

  /* 原始第 1 個 (需持有...) -> 移到第 5 */
  .apply-threshold__item:nth-child(1) {
    order: 5;
  }

  .apply-qualification__block-title {
    min-height: 28px;
  }

  .apply-threshold__header {
    min-height: 32px;
  }

  .apply-process__step {
  }

  .apply-process__step-title {
    font-size: 13px;
  }

  .apply-process__step-desc {
    line-height: normal;
  }

  .plan-info__row {
    flex-direction: column;
    gap: 8px;
    padding: 16.5px 61px;
  }

  .plan-info__label {
    min-height: 24px;
    padding: 0;
  }

  .plan-info__label-text {
    font-size: 13px;
    font-weight: 600;
  }

  .plan-info__links {
    font-size: 12px;
  }
}

/* ==================== 小平板 (max-width: 992px) ==================== */
@media (max-width: 992px) {
}

/* ==================== 手機 (max-width: 480px) ==================== */
@media (max-width: 480px) {
  .apply-qualification-section {
    padding: 0 12px 43px;
  }

  .apply-qualification__card-desc,
  .apply-qualification__desc,
  .apply-qualification__bullet-text {
    line-height: normal;
    max-width: 252px;
  }

  .apply-qualification__card-title {
    font-size: 13px;
    font-weight: 600;
  }
  .apply-qualification__bullet-list {
    gap: 12.5px;
  }

  .apply-qualification__num {
    font-size: 1rem;
    min-width: 28px;
  }

  .apply-qualification__item-text {
    font-size: 0.875rem;
  }

  .apply-threshold {
    padding: 0;
    max-width: 310px;
  }

  .apply-threshold__icon {
    width: 20px;
    height: 20px;
  }

  .apply-threshold__text {
    line-height: normal;
  }

  .apply-process__step-title {
  }
}
