/*
Theme Name: OceanWP Child Theme
Theme URI: https://oceanwp.org/
Description: OceanWP WordPress theme. Sample child theme.
Author: OceanWP
Author URI: https://oceanwp.org/
Template: oceanwp
Version: 1.0
*/

/* Parent stylesheet should be loaded from functions.php not using @import */
/*Réglages généraux*/
a{
	text-decoration:none !important;
}
a:hover, a:focus{
	outline: none !important;
}
a.theme-button, a.them-button:hover{
	color:#fff;
	padding: 14px 20px;
}
/* Menu de l'en-tête fixé au scroll*/
.fixNavigation {
    position: fixed !important;
    top: 0;
}
/*Slider intervenants*/
.intervenant-slider{
	padding-bottom:50px !important;
}
.intervenant-slider .slider-wrapper {
    position: relative;
    width: 100%;
    max-width: 1200px;
    margin: 20px auto;
    padding: 60px 0 80px; /* espace pour pagination/flèches extérieures */
}
/*Shortcode pour les3 derniers articles*/
.derniers-articles-blog {
    display: flex;
    flex-flow: row wrap;
    gap: 30px;
}

.article-blog-item {
    border: 1px solid #ddd;
    padding: 20px;
    border-radius: 10px;
    background: #fff;
    width:33%;
}

.article-thumb img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 8px;
    margin-bottom: 15px;
}

.article-title {
    font-size: 20px;
    margin: 0 0 10px;
}

.article-title a {
    text-decoration: none;
}

.article-date {
    font-size: 14px;
    color: #777;
    margin-bottom: 10px;
}

.article-excerpt {
    margin-bottom: 15px;
}

.article-lire-plus {
    display: inline-block;
    text-decoration: none;
    font-weight: 600;
}
@media(max-width: 767px){
    .derniers-articles-blog .article-blog-item{
        width:100%;
        margin:10px;
    }
}
/* --- Cartes --- */
.intervenant-card {
    text-align: center;
    background: #fff;
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    padding: 25px;
    margin:10px 40px;
    transition: transform 0.3s ease;
   /* max-width:280px;*/
}
.intervenant-card:hover {
    transform: translateY(-5px);
}
.intervenant-photo img {
    width: 120px;
    height: 120px;
    object-fit: cover;
    border-radius: 50% !important;
    margin: 0 auto 15px;
}
.intervenant-nom {
    font-size: 1.2em;
    font-weight: 600;
    margin-bottom: 5px;
}
.intervenant-poste {
    font-style: italic;
    color: #555;
    margin-bottom: 10px;
}
.intervenant-mail a {
    color: #0073aa;
    text-decoration: none;
}
.intervenant-mail a:hover {
    text-decoration: underline;
}
.intervenant-bio {
    font-size: 0.95em;
    color: #333;
}

/* --- Pagination et flèches extérieures --- */
.slider-navigation {
    position: absolute;
    bottom: -80px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    gap: 20px;
}

.swiper-button-prev,
.swiper-button-next {
    width: 40px !important;
    height: 40px !important;
    background: #f5f5f5;
    border-radius: 50%;
    box-shadow: 0 2px 6px rgba(0,0,0,0.2);
    transition: background 0.3s;
}

.swiper-button-prev:hover,
.swiper-button-next:hover {
    background: #ddd;
}
.swiper-button-next:after,  .swiper-button-prev:after{
	font-size:18px !important;
	color:#c0D530;
}

.swiper-pagination-bullet {
    width: 10px;
    height: 10px;
    background: #999;
    opacity: 1;
    transition: background 0.3
}

.swiper-pagination-bullet-active {
    background: #c0d530 !important;
}

/* --- Responsive --- */
@media (max-width: 767px) {
    .slider-navigation {
        flex-direction: column;
        gap: 10px;
        bottom: -60px;
    }
}

/*Page liste des intervenants*/
.post-type-archive .col-4{
	width:25%;
}
.post-type-archive #content{
	display:flex;
	flex-flow: row wrap;
}
.post-type-archive .entry-title{
	text-align:center;
}
@media(max-width:1024px){

	.post-type-archive .col-4 {
		width: 50%;
	} 
}
@media(max-width:767px){

	.post-type-archive .col-4 {
		width: 100%;
	} 
}
/*Page individuelle intervenant*/
.custom-content, .acf, .thumbnail{
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	margin:10px;
}
.custom-content i{
	margin-right :10px;
}
.single-intervenant .custom-content .thumbnail img, .post-type-archive-intervenant .custom-content .thumbnail img{
	border-radius: 50%;
}
.custom-content .thumbnail:hover i{
	background-color: transparent;
}
/*Page Contact*/
.wpcf7-form .row {
    display: flex;
    flex-flow: row wrap;
    justify-content: space-between;
}
.wpcf7-form .row label{
    width:48%;
}
@media(max-width:767px){
    .wpcf7-form .row label{
        width:100%;
    }
}
.grecaptcha-badge{
    visibility: hidden !important;
}
/*Page individuelle Réalisation*/
.single-realisation .custom-content{
	flex-flow: row wrap;
}
.single-realisation .custom-content > div{
	width:50%;
}
.single-realisation .custom-content > div:last-child{
	padding:15px;
}