/**
 * Page layout main-column typography — mirrors speech-app-tabs.css content rules.
 * Scoped to .page-layout__main / .page-layout__content (front end) and .editor-styles-wrapper (page editor).
 */

.page-layout {
  --page-layout-text-color: #1c2b34;
  --page-layout-text-blue: var(--text-color-blue, #2563eb);
}

.page-layout__main h2,
.page-layout__main h3,
.page-layout__content h2,
.page-layout__content h3,
.page-layout__main h4,
.page-layout__main h4 *,
.page-layout__content h4,
.page-layout__content h4 *,
.page-layout__main .speech-app-section__content h2,
.page-layout__main .speech-app-section__content h3,
.page-layout__content .speech-app-section__content h2,
.page-layout__content .speech-app-section__content h3,
.page-layout__main .speech-app-section h4,
.page-layout__main .speech-app-section h4 *,
.page-layout__content .speech-app-section h4,
.page-layout__content .speech-app-section h4 *,
.editor-styles-wrapper h2,
.editor-styles-wrapper h3,
.editor-styles-wrapper h4,
.editor-styles-wrapper h4 *,
.editor-styles-wrapper .speech-app-section__content h2,
.editor-styles-wrapper .speech-app-section__content h3,
.editor-styles-wrapper .speech-app-section h4,
.editor-styles-wrapper .speech-app-section h4 * {
  font-family: "Work Sans", sans-serif !important;
  font-weight: 500;
  color: var(--page-layout-text-color);
  line-height: 1.2;
  margin-bottom: 8px;
}

.page-layout__main p,
.page-layout__content p,
.page-layout__main ul,
.page-layout__content ul,
.page-layout__main ol,
.page-layout__content ol,
.page-layout__main .speech-app-section__content p,
.page-layout__content .speech-app-section__content p,
.page-layout__main .speech-app-section__content ul,
.page-layout__content .speech-app-section__content ul,
.page-layout__main .speech-app-section__content ol,
.page-layout__content .speech-app-section__content ol,
.editor-styles-wrapper p,
.editor-styles-wrapper ul,
.editor-styles-wrapper ol,
.editor-styles-wrapper .speech-app-section__content p,
.editor-styles-wrapper .speech-app-section__content ul,
.editor-styles-wrapper .speech-app-section__content ol {
  line-height: 1.45;
  margin-top: 8px;
  margin-bottom: 8px;
  color: var(--page-layout-text-color);
}

.page-layout__main strong,
.page-layout__content strong,
.page-layout__main b,
.page-layout__content b,
.page-layout__main .speech-app-section__content strong,
.page-layout__content .speech-app-section__content strong,
.page-layout__main .speech-app-section__content b,
.page-layout__content .speech-app-section__content b,
.editor-styles-wrapper strong,
.editor-styles-wrapper b,
.editor-styles-wrapper .speech-app-section__content strong,
.editor-styles-wrapper .speech-app-section__content b {
  font-weight: 600;
}

.page-layout__main ul li ul,
.page-layout__content ul li ul,
.page-layout__main ol li ol,
.page-layout__content ol li ol,
.page-layout__main .speech-app-section__content ul li ul,
.page-layout__content .speech-app-section__content ul li ul,
.page-layout__main .speech-app-section__content ol li ol,
.page-layout__content .speech-app-section__content ol li ol,
.editor-styles-wrapper ul li ul,
.editor-styles-wrapper ol li ol,
.editor-styles-wrapper .speech-app-section__content ul li ul,
.editor-styles-wrapper .speech-app-section__content ol li ol {
  margin-bottom: 0;
}

.page-layout__main ul,
.page-layout__content ul,
.page-layout__main ol,
.page-layout__content ol,
.page-layout__main .speech-app-section__content ul,
.page-layout__content .speech-app-section__content ul,
.page-layout__main .speech-app-section__content ol,
.page-layout__content .speech-app-section__content ol,
.editor-styles-wrapper ul,
.editor-styles-wrapper ol,
.editor-styles-wrapper .speech-app-section__content ul,
.editor-styles-wrapper .speech-app-section__content ol {
  padding-left: 26px;
}

.page-layout__main ul,
.page-layout__content ul,
.page-layout__main .speech-app-section__content ul,
.page-layout__content .speech-app-section__content ul,
.editor-styles-wrapper ul,
.editor-styles-wrapper .speech-app-section__content ul {
  margin-top: 0;
}

.page-layout__main ul li,
.page-layout__content ul li,
.page-layout__main ol li,
.page-layout__content ol li,
.page-layout__main .speech-app-section__content ul li,
.page-layout__content .speech-app-section__content ul li,
.page-layout__main .speech-app-section__content ol li,
.page-layout__content .speech-app-section__content ol li,
.editor-styles-wrapper ul li,
.editor-styles-wrapper ol li,
.editor-styles-wrapper .speech-app-section__content ul li,
.editor-styles-wrapper .speech-app-section__content ol li {
  line-height: 1.6;
}

@media only screen and (min-width: 769px) {
  .page-layout__main ul li::before,
.page-layout__content ul li::before,
.editor-styles-wrapper ul li::before {
    line-height: 1.8;
  }
}

.page-layout__main p a,
.page-layout__main li a,
.page-layout__content p a,
.page-layout__content li a,
.page-layout__main .speech-app-section p a,
.page-layout__content .speech-app-section p a,
.page-layout__main .speech-app-section li a,
.page-layout__content .speech-app-section li a,
.page-layout__main .speech-app-section__content p a,
.page-layout__content .speech-app-section__content p a,
.page-layout__main .speech-app-section__content li a,
.page-layout__content .speech-app-section__content li a,
.editor-styles-wrapper p a,
.editor-styles-wrapper li a,
.editor-styles-wrapper .speech-app-section p a,
.editor-styles-wrapper .speech-app-section li a,
.editor-styles-wrapper .speech-app-section__content p a,
.editor-styles-wrapper .speech-app-section__content li a {
  text-decoration: none;
  font-size: inherit;
  font-weight: inherit;
  color: var(--page-layout-text-blue);
}

.page-layout__main p a:hover,
.page-layout__main li a:hover,
.page-layout__content p a:hover,
.page-layout__content li a:hover,
.page-layout__main .speech-app-section p a:hover,
.page-layout__content .speech-app-section p a:hover,
.page-layout__main .speech-app-section li a:hover,
.page-layout__content .speech-app-section li a:hover,
.page-layout__main .speech-app-section__content p a:hover,
.page-layout__content .speech-app-section__content p a:hover,
.page-layout__main .speech-app-section__content li a:hover,
.page-layout__content .speech-app-section__content li a:hover,
.editor-styles-wrapper p a:hover,
.editor-styles-wrapper li a:hover,
.editor-styles-wrapper .speech-app-section p a:hover,
.editor-styles-wrapper .speech-app-section li a:hover,
.editor-styles-wrapper .speech-app-section__content p a:hover,
.editor-styles-wrapper .speech-app-section__content li a:hover {
  text-decoration: underline;
}

.page-layout__main a[target="_blank"]::after,
.page-layout__content a[target="_blank"]::after,
.editor-styles-wrapper a[target="_blank"]::after,
.editor-styles-wrapper .speech-app-section__content a[target="_blank"]::after {
  content: "";
  display: inline-block;
  width: 14px;
  height: 14px;
  margin-left: 0.35em;
  vertical-align: -0.125em;
  flex-shrink: 0;
  background-color: currentColor;
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 14'%3E%3Cpath fill='black' d='M11.25 12H2.25C1.8375 12 1.5 11.6625 1.5 11.25V2.25C1.5 1.8375 1.8375 1.5 2.25 1.5H6C6.4125 1.5 6.75 1.1625 6.75 0.75C6.75 0.3375 6.4125 0 6 0H1.5C0.6675 0 0 0.675 0 1.5V12C0 12.825 0.675 13.5 1.5 13.5H12C12.825 13.5 13.5 12.825 13.5 12V7.5C13.5 7.0875 13.1625 6.75 12.75 6.75C12.3375 6.75 12 7.0875 12 7.5V11.25C12 11.6625 11.6625 12 11.25 12ZM8.25 0.75C8.25 1.1625 8.5875 1.5 9 1.5H10.9425L4.095 8.3475C3.8025 8.64 3.8025 9.1125 4.095 9.405C4.3875 9.6975 4.86 9.6975 5.1525 9.405L12 2.5575V4.5C12 4.9125 12.3375 5.25 12.75 5.25C13.1625 5.25 13.5 4.9125 13.5 4.5V0.75C13.5 0.3375 13.1625 0 12.75 0H9C8.5875 0 8.25 0.3375 8.25 0.75Z'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 14'%3E%3Cpath fill='black' d='M11.25 12H2.25C1.8375 12 1.5 11.6625 1.5 11.25V2.25C1.5 1.8375 1.8375 1.5 2.25 1.5H6C6.4125 1.5 6.75 1.1625 6.75 0.75C6.75 0.3375 6.4125 0 6 0H1.5C0.6675 0 0 0.675 0 1.5V12C0 12.825 0.675 13.5 1.5 13.5H12C12.825 13.5 13.5 12.825 13.5 12V7.5C13.5 7.0875 13.1625 6.75 12.75 6.75C12.3375 6.75 12 7.0875 12 7.5V11.25C12 11.6625 11.6625 12 11.25 12ZM8.25 0.75C8.25 1.1625 8.5875 1.5 9 1.5H10.9425L4.095 8.3475C3.8025 8.64 3.8025 9.1125 4.095 9.405C4.3875 9.6975 4.86 9.6975 5.1525 9.405L12 2.5575V4.5C12 4.9125 12.3375 5.25 12.75 5.25C13.1625 5.25 13.5 4.9125 13.5 4.5V0.75C13.5 0.3375 13.1625 0 12.75 0H9C8.5875 0 8.25 0.3375 8.25 0.75Z'/%3E%3C/svg%3E");
  -webkit-mask-size: contain;
  mask-size: contain;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-position: center;
  mask-position: center;
}

/*
 * Heading sizes — mirrors speech-app-tabs.css (h2 24→28px, h3 20→24px at 1025px+; h4 18px).
 */
.page-layout__main h2,
.page-layout__content h2,
.page-layout__main .speech-app-section__content h2,
.page-layout__content .speech-app-section__content h2,
.editor-styles-wrapper h2,
.editor-styles-wrapper .speech-app-section__content h2 {
  font-size: 24px;
}

.page-layout__main h3,
.page-layout__content h3,
.page-layout__main .speech-app-section__content h3,
.page-layout__content .speech-app-section__content h3,
.page-layout__main .speech-app-section h3,
.page-layout__content .speech-app-section h3,
.editor-styles-wrapper h3,
.editor-styles-wrapper .speech-app-section__content h3,
.editor-styles-wrapper .speech-app-section h3 {
  font-size: 20px;
}

.page-layout__main h4,
.page-layout__content h4,
.page-layout__main .speech-app-section h4,
.page-layout__content .speech-app-section h4,
.editor-styles-wrapper h4,
.editor-styles-wrapper .speech-app-section h4 {
  font-size: 18px;
}

@media only screen and (min-width: 1025px) {
  .page-layout__main h2,
  .page-layout__content h2,
  .page-layout__main .speech-app-section__content h2,
  .page-layout__content .speech-app-section__content h2,
  .editor-styles-wrapper h2,
  .editor-styles-wrapper .speech-app-section__content h2 {
    font-size: 28px;
  }

  .page-layout__main h3,
  .page-layout__content h3,
  .page-layout__main .speech-app-section__content h3,
  .page-layout__content .speech-app-section__content h3,
  .page-layout__main .speech-app-section h3,
  .page-layout__content .speech-app-section h3,
  .editor-styles-wrapper h3,
  .editor-styles-wrapper .speech-app-section__content h3,
  .editor-styles-wrapper .speech-app-section h3 {
    font-size: 24px;
  }

  .page-layout__main p,
  .page-layout__main li,
  .page-layout__content p,
  .page-layout__content li,
  .page-layout__main .speech-app-section p,
  .page-layout__content .speech-app-section p,
  .page-layout__main .speech-app-section li,
  .page-layout__content .speech-app-section li,
  .page-layout__main .speech-app-section__content p,
  .page-layout__content .speech-app-section__content p,
  .page-layout__main .speech-app-section__content li,
  .page-layout__content .speech-app-section__content li,
  .editor-styles-wrapper p,
  .editor-styles-wrapper li,
  .editor-styles-wrapper .speech-app-section p,
  .editor-styles-wrapper .speech-app-section li,
  .editor-styles-wrapper .speech-app-section__content p,
  .editor-styles-wrapper .speech-app-section__content li {
    font-size: 16px;
  }
}

.page-layout__main .wp-block-embed,
.page-layout__content .wp-block-embed,
.editor-styles-wrapper .wp-block-embed {
  margin-top: 0.85em;
  margin-bottom: 0.85em;
  max-width: 100%;
}

.page-layout__main .wp-block-embed .wp-block-embed__wrapper,
.page-layout__content .wp-block-embed .wp-block-embed__wrapper,
.editor-styles-wrapper .wp-block-embed .wp-block-embed__wrapper {
  min-width: 0;
  line-height: 0;
}

/* oEmbed iframes (e.g. JotForm via Shortcode block) ship a fixed width/height from the provider */
.page-layout__main iframe.wp-embedded-content,
.page-layout__content iframe.wp-embedded-content,
.page-layout__main iframe[src*="jotform"],
.page-layout__content iframe[src*="jotform"],
.page-layout__main iframe[src*="forms.ablenetinc.com"],
.page-layout__content iframe[src*="forms.ablenetinc.com"],
.page-layout__main iframe[src*="forms2.ablenetinc.com"],
.page-layout__content iframe[src*="forms2.ablenetinc.com"],
.editor-styles-wrapper iframe.wp-embedded-content {
  width: 100% !important;
  max-width: 100%;
  border: 0;
  display: block;
  overflow: hidden;
}

.page-layout__main p:has(> iframe.wp-embedded-content),
.page-layout__content p:has(> iframe.wp-embedded-content),
.page-layout__main p:has(> iframe[src*="jotform"]),
.page-layout__content p:has(> iframe[src*="jotform"]),
.page-layout__main p:has(> iframe[src*="forms.ablenetinc.com"]),
.page-layout__content p:has(> iframe[src*="forms.ablenetinc.com"]),
.page-layout__main p:has(> iframe[src*="forms2.ablenetinc.com"]),
.page-layout__content p:has(> iframe[src*="forms2.ablenetinc.com"]) {
  margin-top: 0.85em;
  margin-bottom: 0.85em;
}
