/* single location
===================================================================================================================== */
.location-single__header {
    display: grid;
    margin-bottom: 100px;
}

/* @include medium; */
@media screen and (min-width: 768px) {
    .location-single__header {
        grid-template-columns: repeat(4, 1fr);
        grid-template-rows: 2fr repeat(3, 1fr);
        grid-column-gap: 0px;
        grid-row-gap: 0px;
        max-height: 900px;
    }
}

/* @include large; */
@media screen and (min-width: 1024px) {
    .location-single__header {
        max-height: 1180px;
        margin-bottom: 300px;
    }
}

/* info
--------------------------------------------------------------------------------------------------------------------- */
.location-single__header__info {
    position: relative;
    order: 2;
    background: #3d3d3d;
    background: linear-gradient(218.34deg, #3d3d3d 17.64%, #a4c6d3 100%);
}

/* @include medium; */
@media screen and (min-width: 768px) {
    .location-single__header__info {
        order: 1;
        grid-area: 1 / 1 / 3 / 3;
    }
}

.location-single__header__info__square {
    position: absolute;
    bottom: 0;
    right: 0;
    z-index: 1;
}

.location-single__info {
    position: relative;
    z-index: 2;
    display: flex;
    width: 100%;
    height: 100%;
    flex-direction: column;
    justify-content: flex-start;
    align-items: stretch;
    color: white;
}

.location-single__info-inner {
    padding: 40px 20px;
}

@media screen and (min-width: 768px) {
    .location-single__info-inner {
        max-width: 300px;
        display: flex;
        width: 100%;
        flex-direction: column;
        align-self: flex-end;
        padding-left: 0;
    }
}

@media screen and (min-width: 1000px) {
    .location-single__info-inner {
        max-width: 440px;
    }
}

/* matches their breakpoints */
@media screen and (min-width: 1300px) {
    .location-single__info-inner {
        max-width: 550px;

        padding-top: 80px;
        padding-right: 100px;
        padding-bottom: 100px;
    }
}

.location-single__subtitle {
    margin-bottom: 20px;
    font-weight: bold;
    font-size: 14px;
    text-transform: uppercase;
    color: white;
}

.location-single__title {
    margin-bottom: 20px;
    color: white;
}

.location-single__info-inner .wpsl-location-details,
.location-single__info-inner .wpsl-location-address {
    margin-bottom: 0;
}

/* categories
--------------------------------------------------------------------------------------------------------------------- */
.location-single__categories {
    margin-top: 40px;
}

.location-single__category-icon {
    fill: currentColor;
}

/* hours
--------------------------------------------------------------------------------------------------------------------- */
.location-single__header__hours {
    order: 3;
}

/* @include medium; */
@media screen and (min-width: 768px) {
    .location-single__header__hours {
        order: 3;
        grid-area: 3 / 1 / 5 / 3;
    }
}

@media screen and (min-width: 1600px) {
    .location-single__header__hours {
        grid-area: 4 / 1 / 5 / 3;
    }
}

.location-single__header__hours-wrapper {
    position: relative;
    z-index: 2;
    display: flex;
    width: 100%;
    height: 100%;
    flex-direction: column;
    justify-content: flex-start;
    align-items: stretch;
}

@media screen and (min-width: 1024px) {
    .location-single__header__hours-wrapper {
        display: flex;
        flex-direction: column;
        align-items: flex-end;
        justify-content: flex-end;
        width: 100%;
    }
}

.location-single__header__hours-inner {
    padding: 40px 20px;
}

@media screen and (min-width: 768px) {
    .location-single__header__hours-inner {
        max-width: 300px;
        display: flex;
        width: 100%;
        flex-direction: column;
        align-self: flex-end;
        justify-content: flex-end;
        padding-left: 0;
    }
}

@media screen and (min-width: 1000px) {
    .location-single__header__hours-inner {
        max-width: 440px;
    }
}

/* matches their breakpoints */
@media screen and (min-width: 1300px) {
    .location-single__header__hours-inner {
        max-width: 550px;
    }
}

.location-single__header__hours-inner ul,
.location-single__header__hours-inner ul li {
    list-style: none;
    margin: 0;
    padding: 0;
}

.location-single__header__hours-inner ul {
    display: grid;
    width: 100%;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr 1fr;
    grid-column-gap: 20px;
    grid-row-gap: 20px;
}

.location-single__header__hours-inner ul > br {
    display: none;
}

.hours-description ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.hours-description ul li {
    list-style: none !important;
    margin-bottom: -50px;
}

/* featured image
--------------------------------------------------------------------------------------------------------------------- */
.location-single__header__img {
    position: relative;
    order: 1;
}

.location-single__header__img__square {
    position: absolute;
    bottom: 0;
    left: 0;
}

/* @include medium; */
@media screen and (min-width: 768px) {
    .location-single__header__img {
        order: 2;
        grid-area: 1 / 3 / 2 / 5;
    }
}

.location-single__header__img img {
    object-fit: cover;
    width: 100%;
    height: 100%;
}

/* map
--------------------------------------------------------------------------------------------------------------------- */
.location-single__header__map {
    order: 4;
    width: 100%;
}

/* @include medium; */
@media screen and (min-width: 768px) {
    .location-single__header__map {
        height: auto;
        order: 4;
        grid-area: 2 / 3 / 5 / 5;
    }
}

.location-single__header__map #wpsl-base-gmap_0.wpsl-gmap-canvas {
    margin-bottom: 0;
}

