.geo-switcher,
.geo-network {
  box-sizing: border-box;
  font-family: inherit;
}

.geo-switcher *,
.geo-network * {
  box-sizing: border-box;
}

.geo-switcher {
  position: relative;
  z-index: 10020;
  flex: 0 0 auto;
  align-self: center;
}

.geo-switcher__toggle {
  min-width: 62px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  margin: 0;
  padding: 0 10px;
  border: 1px solid color-mix(in srgb, var(--accent, #fec882) 55%, transparent);
  border-radius: 8px;
  color: var(--text, #fff7ef);
  background: color-mix(in srgb, var(--panel, #171416) 94%, transparent);
  box-shadow: inset 0 1px 0 rgb(255 255 255 / 5%);
  font: inherit;
  font-size: 13px;
  font-weight: 800;
  line-height: 1;
  cursor: pointer;
}

.geo-switcher__toggle:hover,
.geo-switcher__toggle:focus-visible,
.geo-switcher.is-open .geo-switcher__toggle {
  border-color: var(--accent, #fec882);
  outline: none;
}

.geo-switcher__flag,
.geo-network__flag {
  width: 22px;
  height: 15px;
  min-width: 22px;
  display: block;
  object-fit: cover;
  border-radius: 2px;
  box-shadow: 0 0 0 1px rgb(255 255 255 / 18%);
}

.geo-switcher__mobile-controls {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  justify-self: end;
  gap: 8px;
  min-width: 0;
}

.geo-switcher__caret {
  width: 7px;
  height: 7px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: translateY(-2px) rotate(45deg);
  transition: transform 160ms ease;
}

.geo-switcher.is-open .geo-switcher__caret {
  transform: translateY(2px) rotate(225deg);
}

.geo-switcher__menu {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  z-index: 10030;
  width: 118px;
  max-height: min(520px, calc(100vh - 96px));
  margin: 0;
  padding: 6px;
  overflow-y: auto;
  overscroll-behavior: contain;
  list-style: none;
  border: 1px solid color-mix(in srgb, var(--accent, #fec882) 45%, transparent);
  border-radius: 10px;
  background: var(--panel, #171416);
  box-shadow: 0 18px 42px rgb(0 0 0 / 42%);
}

.geo-switcher__menu[hidden] {
  display: none;
}

.geo-switcher__menu li {
  margin: 0;
  padding: 0;
  list-style: none;
}

.geo-switcher__link {
  min-height: 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 7px 9px;
  border-radius: 7px;
  color: var(--text, #fff7ef);
  text-decoration: none;
  font-size: 13px;
  font-weight: 800;
}

.geo-switcher__link:hover,
.geo-switcher__link:focus-visible {
  color: var(--text, #fff7ef);
  background: color-mix(in srgb, var(--accent, #fec882) 14%, transparent);
  outline: none;
}

.geo-switcher--compact .geo-switcher__toggle {
  min-width: 58px;
  height: 42px;
  padding-inline: 8px;
}

.geo-switcher--compact .geo-switcher__menu {
  position: fixed;
  top: var(--geo-menu-top, 68px);
  right: var(--geo-menu-right, 12px);
  width: max-content;
  max-width: calc(100vw - 24px);
  max-height: calc(100dvh - var(--geo-menu-top, 68px) - 12px);
}

.has-geo-switcher--compact .user-context,
.has-geo-switcher--compact .local-clock,
.has-geo-switcher--compact .header-clock,
.has-geo-switcher--compact .ireland-clock {
  display: none !important;
}

.has-geo-switcher.geo-site-ie:not(.has-geo-switcher--compact) .header-inner {
  grid-template-columns: 220px minmax(0, 1fr) minmax(404px, auto);
  gap: 12px;
}

.has-geo-switcher--compact.geo-site-ie .header-inner {
  display: flex;
  justify-content: space-between;
  gap: 12px;
}

@media (min-width: 767.01px) and (max-width: 900px) {
  .has-geo-switcher:is(
      .geo-site-at,
      .geo-site-pt,
      .geo-site-se,
      .geo-site-dk,
      .geo-site-fi
    )
    .header-inner,
  .has-geo-switcher:is(
      .geo-site-at,
      .geo-site-pt,
      .geo-site-se,
      .geo-site-dk,
      .geo-site-fi
    )
    .header-panel,
  .has-geo-switcher:is(
      .geo-site-at,
      .geo-site-pt,
      .geo-site-se,
      .geo-site-dk,
      .geo-site-fi
    )
    .header-panel
    nav,
  .has-geo-switcher:is(
      .geo-site-at,
      .geo-site-pt,
      .geo-site-se,
      .geo-site-dk,
      .geo-site-fi
    )
    .header-actions {
    gap: 5px;
  }

  .has-geo-switcher:is(
      .geo-site-at,
      .geo-site-pt,
      .geo-site-se,
      .geo-site-dk,
      .geo-site-fi
    )
    .header-panel
    nav
    a {
    padding-inline: 4px;
  }

  .has-geo-switcher:is(
      .geo-site-at,
      .geo-site-pt,
      .geo-site-se,
      .geo-site-dk,
      .geo-site-fi
    )
    .header-actions
    .cta {
    min-width: 88px;
    padding-inline: 7px;
  }

  .has-geo-switcher:is(
      .geo-site-at,
      .geo-site-pt,
      .geo-site-se,
      .geo-site-dk,
      .geo-site-fi
    )
    .geo-switcher__toggle {
    min-width: 46px;
    padding-inline: 7px;
    gap: 4px;
  }

  .has-geo-switcher:is(
      .geo-site-at,
      .geo-site-pt,
      .geo-site-se,
      .geo-site-dk,
      .geo-site-fi
    )
    .geo-switcher__toggle
    .geo-switcher__flag {
    display: none;
  }
}

@media (min-width: 767.01px) and (max-width: 900px) {
  .has-geo-switcher.geo-site-fi
    .geo-switcher__toggle
    .geo-switcher__flag {
    display: block;
  }
}

.geo-network {
  width: min(calc(100% - 32px), var(--container, 1240px));
  margin: 24px auto;
  padding: 18px;
  border-top: 1px solid
    color-mix(in srgb, var(--accent, #fec882) 25%, transparent);
  border-bottom: 1px solid
    color-mix(in srgb, var(--accent, #fec882) 18%, transparent);
}

.geo-network__list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.geo-network__list li {
  min-width: 0;
  margin: 0;
  padding: 0;
  list-style: none;
}

.geo-network__link,
.geo-network__current {
  min-height: 38px;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 8px;
  border-radius: 7px;
  color: inherit;
  font-size: 13px;
  line-height: 1.25;
  text-decoration: none;
}

.geo-network__link:hover,
.geo-network__link:focus-visible {
  color: var(--accent, #fec882);
  background: color-mix(in srgb, var(--accent, #fec882) 9%, transparent);
  outline: none;
}

.geo-network__current {
  color: var(--accent, #fec882);
  font-weight: 800;
  background: color-mix(in srgb, var(--accent, #fec882) 8%, transparent);
}

@media (max-width: 900px) {
  .geo-network__list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 520px) {
  .geo-network {
    width: calc(100% - 24px);
    padding: 14px 10px;
  }

  .geo-network__list {
    grid-template-columns: 1fr;
  }
}
