#rec-mirror-videos {
  background: #fff;
  padding: 40px 0 50px;
}

#rec-mirror-videos .br-videos__inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

#rec-mirror-videos .br-videos__title {
  font: 600 32px/1.2 Roboto, Arial, sans-serif;
  color: #141e38;
  text-align: center;
  margin: 0 0 28px;
}

.br-videos__carousel {
  position: relative;
}

.br-videos__track-wrap {
  overflow: hidden;
}

.br-videos__track {
  display: flex;
  transition: transform 0.35s ease;
}

.br-videos__slide {
  flex: 0 0 33.333%;
  padding: 0 10px;
  box-sizing: border-box;
}

.br-videos__card {
  background: #f7f7f7;
  border-radius: 8px;
  overflow: hidden;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.br-videos__iframe-wrap {
  position: relative;
  padding-top: 56.25%;
  background: #000;
}

.br-videos__iframe-wrap iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  z-index: 2;
}

.br-videos__thumb {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
  pointer-events: none;
}

.br-videos__placeholder {
  position: absolute;
  inset: 0;
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: rgba(12, 12, 12, 0.55);
  color: #e8e8e8;
  font: 15px/1.35 Roboto, Arial, sans-serif;
  letter-spacing: 0.02em;
  pointer-events: none;
}

.br-videos__placeholder::before {
  content: '';
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.28);
  border-top-color: #fff;
  animation: br-videos-spin 0.9s linear infinite;
}

.br-videos__iframe-wrap.is-ready .br-videos__placeholder,
.br-videos__iframe-wrap.is-ready .br-videos__thumb {
  opacity: 0;
  visibility: hidden;
}

.br-videos__iframe-wrap.is-error .br-videos__placeholder::before {
  display: none;
  animation: none;
}

@keyframes br-videos-spin {
  to {
    transform: rotate(360deg);
  }
}

.br-videos__caption a {
  color: inherit;
  text-decoration: none;
}

.br-videos__caption a:hover {
  color: #ae0305;
  text-decoration: underline;
}

.br-videos__caption {
  padding: 12px 14px 16px;
  font: 15px/1.35 Roboto, Arial, sans-serif;
  color: #141e38;
  min-height: 3.2em;
}

.br-videos__nav {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 16px;
  margin-top: 22px;
}

.br-videos__btn {
  width: 44px;
  height: 44px;
  border: 1px solid #ae0305;
  background: #fff;
  color: #ae0305;
  border-radius: 50%;
  cursor: pointer;
  font-size: 22px;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s, color 0.2s;
}

.br-videos__btn:hover:not(:disabled) {
  background: #ae0305;
  color: #fff;
}

.br-videos__btn:disabled {
  opacity: 0.35;
  cursor: default;
}

.br-videos__dots {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: center;
}

.br-videos__dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: 0;
  background: #ccc;
  cursor: pointer;
  padding: 0;
}

.br-videos__dot.is-active {
  background: #ae0305;
}

.br-videos__empty {
  text-align: center;
  color: #777;
  font: 16px Roboto, Arial, sans-serif;
  padding: 40px 20px;
}

.br-videos__status {
  text-align: center;
  color: #555;
  font: 16px Roboto, Arial, sans-serif;
  padding: 40px 20px;
}

.br-videos__status.is-error {
  color: #ae0305;
}

#rec490397872 {
  display: none !important;
}

.br-videos-editor {
  margin-top: 12px;
  padding: 12px;
  background: rgba(20, 30, 56, 0.06);
  border-radius: 8px;
  font: 13px Roboto, Arial, sans-serif;
}

.br-videos-editor__list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin: 10px 0;
}

.br-videos-editor__item {
  display: flex;
  align-items: center;
  gap: 8px;
  background: #fff;
  padding: 8px 10px;
  border-radius: 6px;
  border: 1px solid #ddd;
}

.br-videos-editor__num {
  min-width: 24px;
  font-weight: 600;
  color: #ae0305;
}

.br-videos-editor__title {
  flex: 1;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.br-videos-editor__actions button {
  border: 0;
  background: #eee;
  padding: 4px 8px;
  border-radius: 4px;
  cursor: pointer;
  font-size: 12px;
}

.br-videos-editor__actions button:hover {
  background: #ddd;
}

.br-videos-editor__add {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.br-videos-editor__add input {
  flex: 1;
  min-width: 200px;
  padding: 8px;
  border: 1px solid #ddd;
  border-radius: 4px;
}

.br-videos-editor__add button,
.br-videos-editor__save {
  background: #508a44;
  color: #fff;
  border: 0;
  padding: 8px 14px;
  border-radius: 6px;
  cursor: pointer;
}

.br-videos-editor__status {
  margin-left: 8px;
  opacity: 0.8;
}

@media (max-width: 959px) {
  .br-videos__slide {
    flex: 0 0 50%;
  }
}

@media (max-width: 639px) {
  .br-videos__slide {
    flex: 0 0 100%;
  }

  #rec-mirror-videos .br-videos__title {
    font-size: 24px;
  }
}
