/*
 * Site Footer V5 - structure and default look, shared by every footer on the page.
 *
 * Each instance's settings arrive as --sfv5-* custom properties that default/view.php sets on
 * #<id>, together with the rules that depend on the instance's breakpoints (which layout shows, how
 * many columns sit side by side). A property nobody set falls back to the design tokens - by default
 * the brand's dark band, which the token sheet describes as "the footer and bold feature bands" - and
 * every token fallback here is the token sheet's own default (scripts/verify-cms-tokens.php compares
 * them).
 *
 * Storefront themes style bare footer, a, h2, ul, p and img, so every rule is prefixed with
 * .sfv5-scope, which outranks them. Two !important uses, both defences, as in Site Header V5: the
 * focus ring (themes ship "*:focus {outline: none !important}") and [hidden]. Separation is borders
 * and backgrounds only - no shadows.
 *
 * Custom properties the view may set (a blank setting is simply not set):
 *   band      --sfv5-bg  --sfv5-text  --sfv5-soft  --sfv5-font-size  --sfv5-line-height  --sfv5-pad-y
 *             --sfv5-pad-top  --sfv5-pad-bottom (each falls back to --sfv5-pad-y)  --sfv5-pad-x
 *   columns   --sfv5-col-gap (the view swaps in --sfv5-col-gap-tablet / -mobile)  --sfv5-col-item-gap
 *             --sfv5-text-max
 *   headings  --sfv5-heading  --sfv5-heading-size  --sfv5-heading-weight  --sfv5-heading-transform
 *             --sfv5-heading-tracking  --sfv5-heading-line-height  --sfv5-heading-gap
 *   links     --sfv5-link  --sfv5-link-hover  --sfv5-link-size  --sfv5-link-gap
 *   bars      --sfv5-top-bg  --sfv5-top-text  --sfv5-bottom-bg  --sfv5-bottom-text  --sfv5-bottom-size
 *             --sfv5-bottom-link-gap  --sfv5-bar-pad-y  --sfv5-divider
 *   promo bar --sfv5-promo-bg  --sfv5-promo-text  --sfv5-promo-pad-y  --sfv5-promo-gap  --sfv5-promo-picture-h
 *   logo      --sfv5-logo-h  --sfv5-logo-h-mobile (swapped in by the view's phone rule)
 *             --sfv5-logo-text-size  --sfv5-logo-text-weight
 *   pictures  --sfv5-picture-h
 *   icons     --sfv5-icon-size
 *   payments  --sfv5-pay-size  --sfv5-pay-gap
 *   always    --sfv5-content-width
 *
 * THEME VARIABLES. Every property above reaches this sheet by inheritance, so a theme may set any of
 * them on :root (in its wrapper template's stylesheet) and every footer inside that template takes it,
 * unless the footer's own setting says otherwise. The properties below have NO setting: they are the
 * theme's alone, and each one's fallback is what the footer drew before it existed.
 *   social    --sfv5-social-gap (4px)  --sfv5-social-offset (-10px: the first icon's glyph lines up with
 *             the column; 0 when the links have a border)  --sfv5-social-size (44px, never less)
 *             --sfv5-social-border-w (0)  --sfv5-social-border (the text colour)  --sfv5-social-radius (0)
 *   contact   --sfv5-contact-gap (8px between lines)  --sfv5-contact-icon-gap (8px)
 *             --sfv5-contact-icon-size (1.15em)  --sfv5-contact-size (the links' size)
 *             --sfv5-contact-phone-order  --sfv5-contact-email-order (0: phone, then e-mail)
 *   bars      --sfv5-zone-gap (10px 20px between a bar's parts)  --sfv5-bottom-line-height (inherited)
 *             --sfv5-bar-direction (row)  --sfv5-bar-align (center)  --sfv5-bar-gap (12px 24px): a bar's
 *             left / centre / right parts side by side, or - "column" and "flex-start" - one under the
 *             other from the left, as a theme may want on phones (set inside its own media query)
 *   folds     --sfv5-fold-height (48px, never less than 44px)  --sfv5-fold-line-w (1px)  --sfv5-fold-gap (0):
 *             a folded column's heading row on phones, the line under it and the space after it
 * The view itself turns a few settings into rules of the instance, only when they are set: the font
 * (--sfv5-font), the logo words' letter spacing and the payment colour, which have no rule here so a
 * footer without them keeps what the theme gives it; the column widths (--sfv5-col-widths) and the
 * bottom bar's widths (--sfv5-bottom-widths), which apply only to as many columns or parts as they name;
 * and the look of a newsletter sign-up (--sfv5-signup-*): the footer's own sign-up is drawn below until
 * one is set, a form shown in a widget slot is the slot's widget's own until one is set.
 */

