/* assets/css/schools-map.css - minimal, specific, inherit theme where possible */

/* Map container */
.edutheme-map {
  position: relative;
  background: #fff;
  border-radius: 6px;
  overflow: hidden;
  border: 1px solid rgba(0,0,0,.04);
}

/* State messages inside map */
.edutheme-map__state {
  position: absolute;
  left: 12px;
  top: 12px;
  padding: .35rem .6rem;
  background: rgba(255,255,255,.96);
  border-radius: 4px;
  font-size: .95rem;
  z-index: 50;
}

/* Filters */
.edutheme-schools-map__filters {
  display: flex;
  gap: .6rem;
  flex-wrap: wrap;
  margin: .75rem 0;
  align-items: end;
}
.edutheme-schools-map__filters label {
  display: flex;
  flex-direction: column;
  font-size: .9rem;
  color: inherit;
}
.edutheme-schools-map__filters select,
.edutheme-schools-map__filters input[type="search"] {
  padding: .35rem .5rem;
  border-radius: 4px;
  border: 1px solid rgba(0,0,0,.08);
  min-width: 150px;
  background: transparent;
}

/* Grid layout */
.edutheme-grid {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  margin-top: .6rem;
}

/* Card */
.edutheme-card {
  max-width: 100%;
  background: #fff;
  border: 1px solid rgba(0,0,0,.06);
  padding: .8rem;
  border-radius: 8px;
  font-size: .95rem;
  display: flex;
  flex-direction: column;
}
.edutheme-card h4 {
  margin: 0 0 .25rem 0;
  font-weight: 700;
  font-size: 1rem;
}
.edutheme-card h4 a::after {
  content: none !important; /* prevent theme external icon */
}

/* Meta lines */
.edutheme-card .addr,
.edutheme-card .meta {
  margin: .25rem 0;
  font-size: .93rem;
  color: inherit;
}
.edutheme-card .meta strong {
  display: inline;
  margin-right: .25rem;
  font-weight: 700;
}

/* Hours slightly smaller and compact */
.edutheme-card .hours {
  font-size: .9em;
}

/* Buttons/links */
.edutheme-btn {
  display: inline-block;
  padding: .35rem .55rem;
  border-radius: 6px;
  border: 1px solid rgba(0,0,0,.06);
  background: transparent;
  font-weight: 600;
  font-size: .9rem;
  text-decoration: none;
  color: inherit;
}
.edutheme-card .actions {
  margin-top: .6rem;
  display: flex;
  gap: .5rem;
  align-items: center;
  flex-wrap: wrap;
}

/* StrongStart chip */
.edutheme-ss-chip {
  display: inline-flex;
  align-items: center;
  padding: .25rem .55rem;
  border-radius: 999px;
  border: 1px solid rgba(0,0,0,.06);
  font-weight: 600;
  font-size: .72rem;
}
.edutheme-ss-chip--open {
  background: #e9f7ef;
  border-color: #b8dfc6;
  color: #1b5e20;
}
.edutheme-ss-chip--closed {
  background: #fdecec;
  border-color: #f1b7b7;
  color: #7f1d1d;
}

/* Small screens */
@media (max-width: 640px) {
  .edutheme-grid {
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  }
}
