/* Tipografias */
.type-body-small p {
  line-height: 1.5rem;
}

.form-group .wpcf7-form-control {
  background-color: transparent;
}

.form-group .wpcf7-form-control::placeholder {
  color: #3b3b3b;
}

.form-group.submit input[type=submit] {
  font-size: 18px;
}

.card-1__modal-content {
  padding-right: 2.5rem;
}

.card-1__modal .overflow-y-auto::-webkit-scrollbar {
  width: 10px;
  border-radius: 100px;
}

.card-1__modal .overflow-y-auto::-webkit-scrollbar-track {
  background: #888;
  border-radius: 100px;
}

.card-1__modal .overflow-y-auto::-webkit-scrollbar-thumb {
  background: #f1f1f1;
  border-radius: 100px;
}

.card-1__modal .overflow-y-auto::-webkit-scrollbar-thumb:hover {
  background: #555;
}

/* Cards */
@media screen and (max-width: 1024px) {
  .card-colors__image {
    height: 13.375rem;
  }

  .card-colors__color {
    height: 0.625rem !important;
  }
}

footer .type-body-small p {
  color: #fafafa !important;
}

.menu-header-left {
  z-index: 9999;
}

#menu-header-left.menu-header-left nav>ul>.menu-item>.sub-menu>.menu-item>a {
    display: flex;
    width: 100%;
    --tw-border-opacity: 1;
    border: .125rem solid rgb(10 10 10 / var(--tw-border-opacity, 1));
    --tw-text-opacity: 1;
    color: rgb(10 10 10 / var(--tw-text-opacity, 1));
    transition-duration: .3s;
}

#menu-header-left.menu-header-left a {
  text-decoration: none !important;
}

.search {
  z-index: 999999;
}

svg:not(:root).hidden {
  display: none;
}

/* Container principal da paginação */
.pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 2rem;
}

/* Lista de paginação */
.pagination ul.page-numbers {
  display: flex;
  gap: 0.5rem;
  list-style: none;
  padding: 0;
  margin: 0;
}

/* Links e spans */
.pagination ul.page-numbers li a:not(.next),
.pagination ul.page-numbers li a:not(.prev),
.pagination ul.page-numbers li span {
  display: inline-block;
  padding: 0.5rem 0.75rem;
  width: 33px;
  height: 33px;
  display: flex;
  justify-content: center;
  align-items: center; 
  border-radius: 100%;
  font-size: 14px;
  color: #333;
  text-decoration: none;
  transition: all 0.2s ease;
}

.pagination ul.page-numbers li a.next,
.pagination ul.page-numbers li a.prev {
  display: inline-block;
  padding: 0.5rem 0.75rem;
  display: flex;
  justify-content: center;
  align-items: center; 
  font-size: 14px;
  color: #333;
  text-decoration: none;
  transition: all 0.2s ease;
  width: auto;
  height: auto;
  border-radius: 0;
}

/* Página atual */
.pagination ul.page-numbers li .current {
  color: #fff;
  cursor: default;
  background-color: #0A0A0A;
}

/* Hover nos links */
.pagination ul.page-numbers li a:not(.next):hover,
.pagination ul.page-numbers li a:not(.prev):hover {
  background-color: #0A0A0A;
  color: #fff;
}

/* Botões Anterior / Próximo */
.pagination ul.page-numbers li .prev,
.pagination ul.page-numbers li .next {
  font-weight: 600;
}

/* Reticências (dots) */
.pagination ul.page-numbers li .dots {
  border: none;
  background: none;
  cursor: default;
}

.my-grid {
  display: grid;
  grid-template-columns: 1fr; /* padrão: 1 coluna */
  gap: 1.5rem;
}

@media (min-width: 1024px) { /* breakpoint lg */
  .my-grid {
    grid-template-columns: repeat(3, 1fr); /* 3 colunas no desktop */
  }
}



/* Breakpoints */
@media (min-width: 1024px) {
    /* lg:flex -> flex a partir de 1024px */
    .lg\\:flex {
        display: flex !important;
    }

    /* lg:hidden -> hidden a partir de 1024px */
    .lg\\:hidden {
        display: none !important;
    }
}

/* Para o caso de querer lg:grid também (opcional) */
.lg\\:grid {
    display: grid !important;
}

.btn-category.btn-category--active {
  background-color: var(--cat-bg-hover);
  border-color: var(--cat-border-hover);
  color: var(--cat-text-hover);
}

/* singleS antigas */
.prose>p {
    margin-bottom: 15px;
    line-height: 135%;
}

@media screen and (min-width: 1024px) {
  .section-1 {
    padding-top: 0 !important;
  }

  .section-1__container {
    height: 27.375rem;
  }

  .section-1__block {
    max-width: 536px;
    z-index: 20;
  }

  .section-1__image {
      position: absolute;
      right: -116px;
      height: 100%;
      width: 1028px;
      object-fit: cover;
  }
}

/* Container do overlay dentro do card */
.post-card { position: relative; }

/* Overlay */
.post-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.95);
  color: #fff;
  padding: 1.5rem;
  display: none;           /* controlado via classe */
  flex-direction: column;
  justify-content: space-between;
  z-index: 10;
  opacity: 0;
  transition: opacity .2s ease;
}

.post-overlay.is-active {
  display: flex;
  opacity: 1;
}

.post-overlay__inner {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  height: 100%;
}

.post-overlay__terms {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
}

.post-overlay__title {
  font-size: 1.25rem;
  margin: 0;
  color: #fff;
}

.post-overlay__date {
  font-size: .9rem;
  color: #cfcfcf;
  margin: 0;
}

.post-overlay__excerpt {
  font-size: .95rem;
  line-height: 1.5;
  color: #e6e6e6;
}

.post-overlay__actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: auto;
  gap: 1rem;
}

.post-overlay__close {
  color: #fff;
  text-decoration: underline;
  cursor: pointer;
  border-radius: 4px;
  font-size: .9rem;
}

.post-overlay__plus {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  background: #fff;
  color: #000;
  font-size: 1.2rem;
  font-weight: 700;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 50%;
  text-decoration: none;
}
