/* DEBUGGING ONLY - TO BE REMOVED */


main {
  padding-left: 2%;
  padding-right: 2%;
}

.contact {
  margin-top: 12px;
  font-style: italic;
}



#package-cards-container>article {
  margin-top: 20px;
  margin-bottom: 30px;
  flex: 30%;
}


.package-cards-container>article {
  margin-top: 20px;
  margin-bottom: 30px;
  flex: 30%;
}




/* Banner hero */

:root {

  --white: #ffffff;
}

.hero-outer {
  background: radial-gradient(circle at top left, rgb(35, 0, 63)5%, rgb(74, 0, 93)50%, rgb(104, 0, 130) 70%, rgb(150, 40, 167) 95%);
  /*  background: radial-gradient(circle at top left, rgba(39, 0, 63, 1)5%, rgb(83, 0, 92)50%, rgb(101, 18, 96)70%);
  background: radial-gradient(circle at top left, rgb(20, 0, 63)5%,rgba(39, 0, 63, 1)5%, rgb(83, 0, 92) 70%);*/
}

.hero-inner {
  max-width: 1400px;
  margin-left: auto;
  margin-right: auto;
  text-align: left;
  color: var(--white);
  display: flex;
  gap: 5%;
  flex-direction: column;
  align-items: stretch;
  justify-content: center;
  padding: 3%;
}

/* Mobile adjustments */
@media (min-width:860px) {
  .hero-inner {
    flex-direction: row;
  }
}



.hero-overlay {
  /* background: radial-gradient(circle at top left, rgb(67, 0, 86)5%, rgb(98, 0, 101)50%, rgb(105, 11, 91)70%); 
background: radial-gradient(
  circle at top left,
  #003a55 5%,
  #004f7a 50%,
  #05567b 70%); */
  width: 100%;
  max-width: 1200px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  /* background-color: #151731; 
 background: radial-gradient(circle at top left, rgba(39, 0, 63, 1)5%, rgb(83, 0, 92)50%, rgb(101, 18, 96)70%);*/
}


/* Mobile adjustments */
@media (min-width: 860px) {

  .hero-overlay {
    flex-grow: 3;
    flex-shrink: 1;
    flex-basis: 0;

  }

  .video-in-banner {
    flex-grow: 2;
    flex-shrink: 1;
    flex-basis: 0;
  }
}


.hero-content p {
  text-align: center;
}

.hero-title {
  font-size: clamp(1.6rem, 3.8vw, 2.2rem);
  margin-bottom: 20px;
  font-weight: 700;
  color: white;
  max-width: 100%;
}

.hero-sub {
  /*font-size: clamp(1rem, 2vw, 1.3rem);*/
  color: #ffffff;
  /* soft teal-white */
  margin-bottom: 20px;
  line-height: 1.6;
}


/* Mobile adjustments */
@media (max-width: 720px) {
  .hero-inner {
    height: auto;
  }

  .hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
  }
}

@media only screen and (min-width:900px) {
  .programme-hero {
    grid-template-columns: 2fr 1.5fr;
  }
}


.hero-title {
  overflow-wrap: anywhere;
  /* prevents single “chunks” causing overflow */
  word-break: normal;
  margin-top: 0px;
}



.video-container {
  width: 100%;
}

.video-in-banner {
  margin-left: 0px;
  margin-right: 0px;
  padding-left: 0px;
  padding-right: 0px;

  position: relative;
}

/*
.video-in-banner::before {
  content: "";
  position: absolute;

  width: 150%;
  height: 150%;

  top: 55%;
  left: 55%;
  transform: translate(-50%, -50%);

  background: radial-gradient(circle,
      rgba(255, 120, 255, 0.55) 0%,
      rgba(170, 80, 255, 0.35) 30%,
      rgba(120, 0, 255, 0.15) 55%,
      transparent 70%);

  filter: blur(90px);
  z-index: -1;
}*/

video {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
  border-radius: 8px;
 border: solid 1px #d1e6ea;

}

.video-in-banner video {
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.35);
}


@media only screen and (min-width: 768px) {
  .module-listing-video-container {
    padding-top: 60px;
  }
}





/* Why Sponsor section*/
:root {
  --brand: #007284;
  --ink: #0a0a0a;
  --bg-light: #f6fafb;
  --dark-teal: #0c4860;
}

.why-wrap {
  max-width: 1100px;
  margin: 0 auto;
}

.why-grid {
  margin-top: 20px;
  display: grid;
  gap: 32px;
}

/* Two-column on larger screens */
@media (min-width: 768px) {
  .why-grid {
    grid-template-columns: 2fr 1.5fr;
    align-items: start;
  }
}


.why-intro {
  font-size: 1.1rem;
  line-height: 1.6;
  color: var(--ink);
}

.why-list {
  color: #00344b;
  list-style: none;
  padding-top: 20px;
  margin: 0;
  display: grid;
  gap: 16px;
}

.why-list li {
  position: relative;
  padding-left: 2.2rem;
  padding-bottom: 12px;
  font-size: 1.1rem;
  line-height: 1.4;
  color: var(--dark-teal);
}

/* Custom checkmark bullet */
.why-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.25em;
  width: 1.5rem;
  height: 1.5rem;
  background-color: var(--brand);
  -webkit-mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 33'><path fill='white' d='M21.663 12.752a.938.938 0 010 1.327l-7 7a.94.94 0 01-1.326 0l-3-3a.938.938 0 111.326-1.327l2.293 2.294.088-.088 6.293-6.294a.938.938 0 011.326 0zm5.4 3.664A11.062 11.062 0 1016 27.477 11.075 11.075 0 0027.063 16.416zm1.875 0A12.937 12.937 0 1116 3.478a12.951 12.951 0 0112.938 12.938z'/></svg>") no-repeat center / contain;
  mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 33'><path fill='white' d='M21.663 12.752a.938.938 0 010 1.327l-7 7a.94.94 0 01-1.326 0l-3-3a.938.938 0 111.326-1.327l2.293 2.294.088-.088 6.293-6.294a.938.938 0 011.326 0zm5.4 3.664A11.062 11.062 0 1016 27.477 11.075 11.075 0 0027.063 16.416zm1.875 0A12.937 12.937 0 1116 3.478a12.951 12.951 0 0112.938 12.938z'/></svg>") no-repeat center / contain;
}



/* Two-column on larger screens */
@media (min-width: 768px) {
  .section-intro {
    text-align: justify;
  }
}


.modules {
  padding-bottom: 15px;
}

.modules span {
  color: var(--color-maroon-medium);
}

#module_description_card {
  grid-template-columns: 1fr 1fr;
}


.module-figure {
  padding-top: 10px;
}

@media (min-width: 768px) {
  .module-figure {
    padding-top: 0px;
  }
}

.module-grid.grid-container {
  grid-template-columns: 1fr;
  gap: 20px;
}

@media only screen and (min-width:768px) {
  .module-grid.grid-container {
    grid-template-columns: 1.5fr 1.5fr;
  }
}



.subHeading {
  /*MOVE TO PROGRAMME_CARDS.CSS LATER*/
  font-family: AvenirNextCyr-Regular, NunitoSans, FoundersGroteskRegular, sans-serif, Verdana, Geneva, Tahoma, sans-serif;
  color: var(--teal);
  font-size: 1rem;
  font-weight: 600;
}



.content {
  padding: 0px;
}

#packages-container img {
  border-radius: 8px;
border: solid 1px #d1e6ea;
}