/*
Theme Name: zentwentyfive
Theme URI:	https://wordpress.org/themes/twentytwentyfive/
Description: A child theme for Twenty Twenty Five.
Author: Annick Martin
Author URI: https://webis-shining.com
Template: twentytwentyfive
Version: 1.0
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
*/
/***********SOMMAIRE***********/
/***1 - ELements généraux***/
/***2 - composants ***/
/***3 - header, footer, navigation ***/
/***4 - Accueil ***/
/***5 - Pages internes,,Blog, Articles ***/



/* ==========================================================
   1. ÉLÉMENTS GÉNÉRAUX
   ========================================================== */
/* Administration */ 
/* Typo

/*** Administration */
/* adminbar */
/* #wpadminbar{
	display : none; 	
 }*/
 
/* compense la barre d’admin WP quand connecté */
body.admin-bar .wp-site-blocks > header {
	top: 32px; 
}

/* typo admin */
.wp-admin h1.wp-block.wp-block-post-title.editor-post-title {
	text-transform : none;
}

/*** Typo */
/*paragraphes*/
:root :where(.is-layout-constrained) > p,
:root :where(.is-layout-constrained) > ul{
  margin-block-start: 0.6rem;
}

/*titres*/
h1 {
	text-shadow: 2px 2px 2px rgba(255, 255, 255, 0.5);
}

h2.sous-titre {
	text-shadow: 1px 1px 1px rgba(255, 255, 255, 0.3);
}

/*liens*/
.wp-block-button__link {
	 transition: all 0.6s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}
.wp-block-button__link:hover {
	background-color : #FFC958;
}

/*** classes css */
/* ombre blanche en relief : utile ?*/
.en-relief {
	box-shadow: 12px 12px 50px rgb(255, 255, 255);
}

/*colonne space-between*/
.col-space-btw {
	  display: flex;
    flex-direction: column;
    justify-content: space-between;
}

/*lien flèche*/
p.lien-fleche::after {
    content: "→";
    display: inline-block;
    margin-left: 0.5em;
    transition: transform 0.25s ease;
}

p.lien-fleche:hover::after {
    transform: translateX(5px);
}

p.lien-fleche a {
	/*text-decoration : none;*/
}

/* duotone hover */
.duotone-hover img:hover {
	filter: none !important;
}

.duotone-hover img {
    transition: filter 1s ease !important;
}
/* ==========================================================
   2. COMPOSANTS
   ========================================================== */
/* hero */
/*********/
@media (max-width: 768px) {
	.hero-accueil .wp-block-cover__image-background {
			object-position: 75% center;
	}
}

/*breadcrumb*/
.breadcrumb.page-le-zen .yoast-breadcrumbs {
	max-width: 1200px;
}

/*FAQ*/
/***FAQ YOAST*/
/* Présentation de chaque question */
.wp-block-yoast-faq-block .schema-faq-section {
  border-bottom: 1px dashed  var(--wp--preset--color--accent-5);
  padding: 1rem 0;
}

/* Titre cliquable */
.wp-block-yoast-faq-block .schema-faq-question {
  display: block;
	font-weight :400;
  position: relative;
  padding-left: 2rem;
  cursor: pointer;
  line-height: 1.4;
  transition: color 0.2s ease;
	color: var(--wp--preset--color--accent-5);
}

/* Le strong imbriqué doit suivre la couleur du titre */
.wp-block-yoast-faq-block .schema-faq-question strong {
  color: inherit;
}

/* Icône + placée à gauche de la première ligne */
.wp-block-yoast-faq-block .schema-faq-question::before {
  content: "+";
  position: absolute;
  left: 0;
  top: 0.05em;

  width: 1.25rem;
  text-align: center;

  font-size: 1.4em;
  font-weight: 400;
  line-height: 1;
}

/* Icône lorsque la réponse est ouverte */
.wp-block-yoast-faq-block
  .schema-faq-section.is-open
  .schema-faq-question::before {
  content: "−";
}

