/* CBRN TACTICAL — GLOBAL DESIGN SYSTEM v2.0 */
html,body{background-color:#080d14 !important;color:#cdd5e0 !important}
.wp-site-blocks,.wp-block-group,.entry-content,.wp-block-post-content,main,#main{background-color:#080d14 !important}
header.wp-block-template-part,.wp-block-template-part[class*="header"]{background-color:#060c14 !important;border-bottom:1px solid #1a2e48 !important;position:sticky !important;top:0 !important;z-index:999 !important;box-shadow:0 2px 20px rgba(0,0,0,.6) !important}
header .wp-block-group,header .wp-container-core-group-is-layout-flex{padding:0 clamp(16px,4vw,48px) !important;min-height:64px !important;align-items:center !important}
.wp-block-site-title a,.wp-block-site-title{color:#ffffff !important;font-family:'Oswald',sans-serif !important;font-size:clamp(1.1rem,2.5vw,1.4rem) !important;font-weight:600 !important;letter-spacing:2px !important;text-transform:uppercase !important;text-decoration:none !important}
.wp-block-navigation a,.wp-block-navigation__container a,.wp-block-navigation-item a{color:#fcb900 !important;font-family:'Oswald',sans-serif !important;font-size:.85rem !important;font-weight:500 !important;letter-spacing:1.5px !important;text-transform:uppercase !important;text-decoration:none !important;transition:color .2s ease !important}
.wp-block-navigation a:hover,.wp-block-navigation-item a:hover{color:#e05a00 !important}
.wp-block-categories-list,ul.wp-block-categories-list{background-color:#0d1520 !important;border-bottom:1px solid #1a2e48 !important;padding:14px clamp(16px,4vw,48px) !important;margin:0 !important;display:flex !important;flex-wrap:wrap !important;gap:8px !important;list-style:none !important;justify-content:center !important}
.wp-block-categories-list li{margin:0 !important;padding:0 !important}
.wp-block-categories-list a{display:inline-block !important;padding:5px 14px !important;background:rgba(252,185,0,.08) !important;border:1px solid rgba(252,185,0,.25) !important;border-radius:3px !important;color:#fcb900 !important;font-family:'Oswald',sans-serif !important;font-size:.72rem !important;font-weight:500 !important;letter-spacing:2px !important;text-transform:uppercase !important;text-decoration:none !important;transition:all .2s ease !important;white-space:nowrap !important}
.wp-block-categories-list a:hover{background:rgba(252,185,0,.18) !important;border-color:#fcb900 !important;color:#fff !important}
.wp-block-post-template li,.wp-block-post-template .wp-block-post,article.wp-block-post{background:#0d1520 !important;border:1px solid #1a2e48 !important;border-radius:8px !important;overflow:hidden !important;transition:transform .2s ease,border-color .2s ease,box-shadow .2s ease !important}
.wp-block-post-template li:hover,article.wp-block-post:hover{transform:translateY(-3px) !important;border-color:#fcb900 !important;box-shadow:0 8px 32px rgba(252,185,0,.1) !important}
.wp-block-post-title a,.wp-block-post-title,.entry-title a,.entry-title{color:#e8edf5 !important;font-family:'Oswald',sans-serif !important;font-size:clamp(1rem,2.2vw,1.35rem) !important;font-weight:600 !important;letter-spacing:.5px !important;line-height:1.35 !important;text-decoration:none !important;transition:color .2s !important;word-break:keep-all !important}
.wp-block-post-title a:hover,.entry-title a:hover{color:#fcb900 !important}
.wp-block-post-terms a,.cat-links a,.wp-block-post-terms{color:#fcb900 !important;font-family:'Oswald',sans-serif !important;font-size:.7rem !important;font-weight:500 !important;letter-spacing:2px !important;text-transform:uppercase !important;text-decoration:none !important}
.wp-block-post-excerpt__excerpt,.entry-summary p,.wp-block-post-excerpt p{color:#8a9db5 !important;font-family:'Inter','Noto Sans KR',sans-serif !important;font-size:.88rem !important;line-height:1.7 !important;word-break:keep-all !important}
.wp-block-post-date,.wp-block-post-date time,.posted-on,.entry-date{color:#4a6080 !important;font-size:.78rem !important;font-family:'Inter',sans-serif !important;letter-spacing:.5px !important}
.entry-content p,.post-content p,.wp-block-post-content p{color:#c8d5e5 !important;font-family:'Inter','Noto Sans KR',sans-serif !important;font-size:clamp(15px,1.8vw,17px) !important;line-height:1.85 !important;letter-spacing:-.01em !important;word-break:keep-all !important;overflow-wrap:break-word !important;margin-bottom:1.4em !important}
.entry-content h2,.post-content h2{font-family:'Oswald',sans-serif !important;color:#e8edf5 !important;border-left:4px solid #e05a00 !important;padding-left:14px !important;margin:2em 0 .8em !important;letter-spacing:.5px !important}
.entry-content strong,.post-content strong{color:#e8a855 !important;font-weight:600 !important}
.entry-content figure img,.wp-block-image img{border-radius:6px !important;width:100% !important}
.wp-block-post-featured-image img{aspect-ratio:16/9;object-fit:cover !important}
.wp-block-separator,hr{border-color:#1a2e48 !important;opacity:1 !important}
.wp-block-post-content,.entry-content{max-width:860px !important;margin-left:auto !important;margin-right:auto !important}
.wp-block-query-pagination a,.page-numbers a{color:#fcb900 !important;border:1px solid #1a2e48 !important;padding:6px 14px !important;border-radius:3px !important;font-family:'Oswald',sans-serif !important;font-size:.85rem !important;text-decoration:none !important}
.wp-block-query-pagination a:hover,.page-numbers a:hover{background:rgba(252,185,0,.1) !important;border-color:#fcb900 !important}
footer.wp-block-template-part,.site-footer{background-color:#040810 !important;border-top:1px solid #1a2e48 !important;color:#4a6080 !important;padding:32px clamp(16px,4vw,48px) !important}
footer a{color:#6a8fb5 !important;text-decoration:none !important}
::-webkit-scrollbar{width:6px;background:#060c14}
::-webkit-scrollbar-thumb{background:#1a2e48;border-radius:3px}
::-webkit-scrollbar-thumb:hover{background:#fcb900}
a{color:#7ec8e3;transition:color .2s}
a:hover{color:#fcb900}
.wp-block-button__link{background:#e05a00 !important;color:#fff !important;border:none !important;border-radius:4px !important;font-family:'Oswald',sans-serif !important;font-weight:500 !important;letter-spacing:1px !important;text-transform:uppercase !important;padding:10px 24px !important;transition:background .2s !important}
.wp-block-button__link:hover{background:#fcb900 !important;color:#000 !important}
.wp-block-search__input{background:#0d1520 !important;border:1px solid #1a2e48 !important;color:#c8d5e5 !important;border-radius:4px !important;padding:8px 14px !important}
.alignfull,.wp-block-group.alignfull{background-color:#080d14 !important}
.entry-content table,.wp-block-table table{width:100% !important;border-collapse:collapse !important;margin:1.5em 0 !important;font-size:.88rem !important;background:#0d1520 !important}
.entry-content th,.wp-block-table th{background:#111e2e !important;color:#fcb900 !important;padding:10px 12px !important;text-align:left !important;border-bottom:2px solid #1a2e48 !important;font-family:'Oswald',sans-serif !important;letter-spacing:1px !important}
.entry-content td,.wp-block-table td{padding:8px 12px !important;border-bottom:1px solid #1a2e48 !important;color:#b8c8d8 !important}
.entry-content tr:nth-child(even) td,.wp-block-table tr:nth-child(even) td{background:rgba(252,185,0,.03) !important}
.has-background{background-color:#0d1520 !important}
h1.wp-block-heading,h2.wp-block-heading{font-family:'Oswald',sans-serif !important;color:#e8edf5 !important;letter-spacing:1px !important;word-break:keep-all !important}

/* === CATEGORY NAV BAR FIX v2.1 === */
div[style*="justify-content:center"]{background:#0d1520 !important;border-bottom:1px solid #1a2e48 !important}
div[style*="justify-content:center"] a[href*="/category/"]{display:inline-block !important;padding:5px 16px !important;background:rgba(252,185,0,.08) !important;border:1px solid rgba(252,185,0,.25) !important;border-radius:3px !important;color:#fcb900 !important;font-family:'Oswald',sans-serif !important;font-size:.72rem !important;letter-spacing:2px !important;text-transform:uppercase !important;text-decoration:none !important;transition:all .2s ease !important}
div[style*="justify-content:center"] a[href*="/category/"]:hover{background:rgba(252,185,0,.2) !important;border-color:rgba(252,185,0,.7) !important;color:#fff !important;transform:translateY(-1px) !important}
div[style*="justify-content:center"] a[href*="/category/"].current-cat{background:rgba(252,185,0,.18) !important;border-color:#fcb900 !important;color:#fcb900 !important}
/* === POST CARD GRID === */
.wp-block-post-template li{background:#0d1520 !important;border:1px solid #1a2e48 !important;border-radius:8px !important;overflow:hidden !important;transition:transform .2s,border-color .2s,box-shadow .2s !important}
.wp-block-post-template li:hover{transform:translateY(-3px) !important;border-color:rgba(252,185,0,.4) !important;box-shadow:0 8px 32px rgba(252,185,0,.08) !important}
.wp-block-post-title a{color:#e8edf5 !important;font-family:'Oswald',sans-serif !important;line-height:1.35 !important;word-break:keep-all !important;text-decoration:none !important}
.wp-block-post-title a:hover{color:#fcb900 !important}
/* === ACADEMY / GROUPS === */
.wp-block-group.has-background{background:#0d1520 !important;border:1px solid #1a2e48 !important;border-radius:8px !important}
/* === FOOTER === */
footer.wp-block-template-part p,footer.wp-block-template-part a{color:#4a5568 !important;font-size:.8rem !important}
footer.wp-block-template-part a:hover{color:#fcb900 !important}


/* === HOMEPAGE CARD COLOR UNIFICATION v2.2 === */
/* GitHub dark (#0D1117) → CBRN tactical dark (#080d14) */
div[style*="background:#0D1117"],div[style*="background-color:#0D1117"]{background:#080d14 !important}
/* Article cards (#1C2128) → theme card (#0e1622) + hover effect */
div[style*="background:#1C2128"]{background:#0e1622 !important;border-color:#1e3048 !important;transition:transform .2s ease,border-color .2s ease,box-shadow .2s ease !important}
a[style*="text-decoration:none"]:hover div[style*="background:#1C2128"],a[style*="text-decoration:none"]:hover div[style*="background:#0e1622"]{transform:translateY(-3px) !important;border-color:rgba(252,185,0,.4) !important;box-shadow:0 8px 28px rgba(252,185,0,.1) !important}
/* GitHub secondary (#161B22) → theme secondary */
div[style*="background:#161B22"]{background:#0a1420 !important}
/* Academy purple (#1a1a2e) → theme deep navy */
div[style*="background-color:#1a1a2e"]{background-color:#060d1a !important}
/* Category nav links — gold color override (inline style override) */
a[style*="color:#d4a017"]{color:#fcb900 !important}
/* Section wrapper max-width containers — ensure dark bg */
div[style*="max-width:1200px"]{background:transparent !important}
/* Latest Articles/section headers */
div[style*="background:linear-gradient(135deg,#0D111"]{background:linear-gradient(135deg,#080d14,#0d1520) !important}

/* === SCROLLBAR REFINEMENT === */
::-webkit-scrollbar{width:5px;background:#060c14}
::-webkit-scrollbar-thumb{background:#1a2e48;border-radius:3px}
::-webkit-scrollbar-thumb:hover{background:#fcb900}

/* === RESPONSIVE MOBILE === */
@media(max-width:768px){
  div[style*="display:grid;grid-template-columns:repeat(3"]{grid-template-columns:1fr !important;display:block !important}
  div[style*="display:grid;grid-template-columns:repeat(2"]{grid-template-columns:1fr !important;display:block !important}
  div[style*="justify-content:center"]{gap:10px !important;padding:12px 8px !important;flex-wrap:wrap !important}
}


/* === CAT NAV 1-LINE FIX v2.3 === */
div[style*="justify-content:center"]{
  gap:8px !important;
  padding:12px clamp(12px,3vw,40px) !important;
  flex-wrap:nowrap !important;
  overflow-x:auto !important;
  -webkit-overflow-scrolling:touch !important;
  scrollbar-width:none !important;
}
div[style*="justify-content:center"]::-webkit-scrollbar{display:none !important}
div[style*="justify-content:center"] a[href*="/category/"]{
  padding:4px 11px !important;
  font-size:.68rem !important;
  letter-spacing:1.2px !important;
  white-space:nowrap !important;
  flex-shrink:0 !important;
}

/* === MOBILE 768px 이하: 2줄 허용, 스크롤 */
@media(max-width:768px){
  div[style*="justify-content:center"]{
    flex-wrap:wrap !important;
    overflow-x:hidden !important;
    justify-content:center !important;
  }
}


/* === LATEST ARTICLES LIMIT TO 5 v2.4 === */
/* Grid: 6번째 카드 숨기기 */
div[style*="grid-template-columns:repeat(3,1fr)"] > div:nth-child(6){display:none !important}
/* Grid: 5개 = 3+2 레이아웃 가운데 정렬 */
div[style*="grid-template-columns:repeat(3,1fr)"]{justify-items:center !important}

/* Ticker: 6번째 이상 margin:0.3em 항목 숨기기 (CSS :nth-child of selector - Chrome 111+) */
div[style*="max-width:1200px"] > div[style="margin:0.3em 0"]:nth-child(6 of div[style="margin:0.3em 0"]){display:none !important}
div[style*="max-width:1200px"] > div[style="margin:0.3em 0"]:nth-child(n+7 of div[style="margin:0.3em 0"]){display:none !important}

/* Category section rows 스타일 개선 */
div[style*="padding:14px 0;border-bottom"]{border-bottom-color:#1a2e48 !important;padding:12px 0 !important}
div[style*="padding:14px 0;border-bottom"] a{color:#7ec8e3 !important;font-size:.9rem !important}
div[style*="padding:14px 0;border-bottom"] a:first-child{color:#fcb900 !important;font-family:'Oswald',sans-serif !important;font-size:.72rem !important;letter-spacing:1.5px !important;text-transform:uppercase !important;margin-right:10px !important}

/* === ARCHIVE VISUAL CARDS v3.0 · 2026-09-24 === */
/* CBRN Tactical archive visual system v3
   Scope: archive/category pages only. Existing public media, decorative use.
   No performance, certification or field-validation claim is introduced. */

body.archive main{
  width:min(100% - 48px,1480px);
  margin-inline:auto;
  padding-block:72px 88px;
}

body.archive .wp-block-query-title{
  max-width:1480px;
  margin:0 auto 42px;
  color:#e9f3f4;
  font-size:clamp(34px,4vw,58px);
  font-weight:520;
  line-height:1.05;
  letter-spacing:.025em;
}

body.archive ul.wp-block-post-template{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:22px;
  width:100%;
  margin:0;
  padding:0;
}

body.archive li.wp-block-post{
  position:relative;
  display:flex;
  flex-direction:column;
  min-width:0;
  min-height:100%;
  overflow:hidden;
  border:1px solid #27414b;
  border-radius:12px;
  background:#0d1d25;
  box-shadow:0 14px 36px rgba(0,0,0,.16);
}

body.archive li.wp-block-post::before{
  content:"";
  display:block;
  width:100%;
  aspect-ratio:16/9;
  flex:none;
  background-color:#10252e;
  background-image:linear-gradient(180deg,rgba(7,17,23,.03),rgba(7,17,23,.34)),url("https://cbrntactical.com/wp-content/uploads/2026/09/uav-ugv-hero-en.webp");
  background-position:center;
  background-size:cover;
  background-repeat:no-repeat;
  border-bottom:1px solid #27414b;
}

body.archive li.wp-block-post:nth-child(6n+2)::before{background-image:linear-gradient(180deg,rgba(7,17,23,.03),rgba(7,17,23,.34)),url("https://cbrntactical.com/wp-content/uploads/2026/09/six-layer-loop.webp")}
body.archive li.wp-block-post:nth-child(6n+3)::before{background-image:linear-gradient(180deg,rgba(7,17,23,.03),rgba(7,17,23,.34)),url("https://cbrntactical.com/wp-content/uploads/2026/06/c1-dashboard-ops.webp")}
body.archive li.wp-block-post:nth-child(6n+4)::before{background-image:linear-gradient(180deg,rgba(7,17,23,.03),rgba(7,17,23,.34)),url("https://cbrntactical.com/wp-content/uploads/2026/03/featured-post-1720.webp")}
body.archive li.wp-block-post:nth-child(6n+5)::before{background-image:linear-gradient(180deg,rgba(7,17,23,.03),rgba(7,17,23,.34)),url("https://cbrntactical.com/wp-content/uploads/2026/03/featured-post-1958.avif")}
body.archive li.wp-block-post:nth-child(6n+6)::before{background-image:linear-gradient(180deg,rgba(7,17,23,.03),rgba(7,17,23,.34)),url("https://cbrntactical.com/wp-content/uploads/2026/03/featured-post-1960.avif")}

/* Category-specific visual vocabulary. The images were reviewed as actual files. */
body.category-cbrn-cads li.wp-block-post:nth-child(6n+1)::before{background-image:linear-gradient(180deg,rgba(7,17,23,.03),rgba(7,17,23,.34)),url("https://cbrntactical.com/wp-content/uploads/2026/06/c1-dashboard-ops.webp")}
body.category-cbrn-cads li.wp-block-post:nth-child(6n+2)::before{background-image:linear-gradient(180deg,rgba(7,17,23,.03),rgba(7,17,23,.34)),url("https://cbrntactical.com/wp-content/uploads/2026/09/six-layer-loop.webp")}
body.category-cbrn-cads li.wp-block-post:nth-child(6n+3)::before{background-image:linear-gradient(180deg,rgba(7,17,23,.03),rgba(7,17,23,.34)),url("https://cbrntactical.com/wp-content/uploads/2026/03/featured-post-1958.avif")}
body.category-cbrn-cads li.wp-block-post:nth-child(6n+4)::before{background-image:linear-gradient(180deg,rgba(7,17,23,.03),rgba(7,17,23,.34)),url("https://cbrntactical.com/wp-content/uploads/2026/03/featured-post-1720.webp")}
body.category-cbrn-cads li.wp-block-post:nth-child(6n+5)::before{background-image:linear-gradient(180deg,rgba(7,17,23,.03),rgba(7,17,23,.34)),url("https://cbrntactical.com/wp-content/uploads/2026/03/featured-post-1960.avif")}
body.category-cbrn-cads li.wp-block-post:nth-child(6n+6)::before{background-image:linear-gradient(180deg,rgba(7,17,23,.03),rgba(7,17,23,.34)),url("https://cbrntactical.com/wp-content/uploads/2026/03/featured-post-1740.webp")}

body.category-blis-d li.wp-block-post:nth-child(6n+1)::before{background-image:linear-gradient(180deg,rgba(7,17,23,.04),rgba(7,17,23,.28)),url("https://cbrntactical.com/wp-content/uploads/2026/09/uav-module.webp")}
body.category-blis-d li.wp-block-post:nth-child(6n+2)::before{background-image:linear-gradient(180deg,rgba(7,17,23,.04),rgba(7,17,23,.28)),url("https://cbrntactical.com/wp-content/uploads/2026/09/ugv-module.webp")}
body.category-blis-d li.wp-block-post:nth-child(6n+3)::before{background-image:linear-gradient(180deg,rgba(7,17,23,.04),rgba(7,17,23,.28)),url("https://cbrntactical.com/wp-content/uploads/2026/09/uav-ugv-hero-en.webp")}

body.category-military-history li.wp-block-post:nth-child(4n+1)::before{background-image:linear-gradient(180deg,rgba(7,17,23,.03),rgba(7,17,23,.34)),url("https://cbrntactical.com/wp-content/uploads/2026/03/featured-post-1740.webp")}
body.category-military-history li.wp-block-post:nth-child(4n+2)::before{background-image:linear-gradient(180deg,rgba(7,17,23,.03),rgba(7,17,23,.34)),url("https://cbrntactical.com/wp-content/uploads/2026/03/featured-post-1744.webp")}
body.category-military-history li.wp-block-post:nth-child(4n+3)::before{background-image:linear-gradient(180deg,rgba(7,17,23,.03),rgba(7,17,23,.34)),url("https://cbrntactical.com/wp-content/uploads/2026/03/featured-post-1722.webp")}
body.category-military-history li.wp-block-post:nth-child(4n+4)::before{background-image:linear-gradient(180deg,rgba(7,17,23,.03),rgba(7,17,23,.34)),url("https://cbrntactical.com/wp-content/uploads/2026/03/featured-post-1960.avif")}

body.category-news-brief li.wp-block-post:nth-child(4n+1)::before{background-image:linear-gradient(180deg,rgba(7,17,23,.03),rgba(7,17,23,.34)),url("https://cbrntactical.com/wp-content/uploads/2026/03/featured-post-1720.webp")}
body.category-news-brief li.wp-block-post:nth-child(4n+2)::before{background-image:linear-gradient(180deg,rgba(7,17,23,.03),rgba(7,17,23,.34)),url("https://cbrntactical.com/wp-content/uploads/2026/03/featured-post-1722.webp")}
body.category-news-brief li.wp-block-post:nth-child(4n+3)::before{background-image:linear-gradient(180deg,rgba(7,17,23,.03),rgba(7,17,23,.34)),url("https://cbrntactical.com/wp-content/uploads/2026/03/featured-post-1726.webp")}
body.category-news-brief li.wp-block-post:nth-child(4n+4)::before{background-image:linear-gradient(180deg,rgba(7,17,23,.03),rgba(7,17,23,.34)),url("https://cbrntactical.com/wp-content/uploads/2026/03/featured-post-1958.avif")}

body.archive li.wp-block-post > *:not(.wp-block-post-featured-image){
  margin-left:24px;
  margin-right:24px;
}

body.archive li.wp-block-post > :first-child:not(.wp-block-post-featured-image){margin-top:23px}
body.archive li.wp-block-post > :last-child{margin-bottom:25px}

body.archive .wp-block-post-title{
  margin-top:23px;
  margin-bottom:12px;
  font-size:clamp(20px,1.65vw,28px);
  line-height:1.26;
  letter-spacing:-.025em;
  display:-webkit-box;
  -webkit-box-orient:vertical;
  -webkit-line-clamp:3;
  overflow:hidden;
}

body.archive .wp-block-post-title a{color:#e7c166;text-decoration:none}
body.archive .wp-block-post-title a:hover{color:#66dce8;text-decoration:none}
body.archive .wp-block-post-excerpt{margin-top:auto;color:#9db2bc;font-size:15px;line-height:1.65}
body.archive .wp-block-post-excerpt__excerpt{
  display:-webkit-box;
  -webkit-box-orient:vertical;
  -webkit-line-clamp:2;
  overflow:hidden;
  margin:0;
}
body.archive .wp-block-post-excerpt__more-link{display:inline-flex;margin-top:15px;color:#66dce8;font-size:13px;font-weight:650}

/* A single Doctrine article is presented as a feature, not a stranded grid tile. */
body.category-doctrine ul.wp-block-post-template{grid-template-columns:minmax(0,1000px);justify-content:center}
body.category-doctrine li.wp-block-post{display:grid;grid-template-columns:minmax(340px,.95fr) minmax(0,1.05fr);align-items:center}
body.category-doctrine li.wp-block-post::before{
  grid-column:1;
  grid-row:1/8;
  height:100%;
  min-height:390px;
  aspect-ratio:auto;
  border-right:1px solid #27414b;
  border-bottom:0;
  background-color:#09131b;
  background-image:url("https://cbrntactical.com/wp-content/uploads/2026/06/c1-diagram-killchain.webp");
  background-size:contain;
}
body.category-doctrine li.wp-block-post > *{grid-column:2}

@media(max-width:1050px){
  body.archive ul.wp-block-post-template{grid-template-columns:repeat(2,minmax(0,1fr))}
  body.archive main{width:min(100% - 36px,1480px);padding-block:54px 72px}
  body.category-doctrine li.wp-block-post{grid-template-columns:minmax(280px,.9fr) minmax(0,1.1fr)}
}

@media(max-width:680px){
  body.archive main{width:min(100% - 28px,1480px);padding-block:38px 56px}
  body.archive .wp-block-query-title{margin-bottom:26px;font-size:36px}
  body.archive ul.wp-block-post-template{grid-template-columns:1fr;gap:18px}
  body.archive li.wp-block-post > *:not(.wp-block-post-featured-image){margin-left:18px;margin-right:18px}
  body.archive .wp-block-post-title{font-size:22px;margin-top:19px}
  body.archive .wp-block-post-excerpt{font-size:14px}
  body.category-doctrine li.wp-block-post{display:flex}
  body.category-doctrine li.wp-block-post::before{width:100%;height:auto;min-height:0;aspect-ratio:16/9;border-right:0;border-bottom:1px solid #27414b}
  body.category-doctrine li.wp-block-post > *{grid-column:auto}
}

@media(prefers-reduced-motion:no-preference){
  body.archive li.wp-block-post{transition:transform .18s ease,border-color .18s ease,box-shadow .18s ease}
  body.archive li.wp-block-post:hover{transform:translateY(-3px);border-color:#3f6975;box-shadow:0 18px 42px rgba(0,0,0,.25)}
}


/* CBRN Tactical archive visual system v3.1 — Doctrine live-QA correction.
   Append after category-card-visuals-v3.css. */
body.category-doctrine li.wp-block-post::before{display:none}
body.category-doctrine li.wp-block-post > .wp-block-post-featured-image{
  display:block;
  grid-column:1;
  grid-row:1;
  align-self:stretch;
  min-height:320px;
  margin:0!important;
  overflow:hidden;
  border-right:1px solid #27414b;
  border-bottom:0;
  background:#09131b;
}
body.category-doctrine li.wp-block-post > .wp-block-post-featured-image img{
  display:block;
  width:100%;
  height:100%;
  min-height:320px;
  object-fit:contain;
  background:#09131b;
}
body.category-doctrine li.wp-block-post > .wp-block-group{
  grid-column:2;
  grid-row:1;
  align-self:center;
}

@media(max-width:680px){
  body.category-doctrine li.wp-block-post > .wp-block-post-featured-image{
    width:100%;
    min-height:0;
    border-right:0;
    border-bottom:1px solid #27414b;
  }
  body.category-doctrine li.wp-block-post > .wp-block-post-featured-image img{
    width:100%;
    height:auto;
    min-height:0;
    aspect-ratio:16/9;
    object-fit:contain;
  }
  body.category-doctrine li.wp-block-post > .wp-block-group{width:auto;align-self:stretch}
}


/* v3.1 Doctrine featured-image fit correction */
body.category-doctrine li.wp-block-post > .wp-block-post-featured-image img{object-fit:contain!important}
