/*
Theme Name: MrPollux
Theme URI: https://mrpollux.fr
Author: François BRETIN
Author URI: https://frbe.net
Description: Thème Mr Pollux
Requires at least: WordPress 6.0
Version: 1.0
*/

 @import url('https://fonts.googleapis.com/css2?family=Oswald:wght@200..700&display=swap');

body {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    font-family: "Oswald", sans-serif;
    font-optical-sizing: auto;
}

.title-section h1 {
    font-weight: 600;
    font-size: 2rem;
}

body .title-section h1 {
    width: 40%;
}
body.page-id-11 .title-section h1, 
body.page-id-3 .title-section h1 {
    width: auto;
}

p {
    padding: 0 2rem;
    padding-bottom: 0rem;
    padding-top: 0rem;
} 
/*
p > p {
    padding-bottom: 1rem;
}
    */

ul {
    padding-left: 3rem;
    padding-top: 0rem;
}

h2 {
    font-size: 1.75rem;
    width: auto !important;
    padding-bottom: 1rem;
}

h3 {
    font-size: 1.5rem;
    padding-bottom: 1rem;
    padding-top: 1rem;
}

/* ---------------------------------------------
    Header */

.header-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 1rem;
    z-index:101;
}

.burger-menu {
    font-size: 3rem;
    cursor: pointer;
}

.burger-menu-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 250px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    border-radius: 0 0 10px 10px;
    overflow: hidden;
    display: none;
    z-index: 1000;
}

.burger-menu-dropdown.show {
    display: block;
}

.burger-menu-dropdown a {
    display: block;
    padding: 1rem 1.5rem;
    text-decoration: none;
    transition: background-color 0.2s;
}


.burger-menu-dropdown a:last-child {
    border-bottom: none;
}


.header-bar .bi::before, 
.header-bar [class^="bi-"]::before, 
.header-bar [class*=" bi-"]::before {
    font-weight: 800 !important;
}

/* ---------------------------------------------
    Footer styles */

footer {
    padding: 2rem 0;
    margin-top: auto;
}
    
@media (min-width: 992px) {
    footer .container {
        max-width:960px !important;
    }
}

footer a {
    text-decoration: none;
    transition: color 0.3s ease;
    font-weight: 300;
}



footer .social-icons a {
    font-size: 1.5rem;
    margin: 0 0.5rem;
}


footer h5 {
    font-weight: 300;
    padding-top: 1.5rem;
}

footer p {
    font-weight: 300;
}



footer img  {
    filter: brightness(0) invert(1);
    width:100%;
    height:auto;
}


/* ---------------------------------------------
    Large screen - centered content */

@media (min-width: 768px) {

    .logo {
        display: none;
    }
    .attachment-post-thumbnail,
    .logo2
        {
        height: 190px;
        width:auto;
        float:right;
        margin: 0.75rem;
    }

    .page-id-11 .attachment-post-thumbnail
    {
        margin-top: 0;
    }

    .header-bar {
        position: absolute;
    }

    .burger-menu-dropdown {
        top: 100%;
        min-width: 250px;
    }

    #menuDropdown button {
        display: none;
    }

    .container-wrapper {
        flex: 1;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    #content {
        border-radius: 10px;
        padding: 0;
        max-width: 960px;
        width: 90%;
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);/**/
        display: flex;
        flex-direction: column;
        position: relative;
        margin-bottom:2rem;
        margin-top:2rem;
    }

    .title-section {
        display: flex;
        min-height: 300px;
        position: relative;
        padding-left: 5rem;
    }

    .title-section h1 {
        position: absolute;
        left: 2rem;
        top: 3rem;
        text-align: right;
        transform: rotate(-90deg) translateX(-100%);
        transform-origin: left center;/**/
        white-space: nowrap;
        margin: 0;        
        padding-top: 1rem;
        padding-bottom: 1rem;
        text-transform: uppercase;
        
    }

    .content-text {
        padding: 2rem;
        flex: 1;
        padding-top:1.3rem;
    }


    .page-id-11 .content-text {
        padding-top:4.5rem;
    }


    footer img  {
        max-width:430px;
    }

    footer p {
        padding-left: 0;
        padding-right: 0;
        padding-top: 0;
    }

}

