/* Guides — premium layer (29/10/2026). Applied on top of the published guides: same copy,
   same tables, sources and FAQ. Adds a film behind the guide header, the explainer video
   block, and the motion of the premium pages. Decorative only. */
.gx-site #main .mpg-premium{--mpg-bg:#03111b;--mpg-surface:#071a27;--mpg-gold:#edbf70;--mpg-gold-soft:#f5d397;--mpg-ink:#f5f0e7;--mpg-text:#d0d6db;--mpg-muted:#a9b6bf;--mpg-line:rgba(245,240,231,.1);--mpg-line-gold:rgba(237,191,112,.3)}

/* Film (shared) */
.gx-site #main .mpg-film{position:absolute;top:0;bottom:0;left:calc(50% - 50vw);width:100vw;z-index:-1;overflow:hidden;pointer-events:none;background:#03111b}
.gx-site #main .mpg-film__still,.gx-site #main .mpg-film__video{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:50% 45%;transition:opacity .9s ease}
.gx-site #main .mpg-film__video{opacity:0}
.gx-site #main .mpg-film.will-play .mpg-film__video{opacity:1}
.gx-site #main .mpg-film.will-play .mpg-film__still{opacity:0}
.gx-site #main .mpg-film__shade{position:absolute;inset:0;background:linear-gradient(90deg,#03111b 0%,rgba(3,17,27,.9) 32%,rgba(3,17,27,.5) 58%,rgba(3,17,27,.18) 100%),linear-gradient(180deg,rgba(3,17,27,.45) 0%,transparent 24%,transparent 68%,#03111b 100%)}

/* Exit tax guide: the header gets the film and the type scale of the premium pages */
.gx-site #main .mpg-premium .mpg-head{position:relative;isolation:isolate;padding:clamp(36px,3.5vw,64px) 0 clamp(52px,4.5vw,84px);margin-bottom:clamp(28px,3vw,48px)}
.gx-site #main .mpg-premium .mpg-head>:not(.mpg-film){position:relative;max-width:780px}
.gx-site #main .mpg-premium .mpg-head .gx-title{font-size:clamp(40px,1.4rem + 2.6vw,62px);line-height:1.05;letter-spacing:-.02em;text-wrap:balance}
.gx-site #main .mpg-premium .mpg-head .gx-lead{font-size:18px;line-height:1.7;color:var(--mpg-text)}
.gx-site #main .mpg-premium .mpg-head .gx-eyebrow{color:var(--mpg-gold);letter-spacing:.16em}

/* Luxembourg life insurance: the film replaces the illustration, copy stays on the left */
.gx-site #main .mpg-premium .avlux-hero{position:relative;isolation:isolate;overflow:hidden;background:#03111b}
.gx-site #main .mpg-premium .avlux-hero .mpg-film{left:0;width:100%}
.gx-site #main .mpg-premium .avlux-hero:has(>.mpg-film) .avlux-hero__visual{display:none}
.gx-site #main .mpg-premium .avlux-hero:has(>.mpg-film) .avlux-hero__inner{position:relative;z-index:1;grid-template-columns:minmax(0,640px)}

/* Lombard loan: the published bridge scene comes alive with a slow push-in (photo, arc and labels move together) */
@media (prefers-reduced-motion:no-preference) and (min-width:900px){
  .gx-site #main .mpg-premium .clh{overflow:hidden}
  .gx-site #main .mpg-premium .clh-scene{animation:mpg-push 14s cubic-bezier(.16,1,.3,1) both;transform-origin:78% 50%}
  @keyframes mpg-push{from{transform:scale(1.06)}to{transform:none}}
}

