/*fern-site-stylesheet*/:root {
  --header-height: 64px;
  --header-height-real: 64px;
  --mobile-header-height-real: 64px;
  --content-width: 640px;
  --sidebar-width: 288px;
  --page-width: 1440px;
  --logo-height: 28px;
  --font-body: ui-sans-serif, system-ui, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol', 'Noto Color Emoji';
  --font-heading: ui-sans-serif, system-ui, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol', 'Noto Color Emoji';
  --font-code: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, 'Liberation Mono', 'Courier New', monospace;
}

:root {
  --typography-body-font-family: var(--font-body);
  --typography-heading-font-family: var(--font-heading);
  --typography-code-font-family: var(--font-code);
}


.light, :root {
  --accent-1: #f3f7f8;
  --accent-2: #ebf2f5;
  --accent-3: #dceef4;
  --accent-4: #cce7f0;
  --accent-5: #baddea;
  --accent-6: #a5d0e0;
  --accent-7: #8ac0d3;
  --accent-8: #5eaac3;
  --accent-9: #00728d;
  --accent-10: #00647e;
  --accent-11: #006d88;
  --accent-12: #18414d;

  --accent-a1: #ebf5ff76;
  --accent-a2: #badbff3b;
  --accent-a3: #3bb3ff28;
  --accent-a4: #0198e82f;
  --accent-a5: #038dd442;
  --accent-a6: #0181be57;
  --accent-a7: #027bae73;
  --accent-a8: #027ba8a0;
  --accent-a9: #00728d;
  --accent-a10: #00647e;
  --accent-a11: #006d88;
  --accent-a12: #002e3ce7;

  --accent-contrast: #fff;
  --accent-surface: #e8f1f6cc;
  --accent-indicator: #00728d;
  --accent-track: #00728d;
}

@supports (color: color(display-p3 1 1 1)) {
  @media (color-gamut: p3) {
    .light, :root {
      --accent-1: oklch(97.3% 0.0047 221.8);
      --accent-2: oklch(95.8% 0.0087 221.8);
      --accent-3: oklch(93.7% 0.0208 221.8);
      --accent-4: oklch(91% 0.0311 221.8);
      --accent-5: oklch(87.6% 0.0407 221.8);
      --accent-6: oklch(83.3% 0.0504 221.8);
      --accent-7: oklch(77.6% 0.0627 221.8);
      --accent-8: oklch(69.9% 0.0841 221.8);
      --accent-9: oklch(51.2% 0.0944 221.8);
      --accent-10: oklch(46.3% 0.0944 221.8);
      --accent-11: oklch(49.6% 0.0944 221.8);
      --accent-12: oklch(35.1% 0.05 221.8);

      --accent-a1: color(display-p3 0.9255 0.9608 1 / 0.417);
      --accent-a2: color(display-p3 0.6549 0.8157 1 / 0.167);
      --accent-a3: color(display-p3 0 0.5412 0.9529 / 0.108);
      --accent-a4: color(display-p3 0 0.5255 0.8588 / 0.164);
      --accent-a5: color(display-p3 0 0.4784 0.7647 / 0.228);
      --accent-a6: color(display-p3 0 0.4353 0.6824 / 0.304);
      --accent-a7: color(display-p3 0 0.4157 0.6235 / 0.404);
      --accent-a8: color(display-p3 0 0.4 0.5922 / 0.552);
      --accent-a9: color(display-p3 0 0.3098 0.4431 / 0.808);
      --accent-a10: color(display-p3 0 0.2667 0.3882 / 0.836);
      --accent-a11: color(display-p3 0 0.2941 0.4235 / 0.816);
      --accent-a12: color(display-p3 0 0.1333 0.1922 / 0.86);

      --accent-contrast: #fff;
      --accent-surface: color(display-p3 0.9137 0.9451 0.9608 / 0.8);
      --accent-indicator: oklch(51.2% 0.0944 221.8);
      --accent-track: oklch(51.2% 0.0944 221.8);
    }
  }
}


