/*!
Theme Name: Blackline Report
Theme URI: https://monoblack.studio
Author: MonoBlack Studio
Author URI: https://monoblack.studio
Description: Modernes News & Magazin Theme mit Performance-Focus und flexiblem Widget-Footer
Version: 1.0.2
Requires at least: 5.9
Requires PHP: 7.4
Text Domain: blackline-report
Domain Path: /languages
License: GPL v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
*/

/* ===== CSS-RESET & BASE ===== */
:root {
    --accent: #003d82;
    --nav-hover: #FFC107;
    --light-bg: #f5f5f5;
    --border: #e0e0e0;
    --text-primary: #1a1a1a;
    --text-secondary: #555555;
    --text-muted: #888888;
}

*,*::before,*::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif; background: #fff; color: var(--text-primary); line-height: 1.6; -webkit-font-smoothing: antialiased; }

a { color: var(--accent); text-decoration: none; transition: color 0.3s ease; }
a:hover { color: var(--accent); opacity: 0.8; }

h1,h2,h3,h4,h5,h6 { font-weight: 600; line-height: 1.2; }
h1 { font-size: 42px; }
h2 { font-size: 32px; }
h3 { font-size: 24px; }

p { margin-bottom: 16px; }
img { max-width: 100%; height: auto; display: block; }
ul,ol { margin-left: 20px; margin-bottom: 16px; }
li { margin-bottom: 6px; }

/* ===== CONTAINER ===== */
.container { max-width: 1290px; margin: 0 auto; padding: 0 15px; }

/* ===== HEADER ===== */
.vz-header {
    background: #fff;
    border-bottom: 3px solid var(--accent);
    padding: 0;
    position: sticky;
    top: 0;
    z-index: 100;
}

.vz-header-inner {
    max-width: 1290px;
    margin: 0 auto;
    padding: 16px 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}

.vz-branding {
    flex-shrink: 0;
    display: flex;
    align-items: center;
}

.vz-branding img {
    height: 48px;
    width: auto;
    transition: transform 0.3s ease;
}

.vz-branding img:hover {
    transform: scale(1.05);
}

.vz-site-title {
    font-weight: 600;
    font-size: 16px;
    color: var(--accent);
}

/* ===== DESKTOP NAV & SEARCH ===== */
.vz-header-desktop {
    display: flex;
    align-items: center;
    gap: 40px;
    flex: 1;
    justify-content: center;
}

.vz-nav {
    display: flex;
    justify-content: center;
}

.vz-nav-menu {
    display: flex;
    gap: 40px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.vz-nav-menu > li {
    position: relative;
}

.vz-nav-menu a {
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 6px 0;
    position: relative;
    display: block;
    color: var(--text-primary);
    transition: color 0.3s ease;
}

.vz-nav-menu a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--nav-hover);
    transition: width 0.3s ease;
}

.vz-nav-menu a:hover {
    color: var(--nav-hover) !important;
}

.vz-nav-menu a:hover::after {
    width: 100% !important;
}

/* ACTIVE LINK - STARK MARKIERT! */
.vz-nav-menu a.current-menu-item {
    color: var(--nav-hover) !important;
    font-weight: 700 !important;
}

.vz-nav-menu a.current-menu-item::after {
    width: 100% !important;
    background: var(--nav-hover) !important;
}

.vz-nav-menu > li.current-menu-item > a {
    color: var(--nav-hover) !important;
    font-weight: 700 !important;
}

.vz-nav-menu > li.current-menu-item > a::after {
    width: 100% !important;
    background: var(--nav-hover) !important;
}

/* ===== DROPDOWN MENU ===== */
.vz-nav-menu ul {
    position: absolute;
    top: 100%;
    left: 0;
    background: #fff;
    border: 1px solid var(--border);
    border-top: 3px solid var(--accent);
    list-style: none;
    margin: 8px 0 0 0;
    padding: 12px 0;
    min-width: 200px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 999;
}

