/* Rigby's shared guest popup and admin preview. */
.rb-event-modal .modal-dialog { max-width:620px; margin:24px auto; padding:0 12px; min-height:calc(100% - 48px); }
.rb-event-card { --event-navy:#001b5b; --event-blue:#06398f; --event-yellow:#ffd62a; --event-ink:#0a2c59; background:#fff; color:var(--event-ink); border:1px solid rgba(0,55,132,.16); border-radius:22px; overflow:hidden; box-shadow:0 24px 72px rgba(0,24,76,.24); font-family:Arial,Helvetica,sans-serif; text-align:left; width:100%; display:flex; flex-direction:column; }
.rb-event-modal .rb-event-card { max-height:calc(100vh - 48px); max-height:calc(100dvh - 48px); }
.rb-event-heading { position:relative; display:flex; align-items:center; gap:18px; padding:24px; padding-right:54px; background:linear-gradient(125deg,var(--event-navy),var(--event-blue)); border-bottom:4px solid var(--event-yellow); flex-shrink:0; }
.rb-event-logo { width:90px; max-height:76px; object-fit:contain; flex:0 0 90px; }
.rb-event-heading-copy { min-width:0; }
.rb-event-eyebrow { display:block; color:#ffe96e; font-size:10px; line-height:1.5; letter-spacing:.14em; font-weight:800; text-transform:uppercase; margin-bottom:7px; }
.rb-event-heading .rb-event-title { color:#fff; font-family:inherit; font-size:25px; font-weight:800; line-height:1.2; letter-spacing:-.03em; margin:0; overflow-wrap:anywhere; }
.rb-event-dismiss { position:absolute; top:12px; right:12px; display:grid; place-items:center; width:32px; height:32px; padding:0; border:1px solid rgba(255,255,255,.35); border-radius:50%; color:#fff; background:rgba(255,255,255,.08); font:26px/1 Arial,sans-serif; cursor:pointer; }
.rb-event-dismiss:hover { background:rgba(255,255,255,.22); }
.rb-event-scroll { min-height:0; overflow:auto; overscroll-behavior:contain; }
.rb-event-image-wrap { background:#edf5ff; padding:16px 24px 0; }
.rb-event-image { display:block; width:100%; height:auto; max-height:300px; object-fit:contain; border-radius:12px; }
.rb-event-copy { padding:24px; color:var(--event-ink); font-size:16px; line-height:1.65; overflow-wrap:anywhere; }
.rb-event-copy p { margin:0 0 14px; }
.rb-event-copy p:last-child { margin-bottom:0; }
.rb-event-copy h2, .rb-event-copy h3, .rb-event-copy h4 { font-family:inherit; color:var(--event-navy); font-weight:800; line-height:1.3; margin:22px 0 10px; }
.rb-event-copy h2 { font-size:22px; }
.rb-event-copy h3 { font-size:19px; }
.rb-event-copy h4 { font-size:17px; }
.rb-event-copy > :first-child { margin-top:0; }
.rb-event-copy a { color:#075bb5; font-weight:700; text-decoration:underline; text-underline-offset:3px; }
.rb-event-copy a:hover { color:#b44300; }
.rb-event-copy ul, .rb-event-copy ol { margin:0 0 16px; padding-left:26px; }
.rb-event-copy ul { list-style:disc outside; }
.rb-event-copy ol { list-style:decimal outside; }
.rb-event-copy li { margin:5px 0; }
.rb-event-copy blockquote { margin:16px 0; padding:12px 16px; border-left:4px solid #f57919; background:#fff8e9; }
.rb-event-copy img { display:inline-block; max-width:100%; height:auto; border-radius:10px; }
.rb-event-copy .ql-align-center { text-align:center; }
.rb-event-copy .ql-align-right { text-align:right; }
.rb-event-copy .ql-align-justify { text-align:justify; }
.rb-event-copy .ql-size-small { font-size:.8em; }
.rb-event-copy .ql-size-large { font-size:1.4em; }
.rb-event-copy .ql-size-huge { font-size:1.8em; }
.rb-event-copy .ql-indent-1 { padding-left:2em; }
.rb-event-copy .ql-indent-2 { padding-left:4em; }
.rb-event-copy .ql-indent-3 { padding-left:6em; }
.rb-event-copy .ql-indent-4 { padding-left:8em; }
.rb-event-copy .ql-indent-5 { padding-left:10em; }
.rb-event-copy .ql-indent-6 { padding-left:12em; }
.rb-event-copy .ql-indent-7 { padding-left:14em; }
.rb-event-copy .ql-indent-8 { padding-left:16em; }
.rb-event-footer { display:flex; align-items:center; flex-wrap:wrap; gap:12px; padding:18px 24px; background:#f3f8ff; border-top:1px solid rgba(0,55,132,.12); flex-shrink:0; }
.rb-event-card .rb-event-cta { display:inline-flex; align-items:center; justify-content:center; gap:12px; padding:13px 20px; border:0; border-radius:999px; background:linear-gradient(110deg,#ffe96e,#ffd62a); color:var(--event-navy); font-family:inherit; font-size:14px; font-weight:800; line-height:1.4; text-decoration:none; overflow-wrap:anywhere; max-width:100%; }
.rb-event-card .rb-event-cta:hover { background:linear-gradient(110deg,#ffd62a,#ffc04c); color:var(--event-navy); }
.rb-event-close-text { border:0; padding:10px 6px; background:transparent; color:#36577d; font:700 14px Arial,sans-serif; cursor:pointer; }
.rb-event-close-text:hover { color:#001b5b; text-decoration:underline; }
.rb-event-location { display:block; flex-basis:100%; color:#5d7190; font-size:11px; letter-spacing:.03em; }
.rb-event-card [hidden] { display:none !important; }
.rb-event-card a:focus-visible, .rb-event-card button:focus-visible { outline:3px solid #f57919; outline-offset:3px; }
@media (max-width:575px) {
  .rb-event-modal .modal-dialog { margin:12px auto; min-height:calc(100% - 24px); }
  .rb-event-modal .rb-event-card { max-height:calc(100vh - 24px); max-height:calc(100dvh - 24px); }
  .rb-event-heading { gap:12px; padding:20px 46px 20px 18px; }
  .rb-event-logo { width:64px; flex-basis:64px; }
  .rb-event-heading .rb-event-title { font-size:21px; }
  .rb-event-eyebrow { font-size:9px; }
  .rb-event-copy { padding:20px; font-size:15px; }
  .rb-event-image-wrap { padding:16px 20px 0; }
  .rb-event-footer { padding:16px 20px; }
  .rb-event-copy h2 { font-size:20px; }
}
