:root {
  --grix-page-bg: #f5f5f3;
  --grix-surface: #ffffff;
  --grix-soft-bg: #efefec;
  --grix-text: #111111;
  --grix-muted-text: #6b6b6b;
  --grix-border: rgba(17, 17, 17, 0.12);
  --grix-strong-border: rgba(17, 17, 17, 0.22);
  --grix-dark-bg: #060606;
  --grix-dark-surface: #101010;
  --grix-dark-text: #f1c84b;
  --grix-dark-muted: rgba(255, 255, 255, 0.74);
  --grix-accent: #f1c84b;
  --grix-accent-deep: #ddb12d;
}

body:has(footer) {
  background: linear-gradient(180deg, #f7f7f5 0%, #f1f1ee 100%) !important;
  color: var(--grix-text) !important;
}

body:has(footer) .bg-slate-50,
body:has(footer) .bg-slate-100,
body:has(footer) .section-band-light {
  background: var(--grix-soft-bg) !important;
}

body:has(footer) .section-band-tint {
  background: linear-gradient(180deg, #f6f6f4 0%, #efefec 100%) !important;
}

body:has(footer) .hero-pattern {
  background:
    linear-gradient(180deg, rgba(6, 6, 6, 0.98) 0%, rgba(8, 8, 8, 0.95) 100%),
    radial-gradient(circle at center top, rgba(241, 200, 75, 0.18) 0%, transparent 38%) !important;
}

body:has(footer) .section-band-dark {
  background:
    linear-gradient(180deg, rgba(20, 20, 20, 0.98) 0%, rgba(10, 10, 10, 0.98) 100%),
    radial-gradient(circle at center, rgba(241, 200, 75, 0.08) 0%, transparent 48%) !important;
}

body:has(footer) header {
  background: rgba(5, 5, 5, 0.97) !important;
  border-color: rgba(241, 200, 75, 0.14) !important;
  box-shadow: none !important;
}

body:has(footer) footer {
  background: linear-gradient(180deg, #080808 0%, #050505 100%) !important;
  border-color: rgba(241, 200, 75, 0.12) !important;
  box-shadow: none !important;
}

body:has(footer) [class*="bg-white/"],
body:has(footer) .bg-white,
body:has(footer) .panel {
  background-color: var(--grix-surface) !important;
  background-image: none !important;
}

body:has(footer) .panel {
  border: 1px solid rgba(17, 17, 17, 0.1) !important;
  box-shadow: 0 18px 48px rgba(15, 23, 42, 0.06) !important;
}

body:has(footer) header > div > div:first-child > div:last-child > div {
  background: rgba(255, 255, 255, 0.04) !important;
  border-color: rgba(241, 200, 75, 0.18) !important;
  color: rgba(255, 255, 255, 0.82) !important;
}

body:has(footer) header > div > div:first-child > div:last-child > div a.bg-white {
  background: #111111 !important;
  color: var(--grix-accent) !important;
}

body:has(footer) h1,
body:has(footer) h2,
body:has(footer) h3,
body:has(footer) h4,
body:has(footer) .text-white,
body:has(footer) .text-slate-950,
body:has(footer) .text-slate-900,
body:has(footer) .text-cyan-300,
body:has(footer) .text-cyan-400,
body:has(footer) .text-cyan-500,
body:has(footer) .text-cyan-700,
body:has(footer) .text-cyan-800 {
  color: var(--grix-text) !important;
}

body:has(footer) p,
body:has(footer) .text-slate-200,
body:has(footer) .text-slate-300,
body:has(footer) .text-slate-400,
body:has(footer) .text-slate-500,
body:has(footer) .text-slate-600,
body:has(footer) .text-slate-700 {
  color: var(--grix-muted-text) !important;
}

body:has(footer) a {
  color: var(--grix-text);
}

body:has(footer) a:hover {
  color: #000000 !important;
}

body:has(footer) header a,
body:has(footer) header p,
body:has(footer) header .text-white,
body:has(footer) header .text-slate-200,
body:has(footer) header .text-slate-400,
body:has(footer) header .text-white\/85 {
  color: rgba(255, 255, 255, 0.82) !important;
}

body:has(footer) header a:hover,
body:has(footer) header .text-cyan-300,
body:has(footer) footer .text-cyan-300 {
  color: var(--grix-accent) !important;
}

body:has(footer) .hero-pattern h1,
body:has(footer) .hero-pattern h2,
body:has(footer) .hero-pattern h3,
body:has(footer) .section-band-dark h1,
body:has(footer) .section-band-dark h2,
body:has(footer) .section-band-dark h3,
body:has(footer) .section-band-dark .text-white {
  color: var(--grix-accent) !important;
}

body:has(footer) .hero-pattern p,
body:has(footer) .hero-pattern a:not(.bg-cyan-400):not(.bg-cyan-500),
body:has(footer) .hero-pattern .text-slate-300,
body:has(footer) .hero-pattern .text-slate-400,
body:has(footer) .section-band-dark p,
body:has(footer) .section-band-dark a:not(.bg-cyan-400):not(.bg-cyan-500),
body:has(footer) .section-band-dark .text-slate-300,
body:has(footer) .section-band-dark .text-slate-400 {
  color: var(--grix-dark-muted) !important;
}

body:has(footer) .section-tag {
  background: #111111 !important;
  color: var(--grix-accent) !important;
  border: 1px solid #111111 !important;
}

body:has(footer) .section-band-dark .section-tag,
body:has(footer) .hero-pattern .section-tag,
body:has(footer) header .section-tag,
body:has(footer) .bg-cyan-300,
body:has(footer) .bg-cyan-400,
body:has(footer) .bg-cyan-500 {
  background: var(--grix-accent) !important;
  color: #111111 !important;
  border: 1px solid var(--grix-accent) !important;
}

body:has(footer) button.bg-cyan-400,
body:has(footer) a.bg-cyan-400,
body:has(footer) a.bg-cyan-500,
body:has(footer) button.bg-cyan-500,
body:has(footer) .section-band-dark button.bg-cyan-400,
body:has(footer) .section-band-dark a.bg-cyan-400,
body:has(footer) .section-band-dark a.bg-cyan-500,
body:has(footer) .section-band-dark button.bg-cyan-500,
body:has(footer) header button.bg-cyan-400,
body:has(footer) header a.bg-cyan-400,
body:has(footer) header a.bg-cyan-500,
body:has(footer) header button.bg-cyan-500 {
  background: var(--grix-accent) !important;
  color: #111111 !important;
  border-color: var(--grix-accent) !important;
}

body:has(footer) button.bg-cyan-400:hover,
body:has(footer) a.bg-cyan-400:hover,
body:has(footer) a.bg-cyan-500:hover,
body:has(footer) button.bg-cyan-500:hover,
body:has(footer) .section-band-dark button.bg-cyan-400:hover,
body:has(footer) .section-band-dark a.bg-cyan-400:hover,
body:has(footer) .section-band-dark a.bg-cyan-500:hover,
body:has(footer) .section-band-dark button.bg-cyan-500:hover,
body:has(footer) header button.bg-cyan-400:hover,
body:has(footer) header a.bg-cyan-400:hover,
body:has(footer) header a.bg-cyan-500:hover,
body:has(footer) header button.bg-cyan-500:hover {
  background: var(--grix-accent-deep) !important;
  border-color: var(--grix-accent-deep) !important;
  color: #111111 !important;
}

body:has(footer) a.bg-slate-950,
body:has(footer) button.bg-slate-950,
body:has(footer) a.bg-slate-800,
body:has(footer) button.bg-slate-800 {
  color: #ffffff !important;
}

body:has(footer) a.bg-slate-950:hover,
body:has(footer) button.bg-slate-950:hover,
body:has(footer) a.bg-slate-800:hover,
body:has(footer) button.bg-slate-800:hover {
  color: #ffffff !important;
}

body:has(footer) a.inline-flex.rounded-full.border,
body:has(footer) a[class*="bg-white/6"] {
  background: #111111 !important;
  color: var(--grix-accent) !important;
  border-color: rgba(241, 200, 75, 0.24) !important;
}

body:has(footer) a.inline-flex.rounded-full.border:hover,
body:has(footer) a[class*="bg-white/6"]:hover {
  background: #1a1a1a !important;
  color: #f6d876 !important;
}

body:has(footer) .section-band-dark a.inline-flex.rounded-full.border,
body:has(footer) .section-band-dark a[class*="bg-white/6"] {
  background: transparent !important;
  color: var(--grix-accent) !important;
  border-color: rgba(241, 200, 75, 0.24) !important;
}

body:has(footer) .section-band-dark a.inline-flex.rounded-full.border:hover,
body:has(footer) .section-band-dark a[class*="bg-white/6"]:hover {
  background: rgba(241, 200, 75, 0.08) !important;
}

body:has(footer) .border-slate-200,
body:has(footer) .border-slate-300,
body:has(footer) .border-white\/10,
body:has(footer) .border-white\/15,
body:has(footer) .border-white\/20 {
  border-color: var(--grix-border) !important;
}

body:has(footer) input,
body:has(footer) textarea,
body:has(footer) select {
  background: var(--grix-surface) !important;
  border-color: var(--grix-border) !important;
  color: var(--grix-text) !important;
}

body:has(footer) input::placeholder,
body:has(footer) textarea::placeholder {
  color: #999999 !important;
}

body:has(footer) [class*="shadow-"] {
  --tw-shadow-color: rgba(15, 23, 42, 0.08) !important;
}

body:has(footer) [class*="bg-white/6"],
body:has(footer) [class*="bg-white/8"],
body:has(footer) [class*="bg-white/10"],
body:has(footer) [class*="bg-white/45"] {
  background: rgba(255, 255, 255, 0.08) !important;
}

body:has(footer) .section-band-tint [class*="bg-white/6"],
body:has(footer) .section-band-tint [class*="bg-white/8"],
body:has(footer) .section-band-tint [class*="bg-white/10"],
body:has(footer) .section-band-tint [class*="bg-white/45"] {
  background: #ffffff !important;
}

body:has(footer) [class*="hover:bg-white/10"]:hover {
  background: rgba(255, 255, 255, 0.14) !important;
}

body:has(footer) .section-band-tint [class*="hover:bg-white/10"]:hover {
  background: #f4f4f1 !important;
}

body:has(footer) #grix-follow-us .grix-social-item {
  background: var(--grix-surface) !important;
  border-color: var(--grix-border) !important;
}

body:has(footer) #grix-follow-us a.grix-social-item:hover {
  border-color: var(--grix-strong-border) !important;
  background: var(--grix-soft-bg) !important;
}

body:has(footer) footer a,
body:has(footer) footer p {
  color: rgba(255, 255, 255, 0.72) !important;
}

body:has(footer) footer h3,
body:has(footer) footer .text-white {
  color: #ffffff !important;
}

body:has(footer) *,
body:has(footer) *::before,
body:has(footer) *::after {
  border-radius: 2px !important;
}

body:has(footer) section.hero-pattern > .pointer-events-none {
  display: none;
}

body:has(footer) section.hero-pattern > .section-shell {
  display: block !important;
  width: min(100%, 1920px) !important;
  max-width: 1920px !important;
  margin: 0 auto !important;
  padding: 18px 24px 42px !important;
}

body:has(footer) section.hero-pattern > .section-shell > div:first-child,
body:has(footer) section.hero-pattern > .section-shell > div:nth-child(2) > div:nth-child(2) {
  display: none !important;
}

body:has(footer) section.hero-pattern > .section-shell > div:nth-child(2) > div:first-child {
  padding: 0 !important;
  overflow: hidden;
  border: 1px solid rgba(241, 200, 75, 0.16) !important;
  background: rgba(255, 255, 255, 0.04) !important;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.3) !important;
}

