/* public/app/css/dash-ad-projects.css
 * Synopsis: Cartes pub projets DreamprojectAI.
 * Objectif: Mini-landing + liens sous slogan.
 */

.dash .dash-ad-card {
    align-items: center;
    color: inherit;
    display: flex;
    gap: .4rem;
    height: 100%;
    justify-content: flex-start;
    padding: .95rem .55rem .28rem;
}

.dash .dash-ad-card:hover {
    background: color-mix(in srgb, var(--dash-accent) 10%, transparent);
}

.dash .dash-ad-card__img {
    border-radius: var(--dash-radius);
    flex: 0 0 auto;
    height: 40px;
    object-fit: cover;
    width: 40px;
}

.dash .dash-ad-card__copy {
    display: flex;
    flex: 1 1 auto;
    flex-direction: column;
    gap: .08rem;
    min-width: 0;
}

.dash .dash-ad-card__title {
    color: var(--dash-text);
    font: 700 .86rem/1.1 var(--display);
}

.dash .dash-ad-card__line {
    color: var(--dash-text);
    font-size: .68rem;
    line-height: 1.2;
    max-height: 2.4em;
    opacity: .9;
    overflow-wrap: anywhere;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: normal;
}

.dash .dash-ad-card__links {
    display: flex;
    flex-wrap: wrap;
    gap: .15rem .45rem;
    min-width: 0;
}

.dash .dash-ad-card__ext {
    color: var(--dash-accent);
    font-size: .6rem;
    font-weight: 600;
    letter-spacing: .01em;
    line-height: 1.2;
    max-width: 100%;
    overflow: hidden;
    text-decoration: underline;
    text-overflow: ellipsis;
    text-underline-offset: 2px;
    white-space: nowrap;
}

.dash .dash-ad-card__ext:hover {
    color: var(--dash-text);
}

.dash .dash-ad-card__cta {
    background: var(--dash-accent);
    border-radius: 999px;
    color: #06110c;
    flex: 0 0 auto;
    font-size: .68rem;
    font-weight: 700;
    margin-left: auto;
    padding: .28rem .55rem;
    text-decoration: none;
    white-space: nowrap;
}

.dash .dash-ad-card__cta:hover {
    filter: brightness(1.06);
}
