/* ==========================================================================
   uRADMonitor 2026 — modern content reskin
   Loaded only on article / blog / standard pages (see functions.php).
   App pages (map, dashboard, shop, tools) do not load this file.
   Layers over Bootstrap 3 + style.css; does not touch the site navbar/footer.
   ========================================================================== */
:root{
  --m-ink:#16242b;
  --m-body:#2b3a42;
  --m-muted:#5f707a;
  --m-line:#e3e9ec;
  --m-line-strong:#cdd8dd;
  --m-bg-soft:#f4f7f9;
  --m-bg-deep:#13323e;
  --m-accent:#24546b;
  --m-accent-d:#1a3f52;
  --m-accent-soft:#e7eff3;
  --m-radius:14px;
  --m-radius-sm:10px;
  --m-shadow:0 1px 2px rgba(19,50,62,.04), 0 8px 24px rgba(19,50,62,.08);
  --m-shadow-sm:0 1px 2px rgba(19,50,62,.05), 0 3px 10px rgba(19,50,62,.06);
  --m-sans:'Inter',-apple-system,BlinkMacSystemFont,'Segoe UI',Roboto,Helvetica,Arial,sans-serif;
}

/* ---- base typography (content pages only) ------------------------------- */
body{ font-family:var(--m-sans); color:var(--m-body); -webkit-font-smoothing:antialiased; }
.subhead, .container, #manson, .post-content, .post-meta, .comments-area, #comments{ font-family:var(--m-sans); }

/* ---- article header (.subhead) ------------------------------------------ */
.subhead{ background:var(--m-bg-soft); border-bottom:1px solid var(--m-line); padding:28px 0 20px; margin-bottom:0; }
.subhead h1{ font-size:clamp(26px,3.6vw,40px); line-height:1.18; letter-spacing:-.01em; color:var(--m-ink); margin:0; font-weight:800; }
.subhead h1 small a{ color:var(--m-muted); font-size:.48em; margin-right:8px; }
.subhead h1 small a:hover{ color:var(--m-accent); }

/* ---- single article body ------------------------------------------------ */
.single .post-content, .page .post-content, .post-content{
  max-width:760px; margin:26px auto; font-size:17.5px; line-height:1.75; color:var(--m-body);
}
.post-content > center img, .post-content img{ border-radius:var(--m-radius-sm); max-width:100%; height:auto; }
.post-content h2, .post-content h3{ color:var(--m-ink); letter-spacing:-.01em; line-height:1.25; }
.post-content h2{ font-size:clamp(22px,2.6vw,29px); margin:1.5em 0 .5em; font-weight:800; }
.post-content h2:after{ content:""; display:block; width:52px; height:3px; background:var(--m-accent); border-radius:3px; margin-top:12px; }
.post-content h3{ font-size:clamp(18px,2vw,22px); margin:1.3em 0 .4em; font-weight:700; }
.post-content p{ margin:0 0 1.05em; }
.post-content a{ color:var(--m-accent); text-decoration:underline; text-underline-offset:2px; text-decoration-color:var(--m-line-strong); }
.post-content a:hover{ color:var(--m-accent-d); text-decoration-color:var(--m-accent); }
.post-content ul, .post-content ol{ padding-left:1.3em; }
.post-content li{ margin:.35em 0; }
.post-content blockquote{ border-left:4px solid var(--m-accent); background:var(--m-bg-soft); padding:14px 20px; border-radius:0 10px 10px 0; color:var(--m-ink); margin:1.4em 0; }
.post-content figure{ margin:1.4em 0; }
.post-content figcaption, .wp-element-caption{ color:var(--m-muted); font-size:14px; text-align:center; margin-top:8px; }

