/* NringTRANSPORT FSE – layout styles (front-end + editor canvas). Original <style> block, scoped. */
html { scroll-behavior: smooth; }
body { margin: 0; background: #0E0F0F; }
.wp-site-blocks { min-height: 100vh; }
.wp-site-blocks > * { margin-block-start: 0; margin-block-end: 0; }

@keyframes nr-pulse {
	0% { box-shadow: 0 0 0 0 rgba(255, 255, 255, .9); }
	70% { box-shadow: 0 0 0 8px rgba(255, 255, 255, 0); }
	100% { box-shadow: 0 0 0 0 rgba(255, 255, 255, 0); }
}
.nr-sos:hover { background: #FF4A3D !important; color: #FFFFFF !important; }

/* ---------- Header (core blocks: Site Logo + Navigation + CTA section) ---------- */
.nrt-header { border-bottom: 1px solid #262828; }
.nrt-header .nrt-header__inner {
	box-sizing: content-box;
	max-width: 1200px;
	margin: 0 auto;
	padding: 20px 24px;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
}
.nrt-header .wp-block-site-logo,
.nrt-header .wp-block-site-logo a { display: flex; align-items: center; text-decoration: none; line-height: 0; }
.nrt-header .wp-block-site-logo img { height: 56px !important; width: auto !important; max-width: none; display: block; }

.nrt-header .wp-block-navigation.nrt-nav,
.nrt-header .nrt-nav .wp-block-navigation__container {
	display: flex;
	flex-wrap: wrap;
	gap: 8px 28px;
	font-size: 15px;
	font-weight: 500;
	align-items: center;
}
.nrt-header .nrt-nav .wp-block-navigation-item { padding: 0; }
.nrt-header .nrt-nav .wp-block-navigation-item__content {
	color: #EDEBE4;
	text-decoration: none;
	padding: 0;
	line-height: 1.6;
}
.nrt-header .nrt-nav .wp-block-navigation-item__content:hover { color: #FFFFFF; }
.nrt-header .nrt-nav .nrt-nav-sos > .wp-block-navigation-item__content {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 4px 12px;
	border-radius: 999px;
	background: #E5322D;
	color: #FFFFFF;
	font-weight: 600;
	text-decoration: none;
}
.nrt-header .nrt-nav .nrt-nav-sos > .wp-block-navigation-item__content::before {
	content: "";
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: #FFFFFF;
	flex: none;
}
.nrt-header .nrt-nav .nrt-nav-sos > .wp-block-navigation-item__content:hover { background: #FF4A3D !important; color: #FFFFFF !important; }

@media (prefers-reduced-motion: no-preference) {
	.nr-dot,
	.nrt-header .nrt-nav .nrt-nav-sos > .wp-block-navigation-item__content::before { animation: nr-pulse 1.6s ease-out infinite; }
}

/* ---------- Content area ---------- */
.nrt-main { margin: 0; }
.nrt-main .wp-block-post-content > .wp-block-nringtransport-section { margin-block: 0; }
/* Blocks inserted by the user between sections keep the original 1200px grid + 24px gutters. */
.nrt-main .wp-block-post-content.is-layout-constrained > :not(.alignfull):not(.alignwide):not(.wp-block-nringtransport-section) {
	max-width: min(1152px, calc(100% - 48px));
}
.nrt-main .wp-block-post-content > :not(.wp-block-nringtransport-section):first-child { margin-top: 48px; }
.nrt-main .wp-block-post-content > :not(.wp-block-nringtransport-section):last-child { margin-bottom: 48px; }

/* ---------- Simple pages / archives (not in the original site) ---------- */
.nrt-page { max-width: 1200px; margin: 0 auto; padding: 88px 24px; box-sizing: border-box; }
.nrt-grid .wp-block-post-featured-image img { height: 280px; object-fit: cover; border-radius: 8px; }
.nrt-grid .wp-block-post-title { font-family: Inter, system-ui, sans-serif; text-transform: none; font-size: 16px; font-weight: 500; line-height: 1.4; margin-top: 10px; }
.nrt-grid .wp-block-post-title a { color: #EDEBE4; text-decoration: none; }
.nrt-muted { color: #B9B7B0; }
