/* ============================================
   REGNSKAPSVERDEN – Custom Styles
   ProBalance Inspired Design for Blocksy + Gutenberg
   ============================================ */

/* ============================================
   1. DESIGN TOKENS (CSS Custom Properties)
   ============================================ */

:root {
  /* Colors */
  --rv-primary: #1A2B3C;
  --rv-primary-light: #243847;
  --rv-accent: #7C5CFC;
  --rv-accent-hover: #6B4AEB;
  --rv-accent-light: rgba(124, 92, 252, 0.1);

  --rv-mint: #E8F5F0;
  --rv-mint-dark: #D0EBE2;
  --rv-white: #FFFFFF;
  --rv-light: #F8FAFB;

  --rv-text: #1A2B3C;
  --rv-text-body: #5A6B7A;
  --rv-text-light: #8A9BAA;

  --rv-border: #E2E8F0;
  --rv-border-light: #F1F5F9;

  /* Typography */
  --rv-font-heading: 'DM Serif Display', Georgia, serif;
  --rv-font-body: 'Plus Jakarta Sans', sans-serif;

  /* Spacing */
  --rv-section-padding: 120px;
  --rv-container-width: 1200px;

  /* Effects */
  --rv-transition: 0.3s ease;
  --rv-radius-sm: 8px;
  --rv-radius-md: 12px;
  --rv-radius-lg: 20px;
  --rv-radius-xl: 30px;
  --rv-radius-full: 9999px;
  --rv-shadow-sm: 0 1px 3px rgba(0,0,0,0.06);
  --rv-shadow-md: 0 4px 12px rgba(0,0,0,0.08);
  --rv-shadow-lg: 0 12px 40px rgba(0,0,0,0.1);
}

@media (max-width: 1024px) {
  :root { --rv-section-padding: 80px; }
}
@media (max-width: 768px) {
  :root { --rv-section-padding: 60px; }
}


/* ============================================
   2. GLOBAL TYPOGRAPHY – Blocksy Overrides
   ============================================ */

body {
  font-family: var(--rv-font-body);
  color: var(--rv-text-body);
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6,
.entry-content h1,
.entry-content h2,
.entry-content h3,
.entry-content h4 {
  font-family: var(--rv-font-heading);
  font-weight: 400;
  line-height: 1.2;
  color: var(--rv-text);
}

h1, .entry-content h1 { font-size: clamp(2.5rem, 5vw, 3.5rem); }
h2, .entry-content h2 { font-size: clamp(1.875rem, 4vw, 2.5rem); }
h3, .entry-content h3 { font-size: clamp(1.25rem, 2vw, 1.5rem); }

h4, .entry-content h4 {
  font-size: 1.125rem;
  font-family: var(--rv-font-body);
  font-weight: 600;
}


/* ============================================
   3. BLOCKSY HEADER OVERRIDES
   ============================================ */

/* Dark header background */
[data-header] header,
header[data-id="type-1"] {
  --headerBackground: var(--rv-primary) !important;
}

/* Logo styling */
.site-title {
  font-family: var(--rv-font-heading);
  color: var(--rv-white);
}

/* Nav link styling */
[data-header] .ct-menu > li > a {
  color: rgba(255,255,255,0.8) !important;
  font-size: 0.9375rem;
  font-weight: 500;
  font-family: var(--rv-font-body);
}
[data-header] .ct-menu > li > a:hover,
[data-header] .ct-menu > li.current-menu-item > a {
  color: var(--rv-white) !important;
}

/* Dropdown styling */
[data-header] .sub-menu {
  background: var(--rv-white);
  border-radius: var(--rv-radius-md);
  box-shadow: var(--rv-shadow-lg);
  border: none;
}
[data-header] .sub-menu a {
  color: var(--rv-text-body) !important;
  font-size: 0.9375rem;
  border-radius: var(--rv-radius-sm);
}
[data-header] .sub-menu a:hover {
  background: var(--rv-light);
  color: var(--rv-text) !important;
}

/* Header CTA button */
[data-header] .ct-button {
  background: var(--rv-accent) !important;
  color: var(--rv-white) !important;
  border-radius: var(--rv-radius-full) !important;
  font-family: var(--rv-font-body);
  font-weight: 600;
  font-size: 0.9375rem;
  padding: 0.75rem 1.5rem;
  border: none;
  transition: var(--rv-transition);
}
[data-header] .ct-button:hover {
  background: var(--rv-accent-hover) !important;
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(124, 92, 252, 0.35);
}


/* ============================================
   4. BLOCKSY FOOTER OVERRIDES
   ============================================ */

footer[data-footer] {
  background: var(--rv-primary) !important;
}

footer[data-footer] .ct-widget h2,
footer[data-footer] .ct-widget h3,
footer[data-footer] .ct-widget h4,
footer[data-footer] .widget-title {
  font-family: var(--rv-font-body);
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--rv-white);
}

