/* ===================================================================
   KORREKT s.r.o. — Article / Blog Post Styles
   =================================================================== */

:root {
    --navy-950: #0a0e1a;
    --navy-900: #0d1321;
    --navy-800: #141c2f;
    --navy-200: #94a8c8;
    --gold-500: #c9a84c;
    --gold-400: #d4b85c;
    --white: #ffffff;
    --off-white: #fafaf8;
    --text-dark: #1a1a1a;
    --text-body: #3d3d3d;
    --text-muted: #6b6b6b;
    --border: #e0ddd8;
    --font-display: 'Playfair Display', Georgia, serif;
    --font-body: 'Source Sans 3', -apple-system, sans-serif;
}

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

html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }

body {
    font-family: var(--font-body);
    font-size: 18px;
    line-height: 1.8;
    color: var(--text-body);
    background: var(--off-white);
}

a { color: var(--gold-500); text-decoration: none; transition: color 0.3s; }
a:hover { color: var(--gold-400); }
strong { color: var(--text-dark); }

/* --- Nav --- */
.article-nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 860px;
    margin: 0 auto;
    padding: 24px 24px 0;
}

.article-nav__logo {
    display: flex;
    align-items: center;
    color: var(--text-dark);
}

.article-nav__logo-img {
    height: 40px;
    width: auto;
    /* Invert white SVG to dark for light backgrounds */
    filter: invert(1);
}

.article-nav__back {
    font-size: 14px;
    font-weight: 500;
    color: var(--text-muted);
}

.article-nav__back:hover { color: var(--gold-500); }

/* --- Article --- */
.article {
    max-width: 860px;
    margin: 0 auto;
    padding: 48px 24px 60px;
}

.article__header {
    margin-bottom: 40px;
    padding-bottom: 32px;
    border-bottom: 2px solid var(--gold-500);
}

.article__badge {
    display: inline-block;
    padding: 5px 14px;
    background: var(--navy-900);
    color: var(--gold-400);
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    border-radius: 100px;
    margin-bottom: 20px;
}

.article__header h1 {
    font-family: var(--font-display);
    font-size: clamp(32px, 5vw, 48px);
    font-weight: 700;
    line-height: 1.2;
    color: var(--navy-900);
    margin-bottom: 12px;
}

.article__meta {
    font-size: 14px;
    color: var(--text-muted);
}

.article__lead {
    margin-bottom: 36px;
}

.article__lead p {
    font-size: 20px;
    line-height: 1.75;
    color: var(--text-dark);
    font-weight: 400;
}

/* --- Body --- */
.article__body h2 {
    font-family: var(--font-display);
    font-size: clamp(24px, 3vw, 32px);
    font-weight: 600;
    color: var(--navy-900);
    margin: 48px 0 16px;
    padding-bottom: 8px;
    border-bottom: 1px solid var(--border);
}

.article__body h3 {
    font-family: var(--font-display);
    font-size: 20px;
    font-weight: 600;
    color: var(--navy-900);
    margin: 32px 0 10px;
}

.article__body p {
    margin-bottom: 16px;
}

.article__body ul, .article__body ol {
    margin: 0 0 20px 24px;
}

.article__body li {
    margin-bottom: 8px;
    line-height: 1.7;
}

.article__body table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0 28px;
    font-size: 16px;
}

.article__body th, .article__body td {
    padding: 12px 16px;
    text-align: left;
    border-bottom: 1px solid var(--border);
}

.article__body th {
    background: var(--navy-900);
    color: var(--white);
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.article__body td strong {
    color: var(--navy-900);
}

.article__highlight {
    background: #fef9e7;
    border-left: 4px solid var(--gold-500);
    padding: 20px 24px;
    margin: 24px 0;
    border-radius: 0 12px 12px 0;
    line-height: 1.7;
}

.article__highlight strong {
    color: var(--navy-900);
}

/* --- CTA --- */
.article__cta {
    margin-top: 56px;
    padding: 40px;
    background: var(--navy-900);
    border-radius: 16px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.article__cta::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse 60% 60% at 30% 50%, rgba(201, 168, 76, 0.06) 0%, transparent 70%);
}

.article__cta h3 {
    font-family: var(--font-display);
    font-size: 28px;
    font-weight: 600;
    color: var(--white);
    margin-bottom: 8px;
    position: relative;
}

.article__cta p {
    color: var(--navy-200);
    font-size: 16px;
    margin-bottom: 28px;
    position: relative;
}

.article__cta-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
    position: relative;
}

.article__cta-btn {
    display: inline-flex;
    padding: 14px 32px;
    background: var(--gold-500);
    color: var(--navy-950) !important;
    font-weight: 600;
    font-size: 15px;
    border-radius: 8px;
    transition: all 0.3s;
}

.article__cta-btn:hover {
    background: var(--gold-400);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(201, 168, 76, 0.3);
}

.article__cta-phone {
    font-size: 18px;
    font-weight: 600;
    color: var(--gold-400) !important;
}

/* --- Footer --- */
.article-footer {
    max-width: 860px;
    margin: 0 auto;
    padding: 24px 24px 48px;
    border-top: 1px solid var(--border);
    font-size: 13px;
    color: var(--text-muted);
}

.article-footer p { margin-bottom: 4px; }
.article-footer a { color: var(--gold-500); font-weight: 500; }

/* --- Responsive --- */
@media (max-width: 600px) {
    body { font-size: 16px; }
    .article { padding: 32px 16px 48px; }
    .article__header h1 { font-size: 28px; }
    .article__lead p { font-size: 17px; }
    .article__cta { padding: 28px 20px; }
    .article__body table { font-size: 14px; }
    .article__body th, .article__body td { padding: 8px 10px; }
}
