/* ══ ABOUT — endorsements + CTA (hero in about.html) ══ */

main:has(.abt-hero) {
    overflow-x: clip;
}

#theme-wrapper:has(> .abt-hero) {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.about-tags {
    margin-top: 1.25rem;
}

/* ── Endorsements carousel ── */

.about-endorsements {
    overflow-x: clip;
}

.about-endorsements-head h2 {
    margin: 0;
    font-size: clamp(1.1rem, 2vw, 1.35rem);
    font-weight: 700;
}

.about-carousel {
    overflow: hidden;
    margin-inline: calc(-1 * var(--page-gutter, 2rem));
    padding: 0.25rem var(--page-gutter, 2rem) 0.5rem;
}

.about-carousel-track {
    display: flex;
    align-items: stretch;
    gap: 1rem;
    width: max-content;
    animation: about-endorse-scroll 100s linear infinite;
    will-change: transform;
}

.about-carousel-track:hover {
    animation-play-state: paused;
}

@keyframes about-endorse-scroll {
    to {
        transform: translateX(-50%);
    }
}

.about-endorsement-card {
    flex: 0 0 auto;
    width: min(340px, 78vw);
    margin: 0;
    padding: 1.25rem 1.35rem;
    border: 1px solid var(--c-border);
    border-radius: 14px;
    background: var(--c-background);
    display: flex;
    flex-direction: column;
    gap: 1rem;
    min-height: 190px;
}

.about-endorsement-quote {
    margin: 0;
    font-size: 0.95rem;
    line-height: 1.65;
    color: var(--c-text-secondary);
}

.about-endorsement-quote::before {
    content: "“";
    display: block;
    margin-bottom: 0.35rem;
    font-size: 1.5rem;
    line-height: 1;
    color: var(--c-accent);
}

.about-endorsement-author {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-top: auto;
}

.about-endorsement-logo {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    background: var(--c-background-gray);
    object-fit: contain;
    flex-shrink: 0;
}

.about-endorsement-name {
    margin: 0;
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--c-text-primary);
}

.about-endorsement-role {
    margin: 0.15rem 0 0;
    font-size: 0.8rem;
    color: var(--c-text-secondary);
}

/* ── CTA actions (rx-contact block in pages.css) ── */

.about-cta-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 0.25rem;
}
