/* Public website header UI polish — matches the approved two-tier reference design. */
.jh-public-v2 .jh-header {
  background: #0d0b0e;
  color: #fff;
  box-shadow: 0 8px 28px rgba(19, 5, 12, .22);
  border-bottom: 1px solid rgba(255,255,255,.08);
}

/* Separate contact/account strip */
.jh-public-v2 .jh-topbar {
  min-height: 48px;
  height: auto;
  padding: 7px clamp(18px, 4vw, 72px);
  gap: 18px;
  background: linear-gradient(90deg, #72001f 0%, #9f0838 52%, #7b0024 100%);
  border-bottom: 1px solid rgba(255,255,255,.16);
  color: #fff;
  font: 600 12px/1.2 Arial, sans-serif;
}

.jh-public-v2 .jh-top-contact,
.jh-public-v2 .jh-top-right {
  min-width: 0;
  gap: 9px;
}

.jh-public-v2 .jh-top-contact { flex: 1 1 auto; }
.jh-public-v2 .jh-top-right { flex: 0 0 auto; }

.jh-public-v2 .jh-topbar a {
  color: #fff;
  transition: color .18s ease, background .18s ease, border-color .18s ease, transform .18s ease;
}

.jh-public-v2 .jh-top-contact > a,
.jh-public-v2 .jh-top-contact > span:not(:empty) {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
}

.jh-public-v2 .jh-top-contact > a {
  padding: 5px 9px;
  border-radius: 17px;
}

.jh-public-v2 .jh-top-contact > a:hover {
  background: rgba(255,255,255,.15);
  color: #fff;
  transform: translateY(-1px);
}

.jh-public-v2 .jh-top-right {
  margin-left: auto;
}

.jh-public-v2 .jh-customer-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 32px;
  padding: 6px 16px;
  border: 1px solid rgba(255,255,255,.72);
  border-radius: 18px;
  background: rgba(255,255,255,.04);
  color: #fff !important;
  font-weight: 800;
  white-space: nowrap;
}

.jh-public-v2 .jh-customer-link:hover {
  background: #fff;
  color: #8c0831 !important;
  border-color: #fff;
  transform: translateY(-1px);
}

.jh-public-v2 .jh-customer-link:last-child {
  border-color: #ffb3c9;
  background: #f72e68;
  box-shadow: 0 5px 16px rgba(247,46,104,.28);
}

.jh-public-v2 .jh-customer-link:last-child:hover {
  background: #fff;
  color: #8c0831 !important;
}

.jh-public-v2 .jh-socials { gap: 6px; }
.jh-public-v2 .jh-socials a {
  width: 28px;
  height: 28px;
  border-color: rgba(255,255,255,.45);
  color: #fff;
}
.jh-public-v2 .jh-socials a:hover {
  background: #fff;
  color: #8c0831;
  border-color: #fff;
}

/* Main navigation strip */
.jh-public-v2 .jh-header-main {
  min-height: 82px;
  height: auto;
  padding: 8px clamp(18px, 4vw, 72px);
  gap: clamp(18px, 2.5vw, 40px);
  background: linear-gradient(180deg, #141115 0%, #0d0b0e 100%);
}

.jh-public-v2 .jh-brand {
  min-width: 300px;
  flex: 0 0 auto;
}

.jh-public-v2 .jh-logo-mark {
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  padding: 0;
  border: 0;
  border-radius: 2px;
  background: linear-gradient(145deg, #ef2d2d, #9e081e);
  color: #fff;
  font: 700 27px/1 Georgia, serif;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.15), 0 6px 18px rgba(174,10,39,.25);
}

.jh-public-v2 .jh-brand-copy { padding-left: 14px; }
.jh-public-v2 .jh-brand-copy strong {
  font-size: 23px;
  letter-spacing: 1.1px;
}
.jh-public-v2 .jh-brand-copy span {
  color: #fff;
  font-size: 9px;
  letter-spacing: 2.9px;
}
.jh-public-v2 .jh-brand-copy small {
  color: #d9d0d3;
  font-size: 8px;
  letter-spacing: 2.3px;
}

.jh-public-v2 .jh-header nav {
  gap: 3px;
  min-width: 0;
}

.jh-public-v2 .jh-header nav a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 9px 13px;
  border-radius: 10px;
  color: #fff;
  font: 700 13px/1 Arial, sans-serif;
  transition: background .18s ease, color .18s ease, transform .18s ease, box-shadow .18s ease;
}

.jh-public-v2 .jh-header nav a::after { display: none; }

