/**
 * Nuu Partnerships Stylesheet
 * Brand colors: Deep Navy (#1b3554), Accent Gold (#bea587), Slate (#64748b)
 */

:root {
  --nuu-navy: #1b3554;
  --nuu-navy-dark: #12243a;
  --nuu-gold: #bea587;
  --nuu-gold-light: #f5eedf;
  --nuu-slate: #64748b;
  --nuu-slate-light: #f8fafc;
  --nuu-border: #e2e8f0;
  --nuu-text: #1e293b;
  --nuu-radius: 12px;
  --nuu-shadow: none;
  --nuu-shadow-hover: none;
}

.nuu-partnerships-wrapper {
  margin-top: 0.5rem;
  margin-bottom: 3.5rem;
  font-family: inherit;
  color: var(--nuu-text);
}

/* Page Header & Intro (Compact) */
.nuu-part-header {
  margin-bottom: 1.25rem;
}

.nuu-page-main-title {
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--nuu-navy);
  margin-bottom: 0.25rem;
  line-height: 1.25;
}

.nuu-page-sub-title {
  font-size: 0.95rem;
  color: var(--nuu-slate);
}

.nuu-results-count-badge {
  font-size: 0.88rem;
  color: var(--nuu-slate);
  background: var(--nuu-slate-light);
  border: 1px solid var(--nuu-border);
  padding: 5px 14px;
  border-radius: 20px;
  font-weight: 500;
  white-space: nowrap;
}

.nuu-results-count-badge strong {
  color: var(--nuu-navy);
  font-weight: 700;
}

/* Navigation & Controls Bar (Dense Single-Row) */
.nuu-controls-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.5rem;
  background: #fff;
  padding: 1rem 1.25rem;
  border-radius: var(--nuu-radius);
  border: 1px solid var(--nuu-border);
  box-shadow: none;
}

.nuu-controls-bar-dense {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
  background: #fff;
  padding: 0.6rem 0.85rem;
  border-radius: var(--nuu-radius);
  border: 1px solid var(--nuu-border);
  box-shadow: none;
}

.nuu-search-box-dense {
  position: relative;
  flex-grow: 1;
  min-width: 240px;
  max-width: 480px;
}

.nuu-search-box-dense .search-icon {
  position: absolute;
  left: 0.85rem;
  top: 50%;
  transform: translateY(-50%);
  width: 17px;
  height: 17px;
  color: var(--nuu-slate);
  pointer-events: none;
}

.nuu-filter-input-dense {
  width: 100%;
  height: 40px;
  padding: 0 1rem 0 2.4rem;
  border: 1px solid var(--nuu-border);
  border-radius: 8px;
  background-color: var(--nuu-slate-light);
  color: var(--nuu-text);
  font-size: 0.92rem;
  outline: none;
  transition: all 0.2s ease;
}

.nuu-filter-input-dense:focus {
  border-color: var(--nuu-navy);
  background-color: #fff;
  box-shadow: 0 0 0 3px rgba(27, 53, 84, 0.1);
}

.nuu-controls-right-group {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

/* Filter Toggle Button */
.nuu-btn-filter-toggle {
  height: 40px;
  padding: 0 14px;
  background: #ffffff;
  border: 1px solid var(--nuu-border);
  border-radius: 8px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--nuu-navy);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  transition: all 0.2s ease;
  position: relative;
  line-height: 1;
}

.nuu-btn-filter-toggle:hover,
.nuu-btn-filter-toggle.active {
  background: var(--nuu-slate-light);
  border-color: var(--nuu-navy);
  color: var(--nuu-navy);
}

.nuu-btn-filter-toggle svg {
  width: 16px;
  height: 16px;
  stroke: currentColor;
  display: block;
  flex-shrink: 0;
}

.nuu-btn-filter-toggle span {
  display: block;
  padding-top: 3px;
}

