/* Activity Finder page. Builds on legal.css (page shell, colours, fonts). */
.bar { max-width: 1040px; }
.wrap { max-width: 1040px; margin: 0 auto 50px; padding: 0 20px; }
.foot { max-width: 1040px; }

/* ---------- hero ---------- */
.hero { color: #fff; padding: 18px 0 30px; }
.eyebrow {
  display: inline-block; padding: 6px 14px; border-radius: 999px; font-size: 13px; font-weight: 700; letter-spacing: .03em;
  background: linear-gradient(135deg, var(--orange), #f7a562); color: #fff; box-shadow: 0 6px 20px rgba(240,129,46,.4);
}
.hero h1 { color: #fff; font-size: clamp(30px, 5.4vw, 48px); line-height: 1.12; margin: 16px 0 12px; max-width: 760px; }
.hero .lead { color: #cfe3ef; max-width: 640px; font-size: 18px; }
.facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin: 24px 0 26px; }
.fact { background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.18); border-radius: 16px; padding: 16px 18px; backdrop-filter: blur(6px); }
.fact b { display: block; font-family: var(--font-head); font-size: 17px; color: #7be4f7; margin-bottom: 4px; }
.fact span { color: #cfe3ef; font-size: 14.5px; line-height: 1.5; display: block; }

.cta-row { display: flex; flex-wrap: wrap; gap: 12px; }
.cta-row.center { justify-content: center; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; text-align: center;
  padding: 13px 24px; border-radius: 999px; font: 600 15px var(--font-body); text-decoration: none; cursor: pointer;
  transition: transform .15s, background .15s; border: 1.5px solid transparent;
}
.btn:hover { transform: translateY(-2px); }
.btn.primary { background: linear-gradient(135deg, var(--orange), #f7a562); color: #fff; box-shadow: 0 8px 22px rgba(240,129,46,.4); }
.btn.ghost { background: transparent; color: var(--teal-dark); border-color: var(--teal); }
.hero .btn.ghost, .final .btn.ghost { color: #fff; border-color: rgba(255,255,255,.5); }
.hero .btn.ghost:hover, .final .btn.ghost:hover { background: rgba(255,255,255,.12); }

/* ---------- panels ---------- */
.panel { background: #fff; border-radius: 20px; padding: 34px 38px 38px; margin: 0 0 22px; box-shadow: 0 30px 60px -30px rgba(0,0,0,.5); }
.panel h2 { margin-top: 0; font-size: 24px; }
.sub { color: #25405d; margin: 0 0 18px; }

/* ---------- finder ---------- */
.searchbox { position: relative; }
.searchbox svg { position: absolute; left: 16px; top: 50%; transform: translateY(-50%); color: var(--muted); pointer-events: none; }
.searchbox input {
  width: 100%; padding: 15px 18px 15px 46px; font: 500 16px var(--font-body); color: var(--ink);
  border: 2px solid var(--line); border-radius: 14px; background: #f8fbfd; outline: none; transition: border-color .15s, box-shadow .15s;
}
.searchbox input:focus { border-color: var(--teal); box-shadow: 0 0 0 4px rgba(24,154,180,.15); background: #fff; }

.filters { display: flex; flex-wrap: wrap; gap: 8px; margin: 14px 0 6px; }
.fchip {
  font: 600 13.5px var(--font-body); padding: 8px 14px; border-radius: 999px; cursor: pointer;
  color: var(--teal-dark); background: #eef7fa; border: 1.5px solid #cde6ee; transition: background .15s, color .15s;
}
.fchip i { font-style: normal; opacity: .7; margin-left: 2px; }
.fchip:hover { background: #dff0f6; }
.fchip.on { background: var(--navy); color: #fff; border-color: var(--navy); }

.catpick { display: block; margin: 12px 0 0; font-size: 13.5px; font-weight: 600; color: var(--muted); }
.catpick select { display: block; width: 100%; margin-top: 6px; padding: 12px 14px; font: 500 15px var(--font-body); color: var(--ink); border: 2px solid var(--line); border-radius: 12px; background: #f8fbfd; }
.catpick select:focus { outline: none; border-color: var(--teal); box-shadow: 0 0 0 4px rgba(24,154,180,.15); }
.panel .note { margin: 14px 0 0; font-size: 14px; }
.auto { font-size: 11.5px; font-weight: 600; color: #0d6a7d; background: #e3f4f8; padding: 2px 9px; border-radius: 999px; }
.autonote { font-size: 12.5px; color: #0d6a7d; }
.area.ar { font-family: 'Segoe UI', Tahoma, system-ui, sans-serif; font-size: 13.5px; }
.count { color: var(--muted); font-size: 14px; margin: 14px 0 12px; min-height: 1.4em; }
.list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.item {
  position: relative; display: flex; flex-direction: column; gap: 4px; margin: 0;
  border: 1.5px solid var(--line); border-radius: 14px; padding: 14px 16px 12px; background: #fff; transition: border-color .15s, box-shadow .15s;
}
.item:hover { border-color: var(--teal); box-shadow: 0 10px 24px -14px rgba(11,37,64,.4); }
.meta { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; }
.code { font: 600 12.5px var(--font-body); color: var(--navy-2); background: #eef2f6; padding: 2px 9px; border-radius: 6px; letter-spacing: .03em; }
.tag { font-size: 11.5px; font-weight: 600; color: #a14e0c; background: #fff2e6; padding: 2px 9px; border-radius: 999px; }
.name { font: 600 16px/1.4 var(--font-head); color: var(--ink); }
.area { font-size: 13px; color: var(--muted); }
.choose { margin-top: 6px; align-self: flex-start; font-size: 14px; font-weight: 600; color: var(--teal-dark); text-decoration: none; }
.choose:hover { text-decoration: underline; }
.more { text-align: center; margin-top: 18px; }
.nomatch { margin-top: 8px; background: #fff6ec; border: 1px solid #f3c9a6; border-radius: 14px; padding: 18px 22px; }
.nomatch p { margin: 6px 0 14px; }

/* ---------- content ---------- */
.prose h3 { margin: 26px 0 8px; }
.cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; margin: 0 0 6px; }
.card { background: #f3f8fb; border: 1px solid var(--line); border-radius: 14px; padding: 16px 18px; }
.card b { font-family: var(--font-head); display: block; margin-bottom: 4px; }
.card p { margin: 0; font-size: 15px; }
.steps { padding-left: 22px; }
.steps li { margin-bottom: 10px; }

details { border: 1px solid var(--line); border-radius: 12px; margin: 0 0 10px; background: #fff; }
summary { cursor: pointer; padding: 14px 18px; font: 600 15.5px var(--font-head); list-style: none; display: flex; justify-content: space-between; gap: 12px; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; font-size: 22px; line-height: 1; color: var(--teal); flex: none; }
details[open] summary::after { content: "\2212"; }
details[open] { border-color: var(--teal); }
details p { margin: 0; padding: 0 18px 16px; color: #25405d; }

.final { text-align: center; color: #fff; padding: 26px 0 8px; }
.final h2 { color: #fff; font-family: var(--font-head); font-size: clamp(24px, 4vw, 32px); margin: 0 0 8px; }
.final p { color: #cfe3ef; margin: 0 0 20px; }

.hide-s { display: inline; }

@media (max-width: 800px) {
  .facts { grid-template-columns: 1fr; }
  .list, .cards { grid-template-columns: 1fr; }
  .panel { padding: 24px 18px 26px; border-radius: 16px; }
  .btn { width: 100%; }
}
@media (max-width: 560px) {
  .hide-s { display: none; }
  .cta-row .btn { width: 100%; }
}
