/* Hierarquia editorial */
.cg-content-grid .cg-heading-row > .cg-heading {
  font-size: clamp(23px, 2vw, 28px) !important;
  line-height: 1.15 !important;
  letter-spacing: -.02em !important;
}

/* Colunistas: altura estável, independentemente do número de publicações */
.cg112-home-columnists {
  height: 370px !important;
  min-height: 370px !important;
  display: flex !important;
  flex-direction: column !important;
}
.cg112-home-columnists > header { flex: 0 0 auto; }
.cg112-home-columnists .cg112-columnist-list {
  flex: 1 1 auto !important;
  min-height: 0 !important;
  overflow-y: auto !important;
  overscroll-behavior: contain;
  scrollbar-width: thin;
  scrollbar-color: #9aabc0 transparent;
}
.cg112-home-columnists .cg112-columnist-list::-webkit-scrollbar { width: 6px; }
.cg112-home-columnists .cg112-columnist-list::-webkit-scrollbar-thumb {
  background: #9aabc0;
  border-radius: 8px;
}

/* Trânsito Agora: comunicação direta e compacta */
#cgct-home-banner .cgct-home-banner__link {
  min-height: 0 !important;
  padding: 13px 15px !important;
  gap: 7px !important;
}
#cgct-home-banner .cgct-home-banner__copy strong {
  font-size: 15px !important;
  line-height: 1.2 !important;
}
#cgct-home-banner .cgct-home-banner__copy small {
  display: -webkit-box !important;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
  font-size: 11px !important;
  line-height: 1.3 !important;
}
#cgct-home-banner .cgct-home-banner__status { font-size: 10px !important; }
#cgct-home-banner .cgct-home-banner__button {
  min-height: 34px !important;
  padding: 8px 11px !important;
  font-size: 10px !important;
}

/* Mensagens: botão sempre presente e bem destacado */
.cg-home-aligned-side.cg-listener-commercial {
  height: 286px !important;
  min-height: 286px !important;
  max-height: 286px !important;
}
.cg-listener-box.cg150-listener {
  height: 286px !important;
  min-height: 286px !important;
  max-height: 286px !important;
  padding: 14px !important;
  display: flex !important;
  flex-direction: column !important;
}
.cg150-listener .cg150-listener-slides {
  flex: 1 1 auto !important;
  min-height: 0 !important;
  overflow: hidden !important;
}
.cg150-listener .cg-listener-button {
  flex: 0 0 auto !important;
  margin-top: 8px !important;
  min-height: 34px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
}

/* Newsletter: menor e sem respiros excessivos */
.cg-sidebar-stack .cg-list-card:has(.cg811-newsletter-form) {
  min-height: 0 !important;
  height: auto !important;
  padding: 14px !important;
}
.cg-sidebar-stack .cg-list-card:has(.cg811-newsletter-form) h3 { margin: 0 0 6px !important; }
.cg-sidebar-stack .cg-list-card:has(.cg811-newsletter-form) p {
  margin: 0 0 9px !important;
  font-size: 12px !important;
  line-height: 1.35 !important;
}
.cg811-newsletter-form { margin: 0 !important; }
.cg811-newsletter-form input { padding: 9px 10px !important; }
.cg811-newsletter-form button {
  min-height: 35px !important;
  margin-top: 6px !important;
  padding: 8px 10px !important;
}

/* Títulos de programação sem quebra */
.cg-media-tab-panel .cg-section-head {
  gap: 8px !important;
  align-items: center !important;
  flex-wrap: nowrap !important;
}
.cg-media-tab-panel .cg-section-head > span {
  min-width: 0 !important;
  white-space: nowrap !important;
  font-size: clamp(11px, 1.05vw, 14px) !important;
}
.cg-media-tab-panel .cg-section-head > a {
  flex: 0 0 auto !important;
  white-space: nowrap !important;
}

/* Ritmo vertical uniforme */
.cg-sidebar-stack { gap: 18px !important; }
.cg-content-grid { row-gap: 20px !important; }

@media (max-width: 760px) {
  .cg-content-grid .cg-heading-row > .cg-heading {
    font-size: 22px !important;
    grid-column: 1 / -1 !important;
  }
  .cg112-home-columnists {
    height: 340px !important;
    min-height: 340px !important;
  }
  #cgct-home-banner .cgct-home-banner__link {
    padding: 12px 13px !important;
    gap: 6px !important;
  }
  .cg-listener-box.cg150-listener {
    height: auto !important;
    min-height: 230px !important;
    max-height: none !important;
  }
  .cg-home-aligned-side.cg-listener-commercial {
    height: auto !important;
    min-height: 230px !important;
    max-height: none !important;
  }
  .cg-media-tab-panel .cg-section-head > span { font-size: 11px !important; }
  .cg-media-tab-panel .cg-section-head > a { font-size: 9px !important; }
}
