/* ==========================================================================
   QUERO NOTÍCIAS DO MARANHÃO — integração do tema SmartMag / demo "National Press"
   Carregado depois de: smartmag.css (core), smartmag-skin.css, smartmag-demo.css
   Aqui ficam apenas: fontes locais, grade de página (substitui o Elementor),
   componentes próprios do portal e pequenos ajustes do tema.
   ========================================================================== */

/* ------------------------------- Fontes --------------------------------- */
@font-face {
  font-family: 'PT Serif';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/fonts/ptserif/EJRVQgYoZZY2vCFuvAFWzro.ttf") format('truetype');
}
@font-face {
  font-family: 'PT Serif';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("/fonts/ptserif/EJRSQgYoZZY2vCFuvAnt66qSVy4.ttf") format('truetype');
}
@font-face {
  font-family: 'Roboto';
  font-style: normal;
  font-weight: 400;
  font-stretch: normal;
  font-display: swap;
  src: url("/fonts/roboto/KFOMCnqEu92Fr1ME7kSn66aGLdTylUAMQXC89YmC2DPNWubEbVmUiA8.ttf") format('truetype');
}
@font-face {
  font-family: 'Roboto';
  font-style: normal;
  font-weight: 500;
  font-stretch: normal;
  font-display: swap;
  src: url("/fonts/roboto/KFOMCnqEu92Fr1ME7kSn66aGLdTylUAMQXC89YmC2DPNWub2bVmUiA8.ttf") format('truetype');
}
@font-face {
  font-family: 'Roboto';
  font-style: normal;
  font-weight: 600;
  font-stretch: normal;
  font-display: swap;
  src: url("/fonts/roboto/KFOMCnqEu92Fr1ME7kSn66aGLdTylUAMQXC89YmC2DPNWuYaalmUiA8.ttf") format('truetype');
}
@font-face {
  font-family: 'Roboto';
  font-style: normal;
  font-weight: 700;
  font-stretch: normal;
  font-display: swap;
  src: url("/fonts/roboto/KFOMCnqEu92Fr1ME7kSn66aGLdTylUAMQXC89YmC2DPNWuYjalmUiA8.ttf") format('truetype');
}

/* --------------- Tokens auxiliares (componentes do portal) --------------- */
:root {
  --k-ink: #101317;
  --k-ink-soft: #3f4650;
  --k-muted: #6d7681;
  --k-line: #e3e6ea;
  --k-line-strong: #c9cfd6;
  --k-paper: #ffffff;
  --k-paper-2: #f4f6f8;
  --k-accent: #096dd2;
  --k-accent-dark: #0757a8;
  --k-alert: #d6222b;
  --k-font: 'PT Serif', Georgia, serif;
  --k-font-head: 'Roboto', system-ui, -apple-system, 'Segoe UI', Arial, sans-serif;
}

body { background: #fff; }

/* ------------------------------- Layout --------------------------------- */
/* Container do conteúdo: no celular os blocos ocupam a largura toda
   (sem padding lateral); a partir de 768px entra a margem lateral. */
.cn-main { display: block; width: 100%; }
.cn-main > .wrap,
.cn-head-ad.wrap {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding-left: 0;
  padding-right: 0;
  box-sizing: border-box;
}
@media (min-width: 768px) {
  .cn-main > .wrap,
  .cn-head-ad.wrap { padding-left: 24px; padding-right: 24px; }
}
@media (min-width: 1201px) {
  .cn-main > .wrap,
  .cn-head-ad.wrap { padding-left: 35px; padding-right: 35px; }
}

/* Cabeçalho alinhado ao mesmo container do conteúdo */
.smart-head-row > .inner.wrap {
  width: 100%;
  max-width: 1240px;
  padding-left: 0;
  padding-right: 0;
  box-sizing: border-box;
}
@media (min-width: 768px) {
  .smart-head-row > .inner.wrap { padding-left: 24px; padding-right: 24px; }
}
@media (min-width: 1201px) {
  .smart-head-row > .inner.wrap { padding-left: 35px; padding-right: 35px; }
}
.cn-sec { margin: 0 0 26px; }
.cn-sec--tight { margin-bottom: 18px; }
.cn-sec:first-of-type { margin-top: 20px; }

.cn-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.85fr) minmax(0, 1fr);
  gap: 30px;
  align-items: stretch;
}
.cn-cols-3 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
}
.cn-cols-3 > .cn-col {
  min-width: 0;
  padding: 0 22px;
  border-left: 1px solid var(--k-line);
}
.cn-cols-3 > .cn-col:first-child { padding-left: 0; border-left: 0; }
.cn-cols-3 > .cn-col:last-child { padding-right: 0; }

.cn-66-33 {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 40px;
  align-items: start;
}

.cn-sidebar { min-width: 0; }
.cn-sidebar .block-wrap { margin-bottom: 22px; }

/* Cabeçalho de bloco: usa .block-head do tema */
.block-head.is-center { justify-content: center; }

