h1 {
  color: white;
  font-family: "Roboto Condensed", Arial, Helvetica, sans-serif;
  font-size: clamp(3.25rem, 6vw, 7.5rem);
  line-height: 1;
  margin-bottom: 2rem;
  margin-top: 1.5rem;
  font-weight: 600;
  text-transform: uppercase;
  @media only screen and (max-width: 768px) {
    margin-top: 0rem;
  }
}

h2 {
  color: #0033a0;
  font-family: "Roboto Condensed", Arial, Helvetica, sans-serif;
  font-size: clamp(3rem, 6vw, 6.5rem);
  line-height: 1.05;
  text-transform: uppercase;
  font-weight: 600;
  text-align: right;
  /* @media only screen and (max-width: 1024px) {
    font-size: 4rem;
    line-height: 4.25rem;
  }
  @media only screen and (max-width: 768px) {
    font-size: 3rem;
    line-height: 3.25rem;
  } */
}

h3 {
  color: #ffffff;
  font-family: "Roboto Condensed", Arial, Helvetica, sans-serif;
  font-size: clamp(3rem, 6vw, 4rem);
  line-height: 1.05;
  text-transform: uppercase;
  font-weight: 600;
  text-align: center;
  @media only screen and (max-width: 768px) {
    padding-left: 3rem;
    padding-right: 3rem;
  }
  @media only screen and (max-width: 460px) {
    padding-left: 1rem;
    padding-right: 1rem;
  }
}

h3.advance-ky {
  color: #0033a0;
  text-align: center;
  font-size: clamp(3.75rem, 6vw, 6rem);
  line-height: 1.05;
  /* font-size: 6rem;
  line-height: 6.5rem; */
  padding-top: 3.5rem;
  @media only screen and (max-width: 1024px) {
    /* font-size: 4rem;
    line-height: 4rem; */
    padding-left: 0rem;
    padding-right: 0rem;
    padding-top: 0rem;
  }
  @media only screen and (max-width: 768px) {
    /* font-size: 4rem;
    line-height: 4rem; */
    padding-left: 0rem;
    padding-right: 0rem;
    padding-top: 0rem;
  }
}

.nav-style {
  padding-left: 9rem;
  padding-bottom: 1rem;
  @media only screen and (max-width: 1187px) {
    padding-left: 2.75rem;
  }
  @media only screen and (max-width: 768px) {
    padding-left: 2.5rem;
    padding-bottom: 1rem;
  }
}

.nav-footer {
  display: block;
  margin-left: auto;
  margin-right: auto;
  @media only screen and (max-width: 1024px) {
    width: 30%;
  }
  @media only screen and (max-width: 767px) {
    width: 60%;
  }
  @media only screen and (max-width: 460px) {
    width: 80%;
  }
}

.font-center {
  text-align: center;
}

.font-left {
  text-align: left;
}

.font-right {
  text-align: right !important;
}

.font-white {
  color: #ffffff;
}

.font-blue {
  color: #0033a0;
}

.font-black {
  color: #000000;
}

.mobile-only {
  @media only screen and (min-width: 770px) {
    display: none;
  }
}

.desktop-only {
  @media only screen and (max-width: 1850px) {
    display: none;
  }
}

#advance {
  font-size: 6.25rem;
  font-size: clamp(4rem, 6vw, 6.25rem);
  /* @media only screen and (max-width: 1024px) {
    font-size: 4.5rem;
  }
  @media only screen and (max-width: 768px) {
    font-size: 4rem;
  } */
}

#ky {
  color: #1e8aff;
  @media only screen and (max-width: 390px) {
    font-size: 3.75rem;
  }
}

p {
  font-family: "Avenir", Arial, Helvetica, sans-serif;
  color: #454545;
  font-size: 1.75rem;
  font-size: clamp(1.25rem, 6vw, 1.75rem);
  line-height: 1.75;
  @media only screen and (max-width: 1187px) {
    padding-top: 1.5rem;
  }
  @media only screen and (max-width: 768px) {
    padding-top: 1.5rem;
    font-size: 1.25rem;
  }
}

p.campus-value {
  font-size: 1.35rem;
  padding-left: 3rem;
  padding-right: 3rem;
  padding-bottom: 1rem;
  padding-top: 1rem;
}

