/* ===== RESET & BASE STYLES ===== */
.text-one {
  display: block;
  box-sizing: border-box;
  font-family: var(--body-text-font, var(--text-font, "Inter", sans-serif));
}

.text-one ::after,
.text-one ::before,
.text-one ::backdrop,
.text-one ::file-selector-button {
  padding: 0;
  margin: 0;
  border: 0 solid;
  box-sizing: border-box;
}

.text-one img {
  height: auto;
  max-width: 100%;
}

a {
  display: inline-block;
  text-decoration: none;
}

.text-one .container-row {
  width: 100%;
  max-width: var(--max-width, 1160px);
  padding: 0 var(--site-padding, 20px);
  margin: 0 auto;
}

.text-one .text-container {
  margin: 0 auto;
  font-family: var(--body-text-font, var(--text-font, "Inter", sans-serif));
}

/* Common RichText content styles (tables, links, lists, blockquotes) */
.text-one * {
  box-sizing: border-box;
}

table {
  border-spacing: 2px;
  border-collapse: collapse;
  display: table;
}

table,
table th,
table td {
  border: 1px solid var(--border-color, #e2e8f0);
}

table p {
  margin: 0;
  border: none;
}

caption {
  display: table-caption;
  text-align: center;
}

thead {
  vertical-align: middle;
  display: table-header-group;
  border-color: inherit;
}

tbody {
  vertical-align: middle;
  display: table-row-group;
  border-color: inherit;
}

tfoot {
  vertical-align: middle;
  display: table-footer-group;
  border-color: inherit;
}

tr {
  vertical-align: inherit;
  display: table-row;
  border-color: inherit;
}

th {
  vertical-align: inherit;
  display: table-cell;
  padding: 1px;
  font-weight: bold;
  text-align: center;
  color: var(--body-text-color, var(--text-color, #1c1f25));
}

td {
  vertical-align: inherit;
  display: table-cell;
  padding: 1px;
  text-align: inherit;
  color: var(--body-text-color, var(--text-color, #1c1f25));
}


ul {
  padding-inline-start: 40px;
  margin-block-start: 1em;
  margin-block-end: 1em;
  margin-inline-start: 0;
  margin-inline-end: 0;
  list-style-type: disc;
  display: block;
}

ol {
  padding-inline-start: 40px;
  margin-block-start: 1em;
  margin-block-end: 1em;
  margin-inline-start: 0;
  margin-inline-end: 0;
  list-style-type: decimal;
  display: block;
}

li {
  display: list-item;
  text-align: match-parent;
  color: var(--body-text-color, var(--text-color, #1c1f25));
}

blockquote {
  padding: 1.5em 10px;
  margin: 1.5em 0;
  border-left: 10px solid #ccc;
  background: #f9f9f9;
  quotes: "" " " "" "'" "'";
}

blockquote:before {
  vertical-align: -0.4em;
  margin-right: 0.25em;
  font-size: 4em;
  line-height: 0.1em;
  color: #ccc;
  content: open-quote;
}

blockquote * {
  display: inline;
  font-style: italic;
}

p {
  margin: 0 0 0 0;
  font-family: var(--body-text-font, var(--text-font, "Inter", sans-serif));
  font-size: var(--body-text-size, var(--text-size, 16px));
  font-weight: var(--body-text-weight, var(--body-text-bold, var(--text-weight, 400)));
  font-style: var(--body-text-italic, var(--text-italic, normal));
  line-height: var(--body-text-line-height, var(--text-line-height, 1.6));
  letter-spacing: var(--body-text-spacing, var(--text-spacing, 0));
  text-decoration: var(--body-text-underline, var(--text-underline, none));
  color: var(--body-text-color, var(--text-color, #1c1f25));
  opacity: calc(var(--body-text-opacity, var(--text-opacity, 100)) / 100);
}

p + p {
  margin: 16px 0 0 0;
}

ul,
ol {
  padding-left: 20px;
  margin: 0 0 20px 0;
}

li {
  margin: 0 0 8px 0;
  font-family: var(--body-text-font, var(--text-font, "Inter", sans-serif));
  font-size: var(--body-text-size, var(--text-size, inherit));
  font-weight: var(--body-text-weight, var(--body-text-bold, var(--text-weight, inherit)));
  font-style: var(--body-text-italic, var(--text-italic, normal));
  line-height: var(--body-text-line-height, var(--text-line-height, 1.6));
  letter-spacing: var(--body-text-spacing, var(--text-spacing, 0));
  text-decoration: var(--body-text-underline, var(--text-underline, none));
  color: var(--body-text-color, var(--text-color, #1c1f25));
  opacity: calc(var(--body-text-opacity, var(--text-opacity, 100)) / 100);
}

/* a {
  font-family: var(--link1-font, var(--link-font, "Inter", sans-serif));
  font-size: var(--link1-size, var(--link-size, inherit));
  font-weight: var(--link1-weight, var(--link1-bold, var(--link-weight, inherit)));
  font-style: var(--link1-italic, var(--link-italic, normal));
  line-height: var(--link1-line-height, var(--link-line-height, inherit));
  letter-spacing: var(--link1-spacing, var(--link-spacing, 0));
  text-decoration: var(--link1-underline, var(--link-underline, underline));
  color: var(--link1-color, var(--link-color, #0066cc));
  opacity: calc(var(--link1-opacity, 100) / 100);
} */

/* Device-specific styles for tablet and mobile */
.text-one.device-tablet .text-container p {
  font-size: 14px;
}
.text-one.device-tablet .text-container h1 {
  font-size: 24px;
}
.text-one.device-tablet .text-container h2 {
  font-size: 20px;
}
.text-one.device-tablet .text-container h3 {
  font-size: 18px;
}
.text-one.device-tablet .text-container h4 {
  font-size: 16px;
}
.text-one.device-tablet .text-container h5 {
  font-size: 16px;
}
.text-one.device-tablet .text-container h6 {
  font-size: 14px;
}

.text-one.device-mobile .text-container p {
  font-size: 14px;
}
.text-one.device-mobile .text-container h1 {
  font-size: 20px;
}
.text-one.device-mobile .text-container h2 {
  font-size: 18px;
}
.text-one.device-mobile .text-container h3 {
  font-size: 16px;
}
.text-one.device-mobile .text-container h4 {
  font-size: 14px;
}
.text-one.device-mobile .text-container h5 {
  font-size: 14px;
}
.text-one.device-mobile .text-container h6 {
  font-size: 12px;
}

/* ===== RESPONSIVE MEDIA QUERIES ===== */
@media screen and (max-width: 1024px) {
  p {
    font-size: 15px;
  }
  h1 {
    font-size: 28px;
  }
  h2 {
    font-size: 24px;
  }
  h3 {
    font-size: 20px;
  }
  h4 {
    font-size: 14px;
  }
  h5 {
    font-size: 14px;
  }
  h6 {
    font-size: 12px;
  }
}

@media screen and (max-width: 767px) {
  p {
    font-size: 14px;
  }
  h1 {
    font-size: 24px;
  }
  h2 {
    font-size: 20px;
  }
  h3 {
    font-size: 18px;
  }
  h4 {
    font-size: 12px;
  }
  h5 {
    font-size: 12px;
  }
  h6 {
    font-size: 10px;
  }
}
