/*
 * QUESTIONCLASS — MASTER STYLESHEET
 * Clean rewrite — consolidated from ~2,400 lines
 * Sections:
 *   1.  Design Tokens
 *   2.  Base Reset
 *   3.  Theme Chrome Suppression
 *   4.  App Shell
 *   5.  Headers (mobile + desktop)
 *   6.  Layout (wrap + grid)
 *   7.  Cards
 *   8.  Today's Question
 *   9.  Reflection Area
 *   10. Buttons + Actions
 *   11. Lists
 *   12. Sidebar (stats, notes, activity)
 *   13. Signup Form
 *   14. Library / Pills
 *   15. Answer Preview
 *   16. Gamification
 *   17. Hero (logged-out)
 *   18. Practice → Outcomes Section
 *   19. Page: QuestionLab (163625062)
 *   20. Page: Frameworks (163628280)
 *   21. Page: Why Join (163628958)
 *   22. Page: Dashboard / My Account (163629055)
 *   23. Page: Favorites (163638278)
 *   24. Page: Sign-Up (163629582)
 *   25. Page: Plans / Landing (163639482)
 *   26. Single Post
 *   27. Utilities
 *   28. Mobile Breakpoints (consolidated)
 */


/* =============================================================
   1. DESIGN TOKENS
   ============================================================= */

:root {
  /* Brand */
  --qc-blue:        #2196F3;
  --qc-orange:      #FF5722;
  --qc-orange-dark: #F4511E;
  --qc-deep:        #1e293b;
  --qc-purple:      #9b59b6;

  /* Surfaces */
  --bg:          #f8fafc;
  --panel:       #ffffff;
  --panel-soft:  #f1f5f9;
  --stroke:      #e2e8f0;
  --stroke-dark: #cbd5e1;

  /* Text */
  --text:       #0f172a;
  --text-muted: #64748b;
  --text-light: #94a3b8;

  /* Shape */
  --radius:    12px;
  --radius-lg: 16px;

  /* Shadow */
  --shadow-sm: 0 1px 3px rgba(0,0,0,.06);
  --shadow:    0 4px 12px rgba(0,0,0,.08);
  --shadow-lg: 0 10px 30px rgba(0,0,0,.12);

  /* Animation timing */
  --qc-reflect-focus-speed:   0.2s;
  --qc-reflect-overlay-speed: 0.55s;
  --qc-reflect-line-speed:    0.75s;
  --qc-reflect-status-speed:  0.45s;
  --qc-reflect-fade-speed:    0.9s;
}


/* =============================================================
   2. BASE RESET
   ============================================================= */

* { box-sizing: border-box; }

html, body, #page, .site {
  margin-top: 0 !important;
  padding-top: 0 !important;
}

body,
body.page,
body.single,
body.single-post,
body.blog,
body.archive,
body.page-template,
body.page-template-default {
  margin: 0 !important;
  padding: 0 !important;
  overflow-x: hidden !important;
  background: var(--bg) !important;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif !important;
  color: var(--text) !important;
}

p:empty {
  display: none !important;
  margin: 0 !important;
  padding: 0 !important;
}

/* Hide GTM noscript iframe */
noscript iframe[src*="googletagmanager"] {
  display: none !important;
  visibility: hidden !important;
  width: 0 !important;
  height: 0 !important;
}


/* =============================================================
   3. THEME CHROME SUPPRESSION
   ============================================================= */

.site-header,
.site-branding,
.main-navigation,
.entry-title,
.page-title,
header.entry-header,
.page-header,
.menu-toggle,
.site-navigation,
.post-navigation,
.breadcrumbs,
.entry-meta,
.entry-footer,
.post-meta,
.author-bio,
.comments-area,
.site-info {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  margin: -1px !important;
  padding: 0 !important;
  overflow: hidden !important;
  clip: rect(0 0 0 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
  display: none !important;
  visibility: hidden !important;
  opacity: 0 !important;
  min-height: 0 !important;
  max-height: 0 !important;
  line-height: 0 !important;
}

/* Fix blank space from home page masthead */
body.home #masthead,
body.home header.site-header {
  display: none !important;
  height: 0 !important;
  min-height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
}

/* Zero out WordPress content area top spacing */
.site-content,
#content,
#primary,
#main,
.site-main,
.content-area,
.entry-content {
  margin-top: 0 !important;
  padding-top: 0 !important;
}

/* Admin bar offset */
body.admin-bar .qc-page-header { top: 32px; }
body.admin-bar .qc-app-header  { top: 32px; }


/* =============================================================
   4. APP SHELL
   ============================================================= */

#qc-home.qc {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  color: var(--text);
  background: var(--bg);
  min-height: 100vh;
  margin: 0 !important;
  padding: 0 !important;
  width: 100vw !important;
  max-width: 100vw !important;
  position: relative !important;
  left: 0 !important;
  right: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  transform: none !important;
  border-top: 1px solid transparent; /* prevent margin collapse */
}

#qc-home.qc > *:first-child,
.entry-content > *:first-child,
.qc-main > *:first-child {
  margin-top: 0 !important;
}

.qc-main noscript { display: none !important; }

.qc-main {
  margin-top: 0 !important;
  padding-top: 0 !important;
}

.qc-main > *:first-child,
.qc-main > section:first-child,
.qc-card:first-child {
  margin-top: 0 !important;
}


/* =============================================================
   5. HEADERS
   ============================================================= */

/* --- Mobile app header --- */
.qc-app-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 56px;
  padding: 0 16px;
  background: var(--panel);
  border-bottom: 1px solid var(--stroke);
  position: sticky;
  top: 0;
  z-index: 100;
  width: 100%;
}

.qc-app-logo {
  display: flex;
  align-items: center;
  text-decoration: none;
  color: var(--text);
}

.qc-logo-img {
  height: 32px;
  width: auto;
  display: block;
}

/* --- Desktop header (.qc-top) --- */
.qc-top { display: none; }

/* --- Universal page header (inner pages) --- */
.qc-page-header {
  display: flex;
  align-items: center;
  padding: 16px 24px;
  background: var(--panel);
  border-bottom: 1px solid var(--stroke);
  width: 100%;
  gap: 16px;
  position: sticky;
  top: 0;
  z-index: 100;
}

.qc-page-logo {
  display: flex;
  align-items: center;
  text-decoration: none;
}

.qc-page-logo img { height: 36px; width: auto; }

.qc-page-tagline {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--qc-blue);
  white-space: nowrap;
  margin-left: 16px;
}

.qc-page-nav {
  margin-left: auto;
  display: flex;
  gap: 8px;
}

.qc-page-nav a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 16px;
  border-radius: var(--radius);
  font-weight: 600;
  text-decoration: none;
  border: 1px solid var(--stroke);
  background: var(--panel);
  color: var(--text);
  transition: all 0.2s ease;
  white-space: nowrap;
}

.qc-page-nav a:hover {
  border-color: var(--stroke-dark);
  transform: translateY(-1px);
  box-shadow: var(--shadow);
}

.qc-page-nav a.primary {
  background: var(--qc-orange);
  color: white;
  border: none;
  box-shadow: 0 4px 12px rgba(255, 87, 34, 0.3);
}

.qc-page-nav a.primary:hover {
  background: var(--qc-orange-dark);
  box-shadow: 0 6px 20px rgba(255, 87, 34, 0.4);
}

/* Offset inner-page content for fixed nav */
body:not(.home) .entry-content,
body:not(.home) #primary,
body:not(.home) .site-main {
  padding-top: 60px !important;
}

body.home .qc-universal-nav { display: none !important; }


/* =============================================================
   6. LAYOUT — WRAP + GRID
   ============================================================= */

.qc-wrap {
  max-width: 1400px;
  margin: 0 auto;
  padding: 24px 40px 80px;
}

/* Page content wrapper */
.qc-page-wrapper {
  max-width: 1400px;
  margin: 0 auto;
  padding: 32px 24px 80px;
  background: var(--bg);
}

/* Sidebar alignment helper */
.qc-main-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 24px;
  align-items: start;
  margin-top: 20px;
}

.qc-sidebar > *:first-child,
.qc-main-content > *:first-child { margin-top: 0 !important; }

.qc-spacer { height: 12px; }


/* =============================================================
   7. CARDS
   ============================================================= */

.qc-card {
  background: var(--panel);
  border: 1px solid var(--stroke);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  width: 100%;
  max-width: 100%;
  margin-bottom: 0;
}

.qc-card + .qc-card { margin-top: 14px; }

.qc-card:first-of-type {
  border-top: 4px solid var(--qc-orange) !important;
}

/* Sidebar card containment */
.qc-sidebar .qc-card { overflow: hidden !important; min-width: 0; }

/* Library card separator */
.qc-card:has(.qc-pill-row-title) {
  border-top: 3px solid var(--stroke) !important;
  margin-top: 6px !important;
}


/* =============================================================
   8. TODAY'S QUESTION
   ============================================================= */

.qc-kicker {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 12px;
  flex-wrap: wrap;
}

.qc-kicker .left {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 600;
}

.qc-pill {
  display: inline-flex;
  align-items: center;
  padding: 5px 10px;
  border-radius: 20px;
  background: var(--panel-soft);
  border: 1px solid var(--stroke);
  font-weight: 600;
  color: var(--text);
  white-space: normal;
  text-align: center;
}

.qc-q {
  font-weight: 800;
  letter-spacing: -0.02em;
  margin: 0 0 10px;
  color: var(--text);
}

.qc-sub {
  color: var(--text-muted);
  margin: 0 0 16px;
}

#today[data-category="decision-making"] #qc-category-pill {
  background: var(--qc-deep);
  color: white;
  border-color: var(--qc-deep);
}

/* Hide answer link — JS gate still fires silently */
#qc-answer-link { display: none !important; }


/* =============================================================
   9. REFLECTION AREA
   ============================================================= */

.qc-reflect {
  position: relative;
  margin-top: 16px;
  background: var(--panel-soft);
  border: 1px solid var(--stroke);
  border-radius: var(--radius-lg);
}

.qc-reflect-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
  flex-wrap: wrap;
  gap: 8px;
}

.qc-reflect-title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-muted);
}

.qc-reflect-title .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--qc-orange);
  box-shadow: 0 2px 8px rgba(255, 87, 34, 0.4);
}

.qc-reflect-meta {  color: var(--text-light); }

.qc-textarea {
  width: 100%;
  min-height: 120px;
  padding: 12px;
  border: 1px solid var(--stroke);
  border-radius: var(--radius);
  background: #ffffff !important;
  color: var(--text) !important;
  resize: vertical;
  font-family: inherit;
  transition:
    border-color var(--qc-reflect-focus-speed) ease,
    box-shadow var(--qc-reflect-focus-speed) ease,
    background-color var(--qc-reflect-focus-speed) ease,
    opacity var(--qc-reflect-fade-speed) ease,
    transform var(--qc-reflect-fade-speed) ease !important;
}

.qc-textarea:focus {
  outline: none;
  border-color: var(--qc-orange) !important;
  box-shadow: 0 0 0 4px rgba(255, 87, 34, 0.14) !important;
}

.qc-textarea.qc-unlock-success {
  opacity: 0.58;
  transform: translateY(-2px);
  pointer-events: none;
}

/* Starter overlay prompts */
.qc-starter-overlay {
  position: absolute;
  top: 48px;
  left: 28px;
  right: 28px;
  pointer-events: none;
  z-index: 2;
  color: var(--qc-blue) !important;
  opacity: 0.7;
  font-style: italic;
  transition: opacity var(--qc-reflect-overlay-speed) ease !important;
}

.qc-starter-overlay.hide,
.qc-starter-overlay.hidden { opacity: 0; }

.qc-starter-overlay .line {
  opacity: 0;
  transform: translateY(8px);
  transition:
    opacity var(--qc-reflect-line-speed) ease,
    transform var(--qc-reflect-line-speed) ease !important;
}

.qc-starter-overlay .line.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Unlock message */
.qc-unlock-message,
.qc-unlock-msg {
  display: none;
  margin-top: 14px;
  margin-bottom: 24px;
  padding: 10px 14px;
  font-size: 16px;
  line-height: 1.4;
  font-weight: 800;
  color: var(--qc-blue);
  background: rgba(33, 150, 243, 0.08);
  border-left: 4px solid var(--qc-orange);
  border-radius: 8px;
}

.qc-unlock-message.visible,
.qc-unlock-msg.visible {
  display: block;
  animation: qcReflectionStatusIn var(--qc-reflect-status-speed) ease both;
}