.city-container {
  background-image:
    linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)),
    url("images/citycontainer.png");
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  min-height: unset;
  min-width: 100%;
  padding: 3.5rem 2rem 4rem 2rem;
  @media only screen and (max-width: 768px) {
    padding: 3.5rem 0.5rem 3rem 0.5rem;
  }
}

.city-container-row {
  padding-left: 2rem;
  padding-right: 5rem;
  margin-top: 1rem;
  padding-bottom: 4rem;
  @media only screen and (max-width: 1187px) {
    padding-right: 2rem;
  }
  @media only screen and (max-width: 768px) {
    padding: 0rem 1rem 2rem 2rem;
    margin-right: 0rem;
  }
}

.city-container-text {
  padding: 0.5rem 2rem 2rem 8rem;
  margin-right: 2rem;
  @media only screen and (max-width: 1187px) {
    padding: 1rem 1.5rem 2rem 1.5rem;
    margin-right: 0rem;
  }
  @media only screen and (max-width: 768px) {
    padding: 1rem 1.5rem 2rem 1.5rem;
    margin-right: 0rem;
  }
}

.geography-container {
  background-image: url("images/Geographic\ Texture.png");
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  height: unset;
  padding-top: 10rem;
  padding-bottom: 12rem;
  @media only screen and (max-width: 1024px) {
    padding-top: 3rem;
    padding-bottom: 0rem;
  }
}

#healthy-community {
  padding-top: 7rem;
  padding-bottom: 2rem;
}

.healthy-padding {
  padding: 0 2rem 0 2rem;
}

.geo-texture-div {
  background-image: url("images/Geographic\ Texture.png");
  background-repeat: no-repeat;
  border-radius: 25px;
  min-height: 100%;
  min-width: 100%;
  padding: 5rem;
  color: white;
  @media only screen and (max-width: 768px) {
    padding: 3rem;
  }
}

.ky-map-container {
  background-image: url("images/Kentucky-map-texture.png");
  background-repeat: no-repeat;
  background-size: cover;
  min-height: 100%;
  min-width: 100%;
  padding: 9rem 5rem;
  @media only screen and (max-width: 768px) {
    padding: 4rem 3rem;
  }
}

.ky-map-text {
  margin-top: 2.25rem;
  margin-right: 7rem;
  @media only screen and (max-width: 1024px) {
    margin-top: 0rem;
    margin-right: 8rem;
    margin-left: 2rem;
  }
  @media only screen and (max-width: 1023px) {
    margin-top: 0rem;
    margin-right: 12rem;
    margin-left: 2rem;
  }
  @media only screen and (max-width: 768px) {
    margin: 0rem;
  }
}

.ky-map-img-overlay {
  position: absolute;
  bottom: 0;
  right: 0;
  z-index: 10;
}

.hero-student-img {
  width: 1300px;
  height: 100%;
  @media only screen and (max-width: 1187px) {
    width: 1000px;
  }
  @media only screen and (max-width: 1000px) {
    width: 900px;
  }
  @media only screen and (max-width: 991px) {
    width: 800px;
  }
  @media only screen and (max-width: 567px) {
    width: 700px;
  }
}

.silhouette-overlay {
  position: absolute;
  bottom: 0;
  right: 0;
  z-index: 8;
}

.sillhouette-img {
  width: 1300px;
  height: 100%;
  @media only screen and (max-width: 1187px) {
    width: 1000px;
  }
  @media only screen and (max-width: 1000px) {
    width: 900px;
  }
  @media only screen and (max-width: 991px) {
    width: 800px;
  }
  @media only screen and (max-width: 567px) {
    width: 700px;
  }
}

.img-filter {
  filter: opacity(30%);
}

.interlocking-overlay {
  position: absolute;
  top: 15%;
  left: 7%;
  z-index: 1;
  @media only screen and (max-width: 1390px) {
    top: 12%;
    left: 4%;
  }
  @media only screen and (max-width: 1024px) {
    top: 3%;
    left: 40%;
  }
  @media only screen and (max-width: 768px) {
    top: 5%;
    left: 10%;
  }
}

.interlocking-img {
  height: 250px;
  width: 100%;
  @media only screen and (max-width: 1390px) {
    height: 200px;
  }
  @media only screen and (max-width: 1024px) {
    height: 150px;
  }
  @media only screen and (max-width: 768px) {
    height: 125px;
  }
}

