/* Elimina la capitular només a l’article 622 */
.postid-622 p:first-of-type::first-letter {
    float: none !important;
    font-size: 1em !important;
    line-height: inherit !important;
    margin: 0 !important;
    padding: 0 !important;
}
.post-password-required .wp-block-post-title::before {
  content: "";
}
.post-password-form::before {
  content: "Aquest contingut és exclusiu per a subscriptors. Introdueix la contrasenya per accedir-hi.";
  display: block;
  color: #000;
  font-size: 28px;
  line-height: 1.35;
  margin-bottom: 32px;
}

.post-password-form p:first-of-type {
  display: none;
}
.page-slug-mirador .wp-block-post-template li:nth-last-child(-n+2) {
  width: 100% !important;
  max-width: 100% !important;
}


}
/* MIRADOR - igualar articles Newspack encara que quedin fora del data-posts */

body.page-id-13 .wpnbha.wp-custom-css-a75e5d81 {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: var(--wpnbha-col-gap, 32px) !important;
  align-items: flex-start !important;
}

body.page-id-13 .wpnbha.wp-custom-css-a75e5d81 > div[data-posts] {
  display: contents !important;
}

body.page-id-13 .wpnbha.wp-custom-css-a75e5d81 article {
  flex: 0 0 calc((100% - 64px) / 3) !important;
  width: calc((100% - 64px) / 3) !important;
  max-width: calc((100% - 64px) / 3) !important;
  margin: 0 !important;
  box-sizing: border-box !important;
}

body.page-id-13 .wpnbha.wp-custom-css-a75e5d81 .post-thumbnail {
  width: 100% !important;
  aspect-ratio: 1 / 1 !important;
  overflow: hidden !important;
}

body.page-id-13 .wpnbha.wp-custom-css-a75e5d81 .post-thumbnail img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  display: block !important;
}

@media (max-width: 781px) {
  body.page-id-13 .wpnbha.wp-custom-css-a75e5d81 article {
    flex: 0 0 100% !important;
    width: 100% !important;
    max-width: 100% !important;
  }
}
/* MIRADOR - igualar totes les targetes */

.page-id-13 .wp-custom-css-4224fd0a {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: 32px !important;
}

.page-id-13 .wp-custom-css-4224fd0a > div[data-posts] {
  display: contents !important;
}

.page-id-13 .wp-custom-css-4224fd0a article {
  width: auto !important;
  max-width: none !important;
  min-width: 0 !important;
  grid-column: auto !important;
}

.page-id-13 .wp-custom-css-4224fd0a .post-thumbnail {
  width: 100% !important;
  aspect-ratio: 1 / 1 !important;
  overflow: hidden !important;
}

.page-id-13 .wp-custom-css-4224fd0a .post-thumbnail img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  display: block !important;
}

@media (max-width: 781px) {
  .page-id-13 .wp-custom-css-4224fd0a {
    grid-template-columns: 1fr !important;
  }
}
/* MIRADOR - forçar graella pública correcta */
body.page-id-4293 .wp-block-newspack-blocks-homepage-articles {
  display: block !important;
}

body.page-id-4293 .wp-block-newspack-blocks-homepage-articles > div[data-posts] {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: 32px !important;
}

body.page-id-4293 .wp-block-newspack-blocks-homepage-articles article {
  width: auto !important;
  max-width: none !important;
  margin: 0 !important;
  min-width: 0 !important;
}

body.page-id-4293 .wp-block-newspack-blocks-homepage-articles .post-thumbnail img {
  width: 100% !important;
  height: auto !important;
  display: block !important;
}

@media (max-width: 781px) {
  body.page-id-4293 .wp-block-newspack-blocks-homepage-articles > div[data-posts] {
    grid-template-columns: 1fr !important;
  }
}