:root {
  --widget-bg: #fbf8f0;
  --widget-surface: #fffdf8;
  --widget-border: rgba(21, 39, 44, 0.08);
  --widget-copy: #22343a;
  --widget-muted: #7c8b90;
  --widget-accent: #efb231;
  --widget-accent-soft: #f8d883;
  --widget-accent-deep: #bd7c07;
  --widget-pill: #f3d486;
  --widget-radius: 28px;
  --widget-shadow: 0 24px 80px rgba(22, 38, 45, 0.08);
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100%;
  background: transparent;
  color: var(--widget-copy);
  font-family: "Manrope", Arial, sans-serif;
}

body {
  padding: 0;
}

#widgetApp {
  width: 100%;
}

.cw-shell {
  position: relative;
  width: 100%;
  background:
    radial-gradient(circle at top right, rgba(239, 178, 49, 0.16), transparent 18%),
    radial-gradient(circle at bottom left, rgba(20, 107, 102, 0.08), transparent 22%),
    linear-gradient(180deg, #fffdf7 0%, #fbf7ef 100%);
  border: 1px solid rgba(20, 29, 35, 0.06);
  border-radius: var(--widget-radius);
  box-shadow: var(--widget-shadow);
  overflow: hidden;
}

.cw-shell__inner {
  padding: 24px 24px 20px;
}

.cw-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 20px;
}

.cw-title {
  font-size: 21px;
  font-weight: 800;
  letter-spacing: -0.04em;
  margin: 0;
}

.cw-feedstatus {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-top: 6px;
  color: #718187;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.03em;
}

.cw-feedstatus__dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: #2f9a66;
  box-shadow: 0 0 0 4px rgba(47, 154, 102, 0.12);
}

.cw-feedstatus--warning {
  color: #9a6509;
}

.cw-feedstatus--warning .cw-feedstatus__dot {
  background: #efb231;
  box-shadow: 0 0 0 4px rgba(239, 178, 49, 0.16);
}

.cw-tabs {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px;
  background: rgba(241, 237, 228, 0.9);
  border-radius: 999px;
  box-shadow: 0 8px 24px rgba(21, 38, 45, 0.08);
}

.cw-tab {
  appearance: none;
  border: 0;
  background: transparent;
  color: var(--widget-muted);
  border-radius: 999px;
  padding: 11px 18px;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}

.cw-tab.is-active {
  background: #ffffff;
  color: var(--widget-copy);
  box-shadow: 0 6px 20px rgba(31, 44, 49, 0.1);
}

.cw-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}

.cw-search {
  flex: 1 1 320px;
  min-width: 280px;
  height: 50px;
  border: 0;
  border-radius: 999px;
  background: #f1eee8;
  padding: 0 18px;
  font: inherit;
  color: var(--widget-copy);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.75);
}

.cw-search::placeholder {
  color: #8e989c;
}

.cw-pillbar {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-left: auto;
}

.cw-quickfilters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 14px;
}

.cw-sourcefilters {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  align-items: center;
  margin: -6px 0 14px;
}

.cw-featured {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 14px;
  align-items: stretch;
  margin: 0 0 14px;
  padding: 12px;
  border: 1px solid rgba(239, 178, 49, 0.16);
  border-radius: 22px;
  background:
    radial-gradient(circle at top left, rgba(239, 178, 49, 0.16), transparent 30%),
    rgba(255, 255, 255, 0.68);
}

.cw-featured__head {
  display: grid;
  align-content: center;
  gap: 3px;
  min-width: 94px;
  padding: 0 8px;
}

.cw-featured__head span {
  color: #9a7531;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.cw-featured__head strong {
  color: var(--widget-copy);
  font-size: 14px;
  letter-spacing: -0.03em;
}

.cw-featured__list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.cw-featured__item {
  appearance: none;
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr);
  gap: 10px;
  align-items: center;
  width: 100%;
  border: 1px solid rgba(24, 38, 43, 0.08);
  border-radius: 18px;
  background: rgba(255, 253, 248, 0.92);
  padding: 8px;
  text-align: left;
  cursor: pointer;
}

.cw-featured__item img {
  width: 58px;
  height: 50px;
  border-radius: 13px;
  object-fit: cover;
}

.cw-featured__item.is-image-missing {
  grid-template-columns: minmax(0, 1fr);
}

.cw-featured__item.is-image-missing img {
  display: none;
}

.cw-featured__item strong,
.cw-featured__item small {
  display: block;
}

.cw-featured__item strong {
  overflow: hidden;
  color: var(--widget-copy);
  font-size: 12px;
  font-weight: 900;
  line-height: 1.25;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.cw-featured__item small {
  margin-top: 4px;
  color: #76878d;
  font-size: 11px;
  font-weight: 800;
}

.cw-filterpanel {
  display: grid;
  gap: 16px;
  margin-bottom: 14px;
  padding: 18px;
  border: 1px solid rgba(21, 39, 44, 0.07);
  border-radius: 22px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.88), rgba(255, 252, 246, 0.82)),
    radial-gradient(circle at top right, rgba(239, 178, 49, 0.08), transparent 26%);
  box-shadow: 0 12px 34px rgba(20, 33, 39, 0.05);
}

.cw-filterpanel__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}

.cw-filterpanel__eyebrow,
.cw-filterpanel__hint {
  margin: 0;
}

.cw-filterpanel__eyebrow {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #86959a;
}

.cw-filterpanel__title {
  margin: 6px 0 0;
  font-size: 18px;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--widget-copy);
}

.cw-filterpanel__sync {
  margin: 5px 0 0;
  color: #78888e;
  font-size: 12px;
  font-weight: 700;
}

.cw-filterpanel__status {
  display: grid;
  justify-items: end;
  gap: 8px;
}

.cw-filterpanel__count {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  padding: 8px 12px;
  background: rgba(31, 115, 109, 0.08);
  color: #1f736d;
  font-size: 12px;
  font-weight: 800;
}

