/* Trip Gallery — built from the Lanka@Travel Personal Guide design system */
.tg-wrap {
	--tg-bg: #FFFFFF;
	--tg-surface: #F6F7F1;
	--tg-ink: #1C2027;
	--tg-accent: #F0A430;
	--tg-accent2: #7CB93F;
	--tg-body: #5B6270;
	--tg-line: rgba(28, 32, 39, .10);
	--tg-tint-warm: #FCEBD4;
	font-family: 'Plus Jakarta Sans', -apple-system, sans-serif;
	color: var(--tg-body);
	background: var(--tg-bg);
	-webkit-font-smoothing: antialiased;
}

.tg-wrap * { box-sizing: border-box; }

.tg-intro {
	max-width: 720px;
	margin: 0 auto;
	padding: 64px 32px 40px;
	text-align: center;
}
.tg-eyebrow {
	display: inline-block;
	font-family: 'Poppins', sans-serif;
	font-weight: 700;
	font-size: 12px;
	letter-spacing: 1.4px;
	text-transform: uppercase;
	color: var(--tg-accent);
	margin-bottom: 14px;
}
.tg-intro__title {
	font-family: 'Poppins', sans-serif;
	font-weight: 700;
	color: var(--tg-ink);
	font-size: clamp(30px, 4.4vw, 44px);
	line-height: 1.1;
	letter-spacing: -.5px;
	margin: 0 0 14px;
}
.tg-intro__sub {
	font-size: 16px;
	line-height: 1.7;
	color: var(--tg-body);
	margin: 0;
}

.tg-empty {
	text-align: center;
	padding: 40px 20px 80px;
	color: var(--tg-body);
	font-size: 15px;
}

/* ---- Trip section ---- */
.tg-trip { padding: 48px 0; }
.tg-trip--alt { background: var(--tg-surface); }
.tg-trip__inner {
	max-width: 960px;
	margin: 0 auto;
	padding: 0 32px;
}

.tg-trip__head {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	gap: 8px 20px;
	margin-bottom: 20px;
}
.tg-trip__title {
	font-family: 'Poppins', sans-serif;
	font-weight: 700;
	color: var(--tg-ink);
	font-size: clamp(22px, 3vw, 28px);
	letter-spacing: -.3px;
	margin: 0;
}

.tg-rating { display: inline-flex; align-items: center; gap: 8px; }
.tg-stars { display: inline-flex; gap: 2px; font-size: 15px; line-height: 1; }
.tg-star { color: var(--tg-line); }
.tg-star--full { color: var(--tg-accent); }
.tg-rating__text { font-size: 13px; font-weight: 600; color: var(--tg-body); }

/* ---- Photo grid ---- */
.tg-gallery {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 16px;
	margin-bottom: 28px;
}
.tg-gallery__item {
	display: block;
	border-radius: 16px;
	overflow: hidden;
	aspect-ratio: 4 / 3;
}
.tg-gallery__item img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	transition: transform .5s cubic-bezier(.21, .61, .35, 1);
}
.tg-gallery__item:hover img { transform: scale(1.05); }

/* ---- Reviews ---- */
.tg-reviews__list {
	list-style: none;
	margin: 0 0 20px;
	padding: 0;
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
	gap: 14px;
}
.tg-review {
	background: var(--tg-bg);
	border-radius: 16px;
	padding: 18px 20px;
}
.tg-trip--alt .tg-review { background: var(--tg-bg); }
.tg-review__top {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 10px;
	margin-bottom: 8px;
}
.tg-review__author {
	font-family: 'Poppins', sans-serif;
	font-weight: 600;
	color: var(--tg-ink);
	font-size: 14px;
}
.tg-review__stars { font-size: 12px; }
.tg-review__text {
	font-size: 14.5px;
	line-height: 1.65;
	color: var(--tg-body);
	margin: 0 0 10px;
}
.tg-review__date {
	font-size: 12px;
	color: var(--tg-body);
	opacity: .7;
}
.tg-reviews__empty {
	font-size: 14.5px;
	color: var(--tg-body);
	margin: 0 0 20px;
}

/* ---- Buttons ---- */
.tg-btn {
	font-family: 'Poppins', sans-serif;
	font-weight: 600;
	font-size: 14px;
	border-radius: 999px;
	padding: 12px 26px;
	cursor: pointer;
	display: inline-flex;
	align-items: center;
	gap: 8px;
	transition: opacity .2s, background .2s;
}
.tg-btn--solid {
	background: var(--tg-accent);
	color: #fff;
	border: none;
}
.tg-btn--solid:hover { opacity: .9; }
.tg-btn--ghost {
	background: transparent;
	color: var(--tg-ink);
	border: 2px solid var(--tg-accent2);
}
.tg-btn--ghost:hover { background: var(--tg-tint-warm); border-color: var(--tg-accent); }

/* ---- Review form ---- */
.tg-review-form {
	margin-top: 20px;
	max-width: 480px;
	display: flex;
	flex-direction: column;
	gap: 16px;
}
.tg-field { display: flex; flex-direction: column; gap: 6px; }
.tg-field label,
.tg-field__label {
	font-family: 'Poppins', sans-serif;
	font-weight: 600;
	font-size: 13px;
	color: var(--tg-ink);
}
.tg-field input[type=text],
.tg-field textarea {
	font-family: 'Plus Jakarta Sans', sans-serif;
	font-size: 14.5px;
	color: var(--tg-ink);
	border: 1px solid var(--tg-line);
	border-radius: 8px;
	padding: 11px 14px;
	background: var(--tg-bg);
	resize: vertical;
}
.tg-field input[type=text]:focus,
.tg-field textarea:focus {
	outline: none;
	border-color: var(--tg-accent);
}
.tg-field--hp {
	position: absolute;
	left: -9999px;
	width: 1px;
	height: 1px;
	overflow: hidden;
}

.tg-star-picker { display: inline-flex; gap: 4px; }
.tg-star-picker__btn {
	background: none;
	border: none;
	cursor: pointer;
	font-size: 24px;
	line-height: 1;
	color: var(--tg-line);
	padding: 2px;
}
.tg-star-picker__btn.is-active,
.tg-star-picker__btn:hover { color: var(--tg-accent); }

.tg-review-form__error {
	color: #C0392B;
	font-size: 13px;
	margin: 0;
}
.tg-review-form__success {
	color: var(--tg-accent2);
	font-size: 13.5px;
	font-weight: 600;
	margin: 0;
}

/* ---- Lightbox ---- */
.tg-lightbox {
	position: fixed;
	inset: 0;
	background: rgba(28, 32, 39, .92);
	display: flex;
	align-items: center;
	justify-content: center;
	opacity: 0;
	visibility: hidden;
	transition: opacity .25s;
	z-index: 99999;
	padding: 32px;
}
.tg-lightbox.is-open { opacity: 1; visibility: visible; }
.tg-lightbox img {
	max-width: 100%;
	max-height: 100%;
	border-radius: 12px;
}
.tg-lightbox__close {
	position: absolute;
	top: 20px;
	right: 28px;
	background: none;
	border: none;
	color: #fff;
	font-size: 34px;
	line-height: 1;
	cursor: pointer;
}

/* ---- Responsive ---- */
@media (max-width: 700px) {
	.tg-gallery { grid-template-columns: repeat(2, 1fr); }
	.tg-intro { padding: 48px 20px 28px; }
	.tg-trip__inner { padding: 0 20px; }
	.tg-reviews__list { grid-template-columns: 1fr; }
}
@media (max-width: 440px) {
	.tg-gallery { grid-template-columns: 1fr; }
}
