/*
 * VansOnly theme styles.
 * Keep it small and fast.
 */

:root {
	--vo-bg: #ffffff;
	--vo-text: #111111;
	--vo-muted: #6c757d;
	--vo-border: rgba(0,0,0,0.12);
	--vo-accent: #ff3b30;
	--vo-topbar: #f6f7f9;
	--vo-dark: #0b0d10;
}

body.vansonly {
	background: var(--vo-bg);
	color: var(--vo-text);
	font-family: system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, sans-serif;
	text-rendering: optimizeLegibility;
}

a {
	color: inherit;
	text-decoration: none;
}

a:hover {
	text-decoration: underline;
}

.skip-link {
	position: absolute;
	left: -9999px;
	top: 0;
	z-index: 9999;
	background: #fff;
	padding: 0.5rem 1rem;
	border: 1px solid var(--vo-border);
}

.skip-link:focus {
	left: 0.5rem;
	top: 0.5rem;
}

/* Header */
.vo-topbar {
	background: var(--vo-topbar);
	border-bottom: 1px solid var(--vo-border);
}

.vo-topbar__link {
	color: var(--vo-muted);
}

.vo-navbar {
	border-bottom: 1px solid rgba(255,255,255,0.08);
}

.custom-logo {
	max-height: 44px;
	width: auto;
}

.vo-brand {
	font-weight: 800;
	letter-spacing: 0.2px;
}

.vo-search .form-control {
	min-width: 180px;
}

@media (max-width: 991px) {
	.vo-search {
		margin-top: 0.75rem;
	}
	.vo-search .form-control {
		min-width: 0;
	}
}

/* Section titles */
.vo-section-title {
	font-weight: 800;
	letter-spacing: 0.2px;
}

/* Badges */
.vo-badge {
	display: inline-flex;
	align-items: center;
	gap: 0.35rem;
	padding: 0.18rem 0.55rem;
	border-radius: 999px;
	font-size: 0.75rem;
	font-weight: 700;
	background: rgba(255, 59, 48, 0.12);
	color: #c62828;
}

.vo-badge:hover {
	text-decoration: none;
	background: rgba(255, 59, 48, 0.18);
}

/* Cards */
.vo-card {
	border: 1px solid var(--vo-border);
	border-radius: 12px;
	overflow: hidden;
	background: #fff;
}

.vo-card__media {
	position: relative;
	background: #e9ecef;
}

.vo-img-cover {
	display: block;
	width: 100%;
	height: auto;
}

