/*
Theme Name:   NJCOUPLE710
Description:  Kadence child theme for NJCOUPLE710. Dark premium editorial styling; palette lives here and in theme.json.
Template:     kadence
Version:      0.1.0
Text Domain:  njc-child
Requires PHP: 7.4
*/

/*
 * Palette (plan v5, Section 3). Kadence reads its global palette from
 * --global-palette1..9, so overriding them re-colors the whole theme.
 *
 * Contrast (WCAG): body #C7BDD4 on #060307 = 11.4:1, link #C084FC on #100712 = 7.5:1,
 * white on button #7D2BD4 = 6.6:1. Plain #7D2BD4 text on #060307 is only 3.1:1, so it is
 * used for buttons, borders, and large accents, never for small link text.
 */
:root {
	--njc-base: #060307;
	--njc-panel: #100712;
	--njc-raised: #1b1022;
	--njc-purple: #7d2bd4;
	--njc-lavender: #c084fc;
	--njc-lavender-soft: #d8b4fe;
	--njc-amber: #f59e0b;
	--njc-text: #c7bdd4;
	--njc-text-soft: #b8acc8;
	--njc-text-subtle: #8e82a3;
	--njc-heading: #f3eafb;
	--njc-line: #3a2352;

	--global-palette1: #c084fc; /* accent / links */
	--global-palette2: #7d2bd4; /* accent alt */
	--global-palette3: #f3eafb; /* headings */
	--global-palette4: #c7bdd4; /* body text */
	--global-palette5: #b8acc8; /* medium text */
	--global-palette6: #8e82a3; /* subtle text */
	--global-palette7: #1b1022; /* subtle background */
	--global-palette8: #100712; /* lighter background */
	--global-palette9: #060307; /* base background */
}

html,
body,
.site {
	background-color: var(--njc-base);
	color: var(--njc-text);
}

h1, h2, h3, h4, h5, h6,
.entry-title {
	color: var(--njc-heading);
}

a {
	color: var(--njc-lavender);
}

a:hover,
a:focus {
	color: var(--njc-lavender-soft);
}

/* Buttons: strong purple, white text, visible focus. */
.wp-block-button__link,
.button,
button,
input[type="submit"] {
	background-color: var(--njc-purple);
	color: #fff;
	border: 1px solid var(--njc-purple);
}

.wp-block-button__link:hover,
.button:hover,
button:hover,
input[type="submit"]:hover {
	background-color: #9350e0;
	border-color: #9350e0;
	color: #fff;
}

:focus-visible {
	outline: 2px solid var(--njc-lavender);
	outline-offset: 2px;
}

/* Outline button variant (Request Access). */
.is-style-outline > .wp-block-button__link {
	background: transparent;
	color: var(--njc-lavender-soft);
	border: 1px solid var(--njc-purple);
}

/* Panels and cards used across the homepage sections. */
.njc-panel {
	background: var(--njc-panel);
	border: 1px solid var(--njc-line);
	border-radius: 10px;
	padding: 1.5rem;
}

.njc-eyebrow {
	color: var(--njc-lavender);
	font-size: 0.8rem;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

/* Topic tiles: square art, label over a bottom gradient for legibility. */
.njc-tile {
	position: relative;
	overflow: hidden;
	border-radius: 10px;
	border: 1px solid var(--njc-line);
	aspect-ratio: 5 / 4;
}

.njc-tile img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.njc-tile::after {
	content: "";
	position: absolute;
	inset: 40% 0 0 0;
	background: linear-gradient(to top, rgba(6, 3, 7, 0.92), rgba(6, 3, 7, 0));
	pointer-events: none;
}

.njc-tile__label {
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0.9rem;
	z-index: 1;
	text-align: center;
	color: var(--njc-heading);
	font-weight: 600;
}

/* ------------------------------------------------------------------
 * Header and navigation.
 * Kadence hard-codes #ffffff on #masthead, so the palette override alone
 * leaves a white header. Same-specificity rules here win by load order;
 * the sticky-header selector is repeated because Kadence's is more specific.
 * ------------------------------------------------------------------ */
#masthead,
#masthead .site-header-row-container-inner,
#masthead .kadence-sticky-header.item-is-fixed:not(.item-at-start):not(.site-header-row-container):not(.site-main-header-wrap),
#masthead .kadence-sticky-header.item-is-fixed:not(.item-at-start) > .site-header-row-container-inner {
	background: var(--njc-panel);
}

