/*
 * Your global styles here
 */
html,
body {
  height: 100%;
}

html {
  background: white;
}

body {
  margin: 0;
}

/*
 * Phones and tablets: the sections holding the site header, every Sree Devi
 * Peetham page and the footer run edge to edge. The branding's section
 * spacing (12px) would otherwise frame them in white; their components keep
 * their own gutters.
 */
.comm-section-container:has(c-sdp-site-header),
.comm-section-container:has(c-sdp-home-page-v2),
.comm-section-container:has(c-sdp-events-page),
.comm-section-container:has(c-sdp-event-detail-page),
.comm-section-container:has(c-sdp-sevas-page),
.comm-section-container:has(c-sdp-seva-detail-page),
.comm-section-container:has(c-sdp-services-page),
.comm-section-container:has(c-sdp-service-detail-page),
.comm-section-container:has(c-sdp-donations-page),
.comm-section-container:has(c-sdp-donation-detail-page),
.comm-section-container:has(c-sdp-sankalpams),
.comm-section-container:has(c-sdp-panchangam-details-page),
.comm-section-container:has(c-sdp-about-deities-page),
.comm-section-container:has(c-sdp-about-priests-page),
.comm-section-container:has(c-sdp-contact-us-page),
.comm-section-container:has(c-sdp-gallery-page),
.comm-section-container:has(c-sdp-site-footer) {
  --dxp-c-section-content-spacing-block-start-mobile: 0;
  --dxp-c-section-content-spacing-inline-end-mobile: 0;
  --dxp-c-section-content-spacing-block-end-mobile: 0;
  --dxp-c-section-content-spacing-inline-start-mobile: 0;
  --dxp-c-section-content-spacing-block-start-tablet: 0;
  --dxp-c-section-content-spacing-inline-end-tablet: 0;
  --dxp-c-section-content-spacing-block-end-tablet: 0;
  --dxp-c-section-content-spacing-inline-start-tablet: 0;
}

/*
 * Two components take no room: the cart, in the footer's column (its drawer
 * is fixed), and each page's hidden SEO settings, after the page. The
 * theme's spacer after them left a white and a grey band above the footer.
 */
c-sdp-addto-cart.component-wrapper-spacer,
community_builder-seo-assistant.component-wrapper-spacer {
  --dxp-c-component-wrapper-spacer-size: 0;
  --dxp-c-component-wrapper-spacer-size-tablet: 0;
  --dxp-c-component-wrapper-spacer-size-mobile: 0;
}