/* Explainer video */
.gx-site #main .mpx{position:relative;margin:clamp(24px,3vw,40px) 0 clamp(40px,4vw,64px)}
.gx-site #main .mpx__card{display:grid;grid-template-columns:minmax(0,.8fr) minmax(0,1.2fr);gap:clamp(20px,3vw,44px);align-items:center;padding:clamp(20px,2.4vw,32px);border:1px solid var(--mpg-line-gold,rgba(237,191,112,.3));border-radius:16px;background:radial-gradient(circle at 85% 10%,rgba(237,191,112,.1),transparent 50%),linear-gradient(150deg,#0b2333,#03111b 75%);box-shadow:0 30px 80px rgba(0,0,0,.3)}
.gx-site #main .mpx__eyebrow{margin:0 0 14px;color:#edbf70;font:700 12px/1.6 Manrope,sans-serif;letter-spacing:.16em;text-transform:uppercase}
.gx-site #main .mpx__title{margin:0;font:400 clamp(28px,1.2rem + 1.4vw,40px)/1.12 'EB Garamond',Georgia,serif;color:#f5f0e7;letter-spacing:-.01em;text-wrap:balance}
.gx-site #main .mpx__text{margin:14px 0 0;color:#d0d6db;font-size:16px;line-height:1.65}
.gx-site #main .mpx__media{position:relative;margin:0;aspect-ratio:16/9;border-radius:12px;overflow:hidden;background:#03111b;box-shadow:0 0 0 1px rgba(245,240,231,.08)}
.gx-site #main .mpx__media video{display:block;width:100%;height:100%;object-fit:cover}
.gx-site #main .mpx__play{position:absolute;inset:0;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:16px;border:0;background:radial-gradient(circle at 50% 50%,rgba(3,17,27,.55),rgba(3,17,27,.78) 70%);color:#f5f0e7;font:700 14px/1 Manrope,sans-serif;cursor:pointer}
.gx-site #main .mpx__play span:last-child{padding:8px 14px;border:1px solid rgba(237,191,112,.35);border-radius:999px;background:rgba(3,17,27,.85);letter-spacing:.02em}
.gx-site #main .mpx__play span:first-child{display:grid;place-items:center;width:72px;height:72px;border-radius:50%;background:linear-gradient(120deg,#f3ce85,#e0ad57);box-shadow:0 0 0 10px rgba(237,191,112,.16);transition:transform .3s cubic-bezier(.16,1,.3,1)}
.gx-site #main .mpx__play span:first-child::after{content:"";margin-left:5px;border-style:solid;border-width:11px 0 11px 18px;border-color:transparent transparent transparent #171208}
.gx-site #main .mpx__play:hover span:first-child,.gx-site #main .mpx__play:focus-visible span:first-child{transform:scale(1.07)}
.gx-site #main .mpx__play:focus-visible{outline:3px solid #ffe0a0;outline-offset:-6px}
.gx-site #main .mpx.is-playing .mpx__play{display:none}
@media (max-width:860px){.gx-site #main .mpx__card{grid-template-columns:1fr}}

/* Page motion shared with the premium pages */
@media (prefers-reduced-motion:no-preference){@view-transition{navigation:auto}}
.gx-site .gx-header{view-transition-name:mp-header}
::view-transition-old(root){animation:.28s cubic-bezier(.4,0,1,1) both mpg-vt-out}
::view-transition-new(root){animation:.6s cubic-bezier(.16,1,.3,1) both mpg-vt-in}
@keyframes mpg-vt-out{to{opacity:0;transform:translateY(-10px)}}
@keyframes mpg-vt-in{from{opacity:0;transform:translateY(16px)}}
@supports (animation-timeline:view()){
  @media (prefers-reduced-motion:no-preference){
    .gx-site #main .mpg-premium .mpg-head,.gx-site #main .mpg-premium .avlux-hero{view-timeline-name:--mpg-hero}
    .gx-site #main .mpg-premium .mpg-head>.mpg-film,.gx-site #main .mpg-premium .avlux-hero>.mpg-film{animation:mpg-drift linear both;animation-timeline:--mpg-hero;animation-range:exit 0% exit 100%}
    @keyframes mpg-drift{from{transform:none}to{transform:translateY(14%) scale(1.05)}}
    .gx-site #main .mpg-premium .mp-guide-section h2,.gx-site #main .mpg-premium .mp-guide>h2,.gx-site #main .mpg-premium .mp-guide h2{view-timeline-name:--mpg-h2;animation:mpg-light linear both;animation-timeline:--mpg-h2;animation-range:cover 2% cover 24%}
    @keyframes mpg-light{from{opacity:.16}to{opacity:1}}
  }
}

@media (max-width:1023px){
  .gx-site #main .mpg-film__still,.gx-site #main .mpg-film.will-play .mpg-film__video{opacity:.45}
  .gx-site #main .mpg-film.will-play .mpg-film__still{opacity:0}
  .gx-site #main .mpg-film__shade{background:linear-gradient(180deg,rgba(3,17,27,.55) 0%,rgba(3,17,27,.75) 50%,#03111b 100%)}
}
@media (max-width:767px){.gx-site #main .mpg-film__video{object-position:50% 40%}}
.gx-site #main .mpg-premium .mpx-wrap{width:min(1240px,calc(100% - 40px));margin:0 auto}
.gx-site #main .mpg-premium .mpx-wrap .mpx{margin:clamp(40px,4vw,72px) 0}
.gx-site #main .gx-resource.mpg-premium{padding-top:0}
.gx-site #main .mpg-premium .mpg-head .gx-small{margin-top:22px;color:var(--mpg-muted)}
.gx-site #main .mpg-premium .avlux-hero .mpg-film__still,.gx-site #main .mpg-premium .avlux-hero .mpg-film__video{filter:saturate(1.2) brightness(1.08)}
