/* stylelint-disable @tinyspeck/design-tokens/forbid-text-transform */
:root {
	--color: rgba(29, 28, 29, 0.13);
	--slack-color-primary: #032d60;
	--slack-color-text: #141414;
	--slack-color-highlight: #1264a3;
	--font-family-heading: 'Salesforce-Avant-Garde', sans-serif;
	--font-family-text: 'Salesforce-Sans', sans-serif;
	--font-family-product: 'Lato', sans-serif;
	--font-family-code: 'Monaco', 'Menlo', 'Consolas', 'Courier New', monospace;
}

/* --------------------------------------------------------------
* Hiring CTA
* ------------------------------------------------------------ */
.slack-hiring,
.hiring {
	padding: 1rem 2rem;
	position: relative;
	padding-right: 10rem;
	display: flex;
	align-items: center;
	justify-content: space-between;
}

.slack-hiring p,
.hiring p {
	margin: 0;
}

.slack-hiring a,
.hiring a {
	border: none;
	background-color: #fff;
	text-decoration: none !important;
	cursor: pointer;
	text-align: center;
	font-weight: 700;
	line-height: 1.2;
	letter-spacing: 0.8px;
	font-size: 0.875rem;
	text-transform: uppercase;
	transition:
		box-shadow 420ms cubic-bezier(0.165, 0.84, 0.44, 1),
		color 420ms cubic-bezier(0.165, 0.84, 0.44, 1),
		background 420ms cubic-bezier(0.165, 0.84, 0.44, 1);
	font-style: normal;
	position: absolute;
	right: 0;
	color: var(--slack-color-primary);
	outline: 0.0625rem dashed var(--slack-color-primary);
	border-radius: 5px;
	padding: 0.7rem 1rem;
}

.slack-hiring a:hover,
.hiring a:hover {
	outline: 0.1rem solid var(--slack-color-primary);
}

.slack-hiring svg,
.hiring svg {
	width: 26px;
	height: 37px;
	display: block;
	position: absolute;
	left: -1.5rem;
	top: -4px;
}

/* --------------------------------------------------------------
* Aside
* ------------------------------------------------------------ */
.c-aside {
	background-color: #f5f4f5;
	border-top: 11px solid var(--slack-color-primary);
	padding: 2rem;
}

.c-aside h3,
.c-aside h4,
.c-aside__header {
	font-weight: 700;
	line-height: 1.555;
	letter-spacing: -0.004em;
	font-size: clamp(
		calc(1.125 * 1rem),
		calc((1.125 * 1rem) + ((1.125 - 1.125) * (100vw - (25 * 1rem)) / (64 - 25))),
		calc(1.125 * 1rem)
	);
	margin-bottom: 1rem;
}

.c-aside ol,
.c-aside ul {
	list-style: none;
	margin-left: 0;
	padding-left: 2rem !important;
}

.c-aside ul > li {
	list-style-type: none;
}

.c-aside ul > li::before {
	font-family: arial, helvetica, sans-serif;
	position: relative;
	float: left;
	color: var(--slack-color-primary);
	text-indent: -30px;
	speak: none;
	content: '\25a0';
	top: -3px;
}

/* --------------------------------------------------------------
* Pullquote
* ------------------------------------------------------------ */
.c-pullquote {
	margin: 3rem auto !important;
	max-width: 54rem;
	font-weight: 600;
	font-style: normal;
	text-transform: none;
	line-height: 1.2;
	position: relative;
	padding-right: 0;
	padding-left: 0;
}

.c-pullquote__text {
	font-family: var(--font-family-heading);
	color: var(--slack-color-primary);
	letter-spacing: -0.004em;
	font-size: 1.75rem;
	line-height: 1.3;
	margin: 20px 0;
	text-indent: -0.4em;
}

.c-pullquote__text::before {
	content: open-quote;
}

.c-pullquote__text::after {
	content: close-quote;
}

