/* -----------------
   Minimal CSS Reset (blended with theme where sensible)
--------------------*/

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

html {
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: "Inter", sans-serif;
  letter-spacing: -0.03em;
  line-height: var(--lh-160);
}

body,
p,
span,
li,
a,
h1,
h2,
h3,
h4,
h5,
h6,
blockquote,
figcaption,
button,
input,
textarea {
  letter-spacing: -0.03em;
}

main {
  display: block;
}

ul,
ol {
  margin: 0;
  padding: 0 0 0 30px;
}

img,
svg,
video,
canvas,
audio,
iframe,
embed,
object {
  display: block;
  max-width: 100%;
}

img,
video {
  height: auto;
}

a {
  background-color: transparent;
  font-weight: 500;
}

button,
input,
select,
textarea,
optgroup {
  font: inherit;
  line-height: inherit;
  margin: 0;
}

button {
  border: 0;
  padding: 0;
  background: none;
  cursor: pointer;
}

/* Base table styling */
table {
  width: fit-content;
  border-collapse: collapse;
  border-spacing: 0;
  font-family: inherit;
  font-size: clamp(0.7rem, 1vw, 0.8rem);
  color: #333;
  border-color: #3c3c3c;
  border-radius: 5px;

  /* Responsive scrolling without wrapper */
  display: block;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

/* Header */
thead th {
  background: #3c3c3c;
  color: #fff;
  text-align: left;
  font-weight: 600;
  padding: 12px 14px;
  position: sticky;
  top: 0;
  z-index: 2;
}

/* Table cells */
td,
th {
  border: 1px solid #e5e7eb;
  padding: 10px 12px;
  vertical-align: top;
  white-space: nowrap; /* keeps wrapping text */
}

/* Zebra rows */
tbody tr:nth-child(odd) td {
  background: #fafafa;
}

/* Hover highlight */
tbody tr:hover td {
  background: #f1f5f9;
}

/* Section heading rows (colspan headings) */
tbody tr td[colspan] {
  background: #f3f4f6;
  font-weight: 700;
  border-left: none;
  border-right: none;
}

/* Make long text nicer */
td {
  line-height: 1.5;
}

.tableInnerSectionHeader {
  background: #f2f2f2 !important;
  font-weight: bold !important;
}

[hidden] {
  display: none !important;
}

/* ===============
   Base Typography
==================*/

body h1,
body h2,
body h3,
body h4,
body h5 {
  font-weight: 700;
}

body h1,
body h2,
body h3,
body h4,
body h5,
body hr {
  margin: 30px 0;
}

.gform_wrapper h1,
.gform_wrapper h2,
.gform_wrapper h3,
.gform_wrapper h4,
.gform_wrapper h5,
.gform_wrapper hr {
  margin: 15px 0;
}

body p {
  margin: 15px 0;
}

body li:not(.menu-item):not(:first-of-type) {
  margin-top: 15px;
}

.splide li {
  margin-top: 0;
}

/* Default element sizes */
body p,
body li,
body a,
body button,
body div,
body input,
body select,
body textarea {
  font-size: var(--body-font);
  line-height: var(--lh-140);
}

/*=====================
Headings default sizing
=======================*/
body h1 {
  font-size: var(--fs-h1);
  line-height: 105%;
}

body h2 {
  font-size: var(--fs-h2);
  line-height: 117%;
}

body h3 {
  font-size: var(--fs-h3);
}

body h4 {
  font-size: var(--fs-h4);
}

body h3, body h4 {
    line-height: 115%;
}

body h5 {
  font-size: var(--fs-h5);
  line-height: 133%;
}

/*=======================
Headings Class Overwrites
=========================*/
.fs-h1 {
  font-size: var(--fs-h1) !important;
  line-height: 105% !important;
}

.fs-h2 {
  font-size: var(--fs-h2) !important;
  line-height: 117% !important;
}

.fs-h3 {
  font-size: var(--fs-h3) !important;
}

.fs-h4 {
  font-size: var(--fs-h4) !important;
}

.fs-h3, .fs-h4 {
    line-height: 115% !important;
}

.fs-h5 {
  font-size: var(--fs-h5) !important;
  line-height: 133% !important;
}

.gform_wrapper h1 {
  font-size: var(--fs-h3);
}
.gform_wrapper h2 {
  font-size: var(--fs-h4);
}
.gform_wrapper h3 {
  font-size: var(--fs-h5);
}
.gform_wrapper h4 {
  font-size: clamp(0.9rem, 2.2vw, 1.1rem);
}
.gform_wrapper h5 {
  font-size: clamp(0.8rem, 2vw, 1rem);
}

/* Eyebrow / pre-heading */
.preHeading,
.eyebrow {
  font-size: var(--pre-heading-font);
  line-height: var(--lh-140);
}

/* ================
   Select Utilities
===================*/
select {
  appearance: none;
  background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 640 640"><!--!Font Awesome Pro v7.0.0 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license (Commercial License) Copyright 2025 Fonticons, Inc.--><path d="M331.3 475.3C325.1 481.5 314.9 481.5 308.7 475.3L100.7 267.3C94.5 261.1 94.5 250.9 100.7 244.7C106.9 238.5 117.1 238.5 123.3 244.7L320 441.4L516.7 244.7C522.9 238.5 533.1 238.5 539.3 244.7C545.5 250.9 545.5 261.1 539.3 267.3L331.3 475.3z"/></svg>');
  background-repeat: no-repeat;
  background-position: calc(100% - 10px) 50%;
  background-size: 15px;
  padding: 10px 40px 10px 20px;
  box-shadow: inset 1px 2px 3px rgba(0, 0, 0, 0.1);
}

main > section.section:last-of-type {
  margin-bottom: -70px;
  padding-bottom: calc(var(--spacing-y-axis) + 70px);
}

.wp-block-group:has(.section) .section {
  width: 100%;
  max-width: 100%;
}