.nuu-filter-active-indicator {
  width: 8px;
  height: 8px;
  background: #ea580c;
  border-radius: 50%;
  display: inline-block;
  margin-left: 2px;
}

/* Scope Tabs (International vs Domestic) */
.nuu-scope-tabs {
  display: flex;
  gap: 0.5rem;
  background: var(--nuu-slate-light);
  padding: 4px;
  border-radius: 8px;
  border: 1px solid var(--nuu-border);
}

.nuu-scope-btn {
  border: none;
  background: transparent;
  padding: 7px 18px;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--nuu-slate);
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  line-height: 1;
}

.nuu-scope-btn:hover {
  color: var(--nuu-navy);
}

.nuu-scope-btn.active {
  background: var(--nuu-navy);
  color: #fff;
  box-shadow: none;
}

.nuu-scope-btn span {
  display: block;
  padding-top: 3px;
}

.nuu-scope-btn .badge-count {
  background: rgba(255, 255, 255, 0.25);
  color: inherit;
  font-size: 0.75rem;
  padding: 2px 7px;
  border-radius: 12px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  height: 18px;
}

.nuu-scope-btn:not(.active) .badge-count {
  background: #e2e8f0;
  color: var(--nuu-slate);
}

/* View Switcher (List vs Map) */
.nuu-view-switcher {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  background: var(--nuu-slate-light);
  padding: 4px;
  border-radius: 8px;
  border: 1px solid var(--nuu-border);
}

.nuu-view-btn {
  border: none;
  background: transparent;
  padding: 6px 14px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--nuu-slate);
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  line-height: 1;
}

.nuu-view-btn svg {
  width: 17px;
  height: 17px;
  stroke: currentColor;
  display: block;
  flex-shrink: 0;
}

.nuu-view-btn span {
  display: block;
  padding-top: 3px;
}

.nuu-view-btn:hover {
  color: var(--nuu-navy);
}

.nuu-view-btn.active {
  background: #fff;
  color: var(--nuu-navy);
  box-shadow: none;
}

/* Filter Bar */
.nuu-filter-panel {
  background: #fff;
  border-radius: var(--nuu-radius);
  border: 1px solid var(--nuu-border);
  padding: 1.25rem;
  margin-bottom: 2rem;
  box-shadow: none;
}

.nuu-filter-grid {
  display: grid;
  grid-template-columns: 2fr 1.5fr 1.5fr auto;
  gap: 1rem;
  align-items: center;
}

/* Collapsible Filter Panel */
.nuu-filter-collapsible {
  margin-bottom: 1.25rem;
  padding: 1rem 1.25rem;
  background: #fff;
  border: 1px solid var(--nuu-border);
  border-radius: var(--nuu-radius);
  animation: nuuFadeIn 0.2s ease-in-out;
}

@keyframes nuuFadeIn {
  from { opacity: 0; transform: translateY(-6px); }
  to { opacity: 1; transform: translateY(0); }
}

.nuu-filter-grid-collapsible {
  display: grid;
  grid-template-columns: 1fr 1fr auto;
  gap: 1rem;
  align-items: center;
}

.nuu-filter-item {
  position: relative;
}

.nuu-filter-input,
.nuu-filter-select {
  width: 100%;
  height: 44px;
  padding: 0 1rem;
  border: 1px solid var(--nuu-border);
  border-radius: 8px;
  background-color: var(--nuu-slate-light);
  color: var(--nuu-text);
  font-size: 0.95rem;
  outline: none;
  transition: all 0.2s;
}

.nuu-filter-input:focus,
.nuu-filter-select:focus {
  border-color: var(--nuu-navy);
  background-color: #fff;
  box-shadow: 0 0 0 3px rgba(27, 53, 84, 0.1);
}

.nuu-search-box {
  position: relative;
}

.nuu-search-box input {
  padding-left: 2.5rem;
}

.nuu-search-box .search-icon {
  position: absolute;
  left: 0.85rem;
  top: 50%;
  transform: translateY(-50%);
  width: 18px;
  height: 18px;
  color: var(--nuu-slate);
  pointer-events: none;
}

