
@font-face {
    font-family: 'Optima';
    src: url('../fonts/Optima_Medium.woff') format('woff');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}


@font-face {
    font-family: 'Montserrat';
    src: url('../fonts/Montserrat-Regular.woff') format('woff');
    font-weight:normal;
    font-style:normal;
    font-display: swap;
}


@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}
.fade-in-right {
    animation: fadeInRight 0.9s ease-out forwards;
}

body {
    font-family: 'Optima', sans-serif;
}

.myButton {
	box-shadow:inset 0px 1px 0px 0px #ffffff;
	background-color:white;
	border-radius:15px;
	border:3px solid #575452;
	display:inline-block;
	cursor:pointer;
	color:#666666;
	font-size:15px;
	font-weight:bold;
	padding:6px 24px;
	text-decoration:none;
	text-shadow:0px 1px 0px #ffffff;
}
.myButton:hover {
	background:linear-gradient(to bottom, #e9e9e9 5%, #f9f9f9 100%);
	background-color:#e9e9e9;
}
.myButton:active {
	position:relative;
	top:1px;
}

.applyButton {
	box-shadow:inset 0px 0px 15px 3px #23395e;
	background:linear-gradient(to bottom, #2e466e 5%, #415989 100%);
	background-color:#2e466e;
	border-radius:17px;
	border:1px solid #1f2f47;
	display:inline-block;
	cursor:pointer;
	color:#ffffff;
	font-size:17px;
	padding:6px 18px;
	text-decoration:none;
	text-shadow:0px 1px 0px #263666;
}
.applyButton:hover {
	background:linear-gradient(to bottom, #415989 5%, #2e466e 100%);
	background-color:#415989;
    color:white;
}
.applyButton:active {
	position:relative;
	top:1px;
}

@keyframes fadeInLeft {
  0% {
    opacity: 0;
    transform: translateX(-50px); /* Adjust distance as needed */
  }
  100% {
    opacity: 1;
    transform: translateX(0);
  }
}

/* Apply the animation to your element */
.fade-in-left-element {
    animation:none;
  /* animation: fadeInLeft 0.9s ease-out forwards;*/
}

/* 
.logo-img{
   animation: fadeInLeft 0.9s ease-out forwards; 
}
 */
.containerimg {
  position: relative;
  text-align: center;
  color: white;
}

.bottom-left {
  position: absolute;
  bottom: 20px;
  left: 50px;
}

.top-left {
  position: absolute;
  top: 8px;
  left: 16px;
}

.top-right {
  position: absolute;
  top: 8px;
  right: 16px;
}

.bottom-right {
  position: absolute;
  bottom: 8px;
  right: 16px;
}

.centered {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.bottom-center-text {
  position: absolute;
  bottom: 20px;          /* Distance from the bottom edge */
  left: 50%;             /* Move starting point to horizontal center */
  transform: translateX(-50%); /* Shift left by half its width to perfectly center */
}


.t4-row{
    padding-top:15px;
    padding-bottom:15px;
}


.exploreButton {
	box-shadow:inset 0px 1px 0px 0px #ffffff;
	background-color:transparent;
	border-radius:15px;
	border:2px solid white;
	display:inline-block;
	cursor:pointer;
	color:white;
	font-size:15px;
	font-weight:bold;
	padding:6px 24px;
}
.exploreButton:hover {
    background-color:#3644c2;
    color:white;
    border:2px solid white;
}
.exploreButton:active {
	position:relative;
	top:1px;
}

item-intro{
    font-size: 18px;
}

.items-row .item{
    background-color: #f5f1f2;
    margin-bottom:5px;
}

.mod-articles-item{
    background-color: #f5f1f2;
}
.item-image{
    border-bottom:13px solid #f9b603;
}

.page-header h2 a{
    font-weight: bold;
}

/* 1. Make the container the reference point for absolute positioning */
.image-container {
  position: relative;
  display: inline-block; /* Forces container to match image size */
  max-width: 100%;
}

/* 2. Make the image fill the container responsively */
.responsive-image {
  display: block;
  width: 100%;
  height: auto;
}

/* 3. Position the text exactly where you want it over the image */
.overlay-text {
  position: absolute;
  /* Example: Center the text perfectly on the image */
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  /* Styling details */
  color: white;
  font-size: clamp(30px, 2.5vw, 44px);  
  padding: 10px 20px;
  text-align: center;
  font-family: Optima, sans-serif;
}

/* 3. Position the text exactly where you want it over the image */
.overlay-text-bottom {
  position: absolute;
  bottom: clamp(5px, 1vw, 50px);          /*bottom: 60px;   Distance from the bottom edge */
  left: 50%;             /* Move starting point to horizontal center */
  transform: translateX(-50%); /* Shift left by half its width to perfectly center */
  
  /* Styling details */
  color: white;
  font-size: clamp(20px, 3.5vw, 24px);  
  padding: 10px 20px;
  text-align: center;
}

/* 720P */
@media (max-width: 1280px) {
   .overlay-text-bottom {
        bottom: 5px; 
    }
    .overlay-text {
        top: 40%;
        font-size: 20px;  
    }
    .moreButton {
        font-size: 20px;  
    }
    .articles_Header {
        font-size: 20px;
    }
}


/* MOBILE */
@media (max-width: 575.98px) {
   .overlay-text-bottom {
        bottom: 5px; 
    }
    .overlay-text {
        top: 40%;
        font-size: 20px;  
    }
    .moreButton {
        font-size: 20px;  
    }
    .articles_Header {
        font-size: 20px;
    }
}

.moreButton {
	box-shadow:inset 0px 1px 0px 0px #ffffff;
	background-color:transparent;
	border:2px solid white;
	display:inline-block;
	cursor:pointer;
	color:white;
    font-size: clamp(10px, 3.5vw, 24px);
	padding-left: 20px;
    padding-right: 20px;
    width: 100%;
}

.moreButton:hover {
    background-color:#3644c2;
    color:white;
    border:2px solid white;
}
.moreButton:active {
	position:relative;
	top:1px;
}

.morenews {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	box-sizing: border-box;
	min-width: 168px;
	min-height: 50px;
	padding: 8px 40px;
	border: 2px solid #444;
	border-radius: 0;
	background: transparent;
	color: #444;
	font: 400 22px/1.2 Optima, sans-serif;
	text-decoration: none;
	cursor: pointer;
}
.morenews:hover {
	background: rgba(0, 0, 0, .06);
	color: #222;
	text-decoration: none;
}
.morenews:focus-visible {
	outline: 2px solid #14245a;
	outline-offset: 3px;
}
.morenews:active {
	position:relative;
	top:1px;
}


.about-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 30px;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  box-sizing: border-box;
}

.about {
  display: flex;
  align-items: center;
  min-width: 0;
  padding: 20px;
  box-sizing: border-box;

  background-color: #f5f1f2;
  border-top: 13px solid transparent;

  color: #000;
  font-size: clamp(22px, 2.5vw, 32px);
  font-weight: 700;
  line-height: 1.3;
  text-decoration: none;
  overflow-wrap: anywhere;
  margin-bottom: 15px;
}

.zoom-card {
  transition: transform 0.3s ease;
}

.about:focus-visible {
  outline: 3px solid #f9b603;
  outline-offset: 4px;
  text-decoration: underline;
   color: #000;
}

.about:active {
  transform: translateY(1px);
}

/* Apply hover effects on devices with a mouse. */
@media (hover: hover) and (pointer: fine) {
  .about:hover {
     color: #000;
    text-decoration: underline;
    border-top-color: #f9b603;
  }

  .zoom-card:hover {
    transform: scale(1.1);
  }
}

/* Stack cards on mobile. */
@media (max-width: 767px) {
  .about-grid {
    grid-template-columns: 1fr;
    gap: 16px;
    padding: 0 16px;
  }

  .about {
    padding: 16px;
    font-size: 24px;
  }
}



.academics_list{
    padding:20px;
    background-color: #f5f1f2;
    margin-bottom:30px;
}
.academics_list:hover {
	text-decoration: underline;
	background-color:#f5f1f2;
    border-top:20px solid #f9b603;
}

.academics_list:active {
	position:relative;
	top:1px;
}


.containerdiv {
  position: relative;
}

.bottom-right2 {
  position: absolute;
  bottom: 8px;
  right: 16px;
}


.more-button {
  flex: 0 0 138px;
  height: 56px;
  padding: 5px 12px;
  border: 2px solid #171499;
  border-radius: 4px;
  background: transparent;
  color: #111;
  font-family: 'Montserrat', sans-serif;
  font-size: 28px;
  font-weight: 400;
  cursor: pointer;
}

.more-button:hover {
  background: #e2e2ee;
}

.more-button:focus-visible {
  outline: 3px solid #171499;
  outline-offset: 4px;
}


.course-card {
  width: 100%;
  max-width: 100%;
  min-height: 155px;
  padding: 17px 33px 18px 22px;
  display: flex;
  align-items: center;
  gap: 24px;
  background: #ededed;
  border-inline: 1px solid #fafafa;
  margin-bottom:30px;
}

.course-copy {
  flex: 1;
  min-width: 0;
}

.course-copy h1 {
  margin: 0 0 2px;
  color: #080808;
  font-family: 'Montserrat', sans-serif;
  font-size: 36px;
  font-weight: 700;
  line-height: 0.9;
  text-transform: uppercase;
}

.course-card:hover {
    border-top:25px solid #FFCC00;
}

.course-card h1:hover {
	text-decoration: underline;
}

.course-copy p {
  margin: 0;
  color: #5c5a5a;
  font-family: 'Montserrat', sans-serif;
  font-size: 26px;
  font-weight: 400;
  line-height: 1.04;
}


@media (max-width: 650px) {
  .course-card {
    align-items: flex-start;
    flex-direction: column;
    gap: 18px;
    padding: 20px 22px;
  }

  .course-copy h1 {
    font-size: clamp(24px, 5vw, 36px);
  }

  .course-copy p {
    margin-top: 8px;
    font-size: 22px;
    line-height: 1.15;
  }

  .desktop-break {
    display: none;
  }

  .more-button {
    flex-basis: auto;
    width: 138px;
  }
}



.missions-banner {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  width: 100%;
  min-height: 242px;
  padding: 136px 10.1% 40px 3%;
  color: #fff;
  background-color: #03124e;
}

/* Concentric arcs approximate the decorative pattern in the reference. */
.missions-banner::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  opacity: 0.8;
  background-image:
    repeating-radial-gradient(
      circle at 50% -105px,
      transparent 0 39px,
      #000a32 41px 44px,
      #091b59 46px 48px,
      transparent 50px 54px
    ),
    repeating-radial-gradient(
      circle at 50% 430px,
      transparent 0 38px,
      #000a32 40px 43px,
      #091b59 45px 47px,
      transparent 49px 54px
    );
  background-size: 1160px 490px, 1160px 490px;
  background-position: -235px 0, 345px 0;
  background-repeat: repeat-x;
}

.missions-banner h1 {
  margin: 0;
  font-family: 'Montserrat', sans-serif;
  font-size: clamp(30px, 2.72vw, 50px);
  font-weight: 700;
  line-height: 1.2;
}

.apply-button {
  flex: 0 0 auto;
  min-width: 224px;
  min-height: 66px;
  padding: 7px 25px 10px;
  border: 3px solid #fff;
  border-radius: 1px;
  background: transparent;
  color: inherit;
  font-family: 'Montserrat', sans-serif;
  font-size: 32px;
  font-weight: 700;
  line-height: 1.25;
  cursor: pointer;
  transition: background-color 150ms ease;
}

.apply-button:hover {
  background-color: rgb(255 255 255 / 12%);
}

.apply-button:focus-visible {
  outline: 3px solid #fff;
  outline-offset: 5px;
}

@media (max-width: 760px) {
  .missions-banner {
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 24px;
    padding: 40px 24px;
  }

  .apply-button {
    min-width: 180px;
    min-height: 54px;
    font-size: 26px;
  }
}

.relatedlinks_about {
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15); 
	background-color:white;
	border-top:12px solid #ffda00;
	text-decoration:none;
	text-shadow:0px 1px 0px #ffffff;
    padding-left:20px;
    padding-right:20px;
    margin-left:20px;
    margin-right:20px;
}

/* Underline links on hover or keyboard focus */
.relatedlinks_header {
    text-decoration: underline; 
    font-size: clamp(23px, 1.5vw, 30px); 
    color: #000000;
    font-weight: bold;
}

.related_links {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    line-height: 1.3;
    font-family: Montserrat, sans-serif; 
    font-size: clamp(18px, 1.5vw, 23px); 
    color: #05175a;
    font-weight: 500;
}

/* Each link is a row, independent of desktop-only line breaks. */
.related_links > br {
    display: none;
}

.related_links a {
    overflow-wrap: anywhere;
}

/* Underline links on hover or keyboard focus */
.relatedlinks_about a:hover,
.relatedlinks_about a:focus-visible {
  text-decoration: underline !important;
  text-underline-offset: 3px;
}


/* Hide document icon elements */
.other-news .fa-file,
.other-news .fa-file-alt,
.other-news .fa-file-text,
.other-news .fa-file-text-o,
.other-news .icon-file {
  display: none !important;
}

/* Hide icons generated before article titles */
.other-news .mod-articles-category-title::before {
  display: none !important;
  content: none !important;
}

.other-news {
  margin-left:20px;
  margin-right:20px;
  background: #fff;
  border-top: 12px solid #ffda00;
  /*  padding: 6px 10px 18px; */
  padding-left:20px;
  padding-right:20px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, .25);
}

