/** Shopify CDN: Minification failed

Line 353:0 Unexpected "}"

**/
.article-template > *:first-child:not(.article-template__hero-container) {
  margin-top: 2rem;
}

@media screen and (min-width: 750px) {
  .article-template > *:first-child:not(.article-template__hero-container) {
    margin-top: calc(5rem + var(--page-width-margin));
  }
}

.article-template__hero-container {
  max-width: 130rem;
  margin: 0 auto;
}

.article-template__hero-small {
  height: 11rem;
}

.article-template__hero-medium {
  height: 22rem;
}

.article-template__hero-large {
  height: 33rem;
}

@media screen and (min-width: 750px) and (max-width: 989px) {
  .article-template__hero-small {
    height: 22rem;
  }

  .article-template__hero-medium {
    height: 44rem;
  }

  .article-template__hero-large {
    height: 66rem;
  }
}

@media screen and (min-width: 990px) {
  .article-template__hero-small {
    height: 27.5rem;
  }

  .article-template__hero-medium {
    height: 55rem;
  }

  .article-template__hero-large {
    height: 82.5rem;
  }
}

.article-template header {
  margin-top: 4.4rem;
  margin-bottom: 2rem;
  line-height: calc(0.8 / var(--font-body-scale));
}

@media screen and (min-width: 750px) {
  .article-template header {
    margin-top: 5rem;
  }
}

.article-template__title {
  margin: 0;
}

.article-template__title:not(:only-child) {
  margin-bottom: 1rem;
}

.article-template__link {
  font-size: 1.8rem;
  display: flex;
  justify-content: center;
  align-items: center;
  text-decoration: none;
}

.article-template__link .icon-wrap {
  display: flex;
  margin-right: 1rem;
  transform: rotate(180deg);
}

.article-template__content {
  margin-top: 3rem;
  margin-bottom: 3rem;
}

.article-template__social-sharing {
  margin-top: 3rem;
}

.article-template__social-sharing + header,
.article-template__social-sharing + .article-template__content {
  margin-top: 1.5rem;
}

.article-template__comment-wrapper {
  margin-top: 5rem;
  padding: 2.7rem 0;
}

@media screen and (min-width: 750px) {
  .article-template__comment-wrapper {
    margin-top: 6rem;
    padding: 3.6rem 0;
  }
}

.article-template__comment-wrapper h2 {
  margin-top: 0;
}

.article-template__comments {
  margin-bottom: 5rem;
}

@media screen and (min-width: 750px) {
  .article-template__comments {
    margin-bottom: 7rem;
  }
}

.article-template__comments-fields {
  margin-bottom: 4rem;
}

.article-template__comments-comment {
  color: rgba(var(--color-foreground), 0.75);
  background-color: rgb(var(--color-background));
  margin-bottom: 1.5rem;
  padding: 2rem 2rem 1.5rem;
}

@media screen and (min-width: 750px) {
  .article-template__comments-comment {
    padding: 2rem 2.5rem;
  }
}

.article-template__comments-comment p {
  margin: 0 0 1rem;
}

.article-template__comment-fields > * {
  margin-bottom: 3rem;
}

@media screen and (min-width: 750px) {
  .article-template__comment-fields {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-column-gap: 4rem;
  }
}

.article-template__comment-warning {
  margin: 2rem 0 2.5rem;
}

@media screen and (min-width: 990px) {
  .article-template__comments .pagination-wrapper {
    margin: 5rem 0 8rem;
  }
}

.article-template__back:last-child {
  margin-bottom: 3.2rem;
}

/* ============ BLOG BIBIMBO · STILE APPLE (CON SELETTORE COMPLETO) ============ */

/* Wrapper – testo base */
.article-template__content.page-width.page-width--narrow.rte.scroll-trigger.animate--slide-in {
  font-family: "Roboto Flex", -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;
  font-size: 1.3rem;
  line-height: 1.8;
  letter-spacing: 0.04rem;
  color: #111827;
}

/* Desktop: aumenta dimensione */
@media screen and (min-width: 750px) {
  .article-template__content.page-width.page-width--narrow.rte.scroll-trigger.animate--slide-in {
    font-size: 1.5rem;
  }
}

/* H2 */
.article-template__content.page-width.page-width--narrow.rte.scroll-trigger.animate--slide-in h2 {
  font-size: 1.9rem;
  font-weight: 650;
  letter-spacing: -0.02em;
  margin-top: 3.5rem;
  margin-bottom: 1.5rem;
  color: #111827;
}

