/*
 * Providence Capitals alumni directory.
 * Selectors use two classes so they outrank Beaver Builder and theme rules such as
 * ".fl-builder-content h2" and "button:hover".
 */

.pca {
	--pca-black: #0a0a0a;
	--pca-panel: #121212;
	--pca-line: #2a2a2a;
	--pca-gold: #bc9214;
	--pca-gold-bright: #d3af37;
	--pca-gold-deep: #6b5415;
	--pca-gold-text: #7f620a;
	--pca-paper: #f2f2f2;
	--pca-ink: #111111;
	--pca-muted: #5c5c5c;
	--pca-muted-dark: #a3a3a3;
	--pca-display: termina, Verdana, Arial, sans-serif;
	--pca-body: Manrope, system-ui, -apple-system, "Segoe UI", sans-serif;
	--pca-sticky-top: 24px;
	--pca-year-col: 200px;

	font-family: var(--pca-body);
	color: var(--pca-ink);
	background: var(--pca-paper);
	line-height: 1.4;
	text-align: left;
}

.pca *,
.pca *::before,
.pca *::after {
	box-sizing: border-box;
}

.pca [hidden],
.pca-no-js .pca-js-only {
	display: none !important;
}

/* Reset theme button styles on every control we draw. */
.pca :is(.pca-sb, .pca-yr, .pca-pill, .pca-chip, .pca-btn, .pca-linkbtn) {
	margin: 0;
	font: inherit;
	line-height: 1.2;
	text-transform: none;
	letter-spacing: normal;
	text-shadow: none;
	box-shadow: none;
	min-height: 0;
	width: auto;
	cursor: pointer;
	-webkit-appearance: none;
	appearance: none;
}

.pca :is(button, input, select):focus-visible {
	outline: 3px solid var(--pca-gold-bright);
	outline-offset: 2px;
}

.pca .pca-visually-hidden,
.pca .pca-m-lbl {
	position: absolute !important;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip: rect(0 0 0 0);
	white-space: nowrap;
	border: 0;
	padding: 0;
	margin: -1px;
}

.pca .pca-icon {
	width: 18px;
	height: 18px;
	fill: none;
	stroke: currentColor;
	stroke-width: 2.25;
	stroke-linecap: round;
	stroke-linejoin: round;
	flex: none;
}

/* ---------- Black band ---------- */

.pca .pca-band {
	position: relative;
	overflow: hidden;
	color: #fff;
	background-color: var(--pca-black);
	background-image: repeating-linear-gradient(135deg, rgba(255, 255, 255, 0.028) 0, rgba(255, 255, 255, 0.028) 2px, transparent 2px, transparent 11px);
	border-bottom: 4px solid var(--pca-gold);
}

.pca .pca-rink {
	position: absolute;
	right: -110px;
	top: -120px;
	width: 520px;
	height: 520px;
	pointer-events: none;
}

.pca .pca-rink circle,
.pca .pca-rink path {
	fill: none;
	stroke: rgba(211, 175, 55, 0.16);
	stroke-width: 4;
}

.pca .pca-rink .pca-rink__dot {
	fill: rgba(211, 175, 55, 0.16);
	stroke: none;
}

.pca .pca-band__inner {
	position: relative;
	max-width: 1200px;
	margin: 0 auto;
	padding: clamp(40px, 6vw, 72px) clamp(16px, 4vw, 40px) 0;
	display: flex;
	flex-direction: column;
	gap: 40px;
}

.pca .pca-intro {
	display: flex;
	flex-wrap: wrap;
	gap: 32px;
	justify-content: space-between;
	align-items: flex-end;
}

.pca .pca-intro__text {
	flex: 1 1 520px;
	min-width: 0;
	display: flex;
	flex-direction: column;
	gap: 16px;
}

.pca .pca-eyebrow {
	margin: 0;
	font-family: var(--pca-display);
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--pca-gold-bright);
}

.pca .pca-heading {
	margin: 0;
	padding: 0;
	font-family: var(--pca-display);
	font-size: clamp(30px, 4.4vw, 52px);
	font-weight: 700;
	line-height: 1.02;
	text-transform: uppercase;
	color: #fff;
}

