.custom-logo {
    max-height: 40px;
    width: auto;
}

/* =========================
   EasyCheck Blog (Classic Editor) - Longform readability
   ========================= */

.single-post .entry-content {
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
  font-size: 18px;
  line-height: 1.75;
}

/* Paragraph + heading spacing */
.single-post .entry-content p {
  margin: 0 0 18px 0;
}

.single-post .entry-content h2 {
  font-size: 28px;
  line-height: 1.25;
  margin: 44px 0 14px;
}

.single-post .entry-content h3 {
  font-size: 22px;
  line-height: 1.3;
  margin: 30px 0 10px;
}

/* Lists */
.single-post .entry-content ul,
.single-post .entry-content ol {
  margin: 0 0 18px 22px;
  line-height: 1.7;
}

.single-post .entry-content li {
  margin-bottom: 10px;
}

/* Images */
.single-post .entry-content img {
  max-width: 100%;
  height: auto;
  display: block;
}

.single-post .entry-content figure,
.single-post .entry-content .wp-caption {
  margin: 26px 0;
}

/* Stop imported HTML from forcing weird widths */
.single-post .entry-content [style*="width"] {
  max-width: 100% !important;
}

/* Mobile */
@media (max-width: 768px) {
  .single-post .entry-content {
    max-width: 92%;
    font-size: 16px;
    line-height: 1.7;
  }

  .single-post .entry-content h2 { font-size: 24px; }
  .single-post .entry-content h3 { font-size: 20px; }
}

/* =========================
   Field Execution Landing Page
   Page-scoped paid-traffic hero
   ========================= */

body.page-id-579 main > section:first-child {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 86% 34%, rgba(59, 130, 246, 0.14), transparent 30rem),
    linear-gradient(135deg, #f8fbff 0%, #ffffff 52%, #f4f8ff 100%);
}

body.page-id-579 main > section:first-child::before {
  content: "";
  position: absolute;
  right: -10rem;
  top: -12rem;
  width: 38rem;
  height: 38rem;
  border-radius: 999px;
  background: rgba(139, 92, 246, 0.08);
  filter: blur(18px);
  pointer-events: none;
}

body.page-id-579 main > section:first-child::after {
  content: "";
  position: absolute;
  z-index: 0;
  top: 50%;
  right: max(2rem, calc((100vw - 80rem) / 2));
  width: min(43vw, 34rem);
  aspect-ratio: 3 / 2;
  transform: translateY(-46%);
  border: 1px solid rgba(148, 163, 184, 0.24);
  border-radius: 1.25rem;
  background: #eaf1fb url("https://easycheck.io/wp-content/uploads/2026/01/image.png") center / cover no-repeat;
  box-shadow: 0 24px 60px rgba(30, 58, 138, 0.16), 0 6px 18px rgba(15, 23, 42, 0.08);
  pointer-events: none;
}

body.page-id-579 main > section:first-child > .max-w-4xl {
  position: relative;
  z-index: 1;
  max-width: 80rem;
  min-height: 38rem;
  padding-top: 5.5rem;
  padding-bottom: 5.5rem;
  padding-right: 52%;
}

body.page-id-579 main > section:first-child nav {
  display: none;
}

body.page-id-579 main > section:first-child h1,
body.page-id-579 main > section:first-child p {
  max-width: 39rem;
}

body.page-id-579 main > section:first-child h1 {
  font-size: clamp(2.8rem, 4.3vw, 4rem);
  line-height: 1.02;
  letter-spacing: -0.04em;
}

body.page-id-579 main > section:first-child a[href="/demo/"] {
  min-height: 3.25rem;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
  white-space: nowrap;
}

body.page-id-579 main > section:first-child a[href="#how-it-works"] {
  min-height: 3.25rem;
  padding-left: 1.25rem;
  padding-right: 1.25rem;
}

body.page-id-579 #how-it-works {
  scroll-margin-top: 6rem;
}

body.page-id-579 main > section:first-child a:focus-visible {
  outline: 3px solid rgba(59, 130, 246, 0.48);
  outline-offset: 3px;
}

