/*
 * Buraya Gitmeliyiz Buluşmaları.
 *
 * Built entirely from the shared tokens — no local palette, no second button
 * system, no independent community UI kit. Where the event module already owns
 * a control (the save bookmark, the share menu, the calendar action) this file
 * leaves it alone and only positions it.
 *
 * premium-system.css is not touched. Its hero and section-heading rules apply
 * to an explicit list of selectors and use !important; rather than edit that
 * list, the meet-up views reproduce the same scale from the same tokens, so the
 * typography matches the rest of the site without a specificity fight.
 *
 * Mobile-first: every layout starts as one column and gains columns at
 * min-width. Focus rings come from the global :where() rule and are left alone.
 */

.bgm-meetup-single,
.bgm-meetups-page,
.bgm-moderator-page {
	color: var(--bgm-color-text);
}

/*
 * The single meet-up page sits on --bgm-color-surface (near-white), matching
 * single-bgm_place.php's page background — its cards already share that same
 * colour, so the only thing separating a card from the page is the border +
 * shadow, never a background-colour step. The archive and moderator app
 * pages keep the warmer --bgm-color-bg cream instead; only this template was
 * asked to match the place detail page.
 */
.bgm-meetup-single {
	background: var(--bgm-color-surface);
}

.bgm-meetups-page,
.bgm-moderator-page {
	background: var(--bgm-color-bg);
}

.bgm-meetup-single *,
.bgm-meetups-page *,
.bgm-moderator-page * {
	box-sizing: border-box;
}

/*
 * .bgm-shell is defined by event.css, which only loads on event templates. The
 * archive and the application page are virtual routes, so they need it here.
 */
.bgm-meetups-page .bgm-shell,
.bgm-moderator-page .bgm-shell {
	width: min(var(--bgm-container), calc(100% - (2 * var(--bgm-gutter))));
	margin-inline: auto;
}

.bgm-meetup-single :where(h1, h2, h3) {
	margin: 0;
}

/* Icons inherit paint from their context, matching the calendar module. */
.bgm-meetup-single svg,
.bgm-meetups-page svg,
.bgm-moderator-page svg {
	fill: none;
	stroke: currentcolor;
	stroke-linecap: round;
	stroke-linejoin: round;
	stroke-width: 1.8;
}

/* ------------------------------------------------------------- breadcrumb */

.bgm-meetup-breadcrumb {
	display: flex;
	flex-wrap: wrap;
	gap: var(--bgm-space-2);
	align-items: center;
	padding-block: var(--bgm-space-6) 0;
	color: var(--bgm-color-text-soft);
	font-size: var(--bgm-text-sm);
}

/*
 * Breadcrumb links are small text, but a finger still has to hit them, so the
 * hit area is given a full touch height without changing how the trail reads.
 */
.bgm-meetup-breadcrumb a {
	display: inline-flex;
	min-height: 2.75rem;
	align-items: center;
	color: var(--bgm-color-text-muted);
	text-decoration: none;
}

.bgm-meetup-breadcrumb a:hover,
.bgm-meetup-breadcrumb a:focus-visible {
	color: var(--bgm-color-accent);
}

.bgm-meetup-breadcrumb [aria-current="page"] {
	color: var(--bgm-color-text);
	font-weight: var(--bgm-weight-semibold);
}

/* ------------------------------------------------------------- eyebrow/h */

.bgm-meetup-eyebrow {
	margin: 0 0 var(--bgm-space-3);
	color: var(--bgm-color-accent);
	font-family: var(--bgm-font-sans);
	font-size: var(--bgm-text-2xs);
	font-weight: var(--bgm-weight-bold);
	letter-spacing: var(--bgm-tracking-eyebrow);
	line-height: var(--bgm-leading-tight);
	text-transform: uppercase;
}

.bgm-meetups-hero h1,
.bgm-moderator-hero h1 {
	/* Slightly wider than the site's full-width heroes: this one shares its row
	   with the cover image, so 16ch would break most titles onto three lines. */
	max-width: 18ch;
	margin: 0;
	font-family: var(--bgm-font-heading);
	/* Large text needs negative tracking; the tokens already encode the pair. */
	font-size: var(--bgm-text-hero);
	font-weight: var(--bgm-weight-extrabold);
	letter-spacing: var(--bgm-tracking-hero);
	line-height: var(--bgm-leading-hero);
	text-wrap: balance;
	/* A single long word ("Moderatörleri") has no space to break at, so
	   default overflow-wrap:normal lets the box grow past its own narrow-
	   viewport container instead of shrinking — the page's real 320px
	   horizontal-scroll source. Only breaks mid-word when nothing else fits. */
	overflow-wrap: anywhere;
}

/*
 * Matches the "story header" tier event.css/base.css already give the first
 * content heading on the event, route and collection detail pages
 * (.bgm-event-story > header h2.bgm-managed-text and siblings: font-size
 * clamp(2.25rem, 3.5vw, 3.25rem), weight semibold) — this page's own
 * "Buluşma Hakkında" plays the identical role and was instead pulled from
 * the unrelated card-title scale below, which is why it read smaller and
 * heavier than the equivalent heading everywhere else on the site.
 */
.bgm-meetup-single .bgm-meetup-article > h2 {
	max-width: 24ch;
	margin: 0 0 var(--bgm-space-6);
	font-family: var(--bgm-font-heading);
	font-size: clamp(2.25rem, 3.5vw, 3.25rem);
	font-weight: var(--bgm-weight-semibold);
	letter-spacing: var(--bgm-tracking-card);
	line-height: var(--bgm-leading-card);
}

.bgm-meetup-visit-card h2,
.bgm-meetup-similar__header h2,
.bgm-moderator-shell section > h2 {
	max-width: 24ch;
	margin: 0 0 var(--bgm-space-6);
	font-family: var(--bgm-font-heading);
	font-size: var(--bgm-text-card);
	font-weight: var(--bgm-weight-extrabold);
	letter-spacing: var(--bgm-tracking-card);
	line-height: var(--bgm-leading-card);
}

/*
 * The page title itself: font-size/line-height come from #bgm-event-title's
 * own shared rules (premium-system.css above 1101px, event.css's own clamp
 * below it) — reused verbatim so this reads at the same scale the identical
 * id gives the title over on single-bgm_event.php, just laid out in the left
 * column here instead of over the hero photo. Only layout concerns
 * (max-width, spacing, wrapping) belong to this class.
 */
.bgm-meetup-article__title {
	max-width: 40ch;
	margin: 0 0 var(--bgm-space-6);
	overflow-wrap: anywhere;
}

.bgm-meetup-article__media {
	margin: 0;
}

.bgm-meetup-article__image {
	display: block;
	width: 100%;
	aspect-ratio: 16 / 9;
	border-radius: var(--bgm-radius-lg);
	object-fit: cover;
	box-shadow: var(--bgm-shadow-soft);
}

@media (max-width: 40rem) {
	.bgm-meetup-article__image {
		aspect-ratio: 4 / 3;
	}
}

/*
 * The intro summary and its action row, same as .bgm-meetup-article__title
 * above: moved down from the hero into the left column, so they need their
 * own light-background colour instead of .bgm-event-hero__summary's
 * on-media tone (illegible against this page's cream background). The
 * save/share buttons keep their shared classes unchanged — those already
 * default to a light-card look outside .bgm-event-hero__overlay, which is
 * exactly this context.
 */
.bgm-meetup-article__summary {
	max-width: 42rem;
	margin: 0 0 var(--bgm-space-6);
	color: var(--bgm-color-text-muted);
	font-size: var(--bgm-text-lg);
	line-height: var(--bgm-leading-body);
}

.bgm-meetup-article__actions {
	margin: 0 0 var(--bgm-space-8);
	padding-bottom: var(--bgm-space-8);
	border-bottom: var(--bgm-border-width) solid var(--bgm-color-border);
}

/* ------------------------------------------------------------- notice bar */

.bgm-meetup-notice {
	display: flex;
	flex-wrap: wrap;
	gap: var(--bgm-space-4);
	align-items: center;
	margin-top: var(--bgm-space-6);
	padding: var(--bgm-space-5);
	border: var(--bgm-border-width) solid var(--bgm-color-border);
	border-radius: var(--bgm-radius-lg);
	background: var(--bgm-color-surface);
}

.bgm-meetup-notice > div {
	flex: 1 1 14rem;
}

.bgm-meetup-notice.is-cancelled {
	border-color: color-mix(in srgb, var(--bgm-color-danger) 34%, var(--bgm-color-border));
	background: var(--bgm-color-danger-soft);
}

.bgm-meetup-notice__icon {
	display: grid;
	width: 2.25rem;
	height: 2.25rem;
	flex: 0 0 auto;
	border-radius: var(--bgm-radius-round);
	background: var(--bgm-color-surface);
	color: var(--bgm-color-text-muted);
	place-items: center;
}

.bgm-meetup-notice.is-cancelled .bgm-meetup-notice__icon {
	color: var(--bgm-color-danger-hover);
}

.bgm-meetup-notice__icon svg {
	width: 1.05rem;
	height: 1.05rem;
}

.bgm-meetup-notice strong {
	display: block;
	font-size: var(--bgm-text-base);
}

.bgm-meetup-notice p {
	margin: var(--bgm-space-1) 0 0;
	color: var(--bgm-color-text-muted);
	font-size: var(--bgm-text-sm);
}

/* --------------------------------------------------------------- sidebar */

