/* What's on: the summer events list (Oct 2026). Every class starts with wo- so it never clashes with site.css. */

/* Hero side card: the bunting picture, then the next few things on */
.wo-next { background: var(--white); border: 1px solid var(--line); border-radius: 20px; padding: 18px 22px 10px; box-shadow: 0 10px 30px rgba(20,36,47,0.06); overflow: hidden; }
.wo-next h2 { font-size: 13px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-mid); margin: 0 0 4px; }
.wo-next ol { list-style: none; margin: 0; padding: 0; }
.wo-next li { border-top: 1px solid var(--line); }
.wo-next li:first-child { border-top: 0; }
.wo-next a { display: flex; gap: 14px; align-items: center; padding: 10px 0; text-decoration: none; color: var(--ink); }
.wo-next a:hover .wo-next-title { color: var(--deep-sea); text-decoration: underline; }
.wo-next-title { font-weight: 600; font-size: 15px; line-height: 1.35; display: block; }
.wo-next-meta { font-size: 13px; color: var(--ink-mid); display: block; margin-top: 2px; }
.page-hero .wo-small { font-size: 14px; margin-top: 4px; }

/* Hero: bunting along the top and a little market on the grass, instead of the hills and sea (experiment, Oct 2026) */
.page-hero.wo-hero {
  background:
    url("/images/whats-on/bunting.svg") repeat-x left 0 top calc(var(--banner-h, 0px) + 50px) / 480px 60px,
    url("/images/whats-on/stalls.svg") no-repeat right 6% bottom 12px / 320px auto,
    url("/images/whats-on/calendar.svg") no-repeat left 5% bottom 22px / 96px auto,
    url("/images/whats-on/ground.svg") no-repeat center bottom / 100% 110px,
    #E6EFF4;
  padding-top: 150px;
}
@media (max-width: 760px) {
  .page-hero.wo-hero {
    background:
      url("/images/whats-on/bunting.svg") repeat-x left 0 top 64px / 320px 40px,
      url("/images/whats-on/stalls.svg") no-repeat right 16px bottom 8px / 180px auto,
      url("/images/whats-on/calendar.svg") no-repeat left 16px bottom 14px / 64px auto,
      url("/images/whats-on/ground.svg") no-repeat center bottom / 100% 80px,
      #E6EFF4;
    padding-top: 130px;
  }
}

/* The little date stamp in the hero card */
.wo-stamp { flex: none; width: 50px; text-align: center; border-radius: 12px; background: var(--deep-sea-soft); color: var(--deep-sea); padding: 6px 0 7px; line-height: 1; }
.wo-stamp b { display: block; font-size: 20px; font-weight: 700; }
.wo-stamp small { display: block; font-size: 11px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; margin-top: 3px; }

