/******* Do not edit this file *******
Simple Custom CSS and JS - by Silkypress.com
Saved: Jul 10 2026 | 22:50:43 */
/* ================================
   Ventari Search Results Page
================================ */

body.search .wp-site-blocks {
  background: #07172D;
}

body.search .ventari-search-results-page {
  position: relative;
  overflow: hidden;

  padding: clamp(82px, 9vw, 118px) clamp(20px, 4vw, 52px) clamp(76px, 8vw, 120px);

  color: #ffffff;
  background:
    linear-gradient(180deg, #07172D 0%, #0b1f33 48%, #07172D 100%);

  border-top: 1px solid rgba(232, 166, 48, 0.62);
  border-bottom: 1px solid rgba(232, 166, 48, 0.56);

  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.13),
    inset 0 -1px 0 rgba(255, 255, 255, 0.1);
}

body.search .ventari-search-results-page::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;

  background:
  linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.13) 0,
    rgba(232, 166, 48, 0.26) 1px,
    rgba(216, 155, 43, 0.2) 2px,
    rgba(232, 166, 48, 0.075) 8px,
    transparent 18px
  ) top / 100% 18px no-repeat,
  linear-gradient(
    0deg,
    rgba(255, 255, 255, 0.11) 0,
    rgba(232, 166, 48, 0.24) 1px,
    rgba(216, 155, 43, 0.18) 2px,
    rgba(232, 166, 48, 0.065) 8px,
    transparent 18px
  ) bottom / 100% 18px no-repeat;
}

body.search .ventari-search-results-page::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;

  background:
    linear-gradient(
      180deg,
      rgba(255, 255, 255, 0.16) 0,
      rgba(232, 166, 48, 0.2) 1px,
      rgba(232, 166, 48, 0.12) 3px,
      transparent 6px
    ) top / 100% 6px no-repeat,
    linear-gradient(
      0deg,
      rgba(255, 255, 255, 0.14) 0,
      rgba(232, 166, 48, 0.18) 1px,
      rgba(232, 166, 48, 0.1) 3px,
      transparent 6px
    ) bottom / 100% 6px no-repeat;

  backdrop-filter: blur(10px) saturate(1.12);
  -webkit-backdrop-filter: blur(10px) saturate(1.12);
}

/* ================================
   Hero
================================ */

body.search .ventari-search-results-hero {
  position: relative;
  z-index: 1;

  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 340px);
  gap: clamp(28px, 4vw, 52px);
  align-items: start;

  width: min(1280px, 100%);
  margin: 0 auto 28px;
}

body.search .ventari-search-results-hero__copy,
body.search .ventari-search-results-hero__search {
  margin: 0 !important;
}

body.search .ventari-search-results-hero__search {
  justify-self: end;
  width: 100%;
  max-width: 340px;
}

body.search .ventari-search-results-eyebrow {
  margin: 0 0 14px;

  color: var(--ventari-amber, #D89B2B);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

body.search .ventari-search-results-heading {
  margin: 0 0 12px;

  color: #ffffff;
  font-family: "Playfair Display", serif;
  line-height: 0.95;
  font-weight: 600;
  letter-spacing: -0.035em;

  text-wrap: balance;
}

body.search .ventari-search-results-title {
  margin: 0;

  color: rgba(255, 255, 255, 0.78);
  font-size: clamp(0.96rem, 1.25vw, 1.08rem);
  font-weight: 400;
  line-height: 1.6;
}

body.search .ventari-search-results-title mark,
body.search .ventari-search-results-title span {
  color: var(--ventari-amber, #D89B2B);
}

@media (min-width: 1025px) {
  body.search .ventari-search-results-heading {
    font-size: clamp(2.75rem, 3.42vw, 3.85rem);
    line-height: 0.96;
    font-weight: 600;
    letter-spacing: -0.035em;
  }
}

@media (max-width: 1024px) {
  body.search .ventari-search-results-heading {
    font-size: clamp(2.35rem, 5.7vw, 3.35rem);
    line-height: 0.95;
    font-weight: 600;
    letter-spacing: -0.035em;
  }
}

@media (max-width: 640px) {
  body.search .ventari-search-results-heading {
    font-size: clamp(2.05rem, 9.5vw, 2.75rem);
    line-height: 0.98;
    font-weight: 600;
    letter-spacing: -0.035em;
  }
}

/* ================================
   Search Form
================================ */

body.search .ventari-search-results-form {
  width: 100%;
  margin: 0;
}

/* Force the Search block label back into view */
body.search .wp-site-blocks .ventari-search-results-page .ventari-search-results-form .wp-block-search__label,
body.search .wp-site-blocks .ventari-search-results-page .ventari-search-results-form label.wp-block-search__label {
  position: static !important;
  width: auto !important;
  height: auto !important;
  margin: 0 0 10px !important;
  padding: 0 !important;
  overflow: visible !important;
  clip: auto !important;
  clip-path: none !important;
  white-space: normal !important;

  display: block !important;

  color: rgba(255, 255, 255, 0.72) !important;
  font-size: 0.72rem !important;
  font-weight: 600 !important;
  letter-spacing: 0.08em !important;
  line-height: 1.2 !important;
  text-transform: uppercase !important;
}

body.search .wp-site-blocks .ventari-search-results-page .ventari-search-results-form .wp-block-search__inside-wrapper {
  --ventari-search-button-offset: clamp(4px, 0.65vw, 8px);

  box-sizing: border-box !important;
  display: grid !important;
  grid-template-columns: 1fr calc(58px + var(--ventari-search-button-offset)) !important;
  gap: 10px !important;

  width: 100% !important;
  padding: 0 !important;
  border: none !important;
}

/* This targets the actual WordPress search input */
body.search .wp-site-blocks .ventari-search-results-page .ventari-search-results-form input.wp-block-search__input,
body.search .wp-site-blocks .ventari-search-results-page .ventari-search-results-form input.wp-block-search__input[type="search"],
body.search .wp-site-blocks .ventari-search-results-page .ventari-search-results-form #wp-block-search__input-3 {
  box-sizing: border-box !important;

  min-height: 58px !important;
  width: 100% !important;
  padding: 0 18px !important;

  color: #ffffff !important;
  caret-color: #ffffff !important;
  background: rgba(7, 24, 39, 0.58) !important;
  border: 1px solid rgba(255, 255, 255, 0.2) !important;
  border-radius: 2px !important;

  font-family: inherit !important;
  font-size: 0.88rem !important;
  font-weight: 400 !important;
  line-height: 1 !important;

  box-shadow: none !important;
  outline: none !important;
  appearance: none !important;
  -webkit-appearance: none !important;

  transition:
    border-color 260ms ease,
    box-shadow 260ms ease,
    background-color 260ms ease;
}

/* Placeholder text inside the input */
body.search .wp-site-blocks .ventari-search-results-page .ventari-search-results-form input.wp-block-search__input::placeholder,
body.search .wp-site-blocks .ventari-search-results-page .ventari-search-results-form input.wp-block-search__input[type="search"]::placeholder,
body.search .wp-site-blocks .ventari-search-results-page .ventari-search-results-form #wp-block-search__input-3::placeholder {
  color: rgba(255, 255, 255, 0.52) !important;
  opacity: 1 !important;

  font-size: 0.82rem !important;
  font-weight: 400 !important;
}

body.search .wp-site-blocks .ventari-search-results-page .ventari-search-results-form input.wp-block-search__input:hover,
body.search .wp-site-blocks .ventari-search-results-page .ventari-search-results-form input.wp-block-search__input[type="search"]:hover,
body.search .wp-site-blocks .ventari-search-results-page .ventari-search-results-form #wp-block-search__input-3:hover {
  color: #ffffff !important;
  caret-color: #ffffff !important;
  background: rgba(7, 24, 39, 0.66) !important;
  border-color: rgba(216, 155, 43, 0.52) !important;
  box-shadow: none !important;
}

