/* v1085 - route pages on computers (901px and wider): the v1084 phone design for the web.
   Answer first in the hero (the "Find your stay" search card on the right stays), then one section with the
   nearest stays and the trip quote side by side, the festival line and the trust row. No pinned bar.
   Nothing here applies until route-book-v1084.js adds body.ys84-on; without it the page stays as before. */

/* --- what the new blocks replace on computers --------------------------------------------------------- */
html body.ys84-on .r14-intro .r14-facts,
html body.ys84-on .r14-intro .r14-lead,
html body.ys84-on .r14-intro .r14-important,
html body.ys84-on .r14-intro .r14-modes,
html body.ys84-on .r14-intro .r14-mode-answer,
html body.ys84-on #route-stays,
html body.ys84-on .r14-closing { display: none !important; }

/* --- 1. answer first (left column of the navy hero) --------------------------------------------------- */
html body.ys84-on .ys84-hero { display: block; margin: 18px 0 0; max-width: 640px; }
.ys84-facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 10px; }
.ys84-fact { min-width: 0; padding: 14px 16px; border-radius: 14px; background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .18); }
.ys84-fact b { display: block; font-size: 24px; line-height: 1.15; font-weight: 700; color: #fff; font-variant-numeric: tabular-nums; }
.ys84-fact span { display: block; margin-top: 4px; font-size: 13px; line-height: 1.35; color: #c9d3de; }
.ys84-lead { margin: 16px 0 0; font-size: 16px; line-height: 1.55; color: #e4ebf2; }
.ys84-note { margin: 12px 0 0; font-size: 14.5px; line-height: 1.5; color: #f4c27a; }

/* --- 2-5. the offer, under the hero ------------------------------------------------------------------- */
html body.ys84-on .ys84-offer { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; align-items: start; width: min(1160px, calc(100% - 48px)); margin: 28px auto 8px; }
html body.ys84-on .ys84-offer.ys84-one .ys84-card { grid-column: 1 / -1; }
.ys84-fest { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: center; gap: 4px 12px; min-height: 48px; padding: 12px 18px; border-radius: 14px; background: #fff3e8; border: 1px solid #f3d6bd; color: #5a2f12 !important; text-decoration: none; font-size: 15px; order: 0; }
.ys84-fest b { color: #8a3f12; }
.ys84-fest:hover { border-color: #e9b48a; }
.ys84-card { padding: 24px 24px 22px; border-radius: 20px; background: #fffdf8; border: 1px solid #ead9c2; box-shadow: 0 12px 30px rgba(30, 50, 77, .08); }
.ys84-kick { margin: 0; font-size: 12.5px; font-weight: 700; letter-spacing: .07em; text-transform: uppercase; color: #a24f1c; }
.ys84-h { margin: 8px 0 6px !important; font-family: Fraunces, Georgia, serif; font-size: 27px !important; line-height: 1.2; font-weight: 600; color: #1e324d; }
.ys84-sub { margin: 0 0 14px; font-size: 15px; line-height: 1.5; color: #4a5866; }
.ys84-stay { display: flex; gap: 14px; align-items: center; margin-top: 10px; padding: 12px; border: 1px solid #ebe7e0; border-radius: 16px; background: #fff; color: #17222f !important; text-decoration: none; transition: border-color .15s, box-shadow .15s; }
.ys84-stay:hover { border-color: #d9c4a6; box-shadow: 0 6px 16px rgba(30, 50, 77, .08); }
.ys84-ph { flex: 0 0 88px; width: 88px; height: 72px; border-radius: 12px; object-fit: cover; background: #e9e1d4; }
.ys84-st { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 3px; }
.ys84-st b { font-size: 16.5px; line-height: 1.25; }
.ys84-dist { font-size: 13.5px; font-weight: 600; color: #2a6a42; }
.ys84-st small { font-size: 13px; color: #5d6977; }
.ys84-pr { flex: 0 0 auto; text-align: right; }
.ys84-pr b { display: block; font-size: 19px; color: #1e324d; }
.ys84-pr small { font-size: 12.5px; color: #5d6977; }
.ys84-go { display: flex; align-items: center; justify-content: center; width: 100%; min-height: 52px; margin-top: 16px; border: 0; border-radius: 12px; background: #dd7336; color: #fff !important; font: inherit; font-size: 16px; font-weight: 700; text-decoration: none; cursor: pointer; }
.ys84-go:hover { background: #c4602a; }
.ys84-all { display: block; margin-top: 12px; text-align: center; font-size: 14.5px; font-weight: 600; color: #1e324d !important; }

.ys84-needs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; margin: 0 0 14px; padding: 0; border: 0; }
.ys84-needs legend { grid-column: 1 / -1; margin-bottom: 4px; padding: 0; font-size: 13.5px; font-weight: 600; color: #5d6977; }
.ys84-need { display: flex; align-items: center; gap: 10px; min-height: 46px; padding: 0 14px; border: 1px solid #e3ddd2; border-radius: 12px; background: #fff; font-size: 14.5px; cursor: pointer; }
.ys84-need input { width: 20px; height: 20px; margin: 0; accent-color: #dd7336; flex: 0 0 auto; }
.ys84-need:has(input:checked) { border: 1.5px solid #dd7336; background: #fff8f3; font-weight: 600; }
.ys84-two { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin-bottom: 10px; }
.ys84-box { display: flex; flex-direction: column; gap: 3px; min-width: 0; margin: 0 0 10px; padding: 9px 14px; border: 1px solid #e3ddd2; border-radius: 12px; background: #fff; }
.ys84-two .ys84-box { margin: 0; }
.ys84-box small { font-size: 12px; font-weight: 600; color: #5d6977; }
.ys84-box input, .ys84-box select { width: 100%; min-width: 0; min-height: 28px; box-sizing: border-box; border: 0; padding: 0; background: transparent; font: inherit; font-size: 16px; font-weight: 600; color: #17222f; outline: none; }
.ys84-box:focus-within { border-color: #1e324d; box-shadow: 0 0 0 2px rgba(30, 50, 77, .15); }
.ys84-err { margin: 4px 0 0; font-size: 14px; font-weight: 600; color: #b42318; }
.ys84-wa { background: #1f8a4c; }
.ys84-wa:hover { background: #18703d; }
.ys84-fine { margin: 10px 0 0; text-align: center; font-size: 13px; color: #5d6977; }
.ys84-sent { margin-top: 14px; padding: 14px; border-radius: 12px; background: #edf6f0; font-size: 14.5px; line-height: 1.5; color: #24402f; }
.ys84-sent ol { margin: 6px 0 8px; padding-left: 20px; }
.ys84-again { font-weight: 600; color: #1f6b3e !important; }

.ys84-trust { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(auto-fit, minmax(0, 1fr)); gap: 12px; margin: 0; padding: 0; list-style: none; }
.ys84-trust li { padding: 14px 16px; border-radius: 14px; background: #f3f6f4; font-size: 13.5px; line-height: 1.4; color: #24402f; }
.ys84-trust b { display: block; font-size: 15px; }

/* the pinned bar is for phones only */
html body.ys84-on .ys84-bar { display: none !important; }

@media (max-width: 1100px) {
  html body.ys84-on .ys84-offer { grid-template-columns: minmax(0, 1fr); }
  .ys84-fact b { font-size: 21px; }
}
