/*
Theme Name: Business To Mark
Theme URI: https://example.com/business-to-mark
Author: Business To Mark
Description: Clean, professional business news theme. Magazine homepage with READ/WATCH/LISTEN switch, trending links, lead story with overlapping headline, latest-news rail with category filters, Great Reads, category sections, videos, key-points box, ad widget areas and full Customizer options.
Version: 1.1.0
Requires at least: 6.0
Tested up to: 6.8
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: btm
Tags: news, blog, two-columns, right-sidebar, custom-logo, custom-menu, featured-images, theme-options, threaded-comments, translation-ready
*/
:root{--ink:#111;--ink2:#2b2b2b;--muted:#6f6f6f;--line:#e5e5e5;--dot:#c9c9c9;--beige:#f7f5f2;--blue:#1438ff;--red:#e3241b;--wrap:1240px;--font:"Hanken Grotesk",system-ui,sans-serif;--logo:"Archivo Black",Impact,sans-serif}
*{box-sizing:border-box}
body{margin:0;background:#fff;color:var(--ink);font-family:var(--font);line-height:1.45;-webkit-font-smoothing:antialiased}
a{color:inherit;text-decoration:none}
a:hover h2,a:hover h3,a:hover h4,h2 a:hover,h3 a:hover,h4 a:hover,.hl:hover{text-decoration:underline;text-decoration-thickness:1px;text-underline-offset:3px}
h1,h2,h3,h4{margin:0;font-weight:600;letter-spacing:-.01em;line-height:1.22}
.wrap{max-width:var(--wrap);margin:0 auto;padding:0 20px}
.rt{font-size:11.5px;font-weight:600;color:var(--muted);text-transform:uppercase;letter-spacing:.02em;margin-top:6px}
.kick{font-size:11.5px;font-weight:700;text-transform:uppercase;letter-spacing:.04em;color:var(--ink2);display:flex;align-items:center;gap:6px}
.kick svg{width:13px;height:13px}
.dotline{border-top:1.5px dotted var(--dot)}
.img{position:relative;overflow:hidden;background:#eee;aspect-ratio:16/11}
.img .play{position:absolute;left:50%;top:50%;width:44px;height:44px;margin:-22px 0 0 -22px;border-radius:50%;background:rgba(0,0,0,.55);display:grid;place-items:center}
.img .play::after{content:"";border-left:13px solid #fff;border-top:8px solid transparent;border-bottom:8px solid transparent;margin-left:4px}
.img .tagbox{position:absolute;right:10px;top:10px;background:var(--blue);color:#fff;font-weight:800;font-size:22px;padding:4px 10px;letter-spacing:-.01em}

/* ad */
.ad-top{background:#f2f2f2;padding:12px 0;text-align:center}
.ad{background:#f1f1f1;color:#9a9a9a;font-size:11px;letter-spacing:.12em;display:grid;place-items:center;text-transform:uppercase}
.ad-top .ad{width:970px;max-width:100%;height:150px;margin:0 auto;background:repeating-linear-gradient(135deg,#ececec 0 12px,#f4f4f4 12px 24px)}

/* nav */
.topnav ul{list-style:none;margin:0;padding:14px 0;display:flex;justify-content:center;flex-wrap:wrap}
.topnav li{font-weight:700;font-size:14.5px;padding:0 13px;border-right:1.5px dotted var(--dot)}
.topnav li:last-child{border:0}
.topnav a:hover{color:var(--blue)}
.mast{display:grid;grid-template-columns:1fr auto 1fr;align-items:center;padding:14px 0 10px}
.mast .date{font-weight:700;font-size:14.5px}
.logo{font-family:var(--logo);font-size:52px;letter-spacing:-.02em;line-height:1;text-transform:uppercase;white-space:nowrap}
.logo span{color:var(--blue)}
.tools{display:flex;justify-content:flex-end;align-items:center;gap:18px}
.tools .subs{color:var(--blue);font-weight:800;font-size:15px;display:flex;align-items:center;gap:5px;padding-right:18px;border-right:1px solid var(--line)}
.tools svg{width:22px;height:22px;display:block}
.tools button{background:none;border:0;padding:0;cursor:pointer;color:var(--ink)}
.rwl{display:flex;justify-content:center;margin:6px 0 16px}
.rwl div{display:flex;background:#f3f3f3;padding:3px;gap:4px}
.rwl a{font-weight:800;font-size:17px;padding:8px 16px;color:#8a8a8a;letter-spacing:.02em}
.rwl a.on{background:var(--ink);color:#fff}
.trend ul{list-style:none;margin:0;padding:0;display:flex;justify-content:center;flex-wrap:wrap}
.trend{display:block;justify-content:center;flex-wrap:wrap;gap:0;padding:0 0 16px;font-size:13.5px;font-weight:500;border-bottom:6px solid #f4f4f4}
.trend li{padding:0 14px;border-right:1.5px dotted var(--dot)}
.trend li:last-child{border:0}
.trend a{display:flex;gap:6px;align-items:center}
.trend li.tag-signup>a::after{content:"Sign up";font-size:10.5px;font-weight:800;padding:3px 8px;border-radius:999px;background:#e6e9ff;color:#1b2a8f}
.trend li.tag-new>a::after{content:"NEW";font-size:10.5px;font-weight:800;padding:2px 6px;border-radius:2px;background:#dff5e3;color:#126b2a;border:1px solid #9bd4a8}
.pill{font-size:10.5px;font-weight:800;padding:3px 8px;border-radius:999px;background:#e6e9ff;color:#1b2a8f}
.pill.new{background:#dff5e3;color:#126b2a;border-radius:2px;border:1px solid #9bd4a8}

/* hero */
.hero{display:grid;grid-template-columns:2fr 1fr;gap:36px;padding:28px 0 36px}
.lead{position:relative}
.lead .img{aspect-ratio:16/9.6}
.titlebox{position:relative;background:#fff;margin:-48px 0 0;width:88%;padding:20px 28px 0 30px}
.titlebox h1,.titlebox h2{font-size:32px;font-weight:600}
.trio{display:grid;grid-template-columns:repeat(3,1fr);gap:3px}
.trio .img{aspect-ratio:3/4.8}
.side-top h3{font-size:22px;margin:10px 0 0}
.li{display:grid;grid-template-columns:1fr 112px;gap:16px;padding:16px 0;border-top:1.5px dotted var(--dot)}
.li .img{aspect-ratio:4/3}
.li h4{font-size:16.5px;font-weight:500}
.side-top .kick{margin-top:14px}

/* strip */
.strip{background:var(--beige);padding:24px 0}
.strip .wrap{display:grid;grid-template-columns:repeat(4,1fr)}
.strip article{padding:0 20px;border-left:1.5px dotted var(--dot)}
.strip article:first-child{padding-left:0;border:0}
.strip h4{font-size:17px;font-weight:500;margin-top:6px}
.badge{background:var(--blue);color:#fff;padding:2px 5px;font-size:11px;font-weight:800}
.strip .kick span.g{color:var(--muted);font-weight:600}

/* main grid */
.main{display:grid;grid-template-columns:minmax(0,1fr) 340px;gap:40px;padding:40px 0}
.rail{border-left:1px solid var(--line);padding-left:40px;margin-left:-40px}
.duo{display:grid;grid-template-columns:1.25fr 1fr;gap:36px}
.duo .titlebox{width:92%;margin-top:-36px;padding:14px 18px 0 0}
.duo .titlebox h2{font-size:22px}
.li.sm{grid-template-columns:1fr 112px}
.li.sm:first-child{border-top:0;padding-top:0}
.li.sm h4{font-size:18px}
.rhead{display:flex;justify-content:space-between;align-items:flex-start;margin-bottom:16px}
.rhead h3{font-size:26px;font-weight:800;position:relative;padding-bottom:10px}
.rhead h3::after{content:"";position:absolute;left:0;bottom:0;width:36px;height:4px;background:var(--red)}
.rhead.blue h3::after{background:var(--blue)}
.more{font-weight:700;font-size:15px;display:flex;align-items:center;gap:8px;white-space:nowrap}
.more i{width:18px;height:18px;border-radius:50%;background:var(--blue);display:grid;place-items:center}
.more i.r{background:var(--red)}
.more i svg{width:10px;height:10px}
.chips{display:flex;gap:8px;flex-wrap:wrap;margin-bottom:12px}
.chips button{font:inherit;font-weight:600;font-size:14px;border:1px solid var(--line);background:#fff;border-radius:999px;padding:7px 16px;cursor:pointer}
.chips button.on{background:var(--ink);color:#fff;border-color:var(--ink)}
.latest li{list-style:none;padding:12px 0;border-bottom:1.5px dotted var(--dot)}
.latest ul{margin:0;padding:0}
.latest h4{font-size:16px;font-weight:500}
.ago{color:var(--red);font-size:11.5px;font-weight:700;margin-bottom:3px}
.rail .ad{height:250px;margin:24px 0}
.readers .li{grid-template-columns:1fr 112px;border:0;padding:12px 0}
.cm{display:flex;align-items:center;gap:6px;font-size:13px;font-weight:700;margin-top:10px}
.cm svg{width:17px;height:17px}
.feat article{display:grid;grid-template-columns:1fr 76px;gap:14px;padding:16px 0;border-bottom:1.5px dotted var(--dot)}
.feat .by{font-size:11.5px;font-weight:700;text-transform:uppercase;display:flex;gap:6px;align-items:center;letter-spacing:.03em}
.feat .by b{width:20px;height:20px;border:1px solid var(--line);border-radius:50%;display:grid;place-items:center;font-size:14px}
.feat h4{font-size:16px;font-weight:500;margin-top:8px}
.avatar{width:76px;height:76px;border-radius:50%;background:var(--blue);overflow:hidden;position:relative}
.sec-title{font-size:38px;font-weight:800;letter-spacing:-.02em;margin:0 0 20px}
.g2{display:grid;grid-template-columns:1fr 1fr;gap:36px}
.card .img{aspect-ratio:16/11.5}
.card h3{font-size:22px;font-weight:500;margin-top:12px}
.card .kick{margin-top:12px;margin-bottom:-4px;color:var(--ink2)}
.pairs{display:grid;grid-template-columns:1fr 1fr;gap:0 36px;margin-top:20px}
.pairs .li{grid-template-columns:1fr 112px}
.pairs .li h4{font-size:16.5px}
.block{padding-top:44px;margin-top:44px;border-top:1px solid var(--line)}
.block:first-child{border:0;margin-top:0;padding-top:0}
.bhead{display:flex;justify-content:space-between;align-items:baseline;margin-bottom:20px}
.bhead h2{font-size:34px;font-weight:800;letter-spacing:-.02em}

.videos{background:#0e0e0e;color:#fff;padding:40px 0;margin-top:10px}
.videos .bhead h2{color:#fff}
.videos .more{color:#fff}
.g4{display:grid;grid-template-columns:repeat(4,1fr);gap:22px}
.videos h4{font-size:16.5px;font-weight:500;margin-top:10px}
.videos .rt{color:#aaa}

/* footer */
footer{background:var(--beige);margin-top:40px;padding:34px 0 24px;font-size:14px}
.ftop{display:flex;justify-content:space-between;align-items:center;padding-bottom:22px;border-bottom:1px solid #ddd}
.flogo{font-family:var(--logo);font-size:26px;line-height:.9;text-transform:uppercase}
.flogo span{color:var(--blue)}
.social{display:flex;gap:22px;align-items:center}
.social svg{width:20px;height:20px}
.apps{display:flex;gap:8px;margin-left:30px}
.apps a{background:#000;color:#fff;border-radius:6px;padding:6px 12px;font-size:12px;font-weight:700;line-height:1.1}
.apps a small{display:block;font-size:8.5px;font-weight:500;opacity:.8}
.fcols{display:grid;grid-template-columns:2fr 1.2fr 1.4fr 1fr;gap:20px;padding:24px 0}
.fcols h5{font-size:14.5px;margin:0 0 14px;font-weight:800}
.fcols ul{list-style:none;margin:0;padding:0;columns:1}
.fcols .two{columns:2}
.fcols li{padding:0 0 13px;color:#333}
.copy{text-align:center;color:#444;font-size:13px;border-top:1px solid #ddd;padding-top:16px}

/* ARTICLE */
.art-wrap{display:grid;grid-template-columns:minmax(0,1fr) 300px;gap:56px;padding:30px 0 20px}
.crumb{font-size:13px;font-weight:700;color:var(--blue);text-transform:uppercase;letter-spacing:.04em;display:flex;gap:8px}
.crumb span{color:var(--muted)}
.art h1{font-size:44px;font-weight:700;letter-spacing:-.02em;line-height:1.1;margin:14px 0 14px}
.dek{font-size:20px;color:#3a3a3a;margin:0 0 20px}
.byline{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:14px 0;border-top:1px solid var(--line);border-bottom:1px solid var(--line);flex-wrap:wrap}
.byline .who{display:flex;gap:12px;align-items:center}
.byline .av{width:44px;height:44px;border-radius:50%;background:var(--blue);position:relative;overflow:hidden}
.byline b{display:block;font-size:15px}
.byline small{color:var(--muted);font-size:13px}
.follow{border:1px solid var(--ink);border-radius:999px;padding:3px 10px;font-size:12px;font-weight:700;margin-left:8px}
.shares{display:flex;gap:8px}
.shares a{width:36px;height:36px;border:1px solid var(--line);border-radius:50%;display:grid;place-items:center}
.shares svg{width:16px;height:16px}
.keypts{background:var(--beige);padding:18px 22px;margin:22px 0;border-left:4px solid var(--blue)}
.keypts h5{margin:0 0 8px;font-size:13px;text-transform:uppercase;letter-spacing:.06em;font-weight:800}
.keypts ul{margin:0;padding-left:18px}
.keypts li{margin:6px 0;font-size:16.5px}
figure{margin:22px 0}
figcaption{font-size:13px;color:var(--muted);padding-top:8px;border-bottom:1px solid var(--line);padding-bottom:10px}
.body p{font-size:19px;line-height:1.7;margin:0 0 22px;color:#1d1d1d}
.body h2{font-size:28px;font-weight:700;margin:34px 0 14px}
.body a.inl{color:var(--blue);text-decoration:underline;text-underline-offset:3px}
.pq{border-top:4px solid var(--ink);border-bottom:1px solid var(--line);padding:18px 0;margin:30px 0;font-size:28px;font-weight:700;line-height:1.25}
.inad{height:250px;margin:30px 0}
.readnext{display:grid;grid-template-columns:150px 1fr;gap:16px;align-items:center;border:1px solid var(--line);padding:12px;margin:26px 0}
.readnext .img{aspect-ratio:4/3}
.readnext small{font-size:11px;font-weight:800;color:var(--blue);text-transform:uppercase;letter-spacing:.06em}
.readnext h4{font-size:17px;margin-top:4px}
.tags{display:flex;gap:8px;flex-wrap:wrap;margin:26px 0}
.tags a{border:1px solid var(--line);padding:6px 12px;border-radius:999px;font-size:13.5px;font-weight:600}
.sticky{position:sticky;top:20px}
.side h5{font-size:20px;font-weight:800;margin:30px 0 8px}

/* CATEGORY */
.cat-head{padding:30px 0 10px;border-bottom:1px solid var(--line)}
.cat-head h1{font-size:64px;font-weight:800;letter-spacing:-.03em;line-height:1}
.cat-head p{color:var(--muted);font-size:17px;margin:10px 0 18px;max-width:60ch}
.cat-lead{display:grid;grid-template-columns:2fr 1fr;gap:36px;padding:30px 0}
.cat-lead .side .card h3{font-size:19px}
.cat-lead .side .card+.card{margin-top:22px}
.g3{display:grid;grid-template-columns:repeat(3,1fr);gap:30px}
.g3 .card h3{font-size:19px}
.rows .row{display:grid;grid-template-columns:260px 1fr;gap:24px;padding:22px 0;border-bottom:1.5px dotted var(--dot)}
.rows h3{font-size:22px;font-weight:600;margin:6px 0}
.rows p{color:var(--muted);margin:0 0 6px}
.loadmore{display:block;margin:30px auto 0;border:2px solid var(--ink);background:#fff;font:inherit;font-weight:800;padding:12px 28px;border-radius:999px;cursor:pointer}

@media(max-width:1100px){.logo{font-size:38px}.main,.art-wrap{grid-template-columns:1fr}.rail{border:0;padding:0;margin:0}.g4{grid-template-columns:1fr 1fr}}
@media(max-width:860px){
 .hero,.duo,.cat-lead{grid-template-columns:1fr}.strip .wrap{grid-template-columns:1fr 1fr;gap:18px}.strip article{border:0;padding:0}
 .mast{grid-template-columns:1fr auto}.mast .date{display:none}.logo{font-size:22px}.tools .subs{display:none}
 .topnav ul{justify-content:flex-start;flex-wrap:nowrap;overflow-x:auto;padding:10px 0}.topnav li{white-space:nowrap}
 .trend{overflow-x:auto}.trend ul{justify-content:flex-start;flex-wrap:nowrap;white-space:nowrap}
 .titlebox{width:100%;margin-top:0;padding:14px 0 0}.titlebox h1,.titlebox h2{font-size:24px}
 .fcols{grid-template-columns:1fr 1fr}.ftop{flex-direction:column;gap:16px;align-items:flex-start}.apps{margin:0}
 .g3{grid-template-columns:1fr 1fr}
}
@media(max-width:600px){
 .g2,.pairs,.g3,.g4,.strip .wrap{grid-template-columns:1fr}.rows .row{grid-template-columns:120px 1fr}.rows p{display:none}.rows h3{font-size:17px}
 .art h1{font-size:30px}.cat-head h1{font-size:44px}.body p{font-size:17.5px}.sec-title,.bhead h2{font-size:28px}
 .tools{gap:12px}.fcols{grid-template-columns:1fr}
}

/* ===== WordPress additions ===== */
.img img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;transition:transform .5s}
a:hover .img img{transform:scale(1.03)}
.logo img,.custom-logo{max-height:64px;width:auto;display:block;margin:0 auto}
.screen-reader-text{position:absolute!important;width:1px;height:1px;overflow:hidden;clip:rect(1px,1px,1px,1px);white-space:nowrap}
.skip-link:focus{position:fixed;top:8px;left:8px;z-index:999;background:var(--blue);color:#fff;padding:8px 14px;width:auto;height:auto;clip:auto}
:focus-visible{outline:2px solid var(--blue);outline-offset:2px}
.ad-slot{margin:24px 0;text-align:center;overflow:hidden}
.ad-top .ad-slot{margin:0 auto}
.ad-empty{border:2px dashed #d5d5d5;background:#fafafa;color:#999;font-size:12px;padding:30px 10px;text-align:center}
.rwl a{display:inline-block}
.tools .subs:hover{text-decoration:underline}
.latest li[hidden]{display:none}
.custom-av img{width:100%;height:100%;object-fit:cover;border-radius:50%}
.avatar img{width:100%;height:100%;object-fit:cover}
.byline .av img{width:100%;height:100%;object-fit:cover}

/* Search overlay & drawer */
.search-overlay{position:fixed;inset:0;z-index:100;background:rgba(0,0,0,.6);display:none;align-items:flex-start;justify-content:center;padding-top:14vh}
.search-overlay.is-open{display:flex}
.search-form{display:flex;gap:8px;background:#fff;padding:8px;width:min(680px,92vw);border:1px solid var(--line)}
.search-form input[type=search]{flex:1;border:0;padding:12px;font:inherit;font-size:18px;outline:none}
.search-form button{background:var(--ink);color:#fff;border:0;font:inherit;font-weight:800;padding:0 22px;cursor:pointer}
.drawer{position:fixed;top:0;right:0;bottom:0;width:min(360px,88vw);background:#fff;z-index:110;transform:translateX(100%);transition:transform .25s;padding:24px;overflow-y:auto;box-shadow:-10px 0 40px rgba(0,0,0,.15)}
.drawer.is-open{transform:none}
.drawer-close{position:absolute;right:16px;top:14px;background:none;border:0;font-size:30px;cursor:pointer;line-height:1}
.drawer ul{list-style:none;margin:30px 0 0;padding:0}
.drawer li a{display:block;padding:12px 0;border-bottom:1.5px dotted var(--dot);font-weight:700;font-size:18px}
.drawer .sub-menu{margin:0 0 0 14px}
.drawer .sub-menu a{font-size:15px;font-weight:500}
.drawer-backdrop{position:fixed;inset:0;background:rgba(0,0,0,.4);z-index:105;display:none}
.drawer-backdrop.is-open{display:block}

/* Article content */
.body>*{max-width:100%}
.body ul,.body ol{font-size:19px;line-height:1.7;padding-left:24px;margin:0 0 22px}
.body h3{font-size:22px;font-weight:700;margin:28px 0 12px}
.body a{color:var(--blue);text-decoration:underline;text-underline-offset:3px}
.body blockquote{border-top:4px solid var(--ink);border-bottom:1px solid var(--line);padding:18px 0;margin:30px 0;font-size:26px;font-weight:700;line-height:1.25}
.body blockquote p{font-size:inherit;line-height:inherit;margin:0}
.body img{max-width:100%;height:auto}
.body figure{margin:26px 0}
.body table{width:100%;border-collapse:collapse;font-size:16px;margin:0 0 22px}
.body th,.body td{border:1px solid var(--line);padding:10px;text-align:left}
.body th{background:var(--beige)}
.body pre{background:var(--beige);padding:16px;overflow:auto}
.wp-caption-text,.wp-element-caption{font-size:13px;color:var(--muted)}
.alignleft{float:left;margin:0 1.5em 1em 0}
.alignright{float:right;margin:0 0 1em 1.5em}
.aligncenter{margin-left:auto;margin-right:auto}
.author-box{display:flex;gap:16px;padding:20px;background:var(--beige);margin:26px 0}
.author-box img{width:64px;height:64px;border-radius:50%}
.author-box h4{font-size:17px;margin-bottom:4px}
.author-box p{margin:0;color:#444;font-size:15px}

/* Pagination */
.pagination,.nav-links{display:flex;gap:8px;justify-content:center;flex-wrap:wrap;margin:30px 0}
.page-numbers{min-width:42px;height:42px;padding:0 12px;border:1.5px solid var(--ink);border-radius:999px;display:inline-flex;align-items:center;justify-content:center;font-weight:700}
.page-numbers.current{background:var(--ink);color:#fff}
.loadmore{text-align:center}

/* Comments */
.comments-area{margin:40px 0}
.comment-list{list-style:none;padding:0;margin:0 0 30px}
.comment-list .children{list-style:none;padding-left:30px}
.comment-body{padding:16px 0;border-bottom:1.5px dotted var(--dot)}
.comment-author{display:flex;gap:10px;align-items:center;font-weight:700}
.comment-author img{border-radius:50%}
.comment-metadata{font-size:12.5px;color:var(--muted);margin:4px 0 8px}
.comment-form label{display:block;font-weight:700;font-size:14px;margin-bottom:6px}
.comment-form input[type=text],.comment-form input[type=email],.comment-form input[type=url],.comment-form textarea{width:100%;border:1px solid #ccc;padding:11px;font:inherit}
.comment-form .submit{background:var(--ink);color:#fff;border:0;padding:12px 24px;font:inherit;font-weight:800;border-radius:999px;cursor:pointer}
.err404{text-align:center;padding:80px 0}
.err404 .big{font-family:var(--logo);font-size:130px;line-height:1;color:var(--blue)}
.page-body{max-width:760px;margin:0 auto;padding:10px 0 50px}
.widget{margin-bottom:26px}
.widget-title{font-size:20px;font-weight:800;margin:0 0 10px}
.widget ul{list-style:none;padding:0;margin:0}
.widget li{padding:8px 0;border-bottom:1.5px dotted var(--dot)}
.chips a{font-weight:600;font-size:14px;border:1px solid var(--line);background:#fff;border-radius:999px;padding:7px 16px}
.chips a.on{background:var(--ink);color:#fff;border-color:var(--ink)}
.chips a:hover{border-color:var(--ink)}

/* ===== BusinessToMark extras ===== */
.tools .gp{background:#ffb300;color:#111;font-weight:800;font-size:14px;padding:8px 14px;border-radius:999px;white-space:nowrap}
.tools .gp:hover{background:#ffc93d}
.gpbox{background:#111;color:#fff;padding:20px;margin-bottom:28px}
.gpbox small{display:block;font-size:10.5px;letter-spacing:.12em;color:#aaa;font-weight:700}
.gpbox b{display:block;font-size:22px;margin:8px 0 6px;line-height:1.2}
.gpbox p{color:#cfcfcf;font-size:13.5px;margin:0 0 14px}
.gpbox a{display:inline-block;background:#fff;color:#111;font-weight:800;font-size:14px;padding:9px 14px}
.wa{position:fixed;right:18px;bottom:18px;z-index:50;background:#1fa855;color:#fff;font-weight:800;font-size:14px;padding:12px 18px;border-radius:999px;box-shadow:0 6px 18px rgba(0,0,0,.2)}
.wa:hover{color:#fff;background:#178c46}
.fcols .two li a,.fcols li a{color:#333}
@media(max-width:860px){.tools .gp{display:none}}

/* Show the theme masthead (logo) even if another plugin hides header.site-header */
body header.site-header{display:block!important}

/* Smaller header logo */
body .mast .logo{font-size:30px!important;letter-spacing:-.02em}
body .mast .logo img,body .mast .custom-logo{max-height:34px;width:auto}
@media(max-width:860px){body .mast .logo{font-size:22px!important}}

/* Hide the date in the header */
body .mast .date{visibility:hidden}

/* Remove header Guest Post button; Advertise takes its place */
body .tools .gp{display:none!important}
body .tools .subs{background:#ffb300;color:#111;font-weight:800;font-size:14px;padding:8px 18px;border-radius:999px;border-right:0;white-space:nowrap}
body .tools .subs:hover{background:#ffc93d;color:#111}

/* Homepage width and text size like a standard news site (about 1240px) */
body .btmh{max-width:1240px!important;margin-left:auto!important;margin-right:auto!important;padding-left:20px!important;padding-right:20px!important;box-sizing:border-box}
body .btmh-ov h1.btmh-h{font-size:32px!important;line-height:1.2}
@media(max-width:860px){body .btmh{padding-left:14px!important;padding-right:14px!important}body .btmh-ov h1.btmh-h{font-size:24px!important}}

html body #btmh{max-width:1240px!important;width:calc(100% - 40px)!important;margin-left:auto!important;margin-right:auto!important;grid-template-columns:minmax(0,1fr) 340px!important}
@media(max-width:900px){html body #btmh{grid-template-columns:1fr!important;width:calc(100% - 24px)!important}}

/* Footer: centered logo on top, links in 3 rows */
body .site-footer .ftop{justify-content:center!important;text-align:center;flex-direction:column;gap:14px}
body .site-footer .ftop .flogo{text-align:center}
body .site-footer .fcols{display:grid!important;grid-template-columns:1fr 1fr 1fr!important;gap:10px 40px!important}
body .site-footer .fcols>div:nth-child(1){grid-column:1/-1;grid-row:1}
body .site-footer .fcols>div:nth-child(1) ul{columns:6!important;column-gap:24px}
body .site-footer .fcols>div:nth-child(2){grid-column:1;grid-row:2}
body .site-footer .fcols>div:nth-child(3){grid-column:2;grid-row:2}
body .site-footer .fcols>div:nth-child(4){grid-column:3;grid-row:2}
body .site-footer .fcols>div ul li{padding-bottom:9px;break-inside:avoid}
@media(max-width:860px){body .site-footer .fcols{grid-template-columns:1fr 1fr!important}body .site-footer .fcols>div:nth-child(1) ul{columns:2!important}body .site-footer .fcols>div:nth-child(2){grid-column:1;grid-row:2}body .site-footer .fcols>div:nth-child(3){grid-column:2;grid-row:2}body .site-footer .fcols>div:nth-child(4){grid-column:1/-1;grid-row:3}}

body .site-footer .fcols>div:nth-child(1) ul{columns:auto!important;display:grid!important;grid-template-columns:repeat(6,1fr);grid-template-rows:repeat(3,auto);grid-auto-flow:column;column-gap:24px}
@media(max-width:860px){body .site-footer .fcols>div:nth-child(1) ul{grid-template-columns:repeat(2,1fr);grid-template-rows:none;grid-auto-flow:row}}

/* Footer: one-line logo, no Contact column */
body .site-footer .flogo{white-space:nowrap!important;font-size:30px!important;line-height:1.1!important}
body .site-footer .flogo br{display:none!important}
body .site-footer .fcols>div:nth-child(4){display:none!important}
body .site-footer .fcols{grid-template-columns:1fr 1fr 1fr!important}
@media(max-width:860px){body .site-footer .fcols>div:nth-child(3){grid-column:1/-1}}

/* Footer logo on one line with a proper space */
body .site-footer .flogo{font-size:0!important}
body .site-footer .flogo::before{content:"Business To ";font-size:30px;line-height:1.1;white-space:pre}
body .site-footer .flogo span{font-size:30px}

/* footer v1.2.2 - 4 rows */
body .fcols{display:block!important}
body .fcols>div{display:block!important;width:100%!important;margin:0 0 22px!important}
body .fcols .flatest ul{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px 28px;list-style:none;padding:0;margin:0}
body .fcols .flatest li a{font-weight:600;line-height:1.35;display:block}
body .fcols .flegal ul{display:flex!important;flex-wrap:wrap;gap:10px 28px;list-style:none;padding:0;margin:0}
@media(max-width:800px){body .fcols .flatest ul{grid-template-columns:1fr 1fr}}
@media(max-width:520px){body .fcols .flatest ul{grid-template-columns:1fr}}

html body .site-footer .fcols{display:block!important;grid-template-columns:none!important}
html body .site-footer .fcols>div{display:block!important;float:none!important;grid-column:1/-1!important;width:100%!important;max-width:none!important;flex:none!important}
html body .site-footer .fcols .flatest ul{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;grid-auto-flow:row!important;grid-template-rows:none!important}
@media(max-width:800px){html body .site-footer .fcols .flatest ul{grid-template-columns:1fr 1fr!important}}
@media(max-width:520px){html body .site-footer .fcols .flatest ul{grid-template-columns:1fr!important}}

/* footer cats: 6 per row, centered */
html body .site-footer .fcols .fcats h5{text-align:center}
html body .site-footer .fcols .fcats ul{display:flex!important;flex-wrap:wrap!important;justify-content:center!important;grid-template-columns:none!important;grid-template-rows:none!important;list-style:none;padding:0;margin:0;gap:10px 0}
html body .site-footer .fcols .fcats ul li{flex:0 0 16.6667%!important;max-width:16.6667%;text-align:center;padding:0 8px;box-sizing:border-box}
html body .site-footer .fcols .flatest h5,html body .site-footer .fcols .flegal h5{text-align:center}
html body .site-footer .fcols .flegal ul{justify-content:center}
@media(max-width:800px){html body .site-footer .fcols .fcats ul li{flex-basis:33.333%!important;max-width:33.333%}}
@media(max-width:480px){html body .site-footer .fcols .fcats ul li{flex-basis:50%!important;max-width:50%}}
