/* Nicknamerly blog: single posts and the [nknm_blog] listing. Loaded only on those pages. */
body.nknm-post,
body.nknm-blogpage {
	--nkb-ink: #1e1b2e;
	--nkb-body: #2b2740;
	--nkb-muted: #5b5675;
	--nkb-purple: #6d28d9;
	--nkb-pink: #ec4899;
	--nkb-pink-d: #be185d;
	--nkb-soft: #f5f3ff;
	--nkb-soft2: #ede9fe;
	--nkb-line: #e7e2f6;
	overflow-x: clip;
	--nkb-text: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
	color: var(--nkb-ink);
}
/* Full width page: drop the theme's article padding, title, meta and comments */
.nknm-post .inside-article,
.nknm-blogpage .inside-article { padding: 0 !important; max-width: none !important; margin: 0 !important; background: transparent; box-shadow: none; }
.nknm-post .entry-header,
.nknm-post .entry-meta,
.nknm-post footer.entry-meta,
.nknm-post .post-navigation,
.nknm-post .comments-area,
.nknm-blogpage .entry-header,
.nknm-blogpage .entry-meta { display: none !important; }
.nknm-post .entry-content,
.nknm-blogpage .entry-content { margin: 0; }
.nknm-post .site-content,
.nknm-blogpage .site-content { display: block; }

.nkb-wrap { box-sizing: border-box; width: 100%; max-width: 1160px; margin: 0 auto; padding: 0 24px; font-family: Nunito, system-ui, sans-serif; }
/* Plain reading text uses the site's regular font (Nunito is only loaded in bold weights) */
.nkb-sub, .nkb-bsub, .nkb-article p, .nkb-article li, .nkb-mini-p, .nkb-card-d, .nkb-feat-d, .nkb-gd, .nkb-cta-d { font-family: var(--nkb-text); }
/* Full-bleed bands inside the theme's centered container */
.nkb-hero, .nkb-related, .nkb-bhero, .nkb-cta { width: 100vw; position: relative; left: 50%; margin-left: -50vw; box-sizing: border-box; }
/* The theme's own featured image would repeat the hero */
.nknm-post .featured-image, .nknm-post .page-header-image-single, .nknm-post .post-image { display: none !important; }

/* Reading progress */
.nkb-bar { position: fixed; top: 0; left: 0; right: 0; height: 5px; background: transparent; z-index: 9999; pointer-events: none; }
.nkb-bar span { display: block; height: 5px; width: 0; background: var(--nkb-purple); transition: width .1s linear; }

