@font-face {
	font-family: 'W3S Gochi Hand';
	src: url('../fonts/gochi-hand-latin-400-normal.woff2') format('woff2'),
	     url('../fonts/gochi-hand-latin-400-normal.woff') format('woff');
	font-weight: 400;
	font-style: normal;
	font-display: swap;
}

.w3s {
	--w3s-h: var(--w3s-h-d, 650px);
	position: relative;
	width: 100%;
	overflow: hidden;
	-webkit-user-select: none;
	user-select: none;
	-webkit-tap-highlight-color: transparent;
}
.w3s *, .w3s *::before, .w3s *::after { box-sizing: border-box; }

.w3s__viewport { overflow: hidden; touch-action: pan-y; }

/* ---------- Slide effect ---------- */
.w3s--slide .w3s__track {
	display: flex;
	transition: transform .6s cubic-bezier(.22, .61, .36, 1);
	will-change: transform;
}
.w3s--slide .w3s__track.is-dragging { transition: none; }
.w3s--slide .w3s__slide { flex: 0 0 100%; min-width: 0; }

/* ---------- Fade effect ---------- */
.w3s--fade .w3s__track { display: grid; }
.w3s--fade .w3s__slide {
	grid-area: 1 / 1;
	opacity: 0;
	visibility: hidden;
	transition: opacity .8s ease, visibility 0s linear .8s;
}
.w3s--fade .w3s__slide.is-active {
	opacity: 1;
	visibility: visible;
	transition: opacity .8s ease, visibility 0s;
	z-index: 1;
}