.nuu-btn-reset {
  height: 44px;
  padding: 0 1.25rem;
  border: 1px solid var(--nuu-border);
  background: #fff;
  color: var(--nuu-slate);
  border-radius: 8px;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  white-space: nowrap;
  transition: all 0.2s;
}

.nuu-btn-reset:hover {
  background: #fee2e2;
  border-color: #fca5a5;
  color: #dc2626;
}

/* Results Meta Bar */
.nuu-results-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.5rem;
  font-size: 0.95rem;
  color: var(--nuu-slate);
}

.nuu-results-count strong {
  color: var(--nuu-navy);
  font-size: 1.1rem;
}

/* Map View Container */
.nuu-partnerships-wrapper.nuu-view-map-active {
  margin-bottom: 1.25rem;
}

#nuu-map-view {
  width: 100%;
  margin-top: 0;
  margin-bottom: 3.5rem;
}

#nuu-map-container {
  width: 100%;
  height: 650px;
  border-radius: 0;
  overflow: hidden;
  border-top: 1px solid var(--nuu-border);
  border-bottom: 1px solid var(--nuu-border);
  border-left: none;
  border-right: none;
  box-shadow: none;
  position: relative;
  z-index: 1;
  transition: all 0.3s ease;
}

/* Cooperative Gesture Overlay (Google Maps Style) */
.nuu-map-gesture-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(18, 36, 58, 0.65);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.05rem;
  font-weight: 600;
  text-align: center;
  padding: 1.5rem;
  z-index: 1000;
  pointer-events: none;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease, visibility 0.25s ease;
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
}

.nuu-map-gesture-overlay.visible {
  opacity: 1;
  visibility: visible;
}

/* Fullscreen Mode */
#nuu-map-container.nuu-fullscreen-active,
#nuu-map-container:fullscreen {
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  bottom: 0 !important;
  width: 100vw !important;
  height: 100vh !important;
  max-width: 100vw !important;
  max-height: 100vh !important;
  z-index: 999999 !important;
  border-radius: 0 !important;
  border: none !important;
  margin: 0 !important;
  padding: 0 !important;
}

/* Fullscreen Toggle Button */
.nuu-map-fs-btn {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 1000;
  width: 38px;
  height: 38px;
  background: #ffffff;
  border: 2px solid rgba(0, 0, 0, 0.15);
  border-radius: 8px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
  transition: all 0.2s ease;
  color: #232856;
  padding: 0;
  outline: none;
}

.nuu-map-fs-btn:hover {
  background: #f8fafc;
  color: rgb(207, 191, 168);
  border-color: #232856;
  transform: scale(1.05);
}

.nuu-map-fs-btn svg {
  width: 18px;
  height: 18px;
  stroke: currentColor;
}

.nuu-map-fs-btn .icon-compress {
  display: none;
}

#nuu-map-container.nuu-fullscreen-active .nuu-map-fs-btn .icon-expand,
#nuu-map-container:fullscreen .nuu-map-fs-btn .icon-expand {
  display: none;
}

#nuu-map-container.nuu-fullscreen-active .nuu-map-fs-btn .icon-compress,
#nuu-map-container:fullscreen .nuu-map-fs-btn .icon-compress {
  display: block;
}

/* Modernized Leaflet Zoom Control */
#nuu-map-container .leaflet-control-zoom {
  border: 1px solid rgba(35, 40, 86, 0.12) !important;
  box-shadow: 0 4px 14px rgba(35, 40, 86, 0.12), 0 1px 3px rgba(0, 0, 0, 0.08) !important;
  border-radius: 8px !important;
  overflow: hidden;
}

#nuu-map-container .leaflet-control-zoom a {
  color: #232856 !important;
  background-color: #ffffff !important;
  transition: all 0.2s ease;
}

