@keyframes fadeIn50 {
  0% {
    opacity: 0;
  }
  50% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}
body[data-page=event] {
  background-color: var(--red-light);
  /* .cards-menu {
      opacity: 0;
      transition: opacity 0.5s ease-in-out;
  } */
}
body[data-page=event] main section:not(.hero) .middle {
  background-color: var(--white);
}
body[data-page=event] .hero {
  padding-top: 3.3rem;
}
body[data-page=event] .hero *:not(.cards-menu, .cards-menu a) {
  transition: 0.25s;
}
body[data-page=event] .hero .flex:has(> .overview) {
  align-items: stretch;
  margin-bottom: 4.05rem;
}
@media (max-width: 500px) {
  body[data-page=event] .hero .flex:has(> .overview) {
    flex-wrap: wrap;
  }
}
body[data-page=event] .hero .overview {
  height: auto;
  position: relative;
  border-left: 1rem solid var(--white);
  display: flex;
  justify-content: center;
  flex-direction: column;
  padding: 2rem 2.45rem;
}
body[data-page=event] .hero .overview h1 {
  color: var(--red);
  margin-bottom: 0.55rem;
}
body[data-page=event] .hero .overview::before, body[data-page=event] .hero .overview::after {
  content: "";
  display: block;
  position: absolute;
  left: 0;
  width: 7.5rem;
  height: 1rem;
  background-color: var(--white);
}
body[data-page=event] .hero .overview::before {
  top: 0;
}
body[data-page=event] .hero .overview::after {
  bottom: 0;
}
body[data-page=event] .hero .overview .date,
body[data-page=event] .hero .overview .address {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.7rem;
}
body[data-page=event] .hero .overview .date span:first-child,
body[data-page=event] .hero .overview .address span:first-child {
  display: block;
  color: var(--grey);
  margin-right: 0.2rem;
  font-size: 1.2rem;
}
body[data-page=event] .hero .overview .address {
  margin-bottom: 2.25rem;
}
body[data-page=event] .hero .overview .garant {
  margin-top: 0.25rem;
  margin-bottom: 0.75rem;
}
body[data-page=event] .hero .overview .garant strong {
  font-size: 0.8rem;
}
body[data-page=event] .hero .overview .claim {
  font-size: 0.8rem;
}
body[data-page=event] .hero .image {
  position: relative;
  display: flex;
  justify-content: flex-end;
  align-items: center;
}
@media (max-width: 500px) {
  body[data-page=event] .hero .image {
    margin-top: 1.5rem;
  }
}
body[data-page=event] .hero .image picture {
  width: 25rem;
  height: 25rem;
  border-radius: 50%;
  overflow: hidden;
}
body[data-page=event] .hero .image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
body[data-page=event].submenufixed .cards-menu {
  animation: fadeIn50 0.25s forwards;
}

.event-block .middle {
  padding: 0 3.5rem;
  margin-bottom: 3rem;
}
@media (max-width: 500px) {
  .event-block .middle {
    padding: 0 0.75rem;
  }
}
.event-block .middle:has(> div:not(.content)) {
  padding-top: 5rem;
  padding-bottom: 4.5rem;
}
.event-block .content {
  padding: 5rem 0 4.5rem;
}

.submenusapacer {
  display: none;
}

