/* Plano Insights — listagem do blog (template-blog.php) e single post (single-post.php) */
@media (min-width: 768px) {
    .single-post .main-container,
    .page-template-template-blog .main-container,
    .category .main-container,
    .tag .main-container,
    .tax-editoria .main-container {
    padding-top: 90px !important;
  }
}

.plano-logo svg polygon {
  fill: #fff;
}

.insights-blog,
.insights-article {
  --ib-blue: #2952c4;
  --ib-blue-mid: #1a3d9e;
  --ib-navy: #0d1b4b;
  --ib-navy-deep: #080f2e;
  --ib-off-white: #f5f7ff;
  --ib-gray-light: #e8ecf8;
  --ib-gray-mid: #8a96b8;
  --ib-gray-dark: #4a5270;
  --ib-font-main: "Inter", sans-serif;
  --ib-font-body: "Montserrat", sans-serif;

  background: var(--ib-off-white);
  color: #0a0a0a;
}

.insights-blog *,
.insights-article * {
  box-sizing: border-box;
}

.insights-blog a,
.insights-article a {
  text-decoration: none;
  color: inherit;
}
a.ib-slide-read {
  text-decoration: none;
  color: #fff !important;
}

.menu-item a.active {
  background-color: #2952c4 !important;
  padding: 5px;
  color: #fff !important;
}

/* HERO */
.ib-hero {
  background: var(--ib-navy-deep);
  padding: 64px 0 56px;
  position: relative;
  overflow: hidden;
}
.ib-hero-inner {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
}
.ib-hero-left {
  max-width: 560px;
}
.ib-brand {
  margin-bottom: 18px;
}
.ib-brand-mark {
  width: auto;
  height: 80px;
}
.ib-brand-wordmark {
  font-family: var(--ib-font-main);
  font-weight: 800;
  font-size: 22px;
  color: #fff;
  letter-spacing: -0.4px;
}
.ib-brand-wordmark span {
  color: var(--ib-blue);
}
.ib-tagline {
  display: block;
  font-family: var(--ib-font-body);
  font-size: 12px;
  color: rgba(255, 255, 255, 0.35);
  letter-spacing: 0.4px;
  margin-top: 2px;
}
.ib-hero-desc {
  font-family: var(--ib-font-body);
  font-size: 15px;
  line-height: 1.75;
  color: rgba(255, 255, 255, 0.55);
  margin-bottom: 24px;
}
.ib-hero-desc p {
  margin: 0;
  color: inherit;
  font-size: inherit;
  line-height: inherit;
  font-family: inherit;
}
.ib-filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.ib-ftag {
  font-family: var(--ib-font-main);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.4px;
  text-transform: uppercase;
  background: rgba(255, 255, 255, 0.05);
  color: rgba(255, 255, 255, 0.55) !important;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  padding: 5px 13px;
  transition: all 0.2s;
  display: inline-block;
}

.ib-ftag:hover,
.ib-ftag.active {
  background: var(--ib-blue);
  color: #fff;
  border-color: var(--ib-blue);
}
.ib-newsletter-inline {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  padding: 18px 22px;
  display: flex;
  align-items: center;
  gap: 14px;
  align-self: flex-start;
}
.ib-newsletter-inline strong {
  font-family: var(--ib-font-main);
  font-size: 13px;
  font-weight: 700;
  color: #fff;
  display: block;
  margin-bottom: 2px;
}
.ib-newsletter-inline span {
  font-family: var(--ib-font-body);
  font-size: 12px;
  color: rgba(255, 255, 255, 0.4);
}
.ib-btn-blue {
  font-family: var(--ib-font-main);
  font-size: 12px;
  font-weight: 700;
  background: var(--ib-blue) !;
  color: #fff;
  border: none;
  border-radius: 8px;
  padding: 9px 16px;
  cursor: pointer;
  transition: background 0.2s;
  display: inline-block;
}
.ib-btn-blue:hover {
  background: var(--ib-blue-mid);
}

