/* LandDU Brand: shared styles. Reads tokens only (the --ld-* custom properties printed inline from Settings > LandDU Brand).
   Never put a raw colour, size or radius in this file. Components land here in later batches.
   Section 1: overrides for colours Adrian hard-coded (not variable driven), so they follow the tokens without editing his files. */

/* Header: Post a Listing pill (desktop and mobile). Background comes from --idu-hdr-gold (bridged); text must read on primary. */
.idu-hdr-cta,
.idu-mhdr-post { color: var(--ld-on-primary); }

/* Footer and sidebar widget titles (child theme hard-codes the old dark green). */
.footer-widget .widget .widgettitle,
.widget .widgettitle { color: var(--ld-midnight); }

/* Plan names on pricing cards. */
.idu-plan__name { color: var(--ld-electric); outline-color: var(--ld-electric); }

/* Active filter chip (old mint). */
.idu-lst__fbtn.is-active { background-color: var(--ld-ice); border-color: var(--ld-ice); }

/* Icons whose fill is hard-coded gold or dark green in the svg path. */
.idu-ev__img svg path { fill: var(--ld-electric); }
.idu-filter-trigger svg path { fill: var(--ld-midnight); }

/* Cookie banner (WPConsent). It lives in a shadow root and reads these variables, which it sets inline on #wpconsent-root. */
#wpconsent-root {
	--wpconsent-background: var(--ld-midnight) !important;
	--wpconsent-text: var(--ld-pearl) !important;
	--wpconsent-accept-bg: var(--ld-electric) !important;
	--wpconsent-accept-color: var(--ld-on-primary) !important;
	--wpconsent-cancel-bg: var(--ld-deep) !important;
	--wpconsent-cancel-color: var(--ld-pearl) !important;
	--wpconsent-preferences-bg: var(--ld-deep) !important;
	--wpconsent-preferences-color: var(--ld-pearl) !important;
}
/* Phones: a compact bottom bar (about 110px) instead of a third of the screen. Reaches into the shadow root through its ::part() hooks. */
@media (max-width: 600px) {
	#wpconsent-root { --wpconsent-font-size: 13px !important; }
	#wpconsent-root *::part(wpconsent-banner) { padding: 10px 12px 8px !important; gap: 8px !important; border-radius: 14px 14px 0 0 !important; }
	#wpconsent-root *::part(wpconsent-banner-body) { margin: 0 !important; padding: 0 !important; }
	#wpconsent-root *::part(wpconsent-banner-footer) { display: flex !important; flex-direction: row !important; gap: 6px !important; width: 100% !important; margin: 0 !important; }
	#wpconsent-root *::part(wpconsent-button-preferences),
	#wpconsent-root *::part(wpconsent-button-cancel),
	#wpconsent-root *::part(wpconsent-button-accept) { flex: 1 1 0 !important; min-height: 34px !important; padding: 6px 4px !important; font-size: 13px !important; width: auto !important; margin: 0 !important; }
}

/* ==========================================================================
   Section 2: ld- components, rebuilt from round 6 (projects/landdu/deliverables/positioning/2026-10-08-hero-previews/page-r6.html).
   Tokens only. Community colours arrive per element as --c-base, --c-mid, --c-acc, --c-light (fallback: brand colours).
   Selectors carry an element prefix where BuddyBoss's a, button and .button rules would win.
   ========================================================================== */

/* Section and head (r6 .y-eb, .y-h2, .y-sub, .z-head) */
.ld-section { padding: var(--ld-section-y) 0; font-family: var(--ld-text); color: var(--ld-ink); -webkit-font-smoothing: antialiased; }
.ld-section--pearl { background: var(--ld-surface); }
.ld-section--white { background: var(--ld-white); }
.ld-section--gold { background: var(--ld-gold-section); }
.ld-section--dark { background: var(--ld-ink-night); color: var(--ld-on-dark); }
.ld-section__in { max-width: var(--ld-wrap); margin: 0 auto; padding: 0 var(--ld-wrap-pad); position: relative; }
.ld-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 32px; margin: 0 0 44px; }
.ld-head__text { max-width: 620px; }
.ld-eyebrow { display: block; margin: 0 0 18px; font: 600 var(--ld-fs-eyebrow)/1 var(--ld-text); letter-spacing: .16em; text-transform: uppercase; color: var(--ld-electric); }
.ld-eyebrow--ice { color: var(--ld-ice); }
.ld-head h2, h2.ld-h2 { margin: 0; font: var(--ld-weight-display) var(--ld-fs-h2)/1.02 var(--ld-heading); font-stretch: var(--ld-stretch-h2); letter-spacing: -.01em; color: var(--ld-midnight); }
.ld-head p, p.ld-support { max-width: 560px; margin: 18px 0 0; font: 400 var(--ld-fs-support)/1.55 var(--ld-text); color: var(--ld-text-muted); }
.ld-section--dark .ld-head h2 { color: var(--ld-white); }
.ld-section--dark .ld-head p { color: var(--ld-on-dark); }

/* Buttons (r6 .y-btn for light pages, .btn for the hero) */
a.ld-btn, button.ld-btn, .ld-btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 8px; box-sizing: border-box; height: 46px; padding: 0 22px; margin: 0;
	border: 0; border-radius: var(--ld-r-pill); background: var(--ld-electric); color: var(--ld-on-primary); box-shadow: var(--ld-glow-primary);
	font: 600 15px/1 var(--ld-text); text-decoration: none; text-transform: none; letter-spacing: 0; cursor: pointer; white-space: nowrap;
	transition: background-color 160ms ease-out, color 160ms ease-out, box-shadow 160ms ease-out, transform 160ms ease-out;
}
a.ld-btn:hover, button.ld-btn:hover, .ld-btn:hover { background: var(--ld-ice); color: var(--ld-midnight); }
a.ld-btn:active, button.ld-btn:active, .ld-btn:active { transform: scale(.97); }
a.ld-btn:focus-visible, button.ld-btn:focus-visible, .ld-btn:focus-visible { outline: 2px solid var(--ld-ice); outline-offset: 3px; }
a.ld-btn--ice, button.ld-btn--ice, .ld-btn--ice { background: var(--ld-ice); color: var(--ld-midnight); box-shadow: var(--ld-glow-ice); }
a.ld-btn--ice:hover, button.ld-btn--ice:hover, .ld-btn--ice:hover { background: var(--ld-white); color: var(--ld-midnight); }
a.ld-btn--ghost, button.ld-btn--ghost, .ld-btn--ghost { background: none; color: var(--ld-electric); box-shadow: inset 0 0 0 1.5px var(--ld-electric); }
a.ld-btn--ghost:hover, button.ld-btn--ghost:hover, .ld-btn--ghost:hover { background: var(--ld-electric); color: var(--ld-on-primary); }
a.ld-btn--ghost-dark, button.ld-btn--ghost-dark, .ld-btn--ghost-dark { background: none; color: var(--ld-white); box-shadow: var(--ld-ring-on-dark); }
a.ld-btn--ghost-dark:hover, button.ld-btn--ghost-dark:hover, .ld-btn--ghost-dark:hover { background: var(--ld-glass-dark); color: var(--ld-white); }
a.ld-btn--light, button.ld-btn--light, .ld-btn--light { background: var(--ld-white); color: var(--ld-midnight); box-shadow: none; }
a.ld-btn--light:hover, button.ld-btn--light:hover, .ld-btn--light:hover { background: var(--ld-ice); color: var(--ld-midnight); }
a.ld-btn--lg, button.ld-btn--lg, .ld-btn--lg { height: 56px; padding: 0 32px; font-size: 16px; }
a.ld-btn--hero, button.ld-btn--hero, .ld-btn--hero { height: 52px; padding: 0 26px; }
a.ld-btn--sm, button.ld-btn--sm, .ld-btn--sm { height: 40px; padding: 0 18px; font-size: 14px; }