/* ---------- Slide content ---------- */
.w3s__slide { position: relative; background: #fff; }

.w3s__media {
	position: relative;
	height: var(--w3s-h);
	background: #eef1f4;
	overflow: hidden;
}
.w3s__img {
	display: block;
	width: 100% !important;
	height: 100% !important;
	max-width: none !important;
	object-fit: cover;
	pointer-events: none;
}
.w3s__link { position: absolute; inset: 0; z-index: 1; }

/* White text box */
.w3s__caption {
	position: absolute;
	z-index: 2;
	width: min(36%, 540px);
	padding: clamp(20px, 2.6vw, 44px) clamp(18px, 2.2vw, 40px);
	background: rgba(255, 255, 255, var(--w3s-box-a, .85));
	text-align: center;
}
.w3s__caption--top-right    { top: 8%;  right: 8%; }
.w3s__caption--top-left     { top: 8%;  left: 8%; }
.w3s__caption--center-right { top: 50%; right: 8%; transform: translateY(-50%); }
.w3s__caption--center-left  { top: 50%; left: 8%;  transform: translateY(-50%); }
.w3s__caption--center       { top: 50%; left: 50%; transform: translate(-50%, -50%); }
.w3s__caption--bottom-right { bottom: 12%; right: 8%; }
.w3s__caption--bottom-left  { bottom: 12%; left: 8%; }

.w3s .w3s__title {
	margin: 0 0 clamp(10px, 1.2vw, 20px);
	padding: 0;
	font-family: 'W3S Gochi Hand', 'Comic Sans MS', cursive;
	font-weight: 400;
	font-size: clamp(1.5rem, 2.4vw, 2.5rem);
	line-height: 1.15;
	letter-spacing: 0;
	text-transform: none;
	color: var(--w3s-title, #1a4fa0);
}
.w3s .w3s__quote {
	margin: 0;
	padding: 0;
	border: 0;
	background: none;
	font-style: normal;
	font-size: clamp(.85rem, .95vw, 1.05rem);
	line-height: 1.7;
	color: var(--w3s-text, #444);
}
.w3s .w3s__quote::before, .w3s .w3s__quote::after { content: none; }
.w3s .w3s__quote p { margin: 0 0 4px; padding: 0; font-size: inherit; color: inherit; }
.w3s .w3s__quote cite { display: block; font-style: normal; font-size: inherit; color: inherit; }

/* Sponsor badge */
.w3s__badge {
	position: absolute;
	left: 0;
	bottom: 4%;
	z-index: 2;
	display: flex;
	align-items: center;
	gap: clamp(8px, 1.2vw, 20px);
	max-width: 60%;
	padding: clamp(6px, .8vw, 12px) clamp(10px, 1.4vw, 22px);
	background: rgba(255, 255, 255, .9);
}
.w3s__badge-label {
	font-weight: 700;
	font-size: clamp(.8rem, 1.2vw, 1.4rem);
	color: #222;
	white-space: nowrap;
}
.w3s__badge-img {
	display: block;
	height: clamp(26px, 3.4vw, 64px) !important;
	width: auto !important;
	max-width: 100%;
	object-fit: contain;
}

/* Arrows */
.w3s__arrow {
	position: absolute;
	top: calc(var(--w3s-h) / 2);
	z-index: 3;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 48px;
	height: 48px;
	margin: 0;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: transparent;
	color: var(--w3s-accent, #1a4fa0);
	cursor: pointer;
	transform: translateY(-50%);
	transition: background-color .2s ease;
}
.w3s__arrow:hover, .w3s__arrow:focus-visible { background: rgba(255, 255, 255, .8); }
.w3s__arrow:focus-visible { outline: 2px solid var(--w3s-accent, #1a4fa0); outline-offset: 2px; }
.w3s__arrow svg { width: 26px; height: 26px; fill: none; stroke: currentColor; stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; }
.w3s__arrow--prev { left: 12px; }
.w3s__arrow--next { right: 12px; }

/* Dots */
.w3s__dots {
	position: absolute;
	top: calc(var(--w3s-h) - 30px);
	left: 50%;
	z-index: 3;
	display: flex;
	gap: 8px;
	transform: translateX(-50%);
}
.w3s__dot {
	width: 10px;
	height: 10px;
	margin: 0;
	padding: 0;
	border: 2px solid #fff;
	border-radius: 50%;
	background: rgba(255, 255, 255, .5);
	box-shadow: 0 0 3px rgba(0, 0, 0, .35);
	cursor: pointer;
	transition: transform .2s ease, background-color .2s ease;
}
.w3s__dot.is-active { background: var(--w3s-accent, #1a4fa0); transform: scale(1.25); }

/* ---------- Tablet ---------- */
@media (max-width: 1024px) {
	.w3s { --w3s-h: var(--w3s-h-t, 450px); }
	.w3s__caption { width: 46%; }
	.w3s__caption--top-right, .w3s__caption--top-left { top: 6%; }
	.w3s__caption--top-right, .w3s__caption--center-right, .w3s__caption--bottom-right { right: 5%; }
	.w3s__caption--top-left, .w3s__caption--center-left, .w3s__caption--bottom-left { left: 5%; }
	.w3s__caption--center { width: 60%; }
}

/* ---------- Mobile ---------- */
@media (max-width: 767px) {
	.w3s { --w3s-h: var(--w3s-h-m, 300px); }

	.w3s__arrow {
		width: 36px;
		height: 36px;
		background: rgba(255, 255, 255, .85);
		box-shadow: 0 1px 4px rgba(0, 0, 0, .18);
	}
	.w3s__arrow svg { width: 20px; height: 20px; }
	.w3s__arrow--prev { left: 8px; }
	.w3s__arrow--next { right: 8px; }
	.w3s__badge { max-width: 75%; bottom: 0; }

	/* Default: white card that overlaps the bottom of the image, dots underneath */
	.w3s--mobile-below .w3s__slide { padding-bottom: 34px; }
	.w3s--mobile-below .w3s__arrow { top: calc((var(--w3s-h) - 40px) / 2); }
	.w3s--mobile-below .w3s__caption {
		position: relative;
		inset: auto;
		width: auto;
		margin: -40px 14px 0;
		transform: none;
		padding: 22px 18px 24px;
		background: #fff;
		border-radius: 4px;
		box-shadow: 0 6px 22px rgba(0, 0, 0, .12);
	}
	.w3s--mobile-below .w3s__badge { bottom: 40px; }
	.w3s--mobile-below .w3s__dots {
		top: auto;
		bottom: 10px;
		left: 50%;
		transform: translateX(-50%);
	}
	.w3s--mobile-below .w3s__dot { border-color: #c7cfdb; background: #fff; box-shadow: none; }
	.w3s--mobile-below .w3s__dot.is-active { border-color: var(--w3s-accent, #1a4fa0); background: var(--w3s-accent, #1a4fa0); }

	/* Option: text box over the bottom of the image */
	.w3s--mobile-overlay .w3s__caption {
		top: auto;
		bottom: 12px;
		left: 12px;
		right: 12px;
		width: auto;
		transform: none;
		padding: 16px 14px 18px;
	}
	.w3s--mobile-overlay .w3s__badge { bottom: auto; top: 0; }
	.w3s--mobile-overlay .w3s__dots { display: none; }
	.w3s--mobile-overlay .w3s__arrow { top: 56px; }

	.w3s .w3s__title { font-size: 1.75rem; margin-bottom: 12px; }
	.w3s .w3s__quote { font-size: .95rem; line-height: 1.65; }
	.w3s--mobile-overlay .w3s__quote { font-size: .85rem; line-height: 1.55; }
}

/* ---------- Protect against theme styles ---------- */
.w3s button.w3s__arrow,
.w3s button.w3s__dot {
	min-width: 0;
	min-height: 0;
	line-height: 1;
	font: inherit;
	text-transform: none;
	letter-spacing: 0;
	outline-offset: 2px;
}
.w3s button.w3s__arrow,
.w3s button.w3s__arrow:hover,
.w3s button.w3s__arrow:active,
.w3s button.w3s__arrow:focus {
	background: transparent !important;
	color: var(--w3s-accent, #1a4fa0) !important;
	border: 0 !important;
	box-shadow: none !important;
	padding: 0 !important;
	text-decoration: none !important;
}
.w3s button.w3s__arrow:hover,
.w3s button.w3s__arrow:focus-visible { background: rgba(255, 255, 255, .8) !important; }
.w3s button.w3s__dot { padding: 0 !important; background: rgba(255, 255, 255, .5) !important; border: 2px solid #fff !important; }
.w3s button.w3s__dot.is-active { background: var(--w3s-accent, #1a4fa0) !important; }
.w3s .w3s__quote,
.w3s .w3s__quote p,
.w3s .w3s__quote cite { font-weight: 400; font-family: inherit; quotes: none; }
.w3s .w3s__caption { border: 0; margin-top: 0; }
@media (max-width: 767px) {
	.w3s button.w3s__arrow,
	.w3s button.w3s__arrow:hover,
	.w3s button.w3s__arrow:active,
	.w3s button.w3s__arrow:focus { background: rgba(255, 255, 255, .85) !important; box-shadow: 0 1px 4px rgba(0, 0, 0, .18) !important; }
	.w3s--mobile-below button.w3s__dot { border-color: #c7cfdb !important; background: #fff !important; }
	.w3s--mobile-below button.w3s__dot.is-active { border-color: var(--w3s-accent, #1a4fa0) !important; background: var(--w3s-accent, #1a4fa0) !important; }
	.w3s--mobile-below .w3s__caption { margin-top: -40px; }
}

@media (prefers-reduced-motion: reduce) {
	.w3s--slide .w3s__track, .w3s--fade .w3s__slide { transition-duration: .01ms !important; }
}
