@charset "UTF-8";
/**
 * Root
 * ========================================================================== */
@layer bootstrap, reset, base, layout, component, componentVariant, jui, utilities;
/**
 * Reset
 * ========================================================================== */
@layer reset {
  /* Box sizing rules */
  *,
  *::before,
  *::after {
    box-sizing: border-box;
  }
  /* Prevent font size inflation */
  html {
    -moz-text-size-adjust: none;
    -webkit-text-size-adjust: none;
    text-size-adjust: none;
  }
  /* Remove default margin in favour of better control in authored CSS */
  body, h1, h2, h3, h4, h5, h6, p,
  figure, blockquote, dl, dd {
    margin-block-end: 0;
  }
  /* Remove list styles on ul, ol elements with a list role, which suggests default styling will be removed */
  ul[role=list],
  ol[role=list] {
    list-style: none;
  }
  /* Set core body defaults */
  body {
    min-height: 100vh;
    line-height: 1.5;
    margin-block-start: 0;
    margin-inline: 0;
  }
  /* Set shorter line heights on headings and interactive elements */
  h1, h2, h3, h4,
  button, input, label {
    line-height: 1.1;
  }
  /* Balance text wrapping on headings */
  h1, h2,
  h3, h4 {
    text-wrap: balance;
  }
  /* A elements that don't have a class get default styles */
  :where(a:not([class])) {
    text-decoration-skip-ink: auto;
    color: currentColor;
  }
  /* Make images easier to work with */
  img,
  picture,
  svg {
    max-width: 100%;
    height: auto;
    display: block;
  }
  /* Inherit fonts for inputs and buttons */
  input, button,
  textarea, select,
  input[type=file]::-webkit-file-upload-button {
    font-family: inherit;
    font-size: inherit;
  }
  /* Make sure textareas without a rows attribute are not tiny */
  textarea:not([rows]) {
    min-height: 10em;
  }
  /* Anything that has been anchored to should have extra scroll margin */
  :target {
    scroll-margin-block: 5ex;
  }
  [hidden] {
    display: none;
  }
}
/**
 * Base | Colors | Theme | Font | Spacing
 * ----------------------------------------------------------------------------
 */
/* -------------------------------------------
 *  Autogenerated by ⛋ Terrazzo. DO NOT EDIT!
 * ------------------------------------------- */
:root {
  --background-color: var(--color-neutral-100);
  --background-overlay: var(--color-neutral-100);
  --body-background: var(--background-color);
  --body-font-family: var(--font-family-base);
  --body-fs: var(--font-size-400);
  --body-fw: var(--font-weight-regular);
  --body-text: var(--text-fg);
  --bodyText-font-family: var(--font-family-base);
  --bodyText-font-size: 1.5rem;
  --bodyText-font-style: normal;
  --bodyText-font-weight: var(--font-weight-regular);
  --bodyText-letter-spacing: 0;
  --bodyText-line-height: 1.5;
  --bodyText-text-transform: none;
  --border-color: var(--color-neutral-800); /* The general hairline: a disclosure's summary, the tab strip, a table rule. It bounds interactive components, so it needs the 3:1 of WCAG 1.4.11 the same way base.form.invalid.border-color does. The 300 it used to be measures 1.03:1 against the page background (#fefefb) - present in the markup and invisible on screen. The 800 reaches 6.02:1; the 700 stops at 2.94:1, and the neutral scale offers nothing in between - 500 and below are all within a hair of white. */
  --border-radius: 0.375rem;
  --border-width: 1px;
  --color-accent-100: var(--color-forest-green-100);
  --color-accent-200: var(--color-forest-green-200);
  --color-accent-300: var(--color-forest-green-300);
  --color-accent-400: var(--color-forest-green-400);
  --color-accent-500: var(--color-forest-green-500);
  --color-accent-600: var(--color-forest-green-600);
  --color-accent-700: var(--color-forest-green-700);
  --color-accent-800: var(--color-forest-green-800);
  --color-black: #000000;
  --color-blue-50: #d9e2fc;
  --color-blue-100: #cbd7fb;
  --color-blue-200: #739ddd;
  --color-blue-300: #083273;
  --color-blue-400: #062656;
  --color-blue-500: #061647;
  --color-blue-600: #04133e;
  --color-blue-700: #031035;
  --color-blue-800: #020b27;
  --color-blue-900: #01081e;
  --color-blue-950: #000719;
  --color-cyan-100: #e6fcff;
  --color-cyan-200: #b6f4ff;
  --color-cyan-300: #74eaff;
  --color-cyan-400: #0dd3f5;
  --color-cyan-500: #0cc0df;
  --color-cyan-600: #0bafcb;
  --color-cyan-700: #088095;
  --color-cyan-800: #077183;
  --color-danger: var(--color-danger-red-500); /* Error/danger states */
  --color-danger-red-100: #fde8eb;
  --color-danger-red-500: #ee4962; /* Danger/alert color */
  --color-danger-red-600: #eb2d4a;
  --color-danger-red-700: #e01533;
  --color-forest-green-50: #f2f7ee; /* Lightest forest green tint */
  --color-forest-green-100: #dfebd6;
  --color-forest-green-200: #bcd6a9;
  --color-forest-green-300: #98c07c;
  --color-forest-green-400: #76a951;
  --color-forest-green-500: #4c7231; /* Connemara primary brand green */
  --color-forest-green-600: #3b5c23; /* Darker hover state */
  --color-forest-green-700: #2a4418; /* Active/pressed state */
  --color-forest-green-800: #1c2e0f;
  --color-forest-green-900: #132009; /* Darkest forest green shade */
  --color-green-50: #f4fcf0;
  --color-green-100: #e6f8dd;
  --color-green-200: #befb98;
  --color-green-400: #99f660;
  --color-green-500: #86db51;
  --color-green-600: #68ac3e;
  --color-green-700: #49782b;
  --color-grey-50: #f9fafb;
  --color-grey-100: #f0f2f4;
  --color-grey-200: #e7ebee;
  --color-grey-300: #dfe3e7;
  --color-grey-400: #d6dbe0;
  --color-grey-500: #c6ccd2;
  --color-grey-600: #9299a0;
  --color-grey-700: #474f57;
  --color-grey-800: #32383e;
  --color-grey-900: #1b1f22;
  --color-grey-950: #14171a;
  --color-info: var(--color-cyan-800);
  --color-killarney-50: #f0f4f1; /* Lightest killarney tint */
  --color-killarney-100: #dce5de;
  --color-killarney-200: #b8ccbe;
  --color-killarney-300: #92b09b;
  --color-killarney-400: #6e967a;
  --color-killarney-500: #4b7c5a; /* Bright, pure green named after the lush landscapes of Killarney National Park in Ireland. */
  --color-killarney-600: #3b6347;
  --color-killarney-700: #2c4935;
  --color-killarney-800: #1f3325;
  --color-killarney-900: #0f1a12;
  --color-neutral-000: var(--color-white);
  --color-neutral-50: var(--color-warm-turbulence-50);
  --color-neutral-100: var(--color-warm-turbulence-100);
  --color-neutral-200: var(--color-warm-turbulence-200);
  --color-neutral-300: var(--color-warm-turbulence-300);
  --color-neutral-400: var(--color-warm-turbulence-400);
  --color-neutral-500: var(--color-warm-turbulence-500);
  --color-neutral-600: var(--color-warm-turbulence-600);
  --color-neutral-700: var(--color-warm-turbulence-700);
  --color-neutral-800: var(--color-warm-turbulence-800);
  --color-neutral-900: var(--color-warm-turbulence-900);
  --color-neutral-950: var(--color-warm-turbulence-950);
  --color-neutral-1000: var(--color-black);
  --color-orange-100: #fff4e6;
  --color-orange-200: #ffd8a8;
  --color-orange-300: #ffc078;
  --color-orange-400: #ffa94d;
  --color-orange-500: #ff922b;
  --color-orange-600: #ff7a05;
  --color-orange-700: #de6500;
  --color-orange-800: #b85000;
  --color-orange-900: #923d00;
  --color-primary-50: var(--color-killarney-50); /* Lightest forest green tint */
  --color-primary-100: var(--color-killarney-100);
  --color-primary-200: var(--color-killarney-200);
  --color-primary-300: var(--color-killarney-300);
  --color-primary-400: var(--color-killarney-400);
  --color-primary-500: var(--color-killarney-500); /* Main brand green - Connemara primary */
  --color-primary-600: var(--color-killarney-600); /* Hover state */
  --color-primary-700: var(--color-killarney-700); /* Active state */
  --color-primary-800: var(--color-killarney-800);
  --color-primary-900: var(--color-killarney-900);
  --color-red-50: #ffecec;
  --color-red-100: #ffdbdb;
  --color-red-200: #ffbdbd;
  --color-red-300: #ff9999;
  --color-red-400: #ff7a7a;
  --color-red-500: #ff5252;
  --color-red-600: #e60000;
  --color-red-700: #ad0000;
  --color-red-800: #7a0000;
  --color-secondary-100: var(--color-yellow-100);
  --color-secondary-200: var(--color-yellow-200);
  --color-secondary-300: var(--color-yellow-300);
  --color-secondary-400: var(--color-yellow-400);
  --color-secondary-500: var(--color-yellow-500);
  --color-secondary-600: var(--color-yellow-600);
  --color-secondary-700: var(--color-yellow-700);
  --color-secondary-800: var(--color-yellow-800);
  --color-secondary-900: var(--color-yellow-900);
  --color-success: var(--color-forest-green-500); /* Success uses primary green */
  --color-surface-cyan-bg: var(--color-cyan-500);
  --color-surface-cyan-fg: var(--color-grey-900);
  --color-surface-green-bg: var(--color-green-500);
  --color-surface-green-fg: var(--color-grey-900);
  --color-surface-highlight-bg: var(--color-primary-700); /* Mid-deep forest green — CTA sections, highlighted content */
  --color-surface-highlight-fg: var(--color-neutral-100);
  --color-surface-neutral-bg: var(--color-neutral-50); /* Subtle warm cream — card backgrounds, alternating sections */
  --color-surface-neutral-fg: var(--color-neutral-900);
  --color-surface-orange-bg: var(--color-orange-500);
  --color-surface-orange-fg: var(--color-grey-900);
  --color-surface-primary-bg: var(--color-primary-800); /* Dark forest green — nav bar, header zones */
  --color-surface-primary-fg: var(--color-neutral-100);
  --color-surface-red-bg: var(--color-red-500);
  --color-surface-red-fg: var(--color-grey-900);
  --color-surface-secondary-bg: var(--color-primary-50); /* Light sage green — footer, tinted page sections */
  --color-surface-secondary-fg: var(--color-neutral-900);
  --color-surface-yellow-bg: var(--color-yellow-500);
  --color-surface-yellow-fg: var(--color-grey-900);
  --color-warm-turbulence-50: #fefefb; /* Lightest warm turbulence tint */
  --color-warm-turbulence-100: #fefefb;
  --color-warm-turbulence-200: #fbfcf3;
  --color-warm-turbulence-300: #fbfbee;
  --color-warm-turbulence-400: #f8f9e6;
  --color-warm-turbulence-500: #f7f8e2;
  --color-warm-turbulence-600: #c5c6b3;
  --color-warm-turbulence-700: #969787;
  --color-warm-turbulence-800: #62635a;
  --color-warm-turbulence-900: #32332e;
  --color-warm-turbulence-950: #1a1a19;
  --color-warning: var(--color-orange-800);
  --color-white: #ffffff;
  --color-yellow-50: #fffcf0;
  --color-yellow-100: #fff9e0;
  --color-yellow-200: #fff2bd;
  --color-yellow-300: #ffe785;
  --color-yellow-400: #ffde5c;
  --color-yellow-500: #ffd633;
  --color-yellow-600: #ffd11a;
  --color-yellow-700: #ffcc00;
  --color-yellow-800: #dbaf00;
  --color-yellow-900: #bd9700;
  --container-max-width-default: 64rem;
  --container-max-width-narrow: 40rem;
  --container-max-width-wide: 75rem;
  --container-min-margin-inline: var(--spacing-025);
  --content-max-width: 65rem; /* The content column of .content-grid. Deliberately equal to the page rail minus its padding on both sides: base.container.max-width.wide (75rem) less 2 x base.content.padding-inline.breakpoint-lg (5rem). That is what puts the content column on the same edge as the brand row and the navigation, which hold the same rail. Was 100ch, a font-metric unit that could never line up with the rem-based header. Keep the three values in step if any of them changes. */
  --content-padding-block-end-breakpoint-md: var(--spacing-500);
  --content-padding-block-end-default: var(--spacing-300); /* Distance from the last content block to the footer. Applied as padding inside main rather than as a margin between the two: the lower wave decorations anchor to main's bottom edge, so a margin would strand them above the gap instead of keeping them against the footer */
  --content-padding-inline-breakpoint-lg: var(--spacing-500);
  --content-padding-inline-breakpoint-md: var(--spacing-500);
  --content-padding-inline-breakpoint-sm: var(--spacing-300);
  --content-padding-inline-default: var(--spacing-075);
  --cubic-bezier-easeBounce: linear(
    0, 0.004, 0.016, 0.035, 0.063, 0.098, 0.141, 0.191, 0.25, 0.316, 0.391 36.8%,
    0.563, 0.766, 1 58.8%, 0.946, 0.908 69.1%, 0.895, 0.885, 0.879, 0.878, 0.879,
    0.885, 0.895, 0.908 89.7%, 0.946, 1
  );
  --cubic-bezier-easeElastic: cubic-bezier(0.1, 0, 0.9, 1);
  --cubic-bezier-easeIn: cubic-bezier(0.7, 0, 1, 1);
  --cubic-bezier-easeInCubic: cubic-bezier(0.32, 0, 0.67, 0);
  --cubic-bezier-easeInOutCubic: cubic-bezier(0.65, 0, 0.35, 1);
  --cubic-bezier-easeOut: cubic-bezier(0, 0, 0.3, 1);
  --cubic-bezier-easeOutCubic: cubic-bezier(0.33, 1, 0.68, 1);
  --cubic-bezier-linear: cubic-bezier(0, 0, 1, 1);
  --cubic-bezier-squish: cubic-bezier(0.5, -0.3, 0.1, 1.5);
  --duration-moderate: 0.3s;
  --duration-quick: 0.2s;
  --duration-slow: 2s;
  --duration-slower: 0.4s;
  --focus-outline-color: var(--color-accent-600); /* Needs 3:1 against the page: accent.600 reaches 7.6:1, the accent.200 it was only 1.56:1. */
  --focus-outline-offset: max(3px, 0.08em);
  --focus-outline-style: solid;
  --focus-outline-width: max(2.5px, 0.08em);
  --font-family-base: var(--font-family-sans);
  --font-family-code: "Consolas", "Monaco", "Courier New", monospace; /* Monospace for code blocks */
  --font-family-expressive: "Coustard", -apple-system, "BlinkMacSystemFont", "Segoe UI", "Roboto", "Helvetica Neue", "Arial", sans-serif; /* Same as sans for consistency */
  --font-family-heading: var(--font-family-expressive);
  --font-family-mono: var(--font-family-code);
  --font-family-sans: "Public Sans", -apple-system, "BlinkMacSystemFont", "Segoe UI", "Roboto", "Helvetica Neue", "Arial", sans-serif; /* Clean system font stack - professional and fast */
  --font-size-200: 0.875rem;
  --font-size-300: 0.925rem;
  --font-size-400: 1rem;
  --font-size-500: 1.25rem;
  --font-size-600: 1.3rem;
  --font-size-700: 1.55rem;
  --font-size-800: 1.8rem;
  --font-size-900: 2.125rem;
  --font-weight-bold: 700;
  --font-weight-light: 300;
  --font-weight-medium: 500;
  --font-weight-regular: 400;
  --form-gap: 0.5em;
  --form-input-border-color: var(--color-neutral-800); /* A field's edge is a UI component and needs 3:1 against the page: the 800 reaches 6:1, the 700 only 2.94:1. */
  --form-input-border-radius: var(--border-radius);
  --form-input-border-style: solid;
  --form-input-border-width: 2px;
  --form-input-color-bg: var(--color-neutral-100);
  --form-input-color-disabled: var(--color-neutral-400);
  --form-input-color-fg: var(--text-fg);
  --form-input-color-placeholder: var(--color-neutral-800); /* Placeholder text needs 4.5:1: the 800 reaches 6:1, the 700 only 2.94:1. */
  --form-input-padding-block: var(--spacing-075);
  --form-input-padding-inline: var(--spacing-125);
  --form-invalid-border-color: var(--color-danger); /* Border of a field the validator rejected. A border is a non-text UI component, so the 500 clears the 3:1 it needs at 3.61:1 against the page background. */
  --form-invalid-text: var(--color-danger-red-700); /* The validator's message text. Not the 500 the border uses: measured against the page background (#fefefb) it reaches only 3.61:1, short of the 4.5:1 body text needs. The 700 sits at 4.81:1. */
  --form-label-margin-bottom: var(--spacing-100);
  --form-label-text: var(--text-fg);
  --form-margin-block: var(--spacing-075);
  --form-margin-inline: var(--spacing-050);
  --form-padding-block: var(--spacing-050);
  --form-padding-inline: var(--spacing-025);
  --form-valid-border-color: var(--color-success); /* Border of a field that passed. Only ever set after the validator has run, so an untouched form stays neutral. */
  --grid-gap: var(--spacing-150);
  --hero-padding-block: var(--spacing-1000);
  --link-icon-underline-offset: 0.4em;
  --link-underline-offset: 0.2em;
  --opacity-010: 0.1;
  --opacity-015: 0.15;
  --opacity-020: 0.2;
  --opacity-030: 0.3;
  --opacity-040: 0.4;
  --opacity-050: 0.5;
  --opacity-060: 0.6;
  --opacity-070: 0.7;
  --opacity-080: 0.8;
  --opacity-085: 0.85;
  --opacity-090: 0.9;
  --opacity-095: 0.95;
  --opacity-opaque: 1;
  --opacity-transparent: 0;
  --scroll-padding: var(--spacing-150);
  --section-padding-block: var(--spacing-500);
  --shadow-1: 0 0 0.5rem 0 #00000059;
  --shadow-2: 0 1px 3px 0 #0000001f, 0 1px 2px 0 #0000003d;
  --shadow-3: 0 3px 6px 0 #00000029, 0 3px 6px 0 #0000003b;
  --shadow-4: 0 10px 20px 0 #00000030, 0 6px 6px 0 #0000003b;
  --shadow-5: 0 10px 20px 0 #00000030, 0 6px 6px 0 #0000003b;
  --shadow-6: 0 19px 38px 0 #0000004d, 0 15px 12px 0 #00000038;
  --spacing-000: 0;
  --spacing-025: 0.25rem;
  --spacing-050: 0.5rem;
  --spacing-075: 0.75rem;
  --spacing-100: 1rem;
  --spacing-125: 1.25rem;
  --spacing-150: 1.5rem;
  --spacing-175: 1.75rem;
  --spacing-200: 2rem;
  --spacing-250: 2.5rem;
  --spacing-300: 3rem;
  --spacing-400: 4rem;
  --spacing-500: 5rem;
  --spacing-600: 6rem;
  --spacing-800: 8rem;
  --spacing-1000: 10rem;
  --text-fg: var(--color-neutral-950);
  --text-interactive: var(--color-accent-600);
  --text-interactive-hover: var(--color-accent-700); /* A link under the pointer. Darker than the resting accent.600, in the same hue: hovering should intensify the link, and the neutral.800 this used to be turned it into a lighter warm grey instead - a green link greying out on hover reads as going away, not as answering. It also missed the contrast it needs on its own hover fill (accent.200): 3.86:1 against the 4.5:1 body text asks for, which is why components/_menu.scss carried two local overrides to escape it. The 700 reaches 6.88:1 there and 10.72:1 on the page background. */
  --text-interactive-hover-bg: var(--color-accent-200);
}

@media (prefers-color-scheme: light) {
  :root {
    --background-color: var(--color-neutral-100);
    --background-overlay: var(--color-neutral-100);
    --border-color: var(--color-neutral-800); /* The general hairline: a disclosure's summary, the tab strip, a table rule. It bounds interactive components, so it needs the 3:1 of WCAG 1.4.11 the same way base.form.invalid.border-color does. The 300 it used to be measures 1.03:1 against the page background (#fefefb) - present in the markup and invisible on screen. The 800 reaches 6.02:1; the 700 stops at 2.94:1, and the neutral scale offers nothing in between - 500 and below are all within a hair of white. */
    --card-base-text-color: var(--color-neutral-900);
    --color-accent-100: var(--color-forest-green-100);
    --color-accent-200: var(--color-forest-green-200);
    --color-accent-300: var(--color-forest-green-300);
    --color-accent-400: var(--color-forest-green-400);
    --color-accent-500: var(--color-forest-green-500);
    --color-accent-600: var(--color-forest-green-600);
    --color-accent-700: var(--color-forest-green-700);
    --color-accent-800: var(--color-forest-green-800);
    --color-info: var(--color-cyan-800);
    --color-surface-cyan-bg: var(--color-cyan-500);
    --color-surface-cyan-fg: var(--color-grey-900);
    --color-surface-green-bg: var(--color-green-500);
    --color-surface-green-fg: var(--color-grey-900);
    --color-surface-highlight-bg: var(--color-primary-700); /* Mid-deep forest green — CTA sections, highlighted content */
    --color-surface-highlight-fg: var(--color-neutral-100);
    --color-surface-neutral-bg: var(--color-neutral-50); /* Subtle warm cream — card backgrounds, alternating sections */
    --color-surface-neutral-fg: var(--color-neutral-900);
    --color-surface-orange-bg: var(--color-orange-500);
    --color-surface-orange-fg: var(--color-grey-900);
    --color-surface-primary-bg: var(--color-primary-800); /* Dark forest green — nav bar, header zones */
    --color-surface-primary-fg: var(--color-neutral-100);
    --color-surface-red-bg: var(--color-red-500);
    --color-surface-red-fg: var(--color-grey-900);
    --color-surface-secondary-bg: var(--color-primary-50); /* Light sage green — footer, tinted page sections */
    --color-surface-secondary-fg: var(--color-neutral-900);
    --color-surface-yellow-bg: var(--color-yellow-500);
    --color-surface-yellow-fg: var(--color-grey-900);
    --color-warning: var(--color-orange-800);
    --form-input-border-color: var(--color-neutral-800); /* A field's edge is a UI component and needs 3:1 against the page: the 800 reaches 6:1, the 700 only 2.94:1. */
    --form-input-color-bg: var(--color-neutral-100);
    --form-input-color-disabled: var(--color-neutral-400);
    --form-input-color-placeholder: var(--color-neutral-800); /* Placeholder text needs 4.5:1: the 800 reaches 6:1, the 700 only 2.94:1. */
    --joomla-alert-base-jui-alert-border-width: 1px;
    --joomla-alert-base-jui-alert-button-color: var(--body-text);
    --joomla-alert-danger-jui-alert-background-color: var(--color-red-50);
    --joomla-alert-danger-jui-alert-border-color: var(--color-danger);
    --joomla-alert-danger-jui-alert-color: var(--color-danger);
    --joomla-alert-danger-jui-alert-link-color: var(--color-danger);
    --joomla-alert-info-jui-alert-background-color: var(--color-cyan-100);
    --joomla-alert-info-jui-alert-border-color: var(--color-info);
    --joomla-alert-success-jui-alert-background-color: var(--color-green-50);
    --joomla-alert-success-jui-alert-border-color: var(--color-success);
    --joomla-alert-success-jui-alert-color: var(--color-success);
    --joomla-alert-success-jui-alert-link-color: var(--color-success);
    --joomla-alert-warning-jui-alert-background-color: var(--color-orange-100);
    --joomla-alert-warning-jui-alert-border-color: var(--color-warning);
    --table-base-head-bg: var(--color-neutral-300);
    --text-fg: var(--color-neutral-950);
    --text-interactive: var(--color-accent-600);
    --text-interactive-hover: var(--color-accent-700); /* A link under the pointer. Darker than the resting accent.600, in the same hue: hovering should intensify the link, and the neutral.800 this used to be turned it into a lighter warm grey instead - a green link greying out on hover reads as going away, not as answering. It also missed the contrast it needs on its own hover fill (accent.200): 3.86:1 against the 4.5:1 body text asks for, which is why components/_menu.scss carried two local overrides to escape it. The 700 reaches 6.88:1 there and 10.72:1 on the page background. */
    --text-interactive-hover-bg: var(--color-accent-200);
  }
}
[data-mode=light] {
  --background-color: var(--color-neutral-100);
  --background-overlay: var(--color-neutral-100);
  --border-color: var(--color-neutral-800); /* The general hairline: a disclosure's summary, the tab strip, a table rule. It bounds interactive components, so it needs the 3:1 of WCAG 1.4.11 the same way base.form.invalid.border-color does. The 300 it used to be measures 1.03:1 against the page background (#fefefb) - present in the markup and invisible on screen. The 800 reaches 6.02:1; the 700 stops at 2.94:1, and the neutral scale offers nothing in between - 500 and below are all within a hair of white. */
  --card-base-text-color: var(--color-neutral-900);
  --color-accent-100: var(--color-forest-green-100);
  --color-accent-200: var(--color-forest-green-200);
  --color-accent-300: var(--color-forest-green-300);
  --color-accent-400: var(--color-forest-green-400);
  --color-accent-500: var(--color-forest-green-500);
  --color-accent-600: var(--color-forest-green-600);
  --color-accent-700: var(--color-forest-green-700);
  --color-accent-800: var(--color-forest-green-800);
  --color-info: var(--color-cyan-800);
  --color-surface-cyan-bg: var(--color-cyan-500);
  --color-surface-cyan-fg: var(--color-grey-900);
  --color-surface-green-bg: var(--color-green-500);
  --color-surface-green-fg: var(--color-grey-900);
  --color-surface-highlight-bg: var(--color-primary-700); /* Mid-deep forest green — CTA sections, highlighted content */
  --color-surface-highlight-fg: var(--color-neutral-100);
  --color-surface-neutral-bg: var(--color-neutral-50); /* Subtle warm cream — card backgrounds, alternating sections */
  --color-surface-neutral-fg: var(--color-neutral-900);
  --color-surface-orange-bg: var(--color-orange-500);
  --color-surface-orange-fg: var(--color-grey-900);
  --color-surface-primary-bg: var(--color-primary-800); /* Dark forest green — nav bar, header zones */
  --color-surface-primary-fg: var(--color-neutral-100);
  --color-surface-red-bg: var(--color-red-500);
  --color-surface-red-fg: var(--color-grey-900);
  --color-surface-secondary-bg: var(--color-primary-50); /* Light sage green — footer, tinted page sections */
  --color-surface-secondary-fg: var(--color-neutral-900);
  --color-surface-yellow-bg: var(--color-yellow-500);
  --color-surface-yellow-fg: var(--color-grey-900);
  --color-warning: var(--color-orange-800);
  --form-input-border-color: var(--color-neutral-800); /* A field's edge is a UI component and needs 3:1 against the page: the 800 reaches 6:1, the 700 only 2.94:1. */
  --form-input-color-bg: var(--color-neutral-100);
  --form-input-color-disabled: var(--color-neutral-400);
  --form-input-color-placeholder: var(--color-neutral-800); /* Placeholder text needs 4.5:1: the 800 reaches 6:1, the 700 only 2.94:1. */
  --joomla-alert-base-jui-alert-border-width: 1px;
  --joomla-alert-base-jui-alert-button-color: var(--body-text);
  --joomla-alert-danger-jui-alert-background-color: var(--color-red-50);
  --joomla-alert-danger-jui-alert-border-color: var(--color-danger);
  --joomla-alert-danger-jui-alert-color: var(--color-danger);
  --joomla-alert-danger-jui-alert-link-color: var(--color-danger);
  --joomla-alert-info-jui-alert-background-color: var(--color-cyan-100);
  --joomla-alert-info-jui-alert-border-color: var(--color-info);
  --joomla-alert-success-jui-alert-background-color: var(--color-green-50);
  --joomla-alert-success-jui-alert-border-color: var(--color-success);
  --joomla-alert-success-jui-alert-color: var(--color-success);
  --joomla-alert-success-jui-alert-link-color: var(--color-success);
  --joomla-alert-warning-jui-alert-background-color: var(--color-orange-100);
  --joomla-alert-warning-jui-alert-border-color: var(--color-warning);
  --table-base-head-bg: var(--color-neutral-300);
  --text-fg: var(--color-neutral-950);
  --text-interactive: var(--color-accent-600);
  --text-interactive-hover: var(--color-accent-700); /* A link under the pointer. Darker than the resting accent.600, in the same hue: hovering should intensify the link, and the neutral.800 this used to be turned it into a lighter warm grey instead - a green link greying out on hover reads as going away, not as answering. It also missed the contrast it needs on its own hover fill (accent.200): 3.86:1 against the 4.5:1 body text asks for, which is why components/_menu.scss carried two local overrides to escape it. The 700 reaches 6.88:1 there and 10.72:1 on the page background. */
  --text-interactive-hover-bg: var(--color-accent-200);
}

