/*
 * FAME+ v2 look for the public site (shared layout: header, menus, search, footer, phone bottom bar).
 * Design tokens follow fameplusv2 (resources/css/app.css, from "FAME+ v2.pdf").
 * Loaded last in tpl/main_template.php. Class names start with "fp-" so they don't clash with Bootstrap 4,
 * ansible.css or custom.css.
 */

:root {
    --fp-font-sans: 'Montserrat', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', sans-serif;
    --fp-font-serif: 'Abhaya Libre', ui-serif, Georgia, serif;

    --fp-ink: #2f2f2f;
    --fp-stone: #a8a6a0;
    --fp-stone-soft: #d3d2cf;
    --fp-sand: #e8d8c3;
    --fp-mist: #ebebeb;
    --fp-snow: #f5f7f7;
    --fp-line: #d9d9d9;
    --fp-panel: #d9d9d9;
    --fp-muted: #6b6a66;
    --fp-on-dark: #ffffff;

    --fp-status-approved: #8caa0b;
    --fp-status-rejected: #cc3808;

    --fp-radius-card: 0.625rem;
    --fp-shadow-card: 0 1px 2px rgb(0 0 0 / 0.06), 0 4px 12px rgb(0 0 0 / 0.08);
    --fp-header-h: 3.5rem;
}

@media (min-width: 768px) {
    :root {
        --fp-header-h: 4rem;
    }
}

/* ---------- Base ---------- */
/*
 * The site's older ansible.css sets `* { color: #231f20; font-family: primary }` on every element, which
 * turns text black on dark backgrounds and swaps out the font. Inside the new layout, elements inherit
 * their colour and font again; the class rules below (same weight, later in the file) still apply.
 */
.fp-header *,
.fp-overlay *,
.fp-bottombar *,
.fp-footer *,
.fp-page *,
.fp-subnav * {
    color: inherit;
    font-family: inherit;
}

/* ansible.css centres some headings; inside the new layout they follow their container. */
:is(.fp-header, .fp-overlay, .fp-footer, .fp-page, .fp-subnav) :is(h1, h2, h3, h4, h5, h6) {
    text-align: inherit;
}

/* ansible.css also forces `p { font-family: primary !important }`, so paragraphs need !important to inherit. */
.fp-header p,
.fp-overlay p,
.fp-bottombar p,
.fp-footer p,
.fp-page p,
.fp-subnav p {
    font-family: inherit !important;
}

html {
    -webkit-text-size-adjust: 100%;
    scroll-padding-top: 5rem;
}

body {
    font-family: var(--fp-font-sans);
    color: var(--fp-ink);
    background-color: var(--fp-snow);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-wrap: break-word;
}

body.fp-locked {
    overflow: hidden;
}

:focus-visible {
    outline: 2px solid var(--fp-ink);
    outline-offset: 2px;
}

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

.fp-skip {
    position: absolute;
    left: -9999px;
    top: 0.5rem;
    z-index: 2000;
    padding: 0.5rem 1rem;
    border-radius: 0.25rem;
    background: #fff;
    color: var(--fp-ink);
    font-weight: 600;
}

.fp-skip:focus {
    left: 0.5rem;
}

#fp-content {
    outline: none;
}

.fp-icon {
    width: 1.25rem;
    height: 1.25rem;
    flex-shrink: 0;
}

.fp-icon--sm {
    width: 1rem;
    height: 1rem;
}

/* ---------- Buttons ---------- */
.fp-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    min-height: 2.5rem;
    padding: 0 1.25rem;
    border: 1px solid var(--fp-ink);
    border-radius: 9999px;
    font-family: var(--fp-font-sans);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.025em;
    line-height: 1.2;
    text-transform: uppercase;
    text-decoration: none !important;
    white-space: nowrap;
    cursor: pointer;
    user-select: none;
    transition: background-color 0.15s, border-color 0.15s, color 0.15s;
}

.fp-btn:disabled {
    cursor: not-allowed;
    opacity: 0.5;
}

.fp-btn--primary,
.fp-btn--primary:visited {
    background-color: var(--fp-ink);
    color: var(--fp-on-dark) !important;
}

.fp-btn--primary:hover,
.fp-btn--primary:focus-visible {
    background-color: var(--fp-stone);
    border-color: var(--fp-stone);
    color: var(--fp-ink) !important;
}

