 :root{--ng-blue:#2563eb;--ng-blue-dark:#1d4ed8;--ng-ink:#0f172a;--ng-muted:#64748b;--ng-line:#e2e8f0;--ng-soft:#f8fafc;--ng-white:#fff;--ng-radius:18px;--ng-shadow:0 12px 35px rgba(15,23,42,.06)}*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:#fff;color:var(--ng-ink);font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;font-size:16px;line-height:1.65}a{color:var(--ng-blue);text-decoration:none}a:hover{color:var(--ng-blue-dark)}.container{width:min(1120px,calc(100% - 40px));margin-inline:auto}.skip-link{position:absolute;left:-9999px}.skip-link:focus{left:16px;top:16px;background:#fff;padding:12px;z-index:99}.site-header{height:78px;border-bottom:1px solid var(--ng-line);background:rgba(255,255,255,.94);position:sticky;top:0;z-index:20;backdrop-filter:blur(12px)}.header-inner{height:100%;display:flex;align-items:center;justify-content:space-between}.wordmark{font-size:29px;font-weight:850;letter-spacing:-1.8px;color:var(--ng-ink)}.wordmark span{color:var(--ng-blue)}.custom-logo{max-height:48px;width:auto}.primary-navigation{display:flex;align-items:center;gap:26px}.primary-navigation ul,.site-footer ul{list-style:none;margin:0;padding:0;display:flex;gap:24px}.primary-navigation a{font-size:14px;font-weight:650;color:#334155}.nav-search{font-size:25px!important}.menu-toggle{display:none;background:none;border:0}.hero{text-align:center;padding:96px 0 74px}.eyebrow{font-size:11px;font-weight:800;letter-spacing:1.6px;color:var(--ng-blue);text-transform:uppercase}.eyebrow-dot{display:inline-block;width:7px;height:7px;border-radius:50%;background:var(--ng-blue);margin-right:7px}.hero h1{font-size:clamp(42px,7vw,72px);line-height:1.06;letter-spacing:-3.8px;margin:18px 0}.hero h1 span{color:var(--ng-blue)}.hero-copy{font-size:18px;color:var(--ng-muted);margin:0 auto 30px}.search-box{display:flex;align-items:center;gap:12px;width:min(650px,100%);margin:0 auto;padding:8px 9px 8px 18px;border:1px solid #dbe3ef;border-radius:14px;box-shadow:var(--ng-shadow);text-align:left}.search-box>span{font-size:25px;color:var(--ng-muted)}.search-box input{border:0;outline:0;flex:1;min-width:0;font:inherit;font-size:14px}.search-box button,.button-primary{background:var(--ng-blue);color:#fff;border:0;border-radius:10px;padding:12px 19px;font-weight:700;cursor:pointer}.section{padding:55px 0}.section-heading{display:flex;align-items:end;justify-content:space-between;margin-bottom:24px}.section h2,.section-heading h2{font-size:30px;letter-spacing:-1px;margin:5px 0 0}.category-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:14px}.category-card{position:relative;border:1px solid var(--ng-line);border-radius:16px;padding:22px;display:grid;gap:5px;color:var(--ng-ink);transition:.2s}.category-card:hover,.tool-card:hover{border-color:#93b4ff;transform:translateY(-2px);box-shadow:var(--ng-shadow);color:var(--ng-ink)}.category-icon{font-size:24px;color:var(--ng-blue)}.category-card strong{font-size:16px}.category-card>span:last-of-type,.tool-card>span:last-child{font-size:13px;color:var(--ng-muted)}.category-card b{position:absolute;right:20px;top:20px;color:var(--ng-blue)}.tool-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:14px}.tool-card{border:1px solid var(--ng-line);border-radius:16px;padding:20px;min-height:150px;display:flex;flex-direction:column;gap:9px;color:var(--ng-ink);transition:.2s}.tool-card-icon{color:var(--ng-blue);font-size:20px}.tool-card strong{font-size:16px}.bottom-cta{background:#f5f8ff;padding:54px 0;text-align:center;margin-top:30px}.bottom-cta h2{font-size:30px;margin:0 0 5px;letter-spacing:-1px}.bottom-cta p{color:var(--ng-muted);margin:0}.site-footer{border-top:1px solid var(--ng-line);padding:38px 0;color:var(--ng-muted)}.footer-inner{display:grid;grid-template-columns:1fr 1fr;gap:20px}.footer-wordmark{font-size:25px}.footer-inner p{margin:4px 0;font-size:13px}.site-footer nav{justify-self:end}.site-footer a{color:#475569;font-size:13px}.copyright{grid-column:1/-1;border-top:1px solid var(--ng-line);padding-top:20px;margin-top:12px!important}.content-layout,.narrow-content{padding-top:55px;padding-bottom:75px}.narrow-content{max-width:800px}.page-header h1,.narrow-content h1{font-size:42px;letter-spacing:-1.8px;line-height:1.15}.article-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:20px}.article-card{border:1px solid var(--ng-line);padding:22px;border-radius:14px}.calculator-content{max-width:900px;padding-top:32px;padding-bottom:70px}.breadcrumbs{font-size:12px;color:var(--ng-muted);margin-bottom:28px}.calculator-heading{text-align:center;margin:30px auto 28px}.calculator-heading h1{font-size:clamp(34px,5vw,48px);line-height:1.12;letter-spacing:-2px;margin:9px 0}.calculator-heading p{color:var(--ng-muted);margin:0}.calculator-article{max-width:760px;margin:42px auto}.calculator-article h2{font-size:25px;letter-spacing:-.6px;margin-top:34px}.empty-state{border:1px dashed #cbd5e1;padding:28px;border-radius:16px;text-align:center;color:var(--ng-muted)}.not-found{text-align:center;padding-top:110px;padding-bottom:120px}.not-found h1{font-size:clamp(36px,6vw,58px)}.button{display:inline-block}.screen-reader-text{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.entry-content img{max-width:100%;height:auto}.entry-content table{width:100%;border-collapse:collapse}.entry-content th,.entry-content td{border:1px solid var(--ng-line);padding:10px;text-align:left}@media(max-width:800px){.tool-grid{grid-template-columns:repeat(2,1fr)}.category-grid{grid-template-columns:repeat(2,1fr)}.hero{padding:70px 0 50px}.menu-toggle{display:flex;flex-direction:column;gap:5px;padding:10px}.menu-toggle span:not(.screen-reader-text){width:22px;height:2px;background:var(--ng-ink)}.primary-navigation{display:none;position:absolute;left:0;right:0;top:78px;background:#fff;border-bottom:1px solid var(--ng-line);padding:20px;align-items:flex-start}.primary-navigation.is-open{display:flex;flex-direction:column}.primary-navigation ul{flex-direction:column;gap:16px}.footer-inner{grid-template-columns:1fr}.site-footer nav{justify-self:start}.copyright{grid-column:auto}}@media(max-width:520px){.container{width:min(100% - 28px,1120px)}.hero h1{letter-spacing:-2px}.search-box button{padding:10px 12px}.category-grid,.tool-grid,.article-grid{grid-template-columns:1fr}.section{padding:38px 0}.section-heading h2{font-size:25px}.category-card{padding:18px}.tool-card{min-height:125px}.calculator-heading h1{letter-spacing:-1px}}
/* Numgram 1.1.0: refined calculator and category page layouts */
.calculator-content{width:min(1360px,calc(100% - 48px));max-width:1360px;padding-top:30px;padding-bottom:84px}
.calculator-heading{max-width:980px;margin:28px auto 34px;text-align:center}
.calculator-heading .eyebrow{display:none}
.calculator-heading h1{font-size:clamp(38px,5vw,54px);letter-spacing:-2.5px;margin:0 0 12px;color:#111f3e}
.calculator-heading p{max-width:850px;margin:0 auto;color:#65748b;font-size:16px;line-height:1.7}
.calculator-article{max-width:900px;margin:48px auto 0;font-size:16px;line-height:1.8;color:#263752}
.calculator-article h2{font-size:clamp(24px,3vw,29px);line-height:1.25;letter-spacing:-.75px;margin:42px 0 13px;color:#14264c}
.calculator-article h3{font-size:20px;line-height:1.35;letter-spacing:-.3px;margin:28px 0 9px;color:#1b3563}
.calculator-article h4{font-size:17px;line-height:1.4;margin:22px 0 8px;color:#1b3563}
.calculator-article p,.calculator-article li{line-height:1.8}
.calculator-article a{color:#315efb;text-decoration:underline;text-underline-offset:3px}
.ng-theme-related{max-width:1180px;margin:60px auto 20px}
.ng-theme-related-heading,.ng-theme-category-tools-header{display:flex;justify-content:space-between;align-items:end;gap:20px;margin-bottom:22px}
.ng-theme-related-heading h2,.ng-theme-category-tools-header h2{font-size:28px;letter-spacing:-.8px;line-height:1.2;margin:0;color:#14264c}
.ng-theme-related-heading .eyebrow,.ng-theme-category-tools-header .eyebrow{margin:0 0 8px}
.ng-theme-related-heading>a{font-size:13px;font-weight:700}
.ng-theme-related-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,260px),1fr));gap:16px;width:100%}
.ng-theme-related-card{display:flex;flex-direction:column;min-width:0;min-height:190px;padding:22px;border:1px solid #e3eaf3;border-radius:16px;color:#17284c;background:#fff;transition:box-shadow .18s,border-color .18s}
.ng-theme-related-card:hover{border-color:#cad8f3;box-shadow:0 10px 24px rgba(21,42,80,.06)}
.ng-theme-related-icon{display:grid;place-items:center;width:34px;height:34px;margin-bottom:14px;border-radius:11px;background:#eef3ff;color:#315efb;font-size:19px}
.ng-theme-related-card h3{font-size:17px;line-height:1.4;margin:0 0 9px;color:#17284c}.ng-theme-related-card h3 a{color:#17284c;text-decoration:none;text-underline-offset:3px}.ng-theme-related-card h3 a:hover{color:#315efb;text-decoration:underline}.ng-theme-related-card h3 a:focus-visible{outline:3px solid #315efb;outline-offset:3px;border-radius:3px}
.ng-theme-related-card p{font-size:13px;line-height:1.55;color:#65748b;margin:0 0 15px}
.ng-theme-related-intro{margin:8px 0 0;color:#65748b;font-size:14px;line-height:1.6}
.ng-theme-category{width:min(1180px,calc(100% - 48px));padding-top:48px;padding-bottom:82px}
.ng-theme-category .breadcrumbs{margin-bottom:42px}
.ng-theme-category-header{max-width:820px;margin-bottom:45px}
.ng-theme-category-header h1{font-size:clamp(38px,5vw,56px);line-height:1.06;letter-spacing:-2.5px;color:#111f3e;margin:0 0 15px}
.ng-theme-category-intro{font-size:17px;line-height:1.75;color:#65748b}
.ng-theme-category-intro p{margin:0 0 12px}
.ng-theme-subcategories{display:flex;flex-wrap:wrap;gap:10px;margin:-18px 0 38px}
.ng-theme-subcategories a{padding:9px 14px;border:1px solid #e1e8f2;border-radius:999px;color:#263b63;font-size:13px;font-weight:650}
.ng-theme-category-tools-header{margin-bottom:22px}
.ng-theme-category-search input{width:min(320px,36vw);min-height:48px;border:1px solid #dfe7f2;border-radius:12px;padding:12px 15px;font:inherit}
.ng-theme-category-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:17px}
.ng-theme-category-card{min-width:0;border:1px solid #e4eaf3;border-radius:17px;background:linear-gradient(145deg,#fff,#fbfcff);box-shadow:0 8px 24px rgba(21,42,80,.035);transition:transform .18s,box-shadow .18s,border-color .18s}
.ng-theme-category-card:hover{transform:translateY(-3px);border-color:#cad8f3;box-shadow:0 16px 32px rgba(21,42,80,.08)}
.ng-theme-category-card[hidden]{display:none!important}
.ng-theme-category-card>a{display:flex;height:100%;min-height:185px;flex-direction:column;padding:23px;color:inherit}
.ng-theme-category-card-icon{display:grid;place-items:center;width:36px;height:36px;border-radius:11px;background:#eef3ff;color:#315efb;font-size:19px;margin-bottom:17px}
.ng-theme-category-card h3{font-size:18px;line-height:1.3;color:#17284c;margin:0 0 9px}
.ng-theme-category-card p{font-size:14px;line-height:1.6;color:#65748b;margin:0 0 18px}
.ng-theme-category-card strong{margin-top:auto;color:#315efb;font-size:13px}
.ng-theme-category-empty{max-width:680px;padding:32px;border:1px solid #e4eaf3;border-radius:19px;background:#f8faff}
.ng-theme-category-empty>span{display:grid;place-items:center;width:48px;height:48px;border-radius:14px;background:#eaf0ff;color:#315efb;font-size:26px;font-weight:800}
.ng-theme-category-empty h2{font-size:22px;color:#14264c;margin:18px 0 8px}
.ng-theme-category-empty p{color:#64748b;line-height:1.7;margin:0}
@media(max-width:900px){.ng-theme-related-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.ng-theme-category-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:600px){.calculator-content{width:calc(100% - 24px);padding-top:18px}.calculator-heading{margin:24px auto 25px}.calculator-heading h1{font-size:36px;letter-spacing:-1.4px}.calculator-article{max-width:none;margin-top:38px;font-size:15px}.calculator-article h2{margin-top:34px;font-size:24px}.ng-theme-related{margin-top:48px}.ng-theme-related-grid{grid-template-columns:1fr}.ng-theme-related-heading,.ng-theme-category-tools-header{align-items:stretch;flex-direction:column}.ng-theme-related-heading h2,.ng-theme-category-tools-header h2{font-size:24px}.ng-theme-category{width:calc(100% - 32px);padding-top:30px}.ng-theme-category .breadcrumbs{margin-bottom:30px}.ng-theme-category-header{margin-bottom:32px}.ng-theme-category-header h1{font-size:38px}.ng-theme-category-tools-header{gap:12px}.ng-theme-category-search input{width:100%}.ng-theme-category-grid{grid-template-columns:1fr;gap:12px}.ng-theme-category-card>a{min-height:0;padding:20px}.ng-theme-category-empty{padding:24px}}

/* Numgram 1.1.1: calculator subtitle is editable independently of the page excerpt. */
.calculator-heading>p{max-width:850px;margin:0 auto;color:#64748b;font-size:16px;line-height:1.7}

/* Numgram Theme 1.2.0: category media and calculator page typography. */
.ng-theme-category-illustration{max-width:1000px;margin:0 0 42px;border-radius:20px;overflow:hidden;background:#f4f7fc}
.ng-theme-category-illustration img{display:block;width:100%;height:auto;max-height:360px;object-fit:contain;background:#f6f9ff}
.ng-theme-category-card h3,.ng-theme-related-card h3{overflow-wrap:anywhere}
.ng-theme-byline{margin:10px auto 0!important;font-size:12px!important;color:#8491a7!important;line-height:1.4!important}

/* Responsive input-grid fallback for the matched Numgram Engine 0.8.0. */
body.single-ng_calculator .calculator-article .ng-calculator .ngc-input-layout{
 display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;align-items:start;gap:24px 26px;width:100%;
}
body.single-ng_calculator .calculator-article .ng-calculator .ngc-input-field{min-width:0!important;max-width:100%!important}
@media(min-width:421px) and (max-width:1049px){
 body.single-ng_calculator .calculator-article .ng-calculator .ngc-input-layout{grid-template-columns:repeat(2,minmax(0,1fr))!important}
}
@media(max-width:420px){
 body.single-ng_calculator .calculator-article .ng-calculator .ngc-input-layout{grid-template-columns:1fr!important;gap:17px}
}

/* Numgram Theme 1.3.0 — calculator page owns its own full-width stage. */
.ng-page-container{width:min(1320px,calc(100% - 48px));margin-inline:auto}.ng-calculator-page{padding:0 0 80px}.ng-calculator-page .breadcrumbs{padding-top:27px;margin:0;color:#8390a5;font-size:12px}.ng-calculator-page .breadcrumbs a{color:#5573b6}.ng-calculator-page .breadcrumbs span{padding:0 5px}.ng-calculator-heading{max-width:980px;margin:38px auto 30px;text-align:center}.ng-calculator-heading h1{margin:0 0 12px;color:#12213f;font-size:clamp(38px,4.5vw,56px);font-weight:800;line-height:1.08;letter-spacing:-2.5px}.ng-calculator-heading>p{max-width:850px;margin:0 auto;color:#66758e;font-size:16px;line-height:1.7}.ng-calculator-byline{margin-top:11px;color:#8b98aa;font-size:12px}.ng-calculator-stage{width:100%;max-width:none;margin:0 auto}.ng-content-container{max-width:1080px}.ng-calculator-article{max-width:850px;margin:44px auto 0;color:#34445f;font-size:16px;line-height:1.8}.ng-calculator-article h2{margin:40px 0 12px;color:#15294e;font-size:clamp(24px,3vw,30px);line-height:1.25;letter-spacing:-.7px}.ng-calculator-article h3{margin:28px 0 9px;color:#1b3563;font-size:21px;line-height:1.35}.ng-calculator-article p,.ng-calculator-article li{line-height:1.8}.ngc-calculator-figure{max-width:920px;margin:36px auto;border:1px solid #e4eaf3;border-radius:18px;overflow:hidden;background:#f6f9ff}.ngc-calculator-figure img{display:block;width:100%;height:auto}.ngc-calculator-figure figcaption{padding:10px 15px;color:#6b7890;font-size:12px}.ngc-calculator-video{max-width:920px;margin:36px auto}.ngc-calculator-video video{width:100%;height:auto;border-radius:16px;background:#101828}.ng-theme-related{max-width:1180px;margin:62px auto 10px}.ng-theme-related-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,260px),1fr));gap:16px;width:100%}.ng-theme-related-card{min-width:0;display:flex;flex-direction:column;min-height:190px;padding:22px;border:1px solid #e3eaf3;border-radius:16px;color:#17284c;background:#fff;transition:border-color .18s,box-shadow .18s}.ng-theme-related-card:hover{border-color:#cad8f3;box-shadow:0 10px 24px rgba(21,42,80,.06)}.ng-theme-related-card h3{font-size:17px;line-height:1.4;margin:0 0 9px;color:#17284c}.ng-theme-related-card h3 a{color:#17284c;text-decoration:none;text-underline-offset:3px}.ng-theme-related-card h3 a:hover{color:#315efb;text-decoration:underline}.ng-theme-related-card h3 a:focus-visible{outline:3px solid #315efb;outline-offset:3px;border-radius:3px}.ng-theme-related-card p{font-size:13px;line-height:1.55;color:#65748b;margin:0 0 15px}.ng-theme-related-intro{margin:8px 0 0;color:#65748b;font-size:14px;line-height:1.6}
@media(max-width:1000px){.ng-theme-related-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:640px){.ng-page-container{width:calc(100% - 28px)}.ng-calculator-heading{margin:27px auto 22px}.ng-calculator-heading h1{font-size:36px;letter-spacing:-1.3px}.ng-calculator-heading>p{font-size:14px}.ng-calculator-article{margin-top:34px;font-size:15px}.ng-theme-related{margin-top:46px}.ng-theme-related-grid{grid-template-columns:1fr}}

/* Numgram Theme 1.3.0 homepage system */
.ng-home{overflow:hidden}.ng-home-hero{position:relative;background:radial-gradient(circle at 82% 38%,#edf2ff 0,rgba(237,242,255,.45) 25%,transparent 49%),linear-gradient(180deg,#fbfcff,#fff);border-bottom:1px solid #edf1f7}.ng-home-hero-inner{width:min(1220px,calc(100% - 48px));min-height:590px;margin:auto;display:grid;grid-template-columns:1.1fr .9fr;align-items:center;gap:40px;padding:74px 0 80px}.ng-home-kicker{display:inline-flex;align-items:center;gap:9px;color:#315efb;font-size:10px;font-weight:850;letter-spacing:1.6px}.ng-home-kicker i{width:7px;height:7px;border-radius:50%;background:#315efb;box-shadow:0 0 0 4px #eaf0ff}.ng-home-copy h1{margin:19px 0 15px;color:#111f3e;font-size:clamp(48px,6vw,76px);line-height:1.02;letter-spacing:-4px;font-weight:850}.ng-home-copy h1 em,.ng-home-bottom h2 em{color:#315efb;font-style:normal}.ng-home-copy>p{max-width:570px;margin:0 0 27px;color:#66758e;font-size:18px;line-height:1.65}.ng-home-search{display:flex;align-items:center;gap:12px;max-width:650px;padding:8px 9px 8px 17px;border:1px solid #dce5f2;border-radius:15px;background:#fff;box-shadow:0 12px 35px rgba(22,43,84,.07)}.ng-home-search>span{color:#72819a;font-size:25px}.ng-home-search input{flex:1;min-width:0;border:0!important;outline:0!important;box-shadow:none!important;font:inherit;font-size:14px}.ng-home-search button{display:flex;align-items:center;gap:16px;min-height:46px;padding:0 17px;border:0;border-radius:10px;background:#315efb;color:#fff;font-size:12px;font-weight:750;white-space:nowrap;cursor:pointer}.ng-home-trust{display:flex;flex-wrap:wrap;gap:18px;margin-top:18px;color:#718099;font-size:11px;font-weight:650}.ng-home-visual{position:relative;min-height:400px;display:grid;place-items:center}.ng-home-orbit{position:absolute;border:1px solid #dbe5ff;border-radius:50%;transform:rotate(-24deg)}.ng-home-orbit-one{width:390px;height:290px}.ng-home-orbit-two{width:470px;height:350px;transform:rotate(28deg)}.ng-home-calc-card{position:relative;z-index:1;width:min(360px,90%);padding:28px;border:1px solid #e0e8f6;border-radius:23px;background:rgba(255,255,255,.94);box-shadow:0 24px 70px rgba(29,58,113,.12);transform:rotate(-4deg)}.ng-home-calc-card>span{color:#7b8aa4;font-size:10px;font-weight:850;letter-spacing:1.5px}.ng-home-calc-card>strong{display:block;margin:16px 0;color:#14264c;font-size:42px;letter-spacing:-2px}.ng-home-calc-card>strong span{color:#8ea0bf}.ng-home-mini-bars{height:90px;display:flex;align-items:end;gap:10px;padding:0 6px 8px;border-bottom:1px solid #e6ecf5}.ng-home-mini-bars i{flex:1;border-radius:7px 7px 2px 2px;background:linear-gradient(180deg,#7896ff,#315efb)}.ng-home-mini-bars i:nth-child(1){height:34%}.ng-home-mini-bars i:nth-child(2){height:48%}.ng-home-mini-bars i:nth-child(3){height:40%}.ng-home-mini-bars i:nth-child(4){height:68%}.ng-home-mini-bars i:nth-child(5){height:58%}.ng-home-mini-bars i:nth-child(6){height:82%}.ng-home-mini-bars i:nth-child(7){height:100%}.ng-home-calc-card small{display:block;margin-top:13px;color:#8290a7;font-size:11px}.ng-home-float{position:absolute;z-index:2;display:grid;place-items:center;width:54px;height:54px;border:1px solid #e1e9f7;border-radius:16px;background:#fff;color:#315efb;font-size:22px;box-shadow:0 12px 30px rgba(29,58,113,.10)}.ng-home-float-a{top:40px;right:13%}.ng-home-float-b{left:7%;top:42%}.ng-home-float-c{right:10%;bottom:34px}.ng-home-section{width:min(1220px,calc(100% - 48px));margin:auto;padding:75px 0}.ng-home-section-head{margin-bottom:27px}.ng-home-section-head h2{margin:9px 0 6px;color:#14264c;font-size:clamp(27px,3.5vw,36px);letter-spacing:-1.1px}.ng-home-section-head p{margin:0;color:#748198;font-size:14px}.ng-home-category-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}.ng-home-category-card{position:relative;display:flex;flex-direction:column;min-height:195px;padding:24px;border:1px solid #e3eaf4;border-radius:17px;background:#fff;color:#17284c;transition:transform .18s,border-color .18s,box-shadow .18s}.ng-home-category-card:hover,.ng-home-tool-card:hover{transform:translateY(-3px);border-color:#c8d6f4;box-shadow:0 16px 35px rgba(21,42,80,.07);color:#17284c}.ng-home-category-icon{display:grid;place-items:center;width:40px;height:40px;margin-bottom:18px;border-radius:12px;background:#eff3ff;color:#315efb;font-size:22px}.ng-home-category-meta{position:absolute;top:29px;right:22px;color:#8a97aa;font-size:10px}.ng-home-category-card>strong{font-size:17px}.ng-home-category-link{display:flex;justify-content:space-between;margin-top:auto;padding-top:18px;color:#315efb;font-size:11px;font-weight:750}.ng-home-tools{padding-top:30px}.ng-home-tools-head{display:flex;justify-content:space-between;align-items:end;gap:20px}.ng-home-tools-head>a{font-size:12px;font-weight:750}.ng-home-tool-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px}.ng-home-tool-card{position:relative;display:flex;flex-direction:column;min-height:185px;padding:21px;border:1px solid #e3eaf4;border-radius:16px;background:#fff;color:#17284c;transition:.18s}.ng-home-tool-arrow{align-self:flex-end;color:#315efb;font-size:18px}.ng-home-tool-card>strong{margin-top:9px;font-size:15px;line-height:1.35}.ng-home-tool-card p{margin:8px 0 17px;color:#748198;font-size:12px;line-height:1.55}.ng-home-tool-card>span:last-child{margin-top:auto;color:#315efb;font-size:11px;font-weight:750}.ng-home-bottom{padding:64px 24px;background:linear-gradient(115deg,#f3f6ff,#fbfcff);text-align:center}.ng-home-bottom h2{margin:13px 0;color:#14264c;font-size:clamp(34px,5vw,50px);line-height:1.08;letter-spacing:-1.8px}.ng-home-bottom p{max-width:560px;margin:auto;color:#718099;font-size:14px;line-height:1.7}.ng-home-empty{padding:30px;border:1px dashed #d6dfed;border-radius:16px;background:#fafcff}.ng-home-empty h3{margin:0 0 6px;color:#17284c}.ng-home-empty p{margin:0;color:#748198}
@media(max-width:950px){.ng-home-hero-inner{grid-template-columns:1fr .8fr;gap:18px}.ng-home-copy h1{font-size:58px}.ng-home-tool-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:700px){.ng-home-hero-inner{grid-template-columns:1fr;padding:60px 0 46px}.ng-home-visual{min-height:310px}.ng-home-orbit-one{width:300px;height:230px}.ng-home-orbit-two{width:350px;height:270px}.ng-home-calc-card{max-width:310px;padding:22px}.ng-home-copy h1{font-size:48px;letter-spacing:-2.5px}.ng-home-copy>p{font-size:16px}.ng-home-search{flex-wrap:wrap}.ng-home-search button{width:100%;justify-content:center}.ng-home-section{padding:48px 0}.ng-home-category-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.ng-home-tools-head{align-items:flex-start;flex-direction:column}.ng-home-tools{padding-top:10px}}
@media(max-width:460px){.ng-home-hero-inner,.ng-home-section{width:calc(100% - 30px)}.ng-home-category-grid,.ng-home-tool-grid{grid-template-columns:1fr}.ng-home-category-card{min-height:160px}.ng-home-trust{gap:10px}.ng-home-float-a{right:2%}.ng-home-float-b{left:0}.ng-home-float-c{right:0}}

/* Numgram 1.4.0 — flexible page, post and widget layouts */
.ng-page-shell{width:min(1180px,calc(100% - 48px));margin:0 auto;padding:54px 0 82px}
.ng-page-shell--default{max-width:900px}
.ng-page-shell--full{width:min(1440px,calc(100% - 48px));max-width:none}
.ng-page-shell--right,.ng-page-shell--left{display:grid;grid-template-columns:minmax(0,1fr) 290px;gap:42px;align-items:start}
.ng-page-shell--left{grid-template-columns:270px minmax(0,1fr)}
.ng-page-content{min-width:0}
.ng-page-header h1{font-size:clamp(34px,4vw,46px);line-height:1.12;letter-spacing:-1.8px;margin:0 0 28px;color:#12213f}
.ng-sidebar{min-width:0;padding:22px;border:1px solid var(--ng-line);border-radius:16px;background:#fbfcff}
.ng-sidebar .widget+.widget{margin-top:28px;padding-top:24px;border-top:1px solid var(--ng-line)}
.widget-title{font-size:16px;line-height:1.3;margin:0 0 14px;color:#17284c}
.ng-sidebar ul,.ng-footer-widget-area ul{list-style:none;margin:0;padding:0}
.ng-sidebar li{padding:8px 0;border-bottom:1px solid #edf1f6;font-size:14px}
.ng-sidebar li:last-child{border-bottom:0}
.ng-sidebar a{color:#334766}
.ng-sidebar a:hover{color:var(--ng-blue)}
.ng-sidebar input[type="search"],.ng-sidebar input[type="text"]{width:100%;max-width:100%;padding:10px 12px;border:1px solid #dbe3ef;border-radius:9px;font:inherit}
.ng-sidebar button,.ng-sidebar input[type="submit"]{padding:9px 13px;border:0;border-radius:8px;background:var(--ng-blue);color:#fff;font-weight:650}
.ng-content-with-sidebar{display:grid;grid-template-columns:minmax(0,1fr) 280px;gap:38px;align-items:start}
.ng-post-main{min-width:0}
.ng-post-thumb{display:block;margin:-22px -22px 18px;overflow:hidden;border-radius:14px 14px 0 0}
.ng-post-thumb img{display:block;width:100%;height:190px;object-fit:cover}
.ng-read-more{font-size:13px;font-weight:750}
.ng-single-post{max-width:850px}
.ng-single-header h1{font-size:clamp(34px,5vw,52px);line-height:1.1;letter-spacing:-2px;margin:8px 0 18px;color:#12213f}
.ng-post-meta{font-size:12px;color:#74829a}
.ng-single-featured{margin:28px 0;border-radius:18px;overflow:hidden}
.ng-single-featured img{display:block;width:100%;height:auto}
.ng-single-post .entry-content{font-size:16px;line-height:1.8;color:#34445f}
.ng-single-post .entry-content h2{margin-top:34px;color:#14264c}
.footer-inner{grid-template-columns:1.2fr repeat(2,minmax(0,1fr));align-items:start}
.ng-footer-widget-area{min-width:0}
.ng-footer-widget-area .widget-title{font-size:14px}
.ng-footer-widget-area li{margin:7px 0;font-size:13px}
.ng-footer-widget-area a{color:#52627b}
.site-footer .menu{display:flex;flex-wrap:wrap;gap:10px 18px}
.site-footer nav{grid-column:1/-1;justify-self:start}
.ng-page-shell .alignwide{max-width:100%}
.ng-page-shell .alignfull{width:100%;max-width:100%;margin-left:0;margin-right:0}
@media(max-width:900px){
 .ng-page-shell--right,.ng-page-shell--left,.ng-content-with-sidebar{grid-template-columns:minmax(0,1fr)}
 .ng-sidebar{order:2}
 .footer-inner{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:600px){
 .ng-page-shell,.ng-page-shell--full{width:calc(100% - 28px);padding:34px 0 58px}
 .ng-page-shell--right,.ng-page-shell--left{gap:26px}
 .ng-content-with-sidebar{gap:28px}
 .ng-sidebar{padding:18px}
 .footer-inner{grid-template-columns:1fr}
 .site-footer nav{grid-column:auto}
 .ng-single-header h1{letter-spacing:-1.2px}
}

/* Responsive ad slot before calculator breadcrumb and heading */
.ng-ad-before-intro{width:var(--ng-ad-width,100%);height:var(--ng-ad-height,auto);max-width:100%;box-sizing:border-box;margin:0 auto;display:block;text-align:center;}
.ng-ad-before-intro[style*="--ng-ad-align:left"]{margin-left:0;margin-right:auto;text-align:left;}
.ng-ad-before-intro[style*="--ng-ad-align:right"]{margin-left:auto;margin-right:0;text-align:right;}
.ng-ad-before-intro .ng-ad-content{width:100%;height:100%;max-width:100%;min-width:0;box-sizing:border-box;display:flex;justify-content:var(--ng-ad-justify,center);align-items:center;overflow:hidden;}
.ng-ad-before-intro[style*="--ng-ad-align:left"] .ng-ad-content{justify-content:flex-start;}
.ng-ad-before-intro[style*="--ng-ad-align:right"] .ng-ad-content{justify-content:flex-end;}
.ng-ad-before-intro .ng-ad-content>*,.ng-ad-before-intro .ng-ad-content ins{max-width:100%;box-sizing:border-box;}
.ng-ad-before-intro .ng-ad-content img,.ng-ad-before-intro .ng-ad-content iframe,.ng-ad-before-intro .ng-ad-content video,.ng-ad-before-intro .ng-ad-content object,.ng-ad-before-intro .ng-ad-content embed{width:auto!important;max-width:100%!important;height:var(--ng-ad-height,auto)!important;display:block;object-fit:contain;flex:0 1 auto;}
.ng-ad-before-intro[style*="--ng-ad-height:auto"] .ng-ad-content img,.ng-ad-before-intro[style*="--ng-ad-height:auto"] .ng-ad-content iframe,.ng-ad-before-intro[style*="--ng-ad-height:auto"] .ng-ad-content video{height:auto!important;}
@media(max-width:767px){.ng-ad-hide-mobile{display:none!important;}.ng-ad-before-intro{width:100%!important;max-width:100%;}.ng-ad-before-intro .ng-ad-content{max-width:100%;}}
@media(min-width:768px){.ng-ad-hide-desktop{display:none!important;}}

/* Placement 3: ad between calculator inputs and results */
.ng-ad-between-calculator-results{width:var(--ng-ad-width,100%);height:var(--ng-ad-height,auto);max-width:100%;box-sizing:border-box;margin:0 auto;display:block;text-align:center;}
.ng-ad-between-calculator-results[style*="--ng-ad-align:left"]{margin-left:0;margin-right:auto;text-align:left;}
.ng-ad-between-calculator-results[style*="--ng-ad-align:right"]{margin-left:auto;margin-right:0;text-align:right;}
.ng-ad-between-calculator-results .ng-ad-content{width:100%;height:100%;max-width:100%;min-width:0;box-sizing:border-box;display:flex;justify-content:var(--ng-ad-justify,center);align-items:center;overflow:hidden;}
.ng-ad-between-calculator-results[style*="--ng-ad-align:left"] .ng-ad-content{justify-content:flex-start;}
.ng-ad-between-calculator-results[style*="--ng-ad-align:right"] .ng-ad-content{justify-content:flex-end;}
.ng-ad-between-calculator-results .ng-ad-content>*,.ng-ad-between-calculator-results .ng-ad-content ins{max-width:100%;box-sizing:border-box;}
.ng-ad-between-calculator-results .ng-ad-content img,.ng-ad-between-calculator-results .ng-ad-content iframe,.ng-ad-between-calculator-results .ng-ad-content video,.ng-ad-between-calculator-results .ng-ad-content object,.ng-ad-between-calculator-results .ng-ad-content embed{width:auto!important;max-width:100%!important;height:var(--ng-ad-height,auto)!important;display:block;flex:0 1 auto;}
.ng-ad-between-calculator-results[style*="--ng-ad-height:auto"] .ng-ad-content img,.ng-ad-between-calculator-results[style*="--ng-ad-height:auto"] .ng-ad-content iframe,.ng-ad-between-calculator-results[style*="--ng-ad-height:auto"] .ng-ad-content video{height:auto!important;}
@media(max-width:767px){.ng-ad-between-calculator-results{width:100%!important;max-width:100%;}.ng-ad-between-calculator-results .ng-ad-content{max-width:100%;}}

/* Keep the post-calculation ad hidden until the calculator reveals valid results. */
.ng-ad-wait-for-calculation[hidden]{display:none!important;}

/* Placement 3: after calculator/results */
.ng-ad-after-calculator{width:var(--ng-ad-width,100%);height:var(--ng-ad-height,auto);max-width:100%;box-sizing:border-box;margin:0 auto;display:block;text-align:center;}
.ng-ad-after-calculator[style*="--ng-ad-align:left"]{margin-left:0;margin-right:auto;text-align:left;}
.ng-ad-after-calculator[style*="--ng-ad-align:right"]{margin-left:auto;margin-right:0;text-align:right;}
.ng-ad-after-calculator .ng-ad-content{width:100%;height:100%;max-width:100%;min-width:0;box-sizing:border-box;display:flex;justify-content:var(--ng-ad-justify,center);align-items:center;overflow:hidden;}
.ng-ad-after-calculator[style*="--ng-ad-align:left"] .ng-ad-content{justify-content:flex-start;}
.ng-ad-after-calculator[style*="--ng-ad-align:right"] .ng-ad-content{justify-content:flex-end;}
.ng-ad-after-calculator .ng-ad-content>*,.ng-ad-after-calculator .ng-ad-content ins{max-width:100%;box-sizing:border-box;}
.ng-ad-after-calculator .ng-ad-content img,.ng-ad-after-calculator .ng-ad-content iframe,.ng-ad-after-calculator .ng-ad-content video,.ng-ad-after-calculator .ng-ad-content object,.ng-ad-after-calculator .ng-ad-content embed{width:auto!important;max-width:100%!important;height:var(--ng-ad-height,auto)!important;display:block;flex:0 1 auto;}
.ng-ad-after-calculator[style*="--ng-ad-height:auto"] .ng-ad-content img,.ng-ad-after-calculator[style*="--ng-ad-height:auto"] .ng-ad-content iframe,.ng-ad-after-calculator[style*="--ng-ad-height:auto"] .ng-ad-content video{height:auto!important;}
@media(max-width:767px){.ng-ad-after-calculator{width:100%!important;max-width:100%;}.ng-ad-after-calculator .ng-ad-content{max-width:100%;}}

/* Keep Placement 3 aligned with the calculator content instead of spanning the viewport. */
.ng-ad-after-calculator-container{width:min(1080px,calc(100% - 48px));max-width:1080px;margin-inline:auto;min-width:0;box-sizing:border-box;}
.ng-ad-after-calculator-container .ng-ad-after-calculator{width:var(--ng-ad-width,100%);max-width:100%;min-width:0;box-sizing:border-box;margin-left:auto;margin-right:auto;overflow:hidden;}
.ng-ad-after-calculator-container .ng-ad-content{width:100%;max-width:100%;min-width:0;box-sizing:border-box;overflow:hidden;}
.ng-ad-after-calculator-container .ng-ad-content img,.ng-ad-after-calculator-container .ng-ad-content iframe,.ng-ad-after-calculator-container .ng-ad-content video,.ng-ad-after-calculator-container .ng-ad-content ins{max-width:100%;box-sizing:border-box;}
.ng-ad-after-calculator-container .ng-ad-after-calculator[style*='--ng-ad-align:left']{margin-left:0;margin-right:auto;}
.ng-ad-after-calculator-container .ng-ad-after-calculator[style*='--ng-ad-align:right']{margin-left:auto;margin-right:0;}

/* Ad slot alignment: full-width track, configured width applied to the inner creative area. */
.ng-ad-slot{display:block!important;width:100%!important;max-width:100%!important;min-width:0!important;box-sizing:border-box;}
.ng-ad-slot .ng-ad-content{display:flex!important;flex-direction:row!important;align-items:center!important;min-width:0!important;max-width:100%!important;box-sizing:border-box;}
.ng-ad-slot[style*="--ng-ad-align:left"] .ng-ad-content{margin-left:0!important;margin-right:auto!important;justify-content:flex-start!important;}
.ng-ad-slot[style*="--ng-ad-align:center"] .ng-ad-content{margin-left:auto!important;margin-right:auto!important;justify-content:center!important;}
.ng-ad-slot[style*="--ng-ad-align:right"] .ng-ad-content{margin-left:auto!important;margin-right:0!important;justify-content:flex-end!important;}
.ng-ad-slot .ng-ad-content>.ad-slot,.ng-ad-slot .ng-ad-content>*{flex:0 1 auto!important;max-width:100%!important;box-sizing:border-box;}
.ng-ad-slot .ng-ad-content img,.ng-ad-slot .ng-ad-content iframe,.ng-ad-slot .ng-ad-content video,.ng-ad-slot .ng-ad-content object,.ng-ad-slot .ng-ad-content embed,.ng-ad-slot .ng-ad-content ins{max-width:100%!important;box-sizing:border-box;}
.ng-ad-slot .ng-ad-content>a{display:block;max-width:100%;flex:0 1 auto!important;}
.ng-ad-slot .ng-ad-content>a>img{display:block;width:auto!important;max-width:100%!important;height:auto;}

/* Placement 4: manually positioned ad inside calculator article content. */
.ng-ad-within-content{display:block!important;width:100%!important;max-width:100%!important;min-width:0!important;box-sizing:border-box;margin:0!important;overflow:hidden;}
.ng-ad-within-content .ng-ad-content{display:flex!important;flex-direction:row!important;align-items:center!important;min-width:0!important;max-width:100%!important;box-sizing:border-box;overflow:hidden;margin-left:auto;margin-right:auto;}
.ng-ad-within-content[style*='--ng-ad-align:left'] .ng-ad-content{margin-left:0!important;margin-right:auto!important;justify-content:flex-start!important;}
.ng-ad-within-content[style*='--ng-ad-align:center'] .ng-ad-content{margin-left:auto!important;margin-right:auto!important;justify-content:center!important;}
.ng-ad-within-content[style*='--ng-ad-align:right'] .ng-ad-content{margin-left:auto!important;margin-right:0!important;justify-content:flex-end!important;}
.ng-ad-within-content .ng-ad-content>*{flex:0 1 auto!important;max-width:100%!important;box-sizing:border-box;}
.ng-ad-within-content .ng-ad-content img,.ng-ad-within-content .ng-ad-content iframe,.ng-ad-within-content .ng-ad-content ins{max-width:100%!important;box-sizing:border-box;}
.ng-ad-within-content .ng-ad-content .ad-slot{max-width:100%!important;box-sizing:border-box;}

/* NUMGRAM 1.6.0: shared right sidebar layout for calculator article content. */
.ng-calculator-content-layout{display:grid;grid-template-columns:minmax(0,1fr) 280px;gap:38px;align-items:start}
.ng-calculator-main-content{min-width:0}
.ng-calculator-content-layout .ng-calculator-article{max-width:none;margin:0}
.ng-calculator-content-layout .ng-theme-related{grid-column:1/-1}
@media(max-width:900px){.ng-calculator-content-layout{grid-template-columns:minmax(0,1fr)}.ng-calculator-content-layout .ng-sidebar{order:2}.ng-calculator-content-layout .ng-theme-related{grid-column:auto}}

/* NUMGRAM 1.6.4: enforce the right sidebar grid on calculator taxonomy archives. */
.ng-theme-category.ng-page-shell--right{display:grid!important;grid-template-columns:minmax(0,1fr) 290px;gap:42px;align-items:start}
.ng-theme-category .ng-page-content{min-width:0}
.ng-theme-category .ng-category-sidebar{display:block;min-width:0}
@media(max-width:900px){.ng-theme-category.ng-page-shell--right{grid-template-columns:minmax(0,1fr)}.ng-theme-category .ng-category-sidebar{order:2}}


/* Numgram 1.7.1: per-page layout controls and balanced two-sidebar layout. */
.ng-page-shell--none{display:block;width:min(1180px,calc(100% - 48px));max-width:1180px;margin-inline:auto}
.ng-page-shell--none .ng-page-content{width:100%;min-width:0}
.ng-page-shell--left{display:grid;grid-template-columns:270px minmax(0,1fr);gap:36px;align-items:start}
.ng-page-shell--both{display:grid;grid-template-columns:minmax(190px,240px) minmax(0,1fr) minmax(190px,240px);gap:28px;align-items:start}
.ng-page-shell--both .ng-page-content,.ng-page-shell--left .ng-page-content,.ng-page-shell--right .ng-page-content{min-width:0}
.ng-page-shell--both .ng-sidebar,.ng-page-shell--left .ng-sidebar,.ng-page-shell--right .ng-sidebar{width:100%;min-width:0;box-sizing:border-box}
.ng-page-shell--both .ng-sidebar-left{grid-column:1}
.ng-page-shell--both .ng-page-content{grid-column:2}
.ng-page-shell--both .ng-sidebar-right{grid-column:3}
@media(max-width:1000px){
 .ng-page-shell--both{grid-template-columns:minmax(0,1fr) minmax(220px,280px);gap:28px}
 .ng-page-shell--both .ng-sidebar-left{grid-column:1;grid-row:2}
 .ng-page-shell--both .ng-page-content{grid-column:1;grid-row:1}
 .ng-page-shell--both .ng-sidebar-right{grid-column:2;grid-row:1 / span 2}
}
@media(max-width:900px){
 .ng-page-shell--both,.ng-page-shell--left,.ng-page-shell--right{grid-template-columns:minmax(0,1fr)}
 .ng-page-shell--both .ng-sidebar-left,.ng-page-shell--both .ng-page-content,.ng-page-shell--both .ng-sidebar-right{grid-column:1;grid-row:auto}
 .ng-page-shell--both .ng-sidebar-left{order:2}
 .ng-page-shell--both .ng-page-content{order:1}
 .ng-page-shell--both .ng-sidebar-right{order:3}
}


/* Numgram 1.7.3 — reliable page grid and custom About Us content containment. */
.ng-page-shell,
.ng-page-shell * { box-sizing: border-box; }
.ng-page-shell--right {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) minmax(240px, 290px) !important;
  align-items: start;
  column-gap: clamp(24px, 3vw, 42px);
  row-gap: 28px;
}
.ng-page-shell--left {
  display: grid !important;
  grid-template-columns: minmax(240px, 290px) minmax(0, 1fr) !important;
  align-items: start;
  column-gap: clamp(24px, 3vw, 42px);
  row-gap: 28px;
}
.ng-page-shell--both {
  display: grid !important;
  grid-template-columns: minmax(190px, 230px) minmax(0, 1fr) minmax(190px, 230px) !important;
  align-items: start;
  column-gap: clamp(18px, 2vw, 30px);
  row-gap: 28px;
}
.ng-page-shell--right > .ng-page-content,
.ng-page-shell--left > .ng-page-content,
.ng-page-shell--both > .ng-page-content {
  grid-column: auto;
  grid-row: auto;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  overflow-wrap: anywhere;
}
.ng-page-shell--right > .ng-sidebar,
.ng-page-shell--left > .ng-sidebar,
.ng-page-shell--both > .ng-sidebar {
  grid-column: auto;
  grid-row: auto;
  width: 100%;
  min-width: 0;
  max-width: 100%;
  margin: 0;
}
.ng-page-shell--both > .ng-sidebar-left { grid-column: 1; }
.ng-page-shell--both > .ng-page-content { grid-column: 2; }
.ng-page-shell--both > .ng-sidebar-right { grid-column: 3; }

/* The About Us page is authored as a sequence of custom HTML sections.
   Keep those sections inside the content column; never let them span the sidebar. */
body.page-about-us .ng-page-content,
body.page-about-us .ng-page-article,
body.page-about-us .ng-page-article .entry-content,
body.page-about-us .ng-page-article .wp-block-html,
body.page-about-us .ng-page-article .ng-about {
  width: 100%;
  max-width: 100%;
  min-width: 0;
  box-sizing: border-box;
}
body.page-about-us .ng-page-article .ng-about {
  display: block;
  overflow-wrap: anywhere;
}
body.page-about-us .ng-page-article .ng-about .ng-container,
body.page-about-us .ng-page-article .ng-about .ng-section,
body.page-about-us .ng-page-article .ng-about .ng-hero,
body.page-about-us .ng-page-article .ng-about .ng-grid,
body.page-about-us .ng-page-article .ng-about .ng-card,
body.page-about-us .ng-page-article .ng-about .ng-cta,
body.page-about-us .ng-page-article .ng-about .ng-understanding {
  min-width: 0;
  max-width: 100%;
  box-sizing: border-box;
}
body.page-about-us .ng-page-article .ng-about img,
body.page-about-us .ng-page-article .ng-about iframe,
body.page-about-us .ng-page-article .ng-about video,
body.page-about-us .ng-page-article .ng-about table {
  max-width: 100%;
}
@media (max-width: 1000px) {
  .ng-page-shell--both {
    grid-template-columns: minmax(0, 1fr) minmax(220px, 280px) !important;
  }
  .ng-page-shell--both > .ng-sidebar-left { grid-column: 1; grid-row: 2; }
  .ng-page-shell--both > .ng-page-content { grid-column: 1; grid-row: 1; }
  .ng-page-shell--both > .ng-sidebar-right { grid-column: 2; grid-row: 1 / span 2; }
}
@media (max-width: 900px) {
  .ng-page-shell--right,
  .ng-page-shell--left,
  .ng-page-shell--both {
    grid-template-columns: minmax(0, 1fr) !important;
  }
  .ng-page-shell--right > .ng-page-content,
  .ng-page-shell--left > .ng-page-content,
  .ng-page-shell--both > .ng-page-content,
  .ng-page-shell--right > .ng-sidebar,
  .ng-page-shell--left > .ng-sidebar,
  .ng-page-shell--both > .ng-sidebar {
    grid-column: 1 !important;
    grid-row: auto !important;
  }
  .ng-page-shell--right > .ng-page-content,
  .ng-page-shell--left > .ng-page-content,
  .ng-page-shell--both > .ng-page-content { order: 1; }
  .ng-page-shell--right > .ng-sidebar,
  .ng-page-shell--left > .ng-sidebar,
  .ng-page-shell--both > .ng-sidebar { order: 2; }
}


/* Numgram 1.7.5 homepage category lists: adaptive cards for uneven category sizes. */
.ng-home-category-grid{grid-template-columns:repeat(auto-fit,minmax(min(100%,270px),1fr));align-items:stretch}
.ng-home-category-grid--cols-1{grid-template-columns:1fr}
.ng-home-category-grid--cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}
.ng-home-category-grid--cols-3{grid-template-columns:repeat(3,minmax(0,1fr))}
.ng-home-category-grid--cols-4{grid-template-columns:repeat(4,minmax(0,1fr))}
.ng-home-category-card{min-height:0;gap:0}
.ng-home-category-title{display:block;position:relative;padding-right:65px;color:#17284c}
.ng-home-category-title:hover{color:#315efb}
.ng-home-category-title .ng-home-category-icon{margin-bottom:13px}
.ng-home-category-title>strong{display:block;font-size:17px;line-height:1.35}
.ng-home-category-links{list-style:none;margin:14px 0 0;padding:0;display:grid;gap:7px}
.ng-home-category-links li{min-width:0}
.ng-home-category-links a{display:block;overflow-wrap:anywhere;color:#64748b;font-size:12px;line-height:1.5}
.ng-home-category-links a:hover{color:#315efb;text-decoration:underline}
.ng-home-category-card .ng-home-category-link{margin-top:auto;padding-top:16px}
@media(max-width:1000px){.ng-home-category-grid--cols-4,.ng-home-category-grid--cols-3{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:600px){.ng-home-category-grid--cols-2,.ng-home-category-grid--cols-3,.ng-home-category-grid--cols-4{grid-template-columns:1fr}}


/* Dynamic All Calculators directory (page ID 567) */
.ng-calculator-directory{width:100%;max-width:100%;margin:0 auto 48px;color:#17264a}
.ng-directory-intro{max-width:820px;margin:0 auto 30px;text-align:center}
.ng-directory-eyebrow,.ng-directory-category-kicker{margin:0 0 10px;color:#365fff;font-size:11px;font-weight:800;letter-spacing:.14em}
.ng-directory-intro h1{margin:0 0 12px;color:#17264a;font-size:clamp(27px,3vw,38px);line-height:1.15;letter-spacing:-.035em}
.ng-directory-intro>p:not(.ng-directory-eyebrow){margin:0 auto 22px;max-width:680px;color:#71809a;font-size:15px;line-height:1.7}
.ng-directory-search{display:flex;align-items:center;gap:10px;width:min(100%,680px);min-height:54px;margin:0 auto;padding:5px 8px 5px 16px;border:1px solid #dce5f5;border-radius:13px;background:#fff;box-shadow:0 8px 24px rgba(31,61,120,.06)}
.ng-directory-search-icon{color:#71809a;font-size:23px;line-height:1}
.ng-directory-search input{flex:1;min-width:0;border:0!important;outline:0!important;box-shadow:none!important;background:transparent!important;color:#17264a;font-size:14px}
.ng-directory-search-count{color:#71809a;font-size:12px;white-space:nowrap}
.ng-directory-category-index{display:flex;flex-wrap:wrap;justify-content:center;gap:8px;margin:0 0 30px}
.ng-directory-category-index a{display:inline-flex;padding:8px 13px;border:1px solid #e2e9f5;border-radius:999px;background:#f8faff;color:#34476a;font-size:12px;font-weight:600;text-decoration:none;transition:all .18s ease}
.ng-directory-category-index a:hover,.ng-directory-category-index a:focus{border-color:#365fff;background:#eef3ff;color:#244fe5}
.ng-directory-category-list{display:grid;grid-template-columns:1fr;gap:22px}
.ng-directory-category{min-width:0;padding:23px 25px 20px;border:1px solid #e5ebf5;border-radius:16px;background:#fff;box-shadow:0 5px 18px rgba(27,53,100,.035);scroll-margin-top:100px}
.ng-directory-category-header{display:block;margin-bottom:16px}
.ng-directory-category-heading-row{display:flex;align-items:center;justify-content:space-between;gap:18px}
.ng-directory-category-header h2{margin:0;color:#17264a;font-size:21px;line-height:1.25}
.ng-directory-category-header h2 a{color:inherit;text-decoration:none}
.ng-directory-category-header h2 a:hover{color:#365fff}

.ng-directory-category-description{margin-top:10px;color:#74819a;font-size:13px;line-height:1.6}
.ng-directory-category-count{flex:0 0 auto;padding:6px 10px;border-radius:999px;background:#f0f4ff;color:#365fff;font-size:11px;font-weight:700;white-space:nowrap}
.ng-directory-calculator-grid{display:grid;grid-template-columns:repeat(var(--ng-directory-columns,3),minmax(0,1fr));gap:8px 14px;margin:0!important;padding:0!important;list-style:none!important}
.ng-directory-calculator-grid li{min-width:0;margin:0!important;padding:0!important;list-style:none!important}
.ng-directory-calculator-grid a{display:flex;align-items:center;justify-content:space-between;gap:10px;min-height:40px;padding:9px 11px;border-radius:9px;background:#f7f9fd;color:#334563;font-size:13px;line-height:1.35;text-decoration:none;transition:background .18s ease,color .18s ease}
.ng-directory-calculator-grid a:hover,.ng-directory-calculator-grid a:focus{background:#edf2ff;color:#244fe5}
.ng-directory-calculator-grid a span{min-width:0}
.ng-directory-calculator-grid a b{flex:0 0 auto;color:#7890c8;font-size:12px}
.ng-directory-empty-category{margin:0;padding:13px 15px;border:1px dashed #dbe4f3;border-radius:9px;color:#74819a;font-size:13px}
.ng-directory-empty,.ng-directory-notice{padding:25px;border:1px dashed #dbe4f3;border-radius:14px;background:#fafcff;text-align:center}
.ng-directory-empty h3{margin:0 0 7px;color:#17264a}
.ng-directory-empty p,.ng-directory-notice p{margin:0;color:#74819a}
.ng-directory-no-results{margin:22px 0;padding:18px;border-radius:10px;background:#f7f9fd;color:#63738e;text-align:center}
.ng-directory-suggest{display:flex;align-items:center;gap:18px;margin:38px 0 8px;padding:25px 28px;border:1px solid #e1e9f8;border-radius:16px;background:linear-gradient(110deg,#f5f8ff 0%,#fff 100%)}
.ng-directory-suggest-mark{display:grid;flex:0 0 42px;width:42px;height:42px;place-items:center;border-radius:12px;background:#e9efff;color:#365fff;font-size:25px;font-weight:500}
.ng-directory-suggest-copy{flex:1;min-width:0}
.ng-directory-suggest-copy h2{margin:0 0 5px;color:#17264a;font-size:21px;line-height:1.25}
.ng-directory-suggest-copy p{margin:0;color:#71809a;font-size:14px;line-height:1.6}
.ng-directory-suggest-copy p a{color:#365fff;font-weight:700;text-decoration:none}
.ng-directory-suggest-copy p a:hover{text-decoration:underline}
.ng-directory-suggest-button{display:inline-flex;align-items:center;justify-content:center;gap:10px;flex:0 0 auto;padding:12px 17px;border-radius:9px;background:#365fff;color:#fff!important;font-size:13px;font-weight:700;text-decoration:none!important;transition:background .18s ease}
.ng-directory-suggest-button:hover,.ng-directory-suggest-button:focus{background:#244fe5}
@media(max-width:900px){.ng-directory-calculator-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:640px){.ng-directory-category{padding:18px 16px}.ng-directory-category-header{gap:10px}.ng-directory-category-header h2{font-size:18px}.ng-directory-calculator-grid{grid-template-columns:1fr}.ng-directory-suggest{align-items:flex-start;flex-wrap:wrap;padding:20px}.ng-directory-suggest-copy{flex:1 1 calc(100% - 60px)}.ng-directory-suggest-button{width:100%}.ng-directory-search{min-height:50px}}

/* All Calculators heading hierarchy and configurable link columns. */
.ng-directory-intro h1{margin:0 0 12px;color:#17264a;font-size:clamp(27px,3vw,38px);line-height:1.15;letter-spacing:-.035em}
.ng-directory-category-header h2{margin:0;color:#17264a;font-size:21px;line-height:1.25}
.ng-directory-category-header h2 a{color:inherit;text-decoration:none}
.ng-directory-category-header h2 a:hover{color:#365fff}
@media(max-width:900px){.ng-directory-calculator-grid{grid-template-columns:repeat(min(var(--ng-directory-columns,3),2),minmax(0,1fr))}}
@media(max-width:560px){.ng-directory-calculator-grid{grid-template-columns:1fr}}

/* Related calculator interaction: only the title link receives pointer events. */
.ng-theme-related-card{pointer-events:none!important}
.ng-theme-related-card .ng-theme-related-title-link{pointer-events:auto!important;position:relative;z-index:2;display:inline-block}
.ng-theme-related-card .ng-theme-related-title{pointer-events:none}

/* NUMGRAM Header Customization 1.9.1 */
.site-header{transition:min-height .2s ease,background-color .2s ease,box-shadow .2s ease}.site-header .header-inner{position:relative}.site-header.is-compact{min-height:60px}.site-header.is-compact .site-branding .custom-logo{width:min(170px,100%)}.site-header.is-compact .header-inner{min-height:60px}.primary-navigation a{transition:color .18s ease}.menu-toggle{cursor:pointer;z-index:1002;position:relative}.menu-toggle:focus-visible,.primary-navigation a:focus-visible{outline:2px solid var(--ng-header-hover,#2563eb);outline-offset:4px;border-radius:3px}.site-header.ng-sticky-enabled{position:sticky;top:0}.site-header:not(.ng-sticky-enabled){position:relative}.ng-header-layout-centered .menu-toggle{position:absolute;right:0;top:50%;transform:translateY(-50%)}@media(max-width:800px){.site-header .header-inner{display:flex;justify-content:space-between;align-items:center}.site-header.ng-mobile-logo-center .site-branding{position:absolute;left:50%;transform:translateX(-50%);margin:0}.site-header.ng-mobile-logo-center .menu-toggle{margin-left:auto}.primary-navigation{z-index:1001}.primary-navigation.is-open{display:flex}.site-header.ng-header-layout-logo-left-nav-center .primary-navigation{top:100%}.site-header.ng-header-layout-centered .menu-toggle{top:50%;right:0}.site-header.is-compact .site-branding .custom-logo{width:min(120px,100%)}}@media(prefers-reduced-motion:reduce){.site-header,.primary-navigation,.primary-navigation a{transition:none!important}}

.custom-mobile-logo{display:none}.custom-mobile-logo img{display:block;width:100%;height:auto;max-height:56px;object-fit:contain}.ng-header-cta{display:inline-flex;align-items:center;justify-content:center;padding:9px 15px;border-radius:9px;background:#2563eb;color:#fff!important;font-size:13px!important;font-weight:700!important;white-space:nowrap}.ng-header-cta:hover{background:#1d4ed8;color:#fff!important}@media(max-width:800px){.custom-mobile-logo{display:block}.custom-mobile-logo img{width:min(140px,100%)}.site-branding>a.custom-logo-link{display:block}.site-branding.has-mobile-logo .custom-logo-link{display:none}.ng-header-cta{align-self:flex-start}}

.site-branding.has-mobile-logo .wordmark{display:none}


/* NUMGRAM 1.9.3 — homepage cards use text-only links */
.ng-home-category-card,
.ng-home-tool-card{
  cursor:default;
}
.ng-home-category-card:hover,
.ng-home-tool-card:hover{
  transform:none;
  border-color:#e3eaf4;
  box-shadow:none;
  color:#17284c;
}
.ng-home-category-title{
  display:block;
  position:relative;
  padding:0 65px 0 0;
  color:#17284c;
  text-decoration:none;
}
.ng-home-category-title:hover,
.ng-home-category-title:focus-visible{
  color:#315efb;
  text-decoration:none;
}
.ng-home-category-title:hover > strong,
.ng-home-category-title:focus-visible > strong{
  color:#315efb;
  text-decoration:none;
}
.ng-home-category-title>strong{
  display:block;
  margin:0;
  font-size:17px;
  line-height:1.35;
}
.ng-home-category-meta{
  pointer-events:none;
}
.ng-home-category-link{
  display:inline-flex;
  align-items:center;
  justify-content:flex-start;
  gap:7px;
  width:max-content;
  max-width:100%;
  text-decoration:none;
}
.ng-home-category-link:hover,
.ng-home-category-link:focus-visible{
  text-decoration:underline;
  text-underline-offset:3px;
}
.ng-home-tool-title{
  display:block;
  margin-top:9px;
  color:#17284c;
  text-decoration:none;
}
.ng-home-tool-title>strong{
  display:block;
  margin:0;
  font-size:15px;
  line-height:1.35;
}
.ng-home-tool-title:hover,
.ng-home-tool-title:focus-visible{
  color:#315efb;
  text-decoration:underline;
  text-underline-offset:3px;
}
.ng-home-tool-card p{
  margin:8px 0 0;
}
.ng-home-tools-head>a{
  text-decoration:none;
}
.ng-home-tools-head>a:hover,
.ng-home-tools-head>a:focus-visible{
  text-decoration:underline;
  text-underline-offset:3px;
}


/* NUMGRAM 1.9.4 — calculator search and archive results */
.ng-search-calculator-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}
.ng-search-calculator-card{min-width:0;padding:22px;border:1px solid #dce5f2;border-radius:16px;background:#fff}
.ng-search-calculator-card h2,.tool-card-title{margin:0 0 10px;font-size:18px;line-height:1.35}
.ng-search-calculator-card h2 a,.tool-card-title a{color:inherit;text-decoration:none}
.ng-search-calculator-card h2 a:hover,.tool-card-title a:hover{color:var(--ng-blue,#315cff);text-decoration:underline}
.ng-search-calculator-card p{margin:0;color:#64748b;line-height:1.65}
.ng-calculator-archive .tool-card{display:block}
.ng-calculator-pagination{margin:28px 0}
.ng-calculator-pagination .page-numbers{display:flex;flex-wrap:wrap;gap:8px;list-style:none;margin:0;padding:0}
.ng-calculator-pagination .page-numbers a,.ng-calculator-pagination .page-numbers span{display:inline-flex;align-items:center;justify-content:center;min-width:38px;min-height:38px;padding:6px 11px;border:1px solid #dce5f2;border-radius:8px;text-decoration:none}
.ng-calculator-pagination .page-numbers .current{background:#315cff;color:#fff;border-color:#315cff}
.ng-search-no-results{padding:28px;border:1px solid #dce5f2;border-radius:16px}
@media(max-width:900px){.ng-search-calculator-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:600px){.ng-search-calculator-grid{grid-template-columns:1fr}}

/* NUMGRAM 1.9.5: calculator search cards and 404 recovery page */
.ng-results-search{margin-top:22px;max-width:650px}
.ng-search-calculator-grid{grid-template-columns:repeat(4,minmax(0,1fr));margin-top:24px}
.ng-search-calculator-card{min-height:170px;display:flex;flex-direction:column;gap:9px}
.ng-search-calculator-card .tool-card-title{margin:0}
.ng-search-calculator-card .tool-card-title a{color:var(--ng-ink);text-decoration:none}
.ng-search-calculator-card .tool-card-title a:hover{color:var(--ng-blue);text-decoration:underline}
.ng-search-calculator-card p{margin:0;color:var(--ng-muted);font-size:13px;line-height:1.6}
.ng-404{max-width:1120px;padding-top:72px;padding-bottom:78px}
.ng-404-intro{text-align:center;max-width:760px;margin:0 auto 56px}
.ng-404-intro h1{font-size:clamp(36px,5vw,58px);line-height:1.12;letter-spacing:-1.8px;margin:14px 0}
.ng-404-intro>p{color:var(--ng-muted);font-size:16px;line-height:1.65;margin:0 auto 24px;max-width:650px}
.ng-404-search{margin:0 auto;text-align:left}
.ng-404-popular .ng-home-section-head{display:flex;justify-content:space-between;align-items:end;gap:20px;margin-bottom:22px}
.ng-404-popular .ng-home-section-head h2{margin:7px 0 0;font-size:30px;letter-spacing:-1px}
.ng-404-popular .ng-home-section-head>a{color:var(--ng-blue);font-weight:700;text-decoration:none;white-space:nowrap}
.ng-404-tool-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
.ng-404 .ng-home-tool-card{min-width:0}
.ng-404 .ng-home-tool-title{display:inline-block;color:var(--ng-ink);text-decoration:none}
.ng-404 .ng-home-tool-title:hover{color:var(--ng-blue);text-decoration:underline}
.ng-404 .ng-home-tool-card p{color:var(--ng-muted);line-height:1.6}
.ng-404-home-link{text-align:center;margin-top:36px}
.ng-404-home-link a{color:var(--ng-blue);font-weight:650}
@media(max-width:900px){.ng-search-calculator-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.ng-404-tool-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:600px){.ng-search-calculator-grid,.ng-404-tool-grid{grid-template-columns:1fr}.ng-404{padding-top:48px;padding-bottom:52px}.ng-404-popular .ng-home-section-head{align-items:flex-start;flex-direction:column}.ng-404-search{gap:8px}.ng-404-search button{padding:0 12px}}


/* Numgram 1.9.6 — four-column footer widget layout */
.site-footer .footer-inner{
 display:grid;
 grid-template-columns:1.15fr 1.35fr 1fr 1fr;
 align-items:start;
 gap:36px;
}
.site-footer .ng-footer-widget-area{min-width:0;}
.site-footer .ng-footer-widget-area .widget{min-width:0;margin:0;}
.site-footer .ng-footer-widget-area .widget-title,
.site-footer .ng-footer-widget-area h3{
 margin:0 0 16px;
 font-size:15px;
 line-height:1.4;
 font-weight:700;
 color:var(--ng-ink);
}
/* Footer widget lists must be vertical; the primary/footer menu may remain horizontal. */
.site-footer .ng-footer-widget-area ul{
 display:block;
 list-style:none;
 margin:0;
 padding:0;
}
.site-footer .ng-footer-widget-area ul li{
 display:block;
 margin:0 0 9px;
 padding:0;
 line-height:1.55;
 font-size:13px;
}
.site-footer .ng-footer-widget-area a{
 color:#52627b;
 text-decoration:none;
}
.site-footer .ng-footer-widget-area a:hover{color:var(--ng-blue);text-decoration:underline;}
.site-footer .footer-brand p{margin:7px 0 0;font-size:14px;}
.site-footer .footer-menu{grid-column:1/-1;justify-self:start;}
.site-footer .footer-menu .menu{display:flex;flex-wrap:wrap;gap:10px 18px;}
.site-footer .copyright{grid-column:1/-1;margin:12px 0 0;padding-top:20px;border-top:1px solid var(--ng-line);}
@media(max-width:900px){
 .site-footer .footer-inner{grid-template-columns:repeat(2,minmax(0,1fr));gap:28px;}
}
@media(max-width:600px){
 .site-footer .footer-inner{grid-template-columns:1fr;gap:24px;}
 .site-footer .footer-menu,.site-footer .copyright{grid-column:auto;}
}


/* Numgram 1.9.9 — homepage typography, semantic category headings and upcoming sections. */
.ng-home-section-head h2{font-size:clamp(30px,3.7vw,39px);line-height:1.18;letter-spacing:-1.15px}
.ng-home-section-head p{font-size:16px;line-height:1.65}
.ng-home-kicker{font-size:11px;letter-spacing:1.7px}
.ng-home-category-title{color:#17284c;text-decoration:none}
.ng-home-category-title:hover,.ng-home-category-title:focus-visible,
.ng-home-category-title:hover h3,.ng-home-category-title:focus-visible h3{color:#17284c;text-decoration:none}
.ng-home-category-title h3{display:block;margin:0;color:#17284c;font-size:20px;line-height:1.35;font-weight:750;transition:none}
.ng-home-category-meta{font-size:12px}
.ng-home-category-links{gap:9px}
.ng-home-category-links a{font-size:15px;line-height:1.55;text-decoration:none}
.ng-home-category-links a:hover{color:#315efb;text-decoration:underline}
.ng-home-category-link{font-size:13px}
.ng-home-tool-card>strong,.ng-home-tool-title strong{font-size:18px;line-height:1.4}
.ng-home-tool-card p{font-size:14px;line-height:1.6}
.ng-home-tool-card>span:last-child{font-size:13px}
.ng-home-trust{font-size:13px}
.ng-home-copy>p{font-size:19px}
.ng-home-search input{font-size:16px}
.ng-home-search button{font-size:14px}
.ng-home-new-card .ng-home-new-date{display:block;margin-top:auto;color:#315efb;font-size:13px;font-weight:700}
.ng-home-upcoming-grid{grid-template-columns:repeat(4,minmax(0,1fr))}
.ng-home-upcoming-card{min-height:145px;cursor:default}
.ng-home-upcoming-card h3{margin:12px 0 7px;color:#17284c;font-size:18px;line-height:1.4;font-weight:750}
.ng-home-upcoming-card p{margin:0;color:#748198;font-size:14px}
.ng-home-upcoming-mark{display:grid;place-items:center;width:30px;height:30px;border-radius:9px;background:#eff3ff;color:#315efb;font-size:20px;font-weight:600}
@media(max-width:1000px){.ng-home-upcoming-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:600px){.ng-home-section-head h2{font-size:29px}.ng-home-section-head p{font-size:15px}.ng-home-category-title h3{font-size:19px}.ng-home-category-links a{font-size:15px}.ng-home-upcoming-grid{grid-template-columns:1fr}.ng-home-tool-card>strong,.ng-home-tool-title strong{font-size:17px}}


/* Numgram 1.10.0 — requested homepage presentation refinements. */
.ng-home-category-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;min-width:0;margin:0 0 14px}
.ng-home-category-title{display:block;min-width:0;flex:1;padding:0!important;color:#17284c!important;text-decoration:none!important}
.ng-home-category-title:hover,.ng-home-category-title:focus,.ng-home-category-title:focus-visible,.ng-home-category-title:hover h3,.ng-home-category-title:focus-visible h3{color:#17284c!important;text-decoration:none!important}
.ng-home-category-title h3{display:block;margin:0;color:#17284c!important;font-size:20px;line-height:1.35;font-weight:750;text-decoration:none!important}
.ng-home-category-meta{position:static!important;flex:0 0 auto;padding-top:4px;color:#8a97aa!important;font-size:12px;white-space:nowrap}
.ng-home-new-card .ng-home-tool-arrow,.ng-home-new-card .ng-home-new-date{display:none!important}
.ng-home-new .ng-home-section-head a{display:none!important}
.ng-home-new-card{gap:9px}
.ng-home-new-card .ng-home-tool-title{margin-top:0}
.ng-home-new-card p{margin-bottom:0}
.ng-home-upcoming-card{cursor:default}
.ng-home-upcoming-card h3{margin:0 0 8px}
.ng-home-upcoming-card p{margin:0!important;color:#748198;font-size:14px;line-height:1.6}
.ng-home-upcoming-mark{display:none!important}
@media(max-width:600px){.ng-home-category-title h3{font-size:19px}.ng-home-category-heading{gap:8px}.ng-home-category-meta{font-size:11px}}

/* Numgram 1.10.1 — ensure category heading styles are refreshed and remain neutral on hover. */
.ng-home-category-heading{
  display:flex!important;
  align-items:center!important;
  justify-content:space-between!important;
  gap:12px!important;
}
.ng-home-category-title,
.ng-home-category-title:link,
.ng-home-category-title:visited,
.ng-home-category-title:hover,
.ng-home-category-title:focus,
.ng-home-category-title:focus-visible,
.ng-home-category-title h3,
.ng-home-category-title:hover h3,
.ng-home-category-title:focus h3,
.ng-home-category-title:focus-visible h3,
.ng-home-category-heading a,
.ng-home-category-heading a:hover,
.ng-home-category-heading a:focus,
.ng-home-category-heading a:focus-visible{
  color:#17284c!important;
  text-decoration:none!important;
  text-decoration-line:none!important;
}
.ng-home-category-title h3{
  margin:0!important;
}
.ng-home-category-meta{
  flex:0 0 auto!important;
  align-self:center!important;
  white-space:nowrap!important;
}


/* Numgram 1.10.2 — cohesive homepage typography, section rhythm and color system. */

/* Category cards: retain the established H3 scale; make calculator links easier to scan. */
.ng-home-category-title h3{
  font-size:20px!important;
  line-height:1.35!important;
}
.ng-home-category-links{
  gap:10px!important;
}
.ng-home-category-links a{
  font-size:17px!important;
  line-height:1.55!important;
  color:#64748b!important;
  text-decoration:none!important;
}
.ng-home-category-links a:hover,
.ng-home-category-links a:focus-visible{
  color:#315efb!important;
  text-decoration:none!important;
}

/* Larger section labels and headings; preserve supporting-description size. */
.ng-home-kicker{
  font-size:13px!important;
  letter-spacing:1.8px!important;
  line-height:1.4!important;
}
.ng-home-section-head h2{
  font-size:clamp(34px,4vw,43px)!important;
  line-height:1.16!important;
  letter-spacing:-1.25px!important;
}
.ng-home-section-head p{
  font-size:16px!important;
  line-height:1.65!important;
}

/* Consistent full-bleed section bands and subtle separators. */
.ng-home-section{
  position:relative;
  z-index:0;
  box-sizing:border-box;
  padding-top:82px!important;
  padding-bottom:82px!important;
  border-top:1px solid #e8edf6;
  background:#fff;
  box-shadow:0 0 0 100vmax #fff;
  clip-path:inset(0 -100vmax);
}
.ng-home-section::before{
  content:"";
  position:absolute;
  z-index:-1;
  top:0;
  left:50%;
  width:100vw;
  height:1px;
  transform:translateX(-50%);
  background:#e8edf6;
  pointer-events:none;
}
.ng-home-categories{
  background:#fff;
  box-shadow:0 0 0 100vmax #fff;
}
.ng-home-new{
  background:#f2f6ff;
  box-shadow:0 0 0 100vmax #f2f6ff;
}
.ng-home-upcoming{
  background:#fff;
  box-shadow:0 0 0 100vmax #fff;
}
.ng-home-tools{
  padding-top:82px!important;
  background:#f2f6ff;
  box-shadow:0 0 0 100vmax #f2f6ff;
}

/* Refined card treatment across the alternating section backgrounds. */
.ng-home-new-card,
.ng-home-upcoming-card,
.ng-home-tools .ng-home-tool-card{
  background:#fff;
  border-color:#e0e8f5;
  box-shadow:0 7px 22px rgba(24,48,91,.045);
}
.ng-home-new-card:hover,
.ng-home-tools .ng-home-tool-card:hover{
  box-shadow:0 15px 32px rgba(24,48,91,.09);
}
.ng-home-upcoming-card{
  min-height:160px;
}

/* Strong, accessible closing statement on Numgram blue. */
.ng-home-bottom{
  position:relative;
  z-index:0;
  padding:82px 24px!important;
  color:#fff;
  background:#315efb;
  box-shadow:0 0 0 100vmax #315efb;
  clip-path:inset(0 -100vmax);
  border-top:1px solid rgba(255,255,255,.18);
}
.ng-home-bottom .ng-home-kicker{
  color:#dce5ff!important;
}
.ng-home-bottom .ng-home-kicker i{
  background:#fff!important;
  box-shadow:0 0 0 4px rgba(255,255,255,.16)!important;
}
.ng-home-bottom h2{
  color:#fff!important;
  font-size:clamp(38px,5vw,56px)!important;
  line-height:1.08!important;
}
.ng-home-bottom h2 em{
  color:#dce5ff!important;
}
.ng-home-bottom p{
  color:#edf2ff!important;
  font-size:16px!important;
  line-height:1.75!important;
}

/* Responsive spacing and readable category links. */
@media(max-width:700px){
  .ng-home-section,
  .ng-home-tools{
    padding-top:58px!important;
    padding-bottom:58px!important;
  }
  .ng-home-section-head h2{
    font-size:clamp(30px,6vw,36px)!important;
  }
  .ng-home-kicker{
    font-size:12px!important;
  }
  .ng-home-category-links a{
    font-size:16px!important;
  }
  .ng-home-bottom{
    padding:62px 20px!important;
  }
}
@media(max-width:460px){
  .ng-home-section,
  .ng-home-tools{
    padding-top:48px!important;
    padding-bottom:48px!important;
  }
  .ng-home-category-links a{
    font-size:16px!important;
  }
}


/* Numgram 1.10.4 — category card tint and semantic calculator-name headings. */
.ng-home-category-card{
  background:#f2f6ff!important;
}
.ng-home-category-card:hover{
  background:#f2f6ff!important;
}

/* Calculator names in New, Upcoming and Useful sections are all semantic H3s. */
.ng-home-calculator-name{
  display:block;
  margin:9px 0 0!important;
  padding:0;
  color:#17284c;
  font-size:18px!important;
  font-weight:750!important;
  line-height:1.4!important;
}
.ng-home-calculator-name .ng-home-tool-title,
.ng-home-calculator-name a{
  color:inherit;
  font:inherit;
  text-decoration:none;
}
.ng-home-calculator-name a:hover,
.ng-home-calculator-name a:focus-visible{
  color:#315efb;
  text-decoration:none;
}
.ng-home-upcoming-card .ng-home-calculator-name,
.ng-home-upcoming-card h3{
  margin:0 0 8px!important;
}
.ng-home-new-card .ng-home-calculator-name{
  margin-top:0!important;
}


/* Numgram 1.10.5 — editable homepage hero image. */
.ng-home-visual--custom-image{min-height:0;display:flex;align-items:center;justify-content:center;}
.ng-home-hero-image{display:block;width:100%;max-width:560px;height:auto;max-height:520px;object-fit:contain;border:0;border-radius:0;box-shadow:none;}
@media(max-width:700px){.ng-home-visual--custom-image{min-height:0;margin-top:8px}.ng-home-hero-image{max-width:min(100%,480px);max-height:360px}}

/* All Calculators directory category heading alignment */
.ng-directory-category-heading-row h2{min-width:0}
@media(max-width:520px){.ng-directory-category-heading-row{gap:10px;align-items:flex-start}.ng-directory-category-count{margin-top:2px}}

/* Per-calculator descriptions in the All Calculators directory */
.ng-directory-calculator-grid li a{display:flex;flex-direction:column;align-items:flex-start;gap:4px}
.ng-directory-calculator-grid li a small{display:block;color:var(--ng-muted,#68758a);font-size:.88em;line-height:1.45;font-weight:400}
.ng-directory-calculator-grid li a b{align-self:flex-end}


/* Numgram 1.10.9 — full-tile links on the All Calculators directory.
   Each calculator tile is clickable; category containers remain non-clickable. */
.ng-directory-calculator-grid li{display:flex;min-width:0}
.ng-directory-calculator-grid li>a{box-sizing:border-box;display:flex;flex:1 1 auto;width:100%;min-height:100%;align-items:center;justify-content:space-between}


/* Numgram 1.10.10: homepage category links must use sentence case. */
.ng-home-category-link{text-transform:none!important}


/* Numgram 1.10.10: calculator links fill their individual directory tiles. */
.ng-directory-calculator-grid{align-items:stretch}
.ng-directory-calculator-grid>li{display:flex;align-items:stretch;min-width:0}
.ng-directory-calculator-grid>li>a{box-sizing:border-box;display:flex;flex:1 1 auto;width:100%;height:100%;min-height:64px;align-items:center;justify-content:space-between;padding:12px 14px}


/* Numgram 1.10.11: restore horizontal layout and make each calculator
   directory tile's anchor occupy the complete grid cell. This overrides
   the earlier per-calculator-description column layout. */
.ng-directory-calculator-grid{align-items:stretch!important}
.ng-directory-calculator-grid>li{display:flex!important;align-items:stretch!important;min-width:0!important}
.ng-directory-calculator-grid>li>a{
  box-sizing:border-box!important;
  display:flex!important;
  flex-direction:row!important;
  align-items:center!important;
  justify-content:space-between!important;
  flex:1 1 100%!important;
  width:100%!important;
  height:100%!important;
  min-height:48px!important;
  padding:12px 14px!important;
  text-align:left!important;
}
.ng-directory-calculator-grid>li>a>span{flex:1 1 auto!important;text-align:left!important}
.ng-directory-calculator-grid>li>a>b{flex:0 0 auto!important;align-self:center!important}


/* Numgram 1.10.14 — prevent mobile homepage category cards from exceeding their grid track.
   The single-column 1fr track had an automatic min-content minimum, allowing
   long category headings to expand the card beyond the available viewport. */
@media(max-width:600px){
  .ng-home-category-grid{
    grid-template-columns:minmax(0,1fr)!important;
    width:100%;
    min-width:0;
  }
  .ng-home-category-grid>.ng-home-category-card{
    box-sizing:border-box;
    width:100%;
    min-width:0;
  }
  .ng-home-category-heading{
    box-sizing:border-box;
    width:100%;
    min-width:0;
  }
  .ng-home-category-title{
    flex:1 1 auto;
    min-width:0;
  }
  .ng-home-category-title h3{
    overflow-wrap:anywhere;
  }
}


/* Numgram 1.10.17 — unified calculator-page alignment and compact above-the-fold layout. */
@media (min-width: 801px){
  .site-header .container.header-inner{width:min(1320px,calc(100% - 48px));max-width:1320px}
}
.ng-page-container{width:min(1320px,calc(100% - 48px));max-width:1320px;margin-inline:auto}
.ng-calculator-page .breadcrumbs{padding-top:12px;margin:0}
.ng-calculator-heading{width:100%;max-width:1320px;margin:15px auto 20px;text-align:left}
.ng-calculator-heading h1{margin:0 0 6px;text-align:left;font-size:clamp(34px,3.5vw,46px);line-height:1.12;letter-spacing:-1.7px}
.ng-calculator-heading>p{max-width:900px;margin:0;text-align:left;font-size:15px;line-height:1.55}
.ng-calculator-byline{margin-top:7px;text-align:left;font-size:12px}
.ng-calculator-byline a{color:#315efb;text-decoration:none;font-weight:650}
.ng-calculator-byline a:hover{text-decoration:underline;text-underline-offset:3px}
.ng-calculator-stage{width:min(1320px,calc(100% - 48px));max-width:1320px;margin:0 auto}
@media(max-width:800px){
  .site-header .container.header-inner{width:calc(100% - 28px)}
  .ng-page-container,.ng-calculator-stage{width:calc(100% - 28px)}
  .ng-calculator-heading{margin:13px auto 17px}
  .ng-calculator-heading h1{font-size:clamp(30px,8vw,38px);letter-spacing:-1.1px}
  .ng-calculator-heading>p{font-size:14px}
}


/* 1.10.18: consistent, bounded site container aligned with the calculator workspace. */
@media (min-width: 801px) {
  .site-header .container.header-inner,
  .ng-page-container,
  .ng-calculator-stage,
  .ng-page-shell--none {
    width: min(1160px, calc(100% - 48px)) !important;
    max-width: 1160px !important;
    margin-left: auto !important;
    margin-right: auto !important;
  }
  .ng-calculator-heading {
    width: 100%;
    max-width: 1160px;
    margin-left: auto;
    margin-right: auto;
    text-align: left;
  }
}
@media (max-width: 800px) {
  .site-header .container.header-inner,
  .ng-page-container,
  .ng-calculator-stage,
  .ng-page-shell--none {
    width: calc(100% - 28px) !important;
    max-width: none !important;
  }
}

/* Placement 1: align the ad wrapper with the main page content column. */
.ng-ad-before-intro-container{width:min(1320px,calc(100% - 48px));max-width:1320px;margin-inline:auto;min-width:0;box-sizing:border-box;}
.ng-ad-before-intro-container>.ng-ad-before-intro{width:100%;max-width:100%;min-width:0;box-sizing:border-box;}
.ng-ad-before-intro-container .ng-ad-content{max-width:100%;min-width:0;box-sizing:border-box;}
@media(max-width:640px){.ng-ad-before-intro-container{width:calc(100% - 28px);}}