/* SLIDER */
.ib-slider-section {
  background: var(--ib-navy-deep);
  padding: 0 0 56px;
}
.ib-slider-wrap {
  position: relative;
  z-index: 0;
  border-radius: 18px;
  overflow: hidden;
  background: var(--ib-navy);
}
.ib-slide {
  width: 100%;
  min-height: 380px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  position: relative;
}
.ib-slide-content {
  padding: 44px 44px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  position: relative;
  z-index: 3;
}
.ib-slide-cat {
  font-family: var(--ib-font-main);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--ib-blue);
  background: rgba(41, 82, 196, 0.18);
  padding: 4px 12px;
  border-radius: 20px;
  display: inline-block;
  margin-bottom: 14px;
  width: fit-content;
}
.ib-slide-title {
  font-family: var(--ib-font-main);
  font-size: 24px;
  font-weight: 800;
  color: #fff;
  line-height: 1.25;
  letter-spacing: -0.4px;
  margin-bottom: 10px;
}
.ib-slide-desc {
  font-family: var(--ib-font-body);
  font-size: 14px;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.52);
  margin-bottom: 20px;
}
.ib-slide-read {
  font-family: var(--ib-font-main);
  font-size: 13px;
  font-weight: 700;
  color: #fff;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.ib-slide-visual {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 50%;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-color: var(--ib-navy);
}
.ib-slide-visual::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    140deg,
    rgba(41, 82, 196, 0.35) 0%,
    rgba(8, 15, 46, 0.95) 100%
  );
  pointer-events: none;
}
.ib-slider-wrap .owl-nav .nav-btn {
  position: absolute;
  z-index: 2;
  top: 50% !important;
  transform: translateY(-50%);
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.09) !important;
  border: 1px solid rgba(255, 255, 255, 0.14);
  display: flex !important;
  align-items: center;
  justify-content: center;
}
.ib-slider-wrap .owl-nav .nav-btn::after {
  content: "";
  display: block;
  width: 9px;
  height: 9px;
  border-top: 2px solid #fff;
  border-right: 2px solid #fff;
  flex-shrink: 0;
}
.ib-slider-wrap .owl-nav .prev-slide {
  left: 16px;
}
.ib-slider-wrap .owl-nav .prev-slide::after {
  transform: rotate(-135deg);
  margin-left: 3px;
}
.ib-slider-wrap .owl-nav .next-slide {
  right: 16px;
}
.ib-slider-wrap .owl-nav .next-slide::after {
  transform: rotate(45deg);
  margin-right: 3px;
}
/* pointer-events: none no wrapper evita que a faixa inteira dos dots (que
   cobre a largura toda do slide) capture cliques por cima do link "Ler
   análise"; só a bolinha de cada dot (.owl-dot) volta a ser clicável. */
.ib-slider-wrap .owl-dots {
  position: absolute;
  z-index: 2;
  bottom: 14px;
  left: 0;
  right: 0;
  text-align: center;
  pointer-events: none;
}
.ib-slider-wrap .owl-dots .owl-dot {
  pointer-events: auto;
}
.ib-slider-wrap .owl-dots .owl-dot span {
  background: rgba(255, 255, 255, 0.3);
  width: 6px;
  height: 6px;
  margin: 0 3px;
}
.ib-slider-wrap .owl-dots .owl-dot.active span {
  background: #fff;
  width: 20px;
  border-radius: 3px;
}

/* MAIN LAYOUT */
.ib-main {
  padding: 56px 0 72px;
}
.ib-layout {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 44px;
}
.ib-articles {
  min-width: 0;
}

/* EDITORIAL SECTIONS */
.ib-section {
  margin-bottom: 56px;
}
.ib-section-header {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--ib-font-main);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--ib-blue);
  margin-bottom: 22px;
}
.ib-section-header::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--ib-gray-light);
}
.ib-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.ib-section-more {
  text-align: center;
  margin-top: 24px;
}
.ib-see-more-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--ib-font-main);
  font-size: 12.5px;
  font-weight: 700;
  color: var(--ib-navy);
  background: #fff;
  border: 1.5px solid var(--ib-gray-light);
  border-radius: 30px;
  padding: 11px 24px;
  transition: all 0.2s;
}
.ib-see-more-btn:hover {
  background: var(--ib-navy);
  color: #fff;
  border-color: var(--ib-navy);
}