/* Same proportions as .bgm-place-story-grid, so the two detail pages read
   as one system. */
.bgm-meetup-story {
	padding-top: clamp(3.5rem, 7vw, 6rem);
}

.bgm-meetup-story-grid {
	display: grid;
	grid-template-columns: minmax(0, 1.65fr) minmax(17rem, 1fr);
	gap: clamp(2.5rem, 5vw, 4.5rem);
	align-items: start;
}

.bgm-meetup-article > * + * {
	margin-top: var(--bgm-space-6);
}

/* Same sticky container pattern as .bgm-place-visit: a plain grid of
   independently-boxed cards, not one big box. */
.bgm-meetup-visit {
	position: sticky;
	top: var(--bgm-space-8);
	display: grid;
	gap: var(--bgm-space-5);
	min-width: 0;
}

.bgm-meetup-visit-card {
	padding: clamp(1.5rem, 3vw, 2.25rem);
	border: var(--bgm-border-width) solid var(--bgm-color-border);
	border-radius: var(--bgm-radius-lg);
	background: var(--bgm-color-surface);
	box-shadow: var(--bgm-shadow-soft);
}

.bgm-meetup-visit-card h2 {
	margin-bottom: var(--bgm-space-5);
	font-size: clamp(1.6rem, 2.4vw, 2rem);
}

/*
 * The Katılım card is the page's one primary decision point, so it gets a
 * distinct, richer shell — a brand-gradient top edge, a faint warm wash and
 * a deeper shadow — while every other sidebar card keeps the plain chrome
 * above. Restraint on purpose: no change to type scale or copy, only to the
 * card surface itself.
 */
.bgm-meetup-visit-card--featured {
	position: relative;
	overflow: hidden;
	border-color: color-mix(in srgb, var(--bgm-color-primary) 14%, var(--bgm-color-border));
	border-radius: var(--bgm-radius-xl);
	background:
		radial-gradient(120% 140% at 100% 0%, color-mix(in srgb, var(--bgm-color-accent-soft) 55%, transparent) 0%, transparent 55%),
		var(--bgm-color-surface);
	box-shadow: var(--bgm-shadow-lift);
}

.bgm-meetup-visit-card--featured::before {
	position: absolute;
	inset: 0 0 auto 0;
	height: 0.3rem;
	background: linear-gradient(90deg, var(--bgm-color-primary) 0%, var(--bgm-color-accent) 60%, var(--bgm-color-sparkle) 100%);
	content: "";
}

.bgm-meetup-visit-card dl {
	display: grid;
	gap: 0;
	margin: 0;
}

.bgm-meetup-visit-row {
	padding-block: var(--bgm-space-4);
	border-top: var(--bgm-border-width) solid var(--bgm-color-border);
}

.bgm-meetup-visit-row:first-child {
	padding-top: 0;
	border-top: 0;
}

/* Same dt/dd colour pair as single-bgm_place.php's .bgm-place-visit card:
   a soft label, a muted value — never the full-strength page ink, which the
   place page reserves for prose and headings, not for every field. */
.bgm-meetup-visit-row dt {
	display: flex;
	gap: var(--bgm-space-2);
	align-items: center;
	margin-bottom: var(--bgm-space-2);
	color: var(--bgm-color-text-soft);
	font-size: var(--bgm-text-2xs);
	font-weight: var(--bgm-weight-extrabold);
	letter-spacing: var(--bgm-tracking-eyebrow);
	text-transform: uppercase;
}

.bgm-meetup-visit-row__icon {
	display: grid;
	width: 1.5rem;
	height: 1.5rem;
	flex: 0 0 auto;
	border-radius: var(--bgm-radius-round);
	background: var(--bgm-color-primary-soft);
	color: var(--bgm-color-primary);
	place-items: center;
}

.bgm-meetup-visit-row__icon svg {
	width: 0.85rem;
	height: 0.85rem;
}

.bgm-meetup-visit-row dd {
	margin: 0;
	color: var(--bgm-color-text-muted);
	font-size: var(--bgm-text-sm);
	font-weight: var(--bgm-weight-semibold);
	line-height: 1.58;
}

.bgm-meetup-visit-row dd small {
	display: block;
	margin-top: 0.15rem;
	color: var(--bgm-color-text-soft);
	font-size: var(--bgm-text-2xs);
	font-weight: var(--bgm-weight-semibold);
}

.bgm-meetup-visit-actions {
	display: grid;
	gap: var(--bgm-space-3);
	margin-top: var(--bgm-space-6);
}

.bgm-meetup-visit-actions .bgm-meetup-button,
.bgm-meetup-visit-actions .bgm-meetup-going,
.bgm-meetup-visit-actions .bgm-meetup-cancel {
	width: 100%;
}

.bgm-meetup-visit-secondary {
	display: flex;
	flex-wrap: wrap;
	gap: var(--bgm-space-2);
	align-items: center;
	margin-top: var(--bgm-space-4);
	padding-top: var(--bgm-space-4);
	border-top: var(--bgm-border-width) solid var(--bgm-color-border);
}

.bgm-meetup-visit-secondary .bgm-calendar-action,
.bgm-meetup-visit-secondary .bgm-report-trigger {
	width: 100%;
}

.bgm-meetup-visit-secondary .bgm-calendar-button,
.bgm-meetup-visit-secondary .bgm-calendar-reminder,
.bgm-meetup-visit-secondary .bgm-report-trigger,
.bgm-meetup-visit-secondary .bgm-meetup-visit-secondary__save {
	width: 100%;
	min-height: 2.75rem;
	border-radius: var(--bgm-button-radius);
}

/*
 * Matches "Takvimime Ekle" right above it in this card — not the teal
 * .bgm-calendar-button was actually written for, but the neutral ink-on-
 * transparent look it *renders* as here: base.css's own button[type="button"]
 * reset (border-color: var(--bgm-color-border); color: var(--bgm-color-
 * text);) carries element+attribute specificity, which already outranks
 * .bgm-calendar-button's plain class before this rule ever gets involved.
 * Matching that actual rendered colour directly, rather than the teal token
 * calendar.css itself reaches for, is what makes the two buttons look like a
 * pair. Needs button+class specificity (and !important on colour) to outrank
 * .bgm-save-button's own icon-only circle base (home.css, same
 * button.bgm-save-button specificity, !important) — the same technique
 * .bgm-event-sidebar-save__button already uses.
 */
button.bgm-meetup-visit-secondary__save {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: var(--bgm-space-2);
	padding: 0 1.2rem;
	border: var(--bgm-border-width) solid var(--bgm-color-border);
	background-color: transparent !important;
	background-image: none !important;
	color: var(--bgm-color-text) !important;
	font-size: var(--bgm-text-sm);
	font-weight: var(--bgm-weight-extrabold);
}

button.bgm-meetup-visit-secondary__save:hover,
button.bgm-meetup-visit-secondary__save:focus-visible {
	border-color: var(--bgm-color-text-muted);
	background-color: transparent !important;
	background-image: none !important;
	color: var(--bgm-color-text) !important;
}

button.bgm-meetup-visit-secondary__save.is-saved {
	border-color: var(--bgm-color-primary);
	background-color: var(--bgm-leaf-100) !important;
	background-image: none !important;
	color: var(--bgm-color-primary) !important;
}

.bgm-meetup-visit-secondary__save svg {
	width: 1.15rem;
	height: 1.15rem;
	flex: 0 0 auto;
}

.bgm-meetup-capacity {
	max-width: 16rem;
	margin-top: var(--bgm-space-2);
}

.bgm-meetup-capacity-bar {
	width: 100%;
	height: 0.625rem;
	border-radius: var(--bgm-radius-pill);
	background: var(--bgm-color-accent-soft);
	box-shadow: inset 0 1px 2px rgb(var(--bgm-navy-rgb) / 0.06);
	overflow: hidden;
}

.bgm-meetup-capacity-bar__fill {
	display: block;
	height: 100%;
	border-radius: inherit;
	background: linear-gradient(90deg, var(--bgm-color-accent), var(--bgm-color-accent-hover));
	box-shadow: 0 0 0.6rem rgb(var(--bgm-coral-rgb) / 0.45);
	transition: width var(--bgm-duration-slow) var(--bgm-ease-out);
}

.bgm-meetup-capacity-note {
	display: inline-flex;
	margin: var(--bgm-space-3) 0 0;
	padding: 0.25rem 0.7rem;
	border-radius: var(--bgm-radius-pill);
	background: var(--bgm-color-accent-soft);
	color: var(--bgm-color-accent-text-on-soft);
	font-size: var(--bgm-text-2xs);
	font-weight: var(--bgm-weight-extrabold);
	letter-spacing: var(--bgm-tracking-eyebrow);
	text-transform: uppercase;
}

/* ---------------------------------------------------------------- actions */

.bgm-meetup-actions {
	display: flex;
	flex-wrap: wrap;
	gap: var(--bgm-space-3);
	align-items: center;
	margin-top: var(--bgm-space-7);
	transition: opacity var(--bgm-duration-normal) var(--bgm-ease-out);
}

.bgm-meetup-actions.is-updating {
	opacity: 0.6;
}

[data-bgm-meetup-count].is-updated {
	animation: bgm-count-flash var(--bgm-duration-slow) var(--bgm-ease-out);
}

@keyframes bgm-count-flash {
	from {
		color: var(--bgm-color-accent);
	}

	to {
		color: inherit;
	}
}

