/*
 * Nova Site CSS
 * Styles for the website-only sections (blog, library, store, login, member
 * directory, announcements, newsletter, sales page, etc.).
 *
 * These sections render on page types the Nova landing page never produced,
 * so their styling lives here as plain CSS instead of relying on Tailwind
 * utilities being present in the compiled tailwind.css. Everything reads the
 * same --nova-* custom properties that global_head.liquid emits from the
 * Style Guide, so brand colors, fonts and type scale flow through untouched.
 *
 * Rules are unlayered on purpose: they need to beat Tailwind preflight
 * (which lives in @layer base) for margins, list styles and form controls.
 */

:root {
  --ns-accent: var(--nova-color-accent, #6366f1);
  --ns-primary: var(--nova-color-primary, #6366f1);
  --ns-heading: var(--nova-color-heading, #161e2a);
  --ns-body: var(--nova-color-body, #595959);
  --ns-muted: var(--nova-color-body-secondary, #888888);
  --ns-surface: #ffffff;
  --ns-subtle: #f4f4f5;
  --ns-border: #e4e4e7;
  --ns-border-strong: #d4d4d8;
  --ns-radius: 16px;
  --ns-radius-sm: 10px;
  --ns-radius-xs: 6px;
  --ns-shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
  --ns-shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.08), 0 2px 4px -2px rgb(0 0 0 / 0.06);
  --ns-shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.08), 0 4px 6px -4px rgb(0 0 0 / 0.06);
  --ns-max: 75rem;
  --ns-error-fg: var(--nova-error-text, #ffffff);
  --ns-error-bg: var(--nova-error-bg, #dc2626);
}

/* ------------------------------------------------------------------ */
/* Section shell                                                       */
/* ------------------------------------------------------------------ */

.ns-section {
  position: relative;
  isolation: isolate;
  padding: var(--ns-pt, 48px) var(--ns-pr, 16px) var(--ns-pb, 48px) var(--ns-pl, 16px);
  color: var(--ns-body);
}
@media (min-width: 768px) {
  .ns-section {
    padding: var(--ns-pt-d, 80px) var(--ns-pr-d, 40px) var(--ns-pb-d, 80px) var(--ns-pl-d, 40px);
  }
}
.ns-section--full-height {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.ns-section--center-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
}
@media (max-width: 1023px) {
  .ns-hide-mobile { display: none !important; }
}
@media (min-width: 1024px) {
  .ns-hide-desktop { display: none !important; }
}

.ns-bg {
  position: absolute;
  inset: 0;
  z-index: -2;
  background-size: cover;
  background-repeat: no-repeat;
  overflow: hidden;
  pointer-events: none;
}
.ns-bg--overlay { z-index: -1; }
@media (min-width: 768px) {
  .ns-bg--fixed { background-attachment: fixed; }
}
.ns-bg__video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ns-container {
  position: relative;
  width: 100%;
  max-width: var(--ns-max);
  margin-inline: auto;
}
.ns-container--narrow { max-width: 46rem; }
.ns-container--medium { max-width: 60rem; }
.ns-container--auth { max-width: 28rem; }

/* ------------------------------------------------------------------ */
/* Typography helpers                                                  */
/* ------------------------------------------------------------------ */

.ns-eyebrow {
  margin: 0 0 0.5rem;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--ns-muted);
}
.ns-heading {
  margin: 0;
  font-family: var(--nova-font-heading, system-ui, sans-serif);
  color: var(--ns-heading);
}
.ns-title-xl { font-size: var(--nova-font-size-h1, 2.25rem); line-height: 1.15; font-weight: 700; }
.ns-title-lg { font-size: var(--nova-font-size-h2, 1.875rem); line-height: 1.2; font-weight: 700; }
.ns-title-md { font-size: var(--nova-font-size-h3, 1.5rem); line-height: 1.3; font-weight: 600; }
.ns-title-sm { font-size: var(--nova-font-size-h4, 1.25rem); line-height: 1.35; font-weight: 600; }
.ns-title-xs { font-size: var(--nova-font-size-h5, 1.125rem); line-height: 1.4; font-weight: 600; }
.ns-text-sm { font-size: 0.875rem; line-height: 1.5; }
.ns-text-xs { font-size: 0.8125rem; line-height: 1.5; }
.ns-muted { color: var(--ns-muted); }
.ns-lead {
  margin: 0.75rem 0 0;
  font-size: 1.0625em;
  color: var(--ns-body);
}

.ns-page-header {
  margin: 0 auto 2.5rem;
  max-width: 46rem;
  text-align: center;
}
.ns-page-header--left {
  margin-left: 0;
  text-align: left;
}
.ns-page-header__row {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.ns-link {
  color: var(--ns-accent);
  font-weight: 500;
  text-decoration: none;
}
.ns-link:hover { text-decoration: underline; text-underline-offset: 3px; }

.ns-back-link {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  margin-bottom: 1.5rem;
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--ns-muted);
}
.ns-back-link:hover { color: var(--ns-heading); }
.ns-back-link svg { width: 1.1em; height: 1.1em; }

/* Rich text that comes from the Kajabi admin (pages, posts, newsletters). */
.ns-prose {
  color: var(--ns-body);
  line-height: var(--nova-line-height-body, 1.7);
  overflow-wrap: break-word;
}
.ns-prose > :first-child { margin-top: 0; }
.ns-prose > :last-child { margin-bottom: 0; }
.ns-prose p { margin: 0 0 1.25em; }
.ns-prose h1, .ns-prose h2, .ns-prose h3,
.ns-prose h4, .ns-prose h5, .ns-prose h6 {
  margin: 1.75em 0 0.6em;
  color: var(--ns-heading);
}
.ns-prose ul, .ns-prose ol {
  list-style: revert;
  margin: 0 0 1.25em;
  padding-inline-start: 1.5em;
}
.ns-prose li { margin: 0.35em 0; }
.ns-prose a {
  color: var(--ns-accent);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.ns-prose strong, .ns-prose b { font-weight: 700; }
.ns-prose em, .ns-prose i { font-style: italic; }
.ns-prose blockquote {
  margin: 1.75em 0;
  padding: 0.25em 0 0.25em 1.25em;
  border-inline-start: 3px solid var(--ns-accent);
  font-size: 1.1em;
  color: var(--ns-heading);
}
.ns-prose img, .ns-prose video, .ns-prose iframe {
  max-width: 100%;
  height: auto;
  border-radius: var(--ns-radius-sm);
}
.ns-prose iframe { aspect-ratio: 16 / 9; width: 100%; }
.ns-prose figure { margin: 1.75em 0; }
.ns-prose hr {
  margin: 2.5em 0;
  border: 0;
  border-top: 1px solid var(--ns-border);
}
.ns-prose code {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.9em;
  padding: 0.15em 0.4em;
  border-radius: 0.3rem;
  background: var(--ns-subtle);
}
.ns-prose pre {
  overflow-x: auto;
  margin: 0 0 1.25em;
  padding: 1rem 1.25rem;
  border-radius: var(--ns-radius-sm);
  background: #18181b;
  color: #f4f4f5;
}
.ns-prose pre code { padding: 0; background: none; color: inherit; }
.ns-prose table {
  width: 100%;
  margin: 0 0 1.25em;
  border-collapse: collapse;
}
.ns-prose th, .ns-prose td {
  padding: 0.6em 0.75em;
  border-bottom: 1px solid var(--ns-border);
  text-align: left;
}

/* ------------------------------------------------------------------ */
/* Surfaces                                                            */
/* ------------------------------------------------------------------ */

.ns-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-width: 0;
  border: 1px solid var(--ns-border);
  border-radius: var(--ns-radius);
  background: var(--ns-surface);
  box-shadow: var(--ns-shadow-sm);
  overflow: hidden;
}
.ns-card--flat { box-shadow: none; }
.ns-card--interactive { transition: box-shadow 200ms ease, transform 200ms ease, border-color 200ms ease; }
.ns-card--interactive:hover {
  border-color: var(--ns-border-strong);
  box-shadow: var(--ns-shadow-md);
  transform: translateY(-2px);
}
.ns-card__body { padding: 1.5rem; }
@media (min-width: 768px) {
  .ns-card__body--roomy { padding: 2.5rem; }
}

.ns-shadow-none { box-shadow: none !important; }
.ns-shadow-small { box-shadow: var(--ns-shadow-sm) !important; }
.ns-shadow-medium { box-shadow: var(--ns-shadow-md) !important; }
.ns-shadow-large { box-shadow: var(--ns-shadow-lg) !important; }

/* Optional "put in container" panels (blog listing, post body, sidebar). */
.ns-panel {
  padding: 1.5rem;
  border: 1px solid var(--ns-border);
  border-radius: var(--ns-radius);
  background: var(--ns-surface);
}
@media (min-width: 768px) {
  .ns-panel { padding: 2.5rem; }
}
.ns-aside .ns-panel { padding: 1.5rem; }

/* ------------------------------------------------------------------ */
/* Grids & layouts                                                     */
/* ------------------------------------------------------------------ */

.ns-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 1.5rem;
}
@media (min-width: 640px) {
  .ns-grid--2, .ns-grid--3, .ns-grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 1024px) {
  .ns-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .ns-grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
.ns-grid--stretch > * { height: 100%; }
.ns-grid--start { align-items: start; }

.ns-stack { display: flex; flex-direction: column; gap: 1.5rem; }
.ns-stack--lg { gap: 2rem; }

/* Content + sidebar layout used by blog, search and newsletter pages. */
.ns-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 2.5rem;
}
.ns-layout--sidebar-top-mobile .ns-aside { order: -1; }
@media (max-width: 1023px) {
  .ns-layout--hide-aside-mobile .ns-aside { display: none; }
}
@media (min-width: 1024px) {
  .ns-layout--with-aside { grid-template-columns: minmax(0, 1fr) 18.5rem; gap: 3.5rem; }
  .ns-layout--with-aside.ns-layout--aside-left { grid-template-columns: 18.5rem minmax(0, 1fr); }
  .ns-layout--with-aside .ns-aside,
  .ns-layout--sidebar-top-mobile .ns-aside { order: 0; }
  .ns-layout--aside-left .ns-aside { order: -1; }
  .ns-layout--hide-aside-desktop .ns-aside { display: none; }
}
.ns-main { min-width: 0; }
.ns-aside { min-width: 0; }
.ns-aside__inner {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}
@media (min-width: 1024px) {
  .ns-aside--sticky .ns-aside__inner { position: sticky; top: 6.5rem; }
}

/* ------------------------------------------------------------------ */
/* Buttons & forms                                                     */
/* ------------------------------------------------------------------ */

.ns-btn {
  --ns-btn-bg: var(--nova-btn-bg, var(--ns-accent));
  --ns-btn-fg: var(--nova-btn-text, #ffffff);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  border: 2px solid var(--ns-btn-bg);
  border-radius: 0.375rem;
  background: var(--ns-btn-bg);
  color: var(--ns-btn-fg);
  font-family: inherit;
  font-size: 1rem;
  font-weight: 500;
  line-height: 1.25;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: opacity 150ms ease, transform 150ms ease, background-color 150ms ease;
  -webkit-appearance: none;
  appearance: none;
}
.ns-btn:hover { opacity: 0.9; color: var(--ns-btn-fg); }
.ns-btn:active { transform: translateY(1px); }
.ns-btn:focus-visible { outline: 2px solid var(--ns-btn-bg); outline-offset: 2px; }
.ns-btn--small { padding: 0.5rem 1rem; font-size: 0.875rem; }
.ns-btn--large { padding: 1rem 2rem; font-size: 1.125rem; }
.ns-btn--full,
.ns-btn.ns-btn--block { display: flex; width: 100%; }
.ns-btn--square { border-radius: 0; }
.ns-btn--pill { border-radius: 9999px; }
.ns-btn--outline { background: transparent; color: var(--ns-btn-bg); }
.ns-btn--outline:hover { color: var(--ns-btn-bg); opacity: 0.8; }

.ns-field { margin: 0 0 1rem; text-align: left; }
.ns-label {
  display: block;
  margin: 0 0 0.375rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--ns-heading);
}
.ns-input,
.ns-select,
.ns-section .form-control,
.ns-section input[type='text']:not([class]),
.ns-section input[type='email']:not([class]),
.ns-section input[type='tel']:not([class]),
.ns-section input[type='password']:not([class]),
.ns-section textarea:not([class]),
.ns-section select:not([class]) {
  display: block;
  width: 100%;
  min-height: 2.875rem;
  padding: 0.625rem 0.875rem;
  border: 1px solid var(--ns-border-strong);
  border-radius: var(--ns-radius-sm);
  background: #ffffff;
  color: var(--ns-heading);
  font-family: inherit;
  font-size: 1rem;
  line-height: 1.5;
  transition: border-color 150ms ease, box-shadow 150ms ease;
  -webkit-appearance: none;
  appearance: none;
}
.ns-section textarea:not([class]), .ns-section textarea.form-control { min-height: 7rem; }
.ns-input::placeholder,
.ns-section .form-control::placeholder { color: var(--nova-color-placeholder, #a1a1aa); }
.ns-input:focus,
.ns-select:focus,
.ns-section .form-control:focus {
  outline: none;
  border-color: var(--ns-accent);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--ns-accent) 20%, transparent);
}
.ns-select,
.ns-section select.form-control {
  padding-right: 2.5rem;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='%2371717a'%3E%3Cpath fill-rule='evenodd' d='M5.23 7.21a.75.75 0 011.06.02L10 11.168l3.71-3.938a.75.75 0 111.08 1.04l-4.25 4.5a.75.75 0 01-1.08 0l-4.25-4.5a.75.75 0 01.02-1.06z' clip-rule='evenodd'/%3E%3C/svg%3E");
  background-position: right 0.75rem center;
  background-repeat: no-repeat;
  background-size: 1.25rem;
  cursor: pointer;
}
.ns-section .form-group { margin: 0 0 1rem; text-align: left; }
.ns-section .form-group label { display: block; margin: 0 0 0.375rem; font-size: 0.875rem; font-weight: 500; color: var(--ns-heading); }
.ns-checkbox {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9375rem;
  cursor: pointer;
}
.ns-checkbox input {
  width: 1.05rem;
  height: 1.05rem;
  accent-color: var(--ns-accent);
}
.ns-hidden { display: none !important; }

/* Search inputs with a leading icon. */
.ns-search { position: relative; }
.ns-search__icon {
  position: absolute;
  top: 50%;
  left: 0.875rem;
  width: 1.1rem;
  height: 1.1rem;
  color: var(--ns-muted);
  transform: translateY(-50%);
  pointer-events: none;
}
.ns-search .ns-input { padding-left: 2.6rem; }

.ns-filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: stretch;
}
.ns-filter-bar > * { flex: 1 1 12rem; }
.ns-filter-bar form { display: flex; gap: 0.75rem; flex: 2 1 18rem; }
.ns-filter-bar form .ns-search { flex: 1; }

/* ------------------------------------------------------------------ */
/* Alerts                                                              */
/* ------------------------------------------------------------------ */

.ns-alert {
  margin: 0 0 1rem;
  padding: 0.75rem 1rem;
  border: 1px solid var(--ns-border);
  border-radius: var(--ns-radius-sm);
  background: var(--ns-subtle);
  font-size: 0.9375rem;
  text-align: left;
}
.ns-alert--error {
  border-color: color-mix(in srgb, var(--ns-error-bg) 35%, transparent);
  background: color-mix(in srgb, var(--ns-error-bg) 8%, #ffffff);
  color: color-mix(in srgb, var(--ns-error-bg) 80%, #000000);
}
.ns-field-error {
  display: block;
  margin-top: 0.375rem;
  font-size: 0.8125rem;
  color: var(--ns-error-bg);
}
.ns-field--error .ns-input { border-color: var(--ns-error-bg); }

.ns-flash {
  position: relative;
  z-index: 40;
  padding: 0.875rem 1rem;
  font-weight: 500;
  text-align: center;
}
.ns-flash__inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  max-width: var(--ns-max);
  margin: 0 auto;
}
.ns-flash svg { width: 1.15rem; height: 1.15rem; flex-shrink: 0; }
.ns-flash--success { background: #ecfdf5; color: #065f46; }
.ns-flash--error { background: var(--ns-error-bg); color: var(--ns-error-fg); }

.ns-empty {
  padding: 2.5rem 1.5rem;
  border: 1px dashed var(--ns-border-strong);
  border-radius: var(--ns-radius);
  background: var(--ns-surface);
  color: var(--ns-muted);
  text-align: center;
}
.ns-editor-note {
  padding: 1.25rem;
  border: 2px dashed #e4e8ee;
  border-radius: var(--ns-radius-sm);
  color: var(--ns-muted);
  text-align: center;
}

/* ------------------------------------------------------------------ */
/* Tags, meta & pagination                                             */
/* ------------------------------------------------------------------ */

.ns-tags { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.ns-tag {
  display: inline-flex;
  align-items: center;
  padding: 0.25rem 0.7rem;
  border-radius: 9999px;
  background: color-mix(in srgb, var(--ns-accent) 10%, transparent);
  color: var(--ns-accent);
  font-size: 0.8125rem;
  font-weight: 500;
  line-height: 1.4;
  text-transform: capitalize;
  text-decoration: none;
  transition: background-color 150ms ease;
}
.ns-tag:hover { background: color-mix(in srgb, var(--ns-accent) 18%, transparent); }
.ns-tag--active { background: var(--ns-accent); color: #ffffff; }

.ns-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.375rem 0.75rem;
  font-size: 0.875rem;
  color: var(--ns-muted);
}
.ns-meta__dot::before { content: '\00B7'; }

.ns-pagination {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.375rem;
  margin-top: 3rem;
}
.ns-pagination__link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2.5rem;
  height: 2.5rem;
  padding: 0 0.75rem;
  border: 1px solid var(--ns-border);
  border-radius: var(--ns-radius-sm);
  background: var(--ns-surface);
  color: var(--ns-heading);
  font-size: 0.9375rem;
  font-weight: 500;
  text-decoration: none;
  transition: border-color 150ms ease, background-color 150ms ease;
}
a.ns-pagination__link:hover { border-color: var(--ns-border-strong); background: var(--ns-subtle); }
.ns-pagination__link--current {
  border-color: var(--ns-accent);
  background: var(--ns-accent);
  color: #ffffff;
}
.ns-pagination__link--disabled { opacity: 0.4; cursor: default; }
.ns-pagination__link svg { width: 1.1rem; height: 1.1rem; }

/* ------------------------------------------------------------------ */
/* Media                                                               */
/* ------------------------------------------------------------------ */

.ns-media {
  position: relative;
  display: block;
  overflow: hidden;
  background: var(--ns-subtle);
}
.ns-media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 400ms ease;
}
.ns-media--16x9 { aspect-ratio: 16 / 9; }
.ns-media--4x3 { aspect-ratio: 4 / 3; }
.ns-media--square { aspect-ratio: 1 / 1; }
.ns-card--interactive:hover .ns-media img,
a.ns-media:hover img { transform: scale(1.03); }
.ns-video { overflow: hidden; border-radius: var(--ns-radius); background: #000000; }
.ns-video .video__wrapper { position: relative; }
.ns-rounded { border-radius: var(--ns-radius); overflow: hidden; }

/* ------------------------------------------------------------------ */
/* Blog                                                                */
/* ------------------------------------------------------------------ */

.ns-posts { display: grid; gap: 1.5rem; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 640px) {
  .ns-posts--grid-2, .ns-posts--grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 1024px) {
  .ns-posts--grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .ns-layout--with-aside .ns-posts--grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 1280px) {
  .ns-layout--with-aside .ns-posts--grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

.ns-post-card { display: flex; flex-direction: column; height: 100%; min-width: 0; }
.ns-post-card--flat .ns-post-card__media { border-radius: var(--ns-radius); }
.ns-post-card--flat .ns-post-card__body { padding: 1.25rem 0 0; }
.ns-posts--list .ns-post-card--flat .ns-post-card__body { padding: 1.5rem 0 0; }
.ns-post-card__body {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 0.75rem;
  padding: 1.5rem;
}
.ns-post-card__title {
  margin: 0;
  font-family: var(--nova-font-heading, system-ui, sans-serif);
  font-size: var(--nova-font-size-h4, 1.25rem);
  font-weight: 600;
  line-height: 1.3;
  color: var(--ns-heading);
}
.ns-post-card__title a { color: inherit; text-decoration: none; }
.ns-post-card__title a:hover { color: var(--ns-accent); }
.ns-post-card__excerpt { margin: 0; color: var(--ns-body); }
.ns-post-card__excerpt p { margin: 0 0 0.75em; }
.ns-post-card__excerpt > :last-child { margin-bottom: 0; }
.ns-post-card__more {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  margin-top: auto;
  padding-top: 0.25rem;
  font-weight: 600;
  color: var(--ns-accent);
  text-decoration: none;
}
.ns-post-card__more svg { width: 1.1em; height: 1.1em; transition: transform 150ms ease; }
.ns-post-card__more:hover svg { transform: translateX(3px); }
.ns-post-card__media .video { height: 100%; }

/* List layout: big media on top, roomy body. */
.ns-posts--list .ns-post-card__title { font-size: var(--nova-font-size-h3, 1.5rem); }
@media (min-width: 768px) {
  .ns-posts--list .ns-post-card__body { padding: 2rem; }
}

/* Side layouts: media beside body on larger screens. */
@media (min-width: 768px) {
  .ns-posts--side-left .ns-post-card--has-media,
  .ns-posts--side-right .ns-post-card--has-media { flex-direction: row; }
  .ns-posts--side-right .ns-post-card--has-media { flex-direction: row-reverse; }
  .ns-posts--side-left .ns-post-card__media,
  .ns-posts--side-right .ns-post-card__media { flex: 0 0 40%; aspect-ratio: auto; min-height: 15rem; }
  .ns-posts--side-left .ns-post-card--flat.ns-post-card--has-media,
  .ns-posts--side-right .ns-post-card--flat.ns-post-card--has-media { gap: 2rem; }
  .ns-posts--side-left .ns-post-card--flat .ns-post-card__body,
  .ns-posts--side-right .ns-post-card--flat .ns-post-card__body { padding: 0; justify-content: center; }
}

.ns-article__header { margin-bottom: 2rem; }
.ns-article__title { margin: 0 0 1rem; }
.ns-article__media { margin-bottom: 2.5rem; border-radius: var(--ns-radius); overflow: hidden; }
.ns-article__media img { display: block; width: 100%; height: auto; }
.ns-article__header + .ns-article__media { margin-top: 0; }
.ns-article__content { font-size: 1.0625em; }
.ns-article__extras { display: flex; flex-direction: column; gap: 1.5rem; margin-top: 3rem; }

.ns-callout {
  padding: 2rem 1.5rem;
  border: 1px solid var(--ns-border);
  border-radius: var(--ns-radius);
  background: var(--ns-surface);
}
@media (min-width: 768px) {
  .ns-callout { padding: 2.5rem; }
}
.ns-callout__content > :first-child { margin-top: 0; }
.ns-callout__content > :last-child { margin-bottom: 0; }
.ns-callout__actions { margin-top: 1.5rem; }
.ns-callout__form { margin-top: 1.5rem; }
.ns-callout__disclaimer { margin: 1rem 0 0; font-size: 0.8125rem; }
.ns-callout--center { text-align: center; }
.ns-callout--right { text-align: right; }
.ns-callout--center .ns-callout__form form { max-width: 28rem; margin-inline: auto; }

.ns-comments { margin-top: 3rem; padding-top: 2rem; border-top: 1px solid var(--ns-border); }
.ns-comment-count { font-size: 0.875rem; color: var(--ns-muted); }

/* Search results */
.ns-results__summary { margin: 0.5rem 0 0; color: var(--ns-muted); }
.ns-result {
  display: block;
  padding: 1.5rem 0;
  border-bottom: 1px solid var(--ns-border);
  text-decoration: none;
}
.ns-result:first-child { padding-top: 0; }
.ns-result__title {
  margin: 0 0 0.5rem;
  font-family: var(--nova-font-heading, system-ui, sans-serif);
  font-size: var(--nova-font-size-h4, 1.25rem);
  font-weight: 600;
  color: var(--ns-heading);
}
a.ns-result:hover .ns-result__title { color: var(--ns-accent); }
.ns-result__body { margin: 0; color: var(--ns-body); }

/* ------------------------------------------------------------------ */
/* Sidebar widgets                                                     */
/* ------------------------------------------------------------------ */

.ns-widget { min-width: 0; }
.ns-widget__title {
  margin: 0 0 0.875rem;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ns-muted);
}
.ns-widget--center { text-align: center; }
.ns-widget--right { text-align: right; }
.ns-widget--center .ns-tags, .ns-widget--center .ns-social { justify-content: center; }
.ns-widget--right .ns-tags, .ns-widget--right .ns-social { justify-content: flex-end; }

.ns-cat-list { display: flex; flex-direction: column; gap: 0.125rem; margin: 0; padding: 0; list-style: none; }
.ns-cat-list a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.45rem 0.75rem;
  border-radius: var(--ns-radius-xs);
  color: var(--ns-body);
  text-transform: capitalize;
  text-decoration: none;
  transition: background-color 150ms ease, color 150ms ease;
}
.ns-cat-list a:hover { background: var(--ns-subtle); color: var(--ns-heading); }
.ns-cat-list a.is-active { background: color-mix(in srgb, var(--ns-accent) 10%, transparent); color: var(--ns-accent); font-weight: 600; }
.ns-widget--center .ns-cat-list a { justify-content: center; }

.ns-recent { display: flex; flex-direction: column; gap: 1rem; margin: 0; padding: 0; list-style: none; }
.ns-recent__item { padding-bottom: 1rem; border-bottom: 1px solid var(--ns-border); }
.ns-recent__item:last-child { padding-bottom: 0; border-bottom: 0; }
.ns-recent__title {
  display: block;
  margin: 0 0 0.375rem;
  font-family: var(--nova-font-heading, system-ui, sans-serif);
  font-weight: 600;
  line-height: 1.35;
  color: var(--ns-heading);
  text-decoration: none;
}
.ns-recent__title:hover { color: var(--ns-accent); }
.ns-recent .ns-tags { margin: 0.375rem 0; }

.ns-social { display: flex; flex-wrap: wrap; align-items: center; gap: 0.5rem; }
.ns-social__link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: var(--ns-radius-xs);
  background: var(--ns-subtle);
  color: var(--ns-heading);
  transition: opacity 150ms ease, transform 150ms ease;
}
.ns-social__link:hover { opacity: 0.8; transform: translateY(-1px); }
.ns-social__link svg { width: 1.05rem; height: 1.05rem; }
.ns-social--round .ns-social__link { border-radius: 9999px; }
.ns-social--square .ns-social__link { border-radius: 0; }
.ns-social--plain .ns-social__link { width: auto; height: auto; background: transparent !important; }
.ns-social--plain .ns-social__link svg { width: 1.25rem; height: 1.25rem; }

.ns-share { display: flex; flex-wrap: wrap; align-items: center; gap: 0.5rem; }
.ns-share__label { margin-right: 0.25rem; font-weight: 500; color: var(--ns-heading); }
.ns-share button.ns-social__link { border: 0; cursor: pointer; }

.ns-author { display: flex; flex-direction: column; gap: 0.25rem; }
.ns-widget--center .ns-author { align-items: center; }
.ns-widget--right .ns-author { align-items: flex-end; }
.ns-author__image {
  width: 5.5rem;
  height: 5.5rem;
  margin-bottom: 0.75rem;
  border-radius: 9999px;
  object-fit: cover;
}
.ns-author__image--square { border-radius: var(--ns-radius-sm); }
.ns-author__name { margin: 0; font-family: var(--nova-font-heading, system-ui, sans-serif); font-size: 1.125rem; font-weight: 600; color: var(--ns-heading); }
.ns-author__title { margin: 0; font-size: 0.875rem; color: var(--ns-muted); }
.ns-author__bio { margin: 0.5rem 0 0; font-size: 0.9375rem; }

.ns-widget-image { position: relative; display: block; overflow: hidden; border-radius: var(--ns-radius); }
.ns-widget-image img { display: block; width: 100%; height: auto; }
.ns-widget-image__overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  opacity: 0;
  text-align: center;
  transition: opacity 200ms ease;
}
.ns-widget-image__overlay--mobile { opacity: 1; }
@media (min-width: 768px) {
  .ns-widget-image__overlay--mobile { opacity: 0; }
}
.ns-widget-image:hover .ns-widget-image__overlay { opacity: 1; }
.ns-widget-image__overlay-text { margin: 0; font-size: 1.125rem; font-weight: 600; }

.ns-widget-custom__image { display: block; width: 100%; height: auto; margin-bottom: 1rem; border-radius: var(--ns-radius-sm); }
.ns-widget-custom__heading { margin: 0 0 0.5rem; font-family: var(--nova-font-heading, system-ui, sans-serif); font-size: 1.125rem; font-weight: 600; color: var(--ns-heading); }
.ns-widget-custom .ns-btn, .ns-widget-cta .ns-btn { margin-top: 1rem; }
.ns-widget-cta {
  padding: 1.5rem;
  border-radius: var(--ns-radius);
  background: color-mix(in srgb, var(--ns-accent) 8%, var(--ns-surface));
}
.ns-widget-cta .ns-prose h1, .ns-widget-cta .ns-prose h2, .ns-widget-cta .ns-prose h3,
.ns-widget-cta .ns-prose h4, .ns-widget-cta .ns-prose h5 { margin-top: 0; }

/* ------------------------------------------------------------------ */
/* Library: products & resume course                                   */
/* ------------------------------------------------------------------ */

.ns-products { display: grid; gap: 1.5rem; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 640px) {
  .ns-products--6, .ns-products--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 1024px) {
  .ns-products--4 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
.ns-products--start { align-items: start; }

.ns-product-card__body { display: flex; flex: 1; flex-direction: column; gap: 0.75rem; padding: 1.5rem; }
.ns-product-card__title { margin: 0; font-family: var(--nova-font-heading, system-ui, sans-serif); font-size: var(--nova-font-size-h5, 1.125rem); font-weight: 600; line-height: 1.35; color: var(--ns-heading); }
.ns-product-card__title a { color: inherit; text-decoration: none; }
.ns-product-card__desc { margin: 0; font-size: 0.9375rem; }
.ns-product-card__actions { margin-top: auto; padding-top: 0.5rem; }
.ns-product-card--center { text-align: center; }
.ns-product-card--right { text-align: right; }
@media (min-width: 768px) {
  .ns-products--12 .ns-product-card { flex-direction: row; }
  .ns-products--12 .ns-product-card__media { flex: 0 0 36%; max-width: 22rem; aspect-ratio: 16 / 10; }
  .ns-products--12 .ns-product-card__body { padding: 2rem; }
}

.ns-progress { display: flex; align-items: center; gap: 0.75rem; }
.ns-progress__track {
  flex: 1;
  height: 0.5rem;
  overflow: hidden;
  border-radius: 9999px;
  background: var(--ns-subtle);
}
.ns-progress__bar { height: 100%; border-radius: inherit; background: var(--ns-accent); }
.ns-progress__label { font-size: 0.8125rem; font-weight: 600; color: var(--ns-muted); font-variant-numeric: tabular-nums; }

.ns-resume {
  display: flex;
  align-items: center;
  gap: 1rem;
  max-width: 34rem;
  padding: 0.75rem;
  border: 1px solid var(--ns-border);
  border-radius: var(--ns-radius);
  background: var(--ns-surface);
  box-shadow: var(--ns-shadow-sm);
  color: inherit;
  text-decoration: none;
  transition: box-shadow 200ms ease, border-color 200ms ease;
}
.ns-resume:hover { border-color: var(--ns-border-strong); box-shadow: var(--ns-shadow-md); }
.ns-resume__image { flex: 0 0 7rem; aspect-ratio: 16 / 10; overflow: hidden; border-radius: var(--ns-radius-sm); background: var(--ns-subtle); }
.ns-resume__image img { display: block; width: 100%; height: 100%; object-fit: cover; }
.ns-resume__text { min-width: 0; }
.ns-resume__status { margin: 0 0 0.25rem; font-size: 0.75rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ns-accent); }
.ns-resume__title { margin: 0; font-weight: 600; line-height: 1.35; color: var(--ns-heading); }
.ns-resume__play {
  display: inline-flex;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  margin-left: auto;
  margin-right: 0.5rem;
  border-radius: 9999px;
  background: var(--ns-accent);
  color: #ffffff;
}
.ns-resume__play svg { width: 1.1rem; height: 1.1rem; }

/* ------------------------------------------------------------------ */
/* Auth (login, password)                                              */
/* ------------------------------------------------------------------ */

.ns-auth { padding: 2rem 1.5rem; }
@media (min-width: 768px) {
  .ns-auth { padding: 2.5rem; }
}
.ns-auth__logo { margin: 0 auto 1.5rem; }
.ns-auth__logo img { display: block; max-width: 100%; height: auto; margin: 0 auto; border-radius: var(--ns-radius-sm); }
.ns-auth__title { margin: 0 0 0.5rem; text-align: center; }
.ns-auth__subtitle { margin: 0 0 1.75rem; text-align: center; color: var(--ns-muted); }
.ns-auth__row { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin: 0.25rem 0 1.5rem; }
.ns-auth__links { margin-top: 1.5rem; text-align: center; font-size: 0.9375rem; }
.ns-divider {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin: 1.5rem 0;
  font-size: 0.8125rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--ns-muted);
}
.ns-divider::before, .ns-divider::after { content: ''; flex: 1; height: 1px; background: var(--ns-border); }
.ns-social-login { display: flex; flex-direction: column; align-items: center; gap: 0.75rem; }
.ns-social-login form { width: 100%; display: flex; justify-content: center; }