.light, :root {
  --grayscale-1: #fcfdfc;
  --grayscale-2: #f8faf8;
  --grayscale-3: #eff1ef;
  --grayscale-4: #e7e9e7;
  --grayscale-5: #dfe2df;
  --grayscale-6: #d7dad7;
  --grayscale-7: #cccfcc;
  --grayscale-8: #b9bcb8;
  --grayscale-9: #898e87;
  --grayscale-10: #7f847d;
  --grayscale-11: #60655f;
  --grayscale-12: #1d211c;

  --grayscale-a1: #00550003;
  --grayscale-a2: #00490007;
  --grayscale-a3: #00200010;
  --grayscale-a4: #00160018;
  --grayscale-a5: #00180020;
  --grayscale-a6: #00140028;
  --grayscale-a7: #000f0033;
  --grayscale-a8: #040f0047;
  --grayscale-a9: #050f0078;
  --grayscale-a10: #040e0082;
  --grayscale-a11: #020a00a0;
  --grayscale-a12: #010600e3;

  --grayscale-contrast: #000;
  --grayscale-surface: #ffffffcc;
  --grayscale-indicator: #898e87;
  --grayscale-track: #898e87;
}

@supports (color: color(display-p3 1 1 1)) {
  @media (color-gamut: p3) {
    .light, :root {
      --grayscale-1: color(display-p3 0.989 0.992 0.989);
      --grayscale-2: color(display-p3 0.974 0.98 0.973);
      --grayscale-3: color(display-p3 0.939 0.945 0.937);
      --grayscale-4: color(display-p3 0.907 0.914 0.905);
      --grayscale-5: color(display-p3 0.878 0.885 0.875);
      --grayscale-6: color(display-p3 0.846 0.855 0.843);
      --grayscale-7: color(display-p3 0.803 0.812 0.8);
      --grayscale-8: color(display-p3 0.727 0.738 0.723);
      --grayscale-9: color(display-p3 0.541 0.556 0.532);
      --grayscale-10: color(display-p3 0.5 0.515 0.491);
      --grayscale-11: color(display-p3 0.38 0.395 0.374);
      --grayscale-12: color(display-p3 0.117 0.129 0.111);

      --grayscale-a1: #00550003;
      --grayscale-a2: #00490007;
      --grayscale-a3: #00200010;
      --grayscale-a4: #00160018;
      --grayscale-a5: #00180020;
      --grayscale-a6: #00140028;
      --grayscale-a7: #000f0033;
      --grayscale-a8: #040f0047;
      --grayscale-a9: #050f0078;
      --grayscale-a10: #040e0082;
      --grayscale-a11: #020a00a0;
      --grayscale-a12: #010600e3;

      --grayscale-contrast: #000;
      --grayscale-surface: color(display-p3 1 1 1 / 80%);
      --grayscale-indicator: color(display-p3 0.541 0.556 0.532);
      --grayscale-track: color(display-p3 0.541 0.556 0.532);
    }
  }
}


.dark {
  --accent-1: #202b2e;
  --accent-2: #232f32;
  --accent-3: #1f3e47;
  --accent-4: #184a56;
  --accent-5: #1b5663;
  --accent-6: #236372;
  --accent-7: #2b7485;
  --accent-8: #2f8a9f;
  --accent-9: #5fc3dc;
  --accent-10: #54b8d0;
  --accent-11: #69cce5;
  --accent-12: #beebf8;

  --accent-a1: #fe210017;
  --accent-a2: #f749001b;
  --accent-a3: #fefd8716;
  --accent-a4: #6afbd225;
  --accent-a5: #5ffeeb33;
  --accent-a6: #6afefc43;
  --accent-a7: #66f4fd5c;
  --accent-a8: #55e9fd7f;
  --accent-a9: #72e4fed1;
  --accent-a10: #6de6ffc0;
  --accent-a11: #78e5fedd;
  --accent-a12: #c5f2fff6;

  --accent-contrast: #05262e;
  --accent-surface: #3c322480;
  --accent-indicator: #5fc3dc;
  --accent-track: #5fc3dc;
}

