/* ================================================
   ESPRESSIMO ABOUT STORY WIDGET Proto V1
   ================================================ */

.elementor-widget-espressimo_about_story_proto_v1 {
    width: 100%;
}

.elementor-widget-espressimo_about_story_proto_v1 .elementor-widget-container {
    padding: 0 !important;
    margin: 0 !important;
}

/* ------------------------------------------------
   SECTION
   ------------------------------------------------ */
.esp-about-story {
    background-color: #fff9f2;
    border-bottom: 1px solid #e6dad4;
}

/* ------------------------------------------------
   LAYOUT
   ------------------------------------------------ */
.esp-about-story__inner {
    display: flex;
    align-items: stretch;
}

/* ------------------------------------------------
   IMAGE SIDE
   ------------------------------------------------ */
.esp-about-story__img-side {
    flex-shrink: 0;
    overflow: hidden;
}

.esp-about-story__img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    display: block;
}

/* ------------------------------------------------
   CONTENT SIDE
   ------------------------------------------------ */
.esp-about-story__content {
    flex: 1;
    padding: 56px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

/* ------------------------------------------------
   TEXT
   ------------------------------------------------ */
.esp-about-story__heading {
    margin: 0 0 24px 0;
}

.esp-about-story__para {
    margin: 0 0 16px 0;
}

.esp-about-story__para--accent {
    margin-bottom: 32px;
}

/* ------------------------------------------------
   BUTTON
   ------------------------------------------------ */
.esp-about-story__btn,
.esp-about-story__btn:visited,
.esp-about-story__btn:focus {
    display: inline-block;
    width: fit-content;
    padding: 12px 28px;
    border-radius: 4px;
    color: #fff !important;
    text-decoration: none !important;
    border: none !important;
    cursor: pointer;
    transition: opacity 0.2s;
    box-shadow: none !important;
}

.esp-about-story__btn:hover {
    opacity: 0.9;
    color: #fff !important;
}

/* ── Responsive ── */
@media (max-width: 1024px) {
    .esp-about-story__inner {
        flex-direction: column;
        align-items: stretch;
    }
    .esp-about-story__img-side {
        width: 100% !important;   /* beat the inline width:45% so the stacked image goes full-width + centered */
        max-height: 420px;
    }
    .esp-about-story__img {
        max-width: 100%;
    }
    .esp-about-story__content {
        padding: 40px 24px;
    }
}

@media (max-width: 560px) {
    .esp-about-story__img-side {
        max-height: 320px;
    }
    .esp-about-story__content {
        padding: 28px 16px;
    }
    .esp-about-story__heading {
        margin: 0 0 16px 0;
    }
    .esp-about-story__para--accent {
        margin-bottom: 24px;
    }
}
