.location-area {
    position: relative;
    display: block;
    padding: 120px 0 90px;
    z-index: 1;
}

.location-area__top-title {
    position: relative;
    display: block;
    padding-bottom: 49px;
}

.location-area__top-title .sec-title {
    position: relative;
    display: block;
    max-width: 670px;
    width: 100%;
    float: left;
    padding: 0;
}

.location-area__top-title .text-box {
    position: relative;
    display: block;
    float: right;
    max-width: 500px;
    width: 100%;
    margin-top: -19px;
}

.location-area__top-title .text-box p {
    margin: 0;
}

@media only screen and (min-width: 1200px) {
    .location-area__top-title {
        display: flex;
        justify-content: space-between;
        align-items: flex-start;
        gap: 30px;
    }

    .location-area__top-title .text-box {
        margin-top: 0;
    }
}

.single-location-area {
    position: relative;
    display: flex;
    flex-direction: column;
    height: 100%;
    margin: 0;
}

.single-location-area .img-holder {
    position: relative;
    display: block;
}

.single-location-area .img-holder .inner {
    position: relative;
    display: block;
    overflow: hidden;
    border-top-left-radius: 5px;
    border-top-right-radius: 5px;
    z-index: 1;
    aspect-ratio: 370 / 250;
}

.single-location-area .img-holder .inner:before {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    background: rgba(var(--thm-black-rgb), .70);
    content: '';
    transition: transform 0.6s;
    transform: scale3d(0.5, 1.5, 1) rotate3d(0, 0, 1, 90deg) translate3d(0, -210%, 0);
}

.single-location-area:hover .img-holder .inner:before {
    transform: scale3d(0.5, 1.5, 1) rotate3d(0, 0, 1, 90deg) translate3d(0, 210%, 0);
}

.single-location-area .img-holder .inner img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transform: scale(1.0);
    transition: all 700ms ease;
}

.single-location-area:hover .img-holder .inner img {
    transform: scale(1.2);
}

.location-area .single-location-area .img-holder .inner:before {
    display: none;
}

/* Foto studio a piena larghezza: niente crop, si mantiene il rapporto originale */
.location-area .single-location-area .img-holder .inner {
    aspect-ratio: auto;
}

.location-area .single-location-area .img-holder .inner img,
.location-area .single-location-area:hover .img-holder .inner img {
    height: auto;
    object-fit: contain;
    transform: scale(1.0);
}


.single-location-area .img-holder .icon {
    position: absolute;
    bottom: -30px;
    right: 30px;
    width: 80px;
    height: 80px;
    background: #ffffff;
    border-radius: 5px;
    box-shadow: 0px 10px 60px 0px rgba(0, 0, 0, 0.05);
    z-index: 2;
}

.single-location-area .img-holder .icon:before {
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    border-radius: 5px;
    background: var(--thm-base);
    content: "";
    z-index: -1;
    transform: scale(0.0);
    transform-origin: center;
    transform-style: preserve-3d;
    transition: all 0.4s cubic-bezier(0.62, 0.21, 0.45, 1.52);
}

.single-location-area:hover .img-holder .icon:before {
    transform: scaleX(1.0);
}

.single-location-area .img-holder .icon span {
    position: relative;
    display: block;
}

.single-location-area .img-holder .icon span:before {
    position: relative;
    display: block;
    color: var(--thm-base);
    font-size: 45px;
    line-height: 80px;
    text-align: center;
    transition: all 200ms linear;
    transition-delay: 0.1s;
}

.single-location-area:hover .img-holder .icon span:before {
    color: #ffffff;
}


.single-location-area .title-holder {
    position: relative;
    display: block;
    flex: 1 1 auto;
    box-shadow: 0px 10px 60px 0px rgba(0, 0, 0, 0.05);
    padding: 34px 40px 30px;
    border-bottom-left-radius: 5px;
    border-bottom-right-radius: 5px;
    z-index: 1;
}

.single-location-area .title-holder:before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--thm-base);
    transform: perspective(400px) scaleX(0);
    transform-origin: center;
    transition: all 500ms linear;
    transition-delay: 0.1s;
    z-index: -1;
}

.single-location-area:hover .title-holder:before {
    transform: perspective(400px) scaleX(1.0);
    transition: all 300ms linear;
    transition-delay: 0.1s;
}


.single-location-area .title-holder h3 {
    font-size: 24px;
    line-height: 30px;
    font-weight: 400;
    margin-bottom: 14px;
}

.single-location-area .title-holder h3 a {
    color: var(--thm-black);
    transition: all 200ms linear;
    transition-delay: 0.1s;
}

.single-location-area .title-holder h3 a:hover {
    color: var(--thm-base);
}

.single-location-area .title-holder .text {
    position: relative;
    display: block;
    transition: all 0.3s ease-in-out 0.1s;
}

.single-location-area .title-holder .text p {
    margin: 0;
    transition: all 0.3s ease-in-out 0.1s;
}

/* --- from responsive --- */

@media only screen and (min-width: 992px) and (max-width: 1199px) {
    /*** Location Area Css ***/
    .location-area__top-title .sec-title {
        max-width: none;
        width: 100%;
        float: none;
    }

    .location-area__top-title .text-box {
        float: none;
        max-width: none;
        margin-top: 15px;
    }

    .single-location-area .title-holder {
        padding: 34px 29px 30px;
    }

    .single-location-area .title-holder .text p {
        font-size: 16px;
    }
}

@media only screen and (min-width: 768px) and (max-width: 991px) {
    /*** Location Area Css ***/
    .location-area .sec-title .sub-title {
        justify-content: center;
    }

    .location-area__top-title {
        text-align: center;
    }

    .location-area__top-title .sec-title {
        max-width: none;
        width: 100%;
        float: none;
    }

    .location-area__top-title .text-box {
        float: none;
        max-width: none;
        margin-top: 15px;
    }
}

@media only screen and (max-width: 767px) {
    /*** Location Area Css ***/
    .location-area .sec-title .sub-title {
        justify-content: center;
    }

    .location-area__top-title {
        text-align: center;
    }

    .location-area__top-title .sec-title {
        max-width: none;
        width: 100%;
        float: none;
    }

    .location-area__top-title .text-box {
        float: none;
        max-width: none;
        margin-top: 15px;
    }

    .single-location-area .title-holder {
        padding: 34px 29px 30px;
    }

    .single-location-area .title-holder .text p {
        font-size: 17px;
    }
}

/* --- from personal --- */

/* Servizi */
.single-location-area .img-holder .icon span:before {
    color: #0a8ae6 !important;
}


.location-area__top-title .sec-title.now-in-view {
  -webkit-animation-name: fadeInLeft1;
  animation-name: fadeInLeft1;
  -webkit-animation-duration: 1s;
  animation-duration: 1s;
  -webkit-animation-fill-mode: both;
  animation-fill-mode: both;
}

.location-area__top-title .text-box.now-in-view {
  -webkit-animation-name: fadeInRight1;
  animation-name: fadeInRight1;
  -webkit-animation-duration: 1s;
  animation-duration: 1s;
  -webkit-animation-fill-mode: both;
  animation-fill-mode: both;
}
