/* Podcast episode page (podcast_episode_new.html). Everything else comes from style.css.
   Prefix pe_ to keep it out of the way of the site styles. */

/* banner - same as the podcast page, a bit shorter */
.pe_banner { min-height: 28rem; }
.pe_banner .display_2 { margin: 0; }

/* breadcrumb */
.pe_breadcrumb { padding: 2.5rem 0 0; font-size: 1.4rem; }
.pe_breadcrumb ol { list-style: none; margin: 0; padding: 0; display: -webkit-box; display: -ms-flexbox; display: flex; -ms-flex-wrap: wrap; flex-wrap: wrap; }
.pe_breadcrumb li { margin: 0; }
.pe_breadcrumb li + li:before { content: "\203A"; padding: 0 .8rem; color: #94bdf1; }
.pe_breadcrumb a { color: #1863a6; }
.pe_breadcrumb a:hover { text-decoration: underline; }
.pe_breadcrumb li[aria-current] { color: #414042; }

/* episode header */
.pe_header { padding-top: 0; }
.pe_header h1 { margin-top: .5rem; }
.pe_kicker { font-size: 1.4rem; text-transform: uppercase; letter-spacing: .08em; color: #1863a6; margin-bottom: 1rem; }
.pe_kicker .pe_sep { padding: 0 .4rem; color: #94bdf1; }
.pe_date { font-size: 1.4rem; color: #777777; margin-bottom: 2rem; }
.pe_summary { font-size: 1.8rem; line-height: 1.6; }

/* single column, left aligned like the resort guide; tighter stacking between sections */
.podcast_episode .article, .podcast_episode .article h1, .podcast_episode .article h2, .podcast_episode .article h3 { text-align: left; }
.podcast_episode .section-wrap { padding-top: 0; padding-bottom: 5rem; }
.podcast_episode .section-wrap:first-of-type { padding-top: 3rem; }
.pe_properties + .section-wrap { padding-top: 5rem; }
.podcast_episode .article h2 { margin-bottom: 2rem; }
.pe_episode_link { text-align: center; }

/* video and audio */
.pe_media { padding-top: 0; }
.pe_video { margin-bottom: 2rem; }
.pe_video .video-wrapper { position: relative; padding-bottom: 56.25%; height: 0; margin-bottom: 0; overflow: hidden; background-color: #0b1838; }
.pe_video .video-wrapper iframe, .pe_video .video-wrapper img { position: absolute; top: 0; left: 0; width: 100%; height: 100%; }
.pe_video_thumb { display: block; position: relative; }
.pe_video_thumb img { -o-object-fit: cover; object-fit: cover; -webkit-transition: -webkit-transform .5s ease-in-out; transition: transform .5s ease-in-out; }
.pe_video_thumb:hover img { -webkit-transform: scale(1.04); -ms-transform: scale(1.04); transform: scale(1.04); }
.pe_play { position: absolute; left: 50%; top: 50%; width: 7rem; height: 7rem; margin: -3.5rem 0 0 -3.5rem; border-radius: 100%; background-color: rgba(24, 99, 166, 0.9); display: -webkit-box; display: -ms-flexbox; display: flex; -webkit-box-align: center; -ms-flex-align: center; align-items: center; -webkit-box-pack: center; -ms-flex-pack: center; justify-content: center; -webkit-transition: background-color .3s; -o-transition: background-color .3s; transition: background-color .3s; }
.pe_play:before { content: ""; display: block; width: 0; height: 0; margin-left: .6rem; border-style: solid; border-width: 1.2rem 0 1.2rem 2rem; border-color: transparent transparent transparent #ffffff; }
.pe_video_thumb:hover .pe_play { background-color: #1863a6; }

/* no video yet: artwork on the left, note on the right */
.pe_video_none .video-wrapper { background-color: #d4e5f9; }
.pe_video_none .video-wrapper img { width: auto; height: 100%; left: 0; -o-object-fit: cover; object-fit: cover; }
.pe_video_note { position: absolute; left: 0; right: 0; top: 50%; -webkit-transform: translateY(-50%); -ms-transform: translateY(-50%); transform: translateY(-50%); padding: 0 6% 0 60%; text-align: left; }
.pe_video_note p { margin-bottom: .5rem; }

.pe_audio { margin-bottom: 2rem; }
.pe_audio iframe { display: block; width: 100%; }

.pe_platforms { display: -webkit-box; display: -ms-flexbox; display: flex; -ms-flex-wrap: wrap; flex-wrap: wrap; margin: 0 -.5rem; }
.pe_platforms .button { margin: 0 .5rem 1rem; }

/* timestamps (chapters and transcript) */
.pe_time { display: inline-block; min-width: 5.6rem; padding: .2rem .8rem; margin-right: 1.2rem; border-radius: .3rem; background-color: #d4e5f9; color: #1863a6; font-size: 1.3rem; font-weight: 600; font-variant-numeric: tabular-nums; text-align: center; text-decoration: none; line-height: 1.6; -webkit-transition: background-color .2s, color .2s; -o-transition: background-color .2s, color .2s; transition: background-color .2s, color .2s; }
.pe_time:hover { background-color: #1863a6; color: #ffffff; text-decoration: none; }

.pe_chapters { list-style: none; margin: 0; padding: 0; }
.pe_chapters li { display: -webkit-box; display: -ms-flexbox; display: flex; -webkit-box-align: start; -ms-flex-align: start; align-items: flex-start; padding: 1.2rem 0; margin: 0; border-top: 1px solid #d4e5f9; }
.pe_chapters li:last-child { border-bottom: 1px solid #d4e5f9; }
.pe_chapters .pe_time { -webkit-box-flex: 0; -ms-flex: none; flex: none; margin-top: .2rem; }

/* places mentioned */
.pe_places { list-style: none; margin: 0 -1rem; padding: 0; }
.pe_places li { margin: 0; padding: 0 1rem; }
.pe_places .pe_place_row { display: -webkit-box; display: -ms-flexbox; display: flex; -webkit-box-align: center; -ms-flex-align: center; align-items: center; -webkit-box-pack: justify; -ms-flex-pack: justify; justify-content: space-between; padding: 1.2rem 0; border-top: 1px solid #d4e5f9; }
.pe_places .pe_place { display: -webkit-box; display: -ms-flexbox; display: flex; -webkit-box-orient: vertical; -webkit-box-direction: normal; -ms-flex-direction: column; flex-direction: column; line-height: 1.4; }
.pe_places .pe_place small { font-size: 1.2rem; color: #777777; }
.pe_places .pe_place a { color: #414042; }
.pe_places .pe_place a:hover { color: #1863a6; }
.pe_places .pe_time { margin: 0 0 0 1rem; }
.pe_more { margin: 2.5rem 0 0; }

/* related properties band */
.pe_properties.section-wrap { padding-top: 5rem; padding-bottom: 5rem; }
.pe_properties h2 { margin-bottom: .5rem; }
.pe_properties .card { margin-bottom: 2rem; }
.pe_properties .card .box p { margin-bottom: 1rem; }
.pe_properties .card .box p:last-child { margin-bottom: 0; }
.pe_buttons .button { margin: 0 .5rem 1rem; }

/* transcript accordion */
.pe_transcript .accordion-label { -webkit-box-align: center; -ms-flex-align: center; align-items: center; }
.pe_transcript .accordion-label .toggle-sign { -webkit-box-flex: 0; -ms-flex: none; flex: none; }
.pe_transcript .accordion-label .question { margin: 0; }
.pe_transcript .accordion > .accordion-content { max-height: none; }
.pe_transcript .accordion:not(.active) > .accordion-content { max-height: 0; }
/* let the transcript open to its full length (the site accordion caps open panels at 50em) */
.accordion-wrapper.pe_transcript .accordion > .accordion-label.is-open + .accordion-content { max-height: none; }
.pe_transcript .answer p { line-height: 1.7; }
.pe_transcript .answer .pe_time { float: left; margin-top: .3rem; }
.pe_transcript_note { font-size: 1.4rem; color: #777777; }

/* ask us */
.pe_ask { padding: 3rem; }
.pe_ask .h3 { margin-top: 0; }
.pe_ask .pe_buttons { margin: 2rem -.5rem 0; }

/* next / previous */
.pe_episode_link { display: block; height: 100%; border: 1px solid #d4e5f9; color: #414042; text-decoration: none; -webkit-transition: border-color .2s, background-color .2s; -o-transition: border-color .2s, background-color .2s; transition: border-color .2s, background-color .2s; }
.pe_episode_link:hover { border-color: #1863a6; background-color: #f4f8fe; text-decoration: none; }
.pe_episode_link small { display: block; font-size: 1.2rem; letter-spacing: .08em; margin-bottom: .6rem; }
.pe_episode_link .h5 { display: block; margin: 0 0 .5rem; }
.pe_episode_link > span:last-child { display: block; font-size: 1.4rem; color: #777777; }

/* mobile */
@media (max-width: 767px) {
  .podcast_episode .section-wrap { padding-bottom: 3.5rem; }
  .pe_summary { font-size: 1.6rem; }
  .pe_video_none .video-wrapper { padding-bottom: 0; height: auto; display: -webkit-box; display: -ms-flexbox; display: flex; -webkit-box-align: center; -ms-flex-align: center; align-items: center; }
  .pe_video_none .video-wrapper img { position: static; width: 40%; height: auto; -webkit-box-flex: 0; -ms-flex: none; flex: none; }
  .pe_video_note { position: static; -webkit-transform: none; -ms-transform: none; transform: none; padding: 1.5rem; }
  .pe_chapters li { -webkit-box-orient: vertical; -webkit-box-direction: normal; -ms-flex-direction: column; flex-direction: column; }
  .pe_chapters .pe_time { margin-bottom: .6rem; }
  .pe_platforms .button, .pe_buttons .button { -webkit-box-flex: 1; -ms-flex: 1 1 40%; flex: 1 1 40%; white-space: normal; }
  .pe_ask { padding: 2rem; }
  .pe_ask .pe_buttons .button { width: 100%; margin: 0 0 1rem; }
  .pe_episode_link { margin-bottom: 1.5rem; }
}

/* print */
@media print {
  .pe_breadcrumb, .pe_video, .pe_audio, .pe_platforms, .pe_properties, .pe_ask, .pe_more, .pe_buttons { display: none !important; }
  .pe_transcript .accordion > .accordion-content { max-height: none !important; opacity: 1; }
}