.cw-filterpanel__summary {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 6px;
}

.cw-filterpanel__hint {
  font-size: 12px;
  color: #7d8b91;
}

.cw-filterpanel__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.cw-filterfield {
  display: grid;
  gap: 7px;
}

.cw-filterfield span {
  font-size: 12px;
  font-weight: 800;
  color: #6f7f84;
}

.cw-filterfield select {
  width: 100%;
  height: 46px;
  border: 1px solid rgba(33, 49, 54, 0.09);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.95);
  padding: 0 12px;
  font: inherit;
  color: var(--widget-copy);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.7);
}

.cw-quickfilter {
  appearance: none;
  border: 1px solid rgba(33, 49, 54, 0.09);
  background: rgba(255, 255, 255, 0.72);
  color: #6e7d83;
  border-radius: 999px;
  padding: 9px 14px;
  font: inherit;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
}

.cw-quickfilter.is-active {
  background: #1f736d;
  color: #fff;
  border-color: transparent;
}

.cw-sourcefilter {
  appearance: none;
  border: 1px solid rgba(33, 49, 54, 0.09);
  background: rgba(255, 255, 255, 0.72);
  color: #607078;
  border-radius: 999px;
  padding: 7px 10px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font: inherit;
  font-size: 11px;
  font-weight: 800;
  cursor: pointer;
}

.cw-sourcefilter span {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  flex: 0 0 auto;
}

.cw-sourcefilter.is-active {
  background: #1f736d;
  color: #fff;
  border-color: transparent;
}

.cw-pasttoggle {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  width: fit-content;
  margin: -4px 0 14px;
  border: 1px solid rgba(33, 49, 54, 0.09);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  padding: 8px 12px;
  color: #607078;
  font-size: 12px;
  font-weight: 800;
  cursor: pointer;
}

.cw-pasttoggle input {
  width: 15px;
  height: 15px;
  margin: 0;
  accent-color: #1f736d;
  cursor: pointer;
}

.cw-pill {
  appearance: none;
  border: 0;
  background: var(--widget-pill);
  color: #6d5724;
  border-radius: 999px;
  padding: 12px 16px;
  font: inherit;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
}

.cw-pill--ghost {
  background: transparent;
  border: 1px dashed rgba(109, 87, 36, 0.25);
  color: var(--widget-muted);
}

.cw-pill.is-active {
  background: #e9f5f1;
  color: #206b67;
}

.cw-layout {
  display: grid;
  grid-template-columns: minmax(0, 2.2fr) minmax(280px, 0.8fr);
  gap: 22px;
  align-items: start;
}

.cw-calendar {
  min-width: 0;
}

.cw-calendar__head {
  display: grid;
  grid-template-columns: 40px 1fr auto 40px;
  align-items: center;
  gap: 16px;
  margin-bottom: 12px;
}

.cw-nav {
  appearance: none;
  border: 0;
  background: transparent;
  color: var(--widget-copy);
  font-size: 34px;
  line-height: 1;
  cursor: pointer;
  padding: 0;
}

.cw-month {
  text-align: center;
  font-size: 17px;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.cw-today {
  appearance: none;
  border: 1px solid rgba(33, 49, 54, 0.1);
  background: #fff;
  border-radius: 999px;
  padding: 11px 18px;
  font: inherit;
  color: var(--widget-copy);
  cursor: pointer;
}

.cw-weekdays,
.cw-grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
}

.cw-weekdays {
  margin-bottom: 4px;
}

.cw-weekdays span {
  padding: 8px 6px;
  text-align: left;
  font-size: 12px;
  font-weight: 800;
  color: #65757b;
}

.cw-day {
  position: relative;
  min-height: 118px;
  border-radius: 10px;
  border: 1px solid rgba(21, 39, 44, 0.07);
  background: rgba(255, 255, 255, 0.52);
  display: grid;
  align-content: start;
  gap: 6px;
  min-width: 0;
  padding: 8px 7px 7px;
  text-align: left;
  cursor: pointer;
  overflow: hidden;
}

.cw-day:hover {
  background: rgba(255, 255, 255, 0.84);
  border-color: rgba(239, 178, 49, 0.28);
  box-shadow: 0 10px 24px rgba(21, 39, 44, 0.08);
  z-index: 2;
}

.cw-day.is-outside {
  opacity: 0.48;
  background: rgba(255, 255, 255, 0.26);
}

.cw-day.is-selected {
  border-color: var(--widget-accent);
  box-shadow: inset 0 0 0 1px rgba(239, 178, 49, 0.2);
}

.cw-day.is-hovered {
  border-color: rgba(239, 178, 49, 0.42);
  box-shadow: inset 0 0 0 1px rgba(239, 178, 49, 0.14);
}

.cw-day.is-selected .cw-day__num {
  color: #b57c0d;
}

.cw-day__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
  min-width: 0;
}

.cw-day__num {
  font-size: 12px;
  font-weight: 900;
  color: #818f95;
}

.cw-day__count {
  display: inline-grid;
  place-items: center;
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  border-radius: 999px;
  background: rgba(239, 178, 49, 0.18);
  color: #9b6908;
  font-size: 10px;
  font-weight: 900;
}

.cw-day__mobile-count {
  display: none;
}

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

