/* All Istanbul tour page: "Where will you stay?" (app/tour-stays.php, 29 Nov 2026). The places of the tour in trip order, each
   with its nights, the kind of stay and, behind a click, the hotels ticked for the tour. The same layout as
   onenationtravel.com's (ont-tour.css, .ont-stays), in this site's colours (green ink, gold, paper).
   The site's Content-Security-Policy allows no inline styles, so everything is styled from here. */
.stays{margin:clamp(36px,4vw,56px) 0 0;container-type:inline-size;scroll-margin-top:80px}
.stays-head h2{margin:0}
.stays-head p{max-width:62ch;margin:8px 0 18px;color:#334c43}

/* one place = one row; a place with hotels is a <details> that opens to its hotel cards */
.tour-content .stays .stay-row{margin:0 0 10px;padding:0 18px;border:1px solid #e1e5dc;border-radius:14px;background:#fffdf8;transition:box-shadow .2s,border-color .2s}
.tour-content .stays details.stay-row:hover{border-color:#cdd6ca}
.tour-content .stays details.stay-row[open]{padding-bottom:16px;border-color:#cdd6ca;box-shadow:0 16px 30px -24px rgba(18,60,54,.55)}
.tour-content .stays .stay-line{display:grid;grid-template-columns:30px minmax(0,160px) minmax(0,1fr) minmax(200px,30%) 124px 20px;column-gap:12px;align-items:center;min-height:64px;padding:8px 0;line-height:1.3;font-weight:400;list-style:none}
.tour-content .stays summary.stay-line{cursor:pointer}
.tour-content .stays summary.stay-line::-webkit-details-marker{display:none}
.tour-content .stays summary.stay-line::after{grid-area:1/6;justify-self:center;align-self:center;margin:0;font-size:22px;font-weight:700;line-height:1}
.stays .stay-step{grid-area:1/1;display:grid;place-items:center;width:30px;height:30px;border-radius:50%;background:var(--ink,#123c36);color:#efd198;font:700 14px/1 "DM Sans",Arial,sans-serif}
.stays .stay-line h3{grid-area:1/2;display:flex;align-items:center;gap:6px;margin:0;font-size:19px;line-height:1.25}
.stays .stay-icon{flex:none;color:#966c28}
.stays .stay-sub{display:contents}
.stays .stay-peek{grid-area:1/3;justify-self:start;display:inline-flex;align-items:center}
.stays .stay-peek img{width:44px;height:44px;border-radius:10px;object-fit:cover;box-shadow:0 0 0 2px #fffdf8}
.stays .stay-peek img+img{margin-left:-10px}
.stays .stay-count{margin-left:10px;color:#475d50;font:700 14px/1.3 "DM Sans",Arial,sans-serif;white-space:nowrap}
.stays details.stay-row[open] .stay-peek{display:none}
.stays .stay-type{grid-area:1/4;justify-self:start;display:inline-flex;align-items:center;padding:4px 11px;border:1px solid #d4d8ce;border-radius:999px;background:#fff;color:var(--ink,#123c36);font:700 13px/1.3 "DM Sans",Arial,sans-serif}
.stays .stay-nights{grid-area:1/5;justify-self:end;display:inline-flex;align-items:center;gap:6px;padding:4px 11px;border-radius:999px;background:#efd198;color:var(--ink,#123c36);font:700 13px/1.3 "DM Sans",Arial,sans-serif;white-space:nowrap}
.stays .stay-nights .stay-icon{width:16px;height:16px;color:inherit}
/* hotel photos, "N hotels" and the nights badge start at the same x in every row (Bilal, 29 Nov 2026, as on onenationtravel.com):
   the place column has a fixed width (a long name wraps), the photo slot is always three photos wide, the badge one width */
.stays .stay-line h3{min-width:0}
.stays .stay-nights{min-width:108px;justify-content:center}
@container (min-width:881px){
.stays .stay-peek img:only-of-type{margin-right:68px}
.stays .stay-peek img:nth-of-type(2):last-of-type{margin-right:34px}
.stays .stay-peek:not(:has(img)) .stay-count{margin-left:122px}}
/* a night aboard or in a desert camp: a small drawing where a hotel row shows photos (stay-types.php, stayArt) */
.stays .stay-art{width:66px;height:44px;border-radius:10px;overflow:hidden}
.stays .stay-art svg{display:block;width:100%;height:100%}
.stays .stay-row>.featured-hotel-list{margin:6px 0 0}

/* narrow column (laptops with the booking box beside it, phones): line 1 = place + nights, line 2 = label and hotel photos */
@container (max-width:880px){
.tour-content .stays .stay-line{display:flex;flex-wrap:wrap;gap:8px 10px}
.stays .stay-nights{margin-left:auto}
.tour-content .stays .stay-plain .stay-line{padding-right:23px}
.tour-content .stays summary.stay-line::after{margin-left:0}
.stays .stay-sub{display:flex;flex-wrap:wrap;align-items:center;gap:8px 12px;order:9;flex-basis:100%;padding-left:40px}
.stays .stay-sub .stay-type{order:-1}
.stays details.stay-row[open] .stay-sub:not(:has(.stay-type)){display:none}}
@media(max-width:620px){.tour-content .stays .stay-row{padding:0 14px}.stays .stay-peek img{width:38px;height:38px}.stays .stay-nights .stay-icon{display:none}.stays .stay-nights{min-width:0}}
