/* Global overwrites */
* { box-sizing:border-box; }
html {
  scroll-behavior: smooth;
}
h2 { text-wrap: balance; }
.slide { margin-top:-16px; }
.dept-nav-section { display:none !important; }
img.slide-image { aspect-ratio: 32 / 9; }
.shadow { background-image: none;  }
.cards_col .card-row .card-box-a .card-title { font-size: 1.3rem; }
.card-description { font-size: 1.1rem; }
.mx-0:has(.tvu-nav-container) { margin-left:-12px !important; margin-right:-12px !important; }

.custom_html_col .content-row ul {
    padding-left:0px;
}

.row:has(.pre-row-100) { width:100%; height: 100%; }

.slide .position-relative::before { 
    z-index:3;
    width:50%; height:60%;
    background-position: 100% 50%;
    background-size: contain;
    background-repeat:no-repeat;
    background-image: url(../../../_files/images/misc/logo-tvu.webp);
    display:block;
    position:absolute;
    top:15%;
    content: "";
}
.slide-title-description { 
    top:auto;
    left:auto;
    transform:translate(0, 0);

position: absolute;
width: 1px;
height: 1px;
padding: 0;
margin: -1px;
overflow: hidden;
clip-path: rect(0 0 0 0);
white-space: nowrap;
border: 0;
}

.row:has(.v3-col-all) {  width:100%; height:100%; }

/* Image Effects */
.tvu-nav-container { display:block; width:100%; padding:50px;
    background-image: url(../../../_files/images/hero/sky-palm.webp); 
    background-size:cover;   
    background-repeat: no-repeat; 
    background-position: bottom; }
    
.v3-img-fx-edge-broken img { width:100%; height:100%; clip-path: polygon(0% 0%, 90% 0%, 100% 25%, 95% 55%, 99% 75%, 90% 100%, 0% 100%);  }

.v3-side-txt { display:flex; flex-direction:column; width:100%; height:100%; padding:5em; justify-content:center;  }
.v3-img-cover, 
.v3-img-contain { display:block; width:100%; height:100%; }
.v3-img-cover img { width:100%; height:100%; object-fit:cover; }
.v3-img-contain img { width:100%; height:100%; object-fit:contain; }
.v3-bg-orange { background-color:#cb4900; color:#ffffff; }
.v3-bg-orange h2 { color:#ffffff; font-size:2rem; text-align:center; text-wrap: balance; }

/* By The Numbers */
.v3-icon-round { display:block; width:60px; height:60px; margin:auto; border-radius:50%; padding:5px; color:#ffffff; background-color:#494949; font-size:1.7rem; text-align:center; }
.v3-stat-h1, .v3-stat-h2, .v3-stat-h3 { text-align:center; }
.v3-stat-h1 { margin:0px; font-size:2.3rem; color:#cb4900; font-weight:bold; }
.v3-stat-h2 { margin:0px; font-size:1.3rem; color:#494949; font-weight:bold; text-transform:uppercase; }
.v3-stat-h3 { margin:0px; font-size:1.3rem;  display:inline-block; margin-left:5px;  }
.v3-stat-desc { margin:0px;  border-top:3px solid #cb4900; padding-top:3px; }
.v3-stat-col { border:1px solid #eeeeee; padding:15px 25px; border-radius:10px; }

/* Image Effects */
.v3-stroke-imgx img {
 width:100%; height:100%; object-fit:cover; 
    -webkit-mask-image: url('../../../_files/images/misc/edge-broken-01.png');
    -webkit-mask-repeat: no-repeat;
    -webkit-mask-size:cover;
    -webkit-mask-mode: alpha;    
    mask-image: url('../../../_files/images/misc/edge-broken-01.png');
    mask-repeat: no-repeat;
    mask-size:cover;
    mask-mode: alpha;
}


/* Future */
.tvu-pillar { display:block; width:100%; margin-bottom:3em; }
.tvu-pillar-top { display:block; width:100%;  text-align:center; background-color:#646469; clip-path: polygon(0% 100%, 0% 75%, 25% 0%, 75% 0%, 100% 75%, 100% 100%); padding:20px 5px 10px 5px; }
.tvu-pillar-top img { margin:auto; }
.tvu-pillar-middle { display:block; width:96%; 
    background-color:#eeeeee; text-align:center; padding:5px; font-weight:bold; font-size:1.3rem;
    margin:auto; border:5px solid #ffffff; }
.tvu-pillar-columns { display:block; width:100%; padding:0px 5%; }
.tvu-pil-col-top { display:block; width:100%; height:30px; background-color:#cb4900; border:3px solid #ffffff; }
.tvu-pillar-col { display:block; height:100%; background-color:#cb4900; color:#ffffff; text-align:center; width:92%; margin: 0px 4%; padding:20px 10px;  }
.tvu-pil-col-title { font-weight:bold; font-size:1.3rem; }
.tvu-pil-col-base { display:block; width:100%;  height:50px; background-color:#d3d3d3; border:3px solid #ffffff; }

/* More About UTRGV - Footer */
.tvu-more { display:block; width:100%; padding:50px;
    background-image: url(../../../_files/images/hero/utrgv-bro-main-01.webp); 
    background-size:cover;   
    background-repeat: no-repeat; 
    background-position: center; }
.tvu-inner { background-color:#ffffff; padding:20px; text-align:center; }



/* RETURN TO TOP */
.tvu-back-to-top {
  position: fixed;
  bottom: 25px;
  right: 25px;
  width: 50px;
  height: 50px;
  background-color: #cb4900;
  color: #ffffff;
  text-decoration: none;
  border-radius: 50%;
  border:2px solid #ffffff; 
  /* Centering the arrow */
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  
  /* Layering and animation */
  z-index: 1000;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  transition: background-color 0.3s, transform 0.3s;
}

.tvu-back-to-top:hover {
  background-color: #494949;
  transform: translateY(-5px); /* Subtle lift effect */
}

a.tvu-back-to-top:hover, a.tvu-back-to-top:visited, a.tvu-back-to-top:active  { color:#ffffff; text-decoration:none; }

@media only screen and (max-width:740px) {
    .v3-side-txt { padding:1em; }
}
