.dojo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 20px;
  margin-top: 20px;
}

.dojo-card {
  border-radius: 4px;
  padding: 20px;
  color: #000;
  background: #fff;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  transition: transform 0.2s, box-shadow 0.2s;
}

/* dojo-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 6px 18px rgba(0,0,0,0.12);
}

*/
.dojo-header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  
  margin-bottom: 10px;
}

.dojo-name {
  margin: 0;
  font-size: 1.4em;
  font-weight: 600;
  color: #222;
  padding-bottom: 8px;
  border-bottom: 1px solid #222;
}

.dojo-map-link {
  font-size: 0.9em;
  color: #0077cc;
  text-decoration: none;
  border-bottom: none;
}
.dojo-map-link:hover {
  text-decoration: underline;
  border-bottom: none;
}

.dojo-address {
  margin: 0 0 12px;
  font-size: 0.95em;
  color: #555;
}

.dojo-photo summary {
  cursor: pointer;
  font-weight: 500;
  margin-bottom: 6px;
  color: #444;
}
.dojo-photo img {
  margin-top: 8px;
  width: 100%;
  border-radius: 8px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}

.dojo-classes {
  width: 100%;
  border-collapse: collapse;
  margin-top: 12px;
  font-size: 0.9em;
}

.dojo-classes th,
.dojo-classes td {
  border: 0px solid #eee;
  padding: 8px;
  text-align: left;
}

.dojo-classes th {
  background: #f7f7f7;
  font-weight: 600;
}


.area-nav {
  display: flex;
  gap: 10px;
  margin: 20px 0;
  flex-wrap: wrap;
}
/* Styles for the pill menus */
.area-nav a {
  padding: 6px 14px;
  border-radius: 20px;
  background: #f5f5f5;
  text-decoration: none;
  color: #333;
  font-size: 0.95em;
  transition: background 0.2s, color 0.2s;
}

.area-nav a:hover {
  background: #cc0000;
  color: #fff;
}

.area-nav a.active {
  background: #cc0000;
  color: #fff;
  font-weight: 600;
}

/* Styles for class lists */
.class-card {
  background: #fff;
  color: #000000;
  border-radius: 4px;
  padding: 1.5rem;
  box-shadow: 0 4px 8px rgba(0,0,0,0.08);
  margin: 1rem 0;
}

.class-card h3 {
  margin-top: 1rem;
  margin-bottom: 0.5rem;
  color: #000000;
  border-bottom: 1px solid #000000;
  padding-bottom: 0.25rem;
}

.class-card h4 {
  margin-top: 1rem;
  margin-bottom: 0.5rem;
  color: #cc0000;
  border-bottom: 1px solid #cc0000;
  padding-bottom: 0.25rem;
}

.class-card ul {
  list-style: none;
  padding-left: 0;
}

.class-card li {
  margin: 0.5rem 0;
  padding: 0.5rem;
  border-radius: 0px;
}

.class-card a {
  color: #222;
  border-bottom: 1px solid;
}

.grading-title {
  margin-top: 0;
}