#artigos.home-articles-showcase {
  position: relative;
  padding: 48px 0;
  background: #f7f5f1;
  border: 0;
  color: #103747;
  font-family: "Segoe UI", Arial, sans-serif;
}

#artigos.home-articles-showcase::after,
#artigos.home-articles-showcase .section-head h2::before,
#artigos.home-articles-showcase .section-head h2::after,
#artigos:is(.home-articles-showcase, .articles-page-cards) .article-card::before,
#artigos:is(.home-articles-showcase, .articles-page-cards) .article-media::after {
  content: none;
}

.home-section-curve::before {
  content: "";
  position: absolute;
  left: 0;
  bottom: calc(100% - 1px);
  width: 100%;
  height: 60px;
  background: inherit;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 70' preserveAspectRatio='none'%3E%3Cpath d='M0 61C350 24 1090 24 1440 61V70H0Z'/%3E%3C/svg%3E") center bottom / 100% 100% no-repeat;
  pointer-events: none;
}

@media (max-width: 780px) {
  .home-section-curve::before {
    height: 40px;
  }
}

#artigos:is(.home-articles-showcase, .articles-page-cards) > .container {
  --articles-grid-width: min(calc((100% - 64px) * 0.7894736842), calc(100% - 284px));
  width: min(1720px, 90%);
  padding: 0;
}

#artigos.home-articles-showcase > .container {
  display: grid;
  grid-template-columns: minmax(220px, 1fr) var(--articles-grid-width);
  gap: 64px;
}

#artigos.home-articles-showcase .section-head {
  margin: 0;
  max-width: 320px;
  text-align: left;
}

#artigos.home-articles-showcase .section-head h2 {
  display: block;
  color: #103747;
  font: 400 clamp(42px, 4vw, 64px)/1.08 Georgia, serif;
  text-transform: none;
  letter-spacing: -.025em;
  margin: 0 0 26px;
}

#artigos.home-articles-showcase .section-head p {
  color: #7c858d;
  font-size: 18px;
  line-height: 1.75;
  margin: 0;
}

#artigos.home-articles-showcase .articles-all-cta {
  justify-content: flex-start;
  margin-top: 48px;
}

#artigos.home-articles-showcase .articles-all-btn {
  box-sizing: border-box;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 46px;
  padding: 12px 20px;
  border: 0;
  border-radius: 23px;
  background: #213e4c;
  color: #fdfcfb;
  text-transform: none;
  letter-spacing: 0;
  font-family: "Figtree", "Segoe UI", Arial, sans-serif;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.2;
  text-decoration: none;
  box-shadow: none;
  transition: background-color .2s ease, transform .35s cubic-bezier(.22, .61, .36, 1);
}

#artigos.home-articles-showcase .articles-all-btn svg {
  display: block;
  flex: 0 0 17px;
  width: 17px;
  height: 17px;
}

#artigos.home-articles-showcase .articles-all-btn:hover {
  transform: translateX(4px);
  background: #304e5b;
  box-shadow: none;
}

#artigos.home-articles-showcase .articles-all-btn:focus-visible {
  outline: 2px solid #b29b78;
  outline-offset: 5px;
}

#artigos:is(.home-articles-showcase, .articles-page-cards) .grid-cards {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

#artigos:is(.home-articles-showcase, .articles-page-cards) .article-card {
  min-height: 0;
  overflow: hidden;
  border-radius: 20px;
  background: #fdfcfb;
}

#artigos:is(.home-articles-showcase, .articles-page-cards) .article-media {
  position: relative;
  inset: auto;
  flex: 0 0 auto;
  height: clamp(170px, 12.2vw, 235px);
  min-height: 0;
  border-radius: 0;
}

#artigos:is(.home-articles-showcase, .articles-page-cards) .article-image {
  display: block;
  height: 100%;
  min-height: 0;
  filter: none;
}

#artigos:is(.home-articles-showcase, .articles-page-cards) .article-topic {
  position: absolute;
  top: 26px;
  left: 26px;
  padding: 9px 20px;
  border-radius: 999px;
  background: #efddb6;
  color: #405563;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
}

#artigos:is(.home-articles-showcase, .articles-page-cards) .article-content {
  display: flex;
  flex-direction: column;
  flex: 1;
  height: auto;
  padding: 20px 26px;
  text-align: left;
  gap: 12px;
}

#artigos:is(.home-articles-showcase, .articles-page-cards) .article-date {
  color: #87909a;
  opacity: 1;
  font-size: 12px;
}

