/*
Theme Name:     Trawell Child
Theme URI:      https://mekshq.com/theme/trawell	
Description:    Child theme for Trawell theme
Author:         meks
Author URI:     https://mekshq.com
Template:       trawell
Version:        0.1.6
*/

/* Übersichtskarte für Roadtrip-Beiträge – bricht aus dem 800px-Textrahmen aus */
@media (min-width: 1024px) {
  .trawell-sidebar-none .tag-roadtrip .entry-content .leaflet-map {
    width: min(1200px, calc(100vw - 60px)) !important;
    max-width: none !important;
    margin-left: 50%;
    transform: translateX(-50%);
  }
}

/* Roadtrip-Marker: Kreis mit Nummer + Label */

/* Standard-Leaflet-Marker unsichtbar, damit sie nicht kurz aufblitzen */
.leaflet-marker-icon:not(.anori-marker) {
  opacity: 0;
  pointer-events: none;
}

.leaflet-div-icon.anori-marker {
  background: transparent !important;
  border: none !important;
  position: relative;
  overflow: visible;
}

.anori-marker-circle {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #003366;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font: 700 15px/1 Arial, sans-serif;
  box-shadow: 0 0 0 2px #ffffff, 0 2px 6px rgba(0,0,0,0.28);
  transition: background 160ms ease, transform 160ms ease;
  cursor: pointer;
}

.anori-marker-label {
  position: absolute;
  top: 38px;
  left: 50%;
  transform: translateX(-50%);
  background: #ffffff;
  color: #1a2332;
  font: 600 13px/1.3 Arial, sans-serif;
  padding: 4px 10px;
  border-radius: 4px;
  box-shadow: 0 1px 4px rgba(0,0,0,0.22);
  white-space: nowrap;
  letter-spacing: 0.01em;
  transition: background 160ms ease;
  cursor: pointer;
}

.anori-marker:hover .anori-marker-circle {
  background: #0056b3;
  transform: translateX(-50%) scale(1.15);
}

.anori-marker:hover .anori-marker-label {
  background: #fffbee;
}