/* NextVision Analytics – štýly blogu (/blog/) */

body {
    background: #fff;
    color: #333;
}

/* ── Hlavička a menu ── */
.blog-header {
    background: #000;
    position: sticky;
    top: 0;
    z-index: 100;
}

.blog-header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 70px;
    flex-wrap: wrap;
}

.blog-header .logo img {
    height: 34px;
    width: auto;
}

.blog-nav {
    display: flex;
    gap: 6px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.blog-nav a {
    color: rgba(255, 255, 255, 0.85);
    font-family: 'Montserrat', sans-serif;
    font-size: 15px;
    font-weight: 500;
    padding: 8px 14px;
    border-radius: 20px;
    transition: all 0.2s;
}

.blog-nav a:hover,
.blog-nav a.active {
    color: #fff;
    background: rgba(255, 255, 255, 0.12);
}

.blog-nav-toggle {
    display: none;
    background: none;
    border: 0;
    color: #fff;
    font-size: 28px;
    line-height: 1;
    padding: 4px 6px;
    cursor: pointer;
}

@media (max-width: 767.98px) {
    .blog-header .logo img {
        width: 230px;
        height: auto;
    }

    .blog-nav-toggle {
        display: block;
    }

    .blog-nav {
        display: none;
        width: 100%;
        flex-direction: column;
        padding: 8px 0 16px;
    }

    .blog-nav.open {
        display: flex;
    }
}

/* ── Úvod stránky ── */
.blog-hero {
    background: linear-gradient(180deg, #121212 0%, #1a1a1a 100%);
    color: #fff;
    padding: 56px 0 48px;
}

.blog-hero h1 {
    color: #fff;
    font-size: 38px;
    font-weight: 600;
    line-height: 1.25;
    margin: 12px 0 16px;
    text-transform: none;
}

.blog-hero .lead {
    color: rgba(255, 255, 255, 0.8);
    font-size: 19px;
    max-width: 760px;
}

.breadcrumbs {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.6);
}

.breadcrumbs a {
    color: rgba(255, 255, 255, 0.75);
}

.breadcrumbs a:hover {
    color: #fff;
}

.post-meta {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.65);
    display: flex;
    flex-wrap: wrap;
    gap: 6px 18px;
}

.post-meta i {
    color: #00bfff;
    margin-right: 4px;
}

@media (max-width: 767.98px) {
    .blog-hero {
        padding: 36px 0 32px;
    }

    .blog-hero h1 {
        font-size: 28px;
    }

    .blog-hero .lead {
        font-size: 17px;
    }
}

/* ── Zoznam článkov ── */
.post-card {
    display: block;
    border: 1px solid #e6e6e6;
    border-radius: 16px;
    overflow: hidden;
    background: #fff;
    color: #333;
    height: 100%;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.post-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.08);
    color: #333;
}

.post-card img {
    width: 100%;
    height: auto;
    aspect-ratio: 1200 / 630;
    object-fit: cover;
    display: block;
}

.post-card-body {
    padding: 22px 24px 26px;
}

.post-card-meta {
    font-size: 13px;
    color: #888;
    margin-bottom: 8px;
}

.post-card h2,
.post-card h3 {
    font-size: 21px;
    font-weight: 600;
    line-height: 1.35;
    color: #111;
    margin-bottom: 10px;
    text-transform: none;
}

.post-card p {
    color: #666;
    font-size: 15px;
    margin-bottom: 14px;
}

.post-card .read-more {
    font-weight: 700;
    color: #000;
    font-size: 15px;
}

/* ── Článok ── */
.article {
    padding: 48px 0 24px;
}

.article-body {
    max-width: 780px;
    margin: 0 auto;
    font-size: 17px;
    line-height: 1.75;
}

.article-body p,
.article-body li {
    color: #333;
}

.article-body h2 {
    font-size: 27px;
    font-weight: 600;
    color: #111;
    margin: 52px 0 16px;
    line-height: 1.3;
    text-transform: none;
    scroll-margin-top: 90px;
}

