.ppro-y26-almanac-map-eu,
.ppro-y26-almanac-map-eu *,
.ppro-y26-almanac-map-eu *::before,
.ppro-y26-almanac-map-eu *::after {
  box-sizing: border-box;
}

html:has(.ppro-y26-almanac-map-eu),
body:has(.ppro-y26-almanac-map-eu) {
  overflow-x: clip;
}

.ppro-y26-almanac-map-eu {
  font-family: 'Nunito Sans', sans-serif;
  line-height: 1.6;
  color: #333;
}

.ppro-y26-almanac-map-eu .map-story-wrapper {
  position: relative;
  background: var(--ppro-color-paper);
  padding: 40px;
}

.ppro-y26-almanac-map-eu .map-story-container {
  position: sticky;
  top: 40px;
  height: calc(100vh - 80px);
  display: flex;
  background: var(--ppro-color-paper);
  margin-bottom: 40px;
}

.ppro-y26-almanac-map-eu .map-container {
  width: 50%;
  height: 100%;
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 0 10px 2px #5f7e9b40;
}

.ppro-y26-almanac-map-eu #map {
  width: 100%;
  height: 100%;
}

.ppro-y26-almanac-map-eu .mapboxgl-canvas {
  cursor: default;
}

.ppro-y26-almanac-map-eu #map .mapboxgl-canvas-container {
  pointer-events: auto;
}

.ppro-y26-almanac-map-eu #map .mapboxgl-marker,
.ppro-y26-almanac-map-eu #map .mapboxgl-popup {
  pointer-events: auto;
}

.ppro-y26-almanac-map-eu .mapboxgl-popup {
  max-width: 280px;
}

.ppro-y26-almanac-map-eu .mapboxgl-popup-tip {
  display: none;
}

.ppro-y26-almanac-map-eu .mapboxgl-popup-content {
  font-family: 'Nunito Sans', sans-serif;
  border-radius: 12px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
  padding-right: 18px;
  background: rgba(255, 255, 255, 0.9);
}

.ppro-y26-almanac-map-eu .popup-header {
  display: flex;
  align-items: center;
  padding: 4px 0;
  border-bottom: 1px solid #eee;
}

.ppro-y26-almanac-map-eu .popup-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: #281932;
  margin: 0;
}

.ppro-y26-almanac-map-eu .popup-description {
  color: #666;
  margin: 8px 0;
  font-size: 0.9rem;
}

.ppro-y26-almanac-map-eu .popup-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  margin-top: 4px;
}

.ppro-y26-almanac-map-eu .popup-pill {
  background: #87cddc;
  color: #281932;
  font-size: 11px;
  line-height: 1;
  padding: 4px 9px;
  border-radius: 10px;
  font-weight: 600;
  letter-spacing: 0.3px;
  display: inline-block;
  white-space: nowrap;
}

.ppro-y26-almanac-map-eu .mapboxgl-popup-close-button {
  font-size: 20px;
  width: 26px;
  height: 26px;
  line-height: 24px;
  border-radius: 6px;
  color: #333;
  background: transparent;
  padding: 0;
  right: 6px;
  top: 2px;
  -webkit-tap-highlight-color: transparent;
}

.ppro-y26-almanac-map-eu .mapboxgl-popup-close-button:hover {
  background: rgba(0, 0, 0, 0.06);
}

