.main-header {
  position: relative;
  display: flex;
  flex-direction: column;
  background-color: #461e14;
}

.main-header--no-hero {
  min-height: auto;
}

.main-header--no-hero .main-header__top,
.main-header--no-hero .main-header__nav-container {
  margin: 0;
}

.main-header__top {
  flex: 0 0 auto;
  position: relative;
  z-index: 2;
  background-color: #461e14;
}

.main-header__admin {
  padding: 0.75rem 1.5rem;
  background-color: #461e14;
}

.main-header__admin-bar,
.main-header__admin-content {
  background-color: #461e14;
}

.main-header__admin-logo img {
  max-height: 90px;
  width: auto;
}

.main-header__hero {
  position: relative;
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  min-height: 500px;
}

.main-header__hero .main-header__title {
  margin-bottom: 0;
}

.main-header__hero .main-header__hero-content {
  padding: 0 3rem;
}

.page_index .main-header__hero {
  min-height: 500px;
}

.page_index.indexJournal .main-header__hero {
  min-height: 500px;
}

.page_index.indexJournal .main-header__hero {
  min-height: 500px;
}

.page_index.indexJournal .main-header__hero {
  min-height: 500px;
}

.page_index.indexJournal .main-header__hero {
  min-height: 500px;
}

.page_index.indexJournal .main-header__hero {
  min-height: 500px;
}

.page_index.indexJournal .main-header__hero {
  min-height: 500px;
}

.page_index:not(.indexSite) .main-header {
  padding-top: 0;
}

.main-header__hero {
  position: relative;
}

.homepage-carousel {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 500px;
  min-height: 500px;
  overflow: hidden;
  z-index: 0;
}

.homepage-carousel .carousel-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 1s ease-in-out;
}

.homepage-carousel .carousel-slide.active {
  opacity: 1;
}

.homepage-carousel img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0, 0, 0, 0.5);
  color: #fff;
  border: none;
  padding: 0.5rem 1rem;
  cursor: pointer;
  z-index: 2;
}

.carousel-btn.prev {
  left: 10px;
}

.carousel-btn.next {
  right: 10px;
}

.main-header__hero .container-fluid {
  position: relative;
  z-index: 1;
}