/* Post hero */
.nkb-hero { position: relative; overflow: hidden; background: var(--nkb-soft); padding: 56px 0 64px; }
.nkb-hero-in { max-width: 720px; }
.nkb-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-bottom: 20px; }
.nkb-pill { display: inline-block; padding: 6px 14px; border-radius: 999px; background: var(--nkb-purple); color: #fff !important; font-weight: 800; font-size: 13px; letter-spacing: .04em; text-transform: uppercase; text-decoration: none; }
.nkb-meta-i { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; font-size: 14px; color: var(--nkb-muted); }
.nkb-title { margin: 0; font-family: Nunito, system-ui, sans-serif; font-size: clamp(34px, 5.4vw, 56px); line-height: 1.07; font-weight: 900; letter-spacing: -.02em; color: var(--nkb-ink); }
.nkb-sub { margin: 20px 0 0; font-size: clamp(17px, 2vw, 20px); line-height: 1.55; color: #3b3652; }
.nkb-deco { position: absolute; right: 56px; top: 48px; width: 380px; height: 330px; }
.nkb-chip { position: absolute; display: inline-flex; align-items: center; padding: 12px 20px; border-radius: 999px; font-weight: 800; font-size: 18px; white-space: nowrap; transform: rotate(var(--r, 0deg)); }
.nkb-chip-w { background: #fff; border: 2px solid #ddd6fe; color: var(--nkb-ink); }
.nkb-chip-p { background: var(--nkb-purple); color: #fff; }
.nkb-chip-s { background: #fce7f3; color: #9d174d; }
.nkb-c0 { left: 30px; top: 8px; }
.nkb-c1 { left: 130px; top: 96px; }
.nkb-c2 { left: 0; top: 190px; }
.nkb-c3 { left: 150px; top: 262px; }
@media (max-width: 1000px) { .nkb-deco { display: none; } }

/* Layout */
.nkb-layout { display: flex; flex-wrap: wrap; gap: 48px; align-items: flex-start; padding-top: 52px; padding-bottom: 24px; }
.nkb-toc { flex: 1 1 240px; max-width: 280px; min-width: 220px; position: sticky; top: 20px; }
.nkb-toc-box { padding: 22px; border-radius: 18px; background: var(--nkb-soft); border: 1px solid var(--nkb-line); }
.nkb-toc-h { font-weight: 900; font-size: 13px; letter-spacing: .06em; text-transform: uppercase; color: var(--nkb-muted); margin-bottom: 10px; }
.nkb-toc ol { list-style: none; margin: 0; padding: 0; }
.nkb-toc li { margin: 0; }
.nkb-toc a { display: block; padding: 8px 0 8px 18px; position: relative; font-weight: 700; font-size: 15px; line-height: 1.35; color: #3b3652; text-decoration: none; }
.nkb-toc a::before { content: ""; position: absolute; left: 0; top: 50%; width: 8px; height: 8px; margin-top: -4px; border-radius: 50%; background: #ddd6fe; }
.nkb-toc a:hover, .nkb-toc a.is-on { color: var(--nkb-purple); }
.nkb-toc a:hover::before, .nkb-toc a.is-on::before { background: var(--nkb-purple); }
@media (max-width: 860px) { .nkb-toc { position: static; max-width: none; flex-basis: 100%; } }

.nkb-article { flex: 999 1 560px; min-width: 0; max-width: 720px; }
.nkb-article > p:first-child { font-size: 20px; line-height: 1.7; color: var(--nkb-body); }
.nkb-article p, .nkb-article li { font-size: 18px; line-height: 1.7; color: var(--nkb-body); }
.nkb-article p { margin: 0 0 18px; }
.nkb-article a { color: var(--nkb-purple); font-weight: 700; }
.nkb-article h2 { margin: 40px 0 12px; font-family: Nunito, system-ui, sans-serif; font-size: 30px; line-height: 1.2; font-weight: 900; color: var(--nkb-ink); scroll-margin-top: 24px; }

/* Numbered tips */
.nkb-article h2.nkb-tip { display: flex; align-items: center; gap: 16px; margin: 40px 0 10px; }
.nkb-num { flex: none; display: inline-flex; align-items: center; justify-content: center; width: 48px; height: 48px; border-radius: 14px; background: var(--nkb-purple); color: #fff; font-weight: 900; font-size: 24px; }
.nkb-tip-text { min-width: 0; }
.nkb-article h2.nkb-tip + p { padding-left: 64px; }
@media (max-width: 560px) { .nkb-article h2.nkb-tip + p { padding-left: 0; } .nkb-article h2 { font-size: 26px; } }

/* Lists, checklist, callout (add the class in the editor: "Additional CSS class") */
.nkb-article ul, .nkb-article ol { margin: 0 0 20px 22px; padding: 0; }
.nkb-article li { margin: 6px 0; }
.nkb-article ul.nkb-check { list-style: none; margin: 0 0 24px; padding: 28px 30px; border: 2px solid #ddd6fe; border-radius: 22px; }
.nkb-article ul.nkb-check li { position: relative; padding-left: 40px; margin: 12px 0; font-weight: 700; }
.nkb-article ul.nkb-check li::before { content: ""; position: absolute; left: 0; top: 2px; width: 28px; height: 28px; border-radius: 50%; background: var(--nkb-purple) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5 9-10'/%3E%3C/svg%3E") center/16px no-repeat; }
.nkb-article .nkb-callout { margin: 28px 0 36px; padding: 22px 24px 22px 24px; border-radius: 18px; background: #fdf2f8; }
.nkb-article .nkb-callout strong:first-child { display: block; margin-bottom: 4px; font-size: 18px; font-weight: 900; color: #831843; }
.nkb-article .nkb-callout p { margin: 0; font-size: 17px; line-height: 1.6; color: #4a1d33; }

/* Small username generator */
.nkb-mini { margin: 40px 0 48px; padding: 32px; border-radius: 24px; background: var(--nkb-ink); color: #fff; }
.nkb-mini-top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 6px; }
.nkb-mini-h { font-weight: 900; font-size: 26px; line-height: 1.2; }
.nkb-mini-badge { padding: 5px 12px; border-radius: 999px; background: var(--nkb-purple); font-weight: 800; font-size: 12px; letter-spacing: .06em; }
.nkb-article .nkb-mini-p { margin: 0 0 22px; font-size: 16px; line-height: 1.5; color: #d8d3ee; }
.nkb-names { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 22px; }
.nkb-name { display: inline-flex; align-items: center; gap: 8px; padding: 6px 6px 6px 18px; border-radius: 999px; background: #2d2848; font-weight: 800; font-size: 17px; }
.nkb-heart { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; padding: 0; border: 0; border-radius: 50%; background: transparent; cursor: pointer; }
.nkb-heart svg { fill: none; stroke: #f9a8d4; stroke-width: 2; }
.nkb-heart[aria-pressed="true"] { background: #4a1d55; }
.nkb-heart[aria-pressed="true"] svg { fill: var(--nkb-pink); }
.nkb-mini-row { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; }
.nkb-mini-btn { display: inline-flex; align-items: center; justify-content: center; height: 52px; padding: 0 26px; border: 0; border-radius: 14px; background: var(--nkb-pink); color: var(--nkb-ink); font: 900 17px Nunito, system-ui, sans-serif; cursor: pointer; }
.nkb-mini-btn:hover { background: #f472b6; }
.nkb-article a.nkb-mini-link { color: #f9a8d4; font-weight: 800; font-size: 16px; }

/* Related tools */
.nkb-related { margin-top: 40px; padding: 60px 0 64px; background: var(--nkb-soft); }
.nkb-related-h { margin: 0 0 26px; font-family: Nunito, system-ui, sans-serif; font-size: clamp(26px, 3.4vw, 34px); font-weight: 900; letter-spacing: -.01em; color: var(--nkb-ink); }
.nkb-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 20px; }
.nkb-card { display: block; padding: 26px; border-radius: 20px; background: #fff; border: 1px solid var(--nkb-line); text-decoration: none; color: var(--nkb-ink); transition: transform .15s, box-shadow .15s; }
.nkb-card:hover { transform: translateY(-3px); box-shadow: 0 14px 28px rgba(30, 27, 46, .1); }
.nkb-ico { display: flex; align-items: center; justify-content: center; width: 48px; height: 48px; margin-bottom: 16px; border-radius: 14px; background: var(--nkb-soft2); color: var(--nkb-purple); font-weight: 900; font-size: 22px; }
.nkb-card-t { display: block; margin-bottom: 6px; font-weight: 900; font-size: 20px; }
.nkb-card-d { display: block; font-size: 15px; line-height: 1.55; color: var(--nkb-muted); }

/* Blog listing */
.nkb-bhero { background: var(--nkb-soft); padding: 60px 0 52px; }
.nkb-eyebrow { margin-bottom: 14px; font-weight: 900; font-size: 14px; letter-spacing: .08em; color: var(--nkb-purple); }
.nkb-btitle { margin: 0; max-width: 760px; font-family: Nunito, system-ui, sans-serif; font-size: clamp(34px, 5.4vw, 56px); line-height: 1.07; font-weight: 900; letter-spacing: -.02em; color: var(--nkb-ink); }
.nkb-btitle span { color: var(--nkb-purple); }
.nkb-bsub { margin: 20px 0 0; max-width: 620px; font-size: clamp(17px, 2vw, 20px); line-height: 1.55; color: #3b3652; }
.nkb-fpills { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.nkb-fpill { display: inline-flex; align-items: center; min-height: 44px; padding: 0 20px; border-radius: 999px; background: #fff; border: 2px solid #ddd6fe; color: var(--nkb-ink) !important; font-weight: 800; font-size: 15px; text-decoration: none; }
.nkb-fpill:hover { border-color: var(--nkb-purple); }
.nkb-fpill.is-on { background: var(--nkb-purple); border-color: var(--nkb-purple); color: #fff !important; }
.nkb-sec { padding: 48px 0 8px; }
.nkb-sec-grid { padding: 32px 0 56px; }
.nkb-feat { display: flex; flex-wrap: wrap; overflow: hidden; border-radius: 28px; background: var(--nkb-ink); color: #fff; text-decoration: none; }
.nkb-feat-media { flex: 1.5 1 480px; display: block; aspect-ratio: 1200 / 630; background: var(--nkb-purple); }
.nkb-feat-img { display: block; width: 100%; height: 100%; object-fit: cover; }
.nkb-feat-body { flex: 1 1 340px; display: flex; flex-direction: column; align-items: flex-start; justify-content: center; padding: 40px 44px; }
.nkb-feat-tag { display: inline-block; padding: 6px 14px; border-radius: 999px; background: var(--nkb-pink); color: var(--nkb-ink); font-weight: 900; font-size: 12px; letter-spacing: .06em; }
.nkb-feat-t { display: block; margin: 16px 0 12px; font-weight: 900; font-size: clamp(26px, 3.2vw, 36px); line-height: 1.15; }
.nkb-feat-d { display: block; margin-bottom: 22px; font-size: 18px; line-height: 1.6; color: #d8d3ee; }
.nkb-feat-go { font-weight: 800; font-size: 17px; color: #f9a8d4; }
.nkb-feat:hover .nkb-feat-go { text-decoration: underline; }
.nkb-grid-h { margin: 0 0 24px; font-family: Nunito, system-ui, sans-serif; font-size: 30px; font-weight: 900; color: var(--nkb-ink); }
.nkb-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 24px; }
.nkb-gcard { display: block; overflow: hidden; border-radius: 22px; border: 1px solid var(--nkb-line); background: #fff; color: var(--nkb-ink); text-decoration: none; transition: transform .15s, box-shadow .15s; }
.nkb-gcard:hover { transform: translateY(-3px); box-shadow: 0 16px 30px rgba(30, 27, 46, .1); }
.nkb-gmedia { display: block; aspect-ratio: 1200 / 630; background: var(--nkb-soft2); }
.nkb-gimg { display: block; width: 100%; height: 100%; object-fit: cover; }
.nkb-gbody { display: block; padding: 24px; }
.nkb-gtag { display: inline-block; padding: 5px 12px; border-radius: 999px; background: var(--nkb-soft2); color: #5b21b6; font-weight: 800; font-size: 12px; letter-spacing: .05em; text-transform: uppercase; }
.nkb-gt { display: block; margin: 12px 0 8px; font-weight: 900; font-size: 22px; line-height: 1.25; }
.nkb-gd { display: block; margin-bottom: 14px; font-size: 15px; line-height: 1.6; color: #4a4566; }
.nkb-gmeta { font-size: 14px; font-weight: 700; color: var(--nkb-muted); }
.nkb-soon { display: flex; flex-direction: column; justify-content: center; padding: 32px; border-radius: 22px; border: 2px dashed #ddd6fe; background: var(--nkb-soft); }
.nkb-soon-tag { margin-bottom: 10px; font-weight: 900; font-size: 13px; letter-spacing: .06em; color: var(--nkb-purple); }
.nkb-soon .nkb-gt { margin-top: 0; }
.nkb-soon-btn { align-self: flex-start; display: inline-flex; align-items: center; height: 48px; padding: 0 22px; border-radius: 12px; background: var(--nkb-purple); color: #fff !important; font-weight: 800; font-size: 16px; text-decoration: none; }
.nkb-cta { padding: 56px 0; background: var(--nkb-ink); }
.nkb-cta-in { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; }
.nkb-cta-t { font-weight: 900; font-size: clamp(26px, 3vw, 32px); line-height: 1.2; color: #fff; }
.nkb-cta-d { max-width: 620px; margin-top: 8px; font-size: 18px; line-height: 1.55; color: #d8d3ee; }
.nkb-cta-btn { display: inline-flex; align-items: center; justify-content: center; height: 56px; padding: 0 30px; border-radius: 14px; background: var(--nkb-pink); color: var(--nkb-ink) !important; font-weight: 900; font-size: 18px; text-decoration: none; }

@media (prefers-reduced-motion: reduce) { .nkb-card, .nkb-gcard, .nkb-bar span { transition: none; } .nkb-card:hover, .nkb-gcard:hover { transform: none; } }
.nknm-post .site-main, .nknm-post .inside-article, .nknm-blogpage .inside-article { margin-top: 0; padding-top: 0; }
@media (min-width: 861px) {
	.nkb-feat { flex-wrap: nowrap; }
	.nkb-feat-media { flex: 0 0 58%; aspect-ratio: auto; }
	.nkb-feat-img { object-position: left center; }
	.nkb-feat-body { flex: 1 1 0; min-width: 0; padding: 30px 36px; }
	.nkb-feat-d { font-size: 16px; margin-bottom: 16px; }
	.nkb-feat-t { margin: 12px 0 10px; }
}
@media (max-width: 860px) {
	.nkb-feat-media { flex: 1 1 100%; aspect-ratio: 1200 / 630; }
}
/* v1.16.4: keep text colours on hover (theme link hover colour was dark on the dark card) */
.nkb-feat, .nkb-feat:hover, .nkb-feat:focus { color: #fff; }
.nkb-feat:hover .nkb-feat-t, .nkb-feat:focus .nkb-feat-t { color: #fff; }
.nkb-feat:hover .nkb-feat-d, .nkb-feat:focus .nkb-feat-d { color: #d8d3ee; }
.nkb-feat:hover .nkb-feat-go, .nkb-feat:focus .nkb-feat-go { color: #f9a8d4; }
.nkb-gcard, .nkb-gcard:hover, .nkb-gcard:focus { color: var(--nkb-ink); }
.nkb-gcard:hover .nkb-gt { color: var(--nkb-purple); }
/* v1.16.4: closing call-to-action as a contained card, not a full-width band */
.nkb-cta { width: auto; left: auto; margin: 16px 0 56px; padding: 0; background: transparent; }
.nkb-cta-in { padding: 40px 48px; border-radius: 28px; background: var(--nkb-ink); }
@media (max-width: 640px) { .nkb-cta-in { padding: 28px 24px; } }
.nkb-cta-in { width: calc(100% - 48px); max-width: 1112px; }
