:root {
  --color-red: #d00000;
  --container-max-width: 1280px;
  --container-gutter: 40px;
  --section-padding-block: 80px;
}

@media screen and (min-width: 768px) {
  :root {
    --container-max-width: 1280px;
    --container-gutter: 80px;
  }
}

@media screen and (min-width: 1024px) {
  :root {
    --container-max-width: 1280px;
    --container-gutter: 80px;
    --section-padding-block: 120px;
  }
}

@font-face {
  font-family: 'Blackout 2AM';
  src: url('../fonts/Blackout-2AM.woff2') format('woff2');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Blackout';
  src: url('../fonts/Blackout-Midnight.woff2') format('woff2');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Barlow';
  src: url('../fonts/barlow-light.woff2') format('woff2');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Barlow';
  src: url('../fonts/barlow-bold.woff2') format('woff2');
  font-weight: bold;
  font-style: normal;
  font-display: swap;
}

*, *:before, *:after {
  box-sizing: border-box;
}

* {
  margin: 0;
  padding: 0;
}

html {
  /* scroll-padding-block-start: 40px; */
}

body {
  margin: 0;
  background: #000;
  color: #fff;
  font-family: 'Barlow', sans-serif;
  font-size: 1rem;
  line-height: 1.5;
}

h1, h2 {
  line-height: 1.1;
}

a {
  text-decoration: none;
  color: inherit;
}

p:not(:last-child) {
  margin-block-end: 1.5rem;
}

.container,
.section__outer,
.footer__outer {
  --container-inner-width: min(100vw  - var(--container-gutter) * 2, var(--container-max-width));
  --container-outer-width: calc((100vw  - var(--container-inner-width)) / 2);
  margin-inline-start: max(var(--container-gutter), 50% - var(--container-max-width) / 2);
  margin-inline-end: max(var(--container-gutter), 50% - var(--container-max-width) / 2);
}

/**
 * SECTIONS
 */
.section__inner {
  padding-block: var(--section-padding-block);
}

.section + .section .section__inner {
  padding-block-start: 0;
}

.section__header {
  margin-block-end: 1rem;
}

.section__heading {
  font-family: 'Blackout';
  font-size: 2rem;
}

@media screen and (min-width: 1025px) {
  .section__inner {
    display: grid;
    gap: 24px;
    grid-template-columns: 360px minmax(auto, 720px);
    justify-content: space-between;
    padding-block: var(--section-padding-block);
  }

  .section__header {
    flex: 1 0 360px;
  }

  .section__heading {
    font-size: 4rem;
  }

  .section__body {
    max-width: 720px;
    flex: 1 0 720px;
  }

  .section--blurb .section__body {
    font-size: 1.25rem;
  }
}


/**
 * VIDEO SECTION
 */
.video-hero {
  display: grid;
  width: 100%;
  height: 100vh;
  height: 100svh;
  position: relative;
  overflow: hidden;
}

