/* ============================================================
   GRAND STRATEGY DAILY — Newsbreak Magazine demo skin
   Black utility bar + ad strip + centered brand + orange-red nav
   + avatar strip + big lead + odd/even files + lower grid.
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; }
html, body { overflow-x: hidden; max-width: 100%; }
html { scroll-behavior: smooth; }
body { background:#f4f5f7 !important; color:#1a1a1a; font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Arial, sans-serif; }
#page { width:100%; }
:root { --nb-orange:#e8541a; --nb-red:#d12f2f; --nb-ink:#141414; --nb-line:#e5e5e5; }
/* Neutralize parent theme grid/overlays that collapse the main column. */
#page.site, .site { display:block !important; }
main#primary.site-main { display:block !important; height:auto !important; overflow:visible !important; width:100% !important; float:none !important; }
#loader,#preloader,.loader,.loader-container { display:none !important; }

/* UTILITY + AD + BRAND + NAV */
.nb-utility { background:var(--nb-ink); color:#bbb; font-size:11px; }
.nb-utility-inner { width:min(1320px,95vw); margin:0 auto; display:flex; justify-content:space-between;
  align-items:center; min-height:28px; }
.nb-utility-social { letter-spacing:3px; }
.nb-adbar { background:#fafafa; border-bottom:1px solid var(--nb-line); }
.nb-adbar-inner { width:min(1320px,95vw); margin:0 auto; min-height:64px; display:flex; align-items:center;
  justify-content:center; color:#bbb; font-size:12px; font-weight:800; letter-spacing:3px;
  background:repeating-linear-gradient(45deg,#f7f7f7,#f7f7f7 10px,#f2f2f2 10px,#f2f2f2 20px); }
.nb-brand-row { background:#fff; }
.nb-brand-inner { width:min(1320px,95vw); margin:0 auto; padding:16px 0; text-align:center; }
.nb-brand { text-decoration:none; display:inline-flex; flex-direction:row; align-items:center; gap:18px; }
.nb-brand-text { display:flex; flex-direction:column; align-items:flex-start; }
.brand-logo { width:72px; height:72px; flex-shrink:0; border-radius:13px; margin-bottom:0; }
.nb-brand-name { color:var(--nb-ink); font-size:44px; font-weight:900; letter-spacing:-1.5px; line-height:1; }
.nb-brand-tag { color:#888; font-size:12px; margin-top:8px; letter-spacing:.4px; }
.nb-navbar { background:var(--nb-orange); }
.nb-navbar-inner { width:min(1320px,95vw); margin:0 auto; display:flex; align-items:center; min-height:46px; }
.nb-nav { flex:1; }
.nb-nav-list { list-style:none; margin:0; padding:0; display:flex; flex-wrap:wrap; }
.nb-nav-list li { position:relative; }
.nb-nav-list li a { display:block; color:#fff; font-size:13px; font-weight:800; padding:14px 15px;
  text-decoration:none; text-transform:uppercase; }
.nb-nav-list li a:hover, .nb-nav-list li.current-menu-item > a { background:rgba(0,0,0,.22); }
.nb-nav-list .sub-menu { display:none; position:absolute; top:100%; left:0; min-width:210px; background:#fff;
  list-style:none; margin:0; padding:6px 0; z-index:70; border:1px solid #ddd; border-top:3px solid var(--nb-orange);
  box-shadow:0 10px 24px rgba(0,0,0,.15); }
.nb-nav-list li:hover > .sub-menu, .nb-nav-list li:focus-within > .sub-menu { display:block; }
.nb-nav-list .sub-menu li a { color:#333; padding:8px 14px; font-size:12px; white-space:nowrap; }
.nb-nav-list .sub-menu li a:hover { background:var(--nb-orange); color:#fff; }
.nb-search { color:#fff; font-size:20px; text-decoration:none; padding:6px 12px; }

/* FOOTER */
.child-footer { background:var(--nb-ink); color:#999; padding:30px 0; font-size:13px; margin-top:50px; }
.child-footer-inner { width:min(1320px,95vw); margin:0 auto; display:flex; justify-content:space-between;
  gap:20px; flex-wrap:wrap; }
.child-footer-links a { color:#999; margin-left:15px; text-decoration:none; }
.child-footer-links a:hover { color:#fff; }

/* FLASH */
.nb-flash { display:flex; align-items:center; background:#fff; border-bottom:1px solid var(--nb-line);
  min-height:40px; padding:0 max(20px, calc((100vw - 1320px) / 2)); gap:14px; }
.nb-flash-label { background:var(--nb-red); color:#fff; font-size:12px; font-weight:800; padding:5px 11px;
  white-space:nowrap; flex-shrink:0; }
.nb-flash-track { display:flex; gap:26px; overflow:hidden; white-space:nowrap; }
.nb-flash-track a { color:#333; font-size:12px; text-decoration:none; }

/* WRAP + KICKER */
.nb-wrap { width:min(1320px,95vw); margin:0 auto; padding:26px 0 20px; }
.nb-kicker { display:inline-block; color:var(--nb-orange); font-size:10px; font-weight:800;
  letter-spacing:1.3px; text-transform:uppercase; margin-bottom:6px; }
.nb-by { font-size:11px; color:#999; }

/* AVATAR STRIP */
.nb-avatar-strip { display:grid; grid-template-columns:repeat(6,1fr); gap:12px; margin-bottom:30px;
  padding-bottom:22px; border-bottom:1px solid var(--nb-line); }
.nb-avatar { display:flex; flex-direction:column; align-items:center; gap:8px; text-decoration:none; text-align:center; }
.nb-avatar-img { width:64px; height:64px; border-radius:50%; overflow:hidden; border:2px solid var(--nb-orange); }
.nb-avatar-img img { width:100%; height:100%; object-fit:cover; }
.nb-avatar-title { color:#333; font-size:12px; font-weight:700; line-height:1.3; }

/* BIG LEAD + SIDE STACK */
.nb-lead { display:grid; grid-template-columns:1.5fr 1fr; gap:24px; margin-bottom:44px; }
.nb-lead-main { background:#fff; border:1px solid var(--nb-line); padding-bottom:18px; }
.nb-lead-img { display:block; }
.nb-lead-img img { width:100%; height:400px; object-fit:cover; display:block; }
.nb-lead-main .nb-kicker { margin:18px 20px 0; }
.nb-lead-title { font-size:30px; line-height:1.18; margin:6px 20px 10px; }
.nb-lead-title a { color:var(--nb-ink); text-decoration:none; }
.nb-lead-title a:hover { color:var(--nb-orange); }
.nb-lead-excerpt { color:#666; font-size:14px; line-height:1.55; margin:0 20px 12px; }
.nb-lead-main .nb-by { margin:0 20px; }
.nb-lead-side { display:flex; flex-direction:column; gap:14px; }
.nb-side-item { display:flex; gap:14px; background:#fff; border:1px solid var(--nb-line); padding:10px; }
.nb-side-img { width:120px; flex-shrink:0; height:90px; overflow:hidden; }
.nb-side-img img { width:100%; height:100%; object-fit:cover; display:block; }
.nb-side-text h4 { font-size:16px; line-height:1.3; margin:2px 0 6px; }
.nb-side-text h4 a { color:var(--nb-ink); text-decoration:none; }
.nb-side-text h4 a:hover { color:var(--nb-orange); }

/* SECTION TITLE + ODD/EVEN */
.nb-section-title { font-size:21px; font-weight:900; margin:0 0 18px; padding-left:12px;
  border-left:5px solid var(--nb-orange); }
.nb-section { margin-bottom:44px; }
.nb-alt-list { border-top:2px solid var(--nb-ink); }
.nb-alt-item { display:flex; align-items:center; gap:24px; padding:18px 0; border-bottom:1px solid #e0e0e0; }
.nb-alt-thumb { width:250px; flex-shrink:0; aspect-ratio:16/9; overflow:hidden; }
.nb-alt-thumb img { width:100%; height:100%; object-fit:cover; }
.nb-alt-text { flex:1; }
.nb-alt-text h4 { font-size:21px; line-height:1.25; margin:0 0 9px; }
.nb-alt-text h4 a { color:var(--nb-ink); text-decoration:none; }
.nb-alt-text h4 a:hover { color:var(--nb-orange); }
.nb-alt-text p { font-size:14px; color:#666; line-height:1.55; margin:0 0 9px; }
.nb-alt-item:nth-child(odd) { flex-direction:row; }
.nb-alt-item:nth-child(even) { flex-direction:row-reverse; }

/* LOWER GRID + ASIDE */
.nb-lower { display:grid; grid-template-columns:1fr 300px; gap:28px; }
.nb-grid { display:grid; grid-template-columns:repeat(2,1fr); gap:18px; }
.nb-tile { background:#fff; border:1px solid var(--nb-line); padding-bottom:14px; }
.nb-tile > a img { width:100%; aspect-ratio:16/9; object-fit:cover; display:block; }
.nb-tile .nb-kicker, .nb-tile h4, .nb-tile .nb-by { margin-left:14px; margin-right:14px; }
.nb-tile h4 { font-size:16px; line-height:1.3; margin-top:8px; }
.nb-tile h4 a { color:var(--nb-ink); text-decoration:none; }
.nb-aside .nb-cats a { display:flex; justify-content:space-between; padding:11px 0; border-bottom:1px solid var(--nb-line);
  color:#333; font-size:13px; font-weight:700; text-decoration:none; }
.nb-aside .nb-cats a span { color:var(--nb-orange); }

/* SINGLE / ARCHIVE / AUTHOR (content columns; sidebar styles appended separately) */
.child-single, .child-author, .child-archive { margin:26px auto; }
.child-page-header { padding:18px 0; border-bottom:3px solid var(--nb-orange); margin-bottom:24px; }
.child-page-header h1 { font-size:32px; font-weight:900; margin:0 0 6px; }
.child-page-header p { color:#666; font-size:14px; margin:0; }
.child-post-title { font-size:clamp(30px,3.6vw,46px); line-height:1.15; font-weight:900; margin:14px 0 18px; }
.child-post-meta { margin-bottom:22px; }
.child-post-meta .child-author { font-size:12px; color:#666; }
.child-post-meta .child-author a { color:var(--nb-orange); font-weight:700; }
.child-post-image { margin:0 0 28px; }
.child-post-image img { width:100%; height:auto; }
.child-post-content { font-size:17px; line-height:1.85; color:#2a2a2a; }
.child-post-content h2 { font-size:25px; margin:32px 0 14px; font-weight:900; }
.child-tags { margin-top:30px; }
.child-tags a { display:inline-block; background:#fdeee6; color:var(--nb-orange); padding:5px 12px; margin:0 6px 6px 0; font-size:12px; text-decoration:none; }
.child-single .comment-form, .child-single .comments-area,
.child-single .post-date, .child-single .entry-date, .child-single .posted-on { display:none !important; }
.child-author .child-alt-item, .child-archive .child-alt-item { display:flex; align-items:center; gap:24px;
  padding:18px 0; border-bottom:1px solid #e0e0e0; }
.child-author .child-alt-thumb, .child-archive .child-alt-thumb { width:220px; flex-shrink:0; aspect-ratio:16/9; overflow:hidden; }
.child-author .child-alt-thumb img, .child-archive .child-alt-thumb img { width:100%; height:100%; object-fit:cover; }
.child-author .child-alt-text, .child-archive .child-alt-text { flex:1; }
.child-author .child-alt-text h3, .child-archive .child-alt-text h3 { font-size:20px; margin:0 0 8px; }
.child-author .child-alt-item:nth-child(odd), .child-archive .child-alt-item:nth-child(odd) { flex-direction:row; }
.child-author .child-alt-item:nth-child(even), .child-archive .child-alt-item:nth-child(even) { flex-direction:row-reverse; }
.child-pagination { margin:30px 0; text-align:center; }
.child-pagination .page-numbers { display:inline-block; padding:8px 13px; margin:0 3px; background:#fff;
  border:1px solid #ccc; text-decoration:none; }
.child-pagination .page-numbers.current { background:var(--nb-orange); color:#fff; border-color:var(--nb-orange); }

/* RESPONSIVE */
@media (max-width:1000px) {
  .nb-lead { grid-template-columns:1fr; }
  .nb-avatar-strip { grid-template-columns:repeat(3,1fr); }
  .nb-nav-list { flex-wrap:nowrap; overflow-x:auto; }
}
@media (max-width:640px) {
  .nb-brand { gap:12px; }
  .brand-logo { width:50px; height:50px; }
  .nb-brand-name { font-size:26px; }
  .nb-avatar-strip { grid-template-columns:repeat(2,1fr); }
  .nb-lead-img img { height:260px; }
  .nb-grid { grid-template-columns:1fr; }
  .nb-lower { grid-template-columns:1fr; }
  .nb-alt-thumb { width:140px; }
  .nb-alt-item, .nb-alt-item:nth-child(even),
  .child-author .child-alt-item, .child-author .child-alt-item:nth-child(even),
  .child-archive .child-alt-item, .child-archive .child-alt-item:nth-child(even) { flex-direction:column; align-items:flex-start; }
  .nb-alt-thumb, .child-author .child-alt-thumb, .child-archive .child-alt-thumb { width:100%; }
}

/* ===== Footer C: Newsbreak Magazine 3-column style ===== */
.child-footer-c { background:#111010; color:#a8a3a0; margin-top:0; }
.child-footer-c .cfc-wrap { width:min(1240px,94vw); margin:0 auto; }
.child-footer-c .cfc-top { padding:44px 0 34px; border-bottom:1px solid #2a2725; }
.child-footer-c .cfc-top .cfc-wrap { display:grid; grid-template-columns:1.15fr 1fr; gap:0; }
.child-footer-c .cfc-about { padding-right:44px; border-right:1px solid #2a2725; }
.child-footer-c .cfc-index { padding-left:44px; display:grid; grid-template-columns:1fr 1fr; gap:30px; }
.child-footer-c .cfc-col h4 { color:#fff; font-size:15px; text-transform:uppercase; letter-spacing:1.5px; margin:0 0 16px; padding-bottom:8px; border-bottom:2px solid #e8541a; display:inline-block; }
.child-footer-c .cfc-brand { display:flex; align-items:center; gap:12px; text-decoration:none; margin-bottom:12px; }
.child-footer-c .cfc-brand .brand-logo { width:46px; height:46px; border-radius:9px; }
.child-footer-c .cfc-brand span { color:#fff; font-weight:900; font-size:20px; }
.child-footer-c .cfc-about p { font-size:13px; line-height:1.7; margin:0 0 14px; }
.child-footer-c .cfc-about ul.cfc-points { list-style:none; margin:0; padding:0; }
.child-footer-c .cfc-about ul.cfc-points li { margin-bottom:8px; font-size:12.5px; color:#c5c0bd; line-height:1.5; }
.child-footer-c .cfc-about ul.cfc-points li::before { content:'■'; font-size:8px; color:#e8541a; margin-right:9px; vertical-align:2px; }
.child-footer-c .cfc-sections-list { list-style:none; margin:0; padding:0; }
.child-footer-c .cfc-sections-list li { margin-bottom:9px; }
.child-footer-c .cfc-sections-list a, .child-footer-c .cfc-index-block ul a { color:#a8a3a0; text-decoration:none; font-size:13px; }
.child-footer-c .cfc-sections-list a:hover, .child-footer-c .cfc-index-block ul a:hover { color:#e8541a; }
.child-footer-c .cfc-index-block ul { list-style:none; margin:0; padding:0; }
.child-footer-c .cfc-index-block ul li { margin-bottom:10px; }
.child-footer-c .cfc-bottom-row { display:flex; justify-content:space-between; flex-wrap:wrap; gap:8px; padding:15px 0; color:#fff; font-size:13px; }
.child-footer-c .cfc-bottom { background:#e8541a; }
@media (max-width:900px){
  .child-footer-c .cfc-top .cfc-wrap { grid-template-columns:1fr; }
  .child-footer-c .cfc-about { padding-right:0; border-right:0; margin-bottom:30px; }
  .child-footer-c .cfc-index { padding-left:0; }
}
@media (max-width:640px){ .child-footer-c .cfc-index { grid-template-columns:1fr; } }

/* CATEGORY VARIANT LAYOUTS */
.nb-cat-hero { display:grid; grid-template-columns:1.45fr 1fr; gap:18px; }
.nb-cat-lead > a img { width:100%; height:320px; object-fit:cover; }
.nb-cat-lead h4 { font-size:20px; }
.nb-cat-lead p { color:#6b625b; font-size:13px; line-height:1.6; margin:8px 0 0; }
.nb-cat-side { display:flex; flex-direction:column; gap:14px; }
.nb-cat-row { display:flex; gap:14px; background:#fff; padding:12px; flex:1; align-items:center; box-shadow:0 1px 3px rgba(0,0,0,.08); }
.nb-cat-row-thumb { width:170px; flex-shrink:0; }
.nb-cat-row-thumb img { width:100%; height:96px; object-fit:cover; display:block; }
.nb-cat-row .nb-kicker { font-size:11px; }
.nb-cat-row h4 { margin:4px 0 0; font-size:15px; line-height:1.35; }
.nb-cat-row h4 a { color:#241f1b; text-decoration:none; }
.nb-cat-row h4 a:hover { color:#e8541a; }
.nb-grid--2 { grid-template-columns:1fr 1fr; }
.nb-grid--3 { grid-template-columns:repeat(3,1fr); }
@media (max-width:900px){ .nb-grid--3 { grid-template-columns:repeat(2,1fr); } }
@media (max-width:640px){ .nb-grid--3 { grid-template-columns:1fr; } }
.nb-cat-list { background:#fff; padding:6px 20px; box-shadow:0 1px 3px rgba(0,0,0,.08); }
.nb-cat-list a { display:flex; justify-content:space-between; align-items:baseline; gap:14px; padding:13px 0; border-bottom:1px solid #e2ddd8; text-decoration:none; color:#241f1b; font-weight:700; font-size:15px; }
.nb-cat-list a:last-child { border-bottom:0; }
.nb-cat-list a:hover { color:#e8541a; }
.nb-cat-list time { color:#8d8680; font-size:12px; font-weight:400; flex-shrink:0; }
@media (max-width:900px){ .nb-cat-hero { grid-template-columns:1fr; } }
@media (max-width:640px){ .nb-grid--2 { grid-template-columns:1fr; } }

/* C-site exclusive: stacked horizontal rows */
.nb-cat-rows { display:flex; flex-direction:column; gap:14px; }
.nb-cat-row-wide .nb-cat-row-thumb { width:280px; }
.nb-cat-row-wide .nb-cat-row-thumb img { height:140px; }
.nb-cat-row-wide h4 { font-size:17px; }
.nb-cat-row-wide p { color:#6b625b; font-size:13px; line-height:1.55; margin:6px 0 0; }

/* ---- sample-style category layouts (cs1-cs7) ---- */
.cat-viewall { margin-left:auto; font-size:12px; font-weight:800; letter-spacing:1px; text-transform:uppercase; text-decoration:none; color:#e8541a; white-space:nowrap; }
.cat-viewall:hover { color:#241f1b; }
.cat-meta { display:block; color:#6b625b; font-size:12px; margin-top:6px; }
.cat-badge { display:inline-block; background:#e8541a; color:#fff; font-size:11px; font-weight:800; letter-spacing:1px; text-transform:uppercase; padding:4px 10px; border-radius:0; }
.nb-section .nb-kicker::before { content:'\25CF'; font-size:8px; color:#e8541a; margin-right:6px; vertical-align:2px; }
.cs1 { display:grid; grid-template-columns:1.5fr 1fr; gap:18px; }
.cs1-lead { position:relative; overflow:hidden; display:block; }
.cs1-lead img { width:100%; height:420px; object-fit:cover; display:block; }
.cs1-cap { position:absolute; left:0; right:0; bottom:0; padding:70px 24px 22px; background:linear-gradient(to top, rgba(20,14,10,.92), rgba(0,0,0,0)); }
.cs1-cap h3 { margin:12px 0 6px; font-size:26px; line-height:1.15; }
.cs1-cap h3 a { color:#fff; text-decoration:none; }
.cs1-cap .cat-meta { color:rgba(255,255,255,.85); }
.cs1-side { display:flex; flex-direction:column; gap:14px; }
.cs1-row { display:flex; gap:14px; background:#fff; border:1px solid #e0e0e0; border-radius:0; padding:12px; flex:1; align-items:flex-start; }
.cs1-thumb { width:180px; flex-shrink:0; overflow:hidden; }
.cs1-thumb img { width:100%; height:112px; object-fit:cover; display:block; }
.cs1-row h4 { font-size:16px; line-height:1.35; margin:6px 0 0; }
.cs1-row h4 a { color:#241f1b; text-decoration:none; }
.cs1-row h4 a:hover { color:#e8541a; }
.cs2 { display:grid; grid-template-columns:repeat(3,1fr); gap:20px 24px; }
.cs2-card { display:flex; gap:14px; align-items:flex-start; }
.cs2-thumb { width:112px; height:112px; flex-shrink:0; overflow:hidden; border-radius:0; }
.cs2-thumb img { width:100%; height:100%; object-fit:cover; display:block; }
.cs2-card h4 { font-size:15px; line-height:1.3; margin:6px 0 0; }
.cs2-card h4 a { color:#241f1b; text-decoration:none; }
.cs2-card h4 a:hover { color:#e8541a; }
.cs3 { display:grid; grid-template-columns:1.4fr 1fr; grid-template-rows:repeat(2,215px); gap:18px; }
.cs3-card { position:relative; overflow:hidden; border-radius:0; }
.cs3-card.is-big { grid-row:1 / span 2; }
.cs3-card > a { position:absolute; inset:0; display:block; }
.cs3-card img { width:100%; height:100%; object-fit:cover; display:block; }
.cs3-cap { position:absolute; left:0; right:0; bottom:0; padding:50px 20px 16px; background:linear-gradient(to top, rgba(20,14,10,.92), rgba(0,0,0,0)); }
.cs3-cap h4 { margin:8px 0 4px; font-size:18px; line-height:1.25; }
.cs3-cap h4 a { color:#fff; text-decoration:none; }
.cs3-cap .cat-meta { color:rgba(255,255,255,.85); margin-top:4px; }
.cs4 { display:grid; grid-template-columns:1fr 1fr; gap:14px 30px; }
.cs4-row { display:flex; gap:16px; align-items:flex-start; padding:14px 0; border-bottom:1px solid #e0e0e0; }
.cs4-thumb { width:160px; flex-shrink:0; overflow:hidden; border-radius:0; }
.cs4-thumb img { width:100%; height:100px; object-fit:cover; display:block; }
.cs4-row h4 { font-size:17px; line-height:1.3; margin:6px 0 0; }
.cs4-row h4 a { color:#241f1b; text-decoration:none; }
.cs4-row h4 a:hover { color:#e8541a; }
.cs5 { display:grid; grid-template-columns:repeat(6,1fr); gap:18px; }
.cs5-card { grid-column:span 2; }
.cs5-card.is-top { grid-column:span 3; }
.cs5-thumb { display:block; overflow:hidden; border-radius:0; }
.cs5-thumb img { width:100%; height:235px; object-fit:cover; display:block; }
.cs5-card:not(.is-top) .cs5-thumb img { height:145px; }
.cs5-card h4 { font-size:18px; margin:10px 0 0; line-height:1.3; }
.cs5-card:not(.is-top) h4 { font-size:15px; }
.cs5-card h4 a { color:#241f1b; text-decoration:none; }
.cs5-card h4 a:hover { color:#e8541a; }
.cs6 { display:grid; grid-template-columns:1.4fr 1fr; gap:18px; }
.cs6-lead { background:#fff; border:1px solid #e0e0e0; border-radius:0; box-shadow:0 1px 3px rgba(0,0,0,.08); padding:16px; }
.cs6-lead > a { display:block; overflow:hidden; margin:-16px -16px 14px; }
.cs6-lead img { width:100%; height:300px; object-fit:cover; display:block; }
.cs6-lead h4 { font-size:21px; line-height:1.3; margin:8px 0; }
.cs6-lead h4 a { color:#241f1b; text-decoration:none; }
.cs6-lead h4 a:hover { color:#e8541a; }
.cs6-lead p { color:#6b625b; font-size:13.5px; line-height:1.65; margin:0; }
.cs6-side { display:flex; flex-direction:column; gap:14px; }
.cs6-row { display:flex; gap:14px; background:#fff; border:1px solid #e0e0e0; border-radius:0; box-shadow:0 1px 3px rgba(0,0,0,.08); padding:12px; flex:1; align-items:center; }
.cs6-thumb { width:150px; flex-shrink:0; overflow:hidden; border-radius:0; }
.cs6-thumb img { width:100%; height:95px; object-fit:cover; display:block; }
.cs6-row h4 { font-size:15px; line-height:1.3; margin:6px 0 0; }
.cs6-row h4 a { color:#241f1b; text-decoration:none; }
.cs6-row h4 a:hover { color:#e8541a; }
.cs7 { display:flex; flex-direction:column; }
.cs7-row { display:flex; gap:24px; padding:20px 0; border-bottom:1px solid #e0e0e0; }
.cs7-row:first-child { padding-top:0; }
.cs7-thumb { width:300px; flex-shrink:0; overflow:hidden; border-radius:0; }
.cs7-thumb img { width:100%; height:170px; object-fit:cover; display:block; }
.cs7-row h4 { font-size:20px; line-height:1.3; margin:6px 0 8px; }
.cs7-row h4 a { color:#241f1b; text-decoration:none; }
.cs7-row h4 a:hover { color:#e8541a; }
.cs7-row p { color:#6b625b; font-size:13.5px; line-height:1.6; margin:0 0 8px; }
.ns-sec-head, .nb-sec-head { display:flex; align-items:flex-end; justify-content:space-between; gap:16px; margin-bottom:18px; }
@media (max-width:900px){
  .cs1, .cs3, .cs6 { grid-template-columns:1fr; }
  .cs2, .cs4 { grid-template-columns:1fr 1fr; }
  .cs3 { grid-template-rows:none; }
  .cs3-card { height:230px; }
  .cs3-card.is-big { grid-row:auto; height:300px; }
  .cs5-card, .cs5-card.is-top { grid-column:span 6; }
}
@media (max-width:640px){
  .cs2, .cs4 { grid-template-columns:1fr; }
}



/* ===== Right sidebar (shared across all three sites) ===== */
.child-single-layout, .child-archive-layout { width:min(1240px,94vw); margin:26px auto;
  display:grid; grid-template-columns:minmax(0,1fr) 300px; gap:30px; align-items:start; }
.child-single .child-main-col, .child-archive .child-main-col { min-width:0; }
.child-single-layout .child-post-content { max-width:none !important; }
/* Normalize archive/single link colors (avoid browser default blue/red underline) */
.child-archive .child-alt-text h3 a, .child-author .child-alt-text h3 a,
.child-single .child-post-meta a, .child-archive .child-alt-text .child-author a { color:var(--child-primary) !important; text-decoration:none !important; }
.child-archive .child-alt-text h3 a:hover, .child-author .child-alt-text h3 a:hover { text-decoration:underline !important; }
.child-sidebar { width:100%; }
.child-sidebar .child-widget { background:#fff; border:1px solid #e5e5e5; padding:18px 16px 20px; margin-bottom:22px; }
.child-sidebar .child-widget-title { font-size:15px; font-weight:800; margin:0 0 14px; padding:0 0 9px;
  border-bottom:2px solid var(--child-primary); position:relative; }
.child-sidebar .child-widget-title::after { content:""; position:absolute; left:0; bottom:-2px; width:44px; height:2px; background:var(--child-primary); }
/* search */
.child-search-form { display:flex; border:1px solid #d8d8d8; }
.child-search-form input { flex:1; min-width:0; border:0; padding:9px 11px; font-size:13px; outline:none; }
.child-search-form button { border:0; background:var(--child-primary); color:#fff; padding:0 16px; font-size:13px; font-weight:700; cursor:pointer; }
/* category list */
.child-widget-cats-list { list-style:none; margin:0; padding:0; }
.child-widget-cats-list li { display:flex; justify-content:space-between; align-items:center;
  padding:8px 0; border-bottom:1px dashed #e6e6e6; }
.child-widget-cats-list li:last-child { border-bottom:0; }
.child-widget-cats-list a { color:#333; font-size:13px; font-weight:600; text-decoration:none; }
.child-widget-cats-list a:hover { color:var(--child-primary); }
.child-widget-cats-list span { color:#fff; background:var(--child-primary); font-size:11px; min-width:22px;
  text-align:center; padding:2px 6px; border-radius:2px; }
/* popular posts with thumbnails */
.child-popular-list { list-style:none; margin:0; padding:0; }
.child-popular-list li { display:flex; gap:11px; padding:10px 0; border-bottom:1px dashed #e6e6e6; }
.child-popular-list li:last-child { border-bottom:0; }
.child-pop-thumb { width:62px; height:48px; flex-shrink:0; overflow:hidden; display:block; }
.child-pop-thumb img { width:100%; height:100%; object-fit:cover; display:block; }
.child-pop-text a { color:#222; font-size:13px; font-weight:700; line-height:1.35; text-decoration:none; display:block; }
.child-pop-text a:hover { color:var(--child-primary); }
.child-pop-text .child-by { color:#999; font-size:11px; }
/* tag cloud */
.child-tag-cloud { display:flex; flex-wrap:wrap; gap:7px; }
.child-tag-cloud a { display:inline-block; background:#f4f4f4; color:#555; font-size:12px; padding:4px 9px;
  text-decoration:none; border:1px solid #e8e8e8; }
.child-tag-cloud a:hover { background:var(--child-primary); color:#fff; border-color:var(--child-primary); }
@media (max-width:960px) {
  .child-single-layout, .child-archive-layout { grid-template-columns:1fr; }
  .child-sidebar { display:grid; grid-template-columns:1fr 1fr; gap:0 18px; }
}
@media (max-width:600px) { .child-sidebar { display:block; } }