footer[data-footer] a {
  color: rgba(255,255,255,0.7);
  font-size: 0.9375rem;
}
footer[data-footer] a:hover {
  color: var(--rv-white);
}

footer[data-footer] .copyright {
  color: rgba(255,255,255,0.5);
  font-size: 0.875rem;
}


/* ============================================
   5. BUTTONS (Global)
   ============================================ */

.rv-btn,
.wp-block-button .wp-block-button__link,
.entry-content .wp-block-button .wp-block-button__link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  font-family: var(--rv-font-body);
  font-size: 0.9375rem;
  font-weight: 600;
  border: 2px solid transparent;
  border-radius: var(--rv-radius-full);
  cursor: pointer;
  transition: var(--rv-transition);
  text-decoration: none;
}

/* Primary button */
.rv-btn-primary,
.wp-block-button:not(.is-style-outline) .wp-block-button__link {
  background: var(--rv-accent);
  color: var(--rv-white);
  border-color: var(--rv-accent);
}
.rv-btn-primary:hover,
.wp-block-button:not(.is-style-outline) .wp-block-button__link:hover {
  background: var(--rv-accent-hover);
  border-color: var(--rv-accent-hover);
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(124, 92, 252, 0.35);
  color: var(--rv-white);
}

/* Outline button */
.rv-btn-outline,
.wp-block-button.is-style-outline .wp-block-button__link {
  background: transparent;
  color: var(--rv-text);
  border-color: var(--rv-border);
}
.rv-btn-outline:hover,
.wp-block-button.is-style-outline .wp-block-button__link:hover {
  background: var(--rv-text);
  color: var(--rv-white);
  border-color: var(--rv-text);
}

/* Large button */
.rv-btn-lg,
.wp-block-button.rv-btn-lg .wp-block-button__link {
  padding: 1rem 2rem;
  font-size: 1rem;
}

/* Dark button */
.rv-btn-dark {
  background: var(--rv-primary);
  color: var(--rv-white);
}
.rv-btn-dark:hover {
  background: var(--rv-primary-light);
  color: var(--rv-white);
}


/* ============================================
   6. HERO SECTIONS
   ============================================ */

/* Front page hero */
.rv-hero {
  padding: 100px 0;
  background: var(--rv-mint);
  position: relative;
  overflow: hidden;
}

.rv-hero-decoration {
  position: absolute;
  border-radius: 50%;
  background: var(--rv-mint-dark);
  opacity: 0.6;
  pointer-events: none;
}
.rv-hero-decoration-1 { width: 400px; height: 400px; top: -150px; right: -100px; }
.rv-hero-decoration-2 { width: 300px; height: 300px; bottom: -100px; left: -80px; }
.rv-hero-decoration-3 { width: 150px; height: 150px; top: 50%; right: 30%; }

.rv-hero .rv-hero-title {
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  margin-bottom: 1.5rem;
}
.rv-hero .rv-hero-description {
  font-size: 1.0625rem;
  color: var(--rv-text-body);
  line-height: 1.8;
  margin-bottom: 2rem;
}

