.gwe-app-promo {
  --gwe-app-promo-badge-height: 36px;
  box-sizing: border-box;
  color: #f5f5f5;
  font: inherit;
}

.gwe-app-promo *,
.gwe-app-promo *::before,
.gwe-app-promo *::after {
  box-sizing: inherit;
}

.gwe-app-promo .gwe-app-promo__title {
  margin: 0;
  color: inherit;
  font-size: 1.12rem;
  font-weight: 750;
  line-height: 1.3;
}

.gwe-app-promo .gwe-app-promo__text {
  margin: 8px 0 0;
  color: #c5c9c3;
  font-size: .9rem;
  line-height: 1.5;
}

.gwe-app-promo .gwe-app-promo__stores {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  flex-wrap: wrap;
  gap: 10px 12px;
  margin-top: 16px;
}

.gwe-app-promo .gwe-app-promo__store {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  overflow: hidden;
  min-height: var(--gwe-app-promo-badge-height);
  border-radius: 5px;
  background: transparent;
  color: #fff;
  line-height: 0;
  text-decoration: none;
  transition: opacity .15s ease, transform .15s ease;
}

.gwe-app-promo .gwe-app-promo__store:hover {
  opacity: .86;
  transform: translateY(-1px);
}

.gwe-app-promo .gwe-app-promo__store:focus-visible,
.gwe-app-promo .gwe-app-promo__more:focus-visible {
  outline: 3px solid #9ddd7c;
  outline-offset: 4px;
}

.gwe-app-promo .gwe-app-promo__store img {
  display: block;
  flex: 0 0 auto;
  width: auto;
  max-width: none;
  padding: 0;
  border: 0;
}

.gwe-app-promo .gwe-app-promo__apple {
  height: var(--gwe-app-promo-badge-height);
  margin: 0;
}

/* The existing Google badge includes transparent padding. Match app.html's crop. */
.gwe-app-promo .gwe-app-promo__google {
  height: calc(var(--gwe-app-promo-badge-height) * 2.373444);
  margin: calc(var(--gwe-app-promo-badge-height) * -.684647)
    calc(var(--gwe-app-promo-badge-height) * -.145228)
    calc(var(--gwe-app-promo-badge-height) * -.688797)
    calc(var(--gwe-app-promo-badge-height) * -.141079);
}

.gwe-app-promo .gwe-app-promo__more {
  display: inline-block;
  margin-top: 13px;
  color: #b8e6a4;
  font-size: .82rem;
  font-weight: 600;
  line-height: 1.4;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.gwe-app-promo--sidebar,
#left .mod_article > .container.content > :is(.mod_newslist, .mod_eventlist, .mod_navigation, .mod_customnav, .mod_calendar, .mod_eventmenu, .ce_mateTeaserBox, .content-text, .content-gallery, .ce_gallery, .content-image) {
  margin: 0 0 26px;
  padding: 21px 20px;
  border: 1px solid #426439;
  border-radius: 12px;
  background: linear-gradient(135deg, #293425, #242724);
}

.gwe-app-promo--header {
  --gwe-app-promo-badge-height: 30px;
  width: max-content;
  max-width: 100%;
  padding: 8px 0;
}

.gwe-app-promo--header .gwe-app-promo__title {
  font-size: .8rem;
  font-weight: 700;
}

.gwe-app-promo--header .gwe-app-promo__stores {
  gap: 8px;
  margin-top: 7px;
}

.gwe-app-promo--liveticker {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 18px 25px;
  width: min(1120px, calc(100% - 32px));
  margin: 24px auto 38px;
  padding: 24px;
  border: 1px solid #426439;
  border-radius: 14px;
  background: linear-gradient(125deg, #293425, #242724);
}

.gwe-app-promo--liveticker .gwe-app-promo__copy {
  flex: 1 1 270px;
}

.gwe-app-promo--liveticker .gwe-app-promo__stores {
  margin: 0;
}

@media (max-width: 600px) {
  .gwe-app-promo--liveticker {
    width: calc(100% - 20px);
    padding: 20px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .gwe-app-promo .gwe-app-promo__store {
    transition: none;
  }
}


/* The sidebar's existing Contao sections share the App card's visual style. */
#left .mod_article > .container.content > :is(.mod_newslist, .mod_eventlist, .mod_navigation, .mod_customnav, .mod_calendar, .mod_eventmenu, .ce_mateTeaserBox, .content-text, .content-gallery, .ce_gallery, .content-image) {
  box-sizing: border-box;
  display: flow-root;
  width: 100%;
  min-width: 0;
  color: #f5f5f5;
  font-size: .9rem;
  line-height: 1.55;
  overflow-wrap: anywhere;
}
#left .mod_article > .container.content > :is(.mod_newslist, .mod_eventlist, .mod_navigation, .mod_customnav, .mod_calendar, .mod_eventmenu, .ce_mateTeaserBox, .content-text, .content-gallery, .ce_gallery, .content-image) > :is(h1, h2, h3, h4, h5, h6),
#left .mod_article > .container.content > .ce_mateTeaserBox > .inside > :is(h1, h2, h3, h4, h5, h6) {
  margin: 0 0 16px;
  padding: 0;
  color: #f5f5f5;
  font-size: 1.12rem;
  font-weight: 750;
  line-height: 1.3;
  letter-spacing: -.015em;
}
#left .mod_article > .container.content > .ce_mateTeaserBox > .inside {
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent !important;
  box-shadow: none;
}
#left .mod_article > .container.content > .ce_mateTeaserBox > .inside > :last-child { margin-bottom: 0; }
#left .mod_newslist > .layout_simple,
#left .mod_eventlist > .event {
  float: none;
  width: 100%;
  margin: 0;
  padding: 11px 0;
  line-height: 1.55;
}
#left .mod_newslist > .layout_simple ~ .layout_simple,
#left .mod_eventlist > .event ~ .event { border-top: 1px solid rgb(172 220 117 / 12%); }
#left .mod_newslist > .layout_simple > time,
#left .mod_eventlist > .event > time {
  display: block;
  margin: 0 0 4px;
  color: #bfc9b9;
  font-size: .75rem;
  line-height: 1.4;
}
#left .mod_newslist > .layout_simple > a,
#left .mod_eventlist > .event > a {
  display: block;
  font-size: .9rem;
  line-height: 1.55;
}
#left .mod_newslist > .pagination { margin: 18px 0 0; padding: 0; gap: 6px; }
#left .mod_newslist .pagination-list { flex-wrap: wrap; }
#left .mod_newslist .pagination :is(.pagination-link, .pagination-next, .pagination-previous) { font-size: .75rem; }
#left .mod_article > .container.content > .mod_navigation .menu-list { margin-top: 0; margin-bottom: 0; font-size: .9rem; }
#left .mod_article > .container.content > .content-text .rte > :first-child { margin-top: 0; }
#left .mod_article > .container.content > .content-text .rte > :last-child { margin-bottom: 0; }
#left .mod_article > .container.content > .content-text img,
#left .mod_article > .container.content > .content-image img {
  display: block;
  max-width: 100%;
  height: auto;
}
