/* =========================
   FILTER PILLS
   ========================= */

.bhs-resource-pill {
    display: inline-block;
    padding: 8px 22px;
    border: 1px solid var(--bhs-dark);
    background: transparent;
    color: var(--bhs-dark);
    font-size: 13px;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    text-decoration: none;
    font-weight: 600;
    transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.bhs-resource-pill:hover {
    background: var(--bhs-gold);
    border-color: var(--bhs-gold);
    color: #fff;
}

.bhs-resource-pill.is-active {
    background: var(--bhs-dark);
    border-color: var(--bhs-dark);
    color: #fff;
}

/* =========================
   CARDS
   ========================= */

.bhs-resource-card {
    border: 1px solid rgba(0, 0, 0, 0.06);
    transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.bhs-resource-card:hover {
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.08);
    transform: translateY(-4px);
}

.bhs-resource-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.bhs-resource-badge {
    font-size: 11px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    font-weight: 600;
}

.bhs-resource-badge + .bhs-resource-badge::before {
    content: "·";
    margin-right: 8px;
    color: rgba(0, 0, 0, 0.3);
}

/* =========================
   LANGUAGE CHIP
   ========================= */

.bhs-resource-langs {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.bhs-resource-lang-chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 3px 10px;
    border: 1px solid rgba(0, 0, 0, 0.15);
    border-radius: 999px;
    font-size: 11px;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    font-weight: 600;
    color: var(--bhs-dark);
    background: #fff;
}

.bhs-resource-lang-chip i {
    font-size: 10px;
    color: var(--bhs-cyan);
}

/* =========================
   FILE LIST
   ========================= */

.bhs-resource-files {
    margin-top: 1rem;
}

.bhs-resource-file + .bhs-resource-file {
    border-top: 1px solid rgba(0, 0, 0, 0.08);
}

.bhs-resource-file a {
    color: var(--bhs-dark);
    text-decoration: none;
    transition: color 0.2s ease, padding-left 0.2s ease;
}

.bhs-resource-file a:hover {
    color: var(--bhs-cyan);
}

.bhs-resource-file a i:first-child {
    width: 24px;
    flex-shrink: 0;
}

.bhs-resource-chevron {
    font-size: 11px;
    opacity: 0;
    transform: translateX(-6px);
    transition: opacity 0.2s ease, transform 0.2s ease;
    color: var(--bhs-gold);
}

.bhs-resource-file a:hover .bhs-resource-chevron {
    opacity: 1;
    transform: translateX(0);
}
