.library-page {
  color: #fff;
}

.library-hero {
  min-height: 700px;
  display: flex;
  align-items: center;
  background-color: #0b2942;
  background-image: linear-gradient(90deg, rgba(7, 29, 49, .96) 0%, rgba(10, 39, 63, .84) 48%, rgba(10, 39, 63, .22) 100%),
    url('../img/prodotti/AdobeStock_335508703.jpeg');
  background-position: center;
  background-size: cover;
  color: #fff;
}

.library-hero-inner {
  width: 100%;
  padding: 64px 48px;
}

.library-eyebrow {
  display: inline-block;
  color: #77b7ff;
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.library-hero h3 {
  max-width: 750px;
  margin: 22px 0;
  font-size: clamp(2.5rem, 5vw, 4.3rem);
  font-weight: 750;
  line-height: 1.08;
}

.library-hero-inner > p {
  max-width: 680px;
  margin: 0;
  font-size: 1.2rem;
  line-height: 1.6;
}

.library-access {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  max-width: 1050px;
  margin-top: 42px;
  padding: 26px 30px;
  border-left: 4px solid #77b7ff;
  background-color: #0b2942;
  background-color: rgba(7, 29, 49, .88);
  backdrop-filter: blur(4px);
  scroll-margin-top: 100px;
  color: #fff;
}

.library-access h4 {
  margin: 9px 0 12px;
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  font-weight: 700;
}

.library-access p {
  max-width: 620px;
  margin: 0;
  color: #e4edf7;
  font-size: 1rem;
  line-height: 1.55;
}

.library-button {
  flex-shrink: 0;
  display: inline-block;
  padding: 14px 24px;
  border-radius: 5px;
  background: #1264bf;
  color: #fff !important;
  font-weight: 700;
  text-decoration: none;
}

.library-button:hover,
.library-button:focus-visible {
  background: #064a94;
  color: #fff;
}

@media (max-width: 760px) {
  .library-hero {
    min-height: 0;
    background-position: 60% center;
  }

  .library-hero-inner {
    padding: 54px 24px;
  }

  .library-hero h3 {
    font-size: clamp(2.2rem, 9vw, 3rem);
  }

  .library-hero-inner > p {
    font-size: 1.05rem;
  }

  .library-access {
    display: block;
    margin-top: 34px;
    padding: 24px;
  }

  .library-button {
    margin-top: 22px;
    text-align: center;
  }
}

@media (max-width: 420px) {
  .library-hero-inner {
    padding: 44px 18px;
  }

  .library-access {
    padding: 20px;
  }

  .library-button {
    display: block;
    width: 100%;
  }
}
