/*
Theme Name: WPFlow Canary24 OceanWP Child
Template: oceanwp
Version: 1.0.1
Text Domain: wpflow-canary24-oceanwp-child
*/
.wpflow-canary-hero { padding: 56px 32px; border-radius: 20px; background: linear-gradient(135deg, #0f172a 0%, #1d4ed8 55%, #38bdf8 100%); color: #fff; margin-bottom: 32px; }
.wpflow-canary-hero h1,.wpflow-canary-hero p { color: inherit; }

body.home #page-header,
body.home .page-header {
  display: none;
}

body.home .wpflow-home-hero-slider {
  --wpflow-slider-text: #f8fafc;
  --wpflow-slider-muted: rgba(248, 250, 252, 0.78);
  --wpflow-slider-surface: rgba(255, 255, 255, 0.1);
  --wpflow-slider-surface-strong: rgba(255, 255, 255, 0.16);
  --wpflow-slider-border: rgba(255, 255, 255, 0.18);
  --wpflow-slider-shadow: 0 28px 60px rgba(15, 23, 42, 0.18);
  isolation: isolate;
  margin: 0 calc(50% - 50vw) 40px;
  max-width: none;
  position: relative;
  outline: none;
  width: 100vw;
}

body.home .wpflow-home-hero-slider:focus-visible {
  box-shadow: 0 0 0 4px rgba(34, 211, 238, 0.24);
  border-radius: 0;
}

body.home .wpflow-home-hero-slider__viewport {
  position: relative;
}

body.home .wpflow-home-hero-slide {
  align-items: center;
  background: linear-gradient(145deg, #0f172a 0%, #1d4ed8 55%, #38bdf8 100%);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 0;
  box-shadow: var(--wpflow-slider-shadow);
  color: var(--wpflow-slider-text);
  display: grid;
  gap: clamp(24px, 4vw, 48px);
  grid-template-columns: minmax(0, 1.05fr) minmax(280px, 0.95fr);
  min-height: clamp(420px, 56vw, 560px);
  opacity: 0;
  overflow: hidden;
  padding: clamp(28px, 5vw, 56px);
  pointer-events: none;
  position: absolute;
  inset: 0;
  transform: translateX(24px);
  transition: opacity 420ms ease, transform 420ms ease;
  visibility: hidden;
}

body.home .wpflow-home-hero-slide::after {
  background: rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  content: "";
  height: 260px;
  pointer-events: none;
  position: absolute;
  right: -60px;
  top: -100px;
  width: 260px;
}

body.home .wpflow-home-hero-slide:nth-child(2) {
  background: linear-gradient(145deg, #111827 0%, #9d174d 48%, #f472b6 100%);
}

body.home .wpflow-home-hero-slide:nth-child(3) {
  background: linear-gradient(145deg, #042f2e 0%, #0f766e 50%, #facc15 100%);
}

body.home .wpflow-home-hero-slide:nth-child(4) {
  background: linear-gradient(145deg, #101828 0%, #166534 50%, #84cc16 100%);
}

body.home .wpflow-home-hero-slide.is-current {
  opacity: 1;
  pointer-events: auto;
  position: relative;
  transform: translateX(0);
  visibility: visible;
}

body.home .wpflow-home-hero-slide__copy,
body.home .wpflow-home-hero-slide__media {
  position: relative;
  z-index: 1;
}

body.home .wpflow-home-hero-slide__copy {
  max-width: 40rem;
}

body.home .wpflow-home-hero-slide__eyebrow {
  color: rgba(248, 250, 252, 0.72);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  margin: 0 0 16px;
  text-transform: uppercase;
}

body.home .wpflow-home-hero-slide h1 {
  color: inherit;
  font-size: clamp(2.4rem, 6vw, 4.75rem);
  line-height: 0.96;
  margin: 0 0 20px;
}

body.home .wpflow-home-hero-slide__copy > p:not(.wpflow-home-hero-slide__eyebrow) {
  color: var(--wpflow-slider-muted);
  font-size: clamp(1rem, 2vw, 1.12rem);
  line-height: 1.7;
  margin: 0;
}

body.home .wpflow-home-hero-slide__details {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

body.home .wpflow-home-hero-slide__details span {
  background: var(--wpflow-slider-surface);
  border: 1px solid var(--wpflow-slider-border);
  border-radius: 999px;
  color: #fff;
  display: inline-flex;
  font-size: 0.86rem;
  font-weight: 600;
  line-height: 1;
  padding: 12px 16px;
}

body.home .wpflow-home-hero-slide__media {
  align-self: stretch;
  display: flex;
}

body.home .wpflow-home-hero-slide__media img {
  aspect-ratio: 4 / 3;
  background: var(--wpflow-slider-surface);
  border: 1px solid var(--wpflow-slider-border);
  border-radius: 24px;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.04);
  display: block;
  height: 100%;
  object-fit: cover;
  width: 100%;
}

body.home .wpflow-home-hero-slider__controls {
  align-items: center;
  display: flex;
  inset: 0;
  justify-content: space-between;
  padding: 0 clamp(14px, 2vw, 28px);
  pointer-events: none;
  position: absolute;
  z-index: 3;
}

body.home .wpflow-home-hero-slider__nav-button {
  align-items: center;
  backdrop-filter: blur(10px);
  background: rgba(15, 23, 42, 0.72);
  border: 1px solid rgba(248, 250, 252, 0.2);
  border-radius: 999px;
  color: #fff;
  cursor: pointer;
  display: inline-flex;
  font-size: 1.5rem;
  font-weight: 700;
  justify-content: center;
  height: clamp(48px, 4vw, 62px);
  min-width: 0;
  padding: 0;
  pointer-events: auto;
  transition: background-color 180ms ease, border-color 180ms ease, transform 180ms ease,
    box-shadow 180ms ease;
  width: clamp(48px, 4vw, 62px);
}

body.home .wpflow-home-hero-slider__nav-button:hover {
  background: rgba(29, 78, 216, 0.9);
  border-color: rgba(125, 211, 252, 0.72);
  box-shadow: 0 16px 32px rgba(15, 23, 42, 0.18);
  transform: translateY(-1px);
}

body.home .wpflow-home-hero-slider__nav-button > span[aria-hidden="true"] {
  display: block;
  line-height: 1;
  transform: translateY(-1px);
}

body.home .wpflow-home-hero-slider__nav-button:focus-visible {
  outline: 3px solid rgba(56, 189, 248, 0.4);
  outline-offset: 3px;
}

@media (max-width: 900px) {
  body.home .wpflow-home-hero-slide {
    grid-template-columns: 1fr;
    min-height: 0;
  }

  body.home .wpflow-home-hero-slide__copy {
    max-width: none;
  }
}

@media (max-width: 640px) {
  body.home .wpflow-home-hero-slider__controls {
    align-items: flex-end;
    gap: 12px;
    justify-content: flex-end;
    padding: 0 16px 16px;
  }

  body.home .wpflow-home-hero-slider__nav-button {
    height: 48px;
    width: 48px;
  }
}

@media (prefers-reduced-motion: reduce) {
  body.home .wpflow-home-hero-slide,
  body.home .wpflow-home-hero-slider__nav-button {
    transition: none;
  }
}