@media (width >= 45em) {
  :root {
    --abbr-base-tip-font-size: var(--font-size-300);
    --badge-base-font-size: var(--font-size-200);
    --body-fs: var(--font-size-400);
    --breadcrumb-base-font-size: var(--body-fs);
    --btn-base-font-size: var(--font-size-200);
    --btn-large-font-size: var(--font-size-700);
    --btn-link-font-size: var(--body-fs);
    --btn-small-font-size: var(--font-size-400);
    --card-article-date-size: var(--font-size-200);
    --card-article-text-size: var(--font-size-400);
    --card-article-title-size: var(--font-size-600);
    --font-size-200: 0.925rem;
    --font-size-300: 1rem;
    --font-size-400: 1.1rem;
    --font-size-500: 1.3rem;
    --font-size-600: 1.5rem;
    --font-size-700: 1.75rem;
    --font-size-800: 2rem;
    --font-size-900: 2.25rem;
    --heading-base-font-size: var(--font-size-500);
    --heading-h1-font-size: var(--font-size-900);
    --heading-h2-font-size: var(--font-size-700);
    --heading-h3-font-size: var(--font-size-600);
    --heading-h4-font-size: var(--font-size-500);
    --joomla-alert-base-heading-font-size: var(--font-size-400);
  }
}
@media (width >= 65em) {
  :root {
    --abbr-base-tip-font-size: var(--font-size-300);
    --badge-base-font-size: var(--font-size-200);
    --body-fs: var(--font-size-400);
    --breadcrumb-base-font-size: var(--body-fs);
    --btn-base-font-size: var(--font-size-200);
    --btn-large-font-size: var(--font-size-700);
    --btn-link-font-size: var(--body-fs);
    --btn-small-font-size: var(--font-size-400);
    --card-article-date-size: var(--font-size-200);
    --card-article-text-size: var(--font-size-400);
    --card-article-title-size: var(--font-size-600);
    --font-size-200: 1rem;
    --font-size-300: 1.1rem;
    --font-size-400: 1.125rem;
    --font-size-500: 1.5rem;
    --font-size-600: 1.75rem;
    --font-size-700: 1.9rem;
    --font-size-800: 2.25rem;
    --font-size-900: 2.5rem;
    --heading-base-font-size: var(--font-size-500);
    --heading-h1-font-size: var(--font-size-900);
    --heading-h2-font-size: var(--font-size-700);
    --heading-h3-font-size: var(--font-size-600);
    --heading-h4-font-size: var(--font-size-500);
    --joomla-alert-base-heading-font-size: var(--font-size-400);
  }
}
@layer base {
  :root {
    --radial-gradient-cyan: radial-gradient(circle, var(--color-cyan-500) 0%, var(--color-cyan-500) 35%, var(--color-cyan-600) 100%);
    --radial-gradient-green: radial-gradient(circle, var(--color-green-400) 0%, var(--color-green-400) 35%, var(--color-green-500) 100%);
    --radial-gradient-red: radial-gradient(circle, var(--color-red-500) 0%, var(--color-red-500) 35%, #fa4242 100%);
    --radial-gradient-yellow: radial-gradient(circle, var(--color-yellow-500) 0%, var(--color-yellow-500) 35%, var(--color-yellow-600) 100%);
    --radial-gradient-lightblue: radial-gradient(circle, var(--color-blue-200) 0%, var(--color-blue-200) 35%, #638dcd 100%);
  }
}
/**
 * Font Face
 * ----------------------------------------------------------------------------
 */
/**
 * Reset
 * ========================================================================== */
@layer base {
  @font-face {
    font-family: "Fira Code";
    font-style: normal;
    font-weight: 400;
    src: url("../fonts/fira-code/fira-code-v26-latin-regular.woff2") format("woff2"), url("../fonts/fira-code/fira-code-v26-latin-regular.woff") format("woff"), url("../fonts/fira-code/fira-code-v26-latin-regular.ttf") format("truetype"), url("../fonts/fira-code/fira-code-v26-latin-regular.svg#OpenSans") format("svg"); /* Legacy iOS */
    font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  }
  @font-face {
    font-family: "Newsreader";
    font-style: italic;
    font-weight: 400;
    src: url("../fonts/newsreader/newsreader-italic-400-latin.woff2") format("woff2"), url("../fonts/newsreader/newsreader-italic-400-latin.woff") format("woff"), url("../fonts/newsreader/newsreader-italic-400-latin.ttf") format("truetype"), url("../fonts/newsreader/newsreader-italic-400-latin.svg#OpenSans") format("svg"); /* Legacy iOS */
    font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  }
  @font-face {
    font-family: "Newsreader";
    font-style: italic;
    font-weight: 600;
    src: url("../fonts/newsreader/newsreader-italic-600-latin.woff2") format("woff2"), url("../fonts/newsreader/newsreader-italic-600-latin.woff") format("woff"), url("../fonts/newsreader/newsreader-italic-600-latin.ttf") format("truetype"), url("../fonts/newsreader/newsreader-italic-600-latin.svg#OpenSans") format("svg"); /* Legacy iOS */
    font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  }
  @font-face {
    font-family: "Newsreader";
    font-style: normal;
    font-weight: 400;
    src: url("../fonts/newsreader/newsreader-normal-400-latin.woff2") format("woff2"), url("../fonts/newsreader/newsreader-normal-400-latin.woff") format("woff"), url("../fonts/newsreader/newsreader-normal-400-latin.ttf") format("truetype"), url("../fonts/newsreader/newsreader-normal-400-latin.svg#OpenSans") format("svg"); /* Legacy iOS */
    font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  }
  @font-face {
    font-family: "Newsreader";
    font-style: normal;
    font-weight: 600;
    src: url("../fonts/newsreader/newsreader-normal-600-latin.woff2") format("woff2"), url("../fonts/newsreader/newsreader-normal-600-latin.woff") format("woff"), url("../fonts/newsreader/newsreader-normal-600-latin.ttf") format("truetype"), url("../fonts/newsreader/newsreader-normal-600-latin.svg#OpenSans") format("svg"); /* Legacy iOS */
    font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  }
  @font-face {
    font-family: "Public Sans";
    font-style: normal;
    font-weight: 400;
    src: url("../fonts/public-sans/public-sans-normal-400-latin.woff2") format("woff2"), url("../fonts/public-sans/public-sans-normal-400-latin.woff") format("woff"), url("../fonts/public-sans/public-sans-normal-400-latin.ttf") format("truetype"), url("../fonts/public-sans/public-sans-normal-400-latin.svg#OpenSans") format("svg"); /* Legacy iOS */
    font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  }
  @font-face {
    font-family: "Public Sans";
    font-style: normal;
    font-weight: 500;
    src: url("../fonts/public-sans/public-sans-normal-500-latin.woff2") format("woff2"), url("../fonts/public-sans/public-sans-normal-500-latin.woff") format("woff"), url("../fonts/public-sans/public-sans-normal-500-latin.ttf") format("truetype"), url("../fonts/public-sans/public-sans-normal-500-latin.svg#OpenSans") format("svg"); /* Legacy iOS */
    font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  }
  @font-face {
    font-family: "Public Sans";
    font-style: normal;
    font-weight: 600;
    src: url("../fonts/public-sans/public-sans-normal-600-latin.woff2") format("woff2"), url("../fonts/public-sans/public-sans-normal-600-latin.woff") format("woff"), url("../fonts/public-sans/public-sans-normal-600-latin.ttf") format("truetype"), url("../fonts/public-sans/public-sans-normal-600-latin.svg#OpenSans") format("svg"); /* Legacy iOS */
    font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  }
  @font-face {
    font-family: "Public Sans";
    font-style: italic;
    font-weight: 400;
    src: url("../fonts/public-sans/public-sans-italic-400-latin.woff2") format("woff2"), url("../fonts/public-sans/public-sans-italic-400-latin.woff") format("woff"), url("../fonts/public-sans/public-sans-italic-400-latin.ttf") format("truetype"), url("../fonts/public-sans/public-sans-italic-400-latin.svg#OpenSans") format("svg"); /* Legacy iOS */
    font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  }
  @font-face {
    font-family: "Coustard";
    font-style: normal;
    font-weight: 400;
    src: url("../fonts/coustard/coustard-normal-400-latin.woff2") format("woff2"), url("../fonts/coustard/coustard-normal-400-latin.woff") format("woff"), url("../fonts/coustard/coustard-normal-400-latin.ttf") format("truetype"), url("../fonts/coustard/coustard-normal-400-latin.svg#OpenSans") format("svg"); /* Legacy iOS */
    font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  }
}
/**
 *
 * Animations
 * ----------------------------------------------------------------------------
 */
@layer base {
  :root {
    --animation-bounce: bounce var(--duration-slow) var(--cubic-bezier-squish) infinite;
    --animation-pulse: pulse var(--duration-slow) var(--cubic-bezier-easeOut) infinite;
    --animation-slide-out-up: slide-out-up .3s var(--cubic-bezier-easeElastic) .6s 1 both;
  }
  @keyframes bounce {
    25% {
      transform: translateY(-20%);
    }
    40% {
      transform: translateY(-3%);
    }
    0%, 60%, 100% {
      transform: translateY(0);
    }
  }
  @keyframes pulse {
    50% {
      transform: scale(0.9, 0.9);
    }
  }
  @keyframes slide-out-up {
    to {
      transform: translateY(-100%);
    }
  }
}
@layer base {
  html {
    font-family: var(--body-font-family);
    font-weight: var(--body-fw);
    font-size: var(--body-fs);
    color: var(--body-text);
    background-color: var(--body-background);
    line-height: 1.1;
    accent-color: var(--color-accent-500);
    scroll-behavior: smooth;
    scroll-padding: var(--scroll-padding, 1.5rem);
  }
  body {
    font-family: inherit;
    color: inherit;
    background-color: transparent;
  }
  p {
    text-wrap: pretty;
    text-wrap: balance;
    max-inline-size: none;
  }
  a {
    color: var(--text-interactive);
    text-underline-offset: var(--link-underline-offset);
  }
  a:has(.icon) {
    text-underline-offset: var(--link-icon-underline-offset);
  }
  a .icon {
    text-decoration: none;
  }
  a[target=_blank]:not(.contact-social-link)::after {
    content: "\f35d";
    font-family: "Font Awesome 6 Free", sans-serif;
    font-weight: var(--font-weight-bold);
    font-size: 0.75em;
    margin-inline-start: 0.35em;
    display: inline-block;
  }
  a:is(:hover, :focus) {
    color: var(--text-interactive-hover, var(--text-interactive));
    background-color: var(--text-interactive-hover-bg, transparent);
    box-shadow: 0 0 0 max(3px, 0.25em) var(--text-interactive-hover-bg);
    border-radius: 2px;
  }
  :where(:not(fieldset, progress, meter)) {
    border-width: 0;
    border-style: solid;
    background-origin: border-box;
    background-repeat: no-repeat;
  }
  :where(a[href], area, button, input:not([type=text], [type=email], [type=number], [type=password], [type=""], [type=tel], [type=url]), label[for], select, summary, [tabindex]:not([tabindex*="-"], pre)) {
    cursor: pointer;
  }
  :where(a[href], area, button, input, label[for], select, summary, textarea, [tabindex]:not([tabindex*="-"])) {
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
  }
  :where(input, button, textarea, select),
  :where(input[type=file])::-webkit-file-upload-button {
    color: inherit;
    letter-spacing: inherit;
  }
  :where(:not(pre) > code, kbd) {
    white-space: nowrap;
  }
  :where(pre) {
    white-space: pre;
    min-inline-size: 0;
    writing-mode: lr;
    direction: ltr;
  }
  :where(:not(pre) > code) {
    writing-mode: lr;
  }
  :where(ul, ol) {
    line-height: 1.8;
  }
  .figure {
    margin: auto;
  }
  :where(figure) {
    display: grid;
    gap: var(--grid-gap);
    place-items: center;
  }
  :where(figure) > :where(figcaption) {
    font-size: var(--fs-400);
    text-wrap: balance;
  }
  /*
    Editor-placed pictures - an .article-gallery figure, a lone figure.pull-center, an image
    dropped straight into the running text.

    The fallback is the whole point: --card-border-radius is declared on .card and the card-*
    selectors only (tokens/components/_card.scss), never on :root. On a card-less page - a plain
    com_content article such as Pension & Aufzucht - the variable resolved to nothing, which makes
    border-radius invalid at computed-value time and leaves the corners square. This was the one
    consumer of that token in the whole template without a fallback.

    --border-radius, not the card's own 1rem: it is what every other editorial picture already
    carries - the gallery field, a mare's produce, the pedigree portraits (joomla/ui/_mixed.scss).
    Inside a card the token still resolves first, so nothing there changes.
  */
  :where(article, .mod-custom, figure) img {
    border-radius: var(--card-border-radius, var(--border-radius));
  }
  :where(mark) {
    background-color: var(--color-yellow-300);
  }
  :where(blockquote) {
    --blockquote-padding-inline-min: var(--spacing-200);
    --blockquote-margin-inline-min: var(--spacing-000);
    --blockquote-padding-inline-preferd: 6%;
    --blockquote-margin-inline-preferd: 0%;
    font-family: var(--font-family-code);
    font-size: calc(var(--font-size-400) * 1.025);
    line-height: 1.6;
    border-left: 1px solid var(--text-fg);
    padding-inline-start: clamp(var(--blockquote-padding-inline-min), var(--blockquote-padding-inline-preferd), var(--spacing-500));
    margin-inline-start: clamp(var(--blockquote-margin-inline-min), var(--blockquote-margin-inline-preferd), var(--spacing-600));
    margin-block: max(var(--spacing-300), 8%);
  }
  :where(blockquote) cite:last-child {
    text-transform: uppercase;
    text-align: end;
    display: block;
    margin-top: var(--spacing-100);
    font-size: calc(var(--font-size-400) * 0.99);
  }
  :where(blockquote) cite:last-child::before {
    content: "— ";
  }
  @media screen and (width >= 30em) {
    :where(blockquote) {
      --blockquote-padding-inline-min: var(--spacing-300);
      --blockquote-margin-inline-min: var(--spacing-200);
      --blockquote-padding-inline-preferd: 6%;
      --blockquote-margin-inline-preferd: 8%;
    }
  }
  @media screen and (width >= 45em) {
    :where(blockquote) {
      --blockquote-margin-inline-preferd: 12%;
    }
  }
  @media screen and (width >= 87.5em) {
    :where(blockquote) {
      --blockquote-padding-inline-preferd: 8%;
      --blockquote-margin-inline-preferd: 20%;
    }
  }
  :where(q) {
    quotes: "„" "“" "‘" "’";
  }
  :where(q) q {
    font-style: italic;
    font-style: oblique;
  }
  :where(q)::before, :where(q)::after {
    font-size: calc(var(--body-fs) * 1.025);
  }
  :where(q)::before {
    padding-inline-start: var(--spacing-025);
  }
  :where(q)::after {
    padding-inline-end: var(--spacing-025);
  }
  :where(details) {
    --padding-inline: var(--content-padding-inline-default, var(--spacing-075));
    display: block;
    margin-block: var(--spacing-200) 0;
    border-radius: var(--border-radius);
    background-color: transparent;
  }
  :where(details) > * {
    padding: var(--padding-inline);
  }
  :where(details) summary {
    cursor: pointer;
    font-weight: var(--font-weight-bold);
    border: var(--border-width) solid var(--border-color);
    list-style: none;
    font-size: x-large;
    display: flex;
    align-items: center;
  }
  :where(details) summary::after {
    content: "";
    flex: none;
    inline-size: 1.25em;
    block-size: 1.25em;
    margin-inline: auto var(--spacing-100);
    background-color: currentcolor;
    mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E") no-repeat center/contain;
    transition: rotate 200ms ease;
  }
  @media (prefers-reduced-motion: reduce) {
    :where(details) summary::after {
      transition: none;
    }
  }
  :where(details)[open] summary::after {
    rotate: 180deg;
  }
  @media screen and (width >= 30em) {
    :where(details) {
      --padding-inline: calc(var(--content-padding-inline-default) * 1.5);
    }
  }
  nav details {
    --padding-inline: 0;
    margin-block: 0;
    border-radius: 0;
    background-color: transparent;
  }
  nav details > * {
    padding: 0;
  }
  nav details summary {
    font-weight: normal;
    border: none;
    list-style: initial;
    font-size: inherit;
    display: block;
    padding: initial;
  }
  nav details summary::after {
    content: none;
  }
  nav details[open] summary::after {
    content: none;
    rotate: none;
  }
  .skip-link {
    position: absolute;
    transform: translateY(-120%);
    transition: transform var(--duration-moderate) var(--cubic-bezier-easeInOutCubic);
  }
  .skip-link:focus {
    transform: translateY(0);
  }
}
@layer base {
  @supports selector(::details-content) {
    :where(details) {
      interpolate-size: allow-keywords;
    }
    :where(details)::details-content {
      block-size: 0;
      overflow-x: visible;
      overflow-y: clip;
      overflow-clip-margin: var(--spacing-100);
      transition: block-size 200ms ease, content-visibility 200ms allow-discrete;
    }
    :where(details[open])::details-content {
      block-size: auto;
    }
    :where(nav details, jcrafts-tab[data-tabs] > details)::details-content {
      transition: none;
    }
    @media (prefers-reduced-motion: reduce) {
      :where(details)::details-content {
        transition: none;
      }
    }
  }
}
@layer base {
  :root {
    --form-input-option-dimension: 1.5em;
    --form-input-option-control-color: var(--form-control-color, accentColor);
    --form-feedback-font-size: var(--font-size-200);
    --form-feedback-margin-top: var(--spacing-025);
    --form-progress-block-size: 0.75em;
    --form-progress-inline-size: min(20rem, 100%);
    --form-progress-color: var(--color-accent-500);
  }
  fieldset {
    margin-inline: 0;
    padding-inline: 0;
    border: none;
  }
  :is(input, textarea, select) {
    background-color: var(--color-surface-neutral-bg);
    color: var(--form-input-color-fg);
    padding: var(--form-input-padding-block) var(--form-input-padding-inline);
    border: var(--form-input-border-width) var(--form-input-border-style) var(--form-input-border-color);
    border-radius: var(--form-input-border-radius);
  }
  input[type=text],
  input[type=email],
  input[type=password],
  input[type=url] {
    width: 100%;
  }
  textarea {
    inline-size: 100%;
    max-inline-size: 100%;
    resize: vertical;
  }
  input[type=text] {
    min-width: 34ch;
    max-inline-size: 100%;
    inline-size: 100%;
    flex-grow: 1;
  }
  input[type=file] {
    max-inline-size: 100%;
    cursor: pointer;
  }
  input[type=file]::file-selector-button {
    margin-inline-end: var(--form-gap);
    padding-block: var(--form-input-padding-block);
    padding-inline: var(--form-input-padding-inline);
    border: var(--form-input-border-width) var(--form-input-border-style) var(--form-input-border-color);
    border-radius: var(--form-input-border-radius);
    background-color: var(--body-background);
    color: inherit;
    font: inherit;
    cursor: pointer;
  }
  input[type=file]:is(:hover, :focus-visible)::file-selector-button {
    background-color: var(--text-interactive-hover-bg);
    color: var(--text-interactive-hover);
  }
  input[type=file]:disabled {
    cursor: not-allowed;
    opacity: var(--opacity-050);
  }
  input[type=file]:disabled::file-selector-button {
    cursor: not-allowed;
  }
  :is(progress, meter) {
    appearance: none;
    display: inline-block;
    vertical-align: middle;
    inline-size: var(--form-progress-inline-size);
    block-size: var(--form-progress-block-size);
    border: none;
    border-radius: var(--form-input-border-radius);
    background-color: var(--form-input-color-bg);
    overflow: hidden;
  }
  progress::-webkit-progress-bar {
    background-color: var(--form-input-color-bg);
  }
  progress::-webkit-progress-value {
    background-color: var(--form-progress-color);
  }
  progress::-moz-progress-bar {
    background-color: var(--form-progress-color);
  }
  progress:indeterminate {
    background-image: linear-gradient(90deg, transparent 0 35%, var(--form-progress-color) 35% 65%, transparent 65%);
    background-size: 250% 100%;
    background-position: 100% 0;
  }
  progress:indeterminate::-webkit-progress-bar {
    background-color: transparent;
  }
  progress:indeterminate::-moz-progress-bar {
    background-color: transparent;
  }
  @media (prefers-reduced-motion: no-preference) {
    progress:indeterminate {
      animation: progress-indeterminate 1.4s linear infinite;
    }
  }
  @keyframes progress-indeterminate {
    to {
      background-position: 0 0;
    }
  }
  meter::-webkit-meter-bar {
    block-size: 100%;
    border: none;
    border-radius: inherit;
    background: var(--form-input-color-bg);
  }
  meter::-webkit-meter-optimum-value {
    background: var(--color-success);
  }
  meter::-webkit-meter-suboptimum-value {
    background: var(--color-warning);
  }
  meter::-webkit-meter-even-less-good-value {
    background: var(--color-danger);
  }
  meter:-moz-meter-optimum::-moz-meter-bar {
    background: var(--color-success);
  }
  meter:-moz-meter-sub-optimum::-moz-meter-bar {
    background: var(--color-warning);
  }
  meter:-moz-meter-sub-sub-optimum::-moz-meter-bar {
    background: var(--color-danger);
  }
  :where(output) {
    font-family: var(--font-family-mono);
    font-variant-numeric: tabular-nums;
  }
  input[type=color] {
    padding: var(--spacing-025);
    border: none;
  }
  input[type=checkbox],
  input[type=radio] {
    appearance: none;
    /* Not removed via appearance */
    margin: 0;
    padding: 0;
    font: inherit;
    color: currentColor;
    width: var(--form-input-option-dimension);
    height: var(--form-input-option-dimension);
    border: 0.15em solid currentColor;
    border-radius: 0.15em;
    transform: translateY(-0.075em);
    display: grid;
    place-content: center;
  }
  input[type=checkbox]::before,
  input[type=radio]::before {
    content: "\f00c";
    font-family: "Font Awesome 6 Free";
    font-weight: var(--font-weight-bold);
    display: flex;
    align-items: center;
    justify-content: center;
    transform: scale(0);
    transition: transform 0.15s ease-in-out;
    color: var(--text-interactive-hover);
  }
  input[type=checkbox]:checked,
  input[type=radio]:checked {
    background-color: var(--text-interactive-hover-bg);
    border-color: var(--text-interactive-hover-bg);
  }
  input[type=checkbox]:checked::before,
  input[type=radio]:checked::before {
    transform: scale(1);
  }
  input[type=checkbox]:disabled,
  input[type=radio]:disabled {
    color: color-mix(in srgb, currentColor 35%, transparent);
  }
  input[type=radio] {
    border-radius: 50%;
  }
  label {
    color: var(--form-label-text);
    margin-bottom: var(--form-label-margin-bottom);
    display: flex;
    align-items: baseline;
    flex-wrap: wrap;
  }
  label:has(input[type=checkbox]), label:has(input[type=radio]) {
    display: grid;
    grid-template-columns: 1em auto;
    gap: var(--form-label-checkbox-gap, calc(var(--form-input-option-dimension) * 0.75));
    align-items: center;
  }
  label:has(input[type=checkbox]:disabled), label:has(input[type=radio]:disabled) {
    color: color-mix(in srgb, currentColor 65%, transparent);
  }
  label:has(input[type=checkbox]:not(:checked):disabled), label:has(input[type=radio]:not(:checked):disabled) {
    text-decoration: line-through;
    text-decoration-thickness: 0.05em;
    text-decoration-color: color-mix(in srgb, currentColor 50%, transparent);
  }
  label > input,
  label > textarea,
  label > select {
    margin-left: 0.75em;
  }
  label > input ~ small,
  label > textarea ~ small,
  label > select ~ small {
    margin-top: 0.5em;
    flex-basis: 100%;
  }
  ::placeholder {
    color: var(--form-input-color-placeholder);
  }
  :is(input, textarea, select):disabled {
    color: color-mix(in oklab, currentcolor 55%, transparent);
    border-style: dashed;
    cursor: not-allowed;
  }
  :is(input, textarea):read-only:not(:disabled, [type=checkbox], [type=radio], [type=range], [type=color], [type=file]) {
    background-color: transparent;
    border-style: dotted;
  }
  .form-help {
    color: color-mix(in oklab, currentcolor 75%, transparent);
    font-size: var(--form-feedback-font-size);
  }
  .form-error,
  .error > small {
    color: var(--form-invalid-text);
    font-size: var(--form-feedback-font-size);
  }
  .form-control {
    font-family: var(--form-font-family, inherit);
    font-size: var(--form-font-size, inherit);
    font-weight: var(--form-font-weight, inherit);
    line-height: var(--form-line-height, var(--body-line-height));
    display: grid;
    grid-template-columns: 1em auto;
    gap: var(--form-gap, 0.5em);
  }
  input.form-control,
  textarea.form-control,
  select.form-control {
    display: block;
    background-color: var(--color-surface-neutral-bg);
    border: var(--form-input-border-width) var(--form-input-border-style) var(--form-input-border-color);
    border-radius: var(--form-input-border-radius);
  }
  .form-group {
    margin-top: var(--form-margin-block);
  }
  .control-group {
    position: relative;
    margin-block: var(--form-margin-block);
    display: flex;
    gap: calc(var(--form-gap) * 2);
    flex-wrap: wrap;
    max-width: 100%;
  }
  .control-group:has(:not(input, textarea, select)) {
    margin-block: calc(var(--form-margin-block) * 0.5);
  }
  .control-group + .control-group:has(input, textarea, select) {
    margin-top: calc(var(--form-margin-block) + var(--form-feedback-margin-top) + 1.2 * var(--form-feedback-font-size));
  }
  .control-label {
    flex-basis: 200px;
    flex-shrink: 0;
  }
  .controls {
    flex-grow: 1;
  }
  .controls:not(:has(.input-group)) button + button {
    margin-top: var(--form-margin-block);
  }
  .form-check {
    display: inline-flex;
    gap: calc(var(--form-gap) * 2);
    align-items: baseline;
    margin-block: var(--form-margin-block);
  }
  .input-group {
    display: flex;
    align-items: stretch;
    max-inline-size: 100%;
  }
  .input-group > input, .input-group > textarea, .input-group > select {
    flex: 1 1 auto;
    min-width: 0;
    inline-size: auto;
  }
  .input-group > .input-group-text {
    display: flex;
    align-items: center;
    flex: none;
    padding-block: var(--form-input-padding-block);
    padding-inline: var(--form-input-padding-inline);
    border: var(--form-input-border-width) var(--form-input-border-style) var(--form-input-border-color);
    background-color: var(--form-input-color-bg);
    color: color-mix(in oklab, var(--form-input-color-fg) 75%, transparent);
    white-space: nowrap;
  }
  .input-group > :is(.btn, button) {
    flex: none;
    margin: 0;
  }
  .input-group > :not(:first-child) {
    margin-inline-start: calc(var(--form-input-border-width) * -1);
    border-start-start-radius: 0;
    border-end-start-radius: 0;
  }
  .input-group > :not(:last-child) {
    border-start-end-radius: 0;
    border-end-end-radius: 0;
  }
  .plg_system_webauthn_login_button {
    gap: var(--spacing-050);
  }
  .plg_system_webauthn_login_button svg {
    inline-size: 1em;
    block-size: 1em;
    fill: currentcolor;
  }
  .com-users-login__form fieldset {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    column-gap: var(--form-gap);
  }
  .com-users-login__form fieldset > * {
    flex-basis: 100%;
  }
  .com-users-login__form fieldset > .com-users-login__remember {
    display: flex;
    justify-content: flex-end;
  }
  .com-users-login__form fieldset > .com-users-login__submit {
    flex-basis: auto;
  }
  .com-users-login__options {
    display: flex;
    flex-wrap: wrap;
    gap: var(--spacing-050) var(--spacing-150);
    margin-block-start: var(--spacing-100);
  }
  .page-header:has(+ form) {
    margin-block-end: var(--spacing-150);
  }
  .form-inline {
    display: flex;
    flex-flow: row wrap;
    align-items: center;
    gap: var(--grid-gap);
  }
  select option {
    background-color: var(--form-input-color-bg);
    color: var(--form-input-color-fg);
    padding: var(--spacing-025);
  }
  .form-select {
    appearance: none;
    padding-inline-end: calc(var(--form-input-padding-inline) * 2.5);
    background-repeat: no-repeat;
    background-position: right var(--form-input-padding-inline) center;
    background-size: 0.7em;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='%2314171a' d='M8 11 2 5h12z'/%3E%3C/svg%3E");
  }
  /*
    Validation states, as media/system/js/fields/validate.js leaves them behind. Until this block
    existed none of these classes were styled anywhere, which is why the validator looked broken:
    it was marking the fields all along, invisibly.

    What it sets when a field fails: .invalid and .form-control-danger on the control plus
    aria-invalid, .has-danger on the surrounding .controls, .invalid on the label, and a
    span.form-control-feedback carrying the message appended into that label. On success the same
    places get .valid / .form-control-success / .has-success instead.
  */
  :is(input, textarea, select):is(.invalid, [aria-invalid=true], :user-invalid),
  .error > :is(input, textarea, select) {
    border-color: var(--form-invalid-border-color);
  }
  :is(input, textarea, select).valid,
  .valid > :is(input, textarea, select) {
    border-color: var(--form-valid-border-color);
  }
  label.invalid {
    color: var(--form-invalid-text);
  }
  .form-control-feedback {
    position: absolute;
    inset-block-start: 100%;
    inset-inline-start: 0;
    margin-block-start: var(--form-feedback-margin-top);
    color: var(--form-invalid-text);
    font-size: var(--form-feedback-font-size);
    line-height: 1.2;
  }
  .star {
    color: var(--form-invalid-text);
  }
}
@layer componentVariant {
  .input-group > :is(.btn, button) {
    align-items: center;
  }
  .input-group > :is(.btn, button):not(:hover, :focus, :active) {
    border-color: var(--form-input-border-color);
    background-color: var(--color-surface-neutral-bg);
  }
  .input-group > :is(.btn, button):not(:first-child) {
    border-start-start-radius: 0;
    border-end-start-radius: 0;
  }
  .input-group > :is(.btn, button):not(:last-child) {
    border-start-end-radius: 0;
    border-end-end-radius: 0;
  }
}
.controls button.plg_system_webauthn_login_button {
  padding-inline: var(--btn-padding);
  padding-block: calc(var(--btn-padding) * 0.75);
}

@layer base {
  :is(a, button, input, textarea, summary):focus {
    outline: var(--focus-outline-width) var(--focus-outline-style) var(--focus-outline-color);
    outline-offset: var(--focus-outline-offset, var(--focus-outline-width));
  }
  :is(a, button, input, textarea, summary):focus-visible {
    outline: var(--focus-outline-width) var(--focus-outline-style) var(--focus-outline-color);
    outline-offset: var(--focus-outline-offset, var(--focus-outline-width));
    transition: outline-offset 200ms ease;
  }
  :is(a, button, input, textarea, summary):focus:not(:focus-visible) {
    outline: none;
  }
  a:not(.btn, [class^=btn-], [class*=" btn-"]):focus-visible {
    --focus-outline-offset: min(10px, 0.5em);
  }
  @media (prefers-reduced-motion: reduce) {
    :is(a, button, input, textarea, summary):focus-visible {
      transition: none;
    }
  }
}
@layer base {
  .icon-menu {
    padding-block: var(--spacing-050);
    padding-inline: var(--spacing-075);
  }
}
/**
 * Components
 * ==========================================================================
 */
/**
 * Headings
 * ----------------------------------------------------------------------------
 */
@layer base {
  :where(h1, .h1, h2, .h2, h3, .h3, h4, .h4, h5, .h5, h6, .h6) {
    --heading-font-family: var(--font-family-heading);
    --heading-font-size: var(--font-size-500);
    --heading-font-weight: var(--font-weight-regular);
    --heading-color: var(--color-primary-600);
    --heading-line-height: 1.5;
    --heading-letter-spacing: var(--spacing-000);
    --heading-text-transform: normal;
  }
}
@layer base {
  h1, .h1 {
    --heading-font-size: var(--font-size-900);
  }
  h2, .h2 {
    --heading-font-size: var(--font-size-700);
  }
  h3, .h3 {
    --heading-font-size: var(--font-size-600);
    --heading-color: var(--color-primary-600);
  }
  h4, .h4 {
    --heading-font-size: var(--font-size-500);
  }
}
@layer base {
  :where(h1, .h1, h2, .h2, h3, .h3, h4, .h4, h5, .h5, h6, .h6) {
    font-family: var(--heading-font-family);
    font-size: var(--heading-font-size);
    font-weight: var(--heading-font-weight);
    color: var(--heading-color);
    line-height: var(--heading-line-height);
    letter-spacing: var(--heading-letter-spacing);
    text-transform: var(--heading-text-transform);
  }
}
/**
 * Abbreviation - <abbr> and its expansion on touch
 * ----------------------------------------------------------------------------
 */
@layer component {
  .abbr, [class*=" abbr-"], [class^=abbr-], [class$=" abbr-"] {
    --abbr-marker-color: var(--color-neutral-400);
    --abbr-tip-bg: var(--color-neutral-900);
    --abbr-tip-fg: var(--color-neutral-000);
    --abbr-tip-border-color: var(--color-neutral-900);
    --abbr-tip-padding-block: var(--spacing-050);
    --abbr-tip-padding-inline: var(--spacing-100);
    --abbr-tip-font-size: var(--font-size-300);
    --abbr-tip-max-inline-size: 32ch;
    --abbr-tip-gap: var(--spacing-050);
    --abbr-tip-shadow: var(--shadow-2);
  }
}
@layer base {
  :where(abbr[title], .abbr-tip abbr) {
    text-decoration: underline dotted var(--abbr-marker-color, var(--border-color));
    text-underline-offset: 0.2em;
    cursor: help;
  }
}
@layer component {
  .abbr-tip {
    display: inline;
  }
  .abbr-tip__trigger {
    padding: 0;
    border: 0;
    margin: 0;
    background: none;
    color: inherit;
    font: inherit;
    cursor: help;
  }
  .abbr-tip__text {
    inline-size: max-content;
    max-inline-size: min(var(--abbr-tip-max-inline-size), 100vw - var(--spacing-200));
    padding: var(--abbr-tip-padding-block) var(--abbr-tip-padding-inline);
    border: var(--border-width) solid var(--abbr-tip-border-color);
    border-radius: var(--border-radius);
    background-color: var(--abbr-tip-bg);
    box-shadow: var(--abbr-tip-shadow);
    color: var(--abbr-tip-fg);
    font-size: var(--abbr-tip-font-size);
    line-height: 1.4;
    text-wrap: pretty;
  }
  @supports (anchor-name: --abbr-tip) {
    .abbr-tip__text {
      position: absolute;
      position-area: block-start span-inline-end;
      position-try-fallbacks: flip-block, flip-inline;
      inset: auto;
      margin: var(--abbr-tip-gap);
    }
  }
  @supports not (anchor-name: --abbr-tip) {
    .abbr-tip__text {
      position: fixed;
      inset: auto 0 0;
      inline-size: auto;
      max-inline-size: none;
      border-inline: 0;
      border-block-end: 0;
      border-radius: var(--border-radius) var(--border-radius) 0 0;
      margin: 0;
    }
  }
}
/**
 * Badge - a short status word
 * ----------------------------------------------------------------------------
 */
@layer component {
  .badge, [class*=" badge-"], [class^=badge-], [class$=" badge-"] {
    --badge-font-size: var(--font-size-200);
    --badge-font-weight: var(--font-weight-bold);
    --badge-letter-spacing: 0.04em;
    --badge-padding-block: var(--spacing-025);
    --badge-padding-inline: var(--spacing-100);
    --badge-border-radius: var(--border-radius);
    --badge-background-color: var(--color-neutral-800);
    --badge-text-color: var(--color-neutral-50);
  }
}
@layer componentVariant {
  .badge-success {
    --badge-background-color: var(--color-success);
  }
  .badge-warning {
    --badge-background-color: var(--color-warning);
  }
  .badge-muted {
    --badge-background-color: var(--color-neutral-800);
  }
}
@layer component {
  /*
    A short status word set apart from the text around it.

    Not a button: nothing here is clickable. That distinction matters more than it looks - the
    sale status used to be built by hand out of raw colour tokens, and the tags beside it came
    through as .btn .btn-info, so the same page carried two different treatments of the same
    idea, neither of them from the design system.
  */
  .badge {
    display: inline-block;
    padding-block: var(--badge-padding-block);
    padding-inline: var(--badge-padding-inline);
    border-radius: var(--badge-border-radius);
    background-color: var(--badge-background-color);
    color: var(--badge-text-color);
    font-size: var(--badge-font-size);
    font-weight: var(--badge-font-weight);
    letter-spacing: var(--badge-letter-spacing);
    text-transform: uppercase;
  }
}
/**
 * Buttons
 * ----------------------------------------------------------------------------
 */
@layer component {
  .btn, [class*=" btn-"], [class^=btn-], [class$=" btn-"] {
    --btn-font-family: var(--font-family-sans);
    --btn-font-size: var(--font-size-200);
    --btn-font-weight: inherit;
    --btn-font-transform: uppercase;
    --btn-padding: var(--spacing-100);
    --btn-background-color: var(--color-neutral-700);
    --btn-background-hover-color: var(--color-neutral-500);
    --btn-background-active-color: var(--color-neutral-500);
    --btn-text-color: var(--color-neutral-50);
    --btn-text-hover-color: var(--color-neutral-800);
    --btn-text-active-color: var(--color-neutral-800);
    --btn-text-transform: none;
    --btn-border-color: var(--color-neutral-700);
    --btn-border-hover-color: var(--color-neutral-500);
    --btn-border-active-color: var(--color-neutral-500);
    --btn-border-width: 2.5px;
    --btn-border-radius: var(--border-radius);
    --btn-border-style: solid;
  }
}
@layer componentVariant {
  .btn-default {
    --btn-background-color: var(--btn-base-background-color);
    --btn-background-hover-color: var(--btn-base-background-hover-color);
    --btn-background-active-color: var(--btn-base-background-active-color);
    --btn-text-color: var(--color-neutral-50);
    --btn-text-hover-color: var(--color-neutral-800);
    --btn-text-active-color: var(--color-neutral-800);
    --btn-border-color: var(--btn-base-border-color);
    --btn-border-hover-color: var(--btn-base-border-hover-color);
    --btn-border-active-color: var(--btn-base-border-active-color);
  }
  .btn-primary {
    --btn-background-color: var(--color-accent-600);
    --btn-background-hover-color: var(--color-accent-700);
    --btn-background-active-color: var(--color-accent-800);
    --btn-text-color: var(--color-neutral-50);
    --btn-text-hover-color: var(--color-neutral-50);
    --btn-text-active-color: var(--color-neutral-50);
    --btn-border-color: #00000000;
    --btn-border-hover-color: #00000000;
    --btn-border-active-color: #00000000;
  }
  .btn-secondary {
    --btn-background-color: #00000000;
    --btn-background-hover-color: var(--color-accent-600);
    --btn-background-active-color: var(--color-accent-700);
    --btn-text-color: var(--color-accent-600);
    --btn-text-hover-color: var(--color-neutral-50);
    --btn-text-active-color: var(--color-neutral-50);
    --btn-border-color: var(--color-accent-600);
    --btn-border-hover-color: var(--color-accent-600);
    --btn-border-active-color: var(--color-accent-700);
  }
  .btn-danger {
    --btn-background-color: var(--color-surface-red-bg);
    --btn-background-hover-color: var(--color-red-700);
    --btn-background-active-color: var(--color-red-700);
    --btn-text-color: var(--color-surface-red-fg);
    --btn-text-hover-color: var(--color-neutral-50);
    --btn-text-active-color: var(--color-neutral-50);
    --btn-border-color: var(--color-surface-red-bg);
    --btn-border-hover-color: var(--color-red-700);
    --btn-border-active-color: var(--color-red-700);
  }
  .btn-success {
    --btn-background-color: var(--color-surface-green-bg);
    --btn-background-hover-color: var(--color-green-400);
    --btn-background-active-color: var(--color-green-400);
    --btn-text-color: var(--color-surface-green-fg);
    --btn-text-hover-color: var(--color-surface-green-fg);
    --btn-text-active-color: var(--color-surface-green-fg);
    --btn-border-color: var(--color-surface-green-bg);
    --btn-border-hover-color: var(--color-green-400);
    --btn-border-active-color: var(--color-green-400);
  }
  .btn-info {
    --btn-background-color: var(--color-cyan-500);
    --btn-background-hover-color: var(--color-cyan-400);
    --btn-background-active-color: var(--color-cyan-400);
    --btn-text-color: var(--color-neutral-800);
    --btn-text-hover-color: var(--color-neutral-800);
    --btn-text-active-color: var(--color-neutral-800);
    --btn-border-color: var(--color-cyan-500);
    --btn-border-hover-color: var(--color-cyan-400);
    --btn-border-active-color: var(--color-cyan-400);
  }
  .btn-warning {
    --btn-background-color: var(--color-orange-500);
    --btn-background-hover-color: var(--color-orange-700);
    --btn-background-active-color: var(--color-orange-700);
    --btn-text-color: var(--color-neutral-800);
    --btn-text-hover-color: var(--color-neutral-50);
    --btn-text-active-color: var(--color-neutral-50);
    --btn-border-color: var(--color-orange-500);
    --btn-border-hover-color: var(--color-orange-700);
    --btn-border-active-color: var(--color-orange-700);
  }
  .btn-link {
    --btn-background-color: #00000000;
    --btn-background-hover-color: var(--text-interactive-hover-bg);
    --btn-background-active-color: var(--text-interactive-hover-bg);
    --btn-text-color: var(--text-interactive);
    --btn-text-hover-color: var(--text-interactive-hover);
    --btn-text-active-color: var(--text-interactive-hover);
    --btn-border-color: #00000000;
    --btn-border-hover-color: #00000000;
    --btn-border-active-color: #00000000;
    --btn-border-width: 0;
    --btn-font-size: var(--body-fs);
    --btn-font-family: var(--body-font-family);
    --btn-font-weight: var(--body-fw);
    --btn-padding: var(--spacing-000);
  }
  .btn-large {
    --btn-font-size: var(--font-size-700);
    --btn-padding: var(--spacing-150);
  }
  .btn-small {
    --btn-font-size: var(--font-size-400);
    --btn-padding: var(--spacing-075);
  }
}
@layer component {
  .btn:not(.btn-group, .btn-toolbar), button:not(.btn-group, .btn-toolbar), [class*=" btn-"]:not(.btn-group, .btn-toolbar), [class^=btn-]:not(.btn-group, .btn-toolbar), [class$=" btn-"]:not(.btn-group, .btn-toolbar) {
    display: inline-flex;
    align-items: center;
    gap: var(--spacing-050);
    white-space: nowrap;
    position: relative;
    justify-content: center;
    cursor: pointer;
    text-decoration: none;
    line-height: 1;
    font-family: var(--btn-font-family);
    font-size: var(--btn-font-size);
    font-weight: var(--btn-font-weight);
    text-transform: var(--btn-text-transform);
    padding-inline: var(--btn-padding);
    padding-block: calc(var(--btn-padding) * 0.75);
    transition: 275ms ease;
    background-color: var(--btn-background-color);
    color: var(--btn-text-color);
    border: var(--btn-border-width) var(--btn-border-style) var(--btn-border-color);
    border-radius: var(--btn-border-radius);
  }
  .btn:not(.btn-group, .btn-toolbar):hover, .btn:not(.btn-group, .btn-toolbar):focus-visible, button:not(.btn-group, .btn-toolbar):hover, button:not(.btn-group, .btn-toolbar):focus-visible, [class*=" btn-"]:not(.btn-group, .btn-toolbar):hover, [class*=" btn-"]:not(.btn-group, .btn-toolbar):focus-visible, [class^=btn-]:not(.btn-group, .btn-toolbar):hover, [class^=btn-]:not(.btn-group, .btn-toolbar):focus-visible, [class$=" btn-"]:not(.btn-group, .btn-toolbar):hover, [class$=" btn-"]:not(.btn-group, .btn-toolbar):focus-visible {
    background-color: var(--btn-background-hover-color);
    color: var(--btn-text-hover-color);
    border-color: var(--btn-border-hover-color);
  }
  .btn:not(.btn-group, .btn-toolbar):active, button:not(.btn-group, .btn-toolbar):active, [class*=" btn-"]:not(.btn-group, .btn-toolbar):active, [class^=btn-]:not(.btn-group, .btn-toolbar):active, [class$=" btn-"]:not(.btn-group, .btn-toolbar):active {
    background-color: var(--btn-background-active-color);
    color: var(--btn-text-active-color);
    border-color: var(--btn-border-active-color);
  }
  a.btn:hover, a.btn:focus, a[class*=" btn-"]:hover, a[class*=" btn-"]:focus, a[class^=btn-]:hover, a[class^=btn-]:focus, a[class$=" btn-"]:hover, a[class$=" btn-"]:focus {
    box-shadow: none;
  }
}
@layer componentVariant {
  .btn-link {
    text-decoration: underline;
    text-decoration-skip-ink: auto;
    text-underline-offset: var(--link-underline-offset);
  }
  .btn-link:is(:hover, :focus) {
    border: max(3px, 0.08em) solid var(--btn-background-active-color);
    border-radius: 2px;
  }
  .btn-link:has(.icon) {
    text-underline-offset: var(--link-icon-underline-offset);
  }
  .btn-link .icon {
    text-decoration: none;
  }
  .btn-group {
    display: flex;
    gap: var(--spacing-200);
  }
}
@layer component {
  .readmore .btn {
    max-inline-size: 100%;
    align-items: center;
    text-align: start;
    white-space: normal;
    line-height: 1.3;
  }
}
@layer componentVariant {
  .btn.btn-sm {
    --btn-padding: var(--spacing-050);
    font-size: var(--font-size-200);
  }
}
/**
 * Cards
 * ----------------------------------------------------------------------------
 */
@layer component {
  .card, [class*=" card-"], [class^=card-], [class$=" card-"] {
    --card-gap: var(--spacing-150);
    --card-border-radius: var(--spacing-100);
    --card-border-color: #ffffff00;
    --card-border-width: 0;
    --card-text-size: 1rem;
    --card-text-color: var(--color-neutral-900);
    --card-bg-color: var(--background-color);
    --card-box-shadow: var(--shadow-2);
  }
}
@layer componentVariant {
  .card-primary {
    --card-text-color: var(--color-surface-primary-fg);
    --card-bg-color: var(--color-surface-primary-bg);
  }
  .card-secondary {
    --card-text-color: var(--color-surface-secondary-fg);
    --card-bg-color: var(--color-surface-secondary-bg);
  }
  .card-green {
    --card-text-color: var(--color-surface-green-fg);
    --card-bg-color: var(--color-surface-green-bg);
  }
  .card-red {
    --card-text-color: var(--color-surface-red-fg);
    --card-bg-color: var(--color-surface-red-bg);
  }
  .card-cyan {
    --card-text-color: var(--color-surface-cyan-fg);
    --card-bg-color: var(--color-surface-cyan-bg);
  }
  .card-article {
    --card-gap: var(--spacing-125);
    --card-border-radius: 0.25rem;
    --card-border-color: var(--color-grey-300);
    --card-border-width: 1px;
    --card-text-size: var(--font-size-400);
    --card-text-color: var(--color-neutral-800);
    --card-title-size: var(--font-size-600);
    --card-title-color: var(--color-neutral-800);
    --card-title-weight: 600;
    --card-date-size: var(--font-size-200);
    --card-date-color: var(--color-neutral-600);
    --card-bg-color: var(--color-neutral-000);
    --card-hover-bg-color: var(--color-neutral-50);
    --card-hover-border-color: var(--color-primary-500);
    --card-box-shadow: 0 2px 4px 0 #0000001a;
    --card-padding: var(--spacing-150);
  }
}
@media (prefers-color-scheme: light) {
  @layer component {
    .card, [class*=" card-"], [class^=card-], [class$=" card-"] {
      --card-text-color: var(--color-neutral-900);
    }
  }
}
@layer component {
  [data-mode=light] .card, [data-mode=light] [class*=" card-"], [data-mode=light] [class^=card-], [data-mode=light] [class$=" card-"] {
    --card-text-color: var(--color-neutral-900);
  }
}

@layer component {
  .card, [class^=card-], [class*=card-] {
    --margin: var(--card-gap, var(--grid-gap));
    display: flex;
    flex-direction: column;
    gap: var(--card-gap, var(--grid-gap));
    box-shadow: var(--card-box-shadow);
    border-radius: var(--card-border-radius, var(--border-radius));
    background-color: var(--card-bg-color);
    color: var(--card-text-color);
    font-size: var(--card-text-size, inherit);
    width: min(50ch, 90%);
  }
  .card :is(h1, h2, h3, h4, h5, h6,
  .h1, .h2, .h3, .h4, .h5, .h6), [class^=card-] :is(h1, h2, h3, h4, h5, h6,
  .h1, .h2, .h3, .h4, .h5, .h6), [class*=card-] :is(h1, h2, h3, h4, h5, h6,
  .h1, .h2, .h3, .h4, .h5, .h6) {
    --heading-color: var(--card-text-color, var(--heading-color));
  }
  .card > img, [class^=card-] > img, [class*=card-] > img {
    aspect-ratio: var(--card-img-ratio);
    object-fit: cover;
    width: 100%;
  }
  .card > img:first-child, [class^=card-] > img:first-child, [class*=card-] > img:first-child {
    border-radius: var(--card-border-radius, var(--border-radius)) var(--card-border-radius, var(--border-radius)) 0 0;
  }
  .card > img:last-child, [class^=card-] > img:last-child, [class*=card-] > img:last-child {
    border-radius: 0 0 var(--card-border-radius, var(--border-radius)) var(--card-border-radius, var(--border-radius));
    margin-top: auto;
  }
  .card > :not(img, picture, figure), [class^=card-] > :not(img, picture, figure), [class*=card-] > :not(img, picture, figure) {
    overflow-wrap: break-word;
    hyphens: auto;
    /* Prevent typography "orphans" */
    text-wrap: pretty;
    margin-left: var(--margin);
    margin-right: var(--margin);
  }
  .card > :not(img, picture, figure):first-child, [class^=card-] > :not(img, picture, figure):first-child, [class*=card-] > :not(img, picture, figure):first-child {
    margin-top: var(--margin);
  }
  .card > :last-of-type:not(img, picture, figure, h1, h2, h3, h4), [class^=card-] > :last-of-type:not(img, picture, figure, h1, h2, h3, h4), [class*=card-] > :last-of-type:not(img, picture, figure, h1, h2, h3, h4) {
    margin-bottom: var(--margin);
  }
  .card > a, [class^=card-] > a, [class*=card-] > a {
    align-self: start;
  }
}
/*
  The media column the animal cards use, as a class rather than an inline style. Deliberately not
  named card-* : the component above matches [class*="card-"], so such a name would turn whatever
  carries it - a list container, say - into a card of its own, width: min(50ch, 90%) included.
*/
.media-wide {
  --card-media-width: 28rem;
  --card-media-max-height: 30rem;
}

.mod-articles-forsale {
  grid-template-columns: 1fr;
}
@media (width >= 60em) {
  .mod-articles-forsale {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
.mod-articles-forsale {
  margin-block: var(--spacing-300);
}
.mod-articles-forsale > .card {
  width: 100%;
}

.mod-articles-forsale-strip {
  display: grid;
  gap: var(--spacing-100);
  margin-block: var(--spacing-300);
}

.forsale-strip {
  display: grid;
  grid-template-columns: 1fr;
}
@media (width >= 60em) {
  .forsale-strip {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
.forsale-strip {
  gap: var(--grid-gap);
  margin: 0;
  padding: 0;
}

.forsale-strip__item {
  --strip-radius: var(--spacing-100);
  display: grid;
  align-content: start;
  gap: var(--spacing-050);
  height: 100%;
  padding-block-end: var(--spacing-100);
  border-radius: var(--strip-radius);
  background-color: var(--background-color);
  box-shadow: var(--shadow-2);
  color: inherit;
  text-decoration: none;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.forsale-strip__item:is(:hover, :focus) {
  color: inherit;
  background-color: var(--background-color);
  box-shadow: var(--shadow-3);
  transform: translateY(-2px);
}
.mod-articles-forsale-strip .forsale-strip li .forsale-strip__item img {
  width: 100%;
  aspect-ratio: 4/3;
}
@media (width >= 60em) {
  .mod-articles-forsale-strip .forsale-strip li .forsale-strip__item img {
    aspect-ratio: 1;
  }
}
.mod-articles-forsale-strip .forsale-strip li .forsale-strip__item img {
  object-fit: cover;
  border-radius: var(--strip-radius) var(--strip-radius) 0 0;
  clip-path: none;
  transform: none;
  cursor: inherit;
}
.forsale-strip__item:not(:has(img))::before {
  content: "";
  aspect-ratio: 1;
  border-radius: var(--strip-radius) var(--strip-radius) 0 0;
  background-color: var(--color-neutral-100);
}
@media (prefers-reduced-motion: reduce) {
  .forsale-strip__item {
    transition: none;
  }
  .forsale-strip__item:is(:hover, :focus) {
    transform: none;
  }
}

.forsale-strip__name {
  padding-inline: var(--spacing-100);
  font-weight: var(--font-weight-bold);
}

.forsale-strip__year {
  padding-inline: var(--spacing-100);
  color: var(--color-accent-600);
  font-size: calc(var(--font-size-200) * 0.9);
  font-weight: var(--font-weight-bold);
}

.forsale-strip__pedigree {
  padding-inline: var(--spacing-100);
  color: var(--color-neutral-800);
  font-size: calc(var(--font-size-200) * 0.9);
  line-height: 1.4;
}

.forsale-strip__more {
  justify-self: end;
}

.mod-articles-forsale-spotlight {
  margin-block: var(--spacing-300);
}
.mod-articles-forsale-spotlight .forsale-spotlight__facts {
  margin: 0;
  font-size: var(--font-size-200);
}

@layer componentVariant {
  /*
    A card that is the page rather than one entry in a list. It needs air above it, or it runs
    into the background decoration at the top of the page.
  */
  .card-standalone {
    margin-block-start: var(--spacing-500);
  }
  .card-full {
    width: 100%;
    margin-bottom: calc(var(--card-gap, var(--grid-gap)) * 2);
  }
  /*
    Media beside the text instead of above it. The media keeps its own aspect ratio in a column of
    fixed width, which is what makes a card tolerate portrait and landscape photographs equally -
    a fixed-height banner has to crop one of the two. It also stops small originals from being
    stretched across the full card width.

    Stacked below the breakpoint, where a column for the media would crowd the text.
  */
  .card-row > :is(img, picture, figure):first-child,
  .card-row > :is(img, picture, figure):first-child img {
    --zoom-corners: var(--card-border-radius, var(--border-radius)) var(--card-border-radius, var(--border-radius)) 0 0;
    border-radius: var(--zoom-corners);
  }
  @media screen and (width >= 65em) {
    .card-row {
      display: grid;
      grid-template-columns: var(--card-media-width, 20rem) minmax(0, 1fr);
      align-items: start;
    }
    .card-row > :is(img, picture, figure):first-child {
      grid-column: 1;
      grid-row: 1;
    }
    .card-row > :is(img, picture, figure):first-child,
    .card-row > :is(img, picture, figure):first-child img {
      --zoom-corners: var(--card-border-radius, var(--border-radius)) 0 var(--card-border-radius, var(--border-radius)) 0;
      border-radius: var(--zoom-corners);
    }
    .card-row > :is(img, picture, figure):first-child figcaption {
      padding: var(--spacing-075) var(--spacing-150) 0;
    }
    .card-row > :is(img, picture, figure):first-child {
      max-height: var(--card-media-max-height, 26rem);
      object-fit: contain;
      object-position: top;
    }
    .card-row > .item-header {
      grid-column: 2;
      grid-row: 1;
    }
    .card-row > .item-header:first-child {
      grid-column: 1/-1;
    }
    .card-row > :not(:is(img, picture, figure):first-child, .item-header) {
      grid-column: 1/-1;
    }
  }
  @media screen and (width >= 65em) {
    .card-row--beside:has(> :is(img, picture, figure):first-child) {
      row-gap: var(--spacing-075);
    }
    .card-row--beside:has(> :is(img, picture, figure):first-child) > :is(img, picture, figure):first-child {
      grid-row: 1/span 4;
    }
    .card-row--beside:has(> :is(img, picture, figure):first-child) > :not(:is(img, picture, figure):first-child) {
      grid-column: 2;
    }
    .card-row--beside:has(> :is(img, picture, figure):first-child) > .item-header {
      margin-block-end: 0;
    }
  }
}
/**
 * Tables
 * ----------------------------------------------------------------------------
 */
@layer base {
  table {
    --table-border-spacing: 2px;
    --table-border-color: #00000000;
    --table-border-inline-spacing: 1px;
    --table-border-inline-color: #00000000;
    --table-head-bg: var(--color-neutral-300);
    --table-foot-bg: var(--table-base-head-bg);
    --table-color-fg: var(--body-text);
  }
}
@media (prefers-color-scheme: light) {
  @layer base {
    table {
      --table-head-bg: var(--color-neutral-300);
    }
  }
}
@layer base {
  [data-mode=light] table {
    --table-head-bg: var(--color-neutral-300);
  }
}

/*
  The stacked state of .article-datalist - value under its label, one column. A mixin because two
  quite different widths call for it: a text label needs almost nothing beside its value, a
  picture in the label column needs a great deal.
*/
@layer base {
  .table-wrapper:has(table) {
    overflow: scroll;
  }
  table {
    --table-row-even-bg: color-mix(in srgb, var(--table-head-bg), transparent 25%);
    display: table;
    margin-block: var(--spacing-250);
    border-spacing: 2px;
    box-sizing: border-box;
    text-indent: 0;
    text-align: left;
    border-collapse: collapse;
    color: var(--table-color-fg);
    width: max(65rem, 100%);
    table-layout: fixed;
  }
  table.caption-bottom {
    caption-side: bottom;
  }
  @media screen and (width >= 45em) {
    table.sticky-col th:first-child {
      position: sticky;
      inset-inline-start: 0;
      border-inline-end: none;
      background-color: var(--table-head-bg);
    }
  }
  th,
  caption,
  td {
    text-align: start;
  }
  th h1, th h2, th h3, th h4, th p,
  caption h1,
  caption h2,
  caption h3,
  caption h4,
  caption p,
  td h1,
  td h2,
  td h3,
  td h4,
  td p {
    margin-block: 0;
  }
  th.align-end,
  caption.align-end,
  td.align-end {
    text-align: end;
  }
  th, td {
    border: var(--table-border-inline-spacing) solid var(--table-border-inline-color);
    padding: var(--spacing-125) var(--spacing-075);
    vertical-align: middle;
  }
  thead {
    border-block-end: var(--table-border-spacing) solid var(--table-border-color, initial);
    background: var(--table-head-bg);
  }
  tfoot {
    border-block: var(--table-border-spacing) solid var(--table-border-inline-color, initial);
    background: var(--table-foot-bg);
  }
  tbody tr:nth-child(even) {
    background: color-mix(in srgb, var(--table-row-even-bg), transparent 60%);
  }
}
@layer component {
  /*
    A label and its value per line, as an editor inserts them from the TinyMCE snippet. A
    description list rather than a table because the content is pairs and not a matrix: there is
    no column heading the values belong under, and a screen reader announces the label together
    with its value.

    The first column is as wide as the longest label needs and no wider, the second takes the rest,
    and because both come out of one grid the lines stay flush with each other however long a
    single label is.
  */
  .article-datalist {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    gap: var(--spacing-050) var(--spacing-150);
    margin-block: var(--spacing-250);
    /*
      Each element type is pinned to its own column instead of being left to fall into the next
      free cell. The block is editable, so a line added in the editor can come out as a second dd
      rather than as a dt; placed by flow that one would take the label column and push every pair
      after it out of line. Pinned, it lands under the values where it belongs and the lines around
      it stay as they were.
    */
  }
  .article-datalist dt {
    grid-column: 1;
    font-weight: var(--font-weight-bold);
  }
  .article-datalist dd {
    grid-column: 2;
    margin-inline-start: 0;
  }
  .article-datalist {
    /*
      Narrow screens put the value under its label. Two columns would leave the values in a strip
      barely wide enough for a word once a label has taken what it needs.
    */
  }
  @media (width < 30em) {
    .article-datalist {
      grid-template-columns: minmax(0, 1fr);
      gap: 0;
    }
    .article-datalist dt,
    .article-datalist dd {
      grid-column: 1;
    }
    .article-datalist dd {
      margin-block-end: var(--spacing-100);
    }
  }
  .article-datalist {
    /*
      A picture in the label column rather than a word, the way the contact page puts the map
      beside the driving directions. The picture keeps its own size - 412px for that map - so two
      columns only hold once the row can carry it and a readable measure beside it: at lg the
      content column is around 860px, which leaves a good 400px for the text. Below that it
      stacks, rather than squeezing the directions into a strip or shrinking the map to a thumbnail.

      Scoped with :has() so a datalist of plain text labels keeps the narrow breakpoint above -
      "per Post:" beside its value needs nothing like this much room.
    */
  }
  @media (width < 65em) {
    .article-datalist:has(dt img) {
      grid-template-columns: minmax(0, 1fr);
      gap: 0;
    }
    .article-datalist:has(dt img) dt,
    .article-datalist:has(dt img) dd {
      grid-column: 1;
    }
    .article-datalist:has(dt img) dd {
      margin-block-end: var(--spacing-100);
    }
  }
}
/**
 * Jump Mark
 * ----------------------------------------------------------------------------
 */
@layer component {
  .jump-mark {
    --jump-mark-color: var(--color-accent-500);
    --jump-mark-shadow: var(--spacing-025) var(--spacing-025) var(--spacing-075) var(--color-grey-400);
    --jump-mark-font-size: calc(var(--font-size-900) * 3);
    margin-block: var(--spacing-400);
    width: 100%;
    margin-inline: auto;
    display: inline-block;
    text-align: center;
  }
  .jump-mark .fa, .jump-mark [class^=icon-], .jump-mark [class*=" icon-"] {
    color: var(--jump-mark-color);
    font-size: var(--jump-mark-font-size);
    animation: var(--animation-pulse);
    text-shadow: var(--jump-mark-shadow);
  }
  @media (prefers-color-scheme: dark) {
    .jump-mark {
      --jump-mark-shadow: none;
    }
  }
  .jump-mark [data-mode=dark] {
    --jump-mark-shadow: none;
  }
  a.jump-mark {
    text-decoration: none;
  }
  a.jump-mark:is(:hover, :focus) {
    color: var(--jump-mark-color);
    background: none;
    border: none;
  }
}
@layer componentVariant {
  .jump-mark.inverse {
    --jump-mark-color: var(--color-secondary-500);
  }
}
/**
 * Alert - joomla-alert
 * ----------------------------------------------------------------------------
 */
@layer component {
  joomla-alert {
    --joomla-alert-jui-alert-min-width: 250px;
    --joomla-alert-jui-alert-padding-block: var(--spacing-050);
    --joomla-alert-jui-alert-padding-inline: var(--spacing-125);
    --joomla-alert-jui-alert-margin-block: 0;
    --joomla-alert-jui-alert-margin-inline: 0;
    --joomla-alert-jui-alert-margin-bottom: 1rem;
    --joomla-alert-jui-alert-background-color: var(--body-background);
    --joomla-alert-jui-alert-border-radius: 0.15rem;
    --joomla-alert-jui-alert-border-width: 1px;
    --joomla-alert-jui-alert-border-color: #00000000;
    --joomla-alert-jui-alert-border-style: solid;
    --joomla-alert-jui-alert-animation-duration: .5s;
    --joomla-alert-jui-alert-animation-timing-function: ease-in-out;
    --joomla-alert-jui-alert-button-color: var(--body-text);
    --joomla-alert-icon-color: #ffffff;
    --joomla-alert-icon-svg: url("data:image/svg+xml;utf8,<svg width=\"1792\" height=\"1792\" viewBox=\"0 0 1792 1792\" xmlns=\"http://www.w3.org/2000/svg\"><path fill=\"rgba(255, 255, 255, .95)\" d=\"M1299 813l-422 422q-19 19-45 19t-45-19l-294-294q-19-19-19-45t19-45l102-102q19-19 45-19t45 19l147 147 275-275q19-19 45-19t45 19l102 102q19 19 19 45t-19 45zm141 83q0-148-73-273t-198-198-273-73-273 73-198 198-73 273 73 273 198 198 273 73 273-73 198-198 73-273zm224 0q0 209-103 385.5t-279.5 279.5-385.5 103-385.5-103-279.5-279.5-103-385.5 103-385.5 279.5-279.5 385.5-103 385.5 103 279.5 279.5 103 385.5z\"/></svg>");
    --joomla-alert-heading-font-size: var(--font-size-400);
    --joomla-alert-heading-font-family: var(--font-family-heading);
    --joomla-alert-heading-font-weight: var(--font-weight-bold);
    --joomla-alert-heading-font-line-height: 1.5;
    --joomla-alert-heading-font-letter-spacing: var(--spacing-000);
    --joomla-alert-heading-font-text-transform: none;
  }
}
@layer componentVariant {
  joomla-alert[type=success] {
    --joomla-alert-jui-alert-color: var(--color-success);
    --joomla-alert-jui-alert-background-color: var(--color-green-50);
    --joomla-alert-jui-alert-border-color: var(--color-success);
    --joomla-alert-jui-alert-link-color: var(--color-success);
    --joomla-alert-icon-color: var(--color-success);
    --joomla-alert-icon-svg: url("data:image/svg+xml;utf8,<svg width=\"1792\" height=\"1792\" viewBox=\"0 0 1792 1792\" xmlns=\"http://www.w3.org/2000/svg\"><path fill=\"rgba(255, 255, 255, .95)\" d=\"M1299 813l-422 422q-19 19-45 19t-45-19l-294-294q-19-19-19-45t19-45l102-102q19-19 45-19t45 19l147 147 275-275q19-19 45-19t45 19l102 102q19 19 19 45t-19 45zm141 83q0-148-73-273t-198-198-273-73-273 73-198 198-73 273 73 273 198 198 273 73 273-73 198-198 73-273zm224 0q0 209-103 385.5t-279.5 279.5-385.5 103-385.5-103-279.5-279.5-103-385.5 103-385.5 279.5-279.5 385.5-103 385.5 103 279.5 279.5 103 385.5z\"/></svg>");
  }
  joomla-alert[type=info] {
    --joomla-alert-jui-alert-color: var(--color-info);
    --joomla-alert-jui-alert-background-color: var(--color-cyan-100);
    --joomla-alert-jui-alert-border-color: var(--color-info);
    --joomla-alert-jui-alert-link-color: var(--color-cyan-600);
    --joomla-alert-icon-color: var(--color-info);
    --joomla-alert-icon-svg: url("data:image/svg+xml;utf8,<svg width=\"1792\" height=\"1792\" viewBox=\"0 0 512 512\" xmlns=\"http://www.w3.org/2000/svg\"><path fill=\"rgba(255, 255, 255, .95)\" d=\"M256 8C119.043 8 8 119.083 8 256c0 136.997 111.043 248 248 248s248-111.003 248-248C504 119.083 392.957 8 256 8zm0 110c23.196 0 42 18.804 42 42s-18.804 42-42 42-42-18.804-42-42 18.804-42 42-42zm56 254c0 6.627-5.373 12-12 12h-88c-6.627 0-12-5.373-12-12v-24c0-6.627 5.373-12 12-12h12v-64h-12c-6.627 0-12-5.373-12-12v-24c0-6.627 5.373-12 12-12h64c6.627 0 12 5.373 12 12v100h12c6.627 0 12 5.373 12 12v24z\"/></svg>");
  }
  joomla-alert[type=warning] {
    --joomla-alert-jui-alert-color: var(--color-warning);
    --joomla-alert-jui-alert-background-color: var(--color-orange-100);
    --joomla-alert-jui-alert-border-color: var(--color-warning);
    --joomla-alert-jui-alert-link-color: var(--color-orange-600);
    --joomla-alert-icon-color: var(--color-warning);
    --joomla-alert-icon-svg: url("data:image/svg+xml;utf8,<svg width=\"1792\" height=\"1792\" viewBox=\"0 0 1792 1792\" xmlns=\"http://www.w3.org/2000/svg\"><path fill=\"rgba(255, 255, 255, .95)\" d=\"M1024 1375v-190q0-14-9.5-23.5t-22.5-9.5h-192q-13 0-22.5 9.5t-9.5 23.5v190q0 14 9.5 23.5t22.5 9.5h192q13 0 22.5-9.5t9.5-23.5zm-2-374l18-459q0-12-10-19-13-11-24-11h-220q-11 0-24 11-10 7-10 21l17 457q0 10 10 16.5t24 6.5h185q14 0 23.5-6.5t10.5-16.5zm-14-934l768 1408q35 63-2 126-17 29-46.5 46t-63.5 17h-1536q-34 0-63.5-17t-46.5-46q-37-63-2-126l768-1408q17-31 47-49t65-18 65 18 47 49z\"/></svg>");
  }
  joomla-alert[type=danger] {
    --joomla-alert-jui-alert-color: var(--color-danger);
    --joomla-alert-jui-alert-background-color: var(--color-red-50);
    --joomla-alert-jui-alert-border-color: var(--color-danger);
    --joomla-alert-jui-alert-link-color: var(--color-danger);
    --joomla-alert-icon-color: var(--color-danger);
    --joomla-alert-icon-svg: url("data:image/svg+xml;utf8,<svg width=\"1792\" height=\"1792\" viewBox=\"0 0 512 512\" xmlns=\"http://www.w3.org/2000/svg\"><path fill=\"rgba(255, 255, 255, .95)\" d=\"M256 8C119 8 8 119 8 256s111 248 248 248 248-111 248-248S393 8 256 8zm0 448c-110.5 0-200-89.5-200-200S145.5 56 256 56s200 89.5 200 200-89.5 200-200 200zm101.8-262.2L295.6 256l62.2 62.2c4.7 4.7 4.7 12.3 0 17l-22.6 22.6c-4.7 4.7-12.3 4.7-17 0L256 295.6l-62.2 62.2c-4.7 4.7-12.3 4.7-17 0l-22.6-22.6c-4.7-4.7-4.7-12.3 0-17l62.2-62.2-62.2-62.2c-4.7-4.7-4.7-12.3 0-17l22.6-22.6c4.7-4.7 12.3-4.7 17 0l62.2 62.2 62.2-62.2c4.7-4.7 12.3-4.7 17 0l22.6 22.6c4.7 4.7 4.7 12.3 0 17z\"/></svg>");
  }
}
@media (prefers-color-scheme: light) {
  @layer component {
    joomla-alert {
      --joomla-alert-jui-alert-border-width: 1px;
      --joomla-alert-jui-alert-button-color: var(--body-text);
    }
  }
  @layer componentVariant {
    joomla-alert[type=success] {
      --joomla-alert-jui-alert-color: var(--color-success);
      --joomla-alert-jui-alert-background-color: var(--color-green-50);
      --joomla-alert-jui-alert-border-color: var(--color-success);
      --joomla-alert-jui-alert-link-color: var(--color-success);
    }
    joomla-alert[type=info] {
      --joomla-alert-jui-alert-background-color: var(--color-cyan-100);
      --joomla-alert-jui-alert-border-color: var(--color-info);
    }
    joomla-alert[type=warning] {
      --joomla-alert-jui-alert-background-color: var(--color-orange-100);
      --joomla-alert-jui-alert-border-color: var(--color-warning);
    }
    joomla-alert[type=danger] {
      --joomla-alert-jui-alert-color: var(--color-danger);
      --joomla-alert-jui-alert-background-color: var(--color-red-50);
      --joomla-alert-jui-alert-border-color: var(--color-danger);
      --joomla-alert-jui-alert-link-color: var(--color-danger);
    }
  }
}
@layer component {
  [data-mode=light] joomla-alert {
    --joomla-alert-jui-alert-border-width: 1px;
    --joomla-alert-jui-alert-button-color: var(--body-text);
  }
}
@layer componentVariant {
  [data-mode=light] joomla-alert[type=success] {
    --joomla-alert-jui-alert-color: var(--color-success);
    --joomla-alert-jui-alert-background-color: var(--color-green-50);
    --joomla-alert-jui-alert-border-color: var(--color-success);
    --joomla-alert-jui-alert-link-color: var(--color-success);
  }
  [data-mode=light] joomla-alert[type=info] {
    --joomla-alert-jui-alert-background-color: var(--color-cyan-100);
    --joomla-alert-jui-alert-border-color: var(--color-info);
  }
  [data-mode=light] joomla-alert[type=warning] {
    --joomla-alert-jui-alert-background-color: var(--color-orange-100);
    --joomla-alert-jui-alert-border-color: var(--color-warning);
  }
  [data-mode=light] joomla-alert[type=danger] {
    --joomla-alert-jui-alert-color: var(--color-danger);
    --joomla-alert-jui-alert-background-color: var(--color-red-50);
    --joomla-alert-jui-alert-border-color: var(--color-danger);
    --joomla-alert-jui-alert-link-color: var(--color-danger);
  }
}

#system-message-container:empty {
  margin-top: 0;
  display: none;
}
#system-message-container joomla-alert {
  --jui-alert-min-width: var(--joomla-alert-jui-alert-min-width);
  --jui-alert-padding: var(--joomla-alert-jui-alert-padding-block) var(--joomla-alert-jui-alert-padding-inline);
  --jui-alert-margin: var(--joomla-alert-jui-alert-margin-block) var(--joomla-alert-jui-alert-margin-inline) (--joomla-art-jui-alert-margin-bottom) var(--joomla-alert-jui-alert-margin-inline);
  --jui-alert-border: var(--joomla-alert-jui-alert-border-width) var(--joomla-alert-jui-alert-border-style) var(--joomla-alert-jui-alert-border-color);
  --jui-alert-border-radius: var(--joomla-alert-jui-alert-border-radius);
  --jui-alert-animation-duration: var(--joomla-jui-alert-animation-duration);
  --jui-alert-animation-timing-function: var(--joomla-jui-alert-animation-timing-function);
  --jui-alert-button-color-dark: var(--joomla-alert-jui-alert-button-color);
  --jui-alert-button-color-light: var(--joomla-alert-jui-alert-button-color);
  --jui-alert-success-color: var(--joomla-alert-jui-alert-color);
  --jui-alert-success-background-color: var(--joomla-alert-jui-alert-background-color);
  --jui-alert-success-border-color: var(--joomla-alert-jui-alert-border-color);
  --jui-alert-success-link-color: var(--joomla-alert-jui-alert-link-color);
  --jui-alert-info-color: var(--joomla-alert-jui-alert-color);
  --jui-alert-info-background-color: var(--joomla-alert-jui-alert-background-color);
  --jui-alert-info-border-color: var(--joomla-alert-jui-alert-border-color);
  --jui-alert-info-link-color: var(--joomla-alert-jui-alert-link-color);
  --jui-alert-warning-color: var(--joomla-alert-jui-alert-color);
  --jui-alert-warning-background-color: var(--joomla-alert-jui-alert-background-color);
  --jui-alert-warning-border-color: var(--joomla-alert-jui-alert-border-color);
  --jui-alert-warning-link-color: var(--joomla-alert-jui-alert-link-color);
  --jui-alert-danger-color: var(--joomla-alert-jui-alert-color);
  --jui-alert-danger-background-color: var(--joomla-alert-jui-alert-background-color);
  --jui-alert-danger-border-color: var(--joomla-alert-jui-alert-border-color);
  --jui-alert-danger-link-color: var(--joomla-alert-jui-alert-link-color);
}
#system-message-container joomla-alert .alert-heading .message,
#system-message-container joomla-alert .alert-heading .success,
#system-message-container joomla-alert .alert-heading .notice,
#system-message-container joomla-alert .alert-heading .info,
#system-message-container joomla-alert .alert-heading .warning,
#system-message-container joomla-alert .alert-heading .error, #system-message-container joomla-alert .alert-heading .danger {
  color: var(--alert-heading-text);
  background: var(--alert-accent-color, transparent);
  display: grid;
  grid-template-columns: min-content 1fr;
  grid-gap: 1vw;
  align-items: center;
  border-bottom: 1px solid var(--joomla-alert-jui-alert-color);
  margin-block: var(--spacing-075);
  padding-bottom: var(--spacing-075);
  font-family: var(--joomla-alert-heading-font-family);
  font-size: var(--joomla-alert-heading-font-size);
  font-weight: var(--joomla-alert-heading-font-weight);
  line-height: var(--joomla-alert-heading-line-height);
  letter-spacing: var(--joomla-alert-heading-letter-spacing);
  text-transform: var(--joomla-alert-heading-text-transform);
}
#system-message-container joomla-alert .alert-heading .message::before,
#system-message-container joomla-alert .alert-heading .success::before,
#system-message-container joomla-alert .alert-heading .notice::before,
#system-message-container joomla-alert .alert-heading .info::before,
#system-message-container joomla-alert .alert-heading .warning::before,
#system-message-container joomla-alert .alert-heading .error::before, #system-message-container joomla-alert .alert-heading .danger::before {
  content: "";
  background-color: var(--joomla-alert-icon-color);
  mask: var(--joomla-alert-icon-svg);
  mask-size: contain;
  width: max(1.25em, 2vw);
  height: max(1.25em, 2vw);
  align-self: center;
}
#system-message-container joomla-alert:not(:has(.alert-heading)) .alert-wrapper {
  display: grid;
  grid-template-columns: min-content 1fr;
  grid-gap: max(1rem, 1vw);
  align-items: center;
}
#system-message-container joomla-alert:not(:has(.alert-heading)) .alert-wrapper::before {
  content: "";
  background-color: var(--joomla-alert-icon-color);
  mask: var(--joomla-alert-icon-svg);
  mask-size: contain;
  width: max(1.25em, 2vw);
  height: max(1.25em, 2vw);
  align-self: center;
}
#system-message-container joomla-alert:not(:has(.alert-heading)) .alert-message {
  border-left: 2px solid var(--joomla-alert-jui-alert-border-color);
  padding-inline-start: var(--spacing-150);
}
#system-message-container joomla-alert .alert-link:hover, #system-message-container joomla-alert .alert-link:focus, #system-message-container joomla-alert a:hover, #system-message-container joomla-alert a:focus {
  background-color: transparent;
  border-color: var(--joomla-alert-jui-alert-link-color);
}
#system-message-container joomla-alert .alert-link:focus-visible, #system-message-container joomla-alert a:focus-visible {
  --focus-outline-color: var(--joomla-alert-jui-alert-link-color);
  background-color: transparent;
  border-color: transparent;
}
#system-message-container joomla-alert .joomla-alert--close, #system-message-container joomla-alert .joomla-alert-button--close {
  padding-block: 0.5rem;
}
#system-message-container joomla-alert .joomla-alert--close:focus, #system-message-container joomla-alert .joomla-alert-button--close:focus {
  cursor: pointer;
  opacity: 0.75;
  text-decoration: none;
}
@media (prefers-color-scheme: dark) {
  #system-message-container joomla-alert .joomla-alert--close:focus, #system-message-container joomla-alert .joomla-alert-button--close:focus {
    opacity: 0.95;
  }
}
@media (prefers-color-scheme: dark) {
  #system-message-container joomla-alert .joomla-alert--close, #system-message-container joomla-alert .joomla-alert-button--close {
    opacity: 0.85;
  }
}
#system-message-container .btn, #system-message-container [class*=" btn-"], #system-message-container [class^=btn-], #system-message-container [class$=" btn-"] {
  --btn-font-size: var(--font-size-400);
  --btn-padding: var(--spacing-050);
  margin-block: var(--spacing-050);
}

