/* ==========================================================================
   CALAIO TOURS - MASTER PLUGIN STYLES
   Qualis Partum - Calaio Viajes y Turismo
   ========================================================================== */

/* ==========================================================================
   1. HERO SEARCH FORM COMPONENT (PHASE 1)
   ========================================================================== */

.calaio-hero-search-container {
	width: 100%;
	max-width: 900px;
	margin: 0 auto;
	position: relative;
	z-index: 99;
}

.calaio-hero-search-form {
	display: flex;
	flex-direction: row;
	align-items: center;
	background-color: #ffffff;
	border-radius: 4px;
	border: 1px solid rgba(0, 0, 0, 0.2);
	box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
	position: relative;
}

.calaio-select-field {
	flex: 1;
	display: flex;
	align-items: center;
	position: relative;
	border-right: 1px solid rgba(0, 0, 0, 0.15);
	padding: 0 35px 0 15px;
	height: 52px;
	background: #ffffff;
	cursor: pointer;
	box-sizing: border-box;
}

.calaio-select-field:last-of-type {
	border-right: none;
}

.calaio-search-icon {
	display: flex;
	align-items: center;
	justify-content: center;
	color: #64748b;
	margin-right: 10px;
	flex-shrink: 0;
}

.calaio-select-input {
	width: 100%;
	height: 100%;
	border: none !important;
	outline: none !important;
	box-shadow: none !important;
	background: transparent;
	font-size: 15px;
	font-weight: 500;
	color: #1e293b;
	cursor: pointer;
	text-overflow: ellipsis;
	white-space: nowrap;
	overflow: hidden;
	padding: 0;
}

