:root {
  /* Forest green */
  --color-forest-green: #0f4331;

  /* Midnight Blue */
  --color-midnight-blue: #0b1b30;

  /* Sky Blue */
  --color-sky-blue: #b2e6f5;

}

p:last-child{
  margin-bottom: 0;
}

.site-logo-and-mit-address .mit-logo svg{
  height: 48px;
  width: auto;
}

.listing-view .views-row{
  margin-bottom: 35px;
}
.listing-view .views-row:last-child{
  margin-bottom: 0;
}

.teaser-wrap{
  display: flex;
  gap: 4%;
  border: 1px solid #000;
  padding: 50px 50px 60px;
  background: none;
}
a.teaser-wrap:hover{
  background: none;
}
.teaser-image{
  width: 30%;
  flex-shrink: 0;
}
.teaser-content{
  flex-grow: 1;
}
.teaser-content h3{
  margin-top: 0;
  font-size: 34px;
  line-height: 1.3;
  margin-bottom: 10px;
  text-decoration: underline;
  text-decoration-color: transparent;
  text-decoration-thickness: 2px;
  text-underline-offset: 6px;
  transition: text-decoration-color 0.2s ease;
}

.teaser-wrap:hover .teaser-content h3{
  text-decoration-color: #25812a;
}
a.teaser-wrap{
  color: #000;
}
a.teaser-wrap:focus{
  outline: none;
}
.teaser-content .field--name-field-news-descr,
.teaser-content .field--name-field-summary{
  font-size: 18px;
  line-height: 1.45;
  margin-bottom: 20px;
}
.teaser-content .date-location{
  font-size: 15px;
  font-weight: 500;
}
.teaser-content .field--name-field-publication-date{
  font-size: 16px;
}
.teaser-content .room-location{
  margin-bottom: 5px;
}
.node--type-event .room-location > div,
.node--type-event .date-time > div{
  display: inline-block;
}

.node--type-event .field--name-field-room:not(:first-child):before{
  content: "-";
  margin: 0 5px;
}

.node--type-event .field--name-field-event-times:not(:first-child):before{
  content: "|";
  margin: 0 5px;
}
.node--type-event .field--name-field-contact-email .field__label:after{
  content: ":";
  margin-right: 4px;
  display: inline-block;
}
.node--type-event .field--name-field-contact-email > div{
  display: inline-block;
}
.node--type-event .event-info{
  margin-bottom: 45px;
}
.node--type-event .event-info > div{
  margin-bottom: 5px;
}
.node--view-mode-full .field--name-field-cover-image{
  margin-bottom: 45px;
}
body.news #block-mit-content,
body.event #block-mit-content{
  margin-top: 70px;
}
body.news h1,
body.event h1{
  margin-top: 0;
}
.content-type-label{
  margin-bottom: 5px;
}

/* Pagers */
.listing-view .pager {
  border-top: 1px solid #000;
  font-size: 16px;
  font-weight: 600;
  margin-top: 30px;
  padding-top: 20px
}

.listing-view .pager .pager__items {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  float: right;
  list-style: none;
  margin: 0;
  padding: 0;
  -webkit-box-orient: horizontal;
  -webkit-box-direction: normal;
  -ms-flex-flow: row wrap;
  flex-flow: row wrap
}

.listing-view .pager .pager__items>li {
  margin: 0;
  padding: 0
}

.listing-view .pager .pager__items li.pager__item {
  line-height: 40px;
  margin: 0 5px;
  padding: 0 20px
}

.listing-view .pager .pager__items li.pager__item a {
  background: none;
  color: #01777b;
  color: #000;
  text-decoration: none;
  -webkit-transition: none;
  transition: none
}

.listing-view .pager .pager__items li.pager__item a.hover,.listing-view .pager .pager__items li.pager__item a:hover {
  background-size: auto
}

.listing-view .pager .pager__items li.pager__item a:focus {
  opacity: 1;
  outline: none
}

.listing-view .pager .pager__items li.pager__item a:hover {
  color: #01777b
}

.listing-view .pager .pager__items li.pager__item.is-active {
  border-bottom: 5px solid #000
}

