.first-block {
  height: 100dvh;
  width: 100%;
  position: relative;
  background: #000;
}

.first-block-top-left {
  position: absolute;
  top: 20px;
  left: 20px;
  z-index: 2;
}
.first-block-top-left .first-block-nav {
  margin-bottom: 6px;
}
.first-block-top-left .first-block-nav:last-child {
  margin-bottom: 0;
}

.first-block-top-right {
  position: absolute;
  top: 20px;
  right: 20px;
  z-index: 2;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
}

.first-block-logo {
  margin-left: 40px;
}
.first-block-logo a {
  text-transform: uppercase;
  font-family: "Helvetica63", sans-serif;
  text-decoration: none;
  color: #fff;
  font-size: clamp(1.2rem, 0.9rem + 1.5vw, 2.2rem);
}

.first-block-nav a {
  font-family: "Helvetica", sans-serif;
  text-decoration: none;
  text-transform: uppercase;
  color: #fff;
  font-size: clamp(1.2rem, 0.9rem + 1.5vw, 2.2rem);
  background-image: -webkit-gradient(linear, left top, left bottom, from(currentColor), to(currentColor));
  background-image: linear-gradient(currentColor, currentColor);
  background-position: 0 100%;
  background-repeat: no-repeat;
  background-size: 0% 1px;
  -webkit-transition: 0.25s ease;
  transition: 0.25s ease;
}

.first-block-nav a:hover {
  background-size: 100% 1px;
  opacity: 0.85;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.5);
}

.current-nav,
.previous-nav {
  opacity: 0;
  visibility: hidden;
  -webkit-transition: 0.2s ease;
  transition: 0.2s ease;
  display: none;
}

.exhibition-nav:hover .current-nav,
.exhibition-nav:hover .previous-nav {
  opacity: 1;
  display: block;
  visibility: visible;
}

.years-block {
  opacity: 0;
  visibility: hidden;
  -webkit-transition: 0.2s ease;
  transition: 0.2s ease;
  display: none;
  margin-top: 5px;
}

.previous-nav:hover .years-block {
  opacity: 1;
  display: block;
  visibility: visible;
}

.year-nav a {
  font-size: clamp(1rem, 0.8rem + 0.7vw, 1.2rem) !important;
  margin-right: 15px;
}

.year-nav:last-of-type a {
  margin-right: 0;
}

.first-block-bottom {
  width: 100%;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
  -webkit-box-align: end;
      -ms-flex-align: end;
          align-items: flex-end;
  position: absolute;
  bottom: 20px;
  z-index: 2;
  padding: 0 20px;
}

.first-block-bottom-right {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
}

.first-block-lang {
  margin-right: 10px;
}
.first-block-lang a {
  color: #fff;
  font-family: "Helvetica", sans-serif;
  text-decoration: none;
  font-size: clamp(0.9rem, 2vw, 1.3rem);
  -webkit-transition: 0.2s ease;
  transition: 0.2s ease;
}
.first-block-lang a:hover {
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.5);
  opacity: 0.85;
}

.first-block-lang:last-child {
  margin-right: 0;
}

.active-lang {
  position: relative;
  display: inline;
}

.active-lang::after {
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 100%;
  height: 2px;
  background: #fff;
  content: "";
}

.active-lang:hover {
  opacity: 1 !important;
  cursor: default;
}

.first-swiper {
  width: 100%;
  height: 100%;
  position: absolute;
  z-index: 1;
}

.swiper-slide {
  width: 100%;
  height: 100%;
}

.first-swiper-image {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
  -o-object-position: center;
     object-position: center;
}

.second-block-close {
  display: none;
}

.second-block {
  width: 100%;
  padding: 20px;
  font-family: "WorkSans", sans-serif;
  color: #000;
  line-height: 1.5;
  font-size: clamp(1rem, 0.8rem + 0.7vw, 1.2rem);
  background: #fff;
  position: absolute;
  top: 0;
  opacity: 0;
  visibility: hidden;
  -webkit-transition: top 0.5s ease;
  transition: top 0.5s ease;
}

.second-block.open {
  top: 100%;
  opacity: 1;
  visibility: visible;
}

.second-block-container {
  width: 100%;
  display: -ms-grid;
  display: grid;
  gap: 20px;
  -ms-grid-columns: 1fr 20px 1fr 20px 1fr;
  grid-template-columns: repeat(3, 1fr);
  -ms-grid-rows: auto 20px auto 20px auto;
      grid-template-areas: "first first first" ". . fourth" "fivth . six";
}

