/* ==========================================================================
   Holiday packages listing. Extends the .tgpk token set from package.css.
   ========================================================================== */
.tgpl-hero {
	background:
		radial-gradient(900px 340px at 15% 0%, rgba(22,198,212,.20), transparent 60%),
		linear-gradient(120deg, #061936 0%, #0b2b56 100%);
	color: #fff;
	padding: 72px 0 82px;
}
.tgpl-hero-inner { width: min(1320px, 92vw); margin: 0 auto; }
.tgpl-hero h1 { color: #fff; font-size: clamp(30px, 4.6vw, 54px); line-height: 1.1; margin: 16px 0 12px; }
.tgpl-hero p { color: rgba(255,255,255,.84); font-size: 15.5px; line-height: 1.7; max-width: 62ch; margin: 0; }
.tgpl-count {
	display: inline-block; margin-top: 18px; padding: 7px 14px;
	border-radius: 999px; background: rgba(255,255,255,.1);
	font-size: 13px; font-weight: 700; color: #16c6d4;
}

.tgpl-wrap {
	width: min(1320px, 92vw);
	margin: -40px auto 80px;
	position: relative;
	display: grid;
	grid-template-columns: 286px minmax(0, 1fr);
	gap: 26px;
	align-items: start;
}

/* ---------- filters ---------- */
.tgpl-filters {
	background: #fff; border: 1px solid var(--line); border-radius: 20px;
	padding: 22px; position: sticky; top: 96px;
	box-shadow: 0 18px 46px rgba(8,43,92,.08);
}
.tgpl-filters-head { display: flex; align-items: center; justify-content: space-between; }
.tgpl-filters h2 { font-size: 17px; margin: 0 0 4px; }
.tgpl-filter-close { display: none; border: 0; background: none; font-size: 26px; line-height: 1; cursor: pointer; color: #5f7789; }
.tgpl-group { padding: 16px 0; border-bottom: 1px solid var(--line); }
.tgpl-group:last-of-type { border-bottom: 0; }
.tgpl-group h3 {
	font-size: 11px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase;
	color: #5f7789; margin: 0 0 10px;
}
.tgpl-check {
	display: flex; align-items: center; gap: 9px;
	padding: 6px 0; font-size: 13.5px; color: #14395c; cursor: pointer;
}
.tgpl-check input { width: auto; height: auto; margin: 0; }
.tgpl-budget { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.tgpl-budget label { font-size: 11px; font-weight: 700; color: #5f7789; }
.tgpl-budget input { width: 100%; height: 42px; margin-top: 5px; padding: 0 10px; box-sizing: border-box; border: 1.5px solid var(--line); border-radius: 10px; }
.tgpl-apply {
	width: 100%; margin-top: 16px; padding: 13px;
	border: 0; border-radius: 12px; cursor: pointer;
	background: linear-gradient(95deg, #0095a9, #16c6d4);
	color: #fff !important; font-family: 'Sora', sans-serif; font-weight: 700; font-size: 14px;
}
.tgpl-clear { display: block; text-align: center; margin-top: 10px; font-size: 12.5px; color: #5f7789; }

/* ---------- results ---------- */
.tgpl-bar {
	display: flex; align-items: center; justify-content: space-between; gap: 14px;
	background: #fff; border: 1px solid var(--line); border-radius: 16px;
	padding: 14px 18px; margin-bottom: 16px; flex-wrap: wrap;
}
.tgpl-bar strong { color: #061936; }
.tgpl-sort label { display: flex; align-items: center; gap: 9px; font-size: 12.5px; color: #5f7789; font-weight: 700; }
.tgpl-sort select { height: 42px; padding: 0 12px; border: 1.5px solid var(--line); border-radius: 10px; background: #fff; }
.tgpl-empty { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 28px; }

.tgpl-cards { display: grid; gap: 18px; }
.tgpl-card {
	display: grid; grid-template-columns: 300px minmax(0, 1fr);
	background: #fff; border: 1px solid var(--line); border-radius: 20px;
	overflow: hidden; box-shadow: 0 12px 38px rgba(8,43,92,.07);
	transition: transform .18s ease, box-shadow .18s ease;
}
.tgpl-card:hover { transform: translateY(-2px); box-shadow: 0 20px 50px rgba(8,43,92,.13); }
.tgpl-card-img { position: relative; display: block; min-height: 230px; }
.tgpl-card-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.tgpl-card-flag {
	position: absolute; left: 12px; bottom: 12px;
	padding: 6px 11px; border-radius: 999px;
	background: rgba(6,25,54,.82); color: #16c6d4;
	font-size: 9.5px; font-weight: 800; letter-spacing: .1em;
}
.tgpl-card-body { padding: 22px 24px; display: flex; flex-direction: column; }
.tgpl-card-body h2 { font-size: 21px; margin: 0 0 8px; line-height: 1.28; }
.tgpl-card-body h2 a { color: #061936; text-decoration: none; }
.tgpl-card-body h2 a:hover { color: #0095a9; }
.tgpl-card-meta { display: flex; flex-wrap: wrap; gap: 6px 16px; font-size: 13px; color: #5f7789; }
.tgpl-card-badges { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 12px; }
.tgpl-card-badges span {
	padding: 5px 11px; border-radius: 999px;
	background: rgba(0,149,169,.09); color: #00707f;
	font-size: 11.5px; font-weight: 700;
}
.tgpl-card-high { list-style: none; margin: 13px 0 0; padding: 0; display: grid; gap: 5px; }
.tgpl-card-high li { position: relative; padding-left: 17px; font-size: 13.5px; color: #14395c; line-height: 1.45; }
.tgpl-card-high li::before { content: '✓'; position: absolute; left: 0; color: #0095a9; font-size: 11px; top: 2px; }
.tgpl-card-foot {
	display: flex; align-items: flex-end; justify-content: space-between; gap: 16px;
	margin-top: auto; padding-top: 18px; flex-wrap: wrap;
}
.tgpl-card-price span { display: block; font-size: 11.5px; color: #5f7789; }
.tgpl-card-price strong { display: block; font-family: 'Sora', sans-serif; font-size: 26px; font-weight: 800; color: #061936; line-height: 1.15; }
.tgpl-card-price strong.is-request { font-size: 17px; color: #8a6a1e; }
.tgpl-card-cta { display: flex; gap: 9px; flex-wrap: wrap; }
.tgpl-btn {
	display: inline-block; padding: 12px 20px; border-radius: 11px;
	background: linear-gradient(95deg, #0095a9, #16c6d4);
	color: #fff !important; text-decoration: none;
	font-family: 'Sora', sans-serif; font-size: 13.5px; font-weight: 700;
}
.tgpl-btn--ghost { background: #fff !important; color: #0095a9 !important; border: 1.5px solid #bcd7e0; }

.tgpl-filter-open {
	display: none; width: 100%; margin-bottom: 14px; padding: 14px;
	border: 1.5px solid #bcd7e0; border-radius: 13px; background: #fff; cursor: pointer;
	font-family: 'Sora', sans-serif; font-size: 14px; font-weight: 700; color: #0095a9;
}

/* ---------- responsive ---------- */
@media (max-width: 1040px) {
	.tgpl-wrap { grid-template-columns: minmax(0, 1fr); }
	.tgpl-filter-open { display: block; }

	/* A drawer rather than a permanent column: filters must not eat the
	   screen a visitor is trying to browse results on. */
	.tgpl-filters {
		position: fixed; inset: 0 0 0 auto;
		width: min(360px, 90vw); z-index: 9999;
		border-radius: 0; overflow-y: auto;
		transform: translateX(100%); transition: transform .24s ease;
		box-shadow: -20px 0 60px rgba(8,43,92,.25);
	}
	.tgpl-filters.is-open { transform: translateX(0); }
	.tgpl-filter-close { display: block; }
}
@media (max-width: 760px) {
	.tgpl-hero { padding: 52px 0 62px; }
	.tgpl-wrap { width: calc(100% - 32px); margin-top: -26px; }
	.tgpl-card { grid-template-columns: minmax(0, 1fr); }
	.tgpl-card-img { min-height: 200px; }
	.tgpl-card-body { padding: 18px; }
	.tgpl-card-foot { flex-direction: column; align-items: stretch; }
	.tgpl-card-cta .tgpl-btn { flex: 1; text-align: center; }
}


/* A4.6 layout hardening.
   The filter trigger is a responsive control, not a desktop grid item.
   Explicit grid placement prevents a third child from reflowing the results
   into the 286px sidebar if another stylesheet changes button display. */
@media (min-width: 1041px) {
	.tgpl-filter-open { display: none !important; }
	.tgpl-filters { grid-column: 1; grid-row: 1; width: auto; min-width: 0; box-sizing: border-box; }
	.tgpl-main { grid-column: 2; grid-row: 1; width: 100%; min-width: 0; }
}
.tgpl-main { min-width: 0; }
.tgpl-card-body { min-width: 0; }
@media (max-width: 1040px) {
	.tgpl-filter-open { display: block !important; grid-column: 1; }
	.tgpl-main { grid-column: 1; width: 100%; min-width: 0; }
}


/* A4.7 desktop refinement — premium filter + balanced results layout. */
@media (min-width: 1041px) {
	.tgpl-wrap {
		width: min(1360px, calc(100% - 56px));
		grid-template-columns: 270px minmax(0, 1fr);
		gap: 28px;
		margin-top: -42px;
		margin-bottom: 110px;
	}
	.tgpl-filters {
		padding: 26px 24px 24px;
		border-radius: 18px;
		top: 112px;
		box-shadow: 0 16px 42px rgba(8,43,92,.09);
	}
	.tgpl-filter-close { display: none !important; }
	.tgpl-filters h2 { font-size: 19px; line-height: 1.2; margin: 0; color: #061936; }
	.tgpl-group { padding: 20px 0; }
	.tgpl-group h3 { font-size: 11px; margin-bottom: 12px; letter-spacing: .085em; color: #587185; }
	.tgpl-check { gap: 10px; min-height: 31px; padding: 4px 0; font-size: 13px; line-height: 1.35; }
	.tgpl-check input[type="radio"] {
		appearance: none; -webkit-appearance: none;
		width: 16px; height: 16px; min-width: 16px;
		border: 1.5px solid #9eb8c6; border-radius: 50%; background: #fff;
		box-shadow: inset 0 0 0 3px #fff; transition: .15s ease;
	}
	.tgpl-check input[type="radio"]:checked { background: #08a9ba; border-color: #08a9ba; }
	.tgpl-budget { gap: 9px; }
	.tgpl-budget label { font-size: 11px; }
	.tgpl-budget input { height: 44px; border-color: #cbdce4; border-radius: 9px; font-size: 13px; }
	.tgpl-budget input:focus { outline: none; border-color: #08a9ba; box-shadow: 0 0 0 3px rgba(8,169,186,.09); }
	.tgpl-apply { min-height: 46px; margin-top: 20px; border-radius: 10px; font-size: 13px; box-shadow: 0 9px 22px rgba(0,149,169,.18); }
	.tgpl-clear { margin-top: 12px; font-size: 12px; font-weight: 700; text-decoration: none; }
	.tgpl-main { min-width: 0; }
	.tgpl-bar { min-height: 56px; padding: 10px 16px; margin-bottom: 18px; border-radius: 14px; }
	.tgpl-sort select { min-width: 175px; }
	.tgpl-card { grid-template-columns: 310px minmax(0,1fr); min-height: 300px; border-radius: 18px; }
	.tgpl-card-img { min-height: 300px; }
	.tgpl-card-body { padding: 24px 26px; }
	.tgpl-card-body h2 { font-size: 22px; }
	.tgpl-card-meta { font-size: 12.5px; line-height: 1.5; }
	.tgpl-card-foot { padding-top: 20px; }
}

/* Keep the listing comfortably spaced from the global CTA/footer. */
.tgpl { padding-bottom: 18px; }
@media (max-width: 1040px) {
	.tgpl-wrap { margin-bottom: 80px; }
	.tgpl-filters { padding: 26px 24px; }
	.tgpl-filter-close { width: 38px; height: 38px; display: flex; align-items: center; justify-content: center; border: 1px solid #d6e4e9; border-radius: 10px; background: #f7fbfc; color: #163c5c; }
}
@media (max-width: 760px) {
	.tgpl-wrap { margin-bottom: 64px; }
	.tgpl-bar { padding: 12px 14px; }
	.tgpl-sort, .tgpl-sort label { width: 100%; }
	.tgpl-sort select { flex: 1; min-width: 0; }
}


/* A4.9 — site-native compact filter controls. */
.tgpl-select-wrap{position:relative}
.tgpl-select-wrap:after{content:"";position:absolute;right:14px;top:50%;width:7px;height:7px;border-right:2px solid #0b6680;border-bottom:2px solid #0b6680;transform:translateY(-68%) rotate(45deg);pointer-events:none}
.tgpl-select-wrap select{appearance:none;-webkit-appearance:none;width:100%;height:46px;padding:0 38px 0 13px;border:1px solid #c9dce4;border-radius:9px;background:#fff;color:#14395c;font:700 12.5px/1.2 inherit;outline:none;box-shadow:none}
.tgpl-select-wrap select:hover{border-color:#9fc8d3}
.tgpl-select-wrap select:focus{border-color:#08a9ba;box-shadow:0 0 0 3px rgba(8,169,186,.09)}
.tgpl-currency{float:right;color:#0095a9;font-size:9px;font-weight:900;letter-spacing:.04em}
.tgpl-clear{padding:0!important;background:none!important;color:#008ca0!important;font-weight:700;text-decoration:none}
.tgpl-clear:hover{color:#006f80!important;text-decoration:underline}
@media (min-width:1041px){
 .tgpl-wrap{grid-template-columns:280px minmax(0,1fr);gap:28px}
 .tgpl-filters{padding:24px 22px 20px;border-radius:16px}
 .tgpl-filters-head{padding-bottom:3px}.tgpl-filters h2{font-size:18px}
 .tgpl-group{padding:17px 0}.tgpl-group h3{font-size:10.5px;margin-bottom:9px;color:#587185}
 .tgpl-budget{gap:8px}.tgpl-budget input{height:44px;background:#fff;border-radius:9px}
 .tgpl-apply{min-height:45px;margin-top:17px;border-radius:9px;font-size:13px}
 .tgpl-clear{margin-top:11px;font-size:11.5px}
}
@media(max-width:1040px){.tgpl-select-wrap select{height:48px;font-size:13px}}

/* A4.10 — final site-native filter polish. No structural redesign. */
@media (min-width:1041px){
 .tgpl-wrap{grid-template-columns:290px minmax(0,1fr);gap:30px;align-items:start}
 .tgpl-filters{padding:26px 24px 22px;border:1px solid #d8e6eb;border-radius:15px;box-shadow:0 10px 28px rgba(7,40,67,.07)}
 .tgpl-filters-head{padding:0 0 7px}.tgpl-filters h2{font-size:19px;font-weight:800;letter-spacing:-.02em}
 .tgpl-group{padding:18px 0;border-color:#e3edf1}.tgpl-group h3{font-size:10.5px;letter-spacing:.055em;margin:0 0 10px;color:#536f82}
 .tgpl-select-wrap select{height:48px;border-radius:10px;font-size:12.5px;padding-left:14px}
 .tgpl-budget{gap:10px}.tgpl-budget label{font-size:9.5px;letter-spacing:.04em}.tgpl-budget input{height:46px;border:1px solid #c9dce4;border-radius:10px;padding:0 11px;font-weight:700;color:#14395c}
 .tgpl-budget input:focus{outline:none;border-color:#08a9ba;box-shadow:0 0 0 3px rgba(8,169,186,.09)}
 .tgpl-apply{min-height:48px;margin-top:19px;border-radius:10px;font-size:13px;font-weight:800;box-shadow:0 7px 16px rgba(0,169,186,.16)}
 .tgpl-clear{display:block;text-align:center;margin-top:13px;font-size:11.5px}
 .tgpl-bar{min-height:58px;padding:10px 16px;border-radius:12px}
 .tgpl-card{min-height:285px;border-radius:14px;overflow:hidden}
 .tgpl-card-img{min-height:285px}.tgpl-card-body{padding:22px 22px 20px}.tgpl-card-body h2{margin-bottom:7px}
}

/* A4.12 — uniform premium listing cards matching the approved visual target. */
@media(min-width:1041px){
 .tgpl-wrap{width:min(1360px,calc(100% - 56px));grid-template-columns:286px minmax(0,1fr);gap:24px}
 .tgpl-bar{height:56px;box-sizing:border-box;margin-bottom:14px}
 .tgpl-sort label{gap:10px}.tgpl-sort select{height:38px;min-width:180px;border-radius:9px}
 .tgpl-cards{gap:14px}
 .tgpl-card{grid-template-columns:300px minmax(0,1fr);height:286px;min-height:286px;border-radius:16px}
 .tgpl-card-img{height:286px;min-height:286px;overflow:hidden}.tgpl-card-img img{height:286px}
 .tgpl-card-body{height:286px;box-sizing:border-box;padding:20px 22px;overflow:hidden}
 .tgpl-card-body h2{font-size:21px;line-height:1.22;margin-bottom:6px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
 .tgpl-card-meta{max-height:39px;overflow:hidden;font-size:12px}
 .tgpl-card-badges{margin-top:9px}.tgpl-card-badges span{padding:4px 9px;font-size:10.5px}
 .tgpl-card-high{margin-top:9px;gap:3px;max-height:43px;overflow:hidden}.tgpl-card-high li{font-size:12.5px}
 .tgpl-card-foot{padding-top:10px}.tgpl-card-price strong{font-size:24px}.tgpl-btn{padding:11px 18px;font-size:12.5px}
}

/* ========================================================================== 
   A4.13 — approved mockup alignment pass
   Desktop proportions, result toolbar and equal-card rhythm only.
   ========================================================================== */
@media (min-width:1041px){
 .tgpl-hero-inner,.tgpl-wrap{width:min(1480px,calc(100% - 64px))}
 .tgpl-hero{padding:64px 0 76px}
 .tgpl-hero h1{font-size:46px;max-width:850px}
 .tgpl-wrap{grid-template-columns:292px minmax(0,1fr);gap:22px;margin-top:-34px;margin-bottom:74px}
 .tgpl-filters{top:108px;padding:24px 22px;border-radius:16px}
 .tgpl-main{min-width:0}
 .tgpl-bar{width:100%;height:58px;min-height:58px;padding:8px 12px 8px 18px;margin:0 0 14px;border-radius:14px;box-sizing:border-box;flex-wrap:nowrap;box-shadow:0 6px 20px rgba(8,43,92,.04)}
 .tgpl-sort{margin-left:auto;display:flex;align-items:center}
 .tgpl-sort label{white-space:nowrap;font-size:11px;text-transform:uppercase;letter-spacing:.06em}
 .tgpl-sort select{width:190px;min-width:190px;height:40px;margin:0;padding:0 38px 0 13px;border:1px solid #c9dce4;border-radius:9px;background-color:#fff;color:#14395c;font-size:12.5px;font-weight:700;box-shadow:none}
 .tgpl-cards{gap:14px}
 .tgpl-card{grid-template-columns:286px minmax(0,1fr);height:270px;min-height:270px;border-radius:16px}
 .tgpl-card-img,.tgpl-card-img img{height:270px;min-height:270px}
 .tgpl-card-body{height:270px;padding:18px 20px 17px}
 .tgpl-card-body h2{font-size:20px;white-space:normal;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;max-height:49px}
 .tgpl-card-meta{font-size:11.5px;max-height:36px}
 .tgpl-card-badges{margin-top:8px}
 .tgpl-card-high{margin-top:8px;max-height:41px}
 .tgpl-card-foot{padding-top:8px;flex-wrap:nowrap}
 .tgpl-card-price strong{font-size:23px}
 .tgpl-card-cta{flex-wrap:nowrap}
 .tgpl-btn{padding:10px 16px;white-space:nowrap}
}

/* ========================================================================== 
   A4.15 — researched listing correction
   Equal comparison cards + a restrained site-native sort control.
   ========================================================================== */
@media (min-width:1041px){
 .tgpl-wrap{width:min(1420px,calc(100% - 64px));grid-template-columns:286px minmax(0,1fr);gap:24px}
 .tgpl-bar{height:54px;min-height:54px;padding:7px 10px 7px 18px;border:1px solid #d9e6ed;border-radius:12px;background:#fff;box-shadow:0 5px 16px rgba(8,43,92,.035)}
 .tgpl-bar>span{font-size:12.5px;color:#49667d}.tgpl-bar>span strong{color:#082b5c}
 .tgpl-sort{margin-left:auto}.tgpl-sort label{display:flex;align-items:center;gap:8px;font-size:11px;text-transform:none;letter-spacing:0;color:#6a8091;font-weight:700}
 .tgpl-sort-label{white-space:nowrap}
 .tgpl-sort select{appearance:none;-webkit-appearance:none;width:168px;min-width:168px;height:38px;padding:0 34px 0 12px;border:1px solid #c9dce4;border-radius:9px;background:#f8fbfd url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5 6 6.5l5-5' fill='none' stroke='%23082b5c' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat right 12px center;color:#14395c;font-size:12.5px;font-weight:700;box-shadow:none}
 .tgpl-sort select:hover,.tgpl-sort select:focus{border-color:#08a9ba;outline:none;box-shadow:0 0 0 3px rgba(8,169,186,.08)}
 .tgpl-cards{gap:14px}
 .tgpl-card{grid-template-columns:278px minmax(0,1fr);height:258px!important;min-height:258px!important;border-radius:15px!important;overflow:hidden}
 .tgpl-card-img,.tgpl-card-img img{height:258px!important;min-height:258px!important}
 .tgpl-card-body{height:258px!important;min-height:0!important;padding:17px 20px 16px!important;display:flex!important;flex-direction:column!important;overflow:hidden!important}
 .tgpl-card-body h2{font-size:19px!important;line-height:1.22!important;margin:0 0 5px!important;min-height:23px;max-height:46px;overflow:hidden}
 .tgpl-card-meta{display:flex;gap:12px;min-height:18px;max-height:18px!important;overflow:hidden;font-size:11.5px!important;white-space:nowrap}
 .tgpl-card-badges{margin-top:7px!important;min-height:24px;max-height:24px;overflow:hidden}
 .tgpl-card-badges span{font-size:10px!important;padding:4px 8px!important}
 .tgpl-card-high{margin:7px 0 0!important;display:grid!important;gap:2px!important;min-height:38px;max-height:38px!important;overflow:hidden}
 .tgpl-card-high li{font-size:11.5px!important;line-height:1.35!important}
 .tgpl-card-foot{margin-top:auto!important;padding-top:7px!important;min-height:55px;align-items:flex-end!important}
 .tgpl-card-price strong{font-size:22px!important;line-height:1!important}.tgpl-card-price span{font-size:10px!important}
 .tgpl-btn{min-width:104px;padding:10px 14px!important;border-radius:8px!important;font-size:11.5px!important;text-align:center}
}

/* V12.25.13: native accessible multiselect controls, aligned label rows. */
.tgpl .tgpl-filters label.tgpl-check{display:flex!important;flex-direction:row!important;align-items:center!important;gap:12px;min-height:44px;padding:8px 10px;font-size:13px!important;font-weight:600!important;line-height:1.4;text-transform:none!important;letter-spacing:0!important;border-radius:8px;color:#082b5c;cursor:pointer}
.tgpl .tgpl-filters label.tgpl-check:hover{background:#f0f8fa}
.tgpl .tgpl-filters label.tgpl-check:has(input:checked){background:#e8f7fa;color:#006d7e}
.tgpl .tgpl-filters label.tgpl-check input[type=checkbox]{appearance:auto!important;-webkit-appearance:checkbox!important;display:inline-block!important;flex:0 0 18px;width:18px!important;height:18px!important;min-height:18px!important;margin:0!important;padding:0!important;accent-color:#0095a9;cursor:pointer}
.tgpl-check input:focus-visible{outline:3px solid #0095a9;outline-offset:3px}

.tgpl-concept-label{position:absolute;top:10px;left:10px;background:rgba(8,43,92,.8);color:white;padding:4px 7px;border-radius:6px;font-size:9px;line-height:1.4}

/* V12.25.17: keep the entire filter form reachable below the sticky header. */
@media (min-width:1041px){
 .tgpl .tgpl-filters{top:var(--tgpl-filter-top,112px);max-height:calc(100vh - var(--tgpl-filter-top,112px) - 20px);max-height:calc(100dvh - var(--tgpl-filter-top,112px) - 20px);overflow-y:auto;scrollbar-width:thin;scrollbar-color:#0095a9 #eaf2f6;scroll-padding-block:16px;box-sizing:border-box}
 body.admin-bar .tgpl{--tgpl-filter-top:144px}
}
@media (max-width:1040px){
 .tgpl .tgpl-filters{top:0;bottom:0;height:100vh;height:100dvh;max-height:none;overflow-y:auto;box-sizing:border-box;padding-bottom:calc(24px + env(safe-area-inset-bottom))}
 body.admin-bar .tgpl .tgpl-filters{top:32px;height:calc(100vh - 32px);height:calc(100dvh - 32px)}
}
@media (max-width:782px){body.admin-bar .tgpl .tgpl-filters{top:46px;height:calc(100vh - 46px);height:calc(100dvh - 46px)}}

/* V12.25.27: override Elementor button defaults, including pink focus/hover. */
.tgpl button.tgpl-filter-open,.tgpl button.tgpl-filter-close{color:#082b5c!important;background:#fff!important;border:1px solid #bcd7e0!important;border-radius:10px!important;min-height:44px;box-shadow:none!important}
.tgpl button.tgpl-filter-open:hover,.tgpl button.tgpl-filter-open:focus,.tgpl button.tgpl-filter-close:hover{color:#006d7e!important;background:#eaf8fa!important;border-color:#0095a9!important}
.tgpl button.tgpl-apply{color:#fff!important;background:#0095a9!important;border:0!important}
.tgpl button.tgpl-apply:hover,.tgpl button.tgpl-apply:focus{background:#082b5c!important;color:#fff!important}
.tgpl button:focus-visible{outline:3px solid #0095a9!important;outline-offset:3px}
@media(max-width:1040px){.tgpl button.tgpl-filter-open{margin-top:0!important;margin-bottom:20px!important;min-height:48px!important;position:relative;z-index:2}}
