/* Trip archives and destination pages: WP Travel Engine 6.8 markup styled like the
   5.7.9 archive the site launched with. Behaviour added by the plugin update (search,
   collapsible filters below 1025px, departures, availability months) is kept. */

/* Filter sidebar */
@media (min-width: 1025px) {
	#wp-travel-trip-wrapper .wp-travel-engine-archive-outer-wrap .advanced-search-wrapper { flex: 0 0 255px; max-width: 255px; }
	#wp-travel-trip-wrapper .wp-travel-engine-archive-outer-wrap .advanced-search-wrapper + .wp-travel-engine-archive-repeater-wrap { max-width: calc(100% - 255px); padding-left: 30px !important; }
	#wp-travel-trip-wrapper .wp-travel-inner-wrapper .advanced-search-wrapper .sidebar {
		background: #fff;
		box-shadow: 0 4px 8px rgba(0, 0, 0, .04), 0 0 2px rgba(0, 0, 0, .06), 0 0 1px rgba(0, 0, 0, .04) !important;
		padding: 24px 16px;
	}
}
#wp-travel-trip-wrapper .advanced-search-wrapper .advanced-search-header { padding-bottom: 24px; margin-bottom: 24px; border-bottom: 1px solid rgba(0, 0, 0, .07); }
#wp-travel-trip-wrapper .advanced-search-wrapper .advanced-search-header h2 { font-size: 20px; font-weight: 500; line-height: 24px; color: #000; }
#wp-travel-trip-wrapper .advanced-search-wrapper .clear-search-criteria { font-size: 14px; font-weight: 400; line-height: 21px; color: rgba(0, 0, 0, .6); }
#wp-travel-trip-wrapper .advanced-search-wrapper .advanced-search-field { padding-bottom: 24px; margin-bottom: 24px; border-bottom: 1px solid rgba(0, 0, 0, .07); }
#wp-travel-trip-wrapper .advanced-search-wrapper .advanced-search-field:last-child { padding-bottom: 0; margin-bottom: 0; border-bottom: 0; }
#wp-travel-trip-wrapper .advanced-search-wrapper .filter-section-title { font-size: 16px; font-weight: 600; line-height: 1.2; color: #232323; margin: 8px 0 0; }
#wp-travel-trip-wrapper .advanced-search-wrapper .filter-section-content { margin-top: 15px; }
#wp-travel-trip-wrapper .advanced-search-wrapper .wte-search-terms-list li { margin-bottom: 20px; font-size: 14px; line-height: 1; }
#wp-travel-trip-wrapper .advanced-search-wrapper .wte-search-terms-list li:last-child { margin-bottom: 0; }
#wp-travel-trip-wrapper .advanced-search-wrapper .wte-search-terms-list label { font-size: 14px; color: #333; }
#wp-travel-trip-wrapper .advanced-search-wrapper .wte-search-terms-list .count { font-size: 14px; color: #333; }
#wp-travel-trip-wrapper .advanced-search-wrapper .wpte-slider-values { font-size: 13px; font-weight: 400; line-height: 1.5; color: rgba(35, 35, 35, .7); margin-top: 10px; }

/* Toolbar: keep the search box, present sort as plain text like before */
#wp-travel-trip-wrapper .wp-travel-engine-archive-repeater-wrap .wpte-toolbar-container { padding-block: 24px 16px; }
#wp-travel-trip-wrapper .wp-travel-engine-archive-repeater-wrap .wpte-trip-search-input input {
	background: #fff;
	border: 1px solid rgba(0, 0, 0, .1);
	border-radius: 4px !important;
	font-size: 14px;
}
#wp-travel-trip-wrapper .wp-travel-engine-archive-repeater-wrap .wte-filterby-dropdown.wte-ordering { background: transparent; border: 0; padding: 0; }
#wp-travel-trip-wrapper .wp-travel-engine-archive-repeater-wrap .wte-filterby-dropdown.wte-ordering > span { font-size: 14px; font-weight: 400; color: #000; }
#wp-travel-trip-wrapper .wp-travel-engine-archive-repeater-wrap .wte-filterby-dropdown .wpte__input { font-size: 14px; font-weight: 400; color: rgba(0, 0, 0, .8); }

