/*
Theme Name:   Cibily
Theme URI:    https://cibilynt.example/
Description:  Tema-base único da rede Cibily. Child theme do GeneratePress, design clean mobile-first (CSS-only), com slots de conformidade embutidos: bloco de operador, disclosure de afiliados, consentimento + GTM único, E-E-A-T de autor e template de "Sobre" parametrizável. Cada site da rede ajusta marca, idioma e mercado pelo Customizer.
Author:       Cibily
Author URI:   https://cibilynt.example/
Template:     generatepress
Version:      1.2.2
Text Domain:  cibilynt
*/


:root {
  
  --nx-bg:           #f7f8fa;
  --nx-surface:      #ffffff;
  --nx-bg-alt:       #f7f8fa;
  --nx-text:         #111827;
  --nx-text-muted:   #4b5563;
  --nx-text-soft:    #6b7280;
  --nx-border:       #e5e7eb;
  --nx-border-soft:  #eef0f3;
  --nx-shadow:       0 2px 8px rgba(0, 0, 0, 0.06);
  --nx-shadow-hover: 0 8px 24px rgba(0, 0, 0, 0.08);

  --nx-radius:       10px;
  --nx-radius-sm:    6px;
  --nx-radius-pill:  999px;

  
  --nx-header-a:     #4338ca;
  --nx-header-b:     #7c3aed;
  --nx-accent:       #4f46e5;
  --nx-accent-soft:  color-mix(in srgb, var(--nx-accent) 12%, white);
  --nx-accent-warm:  #f59e0b;   
  --nx-accent-hot:   #ef4444;   
  --nx-footer-bg:    #ffffff;
  --nx-header-bg:    #ffffff;
  --nx-header-text:  #111827;
  --nx-header-link:  #4b5563;

  
  --nx-footer-text:        #4b5563;
  --nx-footer-text-strong: #111827;
  --nx-footer-link:        #4b5563;
  --nx-footer-hover-bg:    rgba(0, 0, 0, 0.06);

  --nx-container:    760px;
  --nx-container-wide: 1240px;

  --nx-font:         -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;

  --nx-space-1: 4px;
  --nx-space-2: 8px;
  --nx-space-3: 12px;
  --nx-space-4: 16px;
  --nx-space-5: 20px;
  --nx-space-6: 24px;
  --nx-space-8: 32px;
  --nx-space-10: 40px;
}

*,
*::before,
*::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }

body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--nx-font);
  font-size: 16px;
  line-height: 1.65;
  color: var(--nx-text);
  background: var(--nx-bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6,
p, figure, blockquote, dl, dd { margin: 0; }

img, picture, video, canvas, svg { display: block; max-width: 100%; }

input, button, textarea, select { font: inherit; }

a { color: var(--nx-accent); text-decoration: none; }
a:hover { text-decoration: underline; }

.nx-container {
  width: 100%;
  max-width: var(--nx-container);
  margin-inline: auto;
  
  padding-inline: 0;
}

.nx-container--wide { max-width: var(--nx-container-wide); }

.home .nx-container,
.archive .nx-container,
.search .nx-container,
.blog .nx-container {
  max-width: var(--nx-container-wide);
}

.nx-main {
  
  padding-block: 0;
}

@media (min-width: 768px) {
  .nx-container { padding-inline: var(--nx-space-4); }
  .nx-main      { padding-block: var(--nx-space-5) var(--nx-space-10); }
}

.nx-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--nx-header-bg);
  color: var(--nx-header-text);
  border-top: 3px solid var(--nx-header-a);
  border-bottom: 1px solid var(--nx-border);
  transition: transform 260ms ease, box-shadow 200ms ease;
  will-change: transform;
}

.nx-header.is-scrolled { box-shadow: var(--nx-shadow); }

.nx-header.is-hidden { transform: translateY(-100%); }

@media (prefers-reduced-motion: reduce) {
  .nx-header { transition: box-shadow 200ms ease; }
}

.nx-header__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding-inline: var(--nx-space-4);
  min-height: 56px;
  row-gap: 0;
}

.nx-header__brand {
  display: inline-flex;
  align-items: center;
  line-height: 1;
}

.nx-header__brand .custom-logo-link,
.nx-header__brand .nx-header__brand-text {
  display: inline-flex;
  align-items: center;
  color: var(--nx-header-text);
  text-decoration: none;
  font-size: 1.375rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  white-space: nowrap;
  padding: 0;
}
.nx-header__brand .custom-logo-link:hover,
.nx-header__brand .nx-header__brand-text:hover {
  text-decoration: none;
  color: var(--nx-accent);
}

.nx-header__brand img,
.nx-header__brand .custom-logo {
  display: block;
  height: 32px;
  width: auto;
  max-width: 220px;
  object-fit: contain;
}

.nx-menu-toggle__input { display: none; }

.nx-menu-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: var(--nx-radius);
  background: transparent;
  color: inherit;
  cursor: pointer;
  border: 0;
  padding: 0;
  transition: background-color 120ms ease;
}
.nx-menu-toggle { color: var(--nx-header-text); }
.nx-menu-toggle:hover { background: rgba(0, 0, 0, 0.05); }

.nx-menu-toggle__bar,
.nx-menu-toggle__bar::before,
.nx-menu-toggle__bar::after {
  content: "";
  display: block;
  width: 20px;
  height: 2px;
  background: currentColor;
  border-radius: 2px;
  transition: transform 180ms ease, opacity 180ms ease;
}
.nx-menu-toggle__bar { position: relative; }
.nx-menu-toggle__bar::before { position: absolute; top: -6px; left: 0; }
.nx-menu-toggle__bar::after  { position: absolute; top:  6px; left: 0; }

.nx-menu-toggle__input:checked ~ .nx-header__inner .nx-menu-toggle__bar { background: transparent; }
.nx-menu-toggle__input:checked ~ .nx-header__inner .nx-menu-toggle__bar::before { top: 0; transform: rotate(45deg); }
.nx-menu-toggle__input:checked ~ .nx-header__inner .nx-menu-toggle__bar::after  { top: 0; transform: rotate(-45deg); }

.nx-nav {
  flex-basis: 100%;
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 220ms ease;
}
.nx-nav__inner { overflow: hidden; }

.nx-menu-toggle__input:checked ~ .nx-header__inner .nx-nav {
  grid-template-rows: 1fr;
}

.nx-nav ul,
.nx-nav .nx-menu {
  list-style: none;
  margin: 0;
  padding: var(--nx-space-2) 0 var(--nx-space-3);
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.nx-nav a {
  display: block;
  padding: 10px 12px;
  border-radius: var(--nx-radius-sm);
  color: var(--nx-header-link);
  font-weight: 600;
  transition: opacity 160ms ease;
}
.nx-nav a:hover { text-decoration: none; opacity: 0.75; }
.nx-nav .current-menu-item > a,
.nx-nav .current_page_item > a { font-weight: 700; }

.nx-search-toggle__input { display: none; }

.nx-search-toggle {
  display: none; 
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: var(--nx-radius);
  background: transparent;
  color: inherit;
  cursor: pointer;
  border: 0;
  padding: 0;
  margin-left: var(--nx-space-1);
  color: var(--nx-header-text);
  transition: background-color 120ms ease, color 120ms ease;
}
.nx-search-toggle:hover { background: rgba(0, 0, 0, 0.05); color: var(--nx-accent); }

.nx-search-toggle__input:checked ~ .nx-header__inner .nx-search-toggle {
  background: var(--nx-bg-alt);
  color: var(--nx-accent);
}

.nx-search-drawer {
  flex-basis: 100%;
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 220ms ease;
}
.nx-search-drawer__inner { overflow: hidden; }

.nx-menu-toggle__input:checked ~ .nx-search-drawer {
  grid-template-rows: 1fr;
}

.nx-search {
  display: flex;
  gap: var(--nx-space-2);
  padding: var(--nx-space-3) var(--nx-space-4) var(--nx-space-4);
}

.nx-search__input {
  flex: 1;
  min-width: 0;
  padding: 10px 14px;
  font-size: 0.9375rem;
  background: var(--nx-surface);
  color: var(--nx-text);
  border: 1px solid var(--nx-border);
  border-radius: var(--nx-radius-sm);
  outline: none;
  -webkit-appearance: none;
  appearance: none;
}
.nx-search__input::placeholder { color: var(--nx-text-soft); }
.nx-search__input:focus { border-color: var(--nx-accent); box-shadow: 0 0 0 3px var(--nx-accent-soft); }

.nx-search__input::-webkit-search-cancel-button { -webkit-appearance: none; }

.nx-search__submit {
  flex-shrink: 0;
  width: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--nx-accent);
  color: #ffffff;
  border: 0;
  border-radius: var(--nx-radius-sm);
  cursor: pointer;
  transition: filter 120ms ease;
}
.nx-search__submit:hover { filter: brightness(0.94); }

