/* Page: Examples listing */


.example-list {
  list-style: none;
  padding: 0;
  margin: 1.5rem 0 3rem;
  display: block;
}

.example-list li {
  font-size: 1.05rem;
  font-weight: 500;
  border-bottom: 1px solid var(--border);
  padding: .55rem 0;
  color: var(--muted);
}

.example-list a {
  color: inherit; /* starts as --muted via li */
  text-decoration: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .4rem;
  padding: .25rem .15rem;
  transition: background-color 0.12s ease, color 0.12s ease, transform 0.12s ease;
}

.example-list a:hover,
.example-list a:focus-visible {
  background: rgba(148, 163, 184, 0.10);
  color: var(--text); /* elevate to primary body color on hover */
  outline: none;
}

body.light-page .example-list a:hover,
body.light-page .example-list a:focus-visible {
  background: rgba(15, 23, 42, 0.08);
}

.examples-listing { /* constrain and pad content so it doesn't hug the edges */
  padding-left: .6rem;
  padding-right: .6rem;
}

.examples-card{
  max-width: 900px;
  margin: 0 auto 2rem auto;
  background: linear-gradient(180deg, rgba(255,255,255,0.98), rgba(255,255,255,0.94));
  border: 1px solid rgba(2,6,23,0.08);
  border-radius: 1rem;
  box-shadow: 0 10px 30px rgba(2,6,23,0.08);
  padding: 1rem .8rem;
}

.example-search {
  margin: .6rem auto 1.2rem;
  max-width: 720px;
  width: 100%;
  padding: 0 .25rem;
}

.example-search input[type="search"]{
  width: 100%;
  padding: .65rem .8rem;
  border-radius: .6rem;
  border: 1px solid var(--border);
  background: var(--panel);
  color: var(--text);
  box-sizing: border-box;
}

.example-search input[type="search"]::placeholder{ color: var(--muted); }
