/* =========================================================
   Club Voices — shared card styles
   ========================================================= */

/* Shared Voice card */
.club-voice-card {
    display: flex;
    flex-direction: column;
    min-width: 0;
    padding: 1.6rem;
    border: 1px solid #dedede;
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 6px 22px rgba(0, 0, 0, .035);
}

.club-voice-card[hidden] {
    display: none;
}

.club-voice-card__voice {
    position: relative;
    display: -webkit-box;
    margin: 0;
    padding: 0 0 0 1.15rem;
    border: 0;
    color: #333;
    font-size: .95rem;
    font-weight: 500;
    line-height: 1.55;
    overflow: hidden;
    overflow-wrap: anywhere;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 6;
    line-clamp: 6;
}

.club-voice-card__voice::before {
    content: "";
    position: absolute;
    top: .15rem;
    bottom: .15rem;
    left: 0;
    width: 2px;
    background: #2f65bf;
}

.club-voice-card__voice.is-measuring,
.club-voice-card__voice.is-expanded {
    display: block;
    overflow: visible;
    -webkit-line-clamp: unset;
    line-clamp: unset;
}

.club-voice-card__toggle {
    appearance: none;
    align-self: flex-start;
    margin: .55rem 0 0 1.15rem;
    padding: 0;
    border: 0;
    background: transparent;
    color: #2f65bf;
    font: inherit;
    font-size: .82rem;
    font-weight: 600;
    line-height: 1.3;
    text-decoration: underline;
    text-underline-offset: .16em;
    cursor: pointer;
}

.club-voice-card__toggle:hover {
    color: #244f98;
}

.club-voice-card__toggle:focus-visible {
    outline: 2px solid #2f65bf;
    outline-offset: 3px;
}

.club-voice-card__footer {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 1.25rem;
    margin-top: 1rem;
}

.club-voice-card__meta {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.club-voice-card__byline {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: .35rem;
    color: #555;
    font-size: .88rem;
    line-height: 1.4;
}

.club-voice-card__name {
    color: #333;
    font-size: inherit;
    font-weight: 600;
    line-height: inherit;
}

.club-voice-card__separator {
    color: #999;
    font-weight: 400;
}

.club-voice-card__relationship {
    color: #666;
    font-size: inherit;
    font-weight: 400;
    line-height: inherit;
}

.club-voice-card__posted {
    display: flex;
    flex-wrap: wrap;
    gap: .25rem;
    margin-top: .2rem;
    color: #777;
    font-size: .82rem;
    font-weight: 400;
    line-height: 1.4;
}

.club-voice-card__date {
    color: inherit;
    font-size: inherit;
    font-weight: inherit;
    line-height: inherit;
}

.club-voice-card__team {
    margin-top: .15rem;
    color: #777;
    font-size: .82rem;
    line-height: 1.4;
}

.club-voice-card__avatar-wrap {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 76px;
    height: 76px;
    border-radius: 50%;
    background: #f6f6f6;
}

.club-voice-card__avatar {
    display: block;
    width: 62px;
    height: 62px;
    object-fit: contain;
}

@media (max-width: 700px) {
    .club-voice-card {
        padding: 1.25rem;
    }
}

@media (max-width: 430px) {
    .club-voice-card__footer {
        gap: .85rem;
    }

    .club-voice-card__byline {
        font-size: .84rem;
    }

    .club-voice-card__posted,
    .club-voice-card__team {
        font-size: .79rem;
    }

    .club-voice-card__avatar-wrap {
        width: 64px;
        height: 64px;
    }

    .club-voice-card__avatar {
        width: 52px;
        height: 52px;
    }
}

/* Club Voices automatically uses a category icon for single-category voices and the combined icon for multi-category voices. */
.club-voice-card__avatar-wrap {
    border: 1px solid #e8edf4;
    background: #fff;
    box-shadow: 0 4px 14px rgba(13, 40, 71, .06);
}

.club-voice-card__avatar {
    width: 68px;
    height: 68px;
    border-radius: 50%;
}

@media (max-width: 430px) {
    .club-voice-card__avatar {
        width: 56px;
        height: 56px;
    }
}
