

.head {
  gap: 2rem;
}




.logo {
  display: flex;
  flex-direction: column;

  margin-right: auto;

  text-decoration: none;
}

.logo-top,
.logo-main {
  display: block;
}



.menu {
  display: block;
}

.menu-inner {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.menu-list {
  display: flex;
  align-items: center;
  gap: 2rem;

  margin: 0;
  padding: 0;

  list-style: none;
}

.menu-list li {
  margin: 0;
  padding: 0;
}

.menu-list a {
  display: block;
  text-decoration: none;
}


 
.menu-top {
  display: flex;
  align-items: center;

  order: 2;
}

.menu-language {
  display: flex;
  align-items: center;
}


 

.menu-toggle,
.menu-close {
  display: none;
}

.menu-overlay {
  display: none;
}

 

@media (max-width: 1024px) {

 

  .head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 2rem;
    gap: 1rem;
  }

  .logo {
    margin-right: 0;
  }


 

  .menu-toggle {
    display: flex;
    flex-direction: column;
    justify-content: end;

    gap: 5px;

    width: 2rem;
    height: 2rem;

    margin: 0;
    padding: 0;

    border: 0;
    background: none;

    cursor: pointer;
  }

  .menu-toggle span {
    display: block;

    width: 100%;
    height: 2px;

    background: currentColor;

    border-radius: 999px;
  }


 

  .menu {
    display: block;

    position: fixed;

    top: 0;
    bottom: 0;
    left: 0;

    width: min(82vw, 24rem);
    height: 100dvh;

    padding: 1.5rem 2rem 2rem;

    box-sizing: border-box;

    background: white;
    color: var(--dark-green);

    z-index: 1001;

    overflow-y: auto;

    transform: translateX(-100%);

    transition: transform 0.3s ease;
  }

  .menu.is-open {
    transform: translateX(0);
  }

 

  .menu-inner {
    display: flex;
    flex-direction: column;
    align-items: stretch;

    min-height: 100%;

    gap: 2rem;
  }

 

  .menu-top {
    display: flex;
    align-items: center;
    justify-content: space-between;

    width: 100%;

    order: 0;
  }

  .menu-language {
    display: flex;
    align-items: center;
  }
 

  .menu-close {
    display: flex;
    align-items: center;
    justify-content: center;

    margin: 0;
    padding: 0;

    width: 2rem;
    height: 2rem;

    border: 0;
    background: none;

    color: var(--dark-green);

    font-size: 2rem;
    line-height: 1;

    cursor: pointer;
  }


 

  .menu-list {
    display: flex;
    flex-direction: column;
    align-items: flex-start;

    gap: 1.5rem;

    width: 100%;

    margin: 2rem 0 0;
    padding: 0;

    order: 1;
  }

  .menu-list li {
    width: 100%;
  }

  .menu-list a {
    display: block;

    width: 100%;

    color: var(--dark-green);

    text-decoration: none;
  }


 

  .menu-overlay {
    display: block;

    position: fixed;
    inset: 0;

    background: rgb(0 0 0 / 0.45);

    z-index: 1000;

    opacity: 0;
    visibility: hidden;

    pointer-events: none;

    transition:
      opacity 0.3s ease,
      visibility 0.3s ease;
  }

  .menu-overlay.is-open {
    opacity: 1;
    visibility: visible;

    pointer-events: auto;
  }

 

  body.menu-open {
    overflow: hidden;
  }
}


.languages ul {
  display:flex;
padding: 0;
  margin: 0 1rem;
list-style: none;
  gap: 1rem;
}

.languages a {
  display: flex;
  align-items: center;
  justify-content: center;

  font-weight: 600;
  text-decoration: none;
  opacity: 0.5;
  transition:
    opacity 0.2s ease,
    background-color 0.2s ease,
    color 0.2s ease;
}

.languages a:hover,
.languages a:focus-visible {
  opacity: 1;
  font-weight: 600;
}

.languages .active a {

  font-weight: 600;
  opacity: 1;
}

.languages a:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 3px;
}

.pagination{
  text-align: center;
}