/* --------------------------- Barra de urgente --------------------------- */
.cn-urgent {
  background: var(--k-alert);
  color: #fff;
  font-family: var(--k-font-head);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .02em;
}
.cn-urgent .inner {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 7px 0;
}
.cn-urgent .flag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
  padding: 3px 8px;
  background: rgba(0, 0, 0, .22);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
}
.cn-urgent .flag::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #fff;
  animation: cn-pulse 1.4s infinite;
}
@keyframes cn-pulse { 0%, 100% { opacity: 1 } 50% { opacity: .25 } }
.cn-urgent a { color: #fff; }
.cn-urgent a:hover { text-decoration: underline; }
.cn-urgent .txt {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* ------------------------------ Cabeçalho ------------------------------- */
.smart-head .logo-image { max-height: 46px; width: auto; padding: 0; border-radius: 8px; }
.smart-head .h-date { font-family: var(--ui-font); font-size: 12px; letter-spacing: .04em; }
.smart-head-mid .items-center { text-align: center; }
.smart-head-mid .ts-logo h1 { line-height: 0; margin: 0; }

/* Cabeçalho mais baixo: uma faixa a menos de altura total */
.smart-head-main .smart-head-mid { --head-h: 74px; }
.smart-head-main .smart-head-bot { --head-h: 36px; }

.cn-head-ad { padding: 8px 0 0; }
.cn-head-ad .ad-box { margin: 0; }

.smart-head .cn-enquetes {
  display: inline-flex;
  align-items: center;
  height: 30px;
  padding: 0 12px;
  margin-left: 14px;
  background: var(--c-main);
  color: #fff;
  font-family: var(--ui-font);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
}
.smart-head .cn-enquetes:hover { background: #fff; color: var(--c-main); }

.smart-head .search-icon,
.smart-head .offcanvas-toggle {
  background: none;
  border: 0;
  padding: 0;
  cursor: pointer;
  color: inherit;
  display: inline-flex;
  align-items: center;
}
.smart-head .search-icon:hover { color: #f2f2f2; }
.smart-head .search-icon svg { stroke: currentColor; }

/* Menu principal: alinhamento e hover do tema */
.navigation .menu > li > a { display: inline-flex; align-items: center; }

/* Cabeçalho: 12 editorias — o menu não pode estourar a página */
@media (min-width: 941px) {
  .smart-head-row > .inner { max-width: 100%; }
  .smart-head-bot .items.items-center { min-width: 0; flex-shrink: 1; }
  .smart-head-bot .nav-wrap {
    max-width: 100%;
    overflow-x: auto;
    overflow-y: hidden;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }
  .smart-head-bot .nav-wrap::-webkit-scrollbar { display: none; }
  .smart-head-bot .navigation .menu { flex-wrap: nowrap; width: max-content; margin: 0 auto; }
  .smart-head-bot .navigation .menu > li > a {
    padding: 0 10px;
    font-size: 12px;
    letter-spacing: .08em;
    white-space: nowrap;
  }
}
/* Nav rolável (mobile) */
.smart-head-scroll-nav > .inner {
  overflow-x: auto;
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.smart-head-scroll-nav > .inner::-webkit-scrollbar { display: none; }
.smart-head-scroll-nav .navigation .menu { flex-wrap: nowrap; width: max-content; }

/* ------------------------- Menu off-canvas (mobile) --------------------- */
.cn-oc {
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  width: 300px;
  max-width: 86vw;
  background: #080f22;
  color: #fff;
  z-index: 10050;
  transform: translateX(-102%);
  transition: transform .28s ease;
  overflow-y: auto;
  padding: 18px 20px 40px;
  -webkit-overflow-scrolling: touch;
}
.cn-oc.is-open { transform: translateX(0); }
.cn-oc-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 14px;
  margin-bottom: 10px;
  border-bottom: 1px solid rgba(255, 255, 255, .14);
  font-family: var(--ui-font);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
}
.cn-oc-close {
  background: none;
  border: 0;
  color: #fff;
  cursor: pointer;
  padding: 4px;
  display: inline-flex;
}
.cn-oc-nav a {
  display: block;
  padding: 11px 0;
  border-bottom: 1px solid rgba(255, 255, 255, .08);
  color: #fff;
  font-family: var(--ui-font);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.cn-oc-nav a:hover { color: #f2f2f2; padding-left: 6px; transition: padding .15s; }
.cn-oc-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(4, 8, 20, .62);
  z-index: 10040;
  opacity: 0;
  visibility: hidden;
  transition: opacity .25s;
}
.cn-oc-backdrop.is-open { opacity: 1; visibility: visible; }

/* ------------------------------ Busca modal ----------------------------- */
.cn-search {
  position: fixed;
  inset: 0;
  z-index: 10060;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 12vh 20px 20px;
  background: rgba(4, 8, 20, .9);
  opacity: 0;
  visibility: hidden;
  transition: opacity .2s;
}
.cn-search.is-open { opacity: 1; visibility: visible; }
.cn-search-box { width: 100%; max-width: 660px; }
.cn-search-box form { display: flex; border-bottom: 2px solid #fff; }
.cn-search-box input {
  flex: 1;
  min-width: 0;
  padding: 14px 4px;
  background: transparent;
  border: 0;
  color: #fff;
  font-family: var(--title-font);
  font-size: 24px;
  font-weight: 500;
  outline: none;
}
.cn-search-box input::placeholder { color: rgba(255, 255, 255, .55); }
.cn-search-box button {
  background: none;
  border: 0;
  color: #fff;
  cursor: pointer;
  padding: 0 6px;
  display: inline-flex;
  align-items: center;
}
.cn-search-close {
  position: absolute;
  top: 22px;
  right: 26px;
  background: none;
  border: 0;
  color: #fff;
  cursor: pointer;
  padding: 6px;
}

/* ------------------------------ Destaque -------------------------------- */
.cn-hero-main {
  position: relative;
  display: block;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #101317;
}
.cn-hero-main img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .5s ease;
}
.cn-hero-main:hover img { transform: scale(1.03); }
.cn-hero-main::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(4, 8, 20, .94) 0%, rgba(4, 8, 20, .55) 42%, rgba(4, 8, 20, 0) 78%);
}
.cn-hero-main .hm-text {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2;
  padding: 16px 22px 18px;
  color: #fff;
}
.cn-hero-main .hm-cat {
  display: inline-block;
  padding: 3px 9px;
  background: var(--c-main);
  color: #fff;
  font-family: var(--ui-font);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
}
.cn-hero-main h2 {
  margin: 8px 0 6px;
  color: #fff;
  font-family: var(--title-font);
  font-size: clamp(21.5px, 1.9vw, 30px);
  font-weight: 700;
  line-height: 1.16;
  letter-spacing: -.01em;
}
.cn-hero-main .hm-meta {
  font-family: var(--ui-font);
  font-size: 12.5px;
  color: rgba(255, 255, 255, .82);
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.cn-hero-main .hm-desc {
  margin-top: 7px;
  font-size: 14.5px;
  line-height: 1.5;
  color: rgba(255, 255, 255, .8);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Lista lateral do destaque */
.cn-hero-side { display: flex; flex-direction: column; }
.cn-hero-side .l-post { padding: 10px 0; border-bottom: 1px solid var(--k-line); }
.cn-hero-side .l-post:first-child { padding-top: 0; }
.cn-hero-side .l-post:last-child { border-bottom: 0; padding-bottom: 0; }
.cn-hero-side .list-post .media { width: 34%; margin-right: 16px; }
.cn-hero-side .l-post .post-title { font-size: 17px; line-height: 1.3; }
.cn-hero-side .l-post .excerpt { display: none; }
.cn-hero-side .post-meta { font-size: 11px; }

/* Enquetes / categorias: faixa de atalhos */
.cn-catstrip {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
}
.cn-catstrip a {
  position: relative;
  display: flex;
  align-items: flex-end;
  min-height: 84px;
  padding: 12px;
  overflow: hidden;
  background: #101317 center/cover no-repeat;
  color: #fff;
  font-family: var(--ui-font);
  font-size: 13.5px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.cn-catstrip a::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(4, 8, 20, .88), rgba(4, 8, 20, .2));
  transition: background .25s;
}
.cn-catstrip a span { position: relative; z-index: 1; }
.cn-catstrip a:hover::before { background: linear-gradient(to top, rgba(9, 109, 210, .92), rgba(4, 8, 20, .25)); }

/* --------------------------- Cards do tema ------------------------------ */
.l-post.grid-post .post-title { font-size: 17px; line-height: 1.28; }
.l-post .media { border-radius: 0; }
.l-post .excerpt { color: var(--c-excerpts); }

/* Botão de play nos posts de vídeo */
.cn-play { position: relative; display: block; }
.cn-play .play {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
  color: #fff;
  background: rgba(4, 8, 20, .18);
  transition: background .2s;
}
.cn-play .play span {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: rgba(9, 109, 210, .92);
  box-shadow: 0 6px 18px rgba(0, 0, 0, .35);
}
.cn-play:hover .play { background: rgba(4, 8, 20, .38); }

/* ------------------------------ Mais lidas ------------------------------ */
.most-read .block-head { margin-bottom: 14px; }
.mr-item {
  display: flex;
  gap: 12px;
  padding: 11px 0;
  border-bottom: 1px solid var(--k-line);
}
.mr-item:last-child { border-bottom: 0; }
.mr-img { position: relative; flex: 0 0 auto; width: 78px; aspect-ratio: 4 / 3; overflow: hidden; background: var(--k-paper-2); }
.mr-img img { width: 100%; height: 100%; object-fit: cover; }
.mr-num {
  position: absolute;
  left: 0;
  bottom: 0;
  min-width: 20px;
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--c-main);
  color: #fff;
  font-family: var(--k-font-head);
  font-size: 12.5px;
  font-weight: 700;
}
.mr-item > span:last-child { min-width: 0; }
.mr-title {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  font-family: var(--title-font);
  font-size: 15px;
  font-weight: 700;
  line-height: 1.36;
  color: var(--c-headings);
}
.mr-item:hover .mr-title { color: var(--c-main); }
.mr-date {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-top: 5px;
  font-family: var(--ui-font);
  font-size: 11px;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--k-muted);
}

/* --------------------------------- Clima -------------------------------- */
.weather-widget {
  background: var(--k-paper-2);
  border-top: 3px solid #0a1633;
  padding: 16px 16px 14px;
}
.weather-widget .block-head {
  margin-bottom: 12px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--k-line-strong);
}
.weather-widget .block-head .heading { font-size: 13.5px; }
.weather-now { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.w-info { min-width: 0; }
.w-city {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-family: var(--k-font-head);
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: .05em;
  text-transform: uppercase;
  color: var(--k-ink-soft);
}
.w-temp { font-family: var(--k-font-head); font-size: 42.5px; font-weight: 700; line-height: 1.05; margin-top: 4px; }
.w-cond { font-family: var(--k-font-head); font-size: 14px; color: var(--k-muted); }
.w-ico { color: var(--c-main); }
.w-minmax { margin-top: 8px; font-family: var(--k-font-head); font-size: 13px; font-weight: 700; color: var(--k-ink-soft); }
.w-forecast {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 6px;
  margin-top: 12px;
  padding-top: 10px;
  border-top: 1px solid var(--k-line-strong);
}
.w-day { text-align: center; font-family: var(--k-font-head); }
.wd-name { display: block; font-size: 11px; font-weight: 700; letter-spacing: .06em; color: var(--k-muted); }
.wd-hi { display: block; font-size: 14.5px; font-weight: 700; }
.wd-lo { display: block; font-size: 12.5px; color: var(--k-muted); }

/* ----------------------------- Publicidade ------------------------------ */
.ad-box { margin: 14px 0; max-width: 100%; }
.ad-box > a { display: block; width: 100%; max-width: 100%; margin: 0 auto; }
/* Banner: proporção original sempre preservada (nada é cortado).
   A altura é limitada por max-height; a largura acompanha a proporção. */
.ad-box img {
  display: block;
  margin: 0 auto;
  width: auto;
  height: auto;
  max-width: 100%;
  object-fit: contain;
}
.ad-box.ad-header img { max-height: 120px; }
.ad-box.ad-below img { max-height: 280px; }
.ad-box.ad-footer > a { display: block; width: 100%; }
.ad-box.ad-footer img { width: 100%; max-width: 100%; height: 250px; max-height: none; object-fit: cover; object-position: center; }
.ad-box.ad-sidebar img { max-height: 300px; }
.ad-box .ad-img-mob { display: none; }
.ad-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  min-height: 92px;
  padding: 14px;
  background: var(--k-paper-2);
  border: 1px dashed var(--k-line-strong);
  text-align: center;
}
.ap-title {
  font-family: var(--k-font-head);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--k-muted);
}
.ap-sponsor {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--k-font-head);
  font-size: 11px;
  font-weight: 500;
  color: #9aa2ad;
}
.ad-header { min-height: 72px; }
.ad-below { min-height: 90px; }
.ad-sidebar .ad-placeholder { min-height: 220px; }
.ad-footer .ad-placeholder { min-height: 90px; }
.ad-box.ad-below, .ad-box.ad-between, .ad-box.ad-footer { max-width: 970px; margin-left: auto; margin-right: auto; }

