/* Informativo aberto (post do blog) */

/* Topo do artigo */
.post { padding-top: 19.1rem; }
.post__inner { width: 91rem; margin: 0 auto; }
.post__meta { display: flex; justify-content: space-between; align-items: center; font-size: 1.4rem; line-height: 2rem; color: var(--ink); }
.post__tag { display: inline-flex; align-items: center; background: #cfcfcf; padding: 1rem 1.5rem; transition: background .2s; }
.post__tag:hover { background: #bdbdbd; }
.post__title { font: 400 4.5rem/5rem var(--serif); color: var(--ink); text-transform: uppercase; max-width: 86.2rem; margin-top: 4.7rem; }
.post__summary { font-size: 1.6rem; line-height: 2rem; max-width: 81.7rem; margin-top: 2rem; }
.post__cover { width: 123rem; height: 56.8rem; margin: 3.9rem auto 0; border-radius: 1.5rem; overflow: hidden; background: #eee; }
.post__cover img { width: 100%; height: 100%; object-fit: cover; }

/* Corpo do texto (conteúdo vindo do editor do WordPress) */
.post-content { max-width: 88.9rem; margin-top: 3.6rem; font-size: 1.8rem; line-height: 2.5rem; color: var(--ink); }
.post-content > :first-child { margin-top: 0; }
.post-content p, .post-content ul, .post-content ol { margin: 0; }
.post-content h2, .post-content h3 { font: 400 1.8rem/2.5rem var(--sans); color: var(--ink); margin: 2.5rem 0 0; }
.post-content h3 { font-style: italic; }
.post-content ul, .post-content ol { padding: 0; list-style: none; }
.post-content li { position: relative; padding-left: 3.75rem; }
.post-content ul > li::before { content: "•"; position: absolute; left: 0; }
.post-content ol { counter-reset: item; }
.post-content ol > li { counter-increment: item; }
.post-content ol > li::before { content: counter(item) "."; position: absolute; left: 0; }
.post-content strong, .post-content b { font-weight: 700; }
.post-content a { color: var(--navy); text-decoration: underline; text-underline-offset: 0.3rem; text-decoration-thickness: 1px; }
.post-content a:hover { text-decoration-thickness: 2px; }
.post-content blockquote { margin: 2.5rem 0; padding-left: 2.4rem; border-left: 2px solid var(--navy); font-family: var(--serif); font-style: italic; font-weight: 300; color: var(--navy-2); }
.post-content blockquote p + p { margin-top: 1rem; }
.post-content blockquote cite { display: block; margin-top: 1rem; font: 700 1.4rem/2rem var(--sans); font-style: normal; color: var(--ink); }
.post-content img { height: auto; border-radius: 1.5rem; margin: 2.5rem 0; }
.post-content figure { margin: 2.5rem 0; }
.post-content figure img { margin: 0; }
.post-content figcaption { margin-top: 1rem; font-size: 1.4rem; line-height: 2rem; color: #838383; }
.post-content hr { border: 0; border-top: 1px solid var(--line); margin: 2.5rem 0; }

/* Aviso legal */
.post__notice { display: grid; grid-template-columns: 21.5rem 66.9rem; width: 88.7rem; margin: 11.4rem 0 0 0.2rem; padding: 3rem 0 2.8rem; border-top: 1px solid #838383; border-bottom: 1px solid #838383; color: #838383; }
.post__notice h2 { font: 400 2.2rem/2.2rem var(--serif); text-transform: uppercase; padding-top: 0.1rem; }
.post__notice p { font-size: 1.4rem; line-height: 2.5rem; }

/* Conteúdos relacionados */
.related { margin-top: 9.3rem; padding-bottom: 1.5rem; background: linear-gradient(to bottom, var(--white) 17rem, var(--navy) 17rem); }
.related__grid { display: grid; grid-template-columns: 1fr 40rem 40rem; column-gap: 2rem; padding: 0 10.6rem 0 10.3rem; }
.related__head { display: flex; flex-direction: column; align-items: flex-start; }
.related__title { font: 400 3.5rem/3.5rem var(--serif); color: var(--navy); text-transform: uppercase; max-width: 36.6rem; margin-top: 6.1rem; }
.related__btn { margin-top: 9.1rem; background: var(--ink); color: var(--white); }
.related__btn:hover { background: #3a3a3a; }
.related__cards { display: contents; }

/* ---------- Responsivo ---------- */
@media (max-width: 1199px) {
  .post { padding-top: 14rem; }
  .post__inner { width: auto; padding: 0 var(--gutter); }
  .post__cover { width: auto; height: auto; aspect-ratio: 1230 / 568; margin: 3.9rem var(--gutter) 0; }
  .post__notice { width: auto; margin-left: 0; grid-template-columns: 21.5rem 1fr; }

  .related { background: none; padding-bottom: 0; margin-top: 8rem; }
  .related__grid { display: block; padding: 0; }
  .related__head { padding: 0 var(--gutter); }
  .related__title { margin-top: 0; max-width: none; }
  .related__btn { margin-top: 3rem; }
  .related__cards { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; margin-top: 4rem; padding: 0 var(--gutter) 1.5rem; background: linear-gradient(to bottom, var(--white) 14rem, var(--navy) 14rem); }
}

@media (max-width: 720px) {
  .post { padding-top: 12rem; }
  .post__meta { gap: 1.6rem; }
  .post__title { font-size: 2.8rem; line-height: 3.4rem; margin-top: 3rem; }
  .post__cover { margin-top: 3rem; border-radius: 1.2rem; }
  .post-content { font-size: 1.7rem; line-height: 2.5rem; margin-top: 3rem; }
  .post-content li { padding-left: 2.4rem; }
  .post__notice { grid-template-columns: 1fr; row-gap: 1.2rem; margin-top: 6rem; padding: 2.4rem 0; }
  .post__notice h2 { font-size: 2rem; }

  .related { margin-top: 6rem; }
  .related__title { font-size: 2.8rem; line-height: 3.2rem; }
  .related__cards { grid-template-columns: 1fr; background: linear-gradient(to bottom, var(--white) 14rem, var(--navy) 14rem); }
}
