:root {
	--credit-background: #40444c;
	--credit-text: #fff;
	--text-color: #fff;
	--cyan: #4bc9ff;
	--subheading-color: #8e9196;
	--border-color: #40444c;
}

:root[data-theme="light"] {
	--credit-background: #f4f4f4;
	--credit-text: #565a62;
	--text-color: #000;
	--cyan: #005eb5;
	--subheading-color: #101010;
	--border-color: #dfdfdf;
}

:root[data-theme="light"] header > #logo-container > #logo {
	background-image: url("/assets/front/images/logo/gg-logo-wordmark-long-light.svg");
}

:root[data-theme="light"] #social-buttons-group .gg-logo-flat {
	background-image: url("/assets/front/images/logo/gg-logo-black.svg");
}

:root[data-theme="light"] #social-buttons-group .gg-logo-flat:hover,
.gg-logo-flat:hover {
	background-image: url("/assets/front/images/logo/gg-logo.svg");
}

:root[data-theme="light"] .icon-arrow-down-circle {
	background-image: url("/assets/front/images/arrow-down-circle-light.svg");
}


#team-cats-links img {
	display: inline;
	width: 14px;
	height: 20px;
	margin-right: 16px;
}

#staff-list #team-cats-links p {
	color: var(--cyan);
}

#staff-list {
	display: flex;
	flex-direction: column;
	gap: var(--margin);
	padding: 56px 80px 88px 80px;
}

#staff-list > header > #blah-blah-blah {
	margin-bottom: 1em;
}

#staff-list > header > #join-cta {
	text-align: center;
	background-color: var(--gray-bg);
	padding: var(--margin);
}

header > #logo-container > #logo {
	width: 130px;
	height: 24px;
	margin-left: auto;
	margin-right: auto;
	background-image: url("/assets/front/images/logo/gg-logo-wordmark-long.svg");
}

@media (min-width: 768px) {
	#staff-list > header {
		display: grid;
		grid-template-columns: 1fr 300px;
		gap: var(--margin);
	}

	#staff-list > header > #logo-container {
		grid-column: 1 / span 2;
		grid-row: 1;
	}

	#staff-list > header > h1 {
		text-align: center;
		grid-row: 2;
		grid-column: 1 / span 2;
		font-family: "Poppins";
		font-weight: 700;
		line-height: normal;
	}

	#staff-list > header > #blah-blah-blah {
		grid-row: 3;
		grid-column: 1;
		margin-bottom: 0;
	}

	#staff-list > header > #blah-blah-blah > p {
		line-height: 26px;
	}

	#staff-list > header > #join-cta {
		grid-row: 3;
		grid-column: 2;
		padding: 16px 32px 12px;
	}

	#staff-list > header > #team-cats-links {
		grid-row: 4;
		grid-column: 1 / span 2;
	}

	#staff-list > header > #team-cats-links > h2 {
		font-size: 26px;
		margin-bottom: 0;
	}

	#staff-list > header > #team-cats-links > p {
		margin-top: 0;
	}
}

#staff-list h1 {
	margin-top: 36px;
}

#staff-list h3 {
	margin-bottom: 20px;
	margin-top: 80px;
}

#staff-list h3:first-child {
	margin-top: 0;
}

#staff-list h4 {
	color: var(--text-color);
}

#staff-list h5 {
	color: var(--text-color);
}

#team-member-list {
	padding: 0;
}

#team-member-item:last-child {
	border: none;
}

#team-member-item {
	display: flex;
	align-items: center;
	border-bottom: 1px var(--border-color) solid;
	padding: 4px 0;
}

#team-member-item > #member-avatar > a {
	width: 64px;
	height: 100px;
	background-position: center center;
	background-repeat: no-repeat;
	background-size: contain;
	display: block;
	margin-right: 60px;
}

#team-member-item > #staff-name-social > #social-buttons-group {
	margin-left: auto;
	width: 240px;
	display: flex;
	gap: 14px;
}

#team-member-item > #staff-name-social > #social-buttons-group > a {
	display: flex;
	align-items: center;
	color: var(--text-color);
	cursor: pointer;
}

#team-member-item > #staff-name-social .icon-envelop5:hover,
#team-member-item > #staff-name-social .icon-linkedin:hover,
#team-member-item > #staff-name-social .icon-twitter:hover,
#team-member-item > #staff-name-social .icon-steam:hover {
	color: var(--cyan);
}

#team-member-item > #staff-name-social .icon-xbox:hover::before {
	color: #107c10;
}

#team-member-item > #staff-name-social .icon-twitch:hover::before {
	color: #6441a4;
}

#team-member-item > #staff-name-social .icon-playstation:hover::before {
	color: #003791;
}