.cw-day__event {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: 5px;
  min-width: 0;
  min-height: 22px;
  padding: 4px 7px;
  border-radius: 5px;
  background: var(--event-color, #1a9ad6);
  color: #ffffff;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.18);
}

.cw-day__event-time,
.cw-day__event-title {
  overflow: hidden;
  font-size: 10px;
  font-weight: 900;
  line-height: 1.2;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.cw-day__event-time {
  opacity: 0.86;
}

.cw-day__more {
  display: block;
  padding: 1px 4px;
  color: #65757b;
  font-size: 9px;
  font-weight: 800;
  line-height: 1.1;
}

.cw-day__dots {
  display: none;
}

.cw-day__dot {
  width: 4px;
  height: 4px;
  border-radius: 999px;
  background: var(--widget-accent);
}

.cw-day__dot.is-soft {
  opacity: 0.4;
}

.cw-day__preview {
  position: absolute;
  left: 50%;
  top: calc(100% + 10px);
  transform: translateX(-50%) translateY(6px);
  width: 240px;
  display: grid;
  grid-template-columns: 74px minmax(0, 1fr);
  gap: 10px;
  padding: 10px;
  border-radius: 18px;
  border: 1px solid rgba(20, 33, 39, 0.08);
  background: rgba(255, 253, 248, 0.98);
  box-shadow: 0 20px 48px rgba(16, 29, 35, 0.18);
  opacity: 0;
  pointer-events: none;
  transition: opacity 140ms ease, transform 140ms ease;
}

.cw-day:hover .cw-day__preview {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

.cw-day__preview-media {
  display: block;
  min-height: 74px;
  border-radius: 14px;
  overflow: hidden;
  background: #f6f0e5;
}

.cw-day__preview-media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.cw-day__preview-media.is-image-missing {
  display: none;
}

.cw-day__preview-body {
  display: grid;
  gap: 4px;
  text-align: left;
}

.cw-day__preview-title {
  display: block;
  font-size: 12px;
  line-height: 1.25;
  font-weight: 800;
  color: var(--widget-copy);
}

.cw-day__preview-meta,
.cw-day__preview-copy,
.cw-day__preview-more {
  display: block;
  font-size: 11px;
  line-height: 1.4;
}

.cw-day__preview-meta {
  color: #54656b;
  font-weight: 700;
}

.cw-day__preview-copy {
  color: #6f7e84;
}

.cw-day__preview-more {
  color: #b57c0d;
  font-weight: 800;
}

.cw-rail {
  min-width: 0;
  min-height: 760px;
}

.cw-rail__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 10px;
}

.cw-rail__head-meta {
  display: grid;
  justify-items: end;
  gap: 8px;
}

.cw-rail__date {
  font-size: 14px;
  font-weight: 800;
  margin: 0 0 4px;
}

.cw-rail__sub {
  font-size: 13px;
  color: var(--widget-muted);
}

.cw-rail__count {
  font-size: 13px;
  font-weight: 800;
  color: #8d999e;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.cw-rail__clear {
  appearance: none;
  border: 1px solid rgba(33, 49, 54, 0.1);
  background: rgba(255, 255, 255, 0.86);
  color: var(--widget-copy);
  border-radius: 999px;
  padding: 8px 12px;
  font: inherit;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
}

.cw-chipbar {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 12px;
}

.cw-chip {
  display: inline-flex;
  align-items: center;
  padding: 8px 12px;
  border-radius: 999px;
  background: #e9f5f1;
  color: #276d68;
  font-size: 13px;
  font-weight: 700;
}

.cw-chip--soft {
  background: rgba(255,255,255,0.72);
  color: #7b878d;
}

.cw-list {
  display: grid;
  gap: 10px;
  max-height: 760px;
  overflow: auto;
  padding-right: 8px;
}

.cw-railgroup {
  display: grid;
  gap: 8px;
}

.cw-railgroup__title {
  margin: 0;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #819095;
}

.cw-railgroup__items {
  display: grid;
  gap: 10px;
}

.cw-card {
  appearance: none;
  width: 100%;
  border: 1px solid var(--widget-border);
  background: rgba(255, 255, 255, 0.72);
  border-radius: 22px;
  padding: 9px;
  display: grid;
  grid-template-columns: 108px minmax(0, 1fr);
  gap: 12px;
  text-align: left;
  cursor: pointer;
  transition: transform 160ms ease, box-shadow 160ms ease, border-color 160ms ease;
}

.cw-card:hover {
  transform: translateY(-1px);
  box-shadow: 0 16px 36px rgba(20, 33, 39, 0.08);
  border-color: rgba(239, 178, 49, 0.28);
}

.cw-card__media {
  position: relative;
  min-height: 104px;
  aspect-ratio: 1 / 1;
  border-radius: 18px;
  overflow: hidden;
  background: #f6f0e5;
}

.cw-card__media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.cw-card.is-image-missing {
  grid-template-columns: minmax(0, 1fr);
}

.cw-card__media.is-image-missing {
  display: none;
}

.cw-card__badge {
  position: absolute;
  top: 8px;
  left: 8px;
  min-width: 44px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.92);
  color: #24353a;
  padding: 8px 8px 7px;
  text-align: center;
  box-shadow: 0 8px 18px rgba(13, 24, 29, 0.1);
}

.cw-card__featured {
  position: absolute;
  right: 10px;
  bottom: 10px;
  border-radius: 999px;
  background: rgba(255, 253, 248, 0.94);
  color: #9a6509;
  padding: 6px 9px;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  box-shadow: 0 10px 24px rgba(18, 31, 37, 0.13);
}

.cw-card__badge-month {
  display: block;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.cw-card__badge-day {
  display: block;
  font-size: 26px;
  font-weight: 800;
  line-height: 0.95;
}

.cw-card__title {
  margin: 4px 0 8px;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.2;
}

.cw-card__source {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-top: 4px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #6c7b81;
}

.cw-card__source-dot,
.cw-inline-dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  flex: 0 0 auto;
}

.cw-inline-dot {
  display: inline-block;
  margin-right: 6px;
}

.cw-card__meta,
.cw-card__host {
  margin: 0 0 5px;
  font-size: 12px;
  color: #74868d;
}

.cw-card__host {
  color: #95a2a7;
}

.cw-card__summary {
  margin: 6px 0 8px;
  font-size: 12px;
  line-height: 1.45;
  color: #67777d;
}

.cw-card__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.cw-card__tag {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  padding: 6px 10px;
  background: rgba(233, 245, 241, 0.9);
  color: #2d6d68;
  font-size: 11px;
  font-weight: 700;
}

.cw-list::-webkit-scrollbar {
  width: 8px;
}

.cw-list::-webkit-scrollbar-thumb {
  background: rgba(32, 50, 57, 0.25);
  border-radius: 999px;
}

.cw-footer {
  margin-top: 16px;
}

.cw-newsletter {
  margin-top: 10px;
  display: flex;
  justify-content: flex-end;
}

.cw-newsletter__button {
  appearance: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  border: 1px solid rgba(31, 46, 54, 0.12);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.82);
  color: var(--widget-copy);
  cursor: pointer;
  font: inherit;
  font-size: 12px;
  font-weight: 800;
  padding: 0 13px;
  text-decoration: none;
  white-space: nowrap;
  box-shadow: 0 6px 18px rgba(22, 38, 45, 0.04);
}

