/* Isolated blog archive module. */

body {
  background: #f4f4f4;
}

.nexo-blog {
  --nexo-blog-accent: #ec641c;
  --nexo-blog-accent-dark: #c94e0d;
  --nexo-blog-ink: #202020;
  --nexo-blog-muted: #686868;
  --nexo-blog-line: #dedede;
  --nexo-blog-surface: #ffffff;
  background: #f4f4f4;
  color: var(--nexo-blog-ink);
  padding: clamp(8rem, 10vw, 10rem) 1.25rem clamp(2.5rem, 6vw, 5.5rem);
}

.nexo-blog *,
.nexo-blog *::before,
.nexo-blog *::after {
  box-sizing: border-box;
}

.nexo-blog__container {
  margin: 0 auto;
  max-width: 73.75rem;
  width: 100%;
}

.nexo-blog__title {
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  height: 1px;
  overflow: hidden;
  position: absolute;
  white-space: nowrap;
  width: 1px;
}

.nexo-blog a {
  color: inherit;
  text-decoration: none;
}

.nexo-blog img {
  display: block;
  max-width: 100%;
}

.nexo-blog-featured {
  background: var(--nexo-blog-surface);
  border: 1px solid var(--nexo-blog-line);
  border-radius: 1.25rem;
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(20rem, 0.75fr);
  min-height: 28rem;
  overflow: hidden;
}

.nexo-blog-featured__media,
.nexo-blog-card__media {
  background: #d9d9d9;
  display: block;
  overflow: hidden;
  position: relative;
}

.nexo-blog-featured__media img,
.nexo-blog-card__media img {
  height: 100%;
  object-fit: cover;
  transition: transform 300ms ease;
  width: 100%;
}

.nexo-blog-featured:hover .nexo-blog-featured__media img,
.nexo-blog-card:hover .nexo-blog-card__media img {
  transform: scale(1.025);
}

.nexo-blog-featured__media--placeholder,
.nexo-blog-card__media--placeholder {
  align-items: center;
  background: linear-gradient(
    135deg,
    #292929 0%,
    #454545 70%,
    var(--nexo-blog-accent) 150%
  );
  display: flex;
  justify-content: center;
}

.nexo-blog__placeholder-text {
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.nexo-blog-featured__content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(2rem, 4vw, 3.75rem);
}

