/* RSVP confirmation (page-templates/rsvp-confirmed.php).

   Mobile first: base rules are the phone layout, and min-width queries add to
   it. The headline and the line under it sit above the fold on a phone, with
   the event card starting beneath them.

   The page palette is scoped to .jmi-rsvp so it never leaks into the shared
   nav or footer tokens. Gold is decorative only: the rule, the pin border,
   the button's hover edge. It never carries text, and never on evergreen.

   Every color is named outright. Nothing relies on the current text color or a value
   inherited from the parent theme. */

.jmi-rsvp{
  --rv-evergreen:#124334;
  --rv-ivory:#F7F6F2;
  --rv-charcoal:#2C2C2E;
  --rv-stone:#C9C7C4;
  --rv-gold:#BDA169;
  --rv-ease:cubic-bezier(.2,.6,.2,1);
  min-height:100vh;
  display:flex;
  flex-direction:column;
}

/* Background classes, owned by this page. */
.rv-on-ivory{background:var(--rv-ivory);color:var(--rv-charcoal)}
.rv-on-evergreen{background:var(--rv-evergreen);color:var(--rv-ivory)}

.vh{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}

/* Brand bar. Not a nav: the logo is not a link, so the page keeps a single
   way home. */
.rv-bar{display:flex;justify-content:center;align-items:center;padding:14px 20px}
.rv-logo{display:block;width:108px;height:auto}

/* Single centered column. */
.rv-col{width:100%;max-width:640px;margin:0 auto;padding:28px 20px 40px;box-sizing:border-box;flex:1 0 auto}

/* Leadership photo, under the headline on every device. A short band on a
   phone so the start of the event card still clears the fold, a 16:9 crop on
   tablet, and square on desktop, as the photo was shot. Never lazy, never
   faded in, since it is the largest element painted. */
.rv-photo{margin:24px 0 0;height:160px;overflow:hidden;background:var(--rv-stone)}
.rv-photo img{display:block;width:100%;height:100%;object-fit:cover;object-position:50% 42%}

.rv-top{text-align:center}
.rv-rule{display:block;width:44px;height:3px;margin:0 auto 16px;background:var(--rv-gold)}
.rv-eyebrow{margin:0 0 10px;font-family:var(--font-body);font-size:11px;font-weight:700;
  letter-spacing:.2em;text-transform:uppercase;color:var(--rv-charcoal)}
.rv-top h1{margin:0;font-family:var(--font-display);font-weight:400;font-size:34px;line-height:1.12;
  color:var(--rv-evergreen)}
.rv-lede{margin:12px 0 0;font-family:var(--font-body);font-size:17px;line-height:1.55;color:var(--rv-charcoal)}

/* Event card. */
.rv-card{margin-top:24px;padding:24px 22px 26px}
.rv-card-h{margin:0 0 14px;font-family:var(--font-display);font-weight:400;font-size:22px;
  line-height:1.2;color:var(--rv-ivory)}

.rv-recap{margin:0}
.rv-recap > div{display:grid;grid-template-columns:minmax(0,1fr);gap:2px;padding:11px 0;
  border-top:1px solid rgba(247,246,242,.16)}
.rv-recap > div:first-child{border-top:0;padding-top:0}
.rv-recap dt{font-family:var(--font-body);font-size:10px;font-weight:700;letter-spacing:.16em;
  text-transform:uppercase;color:rgba(247,246,242,.72)}
.rv-recap dd{margin:0;font-family:var(--font-body);font-size:16px;line-height:1.45;color:var(--rv-ivory)}

.rv-btn{display:block;margin-top:20px;padding:15px 20px;text-align:center;
  background:var(--rv-ivory);color:var(--rv-evergreen);font-family:var(--font-body);
  font-size:12px;font-weight:700;letter-spacing:.16em;text-transform:uppercase;
  box-shadow:inset 0 -3px 0 transparent;
  transition:background-color .3s var(--rv-ease),box-shadow .3s var(--rv-ease)}