.ib-card {
  background: #fff;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid var(--ib-gray-light);
  display: block;
  transition:
    border-color 0.2s,
    box-shadow 0.2s;
}
.ib-card:not(.featured) {
  transition:
    border-color 0.2s,
    box-shadow 0.2s,
    transform 0.2s;
}
.ib-card:not(.featured):hover {
  border-color: rgba(41, 82, 196, 0.28);
  box-shadow: 0 8px 28px rgba(41, 82, 196, 0.09);
  transform: translateY(-2px);
}
.ib-card.featured:hover {
  border-color: rgba(41, 82, 196, 0.28);
  box-shadow: 0 8px 28px rgba(41, 82, 196, 0.09);
}
.ib-card.featured {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  min-width: 0;
}
.ib-card.featured .ib-card-thumb,
.ib-card.featured .ib-card-body {
  min-width: 0;
}
.ib-card.featured .ib-card-thumb {
  min-height: 200px;
}
.ib-card-thumb {
  height: 156px;
  background: var(--ib-navy);
  background-size: cover;
  background-position: center;
}
.ib-thumb-fallback {
  background: linear-gradient(135deg, var(--ib-navy), var(--ib-blue));
}
.ib-card-body {
  padding: 18px 20px;
}
.ib-card-cat {
  font-family: var(--ib-font-main);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1.3px;
  text-transform: uppercase;
  color: var(--ib-blue);
  margin-bottom: 7px;
}
.ib-card-title {
  font-family: var(--ib-font-main);
  font-size: 14.5px;
  font-weight: 700;
  color: var(--ib-navy);
  line-height: 1.35;
  margin-bottom: 7px;
  letter-spacing: -0.1px;
}
.ib-card.featured .ib-card-title {
  font-size: 18px;
}
.ib-card-excerpt {
  font-family: var(--ib-font-body);
  font-size: 13px;
  color: var(--ib-gray-mid);
  line-height: 1.6;
  margin-bottom: 14px;
}
.ib-card-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-family: var(--ib-font-body);
  font-size: 11px;
  color: var(--ib-gray-mid);
}
.ib-card-readmore {
  font-family: var(--ib-font-main);
  font-size: 11px;
  font-weight: 700;
  color: var(--ib-blue);
}

/* SIDEBAR */
.ib-widget {
  background: #fff;
  border-radius: 14px;
  padding: 22px;
  border: 1px solid var(--ib-gray-light);
  margin-bottom: 20px;
}
.ib-widget h3 {
  font-family: var(--ib-font-main);
  font-size: 12.5px;
  font-weight: 700;
  color: var(--ib-navy);
  margin-bottom: 14px;
  padding-bottom: 11px;
  border-bottom: 1px solid var(--ib-gray-light);
}
.ib-widget p {
  font-family: var(--ib-font-body);
  font-size: 12.5px;
  color: var(--ib-gray-mid);
  line-height: 1.55;
  margin-bottom: 14px;
}

.ib-nl-form p {
  display: flex;
  flex-direction: column;
  gap: 9px;
}
.ib-nl-input {
  background: var(--ib-off-white);
  border: 1.5px solid var(--ib-gray-light);
  border-radius: 8px;
  padding: 10px 12px;
  font-family: var(--ib-font-body);
  font-size: 13px;
  color: #0a0a0a;
  outline: none;
  width: 100%;
}
.ib-nl-input:focus {
  border-color: var(--ib-blue);
}
.ib-widget input[type="submit"],
.ib-nl-btn {
  background: var(--ib-blue);
  color: #fff;
  border: none;
  border-radius: 8px;
  padding: 10px;
  font-family: var(--ib-font-main);
  font-size: 12.5px;
  font-weight: 700;
  cursor: pointer;
  width: 100%;
}
.ib-nl-btn:hover,
.ib-nl-btn:focus {
  background: var(--ib-blue-mid) !important;
}
.ib-nl-note {
  font-family: var(--ib-font-body);
  font-size: 11px;
  color: var(--ib-gray-mid);
  line-height: 1.5;
}

