/**
 * iReclam Elements — Component Styles
 * Design System v5.2 (Emerald — Premium)
 * Primary: #047857 | Primary Light: #34D399 | Navy: #102222
 *
 * Principles: interface-design (Dammyjay93), LibreUIUX (HermeticOrmus), OneRedOak workflows
 * @package ireclam-elements
 */

/* ==========================================================================
   1. Design Token Variables
   ========================================================================== */

:root {
  /* Colors */
  --ireclam-navy: #102222;
  --ireclam-surface: #F8FAFC;
  --ireclam-border: #E2E8F0;
  --ireclam-muted: #64748B;
  --ireclam-primary: #047857;
  --ireclam-primary-light: #34D399;
  --ireclam-accent: #2563EB;
  --ireclam-danger: #DC2626;
  --ireclam-warning: #D97706;
  --ireclam-success: #059669;

  /* Radius */
  --ireclam-radius-sm: 8px;
  --ireclam-radius-md: 12px;

  /* Shadows (layered for depth) */
  --ireclam-shadow: 0 1px 2px rgba(16,34,34,0.06), 0 6px 16px rgba(16,34,34,0.06);
  --ireclam-shadow-hover: 0 2px 6px rgba(16,34,34,0.10), 0 14px 30px rgba(16,34,34,0.10);
  --ireclam-ring: 0 0 0 3px rgba(52,211,153,0.28);

  /* Motion (premium easing) */
  --ireclam-ease: cubic-bezier(0.2, 0.8, 0.2, 1);
  --ireclam-dur-1: 120ms;
  --ireclam-dur-2: 200ms;
  --ireclam-dur-3: 320ms;

  /* Spacing (micro) */
  --ireclam-s-2: 2px;
  --ireclam-s-4: 4px;

  /* Fonts */
  --ireclam-font-body: 'Inter', system-ui, -apple-system, sans-serif;
  --ireclam-font-heading: 'Sora', 'Inter', system-ui, sans-serif;
}

/* ==========================================================================
   1a. Remove WP default block gap on full-width sections (prevents white lines)
   ========================================================================== */

:root :where(.is-layout-constrained) > .wp-block-group.alignfull,
:root :where(.is-layout-constrained) > .ireclam-toc-wrapper,
.wp-block-group.alignfull + .wp-block-group.alignfull,
.wp-block-group.alignfull:first-child,
.entry-content > .wp-block-group.alignfull,
.entry-content > .ireclam-toc-wrapper {
  margin-block-start: 0 !important;
}

/* No gap between last content section and footer */
.entry-content > .wp-block-group.alignfull:last-child {
  margin-block-end: 0 !important;
}
.entry-content {
  margin-block-end: 0 !important;
}
/* Remove gap between content area and footer template part */
.wp-site-blocks > * + .wp-block-template-part,
.wp-site-blocks > * + footer,
.wp-site-blocks > .wp-block-group + .wp-block-template-part {
  margin-block-start: 0 !important;
}

/* ==========================================================================
   1b. Heading & Text Color Safety
   Ensures headings are always navy, even when parent inherits text-light
   ========================================================================== */

.wp-block-group h3:not([style*="color"]),
.wp-block-column h3:not([style*="color"]),
.ireclam-card-hover h3 {
  color: var(--ireclam-navy);
}

/* Exception: navy sections keep headings white */
.ireclam-navy-section h3,
.has-navy-background-color h3,
.has-navy-surface-background-color h3 {
  color: #F1F5F9;
}

/* ==========================================================================
   2. Icon System
   ========================================================================== */

