/* notgeld.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 */

/* MAIN LAYOUT */
.main {
    padding: 48px 80px 80px;
    display: grid;
    grid-template-columns: 1fr 380px;
    gap: 60px;
    max-width: 1300px;
    margin: 0 auto;
}

/* LEFT — IMAGES */
.images-col {}

.images-stack {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.img-wrap {
    position: relative;
    border: 1px solid var(--border);
    border-radius: 4px;
    overflow: hidden;
    background: #f0ece4;
    cursor: zoom-in;
}

.img-wrap img {
    width: 100%;
    display: block;
    transition: transform 0.4s ease;
}

.img-wrap:hover img { transform: scale(1.02); }

.img-label {
    position: absolute;
    top: 12px; left: 12px;
    background: rgba(28,25,23,0.6);
    color: white;
    font-size: 0.62rem;
    font-weight: 500;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    padding: 3px 8px;
    border-radius: 2px;
}

/* RIGHT — DETAILS */
.details-col {}

.notgeld-title {
    font-family: 'Cormorant Garamond', serif;
    font-size: 2rem;
    font-weight: 300;
    color: var(--ink);
    margin-bottom: 6px;
    line-height: 1.2;
}

.notgeld-city {
    font-size: 0.72rem;
    font-weight: 500;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 24px;
}
.notgeld-city a { color: inherit; text-decoration: none; }
.notgeld-city a:hover { color: var(--sepia); }

.divider { border: none; border-top: 1px solid var(--border); margin: 20px 0; }

/* DATA TABLE */
.data-table { width: 100%; border-collapse: collapse; }
.data-table tr td {
    padding: 8px 0;
    border-bottom: 1px solid #f0ece4;
    vertical-align: top;
}
.data-table tr:last-child td { border-bottom: none; }
.data-label {
    font-size: 0.7rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--muted);
    width: 120px;
    padding-right: 16px;
}
.data-value {
    font-size: 0.92rem;
    color: var(--ink);
    font-weight: 400;
}
.data-value.pending {
    color: #c0a882;
    font-style: italic;
    font-size: 0.82rem;
}
.unverified {
    display: inline-block;
    width: 6px; height: 6px;
    background: #e8c97a;
    border-radius: 50%;
    margin-left: 6px;
    vertical-align: middle;
}

/* TAGS */
.tags-list {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}
.tag {
    padding: 3px 10px;
    background: var(--hover);
    border: 1px solid var(--border);
    border-radius: 2px;
    font-size: 0.72rem;
    color: var(--sepia);
    font-weight: 500;
    text-decoration: none;
    transition: all 0.15s;
}
.tag:hover { background: var(--sepia); color: white; border-color: var(--sepia); }

/* NOTES */
.notes-block {
    margin-top: 20px;
    padding: 16px;
    background: var(--white);
    border: 1px solid var(--border);
    border-left: 3px solid var(--gold);
    border-radius: 0 4px 4px 0;
    font-size: 0.85rem;
    line-height: 1.7;
    color: var(--muted);
}

/* TRANSCRIPTION */
.transcription-section {
    margin-top: 40px;
    padding-top: 40px;
    border-top: 1px solid var(--border);
    grid-column: 1 / -1;
}

.section-title {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.6rem;
    font-weight: 300;
    color: var(--ink);
    margin-bottom: 24px;
}

.transcription-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
}

.trans-block {}

.trans-label {
    font-size: 0.68rem;
    font-weight: 500;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 8px;
}

.trans-text {
    font-size: 0.88rem;
    line-height: 1.8;
    color: var(--ink);
    white-space: pre-wrap;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 4px;
    padding: 16px;
}

.trans-text.translation {
    color: var(--muted);
    font-style: italic;
}

/* SERIES */
.series-section {
    padding: 40px 80px 60px;
    border-top: 1px solid var(--border);
    background: var(--white);
}

.series-title {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.4rem;
    font-weight: 300;
    color: var(--ink);
    margin-bottom: 20px;
}

.series-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.series-thumb {
    width: 120px;
    text-decoration: none;
    display: block;
}

