/* ============================================================
   GLAREAN MAGAZIN – FINAL STYLE (CLEAN VERSION)
============================================================ */


/* ============================================================
   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;
}


/* ============================================================
   2. META-DATEN AUSBLENDEN
============================================================ */

.blog .entry-meta,
.archive .entry-meta,
.search .entry-meta,
.nv-meta-list,
.single .entry-meta,
.single .nv-meta-list,
.single .posted-on,
.single .entry-date {
    display: none !important;
}

.single .entry-content hr {
    display: none !important;
}


/* ============================================================
   3. 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;
}


/* ============================================================
   4. 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;
    }
}


/* ============================================================
   5. SIDEBAR
============================================================ */

.widget {
    margin-bottom: 28px !important;
}

.widget-title,
.widget h2,
.widget h3 {
    font-family: Palatino, "Book Antiqua", Georgia, serif !important;
    font-size: 22px !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;
}


/* ============================================================
   6. MOBILE
============================================================ */

@media (max-width: 991px) {

    .nv-sidebar-wrap {
        display: none !important;
    }

    body,
    p,
    .entry-content {
        font-size: 18px !important;
    }
}


/* ============================================================
   7. BUTTONS
============================================================ */

.widget a.button,
.widget button,
.widget .wp-block-button__link,
.widget input[type="submit"] {
    background-color: #2e7d32 !important;
    color: #ffffff !important;
    font-family: Palatino, serif !important;
    font-size: 20px !important;
}


/* ============================================================
   8. ARTIKEL-TITEL
============================================================ */

.single h1.entry-title {
    color: #111111 !important;
    font-size: 36px !important;
    line-height: 1.25 !important;
    margin-bottom: 6px !important;
}


/* ============================================================
   9. UNTERTITEL
============================================================ */

.single .artikel-untertitel {
    font-size: 28px !important;
    line-height: 1.3 !important;
    color: #666 !important;

    text-align: center !important;

    margin-top: 14px !important;
    margin-bottom: 20px !important;

    font-style: italic !important;
    font-weight: normal !important;

    max-width: 900px;
    margin-left: auto;
    margin-right: auto;

    letter-spacing: 0.2px;
    opacity: 0.9;
}


/* ============================================================
   10. ARTIKEL-META
============================================================ */

.single .entry-header .artikel-meta,
.single .artikel-meta {
    text-align: center !important;
    display: block;
    width: 100%;
}

.artikel-meta {
    font-size: 15px;
    color: #666;
    margin-bottom: 26px;
    letter-spacing: 0.2px;
}

.artikel-meta em {
    font-style: italic;
}


/* ============================================================
   11. EDITORIAL-TRENNLINIE
============================================================ */

.single .artikel-meta::after {
    content: "";
    display: block;
    width: 60px;
    height: 1px;
    background: #ccc;
    margin: 18px auto 0 auto;
}


/* ============================================================
   12. RUBRIK ÜBER TITEL
============================================================ */

.artikel-rubrik {
    text-align: center;
    font-size: 14px;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: #2e7d32;
    margin-bottom: 8px;
}


/* ============================================================
   13. SUPPORT-BEREICH
============================================================ */

.glarean-support {
    font-size: 16px;
    line-height: 1.4;
    border-top: 1px solid #ccc;
    margin-top: 40px;
    padding-top: 18px;
}

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


/* ============================================================
   14. THEMEN-NAVIGATION
============================================================ */

.glarean-themen {
    margin-top: 10px;
}

.glarean-themen .themen-block {
    margin-bottom: 20px;
}

.glarean-themen h3 {
    font-size: 16px !important;
    font-weight: bold;
    letter-spacing: 0.6px;
    color: #2e7d32;
    margin-top: 10px;
    margin-bottom: 6px;
    border-bottom: 1px solid #2e7d32;
    padding-bottom: 3px;
    text-transform: uppercase;
}

.glarean-themen p {
    font-size: 15px !important;
    line-height: 1.5;
}

.glarean-themen a {
    color: #2c5aa0;
    text-decoration: none;
}

.glarean-themen a:hover {
    text-decoration: underline;
}


/* ============================================================
   15. JETPACK-AUTOREN
============================================================ */

.widget.widget_authors ul {
    column-count: 2;
    column-gap: 24px;
}

.widget.widget_authors ul li {
    break-inside: avoid;
    margin-bottom: 6px !important;
    line-height: 1.35 !important;
}

.widget.widget_authors ul li a {
    display: block;
    font-size: 16px;
    padding: 2px 0;
}


/* ============================================================
   16. STARTSEITE – KARTEN TYPOGRAFIE
============================================================ */

/* Titel */

.home article h2,
.blog article h2,
.home .entry-title,
.blog .entry-title {
    font-size: 22px !important;
    line-height: 1.22 !important;
    margin-bottom: 10px !important;
}

/* Vorschautext */

.home article p,
.blog article p,
.home .excerpt-wrap,
.blog .excerpt-wrap,
.home .entry-summary,
.blog .entry-summary {
    font-size: 16px !important;
    line-height: 1.6 !important;
}

/* Kartenstruktur */

.home .nv-post-entry,
.blog .nv-post-entry {
    display: flex !important;
    flex-direction: column !important;
    height: auto !important;
}

/* unnötige Mindesthöhen entfernen */

.home .blog-entry-content,
.home .entry-summary,
.home .excerpt-wrap,
.blog .blog-entry-content,
.blog .entry-summary,
.blog .excerpt-wrap {
    min-height: unset !important;
    height: auto !important;
}

/* Autor unter Teaser */

.glarean-card-author {
    margin-top: 8px !important;
    margin-bottom: 0 !important;
    padding-top: 0 !important;

    font-size: 15px !important;
    line-height: 1.3 !important;

    font-style: italic !important;
    color: #777 !important;
}
/* Abstand zwischen Vorschautext und Autor optimieren */

.home article .entry-summary p, 
.blog article .entry-summary p,
.home article .excerpt-wrap p {
    margin-bottom: 5px !important; /* Verringert den Abstand nach dem Text */
}

.glarean-card-author {
    margin-top: 0 !important; /* Zwingt den Autor direkt unter den Text */
    display: block; /* Stellt sicher, dass es eine eigene Zeile ist */
}