/*
Theme Name: Rufous Child
Template: rufous
Version: 1.0
*/

#kubio .wp-site-blocks .wp-block-kubio-navigation-section__nav {
    padding-top: 15px;
    padding-bottom: 15px;
}

#kubio body, body.custom-background {
    /* background-color: #000!important; */
}

 #kubio body.single-organisation .wp-block-kubio-hero,
 #kubio body.single-faq .wp-block-kubio-hero,
 #kubio body.single-intervenant .wp-block-kubio-hero,
 #kubio body.single-destination .wp-block-kubio-hero {
        margin-bottom: 100px!important;
    }
.wp-block-kubio-header [data-kubio]:not([class*=h-col-]), .wp-block-kubio-header.wp-block {
    margin-bottom: 0!important;
}


#kubio .wp-block-kubio-hero {
    min-height: calc(100vw * (729 / 2500));
    padding: 0;
}

#kubio .home .wp-block-kubio-hero {
    min-height: calc(100vw * (500 / 1200));
    padding: 0;
}



#kubio .home .wp-block-kubio-hero .wp-block {
    margin-bottom: 20px !important;
}


#kubio .h-navigation-padding {
    padding-top: 0px !important;
}

#kubio body.single-organisation .entry-content h1,
#kubio body.single-faq .entry-content h1,
#kubio body.single-intervenant .entry-content h1,
#kubio body.single-destination .entry-content h1 {
    line-height: 32px!important;
    font-size: 32px!important;
    display: block!important;
    margin-top: 0px;
    margin-bottom: 30px!important;
        font-weight: normal;
}
#kubio body.single-organisation .entry-content h1, #kubio body.single-faq .entry-content h1, #kubio body.single-intervenant .entry-content h1, #kubio body.single-destination .entry-content h1 {
 
    margin-top: 80px;
    
}

#kubio body.single-organisation h2,
#kubio body.single-faq h2,
#kubio body.single-intervenant h2,
#kubio body.single-destination h2 {
    line-height: 26px!important;
    font-size: 26px!important;
    display: block!important;
    margin-bottom: 30px!important;
    color: #c92b1c!important;
    margin-top: 50px;
}

#kubio body .entry-content h2 span, #kubio body .entry-content h3 span, #kubio body .entry-content h1 span {
    font-family: Niramit, Helvetica, Arial, Sans-Serif, serif!important;
}

#kubio body.single-organisation h3,
#kubio body.single-faq h3,
#kubio body.single-intervenant h3,
#kubio body.single-destination h3 {
    line-height: 20px!important;
    font-size: 20px!important;
    display: block!important;
}



.children-pages, ul.post-type-list {
    list-style:none;
    padding:0;
    text-align: center;
    margin-top: 40px;
}

.children-pages li, ul.post-type-list li {
    margin-bottom:8px;
}

.children-pages li a, ul.post-type-list li a {
    color: rgba(var(--kubio-color-7),1);
    font-weight: bold;
    text-decoration: none;
}



.page-id-9411 ul.post-type-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center;
    text-align: center;
    padding-top: 60px;
    gap:20px;
    flex-wrap: wrap;
}
.page-id-9411 ul.post-type-list li {
    width: 30%;
    margin-bottom: 30px;
}
.page-id-9411 ul.post-type-list li a {
    position: relative;
    display: flex;
    flex-flow: column;
    color: #000!important;
}

.page-id-9411 ul.post-type-list li a:before {
    content: "";
    display: block;
    height: 80px;
    width: 80px;
    background-color: #c92b1c;
    margin: auto;
    margin-bottom: 20px;
    border-radius: 40px 40px 40px 0;
}

span.metier {
    font-size: 12px;
    color: #999;
    font-weight: normal;
    margin-top: 10px;

    overflow: hidden;
}

#kubio .wp-block-kubio-hero {
    margin-top: 0;
    padding-top: 0;
}

.wp-block-kubio-navigation.h-navigation_overlap {
    left: 0;
    position: inherit!important;
}








#kubio .post-type-card-image img {
    opacity: 1;
    border-top-left-radius: 20px;
    border-top-right-radius: 20px;
    border-bottom-left-radius: 0px!important; 
    border-bottom-right-radius: 0px!important; 
    width: 100%;
    margin: 0;
    display: inline-block;
    float: left;
}


a.post-type-card.h-col-lg-4.h-col-md-4 {
    text-align: center;
    margin-bottom: 30px;
        margin-top: 30px;
        padding: 0;
    border-radius: 20px;
    max-width: calc(33% - 30px);
}

h4.post-type-card-title {
    margin: 0;
    margin-bottom: 10px;
    font-size: 20px;
    line-height: 22px;
}

body:not(.home) .post-type-card-image {
    display: inline-block;
}

.home .post-type-card-image {
    display: flex;
    height: 100%;
}

.post-type-grid {
    margin-top: 30px !important;
    justify-content: center;
    gap:30px;
}

span.post-type-card-link {
    left: 6px;
    position: relative;
}


a.post-type-card {
    box-shadow: 0px 19px 38px 0px rgba(0, 0, 0, 0.16);
}