body:has(footer) section.hero-pattern > .section-shell img {
  display: block;
  width: 100%;
  height: auto !important;
  min-height: 0 !important;
  aspect-ratio: 1920 / 818;
  object-fit: cover;
}

body:has(footer) section.section-shell.relative.z-10.-mt-10 > div {
  background: #060606 !important;
  border-color: rgba(241, 200, 75, 0.28) !important;
  box-shadow: 0 22px 60px rgba(0, 0, 0, 0.24) !important;
}

body:has(footer) section.section-shell.relative.z-10.-mt-10 > div > div {
  background: #121212 !important;
  border-color: rgba(241, 200, 75, 0.24) !important;
}

body:has(footer) section.section-shell.relative.z-10.-mt-10 > div p.text-3xl,
body:has(footer) section.section-shell.relative.z-10.-mt-10 > div .text-3xl {
  color: var(--grix-accent) !important;
}

body:has(footer) section.section-shell.relative.z-10.-mt-10 > div p.text-sm,
body:has(footer) section.section-shell.relative.z-10.-mt-10 > div .text-slate-600 {
  color: rgba(255, 255, 255, 0.72) !important;
}

body:has(footer) .section-band-tint > .section-shell > [class*="rounded-[36px]"],
body:has(footer) .section-band-tint > .section-shell > .grid,
body:has(footer) .section-band-tint > .section-shell > .panel {
  background: rgba(255, 255, 255, 0.88) !important;
  border-color: rgba(17, 17, 17, 0.1) !important;
}

