/* ==========================================================================
   CVPro Theme - Main Stylesheet
   Version: 1.1.0
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Design Tokens / CSS Variables
   -------------------------------------------------------------------------- */

:root {
  /* Colors */
  --cvpro-primary: #1A56DB;
  --cvpro-primary-dark: #1E429F;
  --cvpro-secondary: #0E9F6E;
  --cvpro-accent: #FF5A1F;
  --cvpro-text-primary: #111928;
  --cvpro-text-secondary: #6B7280;
  --cvpro-bg-primary: #FFFFFF;
  --cvpro-bg-secondary: #FAFBFC;
  --cvpro-bg-dark: #111928;
  --cvpro-border: #E5E7EB;
  --cvpro-success: #0E9F6E;
  --cvpro-error: #E02424;

  /* Typography */
  --cvpro-font-heading: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --cvpro-font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --cvpro-font-size-base: 16px;
  --cvpro-line-height: 1.6;

  /* Spacing Scale */
  --cvpro-space-xs: 0.25rem;
  --cvpro-space-sm: 0.5rem;
  --cvpro-space-md: 1rem;
  --cvpro-space-lg: 1.5rem;
  --cvpro-space-xl: 2rem;
  --cvpro-space-2xl: 3rem;
  --cvpro-space-3xl: 4rem;
  --cvpro-space-4xl: 6rem;
  --cvpro-space-5xl: 8rem;

  /* Layout */
  --cvpro-container-max: 1320px;
  --cvpro-container-wide: 1400px;
  --cvpro-section-py: 4rem;

  /* Border Radius */
  --cvpro-radius-sm: 4px;
  --cvpro-radius-md: 8px;
  --cvpro-radius-lg: 12px;
  --cvpro-radius-xl: 16px;
  --cvpro-radius-2xl: 24px;
  --cvpro-radius-full: 9999px;

  /* Shadows */
  --cvpro-shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --cvpro-shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.1);
  --cvpro-shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.1);
  --cvpro-shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1);

  /* Transitions */
  --cvpro-transition-fast: 150ms ease;
  --cvpro-transition-normal: 250ms ease;
  --cvpro-transition-slow: 400ms ease;

  /* Z-index Scale */
  --cvpro-z-base: 1;
  --cvpro-z-dropdown: 100;
  --cvpro-z-sticky: 200;
  --cvpro-z-overlay: 300;
  --cvpro-z-modal: 400;
  --cvpro-z-toast: 500;
}

/* --------------------------------------------------------------------------
   2. Base Styles / Reset
   -------------------------------------------------------------------------- */

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html, body {
  max-width: 100%;
}

/* IMPORTANT: do NOT set overflow on <html>. overflow-x:hidden on <html>
   silently breaks `position: sticky` for every descendant. We use clip
   on the <body> only — that prevents horizontal scroll without
   creating a new scrolling ancestor for sticky elements. */
body {
  overflow-x: clip;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  -moz-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  font-family: var(--cvpro-font-body);
  font-size: var(--cvpro-font-size-base);
  line-height: var(--cvpro-line-height);
  color: var(--cvpro-text-primary);
  background-color: var(--cvpro-bg-primary);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body.menu-open {
  overflow: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--cvpro-font-heading);
  font-weight: 700;
  line-height: 1.2;
  color: var(--cvpro-text-primary);
}

a {
  color: var(--cvpro-primary);
  text-decoration: none;
  transition: color var(--cvpro-transition-fast);
}

a:hover {
  color: var(--cvpro-primary-dark);
}

a:focus-visible {
  outline: 2px solid var(--cvpro-primary);
  outline-offset: 2px;
  border-radius: var(--cvpro-radius-sm);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

ul, ol {
  list-style: none;
}

button {
  cursor: pointer;
  font-family: inherit;
  font-size: inherit;
  border: none;
  background: none;
}

input, textarea, select {
  font-family: inherit;
  font-size: inherit;
}

/* --------------------------------------------------------------------------
   3. Layout
   -------------------------------------------------------------------------- */

.cvpro-container {
  width: 100%;
  max-width: var(--cvpro-container-max);
  margin-left: auto;
  margin-right: auto;
  padding-left: var(--cvpro-space-lg);
  padding-right: var(--cvpro-space-lg);
}

.cvpro-container--wide {
  max-width: var(--cvpro-container-wide);
}

.cvpro-section {
  padding-top: var(--cvpro-section-py);
  padding-bottom: var(--cvpro-section-py);
}

.cvpro-section + .cvpro-section {
  margin-top: 0;
}

/* --------------------------------------------------------------------------
   4. Buttons
   -------------------------------------------------------------------------- */

.cvpro-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--cvpro-space-sm);
  padding: 0.75rem 1.5rem;
  font-weight: 600;
  font-size: 0.9375rem;
  line-height: 1;
  border-radius: var(--cvpro-radius-md);
  border: 2px solid transparent;
  transition: all var(--cvpro-transition-fast);
  white-space: nowrap;
  text-decoration: none;
  cursor: pointer;
}

.cvpro-btn:focus-visible {
  outline: 2px solid var(--cvpro-primary);
  outline-offset: 2px;
}


























.cvpro-btn-full {
  width: 100%;
}

.cvpro-btn-lg {
  padding: 1rem 2rem;
  font-size: 1.0625rem;
}

.cvpro-btn-google {
  background-color: #FFFFFF;
  color: var(--cvpro-text-primary);
  border: 1px solid var(--cvpro-border);
  border-radius: var(--cvpro-radius-md);
  font-weight: 500;
}

.cvpro-btn-google:hover {
  background-color: var(--cvpro-bg-secondary);
  box-shadow: var(--cvpro-shadow-sm);
  color: var(--cvpro-text-primary);
}

.cvpro-btn-google svg,
.cvpro-btn-google img {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

/* --------------------------------------------------------------------------
   5. Section Titles
   -------------------------------------------------------------------------- */

.cvpro-section-header {
  text-align: center;
  margin-bottom: var(--cvpro-space-3xl);
  max-width: 680px;
  margin-left: auto;
  margin-right: auto;
}

.cvpro-section-title {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 800;
  margin-bottom: var(--cvpro-space-md);
  color: var(--cvpro-text-primary);
}

.cvpro-section-subtitle {
  font-size: 1.125rem;
  color: var(--cvpro-text-secondary);
  line-height: 1.7;
}

/* --------------------------------------------------------------------------
   6. Scroll Animations
   -------------------------------------------------------------------------- */

[data-animate] {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

[data-animate].is-visible {
  opacity: 1;
  transform: translateY(0);
}

[data-animate-delay="100"] { transition-delay: 100ms; }
[data-animate-delay="200"] { transition-delay: 200ms; }
[data-animate-delay="300"] { transition-delay: 300ms; }
[data-animate-delay="400"] { transition-delay: 400ms; }
[data-animate-delay="500"] { transition-delay: 500ms; }
[data-animate-delay="600"] { transition-delay: 600ms; }
[data-animate-delay="700"] { transition-delay: 700ms; }
[data-animate-delay="800"] { transition-delay: 800ms; }

/* --------------------------------------------------------------------------
   7. Header / Navigation
   -------------------------------------------------------------------------- */

/* Old #cvpro-header overridden by .cvpro-header below */

.cvpro-nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--cvpro-space-md) 0;
  min-height: 72px;
}

.cvpro-logo {
  display: flex;
  align-items: center;
  gap: var(--cvpro-space-sm);
  font-size: 1.375rem;
  font-weight: 800;
  color: var(--cvpro-text-primary);
  text-decoration: none;
  z-index: 2;
}

.cvpro-logo:hover {
  color: var(--cvpro-primary);
}

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

/* Legacy .cvpro-nav-links removed — see .cvpro-nav__list (BEM) */








.cvpro-mobile-menu-btn {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  padding: 8px;
  background: none;
  border: none;
  cursor: pointer;
  z-index: 2;
}

.cvpro-mobile-menu-btn span {
  display: block;
  height: 2px;
  background: var(--cvpro-text-primary);
  border-radius: 2px;
  transition: all var(--cvpro-transition-fast);
}

.cvpro-mobile-menu-btn[aria-expanded="true"] span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.cvpro-mobile-menu-btn[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.cvpro-mobile-menu-btn[aria-expanded="true"] span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* --------------------------------------------------------------------------
   8. Hero Section
   The base layout rule (.cvpro-hero) lives in section "HOMEPAGE LAYOUT
   OVERRIDES" further down so it can take cascade priority. The gradient
   background is then layered on top in section "V4. Enhanced hero".
   -------------------------------------------------------------------------- */

.cvpro-hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--cvpro-space-3xl);
  align-items: center;
}

.cvpro-hero-content {
  max-width: 560px;
}

.cvpro-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--cvpro-space-md);
  margin-bottom: var(--cvpro-space-2xl);
}

.cvpro-hero-trust {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--cvpro-space-xl);
}

.cvpro-hero-trust-item {
  display: flex;
  align-items: center;
  gap: var(--cvpro-space-sm);
  font-size: 0.875rem;
  color: var(--cvpro-text-secondary);
}

.cvpro-hero-trust-item svg {
  width: 18px;
  height: 18px;
  color: var(--cvpro-success);
  flex-shrink: 0;
}

.cvpro-hero-image {
  position: relative;
}

.cvpro-hero-image img {
  border-radius: var(--cvpro-radius-xl);
  box-shadow: var(--cvpro-shadow-xl);
}

.cvpro-hero-image::before {
  content: '';
  position: absolute;
  inset: -8px;
  border-radius: calc(var(--cvpro-radius-xl) + 8px);
  background: linear-gradient(135deg, rgba(26, 86, 219, 0.15), rgba(14, 159, 110, 0.15));
  z-index: -1;
}

/* Scroll Indicator */
.cvpro-scroll-indicator {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--cvpro-space-sm);
  color: var(--cvpro-text-secondary);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  animation: cvpro-bounce 2s infinite;
}

.cvpro-scroll-indicator svg {
  width: 20px;
  height: 20px;
}

@keyframes cvpro-bounce {
  0%, 20%, 50%, 80%, 100% { transform: translateX(-50%) translateY(0); }
  40% { transform: translateX(-50%) translateY(-8px); }
  60% { transform: translateX(-50%) translateY(-4px); }
}

/* --------------------------------------------------------------------------
   9. Upload Section
   -------------------------------------------------------------------------- */

.cvpro-upload-section {
  background: var(--cvpro-bg-secondary);
}

.cvpro-upload-box {
  max-width: 600px;
  margin: 0 auto;
  padding: var(--cvpro-space-3xl) var(--cvpro-space-xl);
  border: 2px dashed var(--cvpro-border);
  border-radius: var(--cvpro-radius-xl);
  text-align: center;
  background: var(--cvpro-bg-primary);
  transition: border-color var(--cvpro-transition-fast), background var(--cvpro-transition-fast);
  cursor: pointer;
}

.cvpro-upload-box:hover {
  border-color: var(--cvpro-primary);
  background: rgba(26, 86, 219, 0.02);
}

.cvpro-upload-box.is-dragging {
  border-color: var(--cvpro-primary);
  background: rgba(26, 86, 219, 0.05);
  border-style: solid;
}

.cvpro-upload-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto var(--cvpro-space-lg);
  color: var(--cvpro-primary);
}

.cvpro-upload-icon svg {
  width: 100%;
  height: 100%;
}

.cvpro-upload-box h3 {
  font-size: 1.25rem;
  margin-bottom: var(--cvpro-space-sm);
}

.cvpro-upload-box p {
  color: var(--cvpro-text-secondary);
  font-size: 0.9375rem;
  margin-bottom: var(--cvpro-space-lg);
}

.cvpro-upload-formats {
  font-size: 0.8125rem;
  color: var(--cvpro-text-secondary);
  margin-top: var(--cvpro-space-md);
}

.cvpro-upload-progress {
  display: none;
  margin-top: var(--cvpro-space-lg);
}

.cvpro-upload-progress.is-active {
  display: block;
}

.cvpro-progress-bar {
  width: 100%;
  height: 6px;
  background: var(--cvpro-bg-secondary);
  border-radius: var(--cvpro-radius-full);
  overflow: hidden;
}

.cvpro-progress-fill {
  height: 100%;
  width: 0;
  background: var(--cvpro-primary);
  border-radius: var(--cvpro-radius-full);
  transition: width 0.3s ease;
}

.cvpro-upload-status {
  font-size: 0.875rem;
  color: var(--cvpro-text-secondary);
  margin-top: var(--cvpro-space-sm);
}

.cvpro-upload-privacy {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--cvpro-space-xs);
  font-size: 0.8125rem;
  color: var(--cvpro-text-secondary);
  margin-top: var(--cvpro-space-lg);
}

.cvpro-upload-privacy svg {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
}

/* --------------------------------------------------------------------------
   10. Social Proof
   -------------------------------------------------------------------------- */

.cvpro-proof-section {
  background: var(--cvpro-bg-primary);
}

.cvpro-proof-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--cvpro-space-xl);
  text-align: center;
  margin-bottom: var(--cvpro-space-3xl);
}

.cvpro-proof-stat-number {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  color: var(--cvpro-primary);
  line-height: 1;
  margin-bottom: var(--cvpro-space-xs);
}

.cvpro-proof-stat-label {
  font-size: 0.9375rem;
  color: var(--cvpro-text-secondary);
}

.cvpro-proof-logos {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: var(--cvpro-space-2xl);
}

.cvpro-proof-logos img {
  height: 32px;
  width: auto;
  filter: grayscale(100%);
  opacity: 0.5;
  transition: all var(--cvpro-transition-normal);
}

.cvpro-proof-logos img:hover {
  filter: grayscale(0%);
  opacity: 1;
}

/* --------------------------------------------------------------------------
   11. How It Works
   -------------------------------------------------------------------------- */

.cvpro-hiw-section {
  background: var(--cvpro-bg-secondary);
}

.cvpro-hiw-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--cvpro-space-2xl);
  position: relative;
}

.cvpro-hiw-steps::before {
  content: '';
  position: absolute;
  top: 40px;
  left: calc(16.666% + 20px);
  right: calc(16.666% + 20px);
  height: 2px;
  background: var(--cvpro-border);
}

.cvpro-hiw-step {
  text-align: center;
  position: relative;
  padding: var(--cvpro-space-xl);
  background: var(--cvpro-bg-primary);
  border-radius: var(--cvpro-radius-lg);
  box-shadow: var(--cvpro-shadow-sm);
}

.cvpro-hiw-step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  background: var(--cvpro-primary);
  color: #FFFFFF;
  font-size: 1.125rem;
  font-weight: 700;
  border-radius: var(--cvpro-radius-full);
  margin-bottom: var(--cvpro-space-lg);
  position: relative;
  z-index: 1;
}

.cvpro-hiw-step-icon {
  width: 48px;
  height: 48px;
  margin: 0 auto var(--cvpro-space-md);
  color: var(--cvpro-primary);
}

.cvpro-hiw-step-icon svg {
  width: 100%;
  height: 100%;
}

.cvpro-hiw-step h3 {
  font-size: 1.125rem;
  margin-bottom: var(--cvpro-space-sm);
}

.cvpro-hiw-step p {
  color: var(--cvpro-text-secondary);
  font-size: 0.9375rem;
}

/* Horizontal variant */
.cvpro-hiw-steps--horizontal .cvpro-hiw-step {
  display: flex;
  text-align: left;
  gap: var(--cvpro-space-lg);
  align-items: flex-start;
}

/* Vertical variant */
.cvpro-hiw-steps--vertical {
  grid-template-columns: 1fr;
  max-width: 600px;
  margin: 0 auto;
}

.cvpro-hiw-steps--vertical::before {
  top: 0;
  bottom: 0;
  left: 24px;
  right: auto;
  width: 2px;
  height: auto;
}

/* Cards variant */
.cvpro-hiw-steps--cards .cvpro-hiw-step {
  border: 1px solid var(--cvpro-border);
  box-shadow: none;
  transition: box-shadow var(--cvpro-transition-normal), transform var(--cvpro-transition-normal);
}

.cvpro-hiw-steps--cards .cvpro-hiw-step:hover {
  box-shadow: var(--cvpro-shadow-md);
  transform: translateY(-4px);
}

/* --------------------------------------------------------------------------
   12. Features
   -------------------------------------------------------------------------- */

.cvpro-features-grid {
  display: grid;
  grid-template-columns: repeat(var(--features-cols, 3), 1fr);
  gap: var(--cvpro-space-xl);
}

.cvpro-feature-card {
  padding: var(--cvpro-space-xl);
  border-radius: var(--cvpro-radius-lg);
  border: 1px solid var(--cvpro-border);
  background: var(--cvpro-bg-primary);
  transition: transform var(--cvpro-transition-normal), box-shadow var(--cvpro-transition-normal);
}

.cvpro-feature-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--cvpro-shadow-lg);
}

.cvpro-feature-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  background: rgba(26, 86, 219, 0.08);
  color: var(--cvpro-primary);
  border-radius: var(--cvpro-radius-md);
  margin-bottom: var(--cvpro-space-lg);
}

.cvpro-feature-icon svg {
  width: 24px;
  height: 24px;
}

.cvpro-feature-card h3 {
  font-size: 1.125rem;
  margin-bottom: var(--cvpro-space-sm);
}

.cvpro-feature-card p {
  color: var(--cvpro-text-secondary);
  font-size: 0.9375rem;
  line-height: 1.6;
}

.cvpro-feature-link {
  display: inline-flex;
  align-items: center;
  gap: var(--cvpro-space-xs);
  margin-top: var(--cvpro-space-md);
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--cvpro-primary);
}

.cvpro-feature-link::after {
  content: '\2192';
  transition: transform var(--cvpro-transition-fast);
}

.cvpro-feature-link:hover::after {
  transform: translateX(4px);
}

/* Card style variants */
.cvpro-feature-card--bordered {
  border: 1px solid var(--cvpro-border);
  box-shadow: none;
}

.cvpro-feature-card--shadow {
  border: none;
  box-shadow: var(--cvpro-shadow-md);
}

.cvpro-feature-card--flat {
  border: none;
  background: var(--cvpro-bg-secondary);
}

.cvpro-feature-card--gradient {
  border: none;
  background: linear-gradient(135deg, rgba(26, 86, 219, 0.03), rgba(14, 159, 110, 0.03));
}

/* --------------------------------------------------------------------------
   13. Testimonials
   -------------------------------------------------------------------------- */

.cvpro-testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--cvpro-space-xl);
}

.cvpro-testimonial-card {
  padding: var(--cvpro-space-xl);
  border: 1px solid var(--cvpro-border);
  border-radius: var(--cvpro-radius-lg);
  background: var(--cvpro-bg-primary);
  transition: box-shadow var(--cvpro-transition-normal);
}

.cvpro-testimonial-card:hover {
  box-shadow: var(--cvpro-shadow-md);
}

.cvpro-testimonial-stars {
  display: flex;
  gap: 2px;
  margin-bottom: var(--cvpro-space-md);
  color: #F59E0B;
}

.cvpro-testimonial-stars svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

.cvpro-testimonial-text {
  font-size: 1.0625rem;
  font-style: italic;
  line-height: 1.7;
  color: var(--cvpro-text-primary);
  margin-bottom: var(--cvpro-space-lg);
}

.cvpro-testimonial-text::before {
  content: '\201C';
  font-size: 2rem;
  line-height: 0;
  vertical-align: -0.4em;
  color: var(--cvpro-primary);
  margin-right: 2px;
}

.cvpro-testimonial-author {
  display: flex;
  align-items: center;
  gap: var(--cvpro-space-md);
}

.cvpro-testimonial-avatar {
  width: 48px;
  height: 48px;
  border-radius: var(--cvpro-radius-full);
  object-fit: cover;
  flex-shrink: 0;
}

.cvpro-testimonial-author-info h4 {
  font-size: 0.9375rem;
  font-weight: 600;
  margin-bottom: 2px;
}

.cvpro-testimonial-author-info span {
  font-size: 0.8125rem;
  color: var(--cvpro-text-secondary);
}

/* Masonry variant */
.cvpro-testimonials-grid--masonry {
  display: block;
  column-count: 3;
  column-gap: var(--cvpro-space-xl);
}

.cvpro-testimonials-grid--masonry .cvpro-testimonial-card {
  break-inside: avoid;
  margin-bottom: var(--cvpro-space-xl);
}

/* --------------------------------------------------------------------------
   14. Pricing
   -------------------------------------------------------------------------- */

.cvpro-pricing-toggle-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--cvpro-space-md);
  margin-bottom: var(--cvpro-space-3xl);
  font-size: 0.9375rem;
  font-weight: 500;
}

.cvpro-pricing-toggle {
  position: relative;
  display: inline-block;
  width: 52px;
  height: 28px;
}

.cvpro-pricing-toggle input {
  opacity: 0;
  width: 0;
  height: 0;
}

.cvpro-pricing-toggle-slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: var(--cvpro-border);
  border-radius: var(--cvpro-radius-full);
  transition: background-color var(--cvpro-transition-fast);
}

.cvpro-pricing-toggle-slider::before {
  content: '';
  position: absolute;
  height: 22px;
  width: 22px;
  left: 3px;
  bottom: 3px;
  background-color: #FFFFFF;
  border-radius: var(--cvpro-radius-full);
  transition: transform var(--cvpro-transition-fast);
  box-shadow: var(--cvpro-shadow-sm);
}

.cvpro-pricing-toggle input:checked + .cvpro-pricing-toggle-slider {
  background-color: var(--cvpro-primary);
}

.cvpro-pricing-toggle input:checked + .cvpro-pricing-toggle-slider::before {
  transform: translateX(24px);
}

.cvpro-pricing-toggle input:focus-visible + .cvpro-pricing-toggle-slider {
  outline: 2px solid var(--cvpro-primary);
  outline-offset: 2px;
}

.cvpro-pricing-savings {
  display: inline-block;
  padding: 0.125rem 0.5rem;
  background: rgba(14, 159, 110, 0.1);
  color: var(--cvpro-success);
  font-size: 0.75rem;
  font-weight: 600;
  border-radius: var(--cvpro-radius-full);
}

.cvpro-pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--cvpro-space-xl);
  align-items: start;
}

.cvpro-pricing-card {
  padding: var(--cvpro-space-2xl);
  border: 1px solid var(--cvpro-border);
  border-radius: var(--cvpro-radius-xl);
  background: var(--cvpro-bg-primary);
  position: relative;
  transition: box-shadow var(--cvpro-transition-normal);
}

.cvpro-pricing-card:hover {
  box-shadow: var(--cvpro-shadow-md);
}

.cvpro-pricing-card--highlighted {
  background: var(--cvpro-primary);
  color: #FFFFFF;
  border-color: var(--cvpro-primary);
  transform: scale(1.04);
  box-shadow: var(--cvpro-shadow-xl);
  z-index: 1;
}

.cvpro-pricing-card--highlighted h3,
.cvpro-pricing-card--highlighted p,
.cvpro-pricing-card--highlighted > p,
.cvpro-pricing-card--highlighted .cvpro-pricing-price,
.cvpro-pricing-card--highlighted .cvpro-pricing-period,
.cvpro-pricing-card--highlighted .cvpro-pricing-currency {
  color: #FFFFFF;
}

.cvpro-pricing-card--highlighted .cvpro-pricing-features li {
  color: rgba(255, 255, 255, 0.9);
}

.cvpro-pricing-card--highlighted .cvpro-pricing-features svg {
  color: rgba(255, 255, 255, 0.8);
}

.cvpro-pricing-card--highlighted .cvpro-btn-primary {
  background: #FFFFFF;
  color: var(--cvpro-primary);
  border-color: #FFFFFF;
}

.cvpro-pricing-card--highlighted .cvpro-btn-primary:hover {
  background: var(--cvpro-bg-secondary);
  border-color: var(--cvpro-bg-secondary);
}

.cvpro-pricing-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  padding: 0.375rem 1rem;
  background: var(--cvpro-accent);
  color: #FFFFFF;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border-radius: var(--cvpro-radius-full);
  white-space: nowrap;
}

.cvpro-pricing-card h3 {
  font-size: 1.25rem;
  margin-bottom: var(--cvpro-space-sm);
}

.cvpro-pricing-card > p {
  font-size: 0.9375rem;
  color: var(--cvpro-text-secondary);
  margin-bottom: var(--cvpro-space-xl);
}

.cvpro-pricing-card--highlighted > p,
.cvpro-pricing-card.cvpro-pricing-card--highlighted p {
  color: #FFFFFF;
}

.cvpro-pricing-price-wrapper {
  margin-bottom: var(--cvpro-space-xl);
}

.cvpro-pricing-currency {
  font-size: 1.5rem;
  font-weight: 700;
  vertical-align: super;
  line-height: 1;
}

.cvpro-pricing-price {
  font-size: 3.5rem;
  font-weight: 800;
  line-height: 1;
  color: var(--cvpro-text-primary);
}

.cvpro-pricing-period {
  font-size: 0.9375rem;
  color: var(--cvpro-text-secondary);
  font-weight: 400;
}

.cvpro-pricing-features {
  margin-bottom: var(--cvpro-space-xl);
}

.cvpro-pricing-features li {
  display: flex;
  align-items: flex-start;
  gap: var(--cvpro-space-sm);
  padding: var(--cvpro-space-sm) 0;
  font-size: 0.9375rem;
  color: var(--cvpro-text-secondary);
}

.cvpro-pricing-features svg {
  width: 18px;
  height: 18px;
  color: var(--cvpro-success);
  flex-shrink: 0;
  margin-top: 2px;
}

.cvpro-pricing-features li.is-disabled {
  opacity: 0.5;
}

.cvpro-pricing-features li.is-disabled svg {
  color: var(--cvpro-text-secondary);
}

/* --------------------------------------------------------------------------
   15. Blog Grid
   -------------------------------------------------------------------------- */

.cvpro-blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--cvpro-space-xl);
}
.cvpro-blog-grid--2 { grid-template-columns: repeat(2, 1fr); }
.cvpro-blog-grid--3 { grid-template-columns: repeat(3, 1fr); }
.cvpro-blog-grid--4 { grid-template-columns: repeat(4, 1fr); }
.cvpro-blog-grid--4 .cvpro-post-card__excerpt { display: none; }

.cvpro-post-card {
  border: 1px solid var(--cvpro-border);
  border-radius: var(--cvpro-radius-xl, 16px);
  overflow: hidden;
  background: var(--cvpro-bg-primary);
  transition: transform var(--cvpro-transition-normal), box-shadow var(--cvpro-transition-normal);
}

.cvpro-post-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--cvpro-shadow-lg);
}

/* Post card thumbnail — aspect ratio via CSS variable */
.cvpro-post-card__thumbnail {
  position: relative;
  overflow: hidden;
  border-radius: var(--cvpro-radius-xl, 16px) var(--cvpro-radius-xl, 16px) 0 0;
  aspect-ratio: var(--card-ratio, 16 / 9);
}
.cvpro-post-card__image-link {
  display: block;
  width: 100%;
  height: 100%;
  line-height: 0; /* eliminate inline-image baseline gap */
}
.cvpro-post-card__thumbnail img,
.cvpro-post-card__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform var(--cvpro-transition-slow, 0.5s);
}
.cvpro-post-card:hover .cvpro-post-card__thumbnail img {
  transform: scale(1.05);
}
.cvpro-post-card__placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  /* Soft tint of the theme primary so placeholders follow the color picker */
  background: linear-gradient(135deg,
    rgba(var(--cvpro-primary-rgb), 0.08),
    rgba(var(--cvpro-primary-rgb), 0.18));
  color: rgba(var(--cvpro-primary-rgb), 0.55);
}
.cvpro-post-card__category-badge {
  position: absolute;
  top: 0.75rem;
  left: 0.75rem;
  display: inline-block;
  padding: 0.25rem 0.625rem;
  font-size: 0.6875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  background: var(--cvpro-primary);
  color: #fff;
  border-radius: var(--cvpro-radius-sm, 4px);
  text-decoration: none;
  z-index: 1;
}

/* Aspect ratio presets */
.cvpro-blog-grid--ratio-16-9 .cvpro-post-card__thumbnail { --card-ratio: 16 / 9; }
.cvpro-blog-grid--ratio-4-3 .cvpro-post-card__thumbnail  { --card-ratio: 4 / 3; }
.cvpro-blog-grid--ratio-1-1 .cvpro-post-card__thumbnail  { --card-ratio: 1 / 1; }
.cvpro-blog-grid--ratio-4-5 .cvpro-post-card__thumbnail  { --card-ratio: 4 / 5; }
.cvpro-blog-grid--ratio-3-4 .cvpro-post-card__thumbnail  { --card-ratio: 3 / 4; }

/* List view */
.cvpro-blog-grid--list {
  display: flex !important;
  flex-direction: column;
  gap: 1.5rem;
}
.cvpro-blog-grid--list .cvpro-post-card {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 0;
}
.cvpro-blog-grid--list .cvpro-post-card__thumbnail {
  border-radius: var(--cvpro-radius-lg, 12px) 0 0 var(--cvpro-radius-lg, 12px);
  /* In list view, the thumbnail fills the entire row height — drop the aspect
     ratio so the image cover-stretches without leaving a gap below. */
  aspect-ratio: auto;
  height: 100%;
  min-height: 200px;
}
.cvpro-blog-grid--list .cvpro-post-card__body {
  display: flex;
  flex-direction: column;
  justify-content: center;
}
@media (max-width: 640px) {
  .cvpro-blog-grid--list .cvpro-post-card {
    grid-template-columns: 1fr;
  }
  .cvpro-blog-grid--list .cvpro-post-card__thumbnail {
    border-radius: var(--cvpro-radius-lg, 12px) var(--cvpro-radius-lg, 12px) 0 0;
    aspect-ratio: var(--card-ratio, 16 / 9);
    height: auto;
  }
}

/* View Toggle */
.cvpro-view-toggle {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  justify-content: flex-end;
  margin-bottom: 1.5rem;
}
.cvpro-view-toggle__btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border: 1px solid var(--cvpro-border);
  border-radius: var(--cvpro-radius-md, 8px);
  background: var(--cvpro-bg-primary);
  color: var(--cvpro-text-secondary);
  cursor: pointer;
  transition: all 0.15s;
}
.cvpro-view-toggle__btn:hover {
  border-color: var(--cvpro-primary);
  color: var(--cvpro-primary);
}
.cvpro-view-toggle__btn.is-active {
  background: var(--cvpro-primary);
  border-color: var(--cvpro-primary);
  color: #fff;
}

/* Legacy class compat */
.cvpro-post-card-image {
  aspect-ratio: var(--card-ratio, 16 / 9);
  overflow: hidden;
}
.cvpro-post-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--cvpro-transition-slow);
}
.cvpro-post-card:hover .cvpro-post-card-image img {
  transform: scale(1.05);
}

.cvpro-post-card-body {
  padding: var(--cvpro-space-xl);
}

.cvpro-post-card-category {
  display: inline-block;
  padding: 0.25rem 0.625rem;
  background: rgba(26, 86, 219, 0.08);
  color: var(--cvpro-primary);
  font-size: 0.75rem;
  font-weight: 600;
  border-radius: var(--cvpro-radius-sm);
  margin-bottom: var(--cvpro-space-md);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.cvpro-post-card-title {
  font-size: 1.125rem;
  font-weight: 700;
  margin-bottom: var(--cvpro-space-sm);
  line-height: 1.3;
}

.cvpro-post-card-title a {
  color: var(--cvpro-text-primary);
  text-decoration: none;
}

.cvpro-post-card-title a:hover {
  color: var(--cvpro-primary);
}

.cvpro-post-card-excerpt {
  font-size: 0.9375rem;
  color: var(--cvpro-text-secondary);
  line-height: 1.6;
  margin-bottom: var(--cvpro-space-lg);
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.cvpro-post-card-meta {
  display: flex;
  align-items: center;
  gap: var(--cvpro-space-md);
  font-size: 0.8125rem;
  color: var(--cvpro-text-secondary);
}

.cvpro-post-card-meta span {
  display: flex;
  align-items: center;
  gap: var(--cvpro-space-xs);
}

.cvpro-post-card-meta svg {
  width: 14px;
  height: 14px;
}

/* --------------------------------------------------------------------------
   16. Single Post
   -------------------------------------------------------------------------- */

.cvpro-single-header {
  text-align: center;
  max-width: 800px;
  margin: 0 auto var(--cvpro-space-3xl);
  padding-top: var(--cvpro-space-3xl);
}

.cvpro-single-header h1 {
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: var(--cvpro-space-lg);
}

.cvpro-single-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--cvpro-space-md);
  font-size: 0.9375rem;
  color: var(--cvpro-text-secondary);
}
.cvpro-single-meta__items {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--cvpro-space-md);
}

/* Inline social share — to the right of author/date/min-read row. */
.cvpro-single-meta__share {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin-left: auto;
}
.cvpro-single-meta__share-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  text-decoration: none;
  color: #fff;
  transition: filter 0.15s ease, transform 0.15s ease;
}
.cvpro-single-meta__share-btn:hover {
  filter: brightness(0.92);
  transform: translateY(-1px);
}
.cvpro-single-meta__share-btn--x        { background: #000000; }
.cvpro-single-meta__share-btn--facebook { background: #1877F2; }
.cvpro-single-meta__share-btn--linkedin { background: #0A66C2; }
.cvpro-single-meta__share-btn--whatsapp { background: #25D366; }
.cvpro-single-meta__share-btn svg { color: #fff; }

/* Alignment-aware meta-row container (between excerpt and content) */
.cvpro-single-header__meta-row {
  margin: 1rem 0 1.25rem;
}
.cvpro-single-header__meta-row.cvpro-single--align-left  .cvpro-single-meta { justify-content: flex-start; }
.cvpro-single-header__meta-row.cvpro-single--align-center .cvpro-single-meta { justify-content: space-between; }
.cvpro-single-header__meta-row.cvpro-single--align-right .cvpro-single-meta { justify-content: flex-end; }

.cvpro-single-meta span {
  display: flex;
  align-items: center;
  gap: var(--cvpro-space-xs);
}

.cvpro-single-meta svg {
  width: 16px;
  height: 16px;
}

.cvpro-single-meta .cvpro-divider {
  width: 4px;
  height: 4px;
  background: var(--cvpro-text-secondary);
  border-radius: var(--cvpro-radius-full);
  opacity: 0.4;
}

.cvpro-reading-time {
  display: flex;
  align-items: center;
  gap: var(--cvpro-space-xs);
}

/* Post Content / Prose
   No internal max-width — body inherits the article column width set by
   .cvpro-single--{narrow,standard,wide,full} so prose lines up with the
   featured image, excerpt, TOC, comments, and related posts. */
.cvpro-post-content {
  margin: 0 auto;
  font-size: 1.0625rem;
  line-height: 1.8;
  color: var(--cvpro-text-primary);
}

.cvpro-post-content h2 {
  font-size: 1.75rem;
  margin-top: var(--cvpro-space-3xl);
  margin-bottom: var(--cvpro-space-lg);
  scroll-margin-top: 100px;
}

.cvpro-post-content h3 {
  font-size: 1.375rem;
  margin-top: var(--cvpro-space-2xl);
  margin-bottom: var(--cvpro-space-md);
  scroll-margin-top: 100px;
}

.cvpro-post-content h4 {
  font-size: 1.125rem;
  margin-top: var(--cvpro-space-xl);
  margin-bottom: var(--cvpro-space-md);
  scroll-margin-top: 100px;
}

.cvpro-post-content p {
  margin-bottom: var(--cvpro-space-lg);
}

.cvpro-post-content ul,
.cvpro-post-content ol {
  margin-bottom: var(--cvpro-space-lg);
  padding-left: var(--cvpro-space-xl);
}

.cvpro-post-content ul {
  list-style: disc;
}

.cvpro-post-content ol {
  list-style: decimal;
}

.cvpro-post-content li {
  margin-bottom: var(--cvpro-space-sm);
}

.cvpro-post-content blockquote {
  margin: var(--cvpro-space-xl) 0;
  padding: var(--cvpro-space-lg) var(--cvpro-space-xl);
  border-left: 4px solid var(--cvpro-primary);
  background: var(--cvpro-bg-secondary);
  border-radius: 0 var(--cvpro-radius-md) var(--cvpro-radius-md) 0;
  font-style: italic;
  color: var(--cvpro-text-secondary);
}

.cvpro-post-content blockquote p:last-child {
  margin-bottom: 0;
}

.cvpro-post-content code {
  background: var(--cvpro-bg-secondary);
  padding: 0.125rem 0.375rem;
  border-radius: var(--cvpro-radius-sm);
  font-size: 0.875em;
  font-family: 'SFMono-Regular', 'Menlo', 'Monaco', 'Consolas', monospace;
}

.cvpro-post-content pre {
  background: var(--cvpro-bg-dark);
  color: #E5E7EB;
  padding: var(--cvpro-space-xl);
  border-radius: var(--cvpro-radius-md);
  overflow-x: auto;
  margin-bottom: var(--cvpro-space-lg);
  font-size: 0.875rem;
  line-height: 1.6;
}

.cvpro-post-content pre code {
  background: none;
  padding: 0;
  border-radius: 0;
  color: inherit;
  font-size: inherit;
}

.cvpro-post-content img {
  border-radius: var(--cvpro-radius-md);
  margin: var(--cvpro-space-xl) 0;
}

.cvpro-post-content figure {
  margin: var(--cvpro-space-xl) 0;
}

.cvpro-post-content figcaption {
  text-align: center;
  font-size: 0.875rem;
  color: var(--cvpro-text-secondary);
  margin-top: var(--cvpro-space-sm);
}

.cvpro-post-content table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: var(--cvpro-space-lg);
  font-size: 0.9375rem;
}

.cvpro-post-content th,
.cvpro-post-content td {
  padding: var(--cvpro-space-md);
  border: 1px solid var(--cvpro-border);
  text-align: left;
}

.cvpro-post-content th {
  background: var(--cvpro-bg-secondary);
  font-weight: 600;
}

.cvpro-post-content a {
  color: var(--cvpro-primary);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.cvpro-post-content a:hover {
  color: var(--cvpro-primary-dark);
}

/* Author Box */
.cvpro-author-box {
  display: flex;
  gap: var(--cvpro-space-xl);
  padding: var(--cvpro-space-xl);
  border: 1px solid var(--cvpro-border);
  border-radius: var(--cvpro-radius-lg);
  margin: var(--cvpro-space-3xl) auto;
  max-width: 720px;
}

.cvpro-author-box img {
  width: 72px;
  height: 72px;
  border-radius: var(--cvpro-radius-full);
  object-fit: cover;
  flex-shrink: 0;
}

.cvpro-author-box h4 {
  font-size: 1.0625rem;
  margin-bottom: var(--cvpro-space-xs);
}

.cvpro-author-box p {
  font-size: 0.9375rem;
  color: var(--cvpro-text-secondary);
  line-height: 1.6;
}

/* Related Posts */
.cvpro-related-posts {
  max-width: var(--cvpro-container-max);
  margin: 0 auto;
}

.cvpro-related-posts h2 {
  font-size: 1.5rem;
  margin-bottom: var(--cvpro-space-xl);
}

/* Post Navigation */
.cvpro-post-nav {
  padding: var(--cvpro-space-lg) 0;
  border-top: 1px solid var(--cvpro-border);
  margin-top: var(--cvpro-space-xl);
}
.cvpro-post-nav__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--cvpro-space-xl);
}
/* When only one of prev/next exists, single-column so the lone card
   stretches to align with the column edge instead of leaving a gap. */
.cvpro-post-nav--single .cvpro-post-nav__grid {
  grid-template-columns: 1fr;
}
.cvpro-post-nav--single .cvpro-post-nav__link--next {
  justify-self: end;
  text-align: right;
}
.cvpro-post-nav__link {
  display: flex;
  flex-direction: column;
  gap: var(--cvpro-space-xs);
  text-decoration: none;
  padding: 1rem 1.25rem;
  border-radius: var(--cvpro-radius-md, 8px);
  border: 1px solid var(--cvpro-border);
  transition: border-color 0.2s, box-shadow 0.2s;
}
.cvpro-post-nav__link:hover {
  border-color: var(--cvpro-primary);
  box-shadow: 0 2px 8px rgba(var(--cvpro-primary-rgb), 0.08);
}
.cvpro-post-nav__label {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  font-size: 0.8125rem;
  color: var(--cvpro-text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.cvpro-post-nav__title {
  font-weight: 600;
  color: var(--cvpro-text-primary);
  font-size: 0.9375rem;
}
.cvpro-post-nav__link:hover .cvpro-post-nav__title {
  color: var(--cvpro-primary);
}
.cvpro-post-nav__link--prev {
  text-align: left;
  align-items: flex-start;
}
.cvpro-post-nav__link--next {
  text-align: right;
  align-items: flex-end;
}
.cvpro-post-nav__link--next .cvpro-post-nav__label {
  justify-content: flex-end;
}
.cvpro-post-nav__placeholder {
  display: block;
  /* keeps the prev/next column layout when one side is missing */
}
@media (max-width: 640px) {
  .cvpro-post-nav__grid { grid-template-columns: 1fr; }
  .cvpro-post-nav__link--next,
  .cvpro-post-nav__link--prev {
    align-items: stretch;
    text-align: left;
  }
  .cvpro-post-nav__link--next .cvpro-post-nav__label {
    justify-content: flex-start;
  }
}

/* --------------------------------------------------------------------------
   17. Table of Contents
   -------------------------------------------------------------------------- */

.cvpro-toc {
  position: relative;
  border: 1px solid var(--cvpro-border, #e5e7eb);
  border-radius: var(--cvpro-radius-xl, 16px);
  padding: 1.25rem 1.5rem;
  margin: 0 0 var(--cvpro-space-2xl);
  background: var(--cvpro-bg-primary);
  box-shadow: 0 2px 8px rgba(0,0,0,0.03);
}

.cvpro-toc-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 1rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--cvpro-border, #e5e7eb);
}
.cvpro-toc-header > span {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--cvpro-font-heading);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--cvpro-text-secondary);
}
.cvpro-toc-header > span::before {
  content: '';
  display: inline-block;
  width: 14px;
  height: 14px;
  background: currentColor;
  -webkit-mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'><line x1='8' y1='6' x2='21' y2='6'/><line x1='8' y1='12' x2='21' y2='12'/><line x1='8' y1='18' x2='21' y2='18'/><line x1='3' y1='6' x2='3.01' y2='6'/><line x1='3' y1='12' x2='3.01' y2='12'/><line x1='3' y1='18' x2='3.01' y2='18'/></svg>") no-repeat center / contain;
          mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'><line x1='8' y1='6' x2='21' y2='6'/><line x1='8' y1='12' x2='21' y2='12'/><line x1='8' y1='18' x2='21' y2='18'/><line x1='3' y1='6' x2='3.01' y2='6'/><line x1='3' y1='12' x2='3.01' y2='12'/><line x1='3' y1='18' x2='3.01' y2='18'/></svg>") no-repeat center / contain;
  color: var(--cvpro-primary);
}
.cvpro-toc-header h4 {
  font-size: 0.9375rem;
  font-weight: 700;
}

.cvpro-toc-toggle {
  width: 30px;
  height: 30px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--cvpro-bg-secondary, #f9fafb);
  border: none;
  cursor: pointer;
  color: var(--cvpro-text-primary);
  font-size: 1.1rem;
  font-weight: 700;
  line-height: 1;
  transition: background var(--cvpro-transition-fast), transform var(--cvpro-transition-fast);
}
.cvpro-toc-toggle:hover {
  background: rgba(var(--cvpro-primary-rgb), 0.1);
  color: var(--cvpro-primary);
}
.cvpro-toc-toggle svg {
  width: 14px;
  height: 14px;
  transition: transform var(--cvpro-transition-fast);
}
.cvpro-toc.is-collapsed .cvpro-toc-toggle svg {
  transform: rotate(180deg);
}

.cvpro-toc-list {
  max-height: 1200px;
  overflow: hidden;
  transition: max-height var(--cvpro-transition-normal), opacity var(--cvpro-transition-fast);
}
.cvpro-toc.is-collapsed .cvpro-toc-list {
  max-height: 0;
  opacity: 0;
}

.cvpro-toc-item a {
  display: block;
  padding: 0.4rem 0.5rem 0.4rem 0.65rem;
  margin-left: -0.65rem;
  font-size: 0.875rem;
  color: var(--cvpro-text-secondary);
  text-decoration: none;
  transition: color var(--cvpro-transition-fast), background var(--cvpro-transition-fast);
  line-height: 1.45;
  border-radius: var(--cvpro-radius-sm, 4px);
  border-left: 2px solid transparent;
  position: relative;
}
.cvpro-toc-item a:hover {
  color: var(--cvpro-primary);
  background: rgba(var(--cvpro-primary-rgb), 0.04);
  text-decoration: none;
}
.cvpro-toc-item a.is-active {
  color: var(--cvpro-primary);
  background: rgba(var(--cvpro-primary-rgb), 0.08);
  border-left-color: var(--cvpro-primary);
  font-weight: 600;
}

.cvpro-toc-item--h3 a {
  padding-left: 1.5rem;
  font-size: 0.84rem;
}
.cvpro-toc-item--h4 a {
  padding-left: 2.25rem;
  font-size: 0.8rem;
  opacity: 0.9;
}

/* Nested hierarchy via real <ol>/<ul> nesting */
.cvpro-toc-list__root,
.cvpro-toc-list__child {
  list-style: none;
  margin: 0;
  padding: 0;
  counter-reset: toc-counter;
}
.cvpro-toc-list__child {
  margin-left: 1rem;
  padding-left: 1rem;
  border-left: 1px solid var(--cvpro-border, #e5e7eb);
  margin-top: 0.15rem;
}

/* Numbered counters — leading "1. 1.1 1.1.1" style */
.cvpro-toc--numbered .cvpro-toc-item {
  counter-increment: toc-counter;
}
.cvpro-toc--numbered .cvpro-toc-item > a::before {
  content: counters(toc-counter, '.') '.';
  display: inline-block;
  min-width: 1.6em;
  margin-right: 0.5rem;
  color: var(--cvpro-primary);
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  opacity: 0.85;
}
.cvpro-toc--bulleted .cvpro-toc-item > a::before {
  content: '';
  display: inline-block;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--cvpro-primary);
  margin-right: 0.65rem;
  vertical-align: middle;
  opacity: 0.55;
  transition: opacity var(--cvpro-transition-fast), transform var(--cvpro-transition-fast);
}
.cvpro-toc--bulleted .cvpro-toc-item > a:hover::before,
.cvpro-toc--bulleted .cvpro-toc-item > a.is-active::before {
  opacity: 1;
  transform: scale(1.3);
}

/* Alignment — controls content text-alignment and (when width is compact)
   the position of the TOC block within the article column. */
.cvpro-toc--align-left   { text-align: left; }
.cvpro-toc--align-center { text-align: center; }
.cvpro-toc--align-right  { text-align: right; }

/* Width modifier (independent of alignment).
   - full: TOC fills the article column (default)
   - compact: TOC shrinks to fit its content; alignment controls placement
   - narrow: capped at 360px; alignment controls placement */
.cvpro-toc--width-full    { width: 100%; }
.cvpro-toc--width-compact { width: fit-content; max-width: 100%; }
.cvpro-toc--width-narrow  { max-width: 360px; }

/* When the TOC is compact/narrow, alignment maps to margin-based placement */
.cvpro-toc--width-compact.cvpro-toc--align-left,
.cvpro-toc--width-narrow.cvpro-toc--align-left   { margin-left: 0;    margin-right: auto; }
.cvpro-toc--width-compact.cvpro-toc--align-center,
.cvpro-toc--width-narrow.cvpro-toc--align-center { margin-left: auto; margin-right: auto; }
.cvpro-toc--width-compact.cvpro-toc--align-right,
.cvpro-toc--width-narrow.cvpro-toc--align-right  { margin-left: auto; margin-right: 0; }
.cvpro-toc--align-center .cvpro-toc-header,
.cvpro-toc--align-right  .cvpro-toc-header {
  justify-content: space-between;
}
.cvpro-toc--align-center .cvpro-toc-list__root,
.cvpro-toc--align-right  .cvpro-toc-list__root {
  text-align: inherit;
}
.cvpro-toc--align-center .cvpro-toc-list__child,
.cvpro-toc--align-right  .cvpro-toc-list__child {
  border-left: none;
  padding-left: 0;
  margin-left: 0;
}
.cvpro-toc--align-center .cvpro-toc-item a,
.cvpro-toc--align-right  .cvpro-toc-item a {
  border-left: none;
  margin-left: 0;
  padding-left: 0.5rem;
}

/* ── Style variants ────────────────────────────────────────────────── */

/* card (default) — already styled above */

/* plain: no box, just headings + list */
.cvpro-toc--style-plain {
  border: none;
  background: transparent;
  padding: 0;
  box-shadow: none;
}
.cvpro-toc--style-plain .cvpro-toc-header {
  border-bottom: none;
  padding-bottom: 0.5rem;
  margin-bottom: 0.75rem;
}

/* minimal: thin top + bottom rules, no card */
.cvpro-toc--style-minimal {
  border: none;
  background: transparent;
  padding: 0.85rem 0;
  border-top: 1px solid var(--cvpro-border, #e5e7eb);
  border-bottom: 1px solid var(--cvpro-border, #e5e7eb);
  border-radius: 0;
  box-shadow: none;
}
.cvpro-toc--style-minimal .cvpro-toc-header {
  margin-bottom: 0.5rem;
  padding-bottom: 0.5rem;
}
.cvpro-toc--style-minimal .cvpro-toc-list__child {
  border-left: none;
  padding-left: 0.85rem;
}

/* --------------------------------------------------------------------------
   18. Social Share
   -------------------------------------------------------------------------- */

.cvpro-share-buttons {
  display: flex;
  align-items: center;
  gap: var(--cvpro-space-sm);
  flex-wrap: wrap;
}

.cvpro-share-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--cvpro-space-xs);
  width: 40px;
  height: 40px;
  border-radius: var(--cvpro-radius-full);
  border: 1px solid var(--cvpro-border);
  background: var(--cvpro-bg-primary);
  color: var(--cvpro-text-secondary);
  transition: all var(--cvpro-transition-fast);
  text-decoration: none;
  cursor: pointer;
}

.cvpro-share-btn svg {
  width: 18px;
  height: 18px;
}

.cvpro-share-btn--labeled {
  width: auto;
  padding: 0 var(--cvpro-space-md);
  border-radius: var(--cvpro-radius-md);
}

.cvpro-share-btn--labeled span {
  font-size: 0.8125rem;
  font-weight: 500;
}

.cvpro-share-btn:hover {
  transform: translateY(-2px);
  box-shadow: var(--cvpro-shadow-sm);
}

.cvpro-share-btn--twitter:hover {
  background: #1DA1F2;
  border-color: #1DA1F2;
  color: #FFFFFF;
}

.cvpro-share-btn--facebook:hover {
  background: #1877F2;
  border-color: #1877F2;
  color: #FFFFFF;
}

.cvpro-share-btn--linkedin:hover {
  background: #0A66C2;
  border-color: #0A66C2;
  color: #FFFFFF;
}

.cvpro-share-btn--whatsapp:hover {
  background: #25D366;
  border-color: #25D366;
  color: #FFFFFF;
}

.cvpro-share-btn--email:hover {
  background: var(--cvpro-text-primary);
  border-color: var(--cvpro-text-primary);
  color: #FFFFFF;
}

.cvpro-share-btn--copy:hover {
  background: var(--cvpro-primary);
  border-color: var(--cvpro-primary);
  color: #FFFFFF;
}

.cvpro-share-copy-tooltip {
  position: absolute;
  bottom: calc(100% + 6px);
  left: 50%;
  transform: translateX(-50%);
  padding: 0.25rem 0.5rem;
  background: var(--cvpro-bg-dark);
  color: #FFFFFF;
  font-size: 0.75rem;
  border-radius: var(--cvpro-radius-sm);
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--cvpro-transition-fast);
}

.cvpro-share-copy-tooltip.is-visible {
  opacity: 1;
}

/* --------------------------------------------------------------------------
   19. FAQ / Accordion
   -------------------------------------------------------------------------- */

.cvpro-faq-list {
  max-width: 800px;
  margin: 0 auto;
}

.cvpro-faq-item {
  border-bottom: 1px solid var(--cvpro-border);
}

.cvpro-faq-item:first-child {
  border-top: 1px solid var(--cvpro-border);
}

.cvpro-faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: var(--cvpro-space-lg) 0;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  font-size: 1.0625rem;
  font-weight: 600;
  color: var(--cvpro-text-primary);
  transition: color var(--cvpro-transition-fast);
  gap: var(--cvpro-space-md);
}

.cvpro-faq-question:hover {
  color: var(--cvpro-primary);
}

.cvpro-faq-icon {
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 1.25rem;
  color: var(--cvpro-text-secondary);
  transition: transform var(--cvpro-transition-fast), color var(--cvpro-transition-fast);
}

.cvpro-faq-item.is-open .cvpro-faq-icon {
  transform: rotate(45deg);
  color: var(--cvpro-primary);
}

.cvpro-faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--cvpro-transition-slow), padding var(--cvpro-transition-slow);
  padding: 0;
}

.cvpro-faq-item.is-open .cvpro-faq-answer {
  max-height: 400px;
  padding-bottom: var(--cvpro-space-lg);
}

.cvpro-faq-answer p {
  color: var(--cvpro-text-secondary);
  font-size: 0.9375rem;
  line-height: 1.7;
}

/* Two-column FAQ */
.cvpro-faq-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0 var(--cvpro-space-3xl);
  max-width: 100%;
}

/* --------------------------------------------------------------------------
   20. Final CTA
   -------------------------------------------------------------------------- */

/* Section is just a transparent wrapper. The actual gradient + rounded
   corners live on the inner card (.cvpro-final-cta__inner) so the CTA
   reads as a card on the page rather than a full-bleed band. */
.cvpro-final-cta {
  background: transparent;
  color: inherit;
  text-align: center;
  padding: var(--cvpro-space-2xl) 0;
}
.cvpro-final-cta__inner {
  position: relative;
  isolation: isolate;
  border-radius: var(--cvpro-radius-2xl, 24px);
  padding: 3.5rem 2.5rem;
  overflow: hidden;
  color: #FFFFFF;
}
.cvpro-final-cta__decor {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: -1;
}
.cvpro-final-cta__decor::before,
.cvpro-final-cta__decor::after {
  content: '';
  position: absolute;
  border-radius: 50%;
}
.cvpro-final-cta__decor::before {
  top: -100px; right: -80px;
  width: 280px; height: 280px;
  background: rgba(255,255,255,0.08);
}
.cvpro-final-cta__decor::after {
  bottom: -120px; left: -100px;
  width: 320px; height: 320px;
  background: rgba(255,255,255,0.06);
}
.cvpro-final-cta__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.4);
  z-index: -1;
}

.cvpro-final-cta h2,
.cvpro-final-cta__headline {
  color: #FFFFFF;
  font-size: clamp(1.75rem, 3.6vw, 2.6rem);
  margin-bottom: var(--cvpro-space-md);
}

.cvpro-final-cta p,
.cvpro-final-cta__subtext {
  font-size: 1.05rem;
  color: rgba(255, 255, 255, 0.88);
  margin-bottom: var(--cvpro-space-xl);
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.cvpro-final-cta .cvpro-btn--white,
.cvpro-final-cta .cvpro-btn-primary {
  background: #FFFFFF;
  color: var(--cvpro-primary);
  border-color: #FFFFFF;
}

.cvpro-final-cta .cvpro-btn--white:hover,
.cvpro-final-cta .cvpro-btn-primary:hover {
  background: rgba(255,255,255,0.92);
  color: var(--cvpro-primary-dark, var(--cvpro-primary));
}

@media (max-width: 768px) {
  .cvpro-final-cta__inner {
    padding: 2.25rem 1.5rem;
    border-radius: var(--cvpro-radius-xl, 16px);
  }
}

.cvpro-final-cta--image {
  position: relative;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.cvpro-final-cta--image::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(17, 25, 40, 0.85);
}

.cvpro-final-cta--image > * {
  position: relative;
  z-index: 1;
}

/* --------------------------------------------------------------------------
   21. Footer
   -------------------------------------------------------------------------- */

/* Legacy dark footer — overridden by BEM footer styles below (line ~6677) */







































  margin-bottom: var(--cvpro-space-lg);
}

.cvpro-footer-newsletter {
  display: flex;
  gap: 0;
  margin-top: var(--cvpro-space-md);
}

.cvpro-footer-newsletter input {
  flex: 1;
  padding: 0.625rem 0.875rem;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-right: none;
  border-radius: var(--cvpro-radius-md) 0 0 var(--cvpro-radius-md);
  color: #FFFFFF;
  font-size: 0.875rem;
}

.cvpro-footer-newsletter input::placeholder {
  color: rgba(255, 255, 255, 0.4);
}

.cvpro-footer-newsletter input:focus {
  outline: none;
  border-color: var(--cvpro-primary);
  box-shadow: 0 0 0 3px rgba(var(--cvpro-primary-rgb), 0.1);
}

.cvpro-footer-newsletter button {
  padding: 0.625rem 1rem;
  background: var(--cvpro-primary);
  color: #FFFFFF;
  border: 1px solid var(--cvpro-primary);
  border-radius: 0 var(--cvpro-radius-md) var(--cvpro-radius-md) 0;
  font-weight: 600;
  font-size: 0.875rem;
  cursor: pointer;
  transition: background var(--cvpro-transition-fast);
  white-space: nowrap;
}

.cvpro-footer-newsletter button:hover {
  background: var(--cvpro-primary-dark);
}

.cvpro-footer-social {
  display: flex;
  gap: var(--cvpro-space-md);
  margin-top: var(--cvpro-space-lg);
}

.cvpro-footer-social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: var(--cvpro-radius-full);
  background: rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.6);
  transition: all var(--cvpro-transition-fast);
}

.cvpro-footer-social a:hover {
  background: var(--cvpro-primary);
  color: #FFFFFF;
}

.cvpro-footer-social svg {
  width: 18px;
  height: 18px;
}

.cvpro-footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--cvpro-space-md);
  padding: var(--cvpro-space-xl) 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.8125rem;
}

.cvpro-footer-bottom a {
  color: rgba(255, 255, 255, 0.5);
  text-decoration: none;
}

.cvpro-footer-bottom a:hover {
  color: #FFFFFF;
}

.cvpro-footer-bottom-links {
  display: flex;
  gap: var(--cvpro-space-lg);
}







/* --------------------------------------------------------------------------
   22. Cookie Bar
   -------------------------------------------------------------------------- */

.cvpro-cookie-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--cvpro-bg-dark);
  color: rgba(255, 255, 255, 0.8);
  padding: var(--cvpro-space-lg) var(--cvpro-space-xl);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--cvpro-space-xl);
  z-index: var(--cvpro-z-overlay, 300);
  box-shadow: 0 -4px 12px rgba(0, 0, 0, 0.15);
  transform: translateY(100%);
  transition: transform var(--cvpro-transition-normal);
}

.cvpro-cookie-bar.is-visible {
  transform: translateY(0);
}

.cvpro-cookie-bar p {
  font-size: 0.875rem;
  line-height: 1.5;
  flex: 1;
}

.cvpro-cookie-bar p a {
  color: #FFFFFF;
  text-decoration: underline;
}

.cvpro-cookie-bar-actions {
  display: flex;
  gap: var(--cvpro-space-sm);
  flex-shrink: 0;
}

.cvpro-cookie-bar .cvpro-btn {
  padding: 0.5rem 1rem;
  font-size: 0.8125rem;
}

/* --------------------------------------------------------------------------
   23. Breadcrumb
   -------------------------------------------------------------------------- */

/* Breadcrumb — when used inside the full-width bar (.cvpro-breadcrumb-bar)
   the strip itself owns the gray background, so the inner nav stays flat. */
.cvpro-breadcrumb {
  font-size: 0.74rem;
  color: var(--cvpro-text-secondary);
  display: flex;
  max-width: 100%;
  margin: 0;
  padding: 0;
  background: transparent;
  border: none;
  border-radius: 0;
  line-height: 1.2;
}
/* Stand-alone breadcrumb (e.g. fallback usage outside the bar) keeps the
   compact pill look — opt-in via the new modifier. */
.cvpro-breadcrumb--pill {
  display: inline-flex;
  padding: 0.5rem 0.85rem;
  background: var(--cvpro-bg-secondary, #fafbfc);
  border: 1px solid var(--cvpro-border, #e5e7eb);
  border-radius: var(--cvpro-radius-md, 8px);
  margin-bottom: 1rem;
}

/* Full-width strip wrapper — sits flush below the fixed header so the gray
   bar reaches both viewport edges and visually anchors the page top. */
.cvpro-breadcrumb-bar {
  background: var(--cvpro-bg-secondary, #f8f9fa) !important;
  border-bottom: 1px solid var(--cvpro-border, #e5e7eb) !important;
  /* Push the strip up under the fixed header (var --header-height = 80) */
  margin-top: var(--header-height, 80px) !important;
  padding: 0 !important;
  font-size: 0.8rem !important;
  line-height: 1 !important;
  min-height: 0 !important;
  /* Extend the gray slightly above the bar to absorb sub-pixel rounding
     gaps that appear between the fixed header bottom and the bar top. */
  box-shadow: 0 -3px 0 0 var(--cvpro-bg-secondary, #f8f9fa) !important;
}
.cvpro-breadcrumb-bar > .cvpro-container {
  padding-top: 0 !important;
  padding-bottom: 0 !important;
}
.cvpro-breadcrumb-bar .cvpro-breadcrumb,
.cvpro-breadcrumb-bar .cvpro-breadcrumb__list,
.cvpro-breadcrumb-bar .cvpro-breadcrumb__item,
.cvpro-breadcrumb-bar .cvpro-breadcrumb__link,
.cvpro-breadcrumb-bar .cvpro-breadcrumb__current,
.cvpro-breadcrumb-bar .cvpro-breadcrumb__separator {
  line-height: 1 !important;
  margin-bottom: 0 !important;
  padding-bottom: 0 !important;
}
.cvpro-breadcrumb-bar .cvpro-breadcrumb {
  padding: 0 !important;
  margin: 0 !important;
}
.cvpro-breadcrumb-bar .cvpro-breadcrumb__list {
  /* 1.5x of previous height — comfortable but still slim. Bottom slightly
     more so the gray underline sits at equal optical distance to the menu. */
  padding: 0.5rem 0 0.62rem !important;
  gap: 0.32rem !important;
  margin: 0 !important;
  font-size: 0.82rem !important;
  align-items: center !important;
}
.cvpro-breadcrumb-bar .cvpro-breadcrumb__item,
.cvpro-breadcrumb-bar .cvpro-breadcrumb__link,
.cvpro-breadcrumb-bar .cvpro-breadcrumb__current,
.cvpro-breadcrumb-bar .cvpro-breadcrumb__separator {
  display: inline-flex !important;
  align-items: center !important;
}
.cvpro-breadcrumb-bar .cvpro-breadcrumb__separator {
  margin: 0 0.15rem !important;
}
.cvpro-breadcrumb-bar .cvpro-breadcrumb__separator svg {
  width: 10px !important;
  height: 10px !important;
}
.cvpro-breadcrumb-bar .cvpro-breadcrumb__link--home svg {
  width: 12px !important;
  height: 12px !important;
}
.cvpro-breadcrumb-bar + #main-content,
.cvpro-breadcrumb-bar + main.cvpro-section {
  /* Cancel the section's top padding-from-header since the strip already
     consumed the header offset. */
  padding-top: 1.25rem;
}
body.admin-bar .cvpro-breadcrumb-bar          { margin-top: calc(var(--header-height, 80px) + 32px); }
body.has-promo-banner .cvpro-breadcrumb-bar   { margin-top: calc(var(--header-height, 80px) + 44px); }
body.has-promo-banner.admin-bar .cvpro-breadcrumb-bar { margin-top: calc(var(--header-height, 80px) + 76px); }
@media (max-width: 782px) {
  body.admin-bar .cvpro-breadcrumb-bar { margin-top: calc(var(--header-height, 80px) + 46px); }
}

.cvpro-single-hero .cvpro-breadcrumb {
  background: rgba(255,255,255,0.08);
  border-color: rgba(255,255,255,0.16);
}

/* --------------------------------------------------------------------------
   24. Utility Classes
   -------------------------------------------------------------------------- */

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border-width: 0;
}

.cvpro-skip-link {
  position: absolute;
  top: -100%;
  left: var(--cvpro-space-md);
  z-index: calc(var(--cvpro-z-toast) + 1);
  padding: var(--cvpro-space-sm) var(--cvpro-space-md);
  background: var(--cvpro-primary);
  color: #FFFFFF;
  font-weight: 600;
  border-radius: 0 0 var(--cvpro-radius-md) var(--cvpro-radius-md);
  text-decoration: none;
  transition: top var(--cvpro-transition-fast);
}

.cvpro-skip-link:focus {
  top: 0;
  color: #FFFFFF;
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }

  [data-animate] {
    opacity: 1;
    transform: none;
  }
}

/* --------------------------------------------------------------------------
   26. Responsive Breakpoints
   -------------------------------------------------------------------------- */

/* Tablet / Small Desktop */
@media (max-width: 1024px) {
  .cvpro-hero-inner {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .cvpro-hero-content {
    max-width: 100%;
    order: 1;
  }

  .cvpro-hero-image {
    max-width: 480px;
    margin: 0 auto;
    order: 0;
  }

  .cvpro-hero-actions {
    justify-content: center;
  }

  .cvpro-hero-trust {
    justify-content: center;
  }

  .cvpro-features-grid {
    --features-cols: 2;
  }

  .cvpro-testimonials-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .cvpro-testimonials-grid--masonry {
    column-count: 2;
  }

  .cvpro-pricing-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .cvpro-pricing-card--highlighted {
    grid-column: span 2;
    max-width: 400px;
    margin: 0 auto;
  }

  .cvpro-blog-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .cvpro-footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .cvpro-faq-grid {
    grid-template-columns: 1fr;
  }
}

/* Tablet Portrait */
@media (max-width: 768px) {
  :root {
    --cvpro-section-py: 3.5rem;
  }

  .cvpro-nav-links {
    display: none;
  }

  .cvpro-mobile-menu-btn {
    display: flex;
  }

  .cvpro-features-grid {
    --features-cols: 1;
  }

  .cvpro-testimonials-grid {
    grid-template-columns: 1fr;
  }

  .cvpro-testimonials-grid--masonry {
    column-count: 1;
  }

  .cvpro-pricing-grid {
    grid-template-columns: 1fr;
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
  }

  .cvpro-pricing-card--highlighted {
    grid-column: span 1;
    transform: none;
    max-width: none;
  }

  .cvpro-blog-grid {
    grid-template-columns: 1fr;
  }

  .cvpro-hiw-steps {
    grid-template-columns: 1fr;
  }

  .cvpro-hiw-steps::before {
    display: none;
  }

  .cvpro-proof-stats {
    grid-template-columns: repeat(2, 1fr);
  }

  .cvpro-footer-grid {
    grid-template-columns: 1fr;
    gap: var(--cvpro-space-2xl);
  }

  .cvpro-footer-bottom {
    flex-direction: column;
    text-align: center;
  }

  .cvpro-author-box {
    flex-direction: column;
    text-align: center;
  }

  .cvpro-author-box img {
    margin: 0 auto;
  }

  .cvpro-post-nav {
    flex-direction: column;
  }

  .cvpro-post-nav a {
    max-width: 100%;
  }

  .cvpro-post-nav a:last-child {
    text-align: left;
  }

  .cvpro-cookie-bar {
    flex-direction: column;
    text-align: center;
  }

  .cvpro-scroll-indicator {
    display: none;
  }
}

/* Mobile */
@media (max-width: 480px) {
  :root {
    --cvpro-section-py: 2.5rem;
  }

  body {
    font-size: 15px;
  }

  .cvpro-container {
    padding-left: var(--cvpro-space-md);
    padding-right: var(--cvpro-space-md);
  }

  .cvpro-hero {
    min-height: auto;
    padding-top: 100px;
    padding-bottom: var(--cvpro-space-2xl);
  }

  .cvpro-hero-badge {
    font-size: 0.75rem;
  }

  .cvpro-hero-actions {
    flex-direction: column;
  }

  .cvpro-hero-actions .cvpro-btn {
    width: 100%;
  }

  .cvpro-hero-trust {
    flex-direction: column;
    gap: var(--cvpro-space-md);
  }

  .cvpro-proof-stats {
    grid-template-columns: 1fr 1fr;
    gap: var(--cvpro-space-lg);
  }

  .cvpro-section-title {
    font-size: clamp(1.5rem, 6vw, 2rem);
  }

  .cvpro-pricing-price {
    font-size: 2.5rem;
  }

  .cvpro-upload-box {
    padding: var(--cvpro-space-xl) var(--cvpro-space-md);
  }
}

/* --------------------------------------------------------------------------
   27. Mobile Menu
   -------------------------------------------------------------------------- */

.cvpro-mobile-menu {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: 320px;
  max-width: 85vw;
  background: var(--cvpro-bg-primary);
  z-index: calc(var(--cvpro-z-overlay) + 20);
  transform: translateX(100%);
  transition: transform var(--cvpro-transition-normal);
  overflow-y: auto;
  box-shadow: var(--cvpro-shadow-xl);
  /* padding lives on .cvpro-mobile-menu__body so the close button can align flush */
  padding: 0;
}

.cvpro-mobile-menu[aria-hidden="false"] {
  transform: translateX(0);
}

/* Legacy close button selector — see .cvpro-mobile-menu__close (BEM) below */

.cvpro-mobile-nav {
  list-style: none;
}

.cvpro-mobile-nav a {
  display: flex;
  align-items: center;
  min-height: 48px;
  padding: var(--cvpro-space-md) 0;
  font-size: 1.0625rem;
  font-weight: 500;
  color: var(--cvpro-text-primary);
  text-decoration: none;
  border-bottom: 1px solid var(--cvpro-border);
  transition: color var(--cvpro-transition-fast);
}

.cvpro-mobile-nav a:hover {
  color: var(--cvpro-primary);
}

.cvpro-mobile-menu-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: calc(var(--cvpro-z-overlay) + 10);
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--cvpro-transition-normal), visibility var(--cvpro-transition-normal);
}

.cvpro-mobile-menu-overlay.is-visible {
  opacity: 1;
  visibility: visible;
}

/* --------------------------------------------------------------------------
   28. Category Tabs (Blog Archive)
   -------------------------------------------------------------------------- */

.cvpro-category-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: var(--cvpro-space-sm);
  margin-bottom: var(--cvpro-space-2xl);
  justify-content: center;
}

.cvpro-category-tab {
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--cvpro-text-secondary);
  background: var(--cvpro-bg-secondary);
  border: 1px solid transparent;
  border-radius: var(--cvpro-radius-full);
  cursor: pointer;
  transition: all var(--cvpro-transition-fast);
}

.cvpro-category-tab:hover {
  color: var(--cvpro-primary);
  border-color: var(--cvpro-primary);
}

.cvpro-category-tab.is-active {
  background: var(--cvpro-primary);
  color: #FFFFFF;
  border-color: var(--cvpro-primary);
}

/* Load More Button */
#cvpro-load-more {
  display: block;
  margin: var(--cvpro-space-2xl) auto 0;
}

#cvpro-load-more.is-loading {
  pointer-events: none;
  opacity: 0.6;
}

/* --------------------------------------------------------------------------
   29. Newsletter Success/Error Messages
   -------------------------------------------------------------------------- */

.cvpro-newsletter-message {
  margin-top: var(--cvpro-space-sm);
  font-size: 0.8125rem;
  padding: var(--cvpro-space-sm) var(--cvpro-space-md);
  border-radius: var(--cvpro-radius-sm);
}

.cvpro-newsletter-message--success {
  background: rgba(14, 159, 110, 0.1);
  color: var(--cvpro-success);
}

.cvpro-newsletter-message--error {
  background: rgba(224, 36, 36, 0.1);
  color: var(--cvpro-error);
}

/* --------------------------------------------------------------------------
   30. Comments
   -------------------------------------------------------------------------- */

.cvpro-comments {
  margin-top: var(--cvpro-space-md);
  padding-top: var(--cvpro-space-md);
  border-top: 1px solid var(--cvpro-border);
}

.cvpro-comments-title {
  font-family: var(--cvpro-font-heading);
  font-size: 1.25rem;
  margin: 0 0 var(--cvpro-space-md);
}

.cvpro-comment-list {
  list-style: none;
  padding: 0;
  margin: 0 0 var(--cvpro-space-xl);
}

.cvpro-comment-list li.comment {
  padding: var(--cvpro-space-lg) 0;
  border-bottom: 1px solid var(--cvpro-border);
}

.cvpro-comment-list .comment-author {
  display: flex;
  align-items: center;
  gap: var(--cvpro-space-sm);
  margin-bottom: var(--cvpro-space-xs);
  font-weight: 600;
}

.cvpro-comment-list .comment-author img {
  border-radius: var(--cvpro-radius-full);
}

.cvpro-comment-list .comment-meta {
  font-size: 0.8125rem;
  color: var(--cvpro-text-secondary);
  margin-bottom: var(--cvpro-space-sm);
}

.cvpro-comment-list .comment-content p {
  margin: 0;
}

.cvpro-comment-list .children {
  list-style: none;
  padding-left: var(--cvpro-space-xl);
  margin: 0;
}

.cvpro-comment-form .comment-form-comment textarea,
.cvpro-comment-form .comment-form-author input,
.cvpro-comment-form .comment-form-email input,
.cvpro-comment-form .comment-form-url input {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid var(--cvpro-border);
  border-radius: var(--cvpro-radius-md);
  font-family: var(--cvpro-font-body);
  font-size: 0.9375rem;
  transition: border-color var(--cvpro-transition-fast);
}

.cvpro-comment-form textarea:focus,
.cvpro-comment-form input:focus {
  outline: none;
  border-color: var(--cvpro-primary);
  box-shadow: 0 0 0 3px rgba(var(--cvpro-primary-rgb), 0.1);
}

.cvpro-comment-form label {
  display: block;
  margin-bottom: 0.25rem;
  font-weight: 500;
  font-size: 0.875rem;
}

.cvpro-comment-form p {
  margin-bottom: var(--cvpro-space-md);
}

.cvpro-comment-reply-title {
  font-family: var(--cvpro-font-heading);
  font-size: 1.25rem;
  margin-bottom: var(--cvpro-space-lg);
}

.cvpro-comment-navigation {
  display: flex;
  justify-content: space-between;
  margin: var(--cvpro-space-md) 0;
  font-size: 0.875rem;
}

.cvpro-comments-closed {
  color: var(--cvpro-text-secondary);
  font-style: italic;
}

/* --------------------------------------------------------------------------
   31. Search Form
   -------------------------------------------------------------------------- */

.cvpro-search-form {
  display: flex;
  width: 100%;
  max-width: 480px;
  margin: 0 auto;
  box-sizing: border-box;
}

.cvpro-search-form-input {
  flex: 1 1 0;
  min-width: 0;
  padding: 0.65rem 0.85rem;
  border: 1px solid var(--cvpro-border);
  border-right: none;
  border-radius: var(--cvpro-radius-md) 0 0 var(--cvpro-radius-md);
  font-family: var(--cvpro-font-body);
  font-size: 0.9rem;
  box-sizing: border-box;
}

/* Sidebar context — keep the search compact so it can't bleed past the
   300px sidebar column. */
.cvpro-sidebar .cvpro-search-form,
.cvpro-single__sidebar .cvpro-search-form {
  max-width: 100%;
}
.cvpro-sidebar .cvpro-search-form-submit,
.cvpro-single__sidebar .cvpro-search-form-submit {
  padding: 0.55rem 0.7rem;
}

.cvpro-search-form-input:focus {
  outline: none;
  border-color: var(--cvpro-primary);
  box-shadow: 0 0 0 3px rgba(var(--cvpro-primary-rgb), 0.1);
}

.cvpro-search-form-submit {
  padding: 0.75rem 1rem;
  background: var(--cvpro-primary);
  color: #fff;
  border: 1px solid var(--cvpro-primary);
  border-radius: 0 var(--cvpro-radius-md) var(--cvpro-radius-md) 0;
  cursor: pointer;
  display: flex;
  align-items: center;
  transition: background var(--cvpro-transition-fast);
}

.cvpro-search-form-submit:hover {
  background: var(--cvpro-primary-dark);
}

/* --------------------------------------------------------------------------
   32. WordPress Pagination
   -------------------------------------------------------------------------- */

.nav-links {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.25rem;
  margin-top: var(--cvpro-space-2xl);
  flex-wrap: wrap;
}

.nav-links a,
.nav-links span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2.5rem;
  height: 2.5rem;
  padding: 0 0.75rem;
  border: 1px solid var(--cvpro-border);
  border-radius: var(--cvpro-radius-md);
  font-size: 0.875rem;
  font-weight: 500;
  text-decoration: none;
  color: var(--cvpro-text-primary);
  transition: all var(--cvpro-transition-fast);
}

.nav-links a:hover {
  border-color: var(--cvpro-primary);
  color: var(--cvpro-primary);
  background: rgba(var(--cvpro-primary-rgb), 0.05);
}

.nav-links .current {
  background: var(--cvpro-primary);
  border-color: var(--cvpro-primary);
  color: #fff;
}

.nav-links .dots {
  border: none;
  color: var(--cvpro-text-secondary);
}

.nav-links .prev,
.nav-links .next {
  font-size: 0.8125rem;
}

/* --------------------------------------------------------------------------
   33. Page Content & Single Post Prose
   -------------------------------------------------------------------------- */

.cvpro-page-header {
  margin-bottom: var(--cvpro-space-2xl);
}

.cvpro-page-title {
  font-family: var(--cvpro-font-heading);
  font-size: clamp(1.75rem, 4vw, 2.5rem);
}

.cvpro-page-content {
  max-width: 800px;
}

.cvpro-post-content h1 { font-size: 2rem; margin: 2rem 0 1rem; }
.cvpro-post-content h2 { font-size: 1.625rem; margin: 1.75rem 0 0.75rem; }
.cvpro-post-content h3 { font-size: 1.375rem; margin: 1.5rem 0 0.75rem; }
.cvpro-post-content h4 { font-size: 1.125rem; margin: 1.25rem 0 0.5rem; }
.cvpro-post-content h5,
.cvpro-post-content h6 { font-size: 1rem; margin: 1rem 0 0.5rem; }

.cvpro-post-content p {
  margin-bottom: 1.25rem;
}

.cvpro-post-content ul,
.cvpro-post-content ol {
  margin: 0 0 1.25rem 1.5rem;
}

.cvpro-post-content li {
  margin-bottom: 0.35rem;
}

.cvpro-post-content blockquote {
  margin: 1.5rem 0;
  padding: 1rem 1.5rem;
  border-left: 4px solid var(--cvpro-primary);
  background: var(--cvpro-bg-secondary);
  border-radius: 0 var(--cvpro-radius-md) var(--cvpro-radius-md) 0;
  font-style: italic;
  color: var(--cvpro-text-secondary);
}

.cvpro-post-content blockquote p:last-child {
  margin-bottom: 0;
}

.cvpro-post-content code {
  background: var(--cvpro-bg-secondary);
  padding: 0.15em 0.4em;
  border-radius: var(--cvpro-radius-sm);
  font-size: 0.875em;
  font-family: 'SFMono-Regular', Consolas, 'Liberation Mono', Menlo, monospace;
}

.cvpro-post-content pre {
  background: var(--cvpro-bg-dark);
  color: #e5e7eb;
  padding: 1.25rem;
  border-radius: var(--cvpro-radius-md);
  overflow-x: auto;
  margin: 1.5rem 0;
  font-size: 0.875rem;
  line-height: 1.6;
}

.cvpro-post-content pre code {
  background: transparent;
  padding: 0;
  font-size: inherit;
  color: inherit;
}

.cvpro-post-content table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.5rem 0;
  font-size: 0.9375rem;
}

.cvpro-post-content th,
.cvpro-post-content td {
  padding: 0.75rem 1rem;
  border: 1px solid var(--cvpro-border);
  text-align: left;
}

.cvpro-post-content th {
  background: var(--cvpro-bg-secondary);
  font-weight: 600;
}

.cvpro-post-content figure {
  margin: 1.5rem 0;
}

.cvpro-post-content figcaption {
  font-size: 0.8125rem;
  color: var(--cvpro-text-secondary);
  text-align: center;
  margin-top: 0.5rem;
}

.cvpro-post-content img {
  border-radius: var(--cvpro-radius-md);
}

.cvpro-post-content hr {
  border: none;
  border-top: 1px solid var(--cvpro-border);
  margin: 2rem 0;
}

.cvpro-post-content a {
  color: var(--cvpro-primary);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.cvpro-post-content a:hover {
  color: var(--cvpro-primary-dark);
}

/* --------------------------------------------------------------------------
   34. Button Disabled State
   -------------------------------------------------------------------------- */

.cvpro-btn:disabled,
.cvpro-btn[disabled] {
  opacity: 0.5;
  cursor: not-allowed;
  pointer-events: none;
}

/* --------------------------------------------------------------------------
   35. Single Post Extras
   -------------------------------------------------------------------------- */

.cvpro-single-header {
  max-width: 800px;
  margin: 0 auto var(--cvpro-space-2xl);
}

.cvpro-single-title {
  font-size: clamp(1.75rem, 5vw, 2.75rem);
  font-weight: var(--cvpro-single-title-weight, 800);
  letter-spacing: -0.02em;
  line-height: 1.15;
  margin-bottom: var(--cvpro-space-md);
}

.cvpro-single-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--cvpro-space-md);
  color: var(--cvpro-text-secondary);
  font-size: 0.875rem;
}

.cvpro-single-meta__author,
.cvpro-single-meta__date,
.cvpro-single-meta__reading-time,
.cvpro-single-meta__updated {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--cvpro-text-secondary);
  text-decoration: none;
}
.cvpro-single-meta__author:hover .cvpro-single-meta__author-name {
  color: var(--cvpro-primary);
}
.cvpro-single-meta__avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  object-fit: cover;
}
.cvpro-single-meta__author-name {
  font-weight: 600;
  color: var(--cvpro-text-primary);
}
.cvpro-single-meta__sep {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--cvpro-border, #e5e7eb);
  display: inline-block;
}

/* Layout variants */
.cvpro-single-meta--stacked {
  flex-direction: column;
  align-items: flex-start;
  gap: 0.4rem;
}
.cvpro-single-meta--stacked .cvpro-single-meta__sep {
  display: none;
}
.cvpro-single-meta--compact {
  gap: 0.6rem;
}

@media (max-width: 480px) {
  .cvpro-single-meta {
    gap: 0.75rem;
  }
  .cvpro-single-meta--inline .cvpro-single-meta__sep {
    display: none;
  }
}

.cvpro-single-author-inline {
  display: flex;
  align-items: center;
  gap: var(--cvpro-space-xs);
}

.cvpro-single-author-inline img {
  border-radius: var(--cvpro-radius-full);
  width: 36px;
  height: 36px;
}

.cvpro-single-featured {
  margin-bottom: var(--cvpro-space-xl);
}

/* Tight gaps between cover image, title block, excerpt and meta-row
   for ALL non-hero layouts (image-above, title-above, no-image). The
   `main.cvpro-single` ancestor lifts specificity so the rules win
   against the per-width `.cvpro-single--standard .cvpro-single-header`
   rules earlier in the file. */
main.cvpro-single .cvpro-single-featured {
  margin-bottom: 0.65rem !important;
}
/* image-above specifically — small but visible gap between cover and
   the categories/title block, not glued together. */
main.cvpro-single--header-image-above .cvpro-single-featured {
  margin-bottom: 0.65rem !important;
}
main.cvpro-single--header-image-above .cvpro-single-header {
  margin-top: 0 !important;
  padding-top: 0 !important;
}
main.cvpro-single .cvpro-single-header {
  margin-top: 0;
  margin-bottom: 0.55rem !important;
}
main.cvpro-single .cvpro-single-header__categories {
  margin-bottom: 0.5rem !important;
}
main.cvpro-single .cvpro-single-title {
  margin-bottom: 0.55rem !important;
}
main.cvpro-single .cvpro-single-excerpt {
  margin-bottom: 0.8rem !important;
}
main.cvpro-single .cvpro-single-header__meta-row {
  margin: 0.4rem 0 1.25rem !important;
}
main.cvpro-single .cvpro-single-excerpt + .cvpro-single-header {
  margin-top: 0;
}

.cvpro-single-featured img {
  width: 100%;
  height: auto;
  max-height: var(--cvpro-featured-max-h, 520px);
  object-fit: cover;
  border-radius: var(--cvpro-radius-2xl, 24px);
}
.cvpro-single-header__image img {
  border-radius: var(--cvpro-radius-2xl, 24px);
}

.cvpro-single-body {
  margin: 0 auto;
}

/* ── Single Post Layout System ────────────────────────────────────────── */

/* Content widths — header, body, featured image, excerpt, comments, related,
   tags, post nav all share the same column so the post reads as one aligned
   block (no orphan-wide image above a narrow text column, no out-of-line
   comments section).
   The comments block is included so comment width matches body width. */
.cvpro-single--narrow .cvpro-single-body,
.cvpro-single--narrow .cvpro-single-header,
.cvpro-single--narrow .cvpro-single-featured,
.cvpro-single--narrow .cvpro-single-excerpt,
.cvpro-single--narrow .cvpro-post-tags,
.cvpro-single--narrow .cvpro-social-share,
.cvpro-single--narrow .cvpro-author-box,
.cvpro-single--narrow .cvpro-related-posts,
.cvpro-single--narrow .cvpro-post-nav,
.cvpro-single--narrow .cvpro-single-comments { max-width: 920px; margin-inline: auto; }

/* Standard, Wide, and Full all stretch to the container edge so the article
   aligns horizontally with the footer (both bound by .cvpro-container). */
.cvpro-single--standard .cvpro-single-body,
.cvpro-single--standard .cvpro-single-header,
.cvpro-single--standard .cvpro-single-featured,
.cvpro-single--standard .cvpro-single-excerpt,
.cvpro-single--standard .cvpro-post-tags,
.cvpro-single--standard .cvpro-social-share,
.cvpro-single--standard .cvpro-author-box,
.cvpro-single--standard .cvpro-related-posts,
.cvpro-single--standard .cvpro-post-nav,
.cvpro-single--standard .cvpro-single-comments { max-width: 100%; margin-inline: auto; }

.cvpro-single--wide .cvpro-single-body,
.cvpro-single--wide .cvpro-single-header,
.cvpro-single--wide .cvpro-single-featured,
.cvpro-single--wide .cvpro-single-excerpt,
.cvpro-single--wide .cvpro-post-tags,
.cvpro-single--wide .cvpro-social-share,
.cvpro-single--wide .cvpro-author-box,
.cvpro-single--wide .cvpro-related-posts,
.cvpro-single--wide .cvpro-post-nav,
.cvpro-single--wide .cvpro-single-comments { max-width: 100%; margin-inline: auto; }

.cvpro-single--full .cvpro-single-body,
.cvpro-single--full .cvpro-single-header,
.cvpro-single--full .cvpro-single-featured,
.cvpro-single--full .cvpro-single-excerpt,
.cvpro-single--full .cvpro-post-tags,
.cvpro-single--full .cvpro-social-share,
.cvpro-single--full .cvpro-author-box,
.cvpro-single--full .cvpro-related-posts,
.cvpro-single--full .cvpro-post-nav,
.cvpro-single--full .cvpro-single-comments { max-width: 100%; }

/* Title alignment — the cvpro-single--align-{X} class lives on the same
   element as .cvpro-single-header / .cvpro-single-hero, so we use compound
   selectors and target descendants for inline content. */
.cvpro-single-header.cvpro-single--align-left,
.cvpro-single-hero.cvpro-single--align-left .cvpro-single-hero__content {
  text-align: left;
}
/* Base styles for the category badges shown above the title in non-hero
   layouts (title-above, image-above, side-left, side-right). The hero
   variant has its own translucent override further down. */
.cvpro-single-header__categories {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-bottom: 0.85rem;
}
.cvpro-single-header__category-badge {
  display: inline-flex;
  align-items: center;
  padding: 0.28rem 0.7rem;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  text-decoration: none;
  line-height: 1.1;
  border: 1px solid transparent;
  transition: filter 0.15s ease, transform 0.15s ease;
}
.cvpro-single-header__category-badge:hover {
  filter: brightness(0.92);
  transform: translateY(-1px);
}

.cvpro-single-header.cvpro-single--align-left .cvpro-single-header__categories,
.cvpro-single-hero.cvpro-single--align-left .cvpro-single-header__categories {
  justify-content: flex-start;
}
.cvpro-single-header.cvpro-single--align-left .cvpro-single-meta,
.cvpro-single-hero.cvpro-single--align-left .cvpro-single-meta {
  justify-content: flex-start;
}

.cvpro-single-header.cvpro-single--align-center,
.cvpro-single-hero.cvpro-single--align-center .cvpro-single-hero__content {
  text-align: center;
}
.cvpro-single-header.cvpro-single--align-center .cvpro-single-header__categories,
.cvpro-single-hero.cvpro-single--align-center .cvpro-single-header__categories {
  justify-content: center;
}
.cvpro-single-header.cvpro-single--align-center .cvpro-single-meta,
.cvpro-single-hero.cvpro-single--align-center .cvpro-single-meta {
  justify-content: center;
}

.cvpro-single-header.cvpro-single--align-right,
.cvpro-single-hero.cvpro-single--align-right .cvpro-single-hero__content {
  text-align: right;
}
.cvpro-single-header.cvpro-single--align-right .cvpro-single-header__categories,
.cvpro-single-hero.cvpro-single--align-right .cvpro-single-header__categories {
  justify-content: flex-end;
}
.cvpro-single-header.cvpro-single--align-right .cvpro-single-meta,
.cvpro-single-hero.cvpro-single--align-right .cvpro-single-meta {
  justify-content: flex-end;
}

/* Side-by-side header — alignment applies to text inside __text column */
.cvpro-single-header--side.cvpro-single--align-left .cvpro-single-header__text {
  text-align: left;
}
.cvpro-single-header--side.cvpro-single--align-center .cvpro-single-header__text {
  text-align: center;
}
.cvpro-single-header--side.cvpro-single--align-right .cvpro-single-header__text {
  text-align: right;
}

/* Sidebar layout — grid with two columns. Both flow naturally; the
   grid container's height = the taller of the two columns. */
.cvpro-single__layout { display: block; }
.cvpro-single__layout--sidebar {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 3rem;
  align-items: start;
}
.cvpro-single__main {
  min-width: 0;
}
/* Sidebar in normal grid flow, top-aligned. */
.cvpro-single__sidebar {
  position: static !important;
  align-self: start !important;
  min-width: 0;
  overflow: visible !important;
}

/* Sticky is fragile — any ancestor with overflow:hidden / overflow:auto
   on the *block* axis will prevent the sidebar from sticking. Force the
   relevant ancestors to overflow:visible so sticky works. */
.cvpro-single__layout,
.cvpro-single__layout--sidebar,
.cvpro-single__main,
main.cvpro-single,
main.cvpro-single .cvpro-container {
  overflow: visible !important;
}

/* Prev/next + Related sit below the sidebar grid in their own
   full-width container. */
.cvpro-single__after {
  margin-top: var(--cvpro-space-lg);
}

@media (max-width: 1024px) {
  .cvpro-single__layout--sidebar {
    grid-template-columns: 1fr;
  }
}

/* Bottom CTA banner under related articles — mirrors the homepage
   "Ready to Perfect Your Architecture Portfolio?" section style. */
.cvpro-blog-cta {
  margin: var(--cvpro-space-xl) 0 0;
}
.cvpro-blog-cta__inner {
  position: relative;
  border-radius: var(--cvpro-radius-2xl, 24px);
  overflow: hidden;
  padding: 3rem 2.5rem;
  text-align: center;
  isolation: isolate;
}
.cvpro-blog-cta__bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--cvpro-primary), var(--cvpro-primary-dark, var(--cvpro-primary)));
  z-index: -1;
}
.cvpro-blog-cta__bg::before,
.cvpro-blog-cta__bg::after {
  content: '';
  position: absolute;
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
}
.cvpro-blog-cta__bg::before {
  top: -80px;
  right: -60px;
  width: 240px;
  height: 240px;
}
.cvpro-blog-cta__bg::after {
  bottom: -100px;
  left: -80px;
  width: 280px;
  height: 280px;
  background: rgba(255,255,255,0.06);
}
.cvpro-blog-cta__content {
  max-width: 640px;
  margin: 0 auto;
  position: relative;
}
.cvpro-blog-cta__headline {
  font-family: var(--cvpro-font-heading);
  font-size: clamp(1.45rem, 2.6vw, 2.1rem);
  font-weight: 800;
  color: #fff;
  margin: 0 0 0.85rem;
  line-height: 1.2;
  letter-spacing: -0.01em;
}
.cvpro-blog-cta__subtext {
  font-size: clamp(0.95rem, 1.3vw, 1.05rem);
  color: rgba(255,255,255,0.92);
  margin: 0 0 1.5rem;
  line-height: 1.55;
}
.cvpro-blog-cta__btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.85rem 1.85rem;
  background: #fff;
  color: var(--cvpro-primary);
  font-weight: 700;
  font-size: 1rem;
  border-radius: var(--cvpro-radius-md, 10px);
  text-decoration: none;
  box-shadow: 0 8px 24px rgba(0,0,0,0.12);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.cvpro-blog-cta__btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(0,0,0,0.18);
  color: var(--cvpro-primary-dark, var(--cvpro-primary));
}
@media (max-width: 768px) {
  .cvpro-blog-cta__inner {
    padding: 2.25rem 1.5rem;
    border-radius: var(--cvpro-radius-xl, 16px);
  }
  .cvpro-blog-cta__btn {
    width: 100%;
    justify-content: center;
  }
}

@media (max-width: 1024px) {
  .cvpro-single__sidebar {
    position: static !important;
    overflow: visible;
  }
}
@media (max-width: 1024px) {
  .cvpro-single__layout--sidebar {
    grid-template-columns: 1fr;
  }
  .cvpro-single__sidebar {
    position: static;
    max-height: none;
    overflow: visible;
  }
}

/* Hero overlay layout */
.cvpro-single-hero {
  position: relative;
  min-height: 420px;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  margin-bottom: 0;
}
.cvpro-single-hero__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.cvpro-single-hero__overlay {
  position: absolute;
  inset: 0;
  /* Strong gradient at the bottom where the text sits, fading up so the
     image stays visible on top. */
  background: linear-gradient(
    to top,
    rgba(0,0,0,0.85) 0%,
    rgba(0,0,0,0.55) 35%,
    rgba(0,0,0,0.15) 70%,
    rgba(0,0,0,0)    100%
  );
}
.cvpro-single-hero__content {
  position: relative;
  z-index: 1;
  padding-bottom: 3rem;
  color: #fff;
  text-shadow: 0 1px 2px rgba(0,0,0,0.25);
}
.cvpro-single-hero__content .cvpro-single-title,
.cvpro-single-hero__content .cvpro-single-title a {
  color: #fff;
}
/* All meta atoms: dates, reading time, author name, separators — white-on-image */
.cvpro-single-hero__content .cvpro-single-meta,
.cvpro-single-hero__content .cvpro-single-meta a,
.cvpro-single-hero__content .cvpro-single-meta__author,
.cvpro-single-hero__content .cvpro-single-meta__author-name,
.cvpro-single-hero__content .cvpro-single-meta__date,
.cvpro-single-hero__content .cvpro-single-meta__reading-time,
.cvpro-single-hero__content .cvpro-single-meta__updated {
  color: #ffffff;
}
.cvpro-single-hero__content .cvpro-single-meta__sep {
  background: rgba(255,255,255,0.55);
}
.cvpro-single-hero__content .cvpro-single-meta__avatar {
  border: 2px solid rgba(255,255,255,0.7);
}
.cvpro-single-hero__content .cvpro-single-header__category-badge {
  background: rgba(255,255,255,0.22);
  color: #fff;
  border: 1px solid rgba(255,255,255,0.3);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}
.cvpro-single-hero__content .cvpro-breadcrumb,
.cvpro-single-hero__content .cvpro-breadcrumb a {
  color: rgba(255,255,255,0.85);
  background: rgba(0,0,0,0.25);
  border-color: rgba(255,255,255,0.2);
}
.cvpro-single-hero__content .cvpro-breadcrumb__separator {
  color: rgba(255,255,255,0.55);
}

/* Full-bleed hero (wider, taller) */
.cvpro-single-hero--full-bleed { min-height: 520px; }

/* Side-by-side layout — image on one column, text on the other.
   side-left  = image left,  text right (image takes order:-1 in DOM order)
   side-right = image right, text left  (default text order, image last)
*/
.cvpro-single-header--side {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
  margin-bottom: var(--cvpro-space-2xl);
  text-align: left;
}
.cvpro-single-header--side .cvpro-single-header__text {
  min-width: 0; /* prevent overflow with long titles */
}
.cvpro-single-header--side-left .cvpro-single-header__image  { order: -1; }
.cvpro-single-header--side-right .cvpro-single-header__image { order: 1; }
.cvpro-single-header__image {
  overflow: hidden;
  border-radius: var(--cvpro-radius-2xl, 24px);
  aspect-ratio: 4 / 3;
  background: var(--cvpro-bg-secondary, #f9fafb);
}
.cvpro-single-header__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: var(--cvpro-radius-2xl, 24px);
}

/* Tight header internals for side-left / side-right layouts so they
   match the new image-above + title-above tightness. */
.cvpro-single-header--side .cvpro-single-header__categories {
  margin-bottom: 0.55rem;
}
.cvpro-single-header--side .cvpro-single-title {
  margin-bottom: 0.6rem;
}
.cvpro-single-header--side .cvpro-single-meta {
  margin-top: 0.35rem;
}
.cvpro-single-header--side {
  margin-bottom: var(--cvpro-space-lg);
}

/* No-image layout — give the bare title some breathing room */
.cvpro-single-header:not(.cvpro-single-header--side) {
  margin-bottom: var(--cvpro-space-2xl);
}

@media (max-width: 768px) {
  .cvpro-single-header--side {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  /* On mobile both side-left and side-right collapse to: image first, text below */
  .cvpro-single-header--side .cvpro-single-header__image {
    order: -1;
  }
  .cvpro-single-header__image { aspect-ratio: 16 / 9; }
  .cvpro-single-hero { min-height: 320px; }
  .cvpro-single-hero--full-bleed { min-height: 360px; }
}

.cvpro-reading-time {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
}

.cvpro-updated-date {
  font-style: italic;
}

/* --------------------------------------------------------------------------
   36. Social Share
   -------------------------------------------------------------------------- */

.cvpro-share-buttons {
  display: flex;
  align-items: center;
  gap: var(--cvpro-space-sm);
  margin: var(--cvpro-space-xl) 0;
  padding: var(--cvpro-space-lg) 0;
  border-top: 1px solid var(--cvpro-border);
  border-bottom: 1px solid var(--cvpro-border);
}

.cvpro-share-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: var(--cvpro-radius-full);
  border: 1px solid var(--cvpro-border);
  color: var(--cvpro-text-secondary);
  background: transparent;
  cursor: pointer;
  transition: all var(--cvpro-transition-fast);
}

.cvpro-share-btn:hover {
  border-color: var(--cvpro-primary);
  color: var(--cvpro-primary);
  background: rgba(var(--cvpro-primary-rgb), 0.05);
}

.cvpro-share-copy {
  position: relative;
}

.cvpro-share-copy-tooltip {
  position: absolute;
  bottom: calc(100% + 8px);
  left: 50%;
  transform: translateX(-50%) scale(0.9);
  background: var(--cvpro-bg-dark);
  color: #fff;
  font-size: 0.75rem;
  padding: 0.25rem 0.5rem;
  border-radius: var(--cvpro-radius-sm);
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: all var(--cvpro-transition-fast);
}

.cvpro-share-copy-tooltip.is-visible {
  opacity: 1;
  transform: translateX(-50%) scale(1);
}

/* --------------------------------------------------------------------------
   37. Post Navigation (Prev/Next) — legacy hooks kept for back-compat only.
   The active layout lives in section 16 (.cvpro-post-nav + .cvpro-post-nav__grid).
   -------------------------------------------------------------------------- */

.cvpro-post-nav a {
  text-decoration: none;
  color: var(--cvpro-text-primary);
  transition: color var(--cvpro-transition-fast);
}

.cvpro-post-nav a:hover {
  color: var(--cvpro-primary);
}

.cvpro-post-nav-label {
  display: block;
  font-size: 0.8125rem;
  color: var(--cvpro-text-secondary);
  margin-bottom: 0.25rem;
}

.cvpro-post-nav-title {
  font-weight: 600;
}

.cvpro-post-nav-next {
  text-align: right;
}

@media (max-width: 768px) {
  .cvpro-post-nav {
    grid-template-columns: 1fr;
  }
  .cvpro-post-nav-next {
    text-align: left;
  }
}

/* --------------------------------------------------------------------------
   38. Breadcrumb
   -------------------------------------------------------------------------- */

.cvpro-breadcrumb {
  margin-bottom: var(--cvpro-space-xl);
}


/* --------------------------------------------------------------------------
   39. Related Posts
   -------------------------------------------------------------------------- */

.cvpro-related-posts {
  margin-top: var(--cvpro-space-lg);
  padding-top: var(--cvpro-space-md);
  border-top: 1px solid var(--cvpro-border);
}

.cvpro-related-posts .cvpro-section-title {
  font-size: 1.5rem;
  margin-bottom: var(--cvpro-space-xl);
}

/* --------------------------------------------------------------------------
   40. Archive Header
   -------------------------------------------------------------------------- */

.cvpro-archive-header {
  margin-bottom: var(--cvpro-space-xl);
}

/* --------------------------------------------------------------------------
   41. 404 Page
   -------------------------------------------------------------------------- */

.cvpro-404 {
  text-align: center;
}

/* --------------------------------------------------------------------------
   42. Sidebar
   -------------------------------------------------------------------------- */

.cvpro-sidebar {
  position: sticky;
  top: calc(var(--cvpro-space-2xl) + 80px);
}

.cvpro-widget {
  margin-bottom: var(--cvpro-space-xl);
}

.cvpro-widget-title {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: var(--cvpro-space-md);
  padding-bottom: var(--cvpro-space-sm);
  border-bottom: 2px solid var(--cvpro-primary);
}

.cvpro-sidebar-cta {
  text-align: center;
}

/* Unified archive controls bar */
.cvpro-archive-controls {
  margin: 0 0 1rem;
}
.cvpro-archive-controls__form {
  --cvpro-controls-h: 38px;       /* uniform control height (slimmer) */
  display: flex;
  flex-wrap: wrap;
  align-items: center;            /* center children so the frame sits tight */
  gap: 0.5rem;
  background: var(--cvpro-bg-primary);
  border: 1px solid var(--cvpro-border, #e5e7eb);
  border-radius: var(--cvpro-radius-md, 8px);
  padding: 0.3rem;
  line-height: 1;
}
.cvpro-archive-controls__form > * {
  margin: 0;       /* kill any inherited form-element margins inside the frame */
}
.cvpro-archive-controls__search {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex: 1 1 240px;
  min-width: 180px;
  height: var(--cvpro-controls-h);
  padding: 0 0.85rem;
  background: var(--cvpro-bg-secondary, #f9fafb);
  border-radius: var(--cvpro-radius-md, 8px);
  color: var(--cvpro-text-secondary);
  box-sizing: border-box;
}
.cvpro-archive-controls__search input[type="search"] {
  flex: 1;
  height: 100%;
  border: none;
  outline: none;
  background: transparent;
  font: inherit;
  color: var(--cvpro-text-primary);
  min-width: 0;
  padding: 0;
}
.cvpro-archive-controls__select {
  position: relative;
  display: flex;
  align-items: stretch;
}
.cvpro-archive-controls__select select {
  appearance: none;
  -webkit-appearance: none;
  height: var(--cvpro-controls-h);
  background: var(--cvpro-bg-secondary, #f9fafb);
  border: 1px solid var(--cvpro-border, #e5e7eb);
  border-radius: var(--cvpro-radius-md, 8px);
  padding: 0 1.85rem 0 0.85rem;
  font: inherit;
  color: var(--cvpro-text-primary);
  cursor: pointer;
  box-sizing: border-box;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23667085' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><polyline points='6 9 12 15 18 9'/></svg>");
  background-repeat: no-repeat;
  background-position: right 0.6rem center;
  background-size: 12px;
}
.cvpro-archive-controls__view {
  margin-left: auto;
  display: inline-flex;
  align-items: stretch;
  height: var(--cvpro-controls-h);
  border: 1px solid var(--cvpro-border, #e5e7eb);
  border-radius: var(--cvpro-radius-md, 8px);
  overflow: hidden;
  box-sizing: border-box;
}
.cvpro-archive-controls__view .cvpro-view-toggle__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: none;
  border-radius: 0;
  padding: 0 0.85rem;
  height: 100%;
  background: var(--cvpro-bg-primary);
  color: var(--cvpro-text-secondary);
  cursor: pointer;
}
.cvpro-archive-controls__view .cvpro-view-toggle__btn.is-active {
  background: var(--cvpro-primary);
  color: #fff;
}

@media (max-width: 600px) {
  .cvpro-archive-controls__view { margin-left: 0; }
  .cvpro-archive-controls__select--cols { flex: 1; }
}

/* Sidebar fallback blocks */
.cvpro-sidebar-block {
  background: var(--cvpro-bg-primary);
  border: 1px solid var(--cvpro-border, #e5e7eb);
  border-radius: var(--cvpro-radius-lg, 12px);
  padding: 1.25rem;
  margin-bottom: 1.25rem;
}

/* ── Popular Articles ────────────────────────────────────────────── */
.cvpro-sidebar-popular {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.75rem;
}
.cvpro-sidebar-popular__item {
  display: flex;
  gap: 0.65rem;
  align-items: flex-start;
}
.cvpro-sidebar-popular__rank {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--cvpro-primary);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.cvpro-sidebar-popular__title {
  font-size: 0.85rem;
  line-height: 1.4;
  color: var(--cvpro-text-primary);
  text-decoration: none;
}
.cvpro-sidebar-popular__title:hover {
  color: var(--cvpro-primary);
}

/* ── Author Bio ──────────────────────────────────────────────────── */
.cvpro-sidebar-author {
  text-align: center;
}
.cvpro-sidebar-author__avatar {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  margin: 0 auto 0.6rem;
  display: block;
  border: 3px solid rgba(var(--cvpro-primary-rgb), 0.15);
}
.cvpro-sidebar-author__name {
  display: block;
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--cvpro-text-primary);
  text-decoration: none;
  margin-bottom: 0.4rem;
}
.cvpro-sidebar-author__name:hover {
  color: var(--cvpro-primary);
}
.cvpro-sidebar-author__bio {
  font-size: 0.82rem;
  line-height: 1.5;
  color: var(--cvpro-text-secondary);
  margin: 0;
}

/* ── Featured Categories ─────────────────────────────────────────── */
.cvpro-sidebar-features {
  display: grid;
  gap: 0.5rem;
}
.cvpro-sidebar-features__item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.55rem 0.85rem;
  border-radius: 8px;
  font-size: 0.85rem;
  font-weight: 600;
  text-decoration: none;
  transition: filter 0.15s ease, transform 0.15s ease;
}
.cvpro-sidebar-features__item:hover {
  filter: brightness(0.92);
  transform: translateX(3px);
}
.cvpro-sidebar-features__count {
  font-size: 0.72rem;
  opacity: 0.85;
  background: rgba(255,255,255,0.22);
  padding: 0.1rem 0.4rem;
  border-radius: 999px;
}

/* ── Monthly Archive ─────────────────────────────────────────────── */
.cvpro-sidebar-archive {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.4rem;
}
.cvpro-sidebar-archive li a {
  font-size: 0.85rem;
  color: var(--cvpro-text-primary);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}
.cvpro-sidebar-archive li a::before {
  content: '›';
  color: var(--cvpro-text-secondary);
  font-weight: 700;
}
.cvpro-sidebar-archive li a:hover {
  color: var(--cvpro-primary);
}

/* ── Custom HTML / Promo ─────────────────────────────────────────── */
.cvpro-sidebar-html {
  font-size: 0.88rem;
  line-height: 1.55;
}
.cvpro-sidebar-html img { max-width: 100%; height: auto; border-radius: 8px; }
.cvpro-sidebar-html a { color: var(--cvpro-primary); }

/* ── Reading Stats ───────────────────────────────────────────────── */
.cvpro-sidebar-stats {
  margin: 0;
  display: grid;
  gap: 0.4rem;
}
.cvpro-sidebar-stats__row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 0.35rem 0;
  border-bottom: 1px solid var(--cvpro-border);
}
.cvpro-sidebar-stats__row:last-child { border-bottom: none; }
.cvpro-sidebar-stats dt {
  font-size: 0.82rem;
  color: var(--cvpro-text-secondary);
}
.cvpro-sidebar-stats dd {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--cvpro-primary);
  margin: 0;
}

/* ── Tip / Quote ─────────────────────────────────────────────────── */
.cvpro-sidebar-quote {
  margin: 0;
  padding: 0.85rem 1rem;
  background: rgba(var(--cvpro-primary-rgb), 0.05);
  border-left: 3px solid var(--cvpro-primary);
  border-radius: 0 8px 8px 0;
}
.cvpro-sidebar-quote__text {
  font-size: 0.88rem;
  line-height: 1.55;
  font-style: italic;
  color: var(--cvpro-text-primary);
  margin: 0 0 0.4rem;
}
.cvpro-sidebar-quote__author {
  display: block;
  font-size: 0.75rem;
  color: var(--cvpro-text-secondary);
  font-style: normal;
}

/* ── Free Score Mini-CTA ─────────────────────────────────────────── */
.cvpro-sidebar-block--score {
  background: linear-gradient(160deg, var(--cvpro-primary), var(--cvpro-primary-dark, var(--cvpro-primary)));
  color: #fff;
  border: none;
  text-align: center;
  padding: 1.5rem 1.25rem;
  position: relative;
  overflow: hidden;
}
.cvpro-sidebar-block--score::before {
  content: '';
  position: absolute;
  top: -40px; right: -40px;
  width: 140px; height: 140px;
  background: rgba(255,255,255,0.08);
  border-radius: 50%;
}
.cvpro-sidebar-score__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(255,255,255,0.18);
  color: #fff;
  margin: 0 auto 0.65rem;
  position: relative;
}
.cvpro-sidebar-score__title {
  font-size: 1.05rem;
  font-weight: 700;
  margin: 0 0 0.4rem;
  color: #fff;
  position: relative;
}
.cvpro-sidebar-score__sub {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.88);
  margin: 0 0 1rem;
  line-height: 1.45;
  position: relative;
}
.cvpro-sidebar-score__btn {
  width: 100%;
  background: #fff !important;
  color: var(--cvpro-primary) !important;
  font-weight: 700;
  position: relative;
}
.cvpro-sidebar-score__btn:hover {
  background: rgba(255,255,255,0.92) !important;
  transform: translateY(-1px);
}
.cvpro-sidebar-score__trust {
  margin-top: 0.85rem;
  font-size: 0.72rem;
  color: rgba(255,255,255,0.78);
  position: relative;
}
.cvpro-sidebar-score__trust strong { color: #fff; }

/* ── Live Activity ───────────────────────────────────────────────── */
.cvpro-sidebar-block--activity {
  background: linear-gradient(180deg, rgba(16,185,129,0.04), var(--cvpro-bg-primary));
  border-color: rgba(16,185,129,0.2);
}
.cvpro-sidebar-block--activity .cvpro-sidebar-block__title {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.cvpro-sidebar-activity__dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #10b981;
  box-shadow: 0 0 0 4px rgba(16,185,129,0.18);
  animation: cvpro-pulse-dot 2s infinite;
}
.cvpro-sidebar-activity__list {
  list-style: none;
  margin: 0 0 0.85rem;
  padding: 0;
  min-height: 50px;
}
.cvpro-sidebar-activity__item {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 0.3rem;
  font-size: 0.83rem;
  line-height: 1.4;
  transition: opacity 0.5s ease, transform 0.5s ease;
}
.cvpro-sidebar-activity__name {
  font-weight: 700;
  color: var(--cvpro-text-primary);
}
.cvpro-sidebar-activity__action {
  color: var(--cvpro-text-secondary);
}
.cvpro-sidebar-activity__time {
  font-size: 0.72rem;
  color: var(--cvpro-text-secondary);
  opacity: 0.75;
  margin-left: auto;
}
.cvpro-sidebar-activity__total {
  margin: 0;
  padding-top: 0.65rem;
  border-top: 1px solid var(--cvpro-border);
  font-size: 0.78rem;
  color: var(--cvpro-text-secondary);
}
.cvpro-sidebar-activity__total strong {
  color: var(--cvpro-text-primary);
  font-size: 0.95rem;
}

/* ── Limited-Time Promo ──────────────────────────────────────────── */
.cvpro-sidebar-block--promo {
  background: linear-gradient(160deg, #fef3c7, #fffbeb);
  border-color: #fcd34d;
  position: relative;
}
.cvpro-sidebar-promo__badge {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.22rem 0.6rem;
  background: #d97706;
  color: #fff;
  border-radius: 999px;
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 0.6rem;
}
.cvpro-sidebar-promo__title {
  font-size: 1.02rem;
  font-weight: 700;
  color: #78350f;
  margin: 0 0 0.4rem;
  line-height: 1.3;
}
.cvpro-sidebar-promo__text {
  font-size: 0.82rem;
  color: #92400e;
  margin: 0 0 0.85rem;
  line-height: 1.45;
}
.cvpro-sidebar-promo__countdown {
  display: flex;
  gap: 0.4rem;
  margin: 0 0 0.85rem;
}
.cvpro-sidebar-promo__cd-block {
  flex: 1;
  background: #fff;
  border: 1px solid #fcd34d;
  border-radius: 6px;
  padding: 0.4rem 0.2rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
}
.cvpro-sidebar-promo__cd-block b {
  font-size: 1rem;
  font-weight: 800;
  color: #78350f;
  font-feature-settings: "tnum";
  font-variant-numeric: tabular-nums;
}
.cvpro-sidebar-promo__cd-block small {
  font-size: 0.6rem;
  color: #92400e;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.cvpro-sidebar-promo__btn {
  width: 100%;
  background: #d97706 !important;
  color: #fff !important;
  border-color: #d97706 !important;
}
.cvpro-sidebar-promo__btn:hover {
  background: #b45309 !important;
}

/* ── Sample Review Card ──────────────────────────────────────────── */
.cvpro-sidebar-block--sample {
  text-align: center;
  background: linear-gradient(180deg, rgba(var(--cvpro-primary-rgb), 0.04), var(--cvpro-bg-primary));
}
.cvpro-sidebar-sample__score-ring {
  position: relative;
  width: 60px;
  height: 60px;
  margin: 0 auto 0.65rem;
}
.cvpro-sidebar-sample__ring-svg {
  width: 100%;
  height: 100%;
}
.cvpro-sidebar-sample__score-num {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--cvpro-text-primary);
  font-feature-settings: "tnum";
}
.cvpro-sidebar-sample__title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--cvpro-text-primary);
  margin: 0 0 0.4rem;
}
.cvpro-sidebar-sample__text {
  font-size: 0.82rem;
  color: var(--cvpro-text-secondary);
  margin: 0 0 0.85rem;
  line-height: 1.45;
}
.cvpro-sidebar-sample__btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--cvpro-primary);
  text-decoration: none;
  padding: 0.45rem 0.85rem;
  border: 1px solid rgba(var(--cvpro-primary-rgb), 0.3);
  border-radius: 8px;
  transition: background 0.15s ease;
}
.cvpro-sidebar-sample__btn:hover {
  background: rgba(var(--cvpro-primary-rgb), 0.08);
}

/* ── Money-Back Guarantee Badge ──────────────────────────────────── */
.cvpro-sidebar-block--guarantee {
  text-align: center;
  background: linear-gradient(180deg, rgba(16,185,129,0.06), var(--cvpro-bg-primary));
  border-color: rgba(16,185,129,0.25);
}
.cvpro-sidebar-guarantee__shield {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: rgba(16,185,129,0.12);
  color: #059669;
  margin: 0 auto 0.6rem;
}
.cvpro-sidebar-guarantee__title {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--cvpro-text-primary);
  margin: 0 0 0.4rem;
}
.cvpro-sidebar-guarantee__text {
  font-size: 0.8rem;
  color: var(--cvpro-text-secondary);
  margin: 0;
  line-height: 1.45;
}

/* ── Email Course / Lead Magnet ──────────────────────────────────── */
.cvpro-sidebar-block--lead {
  background: linear-gradient(160deg, rgba(var(--cvpro-primary-rgb), 0.06), var(--cvpro-bg-primary));
  border-color: rgba(var(--cvpro-primary-rgb), 0.2);
}
.cvpro-sidebar-lead__badge {
  display: inline-block;
  padding: 0.18rem 0.55rem;
  background: var(--cvpro-primary);
  color: #fff;
  border-radius: 999px;
  font-size: 0.62rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  margin-bottom: 0.55rem;
}
.cvpro-sidebar-lead__title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--cvpro-text-primary);
  margin: 0 0 0.4rem;
  line-height: 1.3;
}
.cvpro-sidebar-lead__text {
  font-size: 0.82rem;
  color: var(--cvpro-text-secondary);
  margin: 0 0 0.85rem;
  line-height: 1.5;
}
.cvpro-sidebar-lead__form {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-bottom: 0.6rem;
}
.cvpro-sidebar-lead__form input[type="email"] {
  padding: 0.55rem 0.8rem;
  border: 1px solid var(--cvpro-border);
  border-radius: 8px;
  font-size: 0.85rem;
  width: 100%;
  box-sizing: border-box;
  min-width: 0;
}
.cvpro-sidebar-lead__form input[type="email"]:focus {
  outline: none;
  border-color: var(--cvpro-primary);
  box-shadow: 0 0 0 3px rgba(var(--cvpro-primary-rgb), 0.12);
}
.cvpro-sidebar-lead__form .cvpro-btn {
  width: 100%;
  padding: 0.55rem 0.8rem;
  font-size: 0.85rem;
  justify-content: center;
}
.cvpro-sidebar-lead__perks {
  margin: 0;
  font-size: 0.72rem;
  color: var(--cvpro-text-secondary);
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
}

/* ── Sticky TOC ──────────────────────────────────────────────────── */
.cvpro-sidebar-toc__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.4rem;
}
.cvpro-sidebar-toc__list a {
  font-size: 0.83rem;
  line-height: 1.4;
  color: var(--cvpro-text-secondary);
  text-decoration: none;
  display: inline-flex;
  align-items: flex-start;
  gap: 0.4rem;
  padding-left: 0.5rem;
  border-left: 2px solid transparent;
  transition: color 0.15s, border-color 0.15s;
}
.cvpro-sidebar-toc__list a.is-active,
.cvpro-sidebar-toc__list a:hover {
  color: var(--cvpro-primary);
  border-left-color: var(--cvpro-primary);
}
.cvpro-sidebar-toc__list .cvpro-sidebar-toc__sub {
  list-style: none;
  margin: 0.35rem 0 0;
  padding: 0 0 0 0.85rem;
  display: grid;
  gap: 0.3rem;
}
.cvpro-sidebar-block__title {
  font-size: 0.95rem;
  font-weight: 700;
  margin: 0 0 0.85rem;
  letter-spacing: 0.01em;
  color: var(--cvpro-text-primary);
}
.cvpro-sidebar-block__text {
  font-size: 0.875rem;
  color: var(--cvpro-text-secondary);
  margin: 0 0 0.85rem;
  line-height: 1.55;
}
.cvpro-sidebar-block__btn {
  width: 100%;
  justify-content: center;
}
/* Filled primary CTA — solid theme color background, white text,
   white inset button. Matches the homepage CTA style. */
.cvpro-sidebar-block--cta {
  background: linear-gradient(135deg, var(--cvpro-primary), var(--cvpro-primary-dark, var(--cvpro-primary)));
  border: none;
  color: #fff;
  position: relative;
  overflow: hidden;
}
.cvpro-sidebar-block--cta::before {
  content: '';
  position: absolute;
  top: -40px; right: -40px;
  width: 140px; height: 140px;
  background: rgba(255,255,255,0.08);
  border-radius: 50%;
  pointer-events: none;
}
.cvpro-sidebar-block--cta .cvpro-sidebar-block__title,
.cvpro-sidebar-block--cta .cvpro-sidebar-block__text {
  color: #fff;
  position: relative;
}
.cvpro-sidebar-block--cta .cvpro-sidebar-block__text {
  color: rgba(255,255,255,0.92);
}
.cvpro-sidebar-block--cta .cvpro-sidebar-block__btn,
.cvpro-sidebar-block--cta .cvpro-btn--primary {
  background: #fff !important;
  color: var(--cvpro-primary) !important;
  border-color: #fff !important;
  font-weight: 700;
  position: relative;
}
.cvpro-sidebar-block--cta .cvpro-sidebar-block__btn:hover,
.cvpro-sidebar-block--cta .cvpro-btn--primary:hover {
  background: rgba(255,255,255,0.92) !important;
  transform: translateY(-1px);
}

/* Filled primary newsletter block */
.cvpro-sidebar-block--newsletter {
  background: linear-gradient(135deg, var(--cvpro-primary), var(--cvpro-primary-dark, var(--cvpro-primary)));
  border: none;
  color: #fff;
  position: relative;
  overflow: hidden;
}
.cvpro-sidebar-block--newsletter::before {
  content: '';
  position: absolute;
  bottom: -50px; left: -40px;
  width: 160px; height: 160px;
  background: rgba(255,255,255,0.07);
  border-radius: 50%;
  pointer-events: none;
}
.cvpro-sidebar-block--newsletter .cvpro-sidebar-block__title,
.cvpro-sidebar-block--newsletter .cvpro-sidebar-block__text {
  color: #fff;
  position: relative;
}
.cvpro-sidebar-block--newsletter .cvpro-sidebar-block__text {
  color: rgba(255,255,255,0.9);
}
.cvpro-sidebar-block--newsletter .cvpro-sidebar-newsletter {
  position: relative;
}

/* Filled primary lead-magnet block */
.cvpro-sidebar-block--lead {
  background: linear-gradient(135deg, var(--cvpro-primary), var(--cvpro-primary-dark, var(--cvpro-primary))) !important;
  border: none !important;
  color: #fff !important;
  position: relative;
  overflow: hidden;
}
.cvpro-sidebar-block--lead::before {
  content: '';
  position: absolute;
  top: -50px; right: -50px;
  width: 180px; height: 180px;
  background: rgba(255,255,255,0.08);
  border-radius: 50%;
  pointer-events: none;
}
.cvpro-sidebar-block--lead > * { position: relative; }
.cvpro-sidebar-block--lead .cvpro-sidebar-lead__title { color: #fff; }
.cvpro-sidebar-block--lead .cvpro-sidebar-lead__text { color: rgba(255,255,255,0.9); }
.cvpro-sidebar-block--lead .cvpro-sidebar-lead__perks { color: rgba(255,255,255,0.75); }
.cvpro-sidebar-block--lead .cvpro-sidebar-lead__badge {
  background: rgba(255,255,255,0.18);
  color: #fff;
}
.cvpro-sidebar-block--lead .cvpro-sidebar-lead__form input[type="email"] {
  border-color: rgba(255,255,255,0.35);
  background: rgba(255,255,255,0.12);
  color: #fff;
}
.cvpro-sidebar-block--lead .cvpro-sidebar-lead__form input[type="email"]::placeholder {
  color: rgba(255,255,255,0.6);
}
.cvpro-sidebar-block--lead .cvpro-sidebar-lead__form input[type="email"]:focus {
  background: rgba(255,255,255,0.92);
  color: var(--cvpro-text-primary);
  border-color: #fff;
  box-shadow: 0 0 0 3px rgba(255,255,255,0.18);
}
.cvpro-sidebar-block--lead .cvpro-btn--primary {
  background: #fff !important;
  color: var(--cvpro-primary) !important;
  border-color: #fff !important;
}
.cvpro-sidebar-block--lead .cvpro-btn--primary:hover {
  background: rgba(255,255,255,0.92) !important;
}

/* Trustpilot-style Rating block */
.cvpro-sidebar-block--rating {
  text-align: center;
  background: var(--cvpro-bg-primary);
}
.cvpro-sidebar-rating__brand {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-weight: 700;
  font-size: 0.85rem;
  color: var(--cvpro-text-primary);
  margin-bottom: 0.6rem;
}
.cvpro-sidebar-rating__brand-star {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  background: #00b67a;
  color: #fff;
  border-radius: 3px;
}
.cvpro-sidebar-rating__score {
  font-size: 2rem;
  font-weight: 800;
  color: var(--cvpro-text-primary);
  line-height: 1;
  margin-bottom: 0.45rem;
  font-feature-settings: "tnum";
}
.cvpro-sidebar-rating__stars {
  display: inline-flex;
  gap: 2px;
  margin-bottom: 0.55rem;
}
.cvpro-sidebar-rating__star {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  background: #00b67a;
  color: #fff;
  border-radius: 3px;
}
.cvpro-sidebar-rating__star--empty {
  background: #dcdce6;
}
.cvpro-sidebar-rating__count {
  font-size: 0.78rem;
  color: var(--cvpro-text-secondary);
  margin: 0 0 0.7rem;
}
.cvpro-sidebar-rating__count strong {
  color: var(--cvpro-text-primary);
  text-decoration: underline;
  text-decoration-thickness: 1px;
}
.cvpro-sidebar-rating__link {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--cvpro-primary);
  text-decoration: none;
}
.cvpro-sidebar-rating__link:hover { text-decoration: underline; }

/* Social block in sidebar */
.cvpro-sidebar-social {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  list-style: none;
  margin: 0;
  padding: 0;
}
.cvpro-sidebar-social__link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  color: #fff;
  text-decoration: none;
  transition: transform var(--cvpro-transition-fast), filter var(--cvpro-transition-fast);
}
.cvpro-sidebar-social__link:hover {
  transform: translateY(-2px);
  filter: brightness(1.05);
}
.cvpro-sidebar-social__link--twitter   { background: #000000; }
.cvpro-sidebar-social__link--facebook  { background: #1877F2; }
.cvpro-sidebar-social__link--instagram { background: linear-gradient(135deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888); }
.cvpro-sidebar-social__link--linkedin  { background: #0A66C2; }
.cvpro-sidebar-social__link--youtube   { background: #FF0000; }
.cvpro-sidebar-social__link--tiktok    { background: #000000; }
.cvpro-sidebar-social__link--github    { background: #181717; }
.cvpro-sidebar-block--newsletter .cvpro-sidebar-newsletter {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.cvpro-sidebar-block--newsletter input[type="email"] {
  width: 100%;
  padding: 0.65rem 0.85rem;
  border-radius: var(--cvpro-radius-md, 8px);
  border: 1px solid var(--cvpro-border, #e5e7eb);
  font: inherit;
}
.cvpro-sidebar-block--newsletter .cvpro-btn {
  width: 100%;
  justify-content: center;
}

/* Recent posts list */
.cvpro-sidebar-recent {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}
.cvpro-sidebar-recent__item {
  display: flex;
  gap: 0.65rem;
  align-items: flex-start;
}
.cvpro-sidebar-recent__thumb {
  flex-shrink: 0;
  width: 56px;
  height: 56px;
  border-radius: 8px;
  overflow: hidden;
  display: block;
}
.cvpro-sidebar-recent__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.cvpro-sidebar-recent__text {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  min-width: 0;
}
.cvpro-sidebar-recent__title {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--cvpro-text-primary);
  text-decoration: none;
  line-height: 1.35;
}
.cvpro-sidebar-recent__title:hover {
  color: var(--cvpro-primary);
}
.cvpro-sidebar-recent__date {
  font-size: 0.75rem;
  color: var(--cvpro-text-secondary);
}

/* Category list */
.cvpro-sidebar-cats {
  list-style: none;
  margin: 0;
  padding: 0;
}
.cvpro-sidebar-cats li {
  padding: 0.4rem 0;
  border-bottom: 1px dashed var(--cvpro-border, #e5e7eb);
}
.cvpro-sidebar-cats li:last-child { border-bottom: none; }
.cvpro-sidebar-cats a {
  color: var(--cvpro-text-primary);
  text-decoration: none;
  font-size: 0.875rem;
}
.cvpro-sidebar-cats a:hover {
  color: var(--cvpro-primary);
}

/* Tag cloud — colored pills (slug-hashed palette, same system as
   category badges so the same tag is always the same color across
   the whole site). */
.cvpro-sidebar-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
}
.cvpro-sidebar-tags__tag {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  padding: 0.28rem 0.6rem;
  border-radius: 999px;
  font-size: 0.72rem !important;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  text-decoration: none;
  line-height: 1.1;
  transition: filter 0.15s ease, transform 0.15s ease;
}
.cvpro-sidebar-tags__tag:hover {
  filter: brightness(0.92);
  transform: translateY(-1px);
}
.cvpro-sidebar-tags__count {
  font-size: 0.62rem;
  opacity: 0.85;
  font-weight: 500;
  text-transform: none;
}

/* ==========================================================================
   BEM COMPATIBILITY LAYER
   Maps BEM class names (used in PHP templates) to existing flat-named styles.
   Version: 1.0.0
   ========================================================================== */

/* --------------------------------------------------------------------------
   BEM: Hero Section
   -------------------------------------------------------------------------- */

.cvpro-hero__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--cvpro-space-3xl);
  align-items: center;
}

.cvpro-hero__content {
  max-width: 560px;
}

.cvpro-hero__badge {
  display: inline-flex;
  align-items: center;
  gap: var(--cvpro-space-xs);
  padding: 0.375rem 0.875rem;
  background: rgba(26, 86, 219, 0.08);
  color: var(--cvpro-primary);
  font-size: 0.8125rem;
  font-weight: 600;
  border-radius: var(--cvpro-radius-full);
  margin-bottom: var(--cvpro-space-lg);
}

.cvpro-hero__headline {
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: var(--cvpro-space-lg);
  letter-spacing: -0.02em;
}

.cvpro-hero__headline span {
  color: var(--cvpro-primary);
}

.cvpro-hero__subheadline {
  font-size: 1.1875rem;
  color: var(--cvpro-text-secondary);
  line-height: 1.7;
  margin-bottom: var(--cvpro-space-2xl);
}

.cvpro-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--cvpro-space-md);
  margin-bottom: var(--cvpro-space-2xl);
}

.cvpro-hero__trust {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--cvpro-space-xl);
}

.cvpro-hero__trust-item {
  display: flex;
  align-items: center;
  gap: var(--cvpro-space-sm);
  font-size: 0.875rem;
  color: var(--cvpro-text-secondary);
}

.cvpro-hero__trust-item svg {
  width: 18px;
  height: 18px;
  color: var(--cvpro-success);
  flex-shrink: 0;
}

.cvpro-hero__image {
  position: relative;
}

.cvpro-hero__image img {
  border-radius: var(--cvpro-radius-xl);
  box-shadow: var(--cvpro-shadow-xl);
}

.cvpro-hero__image::before {
  content: '';
  position: absolute;
  inset: -8px;
  border-radius: calc(var(--cvpro-radius-xl) + 8px);
  background: linear-gradient(135deg, rgba(26, 86, 219, 0.15), rgba(14, 159, 110, 0.15));
  z-index: -1;
}

.cvpro-hero__scroll {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--cvpro-space-sm);
  color: var(--cvpro-text-secondary);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  animation: cvpro-bounce 2s infinite;
}

.cvpro-hero__scroll svg {
  width: 20px;
  height: 20px;
}

/* --------------------------------------------------------------------------
   BEM: Navigation
   -------------------------------------------------------------------------- */

.cvpro-nav__brand {
  display: flex;
  align-items: center;
  gap: var(--cvpro-space-sm);
  font-size: 1.375rem;
  font-weight: 800;
  color: var(--cvpro-text-primary);
  text-decoration: none;
  z-index: 2;
}

.cvpro-nav__brand:hover {
  color: var(--cvpro-primary);
}

.cvpro-nav__logo {
  height: 36px;
  width: auto;
}

.cvpro-nav__site-name {
  font-size: 1.375rem;
  font-weight: 800;
  color: inherit;
}

.cvpro-nav__menu {
  display: flex;
  align-items: center;
  gap: var(--cvpro-space-xl);
}

.cvpro-nav__menu a {
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--cvpro-text-secondary);
  text-decoration: none;
  transition: color var(--cvpro-transition-fast);
  position: relative;
}

.cvpro-nav__menu a:hover,
.cvpro-nav__menu a.is-active {
  color: var(--cvpro-primary);
}

.cvpro-nav__menu a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--cvpro-primary);
  transition: width var(--cvpro-transition-fast);
}

.cvpro-nav__menu a:hover::after,
.cvpro-nav__menu a.is-active::after {
  width: 100%;
}

.cvpro-nav__actions {
  display: flex;
  align-items: center;
  gap: var(--cvpro-space-md);
}

.cvpro-nav__signin {
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--cvpro-text-secondary);
  text-decoration: none;
  transition: color var(--cvpro-transition-fast);
}

.cvpro-nav__signin:hover {
  color: var(--cvpro-primary);
}

.cvpro-nav__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--cvpro-space-sm);
  padding: 0.75rem 1.5rem;
  font-weight: 600;
  font-size: 0.9375rem;
  line-height: 1;
  border-radius: var(--cvpro-radius-md);
  border: 2px solid transparent;
  transition: all var(--cvpro-transition-fast);
  white-space: nowrap;
  text-decoration: none;
  cursor: pointer;
  background-color: var(--cvpro-primary);
  color: #FFFFFF;
  border-color: var(--cvpro-primary);
}

.cvpro-nav__cta:hover {
  background-color: var(--cvpro-primary-dark);
  border-color: var(--cvpro-primary-dark);
  color: #FFFFFF;
  transform: translateY(-1px);
  box-shadow: var(--cvpro-shadow-md);
}

.cvpro-nav__hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  padding: 8px;
  background: none;
  border: none;
  cursor: pointer;
  z-index: 2;
}

.cvpro-nav__hamburger span {
  display: block;
  height: 2px;
  background: var(--cvpro-text-primary);
  border-radius: 2px;
  transition: all var(--cvpro-transition-fast);
}

.cvpro-nav__hamburger[aria-expanded="true"] span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.cvpro-nav__hamburger[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.cvpro-nav__hamburger[aria-expanded="true"] span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* --------------------------------------------------------------------------
   BEM: Mobile Menu
   -------------------------------------------------------------------------- */

.cvpro-mobile-menu__body {
  padding: var(--cvpro-space-xl);
}

.cvpro-mobile-menu__header {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  margin-bottom: var(--cvpro-space-xl);
}

.cvpro-mobile-menu__close {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: var(--cvpro-radius-full);
  background: var(--cvpro-bg-secondary);
  border: none;
  cursor: pointer;
  color: var(--cvpro-text-primary);
}

.cvpro-mobile-menu__close svg {
  width: 20px;
  height: 20px;
}

.cvpro-mobile-menu__close:hover {
  background: var(--cvpro-border);
}

.cvpro-mobile-menu__nav {
  list-style: none;
  padding: 0;
  margin: 0;
}

.cvpro-mobile-menu__list,
.cvpro-mobile-menu__nav ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.cvpro-mobile-menu__list .sub-menu,
.cvpro-mobile-menu__nav .sub-menu {
  margin-left: 1rem;
  padding-top: 0.25rem;
}

.cvpro-mobile-menu__nav a {
  display: flex;
  align-items: center;
  min-height: 48px;
  padding: var(--cvpro-space-md) 0;
  font-size: 1.0625rem;
  font-weight: 500;
  color: var(--cvpro-text-primary);
  text-decoration: none;
  border-bottom: 1px solid var(--cvpro-border);
  transition: color var(--cvpro-transition-fast);
}

.cvpro-mobile-menu__nav a:hover {
  color: var(--cvpro-primary);
}

.cvpro-mobile-menu__actions {
  display: flex;
  flex-direction: column;
  gap: var(--cvpro-space-md);
  margin-top: var(--cvpro-space-xl);
}

.cvpro-mobile-menu__signin {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.5rem;
  font-weight: 500;
  font-size: 0.9375rem;
  color: var(--cvpro-text-secondary);
  text-decoration: none;
  border: 1px solid var(--cvpro-border);
  border-radius: var(--cvpro-radius-md);
  transition: all var(--cvpro-transition-fast);
}

.cvpro-mobile-menu__signin:hover {
  color: var(--cvpro-primary);
  border-color: var(--cvpro-primary);
}

.cvpro-mobile-menu__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.5rem;
  font-weight: 600;
  font-size: 0.9375rem;
  line-height: 1;
  border-radius: var(--cvpro-radius-md);
  border: 2px solid transparent;
  transition: all var(--cvpro-transition-fast);
  white-space: nowrap;
  text-decoration: none;
  cursor: pointer;
  background-color: var(--cvpro-primary);
  color: #FFFFFF;
  border-color: var(--cvpro-primary);
}

.cvpro-mobile-menu__cta:hover {
  background-color: var(--cvpro-primary-dark);
  border-color: var(--cvpro-primary-dark);
  color: #FFFFFF;
}

/* --------------------------------------------------------------------------
   BEM: Upload Section
   -------------------------------------------------------------------------- */

.cvpro-upload__header {
  text-align: center;
  margin-bottom: var(--cvpro-space-3xl);
  max-width: 680px;
  margin-left: auto;
  margin-right: auto;
}

.cvpro-upload__wrapper {
  max-width: 600px;
  margin: 0 auto;
}

.cvpro-upload__dropzone {
  max-width: 600px;
  margin: 0 auto;
  padding: var(--cvpro-space-3xl) var(--cvpro-space-xl);
  border: 2px dashed var(--cvpro-border);
  border-radius: var(--cvpro-radius-xl);
  text-align: center;
  background: var(--cvpro-bg-primary);
  transition: border-color var(--cvpro-transition-fast), background var(--cvpro-transition-fast);
  cursor: pointer;
}

.cvpro-upload__dropzone:hover {
  border-color: var(--cvpro-primary);
  background: rgba(26, 86, 219, 0.02);
}

.cvpro-upload__dropzone.is-dragging {
  border-color: var(--cvpro-primary);
  background: rgba(26, 86, 219, 0.05);
  border-style: solid;
}

.cvpro-upload__icon {
  width: 64px;
  height: 64px;
  margin: 0 auto var(--cvpro-space-lg);
  color: var(--cvpro-primary);
  display: flex;
  align-items: center;
  justify-content: center;
}

.cvpro-upload__icon svg {
  width: 100%;
  height: 100%;
}

.cvpro-upload__drag-text {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: var(--cvpro-space-sm);
  color: var(--cvpro-text-primary);
}

.cvpro-upload__formats {
  font-size: 0.8125rem;
  color: var(--cvpro-text-secondary);
  margin-top: var(--cvpro-space-md);
}

.cvpro-upload__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--cvpro-space-sm);
  padding: 0.75rem 1.5rem;
  font-weight: 600;
  font-size: 0.9375rem;
  line-height: 1;
  border-radius: var(--cvpro-radius-md);
  border: 2px solid transparent;
  transition: all var(--cvpro-transition-fast);
  white-space: nowrap;
  text-decoration: none;
  cursor: pointer;
  background-color: var(--cvpro-primary);
  color: #FFFFFF;
  border-color: var(--cvpro-primary);
}

.cvpro-upload__btn:hover {
  background-color: var(--cvpro-primary-dark);
  border-color: var(--cvpro-primary-dark);
  color: #FFFFFF;
  transform: translateY(-1px);
  box-shadow: var(--cvpro-shadow-md);
}

.cvpro-upload__input {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border-width: 0;
}

.cvpro-upload__privacy {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--cvpro-space-xs);
  font-size: 0.8125rem;
  color: var(--cvpro-text-secondary);
  margin-top: var(--cvpro-space-lg);
}

.cvpro-upload__privacy svg {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
}

.cvpro-upload__progress {
  display: none;
  margin-top: var(--cvpro-space-lg);
}

.cvpro-upload__progress.is-active {
  display: block;
}

.cvpro-upload__progress-bar {
  width: 100%;
  height: 6px;
  background: var(--cvpro-bg-secondary);
  border-radius: var(--cvpro-radius-full);
  overflow: hidden;
}

.cvpro-upload__progress-fill {
  height: 100%;
  width: 0;
  background: var(--cvpro-primary);
  border-radius: var(--cvpro-radius-full);
  transition: width 0.3s ease;
}

.cvpro-upload__progress-text {
  font-size: 0.875rem;
  color: var(--cvpro-text-secondary);
  margin-top: var(--cvpro-space-sm);
}

/* --------------------------------------------------------------------------
   BEM: Social Proof
   -------------------------------------------------------------------------- */

.cvpro-social-proof {
  position: relative;
  padding-block: 3.5rem;
  background:
    radial-gradient(circle at 0% 0%, rgba(var(--cvpro-primary-rgb), 0.06), transparent 55%),
    radial-gradient(circle at 100% 100%, rgba(var(--cvpro-primary-rgb), 0.05), transparent 55%),
    var(--cvpro-bg-primary, #fff) !important;
  overflow: hidden;
}

.cvpro-social-proof__stats {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  max-width: 1100px;
  margin: 0 auto var(--cvpro-space-2xl);
  background: var(--cvpro-bg-primary, #fff);
  border: 1px solid var(--cvpro-border, #e5e7eb);
  border-radius: 20px;
  box-shadow: 0 20px 50px -20px rgba(var(--cvpro-primary-rgb), 0.18);
  overflow: hidden;
}

.cvpro-social-proof__stat {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.85rem;
  padding: 2rem 1.75rem;
  background: var(--cvpro-bg-primary, #fff);
  border-right: 1px solid var(--cvpro-border, #e5e7eb);
  text-align: left;
  transition: background 0.3s ease;
}

.cvpro-social-proof__stat:last-child {
  border-right: none;
}

.cvpro-social-proof__stat::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--cvpro-primary), rgba(var(--cvpro-primary-rgb), 0.35));
  transition: width 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}

.cvpro-social-proof__stat:hover {
  background: linear-gradient(180deg, rgba(var(--cvpro-primary-rgb), 0.02), transparent);
}

.cvpro-social-proof__stat:hover::after {
  width: 100%;
}

.cvpro-social-proof__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--cvpro-primary), var(--cvpro-primary-dark, var(--cvpro-primary)));
  color: #fff;
  box-shadow: 0 6px 16px -6px rgba(var(--cvpro-primary-rgb), 0.5);
  transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}

.cvpro-social-proof__stat:hover .cvpro-social-proof__icon {
  transform: rotate(-6deg) scale(1.05);
}

.cvpro-social-proof__number {
  display: block;
  font-family: var(--cvpro-font-heading);
  font-size: clamp(2rem, 3.4vw, 2.75rem);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.025em;
  color: var(--cvpro-primary);
  margin-top: 0.25rem;
}

.cvpro-social-proof__label {
  display: block;
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: var(--cvpro-text-secondary, #6B7280);
  line-height: 1.4;
}

@media (max-width: 1024px) {
  .cvpro-social-proof__stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .cvpro-social-proof__stat {
    border-right: 1px solid var(--cvpro-border, #e5e7eb);
    border-bottom: 1px solid var(--cvpro-border, #e5e7eb);
  }
  .cvpro-social-proof__stat:nth-child(2n) { border-right: none; }
  .cvpro-social-proof__stat:nth-last-child(-n+2) { border-bottom: none; }
}

@media (max-width: 560px) {
  .cvpro-social-proof {
    padding-block: 2.5rem;
  }
  .cvpro-social-proof__stats {
    grid-template-columns: 1fr;
  }
  .cvpro-social-proof__stat {
    padding: 1.5rem 1.25rem;
    border-right: none;
    border-bottom: 1px solid var(--cvpro-border, #e5e7eb);
  }
  .cvpro-social-proof__stat:last-child { border-bottom: none; }
}

.cvpro-social-proof__logos {
  text-align: center;
}

.cvpro-social-proof__logos-title {
  font-size: 0.875rem;
  color: var(--cvpro-text-secondary);
  margin-bottom: var(--cvpro-space-lg);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 500;
}

.cvpro-social-proof__logos-grid {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: var(--cvpro-space-2xl);
}

.cvpro-social-proof__logo {
  height: 32px;
  width: auto;
  filter: grayscale(100%);
  opacity: 0.5;
  transition: all var(--cvpro-transition-normal);
}

.cvpro-social-proof__logo:hover {
  filter: grayscale(0%);
  opacity: 1;
}

/* --------------------------------------------------------------------------
   BEM: How It Works
   -------------------------------------------------------------------------- */

.cvpro-how-it-works__steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--cvpro-space-2xl);
  position: relative;
}

.cvpro-how-it-works__steps::before {
  content: '';
  position: absolute;
  top: 40px;
  left: calc(16.666% + 20px);
  right: calc(16.666% + 20px);
  height: 2px;
  background: var(--cvpro-border);
}

.cvpro-how-it-works__steps--horizontal .cvpro-how-it-works__step {
  display: flex;
  text-align: left;
  gap: var(--cvpro-space-lg);
  align-items: flex-start;
}

.cvpro-how-it-works__steps--vertical {
  grid-template-columns: 1fr;
  max-width: 600px;
  margin: 0 auto;
}

.cvpro-how-it-works__steps--vertical::before {
  top: 0;
  bottom: 0;
  left: 24px;
  right: auto;
  width: 2px;
  height: auto;
}

.cvpro-how-it-works__steps--cards .cvpro-how-it-works__step {
  border: 1px solid var(--cvpro-border);
  box-shadow: none;
  transition: box-shadow var(--cvpro-transition-normal), transform var(--cvpro-transition-normal);
}

.cvpro-how-it-works__steps--cards .cvpro-how-it-works__step:hover {
  box-shadow: var(--cvpro-shadow-md);
  transform: translateY(-4px);
}

.cvpro-how-it-works__step {
  text-align: center;
  position: relative;
  padding: var(--cvpro-space-xl);
  background: var(--cvpro-bg-primary);
  border-radius: var(--cvpro-radius-lg);
  box-shadow: var(--cvpro-shadow-sm);
}

.cvpro-how-it-works__badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  background: var(--cvpro-primary);
  color: #FFFFFF;
  border-radius: var(--cvpro-radius-full);
  margin-bottom: var(--cvpro-space-lg);
  position: relative;
  z-index: 1;
}

.cvpro-how-it-works__number {
  font-size: 1.125rem;
  font-weight: 700;
  line-height: 1;
}

.cvpro-how-it-works__icon {
  width: 48px;
  height: 48px;
  margin: 0 auto var(--cvpro-space-md);
  color: var(--cvpro-primary);
}

.cvpro-how-it-works__icon svg {
  width: 100%;
  height: 100%;
}

.cvpro-how-it-works__title {
  font-size: 1.125rem;
  font-weight: 700;
  margin-bottom: var(--cvpro-space-sm);
  color: var(--cvpro-text-primary);
}

.cvpro-how-it-works__description {
  color: var(--cvpro-text-secondary);
  font-size: 0.9375rem;
  line-height: 1.6;
}

.cvpro-how-it-works__connector {
  display: none;
  position: absolute;
  top: 40px;
  right: -1rem;
  width: 2rem;
  height: 2px;
  background: var(--cvpro-border);
}

.cvpro-how-it-works__connector--vertical {
  top: auto;
  bottom: -1rem;
  right: auto;
  left: 50%;
  transform: translateX(-50%);
  width: 2px;
  height: 2rem;
}

/* --------------------------------------------------------------------------
   BEM: Features
   -------------------------------------------------------------------------- */

.cvpro-features__grid {
  display: grid;
  grid-template-columns: repeat(var(--features-cols, 3), 1fr);
  gap: var(--cvpro-space-xl);
}

.cvpro-features__card {
  padding: var(--cvpro-space-xl);
  border-radius: var(--cvpro-radius-lg);
  border: 1px solid var(--cvpro-border);
  background: var(--cvpro-bg-primary);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.03);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.cvpro-features__card:hover {
  transform: translateY(-3px);
  border-color: rgba(var(--cvpro-primary-rgb), 0.35);
  box-shadow: 0 12px 28px rgba(var(--cvpro-primary-rgb), 0.08);
}

.cvpro-features__card--bordered {
  border: 1px solid var(--cvpro-border);
  background: var(--cvpro-bg-primary);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.03);
}

.cvpro-features__card--shadow {
  border: 1px solid rgba(0, 0, 0, 0.03);
  background: var(--cvpro-bg-primary);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.06);
}

.cvpro-features__card--flat {
  border: 1px solid var(--cvpro-border);
  background: var(--cvpro-bg-secondary);
  box-shadow: none;
}

.cvpro-features__card--gradient {
  border: 1px solid var(--cvpro-border);
  background:
    linear-gradient(180deg, var(--cvpro-bg-primary) 0%, rgba(var(--cvpro-primary-rgb), 0.03) 100%);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.03);
}

.cvpro-features__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  background: rgba(var(--cvpro-primary-rgb), 0.1);
  color: var(--cvpro-primary);
  border-radius: 10px;
  margin-bottom: var(--cvpro-space-lg);
}

.cvpro-features__icon svg {
  width: 24px;
  height: 24px;
}

.cvpro-features__title {
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: var(--cvpro-space-sm);
  color: var(--cvpro-text-primary);
}

.cvpro-features__description {
  color: var(--cvpro-text-secondary);
  font-size: 0.9375rem;
  line-height: 1.6;
}

.cvpro-features__link {
  display: inline-flex;
  align-items: center;
  gap: var(--cvpro-space-xs);
  margin-top: var(--cvpro-space-md);
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--cvpro-primary);
}

.cvpro-features__link::after {
  content: '\2192';
  transition: transform var(--cvpro-transition-fast);
}

.cvpro-features__link:hover::after {
  transform: translateX(4px);
}

/* --------------------------------------------------------------------------
   BEM: Testimonials
   -------------------------------------------------------------------------- */

.cvpro-testimonials__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--cvpro-space-xl);
}

.cvpro-testimonials__grid--masonry {
  display: block;
  column-count: 3;
  column-gap: var(--cvpro-space-xl);
}

.cvpro-testimonials__grid--masonry .cvpro-testimonial-card,
.cvpro-testimonials__grid--masonry .cvpro-features__card {
  break-inside: avoid;
  margin-bottom: var(--cvpro-space-xl);
}

.cvpro-testimonial__stars {
  display: flex;
  gap: 2px;
  margin-bottom: var(--cvpro-space-md);
  color: #F59E0B;
}

.cvpro-testimonial__stars svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

.cvpro-testimonial__quote {
  font-size: 1.0625rem;
  font-style: italic;
  line-height: 1.7;
  color: var(--cvpro-text-primary);
  margin-bottom: var(--cvpro-space-lg);
}

.cvpro-testimonial__quote::before {
  content: '\201C';
  font-size: 2rem;
  line-height: 0;
  vertical-align: -0.4em;
  color: var(--cvpro-primary);
  margin-right: 2px;
}

.cvpro-testimonial__author {
  display: flex;
  align-items: center;
  gap: var(--cvpro-space-md);
}

.cvpro-testimonial__avatar {
  width: 48px;
  height: 48px;
  border-radius: var(--cvpro-radius-full);
  object-fit: cover;
  flex-shrink: 0;
}

.cvpro-testimonial__avatar--placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: var(--cvpro-radius-full);
  background: rgba(26, 86, 219, 0.08);
  color: var(--cvpro-primary);
  font-weight: 700;
  font-size: 1rem;
  flex-shrink: 0;
}

.cvpro-testimonial__info {
  display: flex;
  flex-direction: column;
}

.cvpro-testimonial__name {
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--cvpro-text-primary);
  margin-bottom: 2px;
}

.cvpro-testimonial__role {
  font-size: 0.8125rem;
  color: var(--cvpro-text-secondary);
}

/* --------------------------------------------------------------------------
   BEM: Pricing
   -------------------------------------------------------------------------- */

.cvpro-pricing__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--cvpro-space-xl);
  align-items: start;
}

.cvpro-pricing__card {
  padding: var(--cvpro-space-2xl);
  border: 1px solid var(--cvpro-border);
  border-radius: var(--cvpro-radius-xl);
  background: var(--cvpro-bg-primary);
  position: relative;
  transition: box-shadow var(--cvpro-transition-normal);
  /* Force every card (including --highlighted) to fill its grid column
     identically — no shrinking from box-sizing or min-width auto. */
  box-sizing: border-box;
  width: 100%;
  min-width: 0;
}

.cvpro-pricing__card:hover {
  box-shadow: var(--cvpro-shadow-md);
}

.cvpro-pricing__card--highlighted {
  background: var(--cvpro-primary);
  color: #FFFFFF;
  border-color: var(--cvpro-primary);
  /* No scale — keep all cards exactly the same width / height as their
     siblings. Visual emphasis comes from the colored fill + xl shadow. */
  box-shadow: var(--cvpro-shadow-xl);
  z-index: 1;
}

.cvpro-pricing__card--highlighted .cvpro-pricing__plan-name,
.cvpro-pricing__card--highlighted .cvpro-pricing__plan-desc,
.cvpro-pricing__card--highlighted .cvpro-pricing__amount,
.cvpro-pricing__card--highlighted .cvpro-pricing__period,
.cvpro-pricing__card--highlighted .cvpro-pricing__period-text,
.cvpro-pricing__card--highlighted .cvpro-pricing__currency {
  color: #FFFFFF;
}

.cvpro-pricing__card--highlighted .cvpro-pricing__features li {
  color: rgba(255, 255, 255, 0.9);
}

.cvpro-pricing__card--highlighted .cvpro-pricing__features svg {
  color: rgba(255, 255, 255, 0.8);
}

.cvpro-pricing__card--highlighted .cvpro-pricing__cta {
  background: #FFFFFF;
  color: var(--cvpro-primary);
  border-color: #FFFFFF;
}

.cvpro-pricing__card--highlighted .cvpro-pricing__cta:hover {
  background: var(--cvpro-bg-secondary);
  border-color: var(--cvpro-bg-secondary);
}

.cvpro-pricing__popular-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  padding: 0.375rem 1rem;
  background: var(--cvpro-accent);
  color: #FFFFFF;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border-radius: var(--cvpro-radius-full);
  white-space: nowrap;
}

.cvpro-pricing__card-header {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: var(--cvpro-space-lg);
}

.cvpro-pricing__plan-icon {
  width: 40px;
  height: 40px;
  border-radius: 0.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  background: var(--cvpro-bg-secondary);
  color: var(--cvpro-text-secondary);
}

.cvpro-pricing__card--highlighted .cvpro-pricing__plan-icon {
  background: rgba(255,255,255,0.2);
  color: #fff;
}

.cvpro-pricing__plan-name {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.125rem;
  color: var(--cvpro-text-primary);
}

.cvpro-pricing__plan-desc {
  font-size: 0.8125rem;
  color: var(--cvpro-text-secondary);
  margin: 0;
}

.cvpro-pricing__features-divider {
  border-top: 1px solid var(--cvpro-border);
  padding-top: var(--cvpro-space-lg);
  margin-top: var(--cvpro-space-lg);
}

.cvpro-pricing__card--highlighted .cvpro-pricing__features-divider {
  border-color: rgba(255,255,255,0.2);
}

.cvpro-pricing__features-label {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--cvpro-text-primary);
  display: block;
  margin-bottom: var(--cvpro-space-md);
}

.cvpro-pricing__card--highlighted .cvpro-pricing__features-label {
  color: #fff;
}

.cvpro-pricing__price {
  display: flex;
  align-items: baseline;
  margin-bottom: var(--cvpro-space-xl);
}

.cvpro-pricing__currency {
  font-size: 1.5rem;
  font-weight: 700;
  vertical-align: super;
  line-height: 1;
}

.cvpro-pricing__amount {
  font-size: 3.5rem;
  font-weight: 800;
  line-height: 1;
  color: var(--cvpro-text-primary);
}

.cvpro-pricing__period {
  font-size: 0.9375rem;
  color: var(--cvpro-text-secondary);
  font-weight: 400;
}

.cvpro-pricing__period-text {
  font-size: 0.9375rem;
  color: var(--cvpro-text-secondary);
  font-weight: 400;
}

.cvpro-pricing__features {
  margin-bottom: var(--cvpro-space-xl);
  list-style: none;
  padding: 0;
}

.cvpro-pricing__feature {
  display: flex;
  align-items: flex-start;
  gap: var(--cvpro-space-sm);
  padding: var(--cvpro-space-sm) 0;
  font-size: 0.9375rem;
  color: var(--cvpro-text-secondary);
}

.cvpro-pricing__feature svg {
  width: 18px;
  height: 18px;
  color: var(--cvpro-success);
  flex-shrink: 0;
  margin-top: 2px;
}

.cvpro-pricing__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--cvpro-space-sm);
  padding: 0.75rem 1.5rem;
  font-weight: 600;
  font-size: 0.9375rem;
  line-height: 1;
  border-radius: var(--cvpro-radius-md);
  border: 2px solid transparent;
  transition: all var(--cvpro-transition-fast);
  white-space: nowrap;
  text-decoration: none;
  cursor: pointer;
  width: 100%;
  background-color: var(--cvpro-primary);
  color: #FFFFFF;
  border-color: var(--cvpro-primary);
}

.cvpro-pricing__cta:hover {
  background-color: var(--cvpro-primary-dark);
  border-color: var(--cvpro-primary-dark);
  color: #FFFFFF;
  transform: translateY(-1px);
  box-shadow: var(--cvpro-shadow-md);
}

.cvpro-pricing__guarantee {
  text-align: center;
  font-size: 0.8125rem;
  line-height: 1.45;
  color: var(--cvpro-text-secondary);
  margin: var(--cvpro-space-lg) auto 0;
  max-width: 100%;
}
.cvpro-pricing__guarantee svg {
  width: 14px;
  height: 14px;
  vertical-align: -2px;
  margin-right: 0.3em;
}

.cvpro-pricing__toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--cvpro-space-md);
  margin-bottom: var(--cvpro-space-3xl);
  font-size: 0.9375rem;
  font-weight: 500;
}

.cvpro-pricing__toggle-label {
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--cvpro-text-secondary);
  cursor: pointer;
  transition: color var(--cvpro-transition-fast);
}

.cvpro-pricing__toggle-label--monthly {
  color: var(--cvpro-text-primary);
}

.cvpro-pricing__toggle-label--annual {
  display: inline-flex;
  align-items: center;
  gap: var(--cvpro-space-xs);
}

.cvpro-pricing__toggle-switch {
  position: relative;
  width: 44px;
  height: 24px;
  background: var(--cvpro-border);
  border-radius: var(--cvpro-radius-full);
  cursor: pointer;
  transition: background var(--cvpro-transition-fast);
  border: none;
  padding: 0;
}

.cvpro-pricing__toggle-switch.is-active,
.cvpro-pricing__toggle-switch[aria-checked="true"] {
  background: var(--cvpro-primary);
}

.cvpro-pricing__toggle-knob {
  position: absolute;
  top: 2px;
  left: 2px;
  width: 20px;
  height: 20px;
  background: #FFFFFF;
  border-radius: var(--cvpro-radius-full);
  transition: transform var(--cvpro-transition-fast);
  box-shadow: var(--cvpro-shadow-sm);
}

.cvpro-pricing__toggle-switch.is-active .cvpro-pricing__toggle-knob,
.cvpro-pricing__toggle-switch[aria-checked="true"] .cvpro-pricing__toggle-knob {
  transform: translateX(20px);
}

.cvpro-pricing__savings-badge {
  display: inline-block;
  padding: 0.125rem 0.5rem;
  background: rgba(14, 159, 110, 0.1);
  color: var(--cvpro-success);
  font-size: 0.75rem;
  font-weight: 600;
  border-radius: var(--cvpro-radius-full);
}

/* --------------------------------------------------------------------------
   BEM: FAQ
   -------------------------------------------------------------------------- */

.cvpro-faq__list {
  max-width: 800px;
  margin: 0 auto;
}

.cvpro-faq__list--cols-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0 var(--cvpro-space-3xl);
  max-width: 100%;
}

.cvpro-faq__item {
  border-bottom: 1px solid var(--cvpro-border);
}

.cvpro-faq__item:first-child {
  border-top: 1px solid var(--cvpro-border);
}

.cvpro-faq__question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: var(--cvpro-space-lg) 0;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  font-size: 1.0625rem;
  font-weight: 600;
  color: var(--cvpro-text-primary);
  transition: color var(--cvpro-transition-fast);
  gap: var(--cvpro-space-md);
}

.cvpro-faq__question:hover {
  color: var(--cvpro-primary);
}

.cvpro-faq__question-text {
  flex: 1;
}

.cvpro-faq__icon {
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  position: relative;
  color: var(--cvpro-text-secondary);
  transition: color var(--cvpro-transition-fast);
}

/* FAQ +/- glyph: vertical bar fades out when open so only the horizontal
   bar (—) remains. transform-box ensures the rotate origin is the SVG
   geometry center, not the icon container. */
.cvpro-faq__icon-vertical {
  transform-origin: center;
  transform-box: fill-box;
  transition: opacity var(--cvpro-transition-fast);
}

.cvpro-faq__item.is-open .cvpro-faq__icon-vertical {
  /* Don't rotate — that creates an "X" cross. Just fade the vertical line. */
  opacity: 0;
}

.cvpro-faq__item.is-open .cvpro-faq__icon {
  color: var(--cvpro-primary);
}

.cvpro-faq__answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--cvpro-transition-slow), padding var(--cvpro-transition-slow);
  padding: 0;
}

.cvpro-faq__item.is-open .cvpro-faq__answer {
  max-height: 400px;
  padding-bottom: var(--cvpro-space-lg);
}

.cvpro-faq__answer-content {
  color: var(--cvpro-text-secondary);
  font-size: 0.9375rem;
  line-height: 1.7;
  padding-top: var(--cvpro-space-xs);
}

.cvpro-faq__answer-content p {
  margin-bottom: var(--cvpro-space-md);
}

.cvpro-faq__answer-content p:last-child {
  margin-bottom: 0;
}

/* --------------------------------------------------------------------------
   BEM: Blog Preview
   -------------------------------------------------------------------------- */

.cvpro-blog-preview__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--cvpro-space-xl);
}

.cvpro-blog-preview__action {
  text-align: center;
  margin-top: var(--cvpro-space-2xl);
}

/* --------------------------------------------------------------------------
   BEM: Post Card
   -------------------------------------------------------------------------- */

.cvpro-post-card__image-link {
  display: block;
  overflow: hidden;
}

.cvpro-post-card__image {
  aspect-ratio: 16 / 9;
  overflow: hidden;
}

.cvpro-post-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--cvpro-transition-slow);
}

.cvpro-post-card:hover .cvpro-post-card__image img {
  transform: scale(1.05);
}

.cvpro-post-card__body {
  padding: var(--cvpro-space-xl);
}

.cvpro-post-card__category {
  display: inline-block;
  padding: 0.25rem 0.625rem;
  background: rgba(26, 86, 219, 0.08);
  color: var(--cvpro-primary);
  font-size: 0.75rem;
  font-weight: 600;
  border-radius: var(--cvpro-radius-sm);
  margin-bottom: var(--cvpro-space-md);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.cvpro-post-card__title {
  font-size: 1.125rem;
  font-weight: 700;
  margin-bottom: var(--cvpro-space-sm);
  line-height: 1.3;
}

.cvpro-post-card__title a {
  color: var(--cvpro-text-primary);
  text-decoration: none;
}

.cvpro-post-card__title a:hover {
  color: var(--cvpro-primary);
}

.cvpro-post-card__excerpt {
  font-size: 0.9375rem;
  color: var(--cvpro-text-secondary);
  line-height: 1.6;
  margin-bottom: var(--cvpro-space-lg);
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Card body category badge — shown above the title in cards across all
   archive views (blog, category, tag, author, related). Uses the same
   per-category color as the thumbnail overlay badge. */
.cvpro-post-card__categories {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  margin-bottom: 0.55rem;
}
.cvpro-post-card__category-pill {
  display: inline-flex;
  align-items: center;
  padding: 0.22rem 0.6rem;
  border-radius: 999px;
  font-size: 0.66rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  text-decoration: none;
  line-height: 1.1;
  transition: filter 0.15s ease, transform 0.15s ease;
}
.cvpro-post-card__category-pill:hover {
  filter: brightness(0.92);
  transform: translateY(-1px);
}

.cvpro-post-card__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem var(--cvpro-space-md);
  font-size: 0.8125rem;
  color: var(--cvpro-text-secondary);
}

/* In narrow grid columns (3+ cols, sidebar layouts, etc.) the author block
   and the date/read-time block can't fit on one row. Stack them cleanly
   instead of letting them wrap mid-row. */
.cvpro-blog-grid--3 .cvpro-post-card__meta,
.cvpro-blog-grid--4 .cvpro-post-card__meta,
.cvpro-related-posts .cvpro-post-card__meta {
  flex-direction: column;
  align-items: flex-start;
  gap: 0.4rem;
}
.cvpro-blog-grid--3 .cvpro-post-card__details,
.cvpro-blog-grid--4 .cvpro-post-card__details,
.cvpro-related-posts .cvpro-post-card__details {
  flex-wrap: nowrap;
  white-space: nowrap;
}

.cvpro-post-card__author {
  display: flex;
  align-items: center;
  gap: var(--cvpro-space-xs);
}

.cvpro-post-card__avatar {
  width: 24px;
  height: 24px;
  border-radius: var(--cvpro-radius-full);
  object-fit: cover;
}

.cvpro-post-card__author-name {
  font-weight: 500;
}

.cvpro-post-card__separator {
  width: 3px;
  height: 3px;
  background: var(--cvpro-text-secondary);
  border-radius: var(--cvpro-radius-full);
  opacity: 0.5;
}

.cvpro-post-card__date {
  color: var(--cvpro-text-secondary);
}

.cvpro-post-card__details {
  display: flex;
  align-items: center;
  gap: var(--cvpro-space-sm);
}

.cvpro-post-card__read-time {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  font-size: 0.8125rem;
  color: var(--cvpro-text-secondary);
}

/* --------------------------------------------------------------------------
   BEM: Demo Preview
   -------------------------------------------------------------------------- */

.cvpro-demo__frame {
  border: 1px solid var(--cvpro-border);
  border-radius: var(--cvpro-radius-xl);
  overflow: hidden;
  box-shadow: var(--cvpro-shadow-lg);
}

.cvpro-demo__browser-bar {
  display: flex;
  align-items: center;
  gap: var(--cvpro-space-md);
  padding: var(--cvpro-space-sm) var(--cvpro-space-md);
  background: var(--cvpro-bg-secondary);
  border-bottom: 1px solid var(--cvpro-border);
}

.cvpro-demo__browser-dots {
  display: flex;
  gap: 6px;
}

.cvpro-demo__dot {
  width: 10px;
  height: 10px;
  border-radius: var(--cvpro-radius-full);
  background: var(--cvpro-border);
}

.cvpro-demo__dot--red {
  background: #ff5f56;
}

.cvpro-demo__dot--yellow {
  background: #ffbd2e;
}

.cvpro-demo__dot--green {
  background: #27c93f;
}

.cvpro-demo__browser-url {
  flex: 1;
  background: var(--cvpro-bg-primary);
  border-radius: var(--cvpro-radius-sm);
  padding: var(--cvpro-space-xs) var(--cvpro-space-sm);
  font-size: 0.75rem;
  color: var(--cvpro-text-secondary);
}

.cvpro-demo__content {
  position: relative;
}

.cvpro-demo__video {
  aspect-ratio: 16 / 9;
  overflow: hidden;
}

.cvpro-demo__video video,
.cvpro-demo__video iframe {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.cvpro-demo__image {
  width: 100%;
  display: block;
}

.cvpro-demo__placeholder {
  aspect-ratio: 16 / 9;
  background: var(--cvpro-bg-secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--cvpro-text-secondary);
}

.cvpro-demo__placeholder svg {
  width: 48px;
  height: 48px;
  opacity: 0.4;
}

.cvpro-demo__action {
  text-align: center;
  margin-top: var(--cvpro-space-xl);
}

/* --------------------------------------------------------------------------
   BEM: Final CTA
   -------------------------------------------------------------------------- */

.cvpro-final-cta__content {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 600px;
  margin: 0 auto;
}

.cvpro-final-cta__headline {
  color: #FFFFFF;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  margin-bottom: var(--cvpro-space-md);
}

.cvpro-final-cta__subtext {
  font-size: 1.125rem;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: var(--cvpro-space-2xl);
  line-height: 1.7;
}

.cvpro-final-cta__overlay {
  position: absolute;
  inset: 0;
  background: rgba(17, 25, 40, 0.85);
  z-index: 0;
}

/* --------------------------------------------------------------------------
   BEM: Section Headers
   -------------------------------------------------------------------------- */

.cvpro-section__header {
  text-align: center;
  margin-bottom: var(--cvpro-space-3xl);
  max-width: 680px;
  margin-left: auto;
  margin-right: auto;
}

.cvpro-section__title {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 800;
  margin-bottom: var(--cvpro-space-md);
  color: var(--cvpro-text-primary);
}

.cvpro-section__subtitle {
  font-size: 1.125rem;
  color: var(--cvpro-text-secondary);
  line-height: 1.7;
}

/* --------------------------------------------------------------------------
   BEM: Author Box ("Written by" card)
   -------------------------------------------------------------------------- */

/* Author box — sits inside the article so it inherits the post's content
   width. Rounded photo with primary-color ring, soft surface bg, gentle
   shadow on hover. Strip is now a small top tag, not a full-width band. */
.cvpro-author-box {
  position: relative;
  margin: var(--cvpro-space-xl) 0 var(--cvpro-space-md);
  padding: 2rem 1.75rem 1.75rem;
  border: 1px solid var(--cvpro-border, #e5e7eb);
  border-radius: var(--cvpro-radius-xl);
  background: linear-gradient(180deg, rgba(var(--cvpro-primary-rgb), 0.04) 0%, var(--cvpro-bg-primary) 60%);
  transition: border-color var(--cvpro-transition-fast), box-shadow var(--cvpro-transition-fast);
}
/* Comments / nav / related — tight stacking after the author box. */
.cvpro-single-comments {
  margin-top: var(--cvpro-space-md);
}
.cvpro-author-box + .cvpro-single-comments,
.cvpro-author-box + .cvpro-single-comments .cvpro-comments {
  margin-top: var(--cvpro-space-md) !important;
  padding-top: var(--cvpro-space-md) !important;
}
.cvpro-single-comments + .cvpro-post-nav,
.cvpro-author-box + .cvpro-post-nav {
  margin-top: var(--cvpro-space-md);
}
.cvpro-post-nav + .cvpro-related-posts,
.cvpro-single-comments + .cvpro-related-posts {
  margin-top: var(--cvpro-space-lg);
  padding-top: var(--cvpro-space-md);
}
.cvpro-related-posts {
  margin-bottom: var(--cvpro-space-md);
}
.cvpro-author-box:hover {
  border-color: rgba(var(--cvpro-primary-rgb), 0.25);
  box-shadow: 0 12px 32px rgba(0,0,0,0.06);
}
.cvpro-author-box__strip {
  position: absolute;
  top: -8px;
  /* Align horizontally with the avatar inside the box: avatar sits at
     box padding-left (1.75rem), strip starts at the same offset. */
  left: 1.75rem;
  background: var(--cvpro-primary);
  color: #fff;
  padding: 0.28rem 0.6rem;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  line-height: 1;
  box-shadow: 0 4px 10px rgba(var(--cvpro-primary-rgb), 0.28);
}
.cvpro-author-box__strip-label {
  display: inline-block;
  font-family: var(--cvpro-font-heading);
  font-weight: 700;
  font-size: 0.55rem;
  line-height: 1;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.cvpro-author-box__body {
  display: flex;
  gap: 1.5rem;
  align-items: center;
  flex-wrap: wrap;
}
.cvpro-author-box__avatar-link {
  flex-shrink: 0;
  display: block;
  position: relative;
  border-radius: 50%;
  line-height: 0;
  padding: 4px;
  background: linear-gradient(135deg, var(--cvpro-primary), rgba(var(--cvpro-primary-rgb), 0.4));
  box-shadow: 0 8px 20px rgba(var(--cvpro-primary-rgb), 0.18);
  transition: transform var(--cvpro-transition-fast);
}
.cvpro-author-box__avatar-link:hover {
  transform: scale(1.04);
}
.cvpro-author-box__img {
  width: 88px;
  height: 88px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--cvpro-bg-primary);
  display: block;
}
.cvpro-author-box__content {
  flex: 1;
  min-width: 0;
}
.cvpro-author-box__name {
  font-size: 1.25rem;
  font-weight: 700;
  margin: 0 0 var(--cvpro-space-xs);
  color: var(--cvpro-text-primary);
}
.cvpro-author-box__name a {
  color: inherit;
  text-decoration: none;
}
.cvpro-author-box__name a:hover {
  color: var(--cvpro-primary);
}
.cvpro-author-box__bio {
  font-size: 0.95rem;
  color: var(--cvpro-text-secondary);
  line-height: 1.65;
  margin: 0 0 var(--cvpro-space-md);
}
.cvpro-author-box__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.875rem;
  margin-bottom: var(--cvpro-space-md);
}
.cvpro-author-box__posts,
.cvpro-author-box__website {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  color: var(--cvpro-primary);
  text-decoration: none;
  font-weight: 600;
}
.cvpro-author-box__posts:hover,
.cvpro-author-box__website:hover {
  text-decoration: underline;
}
.cvpro-author-box__socials {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  list-style: none;
  margin: 0;
  padding: 0;
}
.cvpro-author-box__social {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--cvpro-bg-secondary, #f9fafb);
  color: var(--cvpro-text-secondary);
  text-decoration: none;
  border: 1px solid var(--cvpro-border, #e5e7eb);
  transition: all var(--cvpro-transition-fast);
}
.cvpro-author-box__social:hover {
  color: #fff;
  background: var(--cvpro-primary);
  border-color: var(--cvpro-primary);
  transform: translateY(-1px);
}

@media (max-width: 600px) {
  .cvpro-author-box {
    padding: 2rem 1.25rem 1.25rem;
  }
  .cvpro-author-box__strip {
    left: 1rem;
  }
  .cvpro-author-box__body {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  .cvpro-author-box__img {
    width: 76px;
    height: 76px;
  }
  .cvpro-author-box__meta,
  .cvpro-author-box__socials {
    justify-content: center;
  }
}

/* --------------------------------------------------------------------------
   BEM: Breadcrumb
   -------------------------------------------------------------------------- */

.cvpro-breadcrumb__list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.2rem;
  list-style: none;
  padding: 0;
  margin: 0;
  font-size: 0.74rem;
  line-height: 1.1;
  color: var(--cvpro-text-secondary);
}

.cvpro-breadcrumb__item {
  display: inline-flex;
  align-items: center;
  line-height: 1.1;
}

.cvpro-breadcrumb__link {
  color: var(--cvpro-text-secondary);
  text-decoration: none;
  transition: color var(--cvpro-transition-fast);
  line-height: 1.1;
}

.cvpro-breadcrumb__link:hover {
  color: var(--cvpro-primary);
}

.cvpro-breadcrumb__link--home {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}
.cvpro-breadcrumb__link--home svg {
  display: block;
  flex-shrink: 0;
}

.cvpro-breadcrumb__separator {
  display: inline-flex;
  align-items: center;
  margin: 0 0.25rem;
  opacity: 0.55;
  color: var(--cvpro-text-secondary);
  line-height: 1;
}
.cvpro-breadcrumb__separator svg {
  display: block;
}

.cvpro-breadcrumb__current {
  color: var(--cvpro-text-primary);
  font-weight: 500;
  line-height: 1.1;
}

/* --------------------------------------------------------------------------
   BEM: Social Share
   -------------------------------------------------------------------------- */

.cvpro-social-share {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--cvpro-space-sm);
  margin: var(--cvpro-space-2xl) 0 var(--cvpro-space-xl);
  padding: var(--cvpro-space-lg) 0;
  border-top: 1px solid var(--cvpro-border);
  border-bottom: 1px solid var(--cvpro-border);
}

.cvpro-social-share__label {
  font-weight: 500;
  font-size: 0.9375rem;
  color: var(--cvpro-text-primary);
  margin-right: var(--cvpro-space-sm);
  flex-shrink: 0;
}

.cvpro-social-share__buttons {
  display: flex;
  align-items: center;
  gap: var(--cvpro-space-sm);
  flex-wrap: wrap;
}

@media (max-width: 480px) {
  .cvpro-social-share {
    flex-direction: column;
    align-items: flex-start;
  }
  .cvpro-social-share__label { margin-right: 0; }
  .cvpro-social-share__buttons { width: 100%; }
}

/* Each share button takes the official brand color so the icon matches what
   users expect (WhatsApp green, Twitter/X black, LinkedIn blue, etc.). Hover
   slightly darkens / lifts the pill. */
.cvpro-social-share__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: var(--cvpro-radius-full);
  border: 1px solid transparent;
  color: #ffffff;
  transition: transform var(--cvpro-transition-fast), filter var(--cvpro-transition-fast), box-shadow var(--cvpro-transition-fast);
  text-decoration: none;
  cursor: pointer;
}

.cvpro-social-share__btn svg {
  width: 18px;
  height: 18px;
}

.cvpro-social-share__btn:hover {
  transform: translateY(-2px);
  box-shadow: var(--cvpro-shadow-sm);
  filter: brightness(1.05);
}

/* Brand colors */
.cvpro-social-share__btn--twitter   { background: #000000; }
.cvpro-social-share__btn--facebook  { background: #1877F2; }
.cvpro-social-share__btn--linkedin  { background: #0A66C2; }
.cvpro-social-share__btn--whatsapp  { background: #25D366; }
.cvpro-social-share__btn--pinterest { background: #E60023; }
.cvpro-social-share__btn--telegram  { background: #229ED9; }
.cvpro-social-share__btn--reddit    { background: #FF4500; }
.cvpro-social-share__btn--email     { background: #6B7280; }

.cvpro-social-share__btn--copy {
  position: relative;
  background: var(--cvpro-bg-primary);
  border-color: var(--cvpro-border);
  color: var(--cvpro-text-secondary);
}
.cvpro-social-share__btn--copy:hover {
  background: var(--cvpro-primary);
  border-color: var(--cvpro-primary);
  color: #FFFFFF;
}

/* --------------------------------------------------------------------------
   BEM: Responsive Overrides
   -------------------------------------------------------------------------- */

@media (max-width: 1024px) {
  .cvpro-hero__grid {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .cvpro-hero__content {
    max-width: 100%;
    order: 1;
  }

  .cvpro-hero__image {
    max-width: 480px;
    margin: 0 auto;
    order: 0;
  }

  .cvpro-hero__actions {
    justify-content: center;
  }

  .cvpro-hero__trust {
    justify-content: center;
  }

  .cvpro-features__grid {
    --features-cols: 2;
  }

  .cvpro-testimonials__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .cvpro-testimonials__grid--masonry {
    column-count: 2;
  }

  .cvpro-pricing__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .cvpro-pricing__card--highlighted {
    grid-column: span 2;
    max-width: 400px;
    margin: 0 auto;
  }

  .cvpro-blog-preview__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .cvpro-faq__list--cols-2 {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .cvpro-nav__menu {
    display: none;
  }

  .cvpro-nav__hamburger {
    display: flex;
  }

  .cvpro-features__grid {
    --features-cols: 1;
  }

  .cvpro-testimonials__grid {
    grid-template-columns: 1fr;
  }

  .cvpro-testimonials__grid--masonry {
    column-count: 1;
  }

  .cvpro-pricing__grid {
    grid-template-columns: 1fr;
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
  }

  .cvpro-pricing__card--highlighted {
    grid-column: span 1;
    transform: none;
    max-width: none;
  }

  .cvpro-blog-preview__grid {
    grid-template-columns: 1fr;
  }

  .cvpro-how-it-works__steps {
    grid-template-columns: 1fr;
  }

  .cvpro-how-it-works__steps::before {
    display: none;
  }

  .cvpro-social-proof__stats {
    grid-template-columns: repeat(2, 1fr);
  }

  .cvpro-hero__scroll {
    display: none;
  }
}

@media (max-width: 480px) {
  .cvpro-hero__badge {
    font-size: 0.75rem;
  }

  .cvpro-hero__actions {
    flex-direction: column;
  }

  .cvpro-hero__actions .cvpro-btn {
    width: 100%;
  }

  .cvpro-hero__trust {
    flex-direction: column;
    gap: var(--cvpro-space-md);
  }

  .cvpro-section__title {
    font-size: clamp(1.5rem, 6vw, 2rem);
  }

  .cvpro-pricing__amount {
    font-size: 2.5rem;
  }

  /* social-proof at <=480px is handled by the 560px breakpoint above (gap: 0, single column) */
}

/* ==========================================================================
   WordPress Core Element Styles
   ========================================================================== */

/* Image Alignment */
.alignleft {
  float: left;
  margin: 0.5rem 1.5rem 1rem 0;
}

.alignright {
  float: right;
  margin: 0.5rem 0 1rem 1.5rem;
}

.aligncenter {
  display: block;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 1rem;
}

.alignnone {
  margin-bottom: 1rem;
}

.alignwide {
  margin-left: calc(-1 * var(--cvpro-space-xl));
  margin-right: calc(-1 * var(--cvpro-space-xl));
  max-width: calc(100% + var(--cvpro-space-xl) * 2);
  width: calc(100% + var(--cvpro-space-xl) * 2);
}

.alignfull {
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  max-width: 100%;
  width: 100vw;
  overflow: hidden;
}
@media (max-width: 768px) {
  .alignfull { margin-left: 0; margin-right: 0; width: 100%; }
}

/* Captions */
.wp-caption {
  max-width: 100%;
  margin-bottom: 1rem;
}

.wp-caption img {
  display: block;
  max-width: 100%;
  height: auto;
}

.wp-caption-text,
figcaption,
.wp-element-caption {
  font-size: 0.8125rem;
  color: var(--cvpro-text-secondary);
  text-align: center;
  margin-top: 0.5rem;
  font-style: italic;
}

/* WordPress Gallery */
.gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--cvpro-space-sm);
  margin-bottom: var(--cvpro-space-lg);
}

.gallery-columns-1 { grid-template-columns: 1fr; }
.gallery-columns-2 { grid-template-columns: repeat(2, 1fr); }
.gallery-columns-3 { grid-template-columns: repeat(3, 1fr); }
.gallery-columns-4 { grid-template-columns: repeat(4, 1fr); }

.gallery-item {
  margin: 0;
}

.gallery-item img {
  width: 100%;
  height: auto;
  border-radius: var(--cvpro-radius-sm);
}

/* Gutenberg Blocks */
.wp-block-image {
  margin-bottom: var(--cvpro-space-lg);
}

.wp-block-image img {
  border-radius: var(--cvpro-radius-md);
}

.wp-block-image figcaption {
  font-size: 0.8125rem;
  color: var(--cvpro-text-secondary);
  text-align: center;
  margin-top: 0.5rem;
}

.wp-block-quote {
  margin: 1.5rem 0;
  padding: 1rem 1.5rem;
  border-left: 4px solid var(--cvpro-primary);
  background: var(--cvpro-bg-secondary);
  border-radius: 0 var(--cvpro-radius-md) var(--cvpro-radius-md) 0;
}

.wp-block-quote cite {
  display: block;
  margin-top: 0.5rem;
  font-size: 0.875rem;
  color: var(--cvpro-text-secondary);
}

.wp-block-separator {
  border: none;
  border-top: 1px solid var(--cvpro-border);
  margin: 2rem 0;
}

.wp-block-separator.is-style-wide {
  border-top-width: 2px;
}

.wp-block-separator.is-style-dots {
  border: none;
  text-align: center;
}

.wp-block-separator.is-style-dots::before {
  content: '···';
  font-size: 1.5rem;
  letter-spacing: 1rem;
  color: var(--cvpro-text-secondary);
}

.wp-block-table {
  margin-bottom: var(--cvpro-space-lg);
  overflow-x: auto;
}

.wp-block-table table {
  width: 100%;
  border-collapse: collapse;
}

.wp-block-table th,
.wp-block-table td {
  padding: 0.75rem 1rem;
  border: 1px solid var(--cvpro-border);
  text-align: left;
}

.wp-block-table th {
  background: var(--cvpro-bg-secondary);
  font-weight: 600;
}

.wp-block-code {
  background: var(--cvpro-bg-dark);
  color: #e5e7eb;
  padding: 1.25rem;
  border-radius: var(--cvpro-radius-md);
  overflow-x: auto;
  font-size: 0.875rem;
}

.wp-block-preformatted {
  white-space: pre-wrap;
  font-family: monospace;
}

.wp-block-pullquote {
  border-top: 3px solid var(--cvpro-primary);
  border-bottom: 3px solid var(--cvpro-primary);
  padding: var(--cvpro-space-lg) 0;
  margin: var(--cvpro-space-2xl) 0;
  text-align: center;
}

.wp-block-pullquote blockquote {
  border: none;
  background: none;
  padding: 0;
  font-size: 1.25rem;
  font-style: italic;
}

.wp-block-cover {
  border-radius: var(--cvpro-radius-lg);
  overflow: hidden;
  margin-bottom: var(--cvpro-space-lg);
}

.wp-block-button__link {
  display: inline-flex;
  align-items: center;
  padding: 0.75rem 1.5rem;
  border-radius: var(--cvpro-radius-md);
  font-weight: 600;
  text-decoration: none;
  transition: all var(--cvpro-transition-fast);
}

.wp-block-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: var(--cvpro-space-sm);
  margin-bottom: var(--cvpro-space-lg);
}

.wp-block-columns {
  display: flex;
  gap: var(--cvpro-space-xl);
  margin-bottom: var(--cvpro-space-lg);
}

.wp-block-column {
  flex: 1;
}

@media (max-width: 768px) {
  .wp-block-columns {
    flex-direction: column;
  }
  .alignleft,
  .alignright {
    float: none;
    margin-left: 0;
    margin-right: 0;
  }
  .gallery-columns-3,
  .gallery-columns-4 {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Sticky Post Badge */
.sticky .cvpro-post-card::before {
  content: '';
  position: absolute;
  top: var(--cvpro-space-sm);
  right: var(--cvpro-space-sm);
  width: 10px;
  height: 10px;
  background: var(--cvpro-accent);
  border-radius: var(--cvpro-radius-full);
}

/* Screen Reader Text (WordPress Core) */
.screen-reader-text {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.screen-reader-text:focus {
  background: var(--cvpro-bg-primary);
  color: var(--cvpro-text-primary);
  clip: auto;
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  height: auto;
  left: 5px;
  line-height: normal;
  padding: 0.75rem 1.5rem;
  text-decoration: none;
  top: 5px;
  width: auto;
  z-index: var(--cvpro-z-toast, 500);
}

/* ==========================================================================
   HOMEPAGE LAYOUT OVERRIDES — Fixes for proper rendering
   ========================================================================== */

/* ── HEADER FIX ────────────────────────────── */
.cvpro-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: var(--cvpro-z-sticky, 200);
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--cvpro-border, #e5e7eb);
  transition: box-shadow 0.3s ease;
}

.cvpro-header.is-scrolled {
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
  border-bottom: 1px solid var(--cvpro-border, #e5e7eb);
}

/* Header always visible — no hide on scroll */

.cvpro-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  gap: var(--cvpro-space-lg, 1.5rem);
}

.cvpro-nav__brand {
  flex-shrink: 0;
}

.cvpro-nav__brand a,
.cvpro-nav__site-name {
  font-family: var(--cvpro-font-heading);
  font-weight: 800;
  font-size: 1.375rem;
  color: var(--cvpro-text-primary);
  text-decoration: none;
  letter-spacing: -0.02em;
}

.cvpro-nav__brand img,
.cvpro-nav__brand .custom-logo {
  max-height: 38px;
  width: auto;
}

.cvpro-nav__menu {
  flex: 1;
  display: flex;
  justify-content: center;
}

.cvpro-nav__list {
  display: flex;
  align-items: center;
  gap: var(--cvpro-space-xs, 0.25rem);
  list-style: none;
  margin: 0;
  padding: 0;
}

.cvpro-nav__list li a {
  display: block;
  padding: 0.5rem 0.875rem;
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--cvpro-text-primary);
  text-decoration: none;
  border-radius: var(--cvpro-radius-md, 8px);
  transition: color 0.15s ease, background 0.15s ease;
}

.cvpro-nav__list li a:hover,
.cvpro-nav__list li.current-menu-item > a {
  color: var(--cvpro-primary);
  background: rgba(var(--cvpro-primary-rgb), 0.06);
}

.cvpro-nav__actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-shrink: 0;
}

.cvpro-nav__signin {
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--cvpro-text-primary);
  text-decoration: none;
  padding: 0.5rem 0.75rem;
  border-radius: var(--cvpro-radius-md, 8px);
  transition: color 0.15s ease;
}

.cvpro-nav__signin:hover {
  color: var(--cvpro-primary);
}

.cvpro-nav__cta {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.6rem 1.25rem;
  border-radius: var(--cvpro-radius-md, 8px);
  font-weight: 600;
  font-size: 0.875rem;
  color: #fff;
  text-decoration: none;
  transition: opacity 0.15s ease, transform 0.15s ease;
}

.cvpro-nav__cta:hover {
  opacity: 0.9;
  transform: translateY(-1px);
}

.cvpro-nav__hamburger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  width: 40px;
  height: 40px;
  padding: 8px;
  position: relative;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
}

.cvpro-nav__hamburger span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--cvpro-text-primary);
  border-radius: 2px;
  transition: all 0.3s ease;
}

@media (max-width: 768px) {
  .cvpro-nav__menu,
  .cvpro-nav__signin,
  .cvpro-nav__cta {
    display: none;
  }
  .cvpro-mobile-menu-btn {
    display: flex;
  }
}

/* ── HERO FIX ──────────────────────────────── */
.cvpro-hero {
  min-height: auto;
  display: flex;
  align-items: center;
  /* tight gap to the fixed header */
  padding-top: calc(var(--header-height, 80px) + 0.25rem);
  padding-bottom: 3rem;
  overflow: hidden;
  position: relative;
}

.cvpro-hero__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.cvpro-hero__content {
  max-width: 560px;
}

.cvpro-hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.4rem 0.95rem;
  border-radius: var(--cvpro-radius-full, 9999px);
  font-size: 0.8125rem;
  font-weight: 600;
  background: #ffffff;
  color: var(--cvpro-primary);
  /* match the gap to the headline below to the gap to the header above */
  margin: 0 0 0.25rem;
  border: 1px solid rgba(var(--cvpro-primary-rgb), 0.18);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}
/* Don't fade the badge in — it must always be visible even if scroll-animation
   JS hasn't fired yet (avoids the "badge gone" perception on slow loads). */
.cvpro-hero__badge[data-animate] {
  opacity: 1 !important;
  transform: none !important;
}

.cvpro-hero__headline {
  font-family: var(--cvpro-font-heading);
  font-size: clamp(2.25rem, 5vw, 3.75rem);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.03em;
  color: var(--cvpro-text-primary);
  margin-top: 0;
  margin-bottom: 1.25rem;
}

.cvpro-hero__subheadline {
  font-size: 1.125rem;
  line-height: 1.65;
  color: var(--cvpro-text-secondary);
  margin-bottom: 2rem;
  max-width: 480px;
}

.cvpro-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 2rem;
}

.cvpro-hero__trust {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.cvpro-hero__trust-item {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.8125rem;
  color: var(--cvpro-text-secondary);
  font-weight: 500;
}

.cvpro-hero__image {
  position: relative;
  max-width: 100%;
  overflow: hidden;
}

.cvpro-hero__image img {
  width: 100%;
  max-width: 100%;
  height: auto;
  display: block;
  border-radius: var(--cvpro-radius-xl, 20px);
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.15);
}

.cvpro-hero__scroll {
  display: flex;
  justify-content: center;
  margin-top: 2rem;
  animation: cvpro-bounce 2s ease infinite;
  color: var(--cvpro-text-secondary);
  opacity: 0.5;
}

@keyframes cvpro-bounce {
  0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
  40% { transform: translateY(-8px); }
  60% { transform: translateY(-4px); }
}

@media (max-width: 1024px) {
  .cvpro-hero__grid {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 2.5rem;
  }
  .cvpro-hero__content {
    max-width: 600px;
    margin-inline: auto;
  }
  .cvpro-hero__subheadline {
    margin-inline: auto;
  }
  .cvpro-hero__actions {
    justify-content: center;
  }
  .cvpro-hero__trust {
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .cvpro-hero {
    min-height: auto;
    padding-top: calc(var(--header-height, 80px) + 0.5rem);
    padding-bottom: 2.5rem;
  }
  .cvpro-hero__headline {
    font-size: 2rem;
  }
  .cvpro-hero__scroll {
    display: none; /* avoids overlapping the trust badges on small screens */
  }
}

/* ── BRAND TRUST BAR ──────────────────────── */
.cvpro-brand-trust {
  padding-block: 2.5rem;
  border-top: 1px solid var(--cvpro-border, #e5e7eb);
  border-bottom: 1px solid var(--cvpro-border, #e5e7eb);
  background: var(--cvpro-bg-primary);
}

.cvpro-brand-trust__title {
  text-align: center;
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--cvpro-text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 1.5rem;
}

.cvpro-brand-trust__logos {
  overflow: hidden;
  position: relative;
  /* Full-bleed: break out of container, reach both viewport edges */
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  width: 100vw;
  max-width: none;
}
.cvpro-brand-trust__logos-track {
  display: flex;
  gap: 3rem;
  animation: cvpro-marquee 30s linear infinite;
  width: max-content;
  will-change: transform;
}
.cvpro-brand-trust__logos-track:hover {
  animation-play-state: paused;
}

.cvpro-brand-trust__logo {
  opacity: 0.6;
  transition: opacity 0.2s ease;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  min-height: 32px;
}

.cvpro-brand-trust__logo:hover {
  opacity: 1;
}

.cvpro-brand-trust__logo span {
  font-family: var(--cvpro-font-heading);
  font-weight: 700;
  font-size: 1.125rem;
  color: var(--cvpro-text-primary);
  letter-spacing: 0.01em;
}

/* ── COMPARISON TABLE ────────────────────── */
.cvpro-comparison {
  background: var(--cvpro-bg-secondary, #f8f9fa);
}

.cvpro-comparison__table-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin-bottom: 2rem;
  /* Float the whole table on a soft elevated surface so it reads as a card */
  background: var(--cvpro-bg-primary);
  border: 1px solid var(--cvpro-border, #e5e7eb);
  border-radius: var(--cvpro-radius-xl, 16px);
  box-shadow: 0 18px 44px rgba(20, 25, 50, 0.06), 0 2px 6px rgba(20, 25, 50, 0.03);
  padding: 0.5rem;
}

.cvpro-comparison__table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  font-size: 0.9375rem;
  min-width: 480px;
}

.cvpro-comparison__table thead th {
  padding: 1.1rem 1.25rem;
  font-weight: 700;
  font-size: 0.875rem;
  text-align: center;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--cvpro-text-secondary);
  border-bottom: 1px solid var(--cvpro-border);
  background: transparent;
  white-space: nowrap;
}

.cvpro-comparison__table thead th:first-child {
  text-align: left;
  text-transform: none;
  letter-spacing: 0;
  font-size: 0.95rem;
  color: var(--cvpro-text-primary);
}

.cvpro-comparison__table tbody tr {
  transition: background 0.18s ease;
}
.cvpro-comparison__table tbody tr:hover {
  background: rgba(var(--cvpro-primary-rgb), 0.025);
}

.cvpro-comparison__table tbody td {
  padding: 0.95rem 1.25rem;
  text-align: center;
  border-bottom: 1px solid var(--cvpro-border);
  background: transparent;
  font-size: 0.925rem;
}

.cvpro-comparison__table tbody tr:last-child td {
  border-bottom: none;
}

.cvpro-comparison__table tbody td:first-child {
  text-align: left;
  font-weight: 600;
  color: var(--cvpro-text-primary);
}

/* Highlight column — primary product (PortfolioMentor) gets a soft tinted
   vertical band so the whole column stands out as the recommended option. */
.cvpro-comparison__highlight {
  background: rgba(var(--cvpro-primary-rgb), 0.06) !important;
  color: var(--cvpro-primary);
  font-weight: 700;
  position: relative;
}

.cvpro-comparison__table thead .cvpro-comparison__highlight {
  background: var(--cvpro-primary) !important;
  color: #fff;
  border-radius: 0.65rem 0.65rem 0 0;
  box-shadow: 0 8px 18px rgba(var(--cvpro-primary-rgb), 0.28);
  text-transform: none;
  letter-spacing: 0;
  font-size: 0.95rem;
}

/* Pulled-up "Recommended" badge above the highlight column */
.cvpro-comparison__table thead .cvpro-comparison__highlight::before {
  content: 'Recommended';
  position: absolute;
  top: -10px;
  left: 50%;
  transform: translateX(-50%);
  background: #10b981;
  color: #fff;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.18rem 0.55rem;
  border-radius: 999px;
  white-space: nowrap;
  box-shadow: 0 4px 10px rgba(16, 185, 129, 0.35);
}

.cvpro-comparison__table tbody tr:last-child .cvpro-comparison__highlight {
  border-radius: 0 0 0.65rem 0.65rem;
}

/* Polished SVG check / cross / dash for value cells */
.cvpro-comparison__check,
.cvpro-comparison__cross,
.cvpro-comparison__partial,
.cvpro-comparison__mobile-value--check,
.cvpro-comparison__mobile-value--cross,
.cvpro-comparison__mobile-value--partial {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  vertical-align: middle;
  line-height: 1;
  flex-shrink: 0;
}
.cvpro-comparison__check svg,
.cvpro-comparison__cross svg,
.cvpro-comparison__partial svg,
.cvpro-comparison__mobile-value--check svg,
.cvpro-comparison__mobile-value--cross svg,
.cvpro-comparison__mobile-value--partial svg {
  display: block;
  width: 14px;
  height: 14px;
}
.cvpro-comparison__check,
.cvpro-comparison__mobile-value--check {
  background: rgba(16, 185, 129, 0.14);
  color: #059669;
}
.cvpro-comparison__cross,
.cvpro-comparison__mobile-value--cross {
  background: rgba(239, 68, 68, 0.12);
  color: #dc2626;
}
.cvpro-comparison__partial,
.cvpro-comparison__mobile-value--partial {
  background: rgba(245, 158, 11, 0.14);
  color: #d97706;
}
.cvpro-comparison__table tbody td {
  text-align: center;
}
.cvpro-comparison__table tbody td:first-child {
  text-align: left;
}
.cvpro-comparison__text {
  font-weight: 600;
  color: var(--cvpro-text-primary);
}

.cvpro-comparison__bottom {
  text-align: center;
}

.cvpro-comparison__summary {
  margin-bottom: 1.5rem;
  font-size: 1.0625rem;
  color: var(--cvpro-text-secondary);
}

.cvpro-comparison__summary strong {
  color: var(--cvpro-primary);
  font-size: 1.25rem;
  display: block;
  margin-bottom: 0.25rem;
}

/* ── STATS COUNTER (lower-page section) — keep simple/original ── */
.cvpro-stats {
  background: var(--cvpro-bg-dark, #111928);
  color: #fff;
  padding-block: 4rem;
}

.cvpro-stats__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  text-align: center;
}

.cvpro-stats__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
}

.cvpro-stats__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  margin-bottom: 0.25rem;
}

.cvpro-stats__number {
  font-family: var(--cvpro-font-heading);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  line-height: 1;
  background: linear-gradient(135deg, #fff, rgba(255, 255, 255, 0.7));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.cvpro-stats__label {
  font-size: 0.875rem;
  opacity: 0.7;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

@media (max-width: 768px) {
  .cvpro-stats__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem 1.5rem;
  }
}

/* ── BUTTON VARIANTS ──────────────────────── */
.cvpro-btn--primary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  background: var(--cvpro-primary);
  color: #fff;
  border: none;
  border-radius: var(--cvpro-radius-md, 8px);
  font-family: var(--cvpro-font-heading);
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.2s ease;
  line-height: 1.2;
  box-sizing: border-box;
}

.cvpro-btn--primary:hover {
  background: var(--cvpro-primary-dark);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(var(--cvpro-primary-rgb), 0.35);
}

.cvpro-btn--outline {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  background: transparent;
  color: var(--cvpro-text-primary);
  border: 1.5px solid var(--cvpro-border);
  border-radius: var(--cvpro-radius-md, 8px);
  font-family: var(--cvpro-font-heading);
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.2s ease;
  line-height: 1.2;
  box-sizing: border-box;
}

.cvpro-btn--outline:hover {
  border-color: var(--cvpro-primary);
  color: var(--cvpro-primary);
}

.cvpro-btn--lg {
  padding: 0.875rem 2rem;
  font-size: 1.0625rem;
}

.cvpro-btn--white {
  background: #fff;
  color: var(--cvpro-text-primary);
}

.cvpro-btn--white:hover {
  background: #f3f4f6;
}

/* ==========================================================================
   HOMEPAGE SECTIONS + LAYOUT FIXES
   ========================================================================== */

/* ── ADMIN BAR + PROMO BANNER + HEADER STACKING ─────────────────────────── */
body.admin-bar #cvpro-header,
body.admin-bar .cvpro-header { top: 32px; }

body.has-promo-banner #cvpro-header,
body.has-promo-banner .cvpro-header { top: 44px; }

body.has-promo-banner.admin-bar #cvpro-header,
body.has-promo-banner.admin-bar .cvpro-header { top: 76px; }

/* Hero needs extra top padding when admin bar is present */
body.admin-bar .cvpro-hero { padding-top: calc(var(--header-height, 80px) + 0.25rem + 32px); }
body.has-promo-banner .cvpro-hero { padding-top: calc(var(--header-height, 80px) + 0.25rem + 44px); }
body.has-promo-banner.admin-bar .cvpro-hero { padding-top: calc(var(--header-height, 80px) + 0.25rem + 76px); }

@media (max-width: 782px) {
  body.admin-bar #cvpro-header,
  body.admin-bar .cvpro-header { top: 46px; }
  body.has-promo-banner.admin-bar #cvpro-header,
  body.has-promo-banner.admin-bar .cvpro-header { top: 90px; }
  body.admin-bar .cvpro-hero { padding-top: calc(var(--header-height, 80px) + 3rem + 46px); }
}

/* ── PROMO BANNER ────────────────────────────────────────────────────────── */
.cvpro-promo-banner {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: calc(var(--cvpro-z-sticky, 200) + 10);
  background: linear-gradient(90deg, var(--cvpro-primary), var(--cvpro-primary-dark, var(--cvpro-primary-dark)));
  color: #fff;
  padding: 0.6rem 1rem;
  text-align: center;
  font-size: 0.875rem; font-weight: 500;
  height: 44px;
  display: flex; align-items: center; justify-content: center;
}
body.admin-bar .cvpro-promo-banner { top: 32px; }
@media (max-width: 782px) { body.admin-bar .cvpro-promo-banner { top: 46px; } }
.cvpro-promo-banner__inner { display: flex; align-items: center; justify-content: center; gap: 0.5rem; max-width: 1200px; margin: 0 auto; position: relative; padding-right: 2.5rem; }
.cvpro-promo-banner a {
  color: #fff;
  text-decoration: underline;
  font-weight: 600;
}

.cvpro-promo-banner a:hover {
  opacity: 0.9;
}

.cvpro-promo-banner__close {
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255,255,255,0.15);
  border: none;
  color: #fff;
  cursor: pointer;
  padding: 0.35rem;
  line-height: 1;
  opacity: 0.8;
  transition: opacity 0.2s, background 0.2s;
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
}

.cvpro-promo-banner__close:hover {
  opacity: 1;
  background: rgba(255,255,255,0.25);
}

/* Promo banner — let admin tweak font size via customizer (--cvpro-promo-fz)
   and keep the close button from sliding under the text on mobile. */
.cvpro-promo-banner { font-size: var(--cvpro-promo-fz, 0.875rem); }
.cvpro-promo-banner__inner {
  /* Reserve enough right-side space for the close button at all widths */
  padding-right: 2.75rem;
}
@media(max-width:600px) {
  .cvpro-promo-banner {
    font-size: var(--cvpro-promo-fz-mobile, 0.78rem);
    padding: 0.5rem 0.75rem;
    height: auto;
    min-height: 40px;
  }
  .cvpro-promo-banner__inner {
    padding-right: 2.5rem;
    line-height: 1.35;
    text-align: left;
  }
  .cvpro-promo-banner__close {
    width: 28px;
    height: 28px;
    padding: 0;
  }
}

/* ── UPLOAD SECTION ──────────────────────────────────────────────────────── */
.cvpro-upload-section { padding: 5rem 0; background: var(--cvpro-bg-primary); }
.cvpro-upload-section__wrapper { max-width: 640px; margin: 0 auto; }
.cvpro-upload-section__dropzone {
  border: 2px dashed var(--cvpro-primary); border-radius: 1.5rem;
  padding: 3rem 2rem; text-align: center; cursor: pointer;
  background: rgba(var(--cvpro-primary-rgb), 0.03); transition: all 0.3s;
}
.cvpro-upload-section__dropzone:hover,
.cvpro-upload-section__dropzone.is-dragging {
  border-style: solid; background: rgba(var(--cvpro-primary-rgb), 0.06); transform: scale(1.01);
}
.cvpro-upload-section__icon { color: var(--cvpro-primary); margin-bottom: 1rem; }
.cvpro-upload-section__icon svg { width: 64px; height: 64px; }
.cvpro-upload-section__drag-text { font-weight: 600; font-size: 1.0625rem; margin-bottom: 0.25rem; }
.cvpro-upload-section__formats { font-size: 0.8125rem; color: var(--cvpro-text-secondary); margin-bottom: 1rem; }
.cvpro-upload-section__btn { margin-top: 0.5rem; }
.cvpro-upload-section__input { display: none; }
.cvpro-upload-section__progress { margin-top: 1.5rem; }
.cvpro-upload-section__progress-bar { height: 6px; background: #e5e7eb; border-radius: 999px; overflow: hidden; }
.cvpro-upload-section__progress-fill { height: 100%; background: var(--cvpro-primary); border-radius: 999px; width: 0; transition: width 0.3s; }
.cvpro-upload-section__progress-text { font-size: 0.8125rem; color: var(--cvpro-text-secondary); text-align: center; margin-top: 0.5rem; }
.cvpro-upload-section__trust-badges { display: flex; justify-content: center; flex-wrap: wrap; gap: 1.5rem; margin-top: 2rem; }
.cvpro-upload-section__badge { display: flex; align-items: center; gap: 0.35rem; font-size: 0.8125rem; color: var(--cvpro-text-secondary); }
.cvpro-upload-section__badge svg { width: 18px; height: 18px; flex-shrink: 0; }
.cvpro-upload-section__privacy { text-align: center; font-size: 0.8125rem; color: var(--cvpro-text-secondary); margin-top: 1rem; display: flex; align-items: center; justify-content: center; gap: 0.35rem; }

/* ── HOW IT WORKS CARDS ─────────────────────────────────────────────────── */
.cvpro-how-it-works { background: var(--cvpro-bg-secondary, #f8f9fa); }
.cvpro-how-it-works__cards {
  display: grid; grid-template-columns: 1fr auto 1fr auto 1fr;
  gap: 0; align-items: center; max-width: 1000px; margin: 0 auto;
}
.cvpro-how-it-works__card {
  background: var(--cvpro-bg-primary); border-radius: 1.25rem;
  padding: 2rem 1.5rem; text-align: center;
  border: 1px solid var(--cvpro-border); box-shadow: 0 1px 3px rgba(0,0,0,0.04);
  transition: transform 0.3s, box-shadow 0.3s;
}
.cvpro-how-it-works__card:hover { transform: translateY(-6px); box-shadow: 0 12px 24px rgba(0,0,0,0.08); }
.cvpro-how-it-works__badge {
  width: 56px; height: 56px; border-radius: 50%;
  background: linear-gradient(135deg, var(--cvpro-primary), var(--cvpro-primary-dark, var(--cvpro-primary-dark)));
  color: #fff; font-weight: 800; font-size: 1.25rem;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 1rem;
}
.cvpro-how-it-works__icon { color: var(--cvpro-primary); margin: 0 auto 0.75rem; display: flex; justify-content: center; }
.cvpro-how-it-works__icon svg { width: 48px; height: 48px; }
.cvpro-how-it-works__title { font-family: var(--cvpro-font-heading); font-weight: 600; font-size: 1.125rem; margin-bottom: 0.5rem; }
.cvpro-how-it-works__description { color: var(--cvpro-text-secondary); font-size: 0.9375rem; line-height: 1.6; }
.cvpro-how-it-works__arrow { display: flex; align-items: center; justify-content: center; padding: 0 0.75rem; color: var(--cvpro-text-secondary); opacity: 0.4; }
@media(max-width:768px){
  .cvpro-how-it-works__cards { grid-template-columns: 1fr; gap: 1.5rem; max-width: 400px; }
  .cvpro-how-it-works__arrow { display: none; }
}

/* ── BEFORE / AFTER ─────────────────────────────────────────────────────── */
.cvpro-before-after {
  padding: var(--cvpro-section-py) 0;
}

.cvpro-before-after__tabs {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  border-bottom: 1px solid var(--cvpro-border);
  margin-bottom: 2.5rem;
}

.cvpro-before-after__tab {
  padding: 0.75rem 1.5rem;
  font-weight: 500;
  font-size: 0.9375rem;
  color: var(--cvpro-text-secondary);
  background: transparent;
  border: none;
  border-bottom: 2px solid transparent;
  cursor: pointer;
  transition: all var(--cvpro-transition-fast);
  font-family: var(--cvpro-font-body);
}

.cvpro-before-after__tab:hover {
  color: var(--cvpro-text-primary);
}

.cvpro-before-after__tab.is-active,
.cvpro-before-after__tab--active {
  border-bottom-color: var(--cvpro-primary);
  color: var(--cvpro-primary);
}

/* Before/After comparison layout */
.cvpro-before-after__comparison {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 1.5rem;
  align-items: stretch;
}

/* Card styling for both before and after sides */
.cvpro-before-after__side {
  padding: 2rem;
  border-radius: 1rem;
  border: 1px solid var(--cvpro-border, #e5e7eb);
  background: #fff;
  box-shadow: 0 1px 3px rgba(0,0,0,0.04);
}

.cvpro-before-after__side--before {
  border-top: 4px solid #e02424;
}

.cvpro-before-after__side--after {
  border-top: 4px solid #10b981;
}

.cvpro-before-after__side-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.5rem;
}

.cvpro-before-after__label {
  font-family: var(--cvpro-font-heading);
  font-weight: 700;
  font-size: 1.125rem;
}
.cvpro-before-after__label--before { color: #e02424; }
.cvpro-before-after__label--after { color: #10b981; }

.cvpro-before-after__score {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 0.35rem 1rem;
  font-weight: 700;
  font-size: 1rem;
}
.cvpro-before-after__score small { font-size: 0.75em; opacity: 0.7; margin-left: 1px; }
.cvpro-before-after__score--low { background: rgba(224,36,36,0.08); color: #e02424; }
.cvpro-before-after__score--high { background: rgba(16,185,129,0.08); color: #10b981; }

.cvpro-before-after__list {
  list-style: none; padding: 0; margin: 0;
  display: flex; flex-direction: column; gap: 0.75rem;
}

.cvpro-before-after__item {
  display: flex; align-items: flex-start; gap: 0.6rem;
  font-size: 0.9375rem; line-height: 1.5;
  color: var(--cvpro-text-primary);
}
.cvpro-before-after__item svg { flex-shrink: 0; margin-top: 2px; }
.cvpro-before-after__item--negative svg { color: #e02424; }
.cvpro-before-after__item--positive svg { color: #10b981; }

/* Divider arrow between cards */
.cvpro-before-after__divider {
  display: flex; align-items: center; justify-content: center;
  color: var(--cvpro-text-secondary); opacity: 0.3;
}

@media (max-width: 768px) {
  .cvpro-before-after__comparison { grid-template-columns: 1fr; }
  .cvpro-before-after__divider { transform: rotate(90deg); padding: 0.5rem 0; }
  .cvpro-before-after__tabs { gap: 0; overflow-x: auto; flex-wrap: nowrap; white-space: nowrap; -webkit-overflow-scrolling: touch; }

  .cvpro-before-after__tab {
    padding: 0.625rem 1rem;
    font-size: 0.875rem;
  }
}

/* ── FEATURE SPOTLIGHTS ──────────────────────────────────────────────────── */
.cvpro-spotlight {
  padding: var(--cvpro-section-py) 0;
  overflow: hidden; /* never let a child image bleed past the section edge */
}
.cvpro-spotlight__row {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 4rem; align-items: center;
  margin-bottom: 5rem;
  min-width: 0; /* required for grid children to shrink correctly */
}
.cvpro-spotlight__row:last-child { margin-bottom: 0; }
.cvpro-spotlight__row--reverse .cvpro-spotlight__visual { order: -1; }
.cvpro-spotlight__visual {
  min-width: 0;        /* shrink-to-fit inside grid cell */
  max-width: 100%;
  overflow: hidden;
}
.cvpro-spotlight__visual img,
.cvpro-spotlight__visual svg {
  display: block;
  max-width: 100%;
  height: auto;
}

.cvpro-spotlight__content {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.cvpro-spotlight__title {
  font-family: var(--cvpro-font-heading);
  font-size: 2rem;
  font-weight: 700;
  color: var(--cvpro-text-primary);
  line-height: 1.25;
}

.cvpro-spotlight__description {
  color: var(--cvpro-text-secondary);
  line-height: 1.65;
  font-size: 1rem;
}

.cvpro-spotlight__list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.cvpro-spotlight__list li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.9375rem;
  color: var(--cvpro-text-primary);
}

.cvpro-spotlight__list li::before {
  content: '';
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  border-radius: var(--cvpro-radius-full);
  background-color: #10b981;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='%23fff'%3E%3Cpath fill-rule='evenodd' d='M16.704 4.153a.75.75 0 01.143 1.052l-8 10.5a.75.75 0 01-1.127.075l-4.5-4.5a.75.75 0 011.06-1.06l3.894 3.893 7.48-9.817a.75.75 0 011.05-.143z' clip-rule='evenodd'/%3E%3C/svg%3E");
  background-size: 12px 12px;
  background-position: center;
  background-repeat: no-repeat;
}

.cvpro-spotlight__image-placeholder {
  aspect-ratio: 4 / 3;
  border-radius: var(--cvpro-radius-xl);
  background: linear-gradient(135deg, rgba(26, 86, 219, 0.06), rgba(26, 86, 219, 0.12));
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.cvpro-spotlight__image-placeholder svg,
.cvpro-spotlight__image-placeholder img {
  max-width: 100%;
  height: auto;
}

.cvpro-spotlight__image-placeholder .placeholder-icon {
  font-size: 4rem;
  color: var(--cvpro-primary);
  opacity: 0.3;
}

/* Spotlight section CTA — solid primary pill, not just a colored link.
   Makes "Try it free" / "Improve your portfolio" look like a real button. */
.cvpro-spotlight__cta {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.4rem;
  background: var(--cvpro-primary);
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9375rem;
  border-radius: 0.6rem;
  box-shadow: 0 6px 16px rgba(var(--cvpro-primary-rgb), 0.25);
  transition: gap 0.2s ease, background 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease, color 0.2s ease;
  align-self: flex-start;
  /* Extra breathing room from the list / description above so the button
     reads as a separate action, not glued to the last bullet. */
  margin-top: 0.85rem;
}
.cvpro-spotlight__cta:hover {
  gap: 0.75rem;
  background: var(--cvpro-primary-dark, var(--cvpro-primary));
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 10px 22px rgba(var(--cvpro-primary-rgb), 0.32);
}
.cvpro-spotlight__cta svg {
  flex-shrink: 0;
  transition: transform 0.2s ease;
}
.cvpro-spotlight__cta:hover svg {
  transform: translateX(2px);
}
@media (max-width: 768px) {
  .cvpro-spotlight__cta {
    align-self: center;
  }
}
.cvpro-spotlight__bullets {
  list-style: none; padding: 0; margin: 0;
  display: flex; flex-direction: column; gap: 0.6rem;
}
.cvpro-spotlight__bullet {
  display: flex; align-items: center; gap: 0.6rem;
  font-size: 0.9375rem; color: var(--cvpro-text-primary);
}
.cvpro-spotlight__bullet svg { color: #10b981; flex-shrink: 0; }
@media(max-width:768px){
  .cvpro-spotlight__row { grid-template-columns: 1fr; gap: 2rem; }
  .cvpro-spotlight__visual { order: -1; }
  .cvpro-spotlight__title { font-size: 1.5rem; }
}

/* ── SPEED COMPARISON ────────────────────────────────────────────────────── */
.cvpro-speed { background: var(--cvpro-bg-secondary, #f8f9fa); }
.cvpro-speed__chart { max-width: 800px; margin: 0 auto; display: flex; flex-direction: column; gap: 1rem; }
.cvpro-speed__row {
  display: grid; grid-template-columns: 180px 1fr 120px;
  gap: 1rem; align-items: center;
  padding: 0.5rem 0;
}
.cvpro-speed__row--primary .cvpro-speed__name { font-weight: 700; color: var(--cvpro-primary); }
.cvpro-speed__label { display: flex; align-items: center; gap: 0.5rem; }
.cvpro-speed__icon { display: flex; align-items: center; color: var(--cvpro-text-secondary); }
.cvpro-speed__icon svg { width: 20px; height: 20px; }
.cvpro-speed__name { font-weight: 500; font-size: 0.9375rem; }
.cvpro-speed__bar-wrapper { height: 36px; background: #f3f4f6; border-radius: 999px; overflow: hidden; }
.cvpro-speed__bar {
  height: 100%; border-radius: 999px; transition: width 1.5s ease;
  display: flex; align-items: center; justify-content: flex-end; padding-right: 0.75rem;
  font-size: 0.75rem; color: #fff; font-weight: 600;
}
.cvpro-speed__bar--primary { background: linear-gradient(90deg, var(--cvpro-primary), var(--cvpro-primary-dark, var(--cvpro-primary-dark))); }
.cvpro-speed__bar--secondary { background: linear-gradient(90deg, #f59e0b, #d97706); }
.cvpro-speed__bar--muted { background: linear-gradient(90deg, #ef4444, #dc2626); }
.cvpro-speed__time { font-weight: 600; font-size: 0.9375rem; text-align: right; white-space: nowrap; }
.cvpro-speed__footer { text-align: center; margin-top: 3.5rem; padding-top: 2rem; border-top: 1px solid var(--cvpro-border, #e5e7eb); }
.cvpro-speed__highlight {
  display: inline-flex; align-items: center; gap: 0.5rem;
  font-family: var(--cvpro-font-heading); font-size: 1.25rem; font-weight: 700;
  color: var(--cvpro-primary); margin-bottom: 1.5rem;
}
@media(max-width:768px){
  .cvpro-speed__row { grid-template-columns: 1fr 1fr; gap: 0.5rem; padding: 0.35rem 0; }
  .cvpro-speed__label { grid-column: 1 / -1; }
  .cvpro-speed__highlight { font-size: 1rem; }
  /* Slimmer bars on mobile + consistent typography */
  .cvpro-speed__bar-wrapper { height: 24px; }
  .cvpro-speed__bar {
    font-size: 0.7rem;
    padding-right: 0.5rem;
  }
  .cvpro-speed__name { font-size: 0.85rem; }
  .cvpro-speed__time { font-size: 0.85rem; }
  .cvpro-speed__icon svg { width: 16px; height: 16px; }
  .cvpro-speed__chart { gap: 0.65rem; }
}

/* --------------------------------------------------------------------------
   5. CAPABILITIES GRID (.cvpro-capabilities)
   -------------------------------------------------------------------------- */

.cvpro-capabilities {
  padding: var(--cvpro-section-py) 0;
}

.cvpro-capabilities__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.cvpro-capabilities__card {
  background: var(--cvpro-bg-primary);
  border: 1px solid var(--cvpro-border);
  border-radius: var(--cvpro-radius-lg);
  padding: 1.5rem;
  transition: all var(--cvpro-transition-normal);
}

.cvpro-capabilities__card:hover {
  transform: translateY(-2px);
  box-shadow: var(--cvpro-shadow-md);
  border-color: var(--cvpro-primary);
}

.cvpro-capabilities__icon {
  width: 48px;
  height: 48px;
  border-radius: var(--cvpro-radius-full);
  background: rgba(26, 86, 219, 0.1);
  color: var(--cvpro-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  font-size: 1.25rem;
}

.cvpro-capabilities__icon svg {
  width: 24px;
  height: 24px;
}

.cvpro-capabilities__title {
  font-weight: 600;
  font-size: 1rem;
  color: var(--cvpro-text-primary);
  margin-bottom: 0.25rem;
}

.cvpro-capabilities__description {
  font-size: 0.875rem;
  color: var(--cvpro-text-secondary);
  line-height: 1.5;
}

@media (max-width: 1024px) {
  .cvpro-capabilities__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

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

/* --------------------------------------------------------------------------
   6. MEDIA PRESS (.cvpro-media-press)
   -------------------------------------------------------------------------- */

.cvpro-media-press {
  padding: 2.5rem 0;
  border-top: 1px solid var(--cvpro-border);
  border-bottom: 1px solid var(--cvpro-border);
}

.cvpro-media-press__title {
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.8125rem;
  color: var(--cvpro-text-secondary);
  margin-bottom: 1.5rem;
  font-weight: 500;
}

.cvpro-media-press__logos {
  overflow: hidden;
  position: relative;
}
.cvpro-media-press__logos-track {
  display: flex;
  gap: 3rem;
  animation: cvpro-marquee 30s linear infinite;
  width: max-content;
}
.cvpro-media-press__logos-track:hover {
  animation-play-state: paused;
}

.cvpro-media-press__logo {
  font-family: var(--cvpro-font-heading);
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--cvpro-text-primary);
  opacity: 0.3;
  transition: opacity var(--cvpro-transition-normal);
  text-decoration: none;
  user-select: none;
}

.cvpro-media-press__logo:hover {
  opacity: 0.6;
}

@media (max-width: 640px) {
  .cvpro-media-press__logo {
    font-size: 1rem;
  }
}

/* --------------------------------------------------------------------------
   7. VIDEO DEMO (.cvpro-video-demo)
   -------------------------------------------------------------------------- */

.cvpro-video-demo {
  background: #111928;
  color: #fff;
  padding: 6rem 0;
  text-align: center;
}

.cvpro-video-demo__title {
  font-family: var(--cvpro-font-heading);
  font-size: 2.25rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
  color: #fff;
}

.cvpro-video-demo__subtitle {
  font-size: 1.125rem;
  opacity: 0.8;
  margin-bottom: 3rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.6;
}

.cvpro-video-demo__player {
  max-width: 800px;
  margin: 0 auto;
  aspect-ratio: 16 / 9;
  border-radius: var(--cvpro-radius-2xl);
  background: linear-gradient(135deg, rgba(26, 86, 219, 0.3), rgba(30, 66, 159, 0.5));
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  cursor: pointer;
}

.cvpro-video-demo__play-btn {
  width: 80px;
  height: 80px;
  border-radius: var(--cvpro-radius-full);
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 2px solid rgba(255, 255, 255, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all var(--cvpro-transition-normal);
  position: relative;
  z-index: 2;
}

.cvpro-video-demo__play-btn:hover {
  transform: scale(1.1);
  background: rgba(255, 255, 255, 0.3);
}

.cvpro-video-demo__play-btn::after {
  content: '';
  display: block;
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 12px 0 12px 22px;
  border-color: transparent transparent transparent #fff;
  margin-left: 4px;
}

@media (max-width: 768px) {
  .cvpro-video-demo {
    padding: 4rem 0;
  }

  .cvpro-video-demo__title {
    font-size: 1.75rem;
  }

  .cvpro-video-demo__subtitle {
    font-size: 1rem;
  }

  .cvpro-video-demo__play-btn {
    width: 60px;
    height: 60px;
  }

  .cvpro-video-demo__play-btn::after {
    border-width: 9px 0 9px 16px;
  }
}

/* ── FOOTER (White Clean Design) ─────────────────────────────────────────── */
.cvpro-footer {
  background: #fff; color: var(--cvpro-text-primary);
  border-top: 1px solid var(--cvpro-border, #e5e7eb);
  padding-top: 4.5rem;
}
.cvpro-footer__newsletter {
  display: flex; align-items: center; justify-content: space-between;
  gap: 2rem; padding: 3rem 0;
  border-bottom: 1px solid var(--cvpro-border, #e5e7eb);
}
.cvpro-footer__newsletter-title {
  font-family: var(--cvpro-font-heading); font-size: 1.25rem; font-weight: 700; margin-bottom: 0.25rem;
}
.cvpro-footer__newsletter-desc { font-size: 0.875rem; color: var(--cvpro-text-secondary); margin: 0; }
.cvpro-footer__newsletter-form {
  display: flex; gap: 0.5rem; flex-shrink: 0;
}
.cvpro-footer__newsletter-form input {
  padding: 0.65rem 1rem; border: 1px solid var(--cvpro-border);
  border-radius: 8px; font-size: 0.9375rem; width: 280px;
  font-family: var(--cvpro-font-body);
}
.cvpro-footer__newsletter-form input:focus { outline: none; border-color: var(--cvpro-primary); box-shadow: 0 0 0 3px rgba(var(--cvpro-primary-rgb), 0.1); }
.cvpro-footer__grid {
  display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr 1fr;
  gap: 3rem; padding: 4.5rem 0 4rem;
  align-items: start;
}
.cvpro-footer__brand { }
.cvpro-footer__logo-text {
  font-family: var(--cvpro-font-heading); font-weight: 800; font-size: 1.375rem;
  color: var(--cvpro-text-primary); text-decoration: none; display: block; margin-bottom: 0.75rem;
}
.cvpro-footer__logo { margin-bottom: 0.75rem; }
.cvpro-footer__logo img { max-height: 36px; width: auto; }
.cvpro-footer__tagline { font-size: 0.875rem; color: var(--cvpro-text-secondary); line-height: 1.6; margin-bottom: 1.25rem; max-width: 280px; }
.cvpro-footer__social { display: flex; gap: 0.75rem; }
.cvpro-footer__social a {
  display: flex; align-items: center; justify-content: center;
  width: 36px; height: 36px; border-radius: 8px;
  color: var(--cvpro-text-secondary); background: var(--cvpro-bg-secondary, #f8f9fa);
  transition: all 0.2s;
}
.cvpro-footer__social a:hover { color: var(--cvpro-primary); background: rgba(var(--cvpro-primary-rgb), 0.08); }
.cvpro-footer__col-title {
  font-family: var(--cvpro-font-heading); font-weight: 600; font-size: 0.875rem;
  text-transform: uppercase; letter-spacing: 0.05em;
  color: var(--cvpro-text-primary); margin-bottom: 1rem;
}
.cvpro-footer__col-links { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 0.6rem; }
.cvpro-footer__col-links a {
  font-size: 0.875rem; color: var(--cvpro-text-secondary);
  text-decoration: none; transition: color 0.15s;
}
.cvpro-footer__col-links a:hover { color: var(--cvpro-primary); }
.cvpro-footer__bottom {
  display: flex; justify-content: space-between; align-items: center;
  padding: 1.5rem 0; border-top: 1px solid var(--cvpro-border, #e5e7eb);
}
.cvpro-footer__copyright { font-size: 0.8125rem; color: var(--cvpro-text-secondary); margin: 0; }
.cvpro-footer__bottom-links { display: flex; gap: 1.5rem; }
.cvpro-footer__bottom-links a { font-size: 0.8125rem; color: var(--cvpro-text-secondary); text-decoration: none; }
.cvpro-footer__bottom-links a:hover { color: var(--cvpro-primary); }
.cvpro-footer__bottom-contact a {
  display: inline-flex; align-items: center; gap: 0.4rem;
  font-size: 0.875rem; color: var(--cvpro-text-secondary);
  text-decoration: none; transition: color 0.15s;
}
.cvpro-footer__bottom-contact a:hover { color: var(--cvpro-primary); }
@media(max-width:1024px){
  .cvpro-footer__grid { grid-template-columns: 1fr 1fr 1fr; gap: 2rem; }
  .cvpro-footer__brand { grid-column: 1 / -1; }
}
@media(max-width:768px){
  .cvpro-footer__newsletter { flex-direction: column; text-align: center; }
  .cvpro-footer__newsletter-form { width: 100%; }
  .cvpro-footer__newsletter-form input { flex: 1; width: auto; }
  .cvpro-footer__grid { grid-template-columns: 1fr 1fr; }
  .cvpro-footer__bottom { flex-direction: column; gap: 0.75rem; text-align: center; }
}
@media(max-width:480px){
  .cvpro-footer__grid { grid-template-columns: 1fr; }
}

/* ==========================================================================
   APPENDED FIXES & ADDITIONS
   ========================================================================== */

/* --------------------------------------------------------------------------
   Upload Section Step Indicator
   -------------------------------------------------------------------------- */

.cvpro-upload-section__steps {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 2rem;
  font-size: 0.8125rem;
  color: var(--cvpro-text-secondary);
}

.cvpro-upload-section__step-item {
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.cvpro-upload-section__step-num {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--cvpro-primary);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.6875rem;
  font-weight: 700;
  flex-shrink: 0;
}

.cvpro-upload-section__step-arrow {
  color: var(--cvpro-border);
  display: flex;
  align-items: center;
}

.cvpro-upload-section__step-arrow svg {
  width: 16px;
  height: 16px;
}

/* --------------------------------------------------------------------------
   Before/After Tabs — Scrollable on Mobile
   -------------------------------------------------------------------------- */

.cvpro-before-after__tabs {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  flex-wrap: nowrap;
  white-space: nowrap;
  scrollbar-width: none;          /* Firefox */
  -ms-overflow-style: none;       /* IE/Edge */
}

.cvpro-before-after__tabs::-webkit-scrollbar {
  display: none;                  /* Chrome/Safari */
}

/* --------------------------------------------------------------------------
   Feature Spotlight — Image Placeholder Visibility Fix
   -------------------------------------------------------------------------- */

.cvpro-spotlight__image-placeholder {
  min-height: 300px;
  background: linear-gradient(135deg, rgba(26, 86, 219, 0.1), rgba(26, 86, 219, 0.2));
}

/* --------------------------------------------------------------------------
   Feature Spotlight — Customizer Image Support
   -------------------------------------------------------------------------- */

.cvpro-spotlight__visual img {
  width: 100%;
  max-width: 100%;
  height: auto;
  border-radius: 1rem;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
}

/* --------------------------------------------------------------------------
   Speed Bars — Animate on Scroll (.is-visible trigger)
   -------------------------------------------------------------------------- */

.cvpro-speed .cvpro-speed__bar {
  width: 0;
  transition: width 1.5s cubic-bezier(0.4, 0, 0.2, 1) 0.3s;
}

.cvpro-speed.is-visible .cvpro-speed__bar {
  width: var(--bar-width);
}

/* --------------------------------------------------------------------------
   Video Demo — Light Background Override
   -------------------------------------------------------------------------- */

.cvpro-video-demo {
  background: var(--cvpro-bg-secondary);
  color: var(--cvpro-text-primary);
}

.cvpro-video-demo__title {
  color: var(--cvpro-text-primary);
}

.cvpro-video-demo__subtitle {
  color: var(--cvpro-text-secondary);
  opacity: 1;
}

/* --------------------------------------------------------------------------
   Final CTA — compact override (overrides padding from section 20)
   -------------------------------------------------------------------------- */

.cvpro-final-cta { padding: 3rem 0; }

.cvpro-final-cta .cvpro-section__title {
  font-size: 1.5rem;
}

.cvpro-final-cta .cvpro-container {
  display: block;
}
.cvpro-final-cta__inner {
  width: 100%;
  box-sizing: border-box;
}

/* --------------------------------------------------------------------------
   Media Press — Brand-Trust Style (logo images from customizer)
   -------------------------------------------------------------------------- */

.cvpro-media-press {
  padding-block: 2.5rem;
  border-top: 1px solid var(--cvpro-border, #e5e7eb);
  border-bottom: 1px solid var(--cvpro-border, #e5e7eb);
  background: var(--cvpro-bg-primary);
}

.cvpro-media-press__logos {
  overflow: hidden;
  position: relative;
}

.cvpro-media-press__logo {
  opacity: 0.35;
  transition: opacity 0.2s ease;
  text-decoration: none;
  user-select: none;
}

.cvpro-media-press__logo:hover {
  opacity: 0.7;
}

.cvpro-media-press__logo img {
  max-height: 32px;
  width: auto;
  display: block;
  filter: grayscale(100%);
  opacity: 0.6;
  transition: filter 0.2s ease, opacity 0.2s ease;
}

.cvpro-media-press__logo:hover img {
  filter: grayscale(0%);
  opacity: 1;
}

.cvpro-media-press__logo span {
  font-family: var(--cvpro-font-heading);
  font-weight: 700;
  font-size: 1.125rem;
  color: var(--cvpro-text-primary);
  letter-spacing: 0.01em;
}

/* --------------------------------------------------------------------------
   Hero Image Placeholder
   -------------------------------------------------------------------------- */

.cvpro-hero__placeholder {
  aspect-ratio: 4/3; border-radius: 1.25rem;
  background: linear-gradient(135deg, rgba(var(--cvpro-primary-rgb), 0.08), rgba(var(--cvpro-primary-rgb), 0.15));
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 25px 50px -12px rgba(0,0,0,0.1);
}

/* --------------------------------------------------------------------------
   Before/After Panel Display
   -------------------------------------------------------------------------- */

.cvpro-before-after__panel { display: none; }
/* Clickable "After" side — entire panel is a button that opens the modal */
.cvpro-before-after__side--clickable {
  display: block;
  width: 100%;
  text-align: left;
  font: inherit;
  color: inherit;
  cursor: pointer;
  position: relative;
  /* Reserve enough space below the list so the absolute CTA pill at the
     bottom never touches the last item. ~3rem CTA + 1.25rem bottom inset
     + 1rem breathing room = 5.5rem clearance. */
  padding-bottom: 5.5rem;
}
.cvpro-before-after__side--clickable .cvpro-before-after__list {
  margin-bottom: 0;
}
.cvpro-before-after__side--clickable .cvpro-before-after__list li:last-child {
  margin-bottom: 0;
}
.cvpro-before-after__side--clickable:hover {
  border-color: rgba(16,185,129,0.45);
  box-shadow: 0 12px 32px rgba(16,185,129,0.14);
  transform: translateY(-2px);
}
.cvpro-before-after__side--clickable:focus-visible {
  outline: 2px solid #10b981;
  outline-offset: 3px;
}
.cvpro-before-after__side-cta {
  position: absolute;
  left: 1.5rem;
  right: 1.5rem;
  bottom: 1.25rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.6rem 1rem;
  border-radius: 0.6rem;
  font-size: 0.8125rem;
  font-weight: 600;
  color: #fff;
  background: #10b981;
  letter-spacing: 0.005em;
  transition: background 0.2s ease, transform 0.2s ease;
}
.cvpro-before-after__side--clickable:hover .cvpro-before-after__side-cta {
  background: #0e9f6e;
  transform: translateY(-1px);
}
.cvpro-before-after__panel--active { display: block; }
.cvpro-before-after__tab--active { border-bottom-color: var(--cvpro-primary); color: var(--cvpro-primary); }

/* --------------------------------------------------------------------------
   Video Demo — CTA Spacing
   -------------------------------------------------------------------------- */

.cvpro-video-demo__action { margin-top: 2.5rem; text-align: center; }
.cvpro-video-demo__embed {
  max-width: 800px; margin: 0 auto; aspect-ratio: 16/9;
  border-radius: 1rem; overflow: hidden;
  box-shadow: 0 8px 30px rgba(0,0,0,0.1);
}
.cvpro-video-demo__embed iframe { width: 100%; height: 100%; border: none; }
.cvpro-video-demo__placeholder-text { font-size: 0.875rem; color: var(--cvpro-text-secondary); margin-top: 1rem; }

/* --------------------------------------------------------------------------
   CV Upload — Inline Steps
   -------------------------------------------------------------------------- */

.cvpro-upload-section__step-view { display: none; }
.cvpro-upload-section__step-view.is-active { display: block; }

.cvpro-upload-section__analyzing {
  max-width: 480px;
  margin: 0 auto;
  text-align: center;
  padding: 3rem 2rem;
}

.cvpro-upload-section__analyzing-icon {
  margin-bottom: 1.5rem;
}

.cvpro-upload-section__analyzing-icon svg {
  animation: cvpro-spin 2s linear infinite;
}

@keyframes cvpro-spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.cvpro-upload-section__analyzing-title {
  font-family: var(--cvpro-font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--cvpro-text-primary);
}

.cvpro-upload-section__analyzing-progress {
  height: 6px;
  background: #e5e7eb;
  border-radius: 999px;
  overflow: hidden;
  margin-bottom: 0.75rem;
}

.cvpro-upload-section__analyzing-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--cvpro-primary), var(--cvpro-primary-dark, var(--cvpro-primary-dark)));
  border-radius: 999px;
  width: 0;
  animation: cvpro-progress-fill 3s ease-out forwards;
}

@keyframes cvpro-progress-fill {
  0% { width: 0; }
  100% { width: 100%; }
}

.cvpro-upload-section__analyzing-text {
  font-size: 0.875rem;
  color: var(--cvpro-text-secondary);
}

.cvpro-upload-section__analyzing-checks {
  list-style: none;
  padding: 0;
  margin: 1.5rem 0 0;
  text-align: left;
  max-width: 320px;
  margin-left: auto;
  margin-right: auto;
}

.cvpro-upload-section__analyzing-checks li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: var(--cvpro-text-secondary);
  padding: 0.35rem 0;
}

.cvpro-upload-section__analyzing-checks li svg {
  flex-shrink: 0;
  color: #10b981;
}

.cvpro-upload-section__signup {
  max-width: 480px;
  margin: 0 auto;
  text-align: center;
  padding: 2rem;
  border-radius: var(--cvpro-radius-xl);
  border: 1px solid var(--cvpro-border);
  background: var(--cvpro-bg-primary);
}

.cvpro-upload-section__signup-title {
  font-family: var(--cvpro-font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: var(--cvpro-text-primary);
}

.cvpro-upload-section__signup-subtitle {
  font-size: 0.9375rem;
  color: var(--cvpro-text-secondary);
  margin-bottom: 1.5rem;
}

.cvpro-upload-section__signup-form {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.cvpro-upload-section__signup-form input {
  padding: 0.75rem 1rem;
  border: 1px solid var(--cvpro-border);
  border-radius: var(--cvpro-radius-md, 0.5rem);
  font-size: 0.9375rem;
  background: var(--cvpro-bg-primary);
  color: var(--cvpro-text-primary);
}

.cvpro-upload-section__signup-divider {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin: 1rem 0;
  font-size: 0.8125rem;
  color: var(--cvpro-text-secondary);
}

.cvpro-upload-section__signup-divider::before,
.cvpro-upload-section__signup-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--cvpro-border);
}

.cvpro-upload-section__signup-google {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid var(--cvpro-border);
  border-radius: var(--cvpro-radius-md, 0.5rem);
  background: var(--cvpro-bg-primary);
  cursor: pointer;
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--cvpro-text-primary);
  transition: background 0.2s;
}

.cvpro-upload-section__signup-google:hover {
  background: var(--cvpro-bg-secondary);
}

.cvpro-upload-section__signup-trust {
  display: flex;
  justify-content: center;
  gap: 1.25rem;
  margin-top: 1.25rem;
  font-size: 0.75rem;
  color: var(--cvpro-text-secondary);
}

.cvpro-upload-section__signup-trust span {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.cvpro-upload-section__signup-social-proof {
  margin-top: 1rem;
  font-size: 0.8125rem;
  color: var(--cvpro-text-secondary);
}

/* ==========================================================================
   FINAL FIXES BATCH
   ========================================================================== */

/* ── 1. Header bottom border line ──────────────────────────────────────── */
.cvpro-header.is-scrolled {
  border-bottom: 1px solid var(--cvpro-border, #e5e7eb);
}

/* ── 2. Upload Step 3 — sc.png inspired reveal screen ────────────────── */
.cvpro-upload-section__signup {
  max-width: 440px;
  margin: 0 auto;
  text-align: center;
  padding: 2.5rem 2rem;
  background: #fff;
  border-radius: 1.25rem;
  border: 1px solid var(--cvpro-border, #e5e7eb);
  box-shadow: 0 4px 24px rgba(0,0,0,0.06);
}

.cvpro-upload-section__signup-icon {
  width: 64px; height: 64px;
  margin: 0 auto 1.25rem;
  background: linear-gradient(135deg, rgba(var(--cvpro-primary-rgb), 0.1), rgba(var(--cvpro-primary-rgb), 0.2));
  border-radius: 1rem;
  display: flex; align-items: center; justify-content: center;
  color: var(--cvpro-primary);
}

.cvpro-upload-section__signup-title {
  font-family: var(--cvpro-font-heading);
  font-size: 1.5rem; font-weight: 800;
  margin-bottom: 0.5rem;
}

.cvpro-upload-section__signup-subtitle {
  font-size: 0.9375rem;
  color: var(--cvpro-text-secondary);
  margin-bottom: 1.5rem;
  line-height: 1.5;
}

.cvpro-upload-section__signup-cta {
  display: flex; align-items: center; justify-content: center; gap: 0.5rem;
  width: 100%; padding: 0.875rem 1.5rem;
  background: linear-gradient(135deg, var(--cvpro-primary), var(--cvpro-primary-dark, var(--cvpro-primary-dark)));
  color: #fff; border: none; border-radius: 0.75rem;
  font-weight: 700; font-size: 1.0625rem;
  cursor: pointer; transition: opacity 0.2s, transform 0.2s;
}
.cvpro-upload-section__signup-cta:hover {
  opacity: 0.9; transform: translateY(-1px);
  box-shadow: 0 4px 15px rgba(var(--cvpro-primary-rgb), 0.4);
}

.cvpro-upload-section__signup-divider {
  display: flex; align-items: center; gap: 1rem;
  margin: 1.25rem 0; color: var(--cvpro-text-secondary); font-size: 0.8125rem;
}
.cvpro-upload-section__signup-divider::before,
.cvpro-upload-section__signup-divider::after {
  content: ''; flex: 1; height: 1px; background: var(--cvpro-border, #e5e7eb);
}

.cvpro-upload-section__signup-google {
  display: flex; align-items: center; justify-content: center; gap: 0.5rem;
  width: 100%; padding: 0.75rem 1rem;
  background: #fff; border: 1.5px solid var(--cvpro-border, #e5e7eb);
  border-radius: 0.75rem; cursor: pointer;
  font-weight: 500; font-size: 0.9375rem;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.cvpro-upload-section__signup-google:hover {
  border-color: var(--cvpro-primary);
  box-shadow: 0 0 0 3px rgba(var(--cvpro-primary-rgb), 0.06);
}

.cvpro-upload-section__signup-nocredit {
  font-size: 0.8125rem; color: var(--cvpro-text-secondary);
  margin-top: 0.75rem;
}

.cvpro-upload-section__signup-trust {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 1rem;
  margin-top: 1rem; font-size: 0.75rem; color: var(--cvpro-text-secondary);
}
.cvpro-upload-section__signup-trust span {
  display: flex; align-items: center; gap: 0.25rem;
}

/* Love the result card */
.cvpro-upload-section__love-card {
  max-width: 440px; margin: 1.5rem auto 0;
  background: linear-gradient(135deg, rgba(var(--cvpro-primary-rgb), 0.06), rgba(var(--cvpro-primary-rgb), 0.12));
  border-radius: 1rem; padding: 1.5rem; text-align: center;
  border: 1px solid rgba(var(--cvpro-primary-rgb), 0.15);
}
.cvpro-upload-section__love-card h4 {
  font-family: var(--cvpro-font-heading);
  font-weight: 700; font-size: 1.0625rem; margin-bottom: 0.35rem;
}
.cvpro-upload-section__love-card p {
  font-size: 0.875rem; color: var(--cvpro-text-secondary); margin-bottom: 1rem;
}
.cvpro-upload-section__love-btn {
  display: inline-flex; align-items: center; gap: 0.35rem;
  padding: 0.6rem 1.5rem; background: #fff;
  border: 1.5px solid var(--cvpro-border, #e5e7eb);
  border-radius: 0.75rem; font-weight: 600; font-size: 0.875rem;
  cursor: pointer; transition: border-color 0.2s;
  color: var(--cvpro-text-primary); text-decoration: none;
}
.cvpro-upload-section__love-btn:hover { border-color: var(--cvpro-primary); }

/* Plan mini comparison */
.cvpro-upload-section__plans {
  display: flex; justify-content: center; gap: 2rem;
  margin-top: 1rem; font-size: 0.75rem; color: var(--cvpro-text-secondary);
}
.cvpro-upload-section__plan { text-align: center; }
.cvpro-upload-section__plan-label { font-weight: 600; color: var(--cvpro-text-primary); display: block; margin-bottom: 0.15rem; }

/* ── 3. Social proof bar below upload ────────────────────────────────── */
.cvpro-upload-section__social-proof {
  max-width: 440px; margin: 2rem auto 0;
  display: flex; flex-direction: column; align-items: center; gap: 0.5rem;
  text-align: center;
}

.cvpro-upload-section__avatars {
  display: flex;
}
.cvpro-upload-section__avatar {
  width: 32px; height: 32px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.6875rem; font-weight: 700; color: #fff;
  border: 2px solid #fff;
  margin-left: -8px;
}
.cvpro-upload-section__avatar:first-child { margin-left: 0; }
.cvpro-upload-section__avatar--1 { background: var(--cvpro-primary); }
.cvpro-upload-section__avatar--2 { background: #10b981; }
.cvpro-upload-section__avatar--3 { background: #f59e0b; }
.cvpro-upload-section__avatar--4 { background: #ef4444; }
.cvpro-upload-section__avatar--5 { background: #3b82f6; }

.cvpro-upload-section__social-proof p {
  font-size: 0.8125rem; color: var(--cvpro-text-secondary); margin: 0;
}
.cvpro-upload-section__social-proof strong { color: var(--cvpro-text-primary); }

.cvpro-upload-section__activity {
  display: flex; align-items: center; gap: 0.35rem;
  font-size: 0.75rem; color: var(--cvpro-text-secondary);
}
.cvpro-upload-section__activity-dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: #10b981; animation: cvpro-pulse-dot 2s infinite;
}
@keyframes cvpro-pulse-dot {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

/* ── 4. Step indicator (sc2.png style with dashed lines) ─────────────── */
.cvpro-upload-section__steps {
  display: flex; align-items: center; justify-content: center;
  gap: 0; margin-top: 2rem; margin-bottom: 1.5rem;
}
.cvpro-upload-section__step {
  display: flex; align-items: center; gap: 0.5rem;
}
.cvpro-upload-section__step-number {
  width: 28px; height: 28px; border-radius: 50%;
  background: var(--cvpro-primary); color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.75rem; font-weight: 700; flex-shrink: 0;
}
.cvpro-upload-section__step-label {
  font-size: 0.8125rem; font-weight: 500; color: var(--cvpro-text-primary);
  white-space: nowrap;
}
.cvpro-upload-section__step-arrow {
  width: 40px; display: flex; align-items: center; justify-content: center;
}
.cvpro-upload-section__step-line {
  width: 40px; height: 0;
  border-top: 2px dashed var(--cvpro-border, #e5e7eb);
  margin: 0 0.5rem;
}
@media (max-width: 640px) {
  .cvpro-upload-section__steps { flex-direction: column; gap: 0.75rem; align-items: flex-start; }
  .cvpro-upload-section__step-line { width: 0; height: 20px; border-top: none; border-left: 2px dashed var(--cvpro-border); margin: 0 0 0 13px; }
}

/* ── 5. Comparison table — spacing between text and button ───────────── */
.cvpro-comparison__bottom {
  text-align: center;
  margin-top: 2.5rem;
  padding-top: 2rem;
}
.cvpro-comparison__summary {
  margin-bottom: 2rem;
}

/* ── 6. See Difference cards — improve visual design ─────────────────── */
.cvpro-before-after__side {
  padding: 2rem;
  border-radius: 1rem;
  border: 1px solid var(--cvpro-border, #e5e7eb);
  background: #fff;
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
  transition: box-shadow 0.3s;
}
.cvpro-before-after__side:hover {
  box-shadow: 0 8px 24px rgba(0,0,0,0.08);
}
.cvpro-before-after__side--before {
  border-top: 4px solid #e02424;
}
.cvpro-before-after__side--after {
  border-top: 4px solid #10b981;
}
.cvpro-before-after__side-header {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 1.25rem; padding-bottom: 1rem;
  border-bottom: 1px solid var(--cvpro-border, #e5e7eb);
}
.cvpro-before-after__score {
  font-size: 1.125rem; font-weight: 800;
  padding: 0.4rem 1rem; border-radius: 999px;
}
.cvpro-before-after__item {
  padding: 0.5rem 0;
}

/* ── 7. Analyzing animation improvements ─────────────────────────────── */
.cvpro-upload-section__analyzing {
  max-width: 440px; margin: 0 auto; text-align: center;
  padding: 2.5rem 2rem;
  background: #fff; border-radius: 1.25rem;
  border: 1px solid var(--cvpro-border);
  box-shadow: 0 4px 24px rgba(0,0,0,0.06);
}
.cvpro-upload-section__analyzing-icon {
  margin-bottom: 1rem;
  animation: cvpro-spin-slow 3s linear infinite;
}
@keyframes cvpro-spin-slow { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }
.cvpro-upload-section__analyzing-title {
  font-family: var(--cvpro-font-heading);
  font-size: 1.25rem; font-weight: 700; margin-bottom: 1.25rem;
}
.cvpro-upload-section__analyzing-progress {
  height: 6px; background: var(--cvpro-border); border-radius: 999px;
  overflow: hidden; margin-bottom: 1rem;
}
.cvpro-upload-section__analyzing-fill {
  height: 100%; border-radius: 999px;
  background: linear-gradient(90deg, var(--cvpro-primary), var(--cvpro-primary-dark, var(--cvpro-primary-dark)));
  animation: cvpro-analyzing-progress 3s ease forwards;
}
@keyframes cvpro-analyzing-progress { from { width: 0; } to { width: 100%; } }
.cvpro-upload-section__analyzing-text {
  font-size: 0.875rem; color: var(--cvpro-text-secondary); margin-bottom: 0.75rem;
}
.cvpro-upload-section__analyzing-checks {
  list-style: none; padding: 0; margin: 0;
  display: flex; flex-direction: column; gap: 0.4rem;
  text-align: left; max-width: 300px; margin: 0 auto;
}
.cvpro-upload-section__analyzing-checks li {
  display: flex; align-items: center; gap: 0.5rem;
  font-size: 0.8125rem; color: #10b981;
  animation: cvpro-check-in 0.3s ease;
}
@keyframes cvpro-check-in { from { opacity: 0; transform: translateX(-8px); } to { opacity: 1; transform: none; } }

/* ── 8. Mobile floating CTA ──────────────────────────────────────────── */
/* ── Floating CTA — Desktop: bottom-right button, Mobile: bottom bar ── */
.cvpro-mobile-cta {
  position: fixed;
  z-index: calc(var(--cvpro-z-overlay, 300) - 50);
  box-sizing: border-box;
}
.cvpro-mobile-cta__inner {
  display: flex; align-items: center; gap: 0.75rem;
  justify-content: space-between;
  width: 100%;
}
.cvpro-mobile-cta__text {
  font-size: 0.8125rem; font-weight: 500;
  color: var(--cvpro-text-primary);
}
.cvpro-mobile-cta__text small { display: block; font-size: 0.6875rem; color: var(--cvpro-text-secondary); font-weight: 400; }
.cvpro-mobile-cta__btn {
  display: inline-flex; align-items: center; gap: 0.35rem;
  padding: 0.6rem 1.25rem; background: var(--cvpro-primary);
  color: #fff; border: none; border-radius: 0.5rem;
  font-weight: 600; font-size: 0.8125rem; cursor: pointer;
  text-decoration: none; white-space: nowrap;
  transition: all 0.2s;
  box-shadow: 0 4px 16px rgba(var(--cvpro-primary-rgb), 0.3);
}
.cvpro-mobile-cta__btn:hover { opacity: 0.9; transform: translateY(-1px); }

/* Optional dismiss X — pinned to top-right corner of the floating bar so
   it doesn't change the row's height/layout. Appears 8s after page load. */
.cvpro-mobile-cta__close {
  position: absolute;
  top: -8px;
  right: -8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: 1px solid var(--cvpro-border, #e5e7eb);
  background: #fff;
  color: var(--cvpro-text-secondary);
  cursor: pointer;
  padding: 0;
  z-index: 2;
  box-shadow: 0 2px 6px rgba(0,0,0,0.08);
  animation: cvpro-mobile-cta-close-in 0.3s ease both;
}
.cvpro-mobile-cta__close[hidden] { display: none !important; }
.cvpro-mobile-cta__close svg { width: 11px; height: 11px; }
.cvpro-mobile-cta__close:hover {
  background: var(--cvpro-text-primary);
  color: #fff;
  border-color: var(--cvpro-text-primary);
}
@keyframes cvpro-mobile-cta-close-in {
  from { opacity: 0; transform: scale(0.6); }
  to   { opacity: 1; transform: scale(1); }
}
@media (min-width: 769px) {
  /* Desktop floating mode hides the dismiss button — desktop already has
     plenty of close affordances elsewhere on the page. */
  .cvpro-mobile-cta__close { display: none !important; }
}

/* Desktop: small floating button, bottom-right, NO white bar */
@media (min-width: 769px) {
  .cvpro-mobile-cta {
    bottom: 24px; right: 24px; left: auto; top: auto;
    background: transparent;
    padding: 0; border: none; box-shadow: none;
  }
  .cvpro-mobile-cta__text { display: none; }
  .cvpro-mobile-cta__inner { padding: 0; }
  .cvpro-mobile-cta__btn {
    padding: 0.75rem 1.5rem;
    font-size: 0.875rem;
    border-radius: 0.75rem;
    box-shadow: 0 8px 24px rgba(var(--cvpro-primary-rgb), 0.35);
  }
}

/* Mobile: centered bottom bar — text on left, CTA pinned right */
@media (max-width: 768px) {
  .cvpro-mobile-cta {
    bottom: 12px; left: 12px; right: 12px; top: auto;
    background: #fff;
    padding: 0.75rem 1rem;
    border-radius: 1rem;
    box-shadow: 0 8px 32px rgba(0,0,0,0.12);
    border: 1px solid var(--cvpro-border, #e5e7eb);
    max-width: calc(100% - 24px);
  }
  .cvpro-mobile-cta__inner {
    max-width: 480px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    justify-content: space-between;
  }
  .cvpro-mobile-cta__text {
    flex: 1;
    min-width: 0;
  }
  .cvpro-mobile-cta__btn {
    margin-left: auto;
    flex-shrink: 0;
  }
  body:has(.cvpro-mobile-cta) { padding-bottom: 80px; }
}

/* Hide floating CTA when any modal/popup is open */
body.menu-open .cvpro-mobile-cta,
.cvpro-popup-overlay.is-visible ~ .cvpro-mobile-cta {
  opacity: 0;
  pointer-events: none;
}

/* ── 9. Mobile responsive improvements ───────────────────────────────── */
@media (max-width: 768px) {
  .cvpro-upload-section__signup,
  .cvpro-upload-section__analyzing {
    padding: 1.5rem 1.25rem;
    margin-left: -0.5rem; margin-right: -0.5rem;
  }
  .cvpro-upload-section__signup-trust {
    gap: 0.5rem;
    font-size: 0.6875rem;
  }
  .cvpro-upload-section__plans {
    gap: 1rem;
  }
  .cvpro-before-after__comparison {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  .cvpro-before-after__divider {
    transform: rotate(90deg);
    padding: 0;
  }
  .cvpro-comparison__table-wrap {
    margin: 0 -1rem;
  }
  .cvpro-spotlight__row {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .cvpro-spotlight__visual { order: -1; }
  .cvpro-speed__row {
    grid-template-columns: 1fr;
    gap: 0.25rem;
  }
  .cvpro-speed__time { text-align: left; }
  .cvpro-footer__grid {
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
  }
  .cvpro-footer__brand { grid-column: 1 / -1; }
  .cvpro-hero__grid {
    grid-template-columns: 1fr;
    gap: 2rem;
    text-align: center;
  }
  .cvpro-hero__content { max-width: 100%; }
  .cvpro-hero__subheadline { margin-inline: auto; }
  .cvpro-hero__actions { justify-content: center; }
  .cvpro-hero__trust { justify-content: center; }
  .cvpro-how-it-works__cards {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  .cvpro-how-it-works__arrow { display: none; }
  .cvpro-capabilities__grid { grid-template-columns: 1fr 1fr; }
  .cvpro-stats__grid { grid-template-columns: 1fr 1fr; }
  .cvpro-pricing__grid { grid-template-columns: 1fr; }
  .cvpro-testimonials__grid { --testimonial-cols: 1; }
  .cvpro-nav__menu { display: none; }
  .cvpro-nav__signin { display: none; }
  .cvpro-mobile-menu-btn { display: flex; }
  .cvpro-blog-preview__grid { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  .cvpro-footer__grid { grid-template-columns: 1fr; }
  .cvpro-capabilities__grid { grid-template-columns: 1fr; }
  .cvpro-stats__grid { grid-template-columns: 1fr 1fr; }
  .cvpro-upload-section__social-proof { padding: 0 1rem; }
  .cvpro-upload-section__plans { flex-direction: column; gap: 0.5rem; }
}

/* ── Signup card wider to match upsell card ────────────────────────────── */
.cvpro-upload-section__signup--wide {
  max-width: 520px;
}
.cvpro-upload-section__upsell-card {
  max-width: 520px;
}
.cvpro-upload-section__plans-row {
  max-width: 520px;
}

/* ── Speed comparison: more spacing between summary and button ─────────── */
.cvpro-speed__highlight {
  margin-bottom: 2rem;
}

/* ── Avatar images from customizer ─────────────────────────────────────── */
img.cvpro-upload-section__avatar {
  width: 36px; height: 36px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid #fff;
  margin-left: -8px;
}
img.cvpro-upload-section__avatar:first-child { margin-left: 0; }

/* ── Promo banner always fixed (even without scroll) ───────────────────── */
.cvpro-promo-banner {
  position: fixed !important;
}

/* ── 4. Social proof: avatars left, text right ─────────────────────────── */
.cvpro-upload-section__social-proof {
  display: flex !important;
  flex-direction: row !important;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  text-align: left;
  border-top: 1px solid var(--cvpro-border, #e5e7eb);
  padding-top: 2rem;
  margin-top: 2rem;
  max-width: 520px;
  margin-left: auto;
  margin-right: auto;
}
.cvpro-upload-section__social-right { flex: 1; }
.cvpro-upload-section__social-right p { margin: 0; }
.cvpro-upload-section__social-text { font-size: 0.9375rem; font-weight: 500; margin-bottom: 0.25rem !important; }
.cvpro-upload-section__social-text strong { color: var(--cvpro-text-primary); }

/* ── 5. Speed bars animated via is-visible ─────────────────────────────── */
.cvpro-speed__bar {
  transition: width 1.8s cubic-bezier(0.25, 0.46, 0.45, 0.94) 0.2s !important;
}

/* ── 6. Speed: try cvpro button on separate line ───────────────────────── */
.cvpro-speed__footer .cvpro-btn {
  display: block;
  margin: 0 auto;
  width: fit-content;
}

/* ── 7. Mobile layout tweaks ──────────────────────────────────────────── */
@media (max-width: 768px) {
  /* Social proof stacks on mobile */
  .cvpro-upload-section__social-proof {
    flex-direction: column;
    text-align: center;
  }
}

/* ==========================================================================
   NEW SECTIONS: Role Selection, Tool Integrations, Savings Calculator
   ========================================================================== */

/* ── Role Selection Tags ─────────────────────────────────────────────── */
.cvpro-roles {
  padding: 1.5rem 0;
  border-bottom: 1px solid var(--cvpro-border, #e5e7eb);
  background: var(--cvpro-bg-primary);
}
.cvpro-roles__inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}
.cvpro-roles__label {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--cvpro-text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin: 0;
}
.cvpro-roles__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: center;
}
.cvpro-roles__tag {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.4rem 0.85rem;
  border-radius: 999px;
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--cvpro-text-primary);
  background: var(--cvpro-bg-secondary, #f8f9fa);
  border: 1px solid var(--cvpro-border, #e5e7eb);
  transition: all 0.2s;
}
.cvpro-roles__tag:hover {
  border-color: var(--cvpro-primary);
  color: var(--cvpro-primary);
  background: rgba(var(--cvpro-primary-rgb), 0.04);
}
.cvpro-roles__tag svg {
  width: 14px;
  height: 14px;
  opacity: 0.6;
}

/* ── Tool Integrations Grid ──────────────────────────────────────────── */
.cvpro-integrations {
  background: var(--cvpro-bg-secondary, #f8f9fa);
}
.cvpro-integrations__grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.5rem 2rem;
}
.cvpro-integrations__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  padding: 1.25rem 1.5rem;
  border-radius: 0.75rem;
  background: var(--cvpro-bg-primary);
  border: 1px solid var(--cvpro-border, #e5e7eb);
  transition: all 0.2s;
  min-width: 100px;
}
.cvpro-integrations__item:hover {
  border-color: var(--cvpro-primary);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
  transform: translateY(-2px);
}
.cvpro-integrations__icon {
  color: var(--cvpro-text-secondary);
  display: flex;
  align-items: center;
  justify-content: center;
}
.cvpro-integrations__item:hover .cvpro-integrations__icon {
  color: var(--cvpro-primary);
}
.cvpro-integrations__name {
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--cvpro-text-primary);
}
@media (max-width: 640px) {
  .cvpro-integrations__grid {
    gap: 0.6rem;
    /* All tool cards fixed-width on mobile so the cell never resizes
       to fit a longer name like "AutoCAD" vs "Revit" */
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .cvpro-integrations__item {
    padding: 0.85rem 0.5rem;
    min-width: 0;
    width: 100%;
    aspect-ratio: 1 / 1;
    box-sizing: border-box;
  }
  .cvpro-integrations__icon {
    width: 32px;
    height: 32px;
  }
  .cvpro-integrations__icon svg {
    width: 28px;
    height: 28px;
  }
  .cvpro-integrations__name {
    font-size: 0.72rem;
    text-align: center;
    line-height: 1.15;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100%;
  }
}

/* ── Savings Calculator ──────────────────────────────────────────────── */
.cvpro-calculator {
  background: var(--cvpro-bg-secondary, #f8f9fa);
}
.cvpro-calculator__card {
  max-width: 700px;
  margin: 0 auto;
  background: var(--cvpro-bg-primary);
  border: 1px solid var(--cvpro-border, #e5e7eb);
  border-radius: 1.25rem;
  padding: 2.5rem;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
}
.cvpro-calculator__inputs {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-bottom: 2rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--cvpro-border, #e5e7eb);
}
.cvpro-calculator__input-group {
  display: flex;
  align-items: center;
  gap: 1rem;
}
.cvpro-calculator__input-group label {
  flex: 1;
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--cvpro-text-primary);
}
.cvpro-calculator__slider {
  flex: 1.5;
  -webkit-appearance: none;
  appearance: none;
  height: 6px;
  border-radius: 999px;
  background: var(--cvpro-border, #e5e7eb);
  outline: none;
}
.cvpro-calculator__slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--cvpro-primary);
  cursor: pointer;
  box-shadow: 0 2px 6px rgba(var(--cvpro-primary-rgb), 0.3);
}
.cvpro-calculator__slider::-moz-range-thumb {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--cvpro-primary);
  cursor: pointer;
  border: none;
}
.cvpro-calculator__value {
  min-width: 50px;
  text-align: right;
  font-weight: 700;
  font-size: 1rem;
  color: var(--cvpro-primary);
}
.cvpro-calculator__results {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  margin-bottom: 2rem;
}
.cvpro-calculator__result {
  text-align: center;
  padding: 1rem 0.5rem;
  border-radius: 0.75rem;
  background: rgba(var(--cvpro-primary-rgb), 0.04);
}
.cvpro-calculator__result-number {
  display: block;
  font-family: var(--cvpro-font-heading);
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--cvpro-primary);
  margin-bottom: 0.25rem;
}
.cvpro-calculator__result-label {
  font-size: 0.75rem;
  color: var(--cvpro-text-secondary);
  font-weight: 500;
}
.cvpro-calculator__cta {
  text-align: center;
}
@media (max-width: 768px) {
  .cvpro-calculator__card {
    padding: 1.5rem;
  }
  .cvpro-calculator__input-group {
    flex-direction: column;
    align-items: stretch;
    gap: 0.5rem;
  }
  .cvpro-calculator__results {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 480px) {
  .cvpro-calculator__results {
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
  }
}

/* Reading Progress Bar */
.cvpro-reading-progress {
  position: fixed; top: 0; left: 0; right: 0;
  height: 3px; z-index: var(--cvpro-z-sticky, 200);
  background: transparent;
}
.cvpro-reading-progress__bar {
  height: 100%; width: 0;
  background: linear-gradient(90deg, var(--cvpro-primary), var(--cvpro-primary-dark, var(--cvpro-primary-dark)));
  transition: width 0.1s linear;
}

/* Post Tags — sized by content, no fixed vertical padding so a single
   tag does not produce a large block. Border-top keeps it visually
   separated from the body without inflating the row height. */
.cvpro-post-tags {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.4rem 0.5rem;
  margin: 1.25rem 0 0;
  padding: 0.8rem 0 0;
  border-top: 1px solid var(--cvpro-border);
  line-height: 1;
}
.cvpro-post-tags__label {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  font-weight: 600;
  color: var(--cvpro-text-secondary);
  margin-right: 0.15rem;
}
.cvpro-post-tags__tag {
  display: inline-block; padding: 0.3rem 0.75rem;
  border-radius: 999px; font-size: 0.8125rem; font-weight: 500;
  background: var(--cvpro-bg-secondary); color: var(--cvpro-text-secondary);
  text-decoration: none; border: 1px solid var(--cvpro-border);
  transition: all 0.2s;
}
.cvpro-post-tags__tag:hover {
  border-color: var(--cvpro-primary); color: var(--cvpro-primary);
  background: rgba(var(--cvpro-primary-rgb), 0.04);
}
.cvpro-post-tags__hidden { display: inline; }
.cvpro-post-tags__more {
  display: inline-block;
  padding: 0.3rem 0.75rem;
  border-radius: 999px;
  font-size: 0.8125rem;
  font-weight: 600;
  background: none;
  color: var(--cvpro-primary);
  border: 1px dashed var(--cvpro-primary);
  cursor: pointer;
  transition: all 0.2s;
}
.cvpro-post-tags__more:hover {
  background: rgba(var(--cvpro-primary-rgb), 0.06);
}

/* Single Excerpt / Lead */
.cvpro-single-excerpt {
  font-size: 1.1875rem;
  line-height: 1.7;
  color: var(--cvpro-text-secondary);
  border-left: 3px solid var(--cvpro-primary);
  padding-left: 1.25rem;
  margin-bottom: var(--cvpro-space-xl);
  max-width: 760px;
}
.cvpro-single-excerpt p { margin: 0; }

/* TOC collapsed state */
.cvpro-toc.is-collapsed .cvpro-toc-list { display: none; }
.cvpro-toc.is-collapsed .cvpro-toc-toggle { transform: rotate(0); }

/* Post CTA Banner */
.cvpro-post-cta {
  margin: 3rem 0; padding: 2.5rem;
  background: linear-gradient(135deg, rgba(var(--cvpro-primary-rgb), 0.06), rgba(var(--cvpro-primary-rgb), 0.12));
  border-radius: 1rem; text-align: center;
  border: 1px solid rgba(var(--cvpro-primary-rgb), 0.15);
}
.cvpro-post-cta h3 {
  font-family: var(--cvpro-font-heading); font-size: 1.25rem;
  font-weight: 700; margin-bottom: 0.5rem;
}
.cvpro-post-cta p {
  color: var(--cvpro-text-secondary); margin-bottom: 1.25rem;
}

/* Tag Cloud */
.cvpro-tag-cloud {
  display: flex; flex-wrap: wrap; gap: 0.5rem;
  margin-top: 2rem; padding-top: 2rem;
  border-top: 1px solid var(--cvpro-border);
}
.cvpro-tag-cloud__title {
  width: 100%; font-weight: 600; margin-bottom: 0.5rem;
}
.cvpro-tag-cloud a {
  display: inline-block; padding: 0.3rem 0.75rem;
  border-radius: 999px; font-size: 0.8125rem;
  background: var(--cvpro-bg-secondary); color: var(--cvpro-text-secondary);
  text-decoration: none; border: 1px solid var(--cvpro-border);
  transition: all 0.2s;
}
.cvpro-tag-cloud a:hover {
  border-color: var(--cvpro-primary); color: var(--cvpro-primary);
}


@media (max-width: 768px) {
  .cvpro-author-header { flex-direction: column; text-align: center; align-items: center; }
  .cvpro-author-header__meta { justify-content: center; }
}

/* ==========================================================================
   Page Hero Banner (Archive, Category, Tag, Author)
   ========================================================================== */
/* Page-hero banner — now rendered as a rounded card inside the
   container (instead of full-bleed edge-to-edge) so it matches the
   blog single-post bottom CTA visual style. */
.cvpro-page-hero {
  background: transparent;
  color: inherit;
  /* Standard page-hero spacing — same for blog list, archive, category,
     tag, author, AND all page-templates (about, faq, pricing, contact,
     how-it-works, etc.) so the banner is the same size everywhere. */
  padding: calc(var(--header-height, 80px) + 1.5rem) 0 0;
  text-align: center;
  margin-bottom: 0;
}
.cvpro-page-hero > .cvpro-container {
  position: relative;
}
.cvpro-page-hero__content {
  background: linear-gradient(135deg, var(--cvpro-primary), var(--cvpro-primary-dark, var(--cvpro-primary)));
  color: #fff;
  border-radius: var(--cvpro-radius-2xl, 24px);
  /* Uniform standard banner padding across every page template */
  padding: 3.5rem 2.5rem;
  position: relative;
  overflow: hidden;
  isolation: isolate;
}
.cvpro-page-hero__content::before,
.cvpro-page-hero__content::after {
  content: '';
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  z-index: -1;
}
.cvpro-page-hero__content::before {
  top: -80px; right: -60px;
  width: 240px; height: 240px;
  background: rgba(255,255,255,0.08);
}
.cvpro-page-hero__content::after {
  bottom: -100px; left: -80px;
  width: 280px; height: 280px;
  background: rgba(255,255,255,0.06);
}
.cvpro-page-hero + .cvpro-section,
.cvpro-page-hero + main.cvpro-section {
  padding-top: 2rem;
}
@media (max-width: 768px) {
  .cvpro-page-hero {
    padding-top: calc(var(--header-height, 80px) + 1rem);
  }
  .cvpro-page-hero__content {
    padding: 2.25rem 1.5rem;
    border-radius: var(--cvpro-radius-xl, 16px);
  }
}
.cvpro-page-hero__badge {
  display: inline-flex; align-items: center; gap: 0.35rem;
  padding: 0.35rem 0.85rem; border-radius: 999px;
  font-size: 0.8125rem; font-weight: 600;
  background: rgba(255,255,255,0.15);
  color: #fff;
  margin-bottom: 1rem;
}
.cvpro-page-hero__title {
  font-family: var(--cvpro-font-heading);
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 800; color: #fff;
  margin-bottom: 0.75rem;
}
.cvpro-page-hero__subtitle {
  font-size: 1.0625rem; color: rgba(255,255,255,0.85);
  max-width: 560px; margin-inline: auto; line-height: 1.6;
}

/* Pills inside the page-hero banner. Each pill carries its own
   inline background-color (per-category) but text color and the count
   suffix should stay readable against the colored background. */
.cvpro-page-hero__author-categories,
.cvpro-page-hero__subcategories {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 1.25rem;
}
.cvpro-page-hero__pill {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.32rem 0.85rem;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-decoration: none;
  line-height: 1.1;
  border: 1px solid rgba(255,255,255,0.4);
  box-shadow: 0 1px 2px rgba(0,0,0,0.08);
  transition: filter 0.15s ease, transform 0.15s ease;
}
.cvpro-page-hero__pill:hover {
  filter: brightness(0.92);
  transform: translateY(-1px);
}
.cvpro-page-hero__pill-count {
  font-size: 0.7rem;
  opacity: 0.85;
  font-weight: 500;
}
/* Banner text fallbacks — make sure misc text (titles, subtitles, meta)
   never picks up the primary color in the colored banner. */
.cvpro-page-hero,
.cvpro-page-hero a:not(.cvpro-page-hero__pill):not(.cvpro-page-hero__subcategory-pill):not(.cvpro-page-hero__author-categories a),
.cvpro-page-hero__title,
.cvpro-page-hero__subtitle,
.cvpro-page-hero__desc,
.cvpro-page-hero__meta,
.cvpro-page-hero__post-count,
.cvpro-page-hero__member-since,
.cvpro-page-hero__website-link,
.cvpro-page-hero__breadcrumb a {
  color: #fff;
}
.cvpro-page-hero__website-link {
  opacity: 0.9;
}
.cvpro-page-hero__website-link:hover {
  opacity: 1;
}

/* Hero description & search */
.cvpro-page-hero__desc {
  font-size: 0.9375rem;
  color: rgba(255,255,255,0.65);
  max-width: 620px;
  margin: 0.75rem auto 0;
  line-height: 1.7;
}
.cvpro-page-hero__search {
  display: flex;
  align-items: center;
  max-width: 480px;
  margin: 1.5rem auto 0;
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: var(--cvpro-radius-full, 9999px);
  padding: 0.35rem 0.35rem 0.35rem 1rem;
  gap: 0.5rem;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.cvpro-page-hero__search svg {
  flex-shrink: 0;
  color: rgba(255,255,255,0.6);
}
.cvpro-page-hero__search input {
  flex: 1;
  border: none;
  background: transparent;
  color: #fff;
  font-size: 0.9375rem;
  outline: none;
  min-width: 0;
  /* keep the native search clear button from sliding under the submit button on iOS */
  -webkit-appearance: none;
  appearance: none;
}
.cvpro-page-hero__search input::-webkit-search-cancel-button {
  -webkit-appearance: none;
  appearance: none;
  display: inline-block;
  width: 16px;
  height: 16px;
  margin-right: 0.5rem;
  cursor: pointer;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='rgba(255,255,255,0.7)' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'><line x1='18' y1='6' x2='6' y2='18'/><line x1='6' y1='6' x2='18' y2='18'/></svg>");
  background-repeat: no-repeat;
  background-position: center;
}
.cvpro-page-hero__search input::placeholder {
  color: rgba(255,255,255,0.5);
}
.cvpro-page-hero__search button {
  padding: 0.5rem 1.25rem;
  border: none;
  border-radius: var(--cvpro-radius-full, 9999px);
  background: #fff;
  color: var(--cvpro-primary);
  font-weight: 600;
  font-size: 0.8125rem;
  cursor: pointer;
  white-space: nowrap;
  transition: opacity 0.15s;
}
.cvpro-page-hero__search button:hover { opacity: 0.9; }

/* Load More */
.cvpro-blog-loadmore {
  text-align: center;
  margin-top: 2.5rem;
}

@media (max-width: 640px) {
  .cvpro-page-hero__search {
    max-width: 100%;
    padding: 0.4rem 0.4rem 0.4rem 1rem;
  }
  .cvpro-page-hero__search input {
    font-size: 1rem; /* iOS won't zoom on focus when >= 16px */
  }
  .cvpro-page-hero__search button {
    padding: 0.55rem 1rem;
    font-size: 0.875rem;
  }
}

.cvpro-page-hero__avatar {
  width: 100px; height: 100px; border-radius: 50%;
  border: 4px solid rgba(255,255,255,0.3); box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  margin: 0 auto 1.25rem; display: block; object-fit: cover;
}
.cvpro-page-hero__meta {
  display: flex; align-items: center; justify-content: center;
  gap: 1.25rem; margin-top: 1rem; flex-wrap: wrap;
  font-size: 0.875rem; color: rgba(255,255,255,0.8);
}
.cvpro-page-hero__meta a {
  display: inline-flex; align-items: center; gap: 0.25rem;
  color: #fff; text-decoration: none;
}
.cvpro-page-hero__meta a:hover {
  text-decoration: underline;
}
.cvpro-page-hero__social {
  display: flex; align-items: center; justify-content: center;
  gap: 0.5rem; margin-top: 1rem;
}
.cvpro-page-hero__social a {
  display: flex; align-items: center; justify-content: center;
  width: 36px; height: 36px; border-radius: 50%;
  background: rgba(255,255,255,0.15); color: #fff;
  transition: all 0.2s; text-decoration: none;
}
.cvpro-page-hero__social a:hover {
  background: rgba(255,255,255,0.3);
}

/* ==========================================================================
   Blog Subscribe / CTA Section
   ========================================================================== */
.cvpro-blog-subscribe {
  background: var(--cvpro-bg-secondary, #f8f9fa);
  padding: 2.5rem 0; text-align: center; margin-top: 2rem;
}
.cvpro-blog-subscribe__title {
  font-family: var(--cvpro-font-heading);
  font-size: 1.25rem; font-weight: 700; margin-bottom: 0.5rem;
}
.cvpro-blog-subscribe__form {
  display: flex; gap: 0.5rem; max-width: 400px; margin: 1rem auto 0;
}
.cvpro-blog-subscribe__form input {
  flex: 1; padding: 0.65rem 1rem; border: 1px solid var(--cvpro-border);
  border-radius: 0.5rem; font-size: 0.9375rem;
}

/* ==========================================================================
   Related Categories / Tags Grid
   ========================================================================== */
.cvpro-related-categories {
  margin-top: 2.5rem; padding-top: 2rem;
  border-top: 1px solid var(--cvpro-border);
}

/* Archive pages — kill the heavy bottom padding so short archive lists
   (1-2 posts) don't leave a giant blank gap before the footer. */
main.cvpro-archive,
main.cvpro-author-archive,
main.cvpro-tag-archive,
main.cvpro-category-archive,
main.cvpro-section.cvpro-archive,
main.cvpro-section.cvpro-single {
  padding-bottom: 2.5rem;
}
@media (max-width: 768px) {
  main.cvpro-archive,
  main.cvpro-author-archive,
  main.cvpro-tag-archive,
  main.cvpro-category-archive,
  main.cvpro-section.cvpro-archive,
  main.cvpro-section.cvpro-single {
    padding-bottom: 1.75rem;
  }
}
.cvpro-related-categories__title {
  font-size: 1.25rem; margin-bottom: 1.5rem; text-align: center;
}
.cvpro-related-categories__grid {
  display: flex; flex-wrap: wrap; gap: 0.75rem;
  justify-content: center;
}
.cvpro-related-categories__item {
  display: inline-flex; align-items: center; gap: 0.35rem;
  padding: 0.5rem 1rem; border-radius: 999px;
  background: var(--cvpro-bg-secondary); color: var(--cvpro-text-primary);
  text-decoration: none; font-size: 0.875rem; font-weight: 500;
  border: 1px solid var(--cvpro-border); transition: all 0.2s;
}
.cvpro-related-categories__item:hover {
  border-color: var(--cvpro-primary); color: var(--cvpro-primary);
  background: rgba(var(--cvpro-primary-rgb), 0.04);
}
.cvpro-related-categories__count {
  font-size: 0.75rem; color: var(--cvpro-text-secondary);
}

/* ==========================================================================
   Post Card Tags
   ========================================================================== */
.cvpro-post-card__tags {
  display: flex; flex-wrap: wrap; gap: 0.35rem; margin-bottom: 0.75rem;
}
.cvpro-post-card__tag {
  display: inline-block; padding: 0.15rem 0.5rem;
  border-radius: 999px; font-size: 0.6875rem; font-weight: 500;
  background: var(--cvpro-bg-secondary, #f0f0f0); color: var(--cvpro-text-secondary);
  text-decoration: none; border: 1px solid var(--cvpro-border, #e5e5e5);
  transition: all 0.2s;
}
.cvpro-post-card__tag:hover {
  border-color: var(--cvpro-primary); color: var(--cvpro-primary);
}
.cvpro-post-card__author-name {
  color: var(--cvpro-text-primary); text-decoration: none; font-weight: 500;
}
.cvpro-post-card__author-name:hover {
  color: var(--cvpro-primary);
}

/* ==========================================================================
   Empty State & Load More
   ========================================================================== */
.cvpro-empty-state {
  text-align: center; padding: 4rem 0;
}
.cvpro-empty-state__text {
  color: var(--cvpro-text-secondary); margin-bottom: 1.5rem;
}
.cvpro-load-more-wrap {
  text-align: center; margin-top: 3rem;
}

/* ==========================================================================
   Author Articles Title
   ========================================================================== */
.cvpro-author-articles-title {
  font-size: 1.25rem; margin-bottom: 1.5rem;
}

/* ==========================================================================
   Subscribe Form Responsive
   ========================================================================== */
@media (max-width: 480px) {
  .cvpro-blog-subscribe__form {
    flex-direction: column;
  }
}

/* ==========================================================================
   Marquee Animations
   cvpro-marquee       → for tracks with 4× content (brand-trust, media-press)
   cvpro-marquee-2x    → for tracks with 2× content (testimonials carousel)
   ========================================================================== */
@keyframes cvpro-marquee {
  0% { transform: translate3d(0, 0, 0); }
  100% { transform: translate3d(-25%, 0, 0); }
}
@keyframes cvpro-marquee-2x {
  0% { transform: translate3d(0, 0, 0); }
  100% { transform: translate3d(-50%, 0, 0); }
}
@media (prefers-reduced-motion: reduce) {
  .cvpro-brand-trust__logos-track,
  .cvpro-media-press__logos-track,
  .cvpro-testimonials-carousel__track {
    animation: none !important;
  }
}

/* ==========================================================================
   Testimonials — Horizontal Scrolling Carousel (content duplicated 2×)
   ========================================================================== */
.cvpro-testimonials-carousel {
  overflow: hidden;
  position: relative;
}
.cvpro-testimonials-carousel__track {
  display: flex;
  gap: 1.5rem;
  animation: cvpro-marquee-2x 40s linear infinite;
  width: max-content;
  will-change: transform;
}
.cvpro-testimonials-carousel__track:hover {
  animation-play-state: paused;
}
.cvpro-testimonials-carousel .cvpro-testimonial {
  min-width: 340px;
  flex-shrink: 0;
}

/* ==========================================================================
   Final CTA — Centered Content
   ========================================================================== */
.cvpro-final-cta__content {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

/* ── Showcase CTA (GIF/Image + Text) ─────────────────────────────────── */
.cvpro-showcase__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}
.cvpro-showcase__visual { }
.cvpro-showcase__img {
  width: 100%;
  border-radius: 1rem;
  box-shadow: 0 8px 30px rgba(0,0,0,0.1);
}
.cvpro-showcase__placeholder {
  aspect-ratio: 4/3;
  border-radius: 1rem;
  background: linear-gradient(135deg, rgba(var(--cvpro-primary-rgb), 0.06), rgba(var(--cvpro-primary-rgb), 0.12));
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  color: var(--cvpro-text-secondary);
}
.cvpro-showcase__placeholder p { font-size: 0.8125rem; margin: 0; }
.cvpro-showcase__badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.35rem 0.85rem;
  border-radius: 999px;
  font-size: 0.8125rem;
  font-weight: 600;
  background: rgba(16,185,129,0.1);
  color: #10b981;
  margin-bottom: 1rem;
}
.cvpro-showcase__badge svg { animation: cvpro-pulse-dot 2s infinite; }
.cvpro-showcase__title {
  font-family: var(--cvpro-font-heading);
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 700;
  margin-bottom: 1rem;
  line-height: 1.2;
}
.cvpro-showcase__desc {
  color: var(--cvpro-text-secondary);
  line-height: 1.65;
  margin-bottom: 1.5rem;
}
.cvpro-showcase__features {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 2rem;
}
.cvpro-showcase__feat {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  font-weight: 500;
}
.cvpro-showcase__feat-icon {
  width: 32px; height: 32px;
  border-radius: 0.5rem;
  background: rgba(var(--cvpro-primary-rgb), 0.08);
  color: var(--cvpro-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
@media (max-width: 768px) {
  .cvpro-showcase__grid { grid-template-columns: 1fr; gap: 2rem; }
  .cvpro-showcase__visual { order: -1; }
}

/* --------------------------------------------------------------------------
   WHY CHOOSE SECTION (.cvpro-why)
   -------------------------------------------------------------------------- */

.cvpro-why {
  padding: var(--cvpro-section-py) 0;
  background: var(--cvpro-bg-secondary);
}

.cvpro-why__content {
  text-align: center;
  max-width: 800px;
  margin: 0 auto var(--cvpro-space-3xl);
}

.cvpro-why__heading {
  font-family: var(--cvpro-font-heading);
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 700;
  color: var(--cvpro-text-primary);
  margin-bottom: var(--cvpro-space-xl);
  line-height: 1.2;
}

.cvpro-why__text {
  display: flex;
  flex-direction: column;
  gap: var(--cvpro-space-md);
}

.cvpro-why__paragraph {
  font-size: 1.0625rem;
  color: var(--cvpro-text-secondary);
  line-height: 1.7;
  text-align: left;
  margin: 0;
}

@media (min-width: 640px) {
  .cvpro-why__paragraph {
    text-align: center;
  }
}

.cvpro-why__cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.cvpro-why__card {
  background: var(--cvpro-bg-primary);
  border: 1px solid var(--cvpro-border);
  border-radius: var(--cvpro-radius-xl);
  padding: 2rem;
  text-align: center;
  transition: all var(--cvpro-transition-normal);
}

.cvpro-why__card:hover {
  transform: translateY(-4px);
  box-shadow: var(--cvpro-shadow-lg);
  border-color: var(--cvpro-primary);
}

.cvpro-why__card-icon {
  width: 56px;
  height: 56px;
  border-radius: var(--cvpro-radius-full);
  background: rgba(26, 86, 219, 0.1);
  color: var(--cvpro-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto var(--cvpro-space-md);
}

.cvpro-why__card-icon svg {
  width: 28px;
  height: 28px;
}

.cvpro-why__card-title {
  font-family: var(--cvpro-font-heading);
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--cvpro-text-primary);
  margin-bottom: 0.5rem;
}

.cvpro-why__card-desc {
  font-size: 0.9375rem;
  color: var(--cvpro-text-secondary);
  line-height: 1.6;
  margin: 0;
}

@media (max-width: 1024px) {
  .cvpro-why__cards {
    grid-template-columns: repeat(2, 1fr);
  }
}

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

  .cvpro-why__content {
    margin-bottom: var(--cvpro-space-2xl);
  }
}

/* --------------------------------------------------------------------------
   RESULTS GALLERY (.cvpro-gallery)
   -------------------------------------------------------------------------- */

.cvpro-gallery {
  padding: var(--cvpro-section-py) 0;
}

.cvpro-gallery__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.cvpro-gallery__card {
  background: var(--cvpro-bg-primary);
  border: 1px solid var(--cvpro-border);
  border-radius: var(--cvpro-radius-xl);
  padding: 1.5rem;
  transition: all var(--cvpro-transition-normal);
}

/* When the card is rendered as a <button> for click-to-open-review */
.cvpro-gallery__card--clickable {
  display: block;
  width: 100%;
  text-align: left;
  font: inherit;
  color: inherit;
  cursor: pointer;
  position: relative;
}
.cvpro-gallery__card--clickable:focus-visible {
  outline: 2px solid var(--cvpro-primary);
  outline-offset: 3px;
}

.cvpro-gallery__view-review {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  margin-top: 1rem;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--cvpro-primary);
  letter-spacing: 0.01em;
}
.cvpro-gallery__card--clickable:hover .cvpro-gallery__view-review {
  text-decoration: underline;
}

.cvpro-gallery__card:hover {
  transform: translateY(-4px);
  box-shadow: var(--cvpro-shadow-lg);
  border-color: rgba(var(--cvpro-primary-rgb), 0.4);
}

.cvpro-gallery__card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.25rem;
}

.cvpro-gallery__badge {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  padding: 0.3rem 0.75rem;
  border-radius: var(--cvpro-radius-full);
  font-size: 0.8125rem;
  font-weight: 600;
  background: rgba(26, 86, 219, 0.08);
  color: var(--cvpro-primary);
}

.cvpro-gallery__badge svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

.cvpro-gallery__improvement {
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--cvpro-success);
  background: rgba(14, 159, 110, 0.08);
  padding: 0.2rem 0.6rem;
  border-radius: var(--cvpro-radius-full);
}

.cvpro-gallery__scores {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 1.25rem;
}

.cvpro-gallery__score {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.25rem;
  flex: 1;
}

.cvpro-gallery__score-label {
  font-size: 0.75rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--cvpro-text-secondary);
}

.cvpro-gallery__score--before .cvpro-gallery__score-value {
  font-size: 2rem;
  font-weight: 700;
  color: var(--cvpro-error);
  line-height: 1;
}

.cvpro-gallery__score--after .cvpro-gallery__score-value {
  font-size: 2rem;
  font-weight: 700;
  color: var(--cvpro-success);
  line-height: 1;
}

.cvpro-gallery__arrow {
  color: var(--cvpro-text-secondary);
  flex-shrink: 0;
}

.cvpro-gallery__arrow svg {
  width: 24px;
  height: 24px;
}

.cvpro-gallery__bar-wrap {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.cvpro-gallery__bar {
  height: 6px;
  border-radius: var(--cvpro-radius-full);
  overflow: hidden;
}

.cvpro-gallery__bar--before {
  background: rgba(224, 36, 36, 0.1);
}

.cvpro-gallery__bar--after {
  background: rgba(14, 159, 110, 0.1);
}

.cvpro-gallery__bar-fill {
  height: 100%;
  border-radius: var(--cvpro-radius-full);
  width: 0;
  transition: width 1s ease-out;
}

.cvpro-gallery.is-visible .cvpro-gallery__bar-fill {
  width: var(--bar-width, 0%);
}

/* Section alt background */
.cvpro-section--alt {
  background: var(--cvpro-bg-secondary);
}

/* Features Page: Before/After Compare */
.cvpro-features-compare {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  max-width: 900px;
  margin: 0 auto;
}
.cvpro-features-compare__card {
  padding: 2rem;
  border-radius: var(--cvpro-radius-xl, 16px);
}
.cvpro-features-compare__card--before {
  border: 1px solid var(--cvpro-border);
  background: var(--cvpro-bg-primary);
}
.cvpro-features-compare__card--after {
  background: linear-gradient(135deg, rgba(var(--cvpro-primary-rgb), 0.04), rgba(var(--cvpro-primary-rgb), 0.08));
  border: 1px solid rgba(var(--cvpro-primary-rgb), 0.15);
}
.cvpro-features-compare__heading {
  font-size: 1.125rem;
  font-weight: 700;
  margin: 0 0 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.cvpro-features-compare__heading--before { color: var(--cvpro-error, #e02424); }
.cvpro-features-compare__heading--after  { color: var(--cvpro-success, #10b981); }
.cvpro-features-compare__list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  color: var(--cvpro-text-secondary);
  font-size: 0.9375rem;
}
.cvpro-features-compare__list li {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
}
.cvpro-features-compare__icon { flex-shrink: 0; font-weight: 700; }
.cvpro-features-compare__icon--no  { color: var(--cvpro-error); }
.cvpro-features-compare__icon--yes { color: var(--cvpro-success); }

@media (max-width: 640px) {
  .cvpro-features-compare { grid-template-columns: 1fr; }
}

/* Gallery Quote */
.cvpro-gallery__quote {
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid var(--cvpro-border, #e5e7eb);
}
.cvpro-gallery__quote-text {
  font-size: 0.8125rem;
  line-height: 1.5;
  color: var(--cvpro-text-secondary);
  font-style: italic;
  margin: 0 0 0.5rem;
}
.cvpro-gallery__quote-author {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}
.cvpro-gallery__quote-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}
.cvpro-gallery__quote-avatar--initials {
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--cvpro-primary);
  color: #fff;
  font-size: 0.6875rem;
  font-weight: 700;
}
.cvpro-gallery__quote-name {
  display: block;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--cvpro-text-primary);
}
.cvpro-gallery__quote-role {
  display: block;
  font-size: 0.75rem;
  color: var(--cvpro-text-secondary);
}

.cvpro-gallery__bar--before .cvpro-gallery__bar-fill {
  background: var(--cvpro-error);
}

.cvpro-gallery__bar--after .cvpro-gallery__bar-fill {
  background: var(--cvpro-success);
}

.cvpro-gallery__action {
  text-align: center;
  margin-top: var(--cvpro-space-3xl);
}

@media (max-width: 1024px) {
  .cvpro-gallery__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

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

  .cvpro-gallery__score--before .cvpro-gallery__score-value,
  .cvpro-gallery__score--after .cvpro-gallery__score-value {
    font-size: 1.75rem;
  }
}

/* --------------------------------------------------------------------------
   COMPARISON TABLE — Mobile Card View (.cvpro-comparison__mobile)
   -------------------------------------------------------------------------- */

.cvpro-comparison__mobile {
  display: none;
}

@media (max-width: 768px) {
  .cvpro-comparison__mobile {
    display: flex;
    flex-direction: column;
    gap: 1rem;
  }

  .cvpro-comparison__table-wrap {
    display: none;
  }

  .cvpro-comparison__mobile-card {
    background: var(--cvpro-bg-primary);
    border: 1px solid var(--cvpro-border);
    border-radius: var(--cvpro-radius-lg);
    padding: 1rem;
  }

  .cvpro-comparison__mobile-feature {
    font-weight: 600;
    color: var(--cvpro-text-primary);
    margin-bottom: 0.75rem;
    font-size: 0.9375rem;
  }

  .cvpro-comparison__mobile-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.375rem 0;
    font-size: 0.875rem;
  }

  .cvpro-comparison__mobile-row + .cvpro-comparison__mobile-row {
    border-top: 1px solid var(--cvpro-border);
  }

  .cvpro-comparison__mobile-label {
    color: var(--cvpro-text-secondary);
  }

  .cvpro-comparison__mobile-value {
    font-weight: 600;
    color: var(--cvpro-text-primary);
  }

  .cvpro-comparison__mobile-value--check {
    color: var(--cvpro-success);
  }

  .cvpro-comparison__mobile-value--cross {
    color: var(--cvpro-error);
  }

  .cvpro-comparison__mobile-value--partial {
    color: var(--cvpro-accent);
  }
}

/* --------------------------------------------------------------------------
   VIDEO DEMO — Feature Cards (.cvpro-video-demo__features)
   -------------------------------------------------------------------------- */

.cvpro-video-demo__features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: var(--cvpro-space-2xl);
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.cvpro-video-demo__feat {
  background: var(--cvpro-bg-primary, #fff);
  border: 1px solid var(--cvpro-border, #e5e7eb);
  border-radius: var(--cvpro-radius-lg);
  padding: 1.5rem;
  text-align: center;
  transition: all var(--cvpro-transition-normal);
}

.cvpro-video-demo__feat:hover {
  background: var(--cvpro-bg-primary, #fff);
  border-color: var(--cvpro-primary);
  transform: translateY(-2px);
}

.cvpro-video-demo__feat-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--cvpro-radius-lg);
  background: rgba(var(--cvpro-primary-rgb), 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 0.75rem;
  color: var(--cvpro-primary);
}

.cvpro-video-demo__feat-icon svg {
  width: 24px;
  height: 24px;
}

.cvpro-video-demo__feat-title {
  font-family: var(--cvpro-font-heading);
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--cvpro-text-primary);
  margin-bottom: 0.25rem;
}

.cvpro-video-demo__feat-desc {
  font-size: 0.8125rem;
  color: var(--cvpro-text-secondary);
  line-height: 1.5;
  margin: 0;
}

@media (max-width: 640px) {
  .cvpro-video-demo__features {
    grid-template-columns: 1fr;
    gap: 1rem;
    margin-top: var(--cvpro-space-xl);
  }
}

/* --------------------------------------------------------------------------
   Marquee / Carousel — Full-Bleed Edge-to-Edge (break out of .cvpro-container)
   -------------------------------------------------------------------------- */

.cvpro-brand-trust__logos,
.cvpro-media-press__logos,
.cvpro-testimonials-carousel {
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  width: 100vw;
  max-width: none;
  overflow: hidden;
}

/* ── Testimonial Cards (demo-inspired) ───────────────────────────────── */
.cvpro-testimonials-carousel__track {
  display: flex;
  gap: 1.5rem;
  animation: cvpro-marquee-2x 60s linear infinite;
  width: max-content;
  padding: 1rem 0;
  will-change: transform;
}
.cvpro-testimonials-carousel__track:hover {
  animation-play-state: paused;
}

.cvpro-tcard {
  min-width: 340px;
  max-width: 380px;
  flex-shrink: 0;
  background: #fff;
  border: 1px solid var(--cvpro-border, #e5e7eb);
  border-radius: 1rem;
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  transition: box-shadow 0.3s;
}
.cvpro-tcard:hover {
  box-shadow: 0 8px 24px rgba(0,0,0,0.08);
}

@media (max-width: 380px) {
  .cvpro-tcard { min-width: 280px; }
}

.cvpro-tcard__stars {
  display: flex; gap: 2px; margin-bottom: 0.75rem;
}

.cvpro-tcard__quote-icon {
  color: var(--cvpro-primary); opacity: 0.15;
  margin-bottom: 0.75rem;
}

.cvpro-tcard__text {
  font-size: 0.9375rem;
  line-height: 1.65;
  color: var(--cvpro-text-secondary);
  flex: 1;
  margin: 0 0 1.25rem 0;
  border: none; padding: 0;
  font-style: normal;
}

.cvpro-tcard__author {
  display: flex; align-items: center; gap: 0.75rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--cvpro-border, #e5e7eb);
}

.cvpro-tcard__avatar {
  width: 44px; height: 44px; border-radius: 50%;
  object-fit: cover; flex-shrink: 0;
}
.cvpro-tcard__avatar--initials {
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, var(--cvpro-primary), var(--cvpro-primary-dark, var(--cvpro-primary-dark)));
  color: #fff; font-weight: 700; font-size: 0.875rem;
}

.cvpro-tcard__info { min-width: 0; }
.cvpro-tcard__name {
  display: block; font-weight: 600; font-size: 0.9375rem;
  font-style: normal; color: var(--cvpro-text-primary);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.cvpro-tcard__role {
  display: block; font-size: 0.8125rem;
  color: var(--cvpro-text-secondary);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}

/* Trust badge below carousel */
.cvpro-testimonials__badge {
  text-align: center; margin-top: 2rem;
}
.cvpro-testimonials__badge-inner {
  display: inline-flex; flex-direction: column; align-items: center; gap: 0.35rem;
  padding: 0.75rem 1.5rem;
  background: linear-gradient(135deg, #fffbeb, #fef3c7);
  border: 1px solid #fde68a;
  border-radius: 0.75rem;
}
.cvpro-testimonials__badge-stars { display: flex; gap: 2px; }
.cvpro-testimonials__badge-rating {
  font-weight: 800; font-size: 1.25rem; color: #d97706;
}
.cvpro-testimonials__badge-text {
  font-size: 0.75rem; font-weight: 500; color: var(--cvpro-text-secondary);
}

/* ── Desktop CTA — truly transparent, no white bar ───────────────────── */
@media (min-width: 769px) {
  .cvpro-mobile-cta {
    background: none !important;
    border: none !important;
    box-shadow: none !important;
    padding: 0 !important;
  }
}

/* ── Policy / page-template content ──────────────────────────────────
   Standard framed card style — every page-template content block
   (Privacy, Terms, About, FAQ, Cookies, GDPR, Refund, Help, How It
   Works, Success Stories, Free Tools, Contact, Changelog) uses this
   so all info pages share the same visual language. */
.cvpro-policy-content,
.cvpro-policy-content.cvpro-features__grid {
  width: 100% !important;
  max-width: 100% !important;
  margin: 0 auto;
  padding: 2.25rem 2.25rem;
  background: var(--cvpro-bg-primary);
  border: 1px solid var(--cvpro-border);
  border-radius: var(--cvpro-radius-xl, 16px);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.03);
  font-size: 1.0625rem;
  line-height: 1.7;
  color: var(--cvpro-text-primary);
  box-sizing: border-box;
}
/* When the policy-content sits inside a features__grid > features__card
   wrapper (older policy/terms templates), suppress duplicate framing
   so it doesn't render as "card inside card". */
.cvpro-features__card > .cvpro-policy-content,
.cvpro-features__grid > .cvpro-policy-content {
  background: transparent;
  border: none;
  box-shadow: none;
  padding: 0;
}
/* Also nuke narrow width when policy-content is INSIDE a features grid */
.cvpro-features__grid:has(> .cvpro-policy-content),
section .cvpro-features__grid > .cvpro-policy-content {
  max-width: 100% !important;
  width: 100% !important;
}
@media (max-width: 768px) {
  .cvpro-policy-content {
    padding: 1.5rem 1.25rem;
    border-radius: var(--cvpro-radius-lg, 12px);
  }
}
.cvpro-policy-content h2 {
  font-family: var(--cvpro-font-heading);
  font-size: 1.6rem;
  margin: 2.25rem 0 0.85rem;
  color: var(--cvpro-text-primary);
}
.cvpro-policy-content h3 {
  font-family: var(--cvpro-font-heading);
  font-size: 1.25rem;
  margin: 1.75rem 0 0.65rem;
  color: var(--cvpro-text-primary);
}
.cvpro-policy-content p { margin: 0 0 1rem; }
.cvpro-policy-content ul,
.cvpro-policy-content ol { margin: 0 0 1.25rem 1.5rem; }
.cvpro-policy-content li { margin-bottom: 0.45rem; }
.cvpro-policy-content a {
  color: var(--cvpro-primary);
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* Breadcrumb visible by default — hide per-page via body class if needed */

/* ── FAQ Accordion Animation ─────────────────────────────────────────── */
.cvpro-faq__answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
}
.cvpro-faq__item.is-open .cvpro-faq__answer {
  max-height: 500px;
}
.cvpro-faq__question {
  cursor: pointer;
}
.cvpro-faq__icon {
  transition: transform 0.3s ease;
}
.cvpro-faq__item.is-open .cvpro-faq__icon {
  transform: rotate(45deg);
}

/* ==========================================================================
   VISUAL VIBRANCY OVERRIDES — Alternating backgrounds, accents, hover effects
   Appended for cascade priority
   ========================================================================== */

/* --------------------------------------------------------------------------
   V1. Alternating section backgrounds for visual rhythm
   -------------------------------------------------------------------------- */
.cvpro-roles { background: var(--cvpro-bg-secondary, #f8f9fa); border-top: 1px solid var(--cvpro-border); border-bottom: 1px solid var(--cvpro-border); }
.cvpro-upload-section { background: #fff; }
.cvpro-integrations { background: var(--cvpro-bg-secondary, #f8f9fa); }
.cvpro-how-it-works { background: #fff; }
.cvpro-before-after { background: var(--cvpro-bg-secondary, #f8f9fa); }
.cvpro-spotlight { background: #fff; }
.cvpro-comparison { background: #fff; }
.cvpro-speed { background: var(--cvpro-bg-secondary, #f8f9fa); }
.cvpro-capabilities { background: var(--cvpro-bg-secondary, #f8f9fa); }
.cvpro-why { background: #fff; }
.cvpro-pricing { background: var(--cvpro-bg-secondary, #f8f9fa); }
.cvpro-testimonials { background: #fff; }
.cvpro-faq { background: var(--cvpro-bg-secondary, #f8f9fa); }

/* --------------------------------------------------------------------------
   V2. Subtle colored accents
   -------------------------------------------------------------------------- */

/* Section title positioning for future pseudo-element accents */
.cvpro-section__title {
  position: relative;
}

/* Colored border on key card hover */
.cvpro-feature-card:hover,
.cvpro-capabilities__card:hover,
.cvpro-tcard:hover {
  border-color: var(--cvpro-primary);
}

/* Stats counter section — light surface, see ── STATS COUNTER ── block above */

/* Pricing highlighted card — more vibrant */
.cvpro-pricing__card--highlighted {
  background: linear-gradient(135deg, var(--cvpro-primary), var(--cvpro-primary-dark, var(--cvpro-primary-dark))) !important;
  border-color: transparent !important;
}

/* --------------------------------------------------------------------------
   V3. Section spacing consistency
   -------------------------------------------------------------------------- */
.cvpro-section {
  padding-block: var(--cvpro-section-py, 5rem);
}

/* Tighter spacing for thin sections */
.cvpro-roles,
.cvpro-brand-trust,
.cvpro-media-press {
  padding-block: 2rem;
}

/* Remove double margins between sections */
.cvpro-section + .cvpro-section {
  margin-top: 0;
}

/* --------------------------------------------------------------------------
   V4. Enhanced hero section visuals
   -------------------------------------------------------------------------- */
.cvpro-hero {
  background: linear-gradient(
    135deg,
    var(--cvpro-hero-gradient-from, #f0f0ff) 0%,
    #e8ecff 50%,
    var(--cvpro-hero-gradient-to, #f5f0ff) 100%
  );
  position: relative;
  overflow: hidden;
}

/* Decorative gradient orb behind hero */
.cvpro-hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(var(--cvpro-primary-rgb), 0.08) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

/* --------------------------------------------------------------------------
   V5. Button hover effects — more dynamic
   -------------------------------------------------------------------------- */
.cvpro-btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(var(--cvpro-primary-rgb), 0.35);
}

.cvpro-btn--outline:hover {
  background: rgba(var(--cvpro-primary-rgb), 0.04);
}

/* --------------------------------------------------------------------------
   V6. Card hover effects — consistent lift
   -------------------------------------------------------------------------- */
.cvpro-feature-card,
.cvpro-capabilities__card,
.cvpro-tcard,
.cvpro-post-card,
.cvpro-how-it-works__card,
.cvpro-pricing__card {
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.cvpro-feature-card:hover,
.cvpro-capabilities__card:hover,
.cvpro-post-card:hover,
.cvpro-how-it-works__card:hover,
.cvpro-pricing__card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0,0,0,0.08);
}

/* --------------------------------------------------------------------------
   V7. Social proof section — light primary tint
   -------------------------------------------------------------------------- */
.cvpro-proof {
  background: linear-gradient(135deg, rgba(var(--cvpro-primary-rgb), 0.03), rgba(var(--cvpro-primary-rgb), 0.06));
}

/* --------------------------------------------------------------------------
   V9. Final CTA — gradient lives on the inner card, the section wrapper
   stays transparent so the CTA reads as a contained card aligned with
   the rest of the page (not a full-bleed band).

   DEFENSIVE FALLBACK: page templates that use `cvpro-final-cta--gradient`
   WITHOUT an inner `__inner` wrapper would otherwise render the gradient on
   nothing → text appears as white on white. The first rule paints the
   gradient on the section itself; the `:has()` rule below cancels that
   when an `__inner` wrapper is present so the original card-style design
   keeps working on pages that ship the wrapper.
   -------------------------------------------------------------------------- */
.cvpro-final-cta--gradient {
  background: linear-gradient(135deg, var(--cvpro-primary) 0%, var(--cvpro-primary-hover, var(--cvpro-primary)) 50%, var(--cvpro-primary-dark) 100%) !important;
  color: #FFFFFF;
  border-radius: var(--cvpro-radius-2xl, 24px);
  padding: 3.5rem 1.75rem;
  margin: 1.5rem auto;
  max-width: calc(var(--cvpro-container-max, 1320px) - 3rem);
}
/* When the explicit inner card IS present, restore the original card
   layout: section wrapper transparent, gradient lives on `__inner`. */
.cvpro-final-cta--gradient:has(.cvpro-final-cta__inner) {
  background: transparent !important;
  border-radius: 0;
  padding: var(--cvpro-space-2xl) 0;
  margin: 0 auto;
  max-width: none;
}
.cvpro-final-cta__inner {
  background: linear-gradient(135deg, var(--cvpro-primary) 0%, var(--cvpro-primary-hover, var(--cvpro-primary)) 50%, var(--cvpro-primary-dark) 100%);
}
.cvpro-final-cta--gradient .cvpro-container {
  position: relative;
  z-index: 1;
}

/* --------------------------------------------------------------------------
   Hero Upload Card — bigger, with eyebrow CTA above
   -------------------------------------------------------------------------- */
.cvpro-hero__upload {
  width: 100%;
  max-width: 520px;
  margin-left: auto;
}

/* Hero secondary CTA ("See How It Works") — solid white pill */
.cvpro-hero .cvpro-hero__actions .cvpro-btn--outline {
  background: #ffffff !important;
  color: var(--cvpro-text-primary) !important;
  border: 1.5px solid #ffffff !important;
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}
.cvpro-hero .cvpro-hero__actions .cvpro-btn--outline:hover {
  background: #ffffff !important;
  border-color: rgba(var(--cvpro-primary-rgb), 0.25) !important;
  color: var(--cvpro-primary) !important;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}
/* CTA card ABOVE the upload form — compact, centered, ArchFine-style.
   Close button top-left, big headline, supporting line, primary button. */
.cvpro-hero__upload-cta {
  position: relative;
  margin: 0 0 1rem;
  padding: 2rem 1.75rem 1.75rem;
  background: #fff;
  border: 1px solid var(--cvpro-border, #e5e7eb);
  border-radius: 1.25rem;
  box-shadow: 0 24px 48px rgba(20, 25, 50, 0.08), 0 4px 12px rgba(20, 25, 50, 0.04);
  text-align: center;
}
.cvpro-hero__upload-cta-close {
  position: absolute;
  top: 0.75rem;
  left: 0.75rem;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: none;
  background: var(--cvpro-bg-secondary, #f1f3f6);
  color: var(--cvpro-text-secondary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  padding: 0;
  transition: background var(--cvpro-transition-fast), color var(--cvpro-transition-fast);
}
.cvpro-hero__upload-cta-close:hover {
  background: var(--cvpro-text-primary);
  color: #fff;
}
.cvpro-hero__upload-cta-headline {
  font-family: var(--cvpro-font-heading);
  font-size: clamp(1.35rem, 2vw, 1.6rem);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.015em;
  color: var(--cvpro-text-primary);
  margin: 0 0 0.65rem;
}
.cvpro-hero__upload-cta-sub {
  font-size: 0.95rem;
  line-height: 1.5;
  color: var(--cvpro-text-secondary);
  margin: 0 0 1.25rem;
}
.cvpro-hero__upload-cta-sub strong {
  color: var(--cvpro-text-primary);
  font-weight: 700;
}
.cvpro-hero__upload-cta-btn {
  display: block;
  width: 100%;
  padding: 1rem 1.5rem;
  background: var(--cvpro-primary);
  color: #fff;
  font-family: var(--cvpro-font-heading);
  font-weight: 700;
  font-size: 1.05rem;
  text-decoration: none;
  border-radius: 0.85rem;
  border: none;
  cursor: pointer;
  transition: background var(--cvpro-transition-fast), transform var(--cvpro-transition-fast), box-shadow var(--cvpro-transition-fast);
  box-shadow: 0 8px 20px rgba(var(--cvpro-primary-rgb), 0.28);
}
.cvpro-hero__upload-cta-btn:hover {
  background: var(--cvpro-primary-dark, var(--cvpro-primary));
  transform: translateY(-1px);
  box-shadow: 0 12px 28px rgba(var(--cvpro-primary-rgb), 0.34);
}

/* Hidden state when user clicks close (controlled by JS) */
.cvpro-hero__upload-cta.is-dismissed {
  display: none;
}
/* Mobile — tighter padding, slightly smaller text */
@media (max-width: 600px) {
  .cvpro-hero__upload-cta {
    padding: 1.75rem 1.25rem 1.25rem;
  }
  .cvpro-hero__upload-cta-headline {
    font-size: 1.2rem;
  }
  .cvpro-hero__upload-cta-sub {
    font-size: 0.875rem;
  }
  .cvpro-hero__upload-cta-btn {
    padding: 0.85rem 1.25rem;
    font-size: 1rem;
  }
}
.cvpro-hero__upload-card {
  background: #fff;
  border-radius: 1.5rem;
  padding: 2.25rem 2rem;
  box-shadow: 0 24px 64px rgba(0,0,0,0.14);
  border: 1px solid var(--cvpro-border, #e5e7eb);
}
.cvpro-hero__upload-header {
  margin-bottom: 1.25rem;
}
.cvpro-hero__upload-badge {
  display: inline-flex; align-items: center; gap: 0.3rem;
  padding: 0.3rem 0.75rem; border-radius: 999px;
  font-size: 0.75rem; font-weight: 600;
  background: rgba(16,185,129,0.1); color: #10b981;
  margin-bottom: 0.85rem;
}
.cvpro-hero__upload-label {
  font-family: var(--cvpro-font-heading);
  font-size: 1.25rem; font-weight: 700; margin: 0;
}
.cvpro-hero__upload-dropzone {
  border: 2px dashed var(--cvpro-border, #d1d5db);
  border-radius: 1rem;
  padding: 2.5rem 1.5rem;
  text-align: center;
  cursor: pointer;
  transition: all 0.2s;
  background: var(--cvpro-bg-secondary, #f9fafb);
}
.cvpro-hero__upload-dropzone:hover {
  border-color: var(--cvpro-primary);
  background: rgba(var(--cvpro-primary-rgb), 0.03);
}
.cvpro-hero__upload-dropzone svg {
  color: var(--cvpro-primary); opacity: 0.55;
  margin: 0 auto 0.75rem;
}
.cvpro-hero__upload-text {
  font-weight: 500; font-size: 0.95rem; margin: 0 0 0.35rem;
}
.cvpro-hero__upload-hint {
  font-size: 0.8125rem; color: var(--cvpro-text-secondary); margin: 0;
}
.cvpro-hero__upload-btn {
  margin-top: 1.25rem;
  width: 100%;
  justify-content: center;
  font-size: 1.0625rem;
  padding: 1.05rem 1.5rem;
  font-weight: 600;
}
.cvpro-hero__upload-trust {
  display: flex; justify-content: center; flex-wrap: wrap;
  gap: 1.25rem;
  margin-top: 1rem; font-size: 0.75rem;
  color: var(--cvpro-text-secondary);
}
.cvpro-hero__upload-trust span {
  display: inline-flex; align-items: center; gap: 0.3rem;
}

@media (max-width: 1024px) {
  .cvpro-hero__upload {
    margin-inline: auto;
  }
  .cvpro-hero__upload-cta {
    text-align: center;
  }
}

@media (max-width: 480px) {
  .cvpro-hero__upload-card {
    padding: 1.5rem 1.25rem;
  }
  .cvpro-hero__upload-dropzone {
    padding: 1.75rem 1rem;
  }
}

/* ── Demo Card (Try Sample Review) ───────────────────────────────────── */
.cvpro-demo-card {
  max-width: 560px;
  margin: 0 auto;
  background: #fff;
  border: 1px solid var(--cvpro-border, #e5e7eb);
  border-radius: 1.25rem;
  padding: 2rem;
  box-shadow: 0 8px 32px rgba(0,0,0,0.06);
}
.cvpro-demo-card__header {
  text-align: center;
  margin-bottom: 1.5rem;
}
.cvpro-demo-card__badge {
  display: inline-flex; align-items: center; gap: 0.35rem;
  padding: 0.3rem 0.75rem; border-radius: 999px;
  font-size: 0.75rem; font-weight: 600;
  background: rgba(var(--cvpro-primary-rgb), 0.1); color: var(--cvpro-primary);
  margin-bottom: 0.75rem;
}
.cvpro-demo-card__title {
  font-family: var(--cvpro-font-heading);
  font-size: 1.25rem; font-weight: 700;
  color: var(--cvpro-text-primary);
  margin: 0 0 0.35rem;
}
.cvpro-demo-card__subtitle {
  font-size: 0.875rem; color: var(--cvpro-text-secondary); margin: 0;
}
.cvpro-demo-card__sample-name {
  display: block; font-weight: 600; font-size: 0.9375rem;
  color: var(--cvpro-text-primary);
}
.cvpro-demo-card__samples {
  display: flex; flex-direction: column; gap: 0.75rem;
  margin-bottom: 1.25rem;
}
.cvpro-demo-card__sample {
  display: flex; align-items: center; gap: 1rem;
  padding: 0.875rem 1rem;
  background: var(--cvpro-bg-secondary, #f9fafb);
  border: 1px solid var(--cvpro-border, #e5e7eb);
  border-radius: 0.75rem;
  cursor: pointer;
  transition: all 0.2s;
  text-align: left;
}
.cvpro-demo-card__sample:hover {
  border-color: var(--cvpro-primary);
  background: rgba(var(--cvpro-primary-rgb), 0.03);
  transform: translateX(4px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.06);
}
.cvpro-demo-card__sample-visual {
  width: 48px; height: 48px;
  border-radius: 0.625rem;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  /* default fallback gradient — overridden by --primary/--accent/--secondary */
  background: linear-gradient(135deg, var(--cvpro-primary), var(--cvpro-primary-dark, var(--cvpro-primary)));
}
/* Variants tied to theme palette so the placeholders re-color when the
   user changes the master theme color in the customizer. */
.cvpro-demo-card__sample-visual--primary {
  background: linear-gradient(135deg, var(--cvpro-primary), var(--cvpro-primary-dark, var(--cvpro-primary)));
}
.cvpro-demo-card__sample-visual--accent {
  background: linear-gradient(135deg, var(--cvpro-accent, #FF5A1F), var(--cvpro-primary));
}
.cvpro-demo-card__sample-visual--secondary {
  background: linear-gradient(135deg, var(--cvpro-secondary, #0E9F6E), var(--cvpro-primary));
}
.cvpro-demo-card__sample-info {
  flex: 1; min-width: 0;
}
.cvpro-demo-card__sample-name {
  display: block; font-weight: 600; font-size: 0.9375rem;
}
.cvpro-demo-card__sample-score {
  display: block; font-size: 0.75rem; color: var(--cvpro-text-secondary);
  margin-top: 0.15rem;
}
.cvpro-demo-card__sample-arrow {
  color: var(--cvpro-text-secondary); flex-shrink: 0;
  transition: transform 0.2s;
}
.cvpro-demo-card__sample:hover .cvpro-demo-card__sample-arrow {
  transform: translateX(3px);
  color: var(--cvpro-primary);
}
.cvpro-demo-card__cta {
  margin-top: 0.5rem;
}
@media (max-width: 480px) {
  .cvpro-demo-card { padding: 1.5rem 1rem; }
}

/* ══════════════════════════════════════════
   COMPREHENSIVE MOBILE FIXES
══════════════════════════════════════════ */
@media (max-width: 768px) {
  /* Hero */
  .cvpro-hero__grid { grid-template-columns: 1fr; gap: 2rem; }
  .cvpro-hero__content { text-align: center; }
  .cvpro-hero__subheadline { margin-inline: auto; }
  .cvpro-hero__actions { justify-content: center; flex-wrap: wrap; }
  .cvpro-hero__trust { justify-content: center; }
  .cvpro-hero { min-height: auto; }

  /* Upload card in hero */
  .cvpro-hero__upload-card { margin-top: 1rem; }

  /* Navigation */
  .cvpro-nav__menu, .cvpro-nav__signin { display: none; }
  .cvpro-mobile-menu-btn { display: flex; }

  /* How it works */
  .cvpro-how-it-works__cards { grid-template-columns: 1fr; }
  .cvpro-how-it-works__arrow { display: none; }

  /* Features grid */
  .cvpro-features-grid,
  .cvpro-features__grid { grid-template-columns: 1fr !important; --features-cols: 1; }

  /* Spotlight */
  .cvpro-spotlight__row { grid-template-columns: 1fr; gap: 2rem; }
  .cvpro-spotlight__visual { order: -1; }

  /* Showcase */
  .cvpro-showcase__grid { grid-template-columns: 1fr; gap: 2rem; }
  .cvpro-showcase__visual { order: -1; }

  /* Capabilities */
  .cvpro-capabilities__grid { grid-template-columns: 1fr 1fr; }

  /* Stats */
  .cvpro-stats__grid { grid-template-columns: 1fr 1fr; }

  /* Pricing */
  .cvpro-pricing-grid,
  .cvpro-pricing__grid { grid-template-columns: 1fr !important; }
  .cvpro-pricing__card--highlighted { transform: none !important; }

  /* Comparison */
  .cvpro-comparison__table { min-width: 400px; }

  /* Speed */
  .cvpro-speed__row { grid-template-columns: 1fr; gap: 0.35rem; }
  .cvpro-speed__time { text-align: left; }

  /* Before/After */
  .cvpro-before-after__comparison { grid-template-columns: 1fr; }
  .cvpro-before-after__divider { transform: rotate(90deg); }
  .cvpro-before-after__tabs { overflow-x: auto; flex-wrap: nowrap; -webkit-overflow-scrolling: touch; }

  /* Blog grid */
  .cvpro-blog-grid,
  .cvpro-blog-preview__grid { grid-template-columns: 1fr !important; }

  /* Testimonials */
  .cvpro-testimonials-grid,
  .cvpro-testimonials__grid { --testimonial-cols: 1; grid-template-columns: 1fr !important; }

  /* Footer */
  .cvpro-footer__grid { grid-template-columns: 1fr 1fr; gap: 1.5rem; }
  .cvpro-footer__brand { grid-column: 1 / -1; }
  .cvpro-footer__bottom { flex-direction: column; gap: 0.75rem; text-align: center; }

  /* Calculator */
  .cvpro-calculator__results { grid-template-columns: 1fr 1fr; }
  .cvpro-calculator__input-group { flex-direction: column; }

  /* Why choose */
  .cvpro-why__cards { grid-template-columns: 1fr !important; }

  /* Results gallery */
  .cvpro-gallery__grid { grid-template-columns: 1fr 1fr !important; }

  /* Page hero */
  .cvpro-page-hero { padding: calc(var(--header-height, 80px) + 2.5rem) 0 2.5rem; }
  .cvpro-page-hero__title { font-size: 1.5rem; }

  /* Author header */
  .cvpro-author-header { flex-direction: column; text-align: center; align-items: center; }

  /* Post nav */
  .cvpro-post-nav { grid-template-columns: 1fr; }
  .cvpro-post-nav-next { text-align: left; }

  /* Section padding reduce */
  .cvpro-section { padding-block: 3rem; }

  /* Container padding */
  .cvpro-container { padding-left: 1rem; padding-right: 1rem; }

  /* Social proof */
  .cvpro-upload-section__social-proof { flex-direction: column !important; text-align: center; }

  /* Video demo features */
  .cvpro-video-demo__features { grid-template-columns: 1fr !important; }

  /* Integrations grid */
  .cvpro-integrations__grid { gap: 0.75rem; }
  .cvpro-integrations__item { min-width: 0; padding: 0.75rem; }

  /* Speed comparison */
  .cvpro-speed__label { min-width: 0; }

  /* Step indicator */
  .cvpro-upload-section__steps-indicator { flex-wrap: wrap; gap: 0.5rem; }

  /* Promo banner */
  .cvpro-promo-banner { font-size: 0.75rem; padding: 0.5rem 2.5rem 0.5rem 0.75rem; }

  /* Mobile CTA no overflow */
  .cvpro-mobile-cta { left: 8px !important; right: 8px !important; }
}

@media (max-width: 480px) {
  .cvpro-footer__grid { grid-template-columns: 1fr; }
  .cvpro-capabilities__grid { grid-template-columns: 1fr; }
  .cvpro-gallery__grid { grid-template-columns: 1fr !important; }
  .cvpro-hero__headline { font-size: 1.75rem; }
  .cvpro-section { padding-block: 2.5rem; }
  .cvpro-container { padding-left: 0.75rem; padding-right: 0.75rem; }
  .cvpro-demo-card__samples { gap: 0.5rem; }
  .cvpro-page-hero { padding: calc(var(--header-height, 80px) + 2rem) 0 2rem; }
  .cvpro-page-hero__title { font-size: 1.25rem; }
  .cvpro-page-hero__subtitle { font-size: 0.9375rem; }
  .cvpro-video-demo__features { gap: 0.75rem; }
  .cvpro-calculator__results { grid-template-columns: 1fr 1fr; }
  .cvpro-promo-banner { font-size: 0.6875rem; }
  .cvpro-hero__upload-card { padding: 1.25rem; }
  .cvpro-hero__upload-dropzone { padding: 1.5rem 1rem; }

  /* Smaller buttons on small screens */
  .cvpro-btn--primary,
  .cvpro-btn--outline {
    padding: 0.625rem 1.25rem;
    font-size: 0.9375rem;
  }
  .cvpro-btn--lg {
    padding: 0.75rem 1.5rem;
    font-size: 1rem;
  }
}

/* ==========================================================================
   NEW SECTIONS: Portfolio Templates, Career Toolkit, Firm Match, Audience
   ========================================================================== */

/* ── Portfolio Templates Showcase ──────────────────────────────────────── */
.cvpro-templates__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.cvpro-templates__card { border-radius: var(--cvpro-radius-xl, 16px); overflow: hidden; border: 1px solid var(--cvpro-border); transition: transform 0.3s, box-shadow 0.3s; background: var(--cvpro-bg-primary); }
.cvpro-templates__card:hover { transform: translateY(-4px); box-shadow: 0 12px 32px rgba(0,0,0,0.1); }
.cvpro-templates__preview { position: relative; aspect-ratio: 4/3; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.cvpro-templates__preview img { width: 100%; height: 100%; object-fit: cover; }
.cvpro-templates__placeholder { display: flex; align-items: center; justify-content: center; width: 100%; height: 100%; }
.cvpro-templates__badge { position: absolute; top: 0.75rem; left: 0.75rem; padding: 0.25rem 0.75rem; background: rgba(0,0,0,0.5); backdrop-filter: blur(4px); color: #fff; font-size: 0.6875rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.05em; border-radius: var(--cvpro-radius-sm, 4px); }
.cvpro-templates__info { padding: 1.25rem; }
.cvpro-templates__name { font-family: var(--cvpro-font-heading); font-size: 1.0625rem; font-weight: 700; margin: 0 0 0.35rem; }
.cvpro-templates__desc { font-size: 0.875rem; color: var(--cvpro-text-secondary); margin: 0; line-height: 1.5; }
.cvpro-templates__action { text-align: center; margin-top: 2.5rem; }
@media (max-width: 768px) { .cvpro-templates__grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .cvpro-templates__grid { grid-template-columns: 1fr; } }

/* ── Career Toolkit ───────────────────────────────────────────────────── */
.cvpro-toolkit__grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
.cvpro-toolkit__card { padding: 2rem; border-radius: var(--cvpro-radius-xl, 16px); border: 1px solid var(--cvpro-border); background: var(--cvpro-bg-primary); transition: transform 0.3s, box-shadow 0.3s; }
.cvpro-toolkit__card:hover { transform: translateY(-4px); box-shadow: 0 12px 32px rgba(0,0,0,0.08); }
.cvpro-toolkit__icon {
  width: 56px;
  height: 56px;
  border-radius: var(--cvpro-radius-lg, 12px);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  flex-shrink: 0;
}
.cvpro-toolkit__icon svg {
  width: 26px;
  height: 26px;
}
.cvpro-toolkit__tag { display: inline-block; font-size: 0.6875rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: 0.5rem; }
.cvpro-toolkit__title { font-family: var(--cvpro-font-heading); font-size: 1.25rem; font-weight: 700; margin: 0 0 0.6rem; }
.cvpro-toolkit__desc { font-size: 0.9375rem; line-height: 1.65; color: var(--cvpro-text-secondary); margin: 0; }
@media (max-width: 640px) { .cvpro-toolkit__grid { grid-template-columns: 1fr; } }

/* ── Firm Match ───────────────────────────────────────────────────────── */
.cvpro-firmmatch__layout { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; }
.cvpro-firmmatch__badge { display: inline-flex; align-items: center; gap: 0.35rem; font-size: 0.75rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.06em; color: var(--cvpro-primary); background: rgba(var(--cvpro-primary-rgb), 0.08); padding: 0.3rem 0.85rem; border-radius: 999px; margin-bottom: 1rem; }
.cvpro-firmmatch__headline { font-family: var(--cvpro-font-heading); font-size: clamp(1.75rem,3.5vw,2.5rem); font-weight: 800; line-height: 1.2; margin: 0 0 1rem; }
.cvpro-firmmatch__text { font-size: 1.0625rem; line-height: 1.7; color: var(--cvpro-text-secondary); margin: 0 0 1.5rem; }
.cvpro-firmmatch__features { list-style: none; padding: 0; margin: 0 0 2rem; display: flex; flex-direction: column; gap: 0.6rem; }
.cvpro-firmmatch__features li {
  display: flex;
  align-items: flex-start;       /* anchor checkmark to first line, not multi-line center */
  gap: 0.6rem;
  font-size: 0.9375rem;
  line-height: 1.45;
  color: var(--cvpro-text-primary);
}
.cvpro-firmmatch__features li svg {
  flex-shrink: 0;
  margin-top: 0.2em;             /* nudge down so the tick aligns with the text x-height */
}
.cvpro-firmmatch__card { background: var(--cvpro-bg-primary); border: 1px solid var(--cvpro-border); border-radius: var(--cvpro-radius-xl, 16px); padding: 1.5rem; box-shadow: 0 8px 32px rgba(0,0,0,0.06); }
.cvpro-firmmatch__card-header { display: flex; align-items: center; gap: 0.5rem; font-size: 0.875rem; font-weight: 600; color: var(--cvpro-text-primary); margin-bottom: 1.25rem; padding-bottom: 1rem; border-bottom: 1px solid var(--cvpro-border); }
.cvpro-firmmatch__bars { display: flex; flex-direction: column; gap: 0.75rem; }
.cvpro-firmmatch__bar-row { display: grid; grid-template-columns: 36px 120px 1fr 44px; gap: 0.75rem; align-items: center; }
.cvpro-firmmatch__bar-logo {
  width: 36px; height: 36px;
  border-radius: 8px;
  background: var(--cvpro-bg-secondary, #f9fafb);
  border: 1px solid var(--cvpro-border, #e5e7eb);
  display: inline-flex; align-items: center; justify-content: center;
  overflow: hidden;
  flex-shrink: 0;
}
.cvpro-firmmatch__bar-logo img {
  width: 100%; height: 100%; object-fit: contain;
  padding: 4px;
  background: #fff;
}
/* No-image placeholder: gradient fill from PHP palette + white initials. */
.cvpro-firmmatch__bar-logo--placeholder {
  border-color: transparent;
  box-shadow: 0 1px 2px rgba(0,0,0,0.06), inset 0 0 0 1px rgba(255,255,255,0.18);
}
.cvpro-firmmatch__bar-logo--placeholder .cvpro-firmmatch__bar-initials {
  color: #fff;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  text-shadow: 0 1px 2px rgba(0,0,0,0.18);
}
.cvpro-firmmatch__bar-initials {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--cvpro-text-secondary);
}
.cvpro-firmmatch__bar-name { font-size: 0.8125rem; font-weight: 500; color: var(--cvpro-text-primary); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cvpro-firmmatch__bar-track { height: 8px; background: var(--cvpro-bg-secondary); border-radius: 999px; overflow: hidden; }
/* Bars show their score by default (works without JS); JS can add
   .is-visible to the section for a scroll-in animation if desired. */
.cvpro-firmmatch__bar-fill { height: 100%; border-radius: 999px; width: var(--fw); transition: width 1.2s ease-out; }
.cvpro-firmmatch:not(.is-visible) .cvpro-firmmatch__bar-fill { /* respect user preference for reduced motion */ }
@media (prefers-reduced-motion: reduce) {
  .cvpro-firmmatch__bar-fill { transition: none; }
}
.cvpro-firmmatch__bar-score { font-size: 0.8125rem; font-weight: 700; text-align: right; }
@media (max-width: 768px) {
  .cvpro-firmmatch__layout { grid-template-columns: 1fr; gap: 2rem; }
  .cvpro-firmmatch__bar-row { grid-template-columns: 32px 90px 1fr 38px; gap: 0.5rem; }
  .cvpro-firmmatch__bar-logo { width: 32px; height: 32px; }
  .cvpro-firmmatch__bar-initials { font-size: 0.7rem; }
}

/* ── Audience Tabs (Students vs Professionals) ────────────────────────── */
.cvpro-audience__tabs { display: flex; justify-content: center; gap: 0.5rem; margin-bottom: 2.5rem; }
.cvpro-audience__tab { padding: 0.75rem 2rem; border: 2px solid var(--cvpro-border); border-radius: var(--cvpro-radius-full, 999px); background: var(--cvpro-bg-primary); font-weight: 600; font-size: 0.9375rem; cursor: pointer; color: var(--cvpro-text-secondary); transition: all 0.2s; }
.cvpro-audience__tab:hover { border-color: var(--cvpro-primary); color: var(--cvpro-primary); }
.cvpro-audience__tab.is-active { background: var(--cvpro-primary); border-color: var(--cvpro-primary); color: #fff; }
.cvpro-audience__panel { display: none; }
.cvpro-audience__panel.is-active { display: block; }
.cvpro-audience__panel-grid { display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 3rem; align-items: center; }
.cvpro-audience__panel-headline { font-family: var(--cvpro-font-heading); font-size: 1.75rem; font-weight: 800; margin: 0 0 1rem; }
.cvpro-audience__panel-desc { font-size: 1.0625rem; line-height: 1.7; color: var(--cvpro-text-secondary); margin: 0 0 1.5rem; }
.cvpro-audience__panel-features { list-style: none; padding: 0; margin: 0 0 2rem; display: flex; flex-direction: column; gap: 0.75rem; }
.cvpro-audience__panel-features li { display: flex; align-items: flex-start; gap: 0.6rem; font-size: 0.9375rem; line-height: 1.5; }
.cvpro-audience__panel-features li svg { flex-shrink: 0; margin-top: 2px; }
.cvpro-audience__panel-stat { text-align: center; padding: 3rem 2rem; background: linear-gradient(135deg, rgba(var(--cvpro-primary-rgb), 0.04), rgba(var(--cvpro-primary-rgb), 0.1)); border-radius: var(--cvpro-radius-xl, 16px); border: 1px solid rgba(var(--cvpro-primary-rgb), 0.12); }
.cvpro-audience__stat-num { display: block; font-family: var(--cvpro-font-heading); font-size: 4rem; font-weight: 800; color: var(--cvpro-primary); line-height: 1; margin-bottom: 0.75rem; }
.cvpro-audience__stat-txt { display: block; font-size: 1rem; line-height: 1.5; color: var(--cvpro-text-secondary); max-width: 280px; margin: 0 auto; }
@media (max-width: 768px) {
  .cvpro-audience__panel-grid { grid-template-columns: 1fr; gap: 2rem; }
  .cvpro-audience__tabs { flex-direction: column; align-items: stretch; }
  .cvpro-audience__tab { text-align: center; }
  .cvpro-audience__stat-num { font-size: 3rem; }
  .cvpro-audience__panel-content { text-align: center; }
  .cvpro-audience__panel-features { align-items: flex-start; max-width: 360px; margin-inline: auto; }
  .cvpro-audience__panel-content > .cvpro-btn,
  .cvpro-audience__panel-content > a.cvpro-btn {
    display: inline-flex;
    margin: 0 auto;
  }
}

/* ── Trustpilot Badge ─────────────────────────────────────────────────── */
.cvpro-trustpilot { text-align: center; margin-top: 2.5rem; }
.cvpro-trustpilot__link { display: inline-flex; text-decoration: none; color: inherit; transition: transform 0.2s ease; }
.cvpro-trustpilot__link:hover { transform: translateY(-2px); }
.cvpro-trustpilot__inner { display: flex; align-items: center; gap: 1.25rem; padding: 0.875rem 1.5rem; background: var(--cvpro-bg-primary, #fff); border: 1px solid var(--cvpro-border, #e5e7eb); border-radius: var(--cvpro-radius-lg, 12px); box-shadow: 0 2px 8px rgba(0,0,0,0.04); }
.cvpro-trustpilot__score { display: flex; flex-direction: column; align-items: center; line-height: 1; }
.cvpro-trustpilot__number { font-family: var(--cvpro-font-heading); font-size: 1.75rem; font-weight: 800; color: var(--cvpro-text-primary); }
.cvpro-trustpilot__label { font-size: 0.6875rem; color: var(--cvpro-text-secondary); margin-top: 0.15rem; }
.cvpro-trustpilot__stars { display: flex; gap: 2px; }
.cvpro-trustpilot__star { display: flex; align-items: center; justify-content: center; width: 28px; height: 28px; background: #00b67a; color: #fff; border-radius: 3px; }
.cvpro-trustpilot__star--empty { background: #dcdce6; color: #fff; }
.cvpro-trustpilot__info { display: flex; flex-direction: column; gap: 0.2rem; text-align: left; }
.cvpro-trustpilot__count { font-size: 0.8125rem; color: var(--cvpro-text-secondary); }
.cvpro-trustpilot__count strong { color: var(--cvpro-text-primary); }
.cvpro-trustpilot__logo { display: inline-flex; align-items: center; gap: 0.3rem; font-size: 0.9375rem; font-weight: 700; color: #191c1f; }
@media (max-width: 640px) {
  /* Trustpilot badge — clean column layout on mobile so each row is
     centered against the same axis instead of wrapping awkwardly. */
  .cvpro-trustpilot {
    margin: 1.5rem 1.25rem 0;
  }
  .cvpro-trustpilot__link {
    display: flex;
    width: 100%;
  }
  .cvpro-trustpilot__inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.45rem;
    padding: 0.85rem 1rem;
    width: 100%;
    box-sizing: border-box;
    text-align: center;
  }
  /* Score row: big number + "out of 5" inline, both centered */
  .cvpro-trustpilot__score {
    flex-direction: row;
    align-items: baseline;
    justify-content: center;
    gap: 0.4rem;
  }
  .cvpro-trustpilot__number { font-size: 1.4rem; line-height: 1; }
  .cvpro-trustpilot__label  { font-size: 0.78rem; }

  /* Stars row centered */
  .cvpro-trustpilot__stars {
    justify-content: center;
    gap: 3px;
  }
  .cvpro-trustpilot__star { width: 22px; height: 22px; }
  .cvpro-trustpilot__star svg { width: 14px; height: 14px; }

  /* Info row: "Based on X reviews · Trustpilot ★" inline, centered */
  .cvpro-trustpilot__info {
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    text-align: center;
  }
  .cvpro-trustpilot__count { font-size: 0.78rem; }
  .cvpro-trustpilot__logo  { font-size: 0.875rem; }
}

/* ==========================================================================
   RTL SUPPORT
   ========================================================================== */
[dir="rtl"] {
  direction: rtl;
  text-align: right;
}

/* Flex/Grid direction flips */
[dir="rtl"] .cvpro-nav,
[dir="rtl"] .cvpro-nav__actions,
[dir="rtl"] .cvpro-post-card__meta,
[dir="rtl"] .cvpro-single-meta,
[dir="rtl"] .cvpro-social-share__buttons,
[dir="rtl"] .cvpro-category-tabs,
[dir="rtl"] .cvpro-post-tags,
[dir="rtl"] .cvpro-breadcrumb__list {
  direction: rtl;
}

/* Mobile menu slides from left in RTL */
[dir="rtl"] .cvpro-mobile-menu {
  right: auto;
  left: 0;
  transform: translateX(-100%);
}
[dir="rtl"] .cvpro-mobile-menu[aria-hidden="false"] {
  transform: translateX(0);
}

/* Mobile menu close button */
[dir="rtl"] .cvpro-mobile-menu__header {
  justify-content: flex-start;
}

/* Post nav flip */
[dir="rtl"] .cvpro-post-nav__link--prev { text-align: right; }
[dir="rtl"] .cvpro-post-nav__link--next { text-align: left; }
[dir="rtl"] .cvpro-post-nav__link--next .cvpro-post-nav__label { justify-content: flex-start; }

/* Excerpt border flip */
[dir="rtl"] .cvpro-single-excerpt {
  border-left: none;
  border-right: 3px solid var(--cvpro-primary);
  padding-left: 0;
  padding-right: 1.25rem;
}

/* Arrow icons flip */
[dir="rtl"] .cvpro-demo-card__sample-arrow,
[dir="rtl"] .cvpro-features__link svg,
[dir="rtl"] .cvpro-freetools__cta svg {
  transform: scaleX(-1);
}

/* Firm match layout */
[dir="rtl"] .cvpro-firmmatch__bar-name { text-align: right; }
[dir="rtl"] .cvpro-firmmatch__bar-score { text-align: left; }

/* Spotlight side image flip */
[dir="rtl"] .cvpro-single-header--side-left .cvpro-single-header__image { order: 1; }
[dir="rtl"] .cvpro-single-header--side-right .cvpro-single-header__image { order: -1; }

/* Footer */
[dir="rtl"] .cvpro-footer__bottom { direction: rtl; }
[dir="rtl"] .cvpro-footer__col-links { text-align: right; }

/* Before/After icons */
[dir="rtl"] .cvpro-before-after__item svg { margin-left: 0; margin-right: 0; }

/* Gallery quote */
[dir="rtl"] .cvpro-gallery__quote { border-left: none; border-right: 3px solid var(--cvpro-primary); padding-left: 0; padding-right: 1rem; }

/* Stories quote */
[dir="rtl"] .cvpro-stories__quote { border-left: none; border-right: 3px solid var(--cvpro-primary); padding-left: 0; padding-right: 1.25rem; }

/* ========================================================================== */
/* CV Upload Section — Step Indicator, Demo Card, Social Proof (moved from inline) */
/* ========================================================================== */
/* -- Step Progress Indicator ------------------------------------------------ */
.cvpro-upload-section__steps-indicator {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    margin-bottom: 2.5rem;
    margin-top: 0.5rem;
}

.cvpro-upload-section__steps-indicator .cvpro-upload-section__step-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.cvpro-upload-section__steps-indicator .cvpro-upload-section__step-num {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--cvpro-border, #e5e7eb);
    color: var(--cvpro-text-secondary, #6b7280);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8125rem;
    font-weight: 700;
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.cvpro-upload-section__steps-indicator .cvpro-upload-section__step-item.is-active .cvpro-upload-section__step-num {
    background: var(--cvpro-primary, #1A56DB);
    color: #fff;
    box-shadow: 0 0 0 4px rgba(26, 86, 219, 0.15);
}

.cvpro-upload-section__steps-indicator .cvpro-upload-section__step-item.is-completed .cvpro-upload-section__step-num {
    background: #10b981;
    color: #fff;
}

.cvpro-upload-section__steps-indicator .cvpro-upload-section__step-label {
    font-size: 0.8125rem;
    font-weight: 500;
    color: var(--cvpro-text-secondary, #6b7280);
    transition: color 0.3s ease;
}

.cvpro-upload-section__steps-indicator .cvpro-upload-section__step-item.is-active .cvpro-upload-section__step-label {
    color: var(--cvpro-text-primary, #111827);
    font-weight: 600;
}

.cvpro-upload-section__steps-indicator .cvpro-upload-section__step-item.is-completed .cvpro-upload-section__step-label {
    color: #10b981;
}

.cvpro-upload-section__step-connector {
    display: block;
    width: 48px;
    height: 2px;
    border-top: 2px dashed var(--cvpro-border, #e5e7eb);
    margin: 0 0.75rem;
    flex-shrink: 0;
    transition: border-color 0.3s ease;
}

.cvpro-upload-section__step-connector.is-completed {
    border-top-style: solid;
    border-color: #10b981;
}

/* -- Interactive Demo Card -------------------------------------------------- */
.cvpro-demo-section__card {
    max-width: 640px;
    margin: 0 auto 2.5rem;
    background: var(--cvpro-bg-primary, #fff);
    border: 1px solid var(--cvpro-border, #e5e7eb);
    border-radius: var(--cvpro-radius-xl, 1rem);
    padding: 2.5rem 2rem;
    text-align: center;
    box-shadow: 0 8px 32px rgba(0,0,0,0.06);
}

.cvpro-demo-section__header {
    margin-bottom: 2rem;
}

.cvpro-demo-section__header svg {
    margin-bottom: 0.75rem;
}

.cvpro-demo-section__title {
    font-family: var(--cvpro-font-heading);
    font-size: 1.375rem;
    font-weight: 700;
    margin: 0 0 0.5rem;
    color: var(--cvpro-text-primary, #111827);
}

.cvpro-demo-section__subtitle {
    font-size: 0.9375rem;
    color: var(--cvpro-text-secondary, #6b7280);
    margin: 0;
}

/* Sample portfolio thumbnails */
.cvpro-demo-section__samples {
    display: flex;
    justify-content: center;
    gap: 1.25rem;
    margin-bottom: 1.5rem;
}

.cvpro-demo-section__sample {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    background: none;
    border: 2px solid var(--cvpro-border, #e5e7eb);
    border-radius: var(--cvpro-radius-lg, 0.75rem);
    padding: 0.75rem;
    cursor: pointer;
    transition: all 0.2s ease;
}

.cvpro-demo-section__sample:hover {
    border-color: var(--cvpro-primary, #1A56DB);
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(0,0,0,0.08);
}

.cvpro-demo-section__sample-thumb {
    width: 80px;
    height: 100px;
    border-radius: var(--cvpro-radius-md, 0.5rem);
    display: flex;
    align-items: center;
    justify-content: center;
}

.cvpro-demo-section__sample-label {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--cvpro-text-primary, #111827);
}

/* Upload your own link */
.cvpro-demo-section__upload-link {
    margin-top: 0.5rem;
}

.cvpro-demo-section__own-link {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--cvpro-primary, #1A56DB);
    text-decoration: none;
    transition: opacity 0.2s;
}

.cvpro-demo-section__own-link:hover {
    opacity: 0.8;
    text-decoration: underline;
}

/* -- Social Proof Bar ------------------------------------------------------- */
.cvpro-upload-section__social-proof {
    text-align: center;
    margin-top: 2.5rem;
    padding-top: 2rem;
    border-top: 1px solid var(--cvpro-border, #e5e7eb);
}

.cvpro-upload-section__avatars {
    display: flex;
    justify-content: center;
    margin-bottom: 0.75rem;
}

.cvpro-upload-section__avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    color: #fff;
    font-size: 0.6875rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid var(--cvpro-bg-primary, #fff);
    margin-left: -8px;
    position: relative;
}

.cvpro-upload-section__avatar:first-child {
    margin-left: 0;
}

.cvpro-upload-section__social-text {
    font-size: 0.9375rem;
    color: var(--cvpro-text-secondary, #6b7280);
    margin-bottom: 0.5rem;
}

.cvpro-upload-section__social-text strong {
    color: var(--cvpro-text-primary, #111827);
}

.cvpro-upload-section__activity {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    font-size: 0.8125rem;
    color: var(--cvpro-text-secondary, #6b7280);
}

.cvpro-upload-section__activity-dot {
    display: inline-block;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #10b981;
    flex-shrink: 0;
    animation: cvpro-pulse-dot 2s ease-in-out infinite;
}

@keyframes cvpro-pulse-dot {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.4; }
}

/* -- Responsive ------------------------------------------------------------- */
@media (max-width: 640px) {
    .cvpro-upload-section__steps-indicator {
        gap: 0;
    }

    .cvpro-upload-section__step-connector {
        width: 24px;
        margin: 0 0.35rem;
    }

    .cvpro-upload-section__steps-indicator .cvpro-upload-section__step-label {
        font-size: 0.6875rem;
    }

    .cvpro-upload-section__steps-indicator .cvpro-upload-section__step-num {
        width: 26px;
        height: 26px;
        font-size: 0.6875rem;
    }

    .cvpro-demo-section__samples {
        flex-direction: column;
        align-items: center;
        gap: 0.75rem;
    }

    .cvpro-demo-section__sample {
        flex-direction: row;
        width: 100%;
        max-width: 280px;
    }

    .cvpro-demo-section__sample-thumb {
        width: 48px;
        height: 60px;
    }
}

/* ── Moved from sample-review.php ──*/
/* ── Review Modal Overlay ──────────────────────────────────────────────── */
.cvpro-review-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.6);
    z-index: var(--cvpro-z-modal, 400);
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding: 2rem 1rem;
    overflow-y: auto;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}
.cvpro-review-overlay[aria-hidden="false"] {
    opacity: 1;
    visibility: visible;
}

/* ── Modal Container ───────────────────────────────────────────────────── */
.cvpro-review-modal {
    background: var(--cvpro-bg-primary, #fff);
    border-radius: var(--cvpro-radius-xl, 16px);
    max-width: 720px;
    width: 100%;
    position: relative;
    box-shadow: 0 25px 60px rgba(0,0,0,0.2);
    transform: translateY(20px);
    transition: transform 0.3s ease;
}
.cvpro-review-overlay[aria-hidden="false"] .cvpro-review-modal {
    transform: translateY(0);
}

/* ── Close Button ──────────────────────────────────────────────────────── */
.cvpro-review-modal__close {
    position: sticky;
    top: 1rem;
    float: right;
    margin: 1rem 1rem 0 0;
    z-index: 10;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--cvpro-bg-secondary, #f3f4f6);
    border: none;
    border-radius: var(--cvpro-radius-full, 9999px);
    cursor: pointer;
    color: var(--cvpro-text-secondary);
    transition: background 0.15s, color 0.15s;
}
.cvpro-review-modal__close:hover {
    background: var(--cvpro-border);
    color: var(--cvpro-text-primary);
}

/* ── Review Content ────────────────────────────────────────────────────── */
.cvpro-review {
    padding: 0.5rem 2.5rem 2.5rem;
}

/* Header */
.cvpro-review__header {
    clear: both;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding-top: 0.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid var(--cvpro-border, #e5e7eb);
    margin-bottom: 2rem;
}
.cvpro-review__type {
    display: inline-flex;
    align-items: center;
    align-self: center;
    margin: 0 auto 0.85rem;
    padding: 0.35rem 0.85rem;
    border-radius: var(--cvpro-radius-full, 9999px);
    background: rgba(var(--cvpro-primary-rgb), 0.1);
    color: var(--cvpro-primary);
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    line-height: 1.2;
    white-space: nowrap;
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
}
.cvpro-review__title {
    font-family: var(--cvpro-font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--cvpro-text-primary);
    margin: 0 0 0.75rem;
    text-align: center;
}
.cvpro-review__badge {
    display: inline-flex;
    align-items: center;
    align-self: center;
    gap: 0.35rem;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--cvpro-primary);
    background: rgba(var(--cvpro-primary-rgb), 0.08);
    padding: 0.3rem 0.75rem;
    border-radius: var(--cvpro-radius-full);
    margin: 0 auto;
}

/* Score Ring */
.cvpro-review__score-section {
    display: flex;
    align-items: center;
    gap: 2rem;
    padding: 1.5rem;
    background: var(--cvpro-bg-secondary, #f9fafb);
    border-radius: var(--cvpro-radius-lg, 12px);
    margin-bottom: 2rem;
}
.cvpro-review__score-ring {
    position: relative;
    width: 120px;
    height: 120px;
    flex-shrink: 0;
}
.cvpro-review__ring-svg { width: 100%; height: 100%; }
.cvpro-review__score-value {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}
.cvpro-review__score-number {
    font-family: var(--cvpro-font-heading);
    font-size: 2rem;
    font-weight: 800;
    line-height: 1;
    color: var(--cvpro-text-primary);
}
.cvpro-review__score-max {
    font-size: 0.8125rem;
    color: var(--cvpro-text-secondary);
}
.cvpro-review__grade {
    display: inline-block;
    font-family: var(--cvpro-font-heading);
    font-size: 1.125rem;
    font-weight: 800;
    color: var(--cvpro-primary);
    background: rgba(var(--cvpro-primary-rgb), 0.1);
    padding: 0.2rem 0.6rem;
    border-radius: 6px;
    margin-bottom: 0.5rem;
    margin-right: 0.5rem;
}
.cvpro-review__tier {
    display: inline-block;
    font-family: var(--cvpro-font-heading);
    font-size: 0.8125rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--cvpro-text-secondary);
    background: var(--cvpro-bg-secondary, #f9fafb);
    border: 1px solid var(--cvpro-border, #e5e7eb);
    padding: 0.2rem 0.6rem;
    border-radius: 6px;
    margin-bottom: 0.5rem;
}
.cvpro-review__summary {
    font-size: 0.9375rem;
    line-height: 1.6;
    color: var(--cvpro-text-secondary);
    margin: 0;
}

/* Sections */
.cvpro-review__section {
    margin-bottom: 2rem;
}
.cvpro-review__section-title {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-family: var(--cvpro-font-heading);
    font-size: 1.0625rem;
    font-weight: 700;
    color: var(--cvpro-text-primary);
    margin: 0 0 1rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid var(--cvpro-border);
}
.cvpro-review__section-count {
    font-size: 0.8rem;
    color: var(--cvpro-text-secondary);
    font-weight: 500;
    margin-left: auto;
    letter-spacing: 0.01em;
}
.cvpro-review__section-title--red {
    color: #dc2626;
}

/* Header meta-line under title */
.cvpro-review__meta-line {
    margin: 0.6rem 0 0;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--cvpro-text-secondary);
}
.cvpro-review__meta-line span[aria-hidden] {
    color: var(--cvpro-border);
}

/* Time-to-Target Banner */
.cvpro-review__time-target {
    display: flex;
    align-items: flex-start;
    gap: 0.85rem;
    background: linear-gradient(135deg, rgba(var(--cvpro-primary-rgb), 0.06), rgba(var(--cvpro-primary-rgb), 0.02));
    border: 1px solid rgba(var(--cvpro-primary-rgb), 0.18);
    border-radius: var(--cvpro-radius-lg, 12px);
    padding: 1rem 1.15rem;
    margin: 0 0 1.75rem;
}
.cvpro-review__time-target-icon {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(var(--cvpro-primary-rgb), 0.12);
    color: var(--cvpro-primary);
}
.cvpro-review__time-target-label {
    display: block;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.07em;
    color: var(--cvpro-primary);
    margin-bottom: 0.2rem;
}
.cvpro-review__time-target-text {
    margin: 0;
    font-size: 0.92rem;
    line-height: 1.5;
    color: var(--cvpro-text-primary);
    font-weight: 500;
}

/* Quick Wins */
.cvpro-review__quick-wins {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 0.5rem;
}
.cvpro-review__quick-win {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.7rem 0.9rem;
    background: rgba(16, 185, 129, 0.05);
    border: 1px solid rgba(16, 185, 129, 0.2);
    border-radius: 10px;
    font-size: 0.9rem;
    line-height: 1.4;
}
.cvpro-review__quick-win-time {
    flex-shrink: 0;
    min-width: 38px;
    text-align: center;
    padding: 0.2rem 0.45rem;
    background: rgba(16, 185, 129, 0.15);
    color: #047857;
    border-radius: 999px;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.02em;
}
.cvpro-review__quick-win-task {
    color: var(--cvpro-text-primary);
}

/* Risk Flags */
.cvpro-review__risks {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 0.6rem;
}
.cvpro-review__risk {
    display: flex;
    align-items: flex-start;
    gap: 0.65rem;
    padding: 0.85rem 1rem;
    background: rgba(239, 68, 68, 0.05);
    border: 1px solid rgba(239, 68, 68, 0.2);
    border-left: 3px solid #ef4444;
    border-radius: 10px;
    font-size: 0.9rem;
    line-height: 1.5;
    color: var(--cvpro-text-primary);
}
.cvpro-review__risk svg {
    flex-shrink: 0;
    margin-top: 2px;
}

/* Firm / Program Match */
.cvpro-review__firms {
    display: grid;
    gap: 0.85rem;
}
.cvpro-review__firm {
    padding: 0.85rem 1rem;
    background: var(--cvpro-bg-secondary, #f9fafb);
    border-radius: 10px;
    border: 1px solid var(--cvpro-border);
}
.cvpro-review__firm--top {
    background: linear-gradient(135deg, rgba(var(--cvpro-primary-rgb), 0.08), rgba(var(--cvpro-primary-rgb), 0.02));
    border-color: rgba(var(--cvpro-primary-rgb), 0.3);
    box-shadow: 0 1px 3px rgba(var(--cvpro-primary-rgb), 0.05);
}
.cvpro-review__firm-row {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 0.75rem;
    margin-bottom: 0.5rem;
}
.cvpro-review__firm-name {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--cvpro-text-primary);
}
.cvpro-review__firm-fit {
    font-size: 0.78rem;
    font-weight: 700;
    color: var(--cvpro-primary);
    flex-shrink: 0;
    letter-spacing: 0.02em;
}
.cvpro-review__firm-bar {
    height: 6px;
    background: rgba(0, 0, 0, 0.05);
    border-radius: 999px;
    overflow: hidden;
    margin-bottom: 0.5rem;
}
.cvpro-review__firm-bar-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--cvpro-primary), var(--cvpro-secondary, var(--cvpro-primary)));
    border-radius: 999px;
    transition: width 0.6s ease;
}
.cvpro-review__firm-note {
    margin: 0;
    font-size: 0.82rem;
    line-height: 1.45;
    color: var(--cvpro-text-secondary);
}

/* Category Bars */
.cvpro-review__cat { margin-bottom: 0.75rem; }
.cvpro-review__cat-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.35rem;
}
.cvpro-review__cat-name { font-size: 0.875rem; color: var(--cvpro-text-primary); font-weight: 500; }
.cvpro-review__cat-score { font-size: 0.875rem; font-weight: 700; }
.cvpro-review__cat-bar {
    height: 8px;
    background: #e5e7eb;
    border-radius: 999px;
    overflow: hidden;
}
.cvpro-review__cat-fill {
    height: 100%;
    border-radius: 999px;
    transition: width 0.8s ease-out;
}

/* Strengths */
.cvpro-review__strengths {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}
.cvpro-review__strengths li {
    display: flex;
    align-items: flex-start;
    gap: 0.6rem;
    font-size: 0.9375rem;
    line-height: 1.5;
    color: var(--cvpro-text-primary);
}
.cvpro-review__strengths li svg { flex-shrink: 0; margin-top: 3px; }

/* Improvements */
.cvpro-review__improvements {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}
.cvpro-review__imp {
    padding: 1rem 1.25rem;
    border-radius: var(--cvpro-radius-md, 8px);
    border-left: 4px solid;
}
.cvpro-review__imp--high { background: #fef3c7; border-color: #f59e0b; }
.cvpro-review__imp--medium { background: #fff7ed; border-color: #fb923c; }
.cvpro-review__imp--low { background: #f0fdf4; border-color: #86efac; }
.cvpro-review__imp-header { display: flex; align-items: center; gap: 0.5rem; margin-bottom: 0.5rem; }
.cvpro-review__imp-priority {
    font-size: 0.6875rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 0.15rem 0.5rem;
    border-radius: 4px;
    flex-shrink: 0;
}
.cvpro-review__imp--high .cvpro-review__imp-priority { background: #fbbf24; color: #78350f; }
.cvpro-review__imp--medium .cvpro-review__imp-priority { background: #fdba74; color: #7c2d12; }
.cvpro-review__imp--low .cvpro-review__imp-priority { background: #86efac; color: #14532d; }
.cvpro-review__imp-title {
    font-size: 0.9375rem;
    font-weight: 700;
    color: var(--cvpro-text-primary);
    margin: 0;
}
.cvpro-review__imp-desc {
    font-size: 0.875rem;
    line-height: 1.6;
    color: var(--cvpro-text-secondary);
    margin: 0;
}

/* Page Analysis */
.cvpro-review__pages {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}
.cvpro-review__page {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1rem;
    border-radius: var(--cvpro-radius-md, 8px);
    background: var(--cvpro-bg-secondary, #f9fafb);
}
.cvpro-review__page-status {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.cvpro-review__page-status--excellent { background: #d1fae5; color: #059669; }
.cvpro-review__page-status--strong { background: #dbeafe; color: #2563eb; }
.cvpro-review__page-status--needs-work { background: #fef3c7; color: #d97706; }
.cvpro-review__page-info { flex: 1; min-width: 0; }
.cvpro-review__page-name {
    display: block;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--cvpro-text-primary);
}
.cvpro-review__page-note {
    display: block;
    font-size: 0.8125rem;
    color: var(--cvpro-text-secondary);
}

/* CTA */
.cvpro-review__cta {
    text-align: center;
    padding: 2rem 1.5rem;
    background: linear-gradient(135deg, rgba(var(--cvpro-primary-rgb), 0.05), rgba(var(--cvpro-primary-rgb), 0.1));
    border-radius: var(--cvpro-radius-lg, 12px);
    margin-top: 0.5rem;
}
.cvpro-review__cta-text {
    font-size: 1.0625rem;
    font-weight: 600;
    color: var(--cvpro-text-primary);
    margin: 0 0 1rem;
}
.cvpro-review__cta-btn {
    /* Wider primary CTA inside the sample-review modal — needs explicit
       horizontal padding so the label never sits flush against the button
       edges, regardless of how cvpro-btn's defaults change later. */
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.95rem 2rem;
    min-width: 280px;
    max-width: 100%;
    box-sizing: border-box;
    width: auto;
    margin: 0 auto;
}
@media (max-width: 480px) {
    .cvpro-review__cta-btn {
        width: 100%;
        min-width: 0;
        padding: 0.85rem 1.25rem;
    }
}

/* ── Responsive ────────────────────────────────────────────────────────── */
@media (max-width: 640px) {
    .cvpro-review-overlay { padding: 0; align-items: flex-end; }
    .cvpro-review-modal {
        border-radius: var(--cvpro-radius-xl) var(--cvpro-radius-xl) 0 0;
        max-height: 95vh;
        max-height: 95dvh;
        overflow-y: auto;
    }
    .cvpro-review { padding: 1.5rem 1.25rem 1.5rem; }
    .cvpro-review__score-section { flex-direction: column; text-align: center; gap: 1rem; }
    .cvpro-review__title { font-size: 1.25rem; }
    .cvpro-review__imp { padding: 0.75rem 1rem; }
}

/* ── Moved from template-changelog.php ──*/
                .cvpro-changelog__timeline {
                    position: relative;
                    max-width: 800px;
                    margin: 0 auto;
                    padding-left: 3rem;
                }
                .cvpro-changelog__timeline::before {
                    content: '';
                    position: absolute;
                    left: 7px;
                    top: 0;
                    bottom: 0;
                    width: 2px;
                    background: var(--cvpro-border, #E5E7EB);
                }
                .cvpro-changelog__entry {
                    position: relative;
                    margin-bottom: 3rem;
                }
                .cvpro-changelog__entry:last-child {
                    margin-bottom: 0;
                }
                .cvpro-changelog__dot {
                    position: absolute;
                    left: -3rem;
                    top: 0.25rem;
                    width: 16px;
                    height: 16px;
                    border-radius: var(--cvpro-radius-full, 9999px);
                    background: var(--cvpro-primary, #1A56DB);
                    border: 3px solid #fff;
                    box-shadow: 0 0 0 2px var(--cvpro-primary, #1A56DB);
                    z-index: 2;
                }
                .cvpro-changelog__header {
                    display: flex;
                    align-items: center;
                    gap: 1rem;
                    margin-bottom: 1rem;
                    flex-wrap: wrap;
                }
                .cvpro-changelog__version {
                    display: inline-flex;
                    align-items: center;
                    gap: 0.375rem;
                    background: var(--cvpro-primary, #1A56DB);
                    color: #fff;
                    padding: 0.375rem 0.875rem;
                    border-radius: var(--cvpro-radius-full, 9999px);
                    font-size: 0.875rem;
                    font-weight: 700;
                }
                .cvpro-changelog__version svg {
                    width: 16px;
                    height: 16px;
                }
                .cvpro-changelog__date {
                    font-size: 0.875rem;
                    color: var(--cvpro-text-secondary, #6B7280);
                }
                .cvpro-changelog__card {
                    background: #fff;
                    border-radius: var(--cvpro-radius-lg, 12px);
                    border: 1px solid var(--cvpro-border, #E5E7EB);
                    box-shadow: var(--cvpro-shadow-sm, 0 1px 2px 0 rgba(0,0,0,0.05));
                    padding: 1.5rem;
                    transition: all var(--cvpro-transition-normal, 250ms ease);
                }
                .cvpro-changelog__card:hover {
                    box-shadow: var(--cvpro-shadow-md, 0 4px 6px -1px rgba(0,0,0,0.1));
                }
                .cvpro-changelog__items {
                    list-style: none;
                    padding: 0;
                    margin: 0;
                }
                .cvpro-changelog__item {
                    display: flex;
                    align-items: flex-start;
                    gap: 0.75rem;
                    padding: 0.5rem 0;
                    font-size: 0.9375rem;
                    color: var(--cvpro-text-secondary, #6B7280);
                    line-height: 1.5;
                }
                .cvpro-changelog__item + .cvpro-changelog__item {
                    border-top: 1px solid var(--cvpro-border, #E5E7EB);
                }
                .cvpro-changelog__tag {
                    display: inline-flex;
                    align-items: center;
                    padding: 0.125rem 0.625rem;
                    border-radius: var(--cvpro-radius-full, 9999px);
                    font-size: 0.6875rem;
                    font-weight: 700;
                    text-transform: uppercase;
                    letter-spacing: 0.05em;
                    flex-shrink: 0;
                    min-width: 72px;
                    justify-content: center;
                }
                .cvpro-changelog__tag--new {
                    background: #D1FAE5;
                    color: #065F46;
                }
                .cvpro-changelog__tag--improved {
                    background: #DBEAFE;
                    color: #1E40AF;
                }
                .cvpro-changelog__tag--fixed {
                    background: #FFF7ED;
                    color: #9A3412;
                }
                @media (max-width: 640px) {
                    .cvpro-changelog__timeline {
                        padding-left: 2rem;
                    }
                    .cvpro-changelog__dot {
                        left: -2rem;
                    }
                    .cvpro-changelog__card {
                        padding: 1.25rem;
                    }
                }

/* ── Removed: legacy single-column .cvpro-stories rules.
   The Success Stories page now uses the Examples-grid pattern entirely;
   styles live in template-success-stories.php as inline <style>. The
   previous .cvpro-stories rule (display:flex; max-width:800px; margin:0 auto)
   was forcing the grid into a centered narrow column, which is exactly the
   "cards are squeezed in the middle" symptom the user reported. */

/* ── Moved from template-how-it-works.php ──*/
                .cvpro-howitworks__timeline {
                    position: relative;
                    max-width: 800px;
                    margin: 0 auto;
                    padding: 2rem 0;
                }
                .cvpro-howitworks__timeline::before {
                    content: '';
                    position: absolute;
                    left: 40px;
                    top: 0;
                    bottom: 0;
                    width: 3px;
                    background: linear-gradient(180deg, var(--cvpro-primary, #1A56DB), var(--cvpro-secondary, #0E9F6E));
                    border-radius: 2px;
                }
                .cvpro-howitworks__step {
                    display: flex;
                    align-items: flex-start;
                    gap: 2rem;
                    margin-bottom: 3rem;
                    position: relative;
                }
                .cvpro-howitworks__step:last-child {
                    margin-bottom: 0;
                }
                .cvpro-howitworks__number {
                    flex-shrink: 0;
                    width: 80px;
                    height: 80px;
                    border-radius: var(--cvpro-radius-full, 9999px);
                    background: linear-gradient(135deg, var(--cvpro-primary, #1A56DB), var(--cvpro-primary-dark, #1E429F));
                    color: #fff;
                    display: flex;
                    align-items: center;
                    justify-content: center;
                    font-size: 1.75rem;
                    font-weight: 800;
                    position: relative;
                    z-index: 2;
                    box-shadow: 0 4px 15px rgba(26, 86, 219, 0.3);
                }
                .cvpro-howitworks__card {
                    flex: 1;
                    background: #fff;
                    border-radius: var(--cvpro-radius-lg, 12px);
                    padding: 2rem;
                    box-shadow: var(--cvpro-shadow-md, 0 4px 6px -1px rgba(0,0,0,0.1));
                    border: 1px solid var(--cvpro-border, #E5E7EB);
                    transition: all var(--cvpro-transition-normal, 250ms ease);
                }
                .cvpro-howitworks__card:hover {
                    transform: translateY(-4px);
                    box-shadow: var(--cvpro-shadow-xl, 0 20px 25px -5px rgba(0,0,0,0.1));
                    border-color: var(--cvpro-primary, #1A56DB);
                }
                .cvpro-howitworks__card-header {
                    display: flex;
                    align-items: center;
                    gap: 1rem;
                    margin-bottom: 0.75rem;
                }
                .cvpro-howitworks__icon {
                    width: 48px;
                    height: 48px;
                    border-radius: var(--cvpro-radius-md, 8px);
                    background: var(--cvpro-bg-secondary, #F9FAFB);
                    display: flex;
                    align-items: center;
                    justify-content: center;
                    flex-shrink: 0;
                    color: var(--cvpro-primary, #1A56DB);
                }
                .cvpro-howitworks__icon svg {
                    width: 24px;
                    height: 24px;
                }
                .cvpro-howitworks__card h3 {
                    font-size: 1.25rem;
                    margin: 0;
                }
                .cvpro-howitworks__card p {
                    color: var(--cvpro-text-secondary, #6B7280);
                    line-height: 1.7;
                    margin: 0;
                }
                @media (max-width: 640px) {
                    .cvpro-howitworks__timeline::before {
                        left: 28px;
                    }
                    .cvpro-howitworks__number {
                        width: 56px;
                        height: 56px;
                        font-size: 1.25rem;
                    }
                    .cvpro-howitworks__step {
                        gap: 1.25rem;
                    }
                    .cvpro-howitworks__card {
                        padding: 1.25rem;
                    }
                }

/* ── Moved from template-contact.php ──*/
.cvpro-contact-layout {
	display: grid;
	grid-template-columns: 1.2fr 0.8fr;
	gap: 3rem;
	align-items: start;
}
.cvpro-contact-form__title {
	font-family: var(--cvpro-font-heading);
	font-size: 1.375rem;
	font-weight: 700;
	margin-bottom: 1.5rem;
}
.cvpro-contact-form__shortcode {
	background: var(--cvpro-bg-primary, #fff);
}
/* Style CF7 / WPForms inputs to match theme */
.cvpro-contact-form__shortcode input[type="text"],
.cvpro-contact-form__shortcode input[type="email"],
.cvpro-contact-form__shortcode input[type="tel"],
.cvpro-contact-form__shortcode input[type="url"],
.cvpro-contact-form__shortcode textarea,
.cvpro-contact-form__shortcode select {
	width: 100%;
	padding: 0.75rem 1rem;
	border: 1px solid var(--cvpro-border, #e5e7eb);
	border-radius: 0.5rem;
	font-family: var(--cvpro-font-body);
	font-size: 0.9375rem;
	transition: border-color 0.2s, box-shadow 0.2s;
	margin-bottom: 1rem;
}
.cvpro-contact-form__shortcode input:focus,
.cvpro-contact-form__shortcode textarea:focus {
	outline: none;
	border-color: var(--cvpro-primary);
	box-shadow: 0 0 0 3px rgba(var(--cvpro-primary-rgb), 0.1);
}
.cvpro-contact-form__shortcode textarea {
	min-height: 150px;
	resize: vertical;
}
.cvpro-contact-form__shortcode input[type="submit"],
.cvpro-contact-form__shortcode .wpcf7-submit {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	padding: 0.75rem 2rem;
	background: var(--cvpro-primary);
	color: #fff;
	border: none;
	border-radius: 0.5rem;
	font-weight: 600;
	font-size: 1rem;
	cursor: pointer;
	transition: opacity 0.2s, transform 0.2s;
}
.cvpro-contact-form__shortcode input[type="submit"]:hover {
	opacity: 0.9;
	transform: translateY(-1px);
}
.cvpro-contact-form__shortcode label {
	display: block;
	font-weight: 500;
	font-size: 0.875rem;
	margin-bottom: 0.35rem;
	color: var(--cvpro-text-primary);
}
/* Placeholder when no shortcode */
.cvpro-contact-form__placeholder {
	text-align: center;
	padding: 3rem 2rem;
	border: 2px dashed var(--cvpro-border, #e5e7eb);
	border-radius: 1rem;
	background: var(--cvpro-bg-secondary, #f8f9fa);
}
.cvpro-contact-form__placeholder-icon {
	color: var(--cvpro-text-secondary);
	margin-bottom: 1rem;
}
.cvpro-contact-form__placeholder h3 {
	font-family: var(--cvpro-font-heading);
	font-size: 1.125rem;
	font-weight: 600;
	margin-bottom: 0.5rem;
}
.cvpro-contact-form__placeholder p {
	color: var(--cvpro-text-secondary);
	font-size: 0.875rem;
	line-height: 1.6;
}
.cvpro-contact-form__placeholder code {
	background: var(--cvpro-bg-primary);
	padding: 0.2rem 0.5rem;
	border-radius: 0.25rem;
	font-size: 0.8125rem;
}
/* Contact info cards */
.cvpro-contact-info {
	display: flex;
	flex-direction: column;
	gap: 1rem;
}
.cvpro-contact-info__card {
	display: flex;
	align-items: flex-start;
	gap: 1rem;
	padding: 1.25rem;
	border: 1px solid var(--cvpro-border, #e5e7eb);
	border-radius: 0.75rem;
	background: var(--cvpro-bg-primary, #fff);
	transition: box-shadow 0.2s;
}
.cvpro-contact-info__card:hover {
	box-shadow: 0 4px 12px rgba(0,0,0,0.06);
}
.cvpro-contact-info__icon {
	width: 44px;
	height: 44px;
	border-radius: 0.625rem;
	background: rgba(var(--cvpro-primary-rgb), 0.08);
	color: var(--cvpro-primary);
	display: flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
}
.cvpro-contact-info__content h4 {
	font-size: 0.875rem;
	font-weight: 600;
	margin-bottom: 0.2rem;
}
.cvpro-contact-info__content a {
	color: var(--cvpro-primary);
	text-decoration: none;
	font-size: 0.9375rem;
}
.cvpro-contact-info__content a:hover {
	text-decoration: underline;
}
.cvpro-contact-info__content p {
	color: var(--cvpro-text-secondary);
	font-size: 0.9375rem;
	margin: 0;
}
.cvpro-contact-info__response {
	display: flex;
	align-items: center;
	gap: 0.5rem;
	padding: 0.75rem 1rem;
	border-radius: 999px;
	background: rgba(16,185,129,0.08);
	color: #10b981;
	font-size: 0.8125rem;
	font-weight: 500;
	margin-top: 0.5rem;
}
@media (max-width: 768px) {
	.cvpro-contact-layout {
		grid-template-columns: 1fr;
	}
}

/* ── Moved from template-faq.php ──*/
.cvpro-faq-page__search {
	max-width: 560px;
	margin: 0 auto 2.5rem;
}
.cvpro-faq-page__search-wrap {
	position: relative;
}
.cvpro-faq-page__search-icon {
	position: absolute;
	left: 1rem;
	top: 50%;
	transform: translateY(-50%);
	color: var(--cvpro-text-secondary, #6B7280);
	pointer-events: none;
}
.cvpro-faq-page__search-input {
	width: 100%;
	padding: 0.875rem 1rem 0.875rem 2.75rem;
	border: 1px solid var(--cvpro-border, #E5E7EB);
	border-radius: var(--cvpro-radius-lg, 12px);
	font-size: 1rem;
	font-family: var(--cvpro-font-body);
	background: var(--cvpro-bg-primary, #fff);
	transition: border-color 0.2s, box-shadow 0.2s;
}
.cvpro-faq-page__search-input:focus {
	outline: none;
	border-color: var(--cvpro-primary);
	box-shadow: 0 0 0 3px rgba(var(--cvpro-primary-rgb), 0.1);
}
.cvpro-faq__list {
	max-width: 760px;
	margin: 0 auto;
}
.cvpro-faq-page__empty {
	display: none;
	text-align: center;
	padding: 3rem 1rem;
	color: var(--cvpro-text-secondary, #6B7280);
	font-size: 1rem;
}
.cvpro-faq-page__cta {
	margin-top: 4rem;
}
.cvpro-faq-page__cta-inner {
	text-align: center;
	background: var(--cvpro-bg-secondary, #F9FAFB);
	border: 1px solid var(--cvpro-border, #E5E7EB);
	border-radius: var(--cvpro-radius-lg, 12px);
	padding: 3rem 2rem;
}
.cvpro-faq-page__cta-title {
	font-family: var(--cvpro-font-heading);
	font-size: 1.5rem;
	font-weight: 700;
	margin-bottom: 0.75rem;
}
.cvpro-faq-page__cta-text {
	color: var(--cvpro-text-secondary, #6B7280);
	font-size: 1rem;
	margin-bottom: 1.5rem;
	max-width: 480px;
	margin-inline: auto;
	line-height: 1.6;
}

/* ── Moved from template-free-tools.php ──*/
.cvpro-freetools__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.cvpro-freetools__card { padding: 2rem; border-radius: var(--cvpro-radius-xl, 16px); border: 1px solid var(--cvpro-border); background: var(--cvpro-bg-primary); display: flex; flex-direction: column; transition: transform 0.3s, box-shadow 0.3s; }
.cvpro-freetools__card:hover { transform: translateY(-4px); box-shadow: 0 12px 32px rgba(0,0,0,0.08); }
.cvpro-freetools__card-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 1.25rem; }
.cvpro-freetools__icon { width: 52px; height: 52px; border-radius: var(--cvpro-radius-lg, 12px); display: flex; align-items: center; justify-content: center; }
.cvpro-freetools__badge { font-size: 0.6875rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em; padding: 0.25rem 0.6rem; border-radius: 999px; }
.cvpro-freetools__title { font-family: var(--cvpro-font-heading); font-size: 1.125rem; font-weight: 700; margin: 0 0 0.5rem; }
.cvpro-freetools__desc { font-size: 0.9375rem; line-height: 1.6; color: var(--cvpro-text-secondary); margin: 0 0 1.25rem; flex: 1; }
.cvpro-freetools__cta { display: inline-flex; align-items: center; gap: 0.4rem; font-size: 0.9375rem; font-weight: 600; color: var(--cvpro-primary); text-decoration: none; transition: gap 0.2s; }
.cvpro-freetools__cta:hover { gap: 0.7rem; }
@media (max-width: 768px) { .cvpro-freetools__grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .cvpro-freetools__grid { grid-template-columns: 1fr; } }

/* ── Moved from template-examples.php ──*/
                .cvpro-examples__grid {
                    display: grid;
                    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
                    gap: 2rem;
                }
                .cvpro-examples__card {
                    background: #fff;
                    border-radius: var(--cvpro-radius-lg, 12px);
                    border: 1px solid var(--cvpro-border, #E5E7EB);
                    box-shadow: var(--cvpro-shadow-md, 0 4px 6px -1px rgba(0,0,0,0.1));
                    overflow: hidden;
                    transition: all var(--cvpro-transition-normal, 250ms ease);
                }
                .cvpro-examples__card:hover {
                    transform: translateY(-4px);
                    box-shadow: var(--cvpro-shadow-xl, 0 20px 25px -5px rgba(0,0,0,0.1));
                }
                .cvpro-examples__card-top {
                    padding: 1.5rem 2rem;
                    background: var(--cvpro-bg-secondary, #F9FAFB);
                    border-bottom: 1px solid var(--cvpro-border, #E5E7EB);
                }
                .cvpro-examples__industry {
                    display: inline-flex;
                    align-items: center;
                    gap: 0.5rem;
                    background: var(--cvpro-primary, #1A56DB);
                    color: #fff;
                    padding: 0.375rem 0.875rem;
                    border-radius: var(--cvpro-radius-full, 9999px);
                    font-size: 0.8125rem;
                    font-weight: 600;
                    margin-bottom: 1.25rem;
                }
                .cvpro-examples__industry svg {
                    width: 16px;
                    height: 16px;
                }
                .cvpro-examples__scores {
                    display: flex;
                    align-items: center;
                    gap: 1rem;
                }
                .cvpro-examples__score {
                    display: flex;
                    flex-direction: column;
                    align-items: center;
                    gap: 0.25rem;
                }
                .cvpro-examples__score-value {
                    font-size: 2.25rem;
                    font-weight: 800;
                    line-height: 1;
                }
                .cvpro-examples__score-value--before {
                    color: var(--cvpro-error, #E02424);
                }
                .cvpro-examples__score-value--after {
                    color: var(--cvpro-success, #0E9F6E);
                }
                .cvpro-examples__score-label {
                    font-size: 0.75rem;
                    font-weight: 600;
                    text-transform: uppercase;
                    letter-spacing: 0.05em;
                    color: var(--cvpro-text-secondary, #6B7280);
                }
                .cvpro-examples__arrow {
                    color: var(--cvpro-text-secondary, #6B7280);
                    flex-shrink: 0;
                }
                .cvpro-examples__arrow svg {
                    width: 24px;
                    height: 24px;
                }
                .cvpro-examples__card-body {
                    padding: 1.5rem 2rem 2rem;
                }
                .cvpro-examples__summary {
                    color: var(--cvpro-text-secondary, #6B7280);
                    line-height: 1.7;
                    margin-bottom: 1.25rem;
                    font-size: 0.9375rem;
                }
                .cvpro-examples__changes-title {
                    font-size: 0.8125rem;
                    font-weight: 700;
                    text-transform: uppercase;
                    letter-spacing: 0.05em;
                    color: var(--cvpro-text-primary, #111928);
                    margin-bottom: 0.75rem;
                }
                .cvpro-examples__changes {
                    list-style: none;
                    padding: 0;
                    margin: 0;
                }
                .cvpro-examples__changes li {
                    display: flex;
                    align-items: flex-start;
                    gap: 0.5rem;
                    font-size: 0.875rem;
                    color: var(--cvpro-text-secondary, #6B7280);
                    padding: 0.375rem 0;
                    line-height: 1.5;
                }
                .cvpro-examples__changes li svg {
                    width: 18px;
                    height: 18px;
                    flex-shrink: 0;
                    color: var(--cvpro-success, #0E9F6E);
                    margin-top: 1px;
                }
                @media (max-width: 767px) {
                    .cvpro-examples__grid {
                        grid-template-columns: 1fr;
                    }
                }

/* ── Moved from template-landing.php ──*/
        .cvpro-landing-page {
            min-height: 100vh;
            display: flex;
            flex-direction: column;
        }
        .cvpro-landing-content {
            flex: 1;
        }
        .cvpro-landing-content > *:first-child {
            margin-top: 0;
        }
        .cvpro-landing-footer {
            padding: 1.5rem;
            text-align: center;
            font-size: 0.8125rem;
            color: var(--cvpro-text-secondary, #6B7280);
            border-top: 1px solid var(--cvpro-border, #E5E7EB);
        }
        .cvpro-landing-footer a {
            color: var(--cvpro-text-secondary, #6B7280);
            text-decoration: none;
            margin: 0 0.5rem;
        }
        .cvpro-landing-footer a:hover {
            color: var(--cvpro-primary, #1A56DB);
        }

/* ── Moved from template-help.php ──*/
                .cvpro-help__categories {
                    display: grid;
                    grid-template-columns: repeat(3, 1fr);
                    gap: 1.5rem;
                }
                .cvpro-help__card {
                    background: #fff;
                    border-radius: var(--cvpro-radius-lg, 12px);
                    border: 1px solid var(--cvpro-border, #E5E7EB);
                    box-shadow: var(--cvpro-shadow-sm, 0 1px 2px 0 rgba(0,0,0,0.05));
                    padding: 2rem;
                    transition: all var(--cvpro-transition-normal, 250ms ease);
                    display: flex;
                    flex-direction: column;
                    height: 100%;
                }
                .cvpro-help__card:hover {
                    transform: translateY(-4px);
                    box-shadow: var(--cvpro-shadow-xl, 0 20px 25px -5px rgba(0,0,0,0.1));
                    border-color: transparent;
                }
                .cvpro-help__card-icon {
                    width: 56px;
                    height: 56px;
                    border-radius: var(--cvpro-radius-md, 8px);
                    display: flex;
                    align-items: center;
                    justify-content: center;
                    margin-bottom: 1.25rem;
                    flex-shrink: 0;
                }
                .cvpro-help__card-icon svg {
                    width: 28px;
                    height: 28px;
                }
                .cvpro-help__card h3 {
                    font-size: 1.125rem;
                    margin-bottom: 0.5rem;
                }
                .cvpro-help__card p {
                    color: var(--cvpro-text-secondary, #6B7280);
                    font-size: 0.9375rem;
                    line-height: 1.7;
                    margin-bottom: 1.25rem;
                    flex: 1;
                }
                .cvpro-help__card-link {
                    display: inline-flex;
                    align-items: center;
                    gap: 0.375rem;
                    font-size: 0.9375rem;
                    font-weight: 600;
                    color: var(--cvpro-primary, #1A56DB);
                    transition: gap var(--cvpro-transition-fast, 150ms ease);
                }
                .cvpro-help__card-link svg {
                    width: 18px;
                    height: 18px;
                    transition: transform var(--cvpro-transition-fast, 150ms ease);
                }
                .cvpro-help__card:hover .cvpro-help__card-link svg {
                    transform: translateX(4px);
                }
                @media (max-width: 1024px) {
                    .cvpro-help__categories {
                        grid-template-columns: repeat(2, 1fr);
                    }
                }
                @media (max-width: 640px) {
                    .cvpro-help__categories {
                        grid-template-columns: 1fr;
                    }
                }
                .cvpro-help__contact {
                    background: #fff;
                    border-radius: var(--cvpro-radius-xl, 16px);
                    border: 1px solid var(--cvpro-border, #E5E7EB);
                    box-shadow: var(--cvpro-shadow-md, 0 4px 6px -1px rgba(0,0,0,0.1));
                    padding: 3rem;
                    text-align: center;
                    max-width: 700px;
                    margin: 0 auto;
                }
                .cvpro-help__contact-icon {
                    width: 64px;
                    height: 64px;
                    border-radius: var(--cvpro-radius-full, 9999px);
                    background: linear-gradient(135deg, var(--cvpro-primary, #1A56DB), var(--cvpro-primary-dark, #1E429F));
                    display: flex;
                    align-items: center;
                    justify-content: center;
                    margin: 0 auto 1.5rem;
                    color: #fff;
                }
                .cvpro-help__contact-icon svg {
                    width: 32px;
                    height: 32px;
                }
                .cvpro-help__contact h2 {
                    font-size: 1.5rem;
                    margin-bottom: 0.75rem;
                }
                .cvpro-help__contact p {
                    color: var(--cvpro-text-secondary, #6B7280);
                    font-size: 1rem;
                    line-height: 1.7;
                    margin-bottom: 1.5rem;
                    max-width: 500px;
                    margin-left: auto;
                    margin-right: auto;
                }
                .cvpro-help__contact-actions {
                    display: flex;
                    gap: 1rem;
                    justify-content: center;
                    flex-wrap: wrap;
                }

/* ==========================================================================
   Side CTA — compact CTA card pinned flush against the RIGHT-CENTER edge
   of the viewport (desktop). Small footprint so it doesn't dominate.
   ========================================================================== */
.cvpro-side-cta {
	position: fixed;
	top: 50%;
	right: 0;
	transform: translateY(-50%);
	z-index: 240;
	width: 195px;
	padding: 0.95rem 0.85rem 0.85rem;
	background: #fff;
	border: 1px solid var(--cvpro-border, #e5e7eb);
	border-right: none;
	/* Rounded only on the left edge — flush against viewport right side */
	border-radius: 0.75rem 0 0 0.75rem;
	box-shadow: -8px 16px 32px rgba(20, 25, 50, 0.10), -2px 4px 10px rgba(20, 25, 50, 0.05);
	text-align: center;
	/* Show/hide tied to .is-visible — JS decides based on scroll position. */
	opacity: 0;
	pointer-events: none;
	transform: translateY(-50%) translateX(20px);
	transition: opacity 0.3s ease, transform 0.3s ease;
}
.cvpro-side-cta.is-visible {
	opacity: 1;
	pointer-events: auto;
	transform: translateY(-50%) translateX(0);
}
.cvpro-side-cta.is-dismissed { display: none !important; }

.cvpro-side-cta__close {
	position: absolute;
	top: 0.35rem;
	left: 0.35rem;
	width: 20px;
	height: 20px;
	border-radius: 50%;
	border: none;
	background: var(--cvpro-bg-secondary, #f1f3f6);
	color: var(--cvpro-text-secondary);
	display: inline-flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	padding: 0;
	transition: background var(--cvpro-transition-fast), color var(--cvpro-transition-fast);
}
.cvpro-side-cta__close svg { width: 10px; height: 10px; }
.cvpro-side-cta__close:hover {
	background: var(--cvpro-text-primary);
	color: #fff;
}

.cvpro-side-cta__headline {
	font-family: var(--cvpro-font-heading);
	font-size: 0.875rem;
	font-weight: 700;
	line-height: 1.3;
	letter-spacing: -0.01em;
	color: var(--cvpro-text-primary);
	margin: 0.15rem 0 0.25rem;
}
.cvpro-side-cta__sub {
	font-size: 0.72rem;
	line-height: 1.4;
	color: var(--cvpro-text-secondary);
	margin: 0 0 0.7rem;
}
.cvpro-side-cta__sub strong {
	color: var(--cvpro-text-primary);
	font-weight: 700;
}
.cvpro-side-cta__btn {
	display: block;
	width: 100%;
	padding: 0.55rem 0.85rem;
	background: var(--cvpro-primary);
	color: #fff;
	font-family: var(--cvpro-font-heading);
	font-weight: 700;
	font-size: 0.8rem;
	text-decoration: none;
	border-radius: 0.5rem;
	border: none;
	cursor: pointer;
	transition: background var(--cvpro-transition-fast), transform var(--cvpro-transition-fast), box-shadow var(--cvpro-transition-fast);
	box-shadow: 0 6px 14px rgba(var(--cvpro-primary-rgb), 0.25);
}
.cvpro-side-cta__btn:hover {
	background: var(--cvpro-primary-dark, var(--cvpro-primary));
	color: #fff;
	transform: translateY(-1px);
	box-shadow: 0 10px 20px rgba(var(--cvpro-primary-rgb), 0.32);
}

/* Mobile: hide — the bottom mobile CTA bar already covers this surface. */
@media (max-width: 768px) {
	.cvpro-side-cta {
		display: none;
	}
}
body.admin-bar .cvpro-side-cta {
	top: calc(50% + 16px);
}

/* ==========================================================================
   Cookie Consent Banner — 4 compact position variants
   Tighter padding, smaller icon, smaller text. The center variant stays a
   bit bigger because it's a modal, but still trimmed.
   ========================================================================== */
.cvpro-cookie {
  --cvpro-cookie-radius: 12px;
  position: fixed;
  z-index: var(--cvpro-z-toast, 500);
  font-size: 0.825rem;
  color: var(--cvpro-text-primary);
  pointer-events: none; /* let backdrop / panel claim pointer events */
  animation: cvpro-cookie-in 0.4s cubic-bezier(.2,.9,.32,1.28) both;
}
.cvpro-cookie[hidden] { display: none !important; }
.cvpro-cookie__panel {
  background: #fff;
  border: 1px solid var(--cvpro-border, #e5e7eb);
  border-radius: var(--cvpro-cookie-radius);
  box-shadow: 0 16px 40px rgba(0,0,0,0.12), 0 2px 6px rgba(0,0,0,0.04);
  padding: 0.85rem 1rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  pointer-events: auto;
}
.cvpro-cookie__icon {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(var(--cvpro-primary-rgb), 0.1);
  color: var(--cvpro-primary);
}
.cvpro-cookie__icon svg {
  width: 16px;
  height: 16px;
}
.cvpro-cookie__text {
  flex: 1;
  min-width: 0;
}
.cvpro-cookie__title {
  font-size: 0.85rem;
  font-weight: 700;
  margin: 0 0 0.1rem;
  color: var(--cvpro-text-primary);
  line-height: 1.25;
}
.cvpro-cookie__message {
  font-size: 0.75rem;
  line-height: 1.45;
  color: var(--cvpro-text-secondary);
  margin: 0;
}
.cvpro-cookie__learn {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  color: var(--cvpro-primary);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.72rem;
  margin-top: 0.35rem;
  padding-top: 0.3rem;
  border-top: 1px dashed transparent;
}
.cvpro-cookie__learn:hover {
  text-decoration: underline;
  color: var(--cvpro-primary-dark, var(--cvpro-primary));
}
.cvpro-cookie__learn svg { flex-shrink: 0; }
.cvpro-cookie__actions {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  flex-shrink: 0;
}
.cvpro-cookie__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 0.45rem;
  border: 1px solid transparent;
  cursor: pointer;
  font: inherit;
  font-weight: 600;
  font-size: 0.78rem;
  padding: 0.45rem 0.85rem;
  white-space: nowrap;
  transition: background var(--cvpro-transition-fast), color var(--cvpro-transition-fast), border-color var(--cvpro-transition-fast);
}
.cvpro-cookie__btn--accept {
  background: var(--cvpro-primary);
  color: #fff;
}
.cvpro-cookie__btn--accept:hover {
  background: var(--cvpro-primary-dark, var(--cvpro-primary));
}
.cvpro-cookie__btn--reject {
  background: transparent;
  border-color: var(--cvpro-border, #e5e7eb);
  color: var(--cvpro-text-primary);
}
.cvpro-cookie__btn--reject:hover {
  border-color: var(--cvpro-text-primary);
}
.cvpro-cookie__btn--close {
  background: transparent;
  border: none;
  color: var(--cvpro-text-secondary);
  width: 24px;
  height: 24px;
  padding: 0;
  border-radius: 50%;
}
.cvpro-cookie__btn--close svg { width: 12px; height: 12px; }
.cvpro-cookie__btn--close:hover {
  background: var(--cvpro-bg-secondary, #f9fafb);
  color: var(--cvpro-text-primary);
}

/* ── Position: full-width bottom bar (default) ── */
.cvpro-cookie--bottom-bar {
  left: 0;
  right: 0;
  bottom: 0;
}
.cvpro-cookie--bottom-bar .cvpro-cookie__panel {
  border-radius: var(--cvpro-cookie-radius) var(--cvpro-cookie-radius) 0 0;
  border-bottom: none;
  max-width: 1100px;
  margin: 0 auto;
}

/* ── Position: floating bottom-right card ── */
.cvpro-cookie--bottom-right {
  right: 1rem;
  bottom: 1rem;
  max-width: 320px;
  width: calc(100% - 2rem);
}
.cvpro-cookie--bottom-right .cvpro-cookie__panel {
  flex-direction: column;
  align-items: flex-start;
  gap: 0.6rem;
  padding: 0.85rem 0.95rem;
}
.cvpro-cookie--bottom-right .cvpro-cookie__actions {
  width: 100%;
  justify-content: flex-end;
}

/* ── Position: floating bottom-left card ── */
.cvpro-cookie--bottom-left {
  left: 1rem;
  bottom: 1rem;
  max-width: 320px;
  width: calc(100% - 2rem);
}
.cvpro-cookie--bottom-left .cvpro-cookie__panel {
  flex-direction: column;
  align-items: flex-start;
  gap: 0.6rem;
  padding: 0.85rem 0.95rem;
}
.cvpro-cookie--bottom-left .cvpro-cookie__actions {
  width: 100%;
  justify-content: flex-end;
}

/* ── Position: centered popup with backdrop ── */
.cvpro-cookie--center {
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}
.cvpro-cookie--center .cvpro-cookie__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.55);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  pointer-events: auto;
}
.cvpro-cookie--center .cvpro-cookie__panel {
  position: relative;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0.75rem;
  max-width: 380px;
  width: calc(100% - 2rem);
  padding: 1.5rem 1.4rem 1.25rem;
}
.cvpro-cookie--center .cvpro-cookie__icon {
  width: 40px;
  height: 40px;
}
.cvpro-cookie--center .cvpro-cookie__icon svg {
  width: 20px;
  height: 20px;
}
.cvpro-cookie--center .cvpro-cookie__title {
  font-size: 0.95rem;
  margin-bottom: 0.15rem;
}
.cvpro-cookie--center .cvpro-cookie__actions {
  width: 100%;
  justify-content: center;
  flex-wrap: wrap;
}

@keyframes cvpro-cookie-in {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: none; }
}
.cvpro-cookie--center { animation: cvpro-cookie-fade 0.3s ease both; }
@keyframes cvpro-cookie-fade { from { opacity: 0; } to { opacity: 1; } }

/* Responsive — collapse all variants on small screens */
@media (max-width: 600px) {
  .cvpro-cookie__panel {
    flex-direction: column !important;
    align-items: stretch !important;
    text-align: left;
    padding: 1rem 1rem 1.1rem;
  }
  .cvpro-cookie--bottom-bar,
  .cvpro-cookie--bottom-right,
  .cvpro-cookie--bottom-left {
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    max-width: none;
  }
  .cvpro-cookie--bottom-bar .cvpro-cookie__panel,
  .cvpro-cookie--bottom-right .cvpro-cookie__panel,
  .cvpro-cookie--bottom-left .cvpro-cookie__panel {
    border-radius: var(--cvpro-cookie-radius) var(--cvpro-cookie-radius) 0 0;
  }
  .cvpro-cookie__icon { display: none; }
  .cvpro-cookie__actions {
    width: 100%;
    justify-content: stretch;
  }
  .cvpro-cookie__btn--accept,
  .cvpro-cookie__btn--reject {
    flex: 1;
  }
  .cvpro-cookie__btn--close {
    position: absolute;
    top: 0.4rem;
    right: 0.4rem;
  }
}

/* ==========================================================================
   Comprehensive mobile cleanup — center single-button CTAs, contain images,
   align inline icons, and tighten section spacing on small screens.
   ========================================================================== */
@media (max-width: 768px) {
  /* 1. CTA buttons that sit alone (hero secondary, firm-match, audience,
        spotlight, side-by-side mode) become full-width centered pills
        instead of left-aligned. */
  .cvpro-firmmatch__content > .cvpro-btn,
  .cvpro-firmmatch__content > a.cvpro-btn,
  .cvpro-spotlight__content > .cvpro-btn,
  .cvpro-spotlight__content > a.cvpro-btn,
  .cvpro-audience__panel-content > .cvpro-btn,
  .cvpro-audience__panel-content > a.cvpro-btn,
  .cvpro-section__cta > .cvpro-btn,
  .cvpro-section__cta > a.cvpro-btn {
    /* block-level so margin:auto can center it; flex layout still applies
       to the inner icon + label via flex display rules below */
    display: flex !important;
    width: fit-content;
    max-width: 100%;
    margin-left: auto !important;
    margin-right: auto !important;
  }
  /* "Try Firm Match" / "See your portfolio score" + similar parents */
  .cvpro-firmmatch__content,
  .cvpro-spotlight__content,
  .cvpro-audience__panel-content {
    text-align: center;
  }
  .cvpro-firmmatch__features,
  .cvpro-spotlight__list,
  .cvpro-spotlight__bullets,
  .cvpro-audience__panel-features {
    align-items: flex-start;
    margin-inline: auto;
    max-width: 360px;
  }

  /* 2. Spotlight images / placeholders never overflow — clamp to 100% width */
  .cvpro-spotlight__visual,
  .cvpro-spotlight__image-placeholder {
    max-width: 100%;
    width: 100%;
  }
  .cvpro-spotlight__visual img,
  .cvpro-spotlight__image-placeholder img,
  .cvpro-spotlight__visual svg,
  .cvpro-spotlight__image-placeholder svg {
    max-width: 100%;
    height: auto;
  }
  /* Same defensive clamp for any free-floating image inside a section */
  .cvpro-section img {
    max-width: 100%;
    height: auto;
  }

  /* 3. Privacy line under upload — keep lock icon vertically centered when
        the text wraps to two lines */
  .cvpro-upload-section__privacy {
    align-items: flex-start;
    text-align: left;
    flex-wrap: nowrap;
  }
  .cvpro-upload-section__privacy svg {
    flex-shrink: 0;
    margin-top: 2px;
  }

  /* 4. Generic section spacing — kill excessive vertical air on phones */
  .cvpro-section {
    padding-top: 2.5rem;
    padding-bottom: 2.5rem;
  }
  .cvpro-section__header {
    margin-bottom: 1.5rem;
  }
}

/* ==========================================================================
   GLOBAL MOBILE ALIGNMENT + DENSITY PASS
   Goal: every section reads as a clean column on phones — equal left/right
   gutters, no element is unexpectedly indented, no oversized vertical gaps.
   ========================================================================== */
@media (max-width: 768px) {
  /* Uniform container padding so every section has the same edge gutter. */
  .cvpro-container {
    padding-left: 1.25rem;
    padding-right: 1.25rem;
  }

  /* No horizontal overflow anywhere — last-resort safety net. */
  body, html { overflow-x: hidden; }

  /* Section titles are centered already; force the same on subtitles + the
     descriptive paragraph that often sits next to them. */
  .cvpro-section__header,
  .cvpro-section__header h2,
  .cvpro-section__header p,
  .cvpro-section__title,
  .cvpro-section__subtitle {
    text-align: center;
  }

  /* Tight, consistent vertical rhythm — phone screens hate huge gaps. */
  .cvpro-section + .cvpro-section { margin-top: 0; }
  .cvpro-section { padding: 2.5rem 0; }
  .cvpro-section__header { margin-bottom: 1.5rem !important; }

  /* Every grid that becomes a single column on mobile gets a smaller gap. */
  .cvpro-features-grid,
  .cvpro-capabilities__grid,
  .cvpro-toolkit__grid,
  .cvpro-spotlight__row,
  .cvpro-pricing__grid,
  .cvpro-testimonials-grid,
  .cvpro-gallery__grid,
  .cvpro-blog-grid,
  .cvpro-firmmatch__layout,
  .cvpro-audience__panel-grid {
    gap: 1.25rem !important;
  }

  /* Single-column lists / bullets get less breathing room between items. */
  .cvpro-spotlight__list li,
  .cvpro-spotlight__bullet,
  .cvpro-firmmatch__features li,
  .cvpro-audience__panel-features li {
    margin-bottom: 0;
  }

  /* All headlines tighten line-height + bottom margin */
  h1, h2, h3, h4, h5 {
    line-height: 1.18;
  }
  h2 { margin-bottom: 0.75rem; }
  h3 { margin-bottom: 0.5rem; }

  /* Body paragraphs in section content keep one consistent line-height */
  .cvpro-section p,
  .cvpro-spotlight__description,
  .cvpro-firmmatch__text,
  .cvpro-audience__panel-desc {
    line-height: 1.6;
    margin-bottom: 1rem;
  }

  /* Card-style sections — uniform internal padding so no card has extra
     left/right padding compared to its siblings. */
  .cvpro-feature-card,
  .cvpro-capabilities__card,
  .cvpro-toolkit__card,
  .cvpro-pricing__card,
  .cvpro-testimonial-card {
    padding: 1.5rem 1.25rem;
  }

  /* Any solo CTA inside a card or content block centers itself. */
  .cvpro-section .cvpro-btn--lg,
  .cvpro-section a.cvpro-btn--primary,
  .cvpro-section a.cvpro-btn--outline {
    /* Don't force these — buttons inside flex/grid rows might already be
       handled. We only center "lone" CTAs through their parent rules. */
  }

  /* Headline font sizes: clamp() already handles this, but ensure no
     leftover oversized hardcoded values from older sections. */
  .cvpro-section__title {
    font-size: clamp(1.5rem, 6vw, 2rem);
  }
  .cvpro-section__subtitle {
    font-size: 0.95rem;
  }
}

/* ==========================================================================
   MOBILE — Section-by-section spacing audit (≤768px).
   Tightens internal padding, gap and vertical margins where each component
   was visibly too airy on phones. Anything not listed here keeps its
   desktop sizing.
   ========================================================================== */
@media (max-width: 768px) {

  /* ---- Hero ---- */
  .cvpro-hero {
    padding-top: calc(var(--header-height, 80px) + 0.5rem);
    padding-bottom: 2rem;
    min-height: auto;
  }
  .cvpro-hero__headline { font-size: clamp(1.75rem, 8vw, 2.25rem); margin-bottom: 0.85rem; }
  .cvpro-hero__subheadline { font-size: 0.95rem; line-height: 1.55; margin-bottom: 1.25rem; }
  .cvpro-hero__actions { gap: 0.5rem; margin-bottom: 1.25rem; }
  .cvpro-hero__trust { gap: 0.65rem 1rem; }
  .cvpro-hero__trust-item { font-size: 0.78rem; }
  .cvpro-hero__grid { gap: 1.5rem !important; }

  /* ---- Stats counter ---- */
  .cvpro-stats__item { padding: 1.4rem 1.2rem; }
  .cvpro-stats__number { font-size: 1.85rem; }
  .cvpro-stats__label { font-size: 0.8rem; }
  .cvpro-stats__icon { width: 38px; height: 38px; }

  /* ---- Features grid (cards) ---- */
  .cvpro-feature-card {
    padding: 1.25rem 1.1rem;
  }
  .cvpro-feature-card__icon { width: 44px; height: 44px; margin-bottom: 0.85rem; }
  .cvpro-feature-card__title { font-size: 1rem; margin-bottom: 0.4rem; }
  .cvpro-feature-card__description { font-size: 0.85rem; line-height: 1.55; }

  /* ---- Capabilities ---- */
  .cvpro-capabilities__card { padding: 1.25rem 1.1rem; }
  .cvpro-capabilities__icon { width: 40px; height: 40px; margin-bottom: 0.75rem; }
  .cvpro-capabilities__title { font-size: 0.95rem; margin-bottom: 0.35rem; }
  .cvpro-capabilities__desc  { font-size: 0.85rem; line-height: 1.5; }

  /* ---- Career toolkit ---- */
  .cvpro-toolkit__card { padding: 1.25rem 1.1rem; }
  .cvpro-toolkit__icon { width: 44px; height: 44px; margin-bottom: 0.85rem; }
  .cvpro-toolkit__title { font-size: 1rem; margin-bottom: 0.35rem; }
  .cvpro-toolkit__desc  { font-size: 0.85rem; line-height: 1.55; }

  /* ---- Spotlight (AI Portfolio Review / Smart Layout / Firm Match rows) ---- */
  .cvpro-spotlight__row { margin-bottom: 2.5rem; }
  .cvpro-spotlight__content { gap: 0.85rem; }
  .cvpro-spotlight__title { font-size: 1.4rem; line-height: 1.25; }
  .cvpro-spotlight__description { font-size: 0.9rem; line-height: 1.55; }
  .cvpro-spotlight__bullets { gap: 0.45rem; }
  .cvpro-spotlight__bullet { font-size: 0.875rem; }
  .cvpro-spotlight__list { gap: 0.45rem; }
  .cvpro-spotlight__list li { font-size: 0.875rem; line-height: 1.5; }

  /* ---- Audience tabs ---- */
  .cvpro-audience__tabs { gap: 0.4rem; margin-bottom: 1.5rem; }
  .cvpro-audience__tab  { padding: 0.6rem 1.25rem; font-size: 0.875rem; }
  .cvpro-audience__panel-grid { gap: 1.5rem !important; }
  .cvpro-audience__panel-headline { font-size: 1.4rem; margin-bottom: 0.5rem; }
  .cvpro-audience__panel-desc { font-size: 0.9rem; line-height: 1.55; margin-bottom: 1rem; }
  .cvpro-audience__panel-features { gap: 0.45rem; margin-bottom: 1.25rem; }
  .cvpro-audience__panel-features li { font-size: 0.875rem; line-height: 1.45; }
  .cvpro-audience__panel-stat { padding: 1.5rem 1.1rem; }
  .cvpro-audience__stat-num { font-size: 2.25rem; margin-bottom: 0.4rem; }
  .cvpro-audience__stat-txt { font-size: 0.875rem; }

  /* ---- Firm match ---- */
  .cvpro-firmmatch__layout { gap: 1.5rem !important; }
  .cvpro-firmmatch__headline { font-size: 1.4rem; margin-bottom: 0.65rem; }
  .cvpro-firmmatch__text     { font-size: 0.9rem; line-height: 1.55; margin-bottom: 1rem; }
  .cvpro-firmmatch__features { gap: 0.45rem; margin-bottom: 1.25rem; }
  .cvpro-firmmatch__features li { font-size: 0.875rem; line-height: 1.45; }
  .cvpro-firmmatch__card     { padding: 1.1rem 1rem; }

  /* ---- Speed comparison (slim bars already set; tighten labels) ---- */
  .cvpro-speed__chart { gap: 0.5rem; }
  .cvpro-speed__highlight { font-size: 0.95rem; margin-bottom: 1rem; }
  .cvpro-speed__footer { margin-top: 2rem; padding-top: 1.5rem; }

  /* ---- Pricing ---- */
  .cvpro-pricing__card { padding: 1.5rem 1.25rem; }
  .cvpro-pricing__name { font-size: 1.05rem; margin-bottom: 0.4rem; }
  .cvpro-pricing__price-row { margin-bottom: 0.75rem; }
  .cvpro-pricing__features { gap: 0.5rem; margin-bottom: 1.25rem; }
  .cvpro-pricing__features li { font-size: 0.875rem; line-height: 1.45; }

  /* ---- Testimonials ---- */
  .cvpro-testimonial-card { padding: 1.25rem 1.1rem; }
  .cvpro-testimonial-card p { font-size: 0.9rem; line-height: 1.55; }

  /* ---- Gallery (Real Results) ---- */
  .cvpro-gallery__card { padding: 1.1rem 1rem; }
  .cvpro-gallery__quote { padding: 0.85rem; margin-top: 0.85rem; }
  .cvpro-gallery__quote-text { font-size: 0.85rem; line-height: 1.5; }

  /* ---- Before / After ---- */
  .cvpro-before-after__side { padding: 1.25rem 1rem; }
  .cvpro-before-after__side--clickable { padding-bottom: 4.5rem; }
  .cvpro-before-after__side-cta { left: 1rem; right: 1rem; bottom: 1rem; padding: 0.55rem 0.85rem; font-size: 0.78rem; }
  .cvpro-before-after__list { gap: 0.4rem; }
  .cvpro-before-after__item { font-size: 0.85rem; line-height: 1.45; padding: 0.35rem 0; }
  .cvpro-before-after__tabs { gap: 0.35rem; margin-bottom: 1.25rem; }
  .cvpro-before-after__tab  { padding: 0.55rem 0.85rem; font-size: 0.8rem; }

  /* ---- Comparison table ---- */
  .cvpro-comparison__table { font-size: 0.82rem; }
  .cvpro-comparison__table th, .cvpro-comparison__table td { padding: 0.55rem 0.6rem; }

  /* ---- FAQ ---- */
  .cvpro-faq__list,
  .cvpro-faq-list { margin: 0 auto; }
  .cvpro-faq__question,
  .cvpro-faq-question { padding: 0.85rem 0; font-size: 0.95rem; }
  .cvpro-faq__answer-content,
  .cvpro-faq-answer p { font-size: 0.875rem; line-height: 1.55; }

  /* ---- Tool integrations grid (already 3-col on mobile) ---- */
  .cvpro-integrations { padding: 2rem 0; }

  /* ---- Final CTA ---- */
  .cvpro-final-cta { padding: 2.5rem 0; }
  .cvpro-final-cta .cvpro-section__title { font-size: 1.4rem; margin-bottom: 0.65rem; }
  .cvpro-final-cta p { font-size: 0.9rem; line-height: 1.55; margin-bottom: 1.25rem; }

  /* ---- CV Upload section ---- */
  .cvpro-upload-section { padding: 2.5rem 0; }
  .cvpro-upload-section__dropzone { padding: 2rem 1.25rem; }
  .cvpro-upload-section__social-proof { padding: 0.85rem; gap: 0.75rem; }
  .cvpro-upload-section__avatar { width: 26px; height: 26px; font-size: 0.65rem; }
  .cvpro-upload-section__social-text { font-size: 0.78rem; }
  .cvpro-upload-section__activity   { font-size: 0.72rem; }

  /* ---- Trustpilot — already tightened in its own block ---- */

  /* ---- Footer ---- */
  .cvpro-footer { padding: 2rem 0 1.25rem; }
  .cvpro-footer-cols { gap: 1.5rem; }
  .cvpro-footer-col h4 { font-size: 0.85rem; margin-bottom: 0.65rem; }
  .cvpro-footer-col li { margin-bottom: 0.35rem; font-size: 0.85rem; }
  .cvpro-footer-bottom { padding-top: 1.25rem; margin-top: 1.5rem; font-size: 0.78rem; }

  /* ---- Single post ---- */
  .cvpro-single { padding: 1.5rem 0 2.5rem; }
  .cvpro-single-title { font-size: clamp(1.4rem, 7vw, 1.85rem); margin-bottom: 0.75rem; }
  .cvpro-single-meta { font-size: 0.78rem; gap: 0.6rem; margin-bottom: 1.25rem; }
  .cvpro-single-meta__avatar { width: 24px; height: 24px; }
  .cvpro-single-excerpt { font-size: 0.95rem; line-height: 1.55; margin-bottom: 1.25rem; }
  .cvpro-single-featured { margin-bottom: 1.5rem; }
  .cvpro-single-body { font-size: 0.95rem; line-height: 1.65; }
  .cvpro-single-body h2 { font-size: 1.25rem; margin-top: 1.75rem; margin-bottom: 0.65rem; }
  .cvpro-single-body h3 { font-size: 1.1rem; margin-top: 1.25rem; margin-bottom: 0.5rem; }
  .cvpro-single-body p,
  .cvpro-single-body ul,
  .cvpro-single-body ol { margin-bottom: 1rem; }

  /* ---- TOC ---- */
  .cvpro-toc { padding: 1rem 1.1rem; margin-bottom: 1.5rem; }
  .cvpro-toc-header { padding-bottom: 0.6rem; margin-bottom: 0.75rem; }
  .cvpro-toc-item a { font-size: 0.825rem; padding: 0.3rem 0.5rem 0.3rem 0.65rem; }

  /* ---- Author box ---- */
  .cvpro-author-box { margin: 2rem 0 1.5rem; padding: 1.75rem 1.1rem 1.1rem; }
  .cvpro-author-box__name { font-size: 1.05rem; }
  .cvpro-author-box__bio  { font-size: 0.875rem; line-height: 1.55; margin-bottom: 0.75rem; }

  /* ---- Related posts ---- */
  .cvpro-related-posts { margin-top: 2rem; }
  .cvpro-related-posts__heading { font-size: 1.05rem; margin-bottom: 0.85rem; }

  /* ---- Post nav ---- */
  .cvpro-post-nav { padding: 1rem 0; margin-top: 1.5rem; }
  .cvpro-post-nav__link { padding: 0.75rem 0.85rem; }
  .cvpro-post-nav__title { font-size: 0.875rem; }

  /* ---- Comments ---- */
  .cvpro-single-comments { margin-top: 2rem; }
  .cvpro-comments-title { font-size: 1.05rem; margin-bottom: 0.85rem; }

  /* ---- Archive (blog/category/tag/author) ---- */
  .cvpro-page-hero { padding: calc(var(--header-height, 80px) + 1.25rem) 0 1.5rem !important; }
  .cvpro-page-hero__title    { font-size: clamp(1.4rem, 7vw, 1.85rem); }
  .cvpro-page-hero__subtitle { font-size: 0.875rem; line-height: 1.55; }
  .cvpro-page-hero__desc     { font-size: 0.825rem; }
  .cvpro-page-hero__badge    { font-size: 0.72rem; padding: 0.3rem 0.7rem; margin-bottom: 0.65rem; }

  /* ---- Post card (archive grids) ---- */
  .cvpro-post-card__body  { padding: 1rem 1.1rem; }
  .cvpro-post-card__title { font-size: 1rem; margin-bottom: 0.35rem; }
  .cvpro-post-card__excerpt { font-size: 0.85rem; line-height: 1.5; margin-bottom: 0.65rem; }
  .cvpro-post-card__meta  { font-size: 0.72rem; gap: 0.4rem; }
  .cvpro-post-card__avatar { width: 22px; height: 22px; }
}

/* ==========================================================================
   Phone-narrow polish (≤480px) — ultra-tight tier for very small screens.
   ========================================================================== */
@media (max-width: 480px) {
  .cvpro-section { padding: 2rem 0; }
  .cvpro-section__header { margin-bottom: 1.25rem; }
  .cvpro-section__title { font-size: clamp(1.4rem, 7vw, 1.75rem); }
  .cvpro-section__subtitle { font-size: 0.85rem; }

  .cvpro-feature-card,
  .cvpro-capabilities__card,
  .cvpro-toolkit__card,
  .cvpro-pricing__card,
  .cvpro-testimonial-card,
  .cvpro-gallery__card { padding: 1.1rem 1rem; }

  .cvpro-spotlight__title,
  .cvpro-firmmatch__headline,
  .cvpro-audience__panel-headline { font-size: 1.25rem; }
}


/* ==========================================================================
   Blog Features — bookmark, back-to-top, infinite scroll, live search,
   lazy blur placeholder.
   ========================================================================== */

/* ── 1. BOOKMARK / SAVE BUTTON ────────────────────────────────────────── */
.cvpro-post-card { position: relative; }
.cvpro-post-card__bookmark {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  z-index: 3;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: none;
  background: rgba(255,255,255,0.95);
  color: var(--cvpro-text-primary);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 8px rgba(0,0,0,0.15);
  transition: transform 0.18s ease, background 0.18s ease, color 0.18s ease;
}
.cvpro-post-card__bookmark:hover {
  transform: scale(1.08);
  background: #fff;
}
.cvpro-post-card__bookmark.is-saved {
  background: var(--cvpro-primary);
  color: #fff;
}
.cvpro-post-card__bookmark.is-saved .cvpro-post-card__bookmark-icon {
  fill: currentColor;
  stroke: currentColor;
}
.cvpro-post-card__bookmark-icon {
  display: block;
  pointer-events: none;
}

/* Saved-articles page (shortcode [cvpro_saved]) */
.cvpro-saved-page__list {
  display: grid;
  gap: 0.85rem;
}
.cvpro-saved-page__item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 1.25rem;
  background: var(--cvpro-bg-primary);
  border: 1px solid var(--cvpro-border);
  border-radius: var(--cvpro-radius-lg, 12px);
}
.cvpro-saved-page__item h3 {
  margin: 0;
  font-size: 1rem;
  font-weight: 600;
  color: var(--cvpro-text-primary);
}
.cvpro-saved-page__item a { text-decoration: none; flex: 1; min-width: 0; }
.cvpro-saved-page__remove {
  background: none;
  border: 1px solid var(--cvpro-border);
  padding: 0.4rem 0.8rem;
  border-radius: 999px;
  font-size: 0.78rem;
  cursor: pointer;
  color: var(--cvpro-text-secondary);
  transition: all 0.15s ease;
}
.cvpro-saved-page__remove:hover {
  border-color: #ef4444;
  color: #ef4444;
}
.cvpro-saved-page__empty {
  text-align: center;
  color: var(--cvpro-text-secondary);
  padding: 2rem;
  background: var(--cvpro-bg-secondary);
  border-radius: var(--cvpro-radius-lg, 12px);
}

/* ── 2. BACK-TO-TOP FAB ───────────────────────────────────────────────── */
/* Sits above the floating "Analyze Now" CTA to avoid overlap on desktop and the
   mobile bottom-bar on small screens. */
.cvpro-back-to-top {
  position: fixed;
  bottom: 5.25rem;
  right: 1.25rem;
  z-index: 90;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: none;
  background: var(--cvpro-primary);
  color: #fff;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 24px rgba(var(--cvpro-primary-rgb), 0.35);
  opacity: 0;
  transform: translateY(12px);
  pointer-events: none;
  transition: opacity 0.25s ease, transform 0.25s ease, background 0.15s ease;
}
.cvpro-back-to-top.is-visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}
.cvpro-back-to-top:hover {
  background: var(--cvpro-primary-dark, var(--cvpro-primary));
  transform: translateY(-2px);
}
@media (max-width: 768px) {
  .cvpro-back-to-top {
    bottom: 5.5rem;
    right: 0.85rem;
    width: 40px;
    height: 40px;
  }
}
/* When the floating CTA has been dismissed, drop the FAB back to its natural spot. */
body.cvpro-mobile-cta-dismissed .cvpro-back-to-top {
  bottom: 1.25rem;
}
@media (max-width: 768px) {
  body.cvpro-mobile-cta-dismissed .cvpro-back-to-top {
    bottom: 0.85rem;
  }
}

/* ── 3. INFINITE SCROLL STATUS ────────────────────────────────────────── */
.cvpro-infinite-status {
  text-align: center;
  font-size: 0.85rem;
  color: var(--cvpro-text-secondary);
  margin: 1.5rem 0 0;
  min-height: 1.2em;
}
.cvpro-infinite-sentinel {
  height: 1px;
  width: 100%;
}
body.cvpro-has-infinite .nav-links,
body.cvpro-has-infinite .cvpro-pagination,
body.cvpro-has-infinite .navigation.pagination {
  display: none !important;
}

/* ── 4. LIVE SEARCH SUGGESTIONS DROPDOWN ──────────────────────────────── */
.cvpro-archive-controls__search { position: relative; }
.cvpro-search-suggest {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  right: 0;
  z-index: 50;
  background: var(--cvpro-bg-primary, #fff);
  border: 1px solid var(--cvpro-border);
  border-radius: var(--cvpro-radius-lg, 12px);
  box-shadow: 0 12px 32px rgba(0,0,0,0.12);
  max-height: 480px;
  overflow-y: auto;
  padding: 0.4rem;
}
.cvpro-search-suggest__item {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  padding: 0.55rem 0.6rem;
  border-radius: 8px;
  text-decoration: none;
  color: var(--cvpro-text-primary);
  transition: background 0.15s ease;
}
.cvpro-search-suggest__item:hover {
  background: var(--cvpro-bg-secondary, #f9fafb);
}
.cvpro-search-suggest__thumb {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border-radius: 6px;
  overflow: hidden;
  background: var(--cvpro-bg-secondary);
}
.cvpro-search-suggest__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.cvpro-search-suggest__thumb-ph {
  display: block;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(var(--cvpro-primary-rgb), 0.2), rgba(var(--cvpro-primary-rgb), 0.08));
}
.cvpro-search-suggest__text {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  min-width: 0;
}
.cvpro-search-suggest__title {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--cvpro-text-primary);
  line-height: 1.3;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.cvpro-search-suggest__meta {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.7rem;
  color: var(--cvpro-text-secondary);
}
.cvpro-search-suggest__cat {
  background: rgba(var(--cvpro-primary-rgb), 0.1);
  color: var(--cvpro-primary);
  padding: 0.1rem 0.4rem;
  border-radius: 999px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-size: 0.62rem;
}
.cvpro-search-suggest__empty {
  padding: 1rem;
  text-align: center;
  font-size: 0.85rem;
  color: var(--cvpro-text-secondary);
}

/* ── 5. LAZY BLUR PLACEHOLDER ─────────────────────────────────────────── */
body.cvpro-has-lazy-blur img[data-cvpro-lazy] {
  background: linear-gradient(135deg, rgba(var(--cvpro-primary-rgb), 0.12), rgba(var(--cvpro-primary-rgb), 0.04));
  filter: blur(8px);
  transform: scale(1.03);
  transition: filter 0.5s ease, transform 0.5s ease, opacity 0.4s ease;
  opacity: 0.85;
}
body.cvpro-has-lazy-blur img[data-cvpro-lazy].cvpro-lazy-loaded {
  filter: blur(0);
  transform: scale(1);
  opacity: 1;
}

/* ==========================================================================
   Blog Mobile Audit Fixes
   ========================================================================== */

/* 1. Blog grid collapse at tablet/mobile */
@media (max-width: 1024px) {
  .cvpro-blog-grid--3,
  .cvpro-blog-grid--4 {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 640px) {
  .cvpro-blog-grid--2,
  .cvpro-blog-grid--3,
  .cvpro-blog-grid--4 {
    grid-template-columns: 1fr;
  }
}

/* 2. Post card meta row — wrap properly on small screens */
@media (max-width: 640px) {
  .cvpro-post-card__meta {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.4rem;
  }
  .cvpro-blog-grid--3 .cvpro-post-card__details,
  .cvpro-blog-grid--4 .cvpro-post-card__details,
  .cvpro-related-posts .cvpro-post-card__details {
    flex-wrap: wrap;
    white-space: normal;
  }
}

/* 3. Single post sidebar — tighter gap when sidebar drops below main */
@media (max-width: 1024px) {
  .cvpro-single__layout--sidebar {
    gap: 1.5rem;
  }
}

/* 4. Single-meta — clean mobile byline.
      Items flow on one wrapping row with a separator dot between them.
      If the line is too narrow, items wrap naturally onto the next
      line. Inline share buttons are hidden on mobile for a cleaner
      reading-focused header. */
@media (max-width: 768px) {
  .cvpro-single-meta {
    display: flex;
    flex-direction: row !important;
    flex-wrap: wrap !important;
    align-items: center !important;
    justify-content: flex-start !important;
    gap: 0.5rem;
    font-size: 0.82rem;
  }
  .cvpro-single-meta__items {
    flex: 1 1 100%;
    min-width: 0;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    row-gap: 0.4rem;
    column-gap: 0.55rem;
  }
  .cvpro-single-meta__items > * {
    /* Reset any custom order/margin from earlier rules so items flow
       in their natural source order: author, date, read-time, updated. */
    order: initial !important;
    flex: 0 0 auto !important;
    margin-left: 0 !important;
  }
  .cvpro-single-meta__items .cvpro-single-meta__author {
    gap: 0.45rem;
  }
  .cvpro-single-meta__items .cvpro-single-meta__author-name {
    font-weight: 600;
    color: var(--cvpro-text-primary);
  }
  .cvpro-single-meta__items .cvpro-single-meta__avatar {
    width: 28px;
    height: 28px;
  }
  .cvpro-single-meta__items .cvpro-single-meta__date,
  .cvpro-single-meta__items .cvpro-single-meta__reading-time {
    color: var(--cvpro-text-secondary);
    font-size: 0.8rem;
  }
  .cvpro-single-meta__items .cvpro-single-meta__sep {
    display: inline-block;
    width: 3px;
    height: 3px;
    border-radius: 50%;
    background: var(--cvpro-text-secondary);
    opacity: 0.4;
  }
  .cvpro-single-meta__updated {
    color: var(--cvpro-text-secondary);
    font-size: 0.78rem;
  }
  .cvpro-single-meta__share {
    display: none !important;
  }
}

/* 5. Sidebar promo countdown — 2x2 grid on small screens */
@media (max-width: 768px) {
  .cvpro-sidebar-promo__countdown {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0.35rem;
  }
}
@media (max-width: 480px) {
  .cvpro-sidebar-promo__countdown {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* 6. Post card categories + bookmark — wrap and shrink on tiny screens */
@media (max-width: 480px) {
  .cvpro-post-card__categories {
    flex-wrap: wrap;
    gap: 0.3rem;
  }
  .cvpro-post-card__category-pill {
    font-size: 0.62rem;
    padding: 0.18rem 0.5rem;
  }
  .cvpro-post-card__bookmark {
    width: 32px;
    height: 32px;
    top: 0.5rem;
    right: 0.5rem;
  }
}

/* 7. Breadcrumb — clamp font + tighten gaps on small screens */
.cvpro-breadcrumb-bar .cvpro-breadcrumb__list {
  font-size: clamp(0.66rem, 2.4vw, 0.82rem) !important;
}
@media (max-width: 480px) {
  .cvpro-breadcrumb-bar .cvpro-breadcrumb__list {
    gap: 0.2rem !important;
  }
  .cvpro-breadcrumb-bar .cvpro-breadcrumb__separator svg {
    width: 8px !important;
    height: 8px !important;
  }
}

/* 8. Archive controls — better tablet wrap */
@media (max-width: 1024px) {
  .cvpro-archive-controls__form {
    flex-wrap: wrap;
  }
  .cvpro-archive-controls__search {
    flex: 1 1 100%;
    min-width: 0;
  }
}
@media (max-width: 480px) {
  .cvpro-archive-controls__select {
    flex: 1 1 calc(50% - 0.25rem);
  }
  .cvpro-archive-controls__view {
    margin-left: 0;
  }
}

/* 9. Search live suggestions — never wider than viewport */
@media (max-width: 480px) {
  .cvpro-search-suggest {
    max-height: 60vh;
  }
  .cvpro-search-suggest__title {
    font-size: 0.82rem;
  }
}

/* 10. Back-to-top FAB — keep clear of the bottom-fixed floating CTA on mobile */
@media (max-width: 768px) {
  .cvpro-back-to-top {
    right: 0.85rem;
    z-index: 95;
  }
}

/* 11. Sidebar score / lead / promo CTAs — content padding tighter on mobile */
@media (max-width: 480px) {
  .cvpro-sidebar-block--score,
  .cvpro-sidebar-block--lead,
  .cvpro-sidebar-block--newsletter,
  .cvpro-sidebar-block--cta {
    padding: 1.2rem 1rem;
  }
  .cvpro-sidebar-score__title,
  .cvpro-sidebar-lead__title,
  .cvpro-sidebar-promo__title {
    font-size: 0.95rem;
  }
}

/* 12. Page-hero content — never overflow viewport on small screens */
@media (max-width: 480px) {
  .cvpro-page-hero > .cvpro-container {
    padding-left: 0.75rem;
    padding-right: 0.75rem;
  }
  .cvpro-page-hero__content {
    padding: 1.75rem 1.15rem;
  }
}

/* 13. Author box and comments — never overflow */
.cvpro-author-box,
.cvpro-comments {
  word-wrap: break-word;
  overflow-wrap: anywhere;
}

/* 14. Post content — long URLs / inline code wrap instead of overflow */
.cvpro-post-content,
.cvpro-policy-content {
  word-wrap: break-word;
  overflow-wrap: anywhere;
}
.cvpro-post-content pre,
.cvpro-policy-content pre {
  overflow-x: auto;
  max-width: 100%;
}

/* 15. Lead form input on mobile — prevent overflow */
@media (max-width: 480px) {
  .cvpro-sidebar-lead__form input[type="email"],
  .cvpro-sidebar-block--newsletter input[type="email"] {
    box-sizing: border-box;
    width: 100%;
  }
}
