/*
 * wpn-events.css
 * Styles for the Agenda page (/agenda/) and the Community Calendar (/calendar/).
 *
 * Loaded only on those two pages, so the shared stylesheets stay the size they
 * were. It uses the tokens defined in wpn-us.css (--accent, --line, --radius-*,
 * --muted-strong ...) and follows the same surface treatment: one flat tint and
 * one hairline, with the accent gradient kept for the single primary action.
 */

/* ---- Category colours -------------------------------------------------- */
/* events.json gives each category a "tone". Only these five exist; scripts/
   events.py check rejects anything else so a typo cannot render colourless. */

[data-tone="orange"] { --tone: #ed8c5f; --tone-soft: rgba(237, 140, 95, 0.2); }
[data-tone="blue"]   { --tone: #7f9dff; --tone-soft: rgba(127, 157, 255, 0.2); }
[data-tone="green"]  { --tone: #6fd3a6; --tone-soft: rgba(111, 211, 166, 0.18); }
[data-tone="violet"] { --tone: #b69cff; --tone-soft: rgba(182, 156, 255, 0.2); }
[data-tone="pink"]   { --tone: #ff8fb6; --tone-soft: rgba(255, 143, 182, 0.18); }

/* =====================================================================
   Agenda page: the live schedule from the event platform
   ===================================================================== */

.agendaEmbed {
  padding: 24px 0 88px;
}

.agendaEmbed__shell {
  padding: 16px;
  border-radius: var(--radius-xl);
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.035);
}

.agendaEmbed__bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 20px;
  padding: 8px 8px 16px;
}

.agendaEmbed__live {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0;
  color: var(--muted-strong);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.agendaEmbed__pulse {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #6fd3a6;
  box-shadow: 0 0 0 4px rgba(111, 211, 166, 0.18);
}

.agendaEmbed__frame {
  overflow: hidden;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: #0b1636;
}

/* The agenda is long, so it scrolls inside the frame. A fixed height is
   unavoidable: the event platform is a different origin, so the page cannot
   read how tall its content is and grow the frame to fit. */
.agendaEmbed__frame iframe {
  display: block;
  width: 100%;
  height: clamp(640px, 84vh, 1040px);
  border: 0;
  background: #0b1636;
}

.agendaEmbed__note {
  max-width: 840px;
  margin: 16px auto 0;
  color: rgba(196, 210, 242, 0.74);
  font-size: 0.9rem;
  line-height: 1.5;
  text-align: center;
}

@media (max-width: 640px) {
  .agendaEmbed {
    padding-bottom: 72px;
  }

  .agendaEmbed__shell {
    padding: 8px;
  }

  .agendaEmbed__frame {
    border-radius: var(--radius-md);
  }

  /* Leave room above and below the frame so a thumb on it can still scroll the page. */
  .agendaEmbed__frame iframe {
    height: clamp(520px, 74vh, 800px);
  }
}

/* =====================================================================
   Community calendar
   ===================================================================== */

/* [hidden] must win over the display rules below. */
.wpnCal [hidden] {
  display: none !important;
}

.wpnCal {
  min-height: 560px;
}

.wpnCal.is-short {
  min-height: 0;
}

.wpnCal svg {
  flex: 0 0 auto;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.wpnCal button:focus-visible,
.wpnCal a:focus-visible,
.wpnCal input:focus-visible,
.wpnCal summary:focus-visible,
.wpnEvent:focus-visible {
  outline: 2px solid rgba(237, 140, 95, 0.95);
  outline-offset: 2px;
}

/* --- Toolbar: filters, search, view switch --------------------------- */

.wpnCal__toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 20px;
  margin-bottom: 24px;
}

.wpnCal__filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0;
  padding: 0;
  border: 0;
}

.wpnCal__filter {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 0 16px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.04);
  color: var(--muted-strong);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  cursor: pointer;
  transition: background-color 0.18s ease, border-color 0.18s ease, color 0.18s ease;
}

.wpnCal__filter:hover {
  color: var(--text);
  background: rgba(255, 255, 255, 0.08);
}

.wpnCal__filter[aria-pressed="true"] {
  color: var(--text);
  border-color: rgba(237, 140, 95, 0.5);
  background: rgba(237, 140, 95, 0.14);
}

.wpnCal__filterDot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--tone);
}

