/*
Theme Name: DefenseBook
Author: Sentry Media Group
Description: Theme for DefenseBook, the defense procurement news site. Requires the DefenseBook Core plugin.
Version: 1.6.2
Requires at least: 6.0
Text Domain: defensebook
*/

*,*::before,*::after{box-sizing:border-box}
body{margin:0;font-family:'IBM Plex Sans',sans-serif;color:#101418;background:#fff;font-size:16px;line-height:1.5}
a{color:inherit;text-decoration:none}
a:hover{text-decoration:underline}
img{max-width:100%;height:auto;display:block}
h1,h2,h3,p,dl,dd,figure{margin:0}
.mono{font-family:'IBM Plex Mono',monospace}
.wrap{max-width:1280px;margin:0 auto;padding:0 24px}
.accent{color:#0B6B4F}
.kicker{font-family:'IBM Plex Mono',monospace;font-size:12px;font-weight:600;letter-spacing:.06em;color:#0B6B4F;text-transform:uppercase}
.label{font-family:'IBM Plex Mono',monospace;font-size:11px;letter-spacing:.06em;color:#4A5560;text-transform:uppercase}
.screen-reader-text{position:absolute;left:-9999px}

.net{background:#0E1A24;color:#C9D3DB;font-size:13px}
.net-in{display:flex;flex-wrap:wrap;gap:8px 20px;align-items:center;min-height:44px}
.net-tag{font-size:12px;letter-spacing:.06em;color:#fff}
.net-date{font-size:12px;margin-left:auto}

.mast{border-bottom:3px solid #101418}
.mast-in{display:flex;flex-wrap:wrap;gap:16px 32px;align-items:flex-end;justify-content:space-between;padding-top:28px;padding-bottom:20px}
.logo{font-size:52px;font-weight:700;letter-spacing:-.03em;line-height:1;display:flex;align-items:center;gap:14px}
.mast.compact .mark{width:28px;height:28px}
.foot-name .mark{display:inline-block;vertical-align:-4px;margin-right:10px}
.logo:hover{text-decoration:none}
.tagline{display:block;margin-top:6px;font-family:'IBM Plex Mono',monospace;font-size:13px;letter-spacing:.04em;color:#4A5560}
.mast.compact .mast-in{padding-top:16px;padding-bottom:8px;align-items:center}
.mast.compact .logo{font-size:32px}
.mast.compact .tagline{display:none}
.mast-tools{display:flex;flex-wrap:wrap;gap:12px;align-items:center}
.sform{display:flex}
.sform input{min-height:44px;padding:0 12px;border:1px solid #101418;border-right:0;font:inherit;font-size:14px;width:180px}
.sform button,.btn{display:inline-flex;align-items:center;min-height:44px;padding:0 18px;border:1px solid #101418;background:#fff;font:inherit;font-size:14px;font-weight:600;cursor:pointer;color:#101418}
.btn-solid{background:#0B6B4F;border-color:#0B6B4F;color:#fff}
.nav{display:flex;flex-wrap:wrap;gap:0 28px;font-size:15px;font-weight:600}
.nav a{display:inline-flex;align-items:center;min-height:44px}

.ticker{background:#F1F4F3;border-bottom:1px solid #D5DBD9}
.ticker-in{display:flex;align-items:center;gap:16px;min-height:44px;font-family:'IBM Plex Mono',monospace;font-size:13px}
.ticker-tag{flex:0 0 auto;font-weight:600;color:#0B6B4F}
.ticker-win{flex:1 1 auto;min-width:0;overflow:hidden}
.ticker-track{display:flex;gap:44px;width:max-content;white-space:nowrap;animation:dbt-tick 70s linear infinite}
.ticker-track a{display:inline-flex;align-items:center;min-height:44px}
.ticker:hover .ticker-track,.ticker:focus-within .ticker-track{animation-play-state:paused}
@keyframes dbt-tick{from{transform:translateX(0)}to{transform:translateX(-50%)}}
@media (prefers-reduced-motion:reduce){.ticker-track{animation:none}.ticker-win{overflow-x:auto}}
.flag{display:inline-block;width:20px;height:14px;object-fit:cover;margin-right:7px;vertical-align:-2px;border:1px solid rgba(16,20,24,.18)}
.nowrap{white-space:nowrap}

.main{display:flex;flex-direction:column;gap:48px;padding-top:32px}
.top{display:flex;flex-wrap:wrap;gap:32px}
.lead-col{flex:2 1 420px;display:flex;flex-direction:column;gap:28px;min-width:0}
.lead{display:flex;flex-direction:column;gap:16px;min-width:0}
.also{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px;padding-top:24px;border-top:2px solid #101418}
.also .card h3{font-size:19px}
.lead-img{height:320px;background:#E3E8E6;overflow:hidden}
.lead-img img{width:100%;height:100%;object-fit:cover}
.lead h1{font-size:38px;line-height:1.12;letter-spacing:-.02em}
.lead .dek{font-size:18px;color:#333C44}
.facts{display:grid;grid-template-columns:repeat(2,1fr);border:1px solid #101418}
.facts div{padding:12px 14px;border-top:1px solid #D5DBD9;border-right:1px solid #D5DBD9}
.facts div:nth-child(2n){border-right:0}
.facts div:nth-child(-n+2){border-top:0}
.facts dd{margin-top:4px;font-weight:600}
.facts-3 div:last-child,.facts-1 div:last-child{grid-column:1/-1;border-right:0}
.stories{flex:1 1 260px;min-width:0}
.sec-h{font-family:'IBM Plex Mono',monospace;font-size:13px;letter-spacing:.06em;padding-bottom:10px;border-bottom:2px solid #101418;text-transform:uppercase}
.story{padding:16px 0;border-bottom:1px solid #D5DBD9;display:flex;flex-direction:column;gap:6px}
.story:last-child{border-bottom:0}
.story h3{font-size:19px;line-height:1.25}
.story .val{font-family:'IBM Plex Mono',monospace;font-size:13px;color:#333C44}

.book{flex:1.4 1 340px;background:#0E1A24;color:#fff;padding:20px;display:flex;flex-direction:column;gap:12px;min-width:0}
.book-h{display:flex;justify-content:space-between;align-items:baseline;gap:12px}
.book-h h2{font-size:22px}
.book-h span{font-family:'IBM Plex Mono',monospace;font-size:12px;color:#C9D3DB}
.book p{font-size:14px;color:#C9D3DB}
.scroll{overflow-x:auto}
.book table{width:100%;min-width:320px;border-collapse:collapse;font-family:'IBM Plex Mono',monospace;font-size:13px}
.book th{text-align:left;padding:8px;font-size:11px;font-weight:500;letter-spacing:.06em;color:#C9D3DB;border-bottom:1px solid #3B4A57}
.book td{padding:11px 8px;border-bottom:1px solid #24323E;vertical-align:top}
.book th:first-child,.book td:first-child{padding-left:0}
.book th:last-child,.book td:last-child{padding-right:0;text-align:right}
.book td:last-child,.book .more{color:#8FE0C0}
.book-list{list-style:none;margin:0;padding:0;font-family:'IBM Plex Mono',monospace;font-size:13px}
.book-list li{border-bottom:1px solid #24323E}
.book-list a{display:block;padding:11px 0}
.book-list a:hover{text-decoration:none}
.book-list a:hover .book-parties{text-decoration:underline}
.book-top{display:flex;justify-content:space-between;gap:12px}
.book-val{color:#8FE0C0;white-space:nowrap;text-align:right}
.book-sys{display:block;margin-top:3px;color:#C9D3DB}
.book .more{display:inline-flex;align-items:center;min-height:44px;font-weight:600;font-size:14px}

.band-h{display:flex;flex-wrap:wrap;justify-content:space-between;align-items:baseline;gap:8px;padding-bottom:10px;border-bottom:2px solid #101418;margin-bottom:8px}
.band-h h1,.band-h h2{font-size:26px;letter-spacing:-.01em}
.band-h a{font-size:14px;font-weight:600;color:#0B6B4F}
.table{width:100%;min-width:640px;border-collapse:collapse;font-size:15px}
.table th{text-align:left;padding:8px 12px;font-family:'IBM Plex Mono',monospace;font-size:11px;font-weight:500;letter-spacing:.06em;color:#4A5560}
.table td{padding:14px 12px;border-top:1px solid #D5DBD9;vertical-align:top}
.table th:first-child,.table td:first-child{padding-left:0}
.table th:last-child,.table td:last-child{padding-right:0;text-align:right}
.table .num{font-family:'IBM Plex Mono',monospace}
.table .strong{font-weight:600}

.cols{display:grid;grid-template-columns:repeat(auto-fit,minmax(260px,1fr));gap:32px}
.col h2{font-size:20px;padding-bottom:10px;border-bottom:2px solid #101418}
.col a.item,.rail a.item{display:block;padding:14px 0;border-bottom:1px solid #D5DBD9;font-size:17px;font-weight:600;line-height:1.3}
.col a.item:last-child,.rail a.item:last-child{border-bottom:0}

.list-item{padding:20px 0;border-bottom:1px solid #D5DBD9;display:flex;flex-direction:column;gap:6px;max-width:820px}
.list-item h2{font-size:24px;line-height:1.2}
.list-item p{color:#333C44}
.pagination{padding:24px 0;font-weight:600}
.pagination .nav-links{display:flex;flex-wrap:wrap;gap:8px}
.pagination .page-numbers{display:inline-flex;align-items:center;justify-content:center;min-width:44px;min-height:44px;border:1px solid #D5DBD9;padding:0 12px}
.pagination .current{background:#101418;color:#fff;border-color:#101418}

.article-main{display:flex;flex-wrap:wrap;gap:48px;padding-top:40px}
.article{flex:2 1 480px;display:flex;flex-direction:column;gap:20px;min-width:0}
.article h1{font-size:44px;line-height:1.1;letter-spacing:-.02em}
.article .dek{font-size:20px;line-height:1.45;color:#333C44}
.byline{display:flex;flex-wrap:wrap;gap:4px 16px;font-family:'IBM Plex Mono',monospace;font-size:13px;color:#4A5560;padding:12px 0;border-top:1px solid #D5DBD9;border-bottom:1px solid #D5DBD9}
.article figcaption{font-size:13px;color:#4A5560;margin-top:8px}
.body{font-size:18px;line-height:1.65;max-width:720px}
.body p,.body ul,.body ol{margin:0 0 18px}
.body h2,.body h3{margin:28px 0 12px;line-height:1.25}
.body a{color:#0B6B4F;text-decoration:underline}
.sources{max-width:720px;border:1px solid #101418;padding:20px;display:flex;flex-direction:column;gap:6px}
.sources a{display:inline-flex;align-items:center;min-height:44px;color:#0B6B4F;font-weight:600;text-decoration:underline}
.source-line{max-width:720px;font-size:14px;color:#4A5560}
.source-line a{color:#0B6B4F;text-decoration:underline}
.rail{flex:1 1 300px;display:flex;flex-direction:column;gap:32px;min-width:0}
.deal{background:#0E1A24;color:#fff;padding:24px}
.deal h2{font-size:22px;margin-bottom:12px}
.deal div{display:flex;justify-content:space-between;gap:16px;padding:12px 0;border-top:1px solid #3B4A57;font-size:15px}
.deal dt{font-family:'IBM Plex Mono',monospace;font-size:12px;letter-spacing:.06em;color:#C9D3DB;text-transform:uppercase}
.deal dd{font-weight:600;text-align:right}
.deal .money{font-family:'IBM Plex Mono',monospace;color:#8FE0C0}

.foot{margin-top:56px;background:#0E1A24;color:#C9D3DB;font-size:14px}
.foot-in{display:flex;flex-wrap:wrap;gap:20px 48px;justify-content:space-between;padding-top:32px;padding-bottom:32px}
.foot-name{display:block;font-size:22px;font-weight:700;color:#fff}
.foot ul{list-style:none;margin:0;padding:0;display:flex;flex-wrap:wrap;gap:8px 24px;align-items:center}


.cards{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:32px 28px;padding-top:16px}
@media (max-width:1100px){.cards{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media (max-width:820px){.cards{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media (max-width:480px){.cards,.also{grid-template-columns:1fr}}
.card{display:flex;flex-direction:column;gap:8px;min-width:0}
.card-img{display:block;aspect-ratio:16/10;background:#E3E8E6;overflow:hidden}
.card-img img{width:100%;height:100%;object-fit:cover}
.card h3{font-size:20px;line-height:1.25}
.card .val{font-family:'IBM Plex Mono',monospace;font-size:13px;color:#333C44}

.boards{display:grid;grid-template-columns:repeat(auto-fit,minmax(300px,1fr));gap:28px}
.board{border:1px solid #101418;padding:20px;min-width:0}
.board h2{font-size:22px}
.board .label{margin-top:4px}
.board ol{list-style:none;margin:12px 0 0;padding:0;counter-reset:b}
.board li{border-top:1px solid #D5DBD9;counter-increment:b}
.board li a{display:flex;justify-content:space-between;gap:12px;align-items:baseline;min-height:44px;padding:10px 0;font-size:15px;font-weight:600}
.board li a>span:first-child::before{content:counter(b) ". ";font-family:'IBM Plex Mono',monospace;font-weight:400;color:#4A5560}
.board-n{font-family:'IBM Plex Mono',monospace;font-weight:500;white-space:nowrap}
.board-dark{background:#0E1A24;border-color:#0E1A24;color:#fff}
.board-dark .label{color:#C9D3DB}
.board-dark li{border-top-color:#24323E}
.board-dark li a>span:first-child::before{color:#C9D3DB}
.board-dark .board-n{color:#8FE0C0}

.promo{display:flex;flex-wrap:wrap;gap:20px 40px;align-items:center;justify-content:space-between;background:#F1F4F3;border:1px solid #D5DBD9;padding:28px}
.promo>div{flex:1 1 420px;display:flex;flex-direction:column;gap:8px;min-width:0}
.promo h2{font-size:28px;letter-spacing:-.01em}
.promo p{color:#333C44;max-width:640px}
.promo .btn:hover{text-decoration:none}
.promo-dark{background:#0E1A24;border-color:#0E1A24;color:#fff;padding:22px 28px}
.promo-dark .kicker{color:#8FE0C0}
.promo-dark h2{font-size:24px}
.promo-dark p{color:#C9D3DB}
.promo-inline{max-width:720px;padding:22px}
.promo-inline h2{font-size:22px}
.clamp3{display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}
.cols-eq .col a.item{height:95px;overflow:hidden}
.cols-eq .col a.item.small{height:86px}
.net-logo{display:flex;align-items:center;height:56px;padding-bottom:10px}
.net-logo img{height:30px;width:auto;max-width:100%}
.foot a{text-decoration:underline}

.river{display:grid;grid-template-columns:repeat(auto-fit,minmax(440px,1fr));gap:0 40px}
.river-item{display:flex;gap:16px;padding:18px 0;border-bottom:1px solid #D5DBD9;min-width:0}
.river-img{flex:0 0 150px;height:100px;background:#E3E8E6;overflow:hidden}
.river-img img{width:100%;height:100%;object-fit:cover}
.river-item h3{font-size:18px;line-height:1.25;margin:4px 0}
.river-item p{font-size:14px;color:#333C44}
.col a.item.small{font-size:15px;font-weight:500}

@media (max-width:640px){
.river{grid-template-columns:1fr}
.river-img{flex-basis:110px;height:80px}
.mark{width:34px;height:34px}
.logo{font-size:40px}
.lead h1{font-size:30px}
.article h1{font-size:32px}
.net-date{margin-left:0}
.sform input{width:140px}
}
