/*
 * Header (and later footer): the live design from gd-editorial/shell.css, rewritten for the block markup of
 * parts/header.html. Colours, fonts and sizes come from theme.json (token map, plan §3). Icons are masks drawn from
 * assets/icons by the gdb-ic-<name> classes the header part carries.
 */

/* Icons: one class per icon sets the mask; .gdb-ic-after-* for an icon after the text. Panel links carry the
 * block-style form (is-style-gdb-ic-*, picked by name in the editor, see functions.php). */
.gdb-ic-brand-comb { --gdb-ic: url(../icons/brand-comb.svg); }
.gdb-ic-ph-baby, .is-style-gdb-ic-ph-baby { --gdb-ic: url(../icons/ph-baby.svg); }
.gdb-ic-ph-bathtub, .is-style-gdb-ic-ph-bathtub { --gdb-ic: url(../icons/ph-bathtub.svg); }
.gdb-ic-ph-book-open, .is-style-gdb-ic-ph-book-open { --gdb-ic: url(../icons/ph-book-open.svg); }
.gdb-ic-ph-calendar-blank, .is-style-gdb-ic-ph-calendar-blank { --gdb-ic: url(../icons/ph-calendar-blank.svg); }
.gdb-ic-ph-clock, .is-style-gdb-ic-ph-clock { --gdb-ic: url(../icons/ph-clock.svg); }
.gdb-ic-ph-dog, .is-style-gdb-ic-ph-dog { --gdb-ic: url(../icons/ph-dog.svg); }
.gdb-ic-ph-ear, .is-style-gdb-ic-ph-ear { --gdb-ic: url(../icons/ph-ear.svg); }
.gdb-ic-ph-heart, .is-style-gdb-ic-ph-heart { --gdb-ic: url(../icons/ph-heart.svg); }
.gdb-ic-ph-list, .is-style-gdb-ic-ph-list { --gdb-ic: url(../icons/ph-list.svg); }
.gdb-ic-ph-magnifying-glass, .is-style-gdb-ic-ph-magnifying-glass { --gdb-ic: url(../icons/ph-magnifying-glass.svg); }
.gdb-ic-ph-paw-print, .is-style-gdb-ic-ph-paw-print { --gdb-ic: url(../icons/ph-paw-print.svg); }
.gdb-ic-ph-scissors, .is-style-gdb-ic-ph-scissors { --gdb-ic: url(../icons/ph-scissors.svg); }
.gdb-ic-ph-shield-check, .is-style-gdb-ic-ph-shield-check { --gdb-ic: url(../icons/ph-shield-check.svg); }
.gdb-ic-ph-sparkle, .is-style-gdb-ic-ph-sparkle { --gdb-ic: url(../icons/ph-sparkle.svg); }
.gdb-ic-ph-storefront, .is-style-gdb-ic-ph-storefront { --gdb-ic: url(../icons/ph-storefront.svg); }
.gdb-ic-ph-tooth, .is-style-gdb-ic-ph-tooth { --gdb-ic: url(../icons/ph-tooth.svg); }
.gdb-ic-ph-towel, .is-style-gdb-ic-ph-towel { --gdb-ic: url(../icons/ph-towel.svg); }
.gdb-ic-ph-warning, .is-style-gdb-ic-ph-warning { --gdb-ic: url(../icons/ph-warning.svg); }
.gdb-ic-after-ph-caret-down { --gdb-ic-after: url(../icons/ph-caret-down.svg); }