.fp-btn--ghost,
.fp-btn--ghost:visited {
    background-color: #fff;
    color: var(--fp-ink) !important;
}

.fp-btn--ghost:hover,
.fp-btn--ghost:focus-visible {
    background-color: var(--fp-mist);
}

.fp-btn--sm {
    min-height: 2rem;
    padding: 0 1rem;
    font-size: 0.6875rem;
}

.fp-icon-btn {
    display: inline-grid;
    place-items: center;
    width: 2.5rem;
    height: 2.5rem;
    padding: 0;
    border: 0;
    border-radius: 9999px;
    background: transparent;
    color: var(--fp-ink) !important;
    cursor: pointer;
    text-decoration: none !important;
    transition: background-color 0.15s;
}

.fp-icon-btn:hover {
    background-color: var(--fp-mist);
}

.fp-input {
    min-height: 2.75rem;
    padding: 0 1rem;
    border: 1px solid rgb(47 47 47 / 0.4);
    border-radius: 0.5rem;
    background: #fff;
    color: var(--fp-ink);
    font-family: var(--fp-font-sans);
    font-size: 0.875rem;
}

.fp-input::placeholder {
    color: var(--fp-muted);
}

.fp-input:focus {
    border-color: var(--fp-ink);
    outline: none;
}

.fp-input[aria-invalid='true'] {
    border-color: var(--fp-status-rejected);
}

/* ---------- Header ---------- */
.fp-header {
    position: -webkit-sticky;
    position: sticky;
    top: 0;
    z-index: 1030;
    width: 100%;
    margin: 0;
    padding: 0;
    border-bottom: 1px solid rgb(217 217 217 / 0.6);
    background-color: rgb(255 255 255 / 0.95);
    font-family: var(--fp-font-sans);
}

@supports ((-webkit-backdrop-filter: blur(1px)) or (backdrop-filter: blur(1px))) {
    .fp-header {
        background-color: rgb(255 255 255 / 0.85);
        -webkit-backdrop-filter: blur(8px);
        backdrop-filter: blur(8px);
    }
}

.fp-header__bar {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    height: var(--fp-header-h);
    padding: 0 1rem;
}

@media (min-width: 992px) {
    .fp-header__bar {
        padding: 0 1.5rem;
    }
}

.fp-header__logo {
    margin: 0 auto;
    color: var(--fp-ink) !important;
    font-size: 1.75rem;
    text-decoration: none !important;
}

/* Hover changes nothing but the colour: a margin here would move the logo out from under the pointer. */
.fp-header__logo:hover,
.fp-header__logo:focus {
    color: var(--fp-ink) !important;
    text-decoration: none !important;
}

@media (min-width: 768px) {
    .fp-header__logo {
        margin: 0;
        font-size: 2rem;
    }
}

/* FAME+ wordmark: the crossbar-less "A" is drawn with Λ, matching the brand mark in Montserrat. */
.fp-logo {
    display: inline-block;
    font-family: var(--fp-font-sans);
    font-weight: 500;
    letter-spacing: -0.025em;
    line-height: 1;
}

.fp-nav {
    display: none;
    height: 100%;
}

.fp-nav__list {
    display: flex;
    align-items: stretch;
    height: 100%;
    margin: 0;
    padding: 0;
    list-style: none;
}

.fp-nav__item {
    display: flex;
}

.fp-nav__link,
.fp-nav__link:visited {
    display: flex;
    align-items: center;
    padding: 0 0.625rem;
    border: 0;
    background: transparent;
    color: var(--fp-ink) !important;
    font-family: var(--fp-font-sans);
    font-size: 0.8125rem;
    font-weight: 600;
    white-space: nowrap;
    text-decoration: none !important;
    cursor: pointer;
    transition: background-color 0.15s;
}

.fp-nav__link:hover {
    background-color: var(--fp-mist);
}

.fp-nav__link.is-open {
    background-color: var(--fp-panel);
}

.fp-nav__link.is-current {
    text-decoration: underline !important;
    text-decoration-thickness: 2px !important;
    text-underline-offset: 8px;
}

@media (min-width: 1360px) {
    .fp-nav__link {
        padding: 0 1rem;
    }
}

.fp-header__actions {
    display: none;
    align-items: center;
    gap: 0.25rem;
    margin-left: auto;
}

@media (min-width: 768px) {
    .fp-header__actions {
        display: flex;
    }
}

