/* Article list thumbnails and category labels: 2026-10-15 */
.c-entries .c-entry-summary__figure::before {
  padding-top: 100% !important;
}
.c-entries .c-entry-summary__figure img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.c-entry-summary__figure > .c-entry-summary__term {
  font-size: 11px;
  line-height: 1.4;
  padding: 3px 5px;
  letter-spacing: .04em;
}

/* Keep custom gaps outside Snow Monkey theme files. */
body .c-entries.c-entries--simple .c-entry-summary .c-entry-summary__figure {
  margin-right: 17.28px !important;
}
body .c-entries.c-entries--simple .c-entry-summary .c-entry-summary__body {
  flex: 1 1 0%;
  min-width: 0;
}
body.page-id-36 .homeimgwrap > .wp-block-columns {
  column-gap: 17.28px !important;
}

/* Full-width background for the home contact section; preserve content width. */
body.page-id-36 #contact-us-91d09b27-302c-4a8d-a51e-3d1b1029040e + .smb-section {
  --smb-section--background-transform: translate(0%, -4%) !important;
}
body.page-id-36 #contact-us-91d09b27-302c-4a8d-a51e-3d1b1029040e + .smb-section > .smb-section__fixed-background {
  width: 100vw;
  max-width: none;
  left: calc(50% - 50vw);
  right: auto;
}

/* Original-size CONTACT US decoration with full-viewport overflow. */
body.page-id-36 #contact-us-91d09b27-302c-4a8d-a51e-3d1b1029040e {
  font-size: 130px !important;
  width: 100vw !important;
  max-width: none;
  left: calc(50% - 50vw);
  right: auto;
  line-height: 1.2 !important;
  letter-spacing: -3px;
  overflow: visible !important;
}

@media (min-width: 1024px) {
  body.page-id-36 #contact-us-91d09b27-302c-4a8d-a51e-3d1b1029040e {
    top: calc(-1em + 12px);
  }
}


/* Align stacked contact text and button with the image below. */
@media (max-width: 1023px) {
  body.page-id-36 #contact-us-91d09b27-302c-4a8d-a51e-3d1b1029040e + .smb-section .smb-section__inner > .c-container {
    padding-left: 0 !important;
    padding-right: 0 !important;
  }
  body.page-id-36 #contact-us-91d09b27-302c-4a8d-a51e-3d1b1029040e + .smb-section .smb-section-break-the-grid__figure {
    margin-left: 0 !important;
    margin-right: 0 !important;
  }
  body.page-id-36 #contact-us-91d09b27-302c-4a8d-a51e-3d1b1029040e + .smb-section .smb-btn-wrapper,
  body.page-id-36 #contact-us-91d09b27-302c-4a8d-a51e-3d1b1029040e + .smb-section .smb-btn {
    width: 100%;
    max-width: 100%;
  }
  body.page-id-36 #contact-us-91d09b27-302c-4a8d-a51e-3d1b1029040e + .smb-section .smb-btn {
    padding-left: 16px;
    padding-right: 16px;
    text-align: center;
  }
}


/* Home section backgrounds: HEALTH white, EVENT gray, NEWS white, BLOG gray. */
body.page-id-36 .home-health-section,
body.page-id-36 .home-news-section {
  --smb-section--background-color: #fff !important;
  --smb-section--fixed-background-color: #fff !important;
}
body.page-id-36 .home-event-section > .smb-box__background {
  background-color: #f7f7f7;
  width: 100vw;
  max-width: none;
  left: calc(50% - 50vw);
  right: auto;
  top: -40px;
}
body.page-id-36 .home-blog-section {
  --smb-section--background-color: #f7f7f7 !important;
  --smb-section--fixed-background-color: #f7f7f7 !important;
}
body.page-id-36 .home-blog-section .sukashi {
  overflow: visible !important;
  line-height: 1.3;
}
@media (max-width: 639px) {
  body.page-id-36 .home-blog-section > .smb-section__fixed-background { top: -40px; }
}


/* Full-viewport service photos and emergency image on phones. */
@media (max-width: 639px) {
 body.page-id-36 .homeimgwrap > .wp-block-columns {
  position:relative;
  width:100vw;
  max-width:none;
  left:calc(50% - 50vw);
  margin-left:0!important;
  margin-right:0!important;
 }
 body.page-id-36 .home-services-after + section .wp-block-media-text {
  grid-template-columns:100%!important;
 }
 body.page-id-36 .home-services-after + section .wp-block-media-text__media {
  position:relative;
  width:100vw;
  max-width:none;
  left:calc(50% - 50vw);
  margin-left:0;
  margin-right:0;
 }
 body.page-id-36 .home-services-after + section .wp-block-media-text__content {
  grid-column:1;
  grid-row:2;
 }
}


/* Space below SHOP introduction and balance white/gray section spacing. */
body.page-id-36 #\-8f34efeb-8f46-4236-948c-112063742f4b + p + .smb-items {
 margin-top:46px!important;
}
body.page-id-36 .p-entry-content > section.home-health-section { padding-bottom:32px!important; }
body.page-id-36 .home-health-section .smb-btn-box { padding-bottom:0!important; }
body.page-id-36 .p-entry-content > div.home-event-before { height:40px!important; margin:0!important; }
body.page-id-36 .p-entry-content > div.home-event-section { margin-top:0!important; padding-top:60px!important; }
body.page-id-36 .home-event-section > .smb-box__background { top:0!important; }
body.page-id-36 .p-entry-content > section.home-blog-section { padding-top:60px!important; }
body.page-id-36 .home-blog-section > .smb-section__fixed-background { top:0!important; }
body.page-id-36 .home-event-section .smb-box__body > .wp-block-columns,
body.page-id-36 .home-blog-section .smb-box__body > .wp-block-columns { margin-top:0!important; }


/* SHOP cards to description: existing 1.08em gutter + .72em = one 1.8em text line. */
body.page-id-36 #\-8f34efeb-8f46-4236-948c-112063742f4b + p + .smb-items + .smb-panels + .wp-block-group {
 padding-top:.72em;
}


/* Keep the life-shop card name concise on phones. */
@media (max-width:639px) {
 .smb-panels__item__title > .life-shop-card-location { display:none; }
}


/* Remove empty layout space and leading form line on the inquiry page. */
body.page-id-18 .wpcf7-form > .contact-form-intro { margin-top:0; }
body.page-id-18 .contact-form-intro > p:first-child > br:first-child { display:none; }
@media (max-width:781px) {
 body.page-id-18 .p-entry-content > .wp-block-columns > .wp-block-column:empty { display:none; }
}


/* Center the home services button in its content area. */
body.page-id-36 .home-services-section .smb-buttons { justify-content:center; }


/* Center store-feature icons, including the last wrapped row. */
body.page-id-12 .wp-block-tag-cloud { display:flex; flex-wrap:wrap; justify-content:center; }
body.page-id-12 .wp-block-tag-cloud > a { float:none; flex:0 0 auto; }


/* Avoid an extra flex gap on the mobile feature-icon grid. */
@media (max-width:639px) {
 body.page-id-12 .wp-block-tag-cloud { gap:0; }
}


/* Use 10px page edges for the mobile feature-icon area only. */
@media (max-width:639px) {
 body.page-id-12 .wp-block-tag-cloud {
  width:calc(100vw - 20px);
  max-width:none;
  left:calc(50% - 50vw + 10px);
  gap:4px;
 }
 body.page-id-12 .wp-block-tag-cloud > a {
  flex-basis:auto;
  margin:0;
  box-sizing:border-box;
 }
}
