/*
 * CC GitHub Link — block styles
 * Visually consistent with cc-deep-dive-cta but one notch smaller so the
 * GitHub link sits as a quiet utility row above the Gumroad CTA.
 */

.cc-github-link {
    margin: 2.5rem auto 1.5rem;
    max-width: 720px;
}

.cc-github-link__inner {
    border: 1px solid #d4d4d8;
    border-radius: 8px;
    background: #fafafa;
    padding: 1.25rem 1.5rem;
}

.cc-github-link__title {
    font-size: 1.05rem;
    font-weight: 600;
    color: #18181b;
    margin-bottom: 0.4rem;
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.cc-github-link__icon {
    font-size: 1.1rem;
}

.cc-github-link__desc {
    font-size: 0.92rem;
    color: #52525b;
    line-height: 1.5;
    margin: 0 0 0.9rem 0;
}

.cc-github-link__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.cc-github-link__btn {
    display: inline-block;
    padding: 0.45rem 0.95rem;
    font-size: 0.88rem;
    font-weight: 500;
    border-radius: 6px;
    text-decoration: none;
    line-height: 1.2;
    transition: transform 0.1s ease, background 0.15s ease;
}

.cc-github-link__btn:hover {
    transform: translateY(-1px);
    text-decoration: none;
}

.cc-github-link__btn--primary {
    background: #18181b;
    color: #ffffff;
}

.cc-github-link__btn--primary:hover {
    background: #27272a;
    color: #ffffff;
}

.cc-github-link__btn--secondary {
    background: #ffffff;
    color: #18181b;
    border: 1px solid #d4d4d8;
}

.cc-github-link__btn--secondary:hover {
    background: #f4f4f5;
    color: #18181b;
}

@media (max-width: 480px) {
    .cc-github-link {
        margin: 2rem 1rem 1rem;
    }
    .cc-github-link__inner {
        padding: 1rem 1.1rem;
    }
    .cc-github-link__actions {
        flex-direction: column;
    }
    .cc-github-link__btn {
        text-align: center;
    }
}
