/* ==========================================================================
   Αστερόπλοιο — content.css (εργαστήριο, δράση, λίστες, επικοινωνία, σελίδες, 404)
   ========================================================================== */

/* ---------- Page hero ---------- */
.page-hero {
  position: relative; isolation: isolate;
  background: linear-gradient(180deg, var(--c-cream) 0%, #FFF2CC 100%);
  padding-block: clamp(24px, 4vw, 48px) clamp(80px, 9vw, 128px);
}
.page-hero--simple .page-title { margin-top: var(--s-3); }
.page-title { font-size: clamp(2rem, 1.4rem + 2.6vw, 3.4rem); max-width: 20ch; }
.page-hero__lead { margin-top: var(--s-4); max-width: 54ch; }
.page-hero__meta { margin-top: var(--s-3); color: var(--c-ink-soft); }
.page-hero .star-slot--page-hero { right: 8%; top: 30%; }

.breadcrumbs ol { display: flex; flex-wrap: wrap; gap: 4px; list-style: none; margin: 0 0 var(--s-5); padding: 0; font-size: var(--fs-small); }
.breadcrumbs li { display: inline-flex; align-items: center; gap: 4px; }
.breadcrumbs li + li::before { content: "/"; color: var(--c-ink-soft); margin-right: 4px; }
.breadcrumbs a { display: inline-flex; align-items: center; min-height: 32px; font-weight: 600; text-decoration-color: var(--c-yellow); }
.breadcrumbs [aria-current] { color: var(--c-ink-soft); }

/* ---------- Workshop hero ---------- */
.ws-hero__grid { display: grid; gap: var(--s-6) var(--s-8); align-items: center; }
.ws-hero__text .eyebrow { display: flex; flex-wrap: wrap; }
.ws-hero__text .page-title { margin-top: var(--s-3); }
.ws-hero__subtitle { font-size: var(--fs-lead); font-style: italic; color: var(--c-ink-soft); margin-top: var(--s-2); }
.ws-hero__lead { margin-top: var(--s-5); max-width: 46ch; }
.ws-hero__chips { margin-top: var(--s-5); }
.ws-hero__chips .chip { background: var(--c-white); }
.ws-hero__actions { margin-top: var(--s-6); }
.ws-hero__media { position: relative; justify-self: center; width: min(100%, 520px); }
.book-frame {
  position: relative; background: var(--c-white); border: var(--border); border-radius: var(--radius) var(--radius) var(--radius) 8px;
  box-shadow: 10px 10px 0 0 var(--c-yellow); aspect-ratio: 4 / 3; display: grid; place-items: center; overflow: hidden;
}
.book-frame::after { content: ""; position: absolute; top: 14px; bottom: 14px; right: -10px; width: 10px; border: 2px solid var(--c-ink); border-left: 0; border-radius: 0 8px 8px 0; background: var(--c-white); }
.book-frame .visual__ill { width: 80%; height: auto; }
.book-frame .visual__photo { width: 100%; height: 100%; object-fit: cover; }
.ws-hero__media .star-slot--ws-hero { right: -14px; top: -18px; }
@media (min-width: 900px) { .ws-hero__grid { grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); } }

/* ---------- Workshop body ---------- */
.ws-body { padding-top: var(--s-7); }
.ws-layout { display: grid; gap: var(--s-7); align-items: start; }
.ws-main { position: relative; }
.ws-content { font-size: var(--fs-lead); line-height: 1.7; }
.ws-content p:first-child::first-letter {
  font-family: var(--f-head); font-weight: 700; float: left; font-size: 3.4em; line-height: .9;
  margin: .06em .1em 0 0; padding: .08em .14em; background: var(--c-yellow-soft); border-radius: 12px;
}
.ws-main .star-slot--ws-body { left: -50px; bottom: -10px; }
@media (max-width: 1279px) { .ws-main .star-slot--ws-body { left: auto; right: 0; bottom: -40px; } }
.ws-aside { display: grid; gap: var(--s-5); }
/* Phones/tablets: practical info (ages, dates, cost) before the long description. */
@media (max-width: 1023px) {
  .ws-aside { order: -1; }
  .ws-aside:has(.dates) { grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); align-items: start; }
}
@media (max-width: 599px) {
  .breadcrumbs li:last-child { display: none; }
  .breadcrumbs li:nth-last-child(2)::after { content: none; }
}
@media (min-width: 1024px) {
  .ws-layout { grid-template-columns: minmax(0, 1fr) 360px; gap: var(--s-8); }
  .ws-aside { position: sticky; top: calc(var(--header-h) + 24px); }
}

