/* INDICATE POST NAV IS EXTERNAL */
a[rel*="external"]:after {
    content: " ↗";
    font-size: 0.8em;
    opacity: 0.7;
}
/* END */


/* ----- HOMEPAGE CARDS ----*/
.page-id-9  #uu-card-widget-container .uu-card-widget-card .uu-card-widget-card-title-black {
    font-family: "Vitesse", sans-serif!important;
}


p.aos-init.aos-animate strong {
    color: #000!important;
    font-size: inherit!important;
}

.page-id-9 .text-callout-md {
    display: none;
}
/* END */


.tf-cards-wrapper{
    display: grid;
    /* grid-template-columns: repeat(3, 1fr); */
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap:1.2rem;
}
.tf-card{
    -webkit-box-shadow: 0px 10px 20px 0px rgba(84,117,145,.1);
    -moz-box-shadow: 0px 10px 20px 0px rgba(84,117,145,.1);
    box-shadow: 0px 10px 20px 0px rgba(84,117,145,.1);
    /* cursor: pointer; */
}
.tf-card .tf-card-header {
    position: relative;
    height: 200px;
    width: 100%;
    background-color: #333;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    overflow: hidden;
}
.faculty-staff .tf-card .tf-card-header {
    height: 300px;
}
.tf-card .tf-card-day {
    position: absolute;
    bottom: 0;
    right: 0;
    background-color: #463c3c;
    color: #fff;
    font-size: .9rem;
    text-transform: uppercase;
    font-family:"Montserrat", sans-serif;
    display:flex;
    width: 80px;
    height: 50px;
    align-items: center;
    justify-content: center;
}
.tf-card .tf-card-location {
    position: absolute;
    bottom: 0;
    left: 0;
    width:100%;
    padding: 0.3rem 1rem 0.2rem;
    background-color: #708E99;
    color: #000;
    font-size: 0.75rem;
    text-transform: uppercase;
    font-family:"Vitesse", sans-serif;
    text-align: left;
}
.tf-card .tf-card-body{
    position: relative;
    padding: 0 1rem 1rem 1rem;
    font-size: 15px;
}
.tf-card .tf-card-title a{
    font-size: 14px;
    color: #000;
    text-transform: uppercase;
    font-family:"Montserrat", sans-serif;
    text-align: left;
    width: calc(100% - 90px);
    /* min-height: 50px; */
    display: flex;
    align-items: center;
    justify-content: flex-start;
    padding-top: 10px;
    font-weight: 700;
}
.tf-card .tf-card-title a:hover {
  color: #BE0000;
}
.tf-card .tf-card-pronouns{
    color: #cf2e2e;
    font-size: 0.65rem;
    text-transform: uppercase;
    font-family:"Vitesse", sans-serif;
    text-align: left;
    width: 100%;
    /* min-height: 50px; */
    display: flex;
    align-items: center;
    justify-content: flex-start;
}
.tf-card .tf-card-job-title{
  font-size: 12px;
  text-transform: uppercase;
  font-family:"Vitesse", sans-serif;
  text-align: left;
  padding-top: 10px;
}
.tf-card .tf-card-email .dashicons.dashicons-email-alt{
  font-size: 16px !important;
  vertical-align: middle;
}
.tf-card .tf-card-phone .dashicons.dashicons-phone{
  font-size: 15px !important;
  vertical-align: middle;
}
.tf-card .dashicons.dashicons-tag{
  font-size: 15px !important;
  vertical-align: middle; 
}

.tf-card .tf-card-month{
    position: absolute;
    top: 0;
    right: 0;
    background-color: #cf2e2e;
    color: #fff;
    font-size: .9rem;
    text-transform: uppercase;
    font-family:"Vitesse", sans-serif;
    display:flex;
    width: 80px;
    height: 50px;
    align-items: center;
    justify-content: center;
}
.tf-card .tf-card-month.tf-year-card{
  top: -37px;
}

.tf-card .tf-card-description-short{
  display: block;
} 
.tf-modal .tf-card-description-short{
  display: none;
} 
.tf-card .tf-card-description-full{
  display: none;
} 
.tf-modal .tf-card-description-full{
  display: block;
} 



