@media (max-width: 760px) {
  html,
  body {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
    -webkit-text-size-adjust: 100%;
  }

  *,
  *::before,
  *::after {
    box-sizing: border-box;
  }

  body * {
    max-width: 100%;
  }

  header {
    background: rgba(255, 255, 255, 0.94) !important;
    border-bottom: 1px solid rgba(15, 23, 42, 0.12) !important;
    backdrop-filter: blur(18px) !important;
  }

  header > div {
    width: 100% !important;
    min-height: 64px !important;
    height: auto !important;
    padding: 10px 16px !important;
    gap: 12px !important;
  }

  header nav {
    display: none !important;
  }

  .site-header {
    background: rgba(7, 12, 19, 0.92) !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12) !important;
    color: #f7f9fb !important;
  }

  .site-header .brand,
  .site-header .nav-cta {
    color: #f7f9fb !important;
  }

  .site-header .nav {
    min-height: 64px !important;
    padding: 10px 16px !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: space-between !important;
  }

  .site-header .brand {
    gap: 10px !important;
    min-width: 0 !important;
  }

  .site-header .brand span:last-child {
    font-size: 1rem !important;
    line-height: 1 !important;
    white-space: nowrap !important;
  }

  .site-header .brand-logo {
    width: 42px !important;
    height: 42px !important;
  }

  .site-header .nav-cta {
    min-height: 42px !important;
    padding: 0 14px !important;
    font-size: 0.9rem !important;
  }

  .site-header .brand-mark {
    color: #b894ff !important;
  }

  header > div > div[style*="position: absolute"],
  header > div > div[style*="position:absolute"] {
    position: static !important;
    left: auto !important;
    transform: none !important;
    text-align: left !important;
  }

  header .avebworks-a-mark ~ div,
  header .avebworks-a-mark ~ span {
    display: none !important;
  }

  header.beauty-header > div {
    justify-content: space-between !important;
  }

  header.beauty-header .beauty-header-brand {
    display: flex !important;
    align-items: center !important;
    gap: 12px !important;
    min-width: 0 !important;
    flex: 1 1 auto !important;
    width: auto !important;
  }

  header.beauty-header .beauty-brand-name {
    display: block !important;
    flex: 1 1 auto !important;
    min-width: 0 !important;
    font-size: clamp(1.05rem, 5vw, 1.35rem) !important;
    line-height: 1.05 !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
  }

  .beauty-page > .avebworks-a-mark[style*="position: fixed"],
  .beauty-page > .avebworks-a-mark[style*="position:fixed"] {
    display: none !important;
  }

  header.beauty-header .beauty-mobile-cta {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    flex: 0 0 auto !important;
    min-height: 38px !important;
    padding: 0 13px !important;
    border-radius: 999px !important;
    background: #c8737a !important;
    color: #fff !important;
    font: 800 0.78rem/1 Arial, sans-serif !important;
    text-decoration: none !important;
    white-space: nowrap !important;
    box-shadow: 0 10px 28px rgba(200, 115, 122, 0.22) !important;
  }

  main,
  main > div,
  section,
  section > div,
  footer,
  footer > div {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    overflow-x: hidden !important;
  }

  section {
    height: auto !important;
    min-height: auto !important;
    padding: 44px 16px !important;
  }

  section:first-of-type {
    min-height: 640px !important;
    padding-top: 88px !important;
    padding-bottom: 40px !important;
  }

  footer {
    padding: 28px 16px !important;
    align-items: flex-start !important;
    justify-content: flex-start !important;
  }

  h1 {
    font-size: clamp(2rem, 10.5vw, 3.55rem) !important;
    line-height: 1.05 !important;
    letter-spacing: -0.02em !important;
    overflow-wrap: anywhere;
  }

  h2 {
    font-size: clamp(1.65rem, 7.8vw, 2.75rem) !important;
    line-height: 1.1 !important;
    overflow-wrap: anywhere;
  }

  h3,
  p,
  span,
  a,
  button {
    overflow-wrap: anywhere;
  }

  p {
    max-width: 100% !important;
    font-size: clamp(0.92rem, 4vw, 1rem) !important;
    line-height: 1.65 !important;
  }

  img {
    max-width: 100% !important;
  }

  input,
  textarea,
  select {
    width: 100% !important;
    min-height: 46px !important;
    font-size: 16px !important;
  }

  a,
  button {
    min-height: 44px;
  }

  [style*="grid-template-columns"] {
    grid-template-columns: 1fr !important;
  }

  [style*="grid-template-rows"] {
    grid-template-rows: auto !important;
  }

  [style*="grid-row"] {
    grid-row: auto !important;
  }

  [style*="height: 100vh"],
  [style*="height:100vh"],
  [style*="min-height: 100vh"],
  [style*="min-height:100vh"] {
    height: auto !important;
    min-height: 640px !important;
  }

  [style*="display: flex"],
  [style*="display:flex"] {
    flex-wrap: wrap !important;
  }

  [style*="width: 390px"],
  [style*="width: 400px"],
  [style*="width: 420px"],
  [style*="width: 450px"],
  [style*="width: 500px"],
  [style*="width: 520px"],
  [style*="width: 560px"] {
    width: 100% !important;
  }

  [style*="min-width"],
  [style*="white-space: nowrap"] {
    min-width: 0 !important;
    white-space: normal !important;
  }

  [style*="left: -"],
  [style*="right: -"] {
    display: none !important;
  }

  section:first-of-type [style*="top: 50%"][style*="position: absolute"],
  section:first-of-type [style*="top:50%"][style*="position:absolute"] {
    left: 16px !important;
    right: 16px !important;
    width: auto !important;
    transform: translateY(-50%) !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    text-align: left !important;
  }

  section:first-of-type [style*="bottom: 0"][style*="position: absolute"],
  section:first-of-type [style*="bottom:0"][style*="position:absolute"] {
    left: 0 !important;
    right: 0 !important;
    padding: 52px 16px 34px !important;
  }

  section:first-of-type [style*="right: 64px"] {
    display: none !important;
  }

  section:first-of-type [style*="right:64px"],
  section:first-of-type [style*="bottom:32px"][style*="right"],
  section:first-of-type > div[style*="border-radius:50%"][style*="position:absolute"],
  section:first-of-type > div[style*="border-radius: 50%"][style*="position: absolute"],
  section:first-of-type > div[style*="width:1px"][style*="position:absolute"],
  section:first-of-type > div[style*="width: 1px"][style*="position: absolute"] {
    display: none !important;
  }

  .avebworks-a-mark {
    width: 38px !important;
    height: 38px !important;
    border-radius: 12px !important;
    font-size: 27px !important;
    margin: 0 !important;
  }

  .avebworks-a-mark[style*="position: fixed"],
  .avebworks-a-mark[style*="position:fixed"] {
    left: 14px !important;
    bottom: 14px !important;
  }

  a[href*="wa.me"][style*="position: fixed"],
  a[href*="wa.me"][style*="position:fixed"] {
    width: 50px !important;
    height: 50px !important;
    right: 14px !important;
    bottom: 14px !important;
  }

  a[href*="wa.me"][style*="position: fixed"] svg,
  a[href*="wa.me"][style*="position:fixed"] svg {
    width: 25px !important;
    height: 25px !important;
  }

  .dental-hero-visual,
  .hotel-room-pills,
  .auto-status-widget,
  .auto-search-widget,
  .tour-hero-side {
    display: none !important;
  }

  .tour-hero-grid {
    display: block !important;
    height: auto !important;
    min-height: 680px !important;
    padding-top: 64px !important;
  }

  .tour-hero-main {
    min-height: 680px !important;
  }

  .tour-hero-grid > div[style*="translateX(-50%)"],
  .tour-hero-grid > div[style*="translateX(-50%)"][style*="position:absolute"] {
    position: relative !important;
    left: auto !important;
    bottom: auto !important;
    transform: none !important;
    width: 100% !important;
    display: grid !important;
    grid-template-columns: 1fr !important;
    align-items: stretch !important;
    gap: 12px !important;
    border-radius: 0 !important;
    padding: 18px 16px !important;
    box-shadow: none !important;
  }

  .listing-card,
  .car-card,
  .pkg-card,
  .svc-card,
  .svc-con-card,
  .kpi-card,
  .prog-card,
  .recipe-card,
  .step-card,
  .doc-card,
  .testi-card,
  .team-card,
  .price-card,
  .testimonial-card,
  .benefit-card,
  .course-card,
  .story-card,
  .upcoming-row,
  .treat-card,
  .tip-card,
  .svc-vet,
  .trust-item {
    height: auto !important;
    min-height: 0 !important;
    padding: 20px 18px !important;
  }

  .listing-img,
  .car-img,
  .team-img,
  .dest-img,
  .gram-img,
  .proj-img {
    min-height: 220px !important;
    object-fit: cover !important;
  }

  .gallery-item {
    min-height: 220px !important;
  }

  .cal-day,
  .cal-time,
  .day-btn,
  .cat-tab,
  .pill-btn,
  .type-pill,
  .animal-pill,
  .brand-pill,
  .prop-type-pill,
  .industry-tag,
  .svc-pill,
  .spec-pill,
  .step-btn {
    white-space: normal !important;
    min-height: 40px !important;
  }
}

