.wa-promo-layout { width: 100%; }
.wa-promo-section { width: 100%; }

.wa-promo-section-inner {
    width: 100%;
    margin: 0 auto;
    padding-left: 20px;
    padding-right: 20px;
    box-sizing: border-box;
}

.wa-section-width-contained .wa-promo-section-inner { max-width: 1200px; }
.wa-section-width-full .wa-promo-section-inner { max-width: 100%; }

.wa-promo-row {
    display: grid;
    margin-bottom: 24px;
}

.wa-promo-row:last-child { margin-bottom: 0; }

.wa-promo-cols-1 { grid-template-columns: repeat(1, minmax(0, 1fr)); }
.wa-promo-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.wa-promo-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.wa-promo-cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.wa-promo-cols-5 { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.wa-promo-cols-6 { grid-template-columns: repeat(6, minmax(0, 1fr)); }

.wa-promo-align-start { align-items: start; }
.wa-promo-align-center { align-items: center; }
.wa-promo-align-end { align-items: end; }
.wa-promo-align-stretch { align-items: stretch; }

.wa-promo-box {
    position: relative;
    transition: transform .35s ease, box-shadow .35s ease, border-color .35s ease, filter .35s ease;
    box-sizing: border-box;
    width: 100%;
    overflow: hidden;
    border: 1px solid rgba(0,0,0,.06);
    box-shadow: 0 12px 35px rgba(0,0,0,.16);
}

.wa-promo-box-inner {
    position: relative;
    z-index: 3;
    opacity: 1;
    transform: none;
    will-change: transform, opacity;
}

.wa-promo-box-image { margin-bottom: 16px; }
.wa-promo-box-image img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: inherit;
}

.wa-promo-box-icon {
    font-size: 28px;
    line-height: 1;
    margin-bottom: 12px;
}

.wa-promo-box-title {
    margin: 0 0 12px;
    font-size: 1.4rem;
    line-height: 1.2;
}

.wa-promo-box-content > *:first-child { margin-top: 0; }
.wa-promo-box-content > *:last-child { margin-bottom: 0; }
.wa-promo-box-content a { color: inherit; text-decoration: underline; }
.wa-promo-box-button-wrap { margin-top: 18px; }

.wa-promo-box-button {
    display: inline-block;
    padding: 12px 18px;
    border-radius: 999px;
    text-decoration: none;
    line-height: 1;
    transition: opacity .2s ease, transform .2s ease;
}

.wa-promo-box-button:hover { opacity: .92; transform: translateY(-1px); }

.wa-text-left { text-align: left; }
.wa-text-center { text-align: center; }
.wa-text-right { text-align: right; }

.wa-hover-none:hover { box-shadow: 0 16px 40px rgba(0,0,0,.18); }
.wa-hover-lift:hover { transform: translateY(-8px); box-shadow: 0 18px 42px rgba(0,0,0,.24); }
.wa-hover-grow:hover { transform: scale(1.025) translateY(-2px); box-shadow: 0 18px 42px rgba(0,0,0,.24); }
.wa-hover-shadow:hover,
.wa-hover-glow:hover,
.wa-hover-border:hover { box-shadow: 0 18px 42px rgba(0,0,0,.24); }
.wa-hover-glow:hover { box-shadow: 0 0 0 1px rgba(255,255,255,.12), 0 0 26px rgba(100,149,237,.28); }
.wa-hover-border:hover { border-color: rgba(0,0,0,.22); }

.wa-anim-fade { animation: waPromoFade .7s ease both; }
.wa-anim-slide-up { animation: waPromoSlideUp .7s ease both; }
.wa-anim-slide-left { animation: waPromoSlideLeft .7s ease both; }
.wa-anim-slide-right { animation: waPromoSlideRight .7s ease both; }
.wa-anim-zoom { animation: waPromoZoom .7s ease both; }

@keyframes waPromoFade {
    from { opacity: .01; }
    to { opacity: 1; }
}
@keyframes waPromoSlideUp {
    from { opacity: .01; transform: translateY(24px); }
    to { opacity: 1; transform: translateY(0); }
}
@keyframes waPromoSlideLeft {
    from { opacity: .01; transform: translateX(-24px); }
    to { opacity: 1; transform: translateX(0); }
}
@keyframes waPromoSlideRight {
    from { opacity: .01; transform: translateX(24px); }
    to { opacity: 1; transform: translateX(0); }
}
@keyframes waPromoZoom {
    from { opacity: .01; transform: scale(.96); }
    to { opacity: 1; transform: scale(1); }
}

.wa-row-equal .wa-promo-box {
    height: 100%;
    display: flex;
}

.wa-row-equal .wa-promo-box-inner {
    display: flex;
    flex-direction: column;
    width: 100%;
}

.wa-box-overlay-link {
    position: absolute;
    inset: 0;
    z-index: 2;
}

.wa-has-bg-image {
    background-position: center center;
    background-size: cover;
    background-repeat: no-repeat;
}

.wa-promo-box-bg-overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    border-radius: inherit;
}

.wa-has-text-shadow .wa-promo-box-title,
.wa-has-text-shadow .wa-promo-box-content,
.wa-has-text-shadow .wa-promo-box-content p,
.wa-has-text-shadow .wa-promo-box-content li,
.wa-has-text-shadow .wa-promo-box-content span,
.wa-has-text-shadow .wa-promo-box-button {
    text-shadow: 0 2px 10px rgba(0,0,0,.65);
}

@media (max-width: 1024px) {
    .wa-promo-cols-6,
    .wa-promo-cols-5,
    .wa-promo-cols-4,
    .wa-promo-cols-3 {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 767px) {
    .wa-promo-section-inner {
        padding-left: 16px;
        padding-right: 16px;
    }

    .wa-promo-row,
    .wa-promo-cols-6,
    .wa-promo-cols-5,
    .wa-promo-cols-4,
    .wa-promo-cols-3,
    .wa-promo-cols-2,
    .wa-promo-cols-1 {
        grid-template-columns: 1fr;
    }
}


.wa-promo-box {
    color: var(--wa-box-text-color, inherit);
}

.wa-promo-box .wa-promo-box-title {
    color: var(--wa-box-title-color, var(--wa-box-text-color, inherit));
}

.wa-promo-box .wa-promo-box-content,
.wa-promo-box .wa-promo-box-content > *,
.wa-promo-box .wa-promo-box-content p,
.wa-promo-box .wa-promo-box-content li,
.wa-promo-box .wa-promo-box-content ul,
.wa-promo-box .wa-promo-box-content ol,
.wa-promo-box .wa-promo-box-content blockquote,
.wa-promo-box .wa-promo-box-content cite,
.wa-promo-box .wa-promo-box-content span,
.wa-promo-box .wa-promo-box-content strong,
.wa-promo-box .wa-promo-box-content em,
.wa-promo-box .wa-promo-box-content small,
.wa-promo-box .wa-promo-box-content div,
.wa-promo-box .wa-promo-box-content a,
.wa-promo-box .wa-promo-box-content h1,
.wa-promo-box .wa-promo-box-content h2,
.wa-promo-box .wa-promo-box-content h3,
.wa-promo-box .wa-promo-box-content h4,
.wa-promo-box .wa-promo-box-content h5,
.wa-promo-box .wa-promo-box-content h6 {
    color: var(--wa-box-content-color, var(--wa-box-text-color, inherit)) !important;
}