#masthead {
	border-bottom: 1px solid var(--njc-line);
}

/* Logo: keep the header slim regardless of the uploaded logo's size. */
.site-branding a.brand img,
.site-branding a.brand img.svg-logo-image {
	width: auto;
	max-width: none;
	max-height: 64px;
}

.site-branding .site-title,
.site-branding .site-title a {
	color: var(--njc-heading);
}

.main-navigation .primary-menu-container > ul > li.menu-item > a {
	color: var(--njc-text-soft);
}

.main-navigation .primary-menu-container > ul > li.menu-item > a:hover,
.main-navigation .primary-menu-container > ul > li.menu-item.current-menu-item > a {
	color: var(--njc-heading);
}

/* Dropdowns: Kadence paints them with the (now light) heading color. */
.header-navigation .header-menu-container ul ul.sub-menu,
.header-navigation .header-menu-container ul ul.submenu {
	background: var(--njc-raised);
	border: 1px solid var(--njc-line);
}

.header-navigation .header-menu-container ul ul li.menu-item > a {
	color: var(--njc-text);
}

.header-navigation .header-menu-container ul ul li.menu-item > a:hover,
.header-navigation .header-menu-container ul ul li.menu-item.current-menu-item > a {
	color: #fff;
	background: var(--njc-purple);
}

/* Mobile drawer and toggle. */
#mobile-drawer .drawer-inner,
#mobile-drawer .drawer-header {
	background: var(--njc-panel);
}

.mobile-navigation ul li > a,
.mobile-navigation ul li.menu-item-has-children > .drawer-nav-drop-wrap,
.mobile-toggle-open-container .menu-toggle-open {
	color: var(--njc-text);
}

/* Cards and archive entries sit on the dark base, not white boxes. */
.content-bg,
body.content-style-unboxed .site,
.entry.loop-entry,
.entry.single-entry {
	background: var(--njc-panel);
}

/* Footer: Kadence's own row (copyright line) on the base color. */
.site-footer,
.site-footer-wrap .site-footer-row-container-inner {
	background: #000;
	color: var(--njc-text-soft);
}

/* ------------------------------------------------------------------
 * Footer band (functions.php, kadence_before_footer): the brand graphic frames the
 * logo at the left; a matching purple line runs on to the right edge.
 * The graphic is 1200x400, so at a 300px band it renders 900px wide.
 * ------------------------------------------------------------------ */
.njc-footer {
	position: relative;
	background: #000 url("assets/img/footer-graphic-1200x400.png") no-repeat left center / auto 100%;
	height: 300px; /* fixed: the line below is positioned from the graphic at this height */
	color: var(--njc-text-soft);
	overflow: hidden;
}

.njc-footer::after {
	content: "";
	position: absolute;
	left: 899px; /* 1px overlap with the graphic's own line, so there is no seam */
	right: 0;
	top: 234px; /* matches the graphic's line at a 300px band height */
	height: 5px;
	background: #601b9a;
}

/* The logo is pinned to the viewport's left edge, inside the graphic's frame, so the
   frame's slanted line never cuts through it at any screen width. */
.njc-footer__brand {
	position: absolute;
	left: 2rem;
	top: 50%;
	transform: translateY(-50%);
	width: 200px;
	z-index: 1;
}

.njc-footer__brand img {
	display: block;
	width: 100%;
	height: auto;
}

.njc-footer__inner {
	position: relative;
	z-index: 1;
	max-width: 1180px;
	min-height: 300px;
	margin: 0 auto;
	padding: 2rem 1.5rem 2rem 400px; /* clear of the frame's slanted edge */
	display: flex;
	align-items: center;
}

.njc-footer__cols {
	display: flex;
	flex-wrap: wrap;
	gap: 2.5rem 4rem;
	justify-content: flex-end;
}

.njc-footer__col h2 {
	font-size: 0.95rem;
	color: var(--njc-heading);
	margin: 0 0 0.6rem;
	letter-spacing: 0.04em;
}

.njc-footer__col ul,
.njc-footer__legal {
	list-style: none;
	margin: 0;
	padding: 0;
}

.njc-footer__col li {
	margin: 0.3rem 0;
	font-size: 0.9rem;
}

.njc-footer a {
	color: var(--njc-text-soft);
	text-decoration: none;
}

