.wr-journal .p2-intro {
  width: min(920px, calc(100% - 2.5rem));
  margin: clamp(2.5rem, 7vw, 5.5rem) auto 2rem;
}

.wr-journal .p2-intro h1 {
  max-width: 850px;
  margin: .45rem 0 1rem;
  color: #392b2a;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.8rem, 7vw, 6.3rem);
  font-weight: 400;
  letter-spacing: -.055em;
  line-height: .98;
}

.wr-journal .p2-intro > p:not(.j-eyebrow) {
  max-width: 650px;
  color: #766a67;
  font-size: 1rem;
  line-height: 1.75;
}

.wr-journal .p2-topics {
  display: flex;
  width: min(1320px, calc(100% - 2.5rem));
  align-items: center;
  flex-wrap: wrap;
  gap: .5rem;
  margin: 0 auto 2.1rem;
  padding: 1rem 0;
  border-top: 1px solid #e8ddd4;
  border-bottom: 1px solid #e8ddd4;
}

.wr-journal .p2-topics a {
  padding: .5rem .8rem;
  border: 1px solid #e8ddd4;
  border-radius: 999px;
  color: #70595a;
  font-size: .77rem;
  text-decoration: none;
  transition: transform .18s ease, background-color .18s ease, color .18s ease;
}

.wr-journal .p2-topics a:hover {
  transform: translateY(-1px);
  border-color: #702d3a;
  color: #702d3a;
}

.wr-journal .p2-topics a.is-selected {
  border-color: #702d3a;
  background: #702d3a;
  color: #fffaf6;
}

.wr-journal .p2-video-grid {
  margin-bottom: 3rem;
}

.wr-journal .p2-notice {
  width: min(1320px, calc(100% - 2.5rem));
  margin: 1.5rem auto 3rem;
  padding: 1.15rem 1.3rem;
  border-left: 3px solid #9e7272;
  background: #f6eee8;
  color: #70595a;
  line-height: 1.7;
}

.wr-journal .p2-video-heading {
  margin-bottom: 2rem;
}

.wr-journal .p2-video-article {
  padding-bottom: 2rem;
}

.wr-journal .p2-player {
  width: min(1120px, calc(100% - 2.5rem));
  margin: 0 auto 1.4rem;
}

.wr-journal .p2-player-frame {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  background: #e9dfd7;
}

.wr-journal .p2-consent {
  display: flex;
  width: 100%;
  height: 100%;
  min-height: 15rem;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 1rem;
  padding: clamp(1.2rem, 5vw, 3rem);
  background:
    linear-gradient(120deg, rgba(70, 43, 41, .83), rgba(70, 43, 41, .62)),
    #80685f;
  color: #fffaf6;
  text-align: center;
}

.wr-journal .p2-consent p {
  max-width: 630px;
  margin: 0;
  font-size: .9rem;
  line-height: 1.7;
}

.wr-journal .p2-consent button,
.wr-journal .p2-job-actions button {
  min-height: 2.8rem;
  padding: .7rem 1.05rem;
  border: 1px solid #702d3a;
  border-radius: 999px;
  background: #702d3a;
  color: #fffaf6;
  font: inherit;
  font-size: .8rem;
  font-weight: 700;
  cursor: pointer;
  transition: transform .18s ease, background-color .18s ease;
}

.wr-journal .p2-consent button:hover,
.wr-journal .p2-job-actions button:hover:not(:disabled) {
  transform: translateY(-1px);
  background: #4b2029;
}

.wr-journal .p2-player-frame iframe {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 280px;
  border: 0;
  background: #2e2926;
}

.wr-journal .p2-player-status {
  margin: .7rem 0;
  color: #766a67;
  font-size: .77rem;
  line-height: 1.55;
}

.wr-journal .p2-player-unavailable {
  padding: 2rem;
  background: #f6eee8;
  color: #70595a;
}

.wr-journal .p2-video-meta {
  display: grid;
  width: min(1120px, calc(100% - 2.5rem));
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
  margin: 0 auto 4rem;
  padding: 1.2rem 0;
  border-top: 1px solid #e8ddd4;
  border-bottom: 1px solid #e8ddd4;
}