@media (max-width: 1023px) {
  body.page-id-579 main > section:first-child > .max-w-4xl {
    min-height: 0;
    padding-top: 4.5rem;
    padding-bottom: 2.75rem;
    padding-right: 2rem;
  }

  body.page-id-579 main > section:first-child::after {
    position: relative;
    top: auto;
    right: auto;
    display: block;
    width: calc(100% - 3rem);
    max-width: 42rem;
    margin: 0 auto 3.5rem;
    transform: none;
  }
}

@media (max-width: 640px) {
  body.page-id-579 main > section:first-child > .max-w-4xl {
    padding: 3.5rem 1.5rem 2.25rem;
  }

  body.page-id-579 main > section:first-child h1 {
    font-size: clamp(2.45rem, 11vw, 3.1rem);
  }

  body.page-id-579 main > section:first-child .flex.flex-wrap {
    gap: 0.75rem;
  }

  body.page-id-579 main > section:first-child a[href="/demo/"],
  body.page-id-579 main > section:first-child a[href="#how-it-works"] {
    width: 100%;
    justify-content: center;
  }

  body.page-id-579 main > section:first-child::after {
    width: calc(100% - 2.5rem);
    margin-bottom: 2.5rem;
    border-radius: 1rem;
  }
}

/* Keep the paid-landing CTA in the first desktop viewport. */
@media (min-width: 1024px) {
  body.page-id-579 main > section:first-child > .max-w-4xl {
    min-height: 34rem;
    padding-top: 3.75rem;
    padding-bottom: 3.75rem;
  }

  body.page-id-579 main > section:first-child h1 {
    font-size: clamp(2.5rem, 3.6vw, 3.6rem);
  }

  body.page-id-579 main > section:first-child h1 + p {
    font-size: 1.125rem;
    line-height: 1.6;
    margin-bottom: 1.25rem;
  }

  body.page-id-579 main > section:first-child h1 + p + p {
    font-size: 1rem;
    line-height: 1.55;
    margin-bottom: 1.5rem;
  }
}

/* =========================
   Homepage hero — keep the primary CTA in the first desktop viewport
   ========================= */
@media (min-width: 1024px) {
  body.home #primary > section:first-child {
    min-height: 0 !important;
    padding-top: 6rem !important;
    padding-bottom: 6rem !important;
  }

  body.home #hero-eyebrow {
    margin-bottom: 0.75rem !important;
    font-size: 0.95rem !important;
  }

  body.home #hero-headline {
    font-size: clamp(2.5rem, 3.65vw, 2.875rem) !important;
    margin-bottom: 1rem !important;
  }

  body.home #hero-sub {
    font-size: 1rem !important;
    line-height: 1.55 !important;
    margin-bottom: 1.5rem !important;
  }
}


/* Keep the main beverage-distribution CTA available immediately. */
body.page-id-47 .hero-cta-group {
  animation: none !important;
  opacity: 1 !important;
  transform: none !important;
}


/* Make the beverage-distribution value proposition readable immediately. */
body.page-id-47 .hero-badge-wrap,
body.page-id-47 .hero-headline,
body.page-id-47 .hero-subhead,
body.page-id-47 .hero-cta-group,
body.page-id-47 .hero-stats-bar,
body.page-id-47 .hero-mockup-wrap {
  animation: none !important;
  opacity: 1 !important;
  transform: none !important;
}


/* On mobile, let paid visitors reach the Field Execution CTA before supporting detail. */
@media (max-width: 640px) {
  body.page-id-579 main > section:first-child > .max-w-4xl {
    display: flex;
    flex-direction: column;
  }

  body.page-id-579 main > section:first-child > .max-w-4xl > span { order: 1; }
  body.page-id-579 main > section:first-child > .max-w-4xl > h1 { order: 2; }
  body.page-id-579 main > section:first-child > .max-w-4xl > h1 + p { order: 3; }
  body.page-id-579 main > section:first-child > .max-w-4xl > .flex.flex-wrap { order: 4; }
  body.page-id-579 main > section:first-child > .max-w-4xl > h1 + p + p { order: 5; }
}
