/*
Theme Name: BrandHeraldWire
Theme URI: https://example.com/brandheraldwire
Author: BrandHeraldWire Editorial
Description: Dark editorial marketing magazine with sidebar navigation, responsive article grids and image-led homepage.
Version: 1.4.0
Requires at least: 6.0
Requires PHP: 7.4
Text Domain: brandheraldwire
*/
:root{--bg:#050c10;--panel:#0c171d;--panel2:#101e25;--line:#26333a;--yellow:#ffd000;--muted:#aab5bb;--white:#fff}*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:var(--bg);color:#fff;font:14px/1.5 Arial,Helvetica,sans-serif}a{color:inherit;text-decoration:none}a:hover{color:var(--yellow)}img{max-width:100%;height:auto}button,input{font:inherit}button{cursor:pointer}.site-head{height:61px;position:sticky;top:0;z-index:100;background:#03090d;border-bottom:1px solid #19262c;display:flex;align-items:center;padding:0 22px;gap:30px}.brand{display:flex;align-items:center;gap:11px;min-width:220px}.brand-icon{background:var(--yellow);color:#070b0e;font:bold 32px/1 Arial;border-radius:11px;padding:4px 10px;box-shadow:inset 0 -4px 0 #e8ac00}.brand-title{font-size:19px;font-weight:900;letter-spacing:-.7px;line-height:1.1}.brand small{display:block;color:#b9c2c7;font-size:9px}.head-search{flex:1;max-width:460px;display:flex;background:#121d23;border-radius:5px;overflow:hidden}.head-search input{width:100%;background:none;border:0;padding:11px 13px;color:white;outline:0}.head-search button{background:none;color:#fff;border:0;padding:0 14px}.head-social{display:flex;gap:18px;margin-left:auto;font-weight:700}.subscribe{background:var(--yellow);color:#060b0d;border:0;border-radius:5px;padding:12px 20px;font-weight:800}.layout{display:grid;grid-template-columns:218px minmax(0,1fr);max-width:1700px;margin:auto}.side{background:#050e13;border-right:1px solid var(--line);padding:16px 15px;min-height:100vh}.side-nav a{display:flex;gap:13px;align-items:center;padding:10px 12px;border-radius:5px;font-size:12px}.side-nav a:hover,.side-nav a.active{background:var(--yellow);color:#090d10}.side-nav .symbol{font-size:18px;width:20px;text-align:center}.side h4{font-size:11px;letter-spacing:1px;margin:20px 7px 7px}.side hr{border:0;border-top:1px solid #253139}.side-news{background:var(--yellow);color:#090c0e;padding:17px;border-radius:6px;margin:26px 0 15px}.side-news strong{font-size:15px}.side-news p{font-size:12px}.side-news form{display:flex;background:white;border-radius:4px;overflow:hidden}.side-news input{min-width:0;width:100%;border:0;padding:9px;font-size:11px}.side-news button{background:#060a0d;color:var(--yellow);border:0;padding:0 12px}.side-promo{height:430px;border-radius:8px;background:linear-gradient(0deg,#0008,#0001),url('assets/hero-editorial.jpg') center/cover;display:flex;align-items:end;padding:20px}.side-promo span{font:24px/1.2 Georgia,serif}.main{min-width:0;padding:0 15px 16px}.hero{height:350px;position:relative;overflow:hidden;background:#080a09 url('assets/hero-editorial.jpg') right center/auto 100% no-repeat;border-radius:0 0 5px 5px}.hero:before{content:'';position:absolute;inset:0;background:linear-gradient(90deg,#050606 0%,#050606 23%,#050606df 39%,transparent 72%)}.hero-copy{position:relative;padding:35px 36px;max-width:475px}.eyebrow{font-weight:900;color:var(--yellow);font-size:11px;letter-spacing:1.2px}.hero h1{font:700 clamp(42px,5vw,65px)/.94 Georgia,'Times New Roman',serif;letter-spacing:-1.5px;margin:16px 0 12px}.hero h1 em{font-style:normal;color:var(--yellow)}.hero p{max-width:280px;line-height:1.35;margin:0 0 17px}.yellow-btn{display:inline-block;background:var(--yellow);color:#070a0b;font-weight:800;padding:11px 20px;border-radius:4px}.ticker{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));background:#0a151a;border:1px solid #233138;margin-bottom:14px}.ticker a{padding:17px 18px;display:flex;gap:15px;align-items:center;border-right:1px solid #26343a;font-size:11px;line-height:1.35}.ticker b{font:28px Georgia,serif;color:var(--yellow)}.content-row{display:grid;grid-template-columns:minmax(0,1fr) 235px;gap:15px}.section-title{font:700 27px Georgia,serif;margin:10px 0 13px;display:flex;justify-content:space-between;align-items:center}.section-title a{font:11px Arial;color:#fff}.card-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.post-card{min-width:0;background:linear-gradient(#101b21,#0b1419);border:1px solid #26353b;border-radius:7px;overflow:hidden;display:flex;flex-direction:column}.post-card img{width:100%;height:115px;object-fit:cover;display:block}.card-inner{padding:10px 11px;display:flex;flex-direction:column;flex:1}.tag{display:inline-block;width:max-content;background:var(--yellow);color:#050708;font-weight:900;font-size:9px;padding:3px 6px;border-radius:2px;text-transform:uppercase}.post-card h3{font-size:14px;line-height:1.25;margin:9px 0 13px;overflow-wrap:anywhere}.post-card .meta{color:#b4bec3;font-size:10px;margin-top:auto}.trending{background:#0b151b;border:1px solid #243139;border-radius:7px;padding:15px}.trending h2{font:23px Georgia,serif;margin:0 0 9px}.trend{display:grid;grid-template-columns:24px 1fr 60px;align-items:center;gap:8px;border-bottom:1px solid #28353c;padding:12px 0}.trend b{color:var(--yellow);font-size:17px}.trend span{font-size:12px}.trend img{width:60px;height:47px;object-fit:cover;border-radius:5px}.cat-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:9px}.cat{min-height:64px;background:linear-gradient(145deg,#111e24,#0b1418);border:1px solid #24333b;border-radius:6px;display:flex;align-items:center;gap:10px;padding:11px;font-size:12px}.cat i{font-style:normal;font-size:24px;color:var(--yellow)}.cat:first-child{background:var(--yellow);color:#000}.cat:first-child i{color:#000}.feature-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:11px}.feature-grid .post-card img{height:128px}.editor{margin-top:24px}.footer{border-top:1px solid #253239;background:#03090c;padding:25px 35px 10px}.footer-cols{display:grid;grid-template-columns:2fr 1fr 2fr 1.5fr;gap:30px}.footer h3{font-size:14px;margin:0 0 10px}.footer p,.footer a{color:#b8c3c8;font-size:12px}.footer a{display:block;margin:6px 0}.footer .brand-title{font-size:21px;color:#fff}.footer-bottom{border-top:1px solid #243037;margin-top:23px;padding:14px 0;display:flex;justify-content:space-between;color:#99a6ad;font-size:11px}.footer form{display:flex}.footer input{min-width:0;width:100%;padding:10px;border:0;border-radius:4px 0 0 4px}.footer button{border:0;background:var(--yellow);padding:0 13px;border-radius:0 4px 4px 0}.archive,.article{max-width:1050px;margin:25px auto;padding:25px;background:#0d181e;border:1px solid #25333a;border-radius:8px}.article h1{font:700 clamp(32px,4vw,52px)/1.1 Georgia,serif}.article-body{font-size:17px;line-height:1.85;overflow-wrap:anywhere}.article-body img,.article-body iframe{max-width:100%;height:auto}.article-body a{color:var(--yellow);text-decoration:underline}.article-body>*{max-width:100%}.article-meta{color:#aab7be}.archive .card-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.pagination{margin:20px 0}.pagination a,.pagination span{display:inline-block;padding:8px 13px;border:1px solid #43515a}.skip-link{position:absolute;left:-999px}.skip-link:focus{left:10px;top:10px;z-index:200;background:#fff;color:#000}.mobile-menu{display:none}@media(max-width:1100px){.content-row{grid-template-columns:1fr}.trending{display:none}.hero{height:340px}.feature-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:760px){.site-head{gap:10px;padding:9px 12px;height:auto;flex-wrap:wrap}.brand{min-width:0}.brand-title{font-size:16px}.head-social,.subscribe{display:none}.head-search{max-width:none;flex-basis:100%;order:2}.mobile-menu{display:block;margin-left:auto;background:var(--yellow);border:0;padding:7px 10px;border-radius:4px}.layout{display:block}.side{display:none;min-height:0}.side.is-open{display:block}.main{padding:0 10px 16px}.hero{height:auto;min-height:365px;background-size:auto 100%;background-position:right center}.hero:before{background:linear-gradient(90deg,#050606 0%,#050606ed 48%,#05060666)}.hero-copy{padding:25px 18px}.hero h1{font-size:43px}.ticker{grid-template-columns:repeat(2,1fr)}.ticker a{padding:10px}.card-grid,.archive .card-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.cat-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.footer-cols{grid-template-columns:repeat(2,minmax(0,1fr))}.footer{padding:25px 16px}.footer-bottom{display:block}}@media(max-width:420px){.card-grid,.archive .card-grid,.feature-grid{grid-template-columns:1fr}.post-card img{height:180px}.footer-cols{grid-template-columns:1fr}.ticker b{font-size:22px}}

/* v1.1: expansive category magazine + contextual reading */
.bhw-category-features,.bhw-more-stories{margin:38px 0 22px}.bhw-section-heading{display:flex;justify-content:space-between;margin:0 0 19px}.bhw-section-heading h2{font:700 clamp(25px,3vw,37px)/1.15 Georgia,serif;margin:6px 0}.bhw-section-heading p{color:var(--muted);margin:7px 0}.bhw-topic-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.bhw-topic{min-width:0;display:grid;grid-template-columns:42% minmax(0,1fr);background:#0e1a20;border:1px solid #283a43;border-radius:10px;overflow:hidden;transition:border-color .2s,transform .2s}.bhw-topic:hover{border-color:var(--yellow);transform:translateY(-2px)}.bhw-topic img{width:100%;height:100%;min-height:175px;object-fit:cover}.bhw-topic>div{min-width:0;padding:18px;display:flex;flex-direction:column}.bhw-topic-index{color:var(--yellow);font-size:10px;letter-spacing:1px;font-weight:800}.bhw-topic h3{font:700 21px/1.2 Georgia,serif;margin:10px 0}.bhw-topic p{color:#b5c1c6;line-height:1.6;margin:0 0 12px}.bhw-topic-cta{margin-top:auto;color:var(--yellow);font-weight:700}.bhw-more-stories .feature-grid{row-gap:17px}.bhw-inline-related,.bhw-inline-source{margin:25px 0;padding:18px 22px;background:#12242a;border-left:4px solid var(--yellow);border-radius:0 8px 8px 0;overflow-wrap:anywhere}.bhw-inline-label{display:block;font:800 11px/1.5 Arial,sans-serif;color:var(--yellow);letter-spacing:1.2px;margin-bottom:8px}.article-body .bhw-inline-related a{font-weight:800;font-size:18px;color:#fff;text-decoration:none}.article-body .bhw-inline-related a:hover{color:var(--yellow)}.bhw-inline-source p{margin:0;font-size:15px}.article-body :is(pre,table,figure){max-width:100%;overflow-x:auto}.article-body :is(h1,h2,h3,p,li,a){overflow-wrap:anywhere}.bhw-topic-grid>*{min-width:0}@media(max-width:1050px){.bhw-topic-grid{grid-template-columns:1fr}}@media(max-width:760px){.bhw-topic-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.bhw-topic{display:block}.bhw-topic img{height:145px;min-height:0}.bhw-topic>div{padding:13px}.bhw-topic h3{font-size:18px}}@media(max-width:520px){.bhw-topic-grid{grid-template-columns:1fr}.bhw-topic{display:grid;grid-template-columns:39% minmax(0,1fr)}.bhw-topic img{height:100%;min-height:160px}}

/* Expanded homepage, v1.2 */
.bhw-deep-dive,.bhw-fresh{margin:48px 0 34px}.bhw-playbook-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:17px}.bhw-playbook{display:flex;flex-direction:column;overflow:hidden;border:1px solid #29363e;border-radius:12px;background:#101b21;min-width:0;color:#fff;text-decoration:none}.bhw-playbook img{width:100%;height:195px;object-fit:cover;display:block}.bhw-playbook>div{padding:21px;flex:1;display:flex;flex-direction:column}.bhw-playbook h3{font:700 24px/1.15 Georgia,serif;margin:10px 0}.bhw-playbook p{line-height:1.65;color:#b8c3c9;margin:0 0 16px}.bhw-playbook .bhw-topic-cta{margin-top:auto}.bhw-playbook:hover{border-color:#ffd000}.bhw-fresh .feature-grid{row-gap:18px}.bhw-explore-all{text-align:center;margin:25px 0}.bhw-final-cta{margin:45px 0 55px;padding:35px 40px;border:1px solid #50420a;border-radius:14px;background:linear-gradient(115deg,#132027,#090e11);display:flex;align-items:center;justify-content:space-between;gap:25px}.bhw-final-cta h2{font:700 clamp(26px,3.4vw,43px)/1.1 Georgia,serif;max-width:660px;margin:12px 0}.bhw-final-cta p{color:#b6c2c8;line-height:1.6;max-width:670px}.bhw-final-cta .yellow-btn{white-space:nowrap}@media(max-width:850px){.bhw-playbook-grid{grid-template-columns:1fr 1fr}.bhw-final-cta{flex-direction:column;align-items:flex-start}}@media(max-width:570px){.bhw-playbook-grid{grid-template-columns:1fr}.bhw-final-cta{padding:25px 20px}.bhw-playbook img{height:185px}}

/* v1.3 premium editorial footer */
.bhw-premium-footer{position:relative;overflow:hidden;background:radial-gradient(ellipse at 82% 12%,#202014 0%,transparent 42%),linear-gradient(180deg,#0b1215 0%,#030709 100%);border-top:1px solid #65551c;padding-top:0}
.bhw-premium-footer .bhw-wave{height:95px;overflow:hidden;opacity:.85}.bhw-wave svg{width:100%;height:100%;display:block}
.bhw-footer-intro{max-width:1400px;margin:0 auto;padding:24px 34px 55px;display:flex;align-items:end;justify-content:space-between;gap:30px;border-bottom:1px solid #354047}
.bhw-footer-intro .eyebrow{color:#ffd000;letter-spacing:.18em;font-size:11px}.bhw-footer-intro h2{font:700 clamp(35px,5vw,72px)/.98 Georgia,serif;letter-spacing:-.045em;margin:15px 0 18px}.bhw-footer-intro h2 em{font-style:normal;color:#ffd000}.bhw-footer-intro p{color:#c3ccd0;max-width:520px;font-size:15px}
.bhw-footer-cols{max-width:1400px;margin:auto;padding:52px 34px 48px;display:grid;grid-template-columns:1.35fr .75fr 1fr 1.2fr;gap:clamp(20px,3vw,55px)}
.bhw-footer-cols>div{min-width:0}.bhw-footer-cols h3{color:#fff;font-size:15px;letter-spacing:.02em;margin:0 0 22px}.bhw-footer-cols h3:after{content:'';display:block;width:28px;height:3px;background:#ffd000;margin-top:11px}
.bhw-footer-cols a:not(.brand){display:block;color:#c8d0d3;margin:0 0 10px;font-size:13px}.bhw-footer-cols a:hover{color:#ffd000}.bhw-footer-cols p{color:#b5c0c6;font-size:13px;line-height:1.8}.bhw-footer-social{display:flex;flex-wrap:wrap;gap:7px;margin-top:22px}.bhw-footer-social span{border:1px solid #4b4640;border-radius:99px;padding:5px 10px;color:#ffd000;font-size:10px;letter-spacing:.08em}
.bhw-footer-cols form{display:flex;align-items:stretch;border:1px solid #38464b;border-radius:8px;overflow:hidden;background:#fff;max-width:360px}.bhw-footer-cols form input{flex:1;min-width:0;border:0;background:#fff;color:#101820;padding:13px 12px;outline:0}.bhw-footer-cols form button{border:0;background:#ffd000;color:#000;font-size:22px;padding:0 18px}.bhw-footer-note{font-style:italic}
.bhw-footer-stats{max-width:1400px;margin:0 auto 0;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));border-top:1px solid #28363c;border-bottom:1px solid #28363c}.bhw-footer-stats>div{padding:23px 24px;display:flex;flex-direction:column;gap:3px;border-right:1px solid #28363c}.bhw-footer-stats>div:last-child{border-right:0}.bhw-footer-stats strong{color:#ffd000;font-size:24px;font-family:Georgia,serif}.bhw-footer-stats span{color:#aab7bd;font-size:12px}.bhw-premium-footer .footer-bottom{max-width:1400px;margin:auto;padding:22px 34px;display:flex;justify-content:space-between;gap:18px;flex-wrap:wrap;color:#aeb8bd}.bhw-premium-footer .footer-bottom a{color:#b8c1c5}.bhw-premium-footer .footer-bottom a:hover{color:#ffd000}
@media(max-width:980px){.bhw-footer-cols{grid-template-columns:repeat(2,minmax(0,1fr))}.bhw-footer-intro{align-items:start;flex-direction:column}.bhw-footer-stats{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:560px){.bhw-footer-cols{grid-template-columns:1fr;padding:30px 20px}.bhw-footer-intro{padding:20px 20px 35px}.bhw-footer-stats>div{padding:15px}.bhw-premium-footer .footer-bottom{padding:20px}.bhw-premium-footer .bhw-wave{height:55px}}

/* BrandHeraldWire v1.4 — editorial photographic category collection */
.cat-grid-photo{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:13px;margin-top:15px}
.cat-grid-photo .cat-photo{position:relative;isolation:isolate;display:block;min-width:0;height:156px;min-height:156px;padding:0;overflow:hidden;border:1px solid #36444b;border-radius:12px;background:#121d23;color:#fff;box-shadow:0 8px 22px #0004;transition:transform .2s ease,border-color .2s ease,box-shadow .2s ease}
.cat-grid-photo .cat-photo:first-child{background:#121d23;color:#fff}
.cat-grid-photo .cat-photo img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;display:block;transition:transform .35s ease;z-index:-2}
.cat-grid-photo .cat-shade{position:absolute;inset:0;background:linear-gradient(180deg,#02060940 0%,#02060945 35%,#020609f5 100%);z-index:-1}
.cat-grid-photo .cat-number{position:absolute;top:11px;left:12px;background:#ffd000;color:#071015;border-radius:5px;padding:3px 7px;font-size:10px;font-weight:900;letter-spacing:.5px}
.cat-grid-photo .cat-photo-content{position:absolute;left:12px;right:38px;bottom:13px;display:flex;flex-direction:column;gap:4px;line-height:1.2}
.cat-grid-photo .cat-photo-content small{font:700 9px/1.3 Arial,sans-serif;letter-spacing:1px;color:#ffe276;text-transform:uppercase}
.cat-grid-photo .cat-photo-content strong{font:700 clamp(13px,1.2vw,17px)/1.17 Georgia,serif;overflow-wrap:anywhere;text-shadow:0 1px 5px #0009}
.cat-grid-photo .cat-photo-arrow{position:absolute;right:11px;bottom:12px;width:27px;height:27px;border:1px solid #ffd00080;border-radius:50%;display:grid;place-items:center;background:#ffd000;color:#071015;font-size:17px;font-weight:bold}
.cat-grid-photo .cat-photo:hover,.cat-grid-photo .cat-photo:focus-visible{transform:translateY(-4px);border-color:#ffd000;box-shadow:0 12px 26px #0009;outline-offset:3px}
.cat-grid-photo .cat-photo:hover img{transform:scale(1.07)}
@media(max-width:1250px){.cat-grid-photo{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:760px){.cat-grid-photo{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.cat-grid-photo .cat-photo{height:145px;min-height:145px}}
@media(max-width:390px){.cat-grid-photo .cat-photo{height:130px;min-height:130px}.cat-grid-photo .cat-photo-content strong{font-size:13px}.cat-grid-photo .cat-photo-content small{font-size:8px}}
@media(prefers-reduced-motion:reduce){.cat-grid-photo .cat-photo,.cat-grid-photo .cat-photo img{transition:none}}