/* ---------------------------------------------
    Small screen - top aligned content */

@media (max-width: 767px) {

    .content-text .attachment-post-thumbnail,
    .logo2 {
        display:none;
    }
    
    .logo {
        padding-top:0.5rem;
        margin: 0.75rem;
    }

    .logo img {
        height: 140px;
        transition: all 0.3s ease;
    }

    .burger-menu-dropdown {
        top: 0;
        width:100%;
        height:100vh;
        text-align:center;
        padding-top:2rem;
    }

    #menuDropdown button {
        padding-bottom:2rem;
    }
    .container-wrapper {
        flex: 1;
    }

    #content {
        border-radius: 0 0 10px 10px;
        padding: 0;
        width: 100%;
    }

    .title-section {
        padding-left: 1rem;
        padding-right: 1rem;
    }

    .title-section h1 {
        padding-bottom: 1rem;
        margin-left: 2rem;
        /*display: inline-block;*/
        width:80%;
    }

    .content-text {
        padding: 1rem 0;
    }

    footer img  {
        max-width:330px;
    }

    footer .row {
        text-align: center;
    }
}

h2, h3 {
    padding-left: 2rem;
}

#menu-menu-haut, #menu-menu-bas {
    padding-left: 0;
    list-style: none;

}
.menu-mentions-container {
    display: inline-block;
    padding-left: 0.2rem;
}


#menu-mentions {
    list-style: none;
    padding: 0;
    margin: 0;
    gap: 0.5rem;  
    display: flex;        /* horizontal layout */
}

#menu-mentions li:before{
    content: '-';
    margin-right:0.4rem;
}


/* ---------------------------------------------
    Couleurs */

body {
    background-color: #ECAD5F;
    background-color: #ffde1d;
}

#content {
    background-color: #ECAD5F;
    background-color: #ffde1d;
    color:#7A5D9F !important;
}

.burger-menu-dropdown {
    background-color: #ffde1d;
}

.burger-menu-dropdown a{
    color:#7A5D9F;
}

.title-section h1 {
    border-bottom: 2px solid #7A5D9F;
    color:#7A5D9F !important;
}

.burger-menu-dropdown a {
    border-bottom: 1px solid #f0f0f0;
}

.burger-menu-dropdown a:hover {
    background-color: #f8f9fa;
}

.header-bar .bi::before, 
.header-bar [class^="bi-"]::before, 
.header-bar [class*=" bi-"]::before {
    color: #7A5D9F;
}

footer {
    background-color: #7A5D9F;
}

footer {
    color: #fff;
}
footer a {
    color:#fff;
}

footer a:hover {
    color: #fff;
}

.bi.bi-instagram,
.bi.bi-facebook,
.bi.bi-linkedin,
.bi.bi-vimeo {
    color: #fff !important;
}

footer hr {
    border-color: rgba(255,255,255,0.3);
}






body.page-id-27 {
    background-color:#D43673;
}

.page-id-27 #content {
    background-color: #D43673;
    color:#ffde1d !important;
}

.page-id-27 .burger-menu-dropdown {
    background-color: #D43673;
}

.page-id-27 .burger-menu-dropdown a{
    color:#ffde1d;
}

.page-id-27 .title-section h1 {
    border-bottom: 2px solid #ffde1d;
    color:#ffde1d !important;
}

.page-id-27 .header-bar .bi::before, 
.page-id-27 .header-bar [class^="bi-"]::before, 
.page-id-27 .header-bar [class*=" bi-"]::before {
    color: #ffde1d;
}

.page-id-27 footer {
    background-color: #ffde1d;
}

.page-id-27 footer,
.page-id-27 footer a,
.page-id-27 footer a:hover,
.page-id-27 .bi.bi-instagram,
.page-id-27 .bi.bi-facebook,
.page-id-27 .bi.bi-linkedin,
.page-id-27 .bi.bi-vimeo {
    color:#D43673 !important;
}

