/* ==========================================================================
   DNB Events — Landing Page Styles
   ========================================================================== */

/* Section wrapper */
.dnb-events-section {
	background-color: #1e1e1e;
	background-image:
		url('../images/events-worldmap.png'),
		url('../images/events-bg-gradient.png');
	background-repeat: no-repeat, no-repeat;
	background-size: auto 698px, 100% 100%;
	background-position: center 80px, center top;
	background-attachment: local, local;
	padding: 60px 40px;
	position: relative;
	overflow: hidden;
}

.dnb-events-inner {
	position: relative;
	z-index: 1;
	max-width: 1200px;
	margin: 0 auto;
}

/* Heading — matches Figma: Roboto Condensed Regular, 36px, #ffff02 */
.dnb-events-heading {
    font-family: 'Roboto Condensed', sans-serif !important;
    font-weight: 100;
    font-size: 36px;
    color: #ffff02;
    margin: 0 0 1em 0;
    letter-spacing: -0.9px;
    text-transform: none;
    padding: 0 0 1em 0;
    border: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    background: none;
    line-height: 1.2;
}

/* Filter tabs row */
.dnb-events-filter-tabs {
	display: flex;
	flex-wrap: wrap;
	gap: 4px;
	margin-bottom: 24px;
	padding-bottom: 0;
}

.dnb-events-tab {
	font-family: 'Roboto Condensed', sans-serif;
	font-weight: 400;
	font-size: 16px;
	color: #ffffff;
	background: transparent;
	border: none;
	border-radius: 2px;
	padding: 4px 14px;
	cursor: pointer;
	letter-spacing: -0.8px;
	line-height: 16px;
	transition: background 0.15s ease, color 0.15s ease;
}

.dnb-events-tab:hover {
	background: rgba(255, 255, 2, 0.12);
}

.dnb-events-tab.active {
	background-color: #ffff02;
	color: #1c1c1c;
}

/* Events list container */
.dnb-events-list {
	position: relative;
}

/* Single event row — full width, dark opaque bg, flex layout */
.dnb-event-row {
	display: flex;
	align-items: stretch;
	gap: 0;
	background-color: rgba(0, 0, 0, 0.75);
	margin-bottom: 20px;
	box-sizing: border-box;
	width: 100%;
}

/* Date column — left, centered, with right border separator */
.dnb-event-date {
	flex-shrink: 0;
	width: 120px;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	padding: 20px 12px;
	border-right: 1px solid rgba(255, 255, 255, 0.2);
}

.dnb-event-month {
	display: block;
	font-family: 'Roboto Condensed', sans-serif;
	font-weight: 700;
	font-size: 36px;
	line-height: 1;
	color: #ffff02;
	letter-spacing: -1.8px;
	text-transform: uppercase;
}

.dnb-event-day {
	display: block;
	font-family: 'Roboto Condensed', sans-serif;
	font-weight: 700;
	font-size: 36px;
	line-height: 1;
	color: #ffffff;
	letter-spacing: -1.8px;
}

/* Thumbnail — portrait, fixed width */
.dnb-event-thumb {
	flex-shrink: 0;
	width: 200px;
	overflow: hidden;
	background: rgba(255, 255, 255, 0.05);
}

.dnb-event-thumb img,
.dnb-event-thumb .dnb-event-thumb-img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

/* Info block — title, venue, description, ticket */
.dnb-event-info {
	flex: 1;
	display: flex;
	flex-direction: column;
	gap: 6px;
	padding: 16px 20px;
	position: relative;
}

.dnb-event-title {
	font-family: 'Roboto Condensed', sans-serif;
	font-weight: 700;
	font-size: 18px;
	color: #ffff02;
	margin: 0;
	letter-spacing: -0.9px;
	line-height: 1.2;
}

.dnb-event-venue {
	font-family: 'Roboto Condensed', sans-serif;
	font-weight: 700;
	font-size: 14px;
	color: #ffffff;
	margin: 0;
	letter-spacing: -0.7px;
}

.dnb-event-time {
	color: #ffffff;
}

.dnb-event-description {
	font-family: 'Roboto Condensed', sans-serif;
	font-size: 13px;
	color: rgba(255, 255, 255, 0.85);
	margin: 4px 0 0;
	line-height: 1.5;
}

.dnb-event-description p {
	margin: 0 0 6px;
}

.dnb-event-description p:last-child {
	margin-bottom: 0;
}

.dnb-event-ticket {
	font-family: 'Roboto Condensed', sans-serif;
	font-weight: 700;
	font-size: 14px;
	color: #fffe02;
	text-decoration: underline;
	position: absolute;
	bottom: 16px;
	right: 20px;
	letter-spacing: -0.7px;
	transition: opacity 0.15s ease;
}

.dnb-event-ticket:hover {
	opacity: 0.8;
}

/* Spinner */
.dnb-events-spinner {
	display: none;
	text-align: center;
	padding: 20px;
	color: #ffffff;
	font-size: 24px;
	letter-spacing: 4px;
}

.dnb-events-spinner.active {
	display: block;
}

/* Sentinel */
#dnb-events-sentinel {
	height: 1px;
	visibility: hidden;
}

/* ==========================================================================
   Responsive
   ========================================================================== */

@media (max-width: 768px) {
	.dnb-events-section {
		padding: 40px 20px;
	}

	.dnb-event-thumb {
		display: none;
	}

	.dnb-event-date {
		width: 80px;
	}

	.dnb-event-month,
	.dnb-event-day {
		font-size: 28px;
	}
}

/* ==========================================================================
   EDM Train Event Rows
   ========================================================================== */

.dnb-events-subtitle {
	font-family: 'Roboto Condensed', sans-serif;
	font-weight: 400;
	font-size: 14px;
	color: rgba(255, 255, 255, 0.5);
	margin: -8px 0 24px;
	letter-spacing: -0.3px;
}

/* EDM Train event row modifier */
.dnb-event-row--edmtrain {
	border-left: 3px solid #ffff02;
}

.dnb-event-row--edmtrain .dnb-event-location {
	font-weight: 400;
	color: rgba(255, 255, 255, 0.7);
}

.dnb-event-row--edmtrain .dnb-event-artists {
	font-family: 'Roboto Condensed', sans-serif;
	font-size: 13px;
	color: rgba(255, 255, 255, 0.7);
	margin: 2px 0 0;
	letter-spacing: -0.3px;
}

.dnb-event-row--edmtrain .dnb-event-ages {
	font-family: 'Roboto Condensed', sans-serif;
	font-size: 12px;
	color: rgba(255, 255, 255, 0.4);
	background: rgba(255, 255, 255, 0.08);
	padding: 2px 8px;
	border-radius: 2px;
	display: inline-block;
	margin-top: 4px;
}

/* Error / empty states */
.dnb-edmtrain-error,
.dnb-edmtrain-empty {
	font-family: 'Roboto Condensed', sans-serif;
	font-size: 14px;
	color: rgba(255, 255, 255, 0.6);
	text-align: center;
	padding: 40px 20px;
}