.tf-card .mellon-footer{
    padding: 0 1rem 1rem 1rem;
    display: flex;
    align-items: center;
    justify-content: flex-start;
}
.uu-transform-pagination{
  flex-direction: row;
  margin-top: 16px;
  display: flex;
  justify-content: space-around;
}
.facetwp-facet-people_pagination{
  margin-bottom: 10px !important;
}

/* Mellon Single Page Detail View */
.tf-card-header-img{
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    width: 100%;
    min-height: 500px;
    border-bottom: solid 30px #708E99;
}

.tf-card-tag-wrapper{
  display: flex;
  flex-direction: row;
  justify-content: flex-start;
  align-items: center;
  padding: 1rem 0 1rem 0; 
  font-size: 14px; 
}
.tf-tags-icon{
  display: flex;
  margin-right: 0.5rem;
}

.transform-facets h5{
  margin-bottom:0;
}

.uu-center-video{
  max-width: 800px;
  margin: 3rem auto;
}
.uu-responsive-video-container {
  position: relative;
  padding-bottom: 56.25%; /* for 16:9 aspect ratio */
  padding-top: 25px;
  height: 0;
}

.uu-responsive-video-container iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.uu-mellon-detail-title-wrapper{
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 0;
}
.mellon-detail-header-img {
	width: 100%;
}

/* media query for cards */
@media (max-width: 1000px) {
    .tf-cards-wrapper{
        grid-template-columns: repeat(2, 1fr);
    } 
}
/* media query for cards */
@media (max-width: 600px) {
    .tf-cards-wrapper{
        grid-template-columns:1fr;
    } 
}

/* MODAL STYLES */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.6); /* Adjust opacity as needed */
  z-index: 1000; /* Ensure this is lower than the modal's z-index */
  display: none; /* Hide by default */
}
.tf-modal {
  border: none;
  padding: 0;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.4);
  z-index: 1001; /* Ensure this is higher than the overlay's z-index */
  position: fixed;
  max-height: 70vh; /* Maximum height of the modal */
  overflow-y: auto; /* Enables vertical scrolling if content overflows */
  margin-left: 20px;
  margin-right: 20px;
  max-width: 600px;
  margin: 0 auto;
  top: 20%;
}
@media (max-width: 700px) {
  .tf-modal {
    margin-left: 20px;
    margin-right: 20px; 
  }
}
.tf-modal  .close-button {
  color: #fff;
  position: absolute;
  top: -14px;
  right: 10px;
  border: none;
  background: none;
  font-size: 40px;
  cursor: pointer;
  z-index: 1002; /* Ensure this is higher than the overlay's z-index */
  filter: drop-shadow(0 0 3px rgba(0, 0, 0, 0.7));
  transition: transform 0.2s ease-in-out;
}
.tf-modal .close-button:hover {
  transform: scale(1.1);
}

.tf-modal .tf-card .tf-card-header{
  height:350px;
}

.tf-card-modal-content{
  display:none;
  font-size: 15px;
}
.tf-modal  .tf-dont-display-in-modal{
  display:none;
} 

.tf-modal .tf-card-modal-content{
  display:flex;
  flex-direction: column;
  /* Optional: Set a max height for the content area */
  /* max-height: 50vh;  */
  overflow-y: auto; /* Enables scrolling within the content area */
}
.tf-modal .tf-hide-in-modal{
  display:none;
}
.tf-modal .tf-modal-img{
  width: 100%;
}

/* FACET OVERRIDES */

/* Base styles for checkboxes */
.facetwp-checkbox {
  padding: 5px 10px;
  margin-bottom: 5px;
  background-color: transparent;
  cursor: pointer;
  display: block;
  position: relative;
  background-image: none !important;
}

.facetwp-checkbox .facetwp-display-value {
  margin-left: 18px; 
}
.facetwp-display-value {
  font-size: 15px;
  display:flex;
}
.facetwp-counter{
  display:none
}