.ib-trending-row {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 10px 0;
  border-bottom: 1px solid var(--ib-gray-light);
}
.ib-trending-row:last-child {
  border-bottom: none;
  padding-bottom: 0;
}
.ib-t-num {
  font-family: var(--ib-font-main);
  font-size: 22px;
  font-weight: 800;
  color: var(--ib-gray-light);
  min-width: 28px;
  line-height: 1;
  letter-spacing: -1px;
}
.ib-t-body {
  min-width: 0;
}
.ib-t-title {
  display: block;
  font-family: var(--ib-font-main);
  font-size: 12.5px;
  font-weight: 600;
  color: var(--ib-navy);
  line-height: 1.35;
}
.ib-t-title:hover {
  color: var(--ib-blue);
}
.ib-t-cat {
  font-family: var(--ib-font-body);
  font-size: 11px;
  color: var(--ib-gray-mid);
  margin-top: 3px;
}

.ib-tags-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}
.ib-tag-chip {
  font-family: var(--ib-font-main);
  font-size: 11px;
  font-weight: 600;
  background: var(--ib-off-white);
  color: #2a3050;
  border: 1px solid var(--ib-gray-light);
  padding: 4px 11px;
  border-radius: 20px;
  transition: all 0.2s;
  display: inline-block;
}
.ib-tag-chip:hover {
  background: var(--ib-blue);
  color: #fff;
  border-color: var(--ib-blue);
}

/* AGENDA (sidebar do blog) */
.ib-agenda-icon {
  margin-right: 4px;
}
.ib-agenda-list {
  display: flex;
  flex-direction: column;
}
.ib-agenda-row {
  display: flex;
  gap: 12px;
  align-items: center;
  padding: 12px 0;
  border-bottom: 1px solid var(--ib-gray-light);
}
.ib-agenda-row:last-child {
  border-bottom: none;
  padding-bottom: 0;
}
.ib-agenda-date {
  flex-shrink: 0;
  width: 46px;
  height: 46px;
  border-radius: 10px;
  background: var(--ib-navy);
  color: #fff;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  line-height: 1;
}
/* Escala de cor: o evento mais próximo (1º da lista) fica no azul mais
   escuro, e os seguintes vão clareando — reforça visualmente qual prazo é
   mais urgente. */
.ib-agenda-row:nth-child(1) .ib-agenda-date {
  background: var(--ib-navy-deep);
}
.ib-agenda-row:nth-child(2) .ib-agenda-date {
  background: var(--ib-navy);
}
.ib-agenda-row:nth-child(3) .ib-agenda-date {
  background: var(--ib-blue-mid);
}
.ib-agenda-row:nth-child(4) .ib-agenda-date {
  background: var(--ib-blue);
}
.ib-agenda-row:nth-child(5) .ib-agenda-date {
  background: #5b7fd8;
}
.ib-agenda-day {
  font-family: var(--ib-font-main);
  font-size: 16px;
  font-weight: 800;
}
.ib-agenda-month {
  font-family: var(--ib-font-main);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.5px;
}
.ib-agenda-body {
  min-width: 0;
}
.ib-agenda-title {
  font-family: var(--ib-font-main);
  font-size: 13px;
  font-weight: 700;
  color: var(--ib-navy);
  line-height: 1.35;
  margin-bottom: 4px;
}
.ib-agenda-desc {
  font-family: var(--ib-font-body);
  font-size: 12px;
  color: var(--ib-gray-mid);
  line-height: 1.5;
  margin-bottom: 0;
}
.ib-widget p.ib-agenda-desc {
    margin-bottom: 5px;
  }

.ib-agenda-more {
  background: none;
  border: none;
  padding: 0;
  margin-top: 6px;
  font-family: var(--ib-font-main);
  font-size: 12px;
  font-weight: 400;
  color: var(--ib-blue) !important;
  cursor: pointer;
}
.ib-agenda-more:hover {
  color: var(--ib-blue-mid);
}

.ib-agenda-modal .modal-content {
  background: #fff;
  border: none;
  border-radius: 14px;
  padding: 15px;
  position: relative;
}
.ib-agenda-modal .btn-close {
  position: absolute;
  top: 16px;
  right: 16px;
  z-index: 10;
}
.ib-agenda-modal .btn-close:hover {
    background: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23000'%3e%3cpath d='M.293.293a1 1 0 011.414 0L8 6.586 14.293.293a1 1 0 111.414 1.414L9.414 8l6.293 6.293a1 1 0 01-1.414 1.414L8 9.414l-6.293 6.293a1 1 0 01-1.414-1.414L6.586 8 .293 1.707a1 1 0 010-1.414z'/%3e%3c/svg%3e") center/1em auto no-repeat;
  }
