/**
 * Amplify FA sign-in.
 *
 * NOTE ON SPECIFICITY: form-control rules are scoped under `.amp-fa-login`
 * rather than left as bare classes. hello-elementor's reset.css carries
 *   [type="button"], [type="submit"], button { background:transparent;
 *     color:#CC3366; border-radius:3px; font-size:1rem }
 * Attribute selectors are class-level specificity, so a bare `.amp-fa-btn` ties
 * with it and loses on source order — the theme reset loads later. The extra
 * ancestor wins outright, independent of enqueue order.
 *
 * Values below are MEASURED off amplifyetfs.com, not approximated — Jennifer
 * will compare this against the live site. Colors and type come from the
 * Elementor kit variables so a rebrand carries automatically; the fallbacks are
 * the current measured values.
 *
 *   Primary CTA   bg #30F2BB (--e-global-color-2c81742), text #152F41,
 *                 radius 0, padding 10px 30px, GT America 15px/400
 *   Headings      GT America 600, UPPERCASE, letter-spacing .5px
 *   Body copy     GT America 300, 16px
 *   Navy #152F41 · Cyan #00AEEF · Blue #0080F5
 */

.amp-fa-login,
.amp-fa-core {
    --fa-navy: var(--e-global-color-primary, #152F41);
    --fa-cyan: var(--e-global-color-secondary, #00AEEF);
    --fa-blue: var(--e-global-color-09cd35e, #0080F5);
    --fa-mint: var(--e-global-color-2c81742, #30F2BB);
    --fa-grey: var(--e-global-color-f150f45, #F4F4F4);
    --fa-rule: var(--e-global-color-1ea5a14, #C0C9D8);

    --fa-ui: var(--e-global-typography-text-font-family, "GT America"), system-ui, sans-serif;
}

/* The shortcode's wrapper carries no layout of its own — it must sit quietly
   inside whatever Elementor box the editor designed. It only needs the type. */
.amp-fa-core { font-family: var(--fa-ui); }

.amp-fa-login {
    font-family: var(--fa-ui);
    display: flex;
    justify-content: center;
    padding: clamp(2.5rem, 6vw, 5rem) 1.25rem;
    background: var(--fa-grey);
}

.amp-fa-card {
    width: 100%;
    max-width: 470px;
    background: #fff;
    border-top: 4px solid var(--fa-cyan);
    box-shadow: 0 2px 24px rgba(21, 47, 65, .10);
    padding: clamp(2rem, 4vw, 2.75rem);
}

/* Logo — the site's own asset. Header renders it 280x75; scaled down here so
   the card reads as a panel within the page, not a second header. */
.amp-fa-card__logo {
    display: block;
    width: 176px;
    height: auto;
    margin: 0 0 1.75rem;
}

.amp-fa-card__eyebrow {
    font-size: .75rem;
    font-weight: 600;
    letter-spacing: .5px;
    text-transform: uppercase;
    color: var(--fa-blue);
    margin: 0 0 .55rem;
}

/* Matches the site's heading convention exactly: GT America 600, uppercase,
   .5px tracking. The site does NOT set headings in a serif outside hero art. */
.amp-fa-card__title {
    font-family: var(--fa-ui);
    font-weight: 600;
    font-size: 1.5rem;
    letter-spacing: .5px;
    text-transform: uppercase;
    line-height: 1.25;
    color: var(--fa-navy);
    margin: 0 0 .75rem;
}

.amp-fa-card__intro {
    font-size: 1rem;
    font-weight: 300;          /* site body copy is 300, not 400 */
    line-height: 1.6;
    color: #3d4d5a;
    margin: 0 0 1.75rem;
}

/* --- Actions --- */

.amp-fa-providers { display: grid; gap: .6rem; }

:is(.amp-fa-login, .amp-fa-core) .amp-fa-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: .6rem;
    width: 100%;
    padding: 13px 30px;        /* site CTA is 10px 30px; taller for a tap target */
    font-family: var(--fa-ui);
    font-size: 15px;
    font-weight: 400;
    line-height: 1.2;
    border: 1px solid transparent;
    border-radius: 0;          /* the kit is square — measured 0px */
    cursor: pointer;
    transition: background .15s, border-color .15s, color .15s;
}

:is(.amp-fa-login, .amp-fa-core) .amp-fa-btn:focus-visible {
    outline: 2px solid var(--fa-cyan);
    outline-offset: 2px;
}

:is(.amp-fa-login, .amp-fa-core) .amp-fa-btn:disabled { opacity: .55; cursor: not-allowed; }

/* Primary = the site's mint CTA with navy text. */
:is(.amp-fa-login, .amp-fa-core) .amp-fa-btn--primary {
    background: var(--fa-mint);
    border-color: var(--fa-mint);
    color: var(--fa-navy);
}
:is(.amp-fa-login, .amp-fa-core) .amp-fa-btn--primary:hover:not(:disabled) { background: #24d9a5; border-color: #24d9a5; }

/* Secondary = outlined navy. */
:is(.amp-fa-login, .amp-fa-core) .amp-fa-btn--secondary {
    background: #fff;
    border-color: var(--fa-navy);
    color: var(--fa-navy);
}
:is(.amp-fa-login, .amp-fa-core) .amp-fa-btn--secondary:hover:not(:disabled) { background: var(--fa-navy); color: #fff; }

:is(.amp-fa-login, .amp-fa-core) .amp-fa-btn__icon { width: 18px; height: 18px; flex: none; }

/* --- Email sign-in (the only method) --- */

.amp-fa-field { display: grid; gap: .5rem; }

.amp-fa-label {
    font-size: .75rem;
    font-weight: 600;
    letter-spacing: .5px;
    text-transform: uppercase;
    color: var(--fa-navy);
}

:is(.amp-fa-login, .amp-fa-core) .amp-fa-input {
    width: 100%;
    padding: 12px 14px;
    font-family: var(--fa-ui);
    font-size: 15px;
    font-weight: 300;
    color: var(--fa-navy);
    background: #fff;
    border: 1px solid var(--fa-rule);
    border-radius: 0;
}
:is(.amp-fa-login, .amp-fa-core) .amp-fa-input:focus {
    outline: none;
    border-color: var(--fa-cyan);
    box-shadow: 0 0 0 3px rgba(0, 174, 239, .15);
}

/* --- Messaging --- */

.amp-fa-msg {
    margin-top: 1.25rem;
    padding: .85rem 1rem;
    font-size: .9rem;
    font-weight: 300;
    line-height: 1.55;
    border-left: 3px solid;
}
.amp-fa-msg[hidden] { display: none; }
.amp-fa-msg--error { border-color: #c0392b; background: #fdf3f2; color: #7d2820; }
.amp-fa-msg--info  { border-color: var(--fa-cyan, #00AEEF); background: #f0fbff; color: #10465c; }
.amp-fa-msg a { color: var(--fa-blue, #0080F5); }

/* The link-sent confirmation: a state, not a notice. Mint panel with an icon
   and headline so the hand-off to the inbox is unmistakable. */
.amp-fa-msg--sent {
    display: grid;
    grid-template-columns: auto 1fr;
    column-gap: .85rem;
    row-gap: .2rem;
    align-items: start;
    padding: 1.05rem 1.15rem;
    border: 1px solid var(--fa-mint, #30F2BB);
    border-left: 3px solid var(--fa-mint, #30F2BB);
    background: #edfcf6;
    color: var(--fa-navy, #152F41);
}
.amp-fa-msg__icon {
    grid-row: 1 / span 2;
    padding-top: .1rem;
    font-size: 1.3rem;
    line-height: 1;
    color: #0e9e77;
}
.amp-fa-msg__title {
    font-weight: 600;
    font-size: .9rem;
    letter-spacing: .5px;
    text-transform: uppercase;
}
.amp-fa-msg__body { font-weight: 300; }

/* The emailed link's "Continue to sign in" step (fa-login.js showContinue): the info message holds a
   title, a sentence and the Continue button. Inline spans ran the title into the sentence
   ("CONTINUE TO SIGN INSelect Continue…", Bob/Mike 2026-11-10), so each part gets its own line. */
.amp-fa-msg--info .amp-fa-msg__title,
.amp-fa-msg--info .amp-fa-msg__body { display: block; }
.amp-fa-msg--info .amp-fa-msg__title { margin-bottom: .3rem; }
.amp-fa-msg--info .amp-fa-btn { margin-top: 1rem; }

/* The theme's default link colour (#CC3366) is not in Amplify's palette —
   pin card links to the brand blue. */
.amp-fa-login .amp-fa-foot a,
:is(.amp-fa-login, .amp-fa-core) .amp-fa-msg a { color: var(--fa-blue); }

.amp-fa-foot {
    margin-top: 1.75rem;
    padding-top: 1.25rem;
    border-top: 1px solid var(--fa-rule);
    font-size: .8rem;
    font-weight: 300;
    line-height: 1.6;
    color: #6b7a86;
}

/* --- Pending state --- */

:is(.amp-fa-login, .amp-fa-core) .amp-fa-btn[aria-busy="true"] { position: relative; color: transparent; }
:is(.amp-fa-login, .amp-fa-core) .amp-fa-btn[aria-busy="true"]::after {
    content: "";
    position: absolute;
    inset: 0;
    margin: auto;
    width: 16px; height: 16px;
    border: 2px solid var(--fa-navy);
    border-top-color: transparent;
    border-radius: 50%;
    animation: amp-fa-spin .7s linear infinite;
}
@keyframes amp-fa-spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) {
    :is(.amp-fa-login, .amp-fa-core) .amp-fa-btn[aria-busy="true"]::after { animation: none; }
}

/* ---------------------------------------------------------------------------
   FA disclosure + lock teaser
   Loaded site-wide (not just on the login page) because gated blocks appear on
   fund pages. Kept in this file so there is one stylesheet to enqueue.
   --------------------------------------------------------------------------- */

.amp-fa-disclosure {
    --fa-navy: var(--e-global-color-primary, #152F41);
    --fa-rule: var(--e-global-color-1ea5a14, #C0C9D8);
    --fa-ui: var(--e-global-typography-text-font-family, "GT America"), system-ui, sans-serif;

    margin: 2.5rem 0 0;
    padding: 1.25rem 0 0;
    border-top: 1px solid var(--fa-rule);
    font-family: var(--fa-ui);
}

/* The legend is a required notice, not decoration — uppercase and weighted so
   it reads as a legend, matching the site's heading convention (600, .5px). */
.amp-fa-disclosure__legend {
    margin: 0 0 .6rem;
    font-size: .8rem;
    font-weight: 600;
    letter-spacing: .5px;
    text-transform: uppercase;
    color: var(--fa-navy);
}

/* Body matches the site's own footer disclosure treatment exactly:
   GT America 16px / 24px line-height, weight 300. */
.amp-fa-disclosure__body {
    margin: 0;
    font-size: 16px;
    font-weight: 300;
    line-height: 24px;
    color: #000;
}

.amp-fa-disclosure-wrap {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 32px 2.5rem;
}

/* The the_content append (class-disclosure.php). On an Elementor page it lands
   in .page-content, outside every boxed container, so it ran to the window
   edge. Match the site's boxed width (1280px, 20px gutters), as the replay
   pages do. Layout only: the legend and body text styles above are unchanged. */
.page-content > .amp-fa-disclosure {
    width: calc(100% - 40px);
    max-width: 1280px;
    margin: 2.5rem auto;
}

/* --- Signed-in bar (replaces the WP admin bar for advisors) ---
   Sits ABOVE the site header in normal flow (wp_body_open), full width. */

.amp-fa-bar {
    --fa-navy: var(--e-global-color-primary, #152F41);
    --fa-mint: var(--e-global-color-2c81742, #30F2BB);
    --fa-ui: var(--e-global-typography-text-font-family, "GT America"), system-ui, sans-serif;
    --fa-bar-bg: #0280F5;

    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: .75rem;
    padding: 7px 24px;
    background: var(--fa-bar-bg);
    color: #fff;
    font-family: var(--fa-ui);
    font-size: 13px;
    font-weight: 400;
    line-height: 1.2;
}

.amp-fa-bar__who {
    display: flex;
    align-items: center;
    gap: .55rem;
    min-width: 0;
}

.amp-fa-bar__dot {
    width: 8px; height: 8px; flex: none;
    border-radius: 50%;
    background: var(--fa-mint);
}

.amp-fa-bar__hello {
    font-weight: 500;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* Doubled-up selector on purpose: the Elementor kit styles bare `a` at
   class+element specificity, which beats a single class and turned the pill
   text kit-blue on a blue bar. Same fight the login card documents. */
.amp-fa-bar a.amp-fa-bar__out {
    flex: none;
    padding: 4px 14px;
    border-radius: 999px;
    background: #fff;
    color: var(--fa-bar-bg);
    font-weight: 500;
    text-decoration: none;
    white-space: nowrap;
    transition: background .15s, color .15s;
}
.amp-fa-bar a.amp-fa-bar__out:hover,
.amp-fa-bar a.amp-fa-bar__out:focus-visible { background: var(--fa-navy); color: #fff; }

@media (max-width: 640px) {
    .amp-fa-bar { padding: 7px 16px; justify-content: space-between; }
}

/* --- Lock teaser (public view of gated material) --- */

/* --- Sign-in invite strip (anonymous visitors, all public pages) --- */

.amp-fa-invite {
    --fa-navy: var(--e-global-color-primary, #152F41);
    --fa-blue: var(--e-global-color-09cd35e, #0080F5);
    --fa-ui: var(--e-global-typography-text-font-family, "GT America"), system-ui, sans-serif;

    display: flex;
    justify-content: flex-end;
    padding: 6px 24px;
    background: var(--e-global-color-f150f45, #F4F4F4);
    font-family: var(--fa-ui);
    font-size: 13px;
    line-height: 1.2;
}

/* The site's CTA language: mint fill, navy text, square corners (kit radius
   is 0). Doubled selector — the kit styles bare `a` at class+element
   specificity. */
.amp-fa-invite a.amp-fa-invite__link {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 7px 16px;
    background: var(--fa-blue, #0080F5);
    border-radius: 0;
    color: #fff;
    font-weight: 500;
    text-decoration: none;
    transition: background .15s, color .15s;
}
.amp-fa-invite a.amp-fa-invite__link:hover,
.amp-fa-invite a.amp-fa-invite__link:focus-visible {
    background: var(--e-global-color-2c81742, #30F2BB);
    color: var(--fa-navy);
    text-decoration: none;
}

.amp-fa-invite__icon { flex: none; }

@media (max-width: 640px) {
    .amp-fa-invite { padding: 6px 16px; }
}

/* The inline lock beside a gated document's name (UC List widget template,
   fund pages). !important on the size because each widget instance carries
   `#uc_list_… i { font-size:20px }` — an ID selector nothing class-based can
   outrank. The title is a flex row, so margin-left is a clean 10px gap. */
.ue-list-item-title .ue-fa-lock-inline {
    font-size: 18px !important;
    margin-left: 5px;
}

.amp-fa-locked {
    --fa-navy: var(--e-global-color-primary, #152F41);
    --fa-cyan: var(--e-global-color-secondary, #00AEEF);
    --fa-rule: var(--e-global-color-1ea5a14, #C0C9D8);
    --fa-ui: var(--e-global-typography-text-font-family, "GT America"), system-ui, sans-serif;

    display: flex;
    align-items: center;
    gap: .7rem;
    flex-wrap: wrap;
    padding: 14px 18px;
    border: 1px solid var(--fa-rule);
    border-left: 3px solid var(--fa-cyan);
    background: #fff;
    font-family: var(--fa-ui);
    font-size: 15px;
    font-weight: 300;
    color: var(--fa-navy);
}

.amp-fa-locked__icon { display: flex; color: var(--fa-navy); opacity: .65; }
.amp-fa-locked__label { flex: 1; min-width: 12ch; }

.amp-fa-locked__cta {
    font-weight: 500;
    color: var(--e-global-color-09cd35e, #0080F5);
    text-decoration: underline;
    white-space: nowrap;
}

/* ---------------------------------------------------------------------------
   Registration form (Screen B) + confirmation (Screen C) — 0.4.0
   Mock CSS from scripts/fa-process/build_mockups.py, with the mobile collapse
   the mock lacked (#486): the two-column rows stack under 480px.
   --------------------------------------------------------------------------- */

.amp-fa-form { display: grid; gap: 1rem; }
/* The confirmation state hides the form with the `hidden` attribute; an explicit
   rule so the grid display above cannot outrank the theme's [hidden] reset. */
.amp-fa-form[hidden],
.amp-fa-field[hidden] { display: none; }
.amp-fa-form .amp-fa-field { gap: .4rem; }

.amp-fa-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    align-items: start;
}
@media (max-width: 480px) {
    .amp-fa-row { grid-template-columns: 1fr; }
}

.amp-fa-optional {
    font-weight: 400;
    text-transform: none;
    letter-spacing: 0;
    color: #8b99a5;
}

:is(.amp-fa-login, .amp-fa-core) .amp-fa-input.is-invalid {
    border-color: #c0392b;
    background: #fffafa;
}
:is(.amp-fa-login, .amp-fa-core) .amp-fa-input.is-invalid:focus {
    border-color: #c0392b;
    box-shadow: 0 0 0 3px rgba(192, 57, 43, .15);
}

.amp-fa-err {
    display: flex;
    gap: .5rem;
    align-items: flex-start;
    margin: 0;
    font-size: .8rem;
    font-weight: 300;
    line-height: 1.45;
    color: #7d2820;
}
.amp-fa-err[hidden] { display: none; }
.amp-fa-err b { color: #c0392b; font-weight: 600; flex: none; }

.amp-fa-check {
    display: flex;
    gap: .6rem;
    align-items: flex-start;
    margin: .1rem 0;
    font-size: .8rem;
    font-weight: 300;
    line-height: 1.5;
    color: #3d4d5a;
    cursor: pointer;
}
.amp-fa-check input {
    margin: 3px 0 0;
    flex: none;
    width: 16px;
    height: 16px;
    accent-color: var(--fa-blue, #0080F5);
}

/* "First time here? Register for access" under the sign-in form. */
.amp-fa-core .amp-fa-alt,
.amp-fa-core a.amp-fa-alt {
    display: block;
    margin-top: 1rem;
    text-align: center;
    font-size: .9rem;
    font-weight: 500;
    color: var(--fa-blue, #0080F5);
    text-decoration: none;
}
.amp-fa-core a.amp-fa-alt:hover,
.amp-fa-core a.amp-fa-alt:focus-visible { text-decoration: underline; }

/* The register confirmation has a fourth line: "Entered the wrong email address?" */
.amp-fa-msg__foot {
    grid-column: 2;
    margin-top: .5rem;
    font-weight: 300;
    font-size: .85rem;
}
.amp-fa-core--register .amp-fa-msg--sent { margin-top: 0; }

/* ---------------------------------------------------------------------------
   "For Financial Professionals" panel (Screen D, Option 1) — 0.4.0
   Rendered by class-doc-gate.php inside the UC List widget's grid, after the
   public rows. Locked: outlined, cyan rule, one lock, one CTA. Unlocked
   (signed-in advisor): green rule, open lock, "Unlocked" badge, titles linked.
   --------------------------------------------------------------------------- */

.amp-fa-panel {
    --fa-navy: var(--e-global-color-primary, #152F41);
    --fa-cyan: var(--e-global-color-secondary, #00AEEF);
    --fa-blue: var(--e-global-color-09cd35e, #0080F5);
    --fa-mint: var(--e-global-color-2c81742, #30F2BB);
    --fa-rule: var(--e-global-color-1ea5a14, #C0C9D8);
    --fa-ui: var(--e-global-typography-text-font-family, "GT America"), system-ui, sans-serif;
    --fa-green: #0e9e77;

    grid-column: 1 / -1;
    margin-top: 22px;
    padding: 16px 20px;
    /* The fund's color when it has one (class-doc-gate.php), else the signed-in
       bar's blue (Megan, 2026-09-14). The 1px outline takes the same color as the
       4px left rule (Megan, 2026-11-06; plugin 0.6.7). */
    border: 1px solid var(--fa-panel-accent, #0280F5);
    border-left: 4px solid var(--fa-panel-accent, #0280F5);
    background: var(--fa-panel-tint, #F7FBFD);
    font-family: var(--fa-ui);
    color: var(--fa-navy);
}
.amp-fa-panel--unlocked {
    border-color: var(--fa-panel-accent, var(--fa-green));
    background: var(--fa-panel-tint, #F3FBF7);
}

.amp-fa-panel__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 6px;
}
.amp-fa-panel__title {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: .6px;
    text-transform: uppercase;
    color: var(--fa-navy);
}
.amp-fa-panel__lock { display: flex; color: var(--fa-navy); }
.amp-fa-panel--unlocked .amp-fa-panel__lock { color: var(--fa-green); }

/* Doubled selector — the kit styles bare `a` at class+element specificity. */
.amp-fa-panel a.amp-fa-panel__cta {
    font-size: 13px;
    font-weight: 600;
    color: var(--fa-blue);
    text-decoration: none;
    white-space: nowrap;
}
.amp-fa-panel a.amp-fa-panel__cta:hover,
.amp-fa-panel a.amp-fa-panel__cta:focus-visible { text-decoration: underline; }

.amp-fa-panel__badge {
    font-size: 10.5px;
    font-weight: 600;
    letter-spacing: .6px;
    text-transform: uppercase;
    color: var(--fa-navy);
    background: var(--fa-mint);
    padding: 4px 9px;
    line-height: 1;
    white-space: nowrap;
}

.amp-fa-panel__list {
    list-style: none;
    margin: 0;
    padding: 0;
}
.amp-fa-panel__item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 6px 0;
    font-size: 16px;
    font-weight: 500;
    line-height: 1.25;
}
.amp-fa-panel__icon {
    width: 18px;
    text-align: center;
    color: var(--fa-blue);
    font-size: 17px !important; /* each widget instance carries `#uc_… i {font-size:20px}` */
    flex: none;
}
.amp-fa-panel__name { color: var(--fa-navy); }
.amp-fa-panel a.amp-fa-panel__link {
    color: var(--fa-blue);
    text-decoration: none;
}
.amp-fa-panel a.amp-fa-panel__link:hover,
.amp-fa-panel a.amp-fa-panel__link:focus-visible { color: var(--fa-mint); }

@media (max-width: 640px) {
    .amp-fa-panel { padding: 14px 16px; }
}

/* "Sign in with goodwood intelligence" (dev only, plugin 0.6.0). The button is
   gi.js's own; the page keeps the Amplify look, GI credited in a footnote. */
/* 0.6.4 (Ryan): ONE path on the GI demo page. The form is /fa-login/'s; Continue
   verifies through GI first. gi.js's own button is mounted but never shown, and
   only a tiny credit line sits under Continue. */
.amp-fa-core .amp-fa-gi {
  margin: 8px 0 0;
  text-align: center;
  font-size: 11px;
  line-height: 1.4;
  color: #6b7280;
}
.amp-fa-core .amp-fa-gi[hidden],
.amp-fa-core .amp-fa-gi .gi-signin { display: none; }
.amp-fa-core .amp-fa-gi .amp-fa-gi__note { margin: 0; font-size: 11px; color: #6b7280; }
.amp-fa-core .amp-fa-gi__sep { margin: 0 4px; }

/* GI demo page: "How verification works" popover (plugin 0.6.3). Renders only
   with [amplify_fa_login gwi="1"]; /fa-login/ has none of this markup. */
.amp-fa-core .amp-fa-gi { position: relative; }
.amp-fa-core .amp-fa-gi__info {
  appearance: none;
  background: none;
  border: 0;
  padding: 0;
  margin: 0;
  font: inherit;
  color: var(--fa-blue, #0080F5);
  text-decoration: underline;
  text-underline-offset: 2px;
  cursor: pointer;
}
.amp-fa-core .amp-fa-gi__info:hover,
.amp-fa-core .amp-fa-gi__info:focus,
.amp-fa-core .amp-fa-gi__info:active,
.amp-fa-core .amp-fa-gi__pop-close:hover,
.amp-fa-core .amp-fa-gi__pop-close:focus,
.amp-fa-core .amp-fa-gi__pop-close:active {
  /* The Elementor kit paints every button:hover/:focus mint; keep these links plain. */
  background: none;
  border: 0;
  box-shadow: none;
}
.amp-fa-core .amp-fa-gi__info:hover,
.amp-fa-core .amp-fa-gi__info:focus { color: var(--fa-navy, #152F41); }
.amp-fa-core .amp-fa-gi__info:focus-visible,
.amp-fa-core .amp-fa-gi__pop-close:focus-visible {
  outline: 2px solid var(--fa-cyan, #00AEEF);
  outline-offset: 2px;
  border-radius: 2px;
}
.amp-fa-core .amp-fa-gi__pop {
  position: absolute;
  z-index: 50;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  width: min(380px, calc(100vw - 32px));
  margin-top: 8px;
  padding: 16px 36px 14px 16px;
  box-sizing: border-box;
  background: #fff;
  border: 1px solid var(--fa-rule, #C0C9D8);
  border-radius: 8px;
  box-shadow: 0 8px 24px rgba(21, 47, 65, 0.16);
  font-family: var(--fa-ui, system-ui, sans-serif);
  font-size: 13px;
  line-height: 1.5;
  color: var(--fa-navy, #152F41);
  text-align: left;
}
.amp-fa-core .amp-fa-gi__pop[hidden] { display: none; }
.amp-fa-core .amp-fa-gi__pop:focus { outline: none; }
.amp-fa-core .amp-fa-gi__pop p { margin: 0 0 10px; font-size: 13px; line-height: 1.5; color: inherit; }
.amp-fa-core .amp-fa-gi__pop p:last-child { margin-bottom: 0; }
.amp-fa-core .amp-fa-gi__pop .amp-fa-gi__pop-title { font-size: 14px; }
.amp-fa-core .amp-fa-gi__pop a { color: var(--fa-blue, #0080F5); text-decoration: underline; }
.amp-fa-core .amp-fa-gi__pop-close {
  position: absolute;
  top: 6px;
  right: 8px;
  appearance: none;
  background: none;
  border: 0;
  padding: 2px 6px;
  font-size: 20px;
  line-height: 1;
  color: #6b7280;
  cursor: pointer;
}
.amp-fa-core .amp-fa-gi__pop-close:hover,
.amp-fa-core .amp-fa-gi__pop-close:focus { color: var(--fa-navy, #152F41); }
