/* text to URL encode ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789!@#$%^&*()-_+=[]{}\|;:'"<>,.?/ */

@import url('https://fonts.googleapis.com/css2?family=Rubik:ital,wght@0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap&text=ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789%21%40%23%24%25%5E%26%2A%28%29-_%2B%3D%5B%5D%7B%7D%5C%7C%3B%3A%27%22%3C%3E%2C.%3F%2F');

html {
  scroll-behavior: smooth;
  --clr-purple: #353168;
  --clr-steel-blue: #5f7791;
  --clr-steel-blue-darker: #364453;
  --clr-blue: #1c77bc;
  --clr-red: #eb1d33;
  --clr-yellow: #ffdd00;
  --clr-cyan: #00aabe;
}

body, input, select {
  font-family: 'Rubik', sans-serif;
  font-size: 18px;
}

body {
  margin: 0;
}

a {
  color: inherit;
}

h1, h2 {
  font-style: normal;
  font-weight: 600;
}

input[type=submit], .wp-block-button__link {
  background-color: var(--clr-yellow);
  color: var(--clr-cyan);
  font-weight: 600;
  padding: 5px 2em;
  border: 0;
  border-radius: 5px;
}

/* HEADER */

header {
  position: sticky;
  top: 0;
  padding: 0.5em 1em;
  color: white;
  background: var(--clr-blue);
  border-bottom: 1px solid white;
  z-index: 8;
}

header nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: end;
  gap: 1em;
  font-size: 16px;
}

header nav a {
  text-decoration: none;
}

/* FOOTER */

footer {
  display: flex;
  flex-wrap: wrap;
  gap: 2em;
  justify-content: space-around;
  align-items: center;
  padding-top: 3em;
  padding-bottom: 3em;
  border-top: 1px solid #eee;

  a {display: contents;}
  
  img:first-child {width: 80%;}
  img:last-child {width: 70%;}

  @media (min-width: 500px) {
    flex-wrap: nowrap;
    gap: 1em;
    img:first-child {width: 40%;}
    img:last-child {width: 30%;}
  }
}

/* MAIN */

