/* Ajustes do Perkwise sobre o template NextPage. */

/* Imagens de capa de origens variadas: proporção fixa, sem deformar */
.single-post-wrap .thumb img,
.banner-inner .thumb img { width: 100%; object-fit: cover; }
.single-post-wrap:not(.style-overlay) .thumb img { aspect-ratio: 16 / 10; }
.pk-hero-img { aspect-ratio: 16 / 11; }
.single-post-list-wrap .media-left img { width: 90px; height: 80px; object-fit: cover; }
.single-post-wrap.style-overlay .thumb img { aspect-ratio: 16 / 9; }

/* Seletor de idioma no topo */
.pk-idiomas { display: inline-flex; gap: 2px; margin: 0 0 0 14px; padding: 0; list-style: none; vertical-align: middle; }
.pk-idiomas a { display: block; padding: 2px 7px; font-size: 12px; font-weight: 600; border-radius: 3px; color: inherit; opacity: .75; }
.pk-idiomas a:hover { opacity: 1; }
.pk-idiomas a.ativo { background: #1a73e8; color: #fff; opacity: 1; }

/* Publicidade */
.pk-ad { margin: 24px auto; text-align: center; max-width: 100%; overflow: hidden; }
.pk-ad-rotulo { display: block; font-size: 10px; letter-spacing: .08em; text-transform: uppercase; color: #8a8f98; margin-bottom: 4px; }
.pk-ad img { max-width: 100%; height: auto; }
.adbar-area .pk-ad { margin: 12px 0; }
.adbar-area .pk-ad-rotulo { color: #9aa0a6; }

/* Cabeçalho de listagens */
.pk-cabecalho-pagina { padding: 36px 0 30px; color: #fff; }
.pk-cabecalho-pagina h1 { color: #fff; font-size: 32px; margin: 0; }
.pk-cabecalho-pagina p { color: #c7cbd1; margin: 8px 0 0; }
.pk-vazio { padding: 40px 0; color: #6b7280; }
.pk-ver-todos { font-size: 13px; font-weight: 600; }

/* Paginação */
.pk-paginacao ul { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; padding: 0; margin: 30px 0 0; }
.pk-paginacao a { display: block; padding: 7px 14px; border: 1px solid #dde1e6; border-radius: 4px; color: #333; }
.pk-paginacao li.ativa a, .pk-paginacao a:hover { background: #1a73e8; border-color: #1a73e8; color: #fff; }

/* Artigo */
.pk-artigo h1 { font-size: 34px; line-height: 1.25; margin-bottom: 12px; }
.pk-autor { color: #6b7280; margin-bottom: 8px; }
.pk-lead { font-size: 19px; line-height: 1.6; color: #444; margin: 12px 0 20px; }
.pk-capa { margin: 0 0 24px; }
.pk-capa img { width: 100%; max-height: 460px; object-fit: cover; border-radius: 4px; }
.pk-corpo { font-size: 17px; line-height: 1.8; color: #2b2f36; }
.pk-corpo h2 { font-size: 26px; margin: 32px 0 12px; }
.pk-corpo h3 { font-size: 21px; margin: 26px 0 10px; }
.pk-corpo p, .pk-corpo ul, .pk-corpo ol { margin-bottom: 18px; }
.pk-corpo img { max-width: 100%; height: auto; border-radius: 4px; }
.pk-corpo a { color: #1a73e8; text-decoration: underline; }
.pk-corpo blockquote { border-left: 4px solid #1a73e8; padding: 4px 18px; margin: 20px 0; color: #555; }
.pk-corpo table { width: 100%; margin-bottom: 18px; }
.pk-corpo td, .pk-corpo th { border: 1px solid #dde1e6; padding: 8px 10px; }
.pk-fonte { margin-top: 28px; padding-top: 14px; border-top: 1px solid #e5e7eb; color: #6b7280; font-size: 14px; }

@media (max-width: 767px) {
  .pk-artigo h1 { font-size: 26px; }
  .pk-idiomas { margin-left: 0; }
}

/* rodapé: links legais e páginas institucionais */
.pk-rodape-links a{color:#cfd3da;font-size:13px;margin:0 8px}
.pk-rodape-links a:hover{color:#fff;text-decoration:underline}
.pk-pagina h2{font-size:1.25rem;margin:1.6rem 0 .6rem}
.pk-pagina ul{padding-left:1.2rem;margin-bottom:1rem}
.pk-pagina p,.pk-pagina li{line-height:1.7}

/* introdução das categorias */
.pk-intro-categoria{max-width:860px;margin:28px 0 0}
.pk-intro-categoria p{line-height:1.75;margin-bottom:.9rem}

/* banner de consentimento de cookies */
.pk-consent{position:fixed;left:0;right:0;bottom:0;z-index:99999;background:#14171c;color:#e8eaee;padding:16px 0;box-shadow:0 -4px 20px rgba(0,0,0,.35);font-size:14px;line-height:1.5}
.pk-consent[hidden]{display:none}
.pk-consent .container{display:flex;flex-wrap:wrap;gap:12px 24px;align-items:center;justify-content:space-between}
.pk-consent p{margin:0;flex:1 1 420px;color:#e8eaee}
.pk-consent a{color:#fff;text-decoration:underline}
.pk-consent-acoes{display:flex;gap:8px;flex-wrap:wrap}
.pk-consent button{border:1px solid #fff;background:transparent;color:#fff;padding:8px 16px;border-radius:4px;font-size:14px;cursor:pointer}
.pk-consent button:hover,.pk-consent button:focus-visible{background:#fff;color:#14171c}
.pk-consent-painel{flex-basis:100%;display:grid;gap:10px;padding-top:10px;border-top:1px solid #333}
.pk-consent-painel[hidden]{display:none}
.pk-consent-painel label{display:flex;gap:10px;align-items:flex-start;margin:0;cursor:pointer}
.pk-consent-painel input{margin-top:4px}
.pk-consent-painel small{display:block;color:#aab3c0}
@media (max-width:575px){.pk-consent-acoes{width:100%}.pk-consent-acoes button{flex:1}}
