p.image {
  padding-bottom: 56.25%;
  width: 100%;
  height: 0;
  overflow: hidden;
  position: relative;
  margin-bottom: 0;
}

p.image img,
p.image iframe,
p.image video {
  position: absolute;
  width: 100%;
  height: 100%;
  left: 0;
  top: 0;
  object-fit: contain;
  object-position: center;
  border: none;
}

p.image img {
  object-fit: cover;
}

.site-header-noimage,
.page-title {
  display: none;
}

.site-header .page-header {
  display: none;
}

.site-header h1 {
  font-weight: 600 !important;
  color: #ffffff;
}

.site-header .hero {
  position: relative;
  display: block;
  width: 100%;
  min-height: 450px;
  background-size: cover !important;
  background-position: 100% 85% !important;
}

.site-header .hero:before {
  content: '';
  position: absolute;
  width: 100%;
  height: 100%;
  opacity: 0.5;
  background-color: #000000;
  display: block;
}

.site-header .hero .intro-text-paragraph {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 100%;
}

.site-header h1 {
  font-weight: 600 !important;
  color: #ffffff;
  text-transform: uppercase;
  text-shadow: 1px 1px 6px #0e0e0e;
}

.content .row .columns a.button {
  color: #ffffff;
  background-color: #013c65;
  transition: all .3s ease-in-out;
  -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;
  max-width: max-content;
  margin: 0;
  cursor: pointer;
  font-weight: 400;
  line-height: normal;
  position: relative;
  text-align: center;
  display: inline-block;
  padding: .5rem 1.25rem;
  font-size: 1rem;
  border-radius: 25px;
  text-decoration: none;
  border: none;
  text-transform: none;
}

.content .row .columns a.button:hover {
  color: #000000;
  background-color: #f6b000;
}

.content h2 {
  text-transform: uppercase;
  color: #013c65;
  margin-bottom: 1rem;
  font-weight: 600 !important;
}

.content h2:after {
  display: block;
  content: '';
  width: 8rem;
  height: 3px;
  background: #f6b000;
  margin-top: 0.75rem;
}

.content .UNC-blue h2 {
  color: #ffffff;
}

.content .quicklinks label {
  cursor: default;
  width: 100%;
  font-style: italic;
  font-family: "Open Sans", sans-serif;
  color: #013c65;
  font-size: 1rem;
  text-transform: uppercase;
  font-weight: 600 !important;
}

.content .quicklinks__buttons .row .columns a:not(.button):not(.icon-button):not(.icon-button-people):not(.block-button):not(.round-blue-button) {
  color: #ffffff;
  background-color: #013c65;
  transition: all .3s ease-in-out;
  -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;
  margin: 0;
  cursor: pointer;
  font-weight: 400 !important;
  line-height: normal;
  position: relative;
  text-align: center;
  display: inline-block;
  padding: .5rem 1.25rem;
  font-size: 1rem;
  text-decoration: none;
  border: none;
  text-transform: none;
  width: 100%;
}

.content .quicklinks__buttons .row .columns a:not(.button):not(.icon-button):not(.icon-button-people):not(.block-button):not(.round-blue-button):hover {
  color: #000000;
  background-color: #f6b000;
}

.content .preparing-to-move .columns .row {
  margin-bottom: 3rem;
}

.content .row .columns .row .medium-12 h2:after {
  width: 100%;
}

.content .row .columns .row {
  margin-bottom: 3rem;
}

.content .roommate {
  position: relative;
  padding: 3rem 0;
  margin-bottom: 3rem;
}

.content .roommate .image-container {
  display: block;
  min-height: 100%;
  min-width: 49%;
  position: absolute;
  top: 0;
  z-index: 0;
  background-size: cover;
  background-position: center;
  right: 0;
}

@media (max-width: 650px) {
  .content .roommate .image-container {
    position: unset;
    right: unset;
    min-width: 100%;
    min-height: 300px;
  }
}

@media (max-width: 650px) {
  .content .roommate {
    padding-bottom: 0;
  }
}

.content .image-strip {
  margin-bottom: 3rem;
}

.content .image-strip .variable-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  gap: 0 !important;
}

.content .image-strip .variable-grid span {
  height: 100%;
  width: 100%;
  display: block;
}

.content .image-strip .variable-grid span p {
  margin: 0;
  width: 100%;
  height: 100%;
}

.content .image-strip .variable-grid span p img {
  height: 100%;
  width: 100%;
  object-fit: cover;
}

.content .arriving-on-campus iframe {
  max-width: 100%;
}

.content .arriving-on-campus h3 {
  font-weight: 600 !important;
}

.content .safety, .content .support {
  padding: 3rem 0;
}

.content .support {
  background-color: #333333 !important;
}

.animated {
  -webkit-animation-duration: 1s;
  animation-duration: 1s;
  -webkit-animation-fill-mode: both;
  animation-fill-mode: both;
}

@media (prefers-reduced-motion) {
  .animated {
    -webkit-animation: unset !important;
    animation: unset !important;
    transition: none !important;
  }
}

.animated.fadeInDown {
  -webkit-animation-name: fadeInDown;
  animation-name: fadeInDown;
  text-transform: uppercase;
  text-shadow: 1px 1px 6px #0e0e0e;
}

@-webkit-keyframes fadeInDown {
  from {
    opacity: 0;
    -webkit-transform: translate3d(0, -100%, 0);
    transform: translate3d(0, -100%, 0);
  }
  to {
    opacity: 1;
    -webkit-transform: translate3d(0, 0, 0);
    transform: translate3d(0, 0, 0);
  }
}

@keyframes fadeInDown {
  from {
    opacity: 0;
    -webkit-transform: translate3d(0, -100%, 0);
    transform: translate3d(0, -100%, 0);
  }
  to {
    opacity: 1;
    -webkit-transform: translate3d(0, 0, 0);
    transform: translate3d(0, 0, 0);
  }
}