main, footer, .responsive-side-padding, .netflix-strips > .wp-block-cover__inner-container > .wp-block-group > .wp-block-group__inner-container {
  padding-left: max(1em, 3vw);
  padding-right: max(1em, 3vw);
}
main {
  background-color: white;
  padding-bottom: 4em;
  overflow: auto;
}
main:has(> .featured-image) {
  padding-top: 0;
}
.alignfull, .wp-block-cover {
  margin-left: min(-1em, -3vw);
  margin-right: min(-1em, -3vw);
}
p.alignfull, h2.alignfull, .wp-block-latest-posts.alignfull {
  margin-left: 0;
  margin-right: 0;
}
.featured-image {
  margin-left: min(-1em, -3vw);
  margin-right: min(-1em, -3vw);
  margin-bottom: 3em;
  height: 70vh;
  position: relative;
  overflow: hidden;
}
.featured-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  clip-path: polygon(0 0, 100vw 0, 100vw calc(100% - 5vw), 50vw 100%, 0 calc(100% - 5vw));
}
.featured-image h1 {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  color: white;
  font-size: 3em;
  margin: 0;
  padding: 1rem 1rem calc(3rem + 2vw) 1rem;
  text-align: center;
  display: flex;
  justify-content: center;
  align-items: flex-end;
  /* gradient calculated using this site https://non-boring-gradients.netlify.app/ with a start point of black 70%, end point of black 0%, angle of 0deg, and curve easeOutQuad */
  background-image: linear-gradient(0deg, rgba(0,0,0,0.7) 0%, rgba(0,0,0,0.61523) 6.25%, rgba(0,0,0,0.53594) 12.5%, rgba(0,0,0,0.46211) 18.75%, rgba(0,0,0,0.39375) 25%, rgba(0,0,0,0.33086) 31.25%, rgba(0,0,0,0.27344) 37.5%, rgba(0,0,0,0.22148) 43.75%, rgba(0,0,0,0.17500) 50%, rgba(0,0,0,0.13398) 56.25%, rgba(0,0,0,0.09844) 62.5%, rgba(0,0,0,0.06836) 68.75%, rgba(0,0,0,0.04375) 75%, rgba(0,0,0,0.02461) 81.25%, rgba(0,0,0,0.01094) 87.5%, rgba(0,0,0,0.00273) 93.75%, rgba(0,0,0,0) 100%);
  clip-path: polygon(0 0, 100vw 0, 100vw calc(100% - 5vw), 50vw 100%, 0 calc(100% - 5vw));
  text-shadow: 0 0 15px rgba(0,0,0,0.5);
}
@media (orientation: portrait), (min-height: 500px) {
  .featured-image {
    height: 50vh;
  }
}
@media (min-width: 500px) {
  main, footer, .responsive-side-padding, .netflix-strips > .wp-block-cover__inner-container > .wp-block-group > .wp-block-group__inner-container {
    padding-left: 10vw;
    padding-right: 10vw;
  }
  .alignwide {
    margin-left: -5vw;
    margin-right: -5vw;
  }
  .alignfull, .featured-image {
    margin-left: -10vw;
    margin-right: -10vw;
  }
  p.alignfull, h2.alignfull, .wp-block-latest-posts.alignfull {
    margin-left: calc(-10vw + max(1em,3vw));
    margin-right: calc(-10vw + max(1em,3vw));
  }
  .wp-block-cover {
    margin-left: -10vw;
    margin-right: -10vw;
    padding-left: 10vw;
    padding-right: 10vw;
  }
  .wp-block-cover.alignwide {
    margin-left: -10vw;
    margin-right: -10vw;
    padding-left: 5vw;
    padding-right: 5vw;
  }
  .wp-block-cover.alignfull {
    margin-left: -10vw;
    margin-right: -10vw;
    padding-left: max(1em, 3vw);
    padding-right: max(1em, 3vw);
  }
  .featured-image h1 {
    text-shadow: none;
  }
}
@media (min-width: 1000px) {
  main, footer, .responsive-side-padding, .netflix-strips > .wp-block-cover__inner-container > .wp-block-group > .wp-block-group__inner-container {
    padding-left: 15vw;
    padding-right: 15vw;
  }
  .alignwide {
    margin-left: -7.5vw;
    margin-right: -7.5vw;
  }
  .alignfull, .featured-image {
    margin-left: -15vw;
    margin-right: -15vw;
  }
  p.alignfull, h2.alignfull, .wp-block-latest-posts.alignfull {
    margin-left: calc(-15vw + max(1em,3vw));
    margin-right: calc(-15vw + max(1em,3vw));
  }
  .wp-block-cover {
    margin-left: -15vw;
    margin-right: -15vw;
    padding-left: 15vw;
    padding-right: 15vw;
  }
  .wp-block-cover.alignwide {
    margin-left: -15vw;
    margin-right: -15vw;
    padding-left: 7.5vw;
    padding-right: 7.5vw;
  }
  .wp-block-cover.alignfull {
    margin-left: -15vw;
    margin-right: -15vw;
    padding-left: max(1em, 3vw);
    padding-right: max(1em, 3vw);
  }
}
@media (min-width: 1500px) {
  main, footer, .responsive-side-padding, .netflix-strips > .wp-block-cover__inner-container > .wp-block-group > .wp-block-group__inner-container {
    padding-left: 20vw;
    padding-right: 20vw;
  }
  .alignwide {
    margin-left: -10vw;
    margin-right: -10vw;
  }
  .alignfull, .featured-image {
    margin-left: -20vw;
    margin-right: -20vw;
  }
  p.alignfull, h2.alignfull, .wp-block-latest-posts.alignfull {
    margin-left: calc(-20vw + max(1em,3vw));
    margin-right: calc(-20vw + max(1em,3vw));
  }
  .wp-block-cover {
    margin-left: -20vw;
    margin-right: -20vw;
    padding-left: 20vw;
    padding-right: 20vw;
  }
  .wp-block-cover.alignwide {
    margin-left: -20vw;
    margin-right: -20vw;
    padding-left: 10vw;
    padding-right: 10vw;
  }
  .wp-block-cover.alignfull {
    margin-left: -20vw;
    margin-right: -20vw;
    padding-left: max(1em, 3vw);
    padding-right: max(1em, 3vw);
  }
}
.wp-block-cover, .wp-block-cover-image {
  width: auto;
}
.wp-block-cover__inner-container>*:first-child {
  margin-top: 0;
}
.wp-block-cover__inner-container>*:last-child {
  margin-bottom: 0;
}

/* FORMS - GENERIC */