body:has(footer) .section-band-tint.mt-14 .panel,
body:has(footer) .section-band-tint .panel p,
body:has(footer) .section-band-tint .rounded-\[22px\] {
  background: #ffffff !important;
}

body:has(footer) .section-band-tint.mt-14 .rounded-\[22px\],
body:has(footer) .section-band-tint.mt-14 .panel {
  border-color: rgba(17, 17, 17, 0.1) !important;
}

body:has(footer) section.section-band-tint:nth-of-type(9) .section-shell > .grid > div:first-child .mt-8 {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 20px !important;
  align-items: start !important;
}

body:has(footer) section.section-band-tint:nth-of-type(9) .section-shell > .grid {
  grid-template-columns: minmax(0, 1.28fr) minmax(0, 0.72fr) !important;
  gap: 18px !important;
}

body:has(footer) section.section-band-tint:nth-of-type(9) .section-shell > .grid > div:first-child {
  padding: 8px !important;
}

body:has(footer) section.section-band-tint:nth-of-type(9) .section-shell > .grid > div:first-child .mt-8 article {
  display: block !important;
  padding: 0 !important;
  overflow: hidden !important;
  border-radius: 0 !important;
  background: #ffffff !important;
}

body:has(footer) section.section-band-tint:nth-of-type(9) .section-shell > .grid > div:first-child .mt-8 article > img {
  display: block !important;
  width: 100% !important;
  height: auto !important;
  min-height: 0 !important;
  aspect-ratio: 210 / 297 !important;
  border-radius: 0 !important;
  object-fit: contain !important;
  object-position: center center !important;
  background: #ffffff !important;
}

