/* EasyBuySheets footer refresh + legal pages + mobile bottom-nav spacing (2026-11-19).
   Scoped to .footer.ebs-ft / .ebs-legal / .navlinks; the snowy footer scene (.footer::before) is untouched. */
.footer.ebs-ft{--ft-h:#9cc4e8;--ft-link:#e6edf5;--ft-text:#cfdbe7;--ft-muted:#a9b9ca;--ft-sep:rgba(156,196,232,.30);--ft-card:rgba(9,19,42,.62);--ft-edge:rgba(176,204,228,.78);--ft-email:#9cc4e8;--ft-mail:rgba(40,68,105,.6);color:var(--ft-text)}
.footer.ebs-ft .ebs-ft-top{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);grid-template-areas:"brand brand" "quick legal" "contact contact";gap:30px 22px;margin-top:28px;padding-bottom:30px}
.footer.ebs-ft .ebs-ft-brand{grid-area:brand;display:grid;justify-items:center;text-align:center;gap:12px;min-width:0}
.footer.ebs-ft .ebs-ft-brand .footer-brand{margin:0}
.footer.ebs-ft .ebs-ft-brand p{margin:0;max-width:520px;font-size:12px;line-height:1.6;color:var(--ft-link);font-weight:600}
.footer.ebs-ft .ebs-ft-quick{grid-area:quick}
.footer.ebs-ft .ebs-ft-legal{grid-area:legal}
.footer.ebs-ft .ebs-ft-contact{grid-area:contact}
.footer.ebs-ft .ebs-ft-col{display:grid;align-content:start;gap:4px;min-width:0}
.footer.ebs-ft .ebs-ft-h{display:block;margin:0 0 8px;color:var(--ft-h);text-transform:uppercase;font-size:15px;font-weight:900;letter-spacing:.04em;text-shadow:0 0 14px rgba(117,153,188,.55)}
.footer.ebs-ft .ebs-ft-col a{display:flex;justify-content:space-between;align-items:center;gap:10px;min-height:30px;padding:0;border:0;color:var(--ft-link);font-size:13px;font-weight:500;line-height:1.25;text-decoration:none}
.footer.ebs-ft a:after{content:none!important}
.footer.ebs-ft .ebs-ft-col a:hover{color:#fff}
.footer.ebs-ft .ebs-ft-chev{flex:none;width:14px;height:14px;fill:none;stroke:var(--ft-h);stroke-width:2.4;stroke-linecap:round;stroke-linejoin:round;transition:translate .15s}
.footer.ebs-ft .ebs-ft-col a:hover .ebs-ft-chev{translate:3px}
.footer.ebs-ft .ebs-ft-contact{display:flex;align-items:center;gap:14px;justify-self:center;max-width:100%;min-width:0;padding:16px 20px;border:2px solid var(--ft-edge);border-radius:20px;background:var(--ft-card);box-shadow:0 0 18px rgba(117,153,188,.35),inset 0 0 24px rgba(117,153,188,.18);-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);text-decoration:none;color:var(--ft-link)}
.footer.ebs-ft .ebs-ft-ctext{min-width:0}
.footer.ebs-ft .ebs-ft-mail{flex:none;display:grid;place-items:center;width:52px;height:52px;border:2px solid var(--ft-h);border-radius:50%;background:var(--ft-mail);box-shadow:0 0 14px rgba(117,153,188,.5)}
.footer.ebs-ft .ebs-ft-mail svg{width:26px;height:26px;fill:none;stroke:var(--ft-h);stroke-width:1.8;stroke-linejoin:round;stroke-linecap:round}
.footer.ebs-ft .ebs-ft-label{display:block;margin-bottom:2px;color:var(--ft-link);text-transform:uppercase;font-size:11px;font-weight:600;letter-spacing:.08em}
.footer.ebs-ft .ebs-ft-email{display:block;color:var(--ft-email);font-size:clamp(13px,3.9vw,16px);font-weight:800;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.footer.ebs-ft .ebs-ft-contact:hover .ebs-ft-email{color:#fff}
.footer.ebs-ft .ebs-ft-contact:focus-visible,.footer.ebs-ft .ebs-ft-col a:focus-visible{outline:2px solid var(--ft-h);outline-offset:3px}
.footer.ebs-ft .ebs-ft-notice{display:grid;justify-items:center;gap:12px;padding:20px 16px;border:2px solid var(--ft-sep);border-radius:18px;background:rgba(7,15,34,.72);-webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px);text-align:center;font-size:11px;line-height:1.55;color:var(--ft-text)}
.footer.ebs-ft .ebs-ft-notice>div{display:grid;gap:8px}
.footer.ebs-ft .ebs-ft-notice p{margin:0}
.footer.ebs-ft .ebs-ft-notice .ebs-ft-base{color:var(--ft-muted)}
.footer.ebs-ft .ebs-ft-shield{flex:none;width:48px;height:48px;fill:none;stroke:var(--ft-h);stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round;filter:drop-shadow(0 0 8px rgba(156,196,232,.55))}
.footer.ebs-ft .ebs-ft-bottom{margin-top:20px;padding-top:18px;border-top:2px solid var(--ft-sep);text-align:center}
.footer.ebs-ft .ebs-ft-bottom p{display:inline-block;margin:0;padding:6px 16px;border-radius:999px;background:rgba(7,15,34,.72);color:var(--ft-text);font-size:11px;font-weight:600}
@media (min-width:48rem){
 .footer.ebs-ft .ebs-ft-top{grid-template-areas:"brand contact" "quick legal";align-items:start;column-gap:48px}
 .footer.ebs-ft .ebs-ft-brand{justify-items:start;text-align:left}
 .footer.ebs-ft .ebs-ft-brand p{font-size:14px}
 .footer.ebs-ft .ebs-ft-contact{justify-self:end;align-self:center;gap:18px;padding:18px 24px}
 .footer.ebs-ft .ebs-ft-mail{width:60px;height:60px}
 .footer.ebs-ft .ebs-ft-mail svg{width:30px;height:30px}
 .footer.ebs-ft .ebs-ft-label{font-size:13px}
 .footer.ebs-ft .ebs-ft-email{font-size:18px}
 .footer.ebs-ft .ebs-ft-h{font-size:19px}
 .footer.ebs-ft .ebs-ft-col a{font-size:16px;white-space:nowrap;gap:24px}
 .footer.ebs-ft .ebs-ft-chev{width:18px;height:18px}
 .footer.ebs-ft .ebs-ft-notice{grid-template-columns:auto 1fr;justify-items:start;text-align:left;gap:24px;padding:24px 28px;font-size:13px}
 .footer.ebs-ft .ebs-ft-shield{width:60px;height:60px}
 .footer.ebs-ft .ebs-ft-bottom p{font-size:12px}
}
@media (min-width:80rem){
 .footer.ebs-ft .ebs-ft-top{grid-template-columns:minmax(0,1.1fr) auto auto minmax(max-content,1fr);grid-template-areas:"brand quick legal contact";align-items:center;column-gap:0;padding-bottom:36px}
 .footer.ebs-ft .ebs-ft-brand{padding-right:40px}
 .footer.ebs-ft .ebs-ft-col{align-self:stretch;padding-inline:34px;border-left:2px solid var(--ft-sep)}
 .footer.ebs-ft .ebs-ft-legal{border-right:2px solid var(--ft-sep)}
 .footer.ebs-ft .ebs-ft-contact{justify-self:stretch;margin-left:40px;padding:26px 22px}
 .footer.ebs-ft .ebs-ft-col a{font-size:16px}
 .footer.ebs-ft .ebs-ft-email{font-size:19px}
 .footer.ebs-ft .ebs-ft-notice{padding:26px 40px;font-size:14px}
}
/* Legal pages */
.ebs-legal{box-sizing:border-box;max-width:920px;margin-top:24px;margin-bottom:40px;padding:28px clamp(18px,4vw,44px) 22px;line-height:1.7;color:#e3eaf2;background:rgba(7,15,34,.8);border:1.5px solid rgba(156,196,232,.32);border-radius:22px;-webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px)}
.ebs-legal h1{margin-top:0}
.ebs-legal h2{color:#9cc4e8}
.ebs-legal a{color:#9cc4e8;font-weight:700}
.ebs-legal h2{margin:30px 0 8px;font-size:1.2rem}
.ebs-legal p{margin:0 0 12px}
.ebs-legal ul{margin:0 0 14px;padding-left:1.3em}
.ebs-legal li{margin:4px 0}
.ebs-legal .ebs-legal-date{opacity:.75;font-size:.9rem}
/* Mobile bottom nav: five equal-width cells so icon centres are evenly spaced */
@media (max-width:47.99rem){
 .navlinks{grid-template-columns:repeat(5,minmax(0,1fr))!important;justify-items:stretch}
 .navlinks>a,.navlinks>.pop{min-width:0;width:100%;max-width:100%}
 .navlinks>.pop{display:flex}
 .navlinks>.pop>.nav-pop{width:100%;min-width:0}
 .navlinks>a,.navlinks>.pop>.nav-pop{padding-left:1px!important;padding-right:1px!important;overflow:hidden;text-align:center;font-size:clamp(.625rem,2.75vw,.75rem)!important;letter-spacing:-.01em}
 .navlinks>a>span,.navlinks>.pop>.nav-pop>span{max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
}

/* Natural content sizing for translated tutorial cards. */
.ebs-faq .pnzBiq_layout,.ebs-faq .pnzBiq_layout>*{min-width:0;max-width:100%}
.ebs-faq .pnzBiq_video{grid-template-columns:minmax(0,1fr)}
.ebs-faq .pnzBiq_video>*,.ebs-faq .VcF4na_frame,.ebs-faq .VcF4na_thumbnail{min-width:0;max-width:100%;box-sizing:border-box}
.ebs-faq .VcF4na_frame{width:100%}
.ebs-faq .pnzBiq_videoTitle,.ebs-faq .pnzBiq_videoTitle>*{white-space:normal;overflow-wrap:anywhere}
.ebs-faq .pnzBiq_videoText,.ebs-faq .pnzBiq_question,.ebs-faq .pnzBiq_answer{min-width:0;overflow-wrap:anywhere}
/* The same footer geometry applies to modern and former legacy pages. */
.footer.ebs-ft,.footer.ebs-ft *{box-sizing:border-box}
.footer.ebs-ft{font-family:Montserrat,Arial,sans-serif;min-width:0;max-width:100%;isolation:isolate}
.footer.ebs-ft>.shell{display:block;min-width:0;max-width:1500px;width:calc(100% - 32px);margin-inline:auto;content-visibility:visible}
.footer.ebs-ft .ebs-ft-top{grid-template-columns:repeat(2,minmax(0,1fr));column-gap:22px}
.footer.ebs-ft .ebs-ft-brand{padding:0;min-width:0;overflow-wrap:anywhere}
.footer.ebs-ft .footer-brand{display:flex;align-items:center;gap:10px;justify-content:inherit;max-width:100%;white-space:normal}
.footer.ebs-ft .footer-brand .brand-mark{flex:0 0 32px;width:32px;height:26px}
.footer.ebs-ft .footer-brand .brand-word{font-size:18px;line-height:1.3;overflow-wrap:anywhere}
.footer.ebs-ft .ebs-ft-col{padding:0;border:0;min-width:0}
.footer.ebs-ft .ebs-ft-col a{white-space:normal;overflow-wrap:anywhere;gap:10px;border:0;min-width:0}
.footer.ebs-ft .ebs-ft-h{overflow-wrap:anywhere;line-height:1.3}
.footer.ebs-ft .ebs-ft-contact{min-width:0;max-width:100%;margin:0;gap:10px;padding:14px}
.footer.ebs-ft .ebs-ft-mail{width:44px;height:44px}
.footer.ebs-ft .ebs-ft-mail svg{width:24px;height:24px}
.footer.ebs-ft .ebs-ft-email{white-space:normal;overflow-wrap:anywhere;overflow:visible;text-overflow:clip;font-size:clamp(12px,3.5vw,18px);line-height:1.4}
.footer.ebs-ft .ebs-ft-label{white-space:normal;overflow-wrap:anywhere}
.footer.ebs-ft .ebs-ft-notice,.footer.ebs-ft .ebs-ft-notice>div{min-width:0;overflow-wrap:anywhere}
.footer.ebs-ft .ebs-ft-bottom{display:flex;flex-direction:column;align-items:center;justify-content:space-between;gap:18px}
.footer.ebs-ft .ebs-ft-social{display:flex;align-items:center;justify-content:center;gap:12px;min-width:0;max-width:100%}
.footer.ebs-ft .ebs-ft-social-icon{display:grid;place-items:center;flex:0 0 44px;width:44px;height:44px;border:1px solid var(--ft-sep);border-radius:10px;background:rgba(3,8,18,.88);box-shadow:inset 0 0 10px rgba(156,196,232,.12);color:#fff}
.footer.ebs-ft .ebs-ft-social-icon svg{display:block;width:20px;height:20px;fill:currentColor;stroke:none}
.footer.ebs-ft .ebs-ft-bottom>p{max-width:100%;white-space:normal;overflow-wrap:anywhere}
:root[data-theme=default] .footer.ebs-ft{--ft-h:#c58bff;--ft-link:#eee5fa;--ft-text:#d6cbe5;--ft-muted:#baaccb;--ft-sep:#c58bff4d;--ft-card:#13052cbb;--ft-edge:#b890e9;--ft-email:#c58bff;--ft-mail:#39165b99}
:root[data-theme=halloween] .footer.ebs-ft{--ft-h:#ffad52;--ft-link:#f5e6dc;--ft-text:#e6d1c3;--ft-muted:#c5aa98;--ft-sep:#ffad524d;--ft-card:#261309bb;--ft-edge:#dda774;--ft-email:#ffad52;--ft-mail:#693a1799}
@media(min-width:48rem){
 .footer.ebs-ft>.shell{width:calc(100% - 48px)}
 .footer.ebs-ft .ebs-ft-top{grid-template-columns:repeat(2,minmax(0,1fr));grid-template-areas:"brand contact" "quick legal";gap:32px 40px;align-items:start}
 .footer.ebs-ft .ebs-ft-brand{justify-items:start;text-align:left}
 .footer.ebs-ft .footer-brand{justify-content:flex-start}
 .footer.ebs-ft .ebs-ft-contact{justify-self:end;padding:18px;gap:14px}
 .footer.ebs-ft .ebs-ft-col a{font-size:16px;min-height:34px}
 .footer.ebs-ft .ebs-ft-bottom{flex-direction:row;flex-wrap:wrap;text-align:right}
}
@media(min-width:80rem){
 .footer.ebs-ft>.shell{width:calc(100% - 96px)}
 .footer.ebs-ft .ebs-ft-top{grid-template-columns:minmax(200px,1fr) minmax(160px,.8fr) minmax(200px,1fr) minmax(280px,1.3fr);grid-template-areas:"brand quick legal contact";gap:24px;align-items:start}
 .footer.ebs-ft .ebs-ft-brand{padding:0}
 .footer.ebs-ft .ebs-ft-col{padding:0 0 0 20px;border-left:1px solid var(--ft-sep);border-right:0}
 .footer.ebs-ft .ebs-ft-contact{align-self:center;justify-self:stretch;margin:0;padding:18px 14px}
 .footer.ebs-ft .ebs-ft-email{font-size:16px}
}
