/*
Theme Name: Parco Minimale
Theme URI: https://parcopetrarca.arcadia-arte.com
Description: Tema minimale senza colori per il Parco Letterario Francesco Petrarca e dei Colli Euganei. Mostra i dati dei custom field ACF.
Version: 1.0.0
Author: Parco Petrarca
Text Domain: parco-minimale
Requires at least: 6.0
Requires PHP: 8.0
*/

/* === Reset & Base === */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    font-size: 16px;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: "Times New Roman", Georgia, serif;
    line-height: 1.7;
    color: #000;
    background: #fff;
}

a {
    color: #000;
    text-decoration: underline;
}

a:hover {
    text-decoration: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* === Layout === */
.site-header,
.site-main,
.site-footer {
    max-width: 720px;
    margin: 0 auto;
    padding: 0 1rem;
}

/* === Header === */
.site-header {
    padding-top: 2rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #000;
    margin-bottom: 2rem;
}

.site-title {
    font-size: 1.25rem;
    font-weight: 400;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.site-title a {
    text-decoration: none;
}

.site-description {
    font-size: 0.85rem;
    font-style: italic;
    margin-top: 0.25rem;
}

/* === Navigation === */
.main-navigation {
    margin-top: 0.75rem;
}

.main-navigation ul {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
}

.main-navigation a {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    text-decoration: none;
}

.main-navigation a:hover {
    text-decoration: underline;
}

/* === Content === */
.site-main {
    min-height: 60vh;
    padding-bottom: 3rem;
}

/* === Entry (single) === */
.entry-header {
    margin-bottom: 1.5rem;
}

.entry-title {
    font-size: 1.75rem;
    font-weight: 400;
    line-height: 1.3;
}

.entry-content {
    margin-bottom: 2rem;
}

.entry-content p {
    margin-bottom: 1rem;
}

.entry-content blockquote {
    border-left: 1px solid #000;
    padding-left: 1rem;
    margin: 1.5rem 0;
    font-style: italic;
}

/* === Meta fields === */
.field {
    margin-bottom: 1rem;
}

.field-label {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    display: block;
    margin-bottom: 0.15rem;
}

.field-value {
    display: block;
}

.fields-group {
    border-top: 1px solid #000;
    padding-top: 1rem;
    margin-top: 1.5rem;
    margin-bottom: 1.5rem;
}

.fields-group-title {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 1rem;
    font-weight: 400;
}

/* === Citazione (targa) === */
.citazione {
    font-size: 1.15rem;
    font-style: italic;
    border-left: 1px solid #000;
    padding-left: 1rem;
    margin: 1.5rem 0;
}

.citazione-opera {
    font-size: 0.85rem;
    font-style: normal;
    margin-top: 0.5rem;
}

/* === Featured image === */
.entry-thumbnail {
    margin-bottom: 1.5rem;
}

/* === Archive === */
.archive-title {
    font-size: 1.5rem;
    font-weight: 400;
    margin-bottom: 2rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid #000;
}

.archive-list {
    list-style: none;
}

.archive-item {
    padding: 1rem 0;
    border-bottom: 1px solid #000;
}

.archive-item:first-child {
    border-top: 1px solid #000;
}

.archive-item-title {
    font-size: 1.1rem;
    font-weight: 400;
}

.archive-item-title a {
    text-decoration: none;
}

.archive-item-title a:hover {
    text-decoration: underline;
}

.archive-item-meta {
    font-size: 0.85rem;
    margin-top: 0.25rem;
}

/* === Related list (targhe di un autore/comune) === */
.related-list {
    list-style: none;
}

.related-list li {
    padding: 0.5rem 0;
    border-bottom: 1px solid #000;
}

.related-list li:first-child {
    border-top: 1px solid #000;
}

/* === Download links === */
.download-links {
    display: flex;
    gap: 1rem;
    margin-top: 0.5rem;
}

.download-links a {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* === Footer === */
.site-footer {
    border-top: 1px solid #000;
    padding-top: 1rem;
    padding-bottom: 2rem;
    margin-top: 2rem;
    font-size: 0.8rem;
}

/* === Responsive === */
@media (max-width: 600px) {
    .entry-title {
        font-size: 1.35rem;
    }

    .main-navigation ul {
        gap: 1rem;
    }
}

/* === Page: Mappa === */
.mappa-container {
    width: 100%;
    height: 70vh;
    border: 1px solid #000;
    margin-bottom: 2rem;
}
