/* 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}
}
