/*
Theme Name: NewsBreeze for ColorMag
Description: NewsBreeze editorial styling, publication times, comment counts and article sharing. Requires ColorMag.
Author: Prolink Media Solutions
Template: colormag
Version: 1.1.0
Requires at least: 5.3
Requires PHP: 7.4
Text Domain: newsbreeze
License: GNU General Public License v3 or later
*/
:root { --nb-navy:#071e77; --nb-blue:#009fe8; --nb-red:#e6002c; }
body { font-family:Arial,Helvetica,sans-serif; -webkit-font-smoothing:antialiased; }
.cm-entry-title { font-weight:700; line-height:1.28; letter-spacing:-.015em; }
.cm-entry-title a:hover { color:var(--nb-navy); }
.single .cm-entry-header .cm-entry-title { font-size:clamp(1.85rem,3.2vw,2.8rem); line-height:1.16; }
.single .cm-entry-summary { font-size:18px; line-height:1.8; overflow-wrap:break-word; }
.single .cm-entry-summary p { margin-bottom:1.25em; }
.single .cm-entry-summary h2 { font-size:1.6em; line-height:1.3; margin-top:1.5em; }
.single .cm-entry-summary h3 { font-size:1.3em; line-height:1.35; }
.single .cm-entry-summary a:not(.wp-element-button):not(.nb-share a) { text-underline-offset:3px; }
.single .cm-entry-summary blockquote { border-left:4px solid var(--nb-blue); padding:1em 1.25em; background:#f3f6fc; }
.wp-caption-text, .wp-element-caption { font-size:13px; line-height:1.5; color:#596174; }
.cm-site-branding img.custom-logo, .custom-logo-link img { width:202px; height:auto; max-width:100%; }
.nb-meta, .cm-below-entry-meta { display:flex; flex-wrap:wrap; align-items:center; gap:6px 14px; }
.nb-date, .nb-comments, .nb-meta .cm-author { font-size:12px; line-height:1.6; }
.nb-article-info { display:flex; flex-wrap:wrap; gap:8px 20px; color:#596174; font-size:13px; line-height:1.6; border-bottom:1px solid #e4e7ee; padding:0 0 14px; margin-bottom:24px; }
.nb-share { display:flex; flex-wrap:wrap; gap:10px; align-items:center; border-top:1px solid #e4e7ee; padding-top:22px; margin-top:32px; font-size:14px; }
.nb-share > span:first-child { flex-basis:100%; font-weight:700; color:inherit; }
.nb-share a, .nb-share button { display:inline-flex; align-items:center; justify-content:center; min-height:44px; padding:9px 15px; border:1px solid #ccd3e2; border-radius:4px; background:#fff; color:#071e77; font:inherit; line-height:1.4; cursor:pointer; text-decoration:none; box-shadow:none; }
.nb-share a:hover, .nb-share button:hover { background:#071e77; color:#fff; border-color:#071e77; }
.nb-copy-status { font-size:13px; }
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible { outline:3px solid #009fe8; outline-offset:3px; }
@media(max-width:768px) {
 .single .cm-entry-summary { font-size:18px; line-height:1.75; }
 .nb-meta, .cm-below-entry-meta { gap:5px 10px; }
 .nb-share a, .nb-share button { flex:1 1 auto; }
}
/* Retain the parent's dark-mode contrast. */
body.cm-dark-mode .nb-article-info { color:inherit; }
/* NewsBreeze 1.1: article toolbar and editorial footer. */
.single .cm-entry-header .nb-meta { margin:16px 0 8px; padding:15px 0; border-top:1px solid #e2e7f0; border-bottom:1px solid #e2e7f0; gap:12px 20px; }
.single .nb-meta .nb-date, .single .nb-meta .nb-comments, .single .nb-meta .cm-author, .nb-views { font-size:13px; line-height:1.6; color:#4b586d; }
.single .nb-meta a { color:inherit; }
.nb-date, .nb-views { display:inline-flex; align-items:center; gap:7px; }
.nb-icon { flex-shrink:0; vertical-align:middle; }
.nb-views { white-space:nowrap; }
.nb-date .nb-icon { width:14px; height:14px; }
.nb-article-info { border:0; padding:0; margin:12px 0; }
.nb-share { padding:14px 0; margin:0 0 24px; gap:9px; border:0; border-bottom:1px solid #e2e7f0; }
.nb-share > .nb-share-label:first-child { flex-basis:auto; margin-right:8px; text-transform:uppercase; font-size:11px; letter-spacing:.1em; color:#536077; }
.nb-share a, .nb-share button { padding:0; width:42px; height:42px; min-height:42px; border-radius:50%; flex:0 0 42px; color:#233650; background:#f1f4f9; border:1px solid #e0e6ef; }
.nb-share .nb-share-whatsapp { background:#e7f7ef; color:#087d44; border-color:#d1ecdf; }
.nb-share .nb-share-facebook { background:#edf2ff; color:#1857b6; border-color:#dae5ff; }
.nb-share .nb-share-x { background:#111b2b; color:#fff; border-color:#111b2b; }
.nb-share a:hover, .nb-share button:hover { background:#071e77; color:#fff; border-color:#071e77; }
.nb-share [hidden] { display:none!important; }
.nb-share--bottom { border-top:1px solid #e2e7f0; border-bottom:0; margin:28px 0 0; padding:20px 0 4px; }
.nb-copy-status { flex-basis:100%; color:#4b586d; overflow-wrap:anywhere; }
.nb-copy-status:empty { display:none; }
.nb-reading-progress { position:fixed; top:0; left:0; right:0; height:3px; z-index:99998; pointer-events:none; }
body.admin-bar .nb-reading-progress { top:32px; }
.nb-reading-progress span { display:block; width:100%; height:100%; background:#009fe8; transform:scaleX(0); transform-origin:left; }
#cm-footer.nb-footer { background:#08172f; color:#c8d2e2; border-top:4px solid #009fe8; padding:0; }
.nb-footer-inner { width:min(1160px,calc(100% - 48px)); margin:auto; }
.nb-footer-grid { display:grid; grid-template-columns:1.2fr .8fr 1.3fr .8fr; gap:36px; padding:52px 0 40px; }
.nb-footer h2 { font:700 15px/1.4 Arial,Helvetica,sans-serif; color:#fff; margin:0 0 20px; padding-bottom:12px; border-bottom:1px solid #2b3b55; }
.nb-footer a { color:#e4ebf7; text-decoration:none; }
.nb-footer a:hover { color:#6ad0ff; }
.nb-footer-logo { display:inline-flex; background:#fff; padding:12px 14px; border-radius:4px; }
.nb-footer-logo img { display:block; max-width:100%; height:auto; }
.nb-footer-brand p { margin:20px 0 16px; font-size:14px; line-height:1.8; color:#c8d2e2; }
.nb-footer-motto { font-size:10px; letter-spacing:.14em; color:#7ed4ff; }
.nb-footer-links { margin:0; padding:0; list-style:none; }
.nb-footer-links li { margin:0 0 12px; font-size:14px; line-height:1.5; }
.nb-footer-story { padding:0 0 14px; margin:0 0 14px; border-bottom:1px solid #253650; }
.nb-footer-story a { display:block; font-size:14px; line-height:1.5; font-weight:600; }
.nb-footer-story time { display:block; font-size:11px; margin-top:7px; color:#9aaec9; }
.nb-footer-top { display:inline-block; margin-top:18px; font-size:13px; }
.nb-footer-bottom { display:flex; flex-wrap:wrap; justify-content:space-between; gap:12px; border-top:1px solid #2b3b55; padding:22px 0; font-size:12px; color:#aabbd1; }
@media(max-width:900px) { .nb-footer-grid { grid-template-columns:1fr 1fr; } }
@media(max-width:600px) {
 .single .cm-entry-header .nb-meta { gap:10px 16px; }
 .single .nb-meta .nb-date { flex-basis:100%; }
 .nb-footer-grid { grid-template-columns:1fr; gap:30px; padding:32px 0; }
 .nb-footer-inner { width:calc(100% - 36px); }
 .nb-footer-bottom { flex-direction:column; }
}
@media(max-width:782px) { body.admin-bar .nb-reading-progress { top:46px; } }
@media print {
 #cm-masthead, #cm-footer, .cm-secondary, .nb-share, .nb-reading-progress, #comments, .post-navigation, .single-related-posts { display:none!important; }
 .cm-primary { width:100%!important; float:none!important; }
 .nb-story-body { color:#000; background:#fff; }
}
