/**
 * Blog Andressa: layout próprio (sem Bootstrap do template CMS).
 */
.cms-blog-list,
.cms-blog-article {
  max-width: 1200px;
  margin: 0 auto;
  padding: 7.5rem 20px 4rem;
}

@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 #e4e2dd;
  padding-bottom: 1.5rem;
}

.cms-blog-list__title,
.cms-blog-article__title {
  font-family: "Libre Caslon Text", serif;
  color: #3E5336;
  letter-spacing: -0.02em;
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  line-height: 1.2;
  font-weight: 700;
  margin: 0 0 0.75rem;
}

.cms-blog-list__intro,
.cms-blog-article__meta {
  color: #43483d;
  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: #f4dfcb;
  color: #716252;
}

.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(62, 83, 54, 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(62, 83, 54, 0.12);
}

.cms-blog-card__img-wrap {
  display: block;
  overflow: hidden;
  background: #f0eee9;
}

.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: #73796c;
  font-size: 0.8rem;
  margin-bottom: 0.5rem;
}

.cms-blog-card__title {
  font-family: "Libre Caslon Text", serif;
  font-size: 1.2rem;
  line-height: 1.35;
  margin: 0 0 0.65rem;
}

.cms-blog-card__title a {
  color: #3E5336;
  text-decoration: none;
}

.cms-blog-card__title a:hover {
  color: #42642c;
}

.cms-blog-card__excerpt {
  color: #43483d;
  font-size: 0.95rem;
  line-height: 1.5;
  margin: 0 0 1rem;
  flex: 1;
}

.cms-blog-card__link {
  color: #42642c;
  font-weight: 600;
  font-size: 0.9rem;
  text-decoration: none;
}

.cms-blog-card__link:hover {
  text-decoration: underline;
}

/* Artigo */
.cms-blog-article {
  max-width: 760px;
}

.cms-blog-article__header a {
  color: #42642c;
  text-decoration: none;
  font-weight: 600;
}

.cms-blog-article__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.25rem;
  color: #73796c;
  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: #43483d;
  font-size: 1.05rem;
  line-height: 1.75;
}

.cms-blog-article__body h2,
.cms-blog-article__body h3 {
  font-family: "Libre Caslon Text", serif;
  color: #3E5336;
  margin: 1.75rem 0 0.75rem;
}

.cms-blog-article__body p {
  margin: 0 0 1.1rem;
}

.cms-blog-article__body img {
  max-width: 100%;
  height: auto;
  border-radius: 0.75rem;
}

.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: #3E5336;
  text-decoration: none;
  border: 1px solid #e4e2dd;
}

.cms-blog-pagination .page-item.active .page-link,
.cms-blog-pagination .page-link:hover {
  background: #42642c;
  color: #fff;
  border-color: #42642c;
}

.cms-blog-pagination .page-item.disabled .page-link {
  opacity: 0.45;
  pointer-events: none;
}