.cw-newsletter__button:hover {
  border-color: rgba(239, 178, 49, 0.3);
  background: rgba(255, 255, 255, 0.96);
}

.cw-attribution {
  margin: 8px 2px 0;
  color: rgba(34, 52, 58, 0.44);
  font-size: 11px;
  font-weight: 700;
  line-height: 1.2;
  text-align: right;
}

.cw-cta {
  appearance: none;
  width: 100%;
  border: 0;
  border-radius: 999px;
  background: #ffb400;
  color: #2a2618;
  font: inherit;
  font-weight: 800;
  padding: 16px 20px;
  cursor: pointer;
}

.cw-empty {
  border: 1px dashed rgba(31, 46, 54, 0.14);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.6);
  padding: 28px 20px;
  text-align: center;
  color: var(--widget-muted);
}

.cw-empty__title,
.cw-empty__copy {
  margin: 0;
}

.cw-empty__title {
  font-size: 15px;
  font-weight: 800;
  color: var(--widget-copy);
}

.cw-empty__copy {
  margin-top: 8px;
  font-size: 13px;
  line-height: 1.5;
  color: var(--widget-muted);
}

.cw-modal {
  position: fixed;
  inset: 0;
  background: rgba(22, 31, 36, 0.48);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  z-index: 999;
  backdrop-filter: blur(10px);
}

.cw-modal[hidden] {
  display: none;
}

.cw-modal__panel {
  width: min(920px, 100%);
  background: #fffdfa;
  border: 1px solid rgba(24, 38, 43, 0.08);
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 28px 100px rgba(13, 22, 27, 0.22);
  display: grid;
  grid-template-columns: minmax(260px, 0.95fr) minmax(0, 1.1fr);
}

.cw-modal__media {
  position: relative;
  min-height: 360px;
  background: linear-gradient(180deg, rgba(255,255,255,0.25), rgba(18,30,35,0.12));
}

.cw-modal__media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  background: rgba(255, 253, 248, 0.72);
}

.cw-modal__panel:has(.cw-modal__media.is-image-missing) {
  grid-template-columns: minmax(0, 1fr);
}

.cw-modal__media.is-image-missing {
  display: none;
}

.cw-modal__date {
  position: absolute;
  top: 18px;
  left: 18px;
  min-width: 58px;
  border-radius: 14px;
  background: rgba(255, 253, 248, 0.94);
  color: var(--widget-copy);
  padding: 10px 10px 9px;
  text-align: center;
  box-shadow: 0 14px 34px rgba(18, 31, 37, 0.14);
}

.cw-modal__date span,
.cw-modal__date strong {
  display: block;
}

.cw-modal__date span {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.cw-modal__date strong {
  margin-top: 2px;
  font-size: 28px;
  line-height: 0.95;
}

.cw-modal__body {
  padding: 28px 30px 24px;
  position: relative;
}

.cw-modal__close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 34px;
  height: 34px;
  border-radius: 999px;
  border: 0;
  background: rgba(255, 255, 255, 0.85);
  box-shadow: 0 10px 26px rgba(23, 33, 38, 0.12);
  cursor: pointer;
  font-size: 18px;
}

.cw-modal__eyebrow {
  display: inline-flex;
  align-items: center;
  margin: 0 0 8px;
  color: #708188;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-size: 12px;
  font-weight: 800;
}

.cw-modal__title {
  font-family: "Fraunces", Georgia, serif;
  font-size: 30px;
  line-height: 1.08;
  letter-spacing: 0;
  margin: 0 0 18px;
}

.cw-modal__primaryfacts {
  display: grid;
  gap: 8px;
  margin-bottom: 14px;
  padding: 14px;
  border-radius: 18px;
  background: rgba(233, 245, 241, 0.62);
}

.cw-modal__time,
.cw-modal__location {
  margin: 0;
  font-size: 15px;
  color: #33565a;
  font-weight: 700;
}

.cw-modal__summary {
  margin: 20px 0;
  font-size: 16px;
  line-height: 1.6;
  color: #5b6b72;
}

.cw-modal__facts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin: 0 0 20px;
}

.cw-modal__facts dt {
  margin: 0 0 4px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #839197;
}

.cw-modal__facts dd {
  margin: 0;
  font-size: 14px;
  color: #31454b;
  font-weight: 700;
}

.cw-modal__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.cw-modal__action {
  appearance: none;
  border: 1px solid rgba(27, 42, 47, 0.12);
  background: #fff;
  border-radius: 999px;
  padding: 12px 18px;
  font: inherit;
  color: var(--widget-copy);
  text-decoration: none;
  font-weight: 700;
  cursor: pointer;
}

.cw-modal__action:disabled {
  cursor: not-allowed;
  opacity: 0.55;
}

.cw-modal__sharehint {
  min-height: 18px;
  margin: 12px 0 0;
  color: #1f736d;
  font-size: 12px;
  font-weight: 800;
}

.cw-upcoming,
.cw-map {
  display: grid;
  gap: 14px;
}

.cw-map {
  grid-template-columns: minmax(0, 1.12fr) minmax(340px, 0.88fr);
  align-items: start;
}

.cw-map__map-wrap {
  position: relative;
  min-width: 0;
}