.fp-header__auth {
    display: none;
    align-items: center;
    gap: 0.5rem;
    margin-left: 0.5rem;
    white-space: nowrap;
}

.fp-show-desk {
    display: none !important;
}

/* Desktop navigation: 1280px and wider. */
@media (min-width: 1280px) {
    .fp-nav {
        display: block;
    }

    .fp-header__auth {
        display: flex;
    }

    .fp-hide-desk {
        display: none !important;
    }

    .fp-show-desk {
        display: inline-grid !important;
    }
}

/* ---------- Mega menus (desktop) ---------- */
.fp-mega {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    border-bottom: 1px solid var(--fp-line);
    background-color: var(--fp-panel);
    box-shadow: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
    animation: fp-fade 0.15s ease-out;
}

@media (max-width: 1279.98px) {
    .fp-mega {
        display: none !important;
    }
}

.fp-mega__inner {
    position: relative;
    max-width: 72rem;
    margin: 0 auto;
    padding: 2.5rem;
}

.fp-mega__grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 2.5rem;
    /* Room for the close button in the bottom-right corner. */
    padding-right: 3.5rem;
}

.fp-mega__grid--catalogue {
    grid-template-columns: 1fr 3fr;
}

.fp-mega__heading {
    margin: 0 0 0.75rem;
    color: var(--fp-ink);
    font-size: 1rem;
    font-weight: 700;
}

.fp-mega__links {
    display: grid;
    gap: 0.625rem;
    margin: 0;
    padding: 0;
    list-style: none;
    font-size: 0.9375rem;
    font-weight: 500;
}

.fp-mega__links--3col {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    column-gap: 2.5rem;
}

.fp-mega__links a,
.fp-mega__links a:visited {
    color: var(--fp-ink) !important;
    text-decoration: none;
}

.fp-mega__links a:hover {
    text-decoration: underline;
}

.fp-mega__close {
    position: absolute;
    right: 1.5rem;
    bottom: 1.5rem;
    display: grid;
    place-items: center;
    width: 2.75rem;
    height: 2.75rem;
    border: 0;
    border-radius: 0.5rem;
    background-color: var(--fp-muted);
    color: var(--fp-on-dark);
    cursor: pointer;
}

.fp-mega__close:hover {
    background-color: var(--fp-ink);
}

/* ---------- Overlays (search, language, menu sheet) ---------- */
.fp-overlay {
    color: var(--fp-ink);
    font-family: var(--fp-font-sans);
    position: fixed;
    inset: 0;
    z-index: 1060;
    background-color: rgb(47 47 47 / 0.5);
    animation: fp-fade 0.15s ease-out;
}

.fp-search__form {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin: 0;
    padding: 0.75rem;
    background: #fff;
    box-shadow: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
}

@media (min-width: 768px) {
    .fp-search__form {
        max-width: 42rem;
        margin: 6rem auto 0;
        padding: 1rem;
        border-radius: 1rem;
    }
}

.fp-search__icon {
    margin-left: 0.25rem;
    color: var(--fp-muted);
}

/* typeahead.js wraps the input in a span. */
.fp-search .twitter-typeahead {
    display: block !important;
    flex: 1 1 auto;
    min-width: 0;
}

.fp-search__input {
    width: 100%;
    min-width: 0;
    padding: 0.5rem 0;
    border: 0;
    background: transparent !important;
    color: var(--fp-ink);
    font-family: var(--fp-font-sans);
    font-size: 1rem;
    outline: none;
    box-shadow: none;
}

.fp-search__input::placeholder {
    color: var(--fp-muted);
}

.fp-search .tt-menu {
    width: 100%;
    margin-top: 0.75rem;
    border-radius: var(--fp-radius-card);
    box-shadow: var(--fp-shadow-card);
}

/* Menu sheet: phones and tablets. Sits under the bottom bar so its Menu button stays usable. */
.fp-sheet-backdrop {
    z-index: 1040;
    background-color: rgb(47 47 47 / 0.4);
}

.fp-sheet {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 4rem;
    max-height: calc(100vh - 8rem);
    max-height: calc(100dvh - 8rem);
    overflow-y: auto;
    padding: 0.75rem 1rem 1rem;
    border: 1px solid var(--fp-line);
    border-radius: 1rem 1rem 0 0;
    background-color: var(--fp-snow);
    box-shadow: 0 25px 50px -12px rgb(0 0 0 / 0.25);
    animation: fp-slide-up 0.2s ease-out;
}

