/* ═══════════════ LANGUAGE MENU ═══════════════
   <details> menu of links to Google's page translator — see partials/translate-menu.php (same design as hrmzy.com).
   No JS is needed to open it. Inside Google's proxy (html.rx-in-tr, set by the inline script) the menu hides itself: the page is
   already translated there, and the floating "English" button (.rx-en) takes the visitor back. Used by BOTH headers:
   the redesign one (.rx-utility / .rx-drawer, partials/rx/layout/header.php) and the older one (.tub-inner / .mob-nav-body, header.php). */
.rx-tl{position:relative;display:inline-block}
.rx-tl>summary{list-style:none;cursor:pointer;display:inline-flex;align-items:center;gap:6px;min-height:44px;padding:5px 11px;border-radius:8px;font-size:13px;font-weight:500;color:#4b5563;line-height:1;white-space:nowrap;transition:color .2s,background .2s}
.rx-tl>summary::-webkit-details-marker{display:none}
.rx-tl>summary:hover,.rx-tl[open]>summary{color:#6f42c1;background:rgba(111,66,193,.07)}
.rx-tl>summary:focus-visible{outline:2px solid #6f42c1;outline-offset:2px}
.rx-tl-ico{width:18px;height:18px;flex:none}
.rx-tl-caret{width:11px;height:11px;flex:none;transition:transform .2s}
.rx-tl[open] .rx-tl-caret{transform:rotate(180deg)}
.rx-tl-panel{position:absolute;right:0;top:100%;z-index:1200;width:min(94vw,480px);max-height:70vh;overflow:auto;background:#fff;border:1px solid #e2e8f0;border-radius:12px;box-shadow:0 12px 32px rgba(15,23,42,.14);padding:12px;text-align:left}
.rx-tl-note{margin:0 0 8px;font-size:12px;line-height:1.4;color:#475569}
.rx-tl-list{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(3,1fr);gap:0 8px}
.rx-tl-list a{display:flex;align-items:center;min-height:40px;padding:0 8px;border-radius:8px;color:#1e1b4b;font-size:14px;line-height:1.2;text-decoration:none}
.rx-tl-list a:hover,.rx-tl-list a:focus-visible{background:#f1f5f9}
/* an inset ring: the panel scrolls, so an outer ring would be clipped */
.rx-tl-list a:focus-visible{outline:3px solid #8b5cf6;outline-offset:-3px}
.rx-tl--mobile{display:block;margin:4px 0}
.rx-tl--mobile>summary{width:100%;justify-content:flex-start;padding:10px 12px;font-size:15px}
.rx-tl--mobile .rx-tl-caret{margin-left:auto}
.rx-tl--mobile .rx-tl-panel{position:static;width:auto;max-height:none;box-shadow:none;border:0;padding:6px 0 0}
.rx-tl--mobile .rx-tl-list{grid-template-columns:repeat(2,1fr)}
.rx-tl--mobile .rx-tl-list a{min-height:44px}
html.rx-in-tr .rx-tl{display:none}

/* redesign utility bar (36px high, 13px links): the same look as its other links */
.rx-utility .rx-tl>summary{min-height:28px;padding:0 10px;border-radius:6px;font-weight:400;color:var(--rx-ink-700,#3f3f55)}
.rx-utility .rx-tl>summary:hover,.rx-utility .rx-tl[open]>summary{color:var(--rx-violet-650,#6f42c1);background:var(--rx-violet-100,#ece6fb)}
.rx-utility .rx-tl-panel{top:calc(100% + 6px);border-color:var(--rx-line,#e2e8f0)}
[dir="rtl"] .rx-utility .rx-tl-panel{right:auto;left:0}

/* redesign drawer row: the same look as its other links */
.rx-drawer__body .rx-tl--mobile{margin:0}
.rx-drawer__body .rx-tl--mobile>summary{min-height:44px;padding:0 4px;border-radius:8px;font-size:16px;font-weight:500;color:var(--rx-ink-900,#1b1340)}
.rx-drawer__body .rx-tl--mobile>summary:hover,.rx-drawer__body .rx-tl--mobile[open]>summary{color:var(--rx-violet-650,#6f42c1);background:var(--rx-violet-50,#f6f3ff)}
.rx-drawer__body .rx-tl--mobile .rx-tl-ico{width:18px;height:18px;color:var(--rx-violet-600,#7c3aed)} /* like the drawer's other icons (30 Nov) */

/* older header: the drawer already spaces and divides its rows */
.mob-lang-menu .rx-tl--mobile{margin:0}
.mob-lang-menu .rx-tl--mobile>summary{padding:12px 14px;font-weight:600;color:#1e1b4b}
.mob-lang-menu .rx-tl--mobile .rx-tl-ico{width:18px;height:18px}

/* ═══════════════ "ENGLISH" BUTTON (inside Google's translated view only) ═══════════════
   Added by partials/translate-menu.php when the page runs on *.translate.goog. Fixed at the bottom-left: the cookie banner is at
   the bottom-right on desktop; on phones (where it spans the width) the page script lifts the button above it (translate-menu.php, lift()). */
.rx-en{position:fixed!important;left:16px;bottom:16px;z-index:1028;display:inline-flex!important;align-items:center;gap:8px;padding:10px 16px 10px 12px;border-radius:999px;background:#fff!important;color:#1b1340!important;border:1px solid rgba(27,19,64,.16);box-shadow:0 8px 24px rgba(27,19,64,.2);font:600 14px/1 system-ui,-apple-system,"Segoe UI",Roboto,sans-serif!important;text-decoration:none!important;letter-spacing:0}
.rx-en:hover,.rx-en:focus-visible{background:#f3efff!important;border-color:#7c3aed;color:#4a12a0!important}
.rx-en:focus-visible{outline:2px solid #7c3aed;outline-offset:2px}
.rx-en svg{width:18px;height:18px;flex:none}
@media(max-width:575px){.rx-en{left:12px;bottom:12px;padding:9px 14px 9px 10px;font-size:13px!important}}
@media(prefers-reduced-motion:no-preference){.rx-en{transition:bottom .2s ease}}