/* Custom Checkbox */
.facetwp-checkbox:before {
  content: '';
  position: absolute;
  left: 6px;
  top: 19px;
  transform: translateY(-50%);
  height: 16px;
  width: 16px;
  background-color: #fff;
  border: 1px solid #aeaeae;
  border-radius: 3px;
}

.facetwp-checkbox.checked:before {
  background-color: #be0000;
}

/* Custom check mark, shown when checked */
.facetwp-checkbox.checked:after {
  font-family: 'FontAwesome'; 
  content: '\f00c'; /* FontAwesome's check mark icon */
  position: absolute;
  left: 9px; 
  top: 20px;
  transform: translateY(-50%) scale(1);
  color: white;
  font-size: 14px;
}

/* Hide the actual checkbox input */
.facetwp-checkbox input[type="checkbox"] {
  display: none;
}

/* override facet wp search input styles */
.facetwp-search {
  width: 100%;
  margin-bottom: 1rem;
  padding: 0.5rem;
  border: 1px solid #ccc;
  border-radius: 0.25rem;
  font-size: 1rem;
  line-height: 1.5;
  color: #495057;
  background-color: #fff;
  background-clip: padding-box;
  transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
  box-sizing: border-box;
}
.facetwp-input-wrap{
  width: 100%;
  padding-right: 0 !important;
  box-sizing: border-box;
}
/* override facet wp select dropdown */
.facetwp-dropdown {
  box-sizing: border-box;
  width: 100%;
  margin-bottom: 1rem;
  padding: 0.5rem;
  border: 1px solid #ccc;
  border-radius: 0.25rem;
  font-size: 1rem;
  line-height: 1.5;
  color: #495057;
  background-color: #fff;
  background-clip: padding-box;
  transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}
/* hide search icon */
.facetwp-icon{
  display: none !important;
}



/* TABLE */
#uu-table-widget-container {
    display: flex;
    flex-flow: column nowrap;
    justify-content: flex-start;
    align-items: stretch;
    margin: 30px auto;
    box-sizing: border-box;
    border: 1px solid #e2e2e2;
    overflow-y: scroll;
}
#uu-table-widget-container.uu-table-widget-striped .uu-table-widget-row:nth-child(odd) {
    background-color: #F6F9FC;
}

#uu-table-widget-container .uu-table-widget-row:hover .uu-table-widget-cell {
    background-color: #EFF3F7;
}
#uu-table-widget-container .uu-table-widget-row {
    display: flex;
    flex-flow: row nowrap;
    justify-content: flex-start;
    align-items: stretch;
    flex: 1 1 auto;
    max-width: 100%;
    min-width: 600px;
    box-sizing: border-box;
    padding: 0px;
    background-color: #fff;
    overflow: hidden;
    -webkit-transition: all,.3s ease-in-out;
    -moz-transition: all .3s ease-in-out;
    -ms-transition: all .3s ease-in-out;
    -o-transition: all .3s ease-in-out;
    transition: all .3s ease-in-out;
    margin: 0px;
    box-sizing: border-box;
    border-bottom: 1px solid #e2e2e2;
}
#uu-table-widget-container .uu-table-widget-row:last-child {
    border-bottom: 0px;
}
/* Hide scrollbar for Chrome, Safari and Opera */
#uu-table-widget-container::-webkit-scrollbar {
    display: none;
}
/* Hide scrollbar for IE, Edge and Firefox */
#uu-table-widget-container {
    -ms-overflow-style: none;  /* IE and Edge */
    scrollbar-width: none;  /* Firefox */
}
#uu-table-widget-container .uu-table-widget-row.uu-table-widget-header-row .uu-table-widget-cell {
    background-color: #18191B;
    color: #FFFFFF;
    font-weight: bold;
    border-right: 1px solid #372C2C;
}
#uu-table-widget-container .uu-table-widget-row.uu-table-widget-header-row .uu-table-widget-cell:first-child {
    border-left: 0px;
}
#uu-table-widget-container .uu-table-widget-row.uu-table-widget-header-row .uu-table-widget-cell:last-child {
    border-right: 0px;
}