@media (min-width: 768px) {
    .fp-sheet {
        bottom: 0;
        max-height: 80vh;
        max-height: 80dvh;
    }
}

@media (min-width: 1280px) {
    #fp-menu {
        display: none !important;
    }
}

.fp-sheet__grip {
    width: 2.5rem;
    height: 0.25rem;
    margin: 0 auto 0.5rem;
    border-radius: 9999px;
    background-color: var(--fp-stone);
}

.fp-sheet__list {
    margin: 0;
    padding: 0;
    list-style: none;
    font-size: 0.8125rem;
    font-weight: 600;
    text-transform: uppercase;
}

.fp-sheet__list > li + li {
    border-top: 1px solid var(--fp-line);
}

.fp-sheet__link,
.fp-sheet__link:visited {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 0.875rem 0;
    border: 0;
    background: transparent;
    color: var(--fp-ink) !important;
    font: inherit;
    text-align: left;
    text-transform: uppercase;
    text-decoration: none !important;
    cursor: pointer;
}

.fp-sheet__chevron {
    transition: transform 0.15s;
}

[aria-expanded='true'] > .fp-sheet__chevron {
    transform: rotate(180deg);
}

.fp-sheet__panel {
    padding-bottom: 0.75rem;
    text-transform: none;
}

.fp-sheet__heading {
    margin: 0.5rem 0 0;
    padding-left: 0.75rem;
    font-size: 0.875rem;
    font-weight: 600;
}

.fp-sheet__sublinks {
    margin: 0;
    padding: 0 0 0 0.75rem;
    list-style: none;
    font-size: 0.875rem;
    font-weight: 500;
}

.fp-sheet__sublinks.fp-indent {
    padding-left: 1.5rem;
}

.fp-sheet__sublinks .fp-indent {
    padding-left: 0.75rem;
}

.fp-sheet__sublinks a,
.fp-sheet__sublinks a:visited {
    display: block;
    padding: 0.375rem 0;
    color: var(--fp-ink) !important;
    text-decoration: none;
}

.fp-sheet__auth {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.5rem;
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid var(--fp-line);
}

/* ---------- Phone bottom bar ---------- */
.fp-bottombar {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1050;
    padding-bottom: env(safe-area-inset-bottom);
    border-top: 1px solid var(--fp-line);
    background: #fff;
}

