.image-text-section {
    display: flex;
    width: 100%;
    padding: 0px 64px;
    background-color: white;
    overflow: hidden;
}

.image-text-section.image-right .image-text-inner-wrapper {
    flex-direction: row-reverse;
}

.image-text-inner-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1320px;
    width: 100%;
    margin: 0 auto;
}

.image-wrapper {
    position: relative;
    max-width: 536px;
    height: 720px;
}

.image-wrapper img {
    object-fit: cover;
    object-position: center;
    height: 100%;
    width: 100%;
}

.image-wrapper:after {
    content: "";
    position: absolute;
    top: 48px;
    left: 48px;
    width: 80px;
    height: 80px;
    display: block;
    background-color: white;
    border-radius: 50%;
}

.image-text-section.image-right .image-text-inner-wrapper > img {
    margin-left: 112px;
}

.image-text-section.image-left .image-text-inner-wrapper > img {
    margin-right: 112px;
}

.text-content {
    max-width: 424px;
}

.image-text-section.image-right .text-content {
    margin-left: 112px;
}

.image-text-section.image-left .text-content {
    margin-right: 112px;
}

.category-tag {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    gap: 14px;
    border: 1px solid #000;
    padding: 8px 14px;
    border-radius: 240px;
    margin-bottom: 32px;
}

.category-tag > svg {
    stroke: black;
    stroke-width: 1.2px;
    width: 18px;
    height: 18px;
}

.category-label {
    color: var(--Black, #000);
    text-align: center;
    font-family: Montserrat;
    font-size: 12px;
    font-style: normal;
    font-weight: 500;
    line-height: 120%; /* 16.8px */
    letter-spacing: 2px;
    text-transform: uppercase;
}

.text-content > h2 {
    color: black;
    font-family: "Montserrat Alternates";
    font-size: 40px;
    font-style: normal;
    font-weight: 400;
    line-height: 120%; /* 48px */
    letter-spacing: -0.8px;
    margin-bottom: 32px;
}

.text-content > p {
    color: #808080;
    font-family: Montserrat;
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: 200%; /* 32px */
    letter-spacing: -0.32px;
    margin-bottom: 32px;
}

.text-content > ul {
    display: flex;
    flex-direction: column;
    list-style: none;
    padding-left: 40px;
    gap: 16px;
}

.text-content > ul > li {
    position: relative;
    color: black;
    font-family: Montserrat;
    font-size: 16px;
    font-style: normal;
    font-weight: 500;
    line-height: 110%; /* 17.6px */
    letter-spacing: -0.16px;
}

.text-content > ul > li::before {
    content: "";
    position: absolute;
    left: -40px;
    top: -2px; /* tweak for vertical alignment */
    width: 24px;
    height: 24px;
    background-color: #f5f5f5; /* grey circle */
    border-radius: 50%; /* make it a circle */
    display: flex;
    align-items: center;
    justify-content: center;
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12' fill='none'><path d='M0.75 7.125L4.125 10.5L11.25 1.125' stroke='black' stroke-linecap='square'/></svg>");
    background-repeat: no-repeat;
    background-position: center;
    background-size: 12px 12px;
}

.button-container {
    display: flex;
    gap: 16px;
    margin-top: 48px;
}

/* Container styling */
.image-text-container {
    background-color: white;
    width: 100%;
    padding: 240px 0; /* Your desired container padding */
}

.image-text-sections-wrapper {
    display: flex;
    flex-direction: column;
    gap: 200px; /* Your desired gap between sections */
}

/* You can add different styling for different container classes */
.image-text-container.highlight {
    background-color: #f5f5f5;
}

.image-text-container.compact .image-text-sections-wrapper {
    gap: 15px;
}

@media screen and (max-width: 1320px) {

    .image-text-section.image-right .text-content {
        margin-left: 0px;
    }
    
    .image-text-section.image-left .text-content {
        margin-right: 0px;
    }

}

@media screen and (max-width: 1160px) {

    .image-wrapper{
        width: 100%;
        max-width: 400px;
        min-width: 240px;
        height: 560px;
    }

    .image-text-section.image-right .text-content {
        margin-left: 0px;
    }
    
    .image-text-section.image-left .text-content {
        margin-right: 0px;
    }

    .image-text-section.image-right .image-wrapper {
        margin-left: 64px;
    }
    
    .image-text-section.image-left .image-wrapper {
        margin-right: 64px;
    }

    .image-wrapper:after {
        top: 40px;
        left: 40px;
        width: 64px;
        height: 64px;
    }

    .text-content {
        max-width: 320px;
    }
    
    .text-content > h2 {
        font-size: 32px;
        letter-spacing: -0.6px;
        margin-bottom: 24px;
    }
    
    .text-content > p {
        font-size: 14px;
        letter-spacing: -0.24px;
        margin-bottom: 24px;
    }

    .text-content > ul > li {
        font-size: 14px;
        letter-spacing: none;
    }

    .category-tag {
        gap: 14px;
        padding: 8px 14px;
        margin-bottom: 24px;
    }
    
    .category-label {
        font-size: 12px;
    }
}

@media screen and (max-width: 760px) {


        /* Container styling */
    .image-text-container {
        background-color: white;
        width: 100%;
        padding: 160px 0; /* Your desired container padding */
    }

    .image-text-sections-wrapper {
        display: flex;
        flex-direction: column;
        gap: 160px; /* Your desired gap between sections */
    }

    .image-text-section {
        padding: 0px 24px;
    }
    
    .image-text-inner-wrapper {
        flex-direction: column !important;
        align-items: start;
        gap: 32px;
    }

    .image-wrapper {
        width: 100%;
        height: 160px;
        max-width: unset;
    }

    .image-wrapper:after {
        top: 24px;
        left: 24px;
        width: 32px;
        height: 32px;
    }

    .image-text-section.image-right .image-wrapper {
        margin-left: 0px;
    }
    
    .image-text-section.image-left .image-wrapper {
        margin-right: 0px;
    }

    .text-content {
        max-width: unset;
    }
    
    .image-text-section.image-right .text-content {
        margin-left: 0px;
    }
    
    .image-text-section.image-left .text-content {
        margin-right: 0px;
    }
}