
.home-preview-grid-wrapper {
  width:100%;
  position:relative;
}

.home-preview-grid {
  display:grid;
  grid-template-columns:repeat(6,1fr);
  gap:24px;
}

/* card */

.home-preview-card{
  cursor:pointer;
  background:transparent;
}
.home-preview-card.copertina-card{
    aspect-ratio:auto;
    overflow:visible;
    border-radius:0;
    background:transparent;
}

/* contenitore immagine */

.home-preview-image{
  position:relative;
  overflow:hidden;
  border-radius:22px;
  aspect-ratio:1 / 1.32;
  background:transparent;
}

/* velo hover */

.home-preview-image:after{

  content:'';

  position:absolute;
  inset:0;

  background:rgba(0,0,0,.08);

  opacity:0;

  transition:opacity .3s ease;
}

.home-preview-card:hover .home-preview-image:after{
  opacity:1;
}

/* immagine */

.home-preview-image img{
  width:100%;
  height:100%;
  object-fit:cover;
  display:block;
  transition:transform .45s ease;

}

.home-preview-card:hover .home-preview-image img{
  transform:scale(1.05);
}
.home-preview-caption {
  margin-top:12px;
}
/* anno */

.home-preview-caption h3{
  margin:0 0 6px;
  color:#071225;
  font-size:20px!important;
  line-height:1.2!important;
  font-weight:900;
  transition:
    color .25s ease,
    transform .25s ease;
}
/* hover anno */
.home-preview-card:hover .home-preview-caption h3{
  color:#ec008c;
}
/* edizione */
.home-preview-caption p{
  margin:0;
  color:#8b98ad;
  font-size:12px;
  line-height:1.2;
  font-weight:800;
  text-transform:uppercase;
  letter-spacing:.06em;

}

/* responsive */
@media (max-width:1200px){

  .home-preview-grid{
      grid-template-columns:repeat(4,1fr);
  }

}

@media (max-width:768px){

  .home-preview-grid{
      grid-template-columns:repeat(2,1fr);
      gap:16px;
  }

  .home-preview-caption h3{

      font-size:22px;

  }

}

.copertine-header {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  max-width: 1280px;
  margin: 0 auto 22px;
}

.copertine-title-wrap {
  display: flex;
  align-items: center;
  gap: 18px;
}

.copertine-back {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: #f1f5f9;
  color: #111;
  display: grid;
  place-items: center;
  text-decoration: none;
  font-size: 40px;
  line-height: 1;
}

.copertine-header h1 {
  margin: 0;
  font-size: 32px;
  line-height: 1;
  color: #111;
}

.copertine-header p {
  margin: 6px 0 0;
  font-size: 13px;
  line-height: 1;
  letter-spacing: .08em;
  font-weight: 800;
  color: #64748b;
}

.copertine-search {
  width: 360px;
  height: 48px;
  border-radius: 16px;
  background: #f1f5f9;
  color: #9aa6b2;
  display: flex;
  align-items: center;
  padding: 0 22px;
  font-size: 15px;
}

#copertine-search-input {
  background: #f1f5f9!important;
  color: #64748b!important;
}

.copertine-filters {
  display: flex;
  gap: 10px;
  max-width: 1280px;
  margin: 0 auto 70px;
  flex-wrap: wrap;
}

.copertine-filters button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 76px;
  height: 34px;
  padding: 0 18px;
  border-radius: 12px;
  background: #eef2f7;
  color: #64748b;
  font-size: 13px;
  font-weight: 800;
  border: 0;
  cursor: pointer;
}

.copertine-filters button.is-active {
  background: #ec008c;
  color: #fff;
}

.copertine-page {
  padding: 80px 5vw;
}

.copertine-grid {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 28px;
}

.copertina-card {
  position: relative;
  overflow: hidden;
  border-radius: 18px;
  cursor: pointer;
  aspect-ratio: 1 / 1.35;
  background: #111;
}

