/*
Theme Name: Provinzstimmen
Theme URI: https://provinzstimmen.de
Author: Provinzstimmen
Description: Schlichtes Oldschool-WordPress-Theme im Zeitungsstil: Header mit Logo rechts, Menü links, Beiträge rechts, Content zentral, keine Kommentare, keine Social-Media-Elemente.
Version: 1.0.0
License: GPL v2 or later
Text Domain: provinzstimmen
*/

:root {
    --paper: #f4ecd8;
    --paper-light: #fff9ed;
    --ink: #1e1a14;
    --muted: #6d6253;
    --line: #2c261d;
    --soft-line: #c8b995;
    --accent: #5a3518;
    --max-width: 1180px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    margin: 0;
    background: var(--paper);
    color: var(--ink);
    font-family: Georgia, 'Times New Roman', serif;
    font-size: 18px;
    line-height: 1.65;
}

a { color: var(--accent); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: #000; }

.site-wrapper {
    width: min(var(--max-width), calc(100% - 32px));
    margin: 0 auto;
}

.site-header {
    border-bottom: 4px double var(--line);
    padding: 24px 0 18px;
    margin-bottom: 22px;
}

.header-inner {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 24px;
}

.site-title-block { min-width: 0; }
.site-title {
    margin: 0;
    font-size: clamp(2.1rem, 5vw, 4.4rem);
    line-height: 0.95;
    letter-spacing: -0.04em;
    font-weight: 700;
    text-transform: none;
}
.site-title a { color: var(--ink); text-decoration: none; }
.site-description {
    margin: 8px 0 0;
    color: var(--muted);
    font-size: 1rem;
    letter-spacing: 0.05em;
}

.site-logo {
    margin-left: auto;
    text-align: right;
    flex: 0 0 auto;
}
.site-logo img {
    max-width: 240px;
    max-height: 120px;
    width: auto;
    height: auto;
    display: block;
}
.site-logo-placeholder {
    border: 2px solid var(--line);
    padding: 10px 16px;
    font-weight: 700;
    font-size: 1.6rem;
    letter-spacing: 0.03em;
    background: var(--paper-light);
}

.main-layout {
    display: grid;
    grid-template-columns: 210px minmax(0, 1fr) 260px;
    gap: 28px;
    align-items: start;
}

.sidebar,
.post-list {
    border-top: 2px solid var(--line);
    padding-top: 12px;
}

.sidebar-title,
.post-list-title {
    margin: 0 0 10px;
    font-size: 0.95rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--muted);
}

.sidebar ul,
.post-list ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.sidebar li,
.post-list li {
    border-bottom: 1px solid var(--soft-line);
    padding: 7px 0;
}

.sidebar a,
.post-list a {
    color: var(--ink);
    text-decoration: none;
}
.sidebar a:hover,
.post-list a:hover {
    color: var(--accent);
    text-decoration: underline;
}

.content-area {
    min-width: 0;
    background: rgba(255,255,255,0.18);
    border-left: 1px solid var(--soft-line);
    border-right: 1px solid var(--soft-line);
    padding: 0 24px 24px;
}

.article-card,
.single-article {
    border-bottom: 1px solid var(--soft-line);
    padding: 0 0 28px;
    margin: 0 0 32px;
}

.entry-title {
    margin: 0 0 8px;
    font-size: clamp(1.7rem, 3vw, 2.7rem);
    line-height: 1.12;
    letter-spacing: -0.03em;
}
.entry-title a {
    color: var(--ink);
    text-decoration: none;
}
.entry-title a:hover { text-decoration: underline; }

.entry-meta {
    color: var(--muted);
    font-size: 0.95rem;
    border-top: 1px solid var(--soft-line);
    border-bottom: 1px solid var(--soft-line);
    padding: 5px 0;
    margin: 10px 0 18px;
}

.entry-content img,
.entry-summary img {
    max-width: 100%;
    height: auto;
}

.entry-content p,
.entry-summary p { margin: 0 0 1.1em; }
.entry-content h2,
.entry-content h3 { line-height: 1.2; margin-top: 1.4em; }

.read-more {
    display: inline-block;
    margin-top: 4px;
    font-weight: 700;
}

.site-footer {
    border-top: 4px double var(--line);
    margin-top: 34px;
    padding: 18px 0 28px;
    color: var(--muted);
    font-size: 0.95rem;
}
.footer-inner {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
}
.footer-inner a { color: var(--ink); }

.no-comments-note { display: none; }

@media (max-width: 920px) {
    .main-layout {
        grid-template-columns: 180px minmax(0, 1fr);
    }
    .post-list {
        grid-column: 1 / -1;
        border-top: 1px solid var(--soft-line);
    }
}

@media (max-width: 700px) {
    body { font-size: 17px; }
    .site-wrapper { width: min(100% - 22px, var(--max-width)); }
    .header-inner {
        align-items: flex-start;
        flex-direction: column-reverse;
    }
    .site-logo {
        width: 100%;
        display: flex;
        justify-content: flex-end;
    }
    .site-logo img { max-width: 180px; max-height: 90px; }
    .main-layout { display: block; }
    .sidebar, .post-list, .content-area { margin-bottom: 22px; }
    .content-area {
        border-left: 0;
        border-right: 0;
        padding: 0 0 20px;
    }
    .sidebar ul { columns: 2; column-gap: 20px; }
}

@media (max-width: 430px) {
    .sidebar ul { columns: 1; }
    .site-logo img { max-width: 150px; }
}
.post-thumbnail {
    margin: 20px 0 25px 0;
}

.post-thumbnail img {
    width: 100%;
    max-width: 900px;
    height: auto;
    display: block;
}
.article-thumbnail {
    display: block;
    margin-bottom: 15px;
}

.article-thumbnail img {
    width: 100%;
    max-width: 300px;
    height: auto;
    display: block;
}
.startseite-beitraege {
    margin-top: 40px;
}

.article-thumbnail {
    display: block;
    margin-bottom: 15px;
}

.article-thumbnail img {
    width: 100%;
    max-width: 300px;
    height: auto;
    display: block;
}