/* ==========================================================================
   JHL Valuations — Portfolio page styles
   Added 19 Nov 2026. Scoped to portfolio.html only.
   Kept in a separate file (rather than mbr-additional.css) so a future
   Mobirise re-export of the shared theme CSS does not wipe it.
   ========================================================================== */

.jhl-hero {
  background: linear-gradient(135deg, #082f5c 0%, #0d4c92 55%, #1d63b8 100%);
  color: #fff;
  padding: 66px 0 74px;
  /* The site nav is position:fixed, so the hero has to clear it.
     --jhl-nav-h is set at runtime by the script placed directly after the nav.
     The 188px fallback is the tallest the nav gets (the info widgets wrap onto
     two rows between 768px and 1199px) for anyone with JS disabled. */
  padding-top: calc(66px + var(--jhl-nav-h, 0px));
  position: relative;
  overflow: hidden;
}
@media (min-width: 768px) {
  .jhl-hero {
    padding-top: calc(66px + var(--jhl-nav-h, 188px));
  }
}
.jhl-hero::before {
  content: "";
  position: absolute;
  right: -140px;
  top: -160px;
  width: 460px;
  height: 460px;
  border-radius: 50%;
  background: rgba(210, 185, 58, 0.10);
}
.jhl-hero::after {
  content: "";
  position: absolute;
  left: -120px;
  bottom: -220px;
  width: 380px;
  height: 380px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
}
.jhl-hero .container {
  position: relative;
  z-index: 1;
}
.jhl-eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.76rem;
  font-weight: 700;
  color: #d2b93a;
  margin: 0 0 12px;
}
.jhl-hero h1 {
  font-family: "Poppins", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  font-size: clamp(1.85rem, 4vw, 2.9rem);
  font-weight: 700;
  line-height: 1.15;
  color: #fff;
  margin: 0 0 16px;
}
.jhl-hero p {
  font-size: 1.06rem;
  line-height: 1.7;
  color: #d6e2f0;
  max-width: 760px;
  margin: 0;
}

/* ---------- sections ---------- */
.jhl-section {
  padding: 56px 0;
}
.jhl-section-alt {
  background: #f4f7fb;
}
.jhl-sec-title {
  font-family: "Poppins", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  font-size: clamp(1.5rem, 3vw, 2.05rem);
  font-weight: 700;
  line-height: 1.2;
  color: #0d4c92;
  margin: 0 0 10px;
}
.jhl-sec-sub {
  font-size: 1.02rem;
  line-height: 1.7;
  color: #5b6b7c;
  max-width: 800px;
  margin: 0 0 34px;
}
.jhl-sec-head {
  margin-bottom: 34px;
}

/* ---------- client cards ---------- */
.jhl-grid {
  display: grid;
  gap: 22px;
  grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
}
.jhl-grid-wide {
  grid-template-columns: repeat(auto-fit, minmax(360px, 1fr));
}
.jhl-card {
  background: #fff;
  border: 1px solid #dde4ec;
  border-radius: 12px;
  padding: 26px 26px 28px;
  display: flex;
  flex-direction: column;
  transition: box-shadow 0.18s ease, transform 0.18s ease, border-color 0.18s ease;
}
.jhl-card:hover {
  box-shadow: 0 12px 30px rgba(13, 76, 146, 0.10);
  transform: translateY(-3px);
  border-color: #c3d4ea;
}
.jhl-logo {
  height: 96px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  border: 1px solid #e6ecf4;
  border-radius: 10px;
  padding: 12px 18px;
  margin-bottom: 18px;
}
.jhl-logo img {
  max-height: 68px;
  max-width: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  display: block;
}
.jhl-badge {
  display: inline-block;
  align-self: flex-start;
  font-size: 0.7rem;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  font-weight: 700;
  color: #8a6d12;
  background: #fdf6e0;
  border: 1px solid #ecdc9b;
  border-radius: 99px;
  padding: 4px 12px;
  margin-bottom: 12px;
}
.jhl-badge-blue {
  color: #0d4c92;
  background: #eaf1fb;
  border-color: #c6d9f0;
}
.jhl-card h3 {
  font-family: "Poppins", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  font-size: 1.16rem;
  font-weight: 700;
  color: #0d4c92;
  line-height: 1.35;
  margin: 0 0 10px;
}
.jhl-card p {
  font-size: 0.97rem;
  line-height: 1.72;
  color: #41505f;
  margin: 0 0 12px;
}
.jhl-card p:last-child {
  margin-bottom: 0;
}
.jhl-card .jhl-note {
  font-size: 0.9rem;
  color: #5b6b7c;
  border-left: 3px solid #d2b93a;
  padding-left: 12px;
  margin-top: 4px;
}

/* ---------- types of valuations ---------- */
/* The card titles are h3 elements (they sit under an h2 section heading).
   The rule targets both h3 and h4 so the typography is identical whichever
   tag a card ends up using. */
.jhl-type-card h3,
.jhl-type-card h4 {
  font-family: "Poppins", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  font-size: 1.05rem;
  font-weight: 700;
  color: #15202b;
  margin: 0 0 12px;
}
.jhl-type-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.jhl-type-list li {
  position: relative;
  padding-left: 20px;
  margin: 6px 0;
  font-size: 0.95rem;
  line-height: 1.6;
  color: #41505f;
}
.jhl-type-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.62em;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #d2b93a;
}
.jhl-type-icon {
  width: 34px;
  height: 34px;
  color: #0d4c92;
  margin-bottom: 12px;
  display: block;
}

/* ---------- call to action ---------- */
.jhl-cta {
  background: linear-gradient(135deg, #082f5c, #0d4c92);
  color: #fff;
  padding: 54px 0;
  text-align: center;
}
.jhl-cta h2 {
  font-family: "Poppins", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  font-size: clamp(1.45rem, 3vw, 2rem);
  font-weight: 700;
  color: #fff;
  margin: 0 0 12px;
}
.jhl-cta p {
  color: #d6e2f0;
  font-size: 1.02rem;
  max-width: 680px;
  margin: 0 auto 24px;
}
.jhl-btn {
  display: inline-block;
  padding: 13px 32px;
  border-radius: 6px;
  background: #d2b93a;
  color: #082f5c;
  font-weight: 700;
  font-size: 1rem;
  text-decoration: none;
  border: 2px solid #d2b93a;
  transition: background 0.18s ease, color 0.18s ease;
}
.jhl-btn:hover,
.jhl-btn:focus {
  background: #fff;
  border-color: #fff;
  color: #082f5c;
}
.jhl-btn:focus-visible {
  outline: 3px solid #fff;
  outline-offset: 3px;
}

/* ---------- footer ---------- */
.jhl-page-footer {
  background: #082f5c;
  padding: 30px 0;
  text-align: center;
}
.jhl-page-footer a {
  color: #fff;
}
.jhl-footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px 26px;
  margin-bottom: 16px;
}
.jhl-footer-links a {
  color: #fff;
  font-size: 0.93rem;
  text-decoration: underline;
}
.jhl-footer-links a:hover {
  color: #d2b93a;
}
.jhl-footer-copy {
  color: #b9cde2;
  font-size: 0.86rem;
  margin: 0;
}
.jhl-footer-address {
  color: #b9cde2;
  font-size: 0.86rem;
  margin: 0.4rem 0 0;
}

@media (max-width: 575px) {
  .jhl-hero {
    padding: 0 0 52px;
    padding-top: calc(46px + var(--jhl-nav-h, 0px));
  }
  .jhl-section {
    padding: 42px 0;
  }
  .jhl-card {
    padding: 22px 20px 24px;
  }
}
