﻿:root {
    --brand-primary: #c85a8e;
    --brand-secondary: #7a3e65;
    --hero-image: url('https://images.unsplash.com/photo-1515886657613-9f3515b0c78f?auto=format&fit=crop&w=2000&q=80');
    --zk-text: #2f2430;
    --zk-muted: #7f6d78;
    --zk-bg: #fff9fc;
    --zk-soft: #f8edf3;
    --zk-soft-2: #f4e3ec;
    --zk-border: #ead7e2;
    --zk-card-radius: 18px;
    --zk-shadow: 0 10px 30px rgba(122, 62, 101, 0.10);
    --zk-shadow-hover: 0 18px 42px rgba(122, 62, 101, 0.16);
}

html, body {
    height: 100%;
}

body {
    font-family: system-ui,-apple-system,"Segoe UI",Roboto,Ubuntu,"Helvetica Neue",Arial,sans-serif;
    background: linear-gradient(180deg, #fffbfd 0%, #fff7fb 100%);
    color: var(--zk-text);
}

a {
    text-decoration: none;
    color: inherit;
}

    a:hover {
        text-decoration: underline;
    }

/* Navbar */
.navbar {
    background: rgba(255,255,255,.92) !important;
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(200, 90, 142, 0.08);
}

.navbar-brand {
    font-weight: 800;
    color: var(--brand-primary) !important;
    letter-spacing: .02em;
}

.nav-link {
    font-weight: 600;
    color: #5c4451 !important;
}

    .nav-link:hover,
    .nav-link:focus {
        color: var(--brand-primary) !important;
    }

.navbar .dropdown-menu {
    max-height: 60vh;
    overflow: auto;
    border: 1px solid var(--zk-border);
    border-radius: 16px;
    box-shadow: var(--zk-shadow);
    padding: 10px;
}

.dropdown-menu-kategorie {
    min-width: 300px;
    background: rgba(255,255,255,.98);
}

.kategoriapolozka {
    border-radius: 12px;
    padding: 10px 12px;
}

    .kategoriapolozka:hover {
        background: var(--zk-soft);
        text-decoration: none;
    }

/* Hero */
.hero {
    background:
        linear-gradient(180deg, rgba(72, 33, 58, .46), rgba(200, 90, 142, .20)),
        var(--hero-image) center 22% / cover no-repeat;
    color: #fff;
    padding: 5rem 0 4.5rem;
    min-height: 380px;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.hero .container {
    text-align: center;
    position: relative;
    z-index: 2;
}

.hero h1 {
    font-weight: 800;
    font-size: clamp(2.2rem, 5vw, 4.4rem);
    line-height: 1.08;
    margin-bottom: 1rem;
    text-align: center;
}

.hero p,
.hero .lead {
    opacity: .98;
    font-weight: 600;
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

/* Article grid */
.article-wrapper {
    margin-top: 2rem;
    margin-bottom: 2rem;
}

.article-card {
    background: rgba(255,255,255,.96);
    border: 1px solid rgba(200, 90, 142, 0.08);
    border-radius: var(--zk-card-radius);
    overflow: hidden;
    box-shadow: var(--zk-shadow);
    transition: transform .22s ease, box-shadow .22s ease;
    padding-bottom: .9rem;
}

    .article-card:hover {
        transform: translateY(-4px);
        box-shadow: var(--zk-shadow-hover);
    }

.article-image {
    display: block;
    width: 100%;
    height: 240px;
    object-fit: cover;
}

.article-title {
    display: block;
    font-weight: 750;
    font-size: 1.08rem;
    line-height: 1.3;
    margin: .8rem 1rem .35rem;
    color: var(--zk-text);
}

    .article-title:hover {
        color: var(--brand-primary);
        text-decoration: none;
    }

.article-card a[id$="lnkKategoria"] {
    display: inline-block;
    margin: .2rem 1rem 0;
    color: var(--zk-muted);
    font-size: .86rem;
    font-weight: 600;
}

/* Stream */
.list-group {
    border-radius: 16px;
    overflow: hidden;
    background: transparent;
}

.list-group-item {
    padding: 1.25rem 1rem;
    border-color: rgba(200, 90, 142, .10);
    background: rgba(255,255,255,.85);
}

.list-group-item-line {
    border-bottom: 1px solid rgba(200, 90, 142, .10);
}

.list-group-item img.img-thumbnail {
    border-radius: 14px;
    border: 0;
    box-shadow: 0 6px 18px rgba(122, 62, 101, 0.10);
}

.list-group-item-heading a {
    color: var(--zk-text);
    font-weight: 700;
}

    .list-group-item-heading a:hover {
        color: var(--brand-primary);
        text-decoration: none;
    }

/* Pagination */
.pages {
    text-align: center;
    margin: 2rem 0;
}

    .pages a {
        display: inline-block;
        margin: .24rem;
        border: 1px solid var(--zk-border);
        background: #fff;
        padding: .5rem .8rem;
        border-radius: 999px;
        color: #6a4d5d;
        font-weight: 600;
    }

        .pages a.active,
        .pages a:hover {
            background: var(--brand-primary);
            color: #fff;
            border-color: var(--brand-primary);
            text-decoration: none;
        }

/* Utilities */
.badge-cat {
    font-size: .74rem;
    text-transform: uppercase;
    letter-spacing: .05em;
    background: var(--zk-soft);
    color: #7a3e65;
    border-radius: 999px;
    padding: .3rem .58rem;
    margin: .6rem 1rem .25rem;
}

.article-meta {
    font-size: .86rem;
    color: var(--zk-muted);
}

/* Detail */
.post-header h1 {
    font-weight: 850;
    margin-bottom: .3rem;
    color: var(--zk-text);
}

.post-cover {
    width: 100%;
    max-height: 500px;
    object-fit: cover;
    border-radius: 20px;
    box-shadow: var(--zk-shadow);
}

.post-content {
    font-size: 1.06rem;
    line-height: 1.78;
    color: #3f3340;
}

    .post-content h2,
    .post-content h3 {
        color: #5a3048;
        margin-top: 1.6em;
    }

    .post-content img {
        max-width: 100%;
        border-radius: 14px;
    }

/* Category */
.category-header,
.category-cloud-box,
.article-share-box,
.article-tags-box {
    background: rgba(255,255,255,.96);
    border: 1px solid var(--zk-border);
    border-radius: 18px;
    box-shadow: var(--zk-shadow);
}

.category-header {
    padding: 1.1rem 1.25rem;
    margin: 1rem 0;
}

.subcat-wrap {
    margin-top: 14px;
}

.subcat-title {
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .08em;
    color: var(--zk-muted);
    margin-bottom: 10px;
}

.subcat-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.subcat-item {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.subcat-chip {
    display: inline-flex;
    align-items: center;
    padding: 8px 14px;
    border-radius: 999px;
    background: #fff;
    border: 1px solid var(--zk-border);
    color: #624656;
    text-decoration: none;
    font-size: 14px;
    font-weight: 700;
    transition: all .2s ease;
}

    .subcat-chip:hover {
        background: var(--zk-soft);
        border-color: #d9b7c8;
        text-decoration: none;
    }

    .subcat-chip.active {
        background: var(--brand-primary);
        border-color: var(--brand-primary);
        color: #fff;
    }

.subcat-count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 24px;
    height: 24px;
    padding: 0 8px;
    border-radius: 999px;
    background: #f7e7ef;
    color: #7a3e65;
    font-size: 12px;
    font-weight: 800;
}

/* Breadcrumbs */
.article-breadcrumbs {
    margin: 6px 0 14px 0;
}

.breadcrumb-list {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.breadcrumb-item,
.breadcrumb-sep {
    font-size: 13px;
    line-height: 1.4;
}

    .breadcrumb-item a {
        color: var(--zk-muted);
        text-decoration: none;
        text-transform: uppercase;
        letter-spacing: .04em;
        font-weight: 700;
    }

        .breadcrumb-item a:hover {
            color: var(--brand-primary);
        }

    .breadcrumb-item.active {
        color: #9a8793;
        font-weight: 600;
    }

.breadcrumb-sep {
    color: #c0aab6;
}

/* Category cloud */
.category-cloud-box {
    padding: 26px 24px;
    width: 100%;
}

.category-cloud-header {
    margin-bottom: 18px;
}

.category-cloud-title {
    margin: 0 0 6px 0;
    font-size: 1.7rem;
    line-height: 1.2;
    font-weight: 850;
    color: #5a3048;
}

.category-cloud-perex {
    margin: 0;
    color: var(--zk-muted);
    font-size: .98rem;
}

.category-cloud-wrap {
    display: flex;
    flex-wrap: wrap;
    gap: 12px 14px;
    align-items: center;
}

.category-cloud-item {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.category-cloud-link {
    text-decoration: none;
    color: #624656;
    font-weight: 750;
    line-height: 1.15;
    transition: color .2s ease, transform .2s ease;
}

    .category-cloud-link:hover {
        color: var(--brand-primary);
        transform: translateY(-1px);
        text-decoration: none;
    }

.category-cloud-count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 22px;
    height: 22px;
    padding: 0 7px;
    border-radius: 999px;
    background: #f7e7ef;
    color: #7a3e65;
    font-size: 12px;
    font-weight: 800;
}

.cloud-size-1 {
    font-size: 1rem;
}

.cloud-size-2 {
    font-size: 1.12rem;
}

.cloud-size-3 {
    font-size: 1.28rem;
}

.cloud-size-4 {
    font-size: 1.48rem;
}

.cloud-size-5 {
    font-size: 1.72rem;
}

/* Share */
.article-share-box {
    margin: 32px 0 10px;
    padding: 18px 20px;
}

.article-share-title {
    font-size: 16px;
    font-weight: 800;
    margin-bottom: 12px;
    color: #5a3048;
}

.article-share-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.share-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    padding: 0 14px;
    border-radius: 12px;
    text-decoration: none;
    border: 1px solid var(--zk-border);
    background: #fff;
    color: #624656;
    font-size: 14px;
    font-weight: 700;
    transition: all .2s ease;
    cursor: pointer;
}

    .share-btn:hover {
        text-decoration: none;
        transform: translateY(-1px);
        box-shadow: 0 10px 24px rgba(122,62,101,.12);
        background: var(--zk-soft);
    }

.article-tags-box {
    padding: 18px 20px;
    background: rgba(255,255,255,.96);
}

.article-tags-title {
    font-weight: 800;
    margin-bottom: 12px;
    font-size: 1rem;
    color: #5a3048;
}

.article-tags-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.article-tag {
    display: inline-block;
    padding: 8px 14px;
    border-radius: 999px;
    background: var(--zk-soft);
    color: #624656;
    text-decoration: none;
    font-size: 0.95rem;
    line-height: 1.2;
    font-weight: 700;
}

    .article-tag:hover {
        background: var(--zk-soft-2);
        text-decoration: none;
    }

/* Footer */
.site-footer {
    background: linear-gradient(180deg, #6b3657 0%, #4f273f 100%);
    color: #f8edf3;
    padding: 40px 0 24px;
    margin-top: 52px;
}

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

        .site-footer a:hover {
            text-decoration: underline;
        }

.footer-brand {
    font-size: 1.12rem;
}

.footer-title {
    font-weight: 800;
    margin-bottom: 10px;
}

.footer-text {
    color: rgba(255,245,250,.88);
    line-height: 1.7;
}

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

    .footer-links li {
        margin-bottom: 8px;
    }

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,.16);
    color: rgba(255,245,250,.82);
    font-size: .95rem;
}

.footer-cookie-link {
    border-color: rgba(255,255,255,.35);
    color: #fff;
}

/* Cookies */
.cookie-banner {
    position: fixed;
    left: 16px;
    right: 16px;
    bottom: 16px;
    z-index: 9999;
    background: #5b2f49;
    color: #fff;
    border-radius: 18px;
    box-shadow: 0 16px 38px rgba(62, 25, 46, .28);
    padding: 18px;
}

.cookie-banner-inner {
    display: flex;
    gap: 18px;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.cookie-banner-text {
    flex: 1 1 520px;
    line-height: 1.6;
}

    .cookie-banner-text a {
        color: #fff;
        text-decoration: underline;
    }

.cookie-banner-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.cookie-settings-panel {
    position: fixed;
    inset: 0;
    background: rgba(49, 26, 39, .48);
    z-index: 10000;
    padding: 20px;
}

.cookie-settings-box {
    max-width: 760px;
    margin: 40px auto;
    background: #fff;
    color: var(--zk-text);
    border-radius: 20px;
    padding: 24px;
    box-shadow: 0 24px 50px rgba(62,25,46,.24);
}

.cookie-settings-header {
    font-size: 1.15rem;
    margin-bottom: 16px;
    color: #5a3048;
}

.cookie-setting-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 20px;
    padding: 14px 0;
    border-top: 1px solid #f0dce7;
}

    .cookie-setting-row:first-of-type {
        border-top: none;
    }

.cookie-setting-title {
    font-weight: 800;
    margin-bottom: 4px;
}

.cookie-setting-desc {
    color: #6b5a65;
    line-height: 1.55;
}

@media (max-width: 768px) {
    .article-image {
        height: 190px;
    }

    .category-cloud-box {
        padding: 20px 16px;
        border-radius: 16px;
    }

    .category-cloud-title {
        font-size: 1.35rem;
    }

    .cloud-size-1 {
        font-size: .95rem;
    }

    .cloud-size-2 {
        font-size: 1.02rem;
    }

    .cloud-size-3 {
        font-size: 1.12rem;
    }

    .cloud-size-4 {
        font-size: 1.22rem;
    }

    .cloud-size-5 {
        font-size: 1.34rem;
    }

    .cookie-banner {
        left: 10px;
        right: 10px;
        bottom: 10px;
        padding: 14px;
    }

    .cookie-settings-box {
        margin: 10px auto;
        padding: 18px;
    }

    .cookie-setting-row {
        flex-direction: column;
        gap: 10px;
    }
}
