/*
 * NexAli World: site chrome and page rules.
 *
 * 1. Shared   2. Header   3. Drawer contents   4. Footer   5. Page hero   6. Breadcrumb
 * 7. Courses page   8. Course page   9. Prose   10. About   11. Pricing, Starter Kit, Contact
 * 12. Forms and login   13. Text pages   14. Articles   15. LearnPress screens
 *
 * Tokens come from base.css, components from components.css. Page template rules follow the footer.
 */

/* 1. Shared ------------------------------------------------------------------------ */

/* A button that keeps its natural width on phones, where components.css stretches .nx-btn. */
.nx-btn--inline {
	width: auto;
}

/* nexali_logo(): the custom logo or the wordmark, sized by height (base.css gives images height: auto). */
.nx-logo {
	display: block;
	width: auto;
	height: 28px;
}

/* In-page links land below the sticky header, and below the WordPress toolbar where it is
 * fixed (from 601px; below that it scrolls away with the page). */
html {
	scroll-padding-top: 5.5rem;
}

@media (min-width: 601px) {
	html {
		scroll-padding-top: calc(var(--wp-admin--admin-bar--height, 0px) + 5.5rem);
	}
}

/* learnpress.css loads after this file on the pages LearnPress serves (the courses page, a
 * course and its lessons, the profile, checkout) and restyles bare elements on the whole
 * page: a white body, paragraphs with a bottom margin, links without their underline. One
 * element more (html …) outranks those rules and still gives way to any class, so the
 * theme's header, main and footer look as they do on every other page, while LearnPress's
 * own markup (a lesson, the profile) keeps its rules. */
html body {
	background: var(--nx-bg);
}

html :where(.nx-header, .nx-main, .nx-footer) p {
	margin-bottom: 0;
}

html :where(.nx-header, .nx-main, .nx-footer) a {
	text-decoration: underline 1px var(--nx-indigo);
	transition: color .2s ease, text-decoration-color .2s ease;
}

/* 2. Header -------------------------------------------------------------------------
 * <header class="nx-header" data-nx-header>
 *   <div class="nx-container nx-header__inner">
 *     <button type="button" class="nx-header__menu" data-nx-drawer-open aria-controls="nx-drawer" aria-expanded="false">
 *       <span class="nx-header__menu-icon" aria-hidden="true"></span><span class="nx-header__menu-label">Menu</span>
 *     </button>
 *     <a class="nx-header__logo" href="/" rel="home"><img class="nx-logo" …></a>
 *     <div class="nx-header__account"><a class="nx-btn nx-btn--secondary nx-btn--inline" …>Log In</a></div>
 *   </div>
 *   <nav id="nx-drawer" class="nx-drawer" data-nx-drawer …>…</nav>   (template-parts/nav-drawer.php)
 * </header>
 * Sticky; main.js adds .is-scrolled past 24px. Never give .nx-header a transform, filter or
 * backdrop-filter: the drawer inside it is position: fixed and would be held inside the header.
 */
/* The skip link (header.php, <a class="nx-skip-link" href="#main">, first after
 * wp_body_open()): clipped to nothing until it has focus, then a gold pill at the top left,
 * above the header and the WordPress toolbar. */
.nx-skip-link {
	position: fixed;
	top: calc(var(--wp-admin--admin-bar--height, 0px) + .75rem);
	left: .75rem;
	z-index: 100001;
	padding: .75rem 1.25rem;
	border-radius: var(--nx-radius-pill);
	background: var(--nx-gold);
	color: var(--nx-charcoal);
	font-weight: 600;
	line-height: 1.25;
	text-decoration: none;
}

.nx-skip-link:hover {
	color: var(--nx-charcoal);
}

.nx-skip-link:not(:focus) {
	width: 1px;
	height: 1px;
	padding: 0;
	overflow: hidden;
	clip-path: inset(50%);
	white-space: nowrap;
}

.nx-skip-link:focus-visible {
	outline: 2px solid var(--nx-focus);
	outline-offset: 3px;
}

.nx-header {
	position: sticky;
	top: 0;
	z-index: 100;
	border-bottom: 1px solid transparent;
	background: var(--nx-bg);
	transition: background-color .3s ease, border-color .3s ease, box-shadow .3s ease;
}

.nx-header.is-scrolled {
	border-bottom-color: var(--nx-line);
	background: var(--nx-bg-2);
	box-shadow: 0 16px 32px -24px rgba(0, 0, 0, .8);
}

/* Logged in: below the WordPress toolbar, which is fixed from 601px and scrolls away below
 * that. The drawer keeps clear of it in components.css (Drawer). */
@media (min-width: 601px) {
	.admin-bar .nx-header {
		top: var(--wp-admin--admin-bar--height, 0px);
	}
}

/* While the drawer is open it sits above the toolbar, which would otherwise cover its close button on phones. */
.is-drawer-open .nx-header {
	z-index: 100000;
}

/* Menu | logo | account, the logo centred. */
.nx-header__inner {
	display: grid;
	grid-template-columns: 1fr auto 1fr;
	align-items: center;
	gap: var(--nx-space-1);
	min-height: 4.5rem;
	padding-block: .75rem;
}

.nx-header__menu {
	display: inline-flex;
	align-items: center;
	justify-self: start;
	gap: .625rem;
	min-width: 48px;
	min-height: 48px;
	margin-left: -.75rem;
	padding: 0 .75rem;
	border: 0;
	border-radius: var(--nx-radius-pill);
	background: none;
	color: var(--nx-ivory);
	font-size: var(--nx-text-small);
	font-weight: 600;
	letter-spacing: .14em;
	text-transform: uppercase;
	transition: background-color .2s ease, color .2s ease;
}

.nx-header__menu:hover {
	background: rgba(247, 244, 236, .06);
	color: var(--nx-gold-2);
}

/* Three bars, drawn in the text colour. */
.nx-header__menu-icon {
	flex-shrink: 0;
	width: 1.375rem;
	height: .875rem;
	background:
		linear-gradient(currentColor 0 0) top / 100% 2px no-repeat,
		linear-gradient(currentColor 0 0) center / 100% 2px no-repeat,
		linear-gradient(currentColor 0 0) bottom / 100% 2px no-repeat;
}

.nx-header__logo {
	justify-self: center;
	border-radius: 4px;
}