#uu-table-widget-container .uu-table-widget-row.uu-table-widget-header-row .uu-table-widget-cell:hover {
    background-color: #372C2C !important;
}
#uu-table-widget-container.uu-table-widget-container-2col .uu-table-widget-row .uu-table-widget-cell {
    flex: 1 1 50%;
}
#uu-table-widget-container.uu-table-widget-container-3col .uu-table-widget-row .uu-table-widget-cell {
    flex: 1 1 33.333%;
}
#uu-table-widget-container.uu-table-widget-container-4col .uu-table-widget-row .uu-table-widget-cell {
    flex: 1 1 25%;
}
#uu-table-widget-container.uu-table-widget-container-5col .uu-table-widget-row .uu-table-widget-cell {
    flex: 1 1 20%;
}
#uu-table-widget-container.uu-table-widget-container-6col .uu-table-widget-row .uu-table-widget-cell {
    flex: 1 1 16.666%;
}
#uu-table-widget-container.uu-table-widget-container-7col .uu-table-widget-row .uu-table-widget-cell {
    flex: 1 1 14.285%;
}
#uu-table-widget-container.uu-table-widget-container-8col .uu-table-widget-row .uu-table-widget-cell {
    flex: 1 1 12.5%;
}
#uu-table-widget-container.uu-table-widget-container-9col .uu-table-widget-row .uu-table-widget-cell {
    flex: 1 1 11.111%;
}
#uu-table-widget-container.uu-table-widget-container-10col .uu-table-widget-row .uu-table-widget-cell {
    flex: 1 1 10%;
}
#uu-table-widget-container .uu-table-widget-row.full-span-cols .uu-table-widget-cell {
    flex: 1 1 auto !important;
    max-width: 100% !important;
}
#uu-table-widget-container .uu-table-widget-row.full-span-cols .uu-table-widget-cell:last-child {
    border-right: 0px !important;
}
#uu-table-widget-container .uu-table-widget-row .uu-table-widget-cell {
    padding: 10px;
    border-right: 1px solid #e2e2e2;
    box-sizing: border-box;
    -webkit-transition: all,.3s ease-in-out;
    -moz-transition: all .3s ease-in-out;
    -ms-transition: all .3s ease-in-out;
    -o-transition: all .3s ease-in-out;
    transition: all .3s ease-in-out;
}
#uu-table-widget-container .uu-table-widget-row .uu-table-widget-cell:last-child {
    border-right: 0px;
}
/* END TABLE */


/* NEWS POST LOOP TEMPLATE STYLES */

.uu-news-post-container {
  display: flex;
  flex-flow: row wrap;
  justify-content: flex-start;
  align-items: flex-start;
  max-width: 1160px;
  margin: 0px auto;
  gap: 20px;
}

.uu-news-post-item {
  position: relative;
  flex: 0 1 calc(33.333% - 15px);
  width: 351px;
  height: 395px;
  z-index: 1;
  overflow: hidden;
  box-shadow: 0px 10px 20px 0px rgba(84,117,145,.1)
}

@media only screen and (max-width: 1024px) {
  .uu-news-post-item {
    flex: 1 1 100%;
  }
}

.uu-news-post-item::before {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to top, rgba(24,24,21,.9) 55%, rgba(24,25,21,0) 90%);
  content: '';
  z-index: 2;
}

.uu-news-post-item-img{
  position: absolute;
  top: 0px;
  left: 0px;
  width: 100%;
  height: 100%;
  background-position: center center;
  background-size: cover;
  background-repeat: no-repeat;
  z-index: 1;
  transition: all .3s ease-in-out;
}

.uu-news-post-item:hover .uu-news-post-item-img {
  transform: scale(1.05);
}

.uu-news-cat {
  position: absolute;
  background-color: #BE0000;
  top:10px;
  left: 0px;
  padding: 8px 16px;
  font-size: 15px;
  text-transform: uppercase;
  color: #FFFFFF;
  z-index: 4;
}

.uu-news-cat a{
  color: #FFFFFF !important;
}

