.rsi-village-discovery-page {
	background: #fffbe6;
	padding: 64px 0 80px !important;
}

.rsi-village-discovery-page > .container > .row {
	--bs-gutter-x: 36px;
	align-items: flex-start;
}

.rsi-vd-sidebar {
	padding: 30px 26px;
	background: #fff;
	border: 1px solid rgba(8, 22, 42, 0.08);
	border-radius: 5px;
	box-shadow: 0 8px 24px rgba(8, 22, 42, 0.06);
}

.rsi-vd-riverside-panel {
	display: none;
}

.rsi-vd-sidebar h1 {
	font-family: "Poppins", "Rubik", sans-serif;
	font-size: 24px;
	font-weight: 700;
	line-height: 1.22;
	color: #08162a;
	margin: 8px 0 12px;
}

.rsi-vd-sidebar p {
	font-size: 14px;
	line-height: 1.6;
	color: #555;
	margin: 0 0 26px;
}

.rsi-vd-sidebar-nav h2,
.rsi-vd-mobile-nav > span {
	display: block;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: #08162a;
	margin: 0 0 14px;
}

.rsi-vd-nav-link {
	display: block;
	padding: 11px 12px;
	border-radius: 5px;
	color: #08162a;
	text-decoration: none;
	transition: background 0.2s ease, color 0.2s ease;
}

.rsi-vd-nav-link:hover,
.rsi-vd-nav-link:focus,
.rsi-vd-nav-link.is-active {
	background: #fff0b8;
	color: #08162a;
	text-decoration: none;
}

.rsi-vd-nav-link span {
	display: block;
	font-weight: 600;
	font-size: 14px;
	line-height: 1.25;
}

.rsi-vd-nav-link small {
	display: block;
	font-size: 12px;
	line-height: 1.4;
	color: #667085;
	margin-top: 3px;
}

.rsi-vd-mobile-nav {
	margin-bottom: 30px;
	padding: 16px 0;
	border-top: 1px solid rgba(8, 22, 42, 0.08);
	border-bottom: 1px solid rgba(8, 22, 42, 0.08);
}

.rsi-vd-mobile-scroll {
	display: flex;
	gap: 8px;
	overflow-x: auto;
	-webkit-overflow-scrolling: touch;
	scrollbar-width: none;
}

.rsi-vd-mobile-scroll::-webkit-scrollbar {
	display: none;
}

.rsi-vd-mobile-scroll .rsi-vd-nav-link {
	flex: 0 0 auto;
	white-space: nowrap;
	background: #fff;
	border: 1px solid rgba(8, 22, 42, 0.1);
	font-size: 13px;
	font-weight: 600;
}

.rsi-vd-section {
	scroll-margin-top: 104px;
	margin-bottom: 80px;
}

.rsi-vd-section:last-child {
	margin-bottom: 0;
}

.rsi-vd-section-heading {
	margin-bottom: 28px;
}

.rsi-vd-section-heading .rsi-editorial-heading {
	margin-bottom: 8px;
	font-size: 34px;
	line-height: 1.08;
	letter-spacing: -0.02em;
}

.rsi-vd-section-heading p {
	color: #555;
	margin: 0 0 8px;
	line-height: 1.6;
}

.rsi-vd-count {
	font-size: 14px;
	font-weight: 600;
	color: #08162a;
}

/* Shared compact editorial collection introduction. */
.rsi-vd-section-heading {
	margin-bottom: 22px;
}

.rsi-vd-section-heading .rsi-section-label {
	display: block;
	margin-bottom: 8px;
	font-size: 10px;
	font-weight: 700;
	line-height: 1.2;
	letter-spacing: 0.12em;
	text-transform: uppercase;
}

.rsi-vd-section-heading .rsi-editorial-heading {
	margin-bottom: 9px;
	font-size: 42px;
	font-weight: 800;
	line-height: 1;
	letter-spacing: 0.01em;
}

.rsi-vd-section-heading p {
	margin-bottom: 0;
	font-size: 15px;
	line-height: 1.5;
	color: #667085;
}

.rsi-vd-section-heading .rsi-vd-count {
	margin-top: 10px;
	font-size: 13px;
	font-weight: 700;
	line-height: 1.35;
	letter-spacing: 0.02em;
}

.rsi-vd-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
	gap: 18px;
}

.rsi-vd-card {
	min-width: 0;
	min-height: 0;
}

.rsi-vd-card.is-expanded,
.rsi-vd-card.is-collapsing {
	grid-column: 1 / -1;
}

.rsi-vd-card.is-expanded .rsi-vd-card-button,
.rsi-vd-card.is-collapsing .rsi-vd-card-button {
	display: none;
}