#nuu-map-container .leaflet-control-zoom a:hover {
  background-color: #f8fafc !important;
  color: rgb(207, 191, 168) !important;
}

/* Leaflet Map Mode Switcher (Cluster vs Unclustered / All Points) */
#nuu-map-container .nuu-map-mode-control {
  display: inline-flex;
  flex-direction: row;
  align-items: center;
  gap: 3px;
  background: #ffffff;
  padding: 3px;
  border-radius: 8px;
  border: 1px solid rgba(35, 40, 86, 0.12);
  box-shadow: 0 4px 14px rgba(35, 40, 86, 0.12), 0 1px 3px rgba(0, 0, 0, 0.08);
  overflow: hidden;
  margin-top: 10px;
  pointer-events: auto;
}

#nuu-map-container .nuu-map-mode-control .nuu-mode-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 6px 12px;
  height: 32px;
  line-height: 1;
  background: transparent;
  color: #475569;
  border: none !important;
  border-radius: 6px;
  font-family: inherit;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  outline: none;
  box-shadow: none;
  margin: 0;
  text-decoration: none;
  -webkit-user-select: none;
  user-select: none;
}

#nuu-map-container .nuu-map-mode-control .nuu-mode-btn:hover {
  background: #f1f5f9;
  color: #232856;
}

#nuu-map-container .nuu-map-mode-control .nuu-mode-btn.active {
  background: #232856 !important;
  color: #ffffff !important;
  box-shadow: 0 2px 6px rgba(35, 40, 86, 0.28);
  cursor: default;
}

#nuu-map-container .nuu-map-mode-control .nuu-mode-btn .nuu-mode-icon {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
  transition: transform 0.2s ease, color 0.2s ease;
}

#nuu-map-container .nuu-map-mode-control .nuu-mode-btn.active .nuu-mode-icon {
  color: rgb(207, 191, 168);
  stroke: rgb(207, 191, 168);
}

#nuu-map-container .nuu-map-mode-control .nuu-mode-btn:not(.active):active {
  transform: scale(0.96);
}

@media (max-width: 640px) {
  #nuu-map-container .nuu-map-mode-control {
    margin-top: 8px;
    margin-left: 8px;
    padding: 2px;
    gap: 2px;
  }
  #nuu-map-container .nuu-map-mode-control .nuu-mode-btn {
    padding: 5px 9px;
    height: 28px;
    font-size: 11px;
    gap: 4px;
  }
  #nuu-map-container .nuu-map-mode-control .nuu-mode-btn .nuu-mode-icon {
    width: 13px;
    height: 13px;
  }
}

/* Custom Marker Cluster Styles - 100% Aylana & Pulsatsiyalovchi animatsiya */
.nuu-cluster-wrapper {
  background: transparent !important;
  border: none !important;
}

.nuu-cluster-icon {
  background: #232856 !important;
  color: #fff !important;
  border: 3px solid rgb(207, 191, 168) !important;
  border-radius: 50% !important;
  width: 44px !important;
  height: 44px !important;
  min-width: 44px !important;
  min-height: 44px !important;
  max-width: 44px !important;
  max-height: 44px !important;
  aspect-ratio: 1 / 1 !important;
  box-sizing: border-box !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  font-weight: 700 !important;
  font-size: 14px !important;
  line-height: 1 !important;
  text-align: center !important;
  position: relative;
  box-shadow: 0 4px 14px rgba(35, 40, 86, 0.4);
  animation: nuuClusterPulse 2.4s infinite cubic-bezier(0.45, 0, 0.55, 1);
  transition: transform 0.25s ease, background 0.2s ease;
  user-select: none;
}

.nuu-cluster-icon span {
  display: block;
  line-height: 1;
  text-align: center;
}

.nuu-cluster-icon:hover {
  transform: scale(1.12);
  background: #191c3d !important;
}

