/**
 * Numbered events list (V7) styles.
 *
 * @package Tobalt_Renginiai
 * @author  Tobalt — https://tobalt.lt
 */

.tr-elist {
	max-width: 900px;
	margin: 0 auto;
	display: flex;
	flex-direction: column;
	gap: 0;
}

.tr-elist__item {
	display: flex;
	align-items: center;
	gap: 20px;
	padding: 20px 0;
	border-bottom: 1px solid #e5e7eb;
}

.tr-elist__item:first-child {
	padding-top: 0;
}

.tr-elist__number {
	flex-shrink: 0;
	width: 40px;
	font-size: 24px;
	font-weight: 800;
	color: #d1d5db;
	text-align: center;
	line-height: 1;
}

.tr-elist__thumb {
	flex-shrink: 0;
	width: 80px;
	height: 80px;
	border-radius: 8px;
	overflow: hidden;
}

.tr-elist__img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.tr-elist__content {
	flex: 1;
	display: flex;
	flex-direction: column;
	gap: 6px;
	min-width: 0;
}

.tr-elist__title {
	margin: 0;
	font-size: 16px;
	font-weight: 700;
	line-height: 1.3;
	color: #111827;
}

.tr-elist__title a {
	color: inherit;
	text-decoration: none;
}

.tr-elist__title a:hover {
	color: #2563eb;
}

.tr-elist__meta {
	display: flex;
	gap: 14px;
	flex-wrap: wrap;
}

.tr-elist__meta .tr-meta-item {
	font-size: 13px;
}

.tr-elist__side {
	flex-shrink: 0;
}

.tr-elist__item--today {
	background: #eff6ff;
	border-radius: 8px;
	padding-left: 16px;
	padding-right: 16px;
	border-bottom-color: transparent;
}

@media ( max-width: 600px ) {
	.tr-elist__item {
		flex-wrap: wrap;
		gap: 12px;
	}

	.tr-elist__number {
		width: auto;
		font-size: 18px;
	}

	.tr-elist__thumb {
		width: 60px;
		height: 60px;
	}

	.tr-elist__side {
		width: 100%;
		padding-left: 60px;
	}
}