.ireclam-icon {
  width: 1.5rem;
  height: 1.5rem;
  display: inline-block;
  vertical-align: middle;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.ireclam-icon--sm { width: 1rem; height: 1rem; }
.ireclam-icon--lg { width: 2rem; height: 2rem; }
.ireclam-icon--xl { width: 2.5rem; height: 2.5rem; }

/* ==========================================================================
   3. Button Variations (Premium — gradient + depth + states)
   ========================================================================== */

/* Primary button: gradient + inner highlight + lift on hover */
.wp-element-button,
.wp-block-button__link {
  transition:
    transform var(--ireclam-dur-1) var(--ireclam-ease),
    box-shadow var(--ireclam-dur-2) var(--ireclam-ease),
    filter var(--ireclam-dur-2) var(--ireclam-ease),
    background var(--ireclam-dur-2) var(--ireclam-ease);
}
.wp-block-button:not(.is-style-secondary):not(.is-style-ghost) .wp-element-button:not(.has-navy-background-color) {
  background: linear-gradient(180deg,
    color-mix(in srgb, var(--wp--preset--color--primary-light, #34D399), white 12%),
    var(--wp--preset--color--primary-light, #34D399));
  color: #081414 !important;
  box-shadow:
    0 1px 0 rgba(255,255,255,0.5) inset,
    0 6px 14px rgba(16,34,34,0.10);
}
.wp-block-button:not(.is-style-secondary):not(.is-style-ghost) .wp-element-button:hover {
  filter: saturate(1.05) brightness(1.02);
  box-shadow:
    0 1px 0 rgba(255,255,255,0.6) inset,
    0 10px 22px rgba(16,34,34,0.12);
  transform: translateY(-1px);
}
.wp-block-button:not(.is-style-secondary):not(.is-style-ghost) .wp-element-button:active {
  transform: translateY(0);
  box-shadow:
    0 1px 0 rgba(255,255,255,0.4) inset,
    0 4px 10px rgba(16,34,34,0.10);
}
.wp-block-button .wp-element-button:focus-visible {
  outline: none;
  box-shadow: var(--ireclam-ring), 0 6px 14px rgba(16,34,34,0.10);
}

.is-style-secondary .wp-element-button,
.is-style-secondary.wp-element-button {
  background-color: transparent;
  color: var(--wp--preset--color--text);
  border: 2px solid var(--wp--preset--color--text);
}
.is-style-secondary .wp-element-button:hover,
.is-style-secondary.wp-element-button:hover {
  background-color: rgba(16, 34, 34, 0.05);
}

.is-style-ghost .wp-element-button,
.is-style-ghost.wp-element-button {
  background-color: transparent;
  color: var(--wp--preset--color--primary);
  border: none;
}
.is-style-ghost .wp-element-button:hover,
.is-style-ghost.wp-element-button:hover {
  background-color: rgba(4, 120, 87, 0.1);
}

/* Ghost & Secondary on navy/dark backgrounds */
.ireclam-navy-section .is-style-ghost .wp-element-button,
.ireclam-navy-section .is-style-ghost.wp-element-button,
.has-navy-background-color .is-style-ghost .wp-element-button,
.has-navy-background-color .is-style-ghost.wp-element-button,
.has-navy-surface-background-color .is-style-ghost .wp-element-button,
.has-navy-surface-background-color .is-style-ghost.wp-element-button {
  color: #F1F5F9;
  border: 2px solid rgba(241, 245, 249, 0.35);
}
.ireclam-navy-section .is-style-ghost .wp-element-button:hover,
.has-navy-background-color .is-style-ghost .wp-element-button:hover,
.has-navy-surface-background-color .is-style-ghost .wp-element-button:hover {
  background-color: rgba(241, 245, 249, 0.1);
  border-color: rgba(241, 245, 249, 0.5);
}

.ireclam-navy-section .is-style-secondary .wp-element-button,
.has-navy-background-color .is-style-secondary .wp-element-button,
.has-navy-surface-background-color .is-style-secondary .wp-element-button {
  color: #F1F5F9;
  border-color: rgba(241, 245, 249, 0.4);
}
.ireclam-navy-section .is-style-secondary .wp-element-button:hover,
.has-navy-background-color .is-style-secondary .wp-element-button:hover,
.has-navy-surface-background-color .is-style-secondary .wp-element-button:hover {
  background-color: rgba(241, 245, 249, 0.1);
}

/* ==========================================================================
   4. Card System
   ========================================================================== */

/* Card with premium hover (lift + sheen + glow) */
.ireclam-card-hover {
  border: 1px solid rgba(100,116,139,0.18);
  border-radius: var(--ireclam-radius-md);
  box-shadow: var(--ireclam-shadow);
  transform: translateY(0);
  transition:
    transform var(--ireclam-dur-2) var(--ireclam-ease),
    box-shadow var(--ireclam-dur-2) var(--ireclam-ease),
    border-color var(--ireclam-dur-2) var(--ireclam-ease);
  height: 100%;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
  background: #F8FAFC;
}

/* Adaptive card color: surface section → white cards, white/bg section → surface cards.
   Uses !important to override WordPress generated .has-surface-background-color !important */
.has-surface-background-color .ireclam-card-hover:not(.ireclam-pricing-featured) {
  background: #fff !important;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.06), 0 4px 16px rgba(0, 0, 0, 0.04) !important;
}
.has-bg-background-color .ireclam-card-hover:not(.ireclam-pricing-featured) {
  background: #F8FAFC !important;
}

/* Subtle sheen highlight on hover */
.ireclam-card-hover::before {
  content: "";
  position: absolute;
  inset: -2px;
  background: radial-gradient(600px 200px at 20% 0%, rgba(52,211,153,0.12), transparent 60%);
  opacity: 0;
  transition: opacity var(--ireclam-dur-2) var(--ireclam-ease);
  pointer-events: none;
  z-index: 0;
}

.ireclam-card-hover:hover {
  transform: translateY(-2px);
  box-shadow: var(--ireclam-shadow-hover);
  border-color: rgba(52,211,153,0.35);
}
.ireclam-card-hover:hover::before {
  opacity: 1;
}

/* Equal height cards in columns */
.wp-block-columns .wp-block-column > .ireclam-card-hover,
.wp-block-columns .wp-block-column > .wp-block-group {
  height: 100%;
}
.wp-block-columns {
  align-items: stretch;
}

.is-style-surface {
  background-color: var(--ireclam-surface);
  border: 1px solid var(--ireclam-border);
  border-radius: var(--ireclam-radius-md);
  padding: var(--wp--preset--spacing--24);
}

/* ==========================================================================
   5. Icon Box
   ========================================================================== */

.ireclam-icon-box {
  width: 3rem;
  height: 3rem;
  border-radius: var(--ireclam-radius-sm);
  background: rgba(4, 120, 87, 0.10);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ireclam-primary);
  transition: background-color 0.3s ease, color 0.3s ease;
}
.ireclam-card-hover:hover .ireclam-icon-box {
  background: var(--ireclam-primary-light);
  color: var(--ireclam-navy);
}

/* ==========================================================================
   6. Badge
   ========================================================================== */

.ireclam-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.25rem 0.75rem;
  border-radius: 9999px;
  background: rgba(4, 120, 87, 0.12);
  border: 1px solid rgba(4, 120, 87, 0.25);
  color: var(--wp--preset--color--text);
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

/* ==========================================================================
   7. Pulse Dot
   ========================================================================== */

.ireclam-pulse-dot {
  position: relative;
  width: 0.5rem;
  height: 0.5rem;
}
.ireclam-pulse-dot::before,
.ireclam-pulse-dot::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: var(--ireclam-primary);
}
.ireclam-pulse-dot::before {
  animation: ireclam-ping 1.5s cubic-bezier(0, 0, 0.2, 1) infinite;
}
@keyframes ireclam-ping {
  75%, 100% { transform: scale(2); opacity: 0; }
}

/* ==========================================================================
   7b. Process Steps (timeline with icon boxes + connector)
   ========================================================================== */

.ireclam-process-steps {
  display: flex;
  flex-direction: column;
  gap: 0;
  max-width: 900px;
  margin: 0 auto;
  padding: 0 24px;
}

.ireclam-process-step {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  text-align: left;
  position: relative;
  gap: 24px;
  padding-bottom: 40px;
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.ireclam-process-step:last-child {
  padding-bottom: 0;
}

.ireclam-process-icon-wrap {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  flex-shrink: 0;
  padding-top: 16px;
}

.ireclam-process-number {
  font-family: var(--ireclam-font-body);
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--ireclam-muted);
  letter-spacing: 0.05em;
  margin-bottom: 8px;
  transition: color 0.5s ease 0.2s;
}
.ireclam-process-step.is-visible .ireclam-process-number {
  color: var(--ireclam-primary);
}

.ireclam-process-icon-box {
  width: 56px;
  height: 56px;
  border-radius: 12px;
  background: rgba(100, 116, 139, 0.08);
  border: 2px solid rgba(100, 116, 139, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ireclam-muted);
  position: relative;
  z-index: 2;
  transition: background-color 0.5s ease 0.2s, border-color 0.5s ease 0.2s, color 0.5s ease 0.2s, transform 0.3s ease;
}
.ireclam-process-step.is-visible .ireclam-process-icon-box {
  background: rgba(4, 120, 87, 0.08);
  border-color: rgba(4, 120, 87, 0.15);
  color: var(--ireclam-primary);
}
.ireclam-process-step:hover .ireclam-process-icon-box {
  background: var(--ireclam-primary-light);
  border-color: var(--ireclam-primary-light);
  color: var(--ireclam-navy);
  transform: translateY(-4px);
}

/* Connector line — vertical dashed line between steps.
   Uses the step element (not icon-wrap) so `bottom:0` = bottom of the step
   including padding-bottom, bridging exactly to the next step's number. */
.ireclam-process-connector {
  display: none;
}
.ireclam-process-step:not(:last-child)::after {
  content: '';
  position: absolute;
  top: calc(16px + 18px + 56px + 4px); /* padding-top + number + icon + gap */
  left: 28px; /* half of icon-box (56/2) */
  transform: translateX(-50%);
  width: 2px;
  bottom: 24px; /* stop before next step's number */
  background-image: repeating-linear-gradient(
    180deg,
    rgba(100, 116, 139, 0.2) 0px,
    rgba(100, 116, 139, 0.2) 6px,
    transparent 6px,
    transparent 12px
  );
  z-index: 1;
}
/* Green overlay — same position, height animates from 0 to full */
.ireclam-process-step:not(:last-child)::before {
  content: '';
  position: absolute;
  top: calc(16px + 18px + 56px + 4px);
  left: 28px;
  transform: translateX(-50%);
  width: 2px;
  height: 0;
  max-height: 0;
  background-image: repeating-linear-gradient(
    180deg,
    rgba(4, 120, 87, 0.4) 0px,
    rgba(4, 120, 87, 0.4) 6px,
    transparent 6px,
    transparent 12px
  );
  z-index: 2;
  transition: max-height 0.8s ease 0.3s;
  overflow: hidden;
}
.ireclam-process-step.is-visible:not(:last-child)::before {
  height: auto;
  bottom: 24px;
  max-height: 500px; /* large enough to cover any step height */
}

.ireclam-process-content {
  padding: 20px 28px 24px;
  background: #F8FAFC;
  border-radius: 12px;
  border: 1px solid var(--ireclam-border);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
  flex: 1;
}

/* Adaptive card color: white/bg section → surface cards, surface section → white cards */
.has-bg-background-color .ireclam-process-content {
  background: #F8FAFC !important;
}
.has-surface-background-color .ireclam-process-content {
  background: #fff !important;
}

.ireclam-process-label {
  display: inline-block;
  font-family: var(--ireclam-font-body);
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--ireclam-primary);
  background: rgba(4, 120, 87, 0.08);
  padding: 3px 10px;
  border-radius: 9999px;
  margin-bottom: 8px;
}

.ireclam-process-content h3 {
  font-family: var(--ireclam-font-heading);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--ireclam-navy);
  margin: 0 0 6px 0;
}

.ireclam-process-content p {
  font-family: var(--ireclam-font-body);
  font-size: 0.85rem;
  color: var(--ireclam-muted);
  line-height: 1.6;
  margin: 0;
  max-width: 480px;
}

/* Scroll animation — fade in + slide up */
.ireclam-process-step {
  opacity: 0;
  transform: translateY(32px);
}
.ireclam-process-step.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Responsive — smaller gap on mobile */
@media (max-width: 768px) {
  .ireclam-process-steps {
    padding: 0 16px;
  }
  .ireclam-process-step {
    gap: 16px;
    padding-bottom: 32px;
  }
}

/* ==========================================================================
   7c. Pricing feature lists — no bullets (checkmark icons replace them)
   ========================================================================== */

.ireclam-card-hover ul,
.ireclam-stat-card ul,
.wp-block-group[class*="ireclam"] ul {
  list-style: none;
  padding-left: 0;
}

/* ==========================================================================
   8. Stat Card
   ========================================================================== */

.ireclam-stat-card {
  padding: var(--wp--preset--spacing--32);
  border-radius: var(--ireclam-radius-md);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: #F8FAFC;
}

.ireclam-pricing-card {
  background: #F8FAFC;
}

/* ==========================================================================
   9. Testimonial
   ========================================================================== */

.ireclam-testimonial-active {
  border-left: 4px solid var(--ireclam-primary-light);
  background: rgba(4, 120, 87, 0.05);
  border-radius: 0 var(--ireclam-radius-md) var(--ireclam-radius-md) 0;
  padding: var(--wp--preset--spacing--24);
}

/* ==========================================================================
   10. FAQ Accordion
   ========================================================================== */

/* faq-grid items (2-kolom, op surface bg → witte items) */
.ireclam-faq-item {
  background: #ffffff;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}
.ireclam-faq-item:hover {
  border-color: rgba(4, 120, 87, 0.4);
  box-shadow: 0 4px 20px rgba(4, 120, 87, 0.08);
}

/* faq-section items (1-kolom, op witte bg → surface items) */
.wp-block-details:not(.ireclam-faq-item) {
  background: var(--wp--preset--color--surface, #F8FAFC);
}
.ireclam-faq-item summary::-webkit-details-marker,
.ireclam-faq-item summary::marker {
  display: none;
  content: '';
}
.ireclam-faq-chevron {
  flex-shrink: 0;
  transition: transform 0.25s ease;
  color: var(--ireclam-muted);
}
.ireclam-faq-item[open] .ireclam-faq-chevron {
  transform: rotate(180deg);
  color: var(--ireclam-primary);
}

/* ==========================================================================
   11. Navy Section
   ========================================================================== */

.ireclam-navy-section {
  position: relative;
  overflow: hidden;
  background-color: var(--ireclam-navy);
  background-image:
    radial-gradient(ellipse 600px 400px at 80% 20%, rgba(4, 120, 87, 0.18) 0%, transparent 70%),
    radial-gradient(ellipse 500px 500px at 10% 80%, rgba(37, 99, 235, 0.12) 0%, transparent 70%),
    radial-gradient(ellipse 800px 300px at 50% 0%, rgba(52, 211, 153, 0.08) 0%, transparent 60%);
  color: #F1F5F9;
}
.ireclam-navy-section .ireclam-icon-box {
  background: rgba(52, 211, 153, 0.1);
  color: var(--ireclam-primary-light);
}
/* Footer & navy section links */
.ireclam-navy-section a,
.has-navy-background-color a {
  color: rgba(241, 245, 249, 0.7) !important;
  text-decoration: none;
  transition: color 0.2s ease;
}
.ireclam-navy-section a:hover,
.has-navy-background-color a:hover {
  color: var(--ireclam-primary-light) !important;
}

/* Footer headings */
.ireclam-navy-section h4,
.has-navy-background-color h4 {
  color: var(--ireclam-primary-light, #34D399) !important;
}

/* Footer description & meta text */
.ireclam-navy-section p,
.has-navy-background-color p {
  color: rgba(241, 245, 249, 0.6);
}

/* Footer lists - no bullets, proper spacing */
.ireclam-navy-section ul {
  list-style: none;
  padding-left: 0;
}
.ireclam-navy-section li {
  padding: 3px 0;
}

/* Footer separator */
.ireclam-navy-section .wp-block-separator {
  opacity: 0.1;
}

.ireclam-navy-section .ireclam-badge {
  background: rgba(52, 211, 153, 0.1);
  border-color: rgba(52, 211, 153, 0.2);
  color: var(--ireclam-primary-light);
}
.ireclam-navy-section .ireclam-card-hover {
  border-color: rgba(52, 211, 153, 0.05);
}
.ireclam-navy-section .ireclam-card-hover:hover {
  border-color: rgba(52, 211, 153, 0.4);
  box-shadow: 0 0 20px rgba(52, 211, 153, 0.05);
}

/* Glow orb — navy sections only */
.ireclam-glow-orb {
  position: absolute;
  width: 24rem;
  height: 24rem;
  border-radius: 50%;
  background: var(--ireclam-primary-light);
  opacity: 0.08;
  filter: blur(120px);
  pointer-events: none;
}
.ireclam-glow-section {
  position: relative;
  overflow: hidden;
}

/* ==========================================================================
   12. Chat Bubbles (WhatsApp)
   ========================================================================== */

.ireclam-chat-bot {
  background: var(--ireclam-surface);
  padding: 0.75rem;
  border-radius: 1rem 1rem 1rem 0;
  font-size: 0.75rem;
  color: var(--ireclam-muted);
  max-width: 80%;
  border: 1px solid var(--ireclam-border);
}
.ireclam-chat-user {
  background: rgba(4, 120, 87, 0.08);
  padding: 0.75rem;
  border-radius: 1rem 1rem 0 1rem;
  font-size: 0.75rem;
  color: var(--ireclam-navy);
  max-width: 80%;
  margin-left: auto;
  border: 1px solid rgba(4, 120, 87, 0.2);
}

/* ==========================================================================
   13. Sticky Mobile CTA
   ========================================================================== */

.ireclam-sticky-cta { display: none; }

@media (max-width: 767px) {
  .ireclam-sticky-cta {
    display: block;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 100;
    padding: 0.75rem 1rem;
    background: var(--ireclam-navy);
    border-top: 2px solid var(--ireclam-primary-light);
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.3);
    text-align: center;
  }
  .ireclam-sticky-cta__link {
    display: block;
    padding: 0.875rem 1.5rem;
    background: var(--ireclam-primary-light);
    color: var(--ireclam-navy);
    font-weight: 700;
    font-size: 1rem;
    text-decoration: none;
    border-radius: var(--ireclam-radius-md);
    transition: background-color 0.2s ease;
  }
  body:has(.ireclam-sticky-cta) {
    padding-bottom: 5rem;
  }
}

/* ==========================================================================
   14. Logo Client Strip
   ========================================================================== */

.ireclam-logo-client img {
  opacity: 0.5;
  filter: grayscale(100%);
  transition: opacity 0.3s ease, filter 0.3s ease;
}
.ireclam-logo-client img:hover {
  opacity: 1;
  filter: grayscale(0%);
}

/* ==========================================================================
   15. TOC Horizontal (sticky with scroll-spy)
   ========================================================================== */

.ireclam-toc-wrapper {
  background: transparent;
  border-bottom: 1px solid var(--ireclam-border);
  padding: 14px 0;
  z-index: 99;
  transition: background-color 0.3s ease, box-shadow 0.3s ease;
  position: relative;
}

/* Full-width background via pseudo-element */
.ireclam-toc-wrapper::before {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100vw;
  background: inherit;
  border-bottom: inherit;
  z-index: -1;
  pointer-events: none;
}

/* Sticky state */
.ireclam-toc-wrapper.is-sticky {
  position: fixed;
  top: var(--ireclam-toc-offset, 72px);
  left: 0;
  right: 0;
  background: #ffffff !important;
  border-bottom: 1px solid var(--ireclam-border);
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.08);
}

/* Placeholder to prevent layout shift */
.ireclam-toc-placeholder {
  display: none;
}
.ireclam-toc-placeholder.is-active {
  display: block;
}

/* Label */
.ireclam-toc-label {
  font-family: var(--ireclam-font-body);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ireclam-navy);
  white-space: nowrap;
  flex-shrink: 0;
}

/* Inner container — now flex row with label + links */
.ireclam-toc-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  gap: 24px;
}

