/* Expertise interior v4.1 — the original Ryan Trahan portrait clip presented
   as one clean social post inside the fixed 400x384 / 240x240 visual frame. */
.section_expertise .hvo-sound-tile {
  display: grid;
  place-items: center;
}

.section_expertise .hvo-sound-v4,
.section_expertise .hvo-sound-v4 * {
  box-sizing: border-box;
}

.section_expertise .hvo-sound-v4 {
  --s4-ink: #171917;
  --s4-lime: var(--base--green, #d6fd70);
  position: relative;
  display: grid;
  width: 25rem;
  height: 24rem;
  overflow: hidden;
  place-items: center;
  border-radius: 0.75rem;
  background: #fff;
  color: var(--s4-ink);
  font-family: "Plus Jakarta Sans", sans-serif;
  isolation: isolate;
}

.section_expertise .hvo-s4-post {
  position: relative;
  display: grid;
  width: 100%;
  height: 100%;
  overflow: hidden;
  place-items: center;
  border: 0;
  border-radius: inherit;
  background: transparent;
}

.section_expertise .hvo-s4-reel {
  position: absolute;
  inset: 0;
  overflow: hidden;
  border-radius: inherit;
  background: transparent;
  transform: translateZ(0);
}

.section_expertise .hvo-s4-video {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 38%;
  filter: none !important;
}

.section_expertise .hvo-s4-shade {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(13, 15, 13, 0.43), transparent 23%),
    linear-gradient(0deg, rgba(13, 15, 13, 0.36), transparent 22%);
}

.section_expertise .hvo-s4-author {
  position: absolute;
  z-index: 2;
  top: 0.62rem;
  right: 0.62rem;
  left: 0.62rem;
  display: flex;
  min-width: 0;
  align-items: center;
  gap: 0.48rem;
  color: #fff;
}

.section_expertise .hvo-s4-avatar {
  display: block;
  width: 1.75rem;
  height: 1.75rem;
  flex: none;
  border: 1.5px solid rgba(255, 255, 255, 0.84);
  border-radius: 50%;
  object-fit: cover;
  filter: none !important;
}

.section_expertise .hvo-s4-author-copy {
  display: flex;
  min-width: 0;
  flex: 1;
  flex-direction: column;
}

.section_expertise .hvo-s4-author-copy strong {
  overflow: hidden;
  font-size: 0.65rem;
  font-weight: 700;
  line-height: 1.05;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.section_expertise .hvo-s4-author-copy span {
  margin-top: 0.16rem;
  font-size: 0.48rem;
  line-height: 1;
  opacity: 0.78;
}

.section_expertise .hvo-s4-post-label {
  display: inline-grid;
  height: 1.42rem;
  flex: none;
  place-items: center;
  padding: 0 0.48rem;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 999px;
  background: rgba(13, 15, 13, 0.3);
  color: #fff;
  font-size: 0.46rem;
  font-weight: 650;
  line-height: 1;
}

.section_expertise .hvo-s4-toggle {
  position: absolute;
  z-index: 3;
  right: 0.68rem;
  bottom: 0.68rem;
  display: grid;
  width: 2.75rem;
  height: 2.75rem;
  padding: 0;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.42);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.92);
  color: #171917;
  cursor: pointer;
  box-shadow: 0 0.5rem 1.1rem rgba(13, 15, 13, 0.18);
  -webkit-tap-highlight-color: transparent;
}

.section_expertise .hvo-s4-toggle:active {
  transform: scale(0.96);
}

.section_expertise .hvo-s4-toggle:focus-visible {
  outline: 2px solid var(--s4-lime);
  outline-offset: 2px;
}

.section_expertise .hvo-s4-icon-play {
  display: none;
  width: 0;
  height: 0;
  margin-left: 0.12rem;
  border-top: 0.34rem solid transparent;
  border-bottom: 0.34rem solid transparent;
  border-left: 0.52rem solid currentColor;
}

.section_expertise .hvo-s4-icon-pause {
  display: flex;
  gap: 0.2rem;
}

.section_expertise .hvo-s4-icon-pause i {
  display: block;
  width: 0.16rem;
  height: 0.68rem;
  border-radius: 999px;
  background: currentColor;
}

.section_expertise .hvo-sound-v4.is-paused .hvo-s4-icon-play {
  display: block;
}

.section_expertise .hvo-sound-v4.is-paused .hvo-s4-icon-pause {
  display: none;
}

@media (max-width: 479px) {
  .section_expertise .hvo-sound-v4 {
    width: 15rem;
    height: 15rem;
    border-radius: 0.625rem;
  }

  .section_expertise .hvo-s4-author {
    top: 0.42rem;
    right: 0.42rem;
    left: 0.42rem;
    gap: 0.34rem;
  }

  .section_expertise .hvo-s4-avatar {
    width: 1.42rem;
    height: 1.42rem;
  }

  .section_expertise .hvo-s4-author-copy strong {
    font-size: 0.55rem;
  }

  .section_expertise .hvo-s4-author-copy span,
  .section_expertise .hvo-s4-post-label {
    display: none;
  }

  .section_expertise .hvo-s4-toggle {
    right: 0.45rem;
    bottom: 0.45rem;
    width: 2.75rem;
    height: 2.75rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .section_expertise .hvo-sound-v4 *,
  .section_expertise .hvo-sound-v4 *::before,
  .section_expertise .hvo-sound-v4 *::after {
    animation: none !important;
    transition: none !important;
  }
}