.bgm-meetup-button {
	display: inline-flex;
	min-height: 3rem;
	align-items: center;
	justify-content: center;
	gap: var(--bgm-space-2);
	padding: var(--bgm-button-padding);
	border: var(--bgm-border-width) solid var(--bgm-button-border);
	border-radius: var(--bgm-button-radius);
	background: var(--bgm-button-bg);
	color: var(--bgm-button-text);
	font-family: var(--bgm-font-sans);
	font-size: var(--bgm-button-font-size);
	font-weight: var(--bgm-button-font-weight);
	line-height: 1;
	text-decoration: none;
	cursor: pointer;
	transition:
		background-color var(--bgm-duration-fast) ease,
		border-color var(--bgm-duration-fast) ease,
		transform var(--bgm-duration-fast) var(--bgm-ease-out);
}

.bgm-meetup-button:hover {
	border-color: var(--bgm-button-bg-hover);
	background: var(--bgm-button-bg-hover);
	color: var(--bgm-button-text);
}

/* The one action every visitor is actually here to take gets a resting
   shadow and a lift on hover, instead of sitting as flat as the quieter
   cancel/report/waitlist buttons that share this same class. */
.bgm-meetup-button[data-bgm-meetup-join] {
	box-shadow: 0 0.6rem 1.4rem rgb(var(--bgm-navy-rgb) / 0.18);
}

.bgm-meetup-button[data-bgm-meetup-join]:hover {
	box-shadow: 0 0.85rem 1.8rem rgb(var(--bgm-navy-rgb) / 0.22);
	transform: translateY(-0.1rem);
}

/* Feedback belongs on the press, not on the release. */
.bgm-meetup-button:active {
	transform: scale(0.98);
}

.bgm-meetup-button[disabled],
.bgm-meetup-button[aria-disabled="true"] {
	border-color: var(--bgm-color-border);
	background: var(--bgm-color-border);
	color: var(--bgm-color-text-soft);
	cursor: not-allowed;
	transform: none;
}

.bgm-meetup-button--quiet {
	border-color: var(--bgm-color-border);
	background: var(--bgm-color-surface);
	color: var(--bgm-color-text);
}

.bgm-meetup-button--quiet:hover {
	border-color: var(--bgm-color-text-muted);
	background: var(--bgm-color-surface);
	color: var(--bgm-color-text);
}

/*
 * base.css normalises every real <button> — including the attribute-qualified
 * button[type="button"] — to the body text colour and the neutral border. That
 * selector carries element + attribute specificity, which outranks a single
 * class, so every .bgm-meetup-button rendered as a <button> was quietly
 * painting dark navy text on its dark navy ground while the <a> variants
 * (Haritada Gör, Değerlendir) looked correct. Matching the same specificity
 * here — element + class, in a stylesheet that always loads after base.css —
 * restores the button tokens without weakening the base rule every other form
 * control in the project still depends on, and without an !important.
 */
button.bgm-meetup-button {
	border-color: var(--bgm-button-border);
	color: var(--bgm-button-text);
}

button.bgm-meetup-button:hover {
	border-color: var(--bgm-button-bg-hover);
	color: var(--bgm-button-text);
}

button.bgm-meetup-button[disabled],
button.bgm-meetup-button[aria-disabled="true"] {
	border-color: var(--bgm-color-border);
	color: var(--bgm-color-text-soft);
}

button.bgm-meetup-button--quiet,
button.bgm-meetup-button--quiet:hover {
	color: var(--bgm-color-text);
}

/*
 * Participation state is never carried by colour alone: there is a check mark,
 * the word "Katılıyorsun", and a border change.
 */
.bgm-meetup-going {
	display: inline-flex;
	min-height: 3rem;
	align-items: center;
	gap: var(--bgm-space-2);
	margin: 0;
	padding: var(--bgm-button-padding);
	border: var(--bgm-border-width-strong) solid var(--bgm-color-success);
	border-radius: var(--bgm-button-radius);
	background: var(--bgm-color-success-soft);
	color: var(--bgm-color-success-hover);
	font-size: var(--bgm-button-font-size);
	font-weight: var(--bgm-weight-extrabold);
	line-height: 1;
}

.bgm-meetup-going__mark {
	display: grid;
	width: 1.25rem;
	height: 1.25rem;
	flex: 0 0 auto;
	border-radius: var(--bgm-radius-round);
	background: var(--bgm-color-success);
	color: var(--bgm-color-surface);
	place-items: center;
	animation: bgm-confirm-in var(--bgm-duration-slow) var(--bgm-ease-out);
}

.bgm-meetup-going__mark svg {
	width: 0.75rem;
	height: 0.75rem;
	stroke-width: 3;
}

.bgm-meetup-cancel {
	display: inline-flex;
	min-height: 2.75rem;
	align-items: center;
	padding: var(--bgm-space-2) var(--bgm-space-4);
	border: var(--bgm-border-width) solid transparent;
	border-radius: var(--bgm-radius-pill);
	background: none;
	color: var(--bgm-color-text-muted);
	font-family: inherit;
	font-size: var(--bgm-text-sm);
	font-weight: var(--bgm-weight-semibold);
	text-decoration: none;
	cursor: pointer;
	transition:
		background-color var(--bgm-duration-fast) ease,
		border-color var(--bgm-duration-fast) ease,
		color var(--bgm-duration-fast) ease;
}

.bgm-meetup-cancel:hover,
.bgm-meetup-cancel:focus-visible {
	border-color: color-mix(in srgb, var(--bgm-color-danger-hover) 24%, transparent);
	background: var(--bgm-color-danger-soft);
	color: var(--bgm-color-danger-hover);
}

/*
 * base.css's button[type="button"] selector (element + attribute) outranks
 * this single class the same way it did for .bgm-meetup-button (see the note
 * above bgm-meetup-button) — matching the element here keeps the intended
 * quiet, muted colour instead of the full-strength body text colour.
 */
button.bgm-meetup-cancel {
	color: var(--bgm-color-text-muted);
}

button.bgm-meetup-cancel:hover,
button.bgm-meetup-cancel:focus-visible {
	color: var(--bgm-color-danger-hover);
}

.bgm-meetup-closed {
	display: inline-flex;
	min-height: 3rem;
	align-items: center;
	margin: 0;
	padding: var(--bgm-button-padding);
	border: var(--bgm-border-width) solid var(--bgm-color-border);
	border-radius: var(--bgm-button-radius);
	background: var(--bgm-color-surface);
	color: var(--bgm-color-text-muted);
	font-size: var(--bgm-text-sm);
	font-weight: var(--bgm-weight-bold);
}

.bgm-meetup-actions__hint,
.bgm-meetup-actions__status {
	width: 100%;
	margin: 0;
	color: var(--bgm-color-text-soft);
	font-size: var(--bgm-text-sm);
}

.bgm-meetup-actions__status:empty {
	display: none;
}

.bgm-meetup-actions__status.is-error {
	color: var(--bgm-color-danger-hover);
	font-weight: var(--bgm-weight-semibold);
}

.bgm-meetup-actions__status.is-success {
	color: var(--bgm-color-success-hover);
	font-weight: var(--bgm-weight-semibold);
}

/* ------------------------------------------------------- bekleme listesi */

/*
 * Waiting is a state, not an achievement, so it borrows the participation
 * badge's shape and drops its colour: the same clarity, none of the celebration
 * that belongs to a confirmed seat. State is carried by the clock mark and the
 * words, never by colour alone.
 */
.bgm-meetup-going.is-waiting {
	border-color: var(--bgm-color-border);
	background: var(--bgm-color-surface);
	color: var(--bgm-color-text);
}

.bgm-meetup-going.is-waiting .bgm-meetup-going__mark {
	background: transparent;
	color: var(--bgm-color-text-muted);
	animation: none;
}

.bgm-meetup-going.is-waiting .bgm-meetup-going__mark svg {
	width: 1.1rem;
	height: 1.1rem;
	fill: none;
	stroke: currentcolor;
	stroke-width: 2;
}

.bgm-waitlist-position,
.bgm-waitlist-count {
	width: 100%;
	margin: 0;
	color: var(--bgm-color-text-soft);
	font-size: var(--bgm-text-sm);
}

.bgm-waitlist-position {
	font-weight: var(--bgm-weight-semibold);
	color: var(--bgm-color-text);
}

/*
 * The offer is the one moment on this page that genuinely deserves emphasis, so
 * it becomes a small panel rather than another button in the row. It stays
 * calm: an accent hairline and a tinted ground, no alarm colour and no
 * countdown — the deadline is a sentence, computed on the server, and it does
 * not tick.
 */
.bgm-waitlist-offer {
	display: flex;
	width: 100%;
	flex-direction: column;
	gap: var(--bgm-space-3);
	padding: var(--bgm-space-5);
	border: var(--bgm-border-width-strong) solid var(--bgm-color-accent);
	border-radius: var(--bgm-radius-lg);
	background: var(--bgm-color-accent-soft);
}

.bgm-waitlist-offer__title {
	display: flex;
	align-items: center;
	gap: var(--bgm-space-2);
	margin: 0;
	color: var(--bgm-color-accent-text-on-soft);
	font-size: var(--bgm-text-lg);
	font-weight: var(--bgm-weight-extrabold);
	line-height: 1.2;
}

