/* In Galop — legal pages playful v2. Formatting only: no legal copy is changed. */
body.ig-legal-page{--lp-navy:#10233f;--lp-teal:#087887;--lp-green:#24b98b;--lp-pink:#f34791;--lp-gold:#f7b720;--lp-lilac:#816bd7;--lp-cream:#fff8e9;background:linear-gradient(180deg,#fffaf0 0%,#fff5df 100%)!important}
body.ig-legal-page .breadcrumb{font-size:12px!important;font-weight:900!important;background:rgba(255,253,247,.94)!important;backdrop-filter:blur(10px);position:relative;z-index:2}
body.ig-legal-page .layout{align-items:flex-start!important;position:relative}
body.ig-legal-page .layout:before{content:"";position:fixed;left:-95px;top:34vh;width:260px;height:260px;border-radius:50%;background:radial-gradient(circle,rgba(243,71,145,.09),rgba(243,71,145,0) 68%);pointer-events:none}
body.ig-legal-page .layout:after{content:"";position:fixed;right:-95px;bottom:14vh;width:280px;height:280px;border-radius:50%;background:radial-gradient(circle,rgba(36,185,139,.10),rgba(36,185,139,0) 68%);pointer-events:none}
body.ig-legal-page .sidebar{border-top:5px solid var(--lp-pink)!important;overflow:hidden!important}
body.ig-legal-page .sidebar-title{font-size:11px!important;text-transform:uppercase!important;letter-spacing:1.2px!important;color:#8b6576!important}
body.ig-legal-page .policy-card{position:relative!important;background:rgba(255,253,248,.98)!important}
body.ig-legal-page .policy-header{min-height:200px!important;display:flex!important;align-items:flex-end!important;gap:18px!important;padding-top:46px!important;background:linear-gradient(130deg,#063f55 0%,#087887 56%,#493584 125%)!important}
body.ig-legal-page .policy-header:before{content:"";position:absolute;left:24px;top:18px;width:92px;height:70px;background:url('/site-images/in-galop-badge.webp') center/contain no-repeat;opacity:.16;filter:saturate(.85)}
body.ig-legal-page .policy-header .doc-icon{flex:0 0 auto;width:68px!important;height:68px!important;border-radius:22px!important;font-size:32px!important;margin:0!important;background:linear-gradient(145deg,#ffd552,#f7a918)!important;box-shadow:0 7px 0 #c98205,0 13px 24px rgba(0,0,0,.14)!important}
body.ig-legal-page .policy-header>div[lang]{position:relative;z-index:1}
body.ig-legal-page .policy-header .meta{display:inline-flex!important;flex-wrap:wrap!important;gap:6px!important;padding:7px 11px!important;border-radius:999px!important;background:rgba(255,255,255,.10)!important;border:1px solid rgba(255,255,255,.12)!important;color:rgba(255,255,255,.85)!important;line-height:1.35!important}
body.ig-legal-page .policy-body{position:relative!important}
body.ig-legal-page .policy-body>div[lang]{display:block}
body.ig-legal-page .policy-body p.lead{position:relative!important;padding:20px 20px 20px 62px!important;background:linear-gradient(135deg,#e9f8f3,#edf8ff)!important;border-left:0!important;box-shadow:inset 0 0 0 1px #bfe2d9!important}
body.ig-legal-page .policy-body p.lead:before{content:"✓";position:absolute;left:18px;top:19px;width:31px;height:31px;border-radius:10px;display:grid;place-items:center;background:#24b98b;color:white;font-weight:1000;box-shadow:0 4px 0 #168d68}
body.ig-legal-page .policy-body h2{position:relative!important;margin-top:22px!important;border:0!important;border-radius:17px!important;padding:13px 16px 13px 48px!important;background:#f4f0ff!important;color:var(--lp-navy)!important;box-shadow:inset 0 0 0 1px rgba(129,107,215,.12)!important}
body.ig-legal-page .policy-body h2:before{content:"§";position:absolute;left:14px;top:50%;transform:translateY(-50%);width:25px;height:25px;border-radius:8px;background:#816bd7;color:white;display:grid;place-items:center;font-size:14px;font-weight:1000}
body.ig-legal-page .policy-body h2:nth-of-type(4n+2){background:#eaf9f5!important}body.ig-legal-page .policy-body h2:nth-of-type(4n+2):before{background:#24b98b!important}
body.ig-legal-page .policy-body h2:nth-of-type(4n+3){background:#fff3d2!important}body.ig-legal-page .policy-body h2:nth-of-type(4n+3):before{background:#e6a209!important}
body.ig-legal-page .policy-body h2:nth-of-type(4n+4){background:#fff0f6!important}body.ig-legal-page .policy-body h2:nth-of-type(4n+4):before{background:#f34791!important}
body.ig-legal-page .policy-body h3{margin-top:22px!important;padding-left:12px!important;border-left:4px solid var(--lp-gold)!important}
body.ig-legal-page .policy-body ul{padding-left:0!important;list-style:none!important;display:grid!important;gap:7px!important}
body.ig-legal-page .policy-body li{position:relative!important;padding:8px 12px 8px 34px!important;border-radius:12px!important;background:rgba(255,255,255,.7)!important;border:1px solid rgba(16,35,63,.06)!important}
body.ig-legal-page .policy-body li:before{content:"•";position:absolute;left:13px;top:6px;color:#24b98b;font-size:24px;line-height:1;font-weight:1000}
body.ig-legal-page .info-box,body.ig-legal-page .box,body.ig-legal-page .card{box-shadow:0 8px 20px rgba(16,35,63,.05)!important}
body.ig-legal-page .no-grid{gap:8px!important}
body.ig-legal-page .no-item{background:#fff2f6!important;border:1px solid #f8cfdf!important;color:#6d4052!important;font-weight:800!important}
body.ig-legal-page .cbox{position:relative!important;overflow:hidden!important;background:linear-gradient(125deg,#075463 0%,#087887 65%,#44317a 130%)!important;padding:24px!important}
body.ig-legal-page .cbox:after{content:"";position:absolute;right:-18px;bottom:-24px;width:96px;height:96px;background:url('/site-images/in-galop-badge.webp') center/contain no-repeat;opacity:.13}
body.ig-legal-page .page-nav{gap:12px!important}
body.ig-legal-page .page-nav a{position:relative!important;overflow:hidden!important;padding:18px!important;border-top:4px solid #f7b720!important;transition:transform .18s ease,box-shadow .18s ease!important}
body.ig-legal-page .page-nav a:hover{transform:translateY(-2px)!important;box-shadow:0 10px 22px rgba(16,35,63,.09)!important;text-decoration:none!important}

/* Dynamically generated on-page navigator */
body.ig-legal-page .legal-onpage{position:sticky;top:92px;width:250px;flex:0 0 250px;background:#fffdf8;border:1px solid #eadfc5;border-radius:22px;padding:18px;box-shadow:0 12px 34px rgba(16,35,63,.08);border-top:5px solid #24b98b}
body.ig-legal-page .legal-onpage strong{display:block;color:#087887;font-size:13px;margin-bottom:10px;font-weight:1000}
body.ig-legal-page .legal-onpage a{display:block;color:#5c6878;font-size:11px;font-weight:800;line-height:1.35;padding:7px 0 7px 15px;position:relative}
body.ig-legal-page .legal-onpage a:before{content:"";width:6px;height:6px;border-radius:50%;background:#24b98b;position:absolute;left:0;top:12px}
body.ig-legal-page .legal-onpage a:hover{color:#087887;text-decoration:none}
body.ig-legal-page .main{flex:1!important}
body.ig-legal-page .layout.legal-has-onpage{max-width:1280px!important}

/* index page gets a more colorful card system too */
body.ig-legal-page .index-hero{background:linear-gradient(130deg,#063f55 0%,#087887 60%,#44317a 130%)!important;border-bottom:7px solid #f7b720!important}
body.ig-legal-page .doc-link:nth-child(4n+1){border-top-color:#24b98b!important}.ig-legal-page .doc-link:nth-child(4n+2){border-top-color:#f34791!important}.ig-legal-page .doc-link:nth-child(4n+3){border-top-color:#816bd7!important}.ig-legal-page .doc-link:nth-child(4n){border-top-color:#f7b720!important}
body.ig-legal-page .doc-link{transition:transform .18s ease,box-shadow .18s ease!important}

@media(max-width:1040px){body.ig-legal-page .legal-onpage{display:none!important}}
@media(max-width:760px){
  body.ig-legal-page .policy-header{min-height:0!important;display:block!important;padding:28px 22px 25px!important}
  body.ig-legal-page .policy-header .doc-icon{width:58px!important;height:58px!important;font-size:28px!important;margin-bottom:15px!important}
  body.ig-legal-page .policy-header:before{left:auto;right:18px;top:14px;width:76px;height:58px}
  body.ig-legal-page .policy-body h2{font-size:19px!important;padding:12px 12px 12px 45px!important;margin-top:19px!important}
  body.ig-legal-page .policy-body p,body.ig-legal-page .policy-body li{font-size:15px!important;line-height:1.65!important}
  body.ig-legal-page .policy-body p.lead{padding:18px 16px 18px 54px!important}
  body.ig-legal-page .policy-body p.lead:before{left:14px;top:17px}
  body.ig-legal-page .page-nav{grid-template-columns:1fr!important}
}