/* Remove the separate line */
#Mod134 h3.module-title,
#Mod134 h3.module-title > span {
  border-bottom: none !important;
  background-image: none !important;
  box-shadow: none !important;
  padding-bottom: 0 !important;
}

#Mod134 h3.module-title::before,
#Mod134 h3.module-title::after,
#Mod134 h3.module-title > span::before,
#Mod134 h3.module-title > span::after {
  content: none !important;
  display: none !important;
}

/* Underline the text itself */
#Mod134 h3.module-title > span {
  text-decoration: underline !important;
  text-decoration-thickness: 2px !important;
  text-underline-offset: 3px;
}


/* Module heading */
.other-news .module-title {
  color: #111;
  font-family:"Optima", serif;
  font-size: 30px;
  font-weight: bold;
  text-transform: none !important;
}


/* Remove bullets and default list spacing */
.other-news ul.category-module {
  margin: 0;
  padding: 0;
  list-style: none;
}

.other-news ul.category-module > li {
        font-family: Montserrat, sans-serif; 
    font-size: clamp(18px, 1.5vw, 23px); 
    color: #05175a;
    font-weight: 500;
  margin: 0 0 18px;
  padding: 0;
  border: 0;
}

.other-news ul.category-module > li:last-child {
  margin-bottom: 0;
}

/* News headline */
.other-news .mod-articles-category-title {
  display: block;
  color: #14266a;
  font-size: 23px;
  font-weight: 700;
  line-height: 1.05;
  text-decoration: none;
 padding-left: 0 !important;
  margin-left: 0 !important;
  text-indent: 0 !important;
}

.other-news .mod-articles-category-title:hover {
  text-decoration: underline;
}

/* Date directly beneath the headline */
.other-news .mod-articles-category-date {
  display: block;
  margin-top: 3px;
  color: #14266a;
  font-size: 23px;
  font-weight: 400;
  line-height: 1.2;
}

/* Banner spacing */
.history-banner {
  margin-top: 0 !important;
}