.screen-reader-text {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.nx-skip-link {
  position: absolute;
  left: -9999px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.nx-skip-link:focus {
  position: fixed;
  left: 12px;
  top: 12px;
  width: auto;
  height: auto;
  padding: 8px 12px;
  background: var(--nx-surface);
  color: var(--nx-text);
  border-radius: var(--nx-radius);
  z-index: 1000;
}

@media (min-width: 768px) {
  .nx-menu-toggle { display: none; }
  .nx-header__inner { padding-inline: var(--nx-space-6); flex-wrap: nowrap; }
  .nx-nav {
    flex-basis: auto;
    grid-template-rows: 1fr;
    margin-left: auto;
  }
  .nx-nav ul,
  .nx-nav .nx-menu {
    flex-direction: row;
    padding: 0;
    gap: var(--nx-space-1);
  }
  .nx-nav a { padding: 8px 14px; }

  
  .nx-search-toggle { display: inline-flex; }

  
  .nx-menu-toggle__input:checked ~ .nx-search-drawer {
    grid-template-rows: 0fr;
  }
  
  .nx-search-toggle__input:checked ~ .nx-search-drawer {
    grid-template-rows: 1fr;
  }

  
  .nx-search-drawer {
    background: var(--nx-bg-alt);
    border-top: 1px solid var(--nx-border);
  }
  .nx-search {
    max-width: var(--nx-container-wide);
    margin-inline: auto;
    padding: var(--nx-space-4) var(--nx-space-6);
  }
}

.nx-catbar {
  display: none;
  border-top: 1px solid var(--nx-border);
  background: var(--nx-surface);
}
.nx-catbar__inner {
  width: 100%;
  max-width: var(--nx-container-wide);
  margin-inline: auto;
  padding-inline: var(--nx-space-6);
}
.nx-catbar__list {
  display: flex;
  gap: 0;
  align-items: center;
  height: 40px;
  margin: 0;
  padding: 0;
  list-style: none;
  overflow-x: auto;
  scrollbar-width: none;
}
.nx-catbar__list::-webkit-scrollbar { display: none; }
.nx-catbar__list li { margin: 0; }
.nx-catbar__list a {
  display: inline-flex;
  align-items: center;
  height: 100%;
  padding: 0 var(--nx-space-4);
  font-size: 0.6875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--nx-text-muted);
  white-space: nowrap;
  transition: color 160ms ease;
}
.nx-catbar__list a:hover,
.nx-catbar__list .current-menu-item > a { color: var(--nx-accent); text-decoration: none; }
@media (min-width: 768px) {
  .nx-catbar { display: block; }
}

.nx-card {
  background: var(--nx-surface);
  
  border: 0;
  border-radius: 0;
  box-shadow: none;
  padding: var(--nx-space-5);
}

.nx-card + .nx-card,
.nx-card + .nx-list > .nx-card:first-child {
  margin-top: 0;
  border-top: 1px solid var(--nx-border);
}

@media (min-width: 768px) {
  .nx-card {
    border: 1px solid var(--nx-border);
    border-radius: var(--nx-radius);
    box-shadow: var(--nx-shadow);
    padding: var(--nx-space-8);
  }
  .nx-card + .nx-card,
  .nx-card + .nx-list > .nx-card:first-child {
    margin-top: var(--nx-space-4);
    
    border-top: 1px solid var(--nx-border);
  }
}

.nx-btn {
  display: inline-block;
  padding: 10px 18px;
  background: var(--nx-accent);
  color: #ffffff;
  border: 0;
  border-radius: var(--nx-radius);
  font-weight: 600;
  cursor: pointer;
  transition: filter 120ms ease, transform 120ms ease;
}
.nx-btn:hover { filter: brightness(0.94); text-decoration: none; color: #fff; }
.nx-btn:active { transform: translateY(1px); }

.nx-btn--ghost {
  background: var(--nx-surface);
  color: var(--nx-accent);
  border: 1px solid var(--nx-border);
}

.nx-progress {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: transparent;
  z-index: 200;
  pointer-events: none;
}
.nx-progress__bar {
  display: block;
  height: 100%;
  width: 0;
  background: linear-gradient(90deg, var(--nx-header-a), var(--nx-header-b));
  transition: width 80ms linear;
}

.nx-post__header {
  margin-bottom: var(--nx-space-5);
  padding-bottom: var(--nx-space-5);
  border-bottom: 1px solid var(--nx-border-soft);
}

.nx-post__eyebrow {
  display: inline-block;
  margin-bottom: var(--nx-space-3);
  padding-left: var(--nx-space-3);
  position: relative;
  font-size: 0.6875rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--nx-accent);
}
.nx-post__eyebrow::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 4px;
  height: 1em;
  border-radius: 2px;
  background: var(--nx-accent);
}
.nx-post__eyebrow:hover { text-decoration: none; filter: brightness(0.92); }

.nx-post__title {
  font-size: 1.75rem;
  line-height: 1.18;
  letter-spacing: -0.02em;
  font-weight: 800;
  margin-bottom: var(--nx-space-3);
  text-wrap: balance;
}

.nx-post__excerpt {
  font-size: 1.0625rem;
  color: var(--nx-text-muted);
  margin-bottom: var(--nx-space-4);
}

.nx-post__byline {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--nx-space-2);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--nx-text-soft);
}

.nx-post__endmeta {
  margin-top: var(--nx-space-6);
  padding-top: var(--nx-space-5);
  border-top: 1px solid var(--nx-border-soft);
  display: flex;
  flex-direction: column;
  gap: var(--nx-space-2);
}
.nx-post__endmeta .nx-post__eyebrow { margin-bottom: 0; }

.nx-post__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px var(--nx-space-4);
  font-size: 0.8125rem;
  color: var(--nx-text-muted);
  margin-top: var(--nx-space-5);
}
.nx-post__meta a { color: inherit; }
.nx-post__meta a:hover { color: var(--nx-accent); text-decoration: none; }
.nx-post__meta-item { display: inline-flex; align-items: center; gap: 6px; }

.nx-post__feature {
  border-radius: var(--nx-radius);
  overflow: hidden;
  background: var(--nx-border-soft);
}
.nx-post__feature img { width: 100%; height: auto; }

.nx-post__content {
  font-size: 1.125rem;
  line-height: 1.7;
  color: var(--nx-text);
  hyphens: auto;
  word-wrap: break-word;
}

@media (min-width: 768px) {
  .nx-post__content {
    font-size: 1.1875rem;
    line-height: 1.75;
  }
}

.nx-post__content > * + * { margin-top: 1.1em; }

.nx-post__content > p:first-of-type {
  font-size: 1.1875rem;
  line-height: 1.55;
  font-weight: 500;
  color: var(--nx-text);
  margin-bottom: 1.4em;
}
@media (min-width: 768px) {
  .nx-post__content > p:first-of-type {
    font-size: 1.3125rem;
    line-height: 1.5;
  }
}

.nx-post__content p.has-drop-cap::first-letter {
  font-size: 3.6em;
  font-weight: 700;
  float: left;
  line-height: 0.85;
  margin: 0.05em 0.12em 0 0;
  color: var(--nx-accent);
  font-family: Georgia, "Times New Roman", serif;
}

.nx-post__content h2,
.nx-post__content h3 {
  color: var(--nx-text);
  font-weight: 700;
  letter-spacing: -0.015em;
  text-wrap: balance;
}

.nx-post__content h2 {
  font-size: 1.5rem;
  line-height: 1.2;
  margin-top: 2em;
  margin-bottom: 0.5em;
  position: relative;
  padding-left: var(--nx-space-3);
}
.nx-post__content h2::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.18em;
  bottom: 0.18em;
  width: 4px;
  border-radius: 2px;
  background: var(--nx-accent);
}

.nx-post__content h3 {
  font-size: 1.25rem;
  line-height: 1.3;
  margin-top: 1.8em;
  margin-bottom: 0.4em;
}

.nx-post__content h4 {
  margin-top: 1.6em;
  margin-bottom: 0.3em;
  font-size: 0.8125rem;
  line-height: 1.35;
  text-transform: uppercase;
  letter-spacing: 0.10em;
  color: var(--nx-accent);
  font-weight: 700;
}

@media (min-width: 768px) {
  .nx-post__content h2 {
    font-size: 1.875rem;
    padding-left: var(--nx-space-4);
  }
  .nx-post__content h2::before { width: 5px; }
  .nx-post__content h3 { font-size: 1.4375rem; }
}

.nx-post__content a:not(.tek-btn):not(.btn) {
  color: var(--nx-accent);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
  text-decoration-color: color-mix(in srgb, var(--nx-accent) 40%, transparent);
  transition: text-decoration-color 160ms ease, text-decoration-thickness 160ms ease;
  font-weight: 500;
}
.nx-post__content a:not(.tek-btn):not(.btn):hover {
  text-decoration-color: var(--nx-accent);
  text-decoration-thickness: 2px;
}

.nx-post__content strong,
.nx-post__content b {
  font-weight: 700;
  color: var(--nx-text);
}
.nx-post__content em,
.nx-post__content i { font-style: italic; }

.nx-post__content mark {
  background: color-mix(in srgb, var(--nx-accent) 18%, transparent);
  color: var(--nx-text);
  padding: 0 4px;
  border-radius: 3px;
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
}