/* Base for the header only (shell.css lines 43-55); doubled class beats the block layout margins. */
.wp-block-template-part.site-header { position: sticky; top: 0; z-index: 50; }
.admin-bar .wp-block-template-part.site-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .wp-block-template-part.site-header { top: 0; } }
.mast.mast { font: 400 var(--wp--custom--chrome--text)/1.6 var(--wp--preset--font-family--source-sans); -webkit-font-smoothing: antialiased; }
.mast.mast, .mast.mast *, .mast.mast *::before, .mast.mast *::after { box-sizing: border-box; }
.mast.mast :where(p, div, nav, ul, li, figure) { margin: 0; }
.mast.mast :where(ul) { list-style: none; padding: 0; }
.mast.mast img { display: block; max-width: 100%; height: auto; border: 0; box-shadow: none; }
.mast.mast button { font: inherit; color: inherit; background: none; border: 0; border-radius: 0; padding: 0; margin: 0; cursor: pointer; text-align: left; text-transform: none; letter-spacing: normal; box-shadow: none; }
.mast.mast a { text-decoration-thickness: 1px; text-underline-offset: 0.2em; }
.mast.mast :focus-visible { outline: 3px solid var(--wp--preset--color--shine); outline-offset: 2px; border-radius: 4px; }
.mast.mast kbd { font: 600 0.8125rem/1 var(--wp--preset--font-family--source-sans); padding: 4px 7px; border-radius: 6px; background: var(--wp--preset--color--surface-soft); color: var(--wp--preset--color--muted); }
.mast.mast [hidden] { display: none !important; }
.mast.mast .wp-block-buttons { display: contents; }
.mast.mast .wp-block-button { display: contents; }
.mast.mast .wp-block-button__link { width: auto; height: auto; word-break: normal; }
.mast.mast .wordmark { display: contents; }
.mast.mast :is(.wordmark a, .wp-block-button__link, .wp-block-navigation-item__content)::before,
.mast.mast .nav-btn > .wp-block-button__link::after { content: ""; flex: none; background: currentColor; -webkit-mask: var(--gdb-ic) center / contain no-repeat; mask: var(--gdb-ic) center / contain no-repeat; }
.mast.mast .nav-btn > .wp-block-button__link::before { content: none; }
.mast.mast .nav-btn > .wp-block-button__link::after { -webkit-mask-image: var(--gdb-ic-after); mask-image: var(--gdb-ic-after); }

/* Bar (shell.css lines 63-70). */
.mast.mast { position: relative; background: var(--wp--preset--color--brand); color: var(--wp--custom--color--on-dark); box-shadow: inset 0 -2px 0 var(--wp--preset--color--shine); }
.mast .mast-in { height: var(--wp--custom--chrome--mast-height); display: flex; align-items: center; gap: var(--wp--preset--spacing--50); max-width: 1200px; margin: 0 auto; padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px)); }
@media (min-width: 900px) { .mast .mast-in { padding-left: 40px; padding-right: 72px; } }
.mast .wordmark a { display: inline-flex; align-items: center; gap: 10px; font: 600 1.2rem/1 var(--wp--preset--font-family--literata); color: var(--wp--custom--color--on-dark); text-decoration: none; white-space: nowrap; }
.mast .wordmark a::before { width: 26px; height: 26px; color: var(--wp--preset--color--shine); }
.mast .nav { margin-left: auto; }
.mast .nav-list { display: flex; gap: 2px; }
.mast .nav-item { position: static; }

/* Menu buttons (shell.css lines 73-79). */
.mast .nav-btn > .wp-block-button__link { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 0 12px; border-radius: 8px; color: var(--wp--custom--color--on-dark); text-decoration: none; font-weight: 600; font-size: 1rem; transition: background-color 160ms ease, color 160ms ease; }
.mast .nav-btn > .wp-block-button__link::after { width: 0.9em; height: 0.9em; transition: transform 200ms var(--wp--custom--chrome--ease-out); }
.mast .nav-btn > [aria-expanded="true"] { color: var(--wp--preset--color--shine); }
.mast .nav-btn > [aria-expanded="true"]::after { transform: rotate(180deg); }
@media (hover: hover) and (pointer: fine) { .mast .nav-btn > .wp-block-button__link:hover { background: var(--wp--custom--color--brand-2); } }
.mast .nav-ind { position: absolute; left: 0; bottom: 10px; height: 2px; width: 0; border-radius: 2px; background: var(--wp--preset--color--shine); opacity: 0; transition: transform 240ms var(--wp--custom--chrome--ease-out), width 240ms var(--wp--custom--chrome--ease-out), opacity 160ms ease; pointer-events: none; }
.mast .nav-ind.on { opacity: 1; }

