/*
Theme Name: Nirvana Child
Template: nirvana
Description: Lutherischer Konvent im Rheinland - Custom Design
*/

/* ===== VARIABLES ===== */
:root {
    --gold: #b8922f;
    --gold-light: #d4af37;
    --gold-dark: #8a6d1f;
    --navy: #1a2744;
    --navy-light: #243352;
    --navy-dark: #0f1a2e;
    --cream: #f5f0e8;
    --cream-light: #faf7f2;
    --white: #ffffff;
    --text-dark: #1a1a1a;
    --text-muted: #5a5a5a;
    --font-display: 'Cormorant Garamond', Georgia, serif;
    --font-body: 'Source Sans 3', 'Segoe UI', sans-serif;
}

/* ===== NIRVANA OVERRIDES ===== */
body {
    font-family: var(--font-body) !important;
    color: var(--text-dark);
    background: var(--white);
}

#header-container,
#access,
#forbottom,
#colophon,
#toTop,
#topbar,
#footer,
#footer2,
#container,
#branding {
    display: none !important;
}

/* ===== HEADER ===== */
.lk-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 0 3rem;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: rgba(255, 255, 255, 0.97);
    backdrop-filter: blur(10px);
    box-shadow: 0 1px 0 rgba(0, 0, 0, 0.06);
    transition: all 0.3s ease;
}

.lk-header.scrolled {
    height: 65px;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.08);
}

.lk-logo {
    display: flex;
    align-items: center;
    gap: 1rem;
    text-decoration: none;
    color: var(--navy);
}

.lk-logo:hover {
    color: var(--navy);
}

.lk-logo-icon {
    width: 45px;
    height: 45px;
}

.lk-logo-text {
    font-family: var(--font-display);
    font-size: 1.1rem;
    font-weight: 600;
    line-height: 1.2;
    letter-spacing: 0.02em;
    text-transform: uppercase;
}

.lk-logo-text span {
    display: block;
    font-size: 0.7rem;
    font-weight: 400;
    letter-spacing: 0.15em;
    color: var(--gold);
}

.lk-nav {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.lk-nav a {
    font-family: var(--font-body);
    font-size: 0.85rem;
    font-weight: 500;
    text-decoration: none;
    color: var(--navy);
    letter-spacing: 0.04em;
    text-transform: uppercase;
    transition: color 0.3s ease;
    position: relative;
}

.lk-nav a:hover {
    color: var(--gold);
    background: none;
}

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

.lk-nav a:hover::after {
    width: 100%;
}

.lk-nav .lk-btn-nav {
    background: var(--navy);
    color: var(--white) !important;
    padding: 0.6rem 1.4rem;
    border-radius: 4px;
    font-size: 0.8rem;
    letter-spacing: 0.06em;
}

.lk-nav .lk-btn-nav:hover {
    background: var(--gold-dark);
}

.lk-nav .lk-btn-nav::after {
    display: none;
}

.lk-menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

.lk-menu-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--navy);
    margin: 5px 0;
    transition: all 0.3s ease;
}

/* ===== PAGE LAYOUT ===== */
.lk-page {
    max-width: 1400px;
    margin: 0 auto;
    padding: 2rem 3rem;
}

.lk-page-inner {
    display: flex;
    gap: 3rem;
    align-items: flex-start;
}

/* ===== SIDEBAR ===== */
.lk-sidebar {
    width: 240px;
    flex-shrink: 0;
    position: sticky;
    top: 100px;
}

