.pamphlet-detail-main {
  padding-bottom: 2rem;
  padding-top: 1rem;
}

.pamphlet-detail__topbar {
  align-items: center;
  display: flex;
  gap: 1rem;
  justify-content: space-between;
  max-width: 48rem;
  margin-bottom: 0.75rem;
}

.pamphlet-detail__breadcrumb {
  align-items: center;
  color: #000066;
  display: flex;
  flex-wrap: wrap;
  font-size: 0.95rem;
  gap: 0.45rem;
}

.pamphlet-detail__breadcrumb a {
  color: #000066;
  font-weight: 500;
  text-decoration: none;
  transition: color 150ms ease;
}

.pamphlet-detail__breadcrumb a:hover,
.pamphlet-detail__breadcrumb a:focus-visible {
  color: #dce8fb;
  text-decoration: none;
}

.pamphlet-detail__breadcrumb .site-icon--breadcrumb {
  font-size: 0.65rem;
  opacity: 0.55;
}

.pamphlet-play-icon {
  font-size: 1rem;
}

.pamphlet-detail__language-switch {
  display: flex;
  justify-content: flex-end;
  margin-left: auto;
}

.pamphlet-detail__language-switch a {
  align-items: center;
  border: 1px solid rgba(0, 0, 102, 0.28);
  border-radius: 999px;
  color: #000066;
  display: inline-flex;
  font-weight: 600;
  gap: 0.45rem;
  padding: 0.4rem 0.8rem;
  text-decoration: none;
  transition: background-color 150ms ease, color 150ms ease;
}

.pamphlet-detail__language-switch a:hover,
.pamphlet-detail__language-switch a:focus-visible {
  background: #000066;
  color: #fff;
  text-decoration: none;
}

.pamphlet-detail__audio-player {
  background: #eef2ff;
  border: 1px solid rgba(0, 0, 102, 0.14);
  border-radius: 1rem;
  margin-top: 1.4rem;
  padding: 0.9rem 1rem 1rem;
}

.pamphlet-detail__audio-player h2 {
  align-items: center;
  color: #000066;
  display: flex;
  font-size: 1.05rem;
  gap: 0.45rem;
  margin: 0 0 0.65rem;
}

.pamphlet-detail__audio-player audio:not([controls]) {
  display: none;
}

.pamphlet-audio-controls {
  align-items: center;
  display: flex;
  gap: 0.8rem;
}

.pamphlet-audio-play {
  align-items: center;
  background: #000066;
  border: 0;
  border-radius: 50%;
  color: #fff;
  display: inline-flex;
  flex: 0 0 2.75rem;
  height: 2.75rem;
  justify-content: center;
  transition: background-color 150ms ease, transform 150ms ease;
  width: 2.75rem;
}

.pamphlet-audio-play:hover,
.pamphlet-audio-play:focus-visible {
  background: #171783;
  transform: scale(1.04);
}

.pamphlet-audio-progress {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  gap: 0.25rem;
  min-width: 7rem;
}

.pamphlet-audio-progress input[type="range"] {
  accent-color: #000066;
  cursor: pointer;
  margin: 0;
  width: 100%;
}

.pamphlet-audio-time {
  color: #4b4b67;
  font-size: 0.78rem;
  font-variant-numeric: tabular-nums;
}

.pamphlet-audio-actions {
  align-items: center;
  display: flex;
  flex: 0 0 auto;
  gap: 0.45rem;
}

.pamphlet-audio-action {
  align-items: center;
  background: #fff;
  border: 1px solid rgba(0, 0, 102, 0.2);
  border-radius: 999px;
  color: #000066;
  display: inline-flex;
  font-size: 0.88rem;
  font-weight: 600;
  gap: 0.38rem;
  min-height: 2.35rem;
  padding: 0.42rem 0.7rem;
  text-decoration: none;
}

.pamphlet-audio-action:hover,
.pamphlet-audio-action:focus-visible {
  background: #000066;
  color: #fff;
  text-decoration: none;
}

.pamphlet-audio-speed {
  position: relative;
}

.pamphlet-audio-speed-menu {
  background: #fff;
  border: 1px solid rgba(0, 0, 102, 0.16);
  border-radius: 0.75rem;
  bottom: calc(100% + 0.45rem);
  box-shadow: 0 0.4rem 1rem rgba(0, 0, 50, 0.16);
  display: grid;
  gap: 0.15rem;
  min-width: 5.25rem;
  padding: 0.35rem;
  position: absolute;
  right: 0;
  z-index: 10;
}

.pamphlet-audio-speed-menu[hidden] {
  display: none;
}

.pamphlet-audio-speed-menu button {
  background: transparent;
  border: 0;
  border-radius: 0.45rem;
  color: #000066;
  padding: 0.35rem 0.55rem;
  text-align: center;
}

.pamphlet-audio-speed-menu button:hover,
.pamphlet-audio-speed-menu button:focus-visible,
.pamphlet-audio-speed-menu button.active {
  background: #e4e9ff;
}

@media (max-width: 575.98px) {
  .pamphlet-detail__topbar {
    align-items: flex-start;
    flex-direction: column;
    gap: 0.6rem;
  }

  .pamphlet-detail__language-switch {
    margin-left: 0;
  }

  .pamphlet-detail__language-switch a {
    font-size: 0.92rem;
  }

  .pamphlet-audio-controls {
    align-items: stretch;
    flex-wrap: wrap;
  }

  .pamphlet-audio-progress {
    flex-basis: calc(100% - 3.6rem);
  }

  .pamphlet-audio-actions {
    justify-content: flex-end;
    margin-left: auto;
    width: 100%;
  }
}
