.progetti-content {
}

.progetti-content .content {
  max-width: var(--max-section-grid-width);
  margin: 0 auto;
  padding: 0 1.5rem;
}

.progetti-content-grid {
  display: grid;
  grid-template-columns: 1fr 3fr;
  gap: 0;
}

.progetti-content-left {
  font-size: 0.875rem;
  line-height: 1.4;
  padding-right: 0rem;
  position: relative;
  border-right: 1px solid #e0e0e0;
  padding-bottom: 2rem;
}

.meta-section {
  margin-bottom: 2.5rem;
  margin-top: 3rem;
}

.meta-title {
  font-weight: 600;
  margin: 0 0 0.75rem 0;
  font-size: 1rem;
  color: #000;
  font-family: var(--font-heading, sans-serif);
}

.meta-value {
  margin: 0;
  color: #000;
  font-size: 1rem;
  line-height: 1.4;
}

.materiali-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(5rem, 1fr));
  gap: 1rem;
  margin-top: 0.75rem;
}

.materiale-item {
  cursor: pointer;
  transition: transform 0.2s ease;
  position: relative;
}

.materiale-item:hover {
  transform: scale(1.05);
}

.materiale-item::after {
  content: "";
  display: block;
  padding-bottom: 100%;
}

.materiale-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  top: 0;
  left: 0;
}

.progetti-content-right {
  font-size: 1rem;
  line-height: 1.6;
  padding-left: 3rem;
}

.progetti-content-right h1,
.progetti-content-right h2,
.progetti-content-right h3 {
  margin-bottom: 1.5rem;
  font-family: "IvyPresto Headline", serif;
  font-size: 45px;
}

.progetti-content-right p {
  margin-bottom: 1.5rem;
  margin-top: 3rem;
}

.progetti-content-right img {
  width: 100%;
  height: auto;
  margin-bottom: 2rem;
}

.progetti-featured-image {
  margin-bottom: 2rem;
}

.progetti-featured-image img {
  width: 100%;
  height: auto;
  object-fit: cover;
}

.progetti-collezione {
  margin: 2rem 0 3rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: flex-start;
  padding: 2.5rem;
  border-radius: 0.5rem;
  background-color: #f5f0e8;
  position: relative;
  overflow: hidden;
}

.progetti-collezione::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #f5f0e8;
  background-image: radial-gradient(
      circle at 15% 50%,
      rgba(255, 255, 255, 0.7) 0%,
      rgba(255, 255, 255, 0) 20%
    ),
    radial-gradient(
      circle at 85% 30%,
      rgba(255, 255, 255, 0.7) 0%,
      rgba(255, 255, 255, 0) 25%
    ),
    radial-gradient(
      circle at 40% 70%,
      rgba(255, 255, 255, 0.6) 0%,
      rgba(255, 255, 255, 0) 30%
    ),
    radial-gradient(
      circle at 65% 80%,
      rgba(255, 255, 255, 0.5) 0%,
      rgba(255, 255, 255, 0) 20%
    ),
    linear-gradient(
      45deg,
      #f5f0e8 25%,
      #eae4d9 25%,
      #eae4d9 50%,
      #f5f0e8 50%,
      #f5f0e8 75%,
      #eae4d9 75%,
      #eae4d9 100%
    );
  background-size: 50% 100%, 40% 80%, 60% 70%, 30% 50%, 20px 20px;
  background-position: center;
  z-index: 0;
}

.progetti-collezione-titolo,
.progetti-collezione-descrizione,
.collezione-button,
.categorie-collezione {
  position: relative;
  z-index: 1;
}

.progetti-collezione-titolo {
  grid-column: 2;
  font-family: var(--font-heading, serif);
  font-size: 2rem;
  line-height: 1.2;
  margin-top: 0;
  margin-bottom: 1rem;
  font-weight: 600;
  color: #000;
}

.progetti-collezione-descrizione {
  grid-column: 2;
  font-size: 1rem;
  line-height: 1.6;
  color: #000;
  margin-bottom: 1.5rem;
  font-style: italic;
}

.progetti-collezione-descrizione p {
  margin-bottom: 1rem;
}