.nexo-blog-featured__category,
.nexo-blog-card__category,
.nexo-blog-popular-card__category {
  color: var(--nexo-blog-accent);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.nexo-blog-featured__eyebrow {
  color: var(--nexo-blog-muted);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  margin: 0.9rem 0 0;
  text-transform: uppercase;
}

.nexo-blog-featured__title {
  font-size: clamp(2rem, 3.4vw, 3.25rem);
  letter-spacing: -0.035em;
  line-height: 1.04;
  margin: 0.6rem 0 1rem;
}

.nexo-blog-featured__title a:hover,
.nexo-blog-card__title a:hover,
.nexo-blog-popular-card__title a:hover {
  color: var(--nexo-blog-accent);
}

.nexo-blog-featured__excerpt,
.nexo-blog-card__excerpt {
  color: var(--nexo-blog-muted);
  line-height: 1.65;
  margin: 0 0 1.5rem;
}

.nexo-blog-featured__button,
.nexo-blog-card__button {
  align-items: center;
  align-self: flex-start;
  background: var(--nexo-blog-accent);
  border-radius: 999px;
  color: #fff !important;
  display: inline-flex;
  font-size: 0.88rem;
  font-weight: 700;
  justify-content: center;
  min-height: 2.75rem;
  padding: 0.7rem 1.4rem;
  transition:
    background-color 180ms ease,
    transform 180ms ease;
}

.nexo-blog-featured__button:hover,
.nexo-blog-card__button:hover,
.nexo-blog-featured__button:focus-visible,
.nexo-blog-card__button:focus-visible {
  background: var(--nexo-blog-accent-dark);
  transform: translateY(-1px);
}

.nexo-blog-filters {
  align-items: flex-end;
  border-bottom: 1px solid var(--nexo-blog-line);
  display: flex;
  gap: 2rem;
  justify-content: space-between;
  margin: 2.5rem 0;
  padding-bottom: 1.25rem;
}

.nexo-blog-categories {
  display: flex;
  gap: 0.35rem;
  overflow-x: auto;
  scrollbar-width: thin;
}

.nexo-blog-categories__link {
  border-radius: 999px;
  font-size: 0.88rem;
  font-weight: 600;
  padding: 0.65rem 1rem;
  white-space: nowrap;
}

.nexo-blog-categories__link:hover,
.nexo-blog-categories__link.is-active {
  background: var(--nexo-blog-ink);
  color: #fff;
}

.nexo-blog-search {
  flex: 0 0 19rem;
}

.nexo-blog-search__label {
  display: block;
  font-size: 0.75rem;
  font-weight: 700;
  margin-bottom: 0.4rem;
}

.nexo-blog-search__control {
  display: flex;
}

.nexo-blog-search__input {
  background: var(--nexo-blog-surface);
  border: 1px solid var(--nexo-blog-line);
  border-radius: 0.6rem 0 0 0.6rem;
  color: var(--nexo-blog-ink);
  font: inherit;
  min-width: 0;
  padding: 0.75rem 0.9rem;
  width: 100%;
}

.nexo-blog-search__button {
  background: var(--nexo-blog-ink);
  border: 0;
  border-radius: 0 0.6rem 0.6rem 0;
  color: #fff;
  cursor: pointer;
  font: inherit;
  font-size: 0.82rem;
  font-weight: 700;
  padding: 0.75rem 1rem;
}

.nexo-blog__body {
  align-items: start;
  display: grid;
  gap: 2.5rem;
  grid-template-columns: 17.5rem minmax(0, 1fr);
}

.nexo-blog-sidebar {
  display: grid;
  gap: 1.5rem;
  position: sticky;
  top: 1.5rem;
}

.nexo-blog-popular,
.nexo-blog-catalog-cta {
  background: var(--nexo-blog-surface);
  border: 1px solid var(--nexo-blog-line);
  border-radius: 1rem;
}

.nexo-blog-popular {
  padding: 1.5rem;
}

.nexo-blog-sidebar__title {
  font-size: 1.35rem;
  margin: 0 0 0.75rem;
}

.nexo-blog-popular-card {
  border-top: 1px solid var(--nexo-blog-line);
  display: grid;
  gap: 0.8rem;
  grid-template-columns: 2rem minmax(0, 1fr);
  padding: 1rem 0;
}

.nexo-blog-popular-card__index {
  color: #bcbcbc;
  font-size: 1.2rem;
  font-weight: 700;
}

.nexo-blog-popular-card__title {
  font-size: 0.92rem;
  line-height: 1.35;
  margin: 0.3rem 0 0;
}

/* Ajuste visual do bloco Mais lidos na página Blog */
.nexo-blog .nexo-blog-sidebar__title {
  font-weight: 700;
}

.nexo-blog .nexo-blog-popular-card__title {
  font-weight: 500;
}

.nexo-blog .nexo-blog-popular-card__title a {
  font-weight: inherit;
}

.nexo-blog-catalog-cta {
  align-items: flex-end;
  background: var(--nexo-blog-ink);
  color: #fff !important;
  display: grid;
  gap: 0.8rem;
  grid-template-columns: 1fr auto;
  min-height: 15rem;
  overflow: hidden;
  padding: 1.5rem;
  position: relative;
}

.nexo-blog-catalog-cta__image {
  height: 100%;
  inset: 0;
  object-fit: cover;
  object-position: center;
  position: absolute;
  width: 100%;
}

.nexo-blog-catalog-cta::after {
  background: linear-gradient(
    180deg,
    rgba(0, 0, 0, 0.62) 0%,
    rgba(0, 0, 0, 0.72) 55%,
    rgba(0, 0, 0, 0.88) 100%
  );
  content: "";
  inset: 0;
  pointer-events: none;
  position: absolute;
}

.nexo-blog-catalog-cta__label,
.nexo-blog-catalog-cta__arrow {
  font-size: 1.15rem;
  font-weight: 700;
  position: relative;
  z-index: 1;
}

.nexo-blog-catalog-cta__arrow {
  color: var(--nexo-blog-accent);
  font-size: 1.6rem;
}

.nexo-blog__grid {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.nexo-blog-card {
  background: var(--nexo-blog-surface);
  border: 1px solid var(--nexo-blog-line);
  border-radius: 1rem;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.nexo-blog-card__media {
  aspect-ratio: 16 / 9;
}

.nexo-blog-card__content {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 1.5rem;
}

.nexo-blog-card__title {
  font-size: clamp(1.2rem, 2vw, 1.55rem);
  line-height: 1.2;
  margin: 0.65rem 0 0.8rem;
}

.nexo-blog-card__excerpt {
  font-size: 0.92rem;
}

.nexo-blog-card__button {
  margin-top: auto;
}

.nexo-blog__empty {
  background: var(--nexo-blog-surface);
  border: 1px solid var(--nexo-blog-line);
  border-radius: 1rem;
  padding: 2.5rem;
  text-align: center;
}

.nexo-blog__empty h2,
.nexo-blog__empty p {
  margin: 0;
}

.nexo-blog__empty p {
  color: var(--nexo-blog-muted);
  margin-top: 0.5rem;
}

.nexo-blog-pagination {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  justify-content: center;
  margin-top: 2.5rem;
}

.nexo-blog-pagination .page-numbers {
  align-items: center;
  background: var(--nexo-blog-surface);
  border: 1px solid var(--nexo-blog-line);
  border-radius: 0.55rem;
  display: inline-flex;
  font-size: 0.88rem;
  font-weight: 700;
  justify-content: center;
  min-height: 2.6rem;
  min-width: 2.6rem;
  padding: 0.55rem 0.8rem;
}

.nexo-blog-pagination .page-numbers.current,
.nexo-blog-pagination a.page-numbers:hover {
  background: var(--nexo-blog-accent);
  border-color: var(--nexo-blog-accent);
  color: #fff;
}

.nexo-blog :focus-visible {
  outline: 3px solid rgba(236, 100, 28, 0.45);
  outline-offset: 3px;
}

/* ==========================================================================
   Blog: arredondamento dos botões
   ========================================================================== */

.nexo-blog-featured__button,
.nexo-blog-card__button,
.nexo-blog-categories__link,
.nexo-blog-pagination .page-numbers {
  border-radius: 8px;
}

.nexo-blog-search__input {
  border-radius: 8px 0 0 8px;
}

.nexo-blog-search__button {
  border-radius: 0 8px 8px 0;
}

@media (max-width: 64rem) {
  .nexo-blog-featured {
    grid-template-columns: 1.1fr 0.9fr;
    min-height: 24rem;
  }

  .nexo-blog-filters {
    align-items: stretch;
    flex-direction: column;
    gap: 1rem;
  }

  .nexo-blog-search {
    flex-basis: auto;
    max-width: 28rem;
  }

  .nexo-blog__body {
    grid-template-columns: 1fr;
  }

  .nexo-blog-sidebar {
    grid-template-columns: minmax(0, 1.4fr) minmax(14rem, 0.6fr);
    position: static;
  }
}

@media (max-width: 47.9375rem) {
  .nexo-blog {
    padding: clamp(7rem, 28vw, 9rem) 1rem 3rem;
  }

  .nexo-blog-featured {
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .nexo-blog-featured__media {
    aspect-ratio: 16 / 10;
  }

  .nexo-blog-featured__content {
    padding: 1.5rem;
  }

  .nexo-blog-featured__title {
    font-size: 1.85rem;
  }

  .nexo-blog-filters {
    margin: 1.5rem 0;
  }

  .nexo-blog-categories {
    margin-right: -1rem;
    padding-right: 1rem;
  }

  .nexo-blog-search {
    max-width: none;
    width: 100%;
  }

  .nexo-blog__body,
  .nexo-blog-sidebar {
    gap: 1.25rem;
    grid-template-columns: 1fr;
  }

  .nexo-blog__grid {
    grid-template-columns: 1fr;
  }

  .nexo-blog-catalog-cta {
    min-height: 12rem;
  }
}

/* ==========================================================================
   Blog: controles do carrossel de destaques
   ========================================================================== */

.nexo-blog-featured-slider {
  position: relative;
}

.nexo-blog-featured-slider__track {
  position: relative;
  overflow: hidden;
  border-radius: 10px;
}

.nexo-blog-featured[hidden] {
  display: none !important;
}

.nexo-blog-featured-slider__dots {
  display: flex;
  gap: 7px;
  align-items: center;
  justify-content: center;
  margin: 10px 0 22px;
}

.nexo-blog-featured-slider__dots button {
  width: 8px;
  height: 8px;
  padding: 0;
  background: rgba(31, 35, 34, 0.22);
  border: 0;
  border-radius: 50%;
  cursor: pointer;
  transition:
    background-color 180ms ease,
    transform 180ms ease;
}

.nexo-blog-featured-slider__dots button:hover,
.nexo-blog-featured-slider__dots button:focus-visible {
  transform: scale(1.2);
}

.nexo-blog-featured-slider__dots button.is-active {
  background: var(--nexo-blog-accent, #f75c00);
}
/* ==========================================================================
   Blog: introdução e categorias
   ========================================================================== */

.nexo-blog-intro {
  padding: 0 0 14px;
}

.nexo-blog-intro .nexo-blog__title {
  position: static;
  display: block;
  width: auto;
  height: auto;
  margin: 0;
  overflow: visible;
  clip: auto;
  clip-path: none;
  color: #1f2322;
  font-size: clamp(22px, 2.15vw, 28px);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  white-space: normal;
}

.nexo-blog-intro__description {
  max-width: 660px;
  margin: 8px 0 0;
  color: #1f2322;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

/*
 * Categorias exibidas dentro dos cards e da lateral.
 */
.nexo-blog a.nexo-blog-card__category,
.nexo-blog a.nexo-blog-featured__category,
.nexo-blog .nexo-blog-popular-card__category {
  color: var(--nexo-blog-accent, #f75c00);
  font-size: 12px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: 0;
  text-transform: none;
}

/*
 * Filtros do blog permanecem escuros, mas recebem a linha laranja
 * no item ativo e no hover, conforme a referência.
 */
.nexo-blog a.nexo-blog-categories__link {
  position: relative;
  padding: 0 0 9px;
  color: #2f3331;
  background: transparent;
  border-radius: 0;
  font-size: 12px;
  font-weight: 700;
  text-decoration: none;
}

.nexo-blog a.nexo-blog-categories__link::after {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 2px;
  background: transparent;
  content: "";
}

.nexo-blog a.nexo-blog-categories__link:hover,
.nexo-blog a.nexo-blog-categories__link.is-active {
  color: #2f3331;
  background: transparent;
}

.nexo-blog a.nexo-blog-categories__link:hover::after,
.nexo-blog a.nexo-blog-categories__link.is-active::after {
  background: var(--nexo-blog-accent, #f75c00);
}

.nexo-blog-categories {
  gap: 10px 22px;
}

@media (max-width: 47.9375rem) {
  .nexo-blog-intro .nexo-blog__title {
    font-size: 24px;
  }
}

/* ==========================================================================
   Blog: barra de categorias, busca e paginação atual
   ========================================================================== */

.nexo-blog-filters {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 34px;
  align-items: center;
  margin: 0 0 36px;
  padding: 0;
  border-bottom: 0;
}

.nexo-blog-filters__actions {
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-items: stretch;
}

.nexo-blog-search {
  flex: none;
  width: 100%;
  max-width: none;
}

.nexo-blog-search__label {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  white-space: nowrap;
  border: 0;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
}

.nexo-blog-search__control {
  display: flex;
  min-height: 42px;
  overflow: hidden;
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 1px 0 rgba(31, 35, 34, 0.12);
}

.nexo-blog-search__input {
  flex: 1;
  min-width: 0;
  padding: 0 15px;
  background: transparent;
  border: 0;
  border-radius: 0;
  color: #1f2322;
  font-family: inherit;
  font-size: 13px;
  outline: 0;
}

.nexo-blog-search__button {
  width: 48px;
  padding: 0;
  background: var(--nexo-blog-accent, #f75c00);
  border: 0;
  border-radius: 0;
  color: #fff;
  cursor: pointer;
  font-family: inherit;
  font-size: 18px;
  font-weight: 800;
}

.nexo-blog-search__button:hover,
.nexo-blog-search__button:focus-visible {
  background: var(--nexo-blog-accent-dark, #d94b00);
}

.nexo-blog-page-status {
  margin: 0;
  color: #727775;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.2;
  text-align: right;
}

.nexo-blog-page-status span {
  color: var(--nexo-blog-accent, #f75c00);
}

@media (max-width: 64rem) {
  .nexo-blog-filters {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .nexo-blog-filters__actions {
    width: min(100%, 320px);
  }

  .nexo-blog-page-status {
    text-align: left;
  }
}

@media (max-width: 47.9375rem) {
  .nexo-blog-filters__actions {
    width: 100%;
  }
}

/* ==========================================================================
   Blog: listagem, lateral e cards
   ========================================================================== */

.nexo-blog__body {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  gap: 34px;
  align-items: start;
}

/* Lateral */

.nexo-blog-sidebar {
  position: sticky;
  top: 120px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 22px;
}

.nexo-blog-popular {
  width: 100%;
  padding: 0;
  overflow: hidden;
  background: #fff;
  border: 1px solid rgba(31, 35, 34, 0.16);
  border-radius: 10px;
  box-shadow: 0 8px 20px rgba(31, 35, 34, 0.025);
}

.nexo-blog-sidebar__title {
  margin: 0;
  padding: 13px 14px 10px;
  color: #1f2322;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
  border-bottom: 1px solid rgba(31, 35, 34, 0.12);
}

.nexo-blog-popular__list {
  padding: 0 13px 11px;
}

.nexo-blog-popular-card {
  display: block;
  min-width: 0;
  padding: 12px 0;
  border-top: 1px solid rgba(31, 35, 34, 0.12);
}

.nexo-blog-popular-card:first-child {
  border-top: 0;
}

.nexo-blog-popular-card:last-child {
  padding-bottom: 0;
}

.nexo-blog-popular-card__index {
  display: none;
}

.nexo-blog-popular-card__category {
  display: block;
  margin-bottom: 6px;
  color: var(--nexo-blog-accent, #f75c00);
  font-size: 10px;
  font-weight: 800;
  line-height: 1.2;
}

.nexo-blog .nexo-blog-popular-card__title {
  display: -webkit-box;
  margin: 0;
  overflow: hidden;
  color: #1f2322;
  font-size: 12px;
  font-weight: 400;
  line-height: 1.22;
  letter-spacing: -0.02em;
  text-overflow: ellipsis;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

.nexo-blog .nexo-blog-popular-card__title a {
  color: inherit;
  font-weight: inherit;
}

.nexo-blog .nexo-blog-popular-card__title a:hover {
  color: var(--nexo-blog-accent, #f75c00);
}

/* Banner do catálogo */

.nexo-blog-catalog-cta {
  position: relative;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 0;
  min-height: 312px;
  padding: 0 16px 18px;
  overflow: hidden;
  color: #fff !important;
  background-color: #1f2322;
  border: 0;
  border-radius: 10px;
}

.nexo-blog-catalog-cta__image {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.nexo-blog-catalog-cta::after {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    180deg,
    rgba(0, 0, 0, 0) 42%,
    rgba(0, 0, 0, 0.48) 100%
  );
  content: "";
}

.nexo-blog-catalog-cta__label,
.nexo-blog-catalog-cta__arrow {
  position: relative;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  margin: 0;
  color: #fff;
  background: var(--nexo-blog-accent, #f75c00);
  font-size: 12px;
  font-weight: 800;
  line-height: 1.05;
  text-align: center;
  text-transform: uppercase;
}

.nexo-blog-catalog-cta__label {
  flex: 1;
  padding: 0 8px 0 18px;
  border-radius: 10px 0 0 10px;
}

.nexo-blog-catalog-cta__arrow {
  flex: 0 0 46px;
  padding: 0 12px 0 4px;
  border-radius: 0 10px 10px 0;
  font-size: 24px;
}

.nexo-blog-catalog-cta:hover
  .nexo-blog-catalog-cta__label,
.nexo-blog-catalog-cta:hover
  .nexo-blog-catalog-cta__arrow {
  background: var(--nexo-blog-accent-dark, #d94b00);
}

/* Grade de artigos */

.nexo-blog__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px;
}

.nexo-blog-card {
  display: flex;
  min-height: 420px;
  overflow: hidden;
  flex-direction: column;
  background: #fff;
  border: 1px solid rgba(31, 35, 34, 0.22);
  border-radius: 10px;
}

.nexo-blog-card__media {
  display: block;
  width: 100%;
  height: 184px;
  flex: 0 0 184px;
  overflow: hidden;
  aspect-ratio: auto;
  background: var(--nexo-blog-accent, #f75c00);
}

.nexo-blog-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.nexo-blog-card__content {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 22px 24px 24px;
}

.nexo-blog a.nexo-blog-card__category {
  display: block;
  margin: 0;
  color: var(--nexo-blog-accent, #f75c00);
  font-size: 12px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: 0;
  text-transform: none;
}

.nexo-blog-card__title {
  display: -webkit-box;
  margin: 12px 0;
  overflow: hidden;
  color: #101010;
  font-size: 22px;
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: 0;
  text-overflow: ellipsis;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.nexo-blog-card__title a {
  color: inherit;
}

.nexo-blog-card__excerpt {
  display: -webkit-box;
  margin: 0 0 22px;
  overflow: hidden;
  color: #2f3331;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.42;
  text-overflow: ellipsis;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 4;
}

.nexo-blog-card__button {
  width: fit-content;
  min-height: 42px;
  margin-top: auto;
  padding: 0 24px;
  background: var(--nexo-blog-accent, #f75c00);
  border-radius: 10px;
  color: #fff !important;
  font-size: 12px;
  font-weight: 800;
  line-height: 1;
  text-transform: uppercase;
}

/* Tablet */

@media (max-width: 64rem) {
  .nexo-blog__body {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .nexo-blog-sidebar {
    position: static;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
  }

  .nexo-blog-popular {
    grid-column: 1 / -1;
  }

  .nexo-blog-catalog-cta {
    grid-column: 1 / -1;
    min-height: 280px;
  }

  .nexo-blog-card__title {
    font-size: 21px;
  }
}

/* Mobile */

@media (max-width: 47.9375rem) {
  .nexo-blog__grid,
  .nexo-blog-sidebar {
    grid-template-columns: 1fr;
  }

  .nexo-blog__grid {
    gap: 20px;
  }

  .nexo-blog-catalog-cta {
    min-height: 240px;
  }

  .nexo-blog-card {
    min-height: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .nexo-blog *,
  .nexo-blog *::before,
  .nexo-blog *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}

/* ==========================================================================
   Blog: destaque amplo com conteúdo sobreposto
   ========================================================================== */

.nexo-blog {
  font-family: "Nunito Sans", "Segoe UI", sans-serif;
}

.nexo-blog-featured {
  position: relative;
  display: block;
  min-height: 0;
  height: 455px;
  overflow: hidden;
  background: var(--nexo-blog-accent);
  border: 1px solid rgba(31, 35, 34, 0.22);
  border-radius: 10px;
}

.nexo-blog-featured__media {
  display: block;
  width: 100%;
  height: 100%;
  overflow: hidden;
  background: var(--nexo-blog-accent);
}

.nexo-blog-featured__media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.nexo-blog-featured__content {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  grid-template-rows: auto auto;
  gap: 7px 22px;
  align-items: center;
  padding: 16px 28px 18px;
  background: linear-gradient(
    90deg,
    rgba(31, 35, 34, 0.86) 0%,
    rgba(31, 35, 34, 0.68) 58%,
    rgba(31, 35, 34, 0.36) 100%
  );
}

/*
 * O texto “Em destaque” será substituído no PHP posteriormente por
 * “Últimos artigos publicados”.
 */
.nexo-blog-featured__eyebrow {
  grid-column: 1;
  grid-row: 1;
  margin: 0;
  color: var(--nexo-blog-accent);
  font-size: 12px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: 0;
  text-transform: none;
}

.nexo-blog-featured__title {
  grid-column: 1;
  grid-row: 2;
  max-width: 100%;
  margin: 0;
  overflow: hidden;
  color: #fff;
  font-size: 22px;
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: 0;
  text-overflow: ellipsis;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.35);
  white-space: nowrap;
}

.nexo-blog-featured__title a {
  color: inherit;
}

.nexo-blog-featured__title a:hover {
  color: #fff;
}

.nexo-blog-featured__category,
.nexo-blog-featured__excerpt {
  display: none;
}

.nexo-blog-featured__button {
  grid-column: 2;
  grid-row: 1 / 3;
  align-self: center;
  min-height: 42px;
  margin: 0;
  padding: 0 24px;
  color: #fff !important;
  background: var(--nexo-blog-accent);
  border-radius: 10px;
  font-size: 12px;
  font-weight: 800;
  line-height: 1;
  text-transform: uppercase;
}

/* Tablet */
@media (max-width: 64rem) {
  .nexo-blog-featured {
    height: 360px;
    min-height: 0;
  }

  .nexo-blog-featured__media {
    width: 100%;
    height: 100%;
    aspect-ratio: auto;
  }
}

/* Mobile */
@media (max-width: 47.9375rem) {
  .nexo-blog-featured {
    height: 360px;
  }

  .nexo-blog-featured__media {
    height: 100%;
    aspect-ratio: auto;
  }

  .nexo-blog-featured__media img {
    object-position: center top;
  }

  .nexo-blog-featured__content {
    grid-template-columns: 1fr;
    grid-template-rows: auto auto auto;
    gap: 12px;
    padding: 16px 16px 18px;
    background: linear-gradient(
      180deg,
      rgba(31, 35, 34, 0.1) 0%,
      rgba(31, 35, 34, 0.82) 42%,
      rgba(31, 35, 34, 0.96) 100%
    );
  }

  .nexo-blog-featured__eyebrow {
    grid-column: 1;
    grid-row: 1;
  }

  .nexo-blog-featured__title {
    display: -webkit-box;
    grid-column: 1;
    grid-row: 2;
    max-width: 100%;
    overflow: hidden;
    font-size: 22px;
    line-height: 1.08;
    white-space: normal;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
  }

  .nexo-blog-featured__button {
    grid-column: 1;
    grid-row: 3;
    width: 100%;
    min-height: 46px;
    padding: 0 18px;
    justify-self: stretch;
  }
}