.ib-agenda-modal-date {
  display: inline-block;
  font-family: var(--ib-font-main);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  color: var(--ib-blue);
  background: rgba(41, 82, 196, 0.12);
  padding: 4px 12px;
  border-radius: 20px;
  margin-bottom: 14px;
}
.ib-agenda-modal h3 {
  font-family: var(--ib-font-main);
  font-size: 19px;
  font-weight: 800;
  color: var(--ib-navy);
  line-height: 1.3;
  margin-bottom: 14px;
  text-align: left;
}
.ib-agenda-modal .modal-body p {
  font-family: var(--ib-font-body);
  font-size: 14px;
  color: var(--ib-gray-dark);
  line-height: 1.65;
}

.ib-widget.cta {
  background: var(--ib-navy);
  border-color: var(--ib-navy);
}
.ib-widget.cta h3 {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.1);
}
.ib-widget.cta p {
  color: rgba(255, 255, 255, 0.52);
}
.ib-widget.cta .ib-nl-btn {
  width: 100%;
}

@media (max-width: 991px) {
  .ib-layout {
    grid-template-columns: 1fr;
  }
  .ib-grid {
    grid-template-columns: 1fr;
  }
  .ib-card.featured {
    grid-template-columns: 1fr;
  }
  /* No mobile os 3 posts da editoria ficam todos iguais, empilhados */
  .ib-card.featured .ib-card-thumb {
    min-height: 0;
    height: 156px;
  }
  .ib-card.featured .ib-card-title {
    font-size: 14.5px;
  }
  .ib-slide {
    grid-template-columns: 1fr;
  }
  .ib-slide-visual {
    min-height: 180px;
  }
}

@media (max-width: 576px) {
  .ib-hero {
    padding: 90px 0 36px;
  }
  .ib-hero-inner {
    flex-direction: column;
    align-items: flex-start;
  }
  .ib-newsletter-inline {
    width: 100%;
  }
}

/* =========================================================
   SINGLE POST (single-post.php)
   ========================================================= */

.ib-breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  font-family: var(--ib-font-body);
  font-size: 12px;
  color: var(--ib-gray-mid);
  padding: 32px 0 0;
  text-align: left;
}
.ib-breadcrumb a {
  color: var(--ib-gray-mid);
}
.ib-breadcrumb a:hover {
  color: var(--ib-blue);
}
.ib-breadcrumb span {
  color: var(--ib-gray-light);
}
.ib-breadcrumb strong {
  color: var(--ib-gray-dark);
  font-weight: 500;
}

.ib-article-hero {
  padding: 20px 0 0;
}
.ib-article-meta-top {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
  flex-wrap: wrap;
}
.ib-article-cat {
  font-family: var(--ib-font-main);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1.3px;
  text-transform: uppercase;
  color: var(--ib-blue);
  background: #eef2ff;
  padding: 4px 12px;
  border-radius: 20px;
}
.ib-article-date {
  font-family: var(--ib-font-body);
  font-size: 12px;
  color: var(--ib-gray-mid);
}
.ib-article-title {
  font-family: var(--ib-font-main);
  font-size: clamp(26px, 4vw, 38px);
  font-weight: 800;
  color: var(--ib-navy);
  line-height: 1.18;
  letter-spacing: -0.6px;
  margin-bottom: 18px;
  max-width: 760px;
}
.ib-article-lead {
  font-family: var(--ib-font-body);
  font-size: 17px;
  font-style: italic;
  color: var(--ib-gray-dark);
  line-height: 1.7;
  max-width: 680px;
  margin-bottom: 26px;
  border-left: 3px solid var(--ib-blue);
  padding-left: 18px;
}