.cw-map__hint {
  position: absolute;
  z-index: 500;
  top: 16px;
  left: 16px;
  max-width: min(360px, calc(100% - 32px));
  margin: 0;
  padding: 10px 13px;
  border: 1px solid rgba(24, 38, 43, 0.1);
  border-radius: 999px;
  background: rgba(255, 253, 248, 0.94);
  color: #32464c;
  box-shadow: 0 12px 30px rgba(22, 33, 39, 0.12);
  font-size: 13px;
  line-height: 1.35;
  font-weight: 800;
}

.cw-map__map {
  min-height: 620px;
  border-radius: 24px;
  border: 1px solid rgba(24, 38, 43, 0.08);
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, #f2f5f1 0%, #eaf0ea 100%);
}

.cw-map__map .leaflet-container {
  width: 100%;
  height: 100%;
  font: inherit;
  background: #edf3ed;
}

.cw-map__map::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(255,255,255,0.16), rgba(255,255,255,0.08));
  z-index: 401;
}

.cw-map__map .leaflet-control-zoom {
  border: 0;
  box-shadow: 0 10px 28px rgba(18, 31, 37, 0.12);
}

.cw-map__map .leaflet-control-zoom a {
  color: var(--widget-copy);
}

.cw-map__map .leaflet-popup-content-wrapper,
.cw-map__map .leaflet-popup-tip {
  background: rgba(255, 253, 248, 0.96);
}

.cw-map__popup {
  min-width: 180px;
}

.cw-map__popup-title {
  margin: 0 0 6px;
  font-size: 14px;
  font-weight: 800;
  color: var(--widget-copy);
}

.cw-map__popup-copy {
  margin: 0;
  font-size: 12px;
  line-height: 1.45;
  color: var(--widget-muted);
}

.cw-map__popup-events {
  display: grid;
  gap: 8px;
  margin-top: 10px;
}

.cw-map__popup-event {
  appearance: none;
  width: 100%;
  border: 1px solid rgba(24, 38, 43, 0.08);
  background: rgba(255, 255, 255, 0.88);
  border-radius: 12px;
  padding: 10px 12px;
  text-align: left;
  cursor: pointer;
}

.cw-map__popup-event-title,
.cw-map__popup-event-meta {
  display: block;
}

.cw-map__popup-event-title {
  font-size: 12px;
  font-weight: 800;
  color: var(--widget-copy);
}

.cw-map__popup-event-meta {
  margin-top: 4px;
  font-size: 11px;
  color: var(--widget-muted);
}

.cw-map__popup-more {
  margin: 2px 0 0;
  font-size: 11px;
  font-weight: 700;
  color: #7f8d92;
}

.cw-map__marker {
  display: block;
  position: relative;
  width: 24px;
  height: 24px;
  background: var(--widget-accent);
  border: 3px solid rgba(255, 253, 248, 0.98);
  border-radius: 18px 18px 18px 4px;
  transform: rotate(-45deg);
  box-shadow:
    0 10px 22px rgba(22, 33, 39, 0.16),
    0 0 0 6px rgba(239, 178, 49, 0.10);
}

.cw-map__marker.is-active {
  background: #1c7b73;
  box-shadow:
    0 12px 24px rgba(22, 33, 39, 0.2),
    0 0 0 4px rgba(255, 253, 248, 0.92),
    0 0 0 8px rgba(28, 123, 115, 0.16);
}

.cw-map__marker::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: rgba(255, 253, 248, 0.98);
  transform: translate(-50%, -50%);
}

.cw-map__map .cw-map__label {
  border: 1px solid rgba(24, 38, 43, 0.1);
  border-radius: 999px;
  background: rgba(255, 253, 248, 0.96);
  color: #1f3f45;
  box-shadow: 0 12px 26px rgba(22, 33, 39, 0.15);
  padding: 8px 11px;
  font: inherit;
  font-size: 12px;
  font-weight: 900;
}

.cw-map__map .cw-map__label::before {
  border-right-color: rgba(255, 253, 248, 0.96);
}

.cw-map__details {
  display: grid;
  gap: 12px;
  min-width: 0;
}

.cw-map__legend {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.cw-map__legend-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(255,255,255,0.74);
  color: #526369;
  font-size: 12px;
  font-weight: 700;
}

.cw-map__legend-dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  flex: 0 0 auto;
}

.cw-map__item {
  appearance: none;
  width: 100%;
  border: 1px solid var(--widget-border);
  background: rgba(255,255,255,0.72);
  border-radius: 22px;
  padding: 16px 18px;
  text-align: left;
  cursor: pointer;
  transition: transform 160ms ease, box-shadow 160ms ease, border-color 160ms ease;
}

.cw-map__item:hover {
  transform: translateY(-1px);
  box-shadow: 0 16px 36px rgba(20, 33, 39, 0.08);
  border-color: rgba(239, 178, 49, 0.28);
}

.cw-map__item.is-active {
  border-color: rgba(28, 123, 115, 0.28);
  box-shadow: inset 0 0 0 1px rgba(28, 123, 115, 0.12);
}

.cw-map__item h3 {
  margin: 0 0 8px;
  font-size: 16px;
}

.cw-map__item p {
  margin: 0;
  font-size: 13px;
  color: var(--widget-muted);
}

.cw-map__item p + p {
  margin-top: 6px;
}

.cw-map__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 10px;
}

.cw-map__meta-chip {
  display: inline-flex;
  align-items: center;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(233, 245, 241, 0.92);
  color: #2d6d68;
  font-size: 11px;
  font-weight: 700;
}

.cw-map__meta-chip.is-source {
  background: rgba(255, 247, 230, 0.96);
  color: #8d6420;
}

.cw-map__meta-chip--link {
  text-decoration: none;
}

.cw-map__selection {
  display: grid;
  gap: 14px;
  padding: 20px;
  border: 1px solid rgba(28, 123, 115, 0.16);
  border-radius: 22px;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.9), rgba(255,253,248,0.78)),
    radial-gradient(circle at top right, rgba(47, 122, 120, 0.08), transparent 28%);
  box-shadow: 0 16px 42px rgba(20, 33, 39, 0.06);
}

