/* ==========================================================================
   365 Days of No Screens: "Calm Playroom" theme (Kadence child, v4.1)
   For busy UK parents who want less screen time without the guilt:
   calm, warm, expert and quietly playful. Keeps the site's Nunito font.
   Brand deep purple (#200250) leads; lime (#F7FE72) is a small accent;
   soft pastels give each area its own colour.
   ========================================================================== */

/* ---------- 1. Tokens ---------- */
html:root {
	--nos-ink: #200250;
	--nos-ink-2: #3d3560;
	--nos-muted: #6e6889;
	--nos-paper: #fffdf9;
	--nos-oat: #f7f2ea;
	--nos-oat-2: #efe7da;
	--nos-line: rgba(32, 2, 80, .09);
	--nos-lime: #f7fe72;
	--nos-grape: #6c35b0;
	--nos-grape-2: #8a56cc;
	--nos-pink: #d93a76;
	--nos-lilac: #efe9fb;
	--nos-sky: #e1f3fb;
	--nos-mint: #e2f3ea;
	--nos-blush: #fde9f0;
	--nos-peach: #fff0e2;
	--nos-butter: #fdf8cf;
	--nos-tint: var(--nos-lilac);
	--nos-tint-ink: var(--nos-grape);
	--nos-r-s: 14px;
	--nos-r: 24px;
	--nos-r-l: 36px;
	--nos-sh-1: 0 1px 2px rgba(32, 2, 80, .05), 0 2px 8px -2px rgba(32, 2, 80, .06);
	--nos-sh-2: 0 2px 4px rgba(32, 2, 80, .04), 0 18px 40px -16px rgba(32, 2, 80, .22);
	--nos-sh-btn: 0 10px 24px -10px rgba(32, 2, 80, .55);
	--nos-ease: cubic-bezier(.2, .8, .2, 1);

	--global-palette1: var(--nos-ink);
	--global-palette2: var(--nos-grape);
	--global-palette3: var(--nos-ink);
	--global-palette4: var(--nos-ink-2);
	--global-palette5: var(--nos-muted);
	--global-palette6: #a39fb8;
	--global-palette7: var(--nos-oat);
	--global-palette8: var(--nos-paper);
	--global-palette9: #ffffff;
	--global-palette-highlight: var(--nos-grape);
	--global-palette-highlight-alt: var(--nos-ink);
	--global-palette-btn-bg: var(--nos-ink);
	--global-palette-btn-bg-hover: #34107a;
	--global-palette-btn: #ffffff;
	--global-palette-btn-hover: #ffffff;
}

/* ---------- 2. Base ---------- */
html { scroll-behavior: smooth; }
html body {
	color: var(--nos-ink-2);
	background: var(--nos-paper);
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}
html body .site, html body #wrapper, html body #inner-wrap { background: transparent; }
::selection { background: var(--nos-lime); color: var(--nos-ink); }
html body h1, html body h2, html body h3, html body h4, html body .entry-title {
	color: var(--nos-ink);
	font-weight: 800;
	letter-spacing: -0.02em;
	text-wrap: balance;
}
html body h1 { font-weight: 900; letter-spacing: -0.03em; }
html body h5, html body h6 { color: var(--nos-ink); font-weight: 800; }
html body p { text-wrap: pretty; }
:focus-visible { outline: 3px solid var(--nos-grape-2); outline-offset: 3px; border-radius: 8px; }

/* Old posts carry their own fonts in inline styles: make everything use the site font */
.entry-content [style*="font-family"], .entry-content font { font-family: inherit !important; }

/* ---------- 3. Links in articles ---------- */
.entry-content a:not(.button):not(.wp-block-button__link):not(.kb-button):not(.wp-element-button):not([class*="kb-btn"]) {
	color: var(--nos-grape);
	font-weight: 700;
	text-decoration: underline;
	text-decoration-thickness: 1.5px;
	text-underline-offset: .22em;
	text-decoration-color: rgba(108, 53, 176, .35);
	transition: color .2s var(--nos-ease), text-decoration-color .2s var(--nos-ease);
}
.entry-content a:not(.button):not(.wp-block-button__link):not(.kb-button):not(.wp-element-button):not([class*="kb-btn"]):hover {
	color: var(--nos-ink);
	text-decoration-color: var(--nos-ink);
}

/* ---------- 4. Header ---------- */
#masthead .site-top-header-wrap .site-header-row-container-inner {
	background: var(--nos-ink) !important;
}
#masthead .site-top-header-wrap, #masthead .site-top-header-wrap a, #masthead .site-top-header-wrap p {
	color: #fff !important;
	font-weight: 700;
	font-size: 13px;
	letter-spacing: .02em;
	text-transform: none;
}
#masthead .site-top-header-wrap a {
	text-decoration: underline;
	text-decoration-color: var(--nos-lime);
	text-decoration-thickness: 2px;
	text-underline-offset: 4px;
}
#masthead .site-top-header-wrap a:hover { color: var(--nos-lime) !important; }

#masthead .site-main-header-wrap .site-header-row-container-inner,
#mobile-header .site-main-header-wrap .site-header-row-container-inner {
	background: rgba(255, 253, 249, .9) !important;
	-webkit-backdrop-filter: saturate(170%) blur(14px);
	backdrop-filter: saturate(170%) blur(14px);
}
#masthead .site-main-header-wrap, #mobile-header .site-main-header-wrap { border-bottom: 1px solid var(--nos-line); }
#masthead .item-is-fixed .site-header-row-container-inner,
#masthead .item-is-stuck .site-header-row-container-inner { box-shadow: 0 12px 30px -24px rgba(32, 2, 80, .45); }

