/**
 * Blog Guardião do Aposentado: layout próprio (sem Bootstrap do template CMS).
 * Cores: navy #000941, CTA laranja #fc7129, Plus Jakarta Sans (herda do kit).
 */
.cms-blog-list,
.cms-blog-article {
  max-width: 1200px;
  margin: 0 auto;
  padding: 7.5rem 20px 4rem;
  font-family: "Plus Jakarta Sans", system-ui, sans-serif;
}

@media (min-width: 768px) {
  .cms-blog-list,
  .cms-blog-article {
    padding-left: 24px;
    padding-right: 24px;
  }
}

.cms-blog-list__header {
  margin-bottom: 2.5rem;
  border-bottom: 1px solid #e9e8e5;
  padding-bottom: 1.5rem;
}

.cms-blog-list__title,
.cms-blog-article__title {
  font-family: "Plus Jakarta Sans", system-ui, sans-serif;
  color: #000941;
  letter-spacing: -0.02em;
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  line-height: 1.2;
  font-weight: 800;
  margin: 0 0 0.75rem;
}

.cms-blog-list__intro,
.cms-blog-article__meta {
  color: #4b5267;
  font-size: 1.05rem;
  line-height: 1.6;
  margin: 0;
}

.cms-blog-geo-box {
  margin-top: 1.25rem;
  padding: 1rem 1.25rem;
  border-radius: 1rem;
  background: #ffdbcd;
  color: #5c2000;
}

.cms-blog-geo-box__label {
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-size: 0.75rem;
  font-weight: 600;
  margin: 0 0 0.5rem;
}

/* Grid de cards sem Bootstrap */
.cms-blog-list .row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  margin: 0;
}