/* Couleur au survol et au focus clavier */
.wp-block-yoast-faq-block .schema-faq-question:hover,
.wp-block-yoast-faq-block .schema-faq-question:focus-visible {
  color: var(--wp--preset--color--accent-1);
}

/* Les réponses ne sont masquées que lorsque le JS est actif */
.wp-block-yoast-faq-block.faq-accordion-ready .schema-faq-answer {
  display: none;
}

/* Espacement de la réponse */
.wp-block-yoast-faq-block .schema-faq-answer {
  margin-top: 0.75rem;
  margin-bottom: 0;
}



/* ==========================================================
   3. HEADER / NAVIGATION / FOOTER
   ========================================================== */
/* 3.1 header */
/* 3.2 navigation */


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

/* Transition du titre */
@media (max-width: 1023px) {
	header p.titre-site {
		font-size: clamp(
			1rem,
			1rem + ((1vw - 0.2rem) * 0.88),
			1.2rem
		) !important;
	}
}


@media (min-width: 1024px) {

    header p.titre-site {
        transition: font-size 0.3s ease;
    }

    header p.titre-site.scroll {
        font-size: calc(clamp(1rem, 1rem + ((1vw - 0.2rem) * 0.88), 1.2rem) * 0.8)  !important;
    }

}

@media (min-width: 1220px) {
	
	header p.titre-site {
		font-size: 1.6rem !important;
	}
  header p.titre-site.scroll {
        font-size: calc(1.6rem * 0.8)  !important;
    }
}

/*header p.titre-site {
	 transition: font-size 0.3s ease;
}*/

header p.titre-site a {
	text-decoration : none;
}

/*menu fixed */
body {
	position : relative;
}
.wp-site-blocks > header{
  position: fixed;
  left: 0;
  right: 0;
  top: 0;
  z-index: 1000;
}
/*.wp-site-blocks > header + div {
	margin-top : 80px;
}*/

/* --------------------------------------------------------
   3.2 - Navigaton
 ---------------------------------------------------------*/


/*menu normal*/
.wp-block-navigation .wp-block-navigation-item.current-menu-item > .wp-block-navigation-item__content,
.wp-block-navigation .wp-block-navigation-item.current-menu-ancestor > .wp-block-navigation-item__content {
	 color : var(--wp--preset--color--accent-1);
}

.wp-block-navigation .wp-block-navigation-item:hover > a {
	 color : var(--wp--preset--color--accent-1);
	outline : none; 
	border : none; 
	text-decoration : none; 
}

.wp-block-navigation a:active, 
.wp-block-navigation a:focus {
	outline : none;
	border : none;
}

p.test:hover {
	cursor : pointer;
}

/* Menu burger jusqu'à 1085px */
@media (min-width: 600px) and (max-width: 1085px) {

    /* Afficher le bouton burger */
   header .wp-block-navigation__responsive-container-open:not(.always-shown) {
        display: flex;
    }

    /* Masquer le menu horizontal, sauf lorsque le menu mobile est ouvert */
   header .wp-block-navigation__responsive-container:not(.hidden-by-default):not(.is-menu-open) {
        display: none;
    }

}



/* --------------------------------------------------------
   3.3 - Footer
 ---------------------------------------------------------*/


/*** Footer ***/
body .wp-site-blocks > footer.wp-block-template-part {
	margin-block-start: 0;
}

/*police h2*/
footer.wp-block-template-part h2 {
	font-size: clamp(1.2rem, 1.2rem + ((1vw - 0.2rem) * 0.88), 1.6rem)
}

@media (max-width: 767px) {
	footer.wp-block-template-part .col-log {
		  text-align: center;
	}
}

@media (min-width: 768px) {
	footer.wp-block-template-part .col-log {
		  text-align: right;
	}
}

/* ==========================================================
   4. ACCUEIL
   ========================================================== */
