@charset "UTF-8";
/**
 * WIPESTAR — Homepage only styles
 * Loaded by header-index.php (front page only). Never affects other templates.
 *
 * Goals:
 *  1. Hero banner can never collapse into an empty grey block, even if JS fails.
 *  2. "Industries We Serve" works without any third-party slider library.
 *  3. Stable image boxes (aspect-ratio) so no layout shift (Core Web Vitals).
 */

/* ---------------------------------------------------------
   0. Utilities
   --------------------------------------------------------- */
.sr-only {
    position: absolute !important;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.home-section-head {
    margin-bottom: 40px;
}

.home-section-head .section-subtitle {
    color: #333;
    font-weight: 500;
}

/* ---------------------------------------------------------
   1. Hero banner
   The original markup, classes, colours and sizes are kept 1:1 —
   everything visual still comes from wipestar.min.css. Only two
   safety nets are added here:
     a) .wd is always laid out. The theme only shows it through
        `.swiper-slide-active`, so before Swiper starts (or if it
        never does) the whole banner was an empty grey block.
     b) a broken banner photo hides itself instead of showing a
        broken-image icon over the slide.
   --------------------------------------------------------- */
.dx-banner .swiper-slide .wd.vertical-center.tl.h100 {
    display: flex;
}

.dx-banner .dsfdewrexeter.is-missing {
    opacity: 0;
}

/* The sparkle next to "TO MAKE THE" must keep its natural ratio:
   the theme sizes it with `width:3.8rem` only, so any height
   attribute or inherited height would squash it flat. */
.dx-banner .kjjmxettwertr {
    height: auto;
}

/* ---------------------------------------------------------
   2. Intro block (H1 + copy + video)
   --------------------------------------------------------- */
.home-h1 {
    font-size: 42px;
    font-weight: 600;
    line-height: 1.3;
}

/* ---------------------------------------------------------
   3. Industries We Serve
   The carousel keeps the original Swiper markup and therefore the
   original styling from wipestar.min.css / swiper.css. Only the
   section spacing lives here.
   --------------------------------------------------------- */
.home-industries {
    padding-top: 48px;
    background: #fff;
}

/* ---------------------------------------------------------
   4. Products
   --------------------------------------------------------- */
.home-products {
    padding-top: 48px;
}

.home-products .dfsdfsd {
    overflow: hidden;
    background: #eef3f8;
}

.home-products .dfsdfsd img.is-missing {
    opacity: 0;
}

/* ---------------------------------------------------------
   5. Resources
   --------------------------------------------------------- */
.resource-title {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.resource-date {
    white-space: nowrap;
}

.resource-card.is-featured .resource-badge.hot span::after {
    content: "";
}

/* ---------------------------------------------------------
   6. Responsive
   --------------------------------------------------------- */
@media (max-width: 767px) {
    .home-h1 {
        font-size: 26px;
        margin-top: 1.5rem;
    }

    .home-section-head {
        margin-bottom: 28px;
    }
}
