/* Copyright (c) 2026 Web Upp Limited. Licensed under the GPL-2.0-or-later; see LICENSE. */
/*
 * The four parts of the footer (WebUpp Platform Theme 3.23.0):
 * webupp/facts, webupp/socials, webupp/legal-links and webupp/copyright,
 * drawn by their own blocks and by webupp/footer's sections with the same
 * markup. The style handle webupp-parts, enqueued only where one draws.
 * Every colour is a --wu-* slot or the colour around the part (no colour is
 * written here), but from 3.25.0 the networks' own colours, each the
 * fallback of its --wu-socials-brand-<network> slot, and the black, white
 * and Google's white the owners' guidelines ask for; every rule of the
 * 3.23.0 parts is at no more weight than its class.
 */

.wu-site-facts__heading,
.wu-socials__heading {
	margin: 0 0 12px;
	color: var(--wu-parts-heading, inherit);
	font-family: var(--wu-display, inherit);
	font-size: var(--wu-parts-heading-size, 1rem);
	font-weight: 600;
}

.wu-site-facts__list {
	display: grid;
	gap: var(--wu-facts-gap, 8px);
	margin: 0;
}

.wu-site-facts__item {
	display: flex;
	flex-wrap: wrap;
	gap: 0 8px;
}

.wu-site-facts__label {
	color: var(--wu-facts-label, inherit);
	font-weight: 600;
}

.wu-site-facts__label::after {
	content: ":";
}

.wu-site-facts__value {
	margin: 0;
	overflow-wrap: anywhere;
}

.wu-site-facts--inline .wu-site-facts__list {
	display: flex;
	flex-wrap: wrap;
	gap: var(--wu-facts-gap, 8px 24px);
}

.wu-site-facts--bare .wu-site-facts__label {
	position: absolute;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip-path: inset(50%);
	white-space: nowrap;
}

/* From 3.24.0: an icon before each fact (the block's "icons", off by default). */
.wu-site-facts__label--icon {
	display: inline-flex;
	align-self: flex-start;
	align-items: center;
	gap: var(--wu-facts-icon-gap, 8px);
	min-height: 1lh; /* One line high, so the icon sits on the first line's middle. */
}

/* The colon follows the words, not the gap after them. */
.wu-site-facts__label--icon::after {
	content: none;
}

.wu-site-facts__words::after {
	content: ":";
}

.wu-site-facts__icon {
	display: inline-flex;
	flex: none;
	color: var(--wu-facts-icon, currentColor);
}

.wu-site-facts__icon svg {
	width: var(--wu-facts-icon-size, 1.125em);
	height: var(--wu-facts-icon-size, 1.125em);
}

.wu-site-facts--bare .wu-site-facts__label--icon {
	position: static;
	width: auto;
	height: auto;
	overflow: visible;
	clip-path: none;
	white-space: normal;
}

.wu-site-facts--bare .wu-site-facts__label--icon::after {
	content: none;
}

.wu-site-facts--bare .wu-site-facts__words {
	position: absolute;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip-path: inset(50%);
	white-space: nowrap;
}

.wu-socials__list {
	display: flex;
	flex-wrap: wrap;
	gap: var(--wu-socials-gap, 8px);
	margin: 0;
	padding: 0;
	list-style: none;
}

.wu-socials__link {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	color: var(--wu-socials-text, inherit);
}

.wu-socials__link svg {
	flex: none;
	width: 20px;
	height: 20px;
}

.wu-socials--icons .wu-socials__link {
	justify-content: center;
	width: var(--wu-socials-size, 40px);
	height: var(--wu-socials-size, 40px);
	border: 1px solid var(--wu-socials-line, currentColor);
	border-radius: var(--wu-socials-radius, 999px);
}

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

.wu-socials--words .wu-socials__link svg {
	display: none;
}