/* Links row */
.ireclam-toc-links {
  display: flex;
  align-items: center;
  gap: 32px;
  flex-wrap: nowrap;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.ireclam-toc-links::-webkit-scrollbar {
  display: none;
}

/* Individual links */
.ireclam-toc-links a {
  font-family: var(--ireclam-font-body);
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--ireclam-muted);
  text-decoration: none;
  padding: 6px 0;
  border-bottom: 3px solid transparent;
  transition: color 0.2s ease, border-color 0.2s ease;
  white-space: nowrap;
}

.ireclam-toc-links a:hover {
  color: var(--ireclam-navy);
}

.ireclam-toc-links a.is-active {
  color: var(--ireclam-navy);
  font-weight: 600;
  border-bottom-color: var(--ireclam-primary-light);
}

/* Vertical TOC sidebar (emerald bg, white text) */
.ireclam-toc-sidebar {
  color: #F1F5F9;
}
.ireclam-toc-sidebar-links {
  list-style: none !important;
  padding-left: 0 !important;
}
.ireclam-toc-sidebar-links li {
  padding: 6px 0;
  border-bottom: 1px solid rgba(241, 245, 249, 0.15);
}
.ireclam-toc-sidebar-links li:last-child {
  border-bottom: none;
}
.ireclam-toc-sidebar-links a {
  color: rgba(241, 245, 249, 0.85) !important;
  text-decoration: none !important;
  transition: color 0.2s ease;
}
.ireclam-toc-sidebar-links a:hover {
  color: #ffffff !important;
}

/* Responsive */
@media (max-width: 768px) {
  .ireclam-toc-inner {
    padding: 0 16px;
  }
  .ireclam-toc-links {
    gap: 20px;
  }
  .ireclam-toc-links a {
    font-size: 0.875rem;
  }
}

/* ==========================================================================
   15b. Premium Transitions & Glass Effects
   ========================================================================== */

/* Form inputs: premium focus ring */
input:not([type="submit"]):not([type="button"]),
textarea,
select {
  transition:
    border-color var(--ireclam-dur-2) var(--ireclam-ease),
    box-shadow var(--ireclam-dur-2) var(--ireclam-ease),
    background-color var(--ireclam-dur-2) var(--ireclam-ease);
}
input:not([type="submit"]):not([type="button"]):focus,
textarea:focus,
select:focus {
  border-color: rgba(52,211,153,0.55);
  box-shadow: var(--ireclam-ring);
  outline: none;
}

/* Glass effect for TOC and toolbars */
.ireclam-toc-wrapper.is-sticky {
  background: rgba(255,255,255,0.85) !important;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

/* Skeleton shimmer animation */
.ireclam-skeleton {
  background: linear-gradient(90deg,
    rgba(100,116,139,0.08),
    rgba(100,116,139,0.14),
    rgba(100,116,139,0.08));
  background-size: 200% 100%;
  animation: ireclam-shimmer 1.2s var(--ireclam-ease) infinite;
  border-radius: var(--ireclam-radius-sm);
}
@keyframes ireclam-shimmer {
  to { background-position: -200% 0; }
}

/* Reduced motion: respect user preferences */
@media (prefers-reduced-motion: reduce) {
  .ireclam-card-hover,
  .wp-element-button,
  .ireclam-process-icon-box,
  .ireclam-skeleton {
    transition: none !important;
    animation: none !important;
  }
  .ireclam-card-hover::before {
    display: none;
  }
}

/* Layered surface (premium depth without heavy shadows) */
.ireclam-surface-layered {
  background: linear-gradient(180deg, #ffffff, #f7fafc);
  border: 1px solid rgba(100,116,139,0.18);
  box-shadow: 0 1px 0 rgba(255,255,255,0.7) inset, var(--ireclam-shadow);
  border-radius: var(--ireclam-radius-md);
}

/* ==========================================================================
   16. Accessibility
   ========================================================================== */

.skip-link {
  position: absolute;
  top: -100%;
  left: 0;
  z-index: 999;
  padding: 0.75rem 1.5rem;
  background: var(--ireclam-primary-light);
  color: var(--ireclam-navy);
  font-weight: 600;
  text-decoration: none;
}
.skip-link:focus { top: 0; }

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

/* ==========================================================================
   17. Utilities
   ========================================================================== */

.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;
}

@media (max-width: 767px) {
  .hide-mobile { display: none !important; }
}
@media (min-width: 768px) {
  .hide-desktop { display: none !important; }
}

/* ==========================================================================
   18. Link CTA (Stripe/Linear style — arrow slides on hover)
   ========================================================================== */

/* Global: all links with → arrow in patterns get the animated style */
.wp-block-group a[href]:not(.wp-element-button):not(.wp-block-button__link) {
  /* Don't override button links */
}

/* Specific link-cta class for pattern links */
.ireclam-link-cta,
.has-accent-color a,
a.ireclam-link-cta {
  color: var(--ireclam-primary) !important;
  text-decoration: none !important;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: gap 0.25s ease, color 0.2s ease;
}
.ireclam-link-cta:hover,
.has-accent-color a:hover {
  color: var(--ireclam-navy) !important;
  gap: 10px;
}

/* Arrow animation for any link ending with → */
.ireclam-link-cta::after {
  content: '→';
  display: inline-block;
  transition: transform 0.25s ease;
}
.ireclam-link-cta:hover::after {
  transform: translateX(4px);
}

/* Theme-level: style all "Meer info →" type links in patterns */
.ireclam-card-hover .has-accent-color a,
.ireclam-card-hover a[href*="→"],
.wp-block-column .has-accent-color a {
  color: var(--ireclam-primary) !important;
  text-decoration: none !important;
  font-weight: 600;
  transition: color 0.2s ease;
}
.ireclam-card-hover .has-accent-color a:hover,
.ireclam-card-hover a[href*="→"]:hover,
.wp-block-column .has-accent-color a:hover {
  color: var(--ireclam-navy) !important;
}

/* ==========================================================================
   19. Sources / Citations Block
   ========================================================================== */

.ireclam-sources {
  background: #ffffff;
  border: 1px solid var(--ireclam-border);
  border-radius: var(--ireclam-radius-md);
  overflow: hidden;
}

.ireclam-sources-header {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 16px 24px;
  border-bottom: 1px solid var(--ireclam-border);
  background: rgba(4, 120, 87, 0.03);
}
.ireclam-sources-icon {
  color: var(--ireclam-primary);
}
.ireclam-sources-label {
  font-family: var(--ireclam-font-body);
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--ireclam-navy);
}

