/**
 * SoCap Explore Directory & Search Styles.
 *
 * Adapts the clean 2-column editorial directory structure to the SoCap
 * visual system (purple #7c3aed primary accent, #ff6600 verified warmth,
 * clean white cards, crisp system sans typography).
 *
 * @package SoCap
 */

/* ==========================================================================
 * 01. PAGE SHELL & HERO WASH
 * ========================================================================== */
.socap-explore-main-wrap,
.socap-search-page-wrap {
	background: #ffffff;
	min-height: 70vh;
}

.socap-explore-hero {
	position: relative;
	padding: clamp(32px, 4.5vw, 58px) 0 72px;
	background:
		radial-gradient(circle at 10% 4%, rgba(124, 58, 237, 0.065), transparent 28%),
		radial-gradient(circle at 92% 10%, rgba(255, 102, 0, 0.06), transparent 26%),
		linear-gradient(180deg, #faf8ff 0%, #ffffff 280px);
}

.socap-explore-layout {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(270px, 320px);
	gap: clamp(32px, 5vw, 68px);
	align-items: start;
}

.socap-explore-main {
	min-width: 0;
}

/* ==========================================================================
 * 02. INTRO HEADER
 * ========================================================================== */
.socap-explore-kicker {
	display: inline-flex;
	align-items: center;
	gap: 9px;
	font-size: 0.72rem;
	font-weight: 700;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--yc-orange, #7c3aed);
	margin: 0 0 10px 0;
}

.socap-explore-kicker::before {
	content: "";
	width: 20px;
	height: 1.5px;
	background: currentColor;
}

.socap-explore-title {
	font-size: clamp(2.25rem, 4.6vw, 3.35rem);
	font-weight: 850;
	line-height: 1.03;
	letter-spacing: -0.04em;
	color: var(--socapai-black, #09090b);
	margin: 0 0 12px 0;
}

.socap-explore-title span {
	color: var(--yc-orange, #7c3aed);
}

.socap-explore-deck {
	font-size: clamp(1rem, 1.4vw, 1.14rem);
	color: var(--socapai-muted, #71717a);
	max-width: 54ch;
	line-height: 1.55;
	margin: 0;
}

/* ==========================================================================
 * 03. UNIFIED SEARCH BAR & QUICK DISCOVERY ("TRY") CHIPS
 * ========================================================================== */
.socap-explore-searchbar {
	display: flex;
	align-items: center;
	gap: 10px;
	min-height: 56px;
	margin: 24px 0 0;
	padding: 6px 6px 6px 16px;
	background: #ffffff;
	border: 1.5px solid var(--socapai-border, #e4e4e7);
	border-radius: 14px;
	box-shadow: 0 4px 16px rgba(9, 9, 11, 0.04);
	transition: border-color 0.18s ease, box-shadow 0.18s ease;
}

.socap-explore-searchbar:focus-within {
	border-color: var(--yc-orange, #7c3aed);
	box-shadow: 0 0 0 3px var(--yc-orange-subtle, #f5f3ff), 0 6px 20px rgba(124, 58, 237, 0.08);
}

.socap-searchbar-icon {
	display: inline-flex;
	align-items: center;
	color: var(--socapai-muted, #71717a);
	flex: none;
}

.socap-searchbar-icon svg {
	width: 18px;
	height: 18px;
}

.socap-explore-searchbar input[type="search"] {
	flex: 1;
	min-width: 0;
	width: 100%;
	border: 0;
	background: transparent;
	font-size: 0.98rem;
	color: var(--socapai-black, #09090b);
	padding: 6px 0;
	outline: none;
}

.socap-explore-searchbar input[type="search"]::placeholder {
	color: #a1a1aa;
}

.socap-explore-searchbar select {
	max-width: 170px;
	width: 28%;
	border: 0;
	border-left: 1px solid var(--socapai-border, #e4e4e7);
	background: transparent;
	padding: 6px 10px 6px 12px;
	font-size: 0.86rem;
	font-weight: 600;
	color: var(--socapai-dark, #18181b);
	cursor: pointer;
	outline: none;
}

.socap-searchbar-submit {
	width: 42px;
	height: 42px;
	border-radius: 10px;
	border: 0;
	display: grid;
	place-items: center;
	background: var(--socapai-black, #09090b);
	color: #ffffff;
	cursor: pointer;
	flex: none;
	transition: background-color 0.18s ease, transform 0.15s ease;
}

.socap-searchbar-submit:hover {
	background: var(--yc-orange, #7c3aed);
}

.socap-searchbar-submit svg {
	width: 17px;
	height: 17px;
}

/* Quick Discovery Chips */
.socap-explore-try {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 7px;
	margin-top: 12px;
}

.socap-try-label {
	font-size: 0.78rem;
	font-weight: 650;
	color: var(--socapai-muted, #71717a);
	margin-right: 2px;
}

.socap-try-chip {
	display: inline-flex;
	align-items: center;
	gap: 5px;
	padding: 5px 11px;
	border-radius: 9999px;
	border: 1px solid var(--socapai-border, #e4e4e7);
	background: #ffffff;
	font-size: 0.78rem;
	font-weight: 600;
	color: var(--socapai-dark, #18181b);
	cursor: pointer;
	transition: all 0.15s ease;
}

.socap-try-chip:hover {
	border-color: var(--yc-orange-border, #ddd6fe);
	background: var(--yc-orange-subtle, #f5f3ff);
	color: var(--yc-orange, #7c3aed);
}

.socap-try-chip.is-active {
	border-color: var(--yc-orange, #7c3aed);
	background: var(--yc-orange, #7c3aed);
	color: #ffffff;
}

/* ==========================================================================
 * 04. MULTI-FACET FILTER TOOLBAR & POPOVERS
 * ========================================================================== */
.socap-filter-toolbar {
	display: flex;
	align-items: center;
	justify-content: space-between;
	flex-wrap: wrap;
	gap: 10px;
	margin-top: 22px;
	padding: 12px 0;
	border-top: 1px solid var(--socapai-border-subtle, #f0f0f2);
	border-bottom: 1px solid var(--socapai-border-subtle, #f0f0f2);
}

.socap-filter-pills {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 8px;
}

.socap-filter-dropdown {
	position: relative;
}

.socap-filter-pill-btn {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	min-height: 36px;
	padding: 6px 12px;
	border-radius: 9999px;
	border: 1px solid var(--socapai-border, #e4e4e7);
	background: #ffffff;
	font-size: 0.82rem;
	font-weight: 600;
	color: var(--socapai-dark, #18181b);
	cursor: pointer;
	transition: all 0.15s ease;
	white-space: nowrap;
}

.socap-filter-pill-btn svg {
	width: 14px;
	height: 14px;
	flex: none;
}

.socap-filter-pill-btn:hover {
	border-color: #c4b5fd;
	background: #faf8ff;
}

.socap-filter-dropdown.is-open .socap-filter-pill-btn,
.socap-filter-pill-btn.has-selection,
.socap-filter-pill-btn.is-active {
	border-color: var(--yc-orange, #7c3aed);
	background: var(--yc-orange-subtle, #f5f3ff);
	color: var(--yc-orange, #7c3aed);
}

.socap-verified-pill.is-active {
	border-color: #ff6600;
	background: #fff7ed;
	color: #c2410c;
}

.socap-pill-badge {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 18px;
	height: 18px;
	padding: 0 5px;
	border-radius: 9999px;
	background: var(--yc-orange, #7c3aed);
	color: #ffffff;
	font-size: 0.7rem;
	font-weight: 700;
	line-height: 1;
}

.socap-pill-caret {
	font-size: 0.68rem;
	opacity: 0.7;
}

.socap-filter-popover {
	position: absolute;
	top: calc(100% + 8px);
	left: 0;
	width: 280px;
	background: #ffffff;
	border: 1px solid var(--socapai-border, #e4e4e7);
	border-radius: 14px;
	box-shadow: 0 18px 44px rgba(9, 9, 11, 0.14);
	padding: 10px;
	z-index: 200;
}

.socap-filter-popover--compact {
	width: 220px;
}

.socap-popover-search {
	margin-bottom: 8px;
}

.socap-popover-input {
	width: 100%;
	padding: 8px 11px;
	border: 1px solid var(--socapai-border, #e4e4e7);
	border-radius: 9px;
	font-size: 0.84rem;
	color: var(--socapai-black, #09090b);
	background: var(--socapai-bg-subtle, #fafafa);
	outline: none;
}

.socap-popover-input:focus {
	border-color: var(--yc-orange, #7c3aed);
	background: #ffffff;
}

.socap-popover-list {
	max-height: 240px;
	overflow-y: auto;
	display: flex;
	flex-direction: column;
	gap: 2px;
}

.socap-popover-empty {
	font-size: 0.82rem;
	color: var(--socapai-muted, #71717a);
	padding: 10px 8px;
	text-align: center;
}

.socap-check-option {
	display: flex;
	align-items: center;
	gap: 9px;
	padding: 7px 9px;
	border-radius: 8px;
	cursor: pointer;
	font-size: 0.84rem;
	color: var(--socapai-dark, #18181b);
	transition: background-color 0.12s ease;
}

.socap-check-option:hover {
	background: var(--socapai-bg-subtle, #fafafa);
}

.socap-check-option input[type="checkbox"] {
	position: absolute;
	opacity: 0;
	pointer-events: none;
}

.socap-check-box {
	width: 16px;
	height: 16px;
	border-radius: 5px;
	border: 1.5px solid #d4d4d8;
	background: #ffffff;
	flex: none;
	display: inline-grid;
	place-items: center;
	transition: all 0.12s ease;
}

.socap-check-option input:checked + .socap-check-box {
	background: var(--yc-orange, #7c3aed);
	border-color: var(--yc-orange, #7c3aed);
}

.socap-check-option input:checked + .socap-check-box::after {
	content: "";
	width: 8px;
	height: 5px;
	border-left: 2px solid #ffffff;
	border-bottom: 2px solid #ffffff;
	transform: rotate(-45deg) translate(0.5px, -0.5px);
}

.socap-check-name {
	flex: 1;
	min-width: 0;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.socap-check-count {
	font-size: 0.74rem;
	font-weight: 600;
	color: var(--socapai-muted, #71717a);
	background: var(--socapai-light, #f4f4f5);
	padding: 1px 6px;
	border-radius: 9999px;
	font-variant-numeric: tabular-nums;
}

.socap-radio-list {
	display: flex;
	flex-direction: column;
	gap: 3px;
}

.socap-radio-option {
	display: flex;
	align-items: center;
	gap: 9px;
	padding: 8px 10px;
	border-radius: 8px;
	font-size: 0.84rem;
	font-weight: 500;
	color: var(--socapai-dark, #18181b);
	cursor: pointer;
}

.socap-radio-option:hover {
	background: var(--socapai-bg-subtle, #fafafa);
}

.socap-radio-option input[type="radio"] {
	accent-color: var(--yc-orange, #7c3aed);
}

.socap-location-choice {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 8px;
	width: 100%;
	text-align: left;
	padding: 7px 10px;
	border: 0;
	border-radius: 8px;
	background: transparent;
	font-size: 0.84rem;
	color: var(--socapai-dark, #18181b);
	cursor: pointer;
}

.socap-location-choice:hover {
	background: var(--socapai-bg-subtle, #fafafa);
}

.socap-location-choice.is-selected {
	background: var(--yc-orange-subtle, #f5f3ff);
	color: var(--yc-orange, #7c3aed);
	font-weight: 650;
}

/* Toolbar Right: Sort & View Switcher */
.socap-toolbar-right {
	display: flex;
	align-items: center;
	gap: 8px;
	margin-left: auto;
}

.socap-sort-select {
	min-height: 36px;
	padding: 5px 10px;
	border-radius: 9999px;
	border: 1px solid var(--socapai-border, #e4e4e7);
	background: #ffffff;
	font-size: 0.82rem;
	font-weight: 600;
	color: var(--socapai-dark, #18181b);
	cursor: pointer;
	outline: none;
}

.socap-view-toggle {
	display: inline-flex;
	align-items: center;
	border: 1px solid var(--socapai-border, #e4e4e7);
	border-radius: 9999px;
	padding: 2px;
	background: var(--socapai-bg-subtle, #fafafa);
}

.socap-view-btn {
	display: inline-grid;
	place-items: center;
	width: 30px;
	height: 30px;
	border: 0;
	border-radius: 9999px;
	background: transparent;
	color: var(--socapai-muted, #71717a);
	cursor: pointer;
	transition: all 0.15s ease;
}

.socap-view-btn.is-active {
	background: #ffffff;
	color: var(--socapai-black, #09090b);
	box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
}

/* ==========================================================================
 * 05. ACTIVE CHIPS & RESULTS COUNT
 * ========================================================================== */
.socap-results-bar {
	display: flex;
	align-items: center;
	justify-content: space-between;
	flex-wrap: wrap;
	gap: 10px;
	margin: 16px 0 10px;
}

.socap-results-count {
	font-size: 0.84rem;
	font-weight: 600;
	color: var(--socapai-muted, #71717a);
	font-variant-numeric: tabular-nums;
	margin: 0;
}

.socap-active-chips {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 6px;
}

.socap-active-chip {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 4px 10px;
	border-radius: 9999px;
	border: 1px solid var(--yc-orange-border, #ddd6fe);
	background: var(--yc-orange-subtle, #f5f3ff);
	color: var(--yc-orange, #7c3aed);
	font-size: 0.78rem;
	font-weight: 650;
	cursor: pointer;
	transition: background-color 0.15s ease;
}

.socap-active-chip:hover {
	background: #ede9fe;
}

.socap-clear-all-btn {
	background: transparent;
	border: 0;
	font-size: 0.78rem;
	font-weight: 650;
	color: var(--socapai-muted, #71717a);
	text-decoration: underline;
	text-underline-offset: 3px;
	cursor: pointer;
	padding: 4px 6px;
}

.socap-clear-all-btn:hover {
	color: var(--socapai-black, #09090b);
}

/* ==========================================================================
 * 06. DIRECTORY ROWS (LIST VIEW) & CARDS GRID VIEW
 * ========================================================================== */
.socap-directory-section {
	scroll-margin-top: 76px;
}

.socap-dir-colheads,
.socap-dir-row {
	display: grid;
	grid-template-columns: minmax(0, 1.12fr) minmax(0, 1.35fr) minmax(0, 0.75fr) auto;
	align-items: center;
	gap: 14px;
}

.socap-dir-colheads {
	padding: 9px 10px;
	border-top: 1px solid var(--socapai-dark, #18181b);
	border-bottom: 1px solid var(--socapai-border, #e4e4e7);
	font-size: 0.7rem;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--socapai-muted, #71717a);
}

.socap-dir-colheads span:last-child {
	text-align: right;
}

.socap-dir-results {
	transition: opacity 0.18s ease;
}

.socap-dir-results.is-loading {
	opacity: 0.55;
	pointer-events: none;
}

.socap-dir-results.is-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 16px;
	margin-top: 8px;
}

.socap-dir-row {
	padding: 13px 10px;
	border-bottom: 1px solid var(--socapai-border-subtle, #f0f0f2);
	text-decoration: none;
	color: inherit;
	transition: background-color 0.14s ease, border-color 0.14s ease;
	border-radius: 10px;
}

.socap-dir-row:hover,
.socap-dir-row:focus-visible {
	background: #faf8ff;
	outline: none;
}

.socap-dir-person {
	display: flex;
	align-items: center;
	gap: 12px;
	min-width: 0;
}

.socap-portrait--row {
	width: 42px;
	height: 42px;
	border-radius: 50%;
	border: 1.5px solid #ffffff;
	box-shadow: 0 1px 4px rgba(0, 0, 0, 0.08), 0 0 0 1px var(--socapai-border, #e4e4e7);
	font-size: 0.84rem;
	font-weight: 750;
}

.socap-dir-name-wrap {
	display: flex;
	align-items: center;
	gap: 6px;
	min-width: 0;
}

.socap-dir-name {
	font-size: 0.96rem;
	font-weight: 700;
	letter-spacing: -0.015em;
	color: var(--socapai-black, #09090b);
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.socap-dir-work {
	display: flex;
	flex-direction: column;
	gap: 2px;
	min-width: 0;
}

.socap-dir-headline {
	font-size: 0.87rem;
	color: var(--socapai-dark, #18181b);
	line-height: 1.35;
	display: -webkit-box;
	-webkit-line-clamp: 1;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.socap-dir-headline--muted {
	color: var(--socapai-muted, #71717a);
}

.socap-dir-location {
	display: inline-flex;
	align-items: center;
	gap: 4px;
	font-size: 0.77rem;
	color: var(--socapai-muted, #71717a);
}

.socap-dir-location svg {
	width: 12px;
	height: 12px;
	flex: none;
}

.socap-dir-focus {
	min-width: 0;
	display: flex;
	align-items: center;
	gap: 5px;
}

.socap-dir-pill {
	display: inline-block;
	max-width: 100%;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
	font-size: 0.76rem;
	font-weight: 600;
	color: var(--socapai-dark, #18181b);
	background: var(--socapai-light, #f4f4f5);
	padding: 3px 9px;
	border-radius: 9999px;
}

.socap-dir-pill-more {
	font-size: 0.72rem;
	font-weight: 700;
	color: var(--socapai-muted, #71717a);
	background: var(--socapai-bg-subtle, #fafafa);
	border: 1px solid var(--socapai-border, #e4e4e7);
	padding: 2px 6px;
	border-radius: 9999px;
	flex: none;
}

.socap-dir-dash {
	color: #a1a1aa;
	font-size: 0.85rem;
}

.socap-dir-connect {
	display: inline-flex;
	align-items: center;
	justify-content: flex-end;
	gap: 6px;
	white-space: nowrap;
}

.socap-dir-offer {
	font-size: 0.78rem;
	font-weight: 700;
	color: var(--yc-orange, #7c3aed);
	background: var(--yc-orange-subtle, #f5f3ff);
	border: 1px solid var(--yc-orange-border, #ddd6fe);
	padding: 4px 10px;
	border-radius: 9999px;
}

.socap-dir-arrow {
	font-size: 0.9rem;
	color: var(--socapai-muted, #71717a);
	transition: transform 0.15s ease, color 0.15s ease;
}

.socap-dir-row:hover .socap-dir-arrow {
	transform: translateX(3px);
	color: var(--yc-orange, #7c3aed);
}

/* Empty State */
.socap-dir-empty {
	grid-column: 1 / -1;
	text-align: center;
	padding: 48px 24px;
	border: 1px dashed var(--socapai-border, #e4e4e7);
	border-radius: 16px;
	background: var(--socapai-bg-subtle, #fafafa);
	margin: 12px 0;
}

.socap-dir-empty h3 {
	font-size: 1.2rem;
	font-weight: 750;
	color: var(--socapai-black, #09090b);
	margin: 0 0 6px;
}

.socap-dir-empty p {
	font-size: 0.92rem;
	color: var(--socapai-muted, #71717a);
	margin: 0 0 16px;
}

.socap-empty-reset-btn {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 9px 18px;
	border-radius: 9999px;
	border: 1px solid var(--socapai-black, #09090b);
	background: var(--socapai-black, #09090b);
	color: #ffffff;
	font-size: 0.85rem;
	font-weight: 650;
	text-decoration: none;
	cursor: pointer;
}

.socap-empty-reset-btn:hover {
	background: var(--yc-orange, #7c3aed);
	border-color: var(--yc-orange, #7c3aed);
	color: #ffffff;
}

/* Pager */
.socap-dir-pager {
	display: flex;
	align-items: center;
	justify-content: center;
	flex-wrap: wrap;
	gap: 12px;
	margin: 26px 0 6px;
	font-size: 0.85rem;
}

.socap-dir-pager a {
	padding: 7px 14px;
	border-radius: 9999px;
	border: 1px solid var(--socapai-border, #e4e4e7);
	color: var(--socapai-dark, #18181b);
	font-weight: 600;
	text-decoration: none;
	transition: all 0.15s ease;
}

.socap-dir-pager a:hover {
	border-color: var(--yc-orange, #7c3aed);
	color: var(--yc-orange, #7c3aed);
	background: var(--yc-orange-subtle, #f5f3ff);
}

.socap-dir-pager-status {
	color: var(--socapai-muted, #71717a);
	font-weight: 600;
	font-variant-numeric: tabular-nums;
	padding: 0 4px;
}

/* ==========================================================================
 * 07. RIGHT SIDEBAR ("IN FOCUS" SPOTLIGHT + TOPICS + CTA)
 * ========================================================================== */
.socap-explore-sidebar {
	display: flex;
	flex-direction: column;
	gap: 20px;
	position: sticky;
	top: 76px;
}

.socap-spotlight-card {
	border-top: 2px solid var(--socapai-black, #09090b);
	border-bottom: 1px solid var(--socapai-border, #e4e4e7);
	padding: 12px 0 18px;
}

.socap-spotlight-top {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 8px;
	margin-bottom: 12px;
}

.socap-spotlight-kicker {
	font-size: 0.7rem;
	font-weight: 750;
	letter-spacing: 0.09em;
	text-transform: uppercase;
	color: var(--yc-orange, #7c3aed);
}

.socap-spotlight-tag {
	font-size: 0.76rem;
	color: var(--socapai-muted, #71717a);
}

.socap-spotlight-media {
	display: grid;
	place-items: center;
	padding: 24px;
	background: linear-gradient(135deg, #f5f3ff 0%, #fff7ed 100%);
	border-radius: 14px;
	margin-bottom: 14px;
}

.socap-portrait--spotlight {
	width: 148px;
	height: 148px;
	border-radius: 50%;
	border: 3px solid #ffffff;
	box-shadow: 0 10px 26px rgba(124, 58, 237, 0.14);
	font-size: 2.2rem;
	font-weight: 800;
}

.socap-spotlight-name {
	display: flex;
	align-items: center;
	gap: 7px;
	font-size: 1.45rem;
	font-weight: 800;
	letter-spacing: -0.025em;
	line-height: 1.15;
	margin: 0 0 6px;
}

.socap-spotlight-name a {
	color: var(--socapai-black, #09090b);
	text-decoration: none;
}

.socap-spotlight-name a:hover {
	color: var(--yc-orange, #7c3aed);
}

.socap-spotlight-headline {
	font-size: 0.9rem;
	font-weight: 600;
	color: var(--socapai-dark, #18181b);
	margin: 0 0 8px;
}

.socap-spotlight-bio {
	font-size: 0.86rem;
	line-height: 1.5;
	color: var(--socapai-muted, #71717a);
	margin: 0 0 12px;
}

.socap-spotlight-meta {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 10px;
	font-size: 0.78rem;
	color: var(--socapai-muted, #71717a);
	margin-bottom: 14px;
}

.socap-spotlight-meta > span {
	display: inline-flex;
	align-items: center;
	gap: 4px;
}

.socap-spotlight-meta svg {
	width: 13px;
	height: 13px;
}

.socap-spotlight-price {
	font-weight: 700;
	color: var(--yc-orange, #7c3aed);
}

.socap-spotlight-actions {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 10px;
	flex-wrap: wrap;
}

.socap-spotlight-link {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	font-size: 0.86rem;
	font-weight: 700;
	color: var(--socapai-black, #09090b);
	text-decoration: none;
}

.socap-spotlight-link:hover {
	color: var(--yc-orange, #7c3aed);
}

.socap-spotlight-link svg {
	width: 15px;
	height: 15px;
}

.socap-spotlight-shuffle {
	display: inline-flex;
	align-items: center;
	gap: 5px;
	padding: 5px 10px;
	border-radius: 9999px;
	border: 1px solid var(--socapai-border, #e4e4e7);
	background: #ffffff;
	font-size: 0.76rem;
	font-weight: 600;
	color: var(--socapai-muted, #71717a);
	cursor: pointer;
	transition: all 0.15s ease;
}

.socap-spotlight-shuffle:hover {
	border-color: var(--yc-orange-border, #ddd6fe);
	color: var(--yc-orange, #7c3aed);
	background: var(--yc-orange-subtle, #f5f3ff);
}

.socap-spotlight-shuffle svg {
	width: 13px;
	height: 13px;
}

/* Sidebar Topics & Mini CTA */
.socap-sidebar-box {
	border: 1px solid var(--socapai-border, #e4e4e7);
	border-radius: 16px;
	padding: 18px;
	background: #ffffff;
}

.socap-sidebar-title {
	font-size: 0.78rem;
	font-weight: 750;
	text-transform: uppercase;
	letter-spacing: 0.08em;
	color: var(--socapai-muted, #71717a);
	margin: 0 0 12px;
}

.socap-topic-cloud {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
}

.socap-topic-tag {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 5px 10px;
	border-radius: 9999px;
	border: 1px solid var(--socapai-border, #e4e4e7);
	background: var(--socapai-bg-subtle, #fafafa);
	font-size: 0.78rem;
	font-weight: 600;
	color: var(--socapai-dark, #18181b);
	cursor: pointer;
	transition: all 0.14s ease;
}

.socap-topic-tag:hover,
.socap-topic-tag.is-active {
	border-color: var(--yc-orange, #7c3aed);
	background: var(--yc-orange-subtle, #f5f3ff);
	color: var(--yc-orange, #7c3aed);
}

.socap-topic-tag small {
	color: var(--socapai-muted, #71717a);
	font-weight: 600;
}

.socap-sidebar-cta {
	background: linear-gradient(135deg, #f6f3ff 0%, #fffaf6 100%);
	border-color: var(--yc-orange-border, #ddd6fe);
}

.socap-sidebar-cta-kicker {
	display: block;
	font-size: 0.7rem;
	font-weight: 750;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--yc-orange, #7c3aed);
	margin-bottom: 6px;
}

.socap-sidebar-cta h3 {
	font-size: 1.05rem;
	font-weight: 750;
	line-height: 1.3;
	color: var(--socapai-black, #09090b);
	margin: 0 0 7px;
}

.socap-sidebar-cta p {
	font-size: 0.84rem;
	line-height: 1.5;
	color: var(--socapai-muted, #71717a);
	margin: 0 0 14px;
}

.socap-sidebar-cta-btn {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	padding: 9px 16px;
	border-radius: 10px;
	background: var(--socapai-black, #09090b);
	color: #ffffff;
	font-size: 0.84rem;
	font-weight: 700;
	text-decoration: none;
	transition: background-color 0.15s ease;
}

.socap-sidebar-cta-btn:hover {
	background: var(--yc-orange, #7c3aed);
	color: #ffffff;
}

.socap-sidebar-cta-btn svg {
	width: 15px;
	height: 15px;
}

/* ==========================================================================
 * 08. SEARCH RESULTS PAGE (/search & ?s=)
 * ========================================================================== */
.socap-search-header {
	padding: clamp(28px, 4vw, 48px) 0 24px;
	border-bottom: 1px solid var(--socapai-border-subtle, #f0f0f2);
	background: linear-gradient(180deg, #faf8ff 0%, #ffffff 100%);
}

.socap-search-scope-bar {
	display: flex;
	align-items: center;
	justify-content: space-between;
	flex-wrap: wrap;
	gap: 12px;
	margin: 22px 0 18px;
}

.socap-scope-tabs {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 8px;
}

.socap-scope-tab {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 7px 14px;
	border-radius: 9999px;
	border: 1px solid var(--socapai-border, #e4e4e7);
	background: #ffffff;
	font-size: 0.84rem;
	font-weight: 600;
	color: var(--socapai-dark, #18181b);
	text-decoration: none;
	transition: all 0.15s ease;
}

.socap-scope-tab:hover {
	border-color: var(--yc-orange-border, #ddd6fe);
	color: var(--yc-orange, #7c3aed);
}

.socap-scope-tab[aria-current="true"] {
	background: var(--socapai-black, #09090b);
	border-color: var(--socapai-black, #09090b);
	color: #ffffff;
}

.socap-scope-tab span {
	opacity: 0.75;
	font-size: 0.78rem;
}

.socap-search-refine-link {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	font-size: 0.85rem;
	font-weight: 700;
	color: var(--yc-orange, #7c3aed);
	text-decoration: none;
}

.socap-search-refine-link:hover {
	text-decoration: underline;
	text-underline-offset: 3px;
}

.socap-search-section {
	margin: 24px 0 44px;
}

.socap-search-section-head {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: 12px;
	margin-bottom: 12px;
}

.socap-search-section-head h2 {
	font-size: 1.15rem;
	font-weight: 800;
	color: var(--socapai-black, #09090b);
	letter-spacing: -0.02em;
	margin: 0;
}

/* ==========================================================================
 * 09. RESPONSIVE BREAKPOINTS
 * ========================================================================== */
@media (max-width: 991px) {
	.socap-explore-layout {
		grid-template-columns: 1fr;
		gap: 36px;
	}

	.socap-explore-sidebar {
		position: static;
	}

	.socap-dir-colheads,
	.socap-dir-row {
		grid-template-columns: minmax(0, 1.1fr) minmax(0, 1.2fr) auto;
	}

	.socap-dir-colheads span:nth-child(3),
	.socap-dir-focus {
		display: none;
	}
}

@media (max-width: 680px) {
	.socap-explore-searchbar {
		padding: 5px 5px 5px 12px;
		gap: 6px;
	}

	.socap-explore-searchbar select {
		width: 34%;
		max-width: 122px;
		font-size: 0.78rem;
		padding: 4px 6px 4px 8px;
	}

	.socap-dir-colheads {
		display: none;
	}

	.socap-dir-row {
		grid-template-columns: minmax(0, 1fr) auto;
		grid-template-areas:
			"person connect"
			"work work";
		gap: 8px 10px;
		padding: 14px 6px;
	}

	.socap-dir-person {
		grid-area: person;
	}

	.socap-dir-work {
		grid-area: work;
		padding-left: 54px;
	}

	.socap-dir-connect {
		grid-area: connect;
	}

	.socap-dir-results.is-grid {
		grid-template-columns: 1fr;
	}

	.socap-filter-popover {
		position: fixed;
		left: 16px;
		right: 16px;
		top: auto;
		bottom: 16px;
		width: auto;
		max-height: 70vh;
		z-index: 1200;
	}
}

.socap-check-logo {
	width: 16px;
	height: 16px;
	border-radius: 4px;
	object-fit: cover;
	flex-shrink: 0;
	background: #ffffff;
	border: 1px solid rgba(15, 23, 42, 0.08);
}