/*
 * The social styles (3.25.0; docs/blocks/socials.md). Every rule below is on
 * a class the default (the ring in the site's colour) never draws, so a site
 * that sets nothing draws as 3.24.0 did but for the marks themselves.
 *
 * Shapes: `wu-socials--shape-none` (the mark alone), and the filled shapes
 * `wu-socials--filled` with `--shape-circle`, `--shape-rounded` or
 * `--shape-square`: the face in the site's colour, the mark cut out of it in
 * the ground's colour (--wu-socials-knock, the ground it stands on).
 * Colour `wu-socials--brand`: each network's published colour
 * (--wu-socials-brand-<network>; the sources in assets/icons/README.md), X,
 * TikTok, Threads and Instagram black or white against the ground in each
 * scheme (--wu-socials-mono; Instagram's own colour is a gradient Meta
 * publishes only as a picture), Google's G in its own four colours.
 */
.wu-socials--shape-none .wu-socials__link {
	border-color: transparent;
}

.wu-socials--filled {
	--wu-socials-knock-auto: var(--wu-ground);
}

.wu-ground--alt .wu-socials--filled {
	--wu-socials-knock-auto: var(--wu-ground-alt);
}

/* From 4.6.0 (build 31 G36, Platform 5.0.0 ticket section 62 item 7,
   records/b31f-g36-shape-ruling-2026-11-26.txt section 4.3): this rule
   reaches only words whose nearest ground is the inverse one. It does not
   reach an alt block or a light face (sections.css's light-face list) that
   stands inside an inverse ground (an inverse prose part's words), where
   the page's own value is the right one. The second rule is a block on its
   own inverse ground inside such an alt ground or face, three grounds deep.
   Two rules, so the first never falls if a browser drops the second. Each
   weighs what the one rule weighed (the guards sit in :where()).
   From 4.6.0 (G36 part D, records/b31g-g36-shape2-ruling-2026-11-27.txt
   4.4) each face in the list but the alt ground takes
   ":not(.wu-flat-<face> *)". The Platform marks the body with that
   class where the site leaves the face see-through (inc/flat-faces.php),
   so a marked face is not light there and its words keep the inverse
   ground's value. Inside :where(), so no weight.
   The prices card is three members, one per rule that paints it (a
   package, a featured package, the panel), each with its own guard, so a
   card that still paints is not left out beside one that is cleared
   (G36 H71, records/b31h-g36-rulec-2026-11-28.txt section 5). */
.wu-ground--inverse .wu-socials--filled:where(:not(.wu-ground--inverse :is(.wu-ground--alt, .wu-cards__card:not(.wu-flat-cards *), .wu-prices__card:not(.wu-flat-prices *):where(:not(.wu-prices__item--featured *, .wu-prices--panel *)), .wu-prices__card:where(.wu-prices__item--featured *):not(.wu-flat-prices-featured *):where(:not(.wu-prices--panel *)), .wu-prices__card:where(.wu-prices--panel *):not(.wu-flat-prices-panel *), .wu-tile:not(.wu-flat-tile *), .wu-seq__panel:not(.wu-flat-seq *), .wu-cost__panel:not(.wu-flat-cost *), .wu-steps--cards .wu-steps__inner:not(.wu-flat-steps-cards *), .wu-steps__panel:not(.wu-flat-steps-panel *)) *)) {
	--wu-socials-knock-auto: var(--wu-inverse-ground);
}

