/*
Theme Name: Aubergines
Template: twentytwentyfour
Text Domain: aubergines-mweb
Version:0.89
*/


header {
    background: #fff;
    max-height: 700px;
}

header .head-wrap {
    position: relative;
    justify-content: right;
}

.head-logo {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1;
}

.head-logo .wp-block-site-logo {
/ / box-shadow: 0 1 px 2 px #777;
    border-radius: 8px;
    position: relative;
    z-index: 3;
    background: #fff;
}

header .wp-block-navigation .wp-block-navigation-item {
    letter-spacing: -0.05rem;
}

.head-right {
    position: absolute;
    top: 0;
    right: 0;
    z-index: 1;
}

.menu-social {
    gap: 0rem;
}

.menu-social .wp-social-link {
    background: none;
    color: #999 !important;
}

h2.subtitle {
    font-family: Poppins, sans-serif;
    font-size: 16px;
    font-weight: normal;
}

.wp-block-image {
    box-shadow: 0 0 2px #444;
    border-radius: 8px;
}

/* Desktop menu */
@media (min-width: 1001px) {
    .wp-block-navigation__responsive-container-open {
        display: none;
    }

    .wp-block-navigation__container {
        display: flex !important;
    }

}

@media (min-width: 1001px) and (max-width: 1200px) {
    .head-logo {
        width: 210px
    }

    header .wp-block-group-is-layout-constrained {
        padding: 20px 35px !important
    }
}

/* Mobile menu */
@media (max-width: 1000px) {
    .wp-block-navigation__container {
        display: none;
    }

    .head-logo {
        width: 200px
    }

    header .wp-block-group-is-layout-constrained {
        padding: 20px 35px !important
    }

    .wp-block-navigation__responsive-container-open {
        display: flex !important;
    }
}

.page-banner {
    border-radius: 0.33rem;
    text-align: center;
    margin: 110px auto 50px auto !important;
    padding: 25px !important;
}

.page-banner .wp-block-cover__background {
    background: rgba(255, 255, 255, 0.8) !important
}

.post-bloc {
    box-shadow: 0 0 2px #444;
    border-radius: 8px;
}

.post-bloc img {
    border-radius: 0px !important;
}


.breadcrumb {
    font-size: 0.8rem;
    font-style: italic;
}

.breadcrumb a {
    text-decoration: none;
}


.accommodation-card {
    background: #fff;
    box-shadow: 0 0 2px #444;
    border-radius: 8px;
    position: relative;
    padding-bottom: 20px;
    overflow: hidden;

}

.accommodations-grid {
    display: grid;
    grid-template-columns:repeat(auto-fill, minmax(280px, 320px));
    gap: 30px;
    margin: 40px 0;
    max-width: 1280px;
    justify-content: center;
}

@media (min-width: 800px) and (max-width: 1215px) {
    .accommodations-grid > :last-child:nth-child(odd) {
        grid-column: 1 / -1;
        justify-self: center;
    }
}

.accommodation-image {
    position: relative;
    width: 100%;
    height: 200px;
    overflow: hidden;
}

.accommodation-image img {
    width: 100%;
    height: auto;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    margin: auto;
}

.accommodation-content {
    padding: 8px 15px 37px 15px;
}

.accommodation-title {
    font-size: 1.1rem;
    margin: 8px 0;
}

.accommodation-subtitle {
    font-size: 0.9rem;
    color: #222;
    margin-bottom: 10px;
}

.accommodation-price {
    font-size: 14px;
    font-weight: bold;
    position: absolute;
    bottom: 16px;
    left: 15px;
}

.accommodation-link {
    font-size: 14px;
    position: absolute;
    bottom: 10px;
    right: 15px;
}

.accommodation-link .wp-block-button__link {
    padding: 0.4rem 0.9rem;
    font-size: 0.85rem;
}


.services-list {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    justify-content: center;
    margin-top: 50px;
}

.service-card {
    width: 150px;
    text-align: center;
}

.service-card .icon_element_outer_alignleft {
    margin: 0px;
}

.service-card .service-icon {
    color: #a62b27;
}

.service-title {
    font-size: 1rem;
    font-weight: bold;
}

.service-desc {
    font-size: 0.8rem;
}


.testimonial-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
}

.testimonial {
    padding: 20px;
    box-shadow: 0 0 2px #444;
    border-radius: 8px;
    width: 280px;
    background: #fff;
}

