/*
Theme Name: HighSpeedPost
Theme URI: https://highspeedpost.com/
Author: HighSpeedPost
Description: Extra-wide responsive business, economy, industry, trade and analysis editorial magazine.
Version: 1.0.2
Requires at least: 6.0
Requires PHP: 7.4
Text Domain: highspeedpost
*/
:root{--hsp-ink:#0b1722;--hsp-navy:#07131e;--hsp-orange:#fa502e;--hsp-muted:#617080;--hsp-line:#e5e9ed;--hsp-paper:#f5f7f9}*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:var(--hsp-paper);color:var(--hsp-ink);font:16px/1.6 system-ui,-apple-system,Segoe UI,Arial,sans-serif}body .hsp-shell{width:min(100% - 44px,1800px);max-width:1800px;margin-inline:auto}body a{color:inherit;text-decoration:none}body img{max-width:100%;height:auto}body .hsp-btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;padding:12px 21px;background:var(--hsp-orange);border-radius:99px;color:#fff;font-weight:800}body .hsp-btn:hover{background:#d83d20}body .hsp-top{background:#07121d;color:#fff;font-size:12px}body .hsp-top-inner{display:flex;align-items:center;justify-content:space-between;gap:16px;min-height:36px}body .hsp-ticker{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}body .hsp-ticker strong{color:#ff785e}body .hsp-masthead{background:white;border-bottom:1px solid var(--hsp-line)}body .hsp-masthead-inner{display:grid;grid-template-columns:minmax(240px,1fr) minmax(280px,550px) minmax(180px,1fr);gap:30px;align-items:center;min-height:96px}body .hsp-logo{font-size:clamp(25px,2.2vw,38px);font-weight:900;letter-spacing:-1.5px;line-height:1.1;white-space:nowrap}body .hsp-logo span{color:var(--hsp-orange)}body .hsp-tagline{display:block;font-size:10px;font-weight:750;letter-spacing:1.1px;color:#53606c;margin-top:4px}body .hsp-search{display:flex;min-width:0;border:1px solid #dbe0e4;border-radius:40px;overflow:hidden;background:#f8fafb}body .hsp-search input{min-width:0;width:100%;border:0;background:transparent;padding:13px 18px;font:inherit;outline-offset:-3px}body .hsp-search button{border:0;background:var(--hsp-orange);color:#fff;padding:0 21px;cursor:pointer;font-size:20px}body .hsp-header-action{justify-self:end}body .hsp-nav{background:#0a1723;color:white}body .hsp-nav-inner{display:flex;align-items:center;justify-content:space-between;gap:18px;min-height:56px}body .hsp-nav ul{list-style:none;display:flex;align-items:center;flex-wrap:wrap;gap:0;margin:0;padding:0}body .hsp-nav li a{display:block;padding:16px 19px;font-size:14px;font-weight:800;border-bottom:3px solid transparent}body .hsp-nav li a:hover,body .hsp-nav .current-menu-item>a{color:#ff8b71;border-bottom-color:var(--hsp-orange)}body .hsp-nav-side{color:#ffa28f;font-size:13px;white-space:nowrap}body .hsp-main{padding-top:22px;padding-bottom:40px}body .hsp-lead-layout{display:grid;grid-template-columns:minmax(0,3.2fr) minmax(290px,1fr);gap:18px}body .hsp-hero{min-height:430px;position:relative;display:flex;align-items:center;overflow:hidden;border-radius:12px;background:linear-gradient(90deg,#07121e 0%,rgba(7,18,30,.94) 35%,rgba(7,18,30,.3) 100%),url('assets/hero.webp') center/cover no-repeat;color:white;padding:clamp(24px,4vw,65px)}body .hsp-hero-copy{position:relative;z-index:1;max-width:720px}body .hsp-kicker{font-size:12px;letter-spacing:2px;color:#ff8267;font-weight:900;text-transform:uppercase}body .hsp-hero h1{font:800 clamp(35px,4vw,70px)/1.08 Georgia,serif;letter-spacing:-1.5px;margin:12px 0 18px;overflow-wrap:break-word}body .hsp-hero p{font-size:17px;max-width:560px;color:#e0e7ec}body .hsp-panel{background:white;border:1px solid var(--hsp-line);border-radius:12px;padding:20px;min-width:0}body .hsp-panel h2,body .hsp-section-heading h2{font-size:22px;line-height:1.2;margin:0 0 18px}body .hsp-trend-item{display:grid;grid-template-columns:30px minmax(0,1fr);gap:12px;border-top:1px solid var(--hsp-line);padding:14px 0}body .hsp-trend-item:first-of-type{border-top:0}body .hsp-trend-num{width:29px;height:29px;background:#fff0e9;color:#f34a28;border-radius:50%;display:grid;place-items:center;font-weight:900}body .hsp-trend-item a{font-size:14px;font-weight:750;line-height:1.4;overflow-wrap:anywhere}body .hsp-trend-item small{display:block;color:var(--hsp-muted);margin-top:3px}body .hsp-categories{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:14px;margin:18px 0 28px}body .hsp-category{position:relative;display:block;min-height:130px;border-radius:10px;overflow:hidden;background:#102235;color:#fff}body .hsp-category img{width:100%;height:130px;object-fit:cover;display:block;transition:transform .25s}body .hsp-category:hover img{transform:scale(1.04)}body .hsp-category:after{content:'';position:absolute;inset:25% 0 0;background:linear-gradient(transparent,rgba(0,0,0,.84))}body .hsp-category b{position:absolute;z-index:1;bottom:12px;left:14px;font-size:18px}body .hsp-content-layout{display:grid;grid-template-columns:minmax(0,1fr) 330px;gap:20px}body .hsp-section-heading{display:flex;align-items:center;justify-content:space-between;gap:15px;margin-bottom:16px}body .hsp-section-heading h2{margin:0}body .hsp-section-heading a{color:var(--hsp-orange);font-weight:800;font-size:13px}body .hsp-post-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:17px}body .hsp-card{min-width:0;overflow:hidden;background:white;border:1px solid var(--hsp-line);border-radius:11px}body .hsp-card-img{display:block;aspect-ratio:1.75;background:#d8e0e7;overflow:hidden}body .hsp-card-img img{width:100%;height:100%;object-fit:cover;display:block}body .hsp-card-body{padding:16px}body .hsp-card-body h3{font-size:18px;line-height:1.3;margin:8px 0;overflow-wrap:anywhere}body .hsp-card-body p{color:var(--hsp-muted);font-size:13px;margin:7px 0;line-height:1.55;overflow-wrap:anywhere}body .hsp-card-body small{color:#7a8793}body .hsp-tag{font-size:11px;font-weight:850;color:var(--hsp-orange);text-transform:uppercase}body .hsp-aside-stack{display:grid;gap:17px;align-content:start}body .hsp-aside-stack .hsp-panel{padding:21px}body .hsp-aside-stack ul{margin:0;padding-left:18px}body .hsp-aside-stack li{padding:6px 0}body .hsp-aside-stack a:hover,body .hsp-footer a:hover{color:#ff8b71}body .hsp-editor{margin-top:30px}body .hsp-feature{display:grid;grid-template-columns:minmax(230px,1fr) minmax(0,1.2fr);gap:0;background:#0b1c2c;color:white;overflow:hidden;border-radius:12px}body .hsp-feature img{width:100%;height:100%;min-height:230px;object-fit:cover}body .hsp-feature-copy{padding:30px;align-self:center}body .hsp-feature-copy h2{font:750 clamp(24px,2.4vw,38px)/1.2 Georgia,serif;margin:10px 0}body .hsp-feature-copy p{color:#d5e0e9}body .hsp-info-strip{display:grid;grid-template-columns:repeat(4,1fr);gap:12px;background:#091725;color:#fff;padding:24px;border-radius:12px;margin-top:26px}body .hsp-info-strip div{border-left:3px solid var(--hsp-orange);padding-left:13px;font-weight:800}body .hsp-info-strip small{display:block;font-weight:400;color:#c0ced7}body .hsp-footer{background:#07121d;color:#dce6ef;margin-top:20px}body .hsp-footer-inner{display:grid;grid-template-columns:1.5fr 1fr 1fr 1.2fr;gap:35px;padding:48px 0}body .hsp-footer h3{color:#fff;font-size:17px;margin:0 0 15px}body .hsp-footer ul{list-style:none;padding:0;margin:0}body .hsp-footer li{margin:7px 0;font-size:14px}body .hsp-footer p{font-size:14px;color:#c1cbd4}body .hsp-footer .hsp-logo{color:white;font-size:30px}body .hsp-bottom{border-top:1px solid #25323f;padding:17px 0;font-size:12px;color:#b4c0ca}body .hsp-article-wrap{display:grid;grid-template-columns:minmax(0,1fr) 310px;gap:26px;align-items:start}body .hsp-article{background:white;border-radius:12px;padding:clamp(20px,3vw,48px);min-width:0}body .hsp-article h1{font:800 clamp(32px,3vw,52px)/1.15 Georgia,serif;overflow-wrap:anywhere}body .hsp-article .entry-content{overflow-wrap:anywhere;word-break:normal}body .hsp-article .entry-content img{display:block;max-width:100%;height:auto;border-radius:8px}body .hsp-article .entry-content iframe{max-width:100%}body .hsp-article .entry-content table{display:block;max-width:100%;overflow-x:auto}body .hsp-article .entry-content pre{max-width:100%;overflow-x:auto}body .hsp-featured-img{width:100%;max-height:520px;object-fit:cover;border-radius:10px}body .hsp-related{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin-top:20px}body .hsp-related a{font-weight:750;font-size:14px;overflow-wrap:anywhere}body .hsp-article-meta{color:var(--hsp-muted);font-size:13px}body .hsp-pagination{margin:25px 0}body .hsp-pagination .page-numbers{display:inline-block;padding:8px 13px;background:white;border-radius:5px;margin-right:4px}body .hsp-sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0)}@media(max-width:1150px){body .hsp-masthead-inner{grid-template-columns:1fr 1.3fr;gap:20px}body .hsp-header-action{display:none}body .hsp-lead-layout{grid-template-columns:minmax(0,1fr) 300px}body .hsp-content-layout{grid-template-columns:minmax(0,1fr) 280px}body .hsp-post-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:820px){body .hsp-shell{width:min(100% - 28px,1800px)}body .hsp-lead-layout,body .hsp-content-layout,body .hsp-article-wrap{grid-template-columns:minmax(0,1fr)}body .hsp-hero{min-height:360px}body .hsp-categories{grid-template-columns:repeat(3,minmax(0,1fr))}body .hsp-nav-inner{display:block;padding:4px 0}body .hsp-nav ul{flex-wrap:nowrap;overflow-x:auto}body .hsp-nav li a{white-space:nowrap;padding:12px 14px}body .hsp-nav-side{display:none}body .hsp-footer-inner{grid-template-columns:repeat(2,minmax(0,1fr))}body .hsp-info-strip{grid-template-columns:repeat(2,1fr)}}@media(max-width:560px){body .hsp-top-inner{min-height:32px}body .hsp-top-inner>a{display:none}body .hsp-masthead-inner{grid-template-columns:minmax(0,1fr);padding:17px 0;gap:15px}body .hsp-logo{font-size:28px}body .hsp-hero{padding:24px;min-height:340px}body .hsp-hero h1{font-size:37px}body .hsp-categories{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}body .hsp-post-grid,body .hsp-related{grid-template-columns:minmax(0,1fr)}body .hsp-feature{grid-template-columns:minmax(0,1fr)}body .hsp-feature img{height:180px;min-height:0}body .hsp-footer-inner{grid-template-columns:minmax(0,1fr)}body .hsp-info-strip{grid-template-columns:minmax(0,1fr)}}

/* v1.0.1: article-only layout, preserving homepage and editorial content */
body.single-post .hsp-article-wrap{grid-template-columns:minmax(0,1fr) minmax(260px,310px);gap:24px;align-items:start}
body.single-post .hsp-article-wrap>div:first-child{min-width:0}
body.single-post .hsp-article{max-width:100%;overflow:hidden}
body.single-post .hsp-article h1{max-width:100%;font-size:clamp(30px,3vw,48px);line-height:1.17;margin:12px 0 20px;overflow-wrap:break-word}
body.single-post .hsp-featured-media{margin:20px 0 26px;max-width:100%;overflow:hidden;border-radius:10px;background:#f3f5f7}
body.single-post .hsp-featured-media .hsp-featured-img{display:block;width:100%;height:auto;max-height:440px;object-fit:contain;margin:auto;border-radius:10px}
body.single-post .hsp-article .entry-content{max-width:100%;font-size:17px;line-height:1.85;overflow-wrap:break-word}
body.single-post .hsp-article .entry-content p{margin:0 0 1.25em}
body.single-post .hsp-article .entry-content h2,body.single-post .hsp-article .entry-content h3{line-height:1.32;margin:1.55em 0 .65em}
body.single-post .hsp-article .entry-content :is(img,video,iframe,figure,embed,object){max-width:100%}
body.single-post .hsp-article .entry-content figure{margin:1.5em auto;max-width:100%}
body.single-post .hsp-article .entry-content img{width:auto;max-width:100%;height:auto;object-fit:contain;margin:0 auto}
body.single-post .hsp-article .entry-content .wp-block-image img{max-width:100%;height:auto}
body.single-post .hsp-article .entry-content .alignwide,body.single-post .hsp-article .entry-content .alignfull{max-width:100%;width:100%;margin-left:auto;margin-right:auto}
body.single-post .hsp-article .entry-content .wp-block-columns{flex-wrap:wrap}
body.single-post .hsp-related-panel{margin-top:20px}
body.single-post .hsp-related{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;margin-top:18px}
body.single-post .hsp-related a{display:flex;flex-direction:column;gap:9px;min-width:0;border:1px solid #e6e9ee;border-radius:10px;overflow:hidden;padding-bottom:12px;background:#fff;color:#0b1722;text-decoration:none}
body.single-post .hsp-related a img{display:block;width:100%;height:auto;aspect-ratio:16/9;object-fit:cover}
body.single-post .hsp-related a span{padding:0 12px;line-height:1.4;overflow-wrap:break-word}
body.single-post .hsp-related a:focus-visible{outline:3px solid #fa502e;outline-offset:2px}
@media(max-width:1000px){body.single-post .hsp-article-wrap{grid-template-columns:minmax(0,1fr)}body.single-post .hsp-aside-stack{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:640px){body.single-post .hsp-article{padding:20px 16px}body.single-post .hsp-article h1{font-size:clamp(27px,7vw,38px)}body.single-post .hsp-related{grid-template-columns:minmax(0,1fr)}body.single-post .hsp-aside-stack{grid-template-columns:minmax(0,1fr)}body.single-post .hsp-article .entry-content{font-size:16px}}

/* v1.0.2: readable contextual internal-link block on single posts */
body.single-post .hsp-read-next{margin:28px 0;padding:22px 24px;background:#f7f9fc;border:1px solid #e1e7ef;border-left:4px solid #ff512f;border-radius:10px}
body.single-post .hsp-read-next h2{margin:0 0 8px;font-size:23px;line-height:1.3}
body.single-post .hsp-read-next p{margin:0 0 14px;color:#536172}
body.single-post .hsp-read-next ul{margin:0;padding-left:21px;display:grid;gap:10px}
body.single-post .hsp-read-next li{overflow-wrap:anywhere}
body.single-post .hsp-read-next a{color:#153d64;text-decoration:underline;text-underline-offset:3px}
body.single-post .hsp-read-next a:hover{color:#e84c2a}
