/* @group Header Gallery
------------------------------------ */
.header-gallery {
    position: relative;
    box-shadow: 0px 10px 74px rgba(0, 0, 0, 0.1);
}
.header-gallery .collection {
    color: var(--font-black);
    display: block;
    text-transform: uppercase;
    font-weight: 600;
}
.header-gallery h1 {
    color: var(--main-blue);
    font-weight: 700;
    text-transform: uppercase;
}
.header-gallery__info {
    z-index: 2;
}
.header-gallery__figure {
    z-index: 1;
    padding: 0;
}
.header-gallery__figure::before {
    content: '';
    pointer-events: none;
    width: 100%;
    height: 100%;
    position: absolute;
    bottom: 0;
    left: 0;
    background: linear-gradient(360deg, rgba(4, 27, 57, 0.8) 2.34%, rgba(0, 0, 0, 0) 34.83%);
    background-blend-mode: multiply, normal;
}
.header-gallery__figcaption {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    text-align: center;
}
.header-gallery__figcaption-bttn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--main-tang);
    text-transform: uppercase;
}
.header-gallery__figcaption-bttn i {
    font-size: 1.262em;
    color: var(--main-tang);
    margin-left: 0.5rem;
}
.header-gallery .description {
    max-width: 32rem;
    font-size: 0;
}
.header-gallery__figcaption-bttn-play {
    width: 6rem;
    height: 6rem;
    border-radius: 100%;
    background-color: var(--main-white);
    color: var(--main-blue);
    font-size: 2rem;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: inline-flex;
    justify-content: center;
    align-items: center;
    z-index: 3;
}
.header-gallery__figcaption-bttn-play:hover {
    opacity: .9;
}
.header-gallery.show-video .header-gallery__figcaption-bttn-play {
    opacity: 0;
    pointer-events: none;
}
.header-gallery .description li {
    color: var(--font-black);
    font-weight: 300;
    display: inline;
}
.header-gallery .description li:not(:first-child)::before {
    content: '|';
    color: var(--secundary-grey);
}

.header-gallery p {
    color: var(--font-black);
    font-weight: 400;
}

.single-property .header-gallery .bttn {
    display: flex;
}
.single-property .header-gallery .bttn:not(:last-of-type) {
    margin: 0 0 1.5rem;
}

