/* =============================================================
   ROLESPINHO — site.css
   Ordem das secções:
   1. Variáveis e reset
   2. Layout base (container, main, content)
   3. Navegação (header, nav, hamburger)
   4. Footer
   5. Animações
   6. CMS / overflow safety
   7. Paginação
   8. Breadcrumbs
   9. Marcas (/marcas listagem + detalhe)
  10. Sobre Nós (timeline zig-zag)
  11. Produtos (grid + cards rp-card)
  12. Cards cat-card + rsx-card (Produtos e Catálogos)
  13. Catálogos — override para contexto .rsx
  14. WYSIWYG (.rp-wysiwyg)
  15. Tabelas utilitárias (rp-table, cer-table, wide-table)
  16. Classes utilitárias de células (td-*)
  17. Blocos de conteúdo (rp-blocks, rp-block-*)
  18. CER — filtros
  19. NTN Linear (hero, guias, cargas, search)
   ============================================================= */


/* ─────────────────────────────────────────────────────────────
   1. VARIÁVEIS E RESET
   ───────────────────────────────────────────────────────────── */

:root {
  --brand: #4B0082;
  --brand-600: #5e12a3;
  --accent: #f59e0b;
  --link: #1f2937;
  --text: #111827;
  --muted: #6b7280;
  --bg: #f8fafc;
  --surface: #ffffff;
  --border: #e5e7eb;
  --active: #112a8e;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--text);
  font: 16px/1.55 ui-sans-serif, system-ui, -apple-system, 'Segoe UI', Roboto, Ubuntu, 'Helvetica Neue', 'Noto Sans';
  overflow-x: hidden;
}

a { color: var(--link); text-decoration: none; }


/* ─────────────────────────────────────────────────────────────
   2. LAYOUT BASE
   ───────────────────────────────────────────────────────────── */

.container {
  max-width: 1560px;
  margin: 0 auto;
  padding: 0 18px;
}

main { padding: 40px 0; }
main.main-no-gap { padding: 0; }

.content {
  padding: 0;
  max-width: 100%;
  overflow-x: hidden;
}

/* Full-bleed (banner/hero dentro do container) */
.rp-fullbleed {
  width: 100vw;
  max-width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
}

.rp-fullbleed.rp-banner { display: block; width: 100%; }
.rp-fullbleed .rp-banner__slides { width: 100%; }
.rp-fullbleed .rp-banner__slide { width: 100%; }
.rp-fullbleed .rp-banner__bg,
.rp-fullbleed .rp-banner__bg img {
  display: block;
  width: 100%;
  max-width: 100%;
}


/* ─────────────────────────────────────────────────────────────
   3. NAVEGAÇÃO
   ───────────────────────────────────────────────────────────── */

.topbar {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255,255,255,0.92);
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.nav {
  display: flex;
  align-items: center;
  gap: 20px;
  height: 68px;
  position: relative;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--brand);
  font-weight: 800;
  letter-spacing: .2px;
}

.spacer { flex: 1; }

.menu {
  display: flex;
  gap: 8px;
  align-items: center;
}