.lk-sidebar-nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.lk-sidebar-nav ul li {
    margin: 0;
    padding: 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.lk-sidebar-nav ul li a {
    display: block;
    padding: 0.6rem 1rem;
    font-family: var(--font-body);
    font-size: 0.9rem;
    font-weight: 400;
    color: var(--text-dark);
    text-decoration: none;
    transition: all 0.2s ease;
    border-left: 3px solid transparent;
}

.lk-sidebar-nav ul li a:hover {
    color: var(--gold);
    background: var(--cream-light);
    border-left-color: var(--gold);
}

.lk-sidebar-nav ul li.active a {
    color: var(--gold-dark);
    font-weight: 600;
    border-left-color: var(--gold);
    background: var(--cream-light);
}

/* ===== MAIN CONTENT ===== */
.lk-content {
    flex: 1;
    min-width: 0;
}

.lk-page-title {
    font-family: var(--font-display) !important;
    font-size: 2.2rem !important;
    font-weight: 500 !important;
    font-style: italic;
    color: var(--navy) !important;
    margin: 0 0 0.5rem !important;
    line-height: 1.3;
}

.lk-page-divider {
    width: 60px;
    height: 3px;
    background: var(--gold);
    margin-bottom: 2rem;
}

.lk-entry-content {
    font-family: var(--font-body);
    font-size: 1rem;
    line-height: 1.8;
    color: var(--text-dark);
}

.lk-entry-content h1,
.lk-entry-content h2,
.lk-entry-content h3,
.lk-entry-content h4,
.lk-entry-content h5,
.lk-entry-content h6 {
    font-family: var(--font-display) !important;
    color: var(--navy) !important;
    font-weight: 500;
    margin-top: 2rem;
}

.lk-entry-content h2 {
    font-size: 1.6rem;
    font-style: italic;
}

.lk-entry-content h3 {
    font-size: 1.3rem;
}

.lk-entry-content a {
    color: var(--gold-dark);
    text-decoration: underline;
    text-decoration-color: rgba(184, 146, 47, 0.3);
    text-underline-offset: 3px;
    transition: all 0.2s ease;
}

.lk-entry-content a:hover {
    color: var(--gold);
    text-decoration-color: var(--gold);
}

.lk-entry-content img {
    margin: 10px 15px 10px 0;
    border-radius: 4px;
}

.lk-entry-content blockquote {
    border-left: 3px solid var(--gold);
    padding: 1rem 1.5rem;
    margin: 1.5rem 0;
    background: var(--cream-light);
    font-style: italic;
    font-family: var(--font-display);
    font-size: 1.1rem;
    color: var(--navy);
}

/* ===== SINGLE POST / PREDIGT ===== */
.lk-post-meta {
    font-family: var(--font-body);
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 0.5rem;
}

.lk-post-author {
    color: var(--gold-dark);
    font-weight: 500;
}

.lk-predigt-layout {
    display: flex;
    gap: 2rem;
    align-items: flex-start;
}

.lk-predigt-text {
    flex: 2;
    min-width: 0;
}

.lk-predigt-kommentare {
    flex: 1;
    min-width: 280px;
    position: sticky;
    top: 100px;
    background: var(--cream-light);
    padding: 1.5rem;
    border-left: 3px solid var(--gold);
    border-radius: 0 4px 4px 0;
}

.lk-predigt-kommentare h3,
.lk-predigt-kommentare #reply-title {
    font-family: var(--font-display) !important;
    font-size: 1.2rem !important;
    color: var(--navy) !important;
    margin-bottom: 1rem;
}

.lk-predigt-kommentare .logged-in-as,
.lk-predigt-kommentare .comment-notes {
    font-size: 0.8rem;
    color: var(--text-muted);
}

.lk-predigt-kommentare textarea {
    width: 100%;
    height: 100px;
    font-family: var(--font-body);
    font-size: 0.9rem;
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 4px;
    padding: 0.8rem;
}

.lk-predigt-kommentare input[type="submit"] {
    background: var(--gold);
    color: var(--white);
    border: none;
    padding: 0.6rem 1.5rem;
    font-family: var(--font-body);
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    border-radius: 4px;
    cursor: pointer;
    transition: background 0.3s ease;
}

.lk-predigt-kommentare input[type="submit"]:hover {
    background: var(--gold-dark);
}

/* Post Navigation */
.lk-post-navigation {
    display: flex;
    justify-content: space-between;
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(0, 0, 0, 0.06);
}

.lk-post-navigation a {
    color: var(--gold-dark);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.2s ease;
}

.lk-post-navigation a:hover {
    color: var(--gold);
}

/* ===== FOOTER ===== */
.lk-footer {
    background: var(--navy-dark);
    color: rgba(255, 255, 255, 0.7);
    padding: 4rem 3rem 2rem;
    margin-top: 4rem;
}

.lk-footer-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 3rem;
}

.lk-footer h4 {
    font-family: var(--font-display);
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--gold-light);
    margin: 0 0 1.2rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.lk-footer p {
    font-size: 0.9rem;
    line-height: 1.7;
    margin: 0 0 0.5rem;
}

