.irish-athlete-page,
.irish-athletes-directory,
.irish-ranking-wrap,
.irish-rating-rules,
.irish-progress-scroll {
	--irish-athlete-ink: #171815;
	--irish-athlete-muted: #646a65;
	--irish-athlete-green: #176b4a;
	--irish-athlete-green-dark: #105a3d;
	--irish-athlete-green-soft: #e8f2ec;
	--irish-athlete-line: #d8ded9;
	--irish-athlete-surface: #fff;
	color: var(--irish-athlete-ink);
	font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

body.single-irish_athlete {
	display: flex;
	flex-direction: column;
	min-height: 100vh;
}

body.single-irish_athlete > #content {
	flex: 1 0 auto;
}

body.single-irish_athlete > footer,
body.single-irish_athlete > .elementor-location-footer,
body.single-irish_athlete > [data-elementor-type="footer"] {
	margin-top: auto;
}

.irish-athlete-page {
	min-height: 75vh;
	background: #fff;
}

.irish-athlete-page__inner {
	box-sizing: border-box;
	width: 78%;
	margin: 0 auto;
}

.irish-athlete-profile-header {
	padding: clamp(30px, 5vw, 64px) 0;
	border-bottom: 1px solid var(--irish-athlete-line);
	background: #f5f7f5;
}

.irish-athlete-breadcrumbs {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 7px;
	margin-bottom: 28px;
	color: var(--irish-athlete-muted);
	font-size: 13px;
	font-weight: 650;
	line-height: 1.4;
}

.irish-athlete-breadcrumbs a {
	color: inherit !important;
	text-decoration: none;
}

.irish-athlete-breadcrumbs a:hover,
.irish-athlete-breadcrumbs a:focus-visible {
	color: var(--irish-athlete-green) !important;
}

.irish-athlete-breadcrumbs span[aria-hidden="true"] {
	opacity: 0.5;
}

.irish-athlete-profile {
	display: grid;
	grid-template-columns: minmax(170px, 230px) minmax(0, 1fr);
	align-items: center;
	gap: clamp(28px, 5vw, 72px);
}

.irish-athlete-profile__photo {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	aspect-ratio: 4 / 5;
	overflow: hidden;
	border-radius: 6px;
	background: var(--irish-athlete-green-soft);
	color: var(--irish-athlete-green);
	font-size: 64px;
	font-weight: 800;
}

.irish-athlete-profile__photo img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.irish-athlete-profile__identity > p,
.irish-athlete-section-heading > div > p {
	margin: 0 0 8px;
	color: var(--irish-athlete-green);
	font-size: 12px;
	font-weight: 800;
	letter-spacing: 0;
	text-transform: uppercase;
}

.irish-athlete-profile h1 {
	margin: 0;
	color: var(--irish-athlete-ink);
	font-size: 60px;
	font-weight: 800;
	line-height: 1.04;
	letter-spacing: 0;
	overflow-wrap: anywhere;
}

.irish-athlete-profile__stats {
	display: flex;
	align-items: stretch;
	gap: 0;
	margin-top: 28px;
}

.irish-athlete-profile__stats > div {
	display: flex;
	flex-direction: column;
	min-width: 130px;
	padding: 0 28px;
	border-left: 1px solid var(--irish-athlete-line);
}

.irish-athlete-profile__stats > div:first-child {
	padding-left: 0;
	border-left: 0;
}

.irish-athlete-profile__stats strong {
	font-size: 28px;
	line-height: 1.1;
}

.irish-athlete-profile__stats span {
	margin-top: 4px;
	color: var(--irish-athlete-muted);
	font-size: 13px;
}

.irish-athlete-page__content {
	padding-top: clamp(38px, 6vw, 78px);
	padding-bottom: clamp(52px, 8vw, 100px);
}

.irish-athlete-section-heading {
	display: flex;
	align-items: flex-end;
	justify-content: flex-start;
	gap: 32px;
	margin-bottom: 22px;
}

.irish-athlete-section-heading h2,
.irish-athlete-description h2 {
	margin: 0;
	font-size: 40px;
	line-height: 1.1;
	letter-spacing: 0;
}

.irish-progress-scroll {
	width: 100%;
	overflow-x: auto;
	border: 1px solid var(--irish-athlete-line);
	-webkit-overflow-scrolling: touch;
}

.irish-progress-table {
	width: 100%;
	min-width: 940px;
	border: 0;
	border-collapse: collapse;
	background: var(--irish-athlete-surface);
	table-layout: fixed;
}

.irish-progress-table th,
.irish-progress-table td {
	box-sizing: border-box;
	border: 1px solid var(--irish-athlete-line);
	color: var(--irish-athlete-ink);
	text-align: center;
}

.irish-progress-table tr:first-child th {
	border-top: 0;
}

.irish-progress-table th:first-child,
.irish-progress-table td:first-child {
	border-left: 0;
}

.irish-progress-table th:last-child,
.irish-progress-table td:last-child {
	border-right: 0;
}

.irish-progress-table tr:last-child th,
.irish-progress-table tr:last-child td {
	border-bottom: 0;
}

.irish-progress-level > th {
	height: 48px;
	padding: 9px 10px;
	background: #f6f7f6;
	color: var(--irish-athlete-muted);
	font-size: 12px;
	font-weight: 750;
	line-height: 1.25;
}

.irish-progress-level > th:first-child {
	width: 160px;
	background: #fff;
	color: var(--irish-athlete-ink);
	font-size: 14px;
	text-align: left;
	vertical-align: middle;
}

.irish-progress-points td {
	height: 60px;
	padding: 6px;
}

.irish-progress-points td.is-passed {
	background: var(--irish-athlete-green-soft);
}