.ib-author-strip {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 0;
  border-top: 1px solid var(--ib-gray-light);
  border-bottom: 1px solid var(--ib-gray-light);
  flex-wrap: wrap;
}
.ib-author-avatar,
.ib-author-box-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  flex-shrink: 0;
  object-fit: cover;
}
.ib-author-avatar--initials {
  background: var(--ib-navy);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--ib-font-main);
  font-size: 14px;
  font-weight: 700;
}
.ib-author-info {
  flex: 1;
  min-width: 140px;
}
.ib-author-name {
  font-family: var(--ib-font-main);
  font-size: 13px;
  font-weight: 700;
  color: var(--ib-navy);
}
.ib-author-role {
  font-family: var(--ib-font-body);
  font-size: 11px;
  color: var(--ib-gray-mid);
  margin-top: 1px;
}
.ib-read-time {
  font-family: var(--ib-font-body);
  font-size: 12px;
  color: var(--ib-gray-mid);
}
.ib-share-strip {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-left: auto;
}
.ib-share-label {
  font-family: var(--ib-font-main);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--ib-gray-mid);
}
.ib-share-btn {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: var(--ib-off-white);
  border: 1px solid var(--ib-gray-light);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.2s;
}
.ib-share-btn:hover {
  background: var(--ib-gray-light);
}
.ib-share-btn svg,
.ib-share-btn .icon {
  width: 16px;
  height: 16px;
  fill: var(--ib-navy);
}

.ib-cover-image {
  margin: 28px auto;
  max-width: 1200px;
  padding: 0 24px;
}
.ib-cover-image-inner {
  width: 100%;
  height: 420px;
  border-radius: 16px;
  background-size: cover;
  background-position: center;
  background-color: var(--ib-navy);
}
.ib-thumb-fallback.ib-cover-image-inner {
  background-image: linear-gradient(135deg, var(--ib-navy), var(--ib-blue));
}

.ib-article-layout {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 56px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 8px 0 80px;
}

.ib-article-body {
  min-width: 0;
}
.ib-article-body p {
  font-family: var(--ib-font-body);
  font-size: 17px;
  line-height: 1.85;
  color: #374151;
  margin-bottom: 24px;
}
.ib-article-body h2 {
  font-family: var(--ib-font-main);
  font-size: 22px;
  font-weight: 800;
  color: var(--ib-navy);
  letter-spacing: -0.4px;
  line-height: 1.2;
  margin: 44px 0 16px;
}
.ib-article-body h3 {
  font-family: var(--ib-font-main);
  font-size: 17px;
  font-weight: 700;
  color: var(--ib-navy);
  letter-spacing: -0.2px;
  line-height: 1.3;
  margin: 32px 0 12px;
}
.ib-article-body blockquote {
  border-left: 4px solid var(--ib-blue);
  padding: 6px 0 6px 24px;
  margin: 36px 0;
}
.ib-article-body blockquote p {
  font-family: var(--ib-font-body);
  font-size: 20px;
  font-style: italic;
  color: var(--ib-navy);
  line-height: 1.55;
  font-weight: 600;
  margin: 0 !important;
}
.ib-article-body img {
  max-width: 100%;
  border-radius: 12px;
}
.ib-article-body ul,
.ib-article-body ol {
  margin: 0 0 24px 20px;
}
.ib-article-body li {
  font-family: var(--ib-font-body);
  font-size: 16px;
  line-height: 1.7;
  color: #374151;
  margin-bottom: 8px;
}

.ib-article-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 44px 0 36px;
  padding-top: 28px;
  border-top: 1px solid var(--ib-gray-light);
}

.ib-author-box {
  background: var(--ib-off-white);
  border-radius: 14px;
  padding: 24px;
  border: 1px solid var(--ib-gray-light);
  display: flex;
  gap: 18px;
  align-items: flex-start;
  margin-bottom: 40px;
}
.ib-author-box-avatar {
  width: 56px;
  height: 56px;
  font-size: 18px;
}
.ib-author-box-name {
  font-family: var(--ib-font-main);
  font-size: 14px;
  font-weight: 700;
  color: var(--ib-navy);
  margin-bottom: 2px;
}
.ib-author-box-role {
  font-family: var(--ib-font-body);
  font-size: 12px;
  color: var(--ib-blue);
  margin-bottom: 8px;
}
.ib-author-box-bio {
  font-family: var(--ib-font-body);
  font-size: 13px;
  color: var(--ib-gray-dark);
  line-height: 1.6;
}

.ib-related-label {
  font-family: var(--ib-font-main);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--ib-blue);
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
}
.ib-related-label::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--ib-gray-light);
}
.ib-related-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.ib-related-grid .ib-card-thumb {
  height: 96px;
}
.ib-related-grid .ib-card-title {
  font-size: 13px;
}
.ib-related-grid .ib-card-excerpt {
  display: none;
}