.fp-bottombar ul {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    height: 4rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

.fp-bottombar a,
.fp-bottombar button {
    display: grid;
    place-items: center;
    width: 100%;
    height: 100%;
    padding: 0;
    border: 0;
    background: transparent;
    color: var(--fp-ink) !important;
    cursor: pointer;
    transition: background-color 0.15s, color 0.15s;
}

.fp-bottombar .fp-icon {
    width: 1.5rem;
    height: 1.5rem;
}

.fp-bottombar__close,
body.fp-menu-open .fp-bottombar__open {
    display: none;
}

body.fp-menu-open .fp-bottombar__close {
    display: block;
}

body.fp-menu-open .fp-bottombar__menu {
    background-color: var(--fp-ink);
    color: var(--fp-on-dark) !important;
}

@media (max-width: 767.98px) {
    /* Room for the bottom bar, and lift fixed page widgets above it. */
    body {
        padding-bottom: 4rem;
    }

    .scrolltotop {
        bottom: 5rem !important;
    }

    .cookie-holder {
        bottom: 4rem !important;
    }
}

@media (min-width: 768px) {
    .fp-bottombar {
        display: none;
    }
}

/* ---------- Footer ---------- */
.fp-footer {
    margin: 0;
    padding: 0;
    border-top: 1px solid rgb(217 217 217 / 0.6);
    background-color: var(--fp-snow);
    color: var(--fp-ink);
    font-family: var(--fp-font-sans);
    text-align: left;
}

.fp-footer__inner {
    display: grid;
    gap: 2.5rem;
    width: 100%;
    max-width: 1800px;
    margin: 0 auto;
    padding: 3rem 1rem;
}

@media (min-width: 576px) {
    .fp-footer__inner {
        padding-left: 1.5rem;
        padding-right: 1.5rem;
    }
}

@media (min-width: 768px) {
    .fp-footer__inner {
        grid-template-columns: repeat(12, minmax(0, 1fr));
    }

    .fp-footer__main {
        grid-column: span 7 / span 7;
    }

    .fp-footer__links {
        grid-column: span 5 / span 5;
    }
}

@media (min-width: 992px) {
    .fp-footer__inner {
        padding: 3.5rem 2.5rem;
    }

    .fp-footer__main {
        grid-column: span 6 / span 6;
    }

    .fp-footer__links {
        grid-column: 8 / span 5;
    }
}

@media (min-width: 1536px) {
    .fp-footer__inner {
        padding-left: 3rem;
        padding-right: 3rem;
    }
}

.fp-footer a,
.fp-footer a:visited {
    color: var(--fp-ink);
}

.fp-footer p {
    font-size: inherit;
}

.fp-newsletter__title {
    margin: 0;
    color: var(--fp-ink);
    font-family: var(--fp-font-sans);
    font-size: 1.5rem;
    font-weight: 700;
}

.fp-newsletter__text {
    margin: 0.5rem 0 0;
    font-size: 0.875rem !important;
}

.fp-newsletter__form {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin: 1rem 0 0;
}

.fp-newsletter__form .fp-input {
    flex: 1 1 auto;
}

.fp-newsletter__form .fp-btn {
    min-height: 2.75rem;
    padding: 0 2rem;
    border-radius: 0.5rem;
}

@media (min-width: 576px) {
    .fp-newsletter__form {
        flex-direction: row;
    }
}

.fp-newsletter__status {
    margin: 1rem 0 0;
    padding: 0.75rem 1rem;
    border-radius: 0.5rem;
    background-color: rgb(140 170 11 / 0.15);
    font-size: 0.875rem !important;
    font-weight: 500;
}

.fp-newsletter__status.is-error {
    background-color: rgb(204 56 8 / 0.1);
    color: var(--fp-status-rejected);
}

.fp-footer__label {
    margin: 2rem 0 0.75rem;
    font-size: 0.75rem !important;
    font-weight: 600;
}

.fp-footer__social {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

.fp-footer__social .fp-icon-btn {
    width: 2.25rem;
    height: 2.25rem;
}

.fp-footer__agencies {
    display: flex;
    align-items: center;
}

.fp-footer__dti {
    height: 40px;
    margin-right: 14px;
    padding-right: 14px;
    border-right: 2px solid #a2a2a2;
}

.fp-footer__citem {
    height: 32px;
}

.fp-footer__brands {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.75rem 1.75rem;
    margin: 0;
    padding: 0;
    list-style: none;
    color: var(--fp-ink);
}

.fp-footer__brand-fame {
    font-size: 1.5rem;
}

.fp-footer__brand-mf {
    padding: 0 0.25rem;
    background-color: var(--fp-ink);
    color: var(--fp-on-dark);
    font-size: 0.8125rem;
    font-weight: 700;
    line-height: 1.05;
    text-transform: uppercase;
}

.fp-footer__brand-ph {
    font-size: 0.8125rem;
    font-weight: 700;
    line-height: 1.05;
}

.fp-footer__brand-ph span {
    font-size: 1.125rem;
}

.fp-footer__links {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-content: start;
    gap: 2rem;
}

.fp-footer__heading {
    margin: 0 0 0.75rem;
    font-size: 0.875rem !important;
    font-weight: 700;
}

.fp-footer__links ul {
    display: grid;
    gap: 0.625rem;
    margin: 0;
    padding: 0;
    list-style: none;
    font-size: 0.8125rem;
    font-weight: 500;
}

.fp-footer__links a {
    text-decoration: none;
}

.fp-footer__links a:hover {
    text-decoration: underline;
}

.fp-footer__copy {
    grid-column: span 2 / span 2;
    margin: 0;
    font-size: 0.75rem !important;
    font-weight: 600;
}

/* ---------- Motion ---------- */
@keyframes fp-fade {
    from {
        opacity: 0;
    }
}

@keyframes fp-slide-up {
    from {
        transform: translateY(100%);
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        scroll-behavior: auto !important;
        transition-duration: 0.01ms !important;
    }
}

/* ---------- Accessibility & language panel (FAME+ v2) ---------- */
.fp-a11y-backdrop {
    background-color: rgb(47 47 47 / 0.4);
}

.fp-a11y {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    max-height: 90vh;
    max-height: 90dvh;
    overflow-y: auto;
    overscroll-behavior: contain;
    border-radius: 1rem 1rem 0 0;
    background: #fff;
    color: var(--fp-ink);
    box-shadow: 0 25px 50px -12px rgb(0 0 0 / 0.25);
    animation: fp-slide-up 0.2s ease-out;
}

@media (min-width: 768px) {
    .fp-a11y {
        top: 5rem;
        right: 1.5rem;
        bottom: auto;
        left: auto;
        width: 26rem;
        max-height: calc(100vh - 6rem);
        max-height: calc(100dvh - 6rem);
        border-radius: 1rem;
        animation: fp-fade 0.15s ease-out;
    }
}

.fp-a11y__head {
    position: sticky;
    top: 0;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 1.25rem;
    border-bottom: 1px solid var(--fp-line);
    background: #fff;
}

.fp-a11y__head h2 {
    margin: 0;
    font-size: 1.125rem;
    font-weight: 700;
}

.fp-a11y__head .fp-icon-btn {
    width: 2.75rem;
    height: 2.75rem;
}

.fp-a11y__body {
    display: grid;
    gap: 1.5rem;
    padding: 1.25rem 1.25rem 1.5rem;
}

.fp-a11y__body section {
    display: grid;
    gap: 1rem;
}

.fp-a11y__heading {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin: 0 !important;
    font-size: 0.75rem !important;
    font-weight: 700 !important;
    letter-spacing: 0.025em;
    text-transform: uppercase !important;
}

.fp-a11y__select {
    width: 100%;
    height: 3rem;
    padding: 0 0.75rem;
    border: 1px solid rgb(47 47 47 / 0.4);
    border-radius: 0.5rem;
    background: #fff;
    color: var(--fp-ink);
    font-family: var(--fp-font-sans);
    font-size: 1rem;
}

.fp-a11y p.fp-a11y__note {
    margin: -0.5rem 0 0;
    color: var(--fp-muted);
    font-size: 0.75rem;
    line-height: 1.5;
}

.fp-a11y p.fp-a11y__note.is-error {
    color: var(--fp-status-rejected);
}

.fp-a11y__fallback {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    margin-top: -0.5rem;
    color: var(--fp-ink) !important;
    font-size: 0.75rem;
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 4px;
}

.fp-a11y__wide {
    width: 100%;
    min-height: 3rem;
    font-size: 0.875rem;
    text-transform: none;
    letter-spacing: 0;
}

.fp-a11y__group {
    margin: 0;
    padding: 0;
    border: 0;
}

.fp-a11y__group legend {
    margin-bottom: 0.375rem;
    padding: 0;
    font-size: 0.875rem;
    font-weight: 600;
}

.fp-a11y__options {
    display: flex;
    gap: 0.5rem;
}

.fp-a11y__options .fp-btn {
    flex: 1 1 0;
    min-height: 2.75rem;
    padding: 0 0.5rem;
    font-size: 0.75rem;
    text-transform: none;
    letter-spacing: 0;
}

.fp-a11y [hidden] {
    display: none !important;
}

.fp-stop-reading {
    position: fixed;
    right: 1rem;
    bottom: 5rem;
    z-index: 1055;
    min-height: 3rem;
    box-shadow: var(--fp-shadow-card);
}

.fp-stop-reading[hidden] {
    display: none !important;
}

@media (min-width: 1024px) {
    .fp-stop-reading {
        bottom: 1.5rem;
    }
}

/* ---------- Display settings (data attributes on <html>) ---------- */
/* Text size: the new pages are sized in rem, so they scale with the root font size. */
html[data-text-size='large'] {
    font-size: 112.5%;
}

html[data-text-size='larger'] {
    font-size: 125%;
}

html[data-text-size='largest'] {
    font-size: 150%;
}

/* Larger text: the desktop header switches to its compact layout so the menu doesn't overflow. */
@media (min-width: 1280px) and (max-width: 1919.98px) {
    html:is([data-text-size='larger'], [data-text-size='largest']) .fp-nav,
    html:is([data-text-size='larger'], [data-text-size='largest']) .fp-header__auth {
        display: none !important;
    }

    html:is([data-text-size='larger'], [data-text-size='largest']) .fp-hide-desk {
        display: inline-grid !important;
    }

    html:is([data-text-size='larger'], [data-text-size='largest']) #fp-menu:not([hidden]) {
        display: block !important;
    }

    html:is([data-text-size='larger'], [data-text-size='largest']) .fp-mega {
        display: none !important;
    }
}

/* High contrast */
html[data-contrast='high'] {
    --fp-ink: #000000;
    --fp-muted: #1a1a1a;
    --fp-line: #000000;
    --fp-panel: #eeeeee;
    --fp-snow: #ffffff;
    --fp-stone: #c4c3bf;
    --fp-status-approved: #4d6106;
    --fp-status-rejected: #a32d06;
    --fp-shadow-card: 0 0 0 1px #000000;
}

html[data-contrast='high'] :focus-visible {
    outline: 3px solid #000000;
    outline-offset: 2px;
    box-shadow: 0 0 0 5px #ffffff;
}

html[data-contrast='high'] .fp-btn--primary:hover {
    border-color: #000000;
    background-color: #ffffff;
    color: #000000 !important;
}

html[data-contrast='high'] .fp-btn--secondary {
    border-color: #000000;
    background-color: #ffffff;
}

html[data-contrast='high'] :is(.fp-btn--ghost, .fp-btn--secondary):hover {
    background-color: #000000;
    color: #ffffff !important;
}

html[data-contrast='high'] :is(input, select, textarea) {
    border-color: #000000 !important;
}

html[data-contrast='high'] #fp-main a:not(.fp-btn, .fp-overlay-card, .fp-frosted-card) {
    text-decoration-line: underline;
    text-underline-offset: 3px;
}

