/*
 * Trust strip — "Featured in / Cited by" horizontal logo wall, rendered
 * by core.templatetags.press_mentions.trust_strip when at least one
 * active PressMention exists for the requested surface.
 *
 * Design goal: signal third-party credibility without dominating the
 * page. Grayscale logos in a horizontal row, modest size, hover to
 * full color so the strip rewards engagement.
 */

.trust-strip {
    margin: 0;
    padding: var(--space-6) 0;
    border-top: 1px solid var(--color-line);
    border-bottom: 1px solid var(--color-line);
    text-align: center;
}

.trust-strip__label {
    font-family: var(--font-mono);
    font-size: var(--text-xs);
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--color-ink-muted);
    margin: 0 0 var(--space-4);
    font-weight: var(--font-bold);
}

.trust-strip__list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: var(--space-8) var(--space-10);
}

.trust-strip__item {
    margin: 0;
    padding: 0;
}

.trust-strip__link {
    display: inline-block;
    text-decoration: none;
    color: inherit;
    transition: opacity 0.2s, filter 0.2s;
    opacity: 0.6;
    filter: grayscale(100%);
}

.trust-strip__link:hover,
.trust-strip__link:focus {
    opacity: 1;
    filter: grayscale(0%);
}

.trust-strip__link:focus {
    outline: 2px solid var(--color-primary);
    outline-offset: 4px;
}

.trust-strip__logo {
    max-width: 120px;
    max-height: 40px;
    width: auto;
    height: auto;
    object-fit: contain;
    display: block;
}

.trust-strip__name {
    /* Text-only fallback when no logo is set */
    font-family: var(--font-serif);
    font-size: var(--text-lg);
    color: var(--color-ink);
    font-weight: var(--font-bold);
    letter-spacing: -0.01em;
}

/* Surface-specific tweaks */

.trust-strip--homepage {
    background: var(--color-bg-subtle);
}

.trust-strip--advertise {
    margin-top: var(--space-8);
}

.trust-strip--about {
    border-bottom: 0;
}

/* Mobile: tighten spacing */
@media (max-width: 640px) {
    .trust-strip__list {
        gap: var(--space-5) var(--space-6);
    }
    .trust-strip__logo {
        max-width: 96px;
        max-height: 32px;
    }
}