/* Page hero (subpages) */
.rv-page-hero {
  padding: 80px 0;
  background: var(--rv-mint);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.rv-page-hero::before {
  content: '';
  position: absolute;
  width: 250px;
  height: 250px;
  background: var(--rv-mint-dark);
  border-radius: 50%;
  top: -80px;
  right: -60px;
  opacity: 0.6;
}
.rv-page-hero::after {
  content: '';
  position: absolute;
  width: 180px;
  height: 180px;
  background: var(--rv-mint-dark);
  border-radius: 50%;
  bottom: -60px;
  left: 10%;
  opacity: 0.6;
}
.rv-page-hero > * {
  position: relative;
  z-index: 2;
}
.rv-page-hero h1 {
  margin-bottom: 1rem;
}
.rv-page-hero p {
  font-size: 1.0625rem;
  color: var(--rv-text-body);
  max-width: 550px;
  margin-left: auto;
  margin-right: auto;
}

/* Hero badge */
.rv-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--rv-accent-light);
  color: var(--rv-accent);
  padding: 0.5rem 1rem;
  border-radius: var(--rv-radius-full);
  font-size: 0.875rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
}

/* Hero floating card */
.rv-hero-float {
  position: absolute;
  background: var(--rv-white);
  border-radius: var(--rv-radius-lg);
  padding: 1.25rem 1.5rem;
  box-shadow: var(--rv-shadow-md);
  bottom: 40px;
  left: -40px;
  z-index: 3;
}
.rv-hero-float h4 { font-size: 1rem; margin-bottom: 0.25rem; }
.rv-hero-float p { font-size: 0.875rem; color: var(--rv-text-light); margin: 0; }


/* ============================================
   7. SECTION BACKGROUNDS
   ============================================ */

.rv-section {
  padding: var(--rv-section-padding) 0;
}
.rv-section-mint {
  background: var(--rv-mint);
}
.rv-section-light {
  background: var(--rv-light);
}
.rv-section-dark {
  background: var(--rv-primary);
  color: rgba(255,255,255,0.8);
}
.rv-section-dark h2,
.rv-section-dark h3,
.rv-section-dark h4 {
  color: var(--rv-white);
}

/* Section header */
.rv-section-header {
  max-width: 580px;
  margin-bottom: 4rem;
}
.rv-section-header.rv-center {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}
.rv-section-header h2 {
  margin-bottom: 1rem;
}
.rv-section-header p {
  color: var(--rv-text-body);
  font-size: 1.0625rem;
}


/* ============================================
   8. SERVICE CARDS
   ============================================ */

.rv-services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.rv-service-card {
  display: block;
  background: var(--rv-white);
  border-radius: var(--rv-radius-lg);
  overflow: hidden;
  border: 1px solid var(--rv-border-light);
  transition: var(--rv-transition);
  text-decoration: none;
  color: inherit;
}
.rv-service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--rv-shadow-md);
  border-color: var(--rv-accent);
  color: inherit;
}

.rv-service-card-image {
  height: 180px;
  overflow: hidden;
}
.rv-service-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--rv-transition);
}
.rv-service-card:hover .rv-service-card-image img {
  transform: scale(1.05);
}

.rv-service-card-content {
  padding: 1.25rem 1.5rem;
}
.rv-service-card-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-family: var(--rv-font-body);
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: var(--rv-text);
}
.rv-service-card-title svg {
  width: 18px;
  height: 18px;
  color: var(--rv-accent);
  transform: rotate(-45deg);
  transition: var(--rv-transition);
}
.rv-service-card:hover .rv-service-card-title svg {
  transform: rotate(0);
}
.rv-service-card-description {
  color: var(--rv-text-body);
  font-size: 0.9375rem;
  line-height: 1.6;
}

@media (max-width: 1024px) {
  .rv-services-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  .rv-services-grid { grid-template-columns: 1fr; }
}


/* ============================================
   9. FEATURE CARDS (icon + title + text)
   ============================================ */

.rv-features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.rv-feature-card {
  background: var(--rv-white);
  padding: 1.75rem;
  border-radius: var(--rv-radius-lg);
  border: 1px solid var(--rv-border-light);
  transition: var(--rv-transition);
}
.rv-feature-card:hover {
  border-color: var(--rv-accent);
  box-shadow: var(--rv-shadow-sm);
}