:where(.wu-ground--inverse :is(.wu-ground--alt, .wu-cards__card:not(.wu-flat-cards *), .wu-prices__card:not(.wu-flat-prices *):where(:not(.wu-prices__item--featured *, .wu-prices--panel *)), .wu-prices__card:where(.wu-prices__item--featured *):not(.wu-flat-prices-featured *):where(:not(.wu-prices--panel *)), .wu-prices__card:where(.wu-prices--panel *):not(.wu-flat-prices-panel *), .wu-tile:not(.wu-flat-tile *), .wu-seq__panel:not(.wu-flat-seq *), .wu-cost__panel:not(.wu-flat-cost *), .wu-steps--cards .wu-steps__inner:not(.wu-flat-steps-cards *), .wu-steps__panel:not(.wu-flat-steps-panel *))) .wu-ground--inverse .wu-socials--filled:where(:not(.wu-ground--inverse :is(.wu-ground--alt, .wu-cards__card:not(.wu-flat-cards *), .wu-prices__card:not(.wu-flat-prices *):where(:not(.wu-prices__item--featured *, .wu-prices--panel *)), .wu-prices__card:where(.wu-prices__item--featured *):not(.wu-flat-prices-featured *):where(:not(.wu-prices--panel *)), .wu-prices__card:where(.wu-prices--panel *):not(.wu-flat-prices-panel *), .wu-tile:not(.wu-flat-tile *), .wu-seq__panel:not(.wu-flat-seq *), .wu-cost__panel:not(.wu-flat-cost *), .wu-steps--cards .wu-steps__inner:not(.wu-flat-steps-cards *), .wu-steps__panel:not(.wu-flat-steps-panel *)) .wu-ground--inverse :is(.wu-ground--alt, .wu-cards__card:not(.wu-flat-cards *), .wu-prices__card:not(.wu-flat-prices *):where(:not(.wu-prices__item--featured *, .wu-prices--panel *)), .wu-prices__card:where(.wu-prices__item--featured *):not(.wu-flat-prices-featured *):where(:not(.wu-prices--panel *)), .wu-prices__card:where(.wu-prices--panel *):not(.wu-flat-prices-panel *), .wu-tile:not(.wu-flat-tile *), .wu-seq__panel:not(.wu-flat-seq *), .wu-cost__panel:not(.wu-flat-cost *), .wu-steps--cards .wu-steps__inner:not(.wu-flat-steps-cards *), .wu-steps__panel:not(.wu-flat-steps-panel *)) *)) {
	--wu-socials-knock-auto: var(--wu-inverse-ground);
}

.wu-site-footer--alt .wu-socials--filled {
	--wu-socials-knock-auto: var(--wu-footer-ground, var(--wu-ground-alt));
}

.wu-site-footer--base .wu-socials--filled {
	--wu-socials-knock-auto: var(--wu-footer-ground, var(--wu-ground));
}

.wu-site-footer--inverse .wu-socials--filled {
	--wu-socials-knock-auto: var(--wu-footer-ground, var(--wu-inverse-ground));
}

/* The ring's 1px edge kept, transparent, so a filled shape is the ring's
   size (the face paints under the edge) and a change of shape never moves
   the layout. From 4.6.0 a shape is read with the icons look only
   (:where() keeps the weight): with words the mark is hidden and the name,
   in the link's own colour, would sit on a face of that same colour. */
.wu-socials--filled:where(.wu-socials--icons) .wu-socials__link {
	border-color: transparent;
	background: var(--wu-socials-face, currentColor);
}

.wu-socials--filled:where(.wu-socials--icons) .wu-socials__link svg {
	color: var(--wu-socials-knock, var(--wu-socials-knock-auto));
}

.wu-socials--shape-circle .wu-socials__link {
	border-radius: 50%;
}

.wu-socials--shape-rounded .wu-socials__link {
	border-radius: var(--wu-socials-rounded, 25%);
}

.wu-socials--shape-square .wu-socials__link {
	border-radius: 0;
}