form label {
	font-weight: normal;
}
.form-field-label, .recaptcha-message {
  color: rgba(0,0,0,0.5);
	font-size: 0.89em;
}
input[type=text], input[type=email], input[type=number], textarea {
  padding: 5px 10px;
  border: 2px solid var(--clr-gold);
  max-width: 100%;
  box-sizing: border-box;
  border-radius: 5px;
}
input[type=submit] {
  cursor: pointer;
}
.codedropz-upload-handler {
  border: 2px dashed var(--clr-gold);
}
.grecaptcha-badge {visibility: hidden;}

/* FORMS - CONTACT FORM 7 */

.wpcf7-form-control-wrap {
  max-width: 100%;
}

.wpcf7-not-valid-tip {
  color: var(--clr-yellow);
  font-size: 0.8em;
  margin-top: 3px;
}

.wpcf7 form .wpcf7-response-output {
  margin: 2em 0 1em;
	padding: 0;
}
.wpcf7 form.init .wpcf7-response-output {
  display: none;
}
.wpcf7 form.sent .wpcf7-response-output {
	border: 0;
}
.wpcf7 form.sent .wpcf7-response-output::before {
  content: ' ';
  background-image: url(../img/icon-ok.svg);
  background-size: contain;
  display: inline-block;
  width: 2em;
  height: 2em;
  margin-right: 0.8em;
  vertical-align: middle;
}
.wpcf7 form.failed .wpcf7-response-output, .wpcf7 form.aborted .wpcf7-response-output, .wpcf7 form.spam .wpcf7-response-output {
	border: 0;
}
.wpcf7 form.failed .wpcf7-response-output::before, .wpcf7 form.aborted .wpcf7-response-output::before, .wpcf7 form.spam .wpcf7-response-output::before {
  content: ' ';
  background-image: url(../img/icon-error.svg);
  background-size: contain;
  display: inline-block;
  width: 2em;
  height: 2em;
  margin-right: 0.8em;
  vertical-align: middle;
}
.wpcf7 form.invalid .wpcf7-response-output, .wpcf7 form.unaccepted .wpcf7-response-output {
	border: 0;
}
.wpcf7 form.invalid .wpcf7-response-output::before, .wpcf7 form.unaccepted .wpcf7-response-output::before {
  content: ' ';
  background-image: url(../img/icon-warn.svg);
  background-size: contain;
  display: inline-block;
  width: 2em;
  height: 2em;
  margin-right: 0.8em;
  vertical-align: middle;
}

/* EMBEDS */

.aspect-16-9, .wp-embed-aspect-16-9>.wp-block-embed__wrapper {
	width: 100%;
	aspect-ratio: 16/9;
}
.wp-block-embed__wrapper>iframe {
  width: 100%;
  height: 100%;
}

/* THUMBS */

.thumbs>div {
  display: grid;
  grid-template-columns: auto;
  gap: 1em;
}

@media (min-width: 750px) {
  .thumbs>div {
    grid-template-columns: repeat(3, 1fr);
  }
}

.thumbs figure {
  margin-bottom: 0;
}

.thumbs img {
  max-width: 100%;
  border-radius: 3px;
  box-shadow: 0 0 0 2px rgb(255 255 255 / 0.3);
}

.thumbs.light-background img {
  box-shadow: 0 0 0 2px rgb(95 119 145 / 0.3);
}

.thumbs a img, .thumbs figure[class*='youtube-id-'] img {
  transition: 0.2s;
}

.thumbs a:hover img, .thumbs figure[class*='youtube-id-']:hover img {
  transform: scale(1.025);
}

.thumbs figure[class*='youtube-id-']:hover img {
  cursor: pointer;
}

.netflix-strip-2 .wp-block-group-is-layout-flex {
  overflow: auto;
  gap: 1em;
  scrollbar-width: none;   
  scroll-snap-type: x mandatory;
  > * {
    flex-shrink: 0;
    width: 320px;
    scroll-snap-align: center;
  }
  img {
    width: 100%;
    border-radius: 5px;
    border: 2px solid rgb(255 255 255 / 0.3); /* rgb(95 119 145 / 0.3) */
  }
  figure[class*='youtube-id-']:hover img {
    cursor: pointer;
  }
}

