/*
Theme Name: BTM Insider
Template: btm-news
Description: Clean business-news child theme for BusinessToMark (homepage, header, footer). Keeps every feature of BTM News.
Author: BusinessToMark
Version: 1.0.0
Text Domain: btm-insider
*/
:root{--bi-ink:#0d0d0d;--bi-red:#d9381e;--bi-muted:#6a6a6a;--bi-line:#ece6e0;--bi-cream:#faf6f2}
body.btmi{background:var(--bi-cream);color:var(--bi-ink)}
.btmi-top{background:#0d0d0d;color:#fff;font-family:'Source Sans 3',system-ui,sans-serif}
.btmi-top .in{max-width:1240px;margin:0 auto;padding:0 20px;display:flex;align-items:center;justify-content:space-between;gap:8px 20px;flex-wrap:wrap;min-height:46px}
.btmi-top .date{font-size:13px;color:#cfcfcf}
.btmi-top .act{display:flex;align-items:center;gap:10px}
.btmi-top .act a{color:#fff;font-size:14px;font-weight:600;text-decoration:none;padding:10px 4px}
.btmi-top .act .nl{background:var(--bi-red);border-radius:999px;padding:7px 14px;font-size:13px;font-weight:700}
.btmi-top form{display:flex;align-items:center}
.btmi-top input[type=search]{font:inherit;font-size:14px;border:0;border-radius:6px;padding:7px 10px;width:170px;max-width:42vw}
.btmi-hdr{background:#fff;border-bottom:1px solid #ebe5df;font-family:'Archivo',system-ui,sans-serif}
.btmi-hdr .btmi-logo-wrap{display:flex;justify-content:center;padding:12px 20px}
.btmi-hdr .btmi-logo-wrap a{color:var(--bi-ink);text-decoration:none;display:inline-block;zoom:.5}
.btmi-hdr .btmi-logo-wrap img{max-height:56px;width:auto}
@media (max-width:640px){.btmi-hdr .btmi-logo-wrap a{zoom:.42}}

.btmi-hdr nav{border-top:1px solid #f0ebe6}
.btmi-hdr nav ul{list-style:none;margin:0 auto;padding:0 20px;max-width:1240px;display:flex;flex-wrap:wrap;justify-content:center;gap:2px 18px}
.btmi-hdr nav li{position:relative}
.btmi-hdr nav a{display:block;padding:12px 0;font-size:14px;font-weight:600;color:var(--bi-ink);text-decoration:none;border-bottom:3px solid transparent}
.btmi-hdr nav a:hover,.btmi-hdr nav .current-menu-item>a{border-bottom-color:var(--bi-red);color:var(--bi-ink)}
.btmi-hdr nav ul ul{display:none;position:absolute;top:100%;left:0;background:#fff;border:1px solid #eee;padding:6px 12px;min-width:200px;z-index:50;flex-direction:column;gap:0}
.btmi-hdr nav li:hover>ul,.btmi-hdr nav li:focus-within>ul{display:flex}
.btmi-main{max-width:800px;margin:0 auto;background:#fff;padding:0 0 40px;font-family:'Archivo',system-ui,sans-serif}
.btmi-main a{color:var(--bi-ink);text-decoration:none}
.btmi-main a:hover{color:var(--bi-red)}
.btmi-sec{padding:30px 28px 0}
.btmi-h{display:flex;justify-content:space-between;align-items:baseline;border-top:3px solid var(--bi-ink);padding-top:10px;margin-bottom:18px}
.btmi-h h2{margin:0;font-weight:800;font-size:22px;font-family:'Archivo',sans-serif}
.btmi-h a{font-size:14px;font-weight:700;color:var(--bi-red)!important}
.btmi-cat{font-size:11px;font-weight:700;letter-spacing:.06em;color:var(--bi-red);text-transform:uppercase}
.btmi-meta{font-size:12px;font-weight:600;letter-spacing:.04em;color:var(--bi-muted);text-transform:uppercase}
.btmi-img{display:block;width:100%;aspect-ratio:4/3;object-fit:cover;background:#eef1f4}
.btmi-two{display:flex;flex-wrap:wrap;gap:28px}
.btmi-two>*{flex:1 1 300px;min-width:0}
.btmi-big{display:flex;flex-direction:column;gap:9px}
.btmi-big .t{font-weight:700;font-size:21px;line-height:1.25}
.btmi-side{display:flex;flex-direction:column;gap:20px}
.btmi-row{display:flex;gap:16px;align-items:flex-start;justify-content:space-between}
.btmi-row .tx{display:flex;flex-direction:column;gap:5px;min-width:0}
.btmi-row .t{font-weight:700;font-size:16px;line-height:1.3}
.btmi-row img,.btmi-row .ph{width:100px;flex:none;aspect-ratio:4/3;object-fit:cover;background:#eef1f4}
.btmi-list{background:#fbf8f5;margin-top:30px;padding:22px 28px}
.btmi-list .it{display:flex;flex-direction:column;gap:4px;padding:12px 0;border-bottom:1px solid var(--bi-line)}
.btmi-list .it .t{font-weight:700;font-size:17px;line-height:1.3}
.btmi-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px}
.btmi-grid .t{font-weight:700;font-size:18px;line-height:1.28}
.btmi-grid .c{display:flex;flex-direction:column;gap:8px;min-width:0}
.btmi-grid2{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px 24px}
.btmi-chips{display:flex;flex-wrap:wrap;gap:8px}
.btmi-chips a{border:1px solid #ddd6cf;border-radius:999px;padding:8px 14px;font-size:14px;font-weight:600}
.btmi-ads2{display:flex;justify-content:center;gap:20px;flex-wrap:wrap}
.btmi-ad-ck{display:flex;align-items:center;justify-content:space-between;gap:18px;background:#f0faf3;border:1px solid #cfe9d8;border-radius:12px;padding:16px 20px;color:#0f2a1a!important;flex-wrap:wrap;font-family:'Poppins','Archivo',sans-serif}
.btmi-ad-ck .l{display:flex;flex-direction:column;gap:4px;flex:1 1 300px;min-width:0}
.btmi-ad-ck .k{font-size:10px;font-weight:600;letter-spacing:.1em;color:#5a7a66}
.btmi-ad-ck .h{font-weight:800;font-size:19px;line-height:1.25}
.btmi-ad-ck .h b{color:#1a7f45}
.btmi-ad-ck .s{font-size:13px;color:#3c5a48}
.btmi-ad-ck .r{display:flex;align-items:center;gap:14px}
.btmi-phone{width:54px;height:96px;border-radius:12px;background:#0f2a1a;padding:5px;box-sizing:border-box;display:flex}
.btmi-phone i{flex:1;border-radius:8px;background:#fff;display:flex;flex-direction:column;gap:4px;padding:6px 4px}
.btmi-phone i u{display:block;height:6px;border-radius:3px;background:#d6e4dc}
.btmi-phone i u:first-child{width:70%;background:#1a7f45}
.btmi-phone i u.b{height:18px;background:#e8f5ec;border:1px dashed #1a7f45}
.btmi-btn-g{background:#1a7f45;color:#fff;font-weight:700;font-size:14px;padding:11px 16px;border-radius:8px;white-space:nowrap}
.btmi-box{width:300px;max-width:100%;min-height:250px;box-sizing:border-box;border-radius:12px;padding:18px;display:flex;flex-direction:column;justify-content:space-between;gap:10px}
.btmi-box .k{font-size:10px;font-weight:600;letter-spacing:.1em}
.btmi-box .h{font-weight:800;font-size:22px;line-height:1.2}
.btmi-box .s{font-size:13px}
.btmi-box .b{align-self:flex-start;font-weight:700;font-size:14px;padding:10px 14px;border-radius:8px}
.btmi-box.ck{background:#1a7f45;color:#fff!important}.btmi-box.ck .k{color:#c9ecd6}.btmi-box.ck .s{color:#e2f5e9}.btmi-box.ck .b{background:#fff;color:#1a7f45}
.btmi-box.btm{background:#0d0d0d;color:#fff!important}.btmi-box.btm .k{color:#bdbdbd}.btmi-box.btm .s{color:#d4d4d4}.btmi-box.btm .b{background:#fff;color:#0d0d0d}
.btmi-tag{align-self:flex-start;background:var(--bi-red);color:#fff;font-weight:800;font-size:12px;letter-spacing:.06em;padding:4px 8px;border-radius:4px}
.btmi-ad-ssh{display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:18px;background:#ff4d6d;border-radius:14px;padding:18px 22px;color:#fff!important}
.btmi-ad-ssh .p{display:flex;flex-direction:column;line-height:1}
.btmi-ad-ssh .p em{font-style:normal;font-size:10px;font-weight:700;letter-spacing:.1em;background:#0b1430;color:#ffd166;padding:4px 7px;border-radius:999px;align-self:flex-start}
.btmi-ad-ssh .p b{font-weight:900;font-size:44px;margin-top:6px}.btmi-ad-ssh .p b small{font-size:18px}
.btmi-ad-ssh .m{display:flex;flex-direction:column;gap:4px;min-width:0}
.btmi-ad-ssh .m .k{font-size:10px;font-weight:600;letter-spacing:.1em;color:#ffe1e7}
.btmi-ad-ssh .m .h{font-weight:800;font-size:18px;line-height:1.25}
.btmi-ad-ssh .m .s{font-size:13px;color:#fff0f3}
.btmi-ad-ssh .r{display:flex;flex-direction:column;align-items:center;gap:6px}
.btmi-ad-ssh .r span{background:#0b1430;color:#fff;font-weight:700;font-size:14px;padding:11px 14px;border-radius:8px;white-space:nowrap}
.btmi-ad-ssh .r small{font-size:12px}
.btmi-foot{max-width:800px;margin:0 auto;background:#fff;border-top:1px solid #e6e0da;padding:30px 28px 26px;display:flex;flex-direction:column;gap:20px;font-family:'Source Sans 3',system-ui,sans-serif;color:var(--bi-ink)}
.btmi-foot a{color:var(--bi-ink);text-decoration:none}.btmi-foot a:hover{color:var(--bi-red)}
.btmi-wm{font-family:'Archivo',sans-serif;font-weight:900;font-size:24px;text-align:center}
.btmi-soc{display:flex;justify-content:center;gap:8px}
.btmi-soc a{width:44px;height:44px;display:flex;align-items:center;justify-content:center}
.btmi-fg{display:flex;flex-direction:column;gap:8px}
.btmi-fg b{font-family:'Archivo',sans-serif;font-size:15px}
.btmi-fg div,.btmi-fg ul{display:flex;flex-wrap:wrap;gap:6px 20px;font-size:15px;list-style:none;margin:0;padding:0}
.btmi-copy{border-top:1px solid #e6e0da;padding-top:14px;text-align:center;font-size:14px;color:#3f3f3f}
@media (max-width:640px){
.btmi-sec{padding:24px 16px 0}.btmi-list{padding:18px 16px}
.btmi-grid,.btmi-grid2{grid-template-columns:1fr}
.btmi-ad-ssh{grid-template-columns:1fr;text-align:left}.btmi-ad-ssh .r{align-items:flex-start}
.btmi-foot{padding:24px 16px}
.btmi-top .date{display:none}
}

.btmi-main .ph{display:block;background:#eef1f4}

/* v1.1 wider layout */
.btmi-main,.btmi-foot{max-width:1200px}
.btmi-sec{padding:36px 32px 0}
.btmi-list{padding:26px 32px}
.btmi-two>.btmi-big{flex:1.6 1 420px}
.btmi-big .t{font-size:30px;line-height:1.18}
.btmi-row .t{font-size:18px}
.btmi-row img,.btmi-row .ph{width:140px}
.btmi-list .it .t{font-size:19px}
.btmi-grid{grid-template-columns:repeat(4,minmax(0,1fr))}
.btmi-grid .t{font-size:18px}
.btmi-grid2{grid-template-columns:repeat(3,minmax(0,1fr));gap:24px 28px}
.btmi-h h2{font-size:26px}
.btmi-cat,.btmi-meta{font-size:12px}
@media (max-width:1000px){.btmi-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.btmi-grid2{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media (max-width:640px){.btmi-sec{padding:24px 16px 0}.btmi-list{padding:18px 16px}.btmi-grid,.btmi-grid2{grid-template-columns:1fr}.btmi-big .t{font-size:24px}.btmi-row img,.btmi-row .ph{width:100px}}

.btmi-flinks{display:flex;flex-wrap:wrap;justify-content:center;gap:10px 30px;font-size:16px;font-weight:600;padding:6px 0}
.btmi-flinks a{padding:8px 0}

/* ===== v2 business-news layout ===== */
body.btmi{background:#ffffff}
.btmi-hdr{border-bottom:1px solid #e6e6e6}
.btmi-catnav ul{list-style:none;margin:0 auto;padding:6px 20px 0;max-width:1240px;display:flex;flex-wrap:wrap;justify-content:center;gap:0 22px}
.btmi-catnav li{position:relative}
.btmi-catnav a{display:block;padding:8px 0;font-size:13px;font-weight:600;color:#0d0d0d;text-decoration:none}
.btmi-catnav a:hover{color:var(--bi-red)}
.btmi-catnav ul ul{display:none;position:absolute;top:100%;left:0;background:#fff;border:1px solid #eee;padding:6px 12px;min-width:200px;z-index:50;flex-direction:column}
.btmi-catnav li:hover>ul,.btmi-catnav li:focus-within>ul{display:flex}
.btmi-mast{max-width:1240px;margin:0 auto;padding:8px 20px 10px;display:grid;grid-template-columns:1fr auto 1fr;align-items:center;gap:12px}
.btmi-mast .date{font-size:13px;font-weight:600;color:#3f3f3f;font-family:'Source Sans 3',sans-serif}
.btmi-mast .btmi-logo{justify-self:center;display:inline-block;zoom:.6;color:#0d0d0d;text-decoration:none}
.btmi-mast .btmi-logo img{max-height:56px;width:auto}
.btmi-mast .act{justify-self:end;display:flex;align-items:center;gap:12px}
.btmi-mast .adv{color:#d9381e;font-weight:700;font-size:14px;text-decoration:none;font-family:'Archivo',sans-serif}
.btmi-mast form{display:flex;align-items:center;border:1px solid #dcdcdc;border-radius:999px;padding:0 4px 0 12px}
.btmi-mast input[type=search]{border:0;font:inherit;font-size:14px;width:140px;padding:8px 0;background:transparent;outline:none}
.btmi-mast form button{border:0;background:transparent;width:36px;height:36px;cursor:pointer;color:#0d0d0d}
.btmi-trend{max-width:1240px;margin:0 auto;padding:8px 20px 12px;display:flex;flex-wrap:wrap;justify-content:center;gap:6px 22px;font-size:13px;font-family:'Archivo',sans-serif;border-top:1px solid #f1f1f1}
.btmi-trend a{color:#0d0d0d;text-decoration:none;font-weight:600}
.btmi-trend em{font-style:normal;font-size:10px;font-weight:800;background:#e6f4ea;color:#1a7f45;padding:2px 5px;border-radius:3px;margin-left:4px}
.btmi-wrap{max-width:1240px;margin:0 auto;padding:22px 20px 40px;font-family:'Archivo',system-ui,sans-serif;color:#0d0d0d}
.btmi-wrap a{color:#0d0d0d;text-decoration:none}.btmi-wrap a:hover .t{color:var(--bi-red)}
.btmi-hero{display:grid;grid-template-columns:minmax(0,2.1fr) minmax(0,1fr);gap:24px}
.btmi-hero .lead{position:relative;display:block}
.btmi-hero-img{display:block;width:100%;aspect-ratio:16/10;object-fit:cover;background:#eef1f4}
.btmi-hero .lead .box{position:absolute;left:0;bottom:0;max-width:72%;background:#fff;padding:14px 18px 10px 0;display:flex;flex-direction:column;gap:6px}
.btmi-hero .lead .t{font-weight:800;font-size:28px;line-height:1.15}
.btmi-hero .rcol{display:flex;flex-direction:column;gap:16px}
.btmi-hero .rcol .c{display:flex;flex-direction:column;gap:8px}
.btmi-hero .rcol .c .t{font-weight:700;font-size:18px;line-height:1.25}
.btmi-hero .btmi-row img,.btmi-hero .btmi-row .ph{width:96px}
.btmi-hero .btmi-row .t{font-size:15px}
.btmi-strip{margin:26px -20px 0;padding:18px 20px;background:#fbf8f5;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:20px}
.btmi-strip a{display:flex;flex-direction:column;gap:6px}
.btmi-strip .btmi-meta b{background:#0d0d0d;color:#fff;padding:2px 5px;margin-right:4px;font-size:10px}
.btmi-strip .t{font-weight:700;font-size:15px;line-height:1.3}
.btmi-body{display:grid;grid-template-columns:minmax(0,2.1fr) minmax(0,1fr);gap:32px;margin-top:30px}
.btmi-col{display:flex;flex-direction:column;gap:34px;min-width:0}
.btmi-pair{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px}
.btmi-pair .c{display:flex;flex-direction:column;gap:8px}
.btmi-pair .c .t{font-weight:700;font-size:21px;line-height:1.25}
.btmi-block{display:flex;flex-direction:column;gap:16px}
.btmi-title{margin:0;font-weight:800;font-size:26px}
.btmi-g2{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:26px 24px}
.btmi-g2 .c{display:flex;flex-direction:column;gap:8px;min-width:0}
.btmi-g2 .c .t{font-weight:700;font-size:20px;line-height:1.25}
.btmi-g2s{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px 24px}
.btmi-aside{display:flex;flex-direction:column;gap:26px;min-width:0}
.btmi-h2{border-bottom:2px solid #0d0d0d;padding-bottom:6px}
.btmi-h2 h2{margin:0;font-weight:800;font-size:20px}
.btmi-chipbar{display:flex;flex-wrap:wrap;gap:6px;margin:10px 0 4px}
.btmi-chipbar button{font:inherit;font-size:12px;font-weight:700;border:1px solid #d6d6d6;background:#fff;border-radius:999px;padding:6px 11px;cursor:pointer;min-height:32px}
.btmi-chipbar button[aria-pressed=true]{background:#0d0d0d;color:#fff;border-color:#0d0d0d}
.btmi-lt a{display:flex;flex-direction:column;gap:3px;padding:11px 0;border-bottom:1px solid #eee}
.btmi-lt .t{font-weight:700;font-size:15px;line-height:1.3}
.btmi-most a{display:grid;grid-template-columns:26px minmax(0,1fr) 64px;gap:10px;align-items:center;padding:11px 0;border-bottom:1px solid #eee}
.btmi-most b{font-size:22px;font-weight:900;color:var(--bi-red)}
.btmi-most .t{font-weight:700;font-size:14px;line-height:1.3}
.btmi-most img,.btmi-most .ph{width:64px;aspect-ratio:4/3;object-fit:cover}
.btmi-feat a{display:flex;justify-content:space-between;gap:12px;align-items:center;padding:12px 0;border-bottom:1px solid #eee}
.btmi-feat .tx{display:flex;flex-direction:column;gap:3px;min-width:0}
.btmi-feat .au{font-size:11px;font-weight:700;letter-spacing:.04em;text-transform:uppercase;color:#6a6a6a}
.btmi-feat .t{font-weight:700;font-size:14px;line-height:1.3}
.btmi-feat img{border-radius:50%;flex:none}
.btmi-sidead{display:flex;justify-content:center}
.btmi-foot{max-width:1240px;background:#fff}
@media (max-width:1000px){.btmi-hero,.btmi-body{grid-template-columns:1fr}.btmi-strip{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media (max-width:640px){.btmi-mast{grid-template-columns:1fr;justify-items:center}.btmi-mast .date{display:none}.btmi-mast .act{justify-self:center}.btmi-mast .btmi-logo{zoom:.48}.btmi-hero .lead .box{position:static;max-width:none;padding:10px 0 0}.btmi-hero .lead .t{font-size:22px}.btmi-strip,.btmi-pair,.btmi-g2,.btmi-g2s{grid-template-columns:1fr}}

.btmi-hero .lead .box{border:0!important;border-radius:0!important;box-shadow:none!important}

/* ===== footer v3 ===== */
.btmi-foot2{background:#f5f6f9;border-top:1px solid #e6e8ee;margin-top:40px;font-family:'Source Sans 3',system-ui,sans-serif;color:#1f2430}
.btmi-foot2 .in{max-width:1240px;margin:0 auto;padding:44px 20px 24px}
.btmi-foot2 .top{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,2fr);gap:32px}
.btmi-foot2 .flogo{display:inline-block;zoom:.75;color:#0d0d0d;text-decoration:none}
.btmi-foot2 .brand p{margin:12px 0 0;color:#5b6170;font-size:15px;max-width:34ch}
.btmi-foot2 h2{margin:0 0 14px;font-family:'Archivo',sans-serif;font-size:14px;font-weight:800;letter-spacing:.1em;text-transform:uppercase}
.btmi-foot2 ul{list-style:none;margin:0;padding:0;columns:3;column-gap:28px}
.btmi-foot2 li{break-inside:avoid;padding:6px 0}
.btmi-foot2 a{color:#3a4050;text-decoration:none;font-size:16px}
.btmi-foot2 a:hover{color:var(--bi-red)}
.btmi-foot2 .bot{border-top:1px solid #e1e4ea;margin-top:30px;padding-top:18px;display:flex;flex-wrap:wrap;justify-content:space-between;gap:10px 24px;font-size:14px;color:#3a4050}
.btmi-foot2 .bot nav{display:flex;flex-wrap:wrap;gap:6px 20px}
.btmi-foot2 .bot a{font-size:14px}
@media (max-width:800px){.btmi-foot2 .top{grid-template-columns:1fr}.btmi-foot2 ul{columns:2}}
