/* GP single-post metadata and responsive sidebar widget */
.single-post-page .post-category { display:none !important; }
.single-post-page .gp-single-meta { display:flex; flex-wrap:wrap; align-items:center; gap:9px; margin:18px 0 28px; }
.single-post-page .gp-single-meta .gp-meta-category { display:inline-flex; align-items:center; text-decoration:none; background:var(--gp-accent, #e11d48); color:#fff !important; font-size:12px; font-weight:700; line-height:1.2; border-radius:3px; padding:7px 11px; text-transform:uppercase; }
.single-post-page .gp-single-meta .gp-meta-category:hover { background:var(--gp-accent, #e11d48); }
.sidebar, .sidebar .container { width:100%; max-width:100%; min-width:0; padding:0; }
.sidebar .widget { border:0; padding:0; margin-bottom:24px; background:transparent; }
.sidebar .widget:has(.gp-post-list-widget) > .widget-title { display:none; }
.gp-post-list-widget { border:1px solid #e7e9ed; background:#fff; padding:22px 20px; border-radius:7px; box-shadow:0 5px 24px rgba(24,35,55,.045); }
.gp-widget-heading { display:flex; align-items:center; gap:10px; border-bottom:1px solid #e9e9ed; padding-bottom:13px; margin-bottom:6px; }
.gp-widget-mark { width:4px; height:24px; border-radius:4px; background:var(--gp-accent, #e11d48); flex:none; }
.gp-widget-heading h3 { font-size:19px; line-height:1.3; font-weight:800; margin:0; color:#171a24; }
.gp-widget-post { display:flex; align-items:flex-start; gap:12px; padding:15px 0; border-bottom:1px solid #eff0f2; }
.gp-widget-post:last-child { border-bottom:0; padding-bottom:3px; }
.gp-widget-thumb { display:block; flex:0 0 94px; width:94px; height:76px; overflow:hidden; border-radius:5px; background:#f0f1f4; }
.gp-widget-thumb img { display:block; width:100%; height:100%; object-fit:cover; }
.gp-widget-no-thumb { width:100%; height:100%; display:flex; align-items:center; justify-content:center; color:#9da2af; font-weight:800; }
.gp-widget-copy { flex:1; min-width:0; }
.gp-widget-copy h4 { font-size:14px; line-height:1.42; font-weight:750; margin:0 0 5px; }
.gp-widget-copy h4 a { text-decoration:none !important; color:#1d2330 !important; }
.gp-widget-copy h4 a:hover { color:var(--gp-accent, #e11d48) !important; }
.gp-widget-copy time { display:block; font-size:11px; color:#858c99; }
.gp-widget-copy p { font-size:12px; line-height:1.55; color:#6d7480; margin:6px 0 0; }
@media(max-width:767px) { .gp-post-list-widget {padding:17px 15px;} .gp-widget-thumb { flex-basis:85px; width:85px; height:70px; } .single-post-page .gp-single-meta { gap:7px; } }

/* Single post title matches the GP Post List widget heading */
.single-post-page .gp-single-title-heading{display:flex;align-items:flex-start;gap:13px;border-bottom:1px solid #e9e9ed;padding-bottom:15px;margin:10px 0 16px;}
.single-post-page .gp-single-title-mark{width:4px;min-width:4px;height:32px;margin-top:5px;border-radius:4px;background:var(--gp-accent,#e11d48);}
.single-post-page .gp-single-title-heading .post-title{margin:0!important;line-height:1.28;color:#171a24;}
.single-post-page .gp-single-title-heading + .gp-single-meta{margin-top:14px;}
.single-post-page .post-content a:not(.wp-block-button__link){color:var(--gp-accent,#e11d48);}
.single-post-page .post-content a:hover{text-decoration:underline;}
.single-post-page .rel-articles h2{border-left:4px solid var(--gp-accent,#e11d48);padding-left:12px;}
@media(max-width:767px){.single-post-page .gp-single-title-heading{gap:10px}.single-post-page .gp-single-title-mark{height:27px}.single-post-page .gp-single-title-heading .post-title{font-size:clamp(23px,6vw,34px)}}

/* Consistent compact sidebar headings and category rows */
.sidebar .widget:not(:has(.gp-post-list-widget)) {border:1px solid #e7e9ed;padding:20px;background:#fff;border-radius:7px;box-shadow:0 5px 24px rgba(24,35,55,.045);}
.sidebar .widget .widget-title,
.sidebar .widget .wp-block-heading,
.sidebar .widget .wp-block-group__inner-container > h2,
.sidebar .widget .wp-block-group__inner-container > h3 {font-size:17px!important;line-height:1.35;font-weight:800;color:#171a24;margin:0 0 14px!important;padding:0 0 12px 12px;border-bottom:1px solid #e9e9ed;position:relative;}
.sidebar .widget .widget-title:before,
.sidebar .widget .wp-block-heading:before,
.sidebar .widget .wp-block-group__inner-container > h2:before,
.sidebar .widget .wp-block-group__inner-container > h3:before {content:"";position:absolute;left:0;top:1px;width:3px;height:21px;border-radius:4px;background:var(--gp-accent,#e11d48);}
.sidebar .gp-widget-heading h3 {font-size:17px!important;}
.sidebar .gp-widget-copy h4 {font-size:13px!important;line-height:1.42!important;}
.sidebar .widget .wp-block-categories-list,.sidebar .widget ul.wp-block-categories-list,.sidebar .widget ul.wp-block-categories,.sidebar .widget > ul {list-style:none;margin:0;padding:0;}
.sidebar .widget .wp-block-categories-list li,.sidebar .widget .wp-block-categories li,.sidebar .widget_categories li {list-style:none;display:flex;align-items:center;justify-content:space-between;gap:8px;border-bottom:1px solid #eff0f2;padding:10px 0;font-size:13px;color:#858c99;}
.sidebar .widget .wp-block-categories-list li:last-child,.sidebar .widget .wp-block-categories li:last-child,.sidebar .widget_categories li:last-child {border-bottom:0;}
.sidebar .widget .wp-block-categories-list li a,.sidebar .widget .wp-block-categories li a,.sidebar .widget_categories li a {color:#1d2330!important;font-weight:650;text-decoration:none!important;}
.sidebar .widget .wp-block-categories-list li a:hover,.sidebar .widget .wp-block-categories li a:hover,.sidebar .widget_categories li a:hover {color:var(--gp-accent,#e11d48)!important;}
.sidebar .widget .wp-block-categories-list .wp-block-categories-list {padding-left:12px;}
.single-post-page .gp-single-title-heading {border-bottom:1px solid #e9e9ed!important;}
.single-post-page .gp-single-title-heading .post-title {border:0!important;outline:0!important;box-shadow:none!important;padding:0!important;}
@media(max-width:767px){.sidebar .widget:not(:has(.gp-post-list-widget)){padding:16px 15px;}}

/* Sidebar border and classic/block Categories compatibility fix */
.sidebar, .sidebar_container, .sidebar .container { border:0!important; outline:0!important; box-shadow:none!important; }
.sidebar { padding:0!important; background:transparent!important; }
.sidebar .widget_categories ul, .sidebar .widget_categories ul li,
.sidebar .widget .wp-block-categories-list, .sidebar .widget .wp-block-categories-list li,
.sidebar .widget .wp-block-categories, .sidebar .widget .wp-block-categories li { list-style:none!important; list-style-type:none!important; }
.sidebar .widget_categories ul, .sidebar .widget .wp-block-categories-list, .sidebar .widget .wp-block-categories { padding-left:0!important; margin:0!important; }
.sidebar .widget_categories li, .sidebar .widget .wp-block-categories-list li, .sidebar .widget .wp-block-categories li { padding:10px 0!important; border-bottom:1px solid #eff0f2!important; font-size:13px!important; line-height:1.45!important; }
.sidebar .widget_categories li:last-child, .sidebar .widget .wp-block-categories-list li:last-child, .sidebar .widget .wp-block-categories li:last-child { border-bottom:0!important; }
.sidebar .widget_categories a, .sidebar .widget .wp-block-categories-list a, .sidebar .widget .wp-block-categories a { font-size:13px!important; font-weight:750!important; line-height:1.4!important; color:#1d2330!important; text-decoration:none!important; border:0!important; box-shadow:none!important; }
.sidebar .widget_categories a:hover, .sidebar .widget .wp-block-categories-list a:hover, .sidebar .widget .wp-block-categories a:hover { color:var(--gp-accent,#e11d48)!important; }
.sidebar .widget .wp-block-categories-list li::marker, .sidebar .widget_categories li::marker { content:''; }
.sidebar .widget .wp-block-categories-list li:before, .sidebar .widget_categories li:before { content:none!important; }
.sidebar .widget_categories .cat-item-count, .sidebar .widget .wp-block-categories__post-count { color:#858c99; font-size:12px; }

/* Single-post heading typography: desktop and mobile */
body.single-post .single-post-page .gp-single-title-heading h1.post-title {
  font-size: 28px !important;
  line-height: 1.35 !important;
  font-weight: 700 !important;
}
@media (max-width: 767px) {
  body.single-post .single-post-page .gp-single-title-heading h1.post-title {
    font-size: 23px !important;
    line-height: 1.4 !important;
  }
}


/* GP refinement: cohesive card borders and category typography */
body.single-post .single-post-page { border-bottom:0!important; }
body.single-post .single-post-page article.post {
  border:1px solid #e7e9ed!important; border-radius:7px;
  background:#fff; padding:24px!important; box-shadow:0 5px 24px rgba(24,35,55,.045);
  box-sizing:border-box; overflow-wrap:anywhere;
}
body.single-post .single-post-page article.post .post-thumb img { max-width:100%; height:auto; }
/* Match the light sidebar outline, without adding black navigation rules. */
.gp-header .gp-header-inner { border:1px solid #e7e9ed!important; border-radius:7px; box-shadow:0 5px 24px rgba(24,35,55,.035)!important; box-sizing:border-box; }
.gp-header .gp-navigation, .gp-header .gp-topbar { border:0!important; box-shadow:none!important; }
/* Categories: style both classic and block widget markup. */
.sidebar .widget_categories ul, .sidebar .widget ul.wp-block-categories-list,
.sidebar .widget .wp-block-categories-list, .sidebar .widget .wp-block-categories {
 list-style:none!important; margin:0!important; padding:0!important;
}
.sidebar .widget_categories li, .sidebar .widget .wp-block-categories-list li,
.sidebar .widget .wp-block-categories li, .sidebar .widget .cat-item {
 display:block!important; list-style:none!important; margin:0!important;
 padding:11px 0!important; border-bottom:1px solid #eff0f2!important;
 font-family:Outfit,Arial,sans-serif!important; font-size:13px!important;
 font-weight:750!important; line-height:1.45!important;
}
.sidebar .widget_categories li:last-child, .sidebar .widget .wp-block-categories-list li:last-child,
.sidebar .widget .wp-block-categories li:last-child { border-bottom:0!important; }
.sidebar .widget_categories li a, .sidebar .widget .wp-block-categories-list li a,
.sidebar .widget .wp-block-categories li a, .sidebar .widget .cat-item a {
 display:inline-block!important; color:#1d2330!important; font-family:Outfit,Arial,sans-serif!important;
 font-size:13px!important; font-weight:750!important; text-decoration:none!important;
 border:0!important; box-shadow:none!important;
}
.sidebar .widget_categories li a:hover, .sidebar .widget .wp-block-categories-list li a:hover,
.sidebar .widget .wp-block-categories li a:hover { color:var(--gp-accent,#e11d48)!important; }
.sidebar .widget_categories li::before, .sidebar .widget .wp-block-categories-list li::before { content:none!important; }
.sidebar .widget_categories li::marker, .sidebar .widget .wp-block-categories-list li::marker { content:''!important; }
.sidebar .widget .wp-block-categories-list .wp-block-categories-list { padding-left:12px!important; }
@media(max-width:767px){
 body.single-post .single-post-page article.post {padding:15px!important;}
 .gp-header .gp-header-inner {border-radius:0!important;}
}

/* Header border removal and vertically centered article title accent */
.gp-header .gp-header-inner, .gp-header .container.gp-header-inner {
 border:0!important; border-radius:0!important; outline:0!important; box-shadow:none!important;
}
.single-post-page .gp-single-title-heading {align-items:center!important;}
.single-post-page .gp-single-title-mark {
 align-self:center!important; flex:0 0 5px!important; width:5px!important;
 height:38px!important; margin:0!important; border-radius:4px!important;
}
@media(max-width:767px){.single-post-page .gp-single-title-mark{height:30px!important;}}