/* ------------------------------------------------------------------------------ resets */

.sfv5-scope,
.sfv5-scope *,
.sfv5-scope *::before,
.sfv5-scope *::after {
    box-sizing: border-box;
}

/* Themes animate every link and image ("transition: all"), which would drag out every change here. */
.sfv5-scope a,
.sfv5-scope img,
.sfv5-scope span,
.sfv5-scope svg,
.sfv5-scope summary {
    transition: none;
}

/* Our own display rules must never show something the markup hides. */
.sfv5-scope [hidden] {
    display: none !important;
}

/* A widget slot's content waits in a <template> (older browsers do not hide one themselves). */
.sfv5-scope template {
    display: none;
}

.sfv5-scope .sfv5-list {
    margin: 0;
    padding: 0;
    list-style: none;
}

.sfv5-scope .sfv5-sr {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    padding: 0;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.sfv5-scope a:focus-visible,
.sfv5-scope summary:focus-visible,
.sfv5-scope [tabindex]:focus-visible {
    outline: 2px solid currentColor !important;
    outline-offset: 2px !important;
}

/* ------------------------------------------------------------------------------ the footer */

.sfv5-scope.sfv5 {
    display: block;
    width: 100%;
    margin: 0;
    padding: 0;
    border: 0;
    background: var(--sfv5-bg, var(--cms-deep, #212529));
    color: var(--sfv5-text, var(--cms-deep-text, #f8f9fa));
    font-size: var(--sfv5-font-size, var(--cms-font-size-sm, 0.875rem));
    line-height: var(--sfv5-line-height, 1.6);
    text-align: left;
}

.sfv5-scope .sfv5-layout {
    display: block;
}

/* Every row lines its contents up with the page (or the screen edges: --sfv5-content-width none). */
.sfv5-scope .sfv5-bar__inner,
.sfv5-scope .sfv5-cols__inner {
    width: 100%;
    max-width: var(--sfv5-content-width, var(--cms-wrap, 1140px));
    margin: 0 auto;
    padding-right: var(--sfv5-pad-x, 16px);
    padding-left: var(--sfv5-pad-x, 16px);
}

/* ------------------------------------------------------------------------------ columns */

.sfv5-scope .sfv5-cols {
    padding: var(--sfv5-pad-top, var(--sfv5-pad-y, 48px)) 0 var(--sfv5-pad-bottom, var(--sfv5-pad-y, 48px));
}

/* The view sets the tracks per screen size; this is only what a browser without the rule shows. */
.sfv5-scope .sfv5-cols__inner {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: var(--sfv5-col-gap, 32px);
    align-items: start;
}

.sfv5-scope .sfv5-col {
    display: flex;
    flex-direction: column;
    gap: var(--sfv5-col-item-gap, 16px);
    min-width: 0;
}

/* A single column between centred bars lines up in the middle (the "Centred" preset; phones). */
.sfv5-scope .sfv5-cols--single .sfv5-col {
    align-items: center;
    text-align: center;
}

.sfv5-scope .sfv5-cols--single .sfv5-social,
.sfv5-scope .sfv5-cols--single .sfv5-payments,
.sfv5-scope .sfv5-cols--single .sfv5-contact__line {
    justify-content: center;
}

/* ------------------------------------------------------------------------------ bars */

.sfv5-scope .sfv5-bar {
    padding: var(--sfv5-bar-pad-y, 18px) 0;
}

.sfv5-scope .sfv5-bar--top {
    background: var(--sfv5-top-bg, transparent);
    color: var(--sfv5-top-text, inherit);
}

.sfv5-scope .sfv5-bar--bottom {
    background: var(--sfv5-bottom-bg, transparent);
    color: var(--sfv5-bottom-text, var(--sfv5-soft, var(--cms-deep-soft, #adb5bd)));
    font-size: var(--sfv5-bottom-size, 0.929em);
    line-height: var(--sfv5-bottom-line-height, inherit);
}

/* A faint line between the parts of the footer, in the text colour unless one is chosen. */
.sfv5-scope .sfv5-bar--top + .sfv5-cols,
.sfv5-scope .sfv5-bar--top + .sfv5-bar--bottom,
.sfv5-scope .sfv5-cols + .sfv5-bar--bottom,
.sfv5-scope .sfv5-bar--top + .sfv5-bar--promo,
.sfv5-scope .sfv5-cols + .sfv5-bar--promo,
.sfv5-scope .sfv5-bar--promo + .sfv5-bar--bottom {
    border-top: 1px solid rgba(127, 127, 127, 0.35);
    border-top: 1px solid var(--sfv5-divider, color-mix(in srgb, currentColor 18%, transparent));
}

/*
 * "Only as wide as the contents": the same line, drawn at the top of the part's contents instead of
 * across the band. The part's own space above moves inside its contents, with the line's own pixel
 * (the border it was), so everything stays where it was and only the line gets shorter, stopping
 * where the contents stop.
 */
.sfv5-scope.sfv5--divider-content .sfv5-bar--top + .sfv5-cols,
.sfv5-scope.sfv5--divider-content .sfv5-bar--top + .sfv5-bar--bottom,
.sfv5-scope.sfv5--divider-content .sfv5-cols + .sfv5-bar--bottom,
.sfv5-scope.sfv5--divider-content .sfv5-bar--top + .sfv5-bar--promo,
.sfv5-scope.sfv5--divider-content .sfv5-cols + .sfv5-bar--promo,
.sfv5-scope.sfv5--divider-content .sfv5-bar--promo + .sfv5-bar--bottom {
    border-top: 0;
    padding-top: 0;
}

.sfv5-scope.sfv5--divider-content .sfv5-bar--top + .sfv5-cols > .sfv5-cols__inner {
    padding-top: calc(var(--sfv5-pad-top, var(--sfv5-pad-y, 48px)) + 1px);
}

.sfv5-scope.sfv5--divider-content .sfv5-bar--top + .sfv5-bar--bottom > .sfv5-bar__inner,
.sfv5-scope.sfv5--divider-content .sfv5-cols + .sfv5-bar--bottom > .sfv5-bar__inner,
.sfv5-scope.sfv5--divider-content .sfv5-bar--promo + .sfv5-bar--bottom > .sfv5-bar__inner {
    padding-top: calc(var(--sfv5-bar-pad-y, 18px) + 1px);
}

.sfv5-scope.sfv5--divider-content .sfv5-bar--top + .sfv5-bar--promo > .sfv5-bar__inner,
.sfv5-scope.sfv5--divider-content .sfv5-cols + .sfv5-bar--promo > .sfv5-bar__inner {
    padding-top: calc(var(--sfv5-promo-pad-y, 24px) + 1px);
}

.sfv5-scope.sfv5--divider-content .sfv5-bar--top + .sfv5-cols > .sfv5-cols__inner,
.sfv5-scope.sfv5--divider-content .sfv5-bar--top + .sfv5-bar--bottom > .sfv5-bar__inner,
.sfv5-scope.sfv5--divider-content .sfv5-cols + .sfv5-bar--bottom > .sfv5-bar__inner,
.sfv5-scope.sfv5--divider-content .sfv5-bar--top + .sfv5-bar--promo > .sfv5-bar__inner,
.sfv5-scope.sfv5--divider-content .sfv5-cols + .sfv5-bar--promo > .sfv5-bar__inner,
.sfv5-scope.sfv5--divider-content .sfv5-bar--promo + .sfv5-bar--bottom > .sfv5-bar__inner {
    position: relative;
}

.sfv5-scope.sfv5--divider-content .sfv5-bar--top + .sfv5-cols > .sfv5-cols__inner::before,
.sfv5-scope.sfv5--divider-content .sfv5-bar--top + .sfv5-bar--bottom > .sfv5-bar__inner::before,
.sfv5-scope.sfv5--divider-content .sfv5-cols + .sfv5-bar--bottom > .sfv5-bar__inner::before,
.sfv5-scope.sfv5--divider-content .sfv5-bar--top + .sfv5-bar--promo > .sfv5-bar__inner::before,
.sfv5-scope.sfv5--divider-content .sfv5-cols + .sfv5-bar--promo > .sfv5-bar__inner::before,
.sfv5-scope.sfv5--divider-content .sfv5-bar--promo + .sfv5-bar--bottom > .sfv5-bar__inner::before {
    content: "";
    position: absolute;
    top: 0;
    right: var(--sfv5-pad-x, 16px);
    left: var(--sfv5-pad-x, 16px);
    border-top: 1px solid rgba(127, 127, 127, 0.35);
    border-top: 1px solid var(--sfv5-divider, color-mix(in srgb, currentColor 18%, transparent));
}

.sfv5-scope .sfv5-bar__inner {
    display: flex;
    flex-direction: var(--sfv5-bar-direction, row);
    flex-wrap: wrap;
    align-items: var(--sfv5-bar-align, center);
    justify-content: space-between;
    gap: var(--sfv5-bar-gap, 12px 24px);
}

.sfv5-scope .sfv5-bar--balanced .sfv5-bar__inner {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
}

/* The columns lined up along their middles (columnsAlign): a logo and its words beside a row of links. */
.sfv5-scope.sfv5--cols-center .sfv5-cols__inner {
    align-items: center;
}

/* The bottom bar's parts lined up along their tops (bottomAlign), as a footer of floated columns has them - side by side
   only: a bar stacking its parts one under another keeps them in the middle. */
.sfv5-scope.sfv5--bottom-start .sfv5-bar--bottom:not(.sfv5-bar--stack) .sfv5-bar__inner,
.sfv5-scope.sfv5--bottom-start .sfv5-bar--bottom:not(.sfv5-bar--stack) .sfv5-zone {
    align-items: flex-start;
}

/* A bar with only centre items stacks them, one under the other, in the middle. */
/* A stacked bar (a phone): centred, each thing on a line of its own - unless the theme says where its lines start
   (--sfv5-stack-justify, --sfv5-stack-align) and that a zone's things stay side by side (--sfv5-stack-zone-direction: row). */
.sfv5-scope .sfv5-bar--stack .sfv5-bar__inner {
    justify-content: var(--sfv5-stack-justify, center);
    align-items: var(--sfv5-stack-items, normal);
    text-align: var(--sfv5-stack-align, center);
}

.sfv5-scope .sfv5-zone {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: var(--sfv5-zone-gap, 10px 20px);
    min-width: 0;
}

.sfv5-scope .sfv5-zone--center {
    justify-content: center;
}

.sfv5-scope .sfv5-zone--right {
    justify-content: flex-end;
}

.sfv5-scope .sfv5-bar--stack .sfv5-zone {
    flex-direction: var(--sfv5-stack-zone-direction, column);
    gap: var(--sfv5-stack-zone-gap, 12px);
}

/*
 * The promo bar, between the columns and the bottom bar: a picture, words and a button side by side - its centre items in a
 * row (not stacked as the other bars stack theirs), in the middle unless promoAlign puts them at a side - wrapping on a narrow
 * screen. Its own band, words, room and picture height; a text's heading shows over its words.
 */
.sfv5-scope .sfv5-bar--promo {
    padding: var(--sfv5-promo-pad-y, 24px) 0;
    background: var(--sfv5-promo-bg, transparent);
    color: var(--sfv5-promo-text, inherit);
}

.sfv5-scope .sfv5-bar--promo .sfv5-bar__inner,
.sfv5-scope .sfv5-bar--promo .sfv5-zone {
    gap: var(--sfv5-promo-gap, 24px);
}

.sfv5-scope .sfv5-bar--promo.sfv5-bar--stack .sfv5-zone {
    flex-direction: row;
}

.sfv5-scope .sfv5-bar--promo.sfv5-bar--align-start.sfv5-bar--stack .sfv5-bar__inner,
.sfv5-scope .sfv5-bar--promo.sfv5-bar--align-start .sfv5-zone--center {
    justify-content: flex-start;
    text-align: left;
}

.sfv5-scope .sfv5-bar--promo.sfv5-bar--align-end.sfv5-bar--stack .sfv5-bar__inner,
.sfv5-scope .sfv5-bar--promo.sfv5-bar--align-end .sfv5-zone--center {
    justify-content: flex-end;
    text-align: right;
}

.sfv5-scope .sfv5-bar--promo .sfv5-heading {
    margin-bottom: 4px;
}

.sfv5-scope .sfv5-bar--promo .sfv5-text {
    color: var(--sfv5-promo-text, var(--sfv5-soft, var(--cms-deep-soft, #adb5bd)));
}

.sfv5-scope .sfv5-bar--promo .sfv5-picture__img {
    height: var(--sfv5-promo-picture-h, auto);
    max-height: var(--sfv5-promo-picture-h, 160px);
}

.sfv5-scope .sfv5-bar--promo .sfv5-picture__img--svg {
    height: var(--sfv5-promo-picture-h, 80px);
}

/* ------------------------------------------------------------------------------ elements */

.sfv5-scope .sfv5-el {
    min-width: 0;
    max-width: 100%;
}

.sfv5-scope .sfv5-heading {
    margin: 0 0 var(--sfv5-heading-gap, 12px);
    padding: 0;
    border: 0;
    color: var(--sfv5-heading, inherit);
    font-family: inherit;
    font-size: var(--sfv5-heading-size, 1em);
    font-weight: var(--sfv5-heading-weight, 700);
    letter-spacing: var(--sfv5-heading-tracking, normal);
    line-height: var(--sfv5-heading-line-height, 1.3);
    text-transform: var(--sfv5-heading-transform, none);
}

.sfv5-scope .sfv5-text,
.sfv5-scope .sfv5-copyright {
    margin: 0;
}

.sfv5-scope .sfv5-text {
    max-width: var(--sfv5-text-max, 42ch);
    color: var(--sfv5-soft, var(--cms-deep-soft, #adb5bd));
}

.sfv5-scope .sfv5-cols--single .sfv5-text {
    margin: 0 auto;
}

.sfv5-scope .sfv5-links {
    display: grid;
    gap: var(--sfv5-link-gap, 8px);
}

.sfv5-scope .sfv5-links--row {
    display: flex;
    flex-wrap: wrap;
    gap: 6px 18px;
}

.sfv5-scope .sfv5-bar--bottom .sfv5-links--row {
    column-gap: var(--sfv5-bottom-link-gap, 18px);
}

.sfv5-scope .sfv5-bar--stack .sfv5-links--row,
.sfv5-scope .sfv5-zone--center .sfv5-links--row,
.sfv5-scope .sfv5-zone--center .sfv5-payments,
.sfv5-scope .sfv5-zone--center .sfv5-social {
    justify-content: center;
}

.sfv5-scope a.sfv5-link {
    color: var(--sfv5-link, var(--sfv5-soft, var(--cms-deep-soft, #adb5bd)));
    font-size: var(--sfv5-link-size, inherit);
    text-decoration: none;
}

.sfv5-scope .sfv5-bar a.sfv5-link {
    color: var(--sfv5-link, inherit);
}

.sfv5-scope a.sfv5-link:hover {
    color: var(--sfv5-link-hover, var(--sfv5-text, var(--cms-deep-text, #f8f9fa)));
    text-decoration: underline;
}

/* The logo at its own size unless a height is set (never wider than its column); an SVG has no size
   of its own, so it is drawn 40px tall. A logo switched to no link is the same, not a link. */
.sfv5-scope a.sfv5-logo,
.sfv5-scope span.sfv5-logo {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    max-width: 100%;
    /* On the line's top, not its baseline: a logo taller than the line adds no gap below it. */
    vertical-align: top;
    color: inherit;
    text-decoration: none;
}

.sfv5-scope .sfv5-logo__img {
    display: block;
    width: auto;
    max-width: 100%;
    height: var(--sfv5-logo-h, auto);
    margin: 0;
    border: 0;
}

.sfv5-scope .sfv5-logo__img--svg {
    height: var(--sfv5-logo-h, 40px);
}

.sfv5-scope .sfv5-logo__text {
    font-size: var(--sfv5-logo-text-size, 1.5em);
    font-weight: var(--sfv5-logo-text-weight, 700);
    line-height: 1.2;
    overflow-wrap: anywhere;
}

.sfv5-scope .sfv5-contact {
    display: grid;
    gap: var(--sfv5-contact-gap, 8px);
    margin: 0;
    font-style: normal;
}

.sfv5-scope .sfv5-contact__line {
    display: flex;
    align-items: flex-start;
    gap: var(--sfv5-contact-icon-gap, 8px);
    margin: 0;
    color: var(--sfv5-soft, var(--cms-deep-soft, #adb5bd));
}

/* The phone and the e-mail in the theme's order (a grid item's order; the address stays first, directions last). */
.sfv5-scope .sfv5-contact__phone {
    order: var(--sfv5-contact-phone-order, 0);
}

.sfv5-scope .sfv5-contact__email {
    order: var(--sfv5-contact-email-order, 0);
}

.sfv5-scope .sfv5-contact__directions {
    order: 1;
}

.sfv5-scope .sfv5-contact__line a.sfv5-link {
    font-size: var(--sfv5-contact-size, var(--sfv5-link-size, inherit));
}

.sfv5-scope .sfv5-contact__line .shv5-icon {
    flex: 0 0 auto;
    width: var(--sfv5-contact-icon-size, 1.15em);
    height: var(--sfv5-contact-icon-size, 1.15em);
    margin-top: 0.25em;
}

.sfv5-scope .sfv5-social {
    display: flex;
    flex-wrap: wrap;
    gap: var(--sfv5-social-gap, 4px);
    margin-left: var(--sfv5-social-offset, -10px);
}

.sfv5-scope .sfv5-cols--single .sfv5-social,
.sfv5-scope .sfv5-bar .sfv5-social {
    margin-left: 0;
}

/* Icons stay easy to tap: the link is at least 44px square whatever the icon's size. */
.sfv5-scope a.sfv5-social__link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: max(44px, var(--sfv5-social-size, 44px));
    min-height: max(44px, var(--sfv5-social-size, 44px));
    border: var(--sfv5-social-border-w, 0) solid var(--sfv5-social-border, currentColor);
    border-radius: var(--sfv5-social-radius, 0);
    color: inherit;
    text-decoration: none;
}

.sfv5-scope a.sfv5-social__link:hover {
    color: var(--sfv5-link-hover, var(--sfv5-text, var(--cms-deep-text, #f8f9fa)));
}

.sfv5-scope .sfv5-social .shv5-icon {
    width: var(--sfv5-icon-size, 20px);
    height: var(--sfv5-icon-size, 20px);
}

.sfv5-scope a.sfv5-phone {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: inherit;
    text-decoration: none;
}

.sfv5-scope a.sfv5-phone .shv5-icon {
    width: 1.15em;
    height: 1.15em;
}

.sfv5-scope a.sfv5-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 0 18px;
    border: 1px solid transparent;
    border-radius: var(--cms-radius-sm, 6px);
    font-weight: 600;
    line-height: 1.2;
    text-decoration: none;
}

.sfv5-scope a.sfv5-button--solid {
    background: var(--sfv5-text, var(--cms-deep-text, #f8f9fa));
    color: var(--sfv5-bg, var(--cms-deep, #212529));
}

.sfv5-scope a.sfv5-button--outline {
    border-color: currentColor;
    background: transparent;
    color: inherit;
}

.sfv5-scope a.sfv5-button--text {
    min-height: 0;
    padding: 0;
    color: inherit;
    text-decoration: underline;
}

/* A picture with words before it (a builder's badge): at its own size unless a height is set. */
.sfv5-scope a.sfv5-picture,
.sfv5-scope span.sfv5-picture {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    max-width: 100%;
    color: inherit;
    text-decoration: none;
}

.sfv5-scope .sfv5-picture__img {
    display: block;
    width: auto;
    max-width: 100%;
    height: var(--sfv5-picture-h, auto);
    margin: 0;
    border: 0;
}

.sfv5-scope .sfv5-picture__img--svg {
    height: var(--sfv5-picture-h, 40px);
}

/* A picture lined up in its column (picture.align) - in a column beside others: one on its own in the middle keeps it there. */
.sfv5-scope .sfv5-cols:not(.sfv5-cols--single) .sfv5-el--align-left {
    text-align: left;
}

.sfv5-scope .sfv5-cols:not(.sfv5-cols--single) .sfv5-el--align-center {
    text-align: center;
}

.sfv5-scope .sfv5-cols:not(.sfv5-cols--single) .sfv5-el--align-right {
    text-align: right;
}

/* Links side by side, lined up in their column (links.layout row, links.align); the room between them is the list's link gap. */
.sfv5-scope .sfv5-cols .sfv5-el--links .sfv5-links--row {
    column-gap: var(--sfv5-link-gap, 18px);
}

/* Links side by side, lined up in their column (links.layout row, links.align). */
.sfv5-scope .sfv5-cols:not(.sfv5-cols--single) .sfv5-el--align-center .sfv5-links--row {
    justify-content: center;
}

.sfv5-scope .sfv5-cols:not(.sfv5-cols--single) .sfv5-el--align-right .sfv5-links--row {
    justify-content: flex-end;
}

.sfv5-scope .sfv5-payments {
    display: flex;
    flex-wrap: wrap;
    gap: var(--sfv5-pay-gap, 6px);
}

.sfv5-scope .sfv5-pay {
    padding: 1px 8px;
    border: 1px solid rgba(127, 127, 127, 0.5);
    border: 1px solid color-mix(in srgb, currentColor 40%, transparent);
    border-radius: var(--cms-radius-sm, 6px);
    font-size: var(--sfv5-pay-size, 0.857em);
    font-weight: 600;
    line-height: 1.7;
    white-space: nowrap;
}

/*
 * Card marks: one colour (the words' colour, or the payment colour), each a card 1em tall and
 * 1.29em wide - the size of Font Awesome 4.7's card marks, which some are and the drawn ones match.
 */
.sfv5-scope .sfv5-payments--marks {
    gap: var(--sfv5-pay-gap, 8px);
    align-items: center;
}

.sfv5-scope .sfv5-payments--marks .sfv5-pay {
    display: inline-flex;
    padding: 0;
    border: 0;
    border-radius: 0;
    font-size: var(--sfv5-pay-size, 2em);
    line-height: 1;
}

.sfv5-scope .sfv5-mark {
    display: block;
    flex: 0 0 auto;
    width: 1.2857em;
    height: 1em;
}

.sfv5-scope .sfv5-mark--font {
    font: normal normal normal 1em/1 FontAwesome;
    text-align: center;
    text-rendering: auto;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.sfv5-scope .sfv5-widget {
    min-width: 0;
}

/*
 * The newsletter sign-up: an email box and a button side by side (the button drops under the box only when the column is
 * too narrow for both), in the band's own colours - an outlined box, the button filled with the band's words' colour like
 * a filled button - until the Styling tab's sign-up look is set (the view's rules of the instance). At least 44px tall to
 * tap. The line under it says how a sign-up went; it takes no room while it is empty.
 */
.sfv5-scope .sfv5-signup {
    margin: 0;
    padding: 0;
    border: 0;
}

.sfv5-scope .sfv5-el--signup .sfv5-signup__intro {
    margin-bottom: 12px;
}

.sfv5-scope .sfv5-signup__row {
    display: flex;
    flex-wrap: wrap;
    align-items: stretch;
    gap: 8px;
    min-width: 0;
}

.sfv5-scope .sfv5-cols--single .sfv5-signup__row {
    justify-content: center;
}

.sfv5-scope .sfv5-signup__field {
    flex: 1 1 200px;
    width: auto;
    min-width: 0;
    max-width: 100%;
    min-height: 44px;
    margin: 0;
    padding: 0 12px;
    border: 1px solid rgba(127, 127, 127, 0.5);
    border: 1px solid color-mix(in srgb, currentColor 40%, transparent);
    border-radius: var(--cms-radius-sm, 6px);
    background: transparent;
    color: inherit;
    font: inherit;
    line-height: 1.2;
    text-align: left;
    -webkit-appearance: none;
    appearance: none;
}

.sfv5-scope .sfv5-signup__field::placeholder {
    color: inherit;
    opacity: 0.7;
}

.sfv5-scope .sfv5-signup__button {
    flex: 0 0 auto;
    min-height: 44px;
    margin: 0;
    padding: 0 18px;
    border: 1px solid transparent;
    border-radius: var(--cms-radius-sm, 6px);
    background: var(--sfv5-text, var(--cms-deep-text, #f8f9fa));
    color: var(--sfv5-bg, var(--cms-deep, #212529));
    font: inherit;
    font-weight: 600;
    line-height: 1.2;
    white-space: nowrap;
    cursor: pointer;
    -webkit-appearance: none;
    appearance: none;
}

.sfv5-scope .sfv5-signup__button:hover {
    text-decoration: underline;
    text-underline-offset: 2px;
}

.sfv5-scope .sfv5-signup__field:focus-visible,
.sfv5-scope .sfv5-signup__button:focus-visible {
    outline: 2px solid currentColor !important;
    outline-offset: 2px !important;
}

.sfv5-scope .sfv5-signup[aria-busy="true"] .sfv5-signup__button {
    cursor: progress;
    opacity: 0.75;
}

.sfv5-scope .sfv5-signup__note {
    margin: 8px 0 0;
}

.sfv5-scope .sfv5-signup__note:empty {
    margin: 0;
}

.sfv5-scope .sfv5-signup__note--error {
    font-weight: 600;
}

/* ------------------------------------------------------------------------------ phones: folding columns */

.sfv5-scope .sfv5-layout--fold .sfv5-cols__inner {
    row-gap: 0;
}

.sfv5-scope .sfv5-layout--fold .sfv5-col {
    gap: 0;
}

.sfv5-scope .sfv5-fold {
    border-bottom: 1px solid rgba(127, 127, 127, 0.35);
    border-bottom: 1px solid var(--sfv5-divider, color-mix(in srgb, currentColor 18%, transparent));
    border-bottom-width: var(--sfv5-fold-line-w, 1px);
    margin-bottom: var(--sfv5-fold-gap, 0);
}

.sfv5-scope .sfv5-fold__toggle {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    min-height: max(44px, var(--sfv5-fold-height, 48px));
    cursor: pointer;
    list-style: none;
}

.sfv5-scope .sfv5-fold__toggle::-webkit-details-marker {
    display: none;
}

.sfv5-scope .sfv5-fold__toggle .sfv5-heading {
    margin: 0;
}

.sfv5-scope .sfv5-fold__icon {
    flex: 0 0 auto;
    width: 9px;
    height: 9px;
    margin-right: 4px;
    border-right: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    transform: translateY(-2px) rotate(45deg);
}

.sfv5-scope .sfv5-fold[open] .sfv5-fold__icon {
    transform: translateY(2px) rotate(-135deg);
}

.sfv5-scope .sfv5-fold__body {
    padding: 0 0 16px;
}

.sfv5-scope .sfv5-layout--fold .sfv5-el + .sfv5-el:not(:has(.sfv5-fold)) {
    padding-top: 16px;
}
