
.htest-school-page {
	--sp-navy: #1B2A4A; --sp-orange: #E96A0C; --sp-orange-light: #F5A623;
	--sp-cream: #FAF9F5; --sp-ink-soft: #5B6B87; --sp-line: #E4E2DC;
	font-family: 'Inter', sans-serif; color: var(--sp-navy); max-width: 800px; margin: 0 auto;
}
.htest-school-page h2 { font-family: 'Baloo 2', sans-serif; font-size: 22px; margin: 0 0 16px; }

.htest-school-header { background: var(--sp-cream); border-radius: 18px; padding: 24px 26px; margin-bottom: 24px; }
.htest-school-top-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-bottom: 12px; }
.htest-school-top-row .htest-school-institution { margin: 0; }
.htest-school-institution { font-size: 15px; color: var(--sp-ink-soft); margin: 0 0 12px; font-weight: 600; }
.htest-school-badges { display: flex; gap: 8px; margin-bottom: 16px; }
.htest-school-fields { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 16px; }
.htest-school-field-pill {
	display: inline-block; background: #fff; border: 1px solid var(--sp-line); color: var(--sp-navy);
	font-size: 12.5px; font-weight: 600; padding: 5px 12px; border-radius: 999px; text-decoration: none;
}
a.htest-school-field-pill:hover { border-color: var(--sp-orange); color: var(--sp-orange); }
.htest-school-institution a { color: inherit; text-decoration: underline; text-decoration-color: rgba(233,106,12,.4); }
.htest-school-institution a:hover { color: var(--sp-orange); }
.htest-school-badge {
	width: 34px; height: 34px; border-radius: 10px; display: flex; align-items: center; justify-content: center;
	background: linear-gradient(135deg, var(--sp-orange), var(--sp-orange-light)); color: #fff;
	font-family: 'Baloo 2', sans-serif; font-weight: 800; font-size: 15px;
}
.htest-school-cta {
	display: inline-flex; align-items: center; gap: 5px; font-family: 'Baloo 2', sans-serif; font-weight: 700;
	font-size: 13px; padding: 8px 16px; border-radius: 999px; text-decoration: none;
	background: #fff; color: var(--sp-orange); border: 1.5px solid var(--sp-orange);
}
.htest-school-cta:hover { background: var(--sp-orange); color: #fff; }

.htest-school-content { font-size: 16px; line-height: 1.75; margin-bottom: 30px; }

.htest-school-section { margin-top: 30px; }
.htest-chart-legend { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 14px; }
.htest-chart-legend-item { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; color: var(--sp-ink-soft); font-weight: 600; }
.htest-chart-legend-item .dot { width: 10px; height: 10px; border-radius: 50%; display: inline-block; }
.htest-school-scores-table { width: 100%; border-collapse: collapse; margin-top: 16px; font-size: 14px; }
.htest-school-scores-table th, .htest-school-scores-table td { text-align: left; padding: 10px 14px; border-bottom: 1px solid var(--sp-line); }
.htest-school-scores-table th { color: var(--sp-ink-soft); font-weight: 700; font-size: 12px; text-transform: uppercase; letter-spacing: .04em; }

.htest-score-cat-picker { display: flex; gap: 8px; margin-bottom: 18px; flex-wrap: wrap; }
.htest-score-cat-btn {
	font-family: 'Inter', sans-serif; font-weight: 600; font-size: 12.5px;
	padding: 5px 12px; border-radius: 999px; border: 1px solid var(--sp-line);
	background: #fff; color: var(--sp-ink-soft); cursor: pointer; transition: all .15s ease;
}
.htest-score-cat-btn:hover { border-color: var(--sp-orange); color: var(--sp-orange); }
.htest-score-cat-btn.active {
	background: linear-gradient(135deg, var(--sp-orange), var(--sp-orange-light));
	border-color: transparent; color: #fff;
	box-shadow: 0 4px 12px -4px rgba(233,106,12,.5);
}
.htest-yoy { display: inline-flex; align-items: center; gap: 3px; font-size: 12.5px; font-weight: 700; padding: 2px 8px; border-radius: 999px; margin-left: 8px; }
.htest-yoy-up { background: #d1fae5; color: #065f46; }
.htest-yoy-down { background: #fee2e2; color: #991b1b; }
.htest-yoy-flat { background: #f3f4f6; color: #4b5563; }

/* Hub / κατάλογος */
.htest-schools-hub { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 24px; }
.htest-schools-hub-group h3 { font-family: 'Baloo 2', sans-serif; font-size: 16px; color: #E96A0C; border-bottom: 2px solid #FAF9F5; padding-bottom: 8px; margin-bottom: 12px; }
.htest-schools-hub-group ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.htest-schools-hub-group a { color: #1B2A4A; text-decoration: none; font-size: 14px; }
.htest-schools-hub-group a:hover { color: #E96A0C; text-decoration: underline; }

/* ---------- Αντίστοιχες Σχολές σε Άλλες Πόλεις (πιθανότητα μεταγραφής) ---------- */
.htest-related-section {
	background: linear-gradient(180deg, #FAF9F5 0%, #FFF 100%);
	border: 1.5px solid var(--sp-line, #E4E2DC);
	border-radius: 20px;
	padding: 28px;
}
.htest-related-note { font-size: 13.5px; color: var(--sp-ink-soft, #5B6B87); margin: -6px 0 18px; }
.htest-related-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 12px; }
.htest-related-card {
	display: flex; flex-direction: column; gap: 4px;
	background: #fff; border: 1px solid var(--sp-line, #E4E2DC); border-radius: 14px;
	padding: 16px; transition: all .15s ease;
}
.htest-related-card:hover { border-color: var(--sp-orange, #E96A0C); box-shadow: 0 8px 18px -10px rgba(233,106,12,.35); }
.htest-related-top-row { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.htest-related-city { font-family: 'Baloo 2', sans-serif; font-weight: 700; font-size: 13px; color: var(--sp-orange, #E96A0C); text-transform: uppercase; letter-spacing: .03em; text-decoration: none; }
a.htest-related-city:hover { text-decoration: underline; }
.htest-related-score { font-family: 'Baloo 2', sans-serif; font-weight: 800; font-size: 13px; padding: 2px 9px; border-radius: 999px; }
.htest-related-score.up { background: #d1fae5; color: #065f46; }
.htest-related-score.down { background: #fee2e2; color: #991b1b; }
.htest-related-score.flat { background: #f3f4f6; color: #4b5563; }
.htest-related-name { display: block; font-size: 14.5px; font-weight: 600; color: var(--sp-navy, #1B2A4A); line-height: 1.35; text-decoration: none; }
.htest-related-name:hover { color: var(--sp-orange, #E96A0C); text-decoration: underline; }
.htest-related-inst { font-size: 12px; color: var(--sp-ink-soft, #5B6B87); text-decoration: none; }
a.htest-related-inst:hover { color: var(--sp-orange, #E96A0C); text-decoration: underline; }

.htest-school-weights-block { margin-bottom: 20px; }
.htest-school-weights-title { font-family: 'Baloo 2', sans-serif; font-weight: 700; font-size: 14px; color: var(--sp-orange, #E96A0C); margin: 0 0 8px; }
.htest-school-weights-table { width: 100%; border-collapse: collapse; font-size: 14px; margin-bottom: 4px; }
.htest-school-weights-table td { padding: 8px 12px; border-bottom: 1px solid var(--sp-line, #E4E2DC); }
.htest-school-weights-table td:last-child { text-align: right; font-weight: 700; color: var(--sp-navy, #1B2A4A); width: 70px; }
.htest-school-weights-special-tag { font-size: 10.5px; font-weight: 700; color: var(--sp-orange, #E96A0C); background: #fdf1e7; padding: 2px 7px; border-radius: 999px; margin-left: 4px; }

#htest-school-moria-widget { margin-top: 20px; padding-top: 20px; border-top: 1px solid var(--sp-line, #E4E2DC); }
.htest-school-moria-result { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; margin-top: 6px; }
.htest-school-moria-total { display: flex; align-items: baseline; gap: 8px; }
.htest-school-moria-total span:first-child { font-family: 'Baloo 2', sans-serif; font-weight: 800; font-size: 26px; color: var(--sp-navy, #1B2A4A); }

.htest-school-moria-cta { font-size: 14px; color: var(--sp-ink-soft, #5B6B87); margin: 14px 2px 0; }
.htest-school-moria-cta a { color: var(--sp-orange, #E96A0C); font-weight: 700; text-decoration: none; }
.htest-school-moria-cta a:hover { text-decoration: underline; }

