/* Styles apply only to the RideShareGuide finder. */
.rsg-finder{font-family:inherit;font-size:16px;line-height:1.4;letter-spacing:-.012em;background:#f7f8fa;color:#17202b;border:1px solid #dce1e7;border-radius:16px;padding:clamp(18px,3vw,28px);max-width:850px;margin:20px auto}
.rsg-finder *{box-sizing:border-box}
.rsg-finder h2{font-size:clamp(24px,4vw,32px);line-height:1.16;letter-spacing:-.025em;margin:0 0 10px}
.rsg-finder h3{font-size:21px;line-height:1.2;letter-spacing:-.02em;margin:14px 0 8px}
.rsg-finder p{font-size:16px;line-height:1.4;letter-spacing:-.012em;margin:8px 0 12px}
.rsg-finder .rsg-small{font-size:14px;line-height:1.4}
.rsg-finder .rsg-options{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.rsg-finder button,.rsg-finder .rsg-link{font-family:inherit;font-size:15px;line-height:1.3;letter-spacing:-.01em;text-transform:none;cursor:pointer;border:1px solid #bac3cd;background:white;color:#17202b;border-radius:8px;padding:10px 12px;text-align:left;min-height:44px;max-width:100%;white-space:normal;overflow-wrap:anywhere}
.rsg-finder button:hover{border-color:#17202b;background:#fff5d7}
.rsg-finder button:focus-visible,.rsg-finder a:focus-visible{outline:3px solid #1469c7;outline-offset:3px}
.rsg-finder a.rsg-link{display:inline-flex;align-items:center;justify-content:center;width:auto;min-width:44px;min-height:44px;font-size:14px!important;line-height:1.25!important;letter-spacing:-.01em!important;padding:8px 12px!important;background:#fcb41b;border-color:#fcb41b;text-decoration:none;font-weight:600;margin:2px 0 0}
.rsg-finder a.rsg-link:hover{background:#edaa18;border-color:#edaa18}
.rsg-finder .rsg-card{background:white;border:1px solid #5F7D88;border-radius:10px;padding:16px;margin:10px 0}
.rsg-finder .rsg-card h3{margin:0 0 8px;font-size:20px}
.rsg-finder .rsg-card p{margin:0 0 10px}
.rsg-finder .rsg-back{font-size:14px;margin:12px 8px 0 0;padding:8px 10px;background:transparent}
.rsg-finder [hidden]{display:none!important}
@media(max-width:520px){.rsg-finder{padding:16px;margin:16px auto;border-radius:12px}.rsg-finder .rsg-options{grid-template-columns:1fr;gap:8px}.rsg-finder h3{font-size:20px}.rsg-finder .rsg-card{padding:14px;margin:8px 0}.rsg-finder .rsg-card h3{font-size:19px}.rsg-finder .rsg-card p{font-size:15px;line-height:1.4}}

.rsg-opener{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);align-items:center;gap:28px;max-width:1664px;margin:0 auto;padding:48px 32px 0;background:#f1f2f3;color:#17202b;font-family:inherit}
.rsg-opener *{box-sizing:border-box}
.rsg-opener h1{font-size:clamp(36px,4.5vw,64px);line-height:1.08;letter-spacing:-.035em;margin:0 0 20px;color:#101820}
.rsg-opener .rsg-opener-intro{font-size:clamp(17px,1.6vw,21px);line-height:1.45;letter-spacing:-.015em;margin:0 0 22px;max-width:640px}
.rsg-opener .rsg-finder{margin:0 0 16px;padding:22px;background:#fff;border:1px solid #5F7D88;border-radius:12px}
.rsg-opener .rsg-finder h2{font-size:24px;line-height:1.2}
.rsg-opener .rsg-opener-links{display:flex;flex-wrap:wrap;gap:12px 28px;padding-bottom:26px}
.rsg-opener-links a{font-size:15px;color:#405e6b;min-height:44px;display:inline-flex;align-items:center;text-underline-offset:5px}
.rsg-opener .rsg-opener-portrait{align-self:end;min-width:0}
.rsg-opener-portrait img{display:block;width:100%;height:auto;max-width:800px;margin:0 auto}
.rsg-finder .rsg-progress{display:flex;gap:6px;max-width:240px;margin:14px 0 8px}
.rsg-finder .rsg-progress span{height:7px;flex:1;border-radius:3px;background:#e4e8eb}
.rsg-finder .rsg-progress .rsg-complete{background:#fcb41b}
.rsg-finder .rsg-option-icon{display:inline-flex;margin-right:10px;vertical-align:middle;flex-shrink:0}
.rsg-finder .rsg-options button{display:flex;align-items:center}
@media(max-width:767px){.rsg-opener{grid-template-columns:1fr;padding:28px 16px 0;gap:8px}.rsg-opener h1{font-size:38px}.rsg-opener .rsg-finder{padding:16px}.rsg-opener .rsg-opener-portrait{max-width:260px;justify-self:center}.rsg-opener .rsg-opener-links{padding-bottom:0}.rsg-opener .rsg-finder h2{font-size:22px}}

/* Full-width background with a centred inner layout. */
.rsg-hero{position:relative;isolation:isolate;background:#f1f2f3}
.rsg-hero::before{content:"";position:absolute;z-index:-1;inset:0 calc((100% - 100vw)/2);background:#f1f2f3;pointer-events:none}
.rsg-hero .rsg-opener{width:100%;background:transparent}
@media(max-width:767px){
 .rsg-hero .rsg-opener{display:grid;grid-template-columns:minmax(0,1fr) 96px;align-items:center;gap:14px 12px;padding:24px 16px}
 .rsg-hero .rsg-opener-copy{display:contents}
 .rsg-hero .rsg-opener h1{grid-column:1;grid-row:1;font-size:clamp(28px,7vw,38px);line-height:1.1;margin:0;letter-spacing:-.03em}
 .rsg-hero .rsg-opener-portrait{grid-column:2;grid-row:1;align-self:center;justify-self:end;width:96px;height:112px;overflow:hidden;border-radius:12px}
 .rsg-hero .rsg-opener-portrait img{width:112px;max-width:none;margin-left:-8px}
 .rsg-hero .rsg-opener-intro{grid-column:1/-1;grid-row:2;font-size:16px;line-height:1.4;margin:0}
 .rsg-hero .rsg-finder{grid-column:1/-1;grid-row:3;width:100%;min-width:0;margin:2px 0 0;padding:16px;border-radius:12px}
 .rsg-hero .rsg-finder h2{font-size:21px;line-height:1.2}
 .rsg-hero .rsg-finder h3{font-size:18px}
 .rsg-hero .rsg-finder .rsg-options{grid-template-columns:1fr;gap:8px}
 .rsg-hero .rsg-finder .rsg-options button{min-height:48px;font-size:15px;padding:10px 12px}
 .rsg-hero .rsg-opener-links{grid-column:1/-1;grid-row:4;gap:4px 20px;padding:0;margin:0}
 .rsg-hero .rsg-opener-links a{font-size:14px;min-height:44px}
}

/* Match the original broad desktop hero, including its content. */
@media(min-width:768px){.rsg-hero{width:100vw;max-width:none;margin-left:calc(50% - 50vw);margin-right:calc(50% - 50vw)}.rsg-hero .rsg-opener{box-sizing:border-box}.rsg-opener .rsg-finder{max-width:720px}}
.rsg-opener h1,.rsg-opener .rsg-finder h2,.rsg-opener .rsg-finder h3{font-family:inherit}

/* Original desktop portrait scale and crop, measured from the supplied screenshot. */
@media(min-width:1024px){
 .rsg-hero .rsg-opener{padding-top:0;gap:28px;min-height:720px}
 .rsg-hero .rsg-opener-copy{padding:48px 0}
 .rsg-hero .rsg-opener h1{font-size:clamp(40px,3.15vw,60px);font-weight:700;line-height:1.05;letter-spacing:-.015em;margin-bottom:28px;color:#1b202b}
 .rsg-hero .rsg-opener-intro{max-width:800px;font-size:21px;line-height:1.5;letter-spacing:normal;color:#293d4d}
 .rsg-hero .rsg-opener-portrait{position:relative;align-self:stretch;overflow:hidden;min-height:720px}
 .rsg-hero .rsg-opener-portrait img{position:absolute;width:120%;max-width:none;height:auto;left:0;top:0;margin:0;transform:translateY(-13.3333%)}
}

/* Match the supplied heading controls and conceal lower shoulder edges. */
.rsg-hero .rsg-opener h1{font-family:Poppins,var(--global-heading-font-family,sans-serif);font-weight:700;font-style:normal;line-height:1;letter-spacing:normal}
.rsg-hero .rsg-opener-links a{font-size:18px;line-height:1.4;min-height:44px}
@media(min-width:1024px){
 .rsg-hero .rsg-opener h1{font-size:var(--global-kb-font-size-xxl,var(--wp--preset--font-size--2-xl,60px));line-height:1;letter-spacing:normal}
 .rsg-hero .rsg-opener-portrait img{transform:translateY(calc(-13.3333% + 20px))}
}
@media(max-width:767px){.rsg-hero .rsg-opener-links a{font-size:16px;min-height:44px}}

/* Refine placement within the existing hero height. */
@media(min-width:1024px){.rsg-hero .rsg-opener-copy{padding-top:72px;padding-bottom:24px}}
@media(min-width:768px){.rsg-hero .rsg-opener-links a{font-size:20px}}
@media(max-width:767px){
 .rsg-hero .rsg-opener-links{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
 .rsg-hero .rsg-opener-links a{font-size:14px;line-height:1.3;min-width:0;min-height:44px;letter-spacing:-.01em}
}

/* Fixed finder shell: questions and results share the same dimensions. */
.rsg-fixed{box-sizing:border-box;height:420px;display:flex;flex-direction:column;overflow:hidden}
.rsg-fixed>.rsg-panel{flex:1;min-height:0;overflow-y:auto;overscroll-behavior:contain;scrollbar-gutter:stable;padding-right:4px}
.rsg-fixed>h2,.rsg-fixed>p{flex-shrink:0}
.rsg-fixed .rsg-carousel{min-width:0}
.rsg-fixed .rsg-carousel-viewport{height:178px;overflow-y:auto;overscroll-behavior:contain;scrollbar-gutter:stable}
.rsg-fixed .rsg-carousel .rsg-card{min-height:100%;margin:0;padding:12px}
.rsg-fixed .rsg-carousel .rsg-card h3{font-size:19px;margin-bottom:6px}
.rsg-fixed .rsg-carousel .rsg-card p{font-size:15px;margin-bottom:8px}
.rsg-fixed .rsg-carousel-controls{display:flex;align-items:center;justify-content:space-between;gap:8px;margin:8px 0}
.rsg-fixed .rsg-carousel-controls button{font-size:14px;padding:8px 10px;min-height:44px;text-align:center}
.rsg-fixed .rsg-carousel-status{font-size:14px;white-space:nowrap}
.rsg-hero .rsg-opener h1{letter-spacing:-.5px}
@media(max-width:767px){.rsg-fixed{height:480px}}

/* Compact fixed finder, balanced against the hero heading and portrait. */
.rsg-finder.rsg-fixed,.rsg-opener .rsg-finder.rsg-fixed{height:330px;padding:16px;border-radius:12px;background:#fff;border-color:#5f7d88;box-shadow:0 3px 12px rgba(23,32,43,.035)}
.rsg-finder.rsg-fixed>h2,.rsg-opener .rsg-finder.rsg-fixed>h2{font-size:21px;line-height:1.15;margin:0 0 6px;letter-spacing:-.02em}
.rsg-finder.rsg-fixed>p{font-size:14px;line-height:1.35;margin:0 0 8px}
.rsg-fixed .rsg-progress{margin:8px 0 6px;max-width:180px;gap:5px}
.rsg-fixed .rsg-progress span{height:5px}
.rsg-fixed .rsg-panel>h3{font-size:18px;line-height:1.2;margin:8px 0}
.rsg-fixed .rsg-panel>.rsg-small{font-size:13px;line-height:1.35;margin:6px 0}
.rsg-fixed .rsg-options{gap:8px}
.rsg-fixed .rsg-options button{font-size:14px;padding:9px 10px;min-height:44px}
.rsg-fixed .rsg-carousel-viewport{height:132px}
.rsg-fixed .rsg-carousel .rsg-card{padding:10px 12px;border-radius:8px}
.rsg-fixed .rsg-carousel .rsg-card h3{font-size:18px;line-height:1.15;margin-bottom:5px}
.rsg-fixed .rsg-carousel .rsg-card p{font-size:14px;line-height:1.35;margin-bottom:6px}
.rsg-fixed .rsg-carousel-controls{margin:6px 0;gap:6px}
.rsg-fixed .rsg-carousel-controls button{font-size:13px;padding:6px 9px}
.rsg-fixed .rsg-back{margin-top:6px}
@media(max-width:767px){.rsg-finder.rsg-fixed,.rsg-opener .rsg-finder.rsg-fixed{height:400px}}

/* Crop is independent of the copy/finder height. */
@media(min-width:1024px){
 .rsg-hero .rsg-opener-portrait{height:720px;min-height:720px;align-self:end;overflow:hidden}
 .rsg-hero .rsg-opener-portrait img{width:118%;transform:translateY(calc(-13.3333% + 20px))}
 .rsg-hero .rsg-opener-portrait{-webkit-mask-image:linear-gradient(to right,transparent,#000 18px,#000 calc(100% - 18px),transparent);mask-image:linear-gradient(to right,transparent,#000 18px,#000 calc(100% - 18px),transparent)}
}
.rsg-fixed:not(.rsg-showing-results)>.rsg-panel{display:flex;flex-direction:column;justify-content:safe center}
.rsg-fixed:not(.rsg-showing-results) .rsg-options button{min-height:58px;font-size:15px;line-height:1.35;border-radius:9px;padding:12px}
.rsg-fixed:not(.rsg-showing-results) .rsg-options{margin-top:5px}
.rsg-fixed:not(.rsg-showing-results) .rsg-panel>h3{font-size:20px;margin:10px 0}
.rsg-fixed>.rsg-process-note{font-size:12px;line-height:1.4;color:#5f7380;margin:10px 0 0;padding-top:10px;border-top:1px solid #e6ebee;letter-spacing:.02em;text-align:center;flex-shrink:0}
.rsg-fixed>.rsg-process-note span{padding:0 6px;color:#8a9da5}
.rsg-fixed.rsg-showing-results>.rsg-process-note{display:none}
@media(max-width:767px){.rsg-fixed:not(.rsg-showing-results) .rsg-options button{min-height:48px}.rsg-fixed>.rsg-process-note{font-size:11px}}

/* Compact choices and a proportionately smaller fixed shell. */
.rsg-finder.rsg-fixed,.rsg-opener .rsg-finder.rsg-fixed{height:290px;padding:14px;border-radius:10px;letter-spacing:-.25px}
.rsg-finder.rsg-fixed>h2,.rsg-opener .rsg-finder.rsg-fixed>h2{font-size:20px;line-height:1.1;letter-spacing:-.5px;margin-bottom:4px}
.rsg-finder.rsg-fixed>p:not(.rsg-process-note){font-size:13px;line-height:1.3;letter-spacing:-.2px;margin:0 0 5px}
.rsg-fixed:not(.rsg-showing-results) .rsg-options button{min-height:44px;font-size:14px;line-height:1.25;letter-spacing:-.2px;padding:8px 10px;border-radius:7px}
.rsg-fixed:not(.rsg-showing-results) .rsg-options{gap:6px;margin-top:2px}
.rsg-fixed:not(.rsg-showing-results) .rsg-panel>h3{font-size:18px;line-height:1.15;letter-spacing:-.35px;margin:6px 0}
.rsg-fixed .rsg-progress{margin:5px 0 4px;gap:4px}
.rsg-fixed .rsg-panel>.rsg-small{margin:4px 0;line-height:1.3}
.rsg-fixed>.rsg-process-note{padding-top:6px;margin-top:6px;line-height:1.3;letter-spacing:0}
.rsg-fixed .rsg-back{min-height:44px;padding:6px 9px;margin-top:4px}
.rsg-fixed .rsg-carousel-controls{margin:4px 0}
.rsg-fixed .rsg-carousel .rsg-card h3{letter-spacing:-.35px}
.rsg-fixed .rsg-carousel .rsg-card p{letter-spacing:-.2px;line-height:1.3}
@media(max-width:767px){.rsg-finder.rsg-fixed,.rsg-opener .rsg-finder.rsg-fixed{height:370px}}

/* Closer lettering for the main hero title. */
.rsg-hero .rsg-opener h1{letter-spacing:-1.5px}

/* Tighter main title and introduction line spacing. */
.rsg-hero .rsg-opener h1{line-height:.95}
.rsg-hero .rsg-opener .rsg-opener-intro{line-height:1.3}

/* Final typography and subtle depth. */
.rsg-hero .rsg-opener h1{letter-spacing:-2px}
.rsg-finder.rsg-fixed,.rsg-opener .rsg-finder.rsg-fixed{box-shadow:0 3px 14px rgba(23,32,43,.07)}