.calaio-select-arrow {
	width: 16px;
	height: 16px;
	position: absolute;
	right: 12px;
	top: 50%;
	transform: translateY(-50%);
	background-image: url("data:image/svg+xml,%3Csvg width='12' height='8' viewBox='0 0 12 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1.5L6 6.5L11 1.5' stroke='%2364748b' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: center;
	transition: transform 0.25s ease;
	pointer-events: none;
}

.calaio-select-field.is-open .calaio-select-arrow {
	transform: translateY(-50%) rotate(180deg);
}

.calaio-select-dropdown {
	position: absolute;
	top: calc(100% + 4px);
	left: 0;
	width: 100%;
	min-width: 210px;
	background: #ffffff;
	border-radius: 4px;
	box-shadow: 0 16px 24px rgba(0, 0, 0, 0.12);
	padding: 8px 0;
	z-index: 99999;
	visibility: hidden;
	opacity: 0;
	transform: translateY(-8px) scaleY(0.96);
	transform-origin: top;
	transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.calaio-select-field.is-open .calaio-select-dropdown {
	visibility: visible;
	opacity: 1;
	transform: translateY(0) scaleY(1);
}

.calaio-select-dropdown ul {
	list-style: none !important;
	margin: 0 !important;
	padding: 0 !important;
	max-height: 280px;
	overflow-y: auto;
	scrollbar-width: thin;
	scrollbar-color: #cbd5e1 #f1f5f9;
}

.calaio-select-dropdown ul::-webkit-scrollbar {
	width: 6px;
}

.calaio-select-dropdown ul::-webkit-scrollbar-track {
	background: #f1f5f9;
	border-radius: 10px;
}

.calaio-select-dropdown ul::-webkit-scrollbar-thumb {
	background: #cbd5e1;
	border-radius: 10px;
}

.calaio-select-dropdown ul li {
	margin: 0 !important;
	padding: 0 !important;
}

.calaio-select-dropdown ul li span {
	display: block;
	padding: 10px 16px;
	font-size: 14px;
	color: #334155;
	cursor: pointer;
	transition: background 0.15s ease, color 0.15s ease;
	line-height: 1.4;
}

.calaio-select-dropdown ul li:hover span {
	background-color: #efefef;
	color: #0f172a;
}

.calaio-select-dropdown ul li.selected span {
	background-color: #f1b317;
	color: #1e293b;
	font-weight: 600;
}

.calaio-hero-search-submit-wrap {
	flex: 0 0 auto;
}

.calaio-hero-search-btn {
	height: 52px;
	padding: 0 35px;
	background-color: #f1b317;
	color: #1e293b;
	font-size: 15px;
	font-weight: 700;
	border: none;
	border-radius: 0 4px 4px 0;
	cursor: pointer;
	transition: background-color 0.2s ease;
	display: inline-flex;
	align-items: center;
	justify-content: center;
}

.calaio-hero-search-btn:hover {
	background-color: #e0a20f;
}

@media (max-width: 768px) {
	.calaio-hero-search-form {
		flex-direction: column;
		border-radius: 6px;
	}
	.calaio-select-field {
		width: 100%;
		border-right: none;
		border-bottom: 1px solid rgba(0, 0, 0, 0.15);
	}
	.calaio-hero-search-submit-wrap {
		width: 100%;
	}
	.calaio-hero-search-btn {
		width: 100%;
		border-radius: 0 0 6px 6px;
	}
}

/* ==========================================================================
   2. DESTINATION VISUAL ARCHIVE PAGE (/destination/) (PHASE 2)
   ========================================================================== */

.calaio-destination-archive-wrap {
	max-width: 1200px;
	margin: 0 auto;
	padding: 30px 20px 80px;
}

.wp-travel-toolbar {
	display: flex;
	justify-content: flex-end;
	align-items: center;
	margin-bottom: 25px;
}

.calaio-dest-ordering {
	display: flex;
	align-items: center;
	gap: 10px;
	font-size: 14px;
	font-weight: 500;
	color: #64748b;
}

.calaio-dest-select-field {
	position: relative;
	min-width: 110px;
	padding: 6px 28px 6px 12px;
	border: 1px solid #cbd5e1;
	border-radius: 4px;
	background: #ffffff;
	cursor: pointer;
	user-select: none;
	font-size: 14px;
}

.calaio-dest-select-field::after {
	content: "";
	width: 10px;
	height: 6px;
	position: absolute;
	right: 10px;
	top: 50%;
	transform: translateY(-50%);
	background-image: url("data:image/svg+xml,%3Csvg width='10' height='6' viewBox='0 0 10 6' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1L5 5L9 1' stroke='%2364748b' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	transition: transform 0.2s ease;
}

.calaio-dest-select-field.is-open::after {
	transform: translateY(-50%) rotate(180deg);
}

.calaio-dest-sort-dropdown {
	position: absolute;
	top: calc(100% + 4px);
	right: 0;
	width: 100%;
	min-width: 120px;
	background: #ffffff;
	border-radius: 4px;
	box-shadow: 0 8px 20px rgba(0,0,0,0.1);
	border: 1px solid #e2e8f0;
	padding: 4px 0;
	z-index: 1000;
	display: none;
}

.calaio-dest-select-field.is-open .calaio-dest-sort-dropdown {
	display: block;
}

.calaio-dest-sort-dropdown ul {
	list-style: none !important;
	margin: 0 !important;
	padding: 0 !important;
}

.calaio-dest-sort-dropdown ul li.wpte__select-options__label {
	padding: 4px 12px;
	font-size: 11px;
	text-transform: uppercase;
	color: #94a3b8;
	font-weight: 700;
}

.calaio-dest-sort-dropdown ul li span {
	display: block;
	padding: 6px 12px;
	font-size: 13px;
	color: #334155;
	cursor: pointer;
}

.calaio-dest-sort-dropdown ul li:hover span {
	background-color: #f1f5f9;
}

.calaio-dest-sort-dropdown ul li.selected span {
	background-color: #f1b317;
	color: #1e293b;
	font-weight: 600;
}

.calaio-dest-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 30px;
}

.calaio-dest-card {
	background: transparent;
	border: none;
	box-shadow: none;
	display: flex;
	flex-direction: column;
}

.wpte-trip-category-img-wrap {
	position: relative;
	width: 100%;
	aspect-ratio: 1 / 1;
	border-radius: 6px;
	overflow: hidden;
	background: #f1f5f9;
}

.wpte-trip-category-img-wrap figure {
	margin: 0;
	width: 100%;
	height: 100%;
}

.wpte-trip-category-img-wrap img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.4s ease;
	display: block;
}

.calaio-dest-card:hover .wpte-trip-category-img-wrap img {
	transform: scale(1.05);
}

.wpte-trip-category-overlay {
	position: absolute;
	inset: 0;
	background: rgba(15, 23, 42, 0.3);
	opacity: 0;
	transition: opacity 0.25s ease;
	display: flex;
	align-items: center;
	justify-content: center;
}

.calaio-dest-card:hover .wpte-trip-category-overlay {
	opacity: 1;
}

.wpte-trip-cat-btn {
	background-color: #ffffff;
	color: #1e293b;
	font-size: 13px;
	font-weight: 700;
	padding: 8px 20px;
	border-radius: 4px;
	text-decoration: none;
	box-shadow: 0 4px 10px rgba(0,0,0,0.15);
	transition: background-color 0.2s ease, transform 0.2s ease;
}

.wpte-trip-cat-btn:hover {
	background-color: #f1b317;
	transform: scale(1.04);
}

.wpte-trip-category-text-wrap {
	padding: 12px 0 0 0;
}

.wpte-trip-category-title {
	font-size: 20px;
	font-weight: 700;
	margin: 0;
	line-height: 1.3;
	display: flex;
	align-items: baseline;
	flex-wrap: wrap;
	gap: 6px;
}

.wpte-trip-category-title a {
	color: #1e293b;
	text-decoration: none;
	transition: color 0.2s ease;
}

.wpte-trip-category-title a:hover {
	color: #f1b317;
}

.wpte-trip-category-title .trip-count {
	font-size: 13px;
	font-weight: 500;
	color: #64748b;
}

/* ==========================================================================
   3. SINGLE DESTINATION ARCHIVE (/destinations/{slug}/) (PHASE 3)
   ========================================================================== */

.calaio-single-dest-page-wrap {
	max-width: 1240px;
	margin: 0 auto;
	padding: 40px 20px 80px;
}

.calaio-single-dest-header {
	margin-bottom: 30px;
	padding-bottom: 24px;
	border-bottom: 1px solid #e2e8f0;
}

.calaio-single-dest-header .page-title {
	font-size: 54px;
	font-weight: 800;
	color: #1e293b;
	margin: 0 0 16px 0;
	letter-spacing: -0.5px;
}

.calaio-single-dest-header .taxonomy-description p {
	font-size: 14.5px;
	color: #475569;
	line-height: 1.65;
	margin: 0;
}

.calaio-archive-layout {
	display: flex;
	flex-direction: row;
	gap: 40px;
	align-items: flex-start;
}

.calaio-filter-sidebar {
	width: 260px;
	flex-shrink: 0;
	background: transparent;
	border: none;
	padding: 0;
	box-shadow: none;
}

.advanced-search-header {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-bottom: 24px;
	padding-bottom: 0;
	border-bottom: none;
}

.advanced-search-header h2 {
	font-size: 18px !important;
	font-weight: 800 !important;
	margin: 0 !important;
	color: #1e293b !important;
	white-space: nowrap !important;
	line-height: 1.2 !important;
}

.clear-search-criteria {
	background: transparent !important;
	border: none !important;
	color: #1e293b !important;
	font-size: 13px !important;
	font-weight: 600 !important;
	cursor: pointer;
	padding: 0 !important;
	text-decoration: underline !important;
	box-shadow: none !important;
	white-space: nowrap !important;
}

.clear-search-criteria:hover {
	color: #f1b317 !important;
}

.calaio-filter-group {
	margin-bottom: 24px;
	border-bottom: 1px solid #f1f5f9;
	padding-bottom: 18px;
}

.calaio-filter-group:last-child {
	border-bottom: none;
}

.calaio-filter-title {
	font-size: 15px;
	font-weight: 700;
	color: #1e293b;
	margin: 0 0 12px 0;
	display: flex;
	justify-content: space-between;
	align-items: center;
}

.calaio-checkbox-list {
	display: flex;
	flex-direction: column;
	gap: 10px;
}

.calaio-checkbox-label {
	display: flex;
	align-items: center;
	gap: 10px;
	font-size: 14px;
	color: #334155;
	cursor: pointer;
	user-select: none;
}

.calaio-checkbox-label input[type="checkbox"] {
	width: 16px;
	height: 16px;
	accent-color: #293649;
	cursor: pointer;
}

.calaio-checkbox-text {
	flex: 1;
}

.calaio-term-count {
	font-size: 13px;
	color: #64748b;
	margin-left: auto;
}

.calaio-show-more-btn {
	background: none !important;
	border: none !important;
	color: #1e293b !important;
	font-size: 13px !important;
	font-weight: 600 !important;
	cursor: pointer;
	margin-top: 8px;
	padding: 0 !important;
	text-decoration: underline !important;
	box-shadow: none !important;
}

.calaio-show-more-btn:hover {
	color: #f1b317 !important;
}

.is-hidden-item {
	display: none !important;
}

.calaio-range-inputs {
	display: flex;
	gap: 8px;
	margin-bottom: 8px;
}

.calaio-range-inputs input[type="range"] {
	width: 100%;
	accent-color: #293649;
	cursor: pointer;
}

.calaio-range-values {
	display: flex;
	justify-content: space-between;
	font-size: 12px;
	font-weight: 500;
	color: #64748b;
}

.calaio-results-main {
	flex: 1;
	min-width: 0;
}

.calaio-results-toolbar {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-bottom: 25px;
	gap: 20px;
}

.calaio-toolbar-search-wrap {
	flex: 1;
	max-width: 500px;
	position: relative;
	background: #f8fafc;
	border-radius: 4px;
	border: 1px solid #e2e8f0;
	display: flex;
	align-items: center;
}

.calaio-toolbar-search-wrap input {
	width: 100%;
	height: 42px;
	padding: 0 12px 0 38px !important;
	border: none !important;
	background: transparent !important;
	font-size: 14px !important;
	outline: none !important;
	box-shadow: none !important;
	color: #1e293b;
	box-sizing: border-box;
}

.calaio-search-icon-left {
	position: absolute;
	left: 12px;
	top: 50%;
	transform: translateY(-50%);
	color: #64748b;
	display: flex;
	align-items: center;
	justify-content: center;
	pointer-events: none;
	z-index: 1;
}

.calaio-toolbar-actions {
	display: flex;
	align-items: center;
	gap: 16px;
}

.calaio-sort-dropdown-wrap {
	display: flex;
	align-items: center;
	gap: 8px;
	font-size: 14px;
	color: #64748b;
}

.calaio-sort-select {
	position: relative;
	min-width: 170px;
	padding: 8px 30px 8px 14px;
	border: 1px solid #e2e8f0;
	border-radius: 6px;
	background: #ffffff;
	cursor: pointer;
	font-size: 13.5px;
	user-select: none;
}

.calaio-sort-select::after {
	content: "";
	width: 10px;
	height: 6px;
	position: absolute;
	right: 12px;
	top: 50%;
	transform: translateY(-50%);
	background-image: url("data:image/svg+xml,%3Csvg width='10' height='6' viewBox='0 0 10 6' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1L5 5L9 1' stroke='%2364748b' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	transition: transform 0.2s ease;
}

.calaio-sort-select.is-open::after {
	transform: translateY(-50%) rotate(180deg);
}

.calaio-sort-options-menu {
	position: absolute;
	top: calc(100% + 4px);
	right: 0;
	width: 100%;
	min-width: 190px;
	background: #ffffff;
	border-radius: 6px;
	box-shadow: 0 8px 24px rgba(0,0,0,0.12);
	border: 1px solid #e2e8f0;
	padding: 6px 0;
	z-index: 1000;
	display: none;
}

.calaio-sort-select.is-open .calaio-sort-options-menu {
	display: block;
}

.calaio-sort-options-menu ul {
	list-style: none !important;
	margin: 0 !important;
	padding: 0 !important;
}

.calaio-sort-options-menu ul li span {
	display: block;
	padding: 8px 14px;
	font-size: 13.5px;
	color: #334155;
	cursor: pointer;
}

.calaio-sort-options-menu ul li:hover span {
	background-color: #f1f5f9;
}

.calaio-sort-options-menu ul li.selected span {
	background-color: #f1b317;
	color: #1e293b;
	font-weight: 600;
}

.calaio-view-mode-toggle {
	display: flex;
	gap: 6px;
}

.calaio-view-btn {
	background: transparent;
	border: 1px solid #e2e8f0;
	padding: 8px;
	border-radius: 6px;
	cursor: pointer;
	color: #94a3b8;
	display: flex;
	align-items: center;
	justify-content: center;
}

.calaio-view-btn.is-active {
	background: #ffffff;
	color: #1e293b;
	border-color: #cbd5e1;
}

.calaio-trips-grid {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 28px;
}

.calaio-trips-grid.is-list-view {
	grid-template-columns: 1fr;
}

.calaio-trip-card {
	background: #ffffff;
	border-radius: 12px;
	overflow: hidden;
	border: 1px solid #e2e8f0;
	box-shadow: 0 4px 14px rgba(0,0,0,0.04);
	transition: transform 0.25s ease, box-shadow 0.25s ease;
	display: flex;
	flex-direction: column;
}

.calaio-trip-card:hover {
	transform: translateY(-4px);
	box-shadow: 0 14px 28px rgba(0,0,0,0.08);
}

.calaio-trips-grid.is-list-view .wpte-trip-card-inner {
	display: flex;
	flex-direction: row;
}

.calaio-trips-grid.is-list-view .wpte-trip-card-img-wrap {
	width: 320px;
	height: 240px;
	flex-shrink: 0;
}

.wpte-trip-card-img-wrap {
	position: relative;
	width: 100%;
	height: 220px;
	overflow: hidden;
	background: #f1f5f9;
}

.wpte-trip-card-img-wrap figure {
	margin: 0;
	width: 100%;
	height: 100%;
}

.wpte-trip-card-img-wrap img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.4s ease;
	display: block;
}

.calaio-trip-card:hover .wpte-trip-card-img-wrap img {
	transform: scale(1.05);
}

.calaio-wishlist-heart-btn {
	position: absolute;
	top: 14px;
	right: 14px;
	background: rgba(15, 23, 42, 0.45) !important;
	backdrop-filter: blur(4px);
	border: none !important;
	border-radius: 50% !important;
	width: 36px !important;
	height: 36px !important;
	padding: 0 !important;
	display: flex !important;
	align-items: center;
	justify-content: center;
	color: #ffffff !important;
	cursor: pointer;
	transition: background 0.2s ease, transform 0.2s ease;
	z-index: 2;
	box-shadow: none !important;
}

.calaio-wishlist-heart-btn:hover {
	background: rgba(15, 23, 42, 0.7) !important;
	transform: scale(1.1);
}

.wpte-trip-card-content-wrap {
	padding: 20px;
	display: flex;
	flex-direction: column;
	flex: 1;
}

.category-trip-prc-title-wrap {
	margin-bottom: 12px;
}

.wpte-trip-card-title {
	font-size: 17px !important;
	font-weight: 600 !important;
	margin: 0 0 6px 0 !important;
	line-height: 1.35 !important;
}

.wpte-trip-card-title a {
	color: #0f172a !important;
	text-decoration: none !important;
	transition: color 0.2s ease;
}

.wpte-trip-card-title a:hover {
	color: #f1b317 !important;
}

/* See More Details Toggler */
.wpte-details-toggler-button.calaio-details-toggler {
	background: transparent !important;
	border: none !important;
	padding: 0 !important;
	color: #64748b !important;
	font-size: 13px !important;
	font-weight: 500 !important;
	cursor: pointer !important;
	display: inline-flex !important;
	align-items: center !important;
	gap: 6px !important;
	margin-top: 4px !important;
	transition: color 0.2s ease !important;
	box-shadow: none !important;
	outline: none !important;
}

.wpte-details-toggler-button.calaio-details-toggler:hover {
	color: #0f172a !important;
}

.wpte-details-toggler-button.calaio-details-toggler .calaio-toggler-arrow {
	transition: transform 0.2s ease;
}

.wpte-details-toggler-button.calaio-details-toggler.is-active .calaio-toggler-arrow {
	transform: rotate(180deg);
}

.calaio-card-expanded-content {
	margin: 8px 0 14px;
	padding: 10px 12px;
	background: #f8fafc;
	border-radius: 6px;
	border: 1px solid #e2e8f0;
}

.category-trip-desti {
	display: flex;
	flex-direction: column;
	gap: 8px;
	font-size: 13px;
	color: #334155;
}

.category-trip-loc,
.category-trip-difficulty,
.category-trip-pax {
	display: inline-flex;
	align-items: center;
	gap: 8px;
}

.category-trip-loc i,
.category-trip-difficulty i,
.category-trip-pax i {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	color: #64748b;
	width: 18px;
	flex-shrink: 0;
}

.category-trip-loc a {
	color: #1e293b;
	text-decoration: none;
	font-weight: 500;
}

.category-trip-loc a:hover {
	color: #f1b317;
}

.calaio-card-meta-row {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	margin-bottom: 16px;
	margin-top: auto;
}

.calaio-card-dur-block {
	display: flex;
	flex-direction: column;
}

.calaio-card-dur-block .meta-label {
	font-size: 11px;
	color: #94a3b8;
	text-transform: capitalize;
}

.calaio-card-dur-block .meta-val {
	font-size: 15px;
	font-weight: 700;
	color: #1e293b;
}

.calaio-card-price-block .price-val {
	font-size: 22px;
	font-weight: 800;
	color: #0f172a;
}

/* Pill-shaped View Details Button */
.calaio-view-details-btn {
	display: inline-flex !important;
	align-items: center !important;
	justify-content: center !important;
	width: 100% !important;
	height: 42px !important;
	background-color: #1c2b38 !important;
	color: #ffffff !important;
	font-size: 14px !important;
	font-weight: 600 !important;
	border-radius: 50px !important;
	text-decoration: none !important;
	transition: background-color 0.2s ease, transform 0.15s ease !important;
	box-sizing: border-box !important;
	letter-spacing: 0.2px !important;
}

.calaio-view-details-btn:hover {
	background-color: #0f172a !important;
	color: #ffffff !important;
}

.calaio-card-availability-row {
	margin-top: 14px;
	padding-top: 12px;
	border-top: 1px solid #f1f5f9;
}

.calaio-card-availability-row .avail-label {
	font-size: 11px;
	color: #94a3b8;
	margin-bottom: 4px;
	display: block;
}

.avail-months {
	display: flex;
	gap: 6px;
	flex-wrap: wrap;
	align-items: center;
}

.avail-month {
	font-size: 11.5px;
	margin-right: 2px;
	display: inline-block;
}

.avail-month.disabled {
	color: #94a3b8;
	text-decoration: line-through;
	opacity: 0.6;
}

.avail-month.active {
	color: #1e293b;
	font-weight: 600;
	text-decoration: none;
}

/* ==========================================================================
   SINGLE TRIP STYLES (HEADER & WEATHER FORECAST)
   ========================================================================== */
.calaio-single-trip-page-container {
	width: 100%;
}

.calaio-single-trip-hero-wrap {
	width: 100%;
	height: 320px;
	overflow: hidden;
	position: relative;
	background: #1e293b;
}

.calaio-single-hero-img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.calaio-single-trip-inner-wrap,
.calaio-single-trip-wrapper {
	max-width: 1140px;
	margin: 35px auto 60px;
	padding: 0 20px;
	box-sizing: border-box;
}

.calaio-single-trip-header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin-bottom: 30px;
	padding-bottom: 20px;
	border-bottom: 1px solid #e2e8f0;
	gap: 20px;
}

