.uksda-achievements,
.uksda-achievements * {
	box-sizing: border-box;
}

.uksda-achievements {
	max-width: 1280px;
	margin: 0 auto;
	padding: 20px 0;
	color: #0f172a;
	font-family: inherit;
}

.uksda-year-section {
	margin-bottom: 58px;
}

.uksda-year-title {
	position: relative;
	margin: 0 0 26px;
	padding-bottom: 12px;
	border-bottom: 1px solid #e2e8f0;
	color: #0f172a;
	font-size: 2rem;
	font-weight: 600;
	line-height: 1.22;
	letter-spacing: 0;
}

.uksda-year-title span {
	position: absolute;
	bottom: -1px;
	left: 0;
	width: 82px;
	height: 3px;
	border-radius: 3px;
	background: var(--uksda-accent, #2563eb);
	opacity: 0.75;
}

.uksda-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
	gap: 22px;
}

.uksda-card {
	display: grid;
	grid-template-columns: 74px minmax(0, 1fr);
	min-width: 0;
	min-height: 172px;
	overflow: hidden;
	border: 1px solid #e6edf5;
	border-left: 4px solid #94a3b8;
	border-radius: 8px;
	background: #fff;
	box-shadow: 0 2px 8px rgba(15, 23, 42, 0.04);
	transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.uksda-card:hover {
	border-top-color: #cbdff5;
	border-right-color: #cbdff5;
	border-bottom-color: #cbdff5;
	box-shadow: 0 14px 28px rgba(37, 99, 235, 0.1);
	transform: translateY(-2px);
}

.uksda-card-gold {
	border-left-color: #d6a51e;
}

.uksda-card-silver {
	border-left-color: #98a2b3;
}

.uksda-card-bronze {
	border-left-color: #b76e32;
}

.uksda-card-other {
	border-left-color: #64748b;
}

.uksda-medal {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 74px;
	min-height: 100%;
	background: linear-gradient(180deg, #fbfdff 0%, #f6f9fd 100%);
	border-right: 1px solid #edf2f8;
	color: #64748b;
}

.uksda-medal .uksda-svg {
	display: block;
	width: 42px;
	height: 42px;
}

.uksda-card-gold .uksda-medal {
	color: #d6a51e;
}

.uksda-card-silver .uksda-medal {
	color: #98a2b3;
}

.uksda-card-bronze .uksda-medal {
	color: #b76e32;
}

.uksda-card-other .uksda-medal {
	color: #64748b;
}

.uksda-card-content {
	display: flex;
	flex: 1 1 auto;
	min-width: 0;
	flex-direction: column;
	align-items: flex-start;
	padding: 20px 22px 18px 20px;
}

.uksda-competition {
	display: inline-flex;
	max-width: 100%;
	margin-bottom: 20px;
	padding: 5px 12px;
	border-radius: 999px;
	background: #eef4ff;
	color: var(--uksda-accent, #2563eb);
	font-size: 0.74rem;
	font-weight: 700;
	line-height: 1.35;
	text-transform: uppercase;
	overflow-wrap: anywhere;
}

.uksda-card-title {
	margin: 0 0 8px;
	color: #0f172a;
	font-size: 1.08rem;
	font-weight: 700;
	line-height: 1.35;
	letter-spacing: 0;
	overflow-wrap: anywhere;
}

.uksda-athlete {
	margin: 0 0 14px;
	color: #1e3a8a;
	font-size: 1.12rem;
	font-weight: 700;
	line-height: 1.32;
	overflow-wrap: anywhere;
}

.uksda-date {
	display: flex;
	align-items: center;
	gap: 7px;
	margin-top: auto;
	color: #64748b;
	font-size: 0.87rem;
	line-height: 1.4;
}

.uksda-svg {
	width: 1em;
	height: 1em;
	flex: 0 0 auto;
	fill: none;
	stroke: currentColor;
	stroke-width: 2;
	stroke-linecap: round;
	stroke-linejoin: round;
}

.uksda-svg-award {
	stroke: none;
}

.uksda-award-medal,
.uksda-award-ribbon {
	fill: currentColor;
}

.uksda-award-ribbon {
	opacity: 0.35;
}

.uksda-award-ring,
.uksda-award-shine {
	fill: none;
	stroke: #fff;
	stroke-linecap: round;
	stroke-linejoin: round;
	stroke-width: 1.65;
}

.uksda-date .uksda-svg {
	width: 0.88rem;
	height: 0.88rem;
	color: var(--uksda-accent, #2563eb);
	stroke-width: 2.2;
}

.uksda-empty {
	padding: 52px 32px;
	border: 1px dashed #cbd5e1;
	border-radius: 8px;
	background: #f8fafc;
	text-align: center;
}

.uksda-empty-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 74px;
	height: 74px;
	margin-bottom: 20px;
	border-radius: 50%;
	background: #eef4ff;
	color: var(--uksda-accent, #2563eb);
}

.uksda-empty-icon .uksda-svg {
	width: 36px;
	height: 36px;
}

.uksda-empty h3 {
	margin: 0 0 10px;
	color: #0f172a;
	font-size: 1.45rem;
	font-weight: 700;
	line-height: 1.25;
}

.uksda-empty p {
	max-width: 560px;
	margin: 0 auto;
	color: #64748b;
	font-size: 1rem;
	line-height: 1.55;
}

.uksda-back-wrap {
	display: flex;
	justify-content: center;
	margin-top: 56px;
}

.uksda-back-to-top {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 9px;
	min-height: 46px;
	padding: 0 26px;
	border: 0;
	border-radius: 999px;
	background: var(--uksda-accent, #2563eb);
	color: #fff;
	cursor: pointer;
	font: inherit;
	font-size: 0.95rem;
	font-weight: 700;
	line-height: 1;
	transition: background-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.uksda-back-to-top:hover,
.uksda-back-to-top:focus-visible {
	background: #1d4ed8;
	box-shadow: 0 12px 24px rgba(37, 99, 235, 0.22);
	outline: none;
	transform: translateY(-2px);
}

.uksda-back-to-top .uksda-svg {
	width: 1rem;
	height: 1rem;
}

@media (max-width: 980px) {
	.uksda-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 760px) {
	.uksda-year-section {
		margin-bottom: 44px;
	}

	.uksda-year-title {
		font-size: 1.75rem;
	}

	.uksda-grid {
		grid-template-columns: 1fr;
		gap: 16px;
	}

	.uksda-card {
		min-height: 158px;
	}
}

@media (max-width: 480px) {
	.uksda-achievements {
		padding: 16px 0;
	}

	.uksda-card {
		grid-template-columns: 62px minmax(0, 1fr);
		min-height: 0;
	}

	.uksda-medal {
		width: 62px;
	}

	.uksda-medal .uksda-svg {
		width: 36px;
		height: 36px;
	}

	.uksda-card-content {
		padding: 17px 16px 16px 16px;
	}

	.uksda-competition {
		margin-bottom: 15px;
		font-size: 0.7rem;
	}

	.uksda-card-title {
		font-size: 1rem;
	}

	.uksda-athlete {
		font-size: 1.04rem;
	}
}