.page-id-27 footer img {
    fill: #D43673;
    fill: var(--svg-color, #D43673);
    filter: invert(36%) sepia(89%) saturate(2667%) hue-rotate(315deg) brightness(86%) contrast(93%);
}






body.page-id-29 {
    background-color:#D43673;
}

.page-id-29 #content {
    background-color: #D43673;
    color:#ffde1d !important;
}

.page-id-29 .burger-menu-dropdown {
    background-color: #D43673;
}

.page-id-29 .burger-menu-dropdown a{
    color:#ffde1d;
}

.page-id-29 .title-section h1 {
    border-bottom: 2px solid #ffde1d;
    color:#ffde1d !important;
}

.page-id-29 .header-bar .bi::before, 
.page-id-29 .header-bar [class^="bi-"]::before, 
.page-id-29 .header-bar [class*=" bi-"]::before {
    color: #ffde1d;
}

.page-id-29 footer {
    background-color: #ffde1d;
}

.page-id-29 footer,
.page-id-29 footer a,
.page-id-29 footer a:hover,
.page-id-29 .bi.bi-instagram,
.page-id-29 .bi.bi-facebook,
.page-id-29 .bi.bi-linkedin,
.page-id-29 .bi.bi-vimeo {
    color:#D43673 !important;
}

.page-id-29 footer img {
    fill: #D43673;
    fill: var(--svg-color, #D43673);
    filter: invert(36%) sepia(89%) saturate(2667%) hue-rotate(315deg) brightness(86%) contrast(93%);
}

.page-id-29 .content-text a {
    color:#f1f1f1;
    text-decoration: underline;
}





body.page-id-21 {
    background-color:#7A5D9F;
}

.page-id-21 #content {
    background-color: #7A5D9F;
    color:#fff !important;
}


.page-id-21 #content h2, .page-id-21 #content h3 {
    color:#ECAD5F !important;
}

.page-id-21 .burger-menu-dropdown {
    background-color: #7A5D9F;
}

.page-id-21 .burger-menu-dropdown a{
    color:#ECAD5F;
}

.page-id-21 .title-section h1 {
    border-bottom: 2px solid #ECAD5F;
    color:#ECAD5F !important;
}

.page-id-21 .header-bar .bi::before, 
.page-id-21 .header-bar [class^="bi-"]::before, 
.page-id-21 .header-bar [class*=" bi-"]::before {
    color: #ECAD5F;
}

.page-id-21 footer {
    background-color: #ECAD5F;
}

.page-id-21 footer,
.page-id-21 footer a,
.page-id-21 footer a:hover,
.page-id-21 .bi.bi-instagram,
.page-id-21 .bi.bi-facebook,
.page-id-21 .bi.bi-linkedin,
.page-id-21 .bi.bi-vimeo {
    color:#7A5D9F !important;
}


.page-id-21 footer img {
    fill: #7A5D9F;
    fill: var(--svg-color, #7A5D9F);
    filter: invert(38%) sepia(17%) saturate(1228%) hue-rotate(224deg) brightness(100%) contrast(89%);
}




body.page-id-23 {
    background-color:#fff;
}

.page-id-23 #content {
    background-color: #fff;
    color:#7A5D9F !important;
}

.page-id-23 .burger-menu-dropdown {
    background-color: #fff;
}

.page-id-23 .burger-menu-dropdown a{
    color:#7A5D9F;
}

.page-id-23 .title-section h1 {
    border-bottom: 2px solid #7A5D9F;
    color:#7A5D9F !important;
}

.page-id-23 .header-bar .bi::before, 
.page-id-23 .header-bar [class^="bi-"]::before, 
.page-id-23 .header-bar [class*=" bi-"]::before {
    color: #7A5D9F;
}

.page-id-23 footer {
    background-color: #7A5D9F;
}

.page-id-23 footer,
.page-id-23 footer a,
.page-id-23 footer a:hover,
.page-id-23 .bi.bi-instagram,
.page-id-23 .bi.bi-facebook,
.page-id-23 .bi.bi-linkedin,
.page-id-23 .bi.bi-vimeo {
    color:#fff !important;
}


