/**
 * Theme Name: Eventsia CLAF
 * Template: eventsia
 */

:root {
    --header-artiste-height: 320px;
}

html {
    scroll-behavior: smooth;
}

.top-bar,
.hidden {
    display: none;
}

.four-column-full-width {
    width: 33.3333%;
}

/* Infos pratiques */
.speaker-team .speaker-title-box,
.speaker-team .speaker-title-box .speaker-name,
.speaker-team .speaker-title-box .speaker-designation {
    opacity: 1;
    -webkit-transform: none;
    -moz-transform: none;
    -ms-transform: none;
    -o-transform: none;
    transform: none;
}
.speaker-title-box::before {
    background-color: black;
}
.speaker-team:hover .speaker-title-box::before {
    background-color: #f80068;
    transition: background-color 0.3s ease;
    -webkit-transition: background-color 0.3s ease;
    -moz-transition: background-color 0.3s ease;
    -o-transition: background-color 0.3s ease;
}
.speaker-team.claf .wp-post-image {
    border-radius: 50%;
}

/* Pages & Articles */
.site-content.claf #primary {
    width: 100%
}

/* Articles "Les Artistes" */
.claf-artiste-cover {
    position: relative;
    width: 100%;
    height: var(--header-artiste-height);
    background-size: cover;
    background-position: center;
} 
.claf-artiste-cover::after {
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background: rgba(10, 10, 10, 0.5);
    z-index: 1;
}
.site-content.claf h2.entry-title {
    color: rgba(255, 255, 255, 1);
    position: absolute;
    top: 50%;   
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    max-width: 800px;
    padding: 0 20px;
    box-sizing: border-box;
    text-align: center;
    font-size: 3.5em;
    margin: 0;
    padding: 0;
    line-height: var(--header-artiste-height);
    z-index: 2;
}   

/* Masque le badge reCaptcha */
.recaptcha-badge, .grecaptcha-badge {
    display: none !important;
}

/* Adaptations pour mobile */
@media only screen and (max-width: 980px) {
    .main-navigation {
        margin-right: 0;
        text-align: right !important;
        height: 50px;
    }
    .main-navigation .menu-toggle {
        margin-top: 10px;
    }
    h2.header-image-title {
        font-size: 2em;
        line-height: 2em;
        /* margin-top: 100px; */
    }
    /* .design-1 .custom-header-wrap {
        padding: calc(100vh / 2) 20px;
    } */
    .site-content.claf h2.entry-title {
        line-height: normal;
    }
    .menu.nav-menu {
        background: black;
    }
}