/* Schools page (map + SEO header) — extracted from Razor, no inline styles */

body {
  font-family: Arial, Helvetica, sans-serif;
}

/* Keep hide-note positioning consistent with /Instructors page */
.child-content-full {
  position: relative;
}

.hide-note {
  display: block;
  width: 90px;
  height: 90px;
  padding: 1px;
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 1000;
  border-radius: 8px;
  background-color: white;
  border: 0.5px solid lightgrey;
  transition: all 0.3s;
  -webkit-box-shadow: 4px 4px 8px 0px rgba(34, 60, 80, 0.2);
  -moz-box-shadow: 4px 4px 8px 0px rgba(34, 60, 80, 0.2);
  box-shadow: 4px 4px 8px 0px rgba(34, 60, 80, 0.2);
}

.show-note {
  display: block;
  width: 30px;
  height: 30px;
  padding: 1px;
  position: absolute;
  top: 9px;
  right: 50px;
  z-index: 1000;
  border-radius: 4px;
  background-color: white;
  border: 0.5px solid lightgrey;
  transition: all 0.3s;
  -webkit-box-shadow: 4px 4px 8px 0px rgba(34, 60, 80, 0.2);
  -moz-box-shadow: 4px 4px 8px 0px rgba(34, 60, 80, 0.2);
  box-shadow: 4px 4px 8px 0px rgba(34, 60, 80, 0.2);
}

.hide-note img,
.show-note img {
  display: block;
  width: 100%;
  height: 100%;
}

/* Default state: arrow points "up" like in /Instructors (180deg) */
.hide-note img {
  transform: scaleY(-1);
  transition: all 0.3s;
}

.child-content-full {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.child-content-full .map-cont {
  width: 100%;
  position: relative;
  height: auto; /* override school_2.css */
  min-height: 80vh; /* requested */
}

.child-content-full .map-cont.fill {
  height: auto;
  min-height: 80vh;
}

.child-content-full #school-map,
.child-content-full .ymaps-2-1-79-map {
  width: 100% !important;
  height: 100% !important;
}

/* Schools SEO header block (light theme) */
#notes-content.notes-content--seo {
  padding: 14px 14px 10px;
  border: 1px solid rgba(15, 23, 42, 0.1);
  background: rgba(255, 255, 255, 0.92);
  border-radius: 16px;
  box-shadow: 0 10px 28px rgba(15, 23, 42, 0.06);
}

#notes-content.notes-content--seo h1 {
  margin: 0;
  font-size: clamp(22px, 2.5vw, 30px);
  font-weight: 900;
  letter-spacing: -0.02em;
  line-height: 1.15;
  padding-right: 100px;
}

#notes-content.notes-content--seo .seo-bc {
  margin: 10px 0 0;
  color: #64748b;
  font-size: 16px;
  line-height: 1.4;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  align-items: center;
}

#notes-content.notes-content--seo .seo-bc a {
  color: #2563eb;
  text-decoration: none;
  font-weight: 800;
}

#notes-content.notes-content--seo .seo-bc a:hover {
  text-decoration: underline;
}

#notes-content.notes-content--seo .seo-bc .sep {
  color: rgba(15, 23, 42, 0.35);
}

#notes-content.notes-content--seo .seo-lead {
  margin: 12px 0 0;
  color: #475569;
  font-size: 16px;
  line-height: 1.6;
  max-width: 980px;
}

#notes-content.notes-content--seo .seo-box {
  margin-top: 12px;
  padding: 12px 12px;
  border-radius: 14px;
  border: 1px solid rgba(34, 197, 94, 0.18);
  background: linear-gradient(180deg, rgba(34, 197, 94, 0.08), rgba(255, 255, 255, 0.72));
  color: #0f172a;
  font-size: 16px;
  line-height: 1.65;
}

#notes-content.notes-content--seo .seo-box p {
  margin: 0 0 10px;
}

#notes-content.notes-content--seo .seo-box p:last-child {
  margin-bottom: 0;
}

#notes-content.notes-content--seo .seo-box strong {
  color: #0f172a;
}

.seo-stat-chips {
  margin-top: 10px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}

.seo-stat-chips .seo-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 10px;
  border-radius: 999px;
  border: 1px solid rgba(15, 23, 42, 0.1);
  background: rgba(255, 255, 255, 0.86);
  color: #0f172a;
  font-size: 14px;
  line-height: 1.1;
  font-weight: 800;
  box-shadow: 0 8px 18px rgba(15, 23, 42, 0.05);
}

.seo-stat-chips .seo-chip b {
  font-weight: 900;
  letter-spacing: -0.01em;
}

.seo-stat-chips .seo-chip small {
  font-weight: 700;
  color: #64748b;
}

/* Search panel (moved into #notes-content) */
.top-form.top-form--panel {
  position: static !important;
  inset: auto !important;
  margin-top: 0;
  padding: 12px;
  border-radius: 16px;
  border: 1px solid rgba(15, 23, 42, 0.1);
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 10px 28px rgba(15, 23, 42, 0.06);
  display: flex;
  flex-wrap: nowrap;
  gap: 5px;
  align-items: top;
}

.top-form.top-form--panel .search-container {
  flex: 1 1 520px;
}

.top-form.top-form--panel .serchschool {
  position: static !important;
  padding:0;
  margin: 0 !important;
}

.top-form.top-form--panel #searchSubmit {
  font-weight: 500;
}

.top-form.top-form--panel .form-control {
  border-radius: 12px;
  font-size:16px!important;
  border-color: rgba(15, 23, 42, 0.12);
}

.top-form.top-form--panel .btn.btn-primary {
  border-radius: 12px;
  font-weight: 900;
}
