/* ============================================================
   Grouprides v2 – Look & feel: matches Boerse v2 wizard.
   Brand: #C1121C red, #222 dark, #f5f5f5 light surface.
   Class prefix:  gr2-*  (forms/cards/wizard)
                  grl-*  (public list)
                  grd-*  (public detail)
   ============================================================ */

.gr2-wrap,
.grl-wrap,
.grd-wrap {
	--gv-red: #C1121C;
	--gv-red-hover: #a30f18;
	--gv-dark: #222222;
	--gv-text: #2b2b2b;
	--gv-muted: #6b6b6b;
	--gv-border: #e3e3e3;
	--gv-border-strong: #cccccc;
	--gv-surface: #ffffff;
	--gv-surface-soft: #f7f7f7;
	--gv-surface-alt: #fafafa;
	--gv-shadow-sm: 0 1px 2px rgba(0,0,0,0.04);
	--gv-shadow-md: 0 2px 8px rgba(0,0,0,0.06);
	--gv-shadow-lg: 0 6px 24px rgba(0,0,0,0.08);
	--gv-radius: 10px;
	--gv-radius-sm: 6px;
	--gv-ctrl-h: 46px;
	--gv-ctrl-padding-y: 11px;
	--gv-ctrl-padding-x: 14px;
	--gv-ctrl-font: 15px;
	--gv-row-gap: 18px;

	color: var(--gv-text);
	font-size: 15px;
	line-height: 1.45;
}

.gr2-wrap,
.grl-wrap,
.grd-wrap {
	max-width: 960px;
	margin: 0 auto 60px;
	padding: 0 14px;
}

.gr2-wrap {
	max-width: 760px;
}

.gr2-wrap *,
.gr2-wrap *::before,
.gr2-wrap *::after,
.grl-wrap *,
.grl-wrap *::before,
.grl-wrap *::after,
.grd-wrap *,
.grd-wrap *::before,
.grd-wrap *::after {
	box-sizing: border-box;
}

/* ============================================================
   IPS override block – heavy specificity (mirrors boerse-v2)
   ============================================================ */
.gr2-wrap input.gr2-input,
.gr2-wrap select.gr2-input,
.gr2-wrap textarea.gr2-input,
body.ipsApp .gr2-wrap input.gr2-input,
body.ipsApp .gr2-wrap select.gr2-input,
body.ipsApp .gr2-wrap textarea.gr2-input {
	display: block !important;
	width: 100% !important;
	max-width: 100% !important;
	min-width: 0 !important;
	height: 46px !important;
	min-height: 46px !important;
	margin: 0 !important;
	padding: 11px 14px !important;
	font-size: 15px !important;
	font-family: inherit !important;
	font-weight: 400 !important;
	line-height: 1.4 !important;
	color: #2b2b2b !important;
	background-color: #ffffff !important;
	border: 1px solid #cccccc !important;
	border-radius: 6px !important;
	box-shadow: none !important;
	-webkit-appearance: none !important;
	-moz-appearance: none !important;
	appearance: none !important;
	outline: none !important;
	box-sizing: border-box !important;
}

.gr2-wrap select.gr2-input,
body.ipsApp .gr2-wrap select.gr2-input {
	background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'%3E%3Cpath fill='%23555' d='M0 0l5 6 5-6z'/%3E%3C/svg%3E") !important;
	background-repeat: no-repeat !important;
	background-position: right 14px center !important;
	background-size: 10px 6px !important;
	padding-right: 36px !important;
	text-overflow: ellipsis !important;
}

.gr2-wrap textarea.gr2-input,
body.ipsApp .gr2-wrap textarea.gr2-input {
	height: auto !important;
	min-height: 130px !important;
	resize: vertical !important;
	line-height: 1.5 !important;
}

.gr2-wrap input.gr2-input:focus,
.gr2-wrap select.gr2-input:focus,
.gr2-wrap textarea.gr2-input:focus {
	border-color: #222222 !important;
	box-shadow: 0 0 0 3px rgba(34, 34, 34, 0.08) !important;
}

.gr2-wrap input.gr2-input.is-invalid,
.gr2-wrap select.gr2-input.is-invalid,
.gr2-wrap textarea.gr2-input.is-invalid {
	border-color: #C1121C !important;
	box-shadow: 0 0 0 3px rgba(193, 18, 28, 0.10) !important;
}

.gr2-wrap button.gr2-btn,
.gr2-wrap a.gr2-btn,
body.ipsApp .gr2-wrap button.gr2-btn,
body.ipsApp .gr2-wrap a.gr2-btn {
	text-shadow: none !important;
	box-shadow: none !important;
	font-family: inherit !important;
}

/* ============================================================
   Page title
   ============================================================ */
.gr2-page-title,
.grl-page-title,
.grd-page-title {
	margin: 0 0 8px;
	font-size: 28px;
	font-weight: 700;
	line-height: 1.2;
	color: var(--gv-dark);
}

.gr2-page-sub,
.grl-page-sub,
.grd-page-sub {
	margin: 0 0 24px;
	color: var(--gv-muted);
	font-size: 15px;
	max-width: 60ch;
}

@media (max-width: 720px) {
	.gr2-page-title,
	.grl-page-title,
	.grd-page-title {
		font-size: 23px;
	}
}

/* ============================================================
   Step indicator (mirrors boerse-v2)
   ============================================================ */
.gr2-steps {
	list-style: none;
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	margin: 4px 0 28px;
	padding: 0;
	position: relative;
}

.gr2-steps::before {
	content: "";
	position: absolute;
	top: 17px;
	left: calc(100% / 6);
	right: calc(100% / 6);
	height: 2px;
	background: #e6e7e8;
	z-index: 0;
}

.gr2-step {
	position: relative;
	z-index: 1;
	flex: 1 1 0;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 8px;
	background: transparent;
	border: none;
	cursor: pointer;
	user-select: none;
	transition: color 0.18s;
}

.gr2-step:focus { outline: none; }

.gr2-step:focus-visible .gr2-step-circle {
	box-shadow: 0 0 0 4px rgba(193, 18, 28, 0.25);
}

.gr2-step-circle {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 36px;
	height: 36px;
	border-radius: 50%;
	background: #fff;
	color: var(--gv-muted);
	font-size: 14px;
	font-weight: 700;
	border: 2px solid #e6e7e8;
	transition: background 0.18s, border-color 0.18s, color 0.18s;
}

