/* Search page (5 Sep 2026). Drawn by novamira-sandbox/search-page.php. */
.soma-se{--se-max:1180px;background:var(--soma-base)}
.soma-se h1,.soma-se h2{text-wrap:balance}
.soma-se p{margin:0}
.soma-se a.soma-se-ghost{background:transparent;color:var(--soma-white);box-shadow:inset 0 0 0 1.5px var(--soma-line-inverse)}
.soma-se a.soma-se-ghost:hover{background:var(--soma-white-12)}

/* hero */
.soma-se-hero{background:var(--soma-primary);color:var(--soma-white);position:relative;overflow:hidden;padding:clamp(3rem,2rem + 4vw,6rem) var(--soma-gutter) clamp(2.5rem,1.5rem + 3vw,4.5rem)}
.soma-se-hero::before{content:'';position:absolute;inset:0;background:radial-gradient(70% 90% at 15% 20%,rgba(13,124,104,.35) 0%,rgba(13,124,104,0) 60%),radial-gradient(50% 70% at 95% 100%,rgba(204,213,255,.18) 0%,rgba(204,213,255,0) 60%);pointer-events:none}
.soma-se-hero__in{position:relative;max-width:860px;margin:0 auto;text-align:center}
.soma-se-hero .soma-eyebrow{color:var(--soma-periwinkle)}
.soma-se-hero h1{color:var(--soma-white);font-size:clamp(2.4rem,1.2rem + 4vw,4.2rem);letter-spacing:-.01em;margin:18px 0 16px}
.soma-se p.soma-se-lead{color:var(--soma-white-70);font-size:clamp(1.0625rem,1rem + .3vw,1.25rem);line-height:1.6;max-width:36em;margin:0 auto 28px}
.soma-se-form .soma-search{display:flex;gap:8px;background:var(--soma-white);border-radius:999px;padding:6px 6px 6px 22px;box-shadow:0 24px 60px rgba(0,0,0,.3);align-items:center}
.soma-se-form .soma-search__field{flex:1;min-width:0;border:0;background:transparent;font-size:clamp(1rem,.9rem + .5vw,1.25rem);padding:12px 0;color:var(--soma-primary);outline:none}
.soma-se-form .soma-search__field::placeholder{color:#8a8a8a}
.soma-se-form .soma-search__go{flex:none;border-radius:999px;padding:14px 22px}
.soma-se-filters{margin-top:20px}
.soma-se-filters .soma-search-filters{display:flex;flex-wrap:wrap;gap:8px;justify-content:center;align-items:center}
.soma-se-filters .soma-search-filters__label{color:var(--soma-white-70);font-size:.75rem;letter-spacing:.12em;text-transform:uppercase;font-weight:600;margin-right:4px}
.soma-se-hero .soma-se-filters a.soma-chip,.soma-se-hero .soma-se-filters span.soma-chip{background:transparent;color:var(--soma-white);border:0;box-shadow:inset 0 0 0 1.5px var(--soma-line-inverse);text-decoration:none}
.soma-se-hero .soma-se-filters a.soma-chip:hover{background:var(--soma-white-12)}
.soma-se-hero .soma-se-filters .soma-chip.soma-chip--on{background:var(--soma-white);color:var(--soma-primary);box-shadow:none}

/* sections */
.soma-se-sec{padding:clamp(2.5rem,1.5rem + 3vw,4.5rem) var(--soma-gutter)}
.soma-se-sec--white{background:var(--soma-white)}
.soma-se-sec__in{max-width:var(--se-max);margin:0 auto}
.soma-se-sec__head{margin-bottom:18px}
.soma-se-sec__head--split{display:grid;grid-template-columns:minmax(0,1.2fr) minmax(0,.8fr);gap:20px;align-items:end;margin-bottom:28px}
.soma-se-sec__head p{color:var(--soma-text);font-size:1.0625rem;line-height:1.6;max-width:34em}
.soma-se-sec h2{font-size:clamp(1.75rem,1.3rem + 1.8vw,2.6rem);margin-top:8px;letter-spacing:-.01em}

/* results (existing rows, restyled a touch) */
.soma-se-results .soma-search__count{font-family:var(--soma-font-display);font-weight:600;font-size:clamp(1.4rem,1.2rem + 1vw,1.9rem);color:var(--soma-primary);margin:0 0 18px}
.soma-se-results .soma-rows{display:grid;gap:10px}
.soma-se-results .soma-row{background:var(--soma-base);border:0;border-radius:var(--soma-r-lg)}
.soma-se-results .soma-empty{background:var(--soma-base);border-radius:var(--soma-r-lg);padding:28px 30px;display:flex;flex-direction:column;gap:6px;color:var(--soma-text)}
.soma-se-results .soma-empty strong{font-family:var(--soma-font-display);font-weight:600;font-size:1.35rem;color:var(--soma-primary)}
.soma-se-results .soma-chips{margin-top:16px}

/* fields */
.soma-se-fields{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:clamp(.875rem,.6rem + 1vw,1.25rem)}
.soma-se .soma-se-field{display:flex;flex-direction:column;background:var(--soma-white);border-radius:var(--soma-r-lg);overflow:hidden;color:var(--soma-primary);text-decoration:none;transition:transform var(--soma-dur-lift) var(--soma-ease),box-shadow var(--soma-dur-lift) var(--soma-ease)}
.soma-se .soma-se-field:hover{transform:translateY(-4px);box-shadow:0 24px 48px var(--soma-shadow)}
.soma-se-field__media{display:block;aspect-ratio:16/9;background:var(--soma-primary);position:relative;overflow:hidden}
.soma-se-field__media::before{content:'';position:absolute;left:0;top:0;bottom:0;width:6px;background:var(--c);z-index:1}
.soma-se-field__media img{width:100%;height:100%;object-fit:cover;display:block}
.soma-se-field__body{display:flex;flex-direction:column;gap:6px;padding:16px 18px 18px}
.soma-se-field__name{font-family:var(--soma-font-display);font-weight:600;font-size:1.3rem;line-height:1.15}
.soma-se-field__q{color:var(--soma-text);font-size:.9375rem;line-height:1.5}

/* ending */
.soma-se-end{background:var(--soma-primary);color:var(--soma-white);padding:clamp(3.5rem,2rem + 5vw,7rem) var(--soma-gutter)}
.soma-se-end__in{max-width:var(--se-max);margin:0 auto;display:grid;grid-template-columns:minmax(0,1fr) auto;gap:clamp(2rem,1rem + 4vw,5rem);align-items:center}
.soma-se-end .soma-eyebrow{color:var(--soma-periwinkle)}
.soma-se-end h2{color:var(--soma-white);font-size:clamp(2rem,1.3rem + 3vw,3.4rem);margin:14px 0 14px}
.soma-se-end p{color:var(--soma-white-70);max-width:36em;font-size:1.0625rem}
.soma-se-end__acts{display:flex;flex-direction:column;gap:10px;min-width:280px}
.soma-se-end__acts .soma-btn{justify-content:center}

@media (max-width:1100px){
  .soma-se-sec__head--split{grid-template-columns:1fr}
  .soma-se-fields{grid-template-columns:repeat(2,minmax(0,1fr))}
  .soma-se-end__in{grid-template-columns:1fr}
  .soma-se-end__acts{flex-direction:row;flex-wrap:wrap}
}
@media (max-width:640px){
  .soma-se-hero h1{font-size:clamp(2rem,8vw,2.6rem)}
  .soma-se-form .soma-search{border-radius:var(--soma-r-lg);padding:8px;flex-direction:column;align-items:stretch}
  .soma-se-form .soma-search__field{padding:10px 12px}
  .soma-se-form .soma-search__go{justify-content:center}
  .soma-se-filters .soma-search-filters{justify-content:flex-start}
  .soma-se-fields{grid-template-columns:1fr}
  .soma-se-end__acts{flex-direction:column}
}


/* soma: green closing band */
/* The band and the footer were the same navy, so the page's last call to action
   dissolved into the footer. Green separates them. */
.soma-se-end{background:var(--soma-secondary)}
.soma-se-end .soma-eyebrow{color:rgba(255,255,255,.72)}
.soma-se-end p{color:rgba(255,255,255,.82)}
.soma-se-end__acts .soma-btn:not(.soma-se-ghost){background:var(--soma-white);color:var(--soma-secondary);border-color:var(--soma-white)}
/* templates.css turns every .soma-page link navy on hover, which blacks out
   links on a coloured surface. Hold white here. */
section.soma-se-end a:hover,section.soma-se-end a:focus-visible{color:var(--soma-white)}
section.soma-se-end .soma-se-end__acts a.soma-btn:not(.soma-se-ghost):hover,
section.soma-se-end .soma-se-end__acts a.soma-btn:not(.soma-se-ghost):focus-visible{color:var(--soma-secondary)}


/* soma: section heads align at the top */
/* These heads were bottom-aligned, which pushed the brief above the heading it
   belongs to -- and by a different amount on every section, depending on
   whether the heading wrapped. The two columns now start together. */
.soma-se-sec__head--split{align-items:start}
.soma-se-sec__head--split > :nth-child(2){padding-top:4px}
