/* ========== HSE 详情页 ========== */
body.page-hse-detail .site-main {
  padding-top: calc(var(--topbar-height) + var(--nav-height));
}

.hse-detail-top {
  padding: 32px 0 28px;
}

.site-breadcrumb__list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: 16px;
  line-height: 1.75;
  color: #666;
}

.site-breadcrumb__item {
  display: inline-flex;
  align-items: center;
}

.site-breadcrumb__item:not(:last-child)::after {
  content: "/";
  margin: 0 12px;
  color: #999;
}

.site-breadcrumb__link {
  color: #666;
  text-decoration: none;
  transition: color 0.25s ease;
}

.site-breadcrumb__link:hover {
  color: var(--color-accent);
}

.site-breadcrumb__current {
  color: #333;
}

body.page-hse-detail .site-breadcrumb__list {
  font-size: 16px;
  line-height: 1.75;
}

body.page-hse-detail .site-breadcrumb__item:not(:last-child)::after {
  margin: 0 12px;
}

.hse-detail-banner-wrap {
  padding-bottom: 0;
}

.hse-detail-banner {
  position: relative;
  width: 100%;
  min-height: clamp(360px, 42vw, 560px);
  background-color: #5c6770;
  background-image: var(--hse-banner-bg);
  background-size: cover;
  background-position: center;
  overflow: hidden;
  border-radius: 2px;
}

.hse-detail-banner::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(0, 0, 0, 0.45) 0%, rgba(0, 0, 0, 0.18) 55%, rgba(0, 0, 0, 0.08) 100%);
}

.hse-detail-banner__inner {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  min-height: clamp(360px, 42vw, 560px);
  padding: 56px 40px;
  box-sizing: border-box;
}

.hse-detail-banner__content {
  width: min(780px, 74%);
  max-width: 100%;
  margin-left: 0;
  box-sizing: border-box;
}

.hse-detail-body {
  padding: 40px 0 96px;
}

.hse-detail-body__inner {
  width: min(1040px, 92%);
  max-width: 100%;
  margin-left: auto;
  margin-right: auto;
  box-sizing: border-box;
}

.hse-detail-banner__title {
  margin: 0 0 16px;
  font-size: clamp(36px, 4vw, 56px);
  font-weight: 700;
  line-height: 1.2;
  color: #fff;
  letter-spacing: 0.06em;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.35);
}

.hse-detail-banner__intro,
.hse-detail-banner__intro p,
.hse-detail-banner__intro div,
.hse-detail-banner__intro span {
  margin: 0;
  font-size: 18px;
  line-height: 1.65;
  color: #fff;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.35);
}

.hse-detail-body__title {
  margin: 0 0 28px;
  font-size: 28px;
  font-weight: 700;
  color: var(--color-header-title);
  line-height: 1.45;
  letter-spacing: 0.14em;
}

.hse-detail-content {
  line-height: 1.65;
  color: #444;
  overflow-wrap: break-word;
  word-break: break-word;
}

.hse-detail-content img,
.hse-detail-content table,
.hse-detail-content video,
.hse-detail-content iframe {
  max-width: 100%;
}

.hse-detail-content p {
  margin: 0 0 8px;
}

.hse-detail-content p:last-child {
  margin-bottom: 0;
}

@media (min-width: 1025px) {
  .hse-detail-top {
    padding: 40px 0 32px;
  }

  body.page-hse-detail .site-breadcrumb__list {
    font-size: 18px;
    line-height: 1.8;
  }

  body.page-hse-detail .site-breadcrumb__item:not(:last-child)::after {
    margin: 0 14px;
  }

  .hse-detail-banner__inner {
    min-height: clamp(380px, 44vw, 580px);
    padding: 64px 48px;
  }

  .hse-detail-banner__content {
    width: min(780px, 74%);
    margin-left: 0;
  }

  .hse-detail-body__inner {
    width: min(1040px, 92%);
    margin-left: auto;
    margin-right: auto;
  }

  .hse-detail-banner__intro,
  .hse-detail-banner__intro p,
  .hse-detail-banner__intro div,
  .hse-detail-banner__intro span {
    font-size: 20px;
  }

  .hse-detail-body {
    padding: 48px 0 110px;
  }

  .hse-detail-body__title {
    margin-bottom: 32px;
    font-size: 34px;
    letter-spacing: 0.16em;
  }
}

@media (max-width: 768px) {
  .hse-detail-top {
    padding: 24px 0 20px;
  }

  body.page-hse-detail .site-breadcrumb__list {
    font-size: 15px;
  }

  body.page-hse-detail .site-breadcrumb__item:not(:last-child)::after {
    margin: 0 10px;
  }

  .hse-detail-banner__inner {
    min-height: clamp(280px, 50vw, 400px);
    padding: 36px 24px;
  }

  .hse-detail-banner__content,
  .hse-detail-body__inner {
    width: 100%;
    max-width: 100%;
    margin-left: 0;
    margin-right: 0;
  }

  .hse-detail-banner__intro,
  .hse-detail-banner__intro p,
  .hse-detail-banner__intro div,
  .hse-detail-banner__intro span {
    font-size: 16px;
  }

  .hse-detail-body {
    padding: 32px 0 64px;
  }

  .hse-detail-body__title {
    margin-bottom: 20px;
    font-size: 22px;
    letter-spacing: 0.12em;
  }
}