.copertina-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .4s ease;
}

.copertina-card:hover img {
  transform: scale(1.03);
}

.copertina-card-overlay {
  position:absolute;
  inset:0;

  background:linear-gradient(
    to top,
    rgba(0,0,0,.82) 0%,
    rgba(0,0,0,.45) 42%,
    rgba(0,0,0,0) 100%
  );

  display:flex;
  align-items:flex-end;

  padding:18px;

  opacity:0;

  transition:opacity .25s ease;
}

.copertina-card:hover .copertina-card-overlay{
    opacity:1;
}

.copertina-hover-content h3{
    color:#fff;
    margin:0 0 4px;
    font-size:24px;
    line-height:.9;
    font-weight:700;
}

.copertina-hover-content p{
    color:#fff;
    margin:0;
    font-size:13px;
    line-height:1.15;
    font-weight:500;
    padding-bottom:0!important;
}

.copertina-hover-icon {
  display: flex;
  margin-top: 10px;
  color: #fff;
}

.copertina-hover-icon svg {
  width: 18px;
  height: 18px;
  display: block;
}

/* LIGHTBOX */

.copertina-lightbox {
  position: fixed;
  inset: 0;
  z-index: 999999;
  background: #000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 6vw;
}

.copertina-lightbox.is-open {
  display: flex;
}

.copertina-lightbox-inner {
  width: 100%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8vw;
  align-items: center;
}

.copertina-lightbox-image img {
  max-height: 80vh;
  width: auto;
  max-width: 100%;
  display: block;
  margin-left: auto;
}

.copertina-lightbox-text h1 {
  color: #ec008c;
  font-size:clamp(48px,6vw,100px);
  line-height: .9;
  margin: 0 0 28px;
  font-weight: 800;
}

.copertina-lightbox-text h2 {
  color: #fff;
  font-size: clamp(30px, 3vw, 48px);
  margin: 0 0 28px;
  line-height: 1.1;
}

.copertina-lightbox-text span {
  width: 60px;
  height: 4px;
  background: #ec008c;
  display: block;
  margin-bottom: 32px;
}

.copertina-lightbox-text p {
  color: #ddd;
  font-size: 18px;
  line-height: 1.6;
  max-width: 520px;
}

/* contenitore icone in alto a destra */

.copertina-actions{
    position:fixed;
    top:50px;
    right:24px;

    display:flex;
    gap:14px;

    z-index:9999999;
}

/* bottoni lightbox */

.copertina-expand,
.copertina-close {
  width: 52px;
  height: 52px;
  border: 0;
  border-radius: 50%;
  background: #1b1b1b;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: transform .25s ease, background .25s ease;
}

.copertina-expand:hover,
.copertina-close:hover {
  transform: scale(1.05);
  background: #2b2b2b;
}

.copertina-close {
  font-size: 28px;
  line-height: 1;
}

body.copertina-lightbox-open {
  overflow: hidden;
}

/* reset simboli Salient/icon font */

.copertina-expand:before,
.copertina-close:before,
.copertina-expand span:before,
.copertina-close span:before {
  content: none !important;
  display: none !important;
}

/* icone expand/collapse */

.copertina-expand .icon-expand {
  display: flex !important;
  align-items: center;
  justify-content: center;
}

.copertina-expand .icon-collapse {
  display: none !important;
  align-items: center;
  justify-content: center;
}

.copertina-lightbox.image-expanded .copertina-expand .icon-expand {
  display: none !important;
}

.copertina-lightbox.image-expanded .copertina-expand .icon-collapse {
  display: flex !important;
}

.copertina-expand svg {
  width: 20px;
  height: 20px;
  display: block;
}

/* stato immagine espansa */

.copertina-lightbox.image-expanded {
  padding: 3vw;
}

.copertina-lightbox.image-expanded .copertina-lightbox-inner {
  grid-template-columns: 1fr;
  max-width: 100%;
}

