/* style.css for Suopdeutsche Zeitung - Enhanced Realism */

:root {
    --sz-green: #006b5b; /* Traditional dark green */
    --sz-text: #1a1a1a;
    --sz-text-light: #555555;
    --sz-bg: #ffffff;
    --sz-bg-alt: #f9f9f9;
    --sz-border: #e2e2e2;
    --sz-alert: #d32f2f;
    --sz-link: #0056b3;

    /* Typography */
    --font-fraktur: 'UnifrakturMaguntia', cursive;
    --font-serif: 'Merriweather', "Georgia", "Times New Roman", serif;
    --font-sans: 'Open Sans', "Helvetica Neue", Helvetica, Arial, sans-serif;

    --content-width: 1200px;
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    padding: 0;
    font-family: var(--font-serif);
    color: var(--sz-text);
    background-color: var(--sz-bg);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

a {
    color: var(--sz-text);
    text-decoration: none;
    transition: color 0.2s;
}

a:hover {
    color: var(--sz-green);
}

/* --- Top Bar --- */
.top-bar {
    background-color: var(--sz-bg-alt);
    border-bottom: 1px solid var(--sz-border);
    font-family: var(--font-sans);
    font-size: 0.8rem;
    padding: 5px 0;
}

.top-bar-content {
    max-width: var(--content-width);
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--sz-text-light);
}

.top-links a {
    margin-left: 15px;
    font-weight: 600;
}

/* --- Header --- */
.sz-header {
    background-color: white;
    padding: 30px 0 0 0;
    text-align: center;
}

.header-content {
    margin-bottom: 20px;
}

.logo {
    font-family: var(--font-fraktur);
    font-size: 5rem;
    color: var(--sz-text);
    margin: 0;
    line-height: 1;
    letter-spacing: 1px;
}

.header-slogan {
    font-family: var(--font-sans);
    font-size: 0.85rem;
    color: var(--sz-text-light);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-top: 10px;
}

/* --- Navigation --- */
.main-nav {
    border-top: 1px solid var(--sz-text); /* Thicker border for visual weight */
    border-bottom: 1px solid var(--sz-border);
    padding: 12px 0;
    position: sticky;
    top: 0;
    background: white;
    z-index: 100;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

.main-nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 25px;
    max-width: var(--content-width);
    margin: 0 auto;
}

.main-nav a {
    font-family: var(--font-sans);
    font-weight: 700;
    font-size: 0.95rem;
}

/* --- Main Layout --- */
.main-layout {
    max-width: var(--content-width);
    margin: 40px auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 2fr 1fr; /* 2/3 Article, 1/3 Sidebar */
    gap: 40px;
}

/* --- Article Content --- */
.article-container {
    max-width: 100%;
}

.kicker {
    font-family: var(--font-sans);
    color: var(--sz-green);
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.9rem;
    margin-bottom: 10px;
    letter-spacing: 0.5px;
}

.headline {
    font-family: var(--font-serif);
    font-size: 2.8rem;
    line-height: 1.15;
    margin: 0 0 20px 0;
    font-weight: 700;
    color: black;
}

.subheadline {
    font-family: var(--font-serif);
    font-size: 1.3rem;
    font-weight: 300;
    color: var(--sz-text-light);
    margin: 0 0 25px 0;
    line-height: 1.5;
}

.article-meta {
    font-family: var(--font-sans);
    font-size: 0.85rem;
    color: var(--sz-text-light);
    border-top: 1px solid var(--sz-border);
    padding: 15px 0;
    margin-bottom: 30px;
    display: flex;
    justify-content: flex-start;
    gap: 20px;
}

.author {
    font-weight: 600;
    color: var(--sz-text);
}

.article-image {
    margin: 0 0 40px 0;
}

.article-image img {
    width: 100%;
    height: auto;
    display: block;
    background-color: var(--sz-bg-alt); /* Placeholder while loading */
}

.article-image figcaption {
    font-family: var(--font-sans);
    font-size: 0.8rem;
    color: var(--sz-text-light);
    margin-top: 10px;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--sz-border);
}

.article-content {
    font-size: 1.15rem;
    color: #222;
}

.article-content p {
    margin-bottom: 25px;
}

.dropcap {
    float: left;
    font-family: var(--font-serif);
    font-size: 4rem;
    line-height: 0.8;
    padding-top: 4px;
    padding-right: 8px;
    padding-left: 3px;
    font-weight: 700;
    color: var(--sz-text);
}

.article-content h3 {
    font-family: var(--font-sans);
    font-size: 1.3rem;
    margin-top: 40px;
    margin-bottom: 15px;
    font-weight: 700;
}

.quote-box {
    border-left: 4px solid var(--sz-green);
    padding: 20px 25px;
    background-color: var(--sz-bg-alt);
    margin: 40px 0;
    font-size: 1.3rem;
    line-height: 1.6;
    color: var(--sz-text);
}

.quote-source {
    display: block;
    margin-top: 15px;
    font-family: var(--font-sans);
    font-size: 0.85rem;
    color: var(--sz-text-light);
    font-weight: 600;
    text-transform: uppercase;
}

/* --- Sidebar --- */
.sidebar {
    padding-left: 40px;
    border-left: 1px solid var(--sz-border);
}

