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

:root {
  --kk-bg: #0f2f4b;
  --kk-accent: #c8322a;
  --kk-text: #0b1720;
  --kk-white: #fff;
  --kk-muted: #5b6b79;
  --kk-light-gray: #f7f8fa;
  --kk-radius: 12px;
  /* --kk-gap: clamp(1rem, 2vw, 1.5rem); */
  --kk-gap: var(--kk-baseline);
  --kk-max: 1100px;
  --kk-baseline: 24px;
  --kk-grid-step: 24px;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
  color: var(--kk-text);
}

body.page-id-3182 {
  font-size: 16px;
  line-height: var(--kk-baseline);
}

body.page-id-3182 :is(h1, h2, h3, h4, h5, h6, .subtitle) {
  font-weight: 700;
  margin-top: 0;
  margin-bottom: var(--kk-baseline);
  color: inherit;
}

body.page-id-3182 h1 {
  font-size: 48px;
  line-height: 48px;
}

body.page-id-3182 h2 {
  font-size: 40px;
  line-height: 48px;
}

body.page-id-3182 h3 {
  font-size: 24px;
  line-height: 24px;
}

body.page-id-3182 h4 {
  font-size: 20px;
  line-height: 24px;
}

body.page-id-3182 h5 {
  font-size: 18px;
  line-height: 24px;
}

body.page-id-3182 h6 {
  font-size: 16px;
  line-height: 24px;
}

body.page-id-3182 .subtitle {
  font-size: 18px;
  line-height: 24px;
  font-weight: 600;
}

body.page-id-3182 .entry-content h1 {
  margin-top: calc(var(--kk-baseline) * 2);
}

body.page-id-3182 .entry-content h2 {
  margin-top: calc(var(--kk-baseline) * 2);
  margin-bottom: var(--kk-baseline);
}

body.page-id-3182 .entry-content h3 {
  margin-top: var(--kk-baseline);
}

body.page-id-3182 .entry-content .subtitle {
  margin-bottom: calc(var(--kk-baseline) * 2);
}

body.page-id-3182 .entry-content h2 + .kk-section-subtitle {
  margin-top: 0;
}

body.page-id-3182 :is(p, ul, ol, dl, blockquote) {
  margin-block-start: 0;
  margin-block-end: var(--kk-baseline);
}

body.page-id-3182 .entry-content :is(ul, ol) {
  padding-left: 1.5rem;
}

body.page-id-3182 .entry-content :is(p, li, blockquote) {
  line-height: var(--kk-baseline) !important;
}

/* baseline utility helpers */
body.page-id-3182 .mt-1 { margin-top: var(--kk-baseline) !important; }
body.page-id-3182 .mt-2 { margin-top: calc(var(--kk-baseline) * 2) !important; }
body.page-id-3182 .mt-3 { margin-top: calc(var(--kk-baseline) * 3) !important; }
body.page-id-3182 .mt-4 { margin-top: calc(var(--kk-baseline) * 4) !important; }

body.page-id-3182 .mb-1 { margin-bottom: var(--kk-baseline) !important; }
body.page-id-3182 .mb-2 { margin-bottom: calc(var(--kk-baseline) * 2) !important; }
body.page-id-3182 .mb-3 { margin-bottom: calc(var(--kk-baseline) * 3) !important; }
body.page-id-3182 .mb-4 { margin-bottom: calc(var(--kk-baseline) * 4) !important; }

.kk-container {
  max-width: var(--kk-max);
  margin: 0 auto;
}

/* Override theme max-width for dev homepage - page-id-3182 */
/* First, reset all width restrictions for main containers */
body.page-id-3182 #main,
body.page-id-3182 .content-area,
body.page-id-3182 article,
body.page-id-3182 .entry-content {
  max-width: 100% !important;
  width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
}

@media only screen and (min-device-width: 768px) and (max-device-width: 1296px) and (orientation: portrait) {
  body.page-id-3182 #main,
  body.page-id-3182 .content-area,
  body.page-id-3182 article,
  body.page-id-3182 .entry-content {
    padding: 0 !important;
  }
}