.vo-media-placeholder {
	display: block;
	width: 100%;
	aspect-ratio: 16 / 9;
	background: linear-gradient(135deg, #e9ecef, #f8f9fa);
}

.vo-card__body {
	padding: 1rem;
}

.vo-card__title a {
	text-decoration: none;
}

.vo-card__title a:hover {
	text-decoration: underline;
}

.vo-card--featured .vo-card__body {
	padding: 1.1rem;
}

/* Excerpt */
.vo-excerpt {
	margin: 0;
	color: var(--vo-muted);
	font-size: 0.95rem;
}

/* Hero list */
.vo-hero-list {
	display: flex;
	flex-direction: column;
	gap: 0.9rem;
}

.vo-hero-item {
	padding: 0.65rem 0;
	border-bottom: 1px solid var(--vo-border);
}

.vo-hero-item:last-child {
	border-bottom: none;
}

.vo-thumb-placeholder {
	display: block;
	width: 110px;
	height: 62px;
	border-radius: 8px;
	background: linear-gradient(135deg, #e9ecef, #f8f9fa);
}

/* List */
.vo-list {
	border-top: 1px solid var(--vo-border);
}

.vo-list-item {
	padding: 0.95rem 0;
	border-bottom: 1px solid var(--vo-border);
}

.vo-list-item__title a {
	text-decoration: none;
}

.vo-list-item__title a:hover {
	text-decoration: underline;
}

/* Sidebar */
.vo-sidebar .widget {
	border: 1px solid var(--vo-border);
	border-radius: 12px;
	padding: 1rem;
	background: #fff;
}

@media (min-width: 992px) {
	.vo-sidebar__inner {
		position: sticky;
		top: 1.25rem;
	}
}

.vo-popular__item {
	padding: 0.6rem 0;
	border-bottom: 1px solid var(--vo-border);
}

.vo-popular__item:last-child {
	border-bottom: none;
}

/* Logo slider (partners) */
.vo-logo-slider {
	border: 1px solid var(--vo-border);
	border-radius: 12px;
	background: #fff;
	overflow: hidden;
	padding: 0.6rem 0.75rem;
}

.vo-logo-slider__track {
	display: flex;
	align-items: center;
	gap: 32px;
	width: max-content;
	animation: vo-logo-marquee 28s linear infinite;
}

.vo-logo-slider--static .vo-logo-slider__track {
	animation: none;
	width: 100%;
	justify-content: space-between;
}

.vo-logo-slider:hover .vo-logo-slider__track {
	animation-play-state: paused;
}

.vo-logo-slider__item {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 110px;
	opacity: 0.92;
}

.vo-logo-slider__item:hover {
	opacity: 1;
	text-decoration: none;
}

.vo-logo-slider__img {
	max-height: 34px;
	width: auto;
	height: auto;
}

@keyframes vo-logo-marquee {
	from { transform: translateX(0); }
	to { transform: translateX(-50%); }
}

@media (prefers-reduced-motion: reduce) {
	.vo-logo-slider__track {
		animation: none;
	}
}

/* Newsletter CTA */
.vo-newsletter-box {
	border: 1px solid var(--vo-border);
	border-radius: 12px;
	background: #fff;
	padding: 1.1rem;
}

.vo-newsletter-box .form-control {
	border-radius: 10px;
}

/* Agenda list */
.vo-event {
	border: 1px solid var(--vo-border);
	border-radius: 12px;
	background: #fff;
	margin-bottom: 0.75rem;
}

.vo-event__link {
	display: flex;
	gap: 14px;
	padding: 0.9rem 1rem;
}

.vo-event__link:hover {
	text-decoration: none;
	background: #f6f7f9;
}

.vo-event__date {
	min-width: 130px;
	font-weight: 800;
}

.vo-event__title {
	font-weight: 800;
	font-size: 1rem;
}

@media (max-width: 575px) {
	.vo-event__link {
		flex-direction: column;
	}
	.vo-event__date {
		min-width: 0;
	}
}

/* Vacature cards */
.vo-card__placeholder {
	height: 180px;
	background: linear-gradient(135deg, #e9ecef, #f8f9fa);
}

/* Partner grid */
.vo-partner-grid__item {
	display: flex;
	align-items: center;
	justify-content: center;
	border: 1px solid var(--vo-border);
	border-radius: 12px;
	background: #fff;
	padding: 0.9rem;
	min-height: 78px;
}

.vo-partner-grid__item:hover {
	text-decoration: none;
	background: #f6f7f9;
}

.vo-partner-grid__img {
	max-height: 40px;
	width: auto;
	height: auto;
}

/* Single content typography */
.vo-article__title {
	font-weight: 900;
	letter-spacing: 0.1px;
}

.vo-content {
	font-size: 1.05rem;
	line-height: 1.75;
}

.vo-content h2,
.vo-content h3 {
	margin-top: 1.75rem;
	margin-bottom: 0.75rem;
	font-weight: 800;
}

.vo-content p {
	margin-bottom: 1rem;
}

.vo-content a {
	text-decoration: underline;
	text-decoration-thickness: 1px;
	text-underline-offset: 2px;
}

.vo-content figure {
	margin: 1.25rem 0;
}

/* WordPress alignment helpers */
.alignwide {
	max-width: 1100px;
}

.alignfull {
	width: 100vw;
	margin-left: calc(50% - 50vw);
	margin-right: calc(50% - 50vw);
}

/* Tags */
.vo-tags a {
	display: inline-flex;
	align-items: center;
	padding: 0.25rem 0.55rem;
	border: 1px solid var(--vo-border);
	border-radius: 999px;
	font-size: 0.85rem;
	text-decoration: none;
}

.vo-tags a:hover {
	background: #f6f7f9;
}

/* Post navigation */
.post-navigation .nav-links {
	display: grid;
	grid-template-columns: 1fr;
	gap: 0.75rem;
}

@media (min-width: 768px) {
	.post-navigation .nav-links {
		grid-template-columns: 1fr 1fr;
	}
}

.post-navigation a {
	display: block;
	padding: 0.9rem;
	border: 1px solid var(--vo-border);
	border-radius: 12px;
	background: #fff;
	text-decoration: none;
}

.post-navigation a:hover {
	background: #f6f7f9;
	text-decoration: none;
}

.post-navigation .nav-subtitle {
	display: block;
	font-size: 0.8rem;
	color: var(--vo-muted);
}

.post-navigation .nav-title {
	display: block;
	font-weight: 700;
}

/* Pagination */
.navigation.pagination .page-numbers {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 40px;
	height: 40px;
	margin-right: 6px;
	border-radius: 10px;
	border: 1px solid var(--vo-border);
	background: #fff;
	text-decoration: none;
}

.navigation.pagination .page-numbers.current {
	background: var(--vo-dark);
	color: #fff;
	border-color: var(--vo-dark);
}

/* Footer */
.site-footer {
	background: #0b0d10;
	color: rgba(255,255,255,0.85);
}

.site-footer a {
	color: rgba(255,255,255,0.9);
}

.vo-footer-top {
	border-top: 1px solid rgba(255,255,255,0.08);
}

.vo-footer-bottom {
	border-top: 1px solid rgba(255,255,255,0.08);
	color: rgba(255,255,255,0.7);
}

.vo-footer-links li {
	margin-bottom: 0.5rem;
}