/**
 * Breadcrumb - Joomla Module
 * ----------------------------------------------------------------------------
 */
@layer layout {
  .cluster {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
  }
}
@layer component {
  .breadcrumb, [class*=" breadcrumb-"], [class^=breadcrumb-], [class$=" breadcrumb-"] {
    --breadcrumb-font-size: var(--body-fs);
    --breadcrumb-marker-color: var(--color-accent-300);
    --breadcrumb-intro-bg: var(--color-accent-200);
    --breadcrumb-intro-fg: var(--body-text);
    --breadcrumb-link-color: var(--body-text);
    --breadcrumb-link-hover: var(--text-interactive-hover);
  }
}
@layer component {
  .mod-breadcrumbs {
    list-style: none;
    margin-inline-start: 0;
    display: flex;
    flex-wrap: wrap;
    gap: var(--spacing-125);
    align-items: center;
    font-size: var(--breadcrumb-font-size, 1rem);
  }
  .mod-breadcrumbs__wrapper {
    min-width: 100%;
  }
  .mod-breadcrumbs li {
    line-height: calc(var(--breadcrumb-font-size, 1rem) * 2.5);
  }
  .mod-breadcrumbs__item::before {
    content: "\f138";
    font-size: calc(var(--breadcrumb-font-size, 1rem) * 1.5);
    font-family: "Font Awesome 6 Free";
    font-weight: var(--font-weight-bold);
    color: var(--breadcrumb-marker-color, inherit);
    display: inline-block;
    vertical-align: middle;
  }
  .mod-breadcrumbs__item > *:first-child {
    margin-inline-start: var(--spacing-100);
  }
  .mod-breadcrumbs__here {
    background-color: var(--breadcrumb-intro-bg);
    color: var(--breadcrumb-intro-fg);
    padding-inline-start: var(--spacing-075);
    padding-inline-end: var(--spacing-050);
  }
  .mod-breadcrumbs__here ~ .mod-breadcrumbs__item:nth-child(2)::before {
    content: "";
    display: none;
  }
  .mod-breadcrumbs__here ~ .mod-breadcrumbs__item:nth-child(2) > *:first-child {
    margin-inline-start: var(--spacing-000);
  }
  .mod-breadcrumbs a {
    text-decoration: none;
    color: var(--breadcrumb-link-color, currentColor);
  }
  .mod-breadcrumbs a:hover, .mod-breadcrumbs a:focus {
    color: var(--breadcrumb-link-hover, var(--text-interactive-hover));
  }
}
/**
 * Pagination - Joomla com_content category blog
 * ----------------------------------------------------------------------------
 */
