/* ==================== Child Theme - Support Page Styles ==================== */
/* 
 * Purpose: Support page specific styles and overrides
 * 
 * Rules:
 * - Scope everything to body.page-support to avoid cross-page impact
 * - Only define styles that are specific to the Support page
 * - Editor content styles should be minimal, let WordPress/Gutenberg handle most styling
 */

/* ==================== Support Content ==================== */
body.page-template-page-support-php .section-support,
body.page-support .section-support,
main.page-support .section-support {
  padding-top: 0;
  padding-bottom: 0;
}

body.page-template-page-support-php .support__content,
body.page-support .support__content,
main.page-support .support__content {
  width: 100%;
}

body.page-template-page-support-php .support__title,
body.page-support .support__title,
main.page-support .support__title {
  text-align: left;
  margin-bottom: 30px;
}

body.page-template-page-support-php .support__editor-content,
body.page-support .support__editor-content,
main.page-support .support__editor-content {
  /* WordPress editor content - minimal styling to preserve editor formatting */
  color: var(--body-text-color, #333);
  line-height: 1.8;
}

body.page-template-page-support-php .support__editor-content .alignwide,
body.page-support .support__editor-content .alignwide,
main.page-support .support__editor-content .alignwide {
  max-width: 1400px;
  margin-left: auto;
  margin-right: auto;
}

body.page-template-page-support-php .support__editor-content .alignfull,
body.page-support .support__editor-content .alignfull,
main.page-support .support__editor-content .alignfull {
  width: 100vw;
  max-width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
}

/* Gutenberg blocks support */
body.page-template-page-support-php .support__editor-content .wp-block-group,
body.page-support .support__editor-content .wp-block-group,
main.page-support .support__editor-content .wp-block-group {
  margin-bottom: 2rem;
}

body.page-template-page-support-php .support__editor-content .wp-block-heading,
body.page-support .support__editor-content .wp-block-heading,
main.page-support .support__editor-content .wp-block-heading {
  color: var(--heading-primary-color, #1f2d3d);
  margin-top: 2rem;
  margin-bottom: 1rem;
}

body.page-template-page-support-php .support__editor-content .wp-block-paragraph,
body.page-support .support__editor-content .wp-block-paragraph,
main.page-support .support__editor-content .wp-block-paragraph {
  margin-bottom: 1.5rem;
}

body.page-template-page-support-php .support__editor-content .wp-block-image,
body.page-support .support__editor-content .wp-block-image,
main.page-support .support__editor-content .wp-block-image {
  margin: 2rem 0;
}

body.page-template-page-support-php .support__editor-content .wp-block-columns,
body.page-support .support__editor-content .wp-block-columns,
main.page-support .support__editor-content .wp-block-columns {
  margin: 2rem 0;
}

/* Classic Editor support */
body.page-template-page-support-php .support__editor-content p,
body.page-support .support__editor-content p,
main.page-support .support__editor-content p {
  margin-bottom: 1.5rem;
}

body.page-template-page-support-php .support__editor-content h2,
body.page-support .support__editor-content h2,
main.page-support .support__editor-content h2 {
  font-size: 28px;
  font-weight: 700;
  color: var(--heading-primary-color, #1f2d3d);
  margin-top: 2.5rem;
  margin-bottom: 1rem;
}

body.page-template-page-support-php .support__editor-content h3,
body.page-support .support__editor-content h3,
main.page-support .support__editor-content h3 {
  font-size: 24px;
  font-weight: 700;
  color: var(--heading-primary-color, #1f2d3d);
  margin-top: 2rem;
  margin-bottom: 1rem;
}

body.page-template-page-support-php .support__editor-content ul,
body.page-support .support__editor-content ul,
body.page-template-page-support-php .support__editor-content ol,
body.page-support .support__editor-content ol,
main.page-support .support__editor-content ul,
main.page-support .support__editor-content ol {
  margin: 1.5rem 0;
  padding-left: 2rem;
}

body.page-template-page-support-php .support__editor-content li,
body.page-support .support__editor-content li,
main.page-support .support__editor-content li {
  margin-bottom: 0.75rem;
}

body.page-template-page-support-php .support__editor-content img,
body.page-support .support__editor-content img,
main.page-support .support__editor-content img {
  max-width: 100%;
  height: auto;
  margin: 2rem 0;
}

/* ==================== Responsive ==================== */
@media (max-width: 768px) {
  body.page-template-page-support-php .support__title,
  body.page-support .support__title,
  main.page-support .support__title {
    font-size: 28px;
    margin-bottom: 20px;
  }
}

