.wp-site-blocks {
  overflow: clip;
}

.lpm-header {
  position: relative;
  z-index: 20;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.lpm-header .wp-block-navigation-item__content {
  text-decoration: none;
}

.lpm-section {
  position: relative;
}

.lpm-section::before {
  position: absolute;
  inset: 0 auto 0 0;
  width: 3px;
  background: var(--wp--preset--color--brand-blue);
  content: "";
}

.lpm-card {
  height: 100%;
  border: 1px solid rgba(23, 27, 33, 0.12);
  background: #fff;
  box-shadow: 0 18px 54px rgba(8, 10, 13, 0.08);
}

@media (prefers-reduced-motion: no-preference) {
  .lpm-reveal {
    opacity: 0;
    transform: translateY(18px);
  }

  .lpm-reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 600ms ease, transform 600ms ease;
  }
}

@media (max-width: 781px) {
  .lpm-header {
    position: static;
  }
}

.lpm-home-shell {
  --lpm-ink: #080a0d;
  --lpm-blue: #188dc2;
  --lpm-line: rgba(255, 255, 255, 0.14);
  color: #171b21;
}

.lpm-home-shell a {
  text-underline-offset: 0.18em;
}

.lpm-contactbar {
  padding: 8px 24px;
  background: #080a0d;
  color: #fff;
  font-size: 0.76rem;
  letter-spacing: 0.055em;
}

.lpm-contactbar p {
  margin: 0;
}

.lpm-contactbar a {
  color: #fff;
  text-decoration: none;
}

.lpm-home-nav {
  position: relative;
  z-index: 50;
  padding: 15px 24px;
  background: rgba(8, 10, 13, 0.98);
  color: #fff;
  border-top: 1px solid var(--lpm-line);
}

.lpm-home-nav .wp-block-image,
.lpm-home-nav .wp-block-image img {
  margin: 0;
}

.lpm-primary-menu {
  color: #fff;
  font-size: clamp(0.63rem, 0.72vw, 0.76rem);
  font-weight: 700;
  letter-spacing: 0.04em;
}

.lpm-primary-menu .wp-block-navigation__submenu-container {
  min-width: 270px;
  background: #10141a !important;
  border: 1px solid rgba(255,255,255,.14) !important;
}

.lpm-primary-menu .wp-block-navigation-item__content {
  color: inherit;
  text-decoration: none;
}

.lpm-home-hero {
  position: relative;
  isolation: isolate;
  min-height: clamp(540px, 72vh, 790px);
  overflow: hidden;
  background: #080a0d;
}

.lpm-home-hero::after {
  position: absolute;
  z-index: 1;
  inset: 0;
  content: "";
  background: linear-gradient(90deg, rgba(3,7,11,.86) 0%, rgba(3,7,11,.48) 55%, rgba(3,7,11,.25) 100%);
}

.lpm-home-hero__slide {
  position: absolute;
  inset: 0;
  margin: 0;
  opacity: 0;
  transition: opacity 1s ease;
}

.lpm-home-hero__slide.is-active {
  opacity: 1;
}

.lpm-home-hero__slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.lpm-home-hero__content {
  position: absolute;
  z-index: 2;
  inset: auto 24px clamp(50px, 9vw, 110px);
  color: #fff;
}

.lpm-home-hero h1 {
  max-width: 980px;
  margin: 0;
  font-size: clamp(2.4rem, 6vw, 6.2rem);
  letter-spacing: -0.035em;
  text-wrap: balance;
}

.lpm-home-intro,
.lpm-blog,
.lpm-quote {
  padding: clamp(64px, 8vw, 112px) 24px;
}

.lpm-home-intro > p {
  max-width: 930px;
  font-size: clamp(1.02rem, 1.25vw, 1.2rem);
}

.lpm-practice-grid {
  margin-top: 28px;
}

.lpm-practice-card {
  height: 100%;
  padding: clamp(26px, 4vw, 44px);
  border-top: 3px solid var(--lpm-blue);
  background: #f4f6f8;
}

.lpm-practice-card h3 {
  margin-top: 0;
  font-size: clamp(1.25rem, 2vw, 1.8rem);
}

.lpm-international {
  background: #080a0d;
  color: #fff;
}

.lpm-international .wp-block-media-text__content {
  padding: clamp(42px, 7vw, 100px);
}

.lpm-international .wp-block-media-text__media,
.lpm-international .wp-block-media-text__media img {
  min-height: 620px;
  height: 100%;
}

.lpm-international .wp-block-media-text__media img {
  object-fit: cover;
}

.lpm-quote {
  background: #f4f6f8;
}

.lpm-quote h5 {
  margin-bottom: 0;
  color: var(--lpm-blue);
  letter-spacing: .12em;
  text-transform: uppercase;
}

.lpm-quote h2 {
  font-size: clamp(2rem, 4vw, 4rem);
}

.lpm-citizenship h2 {
  color: #fff;
  font-size: clamp(2rem, 5vw, 4.8rem);
}

.lpm-blog {
  background: #fff;
}

.lpm-post-card {
  height: 100%;
  overflow: hidden;
  border: 1px solid rgba(23,27,33,.12);
  background: #fff;
  box-shadow: 0 16px 48px rgba(8,10,13,.08);
}

.lpm-post-card > :not(figure) {
  margin-right: 26px;
  margin-left: 26px;
}

.lpm-post-card > :last-child {
  margin-bottom: 28px;
}

.lpm-post-card figure,
.lpm-post-card img {
  width: 100%;
  height: 330px;
  margin: 0;
  object-fit: cover;
}

.lpm-post-card h3 {
  font-size: 1.4rem;
}

.lpm-post-card h3 a {
  color: #171b21;
  text-decoration: none;
}

.lpm-post-meta {
  color: #52606d;
  font-size: .8rem;
  letter-spacing: .045em;
}

.lpm-home-footer {
  padding: 64px 24px 38px;
  background: #080a0d;
  color: #fff;
}

.lpm-home-footer p {
  margin-top: 28px;
  color: #c7ced6;
  font-size: .78rem;
}

@media (max-width: 1100px) {
  .lpm-home-nav > .wp-block-group {
    align-items: flex-start;
  }

  .lpm-primary-menu {
    font-size: .75rem;
  }
}

@media (max-width: 781px) {
  .lpm-contactbar > .wp-block-group {
    gap: 4px;
  }

  .lpm-home-nav {
    padding: 12px 18px;
  }

  .lpm-home-nav .wp-block-image img {
    width: 190px !important;
  }

  .lpm-home-hero {
    min-height: 560px;
  }

  .lpm-home-hero__content {
    right: 18px;
    left: 18px;
  }

  .lpm-international .wp-block-media-text__media,
  .lpm-international .wp-block-media-text__media img {
    min-height: 360px;
  }

  .lpm-post-card img {
    height: 420px;
  }
}