/* Highlight links and buttons */
html[data-links='highlight'] a:not(.fp-btn, .btn) {
    text-decoration-line: underline !important;
    text-decoration-thickness: 2px;
    text-underline-offset: 3px;
}

html[data-links='highlight'] a:hover,
html[data-links='highlight'] button:hover {
    outline: 2px dashed currentColor;
    outline-offset: 2px;
}

/* Easy-to-read font: widely installed, open letter shapes. */
html[data-font='readable'] body,
html[data-font='readable'] body * {
    font-family: Verdana, Tahoma, 'Segoe UI', Arial, sans-serif !important;
}

html[data-font='readable'] .fp-logo {
    font-family: var(--fp-font-sans) !important;
}

/* Wider text spacing (WCAG 1.4.12 values). */
html[data-spacing='wide'] body * {
    letter-spacing: 0.08em !important;
    word-spacing: 0.16em !important;
}

html[data-spacing='wide'] :is(p, li, dd, dt, blockquote, label) {
    line-height: 1.8 !important;
}

html[data-spacing='wide'] p {
    margin-bottom: 1em;
}

/* Large mouse pointer */
html[data-cursor='large'],
html[data-cursor='large'] * {
    cursor: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='40' height='40' viewBox='0 0 24 24'%3E%3Cpath d='M4 2l15 11.5-6.5 1 4 7.5-3 1.5-4-7.5L4 21z' fill='%23000' stroke='%23fff' stroke-width='1.5' stroke-linejoin='round'/%3E%3C/svg%3E") 6 3, auto !important;
}

