/*
 Theme Name:   Perazzone-Brun
 Description:  Custom theme for Perazzone-Brun
 Author:       Jean-Philippe Marchand
 Author URI:   https://www.jeanphilippemarchand.com
 Template:     generatepress
 Version:      1.0
*/

/* ==========================================================================
   1. GLOBAL & TYPOGRAPHIE
   ========================================================================== */
b, th, strong, 
.wpforms-container .wpforms-field-label, 
.wp-core-ui div.wpforms-container .wpforms-field-label,
.wpforms-container .wpforms-required-label {
    font-weight: 500;
}

.hide-this {
    display: none;
}

/* ==========================================================================
   2. BOUTONS & ELEMENTS D'INTERACTION
   ========================================================================== */
button:not(.menu-toggle),
html input[type="button"],
input[type="reset"],
input[type="submit"],
.button,
.wp-block-button .wp-block-button__link {
    border-radius: 8px;
    text-transform: uppercase;
    padding: 14px 18px;
}

/* ==========================================================================
   3. STRUCTURE DU CONTENU (Articles & Pages)
   ========================================================================== */
/* .tax-catalogue h2,
.tax-artiste h2,
.single-oeuvre h1 {
    font-style: italic;
} */

.home .sur-titre {
    font-family: Bodoni Moda, serif;
    font-weight: 700;
    font-size: 36px;
    margin-bottom: 0;
}

.home .sous-titre {
    text-transform: uppercase;
    font-size: 14px;
    letter-spacing: 1px;
    font-weight: 500;
}

.entry-content li {
    margin-bottom: 0.3em;
}

.entry-content p + h2,
.entry-content ul + h2,
.entry-content figure + h2,
.entry-content div + h2 {
    margin-top: 50px;
}

.entry-content>p:last-child {
    margin-bottom: 1.5em;
}

.post-image-above-header .inside-article .post-image {
    margin-bottom: 1em !important;
    background-color: #efeeec;
    height: 390px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.post-image-above-header .inside-article .post-image img {
    max-height: 100%;
    width: auto;
    display: block;
}

.taxonomy-description p:last-child,
.artiste-introduction {
    margin-top: 2em;
    margin-bottom: 1.5em;
}

/* ==========================================================================
   4. BLOCS SPÉCIFIQUES (Artistes, Ventes, Info)
   ========================================================================== */
.artiste-block {
    text-transform: uppercase;
    font-size: 16px;
    letter-spacing: 1px;
    font-weight: 500;
    margin-bottom: .2em;
}

.estimation-block,
.resultat-block {
    padding: 5px 12px;
    margin-top: 1em;
    background-color: var(--base);
    display: inline-block;
    font-size: 16px;
}

.sell-info-block {
    padding: 40px;
    background-color: var(--white);
    margin-top: 50px;
}

.sell-info-block p {
    margin-bottom: 0;
}

/* Filtres et items d'années */
.annee-item {
    font-size: 14px;
    font-weight: 500;
    text-transform: uppercase;
    padding-left: 10px;
    padding-right: 10px;
}

.filtre-annees .fa-calendar-days {
    font-size: 15px;
    margin-right: 8px;
}

.term-ventes-passees .page-header > :last-child,
.term-meilleurs-resultats .page-header > :last-child,
.term-preemptions-museales .page-header > :last-child {
    margin-bottom: 1.4em;
}

/* ==========================================================================
   5. SIDEBAR (Barre latérale)
   ========================================================================== */
.sidebar-cta {
    padding: 30px;
    background-color: var(--white);
}

.sidebar-cta h3 {
    margin-top: 0.2em;
    margin-bottom: 0.4em;
}

.sidebar-cta p {
    margin-bottom: 1em;
    font-size: 17px;
}

.sidebar-cta .fa-gavel,
.sidebar-cta .fa-calendar-days, 
.sidebar-cta .fa-location-dot {
    margin-right: 2px;
}

/* ==========================================================================
   6. FORMULAIRES (WPForms)
   ========================================================================== */
.wpforms-field-label {
    margin-bottom: 0.2em;
}

.wpforms-container .wpforms-form .choices .choices__inner {
    min-height: 52px;
}

div.wpforms-container .wpforms-form .choices__inner {
    border: 1px solid var(--base) !important;
}



#wpforms-256-field_36-container {
    padding-bottom: 0;
}

#wpforms-256-field_35-container,
#wpforms-256-field_27-container,
#wpforms-256-field_34-container {
    padding-top: 0;
}

.wpforms-container ul {
    list-style: none;
}

#wpforms-256-field_42_1 {
    margin-left: 0;
}

/* ==========================================================================
   7. LISTE ALPHABÉTIQUE (Index Noms)
   ========================================================================== */
.groupe-lettre {
    margin-bottom: 60px;
}

.titre-lettre {
    border-bottom: 2px solid var(--base);
    padding-bottom: 10px;
}

.liste-noms {
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
    display: grid;
    grid-template-columns: repeat(2, 1fr); 
    gap: 12px 40px;
}

.liste-noms li {
    margin: 0;
}

.liste-noms li a {
    color: var(--contrast);
}

.liste-noms li a:hover {
    color: var(--accent);
}

/* ==========================================================================
   8. FOOTER
   ========================================================================== */
.footer-widgets .footer-widget-1 { flex-basis: 30%; }
.footer-widgets .footer-widget-2 { flex-basis: 38%; }
.footer-widgets .footer-widget-3 { flex-basis: 32%; }

/* ==========================================================================
   9. RESPONSIVE (Media Queries)
   ========================================================================== */

/* Tablettes et Ordinateurs */
@media (min-width: 769px) {
    .main-title {
        margin-left: -2px;
    }

    .inside-right-sidebar {
        position: sticky;
        top: 40px;
    }
}

/* Mobiles */
@media (max-width: 768px) {
    .liste-noms {
        grid-template-columns: 1fr;
    }
}