@media (max-width: 420px) {
  section {
    padding-left: 14px !important;
    padding-right: 14px !important;
  }

  section:first-of-type {
    min-height: 620px !important;
  }

  h1 {
    font-size: clamp(1.9rem, 11vw, 3.05rem) !important;
  }
}

/* Shared mobile correction for all static demos.
   Keep layouts fluid instead of squeezing every child into a fixed mobile box. */
.avebworks-a-mark[style*="position: fixed"],
.avebworks-a-mark[style*="position:fixed"] {
  display: none !important;
}

@media (max-width: 760px) {
  html,
  body {
    width: 100% !important;
    max-width: none !important;
    overflow-x: hidden !important;
  }

  body * {
    max-width: none;
  }

  img,
  video,
  iframe,
  svg,
  canvas {
    max-width: 100% !important;
  }

  main,
  section,
  footer {
    width: 100% !important;
    max-width: none !important;
    overflow-x: clip !important;
  }

  main > div,
  section > div,
  footer > div {
    min-width: 0 !important;
    max-width: none !important;
  }

  main > div[style*="max-width"],
  section > div[style*="max-width"],
  footer > div[style*="max-width"] {
    width: 100% !important;
    max-width: none !important;
    margin-left: auto !important;
    margin-right: auto !important;
  }

  section {
    padding-left: clamp(16px, 5vw, 24px) !important;
    padding-right: clamp(16px, 5vw, 24px) !important;
  }

  section:first-of-type {
    min-height: 100svh !important;
    padding-top: calc(88px + env(safe-area-inset-top)) !important;
  }

  header:not(.site-header) {
    position: fixed !important;
    top: max(8px, env(safe-area-inset-top)) !important;
    left: clamp(10px, 3vw, 16px) !important;
    right: clamp(10px, 3vw, 16px) !important;
    width: auto !important;
    max-width: none !important;
    transform: none !important;
    border: 1px solid rgba(15, 23, 42, 0.12) !important;
    border-bottom: 1px solid rgba(15, 23, 42, 0.12) !important;
    border-radius: 18px !important;
    background: rgba(255, 255, 255, 0.78) !important;
    box-shadow: 0 16px 44px rgba(15, 23, 42, 0.11) !important;
    backdrop-filter: blur(18px) saturate(140%) !important;
    -webkit-backdrop-filter: blur(18px) saturate(140%) !important;
    overflow: hidden !important;
    min-height: 58px !important;
    max-height: 68px !important;
  }

  header:not(.site-header) > div {
    width: 100% !important;
    max-width: none !important;
    min-height: 56px !important;
    padding: 8px 12px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 10px !important;
    flex-wrap: nowrap !important;
  }

  header:not(.site-header) > div > * {
    min-width: 0 !important;
  }

  header:not(.site-header) nav {
    display: flex !important;
    align-items: center !important;
    justify-content: flex-end !important;
    flex: 0 0 auto !important;
    gap: 0 !important;
    min-width: 0 !important;
  }

  header:not(.site-header) nav > *:not(:last-child) {
    display: none !important;
  }

  header:not(.site-header) nav > *:last-child {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    max-width: 42vw !important;
    min-height: 38px !important;
    padding: 0 13px !important;
    border-radius: 999px !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    font-size: 0.76rem !important;
    font-weight: 800 !important;
    line-height: 1 !important;
    text-decoration: none !important;
    background: #24130b !important;
    color: #fff7ec !important;
    border: 1px solid rgba(36, 19, 11, 0.12) !important;
    box-shadow: 0 10px 28px rgba(15, 23, 42, 0.12) !important;
  }

  header:not(.site-header) > div > div:first-child,
  header:not(.site-header) > div > div:first-child *:not(.avebworks-a-mark) {
    color: #24130b !important;
    text-shadow: none !important;
  }

  header:not(.site-header) .avebworks-a-mark ~ div,
  header:not(.site-header) .avebworks-a-mark ~ span {
    display: block !important;
    min-width: 0 !important;
  }

  header:not(.site-header) .avebworks-a-mark {
    display: none !important;
  }

  header:not(.site-header) p,
  header:not(.site-header) small,
  header:not(.site-header) [style*="font-size: 10px"],
  header:not(.site-header) [style*="font-size:10px"],
  header:not(.site-header) [style*="font-size: 11px"],
  header:not(.site-header) [style*="font-size:11px"] {
    display: none !important;
  }

  header:not(.site-header) > div:only-child {
    max-height: 58px !important;
    overflow: hidden !important;
  }

  header:not(.site-header) > div:only-child > nav:first-child:not(:last-child) {
    display: none !important;
  }

  header:not(.site-header) > div:only-child > div:has(.avebworks-a-mark) {
    display: flex !important;
    align-items: center !important;
    flex: 1 1 auto !important;
    min-width: 0 !important;
    max-height: 42px !important;
    overflow: hidden !important;
    color: #2b2724 !important;
    text-shadow: none !important;
  }

  header:not(.site-header) > div:only-child > div:has(.avebworks-a-mark) > * {
    min-width: 0 !important;
    color: #2b2724 !important;
    text-shadow: none !important;
  }

  header.beauty-header nav {
    display: none !important;
  }

  header.charity-header {
    height: auto !important;
    min-height: 58px !important;
    padding: 0 10px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 10px !important;
  }

  header.charity-header .charity-logo {
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
    flex: 1 1 0 !important;
    min-width: 0 !important;
    overflow: hidden !important;
    white-space: nowrap !important;
  }

  header.charity-header .charity-mark {
    width: 26px !important;
    height: 26px !important;
    flex: 0 0 26px !important;
  }

  header.charity-header .charity-logo > span:last-child {
    width: auto !important;
    flex: 0 1 auto !important;
    min-width: 0 !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
  }

  header.charity-header .charity-nav {
    display: none !important;
  }

  header.charity-header .charity-actions {
    display: flex !important;
    align-items: center !important;
    flex: 0 0 auto !important;
    width: auto !important;
    min-height: 0 !important;
    height: auto !important;
    padding: 0 !important;
    gap: 8px !important;
  }

  header.charity-header .charity-actions .icon-button {
    display: none !important;
  }

  header.charity-header .donate-button {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    max-width: 38vw !important;
    min-height: 40px !important;
    height: 40px !important;
    padding: 0 14px !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    white-space: nowrap !important;
  }

  .site-header .nav-links {
    display: none !important;
  }

  .site-header .nav {
    flex-wrap: nowrap !important;
  }

  .site-header .brand {
    min-width: 0 !important;
  }

  .site-header .brand span:last-child {
    overflow: hidden !important;
    text-overflow: ellipsis !important;
  }

  .site-header .nav-cta {
    flex: 0 0 auto !important;
    white-space: nowrap !important;
  }

  [style*="width: 390px"],
  [style*="width: 400px"],
  [style*="width: 420px"],
  [style*="width: 450px"],
  [style*="width: 500px"],
  [style*="width: 520px"],
  [style*="width: 560px"] {
    width: min(100%, calc(100vw - 32px)) !important;
  }

  [style*="height: 100vh"],
  [style*="height:100vh"],
  [style*="min-height: 100vh"],
  [style*="min-height:100vh"] {
    min-height: 100svh !important;
  }

  h1,
  h2,
  h3,
  p {
    max-width: 100% !important;
  }

  h1 {
    font-size: clamp(2.05rem, 11vw, 3.75rem) !important;
    line-height: 1.02 !important;
    letter-spacing: 0 !important;
  }

  h2 {
    font-size: clamp(1.55rem, 7vw, 2.55rem) !important;
    letter-spacing: 0 !important;
  }

  p {
    font-size: clamp(0.95rem, 3.8vw, 1.05rem) !important;
  }

  a[href*="wa.me"][style*="position: fixed"],
  a[href*="wa.me"][style*="position:fixed"] {
    width: 54px !important;
    height: 54px !important;
    right: 16px !important;
    bottom: 16px !important;
  }
}