/* Desktop overlap */
@media (min-width: 1200px) {
  .history-banner {
    /* Match this to your header's total height */
     margin-top: -70px !important; 

    /* Keep the title below the overlapping header */
   
     /*  padding-top: 102px !important; */
    min-height: 390px;
    box-sizing: border-box;
  }
}

.ags-header .t4-offcanvas-toggle,
.ags-header .navbar-toggler {
  color: #14245a !important;
  font-size: 28px;
  opacity: 1 !important;
  visibility: visible !important;
}

.ags-header .t4-offcanvas-toggle .toggle-bars {
  color: #14245a !important;
}

/* Header background */
.ags-header {
  border-top: 15px solid #14245a;
  width: 100%;
  max-width: none;
  margin-left: 0 !important;
  margin-right: 0 !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
  position: relative;
  z-index: 100;
  background-color: #cfd2de;
}

.ags-header .container-xxl {
  width: 100%;
  max-width: none;
  padding-left: clamp(16px, 3.2vw, 60px);
  padding-right: clamp(16px, 3.2vw, 60px);
  background: transparent !important;
}

/* Logo */
.ags-header .navbar-brand img,
.ags-header .logo-image img {
  width: 130px;
  max-width: 100%;
  height: auto;
}

/* Main menu */
.ags-header .t4-megamenu .navbar-nav > li > a,
.ags-header .t4-megamenu .navbar-nav > li > .nav-link {
  color: #14245a !important;
  font-size: clamp(14px, 1.2vw, 24px) !important;
  font-weight: 400;
  text-transform: none;
  white-space: nowrap;
  padding: 12px 10px;
}

/* Hover and keyboard focus */
.ags-header .t4-megamenu .navbar-nav > li > a:hover,
.ags-header .t4-megamenu .navbar-nav > li > a:focus-visible {
  color: #092696 !important;
}

/* Smaller logo on mobile */
@media (max-width: 767px) {
  .ags-header .navbar-brand img,
  .ags-header .logo-image img {
    width: 110px;
  }
}

@media (max-width: 767px) {
  .search_logo {
    width: 55px;
    height: 25px;
    }
}

.search_logo {
  width: 70px;
  height: 40px;
}

/* Dropdown panel */
.ags-header .t4-megamenu .dropdown-menu {
  background: #ffffff !important;
  border: 0;
  border-left: 9px solid #ffcc00;
  border-radius: 0;
  box-shadow: none;
  width: 400px !important;
  min-width: 400px !important;
  padding: 10px 0;
}

/* Dropdown links */
.ags-header .t4-megamenu .dropdown-menu li > a,
.ags-header .t4-megamenu .dropdown-menu li > .nav-link {
  font-family: "Optima", sans-serif;
  font-size: clamp(14px, 1.2vw, 24px) !important;
  font-weight: 400;
  line-height: 1.23;
  color: #111111 !important;
  background: transparent;
  padding: 0 12px !important;
  text-transform: none;
  white-space: nowrap;
}

/* Remove separators between items */
.ags-header .t4-megamenu .dropdown-menu li {
  border: 0;
  margin: 0;
}

/* Hover and keyboard focus */
.ags-header .t4-megamenu .dropdown-menu li > a:hover,
.ags-header .t4-megamenu .dropdown-menu li > a:focus-visible {
  color: #14245a !important;
  background: #f2f2f2 !important;
}

.articles_Header {
 font-size: clamp(25px, 3.5vw, 50px) !important;
 font-family: Optima, sans-serif !important;
}

/* Homepage president message: portrait and message share the first grid row. */
.item-101 #t4-main-body:has(img[src$="/president_pic.png"]) {
  margin-bottom: 0 !important;
  padding-bottom: 24px !important;
}
.item-101 #t4-main-body:has(img[src$="/president_pic.png"]) > .t4-section-inner,
.item-101 #t4-main-body:has(img[src$="/president_pic.png"]) > .t4-section-inner > .t4-row {
  padding-bottom: 0 !important;
  margin-bottom: 0 !important;
}
.item-101 .item-page:has(img[src$="/president_pic.png"]),
.item-101 .article-body:has(img[src$="/president_pic.png"]) {
  margin-bottom: 0;
  padding-bottom: 0;
}
.item-101 table:has(img[src$="/president_pic.png"]) {
  display: block;
  margin-bottom: 0;
}
.item-101 table:has(img[src$="/president_pic.png"]) > colgroup {
  display: none;
}
.item-101 table:has(img[src$="/president_pic.png"]) > tbody {
  display: block;
}
.item-101 table:has(img[src$="/president_pic.png"]) > tbody > tr {
  display: grid;
  grid-template-columns: minmax(0, 29fr) minmax(0, 71fr);
  column-gap: clamp(16px, 1.5vw, 28px);
}
.item-101 table:has(img[src$="/president_pic.png"]) td {
  min-width: 0;
  padding: 0;
  border: 0;
}
.item-101 table:has(img[src$="/president_pic.png"]) td:first-child {
  display: contents;
}
.item-101 table:has(img[src$="/president_pic.png"]) td:first-child > strong {
  grid-column: 1;
  grid-row: 1;
  position: relative;
  display: block;
}
.item-101 table:has(img[src$="/president_pic.png"]) img {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}
.item-101 table:has(img[src$="/president_pic.png"]) td:first-child > p {
  grid-column: 1;
  margin: 8px 0 0;
  font-size: clamp(16px, 1.7vw, 28px) !important;
}
.item-101 table:has(img[src$="/president_pic.png"]) td:first-child > p:last-child {
  font-size: clamp(14px, 1.4vw, 22px) !important;
}
.item-101 table:has(img[src$="/president_pic.png"]) td:last-child {
  grid-column: 2;
  grid-row: 1;
}
.item-101 table:has(img[src$="/president_pic.png"]) td:last-child > p {
  margin: 0 0 8px;
  line-height: 1.1;
}
.item-101 table:has(img[src$="/president_pic.png"]) td:last-child > p span {
  font-size: clamp(22px, 2.1vw, 36px) !important;
}
.item-101 table:has(img[src$="/president_pic.png"]) .articles_Montserrat {
  font-size: clamp(16px, 1.25vw, 24px) !important;
  line-height: 1.2;
  text-align: justify !important;
  font-weight: 500 !important;
}
.item-101 table:has(img[src$="/president_pic.png"]) .articles_Montserrat p {
  margin: 0 0 .55em;
}
.item-101 table:has(img[src$="/president_pic.png"]) .articles_Montserrat p:last-child {
  margin-bottom: 0;
}
@media (max-width: 767.98px) {
  .item-101 table:has(img[src$="/president_pic.png"]) > tbody > tr {
    display: flex;
    flex-direction: column;
    gap: 12px;
  }
  .item-101 table:has(img[src$="/president_pic.png"]) img {
    position: static;
    height: auto;
    max-width: 380px;
    margin-inline: auto;
  }
}

.articles_Montserrat {
 font-size: clamp(15px, 1.5vw, 25px) !important;
 font-family: Montserrat, sans-serif !important;
 text-align:justify !important;
 font-weight: 500 !important;
 line-height: 1.10;
}

.home_academic {
 font-size: clamp(22px, 1.5vw, 60px) !important;
 font-family: Optima, sans-serif !important;
 font-weight: bold !important;
 color: #092696 !important;
 line-height: 1.10;
}

.home_academic_desc {
 font-size: clamp(20px, 2.5vw, 30px) !important;
 font-family: Montserrat, sans-serif !important;
 text-align:justify !important;
 line-height: 1.10;
}


.ags-academics,
.ags-academics * {
  box-sizing: border-box;
}

.ags-academics {
  width: 100%;
  padding: 0 16px;
  font-family: 'Montserrat', sans-serif;
  line-height: 1.3;
}

.ags-academics .ags-academics-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 24px;
  align-items: start;
}

.ags-academics .ags-academics-image,
.ags-academics .ags-academics-text {
  min-width: 0;
}

.ags-academics img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  padding: 0;
}

