/**
 * HSM Tag Archive Styles
 * Tag-specific CSS: centered hero with icon, related tags pills.
 * Requires archive-shared.css to be loaded first.
 *
 * @package HelloBizChild
 * @since   1.1.0
 */

/* =============================================================================
   TAG HERO (centered layout with tag icon)
   ============================================================================= */

.hsm-tag-hero {
    position: relative;
    padding: 70px 50px 50px;
    text-align: center;
    font-family: var(--hsm-body);
    overflow: hidden;
    animation: hsmFadeUp 0.6s var(--hsm-ease) both;
}

.hsm-tag-hero::before {
    content: '';
    position: absolute;
    top: -30%;
    left: 50%;
    transform: translateX(-50%);
    width: 80%;
    height: 160%;
    background: radial-gradient(ellipse, var(--hsm-blue-pale) 0%, transparent 70%);
    pointer-events: none;
    z-index: 0;
}

.hsm-tag-hero-content {
    position: relative;
    z-index: 1;
    max-width: 700px;
    margin: 0 auto;
}

.hsm-tag-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 24px;
    background: var(--hsm-blue);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 24px var(--hsm-blue-glow);
}

.hsm-tag-icon svg {
    width: 32px;
    height: 32px;
    color: var(--hsm-white);
}

.hsm-tag-title {
    font-family: var(--hsm-display);
    font-size: clamp(36px, 6vw, 56px);
    font-weight: 500;
    line-height: 1.15;
    letter-spacing: -0.02em;
    color: var(--hsm-ink);
    margin: 0 0 16px;
}

.hsm-tag-title em {
    font-style: italic;
    color: var(--hsm-blue);
}

.hsm-tag-desc {
    font-size: 18px;
    line-height: 1.7;
    color: var(--hsm-ink-light);
    margin: 0 0 28px;
}

.hsm-tag-stats {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    background: var(--hsm-white);
    border: 1.5px solid var(--hsm-line);
    border-radius: 50px;
    font-size: 15px;
    color: var(--hsm-ink-light);
}

.hsm-tag-stats svg {
    width: 18px;
    height: 18px;
    color: var(--hsm-blue);
}

.hsm-tag-stats strong {
    font-weight: 600;
    color: var(--hsm-ink);
}

@media (max-width: 768px) {
    .hsm-tag-hero { padding: 50px 24px 40px; }
    .hsm-tag-icon { width: 56px; height: 56px; border-radius: 16px; }
    .hsm-tag-icon svg { width: 28px; height: 28px; }
}

/* =============================================================================
   RELATED TAGS (pill-style, centered)
   ============================================================================= */

.hsm-related-tags {
    padding: 0 50px 40px;
    font-family: var(--hsm-body);
    animation: hsmFadeUp 0.6s var(--hsm-ease) 0.1s both;
}

.hsm-related-tags-label {
    text-align: center;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--hsm-ink-muted);
    margin-bottom: 16px;
}

.hsm-related-tags-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
}

@media (max-width: 768px) {
    .hsm-related-tags { padding: 0 16px 30px; }
}