.pca .pca-lede {
	margin: 0;
	max-width: 560px;
	font-size: 17px;
	line-height: 1.55;
	color: #cfcfcf;
}

.pca .pca-label {
	margin: 0;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--pca-muted-dark);
}

.pca .pca-search {
	flex: 0 1 380px;
	min-width: 0;
	display: flex;
	flex-direction: column;
	gap: 8px;
}

.pca .pca-search__field {
	position: relative;
	display: flex;
	align-items: center;
}

.pca .pca-search__icon {
	position: absolute;
	left: 16px;
	color: var(--pca-gold-bright);
	pointer-events: none;
}

.pca .pca-search__input {
	width: 100%;
	height: 52px;
	margin: 0;
	padding: 0 16px 0 46px;
	border: 1px solid #3a3a3a;
	border-radius: 4px;
	background: #141414;
	color: #fff;
	font-family: var(--pca-body);
	font-size: 16px;
	font-weight: 600;
	box-shadow: none;
}

.pca .pca-search__input::placeholder {
	color: #8a8a8a;
	opacity: 1;
}

.pca .pca-search__input::-webkit-search-cancel-button {
	-webkit-appearance: none;
}

/* Level scoreboard */

.pca .pca-levels {
	display: flex;
	flex-direction: column;
	gap: 12px;
}

/* Flex rather than grid so a short last row stretches instead of leaving empty cells. */
.pca .pca-scoreboard {
	display: flex;
	flex-wrap: wrap;
	gap: 1px;
	background: var(--pca-line);
	border: 1px solid var(--pca-line);
	border-radius: 4px;
	overflow: hidden;
}

.pca .pca-sb {
	flex: 1 1 100px;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	gap: 10px;
	min-height: 100px;
	padding: 14px 16px 16px;
	border: 0;
	border-radius: 0;
	background: var(--pca-panel);
	color: #fff;
	text-align: left;
	transition: background-color 0.15s;
}

.pca .pca-sb:hover {
	background: #1e1e1e;
	color: #fff;
}

.pca .pca-sb.is-on {
	background: var(--pca-gold);
	color: var(--pca-black);
}

.pca .pca-sb__top {
	display: flex;
	align-items: center;
	min-height: 28px;
}

.pca .pca-sb__label {
	font-size: 11px;
	font-weight: 800;
	letter-spacing: 0.08em;
	line-height: 1.25;
	text-transform: uppercase;
	color: var(--pca-muted-dark);
}

.pca .pca-sb.is-on .pca-sb__label {
	color: var(--pca-black);
}

.pca .pca-sb__logos {
	display: flex;
	align-items: center;
	gap: 10px;
}

.pca .pca-sb__logo {
	display: block;
	width: auto;
	max-width: 64px;
	height: 28px;
	object-fit: contain;
}

.pca .pca-sb__count {
	font-family: var(--pca-display);
	font-size: 32px;
	font-weight: 700;
	line-height: 1;
	font-variant-numeric: tabular-nums;
}

/* Birth-year rail */

.pca .pca-years {
	display: flex;
	flex-direction: column;
	gap: 14px;
	padding-bottom: 28px;
}

.pca .pca-years__head {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	justify-content: space-between;
	align-items: center;
}

.pca .pca-years__status {
	margin-left: 8px;
	color: #fff;
}

.pca .pca-years__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

.pca .pca-pill {
	height: 36px;
	padding: 0 16px;
	border: 1px solid #3a3a3a;
	border-radius: 999px;
	background: transparent;
	color: #fff;
	font-size: 13px;
	font-weight: 700;
	transition: background-color 0.15s, border-color 0.15s;
}

.pca .pca-pill:hover {
	border-color: var(--pca-gold-bright);
	background: transparent;
	color: #fff;
}

.pca .pca-pill.is-on {
	background: var(--pca-gold-bright);
	border-color: var(--pca-gold-bright);
	color: var(--pca-black);
}

.pca .pca-rail {
	display: flex;
	gap: 5px;
	align-items: flex-end;
	min-height: 128px;
	padding: 4px 2px 6px;
	overflow-x: auto;
	scrollbar-width: thin;
}

