/*
Theme Name: Newsroom
Theme URI: https://iqbalmahmud.com
Author: Md. Iqbal Mahmud
Author URI: https://iqbalmahmud.com
Description: A fast, SEO-first block theme for newsrooms and magazines. Newspaper-style front page, story spotlights, events and jobs, with brand style variations (Amplify-HER, Executive, Studio). Requires the Newsroom Core plugin.
Version: 1.0.0
Requires at least: 6.6
Tested up to: 7.1
Requires PHP: 8.1
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: newsroom
Tags: news, blog, full-site-editing, block-patterns, style-variations, wide-blocks, custom-colors, editor-style, accessibility-ready
*/

/* ==========================================================================
   Dark mode: follows the device setting, or the reader's choice from the
   toggle (stored as data-theme on <html>). Each style variation ships its
   own dark palette in settings.custom.dark.
   ========================================================================== */
:root:root[data-theme="dark"] {
	--wp--preset--color--base: var(--wp--custom--dark--base);
	--wp--preset--color--paper: var(--wp--custom--dark--paper);
	--wp--preset--color--ink: var(--wp--custom--dark--ink);
	--wp--preset--color--muted: var(--wp--custom--dark--muted);
	--wp--preset--color--line: var(--wp--custom--dark--line);
	--wp--preset--color--soft: var(--wp--custom--dark--soft);
	--wp--preset--color--accent: var(--wp--custom--dark--accent);
	--wp--preset--color--accent-ink: var(--wp--custom--dark--accent-ink);
	--wp--preset--color--plum: var(--wp--custom--dark--plum);
	--wp--preset--color--plum-2: var(--wp--custom--dark--plum-2);
	--wp--preset--color--violet: var(--wp--custom--dark--violet);
	color-scheme: dark;
}
@media (prefers-color-scheme: dark) {
	:root:root:not([data-theme="light"]) {
	--wp--preset--color--base: var(--wp--custom--dark--base);
	--wp--preset--color--paper: var(--wp--custom--dark--paper);
	--wp--preset--color--ink: var(--wp--custom--dark--ink);
	--wp--preset--color--muted: var(--wp--custom--dark--muted);
	--wp--preset--color--line: var(--wp--custom--dark--line);
	--wp--preset--color--soft: var(--wp--custom--dark--soft);
	--wp--preset--color--accent: var(--wp--custom--dark--accent);
	--wp--preset--color--accent-ink: var(--wp--custom--dark--accent-ink);
	--wp--preset--color--plum: var(--wp--custom--dark--plum);
	--wp--preset--color--plum-2: var(--wp--custom--dark--plum-2);
	--wp--preset--color--violet: var(--wp--custom--dark--violet);
	color-scheme: dark;
	}
	:root:not([data-theme="light"]) .nr-toggle__sun { display: block; }
	:root:not([data-theme="light"]) .nr-toggle__moon { display: none; }
}
[data-theme="dark"] .nr-toggle__sun { display: block; }
[data-theme="dark"] .nr-toggle__moon { display: none; }
[data-theme="dark"] .nr-img__el { filter: brightness(.92); }

/* ==========================================================================
   Base
   ========================================================================== */
:root {
	--nr-display: var(--wp--custom--font--display, var(--wp--preset--font-family--display));
	--nr-r: var(--wp--custom--radius--md, 18px);
	--nr-r-lg: var(--wp--custom--radius--lg, 28px);
	--nr-r-sm: var(--wp--custom--radius--sm, 10px);
	--nr-shadow: var(--wp--custom--shadow--soft);
	--nr-shadow-hi: var(--wp--custom--shadow--lift);
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-padding-top: 140px; -webkit-text-size-adjust: 100%; }
body {
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
	overflow-x: clip;
	background:
		radial-gradient(60vw 40vw at 100% -10%, color-mix(in srgb, var(--wp--preset--color--accent) 7%, transparent), transparent 70%),
		radial-gradient(50vw 40vw at -10% 30%, color-mix(in srgb, var(--wp--preset--color--violet) 6%, transparent), transparent 70%),
		var(--wp--preset--color--base);
	background-attachment: fixed;
}
::selection { background: color-mix(in srgb, var(--wp--preset--color--accent) 25%, transparent); }
:focus-visible { outline: 2.5px solid var(--wp--preset--color--accent); outline-offset: 3px; border-radius: 6px; }
img { max-width: 100%; height: auto; }
a { text-underline-offset: .18em; text-decoration-thickness: 1px; }
.wp-site-blocks { padding-top: 0; }
.wp-site-blocks > * + * { margin-block-start: 0; }
.skip-link.screen-reader-text:focus { z-index: 100000; background: var(--wp--preset--color--paper); padding: 12px 18px; border-radius: 99px; box-shadow: var(--nr-shadow-hi); }
.nr-main { padding-block: clamp(18px, 3vw, 34px); }
.nr-main > * + * { margin-block-start: clamp(30px, 4.5vw, 52px); }