.rv-feature-icon {
  width: 52px;
  height: 52px;
  background: var(--rv-accent-light);
  border-radius: var(--rv-radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
}
.rv-feature-icon svg {
  width: 24px;
  height: 24px;
  color: var(--rv-accent);
}

.rv-feature-title {
  font-family: var(--rv-font-body);
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: var(--rv-text);
}
.rv-feature-description {
  color: var(--rv-text-body);
  font-size: 0.9375rem;
  line-height: 1.6;
}

@media (max-width: 1024px) {
  .rv-features-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  .rv-features-grid { grid-template-columns: 1fr; }
}


/* ============================================
   10. CONTENT GRID (text + image side by side)
   ============================================ */

.rv-content-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}
.rv-content-grid.rv-reverse > *:first-child {
  order: 2;
}
.rv-content-grid.rv-reverse > *:last-child {
  order: 1;
}

.rv-content-grid img {
  border-radius: var(--rv-radius-lg);
  box-shadow: var(--rv-shadow-md);
  width: 100%;
  height: auto;
}

.rv-check-list {
  list-style: none;
  padding: 0;
  margin: 1.5rem 0;
}
.rv-check-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 0.875rem;
  color: var(--rv-text-body);
}
.rv-check-list li::before {
  content: '';
  display: inline-block;
  width: 20px;
  height: 20px;
  min-width: 20px;
  margin-top: 2px;
  background: var(--rv-accent);
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='white'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M5 13l4 4L19 7'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='white'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M5 13l4 4L19 7'/%3E%3C/svg%3E");
}

@media (max-width: 1024px) {
  .rv-content-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  .rv-content-grid.rv-reverse > *:first-child,
  .rv-content-grid.rv-reverse > *:last-child {
    order: unset;
  }
}


/* ============================================
   11. STATS ROW
   ============================================ */

.rv-stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.rv-stat-item {
  text-align: center;
  padding: 1.75rem 1.5rem;
  border: 2px solid var(--rv-border);
  border-radius: var(--rv-radius-lg);
  transition: var(--rv-transition);
  background: var(--rv-white);
}
.rv-stat-item:hover {
  border-color: var(--rv-accent);
}

.rv-stat-number {
  font-family: var(--rv-font-heading);
  font-size: 2.5rem;
  color: var(--rv-text);
  margin-bottom: 0.25rem;
  line-height: 1;
}
.rv-stat-label {
  color: var(--rv-text-body);
  font-size: 0.875rem;
  font-weight: 500;
}

@media (max-width: 1024px) {
  .rv-stats-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 480px) {
  .rv-stats-grid { grid-template-columns: 1fr; }
  .rv-stat-number { font-size: 2rem; }
}


/* ============================================
   12. TEAM GRID
   ============================================ */

.rv-team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.rv-team-card {
  background: var(--rv-white);
  border-radius: var(--rv-radius-lg);
  overflow: hidden;
  border: 1px solid var(--rv-border-light);
  transition: var(--rv-transition);
}
.rv-team-card:hover {
  box-shadow: var(--rv-shadow-md);
  border-color: transparent;
}

.rv-team-card-image {
  aspect-ratio: 1;
  overflow: hidden;
}
.rv-team-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--rv-transition);
}
.rv-team-card:hover .rv-team-card-image img {
  transform: scale(1.05);
}

.rv-team-card-content {
  padding: 1.25rem;
}
.rv-team-card-name {
  font-family: var(--rv-font-body);
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 0.125rem;
  color: var(--rv-text);
}
.rv-team-card-role {
  color: var(--rv-text-light);
  font-size: 0.875rem;
  margin-bottom: 0.75rem;
}
.rv-team-card-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.375rem;
}
.rv-team-card-tag {
  background: var(--rv-light);
  color: var(--rv-text-body);
  padding: 0.25rem 0.625rem;
  border-radius: var(--rv-radius-full);
  font-size: 0.75rem;
  font-weight: 500;
  display: inline-block;
}

