.minga-hero-media {
  position: relative;
  background-color: var(--dark);
  background: linear-gradient(135deg, var(--primary) 0%, var(--teal) 100%);
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center bottom;
  height: 50vh;
  min-height: 25rem;
  width: 100%;
  overflow: visible;
}

.minga-hero-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center bottom;
  z-index: 0;
}

.minga-hero-media .container {
  position: relative;
  z-index: 2;
}

.minga-hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  background-color: var(--primary);
  opacity: 0.5;
  z-index: 1;
}

.minga-cta {
  position: absolute;
  right: 35px;
  bottom: -135px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 130px;
  height: 130px;
  padding: 0 16px;
  border-radius: 50%;
  background-color: var(--pink);
  color: var(--white);
  font-weight: 600;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  z-index: 3;
}

.minga-cta:hover,
.minga-cta:focus {
  color: var(--white);
  text-decoration: none;
}

@media screen and (max-width: 819.98px) {
  .minga-cta {
    right: 22px;
    bottom: -115px;
    width: 115px;
    height: 115px;
    font-size: 0.9rem;
  }
}

@media screen and (max-width: 414px) {
  .minga-hero-media {
    height: 45vh;
  }
}

#second-navigation.minga-secondary-nav .navbar-nav .nav-link {
  color: var(--dark);
}

#second-navigation.minga-secondary-nav .navbar-nav .nav-item {
  padding: 15px;
}

#second-navigation.minga-secondary-nav .navbar-nav .nav-link {
  padding: 0;
}

#second-navigation.minga-secondary-nav .navbar-nav .nav-link:hover,
#second-navigation.minga-secondary-nav .navbar-nav .nav-link:focus {
  color: var(--dark);
}

#second-navigation.minga-secondary-nav .navbar-nav .nav-item.active .nav-link {
  font-weight: 600;
}

#second-navigation.minga-secondary-nav .navbar-nav .nav-item:first-child {
  padding-left: 0;
}

#second-navigation.minga-secondary-nav .navbar-nav .nav-item:first-child .nav-link {
  padding-left: 0;
}

.minga-content-text p:last-child {
  margin-bottom: 0;
}

.bg-gray {
  background-color: #f9f9f9;
}

.minga-ratio {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%;
  background-color: #000;
  overflow: hidden;
}

.minga-ratio iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.minga-gallery-grid .minga-gallery-item {
  margin-bottom: 0.5rem;
}

@media (min-width: 992px) {
  .minga-gallery-grid .minga-gallery-item:nth-last-child(-n + 3) {
    margin-bottom: 0;
  }
}

@media (min-width: 820px) and (max-width: 991.98px) {
  .minga-gallery-grid .minga-gallery-item:nth-last-child(-n + 2) {
    margin-bottom: 0;
  }
}

@media (max-width: 819.98px) {
  .minga-gallery-grid .minga-gallery-item:last-child {
    margin-bottom: 0;
  }
}

.minga-lightbox-trigger {
  display: block;
}

.minga-gallery-figure {
  position: relative;
}

.minga-gallery-caption {
  position: absolute;
  left: 10px;
  bottom: 10px;
  margin-bottom: 0;
  font-size: 0.55rem;
  padding: 3px 6px 5px;
  background-color: rgba(0, 0, 0, 0.3);
  color: #ffffff;
}

.minga-gallery-caption--thumb {
  left: 12px;
  bottom: 12px;
}

.minga-logo-tile {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 90px;
  padding: 0.75rem;
  background-color: var(--white);
  border: 1px solid #eef1f4;
  border-radius: 6px;
}

.minga-logo-tile img {
  max-height: 80px;
  width: auto;
}

.minga-project-card {
  background-color: var(--white);
  border-bottom: 2px solid var(--teal) !important;
  transition: border-color 0.4s ease;
}

a.project-link:hover .minga-project-card {
  border-bottom-color: var(--primary) !important;
}

.minga-project-badge {
  font-size: 12px;
  padding-left: 0.75em;
  padding-right: 0.75em;
}

.minga-project-badge-wrap {
  margin-bottom: 15px;
}

.minga-project-title {
  margin-bottom: 5px;
  font-weight: 500;
  font-size: 1.1rem;
  line-height: 1.5rem;
}

.minga-project-more {
  font-size: 14px;
}

.minga-back-link {
  width: 45px;
}