#artigos:is(.home-articles-showcase, .articles-page-cards) .article-card h3 {
  max-width: none;
  margin: 0;
  color: #103747;
  font-size: var(--article-title-size, clamp(20px, 1.5vw, 28px));
  line-height: 1.18;
  text-shadow: none;
}

#artigos:is(.home-articles-showcase, .articles-page-cards) .article-excerpt {
  max-width: none;
  margin: 0 0 10px;
  color: #7c858d;
  font-size: 16px;
  line-height: 1.5;
  opacity: 1;
}

#artigos:is(.home-articles-showcase, .articles-page-cards) .article-link {
  align-self: flex-start;
  justify-content: flex-start;
  gap: 18px;
  width: auto;
  min-height: 0;
  padding: 0 0 8px;
  margin-top: auto;
  border: 0;
  border-bottom: 1px solid #dfcfb2;
  border-radius: 0;
  background: transparent;
  color: #103747;
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 0;
  text-align: left;
  transition: color .2s ease, transform .35s cubic-bezier(.22, .61, .36, 1);
}

#artigos:is(.home-articles-showcase, .articles-page-cards) .article-link svg {
  display: block;
  flex: 0 0 17px;
  width: 17px;
  height: 17px;
}

#artigos:is(.home-articles-showcase, .articles-page-cards) .article-link:hover {
  transform: translateX(4px);
  box-shadow: none;
  filter: none;
  color: #456574;
}

@media (max-width: 1100px) {
  #artigos:is(.home-articles-showcase, .articles-page-cards) > .container {
    --articles-grid-width: 100%;
  }

  #artigos.home-articles-showcase > .container {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  #artigos.home-articles-showcase .section-head {
    max-width: 600px;
  }

  #artigos.home-articles-showcase .articles-all-cta {
    margin-top: 24px;
  }

  #artigos:is(.home-articles-showcase, .articles-page-cards) .article-content {
    padding: 20px;
  }
}

@media (max-width: 700px) {
  #artigos.home-articles-showcase {
    padding: 32px 0;
  }

  #artigos.home-articles-showcase .articles-all-cta {
    display: flex;
    justify-content: center;
  }

  #artigos:is(.home-articles-showcase, .articles-page-cards) .grid-cards {
    grid-template-columns: 1fr;
  }

  #artigos:is(.home-articles-showcase, .articles-page-cards) .article-media {
    height: 230px;
  }

  #artigos.home-articles-showcase .articles-all-btn {
    min-height: 44px;
    padding: 10px 18px;
    border-radius: 22px;
    gap: 8px;
    font-size: 13px;
  }

  #artigos.home-articles-showcase .articles-all-btn svg {
    flex-basis: 15px;
    width: 15px;
    height: 15px;
  }
}

@media (prefers-reduced-motion: reduce) {
  #artigos:is(.home-articles-showcase, .articles-page-cards) .article-card {
    transition: none;
  }

  #artigos:is(.home-articles-showcase, .articles-page-cards) .article-link {
    transition: none;
  }

  #artigos.home-articles-showcase .articles-all-btn {
    transition: none;
  }
}

#artigos.articles-page-cards .grid-cards {
  width: var(--articles-grid-width);
  margin-inline: auto;
  font-family: "Segoe UI", Arial, sans-serif;
}

.articles-page-heading {
  text-align: center;
}

.articles-page-heading h2 {
  color: var(--primary);
  font: 700 clamp(36px, 4vw, 60px)/1.1 "Figtree", "Segoe UI", sans-serif;
  letter-spacing: 0;
}

.articles-page-heading p {
  margin-bottom: 24px;
}

.articles-search {
  position: relative;
  width: min(100%, 550px);
  margin-inline: auto;
  color: var(--primary);
}

.articles-search svg {
  position: absolute;
  left: 20px;
  top: 50%;
  width: 20px;
  height: 20px;
  transform: translateY(-50%);
  pointer-events: none;
}

.articles-search input {
  width: 100%;
  height: 44px;
  padding: 8px 20px 8px 50px;
  border: 1px solid transparent;
  border-radius: 14px;
  outline: none;
  background: var(--card);
  color: var(--text);
}

.articles-search input::-webkit-search-cancel-button {
  display: none;
}

.articles-search input::placeholder {
  color: var(--muted);
  opacity: 1;
}

#articleSearchEmpty {
  text-align: center;
  color: var(--muted);
}

@media (min-width: 1101px) {
  #artigos.home-articles-showcase {
    --article-title-size: clamp(20px, 1.25vw, 24px);
  }

  .articles-page-cards .articles-search input {
    height: 54px;
  }
}