.calaio-single-trip-header .entry-title {
	font-size: 28px !important;
	font-weight: 700 !important;
	color: #1c2b38 !important;
	margin: 0 !important;
	line-height: 1.25 !important;
	flex: 1;
}

.calaio-header-duration {
	display: inline-flex !important;
	flex-direction: column !important;
	align-items: center !important;
	justify-content: center !important;
	background: #2a3a4c !important;
	border-radius: 4px !important;
	padding: 6px 14px !important;
	min-width: 54px !important;
	flex-shrink: 0 !important;
	color: #ffffff !important;
	text-align: center !important;
}

.calaio-header-duration .duration {
	font-size: 20px !important;
	font-weight: 700 !important;
	color: #ffffff !important;
	line-height: 1.1 !important;
}

.calaio-header-duration .days {
	font-size: 11px !important;
	font-weight: 400 !important;
	text-transform: uppercase !important;
	color: #cbd5e1 !important;
	margin-top: 2px !important;
	letter-spacing: 0.5px !important;
}

.calaio-single-trip-grid,
.calaio-single-grid {
	display: flex;
	flex-wrap: wrap;
	gap: 32px;
}

.calaio-single-main-col,
.calaio-single-main-column {
	flex: 1 1 680px;
	min-width: 300px;
}

.calaio-single-sidebar-col,
.calaio-single-sidebar-column {
	flex: 0 0 320px;
	min-width: 280px;
}

