/* Homepage only: shared navigation and footer keep their existing styles. */
body:has(.hero-section) {background-color:#081218 !important;}
.hero-section .hero-item {height:auto !important; min-height:740px; padding:64px 0 90px;}
.hero-section .container {max-width:1140px; width:100%;}
.hero-section .containerd {padding:28px clamp(20px,4vw,48px); background:rgba(8,23,31,.88); border:1px solid #395760; border-radius:18px; opacity:1 !important; box-shadow:0 20px 60px #0005;}
.hero-section h3 {font-size:clamp(24px,3vw,36px);line-height:1.2;margin-bottom:20px;}
.hero-section p {font-size:16px !important;line-height:1.65; color:#d5e3e9;max-width:880px;margin:0 auto 16px;}
.hero-section .containerd > img {max-width:100%;height:auto !important;object-fit:contain;}
.hero-section .containerd a:not(.site-btn) {color:#83d9de !important;}
.hero-section .site-btn,.nx-home-section .site-btn,.nx-home-goals .site-btn {transform:none; border-radius:8px; padding:14px 24px; min-height:44px; background:#edcc78; color:#10232c; font-weight:700; border:1px solid #edcc78; text-decoration:none;}
.hero-section .site-btn:hover,.nx-home-section .site-btn:hover,.nx-home-goals .site-btn:hover {background:#ffe4a0;}
.hero-section .flex-container {display:flex;flex-wrap:wrap;justify-content:center;gap:20px;margin-top:24px;}
.hero-section .flex-item {float:none !important;max-width:100%;}
.nx-home-section {padding:56px max(20px,calc((100% - 1160px)/2)) !important;background:#0b151d !important;color:#c3d3df;font-weight:400;border-bottom:1px solid #263843;}
.nx-home-section > .container,.nx-home-section > .container-flex {width:100%;max-width:none;padding:0;margin:0;opacity:1 !important;}
.nx-home-section h3 {color:#f1d58f !important;font-size:clamp(24px,3vw,32px);line-height:1.3;margin-bottom:24px;text-align:left;}
.nx-home-section p {font-size:16px !important;line-height:1.7;color:#c3d3df;}
.nx-home-section .containerdat {grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;padding:0;margin:0;border:0;background:none;box-shadow:none;overflow:visible;}
.nx-home-section .containerdat > div {background:#12232e;border:1px solid #2b4654;border-radius:12px;padding:24px 14px;text-align:center;min-width:0;}
.nx-home-section .counter {display:flex;align-items:center;justify-content:center;box-sizing:border-box;border:10px dashed #0af1fd;border-radius:50%;width:96px;height:96px;padding:0 !important;margin:0 auto 12px;color:#ffdf81;font-size:22px;line-height:1;font-weight:700;font-variant-numeric:tabular-nums;}
.nx-home-section .containerdat h4 {font-size:14px;color:#b9d1dc !important;margin:0;line-height:1.4;}
.nx-home-economy {background:#0e1b25 !important;}
.nx-home-economy .container-fluid {padding:0;}
.nx-home-economy .container-fluid > h3 {font-size:18px;color:#d7e8ef !important;margin-bottom:10px;}
.nx-home-economy .container-fluid > p {text-align:left;max-width:850px;}
.nx-home-table {max-width:100%;overflow-x:auto;margin:24px 0;border:1px solid #324755;border-radius:12px;}
.nx-home-table:focus-visible {outline:2px solid #edcc78;outline-offset:3px;}
.nx-home-table table {margin:0;min-width:620px;}
.nx-home-table th,.nx-home-table td {padding:12px !important;font-size:14px !important;}
.nx-home-section .fade-in {margin:24px 0;border:1px solid #304854;border-radius:12px;}
.nx-home-section .containerdat2 {display:block;padding:28px;margin:0;border:1px solid #304854;border-radius:14px;box-shadow:none;background:#12232e;text-align:left;}
.nx-home-section .containerdat2 > br {display:none;}
.nx-home-section .containerdat2 p {margin-bottom:16px;}
.nx-home-section > .site-btn {display:block;max-width:280px;margin:24px auto 0;width:auto !important;text-align:center;}
.nx-home-section > .site-btn img {max-height:32px;width:auto;}
.nx-home-goals {display:grid;grid-template-columns:minmax(250px,1fr) minmax(0,2fr);background:#101e28;padding:56px max(20px,calc((100% - 1160px)/2));gap:32px;}
.nx-home-goals .featured-bg {position:relative;inset:auto;width:100%;height:auto;min-height:360px;border-radius:16px;background-position:center;background-size:cover;}
.nx-home-goals .featured-box {width:auto;margin:0;padding:0;background:transparent;}
.nx-home-goals h3 {font-size:28px;line-height:1.35;color:#f1d58f;margin:16px 0 24px;}
.nx-home-goals p {font-size:15px !important;line-height:1.75;color:#c3d3df;padding:18px 20px;background:#152a36;border:1px solid #2b4654;border-radius:10px;margin-bottom:12px;}
.nx-home-goals p b {display:block;color:#f0f6f9;font-size:17px;margin-bottom:6px;}
@media(max-width:767px){
 .hero-section .hero-item {min-height:0;padding:32px 0 80px;}
 .hero-section .containerd {padding:24px 18px;}
 .hero-section p {font-size:15px !important;}
 .hero-section iframe {max-width:100%;}
 .nx-home-section {padding:36px 16px !important;}
 .nx-home-section .containerdat {grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;}
 .nx-home-section .containerdat > div {padding:18px 12px;}
 .nx-home-section .counter {font-size:22px;}
 .nx-home-section .containerdat2 {padding:20px 16px;}
 .nx-home-goals {grid-template-columns:1fr;padding:36px 16px;gap:24px;}
 .nx-home-goals .featured-bg {min-height:220px;}
 .nx-home-goals h3 {font-size:24px;}
}

/* Override the theme's more specific feature typography. */
.nx-home-goals .featured-box .text-box h3 {font-size:clamp(24px,2.3vw,30px);line-height:1.35;}
.hero-section a.site-btn,.nx-home-section a.site-btn,.nx-home-goals .text-box a.site-btn {color:#10232c !important;font-size:14px;font-style:normal;}

/* The theme paints button pseudo-elements over their background.
   Keep an explicit dark surface and light text in every interaction state. */
.hero-section a.site-btn,
.nx-home-section a.site-btn,
.nx-home-goals .text-box a.site-btn {
 background:#193842 !important; color:#fff4cf !important; border:1px solid #8fbec4 !important;
 opacity:1 !important; visibility:visible !important; text-shadow:none; isolation:isolate;
}
.hero-section a.site-btn::before,.hero-section a.site-btn::after,
.nx-home-section a.site-btn::before,.nx-home-section a.site-btn::after,
.nx-home-goals a.site-btn::before,.nx-home-goals a.site-btn::after {display:none !important;}
.hero-section a.site-btn:hover,.nx-home-section a.site-btn:hover,.nx-home-goals .text-box a.site-btn:hover {
 background:#26535e !important;color:#ffffff !important;
}
.hero-section a.site-btn:focus-visible,.nx-home-section a:focus-visible,.nx-home-goals a:focus-visible {outline:3px solid #ffdf81;outline-offset:4px;}
.hero-section .containerd p,.nx-home-section p,.nx-home-section .containerdat2,.nx-home-goals .text-box p {color:#d5e3e9 !important;opacity:1;}
.nx-home-section a:not(.site-btn),.nx-home-goals .top-meta,.nx-home-goals .top-meta a {color:#8ce2ea !important;}
.nx-home-section .containerdat2 a {text-decoration:underline;text-underline-offset:3px;}

/* Bound the chart viewport during its first asynchronous render. */
.nx-home-section #icpu,.nx-home-section #c6 {min-width:0;max-width:100%;overflow:hidden;}

/* CookieScript's full-viewport wrapper must not swallow clicks outside its panel.
   Consent controls remain interactive; no cookie choice is made or changed. */
body:has(.hero-section) #cookiescript_injected_wrapper {pointer-events:none !important;}
body:has(.hero-section) #cookiescript_injected {pointer-events:auto !important;}