.listing-view .pager .pager__items li.pager__item.is-active a:hover {
  color: #000;
  cursor: default;
  pointer-events: none;
  text-decoration: none
}

.listing-view .pager .pager__items li.pager__item.pager__item--ellipsis {
  margin: 0
}

.listing-view .pager .pager__items li.pager__item--previous {
  -webkit-box-ordinal-group: 0;
  -ms-flex-order: -1;
  order: -1
}

.listing-view .pager .pager__items li.pager__item--first,.listing-view .pager .pager__items li.pager__item--last {
  display: none
}

.listing-view .pager .pager__items li.pager__item--previous a {
  margin: 0 0 0 40px;
  position: relative
}

.listing-view .pager .pager__items li.pager__item--previous a:after {
  background-image: url('data:image/svg+xml;charset=utf-8,<svg xmlns="http://www.w3.org/2000/svg" width="35.397" height="31.098" viewBox="0 0 35.397 31.098"><path fill="none" stroke="%23000" d="M18.328 1.13a2.15 2.15 0 0 1 3.04 0l12.9 12.9a2.147 2.147 0 0 1 0 3.04l-12.9 12.9a2.15 2.15 0 0 1-3.04-3.04l9.229-9.229H2.65a2.15 2.15 0 0 1 0-4.3h24.907l-9.229-9.229a2.15 2.15 0 0 1 0-3.042Z"/></svg>');
  background-repeat: no-repeat;
  background-size: contain;
  content: "";
  display: block;
  height: 24px;
  left: -30px;
  position: absolute;
  top: 50%;
  -webkit-transform: translateY(-50%);
  -ms-transform: translateY(-50%);
  transform: translateY(-50%);
  -webkit-transform: translateY(-50%) rotate(180deg);
  -ms-transform: translateY(-50%) rotate(180deg);
  transform: translateY(-50%) rotate(180deg);
  -webkit-transition: all .25s ease;
  transition: all .25s ease;
  width: 24px
}

.listing-view .pager .pager__items li.pager__item--previous a:hover:after {
  left: -42px
}

.listing-view .pager .pager__items li.pager__item--next a {
  margin: 0 40px 0 0;
  position: relative
}

.listing-view .pager .pager__items li.pager__item--next a:after {
  background-image: url('data:image/svg+xml;charset=utf-8,<svg xmlns="http://www.w3.org/2000/svg" width="35.397" height="31.098" viewBox="0 0 35.397 31.098"><path fill="none" stroke="%23000" d="M18.328 1.13a2.15 2.15 0 0 1 3.04 0l12.9 12.9a2.147 2.147 0 0 1 0 3.04l-12.9 12.9a2.15 2.15 0 0 1-3.04-3.04l9.229-9.229H2.65a2.15 2.15 0 0 1 0-4.3h24.907l-9.229-9.229a2.15 2.15 0 0 1 0-3.042Z"/></svg>');
  background-repeat: no-repeat;
  background-size: contain;
  content: "";
  display: block;
  height: 24px;
  position: absolute;
  right: -30px;
  top: 50%;
  -webkit-transform: translateY(-50%);
  -ms-transform: translateY(-50%);
  transform: translateY(-50%);
  -webkit-transition: all .25s ease;
  transition: all .25s ease;
  width: 24px
}

.listing-view .pager .pager__items li.pager__item--next a:hover:after {
  right: -42px
}


/* Responsive Videos */
.field--name-field-media-oembed-video {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
}

.field--name-field-media-oembed-video iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}
.content-block--text .section--main{
  max-width: 980px;
  margin-right: 0;
  width: 100%;
  float: none;
}
.paragraph--type--image,
.paragraph--type--video{
  margin-top: 45px;
  margin-bottom: 45px;
}
.paragraph--type--video .field--name-field-video,
.paragraph--type--image .field--name-field-image{
  max-width: 980px;
}
.paragraph--type--video.full-width .field--name-field-video,
.paragraph--type--image.full-width .field--name-field-image{
  max-width: none;
}
.field--name-field-cta-options,
.content-block .field--name-field-cb-text-sidectas{
  display: flex;
  gap: 2%;
}
.field--name-field-cta-options > .field__item,
.content-block .field--name-field-cb-text-sidectas > .field__item{
  flex: 1 1 calc(96% / 2);
}
.block--side-cta{
  margin-bottom: 0;
}