.copertina-lightbox.image-expanded .copertina-lightbox-text {
  display: none;
}

.copertina-lightbox.image-expanded .copertina-lightbox-image {
  display: flex;
  justify-content: center;
  align-items: center;
}

.copertina-lightbox.image-expanded .copertina-lightbox-image img {
  max-width: 90vw;
  max-height: 90vh;
  margin: 0 auto;
}

@media (max-width: 1200px) {
  .copertine-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

@media (max-width: 768px) {

  .copertine-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .copertina-actions {
    position: absolute;
    top: 18px;
    right: 18px;
    gap: 10px;
  }

  .copertina-expand,
  .copertina-close {
    width: 44px;
    height: 44px;
  }

  .copertina-close {
    font-size: 24px;
  }

  .copertina-expand svg {
    width: 18px;
    height: 18px;
  }
  .copertina-lightbox {
    align-items: flex-start;
    overflow-y: auto;
  }

  .copertina-lightbox-inner {
    grid-template-columns: 1fr;
    gap: 36px;
   margin-top: 60px;
  }

  .copertina-lightbox-image img {
    margin: 0 auto;
    max-height: 55vh;
  }
    .copertina-lightbox-image {
  }

  .copertina-lightbox-text h1 {
    font-size: 64px;
  }

}
/* MANIFESTI */
.archive-topbar {
  width: 100%;
  border-bottom: 1px solid #e6e6e6;
  background: #faf8f4;
}

.archive-topbar-inner {
  max-width: 1280px;
  margin: 0 auto;
  min-height: 108px;

  display: flex;
  align-items: center;
  justify-content: space-between;

  gap: 40px;
  padding: 0 32px;
}

.archive-heading {
  display: flex;
  align-items: center;
  gap: 22px;
}

.archive-back {
  width: 54px;
  height: 54px;
  border-radius: 999px;

  background: #081126;

  display: flex;
  align-items: center;
  justify-content: center;

  text-decoration: none;

  transition: transform .2s ease;
}

.archive-back:hover {
  transform: scale(1.05);
}

.archive-back span {
  color: #fff;
  font-size: 30px;
  line-height: 1;
  position: relative;
  top: -1px;
}

.archive-heading-text h1 {
  margin: 0;

  font-size: 40px;
  line-height: 1;

  font-weight: 800;
  letter-spacing: -0.03em;

  color: #081126;
}

.archive-filters {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

.archive-filters button {
  min-width: 74px;
  height: 34px;
  padding: 0 18px;
  border-radius: 999px;
  background: #eceff4;

  display: inline-flex;
  align-items: center;
  justify-content: center;

  color: #64748b;

  font-size: 13px;
  font-weight: 700;

  border:none;

  appearance:none;
  -webkit-appearance:none;

  cursor:pointer;

  transition:
    background .2s ease,
    color .2s ease,
    transform .2s ease;
}

.archive-filters button:hover {
  transform: translateY(-1px);
}

.archive-filters button:focus{
  outline:none;
}

.archive-filters button.is-active {
  background:#ec008c;
  color:#fff;
}

/* responsive */

@media (max-width: 900px) {

  .archive-topbar-inner {
    flex-direction: column;
    align-items: flex-start;

    padding-top: 28px;
    padding-bottom: 28px;

    min-height: auto;
  }

  .archive-heading-text h1 {
    font-size: 34px;
  }

}

@media (max-width: 640px) {

  .archive-heading {
    gap: 16px;
  }

  .archive-back {
    width: 46px;
    height: 46px;
  }

  .archive-heading-text h1 {
    font-size: 28px;
  }

  .archive-filters {
    gap: 10px;
  }

  .archive-filters a {
    min-width: 66px;
    height: 32px;
    font-size: 12px;
  }

}

.manifesti-page {
  background: #faf7f2;
  padding: 70px 5vw 100px;
}

.manifesti-page .copertine-header {
  max-width: 1280px;
  margin-bottom: 70px;
}

.manifesti-page .copertine-back {
  background: #111827;
  color: #fff;
}

.manifesti-page .copertine-header h1 {
  font-size: 38px;
  color: #101827;
}

.manifesti-grid {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 34px;
}

.manifesti-page .copertina-card {
  background: #fff;
  border-radius: 8px;
  padding: 18px 18px 28px;
  aspect-ratio: auto;
  box-shadow: 0 2px 8px rgba(15, 23, 42, .08);
  border: 1px solid #e7eaf0;
}

.manifesti-page .copertina-card img {
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 4.6;
  object-fit: cover;
  filter: grayscale(1);
  transition: filter .35s ease, transform .35s ease;
}

.manifesti-page .copertina-card:hover img {
  filter: grayscale(0);
  transform: none;
}

.manifesti-page .copertina-card-overlay {
  position: static;
  opacity: 1;
  background: transparent;
  padding: 20px 0 0;
  display: block;
}

.manifesti-page .copertina-card-overlay h3 {
  color: #ec008c;
  font-size: 20px;
  line-height: 1;
  margin: 0 0 8px;
}

.manifesti-page .copertina-card-overlay h3::after {
  content: attr(data-subtitle);
}

.manifesti-page .copertina-card-title {
  color: #071225;
  font-size: 19px;
  font-weight: 800;
  line-height: 1.2;
}
/* riga anteprima manifesti */
.manifesti-preview-wrapper {
  width: 100%;
  overflow: hidden;
  background: #000;
  padding: 90px 0;
}

.manifesti-preview-track {
  display: flex;
  gap: 48px;
  width: max-content;
  animation: manifestiScroll 40s linear infinite;
}

.manifesti-preview-wrapper:hover .manifesti-preview-track {
  animation-play-state: paused;
}

.manifesti-preview-card.copertina-card {
  flex: 0 0 320px;
  height: auto;
  aspect-ratio: auto;
  overflow: visible;
  border-radius: 0;
  background: transparent;
  cursor: pointer;
}

.manifesti-preview-image {
  height: 460px;
  border-radius: 14px;
  overflow: hidden;
  background: #111;
}

.manifesti-preview-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(1);
  display: block;
  transition: filter .35s ease, transform .35s ease;
}

.manifesti-preview-card:hover .manifesti-preview-image img {
  filter: grayscale(0);
  transform: scale(1.03);
}

.manifesti-preview-caption {
  margin-top: 18px;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity .25s ease, transform .25s ease;
}

.manifesti-preview-card:hover .manifesti-preview-caption {
  opacity: 1;
  transform: translateY(0);
}

.manifesti-preview-caption h3 {
  margin: 0 0 8px;
  color: #ec008c;
  font-size: 18px!important;
  line-height: 1.2!important;
  font-weight: 900;
}

.manifesti-preview-caption p {
  margin: 0;
  color: #fff;
  font-size: 14px;
  line-height: 1.25;
}

@keyframes manifestiScroll {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-50%);
  }
}

@media (max-width: 768px) {
  .manifesti-preview-wrapper {
    padding: 60px 0;
  }

  .manifesti-preview-track {
    gap: 24px;
  }

  .manifesti-preview-card.copertina-card {
    flex-basis: 240px;
  }

  .manifesti-preview-image {
    height: 340px;
  }
}
/* responsive */

@media (max-width: 1200px) {
  .manifesti-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 768px) {
  .manifesti-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }

  .manifesti-page {
    padding: 40px 20px 80px;
  }
}


.centenario-form-fix h1,
.centenario-form-fix h2,
.centenario-form-fix h3,
.centenario-form-fix h4,
.centenario-form-fix h5,
.centenario-form-fix h6,
.centenario-form-fix p,
.centenario-form-fix span{
    font-family:'Poppins',sans-serif !important;
}