/* Lemon Drops — Magazine blog (indice /blog, archivi e singolo post) */

/* ---------- Masthead editoriale (indice blog) ---------- */
body.blog .post-archive-hero-section,
body.blog .entry-hero-container-inner > .entry-header { display: none; } /* nasconde l'hero "Blog" di default: il masthead fa da titolo */

.ld-mag-masthead {
  max-width: 64rem;
  margin: 0 auto;
  padding: clamp(2rem, 5vw, 4rem) 1.25rem clamp(1.5rem, 3vw, 2.5rem);
  text-align: center;
}
.ld-mag-eyebrow {
  font-family: var(--ld-font-body);
  text-transform: uppercase;
  letter-spacing: .14em;
  font-size: .8rem;
  font-weight: 600;
  color: var(--ld-magenta);
  margin: 0 0 .9rem;
}
.ld-mag-title {
  font-family: var(--ld-font-display);
  font-weight: 600;
  line-height: 1.05;
  font-size: clamp(2.2rem, 5.5vw, 3.6rem);
  color: var(--ld-grey-ink);
  margin: 0 0 1rem;
}
.ld-mag-title em { font-style: italic; color: var(--ld-magenta); }
.ld-mag-tagline {
  font-size: clamp(1.02rem, 1.6vw, 1.2rem);
  color: var(--ld-grey-soft);
  max-width: 42rem;
  margin: 0 auto 1.6rem;
  line-height: 1.55;
}
.ld-mag-cats {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: .55rem;
}
.ld-mag-cats a {
  display: inline-block;
  padding: .45rem 1rem;
  border-radius: var(--ld-radius-pill);
  background: var(--ld-white);
  border: 1px solid var(--ld-hairline);
  color: var(--ld-grey-ink);
  font-size: .88rem;
  font-weight: 600;
  text-decoration: none;
  transition: background .18s ease, border-color .18s ease, transform .18s ease;
}
.ld-mag-cats a:hover {
  background: var(--ld-yellow);
  border-color: var(--ld-yellow-deep);
  color: var(--ld-grey-ink);
  transform: translateY(-2px);
}
.ld-mag-cats a.is-current {
  background: var(--ld-grey-ink);
  border-color: var(--ld-grey-ink);
  color: var(--ld-cream);
}
.ld-mag-archive .ld-mag-title { font-size: clamp(1.9rem, 4.5vw, 3rem); }

/* ---------- Griglia: card premium ---------- */
body.blog .kadence-posts-list.post-archive,
.post-archive.kadence-posts-list {
  gap: clamp(1.4rem, 2.5vw, 2.2rem);
}
.post-archive .loop-entry.entry {
  background: var(--ld-white);
  border: 1px solid var(--ld-hairline);
  border-radius: var(--ld-radius);
  overflow: hidden;
  box-shadow: var(--ld-shadow-card);
  transition: transform .22s ease, box-shadow .22s ease;
}
.post-archive .loop-entry.entry:hover {
  transform: translateY(-5px);
  box-shadow: var(--ld-shadow-soft);
}
/* Copertina: riquadro landscape 16:10 a piena larghezza.
   Kadence avvolge la thumb in .post-thumbnail-inner e impone un ritaglio verticale
   (classe kadence-thumbnail-ratio-*): qui lo annulliamo col padding-bottom. */
.post-archive .loop-entry .post-thumbnail,
.post-archive .loop-entry .article-post-thumbnail {
  display: block;
  width: 100%;
  height: 0;
  margin: 0;
  padding: 0 0 62.5%;
  position: relative;
  overflow: hidden;
}
.post-archive .loop-entry .post-thumbnail .post-thumbnail-inner {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.post-archive .loop-entry .post-thumbnail img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  aspect-ratio: auto;
  min-height: 0;
  max-width: none;
  display: block;
  transition: transform .4s ease;
}
.post-archive .loop-entry.entry:hover .post-thumbnail img { transform: scale(1.04); }
.post-archive .loop-entry .entry-content-wrap {
  padding: 1.3rem 1.4rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: .6rem;
}
.post-archive .loop-entry .entry-title {
  font-family: var(--ld-font-display);
  font-weight: 600;
  line-height: 1.18;
  font-size: 1.32rem;
  margin: 0;
}
.post-archive .loop-entry .entry-title a { color: var(--ld-grey-ink); text-decoration: none; }
.post-archive .loop-entry .entry-title a:hover { color: var(--ld-magenta); }
.post-archive .loop-entry .entry-summary { color: var(--ld-grey-soft); font-size: .98rem; line-height: 1.55; }

/* Categoria come pill gialla */
.post-archive .loop-entry .entry-taxonomies .category-style-pill,
.post-archive .loop-entry .entry-taxonomies a {
  display: inline-block;
  background: var(--ld-yellow);
  color: var(--ld-grey-ink);
  padding: .25rem .8rem;
  border-radius: var(--ld-radius-pill);
  font-size: .76rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .04em;
  text-decoration: none;
}
.post-archive .loop-entry .entry-taxonomies { margin: 0; }
.post-archive .loop-entry .entry-meta { font-size: .82rem; color: var(--ld-grey-soft); }

/* "Continua a leggere" come pulsante leggero */
.post-archive .loop-entry .entry-actions .more-link {
  display: inline-block;
  margin-top: .3rem;
  font-weight: 600;
  color: var(--ld-magenta);
  text-decoration: none;
}
.post-archive .loop-entry .entry-actions .more-link:hover { text-decoration: underline; }