.wpnCal__tools {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
}

.wpnCal__search {
  position: relative;
  display: block;
  width: 280px;
  max-width: 100%;
}

.wpnCal__search svg {
  position: absolute;
  top: 50%;
  left: 15px;
  width: 17px;
  height: 17px;
  transform: translateY(-50%);
  color: rgba(196, 210, 242, 0.7);
  pointer-events: none;
}

.wpnCal__searchInput {
  width: 100%;
  min-height: 44px;
  padding: 0 16px 0 42px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.06);
  color: var(--text);
  font-size: 0.9rem;
}

.wpnCal__searchInput::placeholder {
  color: rgba(196, 210, 242, 0.6);
}

.wpnCal__searchInput:focus-visible {
  border-color: rgba(237, 140, 95, 0.5);
}

.wpnCal__views {
  display: inline-flex;
  padding: 4px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.04);
}

.wpnCal__view {
  min-height: 36px;
  padding: 0 16px;
  border-radius: 999px;
  color: var(--muted-strong);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background-color 0.18s ease, color 0.18s ease;
}

.wpnCal__view:hover {
  color: var(--text);
}

.wpnCal__view[aria-pressed="true"] {
  color: var(--text);
  background: rgba(237, 140, 95, 0.2);
}

/* --- Month header ------------------------------------------------------ */

.wpnCal__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 16px;
}

.wpnCal__title {
  margin: 0;
  color: var(--text);
  font-size: clamp(1.45rem, 3vw, 2rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

.wpnCal__navBtns {
  display: flex;
  align-items: center;
  gap: 8px;
}

.wpnCal__navBtn {
  display: inline-grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  cursor: pointer;
  transition: background-color 0.18s ease, border-color 0.18s ease;
}

.wpnCal__navBtn:hover {
  background: rgba(255, 255, 255, 0.09);
  border-color: rgba(255, 255, 255, 0.2);
}

.wpnCal__navBtn svg {
  width: 18px;
  height: 18px;
  stroke-width: 2;
}

.wpnCal__todayBtn {
  min-height: 44px;
  padding: 0 16px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background-color 0.18s ease, border-color 0.18s ease;
}

.wpnCal__todayBtn:hover {
  background: rgba(255, 255, 255, 0.09);
  border-color: rgba(255, 255, 255, 0.2);
}

/* --- Month grid -------------------------------------------------------- */

.wpnCal__gridWrap {
  overflow: hidden;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.02);
}

.wpnCal__grid {
  width: 100%;
  border-collapse: collapse;
  table-layout: fixed;
}

.wpnCal__grid th {
  padding: 12px 10px;
  background: rgba(255, 255, 255, 0.03);
  border-bottom: 1px solid var(--line);
  color: rgba(196, 210, 242, 0.72);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-align: left;
  text-transform: uppercase;
}

.wpnCal__grid td {
  padding: 0;
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
  vertical-align: top;
}

.wpnCal__grid tbody tr:first-child td {
  border-top: 0;
}

.wpnCal__grid td:first-child {
  border-left: 0;
}

.wpnCal__day {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 6px;
  width: 100%;
  min-height: 118px;
  padding: 8px;
  color: var(--text);
  text-align: left;
  cursor: pointer;
  transition: background-color 0.15s ease;
}

.wpnCal__day:hover {
  background: rgba(255, 255, 255, 0.04);
}

.wpnCal .wpnCal__day:focus-visible {
  position: relative;
  z-index: 1;
  outline-offset: -3px;
}

/* Days from the neighbouring months are dimmed, but they are still clickable, so
   the numbers stay above the 4.5:1 contrast minimum. */
.wpnCal__day.is-outside .wpnCal__num {
  opacity: 0.68;
}

.wpnCal__day.is-outside .wpnCal__pills {
  opacity: 0.7;
}

.wpnCal__day.is-selected {
  background: rgba(237, 140, 95, 0.1);
  box-shadow: inset 0 0 0 2px rgba(237, 140, 95, 0.7);
}

.wpnCal__num {
  display: inline-grid;
  place-items: center;
  align-self: flex-start;
  min-width: 28px;
  height: 28px;
  padding: 0 6px;
  border-radius: 999px;
  color: var(--muted-strong);
  font-size: 0.82rem;
  font-weight: 700;
}

.wpnCal__day.is-today .wpnCal__num {
  background: linear-gradient(17deg, var(--accent-2) 0%, var(--accent) 58.99%);
  color: #fff;
}

.wpnCal__pills {
  display: grid;
  gap: 4px;
  min-width: 0;
}

.wpnCal__pill {
  display: block;
  min-width: 0;
  padding: 3px 6px 3px 8px;
  overflow: hidden;
  border-left: 3px solid var(--tone);
  border-radius: 6px;
  background: var(--tone-soft);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 600;
  line-height: 1.3;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.wpnCal__more {
  padding-left: 2px;
  color: var(--muted-strong);
  font-size: 0.7rem;
  font-weight: 700;
}

.wpnCal__dots {
  display: none;
  flex-wrap: wrap;
  gap: 4px;
}

.wpnCal__dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--tone);
}