.njc-footer a:hover,
.njc-footer a:focus-visible {
	color: var(--njc-lavender-soft);
}

.njc-footer__legal {
	position: relative;
	z-index: 1;
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 0.4rem 1.5rem;
	padding: 0 1.5rem 1.25rem;
	font-size: 0.8rem;
}

@media (max-width: 900px) {
	.njc-footer {
		height: auto;
		background-size: auto 60%;
		background-position: left top;
	}

	.njc-footer::after {
		display: none;
	}

	.njc-footer__brand {
		position: static;
		transform: none;
		width: 150px;
		margin: 1.5rem 0 0 1.5rem;
	}

	.njc-footer__inner {
		min-height: 0;
		padding: 1rem 1.5rem 1.5rem;
	}

	.njc-footer__cols {
		justify-content: flex-start;
	}
}

/* "Request Access" menu item styled as the header call to action. */
.main-navigation .primary-menu-container > ul > li.njc-cta > a {
	background: var(--njc-purple);
	color: #fff;
	border-radius: 6px;
	margin-left: 0.5rem;
	padding-left: 1rem;
	padding-right: 1rem;
}

.main-navigation .primary-menu-container > ul > li.njc-cta > a:hover {
	background: #9350e0;
	color: #fff;
}

/* ------------------------------------------------------------------
 * Query Loop cards (Guides / Essays / Stories / Media landing pages).
 * ------------------------------------------------------------------ */
.wp-block-post-template {
	gap: 1.5rem;
}

.wp-block-post-template > li {
	background: var(--njc-raised);
	border: 1px solid var(--njc-line);
	border-radius: 10px;
	padding: 1.25rem;
}

.wp-block-post-template .wp-block-post-title {
	font-size: 1.2rem;
	line-height: 1.35;
	margin: 0.6rem 0 0.4rem;
}

.wp-block-post-template .wp-block-post-title a {
	color: var(--njc-heading);
	text-decoration: none;
}

.wp-block-post-template .wp-block-post-title a:hover {
	color: var(--njc-lavender-soft);
}

.wp-block-post-template .wp-block-post-excerpt {
	font-size: 0.95rem;
	color: var(--njc-text-soft);
}

.wp-block-post-template .wp-block-post-featured-image img {
	width: 100%;
	aspect-ratio: 5 / 4;
	object-fit: cover;
	border-radius: 8px;
}

.wp-block-query-pagination {
	margin-top: 1.5rem;
}

/* ------------------------------------------------------------------
 * Media Posts: player, single view and the card grid (njc-core/inc/media.php).
 * ------------------------------------------------------------------ */
.njc-video {
	width: 100%;
	height: auto;
	display: block;
}

.njc-visual-img {
	width: auto;
	max-width: 100%;
	height: auto;
	display: block;
	margin-inline: auto;
}

/* Cap tall media (a portrait video was 2,000+ px high): the box stops at 80% of the
   screen height and the picture is letterboxed inside it. */
.njc-visual-media > .njc-video,
.njc-visual-media > .njc-visual-img {
	max-height: 80vh;
	object-fit: contain;
	background: #000;
}

.njc-visual-media {
	margin-bottom: 1.25rem;
}

.njc-credit {
	color: var(--njc-text-subtle);
	font-size: 0.875rem;
}

/* Intro line above the feed: centered over the column, with room where the title bar was. */
.njc-feed-intro {
	max-width: 640px;
	margin: 0 auto 1.25rem;
	padding: 2.5rem 16px 0;
	text-align: center;
	color: var(--njc-text-soft);
}

/* One-column feed: each card is the media at its own shape, then date and topic chips. */
.njc-feed {
	max-width: 640px;
	margin-inline: auto;
	display: grid;
	gap: 1.5rem;
	padding-inline: 16px;
}

.njc-feed-card {
	background: var(--njc-panel);
	border: 1px solid var(--njc-line);
	border-radius: 12px;
	overflow: hidden;
}

.njc-feed-media {
	display: block;
}

/* Natural size, never enlarged: a small icon stays sharp and centered; big images
   shrink to the column. */
.njc-feed-img {
	display: block;
	width: auto;
	max-width: 100%;
	height: auto;
	margin-inline: auto;
}

.njc-feed-text {
	display: block;
	padding: 1.5rem;
	font-size: 1.15rem;
	color: var(--njc-heading);
	text-decoration: none;
}