/* Link with arrow (r6 .y-link) */
a.ld-link, .ld-link { display: inline-flex; align-items: center; gap: 6px; font: 600 15px/1 var(--ld-text); color: var(--ld-electric); text-decoration: none; }
.ld-link::after { content: ""; width: 17px; height: 17px; flex: none; background: currentColor; -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14M13 6l6 6-6 6'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14M13 6l6 6-6 6'/%3E%3C/svg%3E") center / contain no-repeat; transition: transform 180ms var(--ld-ease); } /* same 1.8 stroke arrow as round 6 .ic */
a.ld-link:hover { color: var(--ld-electric); text-decoration: underline; text-underline-offset: 4px; }
a.ld-link:hover::after { transform: translateX(4px); }
a.ld-link--light, .ld-link--light { color: var(--ld-white); }
a.ld-link--light:hover { color: var(--ld-white); }

/* Community section (r6 .s-comm: deep blue gradient, ice eyebrow, white heading) */
.ld-section--comm { background: linear-gradient(180deg,#1E47C8 0%,#3D5FD8 22%,#7C79DC 50%,#B8A8F0 72%,#FFC4A3 100%); color: var(--ld-white); padding: 120px 0 250px; }
.ld-comm-h2 { margin: 0; font: var(--ld-weight-display) var(--ld-fs-h2)/1.02 var(--ld-heading); font-stretch: var(--ld-stretch-h2); letter-spacing: -.01em; color: var(--ld-white); }
.ld-comm-sub { max-width: 560px; margin: 18px 0 0; font: 400 18px/1.5 var(--ld-text); color: rgba(255,255,255,.86); }
.ld-section--comm .ld-tags { margin-top: 52px; }

/* Pills and tags (r6 .zb-t / .fl-k, .fl-sp, .ft-tag) */
.ld-pill { display: inline-flex; align-self: flex-start; align-items: center; padding: 5px 9px; border-radius: var(--ld-r-pill); background: var(--ld-info-bg); color: var(--ld-deep); font: 600 var(--ld-fs-pill)/1 var(--ld-text); }
.ld-pill--success { background: rgba(31,125,87,.12); color: var(--ld-success); }
.ld-pill--plain { background: var(--ld-pearl); color: var(--ld-midnight); }
.ld-featured-tag { display: inline-flex; align-items: center; padding: 7px 11px; border-radius: var(--ld-r-pill); background: linear-gradient(90deg, var(--ld-gold), var(--ld-gold-2)); color: var(--ld-gold-ink); font: 700 var(--ld-fs-pill)/1 var(--ld-text); letter-spacing: .06em; text-transform: uppercase; box-shadow: 0 8px 18px -8px rgba(0,0,0,.4); }
.ld-chip { display: inline-flex; align-items: center; padding: 10px 14px; border-radius: var(--ld-r-pill); background: rgba(255,255,255,.08); box-shadow: inset 0 0 0 1px rgba(255,255,255,.16); color: var(--ld-white); font: 500 14px/1 var(--ld-text); text-decoration: none; transition: background-color 160ms ease-out; }
a.ld-chip:hover { background: rgba(255,255,255,.28); color: var(--ld-white); }

/* Badges (brand kit round 4): ticket, arrow, tag, square (no plate on the site). landdu_brand_badge() picks flat up to 48px, gradient from 64px. */
.ld-badge { display: inline-block; flex: none; height: var(--ld-bh, 48px); line-height: 0; }
.ld-badge img { height: 100%; width: auto; max-width: none; display: block; }
.ld-badge--xs { --ld-bh: 24px; }
.ld-badge--sm { --ld-bh: 32px; }
.ld-badge--lg { --ld-bh: 72px; }
.ld-badge--xl { --ld-bh: 120px; }
.ld-badge--square { width: var(--ld-bh, 48px); }
.ld-badge--square img { width: 100%; object-fit: contain; }

/* Community chip on photos (r6 .zb-cm) */
.ld-community-badge { display: inline-flex; align-items: center; gap: 7px; height: 30px; padding: 0 11px 0 4px; border-radius: var(--ld-r-pill); background: var(--ld-glass); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); color: var(--ld-midnight); font: 600 12px/1 var(--ld-text); }
.ld-community-badge img { width: 22px; height: 22px; border-radius: 50%; object-fit: cover; display: block; }

/* Listing card (r6 .fl: featured listing, gold ring) */
.ld-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.ld-grid--4 { grid-template-columns: repeat(4, 1fr); }
.ld-card { position: relative; display: flex; flex-direction: column; overflow: hidden; background: var(--ld-white); border-radius: var(--ld-r-card); box-shadow: var(--ld-shadow-card); color: var(--ld-ink); text-decoration: none; cursor: pointer; transition: transform 220ms var(--ld-ease), box-shadow 220ms; }
a.ld-card:hover { color: var(--ld-ink); }
.ld-card--featured { box-shadow: inset 0 0 0 1px rgba(245,198,79,.45), 0 22px 40px -30px rgba(90,60,0,.5); }
.ld-card__photo { display: block; position: relative; aspect-ratio: 4 / 3; background: center / cover no-repeat var(--ld-pearl); overflow: hidden; }
/* 18 Nov sweep M4: a job's picture is the employer's logo, so it shows whole on a white tile instead of cropped to fill (Earlyhood read "irly") */
.ld-card__photo.ld-card__photo--logo { background-color: #fff; background-size: contain; background-origin: content-box; padding: 16% 14%; box-sizing: border-box; box-shadow: inset 0 -1px 0 #e6e9f0; }
.ld-card__photo .ld-featured-tag, .ld-zb-cv .ld-featured-tag { box-shadow: 0 8px 18px -8px rgba(0,0,0,.4); position: absolute; top: 14px; right: 14px; z-index: 2; }
.ld-card__photo .ld-community-badge { position: absolute; left: 12px; bottom: 12px; }
.ld-card__body { display: flex; flex-direction: column; flex: 1; padding: 16px 18px 20px; }
.ld-card__body .ld-pill { margin: 0; }
.ld-card__price { display: block; margin: 12px 0 0; font: var(--ld-weight-display) 24px/1 var(--ld-heading); font-stretch: 112%; color: var(--ld-midnight); }
.ld-card__title { display: block; margin: 8px 0 4px; font: 600 var(--ld-fs-card)/1.3 var(--ld-text); color: var(--ld-ink); }
.ld-card__meta { display: block; font: 400 var(--ld-fs-meta)/1.3 var(--ld-text); color: var(--ld-text-faint); }
.ld-card__extra { display: block; margin-top: 10px; font: 500 13px/1.35 var(--ld-text); color: rgba(11,13,26,.7); }
.ld-card .ld-pill + .ld-pill, .ld-card__body .ld-pill--success { margin-top: 10px; }
@media (hover: hover) and (min-width: 901px) {
	.ld-card:hover { transform: translateY(-6px); }
	.ld-card--featured:hover { box-shadow: inset 0 0 0 2px #F5C64F, 0 32px 54px -30px rgba(90,60,0,.55); }
	.ld-event:hover { transform: translateY(-6px); box-shadow: 0 30px 50px -28px rgba(20,26,102,.5); }
}

/* Group card (r6 .zb: glass card with a community badge and a view link) */
.ld-group { width: 100%; max-width: 300px; display: flex; flex-direction: column; padding: 22px; border-radius: 24px; background: #fff; box-shadow: 0 0 0 1px #E3E7F1, 0 16px 36px -20px rgba(20,26,102,.3); color: var(--ld-ink); transition: transform 240ms var(--ld-ease), box-shadow 240ms var(--ld-ease), background-color 160ms; }
.ld-group:hover { transform: translateY(-6px); box-shadow: 0 30px 50px -28px rgba(20,26,102,.5); }
.ld-group__h { display: flex; align-items: center; gap: 12px; line-height: 1.5; }
.ld-group__h span { font: 600 13.5px/1.25 var(--ld-text); color: var(--ld-midnight); }
.ld-group__h small { display: block; margin-top: 2px; font: 400 12.5px/1.3 var(--ld-text); color: #8A90AC; }
img.ld-group__sq { flex: none; width: 40px; height: 40px; aspect-ratio: 1; object-fit: contain; border-radius: 50%; }
.ld-group__k { display: inline-block; margin-top: 18px; font: 600 11px/1 var(--ld-text); letter-spacing: .1em; text-transform: uppercase; color: var(--ld-electric); }
.ld-group h4 { margin: 8px 0; font: 700 21px/1.12 var(--ld-heading); font-stretch: 112%; letter-spacing: -.01em; color: var(--ld-ink); }
.ld-group p { margin: 0; font: 400 14.5px/1.5 var(--ld-text); color: #4A5070; }
.ld-group__f { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: auto; padding-top: 20px; }
.ld-group__f span { font: 400 14px/1.5 var(--ld-text); color: #6A7090; }
.ld-group__b { display: inline-flex; align-items: center; text-decoration: none; -webkit-appearance: none; appearance: none; border: 0; cursor: pointer; height: 42px; padding: 0 18px; border-radius: 999px; background: var(--ld-midnight); color: #fff; font: 600 14px/1 var(--ld-text); transition: transform 160ms ease-out, background-color 160ms ease-out; }
.ld-group__b:active { transform: scale(.97); }
@media (hover: hover) { .ld-group__b:hover { background: var(--ld-electric); } }
/* Kyle 5 Nov 8:22pm ("View / job" jammed in the pill): the button keeps its label on one line, centred; the place text wraps instead */
.ld-group__f span { min-width: 0; overflow-wrap: anywhere; }
.ld-group__f .ld-group__b { flex: none; white-space: nowrap; justify-content: center; text-align: center; }

/* Square badge avatar kept from step 2 (round 4 square badge, via landdu_brand_avatar) */
.ld-avatar { --ld-av: 44px; display: inline-block; flex: none; width: var(--ld-av); height: var(--ld-av); line-height: 0; }
.ld-avatar img { width: 100%; height: 100%; object-fit: contain; display: block;  border-radius: 50%; }
.ld-avatar--sm { --ld-av: 32px; }
.ld-avatar--lg { --ld-av: 64px; }
.ld-avatar--xl { --ld-av: 96px; }

/* Community card: the luggage tag (r6 .lug .cc). Wrapper .ld-tw carries the shadow, swing and hover post. */
.ld-tags { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px 16px; align-items: start; }
/* The shadow filter lives on .ld-tw__sh, not .ld-tw: a filter makes a backdrop root, which stopped .ld-tag-post blurring the page behind it. */
.ld-tw__sh { position: relative; padding-top: 34px; filter: var(--ld-shadow-tag); }
.ld-tw { position: relative; transform-origin: 50% 0; transition: transform 200ms ease-out; }
.ld-tw:nth-child(odd) { transform: rotate(-1.4deg); }
.ld-tw:nth-child(even) { transform: rotate(1.2deg); }
.ld-tw:hover { transform: none; z-index: 8; }
.ld-tw__string { position: absolute; left: 50%; top: 0; width: 60px; height: 62px; margin-left: -30px; z-index: 3; color: rgba(255,255,255,.85); }
.ld-tag-card {
	position: relative; overflow: hidden; display: flex; flex-direction: column; box-sizing: border-box; height: 446px; padding: 66px 22px 22px;
	border-radius: 0 0 var(--ld-r-tag) var(--ld-r-tag); color: var(--c-light, var(--ld-pearl)); text-decoration: none;
	clip-path: polygon(22% 0, 78% 0, 100% 8%, 100% 100%, 0 100%, 0 8%);
	-webkit-mask: radial-gradient(circle at 50% 28px, transparent 9px, #000 10px); mask: radial-gradient(circle at 50% 28px, transparent 9px, #000 10px);
	background: linear-gradient(180deg, var(--c-base, var(--ld-midnight)) 0 54px, rgba(255,255,255,.22) 54px 55px, transparent 55px), linear-gradient(160deg, var(--c-base, var(--ld-midnight)), var(--c-mid, var(--ld-electric)));
}
.ld-tag-card::before { content: ""; position: absolute; left: 50%; top: 28px; width: 30px; height: 30px; margin: -15px 0 0 -15px; border-radius: 50%; box-shadow: inset 0 0 0 3px var(--c-acc, var(--ld-ice)); opacity: .8; }
.ld-tag-card__wm { position: absolute; right: -46px; bottom: -34px; width: 230px; height: 250px; background: var(--c-light, var(--ld-pearl)); opacity: .13; transform: rotate(-16deg); pointer-events: none; -webkit-mask: var(--ld-wm) center / contain no-repeat; mask: var(--ld-wm) center / contain no-repeat; }
.ld-tag-card__bars { position: absolute; top: 26px; left: 24px; display: flex; gap: 4px; }
.ld-tag-card__bars i { width: 14px; height: 4px; border-radius: 2px; }
.ld-tag-card__name { display: block; margin-top: -4px; font: 900 var(--ld-fs-tag-name)/.86 var(--ld-display); font-stretch: var(--ld-stretch-tag); text-transform: uppercase; letter-spacing: -.01em; color: var(--c-light, var(--ld-pearl)); }
.ld-tag-card__du { display: block; margin-top: 9px; font: 700 11px/1 var(--ld-text); letter-spacing: .2em; text-transform: uppercase; color: var(--c-acc, var(--ld-ice)); }
.ld-tag-card__stats { display: flex; align-items: center; gap: 10px; margin-top: 12px; font: 500 12.5px/1 var(--ld-text); opacity: .92; }
.ld-tag-card__stats b { font-weight: 700; }
.ld-tag-card__av { display: flex; }
.ld-tag-card__av i { width: 24px; height: 24px; margin-left: -7px; border-radius: 50%; display: grid; place-items: center; font: 700 10px/1 var(--ld-text); font-style: normal; color: var(--c-base, var(--ld-midnight)); background: var(--c-light, var(--ld-pearl)); box-shadow: 0 0 0 2px var(--c-base, var(--ld-midnight)); }
.ld-tag-card__av i:first-child { margin-left: 0; }
.ld-tag-card__av i:nth-child(2) { background: var(--c-acc, var(--ld-ice)); }
.ld-tag-card__groups { position: relative; z-index: 1; list-style: none; margin: 22px 0 0; padding: 0; display: flex; flex-direction: column; gap: 6px; }
.ld-tag-card__groups li { display: flex; justify-content: space-between; align-items: center; padding: 10px 12px; border-radius: var(--ld-r-chip); background: rgba(255,255,255,.1); font: 500 13px/1.2 var(--ld-text); transition: background 160ms; }
.ld-tag-card__groups li:hover { background: rgba(255,255,255,.2); }
.ld-tag-card__groups li::after { content: "\203A"; opacity: .6; font-size: 16px; }
.ld-tag-card__foot { position: relative; z-index: 1; margin-top: auto; display: flex; align-items: center; justify-content: space-between; }
.ld-tag-card__new { display: flex; flex-direction: column; gap: 5px; font: 400 12px/1 var(--ld-text); }
.ld-tag-card__new b { font-weight: 600; }
.ld-tag-card__latest { color: inherit; font: 400 12px/1 var(--ld-text); opacity: .75; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
button.ld-tag-card__join, a.ld-tag-card__join { display: inline-block; text-decoration: none; padding: 11px 20px; border: 0; border-radius: var(--ld-r-pill); background: var(--c-light, var(--ld-pearl)); color: var(--c-base, var(--ld-midnight)); font: 600 14px/1 var(--ld-text); cursor: pointer; }
.ld-tp-toggle { position: absolute; opacity: 0; pointer-events: none; width: 1px; height: 1px; }
.ld-tag-post { position: absolute; left: 10px; right: 10px; bottom: calc(100% + 12px); z-index: 9; opacity: 0; visibility: hidden; transform: translateY(10px) scale(.97); transform-origin: 50% 100%; padding: 14px 15px 13px; border-radius: 18px; background: linear-gradient(180deg, rgba(255,255,255,.16), rgba(255,255,255,0) 46%), rgba(20,26,102,.32); color: var(--ld-white); -webkit-backdrop-filter: blur(18px) saturate(1.8); backdrop-filter: blur(18px) saturate(1.8); box-shadow: inset 0 0 0 1px rgba(255,255,255,.18), inset 0 1px 0 rgba(255,255,255,.3), 0 24px 40px -22px rgba(11,13,26,.6); transition: opacity 220ms var(--ld-ease), transform 220ms var(--ld-ease), visibility 220ms; pointer-events: none; }
.ld-tag-post::before { content: ""; position: absolute; bottom: -7px; left: 50%; width: 14px; height: 14px; background: rgba(20,26,102,.32); transform: translateX(-50%) rotate(45deg); border-radius: 0 0 3px 0; clip-path: polygon(100% 0, 100% 100%, 0 100%); box-shadow: inset -1px -1px 0 rgba(255,255,255,.18); }
.ld-tag-post__x { display: none; }
.ld-tag-post__lt { display: block; margin-bottom: 10px; font: 600 10.5px/1 var(--ld-text); letter-spacing: .1em; text-transform: uppercase; color: var(--ld-ice); }
.ld-tag-post__ph { display: flex; align-items: center; gap: 10px; font: 600 13px/1.2 var(--ld-text); }
.ld-tag-post__ph small { display: block; margin-top: 2px; font-weight: 400; font-size: 12px; color: rgba(255,255,255,.65); }
.ld-tag-post__ph i { flex: none; width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; font: 700 11px/1 var(--ld-text); font-style: normal; color: var(--ld-white); background: var(--ld-electric); }
.ld-tag-post p { margin: 9px 0 8px; font: 400 14px/1.45 var(--ld-text); color: var(--ld-white); }
.ld-tag-post__r { font: 500 12px/1 var(--ld-text); color: rgba(255,255,255,.65); }
@media (hover: hover) and (min-width: 901px) {
	.ld-tw:hover .ld-tag-post { opacity: 1; visibility: visible; transform: none; }
	.ld-tw:hover { animation: ld-swing 900ms cubic-bezier(.3,.7,.4,1); }
}
.ld-tp-toggle:checked ~ .ld-tag-post { opacity: 1; visibility: visible; transform: none; pointer-events: auto; }
.ld-tw:has(.ld-tp-toggle:checked) { z-index: 8; }
@keyframes ld-swing { 0% { transform: rotate(0); } 25% { transform: rotate(2.4deg); } 55% { transform: rotate(-1.6deg); } 80% { transform: rotate(.7deg); } 100% { transform: rotate(0); } }
@keyframes ld-ping { 0% { box-shadow: 0 0 0 0 rgba(255,255,255,.55); } 100% { box-shadow: 0 0 0 8px rgba(255,255,255,0); } }
@media (max-width: 900px), (hover: none) {
	.ld-tag-post { display: block; bottom: 84px; left: 12px; right: 12px; background: linear-gradient(180deg, rgba(255,255,255,.14), rgba(255,255,255,0) 46%), rgba(16,21,84,.36); transform-origin: 20% 100%; }
	.ld-tag-post::before { left: 48px; background: rgba(16,21,84,.36); }
	.ld-tag-post__x { display: grid; place-items: center; position: absolute; top: 8px; right: 8px; width: 32px; height: 32px; border-radius: 50%; background: rgba(255,255,255,.14); color: var(--ld-white); font: 400 20px/1 var(--ld-text); cursor: pointer; }
	.ld-tag-card__latest { display: inline-flex; align-items: center; gap: 6px; min-height: 24px; }
	.ld-tag-card__latest::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--c-acc, var(--ld-ice)); animation: ld-ping 1.8s ease-out infinite; }
}

/* Nav and hero (r6 .s-nav, .s-hero.hd, .hc, .hs, .hchips) */
.ld-hero { position: relative; overflow: hidden; display: flex; align-items: flex-end; min-height: 760px; padding: 150px 0; background: var(--ld-ink-night); color: var(--ld-white); font-family: var(--ld-text); }
.ld-hero__photo { position: absolute; inset: 0; z-index: 0; overflow: hidden; isolation: isolate; contain: paint; }
.ld-hero__photo i { position: absolute; inset: 0; background-size: cover; opacity: 0; animation: ld-hcf 30s linear infinite; will-change: opacity, transform; }
.ld-hero__photo i:first-child { opacity: 1; }
.ld-hero__photo i:nth-child(1) { background-position: 64% 40%; }
.ld-hero__photo i:nth-child(2) { background-position: 66% 45%; }
.ld-hero__photo i:nth-child(3) { background-position: 66% 50%; }
.ld-hero__photo i:nth-child(4) { background-position: 62% 50%; }
.ld-hero__photo i:nth-child(5) { background-position: 68% 55%; }
@keyframes ld-hcf { 0% { opacity: 0; transform: scale(1.06); } 5.33% { opacity: 1; } 20% { opacity: 1; } 25.33% { opacity: 0; transform: scale(1); } 100% { opacity: 0; transform: scale(1); } }
@media (prefers-reduced-motion: reduce) { .ld-hero__photo i { animation: none; } .ld-hero__photo i:not(:first-child) { display: none; } }
.ld-ph-s { display: none; }
.ld-hero__photo::after { content: ""; position: absolute; inset: 0; background: var(--ld-hero-shade); }
.ld-hero__in { position: relative; z-index: 2; box-sizing: border-box; width: 100%; max-width: var(--ld-wrap); margin: 0 auto; padding: 0 var(--ld-wrap-pad); }
.ld-hero__in > * { max-width: 600px; }
.ld-hero h1 { max-width: 600px; margin: 0; font: var(--ld-weight-display) var(--ld-fs-h1)/1 var(--ld-heading); font-stretch: var(--ld-stretch-h1); letter-spacing: -.015em; color: var(--ld-white); }
.ld-hero h1 em { font-style: normal; background: linear-gradient(90deg, var(--ld-ice), var(--ld-ice-soft)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.ld-hero__lede { max-width: 540px; margin: 26px 0 30px; font: 400 19px/1.55 var(--ld-text); color: rgba(255,255,255,.82); text-wrap: pretty; }
.ld-search { display: flex; gap: 8px; max-width: 600px; margin: 0 0 14px; padding: 5px 5px 5px 2px; border-radius: var(--ld-r-pill); background: rgba(255,255,255,.1); box-shadow: inset 0 0 0 1px rgba(255,255,255,.22); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); }
.ld-search__field { flex: 1; min-width: 0; display: flex; align-items: center; height: 48px; padding: 0 18px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font: 400 15px/1 var(--ld-text); color: rgba(255,255,255,.55); }
.ld-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 22px; }
.ld-hero__join { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.ld-hero__join a { font: 600 15px/1 var(--ld-text); color: var(--ld-ice); text-decoration: underline; text-underline-offset: 4px; }
.ld-hero__join span { font: 500 14px/1 var(--ld-text); color: rgba(255,255,255,.6); }
.ld-nav { position: absolute; z-index: 5; left: 0; right: 0; top: 0; display: flex; align-items: center; gap: 40px; box-sizing: border-box; padding: 26px var(--ld-wrap-pad); color: var(--ld-white); font-family: var(--ld-text); }
.ld-nav__logo { display: block; line-height: 0; }
.ld-nav__logo img { height: 26px; width: auto; display: block; }
.ld-nav__links { display: flex; gap: 28px; font: 500 14.5px/1 var(--ld-text); color: rgba(255,255,255,.82); }
.ld-nav__links a { color: inherit; text-decoration: none; }
.ld-nav__right { margin-left: auto; display: flex; align-items: center; gap: 22px; font: 500 14.5px/1 var(--ld-text); }
.ld-nav__right .ld-btn svg { flex: none; }
.ld-nav__right > a:not(.ld-btn) { color: var(--ld-white); text-decoration: none; }
.ld-nav__t { position: absolute; opacity: 0; pointer-events: none; width: 0; height: 0; }
.ld-nav__burger { display: none; cursor: pointer; margin-left: auto; width: 40px; height: 40px; border-radius: 50%; align-items: center; justify-content: center; flex-direction: column; gap: 6px; background: rgba(255,255,255,.1); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.ld-nav__burger span { width: 16px; height: 1.6px; background: var(--ld-white); border-radius: 2px; }

/* Footer (r6 .ft) */
.ld-footer { background: var(--ld-ink-night); color: rgba(255,255,255,.72); padding: 72px 0 34px; font: 400 14.5px/1.5 var(--ld-text); }
.ld-footer__in { max-width: var(--ld-wrap); margin: 0 auto; padding: 0 var(--ld-wrap-pad); box-sizing: border-box; }
.ld-footer__top { display: grid; grid-template-columns: 1.1fr 2fr; gap: 48px; }
.ld-footer__brand img { width: 150px; height: auto; display: block; }
.ld-footer__brand p { margin: 14px 0 22px; color: rgba(255,255,255,.8); }
.ld-footer__soc { display: flex; gap: 8px; }
.ld-footer__soc a { width: 40px; height: 40px; border-radius: var(--ld-r-chip); display: grid; place-items: center; background: var(--ld-glass-dark); color: var(--ld-white); text-decoration: none; cursor: pointer; transition: background 160ms, transform 160ms; }
.ld-footer__soc svg { width: 19px; height: 19px; }
@media (hover: hover) { .ld-footer__soc a:hover { background: var(--ld-electric); color: var(--ld-white); transform: translateY(-2px); } }
.ld-footer__cols { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.ld-footer h4 { margin: 0 0 14px; font: 600 12px/1 var(--ld-text); letter-spacing: .1em; text-transform: uppercase; color: var(--ld-ice); }
.ld-footer__cols a { display: block; margin: 0 0 10px; color: rgba(255,255,255,.72); text-decoration: none; transition: color 140ms; }
.ld-footer a:hover { color: var(--ld-white); }
.ld-footer__ack { max-width: 760px; margin: 48px 0 0; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.1); font-size: 13px; color: var(--ld-on-dark-faint); }
.ld-footer__bot { display: flex; justify-content: space-between; gap: 20px; margin-top: 20px; font-size: 13px; color: rgba(255,255,255,.5); }
.ld-footer__bot nav { display: flex; gap: 20px; flex-wrap: wrap; }
.ld-footer__bot a { color: var(--ld-on-dark-faint); text-decoration: none; }

/* Components page helpers */
.ld-demo-row { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; padding: 28px; background: var(--ld-white); border-radius: var(--ld-r-panel); box-shadow: var(--ld-shadow-row); }
.ld-demo-row--dark { background: var(--ld-ink-night); }
.ld-demo-label { margin: 40px 0 14px; font: 600 var(--ld-fs-eyebrow)/1 var(--ld-text); letter-spacing: .16em; text-transform: uppercase; color: var(--ld-text-faint); }

@media (max-width: 900px) {
	.ld-head { display: block; margin-bottom: 28px; }
	.ld-head .ld-link { display: inline-flex; margin-top: 18px; }
	#featured .ld-head .ld-link { display: flex; width: max-content; }
	.ld-grid, .ld-grid--4 { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; margin: 0 calc(var(--ld-wrap-pad) * -1); padding: 4px var(--ld-wrap-pad) 16px; scroll-padding: 0 var(--ld-wrap-pad); gap: 12px; }
	.ld-grid > * { flex: none; width: 78vw; scroll-snap-align: start; }
	#featured .ld-grid > * { width: 74vw; } /* r7 .fl */
	.ld-tags { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; margin: 0 calc(var(--ld-wrap-pad) * -1); padding: 0 var(--ld-wrap-pad) 56px; scroll-padding: 0 var(--ld-wrap-pad); gap: 12px; }
	.ld-section--comm .ld-tags { margin-top: 36px; }
	.ld-tags > * { flex: 0 0 min(272px, 76vw); scroll-snap-align: start; }
	.ld-tag-card { height: 426px; }
	/* The photo layer and its shade cover the whole hero (inset:0), so the shade is anchored to the hero's bottom at every phone height. Only the photos themselves are 118vw tall; the shade is solid ink from 116vw to the hero's last pixel, so the scaled photo can never show under it (10px line seen on Kyle's phone, 15 Oct). svh is the stable height (no jump when the address bar moves). */
	.ld-hero { min-height: max(720px, 100vh); min-height: max(720px, 100svh); padding: 72vw 0 calc(112px + env(safe-area-inset-bottom, 0px)); background: var(--ld-ink-night); align-items: flex-end; }
	.ld-hero__photo i { bottom: auto; height: 118vw; }
	.ld-hero__photo::after { background: linear-gradient(180deg, rgba(11,13,26,.5) 0, rgba(11,13,26,0) 64px, rgba(20,26,102,.06) 44vw, rgba(20,26,102,.3) 70vw, rgba(20,26,102,.75) 92vw, rgb(11,13,26) 116vw, rgb(11,13,26) 100%); }
	.ld-ph-l { display: none; }
	.ld-ph-s { display: inline; }
	.ld-hero__photo i:nth-child(1) { background-position: 70% 50%; }
	.ld-hero__photo i:nth-child(2) { background-position: 74% 50%; }
	.ld-hero__photo i:nth-child(3) { background-position: 70% 50%; }
	.ld-hero__photo i:nth-child(4) { background-position: 66% 50%; }
	.ld-hero__photo i:nth-child(5) { background-position: 76% 50%; }
	
	.ld-hero h1 { font-stretch: var(--ld-stretch-h1); }
	.ld-hero__lede { font-size: 16px; margin: 18px 0 22px; }
	.ld-nav { padding: 18px 22px 0; gap: 0; }
	.ld-nav__links, .ld-nav__right { display: none; }
	.ld-nav__burger { display: flex; }
	.ld-nav { flex-wrap: wrap; }
	.ld-nav__t:checked ~ .ld-nav__links, .ld-nav__t:checked ~ .ld-nav__right { display: flex; flex: 0 0 100%; order: 3; margin: 0; padding: 0 22px; background: rgba(14,18,60,.72); -webkit-backdrop-filter: blur(18px) saturate(1.6); backdrop-filter: blur(18px) saturate(1.6); box-sizing: border-box; }
	.ld-nav__t:checked ~ .ld-nav__links { flex-direction: column; gap: 0; margin-top: 14px; padding-top: 8px; border-radius: 18px 18px 0 0; }
	.ld-nav__t:checked ~ .ld-nav__links a { padding: 13px 0; border-bottom: 1px solid rgba(255,255,255,.1); }
	.ld-nav__t:checked ~ .ld-nav__right { margin-left: 0; justify-content: space-between; padding-top: 14px; padding-bottom: 16px; border-radius: 0 0 18px 18px; }
	.ld-nav__logo img { height: 22px; }
	.ld-footer__top { grid-template-columns: 1fr; gap: 36px; }
	.ld-footer__cols { grid-template-columns: repeat(2, 1fr); gap: 24px 16px; }
	.ld-footer__bot { flex-direction: column; }
	.ld-demo-row { padding: 20px; }
}
@media (prefers-reduced-motion: reduce) {
	.ld-btn, .ld-card, .ld-link::after, .ld-tw, .ld-group, .ld-tag-post { transition: none; }
	a.ld-btn:active, button.ld-btn:active { transform: none; }
}

/* round 6 community extras */
.ld-rowl { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin-top: 40px; }
.ld-rowl + .ld-rowl { margin-top: 14px; }
.ld-rowl__lb { width: 150px; flex: none; font: 600 13px/1 var(--ld-text); color: var(--ld-midnight); opacity: .75; }
a.ld-og { display: inline-flex; align-items: center; gap: 8px; padding: 9px 15px; border-radius: 999px; background: #fff; color: var(--ld-midnight); font: 600 14px/1 var(--ld-text); box-shadow: 0 4px 14px -8px rgba(20,26,102,.4); text-decoration: none; cursor: pointer; transition: background-color 160ms ease-out, transform 160ms ease-out, box-shadow 160ms ease-out; }
a.ld-og:hover { transform: translateY(-2px); box-shadow: 0 10px 22px -10px rgba(20,26,102,.55); }
a.ld-og:active { transform: scale(.97); }
.ld-og b { width: 7px; height: 7px; border-radius: 50%; background: var(--ld-electric); box-shadow: 0 0 0 0 rgba(61,107,255,.55); animation: ld-ogp 2.4s ease-out infinite; }
.ld-og:nth-child(3) b { animation-delay: .6s; } .ld-og:nth-child(4) b { animation-delay: 1.2s; } .ld-og:nth-child(5) b { animation-delay: 1.8s; }
a.ld-og.ld-og--all { background: none; box-shadow: inset 0 0 0 1.5px rgba(20,26,102,.3); font-weight: 500; }
.ld-mq { flex: 1; min-width: 0; overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); padding: 8px 0; }
.ld-mq__t { display: flex; gap: 10px; width: max-content; animation: ld-mqf 60s linear infinite; }
.ld-mq:hover .ld-mq__t { animation-play-state: paused; }
a.ld-mc { flex: none; display: block; height: 30px; filter: drop-shadow(0 4px 8px rgba(20,26,102,.3)); transition: transform 200ms cubic-bezier(.2,0,0,1); }
a.ld-mc img { display: block; height: 30px; width: auto; max-width: none; }
@media (hover: hover) { a.ld-mc:hover { transform: scale(1.18) rotate(-2deg); } }
.ld-own { display: flex; align-items: center; justify-content: space-between; gap: 32px; margin-top: 52px; padding: 28px 32px; border-radius: 22px; background: #fff; color: var(--ld-ink-night); box-shadow: 0 30px 60px -30px rgba(20,26,102,.5); }
.ld-own h3 { margin: 0 0 8px; font: 700 22px/1.15 var(--ld-heading); font-stretch: 112%; color: var(--ld-ink-night); }
.ld-own p { margin: 0; max-width: 600px; color: rgba(11,13,26,.66); font-size: 16px; line-height: 1.5; }
a.ld-own .ld-btn, .ld-own a.ld-btn { background: var(--ld-electric); color: #fff; height: 46px; padding: 0 22px; flex: none; }
@keyframes ld-ogp { 0% { box-shadow: 0 0 0 0 rgba(61,107,255,.55); } 70% { box-shadow: 0 0 0 9px rgba(61,107,255,0); } 100% { box-shadow: 0 0 0 0 rgba(61,107,255,0); } }
@keyframes ld-mqf { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .ld-mq__t, .ld-og b { animation: none; } }
@media (max-width: 900px) {
	.ld-rowl { margin-top: 4px; } .ld-rowl + .ld-rowl { margin-top: 14px; }
	.ld-rowl__lb { width: 100%; } .ld-rowl .ld-mq { width: 100%; flex: none; }
	.ld-own { flex-direction: column; align-items: flex-start; gap: 16px; padding: 24px 22px; }
}

/* round 6 Sydney line art behind the community section */
.ld-section--comm { position: relative; overflow: hidden; }
.ld-section--comm .ld-section__in { position: relative; z-index: 2; }
.ld-brg { position: absolute; right: -30px; bottom: -6px; width: 880px; color: var(--ld-midnight); opacity: .26; z-index: 1; pointer-events: none; -webkit-mask-image: linear-gradient(90deg, transparent, #000 45%); mask-image: linear-gradient(90deg, transparent, #000 45%); }
.ld-opr { position: absolute; right: 770px; bottom: -4px; width: 330px; color: var(--ld-midnight); opacity: .3; z-index: 1; pointer-events: none; }
@media (max-width: 900px) { .ld-brg { width: 560px; right: -150px; } .ld-opr { width: 150px; right: auto; left: 4px; } }

/* Community stamp (round 6 .zb-cm img, .z6-h img): circular stamp from brand-kit/source/stamps/group */
.ld-stamp { display: inline-block; border-radius: 50%; flex: none; vertical-align: middle; }
.ld-stamp--ink { filter: none; }

/* Event card (round 6 .z6-*) */
.ld-event { display: flex; flex-direction: column; border-radius: 20px; overflow: hidden; background: #F4F6FB; font-family: var(--ld-text); transition: transform 240ms var(--ld-ease), box-shadow 240ms var(--ld-ease); }
.ld-event__img { position: relative; aspect-ratio: 4 / 3; background: center / cover no-repeat; }
.ld-event__date { position: absolute; left: 14px; top: 14px; display: flex; flex-direction: column; align-items: center; width: 54px; padding: 8px 0 7px; border-radius: 14px; background: #fff; color: var(--ld-midnight); box-shadow: 0 8px 20px -10px rgba(11,13,26,.5); }
.ld-event__date small { font: 600 10.5px/1 var(--ld-text); letter-spacing: .08em; text-transform: uppercase; opacity: .65; }
.ld-event__date b { font: 800 24px/1.05 var(--ld-heading); margin: 2px 0; }
.ld-event__body { padding: 18px; display: flex; flex-direction: column; flex: 1; }
.ld-event__body h3 { font: 700 18px/1.2 var(--ld-heading); color: var(--ld-midnight); margin: 0 0 6px; }
.ld-event__body p { margin: 0; font: 400 14px/1.4 var(--ld-text); color: rgba(11,13,26,.6); }
.ld-event__host { display: flex; align-items: center; gap: 8px; margin: 14px 0 16px; font: 500 13px/1.2 var(--ld-text); color: #0B0D1A; }
.ld-event__foot { margin-top: auto; display: flex; align-items: center; justify-content: space-between; }
.ld-event__foot small { font: 500 13px/1 var(--ld-text); color: rgba(11,13,26,.6); }
a.ld-event__go { font: 600 14px/1 var(--ld-text); padding: 10px 18px; border-radius: 999px; background: var(--ld-midnight); color: #fff; cursor: pointer; text-decoration: none; transition: background-color 160ms ease-out; }
a.ld-event__go:hover { background: var(--ld-electric); color: #fff; }

/* Real member photos inside the tag avatar circles */
.ld-tag-card__av i { overflow: hidden; }
.ld-tag-card__av i img { width: 100%; height: 100%; object-fit: cover; border-radius: 50%; display: block; }

/* Communities dev page ([landdu_communities]) */
.ld-cms { max-width: 1200px; margin: 0 auto; padding: 40px 22px; font-family: var(--ld-text); color: var(--ld-ink); }
.ld-cms h1 { font: 800 40px/1.05 var(--ld-heading); color: var(--ld-midnight); margin: 0 0 8px; }
.ld-cm { margin: 28px 0; padding: 22px; border-radius: 20px; background: var(--ld-pearl); }
.ld-cm h2 { font: 800 24px/1.1 var(--ld-heading); color: var(--ld-midnight); margin: 0; }
.ld-cm header p { margin: 4px 0 14px; font-size: 14px; opacity: .7; }
.ld-cm h3 { margin: 0 0 8px; font: 600 12px/1 var(--ld-text); letter-spacing: .12em; text-transform: uppercase; color: var(--ld-electric); }
.ld-cm__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 18px; }
.ld-cm__grid > div { font-size: 14px; }
.ld-cm__em { display: block; width: 110px; height: 110px; background: var(--ld-midnight); -webkit-mask: var(--ld-wm) center / contain no-repeat; mask: var(--ld-wm) center / contain no-repeat; }
.ld-cm__sw { display: flex; align-items: center; gap: 8px; margin: 2px 0; font-size: 13px; }
.ld-cm__sw i { width: 22px; height: 22px; border-radius: 6px; box-shadow: inset 0 0 0 1px rgba(0,0,0,.15); }
.ld-cm small { display: block; margin-top: 4px; opacity: .55; }
.ld-cm__crest { height: 44px; width: auto; }
.ld-cm .ld-stamp { margin: 0 6px 6px 0; background: #ddd; }
.ld-cm__badges { margin-top: 18px; display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.ld-cm__badges h3 { flex: 0 0 100%; margin: 0; }
.ld-cm__b { display: inline-flex; padding: 6px; border-radius: 10px; background: #fff; }
.ld-cm__b--dark { background: var(--ld-midnight); }
.ld-cm__b img { height: 40px; width: auto; display: block; }
.ld-cm-gap { display: inline-block; margin: 2px 6px 2px 0; padding: 4px 9px; border-radius: 999px; background: #FFE3E0; color: #B3261E; font: 700 12px/1.2 var(--ld-text); }
.ld-cm__sum { margin: 14px 0 0; font-weight: 600; color: #B3261E; }
.ld-cm__sum--ok { color: #1F7D57; }

/* Name lockup */
.ld-lockup { display: inline-flex; align-items: center; line-height: 0; max-width: 100%; }
.ld-lockup svg { display: block; height: 100%; width: auto; overflow: visible; }
.ld-lockup-cell { display: flex; flex-direction: column; gap: 8px; align-items: flex-start; }
.ld-lockup-cell__g { display: inline-flex; padding: 14px 18px; border-radius: 12px; max-width: 100%; }
.ld-lockup-cell__g--light { background: #fff; }
.ld-cm__grid > .ld-cm__lockup { grid-column: span 2; }
.ld-lockup-cell__g .ld-lockup { max-width: 100%; }

/* Full-bleed: the theme wraps page content in a 1280px container, so top-level brand sections break out of it (hero, bands, footer reach the screen edges). */
.entry-content > .ld-hero, .entry-content > .ld-section, .entry-content > .ld-footer { width: 100vw; max-width: none; margin-left: calc(50% - 50vw); }

/* mobile values from r6 (desktop is 120/250 section padding, 8px chip gap, 14px chips) */
@media (max-width: 900px) {
	.ld-section--comm { padding: 88px 0 190px; }
	.ld-chips { gap: 6px; }
	.ld-chips .ld-chip { padding: 9px 12px; font-size: 13px; }
}

/* events: a scrolling row on desktop too (r6 .z6-g, 3.6 cards visible) */
@media (min-width: 901px) {
	.ld-grid.ld-events-grid { display: grid; grid-auto-flow: column; grid-template-columns: none; grid-auto-columns: calc((100% - 54px) / 3.6); overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: thin; padding: 6px 2px 18px; margin: -6px -2px 0; }
	.ld-grid.ld-events-grid > .ld-event { scroll-snap-align: start; }
}

/* Headings are Inter Tight (8 Oct, Kyle): optical sizing on, a slight lift shadow (light value on light grounds, stronger on the dark hero). Lockups, badges and the tag name stay on Archivo. */
.ld-head h2, h2.ld-h2, .ld-comm-h2, .ld-group h4, .ld-own h3, .ld-event__body h3, .ld-cms h1, .ld-cm h2, .ld-hero h1,
.ld-wk-head h2, .ld-y4-hire h3, .ld-z5-b h3, .ld-z5-post h3, .ld-z8-t h3, .ld-z9-h h3, .ld-z9-own h3, .ld-lc h3, .ld-zb-n h3 { font-optical-sizing: auto; text-shadow: var(--ld-lift-light); }
.ld-hero h1 { text-shadow: none; filter: drop-shadow(0 2px 8px rgba(0,0,0,.35)); }
.ld-own h3 { text-shadow: var(--ld-lift-dark); }
/* Round 6 mobile communities intro: H2 34px, lede 16/24 (the 900px max-width matches the rest of the mobile rules). */
@media (max-width: 900px) { .ld-comm-h2 { font-size: 34px; } .ld-comm-sub { font-size: 16px; line-height: 1.5; } }

/* codex-fixes (28 Oct, Codex QA F02): the open phone menu is a full-screen sheet, not a see-through card floating over the hero (labels read over the photo)
   or a block that shoves the page down. Same links and buttons; opaque navy, the burger turns into a close X, the page behind doesn't scroll. */
@media (max-width: 900px) {
	body .ld-nav:has(.ld-nav__t:checked) { position: fixed; inset: 0; z-index: 100000; height: 100dvh; overflow-y: auto; overscroll-behavior: contain; align-content: flex-start; align-items: center; background: var(--ld-ink-night, #0a0e24); padding-bottom: calc(24px + env(safe-area-inset-bottom)); box-shadow: none; }
	body:has(.ld-nav__t:checked) { overflow: hidden; }
	body:has(.ld-nav__t:checked) #wpconsent-root { display: none !important; } /* the cookie strip sits on top of everything; it is back the moment the menu closes */
	body.ld-chrome .ld-nav--bar:has(.ld-nav__t:checked) { padding-top: 12px; }
	body .ld-nav .ld-nav__t:checked ~ .ld-nav__links, body .ld-nav .ld-nav__t:checked ~ .ld-nav__right { background: none; -webkit-backdrop-filter: none; backdrop-filter: none; border-radius: 0; padding-left: 0; padding-right: 0; }
	body .ld-nav .ld-nav__t:checked ~ .ld-nav__links { margin-top: 22px; padding-top: 0; gap: 0; }
	body .ld-nav .ld-nav__t:checked ~ .ld-nav__links a { margin: 0; line-height: 1.2; padding: 16px 2px; font-size: 19px; font-weight: 600; color: var(--ld-white); border-bottom: 1px solid rgba(255,255,255,.1); }
	body .ld-nav .ld-nav__t:checked ~ .ld-nav__links a[aria-current="page"] { color: var(--ld-ice, #cfdcff); }
	body .ld-nav .ld-nav__t:checked ~ .ld-nav__right { padding-top: 22px; font-size: 16px; }
	body .ld-nav .ld-nav__t:checked ~ .ld-nav__burger span { transition: transform .2s; }
	body .ld-nav .ld-nav__t:checked ~ .ld-nav__burger span:first-child { transform: translateY(3.8px) rotate(45deg); }
	body .ld-nav .ld-nav__t:checked ~ .ld-nav__burger span:last-child { transform: translateY(-3.8px) rotate(-45deg); }
}
/* codex-fixes F03: the signed-in member's photo where the homepage hero says Sign in to everyone else. */
.ld-nav__me-h { display: block; width: 36px; height: 36px; border-radius: 50%; overflow: hidden; box-shadow: 0 0 0 2px rgba(255,255,255,.35); line-height: 0; }
.ld-nav__me-h img, .ld-nav__me-h .ldcp-av { display: grid !important; place-items: center; width: 100% !important; height: 100% !important; object-fit: cover; border-radius: 50%; font: 800 14px/1 var(--ld-text); }
@media (max-width: 900px) { body .ld-nav .ld-nav__t:checked ~ .ld-nav__right .ld-nav__me-h { display: flex; align-items: center; gap: 12px; width: auto; height: auto; box-shadow: none; border-radius: 0; overflow: visible; color: var(--ld-white); text-decoration: none; }
	body .ld-nav .ld-nav__t:checked ~ .ld-nav__right .ld-nav__me-h img, body .ld-nav .ld-nav__t:checked ~ .ld-nav__right .ld-nav__me-h .ldcp-av { width: 36px !important; height: 36px !important; } }
.ld-nav__me-h span.ld-nav__me-t { display: none; }
@media (max-width: 900px) { body .ld-nav .ld-nav__t:checked ~ .ld-nav__right .ld-nav__me-h span.ld-nav__me-t { display: inline; font: 600 16px/1 var(--ld-text); } }

/* ---- leftovers2 (28 Oct), blind test 19 "I have to squint at the date": nothing on a phone list is under 11px. Event date months and the
   Featured tag were 9 to 10.5px. One floor here, prefixed with html so it outranks each page's own rule without editing those files. */
html .lev-tile small, html .idu-results.idu-view-list .lev-tile small, html .lp-evc__tile small, html .ldevf-card__tile small,
html .ld-comm .evc-i .d small, html .ld-comm .ld-ev .d small, html .ld-event__date small, html .lde-date__m,
html body.ld-evf--single .idu-ev-date-month, html #buddypress .ld-comm a.ldhf-rev .ldhf-rev__d, html .ld-comm .tg { font-size: 11px; }
html body.ld-filters .ldf .idu-grid .ld-card__photo .ld-featured-tag { padding: 3px 7px; font-size: 11px; }

/* Homepage nav on a tablet (28 Oct, GCP check at 1024): "Buy & Sell" and "Sign in" wrapped onto two lines. Labels stay on one line and the gaps tighten from 901 to 1279; the inner pages' bar has its own rules in pages/chrome.css. */
@media (min-width: 901px) and (max-width: 1279px) {
	.ld-nav:not(.ld-nav--bar) { gap: 20px; }
	.ld-nav:not(.ld-nav--bar) .ld-nav__links { gap: 14px; }
	.ld-nav:not(.ld-nav--bar) .ld-nav__links a, .ld-nav:not(.ld-nav--bar) .ld-nav__right a { white-space: nowrap; }
	.ld-nav:not(.ld-nav--bar) .ld-nav__right { gap: 16px; }
}

/* home-real-data (28 Oct): homepage cards now link to the real post behind them. Titles keep their own ink (the link adds only the hover line);
   a business with no work photo gets a slim cover band for its community pill instead of an empty 16:9 box. */
.ld-group h4 a, .ld-y6-q b a { color: inherit; text-decoration: none; }
.ld-group h4 a:hover, .ld-y6-q b a:hover { text-decoration: underline; }
.ld-y6-rp a { color: inherit; text-decoration: none; }
.ld-zb-cv.ld-zb-cv--none { aspect-ratio: auto; height: 56px; }
.ld-zb-cv--none + .ld-zb-b .ld-zb-lg { margin-top: 12px; }

/* Report and Block sheets (BuddyBoss moderation, switched on 28 Oct, lane t_9c470fad02): our button in place of its stock orange */
.moderation-popup .report-submit.button, .moderation-popup .report-submit.button:hover { background: #0d1224 !important; border-color: #0d1224 !important; color: #fff !important; border-radius: 999px; font-weight: 600; }
.moderation-popup .report-submit.button:focus-visible { outline: 2px solid var(--ld-electric, #3D6BFF); outline-offset: 2px; }
.moderation-popup .bb-cancel-report-content.button { border-radius: 999px; }
.moderation-popup input[type="radio"]:checked { accent-color: var(--ld-electric, #3D6BFF); }

/* PAD-3, every dropdown on the site (Kyle 28 Oct: "spacing is off centre vertical and horizontal in all drop downs. Probably a global setting.
   Not equal padding around picked values"). The theme gives selects top and bottom padding inside a fixed height, so Safari draws the value
   high in its box. No vertical padding and a normal line height let every browser centre the value; the left padding stays each field's own. */
select:not([multiple]):not([size]) { padding-top: 0 !important; padding-bottom: 0 !important; line-height: normal; text-indent: 0; }

/* finish (31 Oct, Kyle's hero line): three short sentences; lines break only between phrases, never inside "Land a home." */
.ld-hero h1.ld-hero__land { max-width: 820px; font-size: clamp(36px, 5.2vw, 62px); line-height: 1.02; }
.ld-hero h1.ld-hero__land span { display: inline-block; white-space: nowrap; }

/* Member picture fallback (31 Oct, audit item 7): a member with no photo wears their community's square badge, else LandDU's, never a letter.
   The badge fills the same round frame a photo does (includes/member-fallback.php). */
img.ld-mbadge { object-fit: cover; background: #fff; }
.av.av--img { padding: 0; overflow: hidden; background: none !important; }
.av.av--img img { display: block; width: 100%; height: 100%; object-fit: cover; border-radius: inherit; }

/* Nikita 1 Nov (items 3 and 7): one corner mark for groups and members. The small flat square badge of their community sits on the bottom
   right of the round picture, on a white ring (ld_group_corner in communities-page.php, ld_member_flag in frontend.php). A group with no
   photo shows a cover cropped square (img.ld-gcov). Size follows the picture: 18px under 48px, 22px to 72px, 28px above. */
img.ld-gcov { object-fit: cover; }
.ld-has-corner { position: relative; overflow: visible !important; }
/* Business and job tiles (Kyle 2 Nov, stamps system): the tile keeps its corners when the corner tag lets it overflow; a tile with no logo
   shows the business's own initial on the brand cover (img.ldbz-cover, ld_letter_cover_url), cropped square. */
.ld-has-corner > img:first-child { border-radius: inherit; }
/* the tile's one grid cell is the tile itself, so a tall logo's 100% height is the tile's, not its own (an auto row grew to the image) */
.ld-has-corner { grid-template: minmax(0, 1fr) / minmax(0, 1fr); }
img.ldbz-cover { display: block; width: 100% !important; height: 100% !important; object-fit: cover !important; }
img.ld-corner, .ld-corner-mark { position: absolute; right: -3px; bottom: -3px; z-index: 1; display: block; width: 22px !important; height: 22px !important; margin: 0 !important; padding: 0 !important; border-radius: 6px !important; background: #fff; box-shadow: 0 0 0 2px #fff; object-fit: cover; }
.ld-corner--s img.ld-corner, img.ld-corner.ld-corner--s { width: 18px !important; height: 18px !important; border-radius: 5px !important; right: -2px; bottom: -2px; }
.ld-corner--l img.ld-corner, img.ld-corner.ld-corner--l { width: 28px !important; height: 28px !important; border-radius: 7px !important; right: 0; bottom: 0; box-shadow: 0 0 0 2.5px #fff; }
.ld-gpic { display: inline-block; flex: none; width: var(--ld-gpic, 48px); height: var(--ld-gpic, 48px); vertical-align: middle; border-radius: 50%; }
.ld-gpic > img.ld-gpic__i { display: block; width: 100% !important; height: 100% !important; margin: 0 !important; border-radius: 50% !important; object-fit: cover; background: #fff; }
/* Kyle 2 Nov 3:29pm: groups wear their community's FULL round stamp in the corner (as members do, B2), never the square badge */
img.ld-corner.ld-corner--stamp { border-radius: 50% !important; object-fit: cover; background: #fff; }
/* the group page header's picture keeps the header's own sizes (group.css, community-v3.css); its corner scales with it */
.ld-comm .gh-avw { display: block; padding: 0; background: none; }
.ld-comm .gh-avw > img.ld-corner { width: clamp(18px, 26%, 30px) !important; height: clamp(18px, 26%, 30px) !important; right: 2%; bottom: 2%; }
/* group lists that drew square tiles take the round group picture: search, profile Groups, account Groups */
.lds-gpic.ld-gpic, .ldpf-gt__pic.ld-gpic { align-self: center; }

/* Nikita 1 Nov (item 7) and Kyle 2 Nov: a member's nationality shows as their community's round stamp (ldpf_flag), never a flag. The
   whole stamp shows (Kyle picked B2 on 2 Nov over the clean cut), 20px inline in fact rows, filling the corner circle on an avatar. Groups wear the same round stamp in their corner (img.ld-corner--stamp). */
span.ld-cstamp { display: inline-block; flex: none; width: 20px; height: 20px; border-radius: 50%; overflow: hidden; vertical-align: -5px; background: #fff; box-shadow: 0 0 0 1px rgba(11, 13, 26, .08); line-height: 0; }
span.ld-cstamp > img.ld-cstamp__i { display: block !important; width: 100% !important; height: 100% !important; min-width: 0 !important; max-width: none !important; margin: 0 !important; border-radius: 0 !important; object-fit: cover; transform: none !important; }
.ld-namestamp { display: inline; margin-left: 6px; line-height: 0; }
.ld-namestamp > span.ld-cstamp { width: 18px; height: 18px; vertical-align: -3px; }
.ldcp-who b:has(> .ld-namestamp) > a { display: inline-block; max-width: calc(100% - 26px); overflow: hidden; text-overflow: ellipsis; vertical-align: bottom; }
:is(.ldmc-flag, .lds-av__flag, .idu-people-card__flag, .idu-mhead__flag):has(> .ld-cstamp) { border-radius: 50% !important; overflow: hidden; padding: 0 !important; background: #fff; }
:is(.ldmc-flag, .lds-av__flag, .idu-people-card__flag, .idu-mhead__flag) > span.ld-cstamp { display: block; width: 100%; height: 100%; box-shadow: none; }

/* Homepage employer section (3 Nov, Nikita: no priced ads; Kyle 5:23pm: like About and How it works). Copy and two icon rows on the left; on the
   right one white card as How it works' jobs block: a pack photo of someone at work over live job rows (the jobs list's .ljob, from jobs.css).
   Overrides the generated landdu-sections.css (.ld-z7-g, .ld-z7-cta). At 390 the section fits one phone screen: 2 rows, no ad snippet. */
.ld-section.ld-z7{padding:96px 0}
.ld-z7 .ld-z7-g{grid-template-columns:minmax(0,1fr) minmax(0,1.05fr);gap:72px}
.ld-z7 .ld-h2{text-wrap:balance}
.ld-z7 .ld-support{max-width:34em}
.ld-z7-pts2{list-style:none;margin:28px 0 0;padding:0;display:grid;gap:16px}
.ld-z7-pts2 li{display:grid;grid-template-columns:40px minmax(0,1fr);gap:14px;align-items:center;margin:0;font:400 15.5px/1.45 var(--ld-text);color:rgba(255,255,255,.76)}
.ld-z7-pts2 b{font-weight:600;color:#fff}
.ld-z7-ic{display:grid;place-items:center;width:40px;height:40px;border-radius:12px;background:rgba(255,255,255,.1);box-shadow:inset 0 0 0 1px rgba(255,255,255,.12);color:var(--ld-ice,#cfe0ff)}
.ld-z7-ic svg{width:21px;height:21px}
.ld-z7 .ld-z7-cta{gap:24px;margin-top:32px;flex-wrap:wrap}
.ld-z7-more{display:inline-flex;align-items:center;gap:22px;flex-wrap:wrap}
.ld-z7 a.ld-z7-plans{display:inline-block;font:500 14px/1.3 var(--ld-text);color:rgba(255,255,255,.66);text-decoration:underline;text-underline-offset:3px}
.ld-z7 a.ld-z7-plans:hover{color:#fff}
.ld-z7-card{border-radius:20px;overflow:hidden;background:#fff;box-shadow:0 30px 60px -30px rgba(0,0,0,.55),0 0 0 1px rgba(255,255,255,.08)}
.ld-z7-jh{margin:0;padding:16px 20px 4px;font:700 13px/1.2 var(--ld-text);letter-spacing:.02em;color:#667089}
/* No jobs yet (Nikita 5 Nov: no stock photo card): the copy uses the width, the two icon rows side by side at desktop */
.ld-z7 .ld-z7-g--solo{grid-template-columns:minmax(0,1fr)}
.ld-z7-g--solo .ld-z7-l{max-width:1040px}
.ld-z7-g--solo .ld-support{max-width:46em}
@media (min-width:901px){.ld-z7-g--solo .ld-z7-pts2{grid-template-columns:1fr 1fr;gap:20px 40px}}
.ld-z7-jobs .ljob+.ljob{border-top:1px solid #e4e7ef}
.ld-z7-jobs .ljob{padding:14px 20px}
.ld-z7-jobs .ljob__snip{display:none}
@media (max-width:900px){
.ld-section.ld-z7{padding:40px 0 32px}
.ld-z7 .ld-z7-g{grid-template-columns:minmax(0,1fr);gap:28px}
.ld-z7 .ld-eyebrow{margin-bottom:8px}
.ld-z7 .ld-support{font-size:16px;line-height:1.5;margin-top:12px}
.ld-z7-pts2{margin-top:18px;gap:10px}
.ld-z7-pts2 li{font-size:14.5px;grid-template-columns:36px minmax(0,1fr);gap:12px}
.ld-z7-ic{width:36px;height:36px;border-radius:10px}.ld-z7-ic svg{width:19px;height:19px}
.ld-z7 .ld-z7-cta{flex-direction:column;align-items:flex-start;gap:14px;margin-top:22px}
.ld-z7 .ld-z7-cta .ld-btn{height:48px}
.ld-z7-jh{padding:12px 16px 0}
.ld-z7-jobs .ljob{padding:10px 16px 12px;grid-template-columns:40px minmax(0,1fr);gap:12px}
.ld-z7-jobs .ljob__logo{width:40px;height:40px}
body .ld-z7-jobs .ljob .ljob__title{font-size:15.5px}
.ld-z7-jobs .ljob__co,.ld-z7-jobs .ljob__pay{font-size:13.5px}
.ld-z7-jobs .ljob__when{margin-top:2px}
.ld-z7-jobs .ljob:nth-of-type(n+3){display:none}
}
.ld-z7-jobs .ljob__feat{display:none}

/* No scroll-reveal animations (Kyle 5 Nov 3:34pm: sections sat blank for about 5 seconds). Adrian's idu-reveal blocks show at once. */
.idu-reveal, .idu-reveal--left, .idu-reveal--right, .idu-reveal--zoom, .idu-reveal--up { opacity: 1 !important; transform: none !important; transition: none !important; animation: none !important; visibility: visible !important; }

/* Business logos show whole (Kyle 5 Nov: Earlyhood's wide wordmark read "rly"): contained on a white tile, never cropped, in every
   place a logo sits (list, grid, page, cards, More businesses, My businesses). A business with no logo keeps its cover photo filling the tile. */
html body :is(.is-logo, .idu-biz-card-logo.has-logo, .idu-biz-row-logo.has-logo, .idu-biz-logo-preview.has-logo, .idu-biz-head__logo, .idu-biz-profile-logo, .ldbf-card__logo, .ldbf-logo__now) > img:first-child:not(.ld-corner):not(.ldbz-cover),
html body .idu-biz-page img.idu-biz-media__logo:not(.x) { object-fit: contain !important; box-sizing: border-box !important; padding: 7% !important; background: #fff !important; }
html body :is(.is-logo, .idu-biz-card-logo.has-logo, .idu-biz-row-logo.has-logo, .ldbf-card__logo:has(> img)):not(.x) { background: #fff !important; }

/* Homepage Businesses band: the logo shows whole (contained on white), like the directory (Earlyhood read "rly", 6 Nov). */
html body .ld-zb-lg:not(.x) { object-fit: contain !important; box-sizing: border-box !important; padding: 6px !important; background: #fff !important; }

/* Job logos show whole too (13 Nov site review M2: Earlyhood read "rly" on the home jobs band, the Jobs list and the job page). The file is now the
   uncropped medium size (business-kit.php); here every place a job's employer logo sits contains it on a white ground. A job with no logo keeps
   its employer's cover photo (.is-mark) filling the tile. */
html body :is(.ld-y4-j > img.ld-y4-logo, .ljob__logo.is-co > img:first-child, .ljs-logo.is-co > img:first-child, .idu-job-single .idu-job-company__logo img, .idu-job-single .idu-job__logo img, .jm-dashboard-job .company img):not(.ld-corner) { object-fit: contain !important; box-sizing: border-box !important; padding: 7% !important; background: #fff !important; }
html body .ljob__logo.is-co, html body .idu-job-single :is(.idu-job-company__logo, .idu-job__logo):has(> img) { background: #fff !important; }

/* The approved category tile for an event with no photo (13 Nov S2), shared base: the same tones, faded icon, glass square and category name
   as the Events cards (events-feed.css, which keeps its own sizes there). Used on the signed-out event page, the home events band and the
   feed's Upcoming events. Its box fills the photo area; the date tile stays on top. */
.lev-media__band { position: absolute; inset: 0; display: block; overflow: hidden; color: rgba(255,255,255,.92); background: radial-gradient(120% 90% at 0% 0%, #9fbcff 0%, #3d63ff 55%, #2741c9 100%); }
.lev-media__band--night { background: radial-gradient(120% 90% at 0% 0%, #1e2fa8 0%, #141a66 45%, #0a0e24 100%); }
.lev-media__band--gold { background: radial-gradient(120% 90% at 0% 0%, #f8e2a6 0%, #e9b949 60%, #d39a26 100%); color: #0a0e24; }
.lev-band__big { position: absolute; right: -8%; bottom: -22%; width: 62%; opacity: .16; line-height: 0; }
.lev-band__big svg { width: 100% !important; max-width: none !important; height: auto !important; stroke-width: 1.2; }
.lev-band__ic, .lev-band__stamp { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -62%); line-height: 0; }
.lev-band__ic { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 16px; background: rgba(255,255,255,.16); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.lev-band__ic svg { width: 30px !important; height: 30px !important; }
.lev-band__stamp img { width: 72px; height: 72px; }
.lev-band__cat { position: absolute; left: 0; right: 0; top: calc(50% + 26px); text-align: center; font: 700 12px/1.2 var(--ld-text, "Inter", sans-serif); letter-spacing: .08em; text-transform: uppercase; opacity: .9; }
/* The tile is absolute, so its parent must be positioned or it fills the nearest positioned ancestor (13 Nov: the whole profile page). Zero specificity: any box with its own position keeps it. */
:where(:has(> .lev-media__band)) { position: relative; }
.ld-sop__media.is-tile { position: relative; }
.ld-event__img--tile { background: none !important; overflow: hidden; }
.ld-event__img--tile .ld-event__date { position: absolute; z-index: 1; }
#buddypress .ld-comm :is(.ldhf-evc__ph, .ldhf-rev__ph).is-tile { background: none; overflow: hidden; }
#buddypress .ld-comm :is(.ldhf-evc__ph, .ldhf-rev__ph).is-tile :is(.ldhf-evc__d, .ldhf-rev__d) { z-index: 1; }
/* a small thumbnail (the feed's side list) keeps only the tone and the glass square */
#buddypress .ld-comm .ldhf-rev__ph.is-tile :is(.lev-band__big, .lev-band__cat) { display: none; }
#buddypress .ld-comm .ldhf-rev__ph.is-tile .lev-band__ic { transform: translate(-50%, -50%) scale(.6); }
/* the signed-out job page's logo tile grows sideways for a wide wordmark, so it stays legible (a square 56px tile left it 9px tall) */
html body img.ld-sop__logo:not(.x) { width: auto !important; max-width: min(220px, 100%) !important; min-width: 56px; height: 56px !important; object-fit: contain !important; box-sizing: border-box !important; padding: 8px 10px !important; background: #fff !important; }
/* the job page's head logo tile also grows sideways for a wide wordmark (the 36px one in the sticky bar stays square) */
html body .ljs-logo.ljs-logo--md.is-wide { width: 150px; } /* the logo fills the tile; the company name keeps the room beside it (390: it broke one letter per line) */
@media (max-width: 600px) { html body .ljs-logo.ljs-logo--md.is-wide { width: 112px; } }

/* Wide job logos readable (13 Nov follow-up: Earlyhood's wordmark was whole but a few pixels tall in a 40px square). When a list holds a wide
   logo (.is-wide, from the file's own shape), every row's logo slot in that list becomes the same wider box, so titles stay in one line;
   a wide logo fills that slot, every other logo, cover photo, face or initials keeps its square at the slot's start, and the stamp sits off the logo's corner. */
.ljl-list:has(.ljob__logo.is-wide) > .ljob, .ljs-more__list:has(.ljob__logo.is-wide) > .ljob { grid-template-columns: 112px minmax(0, 1fr); }
:is(.ljl-list, .ljs-more__list):has(.ljob__logo.is-wide) .ljob__logo { justify-self: start; }
/* 18 Nov sweep M2: every other list of job rows too (search results .lds-panel--jobs, How it works .hiw-jobs__list, a business page's Jobs tab, the home employers card, the job preview): the wide logo spilled over the title */
:is(.lds-panel--jobs, .hiw-jobs__list, .ldbz2-jobs, .ld-z7-jobs, .ljp-prev__card):has(.ljob__logo.is-wide) > .ljob { grid-template-columns: 112px minmax(0, 1fr); }
:is(.lds-panel--jobs, .hiw-jobs__list, .ldbz2-jobs, .ld-z7-jobs, .ljp-prev__card):has(.ljob__logo.is-wide) .ljob__logo { justify-self: start; }
.ljob__logo.is-wide { width: 112px; height: 48px; }
.ljl .idu-view-grid .ljl-list:has(.ljob__logo.is-wide) > .ljob { grid-template-columns: minmax(0, 1fr); }
.ljl .idu-view-grid .ljob__logo.is-wide { width: min(150px, calc(44px * var(--lr, 3))); height: 44px; } /* a card: the logo takes its own shape */
.ljob__logo.is-wide img.ld-corner, .ld-y4-j .is-wide + .ld-corner, .ljs-logo.is-wide img.ld-corner { right: -10px !important; bottom: -10px !important; }
.ld-y4-l:has(img.ld-y4-logo.is-wide) > .ld-y4-j { grid-template-columns: 112px 1fr auto; }
.ld-y4-l:has(img.ld-y4-logo.is-wide) > .ld-y4-j > img { justify-self: center; }
html body .ld-y4-j > img.ld-y4-logo.is-wide:not(.x) { width: 112px !important; height: 52px !important; border-radius: 12px !important; padding: 6px 8px !important; filter: none; box-shadow: 0 0 0 1px #e1e4eb; }
html body .ljs-logo.ljs-logo--sm.is-wide { width: 84px; }
html body .ljs-logo.ljs-logo--sm.is-wide > img:first-child { padding: 4px 6px !important; }
@media (max-width: 600px) {
	.ljl-list:has(.ljob__logo.is-wide) > .ljob, .ljs-more__list:has(.ljob__logo.is-wide) > .ljob { grid-template-columns: 92px minmax(0, 1fr); gap: 12px; }
	.ljob__logo.is-wide { width: 92px; height: 42px; }
	.ld-y4-l:has(img.ld-y4-logo.is-wide) > .ld-y4-j { grid-template-columns: 92px 1fr; }
	html body .ld-y4-j > img.ld-y4-logo.is-wide:not(.x) { width: 92px !important; height: 44px !important; }
}
.ljob__logo, .ljs-logo { grid-template: minmax(0, 1fr) / minmax(0, 1fr); } /* the image fits the box, never its own height (a tall or square file overflowed a wide slot) */
/* Speed (13 Nov 2026), images. The hero's five photos arrive as custom properties (components-page.php): --hj the JPEG, --hw its WebP, --hp the
   phone crop (the exact part of the photo a phone shows, so it is centred). Only the first shows and downloads until the page has loaded; then
   includes/pages/speed.php adds .is-all, the other four load and the 30s cross-fade starts. Without scripts the first photo simply stays. */
.ld-hero__photo i { background-image: var(--hj); }
@supports (background-image: image-set(url('a.webp') type('image/webp'))) {
	.ld-hero__photo i { background-image: var(--hw, var(--hj)); }
	@media (max-width: 900px) { .ld-hero__photo i:nth-child(n) { background-image: var(--hp, var(--hw, var(--hj))); background-position: 50% 50%; } }
	/* the two tall homepage photos (Work, Meet): the WebP when the plugin ships one */
	div.ld-y4-ph { background-image: var(--img-work-w, var(--img-work)); }
	div.ld-y6-ph { background-image: var(--img-meet-w, var(--img-meet)); }
}
.ld-hero__photo:not(.is-all) i:not(:first-child) { background-image: none; }
.ld-hero__photo:not(.is-all) i { animation-play-state: paused; }

/* Speed (13 Nov 2026), layout shift. Adrian's phone search strip (.idu-mobile-search-bar) is printed above the homepage and his header script moves
   it into the header, which the homepage hides, once the page has been read. On a slow phone that took ten seconds: the hero sat 143px down, then
   jumped up (layout shift 0.174). The strip never shows on the homepage, so it is hidden from the first paint. */
body.home .idu-mobile-search-bar { display: none !important; }
/* 18 Nov: a tap on the Comment icon or label opened the box with "@undefined" in it (BuddyBoss reads the tapped element, not the link, and took
   it for a reply to a comment). The link takes every tap; a reply on a comment still tags that person. */
.bp-generic-meta .acomment-reply > *, .activity-comments .acomment-reply > * { pointer-events: none; }

/* 20 Nov audit at 390 (audit-390): the footer's legal links left "Sitemap" alone on its own row on a phone: two even columns instead. */
@media (max-width: 767px) { .ld-footer__bot nav { display: grid; grid-template-columns: repeat(2, max-content); gap: 12px 24px; } }
/* 20 Nov audit: under 390 wide the hero's "Land your community" ran past the screen edge (cut at 360): the line scales to the width there. 390 and up unchanged. */
@media (max-width: 389px) { .ld-hero h1.ld-hero__land { font-size: calc((100vw - 44px) / 9.92); } }
/* 20 Nov audit: in lists of job rows (How it works, search, a business's Jobs tab) the visa tag would not wrap and pushed the row past the card at 360. */
:is(.lds-panel--jobs, .hiw-jobs__list, .ldbz2-jobs, .ld-z7-jobs, .ljp-prev__card) .ljob__main { min-width: 0; grid-template-columns: minmax(0, 1fr); }
:is(.lds-panel--jobs, .hiw-jobs__list, .ldbz2-jobs, .ld-z7-jobs, .ljp-prev__card) .ljob-tag { max-width: 100%; white-space: normal; height: auto; min-height: 22px; padding-top: 4px; padding-bottom: 4px; line-height: 1.25; }
/* 20 Nov audit at 390 (needs Kyle's eye, separate commit): home "Letting a room or selling up?" left "Sell something" alone on a second row. On a phone the
   main button takes the first row and the two others share the second, the block spanning the card's inner width so it sits centred (coordinator, 20 Nov 4:30pm). */
@media (max-width: 767px) { .ld-z5-post .ld-z5-act { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; align-self: stretch; width: 100%; } .ld-z5-post .ld-z5-act .ld-btn { justify-content: center; } .ld-z5-post .ld-z5-act .ld-btn:first-child { grid-column: 1 / -1; } } /* .ld-z5-post: landdu-sections.css loads after this file */