.irish-score-status {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 9px;
	width: 100%;
	min-height: 38px;
}

.irish-score-status__box {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 22px;
	height: 22px;
	box-sizing: border-box;
	border: 2px solid #a6aea8;
	border-radius: 4px;
	background: #fff;
	color: #fff;
	font-size: 14px;
	font-weight: 800;
	line-height: 1;
}

.irish-score-status.is-passed .irish-score-status__box {
	border-color: var(--irish-athlete-green);
	background: var(--irish-athlete-green);
}

.irish-score-status__points {
	min-width: 18px;
	font-size: 14px;
	font-weight: 750;
}

.irish-athlete-description {
	display: grid;
	grid-template-columns: minmax(210px, 0.35fr) minmax(0, 0.65fr);
	gap: clamp(30px, 6vw, 90px);
	margin-top: clamp(50px, 8vw, 100px);
	padding-top: clamp(36px, 5vw, 64px);
	border-top: 1px solid var(--irish-athlete-line);
}

.irish-athlete-description__content {
	color: var(--irish-athlete-muted);
	font-size: 16px;
	line-height: 1.75;
}

.irish-athlete-description__content > :first-child {
	margin-top: 0;
}

.irish-athletes-grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 22px;
}

.irish-athlete-card {
	min-width: 0;
	overflow: hidden;
	border: 1px solid var(--irish-athlete-line);
	border-radius: 6px;
	background: #fff;
}

.irish-athlete-card__link {
	display: block;
	height: 100%;
	color: var(--irish-athlete-ink) !important;
	text-decoration: none !important;
}

.irish-athlete-card__media {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	aspect-ratio: 4 / 5;
	overflow: hidden;
	background: var(--irish-athlete-green-soft);
	color: var(--irish-athlete-green);
	font-size: 48px;
	font-weight: 800;
}

.irish-athlete-card__media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 220ms cubic-bezier(0.23, 1, 0.32, 1);
}

.irish-athlete-card__link:hover .irish-athlete-card__media img {
	transform: scale(1.025);
}

.irish-athlete-card__body {
	padding: 16px;
}

.irish-athlete-card__body h2 {
	margin: 0;
	color: var(--irish-athlete-ink);
	font-size: 19px;
	line-height: 1.25;
	letter-spacing: 0;
	overflow-wrap: anywhere;
}

.irish-athlete-card__body > div {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	margin-top: 12px;
	color: var(--irish-athlete-muted);
	font-size: 13px;
}

.irish-athlete-card__body strong {
	color: var(--irish-athlete-green);
	white-space: nowrap;
}

.irish-ranking-wrap {
	width: 100%;
	overflow-x: auto;
	border: 1px solid var(--irish-athlete-line);
	background: #fff;
}

.irish-ranking-table {
	width: 100%;
	min-width: 620px;
	border-collapse: collapse;
}

.irish-ranking-table th,
.irish-ranking-table td {
	padding: 13px 18px;
	border-bottom: 1px solid var(--irish-athlete-line);
	color: var(--irish-athlete-ink);
	text-align: left;
	vertical-align: middle;
}

.irish-ranking-table tbody tr:last-child td {
	border-bottom: 0;
}

.irish-ranking-table th {
	background: #f6f7f6;
	color: var(--irish-athlete-muted);
	font-size: 12px;
	font-weight: 750;
	text-transform: uppercase;
}

.irish-ranking-table__place {
	width: 72px;
	font-size: 19px;
	font-weight: 800;
}

.irish-ranking-table__score {
	width: 90px;
	color: var(--irish-athlete-green) !important;
	font-size: 19px;
	font-weight: 800;
}

.irish-ranking-athlete {
	display: inline-flex;
	align-items: center;
	gap: 12px;
	color: var(--irish-athlete-ink) !important;
	text-decoration: none !important;
}

.irish-ranking-athlete__photo {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	flex: 0 0 44px;
	overflow: hidden;
	border-radius: 50%;
	background: var(--irish-athlete-green-soft);
	color: var(--irish-athlete-green);
	font-weight: 800;
}

.irish-ranking-athlete__photo img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.irish-athlete-empty {
	margin: 0;
	padding: 24px;
	color: var(--irish-athlete-muted);
	text-align: center;
}

.irish-rules-table .irish-progress-points td {
	font-size: 16px;
}

@media (max-width: 1100px) {
	.irish-athletes-grid {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}
}

@media (max-width: 800px) {
	.irish-athlete-page__inner {
		width: calc(100% - 36px);
	}

	.irish-athlete-profile {
		grid-template-columns: minmax(130px, 180px) minmax(0, 1fr);
		gap: 24px;
	}

	.irish-athlete-profile h1 {
		font-size: 44px;
	}

	.irish-athlete-section-heading h2,
	.irish-athlete-description h2 {
		font-size: 32px;
	}

	.irish-athletes-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 560px) {
	.irish-athlete-profile {
		grid-template-columns: 110px minmax(0, 1fr);
		align-items: start;
	}

	.irish-athlete-profile h1 {
		font-size: 34px;
	}

	.irish-athlete-profile__stats {
		flex-direction: column;
		gap: 12px;
		margin-top: 20px;
	}

	.irish-athlete-profile__stats > div,
	.irish-athlete-profile__stats > div:first-child {
		min-width: 0;
		padding: 0;
		border: 0;
	}

	.irish-athlete-profile__stats strong {
		font-size: 22px;
	}

	.irish-athlete-section-heading,
	.irish-athlete-description {
		display: block;
	}

	.irish-athlete-section-heading h2,
	.irish-athlete-description h2 {
		font-size: 28px;
	}

	.irish-athlete-description__content {
		margin-top: 24px;
	}

	.irish-athletes-grid {
		grid-template-columns: 1fr;
	}
}