/* Create a positioning context for the decorative overlay */
.squares-section {
  position: relative;
}

/* Decorative squares: always top-left of the section */
.squares-section .interlocking-overlay {
  position: absolute;
  top: clamp(8%, 10vw, 15%);
  left: clamp(7%, 10vw, 10%);
  pointer-events: none;
  z-index: 0; /* behind text */
  width: clamp(140px, 10vw, 210px);
}

/* Prevent skew/stretch */
.squares-section .interlocking-img {
  display: block;
  width: 100%;
  height: auto;
}

/* Keep header above art AND reserve space so they never touch */
.squares-section .light-blue-header {
  position: relative;
  z-index: 1;
}

/* Tablet/mobile: overlay scales down; reserve space proportionally */
@media (max-width: 768px) {
  .squares-section .interlocking-overlay {
    width: clamp(120px, 20vw, 220px);
  }

  .squares-section .light-blue-header {
    padding-top: clamp(95px, 24vw, 175px);
  }
}

/* Small iPhones: headings wrap more, so reserve a bit more space */
@media (max-width: 430px) {
  .squares-section .interlocking-overlay {
    width: clamp(110px, 25vw, 200px);
  }

  .squares-section .light-blue-header {
    padding-top: clamp(100px, 30vw, 185px);
  }
}

.light-blue-header.font-right {
  @media only screen and (max-width: 768px) {
    padding-left: 3rem;
  }
  @media only screen and (max-width: 460px) {
    padding-left: 3rem;
  }
}

.light-blue-container {
  background-color: #ecf2fc;
  min-height: 100%;
  padding: 12rem 10rem 12rem 12rem;
  @media only screen and (max-width: 1024px) {
    padding: 4rem 10rem 5rem 10rem;
  }
  @media only screen and (max-width: 768px) {
    padding: 2rem 3rem 3rem 3rem;
  }
}

.light-blue-header {
  padding-right: 3rem;
  margin-top: 4rem;
  margin-left: clamp(2rem, 6vw, 0rem);
  @media only screen and (max-width: 1024px) {
    padding-right: 2rem;
  }
  @media only screen and (max-width: 768px) {
    text-align: center;

    padding-right: 0rem;
  }
}

.light-blue-p {
  padding-left: 2.5rem;
  padding-right: 3rem;
  line-height: 3rem;
  padding-top: 2rem;
  @media only screen and (max-width: 768px) {
    padding-left: 1rem;
    padding-right: 1rem;
    line-height: 3rem;
    padding-top: 2rem;
  }
}

.lb-meet-students {
  padding: 11rem 0.5rem 5rem 7rem;
  @media only screen and (max-width: 768px) {
    padding: 4rem 2.25rem 2rem 3rem;
  }
}

.lb-meet-students .row {
  @media only screen and (max-width: 1199px) {
    margin-right: 5rem;
  }
  @media only screen and (max-width: 768px) {
    margin-right: 0rem;
  }
}

.row#explore {
  @media only screen and (max-width: 1199px) {
    margin-right: 5rem;
  }
  @media only screen and (max-width: 768px) {
    margin-right: 0rem;
  }
}

.explore-teaser {
  @media only screen and (max-width: 768px) {
    padding: 1rem;
  }
}

.dark-blue-container {
  background-color: #032b83;
  min-height: 100%;
  padding: 5rem;
  @media only screen and (max-width: 460px) {
    padding: 4rem;
  }
}

.dark-blue-padding {
  min-height: 35rem;
}

#take-next-steps {
  @media only screen and (max-width: 768px) {
    padding-left: 0rem;
  }
}

.footer-padding {
  min-height: 7rem;
  padding-top: 3rem;
}

.footer-link {
  color: white;
  text-decoration: underline;
}

.font-white.font-right {
  @media only screen and (max-width: 1024px) {
    text-align: center !important;
  }
}

.white-container {
  background-color: #ffffff;
  min-height: 100%;
  margin-left: 5rem;
  margin-right: 5rem;
  padding: 6rem 3rem;
  @media only screen and (max-width: 768px) {
    margin-left: 4rem;
    margin-right: 4rem;
  }
}

.white-container-padding {
  min-height: 50rem;
  @media only screen and (max-width: 768px) {
    padding: 3rem 0rem;
  }
}

