/* ==========================================================================
   CSM Portal Editorial - Main Stylesheet (Mockup Pixel-Perfect Replica)
   ========================================================================== */

/* Containers Centrais */
.csm-container {
  width: 100%;
  max-width: var(--csm-width-wide);
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.25rem;
  padding-right: 1.25rem;
}

.csm-homepage-wrap {
  background-color: #FFFFFF;
  color: var(--csm-color-text-body);
}

/* ==========================================================================
   BREADCRUMBS SEMÂNTICOS GLOBAIS
   ========================================================================== */
.csm-breadcrumbs {
  margin-bottom: 1.25rem;
  font-size: 0.82rem;
  color: #64748B;
}

.csm-breadcrumbs ol {
  list-style: none !important;
  padding: 0 !important;
  margin: 0 !important;
  display: flex !important;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.4rem;
}

.csm-breadcrumbs li {
  list-style: none !important;
  display: inline-flex;
  align-items: center;
}

.csm-breadcrumbs li + li::before {
  content: "/";
  margin-right: 0.45rem;
  color: #CBD5E1;
  font-weight: 400;
}

.csm-breadcrumbs a {
  color: #64748B;
  text-decoration: none;
  transition: color 0.15s ease;
}

.csm-breadcrumbs a:hover {
  color: #1D4ED8;
  text-decoration: underline;
}

.csm-breadcrumbs li[aria-current="page"] {
  color: #0C1B3C;
  font-weight: 600;
}

/* ==========================================================================
   0. FITA DE NOTÍCIAS RÁPIDAS (BREAKING NEWS TICKER)
   ========================================================================== */
.csm-ticker-bar {
  background-color: #F8FAFC;
  border-bottom: 1px solid #E2E8F0;
  font-size: 0.84rem;
}

.csm-ticker-inner {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding: 0.6rem 0;
  min-height: 42px;
}

.csm-ticker-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  background-color: #DC2626;
  color: #FFFFFF;
  font-size: 0.72rem;
  font-weight: 800;
  padding: 0.2rem 0.6rem;
  border-radius: 4px;
  letter-spacing: 0.05em;
  flex-shrink: 0;
}

.csm-ticker-pulse {
  width: 6px;
  height: 6px;
  background-color: #FFFFFF;
  border-radius: 50%;
  display: inline-block;
  animation: csmPulseDot 1.5s infinite;
}

@keyframes csmPulseDot {
  0% { transform: scale(0.9); opacity: 0.6; }
  50% { transform: scale(1.3); opacity: 1; }
  100% { transform: scale(0.9); opacity: 0.6; }
}

