
/* VISION MEDIA Legal System Patch */
:root{--vm-blue:#0b66d8;--vm-dark:#07111e;--vm-white:#fff;--vm-soft:#f4f8ff;--vm-line:#e5edf7;--vm-muted:#68788d;--vm-card:rgba(255,255,255,.86)}
.vm-legal-hero{position:relative;overflow:hidden;padding:140px 0 70px;background:radial-gradient(circle at 85% 0,#1a73e8 0,#07111e 48%,#020714 100%);color:#fff;text-align:center}
.vm-legal-hero:before{content:'';position:absolute;inset:0;background:linear-gradient(135deg,rgba(255,255,255,.08),transparent 40%),url('data:image/svg+xml,%3Csvg width="140" height="140" xmlns="http://www.w3.org/2000/svg"%3E%3Cg fill="none" stroke="%23ffffff" stroke-opacity=".08"%3E%3Cpath d="M0 70h140M70 0v140"/%3E%3C/g%3E%3C/svg%3E')}
.vm-legal-hero .inner{position:relative;z-index:2;max-width:980px;margin:auto;padding:0 18px}.vm-legal-icon{width:86px;height:86px;border-radius:28px;margin:0 auto 22px;display:grid;place-items:center;background:rgba(255,255,255,.13);border:1px solid rgba(255,255,255,.2);backdrop-filter:blur(16px);font-size:34px;color:#fff}.vm-legal-hero h1{font-size:clamp(30px,5vw,56px);margin:0 0 14px;font-weight:900}.vm-legal-hero p{font-size:17px;line-height:1.9;color:#dce8f8;max-width:780px;margin:auto}.vm-legal-wrap{background:linear-gradient(180deg,#f8fbff,#fff);padding:60px 0}.vm-legal-grid{max-width:1180px;margin:auto;padding:0 18px;display:grid;grid-template-columns:290px 1fr;gap:28px}.vm-legal-toc{position:sticky;top:90px;align-self:start;background:#fff;border:1px solid var(--vm-line);border-radius:26px;padding:22px;box-shadow:0 18px 60px rgba(7,17,30,.08)}.vm-legal-toc h3{margin:0 0 15px;color:var(--vm-dark)}.vm-legal-toc a{display:flex;align-items:center;gap:10px;padding:11px 12px;border-radius:14px;color:#203145;text-decoration:none;font-weight:800;font-size:13px}.vm-legal-toc a:hover{background:#eef6ff;color:var(--vm-blue)}.vm-legal-card{background:#fff;border:1px solid var(--vm-line);border-radius:30px;padding:34px;box-shadow:0 24px 80px rgba(7,17,30,.08)}.vm-legal-card h2{font-size:26px;color:var(--vm-dark);margin:0 0 14px}.vm-legal-card h3{font-size:19px;color:#0d3c76;margin:28px 0 12px}.vm-legal-card p{font-size:16px;line-height:2.15;color:#314158;margin:0 0 18px}.vm-legal-card ul{padding-right:22px}.vm-legal-card li{line-height:2;color:#314158}.vm-legal-note{margin:28px 0;padding:20px;border-radius:20px;background:#edf6ff;border:1px solid #cfe7ff;color:#174a7b;line-height:1.9}.vm-footer-legal{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;margin-top:12px}.vm-footer-legal a{color:inherit;text-decoration:none;opacity:.85}.vm-footer-legal a:hover{opacity:1;color:#5da9ff}.vm-policy-admin-card{background:#fff;border:1px solid #e7edf5;border-radius:16px;padding:16px;margin-bottom:14px}.vm-policy-admin-grid{display:grid;grid-template-columns:1fr 1fr;gap:14px}.vm-policy-admin-card textarea{min-height:230px}.vm-notification-native{position:fixed;z-index:2147483647;right:20px;bottom:20px;max-width:420px;background:#fff;color:#07111e;border:1px solid #dce8f8;border-radius:22px;box-shadow:0 28px 90px rgba(7,17,30,.25);padding:18px;display:flex;gap:13px;align-items:center;direction:rtl;font-family:Tahoma,Arial;animation:vmPop .35s ease}.vm-notification-native b{display:block;font-size:15px;margin-bottom:4px}.vm-notification-native span{font-size:12px;color:#68788d;line-height:1.6}.vm-notification-native button{border:0;border-radius:13px;padding:10px 14px;font-weight:900;cursor:pointer}.vm-notification-native .allow{background:#0b66d8;color:#fff}.vm-notification-native .later{background:#eef3f9;color:#203145}.vm-notification-native .ico{width:45px;height:45px;border-radius:16px;background:#eef6ff;color:#0b66d8;display:grid;place-items:center;font-size:20px;flex-shrink:0}@keyframes vmPop{from{opacity:0;transform:translateY(18px)}to{opacity:1;transform:none}}@media(max-width:850px){.vm-legal-grid{grid-template-columns:1fr}.vm-legal-toc{position:relative;top:auto}.vm-footer-legal{grid-template-columns:1fr 1fr}.vm-policy-admin-grid{grid-template-columns:1fr}.vm-notification-native{right:10px;left:10px;bottom:10px;max-width:none}.vm-legal-card{padding:24px}}

/* Footer unified layout fix */
.footer{overflow:hidden}.footer .container{max-width:1200px;margin:0 auto;padding:0 18px}.footer-grid{align-items:start;grid-template-columns:1.45fr 1fr 1fr 1.25fr 1.35fr!important;gap:34px!important}.footer-links[data-vm-legal-box] ul{display:grid!important;grid-template-columns:1fr;gap:10px}.footer-bottom{clear:both}.footer-bottom-inner{border-top:0!important}.footer .vm-footer-legal{display:none!important}.footer a{word-break:normal}.footer-contact li{justify-content:flex-start}.footer-brand{min-width:0}@media(max-width:1100px){.footer-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}}@media(max-width:640px){.footer-top{padding:48px 0 28px!important}.footer-grid{grid-template-columns:1fr!important;text-align:right!important;gap:26px!important}.footer-bottom-inner{align-items:flex-start!important;text-align:right!important}.footer-legal{flex-wrap:wrap}.social-links{justify-content:flex-start}}
