/* ===== TOPIC FILTERS ===== */
.hwd-topic-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 30px 0 20px;
}

.hwd-topic-filters button {
    padding: 10px 16px;
    border-radius: 6px;
    border: 1px solid rgba(0,0,0,0.1);
    background: #ffffff;
    color: #222;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.25s ease;
}

.hwd-topic-filters button:hover {
    background: rgba(0,0,0,0.05);
}

.hwd-topic-filters button.active {
    background: var(--ast-global-color-0); /* Astra primary */
    color: #fff;
    border-color: var(--ast-global-color-0);
}


/* ===== GRID ===== */
.hwd-topics-wrapper {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 18px;
}


/* ===== CARD ===== */
.hwd-topic-card {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 18px;
    background: #ffffff;
    border-radius: 10px;
    text-decoration: none;
    color: inherit;
    border: 1px solid rgba(0,0,0,0.06);
    transition: all 0.3s ease;
}

.hwd-topic-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.08);
}


/* ===== ICON ===== */
.hwd-topic-icon {
    font-size: 16px;
    color: var(--ast-global-color-0);
}


/* ===== TITLE ===== */
.hwd-topic-title {
    font-size: 15px;
    font-weight: 500;
    line-height: 1.4;
}