.cw-map__selection-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.cw-map__selection-toggle {
  appearance: none;
  border: 1px solid rgba(24, 38, 43, 0.08);
  background: rgba(255, 255, 255, 0.9);
  border-radius: 999px;
  padding: 9px 12px;
  font: inherit;
  font-size: 12px;
  font-weight: 700;
  color: var(--widget-copy);
  cursor: pointer;
  white-space: nowrap;
}

.cw-map__selection-title {
  margin: 0;
  font-size: 18px;
  font-weight: 800;
  letter-spacing: 0;
}

.cw-map__selection-copy {
  margin: 6px 0 0;
  font-size: 13px;
  line-height: 1.5;
  color: var(--widget-muted);
}

.cw-map__selection-kicker {
  margin: 0 0 6px;
  color: #7f8d92;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.cw-map__selection-next {
  display: grid;
  gap: 4px;
  padding: 14px;
  border-radius: 18px;
  background: rgba(233, 245, 241, 0.66);
}

.cw-map__selection-next span {
  color: #6d7d82;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.cw-map__selection-next strong {
  color: var(--widget-copy);
  font-size: 14px;
  line-height: 1.25;
}

.cw-map__selection-next small {
  color: #607279;
  font-size: 12px;
  font-weight: 700;
}

.cw-map__events {
  display: grid;
  gap: 10px;
}

.cw-map__selection.is-collapsed .cw-map__events {
  display: none;
}

.cw-map__list-panel {
  display: grid;
  gap: 12px;
  min-width: 0;
}

.cw-map__list-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}

.cw-map__list-head h2 {
  margin: 0;
  font-size: 18px;
  line-height: 1.2;
  font-weight: 900;
  letter-spacing: 0;
}

.cw-map__list-head p {
  margin: 5px 0 0;
  color: var(--widget-muted);
  font-size: 13px;
  line-height: 1.45;
}

.cw-map__list-head > span {
  flex: 0 0 auto;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.76);
  color: #7f8d92;
  padding: 8px 11px;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.cw-map__focus {
  display: grid;
  gap: 4px;
  padding: 12px 14px;
  border-radius: 16px;
  border: 1px solid rgba(28, 123, 115, 0.13);
  background: rgba(233, 245, 241, 0.66);
}

.cw-map__focus span {
  color: #6d7d82;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.cw-map__focus strong {
  color: var(--widget-copy);
  font-size: 14px;
  line-height: 1.25;
}

.cw-map__focus small {
  color: #607279;
  font-size: 12px;
  font-weight: 800;
}

.cw-map__preview {
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr);
  gap: 14px;
  border: 1px solid rgba(28, 123, 115, 0.16);
  border-radius: 22px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.94), rgba(255, 253, 248, 0.84)),
    radial-gradient(circle at top right, rgba(47, 122, 120, 0.08), transparent 34%);
  box-shadow: 0 16px 42px rgba(20, 33, 39, 0.08);
  padding: 10px;
}

.cw-map__preview-media {
  position: relative;
  min-height: 154px;
  border-radius: 17px;
  overflow: hidden;
  background: linear-gradient(180deg, rgba(255,255,255,0.32), rgba(18,30,35,0.12));
}

.cw-map__preview-media img {
  width: 100%;
  height: 100%;
  min-height: 154px;
  object-fit: cover;
  display: block;
}

.cw-map__preview:has(.cw-map__preview-media.is-image-missing) {
  grid-template-columns: minmax(0, 1fr);
}

.cw-map__preview-media.is-image-missing {
  display: none;
}

.cw-map__preview-badge {
  position: absolute;
  left: 9px;
  top: 9px;
  display: grid;
  place-items: center;
  min-width: 48px;
  min-height: 56px;
  padding: 6px 8px;
  border-radius: 14px;
  background: rgba(255, 247, 231, 0.95);
  color: #996810;
  box-shadow: 0 8px 18px rgba(13, 24, 29, 0.14);
}

.cw-map__preview-badge strong {
  font-size: 11px;
  font-weight: 900;
}

.cw-map__preview-badge span {
  margin-top: -2px;
  font-size: 25px;
  line-height: 1;
  font-weight: 900;
}

.cw-map__preview-body {
  display: grid;
  align-content: start;
  gap: 6px;
  min-width: 0;
  padding: 4px 2px;
}

.cw-map__preview-body h3 {
  margin: 0;
  color: var(--widget-copy);
  font-size: 18px;
  line-height: 1.18;
  font-weight: 900;
  letter-spacing: 0;
}

.cw-map__preview-meta,
.cw-map__preview-summary {
  margin: 0;
  color: var(--widget-muted);
  font-size: 12px;
  line-height: 1.38;
}

.cw-map__preview-summary {
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

.cw-map__preview-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 3px;
}

.cw-map__preview-actions a {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  background: rgba(233, 245, 241, 0.92);
  color: #2d6d68;
  padding: 7px 10px;
  font-size: 11px;
  font-weight: 900;
  text-decoration: none;
}

.cw-map__event-list {
  display: grid;
  gap: 9px;
  max-height: 390px;
  overflow: auto;
  padding-right: 8px;
}

.cw-map__event {
  appearance: none;
  width: 100%;
  display: grid;
  grid-template-columns: 104px minmax(0, 1fr);
  gap: 12px;
  align-items: start;
  border: 1px solid var(--widget-border);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.72);
  padding: 10px;
  text-align: left;
  cursor: pointer;
  transition: transform 160ms ease, box-shadow 160ms ease, border-color 160ms ease, background 160ms ease;
}

.cw-map__event:hover {
  transform: translateY(-1px);
  border-color: rgba(239, 178, 49, 0.28);
  box-shadow: 0 14px 30px rgba(20, 33, 39, 0.08);
}