@media screen and (min-width: 1024px) {
    .location-single__header__map #wpsl-base-gmap_0.wpsl-gmap-canvas {
        height: 100%;
    }
}

.square {
    display: block;
    height: 100px;
    width: 100px;
    background-color: black;
}

/* @include medium; */
@media screen and (min-width: 768px) {
    .square {
        height: 200px;
        width: 200px;
    }
}

.square--blue {
    background-color: #a4c6d3;
}
.square--orange {
    background-color: #f36a22;
}
.square--green {
    background-color: #aaad00;
}

/* services
--------------------------------------------------------------------------------------------------------------------- */
.location-single .location-single__features {
    padding-bottom: 100px;
    position: relative;
    z-index: 1;
}

@media screen and (min-width: 1024px) {
    .location-single__features {
        padding-bottom: 300px;
    }
}

.location-single__features-background {
    position: absolute;
    z-index: 1;
    top: 0;
    left: -200%;
    right: -200%;
    bottom: 0;
    background-color: #f8f8f8;
    clip-path: polygon(0 0, 100% 300px, 100% 100%, 0% 100%);
    pointer-events: none;
}

.location-single__features-title {
    margin-bottom: 40px;
    position: relative;
    z-index: 5;
}

@media screen and (min-width: 1024px) {
    .location-single__features-title {
        margin-bottom: 80px;
    }
}

.location-single__services-container {
    position: relative;
    z-index: 5;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: 1fr;
    grid-column-gap: 40px;
    grid-row-gap: 40px;
}
@media screen and (min-width: 1024px) {
    .location-single__services-container {
        grid-template-columns: repeat(3, 1fr);
    }
}

.location-service__icon {
    margin-bottom: 20px;
}

.location-service__title {
    margin-bottom: 20px;
}

/* branch manager
--------------------------------------------------------------------------------------------------------------------- */
.location-single__branch-manager-background {
    position: absolute;
    z-index: 0;
    top: 0;
    left: -200%;
    right: -200%;
    bottom: 0;
    background-color: #f8f8f8;
    clip-path: polygon(100% 0, 0 0, 100% 300px);
    pointer-events: none;
}

.location-single .location-single__branch-manager {
    position: relative;
    margin-bottom: 100px;
    background-color: #f8f8f8;
}

.location-single__branch-manager-left-square {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100px;
    top: -40px;
    z-index: 1;
    background-color: #f36a22;
    content: '';
}

.location-single__branch-manager-right-square {
    position: absolute;
    bottom: -50px;
    right: 0;
    width: 100px;
    height: 100px;
    z-index: 1;
    background-color: #aaad00;
    content: '';
}

@media screen and (min-width: 768px) {
    .location-single .location-single__branch-manager {
        margin-bottom: 300px;
    }

    .location-single__branch-manager-left-square {
        width: 200px;
    }
}

@media screen and (min-width: 1024px) {
    .location-single .location-single__branch-manager {
        margin-bottom: 300px;
    }

    .location-single__branch-manager-left-square {
        width: 300px;
    }

    .location-single__branch-manager-right-square {
        bottom: -100px;
        width: 200px;
        height: 200px;
    }
}

.location-single__branch-manager-content {
    position: relative;
    z-index: 2;
    display: flex;
    width: 100%;

    padding: 40px 40px 40px 140px;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    background-color: #a4c6d3;
}

@media screen and (min-width: 768px) {
    .location-single__branch-manager-content {
        padding: 80px 80px 80px 280px;
    }
}
@media screen and (min-width: 1024px) {
    .location-single__branch-manager-content {
        padding-left: 380px;
    }
}

.location-single__branch-manager-name {
    margin-bottom: 20px;
    font-size: 20px;
}
@media screen and (min-width: 1024px) {
    .location-single__branch-manager-title {
        font-size: 42px;
    }

    .location-single__branch-manager-name {
        margin-bottom: 50px;
    }
}

.location-single__branch-manager-button {
    padding: 12px 40px;
    border-radius: 100px;
    background-color: #f36a22;
    color: white;
}

.location-single__branch-manager-button:hover {
    background-color: #d6510c;
    color: white;
}