body:has(footer) section.section-band-tint:nth-of-type(9) .section-shell > .grid > div:first-child .mt-8 article > div {
  display: none !important;
}

body:has(footer) h1.text-4xl.font-semibold.leading-tight.tracking-tight.md\:text-6xl,
body:has(footer) h1.text-4xl.font-semibold.tracking-tight.text-slate-950.md\:text-6xl,
body:has(footer) main h1.text-4xl {
  color: #ffffff !important;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.28);
}

body:has(footer) main h1.text-4xl + p,
body:has(footer) main h1.text-4xl ~ p.text-lg,
body:has(footer) main h1.text-4xl ~ p.text-slate-600 {
  color: #555555 !important;
}

@media (max-width: 767px) {
  html,
  body {
    width: 100%;
    overflow-x: clip;
  }

  body:has(footer) {
    font-size: 15px;
  }

  body:has(footer) .section-shell,
  body:has(footer) main > div.pb-24 > section.section-shell {
    width: 100%;
    max-width: none;
    padding-inline: 16px;
  }

  body:has(footer) main > div.pb-24 {
    width: 100%;
  }

  body:has(footer) .py-24 {
    padding-block: 52px;
  }

  body:has(footer) .py-16 {
    padding-block: 44px;
  }

  body:has(footer) .pb-24 {
    padding-bottom: 56px;
  }

  body:has(footer) .mt-14 {
    margin-top: 32px;
  }

  body:has(footer) .gap-14 {
    gap: 28px;
  }

  body:has(footer) .gap-12,
  body:has(footer) .space-y-12 {
    gap: 28px;
  }

  body:has(footer) .gap-10 {
    gap: 24px;
  }

  body:has(footer) .gap-8 {
    gap: 22px;
  }

  body:has(footer) .p-8 {
    padding: 20px;
  }

  body:has(footer) .p-7,
  body:has(footer) .p-6 {
    padding: 18px;
  }

  body:has(footer) .section-title,
  body:has(footer) h1.text-4xl,
  body:has(footer) h2.text-3xl {
    font-size: 28px;
    line-height: 1.22;
    letter-spacing: -0.02em;
  }

  body:has(footer) h3.text-3xl,
  body:has(footer) h3.text-2xl {
    font-size: 21px;
    line-height: 1.3;
  }

  body:has(footer) h3.text-xl,
  body:has(footer) h3.text-lg {
    font-size: 17px;
    line-height: 1.35;
  }

  body:has(footer) .section-copy {
    font-size: 15px;
    line-height: 1.75;
  }

  body:has(footer) .section-tag {
    padding: 7px 11px;
    font-size: 10px;
    letter-spacing: 0.16em;
    border-radius: 999px !important;
  }

  body:has(footer) .panel,
  body:has(footer) [class*="rounded-[2"],
  body:has(footer) [class*="rounded-[3"] {
    border-radius: 14px !important;
  }

  body:has(footer) header > div {
    padding: 12px 16px 10px;
  }

  body:has(footer) header > div > div:first-child {
    align-items: flex-start;
    gap: 10px;
  }

  body:has(footer) header > div > div:first-child > a:first-child {
    min-width: 0;
    max-width: calc(100% - 104px);
  }

  body:has(footer) header > div > div:first-child > a:first-child p:first-child {
    font-size: 11px;
    line-height: 1.35;
    letter-spacing: 0.12em;
    color: var(--grix-accent) !important;
  }

  body:has(footer) header > div > div:first-child > a:first-child p:last-child {
    display: none;
  }

  body:has(footer) header > div > div:first-child > div:last-child {
    flex: 0 0 auto;
  }

  body:has(footer) header > div > div:first-child > div:last-child > div {
    gap: 2px;
    padding: 2px;
    letter-spacing: 0.12em;
    border-radius: 10px !important;
  }

  body:has(footer) header > div > div:first-child > div:last-child > div a {
    min-width: 42px;
    min-height: 42px;
    padding: 0 10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px !important;
  }

  body:has(footer) header nav.lg\:hidden {
    width: 100%;
    margin-top: 10px;
    padding-bottom: 4px;
    gap: 8px;
    scroll-snap-type: x proximity;
    scrollbar-width: none;
  }

  body:has(footer) header nav.lg\:hidden::-webkit-scrollbar {
    display: none;
  }

  body:has(footer) header nav.lg\:hidden a {
    min-height: 40px;
    padding: 9px 14px;
    display: inline-flex;
    align-items: center;
    scroll-snap-align: start;
    border-radius: 10px !important;
  }

  body:has(footer) section.hero-pattern {
    padding: 12px 0 28px !important;
  }

  body:has(footer) section.hero-pattern > div:not(.pointer-events-none) {
    width: 100% !important;
    padding-inline: 16px !important;
  }

  body:has(footer) section.hero-pattern > div:not(.pointer-events-none) > div {
    aspect-ratio: 1920 / 818 !important;
    border-radius: 16px !important;
    background: rgba(255, 255, 255, 0.04) !important;
  }

  body:has(footer) section.hero-pattern > div:not(.pointer-events-none) > div > img {
    width: 100% !important;
    height: 100% !important;
    object-fit: contain !important;
    object-position: center !important;
  }

  body:has(footer) section.hero-pattern > div:not(.section-shell):not(.pointer-events-none) > div > div:last-child {
    left: 12px !important;
    right: 12px !important;
    bottom: 12px !important;
    gap: 8px !important;
  }

  body:has(footer) section.hero-pattern > .section-shell {
    padding: 12px 16px 28px !important;
  }

  body:has(footer) section.hero-pattern > .section-shell img {
    aspect-ratio: 1920 / 818;
    object-fit: contain !important;
    object-position: center !important;
    border-radius: 16px !important;
  }

  body:has(footer) section.hero-pattern button {
    width: 40px !important;
    height: 40px !important;
  }

  body:has(footer) main > div.pb-24 > section.section-shell.relative {
    margin-top: -18px;
  }

  body:has(footer) main > div.pb-24 > section.section-shell.relative > .grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    padding: 12px;
    border-radius: 16px !important;
  }

  body:has(footer) main > div.pb-24 > section.section-shell.relative > .grid > div {
    min-height: 110px;
    padding: 16px 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    border-radius: 12px !important;
  }

  body:has(footer) main > div.pb-24 > section.section-shell.relative .text-3xl {
    font-size: 28px;
    line-height: 1;
  }

  body:has(footer) .section-band-tint > .section-shell > [class*="rounded-[36px]"],
  body:has(footer) .section-band-tint > .section-shell > .grid,
  body:has(footer) .section-band-tint > .section-shell > .panel {
    padding: 16px;
    gap: 26px;
    border-radius: 16px !important;
  }

  body:has(footer) .section-band-tint.mt-14 img.min-h-\[340px\] {
    min-height: 0;
    height: auto;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    border-radius: 12px !important;
  }

  body:has(footer) .section-band-tint.mt-14 .space-y-8 {
    gap: 24px;
  }

  body:has(footer) .section-band-tint.mt-14 .grid.gap-5.md\:grid-cols-2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  body:has(footer) .section-band-tint.mt-14 .grid.gap-5.md\:grid-cols-2 > .panel {
    padding: 14px;
  }

  body:has(footer) .section-band-tint.mt-14 .grid.gap-5.md\:grid-cols-2 > .panel p {
    margin-top: 8px;
    font-size: 13px;
    line-height: 1.6;
  }

  body:has(footer) .section-band-dark > .section-shell {
    gap: 28px;
  }

  body:has(footer) .section-band-dark a,
  body:has(footer) main a[class*="inline-flex"][class*="px-"] {
    min-height: 44px;
    border-radius: 10px !important;
  }

  body:has(footer) .section-band-dark article img,
  body:has(footer) .section-band-tint article img.h-72 {
    height: 210px;
  }

  body:has(footer) section.section-band-tint:nth-of-type(9) .section-shell > .grid > div:first-child {
    padding: 16px;
    border-radius: 14px !important;
  }

  body:has(footer) section.section-band-tint:nth-of-type(9) .section-shell > .grid > div:first-child .mt-8 {
    margin-top: 22px;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 12px !important;
  }

  body:has(footer) section.section-band-tint:nth-of-type(9) .section-shell > .grid > div:first-child .mt-8 article > img {
    height: auto !important;
    aspect-ratio: 210 / 297 !important;
    border-radius: 0 !important;
  }

  body:has(footer) footer .section-shell {
    padding-block: 44px;
  }

  body:has(footer) footer .grid {
    gap: 28px;
  }

  body:has(footer) footer a,
  body:has(footer) footer p {
    line-height: 1.7;
  }

  body:has(footer) input,
  body:has(footer) textarea,
  body:has(footer) select,
  body:has(footer) button {
    min-height: 44px;
  }
}