.gr2-step-label {
	font-size: 13px;
	font-weight: 500;
	color: var(--gv-muted);
	white-space: nowrap;
	transition: color 0.18s, font-weight 0.18s;
}

.gr2-step:hover .gr2-step-circle {
	border-color: var(--gv-dark);
	color: var(--gv-dark);
}

.gr2-step:hover .gr2-step-label {
	color: var(--gv-dark);
}

.gr2-step.is-active .gr2-step-circle {
	background: var(--gv-dark);
	border-color: var(--gv-dark);
	color: #fff;
}

.gr2-step.is-active .gr2-step-label {
	color: var(--gv-dark);
	font-weight: 600;
}

.gr2-step.is-done .gr2-step-circle {
	background: var(--gv-red);
	border-color: var(--gv-red);
	color: #fff;
}

.gr2-step.is-done .gr2-step-circle::before {
	content: "\f00c";
	font-family: "Font Awesome 5 Free";
	font-weight: 900;
	font-style: normal;
	font-size: 14px;
	line-height: 1;
}

.gr2-step.is-done .gr2-step-circle-num {
	display: none;
}

.gr2-step.is-done .gr2-step-label {
	color: var(--gv-text);
}

/* ============================================================
   Panels + Cards
   ============================================================ */
.gr2-panel {
	display: none;
	animation: gvFade 0.2s ease-out;
}

.gr2-panel.is-active {
	display: block;
}

@keyframes gvFade {
	from { opacity: 0; transform: translateY(4px); }
	to   { opacity: 1; transform: none; }
}

.gr2-card,
.grd-card {
	background: var(--gv-surface);
	border: 1px solid var(--gv-border);
	border-radius: var(--gv-radius);
	padding: 22px 22px 20px;
	margin-bottom: 18px;
	box-shadow: var(--gv-shadow-sm);
}

.gr2-card-head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	margin: 0 0 12px;
	flex-wrap: wrap;
}

.gr2-card-title {
	margin: 0;
	font-size: 17px;
	font-weight: 600;
	color: var(--gv-dark);
	display: flex;
	align-items: center;
	gap: 8px;
}

.gr2-card-title i.fa {
	color: var(--gv-red);
}

.gr2-help {
	font-size: 13px;
	color: var(--gv-muted);
	margin: 0 0 14px;
}

.gr2-info-line {
	display: flex;
	align-items: center;
	gap: 8px;
	margin: 14px 0 0;
	padding: 10px 12px;
	background: var(--gv-surface-soft);
	border-radius: var(--gv-radius-sm);
	font-size: 13px;
	color: var(--gv-muted);
}

.gr2-info-line i.fa {
	color: var(--gv-red);
}

/* ============================================================
   Alerts / notices
   ============================================================ */
.gr2-alert,
.grd-alert {
	display: flex;
	align-items: flex-start;
	gap: 10px;
	margin: 0 0 18px;
	padding: 12px 14px;
	border-radius: 10px;
	font-size: 14px;
	line-height: 1.45;
}