/* Separatore prima degli H2 dopo il primo */
.article-template__content.page-width.page-width--narrow.rte.scroll-trigger.animate--slide-in h2:not(:first-child) {
  border-top: 1px solid #e5e7eb;
  padding-top: 2.5rem;
}

/* H3 */
.article-template__content.page-width.page-width--narrow.rte.scroll-trigger.animate--slide-in h3 {
  font-size: 1.4rem;
  font-weight: 550;
  margin-top: 2.8rem;
  margin-bottom: 1.1rem;
  color: #111827;
}

/* Paragrafi */
.article-template__content.page-width.page-width--narrow.rte.scroll-trigger.animate--slide-in p {
  margin-bottom: 1.3rem;
  text-align: justify;
}

/* Liste puntate */
.article-template__content.page-width.page-width--narrow.rte.scroll-trigger.animate--slide-in ul {
  padding-left: 1.3rem;
  margin-bottom: 1.7rem;
}

.article-template__content.page-width.page-width--narrow.rte.scroll-trigger.animate--slide-in ul li {
  margin-bottom: 0.5rem;
  line-height: 1.75;
}

/* Grassetto */
.article-template__content.page-width.page-width--narrow.rte.scroll-trigger.animate--slide-in strong {
  font-weight: 600;
}


/* ELEMENTI ANIMABILI NELL'ARTICOLO */
/* Stato base degli elementi che devono reagire allo scroll 
.article-template__content.page-width.page-width--narrow.rte.scroll-trigger.animate--slide-in .bb-scroll-fade {
  opacity: 0;
  transform: translateY(32px);
  will-change: opacity, transform;
}


/* QUANDO ENTRANO IN VIEW 
.article-template__content.page-width.page-width--narrow.rte.scroll-trigger.animate--slide-in .bb-fade.bb-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Testo articoli più "pieno" */
.article-template__content.page-width.page-width--narrow.rte.scroll-trigger.animate--slide-in p,
.article-template__content.page-width.page-width--narrow.rte.scroll-trigger.animate--slide-in li {
  color: #111827 !important;
  font-weight: 400 !important; /* se è troppo, proviamo 500 o 550 */
}

.article-template__hero-container.scroll-trigger.animate--fade-in{
    width: 100%;
    aspect-ratio: 20 / 9;
    overflow: hidden;
  }

@media screen and (min-width: 750px) {
  .article-template__hero-container.scroll-trigger.animate--fade-in{
    border-radius: 20px;
  }
}

.article-template__related-products {
  margin-top: 4rem;
  padding-top: 3rem;
  border-top: 1px solid rgba(var(--color-foreground), 0.1);
}

.article-template__related-products-title {
  font-size: 1.6rem;
  margin-bottom: 2rem;
  text-align: center;
}

.article-template__related-products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 2rem;
  padding: 0;
  margin: 0;
}

.article-template__related-product-item {
  list-style: none;
}

.article-template__related-product-link {
  display: block;
  text-decoration: none;
  color: inherit;
}

.article-template__related-product-image {
  aspect-ratio: 1;
  overflow: hidden;
  border-radius: var(--media-radius);
  margin-bottom: 1rem;
}

.article-template__related-product-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.article-template__related-product-link:hover img {
  transform: scale(1.03);
}

.article-template__related-product-info {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}

.article-template__related-product-vendor {
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  opacity: 0.6;
}

.article-template__related-product-title {
  font-size: 1.3rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  line-height: 1.3em; /* serve per calcolare l'altezza corretta */
  max-height: 2.6em; /* 2 righe * line-height, fallback per browser senza line-clamp */
}
}

.article-template__related-product-price {
  font-size: 1.2rem;
  font-weight: 500;
}

/* Arrotonda gli angoli di tutte le immagini nei post del blog */
.article-template__content .rte img {
  border-radius: 20px !important;
}

@media screen and (max-width: 749px) {
  .article-template__related-products-grid {
    display: flex;
    flex-wrap: nowrap;
    justify-content: safe center; /* fallback flex-start se non supportato */
    align-items: flex-start;
    gap: 1rem;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    padding: 0 1rem;
    list-style: none;
  }

  .article-template__related-product-item {
    flex: 0 0 auto;
    width: 30vw;
    max-width: 30vw;
  }

  .article-template__related-product-image img {
    width: 100%;
    height: auto;
  }
}