/* Only enqueued when ryst_enabled. Does not affect other Letbase sites. */
body.letbase .menu-bar-item.lb-ryst-bar{padding-left:8px}
body.letbase .menu-bar-item.lb-ryst-bar .lb-ryst-btn,
body.letbase button.lb-ryst-btn,body.letbase a.lb-ryst-btn{cursor:pointer;font-family:inherit;font-weight:700;text-decoration:none}
body.letbase .menu-bar-item.lb-ryst-bar .lb-ryst-btn{padding:10px 16px;line-height:1;font-size:15px;border:2px solid transparent}
body.letbase button.lb-ryst-btn.lb-btn-amber,body.letbase a.lb-ryst-btn.lb-btn-amber{background:var(--lb-amber,#F08C00);color:var(--lb-deep,#1F1A17)}
body.letbase button.lb-ryst-btn.lb-btn-amber:hover,body.letbase a.lb-ryst-btn.lb-btn-amber:hover{background:var(--lb-amberhover,#D97D00);color:var(--lb-deep,#1F1A17)}
body.letbase button.lb-ryst-btn:focus-visible,body.letbase a.lb-ryst-btn:focus-visible{outline:3px solid var(--lb-deep,#1F1A17);outline-offset:3px}
body.letbase .lb-ryst-mark{display:inline-flex;width:20px;height:20px;flex:none}
body.letbase .lb-ryst-mark svg{width:20px;height:20px;display:block}
body.letbase .lb-ryst-btn.is-shaking{pointer-events:none}
body.letbase .lb-ryst-btn.is-shaking .lb-ryst-mark{animation:ryst-shake .7s ease-in-out}
/* Indsend becomes outline when the amber slot is used by Ryst Posen */
body.letbase .menu-bar-item.lb-submit-bar>a.lb-btn-amber{
  background:transparent;color:var(--lb-deep,#1F1A17);border-color:var(--lb-deep,#1F1A17);
}
body.letbase .menu-bar-item.lb-submit-bar>a.lb-btn-amber:hover{
  background:var(--lb-sky,#F8EFE4);color:var(--lb-deep,#1F1A17);
}
body.letbase .wp-block-button.lb-btn-ghost .wp-block-button__link{
  background:transparent;color:var(--lb-deep,#1F1A17);border:2px solid var(--lb-deep,#1F1A17);border-radius:999px;font-weight:700;
}
body.letbase .wp-block-button.lb-btn-amber button.wp-block-button__link,
body.letbase .wp-block-button.lb-btn-amber a.wp-block-button__link{
  background:var(--lb-amber,#F08C00);color:var(--lb-deep,#1F1A17);border-radius:999px;font-weight:700;padding:14px 24px;font-size:16px;border:0;cursor:pointer;display:inline-flex;align-items:center;gap:8px;
}
.visually-hidden{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.ryst-burst{position:fixed;left:var(--ryst-x,50%);top:var(--ryst-y,40%);width:0;height:0;z-index:80;pointer-events:none}
.ryst-burst-inner{position:relative}
.ryst-burst-bag{position:absolute;left:-48px;top:-86px;width:96px;height:96px;filter:drop-shadow(0 10px 18px rgba(31,26,23,.28))}
.ryst-burst-bag svg{width:96px;height:96px;display:block}
.ryst-burst.is-on .ryst-burst-bag{animation:ryst-shake 1.15s ease-in-out}
.ryst-piece{position:absolute;left:-10px;top:-48px;opacity:0;display:block}
.ryst-piece svg{display:block;width:100%;height:100%}
.ryst-piece.p1{width:18px;height:18px}
.ryst-piece.p2{width:24px;height:16px}
.ryst-piece.p3{width:12px;height:12px}
.ryst-piece.p4{width:22px;height:15px}
.ryst-piece.p5{width:16px;height:16px}
.ryst-piece.p6{width:11px;height:11px}
.ryst-piece.p7{width:20px;height:18px}
.ryst-piece.p8{width:22px;height:15px}
.ryst-burst.is-on .p1{animation:ryst-fly-1 1.2s ease-out forwards}
.ryst-burst.is-on .p2{animation:ryst-fly-2 1.25s ease-out .05s forwards}
.ryst-burst.is-on .p3{animation:ryst-fly-3 1.15s ease-out .08s forwards}
.ryst-burst.is-on .p4{animation:ryst-fly-4 1.22s ease-out .04s forwards}
.ryst-burst.is-on .p5{animation:ryst-fly-5 1.18s ease-out .1s forwards}
.ryst-burst.is-on .p6{animation:ryst-fly-6 1.2s ease-out .06s forwards}
.ryst-burst.is-on .p7{animation:ryst-fly-7 1.24s ease-out .03s forwards}
.ryst-burst.is-on .p8{animation:ryst-fly-8 1.16s ease-out .07s forwards}
@keyframes ryst-shake{
  0%{transform:rotate(0) translate(0,0)}
  12%{transform:rotate(-14deg) translate(-5px,2px)}
  24%{transform:rotate(12deg) translate(6px,-3px)}
  36%{transform:rotate(-11deg) translate(-4px,3px)}
  50%{transform:rotate(9deg) translate(5px,-2px)}
  64%{transform:rotate(-6deg) translate(-2px,1px)}
  78%{transform:rotate(4deg) translate(2px,-1px)}
  100%{transform:rotate(0) translate(0,0)}
}
@keyframes ryst-fly-1{0%{opacity:0;transform:translate(0,0) rotate(0) scale(.4)}12%{opacity:1}100%{opacity:0;transform:translate(-110px,-120px) rotate(-40deg) scale(1)}}
@keyframes ryst-fly-2{0%{opacity:0;transform:translate(0,0) rotate(0) scale(.4)}12%{opacity:1}100%{opacity:0;transform:translate(120px,-100px) rotate(28deg) scale(1)}}
@keyframes ryst-fly-3{0%{opacity:0;transform:translate(0,0) scale(.4)}12%{opacity:1}100%{opacity:0;transform:translate(-40px,-140px) scale(1)}}
@keyframes ryst-fly-4{0%{opacity:0;transform:translate(0,0) rotate(0) scale(.4)}12%{opacity:1}100%{opacity:0;transform:translate(90px,-40px) rotate(18deg) scale(1)}}
@keyframes ryst-fly-5{0%{opacity:0;transform:translate(0,0) rotate(0) scale(.4)}12%{opacity:1}100%{opacity:0;transform:translate(-130px,-50px) rotate(-24deg) scale(1)}}
@keyframes ryst-fly-6{0%{opacity:0;transform:translate(0,0) scale(.4)}12%{opacity:1}100%{opacity:0;transform:translate(30px,-150px) scale(1.1)}}
@keyframes ryst-fly-7{0%{opacity:0;transform:translate(0,0) rotate(0) scale(.4)}12%{opacity:1}100%{opacity:0;transform:translate(-80px,40px) rotate(-16deg) scale(1)}}
@keyframes ryst-fly-8{0%{opacity:0;transform:translate(0,0) rotate(0) scale(.4)}12%{opacity:1}100%{opacity:0;transform:translate(110px,30px) rotate(22deg) scale(1)}}
@media (prefers-reduced-motion:reduce){
  .lb-ryst-btn.is-shaking .lb-ryst-mark,.ryst-burst.is-on .ryst-burst-bag,.ryst-burst.is-on .ryst-piece{animation:none!important}
}
@media (max-width:768px){
  body.letbase .menu-bar-item.lb-ryst-bar .lb-ryst-btn{padding:8px 12px;font-size:13.5px}
  body.letbase .menu-bar-item.lb-submit-bar>a.lb-btn{padding:8px 12px;font-size:13.5px}
}

body.letbase .lb-footer .lb-wordmark{display:inline-flex;align-items:center;gap:8px}
body.letbase .lb-footer .lb-wordmark .lb-ryst-mark{width:28px;height:28px}
body.letbase .lb-footer .lb-wordmark .lb-ryst-mark svg{width:28px;height:28px}
