﻿/* Theme via CSS variables (overridden from Site.Master.cs) */
:root {
    --brand-primary: #0d6efd; /* fallback */
    --brand-secondary: #6610f2; /* fallback */
    --hero-image: url('https://images.unsplash.com/photo-1524504388940-b1c1722653e1?auto=format&fit=crop&w=2000&q=80');
    --imax-muted: #6c757d;
    --imax-bg: #f8f9fa;
    --imax-card-radius: 14px;
}

html, body {
    height: 100%
}

body {
    font-family: system-ui,-apple-system,"Segoe UI",Roboto,Ubuntu,"Helvetica Neue",Arial,"Noto Sans","Liberation Sans",sans-serif;
    background: #fff;
    color: #212529
}

a {
    text-decoration: none
}

    a:hover {
        text-decoration: underline
    }


/* Navbar */
.navbar-brand {
    font-weight: 800;
    color: var(--brand-primary) !important
}

.nav-link {
    font-weight: 500
}

.navbar .dropdown-menu {
    max-height: 60vh;
    overflow: auto
}

.dropdown-menu-kategorie {
    min-width: 280px
}


/* Hero (background controlled by --hero-image) */
.hero {
    background: linear-gradient(180deg,rgba(0,0,0,.55),rgba(0,0,0,.2)), var(--hero-image) center/cover no-repeat;
    color: #fff;
    padding: 4rem 0
}

    .hero h1 {
        font-weight: 800
    }

    .hero p {
        opacity: .95
    }


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

.article-card {
    background: #fff;
    border-radius: var(--imax-card-radius);
    overflow: hidden;
    box-shadow: 0 1px 2px rgba(0,0,0,.04),0 10px 30px -18px rgba(0,0,0,.25);
    transition: transform .2s ease,box-shadow .2s ease;
    padding-bottom: .75rem
}

    .article-card:hover {
        transform: translateY(-3px);
        box-shadow: 0 4px 10px rgba(0,0,0,.06),0 18px 50px -18px rgba(0,0,0,.3)
    }

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

.article-title {
    display: block;
    font-weight: 700;
    font-size: 1.05rem;
    line-height: 1.25;
    margin: .6rem .9rem .25rem;
    color: #212529
}

    .article-title:hover {
        text-decoration: underline
    }

.article-card a[id$="lnkKategoria"] {
    display: inline-block;
    margin: .25rem .9rem 0;
    color: var(--imax-muted);
    font-size: .85rem
}


/* List group (stream) */
.list-group {
    border-radius: 12px;
    overflow: hidden
}

.list-group-item {
    padding: 1.25rem 1rem
}

.list-group-item-line {
    border-bottom: 1px solid rgba(0,0,0,.06)
}

.list-group-item img.img-thumbnail {
    border-radius: 12px;
    border: 0;
    box-shadow: 0 2px 10px rgba(0,0,0,.08)
}

.list-group-item-heading a {
    color: #0b132b
}

    .list-group-item-heading a:hover {
        text-decoration: underline
    }

.lead {
    color: #fff;
    font-weight:600;
}


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

    .pages a {
        display: inline-block;
        margin: .2rem;
        border: 1px solid rgba(0,0,0,.12);
        padding: .45rem .75rem;
        border-radius: 10px;
        color: #333
    }

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


/* Utilities */
.badge-cat {
    font-size: .75rem;
    text-transform: uppercase;
    letter-spacing: .04em;
    background: #f1f3f5;
    color: #495057;
    border-radius: 999px;
    padding: .25rem .5rem;
    margin: .6rem .9rem .25rem .6rem;
}

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


/* Detail */
.post-header h1 {
    font-weight: 800;
    margin-bottom: .25rem
}

.post-cover {
    width: 100%;
    max-height: 460px;
    object-fit: cover;
    border-radius: 16px
}

.post-content {
    font-size: 1.05rem;
    line-height: 1.7
}

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


/* Category */
.category-header {
    background: var(--imax-bg);
    border: 1px solid #e9ecef;
    border-radius: 14px;
    padding: 1rem 1.25rem;
    margin: 1rem 0
}


/* Footer */
.site-footer {
    background: #f8f9fa
}


/* Responsive */
@media (max-width:576px) {
    .article-image {
        height: 180px
    }
}
