/* ═══════════════════════════════════════════════════════
   TETON TROUTFITTERS — HOMEPAGE CSS
   All homepage overrides. Scoped with .tt- prefix.
   Loaded conditionally on the front page only.
   ═══════════════════════════════════════════════════════ */


/* ── Hero ──────────────────────────────────────────────── */

.tt-hero .elementor-column {
	align-items: flex-end;
}


/* ── Stats Strip ───────────────────────────────────────── */

.tt-stats-col + .tt-stats-col {
	border-left: 0.5px solid rgba(11, 26, 44, 0.18);
}


/* ── Trip Cards ────────────────────────────────────────── */

.tt-trip-card {
	background: #0B1A2C;
	border-radius: 6px;
	overflow: hidden;
}

.tt-trip-card__img {
	position: relative;
	overflow: hidden;
}

.tt-trip-card__badge {
	position: absolute;
	top: 12px;
	left: 12px;
	font-size: 9px;
	letter-spacing: 0.10em;
	text-transform: uppercase;
	background: #C49A3C;
	color: #070F1A;
	padding: 3px 8px;
	border-radius: 3px;
	font-weight: 700;
}

/* Teal badge variant — applied via post_class filter */
.tt-badge-teal .tt-trip-card__badge {
	background: #2B7A6F;
	color: rgba(242, 237, 226, 0.95);
}

/* Featured card spans two grid columns */
.tt-trip-featured {
	grid-column: span 2;
}

.tt-trip-card__river-tag {
	display: inline-flex;
	align-items: center;
	gap: 5px;
	font-size: 9px;
	letter-spacing: 0.10em;
	text-transform: uppercase;
	color: #3A9B8E;
	margin-bottom: 10px;
}


/* ── Authority Section — Report Chip Overlay ───────────── */

.tt-authority__img {
	position: relative;
	overflow: hidden;
}

.tt-authority__report-chip {
	position: absolute;
	bottom: 20px;
	left: 20px;
	right: 20px;
	background: #070F1A;
	border: 0.5px solid rgba(255, 255, 255, 0.13);
	border-left: 3px solid #2B7A6F;
	border-radius: 5px;
	padding: 14px 16px;
	display: flex;
	align-items: center;
	justify-content: space-between;
}


/* ── Conditions Strip ──────────────────────────────────── */

.tt-conditions-data {
	border-left: 0.5px solid rgba(255, 255, 255, 0.13);
	border-right: 0.5px solid rgba(255, 255, 255, 0.13);
	padding: 0 24px;
}


/* ── Google Reviews Plugin Overrides ───────────────────── */
/* Selectors target Widgets for Google Reviews plugin.
   Inspect rendered output to confirm class names match
   the installed plugin version — adjust if needed. */

.tt-reviews-widget .review-card,
.tt-reviews-widget .reviews-widget-google__review {
	background: #F7F4EF !important;
	border-radius: 6px !important;
	border: 0.5px solid rgba(0, 0, 0, 0.07) !important;
	padding: 24px !important;
}

.tt-reviews-widget .reviewer-name,
.tt-reviews-widget .reviews-widget-google__name {
	font-size: 12px !important;
	font-weight: 700 !important;
	color: #0B1A2C !important;
}

.tt-reviews-widget .review-text,
.tt-reviews-widget .reviews-widget-google__text {
	font-size: 13px !important;
	color: #142236 !important;
	line-height: 1.7 !important;
	font-style: italic !important;
}

.tt-reviews-widget .star,
.tt-reviews-widget .reviews-widget-google__star {
	color: #C49A3C !important;
	fill: #C49A3C !important;
}

/* Hide plugin branding */
.tt-reviews-widget .reviews-widget-google__branding {
	display: none !important;
}


/* ── Instagram Feed (Spotlight Plugin) Overrides ───────── */
/* Targets Spotlight Social Photo Feeds class names.
   Inspect rendered output to confirm selectors match
   the installed plugin version — adjust if needed. */

.tt-instagram-feed .sli-photo-wrap {
	border-radius: 4px;
	overflow: hidden;
}

.tt-instagram-feed .sli-photo {
	aspect-ratio: 1 / 1;
	object-fit: cover;
}

/* Hide feed header and load-more button */
.tt-instagram-feed .sli-header {
	display: none;
}

.tt-instagram-feed .sli-load-more {
	display: none;
}


/* ── Responsive ────────────────────────────────────────── */

@media (max-width: 767px) {
	/* Featured trip card falls back to single column on mobile */
	.tt-trip-featured {
		grid-column: span 1;
	}

	/* Conditions strip data panel stacks */
	.tt-conditions-data {
		border-left: none;
		border-right: none;
		border-top: 0.5px solid rgba(255, 255, 255, 0.13);
		padding: 16px 0 0;
	}
}
