/* Outer grid wrapper (b13 container imia_teaserboxes) */
.teaserboxes {
  margin: 0;
}

.teasrBox {
  margin-top: 1em;
  margin-bottom: 1em;
  padding-left: 0.75rem;
  padding-right: 0.75rem;
  transition: padding 0.5s ease;
}
.teasrBox:hover {
  padding-left: 0;
  padding-right: 0;
}
.teasrBox .card {
  overflow: hidden;
  transition: transform 0.5s ease;
}
.teasrBox > .card > .link {
  display: flex;
  flex-direction: column;
  height: 100%;
  text-decoration: none;
  color: #0E0E0E;
}
.teasrBox > .card > .link > img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 5/3;
  -o-object-fit: cover;
     object-fit: cover;
  -o-object-position: center;
     object-position: center;
  border-radius: 0.5em 0.5em 0 0;
  transition: transform 0.5s ease;
}
.teasrBox > .card > .link .card-body {
  flex: 1 1 auto;
  display: grid;
  grid-template-columns: 10% 1fr;
  -moz-column-gap: 2%;
       column-gap: 2%;
  grid-template-rows: auto 1fr auto;
  align-content: start;
}
.teasrBox > .card > .link .btn-primary {
  --bs-btn-color: #fff;
  --bs-btn-bg: #005098;
  --bs-btn-border-color: #005098;
  --bs-btn-hover-color: #fff;
  --bs-btn-hover-bg: rgba(0, 80, 152, 0.8);
  --bs-btn-hover-border-color: rgba(0, 80, 152, 0.8);
  --bs-btn-active-color: #fff;
  --bs-btn-active-bg: #005098;
  --bs-btn-active-border-color: #005098;
  color: #fff;
  background-color: #005098;
  border-color: #005098;
  text-decoration: none;
  pointer-events: none;
  grid-column: 1/-1;
  grid-row: 3;
  margin-top: 1rem;
  margin-bottom: 0.375em;
  justify-self: start;
}
.teasrBox > .card > .link .btn-primary:hover, .teasrBox > .card > .link .btn-primary:focus, .teasrBox > .card > .link .btn-primary:active {
  color: #fff;
  background-color: rgba(0, 80, 152, 0.8);
  border-color: rgba(0, 80, 152, 0.8);
}
.teasrBox:hover > .card > .link > img {
  transform: scale(1.08);
}
.teasrBox .link {
  display: block;
  text-decoration: none;
  color: #0E0E0E;
}
.teasrBox .head {
  grid-column: 2;
  grid-row: 1;
  float: none;
  width: auto;
  padding-top: 0.5em;
  align-self: start;
}
.teasrBox .head h3 {
  font-size: 1.25rem;
  margin: 0;
  color: #0E0E0E;
  font-weight: normal;
}
.teasrBox > .card > .link .card-body:not(:has(.teaser_icon)) .head {
  grid-column: 1/-1;
}
.teasrBox .spacer {
  display: none;
}
.teasrBox .teaser-bodytext {
  grid-column: 1/-1;
  grid-row: 2;
  clear: none;
  margin-top: 1em;
  margin-bottom: 0;
}
.teasrBox .teaser_icon {
  grid-column: 1;
  grid-row: 1;
  float: none;
  width: 100%;
  max-width: 100%;
  height: auto;
  margin-right: 0;
  align-self: start;
  border-radius: 0 !important;
  transform: none !important;
}
@media only screen and (max-width: 999px) {
  .teasrBox {
    padding: 0 2em;
    transition: padding 0.5s ease;
  }
  .teasrBox:hover {
    padding: 0;
  }
  .teasrBox .head {
    font-size: 0.75em;
  }
  .teasrBox > .card > .link .card-body {
    position: relative;
    padding-bottom: 1.5em;
    min-height: 13vh;
  }
  .teasrBox > .card > .link .btn-primary {
    width: 33%;
    position: absolute;
    bottom: 0.375em;
    right: 33%;
    margin: 0;
    justify-self: unset;
    text-align: center;
  }
}