/* University Template over-ride
   Launched: 2026-04-30
   Author: Digital Hill/Notre Dame Web Team
   ----------------------------------------------------*/
@layer site{
  
  /* 480px / sm
  ----------------------------------------------------*/ /* End layer site */
  
  /* 768px / md
  ----------------------------------------------------*/ 
  
  /* 960px / ml
  ----------------------------------------------------*/
  
  /* 1200px / lg
  ----------------------------------------------------*/
  
  /* 1400px / xl
  ----------------------------------------------------*/
  
  /* 1600px / xxl
  ----------------------------------------------------*/
  
  /* Print
  ----------------------------------------------------*/
  
}

/* Sessions */
/*
ul.session-grid {
    box-sizing: border-box;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    grid-template-rows: auto;
    list-style-type: none;
    margin: 0;
    overflow: hidden;
    padding: 0;
    position: relative;
    width: 100%;
}

ul.session-grid li {
  position: relative;
    box-sizing: border-box;
    display: inline-grid;
    width: 100%;
}

ul.session-grid li a {
}

ul.session-grid li img {
    display: block;
    height: auto;
    width: 100%;
}

span.session_sort {
    position: absolute;
    top: 0;
    left: 0;
    width: 50px;
    height: 50px;
    z-index: 3;
    color: white;
    font-weight: bold;
    background: var(--brand-gold);
    display: grid;
    align-items: center;
    justify-items: center;
}
*/

/* NDTv4 doesn't seem to have any overlay on the videos? */
@container video (width >= 48rem) {
    body .video:has(.play-label):after {
      display: none !important;
    }
}
@container video (width >= 48rem) {
    body .video .play {
      display: none;
    }
}

/* iFrame max width patch
#hs-form iframe,
.hbspt-form,
#hs-form {
  max-width: 54em;
}
*/

/* Language select */
.language_select_wrapper {
  display: inline-block;
  margin: 0;
  padding: 0;
  position: relative;
}
.language_select_wrapper .language_globe {
  width: 20px;
  height: 20px;
  position: absolute;
  z-index: 1;
  left: 4px;
  top: calc(50% - 10px);
}
body[data-theme="light"] .language_select_wrapper .language_globe path {
  fill: var(--brand-blue-dark);
}
body[data-theme="dark"] .language_select_wrapper #language_select option {
  background: var(--brand-blue-dark);
}

.language_select_wrapper .language_caret {
  position: absolute;
  width: 12px;
  height: 12px;
  z-index: 1;
  top: calc(50% - 6px);
  right: 4px;
}
#language_select {
  border: 1px solid transparent;
  background: transparent;
  background-color: transparent;
  appearance: none;
  padding: 4px 20px 4px 30px;
  margin: 0;
  position: relative;
  z-index: 2;
  width: 80px;
  max-width: 800px;
  overflow: hidden;
  outline: transparent;
}
select#language_select:focus {
  outline: var(--border-primary);
  box-shadow: none;
}
body[data-theme="dark"] #language_select {
  color: white;
}
@media screen and (max-width:960px) {
  .language_select_wrapper {
    display: none;
  }
}

/* Homepage Hero */
body.home main.site-content,
body.sessions main.site-content {
  padding-top: 0;
}
/*.site-content p {
  max-width: 100%;
}*/
section.homepage-hero {
  /*--section-margin: clamp(3rem, 8vw, 8rem);*/
}
body[data-theme="light"] .section.homepage-hero .section-title {
  color: var(--brand-blue-dark);
}
body[data-theme="light"] .section.homepage-hero .bg--gradient:before {
  background: linear-gradient(var(--gradient-angle), var(--warm-white-dark) 5%, transparent 80%);
}
body[data-theme="light"] .section.homepage-hero p {
  color: var(--gray);
}

/* Homepage Notice */
body[data-theme="dark"] .homepage-notice {
  background: transparent;
  color: #fff;
}