.nx-header__account {
	display: flex;
	align-items: center;
	justify-self: end;
	gap: .75rem;
}

/* Visitors: a plain Log In link before the Sign up button; on phones only the button,
 * and Log In is in the drawer and the footer. */
.nx-header__login {
	color: var(--nx-ivory);
	font-size: .875rem;
	font-weight: 600;
	text-decoration: none;
	white-space: nowrap;
}

.nx-header__login:hover {
	color: var(--nx-gold-2);
}

/* "My Account" stays on one line; on phones the logo gives way instead. */
.nx-header__account .nx-btn {
	white-space: nowrap;
}

/* Phones: the menu label is read out but not shown, and the account button shrinks; for a
 * member the logo shrinks too, so that "My Account" fits on one line at 320px (the logo is
 * 16px tall there, 28px from about 510px). The drawer's Join button keeps its size. */
@media (max-width: 559.98px) {
	.nx-header__menu-label {
		position: absolute;
		width: 1px;
		height: 1px;
		overflow: hidden;
		clip-path: inset(50%);
		white-space: nowrap;
	}

	.logged-in .nx-header .nx-logo {
		height: clamp(1rem, 6.25vw - .25rem, 1.75rem);
	}

	.nx-header__login {
		display: none;
	}

	.nx-header__account .nx-btn {
		padding-inline: .75rem;
		font-size: var(--nx-text-small);
	}
}

/* 3. Drawer contents ------------------------------------------------------------------
 * template-parts/nav-drawer.php: close button, primary menu (ul.nx-drawer__menu), the
 * Join button (.nx-drawer__cta) and the course list (.nx-drawer__courses). The panel,
 * its slide and the backdrop are in components.css (Drawer).
 */
.nx-drawer__close {
	display: grid;
	flex-shrink: 0;
	place-items: center;
	align-self: flex-end;
	width: 48px;
	height: 48px;
	padding: 0;
	border: 1px solid var(--nx-line);
	border-radius: 50%;
	background: none;
	color: var(--nx-ivory);
	transition: border-color .2s ease, color .2s ease;
}

.nx-drawer__close::before {
	content: "";
	width: 1.25rem;
	height: 1.25rem;
	background: currentColor;
	-webkit-mask: var(--nx-mark-cross) center / contain no-repeat;
	mask: var(--nx-mark-cross) center / contain no-repeat;
}

.nx-drawer__close:hover {
	border-color: var(--nx-ivory);
	color: var(--nx-gold-2);
}

.nx-drawer__menu a {
	display: block;
	padding: .75rem 0;
	border-bottom: 1px solid var(--nx-line);
	color: var(--nx-ivory);
	font-family: var(--nx-font-display);
	font-size: 1.5rem;
	font-weight: 600;
	line-height: 1.25;
	text-decoration: none;
}

.nx-drawer__menu .sub-menu {
	margin: 0;
	padding: 0 0 0 var(--nx-space-2);
	list-style: none;
}

.nx-drawer__menu .sub-menu a {
	font-family: var(--nx-font-body);
	font-size: 1rem;
}

.nx-drawer__menu a:hover,
.nx-drawer__list a:hover {
	color: var(--nx-gold-2);
}

.nx-drawer__menu .current-menu-item > a {
	color: var(--nx-gold);
}

.nx-drawer__courses {
	display: flex;
	flex-direction: column;
	gap: var(--nx-space-1);
}

.nx-drawer__list a {
	display: block;
	padding: .375rem 0;
	color: var(--nx-ivory-70);
	text-decoration: none;
}

/* The Join button between the primary menu and the course list, full width; the
 * panel's gap spaces it. */
.nx-drawer__cta .nx-btn {
	width: 100%;
}

.nx-drawer__account {
	margin-top: .75rem;
	color: var(--nx-ivory-70);
	text-align: center;
}

/* 4. Footer --------------------------------------------------------------------------
 * <footer class="nx-footer"><div class="nx-container">
 *   <div class="nx-footer__grid">
 *     <div class="nx-footer__brand">logo, .nx-footer__tagline, email, ul.nx-footer__social</div>
 *     <nav class="nx-footer__nav" aria-labelledby="nx-footer-legal"><h2 class="nx-eyebrow nx-footer__heading" id="nx-footer-legal">Legal</h2><ul class="nx-footer__menu">…</ul></nav>
 *     <nav class="nx-footer__nav" aria-labelledby="nx-footer-quick">…Quick links…</nav>
 *   </div>
 *   <div class="nx-footer__bottom"><p class="nx-footer__disclaimer">…</p>
 *     <div class="nx-footer__meta"><p class="nx-footer__copyright">…</p> Log In button</div></div>
 * </div></footer>
 * One column on phones; brand, Legal and Quick links side by side from 720px.
 */
.nx-footer {
	padding-block: clamp(var(--nx-space-6), 2rem + 3vw, 6rem) var(--nx-space-4);
	border-top: 1px solid var(--nx-line);
	background: var(--nx-bg-2);
	font-size: var(--nx-text-small);
}

.nx-footer__grid {
	display: grid;
	gap: var(--nx-space-4);
}

@media (min-width: 720px) {
	.nx-footer__grid {
		grid-template-columns: minmax(0, 2fr) minmax(0, 1fr) minmax(0, 1fr);
	}
}

.nx-footer__brand {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: var(--nx-space-2);
}

.nx-footer__tagline {
	color: var(--nx-ivory);
	font-family: var(--nx-font-display);
	font-size: 1.25rem;
	line-height: 1.3;
}

.nx-footer a:not(.nx-btn) {
	color: var(--nx-ivory-70);
	text-decoration: none;
}

.nx-footer a:not(.nx-btn):hover {
	color: var(--nx-gold-2);
	text-decoration: underline;
}

.nx-footer__heading {
	margin-bottom: var(--nx-space-2);
}

.nx-footer__menu {
	display: grid;
	gap: .625rem;
}

.nx-footer__social {
	display: flex;
	flex-wrap: wrap;
	gap: .5rem 1.25rem;
}

.nx-footer__bottom {
	display: grid;
	gap: var(--nx-space-3);
	margin-top: clamp(var(--nx-space-4), 1rem + 3vw, var(--nx-space-6));
	padding-top: var(--nx-space-4);
	border-top: 1px solid var(--nx-line);
}

.nx-footer__disclaimer {
	max-width: var(--nx-measure);
}

