/* Lider.media Article Text Styling */
/* Targeting news-magazine-x theme classes with !important */

/* Target the actual theme paragraph container */
.single .newsx-single-wrap .newsx-post-content p,
.single .newsx-single-wrap .entry-content p,
.single-post .newsx-post-content p,
.single-post .entry-content p,
body.single .newsx-post-content p,
body.single-post .newsx-post-content p,
body .newsx-post-content p,
body article.post .entry-content p,
body .post-content p,
body article .article-content p,
body.single article p,
body.single .entry-content p,
body .entry-content > p,
article.post .entry-content p,
.single-post article p,
.single article.post p {
    font-family: "Libre Franklin", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif !important;
    font-size: 18px !important;
    font-weight: 400 !important;
    line-height: 26px !important;
    color: #000000 !important;
    margin-top: 0px !important;
    margin-bottom: 14px !important;
    letter-spacing: normal !important;
    word-spacing: 0px !important;
}

/* Also target newsx-post-content directly */
.newsx-post-content p,
.newsx-single-wrap .newsx-post-content p {
    font-family: "Libre Franklin", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif !important;
    font-size: 18px !important;
    font-weight: 400 !important;
    line-height: 26px !important;
}

/* Block editor paragraphs */
body .wp-block-post-content p,
body article .wp-block-post-content p {
    font-family: "Libre Franklin", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif !important;
    font-size: 18px !important;
    font-weight: 400 !important;
    line-height: 26px !important;
}

/* First paragraph */
.newsx-post-content p:first-child,
body article.post .entry-content p:first-child,
body .entry-content > p:first-child,
.single-post article p:first-child {
    margin-top: 0 !important;
}

/* Last paragraph */
.newsx-post-content p:last-child,
body article.post .entry-content p:last-child,
body .entry-content > p:last-child,
.single-post article p:last-child {
    margin-bottom: 14px !important;
}


/* Hide site title text when custom logo is present */
.newsx-site-identity .site-title {
    display: none !important;
}

/* Make sure logo is visible */
.site-logo {
    display: block !important;
}

.site-logo img,
.custom-logo {
    height: 60px !important;
    width: auto !important;
}

/* Override logo max-width */
.newsx-site-identity .site-logo {
    max-width: 140px !important;
}

/* Header styling - red section with logo */
.newsx-site-header .newsx-middle-section-wrap {
    max-height: none !important;
    min-height: auto !important;
}

/* Allow grid row to show content */
.newsx-site-header .newsx-middle-section-wrap .newsx-builder-grid-row {
    min-height: auto !important;
}

/* Menu wrapper styling - ensure menus are visible */
.newsx-menu-wrapper {
    display: block !important;
    height: auto !important;
}