.csm-ticker-headline {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.csm-ticker-link {
  color: #0F172A;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  max-width: 100%;
}

.csm-ticker-link:hover {
  color: #1D4ED8;
}

.csm-ticker-time {
  font-weight: 700;
  color: #64748B;
  font-size: 0.78rem;
  flex-shrink: 0;
}

.csm-ticker-title {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.csm-ticker-arrow {
  color: #DC2626;
  font-weight: 700;
  flex-shrink: 0;
  transition: transform 0.15s ease;
}

.csm-ticker-link:hover .csm-ticker-arrow {
  transform: translateX(3px);
}

/* ==========================================================================
   LINHAS DIVISÓRIAS EDITORIAIS SUTIS (#E2EAF4)
   ========================================================================== */
.csm-hero-block .csm-container,
.csm-utility-block .csm-container,
.csm-tracks-columns-block .csm-container {
  padding-bottom: 2.25rem;
  border-bottom: 1px solid #E2EAF4;
}

/* ==========================================================================
   0.1 BANNER FITA TOPO (VIAZA)
   ========================================================================== */
.csm-home-top-banner {
  padding-top: 1.5rem;
  padding-bottom: 0.25rem;
}

.csm-home-top-banner-link {
  display: block;
  width: 100%;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(12, 27, 60, 0.07);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  line-height: 0;
  border: 1px solid rgba(0, 0, 0, 0.06);
}

.csm-home-top-banner-link:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(12, 27, 60, 0.15);
}

.csm-home-top-banner-img {
  width: 100%;
  height: auto;
  aspect-ratio: 1656 / 142;
  display: block;
  border-radius: 12px;
  object-fit: cover;
  transition: filter 0.25s ease;
}

.csm-home-top-banner-link:hover .csm-home-top-banner-img {
  filter: brightness(1.02);
}

/* ==========================================================================
   1. HERO EDITORIAL (MANCHETE + SIDEBAR)
   ========================================================================== */
.csm-hero-block {
  padding-top: 1.5rem;
  padding-bottom: 1rem;
}

.csm-hero-grid {
  display: grid;
  grid-template-columns: 2.15fr 1fr;
  gap: 2.5rem;
}

/* Artigo Principal da Manchete */
.csm-hero-article {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 1.75rem;
  align-items: center;
}

.csm-hero-visual {
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 14px rgba(12, 27, 60, 0.08);
}

.csm-hero-visual a {
  display: block;
  text-decoration: none;
}

.csm-hero-img {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  display: block;
}

/* Placeholder ilustrativo idêntico à imagem de referência */
.csm-mockup-hero-photo {
  width: 100%;
  aspect-ratio: 16 / 10;
  background: linear-gradient(135deg, #1E3A8A 0%, #3B82F6 50%, #F59E0B 100%);
  position: relative;
  display: flex;
  align-items: flex-end;
  padding: 1.25rem;
}

.csm-photo-badge {
  background: rgba(12, 27, 60, 0.85);
  color: #FFFFFF;
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  padding: 0.4rem 0.8rem;
  border-radius: 4px;
  backdrop-filter: blur(4px);
}

/* Coluna de Texto da Manchete */
.csm-hero-meta-col {
  display: flex;
  flex-direction: column;
}

.csm-section-tag-blue {
  font-size: 0.72rem;
  font-weight: 800;
  color: #1D4ED8;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 0.65rem;
  display: inline-block;
}

.csm-hero-heading {
  font-family: var(--csm-font-editorial);
  font-size: 2.15rem;
  font-weight: 800;
  line-height: 1.18;
  color: #0C1B3C;
  margin: 0 0 0.85rem 0;
  letter-spacing: -0.02em;
}

.csm-hero-heading a {
  color: inherit;
  text-decoration: none;
}

.csm-hero-heading a:hover {
  color: #1D4ED8;
}

.csm-hero-desc {
  font-size: 0.95rem;
  line-height: 1.5;
  color: #475569;
  margin: 0 0 1.25rem 0;
}

.csm-hero-byline {
  font-size: 0.78rem;
  color: #64748B;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.csm-byline-sep {
  color: #CBD5E1;
}

/* Sidebar "Últimas notícias" */
.csm-hero-sidebar {
  border-left: 1px solid #F1F5F9;
  padding-left: 1.75rem;
}

.csm-sidebar-top {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 1.25rem;
}

.csm-sidebar-title {
  font-size: 1.2rem;
  font-weight: 800;
  color: #0C1B3C;
  margin: 0;
  letter-spacing: -0.01em;
}

.csm-sidebar-link {
  font-size: 0.78rem;
  font-weight: 700;
  color: #1D4ED8;
  text-decoration: none;
}

.csm-sidebar-link:hover {
  text-decoration: underline;
}

.csm-sidebar-list {
  display: flex;
  flex-direction: column;
  gap: 1.15rem;
}

.csm-news-card {
  display: grid;
  grid-template-columns: 82px 1fr;
  gap: 0.85rem;
  align-items: center;
}

.csm-news-thumb {
  width: 82px;
  height: 54px;
  border-radius: 6px;
  overflow: hidden;
  background-color: #E2E8F0;
  display: block;
}

.csm-news-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Placeholders ilustrativos */
.csm-thumb-plane { background: linear-gradient(135deg, #F59E0B 0%, #3B82F6 100%); width: 100%; height: 100%; }
.csm-thumb-card { background: linear-gradient(135deg, #1E293B 0%, #0F172A 100%); width: 100%; height: 100%; }
.csm-thumb-beach { background: linear-gradient(135deg, #06B6D4 0%, #10B981 100%); width: 100%; height: 100%; }
.csm-thumb-airport { background: linear-gradient(135deg, #475569 0%, #1E293B 100%); width: 100%; height: 100%; }

.csm-news-meta-row {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.2rem;
}

.csm-news-cat {
  font-size: 0.68rem;
  font-weight: 800;
  color: #1D4ED8;
  letter-spacing: 0.04em;
}

.csm-news-time {
  font-size: 0.68rem;
  color: #94A3B8;
}

.csm-news-headline {
  font-size: 0.82rem;
  font-weight: 700;
  line-height: 1.35;
  color: #0C1B3C;
  margin: 0;
}

.csm-news-headline a {
  color: inherit;
  text-decoration: none;
}

.csm-news-headline a:hover {
  color: #1D4ED8;
}

/* ==========================================================================
   2. RADAR DE MILHAS: 4 COLUNAS COM LOGOS E STATUS VERDE
   ========================================================================== */
.csm-radar-bar-block {
  padding-top: 1rem;
  padding-bottom: 2rem;
}

.csm-radar-top-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1rem;
}

.csm-radar-title-group {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.csm-radar-main-title {
  font-size: 1.25rem;
  font-weight: 900;
  color: #0C1B3C;
  margin: 0;
  letter-spacing: -0.02em;
}

.csm-radar-sub-desc {
  font-size: 0.82rem;
  color: #64748B;
  display: inline-block;
  margin-left: 0.5rem;
}

.csm-radar-more-link {
  font-size: 0.8rem;
  font-weight: 700;
  color: #1D4ED8;
  text-decoration: none;
}

.csm-radar-more-link:hover {
  text-decoration: underline;
}

.csm-radar-cards-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}

.csm-radar-card {
  background-color: #FFFFFF;
  border: 1px solid #E2EAF4;
  border-radius: 8px;
  padding: 1.15rem 1rem;
  box-shadow: 0 1px 3px rgba(12, 27, 60, 0.04);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
  display: grid;
  grid-template-columns: 52px 1fr;
  gap: 0.85rem;
  align-items: flex-start;
  text-decoration: none;
  color: inherit;
}

.csm-radar-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(12, 27, 60, 0.08);
}

.csm-radar-icon-box {
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.csm-radar-big-icon {
  width: 48px;
  height: 48px;
  object-fit: contain;
  display: block;
}

.csm-radar-body-box {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.csm-radar-card-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 0.35rem;
  gap: 0.5rem;
}

.csm-radar-prog-name {
  font-size: 0.78rem;
  font-weight: 800;
  color: #1D4ED8;
  letter-spacing: 0.03em;
  white-space: nowrap;
}

.csm-radar-status {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  flex-shrink: 0;
}

.csm-radar-time {
  font-size: 0.68rem;
  color: #94A3B8;
  white-space: nowrap;
}

.csm-pulse-green {
  width: 7px;
  height: 7px;
  background-color: #10B981;
  border-radius: 50%;
  display: inline-block;
  box-shadow: 0 0 0 2px rgba(16, 185, 129, 0.2);
}

.csm-radar-card-text {
  font-size: 0.82rem;
  line-height: 1.35;
  font-weight: 600;
  color: #0C1B3C;
  margin: 0;
}

.csm-radar-card-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  margin-top: 0.5rem;
  padding: 0.2rem 0.5rem;
  background: #F0FDF4;
  border: 1px solid #BBF7D0;
  border-radius: 4px;
  font-size: 0.72rem;
  color: #166534;
  width: fit-content;
}

.csm-radar-badge-label {
  font-weight: 500;
  color: #15803D;
}

.csm-radar-badge-val {
  font-weight: 800;
  color: #166534;
}

/* ==========================================================================
   3. BLOCO DÚPLICE: COTAÇÃO + CALCULADORA (FUNDO AZUL BEBÊ #F0F7FD)
   ========================================================================== */
.csm-utility-block {
  padding-top: 1rem;
  padding-bottom: 0;
}

.csm-utility-grid {
  display: grid;
  grid-template-columns: 1.85fr 1.15fr;
  gap: 1.5rem;
}

.csm-panel-card {
  background-color: #F0F7FD;
  border: 1px solid #DCEBFE;
  border-radius: 12px;
  padding: 1.5rem;
}

.csm-panel-header-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 1.25rem;
  gap: 1rem;
}

.csm-panel-title-group {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
}

.csm-panel-icon {
  margin-top: 2px;
  flex-shrink: 0;
}

.csm-panel-title {
  font-size: 1.18rem;
  font-weight: 900;
  color: #0C1B3C;
  margin: 0;
  letter-spacing: -0.01em;
}

.csm-panel-desc {
  font-size: 0.78rem;
  color: #64748B;
  margin: 2px 0 0 0;
}

.csm-panel-timestamp {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.72rem;
  color: #64748B;
  white-space: nowrap;
}

/* Tabela de Cotações */
.csm-quotes-table-and-cta {
  display: grid;
  grid-template-columns: 1fr 140px;
  gap: 1.25rem;
  align-items: center;
}

.csm-quotes-table-wrap {
  background: #FFFFFF;
  border-radius: 8px;
  border: 1px solid #E2EAF4;
  overflow: hidden;
}

.csm-table-quotes {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 0.82rem;
}

.csm-table-quotes th {
  background-color: #F8FAFC;
  color: #64748B;
  font-weight: 700;
  font-size: 0.72rem;
  padding: 0.6rem 0.85rem;
  border-bottom: 1px solid #E2EAF4;
}

.csm-table-quotes td {
  padding: 0.65rem 0.85rem;
  border-bottom: 1px solid #F1F5F9;
  color: #0C1B3C;
  font-weight: 600;
}

.csm-table-quotes tr:last-child td {
  border-bottom: none;
}

/* Célula de Programa na Tabela de Cotações */
.csm-table-prog-cell {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.csm-table-prog-icon {
  width: 24px;
  height: 24px;
  object-fit: contain;
  display: block;
}

.csm-table-prog-name {
  font-size: 0.85rem;
  font-weight: 700;
  color: #0C1B3C;
}

/* Ícone da Smiles com cantos arredondados na identidade do tema */
.csm-icon-smiles {
  border-radius: 6px;
  overflow: hidden;
}

.csm-radar-big-icon.csm-icon-smiles {
  border-radius: 10px;
}

.csm-prog-cell {
  display: flex;
  align-items: center;
}

.csm-trend-up {
  color: #10B981;
  font-weight: 900;
  font-size: 1rem;
}

.csm-trend-flat {
  color: #94A3B8;
  font-weight: 800;
}

/* CTA Lateral do Painel de Cotação */
.csm-quotes-side-cta {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.csm-quotes-cta-hint {
  font-size: 0.72rem;
  color: #64748B;
  line-height: 1.35;
  margin: 0.65rem 0 0 0;
}

/* Calculadora Bonificada */
.csm-calc-inputs-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.85rem;
  margin-bottom: 0.85rem;
}

.csm-calc-field label {
  display: block;
  font-size: 0.75rem;
  font-weight: 700;
  color: #0C1B3C;
  margin-bottom: 0.35rem;
}

.csm-input {
  width: 100%;
  padding: 0.6rem 0.75rem;
  background-color: #FFFFFF;
  border: 1px solid #CBD5E1;
  border-radius: 6px;
  font-size: 0.85rem;
  color: #0C1B3C;
  outline: none;
  box-sizing: border-box;
}

.csm-input:focus {
  border-color: #F35D28;
}

/* Presets Rápidos de Bônus na Calculadora */
.csm-calc-presets {
  margin: 0.75rem 0;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.csm-presets-label {
  font-size: 0.74rem;
  font-weight: 700;
  color: #64748B;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.csm-presets-group {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  flex-wrap: wrap;
}

.csm-preset-btn {
  background: #FFFFFF;
  border: 1px solid #CBD5E1;
  border-radius: 6px;
  padding: 0.22rem 0.55rem;
  font-size: 0.78rem;
  font-weight: 700;
  color: #0C1B3C;
  cursor: pointer;
  transition: all 0.15s ease;
}

.csm-preset-btn:hover {
  background: #E2E8F0;
  border-color: #94A3B8;
}

.csm-preset-btn.active {
  background: #FF6B00;
  color: #FFFFFF;
  border-color: #FF6B00;
}

.csm-btn-orange {
  background: linear-gradient(135deg, #F35D28 0%, #E04B16 100%);
  color: #FFFFFF;
  font-weight: 800;
  font-size: 0.88rem;
  padding: 0.65rem 1.25rem;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  text-decoration: none;
  display: inline-block;
  text-align: center;
  box-shadow: 0 2px 6px rgba(243, 93, 40, 0.25);
  transition: transform 0.15s ease;
}

.csm-btn-orange:hover {
  transform: translateY(-1px);
}

.csm-btn-full {
  width: 100%;
}

.csm-calc-footer-note {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.72rem;
  color: #64748B;
  margin-top: 0.75rem;
  line-height: 1.35;
}

/* ==========================================================================
   4. NOTÍCIAS E PROMOÇÕES (3 CARDS PANORÂMICOS)
   ========================================================================== */
.csm-featured-promo-block {
  padding-top: 1rem;
  padding-bottom: 2.5rem;
}

.csm-block-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.25rem;
}

.csm-block-title-group {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.csm-block-heading {
  font-size: 1.25rem;
  font-weight: 900;
  color: #0C1B3C;
  margin: 0;
  letter-spacing: -0.01em;
}

.csm-block-sub {
  font-size: 0.8rem;
  color: #64748B;
  margin: 2px 0 0 0;
}

.csm-see-all-link {
  font-size: 0.82rem;
  font-weight: 700;
  color: #1D4ED8;
  text-decoration: none;
}

.csm-see-all-link:hover {
  text-decoration: underline;
}

.csm-promo-cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.csm-promo-card {
  display: flex;
  flex-direction: column;
}

.csm-promo-thumb {
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 8px;
  overflow: hidden;
  margin-bottom: 0.85rem;
  display: block;
  background-color: #E2E8F0;
}

.csm-promo-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Ilustrações gradiente para cards promocionais */
.csm-thumb-plane-sunset { background: linear-gradient(135deg, #1E3A8A 0%, #EA580C 100%); width: 100%; height: 100%; }
.csm-thumb-resort { background: linear-gradient(135deg, #0284C7 0%, #059669 100%); width: 100%; height: 100%; }
.csm-thumb-cards-passport { background: linear-gradient(135deg, #475569 0%, #7C2D12 100%); width: 100%; height: 100%; }

.csm-promo-card-title {
  font-family: var(--csm-font-editorial);
  font-size: 1.15rem;
  font-weight: 800;
  line-height: 1.25;
  color: #0C1B3C;
  margin: 0 0 0.5rem 0;
  letter-spacing: -0.01em;
}

.csm-promo-card-title a {
  color: inherit;
  text-decoration: none;
}

.csm-promo-card-title a:hover {
  color: #1D4ED8;
}

.csm-promo-card-lead {
  font-size: 0.82rem;
  line-height: 1.45;
  color: #64748B;
  margin: 0;
}

/* ==========================================================================
   4.1 RANKING: MAIS LIDAS DA SEMANA (TOP 5)
   ========================================================================== */
.csm-most-read-block {
  background-color: #F8FAFC;
  border-top: 1px solid #E2EAF4;
  border-bottom: 1px solid #E2EAF4;
  padding: 2.25rem 0 2.5rem;
  margin: 1.5rem 0 2rem;
}

.csm-most-read-header {
  margin-bottom: 1.5rem;
}

.csm-most-read-title-group {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.csm-ranking-icon {
  width: 38px;
  height: 38px;
  border-radius: 8px;
  background-color: #FEF3C7;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.csm-most-read-title {
  font-size: 1.25rem;
  font-weight: 900;
  color: #0C1B3C;
  margin: 0;
  letter-spacing: -0.01em;
}

.csm-most-read-sub {
  font-size: 0.8rem;
  color: #64748B;
  margin: 2px 0 0 0;
}

.csm-most-read-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1.25rem;
}

.csm-ranking-card {
  background-color: #FFFFFF;
  border: 1px solid #E2EAF4;
  border-radius: 8px;
  padding: 1.25rem 1rem;
  display: flex;
  flex-direction: column;
  box-shadow: 0 1px 3px rgba(12, 27, 60, 0.04);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.csm-ranking-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(12, 27, 60, 0.08);
}

.csm-ranking-num-wrap {
  margin-bottom: 0.5rem;
}

.csm-ranking-number {
  font-family: var(--csm-font-sans);
  font-size: 1.75rem;
  font-weight: 900;
  line-height: 1;
  color: #1C1277;
  letter-spacing: -0.03em;
  opacity: 0.85;
}

.csm-ranking-body {
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.csm-ranking-cat {
  font-size: 0.68rem;
  font-weight: 800;
  color: #FF6B00;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 0.35rem;
}

.csm-ranking-headline {
  font-family: var(--csm-font-sans);
  font-size: 0.86rem;
  font-weight: 700;
  line-height: 1.35;
  color: #0C1B3C;
  margin: 0 0 0.85rem 0;
}

.csm-ranking-headline a {
  color: inherit;
  text-decoration: none;
}

.csm-ranking-headline a:hover {
  color: #1D4ED8;
}

.csm-ranking-meta {
  margin-top: auto;
  font-size: 0.72rem;
  color: #94A3B8;
}

/* ==========================================================================
   5. TRILHAS EDITORIAIS: 3 COLUNAS COM MINIATURAS LATERAIS
   ========================================================================== */
.csm-tracks-columns-block {
  padding-top: 1rem;
  padding-bottom: 0;
}

.csm-tracks-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.csm-track-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.15rem;
}

.csm-track-title-wrap {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.csm-track-heading {
  font-size: 1.15rem;
  font-weight: 800;
  color: #0C1B3C;
  margin: 0;
  letter-spacing: -0.01em;
}

.csm-track-link {
  font-size: 0.78rem;
  font-weight: 700;
  color: #1D4ED8;
  text-decoration: none;
}

.csm-track-link:hover {
  text-decoration: underline;
}

.csm-track-items {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.csm-track-item {
  display: grid;
  grid-template-columns: 78px 1fr;
  gap: 0.75rem;
  align-items: center;
}

.csm-track-thumb {
  width: 78px;
  height: 52px;
  border-radius: 6px;
  overflow: hidden;
  background-color: #E2E8F0;
  display: block;
}

.csm-track-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.csm-thumb-beach-walk { background: linear-gradient(135deg, #0EA5E9 0%, #38BDF8 100%); width: 100%; height: 100%; }
.csm-thumb-mobile { background: linear-gradient(135deg, #64748B 0%, #334155 100%); width: 100%; height: 100%; }
.csm-thumb-hand-card { background: linear-gradient(135deg, #D97706 0%, #B45309 100%); width: 100%; height: 100%; }
.csm-thumb-card-black { background: linear-gradient(135deg, #1E293B 0%, #0F172A 100%); width: 100%; height: 100%; }
.csm-thumb-passport-blue { background: linear-gradient(135deg, #2563EB 0%, #1D4ED8 100%); width: 100%; height: 100%; }
.csm-thumb-cards-desk { background: linear-gradient(135deg, #059669 0%, #047857 100%); width: 100%; height: 100%; }
.csm-thumb-night-pool { background: linear-gradient(135deg, #1E1B4B 0%, #312E81 100%); width: 100%; height: 100%; }
.csm-thumb-cliff-beach { background: linear-gradient(135deg, #0D9488 0%, #14B8A6 100%); width: 100%; height: 100%; }
.csm-thumb-plane-wing { background: linear-gradient(135deg, #3B82F6 0%, #60A5FA 100%); width: 100%; height: 100%; }

.csm-track-item-content {
  display: flex;
  flex-direction: column;
}

.csm-track-item-title {
  font-size: 0.82rem;
  font-weight: 700;
  line-height: 1.35;
  color: #0C1B3C;
  margin: 0 0 0.25rem 0;
}

.csm-track-item-title a {
  color: inherit;
  text-decoration: none;
}

.csm-track-item-title a:hover {
  color: #1D4ED8;
}

.csm-track-time {
  font-size: 0.7rem;
  color: #94A3B8;
}

/* ==========================================================================
   6. FAIXA DE PROGRAMAS DE FIDELIDADE (5 CARDS BRANCOS COM SETA)
   ========================================================================== */
.csm-programs-row-block {
  padding-top: 1rem;
  padding-bottom: 2rem;
}

/* 7. BLOCO DE ARTIGOS: PROGRAMAS DE FIDELIDADE */
.csm-featured-programs-articles-block {
  padding-top: 0.5rem;
  padding-bottom: 3.5rem;
}

.csm-featured-articles-footer {
  display: flex;
  justify-content: flex-end;
  margin-top: 1.25rem;
}

.csm-programs-top-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.15rem;
}

.csm-programs-title-group {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.csm-programs-heading {
  font-size: 1.25rem;
  font-weight: 900;
  color: #0C1B3C;
  margin: 0;
  letter-spacing: -0.01em;
}

.csm-programs-sub {
  font-size: 0.8rem;
  color: #64748B;
  display: inline-block;
  margin-left: 0.5rem;
}

.csm-programs-cards-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1rem;
}

.csm-program-card {
  background-color: #FFFFFF;
  border: 1px solid #E2EAF4;
  border-radius: 8px;
  padding: 0.85rem 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  text-decoration: none;
  box-shadow: 0 1px 3px rgba(12, 27, 60, 0.04);
  transition: transform 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease;
}

.csm-program-card:hover {
  transform: translateY(-2px);
  border-color: #CBD5E1;
  box-shadow: 0 4px 12px rgba(12, 27, 60, 0.08);
}

.csm-program-logo-area {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-grow: 1;
  padding: 0 0.5rem;
}

.csm-program-full-logo {
  max-width: 100%;
  max-height: 38px;
  width: auto;
  height: auto;
  object-fit: contain;
  display: block;
}

.csm-chevron {
  font-size: 1.25rem;
  font-weight: 400;
  color: #1D4ED8;
  flex-shrink: 0;
  margin-left: 0.25rem;
}

/* ==========================================================================
   RESPONSIVIDADE (MOBILE E TABLET)
   ========================================================================== */
@media (max-width: 1024px) {
  .csm-hero-grid {
    grid-template-columns: 1fr;
  }
  .csm-hero-sidebar {
    border-left: none;
    padding-left: 0;
    border-top: 1px solid #F1F5F9;
    padding-top: 1.5rem;
  }
  .csm-radar-cards-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .csm-most-read-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .csm-utility-grid {
    grid-template-columns: 1fr;
  }
  .csm-promo-cards-grid {
    grid-template-columns: 1fr;
  }
  .csm-tracks-grid {
    grid-template-columns: 1fr;
  }
  .csm-programs-cards-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .csm-home-top-banner {
    padding-top: 1rem;
    padding-bottom: 0;
  }
  .csm-home-top-banner-link,
  .csm-home-top-banner-img {
    border-radius: 8px;
  }

  .csm-hero-article {
    grid-template-columns: 1fr;
  }
  .csm-quotes-table-and-cta {
    grid-template-columns: 1fr;
  }
  .csm-ticker-inner {
    flex-direction: row;
    gap: 0.5rem;
  }
  .csm-ticker-time {
    display: none;
  }

  /* Mobile UX App-Like: Scroll Snap Horizontal */
  .csm-radar-cards-grid,
  .csm-programs-cards-grid,
  .csm-most-read-grid {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    gap: 0.85rem;
    padding-bottom: 0.75rem;
    scrollbar-width: none;
    margin-left: -1.25rem;
    margin-right: -1.25rem;
    padding-left: 1.25rem;
    padding-right: 1.25rem;
  }
  .csm-radar-cards-grid::-webkit-scrollbar,
  .csm-programs-cards-grid::-webkit-scrollbar,
  .csm-most-read-grid::-webkit-scrollbar {
    display: none;
  }
  .csm-radar-card {
    flex: 0 0 280px;
    scroll-snap-align: start;
  }
  .csm-program-card {
    flex: 0 0 170px;
    scroll-snap-align: start;
  }
  .csm-ranking-card {
    flex: 0 0 250px;
    scroll-snap-align: start;
  }
}
