/*
Theme Name: OceanWP Child
Description: Thème enfant d'OceanWP
Template: oceanwp
Author: Gaël
Version: 1.0
*/

/*masquer le nom des auteur·ices*/
.blog-entry-author,
.single-post-author,
.entry-author,
.meta-author {
    display: none !important;
}
/* Comportement des flèches du slider */
.home-slider .slick-slider {
    padding-bottom: 50px !important;
}
.home-slider .slick-prev,
.home-slider .slick-next {
    top: auto !important;
    bottom: 10px !important;
    transform: translateY(0) !important;
}
.home-slider .slick-prev {
    left: 20px !important;
}
.home-slider .slick-next {
    right: 20px !important;
}

/* .wppsac-readmorebtn { */
    /* margin-left: auto !important; */
    /* margin-right: auto !important; */
    /* display: inline-block !important; */
/* } */

.home-slider [class*="wppsac-post"] {
    text-align: center !important;
}


/* Réduit l'espace top et bottom avec le logo */
html body #site-header.top-header #site-logo {
  float: none;
  display: inline-block;
  padding: 10px 0;
}
/* Widgets accueil */
.home-widget {
	border:2px solid #000000;
	padding:20px;
	line-height:20px;
	margin-bottom:20px
}
.home-widget .widget-title {
    display: block;
    line-height: 1;
	font-family:'Raleway', sans-serif;
    font-size: 16px;
    font-weight: 800;
	font-style:italic;
    color: #000000;
    border:none;
    letter-spacing: 1px;
    padding-left: 15px;
    margin: 0 0 20px;
    text-transform:uppercase
}



/* Correction du logo sur mobile - permet au header d'utiliser toute la largeur */



@media only screen and (max-width: 767px) {
  #site-logo #site-logo-inner a img,
  #site-header.center-header #site-navigation-wrap .middle-site-logo a img {
    max-width: 100% !important; /* le logo s’adapte à la largeur dispo */
    height: auto;
  }

  #site-logo {
    padding-left: 15px;
    padding-right: 15px;
  }
}

/* Widget page d'accueil inscription lettre d'information */

/* Masquer les champs honeypot */
.contact-widget input[name="website"],
.contact-widget input[name="phone"] {
    position: absolute !important;
    left: -9999px !important;
    width: 1px !important;
    height: 1px !important;
    opacity: 0 !important;
    pointer-events: none !important;
    tabindex: -1 !important;
}

/* Style optionnel pour le widget */
.contact-widget {
    background: #f9f9f9;
    padding: 20px;
    border-radius: 5px;
    margin: 20px 0;
}

.contact-widget input[type="email"],
.contact-widget input[type="text"] {
    width: 100%;
    padding: 10px;
    margin: 5px 0;
    border: 1px solid #ddd;
    border-radius: 3px;
}

.contact-widget button {
    background: #0073aa;
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 3px;
    cursor: pointer;
}