@media (max-width: 767px) {
  body:has(footer) .section-shell,
  body:has(footer) main > div.pb-24 > section.section-shell {
    padding-inline: 14px !important;
  }

  body:has(footer) .py-24 {
    padding-block: 42px !important;
  }

  body:has(footer) .section-title,
  body:has(footer) h1.text-4xl,
  body:has(footer) h2.text-3xl {
    font-size: 25px !important;
    line-height: 1.24 !important;
    letter-spacing: 0 !important;
  }

  body:has(footer) .section-copy,
  body:has(footer) p.text-lg {
    font-size: 14px !important;
    line-height: 1.72 !important;
  }

  body:has(footer) header {
    position: sticky !important;
  }

  body:has(footer) header > div {
    padding: 10px 12px 8px !important;
  }

  body:has(footer) header > div > div:first-child {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) auto !important;
    align-items: center !important;
  }

  body:has(footer) header > div > div:first-child > a:first-child {
    max-width: none !important;
  }

  body:has(footer) header > div > div:first-child > a:first-child p:first-child {
    max-width: 230px !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    white-space: nowrap !important;
  }

  body:has(footer) header nav.lg\:hidden {
    margin-inline: -12px !important;
    padding-inline: 12px !important;
    padding-bottom: 2px !important;
  }

  body:has(footer) header nav.lg\:hidden a {
    min-height: 36px !important;
    padding: 7px 12px !important;
    font-size: 13px !important;
  }

  body:has(footer) section.hero-pattern {
    padding: 10px 0 22px !important;
  }

  body:has(footer) section.hero-pattern > .section-shell {
    padding: 10px 14px 22px !important;
  }

  body:has(footer) section.hero-pattern > .section-shell > div:nth-child(2) > div:first-child {
    border-radius: 14px !important;
  }

  body:has(footer) section.hero-pattern > .section-shell img {
    aspect-ratio: 16 / 9 !important;
    height: auto !important;
    object-fit: cover !important;
    object-position: center center !important;
  }

  body:has(footer) main > div.pb-24 > section.section-shell.relative {
    margin-top: -14px !important;
  }

  body:has(footer) main > div.pb-24 > section.section-shell.relative > .grid {
    gap: 8px !important;
    padding: 10px !important;
  }

  body:has(footer) main > div.pb-24 > section.section-shell.relative > .grid > div {
    min-height: 88px !important;
    padding: 12px 8px !important;
  }

  body:has(footer) main > div.pb-24 > section.section-shell.relative .text-3xl {
    font-size: 24px !important;
  }

  body:has(footer) .section-band-tint > .section-shell > [class*="rounded-[36px]"],
  body:has(footer) .section-band-tint > .section-shell > .grid,
  body:has(footer) .section-band-tint > .section-shell > .panel {
    padding: 14px !important;
    gap: 20px !important;
  }

  body:has(footer) .section-band-tint.mt-14 .grid.gap-14 {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 18px !important;
  }

  body:has(footer) .section-band-tint.mt-14 img.min-h-\[340px\] {
    aspect-ratio: 16 / 9 !important;
    object-fit: cover !important;
    object-position: center center !important;
  }

  body:has(footer) .section-band-tint.mt-14 .grid.gap-5.md\:grid-cols-2 {
    grid-template-columns: 1fr !important;
    gap: 10px !important;
  }

  body:has(footer) .section-band-tint.mt-14 .grid.gap-5.md\:grid-cols-2 > .panel {
    padding: 14px 15px !important;
  }

  body:has(footer) .section-band-dark .grid,
  body:has(footer) .section-band-light .grid {
    grid-template-columns: 1fr !important;
  }

  body:has(footer) .section-band-dark article,
  body:has(footer) .section-band-light article,
  body:has(footer) .section-band-tint article {
    overflow: hidden !important;
  }

  body:has(footer) .section-band-dark article img,
  body:has(footer) .section-band-tint article img.h-72 {
    height: 188px !important;
    object-fit: cover !important;
  }

  body:has(footer) .panel p,
  body:has(footer) article p {
    font-size: 13px !important;
    line-height: 1.65 !important;
  }

  body:has(footer) footer .grid {
    grid-template-columns: 1fr !important;
  }
}

