/**
 * AddaInfluencer — Taxonomy Archive CSS
 * Class names match taxonomy-influencer_category.php exactly.
 */

/* =====================================================================
   TAXONOMY ARCHIVE HERO
   ===================================================================== */
.tax-archive-hero {
    background: linear-gradient(135deg, #7C3AED 0%, #EC4899 100%);
    padding: 52px 0 60px;
    position: relative;
    overflow: hidden;
}
.tax-archive-hero::before {
    content: '';
    position: absolute;
    top: -60%; left: -15%;
    width: 55%; height: 220%;
    background: rgba(255,255,255,.06);
    border-radius: 50%;
    pointer-events: none;
}
.tax-archive-hero::after {
    content: '';
    position: absolute;
    bottom: -60%; right: -10%;
    width: 45%; height: 200%;
    background: rgba(255,255,255,.04);
    border-radius: 50%;
    pointer-events: none;
}
.tax-archive-hero .container { position: relative; z-index: 1; }

/* Breadcrumb inside hero */
.tax-archive-hero .single-post-breadcrumb {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    color: rgba(255,255,255,.75);
    margin-bottom: 20px;
    flex-wrap: wrap;
}
.tax-archive-hero .single-post-breadcrumb a {
    color: rgba(255,255,255,.8);
    text-decoration: none;
}
.tax-archive-hero .single-post-breadcrumb a:hover { color: #fff; }
.tax-archive-hero .single-post-breadcrumb span { opacity: .55; }

/* Inner layout: text left + stats right */
.tax-archive-hero__inner {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 32px;
    align-items: center;
}

/* Left text block */
.tax-archive-hero__text { }
.tax-archive-hero__icon {
    display: block;
    font-size: 44px;
    margin-bottom: 10px;
    line-height: 1;
}
.tax-archive-hero__title {
    font-family: 'Poppins', sans-serif;
    font-size: clamp(24px, 4vw, 42px);
    font-weight: 800;
    color: #fff;
    line-height: 1.15;
    margin-bottom: 10px;
}
.tax-archive-hero__sub {
    font-size: clamp(13px, 1.8vw, 16px);
    color: rgba(255,255,255,.85);
    line-height: 1.65;
    margin-bottom: 6px;
    max-width: 560px;
}
.tax-archive-hero__desc {
    font-size: 14px;
    color: rgba(255,255,255,.75);
    margin-bottom: 16px;
}

/* Pills row */
.tax-archive-hero__pills {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 16px;
}
.tax-hero-pill {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    background: rgba(255,255,255,.18);
    border: 1px solid rgba(255,255,255,.3);
    border-radius: 50px;
    padding: 6px 14px;
    font-size: 12px;
    font-weight: 600;
    color: #fff;
    backdrop-filter: blur(6px);
    white-space: nowrap;
}

/* Right stats block */
.tax-archive-hero__stats {
    display: flex;
    flex-direction: column;
    gap: 10px;
    min-width: 170px;
}
.tax-hero-stat-card {
    background: rgba(255,255,255,.18);
    border: 1px solid rgba(255,255,255,.25);
    border-radius: 12px;
    padding: 14px 18px;
    backdrop-filter: blur(8px);
    text-align: center;
    color: #fff;
}
.tax-hero-stat-num {
    font-family: 'Poppins', sans-serif;
    font-size: 22px;
    font-weight: 800;
    line-height: 1;
    margin-bottom: 3px;
}
.tax-hero-stat-label {
    font-size: 11px;
    opacity: .8;
    font-weight: 500;
}

/* Hero search bar */
.tax-archive-hero__search {
    margin-top: 20px;
    max-width: 560px;
}
.tax-hero-search-bar {
    display: flex;
    align-items: center;
    background: rgba(255,255,255,.95);
    border-radius: 50px;
    padding: 5px 5px 5px 16px;
    box-shadow: 0 4px 24px rgba(0,0,0,.18);
    gap: 8px;
}
.tax-hero-search-icon { font-size: 16px; flex-shrink: 0; }
.tax-hero-search-input {
    flex: 1;
    border: none;
    outline: none;
    font-size: 14px;
    background: transparent;
    color: #1F2937;
    font-family: 'Inter', sans-serif;
    min-width: 0;
    padding: 4px 0;
}
.tax-hero-search-input::placeholder { color: #9CA3AF; }
.tax-hero-search-btn {
    background: linear-gradient(135deg, #7C3AED, #EC4899);
    color: #fff;
    border: none;
    border-radius: 50px;
    padding: 10px 22px;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    white-space: nowrap;
    flex-shrink: 0;
    font-family: 'Inter', sans-serif;
    transition: opacity .15s ease;
}
.tax-hero-search-btn:hover { opacity: .88; }

/* =====================================================================
   CROSS-LINK BAR
   ===================================================================== */
.tax-crosslink-bar {
    background: #fff;
    border-bottom: 1px solid #E5E7EB;
    padding: 13px 0;
    position: sticky;
    top: 0;
    z-index: 40;
    box-shadow: 0 1px 4px rgba(0,0,0,.04);
}
.tax-crosslink-inner {
    display: flex;
    align-items: center;
    gap: 12px;
    overflow-x: auto;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
}
.tax-crosslink-inner::-webkit-scrollbar { display: none; }
.tax-crosslink-label {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .07em;
    color: #9CA3AF;
    white-space: nowrap;
    flex-shrink: 0;
}
.tax-crosslink-pills {
    display: flex;
    gap: 6px;
    flex-wrap: nowrap;
}
.tax-crosslink-pill {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 5px 12px;
    border-radius: 50px;
    font-size: 12px;
    font-weight: 600;
    text-decoration: none;
    color: #6B7280;
    background: #F9FAFB;
    border: 1px solid #E5E7EB;
    white-space: nowrap;
    transition: all .15s ease;
    flex-shrink: 0;
}
.tax-crosslink-pill:hover {
    background: #EDE9FE;
    border-color: #7C3AED;
    color: #7C3AED;
}
.tax-crosslink-pill__count {
    background: #E5E7EB;
    color: #6B7280;
    font-size: 10px;
    font-weight: 700;
    padding: 1px 6px;
    border-radius: 20px;
    margin-left: 2px;
}

/* =====================================================================
   "MORE CATEGORIES / CITIES" SECTION
   ===================================================================== */
.tax-more-section {
    padding: 52px 0 60px;
    background: #F9FAFB;
}
.tax-more-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
    margin-top: 24px;
}
.tax-more-card {
    background: #fff;
    border: 1px solid #E5E7EB;
    border-radius: 12px;
    padding: 16px 14px;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: all .18s ease;
    color: #1F2937;
}
.tax-more-card:hover {
    border-color: #7C3AED;
    box-shadow: 0 4px 14px rgba(124,58,237,.12);
    transform: translateY(-2px);
    color: #7C3AED;
}
.tax-more-card__icon {
    font-size: 24px;
    flex-shrink: 0;
    line-height: 1;
}
.tax-more-card__name {
    font-family: 'Poppins', sans-serif;
    font-size: 13px;
    font-weight: 700;
    line-height: 1.25;
}
.tax-more-card__count {
    font-size: 11px;
    color: #9CA3AF;
    margin-top: 2px;
    display: block;
}

/* =====================================================================
   FAQ SECTION
   ===================================================================== */
.tax-faq-section {
    padding: 60px 0;
    background: #fff;
    border-top: 1px solid #E5E7EB;
}
.tax-faq-grid {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 28px;
    max-width: 820px;
    margin-left: auto;
    margin-right: auto;
}
.tax-faq-item {
    background: #F9FAFB;
    border: 1px solid #E5E7EB;
    border-radius: 10px;
    overflow: hidden;
    transition: border-color .15s ease;
}
.tax-faq-item--open { border-color: #7C3AED; }
.tax-faq-question {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    padding: 16px 20px;
    background: none;
    border: none;
    cursor: pointer;
    text-align: left;
    font-size: 14px;
    font-weight: 600;
    color: #1F2937;
    transition: color .15s ease;
    font-family: inherit;
}
.tax-faq-item--open .tax-faq-question { color: #7C3AED; }
.tax-faq-chevron {
    flex-shrink: 0;
    transition: transform .25s ease;
    color: #9CA3AF;
}
.tax-faq-item--open .tax-faq-chevron {
    transform: rotate(180deg);
    color: #7C3AED;
}
.tax-faq-answer {
    padding: 0 20px 16px;
    font-size: 14px;
    color: #6B7280;
    line-height: 1.75;
}
.tax-faq-answer[hidden] { display: none; }

/* =====================================================================
   SOCIAL BUTTONS ON PROFILE PAGES
   ===================================================================== */
.btn-social {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 9px 16px;
    border-radius: 50px;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    transition: all .18s ease;
    border: 1.5px solid #E5E7EB;
    background: #fff;
    color: #1F2937;
    white-space: nowrap;
}
.btn-social svg { flex-shrink: 0; }
.btn-social:hover { box-shadow: 0 4px 14px rgba(0,0,0,.1); transform: translateY(-1px); }
.btn-social--instagram { border-color: #E1306C; color: #E1306C; }
.btn-social--instagram:hover { background: #E1306C; color: #fff; }
.btn-social--youtube { border-color: #FF0000; color: #FF0000; }
.btn-social--youtube:hover { background: #FF0000; color: #fff; }
.btn-social--twitter { border-color: #000; color: #000; }
.btn-social--twitter:hover { background: #000; color: #fff; }
.btn-social--linkedin { border-color: #0A66C2; color: #0A66C2; }
.btn-social--linkedin:hover { background: #0A66C2; color: #fff; }
.btn-social--tiktok { border-color: #010101; color: #010101; }
.btn-social--tiktok:hover { background: #010101; color: #fff; }

/* =====================================================================
   INFLUENCER SIZE BADGE + AVATAR VERIFIED
   ===================================================================== */
.influencer-size-badge {
    display: inline-block;
    background: #EDE9FE;
    color: #7C3AED;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .06em;
    padding: 3px 10px;
    border-radius: 20px;
    margin-bottom: 6px;
}
.profile-avatar-wrap { position: relative; display: inline-block; }
.profile-avatar-placeholder {
    width: 130px;
    height: 130px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #7C3AED, #EC4899);
}
.profile-avatar-verified {
    position: absolute;
    bottom: 6px; right: 6px;
    font-size: 18px;
    line-height: 1;
    background: #fff;
    border-radius: 50%;
    width: 24px; height: 24px;
    display: flex; align-items: center; justify-content: center;
    box-shadow: 0 2px 6px rgba(0,0,0,.15);
}

/* =====================================================================
   RESPONSIVE
   ===================================================================== */
@media (max-width: 1024px) {
    .tax-archive-hero__inner { grid-template-columns: 1fr; }
    .tax-archive-hero__stats {
        flex-direction: row;
        flex-wrap: wrap;
        min-width: 0;
    }
    .tax-hero-stat-card { flex: 1; min-width: 120px; }
    .tax-more-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 768px) {
    .tax-archive-hero { padding: 36px 0 44px; }
    .tax-archive-hero__title { font-size: 26px; }
    .tax-archive-hero__stats { flex-direction: row; }
    .tax-hero-stat-card { padding: 10px 14px; }
    .tax-hero-stat-num { font-size: 18px; }
    .tax-more-grid { grid-template-columns: repeat(2, 1fr); }
    .tax-faq-section { padding: 40px 0; }
    .tax-more-section { padding: 36px 0 44px; }
}

@media (max-width: 480px) {
    .tax-archive-hero__pills { gap: 6px; }
    .tax-hero-pill { font-size: 11px; padding: 5px 11px; }
    .tax-more-grid { grid-template-columns: 1fr 1fr; }
    .tax-archive-hero__stats { flex-direction: column; }
}
