/*
 * Component styles.
 *
 * Loaded only where a widget declares it via get_style_depends(), so a page
 * with no toolkit widget pays nothing.
 *
 * Tokens resolve through the same chain as the template stylesheet: the doc 08
 * name, then the name the Red Rose Guide theme actually ships, then a
 * built-in. Reading only the documented names would fall back to defaults on
 * Red Rose Guide itself; reading only the theme's would break everywhere else.
 *
 * Decision W4: there are no per-instance style controls, so everything below
 * is driven by tokens and the variant class. A site restyles by redefining
 * tokens or attaching a global class, never by overriding these rules.
 */

/*
 * Inside an atomic widget, font and colour belong to the widget ROOT.
 *
 * Elementor's Style tab writes font-family and colour onto the root element
 * (`.elementor .e-…`, (0,2,0)). Each component below declares its own
 * font-family and colour from the tokens, and a declaration on an element
 * always beats a value it would inherit — so with the token defined, as the
 * Red Rose Guide kit does on :root, the Style tab's font never got past the
 * root. Found in the editor on 21 Oct; weight and size worked, which is what
 * made it look like a font-loading problem.
 *
 * So the root carries the token defaults at (0,1,0), which any Style tab class
 * outranks, and the component inherits from it at (0,2,0), which outranks the
 * component's own declaration. Outside Elementor there is no .lbt-root, so
 * templates and lbt_render_*() keep the component's own tokens unchanged.
 */