/* Homepage Hero 2 */
body[data-theme="light"] section.homepage-hero-2 .bg--gradient:before {
  background: linear-gradient(0deg,rgba(9,21,40,0.8) 0%, rgba(9,21,40,0.8) 100%);
  backdrop-filter: blur(4px);
}
body[data-theme="dark"] section.homepage-hero-2 .bg--gradient:before {
  background: linear-gradient(0deg,rgba(238,244,236,0.8) 0%, rgba(238,244,236,0.8) 100%);
  backdrop-filter: blur(4px);
}
body[data-theme="dark"] section.homepage-hero-2 * {
  color: var(--brand-blue-dark);
}
body[data-theme="dark"] section.homepage-hero-2 .btn {
  border-color: var(--brand-blue-dark);
}
.section.about-hero-2 .section-media--bg img {
  object-position: right top !important;
}


/* About */
body[data-theme="light"] .section.about-hero .section-title {
  color: var(--brand-blue-dark);
}
body[data-theme="light"] .section.about-hero .bg--gradient:before {
  background: linear-gradient(var(--gradient-angle), var(--warm-white-dark) 5%, transparent 80%);
}
body[data-theme="light"] .section.about-hero p {
  color: var(--gray);
}
.section.about-hero .section-media--bg img {
  object-position: right top !important;
}
.section.about-hero-2 .section-media--bg img {
  object-position: right top !important;
}

/* About Hero 3 */
body .section.about-hero-3 .section-media img {
  object-position: right top !important;
}
body[data-theme="light"] .section.about-hero-3 .bg--gradient:before {
  background: linear-gradient(var(--gradient-angle), var(--warm-white-dark) 30%, rgba(239,233,216,0.8) 60%, rgba(239,233,216,0.0) 100%);
}

body[data-theme="dark"] .section.about-hero-3 .bg--gradient:before {
  background: linear-gradient(var(--gradient-angle), var(--brand-blue-dark) 30%, rgba(8,23,41,0.8) 60%, rgba(8,23,41,0.0) 100%);
}
body[data-theme="dark"] .section.about-hero-3 .section-title {
  color: white;
}
body[data-theme="dark"] .section.about-hero-3 p {
  color: white;
}

/*body[data-theme="dark"] .section.about-hero-3 .bg--gradient:before {
  background: linear-gradient(var(--gradient-angle), var(--brand-blue-dark) 5%, transparent 80%);
}
body[data-theme="light"] .section.about-hero-3 .bg--gradient:before {
  background: linear-gradient(var(--gradient-angle), var(--warm-white-dark) 10%, rgba(239,233,216,0.4) 100%);
}

body[data-theme="light"] .section.about-hero-3 .section-media img {
  filter: hue-rotate(320deg)  sepia(80%);
}
body[data-theme="dark"] .section.about-hero-3 .section-media img {
  filter: hue-rotate(15deg) sepia(60%);
}*/
body.single-session .breadcrumbs li:last-child {
    display: inline-block;
}
body.single-session[data-theme="light"] .bg--gradient.bg--brand-gold:before,
body.single-session[data-theme="light"] .section.session-hero .bg--gradient:before {
  background: linear-gradient(var(--gradient-angle), var(--warm-white-dark) 10%, rgba(239,233,216,0.4) 100%);
}
body.single-session[data-theme="light"] .section.session-hero .breadcrumbs li {
  color: var(--gray);
}
body.single-session[data-theme="light"] .section.session-hero h1 {
  color: var(--brand-blue-dark);
}
body.single-session[data-theme="light"] .section.session-hero .breadcrumbs a {
  color: black;
}
/* Too Dark! body[data-theme="dark"] .section.about-hero-3 .section-media img {
  filter: hue-rotate(120deg) sepia(60%);
} */

/* Homepage Image Borders
body.home .section.section--screen.full-width figure img {
  border-right: 4px solid var(--brand-gold);
}
*/

/* Single Session */
body[data-theme="dark"].single-session .page-header .page-title-wrapper .breadcrumbs a,
body[data-theme="dark"].single-session .page-header .page-title-wrapper .breadcrumbs li,
body[data-theme="dark"].single-session .page-header .page-title-wrapper h1 {
  color: white !important;
} 