.c-pullquote__attribution {
	font-size: 0.75rem;
	font-size: 16px;
	letter-spacing: normal;
	font-style: normal;
	font-family: var(--font-family-text);
}

/* --------------------------------------------------------------
* Profile Card
* ------------------------------------------------------------ */
.slack-profile-card {
	font-family: var(--font-family-product);
	font-size: 15px;
	line-height: 1.4667;
	font-weight: initial;
	letter-spacing: inherit;
	cursor: inherit;
	box-shadow: 0 0 0 1px var(--color);
	background: #fff;
	border-radius: 12px;
	color: var(--slack-color-text);
}

.slack-profile-card-primary {
	justify-content: flex-start;
	align-items: center;
	display: flex;
	padding: 12px;
}

.slack-profile-card-secondary {
	border-top: 1px solid var(--color);
	flex-direction: column;
	padding: 12px;
	display: flex;
}

.slack-profile-card-avatar {
	display: inline-flex;
	align-self: flex-start;
	width: 72px;
	height: 72px;
	margin-right: 12px;
}

.slack-profile-card-avatar img {
	background-color: var(--color);
	border-radius: 4px;
	color: #1d1c1d;
	flex-shrink: 0;
	position: relative;
}

.slack-profile-card-team {
	text-overflow: ellipsis;
	white-space: nowrap;
	line-height: 1.4667;
	font-weight: initial;
	letter-spacing: inherit;
	color: rgba(29, 28, 29, 0.7);
	font-size: 13px;
	display: block;
	overflow: hidden;
}

.slack-profile-card ul {
	margin: 0;
	list-style-type: square;
	list-style-position: outside;
	padding-left: 14px;
}

.slack-profile-card p {
	margin: 0;
}

/* --------------------------------------------------------------
* Action Link
* ------------------------------------------------------------ */
.action-link {
	display: flex;
	gap: 1rem;
	align-items: center;
	font-size: 1.25rem;
	margin: 2rem 0;
}

.action-link a {
	border: none;
	position: relative;
}

.action-link a::before {
	transition: width 420ms cubic-bezier(0.165, 0.84, 0.44, 1);
	position: absolute;
	bottom: -2px;
	width: 0;
	border-bottom: 2px solid var(--slack-color-primary);
	content: '';
}

.action-link a:hover::before {
	width: 100%;
}

.action-link svg {
	transform: rotate(180deg);
}

/* --------------------------------------------------------------
* Embeds
* ------------------------------------------------------------ */
.embed {
	position: relative;
	display: block;
	width: 100%;
	padding: 0;
	overflow: hidden;
}

.embed::before {
	display: block;
	content: '';
}

.embed .embed-item,
.embed embed,
.embed iframe,
.embed object,
.embed video {
	position: absolute;
	top: 0;
	bottom: 0;
	left: 0;
	width: 100%;
	height: 100%;
	border: 0;
}

.embed-21by9::before {
	padding-top: 42.8571%;
}

.embed-16by9::before {
	padding-top: 56.25%;
}

.embed-4by3::before {
	padding-top: 75%;
}

.embed-1by1::before {
	padding-top: 100%;
}

/* --------------------------------------------------------------
* Image (Legacy)
* ------------------------------------------------------------ */
.c-photo-collage--single {
	margin-left: 0;
	margin-right: 0;
}

.c-photo-collage--single figcaption {
	margin-left: 0;
	margin-right: 0;
}

@media screen and (max-width: 48rem) {
	.c-photo-collage--single {
		margin-left: -8vw;
		margin-right: -8vw;
	}

	.c-photo-collage--single figcaption {
		margin-left: 8vw;
		margin-right: 8vw;
	}
}

/* --------------------------------------------------------------
* Image Two-Up
* ------------------------------------------------------------ */
.c-photo-collage img {
	display: block;
}

.c-photo-collage--two-up {
	max-width: 58.75rem;
	display: grid;
	grid-template-columns: 1fr;
	grid-template-columns: repeat(2, 1fr);
	grid-template-rows: 1fr;
	grid-gap: 1.5rem 2.439%;
}

