.ws-congreso-actions {
  --ws-congreso-actions-max-width: 100%;
  --ws-congreso-actions-gap: var(--wp--preset--spacing--30, 0.75rem);
  --ws-congreso-actions-radius: var(--wp--custom--border--radius, 999px);
  --ws-congreso-actions-border: color-mix(in srgb, currentColor 18%, transparent);
  --ws-congreso-actions-soft: color-mix(in srgb, currentColor 7%, transparent);
  --ws-congreso-actions-soft-hover: color-mix(in srgb, currentColor 11%, transparent);

  box-sizing: border-box;
  max-width: var(--ws-congreso-actions-max-width);
  width: 100%;
  color: primary;
}

.ws-congreso-actions *,
.ws-congreso-actions *::before,
.ws-congreso-actions *::after {
  box-sizing: border-box;
}

.ws-congreso-actions__inner {
  width: 100%;
}

.ws-congreso-actions__actions {
  display: flex;
  gap: var(--ws-congreso-actions-gap);
  align-items: center;
}

.ws-congreso-actions__actions--wrap {
  flex-wrap: wrap;
}

.ws-congreso-actions__actions--stack,
.ws-congreso-actions--buttons-stacked .ws-congreso-actions__actions {
  flex-direction: column;
  align-items: stretch;
}

.ws-congreso-actions__actions--inline,
.ws-congreso-actions--buttons-inline .ws-congreso-actions__actions {
  flex-wrap: wrap;
}

.ws-congreso-actions__actions--grid-2 {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.ws-congreso-actions--buttons-spread .ws-congreso-actions__actions {
  justify-content: space-between;
}

.ws-congreso-actions--buttons-spread .ws-congreso-actions__action {
  flex: 1 1 auto;
}

.ws-congreso-actions--align-left,
.ws-congreso-actions--buttons-align-left {
  text-align: left;
}

.ws-congreso-actions--align-center,
.ws-congreso-actions--buttons-align-center {
  text-align: center;
}

.ws-congreso-actions--align-right,
.ws-congreso-actions--buttons-align-right {
  text-align: right;
}

.ws-congreso-actions--align-left .ws-congreso-actions__actions,
.ws-congreso-actions--buttons-align-left .ws-congreso-actions__actions {
  justify-content: flex-start;
}

.ws-congreso-actions--align-center .ws-congreso-actions__actions,
.ws-congreso-actions--buttons-align-center .ws-congreso-actions__actions {
  justify-content: center;
}

.ws-congreso-actions--align-right .ws-congreso-actions__actions,
.ws-congreso-actions--buttons-align-right .ws-congreso-actions__actions {
  justify-content: flex-end;
}

.ws-congreso-actions__action {
  margin: 0;
}

.ws-congreso-actions__action.is-full-width,
.ws-congreso-actions--buttons-full .ws-congreso-actions__action {
  width: 100%;
}

.ws-congreso-actions__action.is-full-width .wp-block-button__link,
.ws-congreso-actions--buttons-full .wp-block-button__link {
  width: 100%;
}

.ws-congreso-actions .wp-block-button__link,
.ws-congreso-actions .wp-element-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5em;
  min-height: 2.75em;
  text-decoration: none;
  white-space: nowrap;
  line-height: 1.2;
  transition:
    transform 0.18s ease,
    opacity 0.18s ease,
    background-color 0.18s ease,
    border-color 0.18s ease;
}

.ws-congreso-actions--button-size-small .wp-block-button__link,
.block--button-size-small .wp-block-button__link {
  min-height: 2.35em;
  padding-block: 0.45em;
  padding-inline: 0.85em;
  font-size: var(--wp--preset--font-size--small, 0.875rem);
}

.ws-congreso-actions--button-size-normal .wp-block-button__link,
.block--button-size-normal .wp-block-button__link {
  min-height: 2.75em;
}

.ws-congreso-actions--button-size-large .wp-block-button__link,
.block--button-size-large .wp-block-button__link {
  min-height: 3.15em;
  padding-block: 0.75em;
  padding-inline: 1.25em;
}

.ws-congreso-actions .wp-block-button__link:hover,
.ws-congreso-actions .wp-element-button:hover {
  transform: translateY(-1px);
}

.ws-congreso-actions .wp-block-button__link:active,
.ws-congreso-actions .wp-element-button:active {
  transform: translateY(0);
}

.ws-congreso-actions .is-style-ws-text .wp-block-button__link {
  background: transparent;
  border-color: transparent;
  color: currentColor;
  padding-inline: 0;
  text-decoration: underline;
  text-underline-offset: 0.18em;
}

.ws-congreso-actions .is-style-ws-text .wp-block-button__link:hover {
  background: transparent;
  opacity: 0.82;
}

.ws-congreso-actions--compact {
  --ws-congreso-actions-gap: var(--wp--preset--spacing--20, 0.5rem);
}

.ws-congreso-actions__notice {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.75em;
  width: fit-content;
  padding-block: 0.65em;
  padding-inline: 1em;
  border: 1px solid var(--ws-congreso-actions-border);
  border-radius: var(--ws-congreso-actions-radius);
  background: var(--ws-congreso-actions-soft);
  color: inherit;
  font-weight: 600;
  line-height: 1.2;
}

.ws-congreso-actions__notice--closed,
.ws-congreso-actions__notice--coming_soon {
  opacity: 0.78;
}

.ws-congreso-actions__badge {
  display: inline-flex;
  align-items: center;
  gap: 0.45em;
  width: fit-content;
  margin-block-end: var(--wp--preset--spacing--20, 0.65rem);
  padding: 0.45em 0.7em;
  border: 1px solid var(--ws-congreso-actions-border);
  border-radius: var(--ws-congreso-actions-radius);
  background: var(--ws-congreso-actions-soft);
  color: inherit;
  font-size: var(--wp--preset--font-size--small, 0.85rem);
  font-weight: 600;
  line-height: 1;
}

.ws-congreso-actions__badge::before {
  content: "";
  width: 0.45em;
  height: 0.45em;
  border-radius: 999px;
  background: currentColor;
  opacity: 0.6;
}

.ws-congreso-actions__button-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}

.ws-congreso-actions.is-loading .ws-congreso-actions__actions {
  opacity: 0.65;
  pointer-events: none;
}

.ws-congreso-actions--minimal .ws-congreso-actions__badge,
.ws-congreso-actions--minimal .ws-congreso-actions__notice {
  background: transparent;
}

@media (max-width: 782px) {
  .ws-congreso-actions--stack-mobile .ws-congreso-actions__actions {
    display: flex;
    flex-direction: column;
    align-items: stretch;
  }

  .ws-congreso-actions--stack-mobile .ws-congreso-actions__action,
  .ws-congreso-actions--stack-mobile .wp-block-button__link,
  .ws-congreso-actions--stack-mobile .ws-congreso-actions__notice {
    width: 100%;
  }

  .ws-congreso-actions__actions--grid-2 {
    grid-template-columns: 1fr;
  }

  .ws-congreso-actions .wp-block-button__link,
  .ws-congreso-actions .wp-element-button {
    white-space: normal;
  }
}

@media (prefers-reduced-motion: reduce) {
  .ws-congreso-actions .wp-block-button__link,
  .ws-congreso-actions .wp-element-button {
    transition: none;
  }

  .ws-congreso-actions .wp-block-button__link:hover,
  .ws-congreso-actions .wp-element-button:hover {
    transform: none;
  }
}