/* Klaster animatsiyasi (Pulse / Radar to'lqini) */
@keyframes nuuClusterPulse {
  0% {
    box-shadow: 0 0 0 0 rgba(207, 191, 168, 0.8), 0 4px 14px rgba(35, 40, 86, 0.4);
  }
  60% {
    box-shadow: 0 0 0 11px rgba(207, 191, 168, 0), 0 6px 18px rgba(35, 40, 86, 0.5);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(207, 191, 168, 0), 0 4px 14px rgba(35, 40, 86, 0.4);
  }
}

/* Custom Single Marker */
.nuu-single-marker {
  background: var(--nuu-navy);
  border: 2px solid #fff;
  border-radius: 50%;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 10px rgba(0,0,0,0.25);
  cursor: pointer;
  transition: transform 0.2s, background 0.2s, border-color 0.2s;
  box-sizing: border-box;
}

.nuu-single-marker:hover {
  transform: scale(1.22);
  background: var(--nuu-gold);
}

.nuu-single-marker img {
  width: 20px;
  height: 14px;
  border-radius: 2px;
  object-fit: cover;
  display: block;
}

/* Single Marker with University Logo */
.nuu-single-marker.nuu-marker-has-logo {
  background: #ffffff !important;
  border: 2px solid var(--nuu-navy);
  padding: 2px;
  width: 34px;
  height: 34px;
  overflow: hidden;
}

.nuu-single-marker.nuu-marker-has-logo:hover {
  border-color: var(--nuu-gold);
  transform: scale(1.25);
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.3);
}

.nuu-single-marker.nuu-marker-has-logo .nuu-marker-logo {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: contain;
}

/* Leaflet Popup Styling */
.leaflet-popup-content-wrapper {
  border-radius: 12px !important;
  padding: 0 !important;
  overflow: hidden;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.18) !important;
}

.leaflet-popup-content {
  margin: 0 !important;
  line-height: 1.4 !important;
  width: 280px !important;
}

.nuu-popup-card {
  padding: 1rem;
}

.nuu-popup-header-row {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 8px;
}

.nuu-popup-logo {
  width: 38px;
  height: 38px;
  min-width: 38px;
  min-height: 38px;
  background: #ffffff;
  border: 1px solid var(--nuu-border);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 3px;
  flex-shrink: 0;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.nuu-popup-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.nuu-popup-header-info {
  flex-grow: 1;
  min-width: 0;
}

.nuu-popup-country {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  color: var(--nuu-slate);
  margin-bottom: 4px;
  font-weight: 500;
}

.nuu-popup-country img {
  width: 20px;
  height: 14px;
  border-radius: 2px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.15);
}

.nuu-popup-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--nuu-navy);
  margin-bottom: 8px;
  line-height: 1.3;
}

.nuu-popup-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 12px;
}

.nuu-badge {
  font-size: 0.75rem;
  padding: 3px 8px;
  border-radius: 6px;
  font-weight: 600;
}

.nuu-badge-type {
  background: #e0f2fe;
  color: #0369a1;
}

.nuu-badge-doc {
  background: var(--nuu-gold-light);
  color: #8c6b41;
}

.nuu-badge-year {
  background: #f1f5f9;
  color: #475569;
}

.nuu-popup-btn {
  display: block;
  text-align: center;
  background: var(--nuu-navy);
  color: #fff !important;
  padding: 8px 12px;
  border-radius: 6px;
  font-size: 0.85rem;
  font-weight: 600;
  text-decoration: none !important;
  transition: background 0.2s;
}

.nuu-popup-btn:hover {
  background: var(--nuu-gold);
}

/* Grid & Cards View */
.nuu-part-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 1.5rem;
}

.nuu-card {
  background: #fff;
  border-radius: var(--nuu-radius);
  border: 1px solid var(--nuu-border);
  box-shadow: none;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transition: all 0.25s ease;
  position: relative;
}

.nuu-card:hover {
  transform: translateY(-3px);
  box-shadow: none;
  border-color: rgba(27, 53, 84, 0.35);
}