.main-navigation .primary-menu-container > ul > li.menu-item > a {
	font-weight: 700;
	font-size: 15.5px;
	letter-spacing: 0;
	text-transform: none;
	color: var(--nos-ink);
	position: relative;
	transition: color .2s var(--nos-ease);
}
.main-navigation .primary-menu-container > ul > li.menu-item > a::after {
	content: "";
	position: absolute;
	left: .6em;
	right: .6em;
	bottom: 26%;
	height: 3px;
	border-radius: 3px;
	background: var(--nos-lime);
	transform: scaleX(0);
	transform-origin: left;
	transition: transform .25s var(--nos-ease);
}
.main-navigation .primary-menu-container > ul > li.menu-item-has-children > a::after { right: 1.9em; }
.main-navigation .primary-menu-container > ul > li.menu-item > a:hover { color: var(--nos-grape); }
.main-navigation .primary-menu-container > ul > li.menu-item > a:hover::after,
.main-navigation .primary-menu-container > ul > li.current-menu-item > a::after,
.main-navigation .primary-menu-container > ul > li.current-menu-ancestor > a::after { transform: scaleX(1); }
.main-navigation .primary-menu-container > ul > li.menu-item > a .dropdown-nav-toggle { opacity: .5; }
.header-navigation .header-menu-container ul ul.sub-menu {
	background: #fff;
	border: 1px solid var(--nos-line);
	border-radius: 18px;
	box-shadow: var(--nos-sh-2);
	padding: 8px;
	min-width: 280px;
}
.header-navigation .header-menu-container ul ul li.menu-item { border-bottom: 0; }
html body .header-navigation .header-menu-container ul ul li.menu-item > a {
	border-radius: 12px;
	color: var(--nos-ink-2);
	font-weight: 700;
	font-size: 15px;
	line-height: 1.35;
	letter-spacing: 0 !important;
	text-transform: none !important;
	padding: 10px 14px;
	width: 100%;
	white-space: nowrap;
	border-bottom: 0;
	transition: background .15s, color .15s;
}
html body .header-navigation .header-menu-container ul ul li.menu-item > a:hover { background: var(--nos-oat); color: var(--nos-ink); }
.search-toggle-open, .menu-toggle-open { border-radius: 999px; transition: background .2s; }
.search-toggle-open:hover, .menu-toggle-open:hover { background: var(--nos-oat); }
#mobile-drawer .drawer-inner { background: var(--nos-paper); }
#mobile-drawer .mobile-navigation ul li a { color: var(--nos-ink); font-weight: 700; }

/* ---------- 5. Buttons ---------- */
html body .button,
html body .wp-block-button__link,
html body .wp-element-button,
html body input[type="submit"],
html body .kb-button,
html body .wc-block-components-button:not(.is-link) {
	border-radius: 999px;
	font-weight: 800;
	letter-spacing: .005em;
	text-transform: none;
	transition: transform .25s var(--nos-ease), box-shadow .25s var(--nos-ease), background-color .2s, color .2s;
}
html body .button:not(.kb-btn-global-outline):not(.is-style-outline),
html body .wp-block-button:not(.is-style-outline) .wp-block-button__link,
html body input[type="submit"] { box-shadow: var(--nos-sh-btn); }
html body .button:hover,
html body .wp-block-button__link:hover,
html body .wp-element-button:hover,
html body input[type="submit"]:hover,
html body .kb-button:hover { transform: translateY(-2px); }
html body .wp-block-button.is-style-outline .wp-block-button__link {
	border: 2px solid currentColor;
	background: transparent;
	box-shadow: none;
}