.jh-public-v2 .jh-header nav a:hover,
.jh-public-v2 .jh-header nav a:focus-visible {
  background: linear-gradient(180deg, #df4c78, #c62d5b);
  color: #fff;
  box-shadow: 0 7px 18px rgba(207,63,95,.25);
  transform: translateY(-1px);
  outline: none;
}

/* Current home link remains visibly readable without changing text/background to the same colour. */
.jh-public-v2 .jh-header nav a[href="/"] {
  color: #ff4c82;
}
.jh-public-v2 .jh-header nav a[href="/"]:hover,
.jh-public-v2 .jh-header nav a[href="/"]:focus-visible {
  color: #fff;
}

.jh-public-v2 .jh-header-actions {
  flex: 0 0 auto;
  gap: 14px;
}

.jh-public-v2 .jh-search {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  padding: 0;
  border: 1px solid rgba(255,255,255,.28);
  border-radius: 50%;
  background: rgba(255,255,255,.025);
  color: #fff;
  font-size: 29px;
  line-height: 1;
  transition: background .18s ease, border-color .18s ease, color .18s ease, transform .18s ease;
}
.jh-public-v2 .jh-search:hover,
.jh-public-v2 .jh-search:focus-visible {
  background: #fff;
  border-color: #fff;
  color: #8c0831;
  transform: translateY(-1px);
  outline: none;
}

.jh-public-v2 .jh-book {
  min-height: 48px;
  padding: 12px 25px;
  border: 1px solid #ff729a;
  background: linear-gradient(135deg, #e04b78, #d43868);
  color: #fff !important;
  font: 800 14px/1 Arial, sans-serif;
  box-shadow: 0 8px 22px rgba(207,63,95,.30);
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
}
.jh-public-v2 .jh-book::before {
  content: '▣';
  margin-right: 9px;
  font-size: 15px;
}
.jh-public-v2 .jh-book:hover {
  background: linear-gradient(135deg, #f05282, #dc255d);
  transform: translateY(-2px);
  box-shadow: 0 11px 28px rgba(207,63,95,.40);
}

/* Keep the approved visual compact at common laptop widths. */
@media (max-width: 1250px) {
  .jh-public-v2 .jh-brand { min-width: 250px; }
  .jh-public-v2 .jh-brand-copy strong { font-size: 19px; }
  .jh-public-v2 .jh-header nav a { padding-left: 9px; padding-right: 9px; font-size: 12px; }
  .jh-public-v2 .jh-topbar { font-size: 11px; }
}

@media (max-width: 1000px) {
  .jh-public-v2 .jh-top-contact { overflow: hidden; }
  .jh-public-v2 .jh-top-contact > span:last-child { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .jh-public-v2 .jh-socials { display: none; }
  .jh-public-v2 .jh-header-main { gap: 14px; }
  .jh-public-v2 .jh-brand { min-width: 220px; }
  .jh-public-v2 .jh-logo-mark { width: 48px; height: 48px; font-size: 23px; }
  .jh-public-v2 .jh-brand-copy strong { font-size: 17px; }
  .jh-public-v2 .jh-brand-copy span { font-size: 7px; }
  .jh-public-v2 .jh-brand-copy small { display: none; }
  .jh-public-v2 .jh-header nav a { padding: 8px; font-size: 11px; }
  .jh-public-v2 .jh-book { padding-left: 16px; padding-right: 16px; font-size: 12px; }
}

@media (max-width: 800px) {
  .jh-public-v2 .jh-topbar { padding: 6px 14px; }
  .jh-public-v2 .jh-top-contact { gap: 4px; }
  .jh-public-v2 .jh-top-contact > a { padding: 4px 6px; }
  .jh-public-v2 .jh-top-contact > span { display: none; }
  .jh-public-v2 .jh-top-contact > a:nth-of-type(2) { display: inline-flex; }
  .jh-public-v2 .jh-top-contact > span:last-child { display: none; }
  .jh-public-v2 .jh-customer-link { min-height: 30px; padding: 5px 10px; font-size: 10px; }
  .jh-public-v2 .jh-header-main { min-height: 68px; padding: 7px 14px; }
  .jh-public-v2 .jh-brand { min-width: 0; }
  .jh-public-v2 .jh-header nav { display: none; }
  .jh-public-v2 .jh-header-actions { margin-left: auto; }
  .jh-public-v2 .jh-search { width: 42px; height: 42px; font-size: 25px; }
  .jh-public-v2 .jh-book { min-height: 42px; padding: 10px 13px; font-size: 10px; }
  .jh-public-v2 .jh-book::before { margin-right: 5px; }
}

@media (max-width: 520px) {
  .jh-public-v2 .jh-topbar { min-height: 40px; }
  .jh-public-v2 .jh-top-contact > a:nth-of-type(2) { display: none; }
  .jh-public-v2 .jh-top-contact > a:first-child span { max-width: 125px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .jh-public-v2 .jh-brand-copy strong { font-size: 14px; }
  .jh-public-v2 .jh-brand-copy span { letter-spacing: 1.7px; }
  .jh-public-v2 .jh-logo-mark { width: 43px; height: 43px; }
  .jh-public-v2 .jh-customer-link { padding: 5px 8px; font-size: 9px; }
  .jh-public-v2 .jh-book span { display: none; }
  .jh-public-v2 .jh-book::before { margin: 0; }
}
