:root {
    --bg: #f3efe8;
    --surface: #fffdfa;
    --surface-alt: #efe5d8;
    --text: #22313c;
    --muted: #586872;
    --line: #d9cfbf;
    --primary: #245a74;
    --primary-deep: #183e52;
    --accent: #c26f4e;
    --accent-soft: #f4e4da;
    --footer: #183446;
    --footer-text: #f9f4ec;
    --shadow: 0 18px 48px rgba(34, 49, 60, 0.10);
}

body {
    font-family: Arial, Helvetica, sans-serif;
    background:
        radial-gradient(circle at top left, rgba(194,111,78,0.10), transparent 26%),
        radial-gradient(circle at top right, rgba(36,90,116,0.08), transparent 22%),
        linear-gradient(180deg, #f8f5ef 0%, var(--bg) 100%);
    color: var(--text);
}

p,
a,
li {
    font-size: 16px;
    line-height: 1.75;
}

h1,
h2,
h3 {
    font-family: Georgia, "Times New Roman", serif;
    color: var(--text);
}

h1 {
    font-size: clamp(2.5rem, 5vw, 4.8rem);
}

h2 {
    font-size: clamp(1.7rem, 2.4vw, 2.45rem);
}

h3 {
    font-size: 1.35rem;
}

.hero-copy,
.feature-card,
.article-card,
.aside-box {
    background: var(--surface);
    box-shadow: var(--shadow);
    border: 1px solid rgba(217, 207, 191, 0.78);
}

.hero-copy {
    background: linear-gradient(180deg, rgba(255,253,250,0.98), rgba(255,251,246,0.94));
}

.eyebrow,
.feature-kicker,
.aside-label,
.visual-badge {
    font-size: 11px;
    font-weight: 700;
    color: var(--primary);
}

.lead,
.article-intro,
.feature-content p,
.aside-box p {
    color: var(--muted);
}

.site-footer p {
    color: var(--footer-text);
    opacity: 0.92;
}

.hero-note {
    border-top: 1px solid var(--line);
    color: var(--muted);
}

.button-primary {
    background: linear-gradient(135deg, var(--primary), #2f6d89);
    color: #fff;
    box-shadow: 0 10px 24px rgba(36, 90, 116, 0.24);
}

.button-primary:hover {
    background: linear-gradient(135deg, var(--primary-deep), var(--primary));
}

.button-secondary {
    background: var(--accent-soft);
    color: var(--accent);
    border: 1px solid rgba(194,111,78,0.24);
}

.button-secondary:hover {
    background: #efd7ca;
    color: #a85739;
}

.hero-visual {
    box-shadow: var(--shadow);
}

.hero-visual::after,
.feature-image::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(24, 52, 70, 0.70), rgba(24, 52, 70, 0.14));
}

.hero-visual {
    position: relative;
}

.visual-badge {
    position: absolute;
    z-index: 2;
    background: rgba(255, 250, 244, 0.94);
    color: var(--primary-deep);
    backdrop-filter: blur(6px);
    box-shadow: 0 8px 18px rgba(24, 52, 70, 0.12);
}

.feature-image {
    position: relative;
}

.feature-content {
    background: linear-gradient(180deg, #fffdfa, #fbf7f1);
}

.feature-link {
    color: inherit;
}

.feature-link:hover h2,
.article-content a:hover,
.tag:hover {
    color: var(--accent);
}

.article-content a {
    color: var(--primary);
    font-weight: 700;
}

.article-content strong {
    color: var(--primary-deep);
}

.article-hero-image {
    border: 1px solid rgba(217, 207, 191, 0.9);
    background: #faf6f0;
}

.aside-box.muted {
    background: linear-gradient(180deg, #f7efe5, #efe2d2);
}

.tag {
    color: var(--primary);
    background: #f8f2ea;
    border: 1px solid var(--line);
    box-shadow: 0 4px 14px rgba(34, 49, 60, 0.05);
}

.tag:hover {
    background: var(--primary);
    color: #fff;
    border-color: var(--primary);
}

.site-footer {
    background: linear-gradient(135deg, var(--footer), #24506a);
    color: var(--footer-text);
    box-shadow: var(--shadow);
    border: 1px solid rgba(255,255,255,0.08);
}

#up {
    background: var(--primary);
    color: #fff;
    box-shadow: 0 12px 24px rgba(36, 90, 116, 0.28);
}

#up:hover {
    background: var(--accent);
}

@media (max-width: 720px) {
    p,
    a,
    li {
        font-size: 15px;
    }
}
/* Dodatki do style1_modern.css / style2_modern.css */
.hero-note .tag {
    margin: 0 10px 10px 0;
}

.feature-content h2,
.article-header h2,
.article-card h3,
.article-card h4 {
    text-wrap: balance;
}

.article-content > :first-child {
    margin-top: 0;
}

.article-content ul,
.article-content ol {
    margin: 0 0 22px 22px;
    padding: 0;
}

.article-content li {
    margin-bottom: 10px;
    color: var(--text);
}

.article-content img {
    border-radius: 18px;
}

.article-card .featured {
    padding-bottom: 0;
    margin-top: 34px;
}

.modern-menu,
.aside-box a {
    color: var(--primary);
}

.aside-box a:hover,
.modern-menu a:hover {
    color: var(--accent);
}

.featured .feature-card {
    height: 100%;
}

.site-footer {
    margin-top: 4px;
}

@media (max-width: 720px) {
    .hero-copy h1 {
        margin-bottom: 14px;
    }

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