/* ═══════════════════════════════════════════════════════════════════════
   workshops.css — /workshops/ only. Linked after bloom.css, pages.css and
   forms.css, and consumes their tokens.

   The page wears the shared furniture (pages.css, "SHARED PAGE FURNITURE"):
   a photographic head and the floral-framed paper. On the paper, each
   meetup is a <details> panel with its own photograph and its own colour —
   blush for the breastfeeding circle, sage for בוקר בלום — so the two read
   as two different invitations before a word is read. Closed, a panel
   already says day, hours and price; open, it is the owner's full text with
   a WhatsApp button.
   ═══════════════════════════════════════════════════════════════════════ */

/* The open space with the painted trees; the mural stays on the light side. */
.photo-head--workshops .photo-head-media img { object-position: 20% 60%; }

.ws-page { padding: 0; }
.ws-page .container-narrow { display: flex; flex-direction: column; align-items: center; }
.ws-list { display: flex; flex-direction: column; gap: 22px; width: 100%; max-width: 860px; }

/* ── The panel ─────────────────────────────────────────────────────────── */
.ws {
  --ws-accent: var(--sage);
  --ws-tint: rgba(152, 160, 122, 0.16);
  --ws-ink: var(--sage-text);
  position: relative;
  background:
    radial-gradient(120% 140% at 100% 0%, var(--ws-tint), transparent 55%),
    var(--ivory);
  border: 1px solid rgba(140, 90, 54, 0.10);
  border-radius: 28px;
  box-shadow: var(--shadow-card);
  overflow: hidden;
  transition: box-shadow .35s, transform .35s cubic-bezier(.2, .7, .3, 1);
}
.ws--blush { --ws-accent: var(--rose); --ws-tint: rgba(232, 180, 184, 0.30); --ws-ink: #9C5A5F; }
.ws--sage  { --ws-accent: var(--sage); --ws-tint: rgba(152, 160, 122, 0.24); --ws-ink: var(--sage-text); }
.ws:not([open]):hover { transform: translateY(-3px); box-shadow: var(--shadow-card-hi); }
.ws[open] { box-shadow: var(--shadow-card-hi); }

.ws summary {
  list-style: none; cursor: pointer;
  display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 22px;
  padding: 18px 18px 18px 26px;
}
.ws summary::-webkit-details-marker { display: none; }
.ws summary:focus-visible { outline: 2px solid var(--ink); outline-offset: -4px; border-radius: 28px; }

/* The photograph: a rounded tile, framed in the panel's colour. */
.ws-photo {
  position: relative; display: block;
  width: 132px; aspect-ratio: 1; border-radius: 20px; overflow: hidden;
  box-shadow: 0 0 0 4px var(--ivory), 0 0 0 6px var(--ws-accent), 0 14px 26px -16px rgba(110, 72, 40, 0.5);
  margin: 6px;
}
.ws-photo img {
  width: 100%; height: 100%; object-fit: cover; display: block;
  filter: saturate(0.92) contrast(0.97);
  transition: transform .6s cubic-bezier(.2, .7, .3, 1);
}
.ws summary:hover .ws-photo img { transform: scale(1.06); }

.ws-head { display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.ws-title {
  font-family: 'Heebo', sans-serif; font-weight: 800;
  font-size: clamp(22px, 2.6vw, 30px); line-height: 1.15; letter-spacing: -0.025em;
  color: var(--ink);
}
.ws-sub {
  display: inline-block;
  font-weight: 600; font-size: 0.6em; letter-spacing: 0; vertical-align: middle;
  color: var(--ws-ink);
  margin-inline-start: 6px;
}
.ws-meta { display: flex; flex-wrap: wrap; gap: 8px; }
.ws-meta > span {
  font-family: 'Heebo', sans-serif; font-size: 13.5px; font-weight: 600; color: var(--ink);
  padding: 5px 12px; border-radius: var(--radius-pill);
  background: var(--ivory); border: 1px solid var(--ws-accent);
}
/* The first chip is the day and hour — the one a parent scans for. */
.ws-meta > span:first-child { background: var(--ws-accent); border-color: var(--ws-accent); }

.ws-chevron {
  width: 44px; height: 44px; padding: 11px; border-radius: 50%;
  background: var(--ivory); border: 1px solid var(--neutral); color: var(--ink);
  transition: transform .4s cubic-bezier(.34, 1.56, .64, 1), background-color .25s;
}
.ws summary:hover .ws-chevron { background: var(--ws-accent); }
.ws[open] .ws-chevron { transform: rotate(180deg); background: var(--ws-accent); }

/* ── The open text ─────────────────────────────────────────────────────── */
.ws-body {
  margin: 0 26px 28px; padding-top: 24px;
  border-top: 1px dashed rgba(140, 90, 54, 0.25);
  font-family: 'Heebo', sans-serif; color: var(--ink);
}
.ws-body > * { max-width: 64ch; }
.ws[open] .ws-body { animation: wsOpen .5s cubic-bezier(.2, .7, .3, 1) both; }
@keyframes wsOpen { from { opacity: 0; transform: translateY(-8px); } }

.ws-body p { font-size: 16px; line-height: 1.75; margin-top: 12px; color: rgba(43, 43, 43, 0.86); }
.ws-body .ws-lead {
  font-size: clamp(18px, 1.9vw, 21px); font-weight: 700; line-height: 1.5;
  color: var(--ink); margin-top: 0;
}
.ws-body h3 {
  font-family: 'Heebo', sans-serif; font-weight: 800; font-size: 17px;
  margin-top: 24px; color: var(--ws-ink);
}
.ws-facts {
  list-style: none; margin: 20px 0 0; padding: 16px 20px;
  display: flex; flex-direction: column; gap: 9px;
  background: var(--cream); border: 1px solid var(--neutral);
  border-inline-start: 4px solid var(--ws-accent);
  border-radius: var(--radius-field);
  font-size: 15px; font-weight: 600; line-height: 1.5;
}
/* The "every meeting" list: a soft two-column set of chips, not a table. */
.ws-facts--list {
  flex-direction: row; flex-wrap: wrap; gap: 8px;
  background: none; border: 0; padding: 0; margin-top: 12px; font-weight: 500;
}
.ws-facts--list li {
  padding: 7px 14px; border-radius: var(--radius-pill);
  background: var(--ivory); border: 1px solid var(--neutral);
}
.ws-facts li span[aria-hidden] { display: inline-block; width: 1.6em; }
.ws-close { font-weight: 700; color: var(--ink) !important; font-size: 17px !important; }
.ws-tagline { font-weight: 800; font-size: 19px !important; color: var(--ws-ink) !important; }
.ws-cta { margin-top: 24px; display: inline-flex; align-items: center; gap: 10px; }

/* ── Above and below the list ─────────────────────────────────────────── */
.ws-note {
  margin: 0 0 26px;
  padding: 10px 20px; border-radius: var(--radius-pill);
  background: var(--ivory); border: 1.5px solid var(--rose);
  box-shadow: 0 10px 22px -16px rgba(140, 90, 54, 0.45);
  font-family: 'Heebo', sans-serif; font-size: 15px; font-weight: 700; color: var(--ink);
}
.ws-more {
  margin-top: 34px; text-align: center;
  font-family: 'Heebo', sans-serif; font-size: 15px; color: rgba(43, 43, 43, 0.78);
}
.ws-more a {
  color: var(--mocha); border-bottom: 1px solid rgba(140, 90, 54, 0.4);
  transition: color .2s, border-color .2s;
}
.ws-more a:hover, .ws-more a:active { color: var(--mocha-deep); border-bottom-color: var(--mocha-deep); }
.ws-more a:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; border-radius: 2px; }

/* ── Phone ─────────────────────────────────────────────────────────────── */
@media (max-width: 640px) {
  .ws { border-radius: 22px; }
  .ws summary { grid-template-columns: auto 1fr; gap: 14px; padding: 14px; }
  .ws-photo { width: 84px; border-radius: 16px; margin: 4px; }
  .ws-chevron { position: absolute; top: 12px; left: 12px; width: 36px; height: 36px; padding: 8px; }
  .ws-head { padding-inline-end: 34px; }
  .ws-meta > span { font-size: 12.5px; padding: 4px 10px; }
  .ws-body { margin: 0 16px 22px; }
  .ws-note { font-size: 14px; text-align: center; border-radius: 18px; }
}

@media (prefers-reduced-motion: reduce) {
  .ws, .ws-chevron, .ws-photo img { transition: none; }
  .ws[open] .ws-body { animation: none; }
}

/* Two more meetups (6.10.2026), two more colours from the floral frame:
   coral for the children's dance class, sand for the parents' workshop. */
.ws--coral { --ws-accent: #EC9D91; --ws-tint: rgba(236, 157, 145, 0.24); --ws-ink: #A3503F; }
.ws--sand  { --ws-accent: #DBB99A; --ws-tint: rgba(219, 185, 154, 0.30); --ws-ink: var(--mocha-deep); }
