/*
Theme Name: Les Forges du Pont d'Oye
Author: Intrépide
Description: Thème des Forges du Pont d'Oye (hôtel Les Ardillières, restaurant Les Plats Canailles, spa). Assets compilés depuis le dépôt (gulp) dans static/.
Version: 2.0.0
Requires PHP: 7.4
Text Domain: intrepide
*/

header .offcanvas-legal .list-unstyled{
    display: flex;
    column-gap: 40px;
    flex-wrap: wrap;
}

header .offcanvas-legal{
    width: 50vw;
}

a.btn-contact {
    position: relative;
    color: #1E1E1E;
    display: inline-block;
    background-repeat: no-repeat;
    background-position: bottom left;
    background-size: 0 1px;
    padding: 4px 1rem;
    transition: background 1s cubic-bezier(0.19, 1, 0.22, 1),color .3s ease;
    text-decoration: none;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    background-image: linear-gradient(#293D39, #1E1E1E);
}		

a.btn-contact span{
    position: relative;
    z-index: 2;
}

a.btn-contact:after {
    content: '';
    top: 0px;
    left: 0px;
    width: 100%;
    height: 100%;
    position: absolute;
    border: 1px solid #1E1E1E;
    transition: all 0.2s ease-in-out;
    background-color: transparent;
    z-index: 0;
    clip-path: polygon(0% 0%, 100% 0%, 100% 100%, 0% 100%);
}

a.btn-contact:hover{
    color: #fff !important;
    background-size: 0% !important;
}

a.btn-contact:hover:after {
    background-color: #1E1E1E;
    border-color: #1E1E1E;
    clip-path: polygon(0% 0%, 100% 0.1125rem, calc(100% - .375rem) 100%, 0.3125rem calc(100% - .25rem));
}

@media (min-width: 1200px) {
    .resume__content {
        width: calc(100% - 65px) !important;        
    }
    .resume.--top {
        flex-wrap: wrap;
    }
    .resume-faq .resume__content{
        width: 100% !important;
        text-align: center;
        font-size: 18px !important;
        font-weight: 700;
        color: #182C51;
    }
}

.resume-faq{
    width: 100%;
    margin: 18px auto 0;
    padding-top: 24px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    border-top: 1px solid #182C51;
}

.home .page__picture img {
    height: 100%;
    width: 100%;
    object-position: center bottom;
}

.bg-secondary .resume-faq{
    border-top: 1px solid #293D39;
}

.resume-faq a.btn-contact:after {
    border-color: #182C51;
}

.resume-faq a.btn-contact span{
    color: #182C51;
}

.resume-faq a.btn-contact:hover:after{
    background-color: #182C51;
}

.resume-faq a.btn-contact:hover span{
    color: #fff;
}

.bg-secondary .resume-faq a.btn-contact:after {
    border-color: #293D39;
}

.bg-secondary .resume-faq a.btn-contact span{
    color: #293D39;
}

.bg-secondary .resume-faq a.btn-contact:hover span{
    color: #fff;
}

.bg-secondary .resume-faq a.btn-contact:hover:after{
    background-color: #293D39;
}

.post-type-archive-faq .navigation__menu ul li+li:last-child, .page-template-home .navigation__menu ul li+li:last-child{
    margin-left: 1.125rem;
}

.post-type-archive-faq .navigation__menu ul li+li:last-child a:after, .page-template-home .navigation__menu ul li+li:last-child a:after{
    content: none;
}