/* Google sign-in button (Kajabi social login) */
.gsi-material-button {
  -webkit-user-select: none;
  user-select: none;
  -webkit-appearance: none;
  appearance: none;
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 44px;
  max-width: 400px;
  min-width: min-content;
  padding: 0 14px;
  overflow: hidden;
  border: 1px solid #747775;
  border-radius: 6px;
  background-color: #ffffff;
  color: #1f1f1f;
  font-family: 'Roboto', arial, sans-serif;
  font-size: 15px;
  letter-spacing: 0.25px;
  cursor: pointer;
  transition: background-color 0.218s, border-color 0.218s, box-shadow 0.218s;
}
.gsi-material-button__full { width: 100%; max-width: none; }
.gsi-material-button__pill { border-radius: 9999px; }
.gsi-material-button__dark { background-color: #131314; border-color: #8e918f; color: #e3e3e3; }
.gsi-material-button__neutral { background-color: #f2f2f2; border-color: transparent; }
.gsi-material-button .gsi-material-button-content-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  width: 100%;
  height: 100%;
}
.gsi-material-button .gsi-material-button-icon { width: 20px; height: 20px; min-width: 20px; }
.gsi-material-button .gsi-material-button-contents { overflow: hidden; font-weight: 500; text-overflow: ellipsis; white-space: nowrap; }
.gsi-material-button .gsi-material-button-state { position: absolute; inset: 0; opacity: 0; transition: opacity 0.218s; }
.gsi-material-button:hover { box-shadow: 0 1px 2px 0 rgba(60, 64, 67, 0.3), 0 1px 3px 1px rgba(60, 64, 67, 0.15); }
.gsi-material-button:hover .gsi-material-button-state { background-color: #303030; opacity: 0.08; }

/* ------------------------------------------------------------------ */
/* Announcements & member directory                                    */
/* ------------------------------------------------------------------ */

.ns-list { display: grid; gap: 1.25rem; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 640px) {
  .ns-list--6, .ns-list--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 1024px) {
  .ns-list--4 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
.ns-list--start { align-items: start; }

.ns-announcement { display: flex; flex-direction: column; gap: 0.5rem; height: 100%; padding: 1.5rem; }
@media (min-width: 768px) {
  .ns-list--12 .ns-announcement { padding: 2rem; }
}
.ns-announcement__product { margin: 0; }
.ns-announcement__title { margin: 0; font-family: var(--nova-font-heading, system-ui, sans-serif); font-size: var(--nova-font-size-h4, 1.25rem); font-weight: 600; line-height: 1.3; color: var(--ns-heading); }
.ns-announcement__date { margin: 0; font-size: 0.875rem; color: var(--ns-muted); }
.ns-announcement__body { margin: 0.25rem 0 0; }
.ns-announcement .ns-post-card__more { padding-top: 0.5rem; }

.ns-member { align-items: center; gap: 0.25rem; height: 100%; padding: 2rem 1.5rem; text-align: center; }
.ns-member__avatar {
  width: 5rem;
  height: 5rem;
  margin: 0 auto 0.75rem;
  border-radius: 9999px;
  object-fit: cover;
  background: var(--ns-subtle);
}
.ns-member__name { margin: 0; font-family: var(--nova-font-heading, system-ui, sans-serif); font-size: 1.125rem; font-weight: 600; color: var(--ns-heading); }
.ns-member__location { margin: 0; font-size: 0.875rem; color: var(--ns-muted); }
.ns-member .ns-social { justify-content: center; margin-top: 0.75rem; }
.ns-optin-note { padding: 1.25rem 1.5rem; border-radius: var(--ns-radius); background: var(--ns-subtle); text-align: center; }
.ns-optin-note a { color: var(--ns-accent); font-weight: 600; text-decoration: underline; }

/* ------------------------------------------------------------------ */
/* Store / offers / sales page                                         */
/* ------------------------------------------------------------------ */

.ns-store-heading { grid-column: 1 / -1; margin: 1rem 0 0; padding-bottom: 1rem; border-bottom: 1px solid var(--ns-border); }
.ns-store-heading:first-child { margin-top: 0; }
.ns-store-card { color: inherit; text-decoration: none; height: 100%; }
.ns-store-card__body { display: flex; flex: 1; flex-direction: column; gap: 0.5rem; padding: 1.5rem; }
.ns-store-card__title { margin: 0; font-family: var(--nova-font-heading, system-ui, sans-serif); font-size: 1.125rem; font-weight: 600; color: inherit; }
.ns-store-card__desc { margin: 0; font-size: 0.9375rem; opacity: 0.85; }
.ns-store-card__price { margin: auto 0 0; padding-top: 0.5rem; font-size: 1.125rem; font-weight: 700; color: inherit; }

/* Static sections may arrive wrapped by Kajabi, so the grid tracks size the
   wrappers and the sticky element lives inside the aside. */
.ns-sales { display: grid; grid-template-columns: minmax(0, 1fr); gap: 2.5rem; }
.ns-sales > * { min-width: 0; }
@media (min-width: 1024px) {
  .ns-sales { grid-template-columns: minmax(0, 1fr) 22rem; gap: 3.5rem; }
  .ns-sales__aside { height: 100%; }
  .ns-sales__sticky { position: sticky; top: 6.5rem; }
}
.ns-sales__video { margin-bottom: 2rem; }
.ns-sales__video img { display: block; width: 100%; height: auto; border-radius: var(--ns-radius); }
.ns-sales__title { margin: 0 0 1.25rem; }
.ns-sales__aside .ns-aside__inner { gap: 1.5rem; }

.ns-offers__title { margin: 0 0 1rem; }
.ns-offer-option { position: relative; display: block; margin: 0 0 0.75rem; cursor: pointer; }
.ns-offer-option input { position: absolute; opacity: 0; pointer-events: none; }
.ns-offer-option__card {
  display: block;
  padding: 1rem 1.125rem;
  border: 2px solid var(--ns-border);
  border-radius: var(--ns-radius-sm);
  background: var(--ns-surface);
  transition: border-color 150ms ease, box-shadow 150ms ease;
}
.ns-offer-option:hover .ns-offer-option__card { border-color: var(--ns-border-strong); }
.ns-offer-option input:checked + .ns-offer-option__card {
  border-color: var(--ns-offer-selected, var(--ns-accent));
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--ns-offer-selected, var(--ns-accent)) 15%, transparent);
}
.ns-offer-option input:focus-visible + .ns-offer-option__card { outline: 2px solid var(--ns-offer-selected, var(--ns-accent)); outline-offset: 2px; }
.ns-offer-option__head { display: flex; align-items: center; gap: 0.75rem; }
.ns-offer-option__radio {
  display: inline-flex;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  width: 1.15rem;
  height: 1.15rem;
  border: 2px solid var(--ns-border-strong);
  border-radius: 9999px;
}
.ns-offer-option input:checked + .ns-offer-option__card .ns-offer-option__radio { border-color: var(--ns-offer-selected, var(--ns-accent)); }
.ns-offer-option input:checked + .ns-offer-option__card .ns-offer-option__radio::after {
  content: '';
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 9999px;
  background: var(--ns-offer-selected, var(--ns-accent));
}
.ns-offer-option__title { margin: 0; font-weight: 600; color: var(--ns-heading); }
.ns-offer-option__desc { margin: 0.5rem 0 0; font-size: 0.875rem; }
.ns-offer-option__price { margin: 0.5rem 0 0; font-size: 1.25rem; font-weight: 700; color: var(--ns-heading); }
.ns-offer-option input:checked + .ns-offer-option__card .ns-offer-option__price { color: var(--ns-offer-selected, var(--ns-heading)); }
.ns-offer-single__price { margin: 0.75rem 0 1.25rem; font-size: 2rem; font-weight: 700; line-height: 1.1; color: var(--ns-heading); }

/* ------------------------------------------------------------------ */
/* Newsletter                                                          */
/* ------------------------------------------------------------------ */

.ns-newsletter-hero { display: flex; flex-direction: column; align-items: center; gap: 1.5rem; text-align: center; }
.ns-newsletter-hero__image { width: 6rem; }
.ns-newsletter-hero__image img { display: block; width: 100%; height: auto; }
.ns-newsletter-hero__inline-image { display: inline-block; width: 2.5rem; margin-right: 0.5rem; vertical-align: middle; }
.ns-newsletter-hero__inline-image img { display: block; width: 100%; height: auto; }
.ns-newsletter-hero__text { display: flex; flex-direction: column; gap: 0.75rem; width: 100%; max-width: 40rem; }
.ns-newsletter-hero__title { margin: 0; }
.ns-newsletter-hero__description { margin: 0; font-size: 1.0625em; color: var(--ns-body); }
@media (min-width: 768px) {
  .ns-newsletter-hero--left, .ns-newsletter-hero--right { flex-direction: row; gap: 3rem; text-align: left; }
  .ns-newsletter-hero--right { flex-direction: row-reverse; }
  .ns-newsletter-hero--left .ns-newsletter-hero__image,
  .ns-newsletter-hero--right .ns-newsletter-hero__image { flex: 0 0 34%; width: auto; }
  .ns-newsletter-hero--left .ns-newsletter-hero__text,
  .ns-newsletter-hero--right .ns-newsletter-hero__text { max-width: none; }
  .ns-newsletter-hero--left .ns-newsletter-form form,
  .ns-newsletter-hero--right .ns-newsletter-form form { margin-left: 0; }
}

.ns-newsletter-form form {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
  max-width: 38rem;
  margin: 0.5rem auto 0;
}
.ns-newsletter-form .form-group { flex: 1 1 10rem; margin: 0; }
.ns-newsletter-form .ns-btn { flex: 0 0 auto; white-space: nowrap; }
.ns-newsletter-form .ns-btn--full { flex-basis: 100%; }

.ns-nl-toolbar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem; margin-bottom: 2rem; padding-bottom: 1.5rem; border-bottom: 1px solid var(--ns-border); }
.ns-nl-toolbar > * { flex: 0 1 auto; }
.ns-nl-toolbar .ns-search { flex: 1 1 16rem; max-width: 22rem; }
.ns-nl-meta { display: flex; flex-wrap: wrap; gap: 0.25rem 0.5rem; font-size: 0.875rem; color: var(--ns-muted); }
.ns-nl-body { margin: 2rem 0; padding: 2rem 0; border-top: 1px solid var(--ns-border); border-bottom: 1px solid var(--ns-border); }
.ns-nl-body .focus-writer-content { width: 100%; }

