/* Tourmometer site header — modern styles v1. */

.tmsh-site,
.tmsh-site * {
  box-sizing: border-box;
}

.tmsh-site {
  --tmsh-navy: #123a5a;
  --tmsh-navy-deep: #0e304c;
  --tmsh-text: #193852;
  --tmsh-muted: #6d8295;
  --tmsh-line: #d9e6ef;
  --tmsh-blue: #199cdc;
  --tmsh-green: #1ca878;
  --tmsh-orange: #ff9d12;
  --tmsh-red: #ef4f5f;
  position: relative;
  z-index: 900;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  color: var(--tmsh-text);
  font-family: inherit;
}

.tmsh-site--sticky {
  position: sticky;
  top: 0;
}

.tmsh-container {
  width: min(1240px, calc(100% - 40px));
  min-width: 0;
  margin-inline: auto;
}

.tmsh-topline {
  position: relative;
  color: #d7e4ee;
  background: var(--tmsh-navy-deep);
  border-top: 4px solid transparent;
  border-image: linear-gradient(90deg,
    var(--tmsh-green) 0 25%,
    var(--tmsh-orange) 25% 50%,
    var(--tmsh-blue) 50% 75%,
    var(--tmsh-red) 75%) 1;
}

.tmsh-topline__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 35px;
  gap: 24px;
  font-size: 12px;
  line-height: 1.25;
}

.tmsh-topline__words,
.tmsh-topline__actions {
  display: flex;
  align-items: center;
  min-width: 0;
}

.tmsh-topline__words {
  gap: 9px;
  white-space: nowrap;
}

.tmsh-topline__separator {
  color: rgba(255, 255, 255, .34);
}

.tmsh-topline__word {
  font-weight: 700;
  text-decoration: none;
}