.paragraph--type--card .field--name-field-card-text{
  font-size: 18px;
  line-height: 1.6em;
  color: #000;
}
.paragraph--type--card .field--name-field-card-icon,
.paragraph--type--card  .field--name-field-card-icon-svg{
  margin-bottom: 30px;
}
.paragraph--type--card  .field--name-field-card-icon img,
.paragraph--type--card  .field--name-field-card-icon-svg img{
  height: 90px;
  width: auto;
}
.paragraph--type--card .card-link:hover h2,
.paragraph--type--card .card-link:hover .field--name-field-card-text{
  color: #25812a;
}

/* Small CTA */
.paragraph--type--small-cta-grid{
  margin-top: 45px;
  margin-bottom: 45px;
}
.paragraph--type--small-cta{
  position: relative;
}
.small-cta-content{
  padding: 35px 8% 50px;
}
.small-cta-content h2{
  font-size: 36px;
  margin: 0 0 20px;
}
.small-cta-content .field--name-field-cta-text{
  font-size: 18px;
  line-height: 1.7em;
  margin-bottom: 29px;
  margin-top: 0;
}
.paragraph--type--small-cta .field--name-field-cta-background{
  position: absolute;
  inset: 0;          /* shorthand for top:0; right:0; bottom:0; left:0 */
  z-index: -1;
  opacity: .8;
}
.paragraph--type--small-cta .field--name-field-cta-background img{
  width: 100%;
  height: 100%;
  object-fit: cover; /* ensures the image fills while keeping aspect ratio */
  opacity: 0.8;
  display: block;    /* removes inline-gap issues */
}