/* Trip card */
#wp-travel-trip-wrapper .category-main-wrap .category-trips-single.wpte_new-layout .category-trips-single-inner-wrap {
	border-radius: 4px;
	box-shadow: 0 4px 8px rgba(0, 0, 0, .04), 0 0 2px rgba(0, 0, 0, .06), 0 0 1px rgba(0, 0, 0, .04);
	padding: 32px 24px 24px !important;
}
#wp-travel-trip-wrapper .category-main-wrap .category-trips-single .category-trip-fig a,
#wp-travel-trip-wrapper .category-main-wrap .category-trips-single .category-trip-fig img { border-radius: 4px !important; }
#wp-travel-trip-wrapper .category-main-wrap .category-trips-single .category-trip-title { font-size: 24px; font-weight: 600; line-height: 1.25; margin-bottom: 12px; }
#wp-travel-trip-wrapper .category-main-wrap .category-trips-single .category-trip-desc { padding-left: 0; border-left: 0; margin: 4px 0 16px; color: #333; }
#wp-travel-trip-wrapper .category-main-wrap .category-trips-single .category-trip-desti { gap: 12px; }
#wp-travel-trip-wrapper .category-main-wrap .category-trips-single .category-trip-desti i { color: #333; }
#wp-travel-trip-wrapper .category-main-wrap .category-trips-single .category-trip-desti span { color: rgba(0, 0, 0, .6); }
#wp-travel-trip-wrapper .category-main-wrap .category-trips-single .category-trip-desti a { color: rgba(35, 35, 35, .7); }
#wp-travel-trip-wrapper .category-main-wrap .category-trips-single .wpte-trip-duration { font-size: 14px; color: rgba(0, 0, 0, .6); }
#wp-travel-trip-wrapper .category-main-wrap .category-trips-single .wpte-trip-duration-value { color: #333; }
#wp-travel-trip-wrapper .category-main-wrap .category-trips-single .wpte-button-group .wpte-button {
	border-radius: 5px;
	padding: 14px 40px;
	font-size: 16px;
	font-weight: 500;
	line-height: 20px;
}
#wp-travel-trip-wrapper .category-main-wrap .category-trips-single .category-trip-dates,
#wp-travel-trip-wrapper .category-main-wrap .category-trips-single .category-trip-start-date { font-size: 14px; color: rgba(0, 0, 0, .6); }
#wp-travel-trip-wrapper .category-main-wrap .category-trips-single .category-trip-aval-time { margin-top: 32px; padding-top: 22px; }
#wp-travel-trip-wrapper .category-main-wrap .category-trips-single .category-available-trip-text { font-size: 14px; font-weight: 500; color: rgba(0, 0, 0, .4); }

/* Card details in the launch order: title, destinations and travellers, then the excerpt */
#wp-travel-trip-wrapper .category-main-wrap .category-trips-single .category-trip-prc-wrap { display: flex !important; flex-direction: column; gap: 16px; }
#wp-travel-trip-wrapper .category-main-wrap .category-trips-single .category-trip-prc-wrap .category-trip-desti { order: 1; margin-bottom: 16px; }
#wp-travel-trip-wrapper .category-main-wrap .category-trips-single .category-trip-prc-wrap .category-trip-desc { order: 2; margin: 0; }
#wp-travel-trip-wrapper .category-main-wrap .category-trips-single .wpte-button-group .wpte-button { width: auto; flex: 0 0 auto; }

/* Breathing room before the footer, matching the site's block spacing */
#wp-travel-trip-wrapper.trip-content-area { padding-bottom: 60px; }
@media (max-width: 767px) {
	#wp-travel-trip-wrapper.trip-content-area { padding-bottom: 30px; }
}
