
.site-title {
  margin: 0;
  font-size: 1.8rem;
  line-height: 1.03;
  letter-spacing: -0.03em;
  font-weight: 800;
  color: var(--text-mid);
}

.site-tagline {
  margin: 8px 0 0;
  font-size: 0.95rem;
  line-height: 1.35;
  color: var(--text-muted);
}

.sidebar-card {
  background: var(--panel-bg-stronger);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-md);
  padding: 2px;
}

.sidebar-card-inner {
  background: var(--panel-bg);
  border-radius: var(--radius-md);
  padding: 14px 14px 13px;
}

.sidebar-label {
  margin: 13px 13px 10px;
  font-size: 0.84rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--text-soft);
}

.panel-label {
  margin: 0 0 10px;
  font-size: 0.84rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--text-soft);
}

.nav-link {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  color: #2f4a3a;
  text-decoration: none;
}

.nav-link svg {
  width: 16px;
  height: 16px;
}

.location-line {
  font-size: 16px;
  color: var(--text-muted);
}

#current-location-label {
  font-weight: 600;
  color: var(--text-strong);
}

.brand-block {
  padding: 6px 6px 2px;
}


.nav-links {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.nav-link {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  font-weight: 700;
  text-decoration: none;
  color: var(--text-main);
}

.nav-link:hover,
.nav-link.is-active {
  color: var(--accent);
}

.sidebar-footer {
  margin-top: auto;
  padding: 8px 6px 2px;
  font-size: 0.8rem;
  line-height: 1.4;
  color: var(--text-muted);
}

.sidebar-footer a {
  text-decoration: none;
  border-bottom: 1px solid rgba(95, 109, 97, 0.45);
}


.right-panel-top-spacer {
  flex: 0.2;
  min-height: 0;
}

.right-panel-bottom-spacer {
  flex: 0.6;
  min-height: 32px;
}

.map-weather-block {
  display: flex;
  flex-direction: column;
  gap: 14px; /* keeps map-weather spacing basically as now */
}

.how-block {
  margin-top: auto;
  background: var(--panel-bg-stronger);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-lg);
  padding: 14px;
}

#map-wrapper {
  position: relative;
  width: 100%;
}

#map {
  width: 100%;
  height: var(--map-height);
  border-radius: 16px;
  overflow: hidden;
}

.leaflet-tile-pane img.leaflet-tile,
.leaflet-tile-pane img.leaflet-tile-loaded {
  mix-blend-mode: multiply;
}
#map,
.leaflet-container,
.leaflet-pane,
.leaflet-tile-pane {
  background: #dfe8f5;
}


#place-search-container {
  position: absolute;
  top: 12px;
  left: 55px;
  z-index: 700;
  width: min(var(--search-width), calc(100% - 36px));
}

#place-search {
  width: 100%;
  box-sizing: border-box;
  padding: 10px 12px;
  border: 1px solid #b9c3b1;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.96);
  font-size: 14px;
  font-family: inherit;
}

#place-results {
  display: none;
  margin-top: 6px;
  background: white;
  border: 1px solid #d0d9c8;
  border-radius: 12px;
  max-height: 260px;
  overflow-y: auto;
  box-shadow: 0 10px 28px rgba(28, 38, 24, 0.08);
}

.place-result {
  padding: 9px 12px;
  cursor: pointer;
  border-bottom: 1px solid #edf2e8;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.place-result:last-child {
  border-bottom: none;
}

.place-result:hover,
.place-result.active {
  background: #f3f8ee;
}

#map-title {
  margin-bottom: 0px;
  padding-bottom: 0px;
  font-size: 1.2rem;
  color: var(--text-mid);
}

#weather-bar {
  margin-top: 14px;
  padding: 12px 14px;
  min-height: 48px;
  width: 100%;
  border-radius: 14px;
  border: 1px solid rgba(0, 0, 0, 0.04);
  box-shadow: var(--shadow-soft);

  display: flex;
  align-items: center;
  justify-content: space-evenly;
  gap: 10px;

  font-size: 16px;
  line-height: 1;
  font-weight: 600;
}

#weather-bar .weather-sky {
  font-size: 24px;
}

.stats-text,
.how-text {
  margin: 0;
  font-size: 0.96rem;
  line-height: 1.5;
  color: var(--text-main);
}

.stats-text strong,
.how-text strong {
  font-weight: 800;
}

.how-links {
  color: var(--text-muted);
}

.how-links a {
  text-decoration: none;
}

.coffee-p {
  margin-top: 6px;
  margin-bottom: 32px;
}

.coffee-link,
.coffee-link:link,
.coffee-link:visited {
  font-weight: 800;
  text-transform: uppercase;
  font-size: 0.9rem;
  letter-spacing: 0.02em;
  text-decoration: none;
  color: var(--text-strong);
  margin-left: 8px;
}

.coffee-link:hover {
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 2px;
  opacity: 0.9;
}

@media (max-width: 1200px) {

  .sidebar .brand-block {
    display: none;
  }

  .jump-to-top a {
    margin: 10px 0 0;
    font-size: 0.92rem;
    line-height: 1.3;
    color: var(--text-muted);
    text-decoration: none;
    border-bottom: 1px solid currentColor;
  }
}

@media (max-width: 980px) {
  #weather-bar {
    font-size: 14px;
    gap: 6px;
    flex-wrap: wrap;
  }
}