/********** blog-post.html ***********/
.blog-post {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    flex: 1 0 auto;
    background-color: #F4F1EC;
    animation: fadeIn 0.3s ease-out 0s forwards;
}

@keyframes fadeIn {
    0% {
        opacity: 0;
    }
    100% {
        opacity: 1;
    }
}


.blog-post-image-wrapper {
  display: flex;
  flex-direction: column; 
  justify-content: center; 
  align-items: center; 
  width: 100vw;
  height: clamp(24rem, 54vh, 36rem);
  background-size: cover;
  background-position: center;
  position: relative;
  color: #fff;
}

.background-emulate {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  top: 0;
  left: 0;
  image-rendering: crisp-edges;
  image-rendering: -webkit-crisp-edges;
}


.text-container {
  padding: 3rem 1rem;
  position: relative;
  z-index: 2;
  padding: 6rem 0rem;
  max-width: 95%;
  width: calc(80rem - 2rem);
}

.blog-post-image-wrapper h1 {
  font-family: 'Roboto', 'Signika', 'Arsenal', sans-serif;
  font-size: clamp(2.5rem, 3.5vw + 1rem, 4rem);
  font-weight: 600;
  letter-spacing: 0px;
  color: #fff;
  text-align: left;
  position: relative;
  margin: 0; 
  padding: 1.5rem; 
  z-index: 2;
  text-shadow: 2px 2px 2px rgba(0, 0, 0, 0.5);
  animation: fadeIn 0.3s ease-out 0s forwards;
}

.blog-post-image-wrapper h2 {
  font-family: 'Roboto', 'Roboto-Condensed', 'Signika', 'Arsenal', sans-serif;
  letter-spacing: 2px;
  font-size: clamp(1rem, 3vw, 1.25rem);
  font-weight: 300;
  color: #fff;
  text-align: left;
  padding: 1rem; 
  margin: 0;  
  z-index: 2;
  animation: fadeIn 0.3s ease-out 0s forwards;
}




/* =========================================================
   BLOG POST DETAILS RESPONSIVO
   ========================================================= */

.blog-post-details {
  width: 100%;
  padding: 1rem 1.5rem;
  background-color: #F2EEE8;
}

.blog-post-details-wrapper {
  width: min(calc(80rem - 2rem), 95%);
  margin-left: auto;
  margin-right: auto;

  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 0.9rem 2rem;
}

.blog-post-details-wrapper > * {
  flex: 0 1 auto;
}

.blog-post-details p,
.blog-post-category p,
.blog-like-count {
  line-height: 1.35rem;
}

.blog-post-category {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.375rem 0.75rem;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.03);
}

.blog-like-form {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  white-space: nowrap;
}

/* tablet */
@media (max-width: 928px) {
  .blog-post-details {
    padding: 1rem;
  }

  .blog-post-details-wrapper {
    width: 100%;
    gap: 0.8rem 1.25rem;
    justify-content: center;
  }

  .blog-post-details p,
  .blog-post-category p {
    font-size: 0.95rem;
    text-align: center;
  }
}

/* mobile */
@media (max-width: 640px) {
  .blog-post-details {
    padding: 0.9rem 1rem;
  }

  .blog-post-details-wrapper {
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
  }

  .blog-post-details-wrapper > * {
    width: 100%;
    display: flex;
    justify-content: center;
    text-align: center;
  }

  .blog-post-category {
    width: auto;
    max-width: 100%;
  }

  .blog-like-form {
    width: auto;
  }

  .blog-post-details p,
  .blog-post-category p,
  .blog-like-count {
    font-size: 0.95rem;
  }
}

.blog-like-toggle {
  appearance: none;
  background: transparent;
  border: none;
  padding: 0;
  margin: 0;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  color: #4F4A44;
  transition: transform 0.18s ease, color 0.18s ease, opacity 0.18s ease;
}

.blog-like-toggle:hover {
  color: red;
  opacity: 0.92;
}