/* Weather Widget Styles */
.widget_wte_weather_forecast_widget {
	background: #ffffff;
	border: 1px solid #e2e8f0;
	border-radius: 10px;
	padding: 20px;
	box-shadow: 0 4px 14px rgba(0,0,0,0.04);
}

.widget_wte_weather_forecast_widget .widgettitle {
	font-size: 18px !important;
	font-weight: 700 !important;
	color: #1c2b38 !important;
	margin: 0 0 16px 0 !important;
	padding-bottom: 10px !important;
	border-bottom: 2px solid #f1b317 !important;
}

.wte-weather-forecast-header {
	display: flex;
	align-items: center;
	gap: 12px;
	margin-bottom: 16px;
}

.wte_current_icon img {
	width: 52px;
	height: 52px;
	display: block;
}

.wte_current_temp {
	display: flex;
	flex-direction: column;
}

.wte_header_title {
	font-size: 16px;
	font-weight: 700;
	color: #1c2b38;
}

.wte_temp {
	font-size: 24px;
	font-weight: 800;
	color: #0f172a;
	line-height: 1.1;
}

.wte_temp small {
	font-size: 14px;
	font-weight: 600;
	color: #64748b;
}

.wte_current_text {
	font-size: 13px;
	color: #64748b;
}

.wte_sunrise_sunset {
	background: #f8fafc;
	border-radius: 8px;
	padding: 12px;
	margin-bottom: 14px;
	font-size: 12px;
}

