
/* ===== Scoped base ===== */
#policies-hub{
  font-family:"Segoe UI", Arial, sans-serif;
  color:#333;
  line-height:2;
}
#policies-hub *{ box-sizing:border-box; }

/* ===== HERO WRAP: 1920 ===== */
#policies-hub .ph-hero-wrap{
  width:100%;
  max-width:1920px;
  margin:40px auto 40px;
  padding:0 20px;
}

/* ===== HERO ===== */
#policies-hub .ph-hero{
  position:relative;
  width:100%;
  height:420px;                /* 桌面 */
  border-radius:8px;
  overflow:hidden;
  box-shadow:0 2px 6px rgba(0,0,0,0.2);
}
@media (max-width:768px){
  #policies-hub .ph-hero{
    height:220px;              /* 移动端 */
  }
}

/* Background image */
#policies-hub .ph-hero-img{
  width:100%;
  height:100%;
  object-fit:cover;
  display:block;
  transform-origin:center center;
  transition:transform .35s ease;
}

/* Overlay */
#policies-hub .ph-hero-overlay{
  position:absolute;
  inset:0;
  background:rgba(0,0,0,0.22); /* 文字在图上更稳 */
  pointer-events:none;
}

/* Text overlay */
#policies-hub .ph-hero-content{
  position:absolute;
  inset:0;
  z-index:2;
  display:flex;
  align-items:center;
  justify-content:center;
  text-align:center;
  padding:0 20px;
}
#policies-hub .ph-hero-content-inner{
  max-width:900px;
  margin:0 auto;
}

/* Title */
#policies-hub .ph-hero-title{
  font-size:36px;
  font-weight:700;
  color:#fff;
  line-height:1.4;
  margin:0 0 14px;
  text-shadow:0 2px 4px rgba(0,0,0,0.3);
}
@media (max-width:768px){
  #policies-hub .ph-hero-title{
    font-size:32px;
    margin-bottom:12px;
  }
}

/* Subtitle: single-line on desktop */
#policies-hub .ph-hero-subtitle{
  font-size:18px;
  font-weight:400;
  color:#fff;
  line-height:1.8;
  margin:0;
  white-space:nowrap;        /* ✅ 桌面端不换行 */
  text-shadow:0 2px 4px rgba(0,0,0,0.3);
}

/* Mobile: allow wrapping */
@media (max-width:768px){
  #policies-hub .ph-hero-subtitle{
    white-space:normal;      /* ✅ 移动端允许换行 */
    font-size:16px;
  }
}

@media (max-width:768px){
  #policies-hub .ph-hero-subtitle{
    font-size:16px;
  }
}

/* Hover zoom: DESKTOP ONLY */
@media (hover:hover) and (pointer:fine){
  #policies-hub .ph-hero:hover .ph-hero-img{
    transform:scale(1.05);
  }
}

/* ===== CONTENT: 1100 (buttons only) ===== */
#policies-hub .ph-container{
  max-width:1100px;
  margin:0 auto 40px;
  padding:0 40px;
}
@media (max-width:768px){
  #policies-hub .ph-container{
    padding:0 20px;
    margin-bottom:30px;
  }
}

/* Buttons */
#policies-hub .ph-buttons{
  display:flex;
  justify-content:center;
  gap:18px;
  flex-wrap:wrap;
  margin-bottom:50px;
}

#policies-hub .ph-btn{
  padding:15px 35px;
  background:#6B5A4B;
  color:#fff;
  text-decoration:none;
  border-radius:6px;
  font-size:16px;
  font-weight:600;
  min-width:200px;
  text-align:center;

  white-space:normal;
  line-height:1.3;

  transition:all .25s ease;
}
#policies-hub .ph-btn:hover{
  background:#4A3F35;
  transform:translateY(-2px);
  box-shadow:0 4px 12px rgba(0,0,0,0.15);
}

/* Mobile buttons */
@media (max-width:768px){
  #policies-hub .ph-buttons{
    gap:12px;
    margin-bottom:40px;
  }
  #policies-hub .ph-btn{
    width:100%;
    max-width:320px;
    min-width:unset;
    font-size:15px;
    padding:15px 30px;
  }
}