.gr2-alert--error,
.grd-alert--error {
	background: #fff4f4;
	border: 1px solid #f3c4c4;
	color: #8a1f1f;
}
[data-theme="night"] .gr2-alert--error,
[data-theme="night"] .grd-alert--error {
	background: #3A2426;
	border-color: #FF6B73;
	color: #FFD6D8;
}
.gr2-alert[hidden],
.grd-alert[hidden] { display: none; }
.gr2-chip-group.is-invalid { outline: 2px solid #C1121C; outline-offset: 4px; border-radius: 10px; }
[data-theme="night"] .gr2-chip-group.is-invalid { outline-color: #FF6B73; }
[data-theme="night"] .gr2-wrap input.gr2-input.is-invalid,
[data-theme="night"] .gr2-wrap select.gr2-input.is-invalid,
[data-theme="night"] .gr2-wrap textarea.gr2-input.is-invalid {
	border-color: #FF6B73 !important;
	box-shadow: 0 0 0 3px rgba(255, 107, 115, 0.18) !important;
}

.gr2-alert--success,
.grd-alert--success {
	background: #ecf8ec;
	border: 1px solid #b9e1b9;
	color: #1f6b1f;
}

.gr2-alert--info,
.grd-alert--info {
	background: #eef5ff;
	border: 1px solid #b9d3f5;
	color: #1f4d8a;
}

.gr2-alert .fa,
.grd-alert .fa {
	margin-top: 2px;
}

/* ============================================================
   Form fields
   ============================================================ */
.gr2-field {
	margin-bottom: var(--gv-row-gap);
}

.gr2-field-row {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: var(--gv-row-gap);
	align-items: start;
	margin-bottom: var(--gv-row-gap);
}

.gr2-field-row .gr2-field {
	margin-bottom: 0;
}

.gr2-label {
	display: block;
	font-size: 13px;
	font-weight: 600;
	color: var(--gv-dark);
	margin-bottom: 6px;
	min-height: 19px;
}

.gr2-req {
	color: var(--gv-red);
}

.gr2-optional {
	color: var(--gv-muted);
	font-weight: 400;
}

.gr2-input {
	display: block;
	width: 100%;
	height: var(--gv-ctrl-h);
	min-height: var(--gv-ctrl-h);
	padding: var(--gv-ctrl-padding-y) var(--gv-ctrl-padding-x);
	font-size: var(--gv-ctrl-font);
	font-family: inherit;
	line-height: 1.4;
	color: var(--gv-text);
	background: var(--gv-surface);
	border: 1px solid var(--gv-border-strong);
	border-radius: var(--gv-radius-sm);
	transition: border-color 0.15s, box-shadow 0.15s;
	-webkit-appearance: none;
	appearance: none;
	box-sizing: border-box;
}

.gr2-textarea {
	height: auto;
	min-height: 130px;
	resize: vertical;
	line-height: 1.5;
}

.gr2-select {
	background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'%3E%3Cpath fill='%23555' d='M0 0l5 6 5-6z'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: right 14px center;
	background-size: 10px 6px;
	padding-right: 36px;
}

.gr2-input-suffix {
	position: relative;
	display: block;
}

.gr2-input-suffix .gr2-input {
	padding-right: 56px;
}

.gr2-input-suffix-label {
	position: absolute;
	right: 14px;
	top: 50%;
	transform: translateY(-50%);
	font-size: 13px;
	font-weight: 600;
	color: var(--gv-muted);
	pointer-events: none;
	line-height: 1;
}

.gr2-pinmap {
	height: 280px;
	margin-top: 8px;
	border-radius: 10px;
	overflow: hidden;
	border: 1px solid var(--gv-border, #ddd);
	background: #e8e6e1;
}
.gr2-pinmap .leaflet-container {
	height: 100%;
	width: 100%;
	font-family: inherit;
}
[data-theme="night"] .gr2-pinmap {
	background: #31363d;
	border-color: #3d434b;
}
[data-theme="night"] .gr2-pinmap .leaflet-tile-pane {
	filter: invert(1) hue-rotate(180deg) brightness(.9) contrast(.92) saturate(.35);
}
.gr2-fieldhint--pin span {
	font-weight: 400;
	color: var(--gv-muted);
	white-space: normal;
}
.gr2-pin-reset {
	border: 0;
	background: transparent;
	padding: 0;
	font: inherit;
	font-size: 12px;
	color: var(--gv-muted);
	text-decoration: underline;
	cursor: pointer;
	white-space: nowrap;
}

.gr2-fieldhint {
	display: flex;
	justify-content: space-between;
	gap: 12px;
	margin-top: 6px;
	font-size: 12px;
	color: var(--gv-muted);
}

.gr2-fieldhint span:first-child:not(:only-child) {
	font-weight: 600;
	color: var(--gv-dark);
	white-space: nowrap;
}

/* "Important note" variant – e.g. reminder to state punctual vs. delayed start. */
.gr2-fieldhint--note {
	margin-top: 8px;
	padding: 8px 12px;
	border-radius: 8px;
	background: #fff6e0;
	border: 1px solid #f0deae;
	color: #6f5a16;
}
.gr2-fieldhint--note span { white-space: normal; }
.gr2-fieldhint--note i { color: #c79a16; }

/* ============================================================
   Sparte chips (multi-select via checkbox pills)
   ============================================================ */
.gr2-chip-group {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

.gr2-chip-input {
	position: absolute;
	opacity: 0;
	pointer-events: none;
}

.gr2-chip-label {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 8px 14px;
	background: #fff;
	border: 1px solid var(--gv-border-strong);
	border-radius: 999px;
	font-size: 14px;
	color: var(--gv-text);
	cursor: pointer;
	transition: background 0.15s, border-color 0.15s, color 0.15s, box-shadow 0.15s;
	user-select: none;
}

.gr2-chip-label:hover {
	border-color: var(--gv-dark);
	color: var(--gv-dark);
}

.gr2-chip-input:checked + .gr2-chip-label {
	background: var(--gv-dark);
	color: #fff;
	border-color: var(--gv-dark);
}
[data-theme="night"] .gr2-chip-label {
	background: var(--card);
	color: var(--ink);
	border-color: var(--line);
}
[data-theme="night"] .gr2-chip-label:hover {
	border-color: var(--accent);
	color: var(--ink);
}
[data-theme="night"] .gr2-chip-input:checked + .gr2-chip-label,
[data-theme="night"] .gr2-chip-input:checked + .gr2-chip-label:hover {
	background: var(--fill);
	color: var(--on-fill);
	border-color: var(--fill);
}

.gr2-chip-input:focus-visible + .gr2-chip-label {
	box-shadow: 0 0 0 3px rgba(193, 18, 28, 0.20);
}

.gr2-chip-label i.fa {
	font-size: 12px;
}

/* ============================================================
   Segmented control (Tempo, Profil)
   ============================================================ */
.gr2-seg {
	display: flex;
	flex-wrap: wrap;
	gap: 0;
	border: 1px solid var(--gv-border-strong);
	border-radius: var(--gv-radius-sm);
	overflow: hidden;
	background: #fff;
}

.gr2-seg input[type="radio"] {
	position: absolute;
	opacity: 0;
	pointer-events: none;
}

.gr2-seg-label {
	flex: 1 1 auto;
	padding: 12px 10px;
	text-align: center;
	font-size: 14px;
	color: var(--gv-text);
	cursor: pointer;
	border-right: 1px solid var(--gv-border);
	background: #fff;
	transition: background 0.15s, color 0.15s;
}

.gr2-seg-label:last-child {
	border-right: none;
}

.gr2-seg-label:hover {
	background: var(--gv-surface-soft);
}

.gr2-seg input[type="radio"]:checked + .gr2-seg-label {
	background: var(--gv-dark);
	color: #fff;
}

[data-theme="night"] .gr2-seg {
	background: var(--card);
	border-color: var(--line);
}
[data-theme="night"] .gr2-seg-label {
	background: var(--card);
	color: var(--ink);
	border-color: var(--line);
}
[data-theme="night"] .gr2-seg-label:hover {
	background: var(--field);
}
[data-theme="night"] .gr2-seg input[type="radio"]:checked + .gr2-seg-label {
	background: var(--fill);
	color: var(--on-fill);
	border-color: var(--fill);
}

.gr2-kind-block.is-off,
#gr_platform_other.is-off,
#gr_sts_field.is-off {
	display: none;
}

@media (max-width: 560px) {
	.gr2-seg {
		flex-direction: column;
	}
	.gr2-seg-label {
		border-right: none;
		border-bottom: 1px solid var(--gv-border);
	}
	.gr2-seg-label:last-child {
		border-bottom: none;
	}
}

/* ============================================================
   Date list (multi-date)
   ============================================================ */
.gr2-dates {
	display: flex;
	flex-direction: column;
	gap: 10px;
	margin-bottom: 10px;
}

.gr2-date {
	display: grid;
	grid-template-columns: 36px 1fr 110px 38px;
	align-items: center;
	gap: 8px;
	padding: 8px;
	background: var(--gv-surface-alt);
	border: 1px solid var(--gv-border);
	border-radius: var(--gv-radius-sm);
}

.gr2-date-num {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 28px;
	height: 28px;
	border-radius: 50%;
	background: var(--gv-dark);
	color: #fff;
	font-size: 12px;
	font-weight: 700;
	margin-left: 4px;
}

.gr2-date input.gr2-input {
	height: 40px !important;
	min-height: 40px !important;
	padding: 8px 12px !important;
	font-size: 14px !important;
}

/* Native date/time pickers – align with our look, remove webkit padding */
.gr2-date input[type="date"].gr2-input,
.gr2-date input[type="time"].gr2-input {
	-webkit-appearance: none !important;
	appearance: none !important;
	min-width: 0 !important;
	padding-right: 8px !important;
	background-image: none !important;
}

.gr2-date input[type="date"]::-webkit-calendar-picker-indicator,
.gr2-date input[type="time"]::-webkit-calendar-picker-indicator {
	cursor: pointer;
	opacity: 0.55;
	filter: invert(20%);
}

.gr2-date input[type="date"]:hover::-webkit-calendar-picker-indicator,
.gr2-date input[type="time"]:hover::-webkit-calendar-picker-indicator {
	opacity: 1;
}

.gr2-date-remove {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 34px;
	height: 34px;
	border-radius: 50%;
	border: 1px solid var(--gv-border-strong);
	background: #fff;
	color: var(--gv-muted);
	cursor: pointer;
	transition: background 0.15s, color 0.15s, border-color 0.15s;
}

.gr2-date-remove:hover {
	background: rgba(193,18,28,0.08);
	color: var(--gv-red);
	border-color: var(--gv-red);
}

.gr2-date-remove[disabled] {
	opacity: 0.3;
	cursor: not-allowed;
}

.gr2-add-date {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 10px 16px;
	background: #fff;
	border: 1px dashed var(--gv-border-strong);
	border-radius: var(--gv-radius-sm);
	color: var(--gv-dark);
	font-size: 14px;
	font-weight: 500;
	cursor: pointer;
	transition: border-color 0.15s, background 0.15s;
}

.gr2-add-date:hover {
	border-color: var(--gv-dark);
	background: var(--gv-surface-soft);
}

.gr2-add-date i.fa {
	color: var(--gv-red);
}

.gr2-add-date[disabled] {
	opacity: 0.5;
	cursor: not-allowed;
}

@media (max-width: 560px) {
	.gr2-date {
		grid-template-columns: 36px 1fr 38px;
	}
	.gr2-date-uhr {
		grid-column: 2 / 3;
	}
}

/* ============================================================
   GPX upload zone
   ============================================================ */
.gr2-gpx-zone {
	display: flex;
	align-items: center;
	gap: 14px;
	padding: 14px 16px;
	border: 1px dashed var(--gv-border-strong);
	border-radius: var(--gv-radius-sm);
	background: var(--gv-surface-alt);
	cursor: pointer;
	transition: border-color 0.15s, background 0.15s;
	position: relative;
}

.gr2-gpx-zone:hover {
	border-color: var(--gv-dark);
	background: #fff;
}

.gr2-gpx-zone i.fa {
	font-size: 26px;
	color: var(--gv-red);
}

.gr2-gpx-zone-text {
	display: flex;
	flex-direction: column;
	gap: 2px;
}

.gr2-gpx-zone-strong {
	font-size: 14px;
	font-weight: 600;
	color: var(--gv-dark);
}

.gr2-gpx-zone-hint {
	font-size: 12px;
	color: var(--gv-muted);
}

.gr2-gpx-zone input[type="file"] {
	position: absolute;
	inset: 0;
	opacity: 0;
	cursor: pointer;
}

.gr2-gpx-current {
	display: flex;
	align-items: center;
	gap: 8px;
	margin-top: 8px;
	padding: 8px 12px;
	background: #ecf8ec;
	border: 1px solid #b9e1b9;
	border-radius: var(--gv-radius-sm);
	font-size: 13px;
	color: #1f6b1f;
}

/* ============================================================
   Wizard nav buttons (mirrors boerse-v2)
   ============================================================ */
.gr2-nav {
	display: flex;
	gap: 10px;
	justify-content: space-between;
	margin-top: 4px;
	flex-wrap: wrap;
}

.gr2-btn,
.grd-btn,
.grl-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	padding: 10px 18px;
	font-size: 14px;
	font-weight: 500;
	font-family: inherit;
	line-height: 1.2;
	color: var(--gv-red);
	background: #fff;
	border: 1px solid var(--gv-red);
	border-radius: 999px;
	cursor: pointer;
	text-decoration: none;
	white-space: nowrap;
	transition: background 0.2s, border-color 0.2s, color 0.2s, box-shadow 0.2s, transform 0.05s;
}

.gr2-btn i,
.grd-btn i,
.grl-btn i {
	font-size: 14px;
}

.gr2-btn:hover,
.grd-btn:hover,
.grl-btn:hover {
	background: var(--gv-red);
	color: #fff;
	border-color: var(--gv-red);
	text-decoration: none;
	box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.gr2-btn:active,
.grd-btn:active,
.grl-btn:active {
	transform: translateY(1px);
}

.gr2-btn:disabled,
.gr2-btn.is-disabled,
.grd-btn:disabled,
.grl-btn:disabled {
	opacity: 0.55;
	cursor: not-allowed;
	pointer-events: none;
}

.gr2-btn--ghost,
.grd-btn--ghost,
.grl-btn--ghost {
	background: #fff;
	color: var(--gv-red);
	border-color: var(--gv-red);
}

.gr2-btn--ghost:hover,
.grd-btn--ghost:hover,
.grl-btn--ghost:hover {
	background: var(--gv-red);
	color: #fff;
}

.gr2-btn--primary,
.grd-btn--primary,
.grl-btn--primary {
	background: var(--gv-red);
	border-color: var(--gv-red);
	color: #fff;
}

.gr2-btn--primary:hover,
.grd-btn--primary:hover,
.grl-btn--primary:hover {
	background: var(--gv-red-hover);
	border-color: var(--gv-red-hover);
}

.gr2-btn--save,
.grd-btn--save {
	background: var(--gv-red);
	border-color: var(--gv-red);
	color: #fff;
}

.grd-btn--danger {
	color: #c1121c;
	border-color: rgba(193, 18, 28, 0.55);
	background: #fff;
}
.grd-btn--danger:hover,
.grd-btn--danger:focus {
	background: #c1121c;
	border-color: #c1121c;
	color: #ffffff;
}
.grd-btn--danger:hover i,
.grd-btn--danger:focus i {
	color: #ffffff;
}

.gr2-btn--save:hover,
.grd-btn--save:hover {
	background: var(--gv-red-hover);
	border-color: var(--gv-red-hover);
}

.gr2-btn--neutral {
	background: var(--gv-dark);
	color: #fff;
	border-color: var(--gv-dark);
}

.gr2-btn--neutral:hover {
	background: #000;
	border-color: #000;
}

.gr2-btn--danger {
	background: #fff;
	color: var(--gv-red);
	border-color: var(--gv-red);
}

/* ============================================================
   Public list (grouprides index)
   ============================================================ */
.grl-toolbar {
	display: flex;
	align-items: center;
	gap: 12px;
	flex-wrap: wrap;
	margin-bottom: 22px;
}

.grl-toolbar .grl-btn--primary {
	margin-left: auto;
}

.grl-mine-toolbar {
	display: flex;
	align-items: center;
	gap: 10px;
	flex-wrap: wrap;
	margin: 0 0 14px;
}

.grl-mine-btn {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	height: 38px;
	padding: 0 16px;
	border: 1px solid #d0d0d0;
	border-radius: 24px;
	background: #fff;
	color: #2b2b2b;
	font-size: 13px;
	font-weight: 600;
	text-decoration: none;
	white-space: nowrap;
	transition: all 0.15s ease;
}
.grl-mine-btn i { color: #6b6b6b; }
.grl-mine-btn:hover {
	border-color: var(--gv-red);
	color: var(--gv-red);
	text-decoration: none;
}
.grl-mine-btn:hover i { color: var(--gv-red); }

.grl-mine-btn.is-active {
	background: var(--gv-red);
	border-color: var(--gv-red);
	color: #fff;
}
.grl-mine-btn.is-active i,
.grl-mine-btn.is-active .grl-mine-badge { color: #fff; }
.grl-mine-btn.is-active .grl-mine-badge { background: rgba(255,255,255,0.22); }

.grl-mine-badge {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 22px;
	height: 20px;
	padding: 0 7px;
	border-radius: 10px;
	background: #f0f0f0;
	color: #2b2b2b;
	font-size: 11px;
	font-weight: 700;
	line-height: 1;
}

.grl-mine-btn--ghost {
	margin-left: auto;
	color: #6b6b6b;
	border-style: dashed;
}
.grl-mine-btn--ghost:hover {
	color: #2b2b2b;
	border-color: #6b6b6b;
}

.grl-list {
	display: flex;
	flex-direction: column;
	gap: 14px;
	margin: 0 0 30px;
	padding: 0;
	list-style: none;
}

.grl-item {
	display: flex;
	gap: 18px;
	padding: 18px;
	background: #fff;
	border: 1px solid var(--gv-border);
	border-radius: var(--gv-radius);
	box-shadow: var(--gv-shadow-sm);
	text-decoration: none;
	color: inherit;
	transition: box-shadow 0.18s, transform 0.05s, border-color 0.18s;
}

.grl-item:hover {
	box-shadow: var(--gv-shadow-md);
	border-color: var(--gv-border-strong);
	text-decoration: none;
	color: inherit;
}

.grl-date {
	flex: 0 0 90px;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	padding: 12px 4px;
	background: var(--gv-surface-soft);
	border-radius: var(--gv-radius-sm);
	text-align: center;
}

.grl-date-dow {
	font-size: 11px;
	text-transform: uppercase;
	color: var(--gv-muted);
	letter-spacing: 0.05em;
}

.grl-date-day {
	font-size: 32px;
	font-weight: 700;
	color: var(--gv-red);
	line-height: 1;
	margin: 2px 0;
}

.grl-date-mon {
	font-size: 12px;
	font-weight: 600;
	color: var(--gv-dark);
	text-transform: uppercase;
}

.grl-date-time {
	font-size: 12px;
	color: var(--gv-muted);
	margin-top: 6px;
}

.grl-body {
	flex: 1 1 auto;
	min-width: 0;
}

.grl-title {
	margin: 0 0 6px;
	font-size: 18px;
	font-weight: 600;
	color: var(--gv-dark);
	display: flex;
	align-items: center;
	gap: 10px;
	flex-wrap: wrap;
}

.grl-meta {
	display: flex;
	flex-wrap: wrap;
	gap: 14px;
	font-size: 13px;
	color: var(--gv-muted);
	margin-top: 6px;
}

.grl-meta-item {
	display: inline-flex;
	align-items: center;
	gap: 5px;
}

.grl-meta-item i.fa {
	color: var(--gv-red);
}

.grl-chips {
	display: flex;
	flex-wrap: wrap;
	gap: 5px;
	margin-top: 8px;
}

.grl-chip {
	display: inline-flex;
	align-items: center;
	padding: 3px 10px;
	background: var(--gv-surface-soft);
	color: var(--gv-dark);
	border-radius: 999px;
	font-size: 12px;
	font-weight: 500;
}

.grl-spots {
	margin-top: 8px;
	font-size: 13px;
	font-weight: 600;
	color: var(--gv-red);
}

.grl-spots.is-ok {
	color: #1f6b1f;
}

.grl-status {
	display: inline-flex;
	align-items: center;
	padding: 2px 8px;
	font-size: 11px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.05em;
	border-radius: 999px;
}

.grl-status--geplant   { background: #ecf8ec; color: #1f6b1f; }
.grl-status--ausgebucht{ background: #fff3e0; color: #c75a00; }
.grl-status--abgesagt  { background: #ffebee; color: #c1121c; }
.grl-status--verschoben{ background: #e3f2fd; color: #1565c0; }

.grl-item--cancelled { opacity: 0.72; }
.grl-item--cancelled .grl-title { text-decoration: line-through; text-decoration-color: rgba(193,18,28,0.55); text-decoration-thickness: 2px; }
.grl-item--cancelled .grl-title .grl-status { text-decoration: none; }

.grl-thumb {
	flex: 0 0 110px;
	width: 110px;
	height: 110px;
	border-radius: var(--gv-radius-sm);
	overflow: hidden;
	background: var(--gv-surface-soft);
	border: 1px solid var(--gv-border);
}
.grl-thumb img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}
.grl-item--cancelled .grl-thumb img { filter: grayscale(0.6); }
@media (max-width: 600px) {
	.grl-thumb { flex: 0 0 76px; width: 76px; height: 76px; }
}

.grd-hero-img {
	margin: 0 0 18px;
	border-radius: var(--gv-radius);
	overflow: hidden;
	background: var(--gv-surface-soft);
	border: 1px solid var(--gv-border);
	position: relative;
	line-height: 0;
}
.grd-hero-img img {
	display: block;
	width: 100%;
	height: auto;
	max-height: 420px;
	object-fit: cover;
}
.grd-hero-img-credit {
	position: absolute;
	bottom: 0;
	right: 0;
	margin: 0;
	padding: 4px 10px;
	font-size: 11px;
	color: #fff;
	background: rgba(0,0,0,0.55);
	border-top-left-radius: 6px;
	line-height: 1.3;
	letter-spacing: 0.02em;
}
@media (max-width: 600px) {
	.grd-hero-img img { max-height: 240px; }
}

.grl-empty {
	padding: 50px 20px;
	text-align: center;
	color: var(--gv-muted);
	background: var(--gv-surface-soft);
	border-radius: var(--gv-radius);
}

.grl-empty i.fa {
	font-size: 38px;
	color: var(--gv-border-strong);
	margin-bottom: 12px;
}

.grl-empty-title {
	font-size: 16px;
	font-weight: 600;
	color: var(--gv-dark);
	margin: 0 0 6px;
}

@media (max-width: 600px) {
	.grl-item {
		flex-direction: row;
		padding: 14px;
		gap: 14px;
	}
	.grl-date {
		flex: 0 0 72px;
	}
	.grl-date-day {
		font-size: 26px;
	}
}

/* ============================================================
   Public detail
   ============================================================ */
.grd-back {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	color: var(--gv-muted);
	font-size: 13px;
	margin-bottom: 14px;
	text-decoration: none;
}

.grd-back:hover {
	color: var(--gv-dark);
	text-decoration: none;
}

.grd-hero {
	background: #fff;
	border: 1px solid var(--gv-border);
	border-radius: var(--gv-radius);
	padding: 24px;
	margin-bottom: 18px;
	box-shadow: var(--gv-shadow-sm);
}

.grd-hero-top {
	display: flex;
	gap: 22px;
	align-items: flex-start;
	flex-wrap: wrap;
}

.grd-hero-date {
	flex: 0 0 auto;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	padding: 16px 10px;
	min-width: 100px;
	background: var(--gv-surface-soft);
	border-radius: var(--gv-radius);
}

.grd-hero-date-dow {
	font-size: 12px;
	text-transform: uppercase;
	color: var(--gv-muted);
	letter-spacing: 0.05em;
}

.grd-hero-date-day {
	font-size: 44px;
	font-weight: 800;
	color: var(--gv-red);
	line-height: 1;
	margin: 4px 0;
}

.grd-hero-date-mon {
	font-size: 14px;
	font-weight: 700;
	color: var(--gv-dark);
	text-transform: uppercase;
}

.grd-hero-date-year {
	font-size: 12px;
	color: var(--gv-muted);
	margin-top: 2px;
}

.grd-hero-date-time {
	margin-top: 10px;
	padding: 4px 10px;
	background: #fff;
	border-radius: 999px;
	font-size: 13px;
	font-weight: 600;
	color: var(--gv-dark);
	border: 1px solid var(--gv-border);
}

.grd-hero-body {
	flex: 1 1 280px;
	min-width: 0;
}

.grd-hero-title {
	margin: 0 0 10px;
	font-size: 26px;
	font-weight: 700;
	color: var(--gv-dark);
	line-height: 1.25;
}

.grd-hero-status {
	margin-bottom: 12px;
}

.grd-chips {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
	margin-bottom: 12px;
}

.grd-chip {
	display: inline-flex;
	align-items: center;
	gap: 5px;
	padding: 5px 12px;
	background: var(--gv-surface-soft);
	color: var(--gv-dark);
	border-radius: 999px;
	font-size: 13px;
}

.grd-loc {
	display: flex;
	align-items: center;
	gap: 6px;
	color: var(--gv-muted);
	font-size: 14px;
}

.grd-loc i.fa {
	color: var(--gv-red);
}

.grd-facts {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
	gap: 14px 22px;
	margin-bottom: 18px;
}

.grd-fact {
	display: flex;
	align-items: flex-start;
	gap: 10px;
}

.grd-fact-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 36px;
	height: 36px;
	border-radius: 50%;
	background: var(--gv-surface-soft);
	color: var(--gv-red);
	flex-shrink: 0;
}

.grd-fact-body {
	display: flex;
	flex-direction: column;
	gap: 0;
}

.grd-fact-key {
	font-size: 11px;
	text-transform: uppercase;
	color: var(--gv-muted);
	letter-spacing: 0.05em;
}

.grd-fact-val {
	font-size: 15px;
	font-weight: 600;
	color: var(--gv-dark);
}

.grd-desc {
	white-space: pre-wrap;
	line-height: 1.6;
	color: var(--gv-text);
}

.grd-section-title {
	margin: 0 0 10px;
	font-size: 16px;
	font-weight: 600;
	color: var(--gv-dark);
	display: flex;
	align-items: center;
	gap: 8px;
}

.grd-section-title i.fa {
	color: var(--gv-red);
}

.grd-legal {
	font-size: 14px;
	color: var(--gv-text);
	background: var(--gv-surface-soft);
	border-radius: var(--gv-radius-sm);
	padding: 14px 16px;
	white-space: pre-wrap;
	line-height: 1.55;
}
.grd-legal--notice,
.grd-legal-card .grd-legal,
.grd-legal-list { white-space: normal; }
.grd-legal--notice p { margin: 0 0 10px; }
.grd-legal--notice p:last-child {
	margin-bottom: 0;
	font-weight: 700;
	color: var(--gv-dark);
}
.grd-legal-list {
	margin: 0;
	padding-left: 20px;
}
.grd-legal-list li { margin-bottom: 7px; }
.grd-legal-list li:last-child { margin-bottom: 0; }

/* Liability notice card on the detail page */
.grd-legal-card {
	border-left: 4px solid var(--gv-red);
}
.grd-legal-details { margin-top: 12px; }
.grd-legal-summary {
	cursor: pointer;
	font-size: 14px;
	font-weight: 700;
	color: var(--gv-red);
	padding: 8px 0;
	list-style: none;
}
.grd-legal-summary::-webkit-details-marker { display: none; }
.grd-legal-summary i { margin-right: 6px; }
.grd-legal-details[open] .grd-legal-summary { margin-bottom: 8px; }

/* Backend: fixed-terms info box (replaces the old free-text field) */
.gr2-legal-fixed {
	background: var(--gv-surface-soft);
	border: 1px solid var(--gv-border);
	border-left: 4px solid var(--gv-red);
	border-radius: var(--gv-radius-sm);
	padding: 14px 16px;
	font-size: 14px;
	line-height: 1.55;
}
.gr2-legal-fixed p { margin: 0 0 10px; }
.gr2-legal-fixed p:last-child { margin-bottom: 0; }
.gr2-legal-fixed i { color: var(--gv-red); margin-right: 6px; }
.gr2-legal-hint {
	color: var(--gv-muted);
	font-size: 13px;
}
.gr2-legal-hint i { color: var(--gv-muted); }

.grd-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	padding-top: 10px;
}

.grd-cta {
	font-size: 15px;
	padding: 12px 22px;
}

/* XL primary CTA (Verbindlich anmelden) – used in the top action card */
.grd-cta--xl {
	font-size: 17px;
	padding: 16px 32px;
	min-width: 240px;
	letter-spacing: 0.02em;
	box-shadow: 0 2px 6px rgba(193, 18, 28, 0.18);
}
.grd-cta--xl:hover {
	box-shadow: 0 4px 12px rgba(193, 18, 28, 0.30);
	transform: translateY(-1px);
}

.grd-actions--center {
	justify-content: center;
}

.grd-cta-lead {
	margin: 0 0 14px;
	font-size: 14px;
	color: var(--gv-muted);
	text-align: center;
}

/* The top action card – elevated, accent border, sits between hero and facts */
.grd-cta-card--top {
	border: 1px solid rgba(193, 18, 28, 0.22);
	background: linear-gradient(180deg, #fff 0%, #fff8f8 100%);
	box-shadow: 0 4px 14px rgba(0, 0, 0, 0.05);
	text-align: center;
}
.grd-cta-card--top .grd-notice {
	text-align: left;
}

.grd-card--organizer {
	background: var(--gv-surface-soft);
}

/* Organizer tools – tile grid */
.grd-tools-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
	gap: 12px;
	margin-top: 14px;
}
.grd-tool {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 14px;
	background: var(--gv-surface);
	border: 1px solid var(--gv-border);
	border-radius: var(--gv-radius-sm);
	text-decoration: none;
	color: var(--gv-text);
	transition: border-color 0.15s ease, box-shadow 0.15s ease, transform 0.12s ease;
}
.grd-tool:hover {
	text-decoration: none;
	border-color: var(--gv-red);
	box-shadow: var(--gv-shadow-md);
	transform: translateY(-2px);
}
.grd-tool-ico {
	flex: 0 0 auto;
	width: 42px;
	height: 42px;
	border-radius: 50%;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	font-size: 18px;
	color: var(--gv-red);
	background: rgba(193,18,28,0.10);
}
.grd-tool-txt {
	display: flex;
	flex-direction: column;
	min-width: 0;
	line-height: 1.25;
}
.grd-tool-title {
	font-size: 15px;
	font-weight: 700;
	color: var(--gv-dark);
}
.grd-tool-sub {
	font-size: 12.5px;
	color: var(--gv-muted);
	margin-top: 2px;
}
.grd-tool--danger:hover { border-color: var(--gv-red); }
.grd-tool--danger .grd-tool-ico { color: #fff; background: var(--gv-red); }
.grd-tool--danger .grd-tool-title { color: var(--gv-red); }

.grd-notice {
	padding: 14px 16px;
	background: var(--gv-surface-soft);
	border-left: 4px solid var(--gv-red);
	border-radius: var(--gv-radius-sm);
	font-size: 14px;
	color: var(--gv-text);
	margin: 0 0 12px;
}

.grd-notice--ok {
	border-color: #1f6b1f;
	background: #ecf8ec;
	color: #1f4d1f;
}

.grd-notice--pending {
	border-color: #c75a00;
	background: #fff3e0;
	color: #6b4000;
}

.grd-notice--cancelled {
	border-color: #c1121c;
	background: #ffebee;
	color: #7a0a13;
	font-size: 15px;
}
.grd-notice--cancelled i { color: #c1121c; margin-right: 6px; }

@media (max-width: 600px) {
	.grd-hero {
		padding: 16px;
	}
	.grd-hero-title {
		font-size: 21px;
	}
	.grd-hero-date {
		min-width: 80px;
		padding: 12px 8px;
	}
	.grd-hero-date-day {
		font-size: 36px;
	}
}

/* ============================================================
   Pagination
   ============================================================ */
.pagination-cms--grouprides {
	margin: 18px 0 30px;
}

.pagination-cms--grouprides .pages_cms a {
	display: inline-block;
	padding: 7px 12px;
	margin: 0 2px;
	border-radius: 6px;
	font-size: 13px;
	color: var(--gv-dark);
	background: #fff;
	border: 1px solid var(--gv-border);
	text-decoration: none;
}

.pagination-cms--grouprides .pages_cms a:hover {
	border-color: var(--gv-dark);
}

.pagination-cms--grouprides .pages_cms a.active {
	background: var(--gv-red);
	color: #fff;
	border-color: var(--gv-red);
}

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 720px) {
	.gr2-card,
	.grd-card,
	.grd-hero {
		padding: 16px;
	}
	.gr2-field-row {
		grid-template-columns: 1fr;
	}
	.gr2-steps {
		margin-bottom: 22px;
	}
	.gr2-step-circle {
		width: 32px;
		height: 32px;
		font-size: 13px;
	}
	.gr2-step-label {
		font-size: 12px;
	}
	.gr2-steps::before {
		top: 15px;
	}
}

/* ===========================================================================
   Groupride 2026-06 enhancements: STS chips, organiser, treffpunkt,
   Strava/Komoot/Maps route buttons, share block, participant management.
   =========================================================================== */

/* Singletrail-Skala chips */
.grl-chip--sts,
.grd-chip--sts {
	background: #2f2f2f;
	color: #fff;
	font-weight: 700;
	letter-spacing: 0.02em;
}

/* Organiser line under hero */
.grd-organiser {
	margin-top: 4px;
	color: var(--gv-muted);
	font-size: 14px;
}

/* Treffpunkt line in map card */
.grd-treffpunkt {
	margin: 0 0 12px 0;
	font-size: 15px;
	font-weight: 600;
}
.grd-treffpunkt i {
	color: var(--gv-red);
	margin-right: 6px;
}
.grd-treffpunkt-loc {
	color: var(--gv-muted);
	font-weight: 400;
	font-size: 14px;
}

/* Komoot tour embed */
.grd-komoot-embed {
	margin-top: 16px;
	border-radius: 12px;
	overflow: hidden;
	border: 1px solid var(--gv-border);
	box-shadow: 0 2px 10px rgba(0,0,0,0.06);
	background: #f3f4f5;
}
.grd-komoot-embed iframe {
	display: block;
	width: 100%;
	height: 460px;
	border: 0;
}

/* Share block – uses the bikeboard red color scheme */
.grd-share-card {
	position: relative;
	overflow: hidden;
	color: #fff;
	border: none;
	background: var(--gv-red);
	box-shadow: 0 8px 24px rgba(193,18,28,0.22);
}
.grd-share-lead {
	display: flex;
	align-items: center;
	gap: 14px;
	margin-bottom: 16px;
}
.grd-share-ico {
	flex: 0 0 auto;
	width: 44px;
	height: 44px;
	border-radius: 50%;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	font-size: 19px;
	color: #fff;
	background: rgba(255,255,255,0.18);
}
.grd-share-title {
	font-size: 19px;
	font-weight: 800;
	line-height: 1.15;
}
.grd-share-sub {
	font-size: 14px;
	opacity: 0.9;
	margin-top: 2px;
}
.grd-share-linkbar {
	display: flex;
	align-items: stretch;
	gap: 8px;
	background: rgba(255,255,255,0.14);
	border: 1px solid rgba(255,255,255,0.28);
	border-radius: 12px;
	padding: 6px 6px 6px 14px;
}
.grd-share-url {
	flex: 1 1 auto;
	display: inline-flex;
	align-items: center;
	gap: 8px;
	min-width: 0;
	font-size: 14px;
	font-weight: 600;
	color: #fff;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}
.grd-share-url i { opacity: 0.75; }
.grd-share-copy {
	flex: 0 0 auto;
	display: inline-flex;
	align-items: center;
	gap: 7px;
	padding: 9px 18px;
	border: none;
	border-radius: 9px;
	font-size: 14px;
	font-weight: 700;
	font-family: inherit;
	background: #fff;
	color: var(--gv-red);
	cursor: pointer;
	white-space: nowrap;
	transition: transform 0.12s ease, background 0.15s ease, color 0.15s ease;
}
.grd-share-copy:hover { transform: translateY(-1px); }
.grd-share-copy.is-done { background: var(--gv-dark); color: #fff; }
.grd-share-copied {
	display: block;
	margin-top: 12px;
	font-size: 13px;
	font-weight: 700;
	color: #fff;
	opacity: 0;
	transform: translateY(4px);
	transition: opacity 0.2s ease, transform 0.2s ease;
}
.grd-share-copied.is-on { opacity: 1; transform: translateY(0); }
@media (max-width: 560px) {
	.grd-share-linkbar { flex-wrap: wrap; }
	.grd-share-url { flex-basis: 100%; }
	.grd-share-copy { width: 100%; justify-content: center; }
}

/* Forum-topic link card (discussion thread) */
.grd-forum-card {
	display: flex;
	align-items: center;
	gap: 14px;
	text-decoration: none;
	color: var(--gv-dark);
	border: 1px solid var(--gv-border-strong);
	background: linear-gradient(135deg, #fff 0%, #f7f4ef 100%);
	transition: transform 0.12s ease, box-shadow 0.15s ease, border-color 0.15s ease;
}
.grd-forum-card:hover {
	transform: translateY(-1px);
	border-color: var(--gv-red);
	box-shadow: 0 8px 24px rgba(193,18,28,0.12);
}
.grd-forum-ico {
	flex: 0 0 auto;
	width: 48px;
	height: 48px;
	border-radius: 50%;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	font-size: 20px;
	color: #fff;
	background: var(--gv-red);
}
.grd-forum-txt {
	flex: 1 1 auto;
	min-width: 0;
}
.grd-forum-title {
	display: block;
	font-size: 18px;
	font-weight: 800;
	line-height: 1.15;
	color: var(--gv-dark);
}
.grd-forum-sub {
	display: block;
	font-size: 14px;
	color: var(--gv-muted);
	margin-top: 3px;
}
.grd-forum-hint {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	margin-top: 8px;
	padding: 3px 10px;
	border-radius: 999px;
	font-size: 12px;
	font-weight: 700;
	color: #8a6d1f;
	background: #fff6e0;
	border: 1px solid #f0deae;
}
.grd-forum-hint i { font-size: 11px; }
.grd-forum-arrow {
	flex: 0 0 auto;
	color: var(--gv-red);
	font-size: 18px;
	transition: transform 0.15s ease;
}
.grd-forum-card:hover .grd-forum-arrow { transform: translateX(3px); }

/* Participant management table */
.grl-tn-table { overflow-x: auto; }
.grl-tn {
	width: 100%;
	border-collapse: collapse;
	font-size: 14px;
}
.grl-tn th {
	text-align: left;
	padding: 8px 10px;
	border-bottom: 2px solid var(--gv-border-strong);
	color: var(--gv-muted);
	font-size: 12px;
	text-transform: uppercase;
	letter-spacing: 0.03em;
}
.grl-tn td {
	padding: 10px;
	border-bottom: 1px solid var(--gv-border);
	vertical-align: top;
}
.grl-tn a { color: var(--gv-red); text-decoration: none; }
.grl-tn-actions { white-space: nowrap; text-align: right; }
.grl-tn-act {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 34px;
	height: 34px;
	border-radius: 6px;
	border: 1px solid var(--gv-border-strong);
	background: #fff;
	color: var(--gv-muted);
	cursor: pointer;
	margin-left: 4px;
}
.grl-tn-act:hover { background: var(--gv-red); color: #fff; border-color: var(--gv-red); }
.grl-tn-act--del:hover { background: #c1121c; border-color: #c1121c; }

@media (max-width: 680px) {
	.grl-tn thead { display: none; }
	.grl-tn, .grl-tn tbody, .grl-tn tr, .grl-tn td { display: block; width: 100%; }
	.grl-tn tr {
		border: 1px solid var(--gv-border);
		border-radius: 8px;
		margin-bottom: 10px;
		padding: 4px 0;
	}
	.grl-tn td {
		border-bottom: 1px dashed var(--gv-border);
		padding: 8px 12px;
	}
	.grl-tn td:last-child { border-bottom: none; }
	.grl-tn td[data-l]::before {
		content: attr(data-l);
		display: block;
		font-size: 11px;
		text-transform: uppercase;
		color: var(--gv-muted);
		margin-bottom: 2px;
	}
	.grl-tn-actions { text-align: left; }
}