.white-container-header {
  padding-left: 2.5rem;
  padding-right: 2.5rem;
  @media only screen and (max-width: 1024px) {
    padding-left: 0rem;
    padding-right: 0rem;
  }
  @media only screen and (max-width: 768px) {
    padding-left: 0rem;
    padding-right: 0rem;
  }
}

.ky-map-img {
  @media only screen and (max-width: 1024px) {
    padding-top: 1.5rem;
  }
}

.photo-bg-container {
  min-height: 100%;
  background-image: url("images/simulation.png");
  background-repeat: no-repeat;
  background-position-x: 50%;
  background-size: cover;
}

.photo-bg-padding {
  min-height: 45rem;
  padding-top: 14rem;
  padding-bottom: 13rem;
  padding-right: 10rem;
  padding-left: 10rem;
  @media only screen and (max-width: 1024px) {
    padding: 4rem;
  }
  @media only screen and (max-width: 768px) {
    padding: 3rem 2.5rem 2rem 2.5rem;
  }
}

.bg-container {
  position: relative;
}

.bg-container-overlay {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  padding: var(--bs-card-img-overlay-padding);
  border-radius: var(--bs-card-inner-border-radius);
}

.bg-container-overlay-black {
  background-color: (0, 0, 0, 0.55);
}

.container {
  margin: none !important;
}

.white-div {
  background-color: white;
  border-radius: 25px;
  height: unset;
  min-width: 100%;
  color: #000000;
  padding-top: 2rem;
  padding-bottom: 4rem;
  @media only screen and (max-width: 1024px) {
    height: 375px;
  }
  @media only screen and (max-width: 768px) {
    padding: 2rem 2rem 16rem 2rem;
    height: 600px;
  }
  @media only screen and (max-width: 452px) {
    padding: 2rem 2rem 16rem 2rem;
    height: 700px;
  }
}

/* Make entire card feel interactive */
.value-div {
  background-color: white;
  border-radius: 25px;
  min-height: 125px;
  min-width: 100%;
  color: #000000;
  cursor: pointer;
  transition: box-shadow 0.25s ease;
  position: relative;
  padding-right: 3rem;
  @media only screen and (max-width: 991px) {
    margin-bottom: 3rem !important;
    padding-right: 0;
    padding-bottom: 5rem;
  }
}

.value-div::after {
  content: "+";
  position: absolute;
  top: 50%;
  right: 1.75rem;
  color: #1e8aff;
  transform: translateY(-50%);
  font-size: 2.5rem;
  line-height: 1;
  font-weight: 600;
  opacity: 0.85;
  transition:
    opacity 0.15s ease,
    transform 0.15s ease;
  @media only screen and (max-width: 991px) {
    right: 47%;
    top: 85%;
  }
}

/* Expanded state -> minus */
.value-div[aria-expanded="true"]::after {
  content: "–"; /* en dash reads better than hyphen as a minus */
  opacity: 1;
  @media only screen and (max-width: 991px) {
    top: 92%;
  }
}

/* Optional: make it feel a bit more “alive” on hover */
.value-div:hover::after {
  opacity: 1;
  transform: translateY(-50%) scale(1.05);
}

.value-div:hover {
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
}

/* Smooth collapse animation refinement */
.campus-collapse {
  overflow: hidden;
}

/* Optional: visual state when expanded */
.value-div[aria-expanded="true"] {
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.18);
}

.value-icon {
  width: 100%;
  margin-top: 0.5rem;
  display: block;
  margin-left: auto;
  margin-right: auto;

  @media only screen and (max-width: 991px) {
    height: 100px;
    width: auto;
    margin-top: 2rem;
  }
  @media only screen and (max-width: 768px) {
    margin-top: 2rem;
  }
}

.video-teaser-container {
  background-color: white;
  border-radius: 25px 25px 0px 0px;
  width: 100%;
  height: 550px;
  @media only screen and (max-width: 1187px) {
    height: 450px;
  }
  /* position: absolute;
  @media only screen and (max-width: 1024px) {
    min-width: 95%;
    min-height: 450px;
  }
  @media only screen and (max-width: 768px) {
    min-width: 92%;
    min-height: 575px;
  } */
}