.blog-like-toggle:active {
  transform: scale(0.94);
}

.blog-like-toggle:focus-visible {
  outline: 2px solid #2E98ED;
  outline-offset: 3px;
  border-radius: 4px;
}

.blog-like-icon {
  font-size: 1.35rem;
  line-height: 1;
  display: inline-block;
}

/* estado curtido */
.blog-like-toggle.is-liked .blog-like-icon {
  color: red;
}

.blog-like-toggle.is-liked .blog-like-icon::before {
  content: "♥";
}

.blog-like-toggle:not(.is-liked) .blog-like-icon::before {
  content: "♡";
}

.blog-like-icon {
  font-size: 1.35rem;
  color: inherit;
}









.blog-post-article {
    display: flex;
    width: 100%;
    margin: 0;
    padding: 1.5rem;
    background-color: #F4F1EC;
    align-items: flex-start;
    justify-content: center;
    flex: 1 0 auto;
}

.blog-post-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    width: 100%;
    max-width: 728px;
    margin: 0 auto 3rem auto;
    padding: 0;
}

.blog-post-content .blog-post-summary {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  background: rgba(40, 80, 149, 0.06);
  border-left: 4px solid #285095;
  line-height: 2.5rem;
  border-radius: 12px;
  padding: 1.5rem 1.5rem;
  font-family: 'Roboto', 'Arsenal', sans-serif;
  font-size: clamp(1.125rem, 2.5vw, 1.25rem);
  font-weight: 300;
  color: #2F2B27;
  text-align: justify;
  min-width: 400px;
}




.blog-post-content .image-block {
  position: relative;
  width: 100%;
  margin-bottom: 1.5rem;
}

.blog-post-content .image-block img {
  width: 100%;
  height: auto;
  display: block;
  margin-bottom: 0;
  position: relative;
  z-index: 1;
}

.blog-post-content .image-block .image-description {
  text-align: left;
  font-family: 'Signika', 'Arsenal', sans-serif;
  font-size: clamp(1rem, 3vw, 1.125rem);
  font-weight: 300;
  line-height: 1.125rem;
  color: #fff;
  padding: 0.75rem 1.5rem;
  margin: 0;
  width: 100%;
  max-width: 100%;
  background-color: transparent;
  -webkit-backdrop-filter: blur(32px);
  backdrop-filter: blur(64px);
  position: absolute;
  left: 0;
  bottom: 0;
  z-index: 2;
  box-sizing: border-box;
}

/* Estilos para elementos de lista */
.blog-post ul,
.blog-post ol {
  color: #4F4A44;
  text-align: justify;
  line-height: 2.5rem;
  font-family: 'Roboto', 'Signika', 'Arsenal', sans-serif;
  font-weight: 300;
  font-size: clamp(1.125rem, 3vw, 1.25rem);
}

.blog-post ul li,
.blog-post ol li {
  margin: 0 0 0.5rem 0;
  padding: 0;
}

.blog-post-content p,
.blog-post-content p span {
  color: #4F4A44;
  text-align: left;
  line-height: 2.5rem;
  font-family: 'Roboto', 'Signika', 'Arsenal', sans-serif;
  font-weight: 300;
  font-size: clamp(1.125rem, 2.5vw, 1.25rem);
  margin-bottom: 1.5rem;
  background-color: #F4F1EC;
}


.blog-post-content h2,
.blog-post-content h3,
.blog-post-content h4,
.blog-post-content h5,
.blog-post-content h6 {
  font-family: 'Roboto', 'Signika', 'Arsenal', sans-serif;
  color: #2F2B27;
  text-align: left;
  margin-bottom: 3rem; 
  margin-top: 1.5rem; 
}

.blog-post-content h2 {
  font-size: clamp(2.5rem, 5vw, 3rem);
  font-weight: 600;
  line-height: 4rem;
  letter-spacing: 0px;
}

.blog-post-content h3 {
  font-size: clamp(2.25rem, 5vw, 2.75rem);
  line-height: 2.25rem;
}

