/* RESET E BASE */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: "Times New Roman", Times, Georgia, serif;
    background-color: #ffffff;
    color: #000000;
    padding: 50px 25px;
    font-size: 16px;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

.site-container {
    max-width: 1000px;
    margin: 0 auto;
}

/* TIPOGRAFIA E LINK BASE */
h1 {
    font-size: 1.45rem;
    font-weight: bold;
    margin-bottom: 4px;
}

.subtitle {
    font-weight: bold;
    margin-bottom: 25px;
    font-size: 1.15rem;
}

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

a:hover {
    background-color: #000000;
    color: #ffffff;
    text-decoration: none;
}

/* LAYOUT A DUE COLONNE */
.home-layout {
    display: flex;
    justify-content: flex-start;
    align-items: flex-start;
    gap: 80px;
}

.home-left {
    width: 280px;
    flex-shrink: 0;
}

.home-right {
    flex: 1;
}

/* MENU PRINCIPALE (SENZA PUNTI ELENCO) */
.minimal-menu {
    margin-bottom: 25px;
}

.minimal-menu ul {
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
}

.minimal-menu li {
    list-style-type: none !important;
    margin-bottom: 6px;
}

.years-range {
    margin-bottom: 30px;
    font-size: 1rem;
}

/* BLOCCO DESTRO (SHOP & HERO IMAGE) */
.external-links {
    margin-bottom: 20px;
    font-size: 1.05rem;
}

/* IMMAGINI CON DIMENSIONI DINAMICHE ADATTABILI */
.hero-image img,
.gallery-item img {
    max-width: 100%;
    width: auto;
    height: auto;
    display: block;
    border: none;
}

.hero-image figcaption {
    font-size: 0.85rem;
    color: #444;
    margin-top: 8px;
    font-style: italic;
}

/* FOOTER */
.site-footer {
    margin-top: 40px;
    font-size: 1rem;
}

.credits p {
    margin-bottom: 3px;
}

.copyright {
    font-size: 0.85rem;
    color: #555;
    margin-top: 20px;
}

/* ELENCO PROGETTI PER EXHIBITIONS / PROJECTS */
.projects-list {
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
}

.projects-list li {
    margin-bottom: 16px;
    display: flex;
    align-items: baseline;
}

.proj-date {
    font-family: "Times New Roman", Times, serif;
    font-size: 0.85rem;
    color: #000000;
    width: 55px;
    flex-shrink: 0;
}

/* Titoli dei progetti in Helvetica 26px con sottolineatura distanziata */
.proj-title {
    font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
    font-size: 26px;
    font-weight: normal;
    text-decoration: underline;
    text-underline-offset: 6px;
    letter-spacing: -0.3px;
    line-height: 1.3;
}

.proj-title:hover {
    background-color: #000000;
    color: #ffffff;
    text-decoration: none;
}

/* ==========================================================================
   DETTAGLIO PROGETTO & GALLERIA VERTICALE
   ========================================================================== */
.project-nav {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 25px;
    font-size: 0.95rem;
}

.nav-separator {
    color: #888;
}

.project-header {
    margin-bottom: 30px;
}

.project-title-detail {
    font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
    font-size: 26px;
    font-weight: normal;
    text-decoration: underline;
    text-underline-offset: 6px;
    margin-bottom: 6px;
}

.project-meta-info {
    font-size: 0.9rem;
    color: #444;
}

/* GALLERIA IMMAGINI IMPILATE VERTICALMENTE */
.stacked-gallery {
    display: flex;
    flex-direction: column;
    gap: 35px;
    margin-bottom: 40px;
}

.gallery-item figcaption {
    font-size: 0.85rem;
    color: #444;
    margin-top: 8px;
    font-style: italic;
    line-height: 1.4;
}

.bottom-nav {
    margin-top: 20px;
    flex-wrap: wrap;
}

.close-link {
    width: 100%;
    margin-top: 15px;
}

/* RESPONSIVE SMARTPHONE */
@media (max-width: 768px) {
    .home-layout {
        flex-direction: column;
        gap: 30px;
    }
    .home-left, .home-right {
        width: 100%;
    }
}