:root{--teh-ink:#07162b;--teh-green:#0aa67d;--teh-blue:#1677ff;--teh-line:#e7ebf0;--teh-bg:#fff}
body:not(.wp-admin) #header-container,body:not(.wp-admin) header#header,body:not(.wp-admin) .main-header,body:not(.wp-admin) .header-container{display:none!important}
.teh{position:relative;z-index:9998;background:var(--teh-bg);border-bottom:1px solid var(--teh-line);font-family:Arial,Helvetica,sans-serif;color:var(--teh-ink);box-sizing:border-box;overflow:visible}.teh *{box-sizing:border-box}
.teh-top{height:118px;max-width:1500px;margin:auto;padding:8px 44px;display:grid;grid-template-columns:390px 1fr 190px;align-items:center;gap:28px;position:relative;z-index:4}
/* v1.4: large logo anchored in the true upper-left corner. */
.teh-brand{position:absolute;left:22px;top:0;width:780px;height:340px;display:block;overflow:visible;text-decoration:none;z-index:2;pointer-events:auto}.teh-logo{display:block;width:780px;height:340px;object-fit:contain;object-position:left top;background:transparent!important}
.teh-nav{grid-column:2;display:flex;justify-content:flex-start;align-items:center;gap:28px;white-space:nowrap;position:relative;z-index:5}.teh-nav a{display:flex;align-items:center;gap:8px;color:var(--teh-ink);font-size:15px;font-weight:600;text-decoration:none;padding:12px 2px;border-bottom:2px solid transparent}.teh-nav a:hover{color:var(--teh-green);border-bottom-color:var(--teh-green)}.teh-navicon{width:27px;height:27px;display:grid;place-items:center;font-size:22px;line-height:1}
.teh-actions{grid-column:3;display:flex;justify-content:flex-end;align-items:center;gap:8px;position:relative;z-index:6;min-width:184px}.teh-action{border:0;background:transparent;color:var(--teh-ink);width:40px;height:40px;border-radius:50%;display:grid;place-items:center;text-decoration:none;cursor:pointer;flex:0 0 40px}.teh-action:hover{background:#f4f7f8}.teh-action .dashicons{font-size:22px;width:22px;height:22px;line-height:22px}
/* v1.4: compact search begins on the same left line as Flights, leaving the logo area clear. */
.teh-search{position:relative;z-index:5;width:min(940px,calc(100% - 480px));height:62px;margin:-16px 44px 18px auto;display:grid;grid-template-columns:1.2fr 1.25fr .85fr auto;align-items:center;border:1px solid #dfe4e9;border-radius:32px;background:#fff;box-shadow:0 4px 16px rgba(7,22,43,.09);overflow:hidden}.teh-field{min-width:0;height:44px;padding:2px 20px;border-right:1px solid var(--teh-line);display:flex;flex-direction:column;justify-content:center;cursor:text;background:#fff}.teh-label{font-size:12px;font-weight:700;margin-bottom:3px}.teh input,.teh select{width:100%;border:0!important;outline:0!important;box-shadow:none!important;background:transparent!important;padding:0!important;margin:0!important;height:21px!important;min-height:0!important;font:14px Arial,Helvetica,sans-serif;color:#303b4c}.teh input::placeholder{color:#697386;opacity:1}.teh select{appearance:auto}.teh-datepair{display:flex;align-items:center;gap:5px;min-width:0}.teh-datepair input{font-size:12px;min-width:0}.teh-searchbtn{margin-right:6px;height:48px;min-width:108px;border:0;border-radius:25px;background:linear-gradient(135deg,var(--teh-green),#05b58a);color:#fff;font-weight:700;display:flex;align-items:center;justify-content:center;gap:7px;cursor:pointer}.teh-searchbtn:hover{filter:brightness(.96)}.teh-searchbtn .dashicons{font-size:20px}.teh-mobile{display:none}
@media(min-width:1500px){.teh-search{margin-right:calc((100% - 1412px)/2);width:940px}}
@media(max-width:1180px){.teh-top{grid-template-columns:300px 1fr 176px;padding-left:24px;padding-right:24px}.teh-brand{left:14px;width:660px;height:300px}.teh-logo{width:660px;height:300px}.teh-nav{gap:14px}.teh-nav a{font-size:13px}.teh-search{width:calc(100% - 350px);margin-right:24px}}
@media(max-width:900px){.teh-top{height:86px;grid-template-columns:1fr auto;padding:5px 18px}.teh-brand{left:8px;top:0;width:560px;height:260px}.teh-logo{width:560px;height:260px}.teh-nav{display:none}.teh-actions{grid-column:2;min-width:auto}.teh-actions .teh-action:nth-child(1){display:none}.teh-search{height:auto;width:calc(100% - 28px);margin:14px auto;grid-template-columns:1fr 1fr;border-radius:24px;padding:8px}.teh-field{border-right:0;border-bottom:1px solid var(--teh-line);padding:10px 14px;height:62px}.teh-who{border-bottom:0}.teh-searchbtn{margin:5px;height:48px}.teh-mobile{position:absolute;right:14px;top:78px;width:220px;padding:10px;background:#fff;border:1px solid var(--teh-line);border-radius:14px;box-shadow:0 12px 30px rgba(7,22,43,.15);z-index:20}.teh-mobile:not([hidden]){display:grid}.teh-mobile a{padding:12px;color:var(--teh-ink);text-decoration:none;border-radius:8px;font-weight:600}.teh-mobile a:hover{background:#f4f7f8}}
@media(max-width:560px){.teh-top{padding-left:10px;padding-right:10px}.teh-brand{left:4px;width:450px;height:224px}.teh-logo{width:450px;height:224px}.teh-actions{gap:0}.teh-actions a[aria-label="Cart"]{display:none}.teh-search{grid-template-columns:1fr;margin-top:14px}.teh-field,.teh-who{border-bottom:1px solid var(--teh-line)}.teh-searchbtn{width:100%;margin:6px 0 0}.teh-searchtext{display:inline}}

/* v1.6: preserve v1.5 sizing; move only the animated logo into the true upper-left. */
@media(min-width:901px){
  .teh-brand{left:-48px!important;top:-26px!important;}
}


/* v1.7 desktop layout: logo at top-left; both menu rows begin immediately to its right. */
@media(min-width:901px){
  .teh{min-height:190px;}
  .teh-top{
    height:96px;
    max-width:none;
    margin:0;
    padding:4px 28px 0 405px;
    display:grid;
    grid-template-columns:minmax(0,1fr) 190px;
    gap:16px;
    align-items:center;
  }
  .teh-brand{
    left:-48px!important;
    top:-30px!important;
    width:780px!important;
    height:340px!important;
    z-index:7;
  }
  .teh-logo{width:780px!important;height:340px!important;object-position:left top!important;}
  .teh-nav{grid-column:1;gap:20px;justify-content:flex-start;overflow:visible;}
  .teh-actions{grid-column:2;min-width:180px;}
  .teh-search{
    width:calc(100% - 433px)!important;
    max-width:none!important;
    height:66px;
    margin:0 28px 22px 405px!important;
    grid-template-columns:minmax(190px,1.25fr) minmax(260px,1.35fr) minmax(190px,.9fr) 122px;
    overflow:visible;
  }
  .teh-field{height:48px;overflow:visible;}
  .teh-who{min-width:190px;overflow:visible;}
  .teh-who select{display:block!important;width:100%!important;min-width:150px!important;overflow:visible!important;}
  .teh-searchbtn{min-width:110px;}
}
@media(min-width:901px) and (max-width:1180px){
  .teh-top{padding-left:330px;padding-right:18px;grid-template-columns:minmax(0,1fr) 170px;}
  .teh-brand{left:-90px!important;top:-30px!important;}
  .teh-nav{gap:10px;}
  .teh-nav a{font-size:12px;gap:4px;}
  .teh-navicon{width:22px;height:22px;font-size:18px;}
  .teh-search{width:calc(100% - 348px)!important;margin-left:330px!important;margin-right:18px!important;grid-template-columns:1fr 1.2fr .85fr 104px;}
  .teh-who{min-width:150px;}
}


/* v2.0 — Listeo dashboard: remove the internal sidebar scroller.
   The dashboard menu grows to its full content height and the browser/page scrolls normally. */
@media (min-width: 992px) {
  body.page-template-template-dashboard #dashboard {
    position: relative !important;
    min-height: 100vh !important;
    height: auto !important;
    overflow: visible !important;
    align-items: stretch !important;
  }
  body.page-template-template-dashboard #dashboard .dashboard-nav {
    position: absolute !important;
    top: 0 !important;
    bottom: 0 !important;
    height: auto !important;
    min-height: 100% !important;
    max-height: none !important;
    overflow: visible !important;
  }
  body.page-template-template-dashboard #dashboard .dashboard-nav-inner {
    position: relative !important;
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
    width: 100% !important;
    overflow: visible !important;
    overflow-y: visible !important;
    padding-bottom: 40px !important;
  }
  body.page-template-template-dashboard #dashboard .dashboard-content {
    height: auto !important;
    min-height: 100vh !important;
    overflow: visible !important;
  }
  /* Override Listeo Header Builder's viewport-height dashboard rules when present. */
  body.lhb-header-builder-enabled.page-template-template-dashboard #dashboard .dashboard-nav {
    top: 0 !important;
    min-height: 100% !important;
    max-height: none !important;
  }
  body.lhb-header-builder-enabled.page-template-template-dashboard #dashboard .dashboard-nav-inner {
    max-height: none !important;
    overflow-y: visible !important;
  }
}