@layer component {
  .pagination, [class*=" pagination-"], [class^=pagination-], [class$=" pagination-"] {
    --pagination-font-size: var(--body-fs);
    --pagination-gap: var(--spacing-050);
    --pagination-size: var(--spacing-250);
    --pagination-padding: var(--spacing-075);
    --pagination-border-color: transparent;
    --pagination-border-width: 1px;
    --pagination-text-color: var(--text-interactive);
    --pagination-text-hover-color: var(--text-interactive-hover);
    --pagination-background-color: transparent;
    --pagination-background-hover-color: var(--text-interactive-hover-bg);
    --pagination-active-background-color: var(--color-primary-50);
    --pagination-active-text-color: var(--text-interactive);
    --pagination-disabled-color: var(--color-neutral-500);
    --pagination-counter-font-size: var(--font-size-300);
  }
}
@layer component {
  .com-content-category-blog__navigation {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: var(--spacing-100) var(--spacing-200);
    margin-block: var(--spacing-200);
  }
  .com-content-category-blog__counter {
    margin: 0;
    font-size: var(--pagination-counter-font-size);
    color: var(--color-neutral-700);
  }
  .com-content-category-blog__pagination {
    display: flex;
  }
  .pagination__wrapper {
    width: 100%;
  }
  .pagination {
    display: flex;
    flex-wrap: wrap;
    gap: var(--pagination-gap);
    list-style: none;
    padding: 0;
    margin: 0;
  }
  .page-item {
    display: inline-flex;
  }
  .page-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: var(--pagination-size);
    height: var(--pagination-size);
    padding-inline: var(--pagination-padding);
    font-size: var(--pagination-font-size);
    line-height: 1;
    color: var(--pagination-text-color);
    background-color: var(--pagination-background-color);
    border: var(--pagination-border-width) solid var(--pagination-border-color);
    text-decoration: none;
    transition: background-color 200ms ease, color 200ms ease, border-color 200ms ease;
  }
  .page-link [class^=icon-],
  .page-link [class*=" icon-"] {
    font-size: 1em;
    color: currentColor;
  }
  a.page-link:hover, a.page-link:focus-visible {
    color: var(--pagination-text-hover-color);
    background-color: var(--pagination-background-hover-color);
  }
  a.page-link:focus-visible {
    outline: var(--focus-outline-width) solid var(--focus-outline-color);
    outline-offset: 2px;
  }
  .page-item.active .page-link {
    color: var(--pagination-active-text-color);
    background-color: var(--pagination-active-background-color);
    font-weight: var(--font-weight-bold);
  }
  .page-item.disabled .page-link {
    color: var(--pagination-disabled-color);
    cursor: not-allowed;
    background-color: transparent;
  }
}
/**
 * Menu - Joomla Module
 * ----------------------------------------------------------------------------
 */
@layer layout {
  .even-columns {
    display: grid;
    gap: var(--grid-gap);
  }
  @media screen and (width >= 45em) {
    .even-columns {
      grid-auto-flow: column;
      grid-auto-columns: 1fr;
    }
  }
}
@layer component {
  /*
    The toggle for the mobile menu. It stands in the topbar, beside the language switcher, and
    not with the list it opens - see html/layouts/jcrafts/entries/_header.php.
  */
  label.hamburger {
    /*
      The band sets its own foreground, and the slices are the band's marks: taking the colour
      from it rather than naming one keeps them legible whatever the topbar is coloured. Named,
      they were the dark green the topbar is filled with, which on it is nothing at all.
    */
    --hamburger-slice-color: currentColor;
    --hamburger-size: clamp(16px, 10vmin, 32px);
    --hamburger-slice-height: 2px;
    /*
      base/_form.scss dresses every label as a form label - the body text colour, and a margin
      under it for the field it labels. This one labels no field: it is a control standing in a
      coloured band, so both are handed back. The colour has to go before currentColor above
      means anything, since without it the slices take the body text colour from that rule
      rather than the light foreground of the band they sit on.
    */
    color: inherit;
    margin-block-end: 0;
    position: relative;
    display: block;
    /*
      Even padding, because the toggle now sits in a centred flex row rather than against the
      upper left corner of the navigation band. It is also what gives the band its height: the
      topbar carries no block padding of its own, by design.
    */
    padding: var(--spacing-075);
    cursor: pointer;
    width: var(--hamburger-size);
    height: var(--hamburger-size);
    box-sizing: content-box;
    transition: transform 0.2s ease;
  }
  label.hamburger input {
    /** visually hide the checkbox but keep it accessible */
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
  }
  @media screen and (width >= 65em) {
    label.hamburger input {
      display: none;
    }
  }
  label.hamburger {
    /*
      The focus ring, moved onto the label.

      The checkbox is the control and takes the focus, but it is clipped to a single pixel so
      that only the three slices are seen - and base/_focus.scss draws its ring on the checkbox,
      which means the ring was clipped away with it. Tabbing did reach the toggle; there was
      simply nothing to see, which is the same thing as not reaching it.

      :focus-visible rather than :focus, so a pointer does not leave a ring behind on the band -
      the same distinction base/_focus.scss makes for every other control.
    */
  }
  label.hamburger:has(input:focus-visible) {
    outline: var(--focus-outline-width) var(--focus-outline-style) var(--focus-outline-color);
    outline-offset: var(--focus-outline-offset, var(--focus-outline-width));
  }
  label.hamburger:has(input:checked) .slice:nth-child(2) {
    top: calc(17% + var(--hamburger-slice-height) / 2);
    transform: rotate(45deg);
  }
  label.hamburger:has(input:checked) .slice:nth-child(3) {
    opacity: 0;
  }
  label.hamburger:has(input:checked) .slice:nth-child(4) {
    top: calc(-50% + var(--hamburger-slice-height) / 2);
    transform: rotate(-45deg);
  }
  label.hamburger .slice {
    display: block;
    position: relative;
    width: 100%;
    height: var(--hamburger-slice-height, 2px);
    border-radius: var(--hamburger-slice-height);
    transition: all 0.2s ease;
    background-color: var(--hamburger-slice-color);
    opacity: 90%;
    margin-top: 22%; /* Fallback to produce something hamburger-ish if calc is not available */
    margin-top: calc(33% - var(--hamburger-slice-height));
    top: calc((33% - var(--hamburger-slice-height)) / -2);
  }
  @media screen and (width >= 65em) {
    label.hamburger {
      display: none;
    }
  }
  .container-nav:has(.main-nav) {
    --text-interactive: var(--color-surface-primary-fg, var(--color-neutral-200));
    --focus-outline-color: var(--color-accent-200);
    --main-nav-background: var(--color-primary-800);
    background-color: var(--main-nav-background);
    background-image: linear-gradient(90deg, rgba(76, 114, 49, 0.08), rgba(76, 114, 49, 0.02));
    background-repeat: no-repeat;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
    padding-block: var(--spacing-075);
    /*
      No margin at the start: the brand row above already ends with --header-padding-block, and a
      margin here stacked on top of it, so the masthead sat closer to the topbar above it than to
      the navigation below. The brand row's own padding sets both gaps now. The end margin is a
      different distance - band to content - and stays.
    */
    margin-block: 0 var(--spacing-100);
  }
  @media screen and (width >= 65em) {
    .container-nav:has(.main-nav) {
      margin-block: 0 var(--spacing-150);
    }
    .container-nav:has(.main-nav) nav {
      max-width: var(--container-max-width-wide, 75rem);
      margin-inline: auto;
      padding-inline: var(--content-padding-inline-breakpoint-lg);
    }
  }
  /*
    Opening the menu is asked of the header, not of a sibling.

    The toggle used to stand inside the same <nav> as the list, so a checked box could reach it
    with ~ and the band around it with .container-nav:has(input). Moved up into the topbar it has
    neither relationship left: the band is in another part of the header entirely. The header is
    the nearest element that holds both halves, so that is where the question is put.

    Below the breakpoint only. Above it there is no toggle on screen and the navigation stands as
    a bar of its own - but :has() still finds the toggle up there, since display: none does not
    take an element out of the tree, so left unscoped this would shut the desktop bar too.

    What is written out is the closed state, on :not(:checked). The other way round - one rule for
    "a toggle exists" and one for "it is checked" - both match while the menu is open, and the
    first then has to be undone by the second, value for value.
  */
  @media screen and (width < 65em) {
    .container-header:has(.hamburger input) .main-nav {
      transition: all 0.3s ease;
    }
    .container-header:has(.hamburger input:not(:checked)) .main-nav {
      visibility: hidden;
      transform: rotateX(-15deg);
      opacity: 0;
    }
    .container-header:has(.hamburger input:not(:checked)) {
      /*
        Nothing of the band while it is shut: not its height, and not the padding and the end
        margin that .container-nav:has(.main-nav) gives it.

        Shut, this used to be a green strip the width of the page, and that strip was what closed
        the header off against the content. It has its own element now
        (.container-header::after, scss/layout/_header.scss) and stands where a divider belongs -
        at the end of the header rather than at the top of it, which is where the navigation
        moved. Both jobs on one element is what stopped the navigation being able to move at all.
      */
    }
    .container-header:has(.hamburger input:not(:checked)) .container-nav {
      height: 0;
      padding-block: 0;
      margin-block: 0;
      overflow: hidden;
    }
  }
  /**
   * The highlight lives on the <a>, not on the <li>. The link is the interactive element, so
   * giving it the padding makes the visible highlight and the click target the same box.
   *
   * This replaces a construction of three cooperating hacks: a box-shadow with a negative
   * x-offset and spread to fake horizontal padding, a ::before overlay to mask the notch that
   * offset produced on the right, and `* { color: inherit }` to drag the link colour along.
   * The resulting silhouette bled 0.9em to the left, stopped 0.6em short on the right and
   * overlapped the neighbouring item, whose column-gap is only 0.8rem.
   */
  .main-nav {
    --main-nav-item-padding-block: var(--spacing-100);
    --main-nav-item-padding-inline: var(--spacing-075);
    --main-nav-item-fill: var(--text-interactive-hover-bg);
    /* Dark green on the light fill: 8.55:1. The global --text-interactive-hover would do now that
       it is accent.700 (6.88:1 there, it used to be a warm grey at 3.86:1) - the deeper primary.800
       is kept because this fill is the whole cell rather than a word in running text, and the bar
       it sits in is the darkest surface on the page. */
    --main-nav-item-fill-fg: var(--color-primary-800);
    /* 8.55:1 against the bar — WCAG 1.4.11 asks 3:1 of non-text indicators. */
    --main-nav-item-marker: var(--text-interactive-hover-bg);
    --main-nav-item-marker-thickness: calc(var(--border-width) * 2);
    --main-nav-item-marker-thickness-current: calc(var(--border-width) * 3);
    /* Deliberately roomier than the global --link-underline-offset (0.2em): these sit on a dark
       bar at nav weight, where a tight underline reads as if it touches the descenders.
       Matches --link-icon-underline-offset, the widest offset the token set already uses. */
    --main-nav-item-marker-offset: 0.4em;
    --main-nav-item-divider: color-mix(in srgb, var(--text-interactive) 25%, transparent);
    margin-block: 0;
  }
  @media screen and (width >= 65em) {
    .main-nav {
      /* No fill on desktop, so the inline padding would only widen every column. */
      --main-nav-item-padding-inline: 0;
      display: grid;
      grid-auto-flow: column;
      margin-inline: 0;
      padding-inline: 0;
      column-gap: 0.8rem;
      white-space: nowrap;
    }
  }
  .main-nav li + li {
    /* Hairline between rows. Was a ::after pseudo element at 0.025rem — sub-pixel, so it
       rendered as a faint smear or vanished entirely depending on zoom and pixel density. */
    border-block-start: var(--border-width) solid var(--main-nav-item-divider);
  }
  @media screen and (width >= 65em) {
    .main-nav li + li {
      border-block-start: none;
    }
  }
  .main-nav a {
    display: block;
    padding-block: var(--main-nav-item-padding-block);
    padding-inline: var(--main-nav-item-padding-inline);
    /**
     * text-decoration rather than a border or an inset box-shadow: those sit on the padding
     * edge, which put the line a full --spacing-100 below the text. An underline hugs the
     * glyphs and stays tunable via text-underline-offset.
     */
    text-decoration: underline;
    text-decoration-thickness: var(--main-nav-item-marker-thickness);
    text-decoration-color: transparent;
    text-underline-offset: var(--main-nav-item-marker-offset);
    /**
     * Declared on the resting state on purpose: a transition only applies while the rule
     * that declares it matches. Keeping it inside :hover made the highlight fade in over
     * 0.3s but snap away instantly on mouse-out.
     */
    transition: color var(--duration-moderate) ease-in-out, background-color var(--duration-moderate) ease-in-out, text-decoration-color var(--duration-moderate) ease-in-out;
  }
  .main-nav {
    /**
     * Mobile: the row fills. Mirrors the selector from base/_root.scss so this wins on both
     * :hover and :focus; the box-shadow reset drops that rule's halo, which would sit around
     * the fill as a second, softer edge.
     */
  }
  .main-nav a:is(:hover, :focus) {
    background-color: var(--main-nav-item-fill);
    color: var(--main-nav-item-fill-fg);
    box-shadow: none;
  }
  .main-nav {
    /* Current page: bold plus a heavier underline, so it stays distinct from a hovered item. */
  }
  .main-nav :is(li.current, li.active) > a {
    font-weight: var(--font-weight-bold);
    text-decoration-color: var(--main-nav-item-marker);
    text-decoration-thickness: var(--main-nav-item-marker-thickness-current);
  }
  .main-nav {
    /* Hovering the current page on mobile puts its underline on the fill, where the marker
       colour would vanish — swap it for the fill's foreground. */
  }
  .main-nav :is(li.current, li.active) > a:is(:hover, :focus) {
    text-decoration-color: var(--main-nav-item-fill-fg);
  }
  @media screen and (width >= 65em) {
    .main-nav {
      /**
       * Desktop: no fill — a mouse is precise and does not need a large target, and eight
       * filled cells in one row read as a button bar. Hover reduces to the underline.
       *
       * The colour reset is load-bearing: without it base/_root.scss recolours the text to
       * --text-interactive-hover, and this bar is the one place on the site where that goes the
       * wrong way. It is a dark green now (accent.700) and was a warm grey before - either one is
       * a darkening meant for a light page, and against a dark bar a darker word disappears into
       * it rather than standing out.
       */
    }
    .main-nav a:is(:hover, :focus) {
      background-color: transparent;
      color: var(--text-interactive);
      text-decoration-color: var(--main-nav-item-marker);
    }
    .main-nav a {
      display: inline-block;
    }
    .main-nav :is(li.current, li.active) > a:is(:hover, :focus) {
      text-decoration-color: var(--main-nav-item-marker);
    }
  }
  .nav-flex-column {
    display: flex;
    flex-wrap: wrap;
    justify-content: start;
    gap: var(--spacing-000) var(--spacing-125);
    padding-inline-start: 0;
    margin-block-start: var(--spacing-100);
    margin-block-end: var(--spacing-200);
  }
  .overlay-navigation {
    --nav-overlay-background: var(--body-bg);
    --nav-overlay-zindex: 4;
    --nav-overlay-font-family: var(--font-family-heading);
    --nav-overlay-fs: var(--font-size-400);
    --nav-overlay-fw: var(--font-weight-medium) --nav-overlay-letter-spacing: .1em;
    --nav-overlay-text-transform: uppercase;
    --nav-overlay-button-zindex: 5;
    --nav-overlay-item-background-color: var(--color-cyan-600);
    --nav-overlay-item-background-color-2: var(--color-cyan-600);
    --nav-overlay-item-background-color-5: var(--color-green-500);
    --nav-overlay-item-background-color-3: var(--color-red-500);
    --nav-overlay-item-background-color-1: var(--color-yellow-500);
    --nav-overlay-item-background-color-4: var(--color-blue-200);
    --nav-overlay-item-background: var(--radial-gradient-cyan);
    --nav-overlay-item-background-2: var(--radial-gradient-cyan);
    --nav-overlay-item-background-5: var(--radial-gradient-green);
    --nav-overlay-item-background-3: var(--radial-gradient-red);
    --nav-overlay-item-background-1: var(--radial-gradient-yellow);
    --nav-overlay-item-background-4: var(--radial-gradient-lightblue);
    --nav-overlay-item-link: var(--color-neutral-950);
    position: fixed;
    top: -1%;
    left: 0;
    width: 100%;
    height: 100%;
    transition: all 0.8s var(--cubic-bezier-easeElastic) 0.8s;
    transform: translateY(-100%);
    background-color: var(--nav-overlay-background);
    display: none;
    z-index: var(--nav-overlay-zindex);
  }
  .overlay-navigation nav,
  .overlay-navigation nav ul {
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 0;
  }
  .overlay-navigation nav ul {
    display: flex;
    list-style: none;
    justify-content: stretch;
    display: grid;
    gap: 0;
  }
  @media screen and (width >= 65em) {
    .overlay-navigation nav ul {
      grid-auto-flow: column;
      grid-auto-columns: 1fr;
    }
  }
  .overlay-navigation nav ul li {
    justify-content: center;
    align-items: center;
    width: 100.99%;
    height: 100.99%;
    overflow: hidden;
    display: block;
    padding-inline-start: 0;
    animation: var(--animation-slide-out-up);
    background-color: var(--nav-overlay-item-background);
    background: var(--nav-overlay-item-background);
  }
  .overlay-navigation nav ul li:nth-child(1) {
    --nav-overlay-item-background-color: var(--nav-overlay-item-background-color-1);
    --nav-overlay-item-background: var(--nav-overlay-item-background-1);
    animation-delay: 0.6s;
  }
  .overlay-navigation nav ul li:nth-child(2) {
    --nav-overlay-item-background-color: var(--nav-overlay-item-background-color-2);
    --nav-overlay-item-background: var(--nav-overlay-item-background-2);
    animation-delay: 0.5s;
  }
  .overlay-navigation nav ul li:nth-child(3) {
    --nav-overlay-item-background-color: var(--nav-overlay-item-background-color-3);
    --nav-overlay-item-background: var(--nav-overlay-item-background-3);
    animation-delay: 0.4s;
  }
  .overlay-navigation nav ul li:nth-child(4) {
    --nav-overlay-item-background-color: var(--nav-overlay-item-background-color-4);
    --nav-overlay-item-background: var(--nav-overlay-item-background-4);
    animation-delay: 0.3s;
  }
  .overlay-navigation nav ul li:nth-child(5) {
    --nav-overlay-item-background-color: var(--nav-overlay-item-background-color-5);
    --nav-overlay-item-background: var(--nav-overlay-item-background-5);
    animation-delay: 0.2s;
  }
  .overlay-navigation nav ul li:nth-child(6) {
    --nav-overlay-item-background: var(--nav-overlay-item-background-6);
    animation-delay: 0.1s;
  }
  .overlay-navigation nav ul li:hover a {
    border: none;
  }
  .overlay-navigation nav ul li:hover a:before {
    transform: translateX(0);
    opacity: 1;
  }
  .overlay-navigation nav ul li:hover a:after {
    transform: translateY(var(--translateY));
    opacity: 1;
  }
  .overlay-navigation nav ul li a {
    --text-interactive-hover-bg: transparent;
    position: relative;
    top: 32%;
    color: var(--nav-overlay-item-link);
    text-transform: var(--nav-overlay-text-transform);
    font-family: var(--nav-overlay-font-family);
    font-weight: var(--nav-overlay-fw);
    letter-spacing: var(--nav-overlay-letter-spacing);
    text-decoration: none;
    display: block;
    text-align: center;
    font-size: var(--nav-overlay-fs);
  }
  .overlay-navigation nav ul li a:before {
    content: "";
    width: var(--size-px-10);
    height: var(--border-size-2);
    background-color: var(--color-neutral-900);
    position: absolute;
    top: 50%;
    left: 0;
    z-index: 100;
    transform: translateX(-100%);
    opacity: 0;
    transition: all 0.2s linear;
  }
  @media (hover: none) {
    .overlay-navigation nav ul li a:before {
      transform: translateX(0);
      opacity: 1;
    }
  }
  .overlay-navigation nav ul li a:after {
    --translateY: max(var(--spacing-025), 3vh);
    content: attr(data-content);
    font-size: var(--font-size-300);
    transition: all 0.2s var(--cubic-bezier-easeBounce);
    opacity: 0;
    position: absolute;
    z-index: 100;
    color: var(--color-neutral-900);
    display: block;
    margin-right: auto;
    margin-left: auto;
    left: 0;
    right: 0;
    bottom: calc(var(--translateY) * -1);
    text-transform: none;
    font-family: var(--font-family-heading);
    font-weight: var(--font-weight-3);
    font-style: italic;
    letter-spacing: 0;
  }
  @media screen and (width >= 45em) {
    .overlay-navigation nav ul li a:after {
      --translateY: var(--spacing-150);
    }
  }
  @media screen and (width >= 65em) {
    .overlay-navigation nav ul li a:after {
      --translateY: var(--spacing-250);
    }
  }
  @media (hover: none) {
    .overlay-navigation nav ul li a:after {
      transform: translateY(var(--translateY));
      opacity: 1;
    }
  }
  @media screen and (width >= 65em) {
    .overlay-navigation nav ul li a {
      top: 46%;
    }
  }
  .overlay-navigation.open {
    transition: all 0.4s ease-in-out;
    transform: translateY(0);
    top: 0;
  }
  .overlay-navigation.open nav ul li {
    animation: slide-in-nav-item 0.4s var(--cubic-bezier-easeBounce) 0.4s 1 both;
  }
  .overlay-navigation.open nav ul li:nth-child(1) {
    animation-delay: 0.4s;
  }
  .overlay-navigation.open nav ul li:nth-child(2) {
    animation-delay: 0.8s;
  }
  .overlay-navigation.open nav ul li:nth-child(3) {
    animation-delay: 1.2s;
  }
  .overlay-navigation.open nav ul li:nth-child(4) {
    animation-delay: 1.6s;
  }
  .overlay-navigation.open nav ul li:nth-child(5) {
    animation-delay: 2s;
  }
  .overlay-navigation.open nav ul li:nth-child(6) {
    animation-delay: 2.4s;
  }
  .overlay-navigation-button {
    --padding-inline: var(--spacing-150);
    --padding-top: var(--spacing-100);
    --padding-bottom: calc(var(--padding-top) * .75);
    position: relative;
    text-align: right;
    padding-inline: var(--padding-inline);
    padding-top: var(--padding-top);
    padding-bottom: var(--padding-bottom);
    z-index: var(--nav-overlay-button-zindex, 5);
    transition: padding 0.45s 0.5s;
  }
  @media screen and (width >= 30em) {
    .overlay-navigation-button {
      --padding-inline: var(--spacing-300);
      --padding-top: var(--spacing-125);
    }
  }
  @media screen and (width >= 65em) {
    .overlay-navigation-button {
      --padding-inline: var(--spacing-500);
      --padding-top: var(--spacing-250);
    }
  }
  .overlay-navigation-button button {
    --btn-background-color: #00000000;
    --btn-background-hover-color: #00000000;
    --btn-background-active-color: #00000000;
    --btn-text-hover-color: inherit;
    --btn-text-active-color: inherit;
    --btn-border-hover-color: #00000000;
    --btn-border-active-color: #00000000;
    --btn-border-width: 0;
    background-color: transparent;
    appearance: none;
    color: currentColor;
    transition: color 3ms var(--cubic-bezier-easeElastic) 0.5s;
    padding-block: 14px;
  }
  .overlay-navigation-button button > span {
    --width: 40px;
    width: var(--width);
    height: 2px;
    border: none;
    cursor: pointer;
    background: currentColor;
    color: inherit;
    font-size: 0;
    opacity: 1;
    transition: width 0.25s;
  }
  @media screen and (width >= 65em) {
    .overlay-navigation-button button > span {
      --width: 50px;
    }
  }
  .overlay-navigation-button button:before, .overlay-navigation-button button:after {
    position: absolute;
    top: 0;
    left: 50%;
    display: block;
    width: 100%;
    height: 2px;
    background: currentColor;
    content: "";
    transition: transform 2s 0.5s;
  }
  .overlay-navigation-button button:before {
    transform: translate(-50%, 0px);
  }
  .overlay-navigation-button button:after {
    transform: translate(-50%, 28px);
  }
  .overlay-navigation.open ~ .overlay-navigation-button {
    transition: padding 0.25s;
    padding-top: calc(var(--padding-top) * 0.75);
    padding-inline: max(var(--spacing-125), var(--padding-inline) * 0.5);
    position: fixed;
    right: 0;
    top: 0;
  }
  .overlay-navigation.open ~ .overlay-navigation-button button {
    transition: color 3ms var(--cubic-bezier-easeElastic) 1.9s;
    color: var(--color-neutral-950);
  }
  .overlay-navigation.open ~ .overlay-navigation-button button > span {
    width: calc(var(--width) * 0.8);
    animation: menuButton 2s 0.5s forwards;
  }
  .overlay-navigation.open ~ .overlay-navigation-button button:before {
    animation: menuButtonBefore 2s 0.5s forwards;
  }
  .overlay-navigation.open ~ .overlay-navigation-button button:after {
    animation: menuButtonAfter 2s 0.5s forwards;
  }
  :where(menu, ul.nav, nav ul) {
    list-style: none;
    margin-inline: var(--spacing-100);
    margin-block: var(--spacing-100);
  }
  :where(menu, ul.nav, nav ul) li {
    line-height: 2.25;
  }
  :where(menu, ul.nav, nav ul) a {
    text-decoration: none;
  }
  @keyframes slide-in-nav-item {
    from {
      transform: translateY(-100%);
    }
    to {
      transform: translateY(0);
    }
  }
  @keyframes menuButtonBefore {
    0% {
      transform: translate(-50%, 0);
    }
    40% {
      transform: translate(-50%, 14px);
    }
    60% {
      transform: translate(-50%, 14px);
    }
    100% {
      transform: translate(-50%, 14px) rotate(45deg);
    }
  }
  @keyframes menuButtonAfter {
    0% {
      transform: translate(-50%, -28px);
    }
    40% {
      transform: translate(-50%, 14px);
    }
    60% {
      transform: translate(-50%, 14px);
    }
    100% {
      transform: translate(-50%, 14px) rotate(-45deg);
    }
  }
  @keyframes menuButton {
    0% {
      opacity: 1;
    }
    40% {
      opacity: 1;
    }
    60% {
      opacity: 0;
    }
    100% {
      opacity: 0;
    }
  }
}
/**
 * Section Card
 * ----------------------------------------------------------------------------
 */