/* Panels (shell.css lines 81-103). */
.mast .nav-panel { position: absolute; top: 100%; left: 0; right: 0; background: var(--wp--preset--color--surface); color: var(--wp--preset--color--body-text, #2B2420); border-radius: 0 0 20px 20px; box-shadow: 0 30px 60px -30px color-mix(in srgb, var(--wp--preset--color--brand-dark) 55%, transparent); }
.mast .nav-panel.enter { animation: gdb-np-in 200ms var(--wp--custom--chrome--ease-out); }
@keyframes gdb-np-in { from { opacity: 0; transform: translateY(-8px); } }
.mast .np-in { max-width: 1200px; margin: 0 auto; padding: var(--wp--preset--spacing--60) 72px var(--wp--preset--spacing--60) 40px; display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 2fr) minmax(0, 0.9fr); gap: var(--wp--preset--spacing--60); align-items: start; }
.mast .np-intro { display: grid; gap: var(--wp--preset--spacing--20); align-content: start; font-size: var(--wp--preset--font-size--small); color: var(--wp--preset--color--muted); }
.mast .np-h { font: 600 1.5rem/1.1 var(--wp--preset--font-family--literata); color: var(--wp--preset--color--body-text, #2B2420); letter-spacing: -0.01em; }
.mast .nav-hint { padding-top: var(--wp--preset--spacing--20); font-size: var(--wp--preset--font-size--small); color: var(--wp--preset--color--muted); }
/* A panel link added without an icon gets the paw (the li's own icon class overrides it). */
.mast .np-links { --gdb-ic: url(../icons/ph-paw-print.svg); }
.mast .np-links, .mast .np-links .wp-block-navigation__container { display: grid; grid-template-columns: 1fr 1fr; gap: 4px var(--wp--preset--spacing--30); align-items: stretch; }
.mast .np-links { display: block; }
.mast .np-links .wp-block-navigation-item { display: block; }
.mast .nav-panel :is(.wp-block-navigation-item__content, .np-feat) { display: grid; gap: 2px; padding: 10px 12px; border-radius: 10px; text-decoration: none; color: var(--wp--preset--color--body-text, #2B2420); }
.mast .nav-panel .wp-block-navigation-item__content { grid-template-columns: 36px minmax(0, 1fr); column-gap: 12px; align-content: start; }
/* Link icon = a 36px tile (::before) with the 20px glyph over it (::after), like live's svg.ic with 8px padding. */
.mast .np-links .wp-block-navigation-item__content { position: relative; }
.mast.mast .np-links .wp-block-navigation-item__content::before { grid-row: span 2; width: 36px; height: 36px; border-radius: 10px; background: var(--wp--preset--color--surface-soft); -webkit-mask: none; mask: none; transition: background-color 160ms ease; }
.mast.mast .np-links .wp-block-navigation-item__content::after { content: ""; position: absolute; left: 20px; top: 18px; width: 20px; height: 20px; background: var(--wp--preset--color--action); -webkit-mask: var(--gdb-ic) center / contain no-repeat; mask: var(--gdb-ic) center / contain no-repeat; transition: background-color 160ms ease; }
@media (hover: hover) and (pointer: fine) { .mast.mast .np-links .wp-block-navigation-item__content:hover::before { background: var(--wp--preset--color--action); } .mast.mast .np-links .wp-block-navigation-item__content:hover::after { background: var(--wp--preset--color--surface); } }
.mast .np-links .wp-block-navigation-item__label { font: 600 1rem/1.25 var(--wp--preset--font-family--literata); color: var(--wp--preset--color--action); }
.mast .np-links .wp-block-navigation-item__description { display: block; font-size: var(--wp--preset--font-size--small); color: var(--wp--preset--color--muted); line-height: 1.4; }
@media (hover: hover) and (pointer: fine) { .mast .nav-panel :is(.wp-block-navigation-item__content, .np-feat):hover { background: var(--wp--preset--color--surface-soft); } }
.mast .nav-panel :is(.wp-block-navigation-item__content, .np-feat):focus-visible { background: var(--wp--preset--color--surface-soft); outline-offset: -2px; }
.mast .nav-panel .np-feat { gap: 6px; padding: 0; }
.mast .np-feat img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 14px; transition: transform 300ms var(--wp--custom--chrome--ease-out); }
@media (hover: hover) and (pointer: fine) { .mast .nav-panel .np-feat:hover { background: none; } .mast .np-feat:hover img { transform: scale(1.02); } }
.mast .nav-panel .np-feat b { font: 600 1rem/1.25 var(--wp--preset--font-family--literata); color: var(--wp--preset--color--action); }
.mast .nav-panel .np-feat span { font-size: 0.75rem; font-style: italic; color: var(--wp--preset--color--muted); line-height: 1.4; }
.mast.mast::after { content: ""; position: absolute; top: 100%; left: 0; right: 0; height: 100vh; background: var(--wp--custom--color--menu-scrim); opacity: 0; visibility: hidden; transition: opacity 200ms ease, visibility 0s 200ms; pointer-events: none; z-index: -1; }
.mast.mast.menu-on::after { opacity: 1; visibility: visible; transition: opacity 200ms ease; }

/* Search and phone menu buttons (shell.css lines 104-108). */
.mast .mast-search > .wp-block-button__link { display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 0 12px; border-radius: 10px; background: var(--wp--custom--color--brand-2); color: var(--wp--custom--color--on-dark); font-weight: 600; font-size: 1rem; transition: transform 140ms var(--wp--custom--chrome--ease-out); }
.mast .mast-search > .wp-block-button__link::before { width: 1.15em; height: 1.15em; }
.mast .mast-search kbd { background: var(--wp--preset--color--brand); color: color-mix(in srgb, var(--wp--custom--color--on-dark) 75%, transparent); }
.mast .mast-search > .wp-block-button__link:active { transform: scale(0.97); }
.mast .mast-menu > .wp-block-button__link { display: none; width: 44px; height: 44px; border-radius: 10px; color: var(--wp--custom--color--on-dark); align-items: center; justify-content: center; font-size: 0; }
/* Live sizes these icons in em of the header text; the buttons here have font-size 0 (text for screen readers only). */
.mast .mast-menu > .wp-block-button__link::before { width: calc(1.4 * var(--wp--custom--chrome--text)); height: calc(1.4 * var(--wp--custom--chrome--text)); }

/* Homepage on phones: live's home.css (front page only) sets --mast-h: 58px at 760px and below. */
@media (max-width: 760px) { .home .mast { --wp--custom--chrome--mast-height: 58px; } }

/* Phone and tablet (shell.css line 109). */
@media (max-width: 960px) {
	.mast .mast-in { gap: var(--wp--preset--spacing--20); }
	.mast .mast-search > .wp-block-button__link { margin-left: auto; width: 44px; height: 44px; justify-content: center; padding: 0; background: transparent; font-size: 0; gap: 0; }
	.mast .mast-search kbd { display: none; }
	.mast .mast-search > .wp-block-button__link::before { width: 1.35rem; height: 1.35rem; }
	.mast .mast-menu > .wp-block-button__link { display: inline-flex; }
	.mast .nav { position: absolute; top: 100%; left: 0; right: 0; margin: 0; background: var(--wp--preset--color--brand); padding: var(--wp--preset--spacing--20) max(16px, env(safe-area-inset-left, 0px)) var(--wp--preset--spacing--50); max-height: calc(100svh - var(--wp--custom--chrome--mast-height)); overflow-y: auto; display: none; }
	.mast.nav-open .nav { display: block; }
	.mast .nav-list { flex-direction: column; gap: 0; }
	.mast .nav-btn > .wp-block-button__link { width: 100%; justify-content: space-between; }
	.mast .nav-panel { position: static; background: var(--wp--custom--color--brand-2); box-shadow: none; border-radius: var(--wp--custom--radius--card); margin: 4px 0 8px; }
	.mast .np-in { display: block; padding: var(--wp--preset--spacing--20); }
	.mast .np-intro, .mast .np-feat, .mast .nav-ind, .mast.mast::after { display: none !important; }
	.mast .np-links .wp-block-navigation__container { grid-template-columns: 1fr; }
	.mast.mast .np-links .wp-block-navigation-item__content::before { background: color-mix(in srgb, var(--wp--preset--color--surface) 8%, transparent); }
	.mast.mast .np-links .wp-block-navigation-item__content::after { background: var(--wp--preset--color--shine); }
	.mast .np-links .wp-block-navigation-item__label { color: var(--wp--preset--color--shine); }
	.mast .np-links .wp-block-navigation-item__description { color: color-mix(in srgb, var(--wp--custom--color--on-dark) 75%, transparent); }
	.mast .nav-panel .wp-block-navigation-item__content { color: var(--wp--custom--color--on-dark); }
}

/* ---------- Footer (shell.css lines 43-57, 111-147), block markup of parts/footer.html ---------- */
.foot.foot { font: 400 var(--wp--custom--chrome--text)/1.6 var(--wp--preset--font-family--source-sans); -webkit-font-smoothing: antialiased; }
.foot.foot, .foot.foot *, .foot.foot *::before, .foot.foot *::after { box-sizing: border-box; }
.foot.foot :where(h2, h3, p, ul, li, div, nav, figure) { margin: 0; }
.foot.foot :where(ul) { list-style: none; padding: 0; }
.foot.foot :is(h2, h3) { font-family: var(--wp--preset--font-family--literata); font-weight: 600; letter-spacing: -0.015em; text-wrap: balance; }
.foot.foot img { display: block; max-width: 100%; height: auto; border: 0; box-shadow: none; }
.foot.foot button { font: inherit; color: inherit; background: none; border: 0; border-radius: 0; padding: 0; margin: 0; cursor: pointer; text-align: left; text-transform: none; letter-spacing: normal; box-shadow: none; }
.foot.foot a { text-decoration-thickness: 1px; text-underline-offset: 0.2em; }
.foot.foot :focus-visible { outline: 3px solid var(--wp--preset--color--shine); outline-offset: 2px; border-radius: 4px; }
.foot.foot kbd { font: 600 0.8125rem/1 var(--wp--preset--font-family--source-sans); padding: 4px 7px; border-radius: 6px; background: var(--wp--preset--color--surface-soft); color: var(--wp--preset--color--muted); }
.foot.foot .wp-block-buttons, .foot.foot .wp-block-button { display: contents; }
.foot.foot .wp-block-button__link { width: auto; height: auto; word-break: normal; }
.foot.foot :is(.wordmark, .wp-block-button__link)::before { content: ""; flex: none; background: currentColor; -webkit-mask: var(--gdb-ic) center / contain no-repeat; mask: var(--gdb-ic) center / contain no-repeat; }
.foot.foot .wp-block-navigation__container { display: grid; gap: 8px; }
.foot.foot .wp-block-navigation-item, .foot.foot .wp-block-navigation-item__content { display: inline; padding: 0; }

.foot.foot { background: var(--wp--preset--color--brand); color: color-mix(in srgb, var(--wp--custom--color--on-dark) 80%, transparent); padding: var(--wp--preset--spacing--80) 0 var(--wp--preset--spacing--60); font-size: 0.95rem; }
.foot .wrap { width: 100%; max-width: 1200px; margin: 0 auto; padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px)); }
@media (min-width: 900px) { .foot .wrap { padding-left: 40px; padding-right: 72px; } }
.foot.foot a, .foot.foot .wp-block-navigation .wp-block-navigation-item__content { color: color-mix(in srgb, var(--wp--custom--color--on-dark) 85%, transparent); text-decoration: none; }
@media (hover: hover) and (pointer: fine) { .foot.foot a:hover { color: var(--wp--preset--color--shine); } }

/* Band: photo, question, search, chapter chips. */
.foot .foot-band { position: relative; isolation: isolate; overflow: hidden; border-radius: 24px; background: var(--wp--preset--color--night); min-height: 360px; display: grid; align-items: center; justify-items: end; margin-bottom: var(--wp--preset--spacing--80); }
.foot .foot-photo { position: absolute; inset: 0 auto 0 0; z-index: -2; width: 70%; height: 100%; }
.foot .foot-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 30% 40%; filter: sepia(0.3) saturate(0.8) contrast(1.1) brightness(0.8); transform: scale(1.04); transition: transform 1200ms var(--wp--custom--chrome--ease-out); }
.foot .foot-band.seen .foot-photo img { transform: scale(1); }
.foot .foot-band::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(270deg, var(--wp--preset--color--night) 38%, color-mix(in srgb, var(--wp--preset--color--night) 75%, transparent) 55%, color-mix(in srgb, var(--wp--preset--color--night) 10%, transparent) 85%), radial-gradient(50% 70% at 22% 45%, color-mix(in srgb, var(--wp--preset--color--shine) 20%, transparent), transparent 70%); }
.foot .foot-band-in { display: grid; gap: var(--wp--preset--spacing--30); justify-items: start; width: min(480px, 100%); padding: var(--wp--preset--spacing--70) var(--wp--preset--spacing--70) var(--wp--preset--spacing--70) 0; }
.foot .foot-ask { font: 700 clamp(1.75rem, 1.1rem + 2.4vw, 3rem)/1.1 var(--wp--preset--font-family--literata); color: var(--wp--custom--color--on-dark); letter-spacing: -0.025em; max-width: 18ch; }
.foot .foot-sub { color: color-mix(in srgb, var(--wp--custom--color--on-dark) 75%, transparent); }
.foot .foot-credit { position: absolute; left: 16px; bottom: 12px; font-size: 0.75rem; font-style: italic; color: color-mix(in srgb, var(--wp--custom--color--on-dark) 60%, transparent); }
.foot .foot-search > .wp-block-button__link { display: inline-flex; gap: 10px; align-items: center; justify-self: start; min-height: 56px; padding: 0 20px; border-radius: 12px; background: var(--wp--preset--color--shine); color: var(--wp--custom--color--deep); font-weight: 600; font-size: 1.05rem; transition: transform 140ms var(--wp--custom--chrome--ease-out); }
.foot .foot-search > .wp-block-button__link::before { width: 1.15em; height: 1.15em; }
.foot .foot-search > .wp-block-button__link:active { transform: scale(0.97); }
.foot .foot-search kbd { background: color-mix(in srgb, var(--wp--custom--color--deep) 14%, transparent); color: var(--wp--custom--color--deep); }
.foot.foot .foot-ch .wp-block-navigation__container { display: flex; flex-wrap: wrap; gap: 8px; }
.foot.foot .foot-ch .wp-block-navigation-item__content { display: inline-block; padding: 8px 14px; border-radius: 999px; background: var(--gdb-chip); color: var(--wp--custom--color--deep); font-weight: 600; font-size: 0.9rem; transition: transform 140ms var(--wp--custom--chrome--ease-out); }
.foot.foot .foot-ch .wp-block-navigation-item__content:active { transform: scale(0.97); }
@media (hover: hover) and (pointer: fine) { .foot.foot .foot-ch .wp-block-navigation-item__content:hover { color: var(--wp--custom--color--deep); text-decoration: underline; text-underline-offset: 3px; } }
/* A chip added without a colour class gets sage. */
.foot.foot .foot-ch { --gdb-chip: var(--wp--preset--color--sage-bg); }
.foot-chip-sage-bg { --gdb-chip: var(--wp--preset--color--sage-bg); }
.foot-chip-honey-bg { --gdb-chip: var(--wp--custom--color--honey-bg); }
.foot-chip-slate-bg { --gdb-chip: var(--wp--preset--color--slate-bg); }
.foot-chip-heather-bg { --gdb-chip: var(--wp--preset--color--heather-bg); }