.leader {
  display: flex; gap: var(--s-4); align-items: center; margin-top: var(--s-7);
  padding: var(--s-5); border: var(--border); border-radius: var(--radius); background: var(--c-cream); max-width: 68ch;
}
.leader__icon { display: grid; place-items: center; width: 52px; height: 52px; flex: none; border-radius: 50%; background: var(--c-yellow); border: var(--border); }
.leader__icon .icon { width: 24px; height: 24px; color: var(--c-white); }
.leader__label { font-size: var(--fs-small); color: var(--c-ink-soft); font-weight: 600; }
.leader__name { font-family: var(--f-head); font-weight: 700; font-size: 1.25rem; }
.leader__role { color: var(--c-ink-soft); }

/* ---------- Info boxes ---------- */
.info-box { background: var(--c-white); border: var(--border); border-radius: var(--radius); padding: clamp(20px, 2.5vw, 28px); box-shadow: var(--shadow-solid); }
.info-box__title { font-size: 1.25rem; margin-bottom: var(--s-4); }
.practical__list { display: grid; gap: 0; margin: 0; }
.practical__row { display: grid; grid-template-columns: minmax(0, 45%) 1fr; gap: var(--s-3); padding-block: var(--s-3); border-top: 1px solid var(--c-line); }
.practical__row:first-child { border-top: 0; padding-top: 0; }
.practical__row dt { display: flex; align-items: flex-start; gap: .5em; font-weight: 600; color: var(--c-ink-soft); font-size: var(--fs-small); padding-top: 2px; }
.practical__row dt .icon { width: 1.1em; height: 1.1em; margin-top: .15em; color: var(--c-ink); }
.practical__row dd { margin: 0; font-weight: 600; }
.practical__ask { color: var(--c-ink-soft); margin-top: var(--s-2); }
.practical__list + .practical__ask { margin-top: var(--s-4); padding-top: var(--s-4); border-top: 1px solid var(--c-line); }
.practical__phone { display: inline-flex; align-items: center; gap: .5em; min-height: 44px; font-weight: 700; font-size: 1.15rem; text-decoration-color: var(--c-yellow); }

.dates__list { display: grid; gap: var(--s-3); }
.dates__item { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--s-2) var(--s-3); padding: var(--s-3) var(--s-4); border-radius: var(--radius-sm); background: var(--c-cream); }
.dates__when { display: grid; line-height: 1.35; }
.dates__when span { color: var(--c-ink-soft); font-size: var(--fs-small); }
.dates__item.is-cancelled .dates__when strong { text-decoration: line-through; }
.dates__action { min-height: 44px; font-size: var(--fs-small); }

/* ---------- Orchestra ---------- */
.orchestra { background: var(--c-white); padding-top: var(--s-6); }
.orchestra__head { align-items: center; }
.orchestra__sound[aria-pressed="false"] .orchestra__icon-on,
.orchestra__sound[aria-pressed="true"] .orchestra__icon-off { display: none; }
.orchestra__sound[aria-pressed="true"] { --btn-bg: var(--c-yellow-soft); }
.orchestra__grid { display: grid; gap: var(--s-4); grid-template-columns: repeat(auto-fill, minmax(min(46%, 150px), 1fr)); }
.orchestra__obj {
  width: 100%; display: grid; justify-items: center; gap: var(--s-2);
  padding: var(--s-5) var(--s-3) var(--s-4); background: var(--c-cream); border: var(--border); border-radius: var(--radius);
  font-weight: 700; color: var(--c-ink); transition: background-color var(--t-fast) ease, box-shadow var(--t-fast) ease;
  touch-action: manipulation;
}
.orchestra__obj svg { width: 72px; height: 72px; }
.orchestra__obj:hover { background: var(--c-white); box-shadow: var(--shadow-solid); }
.orchestra__obj.is-hit { background: var(--c-yellow-soft); }
.motion-ok .orchestra__obj.is-hit svg { animation: hop 420ms var(--ease-out); }

