/*
 * Sipoon Wolf theme styles for the join page (page-templates/join.php).
 *
 * inc/assets.php loads this file only on these pages, after main.css. The tokens are in main.css.
 */

/* Join page --------------------------------------------------------- */

.join-cards {
	padding-bottom: clamp(72px, 9vw, 136px);
}

.join-cards__grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(360px, 100%), 1fr));
	gap: clamp(32px, 3vw, 40px);
	margin: 0;
	padding: 0;
	list-style: none;
}

/* A card with an image at the top and the text below the image. */
.join-card {
	display: flex;
	flex-direction: column;
	gap: 16px;
	color: var(--wolf-ink);
	text-decoration: none;
}

.join-card:hover {
	color: var(--wolf-ink);
}

.join-card__media {
	position: relative;
	aspect-ratio: 4 / 3;
	overflow: hidden;
	background: var(--wolf-ink);
}

.join-card__image {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.6s var(--wolf-ease);
}

.join-card__image.is-placeholder {
	position: absolute;
	top: 50%;
	left: 19%;
	width: 62%;
	height: auto;
	opacity: 0.16;
	object-fit: contain;
	transform: translateY(-50%);
	transition: none;
}

.join-card:hover .join-card__image:not(.is-placeholder) {
	transform: scale(1.04);
}

.join-card__number {
	position: absolute;
	top: 16px;
	left: 16px;
	padding: 8px 14px;
	border-radius: 999px;
	background: var(--wolf-gold);
	color: var(--wolf-ink);
	font-family: var(--wolf-font-display);
	font-weight: 900;
	font-size: 15px;
	line-height: 1;
}

.join-card__head {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 16px;
}

.join-card__title {
	font-weight: 900;
	font-size: clamp(26px, 2.4vw, 34px);
	line-height: 1.05;
	text-transform: uppercase;
	overflow-wrap: anywhere;
	hyphens: auto;
}

.join-card__button {
	display: flex;
	flex: 0 0 auto;
	align-items: center;
	justify-content: center;
	width: 48px;
	height: 48px;
	border-radius: 50%;
	background: var(--wolf-gold);
	color: var(--wolf-ink);
	transition: background-color 0.15s;
}

.join-card:hover .join-card__button {
	background: var(--wolf-gold-hover);
}

.join-card__text {
	margin: 0;
	font-size: 17px;
	line-height: 1.55;
	color: var(--wolf-ink-2);
}

/* Black list of situations, each with a link. */
.start-paths {
	padding-block: clamp(64px, 8vw, 120px);
	background: var(--wolf-ink);
	color: var(--wolf-paper);
}

.start-paths .container {
	display: flex;
	flex-direction: column;
	gap: clamp(28px, 3vw, 44px);
}

.start-paths__title {
	font-weight: 900;
	font-stretch: 108%;
	font-size: clamp(40px, 6vw, 88px);
	line-height: 0.88;
	letter-spacing: -0.01em;
	text-transform: uppercase;
}

.start-paths__list {
	margin: 0;
	padding: 0;
	border-top: 1px solid var(--wolf-ink-4);
	list-style: none;
}

.start-paths__list li {
	border-bottom: 1px solid var(--wolf-ink-4);
}

.start-path {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr));
	align-items: center;
	gap: 6px 32px;
	margin: 0 -12px;
	padding: 24px 12px;
	color: inherit;
	text-decoration: none;
	transition: background-color 0.15s, color 0.15s;
}

.start-path:hover {
	background: var(--wolf-gold);
	color: var(--wolf-ink);
}

.start-path__question {
	font-size: clamp(18px, 1.6vw, 22px);
	font-weight: 500;
	line-height: 1.35;
}

.start-path__answer {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	font-family: var(--wolf-font-display);
	font-weight: 900;
	font-size: clamp(20px, 2vw, 28px);
	text-transform: uppercase;
}

.start-path__answer svg {
	flex: 0 0 auto;
}
