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

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

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

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

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

.text-media-2 .media-section {
    padding-left: 0;
    padding-right: 0;
}

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

.text-media-2 .media-section img {
    width: 100%;
    height: auto;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 8px;
    max-width: 100%;
}

.text-media-2 .media-section .image-caption {
    font-family: Inter;
    font-size: 14px;
    color: #555;
    margin-top: 0;
    margin-bottom: 0;
    text-align: center;
}

@media (max-width: 640px) {
    .text-media-2 {
        flex-direction: column;
        align-items: flex-start;
        padding: 0 12px;
    }

    .text-media-2.reverse {
        flex-direction: column;
    }

    .text-media-2 .text-section,
    .text-media-2 .media-section {
        width: 100%;
        max-width: 95%;
    }

    .text-media-2 .media-section img {
        margin-bottom: 20px;
    }

    .text-media-2 .text-section h3 {
        text-align: left;
        margin-bottom: 8px;
    }

    .text-media-2 .media-section .image-caption {
        text-align: left;
    }

    .text-media-2-wrapper {
        padding-left: 0;
        padding-right: 0;
        max-width: 100%;
    }
}
