/* ===========================================================================
   template9.css — FindFrog
   Playful and friendly: an aqua-to-lime wash, bubble cards with inset photos,
   pill navigation with colour dots and a two-column hero. Teal accent taken
   from the wordmark, lime and amber used only as small accents.
   Loaded after astro-ui.css; only re-declares tokens plus a few signatures.
   =========================================================================== */

.au-theme.au-t9 {
  --au-bg: #ffffff;
  --au-surface: #f0f9f6;
  --au-surface-2: #dff2ec;
  --au-border: #d6ece5;
  --au-border-strong: #a9d6cb;
  --au-text: #0d3532;
  --au-text-soft: #36605b;
  --au-muted: #547872;
  --au-accent: var(--theme-tag-color, #1ba39c);
  --au-accent-strong: #137873;
  --au-accent-strong: color-mix(in srgb, var(--au-accent) 72%, #000);
  --au-accent-ink: #ffffff;
  --au-footer-bg: var(--theme-footer-color, #0e3b3a);
  --au-lime: #8cc63f;
  --au-amber: #f5a524;
  --au-sky: #38b6e8;

  --au-radius: 24px;
  --au-radius-sm: 16px;
  --au-shadow: 0 2px 6px rgba(19, 120, 115, 0.06), 0 10px 24px rgba(19, 120, 115, 0.08);
  --au-shadow-lift: 0 4px 10px rgba(19, 120, 115, 0.08), 0 18px 36px rgba(19, 120, 115, 0.14);
  --au-gap: 24px;
  --au-section-gap: 68px;

  --au-font: "Nunito", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto,
    "Helvetica Neue", Arial, sans-serif;
  --au-display-weight: 800;
  --au-display-tracking: -0.015em;

  background:
    radial-gradient(900px 420px at 0% -80px, color-mix(in srgb, var(--au-lime) 22%, transparent), transparent 70%),
    radial-gradient(900px 420px at 100% -60px, color-mix(in srgb, var(--au-accent) 18%, transparent), transparent 70%),
    var(--au-bg);
}

.au-theme.au-t9 .au-brand img {
  height: 56px;
  margin-block: -8px;
}

.au-theme.au-t9 .au-header {
  background-color: rgba(255, 255, 255, 0.85);
  border-bottom-color: transparent;
}

/* navigation: bubble pills, each with its own colour dot -------------------- */
.au-theme.au-t9 .au-navbar {
  background: transparent;
  border-bottom: 0;
}

.au-theme.au-t9 .au-nav {
  gap: 8px;
  padding-block: 6px 4px;
}

.au-theme.au-t9 .au-nav a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: var(--au-bg);
  border: 1px solid var(--au-border);
  font-weight: 700;
}

.au-theme.au-t9 .au-nav a::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--au-accent);
}

.au-theme.au-t9 .au-nav a:nth-child(4n + 2)::before { background: var(--au-lime); }
.au-theme.au-t9 .au-nav a:nth-child(4n + 3)::before { background: var(--au-amber); }
.au-theme.au-t9 .au-nav a:nth-child(4n)::before { background: var(--au-sky); }

.au-theme.au-t9 .au-nav a:hover {
  background: var(--au-surface-2);
  border-color: var(--au-border-strong);
}

/* hero: copy left, topic bubbles right ------------------------------------ */
.au-theme.au-t9 .au-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
  align-items: center;
  gap: 40px;
  padding: 36px 44px;
  margin-bottom: 56px;
  background: var(--au-bg);
  border: 1px solid var(--au-border);
  border-radius: 36px;
  box-shadow: var(--au-shadow-lift);
}

