/* =========================
   Blog Tag Section - Cashback Style (活力橙)
   ========================= */

.blog-tag-section {
    margin: 2.5rem 0 3rem;
    z-index: 20;
}

.blog-tag-section__inner {
    background: #fff8f0; /* 浅橙色背景 */
    border: 1px solid #ffe3c2;
    border-radius: 16px;
    padding: 18px 20px;
    box-shadow:
        0 6px 16px rgba(255, 132, 0, 0.15),
        0 2px 6px rgba(255, 132, 0, 0.08);
}

.sticky-tags {
    position: -webkit-sticky;
    position: sticky;
    top: 1rem;
    background: transparent;
    z-index: 10;
}

.blog-tag-section__title {
    margin: 0 0 10px;
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #ff6600;
}

.blog-tag-scroll {
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding-bottom: 2px;
}
.blog-tag-scroll::-webkit-scrollbar { display: none; }

.blog-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    padding: 0;
    margin: 0;
    list-style: none;
}

.blog-tags--scroll {
    flex-wrap: nowrap;
    width: max-content;
}

.blog-tags__pill {
    display: inline-flex;
    align-items: center;
    padding: 8px 18px;
    font-size: 0.75rem;
    font-weight: 500;
    border-radius: 999px;
    background: #fff3e6;
    border: 1px solid #ffb380;
    color: #d35400;
    text-decoration: none;
    white-space: nowrap;
    transition:
        transform 0.15s ease,
        box-shadow 0.15s ease,
        background 0.15s ease,
        color 0.15s ease;
}

.blog-tags__pill:hover {
    background: #ff6600;
    color: #ffffff;
    border-color: #ff6600;
    transform: translateY(-1px);
    box-shadow: 0 6px 14px rgba(255, 102, 0, 0.25);
}

.blog-tags__pill--selected {
    background: linear-gradient(135deg, #ff6600, #ff9933);
    color: #ffffff;
    border-color: transparent;
    font-weight: 700;
    box-shadow: 0 6px 18px rgba(255, 102, 0, 0.35);
    cursor: default;
}

/* Desktop: wrap tags */
@media (min-width: 768px) {
    .blog-tag-scroll { overflow-x: visible; }
    .blog-tags--scroll { flex-wrap: wrap; width: auto; }
}


/* ========= Sticky Tag Bar ========= */
.sticky-tags {
    position: sticky;
    top: 64px;
    z-index: 9;
    background: #fff;
    border-bottom: 1px solid #eee;
    padding: 12px 0;
}

.blog-tag-scroll {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.blog-tags--scroll {
    display: flex;
    gap: 8px;
    white-space: nowrap;
    padding-bottom: 4px;
}

.blog-tags__pill {
    padding: 6px 14px;
    border-radius: 999px;
    background: #f4f4f4;
    font-size: 14px;
    text-decoration: none;
    color: #333;
}

.blog-tags__pill--selected {
    background: #111;
    color: #fff;
    font-weight: 600;
}