@media (max-width: 1024px) {
  .rv-team-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 480px) {
  .rv-team-grid { grid-template-columns: 1fr; }
}


/* ============================================
   13. PRICING CARDS
   ============================================ */

.rv-pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  align-items: start;
}

.rv-pricing-card {
  background: var(--rv-white);
  border-radius: var(--rv-radius-lg);
  padding: 2rem;
  border: 1px solid var(--rv-border-light);
  transition: var(--rv-transition);
}
.rv-pricing-card:hover {
  box-shadow: var(--rv-shadow-md);
}
.rv-pricing-card.rv-featured {
  border-color: var(--rv-accent);
  box-shadow: var(--rv-shadow-md);
  transform: scale(1.02);
}

.rv-pricing-card-icon {
  width: 48px;
  height: 48px;
  background: var(--rv-accent-light);
  border-radius: var(--rv-radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
}
.rv-pricing-card-icon svg {
  width: 22px;
  height: 22px;
  color: var(--rv-accent);
}

.rv-pricing-card h4 { margin-bottom: 0.375rem; }
.rv-pricing-card-desc {
  color: var(--rv-text-light);
  font-size: 0.9375rem;
  margin-bottom: 1.25rem;
}

.rv-pricing-card-price {
  font-family: var(--rv-font-heading);
  font-size: 2.25rem;
  color: var(--rv-text);
  margin-bottom: 1.5rem;
}
.rv-pricing-card-price span {
  font-family: var(--rv-font-body);
  font-size: 0.9375rem;
  font-weight: 400;
  color: var(--rv-text-light);
}

.rv-pricing-features {
  border-top: 1px solid var(--rv-border-light);
  padding-top: 1.25rem;
  list-style: none;
  padding-left: 0;
}
.rv-pricing-features li {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  padding: 0.5rem 0;
  color: var(--rv-text-body);
  font-size: 0.9375rem;
}
.rv-pricing-features li::before {
  content: '';
  display: inline-block;
  width: 18px;
  height: 18px;
  min-width: 18px;
  background: var(--rv-accent);
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='white'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M5 13l4 4L19 7'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='white'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M5 13l4 4L19 7'/%3E%3C/svg%3E");
}

@media (max-width: 1024px) {
  .rv-pricing-grid { grid-template-columns: repeat(2, 1fr); }
  .rv-pricing-card.rv-featured { transform: none; }
}
@media (max-width: 768px) {
  .rv-pricing-grid { grid-template-columns: 1fr; }
}


/* ============================================
   14. PROCESS STEPS
   ============================================ */

.rv-process-steps {
  list-style: none;
  padding: 0;
  margin: 1.5rem 0;
}

.rv-process-step {
  display: flex;
  gap: 1.25rem;
  margin-bottom: 1.5rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--rv-border-light);
}
.rv-process-step:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

.rv-process-step-number {
  width: 44px;
  height: 44px;
  min-width: 44px;
  background: var(--rv-accent);
  color: var(--rv-white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--rv-font-heading);
  font-size: 1.125rem;
}

.rv-process-step-content h4 {
  margin-bottom: 0.375rem;
}
.rv-process-step-content p {
  color: var(--rv-text-body);
  margin: 0;
}

@media (max-width: 480px) {
  .rv-process-step { flex-direction: column; gap: 1rem; }
}


/* ============================================
   15. CTA SECTION
   ============================================ */