.bgm-waitlist-offer__mark {
	display: grid;
	width: 1.375rem;
	height: 1.375rem;
	flex: 0 0 auto;
	border-radius: var(--bgm-radius-round);
	background: var(--bgm-color-accent);
	color: var(--bgm-color-surface);
	place-items: center;
	animation: bgm-confirm-in var(--bgm-duration-slow) var(--bgm-ease-out);
}

.bgm-waitlist-offer__mark svg {
	width: 0.8rem;
	height: 0.8rem;
	stroke-width: 3;
}

.bgm-waitlist-offer__copy {
	margin: 0;
	color: var(--bgm-color-text);
	font-size: var(--bgm-text-base);
}

.bgm-waitlist-offer__actions {
	display: flex;
	flex-wrap: wrap;
	gap: var(--bgm-space-3);
	align-items: center;
}

.bgm-waitlist-offer__deadline {
	margin: 0;
	color: var(--bgm-color-text-soft);
	font-size: var(--bgm-text-sm);
}

.bgm-waitlist-offer__deadline strong {
	color: var(--bgm-color-text);
}

@media (prefers-reduced-motion: reduce) {
	.bgm-waitlist-offer__mark {
		animation: none;
	}
}

.bgm-meetup-similar {
	padding-block: var(--bgm-section-space);
}

/*
 * Matches .bgm-event-story__content exactly: full-strength ink and a
 * viewport-responsive size, not the muted/flat scale meta rows use. Body
 * copy is the thing a visitor came here to read — it shouldn't be quieter
 * than the equivalent editorial text on the event/route/collection pages.
 */
.bgm-meetup-prose {
	max-width: var(--bgm-content-measure);
	color: var(--bgm-color-text);
	font-size: clamp(1rem, 1.3vw, 1.16rem);
	line-height: var(--bgm-leading-body);
}

.bgm-meetup-prose > * + * {
	margin-top: var(--bgm-space-4);
}

/* Card chrome (border/radius/background/shadow/padding) comes from the
   .bgm-meetup-visit-card class this element always carries alongside
   .bgm-meetup-aside now — nesting a card inside a card would double the
   border. Only the internal block layout stays here. */
.bgm-meetup-aside {
	display: grid;
	gap: var(--bgm-space-6);
}


.bgm-meetup-aside__block h3 {
	display: flex;
	gap: var(--bgm-space-2);
	align-items: center;
	margin: 0 0 var(--bgm-space-3);
	font-family: var(--bgm-font-sans);
	font-size: var(--bgm-text-sm);
	font-weight: var(--bgm-weight-bold);
	letter-spacing: var(--bgm-tracking-normal);
}

.bgm-meetup-aside__icon {
	display: grid;
	width: 1.75rem;
	height: 1.75rem;
	flex: 0 0 auto;
	border-radius: var(--bgm-radius-sm);
	background: var(--bgm-color-nature);
	color: var(--bgm-color-success-hover);
	place-items: center;
}

.bgm-meetup-aside__icon svg {
	width: 0.95rem;
	height: 0.95rem;
}

.bgm-meetup-aside ul {
	display: grid;
	gap: var(--bgm-space-2);
	margin: 0;
	padding: 0;
	list-style: none;
}

.bgm-meetup-aside li {
	position: relative;
	padding-left: var(--bgm-space-5);
	color: var(--bgm-color-text-muted);
	font-size: var(--bgm-text-sm);
	line-height: var(--bgm-leading-body);
}

.bgm-meetup-aside li::before {
	position: absolute;
	top: 0.6em;
	left: 0.25rem;
	width: 0.35rem;
	height: 0.35rem;
	border-radius: var(--bgm-radius-round);
	background: var(--bgm-color-accent);
	content: "";
}

.bgm-meetup-aside p {
	margin: 0;
	color: var(--bgm-color-text-muted);
	font-size: var(--bgm-text-sm);
	line-height: var(--bgm-leading-body);
}

/* --------------------------------------------------------- meeting point */

/*
 * Deliberately not a .bgm-meetup-visit-card: this sits in the left column
 * under Buluşma Akışı as a quiet, single-line-height strip rather than a
 * second tall card competing with the Katılım sidebar for attention.
 */
.bgm-meetup-meeting-point {
	display: flex;
	flex-wrap: wrap;
	gap: var(--bgm-space-3) var(--bgm-space-4);
	align-items: center;
	padding: var(--bgm-space-4) var(--bgm-space-5);
	border: var(--bgm-border-width) solid var(--bgm-color-border);
	border-radius: var(--bgm-radius-lg);
	background: var(--bgm-color-surface);
}

.bgm-meetup-meeting-point__icon {
	display: grid;
	width: 2.25rem;
	height: 2.25rem;
	flex: 0 0 auto;
	border-radius: var(--bgm-radius-round);
	background: var(--bgm-color-primary-soft);
	color: var(--bgm-color-primary);
	place-items: center;
}

.bgm-meetup-meeting-point__icon svg {
	width: 1.1rem;
	height: 1.1rem;
}

.bgm-meetup-meeting-point__copy {
	display: grid;
	flex: 1 1 14rem;
	min-width: 0;
	gap: 0.15rem;
}

.bgm-meetup-meeting-point__label {
	color: var(--bgm-color-text-soft);
	font-size: var(--bgm-text-2xs);
	font-weight: var(--bgm-weight-extrabold);
	letter-spacing: var(--bgm-tracking-eyebrow);
	text-transform: uppercase;
}

.bgm-meetup-meeting-point__copy strong {
	font-size: var(--bgm-text-base);
	font-weight: var(--bgm-weight-bold);
}

.bgm-meetup-meeting-point__address {
	color: var(--bgm-color-text-muted);
	font-size: var(--bgm-text-sm);
}

.bgm-meetup-meeting-point__place-link {
	color: var(--bgm-color-text-muted);
	font-size: var(--bgm-text-sm);
	text-decoration: underline;
	text-underline-offset: 0.15em;
}

.bgm-meetup-meeting-point__place-link:hover,
.bgm-meetup-meeting-point__place-link:focus-visible {
	color: var(--bgm-color-primary);
}

.bgm-meetup-meeting-point__map {
	display: inline-flex;
	flex: 0 0 auto;
	align-items: center;
	gap: var(--bgm-space-2);
	color: var(--bgm-color-primary);
	font-size: var(--bgm-text-sm);
	font-weight: var(--bgm-weight-semibold);
	text-decoration: none;
	white-space: nowrap;
}

.bgm-meetup-meeting-point__map:hover,
.bgm-meetup-meeting-point__map:focus-visible {
	color: var(--bgm-color-accent);
}

.bgm-meetup-meeting-point__map svg {
	width: 0.9rem;
	height: 0.9rem;
}

/* --------------------------------------------------------------- timeline */

.bgm-meetup-timeline {
	display: grid;
	gap: 0;
	margin: 0;
	padding: var(--bgm-space-6);
	border: var(--bgm-border-width) solid var(--bgm-color-border);
	border-radius: var(--bgm-radius-lg);
	background: var(--bgm-color-surface);
	box-shadow: var(--bgm-shadow-soft);
	list-style: none;
	counter-reset: bgm-step;
}

.bgm-meetup-timeline li {
	position: relative;
	display: grid;
	grid-template-columns: 3.5rem 1fr;
	gap: var(--bgm-space-4);
	padding-bottom: var(--bgm-space-6);
}

.bgm-meetup-timeline li:last-child {
	padding-bottom: 0;
}

/* The connecting rail is decorative and stops before the final marker. */
.bgm-meetup-timeline li:not(:last-child)::before {
	position: absolute;
	top: 1.25rem;
	bottom: 0;
	left: calc(3.5rem + var(--bgm-space-4) / 2 - 0.5px);
	width: 1px;
	background: var(--bgm-color-border);
	content: "";
}

.bgm-meetup-timeline li::after {
	position: absolute;
	top: 0.4rem;
	left: calc(3.5rem + var(--bgm-space-4) / 2 - 0.3rem);
	width: 0.6rem;
	height: 0.6rem;
	border: var(--bgm-border-width-strong) solid var(--bgm-color-accent);
	border-radius: var(--bgm-radius-round);
	background: var(--bgm-color-surface);
	content: "";
}

.bgm-meetup-timeline__time {
	color: var(--bgm-color-text-muted);
	font-size: var(--bgm-text-sm);
	font-weight: var(--bgm-weight-bold);
	font-variant-numeric: tabular-nums;
	text-align: right;
}

.bgm-meetup-timeline__body {
	grid-column: 2;
	padding-left: var(--bgm-space-4);
}

.bgm-meetup-timeline__body strong {
	display: block;
	font-size: var(--bgm-text-base);
	font-weight: var(--bgm-weight-bold);
}

.bgm-meetup-timeline__body p {
	margin: var(--bgm-space-1) 0 0;
	color: var(--bgm-color-text-muted);
	font-size: var(--bgm-text-sm);
	line-height: var(--bgm-leading-body);
}

/* -------------------------------------------------------------- moderator */

/* Nested inside a .bgm-meetup-visit-card, which already supplies the card
   chrome and padding — this is just the internal head/bio/links stack. */
.bgm-meetup-moderator {
	display: grid;
	gap: var(--bgm-space-4);
}

.bgm-meetup-moderator__head {
	display: flex;
	gap: var(--bgm-space-4);
	align-items: center;
}

.bgm-meetup-moderator__avatar {
	width: 4.5rem;
	height: 4.5rem;
	flex: 0 0 auto;
	border-radius: var(--bgm-radius-round);
	object-fit: cover;
	box-shadow: var(--bgm-shadow-soft);
}

