.sf-content,
.editor-styles-wrapper .sf-content {
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 56px var(--sf-px, 72px) 72px;
  background: var(--sf-bg, #f4f7fb);
  box-sizing: border-box;
}

.sf-content--bg-gray,
.editor-styles-wrapper .sf-content--bg-gray {
  background: var(--sf-bg, #f4f7fb);
}

.sf-content--bg-white,
.editor-styles-wrapper .sf-content--bg-white {
  background: #fff;
}

.sf-content--bg-custom,
.editor-styles-wrapper .sf-content--bg-custom {
  /* color via inline style; fallback if missing */
  background: #eef4fb;
}

.sf-content__inner,
.editor-styles-wrapper .sf-content__inner {
  max-width: 800px;
  margin: 0 auto;
  padding: 0;
  background: transparent;
  border-radius: 0;
  box-sizing: border-box;
}


.sf-content--bg-white .sf-content__inner,
.editor-styles-wrapper .sf-content--bg-white .sf-content__inner {
  padding: 0;
  background: transparent;
  border-radius: 0;
}

.sf-content__inner::after,
.editor-styles-wrapper .sf-content__inner::after {
  content: "";
  display: table;
  clear: both;
}

.sf-content__inner > *:first-child,
.editor-styles-wrapper .sf-content__inner > *:first-child {
  margin-top: 0 !important;
}

.sf-content__inner h1,
.sf-content__inner h2,
.sf-content__inner h3,
.sf-content__inner h4,
.editor-styles-wrapper .sf-content__inner h1,
.editor-styles-wrapper .sf-content__inner h2,
.editor-styles-wrapper .sf-content__inner h3,
.editor-styles-wrapper .sf-content__inner h4 {
  font-family: var(--sf-font-heading, Montserrat, sans-serif);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--sf-navy, #0a1f44);
  line-height: 1.15;
  clear: both;
}

.sf-content__inner h1,
.editor-styles-wrapper .sf-content__inner h1 {
  font-size: 32px;
  margin: 0 0 20px;
}

.sf-content__inner h2,
.editor-styles-wrapper .sf-content__inner h2 {
  font-size: 24px;
  margin: 40px 0 16px;
}

.sf-content__inner h3,
.editor-styles-wrapper .sf-content__inner h3 {
  font-size: 20px;
  margin: 32px 0 12px;
}

.sf-content__inner h4,
.editor-styles-wrapper .sf-content__inner h4 {
  font-size: 17px;
  margin: 28px 0 10px;
}

.sf-content__inner p,
.editor-styles-wrapper .sf-content__inner p {
  margin: 0 0 16px;
  font-family: var(--sf-font-body, Roboto, sans-serif);
  font-size: 15px;
  line-height: 1.85;
  color: rgba(10, 31, 68, 0.65);
}

.sf-content__inner p:last-child,
.editor-styles-wrapper .sf-content__inner p:last-child {
  margin-bottom: 0;
}

.sf-content__inner a:not(.sf-btn),
.editor-styles-wrapper .sf-content__inner a:not(.sf-btn) {
  color: var(--sf-blue, #1a5fa8);
  font-weight: 600;
  text-decoration: underline;
  text-decoration-color: rgba(26, 95, 168, 0.28);
  text-underline-offset: 3px;
  transition: color 0.2s, text-decoration-color 0.2s;
}

.sf-content__inner a:not(.sf-btn):hover,
.editor-styles-wrapper .sf-content__inner a:not(.sf-btn):hover {
  color: var(--sf-orange, #ff6b2b);
  text-decoration-color: rgba(255, 107, 43, 0.4);
}

.sf-content__inner ul,
.sf-content__inner ol,
.editor-styles-wrapper .sf-content__inner ul,
.editor-styles-wrapper .sf-content__inner ol {
  margin: 0 0 20px;
  padding-left: 1.25em;
  list-style: disc;
}

.sf-content__inner ol,
.editor-styles-wrapper .sf-content__inner ol {
  list-style: decimal;
}

.sf-content__inner li,
.editor-styles-wrapper .sf-content__inner li {
  margin: 0 0 8px;
  font-size: 15px;
  line-height: 1.7;
  color: rgba(10, 31, 68, 0.65);
}

.sf-content__inner li::marker,
.editor-styles-wrapper .sf-content__inner li::marker {
  color: var(--sf-blue, #1a5fa8);
}

.sf-content__inner .wp-block-image,
.editor-styles-wrapper .sf-content__inner .wp-block-image {
  margin: 28px 0;
}

.sf-content__inner .wp-block-image img,
.editor-styles-wrapper .sf-content__inner .wp-block-image img {
  display: block;
  height: auto;
  border-radius: var(--sf-radius, 5px);
}

.sf-content__inner .wp-block-image:not(.alignleft):not(.alignright):not(.aligncenter) img,
.editor-styles-wrapper
  .sf-content__inner
  .wp-block-image:not(.alignleft):not(.alignright):not(.aligncenter)
  img {
  width: 100%;
}

.sf-content__inner .wp-block-image.alignleft,
.editor-styles-wrapper .sf-content__inner .wp-block-image.alignleft {
  float: left;
  margin: 6px 28px 20px 0;
  max-width: 48%;
}

.sf-content__inner .wp-block-image.alignright,
.editor-styles-wrapper .sf-content__inner .wp-block-image.alignright {
  float: right;
  margin: 6px 0 20px 28px;
  max-width: 48%;
}

.sf-content__inner .wp-block-image.aligncenter,
.editor-styles-wrapper .sf-content__inner .wp-block-image.aligncenter {
  float: none;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.sf-content__inner .wp-block-image.alignleft img,
.sf-content__inner .wp-block-image.alignright img,
.sf-content__inner .wp-block-image.aligncenter img,
.editor-styles-wrapper .sf-content__inner .wp-block-image.alignleft img,
.editor-styles-wrapper .sf-content__inner .wp-block-image.alignright img,
.editor-styles-wrapper .sf-content__inner .wp-block-image.aligncenter img {
  width: 100%;
  max-width: 100%;
}

.sf-content__inner .wp-block-image figcaption,
.editor-styles-wrapper .sf-content__inner .wp-block-image figcaption {
  margin-top: 10px;
  font-family: var(--sf-font-heading, Montserrat, sans-serif);
  font-size: 12px;
  font-weight: 600;
  color: rgba(10, 31, 68, 0.45);
  text-align: center;
}

.sf-content-image,
.editor-styles-wrapper .sf-content-image {
  margin: 28px 0;
  box-sizing: border-box;
}

.sf-content-image img,
.editor-styles-wrapper .sf-content-image img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: var(--sf-radius, 5px);
}

.sf-content-image figcaption,
.editor-styles-wrapper .sf-content-image figcaption {
  margin-top: 10px;
  font-family: var(--sf-font-heading, Montserrat, sans-serif);
  font-size: 12px;
  font-weight: 600;
  color: rgba(10, 31, 68, 0.45);
  text-align: center;
}

.sf-content-image--none,
.editor-styles-wrapper .sf-content-image--none {
  float: none;
  display: block;
  clear: both;
}

.sf-content-image--center,
.editor-styles-wrapper .sf-content-image--center {
  float: none;
  display: block;
  margin-left: auto;
  margin-right: auto;
  clear: both;
}

.sf-content-image--left,
.editor-styles-wrapper .sf-content-image--left {
  float: left;
  margin: 6px 28px 20px 0;
}

.sf-content-image--right,
.editor-styles-wrapper .sf-content-image--right {
  float: right;
  margin: 6px 0 20px 28px;
}

.sf-content-image.is-empty,
.editor-styles-wrapper .sf-content-image.is-empty {
  float: none;
  width: 100% !important;
  max-width: 100% !important;
}

.sf-content-image__placeholder,
.editor-styles-wrapper .sf-content-image__placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  min-height: 160px;
  padding: 24px;
  border: 2px dashed rgba(26, 95, 168, 0.35);
  border-radius: var(--sf-radius, 5px);
  background: rgba(244, 247, 251, 0.9);
  color: var(--sf-navy, #0a1f44);
  font-family: var(--sf-font-heading, Montserrat, sans-serif);
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
}

.sf-content-image__placeholder i {
  font-size: 22px;
  color: var(--sf-blue, #1a5fa8);
}

.sf-content__inner .sf-artquote,
.sf-content__inner .sf-artlist,
.sf-content__inner .sf-artsummary,
.editor-styles-wrapper .sf-content__inner .sf-artquote,
.editor-styles-wrapper .sf-content__inner .sf-artlist,
.editor-styles-wrapper .sf-content__inner .sf-artsummary {
  margin-left: 0;
  margin-right: 0;
  clear: both;
}

.sf-content-btn,
.editor-styles-wrapper .sf-content-btn {
  display: block;
  margin: 28px 0 8px;
}

.sf-content-btn--left,
.editor-styles-wrapper .sf-content-btn--left {
  text-align: left;
}

.sf-content-btn--center,
.editor-styles-wrapper .sf-content-btn--center {
  text-align: center;
}

.sf-content-btn--right,
.editor-styles-wrapper .sf-content-btn--right {
  text-align: right;
}

.sf-content-btn .sf-btn,
.editor-styles-wrapper .sf-content-btn .sf-btn {
  display: inline-flex;
  gap: 10px;
  vertical-align: middle;
}

.editor-styles-wrapper .sf-content-btn .sf-btn {
  cursor: text;
}

.sf-content-btn--md,
.editor-styles-wrapper .sf-content-btn--md {
  height: 48px;
  padding: 0 28px;
  font-size: 14px;
}

.wp-block-swim-family-content,
.wp-block-swim-family-button,
.wp-block-swim-family-image {
  max-width: none !important;
}

.sf-inner-content .wp-block-swim-family-content,
.sf-inner-content .sf-content,
.sf-home-content .wp-block-swim-family-content,
.sf-home-content .sf-content,
.sf-service-content .wp-block-swim-family-content,
.sf-service-content .sf-content {
  width: 100%;
  max-width: none;
  margin-left: 0;
  margin-right: 0;
  box-sizing: border-box;
}

@media (max-width: 767.98px) {
  .sf-content,
  .editor-styles-wrapper .sf-content {
    padding: 32px 0 48px;
  }

  .sf-content--bg-gray,
  .sf-content--bg-custom,
  .editor-styles-wrapper .sf-content--bg-gray,
  .editor-styles-wrapper .sf-content--bg-custom {
  }

  .sf-content--bg-gray .sf-content__inner,
  .sf-content--bg-custom .sf-content__inner,
  .sf-content--bg-white .sf-content__inner,
  .editor-styles-wrapper .sf-content--bg-gray .sf-content__inner,
  .editor-styles-wrapper .sf-content--bg-custom .sf-content__inner,
  .editor-styles-wrapper .sf-content--bg-white .sf-content__inner {
    max-width: none;
    padding: 0 20px;
    border-radius: 0;
    background: transparent;
  }

  .sf-content__inner h1,
  .editor-styles-wrapper .sf-content__inner h1 {
    font-size: 26px;
  }

  .sf-content__inner h2,
  .editor-styles-wrapper .sf-content__inner h2 {
    font-size: 20px;
    margin-top: 32px;
  }

  .sf-content__inner h3,
  .editor-styles-wrapper .sf-content__inner h3 {
    font-size: 18px;
  }

  .sf-content__inner p,
  .sf-content__inner li,
  .editor-styles-wrapper .sf-content__inner p,
  .editor-styles-wrapper .sf-content__inner li {
    font-size: 14px;
  }

  .sf-content__inner .wp-block-image.alignleft,
  .sf-content__inner .wp-block-image.alignright,
  .sf-content-image--left,
  .sf-content-image--right,
  .editor-styles-wrapper .sf-content__inner .wp-block-image.alignleft,
  .editor-styles-wrapper .sf-content__inner .wp-block-image.alignright,
  .editor-styles-wrapper .sf-content-image--left,
  .editor-styles-wrapper .sf-content-image--right {
    float: none;
    width: 100% !important;
    max-width: 100% !important;
    margin: 20px 0;
  }

  .sf-content-btn,
  .editor-styles-wrapper .sf-content-btn {
    clear: both;
  }

  .sf-content-btn .sf-btn,
  .editor-styles-wrapper .sf-content-btn .sf-btn {
    width: 100%;
  }
}