/* --- Selected-day panel and list view ---------------------------------- */

.wpnCal__panel {
  margin-top: 28px;
}

.wpnCal__panelTitle {
  margin: 0 0 16px;
  color: var(--text);
  font-size: 1.1rem;
  font-weight: 800;
  line-height: 1.3;
}

.wpnCal__empty {
  padding: 20px;
  border-radius: var(--radius-md);
  border: 1px dashed rgba(237, 140, 95, 0.42);
  background: rgba(255, 255, 255, 0.03);
  color: var(--muted-strong);
  line-height: 1.5;
}

.wpnCal__empty p {
  margin: 0;
}

.wpnCal__empty p + p,
.wpnCal__empty p + .wpnCal__link {
  margin-top: 12px;
}

.wpnCal__link {
  padding: 0;
  color: var(--accent);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
}

.wpnCal__link:hover {
  color: #f6ab82;
}

.wpnCal__listTitle {
  margin: 0 0 20px;
  color: var(--text);
  font-size: clamp(1.45rem, 3vw, 2rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

.wpnCal__groupTitle {
  display: flex;
  align-items: center;
  gap: 16px;
  margin: 32px 0 12px;
  color: var(--accent);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.wpnCal__groupTitle::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--line);
}

.wpnCal__group:first-of-type .wpnCal__groupTitle {
  margin-top: 0;
}

.wpnCal__past {
  margin-top: 36px;
}

.wpnCal__past > summary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  padding: 0 16px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.04);
  color: var(--muted-strong);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  cursor: pointer;
  list-style: none;
}

.wpnCal__past > summary::-webkit-details-marker {
  display: none;
}

.wpnCal__past > summary svg {
  width: 14px;
  height: 14px;
  transition: transform 0.18s ease;
}

.wpnCal__past[open] > summary svg {
  transform: rotate(180deg);
}

.wpnCal__past > .wpnEvents {
  margin-top: 16px;
}

.wpnCal__status {
  padding: 48px 20px;
  border-radius: var(--radius-lg);
  border: 1px dashed var(--line-strong);
  color: var(--muted-strong);
  line-height: 1.5;
  text-align: center;
}

.wpnCal__status p {
  margin: 0;
}

.wpnCal__status p + p,
.wpnCal__status p + .wpnCal__link {
  margin-top: 12px;
}

/* --- Event card -------------------------------------------------------- */

.wpnEvents {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.wpnEvent {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr);
  gap: 20px;
  padding: 20px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.035);
  scroll-margin-top: calc(var(--header-height) + 20px);
}

.wpnEvent.is-linked {
  border-color: rgba(237, 140, 95, 0.5);
}