.page-id-23 footer img {
    fill: #fff;
    fill: var(--svg-color, #fff);
    filter: invert(100%) sepia(2%) saturate(7461%) hue-rotate(349deg) brightness(109%) contrast(102%);
}


/* ---------------------------------------------
    Formulaire */

.wpcf7-form .btn-primary {
 background-color:#ffde1d;
 color:#D43673;
 border-color:#ECAD5F;
}

.wpcf7-form .btn-primary:hover {
 background-color:#D43673;
 color:#ffde1d;
 border-color:#ffde1d;
}

.wpcf7-form input,
.wpcf7-form textarea {
 background-color:#ffde1d;
}

.wpcf7-form input:focus,
.wpcf7-form textarea:focus {
 background-color:#ffde1d;
}

.wpcf7-form .wpcf7-captchar {
    max-width:200px;
    margin-bottom: 1.5rem;
}
.wpcf7-not-valid-tip {
    color:#ffde1d;
}

/* ---------------------------------------------
    Boutons */

.wp-block-button__link {
    border-radius: 0.5rem;
    margin-left: 2rem;
    margin-top: 1.2rem;
    margin-bottom: 1.5rem;
}


.wp-block-button__link:hover {
    transition: 0.4s;
}


.page-id-46 .wp-block-button__link,
.page-id-23 .wp-block-button__link,
.page-id-25 .wp-block-button__link  {
    background-color: #7A5D9F;
    color:#fff;
    border: solid 1px #7A5D9F;
}

.page-id-46 .wp-block-button__link:hover,
.page-id-23 .wp-block-button__link:hover,
.page-id-25 .wp-block-button__link:hover  {
    background-color: #ffde1d;
    color: #7A5D9F;
}


.page-id-21 .wp-block-button__link {
    background-color: #ECAD5F;
    color:#333;
    border: solid 1px #ECAD5F;
}

.page-id-21 .wp-block-button__link:hover {
    background-color: #7A5D9F;
    color: #fff;
    border-color: #ECAD5F;
}




.page-id-23 .wp-block-button__link {
    background-color: #7A5D9F;
    color:#fff;
    border: solid 1px #7A5D9F;
}

.page-id-23 .wp-block-button__link:hover {
    background-color: #7A5D9F;
    color: #fff;
    border-color: #7A5D9F;
}


.page-id-27 .wp-block-button__link {
    background-color: #ffde1d;
    color:#D43673;
    border: solid 1px #ffde1d;
}

.page-id-27 .wp-block-button__link:hover {
    background-color: #D43673;
    color: #fff;
    border-color: #ffde1d;
}




.page-id-70 .content-text a {
    color:#444;
    text-decoration: underline;
}


/* ---------------------------------------------
    Cookies
     */


body .cmplz-cookiebanner {
    background-color:#ffde1d;
}
.cmplz-title, 
.cmplz-message,
.cmplz-link {
    color:#7A5D9F !important;
}
.cmplz-btn.cmplz-accept {
    border-color: #7A5D9F !important;
    background-color: #7A5D9F !important;
}
.cmplz-btn.cmplz-accept {
    color:#fff !important;
}
.cmplz-deny,
.cmplz-view-preferences {
    color:#444 !important;
    background-color:#ffde1d !important;
    border-color: #7A5D9F !important;
}
.cmplz-close svg path {
    fill:#7A5D9F;
}





body.page-id-27 .cmplz-cookiebanner{
    background-color:#D43673;
}
body.page-id-27 .cmplz-title, 
body.page-id-27 .cmplz-message,
body.page-id-27 .cmplz-link {
    color:#ffde1d !important;
}
body.page-id-27 .cmplz-btn.cmplz-accept {
    border-color: #ffde1d !important;
    background-color: #ffde1d !important;
}
body.page-id-27 .cmplz-btn.cmplz-accept,
body.page-id-27 .cmplz-deny,
body.page-id-27 .cmplz-view-preferences {
    color:#444 !important;
}
body.page-id-27 .cmplz-deny,
body.page-id-27 .cmplz-view-preferences {
    color:#ffde1d !important;
    background-color:#D43673 !important;
    border-color: #ffde1d !important;
}
body.page-id-27 .cmplz-close svg path {
    fill:#ffde1d;
}



body.page-id-29 .cmplz-cookiebanner{
    background-color:#D43673;
}
body.page-id-29 .cmplz-title, 
body.page-id-29 .cmplz-message,
body.page-id-29 .cmplz-link {
    color:#ffde1d !important;
}

body.page-id-29 .cmplz-btn.cmplz-accept {
    border-color: #ffde1d !important;
    background-color: #ffde1d !important;
}
body.page-id-29 .cmplz-btn.cmplz-accept,
body.page-id-29 .cmplz-deny,
body.page-id-29 .cmplz-view-preferences {
    color:#444 !important;
}
body.page-id-29 .cmplz-deny,
body.page-id-29 .cmplz-view-preferences {
    color:#ffde1d !important;
    background-color:#D43673 !important;
    border-color: #ffde1d !important;
}
body.page-id-29 .cmplz-close svg path {
    fill:#ffde1d;
}




body.page-id-21 .cmplz-cookiebanner{
    background-color:#7A5D9F;
}
body.page-id-21 .cmplz-title, 
body.page-id-21 .cmplz-message,
body.page-id-21 .cmplz-link {
    color:#ECAD5F !important;
    color:#fff !important;
}
body.page-id-21 .cmplz-btn.cmplz-accept {
    border-color: #ECAD5F !important;
    background-color: #ECAD5F !important;
}
body.page-id-21 .cmplz-btn.cmplz-accept {
    color:#7A5D9F !important;
}
body.page-id-21 .cmplz-deny,
body.page-id-21 .cmplz-view-preferences {
    color:#ECAD5F !important;
    color:#fff !important;
    background-color:#7A5D9F !important;
    border-color: #ECAD5F !important;
}
body.page-id-21 .cmplz-close svg path {
    fill:#ECAD5F;
}




/* Réalisations */

body.page-id-23 .cmplz-cookiebanner{
    background-color:#fff;
}
body.page-id-23 .cmplz-title, 
body.page-id-23 .cmplz-message,
body.page-id-23 .cmplz-link {
    color:#7A5D9F !important;
}
body.page-id-23 .cmplz-btn.cmplz-accept {
    border-color: #7A5D9F !important;
    background-color: #7A5D9F !important;
}
body.page-id-23 .cmplz-btn.cmplz-accept {
    color:#fff !important;
}
body.page-id-23 .cmplz-deny,
body.page-id-23 .cmplz-view-preferences {
    color:#7A5D9F !important;
    background-color:#fff !important;
    border-color: #7A5D9F !important;
}
body.page-id-23 .cmplz-close svg path {
    fill:#7A5D9F;
}


figure.wp-block-image img {
    max-width:240px;
}

@media (min-width: 768px) {
    figure.wp-block-image img {
            max-width: 150px;
            padding: 20px 0px;
    }
}


body.page-id-23 .content-text h3::before {
    content: "";
    border:solid 1px #7A5D9F;
    display: block;
    width:70%;
    margin-bottom: 1rem;
}
body.page-id-23 .content-text h3 {
    padding-bottom: 2rem;
}

/* logos */


.logo-card {
    text-align: center;
    padding: 10px;
    background: white;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
}

.logo-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 16px rgba(0,0,0,0.15);
}

.logo-link {
    text-decoration: none;
    color: inherit;
    display: block;
}

.logo-container {
    width: 100%;
    height: 140px;
    margin: 0 5px;
    display: flex;
    align-items: center;
    justify-content: center;
    /*background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);*/
    border-radius: 15px;
    transition: transform 0.3s ease;
}

.logo-link:hover .logo-container {
    transform: scale(1.05);
}

.logo-container img {
    width: 100%;
    max-width: 170px;
    height: auto;
}

.logo-container img[src*=".jpg"]{
    max-width: 120px;
}

.logo-title {
    font-size: 1rem;
    font-weight: 300;
    color: #333;
    margin: 0;
    transition: color 0.3s ease;
    line-height: 1.3rem;
}

.logo-title strong {
    font-size: 1.1rem;
    font-weight: 600;

}


.logo-link:hover .logo-title {
    color: #333;
}


body.error404 .content-text {
    min-height: 500px;
}

body.error404 .content-text a{
    color:#333;
}