.rv-cta {
  padding: 80px 0;
  background: var(--rv-mint);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.rv-cta::before {
  content: '';
  position: absolute;
  width: 200px;
  height: 200px;
  background: var(--rv-mint-dark);
  border-radius: 50%;
  top: -60px;
  left: 10%;
  opacity: 0.5;
}
.rv-cta::after {
  content: '';
  position: absolute;
  width: 150px;
  height: 150px;
  background: var(--rv-mint-dark);
  border-radius: 50%;
  bottom: -50px;
  right: 15%;
  opacity: 0.5;
}
.rv-cta > * {
  position: relative;
  z-index: 2;
}
.rv-cta h2 { margin-bottom: 1rem; }
.rv-cta p {
  color: var(--rv-text-body);
  font-size: 1.0625rem;
  margin-bottom: 1.5rem;
  max-width: 550px;
  margin-left: auto;
  margin-right: auto;
}


/* ============================================
   16. FAQ ACCORDION
   ============================================ */

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

.rv-faq-item {
  border: 1px solid var(--rv-border);
  border-radius: var(--rv-radius-md);
  margin-bottom: 0.75rem;
  background: var(--rv-white);
  transition: var(--rv-transition);
  overflow: hidden;
}
.rv-faq-item:hover,
.rv-faq-item.active {
  border-color: var(--rv-accent);
}

.rv-faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 1.125rem 1.25rem;
  background: none;
  border: none;
  cursor: pointer;
  font-family: var(--rv-font-body);
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--rv-text);
  text-align: left;
  gap: 1rem;
}
.rv-faq-question svg {
  color: var(--rv-accent);
  flex-shrink: 0;
  transition: var(--rv-transition);
}
.rv-faq-item.active .rv-faq-question svg {
  transform: rotate(45deg);
}

.rv-faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}
.rv-faq-item.active .rv-faq-answer {
  max-height: 400px;
}

.rv-faq-answer-content {
  padding: 0 1.25rem 1.25rem;
  color: var(--rv-text-body);
  line-height: 1.7;
  font-size: 0.9375rem;
}
.rv-faq-answer-content p {
  margin: 0;
}

/* Native Gutenberg Details block (FAQ) */
.wp-block-details {
  border: 1px solid transparent;
  border-radius: 16px;
  margin-bottom: 0.75rem;
  background: var(--rv-white);
  transition: var(--rv-transition);
  overflow: hidden;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
  --wp--style--block-gap: 0 !important;
  gap: 0 !important;
}
.wp-block-details:hover {
  border-color: var(--rv-accent);
}
.wp-block-details[open] {
  border-color: var(--rv-accent);
}

.wp-block-details summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.25rem;
  margin: 0;
  font-family: var(--rv-font-body);
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--rv-text);
  cursor: pointer;
  list-style: none;
}
.wp-block-details summary::-webkit-details-marker {
  display: none;
}
.wp-block-details summary::after {
  content: '+';
  font-size: 1.125rem;
  font-weight: 300;
  color: #B0B8C1;
  flex-shrink: 0;
  line-height: 1;
}
.wp-block-details[open] summary::after {
  content: '−';
  color: #B0B8C1;
}

.wp-block-details > *:not(summary) {
  padding: 0 1.25rem 0;
  color: var(--rv-text-body);
  line-height: 1.7;
  font-size: 0.9375rem;
}
.wp-block-details > *:not(summary):last-child {
  padding-bottom: 1.25rem;
}
.wp-block-details > *:not(summary) p {
  margin: 0;
}
.wp-block-details p,
.wp-block-details .wp-block-paragraph {
  margin-top: 0 !important;
  margin-bottom: 0 !important;
  padding-top: 0 !important;
}
.wp-block-details summary + * {
  margin-top: 0 !important;
}

/* Outline buttons – force dark color instead of Blocksy accent */
.wp-block-button.is-style-outline .wp-block-button__link {
  color: var(--rv-text) !important;
  border-color: var(--rv-text) !important;
}
.wp-block-button.is-style-outline .wp-block-button__link:hover {
  background: var(--rv-text) !important;
  color: var(--rv-white) !important;
}


/* ============================================
   17. BREADCRUMB
   ============================================ */

.rv-breadcrumb {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  margin-bottom: 1.25rem;
  font-size: 0.875rem;
  color: var(--rv-text-light);
}
.rv-breadcrumb a {
  color: var(--rv-text-light);
  text-decoration: none;
}
.rv-breadcrumb a:hover {
  color: var(--rv-accent);
}
.rv-breadcrumb span:last-child {
  color: var(--rv-text);
}


/* ============================================
   18. WPFORMS OVERRIDES
   ============================================ */

