/* Film player (film-player.js): film cards, the in-page player, the pop-up player, captions and the film bar.
   From the launch-site design export (src/styles/site/film-player.css); load it after site.css or
   site-styles.css on pages with films. */
.ck-player {
  position: relative;
  overflow: hidden;
  border-radius: 16px;
  background: #f4f6f7;
  aspect-ratio: 16/9;
  isolation: isolate;
  box-shadow: inset 0 0 0 1px rgba(18,84,103,.10);
}
.ck-player video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #f4f6f7;
}
.ck-player.is-started video {
  background: #042f2e;
}
.ck-player video::cue {
  font-family: "Plus Jakarta Sans",system-ui,sans-serif;
  font-weight: 600;
  color: #fff;
  background: rgba(4,47,46,.80);
}
.ck-pcap {
  position: absolute;
  left: 6%;
  right: 6%;
  bottom: 5.5%;
  z-index: 2;
  display: none;
  justify-content: center;
  text-align: center;
  pointer-events: none;
  transition: bottom .25s cubic-bezier(.22,1,.36,1);
}
.ck-player.cc-on .ck-pcap {
  display: flex;
}
.ck-pcap span {
  display: inline;
  padding: .18em .5em;
  border-radius: 6px;
  background: rgba(4,47,46,.82);
  color: #fff;
  font: 600 clamp(13px,1.9vw,20px)/1.55 "Plus Jakarta Sans",system-ui,sans-serif;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
}
.ck-player.is-started.is-paused .ck-pcap,
.ck-player.is-started.show-ui .ck-pcap,
.ck-player.is-started:focus-within .ck-pcap {
  bottom: max(5.5%,62px);
}
.ck-player:fullscreen .ck-pcap span {
  font-size: clamp(18px,2.2vw,32px);
}
.ck-pcover {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: block;
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
}
.ck-pcover[hidden] {
  display: none;
}
.ck-pbig {
  position: absolute;
  left: 50%;
  top: 64%;
  transform: translate(-50%,-50%);
  display: grid;
  place-items: center;
  width: clamp(48px,7.5vw,80px);
  height: clamp(48px,7.5vw,80px);
  border-radius: 999px;
  background: #9bf4ef;
  color: #042f2e;
  box-shadow: 0 12px 32px -12px rgba(4,47,46,.55);
  transition: background-color .2s ease,transform .2s cubic-bezier(.22,1,.36,1);
}
.ck-pcover:hover .ck-pbig {
  background: #17b0b5;
  transform: translate(-50%,-50%) scale(1.04);
}
.ck-pcover:focus-visible {
  outline: none;
}
.ck-pcover:focus-visible .ck-pbig {
  outline: 3px solid #125467;
  outline-offset: 3px;
}
.ck-pbar {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 36px 10px 8px;
  background: linear-gradient(to top,rgba(4,47,46,.86) 0%,rgba(4,47,46,.55) 55%,rgba(4,47,46,0) 100%);
  color: #fff;
  opacity: 0;
  transform: translateY(8px);
  pointer-events: none;
  transition: opacity .25s ease,transform .25s cubic-bezier(.22,1,.36,1);
}
.ck-player.is-started.is-paused .ck-pbar,
.ck-player.is-started.show-ui .ck-pbar,
.ck-player.is-started:focus-within .ck-pbar {
  opacity: 1;
  transform: none;
  pointer-events: auto;
}
.ck-player.is-started.hide-cursor {
  cursor: none;
}
.ck-pbtn {
  display: grid;
  place-items: center;
  flex: none;
  width: 38px;
  height: 38px;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: #fff;
  cursor: pointer;
  transition: background-color .15s ease,color .15s ease;
}
.ck-pbtn:hover {
  background: rgba(255,255,255,.14);
}
.ck-pbtn:focus-visible {
  outline: 2px solid #9bf4ef;
  outline-offset: 1px;
}
.ck-pbtn[aria-pressed="true"] {
  color: #9bf4ef;
}
.ck-pbtn[hidden] {
  display: none;
}
.ck-p-play .i-pause,
.ck-player:not(.is-paused) .ck-p-play .i-play {
  display: none;
}
.ck-player:not(.is-paused) .ck-p-play .i-pause {
  display: block;
}
.ck-p-mute .i-mute,
.ck-player.is-muted .ck-p-mute .i-vol {
  display: none;
}
.ck-player.is-muted .ck-p-mute .i-mute {
  display: block;
}
.ck-ptime {
  flex: none;
  padding: 0 6px;
  font: 500 12px/1 ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;
  letter-spacing: .01em;
  white-space: nowrap;
  color: rgba(255,255,255,.92);
}
.ck-ptrack {
  position: relative;
  flex: 1;
  min-width: 60px;
  height: 30px;
  margin: 0 6px;
  cursor: pointer;
  touch-action: none;
  outline: none;
}
.ck-ptrack::before,
.ck-pbuf,
.ck-pfill {
  content: "";
  position: absolute;
  left: 0;
  top: 13px;
  height: 4px;
  border-radius: 2px;
}
.ck-ptrack::before {
  right: 0;
  background: rgba(255,255,255,.26);
}
.ck-pbuf {
  width: 0;
  background: rgba(255,255,255,.34);
}
.ck-pfill {
  width: 0;
  background: #9bf4ef;
}
.ck-ptrack:hover::before,
.ck-ptrack:hover .ck-pbuf,
.ck-ptrack:hover .ck-pfill,
.ck-ptrack.drag::before,
.ck-ptrack.drag .ck-pbuf,
.ck-ptrack.drag .ck-pfill {
  top: 12px;
  height: 6px;
  border-radius: 3px;
}
.ck-pticks {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.ck-pticks i {
  position: absolute;
  top: 11px;
  width: 3px;
  height: 8px;
  margin-left: -1.5px;
  background: rgba(4,47,46,.85);
  border-radius: 1px;
}
.ck-pknob {
  position: absolute;
  left: 0;
  top: 15px;
  width: 14px;
  height: 14px;
  margin: -7px 0 0 -7px;
  border-radius: 50%;
  background: #9bf4ef;
  box-shadow: 0 0 0 3px rgba(4,47,46,.35);
  transform: scale(0);
  transition: transform .15s ease;
}
.ck-ptrack:hover .ck-pknob,
.ck-ptrack:focus-visible .ck-pknob,
.ck-ptrack.drag .ck-pknob {
  transform: scale(1);
}
.ck-ptrack:focus-visible::after {
  content: "";
  position: absolute;
  inset: 4px -4px;
  border-radius: 6px;
  outline: 2px solid #9bf4ef;
}
.ck-ptip {
  position: absolute;
  bottom: 32px;
  left: 0;
  transform: translateX(-50%);
  display: flex;
  gap: 6px;
  align-items: baseline;
  padding: 6px 9px;
  border-radius: 7px;
  background: #fff;
  color: #042f2e;
  font: 700 12px/1.2 "Plus Jakarta Sans",system-ui,sans-serif;
  white-space: nowrap;
  box-shadow: 0 8px 22px -10px rgba(4,47,46,.6);
  opacity: 0;
  pointer-events: none;
  transition: opacity .12s ease;
}
.ck-ptip b {
  font: 500 11px/1.2 ui-monospace,SFMono-Regular,Menlo,monospace;
  color: #577271;
}
.ck-ptrack.tip .ck-ptip {
  opacity: 1;
}
.ck-player:fullscreen {
  border-radius: 0;
  aspect-ratio: auto;
  width: 100vw;
  height: 100vh;
  background: #042f2e;
}
.ck-player:fullscreen video {
  background: #042f2e;
}
.ck-player:-webkit-full-screen {
  border-radius: 0;
  width: 100vw;
  height: 100vh;
  background: #042f2e;
}
@media (max-width:480px) {
  .ck-p-mute {
    display: none;
  }
  .ck-ptime {
    font-size: 11px;
    padding: 0 2px;
  }
  .ck-pbtn {
    width: 34px;
    height: 34px;
  }
  .ck-pbar {
    padding: 28px 6px 4px;
    gap: 2px;
  }
}
@media (hover:none) {
  .ck-pknob {
    transform: scale(1);
  }
}
.ck-chapters-wrap {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.ck-chapters-wrap.is-other .ck-chapters,
.ck-chapters-wrap.is-other .ck-chapters-label {
  display: none;
}
.ck-chapters-label {
  margin: 6px 0 0;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: #577271;
}
.ck-chapters {
  display: grid;
  grid-template-columns: repeat(4,minmax(0,1fr));
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.ck-chapters button {
  display: flex;
  align-items: baseline;
  gap: 10px;
  width: 100%;
  min-height: 44px;
  padding: 10px 12px;
  border: 1px solid #dfe6e9;
  border-radius: 10px;
  background: #fff;
  color: #042f2e;
  font: 600 14px/1.3 "Plus Jakarta Sans",system-ui,sans-serif;
  text-align: left;
  cursor: pointer;
  transition: background-color .15s ease,border-color .15s ease;
}
.ck-chapters button:hover {
  background: #f4f6f7;
  border-color: #c8d3d9;
}
.ck-chapters button:focus-visible {
  outline: 2px solid #125467;
  outline-offset: 2px;
}
.ck-chapters button[aria-current="true"] {
  background: #cdfaf7;
  border-color: #17b0b5;
}
.ck-ch-t {
  flex: none;
  font: 500 12px/1.3 ui-monospace,SFMono-Regular,Menlo,monospace;
  color: #577271;
}
.ck-chapters button[aria-current="true"] .ck-ch-t {
  color: #125467;
}
@media (max-width:1023px) {
  .ck-chapters {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x proximity;
    gap: 8px;
    margin: 0 -24px;
    padding: 2px 24px 6px;
    scrollbar-width: none;
  }
  .ck-chapters::-webkit-scrollbar {
    display: none;
  }
  .ck-chapters li {
    flex: none;
    scroll-snap-align: start;
  }
  .ck-chapters button {
    width: auto;
    white-space: nowrap;
  }
}
.ck-backto {
  align-self: center;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 40px;
  padding: 0 14px;
  border: 1px solid #c8d3d9;
  border-radius: 999px;
  background: #fff;
  color: #042f2e;
  font: 600 14px/1 "Plus Jakarta Sans",system-ui,sans-serif;
  cursor: pointer;
}
.ck-backto:hover {
  background: #f4f6f7;
}
.ck-backto span {
  font: 500 12px/1 ui-monospace,SFMono-Regular,Menlo,monospace;
  color: #577271;
}
.ck-backto[hidden] {
  display: none;
}
.ck-watch-len {
  font: 500 12px/1 ui-monospace,SFMono-Regular,Menlo,monospace;
  color: #577271;
}
.ck-modal {
  width: min(1040px,calc(100vw - 32px));
  max-width: none;
  max-height: none;
  margin: auto;
  padding: 0;
  border: 0;
  border-radius: 18px;
  background: #fff;
  color: #042f2e;
  box-shadow: 0 30px 80px -20px rgba(4,47,46,.55);
}
.ck-modal::backdrop {
  background: rgba(4,47,46,.72);
  backdrop-filter: blur(4px);
}
.ck-modal-in {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 14px;
}
.ck-modal-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 2px 2px 0 6px;
}
.ck-modal-title {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 4px 10px;
  margin: 0;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.3;
}
.ck-modal-line {
  font-size: 14px;
  font-weight: 500;
  color: #577271;
}
.ck-modal-x {
  display: grid;
  place-items: center;
  flex: none;
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: 10px;
  background: #f4f6f7;
  color: #042f2e;
  cursor: pointer;
}
.ck-modal-x:hover {
  background: #eceff1;
}
.ck-modal-x:focus-visible {
  outline: 2px solid #125467;
  outline-offset: 2px;
}
html.ck-modal-open {
  overflow: hidden;
}
@media (max-width:640px) {
  .ck-modal {
    width: calc(100vw - 16px);
    border-radius: 14px;
  }
  .ck-modal-in {
    padding: 8px;
    gap: 8px;
  }
  .ck-player {
    border-radius: 12px;
  }
}
@media (prefers-reduced-motion:reduce) {
  .ck-pbar,
  .ck-pbig,
  .ck-pknob {
    transition: none;
  }
}
.ck-filmbox {
  display: flex;
  flex-direction: column;
  border-radius: 16px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 30px 70px rgba(4,47,46,.22);
}
.ck-filmbox .ck-player {
  border-radius: 0;
}
.ck-filmbox .ck-pbig {
  top: 50%;
  opacity: 0;
  transform: translate(-50%,-50%) scale(.9);
  transition: opacity .2s ease,transform .2s cubic-bezier(.22,1,.36,1),background-color .2s ease;
}
.ck-filmbox .ck-pcover:hover .ck-pbig,
.ck-filmbox .ck-pcover:focus-visible .ck-pbig {
  opacity: 1;
  transform: translate(-50%,-50%) scale(1);
}
.ck-filmbar {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  margin: 0;
  padding: 12px 16px;
  border: 0;
  border-top: 1px solid #eceff1;
  background: #fff;
  color: #042f2e;
  text-align: left;
  cursor: pointer;
  font-family: "Plus Jakarta Sans",system-ui,sans-serif;
}
.ck-filmbar:hover {
  background: #f4f6f7;
}
.ck-filmbar:focus-visible {
  outline: 2px solid #125467;
  outline-offset: -2px;
}
.ck-filmbar-ico {
  display: grid;
  place-items: center;
  flex: none;
  width: 36px;
  height: 36px;
  border-radius: 999px;
  background: #9bf4ef;
  color: #042f2e;
  transition: background-color .15s ease;
}
.ck-filmbar:hover .ck-filmbar-ico {
  background: #17b0b5;
}
.ck-filmbar-ico .i-pause,
.ck-filmbox.is-playing .ck-filmbar-ico .i-play {
  display: none;
}
.ck-filmbox.is-playing .ck-filmbar-ico .i-pause {
  display: block;
}
.ck-filmbar-t {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}
.ck-filmbar-t b {
  font-size: 15px;
  font-weight: 700;
  line-height: 1.3;
}
.ck-filmbar-t span {
  font-size: 13px;
  font-weight: 500;
  line-height: 1.3;
  color: #577271;
}
.ck-filmbar-len {
  margin-left: auto;
  flex: none;
  font: 500 12px/1 ui-monospace,SFMono-Regular,Menlo,monospace;
  color: #577271;
}
.ck-pcard {
  --i: 20px;
  position: absolute;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 12px;
  box-sizing: border-box;
  max-width: calc(100% - 2 * var(--i));
  margin: 0;
  padding: 12px 18px 12px 12px;
  border-radius: 14px;
  background: #fff;
  color: #042f2e;
  box-shadow: 0 12px 36px -12px rgba(4,47,46,.22),0 4px 12px rgba(4,47,46,.06);
  font-family: "Plus Jakarta Sans",system-ui,sans-serif;
  letter-spacing: normal;
  text-align: left;
  white-space: normal;
  pointer-events: none;
}
.ck-pcard[data-pos="tl"] {
  top: var(--i);
  left: var(--i);
}
.ck-pcard[data-pos="tr"] {
  top: var(--i);
  right: var(--i);
}
.ck-pcard[data-pos="bl"] {
  bottom: var(--i);
  left: var(--i);
}
.ck-pcard[data-pos="br"] {
  bottom: var(--i);
  right: var(--i);
}
.ck-pcard img {
  display: block;
  flex: none;
  width: 40px;
  height: 40px;
  margin: 0;
  object-fit: contain;
}
.ck-pcard-t {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}
.ck-pcard-t b {
  display: block;
  font-size: 19px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -.01em;
  color: #042f2e;
}
.ck-pcard-t span {
  display: block;
  font-size: 12.5px;
  font-weight: 600;
  line-height: 1.3;
  color: #406160;
}
.pc-sm .ck-pcard {
  --i: 10px;
  gap: 10px;
  padding: 8px 12px 8px 8px;
}
.pc-sm .ck-pcard img {
  width: 32px;
  height: 32px;
}
.pc-sm .ck-pcard-t {
  gap: 1px;
}
.pc-sm .ck-pcard-t b {
  font-size: 16px;
}
.pc-sm .ck-pcard-t span {
  line-height: 1.25;
}
.ck-player.has-pcard .ck-cv-meta {
  display: none;
}
.ck-player.pc-pb .ck-pbig,
.ck-player.pc-pb .ck-pcover:hover .ck-pbig {
  left: auto;
  top: auto;
  right: 10px;
  bottom: 10px;
  transform: none;
}
.ck-player.pc-pb .ck-pcard {
  max-width: calc(100% - 30px - clamp(48px,7.5vw,80px));
}
.ck-filmbox .ck-player.pc-top .ck-pbig {
  top: 58%;
}
.hiw-player .ck-pcard {
  z-index: 2;
  opacity: 0;
  visibility: hidden;
  transition: opacity .25s ease,visibility 0s linear .25s;
}
.hiw-player.pc-on .ck-pcard {
  opacity: 1;
  visibility: visible;
  transition: opacity .25s ease;
}
@media (prefers-reduced-motion:reduce) {
  .hiw-player .ck-pcard,
  .hiw-player.pc-on .ck-pcard {
    transition: none;
  }
}