.presentation p {
	max-width : 500px;
	margin-left : auto;
	margin-right : auto
}


@media (min-width: 1500px) {
/*	.media-txt-zazen {
		height : 620px;
	}*/
}
.media-txt-zazen  .wp-block-media-text__content {
	height: 100%;
  	justify-content: space-between;
  	display: flex;
  	flex-direction: column;
}
.home p.lien-fleche:hover,
.home p.lien-fleche:hover a{
	color : var(--wp--preset--color--accent-5);
}

.horaires thead tr th:first-child,
.horaires tbody tr td:first-child{
	padding-left: var(--wp--preset--spacing--50);
}
@media (max-width: 767px) {
	.pres-bruno .texte-pres{
		padding-right: var(--wp--preset--spacing--30);
		padding-left: var(--wp--preset--spacing--30);
	}
}


@media (min-width: 768px) {
	.pres-bruno .texte-pres p{
		margin-right: 4% !important;
		margin-left: auto !important;
	}
	
	.pres-bruno  .wp-block-columns > .wp-block-column.is-vertically-aligned-top:first-child{
		align-self: center;
	}
}

@media (max-width: 767px) {
	.pres-bruno  .wp-block-columns{
		 flex-direction: column-reverse;
	}
}
@media (max-width: 767px) {
	.pres-bruno figure.portrait-bruno {
		max-width : 350px;
	}
}
@media (min-width: 768px) {
	.sesshin .wp-block-columns > .wp-block-column:first-child figure.aligncenter {
		margin-right : 0 !important;
	}
	
	.sesshin .texte-sesshin {
		margin-right : 8% !important;
	}
	.sesshin .texte-sesshin p {
		margin-top : 1.5rem;
	}
	
}
.tarifs {
	font-size : 90%;
}
/* ==========================================================
   5. PAGES INTERNES / BLOG / ARTICLES
   ========================================================== */
/*page Calendrier*/
.calendrier p {
	margin-top : 1rem;
	margin-bottom : 1rem;
}

.calendrier .wp-block-list {
	padding-left : 0;
}
.calendrier .wp-block-list li {
	margin-top : 1.5rem;
}

.formulaire .wpforms-container .wpforms-field-row.wpforms-field-medium,
.formulaire .wpforms-container input.wpforms-field-medium {
	max-width : 100% !important;
}
@media (max-width :768px){
	.formulaire  .wpforms-container .wpforms-field .wpforms-field-row .wpforms-one-half {
		width : 100%;
	}
	
	
	.formulaire  .wpforms-container .wpforms-field .wpforms-field-row .wpforms-field-row-block {
		padding : 0;
	}
	
	.formulaire  .wpforms-field-row-block.wpforms-first.wpforms-one-half {
		margin-bottom : 0.5rem;
	}
}

@media (min-width:720px) {
	#inscription {
		padding-bottom: var(--wp--preset--spacing--20);
	}
}
/*page Zazen*/
@media (max-width:450px) {
	.zazen-video {
		padding-bottom: var(--wp--preset--spacing--20) !important;
	}
}
@media (min-width:451px) {
	.zazen-video {
		padding-bottom: var(--wp--preset--spacing--50) !important;
	}
}

@media (max-width:1085px) {
	.zazen-video {
		flex-direction : column;
 		 padding-left: var(--wp--preset--spacing--40);
  		padding-right: var(--wp--preset--spacing--40);
	}
}


@media (min-width:1086px) {
	.zazen-video {
		padding-bottom: var(--wp--preset--spacing--40) !important;
	}
	
	.zazen-video-container {
		padding-bottom: var(--wp--preset--spacing--50) !important;	
	}
}

.zazen-video figure {
	max-width: 350px;
	margin-left: auto;
	margin-right: auto;
}



/*page Couture */

.intro-couture figure {
	text-align: center;
}

.couture-kesa-rakusu .wp-block-columns {
	flex-direction : column-reverse;
}
.couture-kesa-rakusu p.lien-fleche {
	margin-block-start: 0;
}