.ireclam-sources-list {
  display: flex;
  flex-direction: column;
}
.ireclam-sources-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
}
@media (max-width: 768px) {
  .ireclam-sources-grid {
    grid-template-columns: 1fr;
  }
}

.ireclam-source-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 16px 24px;
  text-decoration: none !important;
  border-bottom: 1px solid var(--ireclam-border);
  transition: background-color 0.2s ease;
}
.ireclam-source-item:last-child {
  border-bottom: none;
}
.ireclam-source-item:hover {
  background: rgba(4, 120, 87, 0.03);
}

.ireclam-source-number {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: rgba(4, 120, 87, 0.08);
  color: var(--ireclam-primary);
  font-family: var(--ireclam-font-body);
  font-size: 0.8rem;
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 2px;
}

.ireclam-source-content {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.ireclam-source-title {
  font-family: var(--ireclam-font-body);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--ireclam-navy);
}
.ireclam-source-desc {
  font-family: var(--ireclam-font-body);
  font-size: 0.8rem;
  color: var(--ireclam-muted);
}
.ireclam-source-domain {
  font-family: var(--ireclam-font-body);
  font-size: 0.75rem;
  color: var(--ireclam-primary);
  display: flex;
  align-items: center;
  gap: 4px;
}
.ireclam-source-arrow {
  transition: transform 0.2s ease;
}
.ireclam-source-item:hover .ireclam-source-arrow {
  transform: translate(2px, -2px);
}
.ireclam-source-item:hover .ireclam-source-title {
  color: var(--ireclam-primary);
}

/* ==========================================================================
   20. Certifications Row
   ========================================================================== */

.ireclam-certs-row {
  display: flex;
  justify-content: center;
  gap: 48px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  align-items: flex-start;
}

.ireclam-cert-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  width: 120px;
}

.ireclam-cert-circle {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--wp--preset--color--bg, #fff);
  border: 1px solid var(--ireclam-border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ireclam-primary);
  margin-bottom: 12px;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}
.ireclam-cert-item:hover .ireclam-cert-circle {
  border-color: rgba(4, 120, 87, 0.4);
  box-shadow: 0 4px 12px rgba(4, 120, 87, 0.1);
}

.ireclam-cert-label {
  font-family: var(--ireclam-font-body);
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--ireclam-navy);
  margin-bottom: 2px;
}

.ireclam-cert-sublabel {
  font-family: var(--ireclam-font-body);
  font-size: 0.75rem;
  color: var(--ireclam-muted);
}

/* Dark variant (navy background) */
.ireclam-certs-dark .ireclam-cert-circle {
  background: transparent;
  border-color: rgba(255,255,255,0.15);
  color: #34D399;
}
.ireclam-certs-dark .ireclam-cert-item:hover .ireclam-cert-circle {
  border-color: rgba(52, 211, 153, 0.5);
  box-shadow: 0 4px 16px rgba(52, 211, 153, 0.15);
}
.ireclam-certs-dark .ireclam-cert-label {
  color: #FFFFFF;
}
.ireclam-certs-dark .ireclam-cert-sublabel {
  color: rgba(255,255,255,0.6);
}

/* Animated SVG background wrapper */
.ireclam-animated-bg-wrap {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}
.ireclam-animated-bg-wrap svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

@media (max-width: 768px) {
  .ireclam-certs-row {
    flex-wrap: wrap;
    gap: 24px;
  }
  .ireclam-cert-item {
    width: calc(33% - 16px);
  }
}

/* ==========================================================================
   21. Image Rounded
   ========================================================================== */

.is-style-rounded img {
  border-radius: 16px;
}

/* All content images 1:1 aspect ratio */
.entry-content .wp-block-image img,
.entry-content .wp-block-column .wp-block-image img {
  aspect-ratio: 1 / 1;
  object-fit: cover;
}

/* Separator wide */
.is-style-wide {
  width: 100% !important;
  max-width: none;
}

/* ==========================================================================
   22. Design Upgrade v6.0 — Visual Impact & Premium Polish
   Multi-LLM consensus: GPT-5.2, Grok 4, Gemini 2.5, Perplexity, etc.
   ========================================================================== */

/* -- 22a. Color Tints (no new colors, just tints of existing) -- */
:root {
  --ireclam-tint-teal: color-mix(in oklab, var(--ireclam-primary) 10%, white);
  --ireclam-tint-green: color-mix(in oklab, var(--ireclam-primary-light) 14%, white);
  --ireclam-tint-navy: color-mix(in oklab, var(--ireclam-navy) 6%, white);
  --ireclam-line: color-mix(in oklab, var(--ireclam-navy) 14%, transparent);
}

/* -- 22b. Section Rhythm (alternating backgrounds) -- */
.ireclam-section-tinted {
  background: var(--ireclam-tint-green);
}
.ireclam-section-muted {
  background: var(--ireclam-tint-navy);
}

/* -- 22c. Eyebrow Labels (section headers) -- */
.ireclam-eyebrow {
  display: block;
  font-family: var(--ireclam-font-body);
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--ireclam-primary);
  margin-bottom: 8px;
}
.ireclam-navy-section .ireclam-eyebrow {
  color: var(--ireclam-primary-light);
}

/* -- 22d. Section Divider (wave/organic) -- */
.ireclam-section-divider {
  position: relative;
}
.ireclam-section-divider::after {
  content: '';
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 100%;
  height: 48px;
  background: linear-gradient(135deg,
    color-mix(in oklab, var(--ireclam-primary-light) 8%, transparent) 0%,
    transparent 50%);
  clip-path: polygon(0 60%, 15% 40%, 30% 55%, 50% 35%, 70% 50%, 85% 38%, 100% 55%, 100% 100%, 0 100%);
  pointer-events: none;
}

/* -- 22e. Hero Glow Enhancement (gradient orbs) -- */
.ireclam-glow-section {
  overflow: hidden;
}
.ireclam-glow-section::before {
  content: '';
  position: absolute;
  top: -10%;
  right: -5%;
  width: 700px;
  height: 700px;
  border-radius: 50%;
  background: radial-gradient(circle,
    rgba(4, 120, 87, 0.25) 0%,
    rgba(52, 211, 153, 0.1) 40%,
    transparent 70%);
  pointer-events: none;
  z-index: 0;
  filter: blur(60px);
}
.ireclam-glow-section::after {
  content: '';
  position: absolute;
  bottom: -5%;
  left: -3%;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle,
    rgba(37, 99, 235, 0.15) 0%,
    rgba(37, 99, 235, 0.05) 40%,
    transparent 70%);
  pointer-events: none;
  z-index: 0;
  filter: blur(60px);
}
.ireclam-glow-section > * {
  position: relative;
  z-index: 1;
}

/* -- 22f. Brand Motif (subtle background pattern) -- */
.ireclam-brand-motif {
  position: relative;
}
.ireclam-brand-motif::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 20% 30%, var(--ireclam-primary) 1px, transparent 1px),
    radial-gradient(circle at 80% 70%, var(--ireclam-primary) 1px, transparent 1px),
    radial-gradient(circle at 60% 20%, var(--ireclam-accent) 0.5px, transparent 0.5px);
  background-size: 120px 120px, 100px 100px, 80px 80px;
  opacity: 0.03;
  pointer-events: none;
  z-index: 0;
}

/* -- 22g. Scroll Reveal Animations -- */
@media (prefers-reduced-motion: no-preference) {
  .ireclam-reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.6s var(--ireclam-ease), transform 0.6s var(--ireclam-ease);
  }
  .ireclam-reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
  }
  /* Stagger children */
  .ireclam-reveal-stagger > .wp-block-column:nth-child(1) { transition-delay: 0s; }
  .ireclam-reveal-stagger > .wp-block-column:nth-child(2) { transition-delay: 0.1s; }
  .ireclam-reveal-stagger > .wp-block-column:nth-child(3) { transition-delay: 0.2s; }
  .ireclam-reveal-stagger > .wp-block-column:nth-child(4) { transition-delay: 0.3s; }
  .ireclam-reveal-stagger > .wp-block-column:nth-child(5) { transition-delay: 0.4s; }
  .ireclam-reveal-stagger > .wp-block-column:nth-child(6) { transition-delay: 0.5s; }

  .ireclam-reveal-stagger > .wp-block-column {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.5s var(--ireclam-ease), transform 0.5s var(--ireclam-ease);
  }
  .ireclam-reveal-stagger.is-visible > .wp-block-column {
    opacity: 1;
    transform: translateY(0);
  }

  /* FAQ stagger */
  .ireclam-reveal-stagger > .wp-block-details {
    opacity: 0;
    transform: translateY(16px);
    transition: opacity 0.4s var(--ireclam-ease), transform 0.4s var(--ireclam-ease);
  }
  .ireclam-reveal-stagger.is-visible > .wp-block-details {
    opacity: 1;
    transform: translateY(0);
  }
  .ireclam-reveal-stagger > .wp-block-details:nth-child(1) { transition-delay: 0s; }
  .ireclam-reveal-stagger > .wp-block-details:nth-child(2) { transition-delay: 0.08s; }
  .ireclam-reveal-stagger > .wp-block-details:nth-child(3) { transition-delay: 0.16s; }
  .ireclam-reveal-stagger > .wp-block-details:nth-child(4) { transition-delay: 0.24s; }
  .ireclam-reveal-stagger > .wp-block-details:nth-child(5) { transition-delay: 0.32s; }
  .ireclam-reveal-stagger > .wp-block-details:nth-child(6) { transition-delay: 0.4s; }
  .ireclam-reveal-stagger > .wp-block-details:nth-child(7) { transition-delay: 0.48s; }
}

