*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:#fff;color:var(--text);font-family:var(--font-body);font-size:var(--base-font-size);line-height:1.65}a{color:inherit;text-decoration:none}a:hover{color:var(--blue)}img{max-width:100%;display:block}.container{width:min(var(--container),calc(100% - 40px));margin:auto}.site-header{min-height:var(--header-height);background:#fff;border-bottom:1px solid var(--border);position:sticky;top:0;z-index:30}.nav-wrap{min-height:var(--header-height);width:min(var(--container),calc(100% - 28px));margin:auto;display:flex;align-items:center;gap:26px}.brand{flex:0 0 auto;display:flex;align-items:center}.brand img{height:var(--logo-desktop);width:auto;max-width:min(360px,30vw);object-fit:contain}.main-nav{display:flex;gap:26px;align-items:center;font-weight:900;white-space:nowrap;margin-left:auto}.main-nav a{padding:9px 0;border-bottom:3px solid transparent}.main-nav a.active{border-color:var(--red);color:var(--blue)}.header-search{flex:0 1 260px;display:flex;border:1px solid var(--border);border-radius:999px;overflow:hidden;background:#fff}.header-search input{min-width:0;flex:1;border:0;padding:10px 14px;font:inherit;outline:none}.header-search button{border:0;background:var(--red);color:#fff;font-weight:900;padding:0 16px}.header-ad-widget{min-width:180px;max-width:260px;min-height:44px;border:1px dashed var(--border);border-radius:14px;display:flex;align-items:center;justify-content:center;background:var(--soft);font-size:13px;color:var(--muted);overflow:hidden}.mobile-toggle{display:none;border:1px solid var(--border);background:#fff;border-radius:999px;padding:8px 14px;font-weight:800}.home-main{padding-top:30px}.eyebrow,.label{color:var(--red);font-weight:900;letter-spacing:.08em;text-transform:uppercase}.featured-compact{display:grid;grid-template-columns:minmax(280px,1.15fr) minmax(260px,.85fr);align-items:center;gap:34px;margin:22px auto 54px;min-height:260px}.featured-media img{width:100%;height:270px;object-fit:contain;background:linear-gradient(135deg,#f7fbff,#fff4ee);border:1px solid var(--border);border-radius:22px;padding:18px}.featured-copy .label{margin:0 0 8px}.featured-copy h1{font-family:var(--font-heading);font-size:clamp(28px,3.4vw,46px);line-height:1.08;margin:0 0 12px;letter-spacing:-.045em}.featured-copy p{font-size:18px;color:var(--muted);margin:0 0 16px}.meta,.article-meta{color:var(--muted);font-size:14px;font-weight:700}.content-section{margin:58px 0}.section-head{display:flex;justify-content:space-between;align-items:end;gap:24px;margin-bottom:22px}.section-head h2,.related-sidebar h2,.toc-sidebar h2{font-size:var(--h2);margin:0 0 6px;letter-spacing:-.035em}.section-head p{color:var(--muted);margin:4px 0 0}.section-head>a{color:var(--blue);font-weight:900}.grid-3{display:grid;grid-template-columns:repeat(3,1fr);gap:24px}.story-list{display:grid;grid-template-columns:repeat(2,1fr);gap:22px}.post-card{border:1px solid var(--border);border-radius:24px;overflow:hidden;background:var(--card);transition:.2s}.post-card:hover{transform:translateY(-3px);box-shadow:0 18px 50px rgba(10,30,70,.08)}.thumb img{width:100%;aspect-ratio:16/9;object-fit:cover;background:var(--soft)}.card-body{padding:20px}.card-body h3{font-size:var(--h3);line-height:1.22;margin:8px 0;letter-spacing:-.025em}.card-body p{color:var(--muted);margin:0}.listing-hero,.simple-page{padding:52px 0 30px}.listing-hero h1,.simple-page h1{font-family:var(--font-heading);font-size:clamp(38px,6vw,var(--h1));line-height:1.04;margin:10px 0 16px;letter-spacing:-.05em}.listing-hero p,.simple-page p{font-size:20px;color:var(--muted);max-width:800px}.article-shell{width:min(1360px,calc(100% - 40px));margin:42px auto 0;display:grid;grid-template-columns:210px minmax(0,var(--article)) 280px;gap:34px;align-items:start}.article-main{min-width:0}.toc-sidebar,.right-sidebar{position:sticky;top:calc(var(--header-height) + 24px)}.toc-sidebar{border-right:1px solid var(--border);padding:8px 18px 8px 0}.toc-sidebar h2{font-size:20px}.toc-sidebar a{display:block;color:var(--muted);font-weight:800;font-size:14px;line-height:1.35;margin:12px 0}.toc-sidebar a.h3{padding-left:12px;font-weight:700}.toc-sidebar a:hover{color:var(--blue)}.article-kicker-row{display:flex;justify-content:space-between;gap:18px;align-items:center;margin-bottom:10px}.category-kicker{color:var(--red);font-weight:900;letter-spacing:.08em;text-transform:uppercase}.article-social,.footer-social{display:flex;gap:8px;align-items:center}.article-social a,.footer-social a{width:34px;height:34px;border-radius:50%;display:inline-flex;align-items:center;justify-content:center;background:#fff;border:1px solid var(--border);font-weight:900;color:var(--blue);text-transform:uppercase}.article-top h1{font-family:var(--font-heading);font-size:clamp(38px,6vw,var(--h1));line-height:1.04;margin:10px 0 12px;letter-spacing:-.05em}.article-meta{display:flex;flex-wrap:wrap;gap:8px 16px}.article-excerpt{font-size:21px;color:var(--muted)}.tag-row{display:flex;gap:8px;flex-wrap:wrap;margin:18px 0}.tag-row span{background:#eef6ff;color:var(--blue);border-radius:999px;padding:7px 12px;font-weight:900;font-size:13px}.share-row{display:flex;gap:10px;align-items:center;margin:24px 0}.share-row a,.share-row button{border:1px solid var(--border);background:#fff;border-radius:999px;padding:9px 14px;font-weight:800;cursor:pointer}.article-cover{width:100%;margin:26px auto 36px;border-radius:24px;border:1px solid var(--border);background:var(--soft);aspect-ratio:16/8;object-fit:cover}.article-content{font-size:18px}.article-content h2{font-size:34px;line-height:1.14;margin-top:44px;letter-spacing:-.035em}.article-content h3{font-size:24px;margin-top:34px}.article-content p{margin:18px 0}.article-content a{color:var(--blue);font-weight:800}.article-content blockquote{border-left:4px solid var(--red);padding-left:18px;color:var(--muted);font-size:20px}.article-media,.ebook-box{margin-top:34px}.article-media img,.article-media video{width:100%;border-radius:18px;border:1px solid var(--border);margin:16px 0;background:var(--soft)}.video-embed{border:1px solid var(--border);border-radius:18px;padding:18px;background:var(--soft);overflow:auto}.ebook-box{border:1px solid var(--border);border-radius:24px;padding:24px;background:linear-gradient(135deg,#f7fbff,#fff4ee)}.ebook-link{display:flex;justify-content:space-between;gap:16px;align-items:center;border:1px solid var(--border);border-radius:16px;background:#fff;padding:14px 16px;margin-top:12px}.ebook-link strong{color:var(--red)}.right-sidebar{display:flex;flex-direction:column;gap:18px}.related-sidebar,.ad-widget{border:1px solid var(--border);border-radius:22px;background:var(--soft);padding:18px}.ad-widget{min-height:160px;display:flex;align-items:center;justify-content:center;color:var(--muted);overflow:hidden}.related-sidebar h2{font-size:22px}.related-item{border-bottom:1px solid var(--border);padding:14px 0}.related-item:last-child{border-bottom:0}.related-item img{width:100%;aspect-ratio:16/9;object-fit:cover;border-radius:14px;background:#fff;border:1px solid var(--border)}.related-item h3{font-size:17px;line-height:1.22;margin:10px 0 4px}.site-footer{margin-top:80px;background:#111827;color:#fff}.footer-grid{width:min(var(--container),calc(100% - 40px));margin:auto;padding:54px 0;display:grid;grid-template-columns:1.4fr .6fr .6fr;gap:34px}.footer-logo{height:64px;background:#fff;border-radius:12px;padding:4px}.site-footer p{color:#cbd5e1}.site-footer a{display:block;color:#e5e7eb;margin:8px 0}.footer-social{margin-top:16px}.footer-social a{display:inline-flex;color:#fff;background:rgba(255,255,255,.08);border-color:rgba(255,255,255,.18)}.footer-bottom{border-top:1px solid rgba(255,255,255,.12);padding:18px 0;text-align:center;color:#cbd5e1}.to-top{position:fixed;right:22px;bottom:22px;z-index:40;width:46px;height:46px;border-radius:50%;border:0;background:linear-gradient(135deg,var(--blue),var(--red));color:#fff;font-size:24px;font-weight:900;box-shadow:0 15px 30px rgba(0,0,0,.2);cursor:pointer}@media(max-width:1120px){.article-shell{grid-template-columns:1fr}.toc-sidebar,.right-sidebar{position:static;border-right:0}.toc-sidebar{border:1px solid var(--border);border-radius:20px;padding:18px}.toc-sidebar a{display:inline-block;margin:8px 14px 0 0}.right-sidebar{display:grid;grid-template-columns:1fr 1fr;align-items:start}.related-sidebar{grid-column:1/-1}}@media(max-width:950px){.main-nav{display:none}.mobile-toggle{display:block}.nav-open .main-nav{display:flex;position:absolute;top:100%;left:0;right:0;background:#fff;border-bottom:1px solid var(--border);padding:18px 24px;flex-direction:column;align-items:flex-start}.brand img{height:var(--logo-mobile);max-width:240px}.header-search{order:3;flex-basis:100%;max-width:none;margin:0 0 12px}.nav-wrap{flex-wrap:wrap;padding-top:8px}.site-header,.nav-wrap{min-height:auto}.header-ad-widget{display:none}.featured-compact{grid-template-columns:1fr;gap:18px;margin-top:16px;min-height:0}.featured-media img{height:210px;border-radius:18px;padding:12px}.grid-3,.story-list,.footer-grid{grid-template-columns:1fr}.section-head{align-items:flex-start;flex-direction:column}.article-cover{border-radius:20px}.right-sidebar{display:block}.ad-widget,.related-sidebar{margin-bottom:18px}}