.nuu-card-header {
  padding: 1.1rem 1.25rem 0.35rem 1.25rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.75rem;
  background: transparent;
  border: none;
}

/* Davlat nomi va bayrog'i: Badge style (fon, chegara, kapsula) olib tashlangan toza matn */
.nuu-card-flag-country {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: transparent !important;
  border: none !important;
  padding: 0 !important;
  border-radius: 0 !important;
  font-size: 0.82rem;
  font-weight: 600;
  color: #475569;
  line-height: 1.2;
}

.nuu-card-flag-country img {
  width: 18px;
  height: 12px;
  border-radius: 2px;
  box-shadow: 0 0 1px rgba(0, 0, 0, 0.3);
  object-fit: cover;
  display: block;
  flex-shrink: 0;
  margin: 0;
}

.nuu-card-flag-country span {
  display: inline;
  padding: 0;
}

/* Hamkor turi: Badge style (fon, chegara, kapsula) olib tashlangan toza matn */
.nuu-card-header .nuu-badge,
.nuu-card-header .nuu-badge-type {
  background: transparent !important;
  border: none !important;
  padding: 0 !important;
  border-radius: 0 !important;
  font-size: 0.78rem;
  font-weight: 500;
  color: #64748b;
  text-transform: none;
  letter-spacing: 0;
}

.nuu-card-body {
  padding: 0.5rem 1.25rem 1.15rem;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.nuu-card-title-row {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 0.75rem;
}

.nuu-card-logo-wrap {
  width: 44px;
  height: 44px;
  min-width: 44px;
  min-height: 44px;
  background: #ffffff;
  border: 1px solid var(--nuu-border);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 4px;
  flex-shrink: 0;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.nuu-card-logo-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.nuu-card-title-row .nuu-card-title {
  margin-bottom: 0;
  flex-grow: 1;
}

.nuu-card-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--nuu-navy);
  margin-bottom: 0.75rem;
  line-height: 1.35;
}

.nuu-card-title a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s;
}

.nuu-card-title a:hover {
  color: var(--nuu-gold);
}

.nuu-card-meta-list {
  list-style: none;
  padding: 0;
  margin: 0 0 1rem 0;
  font-size: 0.88rem;
  color: var(--nuu-slate);
}

.nuu-card-meta-list li {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 6px;
}

.nuu-card-meta-list li svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  color: var(--nuu-gold);
}

.nuu-card-footer {
  padding: 0.85rem 1.25rem;
  background: var(--nuu-slate-light);
  border-top: 1px solid var(--nuu-border);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nuu-card-more-link {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--nuu-navy);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: all 0.2s;
}

.nuu-card-more-link:hover {
  color: var(--nuu-gold);
  transform: translateX(3px);
}

.nuu-empty-state {
  grid-column: 1 / -1;
  text-align: center;
  padding: 4rem 2rem;
  background: #fff;
  border-radius: var(--nuu-radius);
  border: 1px dashed var(--nuu-border);
}

.nuu-empty-state svg {
  width: 48px;
  height: 48px;
  color: var(--nuu-slate);
  margin-bottom: 1rem;
}

.nuu-empty-state h3 {
  font-size: 1.25rem;
  color: var(--nuu-navy);
  margin-bottom: 0.5rem;
}

.nuu-empty-state p {
  color: var(--nuu-slate);
  margin: 0;
}

/* Single Partner Page Header & Navigation (Minimalist & Executive) */
.nuu-single-header-section {
  padding-top: 1.5rem;
  margin-bottom: 2rem;
}

.nuu-single-header-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  padding: 1.5rem 1.75rem;
  box-shadow: none;
}