/* -- 22h. Enhanced Card Depth -- */
.ireclam-card-hover {
  border: 1px solid color-mix(in oklab, var(--ireclam-navy) 10%, transparent);
}
.ireclam-card-hover:hover {
  border-color: color-mix(in oklab, var(--ireclam-primary-light) 40%, transparent);
  box-shadow:
    0 4px 12px rgba(16,34,34,0.06),
    0 16px 40px rgba(16,34,34,0.10);
  transform: translateY(-4px);
}

/* Icon box accent on hover */
.ireclam-card-hover .ireclam-icon-box {
  transition: background-color 0.3s var(--ireclam-ease),
              color 0.3s var(--ireclam-ease),
              transform 0.3s var(--ireclam-ease);
}
.ireclam-card-hover:hover .ireclam-icon-box {
  transform: scale(1.08);
}

/* -- 22i. Typography Enhancement -- */
.ireclam-display-heading {
  font-family: var(--ireclam-font-heading);
  letter-spacing: -0.02em;
  line-height: 1.05;
}

/* Prose container for optimal reading */
.ireclam-prose {
  max-width: 65ch;
}
.ireclam-prose p {
  line-height: 1.65;
}

/* -- 22j. CTA Button Shine Effect -- */
.wp-block-button:not(.is-style-secondary):not(.is-style-ghost) .wp-element-button {
  position: relative;
  overflow: hidden;
}
.wp-block-button:not(.is-style-secondary):not(.is-style-ghost) .wp-element-button::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
  transition: left 0.5s ease;
  pointer-events: none;
}
.wp-block-button:not(.is-style-secondary):not(.is-style-ghost) .wp-element-button:hover::after {
  left: 100%;
}

/* -- 22k. Trust Row / Logo Strip Enhancement -- */
.ireclam-trust-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 32px;
  flex-wrap: wrap;
  padding: 24px 0;
}
.ireclam-trust-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--ireclam-font-body);
  font-size: 0.85rem;
  font-weight: 600;
  color: rgba(241, 245, 249, 0.7);
}
.ireclam-trust-item .ireclam-icon {
  color: var(--ireclam-primary-light);
}

/* On light backgrounds */
.ireclam-trust-row--light .ireclam-trust-item {
  color: var(--ireclam-muted);
}
.ireclam-trust-row--light .ireclam-trust-item .ireclam-icon {
  color: var(--ireclam-primary);
}

/* -- 22l. Enhanced USP Cards (icon + title inline, with subtle card) -- */
.ireclam-usp-card {
  padding: var(--wp--preset--spacing--24);
  border-radius: var(--ireclam-radius-md);
  border: 1px solid transparent;
  transition: border-color 0.3s var(--ireclam-ease),
              background-color 0.3s var(--ireclam-ease),
              transform 0.3s var(--ireclam-ease);
}
.ireclam-usp-card:hover {
  border-color: color-mix(in oklab, var(--ireclam-primary) 20%, transparent);
  background: color-mix(in oklab, var(--ireclam-primary) 4%, white);
  transform: translateY(-2px);
}
.ireclam-usp-card .ireclam-icon {
  transition: transform 0.3s var(--ireclam-ease);
}
.ireclam-usp-card:hover .ireclam-icon {
  transform: scale(1.15) rotate(5deg);
}

/* -- 22l. Rank Math FAQ Block — standalone (niet in FAQ sectie) verbergen -- */
body > .entry-content > #rank-math-faq.rank-math-block,
body > .entry-content > .wp-block-rank-math-faq-block {
  display: none !important;
}

/* -- 22m. FAQ Enhancement -- */
.wp-block-details {
  transition: border-color 0.3s ease, box-shadow 0.3s ease, background-color 0.3s ease;
}
.wp-block-details:hover {
  border-color: rgba(4, 120, 87, 0.25) !important;
  box-shadow: 0 2px 12px rgba(4, 120, 87, 0.06);
}
.wp-block-details[open] {
  border-color: rgba(4, 120, 87, 0.3) !important;
  background: color-mix(in oklab, var(--ireclam-primary) 2%, white) !important;
}
.wp-block-details summary {
  transition: color 0.2s ease;
}
.wp-block-details:hover summary {
  color: var(--ireclam-primary);
}

/* -- 22n. Hero Mark Styling -- */
.ireclam-navy-section mark,
.has-navy-background-color mark {
  background: linear-gradient(135deg,
    color-mix(in oklab, var(--ireclam-primary-light) 25%, transparent),
    color-mix(in oklab, var(--ireclam-primary-light) 15%, transparent));
  color: var(--ireclam-primary-light);
  padding: 0 4px;
  border-radius: 4px;
}

/* -- 22n2. Navy Section Dot Grid Overlay -- */
.ireclam-navy-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(52, 211, 153, 0.15) 1px, transparent 1px);
  background-size: 32px 32px;
  pointer-events: none;
  z-index: 0;
  mask-image: radial-gradient(ellipse 70% 50% at 50% 50%, black 10%, transparent 60%);
  -webkit-mask-image: radial-gradient(ellipse 70% 50% at 50% 50%, black 10%, transparent 60%);
}
.ireclam-navy-section > * {
  position: relative;
  z-index: 1;
}

/* -- 22n3. Stats Animated SVG Background -- */
/* Lead Form Section — base (achtergrond via lead-form-demos.css) */

.ireclam-stats-animated {
  position: relative;
}
.ireclam-stats-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
}

/* -- 22o. Floating Accent Shapes (decorative, hero/sections) -- */
.ireclam-accent-shape {
  position: absolute;
  border-radius: 40% 60% 70% 30% / 40% 50% 60% 50%;
  pointer-events: none;
  z-index: 0;
}
.ireclam-accent-shape--1 {
  width: 400px;
  height: 400px;
  background: linear-gradient(135deg, var(--ireclam-primary), var(--ireclam-primary-light));
  opacity: 0.12;
  top: 5%;
  right: 8%;
  filter: blur(80px);
}
.ireclam-accent-shape--2 {
  width: 350px;
  height: 350px;
  background: linear-gradient(135deg, var(--ireclam-accent), var(--ireclam-primary));
  opacity: 0.08;
  bottom: 10%;
  left: 5%;
  filter: blur(70px);
}

@media (prefers-reduced-motion: no-preference) {
  .ireclam-accent-shape {
    animation: ireclam-float 8s ease-in-out infinite;
  }
  .ireclam-accent-shape--2 {
    animation-delay: -4s;
    animation-duration: 10s;
  }
  @keyframes ireclam-float {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-16px) rotate(5deg); }
  }
}

/* ==========================================================================
   23. Auto Section Background Alternation (white ↔ surface)
   Skips navy sections. CSS nth-child approach — zero PHP manipulation.
   ========================================================================== */

/* Original auto alternation — sections alternate white/surface */
.entry-content > .wp-block-group.alignfull:not(.ireclam-navy-section):not(.has-navy-background-color):not(.ireclam-lead-form-section):not(.ireclam-bg-override):nth-child(odd) {
  background-color: #ffffff !important;
}
.entry-content > .wp-block-group.alignfull:not(.ireclam-navy-section):not(.has-navy-background-color):not(.ireclam-lead-form-section):not(.ireclam-bg-override):nth-child(even) {
  background-color: #F8FAFC !important;
}

/* Cards: always opposite of section background for contrast */
.entry-content > .wp-block-group.alignfull:not(.ireclam-navy-section):not(.has-navy-background-color):nth-child(odd) .ireclam-card-hover:not(.ireclam-pricing-featured) {
  background: #F8FAFC !important;
}
.entry-content > .wp-block-group.alignfull:not(.ireclam-navy-section):not(.has-navy-background-color):nth-child(even) .ireclam-card-hover:not(.ireclam-pricing-featured) {
  background: #fff !important;
}
.entry-content > .wp-block-group.alignfull:not(.ireclam-navy-section):not(.has-navy-background-color):nth-child(odd) .ireclam-process-content {
  background: #F8FAFC !important;
}
.entry-content > .wp-block-group.alignfull:not(.ireclam-navy-section):not(.has-navy-background-color):nth-child(even) .ireclam-process-content {
  background: #fff !important;
}
.entry-content > .wp-block-group.alignfull:not(.ireclam-navy-section):not(.has-navy-background-color):nth-child(odd) .ireclam-author-box,
.entry-content > .wp-block-group.alignfull:not(.ireclam-navy-section):not(.has-navy-background-color):nth-child(odd) .ireclam-pricing-card,
.entry-content > .wp-block-group.alignfull:not(.ireclam-navy-section):not(.has-navy-background-color):nth-child(odd) .ireclam-stat-card {
  background: #F8FAFC !important;
}
.entry-content > .wp-block-group.alignfull:not(.ireclam-navy-section):not(.has-navy-background-color):nth-child(even) .ireclam-author-box,
.entry-content > .wp-block-group.alignfull:not(.ireclam-navy-section):not(.has-navy-background-color):nth-child(even) .ireclam-pricing-card,
.entry-content > .wp-block-group.alignfull:not(.ireclam-navy-section):not(.has-navy-background-color):nth-child(even) .ireclam-stat-card {
  background: #fff !important;
}
.entry-content > .wp-block-group.alignfull:not(.ireclam-navy-section):not(.has-navy-background-color):nth-child(odd) .rank-math-list-item {
  background: #F8FAFC !important;
}
.entry-content > .wp-block-group.alignfull:not(.ireclam-navy-section):not(.has-navy-background-color):nth-child(even) .rank-math-list-item {
  background: #fff !important;
}

/* Navy section stat cards: transparent with subtle white border */
.ireclam-navy-section .ireclam-stat-card,
.has-navy-background-color .ireclam-stat-card {
  background: rgba(255, 255, 255, 0.06) !important;
  border-color: rgba(255, 255, 255, 0.12) !important;
}

/* Nested stats-grid inside testimonials: make wrapper transparent, only cards get color */
.wp-block-column .wp-block-group.alignfull.has-surface-background-color {
  background-color: transparent !important;
  padding: 0 !important;
}

/* ==========================================================================
   24. Rank Math FAQ Block Styling (FAQPage schema + visual design)
   Matches the data-faq pattern design: accordion, surface bg, eyebrow.
   ========================================================================== */

