.hist-main {
  padding: 1.4rem 0 2.4rem;
}
.hist-main h1 {
  margin: 0 0 1.2rem;
  font-family: var(--display);
  font-weight: 500;
  font-size: clamp(1.7rem, 6vw, 2.5rem);
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--ink);
}
.show-frame {
  margin: 0;
  position: relative;
  overflow: hidden;
  background: #c4c4c4;
  width: 100%;
  max-width: 100%;
  margin-left: 0;
  margin-right: 0;
  aspect-ratio: 4 / 5;
}
@media (min-width: 800px) {
  .show-frame {
    width: 100%;
    max-width: 100%;
    margin-left: 0;
    margin-right: 0;
    aspect-ratio: 4 / 3;
  }
}
.show-frame img {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  opacity: 0;
  transition: opacity 0.55s ease;
  background: transparent;
}
.show-frame img.is-on {
  opacity: 1;
  z-index: 1;
}
.show-year {
  position: absolute;
  left: 0.85rem;
  bottom: 0.7rem;
  transition: opacity 0.35s ease;
  font-family: var(--display);
  font-weight: 600;
  font-size: clamp(1.8rem, 8vw, 3rem);
  letter-spacing: 0.04em;
  color: #fff;
  text-shadow: 0 1px 12px rgba(0,0,0,0.55);
  line-height: 1;
  pointer-events: none;
  z-index: 2;
}
.year-line {
  list-style: none;
  margin: 1.15rem 0 0.85rem;
  padding: 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
}
.year-line::before {
  content: "";
  position: absolute;
  left: 0.5rem;
  right: 0.5rem;
  top: auto;
  bottom: 0.15rem;
  height: 1px;
  background: var(--line-strong);
}
.year-line li {
  position: relative;
  z-index: 1;
}
.year-line button {
  appearance: none;
  border: 0;
  margin: 0;
  padding: 0.2rem 0.35rem;
  background: #ececec;
  font-family: var(--display);
  font-size: 0.95rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  color: var(--mist);
  cursor: pointer;
  transition: color 0.35s ease, font-weight 0.35s ease;
}
.year-line li.is-on button {
  color: var(--taur-red);
  font-weight: 600;
}
.show-cap {
  margin: 0;
  max-width: 34em;
  font-size: 1.02rem;
  line-height: 1.45;
  color: var(--ice);
  min-height: 2.8em;
  transition: opacity 0.35s ease;
}
.hist-main .cta {
  margin-top: 0.4rem;
}

@media (max-width: 520px) {
  .year-line button {
    font-size: 0.78rem;
    padding: 0.15rem 0.18rem;
    letter-spacing: 0.04em;
  }
}

@media (max-width: 520px) {
  .year-line {
    gap: 0;
  }
  .year-line button {
    font-size: 0.68rem;
    padding: 0.12rem 0.1rem;
  }
}

@media (max-width: 799px) {
  .year-line {
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    justify-content: space-between;
    gap: 0.35rem;
    scrollbar-width: none;
  }
  .year-line::-webkit-scrollbar { display: none; }
  .show-frame {
    aspect-ratio: 4 / 5;
  }
}


.show--home .show-frame {
  width: 100%;
  max-width: 100%;
  margin-left: 0;
  margin-right: 0;
  aspect-ratio: 4 / 5;
}
.show--home {
  margin: 0.85rem 0 1.1rem;
}
.show--home .show-cap {
  min-height: 2.2em;
  margin-top: 0.55rem;
}
.footer-hist .hist-btn {
  margin-top: 0.4rem;
}


.hist-stack {
  margin-top: 0.4rem;
}
.hist-shot {
  margin: 0 0 1.7rem;
  scroll-margin-top: calc(var(--header-h) + 0.6rem);
}
.hist-shot img {
  display: block;
  width: 100%;
  height: auto;
  background: #c8c8c8;
}
.hist-year {
  margin: 0.5rem 0 0.15rem;
  font-family: var(--display);
  font-weight: 600;
  font-size: 1.35rem;
  letter-spacing: 0.06em;
  color: var(--taur-red);
  line-height: 1;
}
.hist-cap {
  margin: 0;
  font-size: 1.02rem;
  line-height: 1.4;
  color: var(--ink);
}
.year-line {
  margin: 0.4rem 0 1.1rem;
}
.year-line button {
  background: transparent;
}
#istoric {
  padding: 1.3rem 0 0.4rem;
}
#istoric .history-line {
  margin: 0 0 0.7rem;
  max-width: 34em;
}
