/* Sdílený styl blogu net-hned.cz - navazuje na styl / paletu z hlavní stránky (index.html) */

@font-face {
    font-family: 'Bricolage Grotesque';
    font-style: normal;
    font-weight: 200 800;
    font-display: swap;
    src: url('/fonts/bricolage-grotesque-latin.woff2') format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
    font-family: 'Bricolage Grotesque';
    font-style: normal;
    font-weight: 200 800;
    font-display: swap;
    src: url('/fonts/bricolage-grotesque-latin-ext.woff2') format('woff2');
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
    font-family: 'Inter';
    font-style: normal;
    font-weight: 100 900;
    font-display: swap;
    src: url('/fonts/inter-latin.woff2') format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
    font-family: 'Inter';
    font-style: normal;
    font-weight: 100 900;
    font-display: swap;
    src: url('/fonts/inter-latin-ext.woff2') format('woff2');
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

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

:root {
    --ink: #0A2540;
    --ink-soft: #33475E;
    --paper: #FFFFFF;
    --mist: #F2F6FA;
    --line: #DCE5EE;
    --cta: #FF6B2C;
    --cta-dark: #E5581B;
    --blue: #1B6DE0;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    color: var(--ink);
    background: var(--paper);
    line-height: 1.65;
    overflow-x: hidden;
}

h1, h2, h3 { font-family: 'Bricolage Grotesque', 'Inter', sans-serif; }

a:focus-visible, button:focus-visible { outline: 3px solid var(--blue); outline-offset: 2px; }

.container { max-width: 1140px; margin: 0 auto; padding: 0 1.5rem; }

/* ===== Navbar (shodné s hlavní stránkou) ===== */
.navbar {
    position: sticky; top: 0; z-index: 1000;
    background: rgba(255,255,255,0.96);
    backdrop-filter: blur(8px);
    border-bottom: 1px solid var(--line);
}
.nav-inner {
    display: flex; align-items: center; justify-content: space-between;
    min-height: 64px; gap: 1rem;
}
.logo {
    font-family: 'Bricolage Grotesque', sans-serif;
    font-weight: 800; font-size: 1.4rem; color: var(--ink);
    text-decoration: none; letter-spacing: -0.02em;
}
.logo span { color: var(--cta); }
.nav-links { display: flex; gap: 1.75rem; list-style: none; align-items: center; }
.nav-links a { text-decoration: none; color: var(--ink-soft); font-weight: 500; font-size: 0.95rem; padding: 0.6rem 0; }
.nav-links a:hover, .nav-links a.active { color: var(--cta); }
.btn {
    display: inline-block; text-decoration: none; font-weight: 600;
    border-radius: 8px; padding: 0.8rem 1.5rem; font-size: 1rem;
    border: none; cursor: pointer; text-align: center;
    transition: background 0.2s, transform 0.2s; min-height: 44px;
}
.btn-cta { background: var(--cta); color: #fff; }
.btn-cta:hover { background: var(--cta-dark); }
.nav-cta { padding: 0.6rem 1.2rem; font-size: 0.95rem; }
.nav-right { display: flex; align-items: center; gap: 1.25rem; }
.nav-phone {
    display: flex; align-items: center; gap: 0.45rem;
    text-decoration: none; color: var(--ink); font-weight: 700;
    font-size: 1rem; white-space: nowrap; padding: 0.6rem 0;
}
.nav-phone svg { flex-shrink: 0; }
.nav-phone:hover { color: var(--cta); }

/* ===== Blog hero (index + článek) ===== */
.blog-hero { background: var(--mist); border-bottom: 1px solid var(--line); padding: 3.5rem 0 2.75rem; }
.blog-hero-inner { max-width: 46rem; margin: 0 auto; padding: 0 1.5rem; }
.breadcrumb { display: inline-block; color: var(--blue); text-decoration: none; font-weight: 600; font-size: 0.9rem; margin-bottom: 1.1rem; }
.breadcrumb:hover { text-decoration: underline; }
.article-meta { color: var(--ink-soft); font-size: 0.9rem; font-weight: 600; margin-bottom: 0.7rem; letter-spacing: 0.02em; }
.blog-hero h1 { font-size: clamp(1.9rem, 4vw, 2.6rem); font-weight: 800; line-height: 1.2; letter-spacing: -0.02em; color: var(--ink); }
.blog-hero.blog-index { text-align: center; }
.blog-hero.blog-index .blog-hero-inner { max-width: 38rem; }
.blog-hero.blog-index h1 { font-size: clamp(2rem, 5vw, 2.9rem); }
.blog-hero.blog-index p { color: var(--ink-soft); font-size: 1.1rem; margin-top: 0.9rem; }

/* ===== Blog index grid ===== */
.blog-grid {
    max-width: 1000px; margin: 0 auto; padding: 3.5rem 1.5rem 5rem;
    display: grid; grid-template-columns: repeat(auto-fit, minmax(270px, 1fr)); gap: 1.5rem;
}
.blog-card {
    border: 1px solid var(--line); border-radius: 14px; padding: 1.75rem;
    text-decoration: none; color: var(--ink); background: var(--paper);
    display: block; transition: border-color 0.2s, transform 0.2s, box-shadow 0.2s;
}
.blog-card:hover { border-color: var(--cta); transform: translateY(-3px); box-shadow: 0 12px 32px rgba(10,37,64,0.10); }
.blog-card .blog-date { font-size: 0.8rem; color: var(--ink-soft); font-weight: 600; letter-spacing: 0.02em; margin-bottom: 0.6rem; display: block; }
.blog-card h2 { font-size: 1.2rem; font-weight: 700; margin-bottom: 0.55rem; letter-spacing: -0.01em; }
.blog-card p { color: var(--ink-soft); font-size: 0.92rem; margin-bottom: 0.8rem; }
.blog-card .blog-link { color: var(--cta); font-weight: 600; font-size: 0.88rem; }

/* ===== Tělo článku ===== */
.article-body { max-width: 42rem; margin: 0 auto; padding: 3rem 1.5rem 0; }
.article-body h2 { font-size: 1.45rem; font-weight: 800; margin: 2.4rem 0 0.9rem; letter-spacing: -0.01em; color: var(--ink); }
.article-body p { margin-bottom: 1.1rem; color: var(--ink); font-size: 1.05rem; }
.article-body ul, .article-body ol { margin: 0 0 1.2rem 1.3rem; }
.article-body li { margin-bottom: 0.5rem; color: var(--ink); font-size: 1.05rem; }
.article-body a { color: var(--blue); text-decoration: underline; }
.article-body a:hover { color: var(--cta); }
.article-body strong { color: var(--ink); }

/* ===== Související články ===== */
.related { max-width: 42rem; margin: 1.5rem auto 0; padding: 2rem 1.5rem 4rem; border-top: 1px solid var(--line); }
.related h2 { font-size: 1.25rem; font-weight: 800; margin-bottom: 1.1rem; }
.related-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 1rem; }
.related-card {
    border: 1px solid var(--line); border-radius: 10px; padding: 1.1rem 1.25rem;
    text-decoration: none; color: var(--ink); display: block; background: var(--mist);
    transition: border-color 0.2s; font-weight: 600; font-size: 0.95rem;
}
.related-card:hover { border-color: var(--cta); }
.related-card span { display: block; color: var(--cta); font-weight: 600; font-size: 0.85rem; margin-top: 0.5rem; }

/* ===== CTA sekce ===== */
.cta-section { background: var(--ink); padding: 4.5rem 1.5rem; text-align: center; }
.cta-section h2 { font-size: clamp(1.6rem, 3.5vw, 2.1rem); font-weight: 800; color: #fff; margin-bottom: 0.85rem; letter-spacing: -0.02em; }
.cta-section p { color: #B8C7D9; font-size: 1.05rem; margin-bottom: 1.75rem; max-width: 32rem; margin-left: auto; margin-right: auto; }
.cta-buttons { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }
.cta-phone { color: #fff; text-decoration: none; font-weight: 700; }
.cta-phone:hover { color: var(--cta); }

/* ===== Footer ===== */
footer { background: var(--ink); color: #B8C7D9; border-top: 1px solid #1D3A57; padding: 2rem 0; font-size: 0.9rem; }
.footer-inner { max-width: 1140px; margin: 0 auto; padding: 0 1.5rem; display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }
footer a { color: #fff; text-decoration: none; }
footer a:hover { text-decoration: underline; }

@media (max-width: 900px) {
    .nav-links { display: none; }
}
@media (max-width: 600px) {
    .nav-cta { display: none; }
    .blog-hero { padding: 2.5rem 0 2rem; }
    .article-body { padding-top: 2.25rem; }
}