@media (max-width: 420px) {
  header:not(.site-header) {
    left: 8px !important;
    right: 8px !important;
    transform: none !important;
  }

  header:not(.site-header) nav > *:last-child {
    max-width: 38vw !important;
    padding-inline: 11px !important;
    background: #24130b !important;
    color: #fff7ec !important;
  }
}

@media (max-width: 760px) {
  header.beauty-header {
    top: max(8px, env(safe-area-inset-top)) !important;
    left: 8px !important;
    right: 8px !important;
    width: auto !important;
    min-height: 58px !important;
    border-radius: 18px !important;
    overflow: hidden !important;
  }

  header.beauty-header > div {
    display: flex !important;
    flex-wrap: nowrap !important;
    align-items: center !important;
    justify-content: space-between !important;
    min-height: 58px !important;
    padding: 8px 10px 8px 14px !important;
    gap: 10px !important;
  }

  header.beauty-header .beauty-header-brand {
    display: flex !important;
    flex: 1 1 auto !important;
    min-width: 0 !important;
    max-width: calc(100% - 112px) !important;
    overflow: visible !important;
  }

  header.beauty-header .beauty-brand-name {
    display: block !important;
    min-width: 0 !important;
    color: #2d1b1e !important;
    font-size: clamp(1.1rem, 5.2vw, 1.35rem) !important;
    line-height: 1.05 !important;
    opacity: 1 !important;
    visibility: visible !important;
    transform: none !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
  }

  header.beauty-header .beauty-brand-name span:first-child {
    color: #c8737a !important;
  }

  header.beauty-header .beauty-mobile-cta {
    position: static !important;
    display: inline-flex !important;
    flex: 0 0 auto !important;
    width: auto !important;
    min-width: 96px !important;
    max-width: 108px !important;
    height: 40px !important;
    min-height: 40px !important;
    padding: 0 12px !important;
    transform: none !important;
    overflow: hidden !important;
  }
}

