/* Local candidate. Limit every rule to elements owned by this plugin. */
.bg-a11y-video-host {
  position: relative;
}

.bg-a11y-video-toggle {
  position: absolute;
  inset-block-end: 1rem;
  inset-inline-end: 1rem;
  z-index: 5;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  min-width: 44px;
  max-width: calc(100% - 2rem);
  padding: 0.65rem 1rem;
  border: 2px solid #fff;
  border-radius: 0.35rem;
  background: #111;
  color: #fff;
  font: 600 16px/1.4 system-ui, sans-serif;
  text-align: center;
  cursor: pointer;
  pointer-events: auto;
  text-transform: none;
}

.bg-a11y-video-toggle:hover {
  background: #303030;
  color: #fff;
}

.bg-a11y-video-toggle:focus-visible,
[data-bg-a11y-age-dialog] :is(a, button):focus-visible {
  outline: 3px solid #ffdd57 !important;
  outline-offset: 4px;
  box-shadow: 0 0 0 7px #111;
}

[data-bg-a11y-age-dialog]:focus-visible {
  outline: 3px solid #ffdd57;
  outline-offset: -6px;
}

/* Only the exact same-origin calendar child receives this attribute. */
[data-bg-a11y-suppressed="parent-age-gate"],
[data-bg-a11y-suppressed="parent-age-verified"] {
  display: none !important;
}

.bg-image-transcript {
  margin-block: 1rem;
  max-width: 75ch;
}

.bg-image-transcript > summary {
  padding: 0.8rem 1rem;
  border: 2px solid currentColor;
  border-radius: 0.35rem;
  font-weight: 600;
  line-height: 1.5;
  cursor: pointer;
}

.bg-image-transcript > summary:focus-visible {
  outline: 3px solid #246b24;
  outline-offset: 4px;
}

.bg-image-transcript > :not(summary) {
  margin-block: 1rem;
  margin-inline: 1rem;
}

/* Keep the video description in the accessibility tree without hero layout space. */
#brxe-bgvidt,
.brxe-text-basic:has(> #bg-home-video-description) {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  clip-path: inset(50%) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

/* The provider's transparent summary otherwise puts black text over dark foliage. */
#brxe-lqsxhv .ti-widget.ti-goog .ti-footer {
  box-sizing: border-box !important;
  background: #fff !important;
  color: #111 !important;
  padding: 20px !important;
  border: 1px solid #d7d7d7 !important;
  border-radius: 10px !important;
}

#brxe-lqsxhv .ti-widget.ti-goog .ti-footer .ti-row {
  display: flex !important;
  align-items: flex-start !important;
  gap: 12px !important;
}

#brxe-lqsxhv .ti-widget.ti-goog .ti-footer .ti-profile-img {
  flex: 0 0 52px !important;
  margin: 0 !important;
}

#brxe-lqsxhv .ti-widget.ti-goog .ti-footer .ti-profile-img img {
  width: 52px !important;
  height: 52px !important;
}

#brxe-lqsxhv .ti-widget.ti-goog .ti-footer .ti-profile-details {
  flex: 1 1 auto !important;
  min-width: 0 !important;
  width: auto !important;
  padding: 0 !important;
}

#brxe-lqsxhv .ti-widget.ti-goog .ti-footer .ti-name {
  color: #111 !important;
  font-size: 20px !important;
  font-weight: 700 !important;
  line-height: 1.4 !important;
  white-space: normal !important;
  overflow: visible !important;
  text-overflow: clip !important;
}

#brxe-lqsxhv .ti-widget.ti-goog .ti-footer .ti-stars {
  display: flex !important;
  gap: 2px !important;
  margin: 8px 0 !important;
  line-height: 1 !important;
}

#brxe-lqsxhv .ti-widget.ti-goog .ti-footer .ti-star {
  width: 24px !important;
  height: 24px !important;
  margin: 0 !important;
}

#brxe-lqsxhv .ti-widget.ti-goog .ti-footer :is(.ti-rating-text, .ti-rating-text strong, .bg-google-rating-score) {
  color: #111 !important;
  font-size: 18px !important;
  font-weight: 600 !important;
  line-height: 1.5 !important;
  white-space: normal !important;
}

#brxe-lqsxhv .ti-widget.ti-goog .ti-footer .bg-google-rating-score {
  display: block !important;
  margin: 0 0 2px !important;
}

#brxe-lqsxhv .ti-widget.ti-goog .ti-footer .nowrap {
  white-space: normal !important;
}

#brxe-lqsxhv .ti-widget.ti-goog .ti-footer .ti-header-write-btn {
  box-sizing: border-box !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  min-height: 44px !important;
  max-width: 100% !important;
  padding: 10px 16px !important;
  background: #24532a !important;
  color: #fff !important;
  border: 2px solid #24532a !important;
  border-radius: 5px !important;
  font-size: 16px !important;
  line-height: 1.4 !important;
  white-space: normal !important;
}

#brxe-lqsxhv .ti-widget.ti-goog .ti-footer .ti-header-write-btn:focus-visible {
  outline: 3px solid #111 !important;
  outline-offset: 3px !important;
}
