/* HAMEL PENANG V4.1 — only on Penang staging and only in V4 frontend */

/* Keep the HAMEL navigation accessible while scrolling, without covering the WP admin bar. */
body.pnv4-active .pnv4 .pn4-header {
  position: sticky !important;
  top: 0;
  z-index: 9000;
  isolation: isolate;
  background: #060d15 !important;
  box-shadow: 0 8px 26px rgba(0, 12, 25, .12);
}
body.admin-bar.pnv4-active .pnv4 .pn4-header { top: 32px; }

/* Critical: the choice cards inherited dark backgrounds but retained dark text. */
body.pnv4-active .pnv4 .pn4-choices .pn4-choice {
  background: #0c1c2a !important;
  background-image: none !important;
  border: 1px solid #24435a !important;
  border-radius: 12px !important;
  color: #ffffff !important;
  box-shadow: 0 10px 26px rgba(4, 22, 34, .07) !important;
}
body.pnv4-active .pnv4 .pn4-choices .pn4-choice h3,
body.pnv4-active .pnv4 .pn4-choices .pn4-choice h3 a {
  color: #ffffff !important;
  opacity: 1 !important;
}
body.pnv4-active .pnv4 .pn4-choices .pn4-choice p {
  color: #cfdae4 !important;
  opacity: 1 !important;
}
body.pnv4-active .pnv4 .pn4-choices .pn4-choice > span { color: #5bc7f5 !important; }
body.pnv4-active .pnv4 .pn4-choices .pn4-choice .pn4-btn-outline {
  color: #ffffff !important;
  border: 1px solid #8cacc0 !important;
  background: transparent !important;
  opacity: 1 !important;
}
body.pnv4-active .pnv4 .pn4-choices .pn4-choice .pn4-btn-outline:hover {
  background: #177ea9 !important;
  color: #ffffff !important;
  border-color: #177ea9 !important;
}

/* Make the content feel editorial rather than overly spread out. */
body.pnv4-active .pnv4 .pn4-section { padding-top: 80px !important; padding-bottom: 80px !important; }
body.pnv4-active .pnv4 .pn4-section-head { margin-bottom: 34px !important; }

/* Preserve strong contrast for links throughout the site on pale surfaces. */
body.pnv4-active .pnv4 .pn4-service-card .pn4-service-body h3 { color: #102638 !important; }
body.pnv4-active .pnv4 .pn4-service-card .pn4-service-body p { color: #536a7b !important; }

@media (max-width: 970px) {
  body.pnv4-active .pnv4 .pn4-section { padding-top: 68px !important; padding-bottom: 68px !important; }
}
@media (max-width: 782px) {
  body.admin-bar.pnv4-active .pnv4 .pn4-header { top: 0; }
}
@media (max-width: 680px) {
  body.pnv4-active .pnv4 .pn4-section { padding-top: 58px !important; padding-bottom: 58px !important; }
  body.pnv4-active .pnv4 .pn4-choices .pn4-choice { padding: 26px 23px !important; }
}
