/*
Theme Name: Customify Child - Bal Maski
Theme URI: https://balmaski.com
Description: Thème enfant de Customify. Contient les gabarits des spectacle.
Author: Bal Maski
Template: customify
Version: 1.0.0
Text Domain: customify-child
*/

/*
 too bad so sad... 
*/

.builder-item-sidebar.mobile-item--html {
	display: none;
}

/* ---- Liste des spectacle ---- */

.spectacles-grille {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
}

.carte-spectacle {
    border: 1px solid rgba(0, 0, 0, .1);
    border-radius: 6px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.carte-spectacle img {
    width: 100%;
    height: auto;
    display: block;
}

.carte-spectacle__corps {
    padding: 1rem 1.25rem 1.5rem;
}

.carte-spectacle__date {
    display: block;
    font-size: .85rem;
    text-transform: uppercase;
    letter-spacing: .05em;
    opacity: .7;
    margin-bottom: .35rem;
}

.carte-spectacle__titre {
    font-size: 1.25rem;
    margin: 0 0 .5rem;
}

.carte-spectacle__titre a {
    text-decoration: none;
}

.carte-spectacle__musiciens {
    font-size: .9rem;
    opacity: .8;
    margin: 0;
}

.spectacles-vide {
    padding: 2rem 0;
    opacity: .7;
}

/* ---- Fiche d'un spectacle ---- */

.spectacle-titre {
	margin-top: 1em !important;
}

.spectacle-entete {
    margin-bottom: 1.5rem;
}

.spectacle-date {
    font-size: 1.1rem;
    margin: .25rem 0 1rem;
}

.spectacle-musiciens {
    list-style: none;
    margin: 0 0 1.5rem;
    padding: 0;
    line-height: 1.6;
}

.spectacle-musiciens li {
    margin: 0 0 .25rem;
}

.musicien-nom {
    font-weight: 600;
}

.musicien-instrument {
    opacity: .75;
}

.musicien-instrument::before {
    content: ' - ';
    opacity: .6;
}

/* ---- Liens d'un spectacle ---- */

.spectacle-liens {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: .75rem;
    margin: 0 0 2rem;
    padding: 0;
}

.spectacle-lien {
    display: inline-block;
    padding: .5rem 1rem;
    border: 1px solid currentColor;
    border-radius: 4px;
    text-decoration: none;
    font-size: .95rem;
}

.spectacle-lien:hover {
    text-decoration: underline;
}

.spectacle-lien.lien-billetterie {
    font-weight: 600;
}

.spectacle-affiche {
    margin: 0 0 1.5rem;
}

.spectacle-affiche img {
    max-width: 100%;
    height: auto;
}

/* Avis affiché aux personnes qui peuvent corriger, quand le shortcode
   pointe une catégorie qui n'existe pas. */

.spectacles-avis {
    padding: 1rem 1.25rem;
    margin: 1.5rem 0;
    border-left: 3px solid currentColor;
    opacity: .8;
    font-size: .95rem;
}
