@charset "UTF-8";
/*
 * style-post.css — layout dos posts do Insights (br/insights/post.php)
 * Inspirado no layout de leitura do blog do Neil Patel (medidas, não conteúdo).
 * Todas as regras ficam dentro de body.post-insights, então nenhuma outra página é afetada.
 * Carregado depois de style-main.css e style-singular.css.
 */

/* ---------- Estrutura: coluna de texto + barra lateral ---------- */
body.post-insights #main.inner {
  max-width: 1285px;
  padding: 40px 24px 25px;
  overflow: visible;
}

body.post-insights .main-article {
  float: none;
  width: auto;
  max-width: 826px;
  margin: 0 auto;
  min-width: 0;
}

body.post-insights .main-aside {
  float: none;
  width: auto;
  max-width: 700px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 40px;
}

body.post-insights .main-aside .widget {
  margin-bottom: 0;
}

@media (min-width: 961px) {
  body.post-insights #main.inner {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 32.5%;
    column-gap: 7.6%;
    align-items: start;
  }
  body.post-insights .main-article,
  body.post-insights .main-aside {
    max-width: none;
    margin: 0;
  }
  body.post-insights .main-aside {
    align-self: stretch;
  }
  /* último bloco da barra lateral acompanha a rolagem */
  body.post-insights .main-aside .widget:last-child {
    position: sticky;
    top: 100px;
  }
}

@media (min-width: 1280px) {
  body.post-insights #main.inner {
    grid-template-columns: 671px 460px;
    column-gap: 106px;
    justify-content: center;
  }
}

/* ---------- Cabeçalho do post: trilha, título, autor/data ---------- */
body.post-insights .entry-header {
  display: flex;
  flex-direction: column;
}

body.post-insights .entry-header .breadcrumbs {
  order: 1;
  font-size: 12px;
  line-height: 20px;
  font-weight: 300;
  color: #808080;
  margin: 0 0 30px;
}

body.post-insights .entry-header .breadcrumbs a {
  color: #FA5A50;
}

body.post-insights .entry-header .title {
  order: 2;
  font-size: 36px;
  line-height: 1.3333;
  font-weight: 700;
  color: #26282d;
  padding: 0;
  margin: 0 0 36px;
}

body.post-insights .entry-header .title:after {
  display: none;
}

body.post-insights .entry-header .authors {
  order: 3;
}

body.post-insights .authors {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 16px 24px;
  font-size: 13px;
  line-height: 1.6667;
  font-weight: 300;
  color: #26282d;
  margin: 0 0 30px;
}

body.post-insights .author-left {
  display: flex;
  align-items: center;
  gap: 12px;
}

body.post-insights .author-avatar {
  display: block;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
  object-position: top;
  background: #f2f2f2;
}

body.post-insights .author-name {
  font-size: 15px;
  line-height: 1.3;
  font-weight: 500;
}

body.post-insights .author-name a {
  color: #26282d;
}

body.post-insights .author-name a:hover {
  color: #FA5A50;
  text-decoration: none;
}

body.post-insights .author-title {
  font-size: 13px;
  line-height: 1.3;
  color: #808080;
}

body.post-insights .author-meta {
  display: flex;
  flex-direction: column;
  gap: 4px;
  color: #808080;
}

body.post-insights .author-date,
body.post-insights .author-reading-time {
  display: flex;
  align-items: center;
  gap: 6px;
}

body.post-insights .author-date:before,
body.post-insights .author-reading-time:before {
  content: '';
  display: block;
  width: 14px;
  height: 14px;
  background: center / contain no-repeat;
  opacity: .7;
}

body.post-insights .author-date:before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23808080' stroke-width='2' stroke-linecap='round'%3E%3Crect x='3' y='5' width='18' height='16' rx='2'/%3E%3Cpath d='M3 10h18M8 3v4M16 3v4'/%3E%3C/svg%3E");
}

body.post-insights .author-reading-time:before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23808080' stroke-width='2' stroke-linecap='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M12 7v5l3 2'/%3E%3C/svg%3E");
}

/* ---------- Texto do post ---------- */
body.post-insights .entry-content {
  font-size: 20px;
  line-height: 1.6667;
  font-weight: 400;
  color: #26282d;
  letter-spacing: normal;
  text-align: left;
  overflow-wrap: break-word;
}

body.post-insights .entry-content p,
body.post-insights .entry-content ul,
body.post-insights .entry-content ol {
  font-size: inherit;
  line-height: inherit;
  margin: 0 0 1.6667em;
}

body.post-insights .entry-content a {
  color: #FA5A50;
}