/* Filters: chips for what, a drop-down for where. Stuck under the menu while you scroll. */
.wo-filters { position: sticky; top: calc(var(--banner-h, 0px) + 64px); z-index: 5; background: rgba(255,255,255,0.96); border-bottom: 1px solid var(--line); padding: 12px 40px; backdrop-filter: blur(6px); }
.wo-bar { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.wo-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.wo-chip { font: inherit; flex: none; display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 8px 16px; border-radius: 999px; border: 1.5px solid var(--line); background: var(--white); color: var(--ink-mid); font-size: 14px; font-weight: 600; cursor: pointer; }
.wo-chip:hover { border-color: var(--deep-sea); color: var(--deep-sea); }
.wo-chip[aria-pressed="true"] { background: var(--deep-sea); border-color: var(--deep-sea); color: var(--white); }
.wo-where { flex: none; position: relative; display: inline-flex; align-items: center; }
.wo-where svg { position: absolute; left: 13px; width: 16px; height: 16px; fill: none; stroke: var(--deep-sea); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; pointer-events: none; }
.wo-where select { font: inherit; font-size: 14px; font-weight: 600; color: var(--deep-sea); min-height: 40px; padding: 8px 34px 8px 36px; border-radius: 999px; border: 1.5px solid var(--line); background: var(--mist) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231D5E7C' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat right 12px center / 14px; -webkit-appearance: none; appearance: none; cursor: pointer; }
.wo-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

/* Please check before you go */
.wo-note { display: flex; gap: 12px; align-items: flex-start; background: var(--white); border: 1px solid var(--line); border-left: 4px solid var(--sun); border-radius: 12px; padding: 14px 18px; margin-bottom: 28px; }
.wo-note svg { width: 20px; height: 20px; flex: none; margin-top: 1px; fill: none; stroke: var(--ink-mid); stroke-width: 1.8; stroke-linecap: round; }
.wo-note p { margin: 0; font-size: 14px; line-height: 1.55; color: var(--ink-mid); }
.wo-note b { color: var(--ink); }

/* The list */
.wo-list-wrap { background: var(--mist); padding-top: 40px; padding-bottom: 72px; }
.wo-month { font-size: clamp(24px, 2.4vw, 32px); font-weight: 700; margin: 40px 0 8px; }
.wo-lead { color: var(--ink-mid); margin: 0 0 20px; }
.wo-day { display: grid; grid-template-columns: 150px minmax(0, 1fr); gap: 24px; padding: 20px 0; border-top: 1px solid var(--line); }
.wo-day-head { position: sticky; top: calc(var(--banner-h, 0px) + 140px); align-self: start; }
.wo-day-name { font-size: 17px; font-weight: 700; color: var(--ink); margin: 0; }
.wo-day-soon { display: inline-block; margin-top: 4px; font-size: 12px; font-weight: 600; color: var(--deep-sea); background: var(--deep-sea-soft); border-radius: 999px; padding: 2px 10px; }
.wo-cards { display: grid; gap: 14px; }

/* An event: picture tile on the left, the rest beside it */
.wo-card { display: flex; gap: 18px; align-items: flex-start; background: var(--white); border: 1px solid var(--line); border-radius: 16px; padding: 20px 22px; scroll-margin-top: 160px; }
.wo-body { flex: 1; min-width: 0; }
.wo-tile { align-self: flex-start; flex: none; width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; }
.wo-tile svg { width: 26px; height: 26px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.wo-tile-sm { width: 38px; height: 38px; border-radius: 11px; }
.wo-tile-sm svg { width: 20px; height: 20px; }
.wo-card h3 { font-size: 19px; font-weight: 700; line-height: 1.3; margin: 0 0 8px; color: var(--ink); }

/* Time, place and price as soft tags */
.wo-meta { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 12px !important; }
.wo-meta span { display: inline-flex; align-items: center; gap: 6px; padding: 4px 11px 4px 9px; border-radius: 999px; background: var(--mist); font-size: 13px; line-height: 1.35; color: var(--ink); }
.wo-meta svg { width: 14px; height: 14px; flex: none; fill: none; stroke: var(--ink-mid); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.wo-meta .wo-pill-tbc { background: #FDF3DA; color: #7A5410; }
.wo-meta .wo-pill-tbc svg { stroke: #7A5410; }

.wo-card p { font-size: 15px; line-height: 1.6; color: var(--ink); margin: 0 0 10px; }
.wo-tags { font-size: 13px !important; color: var(--ink-mid) !important; margin: 0 0 8px !important; }
.wo-tags b { font-weight: 600; color: var(--ink); }
.wo-also { font-size: 13px !important; color: var(--ink-mid) !important; }
.wo-tbc { color: #7A5410 !important; }

.wo-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 0 20px; }
.wo-actions > a, .wo-cal summary { font-size: 14px; font-weight: 600; color: var(--deep-sea); text-decoration: none; cursor: pointer; min-height: 40px; display: inline-flex; align-items: center; gap: 6px; }
.wo-actions > a:hover, .wo-cal summary:hover { text-decoration: underline; }
.wo-actions svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.wo-cal { position: relative; }
.wo-cal summary { list-style: none; }
.wo-cal summary::-webkit-details-marker { display: none; }
.wo-cal-menu { position: absolute; left: 0; top: 100%; z-index: 3; min-width: 210px; background: var(--white); border: 1px solid var(--line); border-radius: 12px; box-shadow: 0 10px 30px rgba(20,36,47,0.12); padding: 6px; }
.wo-cal-menu a { display: block; padding: 10px 12px; border-radius: 8px; font-size: 14px; color: var(--ink); text-decoration: none; }
.wo-cal-menu a:hover { background: var(--mist); color: var(--deep-sea); }

/* Evenings out: a quiet nudge to book a babysitter */
.wo-sitter { display: flex; gap: 10px; align-items: center; margin: 10px 0 0 !important; padding: 10px 14px; border-radius: 12px; background: var(--white); border: 1px solid var(--line); font-size: 14px !important; }
.wo-sitter svg { width: 20px; height: 20px; flex: none; fill: none; stroke: var(--ink); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.wo-sitter a { color: var(--deep-sea); font-weight: 600; }

/* Slim rows: every Saturday, and markets on for weeks */
.wo-mini { display: flex; gap: 14px; align-items: center; background: var(--mist); border-radius: 14px; padding: 12px 14px; }
.wo-mini-title { font-size: 15px; font-weight: 700; margin: 0 0 6px; }
.wo-mini-title a { color: var(--ink); text-decoration: none; }
.wo-mini-title a:hover { color: var(--deep-sea); text-decoration: underline; }
.wo-mini .wo-meta { margin: 0 !important; }
.wo-pinned { background: var(--white); border: 1px solid var(--line); border-radius: 16px; padding: 16px 18px; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(380px, 100%), 1fr)); gap: 10px; margin-bottom: 8px; }
.wo-pinned-head { grid-column: 1 / -1; }
.wo-pinned-head { display: flex; align-items: center; gap: 8px; margin: 0; font-size: 13px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--ink-mid); }
.wo-pinned-head svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

/* Waiting on dates, at the end of the list */
.wo-soon { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 24px; margin-top: 32px; padding: 18px 20px; border-radius: 16px; background: var(--white); border: 1px solid var(--line); }
.wo-soon p { margin: 0; font-size: 15px; color: var(--ink-mid); flex: 1 1 320px; }
.wo-soon b { color: var(--ink); }

.wo-empty { background: var(--white); border: 1px dashed var(--line); border-radius: 16px; padding: 28px; text-align: center; color: var(--ink-mid); }
.wo-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 14px; }
.wo-grid .wo-card { align-items: stretch; }
.wo-grid .wo-body { display: flex; flex-direction: column; }
.wo-grid .wo-actions { margin-top: auto; }
.wo-grid .wo-card h3 { font-size: 17px; }

/* Tell us about your event */
.wo-section { padding-top: 64px; padding-bottom: 64px; }
.wo-tell { display: grid; grid-template-columns: minmax(0, 1.3fr) auto; gap: 24px 40px; align-items: center; background: var(--deep-sea-soft); border-radius: 20px; padding: 32px 36px; }
.wo-tell h2 { font-size: clamp(22px, 2.2vw, 28px); margin: 0 0 8px; }
.wo-tell p { margin: 0; color: var(--ink-mid); font-size: 15px; line-height: 1.6; }
.wo-tell-btns { display: flex; flex-wrap: wrap; gap: 10px; }
.wo-tell .btn-secondary { background: var(--white); }
/* Bunting along the top of the "Running something" box */
.wo-festive { background: url("/images/whats-on/bunting.svg") repeat-x left -20px top -6px / 360px 45px, linear-gradient(180deg, #E6EFF4 0%, #EEF5EA 100%); padding-top: 56px; }

@media (max-width: 760px) {
  .wo-filters { padding: 10px 16px; top: calc(var(--banner-h, 0px) + 56px); }
  .wo-chip { padding: 7px 13px; min-height: 38px; font-size: 13.5px; gap: 6px; }
  /* Phones: chips in one row you swipe sideways (faded at the edge so you can tell), the where drop-down under them */
  .wo-bar { display: block; }
  .wo-chips { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin: 0 -16px; padding: 0 16px; -webkit-mask-image: linear-gradient(to right, #000 85%, transparent); mask-image: linear-gradient(to right, #000 85%, transparent); }
  .wo-chips::-webkit-scrollbar { display: none; }
  .wo-chips .wo-chip:last-child { margin-right: 24px; }
  .wo-where { display: flex; width: 100%; margin-top: 8px; }
  .wo-where select { width: 100%; }
  .wo-list-wrap, .wo-section { padding-left: 16px; padding-right: 16px; }
  .wo-day { grid-template-columns: 1fr; gap: 10px; }
  .wo-day-head { position: static; display: flex; align-items: center; gap: 10px; }
  .wo-day-soon { margin-top: 0; }
  .wo-card { padding: 16px; gap: 14px; }
  .wo-tile { width: 44px; height: 44px; border-radius: 12px; }
  .wo-tile svg { width: 22px; height: 22px; }
  .wo-tell { grid-template-columns: 1fr; padding: 24px; }
}