@layer component {
  .section-card {
    --section-card-bg: var(--color-primary-700);
    --section-card-fg: var(--color-neutral-50);
    display: grid;
    grid-template-columns: 1fr;
    position: relative;
    grid-gap: var(--grid-gap);
    padding-block: var(--grid-gap);
    padding-inline: var(--grid-gap);
    margin-block: var(--spacing-200);
    margin-bottom: 45%;
    background-color: var(--section-card-bg);
    color: var(--section-card-fg);
  }
  @media screen and (width >= 65em) {
    .section-card {
      grid-template-columns: 1.5fr 1fr;
      margin-bottom: 10%;
    }
  }
  @media screen and (width >= 87.5em) {
    .section-card {
      grid-template-columns: 1.25fr 1fr;
      margin-bottom: 15%;
    }
  }
  .section-card :where(h1, .h1, h2, .h2, h3, .h3, h4, .h4, h5, .h5, h6, .h6) {
    --heading-color: var(--section-card-fg);
  }
  .section-card :last-child {
    position: relative;
  }
  .section-card :last-child > div.card {
    position: absolute;
    top: calc(var(--spacing-175) * -1);
    min-height: calc(100% + var(--spacing-600) * 2);
    width: 100%;
    align-items: center;
    justify-content: center;
  }
  @media screen and (width >= 45em) {
    .section-card :last-child > div.card {
      min-height: calc(100% + var(--spacing-600) * 2.5);
    }
  }
  @media screen and (width >= 65em) {
    .section-card :last-child > div.card {
      top: 0;
      min-height: calc(100% + var(--spacing-600) * 0.5);
    }
  }
  @media screen and (width >= 87.5em) {
    .section-card :last-child > div.card {
      min-height: calc(100% + var(--spacing-600));
      padding: var(--grid-gap);
    }
  }
  .section-card :last-child jc-animation {
    height: auto;
  }
  .section-card .container {
    display: flex;
    flex-direction: column;
  }
  .section-card .container * {
    text-wrap: wrap;
  }
  .section-card .container :last-child {
    align-self: end;
  }
  @media screen and (width >= 45em) {
    .section-card .container :last-child {
      align-self: start;
    }
  }
  @media screen and (width >= 65em) {
    .section-card.reverse {
      grid-template-columns: 1fr 1.5fr;
    }
  }
  @media screen and (width >= 87.5em) {
    .section-card.reverse {
      grid-template-columns: 1fr 1fr;
    }
  }
  .section-card .text-conture-shadow {
    --text-shadow-color: --section-card-fg;
  }
  @media (prefers-color-scheme: dark) {
    .section-card {
      --section-card-bg: var(--color-neutral-900);
      --section-card-fg: var(--color-neutral-50);
    }
  }
}
/**
 * Hero - full-width image with the claim laid over it, banner position
 * ----------------------------------------------------------------------------
 */
@layer component {
  /**
   * Hero - a single photograph carrying the page, with the claim laid over it.
   *
   * Composes .pile: image, scrim, text and credit share one grid area. Pile centres its
   * content, a hero has to fill it instead, so place-content and the per-child placement
   * are the only things this component takes back.
   *
   * Belongs in the banner position. That one sits outside .content-grid and is therefore
   * the only place where a full-width image is not clamped to the content column.
   */
  .hero {
    /*
     * Channels, not a colour: the scrim needs four opacities of the same tone, and
     * relative colour syntax appears nowhere else in this template. Mirrors
     * --color-killarney-900, behind --color-primary-900.
     */
    --hero-scrim-rgb: 15 26 18;
    --hero-fg: var(--color-neutral-100);
    /*
     * The base layer styles every figure as a centring grid
     * (:where(figure) { place-items: center; gap: var(--grid-gap) }). Centred items are
     * sized by their content, which collapses the scrim to nothing. A hero fills, so
     * both axes and the gap have to be taken back here.
     */
    display: grid;
    place-content: stretch;
    place-items: stretch;
    gap: 0;
    position: relative;
    /* Portrait crop first: at phone width a 16/7 strip leaves nothing of the horse. */
    aspect-ratio: 4/5;
    max-height: 70vh;
    overflow: hidden;
    margin: 0;
    background-color: rgb(var(--hero-scrim-rgb));
  }
  @media screen and (width >= 45em) {
    .hero {
      aspect-ratio: 16/7;
      max-height: 82vh;
    }
  }
  .hero__image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    /* Art direction per photo, set inline on the img. Keeps the head in frame. */
    object-position: var(--hero-focus, 50% 35%);
    display: block;
    /* The base layer rounds every image inside a figure; the hero is clipped by its own
       overflow, so a radius would only expose the background in the corners. */
    border-radius: 0;
  }
  /*
   * The scrim that carries the text over the photograph. A pseudo element rather than a
   * div, so the module content stays semantic and no editor can drop it as empty markup.
   * .pile places elements only, hence the explicit grid-area.
   */
  .hero::after {
    content: "";
    grid-area: pile;
    z-index: 1;
    pointer-events: none;
    background-image: linear-gradient(to top, rgb(var(--hero-scrim-rgb)/85%) 0%, rgb(var(--hero-scrim-rgb)/60%) 32%, rgb(var(--hero-scrim-rgb)/15%) 62%, rgb(var(--hero-scrim-rgb)/0%) 100%);
  }
  .hero__body {
    z-index: 2;
    place-self: end start;
    max-width: 38ch;
    padding: var(--spacing-150);
    color: var(--hero-fg);
    /* Backup for the scrim over bright parts of a photograph. */
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.45);
  }
  @media screen and (width >= 45em) {
    .hero__body {
      padding: var(--spacing-300);
    }
  }
  .hero__body :where(h1, .h1, h2, .h2, h3, .h3, h4, .h4, h5, .h5, h6, .h6) {
    --heading-color: var(--hero-fg);
    margin: 0;
    font-size: var(--font-size-900);
    text-wrap: balance;
  }
  .hero__body .btn {
    --btn-background-color: var(--color-neutral-100);
    --btn-text-color: var(--color-primary-800);
    --btn-border-color: transparent;
    --btn-background-hover-color: var(--color-primary-700);
    --btn-text-hover-color: var(--color-neutral-100);
    --btn-background-active-color: var(--color-primary-800);
    --btn-text-active-color: var(--color-neutral-100);
    margin-block-start: var(--spacing-150);
    text-shadow: none;
  }
  .hero__body .cluster {
    margin-block-start: var(--spacing-150);
  }
  .hero__body .cluster .btn {
    margin-block-start: 0;
  }
  .hero__claim {
    margin-block: var(--spacing-075) 0;
    text-wrap: pretty;
  }
  .hero__credit {
    z-index: 2;
    place-self: end end;
    padding: var(--spacing-050);
    font-size: var(--font-size-200);
    /*
     * Derived from --hero-fg, not a literal white, so a hero that flips its foreground
     * takes the credit with it. 80% is the floor the worst case allows: over a blown-out
     * white photo the scrim still reads as rgb(51 60 54) at the bottom edge where the
     * credit sits, which puts 80% at 8:1 and 70% at 6.5:1 - the latter passes too, but
     * leaves nothing for a scrim that is ever lightened.
     */
    color: color-mix(in srgb, var(--hero-fg) 80%, transparent);
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.6);
  }
  .hero__credit a {
    color: inherit;
  }
  /**
   * Offset variant - photograph and card side by side, the card overlapping it.
   *
   * The text no longer lies on the picture, so the scrim goes and the photograph keeps
   * its full tonal range. It also halves the displayed width of the image, which is what
   * lets a 1000px original stay sharp on a wide screen - the reason this variant, not the
   * full-bleed one, suits the stock we have.
   *
   * Undoes the fixed frame of .hero: no crop, and the card is allowed to hang over the
   * edge. Placement is numeric throughout, so .pile's single named area is dropped.
   */
  .hero--offset {
    /* Same green as .section-card, so the two blocks read as one family. */
    --hero-card-bg: var(--color-primary-700);
    /*
     * Unlike the plain .hero, this variant is not meant to bleed edge to edge - it is a
     * two-column card (photo beside the overlapping text card), and stretched to the full
     * width of the banner position on a wide screen that reads as broken rather than as
     * a hero. Held to the page rail instead, with the padding switched on at the same
     * breakpoint .navbar-brand switches it on (layout/_header.scss), so the two share an
     * edge at every width - below md both are 100% wide and unpadded, above it both are
     * the rail less its padding.
     */
    max-width: var(--container-max-width-wide, 75rem);
    margin-inline: auto;
  }
  @media screen and (width >= 45em) {
    .hero--offset {
      padding-inline: var(--content-padding-inline-breakpoint-md);
    }
  }
  .hero--offset {
    grid-template-areas: none;
    grid-template-columns: minmax(0, 1fr);
    aspect-ratio: auto;
    max-height: none;
    overflow: visible;
    background-color: transparent;
  }
  .hero--offset::after {
    display: none;
  }
  .hero--offset .hero__image {
    grid-area: 1/1/2/2;
    /*
     * No crop at all. One photograph in five is portrait, and without a fixed frame
     * there is nothing to force them into.
     */
    aspect-ratio: auto;
    height: auto;
    border-radius: var(--card-border-radius, var(--spacing-100));
  }
  .hero--offset .hero__body {
    grid-area: 2/1/3/2;
    z-index: 2;
    max-width: none;
    background-color: var(--hero-card-bg);
    border-radius: var(--card-border-radius, var(--spacing-100));
    box-shadow: var(--shadow-3);
    /* On a solid colour now, so the crutch against bright photo areas can go. */
    text-shadow: none;
    /* The card slides up over the lower edge of the photograph. */
    margin-block-start: calc(var(--spacing-150) * -1);
    margin-inline-start: var(--spacing-150);
  }
  .hero--offset .hero__credit {
    grid-area: 3/1/4/2;
    justify-self: end;
    /*
     * Off the photograph and onto the page background, so the credit needs a tone
     * that carries there: neutral-700 sits at 2.9:1 on --color-neutral-100, below
     * the 4.5:1 the small text and the link inside it require. neutral-800 reaches
     * 6:1 and still reads as quieter than the body copy at neutral-950.
     */
    color: var(--color-neutral-800);
    text-shadow: none;
  }
  @media screen and (width >= 56em) {
    .hero--offset {
      grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr);
      align-items: center;
    }
    .hero--offset .hero__credit {
      grid-area: 2/1/3/2;
      /*
       * To the left, against the picture's own edge. Stacked it sits at the end of the
       * row, which is where a credit belongs - but from here the card takes the right
       * of this column: .hero__body spans into it by --spacing-300 through its negative
       * inline margin below, and the credit was landing underneath that overlap.
       */
      justify-self: start;
    }
    .hero--offset .hero__body {
      grid-area: 1/2/3/3;
      align-self: center;
      /*
       * The overlap plus the drop is what makes the two read as one composition
       * rather than as two columns standing next to each other.
       */
      margin-block-start: var(--spacing-400);
      margin-inline-start: calc(var(--spacing-300) * -1);
    }
  }
}
/**
 * Avatar
 * ----------------------------------------------------------------------------
 */
@layer component {
  .avatar-list {
    --avatar-size: 5rem;
    --avatar-count: 2;
    list-style: none;
    margin: 0;
    display: grid;
    /* Default to displaying most of the avatar to
    enable easier access on touch devices, ensuring
    the WCAG touch target size is met or exceeded */
    grid-template-columns: repeat(var(--avatar-count), max(44px, var(--avatar-size) / 1.15));
    /* `padding` matches added visual dimensions of
    the `box-shadow` to help create a more accurate
    computed component size */
    padding: 0.08em;
    font-size: var(--avatar-size);
    margin-block-start: var(--spacing-250);
    margin-block-end: var(--spacing-400);
  }
  @media (any-hover: hover) and (any-pointer: fine) {
    .avatar-list {
      /* We create 1 extra cell to enable the computed 
      width to match the final visual width */
      grid-template-columns: repeat(calc(var(--avatar-count) + 1), var(--avatar-size));
    }
  }
  .avatar-list li {
    width: var(--avatar-size);
    height: var(--avatar-size);
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: transform 180ms ease-in-out;
  }
  .avatar-list li:last-of-type:hover, .avatar-list li:last-of-type:focus-within {
    transform: translateX(32%);
  }
  .avatar-list li:hover .avatar-image-back {
    animation: flip-image 0.8s cubic-bezier(0.55, 0.055, 0.675, 0.19) 0.2s forwards;
  }
  .avatar-list li:hover a {
    --background-blend-color: var(--color-yellow-600);
  }
  .avatar-list li:hover a::after {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1;
    border-radius: 50%;
    background-color: var(--background-blend-color);
    mix-blend-mode: multiply;
  }
  .avatar-list li:hover ~ li, .avatar-list li:hover ~ li a, .avatar-list li:focus-within ~ li, .avatar-list li:focus-within ~ li a {
    transform: translateX(16%);
  }
  .avatar-list li:hover span, .avatar-list li:focus-within span {
    display: inline-block;
  }
  .avatar-list li:hover a, .avatar-list li:focus-within a {
    position: relative;
  }
  .avatar-list img, .avatar-list a {
    display: block;
    border-radius: 50%;
  }
  .avatar-list a {
    display: grid;
    grid-template-areas: "pile";
    place-content: center;
    transition: transform 180ms ease-in-out;
  }
  .avatar-list a:focus {
    outline: 2px solid transparent;
    /* Double-layer trick to work for dark and light backgrounds */
    box-shadow: 0 0 0 0.08em #29344B, 0 0 0 0.12em white;
  }
  .avatar-list a:hover, .avatar-list a:focus-within {
    border: none;
  }
  .avatar-list a::after {
    content: "";
    display: block;
    background: transparent;
    transition: background-color 0.5s 0.77s;
  }
  .avatar-list img {
    grid-area: pile;
    width: 90px;
    height: 90px;
    object-fit: cover;
    background-color: #fff;
    background-color: var(--body-background);
    box-shadow: 0 0 0 0.035em var(--color-neutral-200), 0 0 0 0.08em rgba(0, 0, 0, 0.015);
  }
  .avatar-list img.avatar-image-front {
    filter: brightness(1.4) contrast(110%);
  }
  .avatar-name {
    font-size: var(--font-size-200);
    text-align: center;
    padding-block-start: var(--spacing-050);
  }
}
@keyframes flip-image {
  0% {
    transform: translateX(0) translateZ(0) rotateY(0);
    transform-origin: 0% 50%;
    opacity: 1;
  }
  50% {
    opacity: 1;
  }
  90% {
    transform: translateX(-100%) translateZ(-260px) rotateY(-180deg);
    transform-origin: 100% 0%;
    z-index: -1;
  }
  100% {
    opacity: 0;
  }
}
/**
 * Contact Info - the address block, and the contact page's two-column layout
 * ----------------------------------------------------------------------------
 */
@layer component {
  .contact-info {
    --contact-info-fg: var(--color-surface-neutral-fg);
    --contact-info-link-color: var(--text-interactive);
    --contact-info-social-icon-size: 1.5rem;
    --contact-info-gap: var(--spacing-025);
    color: var(--contact-info-fg);
  }
  /*
   * The contact page borrows the banner hero for its picture and intro text. There it is the only
   * thing in a full-width position and pads itself to the page rail; here it sits inside the content
   * column, which is already on that rail, and the padding would indent it against the heading and
   * the columns below. Taken off with the one extra class the page provides.
   */
  .com-contact .hero--offset {
    padding-inline: 0;
  }
  .contact-image {
    margin: 0 0 var(--spacing-200);
  }
  .contact-image img {
    width: 100%;
    height: auto;
    border-radius: var(--border-radius);
  }
  .contact-address {
    display: flex;
    flex-direction: column;
    font-style: normal;
    gap: var(--contact-info-gap);
    margin-block-end: var(--spacing-200);
  }
  .contact-name {
    font-weight: var(--font-weight-bold);
  }
  .contact-links {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-075);
    list-style: none;
    margin: 0 0 var(--spacing-200);
    padding: 0;
  }
  .contact-link {
    display: flex;
    align-items: center;
    gap: var(--spacing-075);
    color: var(--contact-info-link-color);
    text-decoration: none;
  }
  .contact-link:hover, .contact-link:focus {
    color: var(--text-interactive-hover);
  }
  .contact-link--mail::before {
    content: "";
    flex-shrink: 0;
    inline-size: 1rem;
    block-size: 1rem;
    background-color: currentColor;
    mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M20 4H4c-1.1 0-2 .9-2 2v12c0 1.1.9 2 2 2h16c1.1 0 2-.9 2-2V6c0-1.1-.9-2-2-2zm0 4-8 5-8-5V6l8 5 8-5v2z'/%3E%3C/svg%3E") center/contain no-repeat;
  }
  .contact-links__note {
    color: color-mix(in srgb, currentColor 80%, transparent);
    font-size: var(--font-size-200);
  }
  .contact-link-icon {
    display: flex;
    align-items: center;
    flex-shrink: 0;
  }
  .contact-link-icon svg {
    width: 1rem;
    height: 1rem;
    fill: currentColor;
  }
  .contact-action {
    margin-block-end: var(--spacing-300);
  }
  .contact-social-list {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-075);
    list-style: none;
    margin: 0;
    padding: 0;
  }
  .contact-social-link {
    display: flex;
    align-items: center;
    gap: var(--spacing-075);
    color: var(--contact-info-link-color);
    text-decoration: none;
  }
  .contact-social-link:hover, .contact-social-link:focus {
    color: var(--text-interactive-hover);
  }
  .contact-social-icon {
    display: flex;
    align-items: center;
    flex-shrink: 0;
  }
  .contact-social-icon svg {
    width: var(--contact-info-social-icon-size);
    height: var(--contact-info-social-icon-size);
    fill: currentColor;
  }
  .contact-social-label {
    font-size: var(--font-size-300);
  }
  .footer .contact-info {
    --contact-info-fg: var(--footer-fg);
    --contact-info-link-color: var(--footer-link-color);
  }
  .footer .contact-info .contact-action .btn {
    --btn-background-color: transparent;
    --btn-background-hover-color: var(--color-neutral-100);
    --btn-text-color: var(--color-neutral-100);
    --btn-text-hover-color: var(--color-surface-primary-bg);
    --btn-border-color: var(--color-neutral-300);
    --btn-border-hover-color: var(--color-neutral-100);
  }
  .contact-page-layout {
    display: grid;
    gap: var(--spacing-400);
  }
  @media screen and (width >= 45em) {
    .contact-page-layout {
      grid-template-columns: 1fr 2fr;
      align-items: start;
    }
  }
}
/**
 * Contact Form - com_contact's mail form
 * ----------------------------------------------------------------------------
 */
@layer component {
  /*
    The com_contact mail form. Its markup is Joomla's own - the fields come from
    $field->renderField(), so every row is the layouts/joomla/form/renderfield.php shape:
    .control-group > div.control-label > label, and .control-group > .controls > input. Nothing here
    may assume otherwise, which is also why the design system's preview carries that same wrapper.
  */
  .contact-form .contact-form__fields {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-200);
    margin: 0;
    padding: 0;
    border: none;
  }
  .contact-form .control-group {
    display: grid;
    gap: var(--spacing-050);
    margin-block: 0;
  }
  .contact-form .control-label {
    flex-basis: auto;
  }
  .contact-form .control-label label {
    margin-bottom: 0;
  }
  .contact-form :is(input, textarea, select):not([type=checkbox]):not([type=radio]) {
    inline-size: 100%;
  }
  .contact-form textarea {
    resize: vertical;
  }
  .contact-form .control-group:has(> .controls > input[type=checkbox]) {
    grid-template-columns: auto 1fr;
    align-items: center;
    gap: var(--form-label-checkbox-gap, calc(var(--form-input-option-dimension) * 0.75));
  }
  .contact-form .control-group:has(> .controls > input[type=checkbox]) .control-label {
    order: 2;
  }
  .contact-form .contact-form__submit {
    margin-block-start: var(--spacing-200);
  }
  .contact-form {
    /*
      The ALTCHA captcha widget (plg_captcha_powcaptcha). It renders straight into the light DOM
      - no shadow root - so its own stylesheet (media/vendor/altcha/css/altcha.css) is reachable
      both through the CSS custom properties it documents and, for the one piece those properties
      don't cover, directly.
    */
  }
  .contact-form altcha-widget {
    --altcha-color-base: var(--form-input-color-bg);
    --altcha-color-border: var(--form-input-border-color);
    --altcha-color-border-focus: var(--focus-outline-color);
    --altcha-color-text: var(--form-input-color-fg);
    --altcha-color-active: var(--text-interactive-hover-bg);
    --altcha-color-error-text: var(--form-invalid-text);
    --altcha-border-radius: var(--form-input-border-radius);
    --altcha-border-width: var(--form-input-border-width);
  }
  .contact-form .altcha-label {
    display: block;
    margin-bottom: 0;
  }
  .contact-form .altcha-checkbox input {
    appearance: none;
    margin: 0;
    width: var(--form-input-option-dimension);
    height: var(--form-input-option-dimension);
    border: 0.15em solid currentColor;
    border-radius: 0.15em;
    display: grid;
    place-content: center;
  }
  .contact-form .altcha-checkbox input::before {
    content: "\f00c";
    font-family: "Font Awesome 6 Free";
    font-weight: var(--font-weight-bold);
    transform: scale(0);
    transition: transform 0.15s ease-in-out;
    color: var(--text-interactive-hover);
  }
  .contact-form .altcha-checkbox input:checked {
    background-color: var(--text-interactive-hover-bg);
    border-color: var(--text-interactive-hover-bg);
  }
  .contact-form .altcha-checkbox input:checked::before {
    transform: scale(1);
  }
}
/**
 * Language Switcher - Joomla mod_languages
 * ----------------------------------------------------------------------------
 */
