/* Pixwell Darksite */
html, body {
  background-color: #090d16 !important;
}
#site {
  background-color: transparent !important;
}

/* Pixwell live search dropdown */
.header-lightbox {
  background-color: #131a26 !important;
  color: #c7ccb8 !important;
  border-top-color: #9a8b3f !important;
}
.header-lightbox input[type='search'] {
  color: #c7ccb8 !important;
}
.header-lightbox input[type='search']::placeholder {
  color: rgba(199, 204, 184, 0.5) !important;
}

/* ===================== Main Search Results Page ===================== */

/* Bar: same panel colour + 1px gold top border as the recipe search */
body.search .search-form:not(.header-lightbox .search-form),
body.search form[role="search"]:not(.header-lightbox form) {
  background-color: #131a26 !important;
  color: #c7ccb8 !important;
  border-top: 1px solid #9a8b3f !important;
  border-bottom: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  max-width: 864px;
  margin-left: auto !important;
  margin-right: auto !important;
  padding: 0 !important;
  position: relative;
}

/* Input: dark panel, gold text (fixes the black text) */
body.search .search-form:not(.header-lightbox .search-form) input[type='search'],
body.search .search-form:not(.header-lightbox .search-form) input[type='text'],
body.search .search-form:not(.header-lightbox .search-form) .search-field {
  background-color: transparent !important;
  color: #98924F !important;
  -webkit-text-fill-color: #98924F !important;
  caret-color: #98924F;
  border: 0 !important;
  box-shadow: none !important;
  outline: 0 !important;
}
body.search .search-form input::placeholder {
  color: rgba(199, 204, 184, 0.5) !important;
  -webkit-text-fill-color: rgba(199, 204, 184, 0.5) !important;
}

/* Search icon button */
body.search .search-form:not(.header-lightbox .search-form) button,
body.search .search-form:not(.header-lightbox .search-form) .search-submit,
body.search .search-form:not(.header-lightbox .search-form) i,
body.search .search-form:not(.header-lightbox .search-form) svg {
  background-color: transparent !important;
  color: #98924F !important;
  fill: #98924F !important;
  border: 0 !important;
  box-shadow: none !important;
}

/* Stop browser autofill from turning the input white/yellow */
body.search .search-form input:-webkit-autofill {
  -webkit-box-shadow: 0 0 0 1000px #131a26 inset !important;
  -webkit-text-fill-color: #98924F !important;
}

/* ===================== Main Search (Cooked) ===================== */

/* Outer wrapper: the ONLY element with the gold top border (1px) */
.cooked-recipe-search {
  background-color: #131a26 !important;
  color: #c7ccb8 !important;
  border-top: 1px solid #9a8b3f !important;
}

/* Inner containers: same colours, no border of their own (stops thick stacked line) */
.cooked-recipe-search .cooked-browse-search,
.cooked-recipe-search .cooked-fields-wrap,
.cooked-recipe-search .cooked-browse-select,
.cooked-recipe-search .cooked-sortby-wrap {
  background-color: #131a26 !important;
  color: #c7ccb8 !important;
  border-top: 0 !important;
  box-shadow: none !important;
}

/* Search input: thin gold outline, gold text */
.cooked-recipe-search input[type='text'],
.cooked-recipe-search input[type='search'] {
  background-color: #131a26 !important;
  color: #98924F !important;
  border: 1px solid #9a8b3f !important;
  box-shadow: none !important;
}

/* Match Browse text to search input */
.cooked-recipe-search .cooked-browse-select,
.cooked-recipe-search .cooked-browse-select select,
.cooked-recipe-search .cooked-browse-select option {
  color: #98924F !important;
}

/* Browse / Sort dropdowns: same colours, no stray gold underline */
.cooked-recipe-search select {
  background-color: #131a26 !important;
  color: #98924F !important;
  border: 0 !important;
  box-shadow: none !important;
}

/* ================================================================ */

/* Hero: text left / cat art right */
.block-cta-1 .cta-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 1fr);
  align-items: center;
  gap: 56px;
  max-width: 1280px;
  margin: 0 auto;
  text-align: left;
}
.block-cta-1 .cta-image {
  grid-column: 2;
  grid-row: 1 / span 4;
  align-self: stretch;
  margin: 0;
}
.block-cta-1 .cta-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 20px;
  box-shadow: 0 1px 1px rgba(0, 0, 0, 0.55);
}
.block-cta-1 .cta-tagline {
  grid-column: 1;
  grid-row: 1;
  text-align: left;
}
.block-cta-1 .cta-title {
  grid-column: 1;
  grid-row: 2;
  text-align: left;
}
.block-cta-1 .cta-description {
  grid-column: 1;
  grid-row: 3;
  text-align: left;
  margin-left: 0;
  margin-right: 0;
  max-width: 46ch;
}
.block-cta-1 .cta-btn-wrap {
  grid-column: 1;
  grid-row: 4;
  justify-content: flex-start;
}

@media (max-width: 781px) {
  .block-cta-1 .cta-inner {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .block-cta-1 .cta-image {
    grid-column: 1;
    grid-row: 1;
    max-width: 280px;
    margin: 0 auto 24px;
  }
  .block-cta-1 .cta-image img {
    border-radius: 50%;
    aspect-ratio: 1 / 1;
  }
  .block-cta-1 .cta-tagline,
  .block-cta-1 .cta-title,
  .block-cta-1 .cta-description {
    grid-column: 1;
    text-align: center;
    margin-left: auto;
    margin-right: auto;
  }
  .block-cta-1 .cta-btn-wrap {
    grid-column: 1;
    justify-content: center;
  }
}
