/* 1. Force remove margins below the header and main navigation menu */
.site-header, 
.main-navigation,
#site-navigation {
    margin-bottom: 0px !important;
}

/* 2. Force collapse the top padding inside the One Container block */
.one-container .site-content {
    padding-top: 0px !important;
}

/* 3. Force strip the padding and margins from the page content wrapper */
.one-container .site-main,
.one-container .inside-article {
    padding-top: 0px !important;
    margin-top: 0px !important;
}

/* 4. Force strip top margins from the Classic Editor's Title or first block */
.entry-header,
.entry-title,
.entry-content > *:first-child {
    margin-top: 0px !important;
    padding-top: 0px !important;
}
/* 1. Force the inner and outer content boxes to drop bottom spacing */
.site-main, 
#main, 
.site-content {
    margin-bottom: 0px !important;
    padding-bottom: 0px !important;
}

/* 2. Force the footer widget areas to move upward */
.footer-widgets, 
.inside-footer-widgets,
.inside-footer-widgets .inner-padding {
    padding-top: 1px !important;
    margin-top: 0px !important;
}

/* 3. Eliminate GeneratePress structural separating space block (if enabled) */
.separate-containers .site-main {
    margin-bottom: 0px !important;
}
/* Style Category and Tag links as modern badges */
.entry-meta .cat-links a,
.entry-meta .tags-links a {
    background-color: #f1f1f1; /* Light gray background */
    color: #333333;            /* Dark text color */
    padding: 3px 10px;
    border-radius: 4px;
    text-decoration: none;
    margin-right: 5px;
}
/* Fix skewed footer elements on single posts */
.single-post .inside-footer-widgets {
    display: flex;
    width: 85%;
    box-sizing: border-box;
}
/* Prevent nested script elements from collapsing */
.single-post .footer-widgets .widget {
    min-width: 0; 
    flex: 1;
}
footer.entry-meta,
.cat-links,
.tags-links,
.entry-meta,
.entry-footer,
.post-navigation {
    display: none !important;
}
/* Color the right sidebar ONLY on single posts */
body.single-post #right-sidebar {
    background-color: #CADFE8 !important; /* Change this hex code to your preferred color */
    padding: 30px !important;             /* Creates spacing inside the colored area */
    box-sizing: border-box !important;
}
/* make post masthead same height at top as sidebar */
.sidebar {
    margin-top: 34px !important;
}
site-info {
    display: none;
}

/* Force-hide pingbacks and trackbacks everywhere */
.comment-list .pingback,
.comment-list .trackback,
li.pingback, 
li.trackback {
    display: none !important;
}
/* Force-hide the entire comments wrapper site-wide */
body .comments-area, 
body #comments {
    display: none !important;
}