/* city.css — richiede base.css caricato PRIMA (header/nav/breadcrumb condivisi) */
html { scroll-behavior: smooth; }

/* HEADER */
.site-name {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.25rem; font-weight: 600; letter-spacing: 0.06em;
    color: var(--ink); text-decoration: none;
}
.site-name span { color: var(--gold); }

/* BREADCRUMB */

/* CITY HERO */
.city-hero {
    padding: 48px 80px 40px;
    border-bottom: 1px solid var(--border);
    background: var(--white);
}

.city-title {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 300;
    color: var(--ink);
    margin-bottom: 10px;
}

.city-region {
    display: flex;
    align-items: baseline;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 22px;
    font-size: 0.82rem;
    color: var(--muted);
}
.city-region:empty { display: none; }
.city-region .region-main {
    color: var(--sepia);
    font-weight: 500;
    letter-spacing: 0.02em;
}
.city-region .region-era {
    font-size: 0.58rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--muted);
    border: 1px solid var(--border);
    padding: 1px 6px;
    border-radius: 2px;
}
.city-region .region-now { color: var(--muted); }

.city-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
    align-items: center;
}

.city-stat {
    display: flex;
    flex-direction: column;
    gap: 2px;
}
.city-stat-num {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.8rem;
    font-weight: 600;
    color: var(--ink);
    line-height: 1;
}
.city-stat-lbl {
    font-size: 0.65rem;
    font-weight: 500;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--muted);
}

.city-meta-sep {
    width: 1px; height: 40px;
    background: var(--border);
}

.catalog-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}
.catalog-badge {
    font-size: 0.7rem;
    font-weight: 500;
    padding: 3px 10px;
    background: var(--hover);
    border: 1px solid var(--border);
    border-radius: 2px;
    color: var(--sepia);
}

/* SERIES BLOCKS — solo per le serie con descrizione compilata in admin */
.series-block {
    border-top: 1px solid var(--border);
    padding-top: 32px;
    margin-bottom: 40px;
}
.series-block .notgeld-grid { margin-top: 20px; }

.series-cover {
    border: 1px solid var(--border);
    border-radius: 4px;
    overflow: hidden;
    background: var(--hover);
    margin: 0 auto 20px;
    max-width: 560px;
}
.series-cover img {
    width: 100%;
    max-height: 380px;
    object-fit: contain;
    display: block;
    margin: 0 auto;
}

.ungrouped-label {
    font-size: 0.65rem;
    font-weight: 500;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--muted);
    margin: 8px 0 16px;
    padding-top: 24px;
    border-top: 1px solid var(--border);
}

.series-eyebrow {
    font-size: 0.65rem;
    font-weight: 500;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 8px;
}

.series-title {
    font-family: 'Cormorant Garamond', serif;
    font-weight: 600;
    font-size: 1.5rem;
    color: var(--ink);
    margin: 0 0 10px;
    display: flex;
    align-items: baseline;
    gap: 14px;
    flex-wrap: wrap;
}

.series-code-sub {
    font-family: 'DM Sans', sans-serif;
    font-size: 0.72rem;
    font-weight: 400;
    color: var(--muted);
    letter-spacing: 0.04em;
}

.insta-link {
    font-family: 'DM Sans', sans-serif;
    font-size: 0.7rem;
    font-weight: 500;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--sepia);
    text-decoration: none;
    border-bottom: 1px solid var(--border);
}
.insta-link:hover { color: var(--gold); }

.series-desc {
    font-size: 0.9rem;
    line-height: 1.7;
    color: var(--muted);
    margin: 0;
    max-width: 640px;
}

/* FILTER BAR */
.filter-bar {
    padding: 20px 80px;
    display: flex;
    align-items: center;
    gap: 12px;
    border-bottom: 1px solid var(--border);
    background: var(--cream);
    flex-wrap: wrap;
}

.filter-label {
    font-size: 0.72rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--muted);
}

.series-btn {
    padding: 5px 14px;
    border: 1px solid var(--border);
    background: var(--white);
    border-radius: 2px;
    font-size: 0.8rem;
    color: var(--ink);
    cursor: pointer;
    transition: all 0.15s;
    font-family: 'DM Sans', sans-serif;
}
.series-btn:hover, .series-btn.active {
    background: var(--ink);
    color: var(--white);
    border-color: var(--ink);
}

/* GRID */
.main-content { padding: 40px 80px 80px; }

.notgeld-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 18px;
}

.notgeld-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 4px;
    overflow: hidden;
    text-decoration: none;
    color: var(--ink);
    transition: all 0.22s;
    display: block;
}
.notgeld-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 28px rgba(28,25,23,0.1);
    border-color: #c8b898;
}
.notgeld-card.hidden { display: none; }

.card-img {
    display: flex;
    gap: 2px;
    background: #e8e0d4;
    overflow: hidden;
}
.card-img .img-half {
    flex: 1;
    overflow: hidden;
    background: #f0ece4;
}
.card-img .img-half img {
    width: 100%;
    aspect-ratio: 3/2;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}
.card-img .img-half div {
    aspect-ratio: 3/2;
}
.notgeld-card:hover .card-img img { transform: scale(1.04); }

.card-body { padding: 12px 14px; }

.card-code {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.05rem; font-weight: 600;
    color: var(--ink); margin-bottom: 5px;
}

.card-meta {
    display: flex; flex-wrap: wrap;
    gap: 5px; align-items: center;
    font-size: 0.72rem; color: var(--muted);
}

.card-value { color: var(--ink); font-weight: 500; }
.card-pending { color: #c0a882; font-style: italic; }

.card-tag {
    background: var(--hover); padding: 1px 6px;
    border-radius: 2px; font-size: 0.62rem;
    color: var(--sepia); font-weight: 500;
}

.unverified-dot {
    width: 6px; height: 6px;
    background: #e8c97a;
    border-radius: 50%;
    display: inline-block;
    title: "Value not yet verified";
}

/* EMPTY */
.empty {
    grid-column: 1/-1;
    text-align: center;
    padding: 60px;
    color: var(--muted);
    font-size: 0.85rem;
}

/* REVEAL */
.reveal { opacity: 0; transform: translateY(14px); transition: opacity 0.5s ease, transform 0.5s ease; }
.reveal.visible { opacity: 1; transform: none; }

/* RESPONSIVE */
@media (max-width: 860px) {
    .breadcrumb, .city-hero, .filter-bar, .main-content { padding-left: 20px; padding-right: 20px; }
}

/* FOOTER */
footer {
    background: var(--ink); padding: 32px 80px;
    display: flex; justify-content: space-between; align-items: center;
    flex-wrap: wrap; gap: 8px;
}
.footer-brand { font-family: 'Cormorant Garamond', serif; font-size: 1rem; color: rgba(255,255,255,0.5); }
.footer-brand span { color: var(--gold); }
.footer-copy { font-size: 0.72rem; color: rgba(255,255,255,0.35); letter-spacing: 0.04em; }
.footer-copy a { color: rgba(255,255,255,0.45); text-decoration: underline; }
.footer-copy a:hover { color: rgba(255,255,255,0.75); }