.netflix-strips > .wp-block-cover__inner-container > .wp-block-group {
  position: relative;
  .scroll-button {
    position: absolute;
    top: 75px;
    width: 2em;
    aspect-ratio: 1;
    display: flex;
    align-items: center;
    z-index: 1;
    color: black;
    background-color: #1b3c587f;
    background-repeat: no-repeat;
    background-position: center;
    background-size: 25%;
    border-radius: 10px;
    transition: 250ms;
    cursor: pointer;
    display: none;
    &:focus {
      background-color: var(--clr-yellow);
    }
    &:hover {
      background-color: var(--clr-red);
    }
    &.left {
      left: 0.5em;
      background-image: url(../img/scroll-left.svg);
      background-position: 45% center;
    }
    &.right {
      right: 0.5em;
      background-image: url(../img/scroll-right.svg);
      background-position: 55% center;
    }
    @media (min-width: 1000px) {
      display: block;
    }
    &.invisible {
      opacity: 0;
    }
  }
  > .wp-block-group__inner-container {
    display: flex;
    overflow: auto;
    gap: 1em;
    scrollbar-width: none;   
    scroll-snap-type: x mandatory;
    > * {
      flex-shrink: 0;
      width: 320px;
      scroll-snap-align: center;
    }
    img {
      width: 100%;
      border-radius: 5px;
      border: 2px solid rgb(255 255 255 / 0.3); /* rgb(95 119 145 / 0.3) */
    }
    figure[class*='youtube-id-']:hover img {
      cursor: pointer;
    }
    p {margin-bottom: 0;}
  }
}

/*
.netflix-strip-66 .wp-block-group-is-layout-flex {
  overflow: auto;
  gap: 1em;
  scrollbar-width: none;   
  scroll-snap-type: x mandatory;
  position: relative;
  &::before, &::after {
    position: absolute;
    top: 0;
    bottom: 0;
    display: flex;
    align-items: center;
    background: rgb(255 0 0 / 0.5);
  }
  &::before {
    content: '<';
    left: 0;
  }
  &::after {
    content: '>';
    right: 0;
  }
  > * {
    flex-shrink: 0;
    width: 320px;
    scroll-snap-align: center;
  }
  img {
    width: 100%;
    border-radius: 5px;
    border: 2px solid rgb(255 255 255 / 0.3); ** rgb(95 119 145 / 0.3) **
  }
  figure[class*='youtube-id-']:hover img {
    cursor: pointer;
  }
}
*/

/* VIDEOS */

.dark-rounded-border iframe {
  background: var(--clr-steel-blue-darker);
  box-shadow: 0 0 0 3px var(--clr-steel-blue-darker);
  border-radius: 5px;
}

.light-rounded-border iframe {
  box-shadow: 0 0 0 3px rgb(255 255 255 / 0.3);
  border-radius: 5px;
}

.coming-soon {
  position: relative;
}

.coming-soon::after {
  content: url(../img/coming-soon.svg);
  position: absolute;
  width: 50%;
  right: 1.5px;
  bottom: -2.5px; /* -2.5% */
}

/* HOME PAGE */

.home .post-title {
  display: none;
}

.banner-desktop {
  display: none;
}

@media (min-width: 1000px) {
  .banner-mobile {
    display: none;
  }
  .banner-desktop {
    display: block;
  }
}

.program-table {
  text-align: center;
  margin-bottom: 1.5em;
}

.program-table table {
  display: inline-block;
  width: auto;
  text-align: left;
}

.program-table td {
  border: 0;
  padding: 0.2em 0.5em;
}

.program-table td:first-child {
  color: var(--clr-red);
  font-weight: bold;
  white-space: nowrap;
}

.video-section .video-lightbox {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgb(0 0 0 / 0.8);
  box-sizing: border-box;
  transition: 500ms;
  z-index: 9;
}

.video-section .video-lightbox.shrink {
  opacity: 0;
}

.video-section .video-lightbox iframe {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 90%;
  aspect-ratio: 16/9;
  transform: translate(-50%, -50%);
}

/*
@media (min-width: 1000px) {
  .video-section .video-lightbox {
    position: absolute;
  }
  .video-section .video-lightbox iframe {
    width: auto;
    height: 90%;
  }
}
*/

.video-section .video-lightbox .close {
  position: absolute;
  top: 1em;
  right: 1em;
  width: 20px;
  cursor: pointer;
}

/* OVERRIDES */

.half-black, .wp-block-cover p.half-black {color: rgba(0,0,0,0.5);}
.pt0 {padding-top: 0;}
.pb0 {padding-bottom: 0;}
.mt0 {margin-top: 0;}
.mb0 {margin-bottom: 0;}
.mb10 {margin-bottom: 10px;}
.w100 {width: 100%;}
.center-text {text-align: center;}
.hidden {display: none;}
