/* Mid-page banners for the Guides and the rope-drop page, in the approved Blog promotion style (#1235):
   a photo, three curved bands (blue, sky, topic accent), a light sky panel, and native HTML copy. */
.gi-banner-wrap { padding: 56px 0; background: var(--rx-paper, #f7faff); }
.gi-banner { --gb-blue: #438fdc; --gb-sky: #a7d2f0; --gb-accent: #e8b65c; --gb-panel: #eef6ff;
  display: grid; grid-template-columns: minmax(0, 45fr) minmax(0, 55fr); min-height: 300px; overflow: hidden; border-radius: 22px;
  background: linear-gradient(105deg, var(--gb-panel) 0%, #f6faff 100%); box-shadow: 0 1px 2px rgba(7,35,80,.04), 0 18px 44px rgba(7,35,80,.08); }
.gi-banner-mint { --gb-accent: #aaf0d1; }
.gi-banner-coral { --gb-accent: #de8a73; }
.gi-banner-art { position: relative; min-width: 0; }
.gi-banner-art img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.gi-banner-curve { position: absolute; top: 0; right: -1px; width: 92px; height: 100%; }
.gi-banner-curve-h { display: none; }
.gi-banner-copy { display: flex; flex-direction: column; justify-content: center; gap: 12px; min-width: 0; padding: 34px clamp(24px, 4vw, 52px) 34px 10px; }
.gi-banner-k { margin: 0; color: var(--rx-blue-deep, #0054dc); font-size: 13px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.gi-banner h2 { margin: 0; color: #071a50; font-size: clamp(26px, 2.7vw, 34px); font-weight: 750; line-height: 1.08; letter-spacing: -.02em; text-wrap: balance; }
.gi-banner-text { margin: 0; max-width: 58ch; color: #596c99; font-size: 16px; line-height: 1.5; }
.gi-banner-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 26px; margin-top: 6px; }
.gi-banner a.gi-banner-primary { display: inline-flex; align-items: center; gap: 8px; min-height: 48px; padding: 12px 22px; border-radius: 13px; background: var(--rx-blue, #0568ff); color: #fff; font-size: 16px; font-weight: 650; text-decoration: none; }
.gi-banner a.gi-banner-primary:hover { background: var(--rx-blue-deep, #0054dc); }
.gi-banner a.gi-banner-link { color: var(--rx-blue-deep, #0054dc); font-size: 16px; font-weight: 650; text-decoration: underline; text-underline-offset: 4px; }
.gi-banner a:focus-visible { outline: 3px solid var(--rx-ink, #07142d); outline-offset: 4px; }
.gi-banner small { color: var(--rx-muted, #556482); font-size: 14px; }
.rx-stack > .gi-banner { margin-top: 12px; }

/* Lightning Lane banner looks, rotated by page (bannerLook in guide-banners.mjs).
   midnight: deep navy and gold, photo on the right with the curve mirrored. */
.gi-banner.gi-banner-midnight { --gb-blue: #0f4a8f; --gb-sky: #2b7fff; --gb-accent: #f5cc00; --gb-panel: #001d3d;
  grid-template-columns: minmax(0, 55fr) minmax(0, 45fr); background: #001d3d; box-shadow: 0 18px 44px rgba(0,29,61,.25); }
.gi-banner-midnight .gi-banner-art { order: 2; }
.gi-banner-midnight .gi-banner-curve { left: -1px; right: auto; transform: scaleX(-1); }
.gi-banner-midnight .gi-banner-copy { order: 1; padding: 34px 10px 34px clamp(24px, 4vw, 52px); }
/* card: a short white card with a gold edge, a small photo and an outline button. */
.gi-banner.gi-banner-card { grid-template-columns: 240px minmax(0, 1fr); min-height: 0; background: #fff; border: 1px solid #dfe8f6; border-left: 6px solid #e8b65c; border-radius: 18px; box-shadow: none; }
.gi-banner-card .gi-banner-art { min-height: 170px; }
.gi-banner-card .gi-banner-curve, .gi-banner-card .gi-banner-curve-h { display: none; }
.gi-banner-card .gi-banner-copy { gap: 8px; padding: 22px 30px; }
.gi-banner-card .gi-banner-k { color: #8a5d0c; }
.gi-banner.gi-banner-card h2 { font-size: 23px; }
.gi-banner-card .gi-banner-text { font-size: 15px; }
.gi-banner.gi-banner-card a.gi-banner-primary { min-height: 44px; padding: 9px 18px; border: 2px solid var(--rx-blue, #0568ff); background: #fff; color: var(--rx-blue-deep, #0054dc); }
.gi-banner.gi-banner-card a.gi-banner-primary:hover { background: #eef6ff; }
/* photo: the photo fills the banner under a dark wash. */
.gi-banner.gi-banner-photo { position: relative; display: block; min-height: 340px; background: #071a50; }
.gi-banner-photo .gi-banner-art { position: absolute; inset: 0; }
.gi-banner-photo .gi-banner-art::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(4,16,48,.94) 0%, rgba(4,16,48,.8) 42%, rgba(4,16,48,.15) 78%); }
.gi-banner-photo .gi-banner-curve, .gi-banner-photo .gi-banner-curve-h { display: none; }
.gi-banner-photo .gi-banner-copy { position: relative; max-width: 640px; min-height: 340px; padding: 44px clamp(24px, 4vw, 56px); }
/* Shared by the two dark looks. */
.gi-banner-midnight .gi-banner-k, .gi-banner-photo .gi-banner-k { color: #f5cc00; }
.gi-banner-midnight h2, .gi-banner-photo h2 { color: #fff; }
.gi-banner-midnight .gi-banner-text { color: #c3d1ea; }
.gi-banner-photo .gi-banner-text { color: #d4def0; }
.gi-banner-midnight a.gi-banner-primary, .gi-banner-photo a.gi-banner-primary { background: #f5cc00; color: #071a50; }
.gi-banner-midnight a.gi-banner-primary:hover, .gi-banner-photo a.gi-banner-primary:hover { background: #ffd84a; }
.gi-banner-midnight a:focus-visible, .gi-banner-photo a:focus-visible { outline-color: #fff; }

/* The waitlist as a slim full-width section, used where it would otherwise follow a banner directly. */
.gi-band { padding: 30px 0; border-top: 4px solid #aaf0d1; background: linear-gradient(100deg, var(--rx-blue, #0568ff) 0%, var(--rx-blue-deep, #0054dc) 100%); color: #fff; }
.gi-band-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px 40px; }
.gi-band-copy { flex: 1 1 520px; min-width: 0; }
.gi-band-k { margin: 0 0 6px; color: #aaf0d1; font-size: 13px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.gi-band h2 { margin: 0 0 6px; color: #fff; font-size: clamp(22px, 2.2vw, 28px); font-weight: 750; line-height: 1.15; letter-spacing: -.02em; }
.gi-band-copy > p:last-child { margin: 0; max-width: 64ch; color: #dbe8ff; font-size: 16px; line-height: 1.5; }
.gi-band-actions { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; }
.gi-band a.gi-band-primary { display: inline-flex; align-items: center; gap: 8px; min-height: 48px; padding: 12px 24px; border-radius: 13px; background: #fff; color: var(--rx-blue-deep, #0054dc); font-size: 16px; font-weight: 700; text-decoration: none; }
.gi-band a.gi-band-primary:hover { background: #eef6ff; }
.gi-band a:focus-visible { outline: 3px solid #fff; outline-offset: 4px; }
.gi-band small { color: #dbe8ff; font-size: 14px; }
.gi-band + .gi-trademark-note { padding-top: 22px; }
@media (max-width: 760px) {
  .gi-banner-wrap { padding: 36px 0; }
  .gi-banner { grid-template-columns: 1fr; min-height: 0; background: var(--gb-panel); }
  .gi-banner-art { height: 210px; }
  .gi-banner-curve { display: none; }
  .gi-banner-curve-h { display: block; position: absolute; left: 0; right: 0; bottom: -1px; width: 100%; height: 46px; }
  .gi-banner-copy { padding: 18px 22px 26px; }
  .gi-banner.gi-banner-midnight { grid-template-columns: 1fr; }
  .gi-banner-midnight .gi-banner-art { order: 0; }
  .gi-banner-midnight .gi-banner-copy { padding: 18px 22px 26px; }
  .gi-banner.gi-banner-card { grid-template-columns: 1fr; border-left-width: 1px; border-top: 6px solid #e8b65c; }
  .gi-banner-card .gi-banner-art { height: 150px; min-height: 0; }
  .gi-banner-card .gi-banner-copy { padding: 18px 22px 22px; }
  .gi-banner-photo .gi-banner-art { height: auto; }
  .gi-banner-photo .gi-banner-art::after { background: linear-gradient(180deg, rgba(4,16,48,.2) 0%, rgba(4,16,48,.85) 45%, rgba(4,16,48,.96) 100%); }
  .gi-banner-photo .gi-banner-copy { min-height: 420px; justify-content: flex-end; padding: 26px 22px; }
  .gi-band { padding: 26px 0; }
  .gi-band-actions { width: 100%; }
}
@media (max-width: 520px) { .gi-band a.gi-band-primary { width: 100%; justify-content: center; } .gi-banner-brand { display: none; } .gi-banner a.gi-banner-primary { width: 100%; justify-content: center; } }