.cw-map__event.is-active {
  border-color: rgba(28, 123, 115, 0.34);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(255, 253, 248, 0.82)),
    rgba(233, 245, 241, 0.72);
  box-shadow: inset 0 0 0 1px rgba(28, 123, 115, 0.12);
}

.cw-map__event-media {
  display: block;
  position: relative;
  min-height: 88px;
  border-radius: 14px;
  overflow: hidden;
  background: linear-gradient(180deg, rgba(255,255,255,0.32), rgba(18,30,35,0.12));
}

.cw-map__event-media img {
  width: 100%;
  height: 100%;
  min-height: 88px;
  object-fit: cover;
  display: block;
}

.cw-map__event:has(.cw-map__event-media.is-image-missing) {
  grid-template-columns: minmax(0, 1fr);
}

.cw-map__event-media.is-image-missing {
  display: none;
}

.cw-map__event-date {
  position: absolute;
  left: 7px;
  top: 7px;
  display: grid;
  place-items: center;
  min-width: 42px;
  min-height: 48px;
  padding: 5px 6px;
  border-radius: 12px;
  background: rgba(255, 247, 231, 0.94);
  color: #996810;
  box-shadow: 0 8px 18px rgba(13, 24, 29, 0.12);
}

.cw-map__event-date strong {
  font-size: 10px;
  font-weight: 900;
}

.cw-map__event-date span {
  margin-top: -2px;
  font-size: 21px;
  line-height: 1;
  font-weight: 900;
}

.cw-map__event-body {
  display: grid;
  gap: 5px;
  min-width: 0;
}

.cw-map__event-body strong {
  color: var(--widget-copy);
  font-size: 14px;
  line-height: 1.25;
}

