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

/* Contact page ------------------------------------------------------- */

/* The contact person cards. */
.contact-cards {
	padding-bottom: var(--wolf-section);
}

.contact-cards__grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr));
	gap: var(--wolf-gap);
}

.contact-card {
	display: flex;
	flex-direction: column;
	gap: 14px;
	padding: clamp(24px, 2.4vw, 36px);
	background: var(--wolf-paper-2);
}

.contact-card__topic {
	font-family: var(--wolf-font-display);
	font-weight: 800;
	font-size: 12px;
	letter-spacing: 0.2em;
	text-transform: uppercase;
	color: var(--wolf-gold-dark);
}

.contact-card__name {
	font-weight: 800;
	font-size: 24px;
	line-height: 1.15;
}

.contact-card__text {
	font-size: 16px;
	line-height: 1.5;
	color: var(--wolf-ink-2);
}

.contact-card__links {
	display: flex;
	flex-direction: column;
	gap: 8px;
	margin-top: auto;
	padding-top: 8px;
}

.contact-link {
	display: flex;
	align-items: center;
	gap: 12px;
	min-height: 48px;
	padding: 0 16px;
	border-radius: var(--wolf-radius);
	background: #fff;
	color: var(--wolf-ink);
	font-size: 16px;
	font-weight: 600;
	text-decoration: none;
	overflow-wrap: anywhere;
	transition: background-color 0.15s;
}

.contact-link .icon {
	flex: 0 0 auto;
}

a.contact-link:hover {
	background: var(--wolf-gold-hover);
}

/* The links to the team pages. */
.team-contacts {
	padding-bottom: var(--wolf-section);
}

.row-links {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr));
	column-gap: 48px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.row-links li {
	border-bottom: 1px solid var(--wolf-line);
}

.row-link {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	min-height: 60px;
	padding: 0 4px;
	color: var(--wolf-ink);
	font-size: 18px;
	font-weight: 600;
	text-decoration: none;
	transition: background-color 0.15s;
}

.row-link:hover {
	background: var(--wolf-paper-2);
}

.row-link__arrow {
	font-family: var(--wolf-font-display);
	font-weight: 800;
}

/* The club details and the home rink on the yellow band. */
.club-info {
	padding-block: var(--wolf-section);
	background: var(--wolf-gold);
	color: var(--wolf-ink);
}

.club-info__grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(380px, 100%), 1fr));
	gap: clamp(40px, 5vw, 80px);
}

.club-info__col {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 20px;
}

.club-info__title {
	font-weight: 900;
	font-size: clamp(28px, 3vw, 44px);
	line-height: 1;
	text-transform: uppercase;
}

.club-info__list {
	display: grid;
	grid-template-columns: max-content 1fr;
	gap: 14px 28px;
	margin: 0;
	font-size: 17px;
}

.club-info__list dt {
	color: var(--wolf-ink-2);
}

.club-info__list dd {
	margin: 0;
	overflow-wrap: anywhere;
}

.club-info__email {
	display: inline-flex;
	align-items: center;
	min-height: 44px;
	margin: -12px 0;
	color: var(--wolf-ink);
	font-weight: 600;
	text-decoration: underline;
	text-underline-offset: 4px;
}

.club-info__email:hover {
	text-decoration-thickness: 2px;
}

.club-info__hall {
	font-size: 17px;
	line-height: 1.5;
}

/* On the yellow ground, the button shows its color only on hover. */
.club-info__hall-link {
	min-height: 52px;
}