.njc-feed-video {
	position: relative;
	background: #000;
}

/* Placeholder shape until the video's real shape is known (no layout jump). */
.njc-feed-video.is-loading {
	aspect-ratio: 16 / 9;
}

.njc-feed-video video {
	display: block;
	width: 100%;
	height: auto;
	max-height: 85vh; /* a portrait clip must not take over two screens */
	margin-inline: auto;
	object-fit: contain;
	cursor: pointer;
}

.njc-mute {
	position: absolute;
	right: 10px;
	bottom: 10px;
	width: 38px;
	height: 38px;
	padding: 0;
	border: 0;
	border-radius: 50%;
	display: grid;
	place-items: center;
	background: rgba(0, 0, 0, 0.6);
	color: var(--njc-heading);
	cursor: pointer;
}

.njc-mute:hover,
.njc-mute:focus-visible {
	background: var(--njc-purple);
}

.njc-mute__on { display: none; }
.is-unmuted .njc-mute__on { display: block; }
.is-unmuted .njc-mute__off { display: none; }

/* Reduced motion: no autoplay, so show a play icon until it is tapped. */
.njc-feed-video.is-still::after {
	content: "\25B6";
	position: absolute;
	inset: 0;
	display: grid;
	place-items: center;
	font-size: 3rem;
	color: var(--njc-heading);
	text-shadow: 0 2px 12px #000;
	pointer-events: none;
}

.njc-feed-card footer {
	padding: 10px 14px 14px;
	color: var(--njc-text-subtle);
	font-size: 0.875rem;
}

.njc-feed-card footer a {
	color: inherit;
	text-decoration: none;
}

.njc-feed-date:hover,
.njc-feed-date:focus-visible {
	color: var(--njc-lavender-soft);
}

.njc-tags {
	list-style: none;
	margin: 8px 0 0;
	padding: 0;
	display: flex;
	flex-wrap: wrap;
	gap: 6px 10px;
}

.njc-tags li {
	margin: 0;
}

.njc-tags a {
	color: var(--njc-lavender);
}

.njc-tags a:hover,
.njc-tags a:focus-visible {
	color: var(--njc-lavender-soft);
	text-decoration: underline;
}

.njc-feed-pager {
	display: flex;
	justify-content: space-between;
	gap: 1rem;
}

/* With scripting on, infinite scroll replaces the Older/Newer links. */
.njc-feed.is-infinite .njc-feed-pager {
	display: none;
}

.njc-feed-end {
	text-align: center;
	color: var(--njc-text-subtle);
	font-size: 0.875rem;
	margin: 0;
}

.njc-feed.is-loading-more::after {
	content: "Loading\2026";
	text-align: center;
	color: var(--njc-text-subtle);
	font-size: 0.875rem;
}

/* Optional slim card header: name and time posted. */
.njc-feed-head {
	display: flex;
	align-items: center;
	gap: 0.6rem;
	padding: 10px 14px;
	font-size: 0.875rem;
}

.njc-feed-avatar {
	width: 32px;
	height: 32px;
	border-radius: 50%;
	object-fit: cover;
	flex: none;
}

.njc-feed-name {
	color: var(--njc-heading);
	font-weight: 600;
}

.njc-feed-head .njc-feed-date {
	margin-left: auto;
	color: var(--njc-text-subtle);
	text-decoration: none;
}

/* On-page image viewer: opens over the feed, so there is no back button. */
.njc-lightbox-open {
	overflow: hidden;
}

.njc-lightbox {
	position: fixed;
	inset: 0;
	z-index: 100000;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 0.75rem;
	padding: 3rem 1rem 1.5rem;
	background: rgba(6, 3, 7, 0.94);
}

.njc-lightbox img {
	max-width: min(96vw, 1400px);
	max-height: 80vh;
	width: auto;
	height: auto;
	object-fit: contain;
	border-radius: 6px;
}

.njc-lightbox__close {
	position: absolute;
	top: 0.75rem;
	right: 1rem;
	width: 44px;
	height: 44px;
	border: 0;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.1);
	color: var(--njc-heading);
	font-size: 1.75rem;
	line-height: 1;
	cursor: pointer;
}

.njc-lightbox__close:hover,
.njc-lightbox__close:focus-visible {
	background: var(--njc-purple);
}

.njc-lightbox__open {
	color: var(--njc-lavender-soft);
	font-size: 0.9rem;
}

