/* Shared banner and category navigation use the same rules as other secondary pages. */
.secondary-page .sp-ethics-banner .sp-breadcrumb { display:flex; align-items:center; gap:6px; }
.secondary-page .sp-ethics-section {
  padding-top: 40px;
  padding-bottom: 48px;
}
.secondary-page .sp-ethics-mint {
  background: #e3f2ee;
}
.secondary-page .sp-ethics-white {
  background: #fff;
}
.secondary-page .sp-ethics-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  min-height: 58px;
  margin-bottom: 26px;
}
.secondary-page .sp-ethics-heading h2.sp-section-title {
  margin: 0;
  color: #183a54;
  font: 700 28px/40px "Noto Serif SC", serif !important;
}
.secondary-page .sp-ethics-heading .sp-heading-en {
  margin: 0;
  color: #506b7d;
  font-size: 12px;
  line-height: 20px;
  letter-spacing: 1.1px;
}
.secondary-page .sp-ethics-all {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 44px;
  color: #216caf;
  font-size: 14px;
  font-weight: 500;
}
.secondary-page .sp-ethics-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 26px 24px;
}
.secondary-page .sp-ethics-card {
  display: grid;
  grid-template-columns: 246px minmax(0, 1fr);
  align-items: center;
  gap: 24px;
  min-height: 188px;
  padding: 20px;
  background: #fff;
  color: #183a54;
  text-decoration: none;
  transition: box-shadow 180ms ease;
}
.secondary-page .sp-ethics-card:hover {
  box-shadow: 0 4px 22px rgb(24 58 84 / 8%);
}
.secondary-page .sp-ethics-card:focus-visible,
.secondary-page .sp-ethics-tabs .sp-tab:focus-visible,
.secondary-page .sp-ethics-all:focus-visible {
  outline: 2px solid #216caf;
  outline-offset: 4px;
}
.secondary-page .sp-ethics-image {
  display: block;
  width: 246px;
  height: 148px;
  object-fit: cover;
}
.secondary-page .sp-ethics-cover { overflow:hidden; }
.secondary-page .sp-ethics-cover .cf-course-cover { height:100%; }
.secondary-page .sp-ethics-card-content {
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: 20px;
}
.secondary-page .sp-ethics-card-category {
  margin: 0;
  color: #289b71;
  font-size: 12px;
  font-weight: 500;
  line-height: 19px;
}
.secondary-page h3.sp-ethics-card-title {
  margin: 0;
  color: #183a54;
  font: 700 20px/31px "Noto Sans SC", sans-serif !important;
  overflow-wrap: anywhere;
}
.secondary-page .sp-ethics-card-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 26px;
  color: #216caf;
  font-size: 14px;
  font-weight: 500;
  line-height: 22px;
}
.secondary-page .sp-ethics-card .sp-arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  color: #289b71;
}
.secondary-page .sp-ethics-card .sp-arrow svg {
  width: 20px;
  height: 20px;
}
.secondary-page .sp-ethics-course-card {
  background: #eaf2f6;
}
.secondary-page .sp-ethics-course-card .sp-ethics-card-content {
  gap: 14px;
}
.secondary-page .sp-ethics-course-card h3.sp-ethics-card-title {
  font-size: 19px !important;
  line-height: 30px !important;
}
.secondary-page .sp-ethics-card-meta {
  margin: 0;
  color: #506b7d;
  font-size: 13px;
  line-height: 22px;
}
.secondary-page .sp-ethics-course-card .sp-ethics-card-link {
  justify-content: flex-start;
  gap: 8px;
  min-height: 22px;
}
.secondary-page .sp-ethics-course-card .sp-arrow {
  color: #216caf;
  width: 16px;
  height: 20px;
}
.secondary-page .sp-ethics-course-card .sp-arrow svg {
  width: 16px;
}
.secondary-page .sp-ethics-empty-section {
  min-height: 550px;
  background: #fff;
}
.secondary-page .sp-ethics-empty {
  display: flex;
  min-height: 300px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  background: #eaf2f6;
  color: #506b7d;
}
.secondary-page .sp-ethics-empty p {
  margin: 0;
  font-size: 18px;
  line-height: 28px;
}
.secondary-page .sp-ethics-empty a {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #216caf;
  font-size: 14px;
}
.secondary-page .sp-ethics-empty .sp-arrow {
  display: inline-flex;
  width: 20px;
  height: 20px;
}
.secondary-page .sp-ethics-empty .sp-arrow svg {
  width: 20px;
  height: 20px;
}
@media (max-width: 1250px) {
  .secondary-page .sp-ethics-card {
    grid-template-columns: minmax(170px, 42.56%) minmax(0, 1fr);
    gap: 20px;
  }
  .secondary-page .sp-ethics-image {
    width: 100%;
    height: auto;
    aspect-ratio: 246 / 148;
  }
  .secondary-page .sp-ethics-card-content {
    gap: 14px;
  }
  .secondary-page h3.sp-ethics-card-title {
    font-size: 18px !important;
    line-height: 29px !important;
  }
}
@media (max-width: 980px) {
  .secondary-page .sp-ethics-grid {
    grid-template-columns: 1fr;
  }
  .secondary-page .sp-ethics-card {
    grid-template-columns: minmax(170px, 246px) minmax(0, 1fr);
    gap: 24px;
  }
  .secondary-page .sp-ethics-image {
    height: 148px;
  }
}
@media (max-width: 600px) {
  .secondary-page .sp-ethics-banner h1.sp-title {
    font-size: 34px !important;
  }
  .secondary-page .sp-ethics-section {
    padding-top: 32px;
    padding-bottom: 32px;
  }
  .secondary-page .sp-ethics-heading {
    gap: 16px;
    margin-bottom: 22px;
  }
  .secondary-page .sp-ethics-heading h2.sp-section-title {
    font-size: 27px !important;
    line-height: 38px !important;
  }
  .secondary-page .sp-ethics-all {
    gap: 10px;
    font-size: 13px;
    white-space: nowrap;
  }
  .secondary-page .sp-ethics-grid {
    gap: 20px;
  }
  .secondary-page .sp-ethics-card {
    grid-template-columns: 1fr;
    gap: 18px;
    padding: 18px;
  }
  .secondary-page .sp-ethics-image {
    width: 100%;
    height: auto;
    aspect-ratio: 246 / 148;
  }
  .secondary-page .sp-ethics-card-content {
    gap: 12px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .secondary-page .sp-ethics-card {
    transition: none;
  }
}
