/* ==========================================================================
   SEO Landing Pages & Internal Linking Architecture Styles
   ========================================================================== */

/* --- Semantic Breadcrumbs Navigation --- */

.agency-breadcrumbs {
    margin-bottom: 24px;
    padding: 10px 18px;
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 9999px;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.03);
    display: inline-flex;
    align-items: center;
    max-width: 100%;
    overflow-x: auto;
    white-space: nowrap;
}

.agency-breadcrumb-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
}

.agency-breadcrumb-item {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #6b7280;
}

.agency-breadcrumb-link {
    color: #6b7280;
    text-decoration: none;
    transition: color 0.15s ease;
}

.agency-breadcrumb-link:hover {
    color: var(--agency-primary, #eb3b8f);
    text-decoration: underline;
}

.agency-breadcrumb-separator {
    color: #9ca3af;
    font-size: 12px;
    user-select: none;
}

.agency-breadcrumb-current {
    color: #111827;
    font-weight: 600;
}

/* --- Taxonomy Landing Page Hero Banner --- */

.agency-tax-hero {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 16px;
    padding: 36px 40px;
    margin-bottom: 36px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
    position: relative;
    overflow: hidden;
}

.agency-tax-hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 320px;
    height: 320px;
    background: radial-gradient(circle, rgba(235, 59, 143, 0.06) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.agency-tax-hero-top {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
    flex-wrap: wrap;
}

.agency-tax-type-badge {
    display: inline-block;
    padding: 3px 10px;
    background: #fdf2f8;
    border: 1px solid #fbcfe8;
    color: var(--agency-primary, #eb3b8f);
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    border-radius: 9999px;
}

.agency-tax-count-badge {
    display: inline-block;
    padding: 3px 10px;
    background: #f3f4f6;
    border: 1px solid #e5e7eb;
    color: #4b5563;
    font-size: 11px;
    font-weight: 600;
    border-radius: 9999px;
}

.agency-tax-title {
    font-size: 2.2rem;
    font-weight: 800;
    color: #111827;
    margin: 0 0 12px 0;
    letter-spacing: -0.02em;
    line-height: 1.2;
}

.agency-tax-desc p {
    margin: 0;
    color: #4b5563;
    font-size: 14.5px;
    line-height: 1.6;
    max-width: 820px;
}

/* --- Contextual Cross-Linking Matrices --- */

.agency-crosslink-matrix {
    margin-top: 50px;
    padding-top: 40px;
    border-top: 1px solid #e5e7eb;
}

.agency-crosslink-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
}

.agency-crosslink-card {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 22px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.agency-crosslink-card:hover {
    border-color: #d1d5db;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
}

.agency-crosslink-heading {
    font-size: 13px;
    font-weight: 700;
    color: #111827;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    margin: 0 0 14px 0;
}

.agency-crosslink-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.agency-crosslink-chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #f9fafb;
    border: 1px solid #e5e7eb;
    padding: 5px 12px;
    border-radius: 9999px;
    color: #374151;
    font-size: 12.5px;
    text-decoration: none;
    transition: all 0.15s ease;
}

.agency-crosslink-chip:hover {
    background: var(--agency-primary, #eb3b8f);
    border-color: var(--agency-primary, #eb3b8f);
    color: #ffffff;
    font-weight: 600;
}

.agency-crosslink-count {
    font-size: 11px;
    color: #6b7280;
    background: #e5e7eb;
    padding: 1px 6px;
    border-radius: 9999px;
}

.agency-crosslink-chip:hover .agency-crosslink-count {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.25);
}

/* --- Thin-Content Safeguard Notice --- */

.agency-thin-content-banner {
    display: flex;
    gap: 16px;
    background: #fffbeb;
    border: 1px solid #fde68a;
    border-radius: 12px;
    padding: 24px;
    margin-bottom: 32px;
    align-items: flex-start;
}

.agency-thin-content-icon {
    font-size: 28px;
    color: #d97706;
    line-height: 1;
    flex-shrink: 0;
}

.agency-thin-content-body h4 {
    margin: 0 0 6px 0;
    color: #92400e;
    font-size: 1.1rem;
    font-weight: 700;
}

.agency-thin-content-body p {
    margin: 0 0 16px 0;
    color: #78350f;
    font-size: 13.5px;
    line-height: 1.5;
}

.agency-thin-content-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.agency-thin-content-actions .button {
    font-size: 13px;
    font-weight: 600;
    padding: 6px 14px;
    border-radius: 6px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
}

/* --- Contextual Profile Pills --- */

.agency-context-pill {
    display: inline-flex;
    align-items: center;
    padding: 4px 10px;
    background: #f3f4f6;
    border: 1px solid #e5e7eb;
    color: #374151;
    font-size: 12px;
    border-radius: 6px;
    text-decoration: none;
    transition: all 0.15s ease;
}

.agency-context-pill:hover {
    color: var(--agency-primary, #eb3b8f);
    border-color: var(--agency-primary, #eb3b8f);
    background: #fdf2f8;
}

@media (max-width: 768px) {
    .agency-tax-hero {
        padding: 24px 20px;
    }
    .agency-tax-title {
        font-size: 1.7rem;
    }
}