.ib-sidebar .ib-widget {
  position: sticky;
  top: 80px;
}

.ib-toc-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 0;
}
.ib-toc-list li a {
  font-family: var(--ib-font-body);
  font-size: 12.5px;
  color: var(--ib-gray-dark);
  padding: 5px 8px;
  border-radius: 6px;
  display: block;
  line-height: 1.4;
  transition: all 0.2s;
  border-left: 2px solid transparent;
}
.ib-toc-list li a:hover,
.ib-toc-list li a.active {
  color: var(--ib-blue);
  background: var(--ib-off-white);
  border-left-color: var(--ib-blue);
}
.ib-toc-list .ib-toc-level-3 a {
  padding-left: 18px;
  font-size: 12px;
}

@media (max-width: 991px) {
  .ib-article-layout {
    grid-template-columns: 1fr;
  }
  .ib-author-strip {
    flex-wrap: wrap;
  }
  .ib-share-strip {
    margin-left: 0;
  }
  .ib-sidebar .ib-widget {
    position: static;
  }
  .ib-related-grid {
    grid-template-columns: 1fr;
  }
}

/* =========================================================
   HEADER & FOOTER — mesma identidade azul/navy do blog,
   aplicado só na listagem (Plano Blog) e no single post
   ========================================================= */

body.insights-theme .header-container {
  background: #0d1b4b;
}
body.insights-theme .header-container.fixed {
  background: #080f2e;
  box-shadow: 0 0 1rem rgba(0, 0, 0, 0.3);
}
body.insights-theme .header-container .plano-logo-svg,
body.insights-theme .header-container.fixed .plano-logo-svg {
  fill: #fff;
}

body.insights-theme .fixed .header polygon.plano-logo-text {
  fill: #fff;
}

body.insights-theme .header-container #menu-header-menu li a:not(:hover),
body.insights-theme .header-container.fixed #menu-header-menu li a:not(:hover) {
  color: rgba(255, 255, 255, 0.85);
}
body.insights-theme .header-container #menu-header-menu .icon,
body.insights-theme .header-container.fixed #menu-header-menu .icon {
  stroke: #fff;
}

body.insights-theme .main-footer {
  background: #0d1b4b;
}
body.insights-theme .main-footer h4 {
  color: #2952c4;
}
body.insights-theme .footer-bottom {
  background: #080f2e;
}

/* =========================================================
   CATEGORIA / TAG (category.php, tag.php)
   ========================================================= */

.ib-archive-hero {
  background: var(--ib-navy-deep);
  padding: 48px 0 40px;
}
.ib-archive-hero .ib-breadcrumb {
  padding-top: 0;
  margin-bottom: 14px;
}
.ib-archive-title {
  font-family: var(--ib-font-main);
  font-size: clamp(24px, 3.5vw, 34px);
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.5px;
}
.ib-archive-title span {
  color: var(--ib-blue);
}
.ib-archive-count {
  font-family: var(--ib-font-body);
  font-size: 13px;
  color: rgba(255, 255, 255, 0.45);
  margin-top: 6px;
}

.ib-no-results {
  background: #fff;
  border: 1px solid var(--ib-gray-light);
  border-radius: 14px;
  padding: 40px;
  text-align: center;
}
.ib-no-results p {
  font-family: var(--ib-font-body);
  color: var(--ib-gray-mid);
  margin-bottom: 6px;
}

.insights-blog .posts-pagination .wp-pagenavi {
  padding: 0;
  margin-top: 8px;
}
.insights-blog .posts-pagination a,
.insights-blog .posts-pagination span {
  font-family: var(--ib-font-main);
  font-size: 13px;
  font-weight: 600;
  border-radius: 8px;
}
.insights-blog .posts-pagination a {
  color: var(--ib-navy);
}
.insights-blog .posts-pagination a:hover {
  background: var(--ib-blue);
  color: #fff;
}
.insights-blog .posts-pagination span {
  background: var(--ib-blue);
  color: #fff;
}

@media (max-width: 768px) {
  .ib-grid {
    grid-template-columns: 1fr;
  }
  .ib-hero {
    padding-top: 80px;
  }
  .single-post .ib-article-hero {
    padding-top: 80px;
  }
}
