.lds-ghost-event-details{margin-block:2rem;padding:1.5rem;border:1px solid var(--lds-ghost-brand-accent,#82A523);border-radius:0}.lds-ghost-event-details dt{font-weight:700}.lds-ghost-event-details dd{margin:0 0 1rem}.lds-ghost-event-status{text-transform:capitalize;font-weight:700}
.lds-ghost-events-section + .lds-ghost-events-section {
    border-top: 1px solid var(--lds-colour-border, #d8dad9);
}
.lds-ghost-events-section .lds-ghost-home-section-header h2 {
    margin: 0;
}
.lds-ghost-events-section-description {
    max-width: 65ch;
    margin: 0.75rem 0 0;
}


.lds-ghost-event-card-location {
    margin-block: 0.75rem;
    overflow-wrap: anywhere;
}
.lds-ghost-event-details dd {
    overflow-wrap: anywhere;
}

.lds-ghost-event-details-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 2rem;
}
.lds-ghost-event-details-layout dl,
.lds-ghost-event-booking {
    margin: 0;
}
.lds-ghost-event-details-layout > div:only-child {
    grid-column: 1 / -1;
}
.lds-ghost-event-calendar {
    margin: 1rem 0 0;
}
.lds-ghost-event-details-layout dd:last-child {
    margin-bottom: 0;
}
.lds-ghost-event-booking {
    justify-self: end;
    align-self: end;
    width: 20rem;
    max-width: 100%;
}
.lds-ghost-event-booking .lds-button {
    width: 100%;
    max-width: 100%;
    color: var(--lds-colour-on-accent, #ffffff);
    text-align: center;
    overflow-wrap: anywhere;
}
.lds-ghost-event-booking .lds-button:hover,
.lds-ghost-event-booking .lds-button:focus-visible {
    color: var(--lds-colour-on-accent-strong, #ffffff);
}
@media (max-width: 767px) {
    .lds-ghost-event-details-layout {
        grid-template-columns: minmax(0, 1fr);
    }
    .lds-ghost-event-booking {
        justify-self: stretch;
        width: auto;
        max-width: none;
    }
    .lds-ghost-event-booking .lds-button {
        width: 100%;
    }
}

/* Keep the first public topic in tag order; retain the category fallback when there are no topics. */
.lds-ghost-event-card-topic ~ .lds-ghost-event-card-topic,
.lds-ghost-event-card-topic ~ .lds-ghost-event-card-topic-fallback {
    display: none;
}

/* Event cards share the image, category and headline sequence with other cards. */
.lds-ghost-tag-postfeed--events {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    align-items: stretch;
    padding: 0;
}
.gh-postfeed > .lds-ghost-event-card {
    order: 0;
    grid-column: auto;
}
@media (min-width: 701px) {
    .gh-postfeed > .lds-ghost-event-card.featured {
        grid-column: span 2;
    }
    .lds-ghost-event-card.featured .lds-ghost-event-card-picture {
        aspect-ratio: 32 / 9;
    }
}
@media (max-width: 980px) {
    .lds-ghost-tag-postfeed--events {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}
@media (max-width: 700px) {
    .lds-ghost-tag-postfeed--events {
        grid-template-columns: 1fr;
    }
}
.gh-postfeed .lds-ghost-event-card .gh-card-link {
    border-radius: 0;
}
.lds-ghost-event-card-picture {
    position: relative;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: var(--lds-colour-surface-soft, #eff5dc);
}
.lds-ghost-event-card-image {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.lds-ghost-event-card-topic,
.lds-ghost-event-card-topic-fallback {
    display: flex;
    flex-direction: column;
    gap: 0.55rem;
}
.lds-ghost-event-card-summary {
    display: block;
    margin: 0.4rem 0;
}
.lds-ghost-event-card-picture > .lds-ghost-event-date-badge {
    position: absolute;
    left: 1.4rem;
    bottom: 1.4rem;
    width: 7.2rem;
    border: 1px solid #fff;
}
.lds-ghost-event-date-badge {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 1rem 0.5rem;
    background: var(--lds-ghost-brand-readable, var(--lds-colour-accent-strong, #325040));
    color: var(--lds-colour-on-accent-strong, #ffffff);
    border-radius: 0;
    line-height: 1.2;
}
.lds-ghost-event-date-day {
    font-size: 3.2rem;
    font-weight: 800;
}
.lds-ghost-event-date-month {
    font-size: 1.4rem;
    font-weight: 700;
}
.lds-ghost-event-date-year {
    font-size: 1.1rem;
    margin-top: 0.2rem;
}
.lds-ghost-event-card-practical {
    font-size: 1.4rem;
}
.lds-ghost-event-card-practical p {
    display: flex;
    gap: 0.6rem;
    align-items: baseline;
}
.gh-postfeed .lds-ghost-event-card .lds-ghost-event-card-practical p {
    font-size: 1.4rem;
    line-height: 1.45;
}
.lds-ghost-event-card-practical p + p {
    margin-top: 0.5rem;
}
.lds-ghost-event-card-practical svg {
    width: 1.5rem;
    height: 1.5rem;
    flex: 0 0 1.5rem;
    align-self: start;
    margin-top: 0.3rem;
}
.lds-ghost-event-card-practical span {
    overflow-wrap: anywhere;
}
.lds-ghost-event-card--no-image .lds-ghost-event-card-summary {
    display: grid;
    grid-template-columns: 7.2rem minmax(0, 1fr);
    gap: 1.4rem;
    align-items: start;
}

/* Shared event cards keep their archive presentation inside homepage mixed feeds. */
.gh-postfeed .lds-ghost-event-card .gh-card-link {
    grid-template-rows: auto 1fr;
    color: var(--lds-colour-text, #444642);
    background: var(--lds-colour-surface, #ffffff);
}
.gh-postfeed .lds-ghost-event-card .gh-card-content {
    width: 100%;
    min-height: auto;
    margin-left: 0;
    color: var(--lds-colour-text, #444642);
    background: var(--lds-colour-surface, #ffffff);
}
.gh-postfeed .lds-ghost-event-card .gh-card-content > strong {
    color: var(--lds-colour-link, #325040);
}
.lds-ghost-home-latest .lds-ghost-mixed-postfeed > .gh-card:nth-child(n) {
    order: 0;
}
/* Keep the publication feed even; featured event width belongs to the Events archive. */
.lds-ghost-home-latest .gh-postfeed > .lds-ghost-event-card.featured {
    grid-column: auto;
}
.lds-ghost-home-latest .lds-ghost-event-card.featured .lds-ghost-event-card-picture {
    position: relative;
    aspect-ratio: 16 / 9;
}

.lds-ghost-home-latest .lds-ghost-event-card.featured .gh-card-content {
    padding: 1.4rem 1.4rem clamp(2rem, 3vw, 3rem);
    border-top: 1px solid var(--lds-colour-border, #d8dad9);
}
.lds-ghost-home-latest .lds-ghost-event-card.featured .gh-card-title {
    font-size: clamp(3.6rem, 4vw, var(--lds-type-h2-font-size, 4.8rem));
    line-height: var(--lds-type-h2-line-height, 1.05em);
}
@media (max-width: 500px) {
    .lds-ghost-home-latest .lds-ghost-event-card.featured .gh-card-title { font-size: 2.8rem; }
}

/* Prototype prose rhythm: paragraph gaps follow text size, not viewport size. */
.gh-content > p:not(:first-child) {
    margin-top: 1em;
}

/* Post-only image treatment; page headers keep their existing bottom fade. */
.lds-ghost-entry-head--shared.lds-ghost-entry-head--image {
    background-image:
        linear-gradient(90deg, rgb(255 255 255 / 0.98) 0%, rgb(255 255 255 / 0.94) 35%, rgb(255 255 255 / 0.35) 60%, rgb(255 255 255 / 0) 78%),
        var(--lds-ghost-entry-image);
}
.lds-ghost-event-header-date {
    display: flex;
    align-items: baseline;
    gap: 0.5em;
}
.lds-ghost-event-header-date svg {
    flex: none;
    align-self: center;
    width: 1.2em;
    height: 1.2em;
}
.lds-ghost-event-header-date-label {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap;
    border: 0;
}

/* Balance the related-post section above the footer, avoiding stacked blank space. */
.gh-readmore {
    padding-bottom: clamp(2.4rem, 4vmin, 4rem);
}
.gh-main:has(> .gh-readmore) + .lds-footer-vnext {
    margin-top: 0;
}
.lds-ghost-readmore-card .gh-card-link {
    display: grid;
}

/* Keep white strip backgrounds below every foreground header element. */
.lds-ghost-entry-head--shared.lds-ghost-entry-head--image {
    isolation: isolate;
}
.lds-ghost-entry-head--shared.lds-ghost-entry-head--image .lds-ghost-entry-head-inner {
    position: relative;
    isolation: auto;
}
.lds-ghost-entry-head--shared.lds-ghost-entry-head--image .gh-post-meta {
    /* Preserve the shared foreground stack instead of isolating metadata. */
    opacity: 1;
    color: #666;
}
.lds-ghost-entry-head--shared.lds-ghost-entry-head--image :is(
    .lds-ghost-header-foreground,
    .lds-ghost-header-intro-text,
    .lds-ghost-breadcrumb > *,
    .lds-ghost-entry-rule,
    .lds-ghost-entry-image-caption,
    .lds-ghost-post-byline,
    .lds-ghost-event-header-date > svg
) {
    position: relative;
    z-index: 1;
}
.lds-ghost-entry-head--shared.lds-ghost-entry-head--image .gh-excerpt {
    position: relative;
    text-shadow: none;
}
.lds-ghost-entry-head--shared.lds-ghost-entry-head--image :is(.lds-ghost-breadcrumb, .gh-title, .lds-ghost-event-header-date-text) {
    position: relative;
    text-shadow: none;
}
/* Position topic foregrounds within the shared header stack. */
.lds-ghost-entry-head--shared.lds-ghost-entry-head--image :is(
    .lds-ghost-entry-topics,
    .lds-ghost-entry-topics-label,
    .lds-ghost-entry-topics-list li
) {
    position: relative;
}
.lds-ghost-entry-head--shared.lds-ghost-entry-head--image .lds-ghost-entry-topics-list a {
    position: relative;
    z-index: 1;
}

/* Opaque white line fragments with subtle card shadows. */
.lds-ghost-entry-head--shared.lds-ghost-entry-head--image.lds-ghost-entry-head--line-strips {
    --lds-ghost-header-text-width: min(var(--content-width, 720px), calc(100vw - 8vmin));
    --lds-ghost-header-text-left: calc((100vw - var(--lds-ghost-header-text-width)) / 2);
    --lds-ghost-header-image-overlap: min(2rem, var(--lds-ghost-header-text-left));
    --lds-ghost-parallax-y: 0px;
    position: relative;
    background: #fff;
}
.lds-ghost-entry-head--shared.lds-ghost-entry-head--image.lds-ghost-entry-head--line-strips::before {
    content: "";
    position: absolute;
    /* Preserve the established image crop without moving it after first paint. */
    inset-block: -24px;
    inset-inline-start: calc(var(--lds-ghost-header-text-left) - var(--lds-ghost-header-image-overlap));
    inset-inline-end: 0;
    z-index: -1;
    pointer-events: none;
    background-image:
        linear-gradient(90deg, #fff 0, #fff var(--lds-ghost-header-image-overlap), rgb(255 255 255 / 0.85) calc(var(--lds-ghost-header-image-overlap) + var(--lds-ghost-header-text-width) / 4), rgb(255 255 255 / 0.35) calc(var(--lds-ghost-header-image-overlap) + var(--lds-ghost-header-text-width) * 2 / 3), rgb(255 255 255 / 0) calc(var(--lds-ghost-header-image-overlap) + var(--lds-ghost-header-text-width))),
        var(--lds-ghost-entry-image);
    clip-path: inset(24px 0);
    background-position: center, center;
    background-size: cover;
}
@media (prefers-reduced-motion: reduce) {
    .lds-ghost-entry-head--shared.lds-ghost-entry-head--image.lds-ghost-entry-head--line-strips::before {
        background-position: center, center;
    }
}
.lds-ghost-entry-head--line-strips .lds-ghost-entry-head-inner,
.lds-ghost-entry-head--line-strips .lds-ghost-entry-head-inner * {
    text-shadow: none !important;
}
.lds-ghost-entry-head--line-strips .lds-ghost-event-header-date svg {
    filter: none;
    background: #fff;
}
.lds-ghost-entry-head--shared.lds-ghost-entry-head--image.lds-ghost-entry-head--line-strips :where(
    .lds-ghost-header-foreground,
    .lds-ghost-header-intro-text,
    .lds-ghost-breadcrumb > a,
    .lds-ghost-breadcrumb > span
) {
    background: #fff;
    -webkit-box-decoration-break: clone;
    box-decoration-break: clone;
    padding-inline: 0 0.12em;
}
.lds-ghost-entry-head--line-strips.lds-ghost-entry-head--image .lds-ghost-breadcrumb {
    width: fit-content;
    max-width: 100%;
    background: #fff;
    padding-block: 0.45rem;
    padding-inline-end: 0.8rem;
}
.lds-ghost-entry-head--line-strips.lds-ghost-entry-head--image .lds-ghost-entry-topics-label {
    width: fit-content;
    max-width: 100%;
    background: #fff;
    padding-block: 0.45rem;
    padding-inline-end: 0.8rem;
}
.lds-ghost-entry-head--line-strips .gh-post-meta {
    margin-top: 2.4rem;
}
.lds-ghost-entry-head--shared.lds-ghost-entry-head--line-strips.lds-ghost-entry-head--image .gh-post-meta .lds-ghost-header-foreground {
    padding-block: 0.45rem;
    padding-inline-end: 0.8rem;
}
.lds-ghost-entry-head--line-strips.lds-ghost-entry-head--image .lds-ghost-post-byline__author {
    width: fit-content;
    max-width: 100%;
    background: #fff;
    padding: 0.35rem 0.8rem 0.35rem 0;
}
.lds-ghost-entry-head--line-strips .gh-excerpt {
    line-height: 1.25;
}
.lds-ghost-entry-head--shared.lds-ghost-entry-head--line-strips.lds-ghost-entry-head--image .gh-excerpt .lds-ghost-header-intro-text {
    padding-block: 0.04em;
    padding-inline-end: 0.8rem;
}
.lds-ghost-line-strip-light {
    display: none;
}
.lds-ghost-entry-head--shared.lds-ghost-entry-head--line-strips.lds-ghost-entry-head--image :is(.gh-title .lds-ghost-header-foreground, .gh-excerpt .lds-ghost-header-intro-text) {
    background: transparent;
}
.lds-ghost-entry-head--line-strips.lds-ghost-entry-head--image .lds-ghost-line-strip-light {
    display: block;
    position: absolute;
    inset: 0;
    z-index: 0;
    color: transparent;
    pointer-events: none;
}
.lds-ghost-entry-head--line-strips.lds-ghost-entry-head--image .lds-ghost-line-strip-fragment {
    background: #fff;
    -webkit-box-decoration-break: clone;
    box-decoration-break: clone;
    padding-inline: 0 0.12em;
}
.lds-ghost-entry-head--line-strips.lds-ghost-entry-head--image .gh-excerpt .lds-ghost-line-strip-fragment {
    padding-block: 0.04em;
    padding-inline-end: 0.8rem;
}

/* Trial the homepage story cards' resting shadow on the white surfaces. */
.lds-ghost-entry-head--line-strips.lds-ghost-entry-head--image :is(
    .lds-ghost-line-strip-fragment,
    .lds-ghost-breadcrumb,
    .gh-post-meta .lds-ghost-header-foreground,
    .lds-ghost-entry-topics-label,
    .lds-ghost-entry-topics-list a,
    .lds-ghost-post-byline__author
) {
    box-shadow: 0 0.3rem 0.9rem rgb(0 0 0 / 0.04);
}

/* Shared body-divider rhythm for posts, pages and editable homepage content.
   Card sections and homepage layout borders retain their own compact spacing. */
.gh-content {
    --lds-ghost-body-divider-space: clamp(2.4rem, 3.5vmin, 3.6rem);
}
.gh-article .gh-content:not(.lds-ghost-related-postcard-section) > h2:not(:first-child),
.gh-article .gh-content:not(.lds-ghost-related-postcard-section) > :where(section, div):has(> h2:first-child):not(.kg-card):not(:first-child) {
    margin-top: var(--lds-ghost-body-divider-space);
    padding-top: var(--lds-ghost-body-divider-space);
}
.gh-content hr {
    margin-top: var(--lds-ghost-body-divider-space);
}
.gh-content hr + * {
    margin-top: var(--lds-ghost-body-divider-space) !important;
}

/* Accessible navigation and consistent card actions in the prototype. */
button.gh-burger { border: 0; padding: 0; background: transparent; color: inherit; cursor: pointer; }
.gh-burger:focus-visible { outline: 2px solid currentColor; outline-offset: 4px; }
.lds-ghost-skip-link { position: fixed; top: 1rem; left: 1rem; z-index: 10000; padding: 1rem; background: white; color: #222; transform: translateY(-200%); }
.lds-ghost-skip-link:focus { transform: none; }
.gh-card .gh-card-content > strong { align-self: stretch; justify-self: stretch; justify-content: flex-end; align-items: flex-end; text-align: right; gap: .8rem; }
.gh-card .gh-card-content > strong::after { flex: 0 0 auto; margin-bottom: .35em; }
.gh-card .gh-card-content > strong svg { flex: 0 0 auto; align-self: flex-end; margin-bottom: .2em; }
.lds-ghost-home-involved-grid { align-items: stretch; }
.lds-ghost-home-involved-content { min-height: 0; }
.lds-ghost-home-involved-posts { display: flex; flex-direction: column; min-width: 0; }
.lds-ghost-home-involved-posts > .gh-postfeed { flex: 1; align-items: stretch; }
.lds-ghost-event-notice { display: block; width: fit-content; padding: .6rem 1rem; background: #fff4de; color: #583c0a; border-left: 3px solid #946519; font-size: 1.6rem; font-weight: 700; }
.lds-ghost-filter-results { margin: 1rem 0; font-size: 1.4rem; }
@media (max-width: 640px) {
    .gh-burger { min-width: 44px; min-height: 44px; }
    .lds-ghost-tag-filter-buttons--resource-types { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .8rem; }
    .lds-ghost-tag-filter-buttons--resource-types > .lds-ghost-tag-filter-card { min-height: 64px; padding: 1rem; align-content: center; }
    .lds-ghost-tag-filter-card__icon, .lds-ghost-tag-filter-card__description { display: none; }
    .lds-ghost-tag-filter-card__title { font-size: 1.6rem; }
}
/* Print the reading content, not the screen navigation or decoration. */
@media print {
    *, *::before, *::after { background-image: none !important; box-shadow: none !important; }
    .lds-footer-vnext, .lds-ghost-first-nations-subfooter, footer, .lds-ghost-skip-link,
    .lds-ghost-line-strip-light, .lds-ghost-entry-topics, .lds-ghost-event-calendar,
    .lds-ghost-tag-filters, .lds-ghost-filter-results { display: none !important; }
    .lds-ghost-entry-head::before, .lds-ghost-entry-head::after,
    .lds-ghost-home-hero::before, .lds-ghost-home-hero::after { display: none !important; }
    .lds-ghost-entry-head, .lds-ghost-home-hero, .lds-ghost-home-story,
    .lds-ghost-home-involved--cover, .gh-cover { background: none !important; background-image: none !important; min-height: 0 !important; }
    .lds-ghost-entry-head *, .lds-ghost-home-hero * { animation: none !important; opacity: 1 !important; text-shadow: none !important; box-shadow: none !important; color: #222 !important; }
    .lds-ghost-event-details { break-inside: avoid; }
    .lds-ghost-event-booking a { background: none !important; color: #222 !important; padding: 0 !important; border: 0 !important; }
    .lds-ghost-event-booking a::after { content: " (" attr(href) ")" !important; display: inline !important; overflow-wrap: anywhere; font-weight: normal; }
}

.lds-ghost-booking-qr { display: none; }
@media print {
    .lds-ghost-event-header-date { display: none !important; }
    .lds-ghost-booking-qr { display: block; margin: 3mm auto 0; text-align: center; font-size: 9pt; color: #000; }
    .lds-ghost-booking-qr svg { display: block; width: 30mm; height: 30mm; margin: 0 auto; }
    .lds-ghost-booking-qr > span { display: block; margin-top: 1mm; }
}

/* A printed event can be used as a branded flyer, even with background graphics off. */
.lds-ghost-event-print-brand, .lds-ghost-event-print-image { display: none; }
@page event-flyer {
    @top-left { content: none; border: 0; }
    @top-center { content: none; border: 0; }
    @top-right { content: none; border: 0; }
    @bottom-left { content: none; border: 0; }
    @bottom-center { content: none; border: 0; }
    @bottom-right { content: none; border: 0; }
}
@media print {
    body:has(:is(.lds-ghost-event-post, .lds-ghost-group-post, .lds-ghost-project-post)) { page: event-flyer; }
    .lds-ghost-event-print-brand { display: block; margin-bottom: 5mm; font-size: 14pt; font-weight: 800; }
    .lds-ghost-event-print-brand img { display: block; max-height: 16mm; max-width: 65mm; width: auto; }
    :is(.lds-ghost-event-post, .lds-ghost-group-post, .lds-ghost-project-post) .lds-ghost-breadcrumb { display: none !important; }
    :is(.lds-ghost-event-post, .lds-ghost-group-post, .lds-ghost-project-post) .lds-ghost-entry-head { position: relative; overflow: hidden; padding: 6mm !important; margin-bottom: 5mm; isolation: isolate; }
    :is(.lds-ghost-event-post, .lds-ghost-group-post, .lds-ghost-project-post) .lds-ghost-entry-head-inner { position: relative; z-index: 1; }
    :is(.lds-ghost-event-post, .lds-ghost-group-post, .lds-ghost-project-post) .lds-ghost-event-print-image { display: block !important; position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .35 !important; z-index: 0; }
    :is(.lds-ghost-event-post, .lds-ghost-group-post, .lds-ghost-project-post) .lds-ghost-event-booking:has(.lds-ghost-booking-qr) a::after { content: none !important; display: none !important; }
}
@media print {
    :is(.lds-ghost-event-post, .lds-ghost-group-post, .lds-ghost-project-post) .lds-ghost-event-details-layout { display: grid; grid-template-columns: minmax(0,1fr) 36mm; gap: 4mm; align-items: start; }
    :is(.lds-ghost-event-post, .lds-ghost-group-post, .lds-ghost-project-post) .lds-ghost-event-booking { margin: 0 !important; align-self: start; text-align: center; }
    :is(.lds-ghost-event-post, .lds-ghost-group-post, .lds-ghost-project-post) .lds-ghost-event-booking .lds-button { min-width: 0; width: auto; }
    :is(.lds-ghost-event-post, .lds-ghost-group-post, .lds-ghost-project-post) .lds-ghost-booking-qr { margin-top: 1mm; }
    :is(.lds-ghost-event-post, .lds-ghost-group-post, .lds-ghost-project-post) .lds-ghost-booking-qr svg { width: 26mm; height: 26mm; }
}
/* Cover the fractional-pixel clip edge seen in the embedded Chromium preview. */
@media screen {
    .lds-ghost-entry-head--shared.lds-ghost-entry-head--image.lds-ghost-entry-head--line-strips::before {
        inset-inline-start: round(down, calc(var(--lds-ghost-header-text-left) - var(--lds-ghost-header-image-overlap)), 1px);
        box-shadow: inset 2px 0 #fff;
    }
}
@page event-flyer { margin: 0 15mm 15mm; }
@media print {
    :is(.lds-ghost-event-post, .lds-ghost-group-post, .lds-ghost-project-post) { position: relative; }
    :is(.lds-ghost-event-post, .lds-ghost-group-post, .lds-ghost-project-post) .lds-ghost-event-print-brand { position: absolute; z-index: 2; top: 8mm; left: 0; margin: 0; }
    :is(.lds-ghost-event-post, .lds-ghost-group-post, .lds-ghost-project-post) .lds-ghost-event-print-brand .lds-ghost-text-logo { background: #fff; padding: 1mm 2mm; box-decoration-break: clone; -webkit-box-decoration-break: clone; }
    :is(.lds-ghost-event-post, .lds-ghost-group-post, .lds-ghost-project-post) .lds-ghost-entry-head { margin-inline: -15mm !important; width: calc(100% + 30mm) !important; max-width: none !important; padding: 23mm 15mm 7mm !important; }
    :is(.lds-ghost-event-post, .lds-ghost-group-post, .lds-ghost-project-post) .lds-ghost-event-print-image { opacity: 1 !important; }
    :is(.lds-ghost-event-post, .lds-ghost-group-post, .lds-ghost-project-post) .lds-ghost-line-strip-light { display: block !important; }
    :is(.lds-ghost-event-post, .lds-ghost-group-post, .lds-ghost-project-post) .lds-ghost-entry-head .gh-title { font-size: 26pt; line-height: 1.1; }
    :is(.lds-ghost-event-post, .lds-ghost-group-post, .lds-ghost-project-post) .lds-ghost-entry-head .gh-excerpt { font-size: 11pt; line-height: 1.25; }
    :is(.lds-ghost-event-post, .lds-ghost-group-post, .lds-ghost-project-post) .lds-ghost-entry-head .lds-ghost-line-strip-fragment { background: #fff !important; }
}
@media print {
    :is(.lds-ghost-event-post, .lds-ghost-group-post, .lds-ghost-project-post) .lds-ghost-event-print-image { max-width: none !important; max-height: none !important; margin: 0 !important; width: 100% !important; height: 100% !important; }
}
@media print {
    /* Use the real text for print strips so PDF text is not duplicated. */
    :is(.lds-ghost-event-post, .lds-ghost-group-post, .lds-ghost-project-post) .lds-ghost-line-strip-light { display: none !important; }
    :is(.lds-ghost-event-post, .lds-ghost-group-post, .lds-ghost-project-post) .lds-ghost-entry-head :is(.lds-ghost-header-foreground, .lds-ghost-header-intro-text) { background: #fff !important; padding: 0 1.5mm !important; -webkit-box-decoration-break: clone; box-decoration-break: clone; }
    :is(.lds-ghost-event-post, .lds-ghost-group-post, .lds-ghost-project-post) .lds-ghost-entry-head .gh-title { line-height: 1.25 !important; }
}
@media print {
    :is(.lds-ghost-event-post, .lds-ghost-group-post, .lds-ghost-project-post) .lds-ghost-entry-head :is(.lds-ghost-header-foreground, .lds-ghost-header-intro-text),
    :is(.lds-ghost-event-post, .lds-ghost-group-post, .lds-ghost-project-post) .lds-ghost-event-print-brand .lds-ghost-text-logo { box-shadow: 0 0.3rem 0.9rem rgb(0 0 0 / 0.04) !important; }
}
/* Keep page margins inside the article; paged-media margins clip bleed images. */
@page event-flyer { margin: 0 0 15mm; }
@media print {
    .gh-article:is(.lds-ghost-event-post, .lds-ghost-group-post, .lds-ghost-project-post) { padding-inline: 15mm !important; }
    :is(.lds-ghost-event-post, .lds-ghost-group-post, .lds-ghost-project-post) .lds-ghost-event-print-brand { left: 15mm; }
}
@media print {
    :is(.lds-ghost-event-post, .lds-ghost-group-post, .lds-ghost-project-post) .lds-ghost-event-details:has(.lds-ghost-booking-qr) { display: grid !important; grid-template-columns: minmax(0,1fr) 36mm; column-gap: 4mm; align-items: start; }
    :is(.lds-ghost-event-post, .lds-ghost-group-post, .lds-ghost-project-post) .lds-ghost-event-details:has(.lds-ghost-booking-qr) .lds-ghost-event-details-layout { display: contents; }
    :is(.lds-ghost-event-post, .lds-ghost-group-post, .lds-ghost-project-post) .lds-ghost-event-details:has(.lds-ghost-booking-qr) .lds-ghost-event-details-layout > div { grid-column: 1; grid-row: 1; }
    :is(.lds-ghost-event-post, .lds-ghost-group-post, .lds-ghost-project-post) .lds-ghost-event-details:has(.lds-ghost-booking-qr) .lds-ghost-event-booking { grid-column: 2; grid-row: 1; justify-self: end; align-self: start; }
}

/* Shared clock and location icons retain visible, accessible text labels. */
.lds-ghost-event-details dt { display: flex; align-items: center; gap: .6rem; }
.lds-ghost-event-details dt svg { width: 1.5rem; height: 1.5rem; flex: 0 0 1.5rem; }
@media print {
    :is(.lds-ghost-event-post, .lds-ghost-group-post, .lds-ghost-project-post) .lds-ghost-event-booking .lds-button { display: inline-block !important; min-height: 0 !important; line-height: 1.3 !important; margin: 0 !important; }
    :is(.lds-ghost-event-post, .lds-ghost-group-post, .lds-ghost-project-post) .lds-ghost-booking-qr { margin-top: 1mm !important; }
    :is(.lds-ghost-event-post, .lds-ghost-group-post, .lds-ghost-project-post) .lds-ghost-booking-qr > span { margin-top: 1mm !important; }
}
@media screen {
    /* The hidden flyer brand precedes the header but must not add article spacing. */
    .gh-article.lds-ghost-event-post:has(> .lds-ghost-entry-head) { padding-top: 0; }
}

/* Align values with their labels, leaving the icon column clear. */
.lds-ghost-event-details dd { margin-inline-start: 2.1rem; }
.lds-ghost-event-details { background: #fff; border-radius: 0; }
@media print {
    :is(.lds-ghost-event-post, .lds-ghost-group-post, .lds-ghost-project-post) .lds-ghost-event-booking .lds-button { line-height: 1.45 !important; }
    :is(.lds-ghost-event-post, .lds-ghost-group-post, .lds-ghost-project-post) .lds-ghost-booking-qr { margin-top: 0 !important; }
    :is(.lds-ghost-event-post, .lds-ghost-group-post, .lds-ghost-project-post) .lds-ghost-entry-head { overflow: visible; margin-bottom: 0 !important; }
    :is(.lds-ghost-event-post, .lds-ghost-group-post, .lds-ghost-project-post) .lds-ghost-event-print-image { height: calc(100% + 20mm) !important; }
    :is(.lds-ghost-event-post, .lds-ghost-group-post, .lds-ghost-project-post) .gh-content { position: relative; z-index: 1; margin-top: 0 !important; padding-top: 0 !important; }
    :is(.lds-ghost-event-post, .lds-ghost-group-post, .lds-ghost-project-post) .lds-ghost-event-details { margin-top: 0 !important; min-height: 32mm; background: #fff !important; }
}
.lds-ghost-print-organisation { display: none; }
@media print {
    /* Lift the quiet zone rather than cropping it; the QR modules align with the date text. */
    :is(.lds-ghost-event-post, .lds-ghost-group-post, .lds-ghost-project-post) .lds-ghost-booking-qr { margin-top: calc(0.45em - var(--lds-ghost-qr-quiet-zone, 0mm)) !important; }
    .lds-ghost-print-organisation { display: block; margin: 6mm 0 0; padding: 3mm 0 0; border-top: .5pt solid #d8dad9; font-size: 9pt; line-height: 1.4; break-inside: avoid; }
    .lds-ghost-print-organisation-contact { display: flex; flex-wrap: wrap; gap: 1mm 5mm; margin-top: 1mm; }
    body:has(:is(.lds-ghost-event-post, .lds-ghost-group-post, .lds-ghost-project-post)) .lds-ghost-print-organisation { margin-inline: 15mm; }
}
.lds-ghost-event-calendar a { display: inline-flex; align-items: center; gap: .6rem; }
.lds-ghost-event-calendar svg { width: 1.5rem; height: 1.5rem; flex: 0 0 1.5rem; }
.lds-ghost-event-calendar svg { color: #000; }
/* Two page-margin rows give the name its own bold type treatment. */
@page {
    margin-bottom: 22mm;
    @bottom-left {
        content: var(--lds-print-organisation-contact, ""); width: 0;
        white-space: nowrap; text-align: left; vertical-align: top;
        border: 0; margin-top: 10.5mm; padding: 0;
        font-family: "Open Sans", Arial, sans-serif; font-size: 9pt; line-height: 1.4; font-weight: 400; letter-spacing: normal;
    }
    @bottom-center {
        content: var(--lds-print-organisation-name, "");
        white-space: nowrap; text-align: left; vertical-align: top;
        border-top: 1px solid var(--lds-ghost-brand-accent, #82A523); padding-top: 1.5mm; margin-top: 3mm;
        font-family: "Open Sans", Arial, sans-serif; font-size: 10pt; line-height: 1.4; letter-spacing: normal; font-weight: 700;
    }
    @bottom-right { content: none; width: 0; border: 0; }
}
@page event-flyer {
    margin-bottom: 22mm;
    @bottom-left {
        content: var(--lds-print-organisation-contact, ""); width: 15mm; text-indent: 15mm;
        white-space: nowrap; text-align: left; vertical-align: top;
        border: 0; margin-top: 10.5mm; padding: 0;
        font-family: "Open Sans", Arial, sans-serif; font-size: 9pt; line-height: 1.4; font-weight: 400; letter-spacing: normal;
    }
    @bottom-center {
        content: var(--lds-print-organisation-name, "");
        white-space: nowrap; text-align: left; vertical-align: top;
        border-top: 1px solid var(--lds-ghost-brand-accent, #82A523); padding-top: 1.5mm; margin-top: 3mm;
        font-family: "Open Sans", Arial, sans-serif; font-size: 10pt; line-height: 1.4; letter-spacing: normal; font-weight: 700;
    }
    @bottom-right { content: ""; width: 15mm; border: 0; }
}
@media print {
    .lds-ghost-print-organisation { display: none !important; }
    :is(.lds-ghost-event-post, .lds-ghost-group-post, .lds-ghost-project-post) .lds-ghost-event-booking .lds-button { text-transform: uppercase; position: relative; z-index: 1; }
    :is(.lds-ghost-event-post, .lds-ghost-group-post, .lds-ghost-project-post) .lds-ghost-event-details:has(.lds-ghost-booking-qr) { min-height: 0; padding-bottom: calc(1.5rem - var(--lds-ghost-qr-quiet-zone, 0mm) + .2em); }
}

/* Online event details share the flyer's image overlap, measured per viewport. */
@media screen {
    .lds-ghost-event-post .lds-ghost-entry-head--image { margin-bottom: 0; border-bottom: 0; padding-bottom: 2.65rem; }
    /* Keep the header keyline at the extended image edge, behind the details box. */
    .lds-ghost-event-post .lds-ghost-entry-head--image::after {
        content: "";
        position: absolute;
        inset-inline: 0;
        inset-block-end: calc(-1 * var(--lds-ghost-event-image-overlap, 8rem));
        border-bottom: 1px solid var(--lds-colour-border, #d8dad9);
        pointer-events: none;
        z-index: 0;
    }
    .lds-ghost-event-post .lds-ghost-entry-head--shared.lds-ghost-entry-head--image.lds-ghost-entry-head--line-strips::before {
        inset-block-end: calc(-24px - var(--lds-ghost-event-image-overlap, 8rem));
    }
    .lds-ghost-event-post:has(.lds-ghost-entry-head--image) .gh-content { margin-top: 0; padding-top: 0; position: relative; z-index: 1; }
    .lds-ghost-event-post:has(.lds-ghost-entry-head--image) .lds-ghost-event-details { margin-top: 0; }
}

/* Compact print rhythm and retain the flyer image's lower keyline. */
@media print {
    :is(.lds-ghost-event-post, .lds-ghost-group-post, .lds-ghost-project-post) .lds-ghost-event-print-image {
        box-sizing: border-box;
        border-bottom: 1px solid var(--lds-colour-border, #d8dad9) !important;
    }
    .gh-article .gh-content > p:not(:first-child) { margin-top: .75em !important; }
    .gh-article .gh-content hr { margin-block: 4mm !important; }
    .gh-article .gh-content hr + * { margin-top: 4mm !important; }
    .gh-article.post .gh-content > h2:not(:first-child),
    .gh-article.post .gh-content > :where(section, div):has(> h2:first-child):not(.kg-card):not(:first-child) {
        margin-top: 4mm !important;
        padding-top: 4mm !important;
    }
}

.lds-ghost-event-calendar { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 2rem; }
.lds-ghost-event-print { display: inline-flex; align-items: center; gap: .6rem; border: 0; padding: 0; background: transparent; color: var(--lds-colour-link, #325040); font: inherit; text-decoration: underline; text-underline-offset: .16em; cursor: pointer; }
.lds-ghost-event-print svg { color: #000; }
.lds-ghost-event-print:focus-visible { outline: 2px solid currentColor; outline-offset: 4px; }

/* Group profiles are enduring information, rather than dated reading cards. */
.gh-card.tag-groups .gh-card-meta,
.lds-ghost-group-post .gh-post-meta { display: none; }
@media screen {
    .gh-article.lds-ghost-group-post:has(.lds-ghost-entry-head--image) { padding-top: 0; }
}
@media print {
    .lds-ghost-group-post .lds-ghost-event-print-image { height: 100% !important; }
    .lds-ghost-group-post .lds-ghost-entry-head { overflow: hidden; }
    .lds-ghost-group-post .lds-ghost-post-byline { display: none !important; }
    .lds-ghost-group-post .gh-content { padding-top: 7mm !important; }
}
/* An editor HTML card can supply a group summary without structured CMS fields. */
.lds-ghost-group-highlights { padding: 1.5rem; border: 1px solid var(--lds-ghost-brand-accent, #82A523); background: #fff; border-radius: 0; position: relative; }
.lds-ghost-group-highlights dl { margin: 0; }
.lds-ghost-group-highlights dt { display: flex; align-items: center; gap: .6rem; font-weight: 700; }
.lds-ghost-group-highlights dt svg { width: 1.5rem; height: 1.5rem; flex: 0 0 1.5rem; }
.lds-ghost-group-highlights dd { margin: 0 0 1rem 2.1rem; }
.lds-ghost-group-highlights dd:last-child { margin-bottom: 0; }
@media screen {
 .lds-ghost-group-post:has(.lds-ghost-group-highlights) .lds-ghost-entry-head--image { margin-bottom: 0; border-bottom: 0; padding-bottom: 2.65rem; }
 .lds-ghost-group-post:has(.lds-ghost-group-highlights) .lds-ghost-entry-head--shared.lds-ghost-entry-head--image.lds-ghost-entry-head--line-strips::before { inset-block-end: calc(-24px - var(--lds-ghost-group-image-overlap, 12rem)); }
 .lds-ghost-group-post:has(.lds-ghost-group-highlights) .lds-ghost-entry-head--image::after { content: ""; position: absolute; inset-inline: 0; inset-block-end: calc(-1 * var(--lds-ghost-group-image-overlap, 12rem)); border-bottom: 1px solid var(--lds-colour-border, #d8dad9); }
 .lds-ghost-group-post:has(.lds-ghost-group-highlights) .gh-content { margin-top: 0; padding-top: 0; position: relative; z-index: 1; }
}
@media print {
 .lds-ghost-group-post:has(.lds-ghost-group-highlights) .gh-content { padding-top: 0 !important; }
 .lds-ghost-group-post:has(.lds-ghost-group-highlights) .lds-ghost-entry-head { overflow: visible; }
 .lds-ghost-group-post:has(.lds-ghost-group-highlights) .lds-ghost-event-print-image { height: calc(100% + 20mm) !important; }
 .lds-ghost-group-highlights { break-inside: avoid; background: #fff !important; }
}
@media print {
 .lds-ghost-group-highlights dl { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); column-gap: 5mm; }
 .lds-ghost-group-highlights dl > :nth-child(-n+4) { grid-column: 1; }
 .lds-ghost-group-highlights dl > :nth-child(n+5) { grid-column: 2; }
 .lds-ghost-group-highlights dl > :nth-child(4n+1) { grid-row: 1; }
 .lds-ghost-group-highlights dl > :nth-child(4n+2) { grid-row: 2; }
 .lds-ghost-group-highlights dl > :nth-child(4n+3) { grid-row: 3; }
 .lds-ghost-group-highlights dl > :nth-child(4n) { grid-row: 4; }
 .lds-ghost-group-highlights dd { margin-bottom: 2mm; }
 .lds-ghost-group-highlights dd:nth-child(4n) { margin-bottom: 0; }
}
@media screen and (min-width: 701px) {
 .lds-ghost-group-highlights dl { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); column-gap: 2rem; }
 .lds-ghost-group-highlights dl > :nth-child(-n+4) { grid-column: 1; }
 .lds-ghost-group-highlights dl > :nth-child(n+5) { grid-column: 2; }
 .lds-ghost-group-highlights dl > :nth-child(4n+1) { grid-row: 1; }
 .lds-ghost-group-highlights dl > :nth-child(4n+2) { grid-row: 2; }
 .lds-ghost-group-highlights dl > :nth-child(4n+3) { grid-row: 3; }
 .lds-ghost-group-highlights dl > :nth-child(4n) { grid-row: 4; }
 .lds-ghost-group-highlights dd:nth-child(4n) { margin-bottom: 0; }
}
@media screen {
 .lds-ghost-entry-topics-list a:hover,
 .lds-ghost-entry-topics-list a:focus-visible {
     background: var(--lds-colour-link, #325040);
     color: #fff;
     border-color: var(--lds-colour-link, #325040);
 }
 .lds-ghost-entry-topics-list a:focus-visible {
     outline: 2px solid var(--lds-colour-link, #325040);
     outline-offset: 3px;
 }
}

@media print {
 .lds-ghost-group-post .gh-content a[href^="mailto:"] { color: #000 !important; text-decoration: none !important; }
}
@media print {
 /* Draw the image keyline independently of the printed image element. */
 .lds-ghost-group-post .lds-ghost-entry-head--image::after {
     content: "";
     display: block !important;
     position: absolute;
     inset-inline: 0;
     inset-block-end: 0;
     border-bottom: 1px solid var(--lds-colour-border, #d8dad9) !important;
     z-index: 0;
     pointer-events: none;
 }
 .lds-ghost-group-post:has(.lds-ghost-group-highlights) .lds-ghost-entry-head--image::after {
     inset-block-end: -20mm;
 }
}
.lds-ghost-entry-head--image .lds-ghost-entry-image-caption {
    width: fit-content;
    max-width: 100%;
    padding: .45rem 1.5rem .45rem .75rem;
    background: #fff;
    box-shadow: 0 .3rem .9rem rgb(0 0 0 / .04);
    position: relative;
    z-index: 1;
}
@media print {
 .lds-ghost-entry-head--image .lds-ghost-entry-image-caption { background: #fff !important; box-shadow: 0 .3rem .9rem rgb(0 0 0 / .04) !important; }
 .lds-ghost-entry-image-caption a::after, .kg-image-card figcaption a::after { content: none !important; }
}
/* Desktop body images follow the same rhythm as adjacent paragraphs. */
@media screen and (min-width: 701px) {
 .gh-article .gh-content > .kg-image-card:not(:first-child),
 .gh-article .gh-content > .kg-image-card + p {
     margin-top: 1em;
 }
}
.lds-ghost-entry-head--image .lds-ghost-entry-image-caption {
    margin-inline: max(0px, calc((100% - var(--content-width, 720px)) / 2)) 0;
    text-align: left;
}
.lds-ghost-entry-image-caption + .lds-ghost-entry-topics { margin-top: 1.6rem; }
/* Printed event and group body photos sit beside the prose. */
@media print {
 :is(.lds-ghost-event-post, .lds-ghost-group-post, .lds-ghost-project-post) .gh-content > .kg-image-card {
     float: right;
     width: 66.6667% !important;
     max-width: none !important;
     margin: 2mm 0 3mm 5mm !important;
 }
 :is(.lds-ghost-event-post, .lds-ghost-group-post, .lds-ghost-project-post) .gh-content > .kg-image-card img {
     width: 100%;
     height: auto;
     max-height: none;
 }
 :is(.lds-ghost-event-post, .lds-ghost-group-post, .lds-ghost-project-post) .gh-content > .kg-image-card figcaption {
     padding: 1.5mm 0 0;
 }
 :is(.lds-ghost-event-post, .lds-ghost-group-post, .lds-ghost-project-post) .gh-content > h2 { clear: both; }
 :is(.lds-ghost-event-post, .lds-ghost-group-post, .lds-ghost-project-post) .gh-content::after { content: ""; display: block; clear: both; }
}
@media print {
 .lds-ghost-group-post .gh-content:has(> .kg-image-card) { font-size: 10pt !important; line-height: 1.35 !important; }
 .lds-ghost-group-post .gh-content:has(> .kg-image-card) > h2 { font-size: 18pt !important; }
}
@media print {
 .lds-ghost-group-post .gh-content:has(> .kg-image-card) :is(p, li) { font-size: 10pt !important; line-height: 1.35 !important; }
}
/* Align print photos with the visible prose and tighten headings and lists. */
@media print {
 :is(.lds-ghost-event-post, .lds-ghost-group-post, .lds-ghost-project-post) .gh-content > .kg-image-card { margin-top: 12pt !important; }
 .gh-article .gh-content :is(h2, h3, h4) { margin-bottom: 0 !important; }
 .gh-article .gh-content :is(h2, h3, h4) + * { margin-top: .75mm !important; }
 .gh-article .gh-content :is(h2, h3, h4) + :is(ul, ol) { margin-top: 2mm !important; }
 /* Give heading-led paragraphs a modest gap without changing ordinary paragraph rhythm. */
 .gh-article .gh-content :is(h2, h3, h4) + p:not(:first-child) { margin-top: 1.5mm !important; }
 .gh-article .gh-content :is(ul, ol) { line-height: 1.3 !important; }
 .gh-article .gh-content li { line-height: 1.3 !important; }
 .gh-article .gh-content li + li { margin-top: .75mm !important; }
 .gh-article .gh-content li > p { margin-block: 0 !important; }
}

/* Project profiles use two deliberate print sections, with the shared poster identity. */
@media screen {
 .gh-article.lds-ghost-project-post:has(.lds-ghost-entry-head--image) { padding-top: 0; }
 .lds-ghost-project-profile > section + section { margin-top: 3rem; }
 .lds-ghost-project-profile h2 { margin: 2rem 0 1rem; }
 .lds-ghost-project-profile p + p { margin-top: 1em; }
 .lds-ghost-project-profile ul { margin: 1rem 0; padding-left: 2rem; }
 .lds-ghost-project-profile figure { margin: 2rem 0; }
 .lds-ghost-project-profile img { width: 100%; max-height: 34rem; object-fit: cover; }
 .lds-ghost-project-profile figcaption { font-size: 1.2rem; margin-top: .6rem; }
}
@media print {
 .lds-ghost-project-post .lds-ghost-event-print-image { height: 100% !important; }
 .lds-ghost-project-post .gh-content { z-index: auto !important; }
 .lds-ghost-project-post .lds-ghost-entry-head { overflow: hidden; margin-bottom: 5mm !important; }
 .lds-ghost-project-post :is(.gh-post-meta, .lds-ghost-post-byline) { display: none !important; }
 .lds-ghost-project-profile { font-size: 10pt !important; line-height: 1.35 !important; }
 .lds-ghost-project-profile p { font-size: 10pt !important; line-height: 1.35 !important; margin: 0 0 2mm !important; }
 .lds-ghost-project-profile h2 { font-size: 16pt !important; line-height: 1.12 !important; margin: 4mm 0 1mm !important; padding: 0 !important; border: 0 !important; }
 .lds-ghost-project-profile ul { margin: 2mm 0 3mm !important; padding-left: 5mm !important; }
 .lds-ghost-project-profile li { font-size: 10pt !important; line-height: 1.3 !important; margin-top: 1mm !important; }
 .lds-ghost-project-profile figure { float: right; width: 66.6667%; margin: 3mm 0 3mm 5mm !important; break-inside: avoid; }
 .lds-ghost-project-profile figure img { display: block; width: 100% !important; height: auto !important; max-height: none !important; object-fit: contain; }
 .lds-ghost-project-profile figcaption { font-size: 8pt !important; line-height: 1.3; padding-top: 1mm; }
 .lds-ghost-project-profile figcaption a::after { content: none !important; }
 .lds-ghost-project-profile > section + section { clear: both; margin-top: 5mm; padding-top: 0; }
 .lds-ghost-project-profile section::after { content: ""; display: block; clear: both; }
 .lds-ghost-project-summary { border: 1px solid var(--lds-ghost-brand-accent, #82A523); padding: 3mm; margin-bottom: 3mm; background: #fff; }
}

/* Running titles and page numbers use browser pagination, not guessed page heights. */
@page {
 @top-center { content: var(--lds-print-post-title, ""); font-family: "Open Sans", Arial, sans-serif; font-size: 9pt; font-weight: 700; text-align: left; vertical-align: middle; text-transform: none; letter-spacing: normal; border: 0; padding: 0; margin: 0; }
 @bottom-right { content: counter(page) " / " counter(pages); width: 15mm; text-align: right; vertical-align: top; margin-top: 10.5mm; padding: 0; border: 0; font: 9pt "Open Sans", Arial, sans-serif; }
}
@page event-flyer {
 margin-top: 14mm;
 @top-center { content: var(--lds-print-post-title, ""); padding-inline: 15mm; font-family: "Open Sans", Arial, sans-serif; font-size: 9pt; font-weight: 700; text-align: left; vertical-align: middle; border: 0; }
 @bottom-right { content: counter(page) " / " counter(pages); width: 15mm; padding-right: 5mm; text-align: right; vertical-align: top; margin-top: 10.5mm; border: 0; font: 9pt "Open Sans", Arial, sans-serif; }
}
@page :first { @top-center { content: none; border: 0; } @bottom-right { content: none; } }
@page event-flyer:first { margin-top: 0; @top-center { content: none; } @bottom-right { content: none; } }
@media print {
 .gh-content figure img { height: auto !important; object-fit: contain; }
 .gh-content figure { break-inside: avoid; }
 .lds-print-page-break { display: block; break-before: page; height: 0; margin: 0 !important; }
}
@media screen { .lds-print-page-break { display: none; } }
/* Keep all running furniture on the same content edges, including continuation pages. */
@page event-flyer {
 margin-left: 15mm;
 margin-right: 15mm;
 @top-center { padding: 0 0 0.75mm; margin: 0 0 3mm; vertical-align: bottom; border-bottom: 1px solid var(--lds-ghost-brand-accent, #82A523); }
 @bottom-left { width: 0; text-indent: 0; margin-right: 0; padding: 0; }
 @bottom-center { width: auto; padding-inline: 0; text-indent: 0; text-align: left; }
 @bottom-right { width: 0; padding: 0; margin-left: 0; white-space: nowrap; text-align: right; vertical-align: top; margin-top: 10.5mm; }
}
@page {
 @top-center { border-bottom: 1px solid var(--lds-ghost-brand-accent, #82A523); padding-bottom: 0.75mm; margin-bottom: 3mm; vertical-align: bottom; }
 @bottom-right { width: 0; white-space: nowrap; padding: 0; text-align: right; }
}
@page :first { @top-center { content: none; border: 0; padding: 0; margin: 0; } }
@page event-flyer:first { @top-center { content: none; border: 0; padding: 0; margin: 0; } }
@media print {
 .gh-article:is(.lds-ghost-event-post, .lds-ghost-group-post, .lds-ghost-project-post) { padding-inline: 0 !important; }
 :is(.lds-ghost-event-post, .lds-ghost-group-post, .lds-ghost-project-post) .lds-ghost-event-print-brand { left: 0; }
}
@page {
 @bottom-right { width: 15mm; margin-left: -15mm; }
}
@page event-flyer {
 @bottom-right { width: 15mm; margin-left: -15mm; }
}
/* Preserve the full-bleed opening hero; inset only the running furniture. */
@page event-flyer {
 margin-left: 0;
 margin-right: 0;
 @top-center { margin-left: 15mm; margin-right: 15mm; }
 @bottom-left { width: 0; text-indent: 15mm; }
 @bottom-center { margin-left: 15mm; margin-right: 15mm; }
 @bottom-right { width: 15mm; margin-left: -15mm; margin-right: 15mm; }
}
@media print {
 .gh-article:is(.lds-ghost-event-post, .lds-ghost-group-post, .lds-ghost-project-post) { padding-inline: 15mm !important; }
 :is(.lds-ghost-event-post, .lds-ghost-group-post, .lds-ghost-project-post) .lds-ghost-event-print-brand { left: 15mm; }
}
@page event-flyer {
 @bottom-center { width: 180mm; margin-left: 0; margin-right: 0; }
}
@page event-flyer {
 @top-center { width: 180mm; margin-left: 0; margin-right: 0; }
}

/* Prototype brand roles consume the selected palette without changing it. */
:root[data-landcare-brand] {
    --lds-ghost-brand-accent: var(--lds-colour-brand-primary, #82A523);
}
.lds-ghost-theme { --lds-ghost-brand-readable: var(--lds-colour-accent-strong, #325040); }
.lds-ghost-brand-coastcare,
.lds-ghost-brand-landcare-agriculture {
    --lds-ghost-brand-readable: var(--lds-colour-brand-primary);
    --lds-colour-link: var(--lds-ghost-brand-readable);
    --lds-colour-accent-strong: var(--lds-ghost-brand-readable);
}
.lds-ghost-brand-junior-landcare {
    /* Darken the published red for small text and white date-badge lettering. */
    --lds-ghost-brand-readable: color-mix(in srgb, var(--lds-colour-brand-primary) 80%, #000);
    --lds-colour-link: var(--lds-ghost-brand-readable);
    --lds-colour-accent-strong: var(--lds-ghost-brand-readable);
}
.lds-ghost-theme .lds-ghost-home-kicker,
.lds-ghost-theme .lds-ghost-home-explore--cover.lds-ghost-home-explore--light .lds-ghost-home-kicker,
.lds-ghost-theme .lds-ghost-home-story-pillar--cover.lds-ghost-home-story-pillar--light .lds-ghost-home-kicker { color: var(--lds-ghost-brand-readable); }
.lds-ghost-theme :is(.lds-ghost-home-explore--cover:not(.lds-ghost-home-explore--light), .lds-ghost-home-story-pillar--cover:not(.lds-ghost-home-story-pillar--light), .lds-ghost-home-story--cover, .lds-ghost-home-involved--cover) .lds-ghost-home-kicker { color: inherit; }
/* Reserve a 10mm printer-safe top inset before continuation titles and rules. */
@page { margin-top: 20mm; }
@page event-flyer { margin-top: 20mm; }
@page event-flyer:first { margin-top: 0; }

/* Retain each master brand's hue, darkened for the existing muted footer text. */
@media screen {
    .lds-ghost-theme:not(.lds-brand-custom-local) {
        --lds-ghost-footer-brand-tone: 75%;
    }
    .lds-ghost-theme.lds-brand-landcare,
    .lds-ghost-theme.lds-brand-landcare-australia { --lds-ghost-footer-brand-tone: 43%; }
    .lds-ghost-theme.lds-brand-junior-landcare { --lds-ghost-footer-brand-tone: 50%; }
    .lds-ghost-theme:not(.lds-brand-custom-local) .lds-footer-vnext {
        --lds-footer-vnext-bg: color-mix(in srgb, var(--lds-colour-brand-primary, #82A523) var(--lds-ghost-footer-brand-tone), #000);
    }
    .lds-ghost-theme:not(.lds-brand-custom-local) .lds-footer-vnext-subfooter {
        background: color-mix(in srgb, var(--lds-colour-brand-primary, #82A523) calc(var(--lds-ghost-footer-brand-tone) * 0.8), #000);
    }
    .lds-brand-custom-local .lds-footer-vnext {
        --lds-footer-vnext-bg: #20221f;
        --lds-ghost-footer-strip-primary: var(--lds-ghost-brand-accent, #82A523);
    }
}

/* Editable homepage cover: fill the available screen and grow for long mobile copy. */
@media screen {
    .lds-ghost-home-hero,
    .lds-ghost-home-has-hero .lds-ghost-home-hero {
        min-height: calc(var(--lds-ghost-viewport-height, 100dvh) - var(--lds-ghost-measured-nav-height, var(--lds-ghost-topbar-height, 8rem)));
    }
    .lds-ghost-home-hero--cms,
    .lds-ghost-home-has-hero .lds-ghost-home-hero--cms {
        --lds-ghost-home-hero-card-height: calc(var(--lds-ghost-viewport-height, 100dvh) - var(--lds-ghost-measured-nav-height, var(--lds-ghost-topbar-height, 8rem)));
        min-height: 0;
    }
    .lds-ghost-home-hero--cms .lds-ghost-home-hero-cms > .kg-header-card:first-child,
    .lds-ghost-home-hero--cms .lds-ghost-home-hero-cms > .kg-header-card:first-child .kg-header-card-content {
        height: auto;
        min-height: var(--lds-ghost-home-hero-card-height);
        overflow: visible;
    }
    /* Contain the enlarged parallax image without constraining the text height. */
    .lds-ghost-home-hero--cms .lds-ghost-home-hero-cms > .kg-header-card:first-child {
        overflow: hidden;
    }
    .lds-ghost-home-hero--cms .lds-ghost-home-hero-cms > .kg-header-card:first-child + p {
        margin: 0;
        padding: .8rem 4vmin;
        font-size: 1.2rem;
        background: #fff;
    }
    .lds-ghost-static-home:has(> .gh-content:first-child) {padding-top: 0;}
    .lds-ghost-editable-hero-page .gh-content > .kg-header-card:first-child {margin-top: 0;}
}
@media screen {
    .lds-ghost-home-hero--cms .kg-header-card:not(.kg-layout-split) .kg-header-card-content {
        position: relative;
        z-index: 1;
    }
    .lds-ghost-home-hero--cms .kg-header-card:not(.kg-layout-split)::after,
    .lds-ghost-editable-hero-page .kg-header-card:not(.kg-layout-split)::after {
        content: "";
        position: absolute;
        inset: 0;
        pointer-events: none;
        background: linear-gradient(90deg, rgb(0 0 0 / 55%), rgb(0 0 0 / 15%) 75%, transparent);
    }
    .lds-ghost-editable-hero-page .kg-header-card-content {position: relative; z-index: 1;}
    .lds-ghost-editable-home-page .gh-content > .kg-header-card:first-child,
    .lds-ghost-editable-hero-page .gh-content > .kg-header-card:first-child {margin-top: 0;}
    .lds-ghost-editable-home-page .gh-content > p + .kg-button-card,
    .lds-ghost-static-home .gh-content > p + .kg-button-card {margin-top: 1.6rem;}
}

@media screen {
    .lds-ghost-home-has-hero .lds-ghost-home-hero--cms {padding: 0;}
    .gh-article.lds-ghost-editable-home-page,
    .gh-article.lds-ghost-editable-hero-page {padding-top: 0;}
}

/* Native card homepage: alternate wide white and coloured sections with compact rhythm. */
@media screen {
    :is(.lds-ghost-static-home, .lds-ghost-editable-home-page) .gh-content > .kg-header-card {
        width: min(1200px, calc(100vw - 8vmin));
        max-width: none;
        justify-self: center;
        margin-block: 2.4rem 0;
        overflow: hidden;
        border-radius: 0;
    }
    :is(.lds-ghost-static-home, .lds-ghost-editable-home-page) .gh-content > .kg-header-card:first-child {margin-top: 2.4rem;}
    :is(.lds-ghost-static-home, .lds-ghost-editable-home-page) .kg-header-card.kg-style-accent {
        background: color-mix(in srgb, var(--lds-colour-brand-primary) 35%, #000);
    }
    :is(.lds-ghost-static-home, .lds-ghost-editable-home-page) .kg-header-card-content {padding: clamp(2.4rem, 4vw, 5rem);}
    :is(.lds-ghost-static-home, .lds-ghost-editable-home-page) .kg-header-card-heading {font-size: clamp(2.8rem, 3.2vw, 4.4rem); line-height: 1.12;}
    :is(.lds-ghost-static-home, .lds-ghost-editable-home-page) .kg-header-card-subheading {font-size: 1.8rem; line-height: 1.5;}
    :is(.lds-ghost-static-home, .lds-ghost-editable-home-page) .kg-header-card.kg-layout-split {min-height: 36rem;}
    :is(.lds-ghost-static-home, .lds-ghost-editable-home-page) .kg-header-card:not(.kg-layout-split) {min-height: 0;}
    :is(.lds-ghost-static-home, .lds-ghost-editable-home-page) .kg-callout-card {margin-block: 2.4rem 4rem; padding: 2.4rem; border: 1px solid var(--lds-colour-border, #ddd);}
    :is(.lds-ghost-home-hero--cms, .lds-ghost-editable-hero-page, .lds-ghost-static-home, .lds-ghost-editable-home-page) .kg-header-card {position: relative;}
    :is(.lds-ghost-home-hero--cms, .lds-ghost-editable-hero-page, .lds-ghost-static-home, .lds-ghost-editable-home-page) .kg-header-card > .lds-ghost-card-photo-credit {
        position: absolute;
        z-index: 2;
        bottom: 1.2rem;
        right: 1.6rem;
        max-width: calc(100% - 3.2rem);
        margin: 0;
        padding: .4rem .8rem;
        font-size: 1.2rem;
        line-height: 1.4;
        color: #fff;
        background: rgb(0 0 0 / 65%);
    }
    .kg-header-card > .lds-ghost-card-photo-credit a {color: inherit; text-decoration: underline;}
}
@media screen {
    :is(.lds-ghost-static-home, .lds-ghost-editable-home-page) .kg-header-card.kg-v2 .kg-header-card-content {padding: 0; min-height: 0;}
    :is(.lds-ghost-static-home, .lds-ghost-editable-home-page) .kg-header-card.kg-v2 .kg-header-card-text {padding: clamp(2.4rem, 4vw, 5rem); height: auto; gap: 1.8rem;}
    :is(.lds-ghost-static-home, .lds-ghost-editable-home-page) .kg-header-card.kg-v2.kg-width-full h2.kg-header-card-heading {font-size: clamp(2.8rem, 3.2vw, 4.4rem); line-height: 1.12;}
    :is(.lds-ghost-static-home, .lds-ghost-editable-home-page) .kg-header-card.kg-v2.kg-width-full .kg-header-card-subheading {font-size: 1.8rem; line-height: 1.5;}
    :is(.lds-ghost-static-home, .lds-ghost-editable-home-page) .kg-header-card.kg-v2 .kg-header-card-button {margin-top: .4rem; border-radius: 0; font-size: 1.5rem;}
    :is(.lds-ghost-static-home, .lds-ghost-editable-home-page) .kg-header-card.kg-v2 .kg-header-card-content .kg-header-card-image {padding: 0; height: 100%; object-fit: cover;}
    :is(.lds-ghost-static-home, .lds-ghost-editable-home-page) .kg-header-card:not(.kg-layout-split) .kg-header-card-content {width: 100%;}
    :is(.lds-ghost-static-home, .lds-ghost-editable-home-page) .kg-header-card > .lds-ghost-card-photo-credit {font-size: 1.1rem; bottom: .8rem;}
    @media (max-width: 700px) {
        :is(.lds-ghost-static-home, .lds-ghost-editable-home-page) .kg-header-card.kg-v2 .kg-header-card-content .kg-header-card-image {height: auto; aspect-ratio: 3 / 2;}
        :is(.lds-ghost-static-home, .lds-ghost-editable-home-page) .kg-header-card.kg-v2 .kg-header-card-text {padding-bottom: 5.6rem;}
    }
}
@media screen {
    :is(.lds-ghost-static-home, .lds-ghost-editable-home-page) .kg-header-card.kg-v2 .kg-header-card-text > .kg-header-card-subheading {margin-top: 0;}
    :is(.lds-ghost-static-home, .lds-ghost-editable-home-page) .kg-header-card.kg-v2 .kg-header-card-text > .kg-header-card-button {margin-top: .4rem;}
}

/* Full-width editable homepage bands with text on the existing content grid. */
@media screen {
    :is(.lds-ghost-static-home, .lds-ghost-editable-home-page) {
        --lds-home-band-gutter: max(4vmin, calc((100vw - 1200px) / 2));
        --lds-home-band-gap: clamp(2.4rem, 4vw, 5rem);
    }
    :is(.lds-ghost-static-home, .lds-ghost-editable-home-page) .gh-content > :is(.kg-header-card, .kg-signup-card),
    :is(.lds-ghost-static-home, .lds-ghost-editable-home-page) .gh-content > .kg-header-card:first-child {
        grid-column: full-start / full-end;
        width: 100%;
        margin: 0;
        max-width: none;
        border-radius: 0;
    }
    :is(.lds-ghost-static-home, .lds-ghost-editable-home-page) .kg-header-card.kg-v2:not(.kg-layout-split) .kg-header-card-text,
    :is(.lds-ghost-static-home, .lds-ghost-editable-home-page) .kg-signup-card .kg-signup-card-text {
        width: 100%;
        padding: var(--lds-home-band-gap) var(--lds-home-band-gutter);
    }
    :is(.lds-ghost-static-home, .lds-ghost-editable-home-page) .kg-header-card.kg-v2.kg-layout-split:not(.kg-swapped) .kg-header-card-text {
        padding-right: var(--lds-home-band-gutter);
        padding-left: var(--lds-home-band-gap);
    }
    :is(.lds-ghost-static-home, .lds-ghost-editable-home-page) .kg-header-card.kg-v2.kg-layout-split.kg-swapped .kg-header-card-text {
        padding-left: var(--lds-home-band-gutter);
        padding-right: var(--lds-home-band-gap);
    }
    :is(.lds-ghost-static-home, .lds-ghost-editable-home-page) .kg-signup-card .kg-signup-card-content {width: 100%; padding: 0;}
    :is(.lds-ghost-static-home, .lds-ghost-editable-home-page) .kg-signup-card h2.kg-signup-card-heading {font-size: clamp(2.8rem, 3.2vw, 4.4rem); line-height: 1.12;}
    :is(.lds-ghost-static-home, .lds-ghost-editable-home-page) .kg-signup-card .kg-signup-card-subheading {font-size: 1.8rem; line-height: 1.5; margin-top: 1.8rem;}
    :is(.lds-ghost-static-home, .lds-ghost-editable-home-page) .kg-signup-card .kg-signup-card-form {margin-top: 2.4rem; max-width: 52rem;}
    :is(.lds-ghost-static-home, .lds-ghost-editable-home-page) .kg-signup-card :is(.kg-signup-card-fields, .kg-signup-card-button) {border-radius: 0;}
    :is(.lds-ghost-static-home, .lds-ghost-editable-home-page) .kg-signup-card .kg-signup-card-disclaimer {font-size: 1.3rem; margin-top: 1.2rem;}
    @media (max-width: 700px) {
        :is(.lds-ghost-static-home, .lds-ghost-editable-home-page) .kg-header-card.kg-v2.kg-layout-split .kg-header-card-text {
            padding-inline: var(--lds-home-band-gutter);
        }
    }
}
@media screen {
    :is(.lds-ghost-static-home, .lds-ghost-editable-home-page) .kg-signup-card.kg-width-full .kg-signup-card-subheading {font-size: 1.8rem; line-height: 1.5;}
}

/* Let editable-page content supply its own bottom padding instead of stacking gaps. */
@media screen {
    .page-template .gh-article,
    .gh-article.lds-ghost-static-home {padding-bottom: 0;}
    :is(.page-template, .home-template:has(.lds-ghost-static-home)) .lds-footer-vnext {margin-top: 0;}
    /* Plain pages retain one paragraph-sized breathing space; full-width card pages
       already provide this inside their final card. */
    .page-template:not(:has(.lds-ghost-editable-home-page, .lds-ghost-editable-hero-page)) .gh-article {padding-bottom: 2.4rem;}
}
@media screen and (prefers-reduced-motion: no-preference) {
    :is(.lds-ghost-home-hero--cms, .lds-ghost-static-home, .lds-ghost-editable-home-page, .lds-ghost-editable-hero-page) .kg-header-card picture {overflow: hidden;}
    :is(.lds-ghost-home-hero--cms, .lds-ghost-static-home, .lds-ghost-editable-home-page, .lds-ghost-editable-hero-page) .kg-header-card-image {
        transform: translateY(clamp(-14px, var(--lds-ghost-parallax-y, 0px), 14px)) scale(1.12);
        transform-origin: center;
    }
}
@media print {
    :is(.lds-ghost-home-hero--cms, .lds-ghost-static-home, .lds-ghost-editable-home-page, .lds-ghost-editable-hero-page) .kg-header-card-image {transform: none;}
}

/* Full-bleed category header, keeping archive filters and cards on their own grid. */
.lds-ghost-tag-page .lds-ghost-category-feature-head {
    margin-bottom: 0;
}

/* Editable Hero: native cards share the navigation's content boundaries. */
@media screen {
    .lds-ghost-theme {
        --lds-ghost-hero-vignette: color-mix(in srgb, var(--lds-colour-brand-primary, var(--lds-ghost-brand-accent, #82A523)) 8%, #171918);
    }
    :is(.lds-ghost-home-hero-cms, .lds-ghost-editable-hero-page .gh-content) {
        display: block;
        width: 100%;
        max-width: none;
        margin: 0;
        padding: 0;
        background: #fff;
    }
    .lds-ghost-home-hero--cms {
        --lds-ghost-home-hero-card-height: max(48rem, calc(var(--lds-ghost-viewport-height, 100dvh) - var(--lds-ghost-measured-nav-height, 8rem) - 10rem));
    }
    :is(.lds-ghost-home-hero-cms, .lds-ghost-editable-hero-page .gh-content) > .kg-header-card:first-child {
        width: 100%; max-width: none; margin: 0; overflow: hidden;
    }
    :is(.lds-ghost-home-hero-cms, .lds-ghost-editable-hero-page .gh-content) > .kg-header-card:first-child::after {
        background: linear-gradient(90deg,
            color-mix(in srgb, var(--lds-ghost-hero-vignette) 94%, transparent),
            color-mix(in srgb, var(--lds-ghost-hero-vignette) 76%, transparent) 34%,
            color-mix(in srgb, var(--lds-ghost-hero-vignette) 24%, transparent) 68%,
            color-mix(in srgb, var(--lds-ghost-hero-vignette) 5%, transparent));
    }
    :is(.lds-ghost-home-hero-cms, .lds-ghost-editable-hero-page .gh-content) .kg-header-card-subheading {
        max-width: 52rem; font-size: 1.9rem; line-height: 1.55;
    }
    .lds-ghost-editable-hero-page .kg-header-card:first-child .kg-header-card-content {
        width: min(var(--container-width, 1200px), calc(100% - 8vmin));
        margin-inline: auto; padding: 5rem 0 !important; height: auto;
        min-height: max(48rem, calc(100svh - var(--lds-ghost-measured-nav-height, 8rem) - 10rem));
    }
    .lds-ghost-editable-hero-page .kg-header-card:first-child .kg-header-card-text {padding-block: 0;}
    .lds-ghost-editable-hero-page .kg-header-card:first-child .kg-header-card-heading {
        max-width: 72rem; font-size: 6.2rem; font-weight: 800; line-height: 1.15;
    }
    .lds-ghost-hero-eyebrow {
        display: block; margin-bottom: 2.4rem; color: #fff;
        font-size: 1.3rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase;
    }
    .lds-ghost-hero-eyebrow::before {
        content: ''; display: block; width: 5rem; height: .4rem;
        margin-bottom: 1.3rem; background: var(--ghost-accent-color, #82a523);
    }
    .lds-ghost-hero-actions {display: flex; align-items: center; flex-wrap: wrap; gap: 2.4rem; margin-top: 2.8rem;}
    :is(.lds-ghost-home-hero-cms, .lds-ghost-editable-hero-page) .lds-ghost-hero-actions .kg-header-card-button {
        margin: 0; padding: 1.4rem 2.2rem; border-radius: 0; background: #fff !important;
        color: var(--lds-colour-link, #325040) !important; font-weight: 800; text-decoration: none;
    }
    .lds-ghost-hero-secondary {color: #fff !important; font-size: 1.6rem; font-weight: 700; text-decoration: underline; text-underline-offset: .3em;}
    :is(.lds-ghost-home-hero-cms, .lds-ghost-editable-hero-page) .kg-header-card:first-child .kg-header-card-text {padding-block: 0 !important;}
    :is(.lds-ghost-home-hero-cms, .lds-ghost-editable-hero-page) .kg-header-card:first-child .kg-header-card-heading {margin-top: 0 !important; padding-top: 0 !important; border-top: 0;}
    :is(.lds-ghost-home-hero-cms, .lds-ghost-editable-hero-page) .kg-header-card:first-child .kg-header-card-subheading {max-width: 52rem !important; font-size: 1.9rem !important; line-height: 1.55;}
    :is(.lds-ghost-home-hero-cms, .lds-ghost-editable-hero-page) .lds-ghost-hero-secondary {text-decoration: underline !important;}
    :is(.lds-ghost-home-hero-cms, .lds-ghost-editable-hero-page) .lds-ghost-hero-pathways {width: 100% !important; max-width: none !important; margin: 0 !important;}
    .lds-ghost-hero-pathways {width: 100%; background: #fff; border-bottom: 1px solid var(--lds-colour-border, #d8dad9);}
    .lds-ghost-hero-pathways-inner {display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); width: min(var(--container-width, 1200px), calc(100% - 8vmin)); margin-inline: auto;}
    .lds-ghost-hero-pathways .kg-callout-card {
        width: 100%; max-width: none; margin: 0; padding: 2rem 3.2rem;
        border: 0; border-right: 1px solid var(--lds-colour-border, #d8dad9);
        border-radius: 0; box-shadow: none; background: #fff; color: var(--lds-colour-text, #444642);
        font-size: 1.3rem; line-height: 1.5;
    }
    .lds-ghost-hero-pathways .kg-callout-card:first-child {padding-left: 0;}
    .lds-ghost-hero-pathways .kg-callout-card:last-child {padding-right: 0; border-right: 0;}
    .lds-ghost-hero-pathways .kg-callout-text {width: 100%;}
    .lds-ghost-hero-pathways a {display: inline-block; margin-bottom: .4rem; color: var(--lds-colour-link, #325040); font-size: 1.6rem; text-decoration: underline; text-underline-offset: .25em;}
    @media (max-width: 700px) {
        :is(.lds-ghost-home-hero-cms, .lds-ghost-editable-hero-page .gh-content) > .kg-header-card:first-child::after {
            background: linear-gradient(90deg,
                color-mix(in srgb, var(--lds-ghost-hero-vignette) 94%, transparent),
                color-mix(in srgb, var(--lds-ghost-hero-vignette) 86%, transparent) 55%,
                color-mix(in srgb, var(--lds-ghost-hero-vignette) 68%, transparent));
        }
        .lds-ghost-editable-hero-page .kg-header-card:first-child .kg-header-card-heading {font-size: 3.8rem;}
        .lds-ghost-hero-pathways-inner {grid-template-columns: minmax(0, 1fr);}
        .lds-ghost-hero-pathways .kg-callout-card {padding: 1.6rem 0; border-right: 0; border-bottom: 1px solid var(--lds-colour-border, #d8dad9);}
        .lds-ghost-hero-pathways .kg-callout-card:last-child {border-bottom: 0;}
        .lds-ghost-hero-actions {gap: 1.8rem;}
    }
}

/* Bound the opening image independently of the practical pathway strip. */
@media screen {
    .lds-ghost-home-has-hero .lds-ghost-home-hero--cms {
        --lds-ghost-home-hero-card-height: min(56.25vw, 650px);
        min-height: 0;
    }
    :is(.lds-ghost-home-hero-cms, .lds-ghost-editable-hero-page .gh-content) > .kg-header-card:first-child,
    :is(.lds-ghost-home-hero-cms, .lds-ghost-editable-hero-page .gh-content) > .kg-header-card:first-child .kg-header-card-content {
        height: auto;
        min-height: min(56.25vw, 650px) !important;
    }
    .lds-ghost-tag-page .lds-ghost-category-feature-head .lds-ghost-entry-head-inner {
        width: min(var(--container-width, 1200px), calc(100vw - 8vmin));
        max-width: none;
        margin-inline: auto;
    }
    .lds-ghost-tag-page .lds-ghost-category-feature-head.lds-ghost-entry-head--image {
        --lds-ghost-header-text-left: max(4vmin, calc((100vw - var(--container-width, 1200px)) / 2));
    }
    @media (max-width: 700px) {
        :is(.lds-ghost-home-hero-cms, .lds-ghost-editable-hero-page .gh-content) > .kg-header-card:first-child,
        :is(.lds-ghost-home-hero-cms, .lds-ghost-editable-hero-page .gh-content) > .kg-header-card:first-child .kg-header-card-content {min-height: 0 !important; height: auto !important;}
        :is(.lds-ghost-home-hero-cms, .lds-ghost-editable-hero-page .gh-content) > .kg-header-card:first-child .kg-header-card-content {padding-block: 6rem !important;}
        .lds-ghost-home-hero--cms .lds-ghost-home-hero-cms > .kg-header-card:first-child .kg-header-card-text {transform: none;}
    }
}
