.modal-honra .modal-content {
	width: min(680px, calc(100vw - 28px));
	max-height: min(680px, calc(100vh - 32px));
	overflow: hidden;
	display: flex;
	flex-direction: column;
	border: 1px solid #e7e3f1;
	border-radius: 14px !important;
	box-shadow: 0 16px 40px rgba(38, 30, 72, .16);
}

#modalHonraTurmas .comunicacao-header {
	padding: 16px 18px;
	border-color: #e8e4f1;
	background: linear-gradient(115deg, #f8f7fb, #f1eef8);
}

#modalHonraTurmas .comunicacao-icon {
	width: 40px;
	height: 40px;
	border: 1px solid #e2dcef;
	border-radius: 11px;
	background: #ebe6f5;
	color: #59468c;
}

#modalHonraTurmas .comunicacao-header h2 { color: #302650; }
#modalHonraTurmas .comunicacao-header p { color: #77718c; }
#modalHonraTurmas .comunicacao-fechar { border-radius: 9px; }

#modalHonraTurmas .honra-modal-body {
	background: #fbfaff;
}

.honra-modal-body {
	min-height: 0;
	padding: 16px 18px 18px;
	display: flex;
	flex-direction: column;
	gap: 12px;
}

.honra-busca {
	min-height: 40px;
	padding: 0 12px;
	display: flex;
	align-items: center;
	gap: 9px;
	border: 1px solid #e4e0ed;
	border-radius: 10px;
	background: #fff;
	color: #827b96;
	box-shadow: 0 2px 7px rgba(49, 38, 87, .035);
	transition: border-color .16s ease, box-shadow .16s ease;
}

.honra-busca:focus-within {
	border-color: #a99bcf;
	box-shadow: 0 0 0 3px rgba(89, 70, 140, .1);
}

.honra-busca input {
	width: 100%;
	min-width: 0;
	border: 0;
	outline: 0;
	background: transparent;
	color: #302650;
	font: inherit;
	font-size: 12px;
}

.honra-lista-turmas {
	min-height: 120px;
	max-height: min(470px, calc(100vh - 210px));
	overflow-y: auto;
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
	align-content: start;
	gap: 11px;
	padding: 2px 3px 3px 2px;
	scrollbar-color: #d9d3e8 transparent;
	scrollbar-width: thin;
}

.honra-turma-item {
	min-width: 0;
	padding: 13px;
	border: 1px solid #e9e6f0;
	border-radius: 11px;
	background: #fff;
	box-shadow: 0 2px 8px rgba(49, 38, 87, .035);
	transition: border-color .16s ease, box-shadow .16s ease, transform .16s ease;
}

.honra-turma-item:hover {
	transform: translateY(-1px);
	border-color: #d8d0e9;
	box-shadow: 0 7px 16px rgba(49, 38, 87, .08);
}

.honra-turma-nome {
	margin-bottom: 10px;
	color: #655b80;
	font-size: 12px;
	font-weight: 700;
}

.honra-turma-aluno {
	display: flex;
	align-items: center;
	gap: 10px;
}

.honra-turma-aluno img {
	width: 44px;
	height: 44px;
	flex: 0 0 44px;
	border: 2px solid #fff;
	border-radius: 12px;
	object-fit: cover;
	box-shadow: 0 2px 7px rgba(49, 38, 87, .12);
}

.honra-turma-aluno strong,
.honra-turma-aluno span {
	display: block;
	overflow-wrap: anywhere;
}

.honra-turma-aluno strong {
	color: #302650;
	font-size: 13px;
}

.honra-turma-aluno span {
	margin-top: 3px;
	color: #817b91;
	font-size: 11px;
}

.honra-mini-medalha {
	margin-left: auto;
	width: 30px;
	height: 30px;
	display: grid;
	place-items: center;
	border: 1px solid #eee7d5;
	border-radius: 9px;
	background: #fbf8ef;
	color: #b18b44;
}

@media (max-width: 520px) {
	.modal-honra .modal-content {
		width: calc(100vw - 16px);
		max-height: calc(100dvh - 24px);
	}

	.honra-modal-body { padding: 13px; }

	.honra-lista-turmas {
		max-height: calc(100dvh - 210px);
		grid-template-columns: minmax(0, 1fr);
	}
}
