body.search {
  --fs-navy: #073f70;
  --fs-orange: #f36a21;
  --fs-orange-dark: #d94b0b;
  --fs-yellow: #ffd348;
  --fs-cream: #fff8eb;
  --fs-sky: #eef7fa;
  --fs-ink: #213444;
  --fs-muted: #647685;
  --fs-border: #d9e5ea;
  background: #fff;
}

body.search main.site-main.fenek-search-results {
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 0 0 96px;
  overflow: hidden;
  color: var(--fs-ink);
  font-family: "Source Sans 3", sans-serif;
}

body.search .fenek-search-container,
body.search .fenek-search-results > .page-content,
body.search .fenek-search-results > .pagination,
body.search .fenek-search-section-heading {
  width: min(1180px, calc(100% - 48px));
  margin-right: auto;
  margin-left: auto;
}

body.search .fenek-search-hero {
  margin: 0 0 64px;
  padding: 70px 0 66px;
  background:
    radial-gradient(circle at 91% 20%, rgba(255, 211, 72, .4) 0 75px, transparent 77px),
    radial-gradient(circle at 7% 84%, rgba(243, 106, 33, .12) 0 48px, transparent 50px),
    var(--fs-cream);
}

body.search .fenek-search-hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(320px, .85fr);
  gap: 70px;
  align-items: end;
}

body.search .fenek-search-eyebrow {
  display: flex;
  gap: 10px;
  align-items: center;
  margin: 0 0 18px;
  color: var(--fs-orange-dark);
  font-family: "Nunito", sans-serif;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
}

body.search .fenek-search-eyebrow::before {
  width: 26px;
  height: 4px;
  background: var(--fs-yellow);
  border-radius: 10px;
  content: "";
}

body.search .fenek-search-hero h1 {
  max-width: 760px;
  margin: 0;
  color: var(--fs-navy);
  font-family: "Nunito", sans-serif;
  font-size: clamp(40px, 5vw, 68px);
  font-weight: 900;
  letter-spacing: -.04em;
  line-height: 1;
}

body.search .fenek-search-hero h1 span { color: var(--fs-orange-dark); }

body.search .fenek-search-lead {
  margin: 22px 0 0;
  color: var(--fs-muted);
  font-size: 19px;
}

body.search .fenek-search-form {
  padding: 26px;
  background: #fff;
  border: 1px solid var(--fs-border);
  border-radius: 22px;
  box-shadow: 0 18px 45px rgba(7, 63, 112, .1);
}

body.search .fenek-search-form label {
  display: block;
  margin-bottom: 10px;
  color: var(--fs-navy);
  font-family: "Nunito", sans-serif;
  font-size: 16px;
  font-weight: 900;
}

body.search .fenek-search-form-row { display: flex; gap: 8px; }

body.search .fenek-search-form input {
  width: 100%;
  min-width: 0;
  height: 50px;
  padding: 0 15px;
  color: var(--fs-ink);
  background: #fff;
  border: 1px solid var(--fs-border);
  border-radius: 12px;
  font: inherit;
}

body.search .fenek-search-form button {
  min-width: 112px;
  height: 50px;
  padding: 0 18px;
  color: #fff;
  background: var(--fs-orange);
  border: 0;
  border-radius: 12px;
  font-family: "Nunito", sans-serif;
  font-weight: 900;
  cursor: pointer;
}

body.search .fenek-search-form input:focus-visible,
body.search .fenek-search-form button:focus-visible,
body.search .fenek-result-card a:focus-visible,
body.search .fenek-search-results .pagination a:focus-visible {
  outline: 3px solid rgba(243, 106, 33, .35);
  outline-offset: 3px;
}

body.search .fenek-search-section-heading {
  display: flex;
  gap: 24px;
  align-items: end;
  justify-content: space-between;
  margin-bottom: 28px;
}

body.search .fenek-search-section-heading h2 {
  margin: 0;
  color: var(--fs-navy);
  font-family: "Nunito", sans-serif;
  font-size: clamp(31px, 4vw, 46px);
  font-weight: 900;
  letter-spacing: -.035em;
  line-height: 1;
}

body.search .fenek-search-section-heading p {
  max-width: 500px;
  margin: 0;
  color: var(--fs-muted);
  font-size: 17px;
  text-align: right;
}