.wu-socials--brand {
	--wu-socials-mono: light-dark(#000, #fff);
	--wu-socials-mono-knock: light-dark(#fff, #000);
}

/* From 4.6.0 (build 31 G36, Platform 5.0.0 ticket section 62 item 7,
   records/b31f-g36-shape-ruling-2026-11-26.txt section 4.3): the first selector
   reaches only words whose nearest ground is the inverse one. It does not
   reach an alt block or a light face (sections.css's light-face list) that
   stands inside an inverse ground (an inverse prose part's words), where
   the page's own value is the right one. The second rule is a block on its
   own inverse ground inside such an alt ground or face, three grounds deep.
   Two rules, so the first never falls if a browser drops the second. Each
   weighs what the one rule weighed (the guards sit in :where()).
   From 4.6.0 (G36 part D, records/b31g-g36-shape2-ruling-2026-11-27.txt
   4.4) each face in the list but the alt ground takes
   ":not(.wu-flat-<face> *)". The Platform marks the body with that
   class where the site leaves the face see-through (inc/flat-faces.php),
   so a marked face is not light there and its words keep the inverse
   ground's value. Inside :where(), so no weight.
   The prices card is three members, one per rule that paints it (a
   package, a featured package, the panel), each with its own guard, so a
   card that still paints is not left out beside one that is cleared
   (G36 H71, records/b31h-g36-rulec-2026-11-28.txt section 5). */
.wu-ground--inverse .wu-socials--brand:where(:not(.wu-ground--inverse :is(.wu-ground--alt, .wu-cards__card:not(.wu-flat-cards *), .wu-prices__card:not(.wu-flat-prices *):where(:not(.wu-prices__item--featured *, .wu-prices--panel *)), .wu-prices__card:where(.wu-prices__item--featured *):not(.wu-flat-prices-featured *):where(:not(.wu-prices--panel *)), .wu-prices__card:where(.wu-prices--panel *):not(.wu-flat-prices-panel *), .wu-tile:not(.wu-flat-tile *), .wu-seq__panel:not(.wu-flat-seq *), .wu-cost__panel:not(.wu-flat-cost *), .wu-steps--cards .wu-steps__inner:not(.wu-flat-steps-cards *), .wu-steps__panel:not(.wu-flat-steps-panel *)) *)),
.wu-site-footer--inverse .wu-socials--brand {
	--wu-socials-mono: light-dark(#fff, #000);
	--wu-socials-mono-knock: light-dark(#000, #fff);
}

:where(.wu-ground--inverse :is(.wu-ground--alt, .wu-cards__card:not(.wu-flat-cards *), .wu-prices__card:not(.wu-flat-prices *):where(:not(.wu-prices__item--featured *, .wu-prices--panel *)), .wu-prices__card:where(.wu-prices__item--featured *):not(.wu-flat-prices-featured *):where(:not(.wu-prices--panel *)), .wu-prices__card:where(.wu-prices--panel *):not(.wu-flat-prices-panel *), .wu-tile:not(.wu-flat-tile *), .wu-seq__panel:not(.wu-flat-seq *), .wu-cost__panel:not(.wu-flat-cost *), .wu-steps--cards .wu-steps__inner:not(.wu-flat-steps-cards *), .wu-steps__panel:not(.wu-flat-steps-panel *))) .wu-ground--inverse .wu-socials--brand:where(:not(.wu-ground--inverse :is(.wu-ground--alt, .wu-cards__card:not(.wu-flat-cards *), .wu-prices__card:not(.wu-flat-prices *):where(:not(.wu-prices__item--featured *, .wu-prices--panel *)), .wu-prices__card:where(.wu-prices__item--featured *):not(.wu-flat-prices-featured *):where(:not(.wu-prices--panel *)), .wu-prices__card:where(.wu-prices--panel *):not(.wu-flat-prices-panel *), .wu-tile:not(.wu-flat-tile *), .wu-seq__panel:not(.wu-flat-seq *), .wu-cost__panel:not(.wu-flat-cost *), .wu-steps--cards .wu-steps__inner:not(.wu-flat-steps-cards *), .wu-steps__panel:not(.wu-flat-steps-panel *)) .wu-ground--inverse :is(.wu-ground--alt, .wu-cards__card:not(.wu-flat-cards *), .wu-prices__card:not(.wu-flat-prices *):where(:not(.wu-prices__item--featured *, .wu-prices--panel *)), .wu-prices__card:where(.wu-prices__item--featured *):not(.wu-flat-prices-featured *):where(:not(.wu-prices--panel *)), .wu-prices__card:where(.wu-prices--panel *):not(.wu-flat-prices-panel *), .wu-tile:not(.wu-flat-tile *), .wu-seq__panel:not(.wu-flat-seq *), .wu-cost__panel:not(.wu-flat-cost *), .wu-steps--cards .wu-steps__inner:not(.wu-flat-steps-cards *), .wu-steps__panel:not(.wu-flat-steps-panel *)) *)) {
	--wu-socials-mono: light-dark(#fff, #000);
	--wu-socials-mono-knock: light-dark(#000, #fff);
}

.wu-socials--brand .wu-socials__link--facebook {
	--wu-socials-brand: var(--wu-socials-brand-facebook, #0866ff);
}

.wu-socials--brand .wu-socials__link--linkedin {
	--wu-socials-brand: var(--wu-socials-brand-linkedin, #0a66c2);
}

.wu-socials--brand .wu-socials__link--youtube {
	--wu-socials-brand: var(--wu-socials-brand-youtube, #ff0033);
}

.wu-socials--brand .wu-socials__link--pinterest {
	--wu-socials-brand: var(--wu-socials-brand-pinterest, #e60023);
}

.wu-socials--brand .wu-socials__link--bluesky {
	--wu-socials-brand: var(--wu-socials-brand-bluesky, #0560ff);
}

.wu-socials--brand .wu-socials__link--whatsapp {
	--wu-socials-brand: var(--wu-socials-brand-whatsapp, #25d366);
}

.wu-socials--brand .wu-socials__link--x,
.wu-socials--brand .wu-socials__link--tiktok,
.wu-socials--brand .wu-socials__link--threads,
.wu-socials--brand .wu-socials__link--instagram {
	--wu-socials-brand: var(--wu-socials-mono);
	--wu-socials-brand-mark: var(--wu-socials-mono-knock);
}

/* The mark (and the ring) in the network's colour. */
.wu-socials--brand:not(.wu-socials--filled) .wu-socials__link {
	color: var(--wu-socials-brand, var(--wu-socials-text, inherit));
}

/* The marks whose inner shape is white in the owner's own logo (Facebook's
   'f', LinkedIn's "in", Pinterest's P, YouTube's triangle) keep it white
   on any ground, not the ground showing through. */
.wu-socials--brand:not(.wu-socials--filled) :is(.wu-socials__link--facebook, .wu-socials__link--pinterest) svg {
	border-radius: 50%;
	background: radial-gradient(closest-side, #fff 86%, transparent 87%);
}

.wu-socials--brand:not(.wu-socials--filled) .wu-socials__link--linkedin svg {
	background: linear-gradient(#fff, #fff) center / 64% 64% no-repeat;
}

.wu-socials--brand:not(.wu-socials--filled) .wu-socials__link--youtube svg {
	background: radial-gradient(closest-side, #fff 40%, transparent 41%);
}

/* From 4.6.0 a shape is read with the icons look only: with words on a
   filled shape each name takes the network's colour, as with no shape. */
.wu-socials--brand.wu-socials--filled:where(.wu-socials--words) .wu-socials__link {
	color: var(--wu-socials-brand, var(--wu-socials-text, inherit));
}

/* On a filled shape the face is the network's colour and the mark white
   (black or white, opposite the face, for X, TikTok, Threads and
   Instagram). */
.wu-socials--brand.wu-socials--filled:where(.wu-socials--icons) :is(.wu-socials__link--facebook, .wu-socials__link--linkedin, .wu-socials__link--youtube, .wu-socials__link--pinterest, .wu-socials__link--bluesky, .wu-socials__link--whatsapp, .wu-socials__link--x, .wu-socials__link--tiktok, .wu-socials__link--threads, .wu-socials__link--instagram) {
	background: var(--wu-socials-brand);
}

.wu-socials--brand.wu-socials--filled:where(.wu-socials--icons) :is(.wu-socials__link--facebook, .wu-socials__link--linkedin, .wu-socials__link--youtube, .wu-socials__link--pinterest, .wu-socials__link--bluesky, .wu-socials__link--whatsapp, .wu-socials__link--x, .wu-socials__link--tiktok, .wu-socials__link--threads, .wu-socials__link--instagram) svg {
	color: var(--wu-socials-brand-mark, #fff);
}

/* Google's G stands on white, as Google asks, edged so a white face shows
   on a white ground. */
.wu-socials--brand.wu-socials--filled:where(.wu-socials--icons) .wu-socials__link--google_business {
	box-shadow: inset 0 0 0 1px var(--wu-socials-line, var(--wu-line, currentColor));
	background: #fff;
}

.wu-legal-links__list {
	display: flex;
	flex-wrap: wrap;
	gap: var(--wu-legal-gap, 8px 20px);
	margin: 0;
	padding: 0;
	list-style: none;
}

.wu-copyright {
	margin: 0;
}
