/* 
Theme Name: Theme EENOV - enfant Hello
Theme URI: https://github.com/elementor/hello-theme/
Description: Hello Elementor Child is a child theme of Hello Elementor, created by Elementor team
Author: Elementor Team
Author URI: https://elementor.com/
Template: hello-elementor
Version: 1.0.1
Text Domain: hello-elementor-child
License: GNU General Public License v3 or later.
License URI: https://www.gnu.org/licenses/gpl-3.0.html
Tags: flexible-header, custom-colors, custom-menu, custom-logo, editor-style, featured-images, rtl-language-support, threaded-comments, translation-ready
*/

:root {
    font-size: 62.5%;
    --e-global-color-primary: #FFFFFF;
    --e-global-color-secondary: #000000;
    --e-global-color-accent: #FF3300;
    --e-global-color-text: #666666;
}

.e-con {
    --padding-top: 0;
    --padding-right: 0;
    --padding-bottom: 0;
    --padding-left: 0;
}

html, body {
    font-size: 1.6rem;
    overflow-x: hidden;
}

#elementor-preview section:not(.full).e-con,
#content section:not(.full).e-con,
.elementor-edit-area section:not(.full).e-con,
.elementor-location-single section:not(.full).e-con,
.fullscreen-menu-overlay section:not(.full).e-con
 {
    padding-left: 1.4rem;
    padding-right: 1.4rem;
}

/********************************************
 *
 * SMOOTH SCROLL - LENIS
 *
 *******************************************/
html.lenis, html.lenis body {
  height: auto;
}

.lenis.lenis-smooth {
  scroll-behavior: auto !important;
}

.lenis.lenis-smooth [data-lenis-prevent] {
  overscroll-behavior: contain;
}

.lenis.lenis-stopped {
  overflow: clip;
}

.lenis.lenis-smooth iframe {
  pointer-events: none;
}


.elementor-widget-button .elementor-button-wrapper::before {
    content: '';
    background: var(--e-global-color-primary);
    display: block;
    position: absolute;
    z-index: -1;
    top: 0;
    left: 0;
    transform: translate(-4px,-4px);
    width: 100%;
    height: 100%;
    transition: .15s linear;
}

.elementor-widget-button.btn-rose .elementor-button-wrapper::before {
    background: #F5ABAF;
}

.elementor-widget-button.btn-vert .elementor-button-wrapper::before {
    background: var(--e-global-color-secondary);
}


.elementor-widget-button:hover .elementor-button-wrapper::before {
    transform: translate(0,0);
    transition: .15s linear;
}

.elementor-widget-button .elementor-button::before {
    content: '';
    display: block;
    width: 100%;
    height: 100%;
    transition: .5s linear;
    transform: translate(0,0);
    border: 2px solid #000;
    position: absolute;
    left:0;
    top:0;
    transition: .15s linear;
}

.elementor-widget-button:hover .elementor-button::before {
    transform: translate(-4px,-4px);
    width: calc(100% + 8px);
    height: calc(100% + 8px);
    transition: .15s linear;
}


.film-staff { list-style:none; margin:0; padding:0; }
.film-staff__item { display:flex; align-items:center; gap:10px; margin:6px 0; }
.film-staff__pic { flex:0 0 auto; }
.film-staff__pic .film-staff__avatar { display:block; border-radius:50%; object-fit:cover; }
.film-staff__meta { line-height:1.2; }
.film-staff__name { font-weight:600; }


.film-staff__item .film-staff__avatar {
    border: 4px solid var(--e-global-color-secondary);
}

.film-staff__item:nth-child(3n+2) .film-staff__avatar {
    border-color: var(--e-global-color-primary);
}

.film-staff__item:nth-child(3n+3) .film-staff__avatar {
    border-color: #F5ABAF;
}


.film-meta {
  display: grid;
  grid-template-columns: 2fr 1fr; /* 2 colonnes */
  gap: 1rem .75rem;
  line-height: 1.4;
}

.film-meta__row {
  display: contents; /* permet que chaque 'cell' suive le grid parent */
}

.film-meta__cell--left  { grid-column: 1; }
.film-meta__cell--right { grid-column: 2; }

/* Un peu de style optionnel */
.film-meta__realisateur { font-weight: 600; }
.film-meta__duree,
.film-meta__langue { text-align: right; }


.film-seance {
    font-family: "Epilogue", Sans-serif;
    font-size: 1.6rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
}