/*
 * Butonul „Înapoi sus” (includes/inapoi-sus.php): pe orice pagină lungă a site-ului.
 * Mutat din assets/acasa.css pe 19 oct. 2026; rândul pentru subsol folosește clasa tg-sus-lunga, pusă de assets/sus.js
 * doar pe paginile lungi (pe cele scurte butonul nu apare, deci subsolul nu are nevoie de loc în plus).
 */
/* ---------- Butonul „Înapoi sus”: cerc gol cu săgeată, fix în dreapta jos, doar spre capătul paginii ----------
   „html button.tg-sus”: tema (GeneratePress) colorează toate butoanele, și la :hover/:focus (text alb, fond gri). */
html button.tg-sus{position:fixed;right:24px;bottom:24px;z-index:900;display:grid;place-items:center;width:52px;height:52px;margin:0;padding:0;border:2px solid currentColor;border-radius:50%;background:transparent;color:#2056ae;box-shadow:none;cursor:pointer;opacity:0;visibility:hidden;transform:translateY(12px);transition:opacity .25s ease,transform .25s ease,visibility 0s linear .25s,color .2s ease,background-color .2s ease}
html button.tg-sus.e-vizibil{opacity:1;visibility:visible;transform:none;transition:opacity .25s ease,transform .25s ease,visibility 0s,color .2s ease,background-color .2s ease}
html button.tg-sus:hover,html button.tg-sus:focus{background:rgba(32,86,174,.08);color:#2056ae}
html button.tg-sus svg{width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:2.2;stroke-linecap:round;stroke-linejoin:round;transition:transform .2s ease}
html button.tg-sus:hover svg{transform:translateY(-2px)}
html button.tg-sus:focus-visible{outline:2px solid currentColor;outline-offset:3px}
/* Pe tema întunecată și deasupra subsolului (închis pe ambele teme): auriul siglei. */
html[data-tema="dark"] button.tg-sus,html button.tg-sus.pe-inchis{color:#f6b21b}
html[data-tema="dark"] button.tg-sus:hover,html[data-tema="dark"] button.tg-sus:focus,html button.tg-sus.pe-inchis:hover,html button.tg-sus.pe-inchis:focus{background:rgba(246,178,27,.12);color:#f6b21b}
@media (max-width:600px){html button.tg-sus{right:16px;bottom:16px;width:48px;height:48px}}
/* Pe ecranele înguste, jos de tot, butonul ar acoperi rândul de copyright: subsolul primește loc dedesubt. */
@media (max-width:900px){html.tg-sus-lunga #page .elementor-23015 .elementor-element-2db6128a{padding-bottom:76px!important}}
@media (prefers-reduced-motion:reduce){html button.tg-sus,html button.tg-sus.e-vizibil,html button.tg-sus svg{transition:none}}
