/* Travel With Yogi Live Reviews */
.twy-live-reviews,
.twy-live-reviews * {
	box-sizing: border-box;
}

.twy-live-reviews {
	--twy-primary: #082a4d;
	--twy-accent: #ff8a1f;
	--twy-text: #12263f;
	--twy-muted: #6f7e91;
	--twy-line: #e4eaf1;
	--twy-soft: #f6f8fb;
	width: 100%;
	padding: clamp(54px, 7vw, 90px) 18px;
	background:
		radial-gradient(circle at 9% 12%, rgba(255, 138, 31, .08), transparent 24%),
		linear-gradient(180deg, #ffffff 0%, #f6f8fb 100%);
	color: var(--twy-text);
	font-family: inherit;
}

.twy-live-reviews__inner {
	width: min(1180px, 100%);
	margin: 0 auto;
}

.twy-live-reviews__header {
	max-width: 760px;
	margin: 0 auto clamp(30px, 5vw, 48px);
	text-align: center;
}

.twy-live-reviews__eyebrow,
.twy-live-reviews__mini-label {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	color: var(--twy-accent);
	font-size: 12px;
	font-weight: 800;
	letter-spacing: .14em;
	text-transform: uppercase;
}

.twy-live-reviews__eyebrow::before,
.twy-live-reviews__eyebrow::after {
	content: "";
	width: 24px;
	height: 1px;
	background: currentColor;
}

.twy-live-reviews__header h2 {
	margin: 10px 0 10px;
	color: var(--twy-primary);
	font-size: clamp(30px, 4.5vw, 50px);
	line-height: 1.08;
	letter-spacing: -.03em;
}

.twy-live-reviews__header p {
	margin: 0;
	color: var(--twy-muted);
	font-size: clamp(15px, 1.7vw, 18px);
	line-height: 1.7;
}

.twy-live-reviews__layout {
	display: grid;
	grid-template-columns: minmax(0, 1.42fr) minmax(330px, .78fr);
	gap: clamp(22px, 3vw, 34px);
	align-items: start;
}

.twy-live-reviews__feed,
.twy-live-reviews__form-panel {
	border: 1px solid var(--twy-line);
	border-radius: 22px;
	background: rgba(255, 255, 255, .96);
	box-shadow: 0 18px 45px rgba(8, 42, 77, .08);
}

.twy-live-reviews__feed {
	padding: clamp(22px, 3vw, 34px);
}

.twy-live-reviews__feed-heading {
	display: flex;
	justify-content: space-between;
	gap: 18px;
	align-items: flex-end;
	margin-bottom: 22px;
}

.twy-live-reviews__feed-heading h3,
.twy-live-reviews__form-heading h3 {
	margin: 5px 0 0;
	color: var(--twy-primary);
	font-size: clamp(22px, 3vw, 30px);
	line-height: 1.2;
}

.twy-live-reviews__verified {
	flex: 0 0 auto;
	display: inline-flex;
	align-items: center;
	gap: 7px;
	padding: 8px 11px;
	border-radius: 999px;
	background: #eef8f2;
	color: #28734b;
	font-size: 12px;
	font-weight: 700;
	white-space: nowrap;
}

.twy-live-reviews__verified > span,
.twy-live-reviews__verified-badge > span {
	display: inline-grid;
	place-items: center;
	width: 18px;
	height: 18px;
	border-radius: 50%;
	background: #2f9d67;
	color: #fff;
	font-size: 11px;
}

.twy-live-reviews__cards {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 16px;
}

.twy-live-reviews__card {
	position: relative;
	min-width: 0;
	padding: 20px;
	border: 1px solid var(--twy-line);
	border-radius: 16px;
	background: #fff;
	box-shadow: 0 9px 24px rgba(8, 42, 77, .055);
	transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
	animation: twyReviewIn .42s ease both;
}

.twy-live-reviews__card:hover {
	transform: translateY(-3px);
	border-color: color-mix(in srgb, var(--twy-accent) 38%, #e4eaf1);
	box-shadow: 0 15px 34px rgba(8, 42, 77, .1);
}

@keyframes twyReviewIn {
	from { opacity: 0; transform: translateY(10px); }
	to { opacity: 1; transform: translateY(0); }
}

.twy-live-reviews__card-top {
	display: grid;
	grid-template-columns: 48px minmax(0, 1fr) auto;
	gap: 12px;
	align-items: center;
}

.twy-live-reviews__avatar {
	width: 48px;
	height: 48px;
	border-radius: 50%;
	object-fit: cover;
	border: 3px solid #fff;
	box-shadow: 0 0 0 2px rgba(255, 138, 31, .2);
}

.twy-live-reviews__avatar--initials {
	display: grid;
	place-items: center;
	background: linear-gradient(135deg, var(--twy-primary), #155d88);
	color: #fff;
	font-size: 15px;
	font-weight: 800;
	letter-spacing: .04em;
}

.twy-live-reviews__person {
	min-width: 0;
}

.twy-live-reviews__person h4 {
	overflow: hidden;
	margin: 0 0 3px;
	color: var(--twy-primary);
	font-size: 15px;
	line-height: 1.25;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.twy-live-reviews__person span {
	color: var(--twy-muted);
	font-size: 11px;
}

.twy-live-reviews__quote {
	color: rgba(255, 138, 31, .22);
	font-family: Georgia, serif;
	font-size: 42px;
	font-weight: 800;
	line-height: .8;
}

.twy-live-reviews__card-stars {
	display: flex;
	gap: 2px;
	margin: 15px 0 9px;
}

.twy-live-reviews__card-stars span {
	color: #d7dde5;
	font-size: 14px;
}

.twy-live-reviews__card-stars .is-filled {
	color: var(--twy-accent);
}

.twy-live-reviews__card > p {
	margin: 0;
	color: #435269;
	font-size: 14px;
	line-height: 1.72;
	overflow-wrap: anywhere;
}

.twy-live-reviews__card-footer {
	margin-top: 15px;
	padding-top: 13px;
	border-top: 1px solid #edf1f5;
}

.twy-live-reviews__verified-badge {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	color: #587066;
	font-size: 11px;
	font-weight: 700;
}

.twy-live-reviews__verified-badge > span {
	width: 16px;
	height: 16px;
	font-size: 9px;
}

.twy-live-reviews__empty {
	grid-column: 1 / -1;
	padding: 48px 20px;
	border: 1px dashed #ced7e1;
	border-radius: 16px;
	text-align: center;
	background: var(--twy-soft);
}

.twy-live-reviews__empty-icon {
	display: grid;
	place-items: center;
	width: 54px;
	height: 54px;
	margin: 0 auto 14px;
	border-radius: 50%;
	background: #fff2e6;
	color: var(--twy-accent);
	font-size: 22px;
}

.twy-live-reviews__empty h4 {
	margin: 0 0 7px;
	color: var(--twy-primary);
	font-size: 18px;
}

.twy-live-reviews__empty p {
	margin: 0;
	color: var(--twy-muted);
	font-size: 14px;
}

.twy-live-reviews__form-panel {
	position: sticky;
	top: 24px;
	overflow: hidden;
}

.twy-live-reviews__form-panel::before {
	content: "";
	display: block;
	height: 5px;
	background: linear-gradient(90deg, var(--twy-accent), #ffbb62);
}

.twy-live-reviews__form-heading {
	display: flex;
	gap: 13px;
	align-items: center;
	padding: 24px 24px 18px;
	border-bottom: 1px solid var(--twy-line);
	background: linear-gradient(135deg, rgba(8, 42, 77, .035), rgba(255, 138, 31, .05));
}

.twy-live-reviews__form-heading > div > span {
	color: var(--twy-accent);
	font-size: 10px;
	font-weight: 800;
	letter-spacing: .11em;
}

.twy-live-reviews__form-heading h3 {
	font-size: 24px;
}

.twy-live-reviews__form-icon {
	display: grid;
	flex: 0 0 auto;
	place-items: center;
	width: 46px;
	height: 46px;
	border-radius: 14px;
	background: var(--twy-primary);
	color: #fff;
	box-shadow: 0 8px 18px rgba(8, 42, 77, .2);
}

.twy-live-reviews__form {
	padding: 22px 24px 24px;
}

.twy-live-reviews__field {
	margin-bottom: 17px;
}

.twy-live-reviews__field > label:not(.twy-live-reviews__upload) {
	display: block;
	margin-bottom: 7px;
	color: var(--twy-primary);
	font-size: 13px;
	font-weight: 800;
}

.twy-live-reviews__field > label > span {
	color: #dc3f3f;
}

.twy-live-reviews input[type="text"],
.twy-live-reviews textarea {
	display: block;
	width: 100%;
	margin: 0;
	border: 1px solid #dbe3ec;
	border-radius: 11px;
	outline: 0;
	background: #fbfcfe;
	color: var(--twy-text);
	font: inherit;
	font-size: 14px;
	line-height: 1.5;
	transition: border-color .2s ease, box-shadow .2s ease, background .2s ease;
}

.twy-live-reviews input[type="text"] {
	height: 47px;
	padding: 0 14px;
}

.twy-live-reviews textarea {
	min-height: 132px;
	padding: 12px 14px;
	resize: vertical;
}

.twy-live-reviews input[type="text"]:focus,
.twy-live-reviews textarea:focus {
	border-color: var(--twy-accent);
	background: #fff;
	box-shadow: 0 0 0 3px rgba(255, 138, 31, .13);
}

.twy-live-reviews__field > small {
	display: block;
	margin-top: 6px;
	color: #8995a5;
	font-size: 10px;
	text-align: right;
}

.twy-live-reviews__stars {
	display: flex;
	gap: 4px;
	align-items: center;
}

.twy-live-reviews__stars button {
	appearance: none;
	padding: 0;
	border: 0;
	background: transparent;
	color: #d5dbe3;
	cursor: pointer;
	font-size: 28px;
	line-height: 1;
	transition: color .16s ease, transform .16s ease;
}

.twy-live-reviews__stars button:hover,
.twy-live-reviews__stars button:focus-visible {
	transform: scale(1.08);
	outline: 0;
}

.twy-live-reviews__stars button.is-active {
	color: var(--twy-accent);
}

.twy-live-reviews__upload {
	display: flex;
	align-items: center;
	gap: 13px;
	min-height: 74px;
	padding: 11px;
	border: 1px dashed #c8d3df;
	border-radius: 12px;
	background: var(--twy-soft);
	cursor: pointer;
	transition: border-color .2s ease, background .2s ease;
}

.twy-live-reviews__upload:hover {
	border-color: var(--twy-accent);
	background: #fff8f1;
}

.twy-live-reviews__upload input {
	position: absolute;
	width: 1px;
	height: 1px;
	overflow: hidden;
	opacity: 0;
	pointer-events: none;
}

.twy-live-reviews__upload-preview {
	display: grid;
	flex: 0 0 auto;
	place-items: center;
	width: 50px;
	height: 50px;
	overflow: hidden;
	border-radius: 12px;
	background: #fff;
	color: var(--twy-accent);
	box-shadow: 0 4px 12px rgba(8, 42, 77, .08);
	font-size: 24px;
	background-position: center;
	background-size: cover;
}

.twy-live-reviews__upload-preview.has-image {
	color: transparent;
}

.twy-live-reviews__upload-copy {
	min-width: 0;
}

.twy-live-reviews__upload-copy strong,
.twy-live-reviews__upload-copy small {
	display: block;
}

.twy-live-reviews__upload-copy strong {
	margin-bottom: 4px;
	color: var(--twy-primary);
	font-size: 13px;
}

.twy-live-reviews__upload-copy small {
	color: var(--twy-muted);
	font-size: 10px;
	line-height: 1.45;
}

.twy-live-reviews__honeypot {
	position: absolute !important;
	left: -9999px !important;
	width: 1px !important;
	height: 1px !important;
	overflow: hidden !important;
}

.twy-live-reviews__notice {
	display: none;
	margin: 0 0 13px;
	padding: 10px 12px;
	border-radius: 10px;
	font-size: 12px;
	font-weight: 700;
	line-height: 1.45;
}

.twy-live-reviews__notice.is-success {
	display: block;
	background: #edf9f1;
	color: #237045;
}

.twy-live-reviews__notice.is-error {
	display: block;
	background: #fff0f0;
	color: #a73030;
}

.twy-live-reviews__submit {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	width: 100%;
	min-height: 49px;
	padding: 12px 18px;
	border: 0;
	border-radius: 11px;
	background: linear-gradient(135deg, var(--twy-accent), #ff9f3f);
	color: #fff;
	box-shadow: 0 10px 24px rgba(255, 138, 31, .25);
	cursor: pointer;
	font: inherit;
	font-size: 14px;
	font-weight: 800;
	transition: transform .2s ease, box-shadow .2s ease, opacity .2s ease;
}

.twy-live-reviews__submit:hover {
	transform: translateY(-2px);
	box-shadow: 0 14px 28px rgba(255, 138, 31, .3);
}

.twy-live-reviews__submit:disabled {
	cursor: wait;
	opacity: .72;
	transform: none;
}

.twy-live-reviews__privacy {
	display: flex;
	justify-content: center;
	gap: 6px;
	margin: 12px 0 0;
	color: #8995a5;
	font-size: 10px;
	line-height: 1.45;
	text-align: center;
}

@media (max-width: 980px) {
	.twy-live-reviews__layout {
		grid-template-columns: 1fr;
	}

	.twy-live-reviews__form-panel {
		position: static;
	}

	.twy-live-reviews__cards {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 680px) {
	.twy-live-reviews {
		padding: 48px 12px;
	}

	.twy-live-reviews__header {
		margin-bottom: 26px;
	}

	.twy-live-reviews__layout {
		gap: 18px;
	}

	.twy-live-reviews__feed,
	.twy-live-reviews__form-panel {
		border-radius: 16px;
	}

	.twy-live-reviews__feed {
		padding: 18px 14px;
	}

	.twy-live-reviews__feed-heading {
		display: block;
	}

	.twy-live-reviews__verified {
		margin-top: 12px;
	}

	.twy-live-reviews__cards {
		grid-template-columns: 1fr;
	}

	.twy-live-reviews__card {
		padding: 17px;
	}

	.twy-live-reviews__form-heading {
		padding: 20px 16px 16px;
	}

	.twy-live-reviews__form {
		padding: 18px 16px 20px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.twy-live-reviews__card,
	.twy-live-reviews__submit,
	.twy-live-reviews__stars button {
		animation: none;
		transition: none;
	}
}