.video-teaser {
  /* background-image: url("images/AdobeStock_322319610.jpeg"); */

  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.yt-video-teaser {
  border-radius: 25px 25px 0px 0px;
}

.video-teaser-caption {
  color: #454545;
  font-family: "Roboto Condensed", Arial, Helvetica, sans-serif;
  font-weight: 600;
  font-size: clamp(1rem, 6vw, 1.25rem);
  text-transform: uppercase;
  text-align: center;
}

.teaser-container {
  background-color: white;
  border-radius: 25px 25px 0px 0px;
  height: 600px;
  /* top: 1.5rem;
  position: absolute; */
  @media only screen and (max-width: 1199px) {
    min-height: 450px;
  }
}

.teaser-container-caption {
  color: #454545;
  font-family: "Roboto Condensed", Arial, Helvetica, sans-serif;
  font-weight: 600;
  font-size: clamp(1rem, 6vw, 1.25rem);
  text-transform: uppercase;
  text-align: center;
  @media only screen and (max-width: 1407px) {
    font-size: 1rem;
  }
  @media only screen and (max-width: 1199px) {
    font-size: clamp(1rem, 6vw, 1.25rem);
  }
}

.campus-teaser {
  @media only screen and (max-width: 768px) {
    margin-left: 3rem;
    margin-right: 3rem;
  }
}

.bg-campus-teaser {
  background-image: image-set(
    url("images/bowlingreen-1000.webp") 1x,
    url("images/bowlingreen-1200.webp") 2x
  );
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.bg-campus-teaser-student {
  background-image: url("images/BGVideoTile_2.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.morehead-campus-teaser {
  background-image: image-set(
    url("images/moreheadstudent-800.webp") 1x,
    url("images/moreheadstudent-1000.webp") 2x
  );
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.morehead-campus-teaser-student {
  background-image: url("images/RPLPVideoTile_2.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.north-ky-campus-teaser {
  background-image: image-set(
    url("images/northernky-800.webp") 1x,
    url("images/northernky-1000.webp") 2x
  );
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.north-ky-campus-teaser-student {
  background-image: url("images/NKYVideoTile_2.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.campus-pop-up {
  background-color: white;
  border-radius: 25px 25px 0px 0px;
  height: 325px;
  width: 100%;
}

.bg-campus-pop-up {
  background-image: image-set(
    url("images/bowlingreen-1000.webp") 1x,
    url("images/bowlingreen-1200.webp") 2x
  );
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.morehead-campus-pop-up {
  background-image: image-set(
    url("images/moreheadstudent-800.webp") 1x,
    url("images/moreheadstudent-1000.webp") 2x
  );
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.north-ky-campus-pop-up {
  background-image: image-set(
    url("images/northernky-800.webp") 1x,
    url("images/northernky-1000.webp") 2x
  );
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.caption-div {
  background-color: #fff;
  padding: 30px 5px 30px 5px;
  border-radius: 0px 0px 25px 25px;
  margin-bottom: 3rem;
}

.caption-div.video-teaser-caption {
  margin-bottom: 0rem;
}

.caption-div.teaser-container-caption {
  margin-bottom: 0rem;
}

.campus-pop-up-caption {
  color: #454545;
  font-family: "Roboto Condensed", Arial, Helvetica, sans-serif;
  font-weight: 600;
  font-size: clamp(1rem, 6vw, 1.25rem);
  text-transform: uppercase;
  text-align: center;
  @media only screen and (max-width: 1407px) {
    font-size: 1rem;
  }
  @media only screen and (max-width: 1199px) {
    font-size: clamp(1rem, 6vw, 1.25rem);
  }
}

.community-campus-section {
  margin-top: 4rem;
  margin-bottom: 4rem;
  margin-left: 8.25rem;
  margin-right: 8.25rem;
  @media only screen and (max-width: 768px) {
    margin-left: 3rem;
    margin-right: 3rem;
  }
}

.value-caption {
  color: #454545;
  font-family: "Roboto Condensed", Arial, Helvetica, sans-serif;
  font-weight: 600;
  font-size: clamp(1.5rem, 6vw, 1.75rem);
  text-transform: uppercase;
  margin-top: 1rem;
  margin-bottom: 1rem;
  @media only screen and (max-width: 991px) {
    text-align: center;
  }
  @media only screen and (max-width: 768px) {
    padding: 0rem 2rem 2rem 2rem;
    text-align: center;
    margin-bottom: 0rem;
  }
}

.blue-border-left {
  border-left: 4px #1e8aff solid;
  @media only screen and (max-width: 1024px) {
    border-top: 4px #1e8aff solid;
    border-left: none;
    padding-top: 1rem;
  }
  @media only screen and (max-width: 1199px) {
    border-top: 4px #1e8aff solid;
    border-left: none;
    margin-top: 2rem;
    padding-bottom: 2rem;
  }
}

.blue-btn {
  background-color: #0033a0;
  color: white;
  text-transform: uppercase;
  font-weight: 600;
  border-radius: 8px;
  font-family: "Usual", Arial, Helvetica, sans-serif;
  font-size: 1.5rem;
}

.drk-blue-btn {
  background-color: #032283;
  color: white;
  text-transform: uppercase;
  font-weight: 600;
  margin-top: 2rem;
  border-radius: 8px;
  font-family: "Usual", Arial, Helvetica, sans-serif;
  font-size: 1.5rem;
}

.drkest-blue-btn {
  background-color: #1b365d;
  color: white;
  text-transform: uppercase;
  font-weight: 600;
  margin-top: 1rem;
  border-radius: 10px;
  font-family: "Usual", Arial, Helvetica, sans-serif;
  font-size: 1.5rem;
  padding: 1.25rem 7.5rem;
  @media only screen and (max-width: 625px) {
    padding: 1.25rem 1.5rem;
    font-size: 1.25rem;
  }
}

.margin-centered {
  margin: auto;
}

.explore-container {
  padding-left: 6rem;
  padding-bottom: 6rem;
  @media only screen and (max-width: 768px) {
    padding: 2rem 2rem 2rem 2.5rem;
  }
}

.explore-text {
  padding: 3rem 3rem 0rem 3rem;
  @media only screen and (max-width: 1024px) {
    padding: 3rem 3rem 0rem 3rem;
  }
}

@media (min-width: 992px) {
  .blue-btn {
    width: 100%;
    padding: 1rem;
  }

  .drk-blue-btn {
    width: 100%;
    padding: 1rem;
  }
}

@media (max-width: 991px) {
  .blue-btn {
    width: 100%;
    padding: 1rem;
  }

  .drk-blue-btn {
    width: 100%;
    padding: 1rem;
    border-radius: 15px;
  }
}

@media (min-width: 1200px) {
  .two-col-pad {
    padding-right: 3rem;
  }
  .healthy-padding .drk-blue-btn {
    width: 40%;
    display: block;
    margin-left: auto;
    margin-right: auto;
  }
}

.btn:hover {
  background-color: #1e8aff;
  color: #fff;
}

.teaser-container,
.campus-pop-up {
  position: relative;
  overflow: hidden;
  cursor: pointer;
}

.teaser-container::after,
.campus-pop-up::after {
  content: "";
  position: absolute;
  inset: 0;
  background-color: transparent;
  opacity: 0;
  transition: opacity 0.25s ease-in-out;
  pointer-events: none;
  border-radius: inherit;
}

@media (hover: hover) {
  .teaser-container:hover::after,
  .campus-pop-up:hover::after {
    opacity: 1;
  }
}

.teaser-container.is-active::after,
.campus-pop-up.is-active::after {
  opacity: 1;
}

/* Variant 1 – UK Blue */
.hover-teal::after {
  background-color: rgba(76, 188, 192, 0.45);
}

/* Variant 2 – Light Blue */
.hover-light-blue::after {
  background-color: rgba(30, 138, 255, 0.45);
}

/* Variant 3 – Dark Blue */
.hover-grey::after {
  background-color: rgba(177, 201, 232, 0.45);
}

.teaser-link {
  display: block;
  text-decoration: none;
}

.teaser-link:hover {
  text-decoration: none;
}
/* .teaser-link:focus-visible {
  outline: 2px solid rgba(0, 0, 0, 0.6);
  outline-offset: 4px;
} */

/* Pop-Up Styles */
.campus-modal {
  border-radius: 25px;
  overflow: hidden;
}

.campus-modal .modal-header {
  border-bottom: none;
}

.campus-modal .modal-title {
  font-family: "Roboto Condensed", Arial, Helvetica, sans-serif;
  text-transform: uppercase;
  font-weight: 600;
  color: #454545;
  font-size: 1.75rem;
}

/* Image block */
.campus-modal-media {
  width: 100%;
}

.campus-modal-img {
  width: 100%;
  height: 220px; /* tweak as needed */
  object-fit: cover; /* keeps it nicely cropped */
  display: block;
}

.campus-modal .modal-body p {
  margin-bottom: 1rem;
  line-height: 1.6;
}

.campus-modal .modal-footer {
  border-top: none;
}

.modal-campus-pop-up {
  padding: 2rem;
}

/* Improve focus ring visibility on tiles (keyboard users) */
.campus-pop-up:focus-visible {
  outline: 3px solid rgba(30, 138, 255, 0.85);
  outline-offset: 4px;
}

.pop-up-text {
  font-size: 1.5rem;
}

.video-modal .modal-body {
  background: transparent;
}

#studentVideoModal .student-video-dialog {
  /* Center the modal and allow it to be narrow (vertical) */
  max-width: none; /* override Bootstrap modal-xl width caps */
  width: auto;
  margin: 0 auto;
  display: flex;
  justify-content: center;
  align-items: center;
}

/* Optional: keep the modal from touching the screen edges on small devices */
@media (max-width: 575.98px) {
  #studentVideoModal .student-video-dialog {
    margin: 0.5rem;
  }
}

#studentVideoModal .modal-content {
  background: transparent;
  border: 0;
  border-radius: 25px;
  width: auto;
  margin-top: 0.5rem;
}

#studentVideoModal .modal-header {
  padding: 1rem;
  border: 0;
  background-color: #fff;
}

#studentVideoModal .modal-body {
  padding: 0;
  margin: 0;
}

#studentVideoModal #studentVideoFrameWrap.video-frame-wrap {
  height: 90vh;
  max-height: 90vh;
  aspect-ratio: 9 / 16;
  width: auto;
  overflow: hidden;
  background: transparent;
}

@supports not (aspect-ratio: 9 / 16) {
  #studentVideoModal #studentVideoFrameWrap.video-frame-wrap {
    width: calc(90vh * (9 / 16));
    height: 90vh;
  }
}

#studentVideoModal #studentVideoFrameWrap.video-frame-wrap iframe {
  width: 100%;
  height: 100%;
  display: block;
  border: 0;
}

#studentVideoModal.modal.show .student-video-dialog {
  transform: none;
}

.footer-link:hover {
  color: white;
}

.campus-video-wrap {
  position: relative;
  width: 100%;
  padding-top: 56.25%;
}

.campus-video-wrap iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  border-radius: 20px;
}

