/* Τένις Ύδρας, landing page reference: the court section: the title, the lead, the next free slot, the two pictures' grid, the facts.
   From the design's stylesheet (page.css). */
/* ---------------------------------------------------------------- the court section */
.cs{padding:44px 0 48px}
@media (min-width:960px){.cs{padding:80px 0 96px}}
.cs-head{display:grid;gap:12px;margin-bottom:26px}
.cs-title{font-family:'GFS Didot',Georgia,'Times New Roman',serif;font-weight:400;font-size:clamp(2.5rem,1.75rem + 2.6vw,4.25rem);line-height:.98;letter-spacing:-.005em}
.cs-lead{max-width:46ch;font-size:1.05rem;color:var(--muted);text-wrap:pretty}
/* under the lead: the next free slot, whose time is the link to book it */
.cs-book{display:flex;flex-wrap:wrap;align-items:center;column-gap:22px;margin-top:2px}
.cs-slot{display:inline-flex;align-items:center;gap:9px;min-height:44px;margin:0;font-size:14.5px;line-height:1.35;color:var(--muted)}
.cs-slot-dot{position:relative;flex:none;width:8px;height:8px;border-radius:50%;background:var(--free);transition:background-color 1.2s}
.cs-slot-dot::after{content:"";position:absolute;inset:-4px;border-radius:50%;box-shadow:0 0 0 1.5px var(--free);opacity:0;animation:cs-ping 2.8s cubic-bezier(.2,.6,.3,1) infinite}
@keyframes cs-ping{0%{transform:scale(.4);opacity:.75}70%,100%{transform:scale(1.5);opacity:0}}
/* the next free slot's time is the way to the booking page (no separate «Κάντε κράτηση» beside it) */
.cs-slot .cs-link{gap:6px;font-size:inherit}
@media (prefers-reduced-motion:reduce){.cs-slot-dot::after{animation:none}}
@media (min-width:960px){.cs-head{grid-template-columns:auto minmax(0,1fr);align-items:end;column-gap:56px;margin-bottom:40px}.cs-lead{padding-bottom:4px}.cs-book{grid-column:2;margin-top:0}}
.cs-grid{display:grid;gap:30px}
@media (min-width:960px){.cs-grid{grid-template-columns:minmax(0,1390fr) minmax(0,1333fr);gap:40px;align-items:start}}
.cs-plan{margin:0 -16px}
@media (min-width:720px){.cs-plan{margin:0}}
.cs-cap{display:flex;align-items:baseline;gap:10px;margin-top:10px;font-size:13.5px;line-height:1.45;color:var(--muted)}
.cs-plan .cs-cap{padding:0 16px}
@media (min-width:720px){.cs-plan .cs-cap{padding:0}}
.cs-cap svg{width:15px;height:15px;transform:translateY(2px)}

/* facts under the two pictures: a label, one big value, a note and at most one link in each */
.cs-facts{display:grid;margin-top:40px;border-top:1px solid var(--line-2)}
.cs-fact{display:grid;align-content:start;gap:6px;padding:18px 0 20px;border-bottom:1px solid var(--line)}
.cs-fact dt{font-size:13.5px;font-weight:600;color:var(--muted)}
.cs-big{font-family:'GFS Didot',Georgia,'Times New Roman',serif;font-size:2rem;line-height:1.08;color:var(--ink);font-variant-numeric:lining-nums}
.cs-big a{color:inherit;text-decoration:none}
.cs-big a:hover{text-decoration:underline;text-decoration-thickness:1px;text-underline-offset:5px}
.cs-note{max-width:34ch;font-size:15px;line-height:1.5;color:var(--muted);text-wrap:pretty}
@media (min-width:720px){.cs-facts{grid-template-columns:repeat(2,minmax(0,1fr));column-gap:40px}.cs-fact{grid-template-rows:auto auto 1fr auto}}
@media (min-width:1080px){
  .cs-facts{grid-template-columns:repeat(4,minmax(0,1fr));column-gap:0;border-bottom:1px solid var(--line)}
  .cs-fact{padding:24px 28px 18px;border-bottom:0;border-left:1px solid var(--line)}
  .cs-fact:first-child{padding-left:0;border-left:0}
}


/* ---------------------------------------------------------------- ours, not the design's */
/* the price when residents and visitors pay differently: both in the open, each figure as large as the other facts',
   with whom it is for beside it */
.cs-prices{display:grid;gap:4px}
.cs-prices span{display:flex;flex-wrap:wrap;align-items:baseline;gap:0 10px;font-size:15px;line-height:1.35;color:var(--muted)}
.cs-prices .cs-big{font-weight:400}