/* Allow full-width for panel rows (backgrounds) */
body.page-id-3182 .panel-row-style,
body.page-id-3182 .siteorigin-panels-stretch {
  max-width: 100% !important;
  width: 100% !important;
  margin: 0 !important;
}

/* Constrain panel-grid content to the page max width */
body.page-id-3182 .panel-layout,
body.page-id-3182 .panel-grid,
body.page-id-3182 .panel-row-style.kk-hero .panel-inside,
body.page-id-3182 .kk-container,
body.page-id-3182.responsive.layout-full #page-wrapper .full-container {
  max-width: 1200px !important;
  margin-left: auto !important;
  margin-right: auto !important;
  width: 100% !important;
}

body.page-id-3182 .kk-container {
  padding-left: calc(var(--kk-baseline) * 2);
  padding-right: calc(var(--kk-baseline) * 2);
}

/* Tablet responsive design */
@media (max-width: 1296px) {
  body.page-id-3182 .kk-container {
    padding-left: 0;
    padding-right: 0;
  }

  /* Add side margins to main content areas on tablet */
  body.page-id-3182 .panel-row-style.kk-hero .panel-inside,
  body.page-id-3182.responsive.layout-full #page-wrapper .full-container {
    padding-left: 48px !important;
    padding-right: 48px !important;
  }
}

/* Mobile responsive design */
@media (max-width: 767px) {
  body.page-id-3182 .kk-container {
    padding-left: var(--kk-baseline);
    padding-right: var(--kk-baseline);
  }

  /* Add side margins to main content areas on mobile */
  body.page-id-3182 .panel-layout {
    padding-left: 0 !important;
    padding-right: 0 !important;
  }

  body.page-id-3182 .panel-grid,
  body.page-id-3182 .panel-row-style.kk-hero .panel-inside,
  body.page-id-3182.responsive.layout-full #page-wrapper .full-container {
    padding-left: 16px !important;
    padding-right: 16px !important;
  }
}

/* Increase max width just for the Authority homepage */
body.page-id-3182 {
  --kk-max: 1200px !important;
}

body.page-id-3182 .kk-section-title,
.kk-section-title {
  text-align: center;
  font-weight: 800;
  color: var(--kk-text) !important;
  margin-bottom: var(--kk-baseline);
}

body.page-id-3182 .kk-section-title:not(h1):not(h2):not(h3):not(h4):not(h5):not(h6),
.kk-section-title:not(h1):not(h2):not(h3):not(h4):not(h5):not(h6) {
  font-size: 40px;
  line-height: 48px;
}

body.page-id-3182 .kk-section-subtitle,
.kk-section-subtitle {
  text-align: center;
  font-size: 18px;
  line-height: 24px;
  color: var(--kk-muted) !important;
  margin-bottom: calc(var(--kk-baseline) * 2);
  max-width: 60ch;
  margin-left: auto;
  margin-right: auto;
}

body.page-id-3182 .kk-practice .kk-section-title {
  margin-top: 0;
  margin-bottom: var(--kk-baseline);
}

body.page-id-3182 .kk-practice .kk-section-subtitle {
  margin-top: 0;
  margin-bottom: calc(var(--kk-baseline) * 2);
}

.sr-only {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

:focus-visible {
  outline: 3px solid #ffbf47;
  outline-offset: 2px;
}

/* baseline grid overlay -------------------------------------------------- */
/* toggle by adding kk-baseline-grid plus kk-grid-8|16|24 to <body> */
body.kk-baseline-grid::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 9999;
  pointer-events: none;
  background-image: repeating-linear-gradient(
    to bottom,
    rgba(200, 50, 42, 0.28) 0,
    rgba(200, 50, 42, 0.28) 1px,
    transparent 1px,
    transparent var(--kk-grid-step)
  );
  mix-blend-mode: multiply;
}

body.kk-grid-8 {
  --kk-grid-step: 8px;
}

body.kk-grid-16 {
  --kk-grid-step: 16px;
}

body.kk-grid-24 {
  --kk-grid-step: 24px;
}
