/* Genesis4Life - Mobile padding for content readability */
@media (max-width: 767px) {
  .entry-content,
  .content-container,
  .single .content-container,
  .page .content-container,
  .site-container .content-container,
  .wp-site-blocks .entry-content {
    padding-left: 20px !important;
    padding-right: 20px !important;
    box-sizing: border-box;
  }

  .entry-content .wp-block-group.alignfull > .wp-block-group__inner-container,
  .entry-content .wp-block-group.alignwide > .wp-block-group__inner-container {
    padding-left: 16px !important;
    padding-right: 16px !important;
    box-sizing: border-box;
  }

  .entry-content .wp-block-columns,
  .entry-content .wp-block-column {
    padding-left: 8px;
    padding-right: 8px;
    box-sizing: border-box;
  }

  .entry-content > p,
  .entry-content > h1,
  .entry-content > h2,
  .entry-content > h3,
  .entry-content > h4,
  .entry-content > ul,
  .entry-content > ol {
    padding-left: 4px;
    padding-right: 4px;
    box-sizing: border-box;
  }

  .wp-block-group:not(.alignfull):not(.alignwide),
  .wp-block-columns:not(.alignfull):not(.alignwide) {
    padding-left: 16px;
    padding-right: 16px;
    box-sizing: border-box;
  }
}

/* Genesis4Life - Text contrast for light sections (sections with #f4f6f8 background) */
.wp-block-group.has-background[style*="f4f6f8"] h1,
.wp-block-group.has-background[style*="f4f6f8"] h2,
.wp-block-group.has-background[style*="f4f6f8"] h3,
.wp-block-group.has-background[style*="f4f6f8"] h4,
.wp-block-group.has-background[style*="f4f6f8"] h5,
.wp-block-group.has-background[style*="f4f6f8"] h6 {
  color: #0a1f33 !important;
}

.wp-block-group.has-background[style*="f4f6f8"] p,
.wp-block-group.has-background[style*="f4f6f8"] li,
.wp-block-group.has-background[style*="f4f6f8"] blockquote,
.wp-block-group.has-background[style*="f4f6f8"] .wp-block-paragraph {
  color: #1a3a5c !important;
}

.wp-block-group.has-background[style*="f4f6f8"] em,
.wp-block-group.has-background[style*="f4f6f8"] i {
  color: #6e63b6 !important;
}

.wp-block-group.has-background[style*="f4f6f8"] .wp-block-separator {
  border-color: #c7d1da !important;
}

/* Strong text remains accent color */
.wp-block-group.has-background[style*="f4f6f8"] strong,
.wp-block-group.has-background[style*="f4f6f8"] b {
  color: #0a1f33 !important;
}
