/**
 * Custom styles for NRE pages (nre-en.html, nre-fr.html) and shared page chrome.
 * Depends on theme.css / modern-style.css for CSS variables.
 */

.nre-page {
	max-width: 900px;
	margin: 0 auto;
	padding: 2rem 1rem;
}
.nre-page h1 {
	font-size: 1.75rem;
	margin-bottom: 0.5rem;
}
.nre-page .subtitle {
	color: var(--text-light, #6b7280);
	margin-bottom: 2rem;
}

.nre-stats {
	display: flex;
	flex-wrap: wrap;
	gap: 1.5rem;
	margin-bottom: 2rem;
}
.nre-stat {
	background: var(--bg-white);
	border-radius: 12px;
	box-shadow: 0 2px 10px var(--shadow-color);
	padding: 1.5rem;
	min-width: 180px;
	transition: all 0.3s ease;
}
.nre-stat:hover {
	transform: translateY(-5px);
	box-shadow: 0 10px 30px var(--shadow-hover-color);
}
.nre-stat .value {
	font-size: 1.75rem;
	font-weight: 700;
}
.nre-stat .label {
	font-size: 0.875rem;
	color: var(--text-light, #6b7280);
}
.nre-stat.nre-missing .value {
	color: #dc2626;
}
.nre-stat.nre-days .value {
	color: #059669;
}

.nre-ref {
	margin-bottom: 2rem;
	padding: 2rem;
	background: var(--bg-white);
	border-radius: 12px;
	box-shadow: 0 2px 10px var(--shadow-color);
	transition: all 0.3s ease;
	color: var(--text-dark);
}
.nre-ref:hover {
	transform: translateY(-5px);
	box-shadow: 0 10px 30px var(--shadow-hover-color);
}
.nre-ref a {
	font-weight: 600;
	color: var(--primary-color);
}
.nre-reflection {
	margin-top: 1.5rem;
}
.nre-reflection .reflection-heading {
	font-size: 1.1rem;
	margin: 0 0 0.75rem 0;
}
.nre-reflection p {
	margin: 0 0 0.5rem 0;
}
.nre-reflection p:last-child {
	margin-bottom: 0;
}

/* NRE timeline uses modern-style.css .timeline, .timeline-item, .timeline-marker, .timeline-content */
.timeline-year-title {
	font-size: 1.1rem;
	margin-bottom: 0.35rem;
}
.timeline-year-location {
	font-weight: normal;
	color: var(--text-light, #6b7280);
	font-size: 0.9rem;
}
.timeline-year-items {
	display: flex;
	flex-direction: column;
	gap: 0.5rem;
	margin-top: 0.75rem;
}
.timeline-year-row {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem 0.75rem;
}
.timeline-weekend-card {
	display: inline-flex;
	align-items: center;
	gap: 0.35rem;
	padding: 0.45rem 0.75rem;
	border-radius: 8px;
	font-size: 0.85rem;
	font-weight: 500;
	white-space: nowrap;
	background: var(--bg-white, #fff);
	box-shadow: 0 2px 6px var(--shadow-color, rgba(0, 0, 0, 0.08));
	border: 1px solid var(--border-color, #e5e7eb);
	transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.timeline-weekend-card:hover {
	transform: translateY(-2px);
	box-shadow: 0 4px 12px var(--shadow-hover-color, rgba(0, 0, 0, 0.12));
}
.timeline-weekend-card.nre {
	border-left: 3px solid #dc2626;
	color: #b91c1c;
}
.timeline-weekend-card.exc {
	border-left: 3px solid #059669;
	color: #047857;
}
.timeline-weekend-card:not(.nre):not(.exc) {
	color: var(--text-light, #6b7280);
}

.nre-locations {
	margin-bottom: 1.5rem;
	padding: 0.75rem 1rem;
	background: var(--bg-light, #f9fafb);
	border-radius: 6px;
	font-size: 0.9rem;
}
.nre-locations strong {
	margin-right: 0.25rem;
}

.nre-table {
	width: 100%;
	border-collapse: collapse;
	margin-top: 1rem;
}
.nre-table th,
.nre-table td {
	padding: 0.5rem 0.75rem;
	text-align: left;
	border-bottom: 1px solid var(--border-color, #e5e7eb);
}
.nre-table th {
	font-weight: 600;
}
.nre-table .status-nre {
	color: #dc2626;
	font-weight: 500;
}
.nre-table .status-ok {
	color: #059669;
}
.nre-table .status-unknown {
	color: var(--text-light, #6b7280);
}
.nre-table .status-exception {
	color: #059669;
	font-weight: 500;
}

.back-link {
	display: inline-block;
	margin-bottom: 1.5rem;
}
.lang-link {
	margin-left: 0.5rem;
	font-size: 0.875rem;
}