/* Wrapper — constrain width, vertical stack with gap */
.rank-math-block {
  max-width: 800px !important;
  margin: 0 auto !important;
  padding: 0 !important;
}
.rank-math-list {
  max-width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 16px !important;
}

/* Individual FAQ items — card style */
.rank-math-list-item {
  border: 1px solid rgba(100, 116, 139, 0.12) !important;
  border-radius: 12px !important;
  background: #F8FAFC !important;
  padding: 20px 28px !important;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
  cursor: pointer;
  width: 100% !important;
  box-sizing: border-box !important;
}
.rank-math-list-item:hover {
  border-color: rgba(4, 120, 87, 0.25) !important;
  box-shadow: 0 2px 12px rgba(4, 120, 87, 0.06);
}

/* Question (h3) — with chevron */
.rank-math-list-item .rank-math-question {
  font-family: var(--ireclam-font-body) !important;
  font-size: 1rem !important;
  font-weight: 600 !important;
  color: var(--ireclam-navy) !important;
  margin: 0 !important;
  display: flex;
  align-items: center;
  gap: 12px;
}
.rank-math-list-item .rank-math-question::before {
  content: '▶';
  font-size: 0.55rem;
  color: var(--ireclam-muted);
  flex-shrink: 0;
  transition: transform 0.25s ease, color 0.25s ease;
}

/* Answer — hidden by default (accordion) */
.rank-math-list-item .rank-math-answer {
  font-family: var(--ireclam-font-body);
  font-size: 0.9rem;
  line-height: 1.7;
  color: var(--ireclam-muted);
  padding: 0 0 0 28px;
  margin: 0;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding-top 0.3s ease;
}
.rank-math-list-item .rank-math-answer p {
  margin: 0;
  color: var(--ireclam-muted);
}

/* Open state */
.rank-math-list-item.is-open .rank-math-answer {
  max-height: 500px;
  padding-top: 12px;
}
.rank-math-list-item.is-open .rank-math-question::before {
  transform: rotate(90deg);
  color: var(--ireclam-primary);
}
.rank-math-list-item.is-open {
  border-color: rgba(4, 120, 87, 0.2) !important;
  background: #ffffff !important;
  box-shadow: 0 2px 12px rgba(4, 120, 87, 0.06);
}

/* ==========================================================================
   25. Comparison Table (modern card style, highlight column)
   ========================================================================== */

.ireclam-compare-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border-radius: 12px;
  border: 1px solid var(--ireclam-border);
  box-shadow: 0 4px 20px rgba(16,34,34,0.06);
  background: #fff;
}

.ireclam-compare {
  width: 100%;
  border-collapse: collapse;
  font-family: var(--ireclam-font-body);
  font-size: 0.9rem;
}

/* Header */
.ireclam-compare thead th {
  padding: 18px 20px;
  font-family: var(--ireclam-font-heading);
  font-weight: 600;
  font-size: 0.85rem;
  letter-spacing: 0.02em;
  color: var(--ireclam-navy);
  background: var(--ireclam-surface);
  border-bottom: 2px solid var(--ireclam-border);
  text-align: center;
  position: relative;
}
.ireclam-compare thead th.ireclam-compare__feature {
  text-align: left;
  width: 40%;
}

/* Highlight column (iReclam) */
.ireclam-compare__highlight {
  background: rgba(4, 120, 87, 0.05) !important;
  border-left: 2px solid rgba(4, 120, 87, 0.2);
}
.ireclam-compare thead th.ireclam-compare__highlight {
  background: rgba(4, 120, 87, 0.1) !important;
  color: var(--ireclam-primary);
}

/* Aanbevolen badge */
.ireclam-compare__badge {
  display: inline-block;
  font-size: 0.6rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #fff;
  background: var(--ireclam-primary);
  padding: 3px 10px;
  border-radius: 9999px;
  margin-bottom: 6px;
}

/* Body rows */
.ireclam-compare tbody td {
  padding: 16px 20px;
  border-bottom: 1px solid var(--ireclam-border);
  text-align: center;
  vertical-align: middle;
}
.ireclam-compare tbody td.ireclam-compare__feature {
  text-align: left;
  font-weight: 500;
  color: var(--ireclam-navy);
}
.ireclam-compare tbody tr:last-child td {
  border-bottom: none;
}
.ireclam-compare tbody tr:nth-child(even) td {
  background: rgba(248, 250, 252, 0.5);
}
.ireclam-compare tbody tr:nth-child(even) td.ireclam-compare__highlight {
  background: rgba(4, 120, 87, 0.05);
}

/* Hover */
.ireclam-compare tbody tr {
  transition: background-color 0.2s ease;
}
.ireclam-compare tbody tr:hover td {
  background: rgba(4, 120, 87, 0.03);
}

/* Pill badges (yes/no) */
.ireclam-compare__pill {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 0.8rem;
  font-weight: 600;
  padding: 4px 12px;
  border-radius: 9999px;
  white-space: nowrap;
}
.ireclam-compare__pill--yes {
  color: var(--ireclam-primary);
  background: rgba(4, 120, 87, 0.1);
}
.ireclam-compare__pill--no {
  color: var(--ireclam-muted);
  background: rgba(100, 116, 139, 0.08);
}

/* Text values */
.ireclam-compare__text {
  font-weight: 600;
  color: var(--ireclam-navy);
}

/* Mobile */
@media (max-width: 640px) {
  .ireclam-compare-wrap {
    border-radius: 8px;
  }
  .ireclam-compare {
    min-width: 520px;
  }
}

/* ==========================================================================
   24. Contact Form 7 Styling (iReclam design system)
   ========================================================================== */

.wpcf7 {
  max-width: 800px;
  margin: 0 auto;
  background: rgba(255, 255, 255, 0.85);
  border-radius: 20px;
  box-shadow: 0 4px 24px rgba(16, 34, 34, 0.08);
  padding: 36px 32px;
  backdrop-filter: blur(10px);
}

.wpcf7-form label {
  display: block;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--ireclam-navy, #102222);
  margin-bottom: 6px;
  font-family: var(--wp--preset--font-family--inter);
}