/* Big CTA */
.paragraph--type--big-cta{
  margin-top: 60px;
  margin-bottom: 60px;
}
.paragraph--type--custom-big-cta .bg-container{
  background-position: 100%;
  background-repeat: no-repeat;
  background-size: contain;
  border-radius: 10px;
  padding: 80px 2.5% 80px;
  display: flex;
  gap: 4%;
}
.paragraph--type--custom-big-cta .big-cta-content{
  flex: 50%;
}
.paragraph--type--custom-big-cta .field--name-field-cta-image{
  flex: 46%;
}
.paragraph--type--custom-big-cta .field--name-field-cta-image img{
  border: 2px solid #FFF;
}
.paragraph--type--custom-big-cta .big-cta-content .field--name-field-cta-text{
  line-height: 1.7em;
  margin-bottom: 29px;
  margin-top: 0;
  font-size: 22px;
}
.paragraph--type--custom-big-cta h2{
  margin-top: 0;
}
.forest-green .bg-container{
  background-color: var(--color-forest-green);
  color: #FFF;
  background-image: url('data:image/svg+xml;charset=utf-8,<svg xmlns="http://www.w3.org/2000/svg" width="779.434" height="564" viewBox="0 0 779.434 564"><g fill="%231F5C52" transform="translate(-1019.645 -1879)"><path d="M1337.78 1879h436.3v564h-754.435Z"/><rect width="41" height="564" rx="10" transform="translate(1758.078 1879)"/></g></svg>');
}
.dark-bg h2{
  color: #FFF;
}
.dark-bg a{
  color: #FFF;
  background-image: linear-gradient(transparent, transparent), linear-gradient(#FFF, #FFF);
}
.dark-bg a.link-item.display-with-arrow{
  color: #FFF;
}
.dark-bg a.link-item.display-with-arrow:after{
  background-image: url('data:image/svg+xml;charset=utf-8,<svg xmlns="http://www.w3.org/2000/svg" width="35.397" height="31.098" viewBox="0 0 35.397 31.098"><path fill="none" stroke="%23FFF" d="M18.328 1.13a2.15 2.15 0 0 1 3.04 0l12.9 12.9a2.147 2.147 0 0 1 0 3.04l-12.9 12.9a2.15 2.15 0 0 1-3.04-3.04l9.229-9.229H2.65a2.15 2.15 0 0 1 0-4.3h24.907l-9.229-9.229a2.15 2.15 0 0 1 0-3.042Z"/></svg>');
}
.dark-bg a.link-item.display-as-button{
  color: #FFF;
  border-color: #FFF;
  background-image: url('data:image/svg+xml;charset=utf-8,<svg xmlns="http://www.w3.org/2000/svg" width="35.397" height="31.098" viewBox="0 0 35.397 31.098"><path fill="none" stroke="%23FFF" d="M18.328 1.13a2.15 2.15 0 0 1 3.04 0l12.9 12.9a2.147 2.147 0 0 1 0 3.04l-12.9 12.9a2.15 2.15 0 0 1-3.04-3.04l9.229-9.229H2.65a2.15 2.15 0 0 1 0-4.3h24.907l-9.229-9.229a2.15 2.15 0 0 1 0-3.042Z"/></svg>');
}
.dark-bg a.link-item.display-as-button:hover{
  color: #000;
  border-color: #000;
  background-image: url('data:image/svg+xml;charset=utf-8,<svg xmlns="http://www.w3.org/2000/svg" width="35.397" height="31.098" viewBox="0 0 35.397 31.098"><path fill="none" stroke="%23000" d="M18.328 1.13a2.15 2.15 0 0 1 3.04 0l12.9 12.9a2.147 2.147 0 0 1 0 3.04l-12.9 12.9a2.15 2.15 0 0 1-3.04-3.04l9.229-9.229H2.65a2.15 2.15 0 0 1 0-4.3h24.907l-9.229-9.229a2.15 2.15 0 0 1 0-3.042Z"/></svg>');
}
.midnight-blue .bg-container{
  color: #FFF;
  background-color: var(--color-midnight-blue);
  background-image: url('data:image/svg+xml;charset=utf-8,<svg xmlns="http://www.w3.org/2000/svg" width="779.434" height="564" viewBox="0 0 779.434 564"><g fill="%23273C57" transform="translate(-1019.645 -1879)"><path d="M1337.78 1879h436.3v564h-754.435Z"/><rect width="41" height="564" rx="10" transform="translate(1758.078 1879)"/></g></svg>');
}
.sky-blue .bg-container{
  background-color: var(--color-sky-blue);
  background-image: url('data:image/svg+xml;charset=utf-8,<svg xmlns="http://www.w3.org/2000/svg" width="779.434" height="564" viewBox="0 0 779.434 564"><g fill="%2371C0D6" transform="translate(-1019.645 -1879)"><path d="M1337.78 1879h436.3v564h-754.435Z"/><rect width="41" height="564" rx="10" transform="translate(1758.078 1879)"/></g></svg>');
}

.content-block--text .section--side:has(*){
  margin-top: 60px;
}

.view-block--news-all .views-row,
.view-block--news-homepage .views-row{
  padding: 0;
  border: none;
}
.field--name-field-sidecta-blk-link,
.field--name-field-cta-blk-link,
.field--name-field-fp-intro-cta1-link,
.field--name-field-fp-intro-cta2-link,
.field--name-field-fp-intro-intro-link{
  margin-top: 29px;
}
body.news .content-block--news-dek{
  font-size: inherit;
}

@media (max-width: 1020px){
  .teaser-wrap{
    flex-direction: column;
    padding: 30px 4% 40px;
  }
  .teaser-image{
    width: 100%;
    margin-bottom: 30px;
  }
  .field--name-field-cta-options,
  .content-block .field--name-field-cb-text-sidectas{
    flex-direction: column;
  }
  .field--name-field-cta-options > .field__item:not(:last-child),
  .content-block .field--name-field-cb-text-sidectas > .field__item:not(:last-child){
    margin-bottom: 30px;
  }
  .paragraph--type--custom-big-cta .bg-container{
    flex-direction: column;
    padding: 45px;
    background-position: 0;
    background-size: cover;
    padding: 50px 5% 80px;
  }
  .big-cta-content:not(:last-child){
    margin-bottom: 35px;
  }
  .content-block--text .section--main{
    margin-bottom: 0;
  }
}