/* Desktop click-to-play poster button */
.campus-video-poster {
  position: relative;
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.campus-video-poster img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 20px;
}

/* Play icon */
.campus-video-play {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
}

.campus-video-play::before {
  content: "";
  width: 84px;
  height: 84px;
  border-radius: 999px;
  background: #0033a0;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.55);
}

.campus-video-play::after {
  content: "";
  position: absolute;
  width: 0;
  height: 0;
  border-left: 20px solid #fff;
  border-top: 14px solid transparent;
  border-bottom: 14px solid transparent;
  margin-left: 6px;
}

.city-video-poster {
  height: 100%;
}

/* Make the poster image cover the same area as the old iframe */
.city-video-poster img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 25px 25px 0px 0px; /* match .video-teaser-container and .yt-video-teaser */
}

#applicationModal .modal-content {
  border-radius: 25px;
}

#applicationModal .modal-title {
  font-family: "Roboto Condensed", Arial, Helvetica, sans-serif;
  text-transform: uppercase;
  font-weight: 600;
  color: #454545;
  font-size: 1.75rem;
  padding-left: 0.5rem;
}

.application-modal-dialog {
  width: min(1100px, 94vw);
  max-width: 1100px; /* overrides Bootstrap's modal-lg cap */
}

.application-modal-body {
  padding: 0; /* let iframe go edge-to-edge */
}

/* Make iframe responsive */
.application-modal-iframe {
  display: block;
  width: 100%;
  margin: 0 auto;
  height: min(80vh, 900px);
  border: 0;
}

/* Small screens: give a bit more vertical room */
@media (max-width: 768px) {
  .application-modal-dialog {
    width: 96vw;
  }
  .application-modal-iframe {
    height: 85vh;
  }
}