.video-hero video {
  grid-area: 1 / -1;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.video-hero__content-wrapper {
  grid-area: 1 / -1;
  display: grid;
  place-items: center;
  text-align: center;
  background: rgba(0, 0, 0, 0.30);

  position: relative;
  z-index: 1;
}

.video-hero__content-inner .subtitle {
  font-family: 'Blackout 2AM';
  font-size: 1.5rem;
  margin-block-end: 0.5rem;
}

.video-hero__content-inner .strike__outer {
  display: flex;
  justify-content: center;
}

.video-hero__content-inner .strike__line {
  width: 100%;
  border-bottom: 3px solid var(--color-red);
  position: relative;
  top: 1em;
  transform: rotate(-2deg);
}

.video-hero__content-inner .logo {
  font-size: 4rem;
}

.logo {
  font-family: 'Blackout';
}

.button-group {
  margin-block-start: 1rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 1rem;
}

.button {
  padding: 12px 20px;
  background: var(--color-red);
  color: #fff;
  text-align: center;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 4px;
  font-size: 0.875rem;
  font-family: 'Blackout';
  transition: background-color .3s ease-in-out;
}

.button-text {
  flex-grow: 1;
}

.button:hover {
  background: #ff0000;
}

@media screen and (min-width: 1025px) {
  .video-hero__content-wrapper {
    place-items: center start;
    text-align: start;
    background: rgba(0, 0, 0, 0.30);
  }

  .video-hero__content-outer {
    --container-inner-width: min(100vw  - var(--container-gutter) * 2, var(--container-max-width));
    --container-outer-width: calc((100vw  - var(--container-inner-width)) / 2);
    margin-inline-start: max(var(--container-gutter), 50% - var(--container-max-width) / 2);
    margin-inline-end: max(var(--container-gutter), 50% - var(--container-max-width) / 2);
  }

  .video-hero__content-inner .subtitle {
    font-size: 1.85rem;
  }

  .video-hero__content-inner .strike__outer {
    justify-content: start;
  }

  .video-hero__content-inner .strike__line {
    top: 1.2em;
  }

  .video-hero__content-inner .logo {
    font-size: 6rem;
  }

  .button-group {
    margin-block-start: 1rem;
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: minmax(0, 1fr);
    grid-template-columns: initial;
    gap: 1rem;
  }
}

/**
 * FOOTER
 */
.footer {
  background: var(--color-red);
}

.footer__inner {
  padding-block: 4rem;
}

.footer .section__inner {
  padding-block-end: var(--section-padding-block);
}

footer a {
  color: currentColor;
  transition: color .3s ease-in-out;
}

footer a:hover {
  color: #000;
}

.link--underline {
  border-bottom: 3px solid;
}

.social-icons {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}

.icon {
  width: 36px;
  height: auto;
}

/**
 * ANIMATION CLASSES
 */

.video-hero__content-inner {
  opacity: 1;
}

@media (prefers-reduced-motion: no-preference) {
  .video-hero__content-inner {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity .6s ease-out, transform .6s ease-out;
    will-change: opacity, transform;
  }
}

.video-hero__content-inner.animate-in {
  opacity: 1;
  transform: translateY(0);
}

.fade-up-element {
  opacity: 1;
  transform: translateY(0);
  transition: opacity .6s ease-in-out, transform .6s ease-in-out;
  will-change: opacity, transform;
}

.fade-up-element.out-view {
  opacity: 0;
  transform: translateY(20px);
}

/**
 * LITE YOUTUBE EXTENSION
 */
lite-youtube {
  border-radius: 12px;
}

.lite-youtube-fallback {
  aspect-ratio: 16 / 9; /* matches YouTube player */
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  gap: 1em;
  padding: 1em;
  background-color: #000;
  color: #fff;
  text-decoration: none;
}

/* right-facing triangle "Play" icon */
.lite-youtube-fallback::before {
  display: block;
  content: '';
  border: solid transparent;
  border-width: 2em 0 2em 3em;
  border-left-color: red;
}

.lite-youtube-fallback:hover::before {
  border-left-color: #fff;
}

.lite-youtube-fallback:focus {
  outline: 2px solid red;
}

/**
 * ACTION NETWORK
 */
.newsletter-custom #can-form-area-sign-up-to-palestine-action-newsletter #can_embed_form {
  font-family: 'Barlow' !important;
  max-width: 400px !important;
  min-height: 120px !important;
  color: #fff !important;
}

.newsletter-custom #can_embed_form #action_welcome_message #action_welcome_message_inner {
  background: transparent !important;
}

.newsletter-custom .can_embed.v5 #can_embed_form h2 {
  display: none !important;
}

.newsletter-custom .can_embed.v5 #can_embed_form h4 {
  display: none !important;
}

.newsletter-custom #can_embed_form .country_drop_wrap select#form-country.can_select {
  opacity: 1 !important;
  height: auto !important;
}

.newsletter-custom #can_embed_form #d_sharing.affirmative_optin_d_sharing,
.newsletter-custom #can_embed_form #d_sharing {
  display: none !important;
}

.newsletter-custom #can_embed_form #action_info {
  display: none !important;
}

.newsletter-custom #can_embed_form.can_float #form_col1,
.newsletter-custom #can_embed_form.can_float #form_col2 {
  width: 100% !important;
  float: none !important;
}