.collezione-button {
  grid-column: 2;
  display: inline-block;
  padding: 0.8rem 1.5rem;
  background-color: rgba(255, 255, 255, 0.8);
  color: #000;
  text-decoration: none;
  border-radius: 2rem;
  font-size: 0.9rem;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  font-weight: 500;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.collezione-button:hover {
  background-color: rgba(255, 255, 255, 1);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.materiali-posati {
  margin-top: 2rem;
  border-top: 1px solid #e0e0e0;
  padding-top: 2rem;
  padding-right: 2rem;
}

.materiale-box {
  position: relative;
  overflow: hidden;
  border-radius: 4px;
  margin-bottom: 1rem;
}

.materiale-box a {
  display: block;
  position: relative;
  text-decoration: none;
}

.materiale-img {
  display: block;
  width: 100%;
  height: 225px;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.materiale-bottom-bar {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: linear-gradient(
    to top,
    rgba(0, 0, 0, 0.8) 0%,
    rgba(0, 0, 0, 0.6) 40%,
    rgba(0, 0, 0, 0.4) 70%,
    rgba(0, 0, 0, 0) 100%
  );
  z-index: 2;
}

.materiale-title {
  font-family: var(--font-heading, serif);
  font-size: 1rem;
  line-height: 1.2;
  font-weight: 600;
  text-transform: uppercase;
  color: white;
  margin: 0;
}

.materiale-arrow {
  font-size: 24px;
  color: white;
}

.materiale-box a:hover .materiale-img {
  transform: scale(1.05);
}

.materiale-box img.prodotto-image {
  aspect-ratio: 16 / 9;
}

.progetti-content-left-title {
  font-size: 1.2rem;
  margin-bottom: 1rem;
  font-weight: 600;
  color: #000;
}

.progetto-content-section {
  margin-top: 4rem;
  width: 100%;
}

.progetto-content-title {
  font-family: var(--font-heading, serif);
  font-size: 1.5rem;
  line-height: 1.2;
  font-weight: 600;
  margin-bottom: 2rem;
}

.progetto-content-image {
  margin-bottom: 2rem;
  width: 100%;
}

.content-image {
  display: block;
  width: 100%;
  max-height: 500px;
  object-fit: cover;
  border-radius: 4px;
}

.progetto-content-text {
  margin-top: 1.5rem;
}

.progetto-content-text p {
  margin-bottom: 1rem;
  line-height: 1.6;
}

.immagine-titolo-descrizione-section {
  margin-top: 5rem;
  margin-bottom: 3rem;
}

.immagine-titolo-descrizione-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: flex-start;
}

.immagine-descrizione-container {
  margin-bottom: 0;
}

.immagine-descrizione {
  display: block;
  width: 100%;
  height: 100%;
  max-height: none;
  object-fit: cover;
  border-radius: 0;
}

.titolo-descrizione-container {
  padding: 1rem 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.titolo-descrizione-content {
  font-family: var(--font-heading, serif);
  font-size: 2.8rem;
  line-height: 1.1;
  font-weight: 600;
  margin-bottom: 2rem;
  margin-top: 0;
  color: #000;
}

.descrizione-content {
  margin-bottom: 2rem;
  color: #333;
  font-size: 16px;
  font-family: Helvetica Neue LT Std, sans-serif;
}

.descrizione-content p {
  margin-bottom: 1rem;
  line-height: 1.7;
}

@media screen and (max-width: 48rem) {
  .immagine-titolo-descrizione-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .titolo-descrizione-content {
    font-size: 2rem;
    margin-top: 1rem;
  }

  .materiali-posati {
    padding-right: 0rem;
  }
}

.immagini-small-big-section {
  margin-bottom: 5rem;
}

.immagini-small-big-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 1.5rem;
  align-items: center;
}

.immagine-big-container {
  width: 100%;
  height: 100%;
}

.immagine-small-container {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.immagine-small-wrapper {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.immagine-big,
.immagine-small {
  display: block;
  width: 100%;
  object-fit: cover;
}

.immagine-big {
  max-height: 500px;
  width: 100%;
}

.immagine-small {
  max-height: 350px;
  width: 100%;
}

@media screen and (max-width: 48rem) {
  .immagini-small-big-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
    width: 100%;
  }

  .immagine-big-container {
    width: 100vw;
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
    height: auto;
  }

  .immagine-small-container {
    width: 70%;
    margin: 1.5rem auto 0;
    height: auto;
  }

  .immagine-big {
    width: 100%;
    height: auto;
    max-height: 450px;
  }

  .immagine-small {
    width: 100%;
    height: auto;
    max-height: 300px;
  }
}

@media screen and (max-width: 30rem) {
  .immagine-small-container {
    width: 80%;
  }

  .immagine-big {
    max-height: 350px;
  }

  .immagine-small {
    max-height: 250px;
  }
}

@media screen and (max-width: 48rem) {
  .progetti-content-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .progetti-content-left {
    order: 1;
    border-right: none;
    padding-right: 0;
  }

  .progetti-content-right {
    order: 2;
    padding-left: 0;
    border-top: 1px solid #e0e0e0;
    padding-top: 2rem;
  }

  .progetti-content-left-inner {
    display: block;
  }

  .progetti-content-left-item {
    margin-right: 0;
    margin-bottom: 1rem;
  }

  .materiali-grid {
    grid-template-columns: repeat(auto-fill, minmax(4.5rem, 1fr));
  }

  .progetti-collezione {
    grid-template-columns: 1fr;
    gap: 1rem;
    padding: 1.5rem;
    margin-top: 2rem;
  }

  .progetti-collezione-titolo,
  .progetti-collezione-descrizione,
  .collezione-button,
  .categorie-collezione {
    grid-column: 1;
  }

  .progetti-collezione-titolo {
    font-size: 1.5rem;
  }

  .categorie-list {
    flex-wrap: wrap;
    gap: 0.5rem;
  }
}

@media screen and (max-width: 30rem) {
  .progetti-collezione {
    padding: 1.25rem;
  }

  .collezione-button {
    display: block;
    text-align: center;
    width: 100%;
  }
}