.uu-news-post-item-content {
  position: absolute;
  top: 0px;
  left: 0px;
  width: auto;
  height: 350px;
  display: flex;
  flex-flow: column nowrap;
  justify-content: flex-end;
  font-size: 15px;
  z-index: 3;
  padding: 20px;
  overflow-y: hidden;
}

.uu-news-post-item-content .uu-news-title h4 {
  font-size: 17px;
  line-height: 1.3;
  font-weight: 600;
  color: #FFFFFF;
  margin-bottom: 8px;
}

.uu-news-post-item-content .uu-news-date {
  text-transform: uppercase;
  color: #FFFFFF;
}

.uu-news-post-item-content .uu-news-excerpt {
  margin-top: 10px;
  min-height: 80px;
  line-height: 1.4em;
  color: #FFFFFF;
  margin-bottom: 15px;
}

.uu-news-post-item-content p, a.uu-link {
  color: #FFFFFF;
  margin: 0px;
}
.uu-news-post-item-content p, a.uu-link::after{
  top: -1px !important;
}
/* END NEWS POST LOOP TEMPLATE STYLES

/********************
SECTIONS
********************/
section.off-white-section {
    width: 100%;
    background-color: #F7F9FB;
  }
  
  /********************
  VIDEO MARQUEE
  ********************/
  .video-marquee-container {
    position: relative;
    width: 100%;
    height: auto;
    max-height: 80vh;
    min-height: 700px;
    margin: 0px;
    z-index: 3;
    overflow: hidden;
    text-align: center;
    margin-top: 0px;
    background-color: #000000;
    background-position: top center;
  }
  .video-marquee-container::before {
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    content: '';
    background: rgba(0, 0, 0, 0.6);
    z-index: 2;
  }
  .video-marquee-content {
    position: relative;
    margin: 300px auto 200px auto;
    z-index: 3;
    text-align: center;
    padding: 0px 30px;
  }
  .video-marquee-logo {
    max-width: 200px;
    margin: 0 auto;
  }
  .video-marquee-content h1 {
    font-family: 'Vitesse', sans-serif;
    font-weight: 600;
    font-size: 62px;
    line-height: 50px;
    margin: 0px auto;
    color: #FFFFFF;
  }
  .video-marquee-content h1 span {
    display: block;
    font-size: 32px;
  }
  .video-marquee-content p {
    color: #FFFFFF;
    font-size: 28px;
    margin-top: 5px;
  }
  .video-marquee-content a:visited, .uu-btn.white:visited {
    background-color: #FFFFFF;
    color: #CC0000;
  }
  @media only screen and (max-width: 900px) {
    .video-marquee-logo {
      max-width: 80px;
    }
    .video-marquee-container {
      margin-top: 0px;
      min-height: 350px;
    }
    .video-marquee-content {
      margin: 100px auto 100px auto;
    }
    .video-marquee-content h1 {
      font-size: 36px;
      line-height: 1.2;
    }
    .video-marquee-content h1 span {
      font-size: 18px;
    }
    .student-resources-social-feed {
      height: 500px !important;
    }
  }
  
  
  /********************
  CARDS
  ********************/
  #transform-student-resources-cards {
    position: relative;
    margin-top: -150px;
    z-index: 444;
    border: 0px !important;
  }
  .student-resources-cards {
    display: flex;
    flex-flow: row wrap;
    justify-content: flex-start;
    align-items: stretch;
    gap: 15px;
    box-sizing: border-box;
    position: relative;
    margin: -180px auto 0px auto;
    max-width: 1160px;
    padding: 30px;
    z-index: 444;
  }
  .student-resources-card {
    flex: 1 1 calc(33.333% - 15px);
    display: flex;
    flex-flow: column wrap;
    justify-content: flex-start;
    align-items: stretch;
    color: #47494a;
    background-color: #ffffff;
    box-shadow: 0px 10px 20px 0px rgb(0 0 0 / 5%);
    border-radius: 6px;
    transition:  all 0.3s;
    overflow: visible;
    width: 100%;
  }
  .student-resources-card:hover {
    box-shadow: 0px 10px 30px 0px rgb(0 0 0 / 15%);
  }
  
  .student-resources-card-body {
    flex: 1 1 auto;
    padding: 30px;
  }
  .student-resources-card-title.faux-heading.h4 {
    font-family: "Vitesse", sans-serif;
    font-size: 1.2rem;
    line-height: 1.2;
    color: #000000;
    font-weight: bold;
    margin: 0;
  }
  .student-resources-card-title.faux-heading.h2.alt {
    font-family: "Vitesse", sans-serif;
    font-size: 1.75rem;
    color: #FFFFFF;
    font-weight: bold;
    margin: 0;
  }
  .student-resources-card-title.faux-heading.h2.black {
    color: #000000;
  }
  /* FIRST CARD */
  .student-resources-card.first-card {
    position: relative;
    flex: 0 1 calc(66.666%);
    flex-flow: row nowrap;
  }
  .student-resources-card.first-card .student-resources-card-header {
    flex: 0 0 250px;
    height: 313px;
  }
  .student-resources-card.first-card .student-resources-card-img img {
    position: absolute;
    bottom: 0px;
    left: -10px;
    width: 268px !important;
  }
  .student-resources-card-title-img {
    margin: 0px auto;
  }
  
  /* SECOND CARD */
  .student-resources-card.second-card {
    flex: 1 1 calc(33.333% - 15px);
    background-color: #BE0000;
    color: #FFFFFF;
    text-align: center;
    gap: 0px;
  }
  .student-resources-card.second-card .student-resources-card-title.faux-heading.h4 {
    color: #FFFFFF;
    line-height: 1.2;
    margin-top: 15px;
  }
  
  .student-resources-card.img-left {
    flex-flow: row nowrap;
    justify-content: flex-start;
    align-items: stretch;
  }
  .student-resources-card.img-left .student-resources-card-header, .student-resources-card.img-left .student-resources-card-body {
    flex: 1 1 50%;
  }
  .student-resources-card.img-left .student-resources-card-img {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    border-radius: 6px 0px 0px 6px;
    min-height: 250px;
  }
  
  @media only screen and (max-width: 1070px) {
    .student-resources-cards {
      margin: -100px auto 0px auto;
    }
    .student-resources-card, .student-resources-card.second-card {
      flex: 1 1 calc(50% - 15px);
    }
    .student-resources-card.first-card {
      flex: 1 1 calc(100%);
      flex-flow: column wrap;
    }
    .student-resources-card.first-card .student-resources-card-img, .student-resources-card.first-card .student-resources-card-header {
      display: none;
    }
  }
  @media only screen and (max-width: 900px) {
    .student-resources-cards {
      margin: -50px auto 0px auto;
    }
    .student-resources-card, .student-resources-card.second-card {
      flex: 1 1 calc(100% - 15px);
    }
    .student-resources-card.img-left {
      display: block;
      flex-flow: column wrap;
    }
    .student-resources-card.img-left .student-resources-card-img {
      border-radius: 6px 6px 0px 0px;
    }
  
  }