.article-body h3 {
    font-size: 20px;
    font-weight: 600;
    color: #111;
    margin: 32px 0 10px;
    text-transform: none;
    scroll-margin-top: 90px;
}

.article-body a {
    color: #0070c0;
    text-decoration: underline !important;
}

.article-body a.btn,
.article-body a.download-item {
    text-decoration: none !important;
}

.article-body a.btn-light,
.article-body a.btn-light:hover,
.article-body a.btn-outline-light:hover {
    color: #111;
}

.article-body a.btn-outline-light {
    color: #fff;
}

.article-body ul,
.article-body ol {
    padding-left: 1.4em;
}

.article-body li {
    margin-bottom: 6px;
}

.article-body code {
    background: #f2f2f4;
    color: #b0006e;
    padding: 2px 6px;
    border-radius: 4px;
    font-size: 0.88em;
    word-break: break-word;
}

.article-body pre {
    background: #111318;
    color: #e6e6e6;
    border-radius: 12px;
    padding: 18px 20px;
    font-size: 14px;
    line-height: 1.6;
    overflow-x: auto;
    margin: 18px 0 24px;
}

.article-body pre code {
    background: none;
    color: inherit;
    padding: 0;
    font-size: inherit;
    word-break: normal;
}

.article-body pre .c {
    color: #7f8a9a;
}

.article-body pre .h {
    color: #ffd166;
}

.article-body kbd {
    background: #333;
    border-radius: 4px;
    font-size: 0.85em;
    padding: 2px 6px;
}

.article-hero-img {
    border-radius: 16px;
    width: 100%;
    height: auto;
    display: block;
    margin: 0 auto 8px;
}

.article-body figure {
    margin: 26px 0 30px;
}

.article-body figure img {
    width: 100%;
    height: auto;
    border: 1px solid #e3e3e3;
    border-radius: 10px;
    display: block;
}

.article-body figcaption {
    font-size: 14px;
    color: #777;
    margin-top: 10px;
    line-height: 1.55;
}

.article-body figure a {
    text-decoration: none !important;
}

/* Tabuľky */
.table-wrap {
    overflow-x: auto;
    margin: 18px 0 26px;
}

.article-body table {
    width: 100%;
    border-collapse: collapse;
    font-size: 15px;
    line-height: 1.5;
}

.article-body th,
.article-body td {
    border: 1px solid #e3e3e3;
    padding: 10px 12px;
    text-align: left;
    vertical-align: top;
}

.article-body th {
    background: #f5f5f5;
    color: #111;
    font-weight: 700;
}

/* Boxy */
.summary-box,
.callout {
    border-radius: 14px;
    padding: 22px 26px;
    margin: 26px 0;
}

.summary-box {
    background: #f5f7fb;
    border: 1px solid #e1e7f2;
}

.summary-box h2 {
    font-size: 19px;
    margin: 0 0 12px;
}

.summary-box ul {
    margin-bottom: 0;
}

.callout {
    background: #fff8e6;
    border-left: 4px solid #f0b400;
}

.callout.tip {
    background: #eefaf3;
    border-left-color: #1f9d55;
}

.callout.info {
    background: #eef7fd;
    border-left-color: #00a0e6;
}

.callout p:last-child,
.callout ul:last-child {
    margin-bottom: 0;
}

.callout strong:first-child {
    display: block;
    margin-bottom: 4px;
    color: #111;
}

/* Obsah */
.toc {
    border: 1px solid #e6e6e6;
    border-radius: 14px;
    padding: 20px 26px;
    margin: 28px 0;
}

.toc strong {
    display: block;
    font-family: 'Montserrat', sans-serif;
    margin-bottom: 8px;
    color: #111;
}

.toc ol {
    margin: 0;
    padding-left: 1.3em;
}

.toc li {
    margin-bottom: 3px;
}

.toc a {
    color: #333 !important;
}

/* Tok dát */
.flow {
    display: flex;
    align-items: stretch;
    gap: 6px;
    margin: 22px 0 28px;
}

.flow-step {
    flex: 1 1 0;
    min-width: 0;
    background: #111318;
    color: #fff;
    border-radius: 12px;
    padding: 16px 8px;
    text-align: center;
    font-size: 13px;
    line-height: 1.45;
}