.wpcf7-form input[type="text"],
.wpcf7-form input[type="email"],
.wpcf7-form input[type="tel"],
.wpcf7-form select,
.wpcf7-form textarea {
  width: 100%;
  padding: 12px 16px;
  border: none;
  border-radius: 10px;
  font-size: 0.9rem;
  font-family: var(--wp--preset--font-family--inter);
  color: var(--ireclam-navy, #102222);
  background: #F1F5F9;
  box-sizing: border-box;
  transition: box-shadow 0.2s, background 0.2s;
  margin-bottom: 4px;
}

.wpcf7-form input[type="text"]:focus,
.wpcf7-form input[type="email"]:focus,
.wpcf7-form input[type="tel"]:focus,
.wpcf7-form select:focus,
.wpcf7-form textarea:focus {
  outline: none;
  box-shadow: 0 0 0 2px rgba(4, 120, 87, 0.15);
  background: #EDF2F7;
}

.wpcf7-form input::placeholder,
.wpcf7-form textarea::placeholder {
  color: #94A3B8;
}

.wpcf7-form textarea {
  min-height: 100px;
  resize: vertical;
}

.wpcf7-form select {
  appearance: auto;
  cursor: pointer;
}

.wpcf7-form p {
  margin-bottom: 0;
  margin-top: 0;
}

.wpcf7-form br {
  display: none;
}

/* Two-column row for name fields */
.ireclam-cf7-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
@media (max-width: 480px) {
  .ireclam-cf7-row {
    grid-template-columns: 1fr;
  }
}

/* File upload */
.wpcf7-form input[type="file"] {
  width: 100%;
  padding: 12px 16px;
  border: none;
  border-radius: 10px;
  background: #F1F5F9;
  cursor: pointer;
  margin-bottom: 4px;
  font-size: 0.85rem;
  font-family: var(--wp--preset--font-family--inter);
  color: var(--ireclam-muted, #64748B);
  box-sizing: border-box;
  transition: background 0.2s;
}

.wpcf7-form input[type="file"]:hover {
  background: #EDF2F7;
}

/* Submit button */
.wpcf7-form input[type="submit"],
.wpcf7-form .wpcf7-submit {
  display: block;
  width: 100%;
  padding: 14px 24px;
  background: var(--ireclam-navy, #102222);
  color: #F1F5F9 !important;
  font-weight: 700;
  font-size: 1rem;
  font-family: var(--wp--preset--font-family--inter);
  border: none;
  border-radius: 10px;
  cursor: pointer;
  transition: background 0.2s, transform 0.2s, box-shadow 0.2s;
  box-shadow: 0 6px 14px rgba(16,34,34,0.15);
  margin-top: 12px;
}

.wpcf7-form input[type="submit"]:hover,
.wpcf7-form .wpcf7-submit:hover {
  background: var(--ireclam-navy-surface, #1a2f2f);
  transform: translateY(-1px);
  box-shadow: 0 10px 22px rgba(16,34,34,0.20);
}

.wpcf7-form input[type="submit"]:active,
.wpcf7-form .wpcf7-submit:active {
  transform: translateY(0);
}

/* Spinner */
.wpcf7-spinner {
  margin: 12px auto 0;
  display: block;
}

/* Validation messages */
.wpcf7-not-valid-tip {
  color: #DC2626;
  font-size: 0.75rem;
  margin-top: 2px;
  margin-bottom: 4px;
  display: block;
}

.wpcf7-response-output {
  padding: 14px;
  border-radius: 8px;
  font-size: 0.85rem;
  margin-top: 12px;
}

.wpcf7-form.sent .wpcf7-response-output {
  background: rgba(4, 120, 87, 0.08);
  border: 1px solid var(--ireclam-primary, #047857);
  color: var(--ireclam-primary, #047857);
}

.wpcf7-form.failed .wpcf7-response-output,
.wpcf7-form.invalid .wpcf7-response-output {
  background: rgba(220, 38, 38, 0.08);
  border: 1px solid #DC2626;
  color: #DC2626;
}

/* Checkbox group (diensten selector) */
.wpcf7-form .wpcf7-checkbox {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 4px;
}

.wpcf7-form .wpcf7-checkbox .wpcf7-list-item {
  margin: 0;
}

.wpcf7-form .wpcf7-checkbox .wpcf7-list-item label {
  display: flex;
  align-items: center;
  gap: 6px;
  background: #F1F5F9;
  border-radius: 8px;
  padding: 8px 14px;
  font-size: 0.85rem;
  font-weight: 500;
  cursor: pointer;
  transition: background 0.2s, box-shadow 0.2s;
  margin-bottom: 0;
}

.wpcf7-form .wpcf7-checkbox .wpcf7-list-item label:hover {
  background: #EDF2F7;
}

.wpcf7-form .wpcf7-checkbox input[type="checkbox"] {
  accent-color: var(--ireclam-primary, #047857);
  width: 16px;
  height: 16px;
}

.wpcf7-form .wpcf7-checkbox input[type="checkbox"]:checked + .wpcf7-list-item-label {
  color: var(--ireclam-primary, #047857);
  font-weight: 600;
}

/* Select dropdown */
.wpcf7-form select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath d='M2 4l4 4 4-4' fill='none' stroke='%2364748B' stroke-width='1.5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 36px;
}

/* -- 22p-pre. Problem/Solution icon styling -- */
.ireclam-ps-problem .ireclam-icon {
  color: #DC2626;
  stroke-width: 3;
  width: 1.25rem;
  height: 1.25rem;
}
.ireclam-ps-solution .ireclam-icon {
  color: #059669;
  stroke-width: 3;
  width: 1.25rem;
  height: 1.25rem;
}

/* -- 22p. Problem/Solution Card Enhancement -- */
.ireclam-ps-card {
  transition: transform 0.3s var(--ireclam-ease), box-shadow 0.3s var(--ireclam-ease);
}
.ireclam-ps-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 30px rgba(16,34,34,0.08);
}

/* Problem card: light red background */
.ireclam-ps-problem {
  background: color-mix(in oklab, var(--ireclam-danger) 6%, white);
  border: 1px solid color-mix(in oklab, var(--ireclam-danger) 12%, transparent);
}
.ireclam-ps-problem:hover {
  border-color: color-mix(in oklab, var(--ireclam-danger) 25%, transparent);
}

/* Solution card: light green background */
.ireclam-ps-solution {
  background: color-mix(in oklab, var(--ireclam-primary) 6%, white);
  border: 1px solid color-mix(in oklab, var(--ireclam-primary) 12%, transparent);
}
.ireclam-ps-solution:hover {
  border-color: color-mix(in oklab, var(--ireclam-primary) 25%, transparent);
}

/* ==========================================================================
   Pattern Hero: hide template-level post title when data-hero is used
   Prevents duplicate H1 (template H1 + hero pattern H1)
   ========================================================================== */
/* ==========================================================================
   Pattern-based posts: hide legacy single.html elements when data-hero active
   ========================================================================== */

/* Hide legacy single.html elements (header, image, post-nav) */
.has-pattern-hero .single-legacy-header,
.has-pattern-hero .single-legacy-image,
.has-pattern-hero .single-post-nav,
.has-pattern-hero .wp-block-post-title,
.has-pattern-hero .wp-block-post-terms,
.has-pattern-hero .wp-block-template-part[data-slug="post-meta"],
.has-pattern-hero .entry-title,
.has-pattern-hero .wp-block-post-featured-image {
  display: none;
}

/* Pattern-based posts: post-content full-width (patterns have own constraints) */
.has-pattern-hero .wp-block-post-content {
  max-width: none;
  padding-left: 0;
  padding-right: 0;
}

/* Pattern-based posts: full-width sections can break out */
.has-pattern-hero .wp-block-post-content > .alignfull {
  max-width: none;
  width: 100%;
  margin-left: 0;
  margin-right: 0;
}

/* Pattern-based posts: constrained content within full-width sections */
.has-pattern-hero .wp-block-post-content > .alignfull > .wp-block-group-is-layout-constrained {
  max-width: var(--wp--style--global--content-size, 1200px);
  margin-left: auto;
  margin-right: auto;
}

/* ==========================================================================
   17. Article Body (long-form blog content)
   ========================================================================== */

.ireclam-article-body {
  font-family: var(--ireclam-font-body);
  color: var(--ireclam-navy);
  line-height: 1.75;
  font-size: 1.05rem;
}

.ireclam-article-body h2 {
  font-family: var(--ireclam-font-heading);
  font-size: clamp(1.4rem, 3vw, 2rem);
  font-weight: 600;
  color: var(--ireclam-navy);
  margin: 2.5rem 0 1rem;
  line-height: 1.25;
}

.ireclam-article-body h3 {
  font-family: var(--ireclam-font-heading);
  font-size: clamp(1.1rem, 2.5vw, 1.4rem);
  font-weight: 600;
  color: var(--ireclam-navy);
  margin: 2rem 0 0.75rem;
  line-height: 1.3;
}

.ireclam-article-body p {
  margin: 0 0 1.25rem;
  color: var(--ireclam-muted);
}

.ireclam-article-body ul,
.ireclam-article-body ol {
  margin: 0 0 1.5rem;
  padding-left: 1.5rem;
}

.ireclam-article-body li {
  margin-bottom: 0.5rem;
  color: var(--ireclam-muted);
  line-height: 1.65;
}

.ireclam-article-body li strong {
  color: var(--ireclam-navy);
}

.ireclam-article-body a {
  color: var(--ireclam-accent);
  text-decoration: underline;
  text-underline-offset: 2px;
  transition: color var(--ireclam-dur-2) var(--ireclam-ease);
}

.ireclam-article-body a:hover {
  color: var(--ireclam-primary);
}

/* Article section spacing */
.ireclam-article-section {
  margin-bottom: 1rem;
}

/* --- Table --- */
.ireclam-article-table-wrap {
  overflow-x: auto;
  margin: 1rem 0 1.5rem;
  border-radius: var(--ireclam-radius-md);
  border: 1px solid var(--ireclam-border);
}

.ireclam-article-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.95rem;
}

.ireclam-article-table th {
  background: var(--ireclam-surface);
  font-weight: 600;
  color: var(--ireclam-navy);
  text-align: left;
  padding: 0.75rem 1rem;
  border-bottom: 2px solid var(--ireclam-border);
  white-space: nowrap;
}

.ireclam-article-table td {
  padding: 0.65rem 1rem;
  border-bottom: 1px solid var(--ireclam-border);
  color: var(--ireclam-muted);
}

.ireclam-article-table tbody tr:last-child td {
  border-bottom: none;
}

.ireclam-article-table tbody tr:hover {
  background: rgba(248, 250, 252, 0.6);
}

.ireclam-article-footnote {
  font-size: 0.85rem;
  color: var(--ireclam-muted);
  font-style: italic;
  margin-top: -0.5rem;
}

/* --- Steps (reuses ireclam-process-steps design) --- */
/* Lists and tips within process-content cards */
.ireclam-process-content ul.ireclam-article-step-list {
  margin: 8px 0 0;
  padding-left: 1.25rem;
  list-style: disc;
}

.ireclam-process-content ul.ireclam-article-step-list li {
  font-size: 0.85rem;
  color: var(--ireclam-muted);
  line-height: 1.6;
  margin-bottom: 4px;
}

.ireclam-process-content ul.ireclam-article-step-list li strong {
  color: var(--ireclam-navy);
}

.ireclam-process-content p + p {
  margin-top: 8px;
}

/* Tip box inside process step */
.ireclam-article-tip {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  background: rgba(4, 120, 87, 0.06);
  border-radius: var(--ireclam-radius-sm);
  padding: 0.75rem 1rem;
  margin-top: 0.75rem;
  font-size: 0.85rem;
  color: var(--ireclam-primary);
  line-height: 1.5;
}

.ireclam-article-tip .ireclam-icon {
  flex-shrink: 0;
  margin-top: 2px;
}

/* Article body uses wider process steps */
.ireclam-article-body .ireclam-process-steps {
  max-width: 100%;
  padding: 0;
  margin-top: 1.5rem;
}

.ireclam-article-body .ireclam-process-content {
  max-width: none;
}

.ireclam-article-body .ireclam-process-content p {
  max-width: none;
}

/* --- Callout boxes --- */
.ireclam-article-callout {
  display: flex;
  gap: 1rem;
  padding: 1.25rem 1.5rem;
  border-radius: var(--ireclam-radius-md);
  margin: 1.5rem 0 2rem;
}

.ireclam-article-callout__icon {
  flex-shrink: 0;
  margin-top: 2px;
}

.ireclam-article-callout__icon .ireclam-icon {
  width: 24px;
  height: 24px;
}

.ireclam-article-callout__body {
  flex: 1;
  min-width: 0;
}

.ireclam-article-callout__body strong {
  display: block;
  margin-bottom: 0.25rem;
  color: inherit;
}

.ireclam-article-callout__body p {
  margin-bottom: 0.5rem;
  color: inherit;
  opacity: 0.85;
}

.ireclam-article-callout__body p:last-child {
  margin-bottom: 0;
}

/* Callout variants */
.ireclam-article-callout--info {
  background: rgba(37, 99, 235, 0.06);
  border-left: 3px solid var(--ireclam-accent);
  color: #1e40af;
}

.ireclam-article-callout--tip {
  background: rgba(4, 120, 87, 0.06);
  border-left: 3px solid var(--ireclam-primary);
  color: var(--ireclam-primary);
}

.ireclam-article-callout--warning {
  background: rgba(217, 119, 6, 0.06);
  border-left: 3px solid var(--ireclam-warning);
  color: #92400e;
}

.ireclam-article-callout--success {
  background: rgba(5, 150, 105, 0.06);
  border-left: 3px solid var(--ireclam-success);
  color: #065f46;
}

/* --- Mobile responsive --- */
@media (max-width: 600px) {
  .ireclam-article-step {
    flex-direction: column;
    gap: 0.75rem;
  }

  .ireclam-article-step__number {
    width: 40px;
    height: 40px;
    font-size: 1rem;
  }

  .ireclam-article-table {
    font-size: 0.85rem;
  }

  .ireclam-article-table th,
  .ireclam-article-table td {
    padding: 0.5rem 0.75rem;
  }

  .ireclam-article-callout {
    flex-direction: column;
    gap: 0.5rem;
  }
}

/* ==========================================================================
   Contact Split — Cards, Trust Signals, Socials
   ========================================================================== */

.ireclam-contact-info {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  height: 100%;
}

.ireclam-contact-intro {
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--ireclam-muted);
  margin: 0;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--ireclam-border);
}

/* --- Contact Cards --- */
.ireclam-contact-cards {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.ireclam-contact-card {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.25rem;
  background: #fff;
  border: 1px solid var(--ireclam-border);
  border-radius: var(--ireclam-radius-md);
  text-decoration: none;
  color: var(--ireclam-navy);
  transition: all 0.25s ease;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}

.ireclam-contact-card:hover {
  border-color: var(--ireclam-primary);
  box-shadow: 0 4px 12px rgba(4, 120, 87, 0.12);
  transform: translateY(-2px);
}

.ireclam-contact-card:active {
  transform: translateY(0);
}

/* Icon wrappers — kleur per type */
.ireclam-contact-card__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: var(--ireclam-radius-sm);
  flex-shrink: 0;
}

.ireclam-contact-card__icon .ireclam-icon {
  width: 22px;
  height: 22px;
}

.ireclam-contact-card__icon--email {
  background: #EFF6FF;
  color: var(--ireclam-accent);
}

.ireclam-contact-card__icon--phone {
  background: #F0FDF4;
  color: var(--ireclam-primary);
}

.ireclam-contact-card__icon--whatsapp {
  background: #F0FDF4;
  color: #10b981;
}

.ireclam-contact-card__icon--location {
  background: #FFFBEB;
  color: #D97706;
}

/* Icon SVG kleur overerven */
.ireclam-contact-card__icon svg {
  stroke: currentColor;
}

/* Tekst in card */
.ireclam-contact-card__content {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.ireclam-contact-card__label {
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--ireclam-muted);
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.ireclam-contact-card__value {
  font-size: 1rem;
  font-weight: 600;
  color: var(--ireclam-navy);
  line-height: 1.3;
}

/* Hover: left border accent per type */
.ireclam-contact-card:hover .ireclam-contact-card__icon--email {
  background: #DBEAFE;
}

.ireclam-contact-card:hover .ireclam-contact-card__icon--phone {
  background: #DCFCE7;
}

.ireclam-contact-card:hover .ireclam-contact-card__icon--whatsapp {
  background: #DCFCE7;
}

.ireclam-contact-card:hover .ireclam-contact-card__icon--location {
  background: #FEF3C7;
}

/* --- Trust Signals --- */
.ireclam-contact-trust {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  padding: 1rem 1.25rem;
  background: #F0FDF4;
  border: 1px solid #DCFCE7;
  border-radius: var(--ireclam-radius-md);
}

.ireclam-contact-trust__item {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  font-size: 0.9rem;
  color: var(--ireclam-navy);
}

.ireclam-contact-trust__item .ireclam-icon {
  color: var(--ireclam-primary);
  flex-shrink: 0;
}

.ireclam-contact-trust__item svg {
  stroke: var(--ireclam-primary);
}

.ireclam-contact-trust__item strong {
  color: var(--ireclam-primary);
  font-weight: 600;
}

/* --- Social Links --- */
.ireclam-contact-socials {
  display: flex;
  gap: 0.75rem;
  padding-top: 0.5rem;
}

.ireclam-contact-social {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: var(--ireclam-radius-sm);
  background: var(--ireclam-surface);
  color: var(--ireclam-muted);
  transition: all 0.25s ease;
  text-decoration: none;
}

.ireclam-contact-social:hover {
  background: var(--ireclam-primary);
  color: #fff;
}

.ireclam-contact-social svg {
  stroke: currentColor;
  width: 20px;
  height: 20px;
}

/* --- Responsive --- */
@media (max-width: 768px) {
  .ireclam-contact-card {
    padding: 0.875rem 1rem;
  }

  .ireclam-contact-card__icon {
    width: 40px;
    height: 40px;
  }

  .ireclam-contact-trust {
    flex-direction: column;
    gap: 0.5rem;
  }
}

/* ── Cases Grid (responsive) ── */
.ireclam-cases-grid {
  list-style: none;
  padding: 0;
  margin: 0;
}

.ireclam-cases-grid .ireclam-card-hover {
  box-shadow: 0 1px 3px rgba(0,0,0,.06);
  transition: transform .2s ease, box-shadow .2s ease;
}

.ireclam-cases-grid .ireclam-card-hover:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0,0,0,.1);
}

@media (max-width: 1024px) {
  .ireclam-cases-grid {
    grid-template-columns: repeat(2, 1fr) !important;
  }
}

@media (max-width: 640px) {
  .ireclam-cases-grid {
    grid-template-columns: 1fr !important;
  }
}

/* ── Pricing Featured Card ── */
.ireclam-pricing-featured {
  background: #047857 !important;
  color: #F1F5F9 !important;
  transform: scale(1.04);
  box-shadow: 0 12px 40px rgba(4, 120, 87, 0.3) !important;
  border-color: #047857 !important;
  position: relative;
  z-index: 1;
}
.ireclam-pricing-featured h3,
.ireclam-pricing-featured p,
.ireclam-pricing-featured li,
.ireclam-pricing-featured span {
  color: #F1F5F9 !important;
}
.ireclam-pricing-featured hr {
  border-color: rgba(255,255,255,0.2) !important;
  background: rgba(255,255,255,0.2) !important;
}
.ireclam-pricing-featured .ireclam-icon-accent,
.ireclam-pricing-featured .ireclam-icon {
  color: #34D399 !important;
}
.ireclam-pricing-featured a:not(.wp-element-button) {
  background: #FFFFFF !important;
  color: #047857 !important;
  text-decoration: none !important;
}
@media (max-width: 900px) {
  .ireclam-pricing-featured {
    transform: none;
  }
}

/* ── Blog Grid ── */
.ireclam-blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--wp--preset--spacing--24);
}

