.btn.rs-search-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  padding: 0;
  margin-left: auto;
  margin-right: 0.5rem;
  background: transparent;
  border: 0;
  border-radius: 0.4rem;
  color: #ffffff;
  box-shadow: none;
}

.btn.rs-search-btn:hover, .btn.rs-search-btn:active, .rs-search-open .btn.rs-search-btn {
  color: #ff4d5e;
  background: transparent;
  border: 0;
  box-shadow: none;
}

.btn.rs-search-btn:focus-visible {
  color: #ff4d5e;
  background: transparent;
  border: 0;
  box-shadow: none;
  outline: 2px solid #ff4d5e;
  outline-offset: 2px;
}

.rs-search-panel {
  display: none;
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  z-index: 1040;
  background: #1a1a1a;
  color: #e6e6e6;
  border-top: 1px solid rgba(255,255,255,0.08);
  box-shadow: 0 1.25rem 2.5rem rgba(0,0,0,0.55);
  padding: 1.25rem 0 1.5rem;
  max-height: calc(100vh - 80px);
  overflow-y: auto;
}

.rs-search-open .rs-search-panel {
  display: block;
}

.rs-search-open.navbar-transparent {
  background: rgba(26,26,26,0.98) !important;
}

.rs-search-label {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.rs-search-field {
  position: relative;
  max-width: 860px;
  margin: 0 auto;
}

.rs-search-input {
  width: 100%;
  font-family: 'Inter', sans-serif;
  font-size: 20px;
  color: #ffffff;
  background: #0f0f0f;
  border: 1px solid #3a3a3a;
  border-radius: 0.6rem;
  padding: 0.85rem 3.25rem 0.85rem 1rem;
  outline: none;
  box-sizing: border-box;
}

.rs-search-input::placeholder {
  color: #8a8a8a;
}

.rs-search-input:focus {
  border-color: #ff4d5e;
  box-shadow: 0 0 0 3px rgba(200,37,58,0.25);
}

.rs-search-input::-webkit-search-cancel-button {
  display: none;
}

.rs-search-close {
  position: absolute;
  right: 0.5rem;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  border: 0;
  background: transparent;
  color: #bdbdbd;
  font-size: 28px;
  line-height: 1;
  border-radius: 0.4rem;
  cursor: pointer;
}

.rs-search-close:hover, .rs-search-close:focus-visible {
  color: #ffffff;
  background: rgba(255,255,255,0.08);
}

.rs-search-status {
  max-width: 860px;
  margin: 0.75rem auto 0;
  font-family: 'Inter', sans-serif;
  font-size: 20px;
  color: #bdbdbd;
}

.rs-search-status:empty {
  display: none;
}

.rs-search-status a {
  color: #ff4d5e;
}

.rs-search-results {
  list-style: none;
  max-width: 860px;
  margin: 0.5rem auto 0;
  padding: 0;
}

.rs-search-results li {
  margin: 0;
  padding: 0;
}

.rs-search-hit {
  display: block;
  padding: 0.9rem 0.75rem;
  border-bottom: 1px solid #2a2a2a;
  border-radius: 0.4rem;
  text-decoration: none;
  color: #e6e6e6;
}

.rs-search-hit:hover, .rs-search-hit:focus-visible {
  background: rgba(255,255,255,0.06);
  outline: none;
}

.rs-search-type {
  display: inline-block;
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 3px 8px;
  border-radius: 999px;
  margin-bottom: 0.35rem;
  background: rgba(255,255,255,0.1);
  color: #d9d9d9;
}

.rs-search-type-video {
  background: rgba(200,37,58,0.2);
  color: #ff8a96;
}

.rs-search-title {
  display: block;
  font-family: 'Montserrat', sans-serif;
  font-weight: 800;
  font-size: 20px;
  line-height: 1.3;
  color: #ffffff;
}

.rs-search-hit:hover .rs-search-title, .rs-search-hit:focus-visible .rs-search-title {
  color: #ff4d5e;
}

.rs-search-desc {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin-top: 0.25rem;
  font-family: 'Inter', sans-serif;
  font-size: 20px;
  line-height: 1.45;
  color: #bdbdbd;
}

[data-bs-theme=light] .rs-search-panel {
  background: #ffffff;
  color: #1a1a1a;
  border-top-color: #e5e5e5;
  box-shadow: 0 1.25rem 2.5rem rgba(0,0,0,0.15);
}

[data-bs-theme=light] .rs-search-input {
  background: #f5f5f5;
  color: #1a1a1a;
  border-color: #cfcfcf;
}

[data-bs-theme=light] .rs-search-close {
  color: #555555;
}

[data-bs-theme=light] .rs-search-close:hover {
  color: #1a1a1a;
  background: rgba(0,0,0,0.06);
}

[data-bs-theme=light] .rs-search-status {
  color: #555555;
}

[data-bs-theme=light] .rs-search-status a {
  color: #c8253a;
}

[data-bs-theme=light] .rs-search-hit {
  color: #1a1a1a;
  border-bottom-color: #e5e5e5;
}

[data-bs-theme=light] .rs-search-hit:hover, [data-bs-theme=light] .rs-search-hit:focus-visible {
  background: #f5f5f5;
}

[data-bs-theme=light] .rs-search-title {
  color: #1a1a1a;
}

[data-bs-theme=light] .rs-search-hit:hover .rs-search-title, [data-bs-theme=light] .rs-search-hit:focus-visible .rs-search-title {
  color: #c8253a;
}

[data-bs-theme=light] .rs-search-desc {
  color: #555555;
}

[data-bs-theme=light] .rs-search-type {
  background: #ececec;
  color: #444444;
}

[data-bs-theme=light] .rs-search-type-video {
  background: rgba(200,37,58,0.12);
  color: #a51d2f;
}

@media (min-width: 1200px) {
  .btn.rs-search-btn {
    order: 3;
    margin-left: 0.75rem;
    margin-right: 0;
  }
}

@media (max-width: 575.98px) {
  .rs-search-panel {
    padding: 1rem 0 1.25rem;
    max-height: calc(100vh - 70px);
  }
}

@media (max-width: 575.98px) {
  .rs-search-hit {
    padding: 0.8rem 0.25rem;
  }
}

@media (max-width: 575.98px) {
  .rs-search-input {
    padding-left: 0.85rem;
  }
}