.wr-journal .p2-video-meta p {
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: .35rem;
  margin: 0;
  color: #62464a;
  font-size: .8rem;
  line-height: 1.5;
  overflow-wrap: anywhere;
}

.wr-journal .p2-video-meta p > span {
  color: #8b7c75;
  font-size: .65rem;
  font-weight: 700;
  letter-spacing: .09em;
  text-transform: uppercase;
}

.wr-journal .p2-video-meta a {
  color: #702d3a;
  text-underline-offset: 3px;
}

.wr-journal .p2-video-meta .p2-source-link {
  grid-column: 1 / -1;
  display: block;
  padding-top: .2rem;
  font-weight: 700;
}

.wr-journal .p2-related {
  width: min(1320px, calc(100% - 2.5rem));
  margin: 3rem auto;
}

.wr-journal .p2-related h2 {
  margin: 0;
  color: #392b2a;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.8rem, 3vw, 2.7rem);
  font-weight: 400;
}

.wr-journal .p2-desk {
  width: min(1320px, calc(100% - 2.5rem));
  margin: 0 auto 4rem;
}

.wr-journal .p2-desk-data {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.wr-journal .p2-desk-data section,
.wr-journal .p2-job-panel {
  min-width: 0;
  padding: 1.15rem;
  border: 1px solid #e8ddd4;
  background: #fffdfa;
}

.wr-journal .p2-desk-data h2,
.wr-journal .p2-job-panel h2 {
  margin: 0 0 .85rem;
  color: #4b3335;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.35rem;
  font-weight: 400;
}

.wr-journal .p2-desk-data pre,
.wr-journal .p2-job-response {
  max-height: 26rem;
  overflow: auto;
  margin: 0;
  padding: .9rem;
  background: #f5eee8;
  color: #5e4c49;
  font: .72rem/1.6 ui-monospace, "SFMono-Regular", Consolas, monospace;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}

.wr-journal .p2-job-panel {
  margin-top: 1rem;
}

.wr-journal .p2-job-panel > p {
  color: #766a67;
  font-size: .85rem;
  line-height: 1.65;
}

.wr-journal .p2-job-actions {
  display: flex;
  flex-wrap: wrap;
  gap: .6rem;
  margin: 1rem 0;
}

.wr-journal .p2-job-actions button {
  background: transparent;
  color: #702d3a;
}

.wr-journal .p2-job-actions button:hover:not(:disabled) {
  color: #fffaf6;
}

.wr-journal .p2-job-actions button:disabled {
  cursor: wait;
  opacity: .55;
}

.wr-journal .p2-job-result {
  min-height: 1.5rem;
  color: #62464a;
  font-size: .82rem;
}

.wr-journal .p2-job-response:not([hidden]) {
  margin-top: .8rem;
}

.wr-journal .p2-consent button:focus-visible,
.wr-journal .p2-job-actions button:focus-visible,
.wr-journal .p2-topics a:focus-visible,
.wr-journal .p2-video-meta a:focus-visible {
  outline: 3px solid #9c6570;
  outline-offset: 4px;
}

@media (max-width: 760px) {
  .wr-journal .p2-intro,
  .wr-journal .p2-topics,
  .wr-journal .p2-notice,
  .wr-journal .p2-player,
  .wr-journal .p2-video-meta,
  .wr-journal .p2-related,
  .wr-journal .p2-desk {
    width: min(100% - 1.5rem, 600px);
  }

  .wr-journal .p2-intro h1 {
    font-size: clamp(2.75rem, 13vw, 4.7rem);
  }

  .wr-journal .p2-video-meta {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .wr-journal .p2-desk-data {
    grid-template-columns: 1fr;
  }

  .wr-journal .p2-player-frame iframe {
    min-height: 210px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .wr-journal .p2-topics *,
  .wr-journal .p2-consent *,
  .wr-journal .p2-job-actions * {
    transition-duration: .01ms !important;
  }
}