.vz-nav-menu > li:hover > ul {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.vz-nav-menu ul li {
    margin: 0;
}

.vz-nav-menu ul a {
    font-size: 12px;
    text-transform: none;
    letter-spacing: normal;
    padding: 12px 20px;
    color: var(--text-primary);
}

.vz-nav-menu ul a::after {
    display: none;
}

.vz-nav-menu ul a:hover {
    background: var(--light-bg);
    color: var(--accent);
}

/* ===== SEARCH ===== */
.vz-search-container {
    flex-shrink: 0;
}

.vz-search-form {
    display: flex;
    gap: 0;
}

.vz-search-box {
    width: 160px;
    padding: 10px 14px;
    border: 1.5px solid var(--border);
    border-radius: 50px 0 0 50px;
    font-size: 12px;
    background: var(--light-bg);
    transition: all 0.3s ease;
    font-family: inherit;
}

.vz-search-box:focus {
    outline: none;
    border-color: var(--accent);
    background: #fff;
}

.vz-search-btn {
    padding: 10px 14px;
    border: 1.5px solid var(--border);
    border-radius: 0 50px 50px 0;
    background: var(--light-bg);
    color: var(--accent);
    cursor: pointer;
    border-left: none;
    transition: all 0.3s ease;
    font-size: 12px;
}

.vz-search-btn:hover {
    background: var(--accent);
    color: #fff;
    border-color: var(--accent);
}

/* ===== HAMBURGER MENU ===== */
.vz-hamburger {
    display: none;
    flex-direction: column;
    gap: 6px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1001;
}

.vz-hamburger span {
    width: 24px;
    height: 2px;
    background: var(--accent);
    transition: all 0.3s ease;
    display: block;
}

.vz-hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(10px, 10px);
}

.vz-hamburger.active span:nth-child(2) {
    opacity: 0;
}

.vz-hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(9px, -9px);
}

/* ===== MOBILE MENU OVERLAY ===== */
.vz-mobile-menu {
    position: fixed;
    top: 70px;
    left: -100%;
    width: 100%;
    height: calc(100vh - 70px);
    background: #fff;
    z-index: 1000;
    transition: left 0.3s ease;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
}

.vz-mobile-menu.active {
    left: 0;
}

.vz-mobile-menu-header {
    padding: 16px;
    border-bottom: 1px solid var(--border);
    display: flex;
    justify-content: flex-end;
}

.vz-menu-close {
    background: none;
    border: none;
    font-size: 24px;
    color: var(--accent);
    cursor: pointer;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.vz-mobile-nav {
    flex: 1;
    padding: 0;
}

.vz-mobile-nav-menu {
    list-style: none;
    margin: 0;
    padding: 0;
}

.vz-mobile-nav-menu > li {
    border-bottom: 1px solid var(--border);
}

.vz-mobile-nav-menu a {
    display: block;
    padding: 16px 20px;
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--text-primary);
    transition: all 0.3s ease;
}

.vz-mobile-nav-menu a:hover {
    background: var(--light-bg);
    color: var(--accent);
}

/* ACTIVE LINK - Mobile */
.vz-mobile-nav-menu a.current-menu-item {
    color: var(--nav-hover) !important;
    background: rgba(0, 61, 130, 0.05);
    font-weight: 700 !important;
    border-left: 3px solid var(--nav-hover);
    padding-left: 17px;
}

/* Dropdown in Mobile */
.vz-mobile-nav-menu ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.vz-mobile-nav-menu ul li {
    margin: 0;
    border: none;
}

.vz-mobile-nav-menu ul a {
    padding: 12px 20px 12px 40px;
    font-size: 12px;
    text-transform: none;
    letter-spacing: normal;
}

/* ===== MOBILE SEARCH ===== */
.vz-mobile-search-container {
    padding: 16px;
    border-top: 1px solid var(--border);
    margin-top: auto;
}

