
/* =========================================================
   HERO (Grid-based)
   Desktop: title overlays image, constrained to container widths
   Mobile: title moves below image for legibility
   ========================================================= */

.hero {
  display: grid;
  grid-template-areas: "stack";
  overflow: hidden;
  position: relative;
}

/* Media defines the hero height */
.hero__media {
  grid-area: stack;
  aspect-ratio: 16 / 5; /* desktop ratio */
  min-height: 240px;
  overflow: hidden;
  min-width: 0; /* defensive for small viewports */
}

/* Preserve original "centered crop" behavior */
.hero__media,
.hero__media img {
  width: 100%;
  height: 100%;
  display: block;
}

.hero__media img {
  object-fit: cover;
  object-position: center;
}

/* Overlay sits on top of the image */
.hero__overlay {
  grid-area: stack;
  display: flex;
  align-items: flex-end;
  position: relative;
  padding: 24px 15px; /* matches Bootstrap container side padding */
  min-width: 0;
}

/* Gradient for text contrast (desktop overlay only) */
.hero__overlay::before {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 50%;
  pointer-events: none;
  background: linear-gradient(to bottom, rgba(0,0,0,0), rgba(0,0,0,.75));
}

/* Inner wrapper that behaves like a Bootstrap .container */
.hero__inner {
  width: 100%;
  margin: 0 auto;
  padding: 0 15px;
  position: relative; /* above gradient */
}

/* Bootstrap container widths */
@media (min-width: 768px) { .hero__inner { width: 750px; } }
@media (min-width: 992px) { .hero__inner { width: 970px; } }
@media (min-width: 1200px) { .hero__inner { width: 1170px; } }

/* Title (must be H2) */
.hero__title {
  margin: 0;
  color: #fff;
  text-shadow: 0 2px 6px rgba(0,0,0,.8);
  font-size: clamp(28px, 3.2vw, 40px);
  line-height: 1.05;
  font-weight: 600;
}

.hero__meta {
  display: block;
  margin-top: 8px;
  font-size: 16px;
  font-weight: 600;
}


.hero__meta::before {
  content: "Degree: ";
  font-weight: 500;
}




/* =========================================================
   Mobile: title BELOW image
   (Behavior preserved: media still clips/crops centered)
   ========================================================= */

@media (max-width: 767px) {
  .hero {
    grid-template-areas:
      "media"
      "title";
  }

  .hero__media {
    grid-area: media;
    min-height: 175px;
    /* keep same aspect-ratio unless you intentionally change it */
  }

  .hero__media img {
    object-position: center top; /* optional */
  }

  .hero__overlay {
    grid-area: title;
    padding: 16px 15px;
    background: #fff;
  }

  .hero__overlay::before {
    content: none;
  }

  .hero__title {
    color: #222;
    text-shadow: none;
    font-size: 28px;
  }
	

  .hero__meta {
    color: #222;
  }
	
	
	.hero__inner {
    padding-left: 0px;
    padding-right: 0px;

}
	
.apply-wrap {
    margin-top: 30px;
}
	
}


/* =========================================================
   Apply Wrap
   ========================================================= */

.apply-wrap {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.apply-wrap .button-component {
  margin-top: 0;
  margin-bottom: 10px;
}

/* =========================================================
   Buttons
   ========================================================= */

.apply-wrap .button-component a.btn.btn-blue-transparent {
  font-family: "Poppins", sans-serif;
  font-weight: 700;
  line-height: 20px;
  color: #000;
  border: 6px solid #66b1e2;
  border-radius: 19px;
  position: relative;
  padding: 7px 10px;
  font-size: 18px;
  width: 100%;
}

.apply-wrap .button-component a.btn.btn-blue-transparent:hover {
  color: #fff;
  border-color: #fbba04;
  background-color: #000;
}

/* adjust apply buttons at tablet sizes */

@media (min-width: 768px) and (max-width: 991.98px) {
.apply-wrap .button-component a.btn.btn-blue-transparent {
    font-size: 15px;
  }
}

/* =========================================================
   Catalog Links
   ========================================================= */

ul.catalog-links {
  column-count: 2;
  column-gap: 15px;
  list-style: disc;
  margin: 0 0 0 30px;
  padding: 0;
  font-weight: bold;
  font-size: 18px;
  padding-left: 25px;
}

@media (min-width: 1100px) {
 ul.catalog-links {
    margin-left: 53px;
	padding-left: 0;
 }
}		
		



/* =========================================================
   Bulletin icon-text-tile override
   ========================================================= */

.icon-text-tile-component.style1 {
    margin-bottom: 15px!important;
}

/* =========================================================
   Areas of study component modifications
   ========================================================= */
span.aos-desc {
    display: block;
}

#areasOfStudy form {
    margin-top: 30px!important;
    margin-bottom: 30px!important;
	border-radius: 8px;
}