.second-block-section-1 {
  -ms-grid-row: 1;
  -ms-grid-column: 1;
  -ms-grid-column-span: 5;
  grid-area: first;
  -webkit-column-count: 3;
     -moz-column-count: 3;
          column-count: 3;
  -webkit-column-fill: auto;
     -moz-column-fill: auto;
          column-fill: auto;
  -webkit-column-gap: 30px;
     -moz-column-gap: 30px;
          column-gap: 30px;
  height: 15.9em;
}

.second-block-section-4 {
  -ms-grid-row: 3;
  -ms-grid-column: 5;
  grid-area: fourth;
}

.second-block-section-5 {
  -ms-grid-row: 5;
  -ms-grid-column: 1;
  grid-area: fivth;
}

.second-block-section-6 {
  -ms-grid-row: 5;
  -ms-grid-column: 5;
  grid-area: six;
}

.second-block-section {
  text-align: justify;
  text-justify: inter-word;
  line-height: 1.5;
}
.second-block-section p {
  margin: 0 0 1.2rem 0;
}
.second-block-section a {
  color: #000;
  text-decoration: none;
}
.second-block-section a:hover {
  text-decoration: underline;
}

.second-block-section p:last-child {
  margin-bottom: 0;
}

@media (max-width: 760px) {
  .first-block-bottom {
    padding: 0 12px;
    bottom: max(20px, calc(env(safe-area-inset-bottom, 0px) + 10px));
  }
  .first-block-top {
    position: absolute;
    top: max(12px, env(safe-area-inset-top, 12px));
    left: max(12px, env(safe-area-inset-left, 12px));
    z-index: 2;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
  }
  .first-block-top-left,
  .first-block-top-right {
    position: static;
  }
  .first-block-top-right {
    -webkit-box-ordinal-group: 2;
        -ms-flex-order: 1;
            order: 1;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
    margin-bottom: 14px;
  }
  .first-block-top-right .first-block-nav {
    display: none;
  }
  .first-block-top-right .first-block-logo {
    margin-left: 0;
  }
  .first-block-top-left {
    -webkit-box-ordinal-group: 3;
        -ms-flex-order: 2;
            order: 2;
  }
  .second-block-close {
    display: block;
    position: sticky;
    top: 0;
    left: 0;
    width: 100%;
    background: #fff;
    border: none;
    padding: max(12px, env(safe-area-inset-top, 12px)) 0 16px;
    text-align: right;
    font-family: "Helvetica", sans-serif;
    font-size: 1.6rem;
    line-height: 1;
    cursor: pointer;
    color: #000;
    z-index: 1;
    margin-bottom: 4px;
  }
  .second-block {
    position: fixed;
    top: 100dvh;
    left: 0;
    width: 100%;
    height: 100dvh;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    z-index: 50;
    padding: 0 max(16px, env(safe-area-inset-right, 16px)) max(16px, env(safe-area-inset-bottom, 16px)) max(16px, env(safe-area-inset-left, 16px));
    -webkit-transition: top 0.5s ease, opacity 0.35s ease, visibility 0.5s ease;
    transition: top 0.5s ease, opacity 0.35s ease, visibility 0.5s ease;
  }
  .second-block.open {
    top: 0;
  }
  .second-block-section-1 {
    -webkit-column-count: 1;
       -moz-column-count: 1;
            column-count: 1;
    height: auto;
  }
  .second-block-container {
    -ms-grid-columns: 1fr;
    grid-template-columns: 1fr;
    gap: 24px;
    -ms-grid-rows: auto 24px auto 24px auto 24px auto;
        grid-template-areas: "first" "fourth" "fivth" "six";
  }
  .second-block-section {
    text-align: left;
  }
  .second-block-section-1 {
    -ms-grid-row: 1;
    -ms-grid-column: 1;
    -ms-grid-column-span: 1;
  }
  .second-block-section-4 {
    -ms-grid-row: 3;
    -ms-grid-column: 1;
  }
  .second-block-section-5 {
    -ms-grid-row: 5;
    -ms-grid-column: 1;
  }
  .second-block-section-6 {
    -ms-grid-row: 7;
    -ms-grid-column: 1;
  }
}