@media (max-width: 420px) {
  body:has(footer) header > div > div:first-child > a:first-child p:first-child {
    max-width: 190px !important;
  }

  body:has(footer) .section-title,
  body:has(footer) h1.text-4xl,
  body:has(footer) h2.text-3xl {
    font-size: 23px !important;
  }

  body:has(footer) main > div.pb-24 > section.section-shell.relative > .grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}

@media (max-width: 767px) {
  body:has(footer),
  body:has(footer) *,
  body:has(footer) *::before,
  body:has(footer) *::after {
    box-sizing: border-box !important;
  }

  html,
  body,
  body:has(footer) main,
  body:has(footer) section,
  body:has(footer) footer {
    max-width: 100% !important;
    overflow-x: hidden !important;
  }

  body:has(footer) header {
    max-width: 100% !important;
    overflow-x: hidden !important;
  }

  body:has(footer) .section-shell,
  body:has(footer) main > div.pb-24 > section.section-shell {
    width: auto !important;
    max-width: 100% !important;
    margin-inline: 0 !important;
  }

  body:has(footer) .grid,
  body:has(footer) .flex,
  body:has(footer) .panel,
  body:has(footer) article,
  body:has(footer) section > div,
  body:has(footer) main > div {
    min-width: 0 !important;
    max-width: 100% !important;
  }

  body:has(footer) h1,
  body:has(footer) h2,
  body:has(footer) h3,
  body:has(footer) p,
  body:has(footer) a,
  body:has(footer) span {
    overflow-wrap: anywhere !important;
    word-break: normal !important;
  }

  body:has(footer) header nav.lg\:hidden {
    overflow-x: auto !important;
    max-width: calc(100% + 24px) !important;
  }

  body:has(footer) main > div.pb-24 > section.section-shell.relative > .grid {
    width: 100% !important;
  }

  body:has(footer) main > div.pb-24 > section.section-shell.relative > .grid > div {
    width: 100% !important;
  }

  body:has(footer) img {
    max-width: 100% !important;
  }
}