@keyframes qcReflectionStatusIn {
  from { opacity: 0; transform: translateY(6px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes qcFadeIn {
  from { opacity: 0; transform: translateY(4px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* Single post reflection box */
.qc-single-reflection {
  margin: 0 auto 32px;
  max-width: 800px;
  border-top: 4px solid var(--qc-orange) !important;
}

.qc-single-reflection .qc-reflect { margin-top: 0; }

.qc-single-reflection .qc-unlock-message,
.qc-single-reflection .qc-unlock-msg { margin-bottom: 0; }


/* =============================================================
   10. BUTTONS + ACTIONS
   ============================================================= */

.qc-btn,
.qc-nav a {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  height: 40px !important;
  padding: 0 16px !important;
  padding-bottom: 5px !important; /* optical nudge */
  border-radius: var(--radius);
  font-weight: 600;
  text-decoration: none;
  border: 1px solid var(--stroke);
  background: var(--panel);
  color: var(--text);
  cursor: pointer;
  white-space: nowrap !important;
  transition: all 0.2s ease;
  transform: translateY(-1px);
}

.qc-btn:hover,
.qc-nav a:hover {
  border-color: var(--stroke-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}

.qc-btn.primary {
  background: var(--qc-orange);
  color: white;
  border: none;
  box-shadow: 0 4px 12px rgba(255, 87, 34, 0.3);
}

.qc-btn.primary:hover {
  background: var(--qc-orange-dark);
  box-shadow: 0 6px 20px rgba(255, 87, 34, 0.4);
  transform: translateY(-2px);
}

.qc-btn.secondary {
  background: white;
  border: 2px solid var(--qc-orange);
  color: var(--qc-orange);
}

.qc-btn.secondary:hover {
  background: var(--qc-orange);
  color: white;
}

.qc-actions {
  display: flex;
  gap: 8px;
  margin-top: 12px;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
}

.qc-actions .left {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.qc-note {
  color: var(--text-light);
}

/* Ghost text-action buttons (badges, notes expand) */
.qc-badge-expand,
.qc-note-expand-btn,
.qc-notes-show-more {
  display: inline-flex !important;
  align-items: center !important;
  gap: 4px !important;
  background: none !important;
  border: none !important;
  padding: 6px 0 !important;
  margin-top: 8px !important;
  font-size: 12px !important;
  font-weight: 600 !important;
  color: var(--qc-blue) !important;
  cursor: pointer !important;
  text-decoration: underline !important;
  text-underline-offset: 2px !important;
  font-family: inherit !important;
  transition: color 0.2s ease !important;
  height: auto !important;
  transform: none !important;
}

.qc-badge-expand:hover,
.qc-note-expand-btn:hover,
.qc-notes-show-more:hover { color: var(--qc-orange) !important; }

.qc-notes-show-more {
  display: block !important;
  margin-top: 12px !important;
  padding-top: 12px !important;
  border-top: 1px solid var(--stroke) !important;
  text-align: center !important;
  font-size: 13px !important;
}

.qc-badge-expand .collapse-text { display: none !important; }
.qc-badge-expand.expanded .expand-text { display: none !important; }
.qc-badge-expand.expanded .collapse-text { display: inline !important; }

/* Dashboard secondary button */
body.page-id-163629055 .qc-btn.secondary {
  background: white;
  border: 2px solid var(--qc-orange);
  color: var(--qc-orange);
}

body.page-id-163629055 .qc-btn.secondary:hover {
  background: var(--qc-orange);
  color: white;
}


/* =============================================================
   11. LISTS
   ============================================================= */

.qc-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.qc-item {
  background: var(--panel-soft);
  border: 1px solid var(--stroke);
  border-radius: var(--radius);
  transition: all 0.2s ease;
}

.qc-item:hover {
  border-color: var(--stroke-dark);
  box-shadow: var(--shadow-sm);
}

.qc-item a {
  color: var(--text);
  text-decoration: none;
  font-weight: 600;
}

.qc-item a:hover { color: #3b82f6; }

.qc-item .meta {
  margin-top: 6px;
  display: flex;
  gap: 10px;
  color: var(--text-muted);
  flex-wrap: wrap;
}


/* =============================================================
   12. SIDEBAR — STATS, NOTES, ACTIVITY
   ============================================================= */

/* Stats grid */
.qc-stat {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 10px;
}

.qc-stat .box {
  padding: 14px;
  background: var(--panel-soft);
  border: 1px solid var(--stroke);
  border-radius: var(--radius);
  text-align: center;
}

.qc-stat .num {
  font-size: 28px;
  font-weight: 900;
  letter-spacing: -0.02em;
  margin: 0;
  color: var(--text);
  line-height: 1;
}

.qc-stat .lbl {
  margin: 6px 0 0;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.04em !important;
  font-weight: 700 !important;
  opacity: 1 !important;
}

/* Stat card tiles (gamification) */
.qc-stats-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.qc-stat-card {
  background: linear-gradient(135deg, #FF5722 0%, #FF7043 100%);
  color: white;
  padding: 1.25rem;
  border-radius: 10px;
  text-align: center;
}

.qc-stat-card.secondary { background: linear-gradient(135deg, #3498DB 0%, #5DADE2 100%); }
.qc-stat-card.success   { background: linear-gradient(135deg, #27AE60 0%, #52C77D 100%); }
.qc-stat-card.warning   { background: linear-gradient(135deg, #F39C12 0%, #F5B041 100%); }

.qc-stat-number {
  font-size: 2rem;
  font-weight: 700;
  line-height: 1;
  margin-bottom: 6px !important;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.qc-stat-label {
  opacity: 1 !important;
  font-weight: 700 !important;
  letter-spacing: 0.04em !important;
  text-transform: uppercase !important;
  margin-top: 4px !important;
}

/* Notes list */
.qc-notes-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.qc-note-item {
  padding: 12px 0;
  border-bottom: 1px solid var(--stroke);
  animation: fadeIn 0.5s ease;
}

.qc-note-item:last-child { border-bottom: none; }

.qc-note-text {
  color: var(--text);
  white-space: normal;
  word-wrap: break-word;
}

.qc-note-text strong {
  display: block;
  color: var(--qc-orange);
  font-weight: 700;
  margin-bottom: 6px;
  font-size: 13px;
}

.qc-note-meta,
.qc-note-timestamp {
  color: var(--text-light);
  margin-top: 4px;
  text-transform: uppercase;
}

.qc-note-timestamp { font-style: italic; text-transform: none; }

.qc-note-empty {
  color: var(--text-muted);
  font-style: italic;
}

.qc-notes-list .qc-recent-item div:last-child {
  font-size: 11px !important;
  color: var(--text-light) !important;
  margin-top: 4px;
  text-transform: uppercase;
}

/* Activity grid */
.qc-activity-grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 3px;
  width: 100%;
  max-width: 100%;
  overflow: hidden;
  box-sizing: border-box;
  margin-top: 0.5rem;
  position: relative;
}

.qc-activity-grid::after {
  content: 'Less activity ··· More activity';
  display: block;
  color: var(--text-light);
  text-align: right;
  margin-top: 6px;
  letter-spacing: 0.03em;
}

/* Activity cells */
.qc-activity-day,
.qc-activity-cell {
  aspect-ratio: 1 !important;
  border-radius: 3px !important;
  background: #E0E6ED;
  cursor: default;
  transition: transform 0.1s ease, box-shadow 0.1s ease;
}

.qc-activity-day:hover,
.qc-activity-cell:hover {
  transform: scale(1.3);
  box-shadow: 0 2px 8px rgba(0,0,0,0.15);
  z-index: 2;
  position: relative;
}

.qc-activity-day.level-1,
.qc-activity-cell.level-1 { background: #FFE8DC; }

.qc-activity-day.level-2,
.qc-activity-cell.level-2 { background: #FFCDB2; }

.qc-activity-day.level-3,
.qc-activity-cell.level-3 { background: #FFB199; }

.qc-activity-day.level-4,
.qc-activity-cell.level-4 { background: #FF5722; }

/* Hide injected label spans inside cells */
.qc-activity-day-label,
.qc-activity-date-label { display: none !important; }

/* Misc gamification */
.qc-progress-section { margin-bottom: 1.5rem; }

.qc-progress-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.75rem;
}

.qc-progress-label {
  font-weight: 600;
  font-size: 0.875rem;
  color: #2C3E50;
}

.qc-progress-value {
  font-size: 0.875rem;
  color: #7F8C8D;
  font-weight: 600;
}

.qc-progress-bar {
  height: 8px;
  background: #E0E6ED;
  border-radius: 10px;
  overflow: hidden;
}

.qc-progress-fill {
  height: 100%;
  background: linear-gradient(90deg, #FF5722 0%, #FF7043 100%);
  border-radius: 10px;
  transition: width 0.3s ease;
}

.qc-corpus-percentage {
  color: #7F8C8D;
  margin-top: 0.5rem;
  text-align: right;
}

.qc-section-title {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: #2C3E50;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(5px); }
  to   { opacity: 1; transform: translateY(0); }
}


/* =============================================================
   13. SIGNUP FORM
   ============================================================= */

.qc-signup {
  margin-top: 16px;
  opacity: 0;
  transform: translateY(12px);
  pointer-events: none;
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.qc-signup.is-visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.qc-signup h3 {
  margin: 0 0 8px;
  font-size: 15px;
  font-weight: 700;
  color: var(--text);
}

.qc-signup p {
  margin: 0 0 12px;
  color: var(--text-muted);
}

/* Hide signup widget for logged-in users (JS hardcodes .is-visible) */
body.logged-in .qc-signup { display: none !important; }

.qc-form {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 12px;
}

.qc-input {
  width: 100%;
  padding: 11px 14px;
  border: 1px solid var(--stroke);
  border-radius: var(--radius);
  background: var(--panel);
  color: var(--text);
  font-family: inherit;
  transition: all 0.2s ease;
}

.qc-input:focus {
  outline: none;
  border-color: #3b82f6;
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.qc-mini {
  margin-top: 10px;
  color: var(--text-light);
}


/* =============================================================
   14. LIBRARY / PILLS
   ============================================================= */

.qc-pill-row { margin-top: 16px; }

.qc-pill-row-title {
  font-weight: 700 !important;
  color: var(--text-muted) !important;
  letter-spacing: 0.08em !important;
  text-transform: uppercase !important;
  margin-bottom: 12px !important;
  display: block !important;
}

.qc-pill-grid { display: grid; gap: 10px; }

.qc-pill-box {
  background: var(--panel);
  border: 1px solid var(--stroke);
  border-radius: var(--radius);
}

.qc-pill-label {
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-muted);
}

.qc-pill-link {
  display: inline-flex !important;
  align-items: center !important;
  margin-top: 14px !important;
  padding: 9px 16px !important;
  background: var(--panel-soft) !important;
  border: 1px solid var(--stroke) !important;
  border-radius: 20px !important;
  font-weight: 700 !important;
  color: var(--text) !important;
  text-decoration: none !important;
  transition: all 0.2s ease !important;
}

.qc-pill-link:hover {
  background: var(--qc-orange) !important;
  border-color: var(--qc-orange) !important;
  color: white !important;
  transform: translateY(-1px) !important;
  box-shadow: 0 4px 12px rgba(255, 87, 34, 0.25) !important;
}

.qc-pill-actions {
  display: flex;
  gap: 1rem;
  justify-content: flex-start;
  margin-top: 0.75rem;
}

.qc-pill-link.secondary { opacity: 0.8; }

.qc-pill-search {
  display: flex;
  gap: 8px;
  margin-top: 10px;
}

.qc-pill-search input {
  flex: 1;
  padding: 9px 12px;
  border: 1px solid var(--stroke);
  border-radius: var(--radius);
  background: var(--panel-soft);
  color: var(--text);
  font-family: inherit;
}

.qc-pill-search input:focus {
  outline: none;
  border-color: #3b82f6;
}

.qc-pill-search button {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 9px 14px;
  border: none;
  border-radius: var(--radius);
  background: var(--qc-orange);
  color: white;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
  height: auto !important;
  transform: none !important;
}

.qc-pill-search button:hover {
  background: var(--qc-orange-dark);
  transform: translateY(-1px) !important;
  box-shadow: 0 4px 12px rgba(255, 87, 34, 0.3);
}


/* =============================================================
   15. ANSWER PREVIEW
   ============================================================= */

.qc-answer {
  background: var(--panel-soft);
  border: 1px solid var(--stroke);
  border-radius: var(--radius);
  margin-top: 10px;
}

.qc-answer h3 {
  margin: 0 0 6px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-muted);
}

.qc-answer p {
  margin: 0;
  color: var(--text-muted);
}


/* =============================================================
   16. GAMIFICATION — LEVELS + BADGES
   ============================================================= */

.qc-level-indicator {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem;
  background: linear-gradient(135deg, #F8F9FA 0%, #E9ECEF 100%);
  border-radius: 10px;
  margin-bottom: 1.5rem;
}

.qc-level-circle {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: linear-gradient(135deg, #FF5722 0%, #FF7043 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: white;
  font-size: 1.25rem;
  flex-shrink: 0;
}

.qc-level-info { flex: 1; }

.qc-level-title {
  font-weight: 600;
  font-size: 0.875rem;
  margin-bottom: 0.25rem;
  color: #2C3E50;
}

.qc-level-subtitle {
  font-size: 0.75rem;
  color: #7F8C8D;
}

/* Badges */
.qc-badge-container {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin-top: 1rem;
}

.qc-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  border: 2px solid transparent;
  transition: all 0.2s ease;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  background: linear-gradient(135deg, #95a5a6 0%, #7f8c8d 100%);
  color: white;
}

.qc-badge:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.qc-badge.earned {
  background: linear-gradient(135deg, #FFF5F0 0%, #FFE8DC 100%);
  border-color: var(--qc-orange);
  color: var(--qc-orange);
}

.qc-badge-icon {
  width: 18px;
  height: 18px;
  filter: grayscale(1) opacity(0.4);
}

.qc-badge.earned .qc-badge-icon { filter: none; }

/* Badge color variants by data-badge content */
.qc-badge[data-badge*="3-Day"],
.qc-badge[data-badge*="3 Day"]  { background: linear-gradient(135deg, #FF5722 0%, #FF7043 100%); }
.qc-badge[data-badge*="7-Day"],
.qc-badge[data-badge*="7 Day"]  { background: linear-gradient(135deg, #FF6F00 0%, #FF8F00 100%); }
.qc-badge[data-badge*="30-Day"],
.qc-badge[data-badge*="30 Day"] { background: linear-gradient(135deg, #D84315 0%, #BF360C 100%); }
.qc-badge[data-badge*="Questions Read"],
.qc-badge[data-badge*="questions read"] { background: linear-gradient(135deg, #27AE60 0%, #52C77D 100%); }
.qc-badge[data-badge*="corpus"],
.qc-badge[data-badge*="library"],
.qc-badge[data-badge*="explored"] { background: linear-gradient(135deg, #3498DB 0%, #5DADE2 100%); }
.qc-badge[data-badge*="early"],
.qc-badge[data-badge*="first"],
.qc-badge[data-badge*="login"]  { background: linear-gradient(135deg, #9b59b6 0%, #8e44ad 100%); }

/* Badge emoji prefixes */
.qc-badge[data-badge*="3-Day"]::before,
.qc-badge[data-badge*="7-Day"]::before,
.qc-badge[data-badge*="30-Day"]::before  { content: "🔥"; font-size: 14px; }
.qc-badge[data-badge*="Questions Read"]::before { content: "📚"; font-size: 14px; }
.qc-badge[data-badge*="corpus"]::before,
.qc-badge[data-badge*="library"]::before { content: "🎯"; font-size: 14px; }
.qc-badge[data-badge*="early"]::before,
.qc-badge[data-badge*="first"]::before   { content: "⭐"; font-size: 14px; }


/* =============================================================
   17. HERO (LOGGED-OUT)
   ============================================================= */

.qc-hero {
  width: 100%;
  background: #0f1729 !important;
  background-image:
    linear-gradient(rgba(33,150,243,0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(33,150,243,0.06) 1px, transparent 1px) !important;
  background-size: 48px 48px !important;
  border-bottom: none !important;
}

.qc-hero-inner {
  max-width: 900px;
  margin: 0 auto;
  padding: 48px 24px 40px !important;
  text-align: center;
}

.qc-hero-title {
  font-weight: 800;
  color: #f8fafc !important;
  margin-bottom: 20px;
}

.qc-hero-sub {
  color: #94a3b8 !important;
  margin: 0 auto 28px;
}

.qc-hero-cta {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 16px;
}

.qc-hero-cta .qc-btn {
  width: fit-content;
  min-width: 220px;
}

.qc-hero-cta .qc-btn.secondary {
  background: transparent !important;
  border: 1px solid rgba(255,255,255,0.25) !important;
  color: #94a3b8 !important;
}

.qc-hero-cta .qc-btn.secondary:hover {
  border-color: rgba(255,255,255,0.5) !important;
  color: #f8fafc !important;
  background: transparent !important;
}

.qc-hero-proof {
  color: #64748b !important;
}

/* Hide hero for logged-in users */
body.logged-in .qc-hero { display: none !important; }

/* Nav theming */
body:not(.logged-in) .qc-top,
body.logged-in .qc-top {
  background: rgba(15, 23, 41, 0.97) !important;
  border-bottom: 1px solid rgba(33,150,243,0.2) !important;
}

body.logged-in .qc-wrap { padding-top: 24px !important; }
body:not(.logged-in) .qc-wrap { padding-top: 16px !important; }


/* =============================================================
   18. PRACTICE → OUTCOMES SECTION
   ============================================================= */

.qc-practice-outcomes {
  padding: 28px;
  background: linear-gradient(
    135deg,
    rgba(33, 150, 243, 0.04),
    rgba(255, 87, 34, 0.04)
  );
}

.qc-practice-inner { max-width: 900px; margin: 0 auto; }

.qc-practice-eyebrow {
  font-size: 11px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--qc-orange);
  font-weight: 700;
  margin-bottom: 10px;
}

.qc-practice-title {
  font-size: 28px;
  font-weight: 800;
  line-height: 1.3;
  margin-bottom: 12px;
  color: var(--text);
}

.qc-practice-intro,
.qc-practice-body {
  color: var(--text-muted);
  margin-bottom: 16px;
}

.qc-practice-chain {
  display: grid;
  gap: 10px;
  margin: 24px 0;
}

.qc-chain-step {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px;
  border-radius: var(--radius);
  border: 1px solid var(--stroke);
  background: var(--panel);
  border-left: 3px solid transparent !important;
  padding-left: 14px !important;
  transition: border-color 0.2s ease;
}

.qc-chain-step strong { color: var(--text); font-weight: 700; }
.qc-chain-step span { color: var(--text-muted); font-size: 13px; }

/* Value chain left-border color cascade */
.qc-practice-chain .qc-chain-step:nth-child(1) { border-left-color: #2196F3 !important; }
.qc-practice-chain .qc-chain-step:nth-child(3) { border-left-color: #6c63ff !important; }
.qc-practice-chain .qc-chain-step:nth-child(5) { border-left-color: #f4511e !important; }
.qc-practice-chain .qc-chain-step:nth-child(7) {
  border-left-color: #FF5722 !important;
  background: rgba(255, 87, 34, 0.03) !important;
}
.qc-practice-chain .qc-chain-step:nth-child(7) strong { color: var(--qc-orange) !important; }

.qc-chain-arrow {
  text-align: center !important;
  color: var(--qc-orange) !important;
  font-size: 18px !important;
  font-weight: 900 !important;
  line-height: 1 !important;
  padding: 2px 0 !important;
  opacity: 0.7;
  user-select: none;
}

.qc-practice-compare {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 20px;
}

.qc-compare-card {
  padding: 18px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--stroke);
  background: var(--panel);
}

.qc-compare-card.bad {
  background: rgba(255, 87, 34, 0.05);
  border-color: rgba(255, 87, 34, 0.2);
}

.qc-compare-card.good {
  background: rgba(33, 150, 243, 0.05);
  border-color: rgba(33, 150, 243, 0.2);
}

.qc-compare-card h3 { margin-bottom: 10px; font-size: 18px; font-weight: 700; }
.qc-compare-card.bad  h3 { color: #c0392b !important; }
.qc-compare-card.good h3 { color: #2196F3 !important; }
.qc-compare-card.bad  h3::before { content: '✕  '; font-size: 12px; opacity: 0.6; }
.qc-compare-card.good h3::before { content: '✓  '; font-size: 12px; opacity: 0.7; }
.qc-compare-card.bad  li::marker { color: #c0392b; }
.qc-compare-card.good li::marker { color: #2196F3; }

.qc-compare-card ul { list-style: none; padding: 0; margin: 0; }
.qc-compare-card li {   margin-bottom: 6px; }

.qc-practice-cta {
  margin-top: 24px;
  padding: 20px;
  border-radius: var(--radius-lg);
  background: linear-gradient(90deg, var(--qc-blue), var(--qc-orange));
  color: white;
}

.qc-practice-cta p { margin-bottom: 14px; font-size: 15px; line-height: 1.6; }

.qc-practice-buttons { display: flex; gap: 12px; flex-wrap: wrap; }






/* =============================================================
   21. PAGE: WHY JOIN (163628958)
   ============================================================= */

body.page-id-163628958 {
  background: linear-gradient(180deg, #ffffff 0%, #f4f6f9 100%);
}

body.page-id-163628958 .entry-content { max-width: 100% !important; padding: 0 !important; }

body.page-id-163628958 .qc-why-join-container {
  max-width: 1000px;
  margin: 0 auto;
  padding: 5rem 2rem 6rem;
}

body.page-id-163628958 .qc-hero {
  text-align: center;
  max-width: 750px;
  margin: 0 auto 4rem;
  /* Reset hero dark theme for this page */
  background: transparent !important;
  background-image: none !important;
  background-size: auto !important;
  border-bottom: none !important;
}

body.page-id-163628958 .qc-hero-eyebrow {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 700;
  color: var(--qc-orange);
  margin-bottom: 1rem;
}

body.page-id-163628958 .qc-hero h1 {
  font-family: Georgia, serif;
  font-size: clamp(2.4rem, 5vw, 3rem);
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 1.2rem;
  color: var(--text) !important;
}

body.page-id-163628958 .qc-hero-intro {
  font-size: 1.15rem;
  line-height: 1.7;
  color: #5a6777;
}

body.page-id-163628958 .qc-habit-box {
  margin: 4rem 0;
  padding: 2.5rem;
  border-radius: 24px;
  background: linear-gradient(135deg, #fff7f3 0%, #fff1eb 100%);
  border: 2px solid #ffd7c8;
  box-shadow: 0 20px 50px rgba(0,0,0,.05);
}

body.page-id-163628958 .qc-habit-box h2 {
  font-family: Georgia, serif;
  font-weight: 800;
  margin-bottom: 1rem;
}

body.page-id-163628958 .qc-habit-box p { font-size: 1.05rem; line-height: 1.7; color: #444; }

body.page-id-163628958 .qc-benefit {
  display: flex;
  gap: 1.5rem;
  align-items: flex-start;
  padding: 2rem;
  background: #ffffff;
  border-radius: 20px;
  border: 1px solid #e6e9ef;
  margin-bottom: 1.8rem;
  box-shadow: 0 12px 32px rgba(0,0,0,0.04);
  transition: all .25s ease;
}

body.page-id-163628958 .qc-benefit:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 40px rgba(0,0,0,.08);
}

body.page-id-163628958 .qc-benefit-icon { font-size: 1.6rem; }

body.page-id-163628958 .qc-benefit-content h3 {
  font-family: Georgia, serif;
  font-weight: 800;
  margin-bottom: .5rem;
}

body.page-id-163628958 .qc-benefit-content p { font-size: 1rem; line-height: 1.7; color: #586575; }

body.page-id-163628958 .qc-feature-pills {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  margin: 2rem 0 4rem;
}

body.page-id-163628958 .qc-feature-pills .qc-pill {
  background: #ffffff;
  border-radius: 16px;
  padding: 1rem 1.2rem;
  border: 1px solid #e6e9ef;
  font-size: 0.95rem;
  box-shadow: 0 8px 20px rgba(0,0,0,.04);
}

body.page-id-163628958 .qc-steps {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  margin-bottom: 4rem;
}

body.page-id-163628958 .qc-step {
  background: #ffffff;
  border-radius: 20px;
  padding: 2rem;
  border: 1px solid #e6e9ef;
  box-shadow: 0 12px 32px rgba(0,0,0,.04);
}

body.page-id-163628958 .qc-step h3 { font-family: Georgia, serif; font-weight: 800; margin-bottom: .6rem; }

body.page-id-163628958 .qc-cta-box {
  margin: 5rem 0;
  padding: 3rem;
  text-align: center;
  background: var(--qc-orange);
  color: white;
  border-radius: 24px;
  box-shadow: 0 20px 50px rgba(255,87,34,.25);
}

body.page-id-163628958 .qc-cta-box h2 { font-family: Georgia, serif; font-weight: 800; margin-bottom: 1rem; }
body.page-id-163628958 .qc-cta-note { margin-top: 1rem; font-size: .85rem; opacity: .9; }

body.page-id-163628958 .qc-who-box {
  padding: 2rem;
  border-radius: 20px;
  border: 1px solid #e6e9ef;
  background: #ffffff;
  box-shadow: 0 12px 32px rgba(0,0,0,.04);
}

body.page-id-163628958 .qc-who-box h3 { font-family: Georgia, serif; font-weight: 800; margin-bottom: .8rem; }

@media (max-width: 768px) {
  body.page-id-163628958 .qc-steps,
  body.page-id-163628958 .qc-feature-pills { grid-template-columns: 1fr; }
  body.page-id-163628958 .qc-benefit { flex-direction: column; }
}


/* =============================================================
   22. PAGE: DASHBOARD / MY ACCOUNT (163629055)
   ============================================================= */

body.page-id-163629055 {
  background: linear-gradient(180deg, #ffffff 0%, #f4f6f9 100%);
}

body.page-id-163629055 .entry-content { max-width: 100% !important; padding: 0 !important; }

body.page-id-163629055 .qc-dashboard {
  max-width: 1000px;
  margin: 0 auto;
  padding: 5rem 2rem 6rem;
}

body.page-id-163629055 .qc-dashboard-header {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  margin-bottom: 3rem;
}

body.page-id-163629055 .qc-avatar img {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  border: 4px solid var(--qc-orange);
  box-shadow: 0 10px 25px rgba(255,87,34,.2);
}

body.page-id-163629055 .qc-user-meta h2 {
  font-family: Georgia, serif;
  font-size: 1.8rem;
  font-weight: 800;
  margin: 0 0 .5rem;
}

body.page-id-163629055 .qc-subtle { font-size: 1rem; color: #586575; }

body.page-id-163629055 .qc-dashboard-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  margin-bottom: 3rem;
}

body.page-id-163629055 .qc-dashboard-stats .qc-stat {
  background: #ffffff;
  border-radius: 20px;
  padding: 1.5rem;
  text-align: center;
  border: 1px solid #e6e9ef;
  box-shadow: 0 12px 32px rgba(0,0,0,.05);
  transition: all .25s ease;
}

body.page-id-163629055 .qc-dashboard-stats .qc-stat:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 40px rgba(0,0,0,.08);
}

body.page-id-163629055 .qc-stat-number {
  font-size: 2.5rem;
  font-weight: 900;
  color: var(--qc-orange);
  margin-bottom: .5rem;
}

body.page-id-163629055 .qc-stat-label {
  font-size: .85rem;
  text-transform: uppercase;
  letter-spacing: .05em;
  color: #7a8896;
}

body.page-id-163629055 .qc-dashboard-actions { display: flex; gap: 1rem; flex-wrap: wrap; }
body.page-id-163629055 .qc-dashboard-actions .qc-btn { padding: 12px 20px; font-size: .95rem; }

/* Dashboard V2 hero */
body.page-id-163629055 .qc-dashboard-v2 {
  max-width: 1000px;
  margin: 0 auto;
  padding: 4rem 2rem 6rem;
}

body.page-id-163629055 .qc-dashboard-hero {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: linear-gradient(135deg, #fff7f3 0%, #fff1eb 100%);
  border: 2px solid #ffd7c8;
  border-radius: 24px;
  padding: 2.5rem;
  margin-bottom: 3rem;
  box-shadow: 0 20px 50px rgba(255,87,34,.08);
}

body.page-id-163629055 .qc-hero-left { display: flex; align-items: center; gap: 1.5rem; }

body.page-id-163629055 .qc-avatar-lg {
  width: 90px;
  height: 90px;
  border-radius: 50%;
  border: 5px solid var(--qc-orange);
  box-shadow: 0 12px 30px rgba(255,87,34,.25);
}

body.page-id-163629055 .qc-streak-number {
  font-size: 3.5rem;
  font-weight: 900;
  color: var(--qc-orange);
  line-height: 1;
}

body.page-id-163629055 .qc-streak-label {
  font-size: .85rem;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: #7a8896;
}

.qc-dashboard-guest { text-align: center; }
.qc-dashboard-guest .qc-btn { margin-top: 12px; }

@media (max-width: 768px) {
  body.page-id-163629055 .qc-dashboard-header { flex-direction: column; align-items: center; text-align: center; }
  body.page-id-163629055 .qc-dashboard-stats { grid-template-columns: 1fr; }
  body.page-id-163629055 .qc-dashboard-actions { flex-direction: column; }
  body.page-id-163629055 .qc-dashboard-actions .qc-btn { width: 100%; }
}


/* =============================================================
   23. PAGE: FAVORITES (163638278)
   ============================================================= */

body.page-id-163638278 .content-area,
body.page-id-163638278 .entry-content {
  max-width: 100% !important;
  width: 100% !important;
  padding: 0 !important;
}

body.page-id-163638278 .qc-favorites-page {
  max-width: 1100px;
  margin: 0 auto;
  padding: 4rem 2rem 6rem;
}

body.page-id-163638278 .qc-favorite-meta {
  margin-top: 1.25rem;
  display: flex;
  gap: .75rem;
  font-size: .8rem;
  font-weight: 600;
}

body.page-id-163638278 .qc-read  { color: #1e2a78; }
body.page-id-163638278 .qc-note  { color: var(--qc-orange); }
body.page-id-163638278 .qc-like  { color: #888; }

/* Shared favorites grid styles (used on multiple pages) */
.qc-favorites-page {
  max-width: 1000px;
  margin: 0 auto;
  padding: 5rem 2rem 6rem;
}

.qc-favorites-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.qc-favorite-card {
  display: block;
  background: #ffffff;
  border-radius: 20px;
  padding: 2rem;
  border: 1px solid #e6e9ef;
  box-shadow: 0 12px 32px rgba(0,0,0,.05);
  text-decoration: none;
  transition: all .25s ease;
}

.qc-favorite-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 40px rgba(0,0,0,.08);
}

.qc-favorite-card h3 { font-size: 1.1rem; margin-bottom: .75rem; }
.qc-favorite-card p  { font-size: .9rem; color: #586575; }


/* =============================================================
   PAGE: SIGN-UP (163629582)
   ============================================================= */

body.page-id-163629582 {
  background: #0f1729 !important;
  background-image:
    linear-gradient(rgba(33, 150, 243, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(33, 150, 243, 0.06) 1px, transparent 1px) !important;
  background-size: 48px 48px !important;
}

/* Remove competing navigation on this conversion page */
body.page-id-163629582 .qc-universal-nav {
  display: none !important;
}

body.page-id-163629582 #primary,
body.page-id-163629582 .site-main,
body.page-id-163629582 .entry-content {
  max-width: 100% !important;
  padding-top: 0 !important;
  margin-top: 0 !important;
}

body.page-id-163629582 .entry-content {
  min-height: 100vh !important;
  min-height: 100svh !important;
  padding: 32px 18px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
}

/* Main signup card */
.qc-signup-page {
  width: 100%;
  max-width: 520px;
  margin: 0 auto;
  padding: 44px 42px 38px;
  text-align: center;
  background: #ffffff;
  border: 1px solid rgba(226, 232, 240, 0.9);
  border-radius: 22px;
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.24);
}

/* Brand and opening copy */
.qcs-logo {
  margin: 0 0 18px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #94a3b8;
}

.qcs-eyebrow {
  margin: 0 0 9px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--qc-orange);
}

.qcs-headline {
  margin: 0 0 14px;
  font-size: clamp(2rem, 5vw, 2.45rem);
  line-height: 1.08;
  font-weight: 850;
  letter-spacing: -0.035em;
  color: #0f172a;
}

.qcs-headline em {
  font-style: italic;
  color: var(--qc-orange);
}

.qcs-sub {
  max-width: 430px;
  margin: 0 auto 22px;
  font-size: 14px;
  line-height: 1.6;
  color: #64748b;
}

/* Product demonstration */
.qcs-question-card {
  position: relative;
  margin: 0 0 18px;
  padding: 18px 19px 17px;
  text-align: left;
  background: linear-gradient(135deg, #fff8f5 0%, #fffdfb 100%);
  border: 1px solid #fed7c8;
  border-left: 4px solid var(--qc-orange);
  border-radius: 14px;
}

.qcs-question-label {
  margin: 0 0 7px;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--qc-orange);
}

.qcs-question {
  margin: 0 0 8px;
  font-size: 18px;
  line-height: 1.38;
  font-weight: 800;
  letter-spacing: -0.015em;
  color: #0f172a;
}

.qcs-question-note {
  margin: 0;
  font-size: 12px;
  line-height: 1.55;
  color: #64748b;
}

/* Nextend Social Login */
.qcs-social-logins {
  width: 100%;
  margin: 0;
}

.qcs-social-logins .nsl-container,
.qcs-social-logins .nsl-container-buttons {
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
}

.qcs-social-logins .nsl-container-buttons {
  display: grid !important;
  grid-template-columns: 1fr !important;
  gap: 10px !important;
}

.qcs-social-logins .nsl-container-buttons > a {
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
  text-decoration: none !important;
}

.qcs-social-logins .nsl-button {
  width: 100% !important;
  min-height: 46px !important;
  border-radius: 10px !important;
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.12) !important;
  transition:
    transform 0.18s ease,
    box-shadow 0.18s ease !important;
}

.qcs-social-logins .nsl-container-buttons > a:hover .nsl-button {
  transform: translateY(-1px);
  box-shadow: 0 5px 14px rgba(15, 23, 42, 0.15) !important;
}

.qcs-social-logins .nsl-container-buttons > a:focus-visible {
  outline: 3px solid rgba(33, 150, 243, 0.3);
  outline-offset: 3px;
  border-radius: 10px;
}

/* Reassurance */
.qcs-reassure {
  margin: 11px 0 24px;
  font-size: 11px;
  line-height: 1.4;
  color: #94a3b8;
}

/* Divider */
.qcs-divider {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 18px;
}

.qcs-divider-line {
  flex: 1;
  height: 1px;
  background: #e2e8f0;
}

.qcs-divider-text {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  white-space: nowrap;
  color: #94a3b8;
}

/* Benefits */
.qcs-features {
  display: flex;
  flex-direction: column;
  gap: 9px;
  margin: 0 0 24px;
  text-align: left;
}

.qcs-feature {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 12px 13px;
  background: #f8fafc;
  border: 1px solid transparent;
  border-radius: 11px;
}

.qcs-feature-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 30px;
  width: 30px;
  height: 30px;
  font-size: 15px;
  font-weight: 800;
  color: var(--qc-orange);
  background: #fff1eb;
  border-radius: 9px;
}

.qcs-feature-text {
  margin: 0 0 3px;
  font-size: 13px;
  line-height: 1.35;
  font-weight: 750;
  color: #0f172a;
}

.qcs-feature-sub {
  margin: 0;
  font-size: 12px;
  line-height: 1.45;
  color: #64748b;
}

/* Existing-account route */
.qcs-signin {
  margin: 0;
  font-size: 13px;
  color: #94a3b8;
}

.qcs-signin a {
  font-weight: 700;
  color: var(--qc-orange);
  text-decoration: none;
}

.qcs-signin a:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* Mobile */
@media (max-width: 600px) {
  body.page-id-163629582 .entry-content {
    padding: 14px !important;
    align-items: flex-start !important;
  }

  .qc-signup-page {
    padding: 32px 22px 30px;
    border-radius: 17px;
  }

  .qcs-logo {
    margin-bottom: 15px;
  }

  .qcs-headline {
    font-size: 1.9rem;
  }

  .qcs-question {
    font-size: 17px;
  }
}
/* =============================================================
   25. PAGE: PLANS / LANDING (163639482)
   ============================================================= */


#qc-landing,
#qc-landing * { box-sizing: border-box; }

#qc-landing {
  width: 100vw !important;
  max-width: 100vw !important;
  margin-left: calc(50% - 50vw) !important;
  margin-right: calc(50% - 50vw) !important;
  background: #ffffff !important;
  color: #0f1115 !important;
  overflow-x: hidden !important;
}

#qc-landing > div {
  width: 100% !important;
  max-width: 1180px !important;
  margin: 0 auto !important;
  padding: 64px 32px 110px !important;
}

#qc-landing > div > section:first-child {
  max-width: 920px !important;
  margin: 0 auto 32px !important;
  padding: 56px 44px !important;
}

#qc-landing > div > section:nth-of-type(2) {
  max-width: 920px !important;
  margin: 0 auto 48px !important;
  display: grid !important;
  grid-template-columns: repeat(3, 1fr) !important;
  gap: 22px !important;
}

#qc-landing #start {
  max-width: 1180px !important;
  margin: 48px auto 0 !important;
  padding: 0 !important;
}

#qc-landing #start > div:first-child {
  max-width: 760px !important;
  margin: 0 auto 36px !important;
  text-align: center !important;
}

#qc-landing #start > div:last-child {
  display: grid !important;
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  gap: 24px !important;
  width: 100% !important;
  max-width: 1180px !important;
  margin: 0 auto !important;
  align-items: stretch !important;
}

#qc-landing #start > div:last-child > div {
  width: 100% !important;
  min-width: 0 !important;
  min-height: 390px !important;
  padding: 24px !important;
  border-radius: 24px !important;
  display: flex !important;
  flex-direction: column !important;
}

#qc-landing #start > div:last-child > div:nth-child(2) {
  transform: translateY(-12px) !important;
  border: 2px solid #2196F3 !important;
  box-shadow: 0 24px 60px rgba(33,150,243,.24) !important;
  z-index: 2 !important;
}

#qc-landing a { transition: all .18s ease !important; }
#qc-landing a:hover { transform: translateY(-1px) !important; filter: brightness(.97) !important; }
#qc-landing li { margin: 10px 0 !important; color: #374151 !important; line-height: 1.45 !important; }
#qc-landing #contact { max-width: 920px !important; margin: 56px auto 0 !important; }


@media (max-width: 1050px) {
  #qc-landing #start > div:last-child {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    max-width: 760px !important;
  }
  #qc-landing > div > section:nth-of-type(2) {
    grid-template-columns: 1fr !important;
    max-width: 620px !important;
  }
  #qc-landing #start > div:last-child > div:nth-child(2) { transform: none !important; }
}

@media (max-width: 650px) {
  #qc-landing { width: 100% !important; max-width: 100% !important; margin-left: 0 !important; margin-right: 0 !important; }
  #qc-landing > div { padding: 32px 18px 100px !important; }
  #qc-landing > div > section:first-child { padding: 32px 22px !important; }
  #qc-landing h1 { font-size: 32px !important; }
  #qc-landing h2 { font-size: 27px !important; }
  #qc-landing #start > div:last-child { grid-template-columns: 1fr !important; max-width: 420px !important; }
  #qc-landing div[style*="position:fixed"] { flex-wrap: wrap !important; }
}


/* =============================================================
   26. SINGLE POST
   ============================================================= */

.qc-blog-post {
  max-width: 800px;
  margin: 0 auto;
  background: var(--panel);
  border: 1px solid var(--stroke);
  border-radius: var(--radius-lg);
  border-top: 4px solid var(--qc-orange);
  padding: 40px;
  box-shadow: var(--shadow-sm);
}

.qc-blog-post h1 {
  font-size: 32px;
  font-weight: 800;
  line-height: 1.2;
  color: var(--text);
  margin: 0 0 16px;
  letter-spacing: -0.02em;
}

.qc-blog-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 24px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--stroke);
  font-size: 13px;
  color: var(--text-muted);
  flex-wrap: wrap;
}

.qc-blog-meta span { display: flex; align-items: center; gap: 4px; }

.qc-blog-post p { font-size: 16px; line-height: 1.7; color: var(--text); margin: 0 0 20px; }
.qc-blog-post h2 { font-size: 24px; font-weight: 700; color: var(--text); margin: 32px 0 16px; letter-spacing: -0.01em; }
.qc-blog-post h3 { font-size: 20px; font-weight: 600; color: var(--text); margin: 24px 0 12px; }
.qc-blog-post ul, .qc-blog-post ol { margin: 0 0 20px; padding-left: 24px; }
.qc-blog-post li { font-size: 16px; line-height: 1.7; color: var(--text); margin-bottom: 8px; }
.qc-blog-post a { color: var(--qc-orange); text-decoration: none; font-weight: 600; }
.qc-blog-post a:hover { text-decoration: underline; }
.qc-blog-post img { max-width: 100%; height: auto; border-radius: var(--radius); margin: 24px 0; display: block; }

.qc-blog-post blockquote {
  margin: 24px 0;
  padding: 16px 20px;
  border-left: 4px solid var(--qc-orange);
  background: var(--panel-soft);
  border-radius: var(--radius);
  font-style: italic;
  color: var(--text-muted);
}

.qc-blog-post .featured-image {
  margin: -40px -40px 32px;
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  overflow: hidden;
}

.qc-blog-post .featured-image img { width: 100%; height: auto; margin: 0; border-radius: 0; }

.qc-blog-categories { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 16px; }

.qc-blog-category {
  display: inline-flex;
  align-items: center;
  padding: 4px 12px;
  border-radius: 20px;
  background: var(--panel-soft);
  border: 1px solid var(--stroke);
  font-size: 11px;
  font-weight: 600;
  color: var(--text);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  text-decoration: none;
}

.qc-blog-category:hover { background: var(--qc-orange); color: white; border-color: var(--qc-orange); }

.qc-related {
  max-width: 800px;
  margin: 40px auto 0;
  padding-top: 40px;
  border-top: 1px solid var(--stroke);
}

.qc-related h3 { font-size: 18px; font-weight: 700; margin: 0 0 20px; color: var(--text); }

.qc-related-grid { display: grid; gap: 16px; }

.qc-related-item {
  padding: 16px;
  background: var(--panel-soft);
  border: 1px solid var(--stroke);
  border-radius: var(--radius);
  text-decoration: none;
  transition: all 0.2s ease;
}

.qc-related-item:hover {
  border-color: var(--qc-orange);
  box-shadow: var(--shadow);
  transform: translateY(-2px);
}

.qc-related-item h4 { font-size: 15px; font-weight: 700; color: var(--text); margin: 0 0 8px; line-height: 1.3; }
.qc-related-item p  { font-size: 13px; color: var(--text-muted); margin: 0; line-height: 1.4; }

.qc-archive-grid { display: grid; gap: 24px; max-width: 1200px; margin: 0 auto; }

.qc-archive-card {
  background: var(--panel);
  border: 1px solid var(--stroke);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all 0.2s ease;
  text-decoration: none;
  display: block;
}

.qc-archive-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
  border-color: var(--qc-orange);
}

.qc-archive-card img { width: 100%; height: 200px; object-fit: cover; }
.qc-archive-card-content { padding: 20px; }
.qc-archive-card h2 { font-size: 18px; font-weight: 700; color: var(--text); margin: 0 0 10px; line-height: 1.3; }
.qc-archive-card p  { font-size: 14px; color: var(--text-muted); margin: 0 0 12px; line-height: 1.5; }
.qc-archive-card-meta { font-size: 12px; color: var(--text-light); display: flex; gap: 8px; align-items: center; }

.qc-divider { height: 1px; background: var(--stroke); margin: 40px 0; border: none; }


/* =============================================================
   27. UTILITIES + HIDDEN ELEMENTS
   ============================================================= */

.qc-theme,
#qc-theme-toggle,
.qc-ring { display: none !important; }

.qc-unlock-msg {
  opacity: 0;
  max-height: 0;
  overflow: hidden;
  color: #1e2a78;
  font-size: 0.9em;
  font-weight: 600;
  margin-top: 8px;
  transition: opacity 0.4s ease, max-height 0.4s ease;
}

.qc-unlock-msg.visible { opacity: 1; max-height: 40px; }


/* =============================================================
   28. MOBILE BREAKPOINTS — CONSOLIDATED
   All breakpoints in one place, ordered narrow → wide.
   ============================================================= */

/* --- max-width: 480px --- */
@media (max-width: 480px) {
  .qc-signup-page { padding: 32px 24px; margin: 24px 16px; border-radius: 16px; }
}

/* --- max-width: 600px --- */
@media (max-width: 600px) {
  /* Wrap */
  .qc-wrap { padding: 16px 16px 60px !important; }

  /* Question */
  .qc-q { font-size: 22px !important; margin: 0 0 8px; }

  /* Show sub-description inside #today */
  #today .qc-sub {
    display: block !important;
    font-size: 13px;
    line-height: 1.5;
    color: var(--text-muted);
    margin: 0 0 14px;
  }

  /* Reflection area */
  .qc-reflect {
    display: block !important;
    order: 1;
    min-height: 160px !important;
    position: relative !important;
    overflow: hidden !important;
    background: white;
    border: 2px solid var(--stroke);
    padding: 0;
    margin: 0;
  }

  .qc-reflect-head { display: flex !important; }

  .qc-starter-overlay {
    position: absolute !important;
    top: 16px !important;
    left: 16px !important;
    right: 16px !important;
  }

  .qc-textarea { min-height: 160px !important; font-size: 16px; border: none; background: white; }

  /* Actions */
  .qc-actions .left { display: none; }
  .qc-btn.primary { width: 100%; margin-top: 16px; }

  /* Hide decorative meta on small screens */
  .qc-kicker,
  .qc-date,
  .qc-category,
  .qc-pill,
  .qc-reflect-meta,
  .qc-answer,
  .qc-sub { display: none !important; }

  /* Search box */
  .qc-pill-search {
    display: flex !important;
    flex-direction: column;
    gap: 8px;
    width: 100%;
  }

  .qc-pill-search input {
    width: 100%;
    padding: 11px 14px;
    font-size: 16px; /* prevents iOS zoom */
  }

  .qc-pill-search button { width: 100%; padding: 11px 14px; font-size: 14px; }

  /* Sidebar */
  .qc-sidebar {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    margin-top: 16px !important;
    position: static !important;
  }

  .qc-sidebar .qc-card { display: block !important; width: 100% !important; }

  /* Stats */
  .qc-stats-grid { grid-template-columns: 1fr 1fr !important; gap: 8px !important; }
  .qc-stat-number { font-size: 1.6rem !important; }
  .qc-stat-label  { font-size: 0.65rem !important; }

  /* Activity */
  .qc-activity-grid { grid-template-columns: repeat(7, 1fr) !important; gap: 2px !important; }

  /* Badges */
  .qc-badge-container { flex-wrap: wrap; gap: 6px; }
  .qc-badge { font-size: 0.65rem; padding: 0.4rem 0.6rem; }

  /* Typography scale */
  body { font-size: 16px !important; }

  .qc-sub,
  .qc-blog-post p,
  .qc-item a,
  .qc-note-text { font-size: 15px !important; line-height: 1.6 !important; }

  .qc-kicker,
  .qc-note-meta,
  .qc-stat .lbl,
  .qc-pill-row-title { font-size: 12px !important; }
}

/* --- max-width: 768px --- */
@media (max-width: 768px) {
  /* Inner page adjustments */
  .qc-page-header { padding: 12px 16px; height: 56px; }
  .qc-page-tagline { display: none; }
  .qc-page-logo img { height: 32px; }
  .qc-page-wrapper { padding: 20px 16px 60px; }

  /* Blog */
  .qc-blog-post { padding: 24px 20px; }
  .qc-blog-post h1 { font-size: 24px; }
  .qc-blog-post .featured-image { margin: -24px -20px 24px; }

  /* Archive */
  .qc-archive-grid { grid-template-columns: repeat(2, 1fr); }

  /* Related posts */
  .qc-related-grid { grid-template-columns: repeat(2, 1fr); }

  /* Practice compare */
  .qc-practice-compare { grid-template-columns: 1fr; }

  /* Pill grid */
  .qc-pill-grid { grid-template-columns: 1fr; }
}

/* --- min-width: 640px --- */
@media (min-width: 640px) {
  .qc-q { font-size: 24px; }
  .qc-sub { font-size: 15px; }
  .qc-pill-grid { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
  .qc-related-grid { grid-template-columns: repeat(2, 1fr); }
  .qc-archive-grid { grid-template-columns: repeat(2, 1fr); }
}

/* --- min-width: 769px (desktop header) --- */
@media (min-width: 769px) {
  .qc-top {
    display: flex !important;
    align-items: center !important;
    padding: 14px 24px 12px !important;
    min-height: 64px !important;
    background: var(--panel);
    border-bottom: 1px solid var(--stroke);
    width: 100%;
    gap: 16px;
    flex-wrap: nowrap;
    overflow: visible !important;
    position: relative;
    z-index: 100;
  }

  .qc-app-header { 
    display: none !important; 
  }

  .qc-brand {
    display: flex;
    align-items: center !important;
    gap: 16px;
    flex: 1;
    min-width: 0;
    overflow: visible !important;
  }

  .qc-brand-text { 
    flex: 1; 
    min-width: 0; 
    width: 100%; 
    max-width: 100%; 
    overflow: visible !important; 
  }

  .qc-tagline {
    display: block;
    font-size: 1.45rem;
    line-height: 1.25 !important;
    font-weight: 600;
    color: var(--qc-blue) !important;
    white-space: nowrap;
    margin: 0 !important;
    padding: 0 !important;
  }

  .qc-nav {
    margin-left: auto;
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
  }
}

/* Allow tagline to wrap on narrower desktops */
@media (max-width: 1200px) {
  .qc-tagline { white-space: normal; }
}

/* --- min-width: 1024px --- */
@media (min-width: 1024px) {
  .qc-archive-grid { grid-template-columns: repeat(3, 1fr); }
}

/* --- min-width: 1100px (two-column grid) --- */
@media (min-width: 1100px) {
  .qc-wrap { max-width: 1400px; margin: 0 auto; padding: 24px 40px 80px; }

  .qc-grid {
    display: grid !important;
    grid-template-columns: 1fr 340px !important;
    gap: 48px !important;
    align-items: start !important;
    width: 100% !important;
  }

  .qc-main {
    grid-column: 1 / 2 !important;
    grid-row: 1 !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    margin: 0 !important;
  }

  .qc-sidebar {
    grid-column: 2 / 3 !important;
    grid-row: 1 !important;
    width: 340px !important;
    max-width: 340px !important;
    min-width: 340px !important;
    margin: 0 !important;
    position: sticky;
    top: 80px;
    align-self: start;
  }
}

/* --- min-width: 1400px --- */
@media (min-width: 1400px) {
  .qc-wrap { max-width: 1600px; padding: 40px 60px 100px; }
  .qc-grid { gap: 60px !important; }
}

/* Admin bar adjustments */
@media screen and (max-width: 782px) {
  body.admin-bar .qc-page-header { top: 46px; }
  body.admin-bar .qc-app-header  { top: 46px; }
}

/* --- max-width: 768px — HOME ORDER RESET (detailed) ---
   Controls exact stack order inside #qc-home on mobile.
   More specific than the general rules above — this wins.
   -------------------------------------------------------- */
@media (max-width: 768px) {
  #qc-home .qc-wrap {
    padding: 16px 16px 60px !important;
    margin-top: 0 !important;
  }

  #qc-home .qc-grid {
    display: flex !important;
    flex-direction: column !important;
    gap: 16px !important;
  }

  #qc-home .qc-main {
    display: flex !important;
    flex-direction: column !important;
    gap: 14px !important;
    order: 1 !important;
  }

  #qc-home .qc-sidebar {
    order: 2 !important;
    position: static !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    margin-top: 16px !important;
  }

  /* Main content section ordering */
  #qc-home .qc-main > #today                                                              { order: 1 !important; }
  #qc-home .qc-main > .qc-practice-outcomes                                               { order: 2 !important; }
  #qc-home .qc-main > section.qc-card:not(#today):not(.qc-practice-outcomes):not(#recent) { order: 3 !important; }
  #qc-home .qc-main > #recent                                                              { order: 4 !important; }

  /* Today's question internal ordering */
  #qc-home #today {
    display: flex !important;
    flex-direction: column !important;
  }

  #qc-home #today .qc-kicker       { order: 1 !important; }
  #qc-home #today .qc-q            { order: 2 !important; }
  #qc-home #today .qc-sub          { order: 3 !important; }
  #qc-home #today .qc-reflect      { order: 4 !important; display: block !important; margin-top: 12px !important; }
  #qc-home #today #qc-answer-link  { order: 5 !important; }
  #qc-home #today #qc-unlock-message { order: 6 !important; }
}

/* QuestionClass Assessment — make the whole thing much more legible */
.qca {
  font-size: 22px !important;
}

.qca .qca-page {
  max-width: 980px !important;
  padding: 80px 32px 120px !important;
}

.qca .qca-mark-t {
  font-size: 28px !important;
}

.qca .qca-mark-q {
  width: 46px !important;
  height: 46px !important;
  font-size: 24px !important;
}

.qca .qca-orn,
.qca .qca-q-tag,
.qca .qca-prog-top,
.qca .qca-stat-l,
.qca .qca-ins-lbl,
.qca .qca-pb-intro,
.qca .qca-sec-eye,
.qca .qca-eg-eye,
.qca .qca-cta-eye {
  font-size: 14px !important;
  letter-spacing: 0.08em !important;
}

.qca .qca-i-title {
  font-size: clamp(3.2rem, 5vw, 4.8rem) !important;
  line-height: 1.1 !important;
}

.qca .qca-i-body {
  font-size: 1.35rem !important;
  line-height: 1.75 !important;
  max-width: 760px !important;
}

.qca .qca-stat-n {
  font-size: 2.6rem !important;
}

.qca .qca-premise {
  font-size: 1.15rem !important;
  line-height: 1.75 !important;
  padding: 22px 24px !important;
}

.qca .qca-q-stem {
  font-size: clamp(2.3rem, 4vw, 3.2rem) !important;
  line-height: 1.18 !important;
}

.qca .qca-q-hook {
  font-size: 1.2rem !important;
  line-height: 1.7 !important;
}

.qca .qca-opt {
  font-size: 1.18rem !important;
  line-height: 1.65 !important;
  padding: 20px 22px !important;
}

.qca .qca-opt-l {
  width: 36px !important;
  height: 36px !important;
  font-size: 14px !important;
}

.qca .qca-opt-i {
  font-size: 20px !important;
}

.qca .qca-ins {
  padding: 24px !important;
}

.qca .qca-ins-text,
.qca .qca-p-hint,
.qca .qca-prof-desc,
.qca .qca-eg-body,
.qca .qca-cta-body,
.qca .qca-res-deck {
  font-size: 1.15rem !important;
  line-height: 1.75 !important;
}

.qca .qca-ins-aha {
  font-size: 1.45rem !important;
  line-height: 1.5 !important;
}

.qca .qca-p-chip,
.qca .qca-trait {
  font-size: 14px !important;
  padding: 8px 14px !important;
}

.qca .qca-btn-go,
.qca .qca-btn-next,
.qca .qca-btn-sub,
.qca .qca-btn-cta,
.qca .qca-btn-retry {
  font-size: 18px !important;
  padding: 16px 28px !important;
}

.qca .qca-res-title,
.qca .qca-prof-name,
.qca .qca-eg-title,
.qca .qca-cta-title {
  font-size: clamp(2rem, 3.2vw, 2.8rem) !important;
  line-height: 1.2 !important;
}

.qca .qca-ring-n {
  font-size: 3rem !important;
}

.qca .qca-ring-d,
.qca .qca-step p,
.qca .qca-missed-q,
.qca .qca-missed-a {
  font-size: 1rem !important;
}

.qca .qca-email-input {
  font-size: 18px !important;
  padding: 14px 18px !important;
}

/* mobile */
@media (max-width: 768px) {
  .qca .qca-page {
    max-width: 100% !important;
    padding: 40px 18px 80px !important;
  }

  .qca .qca-i-title {
    font-size: 2.4rem !important;
  }

  .qca .qca-q-stem {
    font-size: 1.8rem !important;
  }

  .qca .qca-i-body,
  .qca .qca-q-hook,
  .qca .qca-opt,
  .qca .qca-ins-text,
  .qca .qca-res-deck,
  .qca .qca-prof-desc,
  .qca .qca-eg-body,
  .qca .qca-cta-body {
    font-size: 1.05rem !important;
  }
}

/* Fix logged-out hero spacing below top header */
body:not(.logged-in) #qc-home .qc-hero-inner {
  padding-top: 72px !important;
}

/* QuestionClass SEO Hub Page: AI at Work */
/* Paste into Appearance > Customize > Additional CSS, or your child theme stylesheet. */

.qch-page {
  --qc-blue: #2196F3;
  --qc-orange: #FF5722;
  --qc-orange-dark: #F4511E;
  --qc-deep: #1e2a78;
  --qc-midnight: #1a237e;
  --qc-bg: #f8fafc;
  --qc-panel: #ffffff;
  --qc-panel-soft: #f1f5f9;
  --qc-stroke: #e2e8f0;
  --qc-text: #0f172a;
  --qc-muted: #64748b;
  --qc-light: #94a3b8;
  --qc-radius: 16px;
  --qc-shadow: 0 12px 32px rgba(15, 23, 42, 0.08);

  width: 100vw;
  max-width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  background: var(--qc-bg);
  color: var(--qc-text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  overflow-x: hidden;
}

.qch-page * { box-sizing: border-box; }

.qch-hero {
  position: relative;
  overflow: hidden;
  background: #1e2a78;
  padding: 86px 40px 56px;
  border-bottom: 1px solid rgba(33, 150, 243, 0.22);
}

.qch-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(33,150,243,0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(33,150,243,0.07) 1px, transparent 1px);
  background-size: 54px 54px;
  pointer-events: none;
}

.qch-hero::after {
  content: "";
  position: absolute;
  width: 56vw;
  height: 56vw;
  right: -18vw;
  top: -22vw;
  background: radial-gradient(circle, rgba(33,150,243,0.22) 0%, rgba(33,150,243,0.08) 34%, transparent 68%);
  border-radius: 50%;
  pointer-events: none;
}

.qch-hero-inner {
  position: relative;
  z-index: 1;
  margin: 0 auto;
  display: grid;
  align-items: end;
}

.qch-breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  margin-bottom: 18px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.62);
}

.qch-breadcrumb a { color: rgba(255,255,255,0.82); text-decoration: none; }

.qch-eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 16px;
  color: var(--qc-blue);
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.qch-eyebrow::before {
  content: "";
  width: 28px;
  height: 2px;
  background: var(--qc-blue);
  border-radius: 999px;
}

.qch-hero h1 {
  margin: 0;
  max-width: 13ch;
  color: #ffffff !important;
  font-weight: 850 !important;
  border: none !important;
}

.qch-hero h1 span { color: var(--qc-orange); }

.qch-hero-sub {
  margin: 24px 0 0;
  color: rgba(255,255,255,0.75);
}

.qch-hero-card {
  background: rgba(15, 23, 41, 0.38);
  border: 1px solid rgba(33,150,243,0.24);
  border-top: 3px solid var(--qc-blue);
  border-radius: 4px;
  padding: 24px;
  backdrop-filter: blur(10px);
  box-shadow: 0 24px 70px rgba(0,0,0,0.18);
}

.qch-hero-card strong {
  display: block;
  margin-bottom: 12px;
  color: #ffffff;
}

.qch-hero-card p {
  margin: 0 0 18px;
  color: rgba(255,255,255,0.72);
}

.qch-mini-list { display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; }

.qch-mini-list li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  color: rgba(255,255,255,0.82);
}

.qch-mini-list li::before {
  content: "";
  width: 7px;
  height: 7px;
  margin-top: 8px;
  border-radius: 50%;
  background: var(--qc-orange);
  box-shadow: 0 0 0 4px rgba(255,87,34,0.14);
  flex: 0 0 auto;
}

.qch-body { padding: 34px 40px 80px; }
.qch-wrap {  margin: 0 auto; }

.qch-top-grid {
  display: grid;
  align-items: stretch;
  margin-bottom: 22px;
}

.qch-card {
  background: var(--qc-panel);
  border: 1px solid var(--qc-stroke);
  border-radius: var(--qc-radius);
  box-shadow: 0 1px 3px rgba(0,0,0,0.04);
}

.qch-frame { border-top: 4px solid var(--qc-orange); }

.qch-frame h2, .qch-side-card h2, .qch-section h2, .qch-cta h2 {
  margin: 0 0 12px;
  color: var(--qc-text) !important;
  letter-spacing: -0.025em;
  border: none !important;
}

.qch-frame p, .qch-side-card p, .qch-section-intro, .qch-cta p {
  margin: 0;
  color: var(--qc-muted);
}

.qch-side-card {
  background: linear-gradient(135deg, rgba(33,150,243,0.06), rgba(255,87,34,0.05));
  border-top: 4px solid var(--qc-blue);
}

.qch-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-top: 18px;
}

.qch-stat { padding: 14px 10px; border: 1px solid var(--qc-stroke); border-radius: 12px; background: #ffffff; text-align: center; }
.qch-stat strong { display: block; color: var(--qc-orange);  line-height: 1; margin-bottom: 6px; }
.qch-stat span { display: block; color: var(--qc-muted);  font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; }

.qch-toc { display: flex; flex-wrap: wrap; gap: 10px; margin: 0 0 26px; }

.qch-toc a {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  background: var(--qc-panel);
  border: 1px solid var(--qc-stroke);
  border-radius: 999px;
  color: var(--qc-text) !important;
  font-weight: 750;
  text-decoration: none !important;
  transition: all 0.2s ease;
}

.qch-toc a:hover { border-color: var(--qc-orange); box-shadow: 0 8px 20px rgba(15, 23, 42, 0.08); transform: translateY(-1px); }
.qch-section {  scroll-margin-top: 92px; }
.qch-section-head { display: grid; grid-template-columns: auto 1fr;  align-items: start;  }

.qch-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: var(--qc-deep);
  color: #ffffff;
  font-weight: 900;
  box-shadow: 0 10px 24px rgba(30,42,120,0.22);
}

.qch-section-intro { margin-top: 4px; }

.qch-question {
  position: relative;
  background: #ffffff;
  border: 1px solid var(--qc-stroke);
  border-left: 4px solid transparent;
  color: var(--qc-text) !important;
  text-decoration: none !important;
  box-shadow: 0 1px 3px rgba(0,0,0,0.04);
  transition: all 0.2s ease;
}

.qch-question:hover { border-left-color: var(--qc-orange); border-color: rgba(255,87,34,0.45); box-shadow: var(--qc-shadow); transform: translateY(-3px); }
.qch-question strong { display: block; margin-bottom: 10px; color: var(--qc-text);    }
.qch-question span { display: block; color: var(--qc-muted);   }
.qch-question em { position: absolute;  right: 18px;  color: var(--qc-orange); font-style: normal;  font-weight: 800; letter-spacing: 0.02em; }

.qch-cta {
  margin-top: 28px;
  border-radius: 20px;
  background: linear-gradient(135deg, #1e2a78 0%, #2196F3 100%);
  color: #ffffff;
  box-shadow: 0 22px 60px rgba(30,42,120,0.26);
  overflow: hidden;
  position: relative;
}

.qch-cta::after { content: "?"; position: absolute; right: 24px; top: -26px; color: rgba(255,255,255,0.09); font-size: 11rem; font-weight: 900; line-height: 1; }
.qch-cta-inner { position: relative; z-index: 1; max-width: 760px; }
.qch-cta h2, .qch-cta p { color: #ffffff !important; }
.qch-cta p { color: rgba(255,255,255,0.82) !important; }
.qch-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 22px; }

.qch-btn {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  font-weight: 850;
  text-decoration: none !important;
  transition: all 0.2s ease;
}

.qch-btn.primary { background: var(--qc-orange); color: #ffffff !important; box-shadow: 0 6px 18px rgba(255,87,34,0.32); }
.qch-btn.primary:hover { background: var(--qc-orange-dark); transform: translateY(-2px); }
.qch-btn.secondary { background: rgba(255,255,255,0.08); color: #ffffff !important; border: 1px solid rgba(255,255,255,0.28); }
.qch-btn.secondary:hover { background: rgba(255,255,255,0.14); transform: translateY(-2px); }

.qch-related { margin-top: 22px; display: grid;  gap: 14px; }
.qch-related a { display: block; padding: 18px; border: 1px solid var(--qc-stroke); border-radius: 14px; background: var(--qc-panel); text-decoration: none !important; color: var(--qc-text) !important; transition: all 0.2s ease; }
.qch-related a:hover { border-color: var(--qc-orange); box-shadow: var(--qc-shadow); transform: translateY(-2px); }
.qch-related strong { display: block; margin-bottom: 8px;  line-height: 1.35; }
.qch-related span { display: block; color: var(--qc-muted);  line-height: 1.5; }

@media (max-width: 900px) {
    .qch-question-grid, .qch-related { grid-template-columns: 1fr; }
  .qch-hero { padding: 72px 20px 42px; }
  .qch-body { padding: 24px 16px 60px; }
  .qch-card, .qch-cta { padding: 22px; }
}

@media (max-width: 640px) {
        .qch-stats { grid-template-columns: 1fr; }
  }

/* =============================================================
   AI HUB PAGE FIXES — remove top gap + increase readability
   Paste at bottom of Additional CSS
   ============================================================= */

/* Remove WordPress/theme spacing above the hub page */

/* Pull the hub page up directly under the fixed nav */

/* If the admin bar/edit button still creates visual space, tighten hero */

/* Make the whole content column feel larger */

/* Larger hero text and readable intro */


.qch-hero-card {
  font-size: 1.05rem !important;
}



/* Bigger body copy */

/* Bigger section headings */

/* Make question cards easier to read */




/* Bigger nav pills */

/* Bigger CTA buttons */

/* Mobile tuning */

/* =============================================================
   AI HUB PAGE — FONT SIZE FIX
   Paste at bottom of Additional CSS
   ============================================================= */

/* Overall page readability */

/* Hero */


.qch-eyebrow,
.qch-breadcrumb {
  font-size: 0.85rem !important;
}

/* Hero side card */


/* Main card headings */

/* Main explanatory text */

/* Section number circle */

/* Question cards */




/* Top section pills */

/* Stats card */
.qch-stat strong {
  font-size: 1.75rem !important;
}

.qch-stat span {
  font-size: 0.8rem !important;
}

/* Buttons */

/* Related cards */


/* Mobile */
/* =============================================================
   AI HUB PAGE — READABILITY + BLANK SPACE FIX
   Paste at bottom of Additional CSS
   ============================================================= */

/* Remove the large WordPress/template gap above the hero */

/* Pull page up cleanly under the nav */

/* Give the hero more presence */





/* Increase main content width but keep it readable */

/* Make intro cards easier to read */


/* THIS FIXES THE BIG BLANK SPACE:
   Force question cards into one full-width readable column */
.qch-question-grid {
  grid-template-columns: 1fr !important;
  gap: 16px !important;
  max-width: 100% !important;
}

/* Full-width, larger question cards */




/* Make section cards feel intentional instead of oversized */


/* Larger pills and buttons */


/* Related cards */


/* Mobile tuning */
@media (max-width: 640px) {
  .qch-page {
    font-size: 16px !important;
  }

  
  .qch-hero h1 {
    font-size: clamp(2.8rem, 14vw, 4rem) !important;
  }

  .qch-hero-sub {
    font-size: 1.1rem !important;
  }

  
  
  
  }

/* =============================================================
   AI HUB FINAL POLISH — remove top gap + improve readability
   Paste at very bottom of Additional CSS
   ============================================================= */

/* Kill leftover WordPress page/header/edit spacing above the hub */
body:has(.qch-page) .entry-header,
body:has(.qch-page) header.entry-header,
body:has(.qch-page) .page-header,
body:has(.qch-page) .entry-title,
body:has(.qch-page) .page-title,
body:has(.qch-page) .edit-link,
body:has(.qch-page) .post-edit-link {
  display: none !important;
  height: 0 !important;
  min-height: 0 !important;
  max-height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  overflow: hidden !important;
}

/* Remove page-template top padding */

/* Pull the hub directly under the nav */

/* Hero spacing */

/* Make the content area feel less tiny */

/* Bigger section copy */


/* Question cards: bigger, cleaner, less tiny */




/* Section labels and nav pills */


/* Download block and related cards */



/* Mobile */
@media (max-width: 640px) {
  .qch-hero {
    padding-top: 78px !important;
  }

  .qch-frame h2,
  .qch-side-card h2,
  .qch-section h2,
  .qch-cta h2 {
    font-size: 1.6rem !important;
  }

  .qch-frame p,
  .qch-side-card p,
  .qch-section-intro,
  .qch-cta p {
    font-size: 1.05rem !important;
  }

  .qch-question {
    min-height: auto !important;
  }

  .qch-question strong {
    font-size: 1.22rem !important;
  }

  .qch-question span {
    font-size: 1rem !important;
  }

  }/* =============================================================
   AI HUB — FINAL OVERRIDE
   Fixes top gap, tiny font, and empty layout space
   Paste at the VERY BOTTOM of Additional CSS
   ============================================================= */

/* Remove WordPress inner-page padding on this hub page */
body:has(.qch-page) .site-content,
body:has(.qch-page) #content,
body:has(.qch-page) #primary,
body:has(.qch-page) #main,
body:has(.qch-page) .site-main,
body:has(.qch-page) .content-area,
body:has(.qch-page) .entry-content {
  margin-top: 0 !important;
  padding-top: 0 !important;
}

/* Pull hero up. If it goes too high, change -130px to -100px. */
.qch-page {
  margin-top: -130px !important;
  font-size: 18px !important;
}

/* Narrow the readable content so the page feels intentional */
.qch-wrap,
.qch-hero-inner {
  max-width: 1080px !important;
}

/* Hero */
.qch-hero {
  padding-top: 118px !important;
  padding-bottom: 76px !important;
}

.qch-hero-inner {
  grid-template-columns: 1.25fr 0.75fr !important;
  gap: 56px !important;
}

.qch-hero h1 {
  font-size: clamp(4.4rem, 6vw, 6.7rem) !important;
  line-height: 0.95 !important;
  letter-spacing: -0.06em !important;
}

.qch-hero-sub {
  font-size: 21px !important;
  line-height: 1.6 !important;
  max-width: 680px !important;
}

.qch-hero-card strong {
  font-size: 18px !important;
  line-height: 1.35 !important;
}

.qch-hero-card p,
.qch-mini-list li {
  font-size: 16px !important;
  line-height: 1.55 !important;
}

/* Intro cards */
.qch-top-grid {
  grid-template-columns: 1.35fr 0.75fr !important;
  gap: 24px !important;
}

.qch-card {
  padding: 30px !important;
}

.qch-frame h2,
.qch-side-card h2,
.qch-section h2,
.qch-cta h2 {
  font-size: 32px !important;
  line-height: 1.15 !important;
}

.qch-frame p,
.qch-side-card p,
.qch-section-intro,
.qch-cta p {
  font-size: 19px !important;
  line-height: 1.65 !important;
}

/* Section headers */
.qch-section {
  margin-top: 26px !important;
  padding: 34px !important;
}

.qch-section-head {
  gap: 18px !important;
  margin-bottom: 28px !important;
}

.qch-num {
  width: 48px !important;
  height: 48px !important;
  font-size: 16px !important;
}

/* Remove two-column weirdness and make question cards readable */
.qch-question-grid {
  display: block !important;
  width: 100% !important;
}

.qch-question {
  display: block !important;
  width: 100% !important;
  max-width: none !important;
  min-height: 0 !important;
  margin: 0 0 18px 0 !important;
  padding: 28px 32px 62px 32px !important;
  border-radius: 16px !important;
}

/* Actual readable font sizes */
.qch-question strong {
  font-size: 23px !important;
  line-height: 1.25 !important;
  font-weight: 850 !important;
  letter-spacing: -0.02em !important;
}

.qch-question span {
  font-size: 17px !important;
  line-height: 1.55 !important;
}

.qch-question em {
  left: 32px !important;
  bottom: 22px !important;
  font-size: 15px !important;
}

/* Pills */
.qch-toc {
  margin-bottom: 30px !important;
}

.qch-toc a {
  font-size: 15px !important;
  padding: 11px 18px !important;
}

/* CTA */
.qch-cta {
  padding: 40px !important;
}

.qch-btn {
  font-size: 16px !important;
  min-height: 50px !important;
  padding: 0 24px !important;
}

/* Related cards */
.qch-related {
  grid-template-columns: 1fr !important;
}

.qch-related strong {
  font-size: 19px !important;
}

.qch-related span {
  font-size: 16px !important;
}

/* Mobile */
@media (max-width: 900px) {
  .qch-page {
    margin-top: -80px !important;
  }

  .qch-hero-inner,
  .qch-top-grid {
    grid-template-columns: 1fr !important;
  }

  .qch-hero h1 {
    font-size: clamp(3rem, 12vw, 4.5rem) !important;
  }

  .qch-hero-sub {
    font-size: 18px !important;
  }

  .qch-question strong {
    font-size: 21px !important;
  }

  .qch-question span {
    font-size: 16px !important;
  }
}

@media (max-width: 640px) {
  .qch-page {
    margin-top: -60px !important;
  }

  .qch-body {
    padding-left: 16px !important;
    padding-right: 16px !important;
  }

  .qch-card,
  .qch-section,
  .qch-cta {
    padding: 22px !important;
  }

  .qch-question {
    padding: 22px 22px 58px 22px !important;
  }

  .qch-question em {
    left: 22px !important;
  }
}

/* =============================================================
   CATEGORIES PAGE — MATCH SEO HUB PAGE STYLE
   Paste at VERY BOTTOM of Additional CSS
   ============================================================= */

/* Page shell */
body.page-id-163639482 {
  background: #f8fafc !important;
}

/* Kill conflicting landing-page styling if it appears on this page */
body.page-id-163639482 #qc-landing {
  display: none !important;
}

/* Remove theme spacing */
body.page-id-163639482 .entry-content,
body.page-id-163639482 .site-main,
body.page-id-163639482 .content-area,
body.page-id-163639482 #content,
body.page-id-163639482 #primary,
body.page-id-163639482 .site-content,
body.page-id-163639482 #page {
  max-width: 100% !important;
  width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
  background: #f8fafc !important;
  box-shadow: none !important;
}

/* Hero: match hub pages */
body.page-id-163639482 .qci-hero {
  position: relative !important;
  overflow: hidden !important;
  background: #1e2a78 !important;
  padding: 110px 40px 82px !important;
  border-bottom: 1px solid rgba(33, 150, 243, 0.22) !important;
}

body.page-id-163639482 .qci-hero::before {
  content: "" !important;
  position: absolute !important;
  inset: 0 !important;
  background-image:
    linear-gradient(rgba(33,150,243,0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(33,150,243,0.07) 1px, transparent 1px) !important;
  background-size: 54px 54px !important;
  pointer-events: none !important;
}

body.page-id-163639482 .qci-hero::after {
  content: "" !important;
  position: absolute !important;
  width: 56vw !important;
  height: 56vw !important;
  right: -18vw !important;
  top: -22vw !important;
  background: radial-gradient(circle, rgba(33,150,243,0.22) 0%, rgba(33,150,243,0.08) 34%, transparent 68%) !important;
  border-radius: 50% !important;
  pointer-events: none !important;
}

body.page-id-163639482 .qci-hero-inner {
  position: relative !important;
  z-index: 1 !important;
  max-width: 1120px !important;
  margin: 0 auto !important;
}

/* Hero typography */
body.page-id-163639482 .qci-eyebrow {
  font-size: 0.9rem !important;
  letter-spacing: 0.16em !important;
  text-transform: uppercase !important;
  color: #2196F3 !important;
  margin-bottom: 1.25rem !important;
  font-weight: 800 !important;
}

body.page-id-163639482 .qci-hero h1 {
  max-width: 13ch !important;
  font-size: clamp(4rem, 6.2vw, 6.8rem) !important;
  line-height: 0.98 !important;
  letter-spacing: -0.055em !important;
  font-weight: 850 !important;
  color: #ffffff !important;
  margin: 0 0 1.5rem !important;
  border: none !important;
}

body.page-id-163639482 .qci-hero h1 em {
  color: #ffffff !important;
  font-style: italic !important;
  font-weight: 700 !important;
}

body.page-id-163639482 .qci-hero-sub {
  max-width: 680px !important;
  font-size: 1.35rem !important;
  line-height: 1.65 !important;
  color: rgba(255,255,255,0.76) !important;
}

/* Body: match hub page light background */
body.page-id-163639482 .qci-body {
  background: #f8fafc !important;
  padding: 56px 40px 80px !important;
}

/* Grid */
body.page-id-163639482 .qci-grid {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: 22px !important;
  max-width: 1120px !important;
  margin: 0 auto !important;
}

/* Cards: hub-style white cards */
body.page-id-163639482 .qci-card {
  background: #ffffff !important;
  color: #0f172a !important;
  border: 1px solid #e2e8f0 !important;
  border-top: 4px solid #2196F3 !important;
  border-radius: 16px !important;
  padding: 34px !important;
  min-height: 270px !important;
  box-shadow: 0 1px 3px rgba(0,0,0,0.04) !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 16px !important;
  text-decoration: none !important;
  transition: all 0.2s ease !important;
}

body.page-id-163639482 .qci-card:hover {
  transform: translateY(-4px) !important;
  border-color: rgba(255,87,34,0.45) !important;
  border-top-color: #FF5722 !important;
  box-shadow: 0 12px 32px rgba(15,23,42,0.08) !important;
  background: #ffffff !important;
}

/* Card content */
body.page-id-163639482 .qci-card-icon {
  font-size: 2rem !important;
  line-height: 1 !important;
  margin-bottom: 18px !important;
}

body.page-id-163639482 .qci-card-count {
  font-size: 0.8rem !important;
  letter-spacing: 0.1em !important;
  text-transform: uppercase !important;
  color: #1e2a78 !important;
  background: #f1f5f9 !important;
  border: 1px solid #e2e8f0 !important;
  padding: 7px 13px !important;
  border-radius: 999px !important;
  width: fit-content !important;
  font-weight: 800 !important;
}

body.page-id-163639482 .qci-card-title {
  font-size: 1.65rem !important;
  line-height: 1.2 !important;
  letter-spacing: -0.025em !important;
  font-weight: 850 !important;
  color: #0f172a !important;
  margin: 0 !important;
}

body.page-id-163639482 .qci-card-desc {
  font-size: 1.08rem !important;
  line-height: 1.6 !important;
  color: #64748b !important;
  margin: 0 !important;
}

body.page-id-163639482 .qci-card-cta {
  margin-top: auto !important;
  font-size: 0.92rem !important;
  color: #FF5722 !important;
  font-weight: 850 !important;
  letter-spacing: 0.02em !important;
  text-transform: none !important;
}

/* Surprise CTA: hub-style blue block */
body.page-id-163639482 .qci-surprise {
  background: #f8fafc !important;
  padding: 34px 40px 70px !important;
  border-top: none !important;
  text-align: center !important;
}

body.page-id-163639482 .qci-surprise p {
  color: #64748b !important;
  font-size: 1.08rem !important;
  margin-bottom: 18px !important;
}

body.page-id-163639482 .qci-surprise-btn {
  background: #FF5722 !important;
  color: #ffffff !important;
  padding: 16px 30px !important;
  border-radius: 10px !important;
  font-size: 1rem !important;
  font-weight: 850 !important;
  box-shadow: 0 6px 18px rgba(255,87,34,0.32) !important;
}

/* Mobile */
@media (max-width: 1000px) {
  body.page-id-163639482 .qci-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}

@media (max-width: 700px) {
  body.page-id-163639482 .qci-hero {
    padding: 86px 22px 58px !important;
  }

  body.page-id-163639482 .qci-hero h1 {
    font-size: clamp(3rem, 13vw, 4.5rem) !important;
  }

  body.page-id-163639482 .qci-hero-sub {
    font-size: 1.1rem !important;
  }

  body.page-id-163639482 .qci-body {
    padding: 28px 16px 56px !important;
  }

  body.page-id-163639482 .qci-grid {
    grid-template-columns: 1fr !important;
    max-width: 620px !important;
  }

  body.page-id-163639482 .qci-card {
    min-height: auto !important;
    padding: 26px !important;
  }

  body.page-id-163639482 .qci-card-title {
    font-size: 1.35rem !important;
  }

  body.page-id-163639482 .qci-card-desc {
    font-size: 1rem !important;
  }
}

/* =============================================================
   FULL LIBRARY PAGE — PAGE ID 163625087
   Makes /accelerate-your-success/ match the newer QC visual system
   ============================================================= */

body.page-id-163625087 {
  background: #f8fafc !important;
}

/* Remove default theme spacing */
body.page-id-163625087 .site-content,
body.page-id-163625087 #content,
body.page-id-163625087 #primary,
body.page-id-163625087 #main,
body.page-id-163625087 .site-main,
body.page-id-163625087 .content-area,
body.page-id-163625087 .entry-content {
  max-width: 100% !important;
  width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
  background: #f8fafc !important;
}

/* Hide default title/edit clutter */
body.page-id-163625087 .entry-header,
body.page-id-163625087 .entry-title,
body.page-id-163625087 .page-title,
body.page-id-163625087 .edit-link {
  display: none !important;
}

/* Top stats area */
body.page-id-163625087 .qc-dashboard,
body.page-id-163625087 .qc-dashboard-guest {
  max-width: 1120px !important;
  margin: 0 auto !important;
  padding: 110px 40px 28px !important;
  background: transparent !important;
}

/* Stats text */
body.page-id-163625087 .qc-dashboard,
body.page-id-163625087 .qc-dashboard-guest,
body.page-id-163625087 .qc-dashboard p,
body.page-id-163625087 .qc-dashboard-guest p {
  font-size: 1.05rem !important;
  line-height: 1.5 !important;
  color: #0f172a !important;
}

/* Main query containers */
body.page-id-163625087 .wp-block-query,
body.page-id-163625087 .wp-block-group,
body.page-id-163625087 .wp-block-post-template {
  max-width: 1120px !important;
  margin-left: auto !important;
  margin-right: auto !important;
}

/* Posts heading */
body.page-id-163625087 .entry-content > h2,
body.page-id-163625087 .wp-block-heading {
  max-width: 1120px !important;
  margin: 36px auto 30px !important;
  padding: 0 40px !important;
  font-size: clamp(3.4rem, 5.2vw, 5.8rem) !important;
  line-height: 0.98 !important;
  letter-spacing: -0.055em !important;
  font-weight: 850 !important;
  color: #0f172a !important;
}

/* Posts grid */
body.page-id-163625087 .wp-block-post-template {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: 30px !important;
  padding: 0 40px 80px !important;
  list-style: none !important;
}

/* Individual post cards */
body.page-id-163625087 .wp-block-post {
  background: #ffffff !important;
  border: 1px solid #e2e8f0 !important;
  border-top: 4px solid #2196F3 !important;
  border-radius: 18px !important;
  padding: 0 0 26px !important;
  overflow: hidden !important;
  box-shadow: 0 1px 3px rgba(0,0,0,0.04) !important;
  transition: all 0.2s ease !important;
}

body.page-id-163625087 .wp-block-post:hover {
  transform: translateY(-4px) !important;
  border-top-color: #FF5722 !important;
  box-shadow: 0 12px 32px rgba(15, 23, 42, 0.08) !important;
}

/* Featured image */
body.page-id-163625087 .wp-block-post-featured-image {
  margin: 0 0 22px !important;
}

body.page-id-163625087 .wp-block-post-featured-image img {
  width: 100% !important;
  height: 250px !important;
  object-fit: cover !important;
  display: block !important;
}

/* Icons/favorite/share row */
body.page-id-163625087 .wp-block-post .qc-post-actions,
body.page-id-163625087 .wp-block-post .qc-fav-share,
body.page-id-163625087 .wp-block-post p:has(img),
body.page-id-163625087 .wp-block-post p:has(a) {
  padding-left: 24px !important;
  padding-right: 24px !important;
}

/* Post title */
body.page-id-163625087 .wp-block-post-title {
  margin: 0 24px 10px !important;
}

body.page-id-163625087 .wp-block-post-title a {
  color: #0f172a !important;
  font-size: 1.45rem !important;
  line-height: 1.25 !important;
  letter-spacing: -0.025em !important;
  font-weight: 850 !important;
  text-decoration: none !important;
}

body.page-id-163625087 .wp-block-post-title a:hover {
  color: #FF5722 !important;
}

/* Date */
body.page-id-163625087 .wp-block-post-date,
body.page-id-163625087 .wp-block-post-date time {
  display: block !important;
  margin: 0 24px !important;
  color: #64748b !important;
  font-size: 0.95rem !important;
  font-weight: 650 !important;
}

/* Pagination */
body.page-id-163625087 .wp-block-query-pagination {
  max-width: 1120px !important;
  margin: 0 auto 80px !important;
  padding: 0 40px !important;
  display: flex !important;
  justify-content: flex-end !important;
  gap: 16px !important;
}

body.page-id-163625087 .wp-block-query-pagination a {
  display: inline-flex !important;
  align-items: center !important;
  min-height: 44px !important;
  padding: 0 18px !important;
  background: #ffffff !important;
  border: 1px solid #e2e8f0 !important;
  border-radius: 10px !important;
  color: #0f172a !important;
  font-size: 1rem !important;
  font-weight: 800 !important;
  text-decoration: none !important;
}

body.page-id-163625087 .wp-block-query-pagination a:hover {
  background: #FF5722 !important;
  border-color: #FF5722 !important;
  color: #ffffff !important;
}

/* Mobile */
@media (max-width: 1000px) {
  body.page-id-163625087 .wp-block-post-template {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}

@media (max-width: 700px) {
  body.page-id-163625087 .qc-dashboard,
  body.page-id-163625087 .qc-dashboard-guest {
    padding: 86px 20px 20px !important;
  }

  body.page-id-163625087 .entry-content > h2,
  body.page-id-163625087 .wp-block-heading {
    padding: 0 20px !important;
    font-size: clamp(2.5rem, 12vw, 4rem) !important;
  }

  body.page-id-163625087 .wp-block-post-template {
    grid-template-columns: 1fr !important;
    padding: 0 20px 60px !important;
  }

  body.page-id-163625087 .wp-block-post-featured-image img {
    height: 230px !important;
  }

  body.page-id-163625087 .wp-block-post-title a {
    font-size: 1.25rem !important;
  }
}

.qc-hero-eyebrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin: 0 0 14px;
  border: 1px solid var(--stroke, rgba(0,0,0,.12));
  border-radius: 999px;
  font-weight: 800;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--qc-orange, #FF5722);
  background: rgba(255, 87, 34, .08);
}

.qc-hero-sub {
  margin-left: auto;
  margin-right: auto;
}

.qc-hero-how {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin: 28px auto 0;
}

.qc-hero-step {
  text-align: left;
  padding: 16px;
  border: 1px solid var(--stroke, rgba(0,0,0,.12));
  border-radius: 18px;
  background: rgba(255,255,255,.68);
}

.qc-hero-step strong {
  display: block;
  margin-bottom: 5px;
  color: var(--qc-blue, #2196F3);
}

.qc-hero-step span {
  display: block;
  opacity: .82;
}

.qc-hero-examples {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin: 16px auto 0;
}

.qc-example-card {
  text-align: left;
  padding: 16px;
  border-radius: 18px;
  border: 1px solid var(--stroke, rgba(0,0,0,.12));
  background: rgba(255,255,255,.88);
  box-shadow: 0 10px 28px rgba(0,0,0,.05);
}

.qc-example-label {
  display: inline-block;
  margin-bottom: 8px;
  font-weight: 800;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--qc-orange, #FF5722);
}

.qc-example-card p {
  margin: 0;
}

@media (max-width: 768px) {
  .qc-hero-how,
  .qc-hero-examples {
    grid-template-columns: 1fr;
  }

  .qc-hero-step,
  .qc-example-card {
    text-align: left;
  }
}

/* Bigger homepage hero text and cards */
.qc-hero-title {
  font-size: clamp(2.4rem, 4vw, 4.25rem) !important;
  line-height: 1.05 !important;
  letter-spacing: -0.04em;
  max-width: 1050px;
  margin-left: auto;
  margin-right: auto;
}

.qc-hero-sub {
  font-size: clamp(1.05rem, 1.25vw, 1.35rem) !important;
  line-height: 1.55 !important;
  max-width: 900px;
  margin-top: 18px;
}

.qc-hero-eyebrow {
  font-size: 0.9rem !important;
  padding: 8px 14px !important;
}

.qc-hero-cta .qc-btn {
  font-size: 1rem !important;
  padding: 13px 24px !important;
}

.qc-hero-how,
.qc-hero-examples {
  max-width: 1050px !important;
}

.qc-hero-step strong,
.qc-example-label {
  font-size: 0.95rem !important;
}

.qc-hero-step span,
.qc-example-card p {
  font-size: 1.05rem !important;
  line-height: 1.5 !important;
}

.qc-hero-proof {
  font-size: 1rem !important;
  margin-top: 20px !important;
}
/* =============================================================
   READABILITY PATCH — FONT SIZE OPTIMIZATION
   Add near bottom of stylesheet
   ============================================================= */

:root {
  --qc-fs-xs: 0.8125rem;   /* 13px */
  --qc-fs-sm: 0.875rem;    /* 14px */
  --qc-fs-base: 1rem;      /* 16px */
  --qc-fs-md: 1.0625rem;   /* 17px */
  --qc-fs-lg: 1.1875rem;   /* 19px */
  --qc-fs-xl: 1.5rem;      /* 24px */
}

/* Keep browser accessibility scaling intact */
html {
  font-size: 100%;
}

/* Global readable floor */
body,
body.page,
body.single,
body.single-post,
body.blog,
body.archive {
  font-size: var(--qc-fs-base) !important;
  line-height: 1.6 !important;
}

/* Main question */
.qc-q {
  font-size: clamp(1.65rem, 4.5vw, 2.15rem) !important;
  line-height: 1.2 !important;
}

/* Supporting text */
.qc-sub,
.qc-practice-intro,
.qc-practice-body,
.qc-answer p,
.qc-signup p,
.qc-note-text,
.qc-item a,
.qc-compare-card li {
  font-size: var(--qc-fs-base) !important;
  line-height: 1.6 !important;
}

/* Reflection area */
.qc-textarea,
.qc-starter-overlay,
.qc-input,
.qc-pill-search input {
  font-size: var(--qc-fs-base) !important;
  line-height: 1.55 !important;
}

/* Buttons and links */
.qc-btn,
.qc-nav a,
.qc-page-nav a,
.qc-pill-link,
.qc-pill-search button {
  font-size: var(--qc-fs-sm) !important;
  line-height: 1.2 !important;
}

/* Labels, pills, metadata — still small, but not microscopic */
.qc-kicker .left,
.qc-pill,
.qc-reflect-title,
.qc-reflect-meta,
.qc-note,
.qc-note-meta,
.qc-note-timestamp,
.qc-note-empty,
.qc-item .meta,
.qc-mini,
.qc-pill-row-title,
.qc-pill-label,
.qc-answer h3,
.qc-stat .lbl,
.qc-stat-label,
.qc-corpus-percentage,
.qc-activity-grid::after {
  font-size: var(--qc-fs-xs) !important;
  line-height: 1.45 !important;
}

/* Card spacing grows slightly with larger type */
.qc-card {
  padding: 22px !important;
}

.qc-item,
.qc-answer,
.qc-reflect,
.qc-pill-box {
  padding: 16px !important;
}

/* Desktop scale-up */
@media (min-width: 900px) {
  body,
  body.page,
  body.single,
  body.single-post,
  body.blog,
  body.archive {
    font-size: var(--qc-fs-md) !important;
  }

  .qc-sub,
  .qc-practice-intro,
  .qc-practice-body,
  .qc-answer p,
  .qc-note-text {
    font-size: var(--qc-fs-md) !important;
  }

  .qc-q {
    font-size: clamp(2rem, 3vw, 2.75rem) !important;
  }
}

/* Mobile readability */
@media (max-width: 768px) {
  body,
  body.page,
  body.single,
  body.single-post {
    font-size: var(--qc-fs-base) !important;
  }

  .qc-wrap {
    padding-left: 18px !important;
    padding-right: 18px !important;
  }

  .qc-card {
    padding: 20px !important;
  }

  .qc-q {
    font-size: clamp(1.55rem, 7vw, 2rem) !important;
    line-height: 1.18 !important;
  }

  .qc-sub,
  .qc-textarea,
  .qc-starter-overlay,
  .qc-input,
  .qc-answer p,
  .qc-note-text,
  .qc-item a {
    font-size: 1rem !important;
    line-height: 1.6 !important;
  }

  .qc-btn,
  .qc-nav a,
  .qc-page-nav a {
    font-size: 0.9375rem !important;
    min-height: 44px !important;
  }
}

.qc-streak-banner {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  background: #ffffff;
  border: 1px solid rgba(255, 87, 34, 0.25);
  border-top: 3px solid #FF5722;
  border-radius: 10px;
  padding: 12px 38px 12px 14px;
  margin: 0 0 12px 0;
  position: relative;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.08);
}

.qc-streak-flame {
  font-size: 1rem;
  line-height: 1.3;
  flex-shrink: 0;
}

.qc-streak-banner-text {
  font-size: 0.78rem;
  line-height: 1.45;
  color: #263044;
}

.qc-streak-banner-text strong {
  display: block;
  color: #071225;
  font-weight: 700;
  margin-bottom: 2px;
}

.qc-streak-banner-text a {
  color: #FF5722;
  font-weight: 700;
  text-decoration: underline;
}

.qc-streak-dismiss {
  position: absolute !important;
  top: 8px;
  right: 8px;
  width: 22px !important;
  height: 22px !important;
  min-width: 22px !important;
  padding: 0 !important;
  display: flex !important;
  align-items: center;
  justify-content: center;
  background: transparent !important;
  border: 1px solid rgba(15, 23, 42, 0.15) !important;
  border-radius: 6px !important;
  color: #263044 !important;
  font-size: 16px !important;
  line-height: 1 !important;
  box-shadow: none !important;
  cursor: pointer;
}

.qc-streak-dismiss:hover {
  background: rgba(255, 87, 34, 0.08) !important;
  border-color: rgba(255, 87, 34, 0.35) !important;
  color: #FF5722 !important;
}

body.logged-in .qc-streak-banner {
  display: none !important;
}

#qcStreakDismissed,
.qc-streak-dismissed-state {
  display: none !important;
}

/* =============================================================
   My Account / Dashboard page inside qch layout
   ============================================================= */

.qch-dashboard-page .qch-shortcode-wrap {
  width: 100%;
}

.qch-dashboard-page .qc-dashboard {
  max-width: none !important;
  width: 100% !important;
  margin: 0 !important;
}

.qch-dashboard-page .qc-dashboard-hero {
  margin-top: 0 !important;
}

.qch-dashboard-page .qc-favorites-grid {
  display: grid !important;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)) !important;
  gap: 18px !important;
}

.qch-dashboard-page .qc-favorite-card {
  min-height: 180px !important;
}

.qch-dashboard-page .qc-dashboard-stats {
  display: grid !important;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)) !important;
  gap: 14px !important;
}

.qch-dashboard-page .qc-notes-list-dashboard {
  display: grid !important;
  gap: 14px !important;
}

.qch-dashboard-page .qc-note-card {
  background: #ffffff !important;
  border: 1px solid var(--stroke) !important;
  border-radius: 14px !important;
  padding: 16px !important;
  box-shadow: var(--shadow-sm) !important;
}

    /* Practice Better Questions additions.
   Uses the existing .qch-* hub-page design already in QuestionClass CSS. */

.qcp-hero-actions { margin-top: 26px; }
.qcp-practice { margin-top: 18px; }

.qcp-streak {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin: 8px 0 22px;
  padding: 18px 20px;
  background: linear-gradient(135deg, rgba(255,87,34,.06), rgba(33,150,243,.05));
  border: 1px solid var(--qc-stroke);
  border-top: 3px solid var(--qc-orange);
  border-radius: 14px;
}
.qcp-streak strong { display: block; color: var(--qc-text); font-size: 17px; }
.qcp-streak > div:first-child span { color: var(--qc-muted); font-size: 14px; }
.qcp-days { display: flex; gap: 8px; }
.qcp-days span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border: 2px solid var(--qc-stroke);
  border-radius: 999px;
  background: #fff;
  color: var(--qc-muted);
  font-size: 13px;
  font-weight: 850;
}
.qcp-streak.started .qcp-days span:first-child {
  color: #fff;
  background: var(--qc-orange);
  border-color: var(--qc-orange);
  box-shadow: 0 5px 13px rgba(255,87,34,.30);
}

.qcp-demo {
  padding: 28px 32px;
  border: 1px solid var(--qc-stroke);
  border-radius: 16px;
  background: #fff;
  transition: opacity .6s ease, transform .6s ease;
}
.qcp-demo.leaving { opacity: 0; transform: translateY(-3px); pointer-events: none; }
.qcp-label {
  margin: 0 0 12px !important;
  color: var(--qc-blue) !important;
  font-size: 13px !important;
  font-weight: 850;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.qcp-demo h3 {
  margin: 0 0 12px !important;
  color: var(--qc-text) !important;
  font-size: 26px !important;
  font-weight: 850;
  line-height: 1.25 !important;
  letter-spacing: -.02em;
}
.qcp-description {
  margin: 0 0 22px !important;
  color: var(--qc-muted) !important;
  font-size: 17px !important;
}
.qcp-reflect {
  padding: 18px;
  background: var(--qc-panel-soft);
  border: 1px solid var(--qc-stroke);
  border-radius: 14px;
}
.qcp-reflect-title {
  display: flex;
  gap: 8px;
  align-items: center;
  margin: 0 0 11px;
  color: var(--qc-muted);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
}
.qcp-reflect-title span {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--qc-orange);
}
.qcp-prompt {
  margin: 0 0 13px !important;
  color: var(--qc-blue) !important;
  font-size: 16px !important;
  font-style: italic;
}
.qcp-textarea {
  width: 100%;
  min-height: 120px;
  padding: 13px 14px;
  border: 1px solid var(--qc-stroke);
  border-radius: 12px;
  background: #fff !important;
  color: var(--qc-text);
  font: inherit;
  font-size: 16px;
  resize: vertical;
  transition: border-color .2s ease, box-shadow .2s ease, opacity .9s ease, transform .9s ease;
}
.qcp-textarea:focus {
  outline: none;
  border-color: var(--qc-orange);
  box-shadow: 0 0 0 4px rgba(255,87,34,.14);
}
.qcp-textarea.is-complete { opacity: .58; transform: translateY(-2px); pointer-events: none; }
.qcp-unlock {
  display: none;
  margin: 14px 0 0 !important;
  padding: 10px 14px;
  color: var(--qc-blue) !important;
  background: rgba(33,150,243,.08);
  border-left: 4px solid var(--qc-orange);
  border-radius: 8px;
  font-size: 16px !important;
  font-weight: 800;
}
.qcp-unlock.visible { display: block; }
.qcp-private { margin: 12px 0 0 !important; color: var(--qc-muted) !important; font-size: 13px !important; }

.qcp-complete {
  display: none;
  margin-top: 22px;
  padding: 30px;
  border-radius: 18px;
  background: linear-gradient(135deg, #1e2a78, #2196F3);
  color: #fff;
}
.qcp-complete.visible { display: block; animation: qcpIn .45s ease both; }
@keyframes qcpIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.qcp-complete-label { margin: 0 0 10px !important; color: rgba(255,255,255,.75) !important; font-weight: 850; letter-spacing: .13em; text-transform: uppercase; }
.qcp-complete h3 { margin: 0 0 14px !important; color: #fff !important; font-size: 32px !important; }
.qcp-complete p { color: rgba(255,255,255,.84) !important; }
.qcp-streak-number { display: flex; align-items: baseline; gap: 10px; margin-bottom: 15px; }
.qcp-streak-number strong { color: var(--qc-orange); font-size: 52px; line-height: 1; }
.qcp-streak-number span { color: #fff; font-size: 18px; font-weight: 850; letter-spacing: .08em; text-transform: uppercase; }
.qcp-complete small { display: block; margin-top: 15px; color: rgba(255,255,255,.72); }

.qcp-samples {
  display: grid;
  grid-template-columns: repeat(2, minmax(0,1fr));
  gap: 15px;
}
.qcp-samples div {
  padding: 23px;
  background: #fff;
  border: 1px solid var(--qc-stroke);
  border-top: 3px solid var(--qc-blue);
  border-radius: 14px;
}
.qcp-samples em {
  display: block;
  margin-bottom: 10px;
  color: var(--qc-blue);
  font-size: 13px;
  font-weight: 850;
  font-style: normal;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.qcp-samples strong { display: block; color: var(--qc-text); font-size: 18px; line-height: 1.42; }

@media (max-width: 700px) {
  .qcp-streak { flex-direction: column; align-items: flex-start; }
  .qcp-samples { grid-template-columns: 1fr; }
  .qcp-demo, .qcp-complete { padding: 22px; }
  .qcp-demo h3 { font-size: 22px !important; }
}
html {
  scroll-behavior: smooth;
}

#qcp-question {
  scroll-margin-top: 100px;
}

/* Try QuestionClass: clean ending below final CTA */
body:has(.qcp-page) .entry-content,
body:has(.qcp-page) #primary,
body:has(.qcp-page) .site-main,
body:has(.qcp-page) .content-area {
  padding-bottom: 0 !important;
  margin-bottom: 0 !important;
}

.qcp-page .qch-body {
  padding-bottom: 32px !important;
}

.qcp-page {
  min-height: auto !important;
}

.qc-reflection-box {
  position: relative;
}

.qc-reflection-box label,
.qc-reflection-box .qc-reflection-label {
  position: absolute;
  top: 28px;
  left: 34px;
  z-index: 2;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: #5f6f89;
}

.qc-reflection-box textarea,
.qc-reflection-box .qc-textarea {
  box-sizing: border-box;
  width: 100%;
  min-height: 240px;
  padding: 72px 34px 32px 34px;
  line-height: 1.45;
}

@media (max-width: 768px) {

  .qc-reflection-box {
    position: relative;
  }

  .qc-reflection-box label,
  .qc-reflection-box .qc-reflection-label {
    position: absolute;
    top: 22px;
    left: 24px;
    z-index: 2;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0.08em;
    line-height: 1.2;
    color: #5f6f89;
  }

  .qc-reflection-box textarea,
  .qc-reflection-box .qc-textarea {
    box-sizing: border-box;
    width: 100%;
    min-height: 260px;
    padding: 72px 24px 28px 24px;
    font-size: 22px;
    line-height: 1.45;
  }

  .qc-reflection-box textarea::placeholder,
  .qc-reflection-box .qc-textarea::placeholder {
    line-height: 1.45;
  }
}
body.logged-in .qc-why-practice {
  display: none !important;
}
/* FINAL LOGGED-IN HOME OFFSET
   64px header + 24px desired breathing room */
@media (min-width: 769px) {
  body.home.logged-in #qc-home .qc-wrap {
    padding-top: 88px !important;
  }
}

/* =========================================
   QuestionClass floating signup button
   ========================================= */

.qc-floating-practice {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 99999;

  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;

  padding: 15px 24px;
  min-height: 54px;

  background: #F4511E;
  color: #ffffff !important;

  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 999px;

  font-size: 17px;
  font-weight: 700;
  line-height: 1;
  text-decoration: none !important;
  white-space: nowrap;

  box-shadow:
    0 10px 25px rgba(0, 0, 0, 0.18),
    0 4px 10px rgba(244, 81, 30, 0.30);

  /*
   * Hidden initially.
   * JavaScript adds .qc-visible after
   * 35% scroll or 20 seconds.
   */
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(14px);

  transition:
    opacity 250ms ease,
    visibility 250ms ease,
    transform 250ms ease,
    box-shadow 200ms ease,
    background-color 200ms ease;
}

/* Visible state */
.qc-floating-practice.qc-visible {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0);
}

/* Hover state */
.qc-floating-practice.qc-visible:hover {
  background: #E84618;
  color: #ffffff !important;
  transform: translateY(-3px);

  box-shadow:
    0 14px 32px rgba(0, 0, 0, 0.22),
    0 6px 14px rgba(244, 81, 30, 0.36);
}

/* Arrow movement */
.qc-floating-arrow {
  display: inline-block;
  font-size: 21px;
  transition: transform 200ms ease;
}

.qc-floating-practice:hover .qc-floating-arrow {
  transform: translateX(4px);
}

/* Keyboard accessibility */
.qc-floating-practice:focus-visible {
  outline: 3px solid rgba(244, 81, 30, 0.4);
  outline-offset: 4px;
}

/* Hide for logged-in WordPress users */
body.logged-in .qc-floating-practice {
  display: none !important;
}

/*
 * Common WordPress and WooCommerce page classes.
 * The JavaScript also checks page URLs as a backup.
 */
body.login .qc-floating-practice,
body.page-template-login .qc-floating-practice,
body.woocommerce-account .qc-floating-practice,
body.woocommerce-checkout .qc-floating-practice,
body.woocommerce-order-pay .qc-floating-practice,
body.woocommerce-order-received .qc-floating-practice,
body.qc-hide-floating-practice .qc-floating-practice {
  display: none !important;
}

/* Mobile version */
@media (max-width: 600px) {
  .qc-floating-practice {
    right: 14px;
    bottom: 14px;

    padding: 13px 18px;
    min-height: 48px;

    font-size: 15px;
  }

  .qc-floating-arrow {
    font-size: 19px;
  }
}

/* Respect reduced-motion accessibility settings */
@media (prefers-reduced-motion: reduce) {
  .qc-floating-practice,
  .qc-floating-arrow {
    transition: none;
  }
}

/* Hide "Powered by Jetpack" */
.jetpack-search__branding,
.jetpack-search__powered-by,
.jetpack-search-powered-by {
    display: none !important;
}

.qc-starter-overlay {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    padding: 12px;
    box-sizing: border-box;
}

.qc-starter-overlay .line.final {
    width: 100%;
    text-align: center;
    font-weight: 700;
    color: #E84618;
    line-height: 1.2;
    white-space: nowrap;
    font-size: clamp(14px, 2vw, 34px);
}

.cursor {
    color: #E84618;
    animation: blink .8s infinite;
}

@keyframes blink {
    50% { opacity: 0; }
}

/* ==========================================================
   QuestionClass Category Hubs
   Shared stylesheet for all category pages
   Version: 1.0
   ========================================================== */


/* ==========================================================
   1. DESIGN TOKENS
   ========================================================== */

.qc-category-hub {
  --qc-orange: #f4511e;
  --qc-orange-dark: #d94212;
  --qc-orange-soft: #fff3ee;

  --qc-navy: #172033;
  --qc-navy-soft: #222d43;

  --qc-text: #293244;
  --qc-muted: #667085;
  --qc-light-text: #98a2b3;

  --qc-white: #ffffff;
  --qc-background: #ffffff;
  --qc-surface: #f7f8fa;
  --qc-surface-warm: #fff7f3;

  --qc-border: #e4e7ec;
  --qc-border-dark: #d0d5dd;

  --qc-shadow-sm:
    0 2px 8px rgba(23, 32, 51, 0.05);

  --qc-shadow-md:
    0 12px 30px rgba(23, 32, 51, 0.08);

  --qc-shadow-lg:
    0 22px 54px rgba(23, 32, 51, 0.12);

  --qc-radius-sm: 10px;
  --qc-radius-md: 18px;
  --qc-radius-lg: 26px;

  --qc-content-width: 1120px;
  --qc-reading-width: 780px;

  width: 100%;
  max-width: var(--qc-content-width);
  margin: 0 auto 72px;
  color: var(--qc-text);
  font-size: 18px;
  line-height: 1.72;
}


/* ==========================================================
   2. RESET WITHIN CATEGORY HUB
   ========================================================== */

.qc-category-hub,
.qc-category-hub *,
.qc-category-hub *::before,
.qc-category-hub *::after {
  box-sizing: border-box;
}

.qc-category-hub h2,
.qc-category-hub h3,
.qc-category-hub p,
.qc-category-hub ul,
.qc-category-hub ol {
  margin-top: 0;
}

.qc-category-hub a {
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.qc-category-hub img {
  display: block;
  max-width: 100%;
  height: auto;
}


/* ==========================================================
   3. SHARED SECTION SPACING
   ========================================================== */

.qc-category-hub section {
  position: relative;
  margin: 0;
  padding: 76px 0;
  border-bottom: 1px solid var(--qc-border);
}

.qc-category-hub section:last-child {
  border-bottom: 0;
}

.qc-category-section {
  position: relative;
}


/* ==========================================================
   4. TYPOGRAPHY
   ========================================================== */

.qc-category-hub h2 {
  max-width: 880px;
  margin-bottom: 24px;
  color: var(--qc-navy);
  font-size: clamp(34px, 4.6vw, 56px);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.04em;
}

.qc-category-hub h3 {
  margin-bottom: 12px;
  color: var(--qc-navy);
  font-size: 23px;
  font-weight: 800;
  line-height: 1.25;
  letter-spacing: -0.02em;
}

.qc-category-hub p {
  max-width: var(--qc-reading-width);
  margin-bottom: 22px;
  color: var(--qc-muted);
}

.qc-category-hub p:last-child {
  margin-bottom: 0;
}

.qc-category-eyebrow {
  margin-bottom: 14px !important;
  color: var(--qc-orange) !important;
  font-size: 13px;
  font-weight: 800;
  line-height: 1.3;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}


/* ==========================================================
   5. INTRODUCTION
   ========================================================== */

.qc-category-intro {
  padding-top: 26px !important;
}

.qc-category-intro h2 {
  max-width: 960px;
  margin-bottom: 28px;
  font-size: clamp(42px, 6vw, 72px);
  line-height: 1.02;
}

.qc-category-lead {
  max-width: 880px !important;
  margin-bottom: 34px !important;
  color: var(--qc-navy) !important;
  font-size: clamp(22px, 2.8vw, 31px);
  font-weight: 500;
  line-height: 1.42;
  letter-spacing: -0.015em;
}

.qc-category-intro > p:not(.qc-category-eyebrow):not(.qc-category-lead) {
  font-size: 18px;
}


/* ==========================================================
   6. PRINCIPLE / THESIS BLOCK
   ========================================================== */

.qc-category-principle {
  overflow: hidden;
  padding:
    clamp(52px, 7vw, 84px)
    clamp(26px, 7vw, 78px) !important;
  border: 0 !important;
  border-radius: var(--qc-radius-lg);
  background:
    radial-gradient(
      circle at 100% 0%,
      rgba(244, 81, 30, 0.2),
      transparent 34%
    ),
    linear-gradient(
      145deg,
      var(--qc-navy),
      var(--qc-navy-soft)
    );
  box-shadow: var(--qc-shadow-lg);
}

.qc-category-principle::after {
  position: absolute;
  right: -70px;
  bottom: -90px;
  width: 240px;
  height: 240px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 50%;
  content: "";
}

.qc-category-principle p {
  position: relative;
  z-index: 1;
  max-width: 900px;
  margin-bottom: 14px;
  color: #ffb69e;
  font-size: 14px;
  font-weight: 800;
  line-height: 1.4;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.qc-category-principle h2 {
  position: relative;
  z-index: 1;
  max-width: 940px;
  margin-bottom: 0;
  color: var(--qc-white);
  font-size: clamp(34px, 5vw, 58px);
}


/* ==========================================================
   7. SECTION HEADERS
   ========================================================== */

.qc-category-heading {
  max-width: 900px;
  margin-bottom: 42px;
}

.qc-category-heading h2 {
  margin-bottom: 22px;
}

.qc-category-heading > p:last-child {
  max-width: 800px;
}


/* ==========================================================
   8. TOPIC GRID
   ========================================================== */

.qc-topic-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.qc-topic-card {
  position: relative;
  min-height: 240px;
  padding: 30px;
  overflow: hidden;
  border: 1px solid var(--qc-border);
  border-radius: var(--qc-radius-md);
  background: var(--qc-white);
  box-shadow: var(--qc-shadow-sm);
  transition:
    transform 180ms ease,
    border-color 180ms ease,
    box-shadow 180ms ease;
}

.qc-topic-card::before {
  display: block;
  width: 38px;
  height: 4px;
  margin-bottom: 27px;
  border-radius: 999px;
  background: var(--qc-orange);
  content: "";
}

.qc-topic-card::after {
  position: absolute;
  right: -24px;
  bottom: -24px;
  width: 88px;
  height: 88px;
  border-radius: 50%;
  background: var(--qc-orange-soft);
  content: "";
  opacity: 0;
  transform: scale(0.7);
  transition:
    opacity 180ms ease,
    transform 180ms ease;
}

.qc-topic-card:hover {
  z-index: 2;
  border-color: rgba(244, 81, 30, 0.35);
  box-shadow: var(--qc-shadow-md);
  transform: translateY(-5px);
}

.qc-topic-card:hover::after {
  opacity: 1;
  transform: scale(1);
}

.qc-topic-card h3,
.qc-topic-card p {
  position: relative;
  z-index: 1;
}

.qc-topic-card p {
  margin-bottom: 0;
  color: var(--qc-muted);
  font-size: 16px;
  line-height: 1.65;
}


/* ==========================================================
   9. START HERE / FEATURED QUESTIONS
   ========================================================== */

.qc-start-here {
  margin-top: 4px !important;
  padding:
    70px
    clamp(22px, 5vw, 58px) !important;
  border-bottom: 0 !important;
  border-radius: var(--qc-radius-lg);
  background:
    linear-gradient(
      180deg,
      #f8f9fb,
      #f4f5f7
    );
}

.qc-featured-questions {
  overflow: hidden;
  border: 1px solid var(--qc-border);
  border-radius: var(--qc-radius-md);
  background: var(--qc-white);
  box-shadow: var(--qc-shadow-sm);
}

.qc-question-link {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr) 30px;
  gap: 18px;
  align-items: center;
  min-height: 82px;
  padding: 22px 26px;
  border-bottom: 1px solid var(--qc-border);
  color: var(--qc-navy);
  font-size: 18px;
  font-weight: 750;
  line-height: 1.4;
  text-decoration: none;
  transition:
    color 160ms ease,
    background-color 160ms ease;
}

.qc-question-link:last-child {
  border-bottom: 0;
}

.qc-question-link:hover {
  color: var(--qc-orange-dark);
  background: var(--qc-orange-soft);
}

.qc-question-number {
  color: var(--qc-light-text);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.1em;
}

.qc-question-arrow {
  color: var(--qc-orange);
  font-size: 24px;
  line-height: 1;
  transition: transform 160ms ease;
}

.qc-question-link:hover .qc-question-arrow {
  transform: translateX(5px);
}


/* ==========================================================
   10. TWO-COLUMN METHOD SECTION
   ========================================================== */

.qc-category-method {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: clamp(40px, 7vw, 84px);
  align-items: start;
}

.qc-category-method h2 {
  max-width: 440px;
  margin-bottom: 0;
  font-size: clamp(36px, 4.5vw, 52px);
}

.qc-category-method > div:last-child {
  padding-top: 2px;
}

.qc-category-method > div:last-child p {
  max-width: 700px;
}


/* ==========================================================
   11. AUDIENCE
   ========================================================== */

.qc-category-audience {
  padding-top: 68px !important;
  padding-bottom: 68px !important;
}

.qc-audience-list {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  max-width: 900px;
}

.qc-audience-list span {
  display: inline-flex;
  min-height: 42px;
  padding: 9px 17px;
  align-items: center;
  border: 1px solid var(--qc-border);
  border-radius: 999px;
  color: var(--qc-navy);
  background: var(--qc-white);
  box-shadow: 0 1px 3px rgba(23, 32, 51, 0.03);
  font-size: 15px;
  font-weight: 750;
  line-height: 1.25;
}


/* ==========================================================
   12. CONTINUE EXPLORING CTA
   ========================================================== */

.qc-category-bridge {
  overflow: hidden;
  padding:
    clamp(52px, 7vw, 76px)
    clamp(24px, 7vw, 72px) !important;
  border: 0 !important;
  border-radius: var(--qc-radius-lg);
  background:
    radial-gradient(
      circle at 95% 20%,
      rgba(244, 81, 30, 0.12),
      transparent 32%
    ),
    var(--qc-surface-warm);
}

.qc-category-bridge h2 {
  max-width: 800px;
}

.qc-category-bridge > p:not(.qc-category-eyebrow) {
  max-width: 720px;
}

.qc-category-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.qc-primary-button,
.qc-secondary-button {
  display: inline-flex;
  min-height: 52px;
  padding: 13px 22px;
  align-items: center;
  justify-content: center;
  border-radius: var(--qc-radius-sm);
  font-size: 15px;
  font-weight: 800;
  line-height: 1.25;
  text-align: center;
  text-decoration: none !important;
  transition:
    transform 160ms ease,
    box-shadow 160ms ease,
    background-color 160ms ease,
    border-color 160ms ease,
    color 160ms ease;
}

.qc-primary-button {
  border: 1px solid var(--qc-orange);
  color: var(--qc-white) !important;
  background: var(--qc-orange);
  box-shadow:
    0 8px 18px rgba(244, 81, 30, 0.18);
}

.qc-primary-button:hover {
  border-color: var(--qc-orange-dark);
  color: var(--qc-white) !important;
  background: var(--qc-orange-dark);
  box-shadow:
    0 12px 24px rgba(244, 81, 30, 0.23);
  transform: translateY(-2px);
}

.qc-secondary-button {
  border: 1px solid var(--qc-navy);
  color: var(--qc-navy) !important;
  background: transparent;
}

.qc-secondary-button:hover {
  color: var(--qc-white) !important;
  background: var(--qc-navy);
  box-shadow: var(--qc-shadow-md);
  transform: translateY(-2px);
}


/* ==========================================================
   13. FAQ
   ========================================================== */

.qc-category-faq {
  padding-bottom: 34px !important;
}

.qc-category-faq details {
  padding: 23px 0;
  border-bottom: 1px solid var(--qc-border);
}

.qc-category-faq details:first-of-type {
  border-top: 1px solid var(--qc-border);
}

.qc-category-faq summary {
  position: relative;
  padding-right: 48px;
  color: var(--qc-navy);
  font-size: 19px;
  font-weight: 800;
  line-height: 1.4;
  cursor: pointer;
  list-style: none;
}

.qc-category-faq summary::-webkit-details-marker {
  display: none;
}

.qc-category-faq summary::after {
  position: absolute;
  top: 50%;
  right: 7px;
  width: 30px;
  height: 30px;
  border: 1px solid var(--qc-border);
  border-radius: 50%;
  color: var(--qc-orange);
  background: var(--qc-white);
  font-size: 22px;
  font-weight: 500;
  line-height: 27px;
  text-align: center;
  content: "+";
  transform: translateY(-50%);
  transition:
    color 160ms ease,
    background-color 160ms ease,
    border-color 160ms ease;
}

.qc-category-faq details[open] summary::after {
  border-color: var(--qc-orange);
  color: var(--qc-white);
  background: var(--qc-orange);
  content: "−";
}

.qc-category-faq details p {
  max-width: 800px;
  margin: 18px 0 0;
  padding-right: 54px;
  color: var(--qc-muted);
  font-size: 17px;
  line-height: 1.7;
}


/* ==========================================================
   14. KEYBOARD ACCESSIBILITY
   ========================================================== */

.qc-category-hub a:focus-visible,
.qc-category-hub summary:focus-visible {
  outline: 3px solid rgba(244, 81, 30, 0.35);
  outline-offset: 4px;
}

.qc-category-hub summary:focus-visible {
  border-radius: 5px;
}


/* ==========================================================
   15. OPTIONAL CATEGORY-SPECIFIC ACCENTS
   Keep these subtle so every page still feels connected.
   ========================================================== */

.qc-category-business .qc-category-principle {
  background:
    radial-gradient(
      circle at 100% 0%,
      rgba(244, 81, 30, 0.2),
      transparent 34%
    ),
    linear-gradient(
      145deg,
      #172033,
      #243149
    );
}

.qc-category-communication .qc-category-principle {
  background:
    radial-gradient(
      circle at 100% 0%,
      rgba(244, 81, 30, 0.18),
      transparent 34%
    ),
    linear-gradient(
      145deg,
      #18262d,
      #263d46
    );
}

.qc-category-leadership .qc-category-principle {
  background:
    radial-gradient(
      circle at 100% 0%,
      rgba(244, 81, 30, 0.2),
      transparent 34%
    ),
    linear-gradient(
      145deg,
      #1c2233,
      #343b51
    );
}

.qc-category-personal .qc-category-principle {
  background:
    radial-gradient(
      circle at 100% 0%,
      rgba(244, 81, 30, 0.17),
      transparent 34%
    ),
    linear-gradient(
      145deg,
      #20312b,
      #354b42
    );
}

.qc-category-philosophy .qc-category-principle {
  background:
    radial-gradient(
      circle at 100% 0%,
      rgba(244, 81, 30, 0.18),
      transparent 34%
    ),
    linear-gradient(
      145deg,
      #28243a,
      #413a58
    );
}

.qc-category-technology .qc-category-principle {
  background:
    radial-gradient(
      circle at 100% 0%,
      rgba(244, 81, 30, 0.2),
      transparent 34%
    ),
    linear-gradient(
      145deg,
      #172338,
      #203b56
    );
}


/* ==========================================================
   16. LARGE TABLET
   ========================================================== */

@media (max-width: 980px) {

  .qc-category-hub {
    padding-right: 22px;
    padding-left: 22px;
  }

  .qc-topic-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .qc-category-method {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .qc-category-method h2 {
    max-width: 680px;
    margin-bottom: 10px;
  }

}


/* ==========================================================
   17. TABLET
   ========================================================== */

@media (max-width: 760px) {

  .qc-category-hub {
    margin-bottom: 52px;
    font-size: 17px;
  }

  .qc-category-hub section {
    padding-top: 58px;
    padding-bottom: 58px;
  }

  .qc-category-intro {
    padding-top: 16px !important;
  }

  .qc-category-intro h2 {
    font-size: clamp(38px, 10vw, 56px);
  }

  .qc-category-principle,
  .qc-category-bridge,
  .qc-start-here {
    border-radius: 20px;
  }

  .qc-category-heading {
    margin-bottom: 32px;
  }

  .qc-question-link {
    grid-template-columns: 38px minmax(0, 1fr) 24px;
    gap: 12px;
    min-height: 76px;
    padding: 19px 18px;
    font-size: 17px;
  }

  .qc-category-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .qc-primary-button,
  .qc-secondary-button {
    width: 100%;
  }

}


/* ==========================================================
   18. MOBILE
   ========================================================== */

@media (max-width: 560px) {

  .qc-category-hub {
    padding-right: 16px;
    padding-left: 16px;
  }

  .qc-category-hub section {
    padding-top: 48px;
    padding-bottom: 48px;
  }

  .qc-category-hub h2 {
    font-size: clamp(31px, 9vw, 42px);
  }

  .qc-category-intro h2 {
    font-size: clamp(36px, 11vw, 48px);
  }

  .qc-category-lead {
    font-size: 21px;
    line-height: 1.45;
  }

  .qc-category-intro > p:not(.qc-category-eyebrow):not(.qc-category-lead) {
    font-size: 17px;
  }

  .qc-category-principle {
    padding: 44px 24px !important;
  }

  .qc-category-principle h2 {
    font-size: 32px;
  }

  .qc-topic-grid {
    grid-template-columns: 1fr;
    gap: 15px;
  }

  .qc-topic-card {
    min-height: 0;
    padding: 25px;
  }

  .qc-start-here {
    padding:
      48px
      16px !important;
  }

  .qc-question-link {
    grid-template-columns: 28px minmax(0, 1fr) 20px;
    gap: 9px;
    padding: 18px 13px;
    font-size: 15px;
  }

  .qc-question-number {
    font-size: 10px;
  }

  .qc-question-arrow {
    font-size: 20px;
  }

  .qc-category-method {
    gap: 14px;
  }

  .qc-category-method h2 {
    font-size: 35px;
  }

  .qc-audience-list {
    gap: 9px;
  }

  .qc-audience-list span {
    min-height: 38px;
    padding: 8px 13px;
    font-size: 13px;
  }

  .qc-category-bridge {
    padding: 46px 22px !important;
  }

  .qc-category-faq summary {
    padding-right: 42px;
    font-size: 17px;
  }

  .qc-category-faq details p {
    padding-right: 0;
    font-size: 16px;
  }

}


/* ==========================================================
   19. REDUCED MOTION
   ========================================================== */

@media (prefers-reduced-motion: reduce) {

  .qc-category-hub *,
  .qc-category-hub *::before,
  .qc-category-hub *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }

}


/* ==========================================================
   20. PRINT
   ========================================================== */

@media print {

  .qc-category-hub {
    max-width: none;
    color: #000000;
    font-size: 12pt;
  }

  .qc-category-hub section {
    padding: 28px 0;
    break-inside: avoid;
  }

  .qc-category-principle,
  .qc-category-bridge,
  .qc-start-here {
    border: 1px solid #cccccc !important;
    color: #000000;
    background: #ffffff !important;
    box-shadow: none;
  }

  .qc-category-principle h2,
  .qc-category-principle p {
    color: #000000 !important;
  }

  .qc-topic-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .qc-topic-card {
    box-shadow: none;
  }

  .qc-category-actions {
    display: none;
  }

}
/* ==========================================================
   QUESTIONCLASS CATEGORY HUB — MASTER DESIGN SYSTEM
   Replaces all previous category-hub CSS
   ========================================================== */


/* ==========================================================
   1. BREAK THE CATEGORY HUB OUT OF APOSTROPHE 2'S COLUMN
   ========================================================== */

/*
 * Apostrophe 2 constrains the archive description and some of
 * its parent containers. Widen only containers that contain
 * the QuestionClass category hub.
 */

body.category .site-main:has(.qc-category-hub),
body.category .content-area:has(.qc-category-hub),
body.category .archive-header:has(.qc-category-hub),
body.category .page-header:has(.qc-category-hub),
body.category .taxonomy-description:has(.qc-category-hub),
body.category .archive-description:has(.qc-category-hub),
body.category .category-description:has(.qc-category-hub) {
  display: block !important;
  float: none !important;

  width: 100% !important;
  max-width: none !important;
  min-width: 0 !important;

  margin-right: 0 !important;
  margin-left: 0 !important;
  padding-right: 0 !important;
  padding-left: 0 !important;

  clear: both !important;
}

body.category .qc-category-hub {
  display: block !important;
  float: none !important;

  width: 100% !important;
  max-width: none !important;
  min-width: 0 !important;

  margin: 0 !important;
  padding: 0 !important;
}

body.category .qc-category-hub,
body.category .qc-category-hub *,
body.category .qc-category-hub *::before,
body.category .qc-category-hub *::after {
  box-sizing: border-box;
}

/* ==========================================================
   2. DESIGN TOKENS
   ========================================================== */

body.category .qc-category-hub {
  --qc-navy: #10213f;
  --qc-blue: #17245f;
  --qc-blue-light: #243784;
  --qc-orange: #f4511e;
  --qc-orange-dark: #d94212;

  --qc-text: #344054;
  --qc-muted: #667085;

  --qc-white: #ffffff;
  --qc-surface: #f8fafc;
  --qc-surface-blue: #f5f7fb;
  --qc-surface-orange: #fff5ef;

  --qc-border: #e4e7ec;
  --qc-border-dark: #d0d5dd;

  --qc-shadow:
    0 6px 18px rgba(16, 33, 63, 0.06);

  --qc-shadow-hover:
    0 16px 34px rgba(16, 33, 63, 0.12);

  --qc-content-width: 1120px;
  --qc-radius: 14px;

  position: relative;

  width: 100%;
  max-width: none;
  margin: 0;
  padding: 0;

  color: var(--qc-text);
  background: var(--qc-white);

  font-size: 18px;
  line-height: 1.7;
}


/* ==========================================================
   3. SHARED SECTION LAYOUT
   ========================================================== */

body.category .qc-category-hub > section {
  width: 100%;
  max-width: none;
  margin: 0;
  padding:
    72px
    max(24px, calc((100% - var(--qc-content-width)) / 2));
}


/* ==========================================================
   4. SHARED TYPOGRAPHY
   ========================================================== */

body.category .qc-category-hub h2,
body.category .qc-category-hub h3,
body.category .qc-category-hub p {
  margin-top: 0;
}

body.category .qc-category-hub h2 {
  max-width: 850px;
  margin-bottom: 22px;

  color: var(--qc-navy);

  font-size: clamp(34px, 4.5vw, 54px);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.035em;
}

body.category .qc-category-hub h3 {
  margin-bottom: 12px;

  color: var(--qc-navy);

  font-size: 22px;
  font-weight: 800;
  line-height: 1.25;
}

body.category .qc-category-hub p {
  max-width: 780px;
  margin-bottom: 20px;

  color: var(--qc-muted);

  font-size: 18px;
  line-height: 1.7;
}

body.category .qc-category-hub p:last-child {
  margin-bottom: 0;
}

body.category .qc-category-hub .qc-category-eyebrow {
  margin-bottom: 13px;

  color: var(--qc-orange);

  font-size: 12px;
  font-weight: 800;
  line-height: 1.3;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

body.category .qc-category-hub .qc-category-heading {
  max-width: 900px;
  margin-bottom: 38px;
}


/* ==========================================================
   5. INTRODUCTION — DARK
   ========================================================== */

body.category .qc-category-hub > .qc-category-intro {
  padding-top: 54px;
  padding-bottom: 52px;

  color: var(--qc-white);

  background:
    radial-gradient(
      circle at 86% 38%,
      rgba(244, 81, 30, 0.14),
      transparent 23%
    ),
    linear-gradient(
      135deg,
      var(--qc-blue) 0%,
      var(--qc-blue-light) 100%
    );
}

body.category .qc-category-intro h2 {
  max-width: 820px;

  color: var(--qc-white);

  font-size: clamp(38px, 5vw, 60px);
}

body.category .qc-category-intro .qc-category-lead {
  max-width: 780px;

  color: var(--qc-white);

  font-size: clamp(21px, 2.6vw, 28px);
  font-weight: 500;
  line-height: 1.45;
}

body.category .qc-category-intro p:not(.qc-category-eyebrow):not(.qc-category-lead) {
  max-width: 720px;
  color: rgba(255, 255, 255, 0.84);
}


/* ==========================================================
   6. PRINCIPLE — DARK
   ========================================================== */

body.category .qc-category-hub > .qc-category-principle {
  padding-top: 36px;
  padding-bottom: 68px;

  color: var(--qc-white);

  background:
    linear-gradient(
      135deg,
      var(--qc-blue) 0%,
      var(--qc-blue-light) 100%
    );
}

body.category .qc-category-principle::before {
  display: block;

  width: 100%;
  max-width: var(--qc-content-width);
  height: 1px;
  margin: 0 0 38px;

  background: rgba(255, 255, 255, 0.16);

  content: "";
}

body.category .qc-category-principle p {
  color: #ffb39a;
}

body.category .qc-category-principle h2 {
  max-width: 850px;
  margin-bottom: 0;

  color: var(--qc-white);

  font-size: clamp(34px, 4.5vw, 52px);
}


/* ==========================================================
   7. COLLECTION — LIGHT
   ========================================================== */

body.category .qc-category-hub > .qc-category-section {
  color: var(--qc-text);
  background: var(--qc-white);
}

body.category .qc-category-section h2,
body.category .qc-category-section h3 {
  color: var(--qc-navy);
}

body.category .qc-category-section p {
  color: var(--qc-muted);
}


/* ==========================================================
   8. TOPIC CARDS
   ========================================================== */

body.category .qc-topic-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;

  width: 100%;
  max-width: var(--qc-content-width);
}

body.category .qc-topic-card {
  position: relative;

  min-width: 0;
  min-height: 225px;
  padding: 28px;

  overflow: hidden;

  border: 1px solid var(--qc-border);
  border-radius: var(--qc-radius);

  color: var(--qc-text);
  background: var(--qc-white);

  box-shadow: var(--qc-shadow);

  transition:
    transform 180ms ease,
    border-color 180ms ease,
    box-shadow 180ms ease;
}

body.category .qc-topic-card::before {
  display: block;

  width: 36px;
  height: 4px;
  margin-bottom: 25px;

  border-radius: 999px;
  background: var(--qc-orange);

  content: "";
}

body.category .qc-topic-card:hover {
  border-color: rgba(244, 81, 30, 0.35);

  box-shadow: var(--qc-shadow-hover);

  transform: translateY(-4px);
}

body.category .qc-topic-card h3 {
  color: var(--qc-navy);
}

body.category .qc-topic-card p {
  margin-bottom: 0;

  color: var(--qc-muted);

  font-size: 16px;
  line-height: 1.6;
}


/* ==========================================================
   9. START HERE — FIVE QUESTIONS ACROSS
   ========================================================== */

body.category .qc-category-hub > .qc-start-here {
  color: var(--qc-text);
  background: var(--qc-surface-blue);
}

body.category .qc-start-here h2,
body.category .qc-start-here h3 {
  color: var(--qc-navy);
}

body.category .qc-start-here p {
  color: var(--qc-muted);
}

body.category .qc-featured-questions {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 16px;

  width: 100%;
  max-width: var(--qc-content-width);
  margin: 0;
}

body.category .qc-question-link {
  display: grid;
  grid-template-columns: 1fr auto;
  grid-template-rows: auto 1fr;
  align-content: start;
  gap: 14px 8px;

  min-width: 0;
  min-height: 210px;
  margin: 0;
  padding: 22px;

  border: 1px solid var(--qc-border);
  border-radius: var(--qc-radius);

  color: var(--qc-navy);
  background: var(--qc-white);

  box-shadow: var(--qc-shadow);

  font-size: 16px;
  font-weight: 750;
  line-height: 1.45;
  text-align: left;
  text-decoration: none;
  white-space: normal;

  transition:
    transform 180ms ease,
    border-color 180ms ease,
    box-shadow 180ms ease;
}

body.category .qc-question-link:hover {
  border-color: rgba(244, 81, 30, 0.4);

  color: var(--qc-orange-dark);
  box-shadow: var(--qc-shadow-hover);

  transform: translateY(-4px);
}

body.category .qc-question-link > span {
  position: static;

  display: block;

  width: auto;
  min-width: 0;
  height: auto;
  margin: 0;
  padding: 0;

  overflow: visible;
  clip: auto;

  opacity: 1;
  visibility: visible;
  transform: none;
  white-space: normal;
}

body.category .qc-question-number {
  grid-column: 1;
  grid-row: 1;

  color: var(--qc-orange);

  font-size: 12px;
  font-weight: 800;
}

body.category .qc-question-link > span:nth-child(2) {
  grid-column: 1 / -1;
  grid-row: 2;

  color: var(--qc-navy);

  overflow-wrap: break-word;
  word-break: normal;
}

body.category .qc-question-arrow {
  grid-column: 2;
  grid-row: 1;
  justify-self: end;

  color: var(--qc-orange);

  font-size: 22px;
}


/* ==========================================================
   10. INQUIRY BEFORE ADVICE — LIGHT
   ========================================================== */

body.category .qc-category-hub > .qc-category-method {
  display: grid;
  grid-template-columns:
    minmax(280px, 0.8fr)
    minmax(420px, 1.2fr);
  gap: 72px;

  color: var(--qc-text);
  background: var(--qc-white);
}

body.category .qc-category-method h2,
body.category .qc-category-method h3 {
  color: var(--qc-navy);
}

body.category .qc-category-method p {
  color: var(--qc-muted);
}

body.category .qc-category-method h2 {
  font-size: clamp(34px, 4vw, 49px);
}


/* ==========================================================
   11. AUDIENCE — LIGHT
   ========================================================== */

body.category .qc-category-hub > .qc-category-audience {
  padding-top: 58px;
  padding-bottom: 58px;

  color: var(--qc-text);
  background: var(--qc-surface);
}

body.category .qc-category-audience h2,
body.category .qc-category-audience h3 {
  color: var(--qc-navy);
}

body.category .qc-category-audience p {
  color: var(--qc-muted);
}

body.category .qc-audience-list {
  display: flex;
  flex-wrap: wrap;
  gap: 11px;

  max-width: 900px;
}

body.category .qc-audience-list span {
  display: inline-flex;
  align-items: center;

  min-height: 40px;
  padding: 8px 16px;

  border: 1px solid var(--qc-border-dark);
  border-radius: 8px;

  color: var(--qc-navy);
  background: var(--qc-white);

  font-size: 14px;
  font-weight: 700;
}


/* ==========================================================
   12. CONTINUE EXPLORING — TINTED
   ========================================================== */

body.category .qc-category-hub > .qc-category-bridge {
  color: var(--qc-text);
  background: var(--qc-surface-orange);
}

body.category .qc-category-bridge h2,
body.category .qc-category-bridge h3 {
  color: var(--qc-navy);
}

body.category .qc-category-bridge p {
  color: var(--qc-muted);
}

body.category .qc-category-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;

  margin-top: 30px;
}

body.category .qc-primary-button,
body.category .qc-secondary-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  min-height: 50px;
  padding: 12px 21px;

  border-radius: 8px;

  font-size: 15px;
  font-weight: 800;
  line-height: 1.3;
  text-decoration: none;

  transition:
    color 180ms ease,
    border-color 180ms ease,
    background 180ms ease;
}

body.category .qc-primary-button {
  border: 1px solid var(--qc-orange);

  color: var(--qc-white);
  background: var(--qc-orange);
}

body.category .qc-primary-button:hover {
  border-color: var(--qc-orange-dark);

  color: var(--qc-white);
  background: var(--qc-orange-dark);
}

body.category .qc-secondary-button {
  border: 1px solid var(--qc-orange);

  color: var(--qc-orange-dark);
  background: transparent;
}

body.category .qc-secondary-button:hover {
  color: var(--qc-white);
  background: var(--qc-orange);
}


/* ==========================================================
   13. FAQ — LIGHT
   ========================================================== */

body.category .qc-category-hub > .qc-category-faq {
  color: var(--qc-text);
  background: var(--qc-white);
}

body.category .qc-category-faq h2,
body.category .qc-category-faq h3,
body.category .qc-category-faq summary {
  color: var(--qc-navy);
}

body.category .qc-category-faq p {
  color: var(--qc-muted);
}

body.category .qc-category-faq details {
  max-width: 900px;
  padding: 20px 0;

  border: 0;
  border-bottom: 1px solid var(--qc-border);

  color: var(--qc-text);
  background: transparent;
}

body.category .qc-category-faq details:first-of-type {
  border-top: 1px solid var(--qc-border);
}

body.category .qc-category-faq summary {
  position: relative;

  padding-right: 44px;

  font-size: 18px;
  font-weight: 800;
  line-height: 1.4;

  cursor: pointer;
  list-style: none;
}

body.category .qc-category-faq summary::-webkit-details-marker {
  display: none;
}

body.category .qc-category-faq summary::after {
  position: absolute;
  top: 50%;
  right: 5px;

  color: var(--qc-orange);

  font-size: 22px;

  content: "+";
  transform: translateY(-50%);
}

body.category .qc-category-faq details[open] summary::after {
  content: "−";
}

body.category .qc-category-faq details p {
  margin-top: 16px;

  font-size: 16px;
}


/* ==========================================================
   14. TABLET
   ========================================================== */

@media (max-width: 1000px) {

  body.category .qc-featured-questions {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  body.category .qc-topic-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  body.category .qc-category-hub > .qc-category-method {
    grid-template-columns: 1fr;
    gap: 24px;
  }

}


/* ==========================================================
   15. MOBILE
   ========================================================== */

@media (max-width: 620px) {

  body.category .qc-category-hub {
    font-size: 17px;
  }

  body.category .qc-category-hub > section {
    padding: 50px 18px;
  }

  body.category .qc-category-intro h2 {
    font-size: 38px;
  }

  body.category .qc-category-principle h2 {
    font-size: 32px;
  }

  body.category .qc-topic-grid,
  body.category .qc-featured-questions {
    grid-template-columns: 1fr;
  }

  body.category .qc-topic-card,
  body.category .qc-question-link {
    min-height: 0;
  }

  body.category .qc-category-actions {
    flex-direction: column;
  }

  body.category .qc-primary-button,
  body.category .qc-secondary-button {
    width: 100%;
  }

}


/* ==========================================================
   16. REDUCED MOTION
   ========================================================== */

@media (prefers-reduced-motion: reduce) {

  body.category .qc-topic-card,
  body.category .qc-question-link,
  body.category .qc-primary-button,
  body.category .qc-secondary-button {
    transition: none;
  }

}