/* Custom flexible content css here */

.h1, .h2, .h3, .h4, .h5, .h6, h1, h2, h3, h4, h5, h6 {
    font-weight: 800;
}

a,
a:hover,
a:visited {
  color: inherit;
word-break: break-word;
}

.hero__buttons a:visited {
  color: #fff;
}

dl, ol, ul {
  margin: 0 0 1em 0;
}

.site-main li {
    margin-bottom: .75rem;
}

b, strong {
    font-weight: 600;
}

.flex-module--home_hero {
  position: relative;
  min-height: 100vh;
  color: #fff;
  overflow: hidden;
  background: #000;
  display: flex;
}
.background-video {
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

.home-hero__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  z-index: 1;
}

.home-hero__content {
  position: relative;
  z-index: 2;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.home-hero__title-carousel {
  position: relative;
  text-align: center;
  width: 65%;
  overflow: hidden;
}

.home-hero__title-item {
  opacity: 0;
  transition: opacity 0.8s ease-in-out;
}

.home-hero__title-item.slick-active {
  opacity: 1;
}

.home-hero__title-carousel .home-hero__title {
    font-size: clamp(1.25rem, 3.5vw, 2.5rem);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
  margin: 0;
  line-height: 1.1;
  color: #fff;
  opacity: 0;
  transform: translateX(0);
  transition: opacity 1.2s ease-in-out, transform 1.2s ease-in-out;
}

.home-hero__title span {
    font-weight: 400;
}

.text-highlight {
    color: #f0b16a;
    font-weight: 400;
}

/* Active slide animation */
.slick-active .home-hero__title {
  opacity: 1;
  transform: translateX(0);
}

/* Alternate slides have slight directional motion */
.home-hero__title-item:nth-child(odd) .home-hero__title {
  transform: translateX(-40px);
}
.home-hero__title-item:nth-child(even) .home-hero__title {
  transform: translateX(40px);
}

/* As they become active, bring them to center */
.slick-active:nth-child(odd) .home-hero__title,
.slick-active:nth-child(even) .home-hero__title {
  transform: translateX(0);
}

.home-hero__buttons,
.contact-module-buttons {
    flex-direction: column;
    justify-content: space-around;
    align-items: flex-start;
}

  .home-hero__buttons .button,
  .contact-module-buttons .button {
    padding: 0.6rem 0.9rem;
    transition: all 0.3s ease;
    color: #fff;
    text-decoration: none;
    margin: .5rem 0;
    font-size: calc(1rem + 0.5vw);
  }

  .home-hero__cta-bar {
    position: absolute;
    bottom: 2rem;
    left: 2rem;
    background: rgb(255, 255, 255);
    color: #000;
    font-weight: 600;
    font-size: 1rem;
    padding: 0.25rem;
    text-align: center;
    z-index: 4;
    border-radius: 3px;
    a, strong {
      color: #000;
      text-decoration: none;
    }
  }

  .home-hero__cta-bar p {
    margin-bottom: 0;
    font-weight: 400;
  }

a.home-hero__whatsapp-link {
    z-index: 6;
    position: absolute;
    bottom: 1.5rem;
    right: 1.5rem;
    width: 50px;
    height: 50px;
    cursor : pointer;
}

a.home-hero__whatsapp-link:hover{
    transform: scale(1.1);
    transition: transform 0.3s ease;
}
    
.container-fluid {
    padding-right: 30px;
    padding-left: 30px;
}
@media (min-width: 768px) {
  .home-hero__content {
    flex-direction: row-reverse;
    justify-content: space-between;
  }
}
@media (max-width: 767px) {
  .home-hero__content {
    padding-bottom: 7rem;
  }
  .home-hero__buttons {
    position: absolute;
    bottom: 6rem;
    left: 2rem;
  }
  .home-hero__cta-bar {
    width: 50%;
    bottom: 1.5rem;
    left: 1.5rem;
  }
}
@media (max-width: 425px) {
  .home-hero__content.container-fluid {
    padding-right: unset;
    padding-left: unset;
  }

  .home-hero__title-carousel {
    width: 100%;
  }

  .home-hero__cta-bar p {
    font-size: 85%;
  }
  a.home-hero__whatsapp-link {
    width: 40px;
    height: 45px;
  }
}

/* 50/50 Text module */
.flex-module--text_split_5050 {
  padding: 3rem 0 6rem;
}

.flex-module--text_split_5050.light {
    padding: 0;
    /* margin: 3rem 0 6rem; */
    margin: 3rem 0 3rem;
}

.flex-module--text_split_5050.light img.bottom-shape {
    display: none;
}

.flex-module--text_split_5050.dark {
  background: #000;
  color: #fff;
}

@media (min-width: 768px) {
  .flex-module--text_split_5050 {
    padding: 6rem 0 7rem;
  }

  .flex-module--text_split_5050.light {
      padding: 0;
      margin: 6rem 0 7rem;
  }
}

.text-split-wrap {
max-width: 1300px;
margin: 0 auto;
}

.text-split-left {
  text-transform: none;
}

@media (max-width: 767px) {
  .light .text-split-left {
      padding-bottom: 2rem;
  }
}


.text-split-left .split-buttons {
    padding-left: 4rem;
    display: flex;
    flex-wrap: wrap;
    flex-direction: column;
}

.light .text-split-left .split-buttons {
    padding-left: 0;
}

.split-title {
  font-weight: 900;
  padding: 4rem 0;
  line-height: 1.15;
  max-width: 90%;
}

h1.split-title {
	font-size: clamp(2.75rem, 8vw, 6rem);
	font-size: clamp(2.5rem, 7vw, 6rem);
}
h2.split-title {
  font-size: clamp(2.25rem, 7vw, 5rem);
  font-size: clamp(2rem, 6vw, 5rem);
  padding: 0 4rem 2rem;
}
.light h2.split-title {
  padding: 0 0 2rem;
}

h3.split-title {
  font-size: clamp(2rem, 6vw, 4.2rem);
  font-size: clamp(1.75rem, 6vw, 4.2rem);
  padding: 0 4rem 4rem;
}

img.bottom-shape {
position: absolute;
bottom: -1px;
left: 35.5%;
width: calc(28% + .75rem);
z-index: 4;
}

.text-split-right {
  /* font-size: 1.125rem; */
  font-size: clamp(1rem, 1.8vw, 1.125rem);
  font-size: clamp(.875rem, 1.8vw, 1.125rem);
  padding-right: 5%;
  line-height: 1.6;
  max-width: 550px;

  .split-cta-notice {
    font-weight: 600;
            margin-top: 3rem;
        background: rgb(234, 255, 0);
        color: rgb(0, 0, 0);
        font-size: 1rem;
        padding: 0.25rem 1.3rem;
        text-align: center;
        border-radius: 3px;
        width: fit-content;
        margin-bottom: 2rem;
        

    a {
      text-decoration: none;
    }

    a:hover {
    text-decoration: underline;
    }

    strong {
      display: inline-block;
      /* font-weight: 700; */
    }
  }

  .split-cta-notice--linked {
    display: block;
    text-decoration: none;
  }

  .split-cta-notice--linked:hover strong {
    text-decoration: underline;
  }

  .split-cta-notice p {
    margin-bottom: 0;
    }

  .split-buttons {
    margin-top: 1.5rem;
  }
}

&.light {
  background: #fff;
  color: #000;
}


@media (max-width: 767px) {
  .text-split-left .split-buttons {
    padding-left: 0;
    flex-direction: row;
    margin-bottom: 1rem;
  }
   .split-title {
    padding: 2rem 0;
  }

  img.bottom-shape {
    left: 25%;
    width: calc(50% + .75rem);
  }
  .text-split-right {
    padding-right: 0;
    margin-top: 2rem;
    max-width: 100%;
  }
}

@media (max-width: 991px) {
  h2.split-title {
    padding: 0 0 2rem;
  }
  h3.split-title {
    padding: 0 0 4rem;
  }
  .text-split-left .split-buttons {
    padding-left: 0;
  }
}

/* -----------------------------------------------------------
   CAMPUS MODULE
----------------------------------------------------------- */

section.flex-module--campuses_module {
  padding-top: 0rem;
  padding-bottom: 4rem;
}

.home .flex-module--campuses_module {
  padding-top: 4rem;
}

/* Wrapper (container-fluid) */
.campuses-wrap {
  max-width: 1300px;
  margin: 0 auto;
}

/* Base grid (mobile-first stack) */
.campuses-grid {
    overflow: hidden;
  display: grid;
  gap: 2rem;
  grid-template-columns: 1fr;
  grid-template-areas:
    "title"
    "img1"
    "intro"
    "img2"
    "summary"
    "img3";
}

/* -----------------------------------------------------------
   DESKTOP GRID LAYOUT
----------------------------------------------------------- */
@media (min-width: 992px) {
  section.flex-module--campuses_module {
    padding-top: 6rem;
    padding-bottom: 6rem;
  }

  .campuses-grid {
    grid-template-columns: repeat(12, minmax(0, 1fr));
    grid-auto-rows: auto;
    grid-template-areas:
      "title  title  title  title  title img1 img1  img1  img1  img1  img1 img1"
      "img2  img2  img2  img2  img2  img2  img2 intro intro intro intro intro"
      "summary summary summary summary summary img3 img3 img3  img3  img3  img3 .";
    position: relative;
  }

  /* area placement */
  .campuses-grid .area--title { 
    grid-area: title; 
    align-self: start; 
    z-index: 4;
  }
  .campuses-grid .area--img1 { 
    grid-area: img1;  
    align-self: start; 
    justify-self: end; 
    z-index: 2;
  }
  .campuses-grid .area--img2 { 
    grid-area: img2;  
    align-self: center; 
    justify-self: start; 
    z-index: 3;
  }
  .campuses-grid .area--intro { 
    grid-area: intro; 
    align-self: start;
    justify-self: start;
    margin-top: 0;
    /* padding-left: 1rem; */
  }
  .campuses-grid .area--summary { 
    grid-area: summary; 
    align-self: start;
    margin-top: 0;
    padding-left: 2rem;
  }
  .campuses-grid .area--img3 { 
    grid-area: img3;  
    align-self: center; 
    justify-self: end; 
    z-index: 2;
  }

  .campuses-grid .area--img2 .campus-card { 
    margin-top: -12rem; 
  }
  .campuses-grid .area--img3 .campus-card { 
    margin-top: -12rem;  
  }
}

/* -----------------------------------------------------------
   MOBILE ORDERING (natural reading)
----------------------------------------------------------- */
@media (max-width: 991px) {
  .campuses-grid .area--img1 { order: 1; }
  .campuses-grid .area--intro { order: 2; }
  .campuses-grid .area--img2 { order: 3; }
  .campuses-grid .area--summary { order: 4; }
  .campuses-grid .area--img3 { order: 5; }
}

/* -----------------------------------------------------------
   TYPOGRAPHY
----------------------------------------------------------- */
.campuses-heading {
  font-weight: 900;
  line-height: 1;
	font-size: clamp(2.75rem, 8vw, 6rem);
	font-size: clamp(2.5rem, 7vw, 6rem);
  margin: 0;
}
.campuses-heading span { display: block; }

.campuses-intro,
.campuses-summary {
  font-size: clamp(1rem, 1.6vw, 1.4rem);
  font-size: clamp(1rem, 1.6vw, 1.3rem);
  line-height: 1.4;
  max-width: 95%;
  color: #222;
}

@media (min-width: 992px) {
  .campuses-heading {
    padding-block: 10rem 2rem;
  }
  .campuses-intro,
  .campuses-summary {
    padding: 2rem;
  }
}

@media (max-width: 600px) {
  .home .campuses-heading {
    padding-block: 4rem 2rem;
  }

  .campuses-heading {
    padding-bottom: 2rem ;
  }
}

/* -----------------------------------------------------------
   CAMPUS CARDS
----------------------------------------------------------- */
.campus-card {
  position: relative; /* ensures overlay anchors to this */
  display: block;
  overflow: hidden;
  box-shadow: 0 10px 25px rgba(0,0,0,0.08);
  max-width: 100%; /* full responsive width */
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease, box-shadow 0.35s ease;
}
.aos-animate .campus-card {
  opacity: 1;
  transform: translateY(0);
}


.campus-card img {
  width: 100%;
  display: block;
  object-fit: cover;
  aspect-ratio: 1.35 / 1;
  transition: transform 0.35s ease;
}

@media (min-width:992px) {
  .campus-card img {
    aspect-ratio: 1 / 1.15;
  }
}

.campus-card:hover img { transform: scale(1.03); }

.campus-card:hover {
  transform: translateY(-0.5rem);
  box-shadow: 0 20px 38px rgba(0,0,0,0.18);
  z-index: 5;
}

/* -----------------------------------------------------------
   OVERLAYS
----------------------------------------------------------- */
.campus-overlay {
  position: absolute;
  padding: clamp(1.2rem, 2vw, 2.5rem);
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.campus-overlay.top-left { 
  top: 0; 
  left: 0;
  align-items: flex-start;  
}
.campus-overlay.bottom-left { 
  bottom: 0; 
  left: 0;
  align-items: flex-start; 
}
.campus-overlay.top-right { 
  bottom: 0; 
  right: 0;
  align-items: flex-end;
}
.campus-overlay.bottom-right { 
  bottom: 0; 
  right: 0;
  align-items: flex-end;
}

/* soft gradient background for legibility */
.campus-overlay.bottom-left::before,
.campus-overlay.bottom-right::before {
  content: "";
  position: absolute;
  inset: -20% 0 0 0;
  background: linear-gradient(to top, rgba(0,0,0,0.25), rgba(0,0,0,0));
  pointer-events: none;
}

.campus-overlay.light .campus-location { 
  color: #000; 
}
.campus-overlay.dark  .campus-location { 
  color: #fff;
  text-shadow: 0 0 4px #000008;
}

.campus-location {
  font-weight: 300;
  font-size: clamp(1.25rem, 1.3vw + 1rem, 2rem);
  font-size: clamp(1.25rem, 1.3vw + 1.3rem, 2rem);
  margin: 0;
}

/* -----------------------------------------------------------
   BRACKET BUTTONS
----------------------------------------------------------- */
.bracket-button { 
  display: inline-block; 
  width: fit-content;
  font-weight: 300;
}
.bracket-button.dark  { color:#000; border-color:#000; }
.bracket-button.light { color:#fff; border-color:#fff; }

.bracket-button.dark::before,
.bracket-button.dark::after,
.bracket-border.dark::before,
.bracket-border.dark::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(to right, #000 0 12px, transparent 12px calc(100% - 12px), #000 calc(100% - 12px) 100%);
}

.bracket-button.light::before,
.bracket-button.light::after,
.bracket-border.light::before,
.bracket-border.light::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(to right, #ffffff 0 12px, transparent 12px calc(100% - 12px), #ffffff calc(100% - 12px) 100%) !important;
}

.campus-overlay .bracket-button.highlight {
    background-color: #eaff00eb;
    color: #000000;
}

.tutor-alumni-grid__item-image-holder .bracket-button {
      /* padding: 0.4em 1.2em; */
      padding: 0.6em 1em;
}

span.tutor-alumni-grid__item-campus-tag {
    padding: 1px 6px;
    margin-right: .4rem;
    font-size: clamp(.6rem, 1.1vw, .7rem);
    margin-top: 1px;
}

@media (min-width: 768px) and (max-width: 1200px) {
  .tutor-alumni-grid__item-image-holder .bracket-button {
        font-size: clamp(.6rem, 1.25vw, 1rem);
  }

  span.tutor-alumni-grid__item-campus-tag {
    font-size: clamp(.6rem, 1.1vw, .7rem);
  }

  .tutor-alumni-grid__item-strapline {
    font-size: clamp(.6rem, 1.25vw, 1rem);
  }
}


/* -----------------------------------------------------------
   STUDIOS MODULE
----------------------------------------------------------- */
section.flex-module--studios_module {
  position: relative;
  overflow: hidden;
}

/* ---------- FULL-WIDTH IMAGES ---------- */
.studio-image-full {
  width: 100%;
  display: block;
  position: relative;
  overflow: hidden;
}
.studio-image-full img {
  width: 100%; 
  height: auto;
  display: block;
  object-fit: cover;
}

.studios-heading-wrap {
    margin-bottom: 0;
    position: relative;
    z-index: 2;
    width: 66.6666%;
    left: 33.3333%;
}

.studio-image-full.studio-image--1 {
    width: 80%;
    margin-top: 0;
}

.studio-image-full.studio-image--1 img {
  aspect-ratio: 16 / 9;
}

.studio-image-full.studio-image--3 {
  margin-top: 2rem;
}

.studio-image-full.studio-image--3 img {
  aspect-ratio: 16 / 12;
}

.studios-wrap {
    max-width: 1300px;
    margin: 0 auto;
    margin-top: -2rem;
}
.studios-grid {
  display: grid;
  gap: 2rem;
  grid-template-columns: 1fr;
  grid-template-areas:
    "img2"
    "content";
}

/* ---------- TYPOGRAPHY ---------- */
.studios-heading {
  margin-bottom: 2rem;
  font-weight: 900;
  line-height: 1.1;
	font-size: clamp(2.75rem, 8vw, 6rem);
	font-size: clamp(2.5rem, 7vw, 6rem);
}

.studios-content {
  font-size: clamp(1rem, 1.6vw, 1.3rem);
  line-height: 1.4;
  max-width: 95%;
  color: #222;
  padding: 2rem 2rem 0;
}

@media (min-width: 768px) and (max-width: 991px) {
  .studios-content {
    padding: 1rem 0 0 0;
  }
}

@media (max-width: 475px) {
  .studios-content {
    padding: 1rem 0 0;
  }
}

@media (min-width: 992px) {
  .studios-content {
    padding: 1rem 0 0 1rem;
  }
}

@media (min-width: 1250px) {
  .studios-content {
    padding: 2rem 0 1rem 2rem;
  }
}

/* ---------- IMAGE STYLES ---------- */
.studio-image {
    padding-left: 33.333%;
}

.studio-image img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  box-shadow: 0 10px 25px rgba(0,0,0,0.08);
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}
.studio-image:hover img {
  transform: scale(1.03);
  box-shadow: 0 20px 38px rgba(0,0,0,0.18);
}

/* Desktop layout */
@media (min-width: 768px) {
  .studios-heading-wrap {
     width: 60%;
    left: 40%;
  }

  .studios-wrap {  
    padding-inline: 2rem;
    padding-inline: 0;
  }

  .studio-image {
    padding-left: 0;
  }
  .studio-image-full.studio-image--1 {
    width: 69%;
    margin-top: -4em;
  }
  .studios-grid {
    grid-template-columns: repeat(12, 1fr);
    grid-template-areas:
      "content content content content content content img2 img2 img2 img2 img2 img2";
    align-items: center;
  }

  .studios-grid .area--img2    { 
    grid-area: img2;
    align-self: center;
    justify-self: start;
    margin-top: -6rem;
    margin-bottom: 4rem;
  }
  .studios-grid .area--content { 
    grid-area: content;
    align-self: end;
    justify-self: start;
    /* margin-top: 9rem; */
    padding: 2rem 2rem 0 2rem;
    z-index: 3;
    background-color: #fff;
    max-width: 36rem;
    padding: 2rem 2rem;
    margin-bottom: -3rem;
  }

  .studio-image-full.studio-image--3 {
    margin-top: -1rem;
  }
  .studio-image-full.studio-image--3 img{
    aspect-ratio: 16 / 7;
  }
}

@media (min-width: 900px) {
    .studios-wrap {
        padding-inline: 1rem;
    }

    .studio-image {
        padding-left: 0;
        padding: 2rem;
        padding-left: 2rem;
    }
}

@media (min-width: 992px) {
    .studios-wrap {
        padding-inline: 2rem;
    }

    .studio-image {
        padding-left: 0;
        padding: 2rem;
        padding-left: 2rem;
    }
}


@media (min-width: 1380px) {
  .studio-image-full.studio-image--1 {
    margin-top: -8em;
  }
}
@media (max-width: 470px) {
  .studios-heading-wrap {
    left: 0;
  }
}


/* -----------------------------------------------------------
   IMAGE SPLIT MODULE
----------------------------------------------------------- */

.image-split {
    position: relative;
    /* padding: 6rem 0; */
    padding: 8rem 0 12rem;
    overflow: visible;
}

.image-split__inner {
    position: relative;
    display: flex;
    gap: 2rem;
    align-items: center;
    overflow: visible;
}

/* Left + right areas have fluid control */
.image-split__left,
.image-split__right {
    position: relative;
    flex: 1 1 50%;
    overflow: visible;
    z-index: 5;
}

.image-split__title {
        font-size: clamp(2.25rem, 7vw, 5rem);
        font-size: clamp(2rem, 6vw, 5rem);
    font-weight: 900;
    line-height: 1;
    overflow: visible;
    position: relative;
    z-index: 10;
    padding-bottom: 1rem;
}

.image-split__content {
    margin: 1rem 0 3rem;
    font-size: clamp(1rem, .85rem + 0.4vw, 2.5rem);
    font-size: clamp(1rem, 3vw, 1.1rem);
    font-weight: 300;
}

.image-split__link {
    font-size: calc(1rem + .2vw);
    max-width: 100%;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 5px;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
    transition: all 0.3s ease;
}

@media (min-width:500px) and (max-width:767px) {
  .image-split__link {
    max-width: 90%;
  }
}

@media (min-width:768px) and (max-width:991px) {
  .image-split__link {
    max-width: 90%;
  }
}

@media (min-width:992px) {
  .image-split__link {
    max-width: 80%;
  }
}

a.image-split__link:hover {
    color: #FF0000;
    color: #000000;
}

a.image-split__link:hover svg path {
    fill: #FF0000;
    fill: #000000;
}

.svg-enabled a.image-split__link {
    color: #FF0000;
    color: #000000;
}

.svg-enabled a.image-split__link svg path {
    fill: #FF0000;
    fill: #000000;
}

.svg-enabled a.image-split__link:hover {
    color: #000000;
    color: #EAFF00;
    color: #878787;
}

.svg-enabled a.image-split__link:hover svg path {
    fill: #000000;
    fill: #EAFF00;
    fill: #878787;
}

@media (max-width: 1299px) {
    .svg-enabled .image-split__inner a.image-split__link svg,
    .image-split__inner a.image-split__link svg {
        max-width: 160px;
    }
}

@media (max-width: 460px) {
  .image-split__link {
    align-items: flex-start;
    gap: 0;
    flex-direction: column;
  }

  .svg-enabled .image-split__inner a.image-split__link svg,
  .image-split__inner a.image-split__link svg {
      max-width: 100px;
  }
}

/* ORDER REVERSE */
.image-split.order-reverse .image-split__inner {
    flex-direction: row-reverse;
}

/* STYLE 1 – 33/66 */
section.image-split.style-style_1 {
    padding: 6rem 0;
}

.style-style_1 .image-split__left {
    flex: 0 0 40%;
    z-index: 6;
    padding-bottom: 3rem;
}

.style-style_1 .image-split__right {
    flex: 0 0 60%;
    /* flex: 0 1 67%; */
    padding-bottom: 0;
}

/* Title overlaps image slightly */
.style-style_1 .image-split__title {
        width: 118%;
        width: 88% !important;
    padding-bottom: clamp(3rem, 6vw, 5rem);
}

.style-style_1 .image-split__content {
    padding-right: 10%;
    padding-bottom: 2rem;
    margin: 0;
}

.style-style_1 .image-split__image-wrap {
    padding-left: 0;
}

.style-style_1 .image-split__image {
    aspect-ratio: 1;
    object-fit: cover;
}

@media (min-width:600px) and (max-width: 699px) {
  section.image-split.style-style_1 {
    padding: 8rem 0;
  }
}


@media (min-width:700px) and (max-width: 767px) {
  section.image-split.style-style_1 {
    padding: 8rem 0 10rem;
  }
}

@media (min-width:768px) and (max-width: 991px) {
  section.image-split.style-style_1 {
    padding: 8rem 0 12rem;
  }
}


@media (min-width: 992px) {
  .style-style_1 .image-split__right {
      padding-bottom: 3rem;
  }

  .style-style_1 .image-split__title {
      width: 85% !important;
  }

  .style-style_1 .image-split__content {
      padding-bottom: 0rem;
  }

  .style-style_1 .image-split__image-wrap {
      padding-left: 2rem;
  }

  .style-style_1.order-reverse .image-split__image-wrap {
      padding-left: 0;
      padding-right: 2rem;
  }

  .style-style_1 .image-split__image {
      aspect-ratio: 1 / 1.2;
  }
}

@media (min-width:992px) {
  .style-style_1 .image-split__content{
		  margin: 1rem 0 3rem;
  }
	.style-style_1 .image-split__title {
    padding-bottom: 1rem;
	}
  .style-style_1 .image-split__image {
        aspect-ratio: 1;
  }
}

@media (min-width:1175px) {
  .style-style_1 .image-split__image-wrap {
    padding-top: 2rem;
  }
}

@media (min-width:1300px) {
  section.image-split.style-style_1 {
    padding: 8rem 0 12rem;
  }
}

section.image-split.style-style_1 .image-split__inner{
    max-width: 1300px;
    margin: 0 auto;
    gap: 0;
}

/* STYLE 2 – 60/40 + image bleed right */

@media (min-width: 992px) {
  section.image-split.style-style_2 {
    padding: 6rem 0;
  }

.style-style_2 .image-split__left {
    flex: 0 0 60%;
    z-index: 6;
}

.style-style_2 .image-split__left-inner {
    max-width: 800px;
    margin-left: auto;
}

.style-style_2 .image-split__right {
    flex: 0 0 40%;
}

/* Bleed image */
.style-style_2 .image-split__image-wrap {
    position: relative;
    right: -5%;
    right: 0;
}

.style-style_2 .image-split__image {
    aspect-ratio: 1;
    object-fit: cover;
}

.style-style_2 .image-split__content {
    padding-right: 10vw;
    padding-right: 12%;
}

.style-style_2 .image-split__title {
    max-width: 80%;
}
}

@media (min-width: 992px) {
  .style-style_2 .image-split__image {
      aspect-ratio: 1 / 1.25;
  }
}

@media (min-width: 1300px) {
  .style-style_2 .image-split__inner {
      padding-left: 2rem;
  }
}

/* STYLE 3 – Pure 50/50 */

.style-style_3 .image-split__inner {
  max-width: 1300px;
  margin: auto;
  gap: 0;
}

.style-style_3 .image-split__left,
.style-style_3 .image-split__right {
    flex: 0 0 50%;
}

.style-style_3 .image-split__content {
    padding-right: 5%;
}

.style-style_3 .image-split__image {
    aspect-ratio: 1;
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

.home .image-split.style-style_3.order-reverse {
    padding: 8rem 0 4rem;
}

@media (min-width: 768px) and (max-width: 991px) {
  .style-style_3 .image-split__content {
    padding-right: 10vw;
    padding-right: 12%;
  }
}


/* STYLE 4 – Small image + yellow block + title overlap left */
/* Simple 50/50 split */
.style-style_4 .image-split__left,
.style-style_4 .image-split__right {
    flex: 0 0 50%;
}

.style-style_4 .image-split__left {
    padding-top: 17%;
}

/* Yellow block behind small image */
.style-style_4 .image-split__yellow-block {
    position: absolute;
    left: 0;
    top: 0;
    width: 40%;
    height: 60%;
    background: #EAFF00;
    z-index: 1;
    transform: translateX(-3.7%);
}

/* Smaller image, pulled a bit into the layout */
.style-style_4 .image-split__image-wrap--style4 {
    position: relative;
    width: 60%;
    margin-left: 25%;
    z-index: 2;
}

.style-style_4 .image-split__inner {
    align-items: flex-start;
    gap: 0;
}

.style-style_4 .image-split__image {
    aspect-ratio: 1;
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

/* Text on the right */
.style-style_4 .image-split__right-inner--style4 {
    position: relative;
    z-index: 3;
}

.style-style_4 .image-split__content {
    padding-right: 6%;
}

@media (min-width: 768px) and (max-width: 991px) {
  section.image-split.style-style_4.order-normal {
    padding: 6rem 0;
  }

  .style-style_4 .image-split__yellow-block {
      width: 70%;
      height: 50%;
  }

  .style-style_4 .image-split__image-wrap--style4 {
    width: 75%;
    margin-left: 10%;
  }

  .style-style_4 .image-split__right-inner--style4 {
    padding-top: 3rem;
  }

  .style-style_4 .image-split__content {
    padding-right:7%;
  }

  .style-style_4 .image-split__left {
      padding-top: 10%;
  }
}


@media (min-width: 992px) {
  /* Title overlaps left (onto yellow block) */
  .style-style_4 .image-split__title--style4 {
          width: 118%;
      margin-bottom: 1.5rem;
      transform: translateX(-27%);
          margin-top: -2.5rem;
          padding-bottom: 6rem; 

  }
  .style-style_4 .image-split__left {
      padding-top: 10%;
  }
}

@media (min-width: 992px) and (max-width: 1269px) {
  .style-style_4 .image-split__image-wrap--style4 {
    width: 70%;
    margin-left: 15%;
  }

  .style-style_4 .image-split__content {
    padding-right: 15%;
  }
}

@media (min-width: 1270px) {
  .style-style_4 .image-split__left {
    padding-top: 6rem;
  }

  .style-style_4 .image-split__content {
    padding-right: 30%;
  }
}

@media (min-width: 1270px) and (max-width: 1700px) {

}

/* Flip horizontally */
.svg-flip-horizontal .svg-shape {
    transform: scaleX(-1);
}

/* Section becomes the positioning context */
section.image-split.svg-enabled {
    position: relative;
    background-color: #ededed;
    overflow: visible; /* important for top SVG */
}

section.image-split.svg-enabled:nth-of-type(1) {
    margin-top: 8rem;
}


.image-split__svg {
    position: absolute;
    left: 0;
    width: 100%;
    height: 0; /* important — allows top graphics to float outside the box */
    pointer-events: none;
    z-index: 0;
}

.image-split__svg.top-svg {
    top: 1px;  /* anchor to the top of the section */
}
.image-split__svg.bottom-svg {
    bottom: 0; /* anchor to the bottom of the section */
}

/* make sure actual content sits above */
.image-split__inner,
.image-split__left,
.image-split__right {
    position: relative;
    z-index: 5;
}

/* Shared styles for chevrons */
/* TOP SVG — anchored to the top edge properly */
.top-chev {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translate(-50%, -100%);
    width: min(2000px, 110%);
    height: auto;
}

/* BOTTOM SVG — normal interior anchor */
.bottom-chev {
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: min(2000px, 110%);
    height: auto;
}

/* RESPONSIVE (≤ 768px) */
@media (max-width: 768px) {
    .image-split {
        padding: 4rem 0 8rem;
    }

    .image-split__inner {
        flex-direction: column;
        gap: 2rem;
    }

    .image-split__title {
      width: 100% !important;
      transform: none !important;
      padding-bottom: 2rem;
    }

    .image-split__image-wrap {
        right: 0 !important;
        width: 100% !important;
    }

    .style-style_2 .image-split__left {
        flex: 0 1 60%;
        padding-bottom: 3rem;
    }

    

    /* STYLE 4 ADJUSTMENTS */
    .style-style_4 .image-split__inner {
        flex-direction: column;
        align-items: flex-start;
    }

    .style-style_4 .image-split__left,
    .style-style_4 .image-split__right {
        /* flex: 0 0 100%; */
        flex: 0;
    }

    .style-style_4 .image-split__image-wrap--style4 {
        width: 80%;
        margin-left: 10%;
    }

    .style-style_4 .image-split__title--style4 {
        transform: none;
        /* margin-top: 1rem; */
        margin-top: 3rem;
        padding-bottom: 2rem;
    }

}

@media (max-width: 991px) {
  .style-style_3 .image-split__left {
        padding-bottom: 4rem;
    }
}

@media (min-width: 500px) and (max-width: 768px) {
  .style-style_4 .image-split__yellow-block {
        width: 90%;
        left: 2.5%;
        height: 40%;
        top: 2%;
    }
}

@media (max-width: 499px) {
  .style-style_4 .image-split__yellow-block {
        width: 90%;
        left: 0;
        height: 35%;
        top: 1%;
        transform: translateX(-4.7%);
    }
}

/* -----------------------------------------------------------
   Hero tweaks
----------------------------------------------------------- */
section.flex-module--hero {
    padding-top: 6rem;
    padding-bottom: 6rem;
    position: relative;
    overflow: hidden;
    min-height: 95vh;
      display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
}

.hero__background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 1;
}

 .hero__video-wrapper,
 .hero__media-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    background-blend-mode: color-burn;
    background-color: #a79595;
}

.hero__background-video,
.hero__youtube-player iframe {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* FADE-IN for the actual video (the poster is now the wrapper background) */
.hero__background-video {
    opacity: 0;
    transition: opacity .6s ease;
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero__background-video.is-playing {
    opacity: 1;
}


/* PLAY BUTTON */
.hero__video-play {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 120px;
    height: 120px;
    border-radius: 50%;
    border: none;
    cursor: pointer;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: .6;
}

.hero__video-play::before {
    content: '';
    border-style: solid;
    border-top-width: calc(30px + 2vw);
    border-right-width: 0px;
    border-bottom-width: calc(30px + 2vw);
    border-left-width: calc(60px + 2vw);
    border-color: transparent transparent transparent rgba(217, 217, 217, 1);
    margin-left: 10px;
}

.hero__video-play:hover {
    opacity: 1;
}

.hero__youtube-player {
    position: relative;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.hero__youtube-player::after {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.25);
    pointer-events: none;
}


.hero__background-image {
    height: 100%;
    background-repeat: no-repeat;
    background-attachment: fixed;
    background-position-y: 75%;
    background-size: 100%;
    background-blend-mode: color-burn;
    background-color: #a79595;
}

.hero__overlay {
    /* background: rgba(0, 0, 0, 0.3); */
    position: absolute;
    inset: 0;
    height: 100%;
    width: 100%;
    background: radial-gradient(
      ellipse at top left, 
      rgba(234, 255, 0, 0.45) 0%,
        rgba(0, 0, 0, 0) 40%,
        rgba(0, 0, 0, 0) 70%,
        rgba(234, 255, 0, 0.45) 85%
      );
    z-index: 4;
    pointer-events: none;
}

.hero__title {
    font-weight: 900;
    line-height: 1.1;
	  font-size: clamp(2.75rem, 8vw, 6rem);
	  font-size: clamp(2.5rem, 7vw, 6rem);
    margin-bottom: 2rem;
    text-align: left;
    margin-left: 0;
    max-width: 100%;
}

.hero__content {
    position: relative;
    z-index: 4;
    color: #fff;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0;   
}

.hero__logo {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 11;
    display: flex;
    align-items: center;
    justify-content: center;
    width: min(40vw, 420px);
    max-width: calc(100% - 3rem);
    pointer-events: none;
}

.hero__logo-image {
    display: block;
    width: 100%;
    height: auto;
    max-height: 40vh;
    object-fit: contain;
}

.hero__buttons {
    position: absolute;
    bottom: 15%;
    width: 100%;
    z-index: 4;
}

@media (min-width: 401px) {
    .hero__title {
        max-width: 70%;
    }
}

@media (min-width: 576px) {
  .hero__content {
        padding: 0 2rem 0 0;
  }
  
  .hero__title {
      max-width: 75%;
      margin-left: 1rem;
  }
}

@media (min-width: 768px) {
  .hero__content {
    padding: 0 2rem;   
  }

  .hero__title {
      max-width: 75%;
  }
}

@media (min-width: 891px) {
  .hero__content {
    padding: 0 2rem;   
  }

  .hero__title {
      margin-left: 1rem;
      max-width: 60%;
  }

}
/* ACM London / Guildford specific page override for hero title width */
.page-id-1053 .hero__title,
.page-id-1054 .hero__title {
    max-width: 50% !important;
}

/* ACM B'ham specific page override for hero title width */
@media (min-width: 768px) and (max-width: 1440px) {
    .page-id-1056 .hero__title {
    max-width: 75%;
  }
}

@media (min-width: 891px) {
    .page-id-1056 .hero__title {
    max-width: 75%;
  }
}

@media (min-width: 1441px) {
    .page-id-1056 .hero__title {
    max-width: 70%;
  }
}



/* -----------------------------------------------------------
   Contact module tweaks
----------------------------------------------------------- */

section.flex-module--contact_module {
        margin-bottom: 4rem;
}

.contact-module-left {
    padding-top: 6rem;
    padding-bottom: 6rem;
    padding-right: 5%;
}

.contact-module-right {
    background-color: #ededed;
    padding-top: 6rem;
    padding-bottom: 6rem;
    padding-left: calc(2rem + 5vw);
    padding-right: calc(2rem + 5vw);
}
@media (min-width: 768px) {
  .contact-module-right {
      padding-left: calc(.5rem + 6vw);
      padding-right: calc(.5rem + 6vw);
  }
}

@media (min-width: 992px) {
  section.flex-module--contact_module {
      margin-bottom: 8rem;
  }
}

h2.contact-module-title {
    margin-bottom: 2rem;
    font-weight: 900;
    line-height: 1.1;
    font-size: clamp(2.25rem, 7vw, 5rem);
    font-size: clamp(2rem, 7vw, 5rem);
}

.contact-module-buttons {
    padding-bottom: 2rem;
}

 .contact-module-buttons .button {
  margin: .5rem 0 2rem;
 }

.contact-module-ucas-cta {
    background: #EAFF00;
    left: unset;
    bottom: unset;
    position: relative;
    color: #000;
    font-weight: 600;
    font-size: 1rem;
    padding: 0.25rem 1.3rem;
    text-align: center;
    z-index: 4;
    border-radius: 3px;
    width: fit-content;
    margin-bottom: 2rem;
}

.contact-module-ucas-cta a {
  text-decoration: none;
}

.contact-module-ucas-cta a:hover {
  text-decoration: underline;
}


.contact__form-title {
  font-size: 3em;
  margin-bottom: 4rem;
}

.flex-module--contact_module input {
    margin-bottom: 3em;
    background: none !important;
    border: 0 !important;
    border-bottom: 1px solid #000000 !important;
    border-radius: 0 !important;
}

.gfield textarea {
    border-bottom: 0px solid #000 !important;
}

.flex-module--contact_module input,
select.form-select {
    font-weight: 300;
}

.form-control {
    font-size: 1.3rem;
}

.flex-module--contact_module form .form-label {
    display: none !important;
}

.flex-module--contact_module form .input-group {
    align-items: flex-start !important;
    gap: .5rem !important;
}

.flex-module--contact_module .input-group:not(.has-validation)>:not(:last-child):not(.dropdown-toggle):not(.dropdown-menu):not(.form-floating) {
    border-radius: var(--bs-border-radius) !important;
}

.flex-module--contact_module .bracket-button {
    padding: 0.8em 1.2em;
    font-size: 1.3rem;
    margin-bottom: 2rem;
}

.flex-module--contact_module .bracket-button:hover {
    background: #e9ff03;
}
p a:hover {
    opacity: .5;
}

/* -----------------------------------------------------------
   Campus carousel tweaks
----------------------------------------------------------- */
.flex-module--campus_carousel.video-module {
    margin: 0 0 7em 0;
}

.flex-module--campus_carousel {
  background: linear-gradient(270deg, rgba(255, 255, 255, 0) 30%, rgba(234, 255, 0, 1) 30%);
  padding: 5em 4em !important;
}

.flex-module--campus_carousel .flex-module__title {
    max-width: 829px;
    max-width: 75%;
}

.campus-carousel__item {
    background-color: #fff;
    color: inherit;
}

.campus-carousel__city {
    text-align: left;
}

.campus-carousel__city h3 {
    font-weight: 900;
    text-transform: uppercase;
    font-size: calc(2rem + 1vw);
    letter-spacing: -2px;
}

.campus-carousel__title h4 {
    font-weight: 900;
}

.campus-carousel__item .row {
    display: block;
    margin: 0;
}

.campus-carousel__split {
    display: flex;
    flex-direction: column;
}

.campus-carousel__item {
    /* width: 720px; */
    width: 520px;
    max-width: 80vw;
    margin: 0 30px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, .2);
}

.campus-carousel__map iframe {
    width: 100% !important;
    height: 240px !important;
    pointer-events: all !important;
}

/* Make the whole carousel tall enough */
.flex-module--campus_carousel .campus-carousel {
    min-height: 630px; /* tweak to match card height */
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    /* keep cards inside */
    overflow: visible;
}

/* Base slide styles – all stacked, hidden by default */
.campus-carousel__item {
    position: absolute;
    top: 0;
    transition:
        transform 0.5s ease,
        opacity 0.5s ease,
        box-shadow 0.5s ease;
}

/* Current slide – big and in front */
.campus-carousel__item.is-current {
    opacity: 1;
    transform: translateX(0%) scale(1);
    z-index: 3;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.25);
}

/* Left/back card */
.campus-carousel__item.is-prev {
    opacity: 1;
    transform: translateX(-26%) scale(0.7);
    z-index: 2;
}

/* Right/back card */
.campus-carousel__item.is-next {
    opacity: 1;
    transform: translateX(26%) scale(0.7);
    z-index: 2;
}

svg.campus-carousel__arrow {
  margin-top: 0;
  margin-left: 20%;
  margin-left: calc(25% - 1vw);
  max-width: 60%;
}

@media (min-width: 557px) and (max-width: 656px) {
  svg.campus-carousel__arrow {
    margin-top: 2rem;
    margin-left: 28%;
  }
}

@media (min-width: 657px) and (max-width: 767px) {
  svg.campus-carousel__arrow {
    margin-top: 4rem;
    margin-left: 32%;
  }
}
@media (min-width: 768px) {
  .flex-module--campus_carousel .campus-carousel {
  min-height: 420px;
  }

  .campus-carousel__split {
      flex-direction: row;
  }

  .campus-carousel__city {
    text-align: right;
  }

  .campus-carousel__city h3 {
    font-size: calc(2.5rem + 1vw);
  }

  .campus-carousel__item {
    width: 760px;
    max-width: 90vw;
  }

  svg.campus-carousel__arrow {
  margin-top: 6rem;
  margin-left: 36%;
  }

  .campus-carousel__item.is-prev {
    transform: translateX(-28%) scale(0.7);
  }

  .campus-carousel__item.is-next {
    transform: translateX(28%) scale(0.7);
  }
}

@media (min-width: 992px) {
  svg.campus-carousel__arrow {
    margin-top: 6rem;
    margin-left: 40%;
  }
}

/* -----------------------------------------------------------
   FAQ module tweaks
----------------------------------------------------------- */

.flex-module--faq_module {
    background-color: #fefefe;
    /* padding: 2rem 0; */
    margin: 2rem 0;
}

.faq-module-wrap .row {
    flex-direction: column;
}

.faq-module-wrap .flex-module__title {
    max-width: none;
    margin-bottom: 4rem;
    font-weight: 900;
    line-height: 1.1;
    font-size: clamp(2rem, 6vw, 4.2rem);
    font-size: clamp(1.75rem, 6vw, 4.2rem);
}

.accordion {
    border-radius: 0;
    --bs-accordion-border-color: 0;
    --bs-accordion-border-radius: 0;
    --bs-accordion-inner-border-radius: 0;
}

.accordion-item {
    background-color: #ffffff;
    width: 100%;
    margin-bottom: 2.2rem;
    box-shadow: rgba(0, 0, 0, 0.05) 0px 4px 40px;
    transition: all .1s ease;
}

.accordion-item.bracket-button {
    border-left-width: calc(3px + .15vw);
    border-right-width: calc(3px + .15vw);
    padding-left: calc(.8rem + .1vw);
    padding-right: calc(.8rem + .1vw);
    padding-top: calc(.4rem + .1vw);
    padding-bottom: calc(.4rem + .1vw);
}

.accordion-item.bracket-button:hover {
  background-color: transparent;
}

.accordion-item.bracket-button::before, 
.accordion-item.bracket-button::after {
  height: calc(3px + .15vw);
}

.accordion-button {
  gap: calc(2rem - .4vw)
}

.accordion-button:not(.collapsed) {
    color:inherit;
    background-color: transparent;
    box-shadow: none;
}

.accordion-button:focus,
.accordion-button:focus-visible {
    box-shadow: none;
    border-color: transparent;
}

.accordion-item .accordion-button {
    font-size: calc(.825rem + 1vw);
    font-weight: 700;
    padding-left: calc(1rem + 1vw);
    padding-top: calc(1rem + .3vw);
    padding-bottom: calc(1rem + .3vw);
}

.accordion-button::after {
    background-image: url(https://acmredux.wpenginepowered.com/wp-content/themes/acm/img/faq-chevrons.svg);
    background-size: 66%;
    min-height: 30px;
}

.accordion-button:not(.collapsed)::after {
    background-image: url(https://acmredux.wpenginepowered.com/wp-content/themes/acm/img/faq-chevrons.svg);
}

.accordion-item:has(.accordion-collapse.show) {
  background-color: #eaff003b;
  background-color: #ededed;
}

.flex-module--faq_module ol:has(ul) ul {
    list-style: lower-latin;
}

.flex-module--faq_module ol li {
    margin-bottom: .4rem;
}

.flex-module--faq_module ul li {
    margin-bottom: .2rem;
}

.flex-module--faq_module ul li:last-child {
    margin-bottom: .4rem;
}

@media (min-width: 768px) {
  .flex-module--faq_module {
    background-color: #fefefe;
    margin: 6rem 0;
  }

  .accordion-item.bracket-button {
    padding-left: calc(1.2rem + .15vw);
    padding-right: calc(1.2rem + .15vw);
    padding-top: calc(.8rem + .15vw);
    padding-bottom: calc(.8rem + .15vw);
  }

  .accordion-item .accordion-button {
    padding-right: calc(1rem + 1vw);
  }

  .accordion-button::after {
    background-size: 90%;
    min-height: 41px;
  }
}

/* -----------------------------------------------------------
   Fees module tweaks
----------------------------------------------------------- */
.fees-wrap {
    max-width: 1400px;
    margin: auto;
}

.flex-module--fees_module .fees-card {
    padding: 2.5rem 2rem;
    display: flex;
    flex-direction: column;
    background: #fff;
}

.fees-card__header {
    margin-bottom: 1rem;
}

.fees-card__title {
    font-size: 2.4rem;
    font-size: clamp(2rem, 4vw, 4rem);
    font-weight: 900;
    margin: 0 0 .25rem;
}

.fees-card__title .tooltip-button {
    position: absolute;
    top: 1rem;
    right: .8rem;
    width: max-content;
    left: unset;
}

.fees-card__title svg {
    width: 30px;
    height: 30px;
}

.fees-card__intro {
    font-size: .95rem;
    color: #666;
}

.fees-card__subheading {
    margin: 1rem 0 1.2rem;
    font-weight: 900;
}

.fees-card__helper {
    margin: 0 0 .5rem;
    color: #444;
    font-size: .85rem;
}

.fees-card__list {
    list-style: none;
    margin: 0;
    padding: 0;
    text-transform: uppercase;
}

.fees-card__list li {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: .35rem 0;
    padding: .5rem 0;
}

.fees-card__list li span {
  width: fit-content;
  width: 50%;
}

.fees-card__list li.fee-child span:first-child {
    font-size: 90%;
}

@media (min-width: 768px) and (max-width: 1080px) {
  .fees-card__list li span {
    font-size: clamp(.7rem, 1.5vw, 1rem);
  }

  .fees-card__list li.fee-child span:first-child {
    font-size: clamp(.6rem, 1.2vw, .9rem);
  }
}

@media (min-width: 1081px) {
  .fees-card__list li span {
    font-size: clamp(.7rem, .5vw, 1rem);
  }

  .fees-card__list li.fee-child span:first-child {
    font-size: clamp(.6rem, .9vw, .9rem);
  }
}

@media (max-width: 480px) {
  .fees-block {
    padding: 0;
  }

  .fees-card__list li span {
    font-size: clamp(.7rem, 1vw, 1rem);
    font-size: clamp(.7rem, 1.2vw, 1rem);
  }

  .fees-card__list li.fee-child span:first-child {
    font-size: clamp(.6rem, .9vw, .9rem);
    font-size: clamp(.6rem, 1vw, .9rem);
  }

}

.fees-card__list li span:last-child {
    text-align: center;
}

.fees-pill {
    background: #e9ff03;
    padding: .25rem .9rem;
    border-radius: 4px;
    font-weight: 500;
    white-space: nowrap;
    text-transform: none;
}

li:not(.fee-child) span.fees-pill {
    width: calc(50% - 9px);
}

.fees-card__section {
    margin-bottom: 3rem;
}
.fees-card__section:last-child {
    margin-bottom: 4rem;
}

.fees-card__footer {
    bottom: 1.5rem;
    position: absolute;
    width: -webkit-fill-available;
    text-align: center;
    left: 0;
}

.fees-card__list .fee-parent {
    width: fit-content;
}

.fees-card__list .fee-parent span {
    text-align: left !important;
    width: fit-content;
}

.fees-card__list button.tooltip-button {
    position: relative;
    top: -11px;
    left: -7px;
}

.fees-card__list .fee-parent button.tooltip-button {
    left: 2px;

}

.fees-card__list .fee-child {
    display: flex;
    justify-content: space-between;
    padding-left: 1rem; 
    padding-left: clamp(.5rem, 2vw, 1.5rem);
    padding: .3rem 0 .3rem 1rem;
}

.fee-child__title {
    font-size: .9rem;
    opacity: .9;
}

@media (min-width: 768px) and (max-width: 1080px) {
  .fees-block {
    flex: 0 0 100%;
  }

  .fees-card__wrap {
    display: flex;
    align-items: stretch;
    gap: 3rem;
  }

  .fees-card__section {
    width: 50%;
  }
}

@media (min-width: 768px) and (max-width: 892px) {
  .fees-card__section:first-child h4.fees-card__subheading {
      margin: 2.75rem 0 .5rem;
      margin: 2.75rem 0 1.2rem;
  }
}

/* -----------------------------------------------------------
   Alumni tutor carousel tweaks
----------------------------------------------------------- */

section.video-container.flex-module--alumni_tutor_carousel {
        padding: 4rem 1rem !important;
        margin-top: 4rem;
        margin-bottom: 4rem;
}

.home section.video-container.flex-module--alumni_tutor_carousel {
    margin-top: 10rem;
    margin-bottom: 8rem;
}

@media (max-width: 767px) {
  .home section.video-container.flex-module--alumni_tutor_carousel .container {
      padding: 0 !important;
  }

  section.video-container.flex-module--alumni_tutor_carousel .flex-module__title {
    padding-right: calc(var(--bs-gutter-x) * .5);
    padding-left: calc(var(--bs-gutter-x) * .5);
  }
}

@media (min-width: 992px) {
  section.video-container.flex-module--alumni_tutor_carousel {
      padding: 5em 4em !important; 
  }
}

section.video-container.flex-module--alumni_tutor_carousel .flex-module__title {
    transform: translateX(-10.5%);
    position: absolute;
    top: -3rem;
    font-size: clamp(2.25rem, 7vw, 5rem);
    font-size: clamp(2rem, 7vw, 5rem);
    font-weight: 900;
    line-height: 1;
}
 
.flex-module--alumni_tutor_carousel .alumni-tutor-carousel__meta {
    display: flex;
    margin-bottom: 2rem;
    text-transform: uppercase;
}

.alumni-tutor-carousel__meta_left,
.alumni-tutor-carousel__meta_right {
    width: 50%;
}

.alumni-tutor-carousel__meta_left {
    text-align: left;
}

.alumni-tutor-carousel__meta_right {
    text-align: right;
}

.alumni-tutor-carousel__name h3 {
    font-size: clamp(2.25rem, 6vw, 4.2rem);
    font-size: clamp(2rem, 6vw, 4.2rem);
    font-size: clamp(1.75rem, 6vw, 4.2rem);
    font-weight: 900;
    text-transform: uppercase;
    margin-bottom: 1rem;
}

.alumni-tutor-carousel__strapline {
    font-weight: 700;
    margin-bottom: 1rem;
}

a.bracket-button.dark.see-all-alumni-btn:hover {
    background-color: #fff;
}

img.alumni-tutor-carousel__down-arrow {
    position: absolute;
    right: 17px;
    top: 38%;
}

.alumni-tutor-carousel__person {
    margin-top: 1rem;
}

@media (min-width: 992px) {
  .alumni-tutor-carousel__person {
    margin-top: 0;
  }
}

@media (max-width: 991px) {
    img.alumni-tutor-carousel__down-arrow {
        position: relative;
        rotate: -90deg;
        left: 50%;
        margin-top: -3rem;
    }
}

img.alumni-tutor-carousel__down-arrow {
    position: relative;
    rotate: -90deg;
    left: 50%;
    margin-top: -3rem;
}

/* -----------------------------------------------------------
   Split Tabs / Simple Tabs module tweaks
----------------------------------------------------------- */

.flex-module--split_tabs_module {
    padding-top: 4rem;
    padding-bottom: 4rem;
}

.flex-module--split_tabs_module .split-title {
    padding-right: 22%;
    padding-right: 26%;
}

@media (min-width: 768px) {
  .flex-module--split_tabs_module .split-buttons {
      padding-left: 4rem;
  }
}

.split-tabs .tab-content,
.simple-tabs .tab-content {
    margin-top: 2rem;
}

.split-tabs .split-content {
    margin-top: 2rem;
    font-size: 1.06rem;
    line-height: 1.6;
}


/* --- Split Tabs Module Root --- */
.flex-module--split_tabs_module {
    padding: clamp(4rem, 8vw, 8rem) 0;
}

/* Buttons row */
.split-buttons a {
    margin-top: 1.5rem;
    margin-right: 1rem;
}

.split-tabs .nav-tabs,
.simple-tabs .nav-tabs,
.term-dates-tabs .nav-tabs {
    border-bottom: 1px solid #d9d9d9;
    display: flex; /* Make tab list stretch across row */
    justify-content: space-between;
    width: 100%;
}

/* Make each tab grow equally */
.split-tabs .nav-tabs .nav-item,
.simple-tabs .nav-tabs .nav-item,
.term-dates-tabs .nav-tabs .nav-item {
    flex: 1 1 0;
    text-align: center;
    min-width: 120px;
    margin-bottom: 0;
}


.split-tabs .nav-tabs .nav-link,
.simple-tabs .nav-tabs .nav-link,
.term-dates-tabs .nav-tabs .nav-link {
    background: none;
    border: none;
    border-radius: 0;
    color: #333;
    font-size: 1.5rem;
    font-size: clamp(.85rem, 1vw + .6rem, 1.25rem);
    padding: 0.75rem 1.25rem;
    padding: 0.75rem .25rem;
    letter-spacing: .01em;
    position: relative;
    transition: color .25s ease;
    width: 100%; /* Force button width full */
    display: block;
}

/* Hover = text highlight, no underline until active */
.split-tabs .nav-tabs .nav-link:hover,
.simple-tabs .nav-tabs .nav-link:hover,
.term-dates-tabs .nav-tabs .nav-link:hover {
    color: #000;
}

/* Animated underline */
.split-tabs .nav-tabs .nav-link::after,
.simple-tabs .nav-tabs .nav-link::after,
.term-dates-tabs .nav-tabs .nav-link::after {
    content: "";
    position: absolute;
    bottom: 1px;
    left: 0;
    height: 3px;
    width: 0;
    background: #000;
    transition: width .3s ease;
}

/* Active = sweep underline */
.split-tabs .nav-tabs .nav-link.active,
.simple-tabs .nav-tabs .nav-link.active,
.term-dates-tabs .nav-tabs .nav-link.active {
    color: #000;
    font-weight: 600;
}

.split-tabs .nav-tabs .nav-link.active::after,
.simple-tabs .nav-tabs .nav-link.active::after,
.term-dates-tabs .nav-tabs .nav-link.active::after {
    width: 100%;
}

/* Desktop visible / Mobile hidden */
.split-tabs {
    display: block;
}

/* Mobile accordion hidden on desktop */
@media (min-width: 768px) {
    .split-accordion {
        display: none !important;
    }
}

/* Mobile mode — hide tab UI entirely */
@media (max-width: 767px) {
    .split-tabs .nav-tabs,
    .split-tabs .tab-content {
        display: none !important;
    }
    .split-accordion {
        display: block !important;
    }
}


.split-accordion__item {
    border-bottom: 1px solid #e3e3e3;
    padding: 0.75rem 0;
}

.split-accordion__trigger {
    width: 100%;
    text-align: left;
    font-size: 1.125rem;
    font-weight: 700;
    background: none;
    border: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: .75rem 0;
}

.split-accordion__icon {
    font-size: 1.25rem;
    transition: transform .25s ease;
}

.split-accordion__item.open .split-accordion__icon {
    transform: rotate(45deg);
}

.split-accordion__content {
    display: none;
    padding: .5rem 0 1rem 0;
}

.split-accordion__item.open .split-accordion__content {
    display: block;
}


/* --- Simple Tabs Module  --- */
section.flex-module.flex-module--simple_tabs {
    padding-top: 1.5rem;
    padding-bottom: 3rem;
}

.simple-tabs {
    max-width: 1200px;
    margin: auto;
    padding-top: 3rem;
    padding-bottom: 3rem;
}

.post-1476 .simple-tabs,
.post-1477 .simple-tabs  {
    max-width: 1300px;
}

.simple-tabs img.size-full{
    min-width: -webkit-fill-available;
    margin-bottom: 2rem;
}

.simple-tabs a.highlight-text {
    font-family: 'Geist Mono', monospace;
    font-weight: 500 !important;
    font-size: 75%;
    text-decoration: none;
    margin-left: .5rem;
    padding: 3px 8px !important;
}

@media (min-width: 768px) {
  .simple-tabs {
    padding-left: 3rem;
    padding-right: 3rem;
  }
}

/* Simple tabs slick nav wrapper */
.simple-tabs .simple-tabs-nav-wrap {
    display: flex;
    align-items: center;
    gap: 12px;
    position: relative;
}

/* Keep existing nav-tabs styling, but allow the simple tabs strip to shrink properly inside wrapper */
.simple-tabs .simple-tabs-nav {
    flex: 1 1 auto;
    min-width: 0;
}

/* Slick arrows for simple tabs only */
.simple-tabs .simple-tabs-arrow {
    display: none;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    cursor: pointer;
    line-height: 1;
}

.simple-tabs .simple-tabs-arrow.show {
    display: flex;
}

.simple-tabs .simple-tabs-arrow.is-disabled {
    opacity: 0.35;
    pointer-events: none;
}

/* When slick is active, don't let the shared equal-width tab rules fight slick */
.simple-tabs .simple-tabs-nav.slick-initialized {
    display: block;
    width: 100%;
    border-bottom: 1px solid #d9d9d9;
}

.simple-tabs .simple-tabs-nav.slick-initialized .nav-item {
    flex: 0 0 auto;
    width: auto;
    min-width: 0;
    text-align: center;
}

.simple-tabs .simple-tabs-nav.slick-initialized .nav-link {
    white-space: nowrap;
    width: auto;
    display: block;
    padding-left: 1rem;
    padding-right: 1rem;
}

/* Slick structural tidy-up */
.simple-tabs .simple-tabs-nav.slick-initialized .slick-list {
    display: block;
}

.simple-tabs .simple-tabs-nav.slick-initialized .slick-track {
    display: flex;
    align-items: stretch;
}

.simple-tabs .simple-tabs-nav.slick-initialized .slick-slide {
    width: auto !important;
    height: auto;
}

.simple-tabs .simple-tabs-nav.slick-initialized .slick-slide > div {
    height: 100%;
}

/* Optional: keep tab content comfortably spaced below nav/arrows */
.simple-tabs .tab-content {
    margin-top: 2rem;
}

.tab-pane.show .col-md-6 {
  padding-right: 7%;
}

/* -----------------------------------------------------------
   Term Dates Tabs module tweaks
----------------------------------------------------------- */
.flex-module--term_dates_tabs {
    padding-top: 0;
    padding-bottom: 4rem;
}

.flex-module--term_dates_tabs .term-dates-tabs {
    margin: auto;
    max-width: 1300px;
}

.flex-module--term_dates_tabs .nav-tabs {
    display: flex;
    width: 100%;
}

.flex-module--term_dates_tabs .nav-item {
    flex: 1 1 0;
    text-align: center;
}

.flex-module--term_dates_tabs .nav-link {
    width: 100%;
}

.flex-module--term_dates_tabs .accordion-button {
    font-weight: 700;
}

.flex-module--term_dates_tabs .tab-content {
    margin-top: 4rem;
}

.entry-content:has(.flex-module--term_dates_tabs) .flex-module--text_split_hero {
    margin-bottom: 3em;
  }

/* Center the tab row */
.flex-module--term_dates_tabs .nav-tabs {
    display: flex;
    justify-content: center;
    border-bottom: 1px solid #d9d9d9;
    max-width: 600px;
    margin: auto;
}
@media (min-width: 992px) {
  .flex-module--term_dates_tabs {
    padding-top: 4rem;
  }

  .entry-content:has(.flex-module--term_dates_tabs) .flex-module--text_split_hero {
    margin-bottom: 6em;
  }
}

/* -----------------------------------------------------------
   Process module tweaks
----------------------------------------------------------- */
.flex-module--process_module .process-module-wrap {
  max-width: 1200px;
  margin: auto;
}

.process-step-wrap {
    padding-top: 2rem;
    padding-bottom: 2rem;
    display: flex;
    align-items: center;
}

.process-step {
    display: flex;
    flex-direction: column;
}

.process-step-strapline {
    padding-left: 30%;
    font-size: clamp(1.2rem, 5vw, 2rem);
    font-size: clamp(1.4rem, 3.3vw, 2rem);
    font-weight: 400;
}

.process-step-content {
    padding-left: 3%;
    padding-right: 3%;
}

@media (max-width: 767px) {
  .process-step-wrap {
    flex-direction: column;
    text-align: center;
  }

  .process-step-strapline {
      padding-left: 0;
      margin-top: 1rem;
  }

  .process-step-content {
      padding-left: 0;
      padding-right: 0;
      margin-top: 1rem;
  }
}

@media (min-width: 768px) {
  .process-step {
    padding-right: 6%;
}
}

/* -----------------------------------------------------------
   Pathways carousel tweaks
----------------------------------------------------------- */

.flex-module--pathways_carousel {
    margin: 80px 0;
    margin: 5rem 0 0;
} 

.flex-module--pathways_carousel .slick-carousel {
    opacity: 0;
    transition: opacity .2s ease;
}

.flex-module--pathways_carousel .slick-carousel.slick-initialized {
    opacity: 1;
}

.flex-module--pathways_carousel .flex-module__title {
  font-weight: 900;
    line-height: 1;
    font-size: clamp(2.25rem, 7vw, 5rem);
    font-size: clamp(2rem, 7vw, 5rem);
    margin-bottom: 3rem;
}

/* --- Tabs --- */
.pathway-tab-logo {
    height: 34px;
    margin-bottom: 6px;
}

.pathway-tab-title {
    display: none;
}

.pathways-tabs .nav-link.has-tab-title .pathway-tab-title {
    display: inline-block;
}

.pathways-tabs .nav-link {
    background: none;
    border: none;
    border-bottom: 3px solid transparent;
    opacity: 0.55;
    padding: 12px 32px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
}

.pathways-tabs .nav-link.active {
    opacity: 1;
    border-bottom-color: #000;
}


/* Hide tab arrows until tab-strip is slicked */
.flex-module--pathways_carousel .pathways-tab-arrow {
  display: none;
  cursor: pointer;
}
.flex-module--pathways_carousel .pathways-tab-arrow.show {
  display: block;
  top: -16px;
    position: relative;
}

/* Helpful: slicked list needs to shrink properly inside flex row */
.flex-module--pathways_carousel .pathways-tabs-slick {
  display: flex;
  align-items: center;
  gap: 12px;
}
.flex-module--pathways_carousel .pathways-tabs-holder {
  flex: 1;
  min-width: 0;
}

/* Optional: ensure variableWidth tabs size naturally */
.flex-module--pathways_carousel .pathways-tabs-holder .nav-item {
  width: auto !important;
  margin-bottom: 0;
}

/* subtle baseline */
.pathways-tab-arrow {
  opacity: 0.55;
  transition: opacity .2s ease, transform .2s ease;
}

/* hover */
.pathways-tab-arrow:hover {
  opacity: 1;
  transform: translateX(2px);
}

.pathways-tab-arrow.prevArrow:hover {
  transform: translateX(-2px);
}

.pathways-tabs-holder .nav-link.active {
  opacity: 1;
}
.pathways-tabs-holder .nav-link {
  opacity: .6;
}


button#pathway-tab-2-nav, 
button#pw-3-pathway-tab-2-nav, 
.pathways-tabs-slick .nav-link {
    max-width: 185px;
}
button#pathway-tab-2-nav,
button#pw-3-pathway-tab-2-nav {
    max-width: 185px;
}

.pathways-carousel-bleed {
    width: 100vw;
    margin-left: 50%;
    transform: translateX(-50%);
}

.flex-module--pathways_carousel .pathways-carousel-bleed {
    padding-left: 1rem;
}

.pathways-carousel {
    padding-right: 220px;
    margin-right: -220px;
}

@media (max-width: 1200px){
    .pathways-carousel {
        padding-right: 120px;
        margin-right: -120px;
    }
}

@media (max-width: 768px){
    .pathways-carousel {
        padding-right: 40px;
        margin-right: -40px;
    }
}


/* --- Cards --- */

.pathway-card {
    position: relative;
    cursor: pointer;
    overflow: hidden;
    background-color: #000000;
    margin: 0 1.25rem;
    margin: 0 1rem;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.pathway-card__image img {
    width: 100%;
    aspect-ratio: 1;
    object-fit: cover;
    display: block;
}

/* bottom title bar */
.pathway-card__title {
    background: #fff;
    padding: 32px 24px;
    transition: opacity .3s ease;
    width: 86%;
    margin: auto;
    margin-top: -1.2rem;
    z-index: 5;
    position: relative;
    box-shadow: inset 0px -6px 4px 0px #eeeeee;
    min-height: 140px;
    line-height: 1.25;
    /* min-height: calc(1.25em * 2); 2 lines */
    display: flex;
    align-items: center;
}

.pathway-card__title h3 {
    font-size: calc(1.4rem + .6vw);
    font-weight: 900;
    margin-bottom: 0;
}

.pathway-card__hover {
    background: #fff;
    padding: 24px;
    position: absolute;
    left: 0;
    left: 7%;
    bottom: 0;
    width: 86%;
    transform: translateY(100%);
    transition: transform .35s ease;
    box-shadow: inset 0px -6px 4px 0px #eeeeee;

     min-height: 180px; /* adjust to your design */
    min-height: fit-content;
    cursor: pointer;
}

.pathway-card:hover .pathway-card__hover {
    transform: translateY(0);
}

.pathway-card:hover .pathway-card__title {
    opacity: 0;
}

.pathway-card .pathway-card__hover p {
    font-size: calc(.7rem + .2vw);
}

/* CTA button */
.pathway-card__cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    text-transform: uppercase;
    font-weight: 800;
    letter-spacing: 4px;
    text-decoration: none;
    font-size: 60%;
    display: flex;
    justify-content: flex-end;
}

.pathways-carousel-bleed .pathway-card__cta {
  justify-content: flex-start;
}

.pathway-card__cta .arrow {
    display: inline-block;
    height: 26px;
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.pathway-card__cta .arrow img {
  width: 100%;
  max-width: 80px;
}

/* --- Navigation buttons --- */

.pathways-nav {
    display: none; /* Hidden by default */
    margin-top: 24px;
    display: flex;
    justify-content: flex-start;
    gap: 20px;
    padding-left: 1rem;
}

.pathways-nav button {
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.pathways-prev img,
.pathways-next img {
    width: 80px;
}

.pathways-nav button.disabled {
    opacity: .35;
    pointer-events: none;
    transition: opacity .25s ease;
}

.pathways-prev img {
    transform: rotate(180deg);
}

.pathways-nav button {
    opacity: 1;
    transition: opacity .25s ease, transform .25s ease;
}
.pathways-nav button:hover {
    transform: translateX(2px);
}

.pathways-prev:hover {
    transform: translateX(-2px);
}

/* -----------------------------------------------------------
   Downloads module tweaks
----------------------------------------------------------- */
.flex-module--downloads {
    padding-top: 0rem;
    padding-bottom: 6rem;
}

.flex-module--downloads .col-12,
.flex-module--downloads .col-md-4 {
    padding-left: clamp(1rem, 2vw, 2rem);
    padding-right: clamp(1rem, 2vw, 2rem);
}

@media (min-width: 768px) and (max-width: 1024px) {
    .flex-module--downloads .col-md-4 {
        padding-left: clamp(1rem, 2vw, 1.5rem);
        padding-right: clamp(1rem, 2vw, 1.5rem);
    }
}


a.download-card:hover .download-card__title {
    color: #e9ff03;
}

.downloads__title {
    font-size: clamp(2.25rem, 7vw, 5rem);
    font-size: clamp(2rem, 7vw, 5rem);
    font-weight: 900;
    padding: 4rem;
    line-height: 1.15;
}

.row.downloads {
    max-width: 1300px;
    margin: 0 auto;
}

.download-card {
    display: block;
    text-align: center;
    text-decoration: none;
    color: inherit;
    position: relative;
    padding-bottom: 2rem;
    transition: transform .2s ease;
    --svg-scale: clamp(60%, 7vw + 30%, 80%);
}

.download-card:hover {
    transform: translateY(-4px);
}

.download-card__image {
    position: relative;
    overflow: hidden;
    aspect-ratio: 1;
    overflow: hidden;
} 

.download-card__image::after {
    content: "";
    position: absolute;
    bottom: -1px;
    left: 50%;
    transform: translateX(-50%);
    height: auto; /* allow intrinsic height */
    width: var(--svg-scale);
    aspect-ratio: 6 / 1; /* matches your notch SVG proportions */
    background: url(https://acmredux.wpenginepowered.com/wp-content/themes/acm/img/top-shape-blk.svg)
                no-repeat center bottom / contain;
}


.download-card__image img {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: translate(-50%, -50%);
}

/* The black bar under the image */
.download-card__title {
    position: relative;
    background: #000;
    color: #fff;
    font-weight: 700;
    padding: 1.3rem 1rem 1.1rem;
    width: 100%;               /* Wider, matches mock-up */
    margin-left: auto;
    margin-right: auto;
    line-height: 1.3;
    z-index: 2;
    font-size: clamp(1em, 4vw, 2rem);
    padding: 1.3rem 15% 1.3rem;
    margin-top: -1px;
    min-height: 110px; /* adjust to your design */
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

@media (min-width: 768px) {
  .download-card__title {
    font-size: calc(1em + .6vw);
    padding: 1.3rem 15% 1.3rem;
  }
}



/* -----------------------------------------------------------
   Content cards module tweaks
----------------------------------------------------------- */

.flex-module--content_cards {
    padding-bottom: 6rem;
}

.flex-module--content_cards .container-fluid {
    padding-top: 3rem;
}

.content-cards--bg-light {
    background-color: #EDEDED;
}

.flex-module--content_cards .flex-module__title {
    font-weight: 900;
    line-height: 1;
    margin-top: 2rem;
    max-width: 100%;
}

h2.content-cards__title--small.flex-module__title {
    font-size: clamp(2.25rem, 7vw, 5rem);
    font-size: clamp(2rem, 7vw, 5rem);
}

h3.content-cards__title--small.flex-module__title {
    font-size: clamp(2rem, 6vw, 4.2rem);
    font-size: clamp(1.75rem, 6vw, 4.2rem);
}

img.top-shape {
    position: absolute;
    top: -1px;
    left: 36%;
    width: calc(28% + .75rem);
}

.flex-module--content_cards .col-12,
.flex-module--content_cards .col-md-4 {
    padding-left: clamp(1rem, 2vw, 2rem);
    padding-right: clamp(1rem, 2vw, 2rem);
}

@media (min-width: 768px) and (max-width: 1024px) {
    .flex-module--content_cards .col-md-4 {
        padding-left: clamp(1rem, 2vw, 1.5rem);
        padding-right: clamp(1rem, 2vw, 1.5rem);
    }
}


a.content-card:hover .content-card__title {
    color: #e9ff03;
}

.content-card__title {
    font-size: clamp(2.25rem, 7vw, 5rem);
    font-size: clamp(2rem, 7vw, 5rem);
    font-weight: 900;
    padding: 4rem;
    line-height: 1.15;
}


.row.content-cards-grid {
    max-width: 1300px;
    margin: 0 auto;
}

.content-card {
    display: block;
    text-align: center;
    text-decoration: none;
    color: inherit;
    position: relative;
    padding-bottom: 2rem;
    transition: transform .2s ease;
    --svg-scale: clamp(60%, 7vw + 30%, 80%);
}

.content-card:hover {
    transform: translateY(-4px);
}

.content-card__image {
    position: relative;
    overflow: hidden;
    aspect-ratio: 1; 
    aspect-ratio: 1.4 / 1;
    overflow: hidden;
} 

.content-card__image-inner {
    position: relative;
}

.content-card__image::after {
    content: "";
    position: absolute;
    bottom: -1px;
    left: 50%;
    transform: translateX(-50%);
    height: auto; /* allow intrinsic height */
    width: var(--svg-scale);
    aspect-ratio: 6 / 1; /* matches your notch SVG proportions */
    background: url(https://acmredux.wpenginepowered.com/wp-content/themes/acm/img/top-shape-blk.svg)
    no-repeat center bottom / contain;
}

a.content-card:hover .content-card__title {
    color: #000000;
    background: #fff;
    background: #e9ff03;
    transition: background .3s ease, color .3s ease;
}

.content-card:hover .content-card__image::after {
    content: "";
    position: absolute;
    bottom: -1px;
    left: 50%;
    transform: translateX(-50%);
    height: auto; /* allow intrinsic height */
    width: var(--svg-scale);
    aspect-ratio: 6 / 1; /* matches your notch SVG proportions */
    background: url(https://acmredux.wpenginepowered.com/wp-content/themes/acm/img/top-shape-yellow.svg)
    no-repeat center bottom / contain;
    transition: background .3s ease, color .3s ease;
}

.content-card__image img {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: translate(-50%, -50%);
}

/* The black bar under the image */
.content-card__title {
    position: relative;
    background: #000;
    color: #fff;
    font-weight: 700;
    padding: 1.3rem 1rem 1.1rem;
    width: 100%;               /* Wider, matches mock-up */
    margin-left: auto;
    margin-right: auto;
    line-height: 1.3;
    z-index: 2;
    font-size: clamp(1em, 4vw, 2rem);
    padding: 1.3rem 15% 1.3rem;
    margin-top: -1px;
    min-height: 110px; 
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

@media (min-width: 992px) {
  .flex-module--content_cards .container-fluid {
      padding-top: 6rem;
  }
}

@media (min-width: 768px) {
  .content-card__image {
    aspect-ratio: 1; 
  }

  .content-card__title {
    font-size: calc(1em + .6vw);
    padding: 1.3rem 15% 1.3rem;
  }
  .flex-module--content_cards .flex-module__title {
    margin-bottom: 3rem;
  }
}

/* -----------------------------------------------------------
   Single post tweaks
----------------------------------------------------------- */
header.single-post__header {
  position: relative;
  margin-top: 1.5rem;
  margin-bottom: 1.5rem;
  z-index: 2;
}

@media (min-width: 768px) and (max-width: 991px) {
  header.single-post__header {
    margin-top: 3rem;
    margin-bottom: 6rem;
  }
}

@media (min-width: 992px){
  header.single-post__header {
    margin-top: 3rem;
    margin-bottom: 4.5rem;
  }
}

.single-post__title {
    font-size: clamp(2rem, 5vw, 4rem);
    font-size: clamp(2rem, 5.5vw, 4.2rem);
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 1rem;
}

.single-post__divider {
    padding-top: 1rem;
    padding-left: 0;
}



.single-post__meta {
  list-style: none;
  padding: 0;
  margin: 1rem 0;
}

.single-post__meta li {
  display: flex;
  gap: .75rem;
  margin-bottom: 0rem;
}

.single-post__meta .meta-label {
    font-weight: 400;
    min-width: 130px;
    text-transform: uppercase;
    font-size: 0.85rem;
}

@media (min-width: 641px) {
  .single-post__divider {
    padding-top: 2rem;
    padding-left: calc(2rem + .4vw);
    padding-right: calc(2rem + .4vw);
  }

  @media (min-width: 768px) and (max-width: 991px) {
    .single-post__divider {
      padding-left: 0;
      padding-right: calc(2rem + .4vw);
    }
  }

  .single-post__meta {
    margin: 2rem 0;
  }

  .single-post__meta li {
    margin-bottom: .5rem;
  }

  .single-post__meta .meta-label {
    font-size: var(--bs-body-font-size);
  }
}

.single-post__meta .meta-value.highlight-text {
    font-size: 0.8rem;
}

.single-post__intro {
  position: absolute;
  bottom: -12rem;  /* creates the spill */
  max-width: 315px;
  margin-top: 0;           
  font-size: 1.1rem;
  font-size: clamp(0.9rem, 2.5vw, 1.1rem);
  line-height: 1.4;
  font-weight: 600;
  z-index: 3;
}

@media (min-width: 1200px) {
  .single-post__intro {
    bottom: -6rem;          /* creates the spill */
  }
}


.single-post__content {
  position: relative;
  z-index: 1;
  padding-top: 3rem; /* for intro spill */
}

@media (min-width: 767px) and (max-width: 991px) {
  .single-post__intro {
    bottom: -6rem;
    bottom: -9rem;
    max-width: 80%;
  }

  .single-post__content {
    padding-top: 4rem;
  }
}

@media (min-width: 992px) {
  .single-post__content {
    padding-top: 0;
  }
}

@media (max-width: 767px) {
  .single-post__header .row {
    flex-direction: column-reverse;
  }
  .single-post__intro {
    position: static;
    max-width: 100%;
    margin-top: 2rem;
  }

  .single-post__content {
    padding-top: 0;
  }
}

/* Post-specific tweaks */
.post-card .pathway-card__hover p {
  font-size: .95rem;
  font-size: calc(.7rem + .2vw);
  line-height: 1.5;
}

/* Placeholder image (posts without thumbnail) */
.pathway-card__image--placeholder {
  aspect-ratio: 1;
  background: #e5e5e5;
}



/* -----------------------------------------------------------
   Single post navigation tweaks
----------------------------------------------------------- */

.single-post__nav {
  margin: 80px 0;
  margin: 50px 0 0;
  padding: 15px 0 25px;
  background-color: #f2f2f2;
}

.single-post__nav-item {
  font-weight: 800;
}

.single-post__nav-label {
  display: block;
  font-size: .75rem;
  letter-spacing: .15em;
  text-transform: uppercase;
  opacity: .5;
  margin-bottom: 6px;
}

.single-post__nav .row {
    justify-content: space-between;
}

.single-post__nav a {
  font-size: clamp(1.4rem, 1.2vw + 1rem, 2.2rem);
  font-size: clamp(1.1rem, 1.6vw, 2.2rem);
  line-height: 1.1;
  text-decoration: none;
  opacity: .6;
  transition: all .2s ease;
}

.single-post__nav a:hover {
  opacity: 1;
}

.single-post__nav-item.prev {
  padding-right: 1rem;
}

.single-post__nav-item.next {
  text-align: right;
  padding-left: 1rem;
}

/* -----------------------------------------------------------
   Post Carousel tweaks
----------------------------------------------------------- */

section.flex-module.flex-module--post_carousel {
  padding-top: 6rem;
  padding-bottom: 6rem;
}

.flex-module--post_carousel .flex-module__title {
    font-weight: 900;
    line-height: 1;
    margin-bottom: 3rem;
    font-size: clamp(2.25rem, 7vw, 5rem);
    font-size: clamp(2rem, 7vw, 5rem);
    max-width: 100%;
    text-align: center;
}

.post-carousel {
  max-width: 1300px;
  margin: auto;
}

.post-carousel .slick-track {
  cursor: grab;
}
.post-carousel .slick-track:active {
  cursor: grabbing;
}

.post-carousel .post-card__image img,
.post-carousel .pathway-card__image img,
.pathways-carousel-bleed .pathway-card__image img {
  aspect-ratio: 4 / 2.6;
  object-fit: cover;
}

.pathways-carousel-bleed .pathway-card__image img {
  aspect-ratio: 2 / 1.45;
}

.post-carousel .pathway-card__title,
.pathways-carousel-bleed .pathway-card__title {
    min-height: 160px;
    padding: 16px 24px 16px;
    flex-direction: column;
    /* justify-content: space-between; */
    align-items: unset;
}

.pathways-carousel-bleed .pathway-card__title {
    min-height: 120px;
    padding: 16px 18px 16px;
}

.pathway-card__title h3 {
    margin-bottom: 8px !important;
}

.post-carousel .pathway-card__title h3,
.pathways-carousel-bleed .pathway-card__title h3 {
    font-size: calc(1rem + 2vw);
    font-size: clamp(1.25rem, 1.6vw, 2.25rem);   
    font-weight: 900;
    margin-bottom: 0;
}
@media (min-width: 600px) {
  .post-carousel .pathway-card__title h3,
  .pathways-carousel-bleed .pathway-card__title h3 {
    font-size: calc(1rem + .5vw);
    font-size: calc(.9rem + .5vw);
  }
}

@media (min-width: 992px) {
  .pathways-carousel-bleed .pathway-card__title h3 {
    font-size: calc(1.1rem + .5vw);
  }
}

.post-carousel .pathway-card__title .date-row,
.pathways-carousel-bleed .pathway-card__title .date-row {
    display: flex;
    justify-content: flex-end;
}

.date-row .geist {
  text-transform: uppercase;
}

.post-carousel .pathways-nav,
.pathways-carousel-bleed .pathways-nav {
    margin-top: 3rem;
    justify-content: flex-end;
    gap: 20px;
    padding-right: 1rem;
}

.post-carousel .pathways-nav {
    justify-content: flex-end !important;
}

.post-carousel__prev {
  display: none;
}

.pathways-carousel-bleed .pathways-prev {
  display: flex;
  opacity: 1;
  pointer-events: none;
  transition: opacity .2s ease;
}

.pathways-prev.show {
    opacity: 1;
    pointer-events: auto;
}

.post-carousel .pathways-prev img,
.post-carousel .pathways-next img,
.pathways-carousel-bleed .pathways-prev img,
.pathways-carousel-bleed .pathways-next img {
    max-width: clamp(120px, 20vw, 240px);
    width: 100%;
}

/* -----------------------------------------------------------
   Issue Carousel tweaks
----------------------------------------------------------- */
section.flex-module--issue_carousel {
  padding-top: 6rem;
  padding-bottom: 6rem;
} 

section.flex-module--issue_carousel .container-max-width {
  margin-left: 0;
}

.issue-tabs {
  display: flex;
  flex-wrap: wrap;
  justify-content: center; /* or flex-start */
  gap: .15rem 1.5rem;
}

/* Mobile first */
.issue-layout {
  display: block;
}

.issue-nav {
  margin-bottom: 2rem;
  padding: 0 1rem;
  background-color: #ededed;
}


.issue-nav .issue-tabs {
    border-bottom: none;
    display: flex; /* Make tab list stretch across row */
    /* justify-content: space-between; */
    justify-content: space-evenly;
    width: 100%;
    padding: 0 1rem;
}

/* Make each tab grow equally */
.issue-nav .issue-tabs .nav-item {
    flex: 1 1 0;
    text-align: center;
    min-width: 220px;
    margin-bottom: 0;
}

.issue-nav .issue-tabs .nav-link {
    background: none;
    border: none;
    border-radius: 0;
    color: #333;
    font-size: 1.5rem;
    font-size: clamp(.85rem, 1vw + .6rem, 1.25rem);
    padding: 0.75rem 1.5rem;
    letter-spacing: .01em;
    position: relative;
    transition: color .25s ease;
    width: 100%; /* Force button width full */
    display: block;
    font-weight: 300;
}

/* Hover = text highlight, no underline until active */
.issue-nav .issue-tabs .nav-link:hover {
    color: #000;
}

/* Animated underline */
.issue-nav .issue-tabs .nav-link::after {
    content: "";
    position: absolute;
    bottom: 1px;
    left: 0;
    height: 3px;
    width: 0;
    background: #000;
    transition: width .3s ease;
}

/* Active = sweep underline */
.issue-nav .issue-tabs .nav-link.active {
    color: #000;
    font-weight: 700;
}

.issue-nav .issue-tabs .nav-link.active::after {
    width: 100%;
}

/* Hide issue arrows until slick mode */
.flex-module--issue_carousel .issue-tab-arrow { display:none; cursor:pointer; }
.flex-module--issue_carousel .issue-tab-arrow.show { display:block; }

/* Layout helper for slicked issue tabs */
.flex-module--issue_carousel .issue-tabs-slick{
  display:flex;
  align-items:center;
  gap:12px;
}

.flex-module--issue_carousel .issue-tabs-holder{
  flex:1;
  min-width:0;
}

.flex-module--issue_carousel .issue-tabs-holder .nav-item{
  width:auto !important;
}

@media (max-width: 991px) {
  .issue-nav .issue-tabs .nav-link.active,
  .issue-nav .issue-tabs .nav-link:hover {
      background-color: #dedede;
  }
}

/* Desktop layout */
@media (min-width: 992px) {
  .issue-layout {
    display: grid;
    grid-template-columns: minmax(370px, 22vw) 1fr;
    gap: 1.5rem;
    align-items: start;
  }

  .issue-nav {
    position: sticky;
    top: 120px;
    margin-bottom: 0;
    background-color: #ededed;
    height: 100%;
    padding: 1.25rem 1.5rem 1rem 1rem;
  }

  .issue-nav::after {
  content: "";
  position: absolute;
  right: -16px;
  width: 40px;
  height: 95px;
  background: #ffffff;
  clip-path: polygon(62% 0, 62% 100%, 0 62%);
  opacity: 0;
  transition: top .3s ease, opacity .2s ease;
  }

  .issue-nav::after {
  top: var(--cutout-top, 0);
  opacity: 1;
  }

  .issue-tabs {
    display: block !important;
    height: 100%;
    max-height: 400px;
    overflow-y: auto;
    overflow-x: hidden;
    scroll-behavior: auto;

  scrollbar-width: thin;
  scrollbar-color: rgba(0,0,0,.25) transparent;
  padding: 0;
  }

  .issue-tabs::-webkit-scrollbar {
  width: 3px;
  }

  .issue-tabs::-webkit-scrollbar-track {
    background: transparent;
  }

  .issue-tabs::-webkit-scrollbar-thumb {
    background-color: rgba(0,0,0,.25);
    border-radius: 2px;
  }

  .issue-tabs::-webkit-scrollbar-thumb:hover {
    background-color: rgba(0,0,0,.4);
  }

  /* NOTE:
    RTL used here purely to position scrollbar on left for editorial design reasons.
    If issues arise, revert to LTR + styled native scrollbar.
  */

  .issue-nav .issue-tabs {
    direction: rtl;
    padding: 0 1rem 0 1.5rem;
    margin-left: 0;
  }

  .issue-tabs > * {
    direction: ltr;
  }


  .issue-nav .issue-tabs .nav-link {
    display: block;
    text-align: left; 
    padding: 1rem .25rem 1.5rem;
    border-bottom: 1px solid #aaa9a9;
  }

  .issue-nav .issue-tabs .nav-link::after {
    display: none;
  }

}

@media (min-width: 992px) and (max-width: 1200px) {
  .issue-layout .pathways-nav {
    width: 100vw;
    margin-left: -40%;
  }
}

@media (min-width: 1201px) {
  .issue-layout .pathways-nav {
    width: 100vw;
    margin-left: -35%;
  }
}

.issue-layout .pathways-carousel-bleed .pathway-card__title {
    justify-content: space-between;
}


/* -----------------------------------------------------------
   Post Grid Module
----------------------------------------------------------- */
/* Default */
.flex-module--post_grid.bg-default {
  background: #fff;
}

/* Light */
.flex-module--post_grid.bg-light {
  background: #ededed !important;
}

/* Dark */
.flex-module--post_grid.bg-dark {
  background: #000;
  color: #fff;
}

/* Optional: tweak card styles on dark */
.flex-module--post_grid.bg-dark .post-card {
  background: #111;
}

.flex-module--post_grid.bg-dark .post-card__title {
  color: #fff;
}

.flex-module--post_grid {
  padding:0;
}

.flex-module--post_grid .container {
  padding: 6rem 0;
}

.flex-module--post_grid .flex-module__title {
    font-weight: 900;
    line-height: 1;
    margin-bottom: 3rem;
    font-size: clamp(2.25rem, 7vw, 5rem);
    font-size: clamp(2rem, 7vw, 5rem);
    max-width: 100%;
    text-align: center;
}

.post-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem 0;

  max-width: 1300px;
  margin: auto;
  padding-top: 1.5rem;
}

.post-grid .pathway-card {
    max-width: 100% !important;
    width: auto;
}

@media (max-width: 991px) {
  .post-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 641px) and (max-width: 991px) {
  .post-grid__item:first-child:nth-child(odd) {
    grid-column: span 2;
  }
}


@media (max-width: 640px) {
  .post-grid {
    grid-template-columns: 1fr;
  }
}

/* Hide items beyond initial */
.post-grid__item.is-hidden {
  display: none;
}

.post-grid__footer {
    margin-top: 4rem !important;
}

button.post-grid__load-more {
font-size: calc(1rem + .3vw);
    padding: 0.8em 1.2em;
    text-decoration: none;
}

.post-grid .post-card__image img,
.post-grid .pathway-card__image img{
  aspect-ratio: 4 / 2.6;
  object-fit: cover;
}

.post-grid .pathway-card__title {
    min-height: 160px;
    padding: 16px 24px 16px;
    flex-direction: column;
    justify-content: space-between;
    align-items: unset;
}

.post-grid .pathway-card__title h3 {
    font-size: calc(1rem + 2vw);
    font-size: clamp(1.25rem, 1.6vw, 2.25rem);   
    font-weight: 900;
    margin-bottom: 0;
    /* max-width: 90%; */
}
@media (min-width: 600px) {
  .post-grid .pathway-card__title h3 {
    font-size: calc(1rem + .5vw);
    font-size: calc(0.8rem + .5vw);
  }
}

.post-grid .pathway-card__title .date-row {
    display: flex;
    justify-content: flex-end;
}

/* -----------------------------------------------------------
   Single related posts tweaks
----------------------------------------------------------- */

section.single-related-posts {
    margin-top: 4rem;
}

section.single-related-posts .post-carousel {
      max-width: 1260px;
}

section.single-related-posts .post-carousel .pathways-prev img,
section.single-related-posts .post-carousel .pathways-next img {
    max-width: 200px;
    max-width: clamp(120px, 20vw, 200px);
}

/* -----------------------------------------------------------
   Moments module tweaks
----------------------------------------------------------- */

.flex-module--moments_module .module-title {
  font-size: clamp(2.5rem, 5.5vw, 4.2rem);
    font-weight: 900;
}

.flex-module--moments_module .module-content {
    padding-top: 3rem;
    max-width: 90%;
}

@media (min-width: 992px) {
  .flex-module--moments_module {
      padding-top: 6rem;
      padding-bottom: 6rem;
  }

  .flex-module--moments_module .module-content {
      padding-top: 6rem;
  }
}

.moments-grid {
    position: relative;
}

.moment-spacer {
    visibility: hidden; 
    width: 100%;
    height: 120px;
    pointer-events: none;
}


/* Masonry sizing */
.grid-sizer,
.moment-item {
    width: 48%;
    width: 50%;
}

.moment-item {
    margin-bottom: 1.5rem;
    padding-left: .75rem;
    padding-right: .75rem;
    transition: transform 0.3s ease;
}

/* Responsive */
@media (max-width: 768px) {
    .grid-sizer,
    .moment-item {
        width: 100%;
    }
}

/* Masonry hidden items */
.moment-item.is-hidden {
    display: none;
}

@media (min-width: 992px) {
    .moments-grid .moment-item:nth-child(odd) {
        transform: translateY(120px);
    }
}


.moment-poster {
    position: relative;
    cursor: pointer;
    aspect-ratio: 16 / 9;
    overflow: hidden;
}

.moment-poster::after {
    content: "";
    position: absolute;
    bottom: 0px;
    left: 50%;
    transform: translateX(-50%);
    height: auto;
    width: var(--svg-scale);
    aspect-ratio: 1.2 / 1; 
    top: 0;
    background: url(https://acmredux.wpenginepowered.com/wp-content/themes/acm/img/top-shape-grey.svg) no-repeat center bottom / contain;
}

.moment-poster img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.play-icon {
    position: absolute;
    inset: 0;
    content: '';
    border-style: solid;
    border-width: 30px 0 30px 50px;
    border-color: transparent transparent transparent rgba(217, 217, 217, 1);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 15%;
    height: 15%;
    opacity: .7;
    transition: all .3s ease;
}

.play-icon:hover {
    opacity: 1;
}

.moments-load-more {
    margin-top: 3rem;
    font-size: calc(1rem + .3vw);
    padding: 0.8em 1.2em;
    text-decoration: none;
}

.moments-load-more-wrapper {
    position: relative;
    width: 100%;
    left: 0;
}

@media (min-width: 992px) {
  .moments-load-more-wrapper {
    width: 48%;
      position: relative;
      left: 48%;
  }
}

.moment-content {
    padding: 1.25rem 3rem 1.5rem;
    background: #ededed;
    margin-top: -7px;
    position: relative;
}

.moment-title {
    font-size: calc(1rem + .3vw);
    line-height: 1.3;
    margin: 0;
    font-weight: 400;
    text-align: center;
}

.modal-fullscreen .modal-content {
    background: rgba(255,255,255,1);
    backdrop-filter: blur(10px);
    padding: 1rem;
}

.modal-header {
    margin-top: 0;
    margin-bottom: 1rem;
}

button.modal-close.btn-close.bracket-button.dark {
    border-radius: 0;
    padding: .65em 1.25em;
    border-left-width: 2px;
    border-right-width: 2px;
    
}

button.modal-close.btn-close.bracket-button:hover {
    background: transparent var(--bs-btn-close-bg) center / 1em auto no-repeat;
}

button.modal-close.btn-close.bracket-button.dark::before, 
button.modal-close.btn-close.bracket-button.dark::after,
button.modal-close.btn-close.bracket-button.light::before, 
button.modal-close.btn-close.bracket-button.light::after {
  height: 2px;
}

#momentsModal .video-placeholder-holder {
    position: absolute;
    inset: 0;
    z-index: 2;
    cursor: pointer;
    
}

#momentsModal .moments-video-container {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
}


/* Modal-only iframe fix */
#momentsModal .iframe-container {
    position: absolute;
    inset: 0;
    height: 100%;
    padding-bottom: 0;
}

#momentsModal iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

#momentsModal .video-placeholder img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}


#momentsModal .video-placeholder .play-icon {
    position: absolute;
    inset: 0;
    content: '';
    border-style: solid;
    border-width: 30px 0 30px 50px;
    border-color: transparent transparent transparent rgba(217, 217, 217, 1);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 15%;
    height: 15%;
    opacity: .7;
    transition: all .3s ease;
}


button.bracket-button.dark.watch-next-video {
    font-size: calc(1rem + .3vw);
    padding: 0.8em 1.2em;
    text-decoration: none;
    margin-top: 2rem;
}

/* -----------------------------------------------------------
   Blog hero module tweaks  
----------------------------------------------------------- */

.flex-module--blog_hero {
    position: relative;
    min-height: 90vh;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: flex-end;
    background-blend-mode: color-burn;
    background-color: #a79595b3;
    margin-bottom: 2rem;
}

.blog-hero__overlay {
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at top left, rgba(234, 255, 0, 0.45) 0%, rgba(0, 0, 0, 0) 40%, rgba(0, 0, 0, 0) 70%, rgba(234, 255, 0, 0.45) 85%);
}

.blog-hero__content {
    z-index: 2;
    max-width: 80%;
    top: 3rem;
}

.blog-hero__logo {
    width: 45%;
    min-width: 280px;
    max-width: 400px;
    margin: 0 auto;
    top: 36px;
    position: relative;
}

.blog-hero__header {
    background-color: #e9ff03;
    border-radius: 6px;
    display: flex;
    justify-content: center;
    align-content: center;
    align-items: center;
    flex-wrap: wrap;
    padding: 2rem;
    row-gap: .8rem;
}

@media (min-width: 1500px) {
  .blog-hero__header {
    justify-content: space-between;
  }
}

.blog-hero__strapline {
    color: #333;
    font-size: 1.1rem;
    font-size: calc(.9rem + .2vw);
    margin: 0;
}


.blog-hero__socials,
.tutor__socials {
    margin-top: 1rem;
}

.blog-hero__social,
.tutor__social {
    display: flex;
    align-items: center;
    gap: .5rem;
}

.blog-hero__social .social-text,
.tutor__social .social-text {
    text-transform: uppercase;
}

.blog-hero__social-link,
.tutor__social-link {
    display: flex;
    align-items: center;
    gap: .5rem;
    color: inherit;
    text-decoration: none;
}

.blog-hero__social-link:hover,
.tutor__social-link:hover {
    opacity: .85;
}


.blog-hero__social img,
.tutor__social img {
    width: 30px;
    height: 30px;
}

@media (max-width: 650px) {
  ul.blog-hero__socials,
  ul.tutor__socials {
    flex-direction: column;
  }
}

.tutor-socials-holder {
    margin-top: -3.4rem;
}

ul.tutor__socials {
    background-color: #e9ff03;
    border-radius: 6px;
    display: flex;
    justify-content: center;
    align-content: center;
    align-items: center;
    flex-wrap: wrap;
    padding: 1rem 2.5rem;
    row-gap: .8rem;
    max-width: 80%;
    margin: 0 auto;
    gap: 1.5rem;
    row-gap: .5rem;
}


/* -----------------------------------------------------------
   Open day booking module tweaks
----------------------------------------------------------- */
.open-day-booking__title {
    margin-bottom: 3rem;
}

.flex-module--open_day_booking_module {
  background-color: #EDEDED;
  margin-top: 4rem;
  margin-bottom: 4rem;
}

/* Give the left content that “indented” feel (since your container-max-width has no padding) */
.flex-module--open_day_booking_module .container-max-width,
.booking-section .container-max-width {
  padding-left: 15px;
  padding-right: 15px;
}

@media (min-width: 992px) {
  .flex-module--open_day_booking_module .container-max-width,
  .booking-section .container-max-width {
    padding-left: 24px;
    /* padding-right: 24px; */
    max-width: 720px;
    margin-right: 0;
    padding-right: 0;
  }
}

/* Left panel padding inside the constrained container */
.flex-module--open_day_booking_module .open-day-booking__panel,
.event-booking__panel {
  padding-left: clamp(1.5rem, 2.5vw, 3rem);
  padding-right: clamp(1.5rem, 2.5vw, 3rem);
  padding-top: clamp(4rem, 6vw, 6rem);
  padding-bottom: clamp(4rem, 6vw, 6rem);
}

/* Right “image column” uses background-image and follows the row height */
.flex-module--open_day_booking_module .open-day-booking__image-bg,
.event-booking__image-bg {
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

/* Mobile: stacked image needs a minimum height */
@media (max-width: 991.98px) {
  .flex-module--open_day_booking_module .open-day-booking__image-bg,
.event-booking__image-bg {
    /* min-height: 240px; */
    min-height: 60vh;
  }
}

@media (min-width: 641px) and (max-width: 991.98px) {
  .flex-module--open_day_booking_module .open-day-booking__panel,
  .event-booking__panel {
    padding-left: clamp(24px, 5vw, 56px);
  }
}

.section-top-shape {
  z-index: 2;
  position: relative;
}

.booking-section {
    background-color: #EDEDED;
    max-width: 100%;
    margin-top: 4rem;
    padding-bottom: 5rem;
    padding: 0;
}

.event-booking-form {
    padding: 2em 1rem 2em 0;
}

/* -----------------------------------------------------------
   Gallery module tweaks
----------------------------------------------------------- */

/* --------------------------------------------
  Gallery Module
-------------------------------------------- */

.flex-module--gallery_module {
  position: relative;
  background: url(/wp-content/themes/acm/img/rectangle-grey.svg);
  background-position: 100% 7%;
  background-repeat: no-repeat;
  background-size: contain;

  padding-top: 0;
  padding-bottom: 0;
  margin-bottom: -2rem;
}

/* MOBILE COLLAGE (random-ish placement) */
.flex-module--gallery_module .gallery-collage {
  position: relative;
  padding: clamp(18px, 3vw, 40px);
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: clamp(12px, 2vw, 22px);
  max-width: 1300px;
  margin: 0 auto;
  padding-bottom: 0;
}

/* Each item is a button so it’s clickable/accessibility-friendly */
.flex-module--gallery_module .gallery-item {
  border: 0;
  padding: 0;
  background: transparent;
  cursor: pointer;
  display: block;
  position: relative;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0,0,0,0.12);
}

.flex-module--gallery_module .gallery-item img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  transform: scale(1.001);
}

/* “Random” sizing pattern via nth-child (repeats every 8) */
.flex-module--gallery_module .gallery-item { grid-column: span 6; aspect-ratio: 4 / 3; }

.flex-module--gallery_module .gallery-item:nth-child(8n + 1) { 
  grid-column: 1 / span 8; 
  aspect-ratio: 4 / 3; 
}
.flex-module--gallery_module .gallery-item:nth-child(8n + 2) { 
  grid-column: 9 / span 3; 
  aspect-ratio: 4 / 3; 
  transform: translateX(20%) !important; 
}
.flex-module--gallery_module .gallery-item:nth-child(8n + 3) { 
  grid-column: 8 / span 6; 
  aspect-ratio: 2 / 1; 
  transform: translateY(-120%) !important;
  margin-left: 2rem;
}
.flex-module--gallery_module .gallery-item:nth-child(8n + 4) { 
  grid-column: 2 / span 4; 
  aspect-ratio: 2 / 1.4; 
  transform: translateY(-36%) !important;
    z-index: 3;
    margin-top: -2rem;
    margin-left: 6rem;
}
.flex-module--gallery_module .gallery-item:nth-child(8n + 5) { 
  grid-column: 6 / span 6; 
  aspect-ratio: 2 / 1.4; 
  transform: translateY(-41%) !important;
    margin-left: 3rem;
}
.flex-module--gallery_module .gallery-item:nth-child(8n + 6) { 
  grid-column: 1 / span 7; 
  aspect-ratio: 3 / 3.6;
  transform: translateY(-10%) !important; 
}
.flex-module--gallery_module .gallery-item:nth-child(8n + 7) { 
  grid-column: 9 / span 5; 
  aspect-ratio: 1 / 1; 
 transform: translateY(10%) !important;
}
.flex-module--gallery_module .gallery-item:nth-child(8n + 8) { 
  aspect-ratio: 3 / 3.6; 
  grid-column: 6 / span 5; 
  transform: translateY(-40%) !important;
}

/* Hover */
@media (hover: hover) {
  .flex-module--gallery_module .gallery-item:hover img {
    transform: scale(1.04);
    transition: transform 250ms ease;
  }
}

/* DESKTOP/TABLET: clean grid */
@media (min-width: 768px) {
  .flex-module--gallery_module .gallery-collage {
    background: transparent;
    padding: 0;
    grid-template-columns: repeat(12, 1fr);
    gap: 18px;
    padding-top: 3rem;
  }

  .flex-module--gallery_module .gallery-item {
    transform: none !important;
    grid-column: span 3;          /* 4 per row */
    aspect-ratio: 4 / 3;
    box-shadow: 0 8px 22px rgba(0,0,0,0.10);
  }
}



/* --------------------------------------------
  Modal styling
-------------------------------------------- */

.flex-module--gallery_module .gallery-modal .modal-content {
  background: rgba(15,15,15,0.92);
  background: rgba(15,15,15,0);
  color: #fff;
  border: 0;
    padding: 0;
}

.flex-module--gallery_module .gallery-modal .modal-body {
  position: relative;
  padding: 0;
}

.flex-module--gallery_module .gallery-modal__close {
  position: absolute;
  top: 14px;
  right: 14px;
  opacity: 0.9;
  z-index: 5;
  border-radius: 0;
}

button.modal-close.btn-close.gallery-modal__close {
    --bs-btn-close-color: #ffffff;
    --bs-btn-close-bg: url(/wp-content/themes/acm/img/modal-close-wte.svg);
}

button.modal-close.btn-close.gallery-modal__close.bracket-button {
    border-left-width: 2px;
    border-right-width: 2px;
    box-shadow: inset 0px 0px 13px 4px #d9d9d93b;
    backdrop-filter: blur(3px);
    -webkit-backdrop-filter: blur(3px);
}

button.modal-close.btn-close.gallery-modal__close.bracket-button.light::before, 
button.modal-close.btn-close.gallery-modal__close.bracket-button.light::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(to right, #ffffff 0 8px, transparent 8px calc(100% - 8px), #ffffff calc(100% - 8px) 100%) !important;
}

button.modal-close.btn-close.gallery-modal__close:hover {
    background: transparent var(--bs-btn-close-bg) center / 1em auto no-repeat;
}

.flex-module--gallery_module .gallery-modal__figure {
  margin: 0;
  text-align: center;
}

.flex-module--gallery_module .gallery-modal__img {
  max-width: 100%;
  width: auto;
  height: auto;
  display: inline-block;
  object-fit: contain;
}

.flex-module--gallery_module .gallery-modal__caption {
  margin-top: 10px;
  font-size: 0.95rem;
  opacity: 0.85;
}

.gallery-modal__navs {
    display: flex;
    gap: .5rem;
    justify-content: center;
    margin-top: -4rem;
    margin-top: .5rem;
}

.flex-module--gallery_module .gallery-modal__nav {
  border: 0;
  color: #fff;
  width: 44px;
  height: 44px;
  border-radius: 999px;
  display: grid;
  font-size: 48px;
  line-height: 0;
  cursor: pointer;
  padding-top: 1rem;
  box-shadow: inset 0px 0px 6px 4px #ffffff38;
  border: 1px #ffffff7a solid;
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);
  font-weight: 100;
}

button.gallery-modal__nav.gallery-modal__prev.js-gallery-prev {
    z-index: 3;
    padding-right: 3px;
}

button.gallery-modal__nav.gallery-modal__next.js-gallery-next {
    z-index: 3;
    padding-left: 6px;
}



@media (max-width: 575.98px) {
  .flex-module--gallery_module .gallery-modal__stage {
    grid-template-columns: 40px 1fr 40px;
  }

  .flex-module--gallery_module .gallery-modal__nav {
    width: 36px;
    height: 36px;
    font-size: 36px;
    padding-top: .8rem;
  }

  button.gallery-modal__nav.gallery-modal__prev.js-gallery-prev {
    padding-right: 2px;
}

button.gallery-modal__nav.gallery-modal__next.js-gallery-next {
    padding-left: 3px;
  }
}

.mejs-audio {
    margin-bottom: 1.5em;
}

.flex-module--two-col-utility .split-text p,
.flex-module--two-col-utility .split-text ul,
.flex-module--two-col-utility .split-text ol {
  padding-right: 7%;
}

.not-split div {
    margin-bottom: 1.25rem;
}

table {
    width: fit-content;
}

tbody {
  font-size: .75rem;
}

tbody, td, tfoot, th, thead, tr {
  border-color: #b5b5b5;
  border-width: 1px;
}

tr td {
    text-align: center;
    padding-top: .5rem;
    padding-bottom: .5rem;
    padding-right: .75rem;
    padding-left: .75rem;
}

tr td:first-of-type {  
    padding-right: .75rem;
    padding-left: .75rem;
    background-color: #f1f1f1;
}

tr:first-of-type {
    background-color: #f1f1f1;
}

tr:first-of-type td {
    padding-right: .75rem;
    padding-left: .75rem;
}

article.type-alumni {
    margin-bottom: 4rem;
}

.table-wrapper {
    overflow: scroll;
}

img.swipe-icon {
    display: none;
}


@media (max-width: 1080px) {
    img.swipe-icon {
        display: block;
        width: 30px;
        margin: 0 1em;
    }

    .table-wrapper:has(.swipe-icon) table {
      cursor: grab;
    }
}


/* -----------------------------------------------------------
   To add to custom.css where the originals live
----------------------------------------------------------- */
.menu-nav-default {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1100;
  transition:
    transform 220ms ease,
    background-color 220ms ease,
    backdrop-filter 220ms ease;
  will-change: transform, background-color;
}

/* hidden on downward scroll */
.menu-nav-default.is-hidden {
  transform: translateY(-100%);
}

/* shown */
.menu-nav-default.is-visible {
  transform: translateY(0);
}

@media (min-width: 992px) and (max-width: 1149px) {
    .menu-nav-default.is-visible .menu-button.nav-button:has(.navigation__burger navigation__burger--is-open),
    .nav-is-open .nav-button {
      background-color: rgb(255 255 255) !important;
    }
}

/* background state once past hero */
.menu-nav-default.has-bg {
  background-color: rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.menu-nav-default.has-bg.is-visible .bracket-button {
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
}

/* alternative nav scroll colours */
.menu-nav-default.has-bg {
    box-shadow: inset 0px 0px 16px 4px #e9ff0345;
    background-color: rgb(234 254 0 / 75%);
}

.menu-nav-default.has-bg .menu-nav-default-child.light {
  display: none;
}

.menu-nav-default.has-bg .menu-nav-default-child.dark {
  display: block;
}

.menu-nav-default.has-bg .menu-button.nav-button {
  color: #030303;
  border-left: 2px solid #000000;
  border-right: 2px solid #000000;
}

.menu-nav-default.has-bg .menu-button.nav-button::before, .menu-nav-default.has-bg .menu-button.nav-button::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(to right, #000000 0 12px, transparent 12px calc(100% - 12px), #000000 calc(100% - 12px) 100%);
}

.menu-nav-default.has-bg .menu-button.nav-button:hover,
.menu-nav-default.has-bg .menu-user.hide-mobile:hover {
    background: #EAFF00;
}

.menu-nav-default.has-bg .navigation__burger-el {
    background-color: #000000;
}

.menu-nav-default.has-bg .bracket-button {
    color: #000000;
    border-left: 3px solid #000000;
    border-right: 3px solid #000000;
}

.menu-nav-default.has-bg .bracket-button::before, .menu-nav-default.has-bg .bracket-button::after, .menu-nav-default.has-bg .bracket-border::before, .menu-nav-default.has-bg .bracket-border::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(to right, #000000 0 12px, transparent 12px calc(100% - 12px), #000000 calc(100% - 12px) 100%);
}

.menu-nav-default.has-bg .menu-user {
    color: #000000;
    border-left: 2px solid #000000;
    border-right: 2px solid #000000;
}

.menu-nav-default.has-bg .menu-user::before, .menu-nav-default.has-bg .menu-user::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(to right, #000000 0 12px, transparent 12px calc(100% - 12px), #000000 calc(100% - 12px) 100%);
}

.menu-nav-default.has-bg img.menu-user-item.light {
  display: none;
}

.menu-nav-default.has-bg img.menu-user-item.dark {
  display: block;
}

@media (max-width: 991px) {
    .hide-mobile {
        display: none;
    }
}

@media (max-width: 640px) {
  .menu-nav-default.has-bg {
      min-height: 60px;
  }
  .menu-nav-default-child {
      width: 100px;
  }
  .navigation__burger {
    width: 24px;
    height: 16px;
  }
  .navigation__burger.navigation__burger--is-open {
      width: 24px;
      height: 16px;
      left: 2px;
  }

  .navigation__burger-el--top {
    -webkit-transform-origin: 4% 175%;
    transform-origin: 4% 175%;
  }
  .navigation__burger-el--bottom {
    -webkit-transform-origin: 20% 0%;
    transform-origin: 20% 0%;
  }
}

.acm-mega-menu__sidebar {
    padding-left: 40px;;
}

.menu-button-parent {
    gap: 26px;
}
.menu-button.nav-button {
  padding: .8em .6em;
}

@media (max-width: 991px) {
    .nav-is-open .menu-button.nav-button:hover {
        background: transparent;
    }
}

.menu-button .bracket-button.new-class {
    padding: .6em 1em;
    cursor: pointer;
}
.menu-user {
    padding: .48em .4em;
    cursor: pointer;
}
.menu-user-item {
    width: 26px;
}
nav.acm-mega-menu__primary button {
    font-weight: 200;
}

@media (min-width: 1050px){
  form.acm-mega-menu__search {
      width: 20vw;
      display: flex;
      justify-content: space-between;
  }
}
@media (max-width: 991px) {
    .nav-is-open .menu-button .bracket-button.new-class,
    .nav-is-open .menu-user {
      color: #fff;
      border-color: #fff;
    }
    .nav-is-open .menu-user-item.dark {
    display: block !important;
    }
    .nav-is-open .fwp-submit.bracket-button::before, 
    .nav-is-open .fwp-submit.bracket-button::after {
        background: linear-gradient(to right, #000000 0 12px, transparent 12px calc(100% - 12px), #000000 calc(100% - 12px) 100%);
    }
}
nav.acm-mega-menu__primary li.current.is-active button{
    font-weight: 600;
}

.acm-mega-menu__utilities .bracket-button.light {
    font-size: calc(.875rem + .1vw);
    margin-right: 1.5rem;
}

h3.acm-course-filter__heading .facetwp-facet {
    margin-top: .7rem;
    margin-bottom: 1.2rem;
}

.acm-course-filter .facetwp-checkbox {
    margin-bottom: .8rem;   
}

.acm-course-filter__count {
    font-size: 75%;
    padding-bottom: 3px;
}

/* play with both width and height to make space in course finder menu */
@media (min-width: 992px) and (max-height: 1024px) {
    .acm-mega-menu__content {
        padding-top: 120px;
    }

    h3.acm-course-filter__heading {
        font-size: calc(1.5rem);
    }

    .acm-course-filter .facetwp-checkbox {
        margin-bottom: .4rem;
    }
}

@media (min-width: 992px) and (max-width: 1200px) {
    h3.acm-mega-menu__card-title, 
    .acm-mega-menu__section-header h3 {
        font-size: calc(1.5rem);
    }
}

.acm-mega-menu__card-title {
    font-weight: 200;
    margin-bottom: 1rem;
}

.acm-mega-menu__card-title,
.acm-mega-menu__section-header h3 {
  display: flex;
    flex-wrap: wrap;
    align-content: center;
    align-items: center;
    column-gap: 1.5rem;
    row-gap: .7rem;
}

a.acm-mega-menu__card-title-link {
    text-decoration: none;
}

a.acm-mega-menu__card-title-link:hover {
    text-decoration: none;
    opacity: .6;
}

section.acm-mega-menu__panel li a:hover,
.acm-mega-menu__column li a:hover {
    opacity: .6;
    text-decoration: underline;
}


a.bracket-button.sub_menu_item-title-button {
  top : 0;
  margin-left: 0;
}

.acm-mega-menu__column li {
    margin-bottom: 1em;
}

.menu-filter-buttons-holder button.fwp-submit.bracket-button {
    padding: 0.8em 1.2em;
}

header.acm-mega-menu__section-header {
    margin-bottom: 2rem;
}

section.acm-mega-menu__blog-section.acm-mega-menu__blog-section--events {
    margin-top: 2rem;
}

section.acm-mega-menu__blog-section.acm-mega-menu__blog-section--posts article.post-menu-card h4, 
section.acm-mega-menu__blog-section.acm-mega-menu__blog-section--events article.event-menu-card h4 {
  font-weight: 800;
}

.post-menu-card__media-holder, .event-menu-card__media-holder {
    background-color: #d1d1d1;
}

.post-menu-card__media-holder {
  height: auto;
  aspect-ratio: 16 / 10.5;
}

span.bracket-button.post-menu-card__cta,
.location-nav-img-holder .bracket-button.light {
    font-size: clamp(.6rem, 1vw, 1rem);
    padding: 0.6em .8em;
    border-left: 2px solid white;
    border-right: 2px solid white;
}

.acm-mega-menu.container-fluid .location-with-desc.row {
    margin-right: calc(-.5 * var(--bs-gutter-x)) !important;
    margin-left: calc(-.5 * var(--bs-gutter-x)) !important;
}

.location-with-desc.row .bracket-button {
  font-size: clamp(.6rem, 1vw, 1rem);
    padding: 0.6em .8em;
    border-left: 2px solid rgb(0, 0, 0);
    border-right: 2px solid rgb(0, 0, 0);
}

.location-nav-img-holder .bracket-button.light::before, .location-nav-img-holder .bracket-button.light::after,
.bracket-button.light.post-menu-card__cta::before, .bracket-button.light.post-menu-card__cta::after, .bracket-border.light.post-menu-card__cta::before, .bracket-border.light.post-menu-card__cta::after {
    height: 2px;
    background: linear-gradient(to right, #ffffff 0 12px, transparent 12px calc(100% - 12px), #ffffff calc(100% - 12px) 100%);
}

.location-with-desc.row .bracket-button::before, .location-with-desc.row .bracket-button::after {
    height: 2px;
    background: linear-gradient(to right, #000000 0 12px, transparent 12px calc(100% - 12px), #000000 calc(100% - 12px) 100%);
}

article.post-menu-card h4, article.event-menu-card h4 {
    font-size: clamp(.9rem, 1.1vw, 1.2rem);
}

p.post-menu-card__excerpt, p.event-menu-card__excerpt {
    font-size: clamp(.6rem, 1vw, .8rem);
}

.location-nav-img-holder {
    height: 240px;
    aspect-ratio: 2 / 1.7;
    height: 25vh;
    margin-bottom: 1rem;   
}

p.acm-mega-menu__card-description {
    font-size: calc(.7rem + .3vw);    
}

@media (min-width: 992px) {
    p.acm-mega-menu__card-description {
        font-size: clamp(.6rem, 1.2vw, 1rem);
    }
}

form.acm-mega-menu__search {
    border-bottom: 1px solid #cacaca !important;
}
input#acm-mega-menu-search {
    color: #fff;
}

input#acm-mega-menu-search::placeholder {
    font-weight: 200;
    color: #cecece;
}

a.facetwp-toggle {
    font-size: 0.85rem;
    font-weight: 400;
}

a.bracket-button.acm-mega-menu__highlight-btn {
    font-size: 1em;
    text-decoration: none;
    background: #EAFF00;
    font-weight: 800;
}

a.bracket-button.acm-mega-menu__highlight-btn:hover {
  background: none;
}

.acm-mega-menu__highlight-title {
    font-weight: 800;
}

.menu-filter-buttons-holder {
    margin-top: 3rem;
}

.acm-mega-menu__event-grid .col-12.col-md-6:has(.event-menu-card__media) {
    padding-left: 0;
}

section.acm-mega-menu__blog-section.acm-mega-menu__blog-section--posts header.acm-mega-menu__section-header,
section.acm-mega-menu__blog-section.acm-mega-menu__blog-section--events header.acm-mega-menu__section-header {
    padding-left: .6rem;
}

@media (min-width: 992px) {
  .acm-mega-menu__panel {
      padding-left: 2rem;
      padding-right: 2em;
  }
}

/* -----------------------------------------------------------
   404 Error page tweaks
----------------------------------------------------------- */
section.error-404 {
    max-width: 1300px;
    margin: 0 auto;
    padding: 6rem 0;
    padding: 2rem 0 6rem 0;
}

section.error-404 header.page-header {
    padding-left: 30px;
    padding-right: 30px;
}
section.error-404 .page-title.geist {
    font-size: 4rem;
    color: #D9D9D9;
    font-weight: 500;
}
section.error-404 .text-split-right {
  margin: 0 auto;
    padding-right: 3rem;
    padding-left: 1rem;
}
@media (min-width: 901px) {
  section.error-404 .text-split-right {
    padding-right: 3rem;
    padding-left: 2rem;
  }
}
@media (min-width: 768px) and (max-width: 900px) {
  section.error-404 .text-split-right {
    padding-right: 0;
    padding-left: 0;
  }
}
section.error-404 .split-content {
    font-size: calc(1rem + .5vw);
    max-width: 380px;
}

.highlight-text {
    display: inline;
    box-decoration-break: clone;
    -webkit-box-decoration-break: clone;
}

.flex-module--text_split_hero {
    margin-bottom: 6em;
    padding-top: 3rem;
}

.flex-module--text_split_hero .container-fluid {
    display: block;
    margin: auto;
    max-width: 1400px;
}

.flex-module--text_split_hero .split-content {
  font-size: clamp(1rem, .85rem + 0.4vw, 2.5rem);
}

a.bracket-button {
  font-size: calc(1rem + .3vw);
  padding: 0.8em 1.2em;
  text-decoration: none
}

input#gform_submit_button_5.gform_button,
input.gform_button {
  font-size: calc(1rem + .3vw) !important;
  padding: 0.8em 1.2em !important;
  text-decoration: none
}

.bracket-button:not(.accordion-item):hover,
.gform_wrapper input#gform_submit_button_5.gform_button:hover,
.gform_wrapper input.gform_button:hover,
input[type=submit]#gform_submit_button_6:hover,
.gform_wrapper .gform_page_footer input[type="button"]:hover {
  background-color: #e9ff03 !important;
  /* font-weight: 400; */
}

.bracket-border.big {
    border-width: calc(.5rem + 1.65vw) !important;
}
.bracket-border.big::before, .bracket-border.big::after {
    height: calc(.5rem + 1.65vw) !important;
    background: linear-gradient(to right, #000 0 18%, transparent 18% calc(100% - 18%), #000 calc(100% - 18%) 100%) !important;
    left: -1px;
    right: -1px;
}

.bracket-button.big.dark::before, .bracket-button.big.dark::after, .bracket-border.big.dark::before, .bracket-border.big.dark::after {
    height: calc(.5rem + 1.65vw) !important;
}

.bracket-border.medium {
    border-left-width: calc(.5rem + .5vw);
    border-right-width: calc(.5rem + .5vw);
}

.bracket-border.medium::before, 
.bracket-border.medium::after {
    height: calc(.5rem + .5vw) !important;
    background: linear-gradient(to right, #000 0 22%, transparent 18% calc(100% - 22%), #000 calc(100% - 22%) 100%) !important;
    left: -1px;
    right: -1px;
}

/* Gravity form wrapper gets the bracket lines */
.gform_wrapper .gform_footer {
  display: inline-block !important;
  position: relative;
}

.gform-page-footer.gform_page_footer {
  position: relative;
}

/* Legacy Gravity form wrapper button */
.gform_legacy_markup_wrapper .gform-footer.gform_footer.top_label,
.gform-page-footer.gform_page_footer {
    width: fit-content;
    padding: 0 !important;
}

.gform_legacy_markup_wrapper .gform_footer input.button, 
.gform_legacy_markup_wrapper .gform_footer input[type=submit],
.gform-page-footer.gform_page_footer input.button,
.gform-page-footer.gform_page_footer input[type=submit] {
  margin: 0 !important;
}
/* End - Legacy Gravity form wrapper button */

/* the actual button */
input[type=submit]#gform_submit_button_6,
.gform_wrapper input#gform_submit_button_5.gform_button,
.gform_wrapper input.gform_button {
  display: inline-block;
  padding: 0.4em 1.2em;
  color: #000;
  background: transparent !important;
  border-left: 3px solid #000 !important;
  border-right: 3px solid #000 !important;
  border-top: 0 !important;
  border-bottom: 0 !important;
  border-radius: 0 !important;
  box-shadow: none;
  -webkit-appearance: none;
  appearance: none;
  position: relative;
  z-index: 1;
}

input[type=submit]#gform_submit_button_6 {
  margin-left: 1rem !important;
}

/* pseudo lines live on the wrapper */
#gform_page_6_5 .gform-page-footer.gform_page_footer::before,
#gform_page_6_5 .gform-page-footer.gform_page_footer::after,
.gform_wrapper .gform_footer::before,
.gform_wrapper .gform_footer::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(
    to right,
    #000 0 12px,
    transparent 12px calc(100% - 12px),
    #000 calc(100% - 12px) 100%
  );
  pointer-events: none;
  z-index: 5;
}

.gform_wrapper .gform_footer::before,
.gform-page-footer.gform_page_footer::before { top: 0; }
.gform_wrapper .gform_footer::after,
.gform-page-footer.gform_page_footer::after { bottom: 0; }

#gform_page_6_5 .gform-page-footer.gform_page_footer::before,
#gform_page_6_5 .gform-page-footer.gform_page_footer::after { 
  left: 125px; 
}

/* Gravity Forms multi-page footer buttons */
.gform_wrapper .gform_page_footer input[type="button"] {
    appearance: none;
    -webkit-appearance: none;
    border: 0;
    background-color: transparent;
    color: #000;
    font-size: 2rem;
    line-height: 1;
    padding: 1.2rem 2.8rem;
    min-height: 64px;
    position: relative;
    cursor: pointer;
    border-radius: 0 !important;

    /* bracket size/thickness */
    --bracket-w: 12px;
    --bracket-h: 20px;
    --bracket-t: 2.5px;

    /* draw 8 little lines = 2 brackets */
    background:
        /* left top horizontal */
        linear-gradient(#000, #000) left 0 top 0 / var(--bracket-w) var(--bracket-t) no-repeat,
        /* left top vertical */
        linear-gradient(#000, #000) left 0 top 0 / var(--bracket-t) var(--bracket-h) no-repeat,
        /* left bottom horizontal */
        linear-gradient(#000, #000) left 0 bottom 0 / var(--bracket-w) var(--bracket-t) no-repeat,
        /* left bottom vertical */
        linear-gradient(#000, #000) left 0 bottom 0 / var(--bracket-t) var(--bracket-h) no-repeat,

        /* right top horizontal */
        linear-gradient(#000, #000) right 0 top 0 / var(--bracket-w) var(--bracket-t) no-repeat,
        /* right top vertical */
        linear-gradient(#000, #000) right 0 top 0 / var(--bracket-t) var(--bracket-h) no-repeat,
        /* right bottom horizontal */
        linear-gradient(#000, #000) right 0 bottom 0 / var(--bracket-w) var(--bracket-t) no-repeat,
        /* right bottom vertical */
        linear-gradient(#000, #000) right 0 bottom 0 / var(--bracket-t) var(--bracket-h) no-repeat !important;
}

/* Footer layout when there are two buttons */
.gform_wrapper .gform_page_footer {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 1.5rem;
}

/* Optional: push Next / Submit to the right */
.gform_wrapper .gform_page_footer .gform_next_button {
    margin-left: auto;
}

.gform-loader {
    display: none !important;
}

.gform-theme--foundation .gform_page_footer {
    margin-block-start: 4rem !important;
    gap: 1rem !important;
}

section#apply-form {
  margin-bottom: 0;
  padding: 8em 0;
}

h2.process-step-title.big {
    font-size: clamp(2.5rem, 6.5vw, 6rem);
}

img.footer-logo {
    width: 350px;
    max-width: 30%;
}

.site-footer__contact {
  max-width: 960px !important;
}

.site-footer__contact.bracket-border.big {
  padding-top: calc(1.8rem + 3.5vw);
  padding-bottom: calc(2.8rem + 3.5vw);
}

.site-footer__contact.bracket-border.big::before, .site-footer__contact.bracket-border.big::after {
    background: linear-gradient(to right, #ffffff 0 18%, transparent 18% calc(100% - 18%), #ffffff calc(100% - 18%) 100%) !important;
}

@media (max-width: 959px) {
  .site-footer__contact.bracket-border.big {
    margin-left: 1rem;
    margin-right: 1rem;
  }
}

section.video-container .video-bracket.bracket-border {
    max-width: 1160px;
}

section.video-container .quote-carousel__item.video-bracket.bracket-border {
  max-width: unset;
}

.video-bracket.bracket-border {
    padding-top: calc(.7rem + 3.5vw);
    padding-bottom: calc(.7rem + 3.5vw);
    padding-left: calc(.5rem + 1.1vw);
    padding-right: calc(.5rem + 1.1vw);
}
@media (min-width: 768px) {
  .video-bracket.bracket-border {
    padding-top: calc(.8rem + 3.5vw);
    padding-bottom: calc(.8rem + 3.5vw);
    padding-left: calc(.5rem + 1.5vw);
    padding-right: calc(.5rem + 1.5vw);
  }
}

.container-fluid.container-full.video-container.video-module {
    background: linear-gradient(90deg, rgba(255, 255, 255, 0) 30%, rgba(234, 255, 0, 1) 30%);
    padding: 5em 4em !important;
}

.video-module {
    /* margin: 7em 0 !important; */
    margin: 7em 0;
}

.video-module-title .flex-module__title {
    font-weight: 900;
    line-height: 1;
    font-size: clamp(2.25rem, 7vw, 5rem);
    font-size: clamp(2rem, 7vw, 5rem);
    margin-bottom: 0;
    width: 53vw;
    padding: 0;
}

.flex-module__video_title {
    padding: 0 1.75rem 2rem;
    font-weight: 800;
}

.video-module-description {
  padding: 2rem;
  max-width: 950px;
  margin: auto;
}

.video-module-description p {
  text-align: center;
  font-size: clamp(1rem, 3vw, 1.1rem);
  font-weight: 600;
}

.sec-video-module:has(.video-module-title) .video-module {
  margin: 4em 0 7em !important;
}

.sec-video-module:has(.video-module-title) .video-module:not(.video-title) {
    margin-top: 0 !important;
    padding-top: 6rem !important;
}

.sec-video-module:not(.video-module-title) .video-module:has(.video-title) {
    margin: 5em 0 !important;
}

.sec-video-module:has(.video-module-title) .video-module:has(.video-title) {
    margin-top: 0 !important;
    padding-top: 3rem !important;
}

.sec-video-module:has(.video-title) .video-module-title {
    padding-top: 6em !important;
}

.sec-video-module:not(.video-title) .video-module-title {
    padding-top: 3em !important;
}

@media (min-width: 768px) {
  .sec-video-module:not(.video-module-title) .video-module:has(.video-title) {
      margin: 7em 0 !important;
  }
  .sec-video-module:not(.video-title) .video-module-title {
      padding-top: 6em !important;
  }
}

@media (min-width: 1450px) {
  .video-module-title .flex-module__title {
    width: 48vw;
  }
}

.video-module .split-buttons {
    padding-top: 2rem;
    display: flex;
    justify-content: center;
}

blockquote.quote-carousel__quote {
    font-size: clamp(.8rem, 2vw, 1rem);
}

.quote-carousel__person.geist.small-text {
    margin-bottom: 1rem;
}

@media (min-width: 768px) {
  section.video-container.flex-module--quote_carousel {
      /* padding: 5em 4em !important; */
      padding: 8% 7% 8% 20% !important;
  }
}

@media (max-width: 991px) {
  section.video-container.flex-module--quote_carousel .quote-carousel__image img,
  section.video-container.flex-module--alumni_tutor_carousel .quote-carousel__image img {
      aspect-ratio: 1;
      position: relative;
  }

  section.video-container.flex-module--quote_carousel img.quote-carousel__icon-quote-open {
    left: 0;
    width: 30%;
  }

  section.video-container.flex-module--quote_carousel img.quote-carousel__down-arrow,
  section.video-container.flex-module--alumni_tutor_carousel img.quote-carousel__down-arrow {
    position: relative;
    rotate: -90deg;
    left: 50%;
    margin-top: -3rem;
  }
}

@media (max-width: 620px) {
    .video-module {
      margin: 4em 0 !important;
    }
    .container-fluid.container-full.video-container.video-module,
    section.video-container {
        padding: 3rem 5px !important;
    }
    section.flex-module.flex-module--quote_carousel.container-fluid.container-full.video-container.video-module {
        padding: 3rem 0 0 !important;
        margin: 4em 0 0 !important;
        background: linear-gradient(90deg, rgba(255, 255, 255, 0) 0%, rgba(234, 255, 0, 1) 0%);
        background: linear-gradient(360deg, rgba(255, 255, 255, 0) 59%, rgba(234, 255, 0, 1) 41%);
    }

    section.review-module {
        margin-bottom: 3em;
    }

    .margin-top-bottom {
        margin: 4em 0;
    }

    section#specialism {
        padding: 5em 0 3em;
    }

    .modules-content .tab-pane {
        padding-bottom: 0;
    }

    .flex-module--full_width_text {
        margin-bottom: 4em;
    }

    .flex-module--tutor_alumni_grid {
        margin-bottom: 4em;
    }
}

.site-footer form .form-label {
    display: none !important;
}
.site-footer form .input-group {
  align-items: flex-start !important;
  gap: .5rem !important;
}

@media (max-width: 767px) {
  .site-footer form .col-md-6:nth-child(2) {
      margin-top: 0;
  }
}

.site-footer .input-group:not(.has-validation)>:not(:last-child):not(.dropdown-toggle):not(.dropdown-menu):not(.form-floating) {
    border-radius: var(--bs-border-radius) !important;
}

.site-footer .input-group>.form-select {
  flex: 0 0 auto !important;
  width: 34% !important;
}

.site-footer__form-title {
    margin-bottom: 4rem;
}

h2.site-footer__form-title, h2.site-footer__heading {
    font-size: clamp(1.6rem, 7vw, 3em);
}

.site-footer .bracket-button {
  padding: 0.8em 1.2em;
  font-size: 1.2rem;
}

.site-footer .bracket-button:hover {
    background: #e9ff03;
    border-color: #ffffff;
}

.site-footer input[type="text"]:focus, 
.site-footer input[type="email"]:focus, 
.site-footer input[type="url"]:focus, 
.site-footer input[type="password"]:focus, 
.site-footer input[type="search"]:focus, 
.site-footer input[type="number"]:focus, 
.site-footer input[type="tel"]:focus, 
.site-footer input[type="range"]:focus, 
.site-footer input[type="date"]:focus, 
.site-footer input[type="month"]:focus, 
.site-footer input[type="week"]:focus, 
.site-footer input[type="time"]:focus, 
.site-footer input[type="datetime"]:focus, 
.site-footer input[type="datetime-local"]:focus, 
.site-footer input[type="color"]:focus, textarea:focus {
    background-color: #020202 !important;
}

.site-footer .small {
  max-width: 370px;
}
.site-footer__social {
  max-width: 1300px;
}

.site-footer__social .site-footer__heading {
  max-width: 330px;
}

.site-footer__social img.social-icon {
    margin-left: 0;
    padding-left: 14px;
}

@media (max-width: 767px) {
    .site-footer__social img.social-icon {
        margin-left: 0;
        margin-right: 0;
        padding-left: 0;
        padding-right: 14px;
    }
}

@media (max-width: 640px) {
  footer input {
      margin-bottom: 1.5em;
  }

  .form-control {
      font-size: 1rem;
  }

  .site-footer__inner.site-footer-top {
      padding-top: 115px;
  }

  .site-footer__inner.site-footer-bottom {
      min-height: 0;
  }
}

section#course-finder {
    margin-top: 3rem;
}

.course-sub-nav ul.slicked {
    overflow: hidden;
    width: calc(100vw - 6rem);
}

.sub-nav-arrow.show {
    width: fit-content;
}

.course-facet-module .dropdown {
    border: 0;
    font-size: calc(.875rem + .3vw);
}

.events-results.row {
    margin-top: 2rem !important;
    margin-left: 6px;
}

button#events-filter-reset {
    font-size: .8rem;
    font-weight: 600;
    opacity: .7;
}

button#events-filter-reset:hover {
    opacity: 1;
    text-decoration: underline;
}

@media (max-width: 767px) {
  .events-results.row {
      margin-left: 0px;
  }
}

.event-li {
    padding-left: 0 !important;
    padding-right: 0 !important;
}

.event-li-inner {
    min-height: -webkit-fill-available;
    margin-top: 0 !important;
    margin-bottom: 0 !important;
}

.events-load-more .event-li-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
}

.event-li-inner::before {
    height: 5px;
    top: -5px;
}

.event-li-inner::after {
    height: 5px;
    bottom: -5px;
}

.load-more-dots {
    font-size: 6rem;
    line-height: 1;
    margin-bottom: 1rem;
}

button#events-load-more {
    font-size: calc(1rem + .3vw);
    padding: 0.8em 1.2em;
    text-decoration: none;
}

.standard-event-item .bracket-button.small-button.dark.highlight {
    font-weight: 900;
}

.event-li {
    margin-left: -4px;
    margin-top: -4px;
}

.event-li-inner {
    border: 4px solid #000;
}

.flex-module--button_module {
    padding: 0;
    padding: 2rem 0;
}

.flex-module--button_module .button-module__buttons {
    gap: 2rem;
    margin: auto;
    max-width: 800px;
}

@media (min-width: 768px) { 
  .flex-module--button_module {
      padding: 4rem 0;
  }
}
@media (min-width: 1079px) {  
  .flex-module--button_module .button-module__buttons {
      max-width: 850px;
  }
}

@media (min-width: 1500px) {  
  .flex-module--button_module .button-module__buttons {
      max-width: 900px;
  }
}

.tutor-alumni-grid__item-image-holder .bracket-button {
    position: absolute;
    left: 50%;
    top: 65%;
    -ms-transform: translate(-50%, -50%);
    transform: translate(-50%, -35%);
}

.tutor-hero .credits-holder {
    gap: 4vw;
}

.tutor-hero .credits-holder h2 {
    width: 50%;
    margin-right: 0;
}

.tutor-hero img {
    aspect-ratio: 1;
    object-fit: cover;
}

.tutor-campuses {
    font-size: calc(.7rem + .2vw);
    padding-right: 1.5rem;
}

.tutor-bio p {
    font-size: calc(.8rem + .25vw);
}

@media (max-width: 991px) {
  .tutor-hero .position-sticky {
    top: unset !important;
  }
  .tutor-bio {
    margin-bottom: 6rem;
  }
}

section.no-results.not-found {
    padding: 4rem 2rem;
}

.no-results.not-found h1 {
  font-weight: 800;
}

.no-results.not-found input.search-field, 
.no-results.not-found input[type="search"] {
    padding: 6px 10px !important;
    border-radius: 0 !important;
}

.no-results.not-found form label {
  margin-right: 1.1rem !important;
}

.search-form input.search-submit:hover {
  background-color: #e9ff03;
}

.search-form input.search-submit {
  padding: 0.4em 1.2em;
  color: #000;
  background: transparent;
  border-left: 3px solid #000;
  border-right: 3px solid #000;
  border-top: 0;
  border-bottom: 0;
  border-radius: 0;
  box-shadow: none;
  -webkit-appearance: none;
  appearance: none;
  position: relative;
  z-index: 1;
}

/* pseudo lines live on the wrapper */
.search-form input.search-submit::before,
.search-form input.search-submit::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(
    to right,
    #000 0 12px,
    transparent 12px calc(100% - 12px),
    #000 calc(100% - 12px) 100%
);
  pointer-events: none;
  z-index: 5;
  
}

@media (min-width: 992px) {
  .jobs .single-post__content .row {
      flex-wrap: nowrap;
      gap: 3rem;
  }
}

.jobs .single-post__content .col-12.col-lg-7 {
    padding-right: 4rem;
}

p:has(span.small-text) {
    line-height: 1.3;
    margin-bottom: 2rem;
}

.single-jobs main#primary {
    padding-bottom: 3em;
}

.archive-jobs-row {
    margin-top: 2rem !important;
    margin-left: 6px;
}

@media (min-width: 768px) {
  .archive-jobs-row {
      margin-bottom: 2rem;
  }
}

.archive-jobs__item {
    border: 4px solid #000;
    margin-left: -4px;
    margin-top: -4px;
}


.archive-jobs__item::before {
    content: "";
    background: #fff;
    width: 50%;
    display: block;
    left: 50%;
    -ms-transform: translateX(-50%);
    transform: translateX(-50%);
    height: 5px;
    top: -5px;
    position: relative;
}

.archive-jobs__item::after {
    content: "";
    background: #fff;
    width: 50%;
    display: block;
    left: 50%;
    -ms-transform: translateX(-50%);
    transform: translateX(-50%);
    height: 5px;
    bottom: -5px;
    position: relative;
}

.archive-jobs__intro {
    padding-right: 5%;
    padding-right: 3rem;
}

.archive-jobs__item .job-card {
  padding: 2rem 1rem 0;
}

body .gform_legacy_markup_wrapper div.gform_body ul.gform_fields li.gfield.gfield_html {
    line-height: 1.2rem !important;
}

.gform_wrapper .top_label li.gfield.gf_middle_third div:not(.ginput_container_date) select {
  width: 103% !important;
}


.gform-theme--framework input[type=checkbox]:where(:not(.gform-theme__disable):not(.gform-theme__disable *):not(.gform-theme__disable-framework):not(.gform-theme__disable-framework *)) {
    border: 1px solid #333 !important;
}

.gform-theme--framework .gfield--type-choice .gchoice, .gform-theme--framework .gfield--type-choice .ginput_container_consent {
    align-items: center;
}

label.gfield_label.gform-field-label,
legend.gfield_label.gform-field-label {
    font-weight: 700;
    font-size: inherit;
}

.gfield .small-text,
div#field_6_210,
div#gfield_description_9_9 {
    font-size: 0.8em;
    font-family: 'Geist Mono', monospace;
}

body .gform_legacy_markup_wrapper .top_label .gfield--type-date div.ginput_container {
    margin-top: 5px;
}

@media (min-width:992px) {
  .gf_left_third {
      width: 25% !important;
  }

  .gf_middle_third {
      width: 50% !important;
  }

  .gf_right_third {
      width: 25% !important;
  }
}

@media (min-width:992px) and (max-width:1200px) {
  .gform_legacy_markup_wrapper .clear-multi {
      justify-content: space-between;
  }
}

.gform-theme--foundation .ginput_complex .ginput_container_date {
    max-inline-size: 33%;
}

@media only screen and (max-width: 641px) {
    .gform_legacy_markup_wrapper input:not([type=radio]):not([type=checkbox]):not([type=image]):not([type=file]) {
        line-height: inherit !important;
        min-height: inherit !important;
    }
}

article.policies-pane__policy {
    margin-bottom: 3rem;
}

@media only screen and (max-width: 991px) {
  .flex-module--policies_module .flex-module__sidebar {
      margin-bottom: 3rem;
      padding: 2em 3em 2.5em;
  }
}
.single-courses section.breadcrumb-section {
    z-index: 2;
}

section.course-hero {
    margin-bottom: 1rem;
}

h1.course-hero__title {
    font-weight: 900;
    margin-bottom: 3rem;

}

span.course-hero__study-level {
    font-weight: 900;
    font-size: 4.5rem;
    word-break: break-word;
    font-size: clamp(2.2rem, 4.9vw, 3.8rem);
    margin-bottom: 0.6rem;
}

span.course-hero__award {
    font-weight: 800;
    font-size: calc(1.5rem + .2vw);
    margin-bottom: 1rem;
}

.multi-column-content p {
    padding-right: 5%;
}

@media (max-width:420px) {
  .course-hero__meta-group {
      flex-direction: column;
  }

  .course-hero__meta-group .list-unstyled {
      padding-right: 20%;
  }
}

@media (min-width:768px) {
  .tutor-alumni-grid__item-title {
    font-size: clamp(1.1rem, 2.4vw, 1.65rem);
  }
}

@media (max-width:420px) {
  p {
    font-size: calc(.875rem + .1vw);
    font-size: calc(.9rem + .1vw);
  }

  .container-fluid {
    padding-right: 1rem;
    padding-left: 1rem;
  }

  .left-right-padding {
    padding-right: 1rem;
    padding-left: 1rem;
  }

  .multi-column-content {
    padding-right: .75rem;
    padding-left: .75rem;
    padding-right: .5rem;
    padding-left: .5rem;
  }

  .flex-module__content ul {
    padding-left: 1rem;
  }

  .site-main li {
    font-size: calc(.9rem + .1vw);
  }

  .flex-module--tutor_alumni_grid h2 {
    text-align: left !important;
  }

  h3.tutor-alumni-grid__item-title {
    font-size: calc(1.2rem + .6vw);
    font-size: calc(1.2rem + .3vw);
  }

  .tutor-alumni-grid__item-strapline {
    font-size: calc(.875rem + .1vw);
  }

  .tutor-alumni-grid__item-campuses {
    top: unset;
    bottom: 5px;
    right: 10px;
  }
}

.course-header-holder a.bracket-button.dark.highlight {
    font-weight: 900;
}

.course-header-holder {
  padding-top: 6rem !important;
}

@media (min-width: 768px) and (max-width: 991px) {
  .course-header-holder {
    padding-top: 8rem !important;
  }

  .course-hero__meta {
    padding-left: calc(60px + 0.2vw);
  }
}

@media (min-width: 992px) and (max-width: 1199px) {
  .course-hero__meta {
    padding-left: 70px;
  }
}

@media (min-width: 1200px) {
  .course-hero__meta {
    padding-left: 80px;
  }
}

section.course-sub-nav {
    padding: 2em 0px 0;
}

.course-description {
    padding-top: 2rem;
}

.course-sub-nav ul {
    gap: 2rem;
}

.course-sub-nav ul.sub-nav-holder:not(.slick-initialized) {
    justify-content: space-evenly;
    min-width: 0;
    width: 100%;
}

.course-sub-nav .sub-nav-arrow.is-disabled {
    opacity: 0.35;
    pointer-events: none;
}

.course-sub-nav ul.sub-nav-holder.slick-initialized {
    display: block;
    min-width: 0;
    width: 100%;
}

.course-sub-nav ul.sub-nav-holder.slick-initialized .sub-nav-item {
    width: auto;
    flex: 0 0 auto;
}

.course-sub-nav ul.sub-nav-holder.slick-initialized .sub-nav-item a {
    white-space: nowrap;
}

.sub-nav-item {
    min-width: fit-content;
}

.course-description .margin-top-bottom {
      margin: 4em 0;
      margin: 3em 0 4em 0;
      align-items: center;
}

.course-description h2 {
  margin-bottom: 1.5rem;
  font-size: clamp(2.5rem, 7vw, 5rem);
}

@media (max-width: 768px) {
  .course-card-read-more svg {
      max-width: 120px;
  }
}

@media (min-width: 1200px) and (max-width: 1269px) {
  .course-card-read-more svg {
      max-width: 100px;
  }
}

@media (min-width: 1270px) and (max-width: 1430px) {
  .course-card-read-more svg {
      max-width: 120px;
  }
}

@media (max-width: 991px) {
  .course-description .margin-top-bottom {
      margin: 1em 0 4em 0;
  }
}

section#specialism .specialism-listing .row {
  align-items: flex-end;
}

.specialism-image {
    border: 0 solid transparent;
    width: fit-content;
    margin: auto;
}

a.collapse-link {
    text-decoration: none !important;
}

a.collapse-link[aria-expanded="true"] .specialism-image {
  border: 6px solid transparent;
    border-left: 6px solid #eaff00;
    border-right: 6px solid #eaff00;
    transition: all 0.3s ease;
    border-top: 0 solid transparent;
    border-bottom: 0 solid transparent;
}

a.collapse-link[aria-expanded="true"] .specialism-image::before, a.collapse-link[aria-expanded="true"] .specialism-image::after {
    height: 6px;
    transition: all 0.3s ease;
}

@media (min-width: 992px) and (max-width: 1366px) {
  .specialism-item h3 {
      font-size: calc(1rem + .3vw);
      transition: font-weight 0.3s ease;
  }
}

a.collapse-link[aria-expanded="true"] .specialism-item h3,
.specialism-item h3:hover {
  font-weight: 800 !important;
}

.collapse-inner {
    max-width: 1100px;
    margin: auto;
    padding: 0 2rem;
}


.specialism-trigger {
	text-decoration: none;
	color: inherit;
	display: block;
}

.specialism-trigger:hover,
.specialism-trigger:focus {
	text-decoration: none;
	color: inherit;
}

.specialism-mobile-modal {
	background: rgba(255, 255, 255, 0.9);
}

.specialism-mobile-modal .modal-dialog {
	max-width: 1100px;
	margin: 1.75rem auto;
	padding: 0 1rem;
}

.specialism-mobile-modal .modal-content {
	background: transparent;
	border: 0;
	border-radius: 0;
	box-shadow: none;
}

.specialism-mobile-modal .collapse-inner {
	max-width: 1100px;
	margin: auto;
	padding: 0 2rem;
  position: relative;
}

.specialism-mobile-modal .collapse-content.bracket-border {
	padding: 4em 0;
	display: block;
	margin: auto;
	max-width: 1300px;
}

.specialism-mobile-modal .text-center {
	text-align: center;
}

.specialism-modal-x {
	position: absolute;
  top: 2rem;
  right: 3rem;
	width: 36px;
	height: 36px;
	background: transparent;
	border: 0;
	cursor: pointer;
	z-index: 20;
}

.specialism-modal-x span {
	position: absolute;
	top: 50%;
	left: 50%;
	width: 20px;
	height: 2px;
	background: #000; 
	transform-origin: center;
}

.specialism-modal-x span:first-child {
	transform: translate(-50%, -50%) rotate(45deg);
}

.specialism-modal-x span:last-child {
	transform: translate(-50%, -50%) rotate(-45deg);
}

@media (max-width: 767.98px) {
	.specialism-item {
		cursor: pointer;
	}

	.specialism-mobile-modal .collapse-inner {
		padding: 0 1rem;
	}

	.specialism-mobile-modal .collapse-content.bracket-border {
		padding: 2.5rem 0;
	}
}

button.close-button.bracket-button.dark {
    margin-top: 1.5rem;
    margin-bottom: 3rem;
}

.course-description .container-fluid {
  margin-bottom: 1rem;
}

@media (min-width: 992px) and (max-width: 1160px) {
  .module-tabs {
    margin-left: 1em;
  }
}

.flex-module--full_width_text {
    margin-bottom: 4em;
}

.page-id-1476 .flex-module--full_width_text,
.page-id-1477 .flex-module--full_width_text {
    margin-bottom: 0em;
}

@media (min-width:768px) {
  .flex-module--full_width_text {
    margin-bottom: 7em;
  }

  .page-id-1476 .flex-module--full_width_text,
  .page-id-1477 .flex-module--full_width_text {
      margin-bottom: 2em;
  }
}
