/* Flatsome wrapper compatibility for the native Home/About migration. */
.areeka-ux-builder-migrated {
  --areeka-ux-purple: #5f2c67;
  --areeka-ux-plum: #3f2047;
  --areeka-ux-orange: #d66d43;
  --areeka-ux-ink: #19171d;
  --areeka-ux-muted: #6f6875;
  --areeka-ux-line: #e7dde7;
  --areeka-ux-soft: #f8f1f8;
}

body.areeka-ux-builder-migrated .entry-content > p:empty { display: none; }
.areeka-ux-builder-migrated .section.areeka-ux-native-section { padding: 0; }
.areeka-ux-builder-migrated .section.areeka-ux-native-section > .section-content { position: static; }
.areeka-ux-builder-migrated .col-inner { height: 100%; }
.areeka-ux-builder-migrated .button { margin-right: 10px; }
.areeka-ux-builder-migrated .ux-text > :first-child { margin-top: 0; }
.areeka-ux-builder-migrated .ux-text > :last-child { margin-bottom: 0; }
body.areeka-ux-home .entry-content > .section.areeka-ux-native-section { width: 100%; max-width: none; border-radius: 0; }

/* Native Flatsome/Flickity hero: drag, arrows and animated transitions remain theme-owned. */
.areeka-ux-native-hero.areeka-nd-hero-carousel { display: block; overflow: hidden; cursor: grab; }
.areeka-ux-native-hero.areeka-nd-hero-carousel:active { cursor: grabbing; }
.areeka-ux-native-hero .flickity-viewport { min-height: 680px; transition: height .35s ease; }
.areeka-ux-native-hero .flickity-slider { transition-timing-function: cubic-bezier(.22, .61, .36, 1); }
.areeka-ux-native-hero .areeka-nd-hero-slide { width: 100%; min-height: 680px; }
.areeka-ux-native-hero .areeka-nd-hero-slide .banner-bg .overlay {
  background: linear-gradient(90deg, rgba(24, 14, 29, .82) 0%, rgba(24, 14, 29, .48) 50%, rgba(24, 14, 29, .14) 100%) !important;
}
.areeka-ux-native-hero .text-box { max-width: 760px; }
.areeka-ux-native-hero .flickity-page-dots { bottom: 22px; }
.areeka-ux-native-hero .flickity-page-dots .dot { border: 1px solid rgba(255,255,255,.75); background: rgba(255,255,255,.35); }
.areeka-ux-native-hero .flickity-page-dots .dot.is-selected { background: #fff; }
.areeka-ux-native-hero .flickity-prev-next-button { color: #fff; opacity: .92; }
.areeka-ux-native-hero:focus-visible,
.areeka-ux-native-hero .flickity-prev-next-button:focus-visible,
.areeka-ux-native-hero .dot:focus-visible { outline: 3px solid #fff; outline-offset: 3px; }

/* Native column cards. Each card stays individually selectable/reorderable in Builder. */
.areeka-ux-route-grid > .col > .col-inner,
.areeka-ux-category-grid > .col > .col-inner,
.areeka-ux-service-grid > .col > .col-inner,
.areeka-ux-testimonial-grid > .col > .col-inner,
.areeka-ux-faq-grid > .col > .col-inner,
.areeka-ux-capability-grid > .col > .col-inner,
.areeka-ux-reliability-card > .col-inner,
.areeka-ux-process-step > .col-inner {
  border: 1px solid var(--areeka-ux-line);
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 14px 36px rgba(38, 20, 43, .07);
}
.areeka-ux-route-grid > .col > .col-inner,
.areeka-ux-service-grid > .col > .col-inner,
.areeka-ux-testimonial-grid > .col > .col-inner,
.areeka-ux-faq-grid > .col > .col-inner,
.areeka-ux-capability-grid > .col > .col-inner { padding: 28px; }
.areeka-ux-route-grid .is-featured > .col-inner { background: linear-gradient(135deg, var(--areeka-ux-plum), var(--areeka-ux-purple)); color: #fff; }
.areeka-ux-route-grid .is-featured h3,
.areeka-ux-route-grid .is-featured p { color: #fff; }
.areeka-ux-number { color: var(--areeka-ux-orange); font-weight: 700; letter-spacing: .08em; }
.areeka-ux-stars { color: #e0a52d; letter-spacing: .12em; }

.areeka-ux-inspiration-grid > .col { padding-bottom: 18px; }
.areeka-ux-inspiration-grid .banner,
.areeka-ux-category-grid .banner { overflow: hidden; border-radius: 16px; }
.areeka-ux-inspiration-grid .text-box .text,
.areeka-ux-inspiration-grid .text-box h3,
.areeka-ux-inspiration-grid .text-box p { color: #fff; }
.areeka-ux-inspiration-grid .text-box p { text-transform: uppercase; font-size: .82rem; font-weight: 700; letter-spacing: .06em; }
.areeka-ux-category-grid > .col > .col-inner { overflow: hidden; padding: 0 0 24px; }
.areeka-ux-category-grid .ux-text,
.areeka-ux-category-grid .button { margin-left: 24px; margin-right: 24px; }
.areeka-ux-category-grid .ux-text { margin-top: 22px; }

/* Dynamic cards retain their approved classes; these rules only normalise native placement. */
.areeka-nd-products { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.areeka-nd-product { display: flex; min-width: 0; flex-direction: column; overflow: hidden; border: 1px solid var(--areeka-ux-line); border-radius: 16px; background: #fff; }
.areeka-nd-product img { width: 100%; aspect-ratio: 1 / 1; object-fit: contain; background: #f7f5f7; }
.areeka-nd-product > strong,
.areeka-nd-product__foot { padding: 0 18px; }
.areeka-nd-product > strong { padding-top: 18px; color: var(--areeka-ux-ink); }
.areeka-nd-product__foot { display: flex; justify-content: space-between; gap: 12px; padding-top: 12px; padding-bottom: 18px; color: var(--areeka-ux-purple); }

/* About page native wrappers. */
.areeka-ux-about-proof > .col > .col-inner { padding: 24px; border-left: 1px solid rgba(255,255,255,.25); }
.areeka-ux-capability-grid > .col { padding-bottom: 18px; }
.areeka-nd-about-reliability__points .areeka-ux-reliability-card > .col-inner,
.areeka-ux-process-list .areeka-ux-process-step > .col-inner { padding: 24px; }
.areeka-nd-about-faq .accordion { border-top: 1px solid var(--areeka-ux-line); }
.areeka-nd-about-faq .accordion-title { color: var(--areeka-ux-ink); font-weight: 700; }
.areeka-nd-about-faq .accordion-inner { color: var(--areeka-ux-muted); }

@media (max-width: 849px) {
  .areeka-ux-native-hero .flickity-viewport,
  .areeka-ux-native-hero .areeka-nd-hero-slide { min-height: 620px; }
  .areeka-ux-native-hero .text-box { width: calc(100% - 32px) !important; }
  .areeka-nd-products { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 549px) {
  .areeka-nd-products { grid-template-columns: 1fr; }
  .areeka-ux-route-grid > .col > .col-inner,
  .areeka-ux-service-grid > .col > .col-inner,
  .areeka-ux-testimonial-grid > .col > .col-inner,
  .areeka-ux-faq-grid > .col > .col-inner,
  .areeka-ux-capability-grid > .col > .col-inner { padding: 22px; }
}

@media (prefers-reduced-motion: reduce) {
  .areeka-ux-native-hero .flickity-slider,
  .areeka-ux-native-hero .flickity-viewport { transition-duration: .01ms !important; }
}
.areeka-ux-builder-preview .areeka-nd[data-areeka-new-design="home"],
.areeka-ux-builder-preview .areeka-nd-about-page[data-areeka-about-page="true"],
.areeka-ux-builder-preview #content section.areeka-nd-page-hero:not(.areeka-ux-native-section) {
	display: none !important;
}