.nx-post__content code,
.nx-post__content kbd,
.nx-post__content samp {
  font-family: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, "Liberation Mono", monospace;
  font-size: 0.875em;
  padding: 2px 6px;
  border-radius: 6px;
  background: color-mix(in srgb, var(--nx-accent) 8%, var(--nx-bg));
  color: var(--nx-text);
}
.nx-post__content pre {
  margin: 1.4em 0;
  padding: var(--nx-space-4);
  background: var(--nx-bg);
  border: 1px solid var(--nx-border);
  border-radius: var(--nx-radius);
  overflow-x: auto;
  font-size: 0.875rem;
  line-height: 1.5;
}
.nx-post__content pre code {
  background: transparent;
  padding: 0;
  font-size: inherit;
  border-radius: 0;
}

.nx-post__content blockquote {
  margin: 1.8em 0;
  padding: var(--nx-space-4) var(--nx-space-5);
  border-left: 4px solid var(--nx-accent);
  background: color-mix(in srgb, var(--nx-accent) 5%, var(--nx-bg));
  border-radius: 0 var(--nx-radius) var(--nx-radius) 0;
  color: var(--nx-text);
  font-size: 1.0625rem;
  font-style: italic;
  line-height: 1.6;
}
.nx-post__content blockquote > * + * { margin-top: 0.6em; }
.nx-post__content blockquote cite {
  display: block;
  font-style: normal;
  font-weight: 600;
  font-size: 0.8125rem;
  color: var(--nx-text-muted);
}
.nx-post__content blockquote cite::before { content: "— "; }

.nx-post__content .nx-pullquote,
.nx-post__content .wp-block-pullquote {
  margin: 2em 0;
  padding: var(--nx-space-6) 0;
  background: transparent;
  border-left: 0;
  border-radius: 0;
  border-top: 2px solid var(--nx-accent);
  border-bottom: 2px solid var(--nx-accent);
  text-align: center;
  font-size: 1.375rem;
  line-height: 1.4;
  font-weight: 500;
  font-style: normal;
  color: var(--nx-text);
  letter-spacing: -0.01em;
}
.nx-post__content .wp-block-pullquote blockquote {
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
}
.nx-post__content .nx-pullquote cite,
.nx-post__content .wp-block-pullquote cite {
  display: block;
  margin-top: var(--nx-space-3);
  font-style: normal;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: var(--nx-accent);
}
.nx-post__content .nx-pullquote cite::before,
.nx-post__content .wp-block-pullquote cite::before { content: none; }
@media (min-width: 768px) {
  .nx-post__content .nx-pullquote,
  .nx-post__content .wp-block-pullquote { font-size: 1.625rem; }
}

.nx-post__content ul,
.nx-post__content ol {
  padding-left: 1.6em;
  list-style: none;
}
.nx-post__content ul > li,
.nx-post__content ol > li {
  position: relative;
  margin-top: 0.4em;
}
.nx-post__content ul > li::before {
  content: "";
  position: absolute;
  left: -1.2em;
  top: 0.65em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--nx-accent);
}
.nx-post__content ol { counter-reset: nx-ol; }
.nx-post__content ol > li { counter-increment: nx-ol; }
.nx-post__content ol > li::before {
  content: counter(nx-ol) ".";
  position: absolute;
  left: -1.6em;
  top: 0;
  width: 1.4em;
  text-align: right;
  padding-right: 6px;
  color: var(--nx-accent);
  font-weight: 700;
}

.nx-post__content li ul > li::before {
  background: var(--nx-text-muted);
  width: 5px;
  height: 5px;
  top: 0.7em;
}

.nx-post__content hr {
  border: 0;
  margin: var(--nx-space-8) auto;
  width: 60px;
  height: 3px;
  background: var(--nx-accent);
  border-radius: 2px;
  opacity: 0.75;
}

.nx-post__content img { border-radius: var(--nx-radius); }
.nx-post__content figure { margin: 1.5em 0; }
.nx-post__content figure img,
.nx-post__content .wp-block-image img {
  width: 100%;
  height: auto;
  border-radius: var(--nx-radius);
}
.nx-post__content figcaption,
.nx-post__content .wp-block-image figcaption {
  margin-top: var(--nx-space-2);
  text-align: center;
  font-size: 0.8125rem;
  color: var(--nx-text-muted);
  font-style: italic;
}