.bgm-meetup-moderator__head h3 {
	margin: 0;
	font-family: var(--bgm-font-heading);
	font-size: var(--bgm-text-xl);
	font-weight: var(--bgm-weight-bold);
	letter-spacing: var(--bgm-tracking-card);
}

.bgm-meetup-moderator__meta {
	margin: var(--bgm-space-2) 0 0;
	color: var(--bgm-color-text-soft);
	font-size: var(--bgm-text-sm);
}

.bgm-meetup-moderator__meta:empty {
	display: none;
}

.bgm-meetup-moderator__links {
	display: flex;
	flex-wrap: wrap;
	gap: var(--bgm-space-3);
	margin: 0;
	padding: 0;
	list-style: none;
}

.bgm-meetup-moderator__links a {
	display: inline-flex;
	min-height: 2.75rem;
	align-items: center;
	gap: var(--bgm-space-1);
	color: var(--bgm-color-text);
	font-size: var(--bgm-text-sm);
	font-weight: var(--bgm-weight-semibold);
	text-decoration: underline;
	text-underline-offset: 0.2em;
}

.bgm-meetup-moderator__links a:hover,
.bgm-meetup-moderator__links a:focus-visible {
	color: var(--bgm-color-accent);
}

/*
 * The follow control (.bgm-moderator-follow, from moderator-profile.css) is
 * built for a wide horizontal actions row on the profile page and directory
 * card; this sidebar column is much narrower, so its buttons are stretched
 * full-width and centred here instead of overriding the shared component's
 * own styling.
 */
.bgm-meetup-moderator__actions {
	display: grid;
	gap: var(--bgm-space-3);
	margin-top: var(--bgm-space-2);
}

.bgm-meetup-moderator__actions [data-bgm-follow] {
	display: grid;
	gap: var(--bgm-space-2);
}

.bgm-meetup-moderator__actions .bgm-follow-button,
.bgm-meetup-moderator__actions .bgm-follow-unfollow,
.bgm-meetup-moderator__actions > .bgm-meetup-button {
	width: 100%;
}

.bgm-meetup-moderator__actions .bgm-follow-unfollow,
.bgm-meetup-moderator__actions .bgm-follow-status {
	text-align: center;
}

/*
 * ------------------------------------------------------------- gallery ---
 * Carries .bgm-meetup-visit-card too, for the same chrome as every other
 * sidebar card. Everything below is layout only — the lightbox dialog, the
 * generic .bgm-loop-carousel-track drag/scroll mechanics and their JS
 * (event-gallery-lightbox.js, home-carousels.js) are event.css/event
 * templates' own shared, already-enqueued code (bgm_theme_is_meetup_page()
 * still matches is_singular('bgm_event')), reused verbatim rather than
 * duplicated under a new name.
 */
.bgm-meetup-sidebar-gallery__header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: var(--bgm-space-3);
	margin-bottom: var(--bgm-space-3);
}

.bgm-meetup-sidebar-gallery__status {
	color: var(--bgm-color-text-muted);
	font-size: var(--bgm-text-2xs);
	font-weight: var(--bgm-weight-extrabold);
	letter-spacing: var(--bgm-tracking-eyebrow);
	white-space: nowrap;
}

.bgm-meetup-sidebar-gallery__nav button {
	inline-size: 2.05rem;
	block-size: 1.6rem;
}

.bgm-meetup-sidebar-gallery__grid {
	display: grid;
	gap: var(--bgm-space-2);
}

/* Static grid only applies with 3 images or fewer — the carousel variant
   (.bgm-loop-carousel-track, from home.css) owns its own column tracks. */
.bgm-meetup-sidebar-gallery__grid:not(.bgm-loop-carousel-track) {
	grid-template-columns: repeat(3, minmax(0, 1fr));
}

/* 4+ images swap the static grid for the shared loop-carousel: still three
   images per view, but scrollable/draggable instead of wrapping to a row. */
.bgm-meetup-sidebar-gallery.bgm-loop-carousel {
	--bgm-carousel-visible: 3;
	--bgm-carousel-gap: var(--bgm-space-2);
}

.bgm-meetup-sidebar-gallery__thumb {
	position: relative;
	display: block;
	aspect-ratio: 1 / 1;
	overflow: hidden;
	border-radius: var(--bgm-radius-md);
	box-shadow: var(--bgm-shadow-soft);
	cursor: zoom-in;
	transition: box-shadow var(--bgm-duration-normal) var(--bgm-ease-out);
}

.bgm-meetup-sidebar-gallery__thumb img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform var(--bgm-duration-normal) var(--bgm-ease-out);
}

.bgm-meetup-sidebar-gallery__thumb:hover,
.bgm-meetup-sidebar-gallery__thumb:focus-visible {
	box-shadow: var(--bgm-shadow-lift);
}

.bgm-meetup-sidebar-gallery__thumb:hover img,
.bgm-meetup-sidebar-gallery__thumb:focus-visible img {
	transform: scale(1.06);
}

/* Response principle: feedback starts on press, not on release. */
.bgm-meetup-sidebar-gallery__thumb:active img {
	transform: scale(0.97);
	transition-duration: var(--bgm-duration-fast);
}

.bgm-meetup-sidebar-gallery__thumb:focus-visible {
	outline: var(--bgm-border-width-strong) solid color-mix(in srgb, var(--bgm-color-primary) 44%, white);
	outline-offset: 2px;
}

@media (prefers-reduced-motion: reduce) {
	.bgm-meetup-sidebar-gallery__thumb img {
		transition: none;
	}

	.bgm-meetup-sidebar-gallery__thumb:hover img,
	.bgm-meetup-sidebar-gallery__thumb:focus-visible img,
	.bgm-meetup-sidebar-gallery__thumb:active img {
		transform: none;
	}
}

/* Carries .bgm-meetup-visit-card too, for the same padding/radius/shadow as
   every other sidebar card — the dashed, unfilled border declared here comes
   later in the cascade at equal specificity, so it wins over visit-card's
   solid one and keeps reading as a prompt rather than a data card. */
.bgm-meetup-moderator-cta {
	border-style: dashed;
	background: transparent;
}

.bgm-meetup-moderator-cta p {
	margin: 0 0 var(--bgm-space-3);
	color: var(--bgm-color-text-muted);
	font-size: var(--bgm-text-sm);
	line-height: var(--bgm-leading-body);
}

.bgm-meetup-moderator-cta p strong {
	color: var(--bgm-color-text);
	font-size: var(--bgm-text-base);
}

/* ------------------------------------------------------------------- card */

.bgm-meetup-similar__header {
	display: flex;
	flex-wrap: wrap;
	gap: var(--bgm-space-3);
	align-items: baseline;
	justify-content: space-between;
	margin-bottom: var(--bgm-space-6);
}

.bgm-meetup-similar__header a {
	display: inline-flex;
	min-height: 2.75rem;
	align-items: center;
	gap: var(--bgm-space-1);
	color: var(--bgm-color-text);
	font-size: var(--bgm-text-sm);
	font-weight: var(--bgm-weight-bold);
	text-decoration: none;
}

.bgm-meetup-similar__header a:hover,
.bgm-meetup-similar__header a:focus-visible {
	color: var(--bgm-color-accent);
}

.bgm-meetup-similar__grid,
.bgm-meetups-grid {
	display: grid;
	gap: var(--bgm-space-6);
}

.bgm-meetup-card {
	position: relative;
	display: flex;
	overflow: hidden;
	flex-direction: column;
	border: var(--bgm-border-width) solid var(--bgm-card-border);
	border-radius: var(--bgm-card-radius);
	background: var(--bgm-card-bg);
	box-shadow: var(--bgm-card-shadow);
	transition:
		border-color var(--bgm-duration-fast) ease,
		box-shadow var(--bgm-duration-normal) var(--bgm-ease-out),
		transform var(--bgm-duration-normal) var(--bgm-ease-out);
}

.bgm-meetup-card:hover {
	border-color: color-mix(in srgb, var(--bgm-color-text) 18%, var(--bgm-color-border));
	box-shadow: var(--bgm-card-shadow-hover);
	transform: translateY(-2px);
}

.bgm-meetup-card:active {
	box-shadow: var(--bgm-card-shadow);
	transform: translateY(-1px);
	transition-duration: var(--bgm-duration-fast);
}

.bgm-meetup-card.is-past {
	opacity: 0.86;
}

.bgm-meetup-card__media {
	position: relative;
	display: block;
	overflow: hidden;
	aspect-ratio: 16 / 10;
}