.stars {
    color: #f5b301;
    margin-bottom: 10px;
    font-size: 18px;
}

.star {
    color: #ccc;
}

.star.filled {
    color: #f5b301;
}

.desc {
    font-style: italic;
    margin-bottom: 15px;
}

.author {
    display: flex;
    align-items: center;
    gap: 10px;
}

.initial {
    width: 40px;
    height: 40px;
    background: #a62b27;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
}

.name {
    font-weight: bold;
}


/*.bloc-commitments .wp-block-button, .bloc-booking .wp-block-button {*/
/*    width: 100%;*/
/*}*/

.bloc-booking p {
    margin: 0 0 15px;
}

.bloc-booking .icon_element_outer_alignleft {
    margin: 0 10px 0 0;
    font-size: 9px;
}

.bloc-booking .icon_element_icon {
    color: #a62b27
}


footer {
    margin-top: 0 !important;
    margin-block-start: 0 !important;
}

.logo-footer {
    border-radius: 8px;
    position: absolute;
    z-index: 3;
    bottom: 32px;
    padding: 12px;
    background: #fff;
}

footer p {
    margin: 13px 0 !important;
    margin-block-start: 0px !important;
}

footer .wp-block-image{
    box-shadow: none;
}
@media (max-width: 781px) {
    footer p {
        text-align: center !important;
    }
    footer .wp-block-image{
        margin: auto !important;
        float: none !important;
    }
}

.wpcf7 label {
    font-size: 0.9rem;
    margin-top: 12px;
    display: block;

}

.wpcf7 label strong {
    font-size: 1.1rem;
}

.wpcf7 input,
.wpcf7 select,
.wpcf7 textarea {
    width: 100%;
    padding: 7px;
    margin: 0;
    box-sizing: border-box;
    display: inline-block;
    background: #eee;
    border: 1px solid #777;
    font-size: 1.1rem;
}

.wpcf7 p {
    margin: 6px 0;
}

.wpcf7 .wpcf7-submit {
    background-color: #a62b27;
    border-radius: .33rem;
    color: white;
    padding: 0.6rem 1rem;
    cursor: pointer;
    border: 0px;
}

.wpcf7 .wpcf7-submit:hover {
    background-color: #636363;
}


.wp-block-query h2 {
    font-size: 1.4rem;
}


.cc-posts-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    margin: 40px 0;
}

@media (max-width: 600px) {
    .cc-posts-list {
        grid-template-columns: 1fr;
    }
}

.cc-post-card {
    display: flex;
    overflow: hidden;
    box-shadow: 0 0 2px #444;
    border-radius: 8px;
}

/* IMAGE */
.cc-post-image {
    flex: 0 0 38%;
}

.cc-post-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* CONTENU */
.cc-post-content {
    padding: 20px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    flex: 1;
}

/* TITRE */
.cc-post-title a{
    text-decoration: none !important;
}
.cc-post-title {
    color: #a62b27;
    margin: 0;
    font-size: 22px;
}

/* CATÉGORIE */
.cc-post-category {
    font-size: 13px;
    color: #999;
    margin: 5px 0 10px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* EXCERPT */
.cc-post-excerpt {
    color: #333;
    margin-bottom: 15px;
}

/* FOOTER */
.cc-post-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* DATE */
.cc-post-date {
    color: #777;
    font-size: 14px;
}

/* LIEN */
.cc-post-link {
    color: #a62b27;
    text-decoration: none;
    font-weight: bold;
}

.cc-post-link:hover {
    text-decoration: underline;
}

/* RESPONSIVE */
@media (max-width: 768px) {
    .cc-post-card {
        flex-direction: column;
    }

    .cc-post-image {
        height: 200px;
    }
}


.cc-pagination {
    margin-top: 30px;
    text-align: center;
}

.cc-pagination .page-numbers {
    list-style: none;
    padding: 0;
    margin: 0;
}

.cc-pagination .page-numbers > li {
    display: inline-block;
}

.cc-pagination .page-numbers > li a, .cc-pagination .page-numbers > li span {
    display: inline-block;
    margin: 0 5px;
    padding: 8px 12px;
    background: #eee;
    border-radius: 5px;
    text-decoration: none;
    color: #333;
}

.cc-pagination .page-numbers > li .current {
    background: #a62b27;
    color: #fff;
}

.cc-pagination .page-numbers > li a:hover {
    background: #ccc;
}
