.buyhub-program-filter .buyhub-program-resource {
    display: grid;
    grid-template-columns: auto auto minmax(0, 1fr) auto;
    align-items: center;
    gap: 9px;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    box-sizing: border-box;
    margin: 14px 0 16px;
    padding: 11px 12px;
    border: 1px solid #EAE7E1;
    background: #F6F5F2;
    color: #00506A;
    font-family: 'Montserrat', sans-serif;
    font-size: 12px;
    line-height: 1.25;
    text-decoration: none !important;
    transition: background-color .15s ease, border-color .15s ease, color .15s ease;
}

.buyhub-program-filter .buyhub-program-resource:hover {
    border-color: #D9D4CA;
    background: #F1EFE9;
    color: #003E52;
}

.buyhub-program-filter .buyhub-program-resource:focus {
    outline: 3px solid rgba(0, 80, 106, .28);
    outline-offset: 2px;
}

.buyhub-program-filter .buyhub-program-resource:focus:not(:focus-visible) {
    outline: none;
}

.buyhub-program-filter .buyhub-program-resource:focus-visible {
    outline: 3px solid rgba(0, 80, 106, .38);
    outline-offset: 2px;
}

.buyhub-program-resource__document,
.buyhub-program-resource__external,
.buyhub-program-resource__download {
    display: inline-flex;
    flex: 0 0 auto;
    align-items: center;
    justify-content: center;
}

.buyhub-program-resource__document svg {
    width: 16px;
    height: 19px;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.4;
}

.buyhub-program-resource__spinner {
    display: none;
    width: 14px;
    height: 14px;
    box-sizing: border-box;
    border: 2px solid rgba(0, 80, 106, .24);
    border-top-color: currentColor;
    border-radius: 50%;
    animation: buyhub-resource-spin .8s linear infinite;
}

.buyhub-program-resource.is-pending {
    cursor: wait;
}

.buyhub-program-resource.is-pending .buyhub-program-resource__document svg {
    display: none;
}

.buyhub-program-resource.is-pending .buyhub-program-resource__spinner {
    display: block;
}

.buyhub-program-resource.is-pending .buyhub-program-resource__download {
    visibility: hidden;
}

.buyhub-program-resource__badge {
    display: inline-flex;
    align-items: center;
    min-height: 20px;
    padding: 2px 7px;
    border-radius: 2px;
    background: #E9E5DA;
    color: #65583F;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .05em;
    line-height: 1;
}

.buyhub-program-resource__label {
    min-width: 0;
    color: inherit;
    font-weight: 700;
    letter-spacing: .08em;
    overflow-wrap: anywhere;
}

.buyhub-program-resource__external svg,
.buyhub-program-resource__download svg {
    width: 13px;
    height: 13px;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.5;
}

@keyframes buyhub-resource-spin {
    to {
        transform: rotate(360deg);
    }
}

@media (prefers-reduced-motion: reduce) {
    .buyhub-program-filter .buyhub-program-resource {
        transition: none;
    }

    .buyhub-program-resource__spinner {
        animation: none;
    }
}

@media (max-width: 767px) {
    .buyhub-program-filter .buyhub-program-resource {
        gap: 8px;
        margin: 12px 0 15px;
        padding: 10px 11px;
    }
}

@media (max-width: 380px) {
    .buyhub-program-filter .buyhub-program-resource {
        gap: 7px;
        padding: 9px 10px;
        font-size: 11px;
    }
}
