/* Valores del tema para los bloques nativos. Los ajustes del bloque conservan prioridad. */
.wp-block-button .wp-block-button__link {
  min-height: 46px;
  padding: 10px 18px;
  border-radius: 8px;
}

.wp-block-button:where(:not(.has-custom-font-size, [style*="font-size"])) .wp-block-button__link {
  font-size: .875rem;
}

.wp-block-button:where(:not([style*="font-weight"])) .wp-block-button__link {
  font-weight: 800;
}

.wp-block-button:where(:not(.is-style-outline)) .wp-block-button__link:where(:not(.is-style-outline, .has-background)) {
  background-color: var(--red, #ce092b);
}

.wp-block-button:where(:not(.is-style-outline)) .wp-block-button__link:where(:not(.is-style-outline, .has-text-color, .has-background)) {
  color: var(--pl-accent-text, #fff);
}

.wp-block-button:where(:not(.is-style-outline)) .wp-block-button__link:where(:not(.is-style-outline, .has-background)):hover {
  background-color: var(--red-dark, #a70721);
}

.wp-block-button.is-style-outline .wp-block-button__link,
.wp-block-button .wp-block-button__link.is-style-outline {
  border: 2px solid currentColor;
}

.wp-block-button.is-style-outline .wp-block-button__link:where(:not(.has-background)),
.wp-block-button .wp-block-button__link.is-style-outline:where(:not(.has-background)) {
  background-color: transparent;
}

.wp-block-button.is-style-outline .wp-block-button__link:where(:not(.has-text-color)),
.wp-block-button .wp-block-button__link.is-style-outline:where(:not(.has-text-color)) {
  color: var(--red, #ce092b);
}

.wp-block-search .wp-block-search__label:where(:not(.screen-reader-text)) {
  display: block;
  margin-bottom: 8px;
}

.wp-block-search .wp-block-search__input {
  min-width: 0;
  min-height: 44px;
  padding: 8px 10px;
  border: 1px solid var(--border, #e9e7e9);
  border-radius: 8px;
  background-color: var(--quiet, #f7f6f7);
  color: var(--ink, #171619);
}

.wp-block-search .wp-block-search__input::placeholder {
  color: currentColor;
  opacity: .78;
}

.wp-block-search .wp-block-search__button {
  display: inline-grid;
  place-items: center;
  min-height: 44px;
  margin-inline: 0;
  padding: 8px 12px;
  border: 1px solid transparent;
  border-radius: 8px;
  background-color: var(--ink, #171619);
  color: var(--paper, #fff);
  font-size: .875rem;
  font-weight: 750;
  line-height: 1.35;
  overflow-wrap: anywhere;
  cursor: pointer;
}

.wp-block-search .wp-block-search__button.has-icon {
  min-width: 44px;
  padding-inline: 8px;
}

.wp-block-search .wp-block-search__button:where(:not(.has-background)):hover {
  background-color: var(--red-dark, #a70721);
}

.wp-block-search.wp-block-search__button-outside .wp-block-search__inside-wrapper {
  gap: 6px;
}

.wp-block-search.wp-block-search__button-outside .wp-block-search__button {
  flex: 0 0 auto;
  max-width: 60%;
}

.wp-block-search.wp-block-search__button-inside .wp-block-search__inside-wrapper {
  gap: 4px;
  border-color: var(--border, #e9e7e9);
  border-radius: 10px;
  background-color: var(--quiet, #f7f6f7);
}

.wp-block-search.wp-block-search__button-inside .wp-block-search__input {
  border-color: transparent;
  background-color: transparent;
}

.wp-block-search.wp-block-search__button-inside .wp-block-search__inside-wrapper:focus-within {
  outline: 2px solid var(--red, #ce092b);
  outline-offset: 3px;
}
