/* === GLOBAL BASE STYLES (FORCED) === */

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  scroll-behavior: smooth;
}

main {
  max-width: 1600px;
  margin-inline: auto;
  width: 100%;
}

.container {
  margin-inline: auto;
}

body {
  overflow-x: hidden;
}

section {
  width: 100%;
}

.utility-shell {
  width: min(980px, calc(100% - 24px));
  margin: 0 auto;
  padding: 28px 0 56px;
}

.utility-page--with-header .utility-shell {
  padding-top: calc(
    28px + var(--utility-chrome-offset, calc(var(--spacing-6, 48px) + var(--spacing-4, 32px)))
  );
}

@media (max-width: 720px) {
  .utility-shell {
    width: min(100% - 16px, 980px);
    padding-top: 16px;
    padding-bottom: 36px;
  }

  .utility-page--with-header .utility-shell {
    padding-top: calc(
      16px +
        var(--utility-chrome-offset-mobile, calc(var(--spacing-4, 32px) + var(--spacing-3, 24px)))
    );
  }
}

/* --- SVG icons (local sprite) --- */
.icon {
  width: 1.25rem;
  height: 1.25rem;
  display: inline-block;
  vertical-align: middle;
  flex: 0 0 auto;
}

/* Generated typography guard: keeps long localized words inside responsive layouts. */
html {
  overflow-wrap: break-word;
}
body {
  overflow-x: hidden;
}
h1,
h2,
h3,
h4,
h5,
h6,
p,
li,
blockquote,
figcaption,
label,
legend,
summary,
dd,
dt,
th,
td {
  overflow-wrap: anywhere;
  word-break: normal;
  hyphens: auto;
}
h1,
h2,
h3,
h4,
h5,
h6 {
  text-wrap: balance;
  max-width: 100%;
}
p,
li,
blockquote,
figcaption {
  text-wrap: pretty;
}
/* Keep narrow localized action labels readable; do not allow letter-by-letter CTA pills. */
a,
button,
[role='button'] {
  min-width: 0;
  max-width: 100%;
  overflow-wrap: normal;
  word-break: normal;
  hyphens: auto;
}
main :is(p, li, blockquote, figcaption, dd, dt, small) a {
  overflow-wrap: anywhere;
  word-break: normal;
}
main :is(a, button, [role='button']):is([class*='px-'], [class*='rounded-'], [class*='border']) {
  white-space: normal;
  line-height: 1.15;
  text-align: center;
}
main
  :is(a, button, [role='button']):not([aria-label]):is(
    [class*='rounded-full'],
    [class*='aspect-square'],
    [class*='w-12'],
    [class*='w-14'],
    [class*='w-16'],
    [class*='w-20']
  ) {
  width: auto;
  height: auto;
  aspect-ratio: auto;
  min-width: min(10rem, 100%);
  min-height: 2.75rem;
  padding-left: max(1rem, 1em);
  padding-right: max(1rem, 1em);
}
main :is(a, button, [role='button']):is([style*='writing-mode'], [class*='vertical']) {
  writing-mode: horizontal-tb !important;
  text-orientation: mixed !important;
}
@media (max-width: 640px) {
  main
    :is(a, button, [role='button']):not([aria-label]):is(
      [class*='rounded-full'],
      [class*='aspect-square'],
      [class*='w-12'],
      [class*='w-14'],
      [class*='w-16'],
      [class*='w-20']
    ) {
    width: 100%;
    min-width: 0;
  }
}
h1[class*='whitespace-nowrap'],
h2[class*='whitespace-nowrap'],
h3[class*='whitespace-nowrap'],
p[class*='whitespace-nowrap'],
a[class*='whitespace-nowrap'],
button[class*='whitespace-nowrap'] {
  white-space: normal;
}
.site-brand span,
.site-nav__link,
.site-mobileNav__link,
.site-footer__link,
.site-footer__contactLink {
  overflow-wrap: anywhere;
  word-break: normal;
  hyphens: auto;
}

/* g2 palette ssot start */
:root {
  --g2-palette-dark: #400d02;
  --g2-palette-light: #f8fafc;
  --g2-palette-accent: #690c0c;
  --g2-palette-text: #690c0c;
  --g2-color-primary: var(--g2-palette-accent);
  --g2-color-accent: var(--g2-palette-accent);
  --g2-color-text: var(--g2-palette-text);
  --g2-palette-text-on-dark: #ffffff;
}
/* g2 palette ssot end */
