.footer .footer__search {
  --ls-accent: var(--color-accent, #ff2c00);
  --ls-accent-hover: #e02600;
  --ls-surface: #00101c;
  --ls-text: #fff;
  --ls-text-muted: rgb(255 255 255 / 0.6);
  --ls-text-faint: rgb(255 255 255 / 0.45);
  --ls-border: rgb(255 255 255 / 0.16);
  --ls-hover-bg: rgb(255 255 255 / 0.08);

  position: relative;
  width: 100%;
  max-width: 22rem;
  margin-top: 2rem;
}

.footer .footer__search-wrap {
  position: relative;
  display: flex;
  align-items: center;
  width: 100%;
}

.footer .footer__search input.footer__search-input {
  box-sizing: border-box;
  width: 100%;
  height: 2.875rem;
  padding: 0.625rem 3.25rem 0.625rem 1.25rem;
  font: inherit;
  font-family: Enduro, sans-serif;
  font-size: 0.9375rem;
  color: var(--ls-text);
  background-color: rgb(255 255 255 / 0.08);
  border: 1px solid rgb(255 255 255 / 0.22);
  border-radius: 62.5rem;
  outline: none;
  transition: background-color 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.footer .footer__search input.footer__search-input::placeholder {
  color: rgb(255 255 255 / 0.55);
}

.footer .footer__search input.footer__search-input:focus-visible,
.footer .footer__search input.footer__search-input:focus {
  background-color: rgb(255 255 255 / 0.12);
  border-color: var(--ls-accent);
  box-shadow: 0 0 0 3px rgb(255 44 0 / 0.25);
}

.footer .footer__search button.footer__search-btn {
  position: absolute;
  top: 50%;
  right: 0.375rem;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.125rem;
  height: 2.125rem;
  padding: 0;
  color: var(--ls-text);
  background-color: var(--ls-accent);
  border: 0;
  border-radius: 50%;
  cursor: pointer;
  transform: translateY(-50%);
  transition: background-color 0.2s ease, transform 0.2s ease;
}

.footer .footer__search button.footer__search-btn:hover,
.footer .footer__search button.footer__search-btn:focus-visible {
  background-color: var(--ls-accent-hover);
  transform: translateY(-50%) scale(1.05);
}

.footer .footer__search-btn svg {
  display: block;
  width: 0.9375rem;
  height: 0.9375rem;
}

.footer .footer__brand .footer__logo {
  margin-top: 2.5rem;
}



.footer .footer__live-dropdown {
  position: absolute;
  top: calc(100% + 0.5rem);
  left: 0;
  z-index: 1000;
  box-sizing: border-box;
  width: 100%;
  min-width: 23rem;
  max-width: min(30rem, calc(100vw - 2rem));
  max-height: 20rem;
  padding: 0.75rem;
  overflow-y: auto;
  overscroll-behavior: contain;
  font-family: Enduro, sans-serif;
  color: var(--ls-text);
  background: var(--ls-surface);
  border: 1px solid var(--ls-border);
  border-radius: 0.875rem;
  box-shadow: 0 16px 40px rgb(0 0 0 / 0.75);
  scrollbar-width: none;
}

.footer .footer__live-dropdown::-webkit-scrollbar {
  display: none;
}


.footer .footer__live-dropdown.is-flipped {
  top: auto;
  bottom: calc(100% + 0.5rem);
}


.footer .footer__live-dropdown[hidden],
.footer .footer__live-dropdown [hidden] {
  display: none;
}

.footer .footer__live-header {
  padding: 0.15rem 0.4rem 0.4rem;
  margin-bottom: 0.375rem;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ls-accent);
  border-bottom: 1px solid rgb(255 255 255 / 0.1);
}

.footer .footer__live-group {
  margin-bottom: 0.4rem;
}

.footer .footer__live-category {
  padding: 0.15rem 0.4rem;
  font-size: 0.625rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgb(255 255 255 / 0.5);
}

.footer .footer__live-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.45rem 0.6rem;
  color: var(--ls-text);
  text-decoration: none;
  border-radius: 0.375rem;
  outline: none;
  transition: transform 0.15s ease, background-color 0.15s ease, color 0.15s ease;
}

.footer .footer__live-item:hover,
.footer .footer__live-item.is-selected {
  color: var(--ls-accent);
  background: var(--ls-hover-bg);
  transform: translateX(3px);
}