/* ==========================================================================
   Header
   ========================================================================== */
.nr-header {
	position: sticky;
	top: var(--wp-admin--admin-bar--height, 0px);
	z-index: 50;
	background: color-mix(in srgb, var(--wp--preset--color--paper) 82%, transparent);
	-webkit-backdrop-filter: saturate(1.6) blur(16px);
	backdrop-filter: saturate(1.6) blur(16px);
	border-bottom: 1px solid var(--wp--preset--color--line);
	transition: box-shadow .3s;
}
.nr-header.is-scrolled { box-shadow: 0 10px 30px -18px color-mix(in srgb, var(--wp--preset--color--plum) 45%, transparent); }
.nr-header > * { margin-block: 0 !important; }
@media (max-width: 600px) { .admin-bar .nr-header { top: 0; } }

.nr-topbar { border-bottom: 1px solid var(--wp--preset--color--line); overflow: hidden; max-height: 48px; transition: max-height .35s cubic-bezier(.22,1,.36,1), opacity .25s; }
.nr-topbar__in { padding-block: 6px; gap: 12px; }
.nr-topbar .nr-social a { width: 30px; height: 30px; border-width: 0; color: var(--wp--preset--color--muted); }
.nr-topbar .nr-social a:hover { color: var(--wp--preset--color--accent); background: var(--wp--preset--color--soft); }
.nr-topbar .nr-social .nr-icon { width: 15px; height: 15px; }
.nr-header.is-scrolled .nr-topbar { max-height: 0; opacity: 0; border-bottom-width: 0; }

.nr-mast__in { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 12px; padding-block: 14px; transition: padding .3s; }
.nr-header.is-scrolled .nr-mast__in { padding-block: 8px; }
.nr-header.is-scrolled .nr-wordmark__w { font-size: clamp(26px, 3.4vw, 38px); }
.nr-header.is-scrolled .nr-wordmark__k { display: none; }
.nr-mast__in > * { margin: 0 !important; }
.nr-mast__l { gap: 4px; }
.nr-mast__r { justify-content: flex-end; }
.nr-wordmark__w { transition: font-size .3s cubic-bezier(.22,1,.36,1); }

/* Menu button + drawer (core Navigation overlay) */
.nr-menu .wp-block-navigation__responsive-container-open,
.nr-search-toggle .wp-block-search__button {
	width: 44px; height: 44px; display: grid; place-items: center; border-radius: 50%;
	background: transparent; color: var(--wp--preset--color--ink); border: 0; padding: 0; cursor: pointer;
	transition: background .2s, color .2s;
}
.nr-menu .wp-block-navigation__responsive-container-open:hover,
.nr-search-toggle .wp-block-search__button:hover { background: var(--wp--preset--color--soft); color: var(--wp--preset--color--accent); }
.nr-menu .wp-block-navigation__responsive-container-open svg { width: 26px; height: 26px; }
.nr-search-toggle .wp-block-search__button svg { width: 24px; height: 24px; fill: currentColor; }
.nr-search-toggle .wp-block-search__inside-wrapper { border: 0; padding: 0; }
.nr-search-toggle .wp-block-search__button { background: transparent !important; box-shadow: none !important; transform: none !important; }
.nr-search-toggle:not(.wp-block-search__searchfield-hidden) .wp-block-search__inside-wrapper { background: var(--wp--preset--color--paper); border-radius: 99px; box-shadow: inset 0 0 0 1.5px var(--wp--preset--color--line); padding-left: 14px; }
.nr-search-toggle .wp-block-search__input { border: 0; background: transparent; font-size: 16px; min-width: 0; }

