.campanhas-page {
  max-width: 1100px;
  margin: 0 auto;
  padding: 8px 0 32px;
}

.campanhas-page__intro h1 {
  margin: 0 0 12px;
  font-size: clamp(1.6rem, 2.4vw, 2.1rem);
}

.campanhas-page__lead {
  margin: 0 0 24px;
  white-space: pre-wrap;
  line-height: 1.55;
}

.campanhas-page__empty {
  margin: 8px 0 0;
}

.campanhas-page__back {
  margin: 0 0 16px;
}

.campanhas-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 20px;
}

.campanhas-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  background: var(--cs-card-bg, #fff);
  border: 1px solid rgba(13, 71, 161, 0.12);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 6px 18px rgba(13, 27, 62, 0.06);
}

.campanhas-card__media {
  display: block;
  aspect-ratio: 16 / 10;
  background: #0a3d91;
}

.campanhas-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.campanhas-card__body {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 16px 16px 18px;
  flex: 1;
  min-width: 0;
}

.campanhas-card__title {
  margin: 0;
  font-size: 1.15rem;
  line-height: 1.3;
}

.campanhas-card__title a {
  color: inherit;
  text-decoration: none;
}

.campanhas-card__excerpt,
.campanhas-card__period {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.45;
}

.campanhas-card__excerpt {
  overflow-wrap: anywhere;
  word-break: break-word;
  max-width: 100%;
}

.campanhas-card__period {
  color: #35507a;
}

.campanhas-card__more {
  margin-top: auto;
  padding-top: 8px;
}

.campanhas-detail h1 {
  margin: 0 0 8px;
}

.campanhas-detail__period {
  margin: 0 0 16px;
  color: #35507a;
}

.campanhas-detail__media {
  margin: 0 0 20px;
  border-radius: 14px;
  overflow: hidden;
}

.campanhas-detail__media img {
  display: block;
  width: 100%;
  max-height: 420px;
  object-fit: cover;
}

.campanhas-detail__excerpt,
.campanhas-detail__conditions {
  margin: 0 0 20px;
  line-height: 1.55;
  overflow-wrap: anywhere;
  word-break: break-word;
  max-width: 100%;
  overflow-x: hidden;
}

.campanhas-detail__conditions h2 {
  margin: 0 0 8px;
  font-size: 1.15rem;
}

.campanhas-detail__cta {
  margin: 8px 0 0;
}

@media (max-width: 640px) {
  .campanhas-grid {
    grid-template-columns: 1fr;
  }

  .campanhas-detail__media img {
    max-height: 240px;
  }
}