.home-marquee h1 {
  font-family: "Vitesse", sans-serif;
  font-weight: 600;
  font-size: 34px!important;
  line-height: 50px;
  color: #FFFFFF!important;
  }

.home-marquee .u-of-u-marquee-overlay {
  background: rgb(0,0,0)!important;
  background: -moz-linear-gradient(180deg, rgba(0,0,0,0) 20%, rgba(0,0,0,1) 100%)!important;
  background: -webkit-linear-gradient(180deg, rgba(0,0,0,0) 20%, rgba(0,0,0,1) 100%)!important;
  background: linear-gradient(180deg, rgba(0,0,0,0) 20%, rgba(0,0,0,1) 100%)!important;
  opacity: 2 !important;
}
@media only screen and (max-width: 900px) {
  .u-of-u-marquee .u-of-u-marquee-content{ 
    padding: 0px 30px !important;
  }
  .uu-quick-links-tab a {
    padding: 10px !important;
    flex: 1 1 20% !important;
  }
  .uu-quick-links-tab a img {
    margin: 0px !important;
  }
}
@media only screen and (max-width: 767px) {
  .home-marquee .u-of-u-marquee-container .u-of-u-marquee .item {
    height: 450px !important;
  }
  .u-of-u-marquee-container .u-of-u-marquee .item {
    height: 350px !important;
  }
}

