/*
Theme Name: NZ Webz Directory Child
Theme URI: https://nzwebz.co.nz
Description: Corporate blue/green SEO-ready child theme for NZ Webz, a curated New Zealand website discovery directory built on the PremiumPress Directory Theme parent.
Author: NZ Webz
Author URI: https://nzwebz.co.nz
Template: DT10
Version: 3.7.0
Text Domain: nzwebz
*/

:root{
  --nz-blue:#2563EB; --nz-blue-dark:#1D4ED8; --nz-green:#00A676; --nz-green-dark:#00875f;
  --nz-bg:#F8FAFC; --nz-surface:#FFFFFF; --nz-text:#111827; --nz-muted:#64748B;
  --nz-border:#E5E7EB; --nz-soft:#EFF6FF; --nz-soft-green:#EAFBF4; --nz-shadow:0 18px 50px rgba(15,23,42,.08);
}
*{box-sizing:border-box} body{margin:0;background:var(--nz-bg);color:var(--nz-text);font-family:Inter,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;line-height:1.55} img{max-width:100%;height:auto} a{color:var(--nz-blue);text-decoration:none} a:hover{text-decoration:underline}.nz-wrap{max-width:1180px;margin:0 auto;padding:0 20px}.nz-mini{max-width:880px}.nz-topbar{background:#0F172A;color:#fff;font-size:14px}.nz-topbar .nz-wrap{display:flex;justify-content:space-between;gap:18px;padding-top:9px;padding-bottom:9px}.nz-header{position:sticky;top:0;z-index:999;background:rgba(255,255,255,.94);backdrop-filter:blur(16px);border-bottom:1px solid var(--nz-border)}.nz-header-inner{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:15px 20px}.nz-logo{display:flex;align-items:center;gap:10px;font-size:24px;font-weight:900;letter-spacing:-.04em;color:var(--nz-text)}.nz-logo-mark{width:38px;height:38px;border-radius:12px;background:linear-gradient(135deg,var(--nz-blue),var(--nz-green));display:grid;place-items:center;color:#fff;font-weight:900}.nz-nav{display:flex;align-items:center;gap:18px}.nz-nav a{font-weight:750;color:#334155}.nz-menu-toggle{display:none;background:#fff;border:1px solid var(--nz-border);border-radius:12px;padding:10px 12px;font-weight:800}.nz-btn{display:inline-flex;align-items:center;justify-content:center;border:0;border-radius:999px;padding:13px 18px;font-weight:850;text-decoration:none!important;background:var(--nz-blue);color:#fff!important;box-shadow:0 12px 26px rgba(37,99,235,.20);cursor:pointer}.nz-btn:hover{background:var(--nz-blue-dark)}.nz-btn.green{background:var(--nz-green);box-shadow:0 12px 26px rgba(0,166,118,.20)}.nz-btn.green:hover{background:var(--nz-green-dark)}.nz-btn.light{background:#fff;color:var(--nz-text)!important;border:1px solid var(--nz-border);box-shadow:none}.nz-btn.small{padding:10px 13px;font-size:14px}.nz-hero{padding:84px 0 60px;background:radial-gradient(circle at 20% 0%,#DBEAFE 0,transparent 34%),radial-gradient(circle at 85% 15%,#D1FAE5 0,transparent 32%),linear-gradient(135deg,#fff 0%,#F8FAFC 100%);border-bottom:1px solid var(--nz-border);overflow:hidden}.nz-eyebrow{display:inline-flex;align-items:center;gap:8px;border:1px solid #BFDBFE;background:#EFF6FF;color:#1D4ED8;border-radius:999px;padding:8px 12px;font-weight:850;font-size:14px;margin-bottom:18px}.nz-hero h1{font-size:clamp(42px,6vw,72px);line-height:1.02;margin:0 0 18px;font-weight:950;letter-spacing:-.055em;max-width:980px}.nz-hero p{font-size:clamp(18px,2vw,22px);color:var(--nz-muted);max-width:850px;margin:0 0 26px}.nz-search{display:grid;grid-template-columns:1fr 220px 180px auto;gap:10px;background:#fff;padding:12px;border:1px solid var(--nz-border);border-radius:26px;box-shadow:var(--nz-shadow);max-width:1030px}.nz-search input,.nz-search select{width:100%;border:1px solid var(--nz-border);border-radius:18px;padding:15px 16px;background:#fff;color:var(--nz-text);font-size:15px}.nz-trust{display:flex;flex-wrap:wrap;gap:10px;margin-top:20px}.nz-pill{display:inline-flex;align-items:center;border-radius:999px;background:#F1F5F9;color:#334155;font-size:13px;font-weight:850;padding:8px 11px}.nz-pill.blue{background:#EFF6FF;color:#1D4ED8}.nz-pill.green,.nz-pill.premium{background:#EAFBF4;color:#047857}.nz-pill.platinum{background:#F5F3FF;color:#6D28D9}.nz-section{padding:58px 0}.nz-section.white{background:#fff;border-top:1px solid var(--nz-border);border-bottom:1px solid var(--nz-border)}.nz-section-head{display:flex;align-items:end;justify-content:space-between;gap:16px;margin-bottom:24px}.nz-section h2,.nz-page h1{font-size:clamp(28px,4vw,44px);line-height:1.1;margin:0;font-weight:950;letter-spacing:-.04em}.nz-section p.lead{color:var(--nz-muted);font-size:18px;max-width:780px;margin:9px 0 0}.nz-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}.nz-grid.four{grid-template-columns:repeat(4,minmax(0,1fr))}.nz-grid.two{grid-template-columns:repeat(2,minmax(0,1fr))}.nz-card{background:var(--nz-surface);border:1px solid var(--nz-border);border-radius:26px;padding:22px;box-shadow:var(--nz-shadow);transition:transform .18s ease,box-shadow .18s ease}.nz-card:hover{transform:translateY(-2px);box-shadow:0 24px 70px rgba(15,23,42,.12)}.nz-card h3{margin:8px 0 8px;font-size:21px;line-height:1.2}.nz-card p{color:var(--nz-muted);margin:0}.nz-icon{width:48px;height:48px;border-radius:16px;background:linear-gradient(135deg,#EFF6FF,#EAFBF4);display:grid;place-items:center;font-weight:950;color:var(--nz-blue);margin-bottom:12px}.nz-region-cloud{display:flex;flex-wrap:wrap;gap:10px}.nz-region-cloud a{background:#fff;border:1px solid var(--nz-border);border-radius:999px;padding:10px 14px;color:#334155;font-weight:850}.nz-region-cloud a:hover{background:#EFF6FF;text-decoration:none}.nz-listing-card{display:flex;flex-direction:column;min-height:100%}.nz-listing-top{display:flex;gap:14px;align-items:center;margin-bottom:10px}.nz-listing-logo{width:64px;height:64px;border-radius:18px;background:#F1F5F9;object-fit:cover;border:1px solid var(--nz-border);flex:0 0 auto}.nz-listing-card h3{margin:0 0 3px}.nz-meta{display:flex;flex-wrap:wrap;gap:8px;margin:13px 0}.nz-actions{display:flex;gap:10px;flex-wrap:wrap;margin-top:auto;padding-top:16px}.nz-steps{counter-reset:step}.nz-step{position:relative}.nz-step:before{counter-increment:step;content:counter(step);width:36px;height:36px;border-radius:12px;background:var(--nz-blue);color:#fff;display:grid;place-items:center;font-weight:950;margin-bottom:13px}.nz-price{position:relative}.nz-price.featured{border:2px solid var(--nz-green);transform:translateY(-8px)}.nz-price .amount{font-size:44px;font-weight:950;letter-spacing:-.05em;margin:10px 0}.nz-price ul{padding-left:20px;color:#334155}.nz-callout{background:linear-gradient(135deg,var(--nz-blue),var(--nz-green));color:#fff;border-radius:32px;padding:42px;box-shadow:0 28px 80px rgba(37,99,235,.22)}.nz-callout h2{color:#fff}.nz-callout p{color:rgba(255,255,255,.9)}.nz-footer{background:#0F172A;color:#CBD5E1;padding:44px 0 20px}.nz-footer a{color:#fff}.nz-footer-grid{display:grid;grid-template-columns:2fr repeat(3,1fr);gap:28px}.nz-footer h3,.nz-footer h4{color:#fff;margin-top:0}.nz-page-hero{padding:54px 0;background:linear-gradient(135deg,#fff,#EFF6FF);border-bottom:1px solid var(--nz-border)}.nz-page-content{padding:48px 0}.nz-prose{background:#fff;border:1px solid var(--nz-border);border-radius:28px;padding:28px;box-shadow:var(--nz-shadow)}.nz-prose h2{font-size:30px;margin:28px 0 10px}.nz-submit-form{display:grid;gap:18px}.nz-field label{display:block;font-weight:850;margin-bottom:7px}.nz-field input,.nz-field textarea,.nz-field select{width:100%;padding:14px 15px;border:1px solid var(--nz-border);border-radius:16px;background:#fff;color:var(--nz-text)}.nz-field textarea{min-height:150px}.nz-two{display:grid;grid-template-columns:1fr 1fr;gap:16px}.nz-three{display:grid;grid-template-columns:repeat(3,1fr);gap:16px}.nz-notice{padding:16px 18px;border:1px solid #BFDBFE;background:#EFF6FF;border-radius:18px;color:#1E3A8A;margin-bottom:18px}.nz-warning{border-color:#FED7AA;background:#FFF7ED;color:#9A3412}.nz-single-hero{padding:48px 0;background:#fff;border-bottom:1px solid var(--nz-border)}.nz-single-layout{display:grid;grid-template-columns:minmax(0,1fr) 340px;gap:24px}.nz-sidebar{position:sticky;top:94px}.nz-empty{padding:28px;border:1px dashed var(--nz-border);border-radius:22px;background:#fff;color:var(--nz-muted)}.nz-faq details{background:#fff;border:1px solid var(--nz-border);border-radius:18px;padding:16px 18px;margin-bottom:12px}.nz-faq summary{font-weight:900;cursor:pointer}.nz-breadcrumbs{font-size:14px;color:var(--nz-muted);margin-bottom:12px}.nz-ad-slot{border:1px dashed #CBD5E1;border-radius:18px;padding:18px;text-align:center;color:#64748B;background:#fff;margin:22px 0}.nz-dashboard-link{display:inline-flex;align-items:center;gap:8px}.nz-compliance{font-size:13px;color:#64748B;margin-top:10px}.screen-reader-text{position:absolute;left:-9999px}
@media(max-width:980px){.nz-nav{display:none;position:absolute;left:20px;right:20px;top:72px;background:#fff;border:1px solid var(--nz-border);border-radius:22px;padding:18px;box-shadow:var(--nz-shadow);flex-direction:column;align-items:flex-start}.nz-nav.open{display:flex}.nz-menu-toggle{display:inline-flex}.nz-search,.nz-grid,.nz-grid.four,.nz-grid.two,.nz-single-layout,.nz-footer-grid,.nz-two,.nz-three{grid-template-columns:1fr}.nz-price.featured{transform:none}.nz-section-head{display:block}.nz-topbar .nz-wrap{display:block}.nz-hero{padding:52px 0 40px}.nz-section{padding:42px 0}.nz-wrap{padding:0 16px}.nz-callout{padding:28px}.nz-header-inner{padding-left:16px;padding-right:16px}}

/* =========================================================
   NZ Webz Premium Global Post/Page Layout - v2.1
   Layout-only improvement: featured image first, premium title card,
   narrow readable content, mobile friendly spacing.
   ========================================================= */
.nz-layout-page{background:#f6f9ff;color:#102033;}
.nz-layout-page .nz-wrap{max-width:1180px;margin-left:auto;margin-right:auto;padding-left:22px;padding-right:22px;}
.nz-layout-hero{position:relative;background:#071b45;}
.nz-layout-hero-media{position:relative;height:440px;overflow:hidden;background:linear-gradient(135deg,#071b45,#0b63f6 60%,#00b878);}
.nz-layout-page-hero .nz-layout-hero-media{height:360px;}
.nz-layout-hero-img{display:block;width:100%;height:100%;object-fit:cover;object-position:center;}
.nz-layout-hero-fallback{display:flex;align-items:center;justify-content:center;background:radial-gradient(circle at 20% 0%,rgba(0,184,120,.32),transparent 35%),linear-gradient(135deg,#071b45,#0b63f6 62%,#00b878);}
.nz-layout-hero-fallback span{font-size:clamp(48px,8vw,110px);font-weight:950;color:rgba(255,255,255,.24);letter-spacing:-.08em;}
.nz-layout-hero-gradient{position:absolute;inset:0;background:linear-gradient(180deg,rgba(7,27,69,.06) 0%,rgba(7,27,69,.35) 65%,rgba(7,27,69,.72) 100%);pointer-events:none;}
.nz-layout-title-wrap{position:relative;margin-top:-94px;z-index:4;}
.nz-layout-title-card{background:#fff;border:1px solid #e4ebf5;border-radius:32px;padding:34px 38px;box-shadow:0 30px 90px rgba(8,32,75,.16);max-width:980px;margin:0 auto;}
.nz-layout-title-card.page-title-card{max-width:920px;text-align:center;}
.nz-layout-kicker{display:inline-flex;align-items:center;gap:8px;background:#e9fff5;color:#047857;border:1px solid #c4f5df;border-radius:999px;padding:8px 13px;font-size:13px;font-weight:950;text-transform:uppercase;letter-spacing:.08em;}
.nz-layout-kicker.light{background:rgba(255,255,255,.15);border-color:rgba(255,255,255,.22);color:#fff;}
.nz-layout-title{font-size:clamp(36px,5.2vw,68px);line-height:1.02;letter-spacing:-.055em;color:#071b45;margin:16px 0 14px;font-weight:950;}
.nz-layout-byline{display:flex;flex-wrap:wrap;gap:10px 18px;color:#5f6f86;font-size:15px;font-weight:750;}
.nz-layout-byline span{display:inline-flex;align-items:center;gap:8px;}
.nz-layout-byline span:not(:last-child)::after{content:"";width:5px;height:5px;background:#cbd5e1;border-radius:50%;margin-left:8px;}
.nz-layout-content-area{padding:38px 22px 44px;}
.nz-layout-content-shell{max-width:860px;margin:0 auto;}
.nz-layout-content-shell.page-content-shell{max-width:920px;}
.nz-layout-main-card{background:#fff;border:1px solid #e4ebf5;border-radius:30px;padding:clamp(24px,4vw,48px);box-shadow:0 18px 60px rgba(8,32,75,.07);}
.nz-layout-prose{max-width:780px;margin:0 auto;color:#24364f;font-size:18px;line-height:1.82;}
.nz-layout-prose > *:first-child{margin-top:0!important;}
.nz-layout-prose > *:last-child{margin-bottom:0!important;}
.nz-layout-prose p{margin:0 0 1.35em;}
.nz-layout-prose h2{font-size:clamp(28px,3.2vw,42px);line-height:1.15;letter-spacing:-.035em;color:#071b45;margin:1.45em 0 .55em;font-weight:950;}
.nz-layout-prose h3{font-size:clamp(23px,2.5vw,31px);line-height:1.2;color:#071b45;margin:1.35em 0 .55em;font-weight:900;}
.nz-layout-prose h4{font-size:21px;color:#071b45;margin:1.2em 0 .45em;font-weight:900;}
.nz-layout-prose a{color:#0b63f6;text-decoration-thickness:2px;text-underline-offset:3px;}
.nz-layout-prose ul,.nz-layout-prose ol{padding-left:1.35em;margin:0 0 1.35em;}
.nz-layout-prose li{margin:.35em 0;}
.nz-layout-prose blockquote{margin:2em 0;padding:24px 26px;border-left:5px solid #00b878;background:#effdf7;border-radius:18px;color:#12334f;font-weight:750;}
.nz-layout-prose table{width:100%;border-collapse:separate;border-spacing:0;border:1px solid #e4ebf5;border-radius:18px;overflow:hidden;margin:2em 0;background:#fff;font-size:16px;}
.nz-layout-prose th,.nz-layout-prose td{padding:14px 16px;border-bottom:1px solid #e4ebf5;text-align:left;}
.nz-layout-prose th{background:#f8fbff;color:#071b45;font-weight:900;}
.nz-layout-prose tr:last-child td{border-bottom:0;}
.nz-layout-prose img{border-radius:24px;box-shadow:0 18px 50px rgba(8,32,75,.09);}
.nz-layout-prose .wp-block-image{margin:2em 0;}
.nz-layout-prose .wp-block-cover{border-radius:26px;overflow:hidden;margin:2em 0;}
.nz-layout-prose .wp-block-quote{border-left-color:#00b878;}
.nz-layout-prose .wp-block-pullquote{border-top:4px solid #0b63f6;border-bottom:4px solid #00b878;color:#071b45;}
.nz-layout-prose .wp-block-buttons{margin:1.5em 0;}
.nz-layout-prose .wp-block-button__link{border-radius:999px;background:linear-gradient(135deg,#0b63f6,#00b878);font-weight:900;padding:14px 24px;text-decoration:none!important;}
.nz-layout-cta{padding:0 22px 50px;}
.nz-layout-cta-card{display:flex;align-items:center;justify-content:space-between;gap:24px;background:linear-gradient(135deg,#071b45,#0b63f6 58%,#00b878);color:#fff;border-radius:34px;padding:34px;box-shadow:0 28px 80px rgba(11,99,246,.22);}
.nz-layout-cta-card h2{font-size:clamp(28px,3.5vw,42px);line-height:1.08;margin:13px 0 8px;color:#fff;letter-spacing:-.04em;}
.nz-layout-cta-card p{font-size:17px;line-height:1.65;margin:0;color:#eaf2ff;max-width:690px;}
.nz-related-layout{padding:0 22px 70px;}
.nz-layout-section-head{text-align:center;max-width:780px;margin:0 auto 24px;}
.nz-layout-section-head h2{font-size:clamp(30px,4vw,46px);line-height:1.08;letter-spacing:-.04em;color:#071b45;margin:14px 0 0;font-weight:950;}
.nz-related-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:20px;}
.nz-related-card{background:#fff;border:1px solid #e4ebf5;border-radius:26px;overflow:hidden;box-shadow:0 18px 55px rgba(8,32,75,.07);}
.nz-related-thumb{display:flex;height:180px;background:linear-gradient(135deg,#0b63f6,#00b878);align-items:center;justify-content:center;color:rgba(255,255,255,.55);font-size:54px;font-weight:950;text-decoration:none!important;}
.nz-related-thumb img{width:100%;height:100%;object-fit:cover;}
.nz-related-body{padding:20px;}
.nz-related-body h3{font-size:20px;line-height:1.22;margin:0 0 9px;color:#071b45;}
.nz-related-body h3 a{color:#071b45;text-decoration:none;}
.nz-related-body p{margin:0;color:#5f6f86;line-height:1.55;}
body.single-post .nz-page-hero,
body.single-post .nz-page-content{display:none!important;}
body.single-post .entry-header,
body.single-post .post-thumbnail{display:none;}
body.page .entry-header,
body.page .post-thumbnail{display:none;}
@media(max-width:980px){
  .nz-layout-hero-media{height:360px;}
  .nz-layout-page-hero .nz-layout-hero-media{height:300px;}
  .nz-layout-title-wrap{margin-top:-70px;}
  .nz-layout-title-card{border-radius:26px;padding:28px;}
  .nz-layout-cta-card{display:block;}
  .nz-layout-cta-card .nz-btn{margin-top:22px;}
  .nz-related-grid{grid-template-columns:1fr;}
}
@media(max-width:620px){
  .nz-layout-page .nz-wrap{padding-left:16px;padding-right:16px;}
  .nz-layout-hero-media{height:280px;}
  .nz-layout-page-hero .nz-layout-hero-media{height:240px;}
  .nz-layout-title-wrap{margin-top:-52px;}
  .nz-layout-title-card{padding:22px 20px;border-radius:22px;}
  .nz-layout-title{letter-spacing:-.04em;}
  .nz-layout-byline{display:grid;gap:8px;}
  .nz-layout-byline span:not(:last-child)::after{display:none;}
  .nz-layout-content-area{padding-top:24px;}
  .nz-layout-main-card{border-radius:22px;padding:22px 18px;}
  .nz-layout-prose{font-size:17px;line-height:1.78;}
  .nz-layout-prose table{display:block;overflow-x:auto;white-space:nowrap;}
  .nz-layout-cta-card{border-radius:24px;padding:26px 20px;}
}

/* =========================================================
   NZ Webz Premium Article/Page Layout - v3.0 10/10 update
   Overrides previous layout styles. Featured image first,
   title overlay, tighter hierarchy, sticky TOC, premium cards.
   ========================================================= */
body.single-post,
body.page{background:#f3f7fc;}
.nz-article-v10,
.nz-page-v10{background:#f3f7fc;color:#102033;}
.nz-v10-hero{position:relative;min-height:560px;background:#071b45;display:flex;align-items:flex-end;overflow:hidden;isolation:isolate;}
.nz-v10-page-hero{min-height:430px;}
.nz-v10-hero-media{position:absolute;inset:0;z-index:-2;background:linear-gradient(135deg,#071b45,#0b63f6 60%,#00b878);}
.nz-v10-hero-img{display:block;width:100%;height:100%;object-fit:cover;object-position:center;filter:saturate(1.05) contrast(1.02);}
.nz-v10-hero-fallback{display:flex!important;align-items:center;justify-content:center;background:radial-gradient(circle at 18% 0%,rgba(0,184,120,.32),transparent 38%),radial-gradient(circle at 85% 5%,rgba(11,99,246,.36),transparent 36%),linear-gradient(135deg,#071b45,#0b63f6 58%,#00b878)!important;}
.nz-v10-hero-fallback span{font-size:clamp(62px,10vw,150px);font-weight:950;color:rgba(255,255,255,.17);letter-spacing:-.085em;}
.nz-v10-hero-overlay{position:absolute;inset:0;background:linear-gradient(90deg,rgba(7,27,69,.90) 0%,rgba(7,27,69,.70) 38%,rgba(7,27,69,.22) 74%,rgba(7,27,69,.45) 100%),linear-gradient(180deg,rgba(7,27,69,.08) 0%,rgba(7,27,69,.92) 100%);z-index:-1;}
.nz-v10-hero-inner{width:100%;padding-top:90px;padding-bottom:70px;}
.nz-v10-title-panel{max-width:900px;color:#fff;}
.nz-v10-page-title-panel{max-width:880px;}
.nz-v10-kicker{display:inline-flex;align-items:center;gap:8px;border-radius:999px;background:rgba(233,255,245,.13);color:#b6ffe0;border:1px solid rgba(182,255,224,.28);padding:9px 14px;font-size:13px;font-weight:950;text-transform:uppercase;letter-spacing:.10em;margin-bottom:18px;backdrop-filter:blur(12px);}
.nz-v10-title{font-size:clamp(44px,6.2vw,82px);line-height:.98;letter-spacing:-.062em;color:#fff!important;margin:0 0 18px;font-weight:950;text-wrap:balance;text-shadow:0 16px 45px rgba(0,0,0,.28);}
.nz-v10-byline{display:flex;flex-wrap:wrap;gap:10px 14px;align-items:center;color:#e8f2ff;font-size:15px;font-weight:780;margin-bottom:18px;}
.nz-v10-byline span{display:inline-flex;align-items:center;gap:8px;padding:8px 12px;border-radius:999px;background:rgba(255,255,255,.10);border:1px solid rgba(255,255,255,.14);backdrop-filter:blur(10px);}
.nz-v10-trust-row{display:flex;flex-wrap:wrap;gap:10px;margin-top:16px;}
.nz-v10-trust-row span{display:inline-flex;align-items:center;border-radius:999px;background:#fff;color:#071b45;padding:9px 13px;font-size:13px;font-weight:900;box-shadow:0 12px 32px rgba(0,0,0,.18);}
.nz-v10-content-area{position:relative;margin-top:-46px;padding-bottom:58px;z-index:3;}
.nz-v10-layout-grid{display:grid;grid-template-columns:minmax(0,820px) 300px;gap:26px;align-items:start;justify-content:center;}
.nz-v10-page-shell{max-width:930px;margin:0 auto;}
.nz-v10-main-card{background:rgba(255,255,255,.96);border:1px solid #dfe8f4;border-radius:34px;padding:clamp(26px,4vw,54px);box-shadow:0 30px 90px rgba(8,32,75,.12);backdrop-filter:blur(16px);}
.nz-v10-prose{max-width:760px;margin:0 auto;color:#21344f;font-size:18px;line-height:1.86;}
.nz-v10-prose > *:first-child{margin-top:0!important;}
.nz-v10-prose > *:last-child{margin-bottom:0!important;}
.nz-v10-prose > p:first-of-type{font-size:clamp(20px,2vw,24px);line-height:1.72;color:#102b4c;font-weight:550;margin-bottom:1.4em;}
.nz-v10-prose p{margin:0 0 1.35em;}
.nz-v10-prose h2{font-size:clamp(30px,3.2vw,44px);line-height:1.12;letter-spacing:-.042em;color:#071b45;margin:1.65em 0 .58em;font-weight:950;scroll-margin-top:115px;}
.nz-v10-prose h3{font-size:clamp(24px,2.5vw,32px);line-height:1.22;letter-spacing:-.025em;color:#071b45;margin:1.35em 0 .55em;font-weight:925;scroll-margin-top:115px;}
.nz-v10-prose h4{font-size:21px;color:#071b45;margin:1.2em 0 .45em;font-weight:900;}
.nz-v10-prose a{color:#0b63f6;text-decoration-thickness:2px;text-underline-offset:3px;font-weight:750;}
.nz-v10-prose ul,.nz-v10-prose ol{padding-left:1.35em;margin:0 0 1.4em;}
.nz-v10-prose li{margin:.38em 0;}
.nz-v10-prose blockquote{position:relative;margin:2em 0;padding:26px 28px;border:0;border-left:6px solid #00b878;background:linear-gradient(180deg,#effdf7,#f8fffc);border-radius:22px;color:#12334f;font-weight:750;box-shadow:0 16px 42px rgba(0,166,118,.08);}
.nz-v10-prose table{width:100%;border-collapse:separate;border-spacing:0;border:1px solid #dfe8f4;border-radius:20px;overflow:hidden;margin:2em 0;background:#fff;font-size:16px;box-shadow:0 12px 32px rgba(8,32,75,.05);}
.nz-v10-prose th,.nz-v10-prose td{padding:15px 17px;border-bottom:1px solid #dfe8f4;text-align:left;vertical-align:top;}
.nz-v10-prose th{background:#f5f9ff;color:#071b45;font-weight:950;}
.nz-v10-prose tr:last-child td{border-bottom:0;}
.nz-v10-prose img{border-radius:24px;box-shadow:0 18px 50px rgba(8,32,75,.10);}
.nz-v10-prose .wp-block-image{margin:2em 0;}
.nz-v10-prose .wp-block-cover{border-radius:28px;overflow:hidden;margin:2em 0;}
.nz-v10-prose .wp-block-separator{border:0;height:1px;background:#dfe8f4;margin:2.2em 0;}
.nz-v10-prose .wp-block-button__link{border-radius:999px;background:linear-gradient(135deg,#0b63f6,#00b878);font-weight:950;padding:14px 24px;text-decoration:none!important;}
.nz-v10-sidebar{position:sticky;top:112px;display:grid;gap:16px;}
.admin-bar .nz-v10-sidebar{top:144px;}
.nz-v10-sidebar-card{background:rgba(255,255,255,.95);border:1px solid #dfe8f4;border-radius:26px;padding:20px;box-shadow:0 18px 54px rgba(8,32,75,.08);backdrop-filter:blur(14px);}
.nz-v10-sidebar-label{display:inline-flex;color:#047857;background:#e9fff5;border:1px solid #c4f5df;border-radius:999px;padding:7px 11px;font-size:12px;font-weight:950;text-transform:uppercase;letter-spacing:.08em;margin-bottom:12px;}
.nz-v10-toc ol{list-style:none;margin:0;padding:0;display:grid;gap:8px;}
.nz-v10-toc a{display:block;color:#344760;text-decoration:none;font-size:14px;font-weight:780;line-height:1.38;padding:9px 10px;border-radius:13px;transition:.18s ease;}
.nz-v10-toc a:hover{background:#f1f7ff;color:#0b63f6;text-decoration:none;}
.nz-v10-toc .toc-h3 a{padding-left:22px;font-size:13px;color:#607086;}
.nz-v10-empty-toc{font-size:14px;color:#607086;line-height:1.5;margin:0;}
.nz-v10-side-cta{background:linear-gradient(180deg,#ffffff,#f8fbff);}
.nz-v10-side-cta h3{font-size:22px;line-height:1.15;letter-spacing:-.03em;color:#071b45;margin:4px 0 8px;font-weight:950;}
.nz-v10-side-cta p{font-size:14px;line-height:1.62;color:#607086;margin:0 0 15px;}
.nz-v10-bottom-cta{padding-top:0;}
.nz-layout-cta-card{border:1px solid rgba(255,255,255,.18);}
.nz-related-layout{padding-top:6px;}
.nz-related-card{transition:transform .18s ease, box-shadow .18s ease;}
.nz-related-card:hover{transform:translateY(-4px);box-shadow:0 28px 70px rgba(8,32,75,.12);}
body.single-post .nz-layout-title-wrap,
body.single-post .nz-layout-content-area:not(.nz-v10-content-area){display:none!important;}
body.single-post .nz-layout-hero:not(.nz-v10-hero){display:none!important;}
body.page .nz-layout-title-wrap,
body.page .nz-layout-content-area:not(.nz-v10-content-area){display:none!important;}
body.page .nz-layout-hero:not(.nz-v10-hero){display:none!important;}
@media(max-width:1100px){
  .nz-v10-layout-grid{grid-template-columns:minmax(0,820px);}
  .nz-v10-sidebar{position:relative;top:auto;grid-template-columns:1fr 1fr;}
  .admin-bar .nz-v10-sidebar{top:auto;}
}
@media(max-width:980px){
  .nz-v10-hero{min-height:500px;}
  .nz-v10-page-hero{min-height:380px;}
  .nz-v10-title{font-size:clamp(40px,7vw,64px);}
  .nz-v10-content-area{margin-top:-36px;}
  .nz-v10-sidebar{grid-template-columns:1fr;}
}
@media(max-width:620px){
  .nz-v10-hero{min-height:420px;}
  .nz-v10-page-hero{min-height:340px;}
  .nz-v10-hero-inner{padding-top:70px;padding-bottom:52px;}
  .nz-v10-hero-overlay{background:linear-gradient(180deg,rgba(7,27,69,.44) 0%,rgba(7,27,69,.92) 100%);}
  .nz-v10-title{font-size:clamp(34px,10vw,46px);letter-spacing:-.045em;}
  .nz-v10-byline{display:grid;gap:8px;align-items:start;}
  .nz-v10-byline span{width:max-content;max-width:100%;}
  .nz-v10-trust-row span{font-size:12px;padding:8px 10px;}
  .nz-v10-content-area{margin-top:-26px;padding-bottom:40px;}
  .nz-v10-main-card{border-radius:24px;padding:22px 18px;}
  .nz-v10-prose{font-size:17px;line-height:1.78;}
  .nz-v10-prose > p:first-of-type{font-size:19px;}
  .nz-v10-prose table{display:block;overflow-x:auto;white-space:nowrap;}
  .nz-v10-sidebar-card{border-radius:22px;padding:18px;}
}


/* =========================================================
   NZ Webz Premium Article/Page Layout - v4 compact hero update
   Tightens oversized featured image and title area after UX review.
   ========================================================= */
.nz-v10-hero{min-height:360px!important;}
.nz-v10-page-hero{min-height:320px!important;}
.nz-v10-hero-inner{padding-top:54px!important;padding-bottom:42px!important;}
.nz-v10-title-panel{max-width:820px!important;}
.nz-v10-title{font-size:clamp(36px,4.6vw,62px)!important;line-height:1.02!important;margin-bottom:14px!important;text-shadow:0 12px 34px rgba(0,0,0,.34)!important;}
.nz-v10-kicker{padding:7px 12px!important;font-size:12px!important;margin-bottom:12px!important;}
.nz-v10-byline{font-size:14px!important;margin-bottom:12px!important;}
.nz-v10-byline span{padding:7px 10px!important;}
.nz-v10-trust-row{margin-top:10px!important;}
.nz-v10-trust-row span{padding:7px 10px!important;font-size:12px!important;}
.nz-v10-hero-overlay{background:linear-gradient(90deg,rgba(7,27,69,.86) 0%,rgba(7,27,69,.62) 42%,rgba(7,27,69,.18) 75%,rgba(7,27,69,.38) 100%),linear-gradient(180deg,rgba(7,27,69,.05) 0%,rgba(7,27,69,.84) 100%)!important;}
.nz-v10-content-area{margin-top:-34px!important;padding-bottom:48px!important;}
.nz-v10-main-card{border-radius:28px!important;padding:clamp(24px,3.2vw,44px)!important;box-shadow:0 22px 70px rgba(8,32,75,.10)!important;}
.nz-v10-layout-grid{grid-template-columns:minmax(0,790px) 290px!important;gap:22px!important;}
.nz-v10-prose{max-width:740px!important;font-size:17.5px!important;line-height:1.82!important;}
.nz-v10-prose > p:first-of-type{font-size:clamp(19px,1.6vw,22px)!important;line-height:1.72!important;}
@media(max-width:1100px){
  .nz-v10-layout-grid{grid-template-columns:minmax(0,790px)!important;}
}
@media(max-width:980px){
  .nz-v10-hero{min-height:320px!important;}
  .nz-v10-page-hero{min-height:290px!important;}
  .nz-v10-title{font-size:clamp(34px,6.2vw,54px)!important;}
  .nz-v10-content-area{margin-top:-28px!important;}
}
@media(max-width:620px){
  .nz-v10-hero{min-height:270px!important;}
  .nz-v10-page-hero{min-height:245px!important;}
  .nz-v10-hero-inner{padding-top:44px!important;padding-bottom:34px!important;}
  .nz-v10-title{font-size:clamp(30px,9vw,40px)!important;letter-spacing:-.04em!important;}
  .nz-v10-kicker{font-size:11px!important;margin-bottom:9px!important;}
  .nz-v10-byline{gap:6px!important;font-size:12.5px!important;}
  .nz-v10-byline span{padding:6px 8px!important;}
  .nz-v10-trust-row{display:none!important;}
  .nz-v10-content-area{margin-top:-20px!important;}
  .nz-v10-main-card{border-radius:22px!important;padding:22px 17px!important;}
}

/* NZ Webz v5 layout decision:
   Pages = Option 1 compact banner.
   Posts = Option 3 editorial title first, featured image inside content width.
*/
.nz-article-v11,.nz-page-v11{background:#f3f7fc;color:#102033;}

/* Hide old v10 hero rules if cached templates/classes appear */
body.single-post .nz-v10-hero,body.single-post .nz-v10-content-area,body.page .nz-v10-hero,body.page .nz-v10-content-area{display:none!important;}

/* POSTS: title first, then controlled featured image */
.nz-v11-post-intro{padding:64px 22px 22px;}
.nz-v11-post-title-card{max-width:920px;margin:0 auto;text-align:center;background:#fff;border:1px solid #dfe8f4;border-radius:34px;padding:clamp(28px,4vw,52px);box-shadow:0 24px 80px rgba(8,32,75,.10);}
.nz-v11-kicker{display:inline-flex;align-items:center;gap:8px;border-radius:999px;background:#e9fff5;color:#047857;border:1px solid #c4f5df;padding:8px 13px;font-size:12px;font-weight:950;text-transform:uppercase;letter-spacing:.10em;margin-bottom:15px;}
.nz-v11-title{font-size:clamp(38px,5.2vw,68px);line-height:1.01;letter-spacing:-.06em;color:#071b45!important;margin:0 0 16px;font-weight:950;text-wrap:balance;}
.nz-v11-byline{display:flex;flex-wrap:wrap;justify-content:center;gap:9px 12px;color:#425570;font-size:14px;font-weight:800;}
.nz-v11-byline span{display:inline-flex;align-items:center;padding:8px 11px;border-radius:999px;background:#f5f9ff;border:1px solid #dfe8f4;}
.nz-v11-featured-wrap{padding:0 22px 24px;}
.nz-v11-featured-inset{max-width:980px;margin:0 auto;border-radius:30px;overflow:hidden;border:1px solid #dfe8f4;box-shadow:0 28px 80px rgba(8,32,75,.13);background:#071b45;}
.nz-v11-featured-inset .nz-v10-hero-img,.nz-v11-featured-inset img{display:block;width:100%;height:clamp(220px,28vw,360px);object-fit:cover;object-position:center;filter:saturate(1.04) contrast(1.02);border-radius:0!important;box-shadow:none!important;}
.nz-v11-featured-inset .nz-v10-hero-fallback{height:clamp(220px,28vw,360px)!important;}

/* PAGES: compact image banner first, small overlapping title card */
.nz-v11-page-hero{position:relative;height:clamp(220px,28vw,320px);background:#071b45;overflow:hidden;}
.nz-v11-page-media{position:absolute;inset:0;background:linear-gradient(135deg,#071b45,#0b63f6 60%,#00b878);}
.nz-v11-page-media .nz-v10-hero-img,.nz-v11-page-media img{width:100%;height:100%;display:block;object-fit:cover;object-position:center;filter:saturate(1.04) contrast(1.02);}
.nz-v11-page-media .nz-v10-hero-fallback{height:100%!important;display:flex!important;align-items:center;justify-content:center;background:radial-gradient(circle at 18% 0%,rgba(0,184,120,.32),transparent 38%),radial-gradient(circle at 85% 5%,rgba(11,99,246,.36),transparent 36%),linear-gradient(135deg,#071b45,#0b63f6 58%,#00b878)!important;}
.nz-v11-page-media .nz-v10-hero-fallback span{font-size:clamp(52px,9vw,120px);font-weight:950;color:rgba(255,255,255,.17);letter-spacing:-.085em;}
.nz-v11-page-overlay{position:absolute;inset:0;background:linear-gradient(90deg,rgba(7,27,69,.62),rgba(7,27,69,.15),rgba(7,27,69,.52)),linear-gradient(180deg,rgba(7,27,69,.05),rgba(7,27,69,.58));}
.nz-v11-page-title-wrap{position:relative;z-index:3;margin-top:-58px;padding:0 22px;}
.nz-v11-page-title-card{max-width:820px;margin:0 auto;text-align:center;background:rgba(255,255,255,.97);border:1px solid #dfe8f4;border-radius:30px;padding:clamp(24px,3.4vw,40px);box-shadow:0 24px 80px rgba(8,32,75,.13);backdrop-filter:blur(14px);}
.nz-v11-page-title-card .nz-v11-title{font-size:clamp(36px,4.6vw,60px);margin-bottom:0;}

/* shared content */
.nz-v11-content-area{position:relative;padding:26px 22px 58px;z-index:3;}
.nz-v11-layout-grid{display:grid;grid-template-columns:minmax(0,790px) 290px;gap:22px;align-items:start;justify-content:center;}
.nz-v11-page-shell{max-width:930px;margin:0 auto;}
.nz-v11-main-card{background:rgba(255,255,255,.97);border:1px solid #dfe8f4;border-radius:30px;padding:clamp(24px,3.3vw,44px);box-shadow:0 22px 70px rgba(8,32,75,.10);backdrop-filter:blur(14px);}
.nz-v11-prose{max-width:740px;margin:0 auto;color:#21344f;font-size:17.5px;line-height:1.82;}
.nz-v11-prose > *:first-child{margin-top:0!important;}
.nz-v11-prose > *:last-child{margin-bottom:0!important;}
.nz-v11-prose > p:first-of-type{font-size:clamp(19px,1.6vw,22px);line-height:1.72;color:#102b4c;font-weight:550;margin-bottom:1.4em;}
.nz-v11-prose p{margin:0 0 1.35em;}
.nz-v11-prose h2{font-size:clamp(30px,3.2vw,42px);line-height:1.12;letter-spacing:-.042em;color:#071b45;margin:1.65em 0 .58em;font-weight:950;scroll-margin-top:115px;}
.nz-v11-prose h3{font-size:clamp(24px,2.5vw,31px);line-height:1.22;letter-spacing:-.025em;color:#071b45;margin:1.35em 0 .55em;font-weight:925;scroll-margin-top:115px;}
.nz-v11-prose h4{font-size:21px;color:#071b45;margin:1.2em 0 .45em;font-weight:900;}
.nz-v11-prose a{color:#0b63f6;text-decoration-thickness:2px;text-underline-offset:3px;font-weight:750;}
.nz-v11-prose ul,.nz-v11-prose ol{padding-left:1.35em;margin:0 0 1.4em;}
.nz-v11-prose li{margin:.38em 0;}
.nz-v11-prose blockquote{position:relative;margin:2em 0;padding:26px 28px;border:0;border-left:6px solid #00b878;background:linear-gradient(180deg,#effdf7,#f8fffc);border-radius:22px;color:#12334f;font-weight:750;box-shadow:0 16px 42px rgba(0,166,118,.08);}
.nz-v11-prose table{width:100%;border-collapse:separate;border-spacing:0;border:1px solid #dfe8f4;border-radius:20px;overflow:hidden;margin:2em 0;background:#fff;font-size:16px;box-shadow:0 12px 32px rgba(8,32,75,.05);}
.nz-v11-prose th,.nz-v11-prose td{padding:15px 17px;border-bottom:1px solid #dfe8f4;text-align:left;vertical-align:top;}
.nz-v11-prose th{background:#f5f9ff;color:#071b45;font-weight:950;}
.nz-v11-prose tr:last-child td{border-bottom:0;}
.nz-v11-prose img{border-radius:24px;box-shadow:0 18px 50px rgba(8,32,75,.10);}
.nz-v11-prose .wp-block-image{margin:2em 0;}
.nz-v11-prose .wp-block-cover{border-radius:28px;overflow:hidden;margin:2em 0;}
.nz-v11-prose .wp-block-separator{border:0;height:1px;background:#dfe8f4;margin:2.2em 0;}
.nz-v11-prose .wp-block-button__link{border-radius:999px;background:linear-gradient(135deg,#0b63f6,#00b878);font-weight:950;padding:14px 24px;text-decoration:none!important;}

.nz-v11-sidebar{position:sticky;top:112px;display:grid;gap:16px;}
.admin-bar .nz-v11-sidebar{top:144px;}
.nz-v11-sidebar-card{background:rgba(255,255,255,.95);border:1px solid #dfe8f4;border-radius:26px;padding:20px;box-shadow:0 18px 54px rgba(8,32,75,.08);backdrop-filter:blur(14px);}
.nz-v11-sidebar-label{display:inline-flex;color:#047857;background:#e9fff5;border:1px solid #c4f5df;border-radius:999px;padding:7px 11px;font-size:12px;font-weight:950;text-transform:uppercase;letter-spacing:.08em;margin-bottom:12px;}
.nz-v11-toc ol{list-style:none;margin:0;padding:0;display:grid;gap:8px;}
.nz-v11-toc a{display:block;color:#344760;text-decoration:none;font-size:14px;font-weight:780;line-height:1.38;padding:9px 10px;border-radius:13px;transition:.18s ease;}
.nz-v11-toc a:hover{background:#f1f7ff;color:#0b63f6;text-decoration:none;}
.nz-v11-toc .toc-h3 a{padding-left:22px;font-size:13px;color:#607086;}
.nz-v11-empty-toc{font-size:14px;color:#607086;line-height:1.5;margin:0;}
.nz-v11-side-cta{background:linear-gradient(180deg,#ffffff,#f8fbff);}
.nz-v11-side-cta h3{font-size:22px;line-height:1.15;letter-spacing:-.03em;color:#071b45;margin:4px 0 8px;font-weight:950;}
.nz-v11-side-cta p{font-size:14px;line-height:1.62;color:#607086;margin:0 0 15px;}
.nz-v11-bottom-cta{padding-top:0;}

@media(max-width:1080px){
  .nz-v11-layout-grid{grid-template-columns:minmax(0,790px);}
  .nz-v11-sidebar{position:relative;top:auto;grid-template-columns:1fr 1fr;}
  .admin-bar .nz-v11-sidebar{top:auto;}
}
@media(max-width:760px){
  .nz-v11-post-intro{padding-top:40px;}
  .nz-v11-post-title-card{border-radius:26px;padding:25px 20px;}
  .nz-v11-title{font-size:clamp(32px,9vw,44px);letter-spacing:-.045em;}
  .nz-v11-byline{display:grid;gap:7px;justify-content:center;}
  .nz-v11-byline span{justify-content:center;}
  .nz-v11-featured-inset{border-radius:24px;}
  .nz-v11-featured-inset .nz-v10-hero-img,.nz-v11-featured-inset img,.nz-v11-featured-inset .nz-v10-hero-fallback{height:210px!important;}
  .nz-v11-page-hero{height:210px;}
  .nz-v11-page-title-wrap{margin-top:-42px;}
  .nz-v11-page-title-card{border-radius:24px;padding:22px 18px;}
  .nz-v11-page-title-card .nz-v11-title{font-size:clamp(30px,9vw,40px);}
  .nz-v11-main-card{border-radius:22px;padding:22px 17px;}
  .nz-v11-prose{font-size:17px;line-height:1.78;}
  .nz-v11-prose > p:first-of-type{font-size:19px;}
  .nz-v11-prose table{display:block;overflow-x:auto;white-space:nowrap;}
  .nz-v11-sidebar{grid-template-columns:1fr;}
  .nz-v11-sidebar-card{border-radius:22px;padding:18px;}
}

/* =========================================================
   NZ Webz v6 final split layout correction
   IMPORTANT:
   - Pages use Option 1: compact featured image banner + small overlap title card.
   - Posts use Option 3: title first + controlled featured image inside article width.
   This overrides earlier v10/v11 oversized hero rules.
   ========================================================= */

/* Safety: remove old oversized page/post heroes from earlier versions */
body.page .nz-v10-hero,
body.page .nz-layout-hero,
body.single-post .nz-v10-hero,
body.single-post .nz-layout-hero{
  display:none!important;
}

/* PAGE ONLY — compact banner, not a giant hero */
body.page .nz-v11-page-hero{
  height:220px!important;
  min-height:0!important;
  max-height:220px!important;
  border-bottom:1px solid #dfe8f4;
}
body.page .nz-v11-page-media,
body.page .nz-v11-page-media img,
body.page .nz-v11-page-media .nz-v10-hero-img,
body.page .nz-v11-page-media .nz-v10-hero-fallback{
  height:220px!important;
  max-height:220px!important;
}
body.page .nz-v11-page-media img,
body.page .nz-v11-page-media .nz-v10-hero-img{
  object-fit:cover!important;
  object-position:center!important;
}
body.page .nz-v11-page-overlay{
  background:linear-gradient(90deg,rgba(7,27,69,.55),rgba(7,27,69,.10),rgba(7,27,69,.45)),linear-gradient(180deg,rgba(7,27,69,.05),rgba(7,27,69,.48))!important;
}
body.page .nz-v11-page-title-wrap{
  margin-top:-34px!important;
  padding-left:20px!important;
  padding-right:20px!important;
}
body.page .nz-v11-page-title-card{
  max-width:760px!important;
  border-radius:24px!important;
  padding:22px 28px!important;
  box-shadow:0 18px 54px rgba(8,32,75,.11)!important;
}
body.page .nz-v11-page-title-card .nz-v11-kicker{
  padding:6px 10px!important;
  font-size:11px!important;
  margin-bottom:10px!important;
}
body.page .nz-v11-page-title-card .nz-v11-title{
  font-size:clamp(32px,4vw,48px)!important;
  line-height:1.05!important;
  letter-spacing:-.05em!important;
}
body.page .nz-v11-content-area{
  padding-top:22px!important;
}
body.page .nz-v11-page-shell{
  max-width:900px!important;
}
body.page .nz-v11-main-card{
  padding:clamp(24px,3vw,38px)!important;
}

/* POST ONLY — no hero banner; title first and image inside readable column */
body.single-post .nz-v11-post-intro{
  padding-top:50px!important;
  padding-bottom:18px!important;
}
body.single-post .nz-v11-post-title-card{
  max-width:900px!important;
  border-radius:28px!important;
  padding:clamp(26px,3.4vw,44px)!important;
}
body.single-post .nz-v11-post-title-card .nz-v11-title{
  font-size:clamp(36px,4.8vw,58px)!important;
  line-height:1.03!important;
}
body.single-post .nz-v11-featured-wrap{
  padding-top:0!important;
  padding-bottom:22px!important;
}
body.single-post .nz-v11-featured-inset{
  max-width:860px!important;
  border-radius:24px!important;
  box-shadow:0 18px 54px rgba(8,32,75,.10)!important;
}
body.single-post .nz-v11-featured-inset img,
body.single-post .nz-v11-featured-inset .nz-v10-hero-img,
body.single-post .nz-v11-featured-inset .nz-v10-hero-fallback{
  height:260px!important;
  max-height:260px!important;
  object-fit:cover!important;
  object-position:center!important;
}
body.single-post .nz-v11-content-area{
  padding-top:10px!important;
}

@media(max-width:980px){
  body.page .nz-v11-page-hero,
  body.page .nz-v11-page-media,
  body.page .nz-v11-page-media img,
  body.page .nz-v11-page-media .nz-v10-hero-img,
  body.page .nz-v11-page-media .nz-v10-hero-fallback{
    height:190px!important;
    max-height:190px!important;
  }
  body.page .nz-v11-page-title-wrap{margin-top:-30px!important;}
  body.page .nz-v11-page-title-card{max-width:720px!important;padding:20px 22px!important;}
  body.single-post .nz-v11-featured-inset img,
  body.single-post .nz-v11-featured-inset .nz-v10-hero-img,
  body.single-post .nz-v11-featured-inset .nz-v10-hero-fallback{
    height:230px!important;
    max-height:230px!important;
  }
}

@media(max-width:620px){
  body.page .nz-v11-page-hero,
  body.page .nz-v11-page-media,
  body.page .nz-v11-page-media img,
  body.page .nz-v11-page-media .nz-v10-hero-img,
  body.page .nz-v11-page-media .nz-v10-hero-fallback{
    height:155px!important;
    max-height:155px!important;
  }
  body.page .nz-v11-page-title-wrap{margin-top:-26px!important;padding-left:14px!important;padding-right:14px!important;}
  body.page .nz-v11-page-title-card{border-radius:20px!important;padding:18px 16px!important;}
  body.page .nz-v11-page-title-card .nz-v11-title{font-size:clamp(28px,8vw,36px)!important;}
  body.page .nz-v11-content-area{padding-top:18px!important;}
  body.single-post .nz-v11-post-intro{padding-top:34px!important;}
  body.single-post .nz-v11-post-title-card{border-radius:22px!important;padding:22px 17px!important;}
  body.single-post .nz-v11-post-title-card .nz-v11-title{font-size:clamp(30px,8.5vw,40px)!important;}
  body.single-post .nz-v11-featured-inset{border-radius:20px!important;}
  body.single-post .nz-v11-featured-inset img,
  body.single-post .nz-v11-featured-inset .nz-v10-hero-img,
  body.single-post .nz-v11-featured-inset .nz-v10-hero-fallback{
    height:185px!important;
    max-height:185px!important;
  }
}

/* =========================================================
   NZ Webz v7 forced DEFAULT TEMPLATE layout patch
   Purpose:
   - Pages = Option 1 compact banner image, not huge hero.
   - Posts = Option 3 title first, featured image inside article width.
   - Also controls PremiumPress/default wrapper overflow and spacing.
   ========================================================= */
body.nzwebz-forced-page-layout,
body.nzwebz-forced-post-layout{
  background:#f6f9ff !important;
}
body.nzwebz-forced-page-layout #content,
body.nzwebz-forced-post-layout #content,
body.nzwebz-forced-page-layout .content-area,
body.nzwebz-forced-post-layout .content-area,
body.nzwebz-forced-page-layout #primary,
body.nzwebz-forced-post-layout #primary{
  max-width:none !important;
  width:100% !important;
  padding:0 !important;
  margin:0 !important;
}
body.nzwebz-forced-page-layout .container,
body.nzwebz-forced-post-layout .container{
  max-width:none;
}

/* PAGE layout: compact featured image banner */
body.nzwebz-forced-page-layout .nz-v11-page-hero{
  padding:0 !important;
  margin:0 !important;
  background:#071b45;
}
body.nzwebz-forced-page-layout .nz-v11-page-media{
  height:300px !important;
  max-height:300px !important;
  min-height:0 !important;
  overflow:hidden !important;
  border-radius:0 0 34px 34px;
  background:linear-gradient(135deg,#071b45,#0b63f6 62%,#00b878);
}
body.nzwebz-forced-page-layout .nz-v11-page-media img,
body.nzwebz-forced-page-layout .nz-layout-hero-img{
  width:100% !important;
  height:100% !important;
  max-height:300px !important;
  object-fit:cover !important;
  object-position:center !important;
  display:block !important;
}
body.nzwebz-forced-page-layout .nz-v11-page-title-wrap{
  margin-top:-44px !important;
  position:relative;
  z-index:5;
}
body.nzwebz-forced-page-layout .nz-v11-page-title-card{
  max-width:900px !important;
  margin:0 auto !important;
  padding:24px 30px !important;
  border-radius:24px !important;
  box-shadow:0 18px 48px rgba(8,32,75,.12) !important;
}
body.nzwebz-forced-page-layout .nz-v11-title{
  font-size:clamp(34px,4.2vw,54px) !important;
  line-height:1.05 !important;
  margin:10px 0 0 !important;
}
body.nzwebz-forced-page-layout .nz-v11-content-area{
  padding-top:34px !important;
}
body.nzwebz-forced-page-layout .nz-v11-page-shell{
  max-width:900px !important;
  margin:0 auto !important;
}

/* POST layout: title first, then featured image inside article width */
body.nzwebz-forced-post-layout .nz-v11-post-intro{
  padding-top:46px !important;
  padding-bottom:20px !important;
}
body.nzwebz-forced-post-layout .nz-v11-post-title-card{
  max-width:920px !important;
  margin:0 auto !important;
  padding:30px 34px !important;
  border-radius:28px !important;
  box-shadow:0 20px 60px rgba(8,32,75,.09) !important;
}
body.nzwebz-forced-post-layout .nz-v11-title{
  font-size:clamp(36px,4.8vw,62px) !important;
  line-height:1.02 !important;
  margin:13px 0 12px !important;
}
body.nzwebz-forced-post-layout .nz-v11-featured-wrap{
  max-width:920px !important;
  margin:0 auto !important;
  padding-top:0 !important;
  padding-bottom:20px !important;
}
body.nzwebz-forced-post-layout .nz-v11-featured-inset{
  height:auto !important;
  max-height:none !important;
  border-radius:26px !important;
  overflow:hidden !important;
  box-shadow:0 20px 55px rgba(8,32,75,.10) !important;
  border:1px solid #e4ebf5 !important;
  background:#fff !important;
}
body.nzwebz-forced-post-layout .nz-v11-featured-inset img,
body.nzwebz-forced-post-layout .nz-v11-featured-inset .nz-layout-hero-img{
  width:100% !important;
  height:auto !important;
  max-height:420px !important;
  object-fit:contain !important;
  object-position:center !important;
  display:block !important;
  background:#fff !important;
}
body.nzwebz-forced-post-layout .nz-v11-content-area{
  padding-top:18px !important;
}
body.nzwebz-forced-post-layout .nz-v11-layout-grid{
  display:grid !important;
  grid-template-columns:minmax(0, 800px) 280px !important;
  gap:26px !important;
  align-items:start !important;
  justify-content:center !important;
}
body.nzwebz-forced-post-layout .nz-v11-main-card,
body.nzwebz-forced-page-layout .nz-v11-main-card{
  background:#fff !important;
  border:1px solid #e4ebf5 !important;
  border-radius:28px !important;
  box-shadow:0 16px 48px rgba(8,32,75,.06) !important;
  padding:34px !important;
}
body.nzwebz-forced-post-layout .nz-v11-prose,
body.nzwebz-forced-page-layout .nz-v11-prose,
body.nzwebz-forced-post-layout .entry-content,
body.nzwebz-forced-page-layout .entry-content{
  max-width:800px !important;
  margin-left:auto !important;
  margin-right:auto !important;
  font-size:18px !important;
  line-height:1.82 !important;
}
body.nzwebz-forced-post-layout .nz-v11-sidebar{
  position:sticky !important;
  top:96px !important;
}
body.nzwebz-forced-post-layout .nz-v11-sidebar-card{
  border-radius:22px !important;
  box-shadow:0 14px 38px rgba(8,32,75,.06) !important;
}
body.nzwebz-forced-post-layout .nz-layout-cta,
body.nzwebz-forced-post-layout .nz-related-posts{
  max-width:1120px !important;
}

@media(max-width:980px){
  body.nzwebz-forced-page-layout .nz-v11-page-media{height:250px !important;max-height:250px !important;}
  body.nzwebz-forced-page-layout .nz-v11-page-media img{max-height:250px !important;}
  body.nzwebz-forced-post-layout .nz-v11-layout-grid{grid-template-columns:1fr !important;max-width:860px !important;margin:0 auto !important;}
  body.nzwebz-forced-post-layout .nz-v11-sidebar{position:static !important;}
}
@media(max-width:620px){
  body.nzwebz-forced-page-layout .nz-v11-page-media{height:205px !important;max-height:205px !important;border-radius:0 0 24px 24px;}
  body.nzwebz-forced-page-layout .nz-v11-page-title-wrap{margin-top:-32px !important;}
  body.nzwebz-forced-page-layout .nz-v11-page-title-card,
  body.nzwebz-forced-post-layout .nz-v11-post-title-card{
    padding:20px 18px !important;
    border-radius:22px !important;
  }
  body.nzwebz-forced-post-layout .nz-v11-post-intro{padding-top:28px !important;}
  body.nzwebz-forced-post-layout .nz-v11-featured-inset img{max-height:300px !important;}
  body.nzwebz-forced-post-layout .nz-v11-main-card,
  body.nzwebz-forced-page-layout .nz-v11-main-card{
    padding:22px 18px !important;
    border-radius:22px !important;
  }
  body.nzwebz-forced-post-layout .nz-v11-prose,
  body.nzwebz-forced-page-layout .nz-v11-prose{
    font-size:17px !important;
    line-height:1.78 !important;
  }
}

/* =========================================================
   NZ Webz v8 revised default post/page layout
   Fixes: bigger article heading, cleaner post image, styled TOC,
   no messy side CTA, cleaner footer, compact page banner.
   ========================================================= */
body.nzwebz-forced-post-layout,
body.nzwebz-forced-page-layout{background:#f3f7fc!important;}

/* POST HEADER - title must feel premium, not like plain text */
body.single-post .nz-v12-post-header{padding:46px 20px 18px!important;}
body.single-post .nz-v12-post-card{
  max-width:1040px!important;margin:0 auto!important;text-align:center!important;
  background:linear-gradient(180deg,#ffffff,#fbfdff)!important;
  border:1px solid #dfe8f4!important;border-radius:30px!important;
  padding:42px 36px!important;box-shadow:0 22px 70px rgba(8,32,75,.09)!important;
}
body.single-post .nz-v12-kicker,
body.page .nz-v12-kicker{
  display:inline-flex!important;align-items:center!important;justify-content:center!important;
  background:#e9fff5!important;color:#047857!important;border:1px solid #bff0dc!important;
  border-radius:999px!important;padding:8px 14px!important;margin-bottom:14px!important;
  font-size:12px!important;font-weight:950!important;text-transform:uppercase!important;letter-spacing:.10em!important;
}
body.single-post .nz-v12-title,
body.single-post h1.nz-v12-title{
  display:block!important;font-size:clamp(44px,5.6vw,74px)!important;line-height:.98!important;
  letter-spacing:-.065em!important;color:#071b45!important;margin:0 0 16px!important;font-weight:950!important;
  text-align:center!important;text-wrap:balance!important;
}
body.single-post .nz-v12-submeta{display:flex!important;justify-content:center!important;flex-wrap:wrap!important;gap:10px!important;color:#425570!important;font-size:14px!important;font-weight:850!important;}
body.single-post .nz-v12-submeta span{background:#f5f9ff!important;border:1px solid #dfe8f4!important;border-radius:999px!important;padding:8px 12px!important;}

/* POST FEATURED IMAGE - contained editorial image, not giant hero */
body.single-post .nz-v12-featured{padding:0 20px 24px!important;}
body.single-post .nz-v12-featured-card{max-width:960px!important;margin:0 auto!important;background:#fff!important;border:1px solid #dfe8f4!important;border-radius:28px!important;overflow:hidden!important;box-shadow:0 22px 65px rgba(8,32,75,.11)!important;}
body.single-post .nz-v12-featured-card img,
body.single-post .nz-v12-featured-card .nz-v10-hero-img,
body.single-post .nz-v12-featured-card .nz-layout-hero-img{display:block!important;width:100%!important;height:clamp(240px,30vw,380px)!important;object-fit:cover!important;object-position:center!important;border-radius:0!important;box-shadow:none!important;background:#fff!important;}
body.single-post .nz-v12-featured-card .nz-v10-hero-fallback{height:clamp(240px,30vw,380px)!important;}

/* POST BODY - premium content grid */
body.single-post .nz-v12-body{padding:10px 20px 56px!important;}
body.single-post .nz-v12-grid{display:grid!important;grid-template-columns:minmax(0,800px) 280px!important;gap:26px!important;align-items:start!important;justify-content:center!important;}
body.single-post .nz-v12-content-card,
body.page .nz-v12-content-card{background:#fff!important;border:1px solid #dfe8f4!important;border-radius:30px!important;box-shadow:0 18px 56px rgba(8,32,75,.07)!important;padding:38px!important;}
body.single-post .nz-v12-prose,
body.page .nz-v12-prose{max-width:780px!important;margin:0 auto!important;color:#21344f!important;font-size:18px!important;line-height:1.82!important;}
body.single-post .nz-v12-prose > *:first-child,
body.page .nz-v12-prose > *:first-child{margin-top:0!important;}
body.single-post .nz-v12-prose p:first-of-type{font-size:21px!important;line-height:1.72!important;color:#102b4c!important;font-weight:520!important;}
body.single-post .nz-v12-prose h2,
body.page .nz-v12-prose h2{font-size:clamp(30px,3.3vw,42px)!important;line-height:1.12!important;letter-spacing:-.04em!important;color:#071b45!important;margin:1.65em 0 .55em!important;font-weight:950!important;scroll-margin-top:115px;}
body.single-post .nz-v12-prose h3,
body.page .nz-v12-prose h3{font-size:clamp(24px,2.6vw,31px)!important;line-height:1.2!important;color:#071b45!important;margin:1.35em 0 .5em!important;font-weight:925!important;scroll-margin-top:115px;}
body.single-post .nz-v12-prose table,
body.page .nz-v12-prose table{width:100%!important;border-collapse:separate!important;border-spacing:0!important;border:1px solid #dfe8f4!important;border-radius:18px!important;overflow:hidden!important;background:#fff!important;box-shadow:0 12px 32px rgba(8,32,75,.05)!important;}
body.single-post .nz-v12-prose th,
body.single-post .nz-v12-prose td,
body.page .nz-v12-prose th,
body.page .nz-v12-prose td{padding:15px 17px!important;border-bottom:1px solid #dfe8f4!important;text-align:left!important;vertical-align:top!important;}
body.single-post .nz-v12-prose th,
body.page .nz-v12-prose th{background:#f5f9ff!important;color:#071b45!important;font-weight:950!important;}
body.single-post .nz-v12-prose blockquote,
body.page .nz-v12-prose blockquote{margin:2em 0!important;padding:24px 26px!important;border-left:6px solid #00b878!important;background:linear-gradient(180deg,#effdf7,#f8fffc)!important;border-radius:20px!important;color:#12334f!important;font-weight:750!important;}

/* TOC - card only, no messy duplicate CTA */
body.single-post .nz-v12-sidebar{position:sticky!important;top:112px!important;display:block!important;}
.admin-bar.single-post .nz-v12-sidebar{top:144px!important;}
body.single-post .nz-v12-sidebar-card{background:rgba(255,255,255,.97)!important;border:1px solid #dfe8f4!important;border-radius:24px!important;padding:20px!important;box-shadow:0 16px 48px rgba(8,32,75,.07)!important;}
body.single-post .nz-v12-sidebar-label{display:inline-flex!important;background:#e9fff5!important;color:#047857!important;border:1px solid #bff0dc!important;border-radius:999px!important;padding:7px 11px!important;margin-bottom:12px!important;font-size:12px!important;font-weight:950!important;text-transform:uppercase!important;letter-spacing:.08em!important;}
body.single-post .nz-v12-toc ol{list-style:none!important;margin:0!important;padding:0!important;display:grid!important;gap:8px!important;}
body.single-post .nz-v12-toc a{display:block!important;color:#344760!important;text-decoration:none!important;font-size:14px!important;font-weight:780!important;line-height:1.38!important;padding:9px 10px!important;border-radius:13px!important;}
body.single-post .nz-v12-toc a:hover{background:#f1f7ff!important;color:#0b63f6!important;}
body.single-post .nz-v12-toc .toc-h3 a{padding-left:22px!important;font-size:13px!important;color:#607086!important;}

/* PAGE LAYOUT - compact banner, small overlap card */
body.page .nz-v12-page-banner{height:240px!important;min-height:0!important;max-height:240px!important;background:#071b45!important;overflow:hidden!important;position:relative!important;}
body.page .nz-v12-page-media{position:absolute!important;inset:0!important;height:100%!important;background:linear-gradient(135deg,#071b45,#0b63f6 60%,#00b878)!important;}
body.page .nz-v12-page-media img,
body.page .nz-v12-page-media .nz-v10-hero-img{width:100%!important;height:100%!important;max-height:240px!important;display:block!important;object-fit:cover!important;object-position:center!important;filter:saturate(1.04) contrast(1.02)!important;}
body.page .nz-v12-page-overlay{position:absolute!important;inset:0!important;background:linear-gradient(90deg,rgba(7,27,69,.62),rgba(7,27,69,.16),rgba(7,27,69,.52)),linear-gradient(180deg,rgba(7,27,69,.05),rgba(7,27,69,.58))!important;}
body.page .nz-v12-page-title-wrap{position:relative!important;z-index:3!important;margin-top:-48px!important;padding:0 20px!important;}
body.page .nz-v12-page-title-card{max-width:820px!important;margin:0 auto!important;text-align:center!important;background:rgba(255,255,255,.98)!important;border:1px solid #dfe8f4!important;border-radius:28px!important;padding:28px 30px!important;box-shadow:0 22px 70px rgba(8,32,75,.13)!important;}
body.page .nz-v12-title{font-size:clamp(38px,4.6vw,60px)!important;line-height:1.02!important;letter-spacing:-.055em!important;color:#071b45!important;margin:0!important;font-weight:950!important;}
body.page .nz-v12-body{padding:28px 20px 60px!important;}
body.page .nz-v12-page-shell{max-width:940px!important;margin:0 auto!important;}

/* CTA - cleaner and not too tall */
body.single-post .nz-layout-cta{padding:0 20px 50px!important;}
body.single-post .nz-layout-cta-card{max-width:1120px!important;margin:0 auto!important;border-radius:30px!important;padding:34px!important;display:flex!important;align-items:center!important;justify-content:space-between!important;gap:24px!important;}
body.single-post .nz-layout-cta-card h2{font-size:clamp(30px,3.6vw,44px)!important;line-height:1.08!important;margin:10px 0 8px!important;}
body.single-post .nz-layout-cta-card p{font-size:17px!important;line-height:1.65!important;}

/* Clean footer */
.nzwebz-clean-footer{background:#0f172a!important;color:#cbd5e1!important;padding:38px 0 22px!important;}
.nz-footer-top{display:grid!important;grid-template-columns:1.25fr 1.75fr!important;gap:30px!important;align-items:start!important;}
.nz-footer-brand p{max-width:520px!important;margin:14px 0 0!important;color:#cbd5e1!important;line-height:1.65!important;}
.nz-footer-logo{color:#fff!important;text-decoration:none!important;}
.nz-footer-links{display:flex!important;flex-wrap:wrap!important;justify-content:flex-end!important;gap:10px 18px!important;}
.nz-footer-links a{color:#e2e8f0!important;text-decoration:none!important;font-weight:800!important;}
.nz-footer-links a:hover{color:#fff!important;}
.nz-footer-bottom{border-top:1px solid rgba(255,255,255,.12)!important;margin-top:26px!important;padding-top:18px!important;display:flex!important;justify-content:space-between!important;gap:14px!important;flex-wrap:wrap!important;color:#94a3b8!important;font-size:14px!important;}

/* If any plugin prints a loose plain TOC inside content, give it card styling where possible */
body.single-post .entry-content > .ez-toc-container,
body.single-post .entry-content > #ez-toc-container,
body.single-post .entry-content > .lwptoc,
body.single-post .entry-content > .rank-math-toc-block{border:1px solid #dfe8f4!important;border-radius:22px!important;background:#f8fbff!important;padding:20px!important;margin:24px 0!important;box-shadow:0 14px 34px rgba(8,32,75,.05)!important;}

@media(max-width:1080px){
  body.single-post .nz-v12-grid{grid-template-columns:minmax(0,860px)!important;}
  body.single-post .nz-v12-sidebar{position:static!important;}
  .nz-footer-top{grid-template-columns:1fr!important;}
  .nz-footer-links{justify-content:flex-start!important;}
}
@media(max-width:700px){
  body.single-post .nz-v12-post-header{padding-top:30px!important;}
  body.single-post .nz-v12-post-card{border-radius:24px!important;padding:25px 18px!important;}
  body.single-post .nz-v12-title{font-size:clamp(34px,10vw,46px)!important;letter-spacing:-.045em!important;}
  body.single-post .nz-v12-featured-card img{height:220px!important;}
  body.single-post .nz-v12-content-card,
  body.page .nz-v12-content-card{border-radius:22px!important;padding:22px 18px!important;}
  body.single-post .nz-v12-prose,
  body.page .nz-v12-prose{font-size:17px!important;line-height:1.78!important;}
  body.single-post .nz-v12-prose p:first-of-type{font-size:19px!important;}
  body.page .nz-v12-page-banner{height:190px!important;max-height:190px!important;}
  body.page .nz-v12-page-media img{max-height:190px!important;}
  body.page .nz-v12-page-title-wrap{margin-top:-34px!important;}
  body.page .nz-v12-page-title-card{border-radius:22px!important;padding:22px 18px!important;}
  body.page .nz-v12-title{font-size:clamp(32px,10vw,42px)!important;}
  body.single-post .nz-layout-cta-card{display:block!important;border-radius:24px!important;padding:26px 20px!important;}
  body.single-post .nz-layout-cta-card .nz-btn{margin-top:18px!important;}
  .nz-footer-bottom{display:block!important;}
  .nz-footer-bottom span{display:block!important;margin-top:8px!important;}
}
