/* The "Translate" button and panel (js/translate.js) and Google Translate's own parts. Brand colours only: JPC
   Burgundy #880D27, JPC Blue #4980C1 (with its darker #2F5F99 for small text on white), white and greys.
   Google's top banner bar is hidden (it would cover the site's fixed header and push the page down); the panel's
   English choice and "Show the original (English)" are the way back. Google's attribution ("Powered by Google
   Translate") inside the panel stays visible. */

/* ---------- the button: side menu (computers) ---------- */
.jpc-tr-li{list-style:none;}
button.jpc-tr-rail{background:none;border:0;margin:0;font:inherit;font-size:14px;font-weight:600;text-align:left;cursor:pointer;color:rgba(255,255,255,.92);}
button.jpc-tr-rail:hover{background:rgba(255,255,255,.12);color:#fff;}
button.jpc-tr-rail:focus-visible{outline:2px solid #fff;outline-offset:-2px;}
button.jpc-tr-rail .jpc-tr-icon{flex:0 0 auto;width:22px;height:22px;}
button.jpc-tr-rail[aria-expanded="true"]{background:rgba(255,255,255,.16);}

/* ---------- the button: phone header, beside Search ---------- */
.jpc-tr-mright{display:flex;align-items:center;gap:2px;}
/* narrow phones: three buttons on the right, so the logo is a little smaller (it must never sit under them) */
@media (max-width:420px){ .jpicnav-mobile-bar{padding:0 8px;} .jpc-tr-mright{gap:0;}
  .jpicnav-mobile-bar a.jpicnav-mobile-logo,.jpicnav-mobile-bar.has-help a.jpicnav-mobile-logo{left:58px;transform:translateY(-50%);}
  .jpicnav-mobile-bar a.jpicnav-mobile-logo img,.jpicnav-mobile-bar.has-help a.jpicnav-mobile-logo img{height:36px;} }
@media (max-width:360px){ .jpicnav-mobile-bar a.jpicnav-mobile-logo img,.jpicnav-mobile-bar.has-help a.jpicnav-mobile-logo img{height:30px;} }
.jpc-tr-mbtn{position:relative;color:#fff;background:none;border:0;margin:0;padding:0;width:44px;height:44px;display:flex;align-items:center;justify-content:center;
  border-radius:8px;cursor:pointer;transition:background .2s ease,transform .2s ease;}
.jpc-tr-mbtn:hover{background:rgba(255,255,255,.14);transform:scale(1.08);}
.jpc-tr-mbtn:focus-visible{outline:2px solid #fff;outline-offset:2px;}

/* ---------- the button: top right of the page (computers; the only one on the 404 page) ---------- */
.jpc-tr-top{position:fixed;top:16px;right:24px;z-index:1001;display:flex;align-items:center;gap:8px;min-height:44px;padding:8px 16px 8px 12px;
  border:1px solid rgba(255,255,255,.55);border-radius:22px;background:#880D27;color:#fff;font-family:Roboto,"Segoe UI",Arial,sans-serif;
  font-size:14px;font-weight:600;cursor:pointer;box-shadow:0 4px 14px rgba(0,0,0,.22);}
.jpc-tr-top .jpc-tr-icon{width:20px;height:20px;}
.jpc-tr-top:hover{background:#6d0a1f;}
.jpc-tr-top[aria-expanded="true"]{background:#6d0a1f;}
.jpc-tr-top:focus-visible{outline:3px solid #4980C1;outline-offset:2px;}
@media (max-width:1023px){ .jpc-tr-desk{display:none;} }
@media print{ .jpc-tr-top{display:none;} }

/* ---------- translating: the buttons busy (aria-busy="true", set by js/translate.js until the page has really
   changed or it has given up) – a small spinner of ours (Google's own is never shown, below); with reduced motion
   no spinner, just the panel's "Translating…" ---------- */
@keyframes jpc-tr-spin{to{transform:rotate(360deg);}}
.jpc-tr-btn[aria-busy="true"]::after{content:"";display:block;flex:0 0 auto;box-sizing:border-box;width:14px;height:14px;border:2px solid currentColor;
  border-right-color:transparent;border-radius:50%;animation:jpc-tr-spin .8s linear infinite;}
.jpc-tr-mbtn[aria-busy="true"]::after{position:absolute;top:4px;right:4px;width:12px;height:12px;}
@media (prefers-reduced-motion:reduce){ .jpc-tr-btn[aria-busy="true"]::after{display:none;animation:none;} }

/* ---------- "Translation didn't work this time…": a short note by the button when the panel is closed ---------- */
.jpc-tr-toast{position:fixed;z-index:1100;width:280px;max-width:calc(100vw - 32px);box-sizing:border-box;padding:10px 14px;background:#fff;
  color:#1f2933;border-top:4px solid #880D27;border-radius:10px;box-shadow:0 10px 32px rgba(0,20,50,.28);
  font-family:Roboto,"Segoe UI",Arial,sans-serif;font-size:14px;font-weight:600;line-height:1.45;text-align:left;}
.jpc-tr-toast:empty{display:none;}

/* ---------- the panel ---------- */
.jpc-tr-panel{position:fixed;z-index:1100;width:300px;max-width:calc(100vw - 32px);box-sizing:border-box;padding:14px 16px 16px;
  background:#fff;color:#1f2933;border-top:4px solid #880D27;border-radius:10px;box-shadow:0 10px 32px rgba(0,20,50,.28);
  font-family:Roboto,"Segoe UI",Arial,sans-serif;font-size:15px;line-height:1.45;text-align:left;}
.jpc-tr-panel[hidden]{display:none;}
.jpc-tr-head{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-bottom:8px;}
.jpc-tr-title{margin:0;font-size:16px;font-weight:700;color:#880D27;}
.jpc-tr-close{flex:0 0 auto;width:36px;height:36px;margin:-6px -8px -6px 0;border:0;border-radius:8px;background:none;color:#4b5563;
  font-size:24px;line-height:1;cursor:pointer;}
.jpc-tr-close:hover{background:#f1f3f6;color:#1f2933;}
.jpc-tr-label{display:block;margin:0 0 4px;font-weight:600;color:#1f2933;}
.jpc-tr-select{display:block;width:100%;min-height:44px;box-sizing:border-box;padding:8px 10px;border:1px solid #6b7280;border-radius:8px;
  background:#fff;color:#1f2933;font:inherit;font-size:16px;}
.jpc-tr-apply{display:block;width:100%;min-height:44px;margin-top:8px;padding:8px 12px;border:0;border-radius:8px;background:#880D27;color:#fff;
  font:inherit;font-weight:700;cursor:pointer;}
.jpc-tr-apply:hover{background:#6d0a1f;}
.jpc-tr-note,.jpc-tr-privacy,.jpc-tr-status{margin:10px 0 0;font-size:13px;color:#4b5563;}
.jpc-tr-status:empty{display:none;}
.jpc-tr-status{color:#2F5F99;font-weight:600;}
.jpc-tr-original{display:block;width:100%;min-height:44px;margin-top:12px;padding:8px 12px;border:2px solid #880D27;border-radius:8px;
  background:#fff;color:#880D27;font:inherit;font-weight:700;cursor:pointer;}
.jpc-tr-original:hover{background:#880D27;color:#fff;}
.jpc-tr-original[hidden]{display:none;}
.jpc-tr-panel button:focus-visible,.jpc-tr-select:focus-visible{outline:3px solid #4980C1;outline-offset:2px;}

/* Google's gadget in the panel, right under the status line ("Translated into Korean (...)."): its own language
   list and the wrapper round it are not shown at all (the panel's list drives it, by script; nothing of it can be
   seen or copied), its attribution ("Powered by Google Translate") stays, small */
.jpc-tr-google:empty,.jpc-tr-google[hidden]{display:none !important;}   /* ([hidden]: Google's credit switched off in Site settings) */
.jpc-tr-google{margin-top:2px;font-size:12px;line-height:1.4;color:#4b5563;}
.jpc-tr-google .goog-te-gadget{font-family:inherit !important;font-size:12px !important;color:#4b5563 !important;white-space:normal;}
.jpc-tr-google .goog-te-gadget > div[id$="targetLanguage"],.jpc-tr-google select.goog-te-combo{display:none !important;}
.jpc-tr-google .goog-te-gadget img{display:inline-block !important;vertical-align:middle;padding-right:0 !important;}
.jpc-tr-google a{color:#2F5F99 !important;}

/* ---------- Google's banner bar, hover pop-ups and highlights: off ---------- */
.goog-te-banner-frame,iframe.goog-te-banner-frame,.VIpgJd-ZVi9od-ORHb-OEVmcd,iframe.VIpgJd-ZVi9od-ORHb-OEVmcd,
body > .skiptranslate > iframe.skiptranslate,#goog-gt-tt,.goog-te-balloon-frame,.VIpgJd-yAWNEb-L7lbkb{display:none !important;}
html.translated-ltr body,html.translated-rtl body,body.translated-ltr,body.translated-rtl{top:0 !important;}
body{top:0 !important;}
.goog-text-highlight,.VIpgJd-yAWNEb-VIpgJd-fmcmS-sn54Q{background:none !important;box-shadow:none !important;}

/* ---------- Google's own spinner: never shown ----------
   While it translates Google shows a big spinning circle (its logo in a white disc) at the page's top left; on phones
   it kept spinning when a translation stalled (the owner, 6 Nov 2026). The buttons show ours instead (above).
   Google's markup now (its el_main files, 6 Nov 2026), added at the end of <body>: div.VIpgJd-ZVi9od-aZ2wEe-wOHMyf >
   div.VIpgJd-ZVi9od-aZ2wEe-OiiCO > svg.VIpgJd-ZVi9od-aZ2wEe (viewBox 0 0 66 66) > circle.VIpgJd-ZVi9od-aZ2wEe-Jt5cK;
   before: the same with goog-te-spinner-pos, goog-te-spinner-animation, goog-te-spinner and goog-te-spinner-path.
   Should Google rename them again: any such spinning circle at the end of <body> (its own rule, so a browser without
   :has() skips only that one) */
.goog-te-spinner-pos,.goog-te-spinner-animation,.goog-te-spinner,.VIpgJd-ZVi9od-aZ2wEe-wOHMyf,.VIpgJd-ZVi9od-aZ2wEe-OiiCO,svg.VIpgJd-ZVi9od-aZ2wEe{display:none !important;}
body > div:has(> div > svg[viewBox="0 0 66 66"] > circle),body > div:has(> div > svg[class*="spinner"]){display:none !important;}

@media print{.jpc-tr-panel,.jpc-tr-btn,.jpc-tr-li,.jpc-tr-toast{display:none !important;}}
