/* Josh Lawlor crossroads brand motif */
.home .wp-block-post-content > .wp-block-cover:first-child,
.page .wp-block-post-content > .wp-block-group:first-child,
.home .wp-block-post-content > .wp-block-group:last-child,
.page .wp-block-post-content > .wp-block-group:last-child,
.blog main {
  position: relative;
  overflow: hidden;
  isolation: isolate;
}

.home .wp-block-post-content > .wp-block-cover:first-child::after {
  content: "";
  position: absolute;
  right: -6vw;
  bottom: -12%;
  width: min(760px, 58vw);
  aspect-ratio: 1.8 / 1;
  background: url("https://justjosh.com.au/wp-content/uploads/2026/09/Codex-Image-Sep-19-2026-01_07_29-PM.png") center / contain no-repeat;
  opacity: .72;
  pointer-events: none;
  z-index: 1;
}

.page .wp-block-post-content > .wp-block-group:first-child::after {
  content: "";
  position: absolute;
  top: -18%;
  right: -7vw;
  width: min(500px, 38vw);
  aspect-ratio: 1 / 1;
  background: url("https://justjosh.com.au/wp-content/uploads/2026/09/Codex-Image-Sep-19-2026-01_07_24-PM.png") center / contain no-repeat;
  opacity: .22;
  pointer-events: none;
  z-index: 0;
}

.page .wp-block-post-content > .wp-block-group:first-child > *,
.home .wp-block-post-content > .wp-block-group:last-child > *,
.page .wp-block-post-content > .wp-block-group:last-child > *,
.blog main > * {
  position: relative;
  z-index: 1;
}

.home .wp-block-post-content > .wp-block-group:last-child::after,
.page .wp-block-post-content > .wp-block-group:last-child::after {
  content: "";
  position: absolute;
  left: -8vw;
  bottom: -35%;
  width: min(560px, 44vw);
  aspect-ratio: 1.8 / 1;
  background: url("https://justjosh.com.au/wp-content/uploads/2026/09/Codex-Image-Sep-19-2026-01_07_29-PM.png") center / contain no-repeat;
  opacity: .14;
  pointer-events: none;
  z-index: 0;
}

.blog main::before {
  content: "";
  position: absolute;
  top: 24px;
  right: -12vw;
  width: min(620px, 48vw);
  aspect-ratio: 1.8 / 1;
  background: url("https://justjosh.com.au/wp-content/uploads/2026/09/Codex-Image-Sep-19-2026-01_07_29-PM.png") center / contain no-repeat;
  opacity: .1;
  pointer-events: none;
  z-index: 0;
}

@media (max-width: 782px) {
  .home .wp-block-post-content > .wp-block-cover:first-child::after {
    right: -34%;
    bottom: -3%;
    width: 112vw;
    opacity: .46;
  }

  .page .wp-block-post-content > .wp-block-group:first-child::after {
    top: auto;
    right: -34%;
    bottom: -20%;
    width: 88vw;
    opacity: .15;
  }

  .home .wp-block-post-content > .wp-block-group:last-child::after,
  .page .wp-block-post-content > .wp-block-group:last-child::after,
  .blog main::before {
    width: 92vw;
    opacity: .09;
  }
}