@media only screen
and (min-width : 961px) {
    .header-gallery__figure::after {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: linear-gradient(180deg, rgba(238, 244, 246, .35) 11%, rgba(255, 255, 255, 0) 50%);
        z-index: 1;
        pointer-events: none;
    }
    .header-gallery__info {
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        padding-top: 7.965rem;
    }
    .header-gallery__info > div:last-child {
        margin-top: 5rem;   
    }
    .header-gallery__info .bttns-wrapper {
        display: flex;
        column-gap: 1.5rem;
        align-items: flex-start;
    }
    .header-gallery__info .bttns-wrapper .bttns-left {
        flex: 0 1 13.3rem;
    }
    .header-gallery__info .bttns-wrapper .bttns-right {
        flex: 0 1 17.5rem;
    }
    .header-gallery__info .bttns-wrapper .bttn {
        margin: 0 0 1.5rem;
        width: 100%;
    }
    .header-gallery .collection {
        text-decoration: underline;
        font-size: 1.4em;
        line-height: 1.42em;
        letter-spacing: 0.04em;
        margin-bottom: .9rem;
    }
    .header-gallery h1 {
        width: 80rem;
        font-size: 7.5em;
        line-height: 1em;
        letter-spacing: 0.01em;
        margin-bottom: 0.175rem;
    }
    .header-gallery .description {
        margin-bottom: 2.846rem;
    }
    .header-gallery .description li {
        font-size: 1.2rem;
        line-height: 1.27em;   
        letter-spacing: -0.01em;
    }
    .header-gallery .description li:first-child span {
        padding-right: .75rem;
    }
    .header-gallery .description li:not(:first-child) span {
        padding: 0 .75rem;
    }
    .header-gallery p {
        font-size: 2.2em;
        line-height: 1.4em;
        max-width: 35.3rem;
        margin-bottom: 4.431rem;
    }
    .header-gallery__figure {
        height: 90.8rem;
        border-bottom: 4.6rem solid var(--main-tang);
        background: linear-gradient(360deg, rgba(4, 27, 57, 0.5) 2.34%, rgba(0, 0, 0, 0) 34.83%);
    }
    .header-gallery__figcaption {
        padding-bottom: 3.346rem;
    }
    .header-gallery__figcaption-bttn {
        width: 21.8rem;
        height: 5.2rem;
        border: 3px solid var(--main-tang);
        border-radius: 5.4rem;
        font-size: 1.4em;
        line-height: 5.2rem;
        letter-spacing: 0.04em;
        font-weight: 700;
        margin: 0 1.5rem;
    }
    .header-gallery__figcaption-bttn-play {
        width: 10rem;
        height: 10rem;
        font-size: 3rem;
    }
    .single-property .header-gallery .bttn {
        width: fit-content;
    }
}
@media only screen
and (min-width : 961px)
and (max-width : 1440px) {
}
@media only screen
and (min-width : 0)
and (max-width : 960px) {
    .header-gallery {
        padding-bottom: 4.7rem;
    }
    .header-gallery__info {
        padding-top: 3.429rem;
    }
    .header-gallery__info > div:last-child {
        margin-top: 3.776rem;   
    }
    .header-gallery .collection {
        font-size: 1.4em;
        line-height: 1.428em;
        margin-bottom: .2rem;
        letter-spacing: .4rem;
    }
    .header-gallery h1 {
        font-size: 3.6em;
        line-height: 1.16em;
        margin-bottom: .62rem;
    }
    .header-gallery .virtual-tour {
        width: fit-content;
    }
    .header-gallery .description {
        margin-bottom: 1.742rem;
    }
    .header-gallery .description li {
        font-size: 1.2rem;
        line-height: 1.5em;   
        letter-spacing: -0.01em;
    }
    .header-gallery .description li:first-child span {
        padding-right: .75rem;
    }
    .header-gallery .description li:not(:first-child) span {
        padding: 0 .75rem;
    }
    .header-gallery p {
        font-size: 1.8em;
        line-height: 1.333em;
        max-width: 30.5rem;
        margin-bottom: 2.664rem;
    }
    .header-gallery__figure{
        order: -1;
        height: 36.5rem;
        border-bottom: 4.634rem solid var(--main-tang);
        box-shadow: 0px 10px 74px rgba(0, 0, 0, 0.1);
    }
    .header-gallery__figcaption {
        padding-bottom: 3rem;
    }
    .header-gallery__figcaption-bttn {
        width: 21.8rem;
        height: 5.2rem;
        border: 3px solid var(--main-tang);
        border-radius: 5.4rem;
        font-size: 1.4em;
        line-height: 5.2rem;
        letter-spacing: 0.04em;
        font-weight: 700;
    }
    .single-collection .header-gallery__info .bttn {
        margin-bottom: 1rem;
    }
}

/* @end */

.header-gallery__figure .video {
    opacity: 0;
    transition: opacity .7s;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}
.show-video .header-gallery__figure .video {
    opacity: 1;
}
.header-gallery__figcaption {
    z-index: 2;
}
.header-gallery__figure .video video {
    width: 100%;
    height: 100%;
}


.header-gallery .collection,
.header-gallery h1,
.header-gallery .description,
.header-gallery p,
.header-gallery .bttn,
.header-gallery .quick-links__container,
.header-gallery .header-gallery__figure {opacity: 0;}

.header-gallery.animateActive .collection,
.header-gallery.animateActive h1,
.header-gallery.animateActive .description,
.header-gallery.animateActive p,
.header-gallery.animateActive .bttn,
.header-gallery.animateActive .quick-links__container {animation: fadeDown 1.2s forwards;}


.header-gallery.animateActive .collection {animation-delay:.1s;}
.header-gallery.animateActive h1 {animation-delay:.3s;}
.header-gallery.animateActive .description {animation-delay:.5s;}
.header-gallery.animateActive p {animation-delay:.7s;}
.header-gallery.animateActive .bttn {animation-delay:.9s;}
.header-gallery.animateActive .quick-links__container {animation-delay:1.1s;}


@media only screen
and (min-width : 961px) {
    .header-gallery.animateActive .header-gallery__figure {animation: fadeRight 1.2s forwards;}
    .header-gallery.animateActive .header-gallery__figure {animation-delay:1.3s;}
}
@media only screen
and (min-width : 0)
and (max-width : 960px) {
    .header-gallery.animateActive .header-gallery__figure {animation: fadeDown 1.2s forwards;}
}