/* ------------------------------ Breadcrumb ------------------------------ */
.cn-breadcrumb {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
  margin: 4px 0 18px;
  font-family: var(--k-font-head);
  font-size: 12.5px;
  font-weight: 500;
  letter-spacing: .05em;
  text-transform: uppercase;
  color: var(--k-muted);
}
.cn-breadcrumb a { color: var(--k-muted); }
.cn-breadcrumb a:hover { color: var(--c-main); }
.cn-breadcrumb .icon { opacity: .5; }
.cn-breadcrumb .cur { color: var(--k-ink); font-weight: 700; }

/* --------------------------- Artigo (single) ---------------------------- */
.cn-post-wrap { padding-top: 6px; }

.the-post { min-width: 0; }
.the-post .post-header { margin-bottom: 22px; }
.the-post .cat-labels { display: inline-flex; margin-bottom: 10px; }
.the-post .cat-labels .category {
  display: inline-block;
  padding: 4px 10px;
  background: var(--c-main);
  color: #fff;
  font-family: var(--ui-font);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
}
.the-post .post-title {
  margin: 0;
  font-family: var(--title-font);
  font-size: clamp(29px, 3.4vw, 45px);
  font-weight: 700;
  line-height: 1.16;
  letter-spacing: -.015em;
  color: var(--c-headings);
}
.the-post .post-subtitle {
  margin: 14px 0 0;
  padding-left: 14px;
  border-left: 3px solid var(--c-main);
  font-family: var(--body-font);
  font-size: 19px;
  line-height: 1.6;
  color: var(--k-ink-soft);
}
.the-post .post-meta {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 14px;
  margin-top: 18px;
  padding: 11px 0;
  border-top: 1px solid var(--k-line);
  border-bottom: 1px solid var(--k-line);
  font-family: var(--ui-font);
  font-size: 12.5px;
  color: var(--k-muted);
}
.the-post .post-meta .meta-item { display: inline-flex; align-items: center; gap: 5px; }
.the-post .post-meta .meta-item::before { content: none; }
.the-post .post-meta .author img { width: 26px; height: 26px; border-radius: 50%; object-fit: cover; }
.the-post .post-meta .author a { color: var(--k-ink); font-weight: 700; }
.the-post .post-meta a:hover { color: var(--c-main); }

