/*
Theme Name: Ginevra Child
Theme URI: https://ginevra.qodeinteractive.com
Description: A child theme of Ginevra
Author: Edge Themes
Author URI: https://qodeinteractive.com
Version: 1.0
Text Domain: ginevra
Template: ginevra
*/


/* Syne Regular */
@font-face {
  font-family: "Syne";
  src: url("/wp-content/themes/ginevra-child/fonts/Syne/static/Syne-Regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

/* Syne Bold */
@font-face {
  font-family: "Syne";
  src: url("/wp-content/themes/ginevra-child/fonts/Syne/static/Syne-Bold.ttf") format("truetype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}


/* Cormorant Infant Light */
@font-face {
  font-family: "Cormorant Infant";
  src: url("/wp-content/themes/ginevra-child/fonts/Cormorant_Infant/static/CormorantInfant-LightItalic.ttf") format("truetype");
  font-weight: 300;
  font-style: italic;
  font-display: swap;
}

/* Archivo Light */
@font-face {
  font-family: "Archivo";
  src: url("/wp-content/themes/ginevra-child/fonts/Archivo/static/Archivo-Light.ttf") format("truetype");
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}

/* Archivo Regular */
@font-face {
  font-family: "Archivo";
  src: url("/wp-content/themes/ginevra-child/fonts/Archivo/static/Archivo-Regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}


/* Archivo Bold */
@font-face {
  font-family: "Archivo";
  src: url("/wp-content/themes/ginevra-child/fonts/Archivo/static/Archivo-Bold.ttf") format("truetype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

/* fallback */
@font-face {
  font-family: 'Material Icons';
  font-style: normal;
  font-weight: 400;
  src: url("/wp-content/themes/ginevra-child/fonts/Material-Icons.woff2") format("woff2");
}

.material-icons {
  font-family: 'Material Icons';
  font-weight: normal;
  font-style: normal;
  font-size: 24px;
  line-height: 1;
  letter-spacing: normal;
  text-transform: none;
  display: inline-block;
  white-space: nowrap;
  word-wrap: normal;
  direction: ltr;
  -webkit-font-feature-settings: 'liga';
  -webkit-font-smoothing: antialiased;
}

.widget.widget_nav_menu .menu-main-menu-container ul li a {
    position: relative;
    font-family: Syne,sans-serif;
    text-transform: uppercase;
    letter-spacing: 0;
    color: #212121;
    font-size: 19px;
    line-height: 1.15789em;
    font-weight: 600;
    vertical-align: top;
}

.widget.widget_nav_menu .menu-main-menu-container ul li a .qodef-menu-item-wave {
    position: absolute;
    left: 0;
    right: 0;
    bottom: -7px;
    display: block;
    width: 100%;
    font-size: 1px;
    line-height: 1;
    color: #ffc600;
    clip-path: inset(0 100% 0 0);
    transition: clip-path .6s cubic-bezier(.33,1,.68,1)
}

.widget.widget_nav_menu .menu-main-menu-container ul li a .qodef-menu-item-wave svg {
    color: currentColor;
    width: 100%
}

.widget.widget_nav_menu .menu-main-menu-container ul li a:hover .qodef-menu-item-wave {
    clip-path: inset(0 0 0 0)
}

.qodef-button.qodef-layout--textual .qodef-m-wave,.qodef-button.qodef-layout--textual .qodef-m-wave-fake {
    bottom: -15px;
}

b, strong {font-weight: 900;color: black;}

.elementor-widget-text-editor {
	font-family: Archivo, sans-serif!important;
    font-size: 20px!important;
    line-height: 1.35em!important;
	color: #4e4e4e!important;
}

.page-id-858 #qodef-page-inner ul {
    padding-left: 1.5em;
    text-indent: -1.5em;
    line-height: inherit;
}

/* Liens uniquement dans #qodef-page-inner, sauf ceux dans .qodef-grid-item */
#qodef-page-inner a:not(.qodef-blog-item a):not(.qodef-m-nav) {
  position: relative;
  text-decoration: none;
  color: inherit; /* conserve la couleur du texte */
}

/* Ligne sous le lien */
#qodef-page-inner a:not(.qodef-blog-item a):not(.qodef-m-nav)::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;       /* distance sous le texte */
  width: 100%;
  height: 1px;        /* épaisseur de la ligne */
  background-color: currentColor; /* même couleur que le texte */
  transition: opacity 0.3s ease, transform 0.3s ease;
  opacity: 1;          /* ligne visible par défaut */
  transform: scaleX(1); /* pleine largeur */
  transform-origin: left;
}

/* Hover : ligne disparaît progressivement */
#qodef-page-inner a:not(.qodef-blog-item a):not(.qodef-m-nav):hover::after {
  opacity: 0;
  transform: scaleX(0);
}

/* Forcer mailto à hériter du style global */
#qodef-page-inner a[href^="mailto:"],
#qodef-page-inner a[href^="mailto:"] * {
    font-weight: inherit !important;
    font-family: inherit !important;
    font-size: inherit !important;
    color: inherit !important;
    text-decoration: none !important;
}



/* HOME PAGE */
h6.qodef-m-info-title { font-weight:bold!important;color:#000000!important;} 
.qodef-info-list .qodef-m-info-subtitle {font-weight:unset!important;display:flex;} 
.qodef-m-info-list-item span {display:none;}

@media (min-width: 768px) and (max-width: 1024px) {
	.qodef-h1, h1 { font-size:30px!important;} 	
}

@media (max-width: 767px) {
	.qodef-h1, h1 { font-size:25px!important;} 
}

/* page kunsttherapie */
.page-id-858 .elementor-widget-text-editor {
	color: #FFFFFF!important;
}

.page-id-858 .elementor-widget-text-editor a {
	color: #FFFFFF!important;
	text-decoration:underline;
}

.page-id-858 .elementor-widget-text-editor a {
  position: relative;
  text-decoration: none;
}

.page-id-858 .elementor-widget-text-editor a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 100%;
  height: 1px;
  background: currentColor;
}

.page-id-858 a:hover::after {
  opacity: 0;
}

.page-id-858 b, .page-id-858 strong {font-weight: 900;color: white;}
.page-id-858 .qodef-section-title div.qodef-m-subtitle {color: white;}

/* Menu */
.qodef-skin--light .qodef-fullscreen-menu-opener .qodef-fs-menu-label {color:white!important;} 


li h6.qodef-m-info-title {
    text-transform: unset;
}

p.qodef-m-info-subtitle {
    font-weight: 600!important;
}

.qodef-portfolio-list.qodef-item-layout--info-on-hover article:hover .qodef-e-content {
    opacity: 1;
    padding: 51px!important;
    background-size: 50px;
    margin: 30px;
    width: calc(100% - 60px);
    height: calc(100% - 60px);
}

body:not(.home) #qodef-page-outer {
    margin-top: initial!important;
}

/* BLOG */
.categories-horizontal {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.categories-horizontal a {
    white-space: nowrap;
    padding: 10px 10px 10px 0;
}

/* --- Responsive iPhone / petits écrans --- */
@media screen and (max-width: 480px) {
    .categories-horizontal {
    	margin-top:10px;
        gap: 0; /* plus de gap */
        flex-wrap: wrap; /* les liens passent à la ligne si nécessaire */
    }

    .categories-horizontal a {
        flex: 1 1 auto; /* chaque lien prend juste l'espace nécessaire */
        text-align: left; /* centrer le texte */
        margin: 0; /* petit espace vertical entre les lignes */
        padding:0;
    }
}



/* BLOG  */
div.qodef-e-content > div.qodef-e-bottom-holder > div.qodef-e-info {display:none;}
div.bloc-avec-les-posts .qodef-image-date.entry-date {display:none;}
body.archive a.qodef-image-date.entry-date.published.updated {display:none;}