.nx-footer__meta {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: var(--nx-space-2);
}

/* 5. Page hero -----------------------------------------------------------------------
 * <section id="courses-hero" class="nx-section nx-page-hero" data-nx-section="courses-hero">
 *   <div class="nx-container nx-page-hero__inner"><span class="nx-eyebrow">…</span>
 *     <h1 class="nx-page-hero__title">…</h1><p class="nx-lead nx-page-hero__lead">…</p></div>
 * </section>
 * The opening band of an inner page: the homepage hero's indigo glow and fine grid
 * (home.css), as tall as its content, centred. A course page puts its breadcrumb and
 * the course hero in it instead (8. Course page).
 */
.nx-page-hero {
	position: relative;
	isolation: isolate;
	overflow: hidden;
	padding-block: clamp(2.5rem, 1.5rem + 4vw, 5rem) clamp(3rem, 2rem + 4vw, 6rem);
	background: radial-gradient(70% 60% at 50% 0%, rgba(76, 95, 215, .35), transparent 70%) var(--nx-bg);
}

.nx-page-hero::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: -1;
	background:
		linear-gradient(rgba(247, 244, 236, .05) 1px, transparent 1px) 50% 0 / 64px 64px,
		linear-gradient(90deg, rgba(247, 244, 236, .05) 1px, transparent 1px) 50% 0 / 64px 64px;
	-webkit-mask-image: radial-gradient(75% 70% at 50% 0%, #000 35%, transparent);
	mask-image: radial-gradient(75% 70% at 50% 0%, #000 35%, transparent);
	pointer-events: none;
}

.nx-page-hero__inner {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: clamp(1rem, .5rem + 1.5vw, 1.5rem);
	text-align: center;
}

.nx-page-hero__title {
	max-width: 14em;
}

.nx-page-hero__lead {
	max-width: 40rem;
}

/* The page's own text as the lead (About, Contact): its paragraphs spaced. */
.nx-page-hero__lead > * + * {
	margin-top: 1em;
}

/* --compact (a text page, a list of posts, an article): a shorter band and an h2-size
 * title, the section after it starting at the band's foot. */
.nx-page-hero--compact {
	padding-block: clamp(2rem, 1.25rem + 3vw, 4rem);
}

.nx-page-hero--compact .nx-page-hero__title {
	max-width: 20em;
	font-size: var(--nx-text-h2);
}

.nx-page-hero--compact + .nx-section {
	padding-top: 0;
}

/* 6. Breadcrumb ----------------------------------------------------------------------
 * <nav class="nx-breadcrumb" aria-label="Breadcrumb"><ol class="nx-breadcrumb__list">
 *   <li class="nx-breadcrumb__item"><a href="…">Home</a></li>…
 *   <li class="nx-breadcrumb__item"><span aria-current="page">…</span></li>
 * </ol></nav>   (template-parts/blocks/breadcrumb.php)
 * Small text that wraps, a gold chevron between the items, the current page in ivory.
 */
.nx-breadcrumb {
	margin-bottom: clamp(var(--nx-space-3), 1rem + 2vw, var(--nx-space-6));
	font-size: var(--nx-text-small);
}

.nx-breadcrumb__list {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0 .5rem;
}

.nx-breadcrumb__item {
	display: inline-flex;
	align-items: center;
	gap: .5rem;
	min-width: 0;
}

.nx-breadcrumb__item + .nx-breadcrumb__item::before {
	content: "";
	flex: none;
	width: .875rem;
	height: .875rem;
	background: var(--nx-gold);
	-webkit-mask: var(--nx-mark-chevron) center / contain no-repeat;
	mask: var(--nx-mark-chevron) center / contain no-repeat;
}

/* At least 24px tall to tap (WCAG 2.5.8). */
.nx-breadcrumb a {
	display: inline-block;
	padding-block: .25rem;
	color: var(--nx-ivory-70);
	text-decoration: none;
}

.nx-breadcrumb a:hover {
	color: var(--nx-gold-2);
	text-decoration: underline;
}

.nx-breadcrumb [aria-current="page"] {
	color: var(--nx-ivory);
}

/* 7. Courses page --------------------------------------------------------------------
 * learnpress/archive-course.php: the page hero, then
 * <section id="courses-list" class="nx-section nx-courses-list" …><div class="nx-container">
 *   <div class="nx-course-start"><h2 class="nx-course-start__title">…</h2><p class="nx-course-start__text">…</p></div>
 *   <div class="nx-course-filters" role="group" aria-label="…">
 *     <button type="button" class="nx-course-filters__chip is-active" data-nx-filter="" aria-pressed="true">All</button>
 *     <button type="button" class="nx-course-filters__chip" data-nx-filter="slug" aria-pressed="false">…</button>…
 *   </div>
 *   <ul class="nx-courses"><li data-nx-category="slug …">[course card]</li>…</ul>   (home.css, Courses)
 * </div></section>
 * then the FAQs and the call to action band. main.js (data-nx-filter) hides the cards of
 * the other categories and marks the chosen chip .is-active. A course category page
 * starts with its chip pressed and the other cards [hidden].
 */
.nx-courses-list {
	padding-top: clamp(var(--nx-space-4), 1rem + 3vw, var(--nx-space-8));
}

.nx-course-filters {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: .5rem;
	margin-bottom: clamp(var(--nx-space-4), 1rem + 2vw, var(--nx-space-6));
}

.nx-course-filters__chip {
	min-height: 44px;
	padding: .5rem 1.125rem;
	border: 1px solid var(--nx-line);
	border-radius: var(--nx-radius-pill);
	background: rgba(247, 244, 236, .04);
	color: var(--nx-ivory);
	font-size: var(--nx-text-small);
	font-weight: 600;
	line-height: 1.3;
	transition: background-color .2s ease, border-color .2s ease, color .2s ease;
}

.nx-course-filters__chip:hover {
	border-color: rgba(198, 168, 91, .55);
	color: var(--nx-gold-2);
}

.nx-course-filters__chip.is-active {
	border-color: transparent;
	background: linear-gradient(135deg, var(--nx-gold), var(--nx-gold-2));
	color: var(--nx-charcoal);
}

.nx-course-start {
	display: grid;
	gap: var(--nx-space-2);
	max-width: 52rem;
	margin: 0 auto clamp(var(--nx-space-4), 1rem + 3vw, var(--nx-space-8));
	padding: clamp(var(--nx-space-3), 1rem + 2vw, var(--nx-space-6));
	border: 1px solid rgba(198, 168, 91, .35);
	border-radius: var(--nx-radius);
	background: linear-gradient(180deg, rgba(22, 59, 115, .55), rgba(22, 59, 115, .25));
	text-align: center;
}

.nx-course-start__title {
	font-size: var(--nx-text-h3);
}

.nx-course-start__text,
.nx-courses-list__empty {
	font-size: var(--nx-text-lead);
}

.nx-courses-list__empty {
	text-align: center;
}

/* 8. Course page ---------------------------------------------------------------------
 * learnpress/single-course.php:
 * <section id="course-hero" class="nx-section nx-page-hero nx-course-hero" …><div class="nx-container">
 *   [breadcrumb]
 *   <div class="nx-course-hero__grid">
 *     <div class="nx-course-hero__text">[eyebrow]<h1 class="nx-course-hero__title">…</h1>
 *       <p class="nx-lead nx-course-hero__lead">…</p>
 *       <div class="nx-course-hero__actions">[Join][View curriculum]</div></div>
 *     <div class="nx-course-hero__media"><img class="nx-course-hero__image" …></div>   (or a .nx-tile)
 *   </div>
 * </div></section>
 * then "What you'll learn" (.nx-learn), the description (.nx-prose, 9. Prose), the
 * curriculum (.nx-curriculum) and LearnPress's buttons (.nx-course-actions), the
 * instructor (.nx-instructor), the wins, the FAQs and the call to action band.
 * Text and media side by side from 960px.
 */
.nx-course-hero__grid {
	display: grid;
	align-items: center;
	gap: clamp(var(--nx-space-4), 1rem + 3vw, 4.5rem);
}

@media (min-width: 960px) {
	.nx-course-hero__grid {
		grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
	}
}

.nx-course-hero__text {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: clamp(1rem, .5rem + 1.5vw, 1.5rem);
}

.nx-course-hero__title {
	max-width: 14em;
	font-size: clamp(2.5rem, 1.75rem + 3vw, 4.25rem);
}

.nx-course-hero__actions {
	display: flex;
	flex-wrap: wrap;
	gap: .75rem;
	width: 100%;
	margin-top: .5rem;
}

.nx-course-hero__media {
	position: relative;
}

/* An indigo glow under the frame (the hero clips it). */
.nx-course-hero__media::before {
	content: "";
	position: absolute;
	inset: -12% -8% -20%;
	z-index: -1;
	background: radial-gradient(closest-side, rgba(76, 95, 215, .4), transparent);
	pointer-events: none;
}

.nx-course-hero__media > img,
.nx-course-hero__media > video,
.nx-course-hero__media > .nx-tile {
	width: 100%;
	aspect-ratio: 16 / 9;
	border: 1px solid rgba(198, 168, 91, .3);
	border-radius: var(--nx-radius);
	box-shadow: 0 40px 80px -40px rgba(0, 0, 0, .8);
}

/* Only the image turns block: the tile keeps its own grid, which centres the icon. */
.nx-course-hero__media > img,
.nx-course-hero__media > video {
	display: block;
	object-fit: cover;
	background: #07070c;
}

/* The intro videos have no sound, so the player shows no volume control. One rule
   per selector: a browser drops a whole list when it does not know one of them. */
.nx-course-hero__video::-webkit-media-controls-mute-button { display: none; }
.nx-course-hero__video::-webkit-media-controls-volume-slider { display: none; }
.nx-course-hero__video::-webkit-media-controls-volume-control-container { display: none; }

.nx-course-hero__media > .nx-tile .nx-icon {
	width: clamp(3.5rem, 2.5rem + 3vw, 5.5rem);
	height: clamp(3.5rem, 2.5rem + 3vw, 5.5rem);
}

/* What you'll learn: a panel per column (one to three), centred while there is one. */
.nx-learn {
	display: grid;
	gap: clamp(var(--nx-space-2), .5rem + 1.5vw, var(--nx-space-4));
}

@media (min-width: 720px) {
	.nx-learn {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.nx-learn:has(> :only-child) {
		grid-template-columns: minmax(0, 40rem);
		justify-content: center;
	}
}

@media (min-width: 1024px) {
	.nx-learn:has(> :nth-child(3)) {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}
}

.nx-learn__col {
	display: flex;
	flex-direction: column;
	gap: var(--nx-space-2);
	padding: clamp(var(--nx-space-3), 1rem + 1vw, var(--nx-space-4));
	border: 1px solid var(--nx-line);
	border-radius: var(--nx-radius);
	background: linear-gradient(180deg, rgba(22, 59, 115, .55), rgba(22, 59, 115, .25));
	box-shadow: var(--nx-shadow);
}

.nx-learn__title {
	font-size: clamp(1.125rem, 1rem + .5vw, 1.375rem);
}

/* The instructor, closing the curriculum's section, or the description's when there is
 * no curriculum. */
.nx-instructor {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: .5rem .75rem;
	max-width: var(--nx-measure);
	margin-top: var(--nx-space-4);
	padding-top: var(--nx-space-3);
	border-top: 1px solid var(--nx-line);
}

:is(.nx-prose, .nx-curriculum, .nx-course-actions) + .nx-instructor {
	margin-top: var(--nx-space-6);
}

.nx-instructor__icon {
	width: 1.5rem;
	height: 1.5rem;
	color: var(--nx-gold);
}

.nx-instructor__label {
	color: var(--nx-gold);
	font-size: var(--nx-text-eyebrow);
	font-weight: 600;
	letter-spacing: .14em;
	text-transform: uppercase;
}

.nx-instructor__name {
	color: var(--nx-ivory);
	font-weight: 600;
}

/* Curriculum (template-parts/blocks/curriculum.php):
 * <div class="nx-curriculum">
 *   <details class="nx-curriculum__section" open>
 *     <summary class="nx-curriculum__head"><span class="nx-curriculum__title">…</span>
 *       <span class="nx-curriculum__count">3 lessons</span></summary>
 *     <ol class="nx-curriculum__items"><li class="nx-curriculum__item" data-type="lp_lesson">
 *       <svg class="nx-icon nx-curriculum__icon">…</svg><span class="nx-curriculum__name">…</span>
 *       <span class="nx-curriculum__duration">…</span></li>…</ol>
 *   </details>…
 * </div>
 * Each section a panel like an FAQ item (components.css), opening and closing on its own;
 * each lesson or quiz a row under a hairline. The name of an item the visitor may open is
 * a link to it (<a class="nx-curriculum__link">), which covers its row.
 */
.nx-curriculum {
	display: flex;
	flex-direction: column;
	gap: .75rem;
	max-width: 52rem;
	interpolate-size: allow-keywords;
}

.nx-curriculum__section {
	border: 1px solid var(--nx-line);
	border-radius: var(--nx-radius);
	background: rgba(22, 59, 115, .3);
	transition: background-color .25s ease, border-color .25s ease;
}

.nx-curriculum__section[open] {
	border-color: rgba(198, 168, 91, .35);
	background: rgba(22, 59, 115, .5);
}

/* On a narrow phone the count wraps under the title instead of squeezing it. */
.nx-curriculum__head {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: .25rem var(--nx-space-2);
	padding: 1.125rem 1.5rem;
	border-radius: inherit;
	color: var(--nx-ivory);
	font-weight: 600;
	line-height: 1.4;
	list-style: none;
	cursor: pointer;
}

.nx-curriculum__head::-webkit-details-marker {
	display: none;
}

/* The chevron of the FAQ items: down, and up when open. */
.nx-curriculum__head::after {
	content: "";
	flex: none;
	width: .5rem;
	height: .5rem;
	margin: 0 .25rem .25rem 0;
	border-right: 2px solid var(--nx-gold);
	border-bottom: 2px solid var(--nx-gold);
	rotate: 45deg;
	transition: rotate .25s var(--nx-ease), margin .25s var(--nx-ease);
}

.nx-curriculum__section[open] > .nx-curriculum__head::after {
	margin: .25rem .25rem 0 0;
	rotate: -135deg;
}

.nx-curriculum__title {
	flex: 1 1 12rem;
	min-width: 0;
	font-size: 1.0625rem;
}

.nx-curriculum__count,
.nx-curriculum__duration {
	flex: none;
	color: var(--nx-ivory-70);
	font-size: var(--nx-text-small);
	font-weight: 500;
	white-space: nowrap;
}

/* Phones: the title and the chevron on the first line, the count under the title. */
@media (max-width: 559.98px) {
	.nx-curriculum__head::after {
		order: 1;
	}

	.nx-curriculum__head .nx-curriculum__count {
		order: 2;
		flex-basis: 100%;
		white-space: normal;
	}
}

.nx-curriculum__items {
	padding: 0 1.5rem .75rem;
}

.nx-curriculum__item {
	position: relative;
	display: flex;
	align-items: center;
	gap: .75rem;
	padding: .75rem 0;
	border-top: 1px solid var(--nx-line);
}

.nx-curriculum__icon {
	flex: none;
	width: 1.75rem;
	height: 1.75rem;
	padding: .375rem;
	border-radius: 50%;
	background: rgba(198, 168, 91, .14);
	color: var(--nx-gold);
}

.nx-curriculum__name {
	flex: 1;
	min-width: 0;
}

.nx-curriculum__link::after {
	content: "";
	position: absolute;
	inset: 0;
}

.nx-curriculum__section::details-content {
	block-size: 0;
	overflow-y: clip;
	transition: block-size .3s var(--nx-ease), content-visibility .3s allow-discrete;
}

.nx-curriculum__section[open]::details-content {
	block-size: auto;
}

/* LearnPress's buttons (nexali_course_buttons(), members only):
 * <div class="nx-course-actions"><div class="lp-course-buttons">
 *   <form name="enroll-course" class="enroll-course" method="post">…
 *     <button type="submit" class="lp-button button-enroll-course">Start Now</button></form>
 *   …buy, continue, retake, finish…
 * </div></div>
 * Enrol, buy and continue look like the primary button, retake and finish like the secondary
 * one. learnpress.css loads after this file and styles .learnpress-page .lp-button (and takes
 * away its focus ring), so these rules carry more classes.
 */
.nx-course-actions {
	width: 100%;
	margin-top: clamp(var(--nx-space-4), 1rem + 2vw, var(--nx-space-6));
}

/* In the hero (a course without a curriculum) they follow Join at the hero's own gap. */
.nx-course-hero__text .nx-course-actions {
	margin-top: 0;
}

.nx-course-actions:not(:has(button, a)) {
	display: none;
}

.nx-course-actions .lp-course-buttons {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: .75rem;
}

/* LearnPress prints an empty <div style="display:flex"> among its buttons: only !important
 * outranks an inline style. */
.nx-course-actions .lp-course-buttons > :empty {
	display: none !important;
}

.nx-course-actions form {
	margin: 0;
}

/* Continue is a <button> inside a link. */
.nx-course-actions a {
	text-decoration: none;
}

.single-lp_course .nx-course-actions .lp-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 48px;
	padding: .75rem 1.75rem;
	border: 1px solid transparent;
	border-radius: var(--nx-radius-pill);
	background: linear-gradient(135deg, var(--nx-gold), var(--nx-gold-2));
	box-shadow: none;
	color: var(--nx-charcoal);
	font-family: var(--nx-font-body);
	font-size: 1rem;
	font-weight: 600;
	line-height: 1.25;
	letter-spacing: .01em;
	text-transform: none;
	transition: border-color .2s ease, color .2s ease, box-shadow .3s ease, translate .2s ease;
}

.single-lp_course .nx-course-actions .lp-button:hover {
	border-color: transparent;
	background: linear-gradient(135deg, var(--nx-gold), var(--nx-gold-2));
	box-shadow: 0 10px 28px -10px rgba(198, 168, 91, .6);
	color: var(--nx-charcoal);
	translate: 0 -1px;
}

.single-lp_course .nx-course-actions .lp-button:focus-visible {
	outline: 2px solid var(--nx-focus);
	outline-offset: 3px;
}

.single-lp_course .nx-course-actions :is(.button-retake-course, .btn-finish-course),
.single-lp_course .nx-course-actions :is(.button-retake-course, .btn-finish-course):hover {
	border-color: rgba(247, 244, 236, .5);
	background: transparent;
	box-shadow: none;
	color: var(--nx-ivory);
}

@media (max-width: 559.98px) {
	.nx-course-actions .lp-course-buttons > *,
	.single-lp_course .nx-course-actions .lp-button {
		width: 100%;
	}
}

/* LearnPress's own course widgets (tabs, sidebar, progress, related courses), should one of
 * its hooks print them on the page. Inside .nx-main only: a lesson or quiz, also under
 * .single-lp_course, keeps LearnPress's own template and its progress bars. */
.single-lp_course .nx-main :is(#learn-press-course-tabs, .course-tabs, .course-summary-sidebar, .course-sidebar-preview, .learn-press-progress, .course-progress, .items-progress, .course-results-progress, .learn-press-breadcrumb, .lp-related-courses, .related-courses) {
	display: none;
}

/* 9. Prose ---------------------------------------------------------------------------
 * <div class="nx-prose">…post content…</div>
 * Text from the editor (a course description) at the reading measure: paragraphs, headings,
 * lists, quotes, images and tables, evenly spaced; the password form of a protected post.
 */
.nx-prose {
	max-width: var(--nx-measure);
}

/* :not(:first-child) rather than * + *: it outranks learnpress.css's p:last-child { margin: 0 },
 * which would pull the last paragraph up against the one before. The password form starts
 * with an empty paragraph, which must not push the text down. */
.nx-prose > :not(:first-child),
.nx-prose .post-password-form > p:not(:empty) ~ p {
	margin-top: 1.25em;
}

.nx-prose > :is(h2, h3, h4):not(:first-child) {
	margin-top: 2em;
}

.nx-prose h2 {
	font-size: clamp(1.5rem, 1.25rem + 1vw, 2rem);
}

.nx-prose h3 {
	font-size: clamp(1.25rem, 1.125rem + .5vw, 1.5rem);
}

.nx-prose :is(ul, ol) {
	padding-left: 1.25em;
}

.nx-prose li + li {
	margin-top: .5em;
}

.nx-prose li::marker {
	color: var(--nx-gold);
}

.nx-prose strong {
	color: var(--nx-ivory);
}

.nx-prose blockquote {
	padding-left: 1.25em;
	border-left: 2px solid var(--nx-gold);
	color: var(--nx-ivory);
	font-style: italic;
}

.nx-prose :is(img, video, iframe) {
	border-radius: var(--nx-radius);
}

.nx-prose figcaption {
	margin-top: .5em;
	font-size: var(--nx-text-small);
}

.nx-prose table {
	width: 100%;
	border-collapse: collapse;
}

.nx-prose :is(th, td) {
	padding: .5em .75em;
	border: 1px solid var(--nx-line);
	text-align: left;
}

/* .post-password-form outranks learnpress.css's .learnpress-page input[type="password"].
 * The fields and buttons of the forms, the login and the search look the same (12. Forms
 * and login, 14. Articles). */
.nx-prose .post-password-form input:is([type="password"], [type="text"]),
.nx-login input:is([type="password"], [type="text"], [type="email"]),
.nx-form :is(input:not([type="checkbox"], [type="radio"], [type="submit"], [type="hidden"], [type="file"]), select, textarea),
.nx-search__input {
	min-height: 48px;
	margin-top: .5rem;
	padding: .625rem 1rem;
	border: 1px solid rgba(247, 244, 236, .45); /* 3.6:1 or more on the cards and the page */
	border-radius: 12px;
	background: rgba(247, 244, 236, .04);
	color: var(--nx-ivory);
}

.nx-prose .post-password-form input[type="submit"],
:is(.nx-form, .nx-login) input[type="submit"] {
	min-height: 48px;
	padding: .75rem 1.75rem;
	border: 0;
	border-radius: var(--nx-radius-pill);
	background: linear-gradient(135deg, var(--nx-gold), var(--nx-gold-2));
	color: var(--nx-charcoal);
	font-weight: 600;
}

/* 10. About --------------------------------------------------------------------------
 * page-templates/about.php: the hero (5. Page hero) with its buttons in .nx-page-hero__actions
 * (as the homepage hero's, home.css); the Stats (components.css) in a shorter band; "What
 * NexAli World is" and "Who it is for" as Splits (home.css); and:
 * <ol class="nx-timeline"><li class="nx-timeline__item"><span class="nx-timeline__year">2026</span>
 *   <h3 class="nx-timeline__title">…</h3><p class="nx-timeline__text">…</p></li>…</ol>
 * <ul class="nx-course-list"><li><a class="nx-pill" href="…"><svg class="nx-icon">…</svg>Copywriting</a></li>…</ul>
 * <article class="nx-card nx-how"><span class="nx-how__step">01</span><h3 class="nx-how__title">…</h3><p>…</p></article>
 * <div class="nx-fit">[a Comparison panel --highlight][a panel --muted]</div>
 * The timeline is a gold line down the left with a dot for each step.
 */
.nx-about-stats {
	padding-block: clamp(2.5rem, 2rem + 2vw, 4rem);
}

.nx-timeline {
	display: grid;
	gap: var(--nx-space-4);
	max-width: 44rem;
	margin-inline: auto;
	padding-left: var(--nx-space-4);
	border-left: 1px solid rgba(198, 168, 91, .4);
}

.nx-timeline__item {
	position: relative;
	display: grid;
	gap: .5rem;
}

/* Centred on the line: the list's padding and half the dot to the left. */
.nx-timeline__item::before {
	content: "";
	position: absolute;
	top: .3em;
	left: calc(-1 * var(--nx-space-4) - 6px);
	width: 11px;
	height: 11px;
	border-radius: 50%;
	background: var(--nx-gold);
	box-shadow: 0 0 0 4px var(--nx-bg-2);
}

.nx-timeline__year,
.nx-how__step {
	color: var(--nx-gold);
	font-weight: 600;
}

.nx-timeline__year {
	font-size: var(--nx-text-eyebrow);
	letter-spacing: .14em;
	text-transform: uppercase;
}

.nx-course-list {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: .75rem;
}

.nx-course-list + .nx-page-hero__actions {
	margin-top: var(--nx-space-6);
}

/* Pills that link (the course list, an article's categories). */
a.nx-pill {
	text-decoration: none;
	transition: border-color .2s ease, color .2s ease;
}

a.nx-pill:hover {
	border-color: rgba(198, 168, 91, .55);
	color: var(--nx-gold-2);
}

.nx-how__step {
	font-family: var(--nx-font-display);
	font-size: 2.5rem;
	line-height: 1;
}

.nx-how__title {
	font-size: clamp(1.125rem, 1rem + .5vw, 1.375rem);
}

.nx-fit {
	display: grid;
	gap: var(--nx-space-3);
}

/* 11. Pricing, Starter Kit, Contact ---------------------------------------------------
 * Pricing: the Plans and the pricing note (home.css, Pricing), the resource cards in
 * .nx-grid-4 and the Comparison. The Starter Kit: the course page's hero (8. Course page),
 * the NexAli mark on its tile while no image is chosen, then a Split with the form card
 * (12. Forms and login). Contact:
 * <div class="nx-container nx-contact__grid">
 *   <div class="nx-card nx-contact__email"><span class="nx-resource__icon">…</span>
 *     <h2 class="nx-contact__title">Email us</h2><p><a href="mailto:…">…</a></p><p class="nx-contact__note">…</p></div>
 *   [form card]
 * </div>
 * The email card beside the form from 900px (a third and two thirds), above it below.
 */
.nx-course-hero__media > .nx-tile > img {
	width: clamp(4rem, 3rem + 4vw, 7rem);
}

.nx-contact__grid {
	display: grid;
	align-items: start;
	gap: var(--nx-space-3);
}

@media (min-width: 900px) {
	.nx-contact__grid:not(.nx-contact__grid--single):has(> .nx-contact__email) {
		grid-template-columns: minmax(0, 1fr) minmax(0, 2fr);
	}
}

.nx-contact__note {
	font-size: var(--nx-text-small);
}

/* 12. Forms and login ----------------------------------------------------------------
 * <div class="nx-card nx-form-card"><h2 class="nx-form-card__title">…</h2>
 *   <div class="nx-form">…a form plugin's form…</div></div>   (template-parts/blocks/form.php)
 * <div class="nx-login"><h1 class="nx-login__title">…</h1>[wp_login_form()]
 *   <p class="nx-login__lost"><a href="…">Forgot your password?</a></p></div>
 * Labels over full-width fields, which look like the password form's (9. Prose), and a
 * gold submit button; Contact Form 7's messages in the palette. The login form is a card
 * of its own, centred in the hero.
 */
.nx-form-card__title,
.nx-contact__title {
	font-size: var(--nx-text-h3);
}

:is(.nx-form, .nx-login) p + p {
	margin-top: 1.25rem;
}

:is(.nx-form, .nx-login) label {
	display: block;
	color: var(--nx-ivory);
	font-size: var(--nx-text-small);
	font-weight: 500;
}

.nx-login input:is([type="password"], [type="text"], [type="email"]),
.nx-form :is(input:not([type="checkbox"], [type="radio"], [type="submit"], [type="hidden"], [type="file"]), select, textarea) {
	width: 100%;
}

.nx-form textarea {
	height: 10rem;
	resize: vertical;
}

:is(.nx-form, .nx-login) input[type="submit"] {
	cursor: pointer;
}

.nx-form .wpcf7-not-valid-tip {
	margin-top: .375rem;
	color: var(--nx-gold-2);
	font-size: var(--nx-text-small);
}

.nx-form :is(input, select, textarea).wpcf7-not-valid {
	border-color: var(--nx-gold);
}

.nx-form .wpcf7 form .wpcf7-response-output {
	margin: 1.25rem 0 0;
	padding: .75rem 1rem;
	border: 1px solid var(--nx-gold);
	border-radius: 12px;
	color: var(--nx-ivory);
	font-size: var(--nx-text-small);
}

.nx-form .wpcf7 form.sent .wpcf7-response-output {
	border-color: var(--nx-focus);
}

.nx-login {
	display: grid;
	gap: var(--nx-space-3);
	max-width: 28rem;
	margin-inline: auto;
	padding: clamp(var(--nx-space-3), 1rem + 2vw, 2.5rem);
	border: 1px solid var(--nx-line);
	border-radius: var(--nx-radius);
	background: linear-gradient(180deg, rgba(22, 59, 115, .55), rgba(22, 59, 115, .3));
	box-shadow: var(--nx-shadow);
}

.nx-signup__trap {
	position: absolute;
	left: -9999px;
}

.nx-login__error,
.nx-login__note {
	margin-bottom: 1.25rem;
	padding: .75rem 1rem;
	border: 1px solid var(--nx-gold);
	border-radius: 12px;
	font-size: var(--nx-text-small);
}

.nx-login__title {
	font-size: var(--nx-text-h2);
	text-align: center;
}

.nx-login .login-remember label {
	display: flex;
	align-items: center;
	gap: .5rem;
}

.nx-login input[type="checkbox"] {
	width: 1.125rem;
	height: 1.125rem;
	accent-color: var(--nx-gold);
}

.nx-login input[type="submit"] {
	width: 100%;
}

.nx-login__lost {
	font-size: var(--nx-text-small);
	text-align: center;
}

/* 13. Text pages ---------------------------------------------------------------------
 * page.php: the compact hero (5. Page hero) with <p class="nx-page-hero__date">Last updated
 * <time …>…</time></p>; then <div class="nx-prose nx-page-body__text">, the reading column
 * centred under it, led by the table of contents of a long page:
 * <nav class="nx-toc" aria-labelledby="nx-toc-title"><p id="nx-toc-title" class="nx-toc__title">On this page</p>
 *   <ol class="nx-toc__list"><li><a href="#…">…</a></li>…</ol></nav>
 * A page a plugin draws (LearnPress's profile) holds <div class="nx-plugin-page"> instead.
 */
.nx-page-hero__date,
.nx-article__meta {
	font-size: var(--nx-text-small);
}

.nx-page-body__text,
.nx-article__body .nx-prose {
	margin-inline: auto;
}

.nx-toc {
	padding: var(--nx-space-3);
	border: 1px solid var(--nx-line);
	border-radius: var(--nx-radius);
	background: rgba(22, 59, 115, .3);
}

.nx-toc__title {
	color: var(--nx-gold);
	font-size: var(--nx-text-eyebrow);
	font-weight: 600;
	letter-spacing: .14em;
	text-transform: uppercase;
}

.nx-toc__list {
	margin-top: .75rem;
	list-style: decimal;
}

/* 14. Articles -----------------------------------------------------------------------
 * The articles page, the archives and the search (template-parts/post-list.php): the compact
 * hero, a search's holding <form class="nx-search" role="search">[label]
 * <input class="nx-search__input" type="search">[primary button]</form>; then
 * <div class="nx-posts">…post cards…</div> (the grid of Reviews, home.css) and
 * <nav class="nx-pagination"><span class="page-numbers current">1</span><a class="page-numbers">2</a>…</nav>.
 * <article class="nx-post-card">[16:9 image, or a .nx-tile]<div class="nx-post-card__body">
 *   <span class="nx-post-card__cat">…</span><h2 class="nx-post-card__title">…</h2>
 *   <p class="nx-post-card__excerpt">…</p><p class="nx-post-card__meta"><time>…</time> · 3 min read</p>
 *   <a class="nx-post-card__link" href="…">Read more<span class="nx-visually-hidden">: …</span></a></div></article>
 * looks like a course card (home.css, Cards and Courses). An article (single.php): the
 * compact hero with <p class="nx-article__cats">[linked pills]</p>, the title and
 * <p class="nx-article__meta">, then the featured image and the text in the reading column.
 */
.nx-search {
	display: flex;
	flex-wrap: wrap;
	gap: .75rem;
	width: 100%;
	max-width: 36rem;
}

.nx-search__input {
	flex: 1 1 14rem;
	margin-top: 0;
}

.nx-post-list__empty {
	text-align: center;
}

.nx-pagination {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: .5rem;
	margin-top: var(--nx-space-6);
}

.nx-pagination .page-numbers {
	display: grid;
	place-items: center;
	min-width: 48px;
	min-height: 48px;
	padding-inline: 1rem;
	border: 1px solid var(--nx-line);
	border-radius: var(--nx-radius-pill);
	text-decoration: none;
}

.nx-pagination .current {
	border-color: var(--nx-gold);
	color: var(--nx-gold-2);
}

.nx-pagination .dots {
	border-color: transparent;
}

.nx-article__cats {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: .5rem;
}

/* The featured image fills the reading column, whatever its own size. */
.nx-article__image img {
	display: block;
	width: 100%;
}

/* 15. LearnPress screens ---------------------------------------------------------------
 * LearnPress draws its lesson and quiz view, and the "This content is protected" message
 * of a lesson the visitor may not open, on a white panel over the whole page
 * (#popup-course), and its profile and checkout with light boxes and tables for a light
 * page; page.php sets a plugin's page on an ivory panel (<div class="nx-plugin-page">).
 * On both: charcoal text and headings, indigo links and focus rings, light form fields,
 * and the text of a lesson spaced as in 9. Prose. :where() leaves LearnPress's own
 * colours (its tabs, buttons and messages) in charge.
 */
/* flow-root: the profile's columns are floats, which the panel holds. */
.nx-plugin-page {
	display: flow-root;
	padding: clamp(var(--nx-space-3), 1rem + 2vw, var(--nx-space-6));
	border-radius: var(--nx-radius);
	background: var(--nx-ivory);
}

:where(.nx-plugin-page, #popup-course) {
	--nx-focus: var(--nx-indigo);
	color: var(--nx-charcoal);
	color-scheme: light;
}

:where(.nx-plugin-page, #popup-course) :is(h1, h2, h3, h4, h5, h6, strong),
:where(.nx-plugin-page, #popup-course) a:hover {
	color: var(--nx-charcoal);
}

:where(.nx-plugin-page, #popup-course) a {
	color: var(--nx-indigo);
}

/* learnpress.css takes the underline off every link: a lesson's text keeps it. */
#popup-course .content-item-description a {
	text-decoration: underline 1px;
	text-underline-offset: .2em;
}

#popup-course .content-item-description > :not(:first-child) {
	margin-top: 1em;
}

