.content-file-download {
    display: flex;
    width: min(calc(100% - 48px), 760px);
    min-height: 116px;
    align-items: center;
    gap: 18px;
    margin: 40px auto;
    padding: 22px 24px;
    border: 1px solid var(--border, #e2e6ef);
    border-radius: 18px;
    background: var(--surface, #fff);
    box-shadow: var(--shadow, 0 12px 36px -24px rgba(20, 24, 36, .35));
    color: var(--text, #141824);
}

.content-file-download__icon {
    display: grid;
    width: 52px;
    height: 52px;
    flex: 0 0 52px;
    place-items: center;
    border-radius: 14px;
    background: color-mix(in srgb, var(--brand, #5b52ff) 12%, transparent);
    color: var(--brand, #5b52ff);
}

.content-file-download__body {
    min-width: 0;
    flex: 1 1 auto;
}

.content-file-download__eyebrow {
    display: block;
    margin-bottom: 3px;
    color: var(--muted, #57607a);
    font-size: .72rem;
    font-weight: 700;
    letter-spacing: .09em;
    line-height: 1.3;
    text-transform: uppercase;
}

.content-file-download__title {
    overflow: hidden;
    margin: 0;
    color: var(--text, #141824);
    font-size: 1.08rem;
    font-weight: 750;
    line-height: 1.35;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.content-file-download__filename {
    display: block;
    overflow: hidden;
    margin-top: 4px;
    color: var(--muted, #57607a);
    font-family: var(--mono, ui-monospace, monospace);
    font-size: .78rem;
    line-height: 1.35;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.content-file-download__link {
    display: inline-flex;
    min-height: 44px;
    flex: 0 0 auto;
    align-items: center;
    justify-content: center;
    gap: 9px;
    border: 1px solid transparent;
    border-radius: 11px;
    padding: 10px 17px;
    background: var(--brand, #5b52ff);
    color: #fff;
    font-size: .88rem;
    font-weight: 700;
    line-height: 1.2;
    text-decoration: none;
    transition: transform .18s ease, box-shadow .18s ease, filter .18s ease;
}

.content-file-download__link:hover {
    color: #fff;
    filter: brightness(1.07);
    text-decoration: none;
    transform: translateY(-1px);
    box-shadow: 0 8px 22px -12px var(--brand, #5b52ff);
}

.content-file-download__link:focus-visible {
    outline: 3px solid color-mix(in srgb, var(--brand, #5b52ff) 28%, transparent);
    outline-offset: 3px;
}

.content-file-download__message {
    margin: 0;
    color: var(--muted, #57607a);
    font-size: .95rem;
}

.content-file-download--unavailable {
    border-style: dashed;
    box-shadow: none;
    opacity: .82;
}

@media (max-width: 640px) {
    .content-file-download {
        width: min(calc(100% - 32px), 760px);
        align-items: flex-start;
        flex-wrap: wrap;
        margin: 28px auto;
        padding: 20px;
    }

    .content-file-download__body {
        width: calc(100% - 70px);
    }

    .content-file-download__link {
        width: 100%;
        margin-top: 2px;
    }
}