/* Restaurant palette correction.
   The restaurant export had a harsh orange/brown palette and low-contrast
   white-on-orange buttons. These selectors also catch the already exported
   inline HTML until the Next export can be rebuilt cleanly. */
.restaurant-page,
body > div[style*="background:#1A0A00"] {
  background: #170c07 !important;
  color: #fff2df !important;
}

.restaurant-page header,
body > div[style*="background:#1A0A00"] header {
  background: linear-gradient(to bottom, rgba(23, 12, 7, 0.58), rgba(23, 12, 7, 0)) !important;
}

.restaurant-page header nav > a:last-child,
body > div[style*="background:#1A0A00"] header nav > a:last-child,
.restaurant-page .afu3 > a:first-child,
body > div[style*="background:#1A0A00"] .afu3 > a:first-child {
  background: #f4dfc1 !important;
  color: #24130b !important;
  border-color: rgba(36, 19, 11, 0.12) !important;
  border-radius: 999px !important;
}

.restaurant-page [style*="color:#E67E22"],
body > div[style*="background:#1A0A00"] [style*="color:#E67E22"] {
  color: #d99a45 !important;
}

.restaurant-page [style*="color:#FAF0E6"],
body > div[style*="background:#1A0A00"] [style*="color:#FAF0E6"] {
  color: #fff2df !important;
}

