.hooucard {
    position: relative;
    cursor: pointer;
}

.hooucard *:focus,
.hooucard *:focus-visible {
	outline: none;
    border:none;
    text-decoration: none;
    -webkit-box-shadow: 0;
    -moz-box-shadow:0;
    box-shadow:none;
    outline:none;
    outline-offset: none;
}

.hooucard:has(.hooucard-content-title-link:focus-visible) {
    -webkit-box-shadow: 0px 0px 0px 2px rgba(0,0,0,1), 0px 0px 0px 4px rgba(255,255,255,1);
    -moz-box-shadow: 0px 0px 0px 2px rgba(0,0,0,1), 0px 0px 0px 4px rgba(255,255,255,1);
    box-shadow: 0px 0px 0px 2px rgba(0,0,0,1), 0px 0px 0px 4px rgba(255,255,255,1);
    outline: 2px solid #1E1C39;
    outline-offset: 0;
}

.hooucard-layout-container {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
}

/* Wenn die Karte geklickt wird, leite den Klick auf den Button weiter */
.hooucard-content-title-link::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: transparent;
    pointer-events: auto;
    inset:0;
    display: block;
}

.hooucard-content-title-link:hover {
	text-decoration: none;
}

.hooucard .hooucard-buttonmimic {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 10px;
    height: 48px;
    border-top: 1px solid var(--hoou-hellgrau);
    text-decoration: none;
    color: var(--hoou-blau);
    padding: 12px 16px;
    background-color: transparent;
}

.hooucard:hover .hooucard-buttonmimic {
    background-color: var(--hoou-blau);
    color: white;
}

.hooucard:hover .hooucard-buttonmimic svg path {
    stroke: currentcolor;
}

.hooucard .hooucard-buttonmimic-icon {
    position: relative;
}

.hooucard .hooucard-buttonmimic-text {
    font-size: 16px;
    font-weight: bold;
    font-stretch: normal;
    font-style: normal;
    line-height: 1.5;
    letter-spacing: 0.08px;
    text-align: right;
}

.hooucard .hooucard-content-authors:has(> div:nth-child(2):last-child) {
    gap:30px
}

.hooucard .hooucard-content-authors:has(> div:nth-child(3):last-child) {
    gap:24px 
}

.hooucard .hooucard-content-authors:has(> div:nth-child(4):last-child) {
    gap:18px 
}

.hooucard .hooucard-content-authors:has(> div:nth-child(5)) { /* For 5+ (no upper limit) */
    gap: 12px;
}

