/* CMS Corporate Page Styles — loaded only on CMS pages */

/* Import Manrope font from Google Fonts */
@import url("https://fonts.googleapis.com/css2?family=Manrope:wght@200;300;400;500;600;700;800&display=swap");

/* Page background — force white on all wrapper layers */
body#cms,
body#cms main,
body#cms .tv-main-div,
body#cms #wrapper,
body#cms #wrapper > .container,
body#cms #content-wrapper {
  background-color: #ffffff !important;
}

/* Remove default theme border/card styling on CMS content */
body#cms #main .page-content.page-cms.tv-sub-pages-inner-content {
  border: none;
  border-radius: 0;
  padding: 60px 0;
  margin: 0 auto 30px;
  max-width: 1256px;
  background: #ffffff;
}

/* Override the container width for CMS pages */
body#cms #wrapper > .container {
  max-width: 1256px;
}

/* All text: color #000000, font Manrope */
body#cms #main .cms-description,
body#cms #main .cms-description *,
body#cms #main .cms-description p,
body#cms #main .cms-description h1,
body#cms #main .cms-description h2,
body#cms #main .cms-description h3,
body#cms #main .cms-description h4,
body#cms #main .cms-description h5,
body#cms #main .cms-description h6,
body#cms #main .cms-description a,
body#cms #main .cms-description li,
body#cms #main .cms-description td,
body#cms #main .cms-description th,
body#cms #main .cms-description span,
body#cms #main .cms-description blockquote {
  color: #000000;
  font-family: "Manrope", sans-serif;
}

/* Tighter line spacing and reduced paragraph/heading margins */
body#cms #main .cms-description {
  line-height: 1.4;
}

body#cms #main .cms-description p {
  line-height: 1.6;
  padding-bottom: 0.8em;
  margin-bottom: 0;
}

body#cms #main .cms-description h1,
body#cms #main .cms-description h2,
body#cms #main .cms-description h3,
body#cms #main .cms-description h4,
body#cms #main .cms-description h5,
body#cms #main .cms-description h6 {
  line-height: 1.4;
  padding-bottom: 0.1em;
  margin-bottom: 0;
}

body#cms #main .cms-description li {
  line-height: 1.4;
  padding-bottom: 4px;
}

/* Customer services block — break out to full viewport width, no gap above footer */
body#cms .cms-wrapper-bottom {
  width: 100vw;
  position: relative;
  left: 50%;
  transform: translateX(-50%);
  margin: 0;
}

/* Remove bottom margin on #main content so no white gap before services block */
body#cms #main .page-content.page-cms {
  margin-bottom: 0;
}

/* Remove all bottom spacing on wrapper/container layers above footer */
body#cms #wrapper {
  padding-bottom: 0 !important;
  margin-bottom: 0 !important;
}

body#cms #wrapper > .container,
body#cms #wrapper > .container > .row,
body#cms #content-wrapper,
body#cms #content-wrapper > .theiaStickySidebar,
body#cms #main {
  padding-bottom: 0 !important;
  margin-bottom: 0 !important;
}

body#cms #footer {
  margin-top: 0 !important;
  padding-top: 0 !important;
}

/* Hide breadcrumb on CMS pages */
body#cms .breadcrumb {
  display: none;
}
