/* Custom styles for the /academics/learning.php page */
header {
  display: none;
}

.margin-bottom-3 {
  margin-bottom: 3em;
}

.margin-bottom-4 {
  margin-bottom: 4em;
}

.margin-bottom-5 {
  margin-bottom: 5em;
}

/* #exp-learn */
#exp-page h2 {
  border-bottom: 0px;
  font-weight: 600;
}

#next-classroom h2 {
  font-weight: 700;
}

#next-classroom h4 {
  font-size: 1.25em;
}

.text-and-image {
  display: grid;
  grid-template-columns: 60% 40%;
}

.grid-left {
  background: var(--bju-cyan);
  padding: 3em 2em;
  grid-column: 1 / 2;
}

.grid-right {
  grid-column: 2 / 3;
}

.grid-image {
  background-size: cover;
}

#classroom-image {
  background-image: url("images/20231115student-life-hc425.jpg");
  background-position: center;
}

@media screen and (max-width: 960px) {
  .text-and-image {
    grid-template-columns: 1fr 1fr;
  }

  #classroom-image {
    background-position: center;
  }
}

@media screen and (max-width: 760px) {
  .text-and-image {
    grid-template-columns: 1fr;
    grid-template-rows: 1fr 500px;
  }

  .grid-left {
    grid-column: 1 / 2;
    grid-row: 1 / 2;
  }

  .grid-right {
    grid-column: 1 / 2;
    grid-row: 2 / 3;
  }
}

#exp-learn {
  margin-bottom: 7em;
}

.exp-learn-text {
  color: var(--bju-navy);
  max-width: 900px;
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

.experience-images-container {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  grid-template-rows: 1fr 1fr;
  grid-gap: 2%;
  row-gap: 5%;
}

#main .experience-image img {
  margin-bottom: 0.5em;
}

#main .experience-image h3 {
  text-align: center;
  font-size: 1.1em;
  font-weight: 500;
}

@media screen and (max-width: 800px) {
  .experience-images-container {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr 1fr 1fr;
  }
}

/* #exp-learn-accordion */
#exp-learn-accordion {
  position: relative;
  z-index: 0;
  color: var(--bju-navy);
  background: var(--bju-navy);
  padding: 4em 2em 2em 2em;
}

@media screen and (max-width: 800px) {
  #exp-learn-accordion {
    padding: 4em 1.3em 2em 1.3em;
  }
}

#exp-learn-mobile-container {
  min-height: 350px;
  padding: 2em 0;
  z-index: 2;
  position: relative;
}

#exp-learn-desktop-container {
  z-index: 2;
  min-height: 550px;
  padding: 2em 0;
  position: relative;
}

#main #exp-learn-accordion .accordion-title {
  background-color: var(--bju-cyan);
  border-bottom: 1px solid #8ed5f5;
}

#main #exp-learn-accordion h2 {
  border-bottom: 0px;
}

#main #exp-learn-accordion p {
  margin-bottom: 1em;
}

#exp-learn-accordion::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: top;
  pointer-events: none;
}

@media screen and (max-width: 800px) {
  #exp-learn-desktop-container {
    display: none;
  }
}

@media screen and (min-width: 801px) {
  #exp-learn-mobile-container {
    display: none;
  }
}

/* #changing-the-world */
/* CARD-SPECIFIC STYLES */
#carousel-2 .card-right {
  background-position: 25%;
}

#carousel-3 .card-right {
  background-position: right;
}

/* PROGRAM CAROUSEL */
#program-carousel {
  position: relative;
}

#program-carousel figcaption {
  padding: 3em 3em;
  background-color: #606a8a;
}

#program-carousel figcaption h3 {
  margin-bottom: 0;
  font-size: 1.7em;
  font-weight: 500;
}

#program-carousel figcaption h4 {
  margin-bottom: 0.2em;
  padding-left: 5px;
  color: #303747;
  font-weight: 700;
  border-left: solid 5px #303747;
  display: inline-block;
}

.image-carousel figure {
  display: none;
}

figure.active {
  display: block;
}

.carousel-card {
  display: grid;
  grid-template-columns: 60% 40%;
  height: 600px;
}

.card-left {
  grid-column-start: 1;
  grid-column-end: 2;
}

.card-right {
  grid-column-start: 2;
  grid-column-end: 3;
  background-size: cover;
  background-position: center;
}

.carousel-buttons {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  min-width: 100px;
}

.carousel-buttons div {
  padding: 0 0.3em;
}

.carousel-buttons:hover {
  cursor: pointer;
}

.svg-button {
  cursor: pointer;
  transition: fill 0.3s ease;
  width: 27px;
  height: 27px;
  fill: var(--bju-white);
  user-select: none;
  -moz-user-select: none;
  -webkit-user-select: none;
  -ms-user-select: none;
}

.svg-button:hover {
  fill: var(--bju-cyan);
}

#program-carousel-button-container {
  position: absolute;
  bottom: 10px;
  left: calc(51%);
  right: auto;
  justify-content: center;
}

@media screen and (max-width: 1060px) {
  .carousel-card {
    grid-template-columns: 1fr;
    grid-template-rows: 50% 50%;
    height: 1000px;
  }

  .card-left {
    grid-column-start: 1;
    grid-column-end: 2;
    grid-row-start: 1;
    grid-row-end: 2;
  }

  .card-right {
    grid-column-start: 1;
    grid-column-end: 2;
    grid-row-start: 2;
    grid-row-end: 3;
  }

  #program-carousel-button-container {
    bottom: 510px;
    left: auto;
    right: 0;
  }
}

@media screen and (max-width: 800px) {
  #program-carousel figcaption {
    padding: 1.5em;
  }
}

@media screen and (max-width: 700px) {
  .carousel-card {
    grid-template-columns: 1fr;
    grid-template-rows: auto 50%;
    height: 1000px;
    overflow: hidden;
  }

  #program-carousel figcaption {
    padding: 1.5em;
  }

  #program-carousel-button-container {
    bottom: auto;
    top: 40px;
    left: auto;
    right: 0;
  }

  #program-carousel figcaption h3 {
    max-width: 80%;
  }
}

@media screen and (max-width: 550px) {
  .carousel-card {
    height: 1200px;
  }
}

@media screen and (max-width: 450px) {
  .carousel-card {
    height: 1300px;
  }
}

@media screen and (max-width: 500px) {
  #carousel-3 .card-right {
    background-position: 85%;
  }
}

/* #problem-kickstart-point */

#problem-kickstart-point h2 {
  padding-bottom: 0.5em;
}

#problem-kickstart-point h3 {
  font-weight: 600;
}

#problem-kickstart-point .third {
  padding: 2em;
  text-align: center;
}

/* #countless */
#countless h3 {
  font-weight: 500;
}

#countless span {
  color: var(--bju-white);
}

#countless {
  background-color: var(--bju-cyan);
}