.hwx-agenda {
  --agenda-ink: #0c3247;
  --agenda-brand: #0f7a6c;
  --agenda-accent: #0b554c;
  --agenda-accent-hover: #094941;
  --agenda-text: #303030;
  --agenda-muted: #526963;
  --agenda-line: #dbe3e8;
  --agenda-soft: #e2efed;
  inline-size: 100%;
  max-inline-size: 1040px;
  margin-inline: auto;
  color: var(--agenda-text);
}

.hwx-agenda [hidden] { display: none !important; }
.hwx-agenda [data-agenda-tips]:empty { display: none; }
.hwx-agenda :is(h1, h2, h3, h4, p) { margin-block-start: 0; }
.hwx-agenda :is(h1, h2, h3, h4) { color: var(--agenda-ink); }
.hwx-agenda :is(a, button, input, select, summary):focus-visible {
  outline: 3px solid var(--agenda-accent);
  outline-offset: 4px;
}
.hwx-agenda a { color: var(--agenda-accent); text-underline-offset: .2em; }
.hwx-agenda button, .hwx-agenda input, .hwx-agenda select { font: inherit; }
.hwx-agenda button, .hwx-agenda summary { cursor: pointer; }
.hwx-agenda button, .hwx-agenda select, .hwx-agenda input { min-block-size: 44px; }
.hwx-agenda button { border: 1px solid var(--agenda-line); background: #fff; color: var(--agenda-accent); }
.hwx-agenda ::selection { color: #fff; background: var(--agenda-accent); }

.hwx-agenda .hwx-agenda__hero {
  max-inline-size: 42rem;
  margin: 1.5rem auto 0;
  text-align: center;
}
.hwx-agenda .hwx-agenda__hero h1 {
  max-inline-size: 15ch;
  margin: 0 auto 1rem;
  font-size: clamp(2rem, 4.5vw, 3.5rem);
  line-height: 1.08;
  text-wrap: balance;
}
.hwx-agenda .hwx-agenda__hero > p {
  color: var(--agenda-muted);
  margin-block-end: 1.5rem;
}
.hwx-agenda .hwx-agenda__form { max-inline-size: 35rem; margin-inline: auto; }
.hwx-agenda .hwx-agenda__search {
  display: flex;
  align-items: center;
  gap: .75rem;
  padding-inline-start: 1rem;
  border: 1px solid var(--agenda-line);
  border-radius: 9999px;
  background: #fff;
}
.hwx-agenda .hwx-agenda__search > i { color: var(--agenda-brand); }
.hwx-agenda .hwx-agenda__search input {
  flex: 1;
  min-inline-size: 0;
  inline-size: 100%;
  border: 0;
  padding: .75rem 0;
  background: transparent;
  color: var(--agenda-text);
}
.hwx-agenda .hwx-agenda__search input::placeholder { color: var(--agenda-muted); opacity: 1; }
.hwx-agenda .hwx-agenda__search button {
  min-inline-size: 48px;
  border: 0;
  border-radius: 9999px;
  background: transparent;
}
.hwx-agenda .hwx-agenda__periods {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: .25rem;
  margin: .75rem 0 0;
  padding: .25rem;
  border: 0;
}
.hwx-agenda .hwx-agenda__periods input {
  position: absolute;
  inline-size: 1px;
  block-size: 1px;
  clip-path: inset(50%);
}
.hwx-agenda .hwx-agenda__periods label {
  display: inline-flex;
  align-items: center;
  padding: .5rem 1rem;
  min-block-size: 44px;
  margin: 0;
  border: 1px solid transparent;
  border-radius: 9999px;
  color: var(--agenda-muted);
  font-size: .875rem;
  cursor: pointer;
}
.hwx-agenda .hwx-agenda__periods input:checked + label {
  background: var(--agenda-accent);
  color: #fff;
  border-color: var(--agenda-accent);
  font-weight: 600;
}
.hwx-agenda .hwx-agenda__periods input:focus-visible + label {
  outline: 3px solid var(--agenda-accent);
  outline-offset: 2px;
}
.hwx-agenda .hwx-agenda__filters { margin-block-start: 1rem; font-size: .875rem; }
.hwx-agenda .hwx-agenda__filters summary { color: var(--agenda-accent); padding: .5rem; }
.hwx-agenda .hwx-agenda__filters > div {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: .75rem;
  align-items: center;
  padding: 1rem;
  margin-block-start: .5rem;
  border: 1px solid var(--agenda-line);
  border-radius: .875rem;
  background: #fff;
  text-align: start;
}
.hwx-agenda .hwx-agenda__filters :is(input, select) {
  inline-size: 100%;
  min-inline-size: 0;
  padding: .5rem .75rem;
  border: 1px solid var(--agenda-line);
  border-radius: .5rem;
  color: var(--agenda-text);
  background: #fff;
}
.hwx-agenda .hwx-agenda__filters button {
  grid-column: 1 / -1;
  border-radius: 9999px;
  background: var(--agenda-accent);
  border-color: var(--agenda-accent);
  color: #fff;
}
.hwx-agenda .hwx-agenda__section-head {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  margin-block-end: 1rem;
}
.hwx-agenda .hwx-agenda__section-head h2 { margin: 0; font-size: 1.5rem; }
.hwx-agenda .hwx-agenda__section-head > a { font-size: .8125rem; color: var(--agenda-accent); }
.hwx-agenda .hwx-agenda__tips { margin-block-end: 0; }
.hwx-agenda .hwx-agenda__slider-controls { display: flex; align-items: center; gap: .5rem; }
.hwx-agenda .hwx-agenda__slider-controls > span { color: var(--agenda-muted); font-size: .8125rem; }
.hwx-agenda .hwx-agenda__slider-controls button { inline-size: 44px; border-radius: 50%; }
.hwx-agenda .hwx-agenda__tip {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  overflow: hidden;
  border: 1px solid var(--agenda-line);
  border-radius: .875rem;
  background: var(--agenda-soft);
}
.hwx-agenda .hwx-agenda__tip + .hwx-agenda__tip { margin-block-start: 1rem; }
.hwx-agenda .hwx-agenda__tip > img { inline-size: 100%; block-size: 100%; aspect-ratio: 1; object-fit: cover; }
.hwx-agenda .hwx-agenda__tip:not(:has(> img)) { grid-template-columns: 1fr; }
.hwx-agenda .hwx-agenda__tip-content { align-self: center; padding: clamp(1.25rem, 4vw, 3rem); }
.hwx-agenda .hwx-agenda__tip-content h3 { font-size: clamp(1.5rem, 3vw, 2rem); line-height: 1.15; overflow-wrap: anywhere; }
.hwx-agenda .hwx-agenda__tip-content h3 a { color: var(--agenda-ink); text-decoration: none; }
.hwx-agenda .hwx-agenda__tip-content p { color: var(--agenda-muted); font-size: .875rem; }
/* Hervorhebung auf dem Bild; ohne Bild steht sie im normalen Fluss über dem Text. */
.hwx-agenda .hwx-agenda__badges {
  position: absolute;
  inset-block-start: .75rem;
  inset-inline-start: .75rem;
  display: flex;
  gap: .375rem;
}
.hwx-agenda .hwx-agenda__tip:not(:has(> img)) .hwx-agenda__badges { position: static; padding: 1.25rem 1.5rem 0; }
.hwx-agenda .hwx-agenda__tips .hwx-agenda__badge {
  padding: .25rem .5rem;
  border-radius: .25rem;
  background: var(--agenda-accent);
  box-shadow: 0 0 0 1px rgb(255 255 255 / 35%);
  color: #fff;
  font-size: .75rem;
  font-weight: 700;
  line-height: 1.25;
  text-transform: uppercase;
}
.hwx-agenda .hwx-agenda__tips .hwx-agenda__badge--top { background: var(--agenda-ink); }

/* Zwei Tipps: gleich hohe Karten nebeneinander, Bild über dem Text. */
.hwx-agenda .hwx-agenda__tips--pair .hwx-agenda__slides { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
.hwx-agenda .hwx-agenda__tips--pair .hwx-agenda__tip { grid-template-columns: 1fr; grid-template-rows: auto 1fr; }
.hwx-agenda .hwx-agenda__tips--pair .hwx-agenda__tip + .hwx-agenda__tip { margin-block-start: 0; }
.hwx-agenda .hwx-agenda__tips--pair .hwx-agenda__tip > img { block-size: auto; aspect-ratio: 3 / 2; }
.hwx-agenda .hwx-agenda__tips--pair .hwx-agenda__tip-content { align-self: start; padding: 1.25rem 1.5rem 1.5rem; }
.hwx-agenda .hwx-agenda__tips--pair .hwx-agenda__tip-content h3 { font-size: clamp(1.25rem, 2vw, 1.5rem); }
.hwx-agenda .hwx-agenda__thumbs { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: .75rem; margin-block-start: 1rem; }
.hwx-agenda .hwx-agenda__thumbs button {
  display: flex;
  align-items: center;
  gap: .5rem;
  padding: .5rem;
  min-inline-size: 0;
  border-radius: .5rem;
  text-align: start;
}
.hwx-agenda .hwx-agenda__thumbs button[aria-pressed="true"] { outline: 2px solid var(--agenda-accent); outline-offset: 1px; }
.hwx-agenda .hwx-agenda__thumbs img { inline-size: 2.5rem; block-size: 2.5rem; object-fit: cover; border-radius: .25rem; }
.hwx-agenda .hwx-agenda__thumbs span { min-inline-size: 0; font-size: .75rem; overflow-wrap: anywhere; }
.hwx-agenda .hwx-agenda__thumbs small { display: block; margin-block-start: .25rem; color: var(--agenda-muted); }
.hwx-agenda .hwx-agenda__interests { margin-block-end: 3rem; }
.hwx-agenda .hwx-agenda__categories { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 145px), 1fr)); gap: .75rem; }
.hwx-agenda .hwx-agenda__categories a {
  display: flex;
  flex-direction: column;
  align-items: safe center;
  gap: .375rem;
  min-inline-size: 0;
  padding: 1rem;
  border: 1px solid var(--agenda-line);
  border-radius: .75rem;
  background: #fff;
  color: var(--agenda-ink);
  text-align: center;
  text-decoration: none;
  overflow-wrap: anywhere;
}
.hwx-agenda .hwx-agenda__categories i {
  color: var(--agenda-brand);
  font-size: 2rem;
  margin-block-end: .25rem;
}
.hwx-agenda .hwx-agenda__categories span { font-size: .875rem; font-weight: 600; }
.hwx-agenda .hwx-agenda__categories small { color: var(--agenda-muted); font-size: .75rem; }
.hwx-agenda .hwx-agenda__categories a[aria-current="true"] {
  background: var(--agenda-soft);
  border-color: var(--agenda-accent);
  outline: 1px solid var(--agenda-accent);
}
.hwx-agenda .hwx-agenda__list-head {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.25rem;
  background: #fff;
  border: 1px solid var(--agenda-line);
  border-radius: .75rem;
}
.hwx-agenda .hwx-agenda__list-head h2 { margin: 0 0 .25rem; font-size: 1.75rem; }
.hwx-agenda .hwx-agenda__list-head p { margin: 0; color: var(--agenda-muted); font-size: .8125rem; }
.hwx-agenda .hwx-agenda__time-filter { display: flex; align-items: center; gap: .5rem; font-size: .8125rem; }
.hwx-agenda .hwx-agenda__time-filter select { min-inline-size: 0; padding: .5rem; border: 1px solid var(--agenda-line); border-radius: .5rem; color: var(--agenda-ink); background: var(--agenda-soft); }
.hwx-agenda .hwx-agenda__status { margin: .75rem 0; color: var(--agenda-muted); }
.hwx-agenda .hwx-agenda__status:empty { margin: 0; }
.hwx-agenda .hwx-agenda__day {
  display: grid;
  grid-template-columns: 12rem minmax(0, 1fr);
  gap: 2rem;
  padding-block: 2rem;
  padding-inline: 1rem;
  border-radius: .75rem;
  background: var(--agenda-soft);
}
.hwx-agenda .hwx-agenda__day:nth-child(even of .hwx-agenda__day) { background: #fff; }
.hwx-agenda .hwx-agenda__day + .hwx-agenda__day { border-block-start: 1px solid var(--agenda-line); }
.hwx-agenda .hwx-agenda__date > p { margin: 0 0 .375rem; font-size: .8125rem; color: var(--agenda-muted); }
.hwx-agenda .hwx-agenda__date h3 { font-size: 1.125rem; line-height: 1.3; margin: 0 0 .5rem; }
.hwx-agenda .hwx-agenda__rows { margin: 0; padding: 0; list-style: none; }
.hwx-agenda .hwx-agenda__row { display: grid; grid-template-columns: 4.5rem minmax(0, 1fr); gap: 1rem; padding-block: .875rem; }
.hwx-agenda .hwx-agenda__row:has(> .hwx-agenda__image) { grid-template-columns: 4.5rem minmax(0, 1fr) 6rem; }
.hwx-agenda .hwx-agenda__image {
  display: block;
  inline-size: 100%;
  block-size: 4.5rem;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: .5rem;
}
.hwx-agenda .hwx-agenda__row:not(:last-child) { border-block-end: 1px solid var(--agenda-line); }
.hwx-agenda .hwx-agenda__row:first-child { padding-block-start: 0; }
.hwx-agenda .hwx-agenda__time { color: var(--agenda-muted); font-size: .875rem; font-variant-numeric: tabular-nums; }
.hwx-agenda .hwx-agenda__event { min-inline-size: 0; }
.hwx-agenda .hwx-agenda__event h4 { margin: 0 0 .375rem; font-size: 1rem; line-height: 1.4; overflow-wrap: anywhere; }
.hwx-agenda .hwx-agenda__event h4 a { color: var(--agenda-ink); text-decoration: none; }
.hwx-agenda .hwx-agenda__event p { margin: 0; font-size: .8125rem; line-height: 1.45; color: var(--agenda-muted); overflow-wrap: anywhere; }
.hwx-agenda .hwx-agenda__day-more { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: .5rem; padding: .875rem; margin-block-start: .5rem; font-size: .8125rem; text-decoration: none; border-block-start: 1px solid var(--agenda-line); }
.hwx-agenda .hwx-agenda__more-days { text-align: center; border-block-start: 1px solid var(--agenda-line); padding-block: 1.5rem; }
.hwx-agenda .hwx-agenda__more-days a, .hwx-agenda .hwx-agenda__submit > a { display: inline-flex; align-items: center; justify-content: center; min-block-size: 44px; padding: .75rem 1.5rem; border-radius: 9999px; background: var(--agenda-accent); color: #fff; text-decoration: none; }
.hwx-agenda .hwx-agenda__submit { padding: 3rem 1.5rem; margin-block: 2rem; border: 1px solid var(--agenda-line); border-radius: .875rem; background: #fff; text-align: center; }
.hwx-agenda .hwx-agenda__submit h2 { font-size: clamp(1.5rem, 3vw, 2rem); margin-block-end: .75rem; }
.hwx-agenda .hwx-agenda__submit p { color: var(--agenda-muted); margin-block-end: 1.5rem; }
.hwx-agenda [aria-busy="true"] { cursor: progress; }

@media (hover: hover) {
  .hwx-agenda :is(.hwx-agenda__categories a, button):hover { border-color: var(--agenda-accent); }
  .hwx-agenda .hwx-agenda__categories a:hover { background: var(--agenda-soft); }
  .hwx-agenda .hwx-agenda__section-head > a:hover,
  .hwx-agenda .hwx-agenda__day-more:hover,
  .hwx-agenda .hwx-agenda__event a:hover,
  .hwx-agenda .hwx-agenda__tip h3 a:hover { color: var(--agenda-accent-hover); text-decoration: underline; }
  .hwx-agenda .hwx-agenda__more-days a:hover,
  .hwx-agenda .hwx-agenda__submit > a:hover,
  .hwx-agenda .hwx-agenda__filters button:hover {
    background: var(--agenda-accent-hover);
    border-color: var(--agenda-accent-hover);
    color: #fff;
  }
}
@media (max-width: 767.98px) {
  .hwx-agenda .hwx-agenda__image { block-size: 3rem; }
  .hwx-agenda .hwx-agenda__row:has(> .hwx-agenda__image) { grid-template-columns: 4.5rem minmax(0, 1fr) 4rem; }
  .hwx-agenda .hwx-agenda__hero { margin-block: 1rem 0; }
  .hwx-agenda .hwx-agenda__day { grid-template-columns: 1fr; gap: 1rem; padding-block: 1.5rem; }
  .hwx-agenda .hwx-agenda__date { display: flex; flex-wrap: wrap; align-items: baseline; gap: .5rem 1rem; }
  .hwx-agenda .hwx-agenda__date h3 { margin: 0; }
  .hwx-agenda .hwx-agenda__date > p { margin: 0; }
  .hwx-agenda .hwx-agenda__tip { grid-template-columns: 1fr; }
  .hwx-agenda .hwx-agenda__tips--pair .hwx-agenda__slides { grid-template-columns: minmax(0, 1fr); }
  .hwx-agenda .hwx-agenda__tip > img { aspect-ratio: 3 / 2; max-block-size: 22rem; }
  .hwx-agenda .hwx-agenda__thumbs { display: flex; overflow-x: auto; padding: .25rem; }
  .hwx-agenda .hwx-agenda__thumbs button { flex: 0 0 11rem; }
  .hwx-agenda .hwx-agenda__time-filter { flex-wrap: wrap; }
}

.hwx-agenda .hwx-agenda__ad { margin-block: 1rem; min-inline-size: 0; }
.hwx-agenda .hwx-agenda__ad :is(img, iframe, video) { max-inline-size: 100%; }
.hwx-agenda .hwx-agenda__ad img { block-size: auto; }
.hwx-agenda .hwx-lmdb-adbanner-notice { color: var(--agenda-muted); font-size: .75rem; }