/******* HOMEPAGE / UPCOMING EVENTS SHORTCODE *******/

/* Small-screen tweaks (unchanged) */
@media screen and (max-width: 780px) {
    .home .uu-quick-links-tab-wrapper.qlt-offset-bottom .uu-quick-links-tab {
        bottom: -10px !important;
    }
    .home #pl-8 .so-panel {
        margin-bottom: 0 !important;
    }
}

/* Container & Typography */
.homepage-upcoming-events {
    background-color: #fff;
    font-family: inherit, Helvetica, Arial, sans-serif;
}
.section-title {
    font-size: 24px;
    text-align: center;
    margin-bottom: 30px;
}

/* Grid: two equal-height columns */
.events-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    align-items: stretch;
}

/* — Large Card — */
.large-card {
    display: flex;
    flex-direction: column;
    background: #fff;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    border-radius: 4px;
    overflow: hidden;
    height: 100%;
}

/* Image wrapper with aspect-ratio */
.large-card .event-image {
    position: relative;
    width: 100%;
    aspect-ratio: 4 / 3;
    overflow: hidden;
}
.large-card .event-image img {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

/* Content inside large card */
.event-content {
    flex: 1;
    padding: 15px;
}
.event-title {
    margin: 0 0 10px;
    font-weight: bold;
    font-family: "Vitesse", sans-serif;
}
.event-description {
    margin: 0 0 10px;
    font-size: 14px;

}
.read-more,
.btn {
    display: inline-block;
    padding: 8px 16px;
    border-radius: 4px;
    font-size: 16px;
    font-weight: bold;
    text-decoration: none;
    margin-top: 10px;
}
.read-more { background: #fff; color: #be0000; }
.btn-secondary { background-color: #333; color: #fff; }
.event-date {
    display: block;
    margin-top: 10px;

}
.event-date {
    color: #000000;
}
/* — Small Cards Column — */
.small-cards {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
    gap: 10px;
}
.small-card {
    display: flex;
    background: #fff;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    border-radius: 4px;
    overflow: hidden;
    min-height: 140px;
}

/* Small-card image wrapper */
.small-card-image {
    position: relative;
    flex: 0 0 200px;
    aspect-ratio: 1 / 1;
    overflow: hidden;
}
.small-card-image img {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

/* Small-card text */
.small-card-content {
    flex: 1;
    padding: 15px;
}
.small-card-title {
    font-size: 16px !important;
    line-height: 1.2rem;
    font-weight: bold;
    font-family: "Vitesse", sans-serif;
}
.small-card-description {
    margin: 0 0 10px;
    font-size: 14px;
    font-family: inherit;
}
.small-event-date {
    display: block;
    color: #000;
}

.all-events-link {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    margin-top: 30px;
}

/* Ensure your buttons don’t expand to full width */
.all-events-link .btn {
    display: inline-block;
    margin: 0;
}

/* — Responsive — */
@media (max-width: 768px) {
    .events-grid {
        grid-template-columns: 1fr;
    }
    .small-cards {
        height: auto;
    }
    .small-card {
        flex-direction: column;
        min-height: auto;
    }
    .small-card-image {
        flex: none;
        width: 100%;
        aspect-ratio: 16 / 9;
    }
    .small-card-content {
        padding: 15px;
    }
}

/* Landscape tablet tweaks (unchanged) */
@media screen and (min-width: 780px) and (max-width: 1024px) {
    .page-id-429 .facetwp-input-wrap {
        width: 250px;
    }
    .page-id-429 .facetwp-facet input.facetwp-search {
        padding-right: 0 !important;
    }
}
/* END*/

/* home page card icons */
.limit-card-widget-icon-height img {
    height: 150px;
}