/* coloured call-to-action paragraphs (e.g. "Grab your next activity here!") become pills */
.entry-content p.has-background {
	border-radius: 999px;
	padding: 16px 30px;
	font-weight: 800;
}
.entry-content p.has-background a { color: inherit !important; text-decoration: none !important; }
.entry-content p.has-theme-palette-3-background-color a { color: #fff !important; }
.entry-content p.has-background.has-text-align-center {
	width: fit-content;
	max-width: 100%;
	margin-left: auto;
	margin-right: auto;
	padding: 16px 40px;
	box-shadow: var(--nos-sh-btn);
	transition: transform .25s var(--nos-ease);
}
.entry-content p.has-background.has-text-align-center:hover { transform: translateY(-2px); }

/* ---------- 6. Cards (posts, archives, homepage blocks) ---------- */
html body .loop-entry,
html body .wp-block-kadence-posts .loop-entry {
	background: #fff;
	border: 1px solid var(--nos-line);
	border-radius: var(--nos-r);
	padding: 10px;
	box-shadow: var(--nos-sh-1) !important;
	transition: transform .35s var(--nos-ease), box-shadow .35s var(--nos-ease);
}
html body .loop-entry:hover { transform: translateY(-4px); box-shadow: var(--nos-sh-2) !important; }
html body .loop-entry > .post-thumbnail {
	margin: 0 !important;
	border-radius: calc(var(--nos-r) - 8px);
	overflow: hidden;
}
html body .loop-entry .post-thumbnail img { transition: transform .6s var(--nos-ease); }
html body .loop-entry:hover .post-thumbnail img { transform: scale(1.04); }
html body .wp-block-kadence-posts.kb-posts .loop-entry.content-bg > .entry-content-wrap,
html body .loop-entry .entry-content-wrap { padding: 16px 14px 14px; margin-top: 0; }
html body .entry-content .loop-entry a { text-decoration: none !important; }
html body .loop-entry .entry-header { margin: 0 0 6px; }
.loop-entry .entry-title { font-size: clamp(18px, 1.35vw, 21px); line-height: 1.28; font-weight: 800; }
html body .loop-entry .entry-title a, html body .kb-posts .entry-title a { color: var(--nos-ink) !important; transition: color .2s; }
html body .loop-entry:hover .entry-title a { color: var(--nos-grape) !important; }

/* soft pastel colour per card, used by the category label */
li:nth-child(6n+1) > .loop-entry, .loop-entry:nth-child(6n+1) { --nos-tint: var(--nos-lilac); --nos-tint-ink: #5b2a9c; }
li:nth-child(6n+2) > .loop-entry, .loop-entry:nth-child(6n+2) { --nos-tint: var(--nos-sky); --nos-tint-ink: #0d6c8c; }
li:nth-child(6n+3) > .loop-entry, .loop-entry:nth-child(6n+3) { --nos-tint: var(--nos-mint); --nos-tint-ink: #1d7550; }
li:nth-child(6n+4) > .loop-entry, .loop-entry:nth-child(6n+4) { --nos-tint: var(--nos-blush); --nos-tint-ink: #a8285a; }
li:nth-child(6n+5) > .loop-entry, .loop-entry:nth-child(6n+5) { --nos-tint: var(--nos-peach); --nos-tint-ink: #a3511a; }
li:nth-child(6n+6) > .loop-entry, .loop-entry:nth-child(6n+6) { --nos-tint: var(--nos-butter); --nos-tint-ink: #6f6410; }

.loop-entry .entry-taxonomies a,
.entry-header .entry-taxonomies a {
	display: inline-block;
	background: var(--nos-tint);
	color: var(--nos-tint-ink) !important;
	border-radius: 999px;
	padding: 4px 11px;
	margin: 0 4px 4px 0;
	font-size: 11px;
	font-weight: 800;
	letter-spacing: .08em;
	text-transform: uppercase;
	text-decoration: none !important;
}
.loop-entry .entry-meta, .entry-header .entry-meta { color: var(--nos-muted); font-size: 13.5px; font-weight: 600; }
.loop-entry .entry-summary { color: var(--nos-muted); font-size: 15.5px; line-height: 1.6; }
.loop-entry .more-link-wrap a, .loop-entry a.post-more-link { color: var(--nos-ink); font-weight: 800; text-decoration: none; }
.loop-entry a.post-more-link::after { content: " →"; transition: margin .2s; }
.loop-entry:hover a.post-more-link::after { margin-left: 4px; }

/* ---------- 7. Single posts and pages ---------- */
html body .entry-header h1.entry-title {
	font-size: clamp(30px, 3.1vw, 44px);
	line-height: 1.12;
	letter-spacing: -0.025em;
}
.single .entry-header .entry-taxonomies a { --nos-tint: var(--nos-lilac); --nos-tint-ink: #5b2a9c; }
.single .post-thumbnail.article-post-thumbnail img,
.page .post-thumbnail.article-post-thumbnail img { border-radius: var(--nos-r-l); box-shadow: var(--nos-sh-2); }
.single-content { font-size: 18px; line-height: 1.78; color: var(--nos-ink-2); }
.single-content > h2 { margin-top: 2.1em; font-size: clamp(24px, 2.1vw, 30px); line-height: 1.2; }
.single-content > h2::after {
	content: "";
	display: block;
	width: 44px;
	height: 6px;
	margin-top: .45em;
	border-radius: 6px;
	background: linear-gradient(90deg, var(--nos-lime), #c7f0a0);
}
.single-content h3 { margin-top: 1.7em; font-size: clamp(20px, 1.6vw, 23px); }
.single-content figure.wp-block-image img,
.single-content .wp-block-embed iframe,
.single-content .wp-block-video video,
.entry-content-wrap .post-thumbnail img { border-radius: var(--nos-r); }
.single-content figcaption { color: var(--nos-muted); font-size: 14px; text-align: center; margin-top: .7em; }
.single-content blockquote, .single-content .wp-block-quote {
	position: relative;
	border: 0;
	background: var(--nos-lilac);
	border-radius: var(--nos-r);
	padding: 1.6em 1.8em 1.4em 4em;
	margin: 2em 0;
	font-size: 1.12em;
	font-weight: 700;
	font-style: normal;
	line-height: 1.55;
	color: var(--nos-ink);
}
.single-content blockquote::before, .single-content .wp-block-quote::before {
	content: "\201C";
	position: absolute;
	left: .45em;
	top: .1em;
	font-size: 3.4em;
	font-weight: 900;
	line-height: 1;
	color: var(--nos-grape-2);
}
.single-content blockquote cite { display: block; margin-top: .6em; font-style: normal; font-size: 14px; font-weight: 700; color: var(--nos-muted); }
.single-content blockquote p:last-of-type { margin-bottom: 0; }
.single-content ul li::marker { color: var(--nos-grape-2); }
.single-content ol li::marker { color: var(--nos-grape); font-weight: 800; }
.single-content hr, .wp-block-separator {
	border: 0 !important;
	height: 8px;
	max-width: 64px;
	margin: 2.6em auto;
	background: radial-gradient(circle, var(--nos-grape-2) 3px, transparent 3.5px) 0 0 / 22px 8px repeat-x;
	opacity: .7;
}
.single-content table, .wp-block-table table {
	border-collapse: separate;
	border-spacing: 0;
	border: 1px solid var(--nos-line);
	border-radius: var(--nos-r-s);
	overflow: hidden;
	background: #fff;
	font-size: 16px;
}
.single-content th, .wp-block-table th { background: var(--nos-oat); color: var(--nos-ink); text-align: left; font-weight: 800; }
.single-content td, .single-content th, .wp-block-table td, .wp-block-table th { padding: 12px 14px; border-color: var(--nos-line); }
/* coloured boxes inside articles (buy boxes, tips) get the same soft shape */
.single-content .wp-block-group.has-background,
.single-content .wp-block-columns.has-background,
.single-content .kt-inside-inner-col[style*="background"] { border-radius: var(--nos-r); }

.entry-author, .comment-list .comment-body, #respond, .primary-sidebar .widget {
	background: #fff;
	border: 1px solid var(--nos-line);
	border-radius: var(--nos-r);
	padding: 26px;
	box-shadow: var(--nos-sh-1);
}
.entry-author { background: var(--nos-oat); border: 0; box-shadow: none; }
.entry-author-avatar img { border-radius: 999px; }
.post-navigation .nav-links > div a {
	display: block;
	background: #fff;
	border: 1px solid var(--nos-line);
	border-radius: var(--nos-r);
	padding: 18px 22px;
	box-shadow: var(--nos-sh-1);
	transition: transform .3s var(--nos-ease), box-shadow .3s var(--nos-ease);
}
.post-navigation .nav-links > div a:hover { transform: translateY(-3px); box-shadow: var(--nos-sh-2); }
.post-navigation .post-navigation-sub small { color: var(--nos-grape); font-weight: 800; letter-spacing: .08em; }
.primary-sidebar .widget-title { color: var(--nos-ink); font-weight: 800; }

/* ---------- 8. Forms ---------- */
html body input[type="text"], html body input[type="email"], html body input[type="url"],
html body input[type="password"], html body input[type="search"], html body input[type="number"],
html body input[type="tel"], html body select, html body textarea {
	border: 1.5px solid #e2dcec;
	border-radius: 14px;
	background: #fff;
	color: var(--nos-ink);
	transition: border-color .2s, box-shadow .2s;
}
html body input:focus, html body select:focus, html body textarea:focus {
	border-color: var(--nos-grape-2);
	box-shadow: 0 0 0 4px rgba(138, 86, 204, .16);
	outline: none;
}

/* ---------- 9. Footer: deep purple with one soft curve ---------- */
#colophon { position: relative; margin-top: 90px; }
#colophon::before {
	content: "";
	position: absolute;
	left: 0; right: 0; top: -56px;
	height: 58px;
	background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 58' preserveAspectRatio='none'%3E%3Cpath d='M0 58V30C240 2 480 0 720 18s480 40 720 12v28z' fill='%23200250'/%3E%3C/svg%3E") no-repeat bottom / 100% 100%;
	pointer-events: none;
}
#colophon .site-footer-row-container-inner {
	background: var(--nos-ink) !important;
	color: rgba(255, 255, 255, .78);
	border-top: 0 !important;
}
#colophon, #colophon p, #colophon li, #colophon .widget { color: rgba(255, 255, 255, .78); }
#colophon h1, #colophon h2, #colophon h3, #colophon h4, #colophon h5, #colophon h6, #colophon .widget-title,
#colophon .wp-block-kadence-advancedheading {
	color: var(--nos-lime) !important;
	font-weight: 800;
	letter-spacing: .1em;
	text-transform: uppercase;
	font-size: 13px !important;
}
#colophon a { color: #fff; text-decoration: none; transition: color .2s; }
#colophon a:hover { color: var(--nos-lime); }
#colophon .site-bottom-footer-wrap { font-size: 13.5px; }
#colophon .site-bottom-footer-wrap .site-footer-row-container-inner { border-top: 1px solid rgba(255, 255, 255, .1) !important; }
#colophon .footer-social-wrap .social-button {
	background: rgba(255, 255, 255, .1) !important;
	color: #fff !important;
	border-radius: 999px;
	transition: background .2s, color .2s;
}
#colophon .footer-social-wrap .social-button:hover { background: var(--nos-lime) !important; color: var(--nos-ink) !important; }
#colophon img { border-radius: 12px; }

/* ---------- 10. Shop ---------- */
.woocommerce ul.products li.product.entry.content-bg {
	background: #fff;
	border: 1px solid var(--nos-line);
	border-radius: var(--nos-r);
	padding: 10px 10px 16px;
	box-shadow: var(--nos-sh-1);
	transition: transform .35s var(--nos-ease), box-shadow .35s var(--nos-ease);
}
.woocommerce ul.products li.product.entry.content-bg:hover { transform: translateY(-4px); box-shadow: var(--nos-sh-2); }
.woocommerce ul.products li.product a img,
.woocommerce ul.products li.product .product-thumbnail img { border-radius: calc(var(--nos-r) - 8px); }
.woocommerce ul.products li.product .woocommerce-loop-product__title { font-weight: 800; color: var(--nos-ink); }
.woocommerce div.product .product_title { font-size: clamp(28px, 2.8vw, 38px); font-weight: 900; letter-spacing: -0.025em; }
.woocommerce div.product p.price, .woocommerce div.product span.price,
.woocommerce ul.products li.product .price { font-weight: 800; color: var(--nos-ink); }
.woocommerce div.product p.price ins, .woocommerce ul.products li.product .price ins { text-decoration: none; color: var(--nos-pink); }
.woocommerce div.product div.images img,
.woocommerce div.product .woocommerce-product-gallery__image img { border-radius: var(--nos-r); }
.woocommerce div.product .woocommerce-tabs ul.tabs { border-bottom: 1px solid var(--nos-line); }
.woocommerce div.product .woocommerce-tabs ul.tabs li { background: transparent; border: 0; border-radius: 0; }
.woocommerce div.product .woocommerce-tabs ul.tabs li a { font-weight: 800; color: var(--nos-muted); }
.woocommerce div.product .woocommerce-tabs ul.tabs li.active a { color: var(--nos-ink); box-shadow: inset 0 -3px 0 var(--nos-ink); }
.woocommerce span.onsale {
	background: var(--nos-pink);
	color: #fff;
	border-radius: 999px;
	font-weight: 800;
	letter-spacing: .03em;
	box-shadow: 0 6px 16px -8px rgba(217, 58, 118, .7);
}
.woocommerce-message, .woocommerce-info, .woocommerce-error, .wc-block-components-notice-banner {
	border-radius: var(--nos-r-s);
	border-top: 0 !important;
	box-shadow: var(--nos-sh-1);
	background: #fff;
}
.woocommerce-cart table.cart, .woocommerce-checkout-review-order-table, .cart_totals table {
	background: #fff;
	border: 1px solid var(--nos-line) !important;
	border-radius: var(--nos-r);
	overflow: hidden;
}

/* ---------- 11. Small touches ---------- */
#kt-scroll-up, .scroll-up-wrap .scroll-up-button {
	border-radius: 999px !important;
	background: var(--nos-ink) !important;
	color: #fff !important;
	box-shadow: var(--nos-sh-btn);
}
.pagination .page-numbers { border-radius: 999px; border: 1px solid var(--nos-line); background: #fff; font-weight: 800; color: var(--nos-ink); }
.pagination .page-numbers.current, .pagination .page-numbers:hover { background: var(--nos-ink); color: #fff; border-color: var(--nos-ink); }
.kadence-breadcrumbs, .rank-math-breadcrumb { color: var(--nos-muted); font-size: 13.5px; font-weight: 600; }

@media (max-width: 767px) {
	.single-content { font-size: 17px; }
	.single-content blockquote, .single-content .wp-block-quote { padding: 1.3em 1.3em 1.2em 3.2em; }
}
@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	*, *::before, *::after { transition: none !important; animation: none !important; }
	.loop-entry:hover, .button:hover, .wp-block-button__link:hover, .kb-button:hover,
	.woocommerce ul.products li.product.entry.content-bg:hover { transform: none !important; }
}

/* ---------- 12. Homepage welcome section ---------- */
.nos-hero {
	position: relative;
	overflow: hidden;
	background:
		radial-gradient(60% 80% at 92% 10%, rgba(239, 233, 251, .9), transparent 60%),
		radial-gradient(50% 70% at 0% 100%, rgba(226, 243, 234, .9), transparent 60%),
		var(--nos-oat);
	padding: clamp(36px, 5vw, 72px) 24px clamp(56px, 6vw, 88px);
}
.nos-hero__inner {
	max-width: 1240px;
	margin: 0 auto;
	display: grid;
	grid-template-columns: 1.05fr .95fr;
	gap: clamp(32px, 5vw, 72px);
	align-items: center;
}
.nos-eyebrow {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	margin: 0 0 18px;
	padding: 7px 14px 7px 10px;
	background: #fff;
	border-radius: 999px;
	box-shadow: var(--nos-sh-1);
	color: var(--nos-ink);
	font-size: 13px;
	font-weight: 800;
	letter-spacing: .04em;
}
.nos-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--nos-lime); box-shadow: 0 0 0 3px #e9f08a; }
html body .nos-hero__title {
	margin: 0 0 20px;
	font-size: clamp(38px, 4.3vw, 58px);
	line-height: 1.04;
	font-weight: 900;
	letter-spacing: -0.035em;
	color: var(--nos-ink);
}
.nos-hero__title span {
	background: linear-gradient(transparent 62%, var(--nos-lime) 62%, var(--nos-lime) 92%, transparent 92%);
	padding: 0 .06em;
	-webkit-box-decoration-break: clone;
	box-decoration-break: clone;
}
.nos-hero__lede { max-width: 33em; margin: 0 0 30px; font-size: clamp(18px, 1.5vw, 21px); line-height: 1.6; color: var(--nos-ink-2); }
.nos-hero__ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 26px; }
.nos-btn {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	padding: 16px 26px;
	border-radius: 999px;
	font-weight: 800;
	font-size: 16px;
	text-decoration: none !important;
	transition: transform .25s var(--nos-ease), box-shadow .25s var(--nos-ease), background .2s;
}
.nos-btn--primary { background: var(--nos-ink); color: #fff !important; box-shadow: var(--nos-sh-btn); }
.nos-btn--primary::after { content: "\2192"; transition: transform .25s var(--nos-ease); }
.nos-btn--primary:hover { background: #34107a; transform: translateY(-2px); }
.nos-btn--primary:hover::after { transform: translateX(4px); }
.nos-btn--ghost { background: #fff; color: var(--nos-ink) !important; box-shadow: inset 0 0 0 1.5px rgba(32, 2, 80, .18); }
.nos-btn--ghost:hover { box-shadow: inset 0 0 0 1.5px var(--nos-ink); transform: translateY(-2px); }
.nos-hero__trust { margin: 0; color: var(--nos-muted); font-size: 14px; }
.nos-hero__trust strong { color: var(--nos-ink); font-weight: 800; }

.nos-hero__art { position: relative; aspect-ratio: 1 / 1; max-width: 500px; justify-self: end; width: 100%; }
.nos-hero__blob {
	position: absolute;
	inset: 6% 2% 4% 8%;
	background: linear-gradient(140deg, #d9cdf6, #c7ecf8);
	border-radius: 58% 42% 46% 54% / 46% 56% 44% 54%;
	transform: rotate(-6deg);
}
.nos-hero__photo {
	position: absolute;
	inset: 2% 6% 10% 4%;
	overflow: hidden;
	border-radius: 46% 54% 50% 50% / 52% 46% 54% 48%;
	box-shadow: 0 30px 60px -30px rgba(32, 2, 80, .5);
}
.nos-hero__photo img, .nos-hero__inset img { width: 100%; height: 100%; object-fit: cover; display: block; }
.nos-hero__inset {
	position: absolute;
	width: 34%;
	aspect-ratio: 1;
	right: 0;
	bottom: 4%;
	border-radius: 50%;
	overflow: hidden;
	border: 6px solid #fff;
	box-shadow: var(--nos-sh-2);
}
.nos-chip {
	position: absolute;
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 10px 16px 10px 10px;
	background: #fff;
	border-radius: 18px;
	box-shadow: var(--nos-sh-2);
	font-size: 13px;
	line-height: 1.3;
	color: var(--nos-muted);
	animation: nos-float 6s ease-in-out infinite;
}
.nos-chip strong { color: var(--nos-ink); font-weight: 800; font-size: 14px; }
.nos-chip--a { left: -4%; top: 14%; }
.nos-chip--b { left: 6%; bottom: 6%; animation-delay: -3s; }
.nos-chip__icon {
	display: grid;
	place-items: center;
	width: 36px;
	height: 36px;
	border-radius: 12px;
	background: var(--nos-lime);
	color: var(--nos-ink);
	font-size: 17px;
}
.nos-chip__icon--mint { background: var(--nos-mint); color: #1d7550; }
@keyframes nos-float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }

/* ideas by age */
.nos-ages { padding: 0 24px; margin-top: -34px; position: relative; z-index: 2; }
.nos-ages__inner {
	max-width: 1240px;
	margin: 0 auto;
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 16px;
}
.nos-age {
	position: relative;
	display: flex;
	flex-direction: column;
	gap: 6px;
	padding: 22px 22px 24px;
	background: #fff;
	border-radius: var(--nos-r);
	box-shadow: var(--nos-sh-2);
	text-decoration: none !important;
	overflow: hidden;
	transition: transform .3s var(--nos-ease), box-shadow .3s var(--nos-ease);
}
.nos-age::before {
	content: "";
	position: absolute;
	right: -30px;
	top: -30px;
	width: 110px;
	height: 110px;
	border-radius: 50%;
	background: var(--nos-age, var(--nos-lilac));
	transition: transform .4s var(--nos-ease);
}
.nos-age:hover { transform: translateY(-4px); }
.nos-age:hover::before { transform: scale(1.25); }
.nos-age--sky { --nos-age: var(--nos-sky); --nos-age-ink: #0d6c8c; }
.nos-age--mint { --nos-age: var(--nos-mint); --nos-age-ink: #1d7550; }
.nos-age--peach { --nos-age: var(--nos-peach); --nos-age-ink: #a3511a; }
.nos-age--lilac { --nos-age: var(--nos-lilac); --nos-age-ink: #5b2a9c; }
.nos-age__kicker { position: relative; font-size: 11.5px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--nos-age-ink); }
.nos-age__title { position: relative; font-size: 22px; font-weight: 900; letter-spacing: -0.02em; color: var(--nos-ink); }
.nos-age__text { position: relative; font-size: 15px; line-height: 1.5; color: var(--nos-muted); padding-right: 24px; }
.nos-age__go {
	position: absolute;
	right: 18px;
	bottom: 18px;
	width: 34px;
	height: 34px;
	display: grid;
	place-items: center;
	border-radius: 50%;
	background: var(--nos-age);
	color: var(--nos-age-ink);
	font-weight: 900;
	transition: transform .25s var(--nos-ease);
}
.nos-age:hover .nos-age__go { transform: translateX(3px); }
.home #primary { padding-top: 24px; }
/* tidy the existing homepage blocks under the welcome section */
.home .entry-content > .kb-row-layout-wrap { border-radius: var(--nos-r-l); }
/* a smaller, neater header */
#masthead .site-main-header-inner-wrap { min-height: 84px !important; }
#masthead .site-branding img.custom-logo { max-height: 70px; width: auto; }

@media (max-width: 1024px) {
	.nos-hero__inner { grid-template-columns: 1fr; }
	.nos-hero__art { justify-self: center; max-width: 460px; }
	.nos-ages__inner { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
	.nos-ages__inner { grid-template-columns: 1fr; }
	.nos-chip { font-size: 12px; }
	.nos-chip--a { left: 0; }
	.nos-btn { width: 100%; justify-content: center; }
}
@media (prefers-reduced-motion: reduce) { .nos-chip { animation: none; } }

/* ---------- 13. Bring older hand-styled boxes and buttons inside articles into the new look ---------- */
.entry-content div[style*="border:2px solid #1d7151"] {
	border: 0 !important;
	background: var(--nos-mint) !important;
	border-radius: var(--nos-r) !important;
	padding: 22px !important;
}
.entry-content div[style*="border:2px dashed #e63394"],
.entry-content div[style*="border:2px solid #f3c6dc"] {
	border: 1.5px dashed rgba(217, 58, 118, .35) !important;
	background: var(--nos-blush) !important;
	border-radius: var(--nos-r) !important;
}
.entry-content a[style*="background:#1d7151"],
.entry-content a[style*="background:#e63394"],
.entry-content a[style*="background: #1d7151"],
.entry-content a[style*="background: #e63394"] {
	background: var(--nos-ink) !important;
	color: #fff !important;
	border-radius: 999px !important;
	padding: 14px 24px !important;
	box-shadow: var(--nos-sh-btn);
	transition: transform .25s var(--nos-ease), background .2s;
}
.entry-content a[style*="background:#e63394"], .entry-content a[style*="background: #e63394"] { background: var(--nos-pink) !important; }
.entry-content a[style*="background:#1d7151"]:hover, .entry-content a[style*="background:#e63394"]:hover { transform: translateY(-2px); }
.entry-content img[style*="border-radius:8px"] { border-radius: 14px !important; }
.single .single-entry.content-bg, .page .single-entry.content-bg { border-radius: var(--nos-r-l); }

/* shop grid buttons and page title follow the theme (overrides older Customizer CSS) */
html body ul.products li.product .button,
html body ul.products li.product .add_to_cart_button {
	background: var(--nos-ink) !important;
	color: #fff !important;
	text-transform: none !important;
	letter-spacing: 0 !important;
	border-radius: 999px !important;
	box-shadow: var(--nos-sh-btn);
}
html body ul.products li.product .button:hover { background: #34107a !important; }
html body .woocommerce-products-header__title, html body.woocommerce-shop .entry-hero .entry-title,
html body.woocommerce-shop h1.page-title { color: var(--nos-ink) !important; font-weight: 900; }

/* ==========================================================================
   14. v4.1 polish (25 Nov): calmer headlines, cleaner header and footer,
   tidy images inside articles
   ========================================================================== */

/* admin-only Rank Math stats bar (visitors never see it) */
#rank-math-analytics-stats-wrapper { display: none !important; }

/* social icons no longer hang down the right of the page; they live in the footer */
@media (min-width: 1025px) {
	#masthead .site-header-main-section-right .header-social-wrap { display: none !important; }
}
#masthead .site-header-main-section-right { gap: 6px; }

/* post header: category chips without the "|" separators, quieter meta */
.entry-header .entry-taxonomies .category-links { font-size: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.entry-header .entry-taxonomies .category-links a { font-size: 11px; margin: 0; }
html body .entry-header h1.entry-title { text-wrap: balance; margin-top: .35em; }
.single .entry-header { margin-bottom: 1.4em; }

/* ---- images inside articles ---- */
.single-content figure.wp-block-image,
.single-content .wp-block-image figure { margin-top: 2em; margin-bottom: 2em; }
.single-content figure.aligncenter,
.single-content .wp-block-image figure.aligncenter,
.single-content .wp-block-image.aligncenter {
	display: table;
	width: auto;
	max-width: min(100%, 680px);
	margin-left: auto !important;
	margin-right: auto !important;
	float: none;
	text-align: center;
}
.single-content figure.aligncenter img,
.single-content .wp-block-image .aligncenter img { margin: 0 auto; }
.single-content img.aligncenter { display: block; max-width: min(100%, 680px); height: auto; margin: 2em auto; }
.single-content figure.wp-block-image img,
.single-content .wp-block-image figure img,
.single-content figure.aligncenter img,
.single-content figure.nos-wrap img,
.single-content img.aligncenter,
.single-content img.nos-wrap {
	border-radius: 18px;
	box-shadow: 0 1px 2px rgba(32, 2, 80, .05), 0 14px 32px -18px rgba(32, 2, 80, .35);
}
.single-content figure.aligncenter figcaption,
.single-content figure.wp-block-image figcaption { caption-side: bottom; display: table-caption; padding-top: .7em; }
/* small images the author placed left or right still wrap beside the text */
.single-content .nos-wrap-left,
.single-content img.nos-wrap-left { float: left; max-width: 42%; margin: .35em 1.8em 1em 0 !important; }
.single-content .nos-wrap-right,
.single-content img.nos-wrap-right { float: right; max-width: 42%; margin: .35em 0 1em 1.8em !important; }
.single-content h2, .single-content h3, .single-content .wp-block-buttons,
.single-content .wp-block-table, .single-content hr, .single-content .wp-block-separator { clear: both; }
.single-content::after { content: ""; display: table; clear: both; }
/* videos and embeds sit centred too */
.single-content .wp-block-video, .single-content .wp-block-embed { max-width: 680px; margin-left: auto; margin-right: auto; }
.single-content .wp-block-video video { width: 100%; box-shadow: var(--nos-sh-2); }
@media (max-width: 767px) {
	.single-content .nos-wrap-left, .single-content .nos-wrap-right,
	.single-content img.nos-wrap-left, .single-content img.nos-wrap-right {
		float: none; max-width: 100%; display: table; margin: 1.6em auto !important;
	}
}

/* ---- footer ---- */
/* the Amazon / affiliate line now sits in the copyright row (old widget hidden once it is there) */
body:has(.nos-fine-print) #colophon #block-17 { display: none !important; }
#colophon #block-17 p { flex: 1 1 100%; width: auto !important; max-width: 720px !important; margin: 24px auto 0 !important; text-align: center; color: rgba(255, 255, 255, .62) !important; }
/* the Audible banner sits at a sensible size */
#colophon #block-16 { max-width: 640px; margin-left: auto; margin-right: auto; }
#colophon #block-16 img { width: 100%; height: auto; }
/* copyright row: copyright, follow links, fine print */
#colophon .site-bottom-footer-wrap .footer-html-inner,
#colophon .site-bottom-footer-wrap .footer-html { text-align: center; }
.nos-follow {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	align-items: center;
	gap: 8px 10px;
	margin: 18px auto 0;
	text-transform: none;
	letter-spacing: 0;
}
.nos-follow__label { color: var(--nos-lime); font-size: 12px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; margin-right: 6px; }
html body .nos-follow a {
	color: #fff !important;
	text-decoration: none !important;
	font-size: 13.5px;
	font-weight: 700;
	letter-spacing: 0;
	text-transform: none;
	padding: 6px 14px;
	border-radius: 999px;
	background: rgba(255, 255, 255, .08);
	transition: background .2s, color .2s;
}
html body .nos-follow a:hover { background: var(--nos-lime); color: var(--nos-ink) !important; }
.nos-fine-print {
	display: block;
	max-width: 720px;
	margin: 16px auto 0;
	font-size: 12.5px;
	line-height: 1.6;
	font-weight: 500;
	letter-spacing: 0;
	text-transform: none;
	color: rgba(255, 255, 255, .58);
}
.nos-footer-extras { background: var(--nos-ink); padding: 6px 24px 28px; text-align: center; }

/* ---- homepage below the welcome section ---- */
.home .kb-posts .loop-entry .entry-title,
.home .wp-block-kadence-posts .entry-title { font-size: 18px; line-height: 1.3; }
.home .entry-content > .kb-row-layout-wrap figure img,
.home .entry-content .wp-block-image img { border-radius: 18px; }
.home .entry-content > .wp-block-heading { font-size: clamp(26px, 2.4vw, 34px); }

/* ==========================================================================
   15. v4.2 colour pass: posts get the Five for a Fiver warmth
   Logo colours used as small, repeating accents; pastels as backgrounds.
   ========================================================================== */
html:root {
	--nos-c-pink: #ec5f99;
	--nos-c-sun: #ffc93c;
	--nos-c-leaf: #3dbb7d;
	--nos-c-sea: #2fa6dc;
	--nos-c-grape: #8a56cc;
	--nos-c-orange: #ff8a47;
	--nos-hand: "Caveat", "Segoe Print", "Bradley Hand", cursive;
}

/* a thin rainbow strip under the header, like the colour bar on Five for a Fiver */
#masthead { position: relative; }
#masthead::after {
	content: "";
	display: block;
	height: 5px;
	background: linear-gradient(90deg,
		var(--nos-c-pink) 0 20%, var(--nos-c-sun) 20% 40%, var(--nos-c-leaf) 40% 60%,
		var(--nos-c-sea) 60% 80%, var(--nos-c-grape) 80% 100%);
}

/* ---- post header ---- */
.single .entry-content-wrap {
	background:
		radial-gradient(circle at 100% 0, rgba(255, 201, 60, .22) 0, transparent 260px),
		radial-gradient(circle at 0 0, rgba(236, 95, 153, .12) 0, transparent 300px),
		linear-gradient(180deg, var(--nos-lilac) 0, #fff 420px);
}
.nos-kicker {
	margin: 0 0 .35em !important;
	font-family: var(--nos-hand);
	font-weight: 700;
	font-size: clamp(24px, 2.2vw, 30px);
	line-height: 1.1;
	color: var(--nos-pink);
	transform: rotate(-1.5deg);
	transform-origin: left center;
}
.single .entry-header .entry-taxonomies .category-links a:nth-child(5n+1) { --nos-tint: var(--nos-blush); --nos-tint-ink: #a8285a; }
.single .entry-header .entry-taxonomies .category-links a:nth-child(5n+2) { --nos-tint: var(--nos-sky); --nos-tint-ink: #0d6c8c; }
.single .entry-header .entry-taxonomies .category-links a:nth-child(5n+3) { --nos-tint: var(--nos-mint); --nos-tint-ink: #1d7550; }
.single .entry-header .entry-taxonomies .category-links a:nth-child(5n+4) { --nos-tint: var(--nos-peach); --nos-tint-ink: #a3511a; }
.single .entry-header .entry-taxonomies .category-links a:nth-child(5n+5) { --nos-tint: var(--nos-butter); --nos-tint-ink: #6f6410; }

/* ---- opening: disclosure note and lead ---- */
.single-content p.nos-note {
	background: #fff4c7;
	border-radius: 16px;
	padding: .9em 1.2em;
	font-size: 14.5px;
	line-height: 1.6;
	color: #5d5418;
	margin: 0 0 1.6em;
}
.single-content p.nos-note strong:first-child {
	display: inline-block;
	margin-right: .35em;
	padding: 0 .55em;
	border-radius: 999px;
	background: var(--nos-c-sun);
	color: #3d3200;
	font-size: 12px;
	letter-spacing: .06em;
	text-transform: uppercase;
}
.single-content p.nos-lead {
	font-size: 1.14em;
	line-height: 1.6;
	font-weight: 600;
	color: var(--nos-ink);
}

/* ---- "In this article" ---- */
.nos-toc {
	margin: 2em 0 2.4em;
	padding: 1.4em 1.6em 1.5em;
	border-radius: 24px;
	background: var(--nos-mint);
}
.nos-toc__title {
	margin: 0 0 .5em !important;
	font-family: var(--nos-hand);
	font-weight: 700;
	font-size: 28px;
	line-height: 1;
	color: #1d7550;
}
.nos-toc__list {
	list-style: none;
	margin: 0 !important;
	padding: 0 !important;
	counter-reset: nos-toc;
	columns: 2 260px;
	column-gap: 2em;
}
.nos-toc__list li {
	counter-increment: nos-toc;
	break-inside: avoid;
	display: flex;
	gap: .6em;
	align-items: flex-start;
	margin: 0 0 .55em !important;
	padding: 0 !important;
	font-size: 15.5px;
	line-height: 1.4;
}
.nos-toc__list li::before {
	content: counter(nos-toc);
	flex: 0 0 1.75em;
	height: 1.75em;
	border-radius: 50%;
	display: grid;
	place-items: center;
	font-size: 12.5px;
	font-weight: 900;
	color: #fff;
	background: var(--nos-c-leaf);
	margin-top: -.05em;
}
.nos-toc__list li:nth-child(5n+2)::before { background: var(--nos-c-sea); }
.nos-toc__list li:nth-child(5n+3)::before { background: var(--nos-c-pink); }
.nos-toc__list li:nth-child(5n+4)::before { background: var(--nos-c-orange); }
.nos-toc__list li:nth-child(5n+5)::before { background: var(--nos-c-grape); }
.nos-toc__list a { color: var(--nos-ink) !important; font-weight: 700; text-decoration: none !important; }
.nos-toc__list a:hover { text-decoration: underline !important; text-decoration-color: var(--nos-c-leaf) !important; }
.single-content h2[id] { scroll-margin-top: 110px; }

/* ---- headings take turns with the logo colours ---- */
.single-content > h2::after { width: 56px; height: 7px; background: var(--nos-c-pink); }
.single-content > h2:nth-of-type(5n+2)::after { background: var(--nos-c-sea); }
.single-content > h2:nth-of-type(5n+3)::after { background: var(--nos-c-sun); }
.single-content > h2:nth-of-type(5n+4)::after { background: var(--nos-c-leaf); }
.single-content > h2:nth-of-type(5n+5)::after { background: var(--nos-c-grape); }
.single-content > h3 { position: relative; padding-left: .95em; }
.single-content > h3::before {
	content: "";
	position: absolute;
	left: 0;
	top: .38em;
	width: .5em;
	height: .5em;
	border-radius: 50%;
	background: var(--nos-c-orange);
}
.single-content > h3:nth-of-type(4n+2)::before { background: var(--nos-c-sea); }
.single-content > h3:nth-of-type(4n+3)::before { background: var(--nos-c-leaf); }
.single-content > h3:nth-of-type(4n+4)::before { background: var(--nos-c-pink); }

/* ---- lists ---- */
.single-content > ul li::marker { font-size: 1.15em; color: var(--nos-c-pink); }
.single-content > ul li:nth-child(4n+2)::marker { color: var(--nos-c-sea); }
.single-content > ul li:nth-child(4n+3)::marker { color: var(--nos-c-leaf); }
.single-content > ul li:nth-child(4n+4)::marker { color: var(--nos-c-orange); }
.single-content > ol li::marker { color: var(--nos-c-pink); font-weight: 900; }

/* ---- boxes ---- */
.single-content .wp-block-quote, .single-content blockquote { background: var(--nos-blush); }
.single-content .wp-block-quote::before, .single-content blockquote::before { color: var(--nos-c-pink); }
.single-content .wp-block-quote:nth-of-type(3n+2), .single-content blockquote:nth-of-type(3n+2) { background: var(--nos-sky); }
.single-content .wp-block-quote:nth-of-type(3n+2)::before, .single-content blockquote:nth-of-type(3n+2)::before { color: var(--nos-c-sea); }
.single-content .wp-block-quote:nth-of-type(3n+3), .single-content blockquote:nth-of-type(3n+3) { background: var(--nos-peach); }
.single-content .wp-block-quote:nth-of-type(3n+3)::before, .single-content blockquote:nth-of-type(3n+3)::before { color: var(--nos-c-orange); }
.single-content .wp-block-kadence-infobox .kt-blocks-info-box-link-wrap {
	background: var(--nos-sky) !important;
	border: 0 !important;
	border-radius: 24px !important;
	padding: 1.6em 1.8em !important;
}
.single-content .wp-block-kadence-infobox .kt-blocks-info-box-title { color: var(--nos-ink) !important; }
.single-content .wp-block-kadence-infobox .kt-blocks-info-box-text { color: var(--nos-ink-2) !important; }
.single-content .wp-block-kadence-infobox .kadence-info-box-icon-inner-container,
.single-content .wp-block-kadence-infobox .kadence-info-box-icon-container { color: var(--nos-c-sea) !important; }
.single-content .wp-block-table thead th, .single-content table th { background: var(--nos-lilac); color: var(--nos-ink); }
.single-content .wp-block-table tbody tr:nth-child(even) td { background: #fbf8ff; }
.single-content hr, .single-content .wp-block-separator {
	max-width: 110px;
	opacity: 1;
	background:
		radial-gradient(circle, var(--nos-c-pink) 4px, transparent 4.5px) 0 0 / 22px 10px no-repeat,
		radial-gradient(circle, var(--nos-c-sun) 4px, transparent 4.5px) 22px 0 / 22px 10px no-repeat,
		radial-gradient(circle, var(--nos-c-leaf) 4px, transparent 4.5px) 44px 0 / 22px 10px no-repeat,
		radial-gradient(circle, var(--nos-c-sea) 4px, transparent 4.5px) 66px 0 / 22px 10px no-repeat,
		radial-gradient(circle, var(--nos-c-grape) 4px, transparent 4.5px) 88px 0 / 22px 10px no-repeat;
	height: 10px;
}

@media (max-width: 767px) {
	.nos-toc { padding: 1.2em 1.2em 1.3em; }
	.single .entry-content-wrap { background: linear-gradient(180deg, var(--nos-lilac) 0, #fff 300px); }
}

/* ==========================================================================
   16. v4.3: free calendar box inside posts, long contents boxes fold away
   ========================================================================== */
.nos-cal {
	display: grid;
	grid-template-columns: 0.9fr 1.1fr;
	gap: 22px;
	align-items: center;
	margin: 2.4em 0;
	padding: 20px;
	border-radius: 26px;
	background: linear-gradient(135deg, #e1f3fb 0%, #efe9fb 100%);
	clear: both;
}
.nos-cal__img img { display: block; width: 100%; height: auto; border-radius: 16px; box-shadow: 0 14px 30px -16px rgba(32, 2, 80, .45); }
.single-content .nos-cal p { margin: 0; }
.single-content .nos-cal .nos-cal__kicker { font-family: var(--nos-hand); font-weight: 700; font-size: 26px; line-height: 1; color: var(--nos-pink); margin-bottom: 4px; }
.single-content .nos-cal .nos-cal__title { font-size: 22px; line-height: 1.2; font-weight: 900; color: var(--nos-ink); margin-bottom: 8px; }
.single-content .nos-cal .nos-cal__sub { font-size: 15.5px; line-height: 1.55; color: var(--nos-ink-2); margin-bottom: 14px; }
.single-content a.nos-cal__btn {
	display: inline-block;
	background: #e63394;
	color: #fff !important;
	text-decoration: none !important;
	font-weight: 900;
	padding: 12px 22px;
	border-radius: 999px;
	box-shadow: 0 12px 24px -12px rgba(230, 51, 148, .7);
}
.single-content a.nos-cal__btn:hover { background: #c92a7f; }
details.nos-toc--long > summary { list-style: none; cursor: pointer; display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; }
details.nos-toc--long > summary::-webkit-details-marker { display: none; }
details.nos-toc--long .nos-toc__title { margin: 0 !important; }
details.nos-toc--long .nos-toc__more { font-size: 14px; font-weight: 800; color: #1d7550; text-decoration: underline; text-underline-offset: 3px; }
details.nos-toc--long[open] .nos-toc__more { display: none; }
details.nos-toc--long[open] .nos-toc__list { margin-top: .7em !important; }
@media (max-width: 767px) {
	.nos-cal { grid-template-columns: 1fr; padding: 16px; }
}