.tmsh-topline__word--green { color: #28c896; }
.tmsh-topline__word--orange { color: #ffab25; }
.tmsh-topline__word--blue { color: #31aee8; }
.tmsh-topline__word--red { color: #ff6672; }

a.tmsh-topline__word:hover,
a.tmsh-topline__word:focus-visible {
  color: #fff;
}

.tmsh-topline__actions {
  justify-content: flex-end;
  gap: 0;
  flex: 0 0 auto;
  white-space: nowrap;
}

.tmsh-action,
.tmsh-topline__actions .tm-mail-trigger,
.tmsh-topline__actions a,
.tmsh-topline__actions button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 28px;
  margin: 0;
  padding: 4px 12px;
  color: #d7e4ee;
  font: inherit;
  font-weight: 500;
  line-height: 1.2;
  text-decoration: none;
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  cursor: pointer;
}

.tmsh-topline__actions > * + *,
.tmsh-topline__actions > * + .tmsh-action {
  border-left: 1px solid rgba(255, 255, 255, .18);
}

.tmsh-action:hover,
.tmsh-action:focus-visible,
.tmsh-topline__actions .tm-mail-trigger:hover,
.tmsh-topline__actions .tm-mail-trigger:focus-visible,
.tmsh-topline__actions a:hover,
.tmsh-topline__actions a:focus-visible,
.tmsh-topline__actions button:hover,
.tmsh-topline__actions button:focus-visible {
  color: #fff;
  background: rgba(255, 255, 255, .08);
}

.tmsh-header {
  position: relative;
  color: var(--tmsh-text);
  background: rgba(255, 255, 255, .98);
  border-bottom: 1px solid var(--tmsh-line);
  box-shadow: 0 8px 24px rgba(18, 58, 90, .04);
  backdrop-filter: blur(12px);
}

.tmsh-header__inner {
  position: relative;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto auto;
  align-items: center;
  min-height: 90px;
  gap: 28px;
}

.tmsh-logo {
  display: inline-flex;
  align-items: center;
  width: 246px;
  max-width: 100%;
  min-width: 0;
  color: var(--tmsh-text);
  font-size: 24px;
  font-weight: 800;
  text-decoration: none;
}

.tmsh-logo img {
  display: block;
  width: 246px;
  max-width: 100%;
  height: 54px;
  object-fit: contain;
  object-position: left center;
}

.tmsh-nav {
  display: flex;
  align-items: stretch;
  justify-content: flex-start;
  min-width: 0;
  height: 90px;
  gap: 2px;
}

.tmsh-nav__group {
  position: relative;
  display: flex;
  align-items: center;
  min-width: 0;
}

.tmsh-nav__link {
  position: relative;
  display: inline-flex;
  align-items: center;
  height: 100%;
  padding: 0 13px;
  color: #49647b;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  white-space: nowrap;
}

.tmsh-nav__link::after {
  position: absolute;
  right: 13px;
  bottom: 0;
  left: 13px;
  height: 3px;
  background: var(--tmsh-blue);
  content: "";
  opacity: 0;
  transform: scaleX(.45);
  transition: opacity .18s ease, transform .18s ease;
}

.tmsh-nav__link:hover,
.tmsh-nav__link:focus-visible,
.tmsh-nav__link.is-active {
  color: var(--tmsh-navy);
}

.tmsh-nav__link:hover::after,
.tmsh-nav__link:focus-visible::after,
.tmsh-nav__link.is-active::after {
  opacity: 1;
  transform: scaleX(1);
}

.tmsh-nav__link.is-disabled {
  color: #8da0b0;
  cursor: default;
}

.tmsh-nav__link.is-disabled::after {
  display: none;
}

.tmsh-submenu {
  position: static;
}

.tmsh-submenu summary {
  display: grid;
  width: 24px;
  height: 34px;
  margin-left: -7px;
  color: #6f879a;
  font-size: 16px;
  line-height: 1;
  place-items: center;
  list-style: none;
  border-radius: 7px;
  cursor: pointer;
}

.tmsh-submenu summary::-webkit-details-marker {
  display: none;
}

.tmsh-submenu summary:hover,
.tmsh-submenu summary:focus-visible,
.tmsh-submenu[open] summary {
  color: var(--tmsh-blue);
  background: #edf8fd;
}

.tmsh-submenu__panel {
  position: absolute;
  z-index: 20;
  top: calc(100% - 14px);
  left: 0;
  display: grid;
  width: 250px;
  padding: 9px;
  background: #fff;
  border: 1px solid var(--tmsh-line);
  border-radius: 12px;
  box-shadow: 0 18px 45px rgba(14, 48, 76, .18);
}

.tmsh-submenu__panel a {
  display: block;
  padding: 10px 12px;
  color: #34536c;
  font-size: 13px;
  font-weight: 650;
  line-height: 1.3;
  text-decoration: none;
  border-radius: 8px;
}

.tmsh-submenu__panel a:hover,
.tmsh-submenu__panel a:focus-visible {
  color: var(--tmsh-navy);
  background: #edf8fd;
}

.tmsh-tool {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 8px 16px;
  color: var(--tmsh-navy);
  font-size: 12px;
  font-weight: 750;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  white-space: nowrap;
  background: #fff;
  border: 1px solid #c8d8e5;
  border-radius: 9px;
  transition: color .18s ease, border-color .18s ease, box-shadow .18s ease;
}

.tmsh-tool:hover,
.tmsh-tool:focus-visible {
  color: var(--tmsh-blue);
  border-color: var(--tmsh-blue);
  box-shadow: 0 7px 20px rgba(25, 156, 220, .12);
}

.tmsh-menu {
  display: none;
  width: 42px;
  height: 42px;
  padding: 0;
  color: var(--tmsh-navy);
  background: #f4f9fc;
  border: 1px solid #cfdee9;
  border-radius: 9px;
  cursor: pointer;
}

.tmsh-menu span,
.tmsh-menu span::before,
.tmsh-menu span::after {
  display: block;
  width: 19px;
  height: 2px;
  margin: auto;
  background: currentColor;
  border-radius: 3px;
  content: "";
  transition: transform .2s ease, opacity .2s ease;
}

.tmsh-menu span {
  position: relative;
}

.tmsh-menu span::before {
  position: absolute;
  top: -6px;
  left: 0;
}

.tmsh-menu span::after {
  position: absolute;
  top: 6px;
  left: 0;
}

.tmsh-site.is-menu-open .tmsh-menu span {
  background: transparent;
}

.tmsh-site.is-menu-open .tmsh-menu span::before {
  top: 0;
  transform: rotate(45deg);
}

.tmsh-site.is-menu-open .tmsh-menu span::after {
  top: 0;
  transform: rotate(-45deg);
}

.tmsh-site :focus-visible {
  outline: 2px solid var(--tmsh-blue);
  outline-offset: 2px;
}

@media (max-width: 1180px) {
  .tmsh-header__inner {
    gap: 16px;
  }

  .tmsh-logo,
  .tmsh-logo img {
    width: 210px;
  }

  .tmsh-nav__link {
    padding-inline: 9px;
    font-size: 12px;
  }

  .tmsh-nav__link::after {
    right: 9px;
    left: 9px;
  }
}

@media (max-width: 1020px) {
  .tmsh-header__inner {
    grid-template-columns: auto minmax(0, 1fr) auto;
    min-height: 78px;
  }

  .tmsh-nav {
    position: absolute;
    top: 100%;
    right: 0;
    left: 0;
    z-index: 30;
    display: none;
    height: auto;
    max-height: min(70vh, 560px);
    padding: 12px;
    overflow-y: auto;
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
    background: #fff;
    border: 1px solid var(--tmsh-line);
    border-top: 0;
    border-radius: 0 0 14px 14px;
    box-shadow: 0 20px 45px rgba(14, 48, 76, .18);
  }

  .tmsh-site.is-menu-open .tmsh-nav {
    display: flex;
  }

  .tmsh-nav__group {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
  }

  .tmsh-nav__link {
    justify-content: flex-start;
    min-height: 44px;
    height: auto;
    padding: 10px 12px;
    text-align: left;
    border-radius: 8px;
  }

  .tmsh-nav__link::after {
    top: 10px;
    right: auto;
    bottom: 10px;
    left: 0;
    width: 3px;
    height: auto;
    transform: scaleY(.45);
  }

  .tmsh-nav__link:hover::after,
  .tmsh-nav__link:focus-visible::after,
  .tmsh-nav__link.is-active::after {
    transform: scaleY(1);
  }

  .tmsh-submenu {
    position: static;
  }

  .tmsh-submenu summary {
    width: 42px;
    height: 42px;
    margin: 1px 0;
  }

  .tmsh-submenu__panel {
    position: static;
    grid-column: 1 / -1;
    width: auto;
    margin: 0 0 7px 12px;
    padding: 6px;
    background: #f5f9fc;
    border: 0;
    border-radius: 9px;
    box-shadow: none;
  }

  .tmsh-tool {
    justify-self: end;
  }

  .tmsh-menu {
    display: block;
  }
}

@media (max-width: 720px) {
  .tmsh-container {
    width: min(calc(100% - 24px), 1240px);
  }

  .tmsh-topline__inner {
    min-height: 34px;
    gap: 10px;
  }

  .tmsh-topline__words {
    max-width: 100%;
    overflow-x: auto;
    scrollbar-width: none;
  }

  .tmsh-topline__words::-webkit-scrollbar {
    display: none;
  }

  .tmsh-topline__actions {
    display: none;
  }

  .tmsh-header__inner {
    grid-template-columns: minmax(0, 1fr) auto;
    min-height: 70px;
    gap: 12px;
  }

  .tmsh-logo,
  .tmsh-logo img {
    width: min(205px, 100%);
    height: 48px;
  }

  .tmsh-tool {
    display: none;
  }

  .tmsh-nav {
    right: -2px;
    left: -2px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .tmsh-site *,
  .tmsh-site *::before,
  .tmsh-site *::after {
    scroll-behavior: auto !important;
    transition-duration: .01ms !important;
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
  }
}

/* Tourmometer site header finishing fixes — stage 16A8A */
.tmsh-topline__actions>.tmsh-action-separator{display:block;flex:0 0 1px;width:1px;height:16px;min-height:0;margin:0;padding:0;background:rgba(255,255,255,.22);border:0}
.tmsh-topline__actions .tm-mail-trigger{border-left:0!important}
@media (min-width:1021px){
  .tmsh-logo,.tmsh-logo img{width:280px}
  .tmsh-logo img{height:62px}
}

/* Tourmometer site header visual correction — stage 16A9 */
.tmsh-topline__actions #tm-enable-push,
.tmsh-topline__actions #tm-enable-push.is-active {
  color:#d7e4ee!important;
}

.tmsh-topline__actions #tm-enable-push svg {
  display:none!important;
}

@media (min-width:1201px) {
  .tmsh-logo,
  .tmsh-logo img {
    width:320px;
  }

  .tmsh-logo img {
    max-width:none;
    height:70px;
  }

  .tmsh-nav {
    margin-left:-70px;
  }
}

/* Tourmometer topline action unification — stage 16A10 */
.tmsh-topline__actions #tm-enable-push,
.tmsh-topline__actions .tmsh-action,
.tmsh-topline__actions .tm-mail-trigger {
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  min-height:28px!important;
  margin:0!important;
  padding:4px 12px!important;
  gap:0!important;
  color:#d7e4ee!important;
  font-family:inherit!important;
  font-size:12px!important;
  font-weight:500!important;
  font-style:normal!important;
  line-height:1.2!important;
  text-decoration:none!important;
  background:transparent!important;
  border-radius:0!important;
  box-shadow:none!important;
  appearance:none!important;
}

.tmsh-topline__actions #tm-enable-push .tm-push-topline__text {
  color:inherit!important;
  font:inherit!important;
}

.tmsh-topline__actions #tm-enable-push:hover,
.tmsh-topline__actions #tm-enable-push:focus-visible,
.tmsh-topline__actions .tmsh-action:hover,
.tmsh-topline__actions .tmsh-action:focus-visible,
.tmsh-topline__actions .tm-mail-trigger:hover,
.tmsh-topline__actions .tm-mail-trigger:focus-visible {
  color:#fff!important;
  background:rgba(255,255,255,.08)!important;
}

/* Tourmometer navigation behaviour correction — stage 16A12 */
.tmsh-logo {
  color:transparent;
  font-size:0;
}

.tmsh-logo > span {
  color:var(--tmsh-text);
  font-size:24px;
}

a.tmsh-nav__link:hover,
a.tmsh-nav__link:focus-visible {
  color:var(--tmsh-blue);
}

a.tmsh-nav__link:hover::after,
a.tmsh-nav__link:focus-visible::after {
  opacity:0;
  transform:scaleX(.45);
}

a.tmsh-nav__link.is-active {
  color:var(--tmsh-navy);
}

a.tmsh-nav__link.is-active::after,
a.tmsh-nav__link.is-active:hover::after,
a.tmsh-nav__link.is-active:focus-visible::after {
  opacity:1;
  transform:scaleX(1);
}
