/**
 * #Hub instructor page
 */

.p-hub-instructor .p-page-header {
	/* padding: 28px 20px 50px; */
}

.p-hub-instructor .c-sec-head--glow,
.p-studio .c-sec-head--glow,
.p-column-archive .c-sec-head--glow,
.p-news-archive .c-sec-head--glow {
	gap: 15px;
}

.p-hub-instructor .c-sec-head--glow .c-sec-head__en,
.p-studio .c-sec-head--glow .c-sec-head__en,
.p-column-archive .c-sec-head--glow .c-sec-head__en {
	width: fit-content;
	padding-bottom: 0;
	border-bottom: 0;

	&::after {
		content: "";
		display: block;
		height: 10px;
		background-image: var(--neon-grd);
	}

	@media (max-width: 768px) {
		padding-bottom: 0;
		border-bottom: 0;

		&::after {
			height: 5px;
		}
	}
}

.p-news-archive .c-sec-head--glow .c-sec-head__en {
	width: fit-content;
	padding-bottom: 10px;
	border-bottom: 10px solid var(--color-accent);

	&::after {
		content: none;
	}

	@media (max-width: 768px) {
		padding-bottom: 5px;
		border-bottom-width: 5px;
	}
}

.p-hub-instructor__tabs {
	display: flex;
	justify-content: center;
	width: fit-content;
	max-width: calc(100% - 40px);
	margin: 0 auto 50px;
	padding: 4px 5px;
	border-radius: 999px;
	background-color: #fff;
	@media (max-width: 768px) {
		margin-bottom: 0;
	}
}

.p-hub-instructor__tab {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 2px;
	padding: 10px 30px;
	border: 0;
	border-radius: 999px;
	background-color: transparent;
	color: #666;
	font: inherit;
	text-align: center;
	text-decoration: none;
	cursor: pointer;

	&:hover {
		opacity: 1;
		color: #666;
	}
}

.p-hub-instructor__tab-en {
	font-family: var(--ff-en);
	font-size: 32px;
	font-weight: 900;
	line-height: 1;
	text-transform: uppercase;
}

.p-hub-instructor__tab-ja {
	font-size: 14px;
	font-weight: 700;
	line-height: 1;
}

.p-hub-instructor__tab.is-active[data-tab="pro-lab"] {
	background-color: #e8c547;
	color: #000;

	&:hover {
		color: #000;
	}
}

.p-hub-instructor__tab.is-active[data-tab="open-class"] {
	background-color: #a8479e;
	color: #fff;

	&:hover {
		color: #fff;
	}
}