.wte_sunrise_sunset_title {
	font-weight: 600;
	color: #475569;
	margin-bottom: 8px;
}

.wte_sunrise,
.wte_sunset {
	display: flex;
	align-items: center;
	gap: 8px;
	margin-bottom: 6px;
}

.wte_sunrise:last-child,
.wte_sunset:last-child {
	margin-bottom: 0;
}

.wte_sunrise_title,
.wte_sunset_title {
	font-weight: 600;
	color: #334155;
	margin-right: 6px;
}

.wte_sunrise_time,
.wte_sunset_time {
	color: #64748b;
}

.wte_current_conditions {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 8px;
	font-size: 12px;
	color: #475569;
	margin-bottom: 16px;
	background: #f8fafc;
	padding: 12px;
	border-radius: 8px;
}

.wte_daily_forecast {
	margin-bottom: 12px;
}

.wte_daily_forecast_title {
	font-size: 13px;
	font-weight: 700;
	color: #1c2b38;
	display: block;
	margin-bottom: 8px;
}

.wte_forcast_day {
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 6px 0;
	border-bottom: 1px solid #f1f5f9;
	font-size: 12px;
}

.wte_forcast_day:last-child {
	border-bottom: none;
}

.wte_forcast_day img {
	width: 28px;
	height: 28px;
}