.lk-footer a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-size: 0.9rem;
    display: block;
    margin-bottom: 0.5rem;
    transition: color 0.3s ease;
}

.lk-footer a:hover {
    color: var(--gold-light);
    background: none;
}

.lk-footer-bottom {
    max-width: 1200px;
    margin: 3rem auto 0;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.8rem;
}

.lk-footer-bottom a {
    display: inline;
    margin: 0 0.3rem;
}

/* ===== CATEGORY / ARCHIVE ===== */
.lk-entry-content .entry-title,
.lk-entry-content .entry-title a {
    font-family: var(--font-display) !important;
    color: var(--navy) !important;
    font-size: 1.4rem;
}

.lk-entry-content .entry-title a:hover {
    color: var(--gold) !important;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
    .lk-page {
        padding: 2rem 1.5rem;
    }

    .lk-page-inner {
        flex-direction: column;
    }

    .lk-sidebar {
        width: 100%;
        position: static;
    }

    .lk-sidebar-nav ul {
        display: flex;
        flex-wrap: wrap;
        gap: 0;
    }

    .lk-sidebar-nav ul li {
        border-bottom: none;
        border-right: 1px solid rgba(0, 0, 0, 0.06);
    }

    .lk-sidebar-nav ul li a {
        padding: 0.4rem 0.8rem;
        font-size: 0.8rem;
        border-left: none;
        border-bottom: 3px solid transparent;
    }

    .lk-sidebar-nav ul li a:hover,
    .lk-sidebar-nav ul li.active a {
        border-left-color: transparent;
        border-bottom-color: var(--gold);
    }

    .lk-predigt-layout {
        flex-direction: column;
    }

    .lk-predigt-kommentare {
        position: static;
        min-width: auto;
    }

    .lk-footer-inner {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .lk-header {
        padding: 0 1.5rem;
    }

    .lk-nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--white);
        flex-direction: column;
        padding: 1.5rem;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    }

    .lk-nav.active {
        display: flex;
    }

    .lk-menu-toggle {
        display: block;
    }

    .lk-page-title {
        font-size: 1.6rem !important;
    }

    .lk-sidebar-nav ul {
        flex-direction: column;
    }

    .lk-sidebar-nav ul li {
        border-right: none;
        border-bottom: 1px solid rgba(0, 0, 0, 0.06);
    }

    .lk-sidebar-nav ul li a {
        border-bottom: none;
        border-left: 3px solid transparent;
    }

    .lk-footer-inner {
        grid-template-columns: 1fr;
    }

    .lk-footer-bottom {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
}

/* ===== ADMIN BAR KORREKTUR ===== */
.admin-bar .lk-header {
    top: 32px;
}

@media (max-width: 782px) {
    .admin-bar .lk-header {
        top: 46px;
    }
}
/* Dropdown Menü Header */
.lk-nav-dropdown {
    position: relative;
}

.lk-nav-dropdown-content {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--white);
    min-width: 220px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    border-radius: 4px;
    padding: 0.5rem 0;
    z-index: 1001;
}

.lk-nav-dropdown:hover .lk-nav-dropdown-content {
    display: block;
}

.lk-nav-dropdown-content a {
    display: block !important;
    padding: 0.5rem 1.2rem !important;
    font-size: 0.85rem !important;
    white-space: nowrap;
}

.lk-nav-dropdown-content a:hover {
    background: var(--cream-light);
}

.lk-nav-dropdown-content a::after {
    display: none !important;
}

/* Kategorieseite */
.lk-category-post {
    padding: 1.5rem 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.lk-category-post-title {
    font-family: var(--font-display) !important;
    font-size: 1.4rem !important;
    margin: 0 0 0.3rem !important;
}

.lk-category-post-title a {
    color: var(--navy) !important;
    text-decoration: none !important;
}

.lk-category-post-title a:hover {
    color: var(--gold) !important;
}

.lk-category-post-excerpt {
    font-size: 0.95rem;
    color: var(--text-muted);
    line-height: 1.6;
    margin: 0.5rem 0;
}

.lk-weiterlesen {
    color: var(--gold-dark) !important;
    text-decoration: none !important;
    font-size: 0.9rem;
    font-weight: 500;
}

.lk-weiterlesen:hover {
    color: var(--gold) !important;
}