.restaurant-page [style*="background:#1A0A00"],
body > div[style*="background:#1A0A00"] [style*="background:#1A0A00"] {
  background: #170c07 !important;
}

.restaurant-page [style*="background:#120700"],
body > div[style*="background:#1A0A00"] [style*="background:#120700"] {
  background: #100803 !important;
}

.restaurant-page [style*="background:#0A0400"],
body > div[style*="background:#1A0A00"] [style*="background:#0A0400"] {
  background: #0a0503 !important;
}

.restaurant-page [style*="background:#E67E22"],
body > div[style*="background:#1A0A00"] [style*="background:#E67E22"] {
  background: #f4dfc1 !important;
  color: #24130b !important;
}

.restaurant-page > div[style*="background:#E67E22"] *,
body > div[style*="background:#1A0A00"] > div[style*="background:#E67E22"] *,
.restaurant-page section[style*="background:#E67E22"] *,
body > div[style*="background:#1A0A00"] section[style*="background:#E67E22"] * {
  color: #24130b !important;
}

.restaurant-page section[style*="background:#E67E22"] a,
body > div[style*="background:#1A0A00"] section[style*="background:#E67E22"] a {
  background: #24130b !important;
  color: #fff2df !important;
}

.restaurant-page [style*="border:1px solid rgba(230,126,34"],
body > div[style*="background:#1A0A00"] [style*="border:1px solid rgba(230,126,34"] {
  border-color: rgba(255, 242, 223, 0.14) !important;
}