.wpnEvent:focus {
  outline: none;
}

.wpnEvent__date {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 72px;
  height: 72px;
  border-radius: 16px;
  border: 1px solid rgba(237, 140, 95, 0.32);
  background: rgba(237, 140, 95, 0.11);
  text-align: center;
}

.wpnEvent__mon {
  color: var(--accent);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.wpnEvent__day {
  margin-top: 2px;
  color: var(--text);
  font-size: 1.6rem;
  font-weight: 800;
  line-height: 1;
}

.wpnEvent__day--range {
  font-size: 1.1rem;
}

.wpnEvent__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 12px;
  margin: 0 0 8px;
}

.wpnEvent__tag {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 26px;
  padding: 0 10px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.05);
  color: var(--muted-strong);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  line-height: 1;
  text-transform: uppercase;
}

.wpnEvent__tagDot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--tone);
}

.wpnEvent__host {
  color: rgba(196, 210, 242, 0.82);
  font-size: 0.82rem;
}

.wpnEvent__title {
  margin: 0;
  color: var(--text);
  font-size: 1.25rem;
  font-weight: 700;
  line-height: 1.25;
  overflow-wrap: anywhere;
}

.wpnEvent__facts {
  display: grid;
  gap: 6px;
  margin: 12px 0 0;
  padding: 0;
  color: var(--muted-strong);
  font-size: 0.9rem;
  line-height: 1.4;
  list-style: none;
}

.wpnEvent__fact {
  display: grid;
  grid-template-columns: 18px minmax(0, 1fr);
  gap: 10px;
  align-items: start;
}

.wpnEvent__fact svg {
  width: 18px;
  height: 18px;
  margin-top: 1px;
  color: var(--accent);
  stroke-width: 1.7;
}

.wpnEvent__local {
  display: block;
  color: rgba(196, 210, 242, 0.7);
  font-size: 0.82rem;
}

.wpnEvent__desc {
  max-width: 70ch;
  margin: 12px 0 0;
  color: var(--muted-strong);
  font-size: 0.9rem;
  line-height: 1.55;
  overflow-wrap: anywhere;
}

.wpnEvent__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 16px;
}

.wpnEvent__btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 0 16px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.06);
  color: var(--text);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background-color 0.18s ease, border-color 0.18s ease;
}

.wpnEvent__btn:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.24);
}

.wpnEvent__btn svg {
  width: 15px;
  height: 15px;
}

/* --- "Add to calendar" disclosure -------------------------------------- */

.wpnAdd {
  position: relative;
}

.wpnAdd__toggle[aria-expanded="true"] svg:last-child {
  transform: rotate(180deg);
}

.wpnAdd__menu {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  z-index: 30;
  display: grid;
  gap: 2px;
  width: max-content;
  min-width: 260px;
  max-width: min(340px, calc(100vw - 32px));
  margin: 0;
  padding: 8px;
  list-style: none;
  border-radius: var(--radius-md);
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: linear-gradient(180deg, rgba(10, 26, 62, 0.99) 0%, rgba(7, 18, 45, 0.99) 100%);
  box-shadow: 0 22px 54px rgba(2, 6, 20, 0.55);
}

.wpnAdd__item {
  display: block;
  width: 100%;
  min-height: 44px;
  padding: 12px 14px;
  border-radius: var(--radius-sm);
  color: var(--text);
  font-size: 0.9rem;
  font-weight: 600;
  line-height: 1.3;
  text-align: left;
  cursor: pointer;
  transition: background-color 0.16s ease;
}

.wpnAdd__item:hover {
  background: rgba(255, 255, 255, 0.07);
}

.wpnAdd__item small {
  display: block;
  margin-top: 2px;
  color: rgba(196, 210, 242, 0.7);
  font-size: 0.75rem;
  font-weight: 500;
}

/* --- Headings in the Agenda and Calendar feature cards ----------------- */
/* The shared sheet styles .featureCard h3 but not h2, and these cards sit
   directly under the page title, so they use h2 and need the same look. */