.newsletter-custom #can_embed_form input[type="text"], 
.newsletter-custom #can_embed_form input[type="password"], 
.newsletter-custom #can_embed_form input[type="url"], 
.newsletter-custom #can_embed_form input[type="email"], 
.newsletter-custom #can_embed_form input[type="tel"], 
.newsletter-custom #can_embed_form input[type="number"] {
  border-radius: 4px;
}

.newsletter-custom #can_embed_form input[type="submit"], 
.newsletter-custom #can_embed_form .button {
  font-family: 'Blackout' !important;
  font-size: 16px !important;
  letter-spacing: 2px !important;
  padding: 12px 24px !important;
  background: #d00000 !important;
	border-radius: 4px !important;
  transition: background-color 0.3s ease-in-out !important;
}

.newsletter-custom #can_embed_form input[type="submit"]:hover, 
.newsletter-custom #can_embed_form .button:hover {
  background: #ff0000 !important;
}

.newsletter-custom #can_embed_form .floatlabel-wrapper .floatlabel-label-active {
  opacity: 0 !important;
}

.newsletter-custom #can_embed_form #can_thank_you {
  padding: 0 !important;
  margin: 0 !important;
  text-align: left !important;
}

.newsletter-custom #can_embed_form #can_thank_you h1 {
  font-size: 16px !important;
  color: #d00000 !important;
  margin-bottom: 0 !important;
}

.newsletter-custom .can_thank_you_wrap.thank_you_v5.can_float > .clearfix {
  display: none !important;
}

.screenings {
  display: grid;
  gap: 24px;
}

.screening-item {
  border: 2px solid #d00000;
  border-radius: 8px;
  padding: 1.5rem 1.5rem 1.75rem;
  position: relative;
  z-index: 0;
  overflow: hidden;
}

.screening-item__header {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: start;
  margin-block-end: 1rem;
}

.screening-item__region {
  font-family: 'Blackout';
  font-size: 1.5rem;
  line-height: 1;
  position: relative;
  /* top: 0.75rem; */
}

.screening-item__bubble {
  background: #fff;
  color: #000;
  padding: 0.25rem;
  border-radius: 4px;
  font-family: 'Blackout';
  font-weight: bold;
  text-transform: uppercase;
  display: flex;
  gap: 2px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  line-height: 1;
}

.date {
  font-size: 1.5rem;
}

.month {
  font-size: .75rem;
}

p.screening-item__subheading {
  margin-block-end: 2px;
  font-size: 0.875rem;
  font-weight: bold;
  text-transform: uppercase;
}

.screening-item__date,
.screening-item__location {
  margin-block-end: 1rem;
}

.screening-item__location {
  margin-block-end: 1.5rem;
}

@media screen and (min-width: 1025px) {
  .screening-item__region {
    font-size: 2rem;
  }

  .date {
    font-size: 2rem;
  }

  .month {
    font-size: .875rem;
  }
}

@media screen and (min-width: 1280px) {
  .screenings {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.section--reverse {
  background: #fff;
  color: #000;
}

.section--reverse .section__outer {
  padding-block-start: var(--section-padding-block);
}

.section--screenings .section__outer {
  padding-block-start: var(--section-padding-block);
}

@media screen and (min-width: 1025px) {
  .section--screenings .section__inner {
    align-items: start;
  }

  .section--screenings .section__header {
    position: sticky;
    top: 40px;
  }
}

.text-lg {
  font-size: 1.25rem;
}

/* BLURB SECTION */
.bbfc-rating {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  text-transform: uppercase;
}

.bbfc-rating svg {
  width: 2rem;
  height: auto;
}

/* SELLFY SECTION */

.stream-image {
  border-radius: 12px;
  width: 100%;
  padding-bottom: 10px;
}

.stream-button {
  display: flex;
  justify-content: space-around;
}

.stream-button svg {
  width: 20px;
  height: auto;
  max-height: 1.1em;
  padding-right: 0.2em;
}

.stream-button svg path {
  fill: white;
}