.restaurant-page [style*="background:rgba(230,126,34"],
body > div[style*="background:#1A0A00"] [style*="background:rgba(230,126,34"] {
  background: rgba(255, 242, 223, 0.055) !important;
}

.restaurant-page img[style*="brightness(0.45)"],
body > div[style*="background:#1A0A00"] img[style*="brightness(0.45)"] {
  filter: brightness(0.62) saturate(0.9) !important;
}

.restaurant-page section:first-of-type > div[style*="linear-gradient(to top"],
body > div[style*="background:#1A0A00"] section:first-of-type > div[style*="linear-gradient(to top"] {
  background:
    linear-gradient(90deg, rgba(23, 12, 7, 0.9) 0%, rgba(23, 12, 7, 0.58) 46%, rgba(23, 12, 7, 0.18) 100%),
    linear-gradient(to top, #170c07 0%, rgba(23, 12, 7, 0.22) 58%, rgba(23, 12, 7, 0.55) 100%) !important;
}

/* Demo homepage performance guard.
   The React source also limits the list, but the current static export can be
   lightened immediately with this layer until the next clean build. */
.demo-home #latest,
.demo-home #featured .demo-card:nth-of-type(n + 7),
.demo-home #sectors:not(.demo-home-expanded) .demo-card:nth-of-type(n + 13) {
  display: none !important;
}

.demo-home #featured .demo-card[hidden],
.demo-home #sectors .demo-card[hidden] {
  display: none !important;
}

.demo-home #sectors.demo-home-expanded .demo-card {
  display: flex !important;
}

.lite-load-more-row {
  display: flex;
  justify-content: center;
  margin-top: 1.55rem;
}

.lite-load-more-row[hidden] {
  display: none !important;
}

.lite-load-more {
  display: inline-flex;
  min-height: 3.15rem;
  align-items: center;
  justify-content: center;
  gap: .75rem;
  border: 1px solid rgba(221, 255, 79, .34);
  border-radius: 999px;
  background: rgba(221, 255, 79, .1);
  color: #f7f9fb;
  padding: 0 1.25rem;
  font: inherit;
  font-size: .92rem;
  font-weight: 950;
  cursor: pointer;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .08);
}

.lite-load-more span {
  border-radius: 999px;
  background: #ddff4f;
  color: #071017;
  padding: .34rem .58rem;
  font-size: .72rem;
  line-height: 1;
}

/* Header/hero overlap guard for demo detail pages.
   Many sector pages use fixed inline headers with slightly different heights.
   This keeps the first hero copy out from under the nav without changing the
   demo homepage header. */
