.text-media-1-wrapper {
    max-width: 1608px;
    margin: 0 auto;
    padding: 0 16px;
    background-color: white;
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
}

.text-media-1 {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0;
    flex-direction: row;
}

.text-media-1.reverse {
    flex-direction: row-reverse;
}

.text-media-1 .text-section,
.text-media-1 .media-section {
    width: 50%;
}

.text-media-1 .text-section {
    padding-right: 16px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    margin-top: 0;
    padding: var(--text-padding-vertical-desktop, 8px) 0;
    align-items: flex-start;
    align-self: stretch;
}

.text-media-1 .media-section {
    padding-left: 0;
    padding-right: 0;
    margin-top: 16px;
}

.text-media-1 .text-section h3 {
    color: var(--app-text-stroke-text-stroke-day, #18191E);
    font-family: Montserrat;
    font-size: 32px;
    font-style: normal;
    font-weight: 700;
    line-height: 40px;
    letter-spacing: -0.64px;
    margin-bottom: 0.2rem;
    margin-top: 0;
    text-align: left;
}

.text-media-1 .text-section h4 {
    color: var(--app-text-stroke-text-stroke-day, #18191E);
    font-family: Montserrat;
    font-size: 28px;
    font-style: normal;
    font-weight: 600;
    line-height: 40px;
    letter-spacing: -0.56px;
    margin-bottom: 1rem;
    margin-top: 0;
    text-align: left;
}

.text-media-1 .text-section p {
    color: var(--app-text-stroke-text-stroke-day, #18191E);
    font-family: Inter;
    font-size: 18px;
    font-style: normal;
    font-weight: 500;
    line-height: 28px;
    margin-top: 0;
    margin-bottom: 0;
    width: 100%;
    text-align: left;
    max-width: 100%;
}

.text-media-1 .media-section img {
    width: 100%;
    height: auto;
    flex-shrink: 0;
    object-fit: cover;
    border-radius: 8px;
    max-width: 100%;
}

@media (max-width: 640px) {
    .text-media-1,
    .text-media-1.reverse {
        flex-direction: column;
        align-items: flex-start;
        padding: 0 16px;
    }

    .text-media-1 .text-section,
    .text-media-1 .media-section,
    .text-media-1.reverse .text-section,
    .text-media-1.reverse .media-section {
        width: 100%;
        max-width: 100%;
    }

    .text-media-1 .media-section img,
    .text-media-1.reverse .media-section img {
        margin-bottom: 20px;
    }

    .text-media-1 .text-section h3,
    .text-media-1 .text-section h4,
    .text-media-1.reverse .text-section h3,
    .text-media-1.reverse .text-section h4 {
        text-align: left;
        margin-bottom: 8px;
    }

    .text-media-1 .text-section p,
    .text-media-1.reverse .text-section p {
        text-align: left;
        margin-bottom: 20px;
    }

    .text-media-1-wrapper {
        padding-left: 0;
        padding-right: 0;
    }
}