.wp-block-navigation__responsive-container.is-menu-open {
	inset: 0 auto 0 0 !important; width: min(380px, 90vw); padding: calc(18px + var(--wp-admin--admin-bar--height, 0px)) 22px 28px !important;
	background: radial-gradient(120% 70% at 100% 0%, color-mix(in srgb,var(--wp--preset--color--accent) 25%,transparent), transparent 60%), linear-gradient(170deg, var(--wp--preset--color--plum-2), var(--wp--preset--color--plum)) !important;
	color: #f5eff8 !important; box-shadow: 30px 0 80px -20px #0006;
}
@media (prefers-reduced-motion: no-preference) {
	.wp-block-navigation__responsive-container.is-menu-open { animation: nr-drawer .4s cubic-bezier(.22,1,.36,1) both !important; }
	@keyframes nr-drawer { from { transform: translateX(-100%); opacity: .6; } }
	.is-menu-open .wp-block-navigation-item { animation: nr-rise .5s cubic-bezier(.22,1,.36,1) both; }
	.is-menu-open .wp-block-navigation-item:nth-child(2) { animation-delay: .04s; }
	.is-menu-open .wp-block-navigation-item:nth-child(3) { animation-delay: .08s; }
	.is-menu-open .wp-block-navigation-item:nth-child(4) { animation-delay: .12s; }
	.is-menu-open .wp-block-navigation-item:nth-child(5) { animation-delay: .16s; }
	.is-menu-open .wp-block-navigation-item:nth-child(6) { animation-delay: .2s; }
	.is-menu-open .wp-block-navigation-item:nth-child(n+7) { animation-delay: .24s; }
}
.is-menu-open .wp-block-navigation__responsive-container-content { align-items: flex-start !important; padding-top: 48px !important; }
.is-menu-open .wp-block-navigation__container { gap: 2px !important; width: 100%; }
.is-menu-open .wp-block-navigation-item { width: 100%; border-bottom: 1px solid #ffffff14; }
.is-menu-open .wp-block-navigation-item__content { font-family: var(--nr-display); font-size: 23px; font-weight: 600; padding: 9px 0 !important; color: #fff !important; text-decoration: none; display: block; transition: color .2s, transform .25s; }
.is-menu-open .wp-block-navigation-item__content:hover { color: color-mix(in srgb,var(--wp--preset--color--accent) 40%,#fff) !important; transform: translateX(6px); }
.is-menu-open .wp-block-navigation__responsive-container-close { color: #fff; top: calc(16px + var(--wp-admin--admin-bar--height, 0px)); right: 16px; width: 44px; height: 44px; display: grid; place-items: center; border-radius: 50%; background: #ffffff14; }
.is-menu-open .wp-block-navigation__responsive-container-close svg { width: 28px; height: 28px; }
.has-modal-open .nr-header { -webkit-backdrop-filter: none; backdrop-filter: none; }

.nr-join .wp-block-button__link { padding: .6rem 1.2rem; min-height: 40px; }
.nr-secbar { border-top: 1px solid var(--wp--preset--color--line); }
.nr-secbar .nr-secnav { padding-block: 6px; }

/* ==========================================================================
   Layout helpers
   ========================================================================== */
.nr-main-side { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: clamp(28px, 4vw, 48px); align-items: start; }
.nr-main-side > * { margin: 0 !important; }
.nr-sidebar { display: grid; gap: 34px; align-content: start; position: sticky; top: 150px; }
.nr-sidebar > * { margin: 0 !important; }
@media (max-width: 1024px) {
	.nr-main-side { grid-template-columns: 1fr; }
	.nr-sidebar { position: static; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
}
.nr-widget { display: grid; gap: 14px; }
.nr-widget__h { font-size: 20px !important; margin: 0 !important; padding-bottom: 8px; border-bottom: 1.5px solid var(--wp--preset--color--line); }
.nr-widget .nr-secnav--chips ul { justify-content: flex-start; }
.nr-widget .nr-social a { color: var(--wp--preset--color--ink); border-color: var(--wp--preset--color--line); }
.nr-widget .nr-social a:hover { color: var(--wp--preset--color--accent); background: var(--wp--preset--color--soft); }

/* Front page grid: feature first in the HTML (best for SEO and mobile),
   placed in the middle column on wide screens. */
.nr-front { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr) minmax(0, 1fr); grid-template-areas: "fresh feature popular"; gap: clamp(22px, 3vw, 32px); align-items: start; }
.nr-front > * { margin: 0 !important; }
.nr-front__feature { grid-area: feature; }
.nr-front__fresh { grid-area: fresh; }
.nr-front__popular { grid-area: popular; }
@media (max-width: 1100px) { .nr-front { grid-template-columns: 1fr 1fr; grid-template-areas: "feature feature" "fresh popular"; } }
@media (max-width: 640px) { .nr-front { grid-template-columns: 1fr; grid-template-areas: "feature" "fresh" "popular"; } }
.nr-home-ticker { padding-bottom: 18px; border-bottom: 1px solid var(--wp--preset--color--line); }

/* Dark editorial band */
.nr-band {
	background: radial-gradient(70% 90% at 100% 0%, color-mix(in srgb,var(--wp--preset--color--accent) 23%,transparent), transparent 60%), radial-gradient(60% 80% at 0% 100%, color-mix(in srgb,var(--wp--preset--color--violet) 23%,transparent), transparent 60%), linear-gradient(160deg, var(--wp--preset--color--plum-2), var(--wp--preset--color--plum));
	color: #f3eef6; padding-block: clamp(30px, 5vw, 56px);
}
.nr-more { justify-content: center; margin-top: 26px !important; }

/* ==========================================================================
   Page heads, archive rows, pagination
   ========================================================================== */
.nr-pagehead { text-align: center; padding-top: clamp(10px, 3vw, 26px); }
.nr-pagehead > * { margin-inline: auto; }
.nr-pagehead > * + * { margin-block-start: 12px; }
.nr-pagehead .nr-crumbs ol { justify-content: center; }
.nr-pagehead h1, .nr-pagehead .wp-block-query-title { margin-block: 8px 0; }
.nr-pagehead .wp-block-term-description, .nr-pagehead__lede { color: var(--wp--preset--color--muted); font-family: var(--wp--preset--font-family--read); font-size: clamp(16px, 1.7vw, 19px); max-width: 62ch; }
.nr-pagehead .wp-block-term-description p { margin: 0; }
.nr-pagehead .nr-secnav { margin-top: 18px; }
.nr-pagehead--left { text-align: left; }
.nr-pagehead--left .nr-crumbs ol { justify-content: flex-start; }

.nr-qrows { display: grid; gap: 0; list-style: none; padding: 0; margin: 0; }
.nr-qrows > li { margin: 0 !important; }
.nr-qrow { display: grid; grid-template-columns: minmax(0, 300px) minmax(0, 1fr); gap: 24px; padding-block: 22px; border-bottom: 1px solid var(--wp--preset--color--line); }
.nr-qrows > li:first-child .nr-qrow { padding-top: 0; }
.nr-qrow > * { margin: 0 !important; }
.nr-qrow .wp-block-post-featured-image { margin: 0; }
.nr-qrow .wp-block-post-featured-image img, .nr-qrow .nr-img { border-radius: var(--nr-r); aspect-ratio: 16/10; object-fit: cover; width: 100%; box-shadow: var(--nr-shadow); transition: transform .5s cubic-bezier(.22,1,.36,1), box-shadow .3s; }
.nr-qrow:hover .wp-block-post-featured-image img, .nr-qrow:hover .nr-img { transform: translateY(-3px); box-shadow: var(--nr-shadow-hi); }
.nr-qrow__body { display: grid; gap: 8px; align-content: start; }
.nr-qrow__body > * { margin: 0 !important; }
.nr-qrow .nr-kicker { justify-content: flex-start; }
.nr-qrow__t { font-size: clamp(19px, 2vw, 23px) !important; font-weight: 600 !important; }
.nr-qrow__t a { text-decoration: none; color: inherit; }
.nr-qrow__t a:hover { color: var(--wp--preset--color--accent); }
.nr-qrow__meta { gap: 4px 12px; font-size: 12.5px; color: var(--wp--preset--color--muted); }
.nr-qrow__meta a { color: var(--wp--preset--color--ink); font-weight: 700; text-decoration: none; }
.nr-qrow .wp-block-post-excerpt__excerpt { margin: 0; color: var(--wp--preset--color--muted); }
.nr-qrow .wp-block-post-excerpt__more-text { display: none; }
@media (max-width: 640px) { .nr-qrow { grid-template-columns: 1fr; gap: 14px; } }

.nr-pager { margin-top: 30px !important; gap: 6px; font-weight: 700; font-size: 14px; }
.nr-pager a, .nr-pager .page-numbers { min-width: 44px; height: 44px; display: inline-grid; place-items: center; padding-inline: 12px; border-radius: 99px; text-decoration: none; color: var(--wp--preset--color--ink); box-shadow: inset 0 0 0 1.5px var(--wp--preset--color--line); transition: box-shadow .2s, color .2s; }
.nr-pager a:hover { box-shadow: inset 0 0 0 1.5px var(--wp--preset--color--accent); color: var(--wp--preset--color--accent); }
.nr-pager .page-numbers.current { background: var(--wp--preset--gradient--brand); color: #fff; box-shadow: none; }

.nr-searchbar { max-width: 560px; margin-inline: auto !important; }
.nr-searchbar .wp-block-search__inside-wrapper { border: 0; padding: 5px; border-radius: 99px; background: var(--wp--preset--color--paper); box-shadow: inset 0 0 0 1.5px var(--wp--preset--color--line), var(--nr-shadow); }
.nr-searchbar .wp-block-search__input { border: 0; background: transparent; padding-inline: 16px; font-size: 16px; min-height: 44px; }
.nr-searchbar .wp-block-search__button { margin: 0; border-radius: 99px; background: var(--wp--preset--gradient--brand); color: #fff; font-weight: 800; padding-inline: 22px; border: 0; }

/* ==========================================================================
   Article
   ========================================================================== */
.nr-arthead { text-align: center; padding-top: clamp(6px, 2vw, 20px); }
.nr-arthead > * { margin-inline: auto; }
.nr-arthead > * + * { margin-block-start: 14px; }
.nr-arthead .nr-crumbs ol { justify-content: center; }
.nr-arthead__t { font-size: clamp(30px, 4.6vw, 54px) !important; line-height: 1.06; letter-spacing: -.02em; }
.nr-article > * + * { margin-block-start: clamp(22px, 3vw, 34px); }
.nr-article .nr-figure .nr-img { border-radius: var(--nr-r-lg); box-shadow: var(--nr-shadow-hi); }
.nr-artbody { display: grid; gap: 0; }
.nr-artbody > * { margin-block: 0 0 28px !important; }
@media (max-width: 640px) { .nr-article .nr-img--wide { aspect-ratio: 16/10; } }

.nr-prose { font-family: var(--wp--preset--font-family--read); font-size: clamp(17px, 1.25vw + 11px, 19px); line-height: 1.72; max-width: 68ch; }
.nr-prose > * + * { margin-block-start: 1.1em; }
.nr-prose > p:first-of-type::first-letter { font-family: var(--nr-display); float: left; font-size: 4.2em; line-height: .8; padding: 6px 12px 0 0; font-weight: 900; background: var(--wp--preset--gradient--brand); -webkit-background-clip: text; background-clip: text; color: transparent; }
.nr-prose--page > p:first-of-type::first-letter, .nr-prose--page > p:first-of-type::first-letter { all: unset; }
.nr-prose h2 { font-size: clamp(23px, 2.6vw, 29px); margin-block-start: 1.6em; }
.nr-prose h3 { margin-block-start: 1.4em; }
.nr-prose blockquote:not(.wp-block-pullquote blockquote) { margin-inline: 0; }
.nr-prose blockquote cite { display: block; font-family: var(--wp--preset--font-family--ui); font-style: normal; font-size: 13px; font-weight: 700; color: var(--wp--preset--color--muted); margin-top: 10px; }
.nr-prose ul, .nr-prose ol { padding-left: 1.2em; }
.nr-prose li + li { margin-top: .4em; }
.nr-prose figure { margin-inline: 0; }
.nr-prose img { border-radius: var(--nr-r); }
.nr-prose a:not(.wp-element-button) { color: var(--wp--preset--color--accent); text-decoration-color: color-mix(in srgb, var(--wp--preset--color--accent) 45%, transparent); }
.nr-prose a:not(.wp-element-button):hover { text-decoration-color: currentColor; }
.nr-prose--page { max-width: none; font-size: 17.5px; }

/* Editor block styles */
.is-style-nr-card { background: var(--wp--preset--color--paper); border: 1px solid var(--wp--preset--color--line); border-radius: var(--nr-r); padding: clamp(18px, 3vw, 28px); box-shadow: var(--nr-shadow); }
.is-style-nr-callout { background: var(--wp--preset--color--soft); border-radius: var(--nr-r); padding: 20px 22px; font-family: var(--wp--preset--font-family--ui); font-size: 15.5px; line-height: 1.6; position: relative; overflow: hidden; }
.is-style-nr-callout::before { content: ""; position: absolute; inset: 0 auto 0 0; width: 4px; background: var(--wp--preset--gradient--brand); }
.is-style-nr-callout > * + * { margin-block-start: .5em; }
.is-style-nr-callout strong:first-child { display: block; font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--wp--preset--color--accent); }
ol.is-style-nr-steps { list-style: none; padding: 0 !important; counter-reset: s; display: grid; gap: 12px; }
ol.is-style-nr-steps > li { counter-increment: s; display: grid; grid-template-columns: 44px 1fr; align-items: baseline; margin: 0 !important; font-family: var(--wp--preset--font-family--ui); font-weight: 700; }
ol.is-style-nr-steps > li::before { content: counter(s); font-family: var(--nr-display); font-weight: 900; font-size: 30px; line-height: 1; background: var(--wp--preset--gradient--brand); -webkit-background-clip: text; background-clip: text; color: transparent; }
.is-style-nr-tilt img { transform: rotate(-1.5deg); box-shadow: var(--nr-shadow-hi); border-radius: var(--nr-r-lg); transition: transform .5s cubic-bezier(.22,1,.36,1); }
.is-style-nr-tilt:hover img { transform: none; }

.nr-tags { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; font-size: 12px; }
.nr-tags .wp-block-post-terms__prefix { font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--wp--preset--color--muted); }
.nr-tags a { background: var(--wp--preset--color--soft); color: var(--wp--preset--color--ink); padding: 6px 12px; border-radius: 99px; text-decoration: none; font-weight: 700; transition: background .2s, color .2s; }
.nr-tags a:hover { background: var(--wp--preset--color--accent); color: var(--wp--preset--color--accent-ink); }
.nr-tags .wp-block-post-terms__separator { display: none; }

.nr-prevnext { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.nr-prevnext > * { margin: 0 !important; }
.nr-prevnext [class*="__arrow"] { display: none; }
.nr-prevnext .post-navigation-link-next { text-align: right; }
.nr-prevnext a { display: grid; gap: 4px; padding: 16px 18px; border-radius: var(--nr-r); background: var(--wp--preset--color--paper); border: 1px solid var(--wp--preset--color--line); text-decoration: none; color: var(--wp--preset--color--ink); font-family: var(--nr-display); font-weight: 600; line-height: 1.25; height: 100%; transition: border-color .2s, transform .25s cubic-bezier(.22,1,.36,1); }
.nr-prevnext a:hover { border-color: var(--wp--preset--color--accent); transform: translateY(-2px); }
.nr-prevnext .post-navigation-link__label { font-family: var(--wp--preset--font-family--ui); font-size: 11px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--wp--preset--color--accent); }
@media (max-width: 560px) { .nr-prevnext { grid-template-columns: 1fr; } .nr-prevnext .post-navigation-link-next { text-align: left; } }

.nr-authorbox { display: grid; grid-template-columns: 72px 1fr; gap: 18px; padding: 22px; border-radius: var(--nr-r); background: var(--wp--preset--color--soft); }
.nr-authorbox > * { margin: 0 !important; }
.nr-authorbox img { border-radius: 50%; box-shadow: 0 0 0 3px var(--wp--preset--color--paper), 0 0 0 5px var(--wp--preset--color--accent); }
.nr-authorbox__name { font-family: var(--nr-display); font-size: 20px; font-weight: 700; }
.nr-authorbox__name a { color: inherit; text-decoration: none; }
.nr-authorbox .wp-block-post-author-biography { color: var(--wp--preset--color--muted); font-size: 14.5px; margin-top: 4px; }

.nr-comments .wp-block-comments-title { font-size: 24px; }
.nr-comment { display: grid; grid-template-columns: 40px 1fr; gap: 12px; padding-block: 14px; border-bottom: 1px solid var(--wp--preset--color--line); }
.nr-comment img { border-radius: 50%; }
.nr-comments .comment-respond { margin-top: 24px; }
.nr-comments .comment-reply-title { font-family: var(--nr-display); font-size: 24px; }
.nr-comments input:not([type=submit]):not([type=checkbox]), .nr-comments textarea { width: 100%; padding: 12px 14px; border-radius: var(--nr-r-sm); border: 1.5px solid var(--wp--preset--color--line); background: var(--wp--preset--color--paper); color: var(--wp--preset--color--ink); font: inherit; font-size: 16px; }
.nr-comments input:focus, .nr-comments textarea:focus { border-color: var(--wp--preset--color--accent); outline: none; }
.nr-comments .comment-form label { display: block; font-size: 13px; font-weight: 700; margin-bottom: 5px; }

/* Buttons (core) */
.wp-element-button, .wp-block-button__link { transition: transform .25s cubic-bezier(.22,1,.36,1), box-shadow .25s, background-position .5s; background-size: 160% 100% !important; box-shadow: 0 8px 20px -10px var(--wp--preset--color--accent); }
.wp-element-button:hover, .wp-block-button__link:hover { transform: translateY(-2px); background-position: 100% 0 !important; box-shadow: 0 14px 26px -12px var(--wp--preset--color--accent); }
.is-style-outline .wp-block-button__link { background: transparent !important; color: var(--wp--preset--color--ink) !important; border: 1.5px solid var(--wp--preset--color--line) !important; box-shadow: none; }
.is-style-outline .wp-block-button__link:hover { border-color: var(--wp--preset--color--accent) !important; color: var(--wp--preset--color--accent) !important; }

/* ==========================================================================
   Footer
   ========================================================================== */
.nr-site-footer { margin-top: clamp(40px, 6vw, 72px); }
.nr-footer {
	background: radial-gradient(60% 80% at 100% 0%, color-mix(in srgb,var(--wp--preset--color--accent) 19%,transparent), transparent 60%), linear-gradient(170deg, var(--wp--preset--color--plum-2), var(--wp--preset--color--plum));
	color: color-mix(in srgb,#fff 80%,var(--wp--preset--color--violet)); padding-block: clamp(36px, 5vw, 56px) 22px; border-radius: var(--nr-r-lg) var(--nr-r-lg) 0 0;
}
.nr-footer a { color: inherit; text-decoration: none; }
.nr-footer a:hover { color: color-mix(in srgb,var(--wp--preset--color--accent) 40%,#fff); }
.nr-fgrid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.3fr; gap: 32px; }
.nr-fgrid > * { margin: 0 !important; }
.nr-fgrid > * > * + * { margin-block-start: 12px; }
.nr-fbrand .nr-wordmark__w span { -webkit-text-fill-color: #fff; color: #fff; }
.nr-fbrand .nr-wordmark__k { color: color-mix(in srgb,#fff 65%,var(--wp--preset--color--violet)); }
.nr-fbrand .wp-block-site-tagline { color: color-mix(in srgb,#fff 80%,var(--wp--preset--color--violet)); max-width: 36ch; }
.nr-fhead { font-family: var(--wp--preset--font-family--ui) !important; font-size: 12px !important; font-weight: 800 !important; letter-spacing: .12em; text-transform: uppercase; color: #fff !important; margin: 0 !important; }
.nr-footer .nr-secnav--list a { color: color-mix(in srgb,#fff 80%,var(--wp--preset--color--violet)); }
.nr-footer .nr-secnav--list a:hover { color: color-mix(in srgb,var(--wp--preset--color--accent) 40%,#fff); }
.nr-fnav .wp-block-navigation-item__content { font-size: 14.5px; padding-block: 4px; }
.nr-fnav .wp-block-navigation__container { gap: 4px !important; }
.nr-fnav .wp-block-navigation-item:first-child { display: none; }
.nr-footer .nr-social a { color: #fff; border-color: #ffffff40; }
.nr-fbot { border-top: 1px solid #ffffff1f; margin-top: 34px !important; padding-top: 18px; font-size: 12.5px; gap: 10px; }
.nr-fbot p { margin: 0; }
@media (max-width: 900px) { .nr-fgrid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .nr-fgrid { grid-template-columns: 1fr; } .nr-fbot { flex-direction: column; align-items: flex-start !important; } }

/* ==========================================================================
   404
   ========================================================================== */
.nr-404 { text-align: center; padding-block: clamp(20px, 6vw, 60px) 10px; }
.nr-404 > * { margin-inline: auto; }
.nr-404 > * + * { margin-block-start: 14px; }
.nr-404 .nr-404__big { font-family: var(--nr-display); font-style: italic; font-weight: 900; font-size: clamp(96px, 20vw, 190px); line-height: .9; margin: 0; background: var(--wp--preset--gradient--brand); -webkit-background-clip: text; background-clip: text; color: transparent; }
.nr-404 h1 { font-size: clamp(26px, 4vw, 36px) !important; }
.nr-404 p { color: var(--wp--preset--color--muted); }

/* Sidebar compact events */
.nr-events--compact .nr-evt { grid-template-columns: 60px minmax(0, 1fr); gap: 14px; padding-bottom: 16px; }
.nr-events--compact .nr-evt__img, .nr-events--compact .nr-evt__body > p:not(.nr-meta) { display: none; }
.nr-events--compact .nr-h { font-size: 17px; }
.nr-events--compact .nr-date b { font-size: 26px; }
.nr-events--compact .nr-btn { min-height: 36px; padding: 6px 16px; font-size: 12px; }

/* ==========================================================================
   Motion: scroll reveal (only when JS is running and motion is welcome)
   ========================================================================== */
@keyframes nr-rise { from { opacity: 0; transform: translateY(18px); } }
@media (prefers-reduced-motion: no-preference) {
	.nr-js [data-nr-reveal] > *, .nr-js .nr-qrows > li, .nr-js .nr-spot, .nr-js .nr-sub {
		opacity: 0; transform: translateY(22px);
		transition: opacity .7s cubic-bezier(.22,1,.36,1), transform .7s cubic-bezier(.22,1,.36,1);
		transition-delay: calc(var(--nr-i, 0) * 70ms);
	}
	.nr-js [data-nr-reveal] > .is-in, .nr-js .nr-qrows > li.is-in, .nr-js .nr-spot.is-in, .nr-js .nr-sub.is-in { opacity: 1; transform: none; }
	.nr-arthead > *, .nr-pagehead > * { animation: nr-rise .8s cubic-bezier(.22,1,.36,1) both; }
	.nr-arthead > :nth-child(2), .nr-pagehead > :nth-child(2) { animation-delay: .06s; }
	.nr-arthead > :nth-child(3), .nr-pagehead > :nth-child(3) { animation-delay: .12s; }
	.nr-arthead > :nth-child(n+4), .nr-pagehead > :nth-child(n+4) { animation-delay: .18s; }
}
@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
}

/* ==========================================================================
   Reading progress + back to top
   ========================================================================== */
.nr-progress { position: fixed; inset: 0 0 auto; height: 3px; z-index: 100; background: var(--wp--preset--gradient--brand); transform-origin: 0 50%; transform: scaleX(var(--nr-p, 0)); pointer-events: none; }
.admin-bar .nr-progress { top: var(--wp-admin--admin-bar--height, 0px); }
.nr-totop { position: fixed; right: 18px; bottom: 18px; z-index: 60; width: 46px; height: 46px; border-radius: 50%; border: 0; display: grid; place-items: center; cursor: pointer; color: #fff; background: var(--wp--preset--gradient--brand); box-shadow: 0 12px 26px -10px var(--wp--preset--color--accent); opacity: 0; transform: translateY(16px) scale(.9); pointer-events: none; transition: opacity .3s, transform .35s cubic-bezier(.22,1,.36,1); }
.nr-totop.is-on { opacity: 1; transform: none; pointer-events: auto; }
.nr-totop:hover { transform: translateY(-3px); }
.nr-breakwrap { padding-block: 8px; border-top: 1px solid var(--wp--preset--color--line); }
.nr-topbar__r { gap: 6px; }

/* ==========================================================================
   Small screens
   ========================================================================== */
@media (max-width: 720px) {
	.nr-topbar .nr-today { font-size: 11px; }
	.nr-mast__in { grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); gap: 4px; padding-block: 10px; }
	.nr-wordmark__w { font-size: 30px; }
	.nr-wordmark__k { font-size: 8.5px; letter-spacing: .28em; }
	.nr-header.is-scrolled .nr-wordmark__w { font-size: 26px; }
	.nr-join .wp-block-button__link { padding: .5rem .95rem; font-size: 12px; }
	.nr-main > * + * { margin-block-start: 30px; }
	.nr-sidebar { grid-template-columns: 1fr; }
}
@media (max-width: 430px) {
	.nr-wordmark__w { font-size: 26px; }
	.nr-join .wp-block-button__link { padding: .45rem .8rem; }
}
@media (max-width: 380px) {
	.nr-wordmark__w { font-size: 25px; }
	.nr-search-toggle { display: none; }
}

@media print {
	.nr-header, .nr-site-footer, .nr-sidebar, .nr-share, .nr-comments, .nr-related, .nr-prevnext { display: none !important; }
	body { background: #fff; color: #000; }
	.nr-main-side { display: block; }
}
.nr-breakwrap:not(:has(.nr-breaking)) { display: none; }

/* ==========================================================================
   Pattern helpers (About, People, Membership, Newsletter band)
   ========================================================================== */
.nr-lede { font-family: var(--wp--preset--font-family--read); font-size: clamp(18px, 2vw, 22px); line-height: 1.55; color: var(--wp--preset--color--muted); }
.nr-steps { gap: 18px !important; }
.nr-steps > .wp-block-column > * { margin-block: 0 8px; }
.nr-step-n { font-family: var(--nr-display); font-style: italic; font-weight: 900; font-size: 34px; line-height: 1; background: var(--wp--preset--gradient--brand); -webkit-background-clip: text; background-clip: text; color: transparent; }
.nr-steps h3 { font-size: 22px; }
.nr-steps p:last-child { color: var(--wp--preset--color--muted); font-size: 15px; }
.nr-people { gap: 18px; }
.nr-person > * { margin-block: 0 6px !important; }
.nr-person h3 { font-size: 21px; }
.nr-person p:last-child { color: var(--wp--preset--color--muted); font-size: 14.5px; }
.nr-label { font-size: 11px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--wp--preset--color--accent); }
.nr-tiers { gap: 20px !important; align-items: stretch !important; }
.nr-tiers > .wp-block-column { display: grid; gap: 14px; align-content: start; position: relative; transition: transform .35s cubic-bezier(.22,1,.36,1), box-shadow .35s; }
.nr-tiers > .wp-block-column:hover { transform: translateY(-4px); box-shadow: var(--nr-shadow-hi); }
.nr-tiers > .wp-block-column > * { margin: 0 !important; }
.nr-tier.is-featured, .nr-tiers .is-featured { border: 2px solid var(--wp--preset--color--accent); }
.nr-tiers .is-featured::before { content: "Most chosen"; position: absolute; top: -12px; left: 22px; background: var(--wp--preset--gradient--brand); color: #fff; font-size: 10px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; padding: 4px 10px; border-radius: 99px; }
.nr-price { font-family: var(--nr-display); font-size: 36px; font-weight: 800; line-height: 1; }
.nr-checks { list-style: none; padding: 0 !important; display: grid; gap: 8px; font-size: 15px; }
.nr-checks li::before { content: "✓"; color: var(--wp--preset--color--accent); font-weight: 900; margin-right: 8px; }
.nr-newsband .nr-sub { text-align: center; justify-items: center; padding: clamp(26px, 5vw, 48px); }
.nr-newsband .nr-sub__form { grid-template-columns: 1fr auto; width: min(520px, 100%); }
.nr-newsband .nr-sub .nr-btn { justify-self: stretch; }
@media (max-width: 520px) { .nr-newsband .nr-sub__form { grid-template-columns: 1fr; } }
@media (max-width: 720px) { .nr-header.is-scrolled .nr-breakwrap { display: none; } }
