/*
Theme Name: Wengy
Theme URI: https://wengy.co/
Author: Wengy
Description: WordPress-native theme preserving the approved Wengy website design.
Version: 1.0.0
Text Domain: wengy
*/

html {
  scroll-behavior: smooth;
}

body.wengy-wordpress-site {
  margin: 0;
}

.wengy-breadcrumbs-section {
  box-sizing: border-box;
  padding: 1.25rem 1.5rem;
  border-top: 1px solid rgb(40 71 199 / 10%);
  background: linear-gradient(180deg, #f7f9ff 0%, #eef2fb 100%);
}

.wengy-breadcrumbs {
  width: min(100%, 80rem);
  margin: 0 auto;
}

.wengy-breadcrumbs ol {
  display: flex;
  min-height: 3.5rem;
  box-sizing: border-box;
  align-items: center;
  margin: 0;
  padding: 0.5rem 1.1rem;
  overflow: hidden;
  border: 1px solid rgb(40 71 199 / 13%);
  border-radius: 999px;
  background: rgb(255 255 255 / 88%);
  box-shadow: 0 0.75rem 2rem rgb(31 54 116 / 8%);
  list-style: none;
}

.wengy-breadcrumbs li {
  display: flex;
  min-width: 0;
  align-items: center;
}

.wengy-breadcrumbs a,
.wengy-breadcrumbs span {
  display: block;
  overflow: hidden;
  color: #70798b;
  font-size: 0.875rem;
  font-weight: 700;
  line-height: 1.35;
  text-decoration: none;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.wengy-breadcrumbs li:first-child a {
  position: relative;
  padding-left: 1rem;
  color: #2847c7;
}

.wengy-breadcrumbs li:first-child a::before {
  position: absolute;
  top: 50%;
  left: 0;
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 50%;
  background: #2847c7;
  box-shadow: 0 0 0 0.25rem rgb(40 71 199 / 10%);
  content: "";
  transform: translateY(-50%);
}

.wengy-breadcrumbs a:hover {
  color: #2847c7;
}

.wengy-breadcrumbs span[aria-current="page"] {
  max-width: min(48vw, 34rem);
  color: #172039;
}

.wengy-breadcrumbs i {
  margin: 0 0.75rem;
  color: #a7afbe;
  font-family: Arial, sans-serif;
  font-size: 1.25rem;
  font-style: normal;
  font-weight: 400;
}

@media (max-width: 640px) {
  .wengy-breadcrumbs-section {
    padding: 0.9rem 1rem;
  }

  .wengy-breadcrumbs ol {
    min-height: 3.25rem;
    padding-inline: 1rem;
  }

  .wengy-breadcrumbs a,
  .wengy-breadcrumbs span {
    font-size: 0.8125rem;
  }

  .wengy-breadcrumbs span[aria-current="page"] {
    max-width: 52vw;
  }

  .wengy-breadcrumbs i {
    margin-inline: 0.55rem;
  }
}

.wengy-mobile-menu {
  display: none;
}

@media (max-width: 1023px) {
  .wengy-mobile-menu.is-open {
    display: flex;
    position: relative;
    z-index: 70;
    flex-direction: column;
    margin: -0.5rem 1.25rem 0;
    padding: 0.75rem;
    border: 1px solid hsl(var(--border));
    border-radius: 1.5rem;
    background: hsl(var(--background));
    box-shadow: 0 25px 50px -12px rgb(15 23 42 / 28%);
  }

  .wengy-mobile-menu a {
    display: block;
    padding: 0.75rem 1.25rem;
    border-radius: 0.75rem;
    color: hsl(var(--foreground));
    font-size: 0.875rem;
    font-weight: 600;
    text-decoration: none;
  }

  .wengy-mobile-menu a:hover,
  .wengy-mobile-menu a[aria-current="page"] {
    background: hsl(var(--muted));
    color: hsl(var(--primary));
  }

  .wengy-mobile-menu .wengy-mobile-menu__cta {
    display: flex;
    min-height: 3rem;
    margin-top: 0.5rem;
    align-items: center;
    justify-content: center;
    border-radius: 9999px;
    background: hsl(var(--primary));
    color: #fff;
    font-weight: 700;
  }
}

[data-wengy-filter-hidden] {
  display: none !important;
}

.wengy-form-status {
  margin: 0.75rem 0 0;
  color: #b42318;
  font-size: 0.875rem;
  font-weight: 700;
}

@media (min-width: 1024px) {
  .wengy-site-header > div:first-child > a:first-child {
    margin-left: 1.5rem !important;
  }
}

body.wengy-thank-you-page .moving-agency-page > section:first-of-type {
  position: relative;
  isolation: isolate;
  display: flex;
  min-height: 72vh;
  min-height: max(39rem, 72svh);
  box-sizing: border-box;
  align-items: center;
  justify-content: center;
  padding: clamp(10rem, 18vh, 13rem) 1.5rem clamp(6rem, 10vh, 8rem);
  overflow: hidden;
  background:
    radial-gradient(circle at 50% 12%, rgb(40 71 199 / 13%), transparent 32rem),
    linear-gradient(180deg, #f4f7ff 0%, #fafafa 72%);
}

body.wengy-thank-you-page .moving-agency-page > section:first-of-type::before,
body.wengy-thank-you-page .moving-agency-page > section:first-of-type::after {
  position: absolute;
  z-index: -1;
  width: 22rem;
  height: 22rem;
  border: 1px solid rgb(40 71 199 / 12%);
  border-radius: 50%;
  content: "";
}

body.wengy-thank-you-page .moving-agency-page > section:first-of-type::before {
  top: 6rem;
  left: -10rem;
}

body.wengy-thank-you-page .moving-agency-page > section:first-of-type::after {
  right: -11rem;
  bottom: -9rem;
}

body.wengy-thank-you-page .moving-agency-page > section:first-of-type > div {
  width: min(100%, 56rem);
  max-width: none;
  padding: clamp(2.75rem, 5vw, 4.75rem);
  border: 1px solid #d7e0f1;
  border-radius: clamp(1.75rem, 3vw, 2.75rem);
  background: rgb(255 255 255 / 90%);
  box-shadow: 0 28px 70px rgb(31 54 116 / 12%);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}

body.wengy-thank-you-page .moving-agency-page > section:first-of-type h1 {
  margin: 0;
  color: #121a2e;
  font-size: clamp(4.5rem, 9vw, 8rem);
  line-height: 0.88;
  text-transform: uppercase;
}

body.wengy-thank-you-page .moving-agency-page > section:first-of-type p {
  max-width: 46rem;
  margin-right: auto;
  margin-left: auto;
  color: #606b7e;
}

body.wengy-thank-you-page .moving-agency-page > section:first-of-type a {
  display: inline-flex;
  min-height: 3.4rem;
  align-items: center;
  justify-content: center;
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

body.wengy-thank-you-page .moving-agency-page > section:first-of-type a:first-child {
  color: #fff;
  box-shadow: 0 14px 30px rgb(40 71 199 / 24%);
}

body.wengy-thank-you-page .moving-agency-page > section:first-of-type a:hover {
  transform: translateY(-2px);
}

@media (max-width: 767px) {
  body.wengy-thank-you-page .moving-agency-page > section:first-of-type {
    min-height: auto;
    padding: 8.5rem 1rem 4.5rem;
  }

  body.wengy-thank-you-page .moving-agency-page > section:first-of-type > div {
    padding: 2.75rem 1.25rem;
    border-radius: 1.75rem;
  }

  body.wengy-thank-you-page .moving-agency-page > section:first-of-type h1 {
    font-size: clamp(4rem, 21vw, 5.5rem);
  }

  body.wengy-thank-you-page .moving-agency-page > section:first-of-type > div > div {
    flex-direction: column;
    align-items: center;
  }

  body.wengy-thank-you-page .moving-agency-page > section:first-of-type a {
    width: min(100%, 19rem);
  }
}

/* Keep the Moving Leads route markers clear of the truck on narrow screens. */
@media (max-width: 680px) {
  .moving-leads-page .leads-problems__journey-mark > i {
    transform: translateX(52px);
  }

  .moving-leads-page .leads-problems__journey-mark > span {
    right: 56%;
    left: 12%;
    justify-content: space-between;
    gap: 0;
  }

  .moving-leads-page .leads-problems__journey-mark > span i:nth-child(3) {
    transform: none;
  }
}

/* Complete WordPress article body restored from the original Wengy blog. */
.blog-article__content {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 19rem;
  gap: 2.5rem;
  align-items: start;
  padding-top: 4.5rem;
}

.blog-article__sections {
  padding: clamp(2rem, 5vw, 4rem);
  border: 1px solid #d6dff2;
  border-radius: 2rem;
  background: #fff;
  box-shadow: 0 24px 64px rgb(31 54 116 / 9%);
}

.blog-article__sections section + section {
  margin-top: 2.5rem;
  padding-top: 2.5rem;
  border-top: 1px solid #e0e6f2;
}

.blog-article__sections h2 {
  margin: 0;
  color: #121a2e;
  font-family: "Bebas Neue", "Arial Narrow", sans-serif;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 400;
  line-height: 1;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.blog-article__sections p {
  margin: 1.1rem 0 0;
  color: #5f6879;
  font-size: 1.0625rem;
  line-height: 1.82;
}

.blog-article__checklist {
  position: sticky;
  top: 7.75rem;
  padding: 1.75rem;
  overflow: hidden;
  border: 1px solid #3e5cda;
  border-radius: 1.75rem;
  color: #fff;
  background:
    radial-gradient(circle at 100% 0%, rgb(255 255 255 / 15%), transparent 13rem),
    linear-gradient(145deg, #3458df, #203eae);
  box-shadow: 0 22px 52px rgb(40 71 199 / 25%);
}

.blog-article__checklist-title {
  display: flex;
  gap: 0.8rem;
  align-items: center;
}

.blog-article__checklist-title > i {
  display: grid;
  width: 2.75rem;
  height: 2.75rem;
  flex: 0 0 2.75rem;
  place-items: center;
  border: 1px solid rgb(255 255 255 / 24%);
  border-radius: 0.875rem;
  background: rgb(255 255 255 / 12%);
}

.blog-article__checklist h2 {
  margin: 0;
  font-family: "Bebas Neue", "Arial Narrow", sans-serif;
  font-size: 2rem;
  font-weight: 400;
  line-height: 1;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.blog-article__checklist ul {
  display: grid;
  gap: 0.9rem;
  margin: 1.5rem 0 0;
  padding: 0;
  list-style: none;
}

.blog-article__checklist li {
  display: grid;
  grid-template-columns: 1.4rem minmax(0, 1fr);
  gap: 0.7rem;
  align-items: start;
  color: rgb(255 255 255 / 83%);
  font-size: 0.875rem;
  line-height: 1.55;
}

.blog-article__checklist li > i {
  display: grid;
  width: 1.4rem;
  height: 1.4rem;
  place-items: center;
  border-radius: 50%;
  color: #2847c7;
  background: #fff;
  font-size: 0.65rem;
}

.blog-article__checklist > a {
  display: inline-flex;
  min-height: 3rem;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  margin-top: 1.75rem;
  padding: 0 1.15rem;
  border-radius: 999px;
  color: #2847c7;
  background: #fff;
  font-size: 0.75rem;
  font-weight: 850;
  letter-spacing: 0.05em;
  text-decoration: none;
  text-transform: uppercase;
}

@media (max-width: 900px) {
  .blog-article__content {
    grid-template-columns: 1fr;
  }

  .blog-article__checklist {
    position: static;
  }
}

@media (max-width: 640px) {
  .blog-article__content {
    gap: 1rem;
    padding-top: 2rem;
  }

  .blog-article__sections {
    padding: 1.75rem 1.25rem;
    border-radius: 1.5rem;
  }

  .blog-article__sections section + section {
    margin-top: 2rem;
    padding-top: 2rem;
  }

  .blog-article__sections h2 {
    font-size: 2rem;
  }

  .blog-article__sections p {
    font-size: 1rem;
    line-height: 1.75;
  }

  .blog-article__checklist {
    padding: 1.5rem 1.25rem;
    border-radius: 1.5rem;
  }
}

/* Blog hero editorial redesign — 2026-09-04 */
.blog-page .blog-hero {
  isolation: isolate;
  grid-template-columns: minmax(0, 1.08fr) minmax(23rem, 0.92fr);
  gap: clamp(2.5rem, 5vw, 5rem);
  min-height: 31.5rem;
  padding: clamp(3.5rem, 5.4vw, 5.25rem);
  border-color: rgb(45 78 211 / 18%);
  border-radius: 2.5rem;
  background:
    radial-gradient(circle at 8% 10%, rgb(255 255 255 / 96%) 0 10rem, transparent 25rem),
    radial-gradient(circle at 68% 78%, rgb(59 92 225 / 12%), transparent 25rem),
    linear-gradient(128deg, #fff 0%, #f5f7ff 48%, #eaf0ff 100%);
  box-shadow: 0 2rem 5rem rgb(25 47 109 / 14%);
}

.blog-page .blog-hero::before {
  position: absolute;
  z-index: -1;
  top: -7rem;
  left: 45%;
  width: 25rem;
  height: 25rem;
  border: 1px solid rgb(45 78 211 / 8%);
  border-radius: 50%;
  content: "";
  box-shadow:
    0 0 0 3.5rem rgb(45 78 211 / 3%),
    0 0 0 7rem rgb(45 78 211 / 2%);
}

.blog-page .blog-hero__copy > p {
  display: inline-flex;
  min-height: 2rem;
  align-items: center;
  margin-bottom: 1.65rem;
  padding: 0 0.9rem;
  border: 1px solid rgb(45 78 211 / 22%);
  border-radius: 999px;
  background: rgb(255 255 255 / 72%);
  box-shadow: 0 0.5rem 1.5rem rgb(31 62 173 / 8%);
}

.blog-page .blog-hero h1 {
  max-width: 38rem;
  font-size: clamp(5.25rem, 7.1vw, 7.15rem);
  line-height: 0.84;
  letter-spacing: 0.005em;
  text-wrap: balance;
}

.blog-page .blog-hero h1 span {
  display: inline-block;
  text-shadow: 0 0.75rem 2rem rgb(45 78 211 / 18%);
  transform: translateY(-0.02em);
}

.blog-page .blog-hero__copy > i {
  width: 7.5rem;
  height: 0.35rem;
  margin-top: 2.5rem;
  background: linear-gradient(90deg, #2d4ed3 0 72%, #111a31 72% 100%);
  box-shadow: 0 0.5rem 1.4rem rgb(45 78 211 / 24%);
}

.blog-page .blog-hero__visual {
  min-height: 20rem;
  border: 1px solid rgb(255 255 255 / 30%);
  border-radius: 2rem;
  background:
    linear-gradient(rgb(255 255 255 / 8%) 1px, transparent 1px),
    linear-gradient(90deg, rgb(255 255 255 / 8%) 1px, transparent 1px),
    radial-gradient(circle at 72% 22%, rgb(255 255 255 / 24%), transparent 9rem),
    linear-gradient(145deg, #3b62ea 0%, #2d4ed3 48%, #1d38a1 100%);
  background-size: 3.25rem 3.25rem, 3.25rem 3.25rem, auto, auto;
  box-shadow:
    0 1.75rem 3.75rem rgb(35 66 187 / 28%),
    inset 0 1px 0 rgb(255 255 255 / 28%);
  transform: rotate(1.25deg);
}

.blog-page .blog-hero__visual::before,
.blog-page .blog-hero__visual::after {
  position: absolute;
  z-index: 3;
  content: "";
}

.blog-page .blog-hero__visual::before {
  top: 1.75rem;
  left: 1.75rem;
  width: 3.25rem;
  height: 3.25rem;
  border: 0.85rem solid rgb(255 255 255 / 92%);
  border-radius: 50%;
  box-shadow:
    0 0 0 1px rgb(255 255 255 / 25%),
    0 0.75rem 1.75rem rgb(10 25 84 / 22%);
}

.blog-page .blog-hero__visual::after {
  right: 1.6rem;
  bottom: 1.6rem;
  width: 7rem;
  height: 2.8rem;
  border: 1px solid rgb(255 255 255 / 28%);
  border-radius: 999px;
  background:
    linear-gradient(90deg, #fff 0 0.7rem, transparent 0.7rem 1.15rem, rgb(255 255 255 / 62%) 1.15rem 3.9rem, transparent 3.9rem),
    rgb(15 31 92 / 28%);
  background-repeat: no-repeat;
  background-position: 1rem center;
  background-size: 4.6rem 0.32rem, auto;
  box-shadow: 0 0.75rem 1.75rem rgb(10 25 84 / 18%);
  backdrop-filter: blur(0.5rem);
}

.blog-page .blog-hero__visual span {
  width: 10.75rem;
  height: 10.75rem;
  border-color: rgb(255 255 255 / 45%);
  background: rgb(255 255 255 / 6%);
  box-shadow: inset 0 0 2rem rgb(255 255 255 / 5%);
}

.blog-page .blog-hero__visual span:nth-child(2) {
  width: 16rem;
  height: 16rem;
  border-color: rgb(255 255 255 / 20%);
}

.blog-page .blog-hero__visual span:nth-child(3) {
  width: 22rem;
  height: 22rem;
  border-color: rgb(255 255 255 / 10%);
}

@media (max-width: 900px) {
  .blog-page .blog-hero {
    grid-template-columns: minmax(0, 1fr) minmax(18rem, 0.82fr);
    gap: 2rem;
    padding: 3.5rem;
  }

  .blog-page .blog-hero h1 {
    font-size: clamp(4.5rem, 9vw, 6rem);
  }
}

@media (max-width: 680px) {
  .blog-page .blog-hero {
    grid-template-columns: 1fr;
    gap: 2.25rem;
    width: min(100% - 1.5rem, 77.5rem);
    min-height: 0;
    margin-top: 5.75rem;
    padding: 2rem 1.5rem 1.5rem;
    border-radius: 1.75rem;
  }

  .blog-page .blog-hero::before {
    top: -10rem;
    left: 35%;
  }

  .blog-page .blog-hero__copy > p {
    min-height: 1.75rem;
    margin-bottom: 1.2rem;
    padding-inline: 0.75rem;
    font-size: 0.625rem;
  }

  .blog-page .blog-hero h1 {
    font-size: clamp(4.35rem, 20vw, 5.7rem);
    line-height: 0.83;
  }

  .blog-page .blog-hero__copy > i {
    width: 5.75rem;
    height: 0.3rem;
    margin-top: 1.75rem;
  }

  .blog-page .blog-hero__visual {
    position: relative;
    right: auto;
    bottom: auto;
    width: 100%;
    min-height: 12.5rem;
    border-radius: 1.4rem;
    opacity: 1;
    transform: none;
  }

  .blog-page .blog-hero__visual::before {
    top: 1.15rem;
    left: 1.15rem;
    width: 2.4rem;
    height: 2.4rem;
    border-width: 0.65rem;
  }

  .blog-page .blog-hero__visual::after {
    right: 1rem;
    bottom: 1rem;
    width: 5.75rem;
    height: 2.35rem;
    background-position: 0.8rem center;
    background-size: 3.8rem 0.26rem, auto;
  }

  .blog-page .blog-hero__visual span {
    width: 7rem;
    height: 7rem;
  }

  .blog-page .blog-hero__visual span:nth-child(2) {
    width: 10.5rem;
    height: 10.5rem;
  }

  .blog-page .blog-hero__visual span:nth-child(3) {
    width: 14rem;
    height: 14rem;
  }
}

/* Unified desktop navigation link color — 2026-09-04 */
@media (min-width: 1024px) {
  .wengy-site-header [aria-label="Main menu"] > a:not([aria-current="page"]) {
    color: #737782 !important;
  }

  .wengy-site-header [aria-label="Main menu"] > a:not([aria-current="page"]):hover {
    color: #555a65 !important;
  }
}
