/*
Theme Name: Emilia Romagna Responsabile
Theme URI: https://emiliaromagnaresponsabile.com
Author: Eugenio
Author URI: https://eugeniopalazzi.com
Description: Tema custom sviluppato da zero
Version: 1.0
License: GNU General Public License v2 or later
Text Domain: emilia_romagna_responsabile
*/

[un-cloak] {
    display: none;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

.bricolage-grotesque-regular {
    font-family: "Bricolage Grotesque", sans-serif;
    font-optical-sizing: auto;
    font-weight: 400;
    font-style: normal;
    font-variation-settings:
        "wdth" 100;
}

.bricolage-grotesque-semibold {
    font-family: "Bricolage Grotesque", sans-serif;
    font-optical-sizing: auto;
    font-weight: 600;
    font-style: normal;
    font-variation-settings:
        "wdth" 100;
}

ul {
    /* background-color: #cfffb1; */
    list-style: none;
    padding: .8rem;
    margin: 0;
    border-radius: 4px;
    display: flex;
    gap: 3px;
    flex-direction: column;
}

ul li a,
p {
    color: green;
    text-decoration: none;
}

ul p {
    margin-top: 0;
}

.grid {
    display: grid;
    gap: 16px;
}

.card {
    background: #202020;
    border: 1px solid #404040;
    border-radius: 8px;
    overflow: hidden;
    min-height: 300px;
}

.card .image {
    width: 100%;
    height: 220px;
    background-size: cover;
    background-position: center;
}

.card .image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
}

.card .content {
    width: auto;
    height: 100%;
    background: #f1f1f1;
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 12px;
}

h2 {
    margin: 0;
    font-size: 1.1rem;
}

p {
    margin: 0;
    /* font-size: .75rem; */
}

button.btn {
    font-size: .8rem;
    width: 100%;
    padding: 8px 0;
    background: green;
    color: #fff;
    border: 1px solid green;
    border-radius: 6px;
}

button.btn:hover {
    background: transparent;
    color: green;
}

.title {
    min-height: 44px;
}

.location,
.attivita {
    width: max-content;
    padding: 3px 9px;
    border-radius: 4px;
}

.location {
    background: #C65A3A;
    color: white;
}

.attivita {
    background: #1F4E5F;
    color: #fff;
}

.titolo_province {
    background: green;
    padding: 5px 10px;
    width: max-content;
    color: white;
    border-radius: 4px;
}

.tag_produttori {
    display: flex;
    gap: 6px;
}

/* Pagina 'Single Produttori' */

.single-produttori p {
    color: inherit;
    font-size: inherit;
}

hr {
    margin: 30px 0;
}