.wte-day-wrap {
	display: flex;
	align-items: center;
	justify-content: space-between;
	flex: 1;
}

.wte_day_text {
	font-weight: 600;
	color: #1c2b38;
	min-width: 32px;
}

.wte_temp {
	font-weight: 600;
	color: #475569;
}

.wte-powered-by {
	font-size: 11px;
	color: #94a3b8;
	display: block;
	text-align: center;
	margin-top: 10px;
}

.wte-powered-by a {
	color: #64748b;
	text-decoration: underline;
}

/* ==========================================================================
   4. DESTINATION & PRE/POST CRUISE MEGA MENU (CTA CARD GRID)
   ========================================================================== */

.elementskit-megamenu-panel {
	transition: opacity 0.15s ease, transform 0.15s ease, visibility 0.15s ease !important;
}

.elementskit-menu-container .elementskit-megamenu-has:hover > .elementskit-megamenu-panel {
	display: block !important;
	opacity: 1 !important;
	visibility: visible !important;
}

.calaio-megamenu-wrapper {
	width: 100%;
	background: #141f2d;
	padding: 24px 28px;
	box-shadow: 0 16px 40px rgba(0, 0, 0, 0.35);
	box-sizing: border-box;
}

.calaio-megamenu-grid {
	display: grid;
	gap: 16px;
	max-width: 1240px;
	margin: 0 auto;
}

