/* ============================================================
   GLAREAN MAGAZIN – COMPLETE MASTER STYLE (2026 REFINED)
   Einheitliche Sidebar-Typografie + konsistenter Button
   ============================================================ */

/* 1. TYPOGRAFIE & GRUNDLAGEN */
body, p, .entry-content {
    font-family: Palatino, "Palatino Linotype", "Book Antiqua", Georgia, serif !important;
    font-size: 19px !important;
    line-height: 1.7 !important;
    color: #1a1a1a !important;
}

h1, h2, h3 {
    font-family: Palatino, "Book Antiqua", Georgia, serif !important;
    line-height: 1.3 !important;
}

.entry-content h2 {
    margin-top: 35px !important; 
    margin-bottom: 15px !important;
}

figcaption, .wp-block-image figcaption, .wp-caption-text {
    font-style: italic !important;
    font-size: 17px !important; 
    line-height: 1.4 !important;
    margin-top: 8px !important;
    color: #1a1a1a !important;
}

a { text-decoration: none !important; }
a:hover { text-decoration: underline !important; }

.blog .entry-meta, .archive .entry-meta, .search .entry-meta, .nv-meta-list { 
    display: none !important; 
}
.single .entry-meta { display: block !important; }
.single .entry-content hr { display: none !important; }

/* 2. BRANDING */
.site-logo-text .inner-wrap, 
.site-title, 
.site-title a, 
.nv-title-tag a {
    font-size: 42px !important; 
    font-weight: bold !important;
    color: #e30000 !important; 
    line-height: 1.1 !important;
}

header .site-description,
.nv-site-description,
.site-description,
.header-description-wrap .site-description {
    font-size: 23px !important;
    color: #e30000 !important;
    margin-top: 10px !important;
    display: block !important;
    font-weight: normal !important;
    opacity: 1 !important;
    visibility: visible !important;
}

/* 3. LAYOUT */
@media (min-width: 992px) {
    .container, .neve-main > .container, .header-container {
        max-width: 1280px !important;
    }

    body.home .nv-content-wrap .row, 
    body.archive .nv-content-wrap .row, 
    body.tag .nv-content-wrap .row,
    body.single .nv-content-wrap .row,
    body.search .nv-content-wrap .row {
        display: flex !important;
        justify-content: space-between !important;
    }

    body.home .nv-sidebar-wrap, 
    body.archive .nv-sidebar-wrap, 
    body.tag .nv-sidebar-wrap,
    body.single .nv-sidebar-wrap,
    body.search .nv-sidebar-wrap {
        flex: 0 0 340px !important;
        max-width: 340px !important;
    }

    body.home .nv-index-posts, 
    body.archive .nv-index-posts, 
    body.tag .nv-index-posts,
    body.search .nv-index-posts,
    body.search-results .nv-index-posts,
    body.single .nv-content-wrap .nv-post-urls,
    body.single .nv-content-wrap .content-area {
        flex: 1 !important; 
        max-width: calc(100% - 340px) !important;
        padding-right: 45px !important;
    }
}

/* 4. SIDEBAR */
.widget { margin-bottom: 28px !important; }

/* Einheitliche Widget-Titel */
.widget-title,
.widget h2,
.widget h3 {
    font-family: Palatino, "Book Antiqua", Georgia, serif !important;
    font-size: 22px !important;
    line-height: 1.2 !important;
    font-weight: bold !important;
    letter-spacing: 0.5px !important;

    color: #2e7d32 !important;
    border-bottom: 1px solid #2e7d32 !important;

    margin-bottom: 12px !important;
    padding-bottom: 6px !important;
    text-transform: uppercase !important;
}

/* 5. SUPPORT */
.glarean-support {
    margin-top: 30px;
    margin-bottom: 35px !important; 
    padding-top: 20px;
    border-top: 2px solid #000;
    font-size: 16px;
    font-style: italic !important;
}

.glarean-support p {
    line-height: 1.3 !important;
    margin-bottom: 8px !important;
}

.glarean-support p:last-child {
    margin-bottom: 0 !important;
}

/* 6. TAG CLOUD & MOBILE */
.widget_tag_cloud a, .tagcloud a { font-size: 14px !important; }

@media (max-width: 991px) {
    .nv-sidebar-wrap { display: none !important; }
    body, p, .entry-content { font-size: 18px !important; }
    .site-logo-text .inner-wrap, .site-title a { font-size: 30px !important; }
    .nv-index-posts, .content-area { max-width: 100% !important; padding-right: 0 !important; }
}

/* 7. ABO-BUTTON */
.widget a.button,
.widget button,
.widget .wp-block-button__link,
.widget input[type="submit"] {
    background-color: #2e7d32 !important;
    color: #ffffff !important;
    border-color: #2e7d32 !important;

    font-family: Palatino, "Book Antiqua", Georgia, serif !important;
    font-size: 20px !important;
}

/* Hover */
.widget a.button:hover,
.widget button:hover,
.widget .wp-block-button__link:hover,
.widget input[type="submit"]:hover {
    background-color: #256628 !important;
    border-color: #256628 !important;
}