/* v5 refinements */
.site-header{position:sticky;top:0;background:#fff;box-shadow:0 1px 0 var(--border);}
.nav-wrap{gap:30px;justify-content:flex-start;}
.brand img{height:var(--logo-desktop);max-width:min(420px,34vw);}
.main-nav{margin-left:auto;gap:30px;}
.header-search{flex:0 1 300px;}
.home-main{padding-top:18px;}
.featured-compact{min-height:0;margin:14px auto 34px;gap:30px;}
.featured-media img{height:210px;padding:14px;}
.featured-copy h1{font-size:clamp(26px,2.75vw,38px);}
.featured-copy p{font-size:17px;}
.listing-hero{padding:34px 0 26px;}
.listing-hero h1{font-size:clamp(34px,5vw,58px);margin:0 0 8px;}
.listing-hero p{margin:0;color:var(--muted);}
.social-icons{display:flex;gap:10px;align-items:center;flex-wrap:wrap;}
.social-icon{width:38px;height:38px;border-radius:50%;display:inline-flex;align-items:center;justify-content:center;color:#fff;border:0;transition:transform .16s ease, opacity .16s ease;}
.social-icon:hover{transform:translateY(-2px);opacity:.92;color:#fff;}
.social-icon svg{width:19px;height:19px;fill:currentColor;}
.social-icon.linkedin{background:#0a66c2;}
.social-icon.instagram{background:radial-gradient(circle at 30% 110%,#fdf497 0,#fdf497 13%,#fd5949 34%,#d6249f 62%,#285AEB 100%);}
.social-icon.youtube{background:#ff0000;}
.social-icon.twitter{background:#1da1f2;}
.article-social{justify-content:flex-end;}
.article-social .social-icon{width:34px;height:34px;}
.site-footer{background:#050607;color:#fff;margin-top:84px;}
.footer-grid{padding:64px 0 54px;display:grid;grid-template-columns:minmax(280px,1.35fr) minmax(150px,.45fr) minmax(150px,.45fr) minmax(260px,.75fr);gap:54px;align-items:start;}
.footer-logo{height:80px;width:auto;max-width:300px;background:#fff;border-radius:0;padding:8px;object-fit:contain;margin-bottom:28px;}
.site-footer p{max-width:620px;font-size:18px;line-height:1.6;color:#f3f4f6;margin:0 0 22px;}
.footer-link-col h3,.footer-subscribe h3{font-size:18px;margin:0 0 18px;color:#fff;}
.footer-link-col a{display:block;width:max-content;color:#fff;margin:0 0 13px;font-size:18px;border-bottom:2px solid var(--blue);line-height:1.2;}
.footer-social{margin-top:20px;}
.footer-subscribe{border:1px solid rgba(255,255,255,.14);border-radius:20px;padding:22px;background:rgba(255,255,255,.04);}
.footer-subscribe p{font-size:15px;color:#cbd5e1;margin-bottom:16px;}
.footer-subscribe form{display:flex;gap:8px;background:#fff;border-radius:999px;padding:6px;}
.footer-subscribe input{min-width:0;flex:1;border:0;padding:10px 12px;border-radius:999px;outline:0;font:inherit;}
.footer-subscribe button{border:0;border-radius:999px;background:var(--red);color:#fff;font-weight:900;padding:10px 15px;}
.footer-bottom{text-align:left;width:min(var(--container),calc(100% - 40px));margin:auto;border-top:0;padding:0 0 36px;color:#b7bcc7;font-size:18px;}
@media(max-width:1100px){.footer-grid{grid-template-columns:1fr 1fr}.footer-brand-col{grid-column:1/-1}.footer-subscribe{grid-column:1/-1}.brand img{max-width:310px}.featured-media img{height:190px}}
@media(max-width:950px){.nav-wrap{gap:14px}.brand img{height:var(--logo-mobile);max-width:250px}.header-search{flex-basis:100%}.featured-media img{height:180px}.featured-compact{margin-bottom:28px}.footer-grid{grid-template-columns:1fr;gap:30px}.footer-logo{height:68px}.site-footer p,.footer-link-col a,.footer-bottom{font-size:16px}.footer-subscribe form{border-radius:18px;flex-direction:column}.footer-subscribe button{width:100%}}

/* v8 responsive controls and mobile performance polish */
body{background:var(--body-bg)}
.site-header{background:var(--header-bg);color:var(--header-text);border-bottom-color:var(--header-border);box-shadow:0 1px 0 var(--header-border)}
.main-nav a.active{border-color:var(--red);color:var(--blue)}
.header-search{background:var(--header-bg);border-color:var(--header-border)}
.header-search button,.footer-subscribe button{color:var(--button-text)}
.featured-compact,.listing-hero,.simple-page{background:linear-gradient(135deg,var(--hero-bg-start),var(--hero-bg-end));border:1px solid var(--hero-border);border-radius:22px;padding:22px}
.featured-media img{background:linear-gradient(135deg,var(--hero-bg-start),var(--hero-bg-end));border-color:var(--hero-border)}
.content-section{background:var(--section-bg)}
.site-footer{background:var(--footer-bg);color:var(--footer-text)}
.site-footer p,.site-footer a,.footer-bottom{color:color-mix(in srgb,var(--footer-text),#9ca3af 26%)}
.footer-link-col h3,.footer-subscribe h3{color:var(--footer-text)}
.mobile-toggle{align-items:center;justify-content:center;flex-direction:column;gap:4px;width:44px;height:44px;padding:0}
.mobile-toggle span{display:block;width:18px;height:2px;border-radius:999px;background:currentColor}
.mobile-toggle[aria-expanded="true"] span:nth-child(1){transform:translateY(6px) rotate(45deg)}
.mobile-toggle[aria-expanded="true"] span:nth-child(2){opacity:0}
.mobile-toggle[aria-expanded="true"] span:nth-child(3){transform:translateY(-6px) rotate(-45deg)}
.mobile-toggle span{transition:transform .18s ease,opacity .18s ease}
@media(min-width:951px){.hide-desktop{display:none!important}}
@media(max-width:950px){
  .hide-mobile{display:none!important}
  body{font-size:15px;line-height:1.52}
  .container{width:min(100% - 28px,var(--container))}
  .site-header{position:sticky}
  .nav-wrap{width:min(100% - 28px,var(--container));min-height:62px;gap:10px;padding:7px 0;flex-wrap:nowrap}
  .brand img{height:42px;max-width:148px}
  .mobile-toggle{display:inline-flex;margin-left:auto;border-radius:50%;background:var(--header-bg);border-color:var(--header-border);color:var(--header-text);font-size:0}
  .nav-open .main-nav{top:100%;padding:12px 18px;gap:8px;box-shadow:0 18px 34px rgba(20,28,45,.08)}
  .nav-open .main-nav a{font-size:15px;padding:7px 0}
  .home-main{padding-top:12px}
  .featured-compact{display:block;margin:10px auto 26px;padding:14px;border-radius:16px}
  .featured-media img{height:132px;border-radius:12px;padding:8px;margin-bottom:12px}
  .featured-copy .label,.label{font-size:11px;letter-spacing:.06em}
  .featured-copy h1{font-size:22px;line-height:1.14;letter-spacing:-.015em;margin-bottom:8px}
  .featured-copy p{font-size:14px;line-height:1.48;margin-bottom:10px}
  .meta,.article-meta{font-size:12px}
  .content-section{margin:30px 0;content-visibility:auto;contain-intrinsic-size:1px 360px}
  .section-head{display:block;margin-bottom:14px}
  .section-head h2,.related-sidebar h2,.toc-sidebar h2{font-size:25px;line-height:1.1;letter-spacing:-.02em}
  .section-head p{font-size:14px;line-height:1.45;margin-top:6px}
  .section-head>a{display:inline-block;margin-top:8px;font-size:14px}
  .grid-3,.story-list{display:grid;grid-template-columns:1fr;gap:12px}
  .post-card{display:grid;grid-template-columns:88px minmax(0,1fr);border-radius:14px;min-height:92px;box-shadow:none}
  .post-card:hover{transform:none;box-shadow:none}
  .post-card .thumb{height:100%}
  .thumb img{height:100%;min-height:92px;aspect-ratio:auto;object-fit:contain;padding:6px}
  .card-body{padding:10px 12px}
  .card-body .meta{font-size:11px;line-height:1.35}
  .card-body h3{font-size:16px;line-height:1.2;margin:4px 0 5px;letter-spacing:-.01em}
  .card-body p{font-size:13px;line-height:1.38;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
  .listing-hero,.simple-page{padding:18px 16px;margin:14px 0 16px;border-radius:16px}
  .listing-hero h1,.simple-page h1{font-size:30px;line-height:1.08;letter-spacing:-.02em}
  .listing-hero p,.simple-page p{font-size:15px;line-height:1.45}
  .article-shell{width:min(100% - 28px,760px);margin-top:20px;gap:18px}
  .article-top h1{font-size:30px;letter-spacing:-.02em}
  .article-excerpt,.article-content{font-size:16px}
  .article-cover{border-radius:14px;margin:18px auto 24px}
  .article-content h2{font-size:25px;margin-top:32px}
  .share-row{flex-wrap:wrap}
  .to-top{width:38px;height:38px;right:14px;bottom:16px;font-size:20px}
}
@media(max-width:420px){
  .post-card{grid-template-columns:78px minmax(0,1fr)}
  .thumb img{min-height:86px}
  .card-body h3{font-size:15px}
  .card-body p{font-size:12px}
}