@layer component {
  .lang-switcher, [class*=" lang-switcher-"], [class^=lang-switcher-], [class$=" lang-switcher-"] {
    --lang-switcher-globe-size: 1em;
    --lang-switcher-chevron-size: 0.9em;
    --lang-switcher-gap: var(--spacing-050);
    --lang-switcher-trigger-padding-block: var(--spacing-075);
    --lang-switcher-trigger-fg: var(--color-surface-primary-fg);
    --lang-switcher-list-bg: var(--color-neutral-000);
    --lang-switcher-list-border: var(--color-neutral-600);
    --lang-switcher-list-min-width: 12rem;
    --lang-switcher-item-fg: var(--color-primary-700);
    --lang-switcher-item-hover-bg: var(--color-accent-200);
    --lang-switcher-item-check-color: var(--color-primary-700);
    --lang-switcher-item-check-size: 0.9em;
  }
}
@layer component {
  .mod-languages {
    position: relative;
    display: inline-block;
  }
  /**
   * base/_root.scss styles every <details> as an accordion: a 2rem top margin, padding on each
   * direct child, and a '+'/'-' marker on summary::after. All of it lands here too, because a
   * disclosure dropdown is a <details> as well. @layer component outranks @layer base, but only
   * for properties actually declared — so each leaked one has to be named. The three resets
   * below are load-bearing, not tidying.
   */
  .mod-languages__details {
    position: relative;
    margin-block: 0;
  }
  .mod-languages__trigger {
    display: inline-flex;
    align-items: center;
    gap: var(--lang-switcher-gap);
    color: var(--lang-switcher-trigger-fg);
    /*
      No fill, so no inline padding either: with a transparent background it would only push
      the label away from the band's own edge gap without showing anything for it. The band
      sets that gap once, here. Block padding stays and is what gives the strip its height.
    */
    padding-block: var(--lang-switcher-trigger-padding-block);
    padding-inline: 0;
    cursor: pointer;
    border: none;
    font-size: var(--font-size-200);
    font-weight: var(--font-weight-bold);
    letter-spacing: 0.05em;
    /*
      Overrides the 1.5 inherited from body. That half line above and below the label is
      invisible on a paragraph but doubles the height of a strip this short, and it sets the
      band's height on its own once the paddings are down to a few pixels.
    */
    line-height: 1;
    /**
     * Drop the native disclosure triangle — the chevron below replaces it. Both rules are
     * needed: list-style covers current browsers, ::-webkit-details-marker covers Safari,
     * which still exposes the triangle as its own pseudo element.
     */
    list-style: none;
  }
  .mod-languages__trigger::-webkit-details-marker {
    display: none;
  }
  .mod-languages__trigger:focus-visible {
    outline: var(--focus-outline-width) var(--focus-outline-style) var(--focus-outline-color);
    outline-offset: calc(var(--focus-outline-width) * -1);
    padding-inline: var(--spacing-075);
    margin-inline: calc(var(--spacing-075) * -1);
  }
  /**
   * Chevron. A masked pseudo element rather than a glyph or an inline SVG: it inherits
   * currentColor, so it needs no separate token, and it can rotate on open. Same technique the
   * footer menu uses for its list markers.
   */
  .mod-languages__trigger::after {
    content: "";
    flex: none;
    /**
     * Undoing the accordion marker from base/_root.scss. font-size matters most: it sets that
     * pseudo element to xxx-large, and the sizes below are in em, so they were resolving
     * against ~48px instead of the trigger's 0.875rem. margin-left: auto shoved the glyph to
     * the far edge and padding-inline-end added a further gap after it.
     */
    margin: 0;
    padding: 0;
    font-size: inherit;
    line-height: 1;
    inline-size: var(--lang-switcher-chevron-size);
    block-size: var(--lang-switcher-chevron-size);
    background-color: currentcolor;
    mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E") no-repeat center/contain;
    transition: rotate var(--duration-quick) ease-in-out;
  }
  [open] > .mod-languages__trigger::after {
    rotate: 180deg;
  }
  .mod-languages__globe {
    inline-size: var(--lang-switcher-globe-size);
    block-size: var(--lang-switcher-globe-size);
    flex: none;
  }
  .mod-languages__list {
    position: absolute;
    /*
      Anchored to the trigger's end edge, because the switcher sits at the end of the topbar.
      Started from the near edge, a panel wider than the trigger - which it always is - would
      grow towards the viewport edge and hang over it.
    */
    inset-inline-end: 0;
    top: 100%;
    z-index: 100;
    /**
     * Sized by its content, with the token only as a floor. Absolutely positioned boxes
     * shrink to fit their containing block, which here is the trigger — barely wider than
     * "DE" — so the panel was squeezing every language name onto two lines.
     * No max-inline-size on purpose: combined with the overflow: hidden below, a cap would
     * clip a long name rather than show it.
     */
    inline-size: max-content;
    min-inline-size: var(--lang-switcher-list-min-width);
    font-size: var(--font-size-200);
    background-color: var(--lang-switcher-list-bg);
    border: var(--border-width) solid var(--lang-switcher-list-border);
    /* Matches the trigger, which had a radius while the panel did not. */
    border-radius: var(--border-radius);
    /* So the first and last row's hover fill follows the rounded corners. */
    overflow: hidden;
    list-style: none;
    /**
     * All four sides, not just the start. `:where(details) > *` in base/_root.scss pads every
     * direct child of a <details>, so resetting only padding-inline-start left the rows
     * inset from the panel's other three edges — the hover fill stopped short of them.
     */
    padding: 0;
    margin-block-start: var(--spacing-025);
    box-shadow: var(--shadow-2);
  }
  .mod-languages__item {
    /**
     * Current language: a check glyph plus bold weight. No fill and no separate colour — a
     * fill would repeat the hover treatment and leave the two indistinguishable while
     * pointing at the row, and every row shares one text colour by design.
     */
  }
  .mod-languages__item--active > a {
    font-weight: var(--font-weight-bold);
  }
  .mod-languages__item--active > a::after {
    content: "";
    flex: none;
    inline-size: var(--lang-switcher-item-check-size);
    block-size: var(--lang-switcher-item-check-size);
    background-color: var(--lang-switcher-item-check-color);
    mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") no-repeat center/contain;
  }
  .mod-languages__item a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--lang-switcher-gap);
    padding: var(--spacing-050) var(--spacing-075);
    color: var(--lang-switcher-item-fg);
    text-decoration: none;
    /* A language name is a unit — "English (United Kingdom)" broken over two lines reads
       as two entries. */
    white-space: nowrap;
    transition: background-color var(--duration-quick) ease-in-out, color var(--duration-quick) ease-in-out;
  }
  .mod-languages__item a:hover, .mod-languages__item a:focus {
    background-color: var(--lang-switcher-item-hover-bg);
    /* Restated, not inherited: base/_root.scss recolours every hovered link to
       --text-interactive-hover. Only the fill should change here. */
    color: var(--lang-switcher-item-fg);
    /* base/_root.scss paints a halo on every link; inside a panel it reads as a
       stray second edge around the row. */
    box-shadow: none;
  }
  .mod-languages__item a:focus-visible {
    outline: var(--focus-outline-width) var(--focus-outline-style) var(--focus-outline-color);
    outline-offset: calc(var(--focus-outline-offset) * -1);
  }
  @media (prefers-reduced-motion: reduce) {
    .mod-languages__trigger,
    .mod-languages__trigger::after,
    .mod-languages__item a {
      transition-duration: 1ms;
    }
  }
}
/**
 * Error page - 404, 403 and everything else that is not a page
 * ----------------------------------------------------------------------------
 */
@layer component {
  /**
   * The error page - what a visitor gets instead of the page they asked for.
   *
   * It sits in the ordinary content column and under the ordinary header and footer, so the
   * shape of the site does not change under someone who mistyped an address. What carries it
   * is the code, set large in the sand of the waves that frame every page here: the same two
   * elements the rest of the site is drawn with, and no photograph, which the page cannot
   * reliably reach anyway - on an error the application is only half up.
   *
   * The waves themselves come from <main> (scss/joomla/ui/_mixed.scss). The upper one stands
   * in the top right corner, which is why the block below leaves room there and the number
   * starts against the left edge: the two meet in one band across the head of the page
   * without either being placed against the other.
   */
  .error-page {
    --error-page-code-color: var(--color-primary-200);
    display: grid;
    justify-items: start;
    gap: var(--spacing-100);
    padding-block: var(--spacing-300) var(--spacing-400);
  }
  /*
   * The code. Decoration rather than information - at this size and in this tone it is a
   * shape, and the markup hides it from assistive technology accordingly. The number is
   * stated again in .error-page__reference, in text that carries the contrast body copy has
   * to carry.
   *
   * clamp rather than a step from the type scale: the scale tops out at a heading size, and
   * a heading-sized number is neither the picture this page needs nor big enough to read as
   * one. The lower bound keeps three digits inside a 320px screen.
   */
  .error-page__code {
    margin: 0;
    color: var(--error-page-code-color);
    font-size: clamp(6rem, 26vw, 15rem);
    font-weight: var(--font-weight-bold);
    line-height: 0.8;
    letter-spacing: -0.03em;
    /*
     * The digits carry no space of their own below the baseline at this line-height, so
     * without this the heading would sit against them.
     */
    margin-block-end: var(--spacing-050);
  }
  .error-page__title {
    margin-block: 0;
    text-wrap: balance;
  }
  /*
   * A measure of its own: the content column is set for running text, and two short sentences
   * across its full width read as a line rather than a paragraph.
   */
  .error-page__text {
    margin-block: 0;
    max-inline-size: 55ch;
    text-wrap: pretty;
  }
  /*
   * Laid out as a row for more than the one button the layout prints, so a module dropped in
   * the error-404 position can add its own way onward beside it rather than under it.
   */
  .error-page__actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: var(--spacing-100);
    margin-block: var(--spacing-150) 0;
  }
  /*
   * The code in words, and the only place it is actually stated. Quiet, because it is for the
   * visitor to quote when they write in, not something they have to read to understand the
   * page. neutral-800 is the same secondary tone the cards use, measured against the page
   * background at 5.96:1.
   */
  .error-page__reference {
    margin-block: var(--spacing-200) 0;
    color: var(--color-neutral-800);
    font-size: var(--font-size-200);
  }
  /*
   * Anything the site adds for this code. Separated by a rule rather than by space alone, so
   * a bare menu underneath does not read as part of the message above it.
   */
  .error-page__modules {
    margin-block-start: var(--spacing-300);
    padding-block-start: var(--spacing-300);
    border-block-start: 1px solid var(--border-color);
  }
  /*
   * The exception and its backtrace, shown only while Joomla is in debug mode.
   *
   * min-inline-size, because this is a grid item of .content-grid and those are free to grow
   * past their track: a stack frame is a path, and one long path would otherwise set the
   * width of the whole page.
   */
  .error-page__debug {
    margin-block-start: var(--spacing-400);
    padding-block-start: var(--spacing-200);
    border-block-start: 1px solid var(--color-neutral-600);
    min-inline-size: 0;
    font-size: var(--font-size-200);
  }
  .error-page__debug-message {
    margin-block: 0 var(--spacing-150);
    font-family: var(--font-family-mono);
    overflow-wrap: anywhere;
  }
  .error-page__debug {
    /*
     * The call stack, in its own scroll box.
     *
     * The base layer gives every table width: max(65rem, 100%) - a matrix needs room, and
     * the template's answer for the overflow that follows is .table-wrapper. The backtrace
     * gets none: it comes out of layouts/joomla/error/backtrace.php as a bare table, so the
     * wrapper is put around it in the entry and styled here.
     *
     * Not .table-wrapper itself, which scrolls both ways and always shows its bars. Here
     * only the sideways one is ever needed, and the stack belongs on the page at its full
     * height rather than in a window of a few rows.
     */
  }
  .error-page__debug-trace {
    overflow-x: auto;
    overscroll-behavior-x: contain;
  }
  .error-page__debug pre {
    overflow-x: auto;
    overscroll-behavior-x: contain;
  }
}
@layer component {
  ul.list-timeline,
  .card-standalone .item-body > ul {
    --timeline-dot: 1.2rem;
    --timeline-line: var(--color-accent-500);
    position: relative;
    margin-inline-start: 0;
    padding-inline-start: 0;
    list-style: none;
  }
  ul.list-timeline::before,
  .card-standalone .item-body > ul::before {
    content: "";
    position: absolute;
    inset-block: 0.75em;
    inset-inline-start: calc(var(--timeline-dot) / 2 - 1px);
    inline-size: 2px;
    background-color: var(--timeline-line);
    transform-origin: top;
  }
  ul.list-timeline > li,
  .card-standalone .item-body > ul > li {
    position: relative;
    margin-block: var(--spacing-050);
    padding-inline-start: calc(var(--timeline-dot) + var(--spacing-100));
  }
  ul.list-timeline > li > p,
  .card-standalone .item-body > ul > li > p {
    margin: 0;
  }
  ul.list-timeline > li::before,
  .card-standalone .item-body > ul > li::before {
    content: "";
    position: absolute;
    inset-inline-start: 0;
    inset-block-start: 0.2em;
    inline-size: var(--timeline-dot);
    block-size: var(--timeline-dot);
    border-radius: 50%;
    background-color: var(--background-color);
    box-shadow: inset 0 0 0 2px var(--timeline-line);
  }
  ul.list-timeline > li:has(strong, b)::before,
  .card-standalone .item-body > ul > li:has(strong, b)::before {
    background: var(--color-yellow-900) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='white'%3E%3Cpath d='M12 2l2.9 6.3 6.9.7-5.2 4.6 1.5 6.8L12 17l-6.1 3.4 1.5-6.8L2.2 9l6.9-.7z'/%3E%3C/svg%3E") center/70% no-repeat;
    box-shadow: 0 0 0 3px var(--color-yellow-200);
  }
}
/**
 * Layouts
 * ==========================================================================
 */
/**
 * Cluster
 * ----------------------------------------------------------------------------
 */
/**
 * Container
 * ----------------------------------------------------------------------------
 */
@layer layout {
  .container {
    --padding-inline: var(--content-padding-inline-default);
    --container-content-max-width: var(--content-max-width);
    width: min(100% - var(--padding-inline), var(--container-content-max-width));
    margin-inline: auto;
  }
  @media screen and (width >= 30em) {
    .container {
      --padding-inline: var(--content-padding-inline-breakpoint-sm);
    }
  }
  @media screen and (width >= 45em) {
    .container {
      --padding-inline: var(--content-padding-inline-breakpoint-md);
    }
  }
  @media screen and (width >= 65em) {
    .container {
      --padding-inline: var(--content-padding-inline-breakpoint-lg);
    }
  }
  .container.full-width {
    width: 100vw;
    position: relative;
    display: block;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
  }
}
/**
 * Content Grid
 * ----------------------------------------------------------------------------
 */
@layer layout {
  .content-grid, .full-width, .full-width-grid {
    --padding-inline: var(--content-padding-inline-default);
    --breakout-max-width: var(--container-max-width-wide, 75rem);
    --breakout-size: calc((var(--breakout-max-width) - var(--content-max-width)) / 2);
    display: grid;
    grid-template-columns: [full-width-start] minmax(var(--padding-inline), 1fr) [breakout-start] minmax(0, var(--breakout-size)) [content-start] min(100% - var(--padding-inline) * 2, var(--content-max-width)) [content-end] minmax(0, var(--breakout-size)) [breakout-end] minmax(var(--padding-inline), 1fr) [full-width-end];
  }
  .content-grid > :where(:not(.breakout, .full-width-grid)), .full-width > :where(:not(.breakout, .full-width-grid)), .full-width-grid > :where(:not(.breakout, .full-width-grid)) {
    grid-column: content;
  }
  @media screen and (width >= 30em) {
    .content-grid, .full-width, .full-width-grid {
      --padding-inline: var(--content-padding-inline-breakpoint-sm, var(--spacing-300));
    }
  }
  @media screen and (width >= 45em) {
    .content-grid, .full-width, .full-width-grid {
      --padding-inline: var(--content-padding-inline-breakpoint-md, var(--spacing-500));
    }
  }
  @media screen and (width >= 65em) {
    .content-grid, .full-width, .full-width-grid {
      --padding-inline: var(--content-padding-inline-breakpoint-lg, var(--spacing-600));
    }
  }
  .content-grid {
    margin-top: calc(var(--spacing-025) / 2);
  }
  .breakout-grid {
    grid-column: breakout;
  }
  .full-width-grid {
    grid-column: full-width;
  }
  .full-width-grid > figure {
    grid-column: full-width;
  }
  .full-width-grid > figure > img {
    width: 100%;
    object-fit: cover;
    max-height: calc(var(--spacing-800) * 2);
  }
  .full-width {
    grid-column: full-width;
    display: block;
  }
  /* .content-grid > :not(.breakout, .full-width)
  .full-width > :not(.breakout, .full-width) {
    grid-column: content;
  }

  .content-grid > .breakout {
    grid-column: breakout;
  }

  .content-grid > .full-width {
    grid-column: full-width;
  } */
}
/**
 * Even Column
 * ----------------------------------------------------------------------------
 */
/**
 * Flexbox Grid
 * ----------------------------------------------------------------------------
 */
@layer layout {
  .flexbox-grid {
    --min: 10ch;
    display: flex;
    flex-wrap: wrap;
    gap: var(--grid-gap);
  }
  .flexbox-grid > * {
    flex: 1 1 var(--min);
  }
  .flexbox-grid.col-2 {
    --min: 100%;
  }
  @media (width >= 60em) {
    .flexbox-grid.col-2 {
      --min: calc(50% - var(--grid-gap) / 2);
    }
    .flexbox-grid.col-2 > *:last-child:nth-child(odd) {
      flex-grow: 0;
    }
  }
}
/**
 * Grid Auto Fit
 * ----------------------------------------------------------------------------
 */
@layer layout {
  .grid-auto-fit {
    display: grid;
    gap: var(--grid-gap);
    grid-template-columns: repeat(auto-fit, minmax(min(250px, 100%), 1fr));
  }
}
/**
 * Pile
 * ----------------------------------------------------------------------------
 */
@layer layout {
  .pile {
    display: grid;
    grid-template-areas: "pile";
    place-content: center;
  }
  .pile > * {
    grid-area: pile;
  }
}
/**
 * Sidebar
 * ----------------------------------------------------------------------------
 */
@layer layout {
  .sidebar {
    display: flex;
    flex-wrap: wrap;
    gap: var(--gutter, var(--space-s-l));
  }
  .sidebar > :first-child {
    flex-basis: var(--sidebar-target-width, 20rem);
    flex-grow: 1;
  }
  .sidebar > :last-child {
    flex-basis: 0;
    flex-grow: 999;
    min-inline-size: var(--sidebar-content-min-width, 50%);
  }
  .sidebar {
    /*
    A flipped version where the sidebar is on the right
    */
  }
  .sidebar[data-direction=rtl] {
    flex-direction: row-reverse;
  }
}
/**
 * Header - brand row above the navigation band
 * ----------------------------------------------------------------------------
 */
@layer component {
  .header, [class*=" header-"], [class^=header-], [class$=" header-"] {
    --header-bg: var(--color-neutral-50);
    --header-logo-min-height: 5.5rem;
    --header-logo-height: 7rem;
    --header-name-color: var(--color-primary-800);
    --header-claim-color: var(--color-accent-500);
    --header-padding-block: var(--spacing-150);
    --header-gap: var(--spacing-125);
    --header-text-gap: var(--spacing-075);
  }
}
@layer layout {
  /*
    The brand row above the navigation band. The header is a child of body rather than of a grid,
    so full-width on it does nothing and the row has to hold its own width in, the way
    .footer-inner does.
  */
  .container-header {
    --header-divider-block-size: calc(var(--spacing-075) * 2);
    --header-divider-bg: var(--color-primary-800);
    background-color: var(--header-bg);
    /*
      Below the breakpoint the header rearranges itself: topbar, navigation, masthead, and the
      green band that closes the header off against the content.

      The rows are printed in the order the desktop needs - masthead, then navigation under it -
      and that order is left alone above the breakpoint, where nothing about this applies. Only
      here is it turned around, because the menu is opened from the topbar and has to appear
      directly under the button that opened it rather than two rows further down.

      The band was the collapsed navigation until now: shut, .container-nav kept its padding and
      its fill and nothing else, and that leftover was the divider. Two jobs on one element - and
      once the navigation moves to the top of the header the divider goes with it, to the wrong
      end. It is drawn here instead, as a pseudo element, since it carries no content and no
      editor should be able to find it. It takes the last place in the order like any other item.

      The skip link is absolutely positioned and out of flow, so it keeps its place at the top
      whatever the rows do.
    */
  }
  @media screen and (width < 65em) {
    .container-header {
      display: grid;
      /*
        Four rows, and the second one is a line rather than a row: the navigation is placed in it
        but aligned to its start, so it keeps its own height and hangs out of the row downwards,
        across the masthead below.

        That is what makes the menu an overlay instead of a drawer. Opened, it takes no space in
        the header, so the masthead, the band and the whole page under them stay exactly where the
        reader left them - a menu that pushed the page down moved the very thing someone was
        looking at when they reached for it.

        Grid rather than flex for this reason alone: a flex item cannot be given a track of no
        height to overflow, and an absolutely positioned one would have to be told how far down
        the topbar ends, which is a height nothing here can measure.
      */
      grid-template-rows: auto 0 auto auto;
      /*
        One column, and it is the whole width. Named rather than left implicit: an implicit column
        is sized from what stands in it, and the masthead is held to --container-max-width-wide, so
        the column came out at the masthead's width and every band in the header - the topbar, the
        navigation, the green edge - was inset by whatever was left over.
      */
      grid-template-columns: minmax(0, 1fr);
      /*
        Every row is put in that column by name, and none of them may be left to find their own
        place. The header carries the class full-width, and scss/layout/_content-grid.scss lays
        every child of that class into a column called content - a name this grid does not define,
        so each row went looking for it, missed, and was placed in a column of its own making. That
        is where the inset at the start of the header came from, and why the green edge stopped
        lining up with the masthead above it.

        The class does nothing else for the header - it is not itself in a grid - but it cannot be
        dropped from the markup without checking what else reads it.
      */
    }
    .container-header .container-topbar {
      grid-row: 1;
      grid-column: 1;
    }
    .container-header .container-nav {
      grid-row: 2;
      grid-column: 1;
      /*
        Not stretched to the row, which is what would hold it to no height at all. Started in it,
        the item is as tall as the menu inside it and overflows downwards.
      */
      align-self: start;
      /*
        Over the masthead it hangs across, and over the band further down, which carries a 1 of
        its own. The waves in <main> sit at 0 and stay under all of it.
      */
      z-index: 5;
    }
    .container-header .navbar-brand {
      grid-row: 3;
      grid-column: 1;
    }
    .container-header {
      /*
        Stacked, and that is not decoration: the topmost wave in <main> is pulled up by
        --spacing-250 and the gap below this band is only --spacing-100, so the wave reaches into
        the band by the difference.

        It used to be covered there, because the band was .container-nav and that one carries
        position: relative and z-index: 1 (scss/joomla/ui/_mixed.scss) while the waves sit at 0.
        As a pseudo element in normal flow the band would lose that and the wave would paint over
        it instead - a green edge with a wave crossing it, where there was a clean one before.
      */
    }
    .container-header::after {
      content: "";
      grid-row: 4;
      grid-column: 1;
      display: block;
      position: relative;
      z-index: 1;
      block-size: var(--header-divider-block-size);
      margin-block-end: var(--spacing-100);
      background-color: var(--header-divider-bg);
    }
    .container-header {
      /*
        Gone while the menu is open. The band closes the header off against the content, and with
        the menu hanging down over that edge there is nothing left for it to close off - it only
        cuts across the open panel.

        visibility rather than display, and that is the whole point: hidden this way the band keeps
        the row it holds, so the masthead, the content and everything under them stay where they
        are. Taken out of the flow instead, the header would lose its last row and pull the whole
        page up by the height of the band - the one thing the overlay exists to avoid.
      */
    }
    .container-header:has(.hamburger input:checked)::after {
      visibility: hidden;
    }
  }
  /*
    The utility band above the brand row - the language switcher lives here. Its colours are set
    further down; this is only where it sits.

    Aligned to the end: a language switcher is the one control a visitor may need without being
    able to read the page, so it belongs where that convention puts it rather than where the
    reading order happens to start.

    Held just off the edge, and deliberately not aligned to anything below. Lining the switcher up
    with the content column was the other candidate and looked worse: --content-max-width is far
    narrower than the 75rem the brand row is held to, so the switcher came to rest well inside the
    band with nothing beneath it to align to - it read as floating rather than as aligned. A small
    constant gap keeps it off the edge without pretending to a flush it cannot hold; it does not
    follow the responsive content padding for the same reason.

    No block padding: this is a utility strip, and height here is height the masthead below it does
    not get. What breathing room the band has comes from the trigger's own block padding, so there
    is one place to adjust rather than two stacking on each other.
  */
  .container-topbar {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: var(--spacing-100);
    padding-block: 0;
    padding-inline: var(--spacing-100);
    /*
      The menu toggle is the one thing in the band that does not belong at the end: a menu is read
      where reading starts. The auto margin sits on it rather than on the row, so everything after
      it keeps the alignment the band was built for - and above the breakpoint, where the toggle is
      gone and the navigation stands as a bar of its own, the band is unchanged.
    */
  }
  .container-topbar > .hamburger {
    margin-inline-end: auto;
  }
  .navbar-brand {
    display: flex;
    flex-wrap: wrap;
    /*
      Centred, not baseline-aligned. The name and the site description are meant to sit on one
      line, and with a picture mark in front of them baseline alignment cannot deliver that: a
      flex container takes its baseline from its first item, which here is the mark, so the
      description would align to the lower edge of the picture instead of to the name beside it.
    */
    align-items: center;
    gap: var(--spacing-050) var(--spacing-200);
    max-width: var(--container-max-width-wide, 75rem);
    margin-inline: auto;
    padding-block: var(--header-padding-block);
    /*
      No padding-inline below md: the navigation band below shares this row's max-width and
      margin-inline but carries none of its own either, so the two can only share an edge if
      neither adds one. From md up both get the same padding back below, for the range between
      the lg breakpoint (65em) and the max-width (75rem) - common laptop viewports - where the
      row is at 100% width and would otherwise sit flush against the actual edge.
    */
    /*
      Centred where the row has wrapped, which on a phone it always has: the mark then holds a line
      of its own, and left against the edge it would leave the width beside it visibly empty. From
      the breakpoint upwards the row fits on one line and starts at the edge again, where the
      navigation band below it starts too.
    */
    justify-content: center;
    text-align: center;
  }
  @media screen and (width >= 45em) {
    .navbar-brand {
      padding-inline: var(--content-padding-inline-breakpoint-md);
      justify-content: start;
      text-align: start;
    }
  }
}
@layer component {
  .container-header {
    /*
      Mark and name are one link and one lockup: the picture mark carries no lettering, so on its
      own it names nothing, and the name on its own is any name. The gap is what keeps them read
      as two parts of one thing rather than as a picture followed by a heading.
    */
  }
  .container-header .brand-logo {
    display: inline-flex;
    /*
      The lockup may break into two lines. On a phone the mark alone is half the screen wide, and
      an unbreakable row of mark and name simply ran past the right edge; wrapped, the name comes
      to rest under the mark instead.
    */
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: var(--header-gap);
    max-inline-size: 100%;
    text-decoration: none;
    color: inherit;
    cursor: pointer;
    /*
      base/_root.scss gives every hovered link a fill, a halo and a new text colour. On a word or
      two that reads as a highlight; wrapped around the mark and the whole name lockup it reads as
      the masthead changing colour. The pointer is affordance enough for something this large -
      nobody needs telling that the logo goes home.

      outline is left alone on purpose: the focus ring from base/_focus.scss is the one hover
      treatment that has to survive here.
    */
  }
  .container-header .brand-logo:is(:hover, :focus) {
    background-color: transparent;
    box-shadow: none;
    color: inherit;
  }
  @media screen and (width >= 45em) {
    .container-header .brand-logo {
      justify-content: start;
    }
  }
  .container-header .brand-logo {
    /*
      The token is the upper end, not a fixed height: the mark is twice as wide as it is tall,
      so at full size it would take a third of a phone screen on its own and leave the name
      nowhere to stand. The floor keeps it recognisable where the clamp has scaled it down.
    */
  }
  .container-header .brand-logo img,
  .container-header .brand-logo svg {
    display: block;
    block-size: clamp(var(--header-logo-min-height), 12vw, var(--header-logo-height));
    inline-size: auto;
  }
  .container-header {
    /*
      Name over description, as one column beside the mark. Both are set here rather than left to
      their own margins, so that the two lines keep one distance from each other at every width.
    */
  }
  .container-header .brand-text {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--header-text-gap);
    min-inline-size: 0;
  }
  @media screen and (width >= 45em) {
    .container-header .brand-text {
      align-items: start;
    }
  }
  .container-header .brand-name {
    display: block;
    font-family: var(--font-family-heading);
    font-size: var(--font-size-700);
    line-height: 1.1;
    color: var(--header-name-color);
    /*
      Two words, and where they do not both fit they are allowed to sit on top of each other -
      which beside a mark reads as a lockup rather than as a broken line. Held together on one
      line only where there is room for it.
    */
    text-wrap: balance;
  }
  @media screen and (width >= 45em) {
    .container-header .brand-name {
      white-space: nowrap;
    }
  }
  .container-header {
    /*
      Directly under the name and aligned with it, at every width. Set in the body face and in
      capitals, so it reads as a caption to the name above it rather than as a second name
      competing with the first.
    */
  }
  .container-header .site-description {
    display: block;
    font-family: var(--font-family-sans);
    font-size: var(--font-size-200);
    line-height: 1.3;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--header-claim-color);
  }
  .container-header .container-topbar {
    --focus-outline-color: var(--color-accent-200);
    background-color: var(--color-surface-primary-bg);
    color: var(--color-surface-primary-fg);
  }
}
/**
 * Footer
 * ----------------------------------------------------------------------------
 */
/**
 * Grid Auto Fit
 * ----------------------------------------------------------------------------
 */