.rsi-vd-card-button {
	position: relative;
	display: block;
	width: 100%;
	padding: 0;
	text-align: left;
	background: #fff;
	border: 1px solid rgba(8, 22, 42, 0.08);
	border-radius: 5px;
	overflow: hidden;
	cursor: pointer;
	box-shadow: 0 6px 18px rgba(8, 22, 42, 0.06);
	transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.rsi-vd-card-button:hover,
.rsi-vd-card-button:focus {
	transform: translateY(-4px);
	box-shadow: 0 12px 28px rgba(8, 22, 42, 0.1);
	outline: none;
}

.rsi-vd-card-image {
	display: block;
	height: 165px;
	background: linear-gradient(135deg, #e8eef3, #fff6cf);
	overflow: hidden;
}

.rsi-vd-card-image img,
.rsi-vd-expanded-image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.rsi-vd-card-body {
	position: relative;
	display: block;
	padding: 16px 54px 18px 16px;
	min-height: 176px;
}

.rsi-vd-badge {
	display: inline-block;
	max-width: 100%;
	margin-bottom: 10px;
	padding: 5px 10px;
	border-radius: 999px;
	background: #fffbe6;
	color: #8a7a2f;
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.rsi-vd-card-title {
	display: block;
	font-size: 18px;
	font-weight: 700;
	line-height: 1.25;
	color: #08162a;
	margin-bottom: 8px;
}

.rsi-vd-card-hook {
	display: block;
	font-size: 13px;
	line-height: 1.5;
	color: #555;
	margin-bottom: 14px;
}

.rsi-vd-card-meta {
	display: block;
	font-size: 13px;
	font-weight: 600;
	color: #08162a;
}

.rsi-vd-card-arrow {
	position: absolute;
	right: 16px;
	bottom: 16px;
	width: 34px;
	height: 34px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	border-radius: 50%;
	background: #08162a;
	color: #fff;
	font-size: 13px;
}

.rsi-vd-expanded {
	display: grid;
	grid-template-columns: minmax(260px, 42%) 1fr;
	min-height: 0;
	height: 0;
	margin-top: 0;
	opacity: 0;
	transform: translateY(-6px);
	background: #fff;
	border: 1px solid rgba(8, 22, 42, 0.08);
	border-radius: 5px;
	box-shadow: 0 10px 28px rgba(8, 22, 42, 0.08);
	overflow: hidden;
	transition: width 220ms cubic-bezier(0.22, 0.61, 0.36, 1), height 220ms cubic-bezier(0.22, 0.61, 0.36, 1), left 220ms cubic-bezier(0.22, 0.61, 0.36, 1), margin-top 220ms cubic-bezier(0.22, 0.61, 0.36, 1), opacity 180ms ease-out, transform 220ms cubic-bezier(0.22, 0.61, 0.36, 1);
}

.rsi-vd-card.is-expanded .rsi-vd-expanded {
	margin-top: 18px;
	opacity: 1;
	transform: translateY(0);
}

.rsi-vd-expanded-image {
	min-height: 360px;
	background: linear-gradient(135deg, #e8eef3, #fff6cf);
}

.rsi-vd-expanded-content {
	position: relative;
	padding: 34px 34px 32px;
}

.rsi-vd-close {
	position: absolute;
	top: 18px;
	right: 18px;
	width: 38px;
	height: 38px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	border: 1px solid rgba(8, 22, 42, 0.12);
	border-radius: 50%;
	background: #fff;
	color: #08162a;
	cursor: pointer;
}

.rsi-vd-expanded h3 {
	font-size: 30px;
	font-weight: 700;
	line-height: 1.15;
	color: #08162a;
	margin: 0 46px 8px 0;
}

.rsi-vd-location {
	font-size: 14px;
	color: #555;
	margin: 0 0 12px;
}

.rsi-vd-location i,
.rsi-vd-stay-count i {
	margin-right: 7px;
	color: #08162a;
}

.rsi-vd-expanded-hook {
	font-size: 16px;
	font-weight: 700;
	color: #8a6d00;
	margin: 0 0 14px;
}

.rsi-vd-description {
	font-size: 14px;
	line-height: 1.75;
	color: #333;
	margin: 0 0 18px;
}

.rsi-vd-tags {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-bottom: 20px;
}

.rsi-vd-tags span {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 6px 12px;
	border: 1px solid #e4e8ef;
	border-radius: 999px;
	background: #f7f8fa;
	color: #3d4654;
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.04em;
	text-transform: uppercase;
}

.rsi-vd-stay-count {
	font-size: 14px;
	font-weight: 700;
	color: #08162a;
	margin-bottom: 18px;
}

.rsi-vd-cta {
	display: inline-flex;
	align-items: center;
	gap: 9px;
	padding: 12px 22px;
	border-radius: 5px;
	background: #08162a;
	color: #fff;
	font-size: 13px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.03em;
	text-decoration: none;
}

.rsi-vd-cta:hover,
.rsi-vd-cta:focus {
	color: #fff;
	text-decoration: none;
	background: #122544;
}

.rsi-vd-empty {
	padding: 22px;
	background: #fff;
	border: 1px solid rgba(8, 22, 42, 0.08);
	border-radius: 5px;
	color: #555;
}

.rsi-vd-field-note {
	display: none;
}

@media (min-width: 1200px) {
	.rsi-vd-grid {
		grid-template-columns: repeat(4, minmax(0, 1fr));
	}
}

@media (min-width: 992px) {
	.rsi-vd-sidebar-stack {
		position: sticky;
		top: 104px;
	}

	.rsi-vd-riverside-panel {
		display: block;
		aspect-ratio: 1;
		margin: 18px 0 0;
		overflow: hidden;
		background: #fffdf2;
	}

	.rsi-vd-riverside-panel img {
		display: block;
		width: 100%;
		height: 100%;
		max-width: none;
		object-fit: contain;
	}

	.rsi-village-discovery-page {
		padding-top: 112px !important;
	}

	.rsi-village-discovery-page .col-lg-9 > #last-motorable-villages,
	.rsi-village-discovery-page .col-lg-9 > #tea-estate-stays {
		margin-left: -33.333333%;
		width: 100%;
	}

	.rsi-vd-section--last-motorable,
	.rsi-vd-section--farm-orchard,
	.rsi-vd-section--tea-estate,
	.rsi-vd-section--trekkers-base {
		position: relative;
	}

	.rsi-vd-section--farm-orchard .rsi-vd-field-note,
	.rsi-vd-section--trekkers-base .rsi-vd-field-note {
		left: calc(-33.333333% - 24px);
	}

	.rsi-vd-section--trekkers-base .rsi-vd-field-note p {
		display: block;
		-webkit-line-clamp: unset;
		overflow: visible;
	}

	.rsi-vd-field-note {
		position: absolute;
		top: 0;
		left: calc(100% + 24px);
		display: block;
		width: calc(33.333333% - 24px);
		height: 830px;
		padding: 0;
		background: #fffdf2;
		border: 1px solid #08162a;
		border-radius: 5px;
		box-shadow: 0 5px 14px rgba(8, 22, 42, 0.04);
		display: flex;
		flex-direction: column;
		overflow: hidden;
	}

	.rsi-vd-field-note__eyebrow,
	.rsi-vd-field-note__descriptors {
		display: block;
		font-size: 10px;
		font-weight: 700;
		letter-spacing: 0.08em;
		text-transform: uppercase;
	}

	.rsi-vd-field-note__content {
		flex: 0 0 auto;
		padding: 26px 24px 0;
	}

	.rsi-vd-field-note__eyebrow {
		color: #08162a;
		font-size: 9px;
		letter-spacing: 0.12em;
		margin-bottom: 12px;
	}

	.rsi-vd-field-note__eyebrow::after {
		display: none;
	}

	.rsi-vd-field-note h3 {
		margin: 0 0 12px;
		font-family: Georgia, "Times New Roman", serif;
		font-size: 26px;
		font-weight: 700;
		line-height: 1.08;
		letter-spacing: -0.02em;
		color: #08162a;
	}

	.rsi-vd-field-note p {
		margin: 0 0 10px;
		font-size: 12px;
		line-height: 1.55;
		color: #555;
		display: -webkit-box;
		-webkit-box-orient: vertical;
		-webkit-line-clamp: 3;
		overflow: hidden;
	}

	.rsi-vd-field-note__descriptors {
		color: #737b88;
		font-size: 7.5px;
		font-weight: 600;
		letter-spacing: 0.1em;
		line-height: 1.5;
		margin-bottom: 10px;
	}

	.rsi-vd-field-note__descriptors::after {
		content: "";
		display: block;
		width: 38px;
		margin-top: 10px;
		border-top: 2px solid #d4af37;
	}

	.rsi-vd-field-note figure {
		flex: 1 1 auto;
		min-height: 0;
		width: 100%;
		margin: 0;
		display: flex;
		align-items: flex-end;
		justify-content: center;
	}

	.rsi-vd-field-note img {
		min-width: 100%;
		max-width: none !important;
		width: 100% !important;
		height: 100% !important;
		object-fit: fill;
		display: block;
	}

	.rsi-vd-grid {
		position: relative;
	}

	.rsi-vd-card {
		position: relative;
	}

	.rsi-vd-card.is-expanded,
	.rsi-vd-card.is-collapsing {
		grid-column: auto / auto !important;
		z-index: 2;
	}

	.rsi-vd-card.is-expanded .rsi-vd-card-button,
	.rsi-vd-card.is-collapsing .rsi-vd-card-button {
		display: block;
		visibility: hidden;
		pointer-events: none;
	}

	.rsi-vd-card.is-expanded .rsi-vd-expanded,
	.rsi-vd-card.is-collapsing .rsi-vd-expanded {
		position: absolute !important;
		top: 0;
		left: 0;
		z-index: 3;
		margin-top: 0;
	}

	.rsi-vd-expanded-image {
		min-height: 0;
		padding: 20px;
	}

	.rsi-vd-expanded-image img {
		border-radius: 4px;
	}

	.rsi-vd-expanded-content {
		min-height: 0;
		overflow-y: auto;
		padding: 28px 34px 24px;
	}

	.rsi-vd-expanded-hook {
		margin-bottom: 12px;
	}

	.rsi-vd-description {
		display: -webkit-box;
		-webkit-box-orient: vertical;
		-webkit-line-clamp: 3;
		overflow: hidden;
		line-height: 1.6;
		margin-bottom: 14px;
	}

	.rsi-vd-tags {
		margin-bottom: 14px;
	}

	.rsi-vd-stay-count {
		margin-bottom: 14px;
	}
}

@media (max-width: 1199px) and (min-width: 992px) {
	.rsi-vd-grid {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}
}

@media (max-width: 991px) {
	.rsi-village-discovery-page {
		padding: calc(var(--rsi-vd-mobile-header-height, 77px) + env(safe-area-inset-top, 0px) + 18px) 0 60px !important;
	}

	.rsi-vd-section {
		scroll-margin-top: calc(var(--rsi-vd-mobile-header-height, 77px) + env(safe-area-inset-top, 0px) + 16px);
	}

	.rsi-vd-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.rsi-vd-mobile-nav {
		display: none;
	}

	.rsi-vd-expanded {
		grid-template-columns: 1fr;
	}

	.rsi-vd-expanded-image {
		min-height: 110px;
		padding: 14px;
	}

	.rsi-vd-expanded-image img {
		border-radius: 4px;
	}

	.rsi-vd-expanded-hook {
		font-size: 11.52px;
		margin-bottom: 8px;
	}

	.rsi-vd-description {
		display: -webkit-box;
		-webkit-box-orient: vertical;
		-webkit-line-clamp: 2;
		overflow: hidden;
		font-size: 10.92px;
		line-height: 1.45;
		margin-bottom: 10px;
	}

	.rsi-vd-tags {
		flex-wrap: nowrap;
		gap: 4px;
		margin-bottom: 10px;
	}

	.rsi-vd-tags span {
		flex: 1 1 auto;
		padding: 3px 4px;
		font-size: 7px;
		letter-spacing: 0.02em;
		white-space: nowrap;
	}

	.rsi-vd-stay-count {
		margin-bottom: 10px;
	}
}

@media (max-width: 767px) {
	.rsi-vd-section-heading {
		margin-bottom: 18px;
	}

	.rsi-vd-section-heading .rsi-section-label {
		margin-bottom: 7px;
		font-size: 9px;
	}

	.rsi-vd-section-heading .rsi-editorial-heading {
		margin-bottom: 8px;
		font-size: 32px !important;
		line-height: 1.02;
	}

	.rsi-vd-section-heading p {
		margin-bottom: 0;
		font-size: 13px;
		line-height: 1.5;
	}

	.rsi-vd-section-heading .rsi-vd-count {
		margin-top: 8px;
		font-size: 12px;
	}

	.rsi-vd-section {
		margin-bottom: 58px;
		scroll-margin-top: calc(var(--rsi-vd-mobile-header-height, 77px) + env(safe-area-inset-top, 0px) + 16px);
	}

	.rsi-vd-mobile-nav {
		margin-bottom: 26px;
	}

	.rsi-vd-grid {
		grid-template-columns: 1fr;
		gap: 16px;
	}

	.rsi-vd-card-body {
		min-height: 0;
	}

	.rsi-vd-expanded-content {
		padding: 22px;
	}

	.rsi-vd-expanded h3 {
		font-size: 26px;
	}

	.rsi-vd-expanded-image {
		min-height: 90px;
	}

	.rsi-vd-cta {
		width: 100%;
		justify-content: center;
		text-align: center;
	}
}

@media (prefers-reduced-motion: reduce) {
	.rsi-vd-expanded {
		transition: none;
	}
}
