/* Scope to dark action surfaces: transparent navigation and light buttons retain their colors. */
html body .bf-dark-action,html body .bf-dark-action :is(span,strong,b,em,i),html body .bc-dialog-submit,html body .bc-news-submit,html body .bc-news-invite-submit{color:#fff!important;-webkit-text-fill-color:#fff!important}
html body .bf-dark-action:is(:hover,:focus-visible),html body .bf-dark-action:is(:hover,:focus-visible) :is(span,strong,b,em,i),html body :is(.bc-dialog-submit,.bc-news-submit,.bc-news-invite-submit):is(:hover,:focus-visible){color:#e9e7df!important;-webkit-text-fill-color:#e9e7df!important}
html body .bf-dark-action:is(:hover,:focus-visible){background-color:var(--bf-dark-action-bg)!important}
.bf-ride-invite{box-sizing:border-box;width:min(820px,calc(100vw - 32px));max-width:none;max-height:calc(100dvh - 40px);margin:auto;padding:0;border:1px solid #6d786d;border-radius:0;background:#e9e7df;color:#17251c;overflow:auto;box-shadow:0 24px 100px #06120d66;font-family:Arial,Helvetica,sans-serif}
.bf-ride-invite:not([open]){display:none}
.bf-ride-invite[open]{display:grid;grid-template-columns:42% 58%}
.bf-ride-invite::backdrop{background:#07150ed1}
.bf-ride-invite-photo{position:relative;min-height:510px;background:#21382c;overflow:hidden}
.bf-ride-invite-photo img{width:100%;height:100%;position:absolute;inset:0;object-fit:cover;object-position:53% center;filter:saturate(.6)}
.bf-ride-invite-photo:after{content:"";position:absolute;inset:40% 0 0;background:linear-gradient(transparent,#07150ec9)}
.bf-ride-invite-photo>span{position:absolute;z-index:1;left:25px;bottom:28px;color:#fff;font-size:25px;letter-spacing:-1px}
.bf-ride-invite-copy{position:relative;padding:46px 38px 28px}
.bf-ride-invite-close{position:absolute;right:13px;top:10px;width:44px;height:44px;padding:0;border:0;background:transparent;color:#17251c;font-size:30px;font-weight:400;line-height:1;cursor:pointer}
.bf-ride-invite-date{margin:10px 0 22px;font-size:13px;font-weight:700;color:#476258}
.bf-ride-invite h2{margin:0 0 24px;font-family:Arial,Helvetica,sans-serif;font-size:clamp(34px,4vw,47px);font-weight:500;line-height:1.04;letter-spacing:-2px;color:#17251c;text-transform:none}
.bf-ride-invite-name{margin:0 0 13px;font-size:14px;font-weight:700;line-height:1.5}
#bf-ride-invite-copy{margin:0 0 14px;font-size:15px;line-height:1.65;color:#415347}
.bf-ride-invite-cost{margin:0 0 24px;font-size:12px;line-height:1.5;color:#476258}
.bf-ride-invite-join{display:flex;align-items:center;justify-content:space-between;gap:20px;min-height:52px;width:100%;padding:14px 18px;border:0;border-radius:0;background:#17251c;color:#fff;font-family:inherit;font-size:15px;font-weight:700;cursor:pointer}
.bf-ride-invite-join:hover{color:#e9e7df}
.bf-ride-invite-join span{font-size:23px}
.bf-ride-invite-later{display:block;width:100%;min-height:44px;padding:11px 0 0;border:0;background:transparent;color:#415347;font-family:inherit;font-size:13px;text-decoration:underline;text-underline-offset:3px;cursor:pointer}
.bf-ride-invite button:focus-visible{outline:3px solid #527a5d;outline-offset:3px}
@media(max-width:600px){.bf-ride-invite[open]{grid-template-columns:1fr}.bf-ride-invite-photo{height:150px;min-height:0}.bf-ride-invite-photo img{object-position:center 55%}.bf-ride-invite-photo>span{bottom:17px;left:23px;font-size:21px}.bf-ride-invite-copy{padding:27px 24px 20px}.bf-ride-invite-date{margin:5px 35px 17px 0;font-size:12px}.bf-ride-invite h2{font-size:36px;margin-bottom:16px;letter-spacing:-1.6px}.bf-ride-invite-name{font-size:13px}#bf-ride-invite-copy{font-size:14px;line-height:1.55}.bf-ride-invite-cost{margin-bottom:18px}}
@media(max-height:580px){.bf-ride-invite-photo{min-height:0}.bf-ride-invite-copy{padding-top:27px}.bf-ride-invite h2{font-size:32px}}