.blog-post-content h4 {
  font-size: clamp(1.37rem, 5vw, 1.5rem);
  font-weight: 400;
  letter-spacing: -0.8px;
  line-height: 1.5rem;
}

.blog-post-content h5 {
  font-size: clamp(1.37rem, 5vw, 1.5rem);
  font-weight: 300;
  letter-spacing: -0.8px;
  line-height: 1.5rem;
}

.blog-post-content h6 {
  font-size: clamp(1.125rem, 5vw, 1.25rem);
  font-weight: 300;
  letter-spacing: -0.8px;
  line-height: 1.25rem;
}

/* =========================================================
   BLOCKQUOTES
   Base comum + 8 variações
   ========================================================= */

.blog-post blockquote {
  margin: 1.5rem 0;
  padding: 1.5rem 0rem;
  position: relative;
  box-sizing: border-box;
  max-width: 100%;
}

/* remove margens internas estranhas se houver tags dentro */
.blog-post blockquote p:last-child {
  margin-bottom: 0;
}

/* -------------------------
   1. Destaque editorial
   Forte, limpo, elegante
------------------------- */
.blog-post blockquote.blockquote1 {
  border-left: 4px solid #285095;
  padding: 1.25rem 1.5rem;
  margin-bottom:1.5rem;
  background: transparent;
  font-family: 'Roboto', 'Signika', 'Arsenal', sans-serif;
  font-size: clamp(1.125rem, 2.5vw, 1.25rem);
  font-weight: 500;
  line-height: 2.5rem;
  letter-spacing: 0;
  text-align: left;
  color: #4F4A44;
}

/* -------------------------
   2. Citação deslocada
   Mais leve, mais autoral
------------------------- */
.blog-post blockquote.blockquote2 {
  width: min(80%, 560px);
  border-left: 3px solid #808080;
  padding: 1.25rem 1.5rem;
  margin-bottom:1.5rem;
  background-color: #F2EEE8;
  font-family: 'Roboto', 'Signika', 'Arsenal', sans-serif;
  font-size: clamp(1.125rem, 2.5vw, 1.25rem);
  font-weight: 300;
  line-height: 2.5rem;
  letter-spacing: 0.4px;
  text-align: left;
  color: #6A635B;
}