#team-member-item
	> #staff-name-social
	> #social-buttons-group
	> a.data-to-copy {
	position: relative;
}

#team-member-item
	> #staff-name-social
	> #social-buttons-group
	> a.data-to-copy.active
	> .tooltip {
	visibility: visible;
}

#team-member-item .gg-icon.icon-xbox::before,
#team-member-item .gg-icon.icon-twitch::before,
#team-member-item .gg-icon.icon-playstation::before {
	color: var(--text-color);
}

.gg-logo-flat {
	background-image: url("/assets/front/images/logo/gg-logo-white.svg");
	min-width: 17px;
	height: 17px;
}

#team-member-item > #profile-button {
	margin-left: 48px;
	padding: 8px 16px;
	font-size: 14px;
	display: flex;
	gap: 8px;
	align-items: center;
}

#team-member-item > #profile-button:hover {
	color: var(--cyan);
}

#team-member-item > #staff-name-social {
	display: flex;
	justify-content: space-between;
	width: 100%;
}

#team-member-list > #member-avatar {
	min-width: 64px;
	display: inline-block;
}

#team-member-item > #staff-name-social h4 {
	margin: 0;
	font-weight: 600;
}

#team-member-item > #staff-name-social h5 {
	margin: 0;
	font-weight: 400;
}

@media screen and (max-width: 768px) {
	#staff-list #team-cats-links h2 {
		margin-bottom: 8px;
	}

	#staff-list #team-cats-links p {
		margin: 0;
	}

	#staff-list {
		padding: 24px 20px;
	}

	#staff-list > header > #logo-container > #logo {
		width: 130px;
		margin-left: auto;
		margin-right: auto;
	}

	#staff-list h1 {
		font-family: "Poppins";
		font-size: 24px;
		font-weight: 700;
		line-height: 150%;
		text-align: center;
		grid-row: 2;
		grid-column: 1 / span 2;
		margin-top: 24px;
	}

	#staff-list h3 {
		margin-bottom: 8px;
		margin-top: 40px;
	}

	#staff-list > header > #blah-blah-blah > p {
		font-size: 14px;
		line-height: 26px;
	}

	#staff-list > header > #join-cta {
		margin-bottom: 38px;
	}

	#team-member-item > #staff-name-social {
		flex-direction: column;
		width: 100%;
	}

	#team-member-item > #staff-name-social > #social-buttons-group {
		margin-top: 8px;
	}

	#team-member-item > #staff-name-social h4 {
		font-size: 16px;
		font-weight: 600;
		margin-bottom: 4px;
	}
	#team-member-item > #staff-name-social > span > h5 {
		font-size: 14px;
		font-weight: 400;
		margin: 0 0 8px;
	}

	#team-member-item #profile-btn-text {
		display: none;
	}

	#team-member-item > #member-avatar > a {
		margin-right: 8px;
	}

	#team-member-item > #staff-name-social > #social-buttons-group {
		width: fit-content;
		margin-left: 0;
		gap: 8px;
	}

	#team-member-item > #profile-button {
		margin: 0;
		padding: 0;
	}

	#team-member-item > #profile-button > span {
		margin: 0;
	}
}

/* STAFF MEMBER */

#staff-member {
	padding: 44px 160px 120px;
}

#staff-member > header {
	position: relative;
}

#staff-member > header > #logo-container {
	width: 100%;
}

#staff-member > header > #logo-container > #logo {
	width: 130px;
	margin-left: auto;
	margin-right: auto;
}

#staff-member #staff-member-img {
	position: absolute;
	right: 0;
	width: 245px;
	height: 320px;
	background-position: center center;
	background-repeat: no-repeat;
	background-size: contain;
}

#staff-member header > p {
	text-align: left;
}

#staff-member > header h1 {
	font-size: 50px;
	font-family: "Poppins";
	font-weight: 700;
	margin: 0;
}

#staff-member > header h2 {
	font-size: 24px;
	font-family: "Inter";
	font-weight: 400;
	color: var(--subheading-color);
	margin: 0;
}

#staff-member > header .socials {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-top: 32px;
	width: 460px;
}

#staff-member > header .socials > a {
	display: flex;
	align-items: center;
	gap: 8px;
	padding: 12px;
	border-radius: 6px;
	background: var(--credit-background);
	color: var(--cyan);
	white-space: nowrap;
}

#staff-member > main {
	margin-top: 40px;
}

#staff-member > main h3 {
	font-size: 26px;
	font-weight: 700;
	line-height: 150%;
	margin-bottom: 26px;
}

#staff-member > main h4 {
	font-size: 16px;
	font-weight: 600;
	margin: 40px 0 14px;
}