.c-photo-collage--two-up > * {
	min-width: 100%;
	position: relative;
	margin: 0;
}

.c-photo-collage__caption {
	line-height: 1.556;
	letter-spacing: 0.014em;
	font-size: 0.875rem;
	margin-bottom: 1rem;
	font-style: italic;
	margin-top: calc(0.5 * 1rem);
	text-align: left;
}

.c-photo-collage--two-up > ::before {
	display: none;
}

/* --------------------------------------------------------------
* Animation / MP4
* ------------------------------------------------------------ */
.c-video {
	margin: calc(2 * 1rem) 0 0;
}

.c-animation__playbtn {
	position: absolute;
	left: 0;
	top: 0;
	width: 100%;
	height: 100%;
	background: none;
	border: none;
}

.play-pause-control {
	position: relative;
	left: 5%;
	top: 1.5rem;
	transform: translate(-50%, -50%);
	width: 50px;
	height: 50px;
	display: flex;
	justify-content: center;
	align-items: center;
	border-radius: 50%;
	background-color: rgba(0, 0, 0, 0.5);
	cursor: pointer;
}

.play-pause-control.inverse_control {
	left: 95%;
}

.progress-circle {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
}

.progress,
.progress-bg {
	fill: none;
	stroke-width: 2.8;
}

.progress-bg {
	stroke: #eee;
}

.progress {
	stroke: #3e98c7;
	transition: stroke-dasharray 0.3s;
}

.controls {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-top: 10px;
}

.scrubber .c-youtube-video--showcase__icon {
	top: unset;
	left: 30%;
}

.scrubber .c-youtube-video--showcase__icon g path {
	fill: #000;
}

.scrubber .pause-control,
.scrubber .play-control {
	fill: #000;
}

.scrubber #seekbar {
	width: 80%;
}

.u-box-shadow-simple {
	box-shadow: 0 0 0.8rem 0 rgba(0, 0, 0, 0.1) !important;
}

.c-youtube-video--showcase__icon {
	left: 50%;
	position: absolute;
	top: 50%;
	transform: translate(-50%, -50%);
	z-index: 2;
	border-radius: 4px;
	background-color: var(--slack-color-primary);
	border: none;
}

/* --------------------------------------------------------------
* Author Note
* ------------------------------------------------------------ */
.author-note {
	border-top: 1px dashed;
	padding: 1rem 1.5rem 0;
	font-size: 1rem;
}

.author-link {
	vertical-align: middle;
	display: inline-flex;
	border: none;
	color: inherit;
	padding: 0 2px;
}

.author-note strong {
	padding-right: 5px;
	text-transform: uppercase;
	font-size: 0.9em;
	color: var(--slack-color-primary);
}

/* --------------------------------------------------------------
* Related
* ------------------------------------------------------------ */
.related .title {
	margin-bottom: 0.5rem;
	font-size: 0.75rem;
	font-weight: 700;
	text-transform: uppercase;
	line-height: 1.15;
}

.related ul {
	line-height: 1.1;
	font-weight: 500;
	font-size: 16px;
	padding-left: 18px;
}

.related li {
	padding-left: 12px;
	margin-bottom: 8px;
	list-style-type: '►';
}

.related li::marker {
	font-size: 0.75rem;
}

.related a {
	border: none;
	position: relative;
}

.related a::before {
	transition: width 420ms cubic-bezier(0.165, 0.84, 0.44, 1);
	position: absolute;
	bottom: -2px;
	width: 0;
	border-bottom: 1px solid var(--slack-color-primary);
	content: '';
}

.related a:hover::before {
	width: 100%;
}

.u-relative-position {
	position: relative;
	z-index: 1;
}

.u-visually-hidden {
	position: absolute;
	width: 1px;
	height: 1px;
	border: 0;
	margin: -1px;
	padding: 0;
	overflow: hidden;
	clip: rect(0 0 0 0);
}
