/* VHA Health & Wellness Expo Block styles */
div.vha-health-wellness-expo {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  row-gap: 32px;
  column-gap: 24px;
  position: relative;
  background-color: var(--vha-lt-gray);
  border-radius: 24px;
  padding: 0 32px;
}

div.vha-health-wellness-expo * {
  margin: 0;
  padding: 0;
  text-align: center;
}

div.vha-health-wellness-expo > div:nth-child(1) {
  grid-column: span 12 / span 12;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  gap: 40px;
}

div.vha-health-wellness-expo h2 {
  font-size: 44px;
  font-weight: 1000;
  color: #3d70a9;
  text-shadow: 2px 2px 1px #ccc;
}

div.vha-health-wellness-expo h2 span {
  color: #b13218;
  font-size: 100%;
}

div.vha-health-wellness-expo h4 {
  color: #b13218;
  font-size: 32px;
  font-weight: bold;
  font-style: italic;
}

div.vha-health-wellness-expo ul {
  list-style-type: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

div.vha-health-wellness-expo li {
  font-size: 20px;
  font-weight: bold;
  display: flex;
  align-items: center;
  text-align: left;
  position: relative;
  margin-left: 38px;
}

div.vha-health-wellness-expo svg {
  width: 40px;
  position: absolute;
  top: -6px;
  left: -38px;
}

div.vha-health-wellness-expo > div:nth-child(1) p {
  font-size: 20px;
}

span.vha-health-wellness-expo-bullet {
  font-size: 20px;
  display: inline-block;
  transform: translateY(-2px);
  padding: 0 2px;
}

div.vha-health-wellness-expo > div:nth-child(2) {
  grid-column: span 12 / span 12;
  display: flex;
  justify-content: center;
  align-items: center;
}

div.vha-health-wellness-expo-gallery {
  --vha-hwe-gallery-size: 250px;
  --vha-hwe-gallery-gap: 8px;
  display: grid;
  margin: calc(var(--vha-hwe-gallery-size) + var(--vha-hwe-gallery-gap)) !important;
}

div.vha-health-wellness-expo-left {
  transform: translateY(-16px);
}

div.vha-health-wellness-expo-right {
  order: -1;
}

div.vha-health-wellness-expo-gallery > div {
  grid-area: 1/1;
  width: var(--vha-hwe-gallery-size);
  aspect-ratio: 1.15;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  clip-path: polygon(25% 0%, 75% 0%, 100% 50%,75% 100%,25% 100%,0 50%);
  transform: translate(var(--vha-hwe-gallery-x, 0), var(--vha-hwe-gallery-y, 0));
  z-index: 1;
  position: relative;
  display: block;
}

div.vha-health-wellness-expo-gallery > div:nth-child(2) {
  background-size: contain;
  clip-path: none;
  z-index: 2;
}

div.vha-health-wellness-expo-gallery > div:nth-child(1) {--vha-hwe-gallery-y: calc(-100% - var(--vha-hwe-gallery-gap))}
div.vha-health-wellness-expo-gallery > div:nth-child(7) {--vha-hwe-gallery-y: calc( 100% + var(--vha-hwe-gallery-gap))}
div.vha-health-wellness-expo-gallery > div:nth-child(3),
div.vha-health-wellness-expo-gallery > div:nth-child(5) {--vha-hwe-gallery-x: calc(-75% - .87 * var(--vha-hwe-gallery-gap))}
div.vha-health-wellness-expo-gallery > div:nth-child(4),
div.vha-health-wellness-expo-gallery > div:nth-child(6) {--vha-hwe-gallery-x: calc( 75% + .87 * var(--vha-hwe-gallery-gap))}
div.vha-health-wellness-expo-gallery > div:nth-child(3),
div.vha-health-wellness-expo-gallery > div:nth-child(4) {--vha-hwe-gallery-y: calc(-50% - .5 * var(--vha-hwe-gallery-gap))}
div.vha-health-wellness-expo-gallery > div:nth-child(5),
div.vha-health-wellness-expo-gallery > div:nth-child(6) {--vha-hwe-gallery-y: calc( 50% + .5 * var(--vha-hwe-gallery-gap))}

div.vha-health-wellness-expo-gallery > div::after {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  right: 0;
  bottom: 0;
  background-color: white;
  opacity: 0;
  transition: opacity 0.1s ease-in-out;
}

div.vha-health-wellness-expo-dummy-slides {
  opacity: 0;
}

div.vha-health-wellness-expo-slide-washout::after {
  opacity: 1 !important;
}

div.vha-health-wellness-expo-mobile-logo {
  display: none;
}

div.vha-health-wellness-expo-mobile-logo img {
  width: 100%;
  height: auto;
}

div.vha-health-wellness-expo > div:nth-child(3),
div.vha-health-wellness-expo > div:nth-child(4) {
  margin: 0 20px;
  grid-column: span 6 / span 6;
}

div.vha-health-wellness-expo > div:nth-child(3) hr {
  display: none;
}

div.vha-health-wellness-expo h3 {
  font-size: 30px;
  margin: -8px 0 16px;
}

div.vha-health-wellness-expo > div:nth-child(5) {
  grid-column: span 12 / span 12;
}

div.vha-health-wellness-expo > div:nth-child(5) p {
  font-size: 30px;
  font-weight: 1000;
  margin: 8px 0 24px;
}

span.vha-health-wellness-expo-month-short {
  display: none;
}

@media screen and (max-width: 1199px) {
  div.vha-health-wellness-expo-gallery {
    --vha-hwe-gallery-size: 200px;
    --vha-hwe-gallery-gap: 6px;
  }

  div.vha-health-wellness-expo h2 {
    font-size: 36px;
  }

  div.vha-health-wellness-expo h4 {
    font-size: 26px;
  }

  div.vha-health-wellness-expo li {
    font-size: 20px;
    margin-left: 36px;
  }

  div.vha-health-wellness-expo svg {
    width: 36px;
    top: -6px;
    left: -36px;
  }

  div.vha-health-wellness-expo > div:nth-child(1) p {
    font-size: 20px;
  }

  span.vha-health-wellness-expo-bullet {
    font-size: 20px;
  }

  div.vha-health-wellness-expo h3 {
    font-size: 26px;
  }

  div.vha-health-wellness-expo > div:nth-child(5) p {
    font-size: 30px;
  }

  div.vha-health-wellness-expo > div:nth-child(3),
  div.vha-health-wellness-expo > div:nth-child(4) {
    grid-column: span 12 / span 12;
  }
}

@media screen and (max-width: 991px) {
  div.vha-health-wellness-expo > div:nth-child(1) {
    gap: 28px;
  }

  div.vha-health-wellness-expo > div:nth-child(1) {
    grid-column: span 7 / span 7;
  }

  div.vha-health-wellness-expo > div:nth-child(2) {
    grid-column: span 5 / span 5;
  }

  div.vha-health-wellness-expo h2 {
    margin-top: 20px;
  }

  div.vha-health-wellness-expo-gallery {
    display: none;
  }

  div.vha-health-wellness-expo-mobile-logo {
    display: block;
  }

  div.vha-health-wellness-expo h3 {
    margin-top: 32px;
  }

  div.vha-health-wellness-expo > div:nth-child(3),
  div.vha-health-wellness-expo > div:nth-child(4) {
    margin: 0;
  }

  div.vha-health-wellness-expo > div:nth-child(3) hr {
    display: block;
    position: absolute;
    width: 42%;
    left: 50%;
    transform: translateX(-50%);
  }

  div.vha-health-wellness-expo-right {
    order: 0;
  }

  div.vha-health-wellness-expo > div:nth-child(3),
  div.vha-health-wellness-expo > div:nth-child(4) {
    grid-column: span 6 / span 6;
  }

  div.vha-health-wellness-expo {
    padding: 24px 24px 0 24px;
  }
}

@media screen and (max-width: 879px) {
  span.vha-health-wellness-expo-month-long {
    display: none;
  }

  span.vha-health-wellness-expo-month-short {
    display: inline;
  }
}

@media screen and (max-width: 767px) {
  div.vha-health-wellness-expo {
    display: flex;
    flex-direction: column;
    margin-left: auto;
    margin-right: auto;
  }

  div.vha-health-wellness-expo > div:nth-child(3) hr {
    display: none;
  }

  div.vha-health-wellness-expo-mobile-logo {
    max-width: 280px;
  }

  div.vha-health-wellness-expo h3 {
    margin-top: 8px;
  }

  span.vha-health-wellness-expo-month-long {
    display: inline;
  }

  span.vha-health-wellness-expo-month-short {
    display: none;
  }

  div.vha-health-wellness-expo > div:nth-child(5) p {
    font-size: 24px;
  }
}

@media screen and (max-width: 549px) {
  span.vha-health-wellness-expo-month-long {
    display: none;
  }

  span.vha-health-wellness-expo-month-short {
    display: inline;
  }
}

@media screen and (max-width: 499px) {
  span.vha-health-wellness-expo-bullet {
    display: block;
    font-size: 0;
  }
}