.menu a {
  display: inline-block;
  padding: 10px 16px;
  border-radius: 12px;
  line-height: 1;
  font-weight: 600;
  color: #1f2937;
  background: rgba(17,42,142,.10);
  border: 1px solid #e5e7eb;
  transition: .18s background, .18s color, .18s border-color, .18s box-shadow;
}
.menu a:hover { background: rgba(17,42,142,.18); border-color: #d1d5db; }
.menu a.active { background: var(--active); color: #fff; border-color: transparent; }

.hamb {
  display: none !important;
  border: 1px solid var(--border);
  background: var(--surface);
  border-radius: 10px;
  padding: 8px 10px;
}
.hamb span {
  display: block;
  width: 22px;
  height: 2px;
  background: #1f2937;
  margin: 4px 0;
  border-radius: 2px;
}

@media (max-width: 880px) {
  .menu {
    display: none;
    position: absolute;
    top: 68px;
    left: 0;
    right: 0;
    background: var(--surface);
    border-bottom: 1px solid var(--border);
    padding: 10px 16px;
    flex-direction: column;
    gap: 6px;
    z-index: 60;
  }
  .menu.open { display: flex; }
  .hamb { display: inline-block !important; }
  .spacer { flex: 0; }
}


/* ─────────────────────────────────────────────────────────────
   4. FOOTER
   ───────────────────────────────────────────────────────────── */

footer {
  background: var(--surface);
  border-top: 1px solid var(--border);
  margin-top: 60px;
}

footer, footer a, footer li {
  font-family: inherit;
  font-size: 15px;
  line-height: 1.55;
  color: var(--muted);
}

.foot-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
  padding: 40px 0;
  align-items: flex-start;
}

.foot-title { font-weight: 700; margin: 0 0 10px; font-size: 16px; color: #111827; }
.foot-text { font-size: 15px; line-height: 1.55; color: var(--muted); margin: 0 0 12px; }

.foot-list, .footer-contact-list { list-style: none; padding: 0; margin: 0; }
.foot-list li, .footer-contact-list li { margin-bottom: 8px; }
.footer-contact-list strong { color: #111827; font-weight: 600; }

.footer-iso { margin-top: 12px; display: flex; gap: 12px; align-items: center; }
.footer-iso img { height: 66px; width: auto; display: block; }

.social-list { list-style: none; padding: 0; margin: 0; }
.social-list li { margin-bottom: 20px; }
.social-btn { display: inline-block; }
.social-btn img { width: 140px; height: auto; display: block; }

.foot-copy {
  border-top: 1px solid var(--border);
  padding: 12px 0;
  text-align: right;
  font-size: 14px;
  color: var(--muted);
}

.foot-accordion-toggle { display: none; }

@media (max-width: 900px) {
  .foot-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; }
}

@media (max-width: 880px) {
  .foot-grid { grid-template-columns: 1fr; gap: 18px; padding: 24px 0; }
  .foot-col { padding: 6px 0; border-bottom: 1px solid #e5e7eb; }
  .foot-col--accordion .foot-title { display: none; }
  .foot-accordion-toggle {
    display: flex;
    width: 100%;
    align-items: center;
    justify-content: space-between;
    padding: 8px 0;
    background: none;
    border: none;
    font: inherit;
    cursor: pointer;
    color: #111827;
    font-weight: 700;
    text-align: left;
  }
  .foot-accordion-icon { font-size: 14px; transform: rotate(0deg); transition: transform .2s ease; }
  .foot-col--accordion .foot-body { display: none; padding-bottom: 8px; }
  .foot-col--accordion.is-open .foot-body { display: block; }
  .foot-col--accordion.is-open .foot-accordion-icon { transform: rotate(180deg); }
}

@media (max-width: 600px) {
  .foot-grid { padding-left: 18px; padding-right: 18px; }
  .foot-col { padding-left: 4px; padding-right: 4px; }
}


/* ─────────────────────────────────────────────────────────────
   5. ANIMAÇÕES
   ───────────────────────────────────────────────────────────── */

.rp-animate-up {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .45s ease, transform .45s ease;
  will-change: opacity, transform;
}
.rp-animate-up.is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  .rp-animate-up { opacity: 1 !important; transform: none !important; transition: none !important; }
}


/* ─────────────────────────────────────────────────────────────
   6. CMS / OVERFLOW SAFETY
   ───────────────────────────────────────────────────────────── */

.cms-content { max-width: 100%; overflow-wrap: anywhere; word-break: break-word; }

.cms-content img,
.cms-content iframe,
.cms-content video,
.cms-content svg { max-width: 100%; height: auto; }

.cms-content pre { max-width: 100%; overflow-x: auto; -webkit-overflow-scrolling: touch; }

.table-scroll {
  width: 100%;
  max-width: 100%;
  overflow-x: visible;
  overflow-y: visible;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior-x: contain;
}
.table-scroll > table { width: max-content; min-width: 100%; border-collapse: collapse; }

.cms-content > table { display: block; max-width: 100%; overflow-x: auto; -webkit-overflow-scrolling: touch; }


/* ─────────────────────────────────────────────────────────────
   7. PAGINAÇÃO
   ───────────────────────────────────────────────────────────── */

.rp-pagination {
  display: flex;
  justify-content: center;
  margin: 16px 0 0;
  padding: 6px 10px;
}

.rp-pagination__list {
  display: flex;
  gap: 10px;
  list-style: none;
  margin: 0;
  padding: 0;
  flex-wrap: nowrap;
}

.rp-pagination__item { flex: 0 0 auto; }

.rp-pagination__link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 40px;
  padding: 0 12px;
  border-radius: 10px;
  border: 1px solid rgba(0,0,0,.12);
  background: #fff;
  color: #112A8E;
  font-weight: 700;
  text-decoration: none;
  user-select: none;
}
.rp-pagination__link.is-active { background: #112A8E; color: #fff; border-color: #112A8E; }
.rp-pagination__link.is-disabled { opacity: .45; cursor: not-allowed; }

.rp-pagination__list--mobile { display: none; }

@media (max-width: 767px) {
  .rp-pagination__list--desktop { display: none; }
  .rp-pagination__list--mobile { display: flex; justify-content: center; gap: 8px; flex-wrap: nowrap; }
  .rp-pagination { overflow-x: hidden; justify-content: center; }
  .rp-pagination__link { min-width: 36px; height: 36px; padding: 0 10px; border-radius: 9px; }
}


/* ─────────────────────────────────────────────────────────────
   8. BREADCRUMBS
   ───────────────────────────────────────────────────────────── */

.rp-bc { margin: 0 0 10px; }

.rp-bc__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  align-items: center;
  font-size: 16px;
  line-height: 1.3;
  color: #6b7280;
}

.rp-bc__item { display: inline-flex; align-items: center; gap: 6px; }
.rp-bc__item a { color: #6b7280; text-decoration: none; }
.rp-bc__item a:hover { color: #111827; text-decoration: underline; text-underline-offset: 2px; }
.rp-bc__sep { color: #cbd5e1; }
.rp-bc__item [aria-current="page"] { color: #111827; font-weight: 600; }


/* ─────────────────────────────────────────────────────────────
   9. MARCAS (/marcas listagem + detalhe)
   ───────────────────────────────────────────────────────────── */

/* Grid */
.rp-brands-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 18px;
  margin-top: 18px;
}

.rp-brands-grid--cards {
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
}

/* Cards base */
.rp-brand-card,
.rp-brand-card--full {
  display: flex;
  flex-direction: column;
  border: 1px solid rgba(0,0,0,.10);
  border-radius: 12px;
  background: #fff;
}
.rp-brand-card:hover,
.rp-brand-card--full:hover { border-color: rgba(0,0,0,.18); transform: translateY(-1px); }

/* Card simples */
.rp-brand-card {
  align-items: center;
  justify-content: space-between;
  min-height: 140px;
  padding: 18px;
  text-decoration: none;
}
.rp-brand-card img { max-height: 56px; max-width: 140px; width: auto; height: auto; object-fit: contain; }
.rp-brand-name { margin-top: 12px; font-size: 14px; opacity: .85; text-align: center; }

/* Card com descrição */
.rp-brand-card--full { gap: 10px; min-height: 220px; padding: 18px; }
.rp-brand-card__logo { display: flex; align-items: center; justify-content: center; min-height: 86px; text-decoration: none; }
.rp-brand-card__logo img { max-height: 64px; max-width: 200px; width: auto; height: auto; object-fit: contain; }
.rp-brand-card__title { font-size: 16px; margin: 0; }
.rp-brand-card__excerpt { margin: 8px 0 0; opacity: .85; line-height: 1.35; }
.rp-brand-card__more { display: inline-block; margin-top: 10px; text-decoration: none; font-weight: 600; }

/* A–Z */
.rp-az { display: flex; flex-wrap: wrap; gap: 8px; margin: 14px 0 8px; }
.rp-az__item {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 34px;
  height: 34px;
  padding: 0 10px;
  border: 1px solid rgba(0,0,0,.10);
  border-radius: 999px;
  text-decoration: none;
}
.rp-az__item.is-active { border-color: rgba(0,0,0,.25); font-weight: 600; }
.rp-az__hint { margin: 8px 0 12px; opacity: .85; }

/* Detalhe da marca — desktop */
.rp-brand-detail {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  gap: 28px;
  align-items: start;
}

.rp-brand-detail__back { display: inline-block; margin-bottom: 14px; text-decoration: none; font-weight: 600; }

.rp-brand-detail__media {
  position: sticky;
  top: 18px;
  max-width: 260px;
  padding-top: 40px;
  overflow: hidden;
}

.rp-brand-detail__logoBox {
  width: 100%;
  height: 260px;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}

.rp-brand-detail__logoBox img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  display: block;
}

.rp-brand-detail__logo { max-width: 220px; max-height: 80px; width: auto; height: auto; object-fit: contain; }
.rp-brand-detail__title { margin: 0 0 10px; }
.rp-brand-detail__excerpt { margin: 0 0 14px; opacity: .85; }

.rp-brand-detail__body p,
.rp-brand-detail__body ul,
.rp-brand-detail__body ol { margin: 0 0 12px; }
.rp-brand-detail__body ul,
.rp-brand-detail__body ol { padding-left: 18px; }
.rp-brand-detail__body iframe { max-width: 100%; }

/* Marca — mobile (bloco único consolidado) */
@media (max-width: 900px) {
  .rp-brand-detail {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .rp-brand-detail__back { margin-bottom: 6px; }

  .rp-brand-detail__media {
    position: relative;
    top: auto;
    max-width: none;
    padding-top: 12px;
    overflow: visible;
    display: flex;
    justify-content: center;
    margin: 0 0 8px 0;
  }

  .rp-brand-detail__logoBox {
    height: auto;
    min-height: 0;
    align-items: center;
    padding-top: 28px;
  }

  .rp-brand-detail__logo {
    max-width: 240px;
    max-height: 90px;
    width: 100%;
    height: auto;
    display: block;
  }

  .rp-brand-detail__body img {
    display: block;
    margin: 12px auto;
    max-width: 320px;
    width: 100%;
    height: auto;
  }

  .rp-brand-detail__body figure { margin: 12px auto; text-align: center; }
}


/* ─────────────────────────────────────────────────────────────
   10. SOBRE NÓS (timeline zig-zag)
   ───────────────────────────────────────────────────────────── */

.rp-about-page h1 { margin: 0 0 16px; }

/* Hero */
.rp-about-hero {
  margin: 6px 0 26px;
  border: 1px solid rgba(0,0,0,.06);
  border-radius: 18px;
  background:
    radial-gradient(900px 220px at 20% 10%, rgba(17,42,142,.10), transparent 60%),
    radial-gradient(800px 220px at 80% 30%, rgba(17,42,142,.08), transparent 60%),
    #fff;
  box-shadow: 0 16px 34px rgba(0,0,0,.06);
}

.rp-about-hero__inner {
  padding: 22px;
  display: grid;
  grid-template-columns: 1.35fr .65fr;
  gap: 18px;
  align-items: center;
}

.rp-about-hero__lead { margin: 0 0 8px; font-size: 1.05rem; line-height: 1.7; color: rgba(0,0,0,.88); }
.rp-about-hero__sub { margin: 0; color: rgba(0,0,0,.72); line-height: 1.65; }

.rp-about-hero__stats { display: grid; grid-template-columns: 1fr; gap: 10px; }

.rp-stat { background: rgba(17,42,142,.06); border: 1px solid rgba(17,42,142,.12); border-radius: 14px; padding: 12px 14px; }
.rp-stat__kpi { font-weight: 800; color: #112A8E; font-size: 1.05rem; line-height: 1.2; }
.rp-stat__lbl { color: rgba(0,0,0,.70); font-size: .92rem; margin-top: 2px; }

.rp-about-hero__media { display: flex; align-items: center; justify-content: center; }
.rp-about-hero__img { width: auto; max-width: 180px; height: auto; display: block; }

/* Timeline */
.rp-zig { position: relative; margin: 18px 0 10px; padding: 10px 0 6px; border-radius: 18px; }

.rp-zig__row {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 140px minmax(0, 1fr);
  gap: 18px;
  padding: 14px 0;
}

.rp-zig__side { min-width: 0; }
.rp-zig__side--left { grid-column: 1; }
.rp-zig__side--right { grid-column: 3; }

.rp-zig__mid { grid-column: 2; position: relative; display: flex; align-items: center; justify-content: center; }

.rp-zig__stem {
  position: absolute;
  top: -14px;
  bottom: -14px;
  left: 50%;
  width: 2px;
  transform: translateX(-50%);
  background: linear-gradient(to bottom, rgba(17,42,142,.10), rgba(17,42,142,.22), rgba(17,42,142,.10));
  z-index: 0;
}

.rp-zig__midwrap { position: relative; z-index: 2; display: inline-flex; align-items: center; }

.rp-zig__badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 12px;
  border-radius: 999px;
  font-weight: 700;
  color: #112A8E;
  background: #fff;
  border: 1px solid rgba(17,42,142,.18);
  box-shadow: 0 12px 26px rgba(0,0,0,.06);
  white-space: nowrap;
}

.rp-zig__card {
  position: relative;
  z-index: 3;
  background: #fff;
  border: 1px solid rgba(0,0,0,.08);
  border-radius: 14px;
  padding: 16px 18px;
  max-width: 520px;
  box-shadow: 0 12px 30px rgba(0,0,0,.06);
  transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease;
}
.rp-zig__card:hover { transform: translateY(-1px); box-shadow: 0 16px 40px rgba(0,0,0,.08); border-color: rgba(0,0,0,.12); }

.rp-zig__title { margin: 0 0 8px; font-size: 1.12rem; }

/* alternância esquerda/direita */
.rp-zig__row.is-left  .rp-zig__side--right .rp-zig__card { display: none; }
.rp-zig__row.is-right .rp-zig__side--left  .rp-zig__card { display: none; }
.rp-zig__row.is-left  .rp-zig__card { text-align: right; margin-left: auto; }
.rp-zig__row.is-right .rp-zig__card { text-align: left;  margin-right: auto; }

/* Corpo expansível */
.rp-zig__body { overflow: hidden; max-height: 3.2em; transition: max-height .35s ease; }
.rp-zig__text {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin: 0;
  line-height: 1.65;
  color: rgba(0,0,0,.80);
}
.rp-zig__card.is-open .rp-zig__body { max-height: 2000px; }
.rp-zig__card.is-open .rp-zig__text { -webkit-line-clamp: unset; }

.rp-zig__toggle {
  margin-top: 12px;
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 600;
  color: #112A8E;
}
.rp-zig__toggle-icon { transition: transform .25s ease; font-size: 14px; }
.rp-zig__card.is-open .rp-zig__toggle-icon { transform: rotate(180deg); }

/* Imagens */
.rp-zig__figure { margin: 14px 0 0; }
.rp-zig__figure img { display: block; width: 100%; max-width: 100%; height: auto; border-radius: 12px; object-fit: cover; }

/* CTA */
.rp-about-cta { margin: 28px 0 0; padding: 18px 0 0; }
.rp-about-cta__inner {
  border: 1px solid rgba(0,0,0,.06);
  background: #fff;
  border-radius: 18px;
  padding: 18px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 14px;
  align-items: center;
  box-shadow: 0 16px 34px rgba(0,0,0,.06);
}
.rp-about-cta__title { margin: 0 0 6px; font-size: 1.18rem; }
.rp-about-cta__text { margin: 0; color: rgba(0,0,0,.72); }
.rp-about-cta__actions { display: flex; gap: 10px; flex-wrap: wrap; justify-content: flex-end; }

.rp-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 14px;
  border-radius: 12px;
  font-weight: 700;
  border: 1px solid rgba(0,0,0,.10);
  text-decoration: none;
  line-height: 1;
}
.rp-btn--primary { background: #fff; color: #112A8E; border-color: #fff; }
.rp-btn--primary:hover { background: rgba(255,255,255,.88); }
.rp-btn--secondary { background: transparent; color: #fff; border-color: rgba(255,255,255,.65); }
.rp-btn--secondary:hover { background: rgba(255,255,255,.12); border-color: #fff; }
.rp-btn--ghost { background: rgba(17,42,142,.06); color: #112A8E; border-color: rgba(17,42,142,.14); }

/* Sobre Nós — mobile */
@media (max-width: 900px) {
  .rp-about-hero { border-radius: 16px; }
  .rp-about-hero__inner { grid-template-columns: 1fr; }
  .rp-about-hero__img { max-width: 140px; margin-top: 10px; }

  .rp-zig__row { grid-template-columns: 1fr; gap: 10px; padding: 14px 0 18px; }
  .rp-zig__mid { grid-column: 1; justify-content: center; margin: 6px 0 10px; order: 1; }
  .rp-zig__stem { top: -12px; bottom: -12px; }
  .rp-zig__side { grid-column: 1; order: 2; }
  .rp-zig__row.is-left  .rp-zig__side--right { display: none; }
  .rp-zig__row.is-right .rp-zig__side--left { display: none; }
  .rp-zig__card { max-width: 560px; width: 100%; margin: 0 auto; text-align: left; padding: 16px; }
  .rp-zig__figure img { max-height: 260px; object-fit: cover; }

  .rp-about-cta__inner { grid-template-columns: 1fr; }
  .rp-about-cta__actions { justify-content: flex-start; }
}


/* ─────────────────────────────────────────────────────────────
   11. PRODUTOS (grid + cards rp-card)
   ───────────────────────────────────────────────────────────── */

.rp-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}
@media (max-width: 1200px) { .rp-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 980px)  { .rp-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px)  { .rp-grid { grid-template-columns: 1fr; } }

.rp-card {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.10);
  background: rgba(255,255,255,.03);
  transition: transform .12s ease, border-color .12s ease, background .12s ease;
  min-height: 290px;
}

.rp-card__head { padding: 12px 14px; font-weight: 800; font-size: 14px; letter-spacing: .2px; background: rgba(255,255,255,.05); }
.rp-card__title { line-height: 1.25; }
.rp-card__body { padding: 14px; display: flex; flex-direction: column; gap: 12px; flex: 1; }

/* Layout topo do card (imagem | links) */
.rp-card__top {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 24px;
  align-items: start;
}

.rp-card__media { display: flex; flex-direction: column; align-items: center; }

.rp-card__img {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px 6px;
}
.rp-card__img img { max-width: 200px; width: 100%; height: auto; object-fit: contain; display: block; }

.rp-card__links {
  align-self: start;
  padding: 6px 10px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-height: 120px;
  overflow: hidden;
}

.rp-card__sub {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.95rem;
  line-height: 1.25;
  color: #112A8E;
  text-decoration: none;
}
.rp-card__sub::before { content: "›"; font-size: 1.1rem; line-height: 1; }
.rp-card__sub:hover { text-decoration: underline; }

.rp-card__cta {
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 12px;
  border-radius: 10px;
  background: #1e40af;
  color: #fff;
  font-weight: 700;
  font-size: 13px;
  width: 100%;
}

/* Hover: desligado intencionalmente para cards de produto */
.rp-card:hover {
  transform: none;
  border-color: rgba(255,255,255,.10);
  background: rgba(255,255,255,.03);
}
.rp-card:focus { outline: 2px solid rgba(30,64,175,.65); outline-offset: 2px; }

@media (max-width: 640px) {
  .rp-card { min-height: 270px; }
  .rp-card__img img { height: 140px; max-width: 210px; }
}


/* ─────────────────────────────────────────────────────────────
   12. CARDS cat-card + rsx-card (Produtos e Catálogos)
   ───────────────────────────────────────────────────────────── */

/* Caixa exterior */
.rsx-card {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 16px;
  padding: 12px;
  box-shadow: 0 8px 24px rgba(17,42,142,.05);
  width: 100%;
  min-height: 270px;
  height: auto;
  display: block;
}

/* cat-card — estrutura base */
.cat-card {
  display: grid;
  grid-template-rows: auto 1fr auto;
  grid-template-columns: 1fr;
  gap: 12px;
  align-items: start;
  height: 100%;
}

.cat-card .card-title { grid-row: 1; text-align: center; }

.cat-card .card-middle {
  grid-row: 2;
  display: grid;
  grid-template-columns: 170px 1fr;
  gap: 16px;
  align-items: start;
  margin-top: 8px;
  margin-bottom: 8px;
}

.cat-card--leaf .card-middle { grid-template-columns: 1fr; justify-items: center; }

.cat-card .actions {
  grid-row: 3;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 12px;
}

/* Thumb */
.cat-card .thumb {
  width: 170px;
  height: 170px;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  background: #f8fafc;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.cat-card--leaf .thumb { width: 160px; height: 160px; }
.cat-card .thumb img { max-width: 100%; max-height: 100%; object-fit: contain; display: block; }

/* Thumbs uniformes na página Produtos */
.products-page .cat-card .thumb { display: flex; flex: 0 0 auto; width: 170px; height: 170px; padding: 0; overflow: hidden; border-radius: 8px; }
.products-page .cat-card .thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* Título e texto */
.cat-card .title { font-size: 18px; font-weight: 700; margin: 0; line-height: 1.2; word-break: break-word; }

/* Sub-links */
.cat-card .sub-links { margin-top: 10px; display: flex; flex-direction: column; gap: 6px; max-height: 140px; overflow: hidden; }
.cat-card .sub-links a {
  position: relative;
  display: block;
  padding-left: 14px;
  font-size: 14px;
  line-height: 1.25;
  color: #1f2937;
  text-decoration: none;
  word-break: break-word;
}
.cat-card .sub-links a::before { content: "›"; position: absolute; left: 0; top: 0.15em; color: #112A8E; font-weight: 700; }
.cat-card .sub-links a:hover { text-decoration: underline; text-underline-offset: 2px; }

/* Botão */
.cat-card .actions .btn-sm {
  padding: 8px 12px;
  font-size: 13px;
  border-radius: 8px;
  background: #112A8E;
  color: #fff;
  border: none;
  font-weight: 600;
  cursor: pointer;
}
.cat-card .actions .btn-sm:hover { background: #0d226f; }


/* ─────────────────────────────────────────────────────────────
   13. CATÁLOGOS — override para contexto .rsx
   ───────────────────────────────────────────────────────────── */

.rsx .cat-card {
  display: grid;
  grid-template-rows: auto 1fr auto;
  height: 100%;
}

.rsx .cat-card .card-middle {
  align-self: start;
  grid-template-columns: 190px 1fr;
  gap: 14px;
  align-items: start;
}

.rsx .cat-card .actions { align-self: end; margin-top: 12px; }

.rsx .cat-card .thumb { width: 190px; height: 190px; align-self: start; }
.rsx .cat-card .thumb img { width: 100%; height: 100%; object-fit: contain; }


/* ─────────────────────────────────────────────────────────────
   14. WYSIWYG (.rp-wysiwyg)
   ───────────────────────────────────────────────────────────── */

.rp-wysiwyg img { max-width: 100%; height: auto; display: block; margin: 12px 0; }

.rp-wysiwyg [style*="text-align: center"] img,
.rp-wysiwyg [align="center"] img { margin-left: auto; margin-right: auto; }

.rp-wysiwyg [style*="text-align: right"] img,
.rp-wysiwyg [align="right"] img { margin-left: auto; margin-right: 0; }

/* Posicionamento por classe */
.rp-wysiwyg img.img-left    { margin-left: 0; margin-right: auto; }
.rp-wysiwyg img.img-center  { margin-left: auto; margin-right: auto; }
.rp-wysiwyg img.img-right   { margin-left: auto; margin-right: 0; }
.rp-wysiwyg img.img-indent-1 { margin-left: 2rem; margin-right: auto; }
.rp-wysiwyg img.img-indent-2 { margin-left: 4rem; margin-right: auto; }
.rp-wysiwyg img.img-indent-3 { margin-left: 6rem; margin-right: auto; }

/* Tabelas */
.rp-wysiwyg table:not(.tg) { border-collapse: collapse; margin: 14px 0; }
:where(.rp-wysiwyg) :is(th, td) { border: 1px solid rgba(0,0,0,.14); padding: 10px; vertical-align: top; }

/* Listas */
.rp-wysiwyg ul, .rp-wysiwyg ol { padding-left: 18px; }

/* Outros */
.rp-wysiwyg iframe { max-width: 100%; }
.rp-wysiwyg p { line-height: 1.6; }
.rp-wysiwyg li { line-height: 1.5; }
.rp-wysiwyg h2, .rp-wysiwyg h3 { line-height: 1.3; margin-top: 2rem; margin-bottom: 0.75rem; }

/* Espaçadores manuais */
.rp-wysiwyg .spacer-sm { display: block; height: 1rem;  font-size: 0; line-height: 0; }
.rp-wysiwyg .spacer-md { display: block; height: 2rem;  font-size: 0; line-height: 0; }
.rp-wysiwyg .spacer-lg { display: block; height: 3rem;  font-size: 0; line-height: 0; }

.rp-wysiwyg .space-after-sm { margin-bottom: 0.5rem; }
.rp-wysiwyg .space-after-md { margin-bottom: 1rem; }
.rp-wysiwyg .space-after-lg { margin-bottom: 2rem; }

.rp-content { margin-top: 18px; }


/* ─────────────────────────────────────────────────────────────
   15. TABELAS UTILITÁRIAS (rp-table, cer-table, wide-table)
   ───────────────────────────────────────────────────────────── */

/* rp-table — base */
table.rp-table {
  width: 100%;
  border-collapse: collapse;
  table-layout: auto;
}
table.rp-table th,
table.rp-table td { padding: 8px 10px; vertical-align: middle; white-space: nowrap; }
table.rp-table td:first-child,
table.rp-table th:first-child { white-space: normal; }
table.rp-table--compact th,
table.rp-table--compact td { padding: 6px 8px; }
table.rp-table--grid th,
table.rp-table--grid td { border: 1px solid rgba(0,0,0,0.12); }

/* rp-table — base simples (sem escopo de bloco) */
.rp-table { width: 100%; border-collapse: collapse; }
.rp-table th, .rp-table td { border: 1px solid rgba(0,0,0,.12); padding: 8px; }
.rp-table th { background: rgba(0,0,0,.04); text-align: left; }

/* rp-table-box */
.rp-table-box { border: 1px solid #e5e7eb; border-radius: 12px; overflow: hidden; background: #fff; }

/* rp-table-scroll */
.rp-table-scroll {
  width: 100%;
  overflow-x: visible;
  overflow-y: visible;
  -webkit-overflow-scrolling: touch;
}

/* wide-table */
.rp-wide-table thead th { background: #0d2a8f; color: #fff; font-weight: 600; border-top: none; }
.rp-wide-table tbody tr:hover { background: rgba(166, 202, 236, 0.80); }

/* cer-table */
.cer-table { width: 100%; border-collapse: collapse; }
table.cer-table th,
table.cer-table td { padding: 6px 6px; line-height: 1.25; white-space: nowrap; }
table.cer-table tbody tr { border-top: 1px solid #edf2f7; }
table.cer-table tbody tr:nth-child(even) { background: #f8fafc; }
table.cer-table tbody tr:hover { background: rgba(166, 202, 236, 0.80); }

/* cer-table cabeçalho azul (funciona em thead OU tr) */
.cer-table-head th,
thead.cer-table-head th {
  background: #112A8E;
  color: #fff;
  border-top: none;
  border-bottom: 1px solid rgba(255,255,255,.18);
  font-weight: 600;
  padding: 10px 12px;
}

/* cer-table compacta */
.cer-table--compact th,
.cer-table--compact td { padding: 6px 6px; font-size: 13px; line-height: 1.15; }
.cer-table--compact thead.cer-table-head th { padding: 6px 6px; font-size: 13px; line-height: 1.15; }

/* table-scroll — colgroup tem prioridade */
.table-scroll table.rp-table th { width: auto !important; min-width: 0 !important; max-width: none !important; }
.rp-block-table .table-scroll table.rp-table th:first-child,
.rp-block-table .table-scroll table.rp-table td:first-child { width: auto !important; min-width: 0 !important; }


/* ─────────────────────────────────────────────────────────────
   16. CLASSES UTILITÁRIAS DE CÉLULAS (td-*)
   ───────────────────────────────────────────────────────────── */

.td-p0  { padding: 0 !important; }
.td-p4  { padding: 4px 8px !important; }
.td-p8  { padding: 8px 12px !important; }
.td-p12 { padding: 12px 16px !important; }

.td-h24 { min-height: 24px; height: 24px; }
.td-h32 { min-height: 32px; height: 32px; }
.td-h44 { min-height: 44px; height: 44px; }

.td-w60  { width: 60px !important; }
.td-w100 { width: 100px !important; }
.td-w160 { width: 160px !important; }
.td-w240 { width: 240px !important; }

.td-top    { vertical-align: top !important; }
.td-mid    { vertical-align: middle !important; }
.td-bot    { vertical-align: bottom !important; }
.td-nowrap { white-space: nowrap !important; }

.rp-table--compact td,
.rp-table--compact th { padding: 6px 10px !important; line-height: 1.15 !important; font-size: 13px; }

.tr-space td,
.tr-space th { padding-top: 14px !important; padding-bottom: 14px !important; }


/* ─────────────────────────────────────────────────────────────
   17. BLOCOS DE CONTEÚDO (rp-blocks, rp-block-*)
   ───────────────────────────────────────────────────────────── */

.rp-blocks .rp-block-title { margin: 18px 0 10px; }
.rp-blocks .rp-block-text  { margin: 0 0 14px; }

.rp-block-image { margin: 14px 0; }
.rp-block-image img { max-width: 100%; height: auto; display: block; }
.rp-block-image--left   img { margin-right: auto; }
.rp-block-image--center img { margin-left: auto; margin-right: auto; }
.rp-block-image--right  img { margin-left: auto; }

/* rp-block-table — tabelas dentro de blocos */
.rp-block-table table:not(.rp-table) { border-collapse: collapse; table-layout: auto; }

/* rp-block-table rp-table — regra consolidada (inline style decide alinhamentos) */
.rp-block-table table.rp-table {
  width: 100%;
  border-collapse: collapse;
  table-layout: auto;
  font-size: 14px;
}
.rp-block-table table.rp-table td,
.rp-block-table table.rp-table th {
  border: 1px solid rgba(0,0,0,0.18);
  padding: 10px 12px;
  vertical-align: middle;
  text-align: initial;
  white-space: normal;
  word-break: normal;
  overflow-wrap: anywhere;
}

/* rp-table--tech */
.rp-block-table table.rp-table--tech {
  width: 100%;
  border-collapse: collapse;
  table-layout: fixed;
  font-size: 14px;
}
.rp-block-table table.rp-table--tech td {
  border: 1px solid #4A4A49;
  padding: 10px 12px;
  vertical-align: middle;
  text-align: center;
}
.rp-block-table table.rp-table--tech td:first-child { width: 240px; font-weight: 600; text-align: left; }
.rp-block-table table.rp-table--tech tr:first-child td { background: #4A4A49; color: #fff; font-weight: 700; text-align: center; }
.rp-block-table table.rp-table--tech tr:nth-child(2) td { background: #0AA0D6; color: #fff; font-weight: 700; text-align: center; }
.rp-block-table table.rp-table--tech tr:nth-child(2) td:first-child { text-align: left; }
.rp-block-table table.rp-table--tech tr:nth-child(3) td:first-child { background: #E6F4FB; font-weight: 600; }
.rp-block-table table.rp-table--tech td[colspan] { text-align: center; }

/* wrapper scroll */
.rp-block-table .rp-table-scroll { width: 100%; overflow-x: visible; overflow-y: visible; -webkit-overflow-scrolling: touch; }

/* Tabelas tablesgenerator */
.rp-block-table table.tg { width: auto; }


/* ─────────────────────────────────────────────────────────────
   18. CER — filtros e pesquisa de rolamentos
   ───────────────────────────────────────────────────────────── */

.cer-filters {
  border: 1px solid rgba(0,0,0,.08);
  border-radius: 14px;
  padding: 18px;
  background: #fff;
}
.cer-filters .cer-grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 14px; }
.cer-filters label { display: block; font-size: 13px; opacity: .8; margin-bottom: 6px; }
.cer-filters input { width: 100%; border: 1px solid rgba(0,0,0,.18); border-radius: 10px; padding: 10px 12px; }

@media (max-width: 1100px) { .cer-filters .cer-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 700px)  { .cer-filters .cer-grid { grid-template-columns: 1fr; } }

.cer-btn { border-radius: 10px; padding: 10px 14px; border: 1px solid rgba(0,0,0,.15); background: #fff; cursor: pointer; }
.cer-btn--primary { background: #112A8E; border-color: #112A8E; color: #fff; }


/* ─────────────────────────────────────────────────────────────
   19. NTN LINEAR (hero, guias, cargas, search)
   ───────────────────────────────────────────────────────────── */

/* Hero topo */
.ntn-hero { display: flex; gap: 24px; align-items: flex-start; flex-wrap: wrap; }
.ntn-hero .ntn-tech { flex: 2 1 640px; }
.ntn-hero .ntn-3d   { flex: 1 1 320px; }
.ntn-hero .ntn-box  { border: 1px solid #e5e7eb; border-radius: 12px; padding: 12px; background: #fff; }

.ntn-hero .ntn-frame { display: block; height: auto; }
.ntn-hero .ntn-frame img { display: block; width: 100%; height: auto; max-width: 100%; max-height: none; object-fit: contain; }

@media (max-width: 900px) {
  .ntn-hero { flex-direction: column; flex-wrap: nowrap; }
  .ntn-hero .ntn-tech,
  .ntn-hero .ntn-3d  { width: 100%; flex: 0 0 100%; }
  .ntn-hero .ntn-frame { height: 140px; display: flex; align-items: center; justify-content: center; }
  .ntn-hero .ntn-frame img { width: auto; height: auto; max-width: 100%; max-height: 100%; }
}

@media (min-width: 901px) {
  .ntn-hero .ntn-frame { height: 260px; display: flex; align-items: center; justify-content: center; }
  .ntn-hero .ntn-frame img { width: auto; height: auto; max-width: 100%; max-height: 100%; }
  .ntn-loads-img img { max-height: 180px; }
}

/* Guias — grid */
.ntn-guides-grid { display: grid; grid-template-columns: 1fr; gap: 16px; }
@media (min-width: 901px) { .ntn-guides-grid { grid-template-columns: 1fr 1fr; align-items: start; } }

/* Guias — media */
.ntn-guide-media { display: grid; grid-template-columns: 1fr; gap: 12px; align-items: center; margin-top: 6px; }
@media (min-width: 901px) { .ntn-guide-media { grid-template-columns: 1fr 1fr; } }

.ntn-guide-frame { display: flex; align-items: center; justify-content: center; overflow: hidden; }
.ntn-guide-frame img { width: 100%; height: 100%; object-fit: contain; display: block; }

.ntn-guide-frame--tech img { transform: scaleX(0.97); transform-origin: center; }
.ntn-guide-frame--3d   img { transform: scale(1.10);  transform-origin: center; }

@media (min-width: 901px) {
  .ntn-guide-frame--tech { height: 200px; }
  .ntn-guide-frame--3d   { height: 200px; }
}
@media (max-width: 900px) {
  .ntn-guide-frame--tech { height: 200px; }
  .ntn-guide-frame--3d   { height: 160px; }
}

/* Guias — stack (PDF) */
.ntn-guides-stack { display: flex; flex-direction: column; gap: 22px; }
.ntn-guides-stack .ntn-box { border: 1px solid #e5e7eb; border-radius: 12px; padding: 12px; background: #fff; }

.ntn-guide-hero { display: flex; gap: 24px; align-items: flex-start; flex-wrap: wrap; margin-bottom: 12px; }
.ntn-guide-tech { flex: 2 1 640px; }
.ntn-guide-3d   { flex: 1 1 320px; }

.ntn-guide-frame { height: auto; display: block; }
.ntn-guide-frame img { display: block; width: 100%; height: auto; max-width: 100%; object-fit: contain; }

.ntn-guide-tech .ntn-guide-frame { padding: 10px 12px; box-sizing: border-box; }

@media (max-width: 900px) {
  .ntn-guide-hero { flex-direction: column; flex-wrap: nowrap; }
  .ntn-guide-tech, .ntn-guide-3d { width: 100%; flex: 0 0 100%; }
  .ntn-guide-frame { height: 160px; display: flex; align-items: center; justify-content: center; }
  .ntn-guide-frame img { width: auto; height: auto; max-width: 100%; max-height: 100%; }
}
@media (min-width: 901px) {
  .ntn-guide-frame { height: 220px; display: flex; align-items: center; justify-content: center; }
  .ntn-guide-frame img { width: auto; height: auto; max-width: 100%; max-height: 100%; }
}

/* Tabelas centradas (guias + cargas) */
.ntn-guide-table-wrap { max-width: 720px; margin: 0 auto; }
.ntn-loads-table-wrap { max-width: 720px; margin: 32px auto 0; }

/* Cargas */
.ntn-loads-center { display: flex; justify-content: center; }
.ntn-loads-center img { max-width: 520px; width: 100%; height: auto; object-fit: contain; }

/* Mini-table */
.ntn-mini-table td, .ntn-mini-table th { text-align: center; }

/* Dimensões — desktop compacto */
@media (min-width: 901px) {
  .ntn-dims table.cer-table { font-size: 12px; }
  .ntn-dims table.cer-table th,
  .ntn-dims table.cer-table td { padding: 6px 6px; line-height: 1.1; }
  .ntn-dims table.cer-table th:nth-child(1),
  .ntn-dims table.cer-table td:nth-child(1),
  .ntn-dims table.cer-table th:nth-child(21),
  .ntn-dims table.cer-table td:nth-child(21),
  .ntn-dims table.cer-table th:nth-child(25),
  .ntn-dims table.cer-table td:nth-child(25) { white-space: normal; }
}

/* Search pública */
.ntn-search { max-width: 1100px; margin: 0 auto; }
.ntn-search__card { background: #fff; border: 1px solid #e5e7eb; border-radius: 16px; padding: 18px 18px 14px; box-shadow: 0 10px 24px rgba(0,0,0,.05); }
.ntn-search__title { font-weight: 700; color: #111827; margin-bottom: 12px; }

.ntn-search__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.ntn-search__grid--filters  { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.ntn-search__grid--measures { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }

.ntn-field { display: flex; flex-direction: column; gap: 6px; }
.ntn-field--span2 { grid-column: span 2; }
.ntn-field--span4 { grid-column: span 4; }

.ntn-label { font-size: 12px; color: #6b7280; }

.ntn-input, .ntn-select {
  width: 100%;
  height: 38px;
  border: 1px solid #d1d5db;
  border-radius: 10px;
  padding: 8px 10px;
  background: #fff;
  color: #111827;
}
.ntn-input:focus, .ntn-select:focus { outline: none; border-color: rgba(17,42,142,.45); box-shadow: 0 0 0 3px rgba(17,42,142,.12); }

.ntn-search__actions { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin-top: 14px; }
.ntn-search__hint { font-size: 13px; color: #6b7280; }
.ntn-search__section { margin-top: 14px; }
.ntn-search__subtitle { margin: 10px 0 8px; font-weight: 600; color: #111827; font-size: 14px; }

.ntn-search__results { margin-top: 18px; }
.ntn-search__results .rp-table-box { background: #fff; border: 1px solid #e5e7eb; border-radius: 16px; padding: 10px 10px 6px; box-shadow: 0 10px 24px rgba(0,0,0,.05); }
.ntn-search__pager { margin-top: 12px; display: flex; justify-content: center; }

.ntn-code { display: inline-block; min-width: 32px; padding: 2px 8px; border-radius: 999px; background: rgba(17,42,142,.08); color: #112A8E; font-weight: 700; font-size: 12px; margin-right: 8px; }

.ntn-pill { display: inline-block; padding: 3px 10px; border-radius: 999px; background: rgba(17,42,142,.08); font-weight: 700; font-size: 12px; line-height: 1.2; }
.ntn-pill--muted { color: #6b7280; }
.ntn-label .ntn-pill { margin-bottom: 2px; }

/* Filtros activos — badges */
.ntn-active-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px solid #f3f4f6;
}

.ntn-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: rgba(17,42,142,.08);
  border: 1px solid rgba(17,42,142,.18);
  border-radius: 999px;
  padding: 4px 10px 4px 12px;
  font-size: 12px;
  color: #112A8E;
}

.ntn-badge__label { font-weight: 700; }
.ntn-badge__value { font-weight: 400; }

.ntn-badge__remove {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: rgba(17,42,142,.15);
  border: none;
  color: #112A8E;
  font-size: 13px;
  line-height: 1;
  cursor: pointer;
  padding: 0;
  margin-left: 2px;
}
.ntn-badge__remove:hover { background: rgba(17,42,142,.3); }

/* Sem resultados */
.ntn-no-results {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  padding: 48px 24px;
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 16px;
  box-shadow: 0 10px 24px rgba(0,0,0,.05);
  color: #6b7280;
  text-align: center;
}

.ntn-no-results svg { opacity: .4; }
.ntn-no-results p { font-size: 14px; margin: 0; }


/* Resultados — desktop sem scroll */
@media (min-width: 1024px) {
  .ntn-results-table th, .ntn-results-table td { font-size: 13px; padding: 6px 8px; white-space: normal; }
  .ntn-results-table td:nth-child(1),
  .ntn-results-table td:nth-child(2),
  .ntn-results-table td:nth-child(3),
  .ntn-results-table td:nth-child(14),
  .ntn-results-table td:nth-child(15) { white-space: nowrap; }
  .rp-table-scroll { overflow-x: visible; }
}
@media (max-width: 1023px) {
  .rp-table-scroll { overflow-x: auto; }
  .ntn-results-table th, .ntn-results-table td { white-space: nowrap; }
}

/* Search — responsivo */
@media (max-width: 980px) {
  .ntn-search__grid,
  .ntn-search__grid--filters  { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ntn-search__grid--measures { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ntn-field--span2 { grid-column: span 2; }
  .ntn-field--span4 { grid-column: span 2; }
}
@media (max-width: 520px) {
  .ntn-search__grid,
  .ntn-search__grid--filters  { grid-template-columns: 1fr; }
  .ntn-search__grid--measures { grid-template-columns: 1fr; }
  .ntn-field--span2 { grid-column: span 1; }
  .ntn-field--span4 { grid-column: span 1; }
}
