/* Experience Section Block Styles */
.mercato-experience-section {
    display: flex;
    justify-content: center;
    margin-top: 80px;
    margin-bottom: 32px;
    position: relative;
    padding: 0 16px;
}

@media (min-width: 768px) {
    .is-rtl.mercato-experience-section {
        justify-content: flex-start;
    }

    .is-ltr.mercato-experience-section {
        justify-content: flex-end;
    }

    .mercato-experience-section {
        margin-top: 120px;
        padding: 0;
    }
}

.experience-bg-container {
    width: 100%;
    min-height: 500px;
    background-color: #18181a;
    display: flex;
    flex-direction: column;
    padding: 24px;
    gap: 24px;
    position: relative;
    overflow: visible;
}

@media (min-width: 768px) {
    .experience-bg-container {
        width: 92vw;
        min-height: auto;
        aspect-ratio: 2/1;
        padding: 48px;
    }

    /* In LTR, we want the text to be right-ish if images are on the right? 
       Actually, if images are on the right, text should be on the left.
       The container is 92vw. If it justifies to the end (right), it leaves gap on the left.
    */
    .is-ltr .experience-bg-container {
        margin-right: 0;
        margin-left: auto;
    }
}

@media (min-width: 1024px) {
    .experience-bg-container {
        padding: 80px;
    }
}

.experience-content-col {
    width: 100%;
}

@media (min-width: 768px) {
    .experience-content-col {
        width: 80%;
        /* Default, can be overridden by Elementor */
    }

    .is-rtl .experience-content-col {
        text-align: right;
    }

    .is-ltr .experience-content-col {
        text-align: left;
    }
}

.experience-title {
    width: fit-content;
    text-decoration: underline;
    text-decoration-color: #facc15;
    text-underline-offset: 8px;
    font-size: 30px;
    line-height: 32px;
    margin-bottom: 24px;
    color: #fff;
    font-weight: bold;
}

@media (min-width: 768px) {
    .experience-title {
        text-underline-offset: 14px;
        font-size: 40px;
        line-height: 40px;
        margin-bottom: 48px;
    }

    .is-rtl .experience-title {
        margin-left: auto;
    }

    .is-ltr .experience-title {
        margin-right: auto;
    }
}

@media (min-width: 1024px) {
    .experience-title {
        font-size: 48px;
    }
}

.experience-desc {
    text-align: justify;
    font-size: 18px;
    line-height: 1.6;
    margin-bottom: 16px;
    color: #fff;
}

@media (min-width: 768px) {
    .experience-desc {
        font-size: 24px;
        margin-bottom: 24px;
    }

    /* Directional text alignment on desktop */
    .is-rtl .experience-desc {
        text-align: right;
    }

    .is-ltr .experience-desc {
        text-align: left;
    }
}

@media (min-width: 1024px) {
    .experience-desc {
        font-size: 30px;
    }
}

/* Mobile Images */
.experience-mobile-images {
    display: flex;
    gap: 16px;
    margin-top: 24px;
}

@media (min-width: 768px) {
    .experience-mobile-images {
        display: none;
    }
}

.experience-mobile-img {
    width: 50%;
    aspect-ratio: 3/2;
    background-size: cover;
    background-position: center;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

/* Desktop Absolute Images */
.experience-desktop-images {
    display: none;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    flex-direction: column;
    gap: 12px;
    z-index: 10;
}

.is-rtl .experience-desktop-images {
    left: 0;
}

.is-ltr .experience-desktop-images {
    right: 0;
}

@media (min-width: 768px) {
    .experience-desktop-images {
        display: flex;
    }
}

@media (min-width: 1024px) {
    .experience-desktop-images {
        gap: 20px;
    }
}

.experience-desktop-img {
    width: 250px;
    aspect-ratio: 3/2;
    background-size: cover;
    background-position: center;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

@media (min-width: 1024px) {
    .experience-desktop-img {
        width: 350px;
    }
}