@media  (min-width : 1000px) {
	.couture-kesa-rakusu .wp-block-columns {
		flex-direction : row;
	}
}

.couture-kesa-rakusu .wp-block-columns figure {
	text-align: center;
}
@media  (min-width : 1200px) {
	.couture-kesa-rakusu .wp-block-columns figure {
		text-align: left;
	}
	
	.couture-kesa-rakusu .wp-block-columns .wp-block-column:last-child{
		min-height : 300px;
	}
}
.pres-helene figure {
	max-width : 400px;
}

@media  (max-width : 782px) {
	.pres-helene .wp-block-columns {
		flex-direction : column;
	}
}

@media  (min-width : 1000px) {
	
	.pres-helene .wp-block-columns .wp-block-column:last-child {
		text-align: right;
	}
	.pres-helene .wp-block-columns figure {
		display : inline-block;
	}
	
	.pres-helene .wp-block-columns figure figcaption {
		text-align : center;
	}
}
	
@media  (min-width : 1200px) {
	.couture-kesa-rakusu .wp-block-columns figure {
		text-align: left;
	}
	
	.pres-helene figure {
		max-width : 550px;
	}
}
	
.couture-photos .mesimages {
	display : flex;
	align-items: center;
    justify-content: flex-start;
    flex-wrap: wrap;
	flex-direction : column;
}

.couture-photos .mesimages .monimage {
	margin-bottom: var(--wp--preset--spacing--40);
}	
.couture-photos .mesimages .monimage:last-child {
	margin-bottom: 0;
}

@media  (min-width : 782px) {
	.couture-photos .mesimages .monimage {
		margin-left: 1rem;
		margin-right: 1rem;
		width: 100%;
		max-width: calc(50% - 2rem);
		margin-top: var(--wp--preset--spacing--40);
	}
	.couture-photos .mesimages {
		flex-direction : row;	
	}
}
.couture-photos .mesimages .monimage img {
	box-shadow: 5px 5px 0.5rem 0px rgba(0,0,0,0.42);
  	max-height: 280px;
  	height: auto;
  	/*max-width: 340px;*/
	max-width : 100%;
  	width: auto;
  	transition: 0.3s;
}

/*page Le Zen*/
.le-zen-histoire .wp-block-columns {
	flex-direction : column-reverse;
}
.le-zen-histoire .wp-block-columns figure {
	max-width : 400px;
}
@media  (min-width : 1000px) {
	.le-zen-histoire .wp-block-columns {
		flex-direction : row;
	}
}

.maitre-zen .wp-block-columns {
	flex-direction : column;
}
@media  (min-width : 1000px) {
	.maitre-zen .wp-block-columns {
		flex-direction : row;
	}
	
}

.maitre-zen .wp-block-columns figure img {
	width : 383px;
}
.maitre-zen .wp-block-columns .biblio {
	max-width: 645px;
  	margin-left: auto;
  	margin-right: auto;
}
.maitre-zen .wp-block-columns .biblio ul {
	padding-left: 10px;
}
@media (min-width : 1000px) {
	.maitre-zen .wp-block-columns .biblio ul {
		padding-left: 30px;
	}
}

/*page Contact*/
.contact p.lien-fleche:hover a{
	color : var(--wp--preset--color--accent-5);
}

/*Articles*/
.single header .wp-block-navigation .wp-block-navigation-item.blog> .wp-block-navigation-item__content {
	color: var(--wp--preset--color--accent-1);
}

.derniers-articles h2{
	text-align : center;
}
@media  (max-width : 782px) {
	.derniers-articles .titre-article {
		flex-direction : column;
		text-align : left;
	}
	
	.derniers-articles .titre-article h3 {
		width : 100%;
	}
	.derniers-articles .titre-article .wp-block-post-date {
		width : 100%;
		text-align : left;
	}
	
}