.post-type-card-content {
    padding: 40px;
}



 #kubio body.single-organisation .entry-content ul:not(.children-pages)  ,
 #kubio body.single-faq .entry-content ul  ,
 #kubio body.single-intervenant .entry-content ul  ,
 #kubio body.single-destination  .entry-content ul {
    list-style: none;
    padding: 0;
    padding-left: 40px;
    /* max-width: 390px; */
    /* margin-left: 0; */
    margin-bottom: 60px;
}

 #kubio body.single-organisation .entry-content ul:not(.children-pages) li ,
 #kubio body.single-faq .entry-content ul li ,
 #kubio body.single-intervenant .entry-content ul li ,
 #kubio body.single-destination  .entry-content ul li {
    position: relative;
    margin-bottom: 10px;
    max-width: 620px;
    box-shadow: 0px 10px 27px 0px rgba(0, 0, 0, 0.16);
    padding: 20px;
    border-radius: 12px;
    padding-left: 45px;
}

 #kubio body.single-organisation .entry-content ul:not(.children-pages) li:before ,
 #kubio body.single-faq .entry-content ul li:before ,
 #kubio body.single-intervenant .entry-content ul li:before ,
 #kubio body.single-destination  .entry-content ul li:before {
    content: "";
    display: inline-block;
    height: 14px;
    width: 14px;
    background-color: #c92b1c;
    margin-right: 8px;
    position: absolute;
    left: 20px;
    top: 21px;
    border-radius: 20px;
    border-bottom-left-radius: 0;
}



 #kubio body.single-organisation .entry-content img  ,
 #kubio body.single-faq .entry-content img  ,
 #kubio body.single-intervenant .entry-content img  ,
 #kubio body.single-destination  .entry-content img {
    border-radius: 18px;
}




.faq-template .organisation-page.entry-content, .faq-page.entry-content {
    display: none;
}





 #kubio .wp-caption {
    background: #fff;
    border: none;
    max-width: 840px;
    padding: 0;
    text-align: left;
}

 #kubio .wp-caption img {
    border: 0;
    height: auto;
    margin: 0;
    max-width: 100%;
    padding: 0;
    width: auto;
    margin-bottom: 10px;
}

 #kubio .wp-caption p.wp-caption-text {
    font-size: 14px;
    line-height: 16px;
    margin: 0;
    padding: 0;
    font-style: italic;
    color: #666;
}


.entry-content p a, .entry-content li a {
    color: #c92b1c;
    /* text-decoration: none; */
}



svg#chevron-right, svg#chevron-left {
    fill: rgba(var(--kubio-color-7), 1);
}

svg#quote-right {
    fill: rgba(var(--kubio-color-7), 1);
    top: -16px;
    position: relative;
    height: 60px;
    max-height: 60px;
}

 #kubio div.h-section-global-spacing {
    padding-top: 50px;
    padding-bottom: 50px;
}




/* HOVER CARD */
.hover-card {
    position: relative;
    overflow: hidden;
    margin-bottom: 0px!important;
    margin-top: 0px!important;
}

 

.hover-card img {
    transition: transform 0.4s ease;
}

.hover-card:hover img {
    transform: scale(1.05);
}

/* OVERLAY */
.hover-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;

    background: #c92b1ced;
    color: #fff;

    opacity: 0;
    transition: 0.4s ease;

    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 30px;
}

.hover-card:hover .hover-overlay {
    opacity: 1;
}

.hover-content {
    display: flex;
    flex-flow: column;
    justify-content: space-around;
    height: 100%;
}


.hover-content h4 {
    font-size: 26px;
    margin: 0px;
    line-height: 30px;
}

.hover-content p {
    margin: 5px 0;
    font-size: 14px;
}

.hover-btn {
    display: inline-block;
    border: 1px solid #fff;
    border-radius: 40px;
    font-size: 12px;
    padding: 18px 36px;
    line-height: 1;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 0px;
    width: 170px;
    margin-left: auto;
    margin-right: auto;
}
.hover-btn:hover {
    background-color: #FFF;
    color: #c92b1c;
}
.hover-subtitle {
    text-transform: uppercase;
}


.post-type-card {
    opacity: 1;
    transform: scale(1);
    transition: opacity 0.25s ease, transform 0.25s ease;
}

/* sortie */
.post-type-card.is-hiding {
    opacity: 0;
    transform: scale(0.9);
}

/* hors flux */
.post-type-card.is-hidden {
    display: none !important;
}

/* entrée */
.post-type-card.is-showing {
    opacity: 0;
    transform: scale(1.05);
}




.filters {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
}

.filter {
    cursor: pointer;
    font-weight: 500;
    opacity: 0.6;
    transition: 0.3s;
}

.filter.active {
    opacity: 1;
    border-bottom: 2px solid #c92b1c;
}

.filter:hover {
    opacity: 1;
}


.roms-gallery {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
}

.roms-gallery-item img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
}

.roms-gallery-item:hover img {
    transform: scale(1.05);
}




@media (min-width: 0px) and (max-width: 1023px) {
    div.h-section-global-spacing {
        padding-top: 60px;
        padding-bottom: 60px;
    }
    
    
    a.post-type-card.h-col-lg-4.h-col-md-4 {
    max-width: 300px;
    width: 100%;
    flex: 0 0 100%;
}
    
#kubio body.single-organisation .entry-content, #kubio body.single-faq .entry-content, #kubio body.single-intervenant .entry-content, #kubio body.single-destination .entry-content {
    padding: 0 40px;
}
    
#kubio body.single-organisation .wp-block-kubio-hero, #kubio body.single-faq .wp-block-kubio-hero, #kubio body.single-intervenant .wp-block-kubio-hero, #kubio body.single-destination .wp-block-kubio-hero {
    margin-bottom: 0px !important;
}
    
#kubio body.single-organisation .entry-content h1, #kubio body.single-faq .entry-content h1, #kubio body.single-intervenant .entry-content h1, #kubio body.single-destination .entry-content h1 {
    margin-top: 50px;
}    
    
    
    
    
}