.ppro-y26-almanac-map-eu .story-content {
  width: 50%;
  height: 100%;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.ppro-y26-almanac-map-eu .story-sections-container {
  position: relative;
  width: 100%;
  height: 100%;
}

.ppro-y26-almanac-map-eu .story-section {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  padding: 60px 0 60px 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: transparent;
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.6s ease;
  pointer-events: none;
}

.ppro-y26-almanac-map-eu .story-section.active {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.ppro-y26-almanac-map-eu .story-section h2 {
  font-size: 2.2rem;
  font-weight: 700;
  margin: 20px 0;
  color: #281932;
  line-height: 1.2;
}

.ppro-y26-almanac-map-eu .story-section h3 {
  font-size: 22px;
  font-weight: 600;
  margin-bottom: 15px;
  color: #333;
}

.ppro-y26-almanac-map-eu .story-section p {
  font-size: 1rem;
  margin-bottom: 18px;
  color: #666;
  line-height: 1.6;
}

.ppro-y26-almanac-map-eu .flag-title {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin: 15px 0 30px;
}

.ppro-y26-almanac-map-eu .flag-title .flag-icon {
  flex: 0 0 48px;
  height: 36px;
}

.ppro-y26-almanac-map-eu .flag-title h2 {
  flex: 1 1 auto;
  margin: 0;
}

.ppro-y26-almanac-map-eu .flag-icon {
  width: 48px;
  height: 36px;
  object-fit: cover;
  border: 1px solid #dedede;
}

.ppro-y26-almanac-map-eu .tab-flag {
  width: 20px;
  height: 20px;
  object-fit: contain;
}

.ppro-y26-almanac-map-eu .stats {
  padding: 20px 0;
  margin: 15px 0 30px;
}

.ppro-y26-almanac-map-eu .stats h4 {
  color: #2674e0;
  margin-bottom: 10px;
  font-size: 1.1rem;
}

.ppro-y26-almanac-map-eu .stats ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.ppro-y26-almanac-map-eu .stats li {
  padding: 4px 0;
  color: #666;
  font-size: 0.95rem;
}

.ppro-y26-almanac-map-eu .stats li strong {
  color: #281932;
}

.ppro-y26-almanac-map-eu .lpm-cta {
  margin-top: 10px;
}

.ppro-y26-almanac-map-eu .submit-cta-btn {
  display: inline-flex;
  align-items: center;
  padding: 10px 16px;
  border: 1px solid #281932;
  border-radius: 5px;
  color: #281932;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.2s ease;
  background-color: transparent;
}

.ppro-y26-almanac-map-eu .submit-cta-btn:hover {
  background-color: #281932;
  color: #fff;
}

.ppro-y26-almanac-map-eu .mobile-tabs {
  display: none;
  background: #fff;
  z-index: 1000;
  position: relative;
  order: 1;
  overflow: hidden;
}

.ppro-y26-almanac-map-eu .tabs-container {
  display: flex;
  overflow-x: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
  scroll-behavior: smooth;
  padding: 0 8px;
  position: relative;
  gap: 8px;
  scroll-snap-type: x mandatory;
}

.ppro-y26-almanac-map-eu .mobile-tabs::before,
.ppro-y26-almanac-map-eu .mobile-tabs::after {
  content: '';
  position: absolute;
  top: 0;
  height: 100%;
  width: 15px;
  pointer-events: none;
  z-index: 2;
}

.ppro-y26-almanac-map-eu .mobile-tabs::before {
  left: 0;
  background: linear-gradient(to right, #fff 0%, rgba(255, 255, 255, 0) 100%);
}

.ppro-y26-almanac-map-eu .mobile-tabs::after {
  right: 0;
  background: linear-gradient(to left, #fff 0%, rgba(255, 255, 255, 0) 100%);
}

.ppro-y26-almanac-map-eu .tabs-container::-webkit-scrollbar {
  display: none;
}

.ppro-y26-almanac-map-eu .tab-button {
  flex: 0 0 auto;
  padding: 10px 14px;
  background: #fff;
  border: 1px solid #e4e4e4;
  border-radius: 10px;
  color: #333;
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
  transition: box-shadow 0.2s ease, background 0.2s ease, color 0.2s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  white-space: nowrap;
  user-select: none;
  -webkit-tap-highlight-color: transparent;
  scroll-snap-align: center;
}

.ppro-y26-almanac-map-eu .tab-button.active {
  color: #0070ba;
  background: #fff;
  border-color: #e4e4e4;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
}

.ppro-y26-almanac-map-eu .tab-button:hover {
  background: #f8f9fb;
}

.ppro-y26-almanac-map-eu .mobile-map-container {
  display: none;
  width: 100%;
  height: calc(100vh - 200px);
  position: relative;
  order: 2;
}

.ppro-y26-almanac-map-eu #mobile-map {
  width: 100%;
  height: 100%;
}

.ppro-y26-almanac-map-eu .mobile-detail-panel {
  display: none;
}

.ppro-y26-almanac-map-eu .panel-content {
  padding: 20px;
  overflow: visible;
  background: var(--ppro-color-paper);
}

.ppro-y26-almanac-map-eu .panel-footer-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 12px 16px 20px;
  background: var(--ppro-color-paper);
  border-top: 1px solid #eee;
}

.ppro-y26-almanac-map-eu .panel-footer-nav button {
  background: #281932;
  color: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 25px;
  padding: 10px 15px;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  cursor: pointer;
}

.ppro-y26-almanac-map-eu .panel-footer-nav button:disabled {
  opacity: 0.5;
  cursor: default;
}

.ppro-y26-almanac-map-eu .scroll-trigger {
  height: 85vh;
  position: relative;
  pointer-events: none;
}

@media (max-width: 768px) {
  .ppro-y26-almanac-map-eu .map-story-wrapper {
    padding: 0;
    background: var(--ppro-color-paper);
    height: auto;
  }

  .ppro-y26-almanac-map-eu .map-story-container {
    position: relative;
    top: 0;
    height: auto;
    flex-direction: column;
    margin-bottom: 0;
    box-shadow: none;
    overflow: hidden;
  }

  .ppro-y26-almanac-map-eu .map-container,
  .ppro-y26-almanac-map-eu .story-content {
    display: none;
  }

  .ppro-y26-almanac-map-eu .mobile-tabs {
    display: block;
    height: 60px;
    position: relative;
    z-index: 100;
    flex-shrink: 0;
    background: #f8f9fa;
    border-bottom: 1px solid #e9ecef;
    order: 1;
  }

  .ppro-y26-almanac-map-eu .tabs-container {
    background: #fff;
    height: 100%;
    align-items: center;
  }

  .ppro-y26-almanac-map-eu .tab-button {
    min-width: 120px;
  }

  .ppro-y26-almanac-map-eu .mobile-map-container {
    display: block;
    height: 40vh;
    position: relative;
    z-index: 1;
    flex-shrink: 0;
    order: 2;
  }

  .ppro-y26-almanac-map-eu .mobile-detail-panel {
    position: relative;
    width: 100%;
    height: auto;
    background: var(--ppro-color-paper);
    box-shadow: none;
    transform: none;
    overflow: visible;
    display: block;
    order: 3;
  }

  .ppro-y26-almanac-map-eu .panel-content h2 {
    font-size: 28px;
    font-weight: 700;
    margin: 20px 0;
    color: #281932;
    line-height: 30px;
  }

  .ppro-y26-almanac-map-eu .panel-content h3 {
    font-size: 22px;
    font-weight: 600;
    margin-bottom: 15px;
    color: #333;
  }

  .ppro-y26-almanac-map-eu .panel-content p {
    font-size: 1rem;
    margin-bottom: 18px;
    color: #666;
    line-height: 1.6;
  }

  .ppro-y26-almanac-map-eu .scroll-trigger {
    display: none;
    height: 0;
    margin: 0;
    padding: 0;
  }
}
