.location {
    width: 100%;
    max-width: 1440px;
    margin: 0 auto;
    padding: 120px 46px 0;
}

.location__header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 60px;
    align-items: flex-start;
}

.location__label {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 8px;
}

.location__label-dot {
    width: 6px;
    height: 6px;
    background-color: rgba(23, 171, 147, 1);
    flex-shrink: 0;
}

.location__label-text {
    font-family: var(--font-family);
    font-weight: 600;
    font-size: 15px;
    text-transform: lowercase;
    color: #17ab93;
}

.location__title {
    font-family: var(--font-family);
    font-weight: 500;
    font-size: 32px;
    line-height: 119%;
    text-transform: uppercase;
    color: var(--black-292929);
    margin: 0;
    max-width: 676px;
}

.location__content {
    display: flex;
    width: 100%;
    justify-content: space-between;
    gap: 30px;
}

.location__left {
    display: flex;
    flex-direction: column;
    max-width: 50%;
}

.location__map {
    position: relative;
    max-width: 564px;
    max-height: 471px;
    overflow: hidden;
}

.location__map-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.location__map:hover .location__map-image {
    transform: scale(1.05);
}

.location__marker {
    position: absolute;
    top: 223px;
    left: 391px;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 74px;
}

.location__marker-label {
    background-color: rgba(23, 171, 147, 1);
    padding: 6px 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.location__marker-text {
    color: rgba(255, 254, 254, 1);
    font-size: 12px;
    font-family: var(--font-family);
    font-weight: 600;
}

.location__marker-arrow {
    width: 0;
    height: 0;
    border-left: 10px solid transparent;
    border-right: 10px solid transparent;
    border-top: 12px solid rgba(23, 171, 147, 1);
}

.location__button {
    position: absolute;
    top: 20px;
    left: 20px;
    background-color: rgba(255, 255, 255, 1);
    padding: 10px 16px;
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 8px;
    border: none;
    cursor: pointer;
    text-decoration: none;
    transition: opacity 0.3s;
}

.location__button:hover {
    opacity: 0.8;
}

.location__button-icon {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
}

.location__button-text {
    color: rgba(40, 40, 40, 1);
    font-size: 13px;
    font-family: var(--font-family);
    font-weight: 500;
}

.location__right {
    display: flex;
    flex-direction: column;
    width: 100%;
    max-width: 50%;
}

.location__list {
    display: flex;
    flex-direction: column;
}

.location__item {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 24px 0;
    border-bottom: 1px solid var(--line-dadada);
    border-top: 1px solid var(--line-dadada);
    margin-bottom: -1px;
    position: relative;
}

.location__item--alt {
    background-color: transparent;
}

.location__item-image {
    margin-bottom: 8px;
    line-height: 0;
    overflow: hidden;
    position: absolute;
    top: 50%;
    right: 54px;
    transform: translateY(-50%);
    z-index: 9;
    opacity: 0;
    transition: opacity 0.3s ease;
}
.location__item:hover .location__item-image {
    opacity: 1;
}

.location__item-img {
    display: block;
    width: 100%;
    max-width: 200px;
    height: auto;
    object-fit: cover;
}

.location__item-time {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 16px;
}

.location__item-dot {
    width: 6px;
    height: 6px;
    background-color: rgba(40, 40, 40, 1);
    flex-shrink: 0;
}

.location__item-time-text {
    font-family: var(--font-family);
    font-weight: 600;
    font-size: 18px;
    color: var(--black-292929);
}

.location__item-desc {
    padding-left: 22px;
}

.location__item-desc-text {
    font-family: var(--font-family);
    font-weight: 500;
    font-size: 14px;
    text-transform: uppercase;
    color: var(--grey-808080);
}

@media (max-width: 1200px){
    .location__title{
        max-width: 466px;
    }
}

/* Mobile: 550px and below */
@media (max-width: 769px) {
    .location {
        padding: 60px 14px 0;
    }

    .location__header {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
        margin-bottom: 20px;
        max-width: 347px;
    }

    .location__label {
        gap: 6px;
    }

    .location__label-text {
        font-size: 14px;
        font-weight: 600;
    }

    .location__title {
        font-size: 22px;
        line-height: 110%;
        max-width: none;
    }

    .location__content {
        flex-direction: column;
        gap: 28px;
    }

    .location__left {
        max-width: none;
    }

    .location__map {
        max-height: 289px;
        max-width: 100%;
    }

    .location__map-image {
        height: 289px;
        object-fit: cover;
    }

    .location__button {
        top: 12px;
        left: 12px;
        padding: 9px 12px;
        height: 32px;
    }

    .location__button-icon {
        width: 14px;
        height: 14px;
    }

    .location__button-text {
        font-size: 12px;
    }

    .location__marker {
        display: none;
    }

    .location__marker-label {
        padding: 6px 12px;
    }

    .location__marker-text {
        font-size: 12px;
    }

    .location__right {
        max-width: none;
    }

    .location__item {
        padding: 14px 0;
        gap: 6px;
    }

    .location__item-img {
        max-width: 100%;
    }

    .location__item-time {
        gap: 14px;
    }

    .location__item-dot {
        width: 6px;
        height: 6px;
        background-color: #282828;
    }

    .location__item-time-text {
        font-size: 18px;
        font-weight: 600;
    }

    .location__item-desc {
        padding-left: 20px;
    }

    .location__item-desc-text {
        font-size: 14px;
        font-weight: 500;
    }
}