@layer component {
  .footer, [class*=" footer-"], [class^=footer-], [class$=" footer-"] {
    --footer-bg: var(--color-surface-primary-bg);
    --footer-fg: var(--color-surface-primary-fg);
    --footer-link-color: var(--color-neutral-300);
    --footer-heading-color: var(--color-accent-200);
    --footer-nav-indent: var(--spacing-050);
    --footer-nav-marker-color: var(--color-neutral-300);
    --footer-nav-marker-size: 0.7em;
    --footer-padding-block-start: var(--spacing-500);
    --footer-padding-block-end: var(--spacing-300);
    --footer-social-icon-size: 1.5rem;
    --footer-bottom-margin-block: var(--spacing-500);
    --footer-bottom-padding-block: var(--spacing-300);
    --footer-interactive-color: var(--color-neutral-300);
    --footer-interactive-hover: var(--color-surface-primary-bg);
  }
}
@layer layout {
  .footer {
    --text-interactive: var(--footer-interactive-color);
    --text-interactive-hover: var(--footer-interactive-hover);
    --focus-outline-color: var(--color-accent-200);
    margin-top: auto;
    background-color: var(--footer-bg);
    color: var(--footer-fg);
    padding-block: var(--footer-padding-block-start) var(--footer-padding-block-end);
  }
  .footer-inner {
    display: grid;
    gap: var(--grid-gap);
    grid-template-columns: repeat(auto-fit, minmax(min(250px, 100%), 1fr));
    row-gap: var(--footer-row-gap, var(--spacing-300));
  }
  @media screen and (width >= 45em) {
    .footer-inner {
      row-gap: var(--footer-row-gap, var(--spacing-400));
    }
  }
  .footer-inner {
    max-width: var(--container-max-width-wide, 75rem);
    margin-inline: auto;
    padding-inline: var(--content-padding-inline-breakpoint-sm);
  }
  @media screen and (width >= 45em) {
    .footer-inner {
      padding-inline: var(--content-padding-inline-breakpoint-md);
    }
  }
}
@layer component {
  .footer .footer-heading {
    font-size: var(--font-size-200);
    font-weight: var(--heading-font-weight, var(--font-weight-regular));
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--footer-heading-color);
    margin-block-end: var(--spacing-150);
    margin-block-start: 0;
  }
  .footer .footer-col {
    display: flex;
    flex-direction: column;
  }
  .footer :where(nav ul, .nav) {
    display: block;
    margin-inline: 0;
    margin-block: 0;
    padding-inline-start: 0;
  }
  .footer :where(nav ul, .nav) li {
    line-height: 2;
    padding-block: 0;
  }
  .footer :where(nav ul, .nav) li::after {
    display: none;
  }
  .footer :where(nav ul, .nav) li:hover, .footer :where(nav ul, .nav) li.current, .footer :where(nav ul, .nav) li.active {
    background-color: transparent;
    box-shadow: none;
  }
  .footer :where(nav ul, .nav) ul {
    display: block;
    margin-block: 0;
    margin-inline: 0;
    padding-inline-start: var(--footer-nav-indent);
  }
  .footer :where(nav ul, .nav) ul li {
    position: relative;
    padding-inline-start: calc(var(--footer-nav-marker-size) + var(--spacing-050));
  }
  .footer :where(nav ul, .nav) ul li::before {
    content: "";
    position: absolute;
    inset-inline-start: 0;
    inset-block-start: calc((1lh - var(--footer-nav-marker-size)) / 2);
    inline-size: var(--footer-nav-marker-size);
    block-size: var(--footer-nav-marker-size);
    background-color: color-mix(in srgb, var(--footer-nav-marker-color) 70%, transparent);
    mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='9 18 15 12 9 6'/%3E%3C/svg%3E") no-repeat center/contain;
  }
  .footer :where(nav ul, .nav) ul li:dir(rtl)::before {
    scale: -1 1;
  }
  .footer :where(nav ul, .nav) a {
    color: var(--footer-link-color);
    text-decoration: none;
  }
  .footer :where(nav ul, .nav) a:hover, .footer :where(nav ul, .nav) a:focus {
    color: var(--text-interactive-hover);
    outline-color: var(--text-interactive-hover-bg);
  }
  .footer .contact-address {
    display: flex;
    flex-direction: column;
    font-style: normal;
    gap: var(--spacing-025);
    margin-block-end: var(--spacing-200);
    color: var(--footer-fg);
  }
  .footer .contact-name {
    font-weight: var(--font-weight-bold);
  }
  .footer .contact-social-list {
    display: flex;
    flex-flow: row wrap;
    gap: var(--spacing-150) var(--spacing-200);
    list-style: none;
    margin: 0;
    padding: 0;
  }
  .footer .contact-social-link {
    display: flex;
    align-items: center;
    gap: var(--spacing-075);
    color: var(--footer-link-color);
    text-decoration: none;
  }
  .footer .contact-social-link:hover, .footer .contact-social-link:focus {
    color: var(--text-interactive-hover);
    outline-color: var(--text-interactive-hover-bg);
  }
  .footer .contact-social-icon {
    display: flex;
    align-items: center;
    flex-shrink: 0;
  }
  .footer .contact-social-icon svg {
    width: var(--footer-social-icon-size);
    height: var(--footer-social-icon-size);
    fill: currentColor;
  }
  .footer .contact-social-label {
    font-size: var(--font-size-300);
  }
  .footer .footer-bottom {
    border-block-start: 1px solid color-mix(in srgb, var(--footer-fg) 20%, transparent);
    margin-block-start: var(--footer-bottom-margin-block);
    padding-block-start: var(--footer-bottom-padding-block);
  }
  .footer .footer-bottom-inner {
    max-width: var(--container-max-width-wide, 75rem);
    margin-inline: auto;
    padding-inline: var(--content-padding-inline-breakpoint-sm);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: var(--spacing-100);
    font-family: var(--font-family-sans);
    font-size: var(--font-size-200);
    color: color-mix(in srgb, var(--footer-fg) 65%, transparent);
  }
  @media screen and (width >= 45em) {
    .footer .footer-bottom-inner {
      padding-inline: var(--content-padding-inline-breakpoint-md);
    }
  }
}
/**
 * Joomla
 * ========================================================================== */
/**
 * Template positions
 * ----------------------------------------------------------------------------
 */
@layer jui {
  #position-banner {
    margin-bottom: var(--spacing-150);
  }
  @media screen and (width >= 65em) {
    #position-banner {
      margin-bottom: var(--spacing-200);
    }
  }
  @media screen and (width >= 87.5em) {
    #position-banner {
      margin-bottom: var(--spacing-250);
    }
  }
  #position-banner .section-card {
    margin-bottom: 0;
  }
}
@layer jui {
  #position-main-top .flexbox-grid {
    --min: 370px;
  }
}
/**
 * UI Components
 * ----------------------------------------------------------------------------
 */
@layer jui {
  fieldset:has(> joomla-tab) {
    border: none;
    padding: 0;
    margin: 0;
    margin-block: var(--spacing-150) var(--spacing-250);
  }
}
joomla-tab {
  --joomla-tab-panel-bg: var(--background-color);
  --joomla-tab-panel-fg: var(--text-fg);
  --joomla-tab-panel-padding: var(--spacing-150);
  --joomla-tab-border: var(--border-width) solid var(--border-color);
  --joomla-tab-tab-bg: transparent;
  --joomla-tab-tab-fg: var(--text-fg);
  --joomla-tab-tab-hover-bg: var(--text-interactive-hover-bg);
  --joomla-tab-tab-hover-fg: var(--text-interactive-hover);
  --joomla-tab-tab-selected-bg: var(--color-surface-primary-bg);
  --joomla-tab-tab-selected-fg: var(--color-surface-primary-fg);
  display: flex;
  flex-direction: column;
  color: var(--joomla-tab-panel-fg);
}

joomla-tab[view=accordion] > div[role=tablist] {
  display: none;
}

joomla-tab[view=tabs] > div[role=tablist] {
  display: flex;
  flex-wrap: wrap;
  gap: var(--spacing-050);
  padding-block: var(--spacing-050);
  margin: 0;
  list-style: none;
  background-color: var(--joomla-tab-panel-bg) !important;
  border: none !important;
}

joomla-tab button[role=tab],
joomla-tab[view=accordion] > button {
  padding: var(--spacing-075) var(--spacing-150) !important;
  border: var(--joomla-tab-border) !important;
  border-radius: var(--border-radius) !important;
  background-color: var(--joomla-tab-tab-bg) !important;
  background-image: none !important;
  box-shadow: none !important;
  color: var(--joomla-tab-tab-fg) !important;
  font-family: inherit !important;
  font-size: var(--font-size-200) !important;
  font-weight: var(--font-weight-bold) !important;
  line-height: 1 !important;
  cursor: pointer;
}
joomla-tab button[role=tab]:hover,
joomla-tab[view=accordion] > button:hover {
  background-color: var(--joomla-tab-tab-hover-bg) !important;
  color: var(--joomla-tab-tab-hover-fg) !important;
}
joomla-tab button[role=tab]:focus-visible,
joomla-tab[view=accordion] > button:focus-visible {
  outline: var(--focus-outline-width) var(--focus-outline-style) var(--focus-outline-color) !important;
  outline-offset: var(--focus-outline-offset);
}
joomla-tab button[role=tab]:is([aria-selected=true], [aria-expanded=true]),
joomla-tab[view=accordion] > button:is([aria-selected=true], [aria-expanded=true]) {
  border-color: var(--joomla-tab-tab-selected-bg) !important;
  background-color: var(--joomla-tab-tab-selected-bg) !important;
  color: var(--joomla-tab-tab-selected-fg) !important;
}
joomla-tab button[role=tab]:is([aria-selected=true], [aria-expanded=true])::after,
joomla-tab[view=accordion] > button:is([aria-selected=true], [aria-expanded=true])::after {
  content: none !important;
}

joomla-tab[view=accordion] > button {
  display: flex;
  align-items: center;
  inline-size: 100%;
  text-align: start;
  font-size: var(--font-size-400) !important;
}
joomla-tab[view=accordion] > button, joomla-tab[view=accordion] > button[aria-expanded=true] {
  border-color: var(--border-color) !important;
  background-color: transparent !important;
  color: inherit !important;
}
joomla-tab[view=accordion] > button::after, joomla-tab[view=accordion] > button[aria-expanded=true]::after {
  content: "" !important;
  flex: none;
  inline-size: 1em;
  block-size: 1em;
  margin-inline-start: auto;
  background-color: currentcolor;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E") no-repeat center/contain;
  transition: rotate 200ms ease;
}
joomla-tab[view=accordion] > button[aria-expanded=true]::after {
  rotate: 180deg;
}
joomla-tab[view=accordion] > button:not(:first-of-type) {
  margin-block-start: var(--spacing-050);
}

joomla-tab > joomla-tab-element {
  display: none;
  border: none !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  padding: var(--joomla-tab-panel-padding) !important;
  background-color: var(--joomla-tab-panel-bg) !important;
  position: static !important;
}
joomla-tab > joomla-tab-element[active] {
  display: block;
}

joomla-tab[orientation=vertical] {
  flex-direction: row;
  align-items: start;
  gap: var(--spacing-300);
}
joomla-tab[orientation=vertical] > div[role=tablist] {
  flex-flow: column nowrap;
  min-inline-size: 30%;
}
joomla-tab[orientation=vertical] > joomla-tab-element {
  flex: 1;
}

.choices__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--spacing-025);
  min-block-size: 0 !important;
  padding: var(--form-input-padding-block) var(--form-input-padding-inline) !important;
  background-color: var(--form-input-color-bg) !important;
  color: var(--form-input-color-fg) !important;
  border: var(--form-input-border-width) var(--form-input-border-style) var(--form-input-border-color) !important;
  border-radius: var(--form-input-border-radius) !important;
}

.choices__list--single,
.choices__list--multiple {
  display: contents;
}

.choices__list--multiple .choices__item {
  display: inline-flex;
  align-items: center;
  gap: var(--spacing-025);
  padding: var(--spacing-025) var(--spacing-050) !important;
  border: none !important;
  border-radius: var(--border-radius) !important;
  background-color: var(--color-accent-100) !important;
  color: var(--text-fg) !important;
}

/* stylelint-disable-next-line selector-class-pattern */
.choices__button_joomla {
  font-size: 0;
  inline-size: 1em;
  block-size: 1em;
  border: none;
  background: none;
  color: inherit;
  cursor: pointer;
}
.choices__button_joomla::after {
  content: "\f00d";
  font-family: "Font Awesome 6 Free", sans-serif;
  font-weight: 900;
  font-size: var(--font-size-200);
}

.choices__input--cloned {
  flex: 1 1 auto;
  min-inline-size: 8ch;
  margin: 0 !important;
  padding: 0 !important;
  border: none !important;
  background: none !important;
  color: inherit;
}

.choices__list--dropdown {
  z-index: 20;
  border: var(--form-input-border-width) var(--form-input-border-style) var(--form-input-border-color) !important;
  border-radius: var(--form-input-border-radius) !important;
  background-color: var(--form-input-color-bg) !important;
  color: var(--form-input-color-fg) !important;
}
.choices__list--dropdown .choices__list[role=listbox] {
  max-block-size: 15em;
  overflow-y: auto;
}

.choices__item--choice {
  padding: var(--spacing-050) var(--form-input-padding-inline) !important;
  cursor: pointer;
}
.choices__item--choice.is-highlighted {
  background-color: var(--text-interactive-hover-bg) !important;
}
.choices__item--choice.is-selected {
  font-weight: var(--font-weight-bold);
}

.choices__notice {
  padding: var(--spacing-050) var(--form-input-padding-inline);
  opacity: var(--opacity-070);
}

[role=tooltip]:not([popover]) {
  display: none;
  z-index: 30;
  position: absolute;
  margin-block-start: var(--spacing-050);
  inline-size: max-content;
  max-inline-size: min(32ch, 100vw - var(--spacing-200));
  padding: var(--spacing-050) var(--spacing-100);
  border-radius: var(--border-radius);
  background-color: var(--color-surface-neutral-bg);
  box-shadow: var(--shadow-2);
  color: var(--color-surface-neutral-fg);
  font-size: var(--font-size-200);
  line-height: 1.4;
}

[aria-describedby]:is(:hover, :focus-visible) + [role=tooltip]:not([popover]) {
  display: block;
}

:where(.card, .blog-item, .item-page, article):has(.icons, .badge.bg-warning),
:where(*:has(> .jmodedit)) {
  position: relative;
}

.icons {
  margin: 0;
  position: absolute;
  inset-block-start: var(--spacing-050);
  inset-inline-end: var(--spacing-050);
  z-index: 5;
}
.icons .float-end {
  float: none;
}

.icons a,
.jmodedit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  inline-size: 2.25rem;
  block-size: 2.25rem;
  padding: 0;
  border: none;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.88);
  box-shadow: var(--shadow-2);
  color: var(--text-interactive);
  font-size: 0;
  text-decoration: none;
}
.icons a [class^=icon-],
.icons a [class*=" icon-"],
.jmodedit [class^=icon-],
.jmodedit [class*=" icon-"] {
  font-size: 1rem;
  line-height: 1;
}
.icons a:hover, .icons a:focus-visible,
.jmodedit:hover,
.jmodedit:focus-visible {
  background-color: var(--text-interactive-hover-bg);
  color: var(--text-interactive-hover);
}

.jmodedit {
  position: absolute;
  inset-block-start: var(--spacing-050);
  inset-inline-end: var(--spacing-050);
  z-index: 5;
}

.icons a[aria-describedby]:is(:hover, :focus-visible) > [role=tooltip] {
  display: block;
  inset-inline-end: 0;
  inset-block-start: 100%;
}

.jmodedit + [role=tooltip] {
  inset-inline-end: var(--spacing-050);
  inset-block-start: calc(var(--spacing-050) + 2.25rem);
}

.badge.bg-warning {
  position: absolute;
  inset-block-start: var(--spacing-050);
  inset-inline-end: calc(var(--spacing-050) * 2 + 2.25rem);
  z-index: 5;
  display: inline-flex;
  align-items: center;
  block-size: 2.25rem;
  padding-inline: var(--spacing-100);
  border-radius: 1.125rem;
  background-color: var(--color-warning);
  box-shadow: var(--shadow-2);
  color: var(--color-neutral-000);
  font-size: calc(var(--font-size-200) * 0.85);
  font-weight: var(--font-weight-regular);
  letter-spacing: 0;
  text-transform: none;
  white-space: nowrap;
}

@layer jui {
  joomla-dialog dialog {
    width: 96vw;
    max-width: 1700px;
    height: 96vh;
    padding: 0;
    border: var(--border-width) solid var(--border-color);
    border-radius: var(--border-radius);
    background-color: var(--background-color);
    color: var(--text-fg);
    box-shadow: var(--shadow-4);
  }
  @media screen and (width >= 87.5em) {
    joomla-dialog dialog {
      width: 80vw;
      height: 80vh;
    }
  }
  joomla-dialog dialog::backdrop {
    background-color: color-mix(in oklab, var(--background-color) 70%, transparent);
  }
  joomla-dialog dialog[open] {
    display: flex;
    animation: dialog-show 400ms ease normal;
  }
  @media (prefers-reduced-motion: reduce) {
    joomla-dialog dialog[open] {
      animation: none;
    }
  }
  joomla-dialog iframe.iframe-content {
    width: 100%;
    height: 100%;
  }
  .joomla-dialog-container {
    position: relative;
    box-sizing: border-box;
    display: flex;
    flex-flow: column;
    width: 100%;
  }
  .joomla-dialog-container .buttons-holder {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    margin-inline-start: auto;
  }
  .joomla-dialog-container .buttons-holder button {
    margin-inline: var(--spacing-025);
  }
  .joomla-dialog-header {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: var(--spacing-100);
    border-bottom: var(--border-width) solid var(--border-color);
  }
  .joomla-dialog-header h3 {
    margin: 0;
  }
  .joomla-dialog-header .header-icon {
    margin-inline-end: var(--spacing-025);
    font-size: var(--font-size-600);
  }
  .joomla-dialog-header.empty {
    display: none;
  }
  .btn-close {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.5em;
    height: 1.5em;
    padding: 0;
    font-size: var(--font-size-500);
    line-height: 1;
    color: var(--text-fg);
    background: none;
    border: none;
    cursor: pointer;
    opacity: var(--opacity-070);
  }
  .btn-close::after {
    content: "×";
  }
  .btn-close:hover {
    opacity: var(--opacity-opaque);
  }
  .btn-close:focus-visible {
    outline: var(--focus-outline-width) var(--focus-outline-style) var(--focus-outline-color);
    outline-offset: var(--focus-outline-offset);
  }
  .joomla-dialog-body {
    position: relative;
    box-sizing: border-box;
    flex: 1 1 auto;
  }
  .joomla-dialog-body .buttons-holder {
    position: absolute;
    top: var(--spacing-100);
    right: var(--spacing-100);
  }
  .joomla-dialog-footer {
    position: relative;
    padding: var(--spacing-100);
    border-top: var(--border-width) solid var(--border-color);
  }
  .joomla-dialog-footer .buttons-holder button {
    padding-inline: var(--spacing-150);
  }
  .joomla-dialog-footer.empty {
    display: none;
  }
  .joomla-dialog-alert dialog,
  .joomla-dialog-confirm dialog {
    width: 600px;
    max-width: 80vw;
    height: fit-content;
  }
  .joomla-dialog-alert .joomla-dialog-body,
  .joomla-dialog-confirm .joomla-dialog-body {
    padding: var(--spacing-100);
  }
  @media screen and (width >= 87.5em) {
    .joomla-dialog-content-select-field dialog {
      width: 90vw;
      height: 90vh;
    }
  }
  joomla-dialog[type=image] dialog {
    width: fit-content;
    height: fit-content;
  }
  joomla-dialog[type=iframe] dialog {
    overflow: hidden;
  }
  joomla-dialog[type=inline] .joomla-dialog-body,
  joomla-dialog[type=ajax] .joomla-dialog-body {
    overflow: auto;
  }
  joomla-dialog.loading .joomla-dialog-body {
    opacity: 0;
  }
  joomla-dialog.loaded .joomla-dialog-body {
    opacity: 1;
    transition: opacity 400ms ease;
  }
}
@keyframes dialog-show {
  0% {
    opacity: 0;
    transform: translateY(-50px);
  }
  30% {
    opacity: 1;
  }
  100% {
    transform: translateY(0);
  }
}
@layer jui {
  .js-tiny-toggler-button {
    --btn-font-size: calc(var(--font-size-400) * .8);
    --btn-padding: calc(var(--spacing-075) * .8);
    margin-inline-start: auto;
  }
}
main {
  /**
   * Positioning context for .wave-deco. The two lower waves sit at bottom: 0, so they track
   * this element's bottom edge — which is why the gap to the footer is padding here and not
   * a margin between main and footer: a margin leaves the edge where it is and strands the
   * waves above the gap instead of keeping them against the dark band.
   */
  position: relative;
  isolation: isolate;
  padding-block-end: var(--content-padding-block-end-default);
}
@media screen and (width >= 45em) {
  main {
    padding-block-end: var(--content-padding-block-end-breakpoint-md);
  }
}

.container-nav {
  position: relative;
  z-index: 1;
}

.list-unstyled {
  margin-block: var(--spacing-100);
}
.list-unstyled li:not(:first-child) {
  margin-top: var(--spacing-050);
}

/* ============================================================
   WAVE DECORATIONS
   ============================================================ */
.wave-deco {
  --mq-wave-deco-width: .35;
  display: block;
  position: absolute;
  pointer-events: none;
  z-index: -1;
  overflow: hidden;
}
@media screen and (width >= 30em) {
  .wave-deco {
    --mq-wave-deco-width: .75;
    display: block;
  }
}
@media screen and (width >= 45em) {
  .wave-deco {
    --mq-wave-deco-width: 1;
  }
}
@media screen and (width >= 65em) {
  .wave-deco {
    --mq-wave-deco-width: 1.5;
  }
}

.wave-deco--r {
  top: calc(-1 * var(--spacing-250));
  right: 0;
  width: max(360px * var(--mq-wave-deco-width), 30vw);
}

.wave-deco--br {
  bottom: 0;
  right: 0;
  width: max(160px * var(--mq-wave-deco-width), 15vw);
}

.wave-deco--bl {
  bottom: 0;
  left: 0;
  width: max(100px * var(--mq-wave-deco-width), 8vw);
}

/*
  The archive of retired animals. Its cards are the ones the category lists use, so all this adds is
  the year heading the foal archive is grouped under and the room around it - a heading that sat
  tight against the card below it would read as that card's own title.

  The jump navigation lands on these headings, hence the scroll offset: without it the heading ends
  up under the sticky navigation that brought the reader there.
*/
.archive-year + .archive-year {
  margin-block-start: var(--spacing-300);
}
.archive-year__title {
  margin-block: 0 var(--spacing-150);
  scroll-margin-block-start: calc(var(--jcrafts-jumpnav-offset, 0px) + var(--spacing-150));
}

.com-content-archive__item {
  scroll-margin-block-start: calc(var(--jcrafts-jumpnav-offset, 0px) + var(--spacing-150));
}

/*
  The half of a category description that stands below the list, split off at the read-more marker
  (com_content/category/customblog.php). The intro above needs nothing - a heading sets it off - but
  this one follows a run of cards and would otherwise sit as tight against the last of them as one
  card sits against the next, reading as part of the list rather than as the text closing it.
*/
.category-desc--after {
  margin-block-start: var(--spacing-400);
}

/*
  The gallery field in its plain shape. The markup comes from plg_fields_jcraftsgallery, the
  appearance from here - the same division as with the produce further down: what the extension
  ships is limited to what its carousel needs to work at all, and the plain shape needs none of it,
  so it arrived without any styling whatsoever.

  A row of thumbnails rather than one picture per line: a field carries up to twenty of them, and
  the slideshow behind them is where they are actually looked at.
*/
.jcraftsgallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(12rem, 1fr));
  gap: var(--spacing-100);
  margin-block: var(--spacing-100);
  padding: 0;
  list-style: none;
}
.jcraftsgallery figure {
  margin: 0;
}
.jcraftsgallery img {
  inline-size: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  border-radius: var(--border-radius);
}
.jcraftsgallery figcaption {
  margin-block-start: var(--spacing-050);
  font-size: var(--font-size-100);
}

.jcraftsgallery-copyright {
  display: block;
  opacity: 0.8;
}

.card.blog-item .item-image {
  margin: 0;
}
.card.blog-item .item-image img, .card.blog-item .item-image picture {
  width: 100%;
  height: var(--card-img-height, 350px);
  object-fit: cover;
  --zoom-corners: var(--card-border-radius, var(--border-radius)) var(--card-border-radius, var(--border-radius)) 0 0;
  border-radius: var(--zoom-corners);
}
.card.blog-item .item-body img {
  border-radius: var(--border-radius);
}
.card.blog-item .item-header {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-075);
  padding-block-start: var(--spacing-200);
}
.card.blog-item .item-header :is(h1, h2, h3, h4, .page-header) {
  margin-block: 0;
}
.card.blog-item .item-header p {
  margin-block: 0;
}
.card.blog-item .item-subtitle {
  color: var(--color-neutral-800);
  font-size: var(--font-size-200);
}
.card.blog-item .item-facts {
  color: var(--color-neutral-800);
}
.card.blog-item .item-award {
  font-weight: var(--font-weight-bold);
}
.card.blog-item .item-sale-note {
  align-self: start;
}
.card.blog-item {
  /*
    The gallery field's wrapper. Until now it carried nothing at all and took its spacing from the
    thumbnail list inside it (.jcraftsgallery, margin-block: --spacing-100), which is half the step
    the parents below it get - so the pictures sat closer to the running text above them than the
    blocks around them do. The same step as .item-pedigree, so the two read as sibling sections.

    The margin lands on the wrapper rather than on the list: the card is a flex container, so this
    adds to the card's own gap instead of collapsing into it, exactly as it does for the parents.
  */
}
.card.blog-item .item-gallery {
  margin-block-start: var(--spacing-200);
  /*
    Same as .item-pedigree__title and .item-offspring__title - the three are sibling sections and
    announce themselves the same way, down to the step under the heading.

    That step has to come from here. The field is configured with layout jcraftsgallery_splide,
    so what follows is the carousel's <section class="splide jcg-splide-field">, and neither this
    template nor the plugin's own stylesheet gives that any block margin - the heading sat
    directly on the first slide. The plain <ul class="jcraftsgallery"> variant does carry
    margin-block of its own, but adjacent siblings collapse, so this does not stack with it.
  */
}
.card.blog-item .item-gallery__title {
  margin-block: 0 var(--spacing-100);
  font-size: var(--font-size-200);
}
.card.blog-item .jcrafts-pedigree {
  --jcrafts-pedigree-width: 12rem;
  --jcrafts-pedigree-cross: 2.2rem;
  display: grid;
  grid-template-columns: minmax(0, var(--jcrafts-pedigree-width)) auto minmax(0, var(--jcrafts-pedigree-width));
  grid-template-rows: repeat(4, auto);
  justify-content: center;
  column-gap: var(--spacing-100);
  row-gap: var(--spacing-050);
}
.card.blog-item .jcrafts-pedigree__parent {
  display: grid;
  grid-row: 1/span 4;
  grid-template-rows: subgrid;
  justify-items: center;
  text-align: center;
}
.card.blog-item .jcrafts-pedigree__parent[data-role]::before {
  content: attr(data-role);
  color: var(--color-accent-600);
  font-size: var(--font-size-200);
  font-weight: var(--font-weight-bold);
  letter-spacing: 0.1em;
  line-height: 1.4;
  text-transform: uppercase;
}
.card.blog-item .jcrafts-pedigree__image {
  inline-size: 100%;
  block-size: auto;
  aspect-ratio: 4/3;
  object-fit: cover;
  border-radius: var(--border-radius);
}
.card.blog-item .jcrafts-pedigree__name {
  margin-block: 0;
  overflow-wrap: anywhere;
}
.card.blog-item .jcrafts-pedigree__cross {
  display: grid;
  place-items: center;
  grid-column: 2;
  grid-row: 2;
  align-self: center;
  inline-size: var(--jcrafts-pedigree-cross);
  block-size: var(--jcrafts-pedigree-cross);
  margin: 0;
  border-radius: 50%;
  background-color: var(--color-accent-100);
  color: var(--color-accent-700);
  font-size: 1.3rem;
  font-weight: var(--font-weight-bold);
  line-height: 1;
}
.card.blog-item .jcrafts-pedigree__damsire {
  margin-block: 0;
  color: var(--color-neutral-800);
  font-size: var(--font-size-200);
}
.card.blog-item .item-pedigree {
  margin-inline: var(--margin);
  display: grid;
  justify-content: center;
  /*
    Air above the heading. The card's own gap alone left "Abstammung" sitting as close to the
    gallery above it as to the portraits it belongs to, so the heading read as a caption to the
    pictures rather than as the start of its own block. The single page takes a larger step
    further down.
  */
  margin-block-start: var(--spacing-200);
}
.card.blog-item .item-pedigree__title {
  margin-block: 0 var(--spacing-100);
  font-size: var(--font-size-200);
}
.card.blog-item {
  /*
    Single page only - .card-standalone is the card that is the page rather than one entry in a
    list (components/_cards.scss). There the parents are a section between the gallery above and
    the produce below, and the card's own gap is not enough to read as a break; on the lists the
    same block is one more row inside a card and keeps that tighter rhythm.

    Chained with &, not nested under it: the class sits on this very element, not on an ancestor.
  */
}
.card.blog-item.card-standalone .item-pedigree {
  margin-block-start: var(--spacing-300);
}
.card.blog-item {
  /*
    The disclosures keep the look base/_root.scss gives every stand-alone :where(details) - the
    bordered summary with its +/- marker. The pedigree used to carry a scaled-back version of its
    own, which is what made it and the produce look like different parts.
  */
}
.card.blog-item .item-pedigree-text__title {
  margin-block: 0;
  font-size: var(--font-size-200);
}
.card.blog-item .item-pedigree-text__body {
  padding-block-start: var(--spacing-100);
  overflow-x: auto;
  overscroll-behavior-x: contain;
  font-size: calc(var(--font-size-200) * 0.85);
  line-height: 1.3;
}
.card.blog-item .item-pedigree-text__body table {
  inline-size: auto;
  min-inline-size: 100%;
  border-collapse: collapse;
}
.card.blog-item .item-pedigree-text__body :is(td, th) {
  padding-block: var(--spacing-025);
  padding-inline: var(--spacing-050);
  border: 1px solid var(--table-border-color, var(--border-color));
  vertical-align: top;
}
.card.blog-item .item-pedigree-text__body td.m {
  background-color: var(--table-row-even-bg, var(--color-neutral-50));
}
.card.blog-item .item-pedigree-text__body td.f {
  background-color: var(--color-primary-50);
}
.card.blog-item .item-pedigree-text__body td[bgcolor] {
  padding: 0;
  border-block-color: transparent;
}
.card.blog-item .item-pedigree-text__body a {
  text-decoration: none;
}
.card.blog-item .item-readmore {
  align-self: start;
  margin-block-start: var(--spacing-050);
}
.card.blog-item .item-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--spacing-150);
  margin-block-start: var(--spacing-100);
}
.card.blog-item {
  /*
    The running text - what the animal has won and been awarded, as an editor wrote it. Single page
    only; the list cards print the same text without a heading, where it is the card's own body.

    The body inside keeps .item-body, so this only adds the section and its heading around it. The
    heading is left out where the text opens with one of its own (article/animal.php), so this rule
    has to hold the spacing on the section rather than on the title.
  */
}
.card.blog-item .item-portrait {
  margin-block-start: var(--spacing-200);
}
.card.blog-item .item-portrait__title {
  margin-block: 0 var(--spacing-100);
  font-size: var(--font-size-200);
}
.card.blog-item {
  /*
    The sales text. Single page only - the lists show a badge and leave the text to this page.

    The body inside keeps .item-body, so it stays part of the zoom area and keeps the rounded
    corners on pictures an editor dropped into it; this only adds the section around it.
  */
}
.card.blog-item .item-sales {
  margin-block-start: var(--spacing-200);
}
.card.blog-item .item-sales__title {
  margin-block: 0 var(--spacing-100);
  font-size: var(--font-size-200);
}
.card.blog-item .item-sales .item-body + .item-body {
  margin-block-start: var(--spacing-100);
}
.card.blog-item .item-offspring {
  position: relative;
  margin-block-start: var(--spacing-200);
}
.card.blog-item .item-offspring__title {
  margin-block: 0 var(--spacing-100);
  font-size: var(--font-size-200);
}
.card.blog-item {
  /*
    A mare's produce. The markup comes from the offspring field of
    plg_fields_jcraftspedigreesubform, the appearance from here - deliberately, and not the other
    way round.

    The field falls back to a plain list whenever its own media is not there, which is exactly the
    moment its own stylesheet is not there either. Styling the produce from the extension would
    therefore have dressed it only in the case that never needed dressing. What the extension ships
    is limited to what Splide needs to work at all.
  */
}
.card.blog-item .jcrafts-offspring {
  /*
    Picture above, name below, both in one link to the foal. The slideshow of all of them opens
    from the "Alle Bilder" button instead (data-zoom-open, jcrafts-zoom.js).

    All the pictures share a height and differ in width, the way a row of framed photographs
    does. The field measures each one and hands its proportions over as --jcrafts-offspring-ratio,
    so a portrait comes out narrow rather than cropped to a landscape window - measured on the
    migrated intro images, 48 of 202 are portraits.

    The width is set here rather than left to the picture: Splide measures the slides when it
    mounts, and at that moment the pictures are usually not loaded yet.
  */
}
.card.blog-item .jcrafts-offspring__entry {
  display: grid;
  gap: var(--spacing-050);
  inline-size: calc(var(--jcrafts-offspring-height, 9rem) * var(--jcrafts-offspring-ratio, 1.4));
}
.card.blog-item .jcrafts-offspring__entry img {
  inline-size: 100%;
  block-size: var(--jcrafts-offspring-height, 9rem);
  object-fit: cover;
  border-radius: var(--border-radius);
}
.card.blog-item .jcrafts-offspring__link {
  --text-interactive-hover-bg: transparent;
  display: grid;
  gap: var(--spacing-050);
  color: var(--text-interactive);
  text-decoration: none;
  transition: translate 200ms ease;
}
.card.blog-item .jcrafts-offspring__link img {
  transition: box-shadow 200ms ease;
}
.card.blog-item .jcrafts-offspring__link .jcrafts-offspring__name::after {
  content: "→";
  display: inline-block;
  margin-inline-start: 0.3em;
  opacity: 0;
  translate: -0.3em 0;
  transition: opacity 200ms ease, translate 200ms ease;
}
.card.blog-item .jcrafts-offspring__link:is(:hover, :focus-visible) {
  translate: 0 -3px;
}
.card.blog-item .jcrafts-offspring__link:is(:hover, :focus-visible) img {
  box-shadow: var(--shadow-3);
}
.card.blog-item .jcrafts-offspring__link:is(:hover, :focus-visible) .jcrafts-offspring__name {
  text-decoration: underline;
}
.card.blog-item .jcrafts-offspring__link:is(:hover, :focus-visible) .jcrafts-offspring__name::after {
  opacity: 1;
  translate: 0 0;
}
@media (prefers-reduced-motion: reduce) {
  .card.blog-item .jcrafts-offspring__link, .card.blog-item .jcrafts-offspring__link:is(:hover, :focus-visible) {
    translate: none;
  }
}
.card.blog-item .jcrafts-offspring__name {
  font-size: var(--font-size-200);
  line-height: 1.4;
  overflow-wrap: anywhere;
}
.card.blog-item .jcrafts-offspring {
  /*
    Without the carousel - by choice, or because the script never arrived: a strip that scrolls
    sideways. Scroll snap gives the same stepping without a library, and it stays usable with
    keyboard and touch because it is a plain scroll container.

    Written out rather than nested with &, since a suffix on a selector ending in :not() would
    produce nonsense.
  */
}
.card.blog-item .jcrafts-offspring:not(.splide) {
  display: flex;
  gap: var(--spacing-150);
  margin-block: 0;
  padding-inline: 0;
  list-style: none;
  overflow-x: auto;
  scroll-snap-type: x proximity;
  overscroll-behavior-x: contain;
}
.card.blog-item .jcrafts-offspring:not(.splide) .jcrafts-offspring__entry {
  flex: 0 0 auto;
  scroll-snap-align: start;
}
.card.blog-item .jcrafts-offspring__all {
  position: absolute;
  inset-block-start: 0;
  inset-inline-end: 0;
}
.card.blog-item.card-row .item-image {
  display: grid;
  justify-items: start;
}
.card.blog-item.card-row .item-image img, .card.blog-item.card-row .item-image picture {
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: var(--card-media-max-height, 26rem);
  object-fit: contain;
  object-position: top;
}
@media screen and (width >= 65em) {
  .card.blog-item.card-row .item-image img, .card.blog-item.card-row .item-image picture {
    --zoom-corners: var(--card-border-radius, var(--border-radius)) 0 var(--card-border-radius, var(--border-radius)) 0;
  }
}

