/* Podstrony — layout zgodny z projektem Zawody */

.k37-subpage .k37-main {
	padding-top: 0;
}

/* Stała szerokość treści (spójna ze stroną główną — patrz .k37-container) */
.k37-subpage__content {
	width: 100%;
	max-width: var(--k37-content-width);
	margin-inline: auto;
	padding-inline: clamp(1rem, 3vw, 1.25rem);
	box-sizing: border-box;
}

.k37-subpage__content {
	position: relative;
}

/* Nagłówek podstron — sticky w main.css (.k37-header fixed) */

/* ========== SUB HERO ========== */
.k37-sub-hero {
	position: relative;
	min-height: clamp(320px, 42vh, 480px);
	display: flex;
	align-items: flex-end;
	overflow: hidden;
}

.k37-sub-hero__bg {
	position: absolute;
	inset: 0;
	background: var(--k37-bg) var(--k37-sub-hero-bg, none) center / cover no-repeat;
}

.k37-sub-hero__overlay {
	position: absolute;
	inset: 0;
	background: linear-gradient(180deg, rgba(5, 12, 23, 0.55) 0%, rgba(5, 12, 23, 0.88) 75%, var(--k37-bg) 100%);
}

/* Hero z obrazkiem wyróżniającym wpisu */
.k37-sub-hero--featured .k37-sub-hero__overlay {
	background:
		linear-gradient(105deg, rgba(5, 12, 23, 0.92) 0%, rgba(5, 12, 23, 0.45) 48%, rgba(5, 12, 23, 0.72) 100%),
		linear-gradient(180deg, rgba(5, 12, 23, 0.25) 0%, rgba(5, 12, 23, 0.92) 82%, var(--k37-bg) 100%);
}

.k37-sub-hero--featured .k37-sub-hero__title {
	text-shadow: 0 2px 24px rgba(0, 0, 0, 0.45);
}

.k37-sub-hero__inner {
	position: relative;
	z-index: 2;
	width: 100%;
	padding: calc(var(--k37-header-h) + 1.5rem) clamp(1rem, 3vw, 1.25rem) 2.5rem;
}

.k37-breadcrumbs__list {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.35rem 0.5rem;
	list-style: none;
	margin: 0 0 1rem;
	padding: 0;
	font-size: 0.78rem;
}

.k37-breadcrumbs__item {
	display: inline-flex;
	align-items: center;
	color: var(--k37-muted);
}

.k37-breadcrumbs__item:not(:last-child)::after {
	content: "›";
	margin-left: 0.5rem;
	opacity: 0.6;
}

.k37-breadcrumbs__item a {
	color: var(--k37-blue-bright);
}

.k37-breadcrumbs__item span[aria-current] {
	color: var(--k37-white);
}

.k37-sub-hero__title {
	margin: 0 0 0.65rem;
	font-size: clamp(1.75rem, 4vw, 2.75rem);
	font-weight: 800;
	text-transform: uppercase;
	letter-spacing: 0.04em;
	line-height: 1.1;
}

.k37-sub-hero__lead {
	margin: 0 0 1.5rem;
	max-width: 52ch;
	color: rgba(244, 248, 252, 0.78);
	font-size: 0.95rem;
	line-height: 1.6;
}

.k37-sub-hero__stats {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 0.75rem;
}

.k37-stat {
	display: flex;
	align-items: center;
	gap: 0.65rem;
	padding: 0.85rem 1rem;
	background: rgba(10, 25, 47, 0.65);
	border: 1px solid var(--k37-border);
	border-radius: var(--k37-radius);
	backdrop-filter: blur(6px);
}

.k37-stat__icon {
	display: flex;
	color: var(--k37-blue-bright);
}

.k37-stat__icon .k37-svg-icon {
	width: 28px;
	height: 28px;
}

.k37-stat__value {
	display: block;
	font-size: 1.35rem;
	font-weight: 800;
	line-height: 1.1;
	color: var(--k37-white);
}

.k37-stat__label {
	display: block;
	font-size: 0.68rem;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.05em;
	color: var(--k37-muted);
}

/* ========== CATEGORY TABS ========== */
.k37-cat-tabs {
	display: flex;
	flex-wrap: nowrap;
	gap: 0.65rem;
	width: 100%;
	max-width: var(--k37-content-width);
	margin: -1.5rem auto 0;
	padding-inline: clamp(1rem, 3vw, 1.25rem);
	box-sizing: border-box;
	position: relative;
	z-index: 5;
}

.k37-cat-tabs-mobile {
	display: none;
}

.k37-cat-tabs__item {
	display: flex;
	flex: 1 1 0;
	align-items: center;
	justify-content: center;
	gap: 0.4rem;
	padding: 0.78rem 0.8rem;
	min-width: 0;
	border-radius: var(--k37-radius);
	border: 1px solid var(--k37-border);
	background: var(--k37-bg-card);
	font-weight: 700;
	font-size: 0.72rem;
	text-transform: uppercase;
	letter-spacing: 0.05em;
	color: var(--k37-muted);
	transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
}

.k37-cat-tabs__item .k37-svg-icon {
	width: 15px;
	height: 15px;
	flex-shrink: 0;
	color: currentColor;
}

.k37-cat-tabs__item--all.is-active,
.k37-cat-tabs__item--all:hover {
	border-color: var(--k37-blue);
	background: rgba(43, 157, 232, 0.12);
	color: var(--k37-blue-bright);
	box-shadow: 0 8px 20px rgba(43, 157, 232, 0.18);
}

.k37-cat-tabs__item--all .k37-svg-icon {
	color: #f7c948;
}

.k37-cat-tabs__item:hover {
	color: var(--k37-white);
	transform: translateY(-2px);
}

.k37-cat-tabs__item--spinning.is-active,
.k37-cat-tabs__item--spinning:hover {
	border-color: var(--k37-blue);
	background: rgba(43, 157, 232, 0.15);
	color: var(--k37-blue-bright);
	box-shadow: 0 8px 24px rgba(43, 157, 232, 0.2);
}

.k37-cat-tabs__item--spinning .k37-svg-icon {
	color: var(--k37-blue-bright);
}

.k37-cat-tabs__item--feeder.is-active,
.k37-cat-tabs__item--feeder:hover {
	border-color: #9b6dd7;
	background: rgba(155, 109, 215, 0.15);
	color: #c9a8f0;
	box-shadow: 0 8px 24px rgba(155, 109, 215, 0.2);
}

.k37-cat-tabs__item--feeder .k37-svg-icon {
	color: #c9a8f0;
}

.k37-cat-tabs__item--splawik.is-active,
.k37-cat-tabs__item--splawik:hover {
	border-color: #e89b3c;
	background: rgba(232, 155, 60, 0.12);
	color: #f0c070;
	box-shadow: 0 8px 24px rgba(232, 155, 60, 0.15);
}

.k37-cat-tabs__item--splawik .k37-svg-icon {
	color: #f0c070;
}

/* ========== LAYOUT GRID ========== */
.k37-subpage__body {
	padding: 2.5rem 0 4rem;
}

.k37-subpage__body--full {
	padding-top: 2rem;
}

.k37-subpage__after {
	padding-bottom: 3rem;
}

.k37-subpage__grid {
	display: grid;
	grid-template-columns: minmax(0, 1.9fr) minmax(280px, 1fr);
	gap: 2rem;
	align-items: start;
}

.k37-subpage__main {
	min-width: 0;
}

.k37-subpage__sidebar {
	display: flex;
	flex-direction: column;
	gap: 1.25rem;
}

/* ========== WIDGETS ========== */
.k37-widget {
	background: var(--k37-bg-card);
	border: 1px solid var(--k37-border);
	border-radius: var(--k37-radius);
	padding: 1.15rem 1.2rem;
}

.k37-widget__title {
	margin: 0 0 0.85rem;
	font-size: 0.72rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.1em;
	color: var(--k37-blue-bright);
}

.k37-widget__box--center {
	text-align: center;
}

.k37-widget__icon-lg {
	width: 40px;
	height: 40px;
	color: var(--k37-muted);
	margin: 0 auto 0.5rem;
}

.k37-widget__menu {
	list-style: none;
	margin: 0;
	padding: 0;
}

.k37-widget__menu a {
	display: block;
	padding: 0.4rem 0;
	color: var(--k37-muted);
	font-size: 0.88rem;
	font-weight: 500;
}

.k37-widget__menu a:hover {
	color: var(--k37-white);
}

.k37-widget__contact {
	list-style: none;
	margin: 0;
	padding: 0;
	font-size: 0.88rem;
	color: var(--k37-muted);
}

.k37-widget__contact li {
	margin-bottom: 0.35rem;
}

.k37-widget__link {
	display: inline-block;
	margin-top: 0.65rem;
	font-size: 0.78rem;
	font-weight: 700;
	text-transform: uppercase;
	color: var(--k37-blue-bright);
}

