/* The sports courts page (sports-courts.html, מגרשי ספורט), in the homepage's language (31 Oct 2026). Linked after site.css.
   Plural voice. Built like pilates.html, from the shared inner-page kit (.ih, .ih-stage.dots, .st-card, .win with the homepage's .pd-nav)
   and the homepage's own pieces (.gh-rate, .gh-title and .gh-logo in the hero; the trainee app's .phone.ta and .ta-*, .price-card,
   .faq3, .closing2). No photo fits courts, so the hero stage is product-led: the courts' day by the hour in the product's window.
   Court types wear the calendar's own class colours: padel blue, tennis green, football gold. Every mockup holds its finished state.
   Prefix ct- (courts). */

/* ---------- Hero: the homepage's copy (crumbs, rating line, the title with the logo inline, two buttons, a note) ---------- */
.ct-hero { padding-top: clamp(22px, 3.5vh, 44px); }
.ct-hero .ih-sub { margin-top: 20px; text-wrap: balance; }
.ct-hero .ih-note { margin-top: 18px; }
@media (max-width: 760px) {
  .ct-hero .ih-sub { margin-top: 16px; font-size: 18px; }
  .ct-hero .actions { width: 100%; flex-direction: column; margin-top: 22px; }
  .ct-hero .btn { width: 100%; min-height: 56px; font-size: 17.5px; }
  .ct-hero .ih-note { text-wrap: balance; }
}