body:not(:has(.demo-home)) header:not(.site-header) + section:first-of-type,
body:not(:has(.demo-home)) header:not(.site-header) ~ section:first-of-type,
body:not(:has(.demo-home)) main > header:not(.site-header) + section:first-of-type,
body:not(:has(.demo-home)) main > header:not(.site-header) ~ section:first-of-type,
body:not(:has(.demo-home)) div > header:not(.site-header) + section:first-of-type,
body:not(:has(.demo-home)) div > header:not(.site-header) ~ section:first-of-type {
  padding-top: max(96px, 6.5vw) !important;
  scroll-margin-top: 96px !important;
}

body:not(:has(.demo-home)) header:not(.site-header) {
  min-height: 68px;
}

.charity-page .charity-hero {
  padding-top: clamp(122px, 9vw, 150px) !important;
}

.wedding-demo .wed-hero {
  padding-top: clamp(122px, 9vw, 150px) !important;
}

.pp-page .pp-nav {
  min-height: 68px !important;
}

.pp-page .pp-hero {
  padding-top: clamp(142px, 10vw, 168px) !important;
}

@media (max-width: 760px) {
  body:not(:has(.demo-home)) header:not(.site-header) + section:first-of-type,
  body:not(:has(.demo-home)) header:not(.site-header) ~ section:first-of-type,
  body:not(:has(.demo-home)) main > header:not(.site-header) + section:first-of-type,
  body:not(:has(.demo-home)) main > header:not(.site-header) ~ section:first-of-type,
  body:not(:has(.demo-home)) div > header:not(.site-header) + section:first-of-type,
  body:not(:has(.demo-home)) div > header:not(.site-header) ~ section:first-of-type {
    padding-top: calc(116px + env(safe-area-inset-top)) !important;
    scroll-margin-top: calc(96px + env(safe-area-inset-top)) !important;
  }

  body:not(:has(.demo-home)) header:not(.site-header) > div > div:first-child > div > div:nth-child(2),
  body:not(:has(.demo-home)) header:not(.site-header) > div > div:first-child > div > span,
  body:not(:has(.demo-home)) header:not(.site-header) > div > div:first-child small,
  body:not(:has(.demo-home)) header:not(.site-header) > div > div:first-child p {
    display: none !important;
  }

  .charity-page .charity-hero,
  .wedding-demo .wed-hero {
    padding-top: calc(118px + env(safe-area-inset-top)) !important;
  }

  .pp-page .pp-nav {
    top: max(8px, env(safe-area-inset-top)) !important;
    left: 8px !important;
    right: 8px !important;
    width: auto !important;
    min-height: 58px !important;
    border-radius: 18px !important;
    overflow: hidden !important;
  }

  .pp-page .pp-nav .pp-links {
    display: none !important;
  }

  .pp-page .pp-signature {
    max-width: 52vw !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    white-space: nowrap !important;
    font-size: clamp(1.1rem, 6vw, 1.45rem) !important;
  }

  .pp-page .pp-hero {
    padding-top: calc(126px + env(safe-area-inset-top)) !important;
  }
}

@media (max-width: 760px) {
  body:not(:has(.demo-home)) header.beauty-header {
    left: 8px !important;
    right: auto !important;
    width: calc(100vw - 16px) !important;
    max-width: calc(100vw - 16px) !important;
    box-sizing: border-box !important;
  }

  body:not(:has(.demo-home)) header.beauty-header > div {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }

  body:not(:has(.demo-home)) header.beauty-header .beauty-header-brand,
  body:not(:has(.demo-home)) header.beauty-header .beauty-brand-name {
    min-height: 24px !important;
    height: auto !important;
  }

  body:not(:has(.demo-home)) header.beauty-header .beauty-brand-name span {
    display: inline !important;
    visibility: visible !important;
    opacity: 1 !important;
  }

  body:not(:has(.demo-home)) header.beauty-header .beauty-brand-name span:first-child {
    color: #c8737a !important;
  }

  body:not(:has(.demo-home)) header.beauty-header:not(.site-header) > div > div.beauty-header-brand:first-child > div.beauty-brand-name > span,
  body:not(:has(.demo-home)) header.beauty-header:not(.site-header) > div > div.beauty-header-brand:first-child > div.beauty-brand-name > span:first-child {
    display: inline !important;
    visibility: visible !important;
    opacity: 1 !important;
  }
}