.vz-mobile-search-container .vz-search-form {
    width: 100%;
}

.vz-mobile-search-container .vz-search-box {
    width: calc(100% - 40px);
}

/* ===== MAIN ===== */
main { min-height: calc(100vh - 200px); }

/* ===== HERO/HOME ===== */
.vz-hero-section { padding: 40px 15px; max-width: 1290px; margin: 0 auto; display: grid; grid-template-columns: 1.5fr 1fr; gap: 32px; align-items: start; }
.vz-hero-article { background: #fff; border: 2px solid var(--border); border-radius: 8px; overflow: hidden; transition: all 0.4s cubic-bezier(0.34,1.56,0.64,1); }
.vz-hero-article:hover { transform: translateY(-6px); border-color: var(--accent); box-shadow: 0 12px 30px rgba(0,61,130,0.15); }
.vz-hero-image { width: 100%; height: 300px; background: linear-gradient(135deg, var(--accent) 0%, #0052a3 100%); overflow: hidden; }
.vz-hero-image img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease; }
.vz-hero-article:hover .vz-hero-image img { transform: scale(1.08); }
.vz-hero-content { padding: 32px; }
.vz-category-tag { display: inline-block; font-size: 9px; font-weight: 700; color: #fff; background: var(--accent); padding: 6px 12px; border-radius: 4px; text-transform: uppercase; letter-spacing: 0.5px; margin-bottom: 12px; }
.vz-hero-content h1 { font-size: 32px; margin-bottom: 12px; }
.vz-hero-meta { font-size: 11px; color: var(--text-muted); display: flex; gap: 16px; }
.vz-hero-meta span { display: flex; align-items: center; gap: 6px; }

.vz-sidebar { background: var(--light-bg); border-radius: 8px; padding: 28px; border: 1px solid var(--border); height: fit-content; }
.vz-sidebar h2 { font-size: 18px; margin-bottom: 16px; padding-bottom: 12px; border-bottom: 2px solid var(--accent); }
.vz-sidebar-widget { margin-bottom: 24px; }
.vz-sidebar-widget:last-child { margin-bottom: 0; }
.vz-sidebar-widget h3 { font-size: 14px; margin-bottom: 12px; }
.vz-sidebar-widget ul { list-style: none; margin: 0; padding: 0; }
.vz-sidebar-widget li { padding: 8px 0; border-bottom: 1px solid rgba(0,61,130,0.1); }
.vz-sidebar-widget li:last-child { border-bottom: none; }
.vz-sidebar-widget a { font-size: 12px; transition: all 0.3s ease; }
.vz-sidebar-widget a:hover { padding-left: 6px; }

/* ===== ARTICLES GRID ===== */
.vz-articles-section { padding: 48px 15px; max-width: 1290px; margin: 0 auto; }
.vz-section-header { display: flex; align-items: center; margin-bottom: 32px; padding-bottom: 16px; border-bottom: 2px solid var(--accent); }
.vz-section-header h2 { margin: 0; font-size: 28px; }

.vz-articles-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(340px, 1fr)); gap: 24px; margin-bottom: 32px; }

.vz-article-card { background: #fff; border: 1px solid var(--border); border-radius: 8px; overflow: hidden; transition: all 0.4s cubic-bezier(0.34,1.56,0.64,1); display: flex; flex-direction: column; height: 100%; text-decoration: none; color: inherit; }
.vz-article-card:hover { border-color: var(--accent); transform: translateY(-8px); box-shadow: 0 16px 32px rgba(0,61,130,0.12); }

.vz-article-card-image { width: 100%; height: 200px; background: linear-gradient(135deg, var(--accent) 0%, #0052a3 100%); overflow: hidden; }
.vz-article-card-image img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.vz-article-card:hover .vz-article-card-image img { transform: scale(1.1); }

.vz-article-card-content { padding: 20px; flex: 1; display: flex; flex-direction: column; }
.vz-article-card-title { font-size: 16px; margin-bottom: 8px; line-height: 1.3; flex: 1; }
.vz-article-card-excerpt { font-size: 13px; color: var(--text-secondary); margin-bottom: 12px; line-height: 1.5; }

.vz-article-card-footer { margin-top: auto; padding-top: 12px; border-top: 1px solid var(--border); }
.vz-article-card-meta { font-size: 10px; color: var(--text-muted); display: flex; gap: 12px; flex-wrap: wrap; }
.vz-article-card-meta span { display: flex; align-items: center; gap: 4px; }

/* ===== PAGINATION ===== */
.vz-pagination { display: flex; gap: 12px; justify-content: center; margin: 32px 0; flex-wrap: wrap; }
.vz-pagination ul { list-style: none; display: flex; gap: 12px; margin: 0; padding: 0; flex-wrap: wrap; justify-content: center; }
.vz-pagination a,
.vz-pagination span { padding: 10px 14px; border: 1px solid var(--border); background: #fff; color: var(--text-primary); border-radius: 6px; font-size: 12px; font-weight: 600; text-transform: uppercase; transition: all 0.3s ease; cursor: pointer; }
.vz-pagination a:hover { background: var(--accent); color: #fff; border-color: var(--accent); }
.vz-pagination .current { background: var(--accent); color: #fff; border-color: var(--accent); }

/* ===== SINGLE POST ===== */
.vz-single-main { padding: 32px 15px; }
.vz-single-article { max-width: 900px; margin: 0 auto; padding: 32px 0; }
.vz-breadcrumb { font-size: 11px; color: var(--text-muted); margin-bottom: 20px; }
.vz-single-hero-image { width: 100%; height: 380px; background: linear-gradient(135deg, var(--accent) 0%, #0052a3 100%); border-radius: 8px; margin-bottom: 32px; overflow: hidden; }
.vz-single-hero-image img { width: 100%; height: 100%; object-fit: cover; }

.vz-single-article-meta { font-size: 12px; color: var(--text-secondary); padding: 16px 0; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); margin-bottom: 28px; display: flex; gap: 20px; flex-wrap: wrap; }
.vz-single-article-meta span { display: flex; align-items: center; gap: 6px; }

.vz-article-content { font-size: 15px; line-height: 1.85; margin-bottom: 28px; }
.vz-article-content h2 { font-size: 22px; margin: 32px 0 16px 0; }
.vz-article-content img { max-width: 100%; margin: 28px 0; border-radius: 8px; }

.vz-author-bio { background: var(--light-bg); padding: 24px; border-radius: 8px; margin-bottom: 32px; display: flex; align-items: center; gap: 16px; border: 1px solid var(--border); transition: all 0.3s ease; }
.vz-author-bio:hover { border-color: var(--accent); box-shadow: 0 6px 20px rgba(0,61,130,0.1); }
.vz-author-avatar { width: 56px; height: 56px; border-radius: 50%; background: linear-gradient(135deg, var(--accent), #0052a3); display: flex; align-items: center; justify-content: center; color: #fff; font-weight: 600; flex-shrink: 0; }

/* ===== TAGS/SCHLAGWÖRTER ===== */
.vz-tags-section {
    padding: 24px 0;
    margin-bottom: 32px;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.vz-tags-list {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.vz-tag {
    display: inline-block;
    padding: 8px 16px;
    background: rgba(0, 61, 130, 0.08);
    border: 1px solid var(--accent);
    border-radius: 20px;
    font-size: 12px;
    color: var(--accent);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    text-decoration: none;
}

.vz-tag:hover {
    background: var(--accent);
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 61, 130, 0.2);
}

.vz-share-section { padding: 16px 0; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); margin-bottom: 32px; display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }
.vz-share-button { padding: 8px 14px; border: 1.5px solid var(--border); background: transparent; border-radius: 6px; font-size: 11px; font-weight: 600; cursor: pointer; transition: all 0.3s ease; text-transform: uppercase; display: flex; align-items: center; gap: 6px; }
.vz-share-button:hover { border-color: var(--accent); color: var(--accent); background: var(--light-bg); }

.vz-related-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; }
.vz-related-card { padding: 20px; background: var(--light-bg); border-radius: 8px; border: 1px solid var(--border); text-decoration: none; color: inherit; transition: all 0.3s ease; }
.vz-related-card:hover { border-color: var(--accent); transform: translateY(-3px); box-shadow: 0 6px 16px rgba(0,61,130,0.1); }
.vz-related-title { font-size: 15px; margin: 8px 0; font-weight: 600; line-height: 1.3; }

/* ===== ARCHIVE/CATEGORY ===== */
.vz-archive-main { padding: 60px 15px; }
.vz-archive-header { text-align: center; margin-bottom: 60px; }
.vz-archive-header h1 { font-size: 42px; margin-bottom: 16px; }
.vz-archive-header p { font-size: 16px; color: var(--text-secondary); }

/* ===== ARCHIVE LIST VIEW ===== */
.vz-list-view { max-width: 1290px; margin: 0 auto; padding: 40px 15px; }
.vz-list-item { display: grid; grid-template-columns: 280px 1fr; gap: 24px; margin-bottom: 32px; align-items: start; text-decoration: none; color: inherit; transition: all 0.3s ease; padding-bottom: 32px; border-bottom: 1px solid var(--border); }
.vz-list-item:hover { transform: translateX(8px); }
.vz-list-item:last-child { border-bottom: none; }
.vz-list-item-image { width: 280px; height: 180px; background: linear-gradient(135deg, var(--accent) 0%, #0052a3 100%); border-radius: 8px; overflow: hidden; flex-shrink: 0; }
.vz-list-item-image img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.vz-list-item:hover .vz-list-item-image img { transform: scale(1.1); }

.vz-list-item-content h3 { font-size: 20px; margin-bottom: 8px; line-height: 1.3; }
.vz-list-item-meta { font-size: 11px; color: var(--text-muted); margin-bottom: 12px; display: flex; gap: 16px; flex-wrap: wrap; }
.vz-list-item-excerpt { font-size: 14px; color: var(--text-secondary); line-height: 1.6; }

/* ===== FOOTER ===== */
.vz-footer { background: var(--accent); color: #fff; padding: 48px 15px 24px; margin-top: 60px; }
.vz-footer-container { max-width: 1290px; margin: 0 auto; }
.vz-footer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 36px; margin-bottom: 32px; }
.vz-footer-section h4 { color: #FFC107; margin-bottom: 12px; font-size: 14px; }
.vz-footer-section p,
.vz-footer-section a { font-size: 12px; color: rgba(255,255,255,0.8); }
.vz-footer-section a:hover { color: #FFC107; }
.vz-footer-section ul { list-style: none; margin: 0; padding: 0; }
.vz-footer-section li { margin-bottom: 8px; }

.vz-footer-bottom { text-align: center; font-size: 11px; color: rgba(255,255,255,0.6); }

/* ===== MOBILE ===== */
@media (max-width: 768px) {
    .vz-header-inner { gap: 12px; padding: 12px 15px; }
    
    .vz-header-desktop { display: none; }
    
    .vz-hamburger { display: flex; }
    
    .vz-hero-section { grid-template-columns: 1fr; gap: 24px; padding: 24px 15px; }
    .vz-hero-image { height: 220px; }
    
    .vz-articles-grid { grid-template-columns: 1fr; }
    
    .vz-list-item { grid-template-columns: 1fr; }
    .vz-list-item-image { width: 100%; height: 200px; }
    
    h1 { font-size: 28px; }
    h2 { font-size: 22px; }
    h3 { font-size: 18px; }
    
    .vz-single-hero-image { height: 240px; }
}

/* ===== PERFORMANCE ===== */
img[loading="lazy"] { background: var(--light-bg); }