.p-hub-instructor__tab.is-active[data-tab="all"] {
	background-image: linear-gradient(79deg, #00f5ff 5.4%, #bf00ff 94.5%);
	color: #fff;

	&:hover {
		color: #fff;
	}
}

.p-hub-instructor__body {
	padding: 0 20px 100px;
	color: #111;
}

.p-hub-instructor__inner {
	width: min(1080px, 100%);
	margin-inline: auto;
}

.p-hub-instructor__sections {
	display: flex;
	flex-direction: column;
	gap: 50px;
}

.p-hub-instructor__heading {
	display: flex;
	align-items: center;
	min-height: 55px;
	margin: 0 0 33px;
	padding: 6px 10px 6px 20px;
	border-left: 5px solid #e8c547;
	background-color: #f6f6f6;
	color: #111;
	font-size: 24px;
	font-weight: 700;
	line-height: 1.3;
}

.p-hub-instructor .p-genre__grid {
	grid-template-columns: repeat(5, 200px);
	justify-content: start;
	width: 100%;
	margin-inline: 0;
	gap: 20px;
}

.p-hub-instructor .p-genre__item {
	border-radius: 20px;
	background-color: #111;
}

.p-hub-instructor .p-genre__label {
	bottom: 20px;
	padding: 2px 4px;
	font-size: 20px;
	font-weight: 900;
	line-height: 1.2;
}

.p-hub-instructor__search {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	margin-bottom: 30px;
	padding: 20px;
	border-radius: 10px;
	background-color: rgb(255 255 255 / 70%);
}

.p-hub-instructor__search-main {
	display: flex;
	align-items: center;
	gap: 10px;
	min-width: 0;
}

.p-hub-instructor__query {
	position: relative;
	display: block;
	width: 283px;

	input {
		width: 100%;
		padding: 11px 48px 11px 24px;
		border: 1px solid #ddd;
		border-radius: 999px;
		background-color: #f6f6f6;
		color: #111;
		font-size: 14px;
		font-weight: 500;
		line-height: 1.5;

		&::placeholder {
			color: #aaa;
		}
	}

	button {
		position: absolute;
		top: 50%;
		right: 16px;
		display: flex;
		padding: 0;
		border: 0;
		background: none;
		color: #111;
		transform: translateY(-50%);
		cursor: pointer;
	}
}

.p-hub-instructor__count,
.p-hub-instructor__sort span {
	margin: 0;
	font-size: 15px;
	font-weight: 500;
	line-height: 1;
	white-space: nowrap;
}

.p-hub-instructor__filters {
	display: flex;
	align-items: center;
	gap: 16px;
}

.p-hub-instructor__sort {
	display: flex;
	align-items: center;
	gap: 10px;

	select {
		min-width: 154px;
		height: 40px;
		padding: 0 36px 0 18px;
		border: 1px solid #ddd;
		border-radius: 8px;
		background-color: #fff;
		color: #111;
		font-size: 16px;
		font-weight: 500;
	}
}

.p-hub-instructor__cards {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 30px 15px;
}

.p-hub-instructor__card {
	display: flex;
	flex-direction: column;
	align-items: center;
	overflow: hidden;
	border-radius: 20px;
	background-color: #fff;
	color: #111;
	text-decoration: none;

	&:hover {
		opacity: 1;
		color: #111;
	}
}

.p-hub-instructor__photo {
	display: block;
	width: 100%;
	aspect-ratio: 4 / 3;
	object-fit: cover;
}

.p-hub-instructor__card-body {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 10px;
	width: 100%;
	padding: 10px 15px 20px;
}

.p-hub-instructor__name {
	font-size: 22px;
	font-weight: 700;
	line-height: 1;
	text-align: center;
	@media (max-width: 768px) {
		font-size: 18px;
	}
}

.p-hub-instructor__role {
	font-size: 16px;
	font-weight: 500;
	line-height: 1.5;
	text-align: center;
}

.p-hub-instructor__lessons {
	display: flex;
	flex-direction: column;
	gap: 15px;
	width: 100%;
}

.p-hub-instructor__campus {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 10px;
}

.p-hub-instructor__badge {
	display: inline-flex;
	padding: 4px 9px;
	border-radius: 4px;
	color: #fff;
	font-size: 13px;
	font-weight: 700;
	letter-spacing: 0.65px;
	line-height: 1;
}

.p-hub-instructor__badge--baba {
	background-color: #4a35ff;
}

.p-hub-instructor__badge--anime-dance {
	background-color: #0097f5;
}

.p-hub-instructor__line {
	font-size: 16px;
	font-weight: 500;
	line-height: 1.4;
}

.p-hub-instructor__empty {
	margin: 0;
	text-align: center;
	font-size: 16px;
	font-weight: 700;
}

@media (max-width: 1100px) {
	.p-hub-instructor .p-genre__grid {
		grid-template-columns: repeat(auto-fill, 200px);
	}
}

@media (max-width: 1024px) {
	.p-hub-instructor__cards {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.p-hub-instructor__tab {
		padding: 8px 16px;
	}

	.p-hub-instructor__tab-en {
		font-size: 22px;
	}
}

@media (max-width: 768px) {
	.p-hub-instructor__tab-en {
		font-size: 16px;
	}

	.p-hub-instructor__tab-ja {
		font-size: 10px;
	}

	.p-hub-instructor .p-genre__grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 12px;
	}

	.p-hub-instructor .p-genre__label {
		font-size: 14px;
	}

	.p-hub-instructor__heading {
		font-size: 20px;
	}

	.p-hub-instructor__search,
	.p-hub-instructor__search-main,
	.p-hub-instructor__filters,
	.p-hub-instructor__sort {
		flex-direction: column;
		align-items: stretch;
	}

	.p-hub-instructor__query {
		width: 100%;
	}

	.p-hub-instructor__cards {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 16px 12px;
	}

	.p-hub-instructor__body {
		padding: 32px 20px 64px;
	}
}