@media (min-width: 768px) {
  .cms-blog-list .row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1024px) {
  .cms-blog-list .row {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.cms-blog-list .row > [class*="col-"] {
  width: 100%;
  max-width: none;
  padding: 0;
}

.cms-blog-card {
  height: 100%;
  display: flex;
  flex-direction: column;
  border-radius: 1rem;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 4px 16px rgba(0, 9, 65, 0.08);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.cms-blog-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 28px rgba(0, 9, 65, 0.12);
}

.cms-blog-card__img-wrap {
  display: block;
  overflow: hidden;
  background: #f4f3f0;
}

.cms-blog-card__img,
.cms-blog-card__img-wrap img {
  display: block;
  width: 100%;
  height: 220px;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.cms-blog-card:hover .cms-blog-card__img,
.cms-blog-card:hover .cms-blog-card__img-wrap img {
  transform: scale(1.05);
}

.cms-blog-card__body {
  padding: 1.25rem 1.35rem 1.5rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.cms-blog-card__date {
  color: #4b5267;
  font-size: 0.8rem;
  margin-bottom: 0.5rem;
}

.cms-blog-card__title {
  font-family: "Plus Jakarta Sans", system-ui, sans-serif;
  font-size: 1.2rem;
  line-height: 1.35;
  font-weight: 700;
  margin: 0 0 0.65rem;
}

.cms-blog-card__title a {
  color: #000941;
  text-decoration: none;
}

.cms-blog-card__title a:hover {
  color: #fc7129;
}

.cms-blog-card__excerpt {
  color: #4b5267;
  font-size: 0.95rem;
  line-height: 1.5;
  margin: 0 0 1rem;
  flex: 1;
}

.cms-blog-card__link {
  color: #fc7129;
  font-weight: 600;
  font-size: 0.9rem;
  text-decoration: none;
}

.cms-blog-card__link:hover {
  text-decoration: underline;
  color: #d8550e;
}

/* Artigo */
.cms-blog-article {
  max-width: 760px;
}

.cms-blog-article__header a {
  color: #fc7129;
  text-decoration: none;
  font-weight: 600;
}

.cms-blog-article__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.25rem;
  color: #4b5267;
  font-size: 0.9rem;
  margin-top: 0.75rem;
}

.cms-blog-article__hero {
  margin: 1.5rem 0 0;
}

.cms-blog-article__hero img,
.cms-blog-article__hero .w-100 {
  width: 100%;
  max-height: 420px;
  object-fit: cover;
  border-radius: 1rem;
  display: block;
}

.cms-blog-article__body {
  margin-top: 2rem;
  color: #0e1326;
  font-size: 1.05rem;
  line-height: 1.75;
}

.cms-blog-article__body h2,
.cms-blog-article__body h3 {
  font-family: "Plus Jakarta Sans", system-ui, sans-serif;
  color: #000941;
  font-weight: 700;
  margin: 1.75rem 0 0.75rem;
}

.cms-blog-article__body p {
  margin: 0 0 1.1rem;
}

.cms-blog-article__body ul {
  margin: 0 0 1.25rem;
  padding-left: 1.25rem;
}

.cms-blog-article__body li {
  margin-bottom: 0.4rem;
}

.cms-blog-article__body img {
  max-width: 100%;
  height: auto;
  border-radius: 0.75rem;
}

.cms-blog-article__body a {
  color: #fc7129;
}

.cms-blog-pagination {
  margin-top: 3rem;
}

.cms-blog-pagination .pagination {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  list-style: none;
  padding: 0;
  margin: 0;
}

.cms-blog-pagination .page-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2.5rem;
  height: 2.5rem;
  padding: 0 0.75rem;
  border-radius: 0.75rem;
  background: #fff;
  color: #000941;
  text-decoration: none;
  border: 1px solid #e9e8e5;
}

.cms-blog-pagination .page-item.active .page-link,
.cms-blog-pagination .page-link:hover {
  background: #fc7129;
  color: #fff;
  border-color: #fc7129;
}

.cms-blog-pagination .page-item.disabled .page-link {
  opacity: 0.45;
  pointer-events: none;
}

/* Pontos / entidades / FAQ (tema sem Bootstrap) */
.cms-blog-geo-points {
  margin: 1.25rem 0 1.5rem;
  padding: 1rem 1.25rem;
  border-radius: 1rem;
  background: #f5f6fa;
  border: 1px solid #e9e8e5;
}

.cms-blog-geo-points .small,
.cms-blog-geo-points p {
  color: #4b5267;
  margin: 0 0 0.65rem;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.cms-blog-geo-points ul {
  margin: 0;
  padding-left: 1.15rem;
  color: #0e1326;
}

.cms-blog-geo-points li {
  margin-bottom: 0.35rem;
}

.cms-blog-article__entities .badge,
.cms-blog-article__entities span.badge {
  display: inline-flex;
  align-items: center;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  background: #ffdbcd;
  color: #5c2000;
  font-size: 0.8rem;
  font-weight: 600;
}

.cms-blog-faq {
  margin-top: 2.5rem;
}

.cms-blog-faq h2,
.cms-blog-faq #cms-blog-faq-title {
  color: #000941;
  font-size: 1.35rem;
  font-weight: 800;
  margin: 0 0 1rem;
}

.cms-blog-faq__list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.cms-blog-faq__item {
  border: 1px solid #e9e8e5;
  border-radius: 1rem;
  background: #fff;
  box-shadow: 0 2px 10px rgba(0, 9, 65, 0.04);
  overflow: hidden;
}

.cms-blog-faq__question {
  cursor: pointer;
  list-style: none;
  padding: 1rem 1.2rem;
  font-weight: 700;
  color: #000941;
  line-height: 1.4;
}

.cms-blog-faq__question::-webkit-details-marker {
  display: none;
}

.cms-blog-faq__question::after {
  content: "+";
  float: right;
  color: #fc7129;
  font-weight: 800;
}

.cms-blog-faq__item[open] .cms-blog-faq__question::after {
  content: "-";
}

.cms-blog-faq__answer {
  padding: 0 1.2rem 1.15rem;
  color: #4b5267;
  line-height: 1.65;
  font-size: 0.98rem;
}