body.search .fenek-search-results > .page-content {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

body.search .fenek-result-card {
  display: flex;
  min-width: 0;
  min-height: 100%;
  margin: 0;
  padding: 0 0 26px;
  flex-direction: column;
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--fs-border);
  border-radius: 22px;
  box-shadow: 0 12px 34px rgba(7, 63, 112, .07);
}

body.search .fenek-result-card > *:not(.fenek-result-media) {
  margin-right: 24px;
  margin-left: 24px;
}

body.search .fenek-result-media {
  display: block;
  overflow: hidden;
  aspect-ratio: 16 / 10;
  margin: 0 0 22px;
  background: var(--fs-sky);
}

body.search .fenek-result-media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .25s ease;
}

body.search .fenek-result-media:hover img { transform: scale(1.035); }

body.search .fenek-result-placeholder {
  display: grid;
  min-height: 100%;
  padding: 20px;
  place-items: center;
  color: var(--fs-navy);
  background:
    radial-gradient(circle at 70% 30%, rgba(255, 211, 72, .8) 0 44px, transparent 46px),
    linear-gradient(135deg, #eef7fa, #fff8eb);
  font-family: "Nunito", sans-serif;
  font-size: 19px;
  font-weight: 900;
  text-align: center;
}

body.search .fenek-result-label {
  margin-top: 0;
  margin-bottom: 9px;
  color: var(--fs-orange-dark);
  font-family: "Nunito", sans-serif;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .07em;
  text-transform: uppercase;
}

body.search .fenek-result-card .entry-title {
  margin-top: 0;
  margin-bottom: 14px;
  font-family: "Nunito", sans-serif;
  font-size: 25px;
  font-weight: 900;
  letter-spacing: -.02em;
  line-height: 1.14;
}

body.search .fenek-result-card .entry-title a {
  color: var(--fs-navy);
  text-decoration: none;
}

body.search .fenek-result-card .entry-title a:hover { color: var(--fs-orange-dark); }

body.search .fenek-result-card > p:not(.fenek-result-label) {
  display: -webkit-box;
  margin-top: 0;
  margin-bottom: 22px;
  overflow: hidden;
  color: var(--fs-muted);
  font-size: 16px;
  line-height: 1.55;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 4;
}

body.search .fenek-result-read {
  margin-top: auto !important;
  color: var(--fs-navy);
  font-family: "Nunito", sans-serif;
  font-size: 15px;
  font-weight: 900;
  text-decoration: none;
}

body.search .fenek-result-read:hover { color: var(--fs-orange-dark); }

body.search .fenek-search-results > .pagination { margin-top: 38px; }
body.search .fenek-search-results .pagination { display: flex; justify-content: space-between; }

body.search .fenek-search-results .pagination a {
  display: inline-flex;
  min-height: 46px;
  padding: 0 20px;
  align-items: center;
  color: var(--fs-navy);
  background: var(--fs-yellow);
  border-radius: 999px;
  font-family: "Nunito", sans-serif;
  font-weight: 900;
  text-decoration: none;
}

body.search.search-no-results .fenek-search-results > .page-content {
  display: block;
  padding: 42px;
  color: var(--fs-muted);
  background: var(--fs-sky);
  border-radius: 22px;
  font-size: 18px;
  text-align: center;
}

@media (max-width: 980px) {
  body.search .fenek-search-hero-inner { grid-template-columns: 1fr; gap: 34px; }
  body.search .fenek-search-results > .page-content { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 700px) {
  body.search .fenek-search-container,
  body.search .fenek-search-results > .page-content,
  body.search .fenek-search-results > .pagination,
  body.search .fenek-search-section-heading {
    width: min(100% - 28px, 1180px);
  }

  body.search .fenek-search-hero { margin-bottom: 52px; padding: 56px 0 54px; }
  body.search .fenek-search-section-heading { display: block; }
  body.search .fenek-search-section-heading p { margin-top: 12px; text-align: left; }
  body.search .fenek-search-results > .page-content { grid-template-columns: 1fr; }
}

@media (max-width: 460px) {
  body.search .fenek-search-form-row { flex-direction: column; }
  body.search .fenek-search-form button { width: 100%; }
}