.nuu-header-content-flex {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

/* Back Button - Icon Only */
.nuu-header-back-btn {
  width: 44px;
  height: 44px;
  min-width: 44px;
  min-height: 44px;
  background: #f8fafc;
  color: #1b3554 !important;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none !important;
  transition: all 0.2s ease;
  box-shadow: none;
}

.nuu-header-back-btn:hover {
  background: #1b3554;
  color: #ffffff !important;
  border-color: #1b3554;
  transform: translateX(-3px);
  box-shadow: none;
}

.nuu-header-back-btn svg {
  width: 22px;
  height: 22px;
  stroke: currentColor;
}

/* Header Partner Logo */
.nuu-header-logo-box {
  width: 64px;
  height: 64px;
  min-width: 64px;
  min-height: 64px;
  background: #ffffff;
  border: 1px solid var(--nuu-border);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 6px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04);
  flex-shrink: 0;
}

.nuu-header-logo-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.nuu-header-title-box {
  flex-grow: 1;
}

.nuu-single-title {
  font-size: 2rem;
  font-weight: 800;
  color: #1b3554;
  line-height: 1.25;
  margin: 0 0 0.35rem 0;
}

.nuu-header-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 0.95rem;
  color: #64748b;
}

.nuu-header-country {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #1b3554;
  font-weight: 600;
  line-height: 1;
}

.nuu-header-country img {
  width: 20px;
  height: 14px;
  border-radius: 2px;
  box-shadow: none;
  object-fit: cover;
  display: block;
  flex-shrink: 0;
  margin: 0;
}

.nuu-header-country span {
  display: block;
  padding-top: 3px;
}

.nuu-header-divider {
  color: #cbd5e1;
}

.nuu-header-address-text {
  color: #64748b;
}

/* Single Content Card & Body */
.nuu-single-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  padding: 2rem;
  box-shadow: none;
}

.nuu-single-content {
  font-size: 1.05rem;
  line-height: 1.8;
  color: #334155;
  min-height: 220px;
}

.nuu-single-content p {
  margin-bottom: 1.25rem;
}

.nuu-single-content p:last-child {
  margin-bottom: 0;
}

.nuu-single-content img {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  display: block;
  margin: 1.25rem auto;
}

.nuu-single-content figure {
  margin: 1.75rem 0;
}

.nuu-single-content figcaption {
  font-size: 0.88rem;
  color: #64748b;
  text-align: center;
  margin-top: 0.5rem;
}

.nuu-single-content h2,
.nuu-single-content h3,
.nuu-single-content h4 {
  color: var(--nuu-navy);
  font-weight: 700;
  margin-top: 1.75rem;
  margin-bottom: 0.75rem;
  line-height: 1.35;
}

.nuu-single-content hr {
  margin: 2rem 0;
  border: 0;
  border-top: 1px solid var(--nuu-border);
}

.nuu-empty-content-text {
  color: #94a3b8;
  font-style: italic;
}

/* Single Partner Info Box */
.nuu-info-box {
  background: #fff;
  border-radius: var(--nuu-radius);
  border: 1px solid var(--nuu-border);
  box-shadow: none;
  padding: 1.5rem;
  margin-bottom: 2rem;
}

.nuu-info-box h4 {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--nuu-navy);
  margin-bottom: 1.25rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--nuu-border);
}

.nuu-info-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.nuu-info-list li {
  display: flex;
  flex-direction: column;
  margin-bottom: 1rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid #f1f5f9;
}

.nuu-info-list li:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

.nuu-info-label {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--nuu-slate);
  margin-bottom: 3px;
  font-weight: 600;
}

.nuu-info-value {
  font-size: 0.98rem;
  font-weight: 600;
  color: var(--nuu-navy);
}

.nuu-btn-website {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 12px;
  background: var(--nuu-navy);
  color: #fff !important;
  border-radius: 8px;
  font-weight: 600;
  text-decoration: none !important;
  transition: all 0.2s;
  margin-top: 1rem;
}

.nuu-btn-website:hover {
  background: var(--nuu-gold);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(190, 165, 135, 0.4);
}

/* Gallery Styles */
.nuu-gallery-section {
  margin-top: 2.5rem;
  margin-bottom: 2.5rem;
}

