#page-explore { background: var(--cream); }

.explore-header {
  background: var(--ink); padding: 48px 48px 56px; position: relative; overflow: hidden;
}
.explore-header::before {
  content: ''; position: absolute; inset: 0;
  background-image: linear-gradient(rgba(245,240,232,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(245,240,232,0.03) 1px, transparent 1px);
  background-size: 32px 32px;
}
.explore-title {
  font-family: 'Fraunces', serif; font-size: clamp(2rem, 3vw, 3rem);
  font-weight: 900; color: var(--cream); letter-spacing: -1.5px;
  margin-bottom: 8px; position: relative; z-index: 1;
}
.explore-title span { color: var(--orange); font-style: italic; }
.explore-sub {
  color: rgba(245,240,232,0.5); font-size: 0.95rem;
  position: relative; z-index: 1; margin-bottom: 24px;
}

.explore-search-bar {
  display: flex; gap: 12px; max-width: 500px;
  position: relative; z-index: 1;
}
.explore-search-bar input {
  flex: 1; padding: 13px 20px; border-radius: 14px;
  border: 1.5px solid rgba(245,240,232,0.15);
  background: rgba(245,240,232,0.07);
  color: var(--cream); font-family: 'DM Sans', sans-serif;
  font-size: 0.95rem; outline: none; transition: border-color 0.2s;
}
.explore-search-bar input::placeholder { color: rgba(245,240,232,0.3); }
.explore-search-bar input:focus { border-color: var(--orange); }
.btn-search {
  padding: 13px 24px; border-radius: 14px;
  background: var(--orange); color: white;
  border: none; cursor: pointer; font-family: 'DM Sans', sans-serif;
  font-weight: 600; font-size: 0.9rem; transition: background 0.2s;
}
.btn-search:hover { background: #c94d1e; }

.explore-body { padding: 40px 48px; }

.explore-cats {
  display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 32px;
}
.cat-chip {
  padding: 8px 18px; border-radius: 100px;
  border: 1.5px solid var(--sand); background: white;
  font-size: 0.85rem; font-weight: 500; color: var(--muted);
  cursor: pointer; transition: all 0.2s; display: flex; align-items: center; gap: 6px;
  font-family: 'DM Sans', sans-serif;
}
.cat-chip:hover, .cat-chip.active {
  background: var(--ink); color: var(--cream); border-color: var(--ink);
}

.explore-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 16px;
}

.explore-card {
  background: white; border: 1.5px solid #ede8df;
  border-radius: 18px; padding: 22px; transition: all 0.2s;
  position: relative; overflow: hidden; cursor: pointer;
}
.explore-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 40px rgba(0,0,0,0.1);
  border-color: rgba(232,93,38,0.2);
}
.explore-card-top { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.explore-av {
  width: 42px; height: 42px; border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-family: 'Fraunces', serif; font-weight: 900; font-size: 0.95rem; color: white;
}
.explore-name { font-weight: 700; font-size: 0.95rem; color: var(--ink); }
.explore-uni { font-size: 0.76rem; color: var(--muted); margin-top: 2px; }
.explore-skills { display: flex; flex-direction: column; gap: 8px; margin-bottom: 14px; }
.explore-skill-row { display: flex; align-items: center; gap: 8px; }
.explore-skill-label { font-size: 0.75rem; color: var(--muted); width: 52px; flex-shrink: 0; }
.explore-skill-val {
  padding: 4px 10px; border-radius: 6px; font-size: 0.78rem; font-weight: 500;
}
.explore-skill-val.teach { background: rgba(232,93,38,0.1); color: var(--orange); }
.explore-skill-val.learn { background: rgba(45,122,79,0.1); color: var(--green); }
.explore-btn {
  width: 100%; padding: 9px; border-radius: 10px;
  background: #f5f0e8; color: var(--ink-soft);
  border: 1.5px solid var(--sand); cursor: pointer;
  font-size: 0.83rem; font-weight: 600; font-family: 'DM Sans', sans-serif;
  transition: all 0.2s;
}
.explore-btn:hover { background: var(--ink); color: var(--cream); border-color: var(--ink); }

@media (max-width: 900px) {
  .explore-header, .explore-body { padding: 32px 24px; }
  .explore-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
  .explore-grid { grid-template-columns: 1fr; }
}