.header__logo-image {
  color: transparent !important;
}

.main {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: 9em;
}

.hero {
  width: 100%;
  position: relative;
  margin-bottom: 2em;
}
.hero.is-small {
  aspect-ratio: 5/4;
  max-width: 640px;
}
.hero.is-large {
  max-width: 1000px;
  aspect-ratio: 3/2;
}
.hero.cover {
  margin-bottom: 6em;
}
.hero.cover img {
  -o-object-fit: cover;
     object-fit: cover;
  width: 100%;
  height: 100%;
}
.hero.contain {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.hero.contain.is-horizontal {
  aspect-ratio: unset;
}
.hero.contain img {
  -o-object-fit: contain;
     object-fit: contain;
  -o-object-position: center;
     object-position: center;
}
.hero.contain img.is-horizontal {
  width: 100%;
  max-width: 100%;
  height: auto;
}
.hero.contain img.is-vertical {
  height: 100%;
  max-height: 100%;
  width: auto;
}
.hero img {
  display: block;
}
.hero figcaption {
  color: #999;
  margin-bottom: 1em;
  margin-top: 0.75em;
  text-align: center;
}

.blocks {
  max-width: 680px;
  width: 100%;
  padding: 2em 1.5em;
  display: flex;
  flex-direction: column;
  gap: 1.5em;
}
.blocks img {
  max-width: 100%;
}
.blocks figure {
  margin: 0;
  padding: 0;
}
.blocks .blocks:not(:first-of-type) {
  margin-top: 0rem;
}
.blocks .block-text p {
  margin-bottom: 1em;
}
.blocks .block-image {
  margin: 0.5em 0;
}
.blocks .block-image img {
  height: 45vw;
  width: 100%;
  max-height: 500px;
  -o-object-fit: contain;
     object-fit: contain;
  -o-object-position: center;
     object-position: center;
}
.blocks .block-image figcaption {
  text-align: center;
  font-size: 0.75rem;
  margin-top: 0.5rem;
  padding: 0 20px;
  margin-bottom: 1rem;
  color: #999;
}
.blocks .block-gallery {
  margin: 20px 0;
  width: 100%;
}
.blocks .block-gallery .flickity-prev-next-button {
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s;
}
.blocks .block-gallery .flickity-page-dots {
  bottom: -30px;
}
.blocks .block-gallery:hover .flickity-prev-next-button {
  opacity: 1;
  pointer-events: all;
}
.blocks .block-gallery .slide {
  position: relative;
  width: 100%;
  display: flex;
  gap: 0.75em;
  flex-direction: column;
}
.blocks .block-gallery .slide figcaption {
  text-align: center;
  color: #999;
}
.blocks .block-gallery img {
  height: 380px;
  -o-object-fit: contain;
     object-fit: contain;
  -o-object-position: center;
     object-position: center;
  position: relative;
  width: 100%;
}
@media screen and (min-width: 640px) {
  .blocks .block-gallery img {
    height: 450px;
  }
}
.blocks .block-gallery figcaption {
  text-align: center;
  font-size: 0.825rem;
  margin-top: 0.5rem;
  padding: 0 20px;
  margin-bottom: 1rem;
  color: #999;
  margin-top: 40px;
}
.blocks iframe {
  border: none;
}
.blocks .block-line {
  display: none;
}
.blocks .block-line + .block-text {
  font-size: 0.75rem;
}

a {
  color: inherit;
  text-decoration: none;
}

.publications {
  margin-top: 3rem;
  margin-bottom: 3rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  max-width: 720px;
}
.publications h1 {
  margin-top: 0;
}

.intro {
  max-width: 640px;
  width: calc(100% - 40px);
  margin: 0 20px 40px 20px;
}

.list {
  max-width: 640px;
  width: calc(100% - 40px);
  margin: 0 20px;
}

.list-year {
  border-bottom: 1px solid;
}

.list-year.is-open > * > .arrow svg,
.list-month.is-open > * > .arrow svg {
  -webkit-transform: rotate(-180deg);
          transform: rotate(-180deg);
}
.list-year .publication-name,
.list-month .publication-name {
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  transition: color 0.3s;
}
.list-year .publication-name:hover,
.list-month .publication-name:hover {
  color: #FF3535;
}
.list-year .publication-name h3,
.list-month .publication-name h3 {
  margin: 0 !important;
  padding: 0;
}
.list-year .publication-name .arrow,
.list-month .publication-name .arrow {
  cursor: pointer;
  background-color: #eee;
  border-radius: 5px;
  width: 1.5em;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 1.5em;
  color: #000;
}
.list-year .publication-name .arrow svg,
.list-month .publication-name .arrow svg {
  transition: -webkit-transform 0.2s ease;
  transition: transform 0.2s ease;
  transition: transform 0.2s ease, -webkit-transform 0.2s ease;
  pointer-events: none;
}
.list-year .publication-year,
.list-month .publication-year {
  overflow: hidden;
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.3s;
  transition: grid-template-rows 0.3s, -ms-grid-rows 0.3s;
}
.list-year .publication-year.is-open,
.list-month .publication-year.is-open {
  grid-template-rows: 1fr;
}
.list-year .publication-year.is-open > .expander-content,
.list-month .publication-year.is-open > .expander-content {
  visibility: visible;
}
.list-year .publication-year .expander-content,
.list-month .publication-year .expander-content {
  min-height: 0;
  transition: visibility 1s;
  visibility: hidden;
}
.list-year .publication-year ul,
.list-month .publication-year ul {
  list-style-type: none;
  padding: 0;
}
.list-year .publication-month,
.list-month .publication-month {
  overflow: hidden;
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.3s;
  transition: grid-template-rows 0.3s, -ms-grid-rows 0.3s;
}
.list-year .publication-month.is-open,
.list-month .publication-month.is-open {
  grid-template-rows: 1fr;
}
.list-year .publication-month.is-open > .expander-content,
.list-month .publication-month.is-open > .expander-content {
  visibility: visible;
}
.list-year .publication-month .expander-content,
.list-month .publication-month .expander-content {
  min-height: 0;
  transition: visibility 1s;
  visibility: hidden;
}
.list-year .publication-month .expander-content ul,
.list-month .publication-month .expander-content ul {
  margin: 0;
  padding: 0;
  list-style-type: circle;
}
.list-year .publication-month .expander-content ul li,
.list-month .publication-month .expander-content ul li {
  margin: 0.5em 1em;
}

.list-month:not(:last-child) {
  border-bottom: 1px solid #ddd;
}
.list-month .arrow {
  background-color: #fff !important;
}
.list-month .publication-name {
  padding: 0.5em 0;
}
.list-month:last-child {
  padding-bottom: 1em;
}

.list-year {
  scroll-margin-top: 100px;
}
.list-year > .publication-name > h2 {
  font-size: 24px;
  font-family: "Montserrat", Arial, sans-serif;
}

.list-year.is-open > .publication-name {
  background-color: #fff;
  border-bottom: 1px solid #ccc;
  position: -webkit-sticky;
  position: sticky;
  top: 80px;
  z-index: 100;
}

.fondi {
  background-color: #f6f6f6;
  border-radius: 10px;
  margin-bottom: 20px;
  margin-top: -10px;
  padding: 15px 0;
}
.fondi .fonti-item {
  padding: 0 15px;
}
.fondi .fonti-item:not(:last-of-type) {
  border-bottom: 1px solid #ccc;
  margin-bottom: 15px;
  padding-bottom: 15px;
}
.fondi .fonti-fondo p {
  margin: 0 !important;
}
.fondi .fonti-links ul,
.fondi .fonti-links p {
  margin: 0 !important;
}
.fondi .fonti-links a {
  color: #FF3535;
  text-decoration: underline;
}