.nuu-gallery-section h3 {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--nuu-navy);
  margin-bottom: 1.25rem;
}

.nuu-gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 1rem;
}

.nuu-gallery-item {
  border-radius: 8px;
  overflow: hidden;
  position: relative;
  aspect-ratio: 4/3;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  display: block;
}

.nuu-gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.nuu-gallery-item:hover img {
  transform: scale(1.05);
}

/* Fullwidth Map Section Outside Container */
.nuu-single-map-fullwidth-section {
  width: 100%;
  margin-top: 1.5rem;
  margin-bottom: 4rem;
}

#nuu-single-map-fw-wrapper {
  width: 100%;
  border-top: 1px solid #e2e8f0;
  border-bottom: 1px solid #e2e8f0;
  background: #f1f5f9;
  box-shadow: none;
}

#nuu-single-map-fw-wrapper #nuu-single-map {
  width: 100%;
  height: 480px;
}

.nuu-section-title-wrap {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.nuu-section-title {
  font-size: 1.35rem;
  font-weight: 700;
  color: #1b3554;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 1.25rem;
}

.nuu-section-title svg {
  color: #bea587;
}

.nuu-map-address-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #f8fafc;
  color: #475569;
  border: 1px solid #e2e8f0;
  padding: 5px 12px;
  border-radius: 6px;
  font-size: 0.88rem;
  font-weight: 500;
}

/* External Map Provider Buttons */
.nuu-external-maps-wrap {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}

.nuu-ext-map-label {
  font-size: 0.85rem;
  color: #64748b;
  font-weight: 500;
  margin-right: 4px;
}

.nuu-ext-map-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  font-size: 0.85rem;
  font-weight: 600;
  color: #334155;
  text-decoration: none !important;
  box-shadow: none;
  transition: all 0.2s ease;
}

.nuu-ext-map-btn:hover {
  background: #f8fafc;
  border-color: #cbd5e1;
  color: #1b3554;
  transform: translateY(-1px);
}

.nuu-ext-map-btn svg {
  flex-shrink: 0;
}

/* Related Partners Bottom Section */
.nuu-related-partners-block {
  border-color: #e2e8f0 !important;
}

.nuu-view-all-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--nuu-navy);
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none !important;
  transition: color 0.2s ease, transform 0.2s ease;
}

.nuu-view-all-link:hover {
  color: var(--nuu-gold);
  transform: translateX(3px);
}

.nuu-related-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

@media (max-width: 1199px) {
  .nuu-related-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 767px) {
  .nuu-related-grid {
    grid-template-columns: 1fr;
  }
}

/* Responsive adjustments */
@media (max-width: 991px) {
  .nuu-filter-grid {
    grid-template-columns: 1fr 1fr;
  }
  .nuu-filter-item:first-child {
    grid-column: 1 / -1;
  }
}

@media (max-width: 767px) {
  .nuu-filter-grid {
    grid-template-columns: 1fr;
  }
  .nuu-controls-bar {
    flex-direction: column;
    align-items: stretch;
  }
  .nuu-controls-bar-dense {
    flex-direction: column;
    align-items: stretch;
  }
  .nuu-search-box-dense {
    max-width: 100%;
  }
  .nuu-controls-right-group {
    justify-content: space-between;
    width: 100%;
  }
  .nuu-filter-grid-collapsible {
    grid-template-columns: 1fr;
  }
  .nuu-scope-tabs,
  .nuu-view-switcher {
    width: auto;
  }
  #nuu-map-container {
    height: 420px;
  }
  .nuu-part-grid {
    grid-template-columns: 1fr;
  }
  .nuu-single-hero h1 {
    font-size: 1.85rem;
  }
}

@media (max-width: 576px) {
  .nuu-header-logo-box {
    width: 48px;
    height: 48px;
    min-width: 48px;
    min-height: 48px;
    padding: 4px;
    border-radius: 10px;
  }
  .nuu-single-title {
    font-size: 1.45rem;
  }
}