.flow-step i {
    display: block;
    font-size: 28px;
    color: #00bfff;
    margin-bottom: 4px;
}

.flow-step b {
    display: block;
    font-family: 'Montserrat', sans-serif;
    font-size: 15px;
    margin-bottom: 4px;
}

.flow-step span {
    color: rgba(255, 255, 255, 0.7);
}

.flow-arrow {
    align-self: center;
    flex: 0 0 auto;
    color: #999;
    font-size: 18px;
}

@media (max-width: 767.98px) {
    .flow {
        flex-direction: column;
    }

    .flow-step {
        flex: 0 0 auto;
        font-size: 14px;
    }

    .flow-arrow {
        transform: rotate(90deg);
    }
}

/* Kroky */
.steps {
    counter-reset: step;
    list-style: none;
    padding-left: 0 !important;
}

.steps > li {
    position: relative;
    padding-left: 48px;
    margin-bottom: 14px;
}

.steps > li::before {
    counter-increment: step;
    content: counter(step);
    position: absolute;
    left: 0;
    top: 2px;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #000;
    color: #fff;
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    font-size: 15px;
    line-height: 32px;
    text-align: center;
}

/* FAQ */
.faq details {
    border: 1px solid #e6e6e6;
    border-radius: 12px;
    padding: 0 20px;
    margin-bottom: 10px;
}

.faq summary {
    cursor: pointer;
    font-weight: 700;
    color: #111;
    padding: 15px 0;
    list-style-position: outside;
}

.faq details[open] summary {
    border-bottom: 1px solid #eee;
    margin-bottom: 12px;
}

.faq details > p:last-child {
    padding-bottom: 6px;
}

/* Stiahnutie a CTA */
.download-box {
    background: #f5f7fb;
    border: 1px solid #e1e7f2;
    border-radius: 16px;
    padding: 28px 30px;
    margin: 30px 0;
}

.download-box h2 {
    margin-top: 0;
}

.download-item {
    display: flex;
    align-items: center;
    gap: 16px;
    background: #fff;
    border: 1px solid #e3e3e3;
    border-radius: 12px;
    padding: 14px 18px;
    margin-top: 12px;
    color: #111 !important;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.download-item:hover {
    border-color: #999;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.06);
}

.download-item i {
    font-size: 34px;
    color: #1d6f42;
}

.download-item.pq i {
    color: #555;
}

.download-item span {
    display: block;
    font-size: 14px;
    color: #777;
}

.download-item .dl {
    margin-left: auto;
    font-size: 26px;
    color: #000;
}

.cta-box {
    background: #111318;
    color: #fff;
    border-radius: 18px;
    padding: 36px 34px;
    margin: 36px 0 20px;
    position: relative;
    overflow: hidden;
}

.cta-box::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse 420px 240px at 100% 100%, rgba(180, 0, 255, 0.25), transparent 70%),
        radial-gradient(ellipse 420px 240px at 0% 0%, rgba(0, 160, 255, 0.18), transparent 70%);
    pointer-events: none;
}

.cta-box > * {
    position: relative;
}

.cta-box h2 {
    color: #fff;
    margin-top: 0;
}

.cta-box p,
.cta-box li {
    color: rgba(255, 255, 255, 0.85);
}

.cta-box .btn {
    margin: 8px 10px 0 0;
}

.article-body .cta-box a:not(.btn) {
    color: #fff;
}

/* ── Päta (rovnaká ako na hlavnej stránke) ── */
.footer {
    font-size: 14px;
    background-color: #dddddd;
    color: #444;
    margin-top: 40px;
}

.footer h6 {
    font-weight: bold;
    font-size: 15px;
    margin-bottom: 12px;
    color: #333;
}

.footer a {
    color: #555;
    text-decoration: none;
}

.footer a:hover {
    text-decoration: underline;
    color: #000;
}

@media (max-width: 767.98px) {
    .footer .row > div {
        margin-bottom: 1.5rem;
    }
}