.cn-figure { margin: 0 0 22px; }
.cn-figure img { width: 100%; height: auto; display: block; }
.cn-figure figcaption {
  padding: 8px 0 0;
  font-family: var(--ui-font);
  font-size: 13px;
  line-height: 1.5;
  color: var(--k-muted);
}

/* Controles de leitura */
.cn-reading {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 18px;
  padding: 8px 12px;
  background: var(--k-paper-2);
  font-family: var(--ui-font);
  font-size: 12.5px;
  font-weight: 500;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--k-muted);
}
.cn-reading .rc-label { display: inline-flex; align-items: center; gap: 6px; margin-right: auto; }
.cn-reading .rc-buttons { display: inline-flex; gap: 4px; }
.cn-reading button {
  min-width: 30px;
  height: 28px;
  padding: 0 8px;
  background: #fff;
  border: 1px solid var(--k-line-strong);
  color: var(--k-ink);
  font-family: var(--ui-font);
  font-size: 13.5px;
  font-weight: 600;
  cursor: pointer;
}
.cn-reading button:hover { background: var(--c-main); border-color: var(--c-main); color: #fff; }

/* Corpo do texto */
.the-post .post-content {
  font-family: var(--body-font);
  font-size: 20px;
  line-height: 1.78;
  color: #17181a;
  overflow-wrap: break-word;
}
.the-post .post-content > * + * { margin-top: 1.25em; }
.the-post .post-content p { margin: 0 0 1.15em; }
.the-post .post-content h2,
.the-post .post-content h3,
.the-post .post-content h4 {
  font-family: var(--title-font);
  font-weight: 700;
  line-height: 1.28;
  letter-spacing: -.01em;
  color: var(--c-headings);
  margin: 1.6em 0 .6em;
}
.the-post .post-content h2 { font-size: 29px; }
.the-post .post-content h3 { font-size: 23.5px; }
.the-post .post-content h4 { font-size: 20px; }
.the-post .post-content a { color: var(--c-main); text-decoration: underline; text-underline-offset: 2px; }
.the-post .post-content a:hover { color: var(--k-accent-dark); }
.the-post .post-content ul,
.the-post .post-content ol { margin: 0 0 1.15em; padding-left: 1.4em; }
.the-post .post-content li { margin-bottom: .5em; }
.the-post .post-content blockquote {
  margin: 1.4em 0;
  padding: 4px 0 4px 20px;
  border-left: 3px solid var(--c-main);
  font-size: 22.5px;
  font-style: italic;
  color: var(--k-ink-soft);
}
.the-post .post-content figure { margin: 1.4em 0; }
.the-post .post-content img { max-width: 100%; height: auto; }
.the-post .post-content iframe,
.the-post .post-content video { max-width: 100%; }
.the-post .post-content table { width: 100%; border-collapse: collapse; font-family: var(--ui-font); font-size: 15.5px; }
.the-post .post-content th,
.the-post .post-content td { padding: 8px 10px; border: 1px solid var(--k-line); text-align: left; }

/* Tags */
.cn-tags {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  margin-top: 26px;
  padding-top: 16px;
  border-top: 1px solid var(--k-line);
  font-family: var(--ui-font);
}
.cn-tags .label { font-size: 12.5px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--k-muted); }
.cn-tags a {
  display: inline-block;
  padding: 4px 9px;
  background: var(--k-paper-2);
  color: var(--k-ink-soft);
  font-size: 13px;
  font-weight: 500;
}
.cn-tags a:hover { background: var(--c-main); color: #fff; }

/* Compartilhamento */
.cn-share {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-top: 22px;
}
.cn-share .label {
  font-family: var(--ui-font);
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--k-muted);
  margin-right: 4px;
}
.cn-share button {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 34px;
  padding: 0 12px;
  border: 0;
  background: #0a1633;
  color: #fff;
  font-family: var(--ui-font);
  font-size: 13.5px;
  font-weight: 500;
  cursor: pointer;
}
.cn-share button:hover { opacity: .88; }
.cn-share .s-fb { background: #1877f2; }
.cn-share .s-wa { background: #25d366; color: #062e17; }
.cn-share .s-tw { background: #101317; }
.cn-share .s-cp { background: #fff; color: var(--k-ink); border: 1px solid var(--k-line-strong); }

/* Caixa do autor */
.cn-author {
  display: flex;
  gap: 16px;
  margin-top: 26px;
  padding: 18px;
  background: var(--k-paper-2);
  border-top: 2px solid #0a1633;
}
.cn-author img { width: 64px; height: 64px; border-radius: 50%; object-fit: cover; flex-shrink: 0; }
.cn-author .name { font-family: var(--title-font); font-size: 17px; font-weight: 700; }
.cn-author .name a { color: inherit; }
.cn-author .bio { margin-top: 5px; font-family: var(--ui-font); font-size: 14px; line-height: 1.55; color: var(--k-muted); }

/* ------------------------------ Comentários ----------------------------- */
.cn-comments { margin-top: 34px; }
.cn-comments .block-head { margin-bottom: 18px; }
.cm-item { padding: 14px 0; border-bottom: 1px solid var(--k-line); }
.cm-head { display: flex; align-items: center; gap: 10px; margin-bottom: 8px; }
.cm-avatar {
  width: 34px;
  height: 34px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: #0a1633;
  color: #fff;
  font-family: var(--k-font-head);
  font-size: 15.5px;
  font-weight: 700;
}
.cm-name { font-family: var(--k-font-head); font-size: 14.5px; font-weight: 700; }
.cm-date { font-family: var(--k-font-head); font-size: 12px; color: var(--k-muted); }
.cm-text { font-size: 17.5px; line-height: 1.6; color: #26292e; }
.cm-empty { padding: 14px 0; font-family: var(--ui-font); font-size: 15px; color: var(--k-muted); }

.cn-form { margin-top: 22px; padding: 20px; background: var(--k-paper-2); }
.cn-form h3 { margin: 0 0 14px; font-family: var(--title-font); font-size: 18px; font-weight: 700; }
.cn-form .grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.cn-form .full { grid-column: 1 / -1; }
.cn-form label { display: block; margin-bottom: 5px; font-family: var(--k-font-head); font-size: 12.5px; font-weight: 600; letter-spacing: .05em; text-transform: uppercase; color: var(--k-ink-soft); }
.cn-form input,
.cn-form textarea {
  width: 100%;
  padding: 10px 12px;
  background: #fff;
  border: 1px solid var(--k-line-strong);
  font-family: var(--k-font-head);
  font-size: 15.5px;
  color: var(--k-ink);
  outline: none;
}
.cn-form input:focus,
.cn-form textarea:focus { border-color: var(--c-main); }
.cn-form button {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  height: 38px;
  padding: 0 18px;
  border: 0;
  background: var(--c-main);
  color: #fff;
  font-family: var(--k-font-head);
  font-size: 13.5px;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
  cursor: pointer;
}
.cn-form button:hover { background: var(--k-accent-dark); }

.cn-alert {
  padding: 11px 14px;
  margin-bottom: 16px;
  background: #e8f4ff;
  border-left: 3px solid var(--c-main);
  font-family: var(--ui-font);
  font-size: 14.5px;
  color: #0b4c8c;
}
.cn-alert.err { background: #fdeced; border-color: var(--k-alert); color: #a51219; }

/* ------------------------------- Paginação ------------------------------ */
.cn-pagination {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  margin: 30px 0 10px;
  font-family: var(--k-font-head);
  font-size: 13px;
}
.cn-pagination a,
.cn-pagination span {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  min-width: 34px;
  height: 34px;
  padding: 0 10px;
  justify-content: center;
  background: var(--k-paper-2);
  color: var(--k-ink);
  font-weight: 500;
}
.cn-pagination a:hover { background: #0a1633; color: #fff; }
.cn-pagination .current { background: var(--c-main); color: #fff; font-weight: 700; }
.cn-pagination .dots { background: none; color: var(--k-muted); }
.cn-pagination .pg-nav { text-transform: uppercase; font-size: 11px; letter-spacing: .06em; }

/* --------------------------- Páginas de conteúdo ------------------------ */
.cn-page-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 3px solid #0a1633;
}
.cn-page-header .ph-icon { display: inline-flex; color: var(--c-main); }
.cn-page-header h1 {
  margin: 0;
  font-family: var(--title-font);
  font-size: clamp(24.5px, 2.6vw, 36px);
  font-weight: 700;
  letter-spacing: -.01em;
  color: var(--c-headings);
}
.cn-lead { margin-bottom: 18px; font-family: var(--ui-font); font-size: 15.5px; color: var(--k-muted); }

.prose { font-family: var(--body-font); font-size: 19px; line-height: 1.75; color: #1b1d21; }
.prose h2 { margin: 1.5em 0 .5em; font-family: var(--title-font); font-size: 26px; font-weight: 700; }
.prose h3 { margin: 1.3em 0 .5em; font-family: var(--title-font); font-size: 21.5px; font-weight: 700; }
.prose p { margin: 0 0 1.1em; }
.prose ul, .prose ol { margin: 0 0 1.1em; padding-left: 1.4em; }
.prose li { margin-bottom: .45em; }
.prose a { color: var(--c-main); text-decoration: underline; }
.prose img { max-width: 100%; height: auto; }
.prose blockquote { margin: 1.3em 0; padding-left: 18px; border-left: 3px solid var(--c-main); font-style: italic; color: var(--k-ink-soft); }

.cn-authors { margin-top: 26px; font-family: var(--ui-font); }
.cn-authors h2 { font-family: var(--title-font); font-size: 20px; font-weight: 700; margin-bottom: 12px; }
.cn-authors .row { display: flex; align-items: center; gap: 10px; padding: 9px 0; border-bottom: 1px solid var(--k-line); font-size: 15px; }
.cn-authors .row img { width: 32px; height: 32px; border-radius: 50%; object-fit: cover; }

.cn-author-profile { display: flex; gap: 16px; align-items: flex-start; margin-bottom: 24px; padding: 18px; background: var(--k-paper-2); }
.cn-author-profile img { width: 72px; height: 72px; border-radius: 50%; object-fit: cover; flex-shrink: 0; }
.cn-author-profile .bio { font-family: var(--ui-font); font-size: 15px; line-height: 1.6; color: var(--k-ink-soft); }
.cn-author-profile .count { margin-top: 6px; font-family: var(--k-font-head); font-size: 12.5px; font-weight: 600; letter-spacing: .05em; text-transform: uppercase; color: var(--k-muted); }

/* --------------------------------- 404 ---------------------------------- */
.cn-404 { padding: 70px 0 90px; text-align: center; }
.cn-404 .code { font-family: var(--title-font); font-size: clamp(78.5px, 14vw, 157px); font-weight: 700; line-height: 1; letter-spacing: -.03em; color: #0a1633; }
.cn-404 .code span { color: var(--c-main); }
.cn-404 h1 { margin: 14px 0 8px; font-family: var(--title-font); font-size: 29px; font-weight: 700; }
.cn-404 p { margin-bottom: 22px; font-family: var(--ui-font); font-size: 15.5px; color: var(--k-muted); }
.cn-404 a {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  height: 40px;
  padding: 0 20px;
  background: var(--c-main);
  color: #fff;
  font-family: var(--k-font-head);
  font-size: 13.5px;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
}
.cn-404 a:hover { background: #0a1633; }

/* ------------------------------ Rodapé ---------------------------------- */
.site-footer { margin-top: 50px; background: #0a1633; color: rgba(255, 255, 255, .78); font-family: var(--ui-font); }
.site-footer a { color: rgba(255, 255, 255, .78); }
.site-footer a:hover { color: #fff; }
.footer-top { padding: 42px 0 34px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 30px; }
.footer-brand .fb-text .b2 { font-family: var(--title-font); font-size: 20px; font-weight: 700; color: #fff; }
.footer-brand p { margin-top: 10px; font-size: 13px; line-height: 1.65; color: rgba(255, 255, 255, .62); }
.footer-social { display: flex; gap: 8px; margin-top: 14px; }
.footer-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border: 1px solid rgba(255, 255, 255, .22);
  color: #fff;
}
.footer-social a:hover { background: var(--c-main); border-color: var(--c-main); }
.site-footer h4 {
  margin: 0 0 14px;
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(255, 255, 255, .14);
  font-family: var(--ui-font);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: #fff;
}
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin-bottom: 8px; font-size: 13px; display: flex; align-items: flex-start; gap: 7px; }
.site-footer .footer-contact .icon { margin-top: 3px; opacity: .7; flex-shrink: 0; }
.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  justify-content: space-between;
  padding: 14px 0;
  border-top: 1px solid rgba(255, 255, 255, .12);
  font-size: 11.5px;
  color: rgba(255, 255, 255, .55);
}
.footer-bottom .container { display: flex; flex-wrap: wrap; gap: 8px 20px; justify-content: space-between; width: 100%; }

/* ------------------------ Modal de vídeo (home) ------------------------- */
.video-modal { position: fixed; inset: 0; z-index: 10070; display: none; }
.video-modal.open { display: block; }
.video-modal-backdrop { position: absolute; inset: 0; background: rgba(4, 8, 20, .86); }
.video-modal-box {
  position: relative;
  z-index: 2;
  width: min(920px, 92vw);
  margin: 8vh auto 0;
  background: #000;
  box-shadow: 0 24px 60px rgba(0, 0, 0, .5);
}
.video-modal-body { position: relative; aspect-ratio: 16 / 9; }
.video-modal-body iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video-modal-close {
  position: absolute;
  top: -38px;
  right: 0;
  background: none;
  border: 0;
  color: #fff;
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
}

/* ------------------------------ Responsivo ------------------------------ */
@media (max-width: 1024px) {
  .cn-hero { grid-template-columns: minmax(0, 1fr); }
  .cn-hero-main { aspect-ratio: 16 / 9; }
  .cn-66-33 { grid-template-columns: minmax(0, 1fr); gap: 30px; }
  .cn-cols-3 { grid-template-columns: minmax(0, 1fr); gap: 30px; }
  .cn-cols-3 > .cn-col { padding: 0; border-left: 0; }
  .cn-cols-3 > .cn-col + .cn-col { padding-top: 26px; border-top: 1px solid var(--k-line); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .cn-catstrip { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 767px) {
  /* No celular o banner ocupa a largura toda */
  .ad-box.ad-header img,
  .ad-box.ad-below img,
  .ad-box.ad-footer img {
    max-height: none;
    width: 100%;
    height: auto;
    object-fit: contain;
  }
  /* Artes 16:9 (topo e rodapé) viram faixa: recorta só em cima e embaixo,
     a largura permanece inteira e o miolo da peça fica visível */
  .ad-box.ad-header img,
  .ad-box.ad-footer img {
    height: 150px;
    object-fit: cover;
    object-position: center;
  }
  /* Patrocínio com arte própria para desktop e para celular */
  .ad-box .ad-img-desk { display: none; }
  .ad-box .ad-img-mob { display: block; }
  /* Espaçamento mais curto no celular */
  .cn-sec { margin-bottom: 18px; }
  .cn-hero-side .l-post { padding: 8px 0; }
  .cn-catstrip a { min-height: 76px; }
  /* Cards em grade viram linha horizontal no celular (economiza muita altura) */
  .loop-grid .l-post.grid-post { display: flex; align-items: flex-start; }
  .loop-grid .l-post.grid-post .media { width: 36%; flex-shrink: 0; margin-right: 12px; }
  .loop-grid .l-post.grid-post .content { flex: 1 1 auto; min-width: 0; }
  .loop-grid .l-post.grid-post .post-title { font-size: 15.5px; line-height: 1.3; }
  .loop-grid .l-post.grid-post .excerpt { display: none; }
  .cn-hero-main .hm-text { padding: 18px 18px 20px; }
  .cn-hero-main .hm-desc { display: none; }
  .cn-catstrip { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-grid { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .cn-form .grid { grid-template-columns: minmax(0, 1fr); }
  .the-post .post-content { font-size: 19px; }
  .cn-author { flex-direction: column; }
  .cn-share .label { width: 100%; }
}

/* ------------------------- Complementos finais -------------------------- */
.container { width: min(1200px, 94vw); margin: 0 auto; }

/* Compressão vertical das grades do tema (linhas mais próximas) */
.loop-grid { --grid-row-gap: 22px; }
.loop-grid-sm { --grid-row-gap: 16px; }
.block-head { --space-below: 14px; }
.main-content .block-wrap { --block-wrap-mb: 26px; }

/* Listas: miniatura menor e linhas mais próximas */
.loop-list .l-post.list-post { --list-p-media-width: 32%; --list-p-media-margin: 16px; }
.loop-list .l-post.list-post + .l-post.list-post { margin-top: 10px; padding-top: 10px; border-top: 1px solid var(--k-line); }
.loop-list .l-post.list-post .post-title { font-size: 16px; line-height: 1.3; }

/* Nav fixa ao rolar (clone do menu principal) */
.cn-sticky-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: #0a1633;
  border-bottom: 1px solid #304951;
  transform: translateY(-104%);
  transition: transform .22s ease;
  box-shadow: 0 6px 18px rgba(0, 0, 0, .18);
}
.cn-sticky-nav.is-on { transform: translateY(0); }
.cn-sticky-nav .menu { display: flex; flex-wrap: wrap; }
.cn-sticky-nav .menu > li > a {
  display: inline-flex;
  align-items: center;
  height: 40px;
  padding: 0 12px;
  color: rgba(255, 255, 255, .92);
  font-family: var(--ui-font);
  font-size: 13.5px;
  font-weight: 500;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.cn-sticky-nav .menu > li > a:hover { color: #fff; }

/* Bloco de editoria (home) */
.cn-ed-lead { padding-bottom: 10px; margin-bottom: 10px; border-bottom: 1px solid var(--k-line); }
.cn-ed-lead .media { width: 44%; margin-right: 12px; }
.cn-ed-lead .post-title { font-size: 17px; }
.cn-ed-list .l-post { padding: 8px 0; border-bottom: 1px solid var(--k-line); }
.cn-ed-list .l-post:last-child { border-bottom: 0; padding-bottom: 0; }
.cn-ed-list .l-post .post-title { font-size: 15px; line-height: 1.32; }

/* Expediente */
.team-list { margin: 18px 0 8px; }
.team-member { display: flex; gap: 14px; padding: 12px 0; border-bottom: 1px solid var(--k-line); }
.team-member img { width: 56px; height: 56px; border-radius: 50%; object-fit: cover; flex-shrink: 0; }
.team-member h3 { margin: 0 0 3px; font-family: var(--title-font); font-size: 17px; font-weight: 700; }
.team-member h3 a { color: inherit; }
.team-member p { margin: 0 0 3px; font-family: var(--ui-font); font-size: 14px; line-height: 1.55; color: var(--k-muted); }
.team-member .tm-count a { color: var(--c-main); font-weight: 500; }

/* Fale conosco */
.contact-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin: 20px 0; }
.contact-card { padding: 18px; background: var(--k-paper-2); border-top: 2px solid var(--c-main); }
.contact-card .cc-icon { color: var(--c-main); margin-bottom: 8px; }
.contact-card h3 { margin: 0 0 6px; font-family: var(--title-font); font-size: 15.5px; font-weight: 700; }
.contact-card p { margin: 0; font-family: var(--ui-font); font-size: 14.5px; color: var(--k-muted); word-break: break-word; }
.contact-card a { color: var(--c-main); }

@media (max-width: 767px) {
  .contact-cards { grid-template-columns: minmax(0, 1fr); }
  .cn-ed-lead .media { width: 40%; }
}

/* -------- Escala de leitura: textos herdados do tema.
   Cabecalho e rodape mantem os tamanhos originais (px) intactos. -------- */
.excerpt { --excerpt-size: 14.5px; font-size: 14.5px; }
.post-meta { font-size: 12.5px; }
.post-meta .meta-item { font-size: 11px; }
.cat-labels a, .cat-labels .category { font-size: 12px; }
.block-head .heading, .block-head-e2 .heading { font-size: 22.5px; }
@media (min-width: 768px) {
  .loop-list .l-post.list-post .post-title { font-size: 17px; }
}
@media (max-width: 767px) {
  .block-head .heading, .block-head-e2 .heading { font-size: 20px; }
}