.com-tags-tag jcrafts-tab {
  margin-block-start: var(--spacing-150);
}
.com-tags-tag jcrafts-tab .jcrafts-tab__panel {
  padding-block-start: var(--spacing-300);
}

.category-desc + .blog-items {
  margin-block-start: var(--spacing-300);
}

/**
 * Utilities
 * ============================================================================
 */
/**
 * Helper classes general
 * ----------------------------------------------------------------------------
 */
@layer utilities {
  /**
  * Clear inner floats
  */
  .clearfix::after {
    clear: both;
    content: "";
    display: table;
  }
  /**
  * Hide text while making it readable for screen readers
  */
  .hide-text {
    overflow: hidden;
    padding: 0; /* 1 */
    text-indent: 101%;
    white-space: nowrap;
  }
  /**
  * Hide element while making it readable for screen readers
  */
  .visually-hidden {
    border: 0;
    clip: rect(0 0 0 0);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
  }
  /**
  * Helpers for aligning text
  */
  .text-center {
    text-align: center;
  }
  .text-end {
    text-align: end;
  }
  .text-start {
    text-align: start;
  }
  /**
  * Font size helpers
  * Use these classes to quickly adjust font sizes.
  */
  .small {
    font-size: var(--font-size-200);
  }
  .large {
    font-size: var(--font-size-800);
  }
  /**
  * Font family helpers
  */
  .ff-body {
    font-family: var(--body-font-family, var(--font-family-base));
  }
  .ff-heading {
    font-family: var(--font-family-heading);
  }
  .ff-code {
    font-family: var(--font-family-mono);
  }
  /**
  * Text transformation helpers
  */
  .uppercase {
    text-transform: uppercase;
  }
  .transform-none {
    text-transform: none;
  }
  /**
  * Applies a fully rounded (circular) border radius to an element.
  */
  .rounded {
    border-radius: 50%;
  }
  /*
  * Unstyled lists
  * Use this class to remove default list styles.
  */
  :is(ul, ol).unstyled, .list-unstyled {
    list-style: none;
    padding-left: 0;
    padding-inline-start: 0;
  }
  .center {
    display: grid;
    place-content: center;
  }
  .text-contour {
    /* Use color-mix for better Safari support */
    --text-contour-font-size: calc(var(--font-size-900) * 1.05);
    -webkit-text-fill-color: transparent; /* Will override color (regardless of order) */
    -webkit-text-stroke-width: 0.035em;
    -webkit-text-stroke-color: currentColor;
    letter-spacing: 0.125em;
    font-size: var(--text-contour-font-size);
  }
  .underline-yellow {
    text-decoration: underline;
    text-decoration-color: currentcolor;
    text-decoration-thickness: auto;
    text-underline-offset: 0.25em;
    text-decoration-thickness: 0.1em;
    text-decoration-color: var(--color-yellow-400);
  }
}
/**
 * Surface
 * ----------------------------------------------------------------------------
 */
@layer utilities {
  .surface-primary {
    background-color: var(--color-surface-primary-bg);
    color: var(--color-surface-primary-fg);
    --text-interactive: var(--color-neutral-300);
    --focus-outline-color: var(--color-accent-200);
    --text-interactive-hover: var(--color-surface-primary-bg);
  }
  .surface-primary :where(h1, .h1, h2, .h2, h3, .h3, h4, .h4, h5, .h5, h6, .h6) {
    --heading-color: var(--color-surface-primary-fg);
  }
  .surface-secondary {
    background-color: var(--color-surface-secondary-bg);
    color: var(--color-surface-secondary-fg);
  }
  .surface-secondary :where(h1, .h1, h2, .h2, h3, .h3, h4, .h4, h5, .h5, h6, .h6) {
    --heading-color: var(--color-surface-secondary-fg);
  }
  .surface-neutral {
    background-color: var(--color-surface-neutral-bg);
    color: var(--color-surface-neutral-fg);
  }
  .surface-yellow {
    background-color: var(--color-surface-yellow-bg);
    color: var(--color-surface-yellow-fg);
  }
  .surface-yellow :where(h1, .h1, h2, .h2, h3, .h3, h4, .h4, h5, .h5, h6, .h6) {
    --heading-color: var(--color-surface-yellow-fg);
  }
  .surface-blue {
    background-color: var(--color-surface-blue-bg);
    color: var(--color-surface-blue-fg);
  }
  .surface-blue :where(h1, .h1, h2, .h2, h3, .h3, h4, .h4, h5, .h5, h6, .h6) {
    --heading-color: var(--color-surface-blue-fg);
  }
  .surface-green {
    background-color: var(--color-surface-green-bg);
    color: var(--color-surface-green-fg);
  }
  .surface-green :where(h1, .h1, h2, .h2, h3, .h3, h4, .h4, h5, .h5, h6, .h6) {
    --heading-color: var(--color-surface-green-fg);
  }
  .surface-red {
    background-color: var(--color-surface-red-bg);
    color: var(--color-surface-red-fg);
  }
  .surface-red :where(h1, .h1, h2, .h2, h3, .h3, h4, .h4, h5, .h5, h6, .h6) {
    --heading-color: var(--color-surface-red-fg);
  }
  .surface-cyan {
    background-color: var(--color-surface-cyan-bg);
    color: var(--color-surface-cyan-fg);
  }
  .surface-cyan :where(h1, .h1, h2, .h2, h3, .h3, h4, .h4, h5, .h5, h6, .h6) {
    --heading-color: var(--color-surface-cyan-fg);
  }
  :where(h1, .h1, h2, .h2, h3, .h3, h4, .h4, h5, .h5, h6, .h6, span, p)[class*=surface-] {
    display: inline-block;
    padding-inline: 0.75rem;
  }
  :where(h1, .h1, h2, .h2, h3, .h3, h4, .h4, h5, .h5, h6, .h6, span, p)[class*=bg-] {
    display: inline-block;
    padding-inline: 0.75rem;
  }
}
/**
 * Font
 * ----------------------------------------------------------------------------
 */
@layer utilities {
  .font-family-sans {
    font-family: var(--font-family-sans);
  }
  .font-family-expressive {
    font-family: var(--font-family-expressive);
  }
  .font-family-code {
    font-family: var(--font-family-code);
  }
  .font-weight-light {
    font-weight: var(--font-weight-light);
  }
  .font-weight-regular {
    font-weight: var(--font-weight-regular);
  }
  .font-weight-medium {
    font-weight: var(--font-weight-medium);
  }
  .font-weight-bold {
    font-weight: var(--font-weight-bold);
  }
  .font-size-900 {
    font-size: var(--font-size-900);
  }
  .font-size-800 {
    font-size: var(--font-size-800);
  }
  .font-size-700 {
    font-size: var(--font-size-700);
  }
  .font-size-600 {
    font-size: var(--font-size-600);
  }
  .font-size-500 {
    font-size: var(--font-size-500);
  }
  .font-size-400 {
    font-size: var(--font-size-400);
  }
  .font-size-300 {
    font-size: var(--font-size-300);
  }
  .font-size-200 {
    font-size: var(--font-size-200);
  }
  .font-family-base {
    font-family: var(--font-family-base);
  }
  .font-family-heading {
    font-family: var(--font-family-heading);
  }
  .font-family-mono {
    font-family: var(--font-family-mono);
  }
}
/**
 * Margin
 * ----------------------------------------------------------------------------
 */
@layer utilities {
  .m-none, .m-0 {
    margin: var(--spacing-000);
  }
  .m-xs, .m-1 {
    margin: var(--spacing-025);
  }
  .m-s, .m-2 {
    margin: var(--spacing-050);
  }
  .m-sm, .m-3 {
    margin: var(--spacing-100);
  }
  .m-m, .m-4 {
    margin: var(--spacing-150);
  }
  .m-ml {
    margin: var(--spacing-200);
  }
  .m-l {
    margin: var(--spacing-250);
  }
  .m-xl, .m-5 {
    margin: var(--spacing-300);
  }
  .m-xxl {
    margin: var(--spacing-500);
  }
  .mx-none, .mx-0 {
    margin-left: var(--spacing-000);
    margin-right: var(--spacing-000);
  }
  .my-none, .my-0 {
    margin-bottom: var(--spacing-000);
    margin-top: var(--spacing-000);
  }
  .mx-xs, .mx-1 {
    margin-left: var(--spacing-025);
    margin-right: var(--spacing-025);
  }
  .my-xs, .my-1 {
    margin-bottom: var(--spacing-025);
    margin-top: var(--spacing-025);
  }
  .mx-s, .mx-2 {
    margin-left: var(--spacing-050);
    margin-right: var(--spacing-050);
  }
  .my-s, .my-2 {
    margin-bottom: var(--spacing-050);
    margin-top: var(--spacing-050);
  }
  .mx-sm, .mx-3 {
    margin-left: var(--spacing-100);
    margin-right: var(--spacing-100);
  }
  .my-sm, .my-3 {
    margin-bottom: var(--spacing-100);
    margin-top: var(--spacing-100);
  }
  .mx-m, .mx-4 {
    margin-left: var(--spacing-150);
    margin-right: var(--spacing-150);
  }
  .my-m, .my-4 {
    margin-bottom: var(--spacing-150);
    margin-top: var(--spacing-150);
  }
  .mx-ml {
    margin-left: var(--spacing-200);
    margin-right: var(--spacing-200);
  }
  .my-ml {
    margin-bottom: var(--spacing-200);
    margin-top: var(--spacing-200);
  }
  .mx-l {
    margin-left: var(--spacing-250);
    margin-right: var(--spacing-250);
  }
  .my-l {
    margin-bottom: var(--spacing-250);
    margin-top: var(--spacing-250);
  }
  .mx-xl, .mx-5 {
    margin-left: var(--spacing-300);
    margin-right: var(--spacing-300);
  }
  .my-xl, .my-5 {
    margin-bottom: var(--spacing-300);
    margin-top: var(--spacing-300);
  }
  .mx-xxl {
    margin-left: var(--spacing-500);
    margin-right: var(--spacing-500);
  }
  .my-xxl {
    margin-bottom: var(--spacing-500);
    margin-top: var(--spacing-500);
  }
  .mt-none, .mt-0 {
    margin-top: var(--spacing-000);
  }
  .mt-xs, .mt-1 {
    margin-top: var(--spacing-025);
  }
  .mt-s, .mt-2 {
    margin-top: var(--spacing-050);
  }
  .mt-sm, .mt-3 {
    margin-top: var(--spacing-100);
  }
  .mt-m, .mt-4 {
    margin-top: var(--spacing-150);
  }
  .mt-ml {
    margin-top: var(--spacing-200);
  }
  .mt-l {
    margin-top: var(--spacing-250);
  }
  .mt-xl, .mt-5 {
    margin-top: var(--spacing-300);
  }
  .mt-xxl {
    margin-top: var(--spacing-500);
  }
  .mb-none, .mb-0 {
    margin-bottom: var(--spacing-000);
  }
  .mb-xs, .mb-1 {
    margin-bottom: var(--spacing-025);
  }
  .mb-s, .mb-2 {
    margin-bottom: var(--spacing-050);
  }
  .mb-sm, .mb-3 {
    margin-bottom: var(--spacing-100);
  }
  .mb-m, .mb-4 {
    margin-bottom: var(--spacing-150);
  }
  .mb-ml {
    margin-bottom: var(--spacing-200);
  }
  .mb-l {
    margin-bottom: var(--spacing-250);
  }
  .mb-xl, .mb-5 {
    margin-bottom: var(--spacing-300);
  }
  .mb-xxl {
    margin-bottom: var(--spacing-500);
  }
  .ms-none, .ms-0 {
    margin-inline-start: var(--spacing-000);
  }
  .me-none, .me-0 {
    margin-inline-end: var(--spacing-000);
  }
  .ms-xs, .ms-1 {
    margin-inline-start: var(--spacing-025);
  }
  .me-xs, .me-1 {
    margin-inline-end: var(--spacing-025);
  }
  .ms-s, .ms-2 {
    margin-inline-start: var(--spacing-050);
  }
  .me-s, .me-2 {
    margin-inline-end: var(--spacing-050);
  }
  .ms-sm, .ms-3 {
    margin-inline-start: var(--spacing-100);
  }
  .me-sm, .me-3 {
    margin-inline-end: var(--spacing-100);
  }
  .ms-m, .ms-4 {
    margin-inline-start: var(--spacing-150);
  }
  .me-m, .me-4 {
    margin-inline-end: var(--spacing-150);
  }
  .ms-ml {
    margin-inline-start: var(--spacing-200);
  }
  .me-ml {
    margin-inline-end: var(--spacing-200);
  }
  .ms-l {
    margin-inline-start: var(--spacing-250);
  }
  .me-l {
    margin-inline-end: var(--spacing-250);
  }
  .ms-xl, .ms-5 {
    margin-inline-start: var(--spacing-300);
  }
  .me-xl, .me-5 {
    margin-inline-end: var(--spacing-300);
  }
  .ms-xxl {
    margin-inline-start: var(--spacing-500);
  }
  .me-xxl {
    margin-inline-end: var(--spacing-500);
  }
}
/**
 * Padding
 * ----------------------------------------------------------------------------
 */
@layer utilities {
  .p-none, .p-0 {
    padding: var(--spacing-000);
  }
  .p-xs, .p-1 {
    padding: var(--spacing-025);
  }
  .p-s, .p-2 {
    padding: var(--spacing-050);
  }
  .p-sm, .p-3 {
    padding: var(--spacing-100);
  }
  .p-m, .p-4 {
    padding: var(--spacing-150);
  }
  .p-ml {
    padding: var(--spacing-200);
  }
  .p-l {
    padding: var(--spacing-250);
  }
  .p-xl, .p-5 {
    padding: var(--spacing-300);
  }
  .p-xxl {
    padding: var(--spacing-500);
  }
  .px-none, .px-0 {
    padding-left: var(--spacing-000);
    padding-right: var(--spacing-000);
  }
  .py-none, .py-0 {
    padding-bottom: var(--spacing-000);
    padding-top: var(--spacing-000);
  }
  .px-xs, .px-1 {
    padding-left: var(--spacing-025);
    padding-right: var(--spacing-025);
  }
  .py-xs, .py-1 {
    padding-bottom: var(--spacing-025);
    padding-top: var(--spacing-025);
  }
  .px-s, .px-2 {
    padding-left: var(--spacing-050);
    padding-right: var(--spacing-050);
  }
  .py-s, .py-2 {
    padding-bottom: var(--spacing-050);
    padding-top: var(--spacing-050);
  }
  .px-sm, .px-3 {
    padding-left: var(--spacing-100);
    padding-right: var(--spacing-100);
  }
  .py-sm, .py-3 {
    padding-bottom: var(--spacing-100);
    padding-top: var(--spacing-100);
  }
  .px-m, .px-4 {
    padding-left: var(--spacing-150);
    padding-right: var(--spacing-150);
  }
  .py-m, .py-4 {
    padding-bottom: var(--spacing-150);
    padding-top: var(--spacing-150);
  }
  .px-ml {
    padding-left: var(--spacing-200);
    padding-right: var(--spacing-200);
  }
  .py-ml {
    padding-bottom: var(--spacing-200);
    padding-top: var(--spacing-200);
  }
  .px-l {
    padding-left: var(--spacing-250);
    padding-right: var(--spacing-250);
  }
  .py-l {
    padding-bottom: var(--spacing-250);
    padding-top: var(--spacing-250);
  }
  .px-xl, .px-5 {
    padding-left: var(--spacing-300);
    padding-right: var(--spacing-300);
  }
  .py-xl, .py-5 {
    padding-bottom: var(--spacing-300);
    padding-top: var(--spacing-300);
  }
  .px-xxl {
    padding-left: var(--spacing-500);
    padding-right: var(--spacing-500);
  }
  .py-xxl {
    padding-bottom: var(--spacing-500);
    padding-top: var(--spacing-500);
  }
  .pt-none, .pt-0 {
    padding-top: var(--spacing-000);
  }
  .pt-xs, .pt-1 {
    padding-top: var(--spacing-025);
  }
  .pt-s, .pt-2 {
    padding-top: var(--spacing-050);
  }
  .pt-sm, .pt-3 {
    padding-top: var(--spacing-100);
  }
  .pt-m, .pt-4 {
    padding-top: var(--spacing-150);
  }
  .pt-ml {
    padding-top: var(--spacing-200);
  }
  .pt-l {
    padding-top: var(--spacing-250);
  }
  .pt-xl, .pt-5 {
    padding-top: var(--spacing-300);
  }
  .pt-xxl {
    padding-top: var(--spacing-500);
  }
  .pb-none, .pb-0 {
    padding-bottom: var(--spacing-000);
  }
  .pb-xs, .pb-1 {
    padding-bottom: var(--spacing-025);
  }
  .pb-s, .pb-2 {
    padding-bottom: var(--spacing-050);
  }
  .pb-sm, .pb-3 {
    padding-bottom: var(--spacing-100);
  }
  .pb-m, .pb-4 {
    padding-bottom: var(--spacing-150);
  }
  .pb-ml {
    padding-bottom: var(--spacing-200);
  }
  .pb-l {
    padding-bottom: var(--spacing-250);
  }
  .pb-xl, .pb-5 {
    padding-bottom: var(--spacing-300);
  }
  .pb-xxl {
    padding-bottom: var(--spacing-500);
  }
  .ps-none, .ps-0 {
    padding-inline-start: var(--spacing-000);
  }
  .pe-none, .pe-0 {
    padding-inline-end: var(--spacing-000);
  }
  .ps-xs, .ps-1 {
    padding-inline-start: var(--spacing-025);
  }
  .pe-xs, .pe-1 {
    padding-inline-end: var(--spacing-025);
  }
  .ps-s, .ps-2 {
    padding-inline-start: var(--spacing-050);
  }
  .pe-s, .pe-2 {
    padding-inline-end: var(--spacing-050);
  }
  .ps-sm, .ps-3 {
    padding-inline-start: var(--spacing-100);
  }
  .pe-sm, .pe-3 {
    padding-inline-end: var(--spacing-100);
  }
  .ps-m, .ps-4 {
    padding-inline-start: var(--spacing-150);
  }
  .pe-m, .pe-4 {
    padding-inline-end: var(--spacing-150);
  }
  .ps-ml {
    padding-inline-start: var(--spacing-200);
  }
  .pe-ml {
    padding-inline-end: var(--spacing-200);
  }
  .ps-l {
    padding-inline-start: var(--spacing-250);
  }
  .pe-l {
    padding-inline-end: var(--spacing-250);
  }
  .ps-xl, .ps-5 {
    padding-inline-start: var(--spacing-300);
  }
  .pe-xl, .pe-5 {
    padding-inline-end: var(--spacing-300);
  }
  .ps-xxl {
    padding-inline-start: var(--spacing-500);
  }
  .pe-xxl {
    padding-inline-end: var(--spacing-500);
  }
}
/**
 * Box Shadows
 * ----------------------------------------------------------------------------
 */
@layer utilities {
  .shadow-1 {
    box-shadow: var(--shadow-1);
  }
  .shadow-2 {
    box-shadow: var(--shadow-2);
  }
  .shadow-3 {
    box-shadow: var(--shadow-3);
  }
  .shadow-4 {
    box-shadow: var(--shadow-4);
  }
  .shadow-5 {
    box-shadow: var(--shadow-5);
  }
  .shadow-6 {
    box-shadow: var(--shadow-6);
  }
}
/**
 * Opacity
 * ----------------------------------------------------------------------------
 */
@layer utilities {
  .opacity-opaque {
    opacity: var(--opacity-opaque);
  }
  .opacity-095 {
    opacity: var(--opacity-095);
  }
  .opacity-090 {
    opacity: var(--opacity-090);
  }
  .opacity-085 {
    opacity: var(--opacity-085);
  }
  .opacity-080 {
    opacity: var(--opacity-080);
  }
  .opacity-070 {
    opacity: var(--opacity-070);
  }
  .opacity-060 {
    opacity: var(--opacity-060);
  }
  .opacity-050 {
    opacity: var(--opacity-050);
  }
  .opacity-040 {
    opacity: var(--opacity-040);
  }
  .opacity-030 {
    opacity: var(--opacity-030);
  }
  .opacity-020 {
    opacity: var(--opacity-020);
  }
  .opacity-015 {
    opacity: var(--opacity-015);
  }
  .opacity-010 {
    opacity: var(--opacity-010);
  }
  .opacity-transparent {
    opacity: var(--opacity-transparent);
  }
}
/**
 * Background
 * ----------------------------------------------------------------------------
 */
@layer utilities {
  .bg-grey-500 {
    background-color: var(--color-grey-500);
  }
  .bg-red-500 {
    background-color: var(--color-red-500);
  }
  .bg-blue-500 {
    background-color: var(--color-blue-500);
  }
  .bg-cyan-500 {
    background-color: var(--color-cyan-500);
  }
  .bg-green-500 {
    background-color: var(--color-green-500);
  }
  .bg-warm-turbulence-500 {
    background-color: var(--color-warm-turbulence-500);
  }
  .bg-killarney-500 {
    background-color: var(--color-killarney-500);
  }
  .bg-forest-green-500 {
    background-color: var(--color-forest-green-500);
  }
  .bg-danger-red-500 {
    background-color: var(--color-danger-red-500);
  }
  .bg-yellow-500 {
    background-color: var(--color-yellow-500);
  }
  .bg-orange-500 {
    background-color: var(--color-orange-500);
  }
  .bg-neutral-50 {
    background-color: var(--color-neutral-50);
  }
  .bg-neutral-100 {
    background-color: var(--color-neutral-100);
  }
  .bg-neutral-200 {
    background-color: var(--color-neutral-200);
  }
  .bg-neutral-300 {
    background-color: var(--color-neutral-300);
  }
  .bg-neutral-400 {
    background-color: var(--color-neutral-400);
  }
  .bg-neutral-500 {
    background-color: var(--color-neutral-500);
  }
  .bg-neutral-600 {
    background-color: var(--color-neutral-600);
  }
  .bg-neutral-700 {
    background-color: var(--color-neutral-700);
  }
  .bg-neutral-800 {
    background-color: var(--color-neutral-800);
  }
  .bg-neutral-900 {
    background-color: var(--color-neutral-900);
  }
  .bg-neutral-950 {
    background-color: var(--color-neutral-950);
  }
  .bg-neutral-1000 {
    background-color: var(--color-neutral-1000);
  }
  .bg-neutral-000 {
    background-color: var(--color-neutral-000);
  }
  .bg-primary-50 {
    background-color: var(--color-primary-50);
  }
  .bg-primary-100 {
    background-color: var(--color-primary-100);
  }
  .bg-primary-200 {
    background-color: var(--color-primary-200);
  }
  .bg-primary-300 {
    background-color: var(--color-primary-300);
  }
  .bg-primary-400 {
    background-color: var(--color-primary-400);
  }
  .bg-primary-500 {
    background-color: var(--color-primary-500);
  }
  .bg-primary-600 {
    background-color: var(--color-primary-600);
  }
  .bg-primary-700 {
    background-color: var(--color-primary-700);
  }
  .bg-primary-800 {
    background-color: var(--color-primary-800);
  }
  .bg-primary-900 {
    background-color: var(--color-primary-900);
  }
  .bg-accent-100 {
    background-color: var(--color-accent-100);
  }
  .bg-accent-200 {
    background-color: var(--color-accent-200);
  }
  .bg-accent-300 {
    background-color: var(--color-accent-300);
  }
  .bg-accent-400 {
    background-color: var(--color-accent-400);
  }
  .bg-accent-500 {
    background-color: var(--color-accent-500);
  }
  .bg-accent-600 {
    background-color: var(--color-accent-600);
  }
  .bg-accent-700 {
    background-color: var(--color-accent-700);
  }
  .bg-accent-800 {
    background-color: var(--color-accent-800);
  }
  .bg-secondary-100 {
    background-color: var(--color-secondary-100);
  }
  .bg-secondary-200 {
    background-color: var(--color-secondary-200);
  }
  .bg-secondary-300 {
    background-color: var(--color-secondary-300);
  }
  .bg-secondary-400 {
    background-color: var(--color-secondary-400);
  }
  .bg-secondary-500 {
    background-color: var(--color-secondary-500);
  }
  .bg-secondary-600 {
    background-color: var(--color-secondary-600);
  }
  .bg-secondary-700 {
    background-color: var(--color-secondary-700);
  }
  .bg-secondary-800 {
    background-color: var(--color-secondary-800);
  }
  .bg-secondary-900 {
    background-color: var(--color-secondary-900);
  }
  .bg-surface-primary-bg {
    background-color: var(--color-surface-primary-bg);
  }
  .bg-surface-secondary-bg {
    background-color: var(--color-surface-secondary-bg);
  }
  .bg-surface-yellow-bg {
    background-color: var(--color-surface-yellow-bg);
  }
  .bg-surface-green-bg {
    background-color: var(--color-surface-green-bg);
  }
  .bg-surface-red-bg {
    background-color: var(--color-surface-red-bg);
  }
  .bg-surface-cyan-bg {
    background-color: var(--color-surface-cyan-bg);
  }
  .bg-surface-orange-bg {
    background-color: var(--color-surface-orange-bg);
  }
  .bg-surface-neutral-bg {
    background-color: var(--color-surface-neutral-bg);
  }
  .bg-surface-highlight-bg {
    background-color: var(--color-surface-highlight-bg);
  }
  .bg-success {
    background-color: var(--color-success);
  }
  .bg-danger {
    background-color: var(--color-danger);
  }
  .bg-warning {
    background-color: var(--color-warning);
  }
}
/**
 * Foreground / Text
 * ----------------------------------------------------------------------------
 */
@layer utilities {
  .text-grey-500 {
    color: var(--color-grey-500);
  }
  .text-red-500 {
    color: var(--color-red-500);
  }
  .text-blue-500 {
    color: var(--color-blue-500);
  }
  .text-cyan-500 {
    color: var(--color-cyan-500);
  }
  .text-green-500 {
    color: var(--color-green-500);
  }
  .text-warm-turbulence-500 {
    color: var(--color-warm-turbulence-500);
  }
  .text-killarney-500 {
    color: var(--color-killarney-500);
  }
  .text-forest-green-500 {
    color: var(--color-forest-green-500);
  }
  .text-danger-red-500 {
    color: var(--color-danger-red-500);
  }
  .text-yellow-500 {
    color: var(--color-yellow-500);
  }
  .text-orange-500 {
    color: var(--color-orange-500);
  }
  .text-neutral-50 {
    color: var(--color-neutral-50);
  }
  .text-neutral-100 {
    color: var(--color-neutral-100);
  }
  .text-neutral-200 {
    color: var(--color-neutral-200);
  }
  .text-neutral-300 {
    color: var(--color-neutral-300);
  }
  .text-neutral-400 {
    color: var(--color-neutral-400);
  }
  .text-neutral-500 {
    color: var(--color-neutral-500);
  }
  .text-neutral-600 {
    color: var(--color-neutral-600);
  }
  .text-neutral-700 {
    color: var(--color-neutral-700);
  }
  .text-neutral-800 {
    color: var(--color-neutral-800);
  }
  .text-neutral-900 {
    color: var(--color-neutral-900);
  }
  .text-neutral-950 {
    color: var(--color-neutral-950);
  }
  .text-neutral-1000 {
    color: var(--color-neutral-1000);
  }
  .text-neutral-000 {
    color: var(--color-neutral-000);
  }
  .text-primary-50 {
    color: var(--color-primary-50);
  }
  .text-primary-100 {
    color: var(--color-primary-100);
  }
  .text-primary-200 {
    color: var(--color-primary-200);
  }
  .text-primary-300 {
    color: var(--color-primary-300);
  }
  .text-primary-400 {
    color: var(--color-primary-400);
  }
  .text-primary-500 {
    color: var(--color-primary-500);
  }
  .text-primary-600 {
    color: var(--color-primary-600);
  }
  .text-primary-700 {
    color: var(--color-primary-700);
  }
  .text-primary-800 {
    color: var(--color-primary-800);
  }
  .text-primary-900 {
    color: var(--color-primary-900);
  }
  .text-accent-100 {
    color: var(--color-accent-100);
  }
  .text-accent-200 {
    color: var(--color-accent-200);
  }
  .text-accent-300 {
    color: var(--color-accent-300);
  }
  .text-accent-400 {
    color: var(--color-accent-400);
  }
  .text-accent-500 {
    color: var(--color-accent-500);
  }
  .text-accent-600 {
    color: var(--color-accent-600);
  }
  .text-accent-700 {
    color: var(--color-accent-700);
  }
  .text-accent-800 {
    color: var(--color-accent-800);
  }
  .text-secondary-100 {
    color: var(--color-secondary-100);
  }
  .text-secondary-200 {
    color: var(--color-secondary-200);
  }
  .text-secondary-300 {
    color: var(--color-secondary-300);
  }
  .text-secondary-400 {
    color: var(--color-secondary-400);
  }
  .text-secondary-500 {
    color: var(--color-secondary-500);
  }
  .text-secondary-600 {
    color: var(--color-secondary-600);
  }
  .text-secondary-700 {
    color: var(--color-secondary-700);
  }
  .text-secondary-800 {
    color: var(--color-secondary-800);
  }
  .text-secondary-900 {
    color: var(--color-secondary-900);
  }
  .text-surface-primary-fg {
    color: var(--color-surface-primary-fg);
  }
  .text-surface-secondary-fg {
    color: var(--color-surface-secondary-fg);
  }
  .text-surface-yellow-fg {
    color: var(--color-surface-yellow-fg);
  }
  .text-surface-green-fg {
    color: var(--color-surface-green-fg);
  }
  .text-surface-red-fg {
    color: var(--color-surface-red-fg);
  }
  .text-surface-cyan-fg {
    color: var(--color-surface-cyan-fg);
  }
  .text-surface-orange-fg {
    color: var(--color-surface-orange-fg);
  }
  .text-surface-neutral-fg {
    color: var(--color-surface-neutral-fg);
  }
  .text-surface-highlight-fg {
    color: var(--color-surface-highlight-fg);
  }
  .text-success {
    color: var(--color-success);
  }
  .text-danger {
    color: var(--color-danger);
  }
  .text-warning {
    color: var(--color-warning);
  }
}

/*# sourceMappingURL=template.css.map */