body.search .wp-site-blocks .ventari-search-results-page .ventari-search-results-form input.wp-block-search__input:hover::placeholder,
body.search .wp-site-blocks .ventari-search-results-page .ventari-search-results-form input.wp-block-search__input[type="search"]:hover::placeholder,
body.search .wp-site-blocks .ventari-search-results-page .ventari-search-results-form #wp-block-search__input-3:hover::placeholder {
  color: rgba(255, 255, 255, 0.62) !important;
}

body.search .wp-site-blocks .ventari-search-results-page .ventari-search-results-form input.wp-block-search__input:focus,
body.search .wp-site-blocks .ventari-search-results-page .ventari-search-results-form input.wp-block-search__input[type="search"]:focus,
body.search .wp-site-blocks .ventari-search-results-page .ventari-search-results-form #wp-block-search__input-3:focus {
  color: #ffffff !important;
  caret-color: #E8A630 !important;
  background: rgba(7, 24, 39, 0.76) !important;
  border-color: rgba(232, 166, 48, 0.82) !important;

  box-shadow:
    0 0 0 3px rgba(232, 166, 48, 0.16),
    0 0 24px rgba(232, 166, 48, 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 0.1),
    inset 0 0 18px rgba(232, 166, 48, 0.08) !important;

  backdrop-filter: blur(12px) saturate(1.12);
  -webkit-backdrop-filter: blur(12px) saturate(1.12);

  outline: none !important;
}

body.search .wp-site-blocks .ventari-search-results-page .ventari-search-results-form input.wp-block-search__input:focus:not(:placeholder-shown),
body.search .wp-site-blocks .ventari-search-results-page .ventari-search-results-form input.wp-block-search__input[type="search"]:focus:not(:placeholder-shown),
body.search .wp-site-blocks .ventari-search-results-page .ventari-search-results-form #wp-block-search__input-3:focus:not(:placeholder-shown) {
  background: rgba(7, 24, 39, 0.8) !important;
  border-color: rgba(232, 166, 48, 0.92) !important;

  box-shadow:
    0 0 0 3px rgba(232, 166, 48, 0.18),
    0 0 30px rgba(232, 166, 48, 0.22),
    inset 0 1px 0 rgba(255, 255, 255, 0.12),
    inset 0 0 22px rgba(232, 166, 48, 0.1) !important;
}

body.search .wp-site-blocks .ventari-search-results-page .ventari-search-results-form input.wp-block-search__input:active,
body.search .wp-site-blocks .ventari-search-results-page .ventari-search-results-form input.wp-block-search__input[type="search"]:active,
body.search .wp-site-blocks .ventari-search-results-page .ventari-search-results-form #wp-block-search__input-3:active {
  color: #ffffff !important;
  caret-color: #ffffff !important;
  background: rgba(7, 24, 39, 0.72) !important;
  border-color: rgba(216, 155, 43, 0.62) !important;
  box-shadow: 0 0 0 3px rgba(216, 155, 43, 0.1) !important;
}

/* Remove native browser search decoration */
body.search .wp-site-blocks .ventari-search-results-page .ventari-search-results-form input.wp-block-search__input[type="search"]::-webkit-search-decoration {
  display: none !important;
}