/* learnpress.css takes the focus ring off its buttons, the curriculum search, the sidebar
 * toggle, quiz answers, its form fields and the lesson's comment field, with selectors that
 * outrank :focus-visible: the ring comes back on everything focusable. In the curriculum
 * sidebar, which clips what overflows it, the fields keep the ring on their edge. */
html :where(.nx-plugin-page, #popup-course) :is(a, button, input, select, textarea, summary, [tabindex], .lp-button, #sidebar-toggle):focus-visible {
	outline: 2px solid var(--nx-focus) !important;
	outline-offset: 2px;
}

html #popup-course #popup-sidebar :is(input, button, select, textarea):focus-visible {
	outline-offset: 0;
}

/* The lesson and quiz view covers the whole page: the page's own header and footer, and
 * LearnPress's breadcrumb under the panel, leave the tab order and the screen reader with it,
 * as does the skip link, which has no #main to go to there. The page does not scroll under
 * the panel, so no space is kept for a scrollbar (base.css) either. */
.course-item-popup :is(.nx-header, .nx-footer, .nx-skip-link),
.course-item-popup .learn-press-breadcrumb:not(#popup-course *) {
	display: none;
}

html:has(> body.course-item-popup) {
	scrollbar-gutter: auto;
}

/* The comment form under a lesson: the label over a full-width field, the button like the
 * secondary button on a light surface (the Plans, components.css). */
#popup-course .comment-form label {
	display: block;
	margin-bottom: .5rem;
	font-weight: 600;
}

#popup-course .comment-form textarea {
	display: block;
	width: 100%;
	min-height: 10rem;
	padding: .75rem 1rem;
	border: 1px solid rgba(31, 36, 48, .55); /* 3.6:1 on white */
	border-radius: 12px;
	background: #fff;
	color: var(--nx-charcoal);
	resize: vertical;
}

#popup-course .comment-form input[type="submit"] {
	min-height: 48px;
	margin-top: 1rem;
	padding: .75rem 1.75rem;
	border: 1px solid rgba(31, 36, 48, .35);
	border-radius: var(--nx-radius-pill);
	background: transparent;
	color: var(--nx-charcoal);
	font-weight: 600;
	line-height: 1.25;
	cursor: pointer;
	transition: border-color .2s ease, background-color .2s ease;
}

#popup-course .comment-form input[type="submit"]:hover {
	border-color: var(--nx-charcoal);
	background: rgba(31, 36, 48, .05);
}

/* ==========================================================================
   Fix wave: rules for markup added by the theme PHP owners. The stylesheet
   owner does not edit below this line.
   ========================================================================== */

/* fix-wave T1 */

/* fix-wave T2 */