.series-thumb img {
    width: 100%;
    aspect-ratio: 3/2;
    object-fit: cover;
    border: 1px solid var(--border);
    border-radius: 3px;
    transition: all 0.2s;
}

.series-thumb:hover img {
    border-color: var(--gold);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(28,25,23,0.1);
}

.series-thumb span {
    display: block;
    font-size: 0.65rem;
    color: var(--muted);
    text-align: center;
    margin-top: 4px;
}

/* LIGHTBOX */
.lightbox {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(28,25,23,0.92);
    z-index: 1000;
    justify-content: center;
    align-items: center;
    cursor: zoom-out;
}
.lightbox.active { display: flex; }

.lightbox img {
    max-width: 92vw;
    max-height: 92vh;
    object-fit: contain;
    border-radius: 2px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.5);
    transform-origin: center center;
    touch-action: none;
    will-change: transform;
    cursor: zoom-in;
}

.lightbox-close {
    position: absolute;
    top: 20px; right: 24px;
    color: rgba(255,255,255,0.6);
    font-size: 2rem;
    cursor: pointer;
    line-height: 1;
    transition: color 0.2s;
}
.lightbox-close:hover { color: white; }

.lightbox-prev, .lightbox-next {
    position: absolute;
    top: 50%; transform: translateY(-50%);
    color: rgba(255,255,255,0.5);
    font-size: 2.5rem;
    cursor: pointer;
    padding: 16px;
    transition: color 0.2s;
    user-select: none;
}
.lightbox-prev { left: 16px; }
.lightbox-next { right: 16px; }
.lightbox-prev:hover, .lightbox-next:hover { color: white; }

.lightbox-caption {
    position: absolute;
    bottom: 20px;
    color: rgba(255,255,255,0.5);
    font-size: 0.75rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

/* 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); }

/* RESPONSIVE */
@media (max-width: 960px) {
    .main { grid-template-columns: 1fr; padding: 32px 20px 60px; gap: 32px; }
    .transcription-grid { grid-template-columns: 1fr; }
    .series-section { padding: 32px 20px; }
    footer { padding: 28px 20px; }
}

/* ── REUTERGELD APPARATUS (colonna unica, edizione curata) ── */
.rg-apparatus-wrap {
    padding: 0 80px;
    max-width: 1300px;
    margin: 0 auto;
}
.rg-apparatus {
    max-width: 40rem;
    padding-top: 20px;
}
.rg-apparatus .section-title {
    font-weight: 500;
    margin-bottom: 6px;
    letter-spacing: 0.01em;
}
.rg-flourish {
    width: 44px;
    height: 2px;
    background: var(--gold);
    opacity: 0.55;
    border: none;
    margin: 0 0 34px;
}
.rg-platt {
    font-family: 'Cormorant Garamond', serif;
    font-style: italic;
    font-weight: 600;
    font-size: 1.55rem;
    line-height: 1.52;
    color: var(--ink);
    margin: 0 0 34px;
    quotes: "\00AB\2009" "\2009\00BB";
}
.rg-platt::before { content: open-quote; color: var(--gold); }
.rg-platt::after  { content: close-quote; color: var(--gold); }
.rg-block { margin-bottom: 26px; }
.rg-label {
    font-size: 0.66rem;
    font-weight: 500;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 7px;
}
.rg-draft {
    margin-left: 9px;
    font-style: italic;
    font-weight: 400;
    text-transform: none;
    letter-spacing: 0.02em;
    color: var(--muted);
    font-size: 0.72rem;
}
.rg-text {
    font-size: 1.03rem;
    line-height: 1.72;
    color: var(--ink);
}
.rg-text.rg-en {
    color: var(--muted);
}
.rg-source {
    font-size: 0.88rem;
    color: var(--muted);
    margin-top: 32px;
    padding-top: 18px;
    border-top: 1px solid var(--border);
}
.rg-source cite { color: var(--sepia); font-style: italic; }
.rg-source a { text-decoration: none; }

@media (max-width: 860px) {
    .rg-apparatus-wrap { padding: 0 20px; }
    .rg-platt { font-size: 1.4rem; }
}