.ireclam-blog-card img {
  transition: transform 0.3s ease;
}
.ireclam-blog-card:hover img {
  transform: scale(1.03);
}

/* Featured article responsive */
.ireclam-blog-card[style*="grid-template-columns"] {
  transition: box-shadow 0.3s ease;
}
.ireclam-blog-card[style*="grid-template-columns"]:hover {
  box-shadow: 0 8px 32px rgba(0,0,0,0.08);
}

/* Filter tabs */
.ireclam-filter-tab:hover {
  border-color: var(--wp--preset--color--primary) !important;
  color: var(--wp--preset--color--primary) !important;
}
.ireclam-filter-tab.is-active:hover {
  color: #fff !important;
}
.ireclam-blog-filters {
  -webkit-overflow-scrolling: touch;
}

@media (max-width: 900px) {
  .ireclam-blog-grid {
    grid-template-columns: repeat(2, 1fr) !important;
  }
  /* Featured: stack on tablet */
  .ireclam-blog-card[style*="grid-template-columns"] {
    grid-template-columns: 1fr !important;
  }
}
@media (max-width: 640px) {
  .ireclam-blog-grid {
    grid-template-columns: 1fr !important;
  }
  .ireclam-blog-filters {
    overflow-x: auto;
    flex-wrap: nowrap !important;
    justify-content: flex-start !important;
    padding-bottom: 8px;
  }
  .ireclam-filter-tab {
    white-space: nowrap;
    flex-shrink: 0;
  }
}

/* ==========================================================================
   SMOOTH SCROLL FOR ANCHOR LINKS
   ========================================================================== */

html {
  scroll-behavior: smooth;
}

/* Offset for sticky header when jumping to anchors */
[id^="artikel-"],
#bedrijfsgegevens {
  scroll-margin-top: 100px;
}

/* ==========================================================================
   BACK TO TOP BUTTON
   ========================================================================== */

.ireclam-back-to-top {
  position: fixed;
  bottom: 32px;
  right: 32px;
  width: 48px;
  height: 48px;
  background: var(--wp--preset--color--navy, #102222);
  color: #fff;
  border: none;
  border-radius: 12px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.3s ease;
  z-index: 90;
  box-shadow: 0 4px 16px rgba(0,0,0,0.15);
}
.ireclam-back-to-top.is-visible {
  opacity: 1;
  visibility: visible;
}
.ireclam-back-to-top:hover {
  background: var(--wp--preset--color--primary, #047857);
  transform: translateY(-2px);
}
.ireclam-back-to-top svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* ==========================================================================
   PRINT STYLES
   ========================================================================== */

@media print {
  /* Hide non-essential elements */
  header,
  footer,
  .ireclam-breadcrumb,
  .ireclam-navy-section,
  .ireclam-back-to-top,
  .ireclam-mega-menu,
  .wp-block-buttons,
  nav,
  .ireclam-badge,
  .ireclam-pulse-dot,
  .ireclam-accent-shape,
  .ireclam-glow-section::before,
  .ireclam-glow-section::after {
    display: none !important;
  }

  /* Clean body */
  body {
    background: white !important;
    color: #000 !important;
    font-size: 12pt;
    line-height: 1.5;
  }

  /* Full width content */
  .wp-block-group.alignfull {
    max-width: 100% !important;
    padding: 0 !important;
  }

  /* Headings */
  h1, h2, h3 {
    color: #000 !important;
    page-break-after: avoid;
  }
  h2 {
    border-bottom: 1px solid #ccc;
    padding-bottom: 4pt;
    margin-top: 18pt;
  }

  /* Links */
  a {
    color: #000 !important;
    text-decoration: underline;
  }

  /* Avoid breaks inside articles */
  .wp-block-separator {
    border-color: #ccc !important;
  }

  /* Page title for print */
  body::before {
    content: "Algemene Voorwaarden — iReclam";
    display: block;
    font-size: 18pt;
    font-weight: bold;
    margin-bottom: 12pt;
  }
}
