/* AINewsPro editorial redesign. Original styles retained as the component baseline. */
:root {
 --bg-body:#fff; --bg-subtle:#f5f7fa; --bg-alt:#f0f3f8;
 --text-primary:#121b2c; --text-secondary:#465268; --text-muted:#637087;
 --ai-blue-primary:#2459df; --ai-blue-hover:#1944b5; --ai-blue-light:#eef3ff;
 --border-color:#dfe5ed; --border-subtle:#edf0f5;
 --ai-gradient-primary:linear-gradient(115deg,#2459df,#3679ef);
 --ai-gradient-accent:linear-gradient(115deg,#2459df,#3679ef);
 --shadow-sm:0 2px 8px rgb(18 27 44 / 3%);
 --shadow-md:0 8px 28px rgb(18 27 44 / 6%);
 --shadow-lg:0 16px 40px rgb(18 27 44 / 8%);
 --radius-md:10px; --radius-lg:14px; --radius-xl:18px;
 --font-display:'Segoe UI',Arial,sans-serif;
}
html{font-size:16px;scroll-padding-top:110px}
body{background:#fff;line-height:1.65}
.container{max-width:1280px;padding-inline:32px}
a,button,input{transition:color .18s,background .18s,border-color .18s,box-shadow .18s}
a:focus-visible,button:focus-visible,input:focus-visible{outline:3px solid #2459df;outline-offset:4px}
button,input,textarea,select{font:inherit}
h1,h2,h3{overflow-wrap:break-word}
.top-pulse-bar{background:#121b2c;padding:10px 0;font-size:.8125rem}
.top-pulse-inner{gap:24px}
.ticker-wrap{min-width:0;flex:1}
.ticker-badge{background:#2459df;color:#fff;border:0;border-radius:3px;font-size:.75rem;letter-spacing:.06em;padding:4px 9px;flex-shrink:0}
.ticker-headline{font-size:.8125rem;font-weight:500;overflow:hidden;text-overflow:ellipsis}
.top-meta{gap:14px;font-size:.75rem}
.top-meta a{white-space:nowrap}
.main-header{background:rgb(255 255 255 / 97%);border-color:var(--border-color);box-shadow:none}
.header-inner{height:88px;gap:22px}
.site-logo img{max-width:225px;height:auto!important}
.main-nav{gap:0;flex-shrink:0}
.nav-link{padding:10px 9px;font-size:.875rem;border-radius:5px;font-weight:600}
.header-actions{gap:10px;flex-shrink:0}
.btn-subscribe-header{background:#2459df;border-radius:6px;box-shadow:none;font-size:.875rem;padding:11px 15px;white-space:nowrap}
.btn-subscribe-header:hover{background:#1944b5;transform:none;box-shadow:none}
.search-toggle-btn{box-shadow:none;border-radius:6px}
.dropdown-menu{border-radius:10px;background:#fff;box-shadow:0 18px 45px rgb(18 27 44 / 12%);backdrop-filter:none}
.dropdown-title{font-size:.875rem}
.dropdown-sub{font-size:.8125rem;line-height:1.45}
.dropdown-icon-box{border-radius:7px}
.nav-item:focus-within>.dropdown-menu,.nav-item.menu-expanded>.dropdown-menu{opacity:1;visibility:visible;transform:none;pointer-events:auto}
.category-strip{background:#fff;backdrop-filter:none;padding:12px 0}
.category-strip-inner{gap:8px}
.cat-pill{box-shadow:none;border-color:#e6eaf0;background:#f6f8fb;padding:6px 12px;font-size:.8125rem;border-radius:5px}
.cat-pill:hover{transform:none}
.cat-pill .dot{width:5px;height:5px}
.hero-section{padding:38px 0 42px}
.hero-grid{grid-template-columns:minmax(0,1.55fr) minmax(0,1fr);gap:36px}
.hero-grid>*,.content-sidebar-wrap>*,.stacked-content{min-width:0}
.lead-hero-card{border:0;border-radius:0;box-shadow:none;height:auto}
.lead-hero-card:hover{transform:none;box-shadow:none}
.lead-hero-thumb{padding-top:50%;border-radius:12px}
.lead-hero-card:hover .lead-hero-thumb img{transform:scale(1.025)}
.hero-badge-float{top:18px;left:18px}
.badge-pill{border-radius:4px;font-size:.75rem;letter-spacing:.05em;padding:6px 10px;box-shadow:none}
.lead-hero-body{padding:24px 0 0}
.lead-meta{font-size:.8125rem;gap:10px;flex-wrap:wrap;margin-bottom:12px}
.lead-hero-title{font-size:clamp(1.7rem,2.5vw,2.25rem);font-weight:750;line-height:1.18;letter-spacing:-.035em;margin-bottom:16px}
.lead-hero-excerpt{font-size:1rem;line-height:1.7;margin-bottom:20px}
.lead-hero-footer{padding-top:16px;gap:16px;flex-wrap:wrap}
.author-avatar{background:#eef3ff;color:#2459df;border-radius:6px}
.author-name,.read-more-link{font-size:.875rem;font-weight:650}
.read-more-link svg{display:none}
.hero-stack{gap:0;border-left:1px solid var(--border-color);padding-left:28px}
.stacked-card{border:0;border-bottom:1px solid var(--border-color);border-radius:0;box-shadow:none;padding:0 0 22px;margin-bottom:22px;gap:18px;align-items:center}
.stacked-card:hover{transform:none;box-shadow:none}
.stacked-thumb{width:128px;height:96px;border-radius:8px}
.stacked-cat{font-size:.75rem;letter-spacing:.045em}
.stacked-title{font-size:1.125rem;line-height:1.35;letter-spacing:-.015em;font-weight:700}
.stacked-meta{font-size:.75rem}
.trending-box{background:#f5f7fa;border:0;border-radius:10px;padding:22px}
.trending-header{font-size:.875rem;text-transform:none;letter-spacing:0;font-weight:700;margin-bottom:4px;padding-bottom:14px}
.trending-header svg{color:#2459df}
.trending-item{padding:14px 0;gap:14px}
.trending-num{font-size:1.5rem;line-height:1.2;color:#8193b0;font-weight:500;width:30px;font-variant-numeric:tabular-nums}
.trending-item-title{font-size:.9375rem;line-height:1.4;display:block;font-weight:650}
.companies-showcase-section{background:#f7f9fc;backdrop-filter:none;padding:24px 0;margin:0 0 30px;border-color:#e8edf4}
.companies-scroll-wrap{gap:10px;scrollbar-width:thin;padding-bottom:10px}
.company-mini-pill{border-radius:7px;padding:10px 14px;box-shadow:none}
.company-mini-pill:hover{transform:none}
.company-mini-icon{width:32px;height:32px;border-radius:6px}
.company-mini-name{font-size:.875rem}
.company-mini-val{font-size:.75rem}
.content-sidebar-wrap{grid-template-columns:minmax(0,1fr) 320px;gap:48px;padding:24px 0 56px}
.section-head{border-bottom:1px solid #dfe5ed;padding-bottom:18px;gap:20px}
.section-title{font-size:1.5rem;font-weight:700;letter-spacing:-.025em}
.section-title::after{width:48px;background:#2459df}
.section-title svg{width:21px}
.posts-grid{grid-template-columns:minmax(0,1fr);gap:0}
.post-card{display:grid;grid-template-columns:220px minmax(0,1fr);gap:24px;border:0;border-bottom:1px solid var(--border-color);border-radius:0;box-shadow:none;padding:24px 0;overflow:visible}
.post-card:first-child{padding-top:0}
.post-card:hover{transform:none;box-shadow:none}
.post-card-thumb{padding-top:0;height:154px;border-radius:9px}
.post-card-body{padding:0;min-width:0}
.post-meta{font-size:.75rem;gap:8px;flex-wrap:wrap;margin-bottom:8px}
.post-cat-tag{font-weight:700;letter-spacing:.04em}
.post-card-title{font-size:1.25rem;line-height:1.3;letter-spacing:-.025em;margin-bottom:8px}
.post-card-excerpt{font-size:.9375rem;line-height:1.6;margin-bottom:12px}
.post-card-foot{border:0;padding-top:0;font-size:.75rem;gap:10px;flex-wrap:wrap}
.sidebar{gap:28px}
.newsletter-card{background:#183d91;border-radius:12px;padding:28px;box-shadow:none;border-top:4px solid #4d8aff}
.newsletter-card::after{content:none}
.newsletter-icon{background:rgb(255 255 255 / 10%);border:0;color:#a8cbff;border-radius:8px;width:40px;height:40px}
.newsletter-title{font-size:1.5rem;letter-spacing:-.025em;line-height:1.2;font-weight:700}
.newsletter-sub{color:#d4e1f7;font-size:.9375rem;line-height:1.6}
.newsletter-input{border-radius:6px;font-size:.875rem;min-height:46px}
.newsletter-input::placeholder{color:#d8e3f5;opacity:1}
.btn-newsletter{background:#fff;color:#183d91;border-radius:6px;box-shadow:none;width:100%;min-height:44px}
.btn-newsletter:hover{transform:none;box-shadow:none;background:#eaf1ff}
.newsletter-privacy{color:#cfdbef;font-size:.75rem}
.widget{border:0;border-radius:0;box-shadow:none;padding:0}
.widget-title{font-size:1rem;text-transform:none;letter-spacing:-.01em;font-weight:700}
.widget-cat-link{font-size:.875rem}
.article-page{padding-top:36px}
.article-title{font-size:clamp(2rem,3.8vw,3.2rem);line-height:1.12;font-weight:750;letter-spacing:-.04em}
.article-deck{font-size:1.125rem;color:#526078}
.article-content{font-size:1.125rem;line-height:1.85}
.article-content h2{font-size:1.75rem;line-height:1.25;font-weight:700}
.article-content h3{line-height:1.3}
.article-content blockquote{background:#f5f7fc;border-left-width:3px;border-radius:0;font-style:normal}
.article-content img{height:auto}
.article-content table{display:block;max-width:100%;overflow-x:auto}
.article-content pre code{background:transparent;color:inherit}
.article-stats,.share-bar{flex-wrap:wrap}
.article-featured-img{box-shadow:none;border-radius:10px}
.author-bio-card{background:#f7f9fc;box-shadow:none;border-radius:10px;border:0}
.company-card{border-radius:10px!important;box-shadow:none!important;padding:26px!important}
.site-footer{background:#121b2c;border:0;padding:58px 0 24px}
.footer-top{grid-template-columns:1.4fr .8fr .9fr 1fr;gap:36px}
.footer-col-title{font-size:.875rem;letter-spacing:0;text-transform:none}
.footer-brand p,.footer-links a{font-size:.875rem;color:#bbc6d8}
.footer-brand img{max-width:230px}
.footer-links a:hover{padding-left:0;color:#fff}
.footer-bottom{font-size:.75rem;color:#bbc6d8}
.footer-legal-links{flex-wrap:wrap;gap:16px}
.search-modal{background:rgb(18 27 44 / 65%);backdrop-filter:blur(4px)}
.search-modal-box{border-radius:12px}
.search-input-field{min-width:0;font-size:1rem}
@media(min-width:1101px){.dropdown-mega{left:auto;right:-90px}}
@media(max-width:1100px){
 .main-nav{display:none}.mobile-menu-toggle{display:block}
 .header-inner{height:76px}.top-pulse-inner{flex-wrap:wrap;gap:8px}
 .top-meta{width:100%;justify-content:flex-start;flex-wrap:wrap}
 .main-nav.mobile-open{display:flex;position:absolute;top:100%;left:0;right:0;max-height:calc(100dvh - 76px);overflow:auto;background:#fff;padding:16px 24px;border-bottom:1px solid #dfe5ed;box-shadow:0 16px 28px rgb(18 27 44 / 10%);flex-direction:column;align-items:stretch}
 .main-nav.mobile-open .nav-link{width:100%;justify-content:space-between;font-size:1rem;padding:12px}
 .main-nav.mobile-open .dropdown-menu{position:static;display:none;opacity:1;visibility:visible;transform:none;pointer-events:auto;box-shadow:none;min-width:0;padding:8px;border:0;background:#f7f9fc}
 .main-nav.mobile-open .nav-item.menu-expanded>.dropdown-menu{display:grid}
 .main-nav.mobile-open .dropdown-mega{grid-template-columns:1fr 1fr;width:100%}
 .content-sidebar-wrap{grid-template-columns:minmax(0,1fr) 280px;gap:28px}
 .post-card{grid-template-columns:160px minmax(0,1fr);gap:18px}
 .post-card-thumb{height:126px}
 .hero-grid{gap:24px}.hero-stack{padding-left:24px}
 .stacked-thumb{width:100px;height:84px}
 .footer-top{grid-template-columns:1fr 1fr}
}
@media(max-width:800px){
 .container{padding-inline:20px}.hero-grid,.content-sidebar-wrap{grid-template-columns:minmax(0,1fr)}
 .hero-section{padding:24px 0 30px}.hero-stack{border-left:0;padding-left:0;margin-top:6px}
 .hero-stack .stacked-card{padding:18px 0;margin:0;gap:18px}
 .stacked-thumb{width:140px;height:100px}
 .trending-box{margin-top:22px}
 .lead-hero-title{font-size:2rem}.lead-hero-thumb{padding-top:56.25%}
 .content-sidebar-wrap{gap:36px}.section-head{flex-wrap:wrap;gap:10px}
 .companies-showcase-section .container>div:first-child{flex-wrap:wrap;gap:10px}
 .article-meta-bar{align-items:flex-start}
 .site-footer{margin-top:24px}
 .footer-bottom{align-items:flex-start}
 body>.container [style*="minmax(360px"]{grid-template-columns:minmax(0,1fr)!important}
 body>.container h1[style]{font-size:clamp(1.75rem,6vw,2.4rem)!important;line-height:1.2!important}
}
@media(max-width:480px){
 .container{padding-inline:16px}.header-inner{gap:10px;height:68px}
 .site-logo img{max-width:165px}.header-actions{gap:6px}
 .header-actions .btn-subscribe-header{padding:9px;font-size:.75rem}
 .header-actions .btn-subscribe-header svg{display:none}
 .search-toggle-btn{width:32px;height:36px}
 .mobile-menu-toggle svg{width:22px}
 .top-meta{gap:10px;font-size:.75rem}.ticker-badge{font-size:.75rem}
 .lead-hero-title{font-size:1.75rem}.lead-hero-body{padding-top:18px}
 .stacked-thumb{width:104px;height:84px}.stacked-title{font-size:1rem}
 .post-card{grid-template-columns:minmax(0,1fr);gap:16px;padding:24px 0}
 .post-card-thumb{height:auto;aspect-ratio:16/9}
 .post-card-title{font-size:1.25rem}
 .footer-top{grid-template-columns:minmax(0,1fr);gap:30px}
 .footer-legal-links{gap:14px}.footer-brand img{max-width:210px}
 .main-nav.mobile-open .dropdown-mega{grid-template-columns:1fr}
 .search-modal-head{padding:16px;gap:10px}
 .author-bio-card{padding:20px;gap:14px}.author-bio-avatar{width:48px;height:48px}
 .article-stats{gap:12px}.article-deck{font-size:1rem}
 .company-card{padding:20px!important}
 body>.container[style*="padding:48px"]{padding:32px 16px!important}
}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*,*::before,*::after{transition:none!important;animation:none!important}}


/* Related stories remain vertical cards within their existing multi-column grid. */
.posts-grid[style]{gap:24px}
.posts-grid[style] .post-card{display:flex;flex-direction:column;gap:14px;padding:0 0 20px;min-width:0}
.posts-grid[style] .post-card-thumb{height:auto;aspect-ratio:16/9;padding-top:0}
.newsletter-input[style]::placeholder{color:#637087}
@media(max-width:600px){
 .posts-grid[style]{grid-template-columns:minmax(0,1fr)!important}
 .article-page form>div[style*="grid-template-columns:1fr 1fr"]{grid-template-columns:1fr!important}
}
@media(max-width:360px){
 .site-logo img{max-width:130px}
 .header-actions .btn-subscribe-header{font-size:.75rem;padding:8px 6px}
 .header-inner{gap:6px}
}

main>div[style*="justify-content:center"][style*="gap:"]{flex-wrap:wrap}
@media(max-width:360px){
 .site-logo img{max-width:120px}
 .header-actions{gap:4px}
 .header-actions .search-toggle-btn{width:28px;padding:0}
 .header-actions .mobile-menu-toggle{width:26px;padding:0}
}
