.divider .line1 {
    width: 50px;
}

.divider .line1,
.divider .line2 {
    height: 1px;
    background-color: #b99470;
    margin: 3px auto;
}

hr {
    margin-top: 20px;
    margin-bottom: 20px;
    border: 0;
    border-top: 1px solid #eeeeee;
}

hr {
    box-sizing: content-box;
    height: 0;
}

hr {
    display: block;
    margin-block-start: 0.5em;
    margin-block-end: 0.5em;
    margin-inline-start: auto;
    margin-inline-end: auto;
    unicode-bidi: isolate;
    overflow: hidden;
    border-style: inset;
    border-width: 1px;
}

.divider .line2 {
    width: 200px;
}

.section__best-rooms {
    background: linear-gradient(-45deg, white 50%, #f8f8f8 50%);
    border-top: 1px solid #e9e9e9;
    border-bottom: 1px solid #e9e9e9;
    padding: 80px 0;
}

@media (max-width: 767px) {
    .section__best-rooms {
        padding: 50px 0;
    }
}

/*** 7. Section: Best Rooms ***/
.section__best-rooms {
    background: linear-gradient(-45deg, white 50%, #f8f8f8 50%);
    border-top: 1px solid #e9e9e9;
    border-bottom: 1px solid #e9e9e9;
    padding: 80px 0;
}

@media (max-width: 767px) {
    .section__best-rooms {
        padding: 50px 0;
    }
}

.section__best-rooms .best-rooms__content .best-rooms__item {
    overflow: hidden;
    position: relative;
    margin-bottom: 25px;
}

.section__best-rooms .best-rooms__content .best-rooms__item figcaption {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    padding: 10px 20px;
    color: #fff;
    background: linear-gradient(
        to top,
        rgba(0, 0, 0, 0.6) 10%,
        rgba(0, 0, 0, 0.3) 30%,
        rgba(0, 0, 0, 0.1) 50%,
        transparent 100%
    );
    transition: background-color 0.3s;
}

@media (max-width: 991px) {
    .section__best-rooms .best-rooms__content .best-rooms__item figcaption {
        padding: 10px;
    }
}

@media (max-width: 767px) {
    .section__best-rooms .best-rooms__content .best-rooms__item figcaption {
        padding: 5px;
    }
}

.section__best-rooms .best-rooms__content .best-rooms__item figcaption > h3 {
    position: relative;
    padding-bottom: 7px;
    margin-bottom: 4px;
    color: #fff;
    transform: translate(0, 260px);
    transition: opacity 0.4s, transform 0.4s;
    transition-delay: 0.45s;
    border-bottom: 1px solid #b99470;
}

@media (max-width: 1199px) {
    .section__best-rooms
        .best-rooms__content
        .best-rooms__item
        figcaption
        > h3 {
        transform: translate(0, 200px);
    }
}

@media (max-width: 991px) {
    .section__best-rooms
        .best-rooms__content
        .best-rooms__item
        figcaption
        > h3 {
        transform: translate(0, 130px);
        font-size: 20px;
    }
}

@media (max-width: 425px) {
    .section__best-rooms
        .best-rooms__content
        .best-rooms__item
        figcaption
        > h3 {
        transform: translate(0, 165px);
        font-size: 20px;
    }
}

@media (max-width: 375px) {
    .section__best-rooms
        .best-rooms__content
        .best-rooms__item
        figcaption
        > h3 {
        transform: translate(0, 135px);
        font-size: 18px;
    }
}

@media (max-width: 320px) {
    .section__best-rooms
        .best-rooms__content
        .best-rooms__item
        figcaption
        > h3 {
        transform: translate(0, 100px);
        font-size: 18px;
    }
}

.section__best-rooms
    .best-rooms__content
    .best-rooms__item
    figcaption
    .item__price {
    margin-bottom: 10px;
    transform: translate(0, 260px);
    transition: opacity 0.4s, transform 0.4s;
    transition-delay: 0.4s;
    font-size: 24px;
    font-family: "Playfair Display", serif;
}

.section__best-rooms
    .best-rooms__content
    .best-rooms__item
    figcaption
    .item__price
    > small {
    font-size: 14px;
    font-family: "Montserrat", sans-serif;
}

@media (max-width: 1199px) {
    .section__best-rooms
        .best-rooms__content
        .best-rooms__item
        figcaption
        .item__price {
        transform: translate(0, 195px);
    }
}

@media (max-width: 991px) {
    .section__best-rooms
        .best-rooms__content
        .best-rooms__item
        figcaption
        .item__price {
        transform: translate(0, 130px);
        font-size: 20px;
    }
}

@media (max-width: 425px) {
    .section__best-rooms
        .best-rooms__content
        .best-rooms__item
        figcaption
        .item__price {
        transform: translate(0, 165px);
        font-size: 20px;
    }
}

@media (max-width: 375px) {
    .section__best-rooms
        .best-rooms__content
        .best-rooms__item
        figcaption
        .item__price {
        transform: translate(0, 135px);
        font-size: 18px;
    }
}

@media (max-width: 320px) {
    .section__best-rooms
        .best-rooms__content
        .best-rooms__item
        figcaption
        .item__price {
        transform: translate(0, 100px);
        font-size: 18px;
    }
}

.section__best-rooms
    .best-rooms__content
    .best-rooms__item
    figcaption
    .item__desc {
    opacity: 0;
    transform: translate(0, 10px);
    transition: opacity 0.3s, transform 0.3s;
    margin-top: 30px;
    margin-bottom: 50px;
    line-height: 1.5em;
}

@media (max-width: 1199px) {
    .section__best-rooms
        .best-rooms__content
        .best-rooms__item
        figcaption
        .item__desc {
        margin: 30px 0;
    }
}

@media (max-width: 991px) {
    .section__best-rooms
        .best-rooms__content
        .best-rooms__item
        figcaption
        .item__desc {
        margin: 15px 0;
    }
}

@media (max-width: 767px) {
    .section__best-rooms
        .best-rooms__content
        .best-rooms__item
        figcaption
        .item__desc {
        margin: 10px 0;
        font-size: 12px;
    }
}

.section__best-rooms
    .best-rooms__content
    .best-rooms__item
    figcaption
    .btn-book {
    opacity: 0;
    transform: translate(0, 10px);
    transition: opacity 0.3s, transform 0.3s;
    text-transform: uppercase;
    font-size: 13px;
    color: #b99470;
    letter-spacing: 1px;
    text-decoration: none;
}

@media (max-width: 767px) {
    .section__best-rooms
        .best-rooms__content
        .best-rooms__item
        figcaption
        .btn-book {
        transform: translate(0, 50px);
        font-size: 12px;
    }
}

.section__best-rooms
    .best-rooms__content
    .best-rooms__item
    figcaption
    .btn-book
    > i {
    opacity: 1;
}

.section__best-rooms
    .best-rooms__content
    .best-rooms__item
    figcaption
    .btn-book:hover
    > i {
    transition: all 0.35s;
    margin-left: 10px;
    opacity: 0;
}

.section__best-rooms .best-rooms__content .best-rooms__item:focus figcaption,
.section__best-rooms .best-rooms__content .best-rooms__item:hover figcaption,
.section__best-rooms .best-rooms__content .best-rooms__item:active figcaption {
    background-color: rgba(0, 0, 0, 0.6);
}

.section__best-rooms .best-rooms__content .best-rooms__item:focus figcaption h3,
.section__best-rooms .best-rooms__content .best-rooms__item:hover figcaption h3,
.section__best-rooms
    .best-rooms__content
    .best-rooms__item:active
    figcaption
    h3 {
    transition-delay: 0.1s;
}

.section__best-rooms
    .best-rooms__content
    .best-rooms__item:focus
    figcaption
    .item__price,
.section__best-rooms
    .best-rooms__content
    .best-rooms__item:hover
    figcaption
    .item__price,
.section__best-rooms
    .best-rooms__content
    .best-rooms__item:active
    figcaption
    .item__price {
    transition-delay: 0.2s;
}

.section__best-rooms
    .best-rooms__content
    .best-rooms__item:focus
    figcaption
    .btn-book,
.section__best-rooms
    .best-rooms__content
    .best-rooms__item:hover
    figcaption
    .btn-book,
.section__best-rooms
    .best-rooms__content
    .best-rooms__item:active
    figcaption
    .btn-book {
    opacity: 1;
    transition-delay: 0.5s;
}

.section__best-rooms .best-rooms__content .best-rooms__item:focus figcaption h3,
.section__best-rooms .best-rooms__content .best-rooms__item:hover figcaption h3,
.section__best-rooms
    .best-rooms__content
    .best-rooms__item:active
    figcaption
    h3,
.section__best-rooms
    .best-rooms__content
    .best-rooms__item:focus
    figcaption
    .item__price,
.section__best-rooms
    .best-rooms__content
    .best-rooms__item:hover
    figcaption
    .item__price,
.section__best-rooms
    .best-rooms__content
    .best-rooms__item:active
    figcaption
    .item__price,
.section__best-rooms
    .best-rooms__content
    .best-rooms__item:focus
    figcaption
    .item__desc,
.section__best-rooms
    .best-rooms__content
    .best-rooms__item:hover
    figcaption
    .item__desc,
.section__best-rooms
    .best-rooms__content
    .best-rooms__item:active
    figcaption
    .item__desc {
    transform: translate(0, 0);
}

/* @media (max-width: 1199px) {
    .section__best-rooms
        .best-rooms__content
        .best-rooms__item:focus
        figcaption
        h3,
    .section__best-rooms
        .best-rooms__content
        .best-rooms__item:hover
        figcaption
        h3,
    .section__best-rooms
        .best-rooms__content
        .best-rooms__item:active
        figcaption
        h3,
    .section__best-rooms
        .best-rooms__content
        .best-rooms__item:focus
        figcaption
        .item__price,
    .section__best-rooms
        .best-rooms__content
        .best-rooms__item:hover
        figcaption
        .item__price,
    .section__best-rooms
        .best-rooms__content
        .best-rooms__item:active
        figcaption
        .item__price,
    .section__best-rooms
        .best-rooms__content
        .best-rooms__item:focus
        figcaption
        .item__desc,
    .section__best-rooms
        .best-rooms__content
        .best-rooms__item:hover
        figcaption
        .item__desc,
    .section__best-rooms
        .best-rooms__content
        .best-rooms__item:active
        figcaption
        .item__desc {
        transform: translate(0, -20px);
    }
} */

.section__best-rooms
    .best-rooms__content
    .best-rooms__item:focus
    figcaption
    .item__desc,
.section__best-rooms
    .best-rooms__content
    .best-rooms__item:hover
    figcaption
    .item__desc,
.section__best-rooms
    .best-rooms__content
    .best-rooms__item:active
    figcaption
    .item__desc,
.section__best-rooms
    .best-rooms__content
    .best-rooms__item:focus
    figcaption
    .btn-book,
.section__best-rooms
    .best-rooms__content
    .best-rooms__item:hover
    figcaption
    .btn-book,
.section__best-rooms
    .best-rooms__content
    .best-rooms__item:active
    figcaption
    .btn-book {
    opacity: 1;
    transition-delay: 0.4s;
}

.section__best-rooms .rooms__button {
    text-align: center;
    margin: 50px 0;
}

@media (max-width: 991px) {
    .section__best-rooms .rooms__button {
        margin: 20px 0;
    }
}

@media (max-width: 767px) {
    .section__best-rooms .rooms__button {
        margin: 20px 0;
    }
}
.section__best-rooms .best-rooms__content .best-rooms__item figcaption {
    cursor: pointer;
}

.best-rooms__item figcaption {
    display: flex;
    flex-direction: column;
    justify-content: center;
    /* vertical alignment */
    align-items: center;
    /* horizontal alignment */
    height: 100%;
    text-align: center;
    /* center text inside */
    padding: 20px;
    /* optional, for spacing */
}