@media (min-width: 501px) {
  body[data-page=event].submenufixed .submenusapacer {
    display: block;
    /* height: calc(50vh + 9rem - $header-height); */
    height: 35rem;
  }
  body[data-page=event].submenufixed .hero {
    background-color: var(--red-light);
    position: fixed;
    top: 7.5rem;
    width: 100%;
    z-index: 10;
    height: 8.5rem;
    padding-top: 1.4rem;
    overflow: hidden;
  }
  body[data-page=event].submenufixed .hero h1 {
    font-size: 1.5rem;
    margin-bottom: 0.6rem;
    max-width: 38rem;
    text-overflow: ellipsis;
    white-space: nowrap;
    overflow: hidden;
  }
  body[data-page=event].submenufixed .hero .btn.big {
    margin-bottom: 1rem;
  }
  body[data-page=event].submenufixed .hero .flex:has(> .overview) {
    margin-bottom: 0;
  }
  body[data-page=event].submenufixed .hero .overview {
    width: 100%;
    border-width: 0;
    padding: 0;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    align-content: center;
  }
  body[data-page=event].submenufixed .hero .overview .flex {
    flex-direction: row;
  }
  body[data-page=event].submenufixed .hero .overview .date,
  body[data-page=event].submenufixed .hero .overview .address {
    margin-right: 0.8em;
    margin-bottom: 1rem;
  }
  body[data-page=event].submenufixed .hero .overview::after, body[data-page=event].submenufixed .hero .overview::before {
    display: none;
  }
  body[data-page=event].submenufixed .hero .claim,
  body[data-page=event].submenufixed .hero .garant,
  body[data-page=event].submenufixed .hero .image {
    display: none;
  }
}
.cards-menu {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  flex-wrap: wrap;
  gap: 3px;
}
@media (max-width: 500px) {
  .cards-menu {
    flex-direction: column;
    background-color: var(--grey-d9);
    justify-content: flex-end;
    position: fixed;
    bottom: 0rem;
    left: -100vw;
    padding: 0.5rem 0 5rem 0;
    min-width: 25rem;
    width: calc((100vw - 100rem) / 2 + 25rem);
    transition: left 0.25s;
    display: none;
  }
  .showeventmenu .cards-menu {
    left: 0;
    display: flex;
  }
}
.cards-menu > * {
  padding: 0.4rem 0.75rem;
  text-transform: uppercase;
  font-weight: 700;
  font-size: 0.8rem;
  background-color: var(--grey-2);
  user-select: none;
  transition: background-color 0.25s, color 0.25s;
}
.cards-menu > * .end {
  align-self: flex-end;
}
.cards-menu > *:hover, .cards-menu > *:focus, .cards-menu > *.active {
  background-color: var(--red-dark);
  color: var(--white);
  text-decoration: none;
}
.cards-menu > *.active {
  background-color: var(--red);
}
@media (max-width: 500px) {
  .cards-menu > * {
    width: 100%;
    font-size: 1rem;
    padding: 0.75rem 1rem;
    background-color: var(--white);
  }
}

.event-menu-toggle {
  display: none;
}
@media (max-width: 500px) {
  .event-menu-toggle {
    position: fixed;
    bottom: 0.5rem;
    left: 0.5rem;
    width: 3rem;
    height: 3rem;
    border: none;
    border-radius: 50%;
    background-color: var(--red);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    cursor: pointer;
    transition: transform 0.3s ease, background-color 0.3s ease;
  }
}

@media (max-width: 500px) {
  .event-menu {
    position: absolute;
    z-index: 10;
  }
}

.event-introduction .content {
  gap: 1.7rem;
  padding: 5rem 0;
}
.event-introduction picture {
  display: block;
  width: 16rem;
  height: 16rem;
  border-radius: 50%;
  overflow: hidden;
  position: relative;
  background-color: var(--red);
}
.event-introduction picture img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.event-introduction picture + div {
  width: 45rem;
}

.event-council .middle .flex {
  gap: 2.3rem 4.3rem;
  padding: 0 0 5rem 0;
}
.event-council .middle .flex > div {
  width: calc(50% - 2.15rem);
}
@media (max-width: 500px) {
  .event-council .middle .flex > div {
    width: 100%;
  }
}

.event-hotel .text-container p {
  font-size: 0.9rem;
}

.hotel h2 {
  font-size: 1.25rem;
  color: var(--red-dark);
  margin-bottom: 0;
}
.hotel h2 + .place {
  font-size: 0.8rem;
  color: var(--grey);
  font-weight: 700;
  margin-bottom: 1.6rem;
}
.hotel .table {
  margin-bottom: 1.9rem;
}
.hotel .text-container > *:last-child {
  margin-bottom: 0;
}
.hotel:has(picture) .hotel-info {
  width: 43rem;
}
.hotel:has(picture) picture {
  width: 16rem;
  height: 16rem;
  border-radius: 50%;
  overflow: hidden;
  position: relative;
  background-color: var(--red);
  margin-bottom: 1.9rem;
}
.hotel:has(picture) picture img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hotel + .text-container {
  color: var(--grey);
}
.hotel + .text-container + .hotel {
  padding-top: 1rem;
}

.event-partners .middle {
  padding-top: 5rem;
  padding-bottom: 3rem;
}