/* STEP 8-30: 메인 페이지 분야별 체험단 카테고리를 테두리 있는 칩 스타일로 개선합니다.
   기존 링크 기능은 유지하고, 아이콘 대신 간결한 라운드 버튼 형태로 보이게 합니다. */
.cp-home-category-links {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
    padding: 12px 0 4px;
}

.cp-home-category-links > a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    margin: 0;
    padding: 0 18px;
    border: 1px solid #e4e9f1;
    border-radius: 999px;
    background: #ffffff;
    box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
    color: #25324a;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.2;
    text-decoration: none;
    transition: border-color .18s ease, background-color .18s ease, color .18s ease, box-shadow .18s ease, transform .18s ease;
}

.cp-home-category-links > a:hover,
.cp-home-category-links > a:focus-visible {
    border-color: #ef5943;
    background: #fff5f3;
    color: #ef5943;
    box-shadow: 0 6px 16px rgba(239, 89, 67, 0.10);
    text-decoration: none;
    transform: translateY(-1px);
}

.cp-home-category-links > a:focus-visible {
    outline: 2px solid rgba(239, 89, 67, 0.28);
    outline-offset: 2px;
}

.cp-home-state {
    margin: 0;
}

.cp-home-business {
    display: inline-block;
    margin-left: 7px;
    color: #697386;
    font-size: 12px;
    font-weight: 500;
}

@media (max-width: 640px) {
    .cp-home-category-links {
        gap: 10px;
        padding-top: 8px;
    }

    .cp-home-category-links > a {
        min-height: 38px;
        padding: 0 14px;
        font-size: 13px;
    }
}