body.post-insights .entry-content strong,
body.post-insights .entry-content b {
  font-weight: 500;
}

/* Títulos */
body.post-insights .entry-content h2 {
  font-size: 28px;
  line-height: 1.25;
  font-weight: 700;
  color: #26282d;
  margin: 0 0 1.25em;
  padding-top: 0;
}

body.post-insights .entry-content h3 {
  font-size: 22px;
  line-height: 1.35;
  font-weight: 700;
  color: #26282d;
  margin: 0 0 1em;
  padding-top: 0;
}

body.post-insights .entry-content h4 {
  font-size: 20px;
  line-height: 1.4;
  font-weight: 700;
  margin: 0 0 1em;
}

body.post-insights .entry-content h2 strong,
body.post-insights .entry-content h3 strong {
  font-weight: inherit;
}

/* Listas */
body.post-insights .entry-content ul,
body.post-insights .entry-content ol {
  margin-left: 1.3889em;
  padding: 0;
}

body.post-insights .entry-content li {
  margin: 0 0 .8333em;
}

body.post-insights .entry-content li:last-child {
  margin-bottom: 0;
}

body.post-insights .entry-content ul li {
  list-style: none;
  position: relative;
  padding: 0 0 0 33px;
}

body.post-insights .entry-content ul li:before {
  content: '';
  display: block;
  width: 8px;
  height: 8px;
  background: #FA5A50;
  position: absolute;
  top: .8333em;
  left: 0;
  margin-top: -4px;
}

body.post-insights .entry-content ol li {
  list-style: decimal;
  padding-left: 8px;
}

body.post-insights .entry-content ol li::marker {
  font-weight: 700;
}

body.post-insights .entry-content li ul,
body.post-insights .entry-content li ol {
  margin-top: .8333em;
  margin-bottom: 0;
}

/* Imagens */
body.post-insights .entry-content img {
  max-width: 100%;
  height: auto;
  border-radius: 12px;
}

body.post-insights .entry-content img.aligncenter,
body.post-insights .entry-content img.alignnone {
  display: block;
  margin: 0 auto;
}

body.post-insights .entry-content > p:first-child img {
  width: 100%;
}

body.post-insights .entry-content figure {
  margin: 0 0 1.6667em;
}

body.post-insights .entry-content figcaption,
body.post-insights .entry-content .wp-caption-text {
  font-size: 14px;
  line-height: 1.5;
  font-style: normal;
  color: #808080;
  text-align: center;
  margin-top: .75em;
}

/* Citações */
body.post-insights .entry-content blockquote {
  font-style: normal;
  font-weight: 500;
  margin: 0 0 1.6667em;
  padding: 4px 0 4px 24px;
  border-left: 4px solid #FA5A50;
  position: static;
}

body.post-insights .entry-content blockquote:before,
body.post-insights .entry-content blockquote:after {
  display: none;
}

body.post-insights .entry-content blockquote p:last-child {
  margin-bottom: 0;
}

/* Tabelas */
body.post-insights .entry-content table {
  width: 100%;
  border-collapse: collapse;
  margin: 0 0 1.6667em;
  font-size: 16px;
  line-height: 1.5;
}

body.post-insights .entry-content th,
body.post-insights .entry-content td {
  border: 1px solid #26282d;
  padding: 10px;
  text-align: left;
  vertical-align: top;
}

body.post-insights .entry-content th {
  font-weight: 700;
}

body.post-insights .entry-content iframe,
body.post-insights .entry-content video {
  max-width: 100%;
}

/* ---------- Tablet / celular ---------- */
@media only screen and (max-width: 960px) {
  body.post-insights .entry-header .title {
    font-size: 30px;
    line-height: 1.3333;
  }
}

@media only screen and (max-width: 767px) {
  body.post-insights #main.inner {
    padding: 30px 15px 25px;
  }
  body.post-insights .entry-content {
    font-size: 16px;
    line-height: 1.75;
  }
  body.post-insights .entry-content h2 {
    font-size: 22px;
  }
  body.post-insights .entry-content h3 {
    font-size: 18px;
  }
  body.post-insights .entry-content table {
    display: block;
    overflow-x: auto;
    font-size: 14px;
  }
}

@media only screen and (max-width: 479px) {
  body.post-insights #main.inner {
    padding-top: 15px;
  }
  body.post-insights .entry-header .title {
    font-size: 27px;
    line-height: 1.3333;
    margin-bottom: 27px;
  }
  body.post-insights .entry-content h2 {
    font-size: 22px;
  }
  body.post-insights .entry-content h3 {
    font-size: 18px;
  }
}