.sidebar-widget {
    margin-bottom: 40px;
}

.widget-title {
    font-family: var(--font-sans);
    font-size: 1.1rem;
    font-weight: 700;
    text-transform: uppercase;
    border-bottom: 2px solid var(--sz-text);
    padding-bottom: 10px;
    margin-bottom: 20px;
    margin-top: 0;
}

.trending-list {
    list-style: none;
    padding: 0;
    margin: 0;
    counter-reset: trending-counter;
}

.trending-list li {
    margin-bottom: 20px;
    position: relative;
    padding-left: 35px;
}

.trending-list li::before {
    counter-increment: trending-counter;
    content: counter(trending-counter);
    position: absolute;
    left: 0;
    top: 0;
    font-family: var(--font-serif);
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--sz-border);
    line-height: 1;
}

.trending-list a {
    display: flex;
    flex-direction: column;
}

.trending-kicker {
    font-family: var(--font-sans);
    font-size: 0.75rem;
    color: var(--sz-green);
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 5px;
}

.trending-title {
    font-family: var(--font-serif);
    font-size: 1.05rem;
    font-weight: 700;
    line-height: 1.4;
}

.trending-title:hover {
    color: var(--sz-link);
}

.plus-teaser {
    background-color: var(--sz-bg-alt);
    border: 1px solid var(--sz-border);
}

.plus-teaser img {
    width: 100%;
    height: 150px;
    object-fit: cover;
    display: block;
}

.plus-teaser-content {
    padding: 15px;
}

.plus-badge {
    background-color: var(--sz-text);
    color: white;
    font-family: var(--font-sans);
    font-size: 0.75rem;
    font-weight: 700;
    padding: 2px 6px;
    border-radius: 2px;
    margin-right: 10px;
}

.plus-teaser a {
    font-family: var(--font-serif);
    font-weight: 700;
    font-size: 1.1rem;
    line-height: 1.4;
}

/* --- Reveal Section --- */
.reveal-section {
    margin-top: 60px;
    padding: 40px;
    background-color: #fdf5e6; /* Warmer, softer background */
    border: 1px solid #e8d5b5;
    border-top: 4px solid #d32f2f;
}

.reveal-prompt {
    text-align: center;
}

.reveal-prompt h3 {
    margin-top: 0;
    font-family: var(--font-sans);
    font-size: 1.5rem;
    color: #b71c1c;
}

.reveal-btn {
    background-color: #d32f2f;
    color: white;
    border: none;
    padding: 15px 30px;
    font-family: var(--font-sans);
    font-size: 1.1rem;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.2s;
    margin-top: 20px;
}

.reveal-btn:hover {
    background-color: #b71c1c;
}

.hidden {
    display: none;
}

.reveal-content {
    margin-top: 20px;
    animation: fadeIn 0.8s ease-in-out;
}

.reveal-header h2 {
    color: #d32f2f;
    font-family: var(--font-sans);
    font-size: 2rem;
    margin-bottom: 10px;
    text-transform: uppercase;
}

.reveal-intro {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 30px;
}

.educational-content {
    background-color: white;
    padding: 30px;
    border: 1px solid #e8d5b5;
}

.educational-content h3 {
    font-family: var(--font-sans);
    color: var(--sz-text);
    border-bottom: 1px solid var(--sz-border);
    padding-bottom: 10px;
    margin-top: 30px;
}

.educational-content h3:first-child {
    margin-top: 0;
}

.checklist {
    list-style: none;
    padding: 0;
}

.checklist li {
    margin-bottom: 15px;
    padding-left: 30px;
    position: relative;
}

.checklist li::before {
    content: "✗";
    color: #d32f2f;
    position: absolute;
    left: 0;
    font-weight: bold;
    font-size: 1.2rem;
}

/* --- Footer --- */
.sz-footer {
    background-color: var(--sz-bg-alt);
    border-top: 4px solid var(--sz-text);
    padding: 50px 0 20px 0;
    margin-top: 80px;
    font-family: var(--font-sans);
}

.footer-content {
    max-width: var(--content-width);
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    margin-bottom: 40px;
}

.footer-section h4 {
    font-size: 1.1rem;
    text-transform: uppercase;
    margin-bottom: 20px;
    border-bottom: 1px solid var(--sz-border);
    padding-bottom: 10px;
}

.footer-section ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-section li {
    margin-bottom: 10px;
}

.footer-section a {
    color: var(--sz-text-light);
    font-size: 0.95rem;
}

.footer-section a:hover {
    color: var(--sz-text);
    text-decoration: underline;
}

.footer-bottom {
    max-width: var(--content-width);
    margin: 0 auto;
    padding: 20px 20px 0 20px;
    border-top: 1px solid var(--sz-border);
    text-align: center;
    font-size: 0.85rem;
    color: var(--sz-text-light);
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* --- Responsive --- */
@media (max-width: 900px) {
    .main-layout {
        grid-template-columns: 1fr;
    }

    .sidebar {
        padding-left: 0;
        border-left: none;
        border-top: 1px solid var(--sz-border);
        padding-top: 40px;
    }

    .logo {
        font-size: 3.5rem;
    }

    .headline {
        font-size: 2.2rem;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}