.lbt-root {
	color: var(--rrg-ink, var(--e-global-color-rrg-ink, #1f1a1c));
	font-family: var(--rrg-font-body, inherit);
}

.lbt-root .lbt-nap,
.lbt-root .lbt-list,
.lbt-root .lbt-card,
.lbt-root .lbt-hours-block {
	color: inherit;
	font-family: inherit;
}

/*
 * The list always fills the width it is given.
 *
 * A grid of cards has no natural width. In a flexbox that centres its items
 * (as a centred section heading needs), each item is only as wide as its
 * content, so the list shrank to its narrowest, one card, and Columns did
 * nothing (Things To Do, 28 Oct). Width 100% fills a row or a column
 * flexbox alike; min-width 0 lets it share a row with other widgets. At one
 * class, a width set in the Style tab (.elementor .e-…, two classes) still
 * wins.
 */
.lbt-root--fill {
	box-sizing: border-box;
	width: 100%;
	min-width: 0;
	align-self: stretch;
}

/*
 * Links too: the kit sets font-family and weight on every <a> at (0,1,1), so
 * the map, phone and website links kept the kit's font after the text around
 * them changed. (0,2,1) releases them. Colour is left alone, links keep the
 * accent; and the ticket button, also (0,2,1) but later in this file, keeps
 * its own weight.
 */
.lbt-root .lbt-nap a,
.lbt-root .lbt-list a,
.lbt-root .lbt-card a,
.lbt-root .lbt-hours-block a {
	font-family: inherit;
	font-weight: inherit;
}

.lbt-nap {
	--lbt-ink: var(--rrg-ink, var(--e-global-color-rrg-ink, #1f1a1c));
	--lbt-ink-soft: var(--rrg-ink-soft, var(--e-global-color-rrg-ink-soft, var(--rrg-ink-muted, #5c5458)));
	--lbt-surface: var(--rrg-surface, var(--e-global-color-rrg-surface, var(--rrg-paper-alt, #fff)));
	--lbt-line: var(--rrg-line, var(--e-global-color-rrg-line, var(--rrg-rule, #e6ded6)));
	--lbt-accent: var(--rrg-red, var(--e-global-color-rrg-red, var(--rrg-accent, #c41e3a)));
	--lbt-focus: var(--rrg-focus, var(--e-global-color-rrg-red, var(--rrg-red, #c41e3a)));
	--lbt-font-body: var(--rrg-font-body, inherit);
	--lbt-font-display: var(--rrg-font-display, var(--lbt-font-body));
	--lbt-radius: var(--rrg-radius-md, var(--rrg-radius, 12px));
	--lbt-gap: var(--rrg-space-4, 16px);

	/*
	 * TYPOGRAPHY HOOKS — deliberately not declared here.
	 *
	 * Each use below reads var(--lbt-title-size, <default>), so the property
	 * stays unset unless a site sets it. Declaring it on the component would
	 * override anything set further up and defeat the hook entirely.
	 *
	 * Available: --lbt-title-size, --lbt-title-weight, --lbt-title-color,
	 * --lbt-meta-size, --lbt-label-color, --lbt-label-weight.
	 *
	 * Weight is declared rather than inherited, which IS an override: a theme
	 * styling `h2` does so with a bare element selector (specificity 0,0,1)
	 * and any class of ours beats it. There is no way to offer the hook
	 * without owning the default, so the component owns it — which is the
	 * better answer anyway. A card title whose weight is whatever each site
	 * happens to do to h2 is not designed, and spec 06 asks every component
	 * for a default a business owner would be proud of.
	 *
	 * The default falls through a token first, so a design system governs it
	 * as soon as one defines weights.
	 *
	 * The defaults are in em, NOT rem, so they scale from whatever the widget
	 * root is set to — which is what Elementor's Typography control changes.
	 * In rem they were relative to the page root and ignored the widget
	 * completely, which is why that control appeared to do nothing at all.
	 */

	color: var(--lbt-ink);
	font-family: var(--lbt-font-body);
}

/*
 * Scoped under the component root, not because the nesting is needed but for
 * SPECIFICITY. A theme styles headings with something like
 * `.elementor-kit-6 h2 { font-weight: 800 }` — (0,1,1) — which beats a lone
 * `.lbt-summary__title` at (0,1,0) and silently wins on every property it
 * declares. Two classes make it (0,2,0) and the component keeps its own
 * typography.
 *
 * Symptom when this is missing: font-size appears to work while font-weight and
 * font-family do not, because the theme happens to declare those two and not
 * the first. Do not "simplify" these selectors back to one class.
 */
.lbt-nap .lbt-nap__name {
	margin: 0 0 0.35em;
	/* Inherits for the same reason as the card title above. */
	font-family: var(--lbt-title-family, inherit);
	font-size: var(--lbt-title-size, 1.125em);
	font-weight: var(--lbt-title-weight, inherit);
	color: var(--lbt-title-color, inherit);
	line-height: 1.2;
}

/*
 * Browsers italicise <address> by default. It is the correct element for the
 * contact details of the thing a page is about, and screen readers announce it
 * as such, so the element stays and the italics go.
 */
.lbt-nap__address {
	margin: 0;
	font-style: normal;
	line-height: 1.5;
}

.lbt-nap__contact {
	margin-top: 0.5em;
}

.lbt-nap__contact p,
.lbt-nap__map {
	margin: 0.15em 0 0;
}

.lbt-nap__phone {
	font-variant-numeric: tabular-nums;
}

.lbt-nap a {
	color: var(--lbt-accent);
	text-underline-offset: 0.15em;
}

.lbt-nap a:focus-visible {
	outline: 2px solid var(--lbt-focus);
	outline-offset: 2px;
	border-radius: 2px;
}

/* -- Variants (W4) ---------------------------------------------------- */

/*
 * `card` is the default and is the one design that exists. `minimal` and
 * `editorial` are named in spec 06 but not yet designed — Matt's design system
 * defines them. They are deliberately thin here rather than invented, so that
 * when the real design lands it replaces a placeholder instead of arguing with
 * a guess.
 */

.lbt-nap--card {
	padding: var(--lbt-gap);
	background: var(--lbt-surface);
	border: 1px solid var(--lbt-line);
	border-radius: var(--lbt-radius);
}

.lbt-nap--minimal {
	padding: 0;
	background: none;
	border: 0;
}

/*
 * Variant overrides route through the same hook, or they would win over it and
 * silently switch the Typography control off for everything except the default
 * variant.
 */
.lbt-nap--minimal .lbt-nap__name {
	font-size: var(--lbt-title-size, 1em);
}

.lbt-nap--editorial {
	padding: 0 0 0 var(--lbt-gap);
	border-left: 3px solid var(--lbt-accent);
}

.lbt-nap--editorial .lbt-nap__name {
	font-size: var(--lbt-title-size, 1.25em);
}

/* -- Editor placeholder ----------------------------------------------- */

/*
 * Only ever rendered inside the Elementor editor — see Editor_States. A
 * visitor must never see this, which is enforced in PHP rather than by hiding
 * it in CSS.
 */
.lbt-placeholder {
	display: flex;
	flex-direction: column;
	gap: 0.25em;
	padding: 16px;
	border: 1px dashed var(--rrg-line, var(--rrg-rule, #c9c1b8));
	border-radius: var(--rrg-radius-md, var(--rrg-radius, 12px));
	background: var(--rrg-paper-alt, #f6f2ec);
	color: var(--rrg-ink-soft, var(--rrg-ink-muted, #5c5458));
	/* rem on purpose: editor chrome should not scale with the content's own
	   typography, or a large heading setting makes the hint enormous. */
	font-size: 0.875rem;
	line-height: 1.45;
}

.lbt-placeholder strong {
	color: var(--rrg-ink, #1f1a1c);
}

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

.lbt-list {
	--lbt-ink: var(--rrg-ink, var(--e-global-color-rrg-ink, #1f1a1c));
	--lbt-ink-soft: var(--rrg-ink-soft, var(--e-global-color-rrg-ink-soft, var(--rrg-ink-muted, #5c5458)));
	--lbt-surface: var(--rrg-surface, var(--e-global-color-rrg-surface, var(--rrg-paper-alt, #fff)));
	--lbt-line: var(--rrg-line, var(--e-global-color-rrg-line, var(--rrg-rule, #e6ded6)));
	--lbt-accent: var(--rrg-red, var(--e-global-color-rrg-red, var(--rrg-accent, #c41e3a)));
	--lbt-focus: var(--rrg-focus, var(--e-global-color-rrg-red, var(--rrg-red, #c41e3a)));
	--lbt-font-body: var(--rrg-font-body, inherit);
	--lbt-font-display: var(--rrg-font-display, var(--lbt-font-body));
	--lbt-radius: var(--rrg-radius-md, var(--rrg-radius, 12px));
	--lbt-gap: var(--rrg-space-5, 24px);

	color: var(--lbt-ink);
	font-family: var(--lbt-font-body);
}


/*
 * Columns come from a custom property the widget sets, so the count is data
 * rather than a class per value. auto-fit with a minimum means the grid also
 * collapses on its own on narrow screens without a media query per column
 * count — a 4-column setting becomes 2 then 1 as the space runs out.
 *
 * The FLOOR is what makes that true. The minimum used to be exactly 1/N of the
 * width, and auto-fit can always fit N tracks that are each 1/N wide — so the
 * grid never collapsed at all: on a phone a 3-column list was three 110px
 * columns with every badge cut off (measured 24 Sep at a 440px viewport).
 * max() gives each card a floor of --lbt-card-min, so once 1/N drops below it,
 * fewer tracks fit and the row wraps. min(100%, …) keeps a single card from
 * overflowing a container narrower than the floor.
 */
.lbt-summaries {
	display: grid;
	gap: var(--lbt-gap);
	margin: 0;
	padding: 0;
	list-style: none;
	grid-template-columns: repeat(
		auto-fit,
		minmax(
			min(100%, max(var(--lbt-card-min, 16rem), calc((100% - (var(--lbt-columns, 3) - 1) * var(--lbt-gap)) / var(--lbt-columns, 3)))),
			1fr
		)
	);
}

.lbt-summary {
	display: flex;
	flex-direction: column;
	overflow: hidden;
	background: var(--lbt-surface);
	border: 1px solid var(--lbt-line);
	border-radius: var(--lbt-radius);
}

.lbt-list--minimal .lbt-summary {
	background: none;
	border: 0;
	border-radius: 0;
	border-top: 1px solid var(--lbt-line);
}

.lbt-list--minimal .lbt-summary__body {
	padding: var(--lbt-gap) 0 0;
}

.lbt-list--editorial .lbt-summary {
	background: none;
	border: 0;
	border-left: 3px solid var(--lbt-accent);
	border-radius: 0;
}

.lbt-list--editorial .lbt-summary__body {
	padding: 0 0 0 var(--lbt-gap);
}

.lbt-summary__media img {
	display: block;
	width: 100%;
	height: auto;
	aspect-ratio: 3 / 2;
	object-fit: cover;
}

.lbt-summary__body {
	padding: var(--lbt-gap);
}

/*
 * Scoped under the component root, not because the nesting is needed but for
 * SPECIFICITY. A theme styles headings with something like
 * `.elementor-kit-6 h2 { font-weight: 800 }` — (0,1,1) — which beats a lone
 * `.lbt-summary__title` at (0,1,0) and silently wins on every property it
 * declares. Two classes make it (0,2,0) and the component keeps its own
 * typography.
 *
 * Symptom when this is missing: font-size appears to work while font-weight and
 * font-family do not, because the theme happens to declare those two and not
 * the first. Do not "simplify" these selectors back to one class.
 */
.lbt-summaries .lbt-summary__title {
	margin: 0;
	/*
	 * INHERIT, so Elementor's Style tab governs the title.
	 *
	 * The Style tab writes font-family and font-weight onto the widget ROOT.
	 * A title that declares its own values blocks them, however the cascade is
	 * arranged — so the title has to inherit instead.
	 *
	 * But it cannot simply omit the declarations either: the theme kit styles
	 * `h2` directly at (0,1,1), and a direct declaration always beats an
	 * inherited value no matter how specific the ancestor rule is. Declaring
	 * `inherit` at (0,2,0) is what breaks that grip and lets the root's value
	 * through.
	 *
	 * The --lbt-* hooks stay in front as explicit overrides, for a site that
	 * wants to set one part without touching the rest.
	 */
	font-family: var(--lbt-title-family, inherit);
	font-size: var(--lbt-title-size, 1.25em);
	font-weight: var(--lbt-title-weight, inherit);
	color: var(--lbt-title-color, inherit);
	line-height: 1.2;
}

.lbt-summary__title a {
	color: inherit;
	text-decoration-color: var(--lbt-line);
}

/*
 * The LINK has to release its weight and family too, not only the heading.
 *
 * The Elementor kit styles every link directly — on this site
 * `.elementor-kit-6 a { font-family: Poppins; font-weight: 300 }`, (0,1,1) —
 * and a direct declaration on the <a> beats anything it would inherit from the
 * <h2> around it. The title's text IS the link. So without this, the heading
 * is set correctly by the Title weight control, the variant defaults and the
 * Style tab, while the visible text stays at the kit's 300: the control reads
 * as broken, and the custom property checks out fine in the DOM, which is what
 * made it easy to miss.
 *
 * (0,2,1): two classes and the element, to outrank the kit's (0,1,1). Same
 * principle as the heading rule above, one element further down.
 */
.lbt-summaries .lbt-summary__title a {
	font-family: inherit;
	font-weight: inherit;
}

.lbt-summary__title a:hover {
	text-decoration-color: currentColor;
}

.lbt-summary__facts {
	margin: 0.75em 0 0;
	font-size: var(--lbt-meta-size, 0.9375em);
	font-weight: var(--lbt-meta-weight, inherit);
	color: var(--lbt-meta-color, inherit);
}

.lbt-fact {
	display: grid;
	gap: 0 0.75em;
	padding: 0.2em 0;
	grid-template-columns: 5.5em 1fr;
}

/*
 * With an icon the label column only has to fit the icon, so it collapses from
 * a words-width column to the icon itself. align-items keeps the icon on the
 * first line of a value that wraps to two, rather than floating to the middle.
 */
.lbt-fact--icon {
	grid-template-columns: 1.25em 1fr;
	align-items: start;
	gap: 0 0.6em;
}

.lbt-fact--icon dt {
	display: flex;
	/* Nudges the 16px icon onto the text baseline of the value beside it. */
	padding-top: 0.15em;
}

.lbt-icon {
	flex: none;
	width: 1em;
	height: 1em;
	/* Follows the label colour, so one token governs both. */
	color: var(--lbt-label-color, var(--lbt-ink-soft));
}

/*
 * Visually hidden, still read aloud. The words behind every icon live here —
 * clip-path rather than display:none or visibility:hidden, both of which take
 * the text out of the accessibility tree along with the pixels.
 */
.lbt-sr-only {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip-path: inset(50%);
	white-space: nowrap;
	border: 0;
}

/*
 * Two colour declarations on purpose. The first is the fixed grey; the second
 * derives the label from whatever colour the text around it is, so a colour set
 * in Elementor's Style tab reaches the labels and icons instead of leaving them
 * stranded grey. A browser without color-mix ignores the second and keeps the
 * first, which is a perfectly good label colour rather than a broken one.
 */
.lbt-fact dt {
	color: var(--lbt-ink-soft);
	color: var(--lbt-label-color, color-mix(in srgb, currentColor 62%, transparent));
	font-weight: var(--lbt-label-weight, inherit);
}

.lbt-fact dd {
	margin: 0;
	overflow-wrap: anywhere;
}

.lbt-summary__excerpt {
	margin: 0.75em 0 0;
	color: var(--lbt-ink-soft);
	font-size: var(--lbt-meta-size, 0.9375em);
}

.lbt-list a:focus-visible,
.lbt-list :focus-visible {
	outline: 2px solid var(--lbt-focus);
	outline-offset: 2px;
	border-radius: 2px;
}

/* -- Hidden cards (town filter) ---------------------------------------- */

/*
 * The town filter hides cards with the `hidden` attribute. `.lbt-summary`
 * declares display:flex, which beats the browser's own [hidden]{display:none},
 * so without this rule every "hidden" card stays on screen: the pills change
 * state and nothing moves. (0,3,0) outranks the flex rule and every variant's.
 */
.lbt-summaries .lbt-summary[hidden] {
	display: none;
}

/* -- Town filter pills ------------------------------------------------- */

/*
 * Hidden until the page is known to run scripts. Without JS the buttons would
 * do nothing, and a control that does nothing reads as broken. The list prints
 * a one-line script ahead of the bar that adds .lbt-js as the page parses, so
 * the bar is there from first paint rather than popping in and pushing the
 * grid down.
 */
.lbt-pills {
	display: none;
}

.lbt-js .lbt-pills {
	display: flex;
	flex-wrap: wrap;
	justify-content: var(--lbt-pills-align, center);
	gap: 0.5em;
	margin: 0 0 var(--lbt-pills-space, 2em);
}

/*
 * (0,2,0), with every property that matters declared, because the Elementor
 * kit styles bare button elements: on this site with a #6EC1E4 blue
 * background and its own padding and radius. A pill that declared less would
 * inherit the kit's button and look like a stock Elementor button.
 */
.lbt-list .lbt-pill {
	appearance: none;
	margin: 0;
	padding: 0.65em 1.4em;
	border: 1px solid var(--lbt-line);
	border: 1px solid color-mix(in srgb, var(--lbt-ink) 16%, transparent);
	border-radius: 999px;
	background: var(--lbt-surface);
	box-shadow: none;
	color: var(--lbt-ink);
	font: inherit;
	font-size: var(--lbt-pill-size, 0.9375em);
	font-weight: 500;
	letter-spacing: normal;
	line-height: 1.2;
	text-transform: none;
	cursor: pointer;
	transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.lbt-list .lbt-pill:hover {
	border-color: var(--lbt-ink);
	background: var(--lbt-surface);
	color: var(--lbt-ink);
}

.lbt-list .lbt-pill[aria-pressed="true"],
.lbt-list .lbt-pill[aria-pressed="true"]:hover {
	border-color: var(--lbt-ink);
	background: var(--lbt-ink);
	color: var(--lbt-on-ink, #fff);
	font-weight: 600;
}

/* -- Show more (paged lists, 6 Nov) ------------------------------------ */

/*
 * Cards beyond the first batch are hidden by this rule until the script
 * takes over (data-lbt-ready), so nothing jumps as the page loads. Without
 * JavaScript the rule never applies and every card shows.
 */
.lbt-js .lbt-list[data-lbt-page]:not([data-lbt-ready]) .lbt-summary[data-lbt-more] {
	display: none;
}

.lbt-more {
	display: none;
}

.lbt-js .lbt-more {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 0.75em;
	margin: var(--lbt-more-space, 2em) 0 0;
}

.lbt-more__status {
	margin: 0;
	color: var(--lbt-ink-soft);
	font-size: 0.9375em;
}

/* The filter pill's look, declared in full for the same reason as the pill. */
.lbt-list .lbt-more__button {
	appearance: none;
	margin: 0;
	padding: 0.75em 1.8em;
	border: 1px solid var(--lbt-ink);
	border-radius: 999px;
	background: var(--lbt-surface);
	box-shadow: none;
	color: var(--lbt-ink);
	font: inherit;
	font-size: var(--lbt-pill-size, 0.9375em);
	font-weight: 600;
	letter-spacing: normal;
	line-height: 1.2;
	text-transform: none;
	cursor: pointer;
	transition: background-color 0.15s ease, color 0.15s ease;
}

.lbt-list .lbt-more__button:hover {
	background: var(--lbt-ink);
	color: var(--lbt-on-ink, #fff);
}

.lbt-list .lbt-more__button:focus-visible {
	outline: 2px solid var(--lbt-focus, currentColor);
	outline-offset: 3px;
}

.lbt-list .lbt-more__button[hidden] {
	display: none;
}

/* -- Photo card variant ------------------------------------------------ */

/*
 * The image-led card. Colours come from the kit palette through the same
 * chain as the rest of the component; nothing here is a bare hex except the
 * last-resort fallback at the end of each chain.
 *
 * Title weight and size are variant DEFAULTS routed through the --lbt-* hooks,
 * so the Appearance controls (written inline on this element) still win.
 */
.lbt-list--photo {
	--lbt-surface-alt: var(--rrg-surface-alt, var(--e-global-color-rrg-surface-alt, #eef2f4));
	--lbt-positive: var(--rrg-green, var(--e-global-color-rrg-green, #2f6b4f));
	--lbt-title-weight: var(--rrg-weight-display, 800);
	--lbt-title-size: 1.375em;
	--lbt-photo-shadow: 0 1px 2px rgb(0 22 66 / 6%), 0 10px 28px rgb(0 22 66 / 7%);
	--lbt-photo-shadow-hover: 0 2px 4px rgb(0 22 66 / 8%), 0 16px 36px rgb(0 22 66 / 11%);
}

.lbt-list--photo .lbt-summary {
	position: relative;
	border: 0;
	box-shadow: var(--lbt-photo-shadow);
	transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.lbt-list--photo .lbt-summary:hover {
	box-shadow: var(--lbt-photo-shadow-hover);
	transform: translateY(-2px);
}

@media (prefers-reduced-motion: reduce) {
	.lbt-list--photo .lbt-summary {
		transition: none;
	}

	.lbt-list--photo .lbt-summary:hover {
		transform: none;
	}
}

/*
 * The whole card is the click target, through ONE link: the title's, stretched
 * over the card. Wrapping the card in a link instead would make a screen
 * reader read every line of it as the link text.
 */
.lbt-list--photo .lbt-summary__title a {
	text-decoration: none;
}

.lbt-list--photo .lbt-summary__title a::after {
	content: "";
	position: absolute;
	inset: 0;
	z-index: 1;
	border-radius: inherit;
}

.lbt-list--photo .lbt-summary__title a:hover {
	text-decoration: underline;
	text-decoration-thickness: 2px;
	text-underline-offset: 0.15em;
}

/* Media: a fixed shape, so a grid mixing photos and placeholders stays even. */
.lbt-list--photo .lbt-photo__media {
	position: relative;
	aspect-ratio: 15 / 8;
	overflow: hidden;
	background: var(--lbt-surface-alt);
}

.lbt-list--photo .lbt-photo__media img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

/*
 * The site logo standing in for an event's photo (Content\Event_Images):
 * shown whole on the site's navy (the logo's lettering is light, made for a
 * dark background), not cropped like a photo. !important because each card
 * sets object-fit: cover on its own, more specific, selector.
 */
img.lbt-image--logo {
	box-sizing: border-box;
	padding: 10% 14%;
	object-fit: contain !important;
	background: var(--lbt-ink, #001642);
}

.lbt-list--photo .lbt-photo__placeholder {
	display: block;
	width: 100%;
	height: 100%;
	background: var(--lbt-surface-alt);
}

/* Badges. Upper-cased here, so the DOM keeps ordinary words. */
.lbt-list .lbt-badge {
	display: inline-flex;
	align-items: center;
	padding: 0.55em 0.95em;
	border-radius: 999px;
	font-size: 0.75em;
	font-weight: 700;
	letter-spacing: 0.06em;
	line-height: 1;
	text-transform: uppercase;
	white-space: nowrap;
}

.lbt-list .lbt-photo__media .lbt-badge {
	position: absolute;
	z-index: 2;
	top: 0.9rem;
}

.lbt-list .lbt-badge--date {
	background: var(--lbt-surface);
	color: var(--lbt-ink);
	box-shadow: 0 1px 2px rgb(0 22 66 / 14%);
}

.lbt-list .lbt-photo__media .lbt-badge--date {
	left: 0.9rem;
}

.lbt-list .lbt-badge--town {
	max-width: calc(100% - 1.8rem);
	overflow: hidden;
	background: var(--lbt-ink);
	color: var(--lbt-on-ink, #fff);
	text-overflow: ellipsis;
}

.lbt-list .lbt-photo__media .lbt-badge--town {
	right: 0.9rem;
	max-width: 55%;
}

/* With the image switched off, the badges sit in a row above the title. */
.lbt-list--photo .lbt-photo__badges {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5em;
	margin: 0 0 0.85em;
}

.lbt-list--photo .lbt-photo__badges .lbt-badge--date {
	box-shadow: inset 0 0 0 1px var(--lbt-line);
}

/* Body: a column, so the tag row can sit at the bottom of every card. */
.lbt-list--photo .lbt-photo__body {
	display: flex;
	flex: 1;
	flex-direction: column;
	padding: 1.4em 1.4em 1.5em;
}

.lbt-list--photo .lbt-photo__line {
	margin: 0.6em 0 0;
	color: var(--lbt-meta-color, var(--lbt-ink-soft));
	font-size: var(--lbt-meta-size, 0.9375em);
	font-weight: var(--lbt-meta-weight, inherit);
	line-height: 1.4;
}

.lbt-list--photo .lbt-photo__line + .lbt-photo__line {
	margin-top: 0.5em;
}

.lbt-list--photo .lbt-photo__line--where {
	display: flex;
	align-items: baseline;
	gap: 0.55em;
}

/*
 * The time line is lighter than the venue, as designed. 86% ink-soft on white
 * stays above 4.5:1, so it is quieter without failing contrast.
 */
.lbt-list--photo .lbt-photo__line--when {
	color: var(--lbt-meta-color, color-mix(in srgb, var(--lbt-ink-soft) 86%, var(--lbt-surface)));
}

/* The small red diamond before the venue. Decorative, hidden from AT. */
.lbt-list--photo .lbt-photo__mark {
	flex: none;
	width: 0.5em;
	height: 0.5em;
	background: var(--lbt-accent);
	transform: translateY(-0.05em) rotate(45deg);
}

/* Tag row: price first, then audience tags. */
.lbt-list .lbt-tags {
	display: flex;
	flex-wrap: wrap;
	gap: 0.45em;
	margin: auto 0 0;
	padding: 1.1em 0 0;
	list-style: none;
}

.lbt-list .lbt-tag {
	margin: 0;
	padding: 0.5em 0.95em;
	border-radius: 999px;
	background: color-mix(in srgb, var(--lbt-line) 55%, var(--lbt-surface));
	color: var(--lbt-ink-soft);
	font-size: 0.8125em;
	line-height: 1.2;
}

.lbt-list .lbt-tag--price {
	background: var(--lbt-surface-alt, #eef2f4);
	color: var(--lbt-ink);
	font-weight: 700;
}

.lbt-list .lbt-tag--free {
	background: color-mix(in srgb, var(--lbt-positive, #2f6b4f) 12%, var(--lbt-surface));
	color: var(--lbt-positive, #2f6b4f);
	font-size: 0.75em;
	letter-spacing: 0.06em;
	text-transform: uppercase;
}

/* -- Event and business cards ------------------------------------------ */

/*
 * One record's essentials (Render\Card). Same tokens and variant names as the
 * NAP block, so a card and a NAP placed side by side read as one system.
 */
.lbt-card {
	--lbt-ink: var(--rrg-ink, var(--e-global-color-rrg-ink, #1f1a1c));
	--lbt-ink-soft: var(--rrg-ink-soft, var(--e-global-color-rrg-ink-soft, var(--rrg-ink-muted, #5c5458)));
	--lbt-surface: var(--rrg-surface, var(--e-global-color-rrg-surface, var(--rrg-paper-alt, #fff)));
	--lbt-line: var(--rrg-line, var(--e-global-color-rrg-line, var(--rrg-rule, #e6ded6)));
	--lbt-accent: var(--rrg-red, var(--e-global-color-rrg-red, var(--rrg-accent, #c41e3a)));
	--lbt-focus: var(--rrg-focus, var(--e-global-color-rrg-red, var(--rrg-red, #c41e3a)));
	--lbt-font-body: var(--rrg-font-body, inherit);
	--lbt-radius: var(--rrg-radius-md, var(--rrg-radius, 12px));
	--lbt-gap: var(--rrg-space-5, 24px);
	/*
	 * Title weight DEFAULT (Maro, 21 Oct), routed through the hook as the photo
	 * card does. Inheriting left it at the body weight, 300 on Red Rose Guide,
	 * under headings set at 800. The cost: the title declares a weight, so the
	 * Style tab's Font weight now changes the card's text but not its title.
	 */
	--lbt-title-weight: 700;

	color: var(--lbt-ink);
	font-family: var(--lbt-font-body);
}

.lbt-card--card {
	padding: var(--lbt-gap);
	background: var(--lbt-surface);
	border: 1px solid var(--lbt-line);
	border-radius: var(--lbt-radius);
}

/* Placeholders until the design system defines them, as for the NAP block. */
.lbt-card--minimal {
	padding: 0;
}

.lbt-card--editorial {
	padding: 0 0 0 var(--lbt-gap);
	border-left: 3px solid var(--lbt-accent);
}

/* (0,2,0): beats a theme's `.elementor-kit-6 h2` at (0,1,1). See .lbt-summaries .lbt-summary__title. */
.lbt-card .lbt-card__title {
	margin: 0 0 0.6em;
	font-family: var(--lbt-title-family, inherit);
	font-size: var(--lbt-title-size, 1.25em);
	font-weight: var(--lbt-title-weight, inherit);
	color: var(--lbt-title-color, inherit);
	line-height: 1.2;
}

.lbt-card--minimal .lbt-card__title {
	font-size: var(--lbt-title-size, 1.0625em);
}

/* (0,2,1): the kit styles every link directly, so the title link must release it. */
.lbt-card .lbt-card__title a {
	color: inherit;
	font-family: inherit;
	font-weight: inherit;
	text-decoration-color: var(--lbt-line);
}

.lbt-card .lbt-card__title a:hover {
	text-decoration-color: currentColor;
}

.lbt-card__status {
	margin: 0 0 0.75em;
	padding: 0.5em 0.75em;
	border-left: 3px solid var(--lbt-line);
	color: var(--lbt-ink-soft);
	font-size: var(--lbt-meta-size, 0.9375em);
}

.lbt-card__facts {
	margin: 0;
	font-size: var(--lbt-meta-size, 1em);
	font-weight: var(--lbt-meta-weight, inherit);
	line-height: 1.5;
}

.lbt-card .lbt-fact {
	padding: 0.3em 0;
}

.lbt-card__address {
	margin: 0;
	font-style: normal;
}

/* The second line under a fact: the venue's address, the map link. */
.lbt-card__sub {
	display: block;
	color: var(--lbt-ink-soft);
	font-size: 0.9375em;
}

.lbt-card a {
	color: var(--lbt-accent);
	text-underline-offset: 0.15em;
}

.lbt-card__actions {
	margin: 1em 0 0;
}

/*
 * The tickets / booking button. (0,2,1) to outrank the kit's own link rule,
 * which sets colour and weight on every <a>.
 */
.lbt-card a.lbt-button {
	display: inline-flex;
	align-items: center;
	min-height: 44px;
	padding: 0.6em 1.25em;
	border-radius: 999px;
	background: var(--lbt-accent);
	color: var(--lbt-on-accent, #fff);
	font-weight: 700;
	line-height: 1.2;
	text-decoration: none;
}

.lbt-card a.lbt-button:hover {
	background: color-mix(in srgb, var(--lbt-accent) 86%, #000);
}

.lbt-card__source {
	margin: 0.9em 0 0;
	color: var(--lbt-ink-soft);
	font-size: 0.875em;
}

.lbt-card a:focus-visible {
	outline: 2px solid var(--lbt-focus);
	outline-offset: 2px;
	border-radius: 2px;
}

/* -- Opening hours ----------------------------------------------------- */

/*
 * The week as a table, then upcoming dated changes, with an "open now" line
 * under the title when the site's timezone allows one (Render\Opening_Hours).
 * Same tokens, variants and title-weight default as the cards.
 */
.lbt-hours-block {
	--lbt-ink: var(--rrg-ink, var(--e-global-color-rrg-ink, #1f1a1c));
	--lbt-ink-soft: var(--rrg-ink-soft, var(--e-global-color-rrg-ink-soft, var(--rrg-ink-muted, #5c5458)));
	--lbt-surface: var(--rrg-surface, var(--e-global-color-rrg-surface, var(--rrg-paper-alt, #fff)));
	--lbt-line: var(--rrg-line, var(--e-global-color-rrg-line, var(--rrg-rule, #e6ded6)));
	--lbt-accent: var(--rrg-red, var(--e-global-color-rrg-red, var(--rrg-accent, #c41e3a)));
	--lbt-positive: var(--rrg-green, var(--e-global-color-rrg-green, #2f6b4f));
	--lbt-font-body: var(--rrg-font-body, inherit);
	--lbt-radius: var(--rrg-radius-md, var(--rrg-radius, 12px));
	--lbt-gap: var(--rrg-space-5, 24px);
	--lbt-title-weight: 700;

	color: var(--lbt-ink);
	font-family: var(--lbt-font-body);
}

.lbt-hours-block--card {
	padding: var(--lbt-gap);
	background: var(--lbt-surface);
	border: 1px solid var(--lbt-line);
	border-radius: var(--lbt-radius);
}

/* Placeholders until the design system defines them, as for the card. */
.lbt-hours-block--minimal {
	padding: 0;
}

.lbt-hours-block--editorial {
	padding: 0 0 0 var(--lbt-gap);
	border-left: 3px solid var(--lbt-accent);
}

/* (0,2,0): beats a theme's `.elementor-kit-6 h2` at (0,1,1). See .lbt-summaries .lbt-summary__title. */
.lbt-hours-block .lbt-hours-block__title {
	margin: 0 0 0.6em;
	font-family: var(--lbt-title-family, inherit);
	font-size: var(--lbt-title-size, 1.25em);
	font-weight: var(--lbt-title-weight, inherit);
	color: var(--lbt-title-color, inherit);
	line-height: 1.2;
}

/*
 * The status: words first, colour second. "Open now" and "Closed" say it in
 * text; the dot only repeats it, so nothing depends on seeing green.
 */
.lbt-hours-block__status {
	display: flex;
	align-items: center;
	gap: 0.5em;
	margin: 0 0 0.9em;
	font-weight: 700;
}

.lbt-hours-block__status::before {
	content: "";
	flex: none;
	width: 0.6em;
	height: 0.6em;
	border-radius: 50%;
	background: var(--lbt-ink-soft);
}

.lbt-hours-block__status[data-state="open"] {
	color: var(--lbt-positive);
}

.lbt-hours-block__status[data-state="open"]::before {
	background: currentColor;
}

/* The `hidden` attribute must win over display:flex, or a stale status shows. */
.lbt-hours-block__status[hidden] {
	display: none;
}

.lbt-hours-block__week {
	width: 100%;
	margin: 0;
	border-collapse: collapse;
	font-size: var(--lbt-meta-size, 1em);
	line-height: 1.4;
}

/* (0,2,1): themes often style table cells with borders and padding of their own. */
.lbt-hours-block .lbt-hours-block__week th,
.lbt-hours-block .lbt-hours-block__week td {
	padding: 0.45em 0;
	border: 0;
	border-bottom: 1px solid var(--lbt-line);
	background: none;
	font-weight: inherit;
	text-align: left;
	vertical-align: top;
}

.lbt-hours-block .lbt-hours-block__week td {
	padding-left: 1em;
	text-align: right;
}

.lbt-hours-block .lbt-hours-block__week tr:last-child th,
.lbt-hours-block .lbt-hours-block__week tr:last-child td {
	border-bottom: 0;
}

.lbt-hours-block .lbt-hours-block__closed {
	color: var(--lbt-ink-soft);
}

.lbt-hours-block .lbt-hours-block__week tr.is-today th,
.lbt-hours-block .lbt-hours-block__week tr.is-today td {
	font-weight: 700;
}

.lbt-hours-block__changes {
	margin: 1em 0 0;
	font-size: 0.9375em;
}

.lbt-hours-block__changes-title {
	margin: 0 0 0.35em;
	font-weight: 700;
}

.lbt-hours-block__changes ul {
	margin: 0;
	padding: 0;
	list-style: none;
}

.lbt-hours-block__changes li {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	gap: 0 1em;
	padding: 0.2em 0;
}

/* Editor only: what an editor should fix on the record. */
.lbt-hours-block__notices {
	margin: 1em 0 0;
	padding: 0.6em 0.9em 0.6em 1.8em;
	border-left: 3px solid var(--lbt-accent);
	background: color-mix(in srgb, var(--lbt-accent) 6%, var(--lbt-surface));
	font-size: 0.875em;
}

/* A range never breaks inside itself; a split day wraps between ranges. */
.lbt-hours-block__range {
	white-space: nowrap;
}

/* -- Feature card variant ---------------------------------------------- */

/*
 * The "Get Out of the House" card from the Chorley Town Hub mockup: image on
 * top with no badges, a small green eyebrow, a heavy title, a description, a
 * grey line of where and a practical note, then pale green pills. Sizes are
 * the mockup's, in em so the Style tab's size scales them; colours come from
 * the kit through the usual chain. Title size and weight are variant DEFAULTS
 * through the hooks, as on the photo card, so the list's Appearance controls
 * still win.
 */
.lbt-list--feature {
	--lbt-surface-alt: var(--rrg-surface-alt, var(--e-global-color-rrg-surface-alt, #eef2f4));
	--lbt-positive: var(--rrg-green, var(--e-global-color-rrg-green, #2f6b4f));
	--lbt-title-weight: var(--rrg-weight-display, 800);
	--lbt-title-size: 1.5em;
	--lbt-feature-shadow: 0 1px 2px rgb(0 22 66 / 5%), 0 8px 24px rgb(0 22 66 / 5%);
	--lbt-feature-shadow-hover: 0 4px 8px rgb(0 22 66 / 8%), 0 18px 40px rgb(0 22 66 / 14%);
}

.lbt-list--feature .lbt-summary {
	position: relative;
	box-shadow: var(--lbt-feature-shadow);
	transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.lbt-list--feature .lbt-summary:hover {
	box-shadow: var(--lbt-feature-shadow-hover);
	transform: translateY(-4px);
}

/* The whole card is the link (one stretched title link, as on the photo card),
   so show its keyboard focus on the card, not only on the title text. */
.lbt-list--feature .lbt-summary:has(.lbt-summary__title a:focus-visible) {
	outline: 2px solid var(--lbt-focus);
	outline-offset: 2px;
}

.lbt-list--feature .lbt-feature__media {
	position: relative;
	height: 210px;
	overflow: hidden;
	background: var(--lbt-surface-alt);
}

.lbt-list--feature .lbt-feature__media img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.lbt-list--feature .lbt-summary:hover .lbt-feature__media img {
	transform: scale(1.06);
}

.lbt-list--feature .lbt-feature__placeholder {
	display: block;
	width: 100%;
	height: 100%;
	background: var(--lbt-surface-alt);
}

@media (prefers-reduced-motion: reduce) {
	.lbt-list--feature .lbt-summary,
	.lbt-list--feature .lbt-feature__media img {
		transition: none;
	}

	.lbt-list--feature .lbt-summary:hover,
	.lbt-list--feature .lbt-summary:hover .lbt-feature__media img {
		transform: none;
	}
}

.lbt-list--feature .lbt-feature__body {
	display: flex;
	flex: 1;
	flex-direction: column;
	gap: 0.625em;
	padding: 1.375em 1.375em 1.5em;
}

/* The body spaces its children with gap; their own margins would double it. */
.lbt-list--feature .lbt-feature__body > * {
	margin: 0;
}

.lbt-list--feature .lbt-feature__eyebrow {
	color: var(--lbt-positive);
	font-size: 0.6875em;
	font-weight: 600;
	letter-spacing: 0.14em;
	line-height: 1.3;
	text-transform: uppercase;
}

.lbt-list--feature .lbt-summary__title {
	letter-spacing: -0.025em;
	line-height: 1.15;
}

.lbt-list--feature .lbt-summary__title a {
	text-decoration: none;
}

.lbt-list--feature .lbt-summary__title a::after {
	content: "";
	position: absolute;
	inset: 0;
	z-index: 1;
	border-radius: inherit;
}

.lbt-list--feature .lbt-summary__title a:focus-visible {
	outline: none;
}

.lbt-list--feature .lbt-summary__excerpt {
	color: var(--lbt-ink-soft);
	font-size: 0.9375em;
	line-height: 1.6;
}

.lbt-list--feature .lbt-feature__meta {
	color: var(--lbt-meta-color, color-mix(in srgb, var(--lbt-ink-soft) 86%, var(--lbt-surface)));
	font-size: var(--lbt-meta-size, 0.84375em);
	font-weight: var(--lbt-meta-weight, inherit);
	line-height: 1.4;
}

.lbt-list--feature .lbt-tags {
	gap: 0.4375em;
	margin-top: auto;
	padding-top: 0.875em;
}

.lbt-list--feature .lbt-tag {
	padding: 0.6em 1.15em;
	border: 1px solid color-mix(in srgb, var(--lbt-positive) 16%, var(--lbt-surface));
	background: color-mix(in srgb, var(--lbt-positive) 8%, var(--lbt-surface));
	color: var(--lbt-positive);
	font-size: 0.71875em;
	font-weight: 400;
	white-space: nowrap;
}

/* -- Public forms (directory module) ---------------------------------- */

/*
 * The "Submit an event" form. Same tokens as the cards, so it follows the
 * site's kit. Fields stack on phones; the date and times sit in a row from
 * 600px. Every target is at least 44px.
 */
.lbt-form {
	--lbt-ink: var(--rrg-ink, var(--e-global-color-rrg-ink, #1f1a1c));
	--lbt-ink-soft: var(--rrg-ink-soft, var(--e-global-color-rrg-ink-soft, var(--rrg-ink-muted, #5c5458)));
	--lbt-surface: var(--rrg-surface, var(--e-global-color-rrg-surface, var(--rrg-paper-alt, #fff)));
	--lbt-line: var(--rrg-line, var(--e-global-color-rrg-line, var(--rrg-rule, #e6ded6)));
	--lbt-accent: var(--rrg-red, var(--e-global-color-rrg-red, var(--rrg-accent, #c41e3a)));
	--lbt-focus: var(--rrg-focus, var(--e-global-color-rrg-red, var(--rrg-red, #c41e3a)));
	--lbt-error: var(--rrg-error, #b3261e);
	--lbt-positive: var(--rrg-green, var(--e-global-color-rrg-green, #2f6b4f));
	--lbt-radius: var(--rrg-radius-md, var(--rrg-radius, 12px));
	--lbt-gap: var(--rrg-space-4, 16px);

	max-width: 40rem;
	color: var(--lbt-ink);
	font-family: var(--rrg-font-body, inherit);
}

/*
 * A fieldset will not shrink below its widest content by default
 * (min-inline-size: min-content), and a date field's natural width is about
 * 336px, so on a phone the fields ran past their panel (found on Submit an
 * Event, 3 Nov). Zero lets the group follow its container.
 */
.lbt-form__group {
	min-width: 0;
	min-inline-size: 0;
	margin: 0 0 1.5em;
	padding: 0;
	border: 0;
}

.lbt-form__group legend {
	margin-bottom: 0.75em;
	padding: 0;
	font-family: var(--rrg-font-display, inherit);
	font-size: 1.25em;
	font-weight: 700;
}

.lbt-form__field {
	margin: 0 0 1.125em;
}

.lbt-form__field label {
	display: block;
	margin-bottom: 0.375em;
	font-weight: 600;
}

.lbt-form__optional {
	color: var(--lbt-ink-soft);
	font-weight: 400;
}

.lbt-form__hint {
	margin: 0 0 0.5em;
	color: var(--lbt-ink-soft);
	font-size: 0.875em;
}

.lbt-form input[type="text"],
.lbt-form input[type="email"],
.lbt-form input[type="tel"],
.lbt-form input[type="password"],
.lbt-form input[type="url"],
.lbt-form input[type="date"],
.lbt-form input[type="time"],
.lbt-form select,
.lbt-form textarea {
	box-sizing: border-box;
	width: 100%;
	min-height: 44px;
	padding: 0.625em 0.75em;
	border: 1px solid color-mix(in srgb, var(--lbt-ink) 30%, var(--lbt-surface));
	border-radius: calc(var(--lbt-radius) / 2);
	background: var(--lbt-surface);
	color: var(--lbt-ink);
	font: inherit;
}

.lbt-form input[type="file"] {
	max-width: 100%;
	min-height: 44px;
	font: inherit;
}

.lbt-form input:focus-visible,
.lbt-form select:focus-visible,
.lbt-form textarea:focus-visible,
.lbt-form button:focus-visible {
	outline: 2px solid var(--lbt-focus);
	outline-offset: 2px;
}

.lbt-form .has-error input,
.lbt-form .has-error textarea {
	border-color: var(--lbt-error);
}

.lbt-form__error {
	margin: 0 0 0.5em;
	color: var(--lbt-error);
	font-size: 0.875em;
	font-weight: 600;
}

@media (min-width: 600px) {
	.lbt-form__row {
		display: grid;
		grid-template-columns: 2fr 1fr 1fr;
		gap: var(--lbt-gap);
	}
}

.lbt-form__check {
	display: grid;
	grid-template-columns: auto 1fr;
	gap: 0.75em;
	align-items: start;
}

.lbt-form__check input {
	width: 1.375em;
	height: 1.375em;
	margin: 0.125em 0 0;
	accent-color: var(--lbt-accent);
}

.lbt-form__check label {
	margin: 0;
	font-weight: 400;
}

.lbt-form__check .lbt-form__error {
	grid-column: 2;
}

/* Out of sight for people and screen readers; bots still see the field. */
.lbt-form__hp {
	position: absolute;
	left: -10000px;
	width: 1px;
	height: 1px;
	overflow: hidden;
}

.lbt-form__summary,
.lbt-form--done {
	margin: 0 0 1.5em;
	padding: var(--lbt-gap);
	border-left: 4px solid var(--lbt-error);
	border-radius: calc(var(--lbt-radius) / 2);
	background: color-mix(in srgb, var(--lbt-error) 6%, var(--lbt-surface));
}

.lbt-form--done {
	border-left-color: var(--lbt-positive);
	background: color-mix(in srgb, var(--lbt-positive) 8%, var(--lbt-surface));
}

.lbt-form__title {
	margin: 0 0 0.375em;
	font-weight: 700;
}

.lbt-form__summary ul {
	margin: 0;
	padding-left: 1.25em;
}

.lbt-form__summary a {
	color: var(--lbt-error);
}

/*
 * Owner sign-in (phase 2): WordPress's own login form, wp_login_form(),
 * dressed like the other fields. Its paragraphs carry core's class names.
 */
.lbt-form--sign-in form p {
	margin: 0 0 1.125em;
}

.lbt-form--sign-in .login-username label,
.lbt-form--sign-in .login-password label {
	display: block;
	margin-bottom: 0.375em;
	font-weight: 600;
}

.lbt-form--sign-in .login-remember label {
	display: inline-flex;
	gap: 0.5em;
	align-items: center;
	min-height: 44px;
}

.lbt-form--sign-in .login-remember input {
	width: 1.25em;
	height: 1.25em;
	accent-color: var(--lbt-accent);
}

.lbt-form--sign-in .login-submit input[type="submit"] {
	min-height: 44px;
	padding: 0.6em 1.5em;
	border: 0;
	border-radius: 999px;
	background: var(--lbt-accent);
	color: var(--lbt-on-accent, #fff);
	font: inherit;
	font-weight: 700;
	cursor: pointer;
}

.lbt-form--sign-in .login-submit input[type="submit"]:hover {
	background: color-mix(in srgb, var(--lbt-accent) 86%, #000);
}

.lbt-form a {
	color: inherit;
	text-decoration: underline;
	text-underline-offset: 0.15em;
}

.lbt-form .lbt-button {
	text-decoration: none;
}

/* The owner's account details. */
.lbt-account__details {
	display: grid;
	grid-template-columns: max-content 1fr;
	gap: 0.375em 1.25em;
	margin: 0.75em 0 1em;
}

.lbt-account__details dt {
	font-weight: 600;
}

.lbt-account__details dd {
	margin: 0;
	overflow-wrap: anywhere;
}

/* Claiming a listing (phase 3a), on the account page. */
.lbt-claims {
	margin-top: 1.5em;
}

.lbt-claims .lbt-form__title {
	margin-top: 1.25em;
	font-size: 1.125em;
}

.lbt-claims__list {
	margin: 0 0 1em;
	padding: 0;
	list-style: none;
}

.lbt-claims__item {
	display: flex;
	flex-wrap: wrap;
	gap: 0.25em 0.75em;
	justify-content: space-between;
	padding: 0.625em 0;
	border-bottom: 1px solid var(--lbt-line, #e6ded6);
}

.lbt-claims__status {
	color: var(--lbt-ink-soft, #5c5458);
	font-size: 0.875em;
}

.lbt-claims__item--approved .lbt-claims__status {
	color: var(--lbt-positive, #2f6b4f);
	font-weight: 600;
}

.lbt-claims__search-row {
	display: flex;
	gap: 0.5em;
}

.lbt-claims__search-row input[type="search"] {
	box-sizing: border-box;
	flex: 1 1 auto;
	min-width: 0;
	min-height: 44px;
	padding: 0.625em 0.75em;
	border: 1px solid color-mix(in srgb, var(--lbt-ink, #1f1a1c) 30%, #fff);
	border-radius: calc(var(--lbt-radius, 12px) / 2);
	font: inherit;
}

.lbt-form__radio {
	display: grid;
	grid-template-columns: auto 1fr;
	gap: 0.625em;
	align-items: start;
	padding: 0.5em 0;
}

.lbt-form__radio input {
	width: 1.25em;
	height: 1.25em;
	margin: 0.125em 0 0;
	accent-color: var(--lbt-accent, #c41e3a);
}

.lbt-form__radio input:disabled + label {
	opacity: 0.6;
}

.lbt-form__where {
	margin: 0 0 1.125em;
	font-size: 1em;
}

.lbt-owner-event .lbt-form {
	margin-top: 1em;
}

.lbt-claims__edit {
	flex-basis: 100%;
	font-weight: 600;
}

/*
 * Owners' photos (4 Nov): each photo beside its description and remove box;
 * new photo fields stacked. Stacks on a phone.
 */
.lbt-owner-photo {
	display: grid;
	grid-template-columns: 96px minmax(0, 1fr);
	gap: 0 var(--lbt-gap, 16px);
	align-items: start;
	margin: 0 0 1.125em;
}

.lbt-owner-photo img {
	display: block;
	width: 96px;
	height: 96px;
	object-fit: cover;
	border-radius: calc(var(--lbt-radius, 12px) / 2);
}

.lbt-owner-photo--new {
	grid-template-columns: minmax(0, 1fr);
}

@media (max-width: 420px) {
	.lbt-owner-photo {
		grid-template-columns: minmax(0, 1fr);
	}

	.lbt-owner-photo img {
		margin-bottom: 0.5em;
	}
}

.lbt-form__check {
	display: flex;
	gap: 0.5em;
	align-items: center;
	min-height: 44px;
	font-weight: 400;
	cursor: pointer;
}

.lbt-form__check input {
	width: 20px;
	height: 20px;
	margin: 0;
}

.lbt-owner-photos__more summary {
	min-height: 44px;
	display: flex;
	align-items: center;
	font-weight: 600;
	cursor: pointer;
}

.lbt-owner-photos__more[open] summary {
	margin-bottom: 0.75em;
}

/* A long web address in a message or hint wraps on a phone rather than pushing the page sideways (found 4 Nov). */
.lbt-form__summary,
.lbt-form__error,
.lbt-form__hint {
	overflow-wrap: anywhere;
}

/* The data view's photos (Render\Fields): a plain grid until the designed listing page. */
.lbt-gallery {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
	gap: 8px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.lbt-gallery img {
	display: block;
	width: 100%;
	height: auto;
	aspect-ratio: 1;
	object-fit: cover;
}

/* Owners updating their listing (phase 3b): the week in two columns. */
@media (min-width: 600px) {
	.lbt-owner-edit__days {
		display: grid;
		grid-template-columns: 1fr 1fr;
		gap: 0 var(--lbt-gap, 16px);
	}
}

.lbt-form__notice {
	padding: 0.75em 1em;
	border-left: 4px solid var(--lbt-positive, #2f6b4f);
	background: color-mix(in srgb, var(--lbt-positive, #2f6b4f) 8%, #fff);
}

.lbt-form--dark .lbt-form__notice {
	background: rgb(255 255 255 / 0.08);
}

/* The owner dashboard fills its card; its own forms keep their width. */
.lbt-form.lbt-account {
	max-width: none;
}

/* A staff preview of a form: sending is switched off. */
.lbt-form--preview {
	margin-bottom: 1em;
}

.lbt-form [type="submit"][disabled] {
	opacity: 0.55;
	cursor: not-allowed;
}

.lbt-form .lbt-button {
	display: inline-flex;
	align-items: center;
	min-height: 44px;
	padding: 0.6em 1.5em;
	border: 0;
	border-radius: 999px;
	background: var(--lbt-accent);
	color: var(--lbt-on-accent, #fff);
	font: inherit;
	font-weight: 700;
	line-height: 1.2;
	cursor: pointer;
}

.lbt-form .lbt-button:hover {
	background: color-mix(in srgb, var(--lbt-accent) 86%, #000);
}

.lbt-form .cf-turnstile {
	margin: 0 0 1em;
}

/*
 * Dark tone: [lbt_submit_event tone="dark"], for a dark panel such as the
 * navy one on Submit an Event. Matches the form that panel was styled for:
 * white labels, pale hints, white 50px fields with 10px corners and navy
 * text, the red pill button, full panel width. Errors and focus use light
 * colours that read on navy. The panel brings its own heading ("Event
 * details"), so the first group's legend is hidden on screen and kept for
 * screen readers.
 */
.lbt-form--dark {
	--lbt-error: var(--rrg-error-on-dark, #ffb4a6);
	--lbt-positive: var(--rrg-green-on-dark, #9fe0bf);
	--lbt-focus: var(--rrg-focus-on-dark, #fff);
	--lbt-hint-on-dark: var(--rrg-ink-on-dark-soft, #c6d0e4);

	max-width: none;
	color: #fff;
}

.lbt-form--dark .lbt-form__group legend,
.lbt-form--dark .lbt-form__field label,
.lbt-form--dark .lbt-form__check label,
.lbt-form--dark .lbt-form__title {
	color: #fff;
}

.lbt-form--dark .lbt-form__optional,
.lbt-form--dark .lbt-form__hint {
	color: var(--lbt-hint-on-dark);
}

.lbt-form--dark .lbt-form__group:first-of-type > legend {
	position: absolute;
	width: 1px;
	max-width: 1px;
	height: 1px;
	margin: -1px;
	padding: 0;
	border: 0;
	overflow: hidden;
	clip: rect(0 0 0 0);
	clip-path: inset(50%);
	white-space: nowrap;
}

.lbt-form--dark input[type="text"],
.lbt-form--dark input[type="email"],
.lbt-form--dark input[type="tel"],
.lbt-form--dark input[type="password"],
.lbt-form--dark input[type="url"],
.lbt-form--dark input[type="date"],
.lbt-form--dark input[type="time"],
.lbt-form--dark select,
.lbt-form--dark textarea {
	min-height: 50px;
	padding: 0 15px;
	border: 1px solid #686e77;
	border-radius: 10px;
	background: #fff;
	color: var(--rrg-ink, #001642);
}

.lbt-form--dark textarea {
	padding: 12px 15px;
}

.lbt-form--dark input[type="file"] {
	color: #fff;
}

.lbt-form--dark .has-error input,
.lbt-form--dark .has-error textarea {
	border-color: var(--lbt-error);
	box-shadow: 0 0 0 1px var(--lbt-error);
}

.lbt-form--dark .lbt-form__summary,
.lbt-form--dark.lbt-form--done {
	background: rgb(255 255 255 / 0.08);
}

.lbt-form--dark .lbt-button {
	min-height: 50px;
	padding: 0 34px;
	font-weight: 600;
}

/*
 * Claim box (Claim_Box, [lbt_claim_box]): sits in the navy "Claim your
 * listing" panel on Claim Your Business and copies that panel's own heading,
 * text and buttons (sizes, weights, colours and spacing read from the page,
 * 17 Nov), so nothing new is designed.
 */
.lbt-claim-box {
	color: #fff;
}

.lbt-claim-box__note {
	margin: 0 0 16px;
	font-size: 14px;
	color: rgb(255 255 255 / 0.75);
}

.lbt-claim-box .lbt-claim-box__title {
	margin: 0 0 22px;
	font-family: Poppins, sans-serif;
	font-size: 30px;
	font-weight: 800;
	line-height: 36px;
	letter-spacing: -0.9px;
	color: #fff;
}

.lbt-claim-box .lbt-claim-box__text {
	max-width: 640px;
	margin: 20px 0 0;
	font-family: Poppins, sans-serif;
	font-size: 19px;
	font-weight: 300;
	line-height: 1.6;
	color: #fff;
}

.lbt-claim-box__text a {
	color: #fff;
	text-decoration: underline;
}

.lbt-claim-box__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 14px;
	margin: 32px 0 0;
	padding: 10px;
}

.lbt-claim-box a.lbt-claim-box__button {
	display: block;
	padding: 16px 30px;
	border: 0;
	border-radius: 999px;
	font-family: Poppins, sans-serif;
	font-size: 15.5px;
	font-weight: 600;
	line-height: 1.5;
	color: #fff;
	text-decoration: none;
	transition: background-color 0.2s ease;
}

.lbt-claim-box a.lbt-claim-box__button:hover,
.lbt-claim-box a.lbt-claim-box__button:focus,
.lbt-claim-box a.lbt-claim-box__button:visited {
	color: #fff;
}

.lbt-claim-box a.lbt-claim-box__button:focus-visible {
	outline: 2px solid #fff;
	outline-offset: 3px;
}

.lbt-claim-box a.lbt-claim-box__button--primary {
	background: #d03d21;
}

.lbt-claim-box a.lbt-claim-box__button--primary:hover {
	background: #a82d14;
}

.lbt-claim-box a.lbt-claim-box__button--secondary {
	border: 1px solid rgb(255 255 255 / 0.5);
	background: rgb(255 255 255 / 0.14);
}

.lbt-claim-box a.lbt-claim-box__button--secondary:hover {
	background: rgb(255 255 255 / 0.26);
}

/* "Pills filter: every match" (18 Nov): while a pill fetches its cards. */
.lbt-list[aria-busy="true"] .lbt-summaries {
	opacity: 0.5;
	transition: opacity 0.2s ease;
}