/* Grid: brand column and link columns. */
.foot .foot-grid { display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr)); gap: var(--wp--preset--spacing--60); }
.foot .foot-brand { display: grid; gap: var(--wp--preset--spacing--30); align-content: start; }
.foot .foot-brand .wordmark { display: inline-flex; align-items: center; gap: 10px; font: 600 1.15rem/1 var(--wp--preset--font-family--literata); color: var(--wp--custom--color--on-dark); white-space: nowrap; }
.foot .foot-brand .wordmark::before { width: 26px; height: 26px; color: var(--wp--preset--color--shine); }
.foot.foot h2 { font: 700 1.05rem/1.2 var(--wp--preset--font-family--literata); color: var(--wp--custom--color--on-dark); margin-bottom: var(--wp--preset--spacing--40); }
.foot.foot .foot-h2b { margin-top: var(--wp--preset--spacing--50); }

/* Bottom bar. */
/* No margin-top: live's margin-top: var(--s8) on .foot-bar never applied (body.gd-site .foot .wrap { margin: 0 auto } wins). */
.foot .foot-bar { display: flex; flex-wrap: wrap; justify-content: space-between; gap: var(--wp--preset--spacing--30) var(--wp--preset--spacing--50); padding-top: var(--wp--preset--spacing--50); border-top: 1px solid color-mix(in srgb, var(--wp--preset--color--surface) 12%, transparent); font-size: var(--wp--preset--font-size--small); color: color-mix(in srgb, var(--wp--custom--color--on-dark) 65%, transparent); }

@media (max-width: 760px) {
	.foot .foot-band { justify-items: stretch; align-items: end; min-height: 0; padding-top: 200px; }
	.foot .foot-photo { width: 100%; height: 260px; }
	.foot .foot-band::before { background: linear-gradient(0deg, var(--wp--preset--color--night) calc(100% - 260px), color-mix(in srgb, var(--wp--preset--color--night) 50%, transparent) calc(100% - 150px), transparent calc(100% - 40px)); }
	.foot .foot-band-in { padding: var(--wp--preset--spacing--50); }
	.foot .foot-credit { top: 12px; bottom: auto; }
	.foot .foot-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.foot .foot-brand { grid-column: 1 / -1; }
}