.nx-post__content table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.5em 0;
  font-size: 0.9375rem;
}
.nx-post__content th,
.nx-post__content td {
  text-align: left;
  padding: var(--nx-space-2) var(--nx-space-3);
  border-bottom: 1px solid var(--nx-border-soft);
  vertical-align: top;
}
.nx-post__content thead th {
  border-bottom: 2px solid var(--nx-accent);
  color: var(--nx-text);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.nx-post__content tbody tr:hover {
  background: color-mix(in srgb, var(--nx-accent) 4%, transparent);
}

.nx-post__content :target { scroll-margin-top: var(--nx-space-6); }

@media (min-width: 768px) {
  .nx-post__title { font-size: 2.375rem; }
}

.nx-breadcrumb {
  margin-top: var(--nx-space-6);
  padding-top: var(--nx-space-4);
  border-top: 1px solid var(--nx-border-soft);
  font-size: 0.8125rem;
  color: var(--nx-text-muted);
}
.nx-breadcrumb__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 8px;
}
.nx-breadcrumb__item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.nx-breadcrumb__item + .nx-breadcrumb__item::before {
  content: "›";
  color: var(--nx-border);
  font-size: 1rem;
  line-height: 1;
}
.nx-breadcrumb__item a {
  color: var(--nx-text-muted);
}
.nx-breadcrumb__item a:hover {
  color: var(--nx-accent);
  text-decoration: none;
}
.nx-breadcrumb__item span[aria-current="page"] {
  color: var(--nx-text);
  font-weight: 500;
  
  max-width: 60vw;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.nx-post__feature--bottom {
  margin-top: var(--nx-space-5);
  margin-bottom: 0;
}

.nx-post__feature--top {
  margin-bottom: var(--nx-space-5);
}

.nx-recommendations {
  margin: 1.5em 0;
  padding: var(--nx-space-4) var(--nx-space-5);
  background: var(--nx-bg);
  border: 1px solid var(--nx-border-soft);
  border-radius: var(--nx-radius);
  list-style: none;
}
.nx-recommendations__title {
  display: block;
  font-weight: 700;
  font-size: 0.9375rem;
  color: var(--nx-text);
  margin-bottom: var(--nx-space-2);
}
.nx-recommendations ul {
  list-style: none;
  margin: 0;
  padding-left: 0;
}

.nx-recommendations ul > li {
  margin-top: 0;
  padding: 8px 0;
  border-bottom: 1px solid var(--nx-border-soft);
  position: static;
}
.nx-recommendations ul > li::before {
  content: none;
  display: none;
}
.nx-recommendations ul > li:last-child { border-bottom: 0; }

.nx-recommendations a {
  color: var(--nx-accent);
  font-weight: 500;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
  text-decoration-color: color-mix(in srgb, var(--nx-accent) 35%, transparent);
  transition: text-decoration-color 160ms ease;
}
.nx-recommendations a:hover {
  text-decoration-color: var(--nx-accent);
}

.nx-post__tags {
  margin-top: var(--nx-space-6);
  padding-top: var(--nx-space-5);
  border-top: 1px solid var(--nx-border);
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.nx-post__tags-label {
  width: 100%;
  font-size: 0.8125rem;
  color: var(--nx-text-muted);
  margin-bottom: var(--nx-space-1);
}
.nx-tag {
  display: inline-block;
  padding: 4px 12px;
  background: var(--nx-bg);
  border: 1px solid var(--nx-border-soft);
  border-radius: var(--nx-radius-pill);
  font-size: 0.8125rem;
  color: var(--nx-text);
  transition: background-color 120ms ease, border-color 120ms ease;
}
.nx-tag:hover {
  background: var(--nx-border-soft);
  border-color: var(--nx-border);
  text-decoration: none;
}

.nx-related {
  margin-top: var(--nx-space-8);
}

.nx-grid.nx-grid--related {
  grid-template-columns: 1fr;
}
@media (min-width: 640px) {
  .nx-grid.nx-grid--related { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 767px) {
  .nx-related .nx-section-heading {
    padding-left: var(--nx-space-5);
    padding-right: var(--nx-space-5);
  }
}

.nx-post-nav {
  margin-top: var(--nx-space-6);
  padding-top: var(--nx-space-5);
  border-top: 1px solid var(--nx-border);
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--nx-space-3);
}

.nx-post-nav__item {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: var(--nx-space-3) var(--nx-space-4);
  background: var(--nx-surface);
  border: 1px solid var(--nx-border-soft);
  border-radius: var(--nx-radius);
  color: var(--nx-text);
  transition: border-color 160ms ease, background-color 160ms ease, transform 160ms ease;
}
.nx-post-nav__item:hover {
  border-color: var(--nx-border);
  background: var(--nx-bg);
  text-decoration: none;
  color: var(--nx-text);
}

.nx-post-nav__item--empty {
  display: none;
}

.nx-post-nav__direction {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: var(--nx-text-muted);
}

.nx-post-nav__arrow {
  font-size: 0.9rem;
  line-height: 1;
  transition: transform 160ms ease;
}

.nx-post-nav__item--prev:hover .nx-post-nav__arrow { transform: translateX(-3px); }
.nx-post-nav__item--next:hover .nx-post-nav__arrow { transform: translateX(3px); }

.nx-post-nav__title {
  font-size: 0.9375rem;
  font-weight: 600;
  line-height: 1.35;
  color: var(--nx-text);
  
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

@media (min-width: 640px) {
  .nx-post-nav {
    grid-template-columns: 1fr 1fr;
    gap: var(--nx-space-4);
  }
  .nx-post-nav__item--empty {
    display: block;
    background: transparent;
    border-color: transparent;
  }
  .nx-post-nav__item--next {
    text-align: right;
    align-items: flex-end;
  }
}

.nx-author {
  margin-top: var(--nx-space-6);
  padding-top: var(--nx-space-5);
  border-top: 1px solid var(--nx-border);
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  gap: var(--nx-space-4);
}

.nx-author__avatar {
  display: block;
  flex-shrink: 0;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  overflow: hidden;
  background: var(--nx-border-soft);
  
  box-shadow: 0 0 0 2px var(--nx-surface), 0 0 0 4px var(--nx-accent);
}
.nx-author__avatar:hover { text-decoration: none; }

.nx-author__img,
.nx-author__avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.nx-author__body {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.nx-author__eyebrow {
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: var(--nx-text-muted);
}

.nx-author__name {
  font-size: 1.0625rem;
  line-height: 1.3;
  margin: 0;
  font-weight: 700;
}
.nx-author__name a { color: var(--nx-text); }
.nx-author__name a:hover { color: var(--nx-accent); text-decoration: none; }

.nx-author__bio {
  margin: 4px 0 0;
  font-size: 0.9375rem;
  line-height: 1.5;
  color: var(--nx-text-muted);
}

.nx-author__link {
  margin-top: var(--nx-space-2);
  align-self: flex-start;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--nx-accent);
}
.nx-author__link::after {
  content: " →";
  transition: transform 160ms ease;
  display: inline-block;
}
.nx-author__link:hover {
  text-decoration: none;
}
.nx-author__link:hover::after {
  transform: translateX(3px);
}

@media (min-width: 768px) {
  .nx-author {
    margin-top: var(--nx-space-8);
    padding: var(--nx-space-5) var(--nx-space-6);
    background: var(--nx-bg-alt);
    border: 1px solid var(--nx-border-soft);
    border-left: 4px solid var(--nx-accent);
    border-radius: var(--nx-radius);
    gap: var(--nx-space-5);
  }
  .nx-author__avatar {
    width: 80px;
    height: 80px;
  }
  .nx-author__name { font-size: 1.125rem; }
}

.nx-badge {
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  padding: 0.2em 0.6em;
  border-radius: 3px;
  background: var(--nx-accent);
  color: #ffffff;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  line-height: 1.4;
}
.nx-badge:hover {
  filter: brightness(0.94);
  text-decoration: none;
  color: #ffffff;
}

.nx-archive-heading {
  background: var(--nx-surface);
  padding: var(--nx-space-5);
}
.nx-archive-heading__eyebrow {
  display: inline-block;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: var(--nx-accent);
  margin-bottom: var(--nx-space-2);
}
.nx-archive-heading__title {
  font-size: 1.5rem;
  line-height: 1.2;
  letter-spacing: -0.015em;
  margin: 0;
  color: var(--nx-text);
}
.nx-archive-heading__title em { font-style: normal; color: var(--nx-accent); }
.nx-archive-heading__desc {
  margin-top: var(--nx-space-2);
  color: var(--nx-text-muted);
  font-size: 0.9375rem;
}
@media (min-width: 768px) {
  .nx-archive-heading {
    background: transparent;
    padding: var(--nx-space-6) 0 var(--nx-space-5);
  }
  .nx-archive-heading__title { font-size: 2rem; }
}

.nx-cat-section {
  margin-top: var(--nx-space-8);
}

.nx-cat-section__header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: var(--nx-space-3);
  padding: var(--nx-space-5) var(--nx-space-5) var(--nx-space-3);
  background: var(--nx-surface);
}

.nx-cat-section__title {
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: -0.015em;
  color: var(--nx-text);
  margin: 0;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  
  position: relative;
  padding-left: var(--nx-space-3);
}
.nx-cat-section__title::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.1em;
  bottom: 0.1em;
  width: 4px;
  border-radius: 2px;
  background: var(--nx-accent);
}

.nx-cat-section__see-all {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--nx-accent);
  white-space: nowrap;
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.nx-cat-section__see-all::after {
  content: "→";
  font-size: 1em;
  line-height: 1;
  transition: transform 160ms ease;
}
.nx-cat-section__see-all:hover { text-decoration: none; }
.nx-cat-section__see-all:hover::after { transform: translateX(3px); }

@media (min-width: 768px) {
  .nx-cat-section { margin-top: var(--nx-space-10); }
  .nx-cat-section__header {
    background: transparent;
    padding: 0;
    margin-bottom: var(--nx-space-5);
  }
  .nx-cat-section__title { font-size: 1.5rem; }
  .nx-cat-section__see-all { font-size: 0.875rem; }
}

.nx-section-heading {
  display: block;
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: -0.01em;
  color: var(--nx-text);
  margin: 0;
  padding: var(--nx-space-5) var(--nx-space-5) var(--nx-space-3);
  background: var(--nx-surface);
}
.nx-section-heading > span {
  display: inline-block;
  padding-left: var(--nx-space-3);
  border-left: 4px solid var(--nx-accent);
  line-height: 1.1;
}

@media (min-width: 768px) {
  .nx-section-heading {
    font-size: 1.5rem;
    background: transparent;
    padding: 0;
    margin: var(--nx-space-8) 0 var(--nx-space-5);
  }
}

.nx-hero {
  display: grid;
  grid-template-columns: 1fr;
  background: var(--nx-surface);
}

.nx-hero__media {
  display: block;
  aspect-ratio: 16 / 11;
  background: var(--nx-border-soft);
  overflow: hidden;
}
.nx-hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.nx-hero__body {
  padding: var(--nx-space-5);
  display: flex;
  flex-direction: column;
  gap: var(--nx-space-3);
}

.nx-hero__title {
  font-size: 1.5rem;
  line-height: 1.15;
  letter-spacing: -0.01em;
  margin: 0;
}
.nx-hero__title a { color: var(--nx-text); }
.nx-hero__title a:hover { color: var(--nx-accent); text-decoration: none; }

.nx-hero__excerpt {
  margin: 0;
  color: var(--nx-text-muted);
  font-size: 0.9375rem;
  line-height: 1.5;
}

.nx-hero__cta { margin: 0; }

.nx-hero__meta {
  margin-top: var(--nx-space-3);
  padding-top: var(--nx-space-3);
  border-top: 1px solid var(--nx-border-soft);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px var(--nx-space-2);
  font-size: 0.8125rem;
  color: var(--nx-text-muted);
}
.nx-hero__meta a { color: var(--nx-text-muted); }
.nx-hero__meta a:hover { color: var(--nx-accent); text-decoration: none; }
.nx-hero__author { color: var(--nx-text) !important; font-weight: 600; }

@media (min-width: 768px) {
  .nx-hero {
    grid-template-columns: 1.6fr 1fr;
    border: 1px solid var(--nx-border);
    border-radius: var(--nx-radius);
    overflow: hidden;
    box-shadow: var(--nx-shadow);
    align-items: stretch;
  }
  .nx-hero__media { aspect-ratio: auto; height: 100%; }
  .nx-hero__body  { padding: var(--nx-space-8); justify-content: center; gap: var(--nx-space-4); }
  .nx-hero__title { font-size: 2rem; }
  .nx-hero__excerpt { font-size: 1rem; }
}

.nx-featured {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--nx-space-5);
}
@media (min-width: 1024px) {
  .nx-featured {
    grid-template-columns: minmax(0, 1.7fr) minmax(0, 1fr);
    gap: var(--nx-space-6);
    align-items: start;
  }
  
  .nx-featured .nx-hero { grid-template-columns: 1fr; }
  .nx-featured .nx-hero__media { aspect-ratio: 16 / 8; height: auto; }
  .nx-featured .nx-hero__body { padding: var(--nx-space-6); }
  .nx-featured .nx-hero__title { font-size: 1.875rem; }
}

.nx-headlines {
  background: var(--nx-surface);
  display: flex;
  flex-direction: column;
}
.nx-headlines__title {
  font-size: 0.6875rem;
  font-weight: 800;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: var(--nx-text-muted);
  margin: 0;
  padding: var(--nx-space-5) var(--nx-space-5) var(--nx-space-3);
}
@media (min-width: 1024px) {
  .nx-headlines {
    border: 1px solid var(--nx-border);
    border-radius: var(--nx-radius);
    box-shadow: var(--nx-shadow);
    overflow: hidden;
  }
  .nx-headlines__title {
    border-bottom: 1px solid var(--nx-border-soft);
  }
}

.nx-headline {
  display: flex;
  gap: var(--nx-space-3);
  align-items: flex-start;
  padding: var(--nx-space-4) var(--nx-space-5);
}
.nx-headline + .nx-headline { border-top: 1px solid var(--nx-border-soft); }