/* The stage: the grey dot grid, the product's window on the courts' day (start side), two frosted cards on the other side */
.ct-stage { height: clamp(560px, 50vw, 640px); --pd: #2050B0; --pd-soft: #EBF2FC; --tn: #156B3F; --tn-soft: #EAF7EF; --fb: #8A5A08; --fb-soft: #FCF5E6; }
.ct-win { top: 40px; bottom: 40px; inset-inline-start: clamp(24px, 4cqw, 48px); width: min(820px, calc(100% - 340px)); }
.ct-win .win-main { gap: 12px; }
.ct-win .win-main > * { flex-shrink: 0; }
.ct-tools { display: flex; gap: 14px; }
.ct-head-tools { display: flex; align-items: center; gap: 8px; }
.ct-nav, .ct-add { display: flex; align-items: center; gap: 4px; height: 32px; padding: 0 9px; border-radius: 10px; font-size: 12px; font-weight: 600; white-space: nowrap; }
.ct-nav { box-shadow: inset 0 0 0 1px var(--line); }
.ct-nav .ic { width: 14px; height: 14px; color: var(--ink-2); }
.ct-add { gap: 6px; padding: 0 12px; background: #0B0B0C; color: #fff; }
.ct-add .ic { width: 14px; height: 14px; stroke-width: 2.2; }

/* the day by the hour: the hours (with their price) down the start side, the courts across, the bookings as blocks */
.ct-grid { position: relative; display: grid; grid-template-columns: 58px repeat(5, minmax(0, 1fr)); grid-template-rows: 28px repeat(8, 50px); gap: 4px;
  background: linear-gradient(var(--paper-2), var(--paper-2)) 0 30px / 100% 1px no-repeat,
    repeating-linear-gradient(to bottom, var(--paper-2) 0 1px, transparent 1px 54px) 0 30px / 100% calc(100% - 30px) no-repeat; }
.ct-corner { grid-column: 1; grid-row: 1; align-self: center; font-size: 9.5px; color: var(--ink-2); white-space: nowrap; }
.ct-court { grid-column: var(--col); grid-row: 1; display: flex; align-items: center; gap: 6px; overflow: hidden; font-size: 11.5px; font-weight: 700; white-space: nowrap; }
.ct-court::before { content: ""; flex: none; width: 8px; height: 8px; border-radius: 50%; background: var(--pd); }
.ct-court.c4::before { background: var(--tn); }
.ct-court.c5::before { background: var(--fb); }
.ct-h { grid-column: 1; grid-row: var(--row); display: grid; align-content: start; gap: 2px; padding-top: 5px; font-size: 11.5px; font-weight: 700; font-variant-numeric: tabular-nums; }
.ct-h small { justify-self: start; padding: 1px 6px; border-radius: 6px; background: #F4F4F6; color: var(--ink-2); font-size: 10px; font-weight: 700; }
.ct-h.peak small { background: #FFF4DB; color: #8A5A08; }
.ct-b { grid-column: var(--col); grid-row: var(--row) / span var(--len, 1); display: flex; flex-direction: column; justify-content: center; gap: 2px; min-width: 0; margin: 0;
  padding: 0 8px; overflow: hidden; border-radius: 9px; background: var(--pd-soft); color: var(--pd); }
.ct-b b { overflow: hidden; color: #0B0B0C; font-size: 11.5px; font-weight: 700; white-space: nowrap; text-overflow: ellipsis; }
.ct-b span { overflow: hidden; font-size: 10px; font-weight: 500; white-space: nowrap; text-overflow: ellipsis; }
.ct-b.tn { background: var(--tn-soft); color: var(--tn); }
.ct-b.fb { background: var(--fb-soft); color: var(--fb); }
.ct-b.free { background: #fff; color: #1A7F4B; box-shadow: inset 0 0 0 1.5px #18E588; }
.ct-b.free b { color: #1A7F4B; }
.ct-b.on { z-index: 1; box-shadow: inset 0 0 0 1.5px var(--pd), 0 10px 22px -10px rgba(32, 80, 176, .5); }

.ct-card-t { display: block; margin-top: 7px; font-size: 20px; font-weight: 700; line-height: 1.2; }
.ct-done { display: flex; align-items: center; gap: 6px; margin-top: 12px; font-size: 14px; color: var(--ink-2); }
.ct-done::before { content: ""; flex: none; width: 16px; height: 16px; border-radius: 50%; background: #000 var(--tick-white) center / 10px no-repeat; }
.ct-new { top: 60px; left: clamp(14px, 2cqw, 24px); width: 300px; }
.ct-players { display: flex; align-items: center; margin-top: 12px; padding-top: 12px; border-top: 1px solid var(--line); }
.ct-players i { display: grid; place-items: center; flex: none; width: 30px; height: 30px; margin-inline-end: -8px; border-radius: 50%; background: #000; color: #fff;
  box-shadow: 0 0 0 2px #fff; font-size: 12px; font-weight: 700; font-style: normal; }
.ct-players span { display: grid; margin-inline-start: 18px; line-height: 1.3; }
.ct-players b { font-size: 15px; font-weight: 700; }
.ct-players small { font-size: 13px; }
.ct-wait { left: clamp(28px, 5cqw, 56px); bottom: 52px; width: 270px; }

@container ihs (max-width: 979px) {
  .ct-win { top: 24px; bottom: 190px; inset-inline: 24px; width: auto; }
  .ct-new { top: auto; bottom: 24px; left: 24px; width: calc(50% - 36px); }
  .ct-wait { bottom: 24px; left: auto; right: 24px; width: calc(50% - 36px); }
}
@media (max-width: 1060px) { .ct-stage { height: 720px; } }
/* site.css hides .pd-nav in any container under 760px while .win keeps its sidebar column until 700px: collapse it here too */
@container ihs (max-width: 759px) { .ct-win { grid-template-columns: minmax(0, 1fr); } .ct-win .pd-nav { display: none; } }
@container ihs (max-width: 599px) {
  /* phones: three courts, the hours a little narrower, and the booking card under the window */
  .ct-win { top: 14px; bottom: auto; height: 470px; inset-inline: 12px; }
  .ct-win .win-main { padding: 0 12px 12px; }
  .ct-win .win-top { margin: 0 -12px; padding: 0 12px; }
  .ct-nav { display: none; }
  .ct-grid { grid-template-columns: 46px repeat(3, minmax(0, 1fr)); grid-template-rows: 26px repeat(8, 46px); gap: 3px;
    background-position: 0 28px, 0 28px; background-size: 100% 1px, 100% calc(100% - 28px);
    background-image: linear-gradient(var(--paper-2), var(--paper-2)), repeating-linear-gradient(to bottom, var(--paper-2) 0 1px, transparent 1px 49px); }
  .ct-corner { font-size: 0; }
  .ct-court.c4, .ct-court.c5, .ct-b.tn, .ct-b.fb { display: none; }
  .ct-h { font-size: 10.5px; padding-top: 3px; }
  .ct-h small { padding: 0 4px; font-size: 9px; }
  .ct-b { padding: 0 6px; }
  .ct-b b { font-size: 10.5px; }
  .ct-b span { font-size: 9px; }
  .ct-new { left: 12px; right: 12px; bottom: 14px; width: auto; padding: 12px 14px 13px; }
  .ct-new .ct-card-t { font-size: 17px; }
  .ct-new .ct-done { margin-top: 9px; font-size: 13px; }
  .ct-players { margin-top: 9px; padding-top: 9px; }
  .ct-wait { display: none; }
}
@media (max-width: 599px) { .ct-stage { height: 690px; } }

/* ---------- Copy beside the product ---------- */
.ct-lead { max-width: 30em; font-size: 18px; line-height: 1.6; color: var(--ink-2); text-wrap: pretty; }
.ct-hours .feat { grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); }
.ct-pay .feat { grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); }
@media (max-width: 899px) { .ct-hours .feat, .ct-pay .feat { grid-template-columns: minmax(0, 1fr); } }

/* ---------- Pricing by the hour: the product's settings card, and a late cancellation charged by itself ---------- */
.ctset-stage { position: relative; height: 600px; overflow: hidden; isolation: isolate; container: ctset / inline-size; border-radius: 26px;
  background: radial-gradient(rgba(0, 0, 0, .07) 1px, transparent 1.6px) 0 0 / 22px 22px, linear-gradient(165deg, #FCFCFD 0%, #E3E3E8 100%);
  --pd: #2050B0; --pd-soft: #EBF2FC; }
.ct-set { position: absolute; z-index: 1; top: 36px; inset-inline-start: 40px; width: min(440px, calc(100% - 80px)); display: grid; gap: 16px; padding: 20px 22px 22px;
  border-radius: 20px; background: #fff; color: #000; font-size: 12.5px; line-height: 1.35; box-shadow: 0 0 0 1px rgba(0, 0, 0, .05), 0 40px 80px -40px rgba(40, 30, 10, .45); }
.ct-set p, .ct-set ul { margin: 0; }
.ct-set .ic { flex: none; width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.ct-set-h { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; }
.ct-set-h small { display: block; font-size: 11.5px; color: var(--ink-2); }
.ct-set-h b { font-size: 20px; font-weight: 800; letter-spacing: -0.01em; }
.ct-type { display: inline-flex; align-items: center; gap: 6px; height: 32px; padding: 0 10px; border-radius: 10px; box-shadow: inset 0 0 0 1px var(--line); font-size: 12.5px; font-weight: 700; white-space: nowrap; }
.ct-type i { width: 8px; height: 8px; border-radius: 50%; background: var(--pd); }
/* the day as a bar: cheaper until 16:00, dearer after it */
.ct-day { display: grid; gap: 6px; }
.ct-day-bar { display: flex; height: 42px; overflow: hidden; border-radius: 12px; }
.ct-day-bar span { display: grid; place-items: center; width: var(--w); font-family: "Wix Madefor Display", var(--display); font-size: 15px; font-weight: 800; }
.ct-day-bar .lo { background: var(--pd-soft); color: var(--pd); }
.ct-day-bar .hi { background: var(--pd); color: #fff; }
.ct-day-t { position: relative; height: 14px; font-size: 10.5px; color: var(--ink-2); font-variant-numeric: tabular-nums; }
.ct-day-t bdi { position: absolute; top: 0; }
.ct-day-t bdi:nth-child(1) { right: 0; }
.ct-day-t bdi:nth-child(2) { right: 56.25%; transform: translateX(50%); }
.ct-day-t bdi:nth-child(3) { left: 0; }
.ct-bands { display: grid; padding: 0; list-style: none; }
.ct-bands li { display: flex; align-items: center; gap: 10px; min-height: 50px; border-top: 1px solid var(--paper-2); }
.ct-bands .sw { flex: none; width: 12px; height: 28px; border-radius: 4px; }
.ct-bands .sw.lo { background: var(--pd-soft); box-shadow: inset 0 0 0 1px rgba(32, 80, 176, .25); }
.ct-bands .sw.hi { background: var(--pd); }
.ct-bands li > span:nth-child(2) { display: grid; min-width: 0; }
.ct-bands b { font-size: 13px; font-weight: 700; }
.ct-bands small { font-size: 11px; color: var(--ink-2); }
.ct-f { display: inline-flex; align-items: baseline; gap: 5px; margin-inline-start: auto; padding: 6px 10px; border-radius: 9px; box-shadow: inset 0 0 0 1px var(--line);
  font-size: 14px; font-weight: 800; font-variant-numeric: tabular-nums; }
.ct-f small { font-size: 10.5px; font-weight: 500; color: var(--ink-2); }
/* the cancellation policy: the card held at booking (the product's green switch), and what a late cancellation costs */
.ct-pol { display: grid; gap: 2px; padding: 12px 14px 4px; border-radius: 14px; background: #F6F6F8; }
.ct-pol-h { font-size: 11.5px; font-weight: 700; color: var(--ink-2); }
.ct-row { display: flex; align-items: center; justify-content: space-between; gap: 10px; min-height: 48px; }
.ct-row + .ct-row { border-top: 1px solid #E9E9EC; }
.ct-row > span:first-child { display: grid; min-width: 0; }
.ct-row b { font-size: 13px; font-weight: 700; }
.ct-row small { font-size: 11px; color: var(--ink-2); }
.ct-sw { position: relative; flex: none; width: 34px; height: 20px; border-radius: 999px; background: #18E588; font-style: normal; }
.ct-sw::after { content: ""; position: absolute; top: 2px; inset-inline-end: 2px; width: 16px; height: 16px; border-radius: 50%; background: #fff; box-shadow: 0 1px 2px rgba(0, 0, 0, .25); }
.ct-f2 { display: inline-flex; align-items: center; gap: 4px; flex: none; padding: 6px 9px; border-radius: 9px; background: #fff; box-shadow: inset 0 0 0 1px var(--line); font-size: 12px; font-weight: 700; white-space: nowrap; }
.ct-late { left: 20px; bottom: 22px; width: 250px; }
.ct-late .ct-card-t { font-size: 18px; }
@container ctset (max-width: 559px) {
  .ct-set { top: 14px; inset-inline: 14px; width: auto; padding: 16px 16px 18px; gap: 14px; }
  .ct-late { left: 14px; right: 14px; bottom: 14px; width: auto; }
}
@media (max-width: 599px) { .ctset-stage { height: 700px; } }

/* ---------- Payment on booking: the booking screen in the trainee app's colours, the players' shares, a booking from lee.co.il ---------- */
.ctapp-stage { position: relative; height: 620px; overflow: hidden; isolation: isolate; container: ctapp / inline-size; border-radius: 26px;
  background: #F2F2F3 radial-gradient(rgba(0, 0, 0, .075) 1px, transparent 1.6px) 0 0 / 22px 22px; }
.ctapp-phone { position: absolute; z-index: 2; top: 40px; inset-inline-start: 28px; }
.ctapp-phone .phone { width: 262px; box-shadow: 0 50px 80px -40px rgba(0, 0, 0, .45); }
.ct-book { gap: 9px; padding: 34px 12px 12px; background: #fff; }
.ct-book-t { margin-top: 2px; font-size: 15px; font-weight: 800; letter-spacing: -0.01em; }
.ct-seg { display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px; padding: 3px; border-radius: 9px; background: var(--ta-bg); }
.ct-seg span { display: grid; place-items: center; height: 24px; border-radius: 7px; font-size: 10.5px; color: #555; }
.ct-seg .on { background: #fff; color: var(--ta-pink); font-weight: 700; box-shadow: 0 1px 3px rgba(0, 0, 0, .12); }
.ct-days { display: grid; grid-template-columns: repeat(4, 1fr); gap: 5px; }
.ct-days span { display: grid; justify-items: center; padding: 5px 0; border-radius: 9px; box-shadow: inset 0 0 0 1px var(--ta-line); font-size: 12px; font-weight: 700; }
.ct-days small { font-size: 9px; font-weight: 500; color: #8A8A8A; }
.ct-days .on { background: var(--ta-pink); color: #fff; box-shadow: none; }
.ct-days .on small { color: #FFD3E1; }
.ct-slots { display: grid; grid-template-columns: repeat(3, 1fr); gap: 5px; }
.ct-slots span { display: grid; justify-items: center; padding: 5px 0 4px; border-radius: 9px; box-shadow: inset 0 0 0 1px var(--ta-line); font-size: 11.5px; font-weight: 700; font-variant-numeric: tabular-nums; }
.ct-slots small { font-size: 9px; font-weight: 600; color: #555; }
.ct-slots .x { background: var(--ta-bg); color: #A8A8A8; box-shadow: none; }
.ct-slots .x small { color: #A8A8A8; }
.ct-slots .on { background: var(--ta-pink-soft); color: var(--ta-pink); box-shadow: inset 0 0 0 1.5px var(--ta-pink); }
.ct-slots .on small { color: var(--ta-pink); }
.ct-sum { display: grid; border: 1px solid var(--ta-line); border-radius: 10px; }
.ct-sum p { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 7px 10px; }
.ct-sum p + p { border-top: 1px solid var(--ta-line); }
.ct-sum b { font-size: 11.5px; font-weight: 700; }
.ct-sum span { font-size: 10px; color: #555; }
.ct-split span { font-size: 10.5px; color: #000; font-weight: 600; }
.ct-book .ct-sw { width: 30px; height: 18px; }
.ct-book .ct-sw::after { width: 14px; height: 14px; }
.ct-total { display: flex; justify-content: space-between; align-items: baseline; margin-top: auto; padding-top: 8px; border-top: 1px dashed #D9D9DE; font-size: 11px; }
.ct-total b { font-family: "Wix Madefor Display", var(--display); font-size: 20px; font-weight: 800; letter-spacing: -0.02em; }
.ct-pay-btn { display: grid; place-items: center; height: 34px; border-radius: 10px; background: var(--ta-pink); color: #fff; font-size: 12px; font-weight: 700; }
/* each player's share, paid */
.ct-shares { top: 56px; inset-inline-end: 18px; display: grid; width: 262px; }
.ct-who { display: grid; margin: 10px 0 0; padding: 0; list-style: none; }
.ct-who li { display: flex; align-items: center; gap: 8px; min-height: 38px; border-top: 1px solid var(--line); }
.ct-who i { display: grid; place-items: center; flex: none; width: 26px; height: 26px; border-radius: 50%; background: #000; color: #fff; font-size: 11px; font-weight: 700; font-style: normal; }
.ct-who b { min-width: 0; overflow: hidden; font-size: 13.5px; font-weight: 700; white-space: nowrap; text-overflow: ellipsis; }
.ct-who span { margin-inline-start: auto; font-size: 13px; font-weight: 700; font-variant-numeric: tabular-nums; }
.ct-who em { flex: none; padding: 2px 8px; border-radius: 999px; background: #E3F8EA; color: #1A7F4B; font-size: 11px; font-weight: 700; font-style: normal; }
.ct-lee { bottom: 40px; inset-inline-end: 18px; width: 262px; }
.ct-lee .ct-card-t { font-size: 18px; }
.st-card-h .ct-lee-mark { display: grid; place-items: center; height: 20px; padding: 0 7px; border-radius: 6px; background: #000; color: #fff;
  font-family: "Wix Madefor Display", var(--display); font-size: 12.5px; font-weight: 800; letter-spacing: -0.02em; }
@container ctapp (max-width: 559px) {
  /* narrower: the shares on top, the phone under them, cut by the stage's bottom edge, no lee card */
  .ct-shares { top: 16px; inset-inline: 16px; width: auto; }
  .ctapp-phone { inset-inline: 0; display: flex; justify-content: center; top: 300px; }
  .ct-lee { display: none; }
}
@media (max-width: 599px) { .ctapp-stage { height: 800px; } }

/* ---------- Price: the two plans, and the homepage's black "בכל מסלול" side ---------- */
.ct-plans { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.ct-plan { display: grid; gap: 6px; align-content: start; padding: 22px 22px 24px; border-radius: 20px; background: #fff; box-shadow: inset 0 0 0 1px var(--line); }
.ct-plan.on { background: #000; color: #fff; box-shadow: none; }
.ct-plan h3 { font-size: 16px; font-weight: 600; color: var(--ink-2); }
.ct-plan.on h3 { color: #A9A9AE; }
.ct-p-n { display: grid; font-family: "Wix Madefor Display", var(--display); font-size: clamp(46px, 5vw, 64px); font-weight: 800; line-height: 1; letter-spacing: -0.04em; }
.ct-p-n small { margin-top: 8px; font-family: var(--sans); font-size: 14px; font-weight: 400; letter-spacing: 0; color: var(--ink-2); }
.ct-plan.on .ct-p-n small { color: #A9A9AE; }
.ct-for { margin-top: 6px; font-size: 16px; line-height: 1.5; color: var(--ink-2); }
.ct-plan.on .ct-for { color: #D4D4D8; }
.ct-more { margin-top: 18px; font-size: 16px; color: var(--ink-2); }
.ct-price .actions { margin-top: 24px; }
.ct-price .side > b { font-size: 20px; font-weight: 700; }
.ct-price .side .ticks { font-size: 17px; }
@media (max-width: 459px) {
  .ct-plans { grid-template-columns: minmax(0, 1fr); }
  .ct-price .actions .btn { flex: 1 1 100%; }
}