@supports (color: color(display-p3 1 1 1)) {
  @media (color-gamut: p3) {
    .dark {
      --accent-1: oklch(28% 0.0157 216.5);
      --accent-2: oklch(29.6% 0.0172 216.5);
      --accent-3: oklch(34.5% 0.0398 216.5);
      --accent-4: oklch(38.1% 0.0561 216.5);
      --accent-5: oklch(42% 0.063 216.5);
      --accent-6: oklch(46.5% 0.0676 216.5);
      --accent-7: oklch(52% 0.0752 216.5);
      --accent-8: oklch(59% 0.0893 216.5);
      --accent-9: oklch(76.7% 0.0995 216.5);
      --accent-10: oklch(73.2% 0.0986 216.5);
      --accent-11: oklch(79.5% 0.0995 216.5);
      --accent-12: oklch(91.4% 0.0499 216.5);

      --accent-a1: color(display-p3 0.9961 0.1725 0 / 0.06);
      --accent-a2: color(display-p3 0.9922 0.3843 0 / 0.073);
      --accent-a3: color(display-p3 0.9098 1 0.5725 / 0.085);
      --accent-a4: color(display-p3 0.5765 1 0.8549 / 0.142);
      --accent-a5: color(display-p3 0.5529 1 0.9176 / 0.199);
      --accent-a6: color(display-p3 0.5765 1 0.9843 / 0.26);
      --accent-a7: color(display-p3 0.5647 0.9529 0.9961 / 0.355);
      --accent-a8: color(display-p3 0.5176 0.9216 1 / 0.485);
      --accent-a9: color(display-p3 0.5725 0.902 1 / 0.803);
      --accent-a10: color(display-p3 0.5608 0.9059 1 / 0.74);
      --accent-a11: color(display-p3 0.5882 0.9059 1 / 0.849);
      --accent-a12: color(display-p3 0.8157 0.9529 1 / 0.954);

      --accent-contrast: #05262e;
      --accent-surface: color(display-p3 0.2196 0.1961 0.1451 / 0.5);
      --accent-indicator: oklch(76.7% 0.0995 216.5);
      --accent-track: oklch(76.7% 0.0995 216.5);
    }
  }
}


.dark {
  --grayscale-1: #111113;
  --grayscale-2: #18191b;
  --grayscale-3: #212225;
  --grayscale-4: #272a2d;
  --grayscale-5: #2e3135;
  --grayscale-6: #363a3f;
  --grayscale-7: #43484e;
  --grayscale-8: #5a6169;
  --grayscale-9: #696e77;
  --grayscale-10: #777b84;
  --grayscale-11: #b0b4ba;
  --grayscale-12: #edeef0;

  --grayscale-a1: #00000000;
  --grayscale-a2: #d8f4f609;
  --grayscale-a3: #ddeaf814;
  --grayscale-a4: #d3edf81d;
  --grayscale-a5: #d9edfe25;
  --grayscale-a6: #d6ebfd30;
  --grayscale-a7: #d9edff40;
  --grayscale-a8: #d9edff5d;
  --grayscale-a9: #dfebfd6d;
  --grayscale-a10: #e5edfd7b;
  --grayscale-a11: #f1f7feb5;
  --grayscale-a12: #fcfdffef;

  --grayscale-contrast: #fff;
  --grayscale-surface: rgba(0, 0, 0, 0.05);
  --grayscale-indicator: #696e77;
  --grayscale-track: #696e77;
}

@supports (color: color(display-p3 1 1 1)) {
  @media (color-gamut: p3) {
    .dark {
      --grayscale-1: color(display-p3 0.067 0.067 0.074);
      --grayscale-2: color(display-p3 0.095 0.098 0.105);
      --grayscale-3: color(display-p3 0.13 0.135 0.145);
      --grayscale-4: color(display-p3 0.156 0.163 0.176);
      --grayscale-5: color(display-p3 0.183 0.191 0.206);
      --grayscale-6: color(display-p3 0.215 0.226 0.244);
      --grayscale-7: color(display-p3 0.265 0.28 0.302);
      --grayscale-8: color(display-p3 0.357 0.381 0.409);
      --grayscale-9: color(display-p3 0.415 0.431 0.463);
      --grayscale-10: color(display-p3 0.469 0.483 0.514);
      --grayscale-11: color(display-p3 0.692 0.704 0.728);
      --grayscale-12: color(display-p3 0.93 0.933 0.94);

      --grayscale-a1: #00000000;
      --grayscale-a2: #d8f4f609;
      --grayscale-a3: #ddeaf814;
      --grayscale-a4: #d3edf81d;
      --grayscale-a5: #d9edfe25;
      --grayscale-a6: #d6ebfd30;
      --grayscale-a7: #d9edff40;
      --grayscale-a8: #d9edff5d;
      --grayscale-a9: #dfebfd6d;
      --grayscale-a10: #e5edfd7b;
      --grayscale-a11: #f1f7feb5;
      --grayscale-a12: #fcfdffef;

      --grayscale-contrast: #fff;
      --grayscale-surface: color(display-p3 0 0 0 / 5%);
      --grayscale-indicator: color(display-p3 0.415 0.431 0.463);
      --grayscale-track: color(display-p3 0.415 0.431 0.463);
    }
  }
}

