/* Navegación compartida de 141.cl */
html.menu-141-open,
body.menu-141-open {
  overflow: hidden !important;
  overscroll-behavior: none;
}

.hamburger,
.menu,
.menu-close {
  border: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  -webkit-appearance: none;
  appearance: none;
}

/* El botón del home y el de las páginas interiores deben ser idénticos. */
.hamburger,
.menu {
  width: 44px !important;
  height: 44px !important;
  padding: 0 !important;
  display: flex !important;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px !important;
  flex: 0 0 44px;
  margin-right: -8px;
  cursor: pointer;
}

.hamburger span,
.menu span {
  display: block;
  width: 22px !important;
  height: 1.5px !important;
  flex: 0 0 1.5px;
  background: #888 !important;
}

.hamburger:focus-visible,
.menu:focus-visible,
.menu-close:focus-visible,
.menu-item:focus-visible,
.tab:focus-visible {
  outline: 2px solid #f5a623;
  outline-offset: 2px;
}

.menu-overlay {
  position: fixed;
  top: 0;
  left: 50%;
  width: 100%;
  max-width: 390px;
  transform: translateX(-50%);
  height: 100vh !important;
  height: 100dvh !important;
  background: #0a0a0f !important;
  font-family: -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif;
  padding-top: env(safe-area-inset-top, 0px);
  visibility: hidden;
  overflow: hidden;
  overscroll-behavior: contain;
  transition: opacity 0.25s ease, visibility 0s linear 0.25s !important;
}

.menu-overlay.open {
  visibility: visible;
  transition: opacity 0.25s ease !important;
}

.menu-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  min-height: 56px !important;
  border-bottom: 0.5px solid #1a1a1a !important;
  padding-top: 0.7rem !important;
  padding-bottom: 0.7rem !important;
  padding-left: max(1.2rem, env(safe-area-inset-left, 0px)) !important;
  padding-right: max(1.2rem, env(safe-area-inset-right, 0px)) !important;
}

.menu-logo {
  font-size: 20px !important;
  line-height: 1;
  font-weight: 700 !important;
  letter-spacing: -0.5px !important;
  color: #fff;
  text-decoration: none;
}

.menu-close {
  flex: 0 0 44px;
  width: 44px !important;
  height: 44px !important;
  padding: 0;
  display: flex !important;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  margin-right: -8px;
  cursor: pointer;
}

.menu-close span {
  display: block;
  width: 22px !important;
  height: 1.5px !important;
  background: #fff !important;
}

.menu-close span:nth-child(1) {
  transform: translateY(3.25px) rotate(45deg);
}

.menu-close span:nth-child(2) {
  transform: translateY(-3.25px) rotate(-45deg);
}

.menu-items {
  min-height: 0;
  flex: 1 1 auto !important;
  display: block !important;
  overflow-x: hidden !important;
  overflow-y: auto !important;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
  padding: 0 1.4rem max(18px, env(safe-area-inset-bottom, 0px)) !important;
  scrollbar-width: thin;
  scrollbar-color: #333 transparent;
}

.menu-item {
  display: flex !important;
  align-items: center;
  gap: 16px;
  min-height: 62px;
  max-height: none !important;
  flex: none !important;
  padding: 8px 0;
  border-bottom: 0.5px solid #2a2a2a !important;
  color: #ccc;
  text-decoration: none;
}

.menu-item:last-child {
  border-bottom: 0 !important;
}

.menu-num {
  min-width: 20px;
  color: #666 !important;
  font-size: 11px !important;
  line-height: 1;
  letter-spacing: 0.08em !important;
}

.menu-name {
  color: #ccc !important;
  font-size: 24px !important;
  font-weight: 500 !important;
  line-height: 1.2 !important;
}

.menu-item[aria-current="page"] .menu-name,
.menu-item[aria-current="page"] .menu-num,
.menu-item:hover .menu-name,
.menu-item:hover .menu-num,
.menu-item:focus-visible .menu-name,
.menu-item:focus-visible .menu-num {
  color: #f5a623 !important;
}

.tabbar {
  padding-left: env(safe-area-inset-left, 0px) !important;
  padding-right: env(safe-area-inset-right, 0px) !important;
}

@media (max-height: 650px) {
  .menu-item { min-height: 54px; }
  .menu-name { font-size: 21px !important; }
}

@media (prefers-reduced-motion: reduce) {
  .menu-overlay { transition: none !important; }
}

/* Hora exacta y temperatura: legibilidad general */
.clima-text,
#weatherLine {
  font-size: 17px !important;
  line-height: 1.25 !important;
  font-weight: 400 !important;
  color: #8b8e98 !important;
}


/* 141-CLIMA-INICIO */
.clima-text,
#weatherLine,
#climabar {
  font-size: 15px !important;
  line-height: 1.3 !important;
  font-weight: 400 !important;
  color: #8b8e98 !important;
  white-space: nowrap !important;
}
/* 141-CLIMA-FIN */

/* 141-SEPARADOR-INICIO */
.content-divider {
  width: calc(100% - 2.4rem);
  max-width: 352px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 12px;
  color: #696b74;
  font-size: 10px;
  font-weight: 500;
  line-height: 1;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  white-space: nowrap;
}

.content-divider::before,
.content-divider::after {
  content: "";
  flex: 1 1 auto;
  height: 0.5px;
  background: #292a31;
}
/* 141-SEPARADOR-FIN */