/* ---------- Event hero ---------- */
.ev-hero__grid { display: grid; gap: var(--s-5) var(--s-7); align-items: center; grid-template-columns: auto 1fr; }
.ev-hero__ticket {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px;
  width: 124px; padding: var(--s-5) var(--s-3); background: var(--c-yellow); border: var(--border); border-radius: var(--radius);
  box-shadow: 6px 6px 0 0 var(--c-ink); line-height: 1.1; text-align: center;
}
.ev-hero__ticket .event-card__day { font-size: 2.8rem; }
.ev-hero__status { margin-top: var(--s-4); display: flex; gap: var(--s-2); flex-wrap: wrap; }
.ev-hero__ws { margin-top: var(--s-4); }
.ev-hero__ws a { font-weight: 700; text-decoration-color: var(--c-yellow); display: inline-block; padding-block: 11px; }
@media (max-width: 599px) { .ev-hero__grid { grid-template-columns: 1fr; } .ev-hero__ticket { width: 104px; } }

.closed-note__inner { max-width: 640px; text-align: center; }
.closed-note__title { font-size: var(--fs-h2); }
.closed-note__inner > p { margin-top: var(--s-4); }
.closed-note__actions { display: flex; flex-wrap: wrap; gap: var(--s-4); justify-content: center; align-items: center; margin-top: var(--s-6) !important; }

/* ---------- Program (month groups) ---------- */
.month + .month { margin-top: var(--s-8); }
.month__title { font-size: 1.5rem; margin-bottom: var(--s-5); display: flex; align-items: center; gap: var(--s-3); }
.month__title::after { content: ""; flex: 1; height: 2px; background: repeating-linear-gradient(90deg, var(--c-ink) 0 6px, transparent 6px 12px); opacity: .35; }
.section .star-slot--list { right: 3%; bottom: 40px; }

/* ---------- Contact ---------- */
.contact { padding-top: var(--s-7); padding-bottom: var(--s-6); }
.contact__grid { display: grid; gap: var(--s-6); align-items: start; }
.contact__card { position: relative; overflow: hidden; }
.contact__list { display: grid; gap: var(--s-4); }
.contact__list li { display: flex; gap: .75em; align-items: flex-start; }
.contact__list li > .icon { margin-top: .2em; }
.contact__list div { display: grid; }
.contact__list a { font-weight: 700; text-decoration-color: var(--c-yellow); min-height: 32px; display: inline-flex; align-items: center; }
.contact__hours { white-space: pre-line; }
.contact__social { display: flex; gap: var(--s-2); margin-top: var(--s-5); }
.contact__ill { width: 150px; margin: var(--s-5) 0 -8px auto; opacity: .95; }
@media (min-width: 900px) {
  .contact__grid { grid-template-columns: minmax(0, 460px) minmax(0, 1fr); }
  /* No editor text → one wide strip: title | details | illustration. */
  .contact__grid:not(:has(.contact__content)) { grid-template-columns: 1fr; }
  .contact__grid:not(:has(.contact__content)) .contact__card { display: grid; grid-template-columns: 160px 1fr 150px; gap: var(--s-6); align-items: center; }
  .contact__grid:not(:has(.contact__content)) .info-box__title { margin: 0; }
  .contact__grid:not(:has(.contact__content)) .contact__list { grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }
  .contact__grid:not(:has(.contact__content)) .contact__ill { margin: 0; }
}

/* ---------- Posts ---------- */
.post-figure { margin-bottom: var(--s-6); max-width: 760px; }
.post-figure img { border-radius: var(--radius); border: var(--border); }
.news-grid { display: grid; gap: var(--s-5); grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); }
.pagination { margin-top: var(--s-7); }
.pagination .nav-links { display: flex; flex-wrap: wrap; gap: var(--s-2); }
.pagination .page-numbers { display: inline-grid; place-items: center; min-width: 44px; min-height: 44px; padding: 0 12px; border: var(--border); border-radius: var(--radius-pill); text-decoration: none; font-weight: 700; }
.pagination .current { background: var(--c-yellow); }