.bgm-meetup-card__media img,
.bgm-meetup-card__placeholder {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.bgm-meetup-card__placeholder {
	background: linear-gradient(135deg, var(--bgm-color-calm), var(--bgm-color-nature));
}

.bgm-meetup-card__date {
	position: absolute;
	top: var(--bgm-space-3);
	left: var(--bgm-space-3);
	display: grid;
	min-width: 3.25rem;
	padding: var(--bgm-space-2) var(--bgm-space-1);
	border-radius: var(--bgm-radius-md);
	background: rgb(var(--bgm-white-rgb) / 0.94);
	text-align: center;
}

.bgm-meetup-card__date strong {
	font-family: var(--bgm-font-heading);
	font-size: var(--bgm-text-lg);
	font-weight: var(--bgm-weight-extrabold);
	line-height: 1;
}

.bgm-meetup-card__date span {
	color: var(--bgm-color-accent);
	font-size: var(--bgm-text-2xs);
	font-weight: var(--bgm-weight-bold);
	letter-spacing: var(--bgm-tracking-eyebrow);
	text-transform: uppercase;
}

.bgm-meetup-card__body {
	display: grid;
	gap: var(--bgm-space-2);
	padding: var(--bgm-space-5);
}

.bgm-meetup-card__flag {
	justify-self: start;
	margin: 0;
	padding: var(--bgm-badge-padding);
	border-radius: var(--bgm-badge-radius);
	background: var(--bgm-color-danger-soft);
	color: var(--bgm-color-danger-hover);
	font-size: var(--bgm-text-2xs);
	font-weight: var(--bgm-weight-bold);
	letter-spacing: 0.04em;
	text-transform: uppercase;
}

.bgm-meetup-card__body h3 {
	margin: 0;
	font-family: var(--bgm-font-heading);
	font-size: var(--bgm-text-lg);
	font-weight: var(--bgm-weight-bold);
	letter-spacing: var(--bgm-tracking-card);
	line-height: var(--bgm-leading-tight);
}

.bgm-meetup-card__body h3 a {
	color: inherit;
	text-decoration: none;
}

/*
 * The title is the card's one real link — the cover is decorative and already
 * hidden from assistive technology — so its hit area is stretched over the
 * whole card. A 22px line of text is not a touch target.
 */
.bgm-meetup-card__body h3 a::after {
	position: absolute;
	inset: 0;
	content: "";
}

.bgm-meetup-card__body h3 a:hover,
.bgm-meetup-card__body h3 a:focus-visible {
	color: var(--bgm-color-accent);
}

.bgm-meetup-card__meta,
.bgm-meetup-card__seats {
	margin: 0;
	color: var(--bgm-color-text-muted);
	font-size: var(--bgm-text-sm);
}

.bgm-meetup-card__seats {
	color: var(--bgm-color-text-soft);
	font-weight: var(--bgm-weight-semibold);
}

/* ---------------------------------------------------------- archive views */

.bgm-meetups-hero {
	padding-block: var(--bgm-space-10) var(--bgm-space-8);
}

.bgm-meetups-hero__inner {
	display: grid;
	gap: var(--bgm-space-8);
	align-items: end;
}

.bgm-meetups-hero__copy {
	max-width: 52ch;
	margin: var(--bgm-space-5) 0 0;
	color: var(--bgm-color-text-muted);
	font-size: var(--bgm-text-lg);
	line-height: var(--bgm-leading-body);
}

.bgm-meetups-hero__cta {
	padding: var(--bgm-space-6);
	border: var(--bgm-border-width) solid var(--bgm-color-border);
	border-radius: var(--bgm-radius-xl);
	background: var(--bgm-color-surface);
	box-shadow: var(--bgm-shadow-soft);
}

.bgm-meetups-hero__cta p {
	margin: 0 0 var(--bgm-space-3);
	color: var(--bgm-color-text-muted);
	font-size: var(--bgm-text-sm);
	line-height: var(--bgm-leading-body);
}

/*
 * The one moment on this page every visitor either converts on (log in and
 * apply) or leaves carrying a status update from — the same dark "verdict"
 * material the collection editor's note uses, so the site now has one
 * consistent language for "this card matters more than the ones around it."
 */
.bgm-moderator-gate {
	position: relative;
	overflow: hidden;
	padding: clamp(2.25rem, 4vw, 3rem);
	border: var(--bgm-border-width) solid var(--bgm-color-premium-border);
	border-radius: var(--bgm-radius-xl);
	background: linear-gradient(155deg, var(--bgm-color-premium-surface) 0%, var(--bgm-color-premium-surface-deep) 100%);
	box-shadow: var(--bgm-shadow-lift);
	color: var(--bgm-color-premium-text);
}

.bgm-moderator-gate::before {
	content: "";
	position: absolute;
	top: -6rem;
	right: -5rem;
	width: 16rem;
	height: 16rem;
	border-radius: 50%;
	background: radial-gradient(circle, var(--bgm-color-sparkle-glow), transparent 70%);
	pointer-events: none;
}

.bgm-moderator-gate > * {
	position: relative;
	z-index: 1;
}

.bgm-moderator-gate p {
	margin: 0 0 var(--bgm-space-5);
	max-width: 52ch;
	color: var(--bgm-color-premium-text-muted);
	font-size: var(--bgm-text-base);
	line-height: var(--bgm-leading-body);
}

.bgm-moderator-gate .bgm-meetup-button {
	border-color: var(--bgm-color-surface);
	background: var(--bgm-color-surface);
	color: var(--bgm-color-primary);
	box-shadow: 0 0.6rem 1.4rem rgb(0 0 0 / 0.3);
}

.bgm-moderator-gate .bgm-meetup-button:hover {
	border-color: var(--bgm-color-premium-text-muted);
	background: var(--bgm-color-premium-text-muted);
	color: var(--bgm-color-primary);
	transform: translateY(-0.1rem);
	box-shadow: 0 0.85rem 1.8rem rgb(0 0 0 / 0.34);
}

.bgm-moderator-gate .bgm-meetup-button--quiet {
	border-color: rgb(255 255 255 / 0.28);
	background: transparent;
	color: var(--bgm-color-premium-text);
}

.bgm-moderator-gate .bgm-meetup-button--quiet:hover {
	border-color: rgb(255 255 255 / 0.5);
	background: rgb(255 255 255 / 0.08);
	color: var(--bgm-color-premium-text);
}

.bgm-meetups-hero__cta p strong {
	color: var(--bgm-color-text);
	font-size: var(--bgm-text-base);
}

.bgm-meetups-tabs {
	display: flex;
	flex-wrap: wrap;
	gap: var(--bgm-space-2);
	margin-bottom: var(--bgm-space-7);
}

.bgm-meetups-tabs a {
	display: inline-flex;
	min-height: 2.75rem;
	align-items: center;
	padding: 0 var(--bgm-space-5);
	border: var(--bgm-border-width) solid var(--bgm-color-border);
	border-radius: var(--bgm-radius-pill);
	background: var(--bgm-color-surface);
	color: var(--bgm-color-text-muted);
	font-size: var(--bgm-text-sm);
	font-weight: var(--bgm-weight-semibold);
	text-decoration: none;
}

.bgm-meetups-tabs a[aria-current="page"] {
	border-color: var(--bgm-color-primary);
	background: var(--bgm-color-primary);
	color: var(--bgm-color-on-primary);
}

/*
 * The meet-up archive can arrive pre-filtered from the homepage hero search, so
 * it needs the same "here is what is narrowing this list" affordance the other
 * discovery archives have. Kept local rather than pulling in explore.css, which
 * this view does not otherwise load.
 */
.bgm-meetups-active-filters {
	display: flex;
	flex-wrap: wrap;
	gap: var(--bgm-space-2);
	margin-bottom: var(--bgm-space-7);
}

/* Sit the chips directly under the tabs rather than a full section apart. */
.bgm-meetups-tabs:has( + .bgm-meetups-active-filters ) {
	margin-bottom: var(--bgm-space-3);
}

.bgm-meetups-active-filters a {
	display: inline-flex;
	align-items: center;
	gap: var(--bgm-space-2);
	min-height: 2.25rem;
	padding: 0 var(--bgm-space-4);
	border: var(--bgm-border-width) solid var(--bgm-color-border);
	border-radius: var(--bgm-radius-pill);
	background: var(--bgm-color-surface-muted, var(--bgm-color-surface));
	color: var(--bgm-color-text);
	font-size: var(--bgm-text-xs);
	font-weight: var(--bgm-weight-semibold);
	text-decoration: none;
}

.bgm-meetups-active-filters a:hover,
.bgm-meetups-active-filters a:focus-visible {
	border-color: var(--bgm-color-primary);
}

.bgm-meetups-active-filters .is-clear-all {
	border-style: dashed;
	color: var(--bgm-color-text-muted);
}

.bgm-meetups-empty {
	padding: var(--bgm-space-12) var(--bgm-space-6);
	border: var(--bgm-border-width) dashed var(--bgm-color-border);
	border-radius: var(--bgm-radius-xl);
	text-align: center;
}

.bgm-meetups-empty h2 {
	margin: 0 0 var(--bgm-space-3);
	font-size: var(--bgm-text-xl);
	font-weight: var(--bgm-weight-bold);
}

.bgm-meetups-empty p {
	margin: 0 auto var(--bgm-space-5);
	max-width: 48ch;
	color: var(--bgm-color-text-muted);
}

.bgm-meetups-pagination {
	margin-top: var(--bgm-space-10);
}

/* ------------------------------------------------------- application page */

.bgm-moderator-hero {
	padding-block: 0 clamp(var(--bgm-space-10), 6vw, var(--bgm-space-14));
	background: radial-gradient(circle at 88% 0%, rgb(21 63 52 / 0.09), transparent 32rem), var(--bgm-color-bg);
}

/* A small "programme" badge instead of plain uppercase text — the same
   pill language the status badges below already use, just introduced a
   beat earlier so the whole page reads as one considered system. */
.bgm-moderator-hero .bgm-meetup-eyebrow {
	display: inline-flex;
	align-items: center;
	gap: var(--bgm-space-2);
	margin-top: var(--bgm-space-10);
	padding: 0.45rem 0.95rem 0.45rem 0.7rem;
	border-radius: var(--bgm-radius-pill);
	background: var(--bgm-color-accent-soft);
	color: var(--bgm-color-accent-hover);
}

.bgm-moderator-hero .bgm-meetup-eyebrow::before {
	content: "";
	width: 0.4rem;
	height: 0.4rem;
	border-radius: 50%;
	background: currentcolor;
}

.bgm-moderator-hero__copy {
	max-width: 46ch;
	margin: var(--bgm-space-6) 0 0;
	color: var(--bgm-color-text-muted);
	font-size: var(--bgm-text-lg);
	line-height: var(--bgm-leading-body);
	text-wrap: balance;
}

.bgm-moderator-shell {
	display: grid;
	gap: var(--bgm-space-8);
	padding-bottom: var(--bgm-section-space);
}

.bgm-moderator-status {
	padding: var(--bgm-space-7);
	border: var(--bgm-border-width) solid var(--bgm-color-border);
	border-radius: var(--bgm-radius-xl);
	background: var(--bgm-color-surface);
	box-shadow: var(--bgm-shadow-soft);
}

.bgm-moderator-status.is-approved {
	border-color: color-mix(in srgb, var(--bgm-color-success) 40%, var(--bgm-color-border));
	background: var(--bgm-color-success-soft);
}

.bgm-moderator-status__badge {
	display: inline-block;
	margin: 0 0 var(--bgm-space-3);
	padding: var(--bgm-badge-padding);
	border-radius: var(--bgm-badge-radius);
	background: var(--bgm-badge-bg);
	color: var(--bgm-badge-text);
	font-size: var(--bgm-text-2xs);
	font-weight: var(--bgm-weight-bold);
	letter-spacing: 0.04em;
	text-transform: uppercase;
}

.bgm-moderator-status.is-approved .bgm-moderator-status__badge {
	background: var(--bgm-badge-success-bg);
	color: var(--bgm-badge-success-text);
}

.bgm-moderator-status h2 {
	margin: 0 0 var(--bgm-space-2);
	font-size: var(--bgm-text-xl);
	font-weight: var(--bgm-weight-bold);
}

.bgm-moderator-status p {
	margin: 0;
	max-width: 60ch;
	color: var(--bgm-color-text-muted);
	font-size: var(--bgm-text-sm);
	line-height: var(--bgm-leading-body);
}

/* The list used to sit as bare text directly on the page background while
   every sibling section (status, gate, form) was a proper card — the one
   inconsistency that made the whole page read as unfinished. */
.bgm-moderator-criteria {
	padding: clamp(2rem, 3vw, 2.75rem);
	border: var(--bgm-border-width) solid var(--bgm-color-border);
	border-radius: var(--bgm-radius-xl);
	background: var(--bgm-color-surface);
	box-shadow: var(--bgm-shadow-soft);
}

.bgm-moderator-criteria ul {
	display: grid;
	gap: var(--bgm-space-4);
	margin: var(--bgm-space-6) 0 0;
	padding: 0;
	list-style: none;
}

@media (min-width: 48rem) {
	.bgm-moderator-criteria ul {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		column-gap: var(--bgm-space-8);
	}
}

.bgm-moderator-criteria li {
	display: flex;
	gap: var(--bgm-space-3);
	align-items: flex-start;
	max-width: 74ch;
	color: var(--bgm-color-text-muted);
	font-size: var(--bgm-text-base);
	line-height: var(--bgm-leading-body);
}

.bgm-moderator-criteria__mark {
	display: grid;
	width: 1.75rem;
	height: 1.75rem;
	flex: 0 0 auto;
	margin-top: 0.1rem;
	border-radius: var(--bgm-radius-round);
	background: linear-gradient(160deg, var(--bgm-color-success-soft), color-mix(in srgb, var(--bgm-color-success) 22%, var(--bgm-color-success-soft)));
	color: var(--bgm-color-success-hover);
	box-shadow: inset 0 0 0 1px rgb(33 140 120 / 0.16);
	place-items: center;
}

.bgm-moderator-criteria__mark svg {
	width: 0.85rem;
	height: 0.85rem;
	stroke-width: 2.8;
}

.bgm-moderator-criteria__note {
	display: flex;
	gap: var(--bgm-space-3);
	align-items: flex-start;
	max-width: 64ch;
	margin: var(--bgm-space-7) 0 0;
	padding: var(--bgm-space-5);
	border: none;
	border-radius: var(--bgm-radius-lg);
	background: var(--bgm-color-calm);
	box-shadow: inset 0 0 0 1px rgb(49 95 135 / 0.14);
	color: var(--bgm-color-text);
	font-size: var(--bgm-text-sm);
	line-height: var(--bgm-leading-body);
}

.bgm-moderator-criteria__note-icon {
	display: grid;
	width: 1.75rem;
	height: 1.75rem;
	flex: 0 0 auto;
	border-radius: var(--bgm-radius-round);
	background: rgb(49 95 135 / 0.14);
	color: var(--bgm-color-info);
	place-items: center;
}

.bgm-moderator-criteria__note-icon svg {
	width: 1rem;
	height: 1rem;
	stroke-width: 2.2;
}

.bgm-moderator-gate h2 {
	margin: 0 0 var(--bgm-space-3);
	color: var(--bgm-color-premium-text);
	font-size: clamp(1.5rem, 2.4vw, 1.9rem);
	font-weight: var(--bgm-weight-bold);
}

.bgm-moderator-gate__alt {
	color: var(--bgm-color-premium-text-muted);
}

.bgm-moderator-gate__alt a {
	color: var(--bgm-color-sparkle);
}

.bgm-moderator-gate__alt a:hover,
.bgm-moderator-gate__alt a:focus-visible {
	color: var(--bgm-color-sparkle-warm);
}

.bgm-moderator-gate__alt {
	margin-top: var(--bgm-space-4);
}

.bgm-moderator-form-section__intro {
	max-width: 68ch;
	margin: 0 0 var(--bgm-space-7);
	color: var(--bgm-color-text-muted);
	font-size: var(--bgm-text-sm);
	line-height: var(--bgm-leading-body);
}

.bgm-moderator-form-section__intro strong {
	color: var(--bgm-color-text);
}

.bgm-moderator-form {
	display: grid;
	gap: var(--bgm-space-7);
	max-width: 46rem;
	counter-reset: bgm-moderator-step;
}

.bgm-moderator-form fieldset {
	display: grid;
	gap: var(--bgm-space-5);
	margin: 0;
	padding: var(--bgm-space-7);
	border: var(--bgm-border-width) solid var(--bgm-color-border);
	border-radius: var(--bgm-radius-xl);
	background: var(--bgm-color-surface);
	box-shadow: var(--bgm-shadow-soft);
}

/* Numbered automatically via a CSS counter — one less thing that can drift
   out of sync if a fieldset is ever added, removed or reordered. */
.bgm-moderator-form legend {
	display: flex;
	align-items: center;
	gap: var(--bgm-space-3);
	padding-inline: var(--bgm-space-2);
	color: var(--bgm-color-text);
	font-size: var(--bgm-text-base);
	font-weight: var(--bgm-weight-bold);
}

.bgm-moderator-form legend::before {
	counter-increment: bgm-moderator-step;
	content: counter(bgm-moderator-step);
	display: inline-flex;
	width: 1.6rem;
	height: 1.6rem;
	flex: 0 0 auto;
	align-items: center;
	justify-content: center;
	border-radius: 50%;
	background: var(--bgm-color-primary);
	color: var(--bgm-color-on-primary);
	font-size: var(--bgm-text-xs);
	font-weight: var(--bgm-weight-bold);
}

.bgm-moderator-form label {
	display: grid;
	gap: var(--bgm-space-2);
	font-size: var(--bgm-text-sm);
	font-weight: var(--bgm-weight-semibold);
}

.bgm-moderator-form label > span {
	color: var(--bgm-color-text-soft);
	font-weight: var(--bgm-weight-regular);
}

.bgm-moderator-form__grid {
	display: grid;
	gap: var(--bgm-space-5);
}

.bgm-moderator-form__hint {
	margin: 0;
	color: var(--bgm-color-text-soft);
	font-size: var(--bgm-text-sm);
}

.bgm-moderator-form .bgm-check-row {
	display: flex;
	gap: var(--bgm-space-3);
	align-items: flex-start;
	font-weight: var(--bgm-weight-regular);
	line-height: var(--bgm-leading-body);
}

.bgm-moderator-form .bgm-check-row input[type="checkbox"] {
	width: 1.15rem;
	height: 1.15rem;
	flex: 0 0 auto;
	margin-top: 0.2rem;
	min-height: 0;
	accent-color: var(--bgm-color-accent);
}

.bgm-moderator-form__footer {
	display: flex;
	flex-wrap: wrap;
	gap: var(--bgm-space-4);
	align-items: center;
}

.bgm-moderator-form__footer .bgm-meetup-button {
	box-shadow: 0 0.6rem 1.4rem rgb(var(--bgm-navy-rgb) / 0.18);
}

.bgm-moderator-form__footer .bgm-meetup-button:hover {
	box-shadow: 0 0.85rem 1.8rem rgb(var(--bgm-navy-rgb) / 0.22);
	transform: translateY(-0.1rem);
}

.bgm-moderator-form__footer p {
	margin: 0;
	color: var(--bgm-color-text-soft);
	font-size: var(--bgm-text-sm);
}

.bgm-honeypot {
	position: absolute;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip-path: inset(50%);
	white-space: nowrap;
}

/* ------------------------------------------------------------ breakpoints */

@media (min-width: 40rem) {
	.bgm-moderator-form__grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.bgm-meetup-similar__grid,
	.bgm-meetups-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 64rem) {
	/* Below the two-column breakpoint the sidebar stacks under the article,
	   so sticking it to the viewport no longer makes sense — same fix
	   single-bgm_place.php's .bgm-place-visit applies at its own breakpoint. */
	.bgm-meetup-story-grid {
		grid-template-columns: 1fr;
		gap: var(--bgm-space-10);
	}

	.bgm-meetup-visit {
		position: static;
	}
}

@media (min-width: 64rem) {
	.bgm-meetup-similar__grid,
	.bgm-meetups-grid {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}

	.bgm-meetups-hero__inner {
		grid-template-columns: minmax(0, 1.4fr) minmax(20rem, 0.6fr);
		gap: var(--bgm-space-12);
	}
}

@media (max-width: 26rem) {
	.bgm-meetup-timeline li {
		grid-template-columns: 3rem 1fr;
	}
}

/*
 * ===========================================================================
 * Buluşma Öner — the account-embedded proposal form and Önerilerim list.
 *
 * Lives inside the account shell (.bgm-account-content), so it inherits that
 * shell's max-width and padding for free. Field styling itself needs nothing
 * here: the global :where(input, select, textarea) rule in premium-system.css
 * already paints every control. This file only adds structure — fieldsets,
 * the tag grid, status badges, list rows — mirroring the exact recipe
 * .bgm-preference-group already established in account.css, not a new one.
 * ===========================================================================
 */

.bgm-proposal-intro {
	display: flex;
	flex-wrap: wrap;
	gap: var(--bgm-space-5);
	align-items: center;
	justify-content: space-between;
	margin-bottom: var(--bgm-space-7);
	padding: var(--bgm-space-6);
	border: var(--bgm-border-width) solid var(--bgm-color-border);
	border-radius: var(--bgm-radius-lg);
	background: var(--bgm-color-surface);
}

.bgm-proposal-intro p {
	max-width: 56ch;
	margin: 0;
	color: var(--bgm-color-text-muted);
	font-size: var(--bgm-text-sm);
	line-height: var(--bgm-leading-body);
}

.bgm-proposal-back {
	display: inline-flex;
	min-height: 2.75rem;
	align-items: center;
	margin-bottom: var(--bgm-space-5);
	color: var(--bgm-color-text-muted);
	font-size: var(--bgm-text-sm);
	font-weight: var(--bgm-weight-semibold);
	text-decoration: none;
}

.bgm-proposal-back:hover,
.bgm-proposal-back:focus-visible {
	color: var(--bgm-color-accent);
}

/* ------------------------------------------------------------- status badge */

.bgm-proposal-badge {
	display: inline-flex;
	align-items: center;
	margin: 0 0 var(--bgm-space-2);
	padding: var(--bgm-badge-padding);
	border-radius: var(--bgm-badge-radius);
	background: var(--bgm-badge-bg);
	color: var(--bgm-badge-text);
	font-size: var(--bgm-text-2xs);
	font-weight: var(--bgm-weight-bold);
	letter-spacing: 0.04em;
	text-transform: uppercase;
}

/*
 * State is never colour-only: the label text itself already says "Taslak",
 * "İncelemede", etc. Colour here is a reinforcing cue, not the only signal.
 */
.bgm-proposal-badge.is-needs_info {
	background: var(--bgm-color-accent-soft);
	color: var(--bgm-color-accent-text-on-soft);
}

.bgm-proposal-badge.is-approved,
.bgm-proposal-badge.is-published {
	background: var(--bgm-badge-success-bg);
	color: var(--bgm-badge-success-text);
}

.bgm-proposal-badge.is-rejected,
.bgm-proposal-badge.is-cancelled {
	background: var(--bgm-color-danger-soft);
	color: var(--bgm-color-danger-hover);
}

/* ------------------------------------------------------------------- list */

.bgm-proposal-list {
	display: grid;
	gap: var(--bgm-space-4);
	margin: 0;
	padding: 0;
	list-style: none;
}

.bgm-proposal-row {
	display: flex;
	flex-wrap: wrap;
	gap: var(--bgm-space-4);
	align-items: center;
	justify-content: space-between;
	padding: var(--bgm-space-5) var(--bgm-space-6);
	border: var(--bgm-border-width) solid var(--bgm-color-border);
	border-radius: var(--bgm-radius-lg);
	background: var(--bgm-color-surface);
}

.bgm-proposal-row__body h3 {
	margin: 0;
	font-family: var(--bgm-font-heading);
	font-size: var(--bgm-text-lg);
	font-weight: var(--bgm-weight-bold);
	letter-spacing: var(--bgm-tracking-card);
}

.bgm-proposal-row__meta {
	margin: var(--bgm-space-1) 0 0;
	color: var(--bgm-color-text-soft);
	font-size: var(--bgm-text-sm);
}

.bgm-proposal-row__feedback {
	max-width: 52ch;
	margin: var(--bgm-space-2) 0 0;
	color: var(--bgm-color-text-muted);
	font-size: var(--bgm-text-sm);
	font-style: italic;
}

.bgm-proposal-row__actions a {
	display: inline-flex;
	min-height: 2.75rem;
	align-items: center;
	gap: var(--bgm-space-1);
	padding-inline: var(--bgm-space-2);
	color: var(--bgm-color-text);
	font-size: var(--bgm-text-sm);
	font-weight: var(--bgm-weight-bold);
	text-decoration: none;
}

.bgm-proposal-row__actions a:hover,
.bgm-proposal-row__actions a:focus-visible {
	color: var(--bgm-color-accent);
}

/* --------------------------------------------------------------- read-only */

.bgm-proposal-readonly__meta {
	margin: var(--bgm-space-2) 0 var(--bgm-space-5);
	color: var(--bgm-color-text-soft);
	font-size: var(--bgm-text-sm);
}

/* ------------------------------------------------------------------- form */

.bgm-proposal-form {
	display: grid;
	gap: var(--bgm-space-5);
	max-width: 44rem;
}

.bgm-proposal-form fieldset {
	display: grid;
	gap: var(--bgm-space-5);
	margin: 0;
	padding: clamp(1.25rem, 3vw, 2.25rem);
	border: var(--bgm-border-width) solid var(--bgm-color-border);
	border-radius: var(--bgm-radius-lg);
	background: var(--bgm-color-surface);
}

.bgm-proposal-form legend {
	padding: 0;
	font-family: var(--bgm-font-heading);
	font-size: var(--bgm-text-xl);
	font-weight: var(--bgm-weight-semibold);
	letter-spacing: var(--bgm-tracking-card);
}

.bgm-proposal-form label {
	display: grid;
	gap: var(--bgm-space-2);
	font-size: var(--bgm-text-sm);
	font-weight: var(--bgm-weight-semibold);
}

.bgm-proposal-form label > span {
	color: var(--bgm-color-text-soft);
	font-weight: var(--bgm-weight-regular);
}

.bgm-proposal-form__grid {
	display: grid;
	gap: var(--bgm-space-5);
}

.bgm-proposal-form__hint {
	margin: 0;
	color: var(--bgm-color-text-soft);
	font-size: var(--bgm-text-sm);
}

/* Nested fieldset for the tag checkboxes, reusing account.css's own chip
   recipe (.bgm-preference-chips) so a tag looks identical wherever it
   appears, without importing that file's selector into this one. */
.bgm-proposal-tags {
	margin: 0;
	padding: 0;
	border: 0;
}

.bgm-proposal-tags legend {
	margin-bottom: var(--bgm-space-2);
	font-family: var(--bgm-font-sans);
	font-size: var(--bgm-text-sm);
	font-weight: var(--bgm-weight-semibold);
}

.bgm-proposal-tags__list {
	display: flex;
	flex-wrap: wrap;
	gap: var(--bgm-space-2);
}

.bgm-proposal-tags__list label {
	display: block;
	cursor: pointer;
}

.bgm-proposal-tags__list input {
	position: absolute;
	opacity: 0;
	pointer-events: none;
}

.bgm-proposal-tags__list span {
	display: inline-flex;
	min-height: 2.65rem;
	align-items: center;
	padding-inline: var(--bgm-space-4);
	border: var(--bgm-border-width) solid var(--bgm-color-border);
	border-radius: var(--bgm-radius-pill);
	background: var(--bgm-color-bg);
	font-size: var(--bgm-text-sm);
	font-weight: var(--bgm-weight-bold);
}

.bgm-proposal-tags__list input:checked + span {
	border-color: var(--bgm-color-primary);
	background: var(--bgm-color-nature);
	color: var(--bgm-color-primary);
}

.bgm-proposal-tags__list input:focus-visible + span {
	outline: var(--bgm-focus-ring-width) solid var(--bgm-focus-ring-color);
	outline-offset: var(--bgm-focus-ring-offset);
}

.bgm-proposal-form__footer {
	display: flex;
	flex-wrap: wrap;
	gap: var(--bgm-space-3);
	align-items: center;
}

.bgm-proposal-form__note {
	margin: 0;
	color: var(--bgm-color-text-soft);
	font-size: var(--bgm-text-sm);
}

/* ------------------------------------------------------------ breakpoints */

@media (min-width: 40rem) {
	.bgm-proposal-form__grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}
