/* Titel über die ganze Breite des Angebotskopfes. Liegt nach dist/styles.css. */

.angebot-flyer__heading {
  grid-column: 1 / -1;
  background: #2e5b6a;
  color: #fff;
  text-align: center;
  padding: 32px 28px 12px;
}

.angebot-flyer__heading .angebot-flyer__title {
  margin-bottom: 12px;
}

.angebot-flyer__heading .angebot-flyer__date {
  margin-bottom: 0;
}

.angebot-flyer__video {
  margin: 0 0 20px;
}

.angebot-flyer__video iframe {
  width: 100%;
  aspect-ratio: 16 / 9;
  height: auto;
  border: 0;
}

@media (max-width: 767px) {
  .angebot-flyer--has-hero .angebot-flyer__hero {
    order: 0;
  }

  .angebot-flyer__heading {
    order: -1;
  }
}

.angebot-flyer__toolbar {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px 16px;
  padding: 12px 24px;
  background: #fff;
  text-align: left;
}

.angebot-flyer__tags {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-start;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.angebot-flyer__tags li {
  margin: 0;
  padding: 0;
}

.angebot-flyer__tags a {
  background-image: none;
  text-decoration: none;
}

.angebot-flyer__share {
  position: relative;
  margin-left: auto;
}

.angebot-flyer__share-menu {
  position: absolute;
  top: calc(100% + 6px);
  right: 0;
  z-index: 6;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  min-width: 168px;
  margin: 0;
  padding: 6px;
  background: #fff;
  border: 1px solid #2e5b6a;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.12);
}

.angebot-flyer__share-menu[hidden] {
  display: none;
}

.angebot-flyer__share-btn {
  display: inline-block;
  margin: 0;
  padding: 6px 10px;
  border: 1px solid #2e5b6a;
  border-radius: 2px;
  background: #fff;
  color: #2e5b6a;
  font-family: inherit;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
}

.angebot-flyer__share-btn:hover,
.angebot-flyer__share-btn:focus {
  background: #2e5b6a;
  color: #fff;
  text-decoration: none;
}

.angebot-flyer__share-menu .angebot-flyer__share-btn {
  display: block;
  width: 100%;
  border: 0;
  background: transparent;
  text-align: left;
}

.angebot-flyer__share-status {
  margin: 6px 4px 2px;
  color: #2e5b6a;
  font-size: 13px;
  line-height: 1.3;
  text-align: left;
}

.angebot-flyer--has-hero .angebot-flyer__hero {
  align-self: start;
  height: auto;
  min-height: 0;
  overflow: visible;
}

.angebot-flyer--has-hero .angebot-flyer__hero img,
.angebot-flyer--has-hero .angebot-flyer__hero .angebot-flyer__hero-img {
  position: static;
  inset: auto;
  width: 100%;
  height: auto;
  max-height: none;
  display: block;
  object-fit: contain;
}
