/* TEC embed page (/events-all/) overrides to match theme UI */

/* --- TEC /events-all/ top-bar nav icons: use theme arrows, prevent giant SVG --- */
.tribe-events-c-top-bar__nav-link {
  width: 40px;
  height: 40px;
  border-radius: 999px;
  background: #ff4d00 !important;
  border-color: #ff4d00 !important;
  position: relative;
  overflow: hidden;
}

.tribe-events-c-top-bar__nav-link svg,
.tribe-events-c-top-bar svg,
.tribe-events-c-nav svg {
  display: none !important;
}

.tribe-events-c-top-bar__nav-link--prev:after,
.tribe-events-c-top-bar__nav-link--next:after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 11px;
  height: 7px;
  transform: translate(-50%, -50%);
  background-repeat: no-repeat;
  background-position: center;
  background-size: 11px 7px;
  filter: brightness(0) invert(1);
}

.tribe-events-c-top-bar__nav-link--prev:after {
  background-image: url("../img/icon_arrow-prev.svg");
}

.tribe-events-c-top-bar__nav-link--next:after {
  background-image: url("../img/icon_arrow.svg");
}

.tribe-events-c-top-bar__nav-link:hover {
  background: #1f1f1f !important;
  border-color: #1f1f1f !important;
}

/* --- TEC /events-all/ buttons match theme palette --- */
.tribe-common .tribe-common-c-btn,
.tribe-common a.tribe-common-c-btn,
.tribe-common button.tribe-common-c-btn,
.tribe-events .tribe-common-c-btn,
.tribe-events-c-search__button {
  background: #ff4d00 !important;
  border-color: #ff4d00 !important;
  color: #fff !important;
}

.tribe-common .tribe-common-c-btn:hover,
.tribe-common a.tribe-common-c-btn:hover,
.tribe-common button.tribe-common-c-btn:hover,
.tribe-events .tribe-common-c-btn:hover,
.tribe-events-c-search__button:hover {
  background: #1f1f1f !important;
  border-color: #1f1f1f !important;
  color: #fff !important;
}

/* Subscribe dropdown button (border style) */
.tribe-common-c-btn-border.tribe-events-c-subscribe-dropdown__button,
.tribe-events-c-subscribe-dropdown__button.tribe-common-c-btn-border {
  border-color: #ff4d00 !important;
  color: #ff4d00 !important;
  background: transparent !important;
}
.tribe-common-c-btn-border.tribe-events-c-subscribe-dropdown__button:hover,
.tribe-events-c-subscribe-dropdown__button.tribe-common-c-btn-border:hover,
.tribe-common-c-btn-border.tribe-events-c-subscribe-dropdown__button:focus,
.tribe-events-c-subscribe-dropdown__button.tribe-common-c-btn-border:focus {
  border-color: #1f1f1f !important;
  color: #1f1f1f !important;
  background: transparent !important;
}