.footer .footer__live-item.is-selected {
  box-shadow: inset 0 0 0 1px rgb(255 44 0 / 0.5);
}

.footer .footer__live-title {
  font-size: 0.875rem;
  font-weight: 500;
  line-height: 1.25;
  overflow-wrap: anywhere;
}

.footer .footer__live-title mark {
  font-weight: 700;
  color: var(--ls-accent);
  background: transparent;
}

.footer .footer__live-arrow {
  flex-shrink: 0;
  margin-left: 0.75rem;
  color: rgb(255 255 255 / 0.4);
  transition: transform 0.15s ease, color 0.15s ease;
}

.footer .footer__live-item:hover .footer__live-arrow,
.footer .footer__live-item.is-selected .footer__live-arrow {
  color: var(--ls-accent);
  transform: translateX(2px);
}

.footer .footer__live-message {
  padding: 1.25rem 0.75rem;
  font-size: 0.875rem;
  color: rgb(255 255 255 / 0.75);
  text-align: center;
}

.footer .footer__live-message small {
  display: block;
  margin-top: 0.5rem;
  font-size: 0.75rem;
  color: var(--ls-text-faint);
}

.footer .footer__live-all {
  display: block;
  width: 100%;
  padding: 0.625rem 0.5rem 0.25rem;
  font: inherit;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-align: center;
  text-transform: uppercase;
  color: var(--ls-accent);
  cursor: pointer;
  background: none;
  border: 0;
  border-top: 1px solid rgb(255 255 255 / 0.1);
  transition: color 0.15s ease;
}

.footer .footer__live-all:hover {
  color: var(--ls-text);
}

@media (max-width: 1023.98px) {
  .footer .footer__search {
    max-width: 100%;
    margin-top: 1.75rem;
  }

  .footer .footer__brand .footer__logo {
    margin-top: 2rem;
  }
}

