@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@200..800&display=swap');
body, .elementor-widget-text-editor {font-family: "Manrope", sans-serif !important; font-size: 16px;}
.site-logo img {height: 64px !important;}
.text-center {text-align: center !important;}
.eyebrow {	display: inline-flex !important; }
.team_members h3, p.person__role { margin-bottom: 0.6rem; }
.page_cta div {text-align: center !important;}
.page_cta p, .page_cta h2 {color: white;text-align: center;line-height: 54px;}
.form-card {padding: clamp(1.5rem, 1rem + 2vw, 2rem);background: #fff;border: 1px solid var(--c-line);border-radius: var(--r-lg);}
.form-card h2 {color: rgb(15, 18, 24) !important;font-size: 24px !important;}
.stages div {width: stretch;}
.elementor-widget-heading.ukgh__panel-desc .elementor-heading-title {	max-width: 70ch !important;}
.clientreview section { padding: 72px 0; }.journey__line { top: 68px !important; }
.journey__step {display: flex;flex-direction: column;align-items: center;text-align: center;padding: var(--sp-8) var(--sp-5);transition: background var(--t-base) var(--ease);background: #EEF0FF;border-radius: 10px;box-shadow: 0 2px 6px rgba(23, 24, 28, 0.07);margin: 0 4%;}
.journey__step:hover { background: #EEF0FF;transform: translateY(-3px);box-shadow: var(--shadow-md); }
.journey__dot { border: none !important; background: transparent !important; font-size: 34px !important; font-family: sans-serif !important;}
.journey__line { display: none; }
dd.stats-strip__label {margin-inline-start: auto;}
.hero__title {font-size: clamp(2.5rem, 1.6rem + 4.2vw, 3rem) !important; }
.cross-card::before { background: rgba(23, 24, 28, .62); transition: background .38s ease; }
span.cross-card__body { font-size: 0.95rem; color: #fff; font-weight: 700; letter-spacing: .03rem;text-align: center; }
.cross-card {align-items: center;justify-content: center;border-radius: var(--r-sm);box-shadow: 0 2px 6px rgba(23, 24, 28, 0.07);}
h2 { font-size: clamp(1.5rem, 1.2rem + 1.1vw, 1.875rem); margin-bottom: 1rem; }
.entry-content ul > li::before {display: none;}
.consent input {margin: 0 0.45rem 0 0;}
.consent span {vertical-align: text-bottom;}
.container, .container.container--prose {width: 100%;max-width: var(--container);margin-inline: auto;padding-inline: var(--gutter);}
.ukg_case_study-template-default .page-body {padding-top: 0;}
.single-ukg_service #jp-relatedposts,.single-ukg_service .jp-relatedposts { display: none !important; }
.divrics {background-color: #fff; padding: 1rem;border-radius: 12px; text-align: center}
.text-white {color: #fff !important; }
.f-500 {font-weight: 500}
.reports-grid {display: grid;grid-template-columns: repeat(4, 1fr);gap: 1.25rem;}
/* Sample Reports ─────── */
.report-card {background: #fff;border: 1px solid #e4e7ef;border-radius: 0.75rem;overflow: hidden;display: flex;flex-direction: column;transition: box-shadow 0.3s, transform 0.3s;height: 100%;}
.report-card:hover { box-shadow: 0 12px 40px rgba(0,0,0,0.1); transform: translateY(-2px); }
.report-preview {background:#f8f9fc;border-bottom: 1px solid #e4e7ef;padding: 2rem;display: flex;align-items: center;justify-content: center;min-height: 160px;}
.report-doc-icon {display: flex;flex-direction: column;align-items: center;gap: 0.75rem;}
.report-doc-shape {width: 56px; height: 70px;background: #fff;border: 1px solid #e4e7ef;border-radius: 4px;box-shadow: 0 2px 8px rgba(0,0,0,0.08);display: flex;align-items: center;justify-content: center;position: relative;}
.report-doc-shape::before {content: '';position: absolute;top: 0; right: 0;width: 16px; height: 16px;background:#f8f9fc;border-left: 1px solid #e4e7ef;border-bottom: 1px solid #e4e7ef;}
.report-ext {display: inline-block;font-size: 0.62rem;font-weight: 800;letter-spacing: 0.06em;padding: 0.2rem 0.5rem;border-radius: 4px;}
.ext-pdf { background: #fff0f0; color: #EE2630; }
.ext-doc { background: #eef2ff; color: #434CA0; }
.ext-xls { background: #f0fff4; color: #1d7b3a; }
.report-body { padding: 1.25rem; display: flex; flex-direction: column; flex: 1; }
.report-type {font-size: 0.62rem;font-weight: 800;letter-spacing: 0.15em;text-transform: uppercase;color: #434CA0;margin-bottom: 0.5rem;}
.report-body h3 {font-size: 0.9rem;font-weight: 700;color: #0f1218;line-height: 1.4;margin-bottom: 0.5rem;}
.report-body p { font-size: 0.75rem; line-height: 1.6; flex: 1; margin-bottom: 1rem; }
.report-pages { font-size: 0.68rem; color: rgba(74,79,106,0.6); margin-bottom: 1rem; }
.report-dl {display: flex;align-items: center;justify-content: center;gap: 0.5rem;width: 100%;background: #0f1218;color: #fff;font-weight: 700;font-size: 0.75rem;padding: 0.75rem;border-radius: 0.5rem;min-height: 44px;transition: background 0.2s;}
.report-dl:hover { background: #1e2235; }
@media (max-width: 1279px) { .reports-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px){ .reports-grid { grid-template-columns: 1fr; } }
 /* ── 8. How It Works ──── */
.process-track {position: relative;display: grid;grid-template-columns: repeat(5, 1fr);gap: 1.5rem;}
.process-track::before {content: '';position: absolute;top: 2.25rem;left: 8%;right: 8%;height: 1px;background: #e4e7ef;}
.process-track::after {content: '';position: absolute;top: 2.25rem;left: 8%;right: 8%;height: 1px;background: repeating-linear-gradient(to right, #EE2630 0, #EE2630 8px, transparent 8px, transparent 16px);
opacity: 0.25;}
.process-step { display: flex; flex-direction: column; align-items: center; text-align: center; }
.process-circle {width: 72px; height: 72px;border-radius: 50%;border: 2px solid #EE2630;background: #fff;display: flex;align-items: center;justify-content: center;margin-bottom: 1.25rem;position: relative;z-index: 1;}
.process-num {font-family: 'JetBrains Mono', monospace;font-size: 0.75rem;font-weight: 800;letter-spacing: 0.1em;color: #EE2630;}
.process-step h3 {font-family: 'Plus Jakarta Sans', system-ui, sans-serif;font-size: 0.875rem;font-weight: 700;color: #0f1218;margin-bottom: 0.5rem;}
.process-step p { font-size: 0.75rem; color: var(--body); line-height: 1.6; }
@media (max-width: 1023px) {
.process-track { grid-template-columns: 1fr; gap: 0; }
.process-track::before, .process-track::after { display: none; }
.process-step { flex-direction: row; text-align: left; gap: 1.25rem; padding-bottom: 1.5rem; align-items: flex-start; }
.process-step:not(:last-child) {padding-bottom: 1.5rem;border-left: 2px solid #e4e7ef;margin-left: 2.25rem;padding-left: 1.5rem;}
.process-step:not(:last-child) .process-circle { margin-left: -2.875rem; }
.process-circle { margin-bottom: 0; flex-shrink: 0; width: 48px; height: 48px; }
.process-num { font-size: 0.65rem; }
}

/* Testimonial */
.testimonial-themes {display: flex;flex-wrap: wrap;gap: 0.5rem;margin-bottom: 2.5rem;}
.theme-pill {font-size: 0.68rem;font-weight: 700;letter-spacing: 0.06em;text-transform: uppercase;padding: 0.375rem 0.875rem;border-radius: 9999px;border: 1px solid rgba(255,255,255,0.12);color: rgba(255,255,255,0.4);}
.testimonial-featured {background: rgba(255,255,255,0.05);border: 1px solid rgba(255,255,255,0.1);border-radius: 1rem;padding: clamp(2rem, 4vw, 3rem);margin-bottom: 1.5rem;}
.stars { display: flex; gap: 0.2rem; margin-bottom: 1.25rem; }
.testimonial-featured blockquote {font-family: Georgia, 'Times New Roman', serif;font-size: clamp(1.1rem, 2.5vw, 1.4rem);color: rgba(255,255,255,0.8);font-style: italic;line-height: 1.65;margin-bottom: 1.5rem;}
.testimonial-featured .author { font-weight: 700; color: #fff; font-size: 0.875rem; }
.testimonial-featured .theme-tag { color: #EE2630; font-size: 0.75rem; font-weight: 600; margin-top: 0.25rem; }
.testimonials-grid {display: grid;grid-template-columns: repeat(3, 1fr);gap: 1rem;}
.testimonial-card {background: rgba(255,255,255,0.04);border: 1px solid rgba(255,255,255,0.08);border-radius: 0.75rem;padding: 1.5rem;}
.testimonial-card blockquote {font-style: italic;color: rgba(255,255,255,0.6);font-size: 0.875rem;line-height: 1.7;margin: 1rem 0 1.25rem;}
.testimonial-card .author { font-weight: 700; color: #fff; font-size: 0.75rem; }
.testimonial-card .theme-tag { color: #EE2630; font-size: 0.68rem; font-weight: 600; margin-top: 0.2rem; }
@media (max-width: 1023px) { .testimonials-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px){ .testimonials-grid { grid-template-columns: 1fr; } }
/* Project Type */
.project-desc {background: #0F1218;padding: 1rem;color: #F1F1DB;font-size: 12px;}
.project-desc h2 {font-size: 18px;color: #fff;}
.projecttypes .project-type div:last-child {height: 100%;}
.project-desc p {margin-bottom: .5rem;}
.project-desc p:last-child {margin: 0;}
@media (max-width: 600px){.projecttypes .project-type div:last-child {height: auto;}}
.pum-theme-1529, .pum-theme-default-theme {background-color: rgba(0, 0, 0, .5) !important;}
.popmake {border-radius: 0.75rem !important;}
button.pum-close.popmake-close {background: black !important;border-radius: 0 0.75rem 0 0.75rem !important;font-size: 10px !important;padding: 0 20px !important;}
/* UK Estimates legal section */
.legal {background: #0f1218;border-bottom: 1px solid #EE2630;padding: 2.5rem 0;}
.legal-label {color: rgba(255, 255, 255, 0.5);font-size: 0.75rem;font-weight: 600;letter-spacing: 0.1em;text-transform: uppercase;margin-bottom: 0.75rem;}
.legal-label::before {content: "";width: 32px;height: 2px;background: currentColor;flex: none;}
.legal-links {display: flex;gap: 0.75rem;flex-wrap: wrap;}
.legal-btn {display: inline-flex;align-items: center;gap: 0.5rem;color: #fff !important;font-size: 0.875rem;font-weight: 600;padding: 0.625rem 1rem;border-radius: 0.75rem;border: 1px solid rgba(255, 255, 255, 0.15);background: rgba(255, 255, 255, 0.05);transition: background .2s, border-color .2s;}
.legal-btn:hover {background: rgba(255, 255, 255, 0.1);border-color: rgba(255, 255, 255, 0.3);color: #fff !important;}

/* ── Home: accreditations band ───────────────────────────────────────────
 Goes in Appearance → Customize → Additional CSS, alongside the existing
 .report-card rules. The theme is not editable, so the styling lives here.

 Selectors are deliberately prefixed with .accred-card / .accreditations.
 Elementor's Global Kit sets colour on .elementor-widget-heading
 .elementor-heading-title (0,0,2,0) and on .elementor-widget-text-editor
 (0,0,1,0); prefixing takes each rule one class past it. Do not simplify
 them — the same redundancy section 22 of the theme stylesheet needs.*/

/* The strip the hero prints itself, hidden so the numbers can become their
 own reorderable section instead. Delete this line to put the built-in one
 back.

 Scoped to .hero deliberately. The standalone Statistics section renders the
 same .stats-strip markup, so a bare `.page-home .stats-strip` would hide
 that one too and the section would look like it had failed to import. */
.page-home .hero .stats-strip { display: none; }
.accreditations__eyebrow .elementor-heading-title {font-size: .6875rem;font-weight: 800;letter-spacing: .14em;text-transform: uppercase;color: rgba(255, 255, 255, .62);margin: 0 0 .25rem;}
.accreditations__grid {display: grid;grid-template-columns: repeat(3, minmax(0, 1fr));gap: 1.25rem;}
.accred-card {background: rgba(255, 255, 255, .04);border: 1px solid rgba(255, 255, 255, .1);border-radius: .75rem;padding: 1.25rem;height: 100%;}

/* The white tile the logo sits on. */
.accred-card__logo {flex: 0 0 auto;width: 64px;height: 64px;background: #fff;border-radius: .5rem;display: flex;align-items: center;justify-content: center;overflow: hidden;}
.accred-card__logo img {width: 100%;height: 100%;object-fit: contain;padding: 8px;}
.accred-card__body { flex: 1 1 auto; min-width: 0; }
.accred-card .elementor-widget-heading .elementor-heading-title {font-size: 1rem;font-weight: 700;line-height: 1.35;color: #fff;margin: 0;}
.accred-card .elementor-widget-text-editor {font-size: .8125rem;line-height: 1.6;color: rgba(255, 255, 255, .62);}
.accred-card .elementor-widget-text-editor p { margin: 0; }

/* Not the theme's .btn — that styles Elementor's wrapper and leaves the
 inner <a> on the kit's own button styling, which is the trap recorded at
 section 20. Styling the inner element directly avoids it. */
.accred-card .elementor-button {background: transparent;padding: 0;border-radius: 0;font-size: .8125rem;font-weight: 700;color: #fff;text-decoration: underline;text-underline-offset: 3px;min-height: 0;}
.accred-card .elementor-button:hover { color: rgba(255, 255, 255, .72); }
.accred-card .elementor-button-content-wrapper { justify-content: flex-start; }

/* ── The certificate popup ───────────────────────────────────────────────
 The certificates are PDFs, so the popup embeds one rather than showing an
 image. A4 aspect ratio keeps the frame the shape of the document instead
 of guessing a height. */
.ukg-cert-title { margin: 0 0 1rem; font-size: 1.25rem; }
.ukg-cert-frame {position: relative;width: 100%;aspect-ratio: 1 / 1.414;/* A full A4 frame is taller than most viewports, so the popup would scroll
 the whole page. Clamp it and let the PDF viewer scroll inside instead. */
max-height: 72vh;background: #f8f9fc;border: 1px solid var(--c-line, #e4e7ef);border-radius: .5rem;overflow: hidden;}
.ukg-cert-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.ukg-cert-fallback { margin: .75rem 0 0; font-size: .875rem; text-align: center; }
/* Mobile browsers commonly refuse to render a PDF in an iframe and leave a
 blank box, which reads as broken. Below 640px the frame is dropped and the
 link is promoted to a button instead. */
@media (max-width: 640px) {
.ukg-cert-frame { display: none; }
.ukg-cert-fallback a {display: block;padding: .75rem 1rem;background: var(--c-red-solid, #D81F28);color: #fff;border-radius: .5rem;font-weight: 700;text-decoration: none;}}

@media (max-width: 1024px) {.accreditations__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }}
@media (max-width: 640px) {.accreditations__grid { grid-template-columns: 1fr; }}
.stats-strip {display : none;}
.divElite {color: #4a4f6a;font-size: .875rem;text-align: center;background: #fff;border-radius: 1rem;box-shadow: 0 10px 15px -3px var(--tw-shadow-color,#0000001a), 0 4px 6px -4px var(--tw-shadow-color,#0000001a);padding: 2rem 0.5rem;	border: solid 1px #d5e4ec;}
.trustedpartner.eyebrow::before {color: #1B5875 !important;}
.divElite img {height: .25rem;margin: 0 auto .25rem;width: auto;}
.btn-elite {background: #1B5875;	transform: translateY(-2px);box-shadow: var(--sh-red);}
.btn-elite:hover {background: #144560;transform: translateY(-2px);}
.partner-band {border-block: solid 1px #d5e4ec;}

/* ══════════════════════════════════════════════════════════════════════════
 UK GROUP — HOME HERO
 Appearance → Customize → Additional CSS, under the existing
 ".report-card" and "Home: accreditations band" blocks.

 Pairs with uk-group-home-hero.json. The template carries ONLY containers,
 Heading, Image and Button widgets — no HTML widget, no Text Editor, no
 shortcode, no data-* attribute — so every word and picture is a field in
 Elementor's panel and there is nothing in the page for the editor to
 damage. Everything that used to need markup lives here instead.

 THE ONE THING TO KNOW BEFORE EDITING THIS FILE
 The old hero's accordion and crossfading backdrop were driven by
 `data-accordion` / `data-hero-bg` and module 05 of main.js. Those hooks are
 gone on purpose: kses strips data-* from any user without unfiltered_html,
 which is what collapsed the hero the first time it was opened in Elementor
 (HANDOFF §16.9). The same behaviour is reproduced below with :hover,
 :focus-within and :has(). If you ever reintroduce a data-* hook here, you
 reintroduce that failure.

 SPECIFICITY — do not "simplify" the selectors
 Every container rule is written `.e-con.CLASS` and every widget rule
 `.elementor-widget.CLASS`, with heading text reached as
 `.elementor-widget-heading.CLASS .elementor-heading-title`. One bare class
 is not enough:
 • Elementor's own container and widget rules are (0,0,1,0)–(0,0,3,0) and
 load after the theme (CLAUDE.md, "Elementor outranks a bare theme
 class", and §30's seven properties).
 • The Global Kit sets colour and font on
 `.elementor-widget-heading .elementor-heading-title` — (0,0,2,0).
 • This site's own Customizer CSS above sets `h2 { font-size: clamp(…) }`
 and `body { font-family: Manrope !important }`.
 The redundancy is the whole point.
 ═════════════════════════════════════════════════════════════════════════ */

/* ── 1. The hero shell ──────────────────────────────────────────────────── */

.e-con.ukgh {position: relative;display: flex;flex-direction: column;min-height: 100svh;padding: 0;overflow: hidden;background: var(--c-ink-deep, #17181C);isolation: isolate;}

/* The page already reserves header clearance on .page-body; the hero adds its
 own top padding the way the theme's .hero__top did. */
.e-con.ukgh__top {position: relative;z-index: 2;padding-top: calc(var(--header-h, 76px) + 3rem);padding-bottom: var(--sp-8, 2.5rem);}
/* ── 2. Backdrop, and the crossfade that replaces main.js module 05 ─────── */
.e-con.ukgh__bg {position: absolute;inset: 0;z-index: 0;display: block;padding: 0;pointer-events: none;}
.elementor-widget.ukgh__bg-img {position: absolute;inset: 0;margin: 0;opacity: 0;transform: scale(1);transition: opacity .6s var(--ease, cubic-bezier(.4, 0, .2, 1)),transform .9s var(--ease, cubic-bezier(.4, 0, .2, 1));}
.elementor-widget.ukgh__bg-img .elementor-widget-container,.elementor-widget.ukgh__bg-img figure { height: 100%; }
.elementor-widget.ukgh__bg-img img {width: 100%;height: 100%;object-fit: cover;display: block;}
/* Resting state: the first backdrop, exactly as the theme's `activate(null)` did. */
.ukgh .elementor-widget.ukgh__bg-img.ukgh-bg-1 { opacity: .22; transform: scale(1.03); }
/* Any panel hovered or focused clears them all … */
.ukgh:has(.ukgh__panel:hover) .elementor-widget.ukgh__bg-img,
.ukgh:has(.ukgh__panel:focus-within) .elementor-widget.ukgh__bg-img { opacity: 0; }
/* … and the paired one fades in. The pairing is by SHARED CLASS, not by
 position, so reordering the panels in Elementor moves each panel's
 backdrop with it. :has() is unsupported only on browsers this site no
 longer sees; where it is missing the backdrop simply stays on image 1,
 which is a degradation and not a break. */
.ukgh:has(.ukgh__panel.ukgh-bg-1:hover) .elementor-widget.ukgh__bg-img.ukgh-bg-1,
.ukgh:has(.ukgh__panel.ukgh-bg-1:focus-within) .elementor-widget.ukgh__bg-img.ukgh-bg-1,
.ukgh:has(.ukgh__panel.ukgh-bg-2:hover) .elementor-widget.ukgh__bg-img.ukgh-bg-2,
.ukgh:has(.ukgh__panel.ukgh-bg-2:focus-within) .elementor-widget.ukgh__bg-img.ukgh-bg-2,
.ukgh:has(.ukgh__panel.ukgh-bg-3:hover) .elementor-widget.ukgh__bg-img.ukgh-bg-3,
.ukgh:has(.ukgh__panel.ukgh-bg-3:focus-within) .elementor-widget.ukgh__bg-img.ukgh-bg-3,
.ukgh:has(.ukgh__panel.ukgh-bg-4:hover) .elementor-widget.ukgh__bg-img.ukgh-bg-4,
.ukgh:has(.ukgh__panel.ukgh-bg-4:focus-within) .elementor-widget.ukgh__bg-img.ukgh-bg-4 {
opacity: .22;transform: scale(1.03);}

/* The wash that keeps white text legible over any photograph. Bottom-weighted
 for the same reason §15.1 gives for the panel scrim: a flat tint over a pale
 image fails contrast everywhere. */
.e-con.ukgh__bg::after {content: "";position: absolute;inset: 0;background: linear-gradient(to bottom,rgba(23, 24, 28, .82) 0%,rgba(23, 24, 28, .46) 45%,rgba(23, 24, 28, .9) 100%);}

/* ── 3. Blueprint overlay ───────────────────────────────────────────────── */
.e-con.ukgh__blueprint {
position: absolute;
inset: 0;
z-index: 1;
display: block;
padding: 0;
pointer-events: none;
background-image:
linear-gradient(to right, rgba(67, 76, 160, .13) 1px, transparent 1px),
linear-gradient(to bottom, rgba(67, 76, 160, .13) 1px, transparent 1px),
linear-gradient(to right, rgba(246, 247, 249, .07) 1px, transparent 1px),
linear-gradient(to bottom, rgba(246, 247, 249, .07) 1px, transparent 1px);
background-size: 30px 30px, 30px 30px, 120px 120px, 120px 120px;
}

.e-con.ukgh__titleblock {
position: absolute;
top: .5rem;
right: .5rem;
display: block;
width: auto;
padding: .375rem .75rem;
border: 1px solid rgba(67, 76, 160, .5);
text-align: center;
}
.elementor-widget-heading.ukgh__tb-name .elementor-heading-title,
.elementor-widget-heading.ukgh__tb-ref .elementor-heading-title,
.elementor-widget-heading.ukgh__scale .elementor-heading-title {
font-family: var(--font-mono, ui-monospace, monospace);
font-size: .5rem;
font-weight: 400;
line-height: 1.65;
letter-spacing: .08em;
white-space: nowrap;
color: rgba(246, 247, 249, .3);
}
/* Only the two lines inside the title block take its 1.7 leading, and only
 the name is 500. The scale bar is a sibling of the block, not a child. */
.elementor-widget-heading.ukgh__tb-name .elementor-heading-title,
.elementor-widget-heading.ukgh__tb-ref .elementor-heading-title { line-height: 1.7; }
.elementor-widget-heading.ukgh__tb-name .elementor-heading-title { font-weight: 500; color: rgba(246, 247, 249, .5); }
.elementor-widget-heading.ukgh__tb-ref .elementor-heading-title { color: rgba(246, 247, 249, .32); }

.elementor-widget.ukgh__scale { position: absolute; left: 1.5rem; bottom: 1rem; margin: 0; }
.elementor-widget-heading.ukgh__scale .elementor-heading-title { color: rgba(246, 247, 249, .3); }
.elementor-widget-heading.ukgh__scale .elementor-heading-title::before {
content: "";
display: block;
width: 80px;
height: 6px;
margin-bottom: .25rem;
border: 1px solid rgba(246, 247, 249, .32);
border-top: 0;
background: linear-gradient(to right, transparent 49.5%, rgba(246, 247, 249, .32) 49.5%, rgba(246, 247, 249, .32) 50.5%, transparent 50.5%);
}
@media (max-width: 767px) { .e-con.ukgh__titleblock { display: none; } }

/* ── 4. Headline block ──────────────────────────────────────────────────── */

/* The rule-and-label is drawn on the INNER <p>, never on the widget wrapper.
 §30: a theme class on a wrapper loses align-items, gap and margin to
 Elementor's own rules, which is exactly what put every eyebrow's rule above
 its label. Styling the element Elementor owns sidesteps the whole family. */
.elementor-widget-heading.ukgh__eyebrow .elementor-heading-title {
display: inline-flex;
align-items: center;
gap: .75rem;
font-family: var(--font-body, sans-serif);
font-size: var(--fs-2xs, .6875rem);
font-weight: 800;
letter-spacing: .16em;
text-transform: uppercase;
color: var(--c-red-on-dark, #F85A61);
}
/* currentColor, not --c-red. The theme's `.eyebrow::before` takes the label's
 own colour, and on a dark ground that is --c-red-on-dark; hard-coding the
 brand red put a 4.2:1 rule beside a 5.6:1 label. Measured against the
 static page, which renders rgb(248,90,97). */
.elementor-widget-heading.ukgh__eyebrow .elementor-heading-title::before {
content: "";
flex: none;
width: 32px;
height: 2px;
background: currentColor;
}
.e-con .elementor-widget.elementor-widget.ukgh__eyebrow { margin-block-end: var(--sp-3, .75rem); }

/* Elementor gives EVERY container `--width: 100%` and `width: var(--width)`
 (frontend.min.css, `.e-con`). Two of them on one nowrap row are therefore
 both asking for the full width, and whichever refuses to shrink takes it
 all: the first build left `flex: none` on the actions and the headline
 column measured 0px, wrapping the h1 one word per line. Both columns are
 sized from their content instead, and the headline takes the remainder. */
.e-con.ukgh__headline-row { align-items: flex-end; }
.e-con.ukgh__headline { flex: 1 1 auto; width: auto; min-width: 0; }
.e-con.ukgh__actions { flex: 0 0 auto; width: auto; }

@media (max-width: 1023px) {
.e-con.ukgh__headline-row { flex-direction: column; align-items: flex-start; }
.e-con.ukgh__headline, .e-con.ukgh__actions { width: 100%; }
}

.elementor-widget-heading.ukgh__title .elementor-heading-title {
font-family: var(--font-display, sans-serif);
/* The live site caps .hero__title at this clamp through its own Customizer
 rule. Stated here so the rebuilt hero matches what is on the page today
 rather than the larger --fs-display the static template uses. */
font-size: clamp(2.5rem, 1.6rem + 4.2vw, 3rem);
font-weight: 800;
line-height: 1.04;
letter-spacing: -.03em;
color: #fff;
}
.ukgh__accent { color: var(--c-red, #EE2630); }

.elementor-widget-heading.ukgh__copy .elementor-heading-title {
max-width: 52ch;
font-family: var(--font-body, sans-serif);
font-size: var(--fs-lead, 1.125rem);
font-weight: 400;
/* 1.65 is the body line-height the theme's .hero__copy inherits. It
 declares none of its own, so a guessed 1.6 reads as a 1px-per-line
 difference down the paragraph. */
line-height: 1.65;
letter-spacing: 0;
color: rgba(255, 255, 255, .62);
}
.e-con .elementor-widget.elementor-widget.ukgh__copy { margin-block-start: var(--sp-5, 1.25rem); }

/* ── 5. Buttons ─────────────────────────────────────────────────────────── */

/* Styled on the inner <a class="elementor-button">, NOT by putting .btn on the
 widget. §20 measured that trap: the theme class lands on Elementor's
 wrapper and the inner anchor keeps the kit's own button styling — a button
 inside a button, 3px radius, no min-height, wrong ground. */
.ukgh__btn .elementor-button {
display: inline-flex;
align-items: center;
justify-content: center;
gap: .5rem;
min-height: 54px;
padding: 1rem 2rem;
font-family: var(--font-body, sans-serif);
font-size: var(--fs-base, 1rem);
font-weight: 700;
line-height: 1.2;
text-decoration: none;
border-radius: var(--r-md, 10px);
border: 1.5px solid transparent;
transition: background var(--t-base, .2s) var(--ease, ease),
color var(--t-base, .2s) var(--ease, ease),
border-color var(--t-base, .2s) var(--ease, ease),
transform var(--t-base, .2s) var(--ease, ease),
box-shadow var(--t-base, .2s) var(--ease, ease);
}
.ukgh__btn--primary .elementor-button {
color: #fff;
background: var(--c-red-solid, #D81F28);
}
.ukgh__btn--primary .elementor-button:hover {
background: var(--c-red-dark, #B3151F);
transform: translateY(-2px);
box-shadow: var(--sh-red, 0 10px 24px rgba(216, 31, 40, .35));
}
.ukgh__btn--ghost .elementor-button {
color: #fff;
background: rgba(255, 255, 255, .1);
border-color: rgba(255, 255, 255, .22);
}
.ukgh__btn--ghost .elementor-button:hover {
background: rgba(255, 255, 255, .18);
border-color: rgba(255, 255, 255, .45);
transform: translateY(-2px);
}

/* The theme prints an arrow and a phone glyph inside these two buttons as
 inline SVG. Generated content reproduces them without putting markup back
 into the page -- the arrow as a character, the handset as the theme's own
 path in a data URI, so it is the same shape and not a lookalike. Elementor's
 Button widget does have an icon control, but it would pull Font Awesome in
 for two glyphs. */
.ukgh__btn--primary .elementor-button-text::after {
content: " \2192";
display: inline-block;
transition: transform var(--t-base, .2s) var(--ease, ease);
}
.ukgh__btn--primary .elementor-button:hover .elementor-button-text::after { transform: translateX(3px); }

.ukgh__btn--ghost .elementor-button-text::before {
content: "";
display: inline-block;
width: 16px;
height: 16px;
margin-inline-end: .5rem;
vertical-align: -3px;
background: currentColor;
-webkit-mask: var(--ukgh-phone) center / contain no-repeat;
mask: var(--ukgh-phone) center / contain no-repeat;
}
.ukgh {
--ukgh-phone: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M6.6 10.8c1.4 2.8 3.8 5.1 6.6 6.6l2.2-2.2c.3-.3.7-.4 1-.2 1.1.4 2.3.6 3.6.6.6 0 1 .4 1 1V20c0 .6-.4 1-1 1-9.4 0-17-7.6-17-17 0-.6.4-1 1-1h3.5c.6 0 1 .4 1 1 0 1.3.2 2.5.6 3.6.1.3 0 .7-.2 1L6.6 10.8z"/></svg>');
}

/* ── 6. Trust row — the four accreditation logos ────────────────────────── */

.e-con.ukgh__trust { margin-block-start: var(--sp-5, 1.25rem); row-gap: .75rem; }

/* Five characters of generated content instead of five inline SVGs. The
 meaning is carried by the text beside it ("4.9 Google"), so nothing is lost
 if a reader's font has no star glyph. Delete this widget in Elementor to
 drop the rating from the strip. */
.elementor-widget-heading.ukgh__rating .elementor-heading-title {
display: flex;
align-items: center;
gap: .5rem;
font-family: var(--font-body, sans-serif);
font-size: var(--fs-xs, .8125rem);
font-weight: 500;
letter-spacing: 0;
color: rgba(255, 255, 255, .72);
}
.elementor-widget-heading.ukgh__rating .elementor-heading-title::before {
content: "\2605\2605\2605\2605\2605";
font-size: .75rem;
letter-spacing: .08em;
color: var(--c-amber, #F5A623);
}

/* All four tiles are the SAME SIZE. The logos are not: they arrive at
 558×439, 280×74, 200×202 and 280×120 — ratios from 0.99 to 3.78. So the
 tile is fixed and the artwork is fitted inside it with object-fit:contain,
 which centres each mark and never distorts one to fill the box.

 132×48 is chosen so the widest mark (Once For All, 3.78:1) still reaches
 the full tile width while the squarest (Gold Member) reaches the full
 height. Change --ukgh-logo-w / --ukgh-logo-h below to resize the whole row
 — nothing else has to move. */
.e-con.ukgh__trust { --ukgh-logo-w: 100px; --ukgh-logo-h: 48px; }

.elementor-widget.ukgh__logo {
display: flex;
align-items: center;
justify-content: center;
flex: 0 0 auto;
width: var(--ukgh-logo-w);
height: var(--ukgh-logo-h);
margin: 0;
padding: 6px 10px;
background: #fff;
border-radius: 8px;
}
/* The widget's own container and anchor have to be told to fill the tile too,
 or the image is sized against a shrink-to-fit box inside it and the four
 marks end up centred in four different areas. */
.elementor-widget.ukgh__logo .elementor-widget-container,
.elementor-widget.ukgh__logo figure,
.elementor-widget.ukgh__logo a {
display: flex;
align-items: center;
justify-content: center;
width: 100%;
height: 100%;
margin: 0;
line-height: 0;
}
.elementor-widget.ukgh__logo img {
display: block;
width: 100%;
height: 100%;
object-fit: contain;
}

/* Only the three that open a certificate get an affordance. RICS has no popup
 yet, so it is deliberately inert and must not look clickable. */
.elementor-widget.ukgh__logo--cert {
cursor: pointer;
transition: transform var(--t-base, .2s) var(--ease, ease), box-shadow var(--t-base, .2s) var(--ease, ease);
}
.elementor-widget.ukgh__logo--cert:hover {
transform: translateY(-2px);
box-shadow: 0 6px 18px rgba(0, 0, 0, .38);
}
.elementor-widget.ukgh__logo--cert a:focus-visible {
outline: 2px solid var(--c-red-on-dark, #F85A61);
outline-offset: 3px;
}

/* Four 132px tiles plus the rating do not fit a phone on one line; the row
 already wraps, and the tiles shrink together so they stay equal. */
@media (max-width: 560px) {
.e-con.ukgh__trust { --ukgh-logo-w: 104px; --ukgh-logo-h: 38px; }
}

/* ── 7. The four panels ─────────────────────────────────────────────────── */

.e-con.ukgh__panels {
position: relative;
z-index: 2;
flex: 1;
min-height: 520px;
padding: 0;
}

.e-con.ukgh__panel {
position: relative;
flex: 1 1 0;
min-width: 0;
padding: 0;
overflow: hidden;
transition: flex 420ms var(--ease, cubic-bezier(.4, 0, .2, 1));
}
.e-con.ukgh__panel + .e-con.ukgh__panel { border-left: 1px solid rgba(255, 255, 255, .1); }

/* Siblings shrink while the row is hovered; the hovered one expands. The
 second selector is written with the same number of classes as the first and
 placed after it, so it wins on source order — a bare `.ukgh__panel:hover`
 would lose to `.ukgh__panels:hover .ukgh__panel` and nothing would move. */
.e-con.ukgh__panels:hover > .e-con.ukgh__panel { flex: .85 1 0; }
.e-con.ukgh__panels > .e-con.ukgh__panel:hover,
.e-con.ukgh__panels > .e-con.ukgh__panel:focus-within { flex: 2.45 1 0; }

/* Photograph */
.elementor-widget.ukgh__panel-img { position: absolute; inset: 0; margin: 0; }
.elementor-widget.ukgh__panel-img .elementor-widget-container,
.elementor-widget.ukgh__panel-img figure { height: 100%; }
.elementor-widget.ukgh__panel-img img {
display: block;
width: 100%;
height: 100%;
object-fit: cover;
transform: scale(1.01);
transition: transform .7s var(--ease, ease), filter .38s ease;
}
.ukgh__panels:hover .ukgh__panel .elementor-widget.ukgh__panel-img img { filter: saturate(.5); }
.ukgh__panels .ukgh__panel:hover .elementor-widget.ukgh__panel-img img,
.ukgh__panels .ukgh__panel:focus-within .elementor-widget.ukgh__panel-img img {
filter: none;
transform: scale(1.04);
}

/* Scrim (::before) and the red leading edge (::after) are pseudo-elements, so
 they cost no widgets and cannot be deleted by accident in the editor. */
.e-con.ukgh__panel::before {
content: "";
position: absolute;
inset: 0;
z-index: 1;
pointer-events: none;
background: rgba(23, 24, 28, .62);
transition: background .38s ease;
}
.ukgh__panels:hover .e-con.ukgh__panel::before { background: rgba(23, 24, 28, .8); }
.ukgh__panels .e-con.ukgh__panel:hover::before,
.ukgh__panels .e-con.ukgh__panel:focus-within::before {
background:
linear-gradient(to top, rgba(23, 24, 28, .93) 0%, rgba(23, 24, 28, .74) 38%, rgba(23, 24, 28, .34) 72%, rgba(23, 24, 28, .24) 100%),
linear-gradient(to right, rgba(67, 76, 160, .5) 0%, rgba(67, 76, 160, .12) 55%, transparent 100%);
}

.e-con.ukgh__panel::after {
content: "";
position: absolute;
top: 0;
left: 0;
z-index: 3;
width: 2px;
height: 0;
pointer-events: none;
background: var(--c-red, #EE2630);
transition: height .4s var(--ease, ease);
}
.ukgh__panels .e-con.ukgh__panel:hover::after,
.ukgh__panels .e-con.ukgh__panel:focus-within::after { height: 100%; }

/* Collapsed label */
.e-con.ukgh__panel-label {
position: absolute;
inset: 0;
z-index: 2;
justify-content: center;
align-items: center;
padding: 1rem .75rem 2rem;
transition: opacity .3s ease;
}
.ukgh__panels:hover .e-con.ukgh__panel-label { opacity: .55; }
.ukgh__panels .ukgh__panel:hover .e-con.ukgh__panel-label,
.ukgh__panels .ukgh__panel:focus-within .e-con.ukgh__panel-label { opacity: 0; }

.elementor-widget-heading.ukgh__panel-name .elementor-heading-title {
font-family: var(--font-display, sans-serif);
font-size: 1.25rem;
font-weight: 700;
line-height: 1.14;
letter-spacing: .03em;
text-align: center;
color: #fff;
margin: 0;
}
/* The theme's `.mono`: --fs-2xs, .14em, uppercase. The blueprint marks below
 are NOT .mono -- they are .5rem/.08em and not uppercased -- so the two sets
 of monospace rules here are deliberately different. */
.elementor-widget-heading.ukgh__panel-no .elementor-heading-title,
.elementor-widget-heading.ukgh__panel-dwg .elementor-heading-title,
.elementor-widget-heading.ukgh__sheet .elementor-heading-title {
font-family: var(--font-mono, ui-monospace, monospace);
font-size: var(--fs-2xs, .6875rem);
font-weight: 400;
letter-spacing: .14em;
text-transform: uppercase;
}

.elementor-widget.ukgh__panel-no { position: absolute; bottom: 1.75rem; margin: 0; }
.elementor-widget-heading.ukgh__panel-no .elementor-heading-title {
color: rgba(255, 255, 255, .38);
}

/* Expanded body */
.e-con.ukgh__panel-body {
position: absolute;
inset: 0;
z-index: 2;
justify-content: flex-end;
padding: clamp(1.5rem, 1rem + 1.4vw, 2.25rem);
opacity: 0;
transform: translateX(-8px);
pointer-events: none;
transition: opacity .3s ease .08s, transform .3s ease .08s;
}
.ukgh__panels .ukgh__panel:hover .e-con.ukgh__panel-body,
.ukgh__panels .ukgh__panel:focus-within .e-con.ukgh__panel-body {
opacity: 1;
transform: none;
pointer-events: auto;
}

.elementor-widget-heading.ukgh__panel-dwg .elementor-heading-title {
display: flex;
align-items: center;
gap: .625rem;
color: rgba(255, 255, 255, .42);
}
.elementor-widget-heading.ukgh__panel-dwg .elementor-heading-title::after {
content: "";
height: 1px;
width: 48px;
background: rgba(255, 255, 255, .18);
}
.e-con .elementor-widget.elementor-widget.ukgh__panel-dwg { margin-block-end: var(--sp-5, 1.25rem); }

.elementor-widget-heading.ukgh__panel-title .elementor-heading-title {
font-family: var(--font-display, sans-serif);
font-size: clamp(1.75rem, 1.1rem + 1.9vw, 2.5rem);
font-weight: 800;
line-height: 1.14;
letter-spacing: -.025em;
color: #fff;
margin: 0;
}
.e-con .elementor-widget.elementor-widget.ukgh__panel-title { margin-block-end: .5rem; }

/* The 40px red rule under the proposition is generated, not a widget — one
 fewer thing in the panel and one fewer thing to delete by mistake. */
.elementor-widget-heading.ukgh__panel-prop .elementor-heading-title {
font-family: Georgia, "Times New Roman", serif;
font-style: italic;
font-size: 1.0625rem;
font-weight: 400;
line-height: 1.65;
letter-spacing: 0;
color: rgba(255, 255, 255, .76);
}
.elementor-widget-heading.ukgh__panel-prop .elementor-heading-title::after {
content: "";
display: block;
width: 40px;
height: 1px;
margin-top: var(--sp-4, 1rem);
background: var(--c-red, #EE2630);
}
.e-con .elementor-widget.elementor-widget.ukgh__panel-prop { margin-block-end: var(--sp-4, 1rem); }

.elementor-widget-heading.ukgh__panel-desc .elementor-heading-title {
max-width: 30ch;
font-family: var(--font-body, sans-serif);
font-size: var(--fs-sm, .875rem);
font-weight: 400;
line-height: 1.65;
letter-spacing: 0;
color: rgba(255, 255, 255, .82);
}
.e-con .elementor-widget.elementor-widget.ukgh__panel-desc { margin-block-end: var(--sp-5, 1.25rem); }

.e-con.ukgh__tags { margin-block-end: var(--sp-5, 1.25rem); }
.elementor-widget-heading.ukgh__tag .elementor-heading-title {
font-family: var(--font-mono, ui-monospace, monospace);
font-size: .5625rem;
font-weight: 700;
letter-spacing: .1em;
text-transform: uppercase;
padding: .25rem .4375rem;
color: rgba(246, 247, 249, .92);
border: 1px solid rgba(124, 134, 212, .6);
background: rgba(67, 76, 160, .38);
}

.ukgh__panel-link .elementor-button {
display: inline-flex;
align-items: center;
gap: .375rem;
min-height: 0;
padding: 0;
border: 0;
border-radius: 0;
background: transparent;
font-family: var(--font-body, sans-serif);
font-size: var(--fs-xs, .8125rem);
font-weight: 700;
line-height: 1.65;
color: var(--c-red-on-dark, #F85A61);
text-decoration: none;
}
.ukgh__panel-link .elementor-button-content-wrapper { justify-content: flex-start; }
.ukgh__panel-link .elementor-button-text::after { content: " \2192"; display: inline-block; transition: transform var(--t-base, .2s) var(--ease, ease); }
.ukgh__panel-link .elementor-button:hover .elementor-button-text::after { transform: translateX(3px); }

.elementor-widget.ukgh__sheet { position: absolute; top: 1.25rem; right: 1.25rem; margin: 0; }
.elementor-widget-heading.ukgh__sheet .elementor-heading-title {
line-height: 1.6;
text-align: right;
color: rgba(255, 255, 255, .3);
}

/* ── 8. Below 768px the same panels become a swipe track ────────────────── */

/* The theme shipped TWO renderings of this content — .svc-accordion for
 desktop and .svc-swipe for mobile — which meant editing every panel twice.
 One row that changes shape is the whole reason this is a single set of
 widgets. */
@media (max-width: 767px) {
.e-con.ukgh__panels {
min-height: 0;
gap: .75rem;
padding-inline: var(--gutter, 1.25rem);
padding-bottom: var(--sp-6, 1.5rem);
overflow-x: auto;
scroll-snap-type: x mandatory;
scrollbar-width: none;
-webkit-overflow-scrolling: touch;
}
.e-con.ukgh__panels::-webkit-scrollbar { display: none; }

.e-con.ukgh__panels > .e-con.ukgh__panel,
.e-con.ukgh__panels:hover > .e-con.ukgh__panel,
.e-con.ukgh__panels > .e-con.ukgh__panel:hover,
.e-con.ukgh__panels > .e-con.ukgh__panel:focus-within {
flex: 0 0 min(82vw, 340px);
height: 320px;
border-left: 0;
border-radius: var(--r-md, 10px);
scroll-snap-align: start;
}

/* Each card shows what the theme's swipe card showed: title, proposition
 and the link. The collapsed label, drawing refs, description and tags are
 the desktop panel's density and do not fit 82vw. */
.e-con.ukgh__panel-label,
.elementor-widget.ukgh__panel-dwg,
.elementor-widget.ukgh__panel-desc,
.e-con.ukgh__tags { display: none; }

.e-con.ukgh__panel-body,
.ukgh__panels .ukgh__panel .e-con.ukgh__panel-body {
opacity: 1;
transform: none;
pointer-events: auto;
padding: var(--sp-5, 1.25rem);
border-left: 2px solid var(--c-red, #EE2630);
}
.e-con.ukgh__panel::before,
.ukgh__panels:hover .e-con.ukgh__panel::before {
background:
linear-gradient(135deg, rgba(67, 76, 160, .4) 0%, transparent 55%),
linear-gradient(to top, rgba(23, 24, 28, .93) 0%, rgba(23, 24, 28, .45) 55%, rgba(23, 24, 28, .25) 100%);
}
.e-con.ukgh__panel::after { height: 0; }
.elementor-widget-heading.ukgh__panel-title .elementor-heading-title { font-size: 1.5rem; letter-spacing: -.02em; }
.elementor-widget-heading.ukgh__panel-prop .elementor-heading-title { font-size: .9375rem; }
.elementor-widget.ukgh__sheet { display: none; }

.e-con.ukgh { min-height: 0; }
.e-con.ukgh__top { padding-top: calc(var(--header-h, 76px) + 1.5rem); }
}

/* ── 9. Motion ──────────────────────────────────────────────────────────── */

@media (prefers-reduced-motion: reduce) {
.e-con.ukgh__panel,
.elementor-widget.ukgh__bg-img,
.elementor-widget.ukgh__panel-img img,
.e-con.ukgh__panel-body,
.e-con.ukgh__panel-label,
.e-con.ukgh__panel::before,
.e-con.ukgh__panel::after,
.ukgh__btn .elementor-button,
.elementor-widget.ukgh__logo--cert { transition: none; }
.e-con.ukgh__panel-body { transform: none; }
}
@media (max-width: 1023px) {
.process-step {;
padding-left: 1rem;
}
}
.stepbystep, .lightgrey{background-color: #f8f9fc; }

ol.process-track.\34 -step {
grid-template-columns: repeat(4, 1fr) !important;
}
@media (max-width: 1023px) {
ol.process-track.\34 -step {
grid-template-columns: 1fr !important;
}
}
ol.process-track.\34 -step::after {left: 9%;}

/* ═══════════════════════════════════════════════════════════════════════════
 UK GROUP — PROJECT GALLERY(UK Architects, "Project Types")
 Appearance → Customize → Additional CSS, at the end.

 Pairs with uk-group-project-gallery.json. Card grid in place of the
 one-up image carousels.

 THERE IS NO LIGHTBOX CODE HERE, AND THERE SHOULD NOT BE.
 The lightbox is Elementor's own. Each card holds an Image Gallery widget
 with "Link: Media File" and "Lightbox: Yes"; Elementor emits
 data-elementor-lightbox-slideshow itself, groups the images, and supplies
 the arrows, the keyboard handling, the close button and the "1 / 3"
 counter. An earlier draft of this file shipped a hand-written modal that
 did the same thing — it was deleted rather than left as a second way of
 doing one job.

 All this file does is turn the gallery's FIRST item into the card's cover
 and hide the rest. Free Elementor has no overlay-card widget; the two
 that would do it, `gallery` and `portfolio`, are Pro-only placeholders on
 this install.

 TURN OFF THE EXTRA LIGHTBOX ICONS
 Elementor → Site Settings → Lightbox. Share, Zoom and Fullscreen are on
 by default and are not in the reference design. Switch them off and the
 lightbox is close + arrows + counter. That setting is SITE-WIDE, so check
 nothing else relies on them first.

 SPECIFICITY — do not simplify these selectors
 Containers are reached as `.e-con.CLASS`, widgets as
 `.elementor-widget.CLASS`, heading text as
 `.elementor-widget-heading.CLASS .elementor-heading-title`. One bare class
 loses to Elementor's own rules, to the Global Kit's
 `.elementor-widget-heading .elementor-heading-title` (0,0,2,0), and to
 this site's own `h2 { font-size: clamp(…) }` higher up this stylesheet.

 The three .project-desc rules further up this file belonged to the old
 carousel layout. They are harmless once this section replaces it, but they
 are dead — delete them when you are happy with this.
 ═════════════════════════════════════════════════════════════════════════ */

/* ── 1. Section and heading ───────────────────────────────────────────────

.e-con.ukgp {
padding-block: var(--section-y, clamp(1.5rem, 2rem + 6vw, 7rem));
} */

/* .section-head's 48px is lost on an Elementor container, because .e-con
 writes its own margin from custom properties that default to zero
 (HANDOFF §32). Restated rather than relying on the theme class. */
.e-con.ukgp__head { margin-block-end: var(--sp-12, 3rem); }
.ukgp__body p {
color: rgba(255,255,255,.78) !important;
font-size: 12px !important;
margin-bottom: 10px;
}
.elementor-widget-heading.ukgp__eyebrow .elementor-heading-title {
display: inline-flex;
align-items: center;
gap: .75rem;
font-family: var(--font-body, sans-serif);
font-size: 12px;
font-weight: 800;
letter-spacing: .16em;
text-transform: uppercase;
color: var(--c-red-text, #C41722);
}
.elementor-widget-heading.ukgp__eyebrow .elementor-heading-title::before {
content: "";
flex: none;
width: 32px;
height: 2px;
background: currentColor;
}
.e-con .elementor-widget.elementor-widget.ukgp__eyebrow { margin-block-end: var(--sp-3, .75rem); }

/* The live heading carries style="font-size:var(--fs-h3)" inline. Stated
 here instead: an Elementor Heading widget drops an inline style and would
 otherwise fall back to the h2 scale (HANDOFF §23, isTextOnly). */
.elementor-widget-heading.ukgp__heading .elementor-heading-title {
font-family: var(--font-display, sans-serif);
font-size: var(--fs-h3, 1.75rem);
font-weight: 800;
line-height: 1.14;
letter-spacing: -.02em;
color: var(--c-ink, #0F1218);
margin: 0;
}

/* ── 2. The card grid ───────────────────────────────────────────────────── */

.e-con.ukgp__grid {
display: grid;
grid-template-columns: repeat(2, minmax(0, 1fr));
gap: 24px;
}
@media (max-width: 767px) {
.e-con.ukgp__grid { grid-template-columns: 1fr; }
}

/* The card is a flex column that pushes its text to the bottom, and the
 photograph is absolutely positioned behind it. It is NOT the other way
 round: with the text absolutely positioned the card could never grow,
 because out-of-flow content adds no height — 470px of card held 477px of
 text at tablet width and silently clipped the first line. In flow, the
 card grows to whatever the copy needs and min-height only sets the floor. */
.e-con.ukgp__card {
position: relative;
display: flex;
flex-direction: column;
justify-content: flex-end;
min-height: 470px;
padding: 0;
overflow: hidden;
/* border-radius: var(--r-md, 10px); */
background: var(--c-ink, #0F1218);
}
@media (max-width: 560px) {
.e-con.ukgp__card { min-height: 360px; }
}

/* The focusable element is the gallery's own anchor, so the ring goes on the
 card around it. */
.e-con.ukgp__card:focus-within {
outline: 2px solid var(--c-red-solid, #D81F28);
outline-offset: 3px;
}

/* ── 3. The gallery, as the card's cover ────────────────────────────────── */

/* WordPress renders the gallery as
 .gallery > figure.gallery-item > .gallery-icon > a > img
 Only the first item is shown; the rest stay in the document because that
 is what Elementor groups into the slideshow. */

.elementor-widget.ukgp__gallery { position: absolute; inset: 0; margin: 0; }
.elementor-widget.ukgp__gallery .elementor-widget-container { height: 100%; }
.elementor-widget.ukgp__gallery .gallery {
height: 100%;
margin: 0;
display: block;
}
.elementor-widget.ukgp__gallery .gallery-item {
margin: 0;
padding: 0;
width: 100%;
}
.elementor-widget.ukgp__gallery .gallery-item:first-child {
position: absolute;
inset: 0;
}
/* Hidden, not removed — the lightbox slideshow is built from all of them. */
.elementor-widget.ukgp__gallery .gallery-item + .gallery-item { display: none; }

.elementor-widget.ukgp__gallery .gallery-icon { height: 100%; margin: 0; }
.elementor-widget.ukgp__gallery .gallery-icon a {
display: block;
height: 100%;
/* Nothing in the card is above this except the overlay, which does not take
 pointer events — so the whole card is the link, with no script. */
}

/* Two classes plus the element, because Elementor ships
 `.elementor img { height: auto }` at (0,0,1,1) and a bare class loses to
 it — measured on the earlier draft, where a square photograph overflowed
 its box by 60px. Do not reduce this selector. */
.ukgp__card .ukgp__gallery img {
display: block;
width: 100%;
height: 100%;
max-width: none;
object-fit: cover;
border: 0;
border-radius: 0;
transition: transform .55s var(--ease, ease);
}
.ukgp__card:hover .ukgp__gallery img,
.ukgp__card:focus-within .ukgp__gallery img { transform: scale(1.035); }

/* ── 4. The overlay ─────────────────────────────────────────────────────── */

/* Bottom-weighted, and HEAVIER than the reference design on purpose.
 §15.1 is the precedent: the worst case for text over a photograph is not
 the dark mock-up, it is a near-white image someone uploads later.
 Measured against a pure-white cover, these stops put the smallest text —
 the 11px kicker, which is the one at risk — above 4.5:1. The reference
 site's softer ramp drops it to 1.23:1 on a bright sky.

 If you change these stops, re-measure the kicker. It is the first thing
 that fails and the last thing anyone notices. */
.e-con.ukgp__card::before {
content: "";
position: absolute;
inset: 0;
z-index: 1;
pointer-events: none;
background: linear-gradient(to top,
rgba(12, 12, 12, .55) 0%,
rgba(12, 12, 12, .28) 45%,
rgba(12, 12, 12, .10) 72%,
rgba(12, 12, 12, 0) 100%);
}

/* The text carries its OWN ground, sized to itself.

 This replaced a single card-wide gradient, and the reason is worth
 keeping. Gradient stops are percentages of the CARD, so they only work
 while the text block is the height the design assumed. Paste a project's
 full copy into a blurb — which the cards are meant to allow — and the
 block grows to 86% of the card, putting the title and the first lines in
 the part of the ramp that has almost faded out. Measured against a white
 photograph at that length: category 1.58:1, title 2.62:1, first line
 3.37:1. All three were comfortably over 4.5 at the short length, which is
 exactly how this kind of fault ships.

 A ground that belongs to the text cannot drift out from under it. The
 fade sits in the body's own top padding, above the first line, so it is
 the same whether the blurb is two lines or twenty. Worst case now:
 category 5.18:1, title 16.4:1, blurb 11.4:1. */
.e-con.ukgp__body::before {
content: "";
position: absolute;
inset: 0;
z-index: -1;
pointer-events: none;
background: linear-gradient(to top,
rgba(12, 12, 12, 0.45) 0%,
rgba(12, 12, 12, 0.72) calc(100% - 4.5rem),
rgba(12, 12, 12, 0) 100%)
}

.e-con.ukgp__body {
position: relative;
z-index: 2;
width: 100%;
/* The 4.5rem at the top is not spacing — it is the band the ground fades
 out across, kept above the first line of text. It matches the
 calc(100% - 4.5rem) stop below. */
padding: 4.5rem clamp(1.25rem, 1rem + 1vw, 1.875rem) clamp(1.25rem, 1rem + 1vw, 1.875rem);
}

/* pointer-events:none is load-bearing, not tidying: it is what lets a click
 anywhere on the card fall through to the gallery anchor underneath and
 open Elementor's lightbox without a line of JavaScript.

 It is switched OFF inside the editor, and that is not a nicety. Elementor
 selects a widget by hit-testing a click in the preview iframe, so with
 pointer-events:none the four text widgets on each card cannot be clicked
 — the click lands on the photograph instead and selects the gallery. The
 text would still be reachable through the Navigator, which is not where
 anyone looks. `elementor-editor-active` is on <body> only in the editor,
 so the front end is unchanged. */
body:not(.elementor-editor-active) .e-con.ukgp__body { pointer-events: none; }

.elementor-widget-heading.ukgp__kicker .elementor-heading-title {
font-family: var(--font-body, sans-serif);
font-size: var(--fs-2xs, .6875rem);
font-weight: 700;
line-height: 1.4;
letter-spacing: .13em;
text-transform: uppercase;
color: var(--c-red-on-dark, #F85A61);
}
.e-con .elementor-widget.elementor-widget.ukgp__kicker { margin-block-end: .5rem; }

.elementor-widget-heading.ukgp__title .elementor-heading-title {
font-family: var(--font-display, sans-serif);
font-size: clamp(1.5rem, 1.1rem + 1vw, 1.9375rem);
font-weight: 800;
line-height: 1.18;
letter-spacing: -.02em;
color: #fff;
margin: 0;
}
.e-con .elementor-widget.elementor-widget.ukgp__title { margin-block-end: .625rem; }

.elementor-widget-heading.ukgp__blurb .elementor-heading-title {
/* Was 46ch, which is the comfortable reading measure for a two-line card
 blurb. With the full project copy in it that left 141px of the card
 unused, so the cap is off and the text runs to the padding. Put
 `max-width: 46ch` back if you shorten the copy again. */
max-width: none;
font-family: var(--font-body, sans-serif);
font-size: var(--fs-sm, .875rem);
font-weight: 400;
line-height: 1.5;
letter-spacing: 0;
color: rgba(255, 255, 255, .82);
/* A Heading widget's Title box is a plain textarea, so a blank line typed
 between paragraphs arrives as a real newline. pre-line renders those as
 breaks while still collapsing runs of spaces — which is what makes the
 full project copy readable in a field that has no rich-text editor. */
white-space: pre-line;
}

/* A label, not a link. The real link is the gallery anchor behind it, so a
 Button here would be a second, unreachable control. */
.elementor-widget-heading.ukgp__view .elementor-heading-title {
display: inline-flex;
align-items: center;
gap: .625rem;
font-family: var(--font-body, sans-serif);
font-size: var(--fs-xs, .8125rem);
font-weight: 700;
line-height: 1.65;
letter-spacing: .04em;
color: #fff;
}
.elementor-widget-heading.ukgp__view .elementor-heading-title::after {
content: "\2192";
display: inline-block;
transition: transform var(--t-base, .2s) var(--ease, ease);
}
.ukgp__card:hover .ukgp__view .elementor-heading-title::after { transform: translateX(4px); }
.e-con .elementor-widget.elementor-widget.ukgp__view { margin-block-start: 1.125rem; }

@media (prefers-reduced-motion: reduce) {
.ukgp__card .ukgp__gallery img,
.elementor-widget-heading.ukgp__view .elementor-heading-title::after { transition: none; }
.ukgp__card:hover .ukgp__gallery img { transform: none; }
}

/* ── 5. Elementor's lightbox: two small corrections ─────────────────────── */

/* These rules are SITE-WIDE. Elementor appends its lightbox to <body>, so it
 cannot be scoped to this section — if another page relies on the default
 lightbox, decide before pasting these two blocks. Everything above this
 line is scoped to the project cards and is safe either way. */

/* The reference design puts the counter bottom right; Elementor puts it in
 the header, top left. Three declarations move it, and nothing else in the
 lightbox depends on its position. */
.elementor-lightbox .elementor-slideshow__counter {
/* fixed, not absolute: the counter lives inside .elementor-slideshow__header,
 which is itself pinned to the top of the lightbox, so `absolute` puts it
 top-right rather than bottom-right. Measured both ways. */
position: fixed;
right: 20px;
bottom: 20px;
left: auto;
top: auto;
z-index: 10;
padding: 9px 12px;
border-radius: 6px;
background: rgba(17, 17, 17, .76);
font-family: var(--font-mono, ui-monospace, monospace);
font-size: var(--fs-2xs, .6875rem);
letter-spacing: .08em;
}
@media (max-width: 767px) {
.elementor-lightbox .elementor-slideshow__counter { right: 10px; bottom: 10px; }
}

/* Share, Zoom, Fullscreen, Title and Description are switched off under
 Elementor → Site Settings → Lightbox, NOT here — a setting is better than
 a CSS rule that hides a control which still renders. If the filename shows
 under the image, Title is still on. */
.jp-carousel-overlay {background: rgba(0, 0, 0, 0.9) !important;}

.ukgh__rating {
display: none;
}
.ukgh__trust.e-flex.e-con.e-child {
margin-top: 40px;
}
.e-con.ukgh__titleblock { display: none; }
.e-con.ukgh__blueprint { display: none; }




.postid-2461 figure.media.media--16x10.media--round {
    display: none !important;
}