.ags-academics .ags-academics-text {
  text-align: left;
  overflow-wrap: break-word;
}

.ags-academics .ags-academics-text p {
  margin: 0 0 20px;
}

.ags-academics .ags-academics-text ol,
.ags-academics .ags-academics-text ul {
  margin: 0 0 20px;
  padding-left: 24px;
}

.ags-academics .ags-academics-bottom {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 24px;
  margin-top: 24px;
}

/* Desktop: image on the left, text on the right. */
@media (min-width: 768px) {
  .ags-academics {
    padding: 0 40px;
  }

  .ags-academics .ags-academics-layout {
    grid-template-columns: minmax(0, 44.51fr) minmax(0, 55.49fr);
    gap: 40px;
  }

  .ags-academics .ags-academics-text {
    text-align: justify;
  }
}

@font-face {
  font-family: 'Montserrat';
  src: url('../../../../fonts/Montserrat-Medium.woff2') format('woff2');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

/* Latest News: reusable class plus the existing home-page T4 news section. */
:is(.ags-latest-news, #t4-section-5) .mod-articles-items {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(30px, 2.65vw, 50px);
  width: 88%;
  max-width: 1650px;
  margin: 0 auto;
  padding: 0;
  list-style: none;
}
:is(.ags-latest-news, #t4-section-5) .mod-articles-items > li {
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
}
:is(.ags-latest-news, #t4-section-5) .mod-articles-item {
  height: 100%;
  margin: 0;
  padding: 0;
  background: #e9e9eb;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}
:is(.ags-latest-news, #t4-section-5) .mod-articles-item-content {
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: 0 14px 18px;
}
:is(.ags-latest-news, #t4-section-5) .mod-articles-item-content > :not(.mod-articles-title):not(dl):not(figure):not(.badge) {
  display: none;
}
:is(.ags-latest-news, #t4-section-5) .mod-articles-image {
  order: -1;
  float: none !important;
  width: calc(100% + 28px);
  max-width: none;
  margin: 0 -14px 16px;
  padding: 0;
  border: 0;
  border-bottom: 16px solid #f9b603;
}
:is(.ags-latest-news, #t4-section-5) .mod-articles-image img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1.42 / 1;
  object-fit: cover;
}
:is(.ags-latest-news, #t4-section-5) .mod-articles-title {
  margin: 0 0 4px;
  padding: 0;
  font-family: 'Optima', Georgia, serif;
  font-size: clamp(22px, 2vw, 32px);
  font-weight: 700;
  line-height: 1.08;
  text-transform: none;
  overflow-wrap: anywhere;
}
:is(.ags-latest-news, #t4-section-5) .mod-articles-title a { color: #080808; text-decoration: none; }
:is(.ags-latest-news, #t4-section-5) .mod-articles-title a:hover { text-decoration: underline; }
:is(.ags-latest-news, #t4-section-5) .mod-articles-title a:focus-visible { outline: 2px solid #080808; outline-offset: 3px; }
:is(.ags-latest-news, #t4-section-5) .mod-articles-item-content > dl {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0 8px;
  margin: 0;
  color: #505050;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: clamp(15px, 1.4vw, 24px);
  font-weight: 500;
  line-height: 1.35;
}
:is(.ags-latest-news, #t4-section-5) dl > dd { margin: 0; padding: 0; }
:is(.ags-latest-news, #t4-section-5) :is(.article-info-term, .icon-user, .icon-calendar, figcaption) { display: none; }
:is(.ags-latest-news, #t4-section-5) .mod-articles-writtenby::before { content: 'by '; }
:is(.ags-latest-news, #t4-section-5) .mod-articles-writtenby ~ .mod-articles-date::before { content: '|'; margin-right: 8px; }
@media (max-width: 991.98px) {
  :is(.ags-latest-news, #t4-section-5) .mod-articles-items { grid-template-columns: repeat(2, minmax(0, 1fr)); width: 100%; gap: 24px; }
}
@media (max-width: 575.98px) {
  :is(.ags-latest-news, #t4-section-5) .mod-articles-items { grid-template-columns: 1fr; }
}

/* Academic Programs: responsive layout for the existing custom-module tables. */
#t4-section-2 .custom > table,
#t4-section-2 .custom > table > tbody { display: block; width: 100% !important; }
#t4-section-2 .custom table colgroup { display: none; }
#t4-section-2 .custom > table > tbody > tr {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
  align-items: center;
  gap: 32px;
}
#t4-section-2 .custom td { display: block; min-width: 0; padding: 0; border: 0; }
#t4-section-2 .custom td > table { display: block; width: 100% !important; }
#t4-section-2 .custom td > table > tbody { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
#t4-section-2 .custom td > table > tbody > tr { display: contents; }
#t4-section-2 .zoom-card:hover { transform: none; }
#t4-section-2 .image-container { display: block; width: 100%; font-size: 0; line-height: 0; }
#t4-section-2 .image-container > a { display: block; }
#t4-section-2 .responsive-image { width: 100%; aspect-ratio: 1.38; object-fit: cover; }
#t4-section-2 .overlay-text {
  top: 42%; width: 100%; padding: 0 18px;
  font-size: clamp(24px, 2.5vw, 44px); line-height: 1.2;
}
#t4-section-2 .overlay-text-bottom { bottom: 24px; padding: 0; line-height: 1.2; }
#t4-section-2 .moreButton {
  display: inline-flex; align-items: center; justify-content: center;
  width: auto; min-width: 100px; min-height: 44px;
  padding: 6px 18px; font-size: 20px; line-height: 1.2;
}
#t4-section-2 .moreButton:focus-visible { outline: 3px solid #f9b603; outline-offset: 4px; }
#t4-section-2 .home_academic { font-size: clamp(28px, 3.2vw, 60px); line-height: 1.2; overflow-wrap: anywhere; }
#t4-section-2 .home_academic_desc { font-size: clamp(18px, 1.6vw, 30px); line-height: 1.5; }
@media (max-width: 991.98px) {
  #t4-section-2 .custom > table > tbody > tr { grid-template-columns: 1fr; gap: 28px; }
  #t4-section-2 .custom > table > tbody > tr > td:last-child { grid-row: 1; }
  #t4-section-2 .overlay-text { font-size: clamp(24px, 4vw, 36px); }
}
@media (max-width: 575.98px) {
  #t4-section-2 .custom td > table > tbody { grid-template-columns: 1fr; gap: 20px; }
  #t4-section-2 .overlay-text { font-size: 30px; }
}

/* Academics overview (menu item 104): responsive program cards. */
.item-104 .article-body table:has(.moreButton) { display: block; width: 100% !important; max-width: 1280px; margin: 32px auto; }
.item-104 .article-body table:has(.moreButton) colgroup { display: none; }
.item-104 .article-body table:has(.moreButton) > tbody { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px; padding: 0 16px; }
.item-104 .article-body table:has(.moreButton) tr { display: contents; }
.item-104 .article-body table:has(.moreButton) td { display: block; min-width: 0; padding: 0; border: 0; }
.item-104 .article-body table:has(.moreButton) td:not(:has(img)) { display: none; }
.item-104 .zoom-card:hover { transform: none; }
.item-104 .image-container { display: block; width: 100%; font-size: 0; line-height: 0; }
.item-104 .image-container > a { display: block; }
.item-104 .responsive-image { width: 100%; aspect-ratio: 1.38; object-fit: cover; }
.item-104 .overlay-text { top: 42%; width: 100%; padding: 0 20px; font-size: clamp(26px, 3vw, 44px); line-height: 1.2; }
.item-104 .overlay-text span { font-size: inherit !important; }
.item-104 .overlay-text-bottom { bottom: 24px; padding: 0; line-height: 1.2; }
.item-104 .moreButton { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 6px 18px; font-size: 20px; line-height: 1.2; }
.item-104 .moreButton:focus-visible { outline: 3px solid #f9b603; outline-offset: 4px; }
@media (max-width: 767.98px) {
  .item-104 .article-body table:has(.moreButton) > tbody { grid-template-columns: 1fr; gap: 24px; }
  .item-104 .article-body p { padding-left: 16px !important; padding-right: 16px !important; text-align: left !important; }
  .item-104 .article-body p span { font-size: 18px !important; line-height: 1.6; }
  .item-104 .article-body > table:not(:has(.moreButton)),
  .item-104 .article-body > table:not(:has(.moreButton)) :is(tbody, tr, td) { display: block; width: 100% !important; box-sizing: border-box; }
  .item-104 .article-body > table:not(:has(.moreButton)) colgroup { display: none; }
  .item-104 .containerimg .centered span { font-size: clamp(24px, 7vw, 40px) !important; }
}
@media (max-width: 767.98px) {
  .item-104 #t4-footnav table { width: 100% !important; max-width: 100%; table-layout: fixed; }
  .item-104 #t4-footnav td { overflow-wrap: anywhere; }
}
.item-104 .moreButton:focus { color: #fff; }
@media (max-width: 767.98px) {
  .item-104 #t4-footnav table { margin-left: 0 !important; }
}

/* Academic Programs module: Bootstrap-column version of the editor markup. */
#t4-section-2 .custom > .container-fluid > .row {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
  gap: 32px;
  margin: 0;
}
#t4-section-2 .custom > .container-fluid > .row > .col-sm-6 {
  width: auto; max-width: 100%; min-width: 0; padding: 0;
}
#t4-section-2 .custom table:has(.moreButton) { display: block; width: 100% !important; }
#t4-section-2 .custom table:has(.moreButton) > tbody {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px;
}
#t4-section-2 .custom table:has(.moreButton) > tbody > tr { display: contents; }
#t4-section-2 .custom table:has(.moreButton) td { display: block; min-width: 0; padding: 0; }
#t4-section-2 .home_academic_desc p { text-align: left; }
#t4-section-2 .moreButton:focus { color: white; }
@media (max-width: 991.98px) {
  #t4-section-2 .custom > .container-fluid > .row { grid-template-columns: 1fr; gap: 28px; }
  #t4-section-2 .custom > .container-fluid > .row > .col-sm-6:last-child { grid-row: 1; }
}
@media (max-width: 575.98px) {
  #t4-section-2 .custom table:has(.moreButton) > tbody { grid-template-columns: 1fr; gap: 20px; }
}

/* Events & Activities category tiles. */
.item-131.view-category .blog-items { display: block; }
.item-131.view-category .blog .items-row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; margin: 0; }
.item-131.view-category .blog .items-row > div { width: auto; min-width: 0; padding: 0; }
.item-131.view-category .blog .item { display: flex; flex-direction: column; height: 100%; margin: 0; padding: 0; background: #e9e9eb; border: 0; border-radius: 0; }
.item-131.view-category .blog .item-image { float: none; width: 100%; margin: 0; border-bottom: 16px solid #f9b603; }
.item-131.view-category .blog .item-image a { display: block; }
.item-131.view-category .blog .item-image img { display: block; width: 100%; height: auto; aspect-ratio: 1.46; object-fit: cover; }
.item-131.view-category .blog .item-content { flex: 1; padding: 14px 12px 24px; }
.item-131.view-category .blog .system-unpublished { padding: 0; background: transparent; border: 0; }
.item-131.view-category .blog .page-header { margin: 0 0 5px; padding: 0; border: 0; }
.item-131.view-category .blog .page-header h2 { margin: 0; font-family: 'Optima', Georgia, serif; font-size: clamp(22px, 1.8vw, 32px); font-weight: 700; line-height: 1.1; }
.item-131.view-category .blog .page-header a { color: #080808; text-decoration: none; }
.item-131.view-category .blog .page-header a:hover { text-decoration: underline; }
.item-131.view-category .blog :is(.readmore, .item-intro, .article-aside, .author-img, .article-info-term, .fa-calendar) { display: none; }
.item-131.view-category .blog .article-info { display: flex; flex-wrap: wrap; gap: 0 6px; margin: 0; font-family: 'Montserrat', sans-serif; font-size: clamp(14px, 1.15vw, 21px); font-weight: 500; line-height: 1.4; color: #505050 !important; }
.item-131.view-category .blog .article-info dd { margin: 0; padding: 0; float: none; }
.item-131.view-category .blog .article-info a { color: inherit; }
.item-131.view-category .blog .createdby::after { content: '|'; margin-left: 6px; }
.item-131.view-category .blog .published::before { content: none; }
@media (max-width: 1199.98px) { .item-131.view-category .blog .items-row { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 575.98px) {
  .item-131.view-category .blog .items-row { grid-template-columns: 1fr; gap: 24px; }
  .item-131.view-category #t4-footnav table { margin-left: 0 !important; width: 100% !important; table-layout: fixed; }
  .item-131.view-category #t4-footnav td { overflow-wrap: anywhere; }
}

/* Our History: fluid reading column and stacked sidebar. */
.item-109 .article-body > table,
.item-109 .article-body > table > tbody { display: block; width: 100% !important; }
.item-109 .article-body > table > colgroup { display: none; }
.item-109 .article-body > table > tbody > tr {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(240px, 22%);
  gap: 32px; align-items: start; padding: 24px clamp(0px, 2vw, 32px);
}
.item-109 .article-body > table td { display: block; min-width: 0; padding: 0; border: 0; }
.item-109 .articles_Montserrat { font-size: clamp(18px, 1.45vw, 26px); line-height: 1.3;; text-align: left; overflow-wrap: break-word; }
.item-109 .articles_Montserrat > div { padding-left: 0 !important; }
.item-109 .articles_Montserrat span { font-size: inherit !important; }
.item-109 .relatedlinks_about { margin: 0; max-width: 100%; box-sizing: border-box; }
.item-109 .containerimg img { display: block; width: 100%; height: auto; }
.item-109 .articles_Header { left: clamp(16px, 3vw, 50px); bottom: clamp(10px, 2vw, 24px); font-size: clamp(24px, 4vw, 60px); line-height: 1.1; }
@media (max-width: 991.98px) {
  .item-109 .article-body > table > tbody > tr { grid-template-columns: 1fr; gap: 28px; }
  .item-109 .relatedlinks_about { width: 100%; }
}
@media (max-width: 575.98px) {
  .item-109 .containerimg img { min-height: 110px; object-fit: cover; }
  .item-109 #t4-footnav table { margin-left: 0 !important; width: 100% !important; table-layout: fixed; }
  .item-109 #t4-footnav td { overflow-wrap: anywhere; }
}
.item-109 .articles_Montserrat > div { text-align: justify; }

/* Remaining About pages: responsive article/sidebar layout. */
:is(.item-110, .item-111, .item-112, .item-113) .article-body table:has(.relatedlinks_about),
:is(.item-110, .item-111, .item-112, .item-113) .article-body table:has(.relatedlinks_about) > tbody { display: block; width: 100% !important; }
:is(.item-110, .item-111, .item-112, .item-113) .article-body table:has(.relatedlinks_about) > colgroup { display: none; }
:is(.item-110, .item-111, .item-112, .item-113) .article-body table:has(.relatedlinks_about) > tbody > tr { display: grid; grid-template-columns: minmax(0, 1fr) minmax(240px, 22%); gap: 32px; align-items: start; padding: 24px clamp(0px, 2vw, 32px); }
:is(.item-110, .item-111, .item-112, .item-113) .article-body td { display: block; min-width: 0; padding: 0; border: 0; }
:is(.item-110, .item-111, .item-112, .item-113) .article-body td:first-child > div { padding-left: 0 !important; font-family: 'Montserrat', sans-serif; font-size: clamp(18px, 1.45vw, 26px); line-height: 1.30; text-align: justify; overflow-wrap: break-word; }
:is(.item-110, .item-111, .item-112, .item-113) .article-body td:first-child > div > span { font-size: inherit !important; }
.item-110 .article-body td:first-child span[style*='36px'] { font-size: clamp(23px, 2vw, 36px) !important; line-height: 1.3; }
:is(.item-110, .item-111, .item-112, .item-113) .relatedlinks_about { margin: 0; max-width: 100%; box-sizing: border-box; }
:is(.item-110, .item-111, .item-112, .item-113) .article-body img { display: block; max-width: 100%; height: auto; }
:is(.item-110, .item-111, .item-112, .item-113) .articles_Header { left: clamp(16px, 3vw, 50px); right: 16px; bottom: clamp(10px, 2vw, 24px); font-size: clamp(24px, 3.5vw, 60px); line-height: 1.15; }
@media (max-width: 991.98px) {
  :is(.item-110, .item-111, .item-112, .item-113) .article-body table:has(.relatedlinks_about) > tbody > tr { grid-template-columns: 1fr; gap: 28px; }
}
@media (max-width: 575.98px) {
  :is(.item-110, .item-111, .item-112, .item-113) .containerimg img { min-height: 120px; object-fit: cover; }
  :is(.item-110, .item-111, .item-112, .item-113) #t4-footnav table { margin-left: 0 !important; width: 100% !important; table-layout: fixed; }
  :is(.item-110, .item-111, .item-112, .item-113) #t4-footnav td { overflow-wrap: anywhere; }
}

/* Match the About banner headings to Our History. */
:is(.item-110, .item-111, .item-112, .item-113) .articles_Header {
  text-align: left;
  font-size: clamp(24px, 4vw, 60px);
  line-height: 1.1;
}

/* College Programs: equal cards and proportional action links. */
:is(.item-140, .item-120, .item-121, .item-122) .article-body > table { display: block; width: 100% !important; height: auto !important; max-width: 1640px; margin: 48px auto; }
:is(.item-140, .item-120, .item-121, .item-122) .article-body > table > colgroup { display: none; }
:is(.item-140, .item-120, .item-121, .item-122) .article-body > table > tbody { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 48px 64px; padding: 0 clamp(16px, 4vw, 64px); }
:is(.item-140, .item-120, .item-121, .item-122) .article-body > table tr { display: contents; }
:is(.item-140, .item-120, .item-121, .item-122) .article-body > table td { display: block; min-width: 0; padding: 0; border: 0; }
:is(.item-140, .item-120, .item-121, .item-122) .article-body > table td:not(:has(.course-card)) { display: none; }
:is(.item-140, .item-120, .item-121, .item-122) .zoom-card { height: 100%; position: relative; }
:is(.item-140, .item-120, .item-121, .item-122) .course-card { position: relative; display: flex; flex-direction: row; align-items: center; gap: 20px; height: 100%; min-height: 170px; padding: 20px; margin: 0; border: 0; background: #ededed; }
:is(.item-140, .item-120, .item-121, .item-122) .course-card::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 16px; background: #ffcc00; opacity: 0; transform: translateY(-100%); }
:is(.item-140, .item-120, .item-121, .item-122) .course-copy h1 { font-family: 'Optima', Georgia, serif; font-size: clamp(23px, 1.8vw, 34px); font-weight: 700; line-height: 1.08; overflow-wrap: break-word; }
:is(.item-140, .item-120, .item-121, .item-122) .course-copy p { margin: 6px 0 0; font-family: 'Montserrat', sans-serif; font-size: clamp(17px, 1.25vw, 24px); line-height: 1.25; }
:is(.item-140, .item-120, .item-121, .item-122) .course-copy .desktop-break { display: none; }
:is(.item-140, .item-120, .item-121, .item-122) .course-card > a { flex: 0 0 120px; }
:is(.item-140, .item-120, .item-121, .item-122) .more-button { width: 100%; height: 52px; padding: 6px 12px; font-family: 'Optima', Georgia, serif; font-size: 26px; }
:is(.item-140, .item-120, .item-121, .item-122) .containerimg > p { display: none; }
:is(.item-140, .item-120, .item-121, .item-122) .containerimg img { display: block; width: 100%; height: auto; min-height: 140px; object-fit: cover; }
:is(.item-140, .item-120, .item-121, .item-122) .articles_Header { width: 90%; font-family: 'Optima', Georgia, serif; font-size: clamp(30px, 4vw, 60px); font-weight: 700; line-height: 1.15; }
@media (hover: hover) and (pointer: fine) {
  :is(.item-140, .item-120, .item-121, .item-122) .zoom-card:hover { transform: scale(1.04); z-index: 1; }
  :is(.item-140, .item-120, .item-121, .item-122) .zoom-card:hover .course-card, :is(.item-140, .item-120, .item-121, .item-122) .zoom-card.course-card:hover { box-shadow: 0 6px 18px #0004; }
  :is(.item-140, .item-120, .item-121, .item-122) .zoom-card:hover .course-card::before { opacity: 1; }
}
@media (max-width: 991.98px) {
  :is(.item-140, .item-120, .item-121, .item-122) .article-body > table > tbody { grid-template-columns: 1fr; gap: 32px; }
}
@media (max-width: 575.98px) {
  :is(.item-140, .item-120, .item-121, .item-122) .course-card { flex-direction: column; align-items: flex-start; gap: 18px; }
  :is(.item-140, .item-120, .item-121, .item-122) .course-card > a { flex-basis: auto; width: 120px; align-self: flex-end; }
  :is(.item-140, .item-120, .item-121, .item-122) #t4-footnav table { margin-left: 0 !important; width: 100% !important; table-layout: fixed; }
  :is(.item-140, .item-120, .item-121, .item-122) #t4-footnav td { overflow-wrap: anywhere; }
}
:is(.item-140, .item-120, .item-121, .item-122) .course-copy .desktop-break { display: initial; }

/* These program banners use .centered without .articles_Header. */
:is(.item-120, .item-121, .item-122) .containerimg > .centered {
  width: 90%; font-family: 'Optima', Georgia, serif;
  font-size: clamp(30px, 4vw, 60px); font-weight: 700; line-height: 1.15;
}
:is(.item-120, .item-121, .item-122) .containerimg > .centered span { font-size: inherit !important; }

/* Overlay the shared header on article banners without fading navigation. */
:is(body:has(.article-body > .containerimg:first-child), body.item-135, body.item-136, body.item-108, body:has(.article-body .missions-banner)) .t4-content-inner { display: grid; grid-template-columns: minmax(0, 1fr); }
:is(body:has(.article-body > .containerimg:first-child), body.item-135, body.item-136, body.item-108, body:has(.article-body .missions-banner)) #t4-header { grid-area: 1 / 1; align-self: start; z-index: 1000; background: transparent; padding: 0; border: 0; }
:is(body:has(.article-body > .containerimg:first-child), body.item-135, body.item-136, body.item-108, body:has(.article-body .missions-banner)) #t4-header > .t4-section-inner { padding: 0; }
:is(body:has(.article-body > .containerimg:first-child), body.item-135, body.item-136, body.item-108, body:has(.article-body .missions-banner)) .ags-header { background: rgba(255, 255, 255, .75); }
:is(body:has(.article-body > .containerimg:first-child), body.item-135, body.item-136, body.item-108, body:has(.article-body .missions-banner)) #t4-main-body { grid-area: 1 / 1; margin-top: 0 !important; padding-top: 0; min-width: 0; }
:is(body:has(.article-body > .containerimg:first-child), body.item-135, body.item-136, body.item-108, body:has(.article-body .missions-banner)) #t4-main-body > .t4-section-inner > .t4-row { padding-top: 0; }
:is(body:has(.article-body > .containerimg:first-child), body.item-135, body.item-136, body.item-108, body:has(.article-body .missions-banner)) .article-body { margin-top: 0; }
:is(body:has(.article-body > .containerimg:first-child), body.item-135, body.item-136, body.item-108, body:has(.article-body .missions-banner)) .article-body > .containerimg:first-child > img { min-height: 390px; object-fit: cover; }
:is(body:has(.article-body > .containerimg:first-child), body.item-135, body.item-136, body.item-108, body:has(.article-body .missions-banner)) .article-body > .containerimg:first-child > .centered { top: 65%; }
@media (max-width: 991.98px) {
  :is(body:has(.article-body > .containerimg:first-child), body.item-135, body.item-136, body.item-108, body:has(.article-body .missions-banner)) .article-body > .containerimg:first-child > img { min-height: 250px; }
}
/* Apply opacity once: T4 also assigns ags-header to the outer column. */
:is(body:has(.article-body > .containerimg:first-child), body.item-135, body.item-136, body.item-108, body:has(.article-body .missions-banner)) .t4-col.ags-header { background: transparent; border-top: 0; }
@media (min-width: 992px) {
  :is(body:has(.article-body > .containerimg:first-child), body.item-135, body.item-136, body.item-108, body:has(.article-body .missions-banner)) .ags-header .t4-megamenu { background: transparent; }
}

/* Solid navy strip above the translucent navigation. */
:is(body:has(.article-body > .containerimg:first-child), body.item-135, body.item-136, body.item-108, body:has(.article-body .missions-banner)) #t4-header {
  border-top: 10px solid #14245a;
}
:is(body:has(.article-body > .containerimg:first-child), body.item-135, body.item-136, body.item-108, body:has(.article-body .missions-banner)) #t4-header .t4-row {
  padding-top: 0;
  padding-bottom: 0;
}
:is(body:has(.article-body > .containerimg:first-child), body.item-135, body.item-136, body.item-108, body:has(.article-body .missions-banner)) #t4-header .ags-header {
  border-top: 0;
}

/* Empty T4 article metadata must not push the banner below the navy strip. */
:is(body:has(.article-body > .containerimg:first-child), body.item-135, body.item-136, body.item-108, body:has(.article-body .missions-banner)) .item-page > .article-aside:not(:has(*)) {
  display: none;
  margin: 0;
}

/* Homepage: place Slider CK behind the translucent sticky header. */
.item-101 .t4-content-inner { display: grid; grid-template-columns: minmax(0, 1fr); }
.item-101 #t4-header { grid-area: 1 / 1; align-self: start; z-index: 1000; background: transparent; padding: 0; border: 0; border-top: 10px solid #14245a; }
.item-101 #t4-header > .t4-section-inner { padding: 0; }
.item-101 #t4-header .t4-row { padding-top: 0; padding-bottom: 0; }
.item-101 #t4-header .ags-header { border-top: 0; background: rgba(255, 255, 255, .75); }
.item-101 #t4-header .t4-col.ags-header { background: transparent; }
.item-101 #t4-section-1 { grid-area: 1 / 1; min-width: 0; margin: 0; padding: 0; }
@media (min-width: 992px) {
  .item-101 #t4-header .t4-megamenu { background: transparent; }
}

/* Taller navy accent above the navigation. */
.item-101 #t4-header,
:is(body:has(.article-body > .containerimg:first-child), body.item-135, body.item-136, body.item-108, body:has(.article-body .missions-banner)) #t4-header {
  border-top-width: 20px;
}

/* T4 Events and Activities Header module overlaps the shared navigation. */
body:has(#t4-events-and-activities-header .containerimg) .t4-content-inner { display: grid; grid-template-columns: minmax(0, 1fr); }
body:has(#t4-events-and-activities-header .containerimg) #t4-header { grid-area: 1 / 1; align-self: start; z-index: 1000; padding: 0; background: transparent; border: 0; border-top: 20px solid #14245a; }
body:has(#t4-events-and-activities-header .containerimg) #t4-header > .t4-section-inner { padding: 0; }
body:has(#t4-events-and-activities-header .containerimg) #t4-header .t4-row { padding-block: 0; }
body:has(#t4-events-and-activities-header .containerimg) #t4-header .ags-header { border-top: 0; background: rgba(255, 255, 255, .75); }
body:has(#t4-events-and-activities-header .containerimg) #t4-header .t4-col.ags-header { background: transparent; }
#t4-events-and-activities-header:has(.containerimg) { grid-area: 1 / 1; min-width: 0; padding: 0; margin: 0; }
#t4-events-and-activities-header .containerimg > img { display: block; width: 100%; height: auto; min-height: 390px; object-fit: cover; }
#t4-events-and-activities-header .containerimg > p { display: none; }
#t4-events-and-activities-header .bottom-left { left: clamp(16px, 3vw, 50px); right: 16px; bottom: 24px; text-align: left; line-height: 1.15; }
#t4-events-and-activities-header .bottom-left span { font-family: 'Optima', Georgia, serif; font-size: clamp(28px, 4vw, 60px) !important; }
@media (min-width: 992px) {
  body:has(#t4-events-and-activities-header .containerimg) #t4-header .t4-megamenu { background: transparent; }
}
@media (max-width: 991.98px) {
  #t4-events-and-activities-header .containerimg > img { min-height: 250px; }
}
body:has(#t4-events-and-activities-header .containerimg) #t4-main-body {
  margin-top: 0 !important;
}

/* Contact has a banner wrapper. */
.item-108 .article-body > div:first-child > .containerimg { position: relative; }
.item-108 .article-body > div:first-child > .containerimg > img { display: block; width: 100%; height: auto; min-height: 390px; object-fit: cover; }
.item-108 .article-body > div:first-child > .containerimg > .centered { top: 65%; width: 90%; line-height: 1.15; }
.item-108 .article-body > div:first-child > .containerimg .centered span { font-size: clamp(28px, 4vw, 60px) !important; }
.item-108 .article-body > div:first-child > .containerimg > p { display: none; }

/* Contact details use a single table row for the three sections. */
.item-108 .article-body > div:first-child > table {
  table-layout: fixed;
}

.item-108 .article-body > div:first-child > table td {
  padding: clamp(12px, 2vw, 28px);
  overflow-wrap: anywhere;
}

.item-108 .article-body > div:first-child > table td > p {
  padding-left: 0 !important;
}

.item-108 .article-body table span[style*="font-size: 42px"] {
  font-size: clamp(24px, 2.6vw, 42px) !important;
}

.item-108 .article-body table span[style*="font-size: 26px"] {
  font-size: clamp(16px, 1.7vw, 26px) !important;
}

.item-108 .article-body table iframe {
  display: block;
  width: 100%;
  max-width: 600px;
  height: auto;
  min-height: 240px;
  aspect-ratio: 4 / 3;
}

@media (max-width: 991.98px) {
  .item-108 .article-body > div:first-child > .containerimg > img { min-height: 250px; }

  .item-108 .article-body > div:first-child > table :is(tbody, tr, td) {
    display: block;
  }

  .item-108 .article-body > div:first-child > table {
    display: block;
  }

  .item-108 .article-body > div:first-child > table > colgroup {
    display: none;
  }
}

/* Apply and Give article banners */
:is(.item-135 .article-body .containerimg, .item-136 .article-body .containerimg:first-child) > img {
  display: block;
  width: 100%;
  height: auto;
  min-height: clamp(190px, 23vw, 320px);
  object-fit: cover;
}

:is(.item-135, .item-136) .article-body .containerimg > .centered {
  top: 65%;
  width: 90%;
  font-size: clamp(24px, 4.5vw, 48px);
  line-height: 1.15;
}

:is(.item-135, .item-136) .article-body .containerimg > .centered span {
  font-size: inherit !important;
}

.item-135 .article-body .containerimg ~ p {
  margin: 0 auto;
  padding: clamp(12px, 2vw, 24px) 16px 0;
  max-width: 76rem;
  font-size: clamp(16px, 3vw, 24px);
  line-height: 1.4;
}

.item-135 .article-body .containerimg ~ p span {
  font-size: inherit !important;
}

.item-135 .article-body .containerimg ~ p > a {
  font-size: clamp(16px, 2.8vw, 36px);
  overflow-wrap: anywhere;
}

.item-135 .article-body .containerimg ~ p:last-child {
  padding-bottom: clamp(16px, 3vw, 36px);
}


/* Give payment details */
.item-136 .article-body .containerimg ~ p {
  max-width: 68rem;
  margin: clamp(12px, 2vw, 24px) auto;
  padding-inline: 16px;
  font-size: clamp(16px, 2.5vw, 28px);
  line-height: 1.45;
  overflow-wrap: anywhere;
}

.item-136 .article-body .containerimg ~ p > span {
  font-size: inherit !important;
}

.item-136 .article-body .containerimg ~ p > span > br:first-child:has(~ br) {
  display: none;
}

.item-136 .article-body .containerimg + p:has(strong > br) {
  font-size: clamp(18px, 3vw, 36px);
}

.item-136 .article-body img[src$="/chinabank_logo.png"] {
  max-width: calc(100% - 32px);
  height: auto;
}

/* The desktop navigation can wrap onto a second row at intermediate widths. */
@media (min-width: 992px) and (max-width: 1399.98px) {
  :is(.item-135 .article-body .containerimg, .item-136 .article-body .containerimg:first-child) > img {
    min-height: 340px;
  }
}

@media (max-width: 991.98px) {
  :is(.item-108, .item-135, .item-136) #t4-footnav table {
    margin-left: 0 !important;
    width: 100% !important;
    table-layout: fixed;
  }

  :is(.item-108, .item-135, .item-136) #t4-footnav td {
    overflow-wrap: anywhere;
  }
}

/* Missions article banner lives in Main body > Component. */
body:has(.article-body .missions-banner) .missions-banner { min-height: 390px; padding-top: 200px; padding-bottom: 40px; }
@media (max-width: 991.98px) {
  body:has(.article-body .missions-banner) .missions-banner { padding-top: 110px; min-height: 330px; }
}


/* News article pages: article hero replaces the category module banner. */
body:has(.ags-news-article) #t4-events-and-activities-header { display: none; }
body:has(.ags-news-article) #t4-main-body { position: relative; grid-area: 1 / 1; padding-top: 0; margin-top: 0 !important; }
body:has(.ags-news-article) #t4-main-body::before { content: ''; display: block; height: 340px; background: #101b60 url('/images/articles/Banner3.png') center / cover; }
body:has(.ags-news-article) #t4-main-body > .t4-section-inner { padding-top: 50px; }
.ags-news-article .item-page > .page-header { position: absolute; top: 190px; left: 32px; right: 32px; margin: 0; padding: 0; border: 0; }
.ags-news-article .page-header h2 { color: white; font-family: 'Optima', Georgia, serif; font-size: clamp(28px, 3vw, 46px); font-weight: 700; line-height: 1.15; }
.ags-news-article .article-aside { margin: 0 0 24px; }
.ags-news-article .article-info { display: flex; flex-wrap: wrap; gap: 8px; font-family: 'Montserrat', sans-serif; font-weight: 500; font-size: 18px; color: #333 !important; margin: 0; }
.ags-news-article .article-info dd { margin: 0; }
.ags-news-article :is(.author-img, .article-info-term, .fa-calendar) { display: none; }
.ags-news-article .createdby::after { content: '|'; margin-left: 8px; }
.ags-news-article .item-image { float: none; width: 100%; margin: 0 0 24px; border: 0; }
.ags-news-article .item-image img { width: 100%; height: auto; }
.ags-news-article .article-body { font-family: 'Montserrat', sans-serif; font-size: 18px; line-height: 1.30; text-align: justify; }
@media (max-width: 991.98px) {
 body:has(.ags-news-article) #t4-main-body::before { height: 300px; }
 .ags-news-article .item-page > .page-header { top: 130px; left: 24px; right: 24px; }
}
body:has(.ags-news-article) #t4-main-body > .t4-section-inner,
body:has(.ags-news-article) #t4-main-body > .t4-section-inner > .t4-row,
body:has(.ags-news-article) .t4-col.component,
.ags-news-article, .ags-news-article .item-page { position: static; }

/* Anchor news titles near the lower-left edge of the article hero. */
.ags-news-article .item-page > .page-header {
  top: 340px;
  transform: translateY(calc(-100% - 32px));
}
@media (max-width: 991.98px) {
  .ags-news-article .item-page > .page-header {
    top: 300px;
    transform: translateY(calc(-100% - 24px));
  }
}

body.com_finder.view-search #t4-main-body {
  margin-top: 0 !important;
  padding-top: 24px !important;
  min-height: 390px;
}

/* Homepage Academic Programs: flush image tiles and a local hover effect. */
#t4-section-2 .custom > .container-fluid > .row {
  grid-template-columns: minmax(0, 1.62fr) minmax(0, 1fr);
  gap: clamp(20px, 1.4vw, 28px);
  padding: clamp(24px, 5vw, 96px) clamp(12px, 2vw, 40px) 0;
}
#t4-section-2 .custom table:has(.moreButton) > tbody { gap: 0; }
:is(#t4-section-2, .item-104 .article-body table:has(.moreButton)) .zoom-card { overflow: hidden; }
:is(#t4-section-2, .item-104 .article-body table:has(.moreButton)) .image-container { transition: transform .25s ease; }
:is(#t4-section-2, .item-104 .article-body table:has(.moreButton)) .image-container > a { position: relative; }
:is(#t4-section-2, .item-104 .article-body table:has(.moreButton)) .image-container > a::after {
  content: "";
  position: absolute;
  inset: 0;
  background: #1243ae;
  opacity: 0;
  pointer-events: none;
  transition: opacity .25s ease;
}
:is(#t4-section-2, .item-104 .article-body table:has(.moreButton)) .image-container:focus-within > a::after { opacity: .42; }
@media (hover: hover) and (pointer: fine) {
  :is(#t4-section-2, .item-104 .article-body table:has(.moreButton)) .image-container:hover { transform: scale(1.04); }
  :is(#t4-section-2, .item-104 .article-body table:has(.moreButton)) .image-container:hover > a::after { opacity: .42; }
}
:is(#t4-section-2, .item-104 .article-body table:has(.moreButton)) .image-container:focus-within { transform: scale(1.04); }
#t4-section-2 .overlay-text {
  top: 48%;
  max-width: 9em;
  font-family: Optima, sans-serif;
  font-weight: 500;
  line-height: 1;
}
:is(#t4-section-2, .item-104 .article-body table:has(.moreButton)) .image-container > .overlay-text {
  width: min-content;
  max-width: 100%;
  white-space: normal;
}
#t4-section-2 .overlay-text-bottom { bottom: 17%; }
#t4-section-2 .moreButton {
  min-width: 100px;
  min-height: 36px;
  border-width: 1px;
  font-family: Optima, sans-serif;
  font-weight: 500;
}
#t4-section-2 .home_academic {
  font-weight: 500 !important;
  line-height: .95;
  font-size: clamp(28px, 3.1vw, 60px) !important;
}
#t4-section-2 .home_academic strong,
#t4-section-2 .home_academic_desc strong { font-weight: inherit; }
#t4-section-2 .home_academic_desc {
  margin-top: 10px;
  font-weight: 500;
  font-size: clamp(18px, 1.55vw, 30px) !important;
  line-height: 1.25;
}
@media (max-width: 991.98px) {
  #t4-section-2 .custom > .container-fluid > .row { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  :is(#t4-section-2, .item-104 .article-body table:has(.moreButton)) .image-container,
  :is(#t4-section-2, .item-104 .article-body table:has(.moreButton)) .image-container > a::after { transition: none; }
  :is(#t4-section-2, .item-104 .article-body table:has(.moreButton)) .zoom-card .image-container:is(:hover, :focus-within) { transform: none; }
}
