/**
 * =========================================================
 * REZVAN PLATFORM
 * سامانه جامع خدام چایخانه رضوان
 *
 * Project Lead & Implementation:
 * Mohamad khodabakhshi | محمدکاظم خدابخشی
 * Website: chaykhaneyerezvan.ir
 *
 * File: /assets/css/rezvan-responsive.css
 * Version: 0.7.1
 * Purpose: Final mobile responsiveness and navigation recovery layer.
 * =========================================================
 */

html,
body {
    max-width: 100%;
}

body {
    overflow-x: hidden;
}

.rzv-site-shell,
.rzv-public-page,
.rzv-entry-content,
.site,
.site-content,
main,
article {
    min-width: 0;
    max-width: 100%;
}

img,
video,
canvas,
svg,
iframe {
    max-width: 100%;
}

img,
video {
    height: auto;
}

/* Keep wide operational tables usable instead of forcing the whole page wide. */
.rzv-table-wrap,
.rezvan-functional-table-wrap,
.rezvan-khadem-table-wrap,
.rezvan-audit-table-wrap {
    max-width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

/* =========================================================
 * Elementor public pages
 * ========================================================= */
@media (max-width: 900px) {
    body.elementor-page,
    body.elementor-page .elementor,
    body.elementor-page .elementor-section-wrap,
    body.elementor-page .elementor-location-header,
    body.elementor-page .elementor-location-footer {
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
        overflow-x: clip;
    }

    body.elementor-page .elementor-section,
    body.elementor-page .elementor-section.elementor-section-boxed > .elementor-container,
    body.elementor-page .elementor-container,
    body.elementor-page .elementor-row {
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
    }

    body.elementor-page .elementor-row,
    body.elementor-page .elementor-container {
        flex-wrap: wrap !important;
    }

    /* Old Elementor section/column layout. */
    body.elementor-page .elementor-column,
    body.elementor-page .elementor-column[data-element_type="column"] {
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
        flex: 0 0 100% !important;
    }

    body.elementor-page .elementor-column-wrap,
    body.elementor-page .elementor-widget-wrap,
    body.elementor-page .elementor-widget,
    body.elementor-page .elementor-widget-container {
        min-width: 0 !important;
        max-width: 100% !important;
    }

    /* Elementor Flexbox Containers. */
    body.elementor-page .e-con,
    body.elementor-page .e-con.e-parent,
    body.elementor-page .e-con.e-child,
    body.elementor-page .e-con > .e-con-inner {
        --width: 100% !important;
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
    }

    body.elementor-page .e-con.e-flex,
    body.elementor-page .e-con > .e-con-inner {
        flex-wrap: wrap !important;
    }

    body.elementor-page .e-con.e-parent > .e-con-inner > .e-con.e-child,
    body.elementor-page .e-con.e-parent > .e-con.e-child {
        flex-basis: 100% !important;
    }

    body.elementor-page .elementor-heading-title,
    body.elementor-page .elementor-widget-text-editor,
    body.elementor-page .elementor-widget-text-editor p,
    body.elementor-page .elementor-widget-text-editor li {
        white-space: normal !important;
        overflow-wrap: anywhere;
        word-break: normal;
        max-width: 100%;
    }

    body.elementor-page .elementor-button-wrapper,
    body.elementor-page .elementor-button,
    body.elementor-page .elementor-widget-button {
        max-width: 100% !important;
    }

    body.elementor-page .elementor-button {
        white-space: normal !important;
        text-align: center;
    }

    body.elementor-page iframe,
    body.elementor-page video,
    body.elementor-page .elementor-wrapper,
    body.elementor-page .elementor-widget-image-carousel,
    body.elementor-page .swiper,
    body.elementor-page .swiper-container {
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
    }

    /* Remove the desktop card shell around Elementor pages on small screens. */
    body.elementor-page .rzv-public-page {
        width: 100% !important;
        max-width: none !important;
        margin: 0 !important;
        padding: 0 !important;
    }

    body.elementor-page .rzv-content-card {
        width: 100% !important;
        max-width: 100% !important;
        margin: 0 !important;
        padding: 0 !important;
        border: 0 !important;
        border-radius: 0 !important;
        box-shadow: none !important;
        background: transparent !important;
        overflow: hidden;
    }
}

/* =========================================================
 * Elementor navigation recovery
 * Native toggle is preferred. A JS fallback is created only when
 * Elementor did not render a usable mobile toggle.
 * ========================================================= */
@media (max-width: 900px) {
    .elementor-location-header {
        position: relative;
        z-index: 9990;
    }

    .elementor-widget-nav-menu.rzv-mobile-nav-widget {
        display: block !important;
        visibility: visible !important;
        opacity: 1 !important;
        max-width: 100% !important;
    }

    .rzv-mobile-nav-host {
        visibility: visible !important;
        opacity: 1 !important;
        max-width: 100% !important;
    }

    .rzv-mobile-nav-host.elementor-hidden-mobile,
    .rzv-mobile-nav-host.elementor-hidden-phone {
        display: flex !important;
    }

    .elementor-widget-nav-menu .elementor-nav-menu--main {
        display: none !important;
    }

    .elementor-widget-nav-menu .elementor-menu-toggle,
    .elementor-widget-nav-menu .elementor-menu-toggle.rzv-force-visible {
        display: inline-flex !important;
        align-items: center;
        justify-content: center;
        visibility: visible !important;
        opacity: 1 !important;
        width: 48px;
        min-width: 48px;
        height: 48px;
        margin: 6px;
        padding: 0 !important;
        border: 1px solid rgba(200, 164, 92, .72) !important;
        border-radius: 14px !important;
        background: #0b563f !important;
        color: #fff8dd !important;
        box-shadow: 0 10px 28px rgba(5, 54, 40, .24);
        cursor: pointer;
        position: relative;
        z-index: 9994;
    }

    .elementor-widget-nav-menu .elementor-menu-toggle i,
    .elementor-widget-nav-menu .elementor-menu-toggle svg {
        color: inherit !important;
        fill: currentColor !important;
        font-size: 25px !important;
        width: 25px;
        height: 25px;
    }

    .elementor-widget-nav-menu .elementor-nav-menu--dropdown {
        width: min(360px, calc(100vw - 24px)) !important;
        max-width: calc(100vw - 24px) !important;
        right: 12px !important;
        left: auto !important;
        z-index: 9993 !important;
        border: 1px solid rgba(200, 164, 92, .55) !important;
        border-radius: 16px !important;
        overflow: hidden;
        box-shadow: 0 18px 48px rgba(0, 0, 0, .24) !important;
        background: #fffdf7 !important;
    }

    .elementor-widget-nav-menu .elementor-nav-menu--dropdown a {
        color: #123f36 !important;
        background: #fffdf7 !important;
        padding: 13px 16px !important;
        line-height: 1.8 !important;
        border-bottom: 1px solid rgba(12, 85, 63, .09) !important;
    }

    .elementor-widget-nav-menu .elementor-nav-menu--dropdown a:hover,
    .elementor-widget-nav-menu .elementor-nav-menu--dropdown a.elementor-item-active {
        color: #073d2d !important;
        background: #f5e6b6 !important;
    }

    .rzv-mobile-menu-fallback {
        display: flex;
        justify-content: flex-start;
        align-items: center;
        width: 100%;
        position: relative;
        z-index: 9995;
        direction: rtl;
    }

    .rzv-mobile-menu-toggle {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 48px;
        height: 48px;
        margin: 6px;
        border: 1px solid rgba(200, 164, 92, .72);
        border-radius: 14px;
        background: #0b563f;
        color: #fff8dd;
        font: 900 25px/1 IRANYekan, Tahoma, Arial, sans-serif;
        box-shadow: 0 10px 28px rgba(5, 54, 40, .24);
        cursor: pointer;
    }

    .rzv-mobile-menu-panel {
        position: absolute;
        top: calc(100% + 6px);
        right: 6px;
        width: min(360px, calc(100vw - 24px));
        max-height: min(70vh, 560px);
        overflow-y: auto;
        padding: 8px;
        border: 1px solid rgba(200, 164, 92, .55);
        border-radius: 16px;
        background: #fffdf7;
        box-shadow: 0 18px 48px rgba(0, 0, 0, .24);
    }

    .rzv-mobile-menu-panel[hidden] {
        display: none !important;
    }

    .rzv-mobile-menu-panel ul {
        display: grid !important;
        width: 100% !important;
        margin: 0 !important;
        padding: 0 !important;
        list-style: none !important;
    }

    .rzv-mobile-menu-panel li {
        width: 100% !important;
        margin: 0 !important;
        padding: 0 !important;
    }

    .rzv-mobile-menu-panel a {
        display: block !important;
        width: 100% !important;
        padding: 12px 14px !important;
        color: #123f36 !important;
        background: transparent !important;
        border-bottom: 1px solid rgba(12, 85, 63, .09);
        text-decoration: none !important;
        text-align: right;
        line-height: 1.8;
    }
}

/* =========================================================
 * General phone polish
 * ========================================================= */
@media (max-width: 600px) {
    .rzv-public-page,
    .rzv-panel,
    .rzv-profile-form {
        padding-left: 10px;
        padding-right: 10px;
    }

    .rzv-content-card,
    .rzv-form-card,
    .rzv-card {
        max-width: 100%;
    }

    .rzv-content-card {
        padding: 18px 14px;
        border-radius: 16px;
    }

    .rzv-panel-hero,
    .rzv-profile-card {
        padding-left: 16px;
        padding-right: 16px;
    }

    input,
    select,
    textarea,
    button {
        max-width: 100%;
    }
}


/* =========================================================
 * CR-001-I — Public homepage containment and mobile stacking
 * Scoped to body.home so operational panels are untouched.
 * ========================================================= */
body.home .elementor,
body.home .elementor-section-wrap,
body.home .elementor-section,
body.home .elementor-container,
body.home .elementor-row,
body.home .elementor-column,
body.home .elementor-column-wrap,
body.home .elementor-widget-wrap,
body.home .e-con,
body.home .e-con-inner{
    min-width:0!important;
    max-width:100%!important;
}
body.home .elementor-widget-image img,
body.home .wp-block-image img{
    max-width:100%!important;
    height:auto!important;
}
@media (max-width:900px){
    body.home .elementor-section,
    body.home .elementor-section.elementor-section-boxed>.elementor-container,
    body.home .elementor-container,
    body.home .elementor-row,
    body.home .e-con,
    body.home .e-con>.e-con-inner{
        width:100%!important;
        max-width:100%!important;
        min-width:0!important;
    }
    body.home .elementor-row,
    body.home .elementor-container,
    body.home .e-con.e-flex,
    body.home .e-con>.e-con-inner{
        flex-wrap:wrap!important;
    }
    body.home .elementor-column,
    body.home .elementor-column[data-element_type="column"],
    body.home .e-con.e-parent>.e-con-inner>.e-con.e-child,
    body.home .e-con.e-parent>.e-con.e-child{
        width:100%!important;
        max-width:100%!important;
        min-width:0!important;
        flex:0 0 100%!important;
        flex-basis:100%!important;
    }
    body.home .wp-block-columns{
        display:flex!important;
        flex-wrap:wrap!important;
        gap:20px!important;
    }
    body.home .wp-block-columns>.wp-block-column{
        flex:0 0 100%!important;
        min-width:0!important;
    }
    body.home .elementor-heading-title,
    body.home .elementor-widget-text-editor,
    body.home .elementor-widget-text-editor p,
    body.home .wp-block-heading,
    body.home .wp-block-paragraph{
        white-space:normal!important;
        overflow-wrap:normal!important;
        word-break:normal!important;
        max-width:100%!important;
    }
}

/* =========================================================
 * CR-001-I2 — Homepage mobile final layout recovery
 * Version: 0.7.5.14
 * Scope: front page content only, <= 900px.
 * Keeps desktop and all operational panels untouched.
 * ========================================================= */
@media (max-width: 900px) {
    body.home .rzv-entry-content,
    body.home .rzv-entry-content .elementor,
    body.home .rzv-entry-content .elementor-section-wrap {
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
        overflow-x: hidden !important;
    }

    /* The live home page contains legacy/new Elementor rows whose desktop
       flex direction can survive the normal responsive wrapping layer.
       Force only FRONT-PAGE CONTENT containers to a vertical flow. */
    body.home .rzv-entry-content .elementor-container,
    body.home .rzv-entry-content .elementor-row,
    body.home .rzv-entry-content .e-con.e-flex,
    body.home .rzv-entry-content .e-con > .e-con-inner,
    body.home .rzv-entry-content .wp-block-columns,
    body.home .rzv-entry-content .rzv-home-intro-layout,
    body.home .rzv-entry-content .rzv-home-stats-layout {
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
        display: flex !important;
        flex-direction: column !important;
        flex-wrap: nowrap !important;
        align-items: stretch !important;
    }

    /* Elementor Grid containers are handled separately. */
    body.home .rzv-entry-content .e-con.e-grid {
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
        display: grid !important;
        grid-template-columns: minmax(0, 1fr) !important;
    }

    body.home .rzv-entry-content .elementor-container > *,
    body.home .rzv-entry-content .elementor-row > *,
    body.home .rzv-entry-content .e-con.e-flex > *,
    body.home .rzv-entry-content .e-con > .e-con-inner > *,
    body.home .rzv-entry-content .wp-block-columns > *,
    body.home .rzv-entry-content .rzv-home-intro-layout > *,
    body.home .rzv-entry-content .rzv-home-stats-layout > *,
    body.home .rzv-entry-content .rzv-home-mobile-full {
        --width: 100% !important;
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
        flex: 0 0 auto !important;
        flex-basis: auto !important;
    }

    /* The introduction image/text pair must become two readable rows. */
    body.home .rzv-entry-content .rzv-home-intro-layout {
        gap: 18px !important;
    }

    body.home .rzv-entry-content .rzv-home-intro-layout img,
    body.home .rzv-entry-content .elementor-widget-image img,
    body.home .rzv-entry-content .wp-block-image img {
        display: block !important;
        width: 100% !important;
        max-width: 100% !important;
        height: auto !important;
        object-fit: contain !important;
    }

    /* Heading widgets had retained a desktop fractional width on the live
       home page. Give headings a real full-width containing block. */
    body.home .rzv-entry-content .elementor-widget-heading,
    body.home .rzv-entry-content .wp-block-heading,
    body.home .rzv-entry-content .rzv-home-stats-title,
    body.home .rzv-entry-content .rzv-home-stats-title-wrap {
        --width: 100% !important;
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
        flex: 0 0 auto !important;
    }

    body.home .rzv-entry-content .rzv-home-stats-title,
    body.home .rzv-entry-content .rzv-home-stats-title * {
        white-space: normal !important;
        word-break: normal !important;
        overflow-wrap: normal !important;
        hyphens: none !important;
        text-align: center !important;
        line-height: 1.75 !important;
        max-width: 100% !important;
    }

    body.home .rzv-entry-content .rzv-home-stats-title {
        font-size: clamp(24px, 6.2vw, 34px) !important;
        margin-inline: auto !important;
        padding-inline: 12px !important;
    }

    /* Prevent inline/fixed widths from forcing a second horizontal column. */
    body.home .rzv-entry-content [class*="elementor-element"] {
        min-width: 0 !important;
    }
}

@media (max-width: 520px) {
    body.home .rzv-entry-content {
        padding-inline: 0 !important;
    }

    body.home .rzv-entry-content .rzv-home-intro-layout,
    body.home .rzv-entry-content .rzv-home-stats-layout {
        gap: 14px !important;
    }

    body.home .rzv-entry-content .rzv-home-stats-title {
        font-size: clamp(23px, 7vw, 30px) !important;
        line-height: 1.7 !important;
    }
}

/* =========================================================
 * CR-001-I3 — Homepage mobile DOM recovery
 * Version: 0.7.5.15
 * Scope: front page content only, <= 900px.
 * JS discovers the live content branches and marks only the affected
 * intro / statistics / gallery sections. These rules intentionally do
 * not touch operational panels or desktop layout.
 * ========================================================= */
@media (max-width: 900px) {
    html.rzv-home-dom-recovery body.home .rzv-entry-content {
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
        overflow-x: clip !important;
    }

    html.rzv-home-dom-recovery body.home .rzv-home-i3-intro-layout,
    html.rzv-home-dom-recovery body.home .rzv-home-i3-stats-layout,
    html.rzv-home-dom-recovery body.home .rzv-home-i3-stats-items {
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
        height: auto !important;
        min-height: 0 !important;
        overflow: visible !important;
        float: none !important;
        clear: both !important;
        transform: none !important;
        inset: auto !important;
    }

    html.rzv-home-dom-recovery body.home .rzv-home-i3-intro-layout {
        display: flex !important;
        flex-direction: column !important;
        flex-wrap: nowrap !important;
        align-items: stretch !important;
        gap: 18px !important;
    }

    html.rzv-home-dom-recovery body.home .rzv-home-i3-intro-image-branch,
    html.rzv-home-dom-recovery body.home .rzv-home-i3-intro-text-branch,
    html.rzv-home-dom-recovery body.home .rzv-home-i3-full-chain {
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
        height: auto !important;
        min-height: 0 !important;
        flex: 0 0 auto !important;
        flex-basis: auto !important;
        float: none !important;
        position: static !important;
        inset: auto !important;
        transform: none !important;
        overflow: visible !important;
    }

    html.rzv-home-dom-recovery body.home .rzv-home-i3-intro-image-branch {
        order: 1 !important;
    }

    html.rzv-home-dom-recovery body.home .rzv-home-i3-intro-text-branch {
        order: 2 !important;
    }

    html.rzv-home-dom-recovery body.home .rzv-home-i3-intro-image,
    html.rzv-home-dom-recovery body.home .rzv-home-i3-intro-image img {
        display: block !important;
        width: 100% !important;
        max-width: 100% !important;
        height: auto !important;
        max-height: none !important;
        margin: 0 auto !important;
        object-fit: contain !important;
        float: none !important;
        position: static !important;
        transform: none !important;
    }

    html.rzv-home-dom-recovery body.home .rzv-home-i3-intro-text-branch,
    html.rzv-home-dom-recovery body.home .rzv-home-i3-intro-text-branch p,
    html.rzv-home-dom-recovery body.home .rzv-home-i3-intro-text-branch div {
        white-space: normal !important;
        word-break: normal !important;
        overflow-wrap: normal !important;
        hyphens: none !important;
    }

    html.rzv-home-dom-recovery body.home .rzv-home-i3-stats-layout {
        display: block !important;
        position: static !important;
        margin-top: 22px !important;
        margin-bottom: 26px !important;
    }

    html.rzv-home-dom-recovery body.home .rzv-home-i3-stats-title,
    html.rzv-home-dom-recovery body.home .rzv-home-i3-stats-title * {
        display: block !important;
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
        height: auto !important;
        margin-left: auto !important;
        margin-right: auto !important;
        padding-left: 12px !important;
        padding-right: 12px !important;
        position: static !important;
        inset: auto !important;
        float: none !important;
        clear: both !important;
        transform: none !important;
        white-space: normal !important;
        word-break: normal !important;
        overflow-wrap: normal !important;
        hyphens: none !important;
        text-align: center !important;
        line-height: 1.65 !important;
    }

    html.rzv-home-dom-recovery body.home .rzv-home-i3-stats-title {
        font-size: clamp(24px, 6vw, 34px) !important;
        margin-top: 0 !important;
        margin-bottom: 18px !important;
    }

    html.rzv-home-dom-recovery body.home .rzv-home-i3-stats-items {
        display: grid !important;
        grid-template-columns: minmax(0, 1fr) !important;
        gap: 18px !important;
        align-items: stretch !important;
    }

    html.rzv-home-dom-recovery body.home .rzv-home-i3-stat-item {
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
        height: auto !important;
        min-height: 0 !important;
        margin: 0 !important;
        padding: 8px 10px !important;
        position: static !important;
        inset: auto !important;
        float: none !important;
        transform: none !important;
        text-align: center !important;
        overflow: visible !important;
    }

    html.rzv-home-dom-recovery body.home .rzv-home-i3-gallery-heading,
    html.rzv-home-dom-recovery body.home .rzv-home-i3-gallery-heading * {
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
        height: auto !important;
        position: static !important;
        inset: auto !important;
        float: none !important;
        clear: both !important;
        transform: none !important;
        white-space: normal !important;
        word-break: normal !important;
        overflow-wrap: normal !important;
        text-align: center !important;
    }

    html.rzv-home-dom-recovery body.home .rzv-home-i3-gallery-heading {
        margin-top: 28px !important;
        margin-bottom: 18px !important;
    }
}

@media (max-width: 520px) {
    html.rzv-home-dom-recovery body.home .rzv-home-i3-intro-layout {
        gap: 14px !important;
    }

    html.rzv-home-dom-recovery body.home .rzv-home-i3-stats-title {
        font-size: clamp(23px, 7vw, 30px) !important;
        line-height: 1.6 !important;
    }
}


/* =========================================================
 * CR-001-I4 — 390px intro text-flow micro fix
 * Version: 0.7.5.18
 * Scope: front page only, narrow phones <= 420px.
 * 0.7.5.15 correctly recovered the mobile DOM/stacking, but a legacy
 * inner wrapper can still retain a clipped/fixed-height text flow at
 * ~390px. This pass only releases clipping inside the recovered intro
 * text branch; 421px+ and all operational panels remain untouched.
 * ========================================================= */
@media (max-width: 420px) {
    html.rzv-home-dom-recovery body.home .rzv-home-i3-intro-text-branch,
    html.rzv-home-dom-recovery body.home .rzv-home-i3-intro-text-branch .elementor-element,
    html.rzv-home-dom-recovery body.home .rzv-home-i3-intro-text-branch .elementor-widget,
    html.rzv-home-dom-recovery body.home .rzv-home-i3-intro-text-branch .elementor-widget-container,
    html.rzv-home-dom-recovery body.home .rzv-home-i3-intro-text-branch .elementor-text-editor,
    html.rzv-home-dom-recovery body.home .rzv-home-i3-intro-text-branch .e-con,
    html.rzv-home-dom-recovery body.home .rzv-home-i3-intro-text-branch .e-con-inner,
    html.rzv-home-dom-recovery body.home .rzv-home-i3-intro-text-branch p,
    html.rzv-home-dom-recovery body.home .rzv-home-i3-intro-text-branch div,
    html.rzv-home-dom-recovery body.home .rzv-home-i3-intro-text-branch span {
        height: auto !important;
        max-height: none !important;
        min-height: 0 !important;
        overflow: visible !important;
        overflow-y: visible !important;
        clip: auto !important;
        clip-path: none !important;
        -webkit-line-clamp: unset !important;
        line-clamp: unset !important;
        text-overflow: clip !important;
        contain: none !important;
        content-visibility: visible !important;
    }

    html.rzv-home-dom-recovery body.home .rzv-home-i3-intro-text-branch {
        display: block !important;
        padding-bottom: 14px !important;
        margin-bottom: 0 !important;
    }

    html.rzv-home-dom-recovery body.home .rzv-home-i3-intro-text-branch p {
        display: block !important;
        width: 100% !important;
        max-width: 100% !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
    }

    html.rzv-home-dom-recovery body.home .rzv-home-i3-stats-layout {
        clear: both !important;
        margin-top: 18px !important;
    }
}

/* =========================================================
 * 0.7.71 — Homepage hero/mobile proportional height recovery
 * Scope: homepage Elementor hero carousel/slides only, <= 900px.
 * Removes the tall grey letterbox introduced by 0.7.70 while keeping
 * images centered and legible. Desktop is intentionally untouched.
 * ========================================================= */
@media (max-width:900px){
  body.home .elementor-widget-slides .swiper,
  body.home .elementor-widget-slides .swiper-container,
  body.home .elementor-widget-slides .swiper-wrapper{
    width:100%!important;
    max-width:100%!important;
    min-width:0!important;
    height:auto!important;
    min-height:0!important;
    background:transparent!important;
  }
  body.home .elementor-widget-slides .swiper-slide{
    width:100%!important;
    height:clamp(240px,62vw,360px)!important;
    min-height:clamp(240px,62vw,360px)!important;
    max-height:360px!important;
    overflow:hidden!important;
    background:#092f29!important;
  }
  body.home .elementor-widget-slides .swiper-slide-bg{
    inset:0!important;
    width:100%!important;
    height:100%!important;
    background-size:cover!important;
    background-position:center center!important;
    background-repeat:no-repeat!important;
    transform:none!important;
  }
  body.home .elementor-widget-slides .swiper-slide-inner{
    width:100%!important;
    height:100%!important;
    min-height:0!important;
    display:flex!important;
    align-items:center!important;
    justify-content:center!important;
    padding:18px 24px!important;
  }

  body.home .elementor-widget-image-carousel,
  body.home .elementor-widget-image-carousel .elementor-widget-container,
  body.home .elementor-widget-image-carousel .swiper,
  body.home .elementor-widget-image-carousel .swiper-container,
  body.home .elementor-widget-image-carousel .swiper-wrapper,
  body.home .elementor-widget-image-carousel .swiper-slide{
    width:100%!important;
    max-width:100%!important;
    min-width:0!important;
    height:auto!important;
    min-height:0!important;
    max-height:none!important;
    background:transparent!important;
  }
  body.home .elementor-widget-image-carousel .swiper-slide{
    display:flex!important;
    align-items:center!important;
    justify-content:center!important;
    overflow:hidden!important;
  }
  body.home .elementor-widget-image-carousel .swiper-slide img,
  body.home .elementor-widget-image-carousel img.swiper-slide-image{
    display:block!important;
    width:100%!important;
    max-width:100%!important;
    height:auto!important;
    min-height:0!important;
    max-height:none!important;
    object-fit:initial!important;
    object-position:center center!important;
    margin:0 auto!important;
  }
}