.nx-headline__thumb {
  flex-shrink: 0;
  width: 76px;
  height: 76px;
  border-radius: var(--nx-radius-sm);
  overflow: hidden;
  background: var(--nx-border-soft);
}
.nx-headline__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 280ms ease;
}
.nx-headline:hover .nx-headline__thumb img { transform: scale(1.05); }
.nx-headline__thumb .nx-thumb-placeholder { width: 100%; height: 100%; }

.nx-headline__body {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: var(--nx-space-1);
}
.nx-headline__title {
  font-size: 0.9375rem;
  line-height: 1.3;
  font-weight: 700;
  margin: 0;
  letter-spacing: -0.01em;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.nx-headline__title a { color: var(--nx-text); }
.nx-headline__title a:hover { color: var(--nx-accent); text-decoration: none; }
.nx-headline__meta {
  font-size: 0.6875rem;
  color: var(--nx-text-soft);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px;
}

.nx-grid {
  display: grid;
  grid-template-columns: 1fr;
  background: var(--nx-surface);
}

@media (min-width: 640px) {
  .nx-grid { background: transparent; gap: var(--nx-space-4); }
}
@media (min-width: 768px)  { .nx-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .nx-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1280px) { .nx-grid { grid-template-columns: repeat(4, 1fr); } }

.nx-post-card {
  background: var(--nx-surface);
  display: flex;
  flex-direction: column;
}

.nx-grid > .nx-post-card + .nx-post-card {
  border-top: 1px solid var(--nx-border);
}

.nx-post-card__media {
  display: block;
  aspect-ratio: 16 / 10;
  background: var(--nx-border-soft);
  overflow: hidden;
}
.nx-post-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 280ms ease;
}
.nx-post-card:hover .nx-post-card__media img,
.nx-post-card__media:hover img { transform: scale(1.04); }

.nx-post-card__body {
  display: flex;
  flex-direction: column;
  flex: 1;
  gap: var(--nx-space-3);
  padding: var(--nx-space-4);
}

.nx-post-card__title {
  font-size: 1rem;
  line-height: 1.3;
  margin: 0;
  letter-spacing: -0.005em;
}
.nx-post-card__title a { color: var(--nx-text); }
.nx-post-card__title a:hover { color: var(--nx-accent); text-decoration: none; }

.nx-post-card__excerpt {
  font-size: 0.8125rem;
  line-height: 1.5;
  color: var(--nx-text-muted);
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.nx-post-card__meta {
  margin-top: auto;
  padding-top: var(--nx-space-3);
  border-top: 1px solid var(--nx-border-soft);
  font-size: 0.75rem;
  color: var(--nx-text-muted);
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
}

@media (min-width: 640px) {
  .nx-post-card {
    border: 1px solid var(--nx-border);
    border-radius: var(--nx-radius);
    overflow: hidden;
    box-shadow: var(--nx-shadow);
    transition: box-shadow 200ms ease, transform 200ms ease;
  }
  .nx-post-card:hover { transform: translateY(-3px); box-shadow: var(--nx-shadow-hover); }
  .nx-grid > .nx-post-card + .nx-post-card { border-top: 1px solid var(--nx-border); }
}

.nx-thumb-placeholder {
  display: block;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, var(--nx-header-a), var(--nx-header-b));
  opacity: 0.85;
}

.nx-btn--arrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.nx-btn--arrow::after {
  content: "→";
  font-size: 1.05em;
  line-height: 1;
  transition: transform 160ms ease;
}
.nx-btn--arrow:hover::after { transform: translateX(3px); }

.nx-footer {
  margin-top: var(--nx-space-10);
  padding-block: var(--nx-space-8);
  background: var(--nx-footer-bg);
  color: var(--nx-footer-text);
  border-top: 1px solid var(--nx-border);
  font-size: 0.8125rem;
}

.nx-footer__inner {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: var(--nx-space-6);
  text-align: left;
  padding-inline: var(--nx-space-5);
}

@media (min-width: 768px) {
  .nx-footer__inner { padding-inline: var(--nx-space-4); }
}

.nx-footer__brand {
  display: inline-flex;
  align-items: center;
}
.nx-footer__brand .custom-logo-link,
.nx-footer__brand .nx-footer__brand-text {
  display: inline-flex;
  align-items: center;
  color: var(--nx-footer-text-strong);
  text-decoration: none;
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: -0.03em;
}
.nx-footer__brand img,
.nx-footer__brand .custom-logo {
  display: block;
  height: 36px;
  width: auto;
  max-width: 220px;
  object-fit: contain;
}

.nx-footer__about {
  margin: 0;
  max-width: 360px;
  font-size: 0.8125rem;
  line-height: 1.6;
  color: var(--nx-footer-text);
}

.nx-footer__cols {
  width: 100%;
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--nx-space-8) var(--nx-space-6);
  text-align: left;
}

@media (min-width: 640px) {
  .nx-footer__cols { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1024px) {
  .nx-footer__cols {
    grid-template-columns: 1.4fr 1fr 0.9fr 1.2fr;
    align-items: start;
  }
}

.nx-footer__col {
  display: flex;
  flex-direction: column;
  gap: var(--nx-space-3);
  min-width: 0;
}

.nx-footer__col-title {
  font-size: 0.9375rem;
  font-weight: 800;
  letter-spacing: -0.01em;
  color: var(--nx-footer-text-strong);
  margin: 0;
}

.nx-footer__menu-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.nx-footer__menu-list li { margin: 0; }
.nx-footer__menu-list a {
  display: inline-block;
  padding: 4px 0;
  color: var(--nx-footer-link);
  font-weight: 500;
  line-height: 1.4;
  transition: color 120ms ease;
}
.nx-footer__menu-list a:hover {
  color: var(--nx-footer-link);
  text-decoration: none;
  opacity: 0.75;
}
.nx-footer__menu-list .current-menu-item > a,
.nx-footer__menu-list .current_page_item > a {
  color: var(--nx-footer-link);
}

.nx-footer__posts {
  display: flex;
  flex-direction: column;
  gap: var(--nx-space-3);
}
.nx-footer__post-link {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  color: var(--nx-footer-link);
  font-size: 0.8125rem;
  font-weight: 600;
  line-height: 1.45;
  transition: color 120ms ease;
}
.nx-footer__post-link:hover { color: var(--nx-accent); text-decoration: none; }

.nx-footer__compliance {
  margin: 0;
  padding-top: var(--nx-space-5);
  border-top: 1px solid var(--nx-border);
  width: 100%;
  font-size: 0.75rem;
  line-height: 1.6;
  color: var(--nx-footer-text);
}

.nx-footer__bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: var(--nx-space-3);
  padding-top: var(--nx-space-5);
  border-top: 1px solid var(--nx-border);
}
.nx-footer__copy {
  margin: 0;
  font-size: 0.75rem;
  color: var(--nx-footer-text);
}

.nx-footer__operator {
  width: 100%;
  max-width: 720px;
  margin: 0;
  padding-top: var(--nx-space-5);
  border-top: 1px solid var(--nx-footer-hover-bg);
  font-size: 0.75rem;
  line-height: 1.6;
  color: var(--nx-footer-text);
}
.nx-footer__operator-name {
  display: block;
  font-weight: 700;
  color: var(--nx-footer-text-strong);
  letter-spacing: 0.01em;
}
.nx-footer__operator-line { display: block; }
.nx-footer__operator-line + .nx-footer__operator-line { margin-top: 2px; }

.nx-affiliate {
  display: flex;
  align-items: flex-start;
  gap: var(--nx-space-3);
  margin: 0 0 var(--nx-space-5);
  padding: var(--nx-space-3) var(--nx-space-4);
  background: color-mix(in srgb, var(--nx-accent) 7%, var(--nx-bg));
  border: 1px solid color-mix(in srgb, var(--nx-accent) 22%, transparent);
  border-radius: var(--nx-radius);
  font-size: 0.8125rem;
  line-height: 1.5;
  color: var(--nx-text);
}
.nx-affiliate__icon {
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  margin-top: 1px;
  color: var(--nx-accent);
}
.nx-affiliate__icon svg { width: 100%; height: 100%; display: block; }
.nx-affiliate__text { margin: 0; }
.nx-affiliate__text strong { font-weight: 700; }

.nx-post__content .nx-affiliate { margin-top: 1.4em; margin-bottom: 1.4em; }

.nx-author__role {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--nx-accent);
  margin: 0;
}
.nx-author__socials {
  display: flex;
  flex-wrap: wrap;
  gap: var(--nx-space-2);
  margin-top: var(--nx-space-2);
}
.nx-author__social {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 3px 10px;
  border-radius: var(--nx-radius-pill);
  background: var(--nx-bg);
  border: 1px solid var(--nx-border-soft);
  font-size: 0.75rem;
  color: var(--nx-text-muted);
  transition: border-color 120ms ease, color 120ms ease;
}
.nx-author__social:hover {
  border-color: var(--nx-border);
  color: var(--nx-accent);
  text-decoration: none;
}