.pca .pca-yr {
	flex: 1 0 30px;
	min-width: 30px;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: flex-end;
	gap: 6px;
	padding: 0;
	border: 0;
	border-radius: 0;
	background: transparent;
	color: var(--pca-muted-dark);
}

.pca .pca-yr:hover,
.pca .pca-yr:focus {
	background: transparent;
	color: var(--pca-muted-dark);
}

.pca .pca-yr:disabled {
	cursor: default;
	opacity: 0.4;
}

.pca .pca-yr__ct {
	min-height: 14px;
	font-size: 11px;
	font-weight: 700;
	color: #8a8a8a;
	font-variant-numeric: tabular-nums;
}

.pca .pca-yr__bar {
	display: block;
	width: 100%;
	max-width: 30px;
	border-radius: 2px 2px 0 0;
	background: var(--pca-gold-deep);
	transition: height 0.3s ease, background-color 0.15s;
}

.pca .pca-yr:not(:disabled):hover .pca-yr__bar {
	background: var(--pca-gold);
}

.pca .pca-yr__lbl {
	width: 100%;
	padding-top: 6px;
	border-top: 2px solid var(--pca-line);
	font-family: var(--pca-display);
	font-size: 11px;
	font-weight: 700;
	text-align: center;
}

.pca .pca-yr.is-on .pca-yr__bar {
	background: var(--pca-gold-bright);
}

.pca .pca-yr.is-on .pca-yr__lbl {
	color: var(--pca-gold-bright);
	border-top-color: var(--pca-gold-bright);
}

.pca .pca-yr.is-on .pca-yr__ct {
	color: #fff;
}

/* ---------- Results ---------- */

.pca .pca-results {
	max-width: 1200px;
	margin: 0 auto;
	padding: 40px clamp(16px, 4vw, 40px) 96px;
	display: flex;
	flex-direction: column;
	gap: 40px;
}

.pca .pca-toolbar {
	display: flex;
	flex-wrap: wrap;
	gap: 16px;
	justify-content: space-between;
	align-items: center;
}

.pca .pca-toolbar__status {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	align-items: center;
	min-width: 0;
}

.pca .pca-count {
	margin: 0 8px 0 0;
	font-family: var(--pca-display);
	font-size: 16px;
	font-weight: 700;
	text-transform: uppercase;
	color: var(--pca-black);
}

.pca .pca-count:focus {
	outline: none;
}

.pca .pca-chips {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	align-items: center;
}

.pca .pca-chip {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	height: 34px;
	padding: 0 10px 0 14px;
	border: 1px solid #d4d4d4;
	border-radius: 999px;
	background: #fff;
	color: var(--pca-ink);
	font-size: 13px;
	font-weight: 700;
}

.pca .pca-chip:hover {
	border-color: var(--pca-ink);
	background: #fff;
	color: var(--pca-ink);
}

.pca .pca-chip .pca-icon {
	width: 14px;
	height: 14px;
}

.pca .pca-linkbtn {
	padding: 6px 4px;
	border: 0;
	background: none;
	color: var(--pca-gold-text);
	font-size: 13px;
	font-weight: 700;
	text-decoration: underline;
	text-underline-offset: 3px;
}

.pca .pca-linkbtn:hover {
	background: none;
	color: var(--pca-black);
}

.pca .pca-sort {
	display: flex;
	align-items: center;
	gap: 10px;
}

.pca .pca-sort__label {
	margin: 0;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--pca-muted);
}

.pca .pca-select {
	position: relative;
	display: flex;
	align-items: center;
}

.pca .pca-select__input {
	height: 42px;
	margin: 0;
	padding: 0 40px 0 14px;
	border: 1px solid #cfcfcf;
	border-radius: 4px;
	background: #fff;
	color: var(--pca-ink);
	font-family: var(--pca-body);
	font-size: 14px;
	font-weight: 700;
	-webkit-appearance: none;
	appearance: none;
}

.pca .pca-select__icon {
	position: absolute;
	right: 12px;
	width: 16px;
	height: 16px;
	pointer-events: none;
}