/* ========== BLOCKS ========== */
.k37-block {
	margin-bottom: 2.5rem;
}

.k37-block__title {
	margin: 0 0 1rem;
	font-size: 1.1rem;
	font-weight: 800;
	text-transform: uppercase;
	letter-spacing: 0.06em;
}

.k37-btn--block {
	display: flex;
	width: 100%;
	margin-top: 1rem;
}

.k37-btn--sm {
	padding: 0.55rem 1rem;
	font-size: 0.72rem;
}

/* ========== COMPETITION CARDS ========== */
.k37-comp-list {
	display: flex;
	flex-direction: column;
	gap: 1rem;
}

.k37-comp-event {
	display: grid;
	grid-template-columns: 140px 1fr auto;
	gap: 1rem;
	align-items: center;
	padding: 1rem;
	background: var(--k37-bg-card);
	border: 1px solid var(--k37-border);
	border-radius: var(--k37-radius);
}

.k37-comp-event--no-action {
	grid-template-columns: 140px 1fr;
}

.k37-comp-event__thumb {
	border-radius: 10px;
	overflow: hidden;
	aspect-ratio: 4 / 3;
	background: var(--k37-bg-3);
	width: 100%;
	justify-self: stretch;
}

.k37-comp-event__thumb img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.k37-comp-event__title {
	margin: 0.35rem 0 0.4rem;
	font-size: 1rem;
	font-weight: 700;
}

.k37-tag {
	display: inline-block;
	padding: 0.2rem 0.55rem;
	border-radius: 4px;
	font-size: 0.65rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.04em;
}

.k37-tag--spinning { background: rgba(43, 157, 232, 0.2); color: var(--k37-blue-bright); }
.k37-tag--feeder { background: rgba(155, 109, 215, 0.25); color: #c9a8f0; }
.k37-tag--splawik { background: rgba(232, 155, 60, 0.2); color: #f0c070; }

.k37-comp-event__meta {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-wrap: wrap;
	gap: 0.35rem 1rem;
	font-size: 0.8rem;
	color: var(--k37-muted);
}

.k37-comp-event__meta li {
	display: inline-flex;
	align-items: center;
	gap: 0.3rem;
}

.k37-comp-event__meta .k37-svg-icon {
	width: 14px;
	height: 14px;
}

.k37-comp-event__progress {
	margin-top: 0.5rem;
	font-size: 0.72rem;
	color: var(--k37-muted);
}

.k37-progress {
	height: 4px;
	background: var(--k37-bg-3);
	border-radius: 4px;
	margin-bottom: 0.35rem;
	overflow: hidden;
}

.k37-progress::after {
	content: "";
	display: block;
	height: 100%;
	width: var(--k37-progress, 0%);
	background: linear-gradient(90deg, var(--k37-blue), var(--k37-blue-bright));
	border-radius: 4px;
}

.k37-comp-event__results {
	display: inline-flex;
	align-items: center;
	gap: 0.35rem;
	margin: 0.35rem 0 0;
	font-size: 0.8rem;
	color: var(--k37-gold);
	font-weight: 600;
}

.k37-comp-event__action .k37-btn {
	white-space: nowrap;
}

.k37-comp-event__action--results {
	align-self: start;
}

.k37-results-popover {
	position: relative;
}

.k37-results-popover > summary {
	list-style: none;
}

.k37-results-popover > summary::-webkit-details-marker {
	display: none;
}

.k37-results-popover__bubble {
	position: absolute;
	top: calc(100% + 0.45rem);
	right: 0;
	z-index: 8;
	width: min(360px, 80vw);
	padding: 0.8rem 0.85rem;
	background: rgba(8, 20, 36, 0.97);
	border: 1px solid rgba(94, 184, 247, 0.4);
	border-radius: 12px;
	box-shadow: 0 14px 30px rgba(0, 0, 0, 0.35);
}

.k37-results-popover__list {
	margin: 0;
	padding: 0;
	list-style: none;
}

.k37-results-popover__list li {
	display: grid;
	grid-template-columns: 1.7rem 1fr auto;
	gap: 0.5rem;
	align-items: center;
	padding: 0.32rem 0;
	border-bottom: 1px dashed rgba(255, 255, 255, 0.12);
	font-size: 0.82rem;
}

.k37-results-popover__list li:last-child {
	border-bottom: 0;
}

.k37-results-popover__pos {
	display: inline-flex;
	justify-content: center;
	align-items: center;
	font-weight: 800;
	color: var(--k37-gold);
}

.k37-results-popover__cup {
	width: 16px;
	height: 16px;
}

.k37-results-popover__pos--1 .k37-results-popover__cup {
	color: #f4c542;
	filter: drop-shadow(0 0 4px rgba(244, 197, 66, 0.35));
}

.k37-results-popover__pos--2 .k37-results-popover__cup {
	color: #c9d3dd;
	filter: drop-shadow(0 0 4px rgba(201, 211, 221, 0.3));
}

.k37-results-popover__pos--3 .k37-results-popover__cup {
	color: #d79a5d;
	filter: drop-shadow(0 0 4px rgba(215, 154, 93, 0.3));
}

.k37-results-popover__name {
	color: var(--k37-white);
}

.k37-results-popover__pts {
	color: var(--k37-blue-bright);
	font-size: 0.76rem;
}

.k37-results-popover__empty {
	margin: 0;
	font-size: 0.8rem;
	color: var(--k37-muted);
}

/* ========== ZAPISY NA ZAWODY ========== */
.k37-signup-banner {
	display: grid;
	grid-template-columns: auto 1fr auto;
	gap: 1rem 1.25rem;
	align-items: start;
	margin-bottom: 2rem;
	padding: 1.15rem 1.2rem;
	background: linear-gradient(135deg, rgba(43, 157, 232, 0.12), rgba(8, 20, 36, 0.85));
	border: 1px solid rgba(94, 184, 247, 0.35);
	border-radius: calc(var(--k37-radius) + 2px);
}

.k37-signup-banner__icon {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 48px;
	height: 48px;
	border-radius: 12px;
	background: rgba(43, 157, 232, 0.2);
	color: var(--k37-blue-bright);
}

.k37-signup-banner__icon .k37-svg-icon {
	width: 26px;
	height: 26px;
}

.k37-signup-banner__label {
	margin: 0 0 0.25rem;
	font-size: 0.72rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.1em;
	color: var(--k37-blue-bright);
}

.k37-signup-banner__lead {
	margin: 0 0 0.65rem;
	font-size: 0.9rem;
	color: var(--k37-white);
}

.k37-signup-banner__place {
	margin: 0 0 0.5rem;
	font-size: 0.88rem;
	line-height: 1.5;
	color: rgba(244, 248, 252, 0.88);
}

.k37-signup-banner__place strong {
	color: var(--k37-white);
}

.k37-signup-banner__phone,
.k37-signup-banner__hours,
.k37-signup-banner__note {
	display: flex;
	align-items: center;
	gap: 0.4rem;
	margin: 0.35rem 0 0;
	font-size: 0.82rem;
	color: var(--k37-muted);
}

.k37-signup-banner__phone a {
	color: var(--k37-blue-bright);
}

.k37-signup-banner__map {
	align-self: center;
	white-space: nowrap;
}

.k37-signup-card {
	display: flex;
	flex-direction: column;
	align-items: stretch;
	gap: 0.55rem;
	min-width: 11rem;
	padding: 0.75rem 0.85rem;
	background: rgba(8, 20, 36, 0.55);
	border: 1px solid var(--k37-border);
	border-radius: var(--k37-radius);
	text-align: left;
}

.k37-signup-card__icon {
	color: var(--k37-blue-bright);
}

.k37-signup-card__icon .k37-svg-icon {
	width: 22px;
	height: 22px;
}

.k37-signup-card__text {
	display: flex;
	flex-direction: column;
	gap: 0.15rem;
	font-size: 0.72rem;
	line-height: 1.4;
	color: var(--k37-muted);
}

.k37-signup-card__text strong {
	font-size: 0.78rem;
	color: var(--k37-white);
}

.k37-signup-widget {
	display: flex;
	flex-direction: column;
	gap: 0.85rem;
}

.k37-signup-widget__brand {
	display: block;
	width: 100%;
	margin: 0 0 0.2rem;
	padding: 0.4rem 0.25rem 0.5rem;
	background: transparent;
	border: none;
	line-height: 0;
}

.k37-signup-widget__logo {
	display: block;
	width: 100%;
	height: auto;
	margin: 0;
	object-fit: contain;
	object-position: center;
	background: transparent;
	/* Gdy serwer/cache serwuje starą wersję z czarnym tłem — znika na ciemnym boxie. */
	mix-blend-mode: screen;
}

.k37-signup-widget__content {
	display: flex;
	flex-direction: column;
	gap: 0.45rem;
	padding: 0 0.1rem;
}

.k37-signup-widget__lead {
	margin: 0;
	font-size: 0.82rem;
	line-height: 1.5;
	color: var(--k37-muted);
}

.k37-signup-widget__place {
	margin: 0;
	font-size: 0.88rem;
	line-height: 1.55;
	color: rgba(244, 248, 252, 0.9);
}

.k37-signup-widget__place strong {
	color: var(--k37-white);
}

.k37-signup-widget__phone {
	display: flex;
	align-items: center;
	gap: 0.4rem;
	margin: 0;
	font-size: 0.82rem;
}

.k37-signup-widget__phone a {
	color: var(--k37-blue-bright);
}

.k37-signup-widget__hours,
.k37-signup-widget__note {
	margin: 0;
	font-size: 0.78rem;
	color: var(--k37-muted);
	line-height: 1.45;
}

.k37-signup-widget .k37-btn {
	margin-top: 0.35rem;
}

.k37-widget--signup {
	border-color: rgba(94, 184, 247, 0.3);
	background: linear-gradient(180deg, rgba(43, 157, 232, 0.06), var(--k37-bg-card));
}

/* ========== CALENDAR (sidebar zawodów) ========== */
.k37-calendar__nav {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 0.45rem;
	margin-bottom: 0.75rem;
}

.k37-calendar__month {
	margin: 0;
	font-weight: 700;
	text-transform: capitalize;
	color: var(--k37-blue-bright);
}

.k37-calendar__nav-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 1.8rem;
	height: 1.8rem;
	border-radius: 999px;
	border: 1px solid var(--k37-border);
	background: rgba(8, 20, 36, 0.65);
	color: var(--k37-blue-bright);
	font-size: 1.05rem;
	font-weight: 800;
	text-decoration: none;
	line-height: 1;
}

.k37-calendar__nav-btn:hover {
	color: var(--k37-white);
	border-color: rgba(94, 184, 247, 0.45);
	background: rgba(43, 157, 232, 0.2);
}

.k37-calendar__grid {
	display: grid;
	grid-template-columns: repeat(7, 1fr);
	gap: 0.3rem;
	margin-bottom: 0.85rem;
}

.k37-calendar__day {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 0.2rem;
	aspect-ratio: 1;
	min-height: 2.35rem;
	padding: 0.2rem 0.1rem 0.3rem;
	font-size: 0.72rem;
	border-radius: 8px;
	color: var(--k37-muted);
	background: rgba(8, 20, 36, 0.45);
}

.k37-calendar__day-num {
	line-height: 1;
}

.k37-calendar__dots {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	gap: 0.2rem;
	max-width: 100%;
}

.k37-calendar__dot {
	display: block;
	width: 10px;
	height: 10px;
	border-radius: 50%;
	box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.25);
}

