@import 'common/banner.css';
@import 'common/calendar.css';
@import 'common/slideshow.css';
@import 'common/table.css';
@import 'common/post.css';
@import 'common/modal.css';

/* banner */
.banner h1 {
  text-transform: uppercase;
  font-size: 36pt;
}

.banner p {
  font-size: 18pt;
}

.banner img {
  width: 100px;
}


/* event */

#event .no-content {
  display: block;
  text-align: center;
}

.event {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

.event .content {
  min-width: 240px;
  max-width: 340px;
  flex-grow: 1;
  flex-basis: 0;
}

.event a {
  color: rgb(199, 0, 0);
  font-weight: 700;
}

.event h3 {
  font-size: 16pt;
  margin-top: 0;
}

.event .beschreibung{
  white-space: pre-wrap;
}

.event p {
  margin: .5em 0;
}

.modal .event {
  max-width: 800px;
}


/* sponsoren */

#sponsoren a {
  max-width: 180px;
  height: 60px;
  text-align: center;
  margin: 0 auto;
}

#sponsoren .slideshow * {
  line-height: 1.25em;
}

#sponsoren img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

#event, #sponsoren {
  min-width: 300px;
}


/* heimspiele */

#heimspiele :is(td, th):is(:nth-child(5), :nth-child(3)) {
  display: none;
}


/* posts */

#aktuelles .post .text {
  padding: 0;
}

#aktuelles .post {
  gap: 18px;
  border-radius: 0;
  padding: 13px;
  box-shadow: none;
}

#aktuelles .post .image-wrapper {
  border-radius: var(--border-radius);
}


@media (max-width: 600px) {
  .banner h1 {
    font-size: 22pt;
  }

  .banner img {
    height: 80px;
    display: block;
  }

  #aktuelles .post:last-child {
    display: none;
  }
}