.calaio-megamenu-grid-5 {
	grid-template-columns: repeat(5, 1fr);
}

.calaio-megamenu-grid-3 {
	grid-template-columns: repeat(3, 1fr);
	max-width: 960px;
	gap: 22px;
}

/* Individual card */
.calaio-megamenu-card {
	position: relative;
	border-radius: 12px;
	overflow: hidden;
	box-shadow: 0 4px 14px rgba(0, 0, 0, 0.2);
	transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.25s ease;
}

.calaio-megamenu-card:hover {
	transform: translateY(-4px);
	box-shadow: 0 10px 24px rgba(0, 0, 0, 0.35);
}

.calaio-megamenu-card-link {
	display: block;
	position: relative;
	text-decoration: none !important;
	border-radius: 12px;
	overflow: hidden;
}

.calaio-megamenu-card-img-wrap {
	position: relative;
	width: 100%;
	height: 220px;
	overflow: hidden;
	border-radius: 12px;
	background: #1e293b;
}

.calaio-megamenu-grid-3 .calaio-megamenu-card-img-wrap {
	height: 230px;
}

/* Background image */
.calaio-megamenu-card-bg {
	position: absolute;
	inset: 0;
	background-size: cover;
	background-position: center;
	background-color: #334155;
	transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.calaio-megamenu-card-link:hover .calaio-megamenu-card-bg {
	transform: scale(1.08);
}

/* Dark gradient overlay for maximum readability */
.calaio-megamenu-card-overlay {
	position: absolute;
	inset: 0;
	background: linear-gradient(
		to top,
		rgba(15, 23, 42, 0.9) 0%,
		rgba(15, 23, 42, 0.35) 45%,
		rgba(15, 23, 42, 0.05) 100%
	);
	z-index: 1;
	transition: opacity 0.25s ease;
}

.calaio-megamenu-card-link:hover .calaio-megamenu-card-overlay {
	background: linear-gradient(
		to top,
		rgba(15, 23, 42, 0.95) 0%,
		rgba(15, 23, 42, 0.45) 50%,
		rgba(15, 23, 42, 0.1) 100%
	);
}

/* Clean title at bottom */
.calaio-megamenu-card-content {
	position: absolute;
	bottom: 0;
	left: 0;
	right: 0;
	padding: 16px 14px;
	z-index: 2;
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
}

.calaio-megamenu-card-title {
	color: #ffffff !important;
	font-size: 18px !important;
	font-weight: 700 !important;
	line-height: 1.25 !important;
	margin: 0 !important;
	padding: 0 !important;
	text-shadow: 0 2px 6px rgba(0, 0, 0, 0.8) !important;
	letter-spacing: 0.2px !important;
	text-align: center !important;
}

/* Responsive: stack on small screens */
@media (max-width: 900px) {
	.calaio-megamenu-grid-5 {
		grid-template-columns: repeat(3, 1fr);
	}
	.calaio-megamenu-grid-3 {
		grid-template-columns: repeat(3, 1fr);
	}
}

@media (max-width: 600px) {
	.calaio-megamenu-grid-5,
	.calaio-megamenu-grid-3 {
		grid-template-columns: repeat(2, 1fr);
	}
	.calaio-megamenu-card-img-wrap {
		height: 170px;
	}
}

@media (max-width: 900px) {
	.calaio-archive-layout {
		flex-direction: column;
	}
	.calaio-filter-sidebar {
		width: 100%;
	}
	.calaio-trips-grid {
		grid-template-columns: 1fr;
	}
}

/* ==========================================================================
   PAGINATION STYLES (MATCHING PRODUCTION)
   ========================================================================== */
.trip-pagination,
.calaio-pagination {
	margin: 40px 0 20px;
	text-align: center;
	width: 100%;
}

.trip-pagination .nav-links,
.calaio-pagination .nav-links {
	display: flex;
	justify-content: center;
	align-items: center;
	gap: 6px;
	flex-wrap: wrap;
}

.trip-pagination .page-numbers,
.calaio-pagination .page-numbers {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 36px;
	height: 36px;
	padding: 0 12px;
	border: 1px solid #e2e8f0;
	border-radius: 4px;
	color: #1e293b;
	font-weight: 500;
	font-size: 14px;
	text-decoration: none;
	background: #ffffff;
	transition: all 0.2s ease;
	cursor: pointer;
	user-select: none;
}

.trip-pagination .page-numbers:hover,
.calaio-pagination .page-numbers:hover {
	background: #f1f5f9;
	border-color: #cbd5e1;
	color: #0f172a;
}

.trip-pagination .page-numbers.current,
.calaio-pagination .page-numbers.current {
	background: #fec900;
	border-color: #fec900;
	color: #1c2b38;
	font-weight: 700;
	cursor: default;
}

.trip-pagination .page-numbers.dots,
.calaio-pagination .page-numbers.dots {
	border: none;
	background: transparent;
	cursor: default;
}