.cw-map__event-body small,
.cw-map__event-body em {
  overflow: hidden;
  color: var(--widget-muted);
  font-size: 12px;
  font-style: normal;
  line-height: 1.35;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.cw-map__event-source {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #73848a;
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.cw-map__event-source span {
  width: 8px;
  height: 8px;
  border-radius: 999px;
}

@media (max-width: 980px) {
  .cw-layout {
    grid-template-columns: 1fr;
  }

  .cw-layout .cw-rail {
    order: 1;
  }

  .cw-layout .cw-calendar {
    order: 2;
  }

  .cw-list {
    max-height: none;
  }

  .cw-featured {
    grid-template-columns: 1fr;
  }

  .cw-featured__list {
    grid-template-columns: 1fr;
  }

  .cw-newsletter {
    justify-content: center;
  }
}

@media (max-width: 720px) {
  .cw-shell {
    border-radius: 18px;
  }

  .cw-shell__inner {
    padding: 12px 10px;
  }

  .cw-header {
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
  }

  .cw-title {
    font-size: 17px;
  }

  .cw-feedstatus {
    margin-top: 3px;
    font-size: 10px;
  }

  .cw-tabs {
    margin-left: auto;
    padding: 3px;
  }

  .cw-tab {
    padding: 8px 10px;
    font-size: 12px;
  }

  .cw-newsletter {
    margin-top: 8px;
  }

  .cw-newsletter__button {
    min-height: 32px;
    font-size: 11px;
  }

  .cw-attribution {
    margin-top: 7px;
    text-align: center;
  }

  .cw-toolbar {
    gap: 8px;
    margin-bottom: 8px;
  }

  .cw-filterpanel {
    padding: 16px;
  }

  .cw-filterpanel__head {
    flex-direction: column;
  }

  .cw-filterpanel__status {
    justify-items: start;
  }

  .cw-filterpanel__summary {
    justify-content: flex-start;
  }

  .cw-filterpanel__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .cw-quickfilters {
    flex-wrap: nowrap;
    overflow-x: auto;
    margin-bottom: 10px;
    padding-bottom: 3px;
    scrollbar-width: none;
  }

  .cw-quickfilters::-webkit-scrollbar,
  .cw-sourcefilters::-webkit-scrollbar,
  .cw-featured__list::-webkit-scrollbar {
    display: none;
  }

  .cw-sourcefilters {
    flex-wrap: nowrap;
    overflow-x: auto;
    margin: -3px 0 10px;
    padding-bottom: 3px;
    scrollbar-width: none;
  }

  .cw-sourcefilter,
  .cw-quickfilter,
  .cw-pasttoggle {
    flex: 0 0 auto;
  }

  .cw-search {
    min-width: 0;
    width: 100%;
    height: 42px;
  }

  .cw-pillbar {
    width: 100%;
    margin-left: 0;
  }

  .cw-pill {
    flex: 1 1 0;
    padding: 9px 12px;
    text-align: center;
  }

  .cw-featured {
    gap: 8px;
    padding: 9px;
    border-radius: 18px;
  }

  .cw-featured__head {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    min-width: 0;
    padding: 0 2px;
  }

  .cw-featured__head span {
    font-size: 9px;
  }

  .cw-featured__head strong {
    font-size: 12px;
  }

  .cw-featured__list {
    display: flex;
    overflow-x: auto;
    gap: 8px;
    scrollbar-width: none;
  }

  .cw-featured__item {
    flex: 0 0 72%;
    grid-template-columns: 48px minmax(0, 1fr);
    border-radius: 15px;
    padding: 7px;
  }

  .cw-featured__item img {
    width: 48px;
    height: 42px;
    border-radius: 11px;
  }

  .cw-layout .cw-calendar {
    order: 1;
  }

  .cw-layout .cw-rail {
    order: 2;
  }

  .cw-calendar__head {
    grid-template-columns: 34px 1fr 34px;
    gap: 8px;
    margin-bottom: 6px;
  }

  .cw-calendar__head .cw-today {
    grid-column: 1 / -1;
    justify-self: center;
    order: 2;
    padding: 9px 16px;
    font-size: 13px;
  }

  .cw-month {
    font-size: 16px;
  }

  .cw-nav {
    font-size: 28px;
  }

  .cw-day {
    min-height: 76px;
    border-radius: 9px;
    gap: 4px;
    padding: 6px 5px 5px;
  }

  .cw-day__num {
    font-size: 12px;
  }

  .cw-day__count {
    display: none;
  }

  .cw-day__events {
    display: none;
  }

  .cw-day__mobile-count {
    display: inline-flex;
    width: fit-content;
    max-width: 100%;
    margin-top: 2px;
    border-radius: 999px;
    background: rgba(31, 115, 109, 0.08);
    padding: 4px 7px;
    color: #1f736d;
    font-size: 10px;
    font-weight: 900;
    line-height: 1;
    white-space: nowrap;
  }

  .cw-day__more {
    display: none;
  }

  .cw-weekdays span {
    padding: 8px 5px;
    font-size: 11px;
  }

  .cw-day__preview {
    display: none;
  }

  .cw-card {
    grid-template-columns: 86px minmax(0, 1fr);
  }

  .cw-card__media {
    min-height: 86px;
  }

  .cw-rail {
    padding-top: 6px;
  }

  .cw-list {
    max-height: 420px;
    overflow: auto;
    padding-right: 2px;
  }

  .cw-card__summary,
  .cw-card__tags {
    display: none;
  }

  .cw-rail__date {
    font-size: 16px;
  }

  .cw-rail__sub,
  .cw-rail__count {
    font-size: 12px;
  }

  .cw-chipbar {
    gap: 6px;
  }

  .cw-chip {
    padding: 7px 10px;
    font-size: 12px;
  }

  .cw-map {
    grid-template-columns: 1fr;
  }

  .cw-map__map {
    min-height: 420px;
  }

  .cw-map__event-list {
    max-height: none;
    overflow: visible;
    padding-right: 0;
  }

  .cw-map__preview {
    grid-template-columns: 112px minmax(0, 1fr);
  }

  .cw-map__preview-media,
  .cw-map__preview-media img {
    min-height: 124px;
  }

  .cw-map__selection {
    padding: 14px;
  }

  .cw-map__selection-head {
    flex-direction: column;
    align-items: stretch;
  }

  .cw-map__selection-toggle {
    width: 100%;
  }

  .cw-map__events .cw-card {
    grid-template-columns: 74px minmax(0, 1fr);
    gap: 10px;
    padding: 8px;
    border-radius: 18px;
  }

  .cw-map__events .cw-card__media {
    min-height: 74px;
    border-radius: 14px;
  }

  .cw-map__events .cw-card__title {
    margin-bottom: 6px;
    font-size: 13px;
  }

  .cw-map__events .cw-card__summary,
  .cw-map__events .cw-card__tags {
    display: none;
  }

  .cw-modal__panel {
    grid-template-columns: 1fr;
    max-height: calc(100vh - 24px);
    overflow: auto;
    border-radius: 22px;
  }

  .cw-modal__media {
    min-height: 190px;
  }

  .cw-modal__body {
    padding: 22px 20px 20px;
  }

  .cw-modal__title {
    font-size: 25px;
  }

  .cw-modal__facts {
    grid-template-columns: 1fr;
  }

  .cw-rail__head {
    gap: 10px;
  }

  .cw-rail__head-meta {
    justify-items: start;
  }
}

@media (max-width: 560px) {
  .cw-toolbar {
    display: grid;
    grid-template-columns: 1fr;
  }

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

  .cw-tabs {
    width: 100%;
    margin-left: 0;
  }

  .cw-tab {
    flex: 1 1 0;
    text-align: center;
  }

  .cw-calendar {
    padding: 0;
  }

  .cw-calendar__head {
    grid-template-columns: 30px 1fr 30px;
  }

  .cw-calendar__head .cw-today {
    padding: 7px 12px;
    font-size: 12px;
  }

  .cw-month {
    font-size: 14px;
  }

  .cw-nav {
    font-size: 24px;
  }

  .cw-grid {
    gap: 3px;
  }

  .cw-weekdays span {
    padding: 6px 2px;
    text-align: center;
    font-size: 10px;
  }

  .cw-day {
    min-height: 58px;
    border-radius: 7px;
    padding: 5px 4px 4px;
  }

  .cw-day__head {
    gap: 3px;
  }

  .cw-day__num {
    font-size: 11px;
  }

  .cw-day__count {
    display: none;
  }

  .cw-day__mobile-count {
    padding: 3px 5px;
    font-size: 8px;
    letter-spacing: 0;
  }

  .cw-day__more {
    display: none;
  }

  .cw-rail__head {
    align-items: flex-start;
    flex-direction: column;
  }

  .cw-list {
    max-height: 360px;
  }

  .cw-card {
    grid-template-columns: 62px minmax(0, 1fr);
    gap: 9px;
    padding: 7px;
    border-radius: 16px;
  }

  .cw-card__media {
    min-height: 62px;
    border-radius: 13px;
  }

  .cw-card__badge {
    display: none;
  }

  .cw-card__source {
    margin-top: 0;
    font-size: 9px;
  }

  .cw-card__title {
    margin: 2px 0 5px;
    font-size: 13px;
  }

  .cw-card__meta,
  .cw-card__host {
    margin-bottom: 3px;
    font-size: 11px;
  }

  .cw-filterpanel__grid {
    grid-template-columns: 1fr;
  }
}

.cw-card.is-image-missing,
.cw-featured__item.is-image-missing,
.cw-map__event:has(.cw-map__event-media.is-image-missing),
.cw-map__preview:has(.cw-map__preview-media.is-image-missing),
.cw-modal__panel:has(.cw-modal__media.is-image-missing) {
  grid-template-columns: minmax(0, 1fr);
}

.cw-card__media.is-image-missing,
.cw-featured__item.is-image-missing img,
.cw-day__preview-media.is-image-missing,
.cw-map__event-media.is-image-missing,
.cw-map__preview-media.is-image-missing,
.cw-modal__media.is-image-missing {
  display: none;
}
