/*--------------------------------------------------------------------------------------------------------

# ÄMNESPUFF | .sv-subjectCard | .sap-subject-card

--------------------------------------------------------------------------------------------------------*/

.sap-subject-card {
   position: relative;
   background: #fff;
}

.sap-subject-card__image {
   width: 100%;
   height: 13.75rem;
   overflow:hidden;
}

.sap-subject-card img {
   width: 100%;
   height: 100%;
      object-fit: cover;
}

.sap-subject-card__tag {
   font-size: 1.25rem;
   display: inline-block;
   background: var(--env-color-brand);
   color: var(--env-ui-color-brand-contrast);
   font-weight: 900;
   position: absolute;
   margin: -3.5rem  0 1.5rem 1.5rem;
   padding: .125rem .5rem;
}

.sap-subject-card__heading h2,
.sap-subject-card__heading h3 {
   margin: 0;
   line-height: 1.4;
   font-size: 1.5rem;
}

.sap-subject-card__heading a:after{
   content: '';
   display: inline-block;
   background-color: currentColor;
	mask-image: url(/images/18.348d6de218de83ec3fa1b51/1709200880664/chevron-right.svg);
   mask-position: center;
   mask-repeat: no-repeat;
   mask-size: 100%;
   height: var(--env-font-size-medium);
   width:  calc(var(--env-font-size-medium) * 0.95);
   margin-left: 0.25em;
   margin-bottom: 0.15em;
   transition: transform 0.2s ease-in-out;
   vertical-align: middle;
   transition: all 0.3s ease-in-out;
}

.sap-subject-card__heading a:hover:after {
  transform: translateX(0.25em);
}

.sap-subject-card a:before {
   content: '';
   position: absolute;
   top: 0;
   right: 0;
   bottom: 0;
   left: 0;
}

@media (min-width: 768px) {
   .sap-subject-card__top {
   	max-height: 13.75rem;
   }
   
   .sap-subject-card__heading {
      padding: 2rem 1.75rem;
      min-height: 12.5rem;
   }
}

@media (max-width: 767px) {
   .sap-subject-card__heading {
      padding: 1.5rem;
      margin-bottom: 1rem;
   }
}
