.law-card-list {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    list-style: none;
    padding: 0;
    margin-bottom: 2rem;
}

.law-card-item {
    flex: 0 0 100%;
    background: #fff;
    border-radius: 8px;
    padding: 0 20px 15px;
}


.law-card-item a:hover {
    text-decoration: none;
    color: inherit;
}

.card-header-row {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.card-header-row img {
    width: 64px;
    height: 64px;
    flex-shrink: 0;
}

.card-header-row h3 {
    font-size: 1.35rem;
    font-weight: 700;
    color: #323232;
    margin: 0;
}

.card-desc-text {
    line-height: 1.7;
    color: #646464;
    margin: 0;
}

.btn {
    width: 268px;
}

/* 勞檢必備區塊樣式 */
.labor-check-section {
  padding: 60px 0;
  background-color: #f8fafc; /* 若有背景圖可在此替換或疊加 */
}

.labor-check-section .section-title {
  font-size: 2rem;
  color: #333333;
  font-weight: bold;
  margin-bottom: 20px;
  position: relative;
  display: inline-block;
}

.labor-check-section .section-desc {
  font-size: 0.95rem;
  color: #666666;
  line-height: 1.8;
  max-width: 800px;
  margin: 0 auto;
}

/* 卡片外層包裝 */
.labor-check-section .card-wrapper {
  margin-top: 40px;
}

/* 白底卡片本體 */
.labor-check-section .labor-card {
  background: #ffffff;
  border-radius: 8px;
  padding: 40px 0;
  text-align: center;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  height: 100%;
}

.labor-check-section .labor-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
}

/* 卡片圖示 */
.labor-check-section .card-icon img {
  width: 100px;
  height: 80px;
}

/* 卡片標題 */
.labor-check-section .card-title {
  font-size: 1.4rem;
  color: #333333;
  font-weight: bold;
  margin-bottom: 15px;
}

/* 卡片清單文字 */
.labor-check-section .card-list {
  list-style: none;
  padding: 0;
  margin: 0;
  text-align: left;
  display: inline-block; /* 讓清單置中對齊但文字靠左 */
}

.labor-check-section .card-list li {
  margin-bottom: 8px;
  position: relative;
  padding-left: 15px;
}

/* 列表前的小圓點 */
.labor-check-section .card-list li::before {
  content: '•';
  color: #333333;
  font-weight: bold;
  position: absolute;
  left: 0;
  top: 0;
}


.labor-check-section .btn-labor-action:hover {
  background-color: #1d39c4;
  text-decoration: none;
  transform: translateY(-1px);
}

@media (min-width: 768px) {
    .law-card-item {
        flex: 0 0 calc(50% - 0.75rem);
    }
}

/* 法規新知文章區塊 */
.hr-news-section {
  padding: 3rem 0 4rem;
}

/* 人資法規新知 Swiper 箭頭佈局 */
.hr-swiper-outer {
  display: flex;
  align-items: center;
  gap: 1rem;
  overflow-x: clip;
}

.hr-swiper-outer .hr-swiper-prev,
.hr-swiper-outer .hr-swiper-next {
  position: static;
  margin-top: 0;
  flex-shrink: 0;
  --swiper-navigation-color: #6c6cda;
}

@media (max-width: 600px) {
  .hr-swiper-outer .hr-swiper-prev,
  .hr-swiper-outer .hr-swiper-next {
    display: none !important;
  }
}

.hr-swiper {
  flex: 1;
  min-width: 0;
  overflow: visible !important;
  padding: 10px 12px 10px 20px!important;
}

.hr-swiper .article-box {
  max-width: 100%;
  box-shadow: 0 0 0 1px #ededed;
  border-radius: 6px;
  overflow: hidden;
}

.hr-swiper .article-box:hover {
  box-shadow: 0 0 1px 1px #ddd, 4px 4px 5px #d2d2d2, 6px 6px 5px #e9e9e9, 8px 8px 5px #fafafa;
  transition: all .4s;
}

.hr-swiper .img-box {
  width: 100%;
  height: 200px;
  overflow: hidden;
}

.hr-swiper .img-box img {
  object-fit: cover;
  object-position: 50% 0;
  width: 100%;
  height: 100%;
}

.hr-swiper .article-title {
  line-height: 1.4;
  font-size: 1.1rem;
  font-weight: 400;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
}

.hr-swiper .article-description {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  overflow: hidden;
  color: #686868;
}

.hr-swiper-pagination {
  display: none;
}