/*
Theme Name: Polis & Money
Theme URI: https://polismoney.com
Author: Custom
Description: Blog minimale sfondo nero per Polis & Money
Version: 3.2
*/

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,600;0,700;1,300;1,400&display=swap');

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

body {
    background-color: #000000;
    color: #e0e0e0;
    font-family: 'Cormorant Garamond', Georgia, serif;
    line-height: 1.8;
}

/* ── HEADER ── */
#site-header {
    text-align: center;
    padding: 40px 0 0;
}

#site-header img {
    width: 100%;
    max-width: 860px;
    height: auto;
    display: block;
    margin: 0 auto;
}

#site-title {
    display: none;
}

/* ── MENU ── */
#site-nav {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 10px !important;
    width: min(340px, 90vw) !important;
    margin: 20px auto 0 !important;
    padding: 0 !important;
}

a.nav-btn {
    display: block !important;
    line-height: 0 !important;
    text-decoration: none !important;
    transition: filter 0.2s !important;
    filter: brightness(1.0) !important;
}

a.nav-btn img {
    display: block !important;
    width: 100% !important;
    height: auto !important;
}

a.nav-btn:hover {
    filter: brightness(1.2) !important;
}

a.nav-btn.nav-btn-active {
    filter: brightness(0.45) !important;
}

/* ── DIVISORE ── */
.divider {
    width: 80px;
    height: 2px;
    background: #f5e07a;
    margin: 28px auto;
    opacity: 0.4;
}

/* ── ETICHETTA SEZIONE ── */
.section-label {
    text-align: center;
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: 0.85rem;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: #555;
    margin-bottom: 32px;
}

/* ── LISTA ARTICOLI ── */
#articles {
    max-width: 780px;
    margin: 0 auto;
    padding: 0 24px 80px;
}

.article-item {
    border-bottom: 1px solid #1e1e1e;
    padding: 36px 0;
}

.article-item:last-child {
    border-bottom: none;
}

.article-header {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 16px;
    margin-bottom: 14px;
}

.article-title {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: 1.9rem;
    font-weight: 700;
    color: #f5e07a;
    line-height: 1.2;
    flex: 1;
}

.article-title a {
    color: inherit;
    text-decoration: none;
    transition: opacity 0.2s;
}

.article-title a:hover {
    opacity: 0.75;
}

.article-date {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: 0.9rem;
    color: #777;
    white-space: nowrap;
    letter-spacing: 0.4px;
    text-align: right;
    flex-shrink: 0;
    font-style: italic;
}

.article-body {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: 1.2rem;
    font-weight: 300;
    color: #cccccc;
    line-height: 1.95;
}

.article-body h2,
.single-post .post-content h2 {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: 1.4rem;
    font-weight: 600;
    color: #e0e0e0;
    letter-spacing: 1px;
    margin: 28px 0 10px;
}

.article-body h3,
.single-post .post-content h3 {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: 1.2rem;
    font-weight: 600;
    color: #e0e0e0;
    letter-spacing: 1px;
    margin: 24px 0 8px;
}

/* ── SINGOLO POST ── */
.single-post {
    max-width: 780px;
    margin: 60px auto;
    padding: 0 24px 80px;
}

.single-post h1 {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: 2.8rem;
    font-weight: 700;
    color: #f5e07a;
    margin-bottom: 10px;
    line-height: 1.15;
}

.single-post .post-date {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: 0.95rem;
    color: #777;
    margin-bottom: 32px;
    font-style: italic;
}

.single-post .post-content {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-weight: 300;
    color: #cccccc;
    font-size: 1.2rem;
    line-height: 2;
}

.single-post .post-content strong,
.article-body strong {
    font-weight: 700;
    color: #e8e8e8;
}

/* Link nel contenuto */
.single-post .post-content a,
.article-body a {
    color: #f5e07a;
    text-decoration: underline;
    text-underline-offset: 3px;
    transition: opacity 0.2s;
}

.single-post .post-content a:hover,
.article-body a:hover {
    opacity: 0.75;
}

.back-link {
    display: inline-block;
    margin-top: 40px;
    font-family: 'Cormorant Garamond', Georgia, serif;
    color: #f5e07a;
    text-decoration: none;
    font-size: 1rem;
    letter-spacing: 1px;
    opacity: 0.7;
    transition: opacity 0.2s;
}
.back-link:hover { opacity: 1; }

/* ── PAGINA STATICA (Autore) ── */
.static-page {
    max-width: 780px;
    margin: 60px auto;
    padding: 0 24px 80px;
    text-align: center;
}

.static-page h1 {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: 2.8rem;
    font-weight: 700;
    color: #f5e07a;
    margin-bottom: 32px;
    line-height: 1.15;
}

.static-page .page-content {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-weight: 300;
    color: #cccccc;
    font-size: 1.2rem;
    line-height: 2;
}

.static-page .page-content a {
    color: #f5e07a;
    text-decoration: underline;
    text-underline-offset: 3px;
}

/* ── ARCHIVIO ── */
#archive-section {
    max-width: 780px;
    margin: 0 auto;
    padding: 0 24px 60px;
    border-top: 1px solid #1e1e1e;
}

#archive-section h3 {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: 1rem;
    color: #f5e07a;
    letter-spacing: 3px;
    text-transform: uppercase;
    margin-bottom: 20px;
    padding-top: 36px;
}

#archive-section ul {
    list-style: none;
    padding: 0;
    columns: 2;
    gap: 10px;
}

#archive-section ul li {
    margin-bottom: 8px;
}

#archive-section ul li a {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: 1.05rem;
    color: #aaaaaa;
    text-decoration: none;
    transition: color 0.2s;
}

#archive-section ul li a:hover {
    color: #f5e07a;
}

#archive-section ul li .archive-count {
    font-size: 0.85rem;
    color: #555;
    margin-left: 4px;
}