.njc-feed-pager__older {
	margin-left: auto;
}

.njc-empty {
	color: var(--njc-text-soft);
}

/* ------------------------------------------------------------------
 * Homepage (built by njc-core/inc/homepage.php).
 * ------------------------------------------------------------------ */
.njc-home {
	max-width: 1180px;
	margin: 0 auto;
	padding: 2rem 1.5rem 4rem;
}

/* Even vertical rhythm between sections. !important because Kadence and the
   block-layout CSS both set margins on direct children of constrained groups. */
.njc-home > * {
	margin-block: 0 !important;
}

.njc-home > * + * {
	margin-block-start: 2.25rem !important;
}

.njc-home .njc-panel {
	padding: 1.75rem 2rem;
}

.njc-hero {
	align-items: center;
	background: radial-gradient(ellipse at 85% 30%, rgba(125, 43, 212, 0.28), rgba(6, 3, 7, 0) 60%);
	border-radius: 12px;
	padding: 1rem 0;
}

.njc-hero__title {
	font-size: clamp(1.9rem, 4.2vw, 3rem);
	line-height: 1.15;
	margin: 0.5rem 0 1rem;
}

.njc-hero__mark {
	margin: 0;
}

.njc-hero__mark img {
	width: 100%;
	height: auto;
}

.njc-trust {
	list-style: none;
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 1.5rem;
	margin: 1.5rem 0 0 !important; /* Kadence indents lists inside content */
	padding: 0 !important;
	font-size: 0.85rem;
	color: var(--njc-text-soft);
}

.njc-trust li {
	margin: 0;
	padding-left: 0.75rem;
	border-left: 2px solid var(--njc-purple);
}

.njc-trust strong {
	display: block;
	color: var(--njc-lavender);
	margin-bottom: 0.2rem;
}

