/* THE QWORLD shared bottom/footer. Homepage is the design reference. 2026-10-20 */
:root { --qwf-ink:#4d365c; --qwf-muted:#806b91; --qwf-line:rgba(119,91,141,.15); }
/* Homepage text and layout remain unchanged; normalize stray old overrides. */
footer.footer.qworld-footer-unified,
footer.footer { min-height:0 !important;height:auto !important; padding:30px 0 0 !important; border-top:1px solid var(--qwf-line) !important; background:transparent !important; color:var(--qwf-muted);overflow:hidden; }
footer.footer .footer-wordmark{display:none !important;}
footer.footer .footer-top,footer.footer .footer-bottom {box-sizing:border-box;max-width:1436px !important;width:calc(100% - 64px) !important;margin-left:auto !important;margin-right:auto !important;}
footer.footer .footer-top{display:grid !important;grid-template-columns:minmax(0,1.6fr) minmax(0,.9fr) minmax(0,.95fr) !important;gap:clamp(26px,6vw,75px) !important;padding:0 0 22px !important;}
footer.footer .footer-top > div:not(:first-child){display:flex !important;flex-direction:column !important;align-items:flex-start !important;gap:9px !important;min-width:0;}
footer.footer .footer-top a{color:#806a90;text-decoration:none;font-size:13px;line-height:1.45;}
footer.footer .footer-top a:hover{color:#55396d;text-decoration:underline;text-underline-offset:3px;}
footer.footer .footer-top .brand{color:var(--qwf-ink);display:inline-flex;align-items:center;gap:12px;font-size:16px;font-weight:650;letter-spacing:.07em;}
footer.footer .footer-top .brand svg{color:#8b63aa;flex-shrink:0;}
footer.footer .footer-top p{font-size:13px;line-height:1.5;margin:18px 0 5px;color:var(--qwf-muted);}
footer.footer .footer-top p.footer-small{font-size:11px;margin:0;color:#aa96b4;}
footer.footer .footer-label{display:block;font-size:10px;letter-spacing:.12em;color:#a38cab;margin:2px 0 12px;text-transform:uppercase;}
footer.footer .footer-bottom{display:flex !important;align-items:center;justify-content:space-between;gap:18px;border-top:1px solid var(--qwf-line);padding:16px 0 18px !important;font-size:11px;color:#9e8bac;}
footer.footer .footer-bottom > div{display:flex;gap:22px;flex-wrap:wrap;align-items:center;padding-right:85px;}
footer.footer .footer-bottom a{font-size:11px;color:#917d9d;text-decoration:none;}
footer.footer .footer-bottom a:hover{color:#604573;text-decoration:underline;}
footer.footer a.qworld-affiliate-connect-link{color:#75538d !important;font-weight:550;}
/* Shared updates panel, matching Home; applies to pages without the original Next CSS too. */
section.newsletter.qworld-updates-unified[data-qworld-inserted="1"]{position:relative;box-sizing:border-box;display:grid;grid-template-columns:1fr 1fr;gap:clamp(25px,5vw,64px);align-items:center;width:calc(100% - 64px);max-width:1436px;min-height:285px;margin:12px auto 76px;padding:clamp(32px,4vw,60px);border:1px solid rgba(167,130,190,.17);border-radius:14px;background:radial-gradient(ellipse at 100% 100%,rgba(201,170,223,.16),transparent 64%),rgba(250,246,253,.78);overflow:hidden;color:var(--qwf-ink);}
section.newsletter.qworld-updates-unified[data-qworld-inserted="1"] > div:not(.newsletter-orbit),section.newsletter.qworld-updates-unified[data-qworld-inserted="1"] > form{position:relative;z-index:1;min-width:0;}
section.newsletter.qworld-updates-unified[data-qworld-inserted="1"] .newsletter-orbit{position:absolute;width:380px;height:380px;left:-190px;bottom:-245px;pointer-events:none;border:1px solid rgba(150,103,179,.06);border-radius:50%;}
section.newsletter.qworld-updates-unified[data-qworld-inserted="1"] .newsletter-orbit span{display:block;position:absolute;inset:35px;border:1px solid rgba(150,103,179,.06);border-radius:50%;}
section.newsletter.qworld-updates-unified[data-qworld-inserted="1"] .newsletter-orbit span:nth-child(2){inset:65px;}
section.newsletter.qworld-updates-unified[data-qworld-inserted="1"] .newsletter-orbit span:nth-child(3){inset:100px;}
section.newsletter.qworld-updates-unified[data-qworld-inserted="1"] .eyebrow{color:#916fa5;font-size:11px;letter-spacing:.14em;text-transform:uppercase;}
section.newsletter.qworld-updates-unified[data-qworld-inserted="1"] h2{font-size:clamp(30px,3vw,46px);font-weight:430;line-height:1.14;letter-spacing:-.05em;margin:24px 0 22px;color:#50365f;}
section.newsletter.qworld-updates-unified[data-qworld-inserted="1"] h2 span{color:#786684;}
section.newsletter.qworld-updates-unified[data-qworld-inserted="1"] p:not(.eyebrow){font-size:13px;line-height:1.6;color:#887495;}
section.newsletter.qworld-updates-unified[data-qworld-inserted="1"] .newsletter-form label{font-size:12px;display:block;margin:0 0 12px;color:#8d759b;}
section.newsletter.qworld-updates-unified[data-qworld-inserted="1"] .email-row{display:flex;align-items:stretch;gap:5px;padding:6px;border:1px solid #d8cfe2;border-radius:7px;background:#fff;}
section.newsletter.qworld-updates-unified[data-qworld-inserted="1"] .email-row input{background:transparent;min-width:0;flex:1;width:100%;border:0;outline-offset:2px;padding:10px 12px;font-size:13px;color:#4b315c;}
section.newsletter.qworld-updates-unified[data-qworld-inserted="1"] .email-row button{white-space:nowrap;border:0;border-radius:4px;padding:12px 16px;font-size:12px;font-weight:600;background:#8157ab;color:#fff;display:flex;align-items:center;gap:12px;cursor:pointer;}
section.newsletter.qworld-updates-unified[data-qworld-inserted="1"] .email-row button:disabled{opacity:.65;cursor:wait;}
section.newsletter.qworld-updates-unified[data-qworld-inserted="1"] .form-note{font-size:10px !important;line-height:1.6;max-width:none;color:#9b86a5;margin:10px 0 0;}
section.newsletter.qworld-updates-unified[data-qworld-inserted="1"] .form-note a{text-decoration:underline;color:inherit;}
section.newsletter.qworld-updates-unified[data-qworld-inserted="1"] .form-status{min-height:17px;font-size:11px;margin-top:7px;}
section.newsletter.qworld-updates-unified[data-qworld-inserted="1"] .form-status.error{color:#a43759;}
section.newsletter.qworld-updates-unified[data-qworld-inserted="1"] .form-status.success{color:#327d67;}
section.newsletter.qworld-updates-unified[data-qworld-inserted="1"] .honeypot{position:absolute;left:-9999px;}
@media(max-width:800px){
  footer.footer .footer-top{grid-template-columns:1.2fr 1fr !important;gap:26px !important;}
  footer.footer .footer-top > div:first-child{grid-column:1/-1;}
  section.newsletter.qworld-updates-unified[data-qworld-inserted="1"]{grid-template-columns:1fr;gap:28px;min-height:0;padding:35px;margin-bottom:50px;}
}
@media(max-width:540px){
  footer.footer{padding-top:26px !important;}
  footer.footer .footer-top,footer.footer .footer-bottom{width:calc(100% - 36px) !important;}
  footer.footer .footer-top{grid-template-columns:1fr 1fr !important;gap:22px 14px !important;}
  footer.footer .footer-top > div:first-child{grid-column:1/-1;}
  footer.footer .footer-top a{font-size:12px;}
  footer.footer .footer-bottom{flex-direction:column;align-items:flex-start;padding:16px 0 80px !important;}
  footer.footer .footer-bottom > div{gap:12px 18px;padding-right:0;}
  section.newsletter.qworld-updates-unified[data-qworld-inserted="1"]{width:calc(100% - 36px);padding:26px 22px;margin:12px auto 44px;}
  section.newsletter.qworld-updates-unified[data-qworld-inserted="1"] .email-row button{padding:10px;font-size:11px;gap:6px;}
  section.newsletter.qworld-updates-unified[data-qworld-inserted="1"] h2{font-size:31px;}
}
@media(prefers-reduced-motion:reduce){section.newsletter *,footer.footer *{scroll-behavior:auto !important;}}
