/* Dark header background - entire header */
#cm-masthead,
#cm-masthead .cm-header-main-row,
#cm-masthead .cm-main-header {
    background-color: #111111 !important;
}

/* Remove white box/border around logo */
#cm-site-branding,
#cm-site-branding a {
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    outline: none !important;
}

/* Logo image border removal */
#cm-site-branding img.custom-logo {
    border: none !important;
    outline: none !important;
    box-shadow: none !important;
    background: transparent !important;
}

/* Nav links white on dark */
#cm-primary-menu > li > a {
    color: #ffffff !important;
}

/* Nav hover teal */
#cm-primary-menu > li > a:hover {
    color: #4FC3D9 !important;
}

/* Dropdown menu dark background */
#cm-primary-menu .sub-menu {
    background-color: #222222 !important;
}

#cm-primary-menu .sub-menu a {
    color: #ffffff !important;
}
/* Warm off-white on post cards only */
.cm-post-content {
    background-color: #F0EDE6 !important;
}
/* Reduce gap between nav and content */
#cm-content {
    padding-top: 20px !important;
}
/* Show pagination links */
.default-wp-page {
    display: flex !important;
    justify-content: center !important;
    gap: 20px !important;
    padding: 30px 0 !important;
    list-style: none !important;
}

.default-wp-page a {
    background-color: #4FC3D9 !important;
    color: #ffffff !important;
    padding: 10px 20px !important;
    text-decoration: none !important;
    font-weight: bold !important;
    border-radius: 4px !important;
}

.default-wp-page a:hover {
    background-color: #111111 !important;
}
/* Widen content container on desktop */
@media (min-width: 1200px) {
    .cm-container {
        max-width: 1400px !important;
    }
}
#cm-secondary .cm-widget-title span a,
#cm-secondary .cm-widget-title a,
.widget .cm-widget-title span a,
.widget .cm-widget-title a {
    color: #ffffff !important;
    text-decoration: none !important;
}
/* Prevent ads from overlapping content */
.adsbygoogle,
ins.adsbygoogle {
    position: relative !important;
    z-index: 0 !important;
    clear: both !important;
}
/* Prevent .jar ad from overlapping content */
.jar {
    position: relative !important;
    z-index: 0 !important;
    clear: both !important;
    display: block !important;
}
/* Equal height post cards */
.cm-posts.col-2 {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    align-items: stretch !important;
}

.cm-posts.col-2 article {
    height: 100% !important;
}

.cm-posts.col-2 .cm-post-content {
    height: 100% !important;
}