.njc-library {
	border-color: var(--njc-purple);
	background: linear-gradient(120deg, #1b1022 0%, #100712 70%);
}

.njc-library h2 {
	margin-top: 0.25rem;
}

.njc-fineprint {
	font-size: 0.8rem;
	color: var(--njc-text-subtle);
	letter-spacing: 0.02em;
}

.njc-section-head {
	display: flex;
	justify-content: space-between;
	align-items: baseline;
	margin-bottom: 1rem;
}

.njc-section-head h2 {
	margin: 0;
	font-size: 1.5rem;
}

.njc-tiles {
	display: grid;
	grid-template-columns: repeat(5, 1fr);
	gap: 1rem;
}

.njc-tile {
	display: block;
	text-decoration: none;
}

/* Tile without art yet. */
.njc-tile--noart {
	background: linear-gradient(160deg, #3a1f5c 0%, #1a0d2b 60%, #0f0714 100%);
}

.njc-tile:hover img,
.njc-tile:focus-visible img {
	transform: scale(1.04);
}

.njc-tile img {
	transition: transform 0.4s ease;
}

.njc-tile__label {
	/* Fixed-height label area, top-aligned, so titles start at the same height on every tile. */
	top: auto;
	bottom: 0;
	height: 5.4rem;
	display: flex;
	flex-direction: column;
	justify-content: flex-start;
	line-height: 1.25;
	padding: 0.6rem 0.75rem 0;
}

.njc-tile__label small {
	display: block;
	margin-top: 0.2rem;
	font-weight: 400;
	font-size: 0.78rem;
	color: var(--njc-text-soft);
}

.njc-start .wp-block-buttons {
	margin-top: 1rem;
}

.njc-compact .wp-block-post-template > li {
	background: transparent;
	border: 0;
	border-bottom: 1px solid var(--njc-line);
	border-radius: 0;
	padding: 0.75rem 0;
}

.njc-compact .wp-block-post-title {
	font-size: 1.05rem;
	margin: 0 0 0.25rem;
}

.njc-cta-band {
	text-align: center;
	border-color: var(--njc-purple);
}

.njc-cta-band .wp-block-buttons {
	justify-content: center;
}

@media (max-width: 900px) {
	.njc-tiles {
		grid-template-columns: repeat(2, 1fr);
	}

	/* Odd fifth tile spans the full row. */
	.njc-tiles .njc-tile:last-child {
		grid-column: 1 / -1;
	}

	.njc-trust {
		grid-template-columns: 1fr;
	}
}

@media (max-width: 520px) {
	.njc-tiles {
		grid-template-columns: 1fr;
	}

	.njc-tiles .njc-tile:last-child {
		grid-column: auto;
	}

	.njc-home .njc-panel {
		padding: 1.25rem;
	}
}

/* Legibility and tap-target fixes (from the phone/desktop review). */
.njc-tile__label small {
	font-size: 0.85rem;
	color: #e4d8f2;
	text-shadow: 0 1px 3px rgba(0, 0, 0, 0.85);
}

.njc-footer a {
	display: inline-block;
	padding-block: 0.35rem; /* about 44px tall tap area without changing the look */
}

/* Long-form pages: about 70 characters per line instead of 130. */
.single-guides .entry-content,
.single-essays .entry-content,
.single-stories .entry-content {
	max-width: 46rem;
	margin-inline: auto;
	line-height: 1.75;
}

/* Story cards (Stories page). Locked cards are the public teasers. */
.njc-story-cards {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 1.5rem;
}

.njc-story-card {
	display: flex;
	flex-direction: column;
	background: var(--njc-raised);
	border: 1px solid var(--njc-line);
	border-radius: 10px;
	padding: 1.25rem;
}

.njc-story-card--locked {
	border-color: var(--njc-purple);
}

.njc-story-card__label {
	margin: 0 0 0.4rem;
	font-size: 0.75rem;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--njc-lavender-soft);
}

.njc-story-card h3 {
	margin: 0 0 0.5rem;
	font-size: 1.2rem;
	line-height: 1.35;
}

.njc-story-card h3 a {
	color: var(--njc-heading);
	text-decoration: none;
}

.njc-story-card h3 a:hover {
	color: var(--njc-lavender-soft);
}

.njc-story-card p {
	font-size: 0.95rem;
	color: var(--njc-text-soft);
}

.njc-story-card__cta {
	margin-top: auto;
	padding-top: 0.5rem;
	font-weight: 600;
}

@media (max-width: 900px) {
	.njc-story-cards {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media (max-width: 520px) {
	.njc-story-cards {
		grid-template-columns: 1fr;
	}
}

/* ------------------------------------------------------------------
 * Header banner: purple artwork behind a floating dark navigation bar.
 * Artwork file: assets/img/home/home-banner-v2.webp (swap it to change the look).
 * ------------------------------------------------------------------ */
#masthead {
	background: #050308 url("assets/img/home/home-banner-v2.webp") center top / cover no-repeat;
}

#masthead .site-header-row-container-inner {
	background: transparent;
	padding-block: 14px;
}

#masthead .site-main-header-inner-wrap {
	min-height: 96px;
}

/* The logo carries the name, so the text title is hidden visually (kept for screen readers). */
#masthead .site-branding .site-title-wrap {
	position: absolute;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip: rect(0 0 0 0);
}

#masthead .site-branding a.brand img {
	max-height: 112px; /* phones and tablets; larger on desktop below */
	filter: drop-shadow(0 0 14px rgba(150, 80, 255, 0.55));
}

#masthead .site-header-main-section-left {
	margin-right: 0.75rem;
}

#masthead .main-navigation .primary-menu-container > ul > li.menu-item.current-menu-item > a {
	background: rgba(255, 255, 255, 0.07);
	border-radius: 999px;
}

#masthead .main-navigation .primary-menu-container > ul > li.njc-cta > a {
	background: linear-gradient(135deg, #a259ff, #6d28d9);
	border-radius: 999px;
	box-shadow: 0 4px 18px rgba(139, 60, 240, 0.45);
}

@media (min-width: 1025px) {
	#masthead .site-main-header-inner-wrap {
		min-height: 196px;
	}

	#masthead .site-branding a.brand img {
		max-height: 190px;
	}

	#masthead .site-header-main-section-right {
		background: rgba(14, 8, 24, 0.82);
		border: 1px solid var(--njc-line);
		border-radius: 18px;
		padding: 0.35rem 0.75rem;
		backdrop-filter: blur(6px);
	}
}

/* Mobile menu button: visible on the banner (it was dark on dark). */
#masthead #mobile-toggle {
	color: #fff;
	background: rgba(14, 8, 24, 0.82);
	border: 1px solid var(--njc-line);
	border-radius: 12px;
	padding: 0.7rem 0.8rem;
}

#masthead #mobile-toggle .kadence-svg-icon {
	fill: currentColor;
}
