/*
Theme Name: BizWireNow
Theme URI: https://example.com/
Author: Ehyperlink
Description: BizWireNow premium ivory and burgundy business editorial theme with image-led categories, contextual internal links and related posts.
Version: 1.0.0
Text Domain: bizwirenow
Requires at least: 6.0
Requires PHP: 7.4
*/
:root{
 --bw-bg:#f6f1e9;
 --bw-paper:#fffdf8;
 --bw-ink:#171717;
 --bw-burg:#8b1731;
 --bw-burg2:#a72c47;
 --bw-sand:#d8cfc2;
 --bw-dark:#1e2224;
 --bw-line:#ddd3c7;
 --bw-muted:#6f6a64;
 --bw-ext:#7e3fd2;
}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;background:var(--bw-bg);color:var(--bw-ink);font-family:Arial,Helvetica,sans-serif}
a{text-decoration:none;color:inherit}
img{display:block;max-width:100%;height:auto}
.bw-wrap{width:min(1600px,calc(100% - 36px));margin:auto}

/* Header */
.bw-header{background:#fffdf8;border-bottom:1px solid var(--bw-line);position:sticky;top:0;z-index:50}
.admin-bar .bw-header{top:32px}
.bw-head{min-height:84px;display:grid;grid-template-columns:auto 1fr auto;gap:28px;align-items:center}
.bw-logo{display:flex;align-items:center;gap:12px}
.bw-mark{width:48px;height:48px;position:relative}
.bw-mark:before{content:"";position:absolute;left:6px;top:4px;width:24px;height:34px;background:linear-gradient(180deg,#eaded6,#c7b6ab);border-radius:7px}
.bw-mark:after{content:"";position:absolute;right:4px;bottom:4px;width:24px;height:30px;background:var(--bw-burg);border-radius:4px}
.bw-brand strong{font:700 30px/1 Georgia,serif}
.bw-brand strong span{color:var(--bw-burg)}
.bw-brand small{display:block;font-size:8px;letter-spacing:.13em;color:#80776e;margin-top:4px}
.bw-nav ul{list-style:none;margin:0;padding:0;display:flex;justify-content:center;gap:24px;flex-wrap:wrap}
.bw-nav a{font-size:12px;font-weight:900}
.bw-nav a:hover{color:var(--bw-burg)}
.bw-tools{display:flex;align-items:center;gap:12px}
.bw-search{width:42px;height:42px;border:1px solid #bbb2a8;border-radius:50%;display:grid;place-items:center}
.bw-sub{background:var(--bw-burg);color:#fff;padding:12px 18px;border-radius:4px;font-size:12px;font-weight:900}

/* Hero */
.bw-hero{padding:0}
.bw-hero-grid{display:grid;grid-template-columns:.78fr 1.18fr .74fr;min-height:650px;background:#fffdf8}
.bw-copy{padding:34px 30px;background:linear-gradient(180deg,#fffdf8,#f8f1e8)}
.bw-eyebrow{font-size:10px;text-transform:uppercase;letter-spacing:.13em;color:var(--bw-burg);font-weight:900}
.bw-copy h1{font:700 clamp(4.8rem,6.5vw,7rem)/.88 Georgia,serif;margin:14px 0 18px;letter-spacing:-.045em}
.bw-copy h1 span{color:var(--bw-burg)}
.bw-copy p{font-size:16px;line-height:1.6;color:#514c46}
.bw-actions{display:flex;gap:12px;align-items:center;margin-top:22px;flex-wrap:wrap}
.bw-primary{background:var(--bw-burg);color:#fff;padding:13px 18px;font-size:12px;font-weight:900}
.bw-play{border:1px solid var(--bw-burg);padding:12px 16px;color:var(--bw-burg);font-size:12px;font-weight:900;background:#fff}

.bw-hero-media{position:relative;overflow:hidden;background:#ddd}
.bw-hero-media img{width:100%;height:100%;object-fit:cover}
.bw-hero-media:after{content:"";position:absolute;inset:0;background:linear-gradient(90deg,rgba(255,250,243,.18),transparent 55%)}
.bw-note{position:absolute;right:22px;bottom:28px;background:#f7efe6;padding:18px;z-index:2;font:italic 24px/1.15 Georgia,serif;color:#4f3b31}

.bw-latest{background:#fff;padding:18px}
.bw-latest-head{display:flex;justify-content:space-between;align-items:center}
.bw-latest-head h2{font-size:15px;margin:0}
.bw-latest-head span{font-size:10px;color:var(--bw-burg);font-weight:900}
.bw-latest-item{display:grid;grid-template-columns:38px 86px 1fr;gap:10px;align-items:center;padding:11px 0;border-top:1px solid var(--bw-line)}
.bw-latest-item:first-of-type{border-top:0}
.bw-latest-item .num{font:700 22px Georgia,serif;color:#c6c0b7}
.bw-latest-item img{width:86px;height:64px;object-fit:cover;border-radius:4px}
.bw-latest-item small{font-size:9px;text-transform:uppercase;font-weight:900;color:var(--bw-burg)}
.bw-latest-item h3{font-size:14px;line-height:1.1;margin:4px 0}

/* Categories */
.bw-categories{background:#fffdf8;padding:18px 0 22px;border-top:1px solid var(--bw-line)}
.bw-cat-head{display:flex;justify-content:space-between;align-items:end;margin-bottom:14px}
.bw-cat-head h2{font:700 30px/1 Georgia,serif;margin:0}
.bw-cat-head p{margin:0;color:var(--bw-muted);font-size:12px;max-width:620px}
.bw-cat-grid{display:grid;grid-template-columns:repeat(8,1fr);gap:9px}
.bw-cat{position:relative;min-height:140px;overflow:hidden;border-radius:4px}
.bw-cat img{width:100%;height:100%;object-fit:cover}
.bw-cat:after{content:"";position:absolute;inset:0;background:linear-gradient(180deg,transparent 38%,rgba(30,20,20,.78))}
.bw-cat strong{position:absolute;left:10px;bottom:9px;color:#fff;font-size:12px;z-index:2}

/* Main */
.bw-main{padding:18px 0}
.bw-triad{display:grid;grid-template-columns:1.15fr .95fr .95fr;gap:16px}
.bw-section-head{display:flex;justify-content:space-between;align-items:center;margin-bottom:11px}
.bw-section-head h2{font-size:15px;text-transform:uppercase;letter-spacing:.08em;margin:0}
.bw-section-head span{font-size:10px;color:var(--bw-burg);font-weight:900}
.bw-feature,.bw-big{position:relative;min-height:420px;overflow:hidden;border-radius:4px}
.bw-feature img,.bw-big img{width:100%;height:100%;object-fit:cover}
.bw-feature:after,.bw-big:after{content:"";position:absolute;inset:0;background:linear-gradient(180deg,transparent 34%,rgba(30,22,22,.88))}
.bw-feature-copy,.bw-big-copy{position:absolute;left:18px;right:18px;bottom:18px;color:#fff;z-index:2}
.bw-feature-copy small,.bw-big-copy small{font-size:9px;background:var(--bw-burg);padding:4px 6px;text-transform:uppercase;font-weight:900}
.bw-feature-copy h3,.bw-big-copy h3{font:700 29px/.96 Georgia,serif;margin:8px 0}
.bw-feature-copy p,.bw-big-copy p{font-size:12px;line-height:1.45;margin:0}

.bw-list{display:grid;gap:12px}
.bw-list-item{display:grid;grid-template-columns:110px 1fr 34px;gap:11px;align-items:center;padding-bottom:12px;border-bottom:1px solid var(--bw-line)}
.bw-list-item img{width:110px;height:84px;object-fit:cover;border-radius:4px}
.bw-list-item small{font-size:9px;text-transform:uppercase;font-weight:900;color:var(--bw-burg)}
.bw-list-item h3{font-size:15px;line-height:1.14;margin:4px 0}
.bw-arrow{width:30px;height:30px;border-radius:50%;border:1px solid var(--bw-burg);color:var(--bw-burg);display:grid;place-items:center}

/* Deep */
.bw-deep{margin:28px 0}
.bw-deep-head{display:flex;justify-content:space-between;align-items:end;margin-bottom:14px}
.bw-deep-head h2{font:700 34px/1 Georgia,serif;margin:0}
.bw-deep-head p{margin:0;max-width:600px;color:var(--bw-muted);font-size:12px}
.bw-deep-grid{display:grid;grid-template-columns:repeat(5,1fr);gap:12px}
.bw-deep-card{background:#fff;border:1px solid var(--bw-line);border-radius:4px;overflow:hidden}
.bw-deep-card img{width:100%;height:210px;object-fit:cover}
.bw-deep-card div{padding:12px}
.bw-deep-card small{font-size:9px;text-transform:uppercase;color:var(--bw-burg);font-weight:900}
.bw-deep-card h3{font:700 17px/1.05 Georgia,serif;margin:6px 0}
.bw-deep-card p{font-size:11px;color:#6c6761;line-height:1.4;margin:0}

/* newsletter + footer */
.bw-brief{display:grid;grid-template-columns:1.15fr .85fr;gap:14px;margin-bottom:34px}
.bw-newsletter{background:linear-gradient(135deg,#72152b,#971f3a);color:#fff;padding:28px;border-radius:4px}
.bw-newsletter h3{font:700 31px/1 Georgia,serif;margin:0}
.bw-newsletter h3 span{color:#f3c8b7}
.bw-newsletter p{font-size:13px;color:#ecdde1}
.bw-newsletter form{display:grid;grid-template-columns:1fr 70px;max-width:560px}
.bw-newsletter input{border:0;padding:13px}
.bw-newsletter button{border:0;background:#f0dfd5;color:var(--bw-burg);font-weight:900}
.bw-trending{background:#efe8de;padding:28px;border-radius:4px}
.bw-trending h3{font:700 27px/1 Georgia,serif;margin:0 0 14px}
.bw-tags{display:flex;gap:8px;flex-wrap:wrap}
.bw-tags span{padding:8px 10px;border-radius:999px;background:#fff;font-size:11px}

.bw-post-head{padding:46px 0 26px}
.bw-post-head h1{font:700 clamp(3rem,5.5vw,5.8rem)/.9 Georgia,serif;margin:8px 0;letter-spacing:-.03em}
.bw-meta{font-size:12px;color:#75716c}
.bw-post-shell{width:min(1080px,calc(100% - 34px));margin:auto;padding-bottom:60px}
.bw-article{background:#fff;border:1px solid var(--bw-line);padding:34px}
.bw-article .featured img{width:100%;max-height:640px;object-fit:cover;margin-bottom:26px}
.bw-entry{font-size:17px;line-height:1.82;overflow-wrap:anywhere}
.bw-entry h2,.bw-entry h3{font-family:Georgia,serif}
.bw-entry img{margin:24px auto}
.bw-entry a{color:#8b1731;text-decoration:underline;text-underline-offset:3px}
.bw-entry a.bw-external{color:var(--bw-ext)!important}
.bw-context{margin:28px 0;padding:16px 18px;background:#f6eee9;border-left:4px solid var(--bw-burg)}
.bw-context small{display:block;font-size:10px;text-transform:uppercase;letter-spacing:.08em;font-weight:900;margin-bottom:6px}
.bw-context a{display:flex;justify-content:space-between;gap:12px;color:#171717!important;text-decoration:none!important;font-weight:900}
.bw-related{margin-top:34px}
.bw-related h2{font:700 31px Georgia,serif}
.bw-related-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:14px}
.bw-related-card{background:#fff;border:1px solid var(--bw-line)}
.bw-related-card img{width:100%;height:150px;object-fit:cover}
.bw-related-card div{padding:12px}
.bw-related-card h3{font:700 16px/1.1 Georgia,serif;margin:0}

.bw-archive-head{padding:46px 0 22px}
.bw-archive-head h1{font:700 56px/.95 Georgia,serif;margin:0}
.bw-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:18px;padding-bottom:48px}
.bw-card{background:#fff;border:1px solid var(--bw-line)}
.bw-card img{width:100%;height:230px;object-fit:cover}
.bw-card div{padding:16px}
.bw-card h3{font:700 22px/1.05 Georgia,serif;margin:6px 0}
.bw-card p{font-size:13px;color:#666;line-height:1.45}

.bw-footer{background:linear-gradient(90deg,#171b1e,#202528);color:#fff;padding:38px 0 18px;border-top:3px solid var(--bw-burg)}
.bw-footer-grid{display:grid;grid-template-columns:1.3fr 1fr 1fr 1fr;gap:30px}
.bw-footer a{display:block;color:#cfd3d5;font-size:12px;margin:7px 0}
.bw-footer-quote{font:italic 22px/1.3 Georgia,serif;color:#c8b9b0}
.bw-footer-bottom{border-top:1px solid #353a3d;margin-top:24px;padding-top:14px;font-size:10px;color:#9ea5a8}

@media(max-width:1250px){
 .bw-hero-grid{grid-template-columns:1fr 1fr}
 .bw-latest{grid-column:1/-1}
 .bw-cat-grid{grid-template-columns:repeat(4,1fr)}
 .bw-triad{grid-template-columns:1fr}
 .bw-deep-grid{grid-template-columns:repeat(3,1fr)}
 .bw-brief{grid-template-columns:1fr}
 .bw-grid{grid-template-columns:repeat(2,1fr)}
 .bw-footer-grid{grid-template-columns:repeat(2,1fr)}
}
@media(max-width:760px){
 .admin-bar .bw-header{top:46px}
 .bw-head{grid-template-columns:1fr;gap:12px;padding:14px 0}
 .bw-nav ul{justify-content:flex-start;gap:16px}
 .bw-hero-grid{grid-template-columns:1fr}
 .bw-copy h1{font-size:4rem}
 .bw-cat-grid,.bw-deep-grid,.bw-grid,.bw-related-grid,.bw-footer-grid{grid-template-columns:1fr}
 .bw-article{padding:20px 16px}
}
