.rdev-transit-wrapper {
	position: relative;
}

/* Filtros de Tipo de Influência */
.rdev-transit-filters {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-bottom: 20px;
}

.rdev-transit-filter-btn {
	appearance: none;
	background-color: #f3f4f6;
	border: none;
	border-radius: 20px;
	color: #374151;
	cursor: pointer;
	font-size: 13px;
	font-weight: 600;
	line-height: 1;
	padding: 8px 16px;
	transition: background-color .2s ease, color .2s ease;
	white-space: nowrap;
}

.rdev-transit-filter-btn:hover {
	background-color: #e5e7eb;
}

.rdev-transit-filter-btn.is-active {
	background-color: #111827;
	color: #ffffff;
}

/* Cabeçalho */
.rdev-transit-header {
	align-items: baseline;
	display: flex;
	flex-wrap: wrap;
	gap: 8px 16px;
	justify-content: space-between;
	margin-bottom: 20px;
}

.rdev-transit-header-title {
	font-size: 20px;
	font-weight: 700;
	line-height: 1.3;
	margin: 0;
}

.rdev-transit-header-subtitle {
	color: #6b7280;
	font-size: 13px;
	font-weight: 500;
}

/* Timeline */
.rdev-transit-feed {
	position: relative;
	padding-left: 48px;
}

.rdev-transit-timeline-line {
	background-color: #d1d5db;
	bottom: 0;
	left: 15px;
	position: absolute;
	top: 0;
	width: 2px;
}

.rdev-transit-item {
	align-items: flex-start;
	display: flex;
	margin-bottom: 16px;
}

.rdev-transit-item:last-child {
	margin-bottom: 0;
}

.rdev-transit-timeline-dot {
	align-items: center;
	background-color: #fff;
	border: 1px solid var(--border) !important;
	border-radius: 50%;
	display: flex;
	flex-shrink: 0;
	font-size: 16px;
	height: 32px;
	justify-content: center;
	left: 0;
	position: absolute;
	width: 32px;
	z-index: 1;
}

.rdev-transit-dot-symbol {
	font-size: 14px;
	line-height: 1;
	color: var(--primary);
}

.rdev-transit-box {
	background-color: #f9fafb;
	border: 1px solid #e5e7eb;
	border-radius: 8px;
	flex: 1;
	padding: 16px;
}

.rdev-transit-line1 {
	align-items: center;
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
	margin-bottom: 10px;
}

.rdev-transit-tag.rdev-transit-tag-phase {
	border-radius: 4px;
	font-size: 12px;
	font-weight: 600;
	line-height: 1;
	padding: 4px 8px;
	white-space: nowrap;
}

.rdev-transit-tag-phase {
	background-color: #e5e7eb;
	color: #374151;
}

.rdev-transit-tag-type {
	background-color: #8b5cf6;
	color: #ffffff;
}

.rdev-transit-tag-intensity {
	background-color: #10b981;
	color: #ffffff;
}

.rdev-transit-title {
	color: #111827;
	font-size: 16px;
	font-weight: 700;
	line-height: 1.3;
	margin-bottom: 6px;
}

.rdev-transit-summary {
	color: #4b5563;
	font-size: 14px;
	line-height: 1.5;
	margin-bottom: 10px;
}

.rdev-transit-summary p {
	margin: 0;
}

.rdev-transit-summary p + p {
	margin-top: 8px;
}

.rdev-transit-meta {
	align-items: center;
	color: #6b7280;
	display: flex;
	flex-wrap: wrap;
	font-size: 13px;
	gap: 6px;
}

.rdev-transit-meta-aspect {
	color: var(--e-global-color-primary, #6b21a8);
	font-weight: 600;
}

.rdev-transit-meta-separator {
	color: #9ca3af;
}

.rdev-transit-meta-link {
	color: var(--e-global-color-primary, #6b21a8);
	font-weight: 600;
	text-decoration: underline;
}

.rdev-transit-meta-link:hover {
	text-decoration: none;
}

.rdev-transit-empty {
	color: #6b7280;
	font-size: 14px;
	padding: 24px;
	text-align: center;
}

@media (max-width: 767px) {
	.rdev-transit-feed {
		padding-left: 40px;
	}

	.rdev-transit-timeline-line {
		left: 11px;
	}

	.rdev-transit-timeline-dot {
		height: 24px;
		width: 24px;
	}

	.rdev-transit-dot-symbol {
		font-size: 11px;
	}

	.rdev-transit-box {
		padding: 12px;
	}

	.rdev-transit-header {
		flex-direction: column;
		gap: 4px;
	}

	.rdev-transit-header-title {
		font-size: 18px;
	}
}