.nx-author-hero {
  display: flex;
  align-items: center;
  gap: var(--nx-space-4);
  background: var(--nx-surface);
  padding: var(--nx-space-5);
}
.nx-author-hero__avatar {
  flex-shrink: 0;
  width: 72px;
  height: 72px;
  border-radius: 50%;
  overflow: hidden;
  background: var(--nx-border-soft);
}
.nx-author-hero__avatar img { width: 100%; height: 100%; object-fit: cover; display: block; }
.nx-author-hero__name { font-size: 1.375rem; line-height: 1.2; margin: 0; letter-spacing: -0.015em; }
.nx-author-hero__role { font-size: 0.8125rem; font-weight: 600; color: var(--nx-accent); margin: 2px 0 0; }
.nx-author-hero__bio { margin: var(--nx-space-2) 0 0; font-size: 0.9375rem; color: var(--nx-text-muted); line-height: 1.5; }
@media (min-width: 768px) {
  .nx-author-hero {
    background: transparent;
    padding: var(--nx-space-6) 0 var(--nx-space-5);
  }
  .nx-author-hero__avatar { width: 88px; height: 88px; }
  .nx-author-hero__name { font-size: 1.75rem; }
}

.nx-consent {
  position: fixed;
  left: 50%;
  bottom: 16px;
  transform: translateX(-50%);
  z-index: 1000;
  width: calc(100% - 24px);
  max-width: 680px;
  display: none;            
  flex-direction: column;
  gap: var(--nx-space-3);
  padding: var(--nx-space-4) var(--nx-space-5);
  background: var(--nx-surface);
  color: var(--nx-text);
  border: 1px solid var(--nx-border);
  border-radius: var(--nx-radius);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.12), 0 2px 6px rgba(0, 0, 0, 0.08);
}
.nx-consent.is-visible { display: flex; }
.nx-consent__text { margin: 0; font-size: 0.8125rem; line-height: 1.55; color: var(--nx-text-muted); }
.nx-consent__text a { font-weight: 600; }
.nx-consent__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--nx-space-2);
  justify-content: flex-end;
}
.nx-consent__btn {
  padding: 8px 16px;
  border-radius: var(--nx-radius);
  font-size: 0.8125rem;
  font-weight: 600;
  cursor: pointer;
  border: 1px solid var(--nx-border);
  background: var(--nx-surface);
  color: var(--nx-text);
  transition: filter 120ms ease, background-color 120ms ease;
}
.nx-consent__btn--accept {
  background: var(--nx-accent);
  border-color: var(--nx-accent);
  color: #fff;
}
.nx-consent__btn--accept:hover { filter: brightness(0.94); }
.nx-consent__btn--reject:hover { background: var(--nx-bg); }
@media (min-width: 560px) {
  .nx-consent { flex-direction: row; align-items: center; }
  .nx-consent__text { flex: 1; }
  .nx-consent__actions { flex-shrink: 0; }
}

.nx-about__lead {
  font-size: 1.1875rem;
  line-height: 1.55;
  font-weight: 500;
  color: var(--nx-text);
  margin: 0 0 1.4em;
}
@media (min-width: 768px) {
  .nx-about__lead { font-size: 1.3125rem; }
}
.nx-about__facts {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--nx-space-3);
  margin: var(--nx-space-6) 0;
  padding: 0;
  list-style: none;
}
@media (min-width: 640px) {
  .nx-about__facts { grid-template-columns: repeat(2, 1fr); }
}
.nx-about__fact {
  padding: var(--nx-space-4);
  background: var(--nx-bg);
  border: 1px solid var(--nx-border-soft);
  border-radius: var(--nx-radius);
}
.nx-about__fact-label {
  display: block;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: var(--nx-accent);
  margin-bottom: 4px;
}
.nx-about__fact-value { font-size: 0.9375rem; color: var(--nx-text); }