.pca .pca-btn {
	height: 54px;
	padding: 0 30px;
	border: 0;
	border-radius: 4px;
	background: var(--pca-black);
	color: #fff;
	font-family: var(--pca-display);
	font-size: 13px;
	font-weight: 700;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	transition: background-color 0.15s;
}

.pca .pca-btn:hover {
	background: #2a2a2a;
	color: #fff;
}

.pca .pca-empty {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 16px;
	padding: 56px 24px;
	border-radius: 4px;
	background: #fff;
	text-align: center;
}

.pca .pca-empty__title {
	margin: 0;
	font-family: var(--pca-display);
	font-size: 20px;
	font-weight: 700;
	text-transform: uppercase;
}

.pca .pca-empty__text {
	margin: 0;
	font-size: 15px;
	color: var(--pca-muted);
}

.pca .pca-more {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 10px;
}

.pca .pca-more__note {
	margin: 0;
	font-size: 13px;
	font-weight: 600;
	color: var(--pca-muted);
}

/* Timeline: a spine with one stop per birth year, roster list beside it. */

.pca .pca-timeline {
	display: flex;
	flex-direction: column;
}

.pca .pca-colheads,
.pca .pca-group {
	display: grid;
	grid-template-columns: var(--pca-year-col) minmax(0, 1fr);
	column-gap: 36px;
}

.pca .pca-group__year {
	position: relative;
	padding: 28px 30px 28px 0;
	border-right: 3px solid #d4d4d4;
}

.pca .pca-colheads .pca-group__year {
	padding: 0;
	border-right-color: transparent;
}

.pca .pca-group__sticky {
	position: sticky;
	top: var(--pca-sticky-top);
	display: flex;
	flex-direction: column;
	align-items: flex-end;
	gap: 6px;
	text-align: right;
}

.pca .pca-node {
	position: absolute;
	top: 30px;
	right: -40px;
	width: 17px;
	height: 17px;
	border-radius: 50%;
	background: var(--pca-gold);
	box-shadow: 0 0 0 5px var(--pca-paper);
}

.pca .pca-group__eyebrow {
	margin: 0;
	font-size: 11px;
	font-weight: 800;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--pca-gold-text);
}

.pca .pca-group__title {
	margin: 0;
	padding: 0;
	font-family: var(--pca-display);
	font-size: 44px;
	font-weight: 700;
	line-height: 0.95;
	text-transform: uppercase;
	color: var(--pca-black);
}

.pca .pca-group__title.is-text {
	font-size: 22px;
	line-height: 1.1;
}

.pca .pca-group__count {
	margin: 6px 0 0;
	font-size: 14px;
	font-weight: 800;
	color: var(--pca-ink);
}

.pca .pca-group__detail {
	margin: 0;
	font-size: 13px;
	font-weight: 600;
	line-height: 1.4;
	color: var(--pca-muted);
}

.pca .pca-list {
	margin: 20px 0;
	padding: 0;
	list-style: none;
	border-radius: 4px;
	background: #fff;
	overflow: hidden;
}

.pca .pca-row-grid {
	display: grid;
	grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr) minmax(0, 1fr);
	gap: 6px 24px;
	align-items: center;
	padding: 15px 22px;
}

.pca .pca-colheads__grid {
	padding-top: 0;
	padding-bottom: 10px;
}

.pca .pca-colheads__grid span {
	font-size: 11px;
	font-weight: 800;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--pca-muted);
}

.pca .pca-row {
	margin: 0;
	box-shadow: inset 0 1px 0 #ededed;
	list-style: none;
}

.pca .pca-row::before,
.pca .pca-row::marker {
	content: none;
}

.pca .pca-row.is-nhl {
	background: #fbf5e2;
}

.pca .pca-cell {
	min-width: 0;
	font-size: 14px;
	font-weight: 600;
	line-height: 1.4;
	color: var(--pca-ink);
}

.pca .pca-cell--player {
	display: flex;
	flex-direction: column;
	gap: 3px;
}

.pca .pca-name-line {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	gap: 4px 10px;
}

.pca .pca-name {
	font-family: var(--pca-display);
	font-size: 13px;
	font-weight: 700;
	line-height: 1.3;
	letter-spacing: 0.01em;
	text-transform: uppercase;
	color: var(--pca-black);
}