/* -------------------------
   3. Card com glow sutil
   Mais visual, mas utilizável
------------------------- */
.blog-post blockquote.blockquote3 {
  width: min(78%, 520px);
  border: 1px solid rgba(40, 80, 149, 0.22);
  border-radius: 16px;
  background: linear-gradient(180deg, #F7F4EF 0%, #F4F1EC 100%);
  box-shadow: 0 10px 30px rgba(40, 80, 149, 0.08);
  padding: 1.25rem 1.5rem;
  font-family: 'Roboto', 'Signika', 'Arsenal', sans-serif;
  font-size: clamp(1.125rem, 2.5vw, 1.25rem);
  font-weight: 300;
  line-height: 2.5rem;
  text-align: left;
  color: #5C554E;
}

.blog-post blockquote.blockquote3::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 16px;
  padding: 1px;
  background: linear-gradient(135deg, #285095, #F4F1EC, #3B8210);
  -webkit-mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
          mask-composite: exclude;
  pointer-events: none;
}


/* -------------------------
   5. Minimal técnico
   Bom para nota séria
------------------------- */
.blog-post blockquote.blockquote4 {
  padding: 1.25rem 1.5rem;
  border-top: 1px solid #D7D1C8;
  border-bottom: 1px solid #D7D1C8;
  background: transparent;
  font-family: 'Roboto', 'Arsenal', sans-serif;
  font-size: clamp(1.125rem, 2.5vw, 1.25rem);
  font-weight: 400;
  line-height: 2.5rem;
  text-align: left;
  color: #5E5851;
}

/* -------------------------
   6. Caixa azul suave
   Para destaque informativo
------------------------- */
.blog-post blockquote.blockquote5 {
  padding: 1.25rem 1.5rem;
  background: rgba(40, 80, 149, 0.06);
  border-left: 4px solid #285095;
  border-radius: 10px;
  font-family: 'Roboto', 'Signika', 'Arsenal', sans-serif;
  font-size: clamp(1.125rem, 2.5vw, 1.25rem);
  font-weight: 300;
  line-height: 2.5rem;
  text-align: left;
  color: #4F4A44;
}

/* -------------------------
   7. Caixa verde suave
   Para insight positivo
------------------------- */
.blog-post blockquote.blockquote6 {
  padding: 1.25rem 1.5rem;
  background: rgba(59, 130, 16, 0.07);
  border-left: 4px solid #3B8210;
  border-radius: 10px;
  font-family: 'Roboto', 'Arsenal', sans-serif;
  font-size: clamp(1.125rem, 2.5vw, 1.25rem);
  font-weight: 300;
  line-height: 2.5rem;
  text-align: left;
  color: #4F4A44;
}










/*Related Content */

/* Related Content */

.related-content {
  width: 100%;
  background-color: #e3e3e3;
  padding: 4rem 0 6rem 0;
  text-align: center;
}

.related-content-container {
  width: min(calc(80rem - 2rem), 95%);
  margin: 0 auto;
}

.related-content h3 {
  font-family: 'Roboto', 'Signika', 'Arsenal', sans-serif;
  font-size: clamp(1.8rem, 4vw, 3rem);
  font-weight: 500;
  letter-spacing: -1px;
  line-height: 1.08;
  color: #333;
  margin: 0 0 3rem 0;
}

.blog-post-related-content {
  margin: 0;
  padding: 0;
}

/* aqui eu sobrescrevo o grid da home só dentro do related-content */
.related-content .home-blog-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
  width: 100%;
  max-width: none;
  margin: 0;
}

/* cards mais controlados */
.related-content .home-blog-posts-link {
  position: relative;
  display: flex;
  flex-direction: column;
  height: clamp(20rem, 28vw, 24rem);
  border-radius: 12px;
  overflow: hidden;
  text-decoration: none;
}

/* garante preenchimento correto */
.related-content .home-blog-posts {
  width: 100%;
  height: 100%;
}

/* imagem cobrindo bem */
.related-content .home-blog-posts-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* bloco de texto mais equilibrado */
.related-content .home-blog-posts-content {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: auto;
  min-height: 10rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background: rgba(30, 30, 30, 0.22);
  -webkit-backdrop-filter: blur(24px);
  backdrop-filter: blur(24px);
  padding-bottom: 0.25rem;
}

.related-content .home-blog-posts-title {
  padding: 1.1rem 1.1rem 0 1.1rem;
}

.related-content .home-blog-posts-title h4 {
  font-size: clamp(1.1rem, 1.5vw, 1.35rem);
  line-height: 1.2;
}

.related-content .home-blog-posts-summary {
  padding: 0.35rem 1.1rem 0 1.1rem;
}

.related-content .home-blog-posts-summary p {
  font-size: 0.95rem;
  line-height: 1.35;
  letter-spacing: 0;
  -webkit-line-clamp: 3;
}

.related-content .home-blog-posts-details {
  padding: 0.9rem 1.1rem 0.9rem 1.1rem;
}

.related-content .home-blog-posts-published-date p {
  font-size: 0.9rem;
}

.related-content .home-blog-posts-category p {
  font-size: 0.8rem;
}

/* tablet */
@media (max-width: 928px) {
  .related-content {
    padding: 3rem 0 4.5rem 0;
  }

  .related-content h3 {
    margin-bottom: 2rem;
  }

  .related-content .home-blog-grid {
    grid-template-columns: 1fr;
  }

  .related-content .home-blog-posts-link {
    height: clamp(18rem, 52vw, 24rem);
  }

  .related-content .home-blog-posts-content {
    min-height: 9rem;
  }
}