@media (max-width: 640px) {
  .footer .footer__live-dropdown {
    min-width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .footer .footer__search input.footer__search-input,
  .footer .footer__search button.footer__search-btn,
  .footer .footer__live-item,
  .footer .footer__live-arrow {
    transition: none;
  }

  .footer .footer__live-item:hover,
  .footer .footer__live-item.is-selected,
  .footer .footer__live-item:hover .footer__live-arrow,
  .footer .footer__live-item.is-selected .footer__live-arrow,
  .footer .footer__search button.footer__search-btn:hover {
    transform: none;
  }

  .footer .footer__search button.footer__search-btn:hover {
    transform: translateY(-50%);
  }
}

body.search {
  --sr-bg: #00101c;
  --sr-accent: #ff2c00;
  --sr-accent-soft: #ff8a73;
  --sr-card-bg: rgb(255 255 255 / 0.04);
  --sr-card-bg-hover: rgb(255 255 255 / 0.08);
  --sr-card-border: rgb(255 255 255 / 0.1);
  --sr-gutter: 7.5vw;

  color: #fff !important;
  background-color: var(--sr-bg) !important;
}

body.search .elementor-widget-theme-archive-title {
  padding: 9rem var(--sr-gutter) 0 !important;
  margin-bottom: 2.5rem !important;
}

body.search .elementor-widget-theme-archive-title h1,
body.search h1.elementor-heading-title {
  font-family: Enduro, sans-serif !important;
  font-size: clamp(1.75rem, 1rem + 3vw, 2.75rem) !important;
  font-weight: 700 !important;
  line-height: 1.15 !important;
  color: #fff !important;
  overflow-wrap: anywhere !important;
}

body.search .elementor-widget-archive-posts {
  padding: 0 var(--sr-gutter) 8rem !important;
}

body.search .elementor-posts-container {
  display: grid !important;
  grid-template-columns: repeat(3, 1fr) !important;
  gap: 1.75rem !important;
}


body.search .elementor-post__thumbnail__link,
body.search .elementor-post__thumbnail,
body.search .elementor-post__badge,
body.search .elementor-post__avatar,
body.search .elementor-post-avatar,
body.search .elementor-post__meta-data {
  display: none !important;
}

body.search .elementor-post__card {
  box-sizing: border-box !important;
  display: flex !important;
  flex-direction: column !important;
  justify-content: space-between !important;
  height: 100% !important;
  min-height: 16.5rem !important;
  padding: 2rem !important;
  background: var(--sr-card-bg) !important;
  border: 1px solid var(--sr-card-border) !important;
  border-radius: 1rem !important;
  transition: transform 0.25s ease, background-color 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease !important;
}

body.search .elementor-post__card:hover {
  background: var(--sr-card-bg-hover) !important;
  border-color: var(--sr-accent) !important;
  box-shadow: 0 16px 36px rgb(0 0 0 / 0.5) !important;
  transform: translateY(-4px) !important;
}

body.search .elementor-post__text {
  display: flex !important;
  flex: 1 1 auto !important;
  flex-direction: column !important;
  padding: 0 !important;
}


body.search article.type-page .elementor-post__title::before,
body.search article.type-post .elementor-post__title::before {
  display: block;
  margin-bottom: 0.75rem;
  font-family: Enduro, sans-serif;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

body.search article.type-page .elementor-post__title::before {
  content: "Page / Service";
  color: var(--sr-accent);
}

body.search article.type-post .elementor-post__title::before {
  content: "News & Insights";
  color: var(--sr-accent-soft);
}

body.search .elementor-post__title {
  margin: 0 !important;
}

body.search .elementor-post__title a {
  font-family: Enduro, sans-serif !important;
  font-size: 1.35rem !important;
  font-weight: 600 !important;
  line-height: 1.25 !important;
  color: #fff !important;
  text-decoration: none !important;
  transition: color 0.2s ease !important;
}

body.search .elementor-post__title a:hover {
  color: var(--sr-accent) !important;
}

body.search .elementor-post__excerpt {
  display: block !important;
  margin: 0.875rem 0 0 !important;
}

body.search .elementor-post__excerpt p {
  display: -webkit-box !important;
  margin: 0 !important;
  overflow: hidden !important;
  font-family: Enduro, sans-serif !important;
  font-size: 0.875rem !important;
  line-height: 1.5 !important;
  color: rgb(255 255 255 / 0.6) !important;
  line-clamp: 3;
  -webkit-line-clamp: 3 !important;
  -webkit-box-orient: vertical !important;
}

body.search .elementor-post__read-more {
  display: inline-flex !important;
  align-items: center !important;
  padding-top: 1.5rem !important;
  margin-top: auto !important;
  font-family: Enduro, sans-serif !important;
  font-size: 0.8125rem !important;
  font-weight: 600 !important;
  letter-spacing: 0.06em !important;
  text-transform: uppercase !important;
  color: var(--sr-accent) !important;
  text-decoration: none !important;
  transition: color 0.2s ease !important;
}

body.search .elementor-post__read-more:hover {
  color: #fff !important;
}


body.search .elementor-pagination {
  display: flex !important;
  flex-wrap: wrap !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 0.75rem !important;
  margin-top: 3.5rem !important;
}

body.search .elementor-pagination a,
body.search .elementor-pagination span {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  min-width: 2.5rem !important;
  height: 2.5rem !important;
  padding: 0 0.5rem !important;
  font-family: Enduro, sans-serif !important;
  font-size: 0.9375rem !important;
  font-weight: 600 !important;
  color: #fff !important;
  text-decoration: none !important;
  background: rgb(255 255 255 / 0.08) !important;
  border: 1px solid rgb(255 255 255 / 0.15) !important;
  border-radius: 50% !important;
  transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease !important;
}

body.search .elementor-pagination a:hover {
  color: var(--sr-accent) !important;
  background: rgb(255 255 255 / 0.18) !important;
  border-color: var(--sr-accent) !important;
}

body.search .elementor-pagination span.current {
  color: #fff !important;
  background: var(--sr-accent) !important;
  border-color: var(--sr-accent) !important;
}

@media (max-width: 1023.98px) {
  body.search .elementor-posts-container {
    grid-template-columns: repeat(2, 1fr) !important;
  }

  body.search .elementor-widget-theme-archive-title {
    padding-top: 7rem !important;
  }
}

@media (max-width: 640px) {
  body.search .elementor-posts-container {
    grid-template-columns: 1fr !important;
  }

  body.search .elementor-post__card {
    min-height: 0 !important;
    padding: 1.5rem !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  body.search .elementor-post__card,
  body.search .elementor-post__title a,
  body.search .elementor-post__read-more {
    transition: none !important;
  }

  body.search .elementor-post__card:hover {
    transform: none !important;
  }
}
