:root {
  --ser-orange: #f5822f;
  --ser-ink: #171619;
  --ser-cream: #fff7f0;
  --ser-blue: #68a3bf;
  --ser-purple: #8067ad;
  --ser-muted: #66616a;
}

.page-id-17 .entry-header,
.page-id-17 .entry-title { display: none; }
.page-id-17 #primary { margin: 0 !important; width: 100%; }
.page-id-17 .site-content > .ast-container { max-width: none; padding: 0; }
.page-id-17 article.page { padding: 0; }
.page-id-17 .entry-content { margin: 0; }

.ser-page { background: #fff; color: var(--ser-ink); }
.ser-shell { width: min(1180px, calc(100% - 48px)); margin: 0 auto; }
.ser-hero {
  position: relative;
  overflow: hidden;
  padding: 76px 0 68px;
  background:
    radial-gradient(circle at 88% 16%, rgba(245,130,47,.19) 0 92px, transparent 93px),
    radial-gradient(circle at 8% 90%, rgba(104,163,191,.18) 0 70px, transparent 71px),
    var(--ser-cream);
}
.ser-eyebrow {
  margin: 0 0 14px;
  color: var(--ser-purple);
  font-size: .82rem;
  font-weight: 800;
  letter-spacing: .18em;
  text-transform: uppercase;
}
.ser-hero h1 {
  max-width: 880px;
  margin: 0;
  color: var(--ser-ink);
  font-size: clamp(2.45rem, 5vw, 4.45rem);
  font-weight: 850;
  letter-spacing: -.045em;
  line-height: 1.02;
}
.ser-intro {
  max-width: 720px;
  margin: 24px 0 0;
  color: #454047;
  font-size: 1.2rem;
  line-height: 1.65;
}

.ser-summary { background: var(--ser-ink); color: #fff; }
.ser-summary-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.ser-summary-grid > div { padding: 28px 24px; text-align: center; }
.ser-summary-grid > div + div { border-left: 1px solid rgba(255,255,255,.18); }
.ser-summary strong { display: block; color: #fff; font-size: clamp(1.65rem, 3vw, 2.3rem); line-height: 1.1; }
.ser-summary span { display: block; margin-top: 8px; color: #f3d9ce; font-size: .92rem; }

.ser-content { padding: 64px 0 78px; }
.ser-filters {
  display: grid;
  grid-template-columns: minmax(260px, 1.7fr) minmax(145px, .65fr) minmax(170px, .75fr);
  gap: 16px;
  align-items: end;
  padding: 24px;
  border: 1px solid #eadfd8;
  border-radius: 18px;
  background: #fffaf7;
  box-shadow: 0 14px 34px rgba(23,22,25,.07);
}
.ser-field label { display: block; margin: 0 0 7px; font-size: .88rem; font-weight: 750; }
.ser-field input,
.ser-field select {
  width: 100%;
  min-height: 48px;
  margin: 0;
  border: 1px solid #cfc7c2;
  border-radius: 10px;
  background: #fff;
  color: var(--ser-ink);
  font-size: 1rem;
}
.ser-field input:focus,
.ser-field select:focus { border-color: var(--ser-blue); box-shadow: 0 0 0 3px rgba(104,163,191,.22); outline: none; }
.ser-check { display: inline-flex; align-items: center; gap: 9px; min-height: 44px; font-weight: 650; }
.ser-check input { width: 20px; height: 20px; accent-color: var(--ser-orange); }
.ser-actions { display: flex; align-items: center; gap: 16px; }
.ser-actions button {
  min-height: 46px;
  padding: 0 22px;
  border: 0;
  border-radius: 10px;
  background: var(--ser-orange);
  color: #fff;
  font-weight: 800;
  box-shadow: 0 8px 18px rgba(245,130,47,.22);
}
.ser-actions button:hover,
.ser-actions button:focus { background: var(--ser-ink); color: #fff; transform: translateY(-1px); }
.ser-actions a { color: #6f3f86; font-weight: 750; }
.ser-results { margin: 30px 0 20px; color: var(--ser-muted); font-weight: 650; }

.ser-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; align-items: stretch; }
.ser-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  margin: 0;
  padding: 25px;
  border: 1px solid #eee4dd;
  border-top: 4px solid var(--ser-orange);
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 12px 30px rgba(23,22,25,.075);
  transition: transform .2s ease, box-shadow .2s ease;
}
.ser-card:hover { transform: translateY(-3px); box-shadow: 0 18px 38px rgba(23,22,25,.12); }
.ser-card-top { display: flex; justify-content: space-between; gap: 12px; align-items: flex-start; }
.ser-stars span { display: inline-flex; gap: 1px; }
.ser-stars b { color: #d8d4d1; font-size: 1.12rem; line-height: 1; }
.ser-stars b.is-filled { color: var(--ser-orange); }
.ser-source {
  flex: 0 0 auto;
  padding: 5px 9px;
  border-radius: 999px;
  background: #f3eef9;
  color: #604a8c;
  font-size: .7rem;
  font-weight: 800;
  letter-spacing: .025em;
}
.ser-message { margin: 22px 0 26px; color: #343036; font-size: 1rem; line-height: 1.65; overflow-wrap: anywhere; }
.ser-rating-only { color: #716b72; font-style: italic; }
.ser-card footer { display: flex; justify-content: space-between; gap: 14px; margin-top: auto; padding-top: 18px; border-top: 1px solid #eee7e2; font-size: .87rem; }
.ser-card footer strong { color: var(--ser-ink); overflow-wrap: anywhere; }
.ser-card time { flex: 0 0 auto; color: #79737a; }

.ser-pagination { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin: 44px 0 0; }
.ser-pagination .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  min-height: 44px;
  padding: 8px 13px;
  border: 1px solid #ded5cf;
  border-radius: 9px;
  background: #fff;
  color: var(--ser-ink);
  font-weight: 750;
  text-decoration: none;
}
.ser-pagination .current { border-color: var(--ser-orange); background: var(--ser-orange); color: #fff; }
.ser-pagination a:hover,
.ser-pagination a:focus { border-color: var(--ser-ink); background: var(--ser-ink); color: #fff; }
.ser-empty { padding: 60px 24px; border-radius: 16px; background: var(--ser-cream); text-align: center; }
.ser-attribution { max-width: 900px; margin: 48px auto 0; color: #777078; font-size: .78rem; line-height: 1.6; text-align: center; }

@media (max-width: 920px) {
  .ser-summary-grid { grid-template-columns: repeat(2, 1fr); }
  .ser-summary-grid > div:nth-child(3) { border-left: 0; border-top: 1px solid rgba(255,255,255,.18); }
  .ser-summary-grid > div:nth-child(4) { border-top: 1px solid rgba(255,255,255,.18); }
  .ser-filters { grid-template-columns: 1fr 1fr; }
  .ser-search { grid-column: 1 / -1; }
  .ser-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 620px) {
  .ser-shell { width: min(100% - 28px, 1180px); }
  .ser-hero { padding: 56px 0 52px; }
  .ser-hero h1 { font-size: clamp(2.25rem, 12vw, 3.1rem); }
  .ser-intro { font-size: 1.05rem; }
  .ser-summary-grid { grid-template-columns: 1fr 1fr; }
  .ser-summary-grid > div { padding: 23px 12px; }
  .ser-filters { grid-template-columns: 1fr; padding: 18px; }
  .ser-search { grid-column: auto; }
  .ser-actions { justify-content: space-between; }
  .ser-grid { grid-template-columns: 1fr; }
  .ser-card { padding: 22px; }
  .ser-card-top { align-items: center; }
}

@media (prefers-reduced-motion: reduce) {
  .ser-card,
  .ser-actions button { transition: none; }
}