html[data-cursor='large'] :is(a, button, [role='button'], label, select, summary),
html[data-cursor='large'] :is(a, button, [role='button'], label, select, summary) * {
    cursor: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='40' height='40' viewBox='0 0 24 24'%3E%3Cpath d='M9 11V4.5a1.5 1.5 0 0 1 3 0V10l1-.2a1.5 1.5 0 0 1 3 .3l1-.1a1.5 1.5 0 0 1 3 .5V16a6 6 0 0 1-6 6h-1.5a6 6 0 0 1-5-2.7L4.3 15a1.6 1.6 0 0 1 2.5-2L9 15z' fill='%23000' stroke='%23fff' stroke-width='1.5' stroke-linejoin='round'/%3E%3C/svg%3E") 14 3, pointer !important;
}

/* Reduced animations */
html[data-motion='reduced'] *,
html[data-motion='reduced'] *::before,
html[data-motion='reduced'] *::after {
    animation-duration: 0.01ms !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
}

/* ---------- Google Translate: keep its toolbar, tooltips and highlights out of the design ---------- */
body > .skiptranslate,
.goog-te-banner-frame,
#goog-gt-tt,
.goog-te-balloon-frame,
.VIpgJd-ZVi9od-ORHb-OEVmcd,
.VIpgJd-ZVi9od-aZ2wEe-wOHMyf {
    display: none !important;
}

body {
    top: 0 !important;
}

.goog-text-highlight,
font[style*='background-color'] {
    background: none !important;
    box-shadow: none !important;
}