.rv-btn:hover,.rv-btn:focus-visible{background:#FFFFFF;color:var(--rv-evergreen);
  box-shadow:inset 0 -3px 0 var(--rv-gold)}
.rv-btn:focus-visible{outline:2px solid var(--rv-ivory);outline-offset:3px}

/* Office map, full width of the column below the split. The tiles are muted
   to grayscale; the pin above them keeps its color, since the filter sits on
   the tile pane alone. */
.rv-map{height:240px;margin-top:28px;background:var(--rv-stone);border:1px solid var(--rv-stone);
  position:relative;z-index:0;isolation:isolate}
.rv-map .leaflet-tile-pane{filter:grayscale(1) contrast(.92) brightness(1.04)}

/* Branded pin, same marker as the contact page and the listings. */
.lz-pin{background:none;border:0}
.lz-pin-b{display:flex;align-items:center;justify-content:center;width:36px;height:36px;
  background:var(--rv-evergreen);border:2px solid var(--rv-gold);
  border-radius:50% 50% 50% 0;transform:rotate(-45deg);
  box-shadow:0 5px 14px rgba(18,67,52,.38)}
.lz-pin-b b{transform:rotate(45deg);color:var(--rv-ivory);font-family:var(--font-body);
  font-size:10px;font-weight:700;letter-spacing:.04em;line-height:1}

/* Questions, directly under the calendar card. */
.rv-help{margin-top:22px;text-align:center}
.rv-help-k{margin:0 0 4px;font-family:var(--font-body);font-size:15px;color:var(--rv-charcoal)}
.rv-tel{display:inline-block;padding:2px 8px;margin:0 -8px;font-family:var(--font-display);
  font-size:26px;color:var(--rv-evergreen);border-radius:2px;
  transition:background-color .3s var(--rv-ease)}
.rv-tel:hover,.rv-tel:focus-visible{background:rgba(18,67,52,.08);color:var(--rv-evergreen)}

/* The one way home. Weight and arrow carry the link cue, no underline. */
.rv-home{display:flex;justify-content:center;align-items:center;gap:8px;margin-top:14px;
  font-family:var(--font-body);font-size:15px;font-weight:700;color:var(--rv-evergreen)}
.rv-home span{display:inline-block;transition:transform .3s var(--rv-ease)}
.rv-home:hover,.rv-home:focus-visible{color:var(--rv-evergreen)}
.rv-home:hover span,.rv-home:focus-visible span{transform:translateX(4px)}

.rv-foot{padding:18px 20px;border-top:1px solid var(--rv-stone);text-align:center}
.rv-foot p{margin:0;font-family:var(--font-body);font-size:12px;color:var(--rv-charcoal)}

/* Small mobile and up: labels beside values. */
@media (min-width:480px){
  .rv-recap > div{grid-template-columns:minmax(0,8.5rem) minmax(0,1fr);gap:16px;align-items:baseline}
  .rv-btn{display:inline-block}
}

/* Tablet and up. */
@media (min-width:768px){
  .rv-bar{padding:18px 32px}
  .rv-logo{width:126px}
  .rv-col{padding:40px 32px 64px}
  .rv-photo{height:auto;aspect-ratio:16/9;margin-top:34px}
  .rv-top h1{font-size:44px}
  .rv-lede{font-size:18px}
  .rv-card{margin-top:34px;padding:32px 34px 34px}
  .rv-card-h{font-size:24px}
  .rv-map{height:300px}
}

/* Desktop: headline across the top, the square photo beside the details,
   then the map across both columns. */
@media (min-width:1024px){
  .rv-col{max-width:1120px;padding:56px 40px 72px}
  .rv-top h1{font-size:48px}
  .rv-split{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:48px;
    align-items:start;margin-top:44px}
  .rv-photo{margin:0;height:auto;aspect-ratio:1/1}
  .rv-map{height:340px;margin-top:48px}
  .rv-main .rv-card{margin-top:0}
}

@media (prefers-reduced-motion:reduce){
  .rv-btn,.rv-tel,.rv-home span{transition:none}
}