/* v2.1 — preserve full-size Listeo dashboard; keep TravelEarth globe out of dashboard content. */
body.page-template-template-dashboard .teh-brand,
body.lhb-header-builder-enabled.page-template-template-dashboard .teh-brand{
  top:-70px!important;
}

/* v2.1 mobile: reserve a real logo row, then place the search card below it. */
@media(max-width:900px){
  .teh{padding-top:0!important;overflow:visible!important;}
  .teh-top{height:210px!important;min-height:210px!important;align-items:flex-start!important;padding-top:10px!important;}
  .teh-brand{left:8px!important;top:0!important;width:340px!important;height:200px!important;z-index:3!important;}
  .teh-logo{width:340px!important;height:200px!important;object-fit:contain!important;object-position:left top!important;}
  .teh-actions{padding-top:10px!important;z-index:8!important;}
  .teh-search{position:relative!important;z-index:7!important;margin:8px auto 18px!important;width:calc(100% - 28px)!important;}
}
@media(max-width:560px){
  .teh-top{height:220px!important;min-height:220px!important;}
  .teh-brand{left:4px!important;top:0!important;width:330px!important;height:205px!important;}
  .teh-logo{width:330px!important;height:205px!important;}
  .teh-search{margin-top:6px!important;}
}

/* On dashboard pages, do not let the logo overlap Dashboard Navigation/content. */
@media(max-width:900px){
 body.page-template-template-dashboard .teh-brand,
 body.lhb-header-builder-enabled.page-template-template-dashboard .teh-brand{top:0!important;}
}