/* ---------- 404 ---------- */
.notfound { padding-bottom: var(--section); }
.notfound__grid { display: grid; gap: var(--s-6); align-items: center; }
.notfound .lead { margin-top: var(--s-4); max-width: 44ch; }
.notfound__actions { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s-4) var(--s-5); margin-top: var(--s-6); }
.notfound__art img { width: min(100%, 440px); margin-inline: auto; }
@media (min-width: 900px) { .notfound__grid { grid-template-columns: 1fr 1fr; } }

/* ---------- Inner pages with illustration hero (Το Αστερόπλοιο, Βιβλιοπωλείο, Πάρτι, Νέα) ---------- */
.page-hero--art { padding-bottom: clamp(96px, 10vw, 144px); }
.page-hero__grid { display: grid; gap: var(--s-6) var(--s-8); align-items: center; }
.page-hero__art { justify-self: center; width: min(100%, 440px); }
.page-hero__art img { width: 100%; height: auto; }
.page-hero__art .book-frame { box-shadow: 10px 10px 0 0 var(--c-yellow); }
.motion-ok .page-hero__ship { animation: bob 7s ease-in-out infinite alternate; }
@media (min-width: 900px) { .page-hero__grid { grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); } }
@media (max-width: 899px) { .page-hero__art { width: min(72vw, 320px); } }

.about__grid { display: grid; gap: var(--s-5) var(--s-8); align-items: start; }
.about__grid .prose { font-size: var(--fs-lead); }
.about__photos { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s-4); margin-top: var(--s-5); }
@media (min-width: 900px) { .about__grid { grid-template-columns: minmax(0, .8fr) minmax(0, 1.4fr); } }

.offer { padding-block: calc(var(--section) + 40px) calc(var(--section) + 48px); }
.tiles { display: grid; gap: var(--s-5); grid-template-columns: repeat(auto-fill, minmax(min(100%, 240px), 1fr)); }
.tile__link {
  display: flex; flex-direction: column; gap: var(--s-2); height: 100%; padding: var(--s-5);
  background: var(--c-white); border: var(--border); border-radius: var(--radius); text-decoration: none;
  transition: box-shadow var(--t-base) ease, transform var(--t-base) var(--ease-out);
}
.tile__link:hover, .tile__link:focus-visible { box-shadow: var(--shadow-solid); }
.motion-ok .tile__link:hover { transform: translateY(-4px); }
.tile__art { display: grid; place-items: center; background: var(--c-cream); border-radius: var(--radius-sm); aspect-ratio: 5 / 4; margin-bottom: var(--s-3); }
.tile__art .illustration { width: 76%; height: auto; }
.tile__title { font-family: var(--f-head); font-weight: 700; font-size: var(--fs-h3); }
.tile__text { color: var(--c-ink-soft); font-size: 1rem; }

.team__grid { display: grid; gap: var(--s-5); grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr)); }
.team__grid .placeholder-tile { min-height: 280px; }

.visit { padding-top: calc(var(--section) + 40px); padding-bottom: calc(var(--section) + 24px); }
.visit__grid { display: grid; gap: var(--s-5); align-items: stretch; }
.visit .space__card { background: var(--c-white); border: var(--border); border-radius: var(--radius); padding: clamp(20px, 3vw, 32px); }
.visit .space__list { display: grid; gap: var(--s-4); }
.visit .space__list li { display: flex; gap: .75em; align-items: flex-start; }
.visit .space__list .icon { margin-top: .2em; }
.visit .space__list a { font-weight: 600; text-decoration-color: var(--c-yellow); }
.visit .space__hours { white-space: pre-line; }
.visit__cta { margin-top: var(--s-6); }
.visit__photos { display: grid; gap: var(--s-4); grid-template-columns: repeat(auto-fill, minmax(min(100%, 180px), 1fr)); }
.visit .star-slot--visit { right: 4%; top: 64px; }
@media (min-width: 900px) { .visit__grid { grid-template-columns: minmax(0, 400px) minmax(0, 1fr); } }
.placeholder-inline { color: var(--c-ink-soft); font-style: italic; }

.book-ph { display: grid; gap: var(--s-3); padding: var(--s-5); border: var(--border); border-radius: var(--radius); background: var(--c-white); }
.book-ph .illustration { width: 70%; margin-inline: auto; }
.book-ph .placeholder-tile { min-height: 110px; }
.news-signup { margin-top: var(--s-7); }

/* ---------- Other workshops ---------- */
.others .star-slot--others { right: 3%; top: 60px; }