/* Clear x inside the search input — matched to the modal */
body.search .wp-site-blocks .ventari-search-results-page .ventari-search-results-form input.wp-block-search__input[type="search"]::-webkit-search-cancel-button {
  -webkit-appearance: none !important;
  appearance: none !important;

  width: 15px !important;
  height: 15px !important;
  margin-left: 12px !important;

  cursor: pointer !important;
  opacity: 0.92 !important;

  border: 0 !important;
  border-radius: 0 !important;

  background:
    linear-gradient(
      45deg,
      transparent 43%,
      var(--ventari-amber, #D89B2B) 44%,
      var(--ventari-amber, #D89B2B) 56%,
      transparent 57%
    ),
    linear-gradient(
      -45deg,
      transparent 43%,
      var(--ventari-amber, #D89B2B) 44%,
      var(--ventari-amber, #D89B2B) 56%,
      transparent 57%
    ) !important;

  transition:
    opacity 220ms ease,
    transform 220ms ease,
    background 220ms ease;
}

body.search .wp-site-blocks .ventari-search-results-page .ventari-search-results-form input.wp-block-search__input[type="search"]::-webkit-search-cancel-button:hover {
  opacity: 1 !important;
  transform: scale(1.06) !important;
}

body.search .wp-site-blocks .ventari-search-results-page .ventari-search-results-form input.wp-block-search__input[type="search"]::-webkit-search-cancel-button:active {
  opacity: 1 !important;
  transform: translateY(1px) scale(1) !important;

  background:
    linear-gradient(
      45deg,
      transparent 43%,
      #ffffff 44%,
      #ffffff 56%,
      transparent 57%
    ),
    linear-gradient(
      -45deg,
      transparent 43%,
      #ffffff 44%,
      #ffffff 56%,
      transparent 57%
    ) !important;
}

/* Font Awesome search button */
body.search .wp-site-blocks .ventari-search-results-page .ventari-search-results-form .wp-block-search__button {
  position: relative !important;

  justify-self: end !important;
  min-height: 58px !important;
  width: 58px !important;
  margin-right: var(--ventari-search-button-offset) !important;
  padding: 0 !important;

  overflow: hidden !important;
  text-indent: -999px !important;

  color: transparent !important;
  background: var(--ventari-amber, #D89B2B) !important;
  border: 1px solid var(--ventari-amber, #D89B2B) !important;
  border-radius: 2px !important;

  cursor: pointer !important;

  box-shadow:
    0 10px 22px rgba(216, 155, 43, 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 0.16) !important;

  transition:
    color 220ms ease,
    background-color 220ms ease,
    border-color 220ms ease,
    transform 220ms ease,
    box-shadow 220ms ease;
}

body.search .wp-site-blocks .ventari-search-results-page .ventari-search-results-form .wp-block-search__button::before {
  content: "\f002";
  font-family: "Font Awesome 6 Free";
  font-weight: 900;

  position: absolute;
  inset: 0;

  display: flex;
  align-items: center;
  justify-content: center;

  color: #ffffff;
  text-indent: 0;
  font-size: 1rem;
  line-height: 1;

  transform: rotate(0deg);
  transform-origin: center;

  transition:
    color 260ms ease,
    transform 420ms ease;
}

body.search .wp-site-blocks .ventari-search-results-page .ventari-search-results-form .wp-block-search__button:hover {
  background: rgba(216, 155, 43, 0.48) !important;
  border-color: rgba(216, 155, 43, 0.58) !important;
  transform: translateY(-1px) !important;

  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);

  box-shadow:
    0 12px 24px rgba(216, 155, 43, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.22) !important;
}

body.search .wp-site-blocks .ventari-search-results-page .ventari-search-results-form .wp-block-search__button:hover::before {
  color: #ffffff;
  transform: rotate(360deg);
}

body.search .wp-site-blocks .ventari-search-results-page .ventari-search-results-form .wp-block-search__button:active {
  background: rgba(255, 255, 255, 0.94) !important;
  border-color: rgba(255, 255, 255, 0.82) !important;
  transform: translateY(1px) !important;

  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);

  box-shadow:
    0 6px 14px rgba(0, 0, 0, 0.16),
    0 0 0 1px rgba(216, 155, 43, 0.34),
    inset 0 1px 0 rgba(255, 255, 255, 0.98),
    inset 0 -1px 0 rgba(216, 155, 43, 0.18),
    inset 0 -8px 18px rgba(216, 155, 43, 0.08) !important;
}

body.search .wp-site-blocks .ventari-search-results-page .ventari-search-results-form .wp-block-search__button:active::before {
  color: #243A5E;
  transform: rotate(-360deg);
}

/* ================================
   Filter Row
================================ */

body.search .ventari-search-filter-row {
  position: relative;
  z-index: 1;

  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;

  width: min(1280px, 100%);
  margin: 0 auto 34px;
}

body.search .ventari-search-filter-row__label {
  flex-basis: 100%;

  color: var(--ventari-amber, #D89B2B);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

body.search .ventari-search-filter-row a {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  min-height: 44px;
  padding: 0 22px;

  color: rgba(255, 255, 255, 0.84);
  text-decoration: none;

  background: rgba(255, 255, 255, 0.035);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 2px;

  font-size: 0.92rem;
  font-weight: 500;

  transition:
    color 220ms ease,
    background-color 220ms ease,
    border-color 220ms ease,
    transform 220ms ease;
}

body.search .ventari-search-filter-row a:hover {
  color: #ffffff;
  border-color: rgba(216, 155, 43, 0.5);
  background: rgba(216, 155, 43, 0.13);
  transform: translateY(-1px);
}

body.search .ventari-search-filter-row a.is-active {
  color: #ffffff;
  background: var(--ventari-amber, #D89B2B);
  border-color: var(--ventari-amber, #D89B2B);
}

body.search .ventari-search-filter-row a.is-active:hover {
  color: #ffffff;
  background: rgba(216, 155, 43, 0.13);
  border-color: rgba(216, 155, 43, 0.5);
  transform: translateY(-1px);
}

body.search .ventari-search-filter-row a:active {
  color: #ffffff;
  background: var(--ventari-amber, #D89B2B);
  border-color: var(--ventari-amber, #D89B2B);
  transform: translateY(1px);
}

body.search .ventari-search-filter-row a.is-active:active {
  color: rgba(255, 255, 255, 0.84);
  background: rgba(255, 255, 255, 0.035);
  border-color: rgba(255, 255, 255, 0.16);
  transform: translateY(1px);
}

/* ================================
   Main Layout
================================ */

body.search .ventari-search-results-layout {
  position: relative;
  z-index: 1;

  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 340px);
  gap: clamp(28px, 4vw, 52px);

  width: min(1280px, 100%);
  margin: 0 auto;
  padding-top: 22px;

  border-top: 1px solid rgba(255, 255, 255, 0.13);
}

body.search .ventari-search-results-query {
  margin: 0;
  min-width: 0;
}

body.search .ventari-search-results-query .wp-block-post-template {
  display: grid;
  gap: 0;

  margin: 0;
  padding: 0;

  list-style: none;
}

/* =====================================================
   Prevent Page Overlay Flash Before JS Classification
===================================================== */

body.search:not(.ventari-search-overlays-ready)
.ventari-search-result-card__image {
  visibility: hidden;
}

/* ================================
   Result Cards
================================ */

body.search .ventari-search-result-card {
  display: grid;
  grid-template-columns: 230px minmax(0, 1fr);
  gap: clamp(22px, 3vw, 42px);
  align-items: center;

  margin: 0;
  padding: 22px 0;

  border-bottom: 1px solid rgba(255, 255, 255, 0.13);

  transition:
    border-color 220ms ease,
    transform 220ms ease;
}

body.search .ventari-search-result-card:hover {
  border-color: rgba(216, 155, 43, 0.34);
}

body.search .ventari-search-result-card__image {
  position: relative;
  margin: 0;
}

body.search .ventari-search-result-card__image a {
  position: relative;
  display: block;
  overflow: hidden;
  border-radius: 0;
  isolation: isolate;

  transition:
    transform 240ms ease,
    box-shadow 240ms ease;
}

body.search .ventari-search-result-card__image img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;

  border-radius: 0;
  border: 1px solid rgba(255, 255, 255, 0.14);

  filter: saturate(0.92) contrast(1.04);

transition:
  border-color 240ms ease,
  filter 240ms ease,
  transform 240ms ease;
}

body.search .ventari-search-result-card__image a:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 34px rgba(0, 0, 0, 0.24);
}

body.search .ventari-search-result-card__image a:not([data-ventari-page-overlay]):hover img {
  border-color: rgba(255, 255, 255, 0.48);
  filter: saturate(0.98) contrast(1.03) brightness(0.94);
  transform: scale(1.012);
}

body.search .ventari-search-result-card__image a[data-ventari-page-overlay]:hover img {
  border-color: rgba(216, 155, 43, 0.42);
  filter: saturate(1) contrast(1.06);
  transform: scale(1.012);
}

body.search .ventari-search-result-card__image a:active {
  transform: translateY(1px);
  box-shadow: none;
}

body.search .ventari-search-result-card__image a:active img {
  transform: scale(1);
}

body.search .ventari-search-result-card__image a:not([data-ventari-page-overlay]):active img {
  border-color: rgba(216, 155, 43, 0.62);
}

/* =====================================================
   Blog / Insight Image Soft Overlay States
===================================================== */

body.search .ventari-search-result-card__image a:not([data-ventari-page-overlay])::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;

  opacity: 0;

  background:
    linear-gradient(
      135deg,
      rgba(7, 24, 39, 0.16) 0%,
      rgba(12, 35, 56, 0.12) 48%,
      rgba(36, 58, 94, 0.16) 100%
    );

  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    inset 0 -1px 0 rgba(216, 155, 43, 0.1);

  transition:
    opacity 240ms ease,
    background 240ms ease,
    box-shadow 240ms ease;
}

body.search .ventari-search-result-card__image a:not([data-ventari-page-overlay]):hover::before {
  opacity: 1;

  background:
    linear-gradient(
      145deg,
      rgba(7, 24, 39, 0.22) 0%,
      rgba(7, 24, 39, 0.46) 52%,
      rgba(36, 58, 94, 0.38) 100%
    ),
    radial-gradient(
      circle at 18% 14%,
      rgba(255, 255, 255, 0.16) 0%,
      rgba(255, 255, 255, 0.06) 28%,
      transparent 58%
    );

  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.34),
    inset 0 1px 0 rgba(255, 255, 255, 0.16),
    inset 0 -1px 0 rgba(7, 24, 39, 0.32),
    inset 0 0 30px rgba(7, 24, 39, 0.18);
}

body.search .ventari-search-result-card__image a:not([data-ventari-page-overlay]):active::before {
  opacity: 1;

  background:
    linear-gradient(
      135deg,
      rgba(255, 226, 128, 0.22) 0%,
      rgba(236, 190, 82, 0.18) 48%,
      rgba(216, 155, 43, 0.22) 100%
    );

  box-shadow:
    inset 0 0 0 1px rgba(216, 155, 43, 0.62),
    inset 0 1px 0 rgba(255, 255, 255, 0.2),
    inset 0 -1px 0 rgba(216, 155, 43, 0.22),
    inset 0 0 26px rgba(216, 155, 43, 0.16);
}

/* =====================================================
   Page Featured Image Overlays
===================================================== */

body.search .ventari-search-result-card__image a[data-ventari-page-overlay] {
  background:
    linear-gradient(
      135deg,
      rgba(232, 184, 70, 0.98) 0%,
      rgba(216, 155, 43, 0.98) 48%,
      rgba(166, 111, 24, 0.98) 100%
    );

  border: 1px solid rgba(255, 255, 255, 0.14);
}

body.search .ventari-search-result-card__image a[data-ventari-page-overlay]:hover {
  background:
    linear-gradient(
      135deg,
      rgba(7, 24, 39, 0.94) 0%,
      rgba(12, 35, 56, 0.94) 48%,
      rgba(36, 58, 94, 0.94) 100%
    );

  border-color: rgba(216, 155, 43, 0.42);
}

body.search .ventari-search-result-card__image a[data-ventari-page-overlay]:active {
  background:
    linear-gradient(
      135deg,
      rgba(244, 199, 83, 0.9) 0%,
      rgba(216, 155, 43, 0.88) 48%,
      rgba(174, 116, 26, 0.9) 100%
    );

  border-color: rgba(255, 255, 255, 0.34);
}

body.search .ventari-search-result-card__image a[data-ventari-page-overlay] img {
  opacity: 0;
}

body.search .ventari-search-result-card__image a[data-ventari-page-overlay]::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;

  background-image:
    url("https://ventariglobal.com/wp-content/uploads/2026/07/ventari_global_group_wordmark_dark_blue_and_white_landscape-scaled.png"),
    radial-gradient(circle at 50% 16%, rgba(255, 255, 255, 0.24) 0%, rgba(255, 255, 255, 0.08) 32%, transparent 64%),
    linear-gradient(
      135deg,
      rgba(232, 184, 70, 0.92) 0%,
      rgba(216, 155, 43, 0.86) 46%,
      rgba(166, 111, 24, 0.9) 100%
    );

  background-repeat:
    no-repeat,
    no-repeat,
    no-repeat;

  background-position:
    center 38%,
    center center,
    center center;

  background-size:
    min(72%, 158px) auto,
    cover,
    cover;

  backdrop-filter: blur(12px) saturate(1.12);
  -webkit-backdrop-filter: blur(12px) saturate(1.12);

  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.24),
    inset 0 -1px 0 rgba(7, 24, 39, 0.22),
    inset 0 0 34px rgba(7, 24, 39, 0.14);

  transition:
    background 240ms ease,
    opacity 240ms ease,
    filter 240ms ease;
}

body.search .ventari-search-result-card__image a[data-ventari-page-overlay]::after {
  content: attr(data-ventari-page-overlay);

  position: absolute;
  inset: 0;
  z-index: 2;

  display: flex;
  align-items: flex-end;
  justify-content: center;

  box-sizing: border-box;
  padding: 0 18px 24px;

  color: #ffffff;

  text-align: center;
  font-family: inherit;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.11em;
  line-height: 1.25;
  text-transform: uppercase;

  text-shadow:
    0 2px 12px rgba(7, 24, 39, 0.42),
    0 1px 1px rgba(7, 24, 39, 0.22);

  pointer-events: none;

  transition:
    transform 240ms ease,
    opacity 240ms ease,
    text-shadow 240ms ease;
}

body.search .ventari-search-result-card__image a[data-ventari-page-overlay]:hover::before {
  background-image:
    url("https://ventariglobal.com/wp-content/uploads/2026/07/ventari_global_group_logo_wordmark_white-scaled.png"),
    radial-gradient(circle at 50% 16%, rgba(255, 255, 255, 0.16) 0%, rgba(255, 255, 255, 0.055) 34%, transparent 66%),
    linear-gradient(
      135deg,
      rgba(7, 24, 39, 0.92) 0%,
      rgba(12, 35, 56, 0.9) 46%,
      rgba(36, 58, 94, 0.92) 100%
    );

  background-repeat:
    no-repeat,
    no-repeat,
    no-repeat;

  background-position:
    center 37%,
    center center,
    center center;

  background-size:
    min(74%, 164px) auto,
    cover,
    cover;

  backdrop-filter: blur(14px) saturate(1.05);
  -webkit-backdrop-filter: blur(14px) saturate(1.05);

  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.16),
    inset 0 -1px 0 rgba(216, 155, 43, 0.18),
    inset 0 0 38px rgba(0, 0, 0, 0.18);
}

body.search .ventari-search-result-card__image a[data-ventari-page-overlay]:hover::after {
  transform: translateY(-1px);
  text-shadow:
    0 3px 16px rgba(7, 24, 39, 0.52),
    0 1px 1px rgba(7, 24, 39, 0.28);
}

body.search .ventari-search-result-card__image a[data-ventari-page-overlay]:active {
  background:
    linear-gradient(
      135deg,
      rgba(255, 226, 128, 0.82) 0%,
      rgba(236, 190, 82, 0.72) 48%,
      rgba(216, 155, 43, 0.66) 100%
    );

  border-color: rgba(255, 255, 255, 0.34);
}

body.search .ventari-search-result-card__image a[data-ventari-page-overlay]:active::before {
  background-image:
    url("https://ventariglobal.com/wp-content/uploads/2026/07/ventari_global_group_wordmark_dark_blue_landscape-scaled.png"),
    radial-gradient(circle at 50% 16%, rgba(255, 255, 255, 0.34) 0%, rgba(255, 255, 255, 0.14) 34%, transparent 68%),
    linear-gradient(
      135deg,
      rgba(255, 226, 128, 0.82) 0%,
      rgba(236, 190, 82, 0.72) 46%,
      rgba(216, 155, 43, 0.66) 100%
    );

  background-repeat:
    no-repeat,
    no-repeat,
    no-repeat;

  background-position:
    center 38%,
    center center,
    center center;

  background-size:
    min(70%, 154px) auto,
    cover,
    cover;

  backdrop-filter: blur(14px) saturate(1.16);
  -webkit-backdrop-filter: blur(14px) saturate(1.16);

  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.38),
    inset 0 -1px 0 rgba(7, 24, 39, 0.18),
    inset 0 0 34px rgba(255, 255, 255, 0.12);
}

body.search .ventari-search-result-card__image a[data-ventari-page-overlay]:active::after {
  transform: translateY(1px);
  text-shadow:
    0 2px 12px rgba(7, 24, 39, 0.38),
    0 1px 1px rgba(7, 24, 39, 0.2);
}

body.search .ventari-search-result-card__content {
  margin: 0 !important;
}

body.search .ventari-search-result-card__terms {
  display: none !important;
}

body.search .ventari-search-result-card__title {
  margin: 0 0 12px;
}

body.search .ventari-search-result-card__title a {
  display: inline-block;

  color: #ffffff;
  text-decoration: none;

  font-family: "Playfair Display", serif;
  font-size: clamp(1.45rem, 2.2vw, 2.15rem);
  font-weight: 500;
  line-height: 1.12;

  transform: translateY(0);

  transition:
    color 220ms ease,
    transform 220ms ease;
}

body.search .ventari-search-result-card__title a:hover {
  color: #F3C35B;
  transform: translateY(-1px);
}

body.search .ventari-search-result-card__title a:active {
  color: var(--ventari-amber, #D89B2B);
  transform: translateY(0);
}

body.search .ventari-search-result-card__excerpt {
  max-width: 660px;
  margin: 0;
}

body.search .ventari-search-result-card__excerpt .wp-block-post-excerpt__excerpt {
  margin: 0 0 14px;

  color: rgba(255, 255, 255, 0.74);
  font-size: 0.98rem;
  line-height: 1.62;
}

body.search .ventari-search-result-card__excerpt .wp-block-post-excerpt__more-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;

  color: #F3C35B;
  text-decoration: none;

  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  line-height: 1.2;
  text-transform: uppercase;

  transition:
    color 220ms ease,
    transform 220ms ease;
}

body.search .ventari-search-result-card__excerpt .wp-block-post-excerpt__more-link::after {
  content: "\f105";

  display: inline-flex;
  align-items: center;
  justify-content: center;

  color: #F3C35B;

  font-family: "Font Awesome 6 Free";
  font-size: 0.82rem;
  font-weight: 900;
  line-height: 1;

  transform: translateY(0.01em);

  transition:
    color 220ms ease,
    transform 220ms ease;
}

body.search .ventari-search-result-card__excerpt .wp-block-post-excerpt__more-link:hover {
  color: #ffffff;
  transform: translateY(-1px);
}

body.search .ventari-search-result-card__excerpt .wp-block-post-excerpt__more-link:hover::after {
  color: #ffffff;
  transform: translate(3px, 0.01em);
}

body.search .ventari-search-result-card__excerpt .wp-block-post-excerpt__more-link:active {
  color: var(--ventari-amber, #D89B2B);
  transform: translateY(1px);
}

body.search .ventari-search-result-card__excerpt .wp-block-post-excerpt__more-link:active::after {
  color: var(--ventari-amber, #D89B2B);
  transform: translate(0, 0.01em);
}

/* Hide empty featured image blocks if a result has no image */
body.search .ventari-search-result-card__image:empty {
  display: none;
}

body.search .ventari-search-result-card:has(.ventari-search-result-card__image:empty) {
  grid-template-columns: 1fr;
}

/* ================================
   Sidebar
================================ */

body.search .ventari-search-results-sidebar {
  margin: 0;
  padding-left: clamp(22px, 3vw, 36px);

  border-left: 1px solid rgba(255, 255, 255, 0.13);
}

body.search .ventari-search-sidebar-card {
  box-sizing: border-box;
  width: 100%;
  min-width: 0;
  padding: 28px 24px;

  background: rgba(255, 255, 255, 0.035);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 0;

  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

body.search .ventari-search-sidebar-card + .ventari-search-sidebar-card {
  margin-top: 22px;
}

body.search .ventari-search-sidebar-card h2 {
  margin: 0 0 22px;

  color: var(--ventari-amber, #D89B2B);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.13em;
  line-height: 1.4;
  text-transform: uppercase;
}

body.search .ventari-search-sidebar-card a:not(.ventari-search-sidebar-cta):not(.ventari-search-featured-insight__image):not(.ventari-search-featured-insight__button) {
  display: flex;
  align-items: center;
  justify-content: space-between;

  min-height: 44px;

  color: #F3C35B;
  text-decoration: none;

  font-size: 0.94rem;
  font-weight: 500;

  transition:
    color 220ms ease,
    transform 220ms ease;
}

body.search .ventari-search-sidebar-card a:not(.ventari-search-sidebar-cta):not(.ventari-search-featured-insight__image):not(.ventari-search-featured-insight__button)::after {
  content: "›";
  flex: 0 0 auto;
  margin-left: 14px;

  color: #F3C35B;
  font-size: 1.25rem;
  transition:
    color 220ms ease,
    transform 220ms ease;
}

body.search .ventari-search-sidebar-card a:not(.ventari-search-sidebar-cta):not(.ventari-search-featured-insight__image):not(.ventari-search-featured-insight__button):hover {
  color: #ffffff;
  transform: translateX(2px);
}

body.search .ventari-search-sidebar-card a:not(.ventari-search-sidebar-cta):not(.ventari-search-featured-insight__image):not(.ventari-search-featured-insight__button):hover::after {
  color: #ffffff;
  transform: translateX(3px);
}

body.search .ventari-search-sidebar-card a:not(.ventari-search-sidebar-cta):not(.ventari-search-featured-insight__image):not(.ventari-search-featured-insight__button):active {
  color: var(--ventari-amber, #D89B2B);
  transform: translateX(0);
}

body.search .ventari-search-sidebar-card a:not(.ventari-search-sidebar-cta):not(.ventari-search-featured-insight__image):not(.ventari-search-featured-insight__button):active::after {
  color: var(--ventari-amber, #D89B2B);
  transform: translateX(0);
}

/* ================================
   Featured Insight Sidebar Card
================================ */

body.search .ventari-search-sidebar-card--featured-insight {
  overflow: hidden;
}

body.search .ventari-search-sidebar-card--featured-insight h2 {
  margin-bottom: 18px;
}

body.search .ventari-search-featured-insight__image {
  position: relative;

  display: block;
  overflow: hidden;
  isolation: isolate;

  width: 100%;
  margin: 0 0 20px;

  border-radius: 0;

  text-decoration: none;

  transition:
    transform 240ms ease,
    box-shadow 240ms ease;
}

body.search .ventari-search-featured-insight__image img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;

  border-radius: 0;
  border: 1px solid rgba(255, 255, 255, 0.14);

  filter: saturate(0.92) contrast(1.04);

  transition:
    border-color 240ms ease,
    filter 240ms ease,
    transform 240ms ease;
}

body.search .ventari-search-featured-insight__image::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;

  opacity: 0;

  background:
    linear-gradient(
      135deg,
      rgba(7, 24, 39, 0.16) 0%,
      rgba(12, 35, 56, 0.12) 48%,
      rgba(36, 58, 94, 0.16) 100%
    );

  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    inset 0 -1px 0 rgba(216, 155, 43, 0.1);

  transition:
    opacity 240ms ease,
    background 240ms ease,
    box-shadow 240ms ease;
}

body.search .ventari-search-featured-insight__image:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 34px rgba(0, 0, 0, 0.24);
}

body.search .ventari-search-featured-insight__image:hover img {
  border-color: rgba(255, 255, 255, 0.48);
  filter: saturate(0.98) contrast(1.03) brightness(0.94);
  transform: scale(1.012);
}

body.search .ventari-search-featured-insight__image:hover::before {
  opacity: 1;

  background:
    linear-gradient(
      145deg,
      rgba(7, 24, 39, 0.22) 0%,
      rgba(7, 24, 39, 0.46) 52%,
      rgba(36, 58, 94, 0.38) 100%
    ),
    radial-gradient(
      circle at 18% 14%,
      rgba(255, 255, 255, 0.16) 0%,
      rgba(255, 255, 255, 0.06) 28%,
      transparent 58%
    );

  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.34),
    inset 0 1px 0 rgba(255, 255, 255, 0.16),
    inset 0 -1px 0 rgba(7, 24, 39, 0.32),
    inset 0 0 30px rgba(7, 24, 39, 0.18);
}

body.search .ventari-search-featured-insight__image:active {
  transform: translateY(1px);
  box-shadow: none;
}

body.search .ventari-search-featured-insight__image:active img {
  border-color: rgba(216, 155, 43, 0.62);
  transform: scale(1);
}

body.search .ventari-search-featured-insight__image:active::before {
  opacity: 1;

  background:
    linear-gradient(
      135deg,
      rgba(255, 226, 128, 0.22) 0%,
      rgba(236, 190, 82, 0.18) 48%,
      rgba(216, 155, 43, 0.22) 100%
    );

  box-shadow:
    inset 0 0 0 1px rgba(216, 155, 43, 0.62),
    inset 0 1px 0 rgba(255, 255, 255, 0.2),
    inset 0 -1px 0 rgba(216, 155, 43, 0.22),
    inset 0 0 26px rgba(216, 155, 43, 0.16);
}

body.search .ventari-search-sidebar-card--featured-insight h3 {
  margin: 0 0 12px;

  color: #ffffff;

  font-family: "Playfair Display", serif;
  font-size: clamp(1.35rem, 1.7vw, 1.58rem);
  font-weight: 500;
  line-height: 1.22;
  letter-spacing: -0.014em;
}

body.search .ventari-search-sidebar-card--featured-insight p {
  margin: 0 0 18px;

  color: rgba(255, 255, 255, 0.78);
  font-size: 0.98rem;
  line-height: 1.62;
}

body.search .ventari-search-featured-insight__button {
  display: flex;
  align-items: center;
  justify-content: space-between;

  min-height: 44px;
  width: 100%;

  color: #F3C35B;
  text-decoration: none;

  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  line-height: 1.2;
  text-transform: uppercase;

  transition:
    color 220ms ease,
    transform 220ms ease;
}

body.search .ventari-search-featured-insight__button::after {
  content: "›";
  flex: 0 0 auto;
  margin-left: 14px;

  color: #F3C35B;
  font-size: 1.25rem;
  line-height: 1;

  transition:
    color 220ms ease,
    transform 220ms ease;
}

body.search .ventari-search-featured-insight__button:hover {
  color: #ffffff;
  transform: translateX(2px);
}

body.search .ventari-search-featured-insight__button:hover::after {
  color: #ffffff;
  transform: translateX(3px);
}

body.search .ventari-search-featured-insight__button:active {
  color: var(--ventari-amber, #D89B2B);
  transform: translateX(0);
}

body.search .ventari-search-featured-insight__button:active::after {
  color: var(--ventari-amber, #D89B2B);
  transform: translateX(0);
}

body.search .ventari-search-sidebar-card--cta p {
  margin: 0 0 24px;

  color: rgba(255, 255, 255, 0.78);
  font-size: 0.98rem;
  line-height: 1.62;
}

body.search .ventari-search-sidebar-cta {
  box-sizing: border-box;

  display: inline-flex;
  align-items: center;
  justify-content: center;

  width: 100%;
  max-width: 100%;
  min-width: 0;
  min-height: 50px;
  padding: 0 14px;

  color: #ffffff;
  background: var(--ventari-amber, #D89B2B);
  border: 1px solid var(--ventari-amber, #D89B2B);
  border-radius: 2px;

  text-align: center;
  text-decoration: none;
  white-space: normal;
  overflow-wrap: anywhere;

  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  line-height: 1.25;
  text-transform: uppercase;

  transition:
    color 220ms ease,
    background-color 220ms ease,
    border-color 220ms ease,
    transform 220ms ease,
    box-shadow 220ms ease;
}

body.search .ventari-search-sidebar-cta:hover {
  color: #ffffff;
  background: rgba(226, 174, 74, 0.92);
  border-color: rgba(216, 155, 43, 0.62);
  transform: translateY(-1px);
  box-shadow:
    0 12px 24px rgba(216, 155, 43, 0.22),
    inset 0 1px 0 rgba(255, 255, 255, 0.22);
}

body.search .ventari-search-sidebar-cta:active {
  color: #ffffff;
  background: rgba(7, 24, 39, 0.72);
  border-color: rgba(255, 255, 255, 0.58);
  transform: translateY(1px);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

/* ================================
   Pagination
================================ */

body.search .ventari-search-results-pagination {
  width: 100%;
  margin-top: 2.125rem;
}

body.search
  .ventari-search-results-pagination
  .wp-block-query-pagination {
  display: flex !important;
  flex-wrap: wrap !important;
  align-items: center !important;
  justify-content: flex-start !important;

  gap: 0.5rem !important;

  margin: 0 !important;
  padding: 0 !important;
}

/* Pagination number wrapper */
body.search
  .ventari-search-results-pagination
  .wp-block-query-pagination-numbers {
  display: inline-flex !important;
  flex-wrap: wrap !important;
  align-items: center !important;

  gap: 0.5rem !important;

  margin: 0 !important;
  padding: 0 !important;
}

/* Page numbers */
body.search
  .ventari-search-results-pagination
  .page-numbers:not(.dots) {
  box-sizing: border-box !important;

  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;

  width: 2.75rem !important;
  min-width: 2.75rem !important;
  height: 2.75rem !important;
  min-height: 2.75rem !important;

  margin: 0 !important;
  padding: 0 !important;

  color: rgba(255, 255, 255, 0.76) !important;

  background:
    linear-gradient(
      135deg,
      rgba(255, 255, 255, 0.055) 0%,
      rgba(255, 255, 255, 0.025) 100%
    ) !important;

  border: 1px solid rgba(255, 255, 255, 0.16) !important;
  border-radius: 2px !important;

  text-decoration: none !important;

  font-family: inherit !important;
  font-size: 0.875rem !important;
  font-weight: 600 !important;
  letter-spacing: 0 !important;
  line-height: 1 !important;

  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.06) !important;

  backdrop-filter: blur(10px) saturate(1.08);
  -webkit-backdrop-filter: blur(10px) saturate(1.08);

  transition:
    color 220ms ease,
    background 220ms ease,
    border-color 220ms ease,
    transform 220ms ease,
    box-shadow 220ms ease;
}

/* Ellipsis */
body.search
  .ventari-search-results-pagination
  .page-numbers.dots {
  box-sizing: border-box !important;

  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;

  width: 1.75rem !important;
  min-width: 1.75rem !important;
  height: 2.75rem !important;
  min-height: 2.75rem !important;

  margin: 0 !important;
  padding: 0 !important;

  color: rgba(255, 255, 255, 0.5) !important;

  background: transparent !important;
  border: 0 !important;
  border-radius: 0 !important;

  font-family: inherit !important;
  font-size: 0.82rem !important;
  font-weight: 600 !important;
  line-height: 1 !important;

  box-shadow: none !important;

  pointer-events: none !important;
}

/* Number hover */
body.search
  .ventari-search-results-pagination
  a.page-numbers:not(.current):not(.dots):hover {
  color: #ffffff !important;

  background:
    linear-gradient(
      135deg,
      rgba(216, 155, 43, 0.2) 0%,
      rgba(216, 155, 43, 0.08) 100%
    ) !important;

  border-color: rgba(216, 155, 43, 0.58) !important;

  transform: translateY(-1px) !important;

  box-shadow:
    0 0.625rem 1.25rem rgba(0, 0, 0, 0.16),
    inset 0 1px 0 rgba(255, 255, 255, 0.12) !important;
}

/* Number active — matched to archive pagination */
body.search
  .ventari-search-results-pagination
  a.page-numbers:not(.current):not(.dots):active {
  color: #ffffff !important;

  background: rgba(255, 226, 128, 0.18) !important;

  border-color: rgba(216, 155, 43, 0.52) !important;

  transform: translateY(1px) !important;

  box-shadow:
    0 4px 10px rgba(0, 0, 0, 0.14),
    inset 0 1px 0 rgba(255, 255, 255, 0.16),
    inset 0 0 18px rgba(216, 155, 43, 0.12) !important;
}

/* Current page */
body.search
  .ventari-search-results-pagination
  .page-numbers.current {
  color: #ffffff !important;

  background:
    linear-gradient(
      135deg,
      rgba(232, 166, 48, 0.98) 0%,
      rgba(216, 155, 43, 0.94) 100%
    ) !important;

  border-color: rgba(232, 166, 48, 0.92) !important;

  box-shadow:
    0 0.5rem 1.25rem rgba(216, 155, 43, 0.16),
    inset 0 1px 0 rgba(255, 255, 255, 0.22) !important;

  cursor: default !important;
}

/* Previous / Next */
body.search
  .ventari-search-results-pagination
  .wp-block-query-pagination-previous,
body.search
  .ventari-search-results-pagination
  .wp-block-query-pagination-next {
  box-sizing: border-box !important;

  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;

  width: auto !important;
  min-width: 0 !important;
  height: 2.75rem !important;
  min-height: 2.75rem !important;

  margin: 0 !important;
  padding: 0 1rem !important;

  color: rgba(255, 255, 255, 0.8) !important;

  background:
    linear-gradient(
      135deg,
      rgba(255, 255, 255, 0.055) 0%,
      rgba(255, 255, 255, 0.025) 100%
    ) !important;

  border: 1px solid rgba(255, 255, 255, 0.16) !important;
  border-radius: 2px !important;

  text-decoration: none !important;
  white-space: nowrap !important;

  font-family: inherit !important;
  font-size: 0.76rem !important;
  font-weight: 700 !important;
  letter-spacing: 0.08em !important;
  line-height: 1 !important;
  text-transform: uppercase !important;

  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.06) !important;

  backdrop-filter: blur(10px) saturate(1.08);
  -webkit-backdrop-filter: blur(10px) saturate(1.08);

  transition:
    color 220ms ease,
    background 220ms ease,
    border-color 220ms ease,
    transform 220ms ease,
    box-shadow 220ms ease;
}

/* Previous / Next arrow */
body.search
  .ventari-search-results-pagination
  .wp-block-query-pagination-previous-arrow,
body.search
  .ventari-search-results-pagination
  .wp-block-query-pagination-next-arrow {
  display: inline-flex !important;

  margin: 0 !important;

  color: var(--ventari-amber, #D89B2B) !important;

  font-size: 0.9rem !important;
  line-height: 1 !important;

  transition:
    color 220ms ease,
    transform 220ms ease;
}

body.search
  .ventari-search-results-pagination
  .wp-block-query-pagination-previous-arrow {
  margin-right: 0.625rem !important;
}

body.search
  .ventari-search-results-pagination
  .wp-block-query-pagination-next-arrow {
  margin-left: 0.625rem !important;
}

/* Previous / Next hover */
body.search
  .ventari-search-results-pagination
  .wp-block-query-pagination-previous:hover,
body.search
  .ventari-search-results-pagination
  .wp-block-query-pagination-next:hover {
  color: #ffffff !important;

  background:
    linear-gradient(
      135deg,
      rgba(216, 155, 43, 0.2) 0%,
      rgba(216, 155, 43, 0.08) 100%
    ) !important;

  border-color: rgba(216, 155, 43, 0.58) !important;

  transform: translateY(-1px) !important;

  box-shadow:
    0 0.625rem 1.25rem rgba(0, 0, 0, 0.16),
    inset 0 1px 0 rgba(255, 255, 255, 0.12) !important;
}

body.search
  .ventari-search-results-pagination
  .wp-block-query-pagination-previous:hover
  .wp-block-query-pagination-previous-arrow {
  color: #ffffff !important;
  transform: translateX(-2px) !important;
}

body.search
  .ventari-search-results-pagination
  .wp-block-query-pagination-next:hover
  .wp-block-query-pagination-next-arrow {
  color: #ffffff !important;
  transform: translateX(2px) !important;
}

/* Previous / Next active — matched to archive pagination */
body.search
  .ventari-search-results-pagination
  .wp-block-query-pagination-previous:active,
body.search
  .ventari-search-results-pagination
  .wp-block-query-pagination-next:active {
  color: #ffffff !important;

  background: rgba(255, 226, 128, 0.18) !important;

  border-color: rgba(216, 155, 43, 0.52) !important;

  transform: translateY(1px) !important;

  box-shadow:
    0 4px 10px rgba(0, 0, 0, 0.14),
    inset 0 1px 0 rgba(255, 255, 255, 0.16),
    inset 0 0 18px rgba(216, 155, 43, 0.12) !important;
}

/* Previous / Next arrows active */
body.search
  .ventari-search-results-pagination
  .wp-block-query-pagination-previous:active
  .wp-block-query-pagination-previous-arrow,
body.search
  .ventari-search-results-pagination
  .wp-block-query-pagination-next:active
  .wp-block-query-pagination-next-arrow {
  color: #ffffff !important;
  transform: translateX(0) !important;
}

/* Mobile */
@media (max-width: 599.99px) {
  body.search
    .ventari-search-results-pagination
    .wp-block-query-pagination {
    gap: 0.375rem !important;
  }

  body.search
    .ventari-search-results-pagination
    .wp-block-query-pagination-numbers {
    gap: 0.375rem !important;
  }

  body.search
    .ventari-search-results-pagination
    .page-numbers:not(.dots) {
    width: 2.5rem !important;
    min-width: 2.5rem !important;
    height: 2.5rem !important;
    min-height: 2.5rem !important;

    font-size: 0.82rem !important;
  }

  body.search
    .ventari-search-results-pagination
    .page-numbers.dots {
    width: 1.25rem !important;
    min-width: 1.25rem !important;
    height: 2.5rem !important;
    min-height: 2.5rem !important;
  }

  body.search
    .ventari-search-results-pagination
    .wp-block-query-pagination-previous,
  body.search
    .ventari-search-results-pagination
    .wp-block-query-pagination-next {
    height: 2.5rem !important;
    min-height: 2.5rem !important;
    padding: 0 0.75rem !important;

    font-size: 0.68rem !important;
    letter-spacing: 0.065em !important;
  }
}

/* ================================
   No Results
================================ */

body.search .ventari-search-no-results {
  margin-top: 24px;
}

body.search .ventari-search-no-results p {
  position: relative;

  margin: 0;
  padding: 30px 28px;

  color: rgba(255, 255, 255, 0.8);

  background:
    linear-gradient(
      135deg,
      rgba(255, 255, 255, 0.07) 0%,
      rgba(255, 255, 255, 0.035) 46%,
      rgba(7, 24, 39, 0.42) 100%
    );

  border: 1px solid rgba(232, 166, 48, 0.62);
  border-radius: 0;

  backdrop-filter: blur(14px) saturate(1.18);
  -webkit-backdrop-filter: blur(14px) saturate(1.18);

  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.18),
    inset 0 -1px 0 rgba(232, 166, 48, 0.18),
    0 0 0 1px rgba(255, 255, 255, 0.035);
}

@media (min-width: 981px) {
  body.search .wp-site-blocks .ventari-search-results-page .ventari-search-results-form input.wp-block-search__input::placeholder,
  body.search .wp-site-blocks .ventari-search-results-page .ventari-search-results-form input.wp-block-search__input[type="search"]::placeholder,
  body.search .wp-site-blocks .ventari-search-results-page .ventari-search-results-form #wp-block-search__input-3::placeholder {
    font-size: 0.6rem !important;
  }
}

/* ================================
   Tablet
================================ */

@media (max-width: 980px) {
  body.search .ventari-search-results-hero {
    grid-template-columns: 1fr;
  }

  body.search .ventari-search-results-hero__search {
    justify-self: stretch;
    max-width: none;
  }

  body.search .ventari-search-results-layout {
    grid-template-columns: 1fr;
  }

  body.search .ventari-search-results-sidebar {
    padding-left: 0;
    border-left: 0;
  }
}

/* Featured Insight tablet image sizing */
@media (min-width: 600px) and (max-width: 980px) {
  body.search .ventari-search-featured-insight__image {
    width: min(100%, 420px);
    max-width: 420px;
  }

  body.search .ventari-search-sidebar-card--featured-insight h3 {
    max-width: 520px;
    font-size: clamp(1.3rem, 2.1vw, 1.48rem);
    line-height: 1.22;
  }

  body.search .ventari-search-sidebar-card--featured-insight p {
    max-width: 620px;
  }
}

/* ================================
   Mobile
================================ */

@media (max-width: 599px) {
  body.search .ventari-search-results-page {
    padding: 78px 16px 72px;
  }

  body.search .ventari-search-results-heading {
  font-size: clamp(2.05rem, 9.5vw, 2.75rem);
  line-height: 0.98;
  font-weight: 600;
  letter-spacing: -0.035em;
}

  body.search .ventari-search-results-title {
    font-size: 0.96rem;
  }

  body.search .wp-site-blocks .ventari-search-results-page .ventari-search-results-form .wp-block-search__inside-wrapper {
    --ventari-search-button-offset: clamp(3px, 1.2vw, 6px);
    grid-template-columns: 1fr calc(54px + var(--ventari-search-button-offset)) !important;
  }

  body.search .wp-site-blocks .ventari-search-results-page .ventari-search-results-form .wp-block-search__button {
    width: 54px !important;
    margin-right: var(--ventari-search-button-offset) !important;
  }

  body.search .ventari-search-filter-row a {
    min-height: 40px;
    padding: 0 14px;
    font-size: 0.86rem;
  }

  body.search .ventari-search-result-card {
    grid-template-columns: 112px minmax(0, 1fr);
    gap: 16px;
    align-items: start;
    padding: 18px 0;
  }

  body.search .ventari-search-result-card__image a {
    transform: none;
  }

  body.search .ventari-search-result-card__image a:hover {
    transform: translateY(-1px);
  }

  body.search .ventari-search-result-card__image a[data-ventari-page-overlay]::before {
    background-position:
      center 35%,
      center center,
      center center;

    background-size:
      min(76%, 82px) auto,
      cover,
      cover;

    backdrop-filter: blur(8px) saturate(1.06);
    -webkit-backdrop-filter: blur(8px) saturate(1.06);
  }

  body.search .ventari-search-result-card__image a[data-ventari-page-overlay]::after {
    padding: 0 8px 10px;

    font-size: 0.51rem;
    letter-spacing: 0.075em;
    line-height: 1.18;
  }

  body.search .ventari-search-result-card__title a {
    font-size: 1.2rem;
  }

  body.search .ventari-search-result-card__excerpt .wp-block-post-excerpt__excerpt {
    display: none;
  }

  body.search .ventari-search-sidebar-card {
    padding: 24px 20px;
  }

  body.search .ventari-search-sidebar-card--featured-insight h3 {
    font-size: clamp(1.24rem, 6.1vw, 1.42rem);
    line-height: 1.22;
  }

  body.search .ventari-search-featured-insight__image {
    width: 100%;
    max-width: none;
    margin-bottom: 18px;
  }

  body.search .ventari-search-featured-insight__image:hover {
    transform: translateY(-1px);
  }

  body.search .ventari-search-sidebar-cta {
    font-size: 0.75rem;
    letter-spacing: 0.06em;
  }
}

body.search .wp-site-blocks .ventari-search-results-page .ventari-search-results-form input.wp-block-search__input.is-typing,
body.search .wp-site-blocks .ventari-search-results-page .ventari-search-results-form input.wp-block-search__input[type="search"].is-typing,
body.search .wp-site-blocks .ventari-search-results-page .ventari-search-results-form #wp-block-search__input-3.is-typing {
  color: #ffffff !important;
  caret-color: #E8A630 !important;
  background: rgba(7, 24, 39, 0.8) !important;
  border-color: rgba(232, 166, 48, 0.92) !important;

  box-shadow:
    0 0 0 3px rgba(232, 166, 48, 0.18),
    0 0 30px rgba(232, 166, 48, 0.22),
    inset 0 1px 0 rgba(255, 255, 255, 0.12),
    inset 0 0 22px rgba(232, 166, 48, 0.1) !important;
}