.trip-match{max-width:1120px;margin:auto;padding:2rem 1.25rem 4rem;color:#142d27;background:#fff;font-size:1rem;line-height:1.65}.trip-match h1{font-size:clamp(1.8rem,4vw,2.6rem);line-height:1.2;margin:.5rem 0}.trip-match a{color:#075d43;text-decoration:underline;text-underline-offset:3px}.match-badge{display:inline-block;background:#163d32;color:#fff;border-radius:4px;padding:.2rem .6rem;font-size:.875rem}.match-form{background:#f3f7f5;border:1px solid #b9cec5;border-radius:12px;padding:1.25rem;margin:1.5rem 0;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:1rem}.match-form label{display:flex;flex-direction:column;font-weight:650;gap:.35rem;color:#18392e}.match-form select,.match-form input[type=date]{font:inherit;color:#142d27;background:white;width:100%;min-height:48px;border:1px solid #78988a;border-radius:6px;padding:.6rem;min-width:0}.match-form .match-flight{flex-direction:row;align-items:center;align-self:center;font-size:.95rem}.match-flight input{width:22px;height:22px;flex-shrink:0}.match-submit{grid-column:1/-1;display:flex;align-items:center;gap:1rem;flex-wrap:wrap}.match-submit button,.trip-match .match-guide{display:inline-flex;align-items:center;justify-content:center;min-height:48px;padding:.6rem 1rem;border:0;border-radius:6px;background:#075d43;color:white;font:inherit;font-weight:700;text-decoration:none}.match-results{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:1.25rem;align-items:start}.match-card{border:1px solid #b8cec2;border-radius:12px;overflow:hidden;background:white;min-width:0}.match-card figure{margin:0}.match-card img{display:block;width:100%;height:175px;object-fit:cover}.match-card figcaption{font-size:.875rem;line-height:1.45;padding:.7rem 1rem;color:#314b40;background:#f3f7f5;overflow-wrap:anywhere}.match-card-body{padding:1.1rem}.match-card h3{font-size:1.3rem;line-height:1.4;margin:.3rem 0 .8rem}.match-card h4{font-size:1rem;margin:1rem 0 .25rem}.match-card p{margin:.3rem 0 .8rem}.match-reasons{padding-left:1.2rem}.match-card details{border-top:1px solid #cbd8d1;padding-top:.8rem;margin-top:1rem}.match-card summary{cursor:pointer;min-height:44px;font-weight:700}.match-empty{padding:1rem;border-left:4px solid #075d43;background:#f3f7f5}.match-rules{margin-top:2rem;border-top:1px solid #cbd8d1;padding-top:1rem}.trip-match :focus-visible{outline:3px solid #cb7627;outline-offset:4px}.trip-match p,.trip-match li{overflow-wrap:anywhere}.match-card-body small{font-size:.875rem;color:#314b40}.trip-match button{cursor:pointer}@media(max-width:850px){.match-results{grid-template-columns:1fr}.match-card img{height:230px}.match-form{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:480px){.match-form{grid-template-columns:1fr}.trip-match{padding:1.25rem 1rem 3rem}.match-card img{height:190px}}@media print{.match-form{display:none}.match-results{display:block}.match-card{break-inside:avoid;margin-bottom:1rem}}
/* Keep the working controls usable on narrow screens and at larger text sizes. */
.trip-match h2{font-size:clamp(1.4rem,3vw,1.9rem);line-height:1.35;letter-spacing:normal}
.match-form label{min-width:0;overflow-wrap:anywhere}
.match-form select,.match-form input[type=date]{max-width:100%;box-sizing:border-box}
.match-form .match-flight{min-height:48px;cursor:pointer}
.match-card summary,.match-rules summary{min-height:48px;line-height:1.6;cursor:pointer;overflow-wrap:anywhere}
.match-submit button,.trip-match .match-guide{max-width:100%;white-space:normal;overflow-wrap:anywhere}
.trip-match{padding-bottom:calc(6rem + env(safe-area-inset-bottom,0px))}
#match-results{scroll-margin-top:9rem}
@media(max-width:480px){.match-submit{align-items:stretch;flex-direction:column}.match-submit button,.trip-match .match-guide{width:100%}.match-submit>a{display:inline-flex;align-items:center;min-height:48px}.trip-match{padding-bottom:calc(6rem + env(safe-area-inset-bottom,0px))}}

.match-service{margin:1.25rem 0;padding:1rem 1.1rem;border-left:4px solid #075d43;background:#f3f7f5;color:#18392e;font-size:1rem;line-height:1.65;overflow-wrap:anywhere}.match-service strong{font-weight:700}.match-service p{margin:.5rem 0 0}
