.headmaster-page { max-width: 1100px; margin: 0 auto; padding: 42px 15px 55px; }
.headmaster-hero { display: flex; align-items: center; justify-content: space-between; gap: 30px; padding: 42px; color: #fff; background: linear-gradient(120deg, #075c48, #168567); box-shadow: 0 10px 24px rgba(32, 59, 53, .12); }
.headmaster-hero h1 { margin: 0 0 12px; font-size: clamp(28px, 4vw, 42px); line-height: 1.3; }
.headmaster-hero p:last-child { max-width: 650px; margin: 0; color: #e3f3ed; font-size: 17px; }
.headmaster-hero-icon { display: grid; width: 100px; height: 100px; flex: 0 0 100px; place-items: center; color: #f0c45d; border: 1px solid rgba(240, 196, 93, .7); font-size: 42px; }
.headmaster-profile { display: grid; grid-template-columns: 220px 1fr; align-items: center; gap: 38px; margin-top: 35px; padding: 35px; background: var(--surface-color); border: 1px solid var(--border-color); box-shadow: 0 5px 18px rgba(32, 59, 53, .06); }
.headmaster-photo { width: 190px; height: 190px; object-fit: cover; border: 6px solid #e8f0ed; border-radius: 50%; box-shadow: 0 0 0 2px var(--accent-color); }
.headmaster-details h2 { margin: 0 0 4px; color: var(--primary-color); font-size: 30px; }
.headmaster-role { margin: 0 0 22px; color: var(--muted-color); font-size: 15px; }
.headmaster-details dl { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 15px; margin: 0; }
.headmaster-details dl div { padding: 14px; background: #f4f8f6; border-left: 3px solid var(--accent-color); }
.headmaster-details dt { color: var(--muted-color); font-size: 12px; }
.headmaster-details dd { margin: 4px 0 0; color: var(--text-color); font-weight: 700; }
.headmaster-note { display: flex; gap: 15px; margin-top: 25px; padding: 24px; color: var(--muted-color); background: #e8f0ed; border-left: 5px solid var(--accent-color); }
.headmaster-note > i { color: var(--primary-color); font-size: 23px; }
.headmaster-note h2 { margin: 0 0 5px; color: var(--primary-color); font-size: 18px; }
.headmaster-note p { margin: 0; font-size: 14px; line-height: 1.7; }

@media (max-width: 700px) {
	.headmaster-page { padding-top: 30px; }
	.headmaster-hero { align-items: flex-start; flex-direction: column; padding: 28px 22px; }
	.headmaster-hero-icon { width: 70px; height: 70px; flex-basis: 70px; font-size: 28px; }
	.headmaster-profile { grid-template-columns: 1fr; gap: 24px; padding: 25px 20px; }
	.headmaster-details dl { grid-template-columns: 1fr; }
}
