/* Wheeling2Help — V7 polish: stable cards, balanced footer, breathing room */
[hidden]{display:none!important}
/* Opportunity cards: two equally readable actions, no default browser button styles. */
.opportunity-card{display:flex;flex-direction:column;min-width:0;height:100%}
.opportunity-card .opportunity-content{display:flex;flex:1;flex-direction:column;min-width:0}
.opportunity-card .opportunity-footer{display:flex!important;align-items:stretch;justify-content:flex-start;gap:10px!important;flex-wrap:wrap!important;margin-top:auto;padding-top:22px!important;border-top:1px solid #e5edf2}
.opportunity-card .opportunity-footer .opportunity-link{font:inherit!important;font-size:12px!important;font-weight:750!important;line-height:1.35!important;text-decoration:none!important;cursor:pointer;min-height:43px!important;padding:11px 15px!important;border-radius:11px!important;display:inline-flex!important;justify-content:center!important;align-items:center!important;gap:8px!important;border:1px solid #c9dce9!important;background:#f2f8fc!important;color:#164f74!important;white-space:normal!important;text-align:center;box-shadow:none!important;transition:background-color .22s ease,border-color .22s ease,transform .22s ease!important}
.opportunity-card .opportunity-footer .apply-trip-button{background:#184c6e!important;border-color:#184c6e!important;color:white!important}
.opportunity-card .opportunity-footer .apply-trip-button:hover{background:#0e3452!important;transform:translateY(-2px)}
.opportunity-card .opportunity-footer a.opportunity-link:hover{background:#e6f1f8!important;border-color:#9ebfd2!important;transform:translateY(-2px)}
.opportunity-card .opportunity-meta{display:flex;flex-wrap:wrap;gap:8px 13px}
.opportunity-card .opportunity-meta-item{white-space:normal;overflow-wrap:anywhere}
.opportunity-card .opportunity-description{overflow-wrap:anywhere}
/* Detail/community CTAs should not collide with the footer; stable grouping. */
.w2h-hero-actions,.community-actions,.page-bottom .btn{max-width:100%}
.w2h-hero-actions{display:flex;flex-wrap:wrap;align-items:center;gap:12px;margin:22px 0 40px}
.w2h-hero-actions a{display:inline-flex;align-items:center;justify-content:center;min-height:46px;min-width:0;border-radius:999px;padding:12px 20px;font-size:13px;line-height:1.4;font-weight:700;text-align:center;background:#174565;color:#fff;text-decoration:none}
main > :last-child{scroll-margin-bottom:40px}
main:has(+ .footer-clean-modern){padding-bottom:0}
main > section:last-child:not(.closing-section):not(.film-section){padding-bottom:max(85px,7vw)!important}
main .w2h-hero-actions:last-child{margin-bottom:55px}
/* Full-width editorial footer: spacious columns, more prominent identity. */
.footer-clean-modern.footer{clear:both;padding:clamp(62px,7vw,92px) 0 24px!important;background:#071e32!important}
.footer-clean-modern .container{width:min(1390px,calc(100% - clamp(36px,6vw,112px)))!important;max-width:none!important;margin-inline:auto}
.footer-clean-modern .footer-top{display:grid!important;grid-template-columns:minmax(250px,1.35fr) minmax(180px,.8fr) minmax(240px,.9fr)!important;gap:clamp(38px,5vw,90px)!important;align-items:start;padding-bottom:42px}
.footer-clean-modern .footer-brand{max-width:370px!important}
.footer-clean-modern .footer-brand .logo-link{display:inline-flex;align-items:center;gap:12px}
.footer-clean-modern .footer-brand>p{font-size:13px!important;max-width:345px;color:#bfd2e2!important;line-height:1.85!important;margin-bottom:22px!important}
.footer-clean-modern .footer-top h4{font-size:12px;font-weight:750;color:#f4f9fd;letter-spacing:.04em;margin:10px 0 23px}
.footer-clean-modern .footer-top .footer-links{gap:15px!important}
.footer-clean-modern .footer-top .footer-links a{font-size:13px;color:#bed1e1!important;line-height:1.5;transition:color .18s ease}
.footer-clean-modern .footer-top .footer-links a:hover{color:#fff!important}
.footer-clean-modern .footer-top>div>p{line-height:1.85;color:#bed1e1!important}
.footer-clean-modern .footer-social{margin-top:18px!important}
.footer-clean-modern .footer-social .social-icon-link{width:42px;height:42px;border-radius:12px}
.footer-clean-modern .w2h-footer-legal{margin-top:0!important;justify-content:flex-start!important;padding:22px 0!important;gap:12px 24px!important}
.footer-clean-modern .footer-bottom{display:flex!important;align-items:center!important;justify-content:space-between!important;gap:15px 27px;flex-wrap:wrap!important;padding-top:25px!important;margin:0!important}
.footer-clean-modern .footer-bottom>span{color:#afc6da!important;line-height:1.6;font-size:11px}
.footer-clean-modern .nexa-credit{color:#d6e9f6!important;white-space:normal;display:inline-flex;align-items:center;gap:4px;flex-wrap:wrap}
.footer-clean-modern .nexa-credit a,.footer-clean-modern .nexa-credit strong{color:#fff!important;font-size:12px;letter-spacing:.04em;text-decoration:none}
.footer-clean-modern .nexa-heart{color:#ed7483}
@media(min-width:1100px){.footer-clean-modern .footer-bottom>span:nth-child(2){margin-inline:auto}}
@media(max-width:790px){.footer-clean-modern .footer-top{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:42px 26px!important}.footer-clean-modern .footer-brand{grid-column:1/-1;max-width:100%!important}.footer-clean-modern .footer-brand>p{max-width:480px}.footer-clean-modern .footer-bottom{gap:12px}}
@media(max-width:570px){
 .opportunity-card .opportunity-footer{display:grid!important;grid-template-columns:1fr;gap:9px!important}
 .opportunity-card .opportunity-footer .opportunity-link{width:100%;min-height:46px!important}
 .w2h-hero-actions{gap:10px;margin-bottom:43px}
 .w2h-hero-actions a{min-height:46px;width:100%}
 .footer-clean-modern.footer{padding-top:55px!important}
 .footer-clean-modern .container{width:calc(100% - 42px)!important}
 .footer-clean-modern .footer-top{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:34px 20px!important;padding-bottom:32px}
 .footer-clean-modern .footer-brand{grid-column:1/-1;text-align:center;display:flex;flex-direction:column;align-items:center}
 .footer-clean-modern .footer-brand .logo-link{justify-content:center}
 .footer-clean-modern .footer-brand>p{max-width:330px;margin-top:18px!important;text-align:center}
 .footer-clean-modern .footer-social{justify-content:center}
 .footer-clean-modern .footer-top>div:nth-child(2),.footer-clean-modern .footer-top>div:nth-child(3){min-width:0}
 .footer-clean-modern .footer-top .footer-links{gap:13px!important}
 .footer-clean-modern .footer-top .footer-links a{font-size:12px;line-height:1.55}
 .footer-clean-modern .footer-top h4{font-size:12px;margin:0 0 19px}
 .footer-clean-modern .w2h-footer-legal{display:flex;justify-content:center!important;text-align:center;gap:10px 17px!important}
 .footer-clean-modern .footer-bottom{display:flex!important;align-items:center!important;justify-content:center!important;text-align:center;flex-direction:column!important;gap:9px}
 .footer-clean-modern .footer-bottom>span{width:100%;text-align:center}
 .footer-clean-modern .nexa-credit{justify-content:center;display:flex!important;margin-top:8px;padding:13px 0 3px;border-top:1px solid rgba(255,255,255,.12)}
}
@media(max-width:350px){.footer-clean-modern .footer-top{grid-template-columns:1fr!important}.footer-clean-modern .footer-top>div:nth-child(2),.footer-clean-modern .footer-top>div:nth-child(3){text-align:center}.footer-clean-modern .footer-top .footer-links{align-items:center}}
@media(prefers-reduced-motion:reduce){.opportunity-card .opportunity-footer .opportunity-link{transition:none!important}}
/* Trip details load dynamically into the final main element: reserve footer breathing room. */
#trip-detail{padding-bottom:clamp(82px,9vw,125px)!important}
#trip-detail>.w2h-hero-actions:last-child{margin:28px 0 0!important}
#trip-detail>.w2h-hero-actions a{max-width:100%}
@media(max-width:570px){#trip-detail{padding-bottom:76px!important}#trip-detail>.w2h-hero-actions{display:grid;grid-template-columns:1fr;gap:10px}#trip-detail>.w2h-hero-actions a{width:100%}}