.nx-badge--cat { background: var(--nx-cat); color: #fff; }
.nx-badge--cat:hover { filter: brightness(0.94); color: #fff; }

.nx-post-card__accent { display: block; height: 4px; background: var(--nx-cat); }

.nx-post-card--text .nx-post-card__body,
.nx-post-card--color .nx-post-card__body,
.nx-post-card--outline .nx-post-card__body {
  padding: var(--nx-space-5);
  gap: var(--nx-space-3);
}
.nx-post-card--text .nx-post-card__title,
.nx-post-card--color .nx-post-card__title,
.nx-post-card--outline .nx-post-card__title { font-size: 1.125rem; }
.nx-post-card--text .nx-post-card__excerpt,
.nx-post-card--color .nx-post-card__excerpt,
.nx-post-card--outline .nx-post-card__excerpt {
  -webkit-line-clamp: 3;
  font-size: 0.875rem;
}

.nx-post-card--outline .nx-post-card__accent { display: none; }
.nx-post-card--outline { border-left: 4px solid var(--nx-cat); }
.nx-post-card--outline .nx-badge--cat {
  background: transparent;
  color: var(--nx-cat);
  box-shadow: inset 0 0 0 1px var(--nx-cat);
}

.nx-post-card--color .nx-post-card__accent { display: none; }
.nx-post-card--color { background: var(--nx-cat); }
.nx-post-card--color .nx-post-card__title a { color: #fff; }
.nx-post-card--color .nx-post-card__title a:hover { color: #fff; opacity: 0.9; }
.nx-post-card--color .nx-post-card__excerpt { color: rgba(255, 255, 255, 0.92); }
.nx-post-card--color .nx-post-card__meta {
  color: rgba(255, 255, 255, 0.82);
  border-top-color: rgba(255, 255, 255, 0.28);
}
.nx-post-card--color .nx-badge--cat { background: rgba(255, 255, 255, 0.22); color: #fff; }
@media (min-width: 640px) {
  .nx-post-card--color { border-color: transparent; }
}

.nx-hero--text,
.nx-hero--color,
.nx-hero--outline { grid-template-columns: 1fr; }
.nx-hero__accent { display: block; height: 5px; background: var(--nx-cat); }
.nx-hero--outline .nx-hero__accent,
.nx-hero--color .nx-hero__accent { display: none; }
.nx-hero--color { background: var(--nx-cat); }
.nx-hero--color .nx-hero__title a,
.nx-hero--color .nx-hero__excerpt { color: #fff; }
.nx-hero--color .nx-hero__title a:hover { color: #fff; opacity: 0.92; }
.nx-hero--color .nx-hero__meta,
.nx-hero--color .nx-hero__meta a { color: rgba(255, 255, 255, 0.85); }
.nx-hero--color .nx-hero__meta { border-top-color: rgba(255, 255, 255, 0.25); }
.nx-hero--color .nx-hero__author { color: #fff !important; }
.nx-hero--color .nx-badge--cat { background: rgba(255, 255, 255, 0.22); color: #fff; }
.nx-hero--color .nx-btn { background: #fff; color: var(--nx-cat); }
.nx-hero--color .nx-btn:hover { filter: none; opacity: 0.92; }
@media (min-width: 768px) {
  .nx-hero--color { border-color: transparent; }
  .nx-hero--outline { border-left: 5px solid var(--nx-cat); }
}

.nx-headline--text { border-left: 3px solid var(--nx-cat); }

.nx-featured__stack {
  display: flex;
  flex-direction: column;
  gap: var(--nx-space-4);
  min-width: 0;
}

.nx-pagination { margin-top: var(--nx-space-8); text-align: center; }
.nx-pagination .nav-links { display: flex; flex-wrap: wrap; justify-content: center; gap: var(--nx-space-2); }
.nx-pagination .page-numbers {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 36px; height: 36px; padding: 0 var(--nx-space-3);
  border: 1px solid var(--nx-border); border-radius: var(--nx-radius-sm);
  background: var(--nx-surface); font-size: 0.8125rem; font-weight: 600;
  color: var(--nx-text-muted); transition: color 120ms ease, border-color 120ms ease;
}
.nx-pagination a.page-numbers:hover { color: var(--nx-accent); border-color: var(--nx-accent); text-decoration: none; }
.nx-pagination .page-numbers.current { background: var(--nx-accent); border-color: var(--nx-accent); color: #fff; }
.nx-pagination .page-numbers.dots { border-color: transparent; background: transparent; }
@media (max-width: 767px) { .nx-pagination { padding-inline: var(--nx-space-4); } }


/* ===== PPB — polimento v3 (header roxo forcado, logos, autor) ===== */
/* cabeçalho na cor da marca (vence o inline do Customizer via !important) */
.nx-header{ background:#393186 !important; color:#ffffff !important; border-top-color:#2c2668 !important; border-bottom-color:#2c2668 !important; }
.nx-nav a{ color:#ffffff !important; }
.nx-nav a:hover{ opacity:.8; }
.nx-nav .current-menu-item > a{ color:#ffffff !important; }
.nx-header__brand-text{ color:#ffffff !important; }
.nx-search-toggle{ color:#ffffff !important; }
.nx-search-toggle:hover{ background:rgba(255,255,255,.14) !important; color:#ffffff !important; }
.nx-menu-toggle{ color:#ffffff !important; }
.nx-menu-toggle__bar, .nx-menu-toggle__bar::before, .nx-menu-toggle__bar::after{ background:#ffffff !important; }
/* logo maior no cabeçalho */
.nx-header__brand .custom-logo{ height:56px !important; max-width:340px; }
/* logo maior no rodapé (coluna Sobre) */
.nx-footer__col--about .custom-logo{ height:auto; max-height:none; max-width:300px; width:100%; }
/* caixa de autor no post */
.nx-author__img{ border:3px solid var(--nx-accent); }
.nx-author__socials{ display:flex; gap:10px; margin:12px 0 6px; flex-wrap:wrap; }
.nx-author__socials a{ display:inline-flex; align-items:center; justify-content:center; width:38px; height:38px; border-radius:50%; background:#393186; color:#fff; text-decoration:none; transition:background .15s, transform .15s; }
.nx-author__socials a:hover{ background:#2c2668; transform:translateY(-2px); }
.nx-author__socials svg{ width:18px; height:18px; fill:currentColor; }

/* ===== PPB: placeholders de anúncio ===== */
.ppb-ad{ display:flex; align-items:center; justify-content:center; text-align:center; background:repeating-linear-gradient(45deg,#f4f3fb,#f4f3fb 12px,#eceaf7 12px,#eceaf7 24px); border:2px dashed #b9b4e0; color:#6f6aa0; font-weight:700; border-radius:12px; min-height:100px; margin:26px 0; padding:16px; }
.ppb-ad span{ font-size:.95rem; letter-spacing:.02em; }
.ppb-ad--content1{ min-height:120px; }
/* barra fixa */
.ppb-ad-fixed{ position:fixed; left:0; right:0; bottom:0; z-index:9998; background:#fff; border-top:1px solid #e5e7eb; box-shadow:0 -4px 18px rgba(0,0,0,.08); padding:8px 12px; display:flex; justify-content:center; }
.ppb-ad-fixed .ppb-ad{ margin:0; min-height:64px; max-width:970px; width:100%; }
.ppb-ad-fixed__close{ position:absolute; right:10px; top:-14px; width:28px; height:28px; border-radius:50%; border:1px solid #e5e7eb; background:#fff; cursor:pointer; font-size:18px; line-height:1; color:#555; }
body{ padding-bottom:96px; }
/* interstitial */
.ppb-interstitial{ position:fixed; inset:0; z-index:9999; background:rgba(20,18,50,.74); display:flex; align-items:center; justify-content:center; padding:20px; }
.ppb-interstitial[hidden]{ display:none; }
.ppb-interstitial__box{ background:#fff; border-radius:18px; padding:28px; max-width:600px; width:100%; text-align:center; box-shadow:0 24px 70px rgba(0,0,0,.4); }
.ppb-interstitial .ppb-ad{ min-height:260px; margin:0; }
.ppb-interstitial__note{ color:#8983b7; font-size:.82rem; margin:14px 0 0; }
.ppb-interstitial__btn{ display:inline-block; margin-top:16px; background:#393186; color:#fff; padding:12px 28px; border-radius:999px; font-weight:700; text-decoration:none; }
.ppb-interstitial__btn:hover{ background:#2c2668; }
/* ===== PPB: header centralizado no desktop ===== */
@media (min-width:1024px){
  .nx-header__inner{ max-width:var(--nx-container-wide); margin-inline:auto; }
}
/* ===== PPB: logo do rodapé em painel roxo ===== */
.nx-footer__brand{ display:inline-block; background:#393186; padding:16px 22px; border-radius:14px; }
.nx-footer__col--about .custom-logo{ max-width:240px; }

/* ===== PPB: header menu sem quebra (desktop) ===== */
.nx-nav a{ white-space:nowrap; }
@media (min-width:1024px){
  .nx-nav a{ font-size:.9rem; padding:10px 8px; }
  .nx-header__inner{ gap:10px; }
  .nx-header__brand .custom-logo{ height:50px !important; }
}

/* ===== PPB: layout post com barra lateral ===== */
.single .nx-container{ max-width:var(--nx-container-wide); }
.nx-post-layout{ display:flex; gap:34px; align-items:flex-start; }
.nx-post-layout > .nx-post{ flex:1 1 auto; min-width:0; margin:0; max-width:none; }
.nx-post-sidebar{ flex:0 0 322px; position:sticky; top:96px; display:flex; flex-direction:column; gap:20px; }
@media (max-width:980px){
  .single .nx-container{ max-width:var(--nx-container); }
  .nx-post-layout{ display:block; }
  .nx-post-sidebar{ position:static; margin-top:30px; }
}
.nx-side-card{ background:#fff; border:1px solid #ececf3; border-radius:16px; padding:20px; box-shadow:0 6px 22px rgba(30,30,80,.06); }
/* autora */
.nx-side-author{ text-align:center; }
.nx-side-author__photo{ width:190px; height:190px; object-fit:cover; border-radius:20px; border:4px solid #393186; box-shadow:0 8px 20px rgba(57,49,134,.22); }
.nx-side-author__socials{ display:flex; gap:9px; justify-content:center; margin:14px 0 6px; }
.nx-side-author__socials a{ display:inline-flex; align-items:center; justify-content:center; width:34px; height:34px; border-radius:50%; background:#393186; color:#fff; transition:background .15s, transform .15s; }
.nx-side-author__socials a:hover{ background:#2c2668; transform:translateY(-2px); }
.nx-side-author__socials svg{ width:16px; height:16px; fill:currentColor; }
.nx-side-author__name{ margin:6px 0 8px; font-size:1.25rem; color:#393186; }
.nx-side-author__bio{ font-size:.92rem; line-height:1.55; color:#555; margin:0; }
.nx-side-author__bio a{ color:#393186; font-weight:600; }
/* ebook */
.nx-side-ebook{ display:block; text-align:center; text-decoration:none; position:relative; overflow:hidden; }
.nx-side-ebook img{ width:100%; height:auto; border-radius:10px; display:block; }
.nx-side-ebook__tag{ position:absolute; top:12px; left:12px; background:#393186; color:#fff; font-size:.7rem; font-weight:700; letter-spacing:.1em; text-transform:uppercase; padding:4px 10px; border-radius:999px; z-index:2; }
.nx-side-ebook__btn{ display:block; margin-top:14px; background:#393186; color:#fff; font-weight:700; padding:11px 16px; border-radius:999px; transition:background .15s; }
.nx-side-ebook:hover .nx-side-ebook__btn{ background:#2c2668; }
/* visitantes */
.nx-side-visits{ text-align:center; background:linear-gradient(135deg,#393186,#5a4fb3); border:none; color:#fff; }
.nx-side-visits__label{ display:block; font-size:.78rem; letter-spacing:.14em; text-transform:uppercase; opacity:.85; }
.nx-side-visits__count{ display:block; font-size:2.1rem; font-weight:800; margin-top:4px; letter-spacing:.02em; }

/* ===== PPB: comentários ===== */
.nx-comments{ margin-top:34px; }
.nx-comments__title{ font-size:1.35rem; color:#111827; margin:0 0 18px; padding-bottom:10px; border-bottom:2px solid #ececf3; }
.nx-comments__list{ list-style:none; margin:0 0 26px; padding:0; }
.nx-comments__list .comment{ margin:0 0 16px; }
.nx-comments__list .comment-body{ background:#faf9fe; border:1px solid #ececf3; border-radius:12px; padding:16px 18px; position:relative; }
.nx-comments__list .comment .avatar{ border-radius:50%; margin-right:10px; vertical-align:middle; }
.nx-comments__list .comment-author .fn{ font-weight:700; color:#393186; font-style:normal; }
.nx-comments__list .comment-meta{ font-size:.78rem; color:#8983b7; margin:2px 0 8px; }
.nx-comments__list .comment-meta a{ color:#8983b7; }
.nx-comments__list .children{ list-style:none; margin:14px 0 0 26px; padding:0; }
.nx-comments .comment-respond{ background:#fff; border:1px solid #ececf3; border-radius:16px; padding:22px; box-shadow:0 6px 22px rgba(30,30,80,.05); }
.nx-comments .comment-reply-title{ margin:0 0 14px; color:#393186; font-size:1.2rem; }
.nx-comments .comment-form input[type=text], .nx-comments .comment-form input[type=email], .nx-comments .comment-form input[type=url], .nx-comments .comment-form textarea{ width:100%; border:1px solid #dcd9ee; border-radius:10px; padding:11px 13px; font-size:.95rem; margin-top:4px; background:#fff; }
.nx-comments .comment-form textarea{ min-height:120px; }
.nx-comments .comment-form p{ margin:0 0 14px; }
.nx-comments__submit, .nx-comments input[type=submit]{ background:#393186; color:#fff; border:none; padding:12px 26px; border-radius:999px; font-weight:700; cursor:pointer; transition:background .15s; }
.nx-comments__submit:hover, .nx-comments input[type=submit]:hover{ background:#2c2668; }
.nx-comments__closed{ color:#8983b7; font-style:italic; }


/* ===== PPB: formatos de anúncio top (fino) e square (quadrado) ===== */
.ppb-ad--top{ min-height:90px; max-width:970px; margin:14px auto 20px; }
.ppb-ad--square{ width:100%; max-width:336px; min-height:300px; margin-left:auto; margin-right:auto; }
/* mobile: centralizar autora/lateral */
@media (max-width:980px){
  .nx-post-sidebar{ align-items:stretch; }
  .nx-side-author{ text-align:center; }
  .nx-side-author__photo{ margin-left:auto; margin-right:auto; display:block; }
}

/* ===== PPB: ajustes finos (foto centralizada, home simétrica, FB, rodapé) ===== */
/* foto da autora centralizada tbm no desktop */
.nx-side-author__photo{ display:block; margin-left:auto; margin-right:auto; }
/* home: colunas hero x manchetes simétricas */
@media (min-width:1024px){
  .nx-featured{ align-items:stretch; }
  .nx-featured .nx-headlines{ height:100%; justify-content:space-between; }
}
/* card do Facebook na lateral */
.nx-side-fb{ text-align:center; }
.nx-side-fb__eyebrow{ display:block; font-size:.72rem; letter-spacing:.12em; text-transform:uppercase; color:#8983b7; font-weight:800; margin-bottom:12px; }
.nx-side-fb .fb-page{ width:100%; }
.nx-side-fb .fb-page span, .nx-side-fb iframe{ max-width:100%; }
/* rodapé: 3 colunas alinhadas (Institucional foi removida) */
@media (min-width:1024px){
  .nx-footer__cols{ grid-template-columns:1.5fr 1fr 1.4fr; }
}

/* ===== PPB: card e-book na home ===== */
.ppb-home-ebook{ margin:36px 0 12px; }
.ppb-home-ebook__inner{ display:flex; gap:34px; align-items:center; background:linear-gradient(135deg,#393186,#5a4fb3); border-radius:20px; padding:32px 36px; color:#fff; box-shadow:0 16px 40px rgba(57,49,134,.22); }
.ppb-home-ebook__cover{ width:190px; height:auto; border-radius:12px; flex:0 0 auto; box-shadow:0 10px 24px rgba(0,0,0,.28); }
.ppb-home-ebook__eyebrow{ display:inline-block; background:rgba(255,255,255,.18); color:#fff; font-size:.72rem; font-weight:800; letter-spacing:.12em; text-transform:uppercase; padding:4px 12px; border-radius:999px; }
.ppb-home-ebook__title{ margin:12px 0 8px; font-size:1.55rem; color:#fff; line-height:1.2; }
.ppb-home-ebook__text{ margin:0 0 18px; color:#ece9fb; line-height:1.55; }
.ppb-home-ebook__btn{ display:inline-block; background:#fff; color:#393186; font-weight:700; padding:12px 28px; border-radius:999px; text-decoration:none; transition:background .15s; }
.ppb-home-ebook__btn:hover{ background:#efedfb; }
@media (max-width:700px){ .ppb-home-ebook__inner{ flex-direction:column; text-align:center; padding:26px 22px; } }
/* ===== PPB: painel do logo no rodapé proporcional ===== */
.nx-footer__brand{ line-height:0; padding:16px 20px; }
.nx-footer__col--about .custom-logo{ display:block; height:auto !important; width:100%; max-width:230px; }

/* ===== PPB: botão seguir no Facebook (dentro do card da autora) ===== */
.nx-side-fbfollow{ display:flex; align-items:center; gap:11px; margin-top:16px; background:#1877F2; color:#fff; text-decoration:none; padding:10px 14px; border-radius:12px; transition:background .15s; }
.nx-side-fbfollow:hover{ background:#0f5cd6; }
.nx-side-fbfollow svg{ width:24px; height:24px; fill:#fff; flex:0 0 auto; }
.nx-side-fbfollow__info{ font-size:.82rem; line-height:1.2; text-align:left; flex:1; }
.nx-side-fbfollow__info strong{ display:block; font-size:1.05rem; }
.nx-side-fbfollow__cta{ background:rgba(255,255,255,.22); padding:6px 13px; border-radius:999px; font-size:.8rem; font-weight:700; flex:0 0 auto; }

/* ===== PPB: card e-book da lateral mais apresentável ===== */
.nx-side-ebook{ overflow:visible; padding:18px; }
.nx-side-ebook__tag{ position:static; display:inline-block; margin:0 0 12px; }
.nx-side-ebook img{ width:auto; max-width:200px; margin:0 auto 14px; box-shadow:0 8px 20px rgba(57,49,134,.18); }
.nx-side-ebook__btn{ margin-top:4px; }

/* ===== PPB: compactar card autora + e-book maior + subir lateral ===== */
.nx-post-sidebar{ top:80px; gap:18px; }
.nx-side-card{ padding:18px; }
.nx-side-author__photo{ width:150px; height:150px; }
.nx-side-author__socials{ margin:12px 0 4px; }
.nx-side-author__name{ margin:4px 0 6px; font-size:1.18rem; }
.nx-side-author__bio{ font-size:.88rem; line-height:1.5; }
.nx-side-fbfollow{ margin-top:12px; padding:9px 12px; }
.nx-side-ebook{ padding:16px; }
.nx-side-ebook__tag{ margin:0 0 10px; }
.nx-side-ebook img{ max-width:240px; margin:0 auto 12px; }

/* ===== PPB: reduzir espaço entre os cards da lateral ===== */
.nx-post-sidebar{ gap:12px; }

/* ===== PPB: posições de anúncio (módulo ppb_slot) ===== */
body{ padding-bottom:0; }
body.ppb-has-bar{ padding-bottom:70px; }
@media (min-width:768px){ body.ppb-has-bar{ padding-bottom:110px; } }
.ppb-slot{ display:flex; flex-direction:column; align-items:center; margin:16px auto 22px; text-align:center; clear:both; }
.ppb-slot__label{ font-size:.66rem; letter-spacing:.14em; text-transform:uppercase; color:#9a96bf; margin-bottom:4px; }
.ppb-slot__unit{ display:flex; justify-content:center; max-width:100%; overflow:hidden; }
.ppb-slot--top .ppb-slot__unit{ min-height:50px; }
@media (min-width:768px){ .ppb-slot--top .ppb-slot__unit{ min-height:90px; } }
.ppb-slot--square .ppb-slot__unit{ min-height:250px; }
.ppb-slot--mgid{ display:block; margin:28px 0; }
.ppb-slot--mgid .ppb-slot__label{ display:block; text-align:left; }
.ppb-box{ display:flex; align-items:center; justify-content:center; text-align:center; background:repeating-linear-gradient(45deg,#f4f3fb,#f4f3fb 12px,#eceaf7 12px,#eceaf7 24px); border:2px dashed #b9b4e0; color:#6f6aa0; font-weight:700; border-radius:12px; min-height:90px; width:100%; margin:14px auto 20px; }
.ppb-box span{ font-size:.95rem; letter-spacing:.02em; }
.ppb-box--square{ max-width:336px; min-height:280px; }
.ppb-box--top{ max-width:970px; }
.ppb-box--mgid{ min-height:220px; margin:0; }
.ppb-bar{ position:fixed; left:0; right:0; bottom:0; z-index:9998; background:#fff; border-top:1px solid #e5e7eb; box-shadow:0 -4px 18px rgba(0,0,0,.08); padding:4px 8px; display:flex; justify-content:center; }
.ppb-bar .ppb-slot{ margin:0; }
.ppb-bar .ppb-slot__label{ display:none; }
.ppb-bar .ppb-box{ margin:0; min-height:50px; max-width:728px; }
.ppb-bar .ppb-slot__unit{ min-height:50px; }
@media (min-width:768px){ .ppb-bar .ppb-slot__unit{ min-height:90px; } }
.ppb-bar__close{ position:absolute; right:10px; top:-14px; width:28px; height:28px; border-radius:50%; border:1px solid #e5e7eb; background:#fff; cursor:pointer; font-size:18px; line-height:1; color:#555; }
body.ppb-has-bar .nx-consent{ bottom:68px !important; z-index:9999; }
@media (min-width:768px){ body.ppb-has-bar .nx-consent{ bottom:108px !important; } }
.nx-comments .comment-content, .nx-comments .comment-content p{ overflow-wrap:anywhere; word-break:break-word; }

/* ppb: adsense responsivo precisa de largura */
.ppb-slot > ins.adsbygoogle:not(.ppb-fixed-unit){ width:100%; max-width:100%; }
.ppb-slot--square > ins.adsbygoogle{ min-height:250px; }

/* ppb: blocos do Ad Inserter */
.ppb-slot > .code-block{ width:100%; text-align:center; }
.ppb-slot > .code-block > ins.adsbygoogle:not(.ppb-fixed-unit){ width:100%; }
/* anúncio nunca sai da coluna do texto */
.nx-post .ppb-slot, .nx-post .code-block, .nx-post .ppb-mgid{ max-width:100%; overflow:hidden; box-sizing:border-box; }
.nx-post .ppb-slot ins.adsbygoogle, .nx-post .ppb-slot iframe{ max-width:100% !important; }

/* ppb: esconder espaço sem anúncio */
.ppb-slot:has(ins.adsbygoogle[data-ad-status^="unfill"]),
.ppb-bar:has(ins.adsbygoogle[data-ad-status^="unfill"]){ display:none !important; }
body.ppb-has-bar:has(.ppb-bar ins.adsbygoogle[data-ad-status^="unfill"]){ padding-bottom:0 !important; }