.k37-calendar__dot--spinning { background: var(--k37-blue-bright); }
.k37-calendar__dot--feeder { background: #b794f4; }
.k37-calendar__dot--splawik { background: #fbbf24; }

.k37-calendar__day.is-today {
	background: rgba(43, 157, 232, 0.2);
	color: var(--k37-white);
	font-weight: 700;
	box-shadow: inset 0 0 0 1px rgba(94, 184, 247, 0.45);
}

.k37-calendar__day.has-event .k37-calendar__day-num {
	font-weight: 800;
	color: var(--k37-white);
}

.k37-calendar__legend {
	list-style: none;
	margin: 0;
	padding: 0.65rem 0 0;
	display: flex;
	flex-wrap: wrap;
	gap: 0.55rem 0.85rem;
	font-size: 0.68rem;
	color: var(--k37-muted);
	border-top: 1px solid var(--k37-border);
}

.k37-calendar__legend li {
	display: inline-flex;
	align-items: center;
	gap: 0.35rem;
}

.k37-calendar__legend-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 1.1rem;
	height: 1.1rem;
}

.k37-calendar__legend-icon .k37-svg-icon {
	width: 100%;
	height: 100%;
}

.k37-calendar__legend-icon--spinning { color: var(--k37-blue-bright); }
.k37-calendar__legend-icon--feeder { color: #b794f4; }
.k37-calendar__legend-icon--splawik { color: #fbbf24; }

.k37-calendar__legend-dot {
	width: 10px;
	height: 10px;
	border-radius: 50%;
	flex-shrink: 0;
}

/* ========== GALLERY ========== */
.k37-gallery {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 0.4rem;
}

.k37-gallery__item {
	border-radius: 6px;
	overflow: hidden;
	aspect-ratio: 4 / 3;
}

.k37-gallery__item img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

/* ========== PODIUM ========== */
.k37-podium {
	display: flex;
	align-items: flex-end;
	justify-content: center;
	gap: 0.5rem;
	margin-bottom: 1rem;
	padding-top: 0.5rem;
}

.k37-podium__place {
	flex: 1;
	max-width: 90px;
	text-align: center;
	padding: 0.65rem 0.35rem;
	background: var(--k37-bg-3);
	border: 1px solid var(--k37-border);
	border-radius: 10px 10px 0 0;
	font-size: 0.72rem;
}

.k37-podium__place--1 {
	order: 2;
	transform: translateY(-12px);
	border-color: var(--k37-gold);
	box-shadow: 0 0 20px rgba(212, 175, 55, 0.2);
}

.k37-podium__place--2 { order: 1; }
.k37-podium__place--3 { order: 3; }

.k37-podium__avatar {
	width: 48px;
	height: 48px;
	margin: 0 auto 0.35rem;
	border-radius: 50%;
	background: linear-gradient(145deg, var(--k37-navy-3), var(--k37-blue));
	display: flex;
	align-items: center;
	justify-content: center;
	font-weight: 800;
	font-size: 1.1rem;
}

.k37-podium__place--1 .k37-podium__avatar {
	width: 56px;
	height: 56px;
	border: 2px solid var(--k37-gold);
}

.k37-podium__pos {
	display: block;
	font-size: 0.65rem;
	color: var(--k37-gold);
	font-weight: 700;
}

.k37-podium__pts {
	display: block;
	color: var(--k37-muted);
	font-size: 0.65rem;
}

.k37-rank-list {
	list-style: none;
	margin: 0;
	padding: 0;
}

.k37-rank-list li {
	display: grid;
	grid-template-columns: 28px 1fr auto;
	gap: 0.5rem;
	padding: 0.45rem 0;
	border-bottom: 1px solid var(--k37-border);
	font-size: 0.82rem;
}

.k37-rank-list__pos {
	color: var(--k37-muted);
	font-weight: 700;
}

.k37-rank-list__pts {
	color: var(--k37-gold);
	font-weight: 700;
}

/* Klasyfikacja ogólna — sidebar zawodów */
.k37-widget--rankings .k37-ranking-block + .k37-ranking-block {
	margin-top: 1.15rem;
	padding-top: 1.15rem;
	border-top: 1px solid var(--k37-border);
}

.k37-ranking-block__discipline {
	margin: 0 0 0.65rem;
	font-size: 0.72rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.08em;
	color: var(--k37-blue-bright);
}

/* ========== O NAS ========== */
.k37-about__intro {
	max-width: 68ch;
	color: var(--k37-muted);
	line-height: 1.7;
	margin-bottom: 2rem;
}

.k37-about__intro p {
	margin: 0 0 1rem;
}

.k37-about__cards {
	list-style: none;
	margin: 0 0 2rem;
	padding: 0;
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 1rem;
}

.k37-about__card {
	padding: 1.25rem 1.15rem;
	background: var(--k37-bg-card);
	border: 1px solid var(--k37-border);
	border-radius: var(--k37-radius);
}

.k37-about__card-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 42px;
	height: 42px;
	margin-bottom: 0.75rem;
	border-radius: 10px;
	background: rgba(43, 157, 232, 0.15);
	color: var(--k37-blue-bright);
}

.k37-about__card-icon .k37-svg-icon {
	width: 22px;
	height: 22px;
}

.k37-about__card h2 {
	margin: 0 0 0.5rem;
	font-size: 0.95rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.06em;
}

.k37-about__card p {
	margin: 0;
	font-size: 0.88rem;
	color: var(--k37-muted);
	line-height: 1.55;
}

.k37-about__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 0.75rem;
}

/* ========== PAGE VARIANTS ========== */
.k37-subpage__content .k37-section {
	width: 100%;
	max-width: 100%;
	margin: 0;
	padding-block: 2rem;
	background: transparent;
}

.k37-subpage__content .k37-section > .k37-container {
	width: 100%;
	max-width: none;
	margin: 0;
	padding: 0;
}

.k37-subpage__body--full .k37-section {
	padding-left: 0;
	padding-right: 0;
}

.k37-shop-grid--page {
	margin-top: 2rem;
}

.k37-product-card--hoodie .k37-product-card__image { background: linear-gradient(160deg, #5a6b48, #3d4a32); }
.k37-product-card--shirt .k37-product-card__image { background: #1a2030; }
.k37-product-card--cap .k37-product-card__image { background: #111820; border-radius: 50% 50% 12px 12px; max-width: 100px; margin-inline: auto; }
.k37-product-card--mug .k37-product-card__image { background: #2a3038; }

.k37-product-card__image span {
	font-weight: 800;
	font-size: 1.5rem;
	opacity: 0.5;
}

.k37-contact-grid--page {
	gap: 1.25rem;
	align-items: start;
}

.k37-contact-card__title {
	display: flex;
	align-items: center;
	gap: 0.5rem;
	margin: 0 0 1rem;
	font-size: 1rem;
	font-weight: 800;
	text-transform: uppercase;
	letter-spacing: 0.05em;
	color: var(--k37-white);
}

.k37-contact-card__title .k37-svg-icon {
	width: 1.1rem;
	height: 1.1rem;
	color: var(--k37-blue-bright);
	flex-shrink: 0;
}

.k37-contact-card__lead {
	margin: -0.35rem 0 1.1rem;
	color: var(--k37-muted);
	font-size: 0.85rem;
	line-height: 1.45;
}

.k37-contact-info {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 1rem;
}

.k37-contact-info__item {
	display: flex;
	flex-direction: column;
	gap: 0.35rem;
	padding-bottom: 1rem;
	border-bottom: 1px solid var(--k37-border);
}

.k37-contact-info__item:last-child {
	padding-bottom: 0;
	border-bottom: none;
}

.k37-contact-info__label {
	font-size: 0.68rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.06em;
	color: var(--k37-blue-bright);
}

.k37-contact-info__value {
	font-size: 0.92rem;
	line-height: 1.45;
	color: var(--k37-white);
	text-decoration: none;
}

a.k37-contact-info__value:hover {
	color: var(--k37-blue-bright);
}

.k37-contact-info__link {
	display: inline-flex;
	align-items: center;
	gap: 0.35rem;
	margin-top: 0.15rem;
	font-size: 0.8rem;
	font-weight: 600;
	color: var(--k37-blue-bright);
	text-decoration: none;
}

.k37-contact-info__link:hover {
	color: var(--k37-white);
}

.k37-contact-form__grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 0.85rem;
}

.k37-contact-field {
	display: flex;
	flex-direction: column;
	gap: 0.35rem;
	margin-bottom: 0.85rem;
}

.k37-contact-field__label {
	font-size: 0.72rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.04em;
	color: var(--k37-muted);
}

.k37-contact-form .k37-contact-field input,
.k37-contact-form .k37-contact-field select,
.k37-contact-form .k37-contact-field textarea {
	width: 100%;
	padding: 0.72rem 0.85rem;
	border-radius: 8px;
	border: 1px solid var(--k37-border);
	background: var(--k37-bg);
	color: var(--k37-white);
	font-family: var(--k37-font);
	font-size: 0.9rem;
}

.k37-contact-form .k37-contact-field select {
	appearance: none;
	background-image: linear-gradient(45deg, transparent 50%, var(--k37-muted) 50%), linear-gradient(135deg, var(--k37-muted) 50%, transparent 50%);
	background-position: calc(100% - 18px) calc(50% - 3px), calc(100% - 12px) calc(50% - 3px);
	background-size: 6px 6px, 6px 6px;
	background-repeat: no-repeat;
	padding-right: 2rem;
}

.k37-contact-form .k37-contact-field textarea {
	resize: vertical;
	min-height: 140px;
}

.k37-contact-form .k37-contact-field input:focus,
.k37-contact-form .k37-contact-field select:focus,
.k37-contact-form .k37-contact-field textarea:focus {
	outline: none;
	border-color: rgba(94, 184, 247, 0.55);
	box-shadow: 0 0 0 3px rgba(94, 184, 247, 0.15);
}

.k37-contact-form__hp {
	position: absolute;
	left: -9999px;
	width: 1px;
	height: 1px;
	overflow: hidden;
}

.k37-notice--success {
	border-color: rgba(62, 207, 142, 0.4);
	background: rgba(62, 207, 142, 0.1);
	color: #b8f0d4;
}

.k37-notice--error {
	border-color: rgba(232, 90, 90, 0.4);
	background: rgba(232, 90, 90, 0.08);
	color: #f5b8b8;
}

/* ========== AKTUALNOŚCI (lista) ========== */
.k37-news-page {
	padding-block: clamp(1.75rem, 4vw, 2.75rem);
}

.k37-news-grid--page {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 1.25rem;
	align-items: stretch;
}

.k37-news-page__empty {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 0.85rem;
	padding: 3rem 1.5rem;
	text-align: center;
	background: var(--k37-bg-card);
	border: 1px dashed var(--k37-border);
	border-radius: calc(var(--k37-radius) + 2px);
	color: var(--k37-muted);
}

.k37-news-page__empty .k37-svg-icon {
	width: 40px;
	height: 40px;
	color: var(--k37-blue-bright);
	opacity: 0.5;
}

.k37-news-page__empty p {
	margin: 0;
	max-width: 36ch;
	line-height: 1.6;
}

.k37-pagination {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	gap: 0.4rem;
	margin-top: 2.25rem;
	padding-top: 2rem;
	border-top: 1px solid var(--k37-border);
}

.k37-pagination .page-numbers,
.k37-pagination a,
.k37-pagination span {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 2.35rem;
	height: 2.35rem;
	padding: 0 0.65rem;
	font-size: 0.82rem;
	font-weight: 600;
	color: var(--k37-muted);
	text-decoration: none;
	background: var(--k37-bg-card);
	border: 1px solid var(--k37-border);
	border-radius: 8px;
	transition: border-color 0.2s ease, color 0.2s ease, background 0.2s ease;
}

.k37-pagination a:hover {
	color: var(--k37-white);
	border-color: rgba(94, 184, 247, 0.45);
	background: rgba(43, 157, 232, 0.12);
}

.k37-pagination .current,
.k37-pagination span.current {
	color: var(--k37-white);
	background: rgba(43, 157, 232, 0.22);
	border-color: rgba(94, 184, 247, 0.5);
}

.k37-pagination .dots {
	border: none;
	background: transparent;
	min-width: auto;
	padding: 0 0.25rem;
}

@media (max-width: 1024px) {
	.k37-news-grid--page {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 640px) {
	.k37-news-grid--page {
		grid-template-columns: 1fr;
	}
}

/* ========== POJEDYNCZY WPIS ========== */
.k37-subpage__body--post {
	padding-block: clamp(1.75rem, 4vw, 2.75rem);
}

.k37-article--single {
	width: 100%;
	max-width: none;
	margin: 0;
	padding: 0;
	background: transparent;
	border: none;
	box-shadow: none;
}

.k37-article__meta {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
	list-style: none;
	margin: 0 0 1.5rem;
	padding: 0;
}

.k37-article__meta .k37-tag {
	text-decoration: none;
}

.k37-prose {
	font-size: 1.05rem;
	line-height: 1.75;
	color: rgba(244, 248, 252, 0.88);
}

.k37-prose > *:first-child {
	margin-top: 0;
}

.k37-prose > *:last-child {
	margin-bottom: 0;
}

.k37-prose p {
	margin: 0 0 1.15rem;
}

.k37-prose h2,
.k37-prose h3,
.k37-prose h4 {
	margin: 2rem 0 0.75rem;
	color: var(--k37-white);
	font-weight: 700;
	line-height: 1.25;
}

.k37-prose h2 { font-size: 1.45rem; }
.k37-prose h3 { font-size: 1.2rem; }
.k37-prose h4 { font-size: 1.05rem; }

.k37-prose a {
	color: var(--k37-blue-bright);
	text-decoration: underline;
	text-underline-offset: 3px;
}

.k37-prose a:hover {
	color: var(--k37-white);
}

.k37-prose ul,
.k37-prose ol {
	margin: 0 0 1.15rem;
	padding-left: 1.35rem;
}

.k37-prose li {
	margin-bottom: 0.35rem;
}

.k37-prose blockquote {
	margin: 1.5rem 0;
	padding: 1rem 1.15rem;
	border-left: 3px solid var(--k37-blue-bright);
	background: rgba(10, 25, 47, 0.45);
	border-radius: 0 var(--k37-radius) var(--k37-radius) 0;
	color: var(--k37-muted);
	font-style: italic;
}

.k37-prose img,
.k37-prose figure {
	max-width: 100%;
	height: auto;
	border-radius: var(--k37-radius);
}

.k37-prose figure {
	margin: 1.5rem 0;
}

.k37-prose figcaption {
	margin-top: 0.5rem;
	font-size: 0.85rem;
	color: var(--k37-muted);
	text-align: center;
}

.k37-prose .wp-block-image img,
.k37-prose .alignwide,
.k37-prose .alignfull {
	border-radius: var(--k37-radius);
}

.k37-article--single .k37-back-link {
	margin-top: 2.5rem;
	padding-top: 1.5rem;
	border-top: 1px solid var(--k37-border);
	font-size: 0.9rem;
}

.k37-article--single .k37-back-link a {
	display: inline-flex;
	align-items: center;
	gap: 0.35rem;
	font-weight: 600;
	color: var(--k37-blue-bright);
}

.k37-article--single .k37-back-link a:hover {
	color: var(--k37-white);
}

/* ========== MOBILE ========== */
@media (max-width: 1024px) {
	.k37-sub-hero__stats {
		grid-template-columns: repeat(2, 1fr);
	}

	.k37-subpage__grid {
		grid-template-columns: 1fr;
	}

	.k37-about__cards {
		grid-template-columns: 1fr;
	}

	.k37-cat-tabs {
		margin-top: -1rem;
	}
}

@media (max-width: 768px) {
	.k37-cat-tabs {
		display: none;
	}

	.k37-cat-tabs-mobile {
		display: block;
		width: 100%;
		max-width: var(--k37-content-width);
		margin: -1rem auto 0;
		padding-inline: clamp(1rem, 3vw, 1.25rem);
		box-sizing: border-box;
		position: relative;
		z-index: 6;
	}

	.k37-cat-tabs-mobile__summary {
		display: flex;
		align-items: center;
		justify-content: space-between;
		padding: 0.78rem 0.9rem;
		border-radius: var(--k37-radius);
		border: 1px solid var(--k37-border);
		background: var(--k37-bg-card);
		font-size: 0.78rem;
		font-weight: 700;
		text-transform: uppercase;
		letter-spacing: 0.05em;
		color: var(--k37-white);
		list-style: none;
		cursor: pointer;
	}

	.k37-cat-tabs-mobile__summary::-webkit-details-marker {
		display: none;
	}

	.k37-cat-tabs-mobile__summary::after {
		content: "";
		width: 0.5em;
		height: 0.5em;
		border-right: 2px solid currentColor;
		border-bottom: 2px solid currentColor;
		transform: rotate(45deg) translateY(-2px);
		opacity: 0.85;
		transition: transform 0.2s ease;
	}

	.k37-cat-tabs-mobile[open] .k37-cat-tabs-mobile__summary::after {
		transform: rotate(-135deg) translateY(-1px);
	}

	.k37-cat-tabs-mobile__summary-left {
		display: inline-flex;
		align-items: center;
		gap: 0.45rem;
	}

	.k37-cat-tabs-mobile__summary-left .k37-svg-icon,
	.k37-cat-tabs-mobile__item .k37-svg-icon {
		width: 15px;
		height: 15px;
		flex-shrink: 0;
	}

	.k37-cat-tabs-mobile__list {
		margin-top: 0.45rem;
		padding: 0.35rem;
		border: 1px solid var(--k37-border);
		border-radius: var(--k37-radius);
		background: rgba(8, 20, 34, 0.95);
		box-shadow: 0 12px 24px rgba(0, 0, 0, 0.3);
	}

	.k37-cat-tabs-mobile__item {
		display: flex;
		align-items: center;
		gap: 0.45rem;
		padding: 0.58rem 0.62rem;
		border-radius: 8px;
		font-size: 0.74rem;
		font-weight: 700;
		text-transform: uppercase;
		letter-spacing: 0.04em;
		color: var(--k37-muted);
		text-decoration: none;
	}

	.k37-cat-tabs-mobile__item:hover,
	.k37-cat-tabs-mobile__item.is-active {
		color: var(--k37-white);
		background: rgba(43, 157, 232, 0.16);
	}

	.k37-cat-tabs-mobile__item--all .k37-svg-icon,
	.k37-cat-tabs-mobile__summary--all .k37-svg-icon {
		color: #f7c948;
	}

	.k37-cat-tabs-mobile__item--spinning .k37-svg-icon,
	.k37-cat-tabs-mobile__summary--spinning .k37-svg-icon {
		color: var(--k37-blue-bright);
	}

	.k37-cat-tabs-mobile__item--feeder .k37-svg-icon,
	.k37-cat-tabs-mobile__summary--feeder .k37-svg-icon {
		color: #c9a8f0;
	}

	.k37-cat-tabs-mobile__item--splawik .k37-svg-icon,
	.k37-cat-tabs-mobile__summary--splawik .k37-svg-icon {
		color: #f0c070;
	}

	.k37-sub-hero {
		min-height: auto;
	}

	.k37-sub-hero__inner {
		padding: calc(64px + 1rem) clamp(1rem, 3vw, 1.25rem) 1.75rem;
	}

	.k37-sub-hero__stats {
		grid-template-columns: 1fr;
	}

	.k37-comp-event {
		grid-template-columns: 1fr;
		text-align: left;
	}

	.k37-comp-event__thumb {
		max-height: 180px;
		aspect-ratio: 16 / 9;
		width: 100%;
		justify-self: stretch;
	}

	.k37-comp-event__action .k37-btn {
		width: 100%;
	}

	.k37-results-popover__bubble {
		position: static;
		width: 100%;
		margin-top: 0.5rem;
	}

	.k37-signup-banner {
		grid-template-columns: 1fr;
	}

	.k37-signup-banner__map {
		width: 100%;
		justify-content: center;
	}

	.k37-signup-card {
		min-width: 0;
		width: 100%;
	}

	.k37-podium {
		flex-wrap: wrap;
	}

	.k37-gallery {
		grid-template-columns: repeat(2, 1fr);
	}

	.k37-contact-grid--page {
		grid-template-columns: 1fr;
	}

	.k37-contact-form__grid {
		grid-template-columns: 1fr;
	}
}

@media (max-width: 480px) {
	.k37-cat-tabs__item {
		padding: 0.85rem;
		font-size: 0.7rem;
	}

	.k37-stat {
		padding: 0.65rem 0.75rem;
	}
}

/* ========== WĘDKARZ — logowanie / rejestracja (karty) ========== */
.k37-auth-page {
	position: relative;
	min-height: calc(100vh - var(--k37-header-h));
	padding: calc(var(--k37-header-h) + 2.5rem) 0 3.5rem;
	overflow: hidden;
}

.k37-auth-page__bg {
	position: absolute;
	inset: 0;
	background:
		radial-gradient(ellipse 90% 70% at 50% -10%, rgba(43, 157, 232, 0.22), transparent 55%),
		radial-gradient(ellipse 60% 50% at 100% 50%, rgba(62, 207, 142, 0.08), transparent 50%),
		linear-gradient(180deg, var(--k37-bg-2) 0%, var(--k37-bg) 45%, #030810 100%);
	pointer-events: none;
}

.k37-auth-page__grid {
	position: absolute;
	inset: 0;
	pointer-events: none;
}

.k37-auth-page__orb {
	position: absolute;
	border-radius: 50%;
	filter: blur(80px);
	opacity: 0.35;
}

.k37-auth-page__orb--1 {
	width: 280px;
	height: 280px;
	top: 12%;
	left: -80px;
	background: rgba(43, 157, 232, 0.45);
}

.k37-auth-page__orb--2 {
	width: 220px;
	height: 220px;
	bottom: 8%;
	right: -60px;
	background: rgba(43, 157, 232, 0.25);
}

.k37-auth-page__wrap {
	position: relative;
	z-index: 2;
	display: flex;
	flex-direction: column;
	align-items: stretch;
	width: 100%;
}

.k37-auth-card {
	position: relative;
	width: 100%;
	max-width: none;
	padding: 0;
	border-radius: 20px;
	border: 1px solid rgba(94, 184, 247, 0.22);
	background: linear-gradient(165deg, rgba(15, 32, 56, 0.94) 0%, rgba(8, 20, 34, 0.98) 100%);
	box-shadow:
		0 4px 24px rgba(0, 0, 0, 0.35),
		0 0 0 1px rgba(255, 255, 255, 0.04) inset,
		0 24px 64px rgba(0, 0, 0, 0.45);
	backdrop-filter: blur(20px);
	-webkit-backdrop-filter: blur(20px);
	overflow: hidden;
}

.k37-auth-card__shine {
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	height: 1px;
	background: linear-gradient(90deg, transparent, rgba(94, 184, 247, 0.55), transparent);
	pointer-events: none;
}

.k37-auth-card__head {
	padding: 2rem 2rem 1.25rem;
	text-align: center;
}

.k37-auth-card__badge {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 56px;
	height: 56px;
	margin-bottom: 1rem;
	border-radius: 16px;
	background: linear-gradient(145deg, rgba(43, 157, 232, 0.35), rgba(43, 157, 232, 0.08));
	border: 1px solid rgba(94, 184, 247, 0.35);
	color: var(--k37-blue-bright);
	box-shadow: 0 8px 24px rgba(43, 157, 232, 0.2);
}

.k37-auth-card__badge .k37-svg-icon {
	width: 1.65rem;
	height: 1.65rem;
}

.k37-auth-card__eyebrow {
	margin: 0 0 0.35rem;
	font-size: 0.68rem;
	font-weight: 700;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--k37-blue-bright);
}

.k37-auth-card__title {
	margin: 0 0 0.5rem;
	font-size: clamp(1.45rem, 4vw, 1.75rem);
	font-weight: 800;
	line-height: 1.2;
	color: var(--k37-white);
}

.k37-auth-card__subtitle {
	margin: 0;
	max-width: 36ch;
	margin-inline: auto;
	font-size: 0.88rem;
	line-height: 1.55;
	color: var(--k37-muted);
}

.k37-auth-card__info {
	display: flex;
	align-items: flex-start;
	gap: 0.75rem;
	margin: 0 1.5rem 0.25rem;
	padding: 0.9rem 1rem;
	border-radius: 12px;
	border: 1px solid rgba(94, 184, 247, 0.25);
	background: rgba(43, 157, 232, 0.08);
}

.k37-auth-card__info .k37-svg-icon {
	flex-shrink: 0;
	width: 1.25rem;
	height: 1.25rem;
	margin-top: 0.1rem;
	color: var(--k37-blue-bright);
}

.k37-auth-card__info p {
	margin: 0;
	font-size: 0.8rem;
	line-height: 1.5;
	color: rgba(244, 248, 252, 0.88);
}

.k37-auth-card__body {
	padding: 0 1.75rem 1.5rem;
}

.k37-auth-card__foot {
	padding: 1.1rem 1.75rem 1.5rem;
	border-top: 1px solid var(--k37-border);
	background: rgba(0, 0, 0, 0.15);
	text-align: center;
}

.k37-auth-card__foot p {
	margin: 0;
	font-size: 0.85rem;
	color: var(--k37-muted);
}

.k37-auth-card__foot a {
	font-weight: 600;
	color: var(--k37-blue-bright);
}

.k37-auth-page__back {
	margin: 1.35rem 0 0;
	font-size: 0.8rem;
}

.k37-auth-page__back a {
	color: var(--k37-muted);
}

.k37-auth-page__back a:hover {
	color: var(--k37-white);
}

/* Alerty */
.k37-auth-alert {
	display: flex;
	align-items: flex-start;
	gap: 0.65rem;
	margin-bottom: 1.25rem;
	padding: 0.85rem 1rem;
	border-radius: 12px;
	border: 1px solid var(--k37-border);
}

.k37-auth-alert--success {
	border-color: rgba(62, 207, 142, 0.4);
	background: rgba(62, 207, 142, 0.1);
}

.k37-auth-alert--error {
	border-color: rgba(232, 100, 100, 0.4);
	background: rgba(232, 100, 100, 0.1);
}

.k37-auth-alert__icon {
	flex-shrink: 0;
	color: var(--k37-blue-bright);
}

.k37-auth-alert--success .k37-auth-alert__icon {
	color: var(--k37-green);
}

.k37-auth-alert--error .k37-auth-alert__icon {
	color: #f08080;
}

.k37-auth-alert--info {
	border-color: rgba(94, 184, 247, 0.4);
	background: rgba(43, 157, 232, 0.1);
}

.k37-auth-alert--info .k37-auth-alert__icon {
	color: var(--k37-blue-bright);
}

.k37-auth-alert__text {
	margin: 0;
	font-size: 0.84rem;
	line-height: 1.5;
	color: var(--k37-white);
}

/* Formularz */
.k37-auth-form {
	margin: 0;
}

.k37-auth-form__grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 0 1rem;
}

.k37-auth-section {
	margin-bottom: 1.5rem;
	padding-bottom: 1.35rem;
	border-bottom: 1px solid var(--k37-border);
}

.k37-auth-section:last-of-type {
	border-bottom: none;
	margin-bottom: 0.5rem;
	padding-bottom: 0;
}

.k37-auth-section__title {
	display: flex;
	align-items: center;
	gap: 0.65rem;
	margin: 0 0 1rem;
	font-size: 0.78rem;
	font-weight: 700;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: var(--k37-white);
}

.k37-auth-section__num {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 1.5rem;
	height: 1.5rem;
	border-radius: 8px;
	font-size: 0.72rem;
	font-weight: 800;
	color: var(--k37-blue-bright);
	background: rgba(43, 157, 232, 0.15);
	border: 1px solid rgba(94, 184, 247, 0.3);
}

.k37-auth-section__hint {
	margin: -0.5rem 0 0.85rem;
	font-size: 0.78rem;
	color: var(--k37-muted);
}

.k37-auth-field {
	margin-bottom: 1rem;
}

.k37-auth-field__label {
	display: block;
	margin-bottom: 0.4rem;
	font-size: 0.78rem;
	font-weight: 600;
	color: rgba(244, 248, 252, 0.92);
}

.k37-auth-field__control {
	position: relative;
	display: flex;
	align-items: center;
}

.k37-auth-field__icon {
	position: absolute;
	left: 0.9rem;
	z-index: 1;
	display: flex;
	color: var(--k37-muted);
	pointer-events: none;
}

.k37-auth-field__icon .k37-svg-icon {
	width: 1.1rem;
	height: 1.1rem;
}

.k37-auth-field__input {
	width: 100%;
	padding: 0.8rem 0.95rem 0.8rem 2.65rem;
	border-radius: 12px;
	border: 1px solid rgba(126, 160, 200, 0.22);
	background: rgba(5, 12, 23, 0.65);
	color: var(--k37-white);
	font-family: var(--k37-font);
	font-size: 0.92rem;
	transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.k37-auth-field__input--plain {
	padding-left: 0.95rem;
}

.k37-auth-field__input::placeholder {
	color: rgba(143, 163, 191, 0.55);
}

.k37-auth-field__input:hover {
	border-color: rgba(94, 184, 247, 0.35);
}

.k37-auth-field__input:focus {
	outline: none;
	border-color: var(--k37-blue);
	background: rgba(5, 12, 23, 0.9);
	box-shadow: 0 0 0 3px rgba(43, 157, 232, 0.2);
}

.k37-auth-field__hint {
	margin: 0.35rem 0 0;
	font-size: 0.72rem;
	color: var(--k37-muted);
}

/* Dyscypliny — chipy */
.k37-auth-chips {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 0.55rem;
}

.k37-auth-chip {
	cursor: pointer;
}

.k37-auth-chip input {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	border: 0;
}

.k37-auth-chip__box {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 0.4rem;
	min-height: 88px;
	padding: 0.75rem 0.5rem;
	border-radius: 14px;
	border: 1px solid var(--k37-border);
	background: rgba(5, 12, 23, 0.5);
	transition: border-color 0.2s, background 0.2s, box-shadow 0.2s, transform 0.15s;
}

.k37-auth-chip__box .k37-svg-icon {
	width: 1.35rem;
	height: 1.35rem;
	color: var(--k37-muted);
	transition: color 0.2s;
}

.k37-auth-chip__label {
	font-size: 0.68rem;
	font-weight: 700;
	text-align: center;
	line-height: 1.25;
	text-transform: uppercase;
	letter-spacing: 0.03em;
	color: var(--k37-muted);
}

.k37-auth-chip:hover .k37-auth-chip__box {
	border-color: rgba(94, 184, 247, 0.4);
	transform: translateY(-1px);
}

.k37-auth-chip input:focus-visible + .k37-auth-chip__box {
	outline: 2px solid var(--k37-blue-bright);
	outline-offset: 2px;
}

.k37-auth-chip input:checked + .k37-auth-chip__box {
	border-color: var(--k37-blue);
	background: rgba(43, 157, 232, 0.12);
	box-shadow: 0 0 0 1px rgba(43, 157, 232, 0.25) inset, 0 8px 20px rgba(43, 157, 232, 0.15);
}

.k37-auth-chip input:checked + .k37-auth-chip__box .k37-svg-icon,
.k37-auth-chip input:checked + .k37-auth-chip__box .k37-auth-chip__label {
	color: var(--k37-blue-bright);
}

.k37-auth-chip--spinning input:checked + .k37-auth-chip__box {
	border-color: rgba(94, 184, 247, 0.6);
}

.k37-auth-chip--feeder input:checked + .k37-auth-chip__box {
	border-color: rgba(212, 175, 55, 0.55);
	background: rgba(212, 175, 55, 0.08);
}

.k37-auth-chip--feeder input:checked + .k37-auth-chip__box .k37-svg-icon,
.k37-auth-chip--feeder input:checked + .k37-auth-chip__box .k37-auth-chip__label {
	color: var(--k37-gold);
}

.k37-auth-chip--splawik input:checked + .k37-auth-chip__box {
	border-color: rgba(62, 207, 142, 0.5);
	background: rgba(62, 207, 142, 0.08);
}

.k37-auth-chip--splawik input:checked + .k37-auth-chip__box .k37-svg-icon,
.k37-auth-chip--splawik input:checked + .k37-auth-chip__box .k37-auth-chip__label {
	color: var(--k37-green);
}

.k37-auth-field--recaptcha {
	margin-top: 0.25rem;
}

.k37-auth-field--recaptcha .g-recaptcha {
	transform-origin: 0 0;
}

@media (max-width: 380px) {
	.k37-auth-field--recaptcha .g-recaptcha {
		transform: scale(0.92);
	}
}

.k37-auth-form__submit {
	margin-top: 0.5rem;
}

.k37-auth-form__submit .k37-btn--block {
	width: 100%;
	padding: 0.95rem 1.5rem;
	font-size: 0.85rem;
}

.k37-auth-form__legal {
	margin: 0.85rem 0 0;
	font-size: 0.72rem;
	line-height: 1.45;
	text-align: center;
	color: var(--k37-muted);
}

/* ========== PANEL WĘDKARZA (dashboard) ========== */
.k37-dashboard-page {
	position: relative;
	padding: calc(var(--k37-header-h) + 1.5rem) 0 3rem;
	min-height: 70vh;
	overflow: hidden;
}

.k37-dashboard-page__bg {
	position: absolute;
	inset: 0;
	background:
		radial-gradient(ellipse 80% 50% at 20% 0%, rgba(43, 157, 232, 0.12), transparent 55%),
		radial-gradient(ellipse 60% 40% at 90% 80%, rgba(62, 207, 142, 0.08), transparent 50%),
		var(--k37-bg);
	pointer-events: none;
}

.k37-dashboard-page__grid {
	position: absolute;
	inset: 0;
	pointer-events: none;
}

.k37-dashboard-page__orb {
	position: absolute;
	border-radius: 50%;
	filter: blur(80px);
	opacity: 0.35;
}

.k37-dashboard-page__orb--1 {
	width: 320px;
	height: 320px;
	top: 8%;
	left: -5%;
	background: rgba(43, 157, 232, 0.25);
}

.k37-dashboard-page__orb--2 {
	width: 280px;
	height: 280px;
	bottom: 10%;
	right: -8%;
	background: rgba(62, 207, 142, 0.15);
}

.k37-dashboard-page__wrap {
	position: relative;
	z-index: 1;
	max-width: 1120px;
}

.k37-dashboard {
	display: flex;
	flex-direction: column;
	gap: 1.25rem;
}

.k37-dashboard__hero {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-start;
	justify-content: space-between;
	gap: 1rem 1.5rem;
	padding: 1.35rem 1.5rem;
	border-radius: calc(var(--k37-radius) + 4px);
	border: 1px solid rgba(94, 184, 247, 0.25);
	background: linear-gradient(135deg, rgba(15, 32, 56, 0.95), rgba(8, 20, 34, 0.98));
	box-shadow: 0 16px 48px rgba(0, 0, 0, 0.35);
}

.k37-dashboard__hero-main {
	display: flex;
	align-items: center;
	gap: 1rem;
}

.k37-dashboard__avatar {
	width: 64px;
	height: 64px;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 1.5rem;
	font-weight: 800;
	color: var(--k37-white);
	background: linear-gradient(145deg, var(--k37-blue-bright), var(--k37-blue));
	border: 3px solid rgba(255, 255, 255, 0.15);
	flex-shrink: 0;
}

.k37-dashboard__eyebrow {
	margin: 0 0 0.2rem;
	font-size: 0.68rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.1em;
	color: var(--k37-blue-bright);
}

.k37-dashboard__title {
	margin: 0;
	font-size: clamp(1.25rem, 3vw, 1.65rem);
	font-weight: 800;
	line-height: 1.2;
}

.k37-dashboard__meta {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.5rem 0.75rem;
	margin: 0.4rem 0 0;
	font-size: 0.8rem;
	color: var(--k37-muted);
}

.k37-dashboard__badge {
	display: inline-flex;
	padding: 0.2rem 0.55rem;
	border-radius: var(--k37-radius-pill);
	font-size: 0.65rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.04em;
}

.k37-dashboard__badge--verified {
	color: var(--k37-green);
	background: rgba(62, 207, 142, 0.12);
	border: 1px solid rgba(62, 207, 142, 0.35);
}

.k37-dashboard__hero-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
}

.k37-dashboard__stats {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 0.75rem;
	list-style: none;
	margin: 0;
	padding: 0;
}

.k37-dashboard__stat {
	padding: 0.85rem 1rem;
	text-align: center;
	border-radius: var(--k37-radius);
	border: 1px solid var(--k37-border);
	background: rgba(8, 20, 34, 0.65);
}

.k37-dashboard__stat-value {
	display: block;
	font-size: 1.5rem;
	font-weight: 800;
	color: var(--k37-white);
	line-height: 1.1;
}

.k37-dashboard__stat-label {
	display: block;
	margin-top: 0.25rem;
	font-size: 0.68rem;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.05em;
	color: var(--k37-muted);
}

.k37-dashboard__nav {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
	padding: 0.35rem;
	border-radius: var(--k37-radius-pill);
	background: rgba(8, 20, 34, 0.6);
	border: 1px solid var(--k37-border);
}

.k37-dashboard__nav a {
	padding: 0.45rem 0.9rem;
	border-radius: var(--k37-radius-pill);
	font-size: 0.78rem;
	font-weight: 600;
	color: var(--k37-muted);
	text-decoration: none;
	transition: color 0.2s, background 0.2s;
}

.k37-dashboard__nav a:hover {
	color: var(--k37-white);
	background: rgba(43, 157, 232, 0.15);
}

.k37-dashboard__layout {
	display: grid;
	grid-template-columns: 1fr 320px;
	gap: 1.25rem;
	align-items: start;
}

.k37-dashboard__main {
	display: flex;
	flex-direction: column;
	gap: 1.25rem;
	min-width: 0;
}

.k37-dashboard__aside {
	display: flex;
	flex-direction: column;
	gap: 1.25rem;
	position: sticky;
	top: calc(var(--k37-header-h) + 1rem);
}

.k37-dash-card {
	padding: 1.25rem 1.35rem;
	border-radius: var(--k37-radius);
	border: 1px solid var(--k37-border);
	background: linear-gradient(165deg, rgba(15, 32, 56, 0.88), rgba(8, 20, 34, 0.95));
	box-shadow: 0 10px 32px rgba(0, 0, 0, 0.25);
}

.k37-dash-card--muted {
	opacity: 0.85;
}

.k37-dash-card__head {
	margin-bottom: 1rem;
}

.k37-dash-card__title {
	display: flex;
	align-items: center;
	gap: 0.5rem;
	margin: 0 0 0.35rem;
	font-size: 1rem;
	font-weight: 700;
}

.k37-dash-card__title .k37-svg-icon {
	width: 1.1rem;
	height: 1.1rem;
	color: var(--k37-blue-bright);
}

.k37-dash-card__lead {
	margin: 0;
	font-size: 0.82rem;
	color: var(--k37-muted);
	line-height: 1.45;
}

.k37-dash-card__empty {
	margin: 0;
}

.k37-dash-entries {
	list-style: none;
	margin: 0;
	padding: 0;
}

.k37-dash-entries__item {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 0.75rem;
	padding: 0.75rem 0;
	border-bottom: 1px solid var(--k37-border);
}

.k37-dash-entries__item:last-child {
	border-bottom: 0;
	padding-bottom: 0;
}

.k37-dash-entries__info {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.4rem 0.65rem;
}

.k37-dash-events {
	display: flex;
	flex-direction: column;
	gap: 0.85rem;
}

.k37-dash-event {
	display: grid;
	grid-template-columns: 100px 1fr auto;
	gap: 1rem;
	align-items: center;
	padding: 1rem;
	border-radius: 12px;
	border: 1px solid var(--k37-border);
	background: rgba(5, 12, 23, 0.45);
	transition: border-color 0.2s, box-shadow 0.2s;
}

.k37-dash-event:hover {
	border-color: rgba(94, 184, 247, 0.35);
}

.k37-dash-event--joined {
	border-color: rgba(62, 207, 142, 0.4);
	background: rgba(62, 207, 142, 0.05);
}

.k37-dash-event__thumb {
	border-radius: 8px;
	overflow: hidden;
	aspect-ratio: 10 / 7;
}

.k37-dash-event__thumb img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.k37-dash-event__top {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.5rem;
	margin-bottom: 0.35rem;
}

.k37-dash-event__status {
	font-size: 0.68rem;
	font-weight: 700;
	text-transform: uppercase;
	color: var(--k37-green);
}

.k37-dash-event__title {
	margin: 0 0 0.4rem;
	font-size: 0.95rem;
	font-weight: 700;
}

.k37-dash-event__meta {
	list-style: none;
	margin: 0 0 0.5rem;
	padding: 0;
	font-size: 0.78rem;
	color: var(--k37-muted);
}

.k37-dash-event__meta li {
	display: flex;
	align-items: center;
	gap: 0.35rem;
	margin-bottom: 0.2rem;
}

.k37-dash-event__meta .k37-svg-icon {
	width: 0.85rem;
	height: 0.85rem;
}

.k37-dash-event__progress {
	display: flex;
	align-items: center;
	gap: 0.65rem;
}

.k37-dash-event__progress .k37-progress {
	flex: 1;
	min-width: 60px;
}

.k37-dash-event__action {
	flex-shrink: 0;
}

.k37-dash-card--profile .k37-auth-form {
	margin-top: 0.25rem;
}

.k37-auth-section--inline {
	margin-top: 0.5rem;
}

.k37-auth-section__title--sm {
	margin: 0 0 0.65rem;
	font-size: 0.82rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.05em;
	color: var(--k37-muted);
}

.k37-dash-password {
	margin-top: 0.75rem;
	border: 1px solid var(--k37-border);
	border-radius: 12px;
	background: rgba(5, 12, 23, 0.35);
}

.k37-dash-password__toggle {
	display: flex;
	align-items: center;
	gap: 0.5rem;
	padding: 0.75rem 1rem;
	cursor: pointer;
	font-size: 0.82rem;
	font-weight: 600;
	list-style: none;
}

.k37-dash-password__toggle::-webkit-details-marker {
	display: none;
}

.k37-dash-password__body {
	padding: 0 1rem 1rem;
	border-top: 1px solid var(--k37-border);
}

.k37-dash-card--weather .k37-weather {
	margin: 0;
	box-shadow: none;
}

.k37-weather--panel {
	padding: 0;
	background: transparent;
	border: 0;
	backdrop-filter: none;
}

.k37-weather__details--compact li {
	font-size: 0.78rem;
}

.k37-dash-links {
	list-style: none;
	margin: 0.75rem 0 0;
	padding: 0;
}

.k37-dash-links a {
	display: block;
	padding: 0.5rem 0;
	font-size: 0.85rem;
	font-weight: 600;
	color: var(--k37-blue-bright);
	text-decoration: none;
	border-bottom: 1px solid var(--k37-border);
}

.k37-dash-links li:last-child a {
	border-bottom: 0;
}

.k37-dash-links a:hover {
	color: var(--k37-white);
}

.k37-shop-panel {
	display: grid;
	gap: 1rem;
}

.k37-shop-panel__hint {
	margin: 0 0 0.9rem;
	font-size: 0.84rem;
	color: var(--k37-muted);
}

.k37-shop-panel__card {
	padding: 0.9rem;
	border: 1px solid var(--k37-border);
	border-radius: var(--k37-radius);
	background: rgba(8, 20, 36, 0.45);
}

.k37-shop-panel__head {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 0.75rem;
	margin-bottom: 0;
	list-style: none;
	cursor: pointer;
}

.k37-shop-panel__head h3 {
	margin: 0 0 0.25rem;
	font-size: 0.96rem;
}

.k37-shop-panel__head::-webkit-details-marker {
	display: none;
}

.k37-shop-panel__head-right {
	display: inline-flex;
	flex-direction: column;
	align-items: flex-end;
	gap: 0.3rem;
}

.k37-shop-panel__count {
	font-size: 0.75rem;
	color: var(--k37-muted);
}

.k37-shop-panel__form {
	padding-top: 0.8rem;
}

.k37-shop-panel__toolbar {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.45rem;
	margin-bottom: 0.65rem;
}

.k37-shop-panel__grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 0.45rem 0.7rem;
}

.k37-shop-panel__person {
	display: inline-flex;
	align-items: center;
	gap: 0.35rem;
	min-width: 0;
	font-size: 0.82rem;
	color: var(--k37-white);
}

.k37-shop-panel__member {
	color: var(--k37-muted);
	font-size: 0.76rem;
}

.k37-shop-panel__actions {
	display: flex;
	align-items: center;
	justify-content: flex-end;
	gap: 0.5rem;
	margin-top: 0.8rem;
}

.k37-notice {
	margin: 0 0 1.25rem;
	padding: 0.85rem 1rem;
	border-radius: var(--k37-radius);
	border: 1px solid var(--k37-border);
}

.k37-comp-event--joined {
	border-color: rgba(62, 207, 142, 0.35);
}

.k37-comp-event__status {
	font-size: 0.75rem;
	font-weight: 700;
	text-transform: uppercase;
	color: var(--k37-green);
}

.k37-header__auth-wp {
	min-width: 2rem;
	padding-inline: 0.45rem;
	opacity: 0.75;
}

/* Logowanie / rejestracja — pełna szerokość na desktopie */
@media (min-width: 769px) {
	.k37-auth-page {
		padding-top: calc(var(--k37-header-h) + 2rem);
	}

	.k37-auth-card--login {
		display: grid;
		grid-template-columns: minmax(280px, 42%) 1fr;
		grid-template-rows: 1fr auto;
		align-items: stretch;
	}

	.k37-auth-card--login .k37-auth-card__head {
		grid-column: 1;
		grid-row: 1;
		display: flex;
		flex-direction: column;
		justify-content: center;
		text-align: left;
		padding: 2.5rem 2.25rem;
		border-right: 1px solid var(--k37-border);
	}

	.k37-auth-card--login .k37-auth-card__subtitle {
		margin-inline: 0;
		max-width: none;
	}

	.k37-auth-card--login .k37-auth-card__body {
		grid-column: 2;
		grid-row: 1;
		display: flex;
		flex-direction: column;
		justify-content: center;
		padding: 2.5rem 2.75rem;
	}

	.k37-auth-card--login .k37-auth-card__foot {
		grid-column: 1 / -1;
		grid-row: 2;
	}

	.k37-auth-card--register .k37-auth-card__head {
		padding: 2.25rem 2.75rem 1.25rem;
	}

	.k37-auth-card--register .k37-auth-card__info {
		margin: 0 2.75rem 0.5rem;
	}

	.k37-auth-card--register .k37-auth-card__body {
		padding: 0 2.75rem 2rem;
	}

	.k37-auth-card--register .k37-auth-card__foot {
		padding: 1.15rem 2.75rem 1.75rem;
	}

	.k37-auth-card--register .k37-auth-form--register {
		display: grid;
		grid-template-columns: 1fr 1fr;
		gap: 0 2.5rem;
	}

	.k37-auth-card--register .k37-auth-section {
		grid-column: 1 / -1;
	}

	.k37-auth-card--register .k37-auth-form__submit {
		grid-column: 1 / -1;
		max-width: 420px;
		margin-inline: auto;
		width: 100%;
	}

	.k37-auth-page__back {
		text-align: center;
	}
}

@media (max-width: 640px) {
	.k37-auth-page {
		padding-top: calc(var(--k37-header-h) + 1.5rem);
		padding-bottom: 2.5rem;
	}

	.k37-auth-card__head {
		padding: 1.5rem 1.25rem 1rem;
	}

	.k37-auth-card__body {
		padding: 0 1.25rem 1.25rem;
	}

	.k37-auth-card__foot {
		padding: 1rem 1.25rem 1.25rem;
	}

	.k37-auth-card__info {
		margin-inline: 1rem;
	}

	.k37-auth-form__grid,
	.k37-auth-chips {
		grid-template-columns: 1fr;
	}

	.k37-auth-chip__box {
		flex-direction: row;
		justify-content: flex-start;
		min-height: auto;
		padding: 0.85rem 1rem;
		gap: 0.75rem;
	}

	.k37-auth-chip__label {
		text-align: left;
		font-size: 0.75rem;
	}

	.k37-dashboard__layout {
		grid-template-columns: 1fr;
	}

	.k37-dashboard__aside {
		position: static;
	}

	.k37-dashboard__stats {
		grid-template-columns: 1fr;
	}

	.k37-dashboard__hero {
		flex-direction: column;
	}

	.k37-dash-event {
		grid-template-columns: 1fr;
	}

	.k37-dash-event__thumb {
		max-width: 100%;
	}

	.k37-shop-panel__grid {
		grid-template-columns: 1fr;
	}

	.k37-shop-panel__head {
		flex-direction: column;
	}

	.k37-shop-panel__head-right {
		align-items: flex-start;
	}
}

@media (max-width: 900px) and (min-width: 641px) {
	.k37-dashboard__layout {
		grid-template-columns: 1fr;
	}

	.k37-dashboard__aside {
		position: static;
		display: grid;
		grid-template-columns: 1fr 1fr;
		gap: 1rem;
	}
}
