/* ZRS Box v1.0.5
 * Outside spacing intentionally remains in Elementor > Advanced > Margin.
 * No frontend JavaScript is required.
 */
.elementor-widget-zrs-advanced-box {
    align-self: center;
}

.elementor-widget-zrs-advanced-box > .elementor-widget-container {
    display: block;
    height: auto;
}

.zr_box {
    position: relative;
    display: flex;
    width: 100%;
    height: auto;
    box-sizing: border-box;
    align-items: center;
    transition-property: transform, background, background-color, border-color, box-shadow, color;
    transition-timing-function: ease;
}

.zr_box__overlay-link {
    position: absolute;
    inset: 0;
    z-index: 1;
    display: block;
    border-radius: inherit;
}

.zr_box__media {
    position: relative;
    flex: 0 0 auto;
    width: 70px;
    box-sizing: border-box;
    overflow: hidden;
}

.zr_box__media-inner {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    transition: transform .25s ease;
}

.zr_box__media img {
    display: block;
    width: 100%;
    height: 100%;
    max-width: 100%;
    object-fit: contain;
}

.zr_box__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: currentColor;
    font-size: 70px;
    line-height: 1;
    transition: color .25s ease;
}

/* Elementor SVG icons follow the selected icon color through currentColor. */
.zr_box__icon svg {
    display: block;
    width: 1em;
    height: 1em;
    fill: currentColor;
    color: currentColor;
}

.zr_box__content {
    position: relative;
    box-sizing: border-box;
    min-width: 0;
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
    align-self: stretch;
    justify-content: flex-start;
    text-align: center;
}

.zr_box__title,
.zr_box__subtitle,
.zr_box__description {
    position: relative;
    margin-top: 0;
    transition: color .25s ease;
}

.zr_box__title {
    padding: 0;
    font-size: 20px;
}

.zr_box__subtitle {
    font-size: 18px;
}

.zr_box__description {
    margin-top: 0;
    font-family: var(--e-global-typography-text-font-family, inherit);
    font-size: var(--e-global-typography-text-font-size, inherit);
    font-weight: var(--e-global-typography-text-font-weight, inherit);
    line-height: var(--e-global-typography-text-line-height, inherit);
    letter-spacing: var(--e-global-typography-text-letter-spacing, inherit);
}

/* The final rendered content item never gets trailing space. */
.zr_box__content > .zr_box__title:last-child,
.zr_box__content > .zr_box__subtitle:last-child,
.zr_box__content > .zr_box__description:last-child {
    margin-bottom: 0 !important;
}

.zr_box__button-wrap {
    position: relative;
    z-index: 2;
}

.zr_box__button-wrap.is-bottom {
    margin-top: auto;
}

.zr_box__button-wrap.is-normal {
    margin-top: 0;
}

/* Uses Elementor's .elementor-button class. No visual defaults are imposed here,
 * so Site Settings > Buttons remains the default source of button styling. */
.zr_box__button {
    position: relative;
    z-index: 2;
}

/* Keep real interactive children above the full-card overlay link. */
.zr_box a:not(.zr_box__overlay-link),
.zr_box button,
.zr_box input,
.zr_box select,
.zr_box textarea {
    position: relative;
    z-index: 2;
}
