/* ===== Safety Guidelines — Document Page ===== */

/* ── Sticky Sub-Navigation ── */
.sg-subnav{
  position: sticky;
  top: 0;
  z-index: 998;
  background: #fff;
  border-bottom: 1px solid var(--borders-color);
  box-shadow: 0 2px 8px rgba(0,0,0,.06);
  transition: box-shadow .3s;
}
.sg-subnav.is-stuck{
  box-shadow: 0 4px 16px rgba(0,0,0,.1);
}
.sg-subnav-inner{
  display: flex;
  justify-content: center;
  gap: 4px;
  padding: 0;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.sg-subnav-inner::-webkit-scrollbar{display:none}
.sg-subnav-link{
  flex: 0 0 auto;
  padding: 14px 18px;
  font-family: var(--font-poppins);
  font-size: 14px;
  font-weight: 500;
  color: var(--text-color);
  text-decoration: none;
  white-space: nowrap;
  border-bottom: 2px solid transparent;
  transition: color .2s, border-color .2s;
}
.sg-subnav-link:hover{
  color: var(--primary-color1);
}
.sg-subnav-link.active{
  color: var(--primary-color1);
  font-weight: 600;
  border-bottom-color: var(--primary-color1);
}

/* ── Section scroll offset ── */
.sg-section-title[id]{
  scroll-margin-top: calc(var(--sg-header-h, 70px) + 52px);
}

/* ── Section Headings ── */
/* Use .policy-page prefix to override .policy-page .policy-content h4 in style.css (specificity 0,2,1) */
.policy-page .policy-content .sg-section-title{
  font-family: var(--font-poppins);
  font-size: 26px;
  font-weight: 700;
  color: var(--title-color);
  margin-top: 40px;
  margin-bottom: 14px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--primary-color1);
}

/* ── Group Sub-Headings ── */
.sg-group{margin-bottom:32px}
.sg-group:last-child{margin-bottom:0}
.policy-page .policy-content .sg-group-title{
  font-family: var(--font-poppins);
  font-size: 21px;
  font-weight: 600;
  color: var(--primary-color1);
  margin: 0 0 16px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--borders-color);
  display: flex;
  align-items: center;
  gap: 10px;
}
.sg-group-icon{
  width: 30px; height: 30px;
  border-radius: 6px;
  background: rgba(254,81,0,.08);
  color: var(--primary-color1);
  display: flex; align-items: center; justify-content: center;
  font-size: .85rem; flex-shrink: 0;
}

/* ── Numbered Points — Grid Layout ── */
.sg-points{margin:0 0 0;padding:0;list-style:none}
.policy-page .policy-content .sg-point{
  display: grid;
  grid-template-columns: 32px 1fr;
  gap: 14px;
  align-items: start;
  padding: 12px 0;
  border-bottom: 1px solid var(--borders-color);
}
.sg-point:last-child{border-bottom:none}
.policy-page .policy-content .sg-point-num{
  width: 30px; height: 30px;
  border-radius: 50%;
  background: rgba(254,81,0,.1);
  color: var(--primary-color1);
  display: flex; align-items: center; justify-content: center;
  font-size: .8rem; font-weight: 700;
  margin-top: 1px;
}
.policy-page .policy-content .sg-point-body{min-width:0}
.policy-page .policy-content .sg-point-body h4{
  font-family: var(--font-poppins);
  font-size: 18px;
  font-weight: 600;
  color: var(--title-color);
  margin: 0 0 6px;
  line-height: 1.5;
}
.policy-page .policy-content .sg-point-body p{
  font-family: var(--font-poppins);
  font-size: 16px;
  line-height: 1.8;
  color: var(--text-color);
  margin: 0;
}

/* ── Checklist Style ── */
.sg-check .sg-point-num{
  background: rgba(30,61,44,.08);
  color: #1E3D2C;
}

/* ── Safety Notice Box ── */
.sg-notice{
  background: #fff8f0;
  border-left: 4px solid var(--primary-color1);
  padding: 18px 22px;
  border-radius: 4px;
  margin-bottom: 28px;
  display: flex; gap: 14px; align-items: flex-start;
}
.sg-notice-icon{flex: 0 0 auto; color: var(--primary-color1); font-size: 1rem; margin-top: 2px}
.sg-notice p{
  font-family: var(--font-poppins);
  color: #4a5568;
  font-size: 16px;
  line-height: 1.8;
  margin: 0;
}

/* ── Section Intro Text ── */
.sg-sec-intro{
  font-family: var(--font-poppins);
  font-size: 16px;
  line-height: 1.8;
  color: var(--text-color);
  margin: 0 0 20px;
}

/* ── Responsive ── */
@media (max-width: 768px) {
  .sg-subnav-inner{justify-content: flex-start}
  .sg-subnav-link{
    padding: 12px 14px;
    font-size: 13px;
  }
}
@media (max-width: 576px) {
  .policy-page .policy-content .sg-section-title{font-size: 22px}
  .policy-page .policy-content .sg-group-title{font-size: 19px}
  .policy-page .policy-content .sg-point{grid-template-columns: 28px 1fr; gap: 10px}
  .policy-page .policy-content .sg-point-num{width: 28px; height: 28px; font-size: .75rem}
  .policy-page .policy-content .sg-point-body h4{font-size: 17px}
  .sg-subnav-link{padding: 10px 12px; font-size: 12px}
}