/* ---------- Aspect Ratio ---------- */
.ratio-16-9 {
  aspect-ratio: 1.7777777778;
}

/* ---------- Object Fit ---------- */
.object-fit-cover {
  object-fit: cover;
}

/* ---------- Utility Classes ---------- */
.w100 {
  width: 100% !important;
}

.py-narrow {
  padding-top: 6px;
  padding-bottom: 6px;
}

.h400px {
  height: 400px;
}

.br-5 {
  border-radius: 5px !important;
}

.br-10 {
  border-radius: 10px !important;
}

.br-10-t {
  border-radius: 10px 10px 0 0;
}

.br-20 {
  border-radius: 20px !important;
  overflow: hidden;
}

.br-20-t {
  border-radius: 20px 20px 0 0;
}

.br-50 {
  border-radius: 50px !important;
}

.bg-black-70 {
  background-color: rgba(0, 0, 0, 0.7);
}

.bdr-bottom-grey {
  border-bottom: solid 1px #E6E6E6;
}

.bg-blobs {
  background-image: url('https://imagedepot.anu.edu.au/anu%20gateway/lightgrey-blobs.svg');
  background-size: cover;
  background-repeat: no-repeat;
}

.bg-waves {
  background-image: url('https://imagedepot.anu.edu.au/anu%20gateway/bg-waves.svg');
  background-size: cover;
  background-repeat: no-repeat;
}

.v-align {
  align-items: center;
  margin-top: auto;
  margin-bottom: auto;
}

.c-m {
  margin: 8px 0;
}

.bdr-tint {
  border: 2px solid #f5edde;
}

/* ---------- Buttons ---------- */
.btn-lightgrey:hover {
  border-color: black;
  text-decoration: none !important;
  box-shadow: 0 3px 8px 0 rgba(0, 0, 0, 0.25);
  transition: all 0.5s ease-in-out;
  background: black;
  color: white !important;
}

.btn-lightgrey:hover img {
  transition: all 0.5s ease-in-out;
  filter: brightness(0) invert(1);
}

.anu-btn-thin-black {
  text-decoration: none !important;
  border: 1px solid #7D7D7D;
  border-radius: 5px;
  color: #fff !important;
  background-color: #000;
  padding: 10px 20px;
  font-weight: 500;
  text-align: center;
  display: inline-block;
  font-size: 1em;
  font-family: 'Public Sans';
}

.anu-btn-thin-black:hover {
  text-decoration: none !important;
  background-color: #fff;
  color: #000 !important;
  border: 1px solid #7D7D7D;
}

/* ---------- News Images ---------- */
.news-image img {
  min-height: 450px;
  max-height: 500px;
  width: 100%;
  object-fit: cover;
}

/* ---------- In-page Banner ---------- */
.in-page-banner {
  height: 400px !important;
}

@media screen and (max-width: 992px) and (min-width: 576px) {
  .in-page-banner {
    height: 300px !important;
  }
}

@media screen and (max-width: 575px) {
  .in-page-banner {
    height: 250px !important;
  }

  .card-item-wrapper img {
    aspect-ratio: 1.7777777778;
  }
}

/* ---------- Banner ---------- */
.banner {
  height: 300px;
  display: flex;
  align-items: center;
}

.banner-overlay {
  background: linear-gradient(270deg, rgba(0, 0, 0, 0) 15.65%, rgba(0, 0, 0, 0.64) 99.33%);
}

/* ---------- Layout Adjustments ---------- */
@media (max-width: 991px) {
  .news-image img {
    min-height: unset;
    max-height: unset;
    aspect-ratio: 1.7777777778;
  }

  .breakpoint-adjust .col-md-9,
  .breakpoint-adjust .col-md-3 {
    flex: 0 0 auto;
    width: 100%;
  }

  .overlap .overlap-child:is(.news-tags) {
    position: absolute !important;
    margin: 0;
    width: fit-content;
    top: unset !important;
    left: 10px !important;
    bottom: 10px !important;
  }

  .banner {
    height: auto !important;
  }

  .banner-overlay {
    background: #000;
  }

  .banner img {
    min-height: 300px !important;
    object-position: 65%;
  }

  .overlap-child.banner-overlay.t-0.l-0.w100.h100 {
    padding-top: 20px;
    padding-bottom: 20px;
  }

  .floating-card {
    order: 2;
  }

  .floating-card .shadow-light {
    width: 100%;
    height: unset !important;
  }

  .news-image {
    order: 1;
  }

  .ml-n-5 {
    margin: 0 !important;
  }

  .ml-n-5.bdr-left-gold.bdr-thick {
    margin-left: 0 !important;
    border-width: 0 !important;
  }
}

/* ---------- Text Alignment ---------- */
@media only screen and (min-width: 991px) {
  .text-align-bottom {
    align-items: end;
    padding-bottom: 70px;
  }
}

/* ---------- Divider ---------- */
.divider {
  display: flex;
}

.divider::before,
.divider::after {
  content: "";
  flex: 1;
}

.line {
  align-items: center;
  margin: 1em -1em;
}

.line::before,
.line::after {
  height: 2px;
  margin: 0 1em;
  background: #be830e;
}

/* ---------- Box and Form Styles ---------- */
.box-bdr-lightgrey {
  padding: 10px;
  margin-bottom: 10px;
  border: 1px solid #e6e6e6;
  background: #fff;
  box-shadow: 0 1px 5px 0 rgba(0, 0, 0, 0.1);
}

#form1 {
  min-height: 50px;
}

.input-container {
  background-color: #fff;
  position: relative;
  border-radius: 20px 0 0 20px;
  border: 1px solid #C6C6C6;
  overflow: hidden;
  padding: 8px 24px;
}

.searchbutton {
  background-color: #be830e;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 0 20px 20px 0;
  padding: 8px 24px;
}

.searchbutton i {
  font-size: 1.5rem;
}

/* ---------- Other Elements ---------- */
.overlap {
  overflow: hidden;
}

.band-black-wrap img {
  height: 100%;
  width: 100%;
  object-fit: cover;
}

.news-banner {
  height: 450px;
}

.floating-card {
  align-items: center;
  z-index: 1;
}

.floating-card .card-tag {
  width: fit-content;
}

.floating-card div.shadow-light {
  height: 80%;
}

/* ---------- Rotator Dots ---------- */
.anu-wf-rotator-dots {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 2;
  display: flex;
  justify-content: center;
  padding: 0;
  margin-right: 15%;
  margin-bottom: 1rem;
  margin-left: 15%;
  list-style: none;
}

.anu-wf-rotator-dots .anu-wf-rotator-dot {
  border: 0;
  background-color: #e6e6e6;
  border-radius: 50%;
  width: 10px !important;
  height: 10px !important;
  margin: 0 4px !important;
  opacity: 1;
}

.anu-wf-rotator-dots .anu-wf-rotator-dot.active {
  background-color: #be830e;
  width: 30px !important;
  border-radius: 16.5% / 50%;
}

.anu-wf-rotator-control-right .fa-1x,
.anu-wf-rotator-control-left .fa-1x {
  font-size: 2em;
}

.anu-wf-rotator-control-right .fa-1x .fa-stack-2x,
.anu-wf-rotator-control-left .fa-1x .fa-stack-2x {
  font-size: 0;
}