/* tables inside content (incl. bootstrap .table from filters) */
.post-content table, .post-content table.table{
  width:100%; border-collapse:separate; border-spacing:0; margin:1.5em 0;
  border:1px solid var(--m-line); border-radius:var(--m-radius-sm); overflow:hidden; font-size:15.5px;
}
.post-content thead th{ background:var(--m-bg-deep); color:#eaf2f6; font-weight:700; border:0; padding:12px 14px; text-align:left; }
.post-content td, .post-content th{ padding:11px 14px; border:0; border-top:1px solid var(--m-line); vertical-align:top; }
.post-content tbody tr:nth-child(odd) td{ background:var(--m-bg-soft); }
/* keep author-provided inline row colors (quality classes) winning */
.post-content tr[style*="background"] td{ background:inherit; }

/* callout / alert */
.post-content .alert, .alert-info{ border:0; border-left:4px solid var(--m-accent); border-radius:var(--m-radius-sm);
  background:var(--m-accent-soft); color:var(--m-ink); padding:16px 20px; font-size:16px; }
.post-content .alert a, .alert-info a{ color:var(--m-accent-d); font-weight:700; }

/* code */
.post-content code, code{ background:var(--m-bg-soft); color:var(--m-accent-d); border-radius:6px; padding:2px 6px; font-size:.92em; }
.post-content pre{ background:#0f2933; color:#e8f0f3; padding:16px 18px; border-radius:var(--m-radius-sm); overflow:auto; }
.post-content pre code{ background:transparent; color:inherit; padding:0; }

/* ---- post meta (single) ------------------------------------------------- */
.post-meta{ max-width:760px; margin:22px auto 0; padding-bottom:16px; border-bottom:1px solid var(--m-line); }
.post-meta-top{ display:flex; flex-wrap:wrap; gap:12px; align-items:center; justify-content:space-between; }
.post-meta-info{ color:var(--m-muted); font-size:14.5px; }
.post-meta-info .sep{ color:var(--m-line-strong); margin:0 2px; }
.post-share{ display:inline-flex; gap:8px; align-items:center; }
.post-share-btn{ display:inline-flex; align-items:center; gap:6px; padding:5px 11px; border-radius:999px; color:#fff; font-size:12.5px; font-weight:700; text-decoration:none; }
.post-share-btn:hover{ opacity:.9; color:#fff; }
.post-meta-tags{ margin-top:12px; display:flex; flex-wrap:wrap; gap:6px; }
.post-meta-tags a{ font-size:12.5px; background:var(--m-bg-soft); border:1px solid var(--m-line); color:var(--m-muted);
  padding:3px 10px; border-radius:999px; text-decoration:none; }
.post-meta-tags a:hover{ border-color:var(--m-accent); color:var(--m-accent-d); }

/* ---- blog / archive grid (#manson with .item .post_box) ----------------- */
#manson{ display:grid; grid-template-columns:repeat(3,1fr); gap:24px; margin:30px 0; }
#manson .item{ width:auto; margin:0; float:none; padding:0; }
.post_box{ background:#fff; border:1px solid var(--m-line); border-radius:var(--m-radius); overflow:hidden;
  box-shadow:var(--m-shadow-sm); height:100%; display:flex; flex-direction:column; transition:transform .15s ease, box-shadow .15s ease; }
.post_box:hover{ transform:translateY(-3px); box-shadow:var(--m-shadow); }
.post_box > a:first-child{ display:block; aspect-ratio:16/9; overflow:hidden; background:var(--m-bg-soft); }
.post_box > a:first-child img{ width:100%; height:100%; object-fit:cover; }
.post_box .entry-header{ padding:16px 18px 0; }
.post_box .entry-title{ font-size:19px; line-height:1.25; margin:0; font-weight:800; }
.post_box .entry-title a{ color:var(--m-ink); text-decoration:none; }
.post_box .entry-title a:hover{ color:var(--m-accent-d); }
.post_box .entry-meta{ padding:6px 18px 0; margin:0; color:var(--m-muted); font-size:13px; }
.post_box .entry-meta i{ font-style:normal; }
.post_box .entry-content{ padding:8px 18px 12px; color:var(--m-muted); font-size:15px; flex:1; }
.post_box .read_more{ margin:0 18px 16px; align-self:flex-start; }
.post_box .pull-left{ margin:0 18px 10px !important; }

/* ---- buttons (content scope) ------------------------------------------- */
.subhead .btn, .container .btn, .btn-info, .btn.read_more{ border-radius:999px; font-weight:700; border:1px solid transparent; }
.btn-info, .btn.read_more{ background:var(--m-accent); border-color:var(--m-accent); color:#fff; }
.btn-info:hover, .btn.read_more:hover, .btn-info:focus{ background:var(--m-accent-d); border-color:var(--m-accent-d); color:#fff; }
.btn-default{ background:#fff; border-color:var(--m-line-strong); color:var(--m-ink); border-radius:999px; }
.btn-default:hover{ border-color:var(--m-accent); color:var(--m-accent-d); }

/* ---- pager -------------------------------------------------------------- */
.pager{ display:flex; justify-content:space-between; gap:12px; margin:34px 0; padding:0; list-style:none; }
.pager li{ display:inline-block; }
.pager a{ display:inline-block; padding:9px 18px; border:1px solid var(--m-line-strong); border-radius:999px; color:var(--m-ink); font-weight:600; }
.pager a:hover{ border-color:var(--m-accent); color:var(--m-accent-d); background:#fff; }

/* ---- comments ----------------------------------------------------------- */
.comment-list, .commentlist{ max-width:760px; margin:0 auto; list-style:none; padding:0; }
.comment-list .comment, .commentlist .comment{ border:1px solid var(--m-line); border-radius:var(--m-radius-sm); padding:16px 18px; margin:0 0 14px; background:#fff; }
#respond, .comment-respond{ max-width:760px; margin:26px auto 0; }
#respond input[type=text], #respond input[type=email], #respond input[type=url], #respond textarea,
.comment-form input[type=text], .comment-form input[type=email], .comment-form input[type=url], .comment-form textarea{
  border:1px solid var(--m-line-strong); border-radius:10px; padding:10px 13px; }
#respond input:focus, #respond textarea:focus, .comment-form input:focus, .comment-form textarea:focus{
  outline:0; border-color:var(--m-accent); box-shadow:0 0 0 3px var(--m-accent-soft); }

/* ---- responsive --------------------------------------------------------- */
@media (max-width:991px){ #manson{ grid-template-columns:repeat(2,1fr); } }
@media (max-width:600px){
  #manson{ grid-template-columns:1fr; }
  .post-content{ font-size:16.5px; }
  .post-meta-top{ gap:8px; }
}

/* ==========================================================================
   Blog sidebar (single/archive right column) — widgets
   ========================================================================== */
.sidebar{ padding-left:8px; }
@media (min-width:992px){ .sidebar.affix, .sidebar{ position:sticky; top:84px; } }
.sidebar .widget, .sidebar section.widget, .sidebar .wp-block-group{ margin-bottom:26px; }
.sidebar .widget-title, .sidebar .widgettitle, .sidebar h2, .sidebar h3{
  font-family:var(--m-sans); font-size:13px; font-weight:700; letter-spacing:.07em; text-transform:uppercase;
  color:var(--m-muted); margin:0 0 12px; padding-bottom:8px; border-bottom:1px solid var(--m-line);
}
/* tag cloud -> uniform pills (kills the ugly varying-size default) */
.sidebar .tagcloud a, .sidebar .wp-block-tag-cloud a, .wp-block-tag-cloud a{
  display:inline-block; font-size:13px !important; font-weight:600; line-height:1;
  color:var(--m-accent-d); background:var(--m-accent-soft); border:1px solid transparent;
  padding:7px 12px; margin:0 6px 7px 0; border-radius:999px; text-decoration:none;
}
.sidebar .tagcloud a:hover, .sidebar .wp-block-tag-cloud a:hover{ background:var(--m-accent); color:#fff; }
/* lists (recent posts, categories, archives) */
.sidebar ul{ list-style:none; padding:0; margin:0; }
.sidebar li{ padding:7px 0; border-bottom:1px solid var(--m-line); font-size:14.5px; }
.sidebar li:last-child{ border-bottom:0; }
.sidebar li a{ color:var(--m-ink); text-decoration:none; }
.sidebar li a:hover{ color:var(--m-accent-d); }
.sidebar .post-date, .sidebar .rpwwt-post-date, .sidebar time{ display:block; font-size:12px; color:var(--m-muted); margin-top:2px; }
/* recent-posts thumbnails if present */
.sidebar li img{ border-radius:8px; margin-right:8px; vertical-align:middle; }
/* search */
.sidebar .search-form, .sidebar .wp-block-search__inside-wrapper{ display:flex; gap:8px; }
.sidebar .search-form input[type=search], .sidebar .wp-block-search__input{
  flex:1; width:100%; padding:10px 13px; border:1px solid var(--m-line-strong); border-radius:10px; font-size:15px; outline:0;
}
.sidebar .search-form input[type=search]:focus, .sidebar .wp-block-search__input:focus{ border-color:var(--m-accent); box-shadow:0 0 0 3px var(--m-accent-soft); }
.sidebar .search-form button, .sidebar .wp-block-search__button{
  background:var(--m-accent); color:#fff; border:0; border-radius:10px; padding:10px 16px; font-weight:700; cursor:pointer;
}
.sidebar .search-form button:hover, .sidebar .wp-block-search__button:hover{ background:var(--m-accent-d); }