.au-theme.au-t9 .au-hero-eyebrow {
  display: inline-block;
  margin: 0 0 12px;
  padding: 5px 14px;
  border-radius: var(--au-radius-pill);
  background: color-mix(in srgb, var(--au-lime) 28%, #fff);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #3d6410;
}

.au-theme.au-t9 .au-hero .au-page-title {
  max-width: 17ch;
  font-size: clamp(1.9rem, 1.2rem + 2.6vw, 3rem);
}

.au-theme.au-t9 .au-hero .au-page-lead {
  margin-bottom: 22px;
}

.au-theme.au-t9 .au-hero-search {
  display: flex;
  gap: 8px;
  padding: 6px;
  max-width: 520px;
  background: var(--au-surface);
  border: 2px solid var(--au-border-strong);
  border-radius: var(--au-radius-pill);
}

.au-theme.au-t9 .au-hero-search:focus-within {
  border-color: var(--au-accent);
  background: var(--au-bg);
}

.au-theme.au-t9 .au-hero-search input {
  flex: 1 1 auto;
  min-width: 0;
  height: 46px;
  padding: 0 16px;
  border: 0;
  outline: 0;
  background: transparent;
  font: inherit;
  font-weight: 600;
  color: var(--au-text);
}

.au-theme.au-t9 .au-hero-search button {
  flex: none;
  height: 46px;
  padding: 0 26px;
  border: 0;
  border-radius: var(--au-radius-pill);
  background: var(--au-accent-strong);
  color: var(--au-accent-ink);
  font-weight: 800;
  cursor: pointer;
  transition: transform 0.15s ease, filter 0.15s ease;
}

.au-theme.au-t9 .au-hero-search button:hover {
  transform: translateY(-1px);
  filter: brightness(1.05);
}

.au-theme.au-t9 .au-hero-topics {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}

.au-theme.au-t9 .au-hero-topics .au-chip {
  padding: 10px 18px;
  font-size: 0.9375rem;
  font-weight: 800;
  border: 0;
  background: var(--au-surface-2);
  color: var(--au-accent-strong);
}

.au-theme.au-t9 .au-hero-topics .au-chip:nth-child(4n + 2) { background: color-mix(in srgb, var(--au-lime) 30%, #fff); color: #3d6410; }
.au-theme.au-t9 .au-hero-topics .au-chip:nth-child(4n + 3) { background: color-mix(in srgb, var(--au-amber) 28%, #fff); color: #8a5300; }
.au-theme.au-t9 .au-hero-topics .au-chip:nth-child(4n) { background: color-mix(in srgb, var(--au-sky) 24%, #fff); color: #0e6a91; }

.au-theme.au-t9 .au-hero-topics .au-chip:hover {
  transform: translateY(-2px) rotate(-1deg);
}

/* cards: bubbles with inset photos ---------------------------------------- */
.au-theme.au-t9 .au-card {
  border: 0;
  box-shadow: var(--au-shadow);
}

.au-theme.au-t9 .au-card-media {
  width: calc(100% - 20px);
  margin: 10px 10px 0;
  border-radius: 18px;
}

.au-theme.au-t9 .au-card-body {
  padding: 16px 20px 20px;
}

.au-theme.au-t9 .au-kicker {
  display: inline-block;
  align-self: flex-start;
  padding: 3px 10px;
  border-radius: var(--au-radius-pill);
  background: var(--au-surface-2);
}

.au-theme.au-t9 .au-feature-overlay .au-kicker {
  background: rgba(255, 255, 255, 0.2);
}

.au-theme.au-t9 .au-panel {
  background: linear-gradient(120deg,
    color-mix(in srgb, var(--au-lime) 26%, #fff),
    color-mix(in srgb, var(--au-accent) 18%, #fff));
  border-color: transparent;
}

@media (max-width: 991.98px) {
  .au-theme.au-t9 .au-hero {
    grid-template-columns: 1fr;
    padding: 28px 24px;
    gap: 24px;
  }

  .au-theme.au-t9 .au-hero-topics {
    justify-content: flex-start;
  }
}

@media (max-width: 575.98px) {
  .au-theme.au-t9 .au-brand img {
    height: 46px;
    max-width: 150px;
  }

  .au-theme.au-t9 .au-hero {
    border-radius: 28px;
  }
}