/* ------------------------------------------------------------------ */
/* Thank you                                                           */
/* ------------------------------------------------------------------ */

.ns-thanks { text-align: center; }
.ns-thanks__icon {
  display: inline-flex;
  align-self: center;
  margin-inline: auto;
  align-items: center;
  justify-content: center;
  width: 4rem;
  height: 4rem;
  margin-bottom: 1.5rem;
  border-radius: 9999px;
  background: color-mix(in srgb, var(--ns-accent) 12%, transparent);
  color: var(--ns-accent);
}
.ns-thanks__icon svg { width: 2rem; height: 2rem; }
.ns-thanks .ns-prose h1 { margin-bottom: 0.5rem; }
.ns-thanks__actions { margin-top: 2rem; }

/* ------------------------------------------------------------------ */
/* Small refinements to Nova blocks used by the demo pages             */
/* ------------------------------------------------------------------ */

/* Header dropdowns use <details>; hide the browser's disclosure triangle. */
[data-nova-role='user-trigger'],
[data-nova-role='dropdown-trigger'] { list-style: none; }
[data-nova-role='user-trigger']::-webkit-details-marker,
[data-nova-role='dropdown-trigger']::-webkit-details-marker { display: none; }

/* FAQ lists (add the class "nova-faq" to a group of Accordion blocks). */
.nova-faq h3[data-nova-role='heading'] {
  font-size: var(--nova-font-size-h5, 1.125rem);
  font-weight: 600;
  line-height: 1.4;
}
.nova-faq .nova-block-accordion:last-child [data-nova-role='card-summary'] { border-bottom: 0; }

/* Kajabi form fields rendered with form_input: keep checkboxes, radios and
   selects looking like themselves when they receive the .ns-input class. */
.ns-section .checkbox-field .ns-input,
.ns-section .radio-buttons-field .ns-input,
.ns-section input[type='checkbox'].ns-input,
.ns-section input[type='radio'].ns-input {
  display: inline-block;
  width: auto;
  min-height: 0;
  margin: 0 0.5rem 0 0;
  padding: 0;
  vertical-align: middle;
  -webkit-appearance: auto;
  appearance: auto;
  accent-color: var(--ns-accent);
}
.ns-section .select-box-field select.ns-input,
.ns-section select.ns-input {
  padding-right: 2.5rem;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='%2371717a'%3E%3Cpath fill-rule='evenodd' d='M5.23 7.21a.75.75 0 011.06.02L10 11.168l3.71-3.938a.75.75 0 111.08 1.04l-4.25 4.5a.75.75 0 01-1.08 0l-4.25-4.5a.75.75 0 01.02-1.06z' clip-rule='evenodd'/%3E%3C/svg%3E");
  background-position: right 0.75rem center;
  background-repeat: no-repeat;
  background-size: 1.25rem;
}