#staff-member > main strong {
	font-family: "Poppins";
	font-size: 14px;
	font-style: normal;
	font-weight: 700;
	line-height: 26px;
}

.text-cyan {
	color: var(--cyan);
}

#staff-member > main .about-content-text {
	font-family: "Inter";
	font-size: 14px;
	font-style: normal;
	line-height: 26px;
	color: var(--text-color);
}

#staff-member > main #gaming-expertise .about-content-text {
	color: var(--cyan);
}

#staff-member > main .credits-list {
	display: flex;
	gap: 20px;
	margin-bottom: 40px;
}

#staff-member > main .credits-list > a {
	box-sizing: border-box;
	width: 100px;
	height: 40px;
	display: flex;
	justify-content: space-around;
	align-items: center;
	border-radius: 6px;
	background: var(--credit-background);
}

#staff-member > main .credits-list > a > #credit-title {
	font-family: "Inter";
	font-size: 14px;
	font-weight: 700;
	color: var(--cyan);
}

#staff-member > main .credits-list > a > #credit-count {
	font-family: "Inter";
	font-size: 14px;
	font-weight: 400;
	color: var(--credit-text);
}

#staff-member > main .section-guide-list {
	display: flex;
	flex-direction: column;
}

#staff-member > main .section-guide-list > a {
	padding: 2px 0;
	border-bottom: 1px var(--border-color) solid;
	font-size: 14px;
}

#staff-member > main .section-guide-list > a > .guide-list-title {
	color: var(--cyan);
}

#staff-member > main .show-all-container {
	display: flex;
}

#staff-member > main .toggle-guides {
	display: flex;
	align-items: center;
	background-color: transparent;
	border: 1px #818181 solid;
	border-radius: 27px;
	margin: 10px auto 10px auto;
	padding: 8px 12px;
	gap: 12px;
	font-size: 14px;
	font-weight: 600;
	color: var(--text-color);
	line-height: 150%;
	cursor: pointer;
}

#staff-member > main .toggle-guides > span {
	pointer-events: none;
}

.icon-arrow-down-circle {
	background-image: url("/assets/front/images/arrow-down-circle.svg");
	width: 16px;
	height: 16px;
}

#staff-list > main #back-to-top,
#staff-member > main #back-to-top {
	display: block;
	width: fit-content;
	margin: 20px auto 0;
	font-size: 14px;
}

#staff-list > main #back-to-top span:first-child,
#staff-member > main #back-to-top span:first-child {
	color: var(--text-color);
	margin-right: 6px;
}

/* Add this style to initially hide the guides beyond the first 10 */
.section-guide-list a {
	display: flex;
	justify-content: space-between;
}

.section-guide-list > a > .guide-list-year {
	color: var(--text-color);
}

.section-guide-list a.hidden-guide {
	display: none;
}

/* Add this style to show the guides when the "Show more" button is clicked */
.section-guide-list a.hidden-guide-visible {
	display: flex;
	justify-content: space-between;
}

/* Add this style to hide the "Show more" button when all guides are visible */
.show-all-container.hide-show-all {
	display: none;
}

@media screen and (max-width: 1024px) {
	#staff-member {
		padding: 44px 100px 120px;
	}
}

@media screen and (max-width: 768px) {
	#staff-member {
		padding: 24px 20px 48px 20px;
	}

	#staff-member header {
		display: flex;
		flex-direction: column;
		justify-content: center;
		align-items: center;
	}

	#staff-member header #staff-member-img {
		position: relative;
		right: 0;
		width: 100px;
		height: 120px;
		margin-left: auto;
		margin-right: auto;
	}

	#staff-member > header #staff-member-info {
		text-align: center;
	}

	#staff-member > header h1 {
		font-size: 24px;
		font-family: "Poppins";
		font-weight: 700;
		line-height: 150%;
	}

	#staff-member > header h2 {
		font-size: 20px;
	}

	#staff-member > header .socials {
		width: 100%;
		gap: 10px;
		margin-top: 20px;
	}

	#staff-member > header .socials > a {
		font-size: 14px;
		padding: 8px;
	}

	#staff-member > main h3 {
		margin-bottom: 19px;
	}

	#staff-member > main .credits-list {
		display: flex;
		flex-wrap: wrap;
		gap: 10px;
		margin-bottom: 44px;
	}

	#staff-member > main #back-to-top {
		margin: 18px auto 0;
	}

	#staff-member > main .section-guide-list > a {
		gap: 8px;
	}

	.section-guide-list > a > .guide-list-title {
		overflow: hidden;
		white-space: nowrap;
		text-overflow: ellipsis;
	}
}