.pca .pca-row__year {
	display: none;
	font-family: var(--pca-display);
	font-size: 12px;
	font-weight: 700;
	color: var(--pca-gold-text);
}

.pca .pca-note {
	font-size: 12px;
	font-weight: 500;
	line-height: 1.4;
	color: var(--pca-muted);
}

.pca .pca-pro {
	display: inline-flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 4px 10px;
}

.pca .pca-league {
	display: inline-flex;
	align-items: center;
}

.pca .pca-league__logo {
	display: block;
	width: auto;
	max-width: 56px;
	height: 24px;
	object-fit: contain;
}

.pca .pca-badge {
	display: inline-block;
	padding: 3px 6px 2px;
	border-radius: 3px;
	font-family: var(--pca-display);
	font-size: 10px;
	font-weight: 700;
	letter-spacing: 0.04em;
	line-height: 1.3;
	text-transform: uppercase;
	background: #e6e6e6;
	color: #333;
}

.pca .pca-badge--nhl {
	background: var(--pca-gold);
	color: var(--pca-black);
}

.pca .pca-badge--ahl {
	background: var(--pca-ink);
	color: #fff;
}

.pca .pca-badge--minor {
	background: transparent;
	color: var(--pca-ink);
	box-shadow: inset 0 0 0 1.5px var(--pca-ink);
}

.pca .pca-tag-committed {
	display: inline-block;
	padding: 4px 8px 3px;
	border-radius: 3px;
	box-shadow: inset 0 0 0 1.5px var(--pca-gold);
	color: var(--pca-gold-text);
	font-family: var(--pca-display);
	font-size: 10px;
	font-weight: 700;
	letter-spacing: 0.06em;
	line-height: 1.3;
	text-transform: uppercase;
}

.pca .pca-role {
	display: block;
	color: var(--pca-muted);
}

.pca .pca-pro + .pca-role {
	margin-top: 4px;
}

/* A to Z: one flat list, no timeline. */

.pca .pca-timeline.is-flat .pca-group {
	display: none;
}

.pca .pca-timeline.is-flat .pca-colheads {
	grid-template-columns: minmax(0, 1fr);
}

.pca .pca-timeline.is-flat .pca-colheads .pca-group__year {
	display: none;
}

.pca .pca-timeline.is-flat .pca-list--flat {
	margin: 0;
}

.pca .pca-timeline.is-flat .pca-row__year {
	display: inline;
}

/* ---------- Phone ---------- */

@media (max-width: 760px) {
	.pca .pca-rink {
		width: 300px;
		height: 300px;
		right: -150px;
		top: -110px;
	}

	.pca .pca-sb[data-pca-level="all"] {
		flex-basis: 100%;
	}

	.pca .pca-colheads {
		display: none;
	}

	.pca .pca-group {
		grid-template-columns: minmax(0, 1fr);
	}

	.pca .pca-group__year {
		padding: 32px 0 0;
		border-right: 0;
	}

	.pca .pca-group__sticky {
		position: static;
		flex-direction: row;
		flex-wrap: wrap;
		align-items: baseline;
		gap: 4px 14px;
		text-align: left;
	}

	.pca .pca-node {
		display: none;
	}

	.pca .pca-group__title {
		font-size: 36px;
	}

	.pca .pca-list {
		margin: 14px 0 0;
	}

	.pca .pca-row-grid {
		grid-template-columns: minmax(0, 1fr);
		gap: 4px;
		padding: 14px 18px;
	}

	.pca .pca-cell.is-empty {
		display: none;
	}

	.pca .pca-m-lbl {
		position: static !important;
		width: auto;
		height: auto;
		overflow: visible;
		clip: auto;
		margin: 0 8px 0 0;
		white-space: normal;
		font-size: 10px;
		font-weight: 800;
		letter-spacing: 0.08em;
		text-transform: uppercase;
		color: var(--pca-muted);
	}

	.pca .pca-sort {
		width: 100%;
	}

	.pca .pca-select,
	.pca .pca-select__input {
		flex: 1;
		width: 100%;
	}
}

@media (prefers-reduced-motion: reduce) {
	.pca * {
		transition: none !important;
	}
}
