.eunislider {
	--es-orange: #ff5c24;
	--es-amber: #fa8a0d;
	--es-blue: #3163d8;
	--es-green: #16a355;
	--es-navy: #00296b;
	--es-tab: #7b9be8;
	--es-panel: #e3e4ea;
	--es-text: #1a1a1a;
	--es-radius: 20px;
	font-family: "DM Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
	color: var(--es-text);
	width: 100%;
	max-width: 1100px;
	margin: 0 auto;
	box-sizing: border-box;
}
.eunislider *, .eunislider *::before, .eunislider *::after { box-sizing: border-box; }

/* Tabs: inactive = light pill; active = folder tab (panel colour) holding a navy pill */
.es-tabs { display: flex; align-items: flex-end; gap: 6px; padding: 0; margin: 0; }
.es-tab {
	appearance: none; border: 0; cursor: pointer; background: transparent; padding: 0 6px 10px;
	font-family: inherit; display: block; border-radius: 18px 18px 0 0;
}
.es-tab-label {
	display: block; color: #fff; background: var(--es-tab);
	font-size: 14px; font-weight: 700; line-height: 1; padding: 11px 22px; border-radius: 999px;
	transition: background .2s;
}
.es-tab:hover .es-tab-label { background: #6a8be0; }
.es-tab.is-active { background: var(--es-panel); padding: 16px 20px 12px; }
.es-tab.is-active .es-tab-label { background: var(--es-navy); }
.es-tab:focus-visible, .es-arrow:focus-visible, .es-dot:focus-visible, .es-viewport:focus-visible { outline: 3px solid var(--es-blue); outline-offset: 2px; }

/* Panel */
.es-panel {
	background: var(--es-panel);
	border-radius: 18px;
	padding: 36px 20px 22px;
}
.es-panel[hidden] { display: none; }

/* Slider */
.es-slider { position: relative; }
.es-slider.has-nav { padding: 0 48px; }
.es-viewport {
	display: flex;
	overflow-x: auto;
	scroll-snap-type: x mandatory;
	scroll-behavior: smooth;
	-webkit-overflow-scrolling: touch;
	scrollbar-width: none;
	overscroll-behavior-x: contain;
}
.es-viewport::-webkit-scrollbar { display: none; }
@media (prefers-reduced-motion: reduce) { .es-viewport { scroll-behavior: auto; } }
.es-slide { flex: 0 0 100%; min-width: 0; scroll-snap-align: start; scroll-snap-stop: always; padding: 4px 2px 8px; }

.es-slide-title { margin: 0 0 22px; text-align: center; line-height: 1.15; font-weight: 700; }
.es-title { display: block; font-size: 24px; color: var(--es-blue); }
.es-subtitle { display: block; font-size: 24px; color: var(--es-navy); letter-spacing: .01em; margin-top: 2px; }

/* Cards */
.es-cards { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.es-card {
	color: #fff; border-radius: 16px; padding: 24px 20px 28px;
	min-height: 280px; display: flex; flex-direction: column;
}
.es-orange { background: var(--es-orange); }
.es-amber  { background: var(--es-amber); }
.es-blue   { background: var(--es-blue); }
.es-green  { background: var(--es-green); }
.es-q {
	margin: 0 0 14px; text-align: center; color: #fff;
	font: 700 15px/1.2 "Young Serif", Georgia, "Times New Roman", serif;
}
.es-card-title { margin: 0 0 22px; text-align: center; font-size: 17px; line-height: 1.3; font-weight: 700; color: #fff; }
.es-card ul { margin: 0; padding: 0 0 0 16px; font-size: 13px; line-height: 1.45; }
.es-card li { margin: 0 0 4px; padding: 0; }
.es-card li::marker { font-size: 11px; }
.es-range { margin: 0; text-align: center; font-size: 15px; font-weight: 600; line-height: 1.4; }

/* Arrows + dots */
.es-arrow {
	appearance: none; border: 0; background: transparent; cursor: pointer;
	position: absolute; top: 50%; transform: translateY(-50%);
	width: 44px; height: 44px; display: grid; place-items: center;
	color: var(--es-navy); border-radius: 50%; padding: 0;
	transition: opacity .2s, background .2s;
}
.es-arrow:hover { background: rgba(0, 41, 107, .08); }
.es-arrow[disabled] { opacity: .25; cursor: default; }
.es-prev { left: 0; }
.es-next { right: 0; }
.es-dots { display: flex; justify-content: center; gap: 14px; margin-top: 18px; }
.es-dot {
	appearance: none; border: 0; padding: 0; cursor: pointer;
	width: 12px; height: 12px; border-radius: 50%;
	background: #6cc79a; position: relative; transition: background .2s, transform .2s;
}
.es-dot::after { content: ""; position: absolute; inset: -10px; } /* bigger touch target */
.es-dot.is-active { background: #0e5a33; transform: scale(1.1); }

/* Tablet */
@media (max-width: 900px) {
	.es-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.es-card { min-height: 0; }
}

/* Mobile */
@media (max-width: 560px) {
	.es-tabs { padding: 0; gap: 0; }
	.es-tab-label { padding: 10px 14px; font-size: 13px; }
	.es-tab.is-active { padding: 12px 10px 10px; }
	.es-panel { padding: 24px 12px 16px; border-radius: 14px; }
	.es-slider.has-nav { padding: 0; }
	.es-title, .es-subtitle { font-size: 20px; }
	.es-cards { grid-template-columns: 1fr; gap: 12px; }
	.es-card { padding: 20px 18px 22px; }
	.es-arrow { top: auto; bottom: -8px; transform: none; }
	.es-prev { left: 4px; }
	.es-next { right: 4px; }
	.es-dots { margin-top: 16px; min-height: 28px; align-items: center; }
}

/* Plain cards (e.g. Openbaring): label, title and range centred in the card */
.es-card--plain { justify-content: center; align-items: center; text-align: center; min-height: 340px; }
.es-card--plain .es-q { margin-bottom: 18px; }
.es-card--plain .es-card-title { margin: 0; font-size: 20px; font-weight: 500; }
.es-card--plain .es-range { font-size: 20px; font-weight: 500; line-height: 1.3; margin-top: 2px; }
@media (max-width: 900px) { .es-card--plain { min-height: 200px; } }
@media (max-width: 560px) { .es-card--plain { min-height: 150px; } }

/* Tabs: neutralise theme button styles (hover/focus/active backgrounds, borders, shadows) */
.eunislider .es-tab,
.eunislider .es-tab:hover,
.eunislider .es-tab:focus,
.eunislider .es-tab:active {
	background: transparent; border: 0; box-shadow: none; color: inherit;
	text-transform: none; letter-spacing: normal; text-decoration: none; outline-offset: 2px;
}
.eunislider .es-tab.is-active,
.eunislider .es-tab.is-active:hover,
.eunislider .es-tab.is-active:focus { background: var(--es-panel); }
.eunislider .es-tab-label { color: #fff; font-family: inherit; }
.eunislider .es-tab:hover .es-tab-label,
.eunislider .es-tab:focus-visible .es-tab-label { background: #5f84e6; }
.eunislider .es-tab.is-active .es-tab-label,
.eunislider .es-tab.is-active:hover .es-tab-label { background: var(--es-navy); }

/* First tab sits flush with the panel's left edge, so square off the panel's top-left corner */
.es-tabs + .es-panel { border-top-left-radius: 18px; }
.es-tabs:has(.es-tab:first-child.is-active) + .es-panel { border-top-left-radius: 0; }
