.workplace-section {
    max-width: 1240px;
    margin: 0 auto;
    padding: 64px 20px 64px 20px;
    display: flex;
    flex-direction: column;
    gap: 64px
}

.workplace-section-container {
    display: flex;
    flex-direction: column;
}

.workplace-container {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding-bottom: 24px;
}

.workplace-container-title {
    font-weight: 600;
    font-size: 24px;
    line-height: 150%;
    letter-spacing: 0.04rem;
}

.workplace-container-description {
    font-weight: 400;
    font-size: 16px;
    color: #5B5B5C;
    line-height: 150%;
    letter-spacing: 0.04rem;
}

.location-card {
    display: flex;
    flex-wrap: wrap;
    background: white;
    border-radius: 18px;
    overflow: hidden;
    border: 1px solid #CACBCC;
    border-top: none;
}

.location-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.location-info {
    display: flex;
    flex-direction: column;
    padding: 20px;
    width: 100%;
    gap: 12px;
}

.location-title-container {
    display: flex;
    gap: 12px;
    align-items: center;
    justify-content: start;
}

.location-logo {
    width: 24px;
    height: 24px;
    position: relative;
    flex: 0 0 auto; 
    display: flex;
    align-items: center;
    justify-content: center;
}

.location-logo img {
    position: absolute;
    top: 1.75px;
    left: 3.12px;
    width: 17.75px;
    height: 20.5px;
}

.location-title {
    font-weight: 600;
    font-size: 24px;
    line-height: 150%;
    letter-spacing: 0.04rem;
}

.location-address {
    font-weight: 400;
    font-size: 16px;
    line-height: 150%;
    letter-spacing: 0.04rem;
    color: var(--icon-primary, #5B5B5C);
}

.image-half {
    flex: 1;
    min-width: 300px;
}

.image-half img {
    width: 100%;
    height: 300px;
    max-height: 300px;
    object-fit: cover;
    flex: 1;
}

@media (max-width: 1439px) {
    .workplace-section {
        max-width: 896px;
        padding: 56px 0px 56px 0px;
    }

    .image-half img {
        height: 224px;
    }

    .image-half {
        height: 224px;
    }
}

@media (max-width: 1023px) {
    .workplace-section {
        max-width: 688px;
        padding: 56px 0px 56px 0px;
    }

    .image-half img {
        height: 172px;
    }

    .image-half {
        height: 172px
    }

    .location-title {
        font-size: 21px;
    }

    .location-address {
        font-size: 16px;
    }

    .workplace-container-title {
        font-size: 21px;
        height: 36px;
    }

    .workplace-container {
        gap: 8px;
    }

    .workplace-container-description {
        font-size: 16px;
    }
}

@media (max-width: 767px) {
    .image-half img {
        height: 171.5px;
    }

    .image-half {
        height: 171.5px;
        min-height: 171.5px;
    }

    .workplace-section {
        max-width: 343px;
        padding: 48px 0px 48px 0px;
        gap: 40px;
    }

    .location-card {
        flex-direction: column;
        gap: 0;
    }

    .location-card .location-info {
        order: 3;
    }

    .location-card .image-half:has(img) {
        order: 1;
    }

    .location-card .image-half:has(iframe) {
        order: 2;
    }

    .location-title {
        font-size: 16px;
    }

    .location-address {
        height: 20px;
        font-size: 13px;
        color: #5B5B5C
    }

    .location-info {
        padding: 16px;
    }

    .workplace-container {
        padding-bottom: 16px;
    }

    .workplace-container-title {
        font-size: 16px;
        height: 24px;
    }

    .workplace-container-description {
        font-size: 13px;
    }
}