[data-page="agenda"] .featureCard h2,
[data-page="calendar"] .featureCard h2 {
  margin: 16px 0 0;
  font-size: 1.7rem;
  font-weight: 700;
  line-height: 1.15;
}

/* --- Subscribe feed address -------------------------------------------- */

.wpnFeed {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 14px;
  margin-top: 20px;
  padding: 12px 16px;
  border-radius: var(--radius-md);
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.04);
}

.wpnFeed code {
  flex: 1 1 260px;
  min-width: 0;
  color: var(--muted-strong);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.8rem;
  line-height: 1.5;
  overflow-wrap: anywhere;
}

.wpnFeed button {
  min-height: 40px;
  padding: 0 14px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.06);
  color: var(--text);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  cursor: pointer;
}

.wpnFeed button:hover {
  background: rgba(255, 255, 255, 0.1);
}

.wpnFeed button:focus-visible {
  outline: 2px solid rgba(237, 140, 95, 0.95);
  outline-offset: 2px;
}

/* --- Forced colours (Windows high contrast) ----------------------------- */
/* Backgrounds and shadows are discarded there, so selection needs an outline. */

@media (forced-colors: active) {
  .wpnCal__day.is-selected {
    outline: 3px solid Highlight;
    outline-offset: -3px;
  }

  .wpnCal__filter[aria-pressed="true"],
  .wpnCal__view[aria-pressed="true"] {
    outline: 2px solid Highlight;
  }

  .wpnCal__pill {
    border: 1px solid CanvasText;
  }
}

/* --- Responsive -------------------------------------------------------- */

@media (max-width: 860px) {
  .wpnCal__day {
    min-height: 96px;
    padding: 6px;
  }
}

@media (max-width: 640px) {
  .wpnCal__toolbar {
    align-items: stretch;
  }

  .wpnCal__tools {
    width: 100%;
  }

  /* One swipeable row instead of three rows of chips ahead of the content. */
  .wpnCal__filters {
    flex-wrap: nowrap;
    margin: 0 -16px;
    padding: 2px 16px 6px;
    overflow-x: auto;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }

  .wpnCal__filters::-webkit-scrollbar {
    display: none;
  }

  .wpnCal__filter {
    flex: 0 0 auto;
  }

  .wpnCal__search {
    flex: 1 1 100%;
    width: auto;
  }

  .wpnCal__views {
    width: 100%;
  }

  .wpnCal__view {
    flex: 1;
  }

  .wpnCal__head {
    flex-wrap: wrap;
  }

  /* A month of phone-width cells cannot hold event titles. The grid becomes a
     compact date picker - a coloured dot per event - and the selected day's
     details sit directly beneath it. */
  .wpnCal__grid th {
    padding: 10px 2px;
    font-size: 0.62rem;
    letter-spacing: 0.06em;
    text-align: center;
  }

  .wpnCal__day {
    align-items: center;
    min-height: 58px;
    padding: 6px 2px;
    gap: 4px;
  }

  .wpnCal__num {
    align-self: center;
  }

  .wpnCal__pills,
  .wpnCal__more {
    display: none;
  }

  .wpnCal__dots {
    display: flex;
    justify-content: center;
    min-height: 6px;
  }

  .wpnEvent {
    grid-template-columns: 1fr;
    gap: 14px;
    padding: 18px;
  }

  .wpnEvent__date {
    flex-direction: row;
    gap: 8px;
    width: auto;
    height: auto;
    padding: 6px 14px;
    justify-self: start;
    border-radius: 12px;
  }

  .wpnEvent__day {
    margin-top: 0;
    font-size: 1.1rem;
  }

  .wpnEvent__actions {
    flex-direction: column;
    align-items: stretch;
  }

  .wpnEvent__btn {
    justify-content: center;
  }

  .wpnAdd__menu {
    right: 0;
    left: 0;
    width: auto;
    max-width: none;
    min-width: 0;
  }

  .wpnFeed button {
    width: 100%;
  }
}
