:root{--alco-brand-orange:#a74818}
.alco-trust-footer{display:flex;flex-wrap:wrap;gap:.65rem;align-items:center;margin:1rem 0}
body.myalco-public .alco-vis:has(svg .ring),.myalco-public .alco-vis:has(svg .ring){--o:var(--alco-brand-orange)}
body.myalco-public .alco-vis svg g.on .ring,.myalco-public .alco-vis svg g.on .ring{stroke:var(--alco-brand-orange);stroke-width:17}

.site-footer .alco-trust-footer{justify-content:center;margin:0 0 6px}
.site-footer .footer-centered{padding-block:18px 16px}

.alco-trust-embed{background:transparent;margin:0;min-height:34px;display:flex;align-items:center;justify-content:center;font-family:Inter,system-ui,sans-serif}
#alco-trust-badge{scroll-margin-top:92px}
#trust-policy-title {scroll-margin-top:92px}
/* Use the orange palette on every primary control in the public theme. */
body.myalco-public {
  --alco-action-orange: var(--alco-brand-orange);
  --alco-action-orange-hover: color-mix(in srgb, var(--alco-brand-orange) 92%, #472000);
}

body.myalco-public :is(
  .btn.primary,
  .b-btn.primary,
  .button:not(.secondary),
  .sidebar-actions .sidebar-signup,
  .cookiebar .ckrow .btn.primary,
  .service-directory-categories button[aria-pressed="true"],
  .home-calendar [aria-current="date"],
  .home-calendar [aria-selected="true"],
  .home-calendar [aria-pressed="true"]
) {
  background-color: var(--alco-action-orange);
  border-color: var(--alco-action-orange);
  color: #fff;
}

body.myalco-public :is(
  .btn.primary,
  .b-btn.primary,
  .button:not(.secondary),
  .sidebar-actions .sidebar-signup,
  .cookiebar .ckrow .btn.primary,
  .service-directory-categories button[aria-pressed="true"],
  .home-calendar [aria-current="date"],
  .home-calendar [aria-selected="true"],
  .home-calendar [aria-pressed="true"]
):hover {
  background-color: var(--alco-action-orange-hover);
  border-color: var(--alco-action-orange-hover);
  color: #fff;
}

body.myalco-public :is(
  .btn.primary,
  .b-btn.primary,
  .button:not(.secondary),
  .sidebar-actions .sidebar-signup,
  .cookiebar .ckrow .btn.primary,
  .service-directory-categories button[aria-pressed="true"],
  .home-calendar [aria-current="date"],
  .home-calendar [aria-selected="true"],
  .home-calendar [aria-pressed="true"]
):focus-visible {
  outline: 2px solid var(--alco-action-orange-hover);
  outline-offset: 3px;
}

body.myalco-public :is(.captured-content > section, .workspace-section) {
  border-block-width: 0;
}


body.myalco-public main#main .alco-vis {
  --o: var(--alco-brand-orange);
}

@media (prefers-reduced-motion: no-preference) {
  body.myalco-public .home-intro .intro-messages[data-rotating] > [data-current] {
    animation-duration: 140ms;
  }
  body.myalco-public :is(.button, .service-card, .footer-newsletter-toggle > summary svg, .work-project-card, .home-calendar-dates a) {
    transition-duration: 75ms;
  }
  body.myalco-public .alco-vis svg :is(.hs, .hf, .hd, .ah, .ring) {
    transition-duration: 150ms;
  }
}

@media (prefers-reduced-motion: reduce) {
  body.myalco-public :is(.intro-messages *, .button, .service-card, .footer-newsletter-toggle > summary svg, .work-project-card, .home-calendar-dates a, .alco-vis svg *) {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
}

body.myalco-public {
  --hero-ivory: color-mix(in srgb, var(--alco-brand-orange) 2%, #fff);
  --hero-light: color-mix(in srgb, var(--alco-brand-orange) 5%, #fff);
  --hero-peach: color-mix(in srgb, var(--alco-brand-orange) 12%, #fff);
  --hero-peach-strong: color-mix(in srgb, var(--alco-brand-orange) 17%, #fff);
}

body.myalco-public.preview-content .captured-content > :is(.b-page-hero, .phead),
body.myalco-public.preview-content .captured-content > .public-resource > .public-resource-heading {
  background: var(--public-hero-background, var(--hero-ivory) url("/assets/myalco-public/20261113/page-hero-facets-v4.svg") center / 100% 100% no-repeat);
}

body.myalco-public.preview-home .home-hero-surface {
  background: var(--public-hero-background, linear-gradient(117deg, var(--hero-ivory) 4%, var(--hero-light) 41%, var(--hero-peach) 100%));
}

body.myalco-public .home-hero-surface::before {
  background: linear-gradient(145deg, var(--hero-light) 0%, var(--hero-peach) 56%, var(--hero-light) 100%);
}

body.myalco-public .home-hero-surface::after {
  background: linear-gradient(125deg, var(--hero-light) 7%, var(--hero-ivory) 45%, var(--hero-peach) 100%);
}

@media (max-width: 640px) {
  body.myalco-public {
    --public-hero-background:
      linear-gradient(156deg, var(--hero-peach) 0%, var(--hero-peach-strong) 49%, transparent 49.3%) top right / 100% 240px no-repeat,
      linear-gradient(156deg, var(--hero-ivory) 0%, var(--hero-ivory) 64%, transparent 64.3%) top right / 100% 260px no-repeat,
      linear-gradient(180deg, var(--hero-light) 0, var(--hero-ivory) 290px);
  }
}

#verify-badge { scroll-margin-top: 92px; }
.secured-badge-frame { max-width: 100%; border: 0; }
.secured-badge-frame-dark { background: #252527; border-radius: 5px; }
.alco-trust-mark {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  box-sizing: border-box;
  width: fit-content;
  max-width: 100%;
  min-height: 29px;
  padding: 2px 12px 2px 4px;
  border: 1px solid #d6d6d6;
  border-radius: 999px;
  background: transparent;
  color: #171717 !important;
  font: 450 12px/1.25 Inter, system-ui, sans-serif;
  text-decoration: none !important;
  vertical-align: middle;
}

.alco-trust-mark:hover { border-color: var(--alco-brand-orange); }
.alco-trust-mark:focus-visible { outline: 2px solid var(--alco-brand-orange); outline-offset: 2px; }
.alco-trust-mark strong { font-weight: 650; }

.alco-trust-emblem {
  position: relative;
  display: grid;
  place-items: center;
  flex: 0 0 22px;
  width: 22px;
  height: 22px;
  border: 1px solid #dedede;
  border-radius: 50%;
}

.alco-trust-emblem img {
  display: block;
  width: 15px;
  height: 15px;
  margin: 0;
}

.alco-trust-emblem svg {
  position: absolute;
  width: 10px;
  height: 11px;
  right: -2px;
  bottom: -1px;
  color: var(--alco-brand-orange);
}

.alco-trust-emblem svg path:first-child { fill: currentColor; stroke: #fff; stroke-width: 1.5; }
.alco-trust-emblem svg path:last-child {
  fill: none;
  stroke: #fff;
  stroke-width: 2.4;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.alco-trust-embed .alco-trust-mark { margin: 2px; white-space: nowrap; }
.alco-trust-embed.is-dark .alco-trust-mark,
[data-theme="dark"] .alco-trust-mark { color: #fff !important; border-color: #777; }
.alco-trust-embed.is-dark .alco-trust-emblem,
[data-theme="dark"] .alco-trust-emblem { border-color: #777; }
.alco-trust-embed.is-dark .alco-trust-emblem img,
[data-theme="dark"] .alco-trust-emblem img { filter: invert(1); }

body.myalco-public .captured-content .brandkit-swatch-orange { background: var(--alco-brand-orange); }

body.myalco-public .captured-content .b-page-hero h1 > [data-hero-accent],
body.myalco-public .home-hero-surface .intro-heading > [data-hero-accent] {
  color: var(--alco-brand-orange);
  text-decoration: none;
}

body.page-trust :is([aria-labelledby="trust-policy-title"], [aria-labelledby="trust-memberships-title"]) .service-directory-link {
  min-height: 0;
  padding: 16px 20px;
}
body.page-trust :is([aria-labelledby="trust-policy-title"], [aria-labelledby="trust-memberships-title"]) .service-directory-description {
  margin-top: 5px;
}
body.page-trust .service-directory-link svg { color: var(--alco-brand-orange); }
body.page-trust .service-directory-link:focus-visible {
  outline: 2px solid var(--alco-brand-orange);
  outline-offset: 2px;
}
body.page-trust .captured-content #alco-trust-badge .b-value,
body.family-secured-by-alco .captured-content .b-value { padding: 16px 20px; }

@media (max-width: 640px) {
  body.page-trust :is([aria-labelledby="trust-policy-title"], [aria-labelledby="trust-memberships-title"]) .service-directory-link {
    padding: 14px 16px;
  }
}

body.page-trust [aria-labelledby="trust-help-title"] .b-value { padding: 16px 20px; }
body.page-trust [aria-labelledby="trust-help-title"] .b-value h3 { margin-block: 0 8px; }
body.page-trust [aria-labelledby="trust-help-title"] .b-value > p:last-child { margin-block: auto 0; }
body.page-trust [aria-labelledby="trust-help-title"] .b-value .btn { margin-top: 4px; }

body.page-trust .trust-badge-criteria {
  display: grid;
  gap: 10px;
  margin: 14px 0 0;
  font-size: 13px;
  line-height: 1.5;
}
body.page-trust .trust-badge-criteria dt { font-weight: 600; }
body.page-trust .trust-badge-criteria dd { margin: 2px 0 0; color: var(--muted); }

.captured-content .trust-enquiry-fields {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  grid-column: 1 / -1;
}
.captured-content .trust-enquiry-form .b-row-details { grid-column: 1 / -1; }
.captured-content .trust-enquiry-form textarea {
  width: 100%;
  padding: 8px 10px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #fff;
  color: var(--ink);
  font: inherit;
}
.captured-content .trust-enquiry-form :is(select, textarea, input):focus-visible {
  outline: 2px solid var(--alco-brand-orange);
  outline-offset: 2px;
}
.captured-content .trust-enquiry-form .b-form-bottom { display: block; }
@media (max-width: 640px) {
  .captured-content .trust-enquiry-fields { grid-template-columns: 1fr; }
}
#alco-site-review { scroll-margin-top: 92px; }

body.myalco-public.family-legal .captured-content > .legal-page {
  padding-block: clamp(28px, 4vw, 48px);
}
body.myalco-public.family-legal .legal-layout {
  gap: clamp(20px, 4vw, 44px);
}
body.myalco-public.family-legal .legal-document {
  overflow-wrap: anywhere;
}
body.myalco-public.family-legal .legal-document > section {
  margin-block: clamp(24px, 4vw, 40px) 0;
  padding-block: 0;
  border-block: 0;
}
body.myalco-public.family-legal .legal-rail-contact,
body.myalco-public.family-legal .legal-facts {
  border-block: 0;
}
body.myalco-public.family-legal .legal-rail-contact .btn {
  align-self: start;
}
body.myalco-public.family-legal :is(.legal-summary, .legal-notice, .legal-contact-card, .legal-related > a) {
  border-color: var(--line);
  border-radius: var(--radius);
  background: light-dark(#fff, #202024);
}
body.myalco-public.family-legal :is(.legal-toc a, .legal-related a):focus-visible {
  outline: 2px solid var(--alco-brand-orange);
  outline-offset: 2px;
}
body.myalco-public.family-legal .captured-content .legal-document h2 {
  margin-block: 0 14px;
  font-weight: 550;
  letter-spacing: -.025em;
}
@media (max-width: 640px) {
  body.myalco-public.family-legal :is(.legal-summary, .legal-notice, .legal-contact-card) { padding: 16px; }
}

body.page-trust .service-directory-link > .trust-card-icon {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  flex: 0 0 20px;
  width: 20px;
  min-height: 23px;
  margin-top: 2px;
  color: var(--alco-brand-orange);
}
body.page-trust #memberships .service-directory-link > .trust-card-icon {
  flex-basis: 38px;
  width: 38px;
}
body.page-trust .trust-card-icon img {
  display: block;
  max-width: 100%;
  max-height: 38px;
  margin: 0;
  object-fit: contain;
}
body.page-trust .trust-guidance-heading { display: flex; align-items: center; gap: 8px; }
body.page-trust .trust-guidance-heading svg { color: var(--alco-brand-orange); }
.alco-trust-embed.is-start { justify-content: flex-start; }
.alco-trust-embed.is-start .alco-trust-mark { margin-inline-start: 0; }

/* The badge fields use the shared input geometry in both enquiry forms. */
.captured-content .trust-enquiry-fields :is(input, select) {
  width: 100%;
  min-width: 0;
}
.captured-content .trust-enquiry-fields select {
  appearance: none;
  height: 31px;
  padding-inline-end: 28px;
  line-height: 1.5;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath d='m2 4 4 4 4-4' fill='none' stroke='%235b5d62' stroke-width='1.4'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 10px center;
}
@media (min-width: 641px) {
  .captured-content #enquiry .trust-enquiry-fields select { margin-bottom: 18px; }
}

.captured-content .trust-enquiry-fields .field-note { margin: 6px 0 0; font-size: 12px; }