.light, :root {
  color-scheme: light;
  --accent: rgba(0, 114, 141, 1);
  --background: rgba(250, 249, 242, 1);
  --border: rgba(228, 224, 203, 1);
  --sidebar-background: rgba(250, 249, 242, 1);
  --header-background: rgba(250, 249, 242, 1);
  --card-background: rgba(255, 255, 255, 1);
  --theme-color: #faf9f2;
}

.dark {
  color-scheme: dark;
  --accent: rgba(95, 195, 220, 1);
  --background: rgba(10, 44, 65, 1);
  --border: rgba(30, 78, 108, 1);
  --sidebar-background: rgba(10, 44, 65, 1);
  --header-background: rgba(10, 44, 65, 1);
  --card-background: rgba(13, 63, 94, 1);
  --theme-color: #0a2c41;
}

/* Fonts. guardianlife.com sets body text in Effra and display type in Lyon
   Display; both are licensed and served without CORS headers, so they cannot
   be loaded cross-origin. Figtree and Source Serif 4 are the closest open
   equivalents, served from Google Fonts (Latin subset). Declared as
   @font-face rather than @import because Fern inlines this file after its own
   styles, where an @import is ignored. */
@font-face {
    font-family: 'Figtree';
    font-style: italic;
    font-weight: 300 900;
    font-display: swap;
    src: url(https://fonts.gstatic.com/s/figtree/v9/_Xmu-HUzqDCFdgfMm4GND65o.woff2) format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
    font-family: 'Figtree';
    font-style: normal;
    font-weight: 300 900;
    font-display: swap;
    src: url(https://fonts.gstatic.com/s/figtree/v9/_Xms-HUzqDCFdgfMm4S9DQ.woff2) format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
    font-family: 'JetBrains Mono';
    font-style: normal;
    font-weight: 400 700;
    font-display: swap;
    src: url(https://fonts.gstatic.com/s/jetbrainsmono/v24/tDbv2o-flEEny0FZhsfKu5WU4zr3E_BX0PnT8RD8yKwBNntkaToggR7BYRbKPxDcwg.woff2) format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
    font-family: 'Source Serif 4';
    font-style: normal;
    font-weight: 400 700;
    font-display: swap;
    src: url(https://fonts.gstatic.com/s/sourceserif4/v15/vEFI2_tTDB4M7-auWDN0ahZJW1gb8tc.woff2) format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* Shared portal styling. Lives in the root repo's theme and is applied to
   every product site through `global-theme`. Tokens are taken from the CSS on
   www.guardianlife.com. */

/* ------------------------------------------------------------------ tokens */

:root {
    --typography-body-font-family: "Figtree", Tahoma, sans-serif;
    --typography-heading-font-family: "Figtree", Tahoma, sans-serif;
    --typography-code-font-family: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
    --font-body: var(--typography-body-font-family);
    --font-heading: var(--typography-heading-font-family);
    --font-code: var(--typography-code-font-family);
    --gl-font-display: "Source Serif 4", Georgia, serif;

    --gl-navy-900: #0a2c41;
    --gl-navy-700: #0d3f5e;
    --gl-teal-600: #00728d;
    --gl-teal-300: #5fc3dc;
    --gl-blue-500: #3481fe;
    --gl-orange-500: #e85526;
    --gl-green-500: #00a160;
    --gl-cream-50: #faf9f2;
    --gl-cream-100: #f2efde;
    --gl-gold-300: #cfc78f;

    --gl-surface: var(--gl-cream-50);
    --gl-surface-card: #ffffff;
    --gl-content-high: var(--gl-navy-900);
    --gl-content-mid: color-mix(in srgb, var(--gl-navy-900), transparent 25%);
    --gl-border: #e4e0cb;
    --gl-accent: var(--gl-teal-600);

    --gl-max: 1200px;
    --gl-radius: 0.75rem;
}

.dark,
[data-theme="dark"] {
    --gl-surface: var(--gl-navy-900);
    --gl-surface-card: var(--gl-navy-700);
    --gl-content-high: #ffffff;
    --gl-content-mid: color-mix(in srgb, #ffffff, transparent 25%);
    --gl-border: #1e4e6c;
    --gl-accent: var(--gl-teal-300);
}

/* Headings in Guardian's display serif, as on guardianlife.com. */
.fern-prose h1,
.fern-page-heading,
h1.fern-page-heading {
    font-family: var(--gl-font-display);
    font-weight: 600;
    letter-spacing: -0.01em;
}

/* Guardian's orange underline marks the current tab / sidebar item. */
.fern-sidebar-link[data-state="active"],
.fern-sidebar-link.active {
    box-shadow: inset 3px 0 0 var(--gl-orange-500);
}

.fern-header-selectors {
    align-items: center;
}

/* The landing page belongs to no product site, so it shows no switchers. */
.fern-header-selectors:not(:has(.fern-product-selector)) {
    display: none;
}

/* Product menu: two columns on desktop so every API fits without scrolling. */
@media (min-width: 1024px) {

    .fern-dropdown:has(.fern-product-selector-radio-group) {
        width: min(880px, calc(100vw - 2rem));
        max-height: min(640px, calc(100vh - 6rem));
    }

    .fern-dropdown .fern-product-selector-radio-group {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 2px;
    }

}

/* Filled navbar button in Guardian navy, like the site's "Log in" pill. */
.fern-button.filled {
    background-color: var(--gl-navy-700);
    color: #ffffff;
    border-radius: 0.5rem;
}

.dark .fern-button.filled {
    background-color: var(--gl-teal-600);
}

/* Fern adds click-to-anchor behaviour to every heading; keep the landing page
   headings inert. */
.gl-home :is(h1, h2, h3, h4, h5, h6)[data-state]:not([role]) {
    cursor: default !important;
    pointer-events: none;
}

/* -------------------------------------------------------------- landing */

.gl-home {
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 clamp(1rem, 3vw, 2rem) 2rem;
    color: var(--gl-content-high);
}

.gl-home p {
    margin: 0;
}

.gl-hero {
    position: relative;
    overflow: hidden;
    margin: 1.5rem 0 3rem;
    padding: clamp(2.5rem, 6vw, 5rem) clamp(1.5rem, 5vw, 4.5rem);
    border-radius: 1.25rem;
    background: var(--gl-navy-900);
    color: #ffffff;
}

/* The logo's linked green and teal rings, abstracted as soft glows. */
.gl-hero::before,
.gl-hero::after {
    content: "";
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
}

.gl-hero::before {
    width: 34rem;
    height: 34rem;
    right: -8rem;
    top: -14rem;
    border: 3.5rem solid color-mix(in srgb, var(--gl-green-500), transparent 70%);
}

.gl-hero::after {
    width: 30rem;
    height: 30rem;
    right: 4rem;
    bottom: -18rem;
    border: 3.5rem solid color-mix(in srgb, var(--gl-teal-600), transparent 55%);
}

.gl-hero__content {
    position: relative;
    z-index: 1;
    max-width: 44rem;
}

.gl-hero__eyebrow {
    font-size: 0.875rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--gl-gold-300);
}

.gl-hero__title {
    margin: 1rem 0 1.25rem;
    font-family: var(--gl-font-display);
    font-size: clamp(2.5rem, 1.6rem + 3.6vw, 4.5rem);
    font-weight: 500;
    line-height: 1.05;
    letter-spacing: -0.02em;
}

.gl-hero__lede {
    font-size: clamp(1.05rem, 0.95rem + 0.4vw, 1.3rem);
    line-height: 1.55;
    color: color-mix(in srgb, #ffffff, transparent 18%);
}

.gl-hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 2rem;
}

.gl-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.25rem;
    border-radius: 0.5rem;
    font-weight: 600;
    text-decoration: none !important;
    transition: background-color 0.15s, color 0.15s;
}

.gl-btn--primary {
    background: var(--gl-cream-50);
    color: var(--gl-navy-900) !important;
}

.gl-btn--primary:hover {
    background: var(--gl-cream-100);
}
.gl-btn--primary:focus-visible {
    background: var(--gl-cream-100); outline: none;
}

.gl-btn--ghost {
    box-shadow: inset 0 0 0 1.5px color-mix(in srgb, #ffffff, transparent 50%);
    color: #ffffff !important;
}

.gl-btn--ghost:hover {
    background: color-mix(in srgb, #ffffff, transparent 90%);
}
.gl-btn--ghost:focus-visible {
    background: color-mix(in srgb, #ffffff, transparent 90%); outline: none;
}

.gl-section {
    margin: 0 0 3.5rem;
}

.gl-section__head {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1.25rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid var(--gl-gold-300);
}

.gl-section__title {
    font-family: var(--gl-font-display);
    font-size: clamp(1.75rem, 1.3rem + 1.6vw, 2.5rem);
    font-weight: 500;
    line-height: 1.15;
}

.gl-section__lede {
    margin-top: 0.4rem !important;
    color: var(--gl-content-mid);
}

.gl-section__link {
    font-weight: 600;
    color: var(--gl-accent) !important;
    text-decoration: none !important;
    white-space: nowrap;
}

.gl-section__link:hover {
    text-decoration: underline !important;
}
.gl-section__link:focus-visible {
    text-decoration: underline !important; outline: none;
}

.gl-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(17rem, 1fr));
    gap: 1rem;
}

.gl-card {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    padding: 1.25rem 1.25rem 1.1rem;
    border: 1px solid var(--gl-border);
    border-radius: var(--gl-radius);
    background: var(--gl-surface-card);
    color: var(--gl-content-high) !important;
    text-decoration: none !important;
    transition: border-color 0.15s, box-shadow 0.15s, transform 0.15s;
}

.gl-card:hover {
    border-color: var(--gl-accent);
    box-shadow: 0 12px 28px -18px color-mix(in srgb, var(--gl-navy-900), transparent 40%);
    transform: translateY(-2px);
}
.gl-card:focus-visible {
    border-color: var(--gl-accent);
    box-shadow: 0 12px 28px -18px color-mix(in srgb, var(--gl-navy-900), transparent 40%);
    transform: translateY(-2px); outline: none;
}

.gl-card__title {
    font-size: 1.05rem;
    font-weight: 700;
}

.gl-card__desc {
    font-weight: 400;
    font-size: 0.925rem;
    line-height: 1.5;
    color: var(--gl-content-mid);
}

.gl-card__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.375rem;
    margin-top: auto;
    padding-top: 0.5rem;
}

.gl-tag {
    padding: 0.125rem 0.5rem;
    border-radius: 999px;
    background: color-mix(in srgb, var(--gl-teal-600), transparent 88%);
    color: var(--gl-accent);
    font-size: 0.75rem;
    font-weight: 600;
}

.gl-tag--accent {
    background: color-mix(in srgb, var(--gl-orange-500), transparent 85%);
    color: var(--gl-orange-500);
}

/* --------------------------------------------------------------- footer */
/* Values follow the guardianlife.com footer CSS (its 1rem is 10px, so 1.6rem
   there is 16px here). */

.gl-footer {
    margin-top: 4rem;
    background-color: var(--gl-navy-900);
    color: #ffffff;
    font-family: var(--typography-body-font-family);
    font-size: 17px;
}

.dark .gl-footer {
    border-top: 1px solid var(--gl-border);
}

.gl-footer__inner {
    width: 100%;
    max-width: 1440px;
    margin: 0 auto;
    padding: 40px 20px 16px;
}

.gl-footer a {
    display: inline-block;
    color: #ffffff;
    text-decoration: none;
    border-radius: 4px;
    outline: none;
}

.gl-footer a:hover {
    text-decoration: underline;
    text-decoration-thickness: 0.05em;
    text-underline-offset: 0.23em;
}

.gl-footer a:focus-visible {
    box-shadow: 0 0 0 2px var(--gl-blue-500), 0 0 10px var(--gl-blue-500);
}

.gl-footer ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.gl-footer__heading {
    margin: 0;
    font-size: 18px;
    font-weight: 700;
    line-height: 1.3;
    color: #ffffff;
}

/* logo / link columns / social */

.gl-footer__media {
    display: grid;
    grid-template-columns: 1fr;
}

.gl-footer__logo-wrapper {
    display: flex;
    justify-content: center;
    padding-bottom: 24px;
}

.gl-footer__logo {
    display: block;
    width: 170px;
    height: auto;
    aspect-ratio: 59 / 11;
}

.gl-footer__nav {
    display: grid;
    padding: 0 0 24px;
}

.gl-footer__column {
    border-top: 1px solid var(--gl-navy-700);
    padding: 20px 4px;
}

.gl-footer__column:last-child {
    border-bottom: 1px solid var(--gl-navy-700);
}

.gl-footer__column .gl-footer__heading {
    padding: 4px;
    margin-bottom: 16px;
}

.gl-footer__column li {
    padding: 0 0 16px;
}

.gl-footer__link {
    display: block !important;
    padding: 4px 4px 5px;
    font-size: 17px;
    line-height: 1.5em;
}

.gl-footer__social-wrapper {
    padding: 20px 0;
}

.gl-footer__social {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    max-width: 335px;
    padding-bottom: 24px !important;
}

.gl-footer__social li {
    display: inline-block;
    padding: 4px;
    background: var(--gl-navy-700);
    line-height: 0;
    border-radius: 4px;
}

.gl-footer__social a {
    width: 30px;
    height: 30px;
    background-color: #ffffff;
    border-radius: 4px;
    color: var(--gl-navy-700);
    overflow: hidden;
}

.gl-footer__social svg {
    display: block;
    width: 36px;
    height: 36px;
    margin: -3px 0 0 -3px;
}

/* inline link icons */

.gl-footer__nowrap {
    white-space: nowrap;
}

.gl-footer__link-icon {
    display: inline-grid;
    place-items: center;
    padding-left: 7px;
}

.gl-footer__link-icon svg {
    display: block;
    width: 12px;
    height: 12px;
}

/* Column links reveal their icon on hover; legal links always show it. */
.gl-footer__link .gl-footer__link-icon {
    color: transparent;
}

.gl-footer__link:hover .gl-footer__link-icon {
    color: #ffffff;
}
.gl-footer__link:focus-within .gl-footer__link-icon {
    color: #ffffff; outline: none;
}

/* rules, legal links, copyright */

.gl-footer__spacer {
    margin: 0;
    border: 0;
    border-top: 1px solid var(--gl-navy-700);
}

.gl-footer__legal-title {
    padding: 24px 0 24px 4px;
}

.gl-footer__legal ul {
    display: flex;
    flex-direction: column;
    flex-wrap: nowrap;
    padding: 0 0 21px;
}

.gl-footer__legal li {
    padding-bottom: 16px;
}

.gl-footer__legal-link {
    display: inline !important;
    padding: 4px 4px 5px;
    font-size: 16px;
    line-height: 1.5em;
}

.gl-footer__copyright {
    padding-top: 24px;
    font-size: 16px;
    line-height: 1.5em;
}

.gl-footer__copyright p {
    margin: 0 0 24px;
}

@media (min-width: 768px) {

    .gl-footer__copyright p {
        margin-bottom: 16px;
    }

}

@media (min-width: 992px) {

    .gl-footer__inner {
        padding-left: 60px;
        padding-right: 60px;
    }

    .gl-footer__media {
        grid-template-columns: 280px 1fr;
        grid-template-rows: 87px auto;
    }

    .gl-footer__logo-wrapper {
        justify-content: flex-start;
        align-items: flex-start;
        padding-bottom: 0;
    }

    .gl-footer__logo {
        width: 236px;
    }

    .gl-footer__social-wrapper {
        grid-column: 1 / 2;
        grid-row: 2 / 3;
    }

    .gl-footer__social {
        max-width: 244px;
    }

    .gl-footer__nav {
        grid-column: 2 / 3;
        grid-row: 1 / 3;
        grid-template-columns: 1fr 1fr 1fr;
        gap: 24px;
        padding: 0;
    }

    .gl-footer__column,
    .gl-footer__column:last-child {
        border: none;
        padding: 0;
    }

    .gl-footer__heading {
        font-size: 21px;
    }

    .gl-footer__legal ul {
        flex-direction: row;
        flex-wrap: wrap;
        padding-bottom: 20px;
    }

    .gl-footer__legal li {
        padding-right: 24px;
        padding-bottom: 20px;
    }

}

@media (min-width: 1200px) {

    .gl-footer__inner {
        padding: 80px 100px 16px;
    }

    .gl-footer__logo {
        width: 192px;
    }

    .gl-footer__nav {
        padding-bottom: 64px;
    }

}

@media (min-width: 1440px) {

    .gl-footer__media {
        grid-template-columns: 300px 1fr;
    }

}