.wpforms-container .wpforms-form .wpforms-field input,
.wpforms-container .wpforms-form .wpforms-field textarea,
.wpforms-container .wpforms-form .wpforms-field select {
  border: 1px solid var(--rv-border) !important;
  border-radius: var(--rv-radius-md) !important;
  font-family: var(--rv-font-body) !important;
  font-size: 0.9375rem !important;
  padding: 0.75rem 1rem !important;
  transition: var(--rv-transition);
}
.wpforms-container .wpforms-form .wpforms-field input:focus,
.wpforms-container .wpforms-form .wpforms-field textarea:focus,
.wpforms-container .wpforms-form .wpforms-field select:focus {
  border-color: var(--rv-accent) !important;
  box-shadow: 0 0 0 3px var(--rv-accent-light) !important;
  outline: none;
}

.wpforms-container .wpforms-form .wpforms-field-label {
  font-weight: 500 !important;
  font-size: 0.9375rem !important;
  color: var(--rv-text) !important;
  font-family: var(--rv-font-body) !important;
}

.wpforms-container .wpforms-form button[type="submit"],
.wpforms-container .wpforms-form .wpforms-submit {
  background: var(--rv-accent) !important;
  color: var(--rv-white) !important;
  border-radius: var(--rv-radius-full) !important;
  font-family: var(--rv-font-body) !important;
  font-weight: 600 !important;
  font-size: 0.9375rem !important;
  padding: 0.75rem 1.5rem !important;
  border: 2px solid var(--rv-accent) !important;
  transition: var(--rv-transition);
  cursor: pointer;
}
.wpforms-container .wpforms-form button[type="submit"]:hover,
.wpforms-container .wpforms-form .wpforms-submit:hover {
  background: var(--rv-accent-hover) !important;
  border-color: var(--rv-accent-hover) !important;
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(124, 92, 252, 0.35);
}


/* ============================================
   19. UTILITY CLASSES
   ============================================ */

.rv-text-center { text-align: center; }
.rv-text-accent { color: var(--rv-accent); }
.rv-mt-sm { margin-top: 0.5rem; }
.rv-mt-md { margin-top: 1rem; }
.rv-mt-lg { margin-top: 2rem; }
.rv-mt-xl { margin-top: 3rem; }
.rv-mb-sm { margin-bottom: 0.5rem; }
.rv-mb-md { margin-bottom: 1rem; }
.rv-mb-lg { margin-bottom: 2rem; }
.rv-mb-xl { margin-bottom: 3rem; }

/* Max-width container for content */
.rv-narrow {
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}
.rv-wide {
  max-width: var(--rv-container-width);
  margin-left: auto;
  margin-right: auto;
}


/* ============================================
   20. WORDPRESS / GUTENBERG SPECIFIC
   ============================================ */

/* Ensure full-width sections work with Blocksy */
.entry-content .alignfull {
  margin-left: calc(-50vw + 50%);
  margin-right: calc(-50vw + 50%);
  max-width: 100vw;
  width: 100vw;
}

/* Remove default block margins where we use custom spacing */
.entry-content > .rv-hero,
.entry-content > .rv-page-hero,
.entry-content > .rv-cta,
.entry-content > .rv-section {
  margin-top: 0;
  margin-bottom: 0;
}

/* Override Blocksy content width for our sections */
.rv-hero .alignwide,
.rv-section .alignwide,
.rv-cta .alignwide {
  max-width: var(--rv-container-width);
  margin-left: auto;
  margin-right: auto;
  padding-left: 24px;
  padding-right: 24px;
}

/* Image styling within content */
.entry-content img {
  border-radius: var(--rv-radius-lg);
}

/* Link styles */
.entry-content a:not(.wp-block-button__link):not(.rv-btn):not(.rv-service-card) {
  color: var(--rv-accent);
  text-decoration: underline;
  text-decoration-color: var(--rv-accent-light);
  text-underline-offset: 2px;
  transition: var(--rv-transition);
}
.entry-content a:not(.wp-block-button__link):not(.rv-btn):not(.rv-service-card):hover {
  text-decoration-color: var(--rv-accent);
}
