/* Build 0156: dedicated Credits presentation and readability pass. */
.buzzen-credits-page {
    min-height: 55vh;
}

.buzzen-credits-hero-copy > p {
    font-size: 16px;
    line-height: 1.7;
}

.buzzen-credits-hero-panel > p {
    font-size: 14px;
    line-height: 1.6;
}

.buzzen-credits-jump {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    margin: 0 0 18px;
    padding: 12px 14px;
    border: 1px solid rgba(26, 110, 170, .14);
    border-radius: var(--buzzen-radius-md);
    background: linear-gradient(180deg, #fff 0%, #f7fbfe 100%);
    box-shadow: var(--buzzen-shadow-card);
}

.buzzen-credits-jump-label {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    margin-right: 3px;
    color: #385f78;
    font-size: 14px;
    font-weight: 800;
}

.buzzen-credits-jump-label i {
    color: #e1a600;
}

.buzzen-credits-jump a {
    display: inline-flex;
    align-items: center;
    min-height: 36px;
    padding: 7px 11px;
    border: 1px solid #dbe8f1;
    border-radius: var(--buzzen-radius-pill);
    background: #fff;
    color: #215a7d;
    font-size: 14px;
    font-weight: 750;
    line-height: 1.2;
    text-decoration: none;
    transition: border-color .18s ease, background-color .18s ease, color .18s ease, transform .18s ease;
}

.buzzen-credits-jump a:hover,
.buzzen-credits-jump a:focus-visible {
    border-color: #8cc5eb;
    background: #edf8ff;
    color: #0c6fad;
    transform: translateY(-1px);
}

.buzzen-credit-card {
    scroll-margin-top: 82px;
}

.buzzen-credit-card-heading h2 {
    font-size: 22px;
}

.buzzen-credit-card-heading p {
    font-size: 14px;
    line-height: 1.45;
}

.buzzen-credit-roster {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    padding: 16px 18px 18px;
}

.buzzen-credit-card-managers .buzzen-credit-roster {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.buzzen-credit-list-technology {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.buzzen-credit-person {
    position: relative;
    min-width: 0;
    padding: 15px 15px 14px;
    overflow: hidden;
    border: 1px solid #e0eaf1;
    border-radius: 12px;
    background: linear-gradient(155deg, #fff 0%, #f8fbfd 100%);
    box-shadow: 0 5px 14px rgba(19, 66, 99, .045);
}

.buzzen-credit-person::before {
    content: "";
    position: absolute;
    inset: 0 auto 0 0;
    width: 3px;
    background: linear-gradient(180deg, #1b79bd 0%, #ffd24a 100%);
}

.buzzen-credit-person-featured {
    border-color: rgba(226, 167, 12, .28);
    background:
        radial-gradient(circle at 96% 4%, rgba(255, 210, 74, .14) 0, rgba(255, 210, 74, 0) 34%),
        linear-gradient(155deg, #fff 0%, #f8fbfd 100%);
}

.buzzen-credit-person-top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 8px;
}

.buzzen-credit-person h3 {
    margin: 6px 0 0;
    color: #173f5d;
    font-size: 17px;
    font-weight: 850;
    line-height: 1.25;
    overflow-wrap: anywhere;
}

.buzzen-credit-role {
    display: block;
    color: #657f91;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: .035em;
    line-height: 1.35;
    text-transform: uppercase;
}

.buzzen-credit-inactive {
    flex: 0 0 auto;
    margin: 0;
    padding: 3px 7px;
    font-size: 12px;
}

.buzzen-credit-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
    margin-top: 11px;
}

.buzzen-credit-actions a {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    min-height: 34px;
    max-width: 100%;
    padding: 6px 10px;
    border: 1px solid #d4e5f0;
    border-radius: var(--buzzen-radius-pill);
    background: #fff;
    color: #176a9e;
    font-size: 13px;
    font-weight: 750;
    line-height: 1.2;
    text-decoration: none;
    overflow-wrap: anywhere;
}

.buzzen-credit-actions a:hover,
.buzzen-credit-actions a:focus-visible {
    border-color: #8bc7ed;
    background: #edf8ff;
    color: #075f98;
}

.buzzen-credit-actions i {
    color: #e3aa10;
}

.buzzen-credits-thanks {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    gap: 13px;
    align-items: center;
    margin-top: 18px;
    padding: 16px 18px;
    border: 1px solid rgba(26, 110, 170, .14);
    border-radius: var(--buzzen-radius-md);
    background:
        radial-gradient(circle at 96% 20%, rgba(255, 210, 74, .15) 0, rgba(255, 210, 74, 0) 24%),
        linear-gradient(135deg, #fff 0%, #f3f9fd 100%);
    box-shadow: var(--buzzen-shadow-card);
}

.buzzen-credits-thanks-icon {
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    border-radius: 12px;
    background: #e9f5fc;
    color: #e4a711;
    font-size: 18px;
}

.buzzen-credits-thanks strong {
    color: #173f5d;
    font-size: 16px;
    font-weight: 850;
}

.buzzen-credits-thanks p {
    margin: 3px 0 0;
    color: #566f80;
    font-size: 14px;
    line-height: 1.55;
}

.buzzen-credits-thanks > a {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    min-height: 36px;
    padding: 7px 11px;
    border: 1px solid #d5e6f1;
    border-radius: var(--buzzen-radius-pill);
    background: #fff;
    color: #176a9e;
    font-size: 13px;
    font-weight: 800;
    text-decoration: none;
    white-space: nowrap;
}

.buzzen-credits-thanks > a:hover,
.buzzen-credits-thanks > a:focus-visible {
    border-color: #8bc7ed;
    background: #edf8ff;
}

@media (max-width: 991.98px) {
    .buzzen-credit-card-managers .buzzen-credit-roster {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 767.98px) {
    .buzzen-credits-jump {
        align-items: stretch;
    }

    .buzzen-credits-jump-label {
        flex: 1 0 100%;
    }

    .buzzen-credit-roster,
    .buzzen-credit-card-managers .buzzen-credit-roster,
    .buzzen-credit-list-technology {
        grid-template-columns: 1fr;
    }

    .buzzen-credits-thanks {
        grid-template-columns: auto minmax(0, 1fr);
    }

    .buzzen-credits-thanks > a {
        grid-column: 1 / -1;
        width: fit-content;
    }
}

@media (max-width: 575.98px) {
    .buzzen-credits-jump {
        display: grid;
        grid-template-columns: 1fr 1fr;
        padding: 12px;
    }

    .buzzen-credits-jump-label {
        grid-column: 1 / -1;
    }

    .buzzen-credits-jump a {
        justify-content: center;
        text-align: center;
    }

    .buzzen-credit-roster {
        padding: 14px;
    }

    .buzzen-credit-person {
        padding: 14px;
    }

    .buzzen-credit-actions a {
        min-height: 38px;
    }

    .buzzen-credits-thanks {
        padding: 15px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .buzzen-credits-jump a {
        transition: none;
    }
}
